@heartlandone/vega-angular 1.30.0 → 1.32.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.
@@ -487,6 +487,59 @@ export declare class VegaItemToggle {
487
487
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaItemToggle, never>;
488
488
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaItemToggle, "vega-item-toggle", never, { "isError": "isError"; "isToggled": "isToggled"; "itemToggleStatusMap": "itemToggleStatusMap"; }, {}, never, ["*"]>;
489
489
  }
490
+ export declare interface VegaLeftNav extends Components.VegaLeftNav {
491
+ /**
492
+ * event emitter used for notifying consumers the nav menu close event
493
+ */
494
+ vegaStateUpdate: EventEmitter<CustomEvent<string>>;
495
+ }
496
+ export declare class VegaLeftNav {
497
+ protected z: NgZone;
498
+ protected el: HTMLElement;
499
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
500
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaLeftNav, never>;
501
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaLeftNav, "vega-left-nav", never, { "footnote": "footnote"; "headerConfig": "headerConfig"; "source": "source"; }, {}, never, ["*"]>;
502
+ }
503
+ export declare interface VegaLeftNavGroup extends Components.VegaLeftNavGroup {
504
+ }
505
+ export declare class VegaLeftNavGroup {
506
+ protected z: NgZone;
507
+ protected el: HTMLElement;
508
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
509
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaLeftNavGroup, never>;
510
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaLeftNavGroup, "vega-left-nav-group", never, { "icon": "icon"; "label": "label"; }, {}, never, ["*"]>;
511
+ }
512
+ export declare interface VegaLeftNavLink extends Components.VegaLeftNavLink {
513
+ /**
514
+ * event emitter used for notifying consumers the click event
515
+ */
516
+ vegaMenuClick: EventEmitter<CustomEvent<any>>;
517
+ }
518
+ export declare class VegaLeftNavLink {
519
+ protected z: NgZone;
520
+ protected el: HTMLElement;
521
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
522
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaLeftNavLink, never>;
523
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaLeftNavLink, "vega-left-nav-link", never, { "counterBadge": "counterBadge"; "icon": "icon"; "selected": "selected"; "url": "url"; }, {}, never, ["*"]>;
524
+ }
525
+ export declare interface VegaLeftNavSection extends Components.VegaLeftNavSection {
526
+ }
527
+ export declare class VegaLeftNavSection {
528
+ protected z: NgZone;
529
+ protected el: HTMLElement;
530
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
531
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaLeftNavSection, never>;
532
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaLeftNavSection, "vega-left-nav-section", never, { "sectionHeader": "sectionHeader"; }, {}, never, ["*"]>;
533
+ }
534
+ export declare interface VegaLineChart extends Components.VegaLineChart {
535
+ }
536
+ export declare class VegaLineChart {
537
+ protected z: NgZone;
538
+ protected el: HTMLElement;
539
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
540
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaLineChart, never>;
541
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaLineChart, "vega-line-chart", never, { "options": "options"; }, {}, never, ["*"]>;
542
+ }
490
543
  export declare interface VegaLoadingIndicator extends Components.VegaLoadingIndicator {
491
544
  }
