@heartlandone/vega-angular 1.46.0 → 1.47.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.
- package/dist/esm2020/lib/components-module.mjs +4 -3
- package/dist/esm2020/lib/stencil-generated/components.mjs +82 -5
- package/dist/fesm2015/heartlandone-vega-angular.mjs +82 -7
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +82 -7
- 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 +34 -2
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/src/lib/components-module.ts +3 -2
- package/src/lib/stencil-generated/components.ts +74 -3
- package/src/scripts/stencil-post-build-script.js +1 -0
|
@@ -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.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]>;
|
|
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.VegaDropdownGroup, typeof i1.VegaDropdownItem, 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.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.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.VegaDropdownGroup, typeof i1.VegaDropdownItem, 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.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.VegaToggleSwitch, typeof i1.VegaTooltip, typeof i1.VegaVirtualScroll, typeof i2.TextValueAccessor, typeof i3.ValueAccessor]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<VegaComponentModule>;
|
|
11
11
|
}
|
|
@@ -2,6 +2,7 @@ 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/types';
|
|
4
4
|
import type { VegaBreadcrumbItemType as IVegaBreadcrumbVegaBreadcrumbItemType } from '@heartlandone/vega/dist/types/components/vega-breadcrumb/types';
|
|
5
|
+
import type { VegaDropdownItemClickEvent as IVegaDropdownItemVegaDropdownItemClickEvent } from '@heartlandone/vega/dist/types/components/vega-dropdown/vega-dropdown-item/types';
|
|
5
6
|
import type { VegaFileOptional as IVegaImageUploaderVegaFileOptional } from '@heartlandone/vega/dist/types/components/vega-image-uploader/types';
|
|
6
7
|
import type { SelectValueType as IVegaInputSelectSelectValueType } from '@heartlandone/vega/dist/types/components/vega-input-select/types';
|
|
7
8
|
import type { SelectType as IVegaInputSelectSelectType } from '@heartlandone/vega/dist/types/components/vega-input-select/types';
|
|
@@ -364,7 +365,29 @@ export declare class VegaDropdown {
|
|
|
364
365
|
protected el: HTMLElement;
|
|
365
366
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
366
367
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaDropdown, never>;
|
|
367
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdown, "vega-dropdown", never, { "alignment": "alignment"; "caseSensitive": "caseSensitive"; "dynamicOption": "dynamicOption"; "isLoading": "isLoading"; "itemDisplayRule": "itemDisplayRule"; "matchContainerHeight": "matchContainerHeight"; "matchTargetWidth": "matchTargetWidth"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "placement": "placement"; "positionRelativeTo": "positionRelativeTo"; "searchable": "searchable"; "selectType": "selectType"; "selectedSourceKey": "selectedSourceKey"; "size": "size"; "source": "source"; "translocation": "translocation"; "trigger": "trigger"; "useDefaultFilter": "useDefaultFilter"; }, {}, never, ["*"]>;
|
|
368
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdown, "vega-dropdown", never, { "alignment": "alignment"; "caseSensitive": "caseSensitive"; "dynamicOption": "dynamicOption"; "isLoading": "isLoading"; "itemDisplayRule": "itemDisplayRule"; "matchContainerHeight": "matchContainerHeight"; "matchTargetWidth": "matchTargetWidth"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "placement": "placement"; "positionRelativeTo": "positionRelativeTo"; "prefixIconSlot": "prefixIconSlot"; "searchable": "searchable"; "selectType": "selectType"; "selectedSourceKey": "selectedSourceKey"; "size": "size"; "source": "source"; "translocation": "translocation"; "trigger": "trigger"; "useDefaultFilter": "useDefaultFilter"; }, {}, never, ["*"]>;
|
|
369
|
+
}
|
|
370
|
+
export declare interface VegaDropdownGroup extends Components.VegaDropdownGroup {
|
|
371
|
+
}
|
|
372
|
+
export declare class VegaDropdownGroup {
|
|
373
|
+
protected z: NgZone;
|
|
374
|
+
protected el: HTMLElement;
|
|
375
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
376
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaDropdownGroup, never>;
|
|
377
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdownGroup, "vega-dropdown-group", never, { "divide": "divide"; "label": "label"; }, {}, never, ["*"]>;
|
|
378
|
+
}
|
|
379
|
+
export declare interface VegaDropdownItem extends Components.VegaDropdownItem {
|
|
380
|
+
/**
|
|
381
|
+
* An event emitter notifying the dropdown item has been clicked.
|
|
382
|
+
*/
|
|
383
|
+
vegaClick: EventEmitter<CustomEvent<IVegaDropdownItemVegaDropdownItemClickEvent>>;
|
|
384
|
+
}
|
|
385
|
+
export declare class VegaDropdownItem {
|
|
386
|
+
protected z: NgZone;
|
|
387
|
+
protected el: HTMLElement;
|
|
388
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
389
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaDropdownItem, never>;
|
|
390
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdownItem, "vega-dropdown-item", never, { "count": "count"; "disabled": "disabled"; "height": "height"; "itemKey": "itemKey"; "label": "label"; "prefixIcon": "prefixIcon"; }, {}, never, ["*"]>;
|
|
368
391
|
}
|
|
369
392
|
export declare interface VegaFieldError extends Components.VegaFieldError {
|
|
370
393
|
}
|
|
@@ -811,6 +834,15 @@ export declare class VegaSidenavLink {
|
|
|
811
834
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaSidenavLink, never>;
|
|
812
835
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaSidenavLink, "vega-sidenav-link", never, { "icon": "icon"; "selected": "selected"; "showSideBarOnClickLink": "showSideBarOnClickLink"; "url": "url"; }, {}, never, ["*"]>;
|
|
813
836
|
}
|
|
837
|
+
export declare interface VegaSlotContainer extends Components.VegaSlotContainer {
|
|
838
|
+
}
|
|
839
|
+
export declare class VegaSlotContainer {
|
|
840
|
+
protected z: NgZone;
|
|
841
|
+
protected el: HTMLElement;
|
|
842
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
843
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VegaSlotContainer, never>;
|
|
844
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VegaSlotContainer, "vega-slot-container", never, {}, {}, never, ["*"]>;
|
|
845
|
+
}
|
|
814
846
|
export declare interface VegaStepper extends Components.VegaStepper {
|
|
815
847
|
/**
|
|
816
848
|
* An event emitter notifying changes in the value of
|
|
@@ -1034,5 +1066,5 @@ export declare class VegaVirtualScroll {
|
|
|
1034
1066
|
static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
|
|
1035
1067
|
static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "renderItem": "renderItem"; "source": "source"; "sourceItemIdentifier": "sourceItemIdentifier"; "thresholdOfWork": "thresholdOfWork"; "viewportMaxHeight": "viewportMaxHeight"; }, {}, never, ["*"]>;
|
|
1036
1068
|
}
|
|
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)[];
|
|
1069
|
+
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 VegaDropdownGroup | typeof VegaDropdownItem | 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 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 VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
|
|
1038
1070
|
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.46.1",
|
|
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.46.1",
|
|
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.47.0",
|
|
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.47.0",
|
|
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
|
|
|
@@ -659,14 +659,14 @@ The dropdown _does not_ automatically add the new value to the source list.
|
|
|
659
659
|
|
|
660
660
|
@ProxyCmp({
|
|
661
661
|
defineCustomElementFn: undefined,
|
|
662
|
-
inputs: ['alignment', 'caseSensitive', 'dynamicOption', 'isLoading', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger', 'useDefaultFilter'],
|
|
663
|
-
methods: ['show', 'hide', 'search']
|
|
662
|
+
inputs: ['alignment', 'caseSensitive', 'dynamicOption', 'isLoading', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'prefixIconSlot', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger', 'useDefaultFilter'],
|
|
663
|
+
methods: ['show', 'hide', 'search', 'clearSelection', 'getSelection', 'setSelection']
|
|
664
664
|
})
|
|
665
665
|
@Component({
|
|
666
666
|
selector: 'vega-dropdown',
|
|
667
667
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
668
668
|
template: '<ng-content></ng-content>',
|
|
669
|
-
inputs: ['alignment', 'caseSensitive', 'dynamicOption', 'isLoading', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger', 'useDefaultFilter']
|
|
669
|
+
inputs: ['alignment', 'caseSensitive', 'dynamicOption', 'isLoading', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'placement', 'positionRelativeTo', 'prefixIconSlot', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger', 'useDefaultFilter']
|
|
670
670
|
})
|
|
671
671
|
export class VegaDropdown {
|
|
672
672
|
protected el: HTMLElement;
|
|
@@ -678,6 +678,55 @@ export class VegaDropdown {
|
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
|
|
681
|
+
export declare interface VegaDropdownGroup extends Components.VegaDropdownGroup {}
|
|
682
|
+
|
|
683
|
+
@ProxyCmp({
|
|
684
|
+
defineCustomElementFn: undefined,
|
|
685
|
+
inputs: ['divide', 'label']
|
|
686
|
+
})
|
|
687
|
+
@Component({
|
|
688
|
+
selector: 'vega-dropdown-group',
|
|
689
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
690
|
+
template: '<ng-content></ng-content>',
|
|
691
|
+
inputs: ['divide', 'label']
|
|
692
|
+
})
|
|
693
|
+
export class VegaDropdownGroup {
|
|
694
|
+
protected el: HTMLElement;
|
|
695
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
696
|
+
c.detach();
|
|
697
|
+
this.el = r.nativeElement;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
import type { VegaDropdownItemClickEvent as IVegaDropdownItemVegaDropdownItemClickEvent } from '@heartlandone/vega/dist/types/components/vega-dropdown/vega-dropdown-item/types';
|
|
702
|
+
export declare interface VegaDropdownItem extends Components.VegaDropdownItem {
|
|
703
|
+
/**
|
|
704
|
+
* An event emitter notifying the dropdown item has been clicked.
|
|
705
|
+
*/
|
|
706
|
+
vegaClick: EventEmitter<CustomEvent<IVegaDropdownItemVegaDropdownItemClickEvent>>;
|
|
707
|
+
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
@ProxyCmp({
|
|
711
|
+
defineCustomElementFn: undefined,
|
|
712
|
+
inputs: ['count', 'disabled', 'height', 'itemKey', 'label', 'prefixIcon']
|
|
713
|
+
})
|
|
714
|
+
@Component({
|
|
715
|
+
selector: 'vega-dropdown-item',
|
|
716
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
717
|
+
template: '<ng-content></ng-content>',
|
|
718
|
+
inputs: ['count', 'disabled', 'height', 'itemKey', 'label', 'prefixIcon']
|
|
719
|
+
})
|
|
720
|
+
export class VegaDropdownItem {
|
|
721
|
+
protected el: HTMLElement;
|
|
722
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
723
|
+
c.detach();
|
|
724
|
+
this.el = r.nativeElement;
|
|
725
|
+
proxyOutputs(this, this.el, ['vegaClick']);
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
|
|
681
730
|
export declare interface VegaFieldError extends Components.VegaFieldError {}
|
|
682
731
|
|
|
683
732
|
@ProxyCmp({
|
|
@@ -1586,6 +1635,25 @@ export class VegaSidenavLink {
|
|
|
1586
1635
|
}
|
|
1587
1636
|
|
|
1588
1637
|
|
|
1638
|
+
export declare interface VegaSlotContainer extends Components.VegaSlotContainer {}
|
|
1639
|
+
|
|
1640
|
+
@ProxyCmp({
|
|
1641
|
+
defineCustomElementFn: undefined
|
|
1642
|
+
})
|
|
1643
|
+
@Component({
|
|
1644
|
+
selector: 'vega-slot-container',
|
|
1645
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1646
|
+
template: '<ng-content></ng-content>'
|
|
1647
|
+
})
|
|
1648
|
+
export class VegaSlotContainer {
|
|
1649
|
+
protected el: HTMLElement;
|
|
1650
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
1651
|
+
c.detach();
|
|
1652
|
+
this.el = r.nativeElement;
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
|
|
1589
1657
|
export declare interface VegaStepper extends Components.VegaStepper {
|
|
1590
1658
|
/**
|
|
1591
1659
|
* An event emitter notifying changes in the value of
|
|
@@ -2063,6 +2131,8 @@ export default [
|
|
|
2063
2131
|
VegaDatePicker,
|
|
2064
2132
|
VegaDialog,
|
|
2065
2133
|
VegaDropdown,
|
|
2134
|
+
VegaDropdownGroup,
|
|
2135
|
+
VegaDropdownItem,
|
|
2066
2136
|
VegaFieldError,
|
|
2067
2137
|
VegaFieldLabel,
|
|
2068
2138
|
VegaFlex,
|
|
@@ -2096,6 +2166,7 @@ export default [
|
|
|
2096
2166
|
VegaSidenav,
|
|
2097
2167
|
VegaSidenavGroup,
|
|
2098
2168
|
VegaSidenavLink,
|
|
2169
|
+
VegaSlotContainer,
|
|
2099
2170
|
VegaStepper,
|
|
2100
2171
|
VegaTabGroup,
|
|
2101
2172
|
VegaTabGroupPanel,
|
|
@@ -40,6 +40,7 @@ function resolveEventPayloadImportPath(componentsContent) {
|
|
|
40
40
|
['VegaBreadcrumbItemType', 'vega-breadcrumb/types'],
|
|
41
41
|
['VegaTableHeadCellClickEvent', 'vega-table/interface'],
|
|
42
42
|
['VegaTableRowClickEvent', 'vega-table/interface'],
|
|
43
|
+
['VegaDropdownItemClickEvent', 'vega-dropdown/vega-dropdown-item/types'],
|
|
43
44
|
]);
|
|
44
45
|
|
|
45
46
|
return componentsContent.replace(
|