@heartlandone/vega-angular 2.4.0 → 2.6.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.
@@ -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.VegaBackdrop, 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.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSlotContainer, 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.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBackdrop, 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.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSlotContainer, 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.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, 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.VegaBackdrop, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonGroup, typeof i1.VegaButtonGroupItem, 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.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSlotContainer, 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.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor], never, [typeof i1.VegaAccordion, typeof i1.VegaAppFooter, typeof i1.VegaAppHeaderButton, typeof i1.VegaBackdrop, typeof i1.VegaBarChart, typeof i1.VegaBox, typeof i1.VegaBreadcrumb, typeof i1.VegaButton, typeof i1.VegaButtonCircle, typeof i1.VegaButtonGroup, typeof i1.VegaButtonGroupItem, 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.VegaDatePickerCalendar, typeof i1.VegaDialog, typeof i1.VegaDropdown, typeof i1.VegaDropdownContentBox, typeof i1.VegaDropdownGroup, typeof i1.VegaDropdownItem, typeof i1.VegaFieldError, typeof i1.VegaFieldLabel, typeof i1.VegaFlex, typeof i1.VegaFont, typeof i1.VegaForm, typeof i1.VegaGrid, typeof i1.VegaIcon, typeof i1.VegaImageUploader, typeof i1.VegaInput, typeof i1.VegaInputCreditCard, typeof i1.VegaInputRange, typeof i1.VegaInputSelect, typeof i1.VegaItemToggle, typeof i1.VegaLeftNav, typeof i1.VegaLeftNavGroup, typeof i1.VegaLeftNavLink, typeof i1.VegaLeftNavSection, typeof i1.VegaLineChart, typeof i1.VegaLoaderWrapper, typeof i1.VegaLoadingIndicator, typeof i1.VegaModal, typeof i1.VegaNavCard, typeof i1.VegaPageNotification, typeof i1.VegaPageNotificationList, typeof i1.VegaPagination, typeof i1.VegaPieChart, typeof i1.VegaPopover, typeof i1.VegaPopoverContentBox, typeof i1.VegaProgressTracker, typeof i1.VegaRadio, typeof i1.VegaRadioGroup, typeof i1.VegaSectionTitle, typeof i1.VegaSegmentControl, typeof i1.VegaSlotContainer, 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.VegaTimePickerDropdown, typeof i1.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaTooltipContentBox, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<VegaComponentModule>;
11
11
  }
@@ -95,7 +95,7 @@ export declare class VegaBox {
95
95
  protected el: HTMLElement;
96
96
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
97
97
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaBox, never>;
98
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaBox, "vega-box", never, { "alignSelf": "alignSelf"; "backgroundColor": "backgroundColor"; "border": "border"; "borderColor": "borderColor"; "corners": "corners"; "display": "display"; "flex": "flex"; "flexBasis": "flexBasis"; "flexGrow": "flexGrow"; "flexShrink": "flexShrink"; "height": "height"; "justifySelf": "justifySelf"; "margin": "margin"; "order": "order"; "padding": "padding"; "responsiveClass": "responsiveClass"; "shadow": "shadow"; "width": "width"; }, {}, never, ["*"]>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaBox, "vega-box", never, { "alignSelf": "alignSelf"; "backgroundColor": "backgroundColor"; "border": "border"; "borderColor": "borderColor"; "corners": "corners"; "display": "display"; "flex": "flex"; "flexBasis": "flexBasis"; "flexGrow": "flexGrow"; "flexShrink": "flexShrink"; "gridArea": "gridArea"; "gridColumn": "gridColumn"; "gridRow": "gridRow"; "height": "height"; "justifySelf": "justifySelf"; "margin": "margin"; "order": "order"; "padding": "padding"; "responsiveClass": "responsiveClass"; "shadow": "shadow"; "width": "width"; }, {}, never, ["*"]>;
99
99
  }