492
545
  export declare class VegaLoadingIndicator {
@@ -667,7 +720,7 @@ export declare class VegaStepper {
667
720
  protected el: HTMLElement;
668
721
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
669
722
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaStepper, never>;
670
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaStepper, "vega-stepper", never, { "autoValidation": "autoValidation"; "buttonVariant": "buttonVariant"; "disabled": "disabled"; "formValidation": "formValidation"; "inputEditable": "inputEditable"; "isValid": "isValid"; "label": "label"; "max": "max"; "min": "min"; "stepperId": "stepperId"; "value": "value"; }, {}, never, ["*"]>;
723
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaStepper, "vega-stepper", never, { "autoValidation": "autoValidation"; "buttonVariant": "buttonVariant"; "disabled": "disabled"; "formValidation": "formValidation"; "inputDisabled": "inputDisabled"; "inputEditable": "inputEditable"; "isValid": "isValid"; "label": "label"; "max": "max"; "min": "min"; "stepperId": "stepperId"; "value": "value"; }, {}, never, ["*"]>;
671
724
  }
672
725
  export declare interface VegaTabGroup extends Components.VegaTabGroup {
673
726
  /**
@@ -794,5 +847,5 @@ export declare class VegaVirtualScroll {
794
847
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
795
848
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "thresholdOfWork": "thresholdOfWork"; "viewportMaxHeight": "viewportMaxHeight"; }, {}, never, ["*"]>;
796
849
  }
797
- declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBox | 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 VegaInputCreditCard | 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 VegaTabGroupPanel | typeof VegaTable | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
850
+ declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBox | 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 VegaInputCreditCard | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | 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 VegaTabGroupPanel | typeof VegaTable | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
798
851
  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.29.0",
4
+ "version": "1.31.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -18,8 +18,9 @@
18
18
  "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
19
19
  },
20
20
  "dependencies": {
21
- "@heartlandone/vega": "1.29.0",
22
- "tslib": "^2.3.0"
21
+ "@heartlandone/vega": "1.31.0",
22
+ "tslib": "^2.3.0",
23
+ "@juggle/resize-observer": "^3.4.0"
23
24
  },
24
25
  "publishConfig": {
25
26
  "directory": "dist"
package/ng-package.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "entryFile": "src/public-api.ts"
6
6
  },
7
7
  "allowedNonPeerDependencies": [
8
- "@heartlandone/vega"
8
+ "@heartlandone/vega",
9
+ "@juggle/resize-observer"
9
10
  ]
10
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "1.30.0",
4
+ "version": "1.32.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -26,8 +26,9 @@
26
26
  "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
27
27
  },
28
28
  "dependencies": {
29
- "@heartlandone/vega": "1.30.0",
30
- "tslib": "^2.3.0"
29
+ "@heartlandone/vega": "1.32.0",
30
+ "tslib": "^2.3.0",
31
+ "@juggle/resize-observer": "^3.4.0"
31
32
  },
32
33
  "publishConfig": {
33
34
  "directory": "dist"
@@ -3,7 +3,8 @@ import { defineCustomElements } from '@heartlandone/vega/loader';
3
3
  import VegaComponents from './stencil-generated/components';
4
4
  import { TextValueAccessor } from './stencil-generated/text-value-accessor';
5
5
  import { ValueAccessor } from './stencil-generated/value-accessor';
6
-
6
+ import { ResizeObserver as VegaResizeObserver } from '@juggle/resize-observer';
7
+ import { FeatureFlag } from '@heartlandone/vega';
7
8
  @NgModule({
8
9
  declarations: [...VegaComponents, TextValueAccessor, ValueAccessor],
9
10
  imports: [],
@@ -11,6 +12,15 @@ import { ValueAccessor } from './stencil-generated/value-accessor';
11
12
  })
12
13
  export class VegaComponentModule {
13
14
  constructor() {
15
+ this.useJuggleResizeObserver()
14
16
  defineCustomElements(window).then();
15
17
  }
18
+
19
+ useJuggleResizeObserver(){
20
+ if(FeatureFlag.isEnabled('VEGA_ANGULAR.USE_JUGGLE_RESIZE_OBSERVER')){
21
+ Object.assign(window, {
22
+ 'VegaResizeObserver': VegaResizeObserver
23
+ });
24
+ }
25
+ }
16
26
  }
@@ -942,6 +942,127 @@ export class VegaItemToggle {
942
942
  }
943
943
 
944
944
 
945
+ export declare interface VegaLeftNav extends Components.VegaLeftNav {
946
+ /**
947
+ * event emitter used for notifying consumers the nav menu close event
948
+ */
949
+ vegaStateUpdate: EventEmitter<CustomEvent<string>>;
950
+
951
+ }
952
+
953
+ @ProxyCmp({
954
+ defineCustomElementFn: undefined,
955
+ inputs: ['footnote', 'headerConfig', 'source'],
956
+ methods: ['toggle']
957
+ })
958
+ @Component({
959
+ selector: 'vega-left-nav',
960
+ changeDetection: ChangeDetectionStrategy.OnPush,
961
+ template: '<ng-content></ng-content>',
962
+ inputs: ['footnote', 'headerConfig', 'source']
963
+ })
964
+ export class VegaLeftNav {
965
+ protected el: HTMLElement;
966
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
967
+ c.detach();
968
+ this.el = r.nativeElement;
969
+ proxyOutputs(this, this.el, ['vegaStateUpdate']);
970
+ }
971
+ }
972
+
973
+
974
+ export declare interface VegaLeftNavGroup extends Components.VegaLeftNavGroup {}
975
+
976
+ @ProxyCmp({
977
+ defineCustomElementFn: undefined,
978
+ inputs: ['icon', 'label']
979
+ })
980
+ @Component({
981
+ selector: 'vega-left-nav-group',
982
+ changeDetection: ChangeDetectionStrategy.OnPush,
983
+ template: '<ng-content></ng-content>',
984
+ inputs: ['icon', 'label']
985
+ })
986
+ export class VegaLeftNavGroup {
987
+ protected el: HTMLElement;
988
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
989
+ c.detach();
990
+ this.el = r.nativeElement;
991
+ }
992
+ }
993
+
994
+
995
+ export declare interface VegaLeftNavLink extends Components.VegaLeftNavLink {
996
+ /**
997
+ * event emitter used for notifying consumers the click event
998
+ */
999
+ vegaMenuClick: EventEmitter<CustomEvent<any>>;
1000
+
1001
+ }
1002
+
1003
+ @ProxyCmp({
1004
+ defineCustomElementFn: undefined,
1005
+ inputs: ['counterBadge', 'icon', 'selected', 'url']
1006
+ })
1007
+ @Component({
1008
+ selector: 'vega-left-nav-link',
1009
+ changeDetection: ChangeDetectionStrategy.OnPush,
1010
+ template: '<ng-content></ng-content>',
1011
+ inputs: ['counterBadge', 'icon', 'selected', 'url']
1012
+ })
1013
+ export class VegaLeftNavLink {
1014
+ protected el: HTMLElement;
1015
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1016
+ c.detach();
1017
+ this.el = r.nativeElement;
1018
+ proxyOutputs(this, this.el, ['vegaMenuClick']);
1019
+ }
1020
+ }
1021
+
1022
+
1023
+ export declare interface VegaLeftNavSection extends Components.VegaLeftNavSection {}
1024
+
1025
+ @ProxyCmp({
1026
+ defineCustomElementFn: undefined,
1027
+ inputs: ['sectionHeader']
1028
+ })
1029
+ @Component({
1030
+ selector: 'vega-left-nav-section',
1031
+ changeDetection: ChangeDetectionStrategy.OnPush,
1032
+ template: '<ng-content></ng-content>',
1033
+ inputs: ['sectionHeader']
1034
+ })
1035
+ export class VegaLeftNavSection {
1036
+ protected el: HTMLElement;
1037
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1038
+ c.detach();
1039
+ this.el = r.nativeElement;
1040
+ }
1041
+ }
1042
+
1043
+
1044
+ export declare interface VegaLineChart extends Components.VegaLineChart {}
1045
+
1046
+ @ProxyCmp({
1047
+ defineCustomElementFn: undefined,
1048
+ inputs: ['options'],
1049
+ methods: ['reRender']
1050
+ })
1051
+ @Component({
1052
+ selector: 'vega-line-chart',
1053
+ changeDetection: ChangeDetectionStrategy.OnPush,
1054
+ template: '<ng-content></ng-content>',
1055
+ inputs: ['options']
1056
+ })
1057
+ export class VegaLineChart {
1058
+ protected el: HTMLElement;
1059
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1060
+ c.detach();
1061
+ this.el = r.nativeElement;
1062
+ }
1063
+ }
1064
+
1065
+
945
1066
  export declare interface VegaLoadingIndicator extends Components.VegaLoadingIndicator {}
