@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.
@@ -0,0 +1,104 @@
1
+ import { FeatureFlag } from '@heartlandone/vega';
2
+ import { waitFor } from '@testing-library/angular';
3
+
4
+ async function waitForVegaReady(renderResult, delay = 300) {
5
+ await waitFor(() => {
6
+ renderResult.container
7
+ .querySelectorAll('*:not(.hydrated)')
8
+ // eslint-disable-next-line unicorn/no-array-for-each
9
+ .forEach((element) => {
10
+ if (element.tagName.startsWith('VEGA')) {
11
+ throw new Error('Vega component is not rendered yet, retrying...');
12
+ }
13
+ });
14
+ });
15
+ /*
16
+ * The following code is added to load the vega component, and the attribute value is set after each component is loaded.
17
+ * To determine whether there is a hydrated style that cannot meet the requirements after the component is loaded,
18
+ * It need to set the sleep time to ensure that each attribute of the vega component is fully loaded
19
+ *
20
+ code link: ./node_modules/@heartlandone/vega-react/dist/react-component-lib/utils/attachProps.js(line 28-33)}
21
+ */
22
+ await sleep(delay);
23
+ return renderResult;
24
+ }
25
+ function mockResizeObserver() {
26
+ FeatureFlag.disable('VEGA_ANGULAR.USE_JUGGLE_RESIZE_OBSERVER');
27
+ const resizeObserverElementMap = new Map();
28
+ const VegaResizeObserver = class {
29
+ constructor(callback) {
30
+ this.observedElements = [];
31
+ this.callback = callback;
32
+ }
33
+ observe(element) {
34
+ if (!this.isObserved(element)) {
35
+ resizeObserverElementMap.set(element, this);
36
+ this.observedElements.push(element);
37
+ }
38
+ }
39
+ unobserve(element) {
40
+ if (this.isObserved(element)) {
41
+ resizeObserverElementMap.delete(element);
42
+ this.observedElements = this.observedElements.filter((observedElement) => observedElement !== element);
43
+ }
44
+ }
45
+ disconnect() {
46
+ for (const element of this.observedElements) {
47
+ resizeObserverElementMap.delete(element);
48
+ }
49
+ this.observedElements = [];
50
+ }
51
+ show() {
52
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
53
+ this.callback([{ contentRect: { height: 100 } }], this);
54
+ }
55
+ hide() {
56
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
57
+ this.callback([{ contentRect: { height: 0 } }], this);
58
+ }
59
+ isObserved(element) {
60
+ return this.observedElements.includes(element);
61
+ }
62
+ };
63
+ Object.assign(window, { VegaResizeObserver });
64
+ return {
65
+ show: (selector, container) => {
66
+ (container || document)
67
+ .querySelectorAll(selector)
68
+ // eslint-disable-next-line unicorn/no-array-for-each
69
+ .forEach((el) => {
70
+ const resizeObserver = resizeObserverElementMap.get(el);
71
+ if (resizeObserver) {
72
+ resizeObserver.show();
73
+ }
74
+ });
75
+ },
76
+ hide: (selector, container) => {
77
+ (container || document)
78
+ .querySelectorAll(selector)
79
+ // eslint-disable-next-line unicorn/no-array-for-each
80
+ .forEach((el) => {
81
+ const resizeObserver = resizeObserverElementMap.get(el);
82
+ if (resizeObserver) {
83
+ resizeObserver.hide();
84
+ }
85
+ });
86
+ },
87
+ };
88
+ }
89
+ function sleep(ms) {
90
+ return new Promise((resolve) => {
91
+ setTimeout(resolve, ms);
92
+ });
93
+ }
94
+
95
+ /*
96
+ * Public API Surface of vega-angular
97
+ */
98
+
99
+ /**
100
+ * Generated bundle index. Do not edit.
101
+ */
102
+
103
+ export { mockResizeObserver, waitForVegaReady };
104
+ //# sourceMappingURL=heartlandone-vega-angular-testing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heartlandone-vega-angular-testing.mjs","sources":["../../testing/index.ts","../../testing/public-api.ts","../../testing/heartlandone-vega-angular-testing.ts"],"sourcesContent":["import { FeatureFlag } from '@heartlandone/vega';\nimport { waitFor } from '@testing-library/angular';\nimport type { RenderResult } from '@testing-library/angular';\n\ntype Nullable<T> = T | undefined | null;\n\nexport async function waitForVegaReady(\n renderResult: RenderResult<unknown, unknown>,\n delay: number = 300,\n): Promise<RenderResult<unknown, unknown>> {\n await waitFor(() => {\n renderResult.container\n .querySelectorAll('*:not(.hydrated)')\n // eslint-disable-next-line unicorn/no-array-for-each\n .forEach((element: Element) => {\n if (element.tagName.startsWith('VEGA')) {\n throw new Error('Vega component is not rendered yet, retrying...');\n }\n });\n });\n /*\n * The following code is added to load the vega component, and the attribute value is set after each component is loaded.\n * To determine whether there is a hydrated style that cannot meet the requirements after the component is loaded,\n * It need to set the sleep time to ensure that each attribute of the vega component is fully loaded\n *\n code link: ./node_modules/@heartlandone/vega-react/dist/react-component-lib/utils/attachProps.js(line 28-33)}\n */\n await sleep(delay);\n return renderResult;\n}\n\nexport type MockedResizeObserverController = {\n hide: (selector: string, container?: HTMLElement) => void;\n show: (selector: string, container?: HTMLElement) => void;\n};\n\nexport function mockResizeObserver(): MockedResizeObserverController {\n type MockedResizeObserver = ResizeObserver & {\n show: () => void;\n hide: () => void;\n };\n FeatureFlag.disable('VEGA_ANGULAR.USE_JUGGLE_RESIZE_OBSERVER');\n const resizeObserverElementMap: Map<HTMLElement, MockedResizeObserver> = new Map();\n const VegaResizeObserver: unknown = class {\n private readonly callback: ResizeObserverCallback;\n private observedElements: HTMLElement[] = [];\n constructor(callback: ResizeObserverCallback) {\n this.callback = callback;\n }\n\n observe(element: HTMLElement): void {\n if (!this.isObserved(element)) {\n resizeObserverElementMap.set(element, this);\n this.observedElements.push(element);\n }\n }\n\n unobserve(element: HTMLElement): void {\n if (this.isObserved(element)) {\n resizeObserverElementMap.delete(element);\n this.observedElements = this.observedElements.filter(\n (observedElement: HTMLElement) => observedElement !== element,\n );\n }\n }\n\n disconnect(): void {\n for (const element of this.observedElements) {\n resizeObserverElementMap.delete(element);\n }\n this.observedElements = [];\n }\n\n show(): void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.callback([{ contentRect: { height: 100 } }] as any, this);\n }\n\n hide(): void {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.callback([{ contentRect: { height: 0 } }] as any, this);\n }\n\n private isObserved(element: HTMLElement): boolean {\n return this.observedElements.includes(element);\n }\n };\n Object.assign(window, { VegaResizeObserver });\n return {\n show: (selector: string, container?: HTMLElement): void => {\n (container || document)\n .querySelectorAll(selector)\n // eslint-disable-next-line unicorn/no-array-for-each\n .forEach((el: Element) => {\n const resizeObserver: Nullable<MockedResizeObserver> = resizeObserverElementMap.get(\n el as HTMLElement,\n );\n if (resizeObserver) {\n resizeObserver.show();\n }\n });\n },\n hide: (selector: string, container?: HTMLElement): void => {\n (container || document)\n .querySelectorAll(selector)\n // eslint-disable-next-line unicorn/no-array-for-each\n .forEach((el: Element) => {\n const resizeObserver: Nullable<MockedResizeObserver> = resizeObserverElementMap.get(\n el as HTMLElement,\n );\n if (resizeObserver) {\n resizeObserver.hide();\n }\n });\n },\n };\n}\n\nfunction sleep(ms: number): Promise<void> {\n return new Promise((resolve: () => void) => {\n setTimeout(resolve, ms);\n });\n}\n","/*\n * Public API Surface of vega-angular\n */\nexport * from './index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
@@ -300,11 +300,11 @@ let VegaBox = class VegaBox {
300
300
  }