100
100
  export declare interface VegaBreadcrumb extends Components.VegaBreadcrumb {
101
101
  /**
@@ -148,6 +148,32 @@ export declare class VegaButtonCircle {
148
148
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonCircle, never>;
149
149
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonCircle, "vega-button-circle", never, { "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconColor": "iconColor"; "label": "label"; "showTooltip": "showTooltip"; "size": "size"; "tooltip": "tooltip"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
150
150
  }
151
+ export declare interface VegaButtonGroup extends Components.VegaButtonGroup {
152
+ /**
153
+ * An event emitter notifying the click event of the button group.
154
+ */
155
+ vegaClick: EventEmitter<CustomEvent<string>>;
156
+ /**
157
+ * An event emitter notifying the click event of the button. @eventSemantics namespace:native
158
+ */
159
+ click: EventEmitter<CustomEvent<string>>;
160
+ }
161
+ export declare class VegaButtonGroup {
162
+ protected z: NgZone;
163
+ protected el: HTMLElement;
164
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
165
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonGroup, never>;
166
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonGroup, "vega-button-group", never, { "iconAlign": "iconAlign"; "size": "size"; "variant": "variant"; }, {}, never, ["*"]>;
167
+ }
168
+ export declare interface VegaButtonGroupItem extends Components.VegaButtonGroupItem {
169
+ }
170
+ export declare class VegaButtonGroupItem {
171
+ protected z: NgZone;
172
+ protected el: HTMLElement;
173
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
174
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonGroupItem, never>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonGroupItem, "vega-button-group-item", never, { "dropdownProps": "dropdownProps"; "dropdownSource": "dropdownSource"; "icon": "icon"; "iconOnly": "iconOnly"; "itemKey": "itemKey"; "label": "label"; }, {}, never, ["*"]>;
176
+ }
151
177
  export declare interface VegaButtonLink extends Components.VegaButtonLink {
152
178
  /**
153
179
  * An event emitter notifying the click event of the button.
@@ -233,7 +259,7 @@ export declare class VegaCheckboxGroup {
233
259
  protected el: HTMLElement;
234
260
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
235
261
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaCheckboxGroup, never>;
236
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaCheckboxGroup, "vega-checkbox-group", never, { "disabled": "disabled"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "required": "required"; "value": "value"; "vegaFlexProp": "vegaFlexProp"; }, {}, never, ["*"]>;
262
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaCheckboxGroup, "vega-checkbox-group", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "required": "required"; "validationRules": "validationRules"; "value": "value"; "vegaFlexProp": "vegaFlexProp"; }, {}, never, ["*"]>;
237
263
  }
238
264
  export declare interface VegaChip extends Components.VegaChip {
239
265
  /**
@@ -509,7 +535,7 @@ export declare class VegaFlex {
509
535
  protected el: HTMLElement;
510
536
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
511
537
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaFlex, never>;
512
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaFlex, "vega-flex", never, { "alignItems": "alignItems"; "breakpoint": "breakpoint"; "direction": "direction"; "gap": "gap"; "justifyContent": "justifyContent"; "margin": "margin"; "useNativeFlex": "useNativeFlex"; }, {}, never, ["*"]>;
538
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaFlex, "vega-flex", never, { "alignItems": "alignItems"; "breakpoint": "breakpoint"; "direction": "direction"; "flexWrap": "flexWrap"; "gap": "gap"; "justifyContent": "justifyContent"; "margin": "margin"; "useNativeFlex": "useNativeFlex"; }, {}, never, ["*"]>;
513
539
  }
514
540
  export declare interface VegaFont extends Components.VegaFont {
515
541
  }
@@ -602,7 +628,7 @@ export declare class VegaImageUploader {
602
628
  protected el: HTMLElement;
603
629
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
604
630
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaImageUploader, never>;
605
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaImageUploader, "vega-image-uploader", never, { "accept": "accept"; "autoValidation": "autoValidation"; "disabled": "disabled"; "isValid": "isValid"; "required": "required"; "showPreviewButton": "showPreviewButton"; "showRemoveButton": "showRemoveButton"; "showReplaceButton": "showReplaceButton"; "status": "status"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
631
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaImageUploader, "vega-image-uploader", never, { "accept": "accept"; "autoValidation": "autoValidation"; "disabled": "disabled"; "isValid": "isValid"; "label": "label"; "required": "required"; "showPreviewButton": "showPreviewButton"; "showRemoveButton": "showRemoveButton"; "showReplaceButton": "showReplaceButton"; "status": "status"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
606
632
  }
607
633
  export declare interface VegaInput extends Components.VegaInput {
608
634
  /**
@@ -1007,7 +1033,7 @@ export declare class VegaRadioGroup {
1007
1033
  protected el: HTMLElement;
1008
1034
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1009
1035
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaRadioGroup, never>;
1010
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaRadioGroup, "vega-radio-group", never, { "disabled": "disabled"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "name": "name"; "required": "required"; "value": "value"; "vegaFlexProp": "vegaFlexProp"; }, {}, never, ["*"]>;
1036
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaRadioGroup, "vega-radio-group", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "name": "name"; "required": "required"; "validationRules": "validationRules"; "value": "value"; "vegaFlexProp": "vegaFlexProp"; }, {}, never, ["*"]>;
1011
1037
  }
1012
1038
  export declare interface VegaSectionTitle extends Components.VegaSectionTitle {
1013
1039
  }
@@ -1325,5 +1351,5 @@ export declare class VegaVirtualScroll {
1325
1351
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
1326
1352
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "isLoading": "isLoading"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "viewportMaxHeight": "viewportMaxHeight"; "virtualizationThreshold": "virtualizationThreshold"; }, {}, never, ["*"]>;
1327
1353
  }
1328
- declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBackdrop | 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 VegaDatePickerCalendar | typeof VegaDialog | typeof VegaDropdown | typeof VegaDropdownContentBox | typeof VegaDropdownGroup | typeof VegaDropdownItem | typeof VegaFieldError | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFont | typeof VegaForm | typeof VegaGrid | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputCreditCard | typeof VegaInputRange | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | typeof VegaLoaderWrapper | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaNavCard | typeof VegaPageNotification | typeof VegaPageNotificationList | typeof VegaPagination | typeof VegaPieChart | typeof VegaPopover | typeof VegaPopoverContentBox | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSectionTitle | typeof VegaSegmentControl | typeof VegaSlotContainer | 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 VegaTimePickerDropdown | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaTooltipContentBox | typeof VegaVirtualScroll)[];
1354
+ declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBackdrop | typeof VegaBarChart | typeof VegaBox | typeof VegaBreadcrumb | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonGroup | typeof VegaButtonGroupItem | typeof VegaButtonLink | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaColorPicker | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDatePickerCalendar | typeof VegaDialog | typeof VegaDropdown | typeof VegaDropdownContentBox | typeof VegaDropdownGroup | typeof VegaDropdownItem | typeof VegaFieldError | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFont | typeof VegaForm | typeof VegaGrid | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputCreditCard | typeof VegaInputRange | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLeftNav | typeof VegaLeftNavGroup | typeof VegaLeftNavLink | typeof VegaLeftNavSection | typeof VegaLineChart | typeof VegaLoaderWrapper | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaNavCard | typeof VegaPageNotification | typeof VegaPageNotificationList | typeof VegaPagination | typeof VegaPieChart | typeof VegaPopover | typeof VegaPopoverContentBox | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSectionTitle | typeof VegaSegmentControl | typeof VegaSlotContainer | 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 VegaTimePickerDropdown | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaTooltipContentBox | typeof VegaVirtualScroll)[];
1329
1355
  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": "2.3.0",
4
+ "version": "2.5.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.3.0",
21
+ "@heartlandone/vega": "2.5.0",
22
22
  "tslib": "^2.3.0",
23
23
  "@juggle/resize-observer": "^3.4.0"
24
24
  },
@@ -36,6 +36,14 @@
36
36
  "es2015": "./fesm2015/heartlandone-vega-angular.mjs",
37
37
  "node": "./fesm2015/heartlandone-vega-angular.mjs",
38
38
  "default": "./fesm2020/heartlandone-vega-angular.mjs"
39
+ },
40
+ "./testing": {
41
+ "types": "./testing/heartlandone-vega-angular-testing.d.ts",
42
+ "esm2020": "./esm2020/testing/heartlandone-vega-angular-testing.mjs",
43
+ "es2020": "./fesm2020/heartlandone-vega-angular-testing.mjs",
44
+ "es2015": "./fesm2015/heartlandone-vega-angular-testing.mjs",
45
+ "node": "./fesm2015/heartlandone-vega-angular-testing.mjs",
46
+ "default": "./fesm2020/heartlandone-vega-angular-testing.mjs"
39
47
  }
40
48
  }
41
49
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@heartlandone/vega-angular/testing" />
5
+ export * from './public-api';
@@ -0,0 +1,7 @@
1
+ import type { RenderResult } from '@testing-library/angular';
2
+ export declare function waitForVegaReady(renderResult: RenderResult<unknown, unknown>, delay?: number): Promise<RenderResult<unknown, unknown>>;
3
+ export declare type MockedResizeObserverController = {
4
+ hide: (selector: string, container?: HTMLElement) => void;
5
+ show: (selector: string, container?: HTMLElement) => void;
6
+ };
7
+ export declare function mockResizeObserver(): MockedResizeObserverController;
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/heartlandone-vega-angular-testing.mjs",
3
+ "es2020": "../fesm2020/heartlandone-vega-angular-testing.mjs",
4
+ "esm2020": "../esm2020/testing/heartlandone-vega-angular-testing.mjs",
5
+ "fesm2020": "../fesm2020/heartlandone-vega-angular-testing.mjs",
6
+ "fesm2015": "../fesm2015/heartlandone-vega-angular-testing.mjs",
7
+ "typings": "heartlandone-vega-angular-testing.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@heartlandone/vega-angular/testing"
10
+ }
@@ -0,0 +1 @@
1
+ export * from './index';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.4.0",
4
+ "version": "2.6.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.4.0",
28
+ "@heartlandone/vega": "2.6.0",
29
29
  "tslib": "^2.3.0",
30
30
  "@juggle/resize-observer": "^3.4.0"
31
31
  },
@@ -157,13 +157,13 @@ export declare interface VegaBox extends Components.VegaBox {}
157
157
 
158
158
  @ProxyCmp({
159
159
  defineCustomElementFn: undefined,
160
- inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
160
+ inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'gridArea', 'gridColumn', 'gridRow', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
161
161
  })
162
162
  @Component({
163
163
  selector: 'vega-box',
164
164
  changeDetection: ChangeDetectionStrategy.OnPush,
165
165
  template: '<ng-content></ng-content>',
166
- inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
166
+ inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'gridArea', 'gridColumn', 'gridRow', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
167
167
  })
168
168
  export class VegaBox {
169
169
  protected el: HTMLElement;
@@ -270,6 +270,59 @@ export class VegaButtonCircle {
270
270
  }
271
271
 
272
272
 
273
+ export declare interface VegaButtonGroup extends Components.VegaButtonGroup {
274
+ /**
275
+ * An event emitter notifying the click event of the button group.
276
+ */
277
+ vegaClick: EventEmitter<CustomEvent<string>>;
278
+ /**
279
+ * An event emitter notifying the click event of the button. @eventSemantics namespace:native
280
+ */
281
+ click: EventEmitter<CustomEvent<string>>;
282
+
283
+ }
284
+
285
+ @ProxyCmp({
286
+ defineCustomElementFn: undefined,
287
+ inputs: ['iconAlign', 'size', 'variant']
288
+ })
289
+ @Component({
290
+ selector: 'vega-button-group',
291
+ changeDetection: ChangeDetectionStrategy.OnPush,
292
+ template: '<ng-content></ng-content>',
293
+ inputs: ['iconAlign', 'size', 'variant']
294
+ })
295
+ export class VegaButtonGroup {
296
+ protected el: HTMLElement;
297
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
298
+ c.detach();
299
+ this.el = r.nativeElement;
300
+ proxyOutputs(this, this.el, ['vegaClick', 'click']);
301
+ }
302
+ }
303
+
304
+
305
+ export declare interface VegaButtonGroupItem extends Components.VegaButtonGroupItem {}
306
+
307
+ @ProxyCmp({
308
+ defineCustomElementFn: undefined,
309
+ inputs: ['dropdownProps', 'dropdownSource', 'icon', 'iconOnly', 'itemKey', 'label']
310
+ })
311
+ @Component({
312
+ selector: 'vega-button-group-item',
313
+ changeDetection: ChangeDetectionStrategy.OnPush,
314
+ template: '<ng-content></ng-content>',
315
+ inputs: ['dropdownProps', 'dropdownSource', 'icon', 'iconOnly', 'itemKey', 'label']
316
+ })
317
+ export class VegaButtonGroupItem {
318
+ protected el: HTMLElement;
319
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
320
+ c.detach();
321
+ this.el = r.nativeElement;
322
+ }
323
+ }
324
+
325
+
273
326
  export declare interface VegaButtonLink extends Components.VegaButtonLink {
274
327
  /**
275
328
  * An event emitter notifying the click event of the button.
@@ -413,13 +466,13 @@ export declare interface VegaCheckboxGroup extends Components.VegaCheckboxGroup
413
466
 
414
467
  @ProxyCmp({
415
468
  defineCustomElementFn: undefined,
416
- inputs: ['disabled', 'hint', 'isValid', 'label', 'required', 'value', 'vegaFlexProp']
469
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'required', 'validationRules', 'value', 'vegaFlexProp']
417
470
  })
418
471
  @Component({
419
472
  selector: 'vega-checkbox-group',
420
473
  changeDetection: ChangeDetectionStrategy.OnPush,
421
474
  template: '<ng-content></ng-content>',
422
- inputs: ['disabled', 'hint', 'isValid', 'label', 'required', 'value', 'vegaFlexProp']
475
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'required', 'validationRules', 'value', 'vegaFlexProp']
423
476
  })
424
477
  export class VegaCheckboxGroup {
425
478
  protected el: HTMLElement;
@@ -878,13 +931,13 @@ export declare interface VegaFlex extends Components.VegaFlex {}
878
931
 
879
932
  @ProxyCmp({
880
933
  defineCustomElementFn: undefined,
881
- inputs: ['alignItems', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
934
+ inputs: ['alignItems', 'breakpoint', 'direction', 'flexWrap', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
882
935
  })
883
936
  @Component({
884
937
  selector: 'vega-flex',
885
938
  changeDetection: ChangeDetectionStrategy.OnPush,
886
939
  template: '<ng-content></ng-content>',
887
- inputs: ['alignItems', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
940
+ inputs: ['alignItems', 'breakpoint', 'direction', 'flexWrap', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
888
941
  })
889
942
  export class VegaFlex {
890
943
  protected el: HTMLElement;
@@ -1037,14 +1090,14 @@ export declare interface VegaImageUploader extends Components.VegaImageUploader
1037
1090
 
1038
1091
  @ProxyCmp({
1039
1092
  defineCustomElementFn: undefined,
1040
- inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value'],
1093
+ inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'label', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value'],
1041
1094
  methods: ['getContentURL']
1042
1095
  })
1043
1096
  @Component({
1044
1097
  selector: 'vega-image-uploader',
1045
1098
  changeDetection: ChangeDetectionStrategy.OnPush,
1046
1099
  template: '<ng-content></ng-content>',
1047
- inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value']
1100
+ inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'label', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value']
1048
1101
  })
1049
1102
  export class VegaImageUploader {
1050
1103
  protected el: HTMLElement;
@@ -1765,13 +1818,13 @@ export declare interface VegaRadioGroup extends Components.VegaRadioGroup {
1765
1818
 
1766
1819
  @ProxyCmp({
1767
1820
  defineCustomElementFn: undefined,
1768
- inputs: ['disabled', 'hint', 'isValid', 'label', 'name', 'required', 'value', 'vegaFlexProp']
1821
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'name', 'required', 'validationRules', 'value', 'vegaFlexProp']
1769
1822
  })
1770
1823
  @Component({
1771
1824
  selector: 'vega-radio-group',
1772
1825
  changeDetection: ChangeDetectionStrategy.OnPush,
1773
1826
  template: '<ng-content></ng-content>',
1774
- inputs: ['disabled', 'hint', 'isValid', 'label', 'name', 'required', 'value', 'vegaFlexProp']
1827
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'name', 'required', 'validationRules', 'value', 'vegaFlexProp']
1775
1828
  })
1776
1829
  export class VegaRadioGroup {
1777
1830
  protected el: HTMLElement;
@@ -2396,6 +2449,8 @@ export default [
2396
2449
  VegaBreadcrumb,
2397
2450
  VegaButton,
2398
2451
  VegaButtonCircle,
2452
+ VegaButtonGroup,
2453
+ VegaButtonGroupItem,
2399
2454
  VegaButtonLink,
2400
2455
  VegaCard,
2401
2456
  VegaCarousel,
@@ -0,0 +1,123 @@
1
+ import { FeatureFlag } from '@heartlandone/vega';
2
+ import { waitFor } from '@testing-library/angular';
3
+ import type { RenderResult } from '@testing-library/angular';
4
+
5
+ type Nullable<T> = T | undefined | null;
6
+
7
+ export async function waitForVegaReady(
8
+ renderResult: RenderResult<unknown, unknown>,
9
+ delay: number = 300,
10
+ ): Promise<RenderResult<unknown, unknown>> {
11
+ await waitFor(() => {
12
+ renderResult.container
13
+ .querySelectorAll('*:not(.hydrated)')
14
+ // eslint-disable-next-line unicorn/no-array-for-each
15
+ .forEach((element: Element) => {
16
+ if (element.tagName.startsWith('VEGA')) {
17
+ throw new Error('Vega component is not rendered yet, retrying...');
18
+ }
19
+ });
20
+ });
21
+ /*
22
+ * The following code is added to load the vega component, and the attribute value is set after each component is loaded.
23
+ * To determine whether there is a hydrated style that cannot meet the requirements after the component is loaded,
24
+ * It need to set the sleep time to ensure that each attribute of the vega component is fully loaded
25
+ *
26
+ code link: ./node_modules/@heartlandone/vega-react/dist/react-component-lib/utils/attachProps.js(line 28-33)}
27
+ */
28
+ await sleep(delay);
29
+ return renderResult;
30
+ }
31
+
32
+ export type MockedResizeObserverController = {
33
+ hide: (selector: string, container?: HTMLElement) => void;
34
+ show: (selector: string, container?: HTMLElement) => void;
35
+ };
36
+
37
+ export function mockResizeObserver(): MockedResizeObserverController {
38
+ type MockedResizeObserver = ResizeObserver & {
39
+ show: () => void;
40
+ hide: () => void;
41
+ };
42
+ FeatureFlag.disable('VEGA_ANGULAR.USE_JUGGLE_RESIZE_OBSERVER');
43
+ const resizeObserverElementMap: Map<HTMLElement, MockedResizeObserver> = new Map();
44
+ const VegaResizeObserver: unknown = class {
45
+ private readonly callback: ResizeObserverCallback;
46
+ private observedElements: HTMLElement[] = [];
47
+ constructor(callback: ResizeObserverCallback) {
48
+ this.callback = callback;
49
+ }
50
+
51
+ observe(element: HTMLElement): void {
52
+ if (!this.isObserved(element)) {
53
+ resizeObserverElementMap.set(element, this);
54
+ this.observedElements.push(element);
55
+ }
56
+ }
57
+
58
+ unobserve(element: HTMLElement): void {
59
+ if (this.isObserved(element)) {
60
+ resizeObserverElementMap.delete(element);
61
+ this.observedElements = this.observedElements.filter(
62
+ (observedElement: HTMLElement) => observedElement !== element,
63
+ );
64
+ }
65
+ }
66
+
67
+ disconnect(): void {
68
+ for (const element of this.observedElements) {
69
+ resizeObserverElementMap.delete(element);
70
+ }
71
+ this.observedElements = [];
72
+ }
73
+
74
+ show(): void {
75
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
76
+ this.callback([{ contentRect: { height: 100 } }] as any, this);
77
+ }
78
+
79
+ hide(): void {
80
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
81
+ this.callback([{ contentRect: { height: 0 } }] as any, this);
82
+ }
83
+
84
+ private isObserved(element: HTMLElement): boolean {
85
+ return this.observedElements.includes(element);
86
+ }
87
+ };
88
+ Object.assign(window, { VegaResizeObserver });
89
+ return {
90
+ show: (selector: string, container?: HTMLElement): void => {
91
+ (container || document)
92
+ .querySelectorAll(selector)
93
+ // eslint-disable-next-line unicorn/no-array-for-each
94
+ .forEach((el: Element) => {
95
+ const resizeObserver: Nullable<MockedResizeObserver> = resizeObserverElementMap.get(
96
+ el as HTMLElement,
97
+ );
98
+ if (resizeObserver) {
99
+ resizeObserver.show();
100
+ }
101
+ });
102
+ },
103
+ hide: (selector: string, container?: HTMLElement): void => {
104
+ (container || document)
105
+ .querySelectorAll(selector)
106
+ // eslint-disable-next-line unicorn/no-array-for-each
107
+ .forEach((el: Element) => {
108
+ const resizeObserver: Nullable<MockedResizeObserver> = resizeObserverElementMap.get(
109
+ el as HTMLElement,
110
+ );
111
+ if (resizeObserver) {
112
+ resizeObserver.hide();
113
+ }
114
+ });
115
+ },
116
+ };
117
+ }
118
+
119
+ function sleep(ms: number): Promise<void> {
120
+ return new Promise((resolve: () => void) => {
121
+ setTimeout(resolve, ms);
122
+ });
123
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "./dist",
4
+ "lib": {
5
+ "entryFile": "./public-api.ts"
6
+ },
7
+ "allowedNonPeerDependencies": ["@testing-library/angular", "@heartlandone/vega"]
8
+ }
@@ -0,0 +1,4 @@
1
+ /*
2
+ * Public API Surface of vega-angular
3
+ */
4
+ export * from './index';