@heartlandone/vega-angular 1.45.0 → 1.46.1

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.
@@ -6,6 +6,6 @@ export declare class VegaComponentModule {
6
6
  constructor();
7
7
  useJuggleResizeObserver(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<VegaComponentModule, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VegaComponentModule, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBadge, typeof i1.VegaBanner, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonLink, typeof i1.VegaCard, typeof i1.VegaCarousel, typeof i1.VegaCheckbox, typeof i1.VegaCheckboxGroup, typeof i1.VegaChip, typeof i1.VegaColorPicker, typeof i1.VegaComboBox, typeof i1.VegaCounterBadge, typeof i1.VegaDatePicker, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaFooter, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaHeader, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaOption, typeof i1.VegaPageNotification, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSidenav, typeof i1.VegaSidenavGroup, typeof i1.VegaSidenavLink, typeof i1.VegaStepper, typeof i1.VegaTabGroup, typeof i1.VegaTabGroupPanel, typeof i1.VegaTable, typeof i1.VegaTableBody, typeof i1.VegaTableCell, typeof i1.VegaTableExpandRow, typeof i1.VegaTableHead, typeof i1.VegaTableHeadCell, typeof i1.VegaTableHeadRow, typeof i1.VegaTableRow, typeof i1.VegaText, typeof i1.VegaTextarea, typeof i1.VegaTimePicker, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<VegaComponentModule>;
11
11
  }
@@ -397,6 +397,15 @@ export declare class VegaFlex {
397
397
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaFlex, never>;
398
398
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaFlex, "vega-flex", never, { "alignItem": "alignItem"; "breakpoint": "breakpoint"; "direction": "direction"; "gap": "gap"; "justifyContent": "justifyContent"; "margin": "margin"; "useNativeFlex": "useNativeFlex"; }, {}, never, ["*"]>;
399
399
  }
400
+ export declare interface VegaFont extends Components.VegaFont {
401
+ }
402
+ export declare class VegaFont {
403
+ protected z: NgZone;
404
+ protected el: HTMLElement;
405
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
406
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaFont, never>;
407
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaFont, "vega-font", never, { "as": "as"; "color": "color"; "disableResponsive": "disableResponsive"; "variant": "variant"; }, {}, never, ["*"]>;
408
+ }
400
409
  export declare interface VegaFooter extends Components.VegaFooter {
401
410
  }
402
411
  export declare class VegaFooter {
@@ -1025,5 +1034,5 @@ export declare class VegaVirtualScroll {
1025
1034
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
1026
1035
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "thresholdOfWork": "thresholdOfWork"; "viewportMaxHeight": "viewportMaxHeight"; }, {}, never, ["*"]>;
1027
1036
  }
1028
- declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBarChart | typeof VegaBox | typeof VegaBreadcrumb | 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 VegaFieldError | 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 VegaNavCard | typeof VegaOption | typeof VegaPageNotification | typeof VegaPagination | typeof VegaPieChart | typeof VegaPopover | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTabGroupPanel | typeof VegaTable | typeof VegaTableBody | typeof VegaTableCell | typeof VegaTableExpandRow | typeof VegaTableHead | typeof VegaTableHeadCell | typeof VegaTableHeadRow | typeof VegaTableRow | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
1037
+ declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBarChart | typeof VegaBox | typeof VegaBreadcrumb | 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 VegaFieldError | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFont | 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 VegaNavCard | typeof VegaOption | typeof VegaPageNotification | typeof VegaPagination | typeof VegaPieChart | typeof VegaPopover | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTabGroupPanel | typeof VegaTable | typeof VegaTableBody | typeof VegaTableCell | typeof VegaTableExpandRow | typeof VegaTableHead | typeof VegaTableHeadCell | typeof VegaTableHeadRow | typeof VegaTableRow | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
1029
1038
  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.44.2",
4
+ "version": "1.46.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": "1.44.2",
21
+ "@heartlandone/vega": "1.46.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": "1.45.0",
4
+ "version": "1.46.1",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -26,7 +26,7 @@
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.45.0",
29
+ "@heartlandone/vega": "1.46.1",
30
30
  "tslib": "^2.3.0",
31
31
  "@juggle/resize-observer": "^3.4.0"
32
32
  },
@@ -4,7 +4,7 @@ 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
+ import { FeatureFlag, setVegaEnv } from '@heartlandone/vega';
8
8
  @NgModule({
9
9
  declarations: [...VegaComponents, TextValueAccessor, ValueAccessor],
10
10
  imports: [],
@@ -12,7 +12,8 @@ import { FeatureFlag } from '@heartlandone/vega';
12
12
  })
13
13
  export class VegaComponentModule {
14
14
  constructor() {
15
- this.useJuggleResizeObserver()
15
+ this.useJuggleResizeObserver();
16
+ setVegaEnv({ framework: 'angular' });
16
17
  defineCustomElements(window).then();
17
18
  }
18
19
 
@@ -748,6 +748,27 @@ export class VegaFlex {
748
748
  }
749
749
 
750
750
 
751
+ export declare interface VegaFont extends Components.VegaFont {}
752
+
753
+ @ProxyCmp({
754
+ defineCustomElementFn: undefined,
755
+ inputs: ['as', 'color', 'disableResponsive', 'variant']
756
+ })
757
+ @Component({
758
+ selector: 'vega-font',
759
+ changeDetection: ChangeDetectionStrategy.OnPush,
760
+ template: '<ng-content></ng-content>',
761
+ inputs: ['as', 'color', 'disableResponsive', 'variant']
762
+ })
763
+ export class VegaFont {
764
+ protected el: HTMLElement;
765
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
766
+ c.detach();
767
+ this.el = r.nativeElement;
768
+ }
769
+ }
770
+
771
+
751
772
  export declare interface VegaFooter extends Components.VegaFooter {}
752
773
 
753
774
  @ProxyCmp({
@@ -2045,6 +2066,7 @@ export default [
2045
2066
  VegaFieldError,
2046
2067
  VegaFieldLabel,
2047
2068
  VegaFlex,
2069
+ VegaFont,
2048
2070
  VegaFooter,
2049
2071
  VegaForm,
2050
2072
  VegaGrid,