301
301
  };
302
302
  VegaBox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaBox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
303
- VegaBox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaBox, selector: "vega-box", inputs: { 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" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
303
+ VegaBox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaBox, selector: "vega-box", inputs: { 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" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
304
304
  VegaBox = __decorate([
305
305
  ProxyCmp({
306
306
  defineCustomElementFn: undefined,
307
- inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
307
+ inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'gridArea', 'gridColumn', 'gridRow', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
308
308
  })
309
309
  ], VegaBox);
310
310
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaBox, decorators: [{
@@ -313,7 +313,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
313
313
  selector: 'vega-box',
314
314
  changeDetection: ChangeDetectionStrategy.OnPush,
315
315
  template: '<ng-content></ng-content>',
316
- inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
316
+ inputs: ['alignSelf', 'backgroundColor', 'border', 'borderColor', 'corners', 'display', 'flex', 'flexBasis', 'flexGrow', 'flexShrink', 'gridArea', 'gridColumn', 'gridRow', 'height', 'justifySelf', 'margin', 'order', 'padding', 'responsiveClass', 'shadow', 'width']
317
317
  }]
318
318
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
319
319
  let VegaBreadcrumb = class VegaBreadcrumb {
@@ -391,6 +391,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
391
391
  inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'showTooltip', 'size', 'tooltip', 'type', 'variant']
392
392
  }]
