@heartlandone/vega-angular 1.34.0 → 1.35.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.
- package/dist/esm2020/lib/components-module.mjs +2 -2
- package/dist/esm2020/lib/stencil-generated/components.mjs +34 -7
- package/dist/fesm2015/heartlandone-vega-angular.mjs +34 -8
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +34 -8
- package/dist/fesm2020/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/lib/components-module.d.ts +1 -1
- package/dist/lib/stencil-generated/components.d.ts +15 -4
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/src/lib/stencil-generated/components.ts +30 -6
- package/src/scripts/stencil-post-build-script.js +13 -1
|
@@ -2,6 +2,8 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/co
|
|
|
2
2
|
import { Components } from '@heartlandone/vega';
|
|
3
3
|
import type { VegaBannerViewData as IVegaBannerVegaBannerViewData } from '@heartlandone/vega/dist/types/components/vega-banner/vega-banner';
|
|
4
4
|
import type { VegaFile as IVegaImageUploaderVegaFile } from '@heartlandone/vega/dist/types/components/vega-image-uploader/vega-image-uploader';
|
|
5
|
+
import type { SelectValueType as IVegaInputSelectSelectValueType } from '@heartlandone/vega/dist/types/components/vega-input-select/vega-input-select';
|
|
6
|
+
import type { SelectType as IVegaInputSelectSelectType } from '@heartlandone/vega/dist/types/components/vega-input-select/vega-input-select';
|
|
5
7
|
import type { VegaTableChangePropType as IVegaTableVegaTableChangePropType } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
6
8
|
import type { VegaTableRowClickPropType as IVegaTableVegaTableRowClickPropType } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
7
9
|
import type { VegaTableRowSelectProp as IVegaTableVegaTableRowSelectProp } from '@heartlandone/vega/dist/types/components/vega-table/interface';
|
|
@@ -27,7 +29,7 @@ export declare class VegaAppFooter {
|
|
|
27
29
|
protected el: HTMLElement;
|
|
28
30
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaAppFooter, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaAppFooter, "vega-app-footer", never, { "additionalLinks": "additionalLinks"; "content": "content"; "disclaimerUrlTarget": "disclaimerUrlTarget"; "privacyPolicyLabel": "privacyPolicyLabel"; "privacyPolicyUrl": "privacyPolicyUrl"; "privacyPolicyUrlTarget": "privacyPolicyUrlTarget"; "showDisclaimer": "showDisclaimer"; "termOfUseLabel": "termOfUseLabel"; "termOfUseUrl": "termOfUseUrl"; "termOfUseUrlTarget": "termOfUseUrlTarget"; }, {}, never, ["*"]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaAppFooter, "vega-app-footer", never, { "additionalLinks": "additionalLinks"; "content": "content"; "disclaimerUrlTarget": "disclaimerUrlTarget"; "hideDefaultLinks": "hideDefaultLinks"; "privacyPolicyLabel": "privacyPolicyLabel"; "privacyPolicyUrl": "privacyPolicyUrl"; "privacyPolicyUrlTarget": "privacyPolicyUrlTarget"; "showDisclaimer": "showDisclaimer"; "termOfUseLabel": "termOfUseLabel"; "termOfUseUrl": "termOfUseUrl"; "termOfUseUrlTarget": "termOfUseUrlTarget"; }, {}, never, ["*"]>;
|
|
31
33
|
}
|
|
32
34
|
export declare interface VegaAppHeaderButton extends Components.VegaAppHeaderButton {
|
|
33
35
|
/**
|
|
@@ -470,7 +472,7 @@ export declare interface VegaInputSelect extends Components.VegaInputSelect {
|
|
|
470
472
|
/**
|
|
471
473
|
* event emitter used for notifying consumers the select value change event
|
|
472
474
|
*/
|
|
473
|
-
vegaChange: EventEmitter<CustomEvent<
|
|
475
|
+
vegaChange: EventEmitter<CustomEvent<IVegaInputSelectSelectValueType<IVegaInputSelectSelectType>>>;
|
|
474
476
|
/**
|
|
475
477
|
* event emitter used for notifying consumers the validation result change event
|
|
476
478
|
*/
|
|
@@ -481,7 +483,7 @@ export declare class VegaInputSelect {
|
|
|
481
483
|
protected el: HTMLElement;
|
|
482
484
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
483
485
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaInputSelect, never>;
|
|
484
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaInputSelect, "vega-input-select", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "formValidation": "formValidation"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "placeholder": "placeholder"; "prefixIcon": "prefixIcon"; "required": "required"; "size": "size"; "source": "source"; "validationRules": "validationRules"; "value": "value"; "vegaDropdownProps": "vegaDropdownProps"; }, {}, never, ["*"]>;
|
|
486
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaInputSelect, "vega-input-select", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "formValidation": "formValidation"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "placeholder": "placeholder"; "prefixIcon": "prefixIcon"; "required": "required"; "selectType": "selectType"; "selectedLabel": "selectedLabel"; "size": "size"; "source": "source"; "validationRules": "validationRules"; "value": "value"; "vegaDropdownProps": "vegaDropdownProps"; }, {}, never, ["*"]>;
|
|
485
487
|
}
|
|
486
488
|
export declare interface VegaItemToggle extends Components.VegaItemToggle {
|
|
487
489
|
/**
|
|
@@ -610,6 +612,15 @@ export declare class VegaPagination {
|
|
|
610
612
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaPagination, never>;
|
|
611
613
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaPagination, "vega-pagination", never, { "current": "current"; "extensions": "extensions"; "pageSize": "pageSize"; "pageSizeSelectorOptions": "pageSizeSelectorOptions"; "total": "total"; }, {}, never, ["*"]>;
|
|
612
614
|
}
|
|
615
|
+
export declare interface VegaPieChart extends Components.VegaPieChart {
|
|
616
|
+
}
|
|
617
|
+
export declare class VegaPieChart {
|
|
618
|
+
protected z: NgZone;
|
|
619
|
+
protected el: HTMLElement;
|
|
620
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
621
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaPieChart, never>;
|
|
622
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaPieChart, "vega-pie-chart", never, { "options": "options"; }, {}, never, ["*"]>;
|
|
623
|
+
}
|
|
613
624
|
export declare interface VegaPopover extends Components.VegaPopover {
|
|
614
625
|
/**
|
|
615
626
|
* event emitter used for notifying consumers the popover have show
|
|
@@ -856,5 +867,5 @@ export declare class VegaVirtualScroll {
|
|
|
856
867
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
|
|
857
868
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "thresholdOfWork": "thresholdOfWork"; "viewportMaxHeight": "viewportMaxHeight"; }, {}, never, ["*"]>;
|
|
858
869
|
}
|
|
859
|
-
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBarChart | 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)[];
|
|
870
|
+
declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaBarChart | 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 VegaPieChart | 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)[];
|
|
860
871
|
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.
|
|
4
|
+
"version": "1.35.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.
|
|
21
|
+
"@heartlandone/vega": "1.35.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.
|
|
4
|
+
"version": "1.35.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.
|
|
29
|
+
"@heartlandone/vega": "1.35.1",
|
|
30
30
|
"tslib": "^2.3.0",
|
|
31
31
|
"@juggle/resize-observer": "^3.4.0"
|
|
32
32
|
},
|
|
@@ -40,13 +40,13 @@ export declare interface VegaAppFooter extends Components.VegaAppFooter {}
|
|
|
40
40
|
|
|
41
41
|
@ProxyCmp({
|
|
42
42
|
defineCustomElementFn: undefined,
|
|
43
|
-
inputs: ['additionalLinks', 'content', 'disclaimerUrlTarget', 'privacyPolicyLabel', 'privacyPolicyUrl', 'privacyPolicyUrlTarget', 'showDisclaimer', 'termOfUseLabel', 'termOfUseUrl', 'termOfUseUrlTarget']
|
|
43
|
+
inputs: ['additionalLinks', 'content', 'disclaimerUrlTarget', 'hideDefaultLinks', 'privacyPolicyLabel', 'privacyPolicyUrl', 'privacyPolicyUrlTarget', 'showDisclaimer', 'termOfUseLabel', 'termOfUseUrl', 'termOfUseUrlTarget']
|
|
44
44
|
})
|
|
45
45
|
@Component({
|
|
46
46
|
selector: 'vega-app-footer',
|
|
47
47
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
48
|
template: '<ng-content></ng-content>',
|
|
49
|
-
inputs: ['additionalLinks', 'content', 'disclaimerUrlTarget', 'privacyPolicyLabel', 'privacyPolicyUrl', 'privacyPolicyUrlTarget', 'showDisclaimer', 'termOfUseLabel', 'termOfUseUrl', 'termOfUseUrlTarget']
|
|
49
|
+
inputs: ['additionalLinks', 'content', 'disclaimerUrlTarget', 'hideDefaultLinks', 'privacyPolicyLabel', 'privacyPolicyUrl', 'privacyPolicyUrlTarget', 'showDisclaimer', 'termOfUseLabel', 'termOfUseUrl', 'termOfUseUrlTarget']
|
|
50
50
|
})
|
|
51
51
|
export class VegaAppFooter {
|
|
52
52
|
protected el: HTMLElement;
|
|
@@ -901,12 +901,13 @@ export class VegaInputCreditCard {
|
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
|
|
904
|
+
import type { SelectValueType as IVegaInputSelectSelectValueType } from '@heartlandone/vega/dist/types/components/vega-input-select/vega-input-select';
|
|
905
|
+
import type { SelectType as IVegaInputSelectSelectType } from '@heartlandone/vega/dist/types/components/vega-input-select/vega-input-select';
|
|
905
906
|
export declare interface VegaInputSelect extends Components.VegaInputSelect {
|
|
906
907
|
/**
|
|
907
908
|
* event emitter used for notifying consumers the select value change event
|
|
908
909
|
*/
|
|
909
|
-
vegaChange: EventEmitter<CustomEvent<
|
|
910
|
+
vegaChange: EventEmitter<CustomEvent<IVegaInputSelectSelectValueType<IVegaInputSelectSelectType>>>;
|
|
910
911
|
/**
|
|
911
912
|
* event emitter used for notifying consumers the validation result change event
|
|
912
913
|
*/
|
|
@@ -916,14 +917,14 @@ export declare interface VegaInputSelect extends Components.VegaInputSelect {
|
|
|
916
917
|
|
|
917
918
|
@ProxyCmp({
|
|
918
919
|
defineCustomElementFn: undefined,
|
|
919
|
-
inputs: ['autoValidation', 'disabled', 'formValidation', 'hint', 'isValid', 'label', 'placeholder', 'prefixIcon', 'required', 'size', 'source', 'validationRules', 'value', 'vegaDropdownProps'],
|
|
920
|
+
inputs: ['autoValidation', 'disabled', 'formValidation', 'hint', 'isValid', 'label', 'placeholder', 'prefixIcon', 'required', 'selectType', 'selectedLabel', 'size', 'source', 'validationRules', 'value', 'vegaDropdownProps'],
|
|
920
921
|
methods: ['doClose', 'doOpen', 'doChange', 'valid']
|
|
921
922
|
})
|
|
922
923
|
@Component({
|
|
923
924
|
selector: 'vega-input-select',
|
|
924
925
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
925
926
|
template: '<ng-content></ng-content>',
|
|
926
|
-
inputs: ['autoValidation', 'disabled', 'formValidation', 'hint', 'isValid', 'label', 'placeholder', 'prefixIcon', 'required', 'size', 'source', 'validationRules', 'value', 'vegaDropdownProps']
|
|
927
|
+
inputs: ['autoValidation', 'disabled', 'formValidation', 'hint', 'isValid', 'label', 'placeholder', 'prefixIcon', 'required', 'selectType', 'selectedLabel', 'size', 'source', 'validationRules', 'value', 'vegaDropdownProps']
|
|
927
928
|
})
|
|
928
929
|
export class VegaInputSelect {
|
|
929
930
|
protected el: HTMLElement;
|
|
@@ -1213,6 +1214,28 @@ export class VegaPagination {
|
|
|
1213
1214
|
}
|
|
1214
1215
|
|
|
1215
1216
|
|
|
1217
|
+
export declare interface VegaPieChart extends Components.VegaPieChart {}
|
|
1218
|
+
|
|
1219
|
+
@ProxyCmp({
|
|
1220
|
+
defineCustomElementFn: undefined,
|
|
1221
|
+
inputs: ['options'],
|
|
1222
|
+
methods: ['reRender']
|
|
1223
|
+
})
|
|
1224
|
+
@Component({
|
|
1225
|
+
selector: 'vega-pie-chart',
|
|
1226
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1227
|
+
template: '<ng-content></ng-content>',
|
|
1228
|
+
inputs: ['options']
|
|
1229
|
+
})
|
|
1230
|
+
export class VegaPieChart {
|
|
1231
|
+
protected el: HTMLElement;
|
|
1232
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
1233
|
+
c.detach();
|
|
1234
|
+
this.el = r.nativeElement;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
|
|
1216
1239
|
export declare interface VegaPopover extends Components.VegaPopover {
|
|
1217
1240
|
/**
|
|
1218
1241
|
* event emitter used for notifying consumers the popover have show
|
|
@@ -1754,6 +1777,7 @@ export default [
|
|
|
1754
1777
|
VegaOption,
|
|
1755
1778
|
VegaPageNotification,
|
|
1756
1779
|
VegaPagination,
|
|
1780
|
+
VegaPieChart,
|
|
1757
1781
|
VegaPopover,
|
|
1758
1782
|
VegaProgressTracker,
|
|
1759
1783
|
VegaRadio,
|
|
@@ -35,6 +35,8 @@ function resolveEventPayloadImportPath(componentsContent) {
|
|
|
35
35
|
['VegaTableSelectAllProp', 'vega-table/interface'],
|
|
36
36
|
['VegaBannerViewData', 'vega-banner/vega-banner'],
|
|
37
37
|
['VegaFile', 'vega-image-uploader/vega-image-uploader'],
|
|
38
|
+
['SelectValueType', 'vega-input-select/vega-input-select'],
|
|
39
|
+
['SelectType', 'vega-input-select/vega-input-select'],
|
|
38
40
|
]);
|
|
39
41
|
|
|
40
42
|
return componentsContent.replace(
|
|
@@ -46,6 +48,16 @@ function resolveEventPayloadImportPath(componentsContent) {
|
|
|
46
48
|
);
|
|
47
49
|
}
|
|
48
50
|
|
|
51
|
+
function extraReplaces(componentsContent) {
|
|
52
|
+
const replaces = [
|
|
53
|
+
['<SelectValueType<IVegaInputSelectSelectType>>', '<IVegaInputSelectSelectValueType<IVegaInputSelectSelectType>>']
|
|
54
|
+
]
|
|
55
|
+
replaces.forEach(item => {
|
|
56
|
+
componentsContent = componentsContent.replace(new RegExp(item[0], 'g'), item[1])
|
|
57
|
+
})
|
|
58
|
+
return componentsContent;
|
|
59
|
+
}
|
|
60
|
+
|
|
49
61
|
function revertValueAccessorChangeByGit() {
|
|
50
62
|
// use git to reset the change in value-accessor made by stencil angular output,
|
|
51
63
|
// since it will make the directive annotation without any property which will causing compile error
|
|
@@ -56,7 +68,7 @@ function revertUtilsChange() {
|
|
|
56
68
|
execSync('git checkout -- src/lib/stencil-generated/angular-component-lib/utils.ts');
|
|
57
69
|
}
|
|
58
70
|
|
|
59
|
-
updateStencilGeneratedComponents([appendDefaultArrayExportInComponentsFile, resolveEventPayloadImportPath]);
|
|
71
|
+
updateStencilGeneratedComponents([appendDefaultArrayExportInComponentsFile, resolveEventPayloadImportPath, extraReplaces]);
|
|
60
72
|
|
|
61
73
|
revertValueAccessorChangeByGit();
|
|
62
74
|
|