946
1067
 
947
1068
  @ProxyCmp({
@@ -1295,14 +1416,14 @@ export declare interface VegaStepper extends Components.VegaStepper {
1295
1416
 
1296
1417
  @ProxyCmp({
1297
1418
  defineCustomElementFn: undefined,
1298
- inputs: ['autoValidation', 'buttonVariant', 'disabled', 'formValidation', 'inputEditable', 'isValid', 'label', 'max', 'min', 'stepperId', 'value'],
1419
+ inputs: ['autoValidation', 'buttonVariant', 'disabled', 'formValidation', 'inputDisabled', 'inputEditable', 'isValid', 'label', 'max', 'min', 'stepperId', 'value'],
1299
1420
  methods: ['valid']
1300
1421
  })
1301
1422
  @Component({
1302
1423
  selector: 'vega-stepper',
1303
1424
  changeDetection: ChangeDetectionStrategy.OnPush,
1304
1425
  template: '<ng-content></ng-content>',
1305
- inputs: ['autoValidation', 'buttonVariant', 'disabled', 'formValidation', 'inputEditable', 'isValid', 'label', 'max', 'min', 'stepperId', 'value']
1426
+ inputs: ['autoValidation', 'buttonVariant', 'disabled', 'formValidation', 'inputDisabled', 'inputEditable', 'isValid', 'label', 'max', 'min', 'stepperId', 'value']
1306
1427
  })
1307
1428
  export class VegaStepper {
1308
1429
  protected el: HTMLElement;
@@ -1601,6 +1722,11 @@ export default [
1601
1722
  VegaInputCreditCard,
1602
1723
  VegaInputSelect,
1603
1724
  VegaItemToggle,
1725
+ VegaLeftNav,
1726
+ VegaLeftNavGroup,
1727
+ VegaLeftNavLink,
1728
+ VegaLeftNavSection,
1729
+ VegaLineChart,
1604
1730
  VegaLoadingIndicator,
1605
1731
  VegaModal,
1606
1732
  VegaOption,