393
393
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
394
+ let VegaButtonGroup = class VegaButtonGroup {
395
+ constructor(c, r, z) {
396
+ this.z = z;
397
+ c.detach();
398
+ this.el = r.nativeElement;
399
+ proxyOutputs(this, this.el, ['vegaClick', 'click']);
400
+ }
401
+ };
402
+ VegaButtonGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaButtonGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
403
+ VegaButtonGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaButtonGroup, selector: "vega-button-group", inputs: { iconAlign: "iconAlign", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
404
+ VegaButtonGroup = __decorate([
405
+ ProxyCmp({
406
+ defineCustomElementFn: undefined,
407
+ inputs: ['iconAlign', 'size', 'variant']
408
+ })
409
+ ], VegaButtonGroup);
410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaButtonGroup, decorators: [{
411
+ type: Component,
412
+ args: [{
413
+ selector: 'vega-button-group',
414
+ changeDetection: ChangeDetectionStrategy.OnPush,
415
+ template: '<ng-content></ng-content>',
416
+ inputs: ['iconAlign', 'size', 'variant']
417
+ }]
418
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
419
+ let VegaButtonGroupItem = class VegaButtonGroupItem {
420
+ constructor(c, r, z) {
421
+ this.z = z;
422
+ c.detach();
423
+ this.el = r.nativeElement;
424
+ }
425
+ };
426
+ VegaButtonGroupItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaButtonGroupItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
427
+ VegaButtonGroupItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaButtonGroupItem, selector: "vega-button-group-item", inputs: { dropdownProps: "dropdownProps", dropdownSource: "dropdownSource", icon: "icon", iconOnly: "iconOnly", itemKey: "itemKey", label: "label" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
428
+ VegaButtonGroupItem = __decorate([
429
+ ProxyCmp({
430
+ defineCustomElementFn: undefined,
431
+ inputs: ['dropdownProps', 'dropdownSource', 'icon', 'iconOnly', 'itemKey', 'label']
432
+ })
433
+ ], VegaButtonGroupItem);
434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaButtonGroupItem, decorators: [{
435
+ type: Component,
436
+ args: [{
437
+ selector: 'vega-button-group-item',
438
+ changeDetection: ChangeDetectionStrategy.OnPush,
439
+ template: '<ng-content></ng-content>',
440
+ inputs: ['dropdownProps', 'dropdownSource', 'icon', 'iconOnly', 'itemKey', 'label']
441
+ }]
442
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
394
443
  let VegaButtonLink = class VegaButtonLink {
395
444
  constructor(c, r, z) {
396
445
  this.z = z;
@@ -501,11 +550,11 @@ let VegaCheckboxGroup = class VegaCheckboxGroup {
501
550
  }
502
551
  };
503
552
  VegaCheckboxGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaCheckboxGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
504
- VegaCheckboxGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaCheckboxGroup, selector: "vega-checkbox-group", inputs: { disabled: "disabled", hint: "hint", isValid: "isValid", label: "label", required: "required", value: "value", vegaFlexProp: "vegaFlexProp" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
553
+ VegaCheckboxGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaCheckboxGroup, selector: "vega-checkbox-group", inputs: { autoValidation: "autoValidation", disabled: "disabled", hint: "hint", isValid: "isValid", label: "label", required: "required", validationRules: "validationRules", value: "value", vegaFlexProp: "vegaFlexProp" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
505
554
  VegaCheckboxGroup = __decorate([
506
555
  ProxyCmp({
507
556
  defineCustomElementFn: undefined,
508
- inputs: ['disabled', 'hint', 'isValid', 'label', 'required', 'value', 'vegaFlexProp']
557
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'required', 'validationRules', 'value', 'vegaFlexProp']
509
558
  })
510
559
  ], VegaCheckboxGroup);
511
560
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaCheckboxGroup, decorators: [{
@@ -514,7 +563,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
514
563
  selector: 'vega-checkbox-group',
515
564
  changeDetection: ChangeDetectionStrategy.OnPush,
516
565
  template: '<ng-content></ng-content>',
517
- inputs: ['disabled', 'hint', 'isValid', 'label', 'required', 'value', 'vegaFlexProp']
566
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'required', 'validationRules', 'value', 'vegaFlexProp']
518
567
  }]
519
568
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
520
569
  let VegaChip = class VegaChip {
@@ -843,11 +892,11 @@ let VegaFlex = class VegaFlex {
843
892
  }
844
893
  };
845
894
  VegaFlex.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaFlex, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
846
- VegaFlex.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaFlex, selector: "vega-flex", inputs: { alignItems: "alignItems", breakpoint: "breakpoint", direction: "direction", gap: "gap", justifyContent: "justifyContent", margin: "margin", useNativeFlex: "useNativeFlex" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
895
+ VegaFlex.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaFlex, selector: "vega-flex", inputs: { alignItems: "alignItems", breakpoint: "breakpoint", direction: "direction", flexWrap: "flexWrap", gap: "gap", justifyContent: "justifyContent", margin: "margin", useNativeFlex: "useNativeFlex" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
847
896
  VegaFlex = __decorate([
848
897
  ProxyCmp({
849
898
  defineCustomElementFn: undefined,
850
- inputs: ['alignItems', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
899
+ inputs: ['alignItems', 'breakpoint', 'direction', 'flexWrap', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
851
900
  })
852
901
  ], VegaFlex);
853
902
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaFlex, decorators: [{
@@ -856,7 +905,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
856
905
  selector: 'vega-flex',
857
906
  changeDetection: ChangeDetectionStrategy.OnPush,
858
907
  template: '<ng-content></ng-content>',
859
- inputs: ['alignItems', 'breakpoint', 'direction', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
908
+ inputs: ['alignItems', 'breakpoint', 'direction', 'flexWrap', 'gap', 'justifyContent', 'margin', 'useNativeFlex']
860
909
  }]
861
910
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
862
911
  let VegaFont = class VegaFont {
@@ -966,11 +1015,11 @@ let VegaImageUploader = class VegaImageUploader {
966
1015
  }
967
1016
  };
968
1017
  VegaImageUploader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaImageUploader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
969
- VegaImageUploader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaImageUploader, selector: "vega-image-uploader", inputs: { accept: "accept", autoValidation: "autoValidation", disabled: "disabled", isValid: "isValid", required: "required", showPreviewButton: "showPreviewButton", showRemoveButton: "showRemoveButton", showReplaceButton: "showReplaceButton", status: "status", validationRules: "validationRules", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1018
+ VegaImageUploader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaImageUploader, selector: "vega-image-uploader", inputs: { accept: "accept", autoValidation: "autoValidation", disabled: "disabled", isValid: "isValid", label: "label", required: "required", showPreviewButton: "showPreviewButton", showRemoveButton: "showRemoveButton", showReplaceButton: "showReplaceButton", status: "status", validationRules: "validationRules", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
970
1019
  VegaImageUploader = __decorate([
971
1020
  ProxyCmp({
972
1021
  defineCustomElementFn: undefined,
973
- inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value'],
1022
+ inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'label', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value'],
974
1023
  methods: ['getContentURL']
975
1024
  })
976
1025
  ], VegaImageUploader);
@@ -980,7 +1029,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
980
1029
  selector: 'vega-image-uploader',
981
1030
  changeDetection: ChangeDetectionStrategy.OnPush,
982
1031
  template: '<ng-content></ng-content>',
983
- inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value']
1032
+ inputs: ['accept', 'autoValidation', 'disabled', 'isValid', 'label', 'required', 'showPreviewButton', 'showRemoveButton', 'showReplaceButton', 'status', 'validationRules', 'value']
984
1033
  }]
985
1034
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
986
1035
  let VegaInput = class VegaInput {
@@ -1536,11 +1585,11 @@ let VegaRadioGroup = class VegaRadioGroup {
1536
1585
  }
1537
1586
  };
1538
1587
  VegaRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1539
- VegaRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaRadioGroup, selector: "vega-radio-group", inputs: { disabled: "disabled", hint: "hint", isValid: "isValid", label: "label", name: "name", required: "required", value: "value", vegaFlexProp: "vegaFlexProp" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1588
+ VegaRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaRadioGroup, selector: "vega-radio-group", inputs: { autoValidation: "autoValidation", disabled: "disabled", hint: "hint", isValid: "isValid", label: "label", name: "name", required: "required", validationRules: "validationRules", value: "value", vegaFlexProp: "vegaFlexProp" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1540
1589
  VegaRadioGroup = __decorate([
1541
1590
  ProxyCmp({
1542
1591
  defineCustomElementFn: undefined,
1543
- inputs: ['disabled', 'hint', 'isValid', 'label', 'name', 'required', 'value', 'vegaFlexProp']
1592
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'name', 'required', 'validationRules', 'value', 'vegaFlexProp']
1544
1593
  })
1545
1594
  ], VegaRadioGroup);
1546
1595
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaRadioGroup, decorators: [{
@@ -1549,7 +1598,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
1549
1598
  selector: 'vega-radio-group',
1550
1599
  changeDetection: ChangeDetectionStrategy.OnPush,
1551
1600
  template: '<ng-content></ng-content>',
1552
- inputs: ['disabled', 'hint', 'isValid', 'label', 'name', 'required', 'value', 'vegaFlexProp']
1601
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'name', 'required', 'validationRules', 'value', 'vegaFlexProp']
1553
1602
  }]
1554
1603
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1555
1604
  let VegaSectionTitle = class VegaSectionTitle {
@@ -2093,6 +2142,8 @@ var VegaComponents = [
2093
2142
  VegaBreadcrumb,
2094
2143
  VegaButton,
2095
2144
  VegaButtonCircle,
2145
+ VegaButtonGroup,
2146
+ VegaButtonGroupItem,
2096
2147
  VegaButtonLink,
2097
2148
  VegaCard,
2098
2149
  VegaCarousel,
@@ -2179,7 +2230,7 @@ class VegaComponentModule {
2179
2230
  }
2180
2231
  }
2181
2232
  VegaComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2182
- VegaComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, declarations: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBackdrop, VegaBarChart, VegaBox, VegaBreadcrumb, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDatePickerCalendar, VegaDialog, VegaDropdown, VegaDropdownContentBox, VegaDropdownGroup, VegaDropdownItem, VegaFieldError, VegaFieldLabel, VegaFlex, VegaFont, VegaForm, VegaGrid, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputRange, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoaderWrapper, VegaLoadingIndicator, VegaModal, VegaNavCard, VegaPageNotification, VegaPageNotificationList, VegaPagination, VegaPieChart, VegaPopover, VegaPopoverContentBox, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSectionTitle, VegaSegmentControl, VegaSlotContainer, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaTableBody, VegaTableCell, VegaTableExpandRow, VegaTableHead, VegaTableHeadCell, VegaTableHeadRow, VegaTableRow, VegaText, VegaTextarea, VegaTimePicker, VegaTimePickerDropdown, VegaToggleSwitch, VegaTooltip, VegaTooltipContentBox, VegaVirtualScroll, TextValueAccessor, ValueAccessor], exports: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBackdrop, VegaBarChart, VegaBox, VegaBreadcrumb, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDatePickerCalendar, VegaDialog, VegaDropdown, VegaDropdownContentBox, VegaDropdownGroup, VegaDropdownItem, VegaFieldError, VegaFieldLabel, VegaFlex, VegaFont, VegaForm, VegaGrid, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputRange, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoaderWrapper, VegaLoadingIndicator, VegaModal, VegaNavCard, VegaPageNotification, VegaPageNotificationList, VegaPagination, VegaPieChart, VegaPopover, VegaPopoverContentBox, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSectionTitle, VegaSegmentControl, VegaSlotContainer, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaTableBody, VegaTableCell, VegaTableExpandRow, VegaTableHead, VegaTableHeadCell, VegaTableHeadRow, VegaTableRow, VegaText, VegaTextarea, VegaTimePicker, VegaTimePickerDropdown, VegaToggleSwitch, VegaTooltip, VegaTooltipContentBox, VegaVirtualScroll, TextValueAccessor, ValueAccessor] });
2233
+ VegaComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, declarations: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBackdrop, VegaBarChart, VegaBox, VegaBreadcrumb, VegaButton, VegaButtonCircle, VegaButtonGroup, VegaButtonGroupItem, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDatePickerCalendar, VegaDialog, VegaDropdown, VegaDropdownContentBox, VegaDropdownGroup, VegaDropdownItem, VegaFieldError, VegaFieldLabel, VegaFlex, VegaFont, VegaForm, VegaGrid, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputRange, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoaderWrapper, VegaLoadingIndicator, VegaModal, VegaNavCard, VegaPageNotification, VegaPageNotificationList, VegaPagination, VegaPieChart, VegaPopover, VegaPopoverContentBox, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSectionTitle, VegaSegmentControl, VegaSlotContainer, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaTableBody, VegaTableCell, VegaTableExpandRow, VegaTableHead, VegaTableHeadCell, VegaTableHeadRow, VegaTableRow, VegaText, VegaTextarea, VegaTimePicker, VegaTimePickerDropdown, VegaToggleSwitch, VegaTooltip, VegaTooltipContentBox, VegaVirtualScroll, TextValueAccessor, ValueAccessor], exports: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBackdrop, VegaBarChart, VegaBox, VegaBreadcrumb, VegaButton, VegaButtonCircle, VegaButtonGroup, VegaButtonGroupItem, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDatePickerCalendar, VegaDialog, VegaDropdown, VegaDropdownContentBox, VegaDropdownGroup, VegaDropdownItem, VegaFieldError, VegaFieldLabel, VegaFlex, VegaFont, VegaForm, VegaGrid, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputRange, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoaderWrapper, VegaLoadingIndicator, VegaModal, VegaNavCard, VegaPageNotification, VegaPageNotificationList, VegaPagination, VegaPieChart, VegaPopover, VegaPopoverContentBox, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSectionTitle, VegaSegmentControl, VegaSlotContainer, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaTableBody, VegaTableCell, VegaTableExpandRow, VegaTableHead, VegaTableHeadCell, VegaTableHeadRow, VegaTableRow, VegaText, VegaTextarea, VegaTimePicker, VegaTimePickerDropdown, VegaToggleSwitch, VegaTooltip, VegaTooltipContentBox, VegaVirtualScroll, TextValueAccessor, ValueAccessor] });
2183
2234
  VegaComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, imports: [[]] });
2184
2235
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, decorators: [{
2185
2236
  type: NgModule,
@@ -2198,5 +2249,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
2198
2249
  * Generated bundle index. Do not edit.
2199
2250
  */
2200
2251
 
2201
- export { TextValueAccessor, ValueAccessor, VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBackdrop, VegaBarChart, VegaBox, VegaBreadcrumb, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaComponentModule, VegaCounterBadge, VegaDatePicker, VegaDatePickerCalendar, VegaDialog, VegaDropdown, VegaDropdownContentBox, VegaDropdownGroup, VegaDropdownItem, VegaFieldError, VegaFieldLabel, VegaFlex, VegaFont, VegaForm, VegaGrid, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputRange, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoaderWrapper, VegaLoadingIndicator, VegaModal, VegaNavCard, VegaPageNotification, VegaPageNotificationList, VegaPagination, VegaPieChart, VegaPopover, VegaPopoverContentBox, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSectionTitle, VegaSegmentControl, VegaSlotContainer, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaTableBody, VegaTableCell, VegaTableExpandRow, VegaTableHead, VegaTableHeadCell, VegaTableHeadRow, VegaTableRow, VegaText, VegaTextarea, VegaTimePicker, VegaTimePickerDropdown, VegaToggleSwitch, VegaTooltip, VegaTooltipContentBox, VegaVirtualScroll };
2252
+ export { TextValueAccessor, ValueAccessor, VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBackdrop, VegaBarChart, VegaBox, VegaBreadcrumb, VegaButton, VegaButtonCircle, VegaButtonGroup, VegaButtonGroupItem, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaComponentModule, VegaCounterBadge, VegaDatePicker, VegaDatePickerCalendar, VegaDialog, VegaDropdown, VegaDropdownContentBox, VegaDropdownGroup, VegaDropdownItem, VegaFieldError, VegaFieldLabel, VegaFlex, VegaFont, VegaForm, VegaGrid, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputRange, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoaderWrapper, VegaLoadingIndicator, VegaModal, VegaNavCard, VegaPageNotification, VegaPageNotificationList, VegaPagination, VegaPieChart, VegaPopover, VegaPopoverContentBox, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSectionTitle, VegaSegmentControl, VegaSlotContainer, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaTableBody, VegaTableCell, VegaTableExpandRow, VegaTableHead, VegaTableHeadCell, VegaTableHeadRow, VegaTableRow, VegaText, VegaTextarea, VegaTimePicker, VegaTimePickerDropdown, VegaToggleSwitch, VegaTooltip, VegaTooltipContentBox, VegaVirtualScroll };
2202
2253
  //# sourceMappingURL=heartlandone-vega-angular.mjs.map