@heartlandone/vega-angular 1.31.0 → 1.32.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 +12 -2
- package/dist/esm2020/lib/stencil-generated/components.mjs +28 -1
- package/dist/fesm2015/heartlandone-vega-angular.mjs +38 -2
- package/dist/fesm2015/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/fesm2020/heartlandone-vega-angular.mjs +38 -2
- package/dist/fesm2020/heartlandone-vega-angular.mjs.map +1 -1
- package/dist/lib/components-module.d.ts +2 -1
- package/dist/lib/stencil-generated/components.d.ts +10 -1
- package/dist/package.json +4 -3
- package/ng-package.json +2 -1
- package/package.json +4 -3
- package/src/lib/components-module.ts +11 -1
- package/src/lib/stencil-generated/components.ts +23 -0
|
@@ -4,6 +4,8 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
4
4
|
import { __decorate } from 'tslib';
|
|
5
5
|
import { fromEvent } from 'rxjs';
|
|
6
6
|
import { defineCustomElements } from '@heartlandone/vega/loader';
|
|
7
|
+
import { ResizeObserver } from '@juggle/resize-observer';
|
|
8
|
+
import { FeatureFlag } from '@heartlandone/vega';
|
|
7
9
|
|
|
8
10
|
class ValueAccessor {
|
|
9
11
|
constructor(el) {
|
|
@@ -1035,6 +1037,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
1035
1037
|
inputs: ['sectionHeader']
|
|
1036
1038
|
}]
|
|
1037
1039
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1040
|
+
let VegaLineChart = class VegaLineChart {
|
|
1041
|
+
constructor(c, r, z) {
|
|
1042
|
+
this.z = z;
|
|
1043
|
+
c.detach();
|
|
1044
|
+
this.el = r.nativeElement;
|
|
1045
|
+
}
|
|
1046
|
+
};
|
|
1047
|
+
VegaLineChart.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaLineChart, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1048
|
+
VegaLineChart.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaLineChart, selector: "vega-line-chart", inputs: { options: "options" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1049
|
+
VegaLineChart = __decorate([
|
|
1050
|
+
ProxyCmp({
|
|
1051
|
+
defineCustomElementFn: undefined,
|
|
1052
|
+
inputs: ['options'],
|
|
1053
|
+
methods: ['reRender']
|
|
1054
|
+
})
|
|
1055
|
+
], VegaLineChart);
|
|
1056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaLineChart, decorators: [{
|
|
1057
|
+
type: Component,
|
|
1058
|
+
args: [{
|
|
1059
|
+
selector: 'vega-line-chart',
|
|
1060
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1061
|
+
template: '<ng-content></ng-content>',
|
|
1062
|
+
inputs: ['options']
|
|
1063
|
+
}]
|
|
1064
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1038
1065
|
let VegaLoadingIndicator = class VegaLoadingIndicator {
|
|
1039
1066
|
constructor(c, r, z) {
|
|
1040
1067
|
this.z = z;
|
|
@@ -1625,6 +1652,7 @@ var VegaComponents = [
|
|
|
1625
1652
|
VegaLeftNavGroup,
|
|
1626
1653
|
VegaLeftNavLink,
|
|
1627
1654
|
VegaLeftNavSection,
|
|
1655
|
+
VegaLineChart,
|
|
1628
1656
|
VegaLoadingIndicator,
|
|
1629
1657
|
VegaModal,
|
|
1630
1658
|
VegaOption,
|
|
@@ -1651,11 +1679,19 @@ var VegaComponents = [
|
|
|
1651
1679
|
|
|
1652
1680
|
class VegaComponentModule {
|
|
1653
1681
|
constructor() {
|
|
1682
|
+
this.useJuggleResizeObserver();
|
|
1654
1683
|
defineCustomElements(window).then();
|
|
1655
1684
|
}
|
|
1685
|
+
useJuggleResizeObserver() {
|
|
1686
|
+
if (FeatureFlag.isEnabled('VEGA_ANGULAR.USE_JUGGLE_RESIZE_OBSERVER')) {
|
|
1687
|
+
Object.assign(window, {
|
|
1688
|
+
'VegaResizeObserver': ResizeObserver
|
|
1689
|
+
});
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1656
1692
|
}
|
|
1657
1693
|
VegaComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1658
|
-
VegaComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, declarations: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBadge, VegaBanner, VegaBox, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDialog, VegaDropdown, VegaFieldLabel, VegaFlex, VegaFooter, VegaForm, VegaGrid, VegaHeader, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLoadingIndicator, VegaModal, VegaOption, VegaPageNotification, VegaPagination, VegaPopover, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSidenav, VegaSidenavGroup, VegaSidenavLink, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaText, VegaTextarea, VegaTimePicker, VegaToggleSwitch, VegaTooltip, VegaVirtualScroll, TextValueAccessor, ValueAccessor], exports: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBadge, VegaBanner, VegaBox, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDialog, VegaDropdown, VegaFieldLabel, VegaFlex, VegaFooter, VegaForm, VegaGrid, VegaHeader, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLoadingIndicator, VegaModal, VegaOption, VegaPageNotification, VegaPagination, VegaPopover, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSidenav, VegaSidenavGroup, VegaSidenavLink, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaText, VegaTextarea, VegaTimePicker, VegaToggleSwitch, VegaTooltip, VegaVirtualScroll, TextValueAccessor, ValueAccessor] });
|
|
1694
|
+
VegaComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, declarations: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBadge, VegaBanner, VegaBox, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDialog, VegaDropdown, VegaFieldLabel, VegaFlex, VegaFooter, VegaForm, VegaGrid, VegaHeader, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoadingIndicator, VegaModal, VegaOption, VegaPageNotification, VegaPagination, VegaPopover, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSidenav, VegaSidenavGroup, VegaSidenavLink, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaText, VegaTextarea, VegaTimePicker, VegaToggleSwitch, VegaTooltip, VegaVirtualScroll, TextValueAccessor, ValueAccessor], exports: [VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBadge, VegaBanner, VegaBox, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaCounterBadge, VegaDatePicker, VegaDialog, VegaDropdown, VegaFieldLabel, VegaFlex, VegaFooter, VegaForm, VegaGrid, VegaHeader, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoadingIndicator, VegaModal, VegaOption, VegaPageNotification, VegaPagination, VegaPopover, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSidenav, VegaSidenavGroup, VegaSidenavLink, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaText, VegaTextarea, VegaTimePicker, VegaToggleSwitch, VegaTooltip, VegaVirtualScroll, TextValueAccessor, ValueAccessor] });
|
|
1659
1695
|
VegaComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, imports: [[]] });
|
|
1660
1696
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaComponentModule, decorators: [{
|
|
1661
1697
|
type: NgModule,
|
|
@@ -1674,5 +1710,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
1674
1710
|
* Generated bundle index. Do not edit.
|
|
1675
1711
|
*/
|
|
1676
1712
|
|
|
1677
|
-
export { TextValueAccessor, ValueAccessor, VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBadge, VegaBanner, VegaBox, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaComponentModule, VegaCounterBadge, VegaDatePicker, VegaDialog, VegaDropdown, VegaFieldLabel, VegaFlex, VegaFooter, VegaForm, VegaGrid, VegaHeader, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLoadingIndicator, VegaModal, VegaOption, VegaPageNotification, VegaPagination, VegaPopover, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSidenav, VegaSidenavGroup, VegaSidenavLink, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaText, VegaTextarea, VegaTimePicker, VegaToggleSwitch, VegaTooltip, VegaVirtualScroll };
|
|
1713
|
+
export { TextValueAccessor, ValueAccessor, VegaAccordion, VegaAppFooter, VegaAppHeaderButton, VegaBadge, VegaBanner, VegaBox, VegaButton, VegaButtonCircle, VegaButtonLink, VegaCard, VegaCarousel, VegaCheckbox, VegaCheckboxGroup, VegaChip, VegaColorPicker, VegaComboBox, VegaComponentModule, VegaCounterBadge, VegaDatePicker, VegaDialog, VegaDropdown, VegaFieldLabel, VegaFlex, VegaFooter, VegaForm, VegaGrid, VegaHeader, VegaIcon, VegaImageUploader, VegaInput, VegaInputCreditCard, VegaInputSelect, VegaItemToggle, VegaLeftNav, VegaLeftNavGroup, VegaLeftNavLink, VegaLeftNavSection, VegaLineChart, VegaLoadingIndicator, VegaModal, VegaOption, VegaPageNotification, VegaPagination, VegaPopover, VegaProgressTracker, VegaRadio, VegaRadioGroup, VegaSidenav, VegaSidenavGroup, VegaSidenavLink, VegaStepper, VegaTabGroup, VegaTabGroupPanel, VegaTable, VegaText, VegaTextarea, VegaTimePicker, VegaToggleSwitch, VegaTooltip, VegaVirtualScroll };
|
|
1678
1714
|
//# sourceMappingURL=heartlandone-vega-angular.mjs.map
|