@bryntum/chart-angular-thin 7.2.4 → 7.3.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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@bryntum/core-thin'), require('@bryntum/chart-thin')) :
3
- typeof define === 'function' && define.amd ? define('@bryntum/chart-angular-thin', ['exports', '@angular/core', '@bryntum/core-thin', '@bryntum/chart-thin'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.bryntum = global.bryntum || {}, global.bryntum["chart-angular-thin"] = {}), global.ng.core, global["@bryntum/core-thin"], global["@bryntum/chart-thin"]));
5
- })(this, (function (exports, i0, coreThin, chartThin) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@bryntum/core-thin'), require('@bryntum/chart-thin')) :
3
+ typeof define === 'function' && define.amd ? define('@bryntum/chart-angular-thin', ['exports', '@angular/common', '@angular/core', '@bryntum/core-thin', '@bryntum/chart-thin'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.bryntum = global.bryntum || {}, global.bryntum["chart-angular-thin"] = {}), global.ng.common, global.ng.core, global["@bryntum/core-thin"], global["@bryntum/chart-thin"]));
5
+ })(this, (function (exports, common, i0, coreThin, chartThin) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -486,6 +486,88 @@
486
486
  return WrapperHelper;
487
487
  }());
488
488
 
489
+ // Module-level registry of all open shadow roots that host Bryntum widgets.
490
+ // Populated lazily by collectOpenShadowRoots() the first time it is called, and
491
+ // kept up to date via registerShadowRoot / unregisterShadowRoot.
492
+ var openShadowRoots = new Set();
493
+ // Walks the DOM tree starting from `root` and collects every open shadow root found.
494
+ // Results are cached in openShadowRoots after the first traversal so subsequent calls
495
+ // are O(1). Recursive so nested shadow roots are also discovered.
496
+ function collectOpenShadowRoots(root) {
497
+ if (root === void 0) { root = document; }
498
+ if (openShadowRoots.size > 0) {
499
+ return Array.from(openShadowRoots);
500
+ }
501
+ var roots = [];
502
+ Array.from(root.querySelectorAll('*')).forEach(function (el) {
503
+ if (el.shadowRoot) {
504
+ roots.push(el.shadowRoot);
505
+ roots.push.apply(roots, __spreadArray([], __read(collectOpenShadowRoots(el.shadowRoot))));
506
+ }
507
+ });
508
+ roots.forEach(function (r) { return openShadowRoots.add(r); });
509
+ return roots;
510
+ }
511
+ // Updates the href and data-bryntum-theme attribute of every theme <link> inside all
512
+ // registered shadow roots to mirror the new head link after a theme change.
513
+ function syncThemeToShadowRoots(headLink) {
514
+ var _a;
515
+ var href = headLink.href;
516
+ var themeAttr = (_a = headLink.getAttribute('data-bryntum-theme')) !== null && _a !== void 0 ? _a : '';
517
+ collectOpenShadowRoots().forEach(function (shadowRoot) {
518
+ Array.from(shadowRoot.querySelectorAll('link[data-bryntum-theme]')).forEach(function (link) {
519
+ link.setAttribute('data-bryntum-theme', themeAttr);
520
+ link.href = href;
521
+ });
522
+ });
523
+ }
524
+ // Adds a shadow root to the registry so it is included in theme sync operations.
525
+ // Called by BryntumThemeComboComponent.ngOnInit when it detects it is inside a shadow root.
526
+ function registerShadowRoot(shadowRoot) {
527
+ openShadowRoots.add(shadowRoot);
528
+ }
529
+ // Removes a shadow root from the registry.
530
+ // Called by BryntumThemeComboComponent.ngOnDestroy to clean up on component teardown.
531
+ function unregisterShadowRoot(shadowRoot) {
532
+ openShadowRoots.delete(shadowRoot);
533
+ }
534
+ // Injects a clone of each document.head theme <link> into every registered shadow root
535
+ // that does not already have one. This is required because CSS from document.head does
536
+ // not cascade into shadow DOM, so Bryntum theme styles would be absent without this.
537
+ // Safe to call multiple times — the presence check prevents duplicate injection.
538
+ function initThemeInShadowRoots() {
539
+ var headThemeLinks = Array.from(document.head.querySelectorAll('link[data-bryntum-theme]'));
540
+ if (!headThemeLinks.length) {
541
+ return;
542
+ }
543
+ collectOpenShadowRoots().forEach(function (shadowRoot) {
544
+ if (shadowRoot.querySelector('link[data-bryntum-theme]')) {
545
+ return;
546
+ }
547
+ headThemeLinks.forEach(function (headLink) {
548
+ if (!headLink.href) {
549
+ return;
550
+ }
551
+ // Clone the head link to preserve all attributes, then ensure absolute href
552
+ var clone = headLink.cloneNode();
553
+ clone.href = headLink.href;
554
+ shadowRoot.appendChild(clone);
555
+ });
556
+ });
557
+ }
558
+ // Listens for Bryntum's internal theme-change event and keeps every shadow root's
559
+ // theme link in sync with the new document.head link. Fires after the old <link>s
560
+ // are removed and the new one is fully loaded in document.head.
561
+ // @ts-ignore - ion() is public but not present on GlobalEventsSingleton typings
562
+ coreThin.GlobalEvents.ion({
563
+ theme: function () {
564
+ var link = document.head.querySelector('link[data-bryntum-theme]');
565
+ if (link === null || link === void 0 ? void 0 : link.href) {
566
+ syncThemeToShadowRoots(link);
567
+ }
568
+ }
569
+ });
570
+
489
571
  var BryntumChartComponent = /** @class */ (function () {
490
572
  function BryntumChartComponent(element) {
491
573
  this.bryntumConfig = {
@@ -525,8 +607,7 @@
525
607
  this.onBeforeShow = new i0.EventEmitter();
526
608
  /**
527
609
  * Fires when any other event is fired from the object.
528
- * ...
529
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-catchAll)
610
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-catchAll)
530
611
  * @param {object} event Event object
531
612
  * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
532
613
  * @param {string} event.event.type The type of the event which is caught by the listener
@@ -584,8 +665,7 @@
584
665
  /**
585
666
  * Triggered when a widget which had been in a non-visible state for any reason
586
667
  * achieves visibility.
587
- * ...
588
- * [View online docs...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-paint)
668
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#event-paint)
589
669
  * @param {object} event Event object
590
670
  * @param {Core.widget.Widget} event.source The widget being painted.
591
671
  * @param {boolean} event.firstPaint `true` if this is the first paint.
@@ -665,9 +745,61 @@
665
745
  else {
666
746
  WrapperHelper.devWarningContainer(instanceName, containerParam);
667
747
  }
748
+ // In shadow DOM (e.g. Angular ViewEncapsulation.ShadowDom), theme CSS from document.head
749
+ // does not cascade into the shadow root. Inject a matching <link> so Bryntum's CSS check
750
+ // finds the theme. The @font-face rules from component styles are also extracted to
751
+ // document scope so document.fonts detects them (shadow-root @font-face is not reliably
752
+ // included in document.fonts across all browsers).
753
+ var shadowRoot = elementRef.nativeElement.getRootNode();
754
+ if (shadowRoot instanceof ShadowRoot) {
755
+ initThemeInShadowRoots();
756
+ BryntumChartComponent.ensureFontsInDocument(shadowRoot);
757
+ }
668
758
  // @ts-ignore
669
759
  me.instance = instanceName === 'Widget' ? coreThin.Widget.create(bryntumConfig) : new instanceClass(bryntumConfig);
670
760
  };
761
+ /**
762
+ * Extracts all @font-face declarations from a shadow root's stylesheets and adds them to
763
+ * document.head as a single <style> element. This is needed because @font-face rules inside
764
+ * a shadow root are not reliably included in document.fonts across all browsers, causing
765
+ * Bryntum's CSS compatibility check to incorrectly report missing fonts.
766
+ * Safe to call multiple times — the extraction runs only once per page.
767
+ */
768
+ BryntumChartComponent.ensureFontsInDocument = function (shadowRoot) {
769
+ var _a;
770
+ if (document.querySelector('#b-shadow-root-fonts')) {
771
+ return;
772
+ }
773
+ var fontFaceRules = [];
774
+ var extractFromSheet = function (sheet) {
775
+ try {
776
+ var rules = sheet.cssRules;
777
+ for (var i = 0; i < rules.length; i++) {
778
+ if (rules[i].type === CSSRule.FONT_FACE_RULE) {
779
+ fontFaceRules.push(rules[i].cssText);
780
+ }
781
+ }
782
+ }
783
+ catch (_e) {
784
+ // Cross-origin access may throw; silently skip
785
+ }
786
+ };
787
+ // adoptedStyleSheets (Angular 14+ / modern browsers)
788
+ var adoptedSheets = (_a = shadowRoot.adoptedStyleSheets) !== null && _a !== void 0 ? _a : [];
789
+ adoptedSheets.forEach(function (sheet) { return extractFromSheet(sheet); });
790
+ // <style> elements (older Angular or fallback)
791
+ shadowRoot.querySelectorAll('style').forEach(function (el) {
792
+ if (el.sheet) {
793
+ extractFromSheet(el.sheet);
794
+ }
795
+ });
796
+ if (fontFaceRules.length > 0) {
797
+ var style = document.createElement('style');
798
+ style.id = 'b-shadow-root-fonts';
799
+ style.textContent = fontFaceRules.join('\n');
800
+ document.head.appendChild(style);
801
+ }
802
+ };
671
803
  /**
672
804
  * Watch for changes
673
805
  * @param changes
@@ -679,8 +811,8 @@
679
811
  return;
680
812
  }
681
813
  // Iterate over all changes
682
- Object.entries(changes).forEach(function (_a) {
683
- var _b = __read(_a, 2), prop = _b[0], change = _b[1];
814
+ Object.entries(changes).forEach(function (_b) {
815
+ var _c = __read(_b, 2), prop = _c[0], change = _c[1];
684
816
  var newValue = change.currentValue, instance = _this.instance, bryntumConfigsOnly = BryntumChartComponent.bryntumConfigsOnly, bryntumProps = BryntumChartComponent.bryntumProps;
685
817
  if (bryntumProps.includes(prop)) {
686
818
  WrapperHelper.applyPropValue(instance, prop, newValue, false);
@@ -790,6 +922,7 @@
790
922
  'label',
791
923
  'labelPosition',
792
924
  'labels',
925
+ 'labelWidth',
793
926
  'layout',
794
927
  'layoutStyle',
795
928
  'lazyItems',
@@ -918,7 +1051,6 @@
918
1051
  ];
919
1052
  BryntumChartComponent.bryntumProps = BryntumChartComponent.bryntumFeatureNames.concat([
920
1053
  'alignSelf',
921
- 'anchorSize',
922
1054
  'animate',
923
1055
  'animationDuration',
924
1056
  'appendTo',
@@ -944,9 +1076,7 @@
944
1076
  'field',
945
1077
  'fillColorField',
946
1078
  'flex',
947
- 'focusVisible',
948
1079
  'gridColor',
949
- 'hasChanges',
950
1080
  'height',
951
1081
  'hidden',
952
1082
  'html',
@@ -955,13 +1085,12 @@
955
1085
  'insertBefore',
956
1086
  'insertFirst',
957
1087
  'interactive',
958
- 'isSettingValues',
959
- 'isValid',
960
1088
  'items',
961
1089
  'keyMap',
962
1090
  'label',
963
1091
  'labelPosition',
964
1092
  'labels',
1093
+ 'labelWidth',
965
1094
  'layout',
966
1095
  'layoutStyle',
967
1096
  'legendPosition',
@@ -1012,7 +1141,7 @@
1012
1141
  'y'
1013
1142
  ]);
1014
1143
  BryntumChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartComponent, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1015
- BryntumChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BryntumChartComponent, selector: "bryntum-chart", inputs: { adopt: "adopt", align: "align", anchor: "anchor", ariaDescription: "ariaDescription", ariaLabel: "ariaLabel", autoUpdateRecord: "autoUpdateRecord", border: "border", bubbleEvents: "bubbleEvents", centered: "centered", color: "color", config: "config", constrainTo: "constrainTo", contentElementCls: "contentElementCls", dataField: "dataField", defaultBindProperty: "defaultBindProperty", defaultFocus: "defaultFocus", defaults: "defaults", detectCSSCompatibilityIssues: "detectCSSCompatibilityIssues", dock: "dock", draggable: "draggable", elementAttributes: "elementAttributes", floating: "floating", hideAnimation: "hideAnimation", hideWhenEmpty: "hideWhenEmpty", htmlCls: "htmlCls", ignoreParentReadOnly: "ignoreParentReadOnly", itemCls: "itemCls", lazyItems: "lazyItems", listeners: "listeners", localeClass: "localeClass", localizable: "localizable", localizableProperties: "localizableProperties", maskDefaults: "maskDefaults", masked: "masked", monitorResize: "monitorResize", namedItems: "namedItems", positioned: "positioned", preventTooltipOnTouch: "preventTooltipOnTouch", relayStoreEvents: "relayStoreEvents", ripple: "ripple", rootElement: "rootElement", scrollAction: "scrollAction", showAnimation: "showAnimation", showTooltipWhenDisabled: "showTooltipWhenDisabled", tab: "tab", tabBarItems: "tabBarItems", tag: "tag", textAlign: "textAlign", textContent: "textContent", type: "type", ui: "ui", weight: "weight", alignSelf: "alignSelf", animate: "animate", animationDuration: "animationDuration", appendTo: "appendTo", axisColor: "axisColor", axisLabelColor: "axisLabelColor", background: "background", barDirection: "barDirection", barWidth: "barWidth", bubbleScaleFactor: "bubbleScaleFactor", callOnFunctions: "callOnFunctions", catchEventHandlerExceptions: "catchEventHandlerExceptions", chartPadding: "chartPadding", chartTooltip: "chartTooltip", chartType: "chartType", cls: "cls", column: "column", content: "content", data: "data", dataPointShape: "dataPointShape", dataset: "dataset", disabled: "disabled", extraData: "extraData", field: "field", fillColorField: "fillColorField", flex: "flex", gridColor: "gridColor", height: "height", hidden: "hidden", html: "html", id: "id", inputFieldAlign: "inputFieldAlign", insertBefore: "insertBefore", insertFirst: "insertFirst", interactive: "interactive", items: "items", keyMap: "keyMap", label: "label", labelPosition: "labelPosition", labels: "labels", layout: "layout", layoutStyle: "layoutStyle", legendPosition: "legendPosition", legendScale: "legendScale", margin: "margin", max: "max", maxHeight: "maxHeight", maximizeOnMobile: "maximizeOnMobile", maxTickLabelRotation: "maxTickLabelRotation", maxWidth: "maxWidth", min: "min", minHeight: "minHeight", minTickLabelRotation: "minTickLabelRotation", minWidth: "minWidth", pointSize: "pointSize", readOnly: "readOnly", record: "record", rendition: "rendition", role: "role", rtl: "rtl", scrollable: "scrollable", series: "series", seriesLineDash: "seriesLineDash", seriesLineOpacity: "seriesLineOpacity", seriesLineThickness: "seriesLineThickness", showControls: "showControls", showLegend: "showLegend", showPoints: "showPoints", showSubtitle: "showSubtitle", showTicks: "showTicks", showTitle: "showTitle", showTooltips: "showTooltips", span: "span", strictRecordMapping: "strictRecordMapping", subtitle: "subtitle", subtitleFont: "subtitleFont", subtitlePadding: "subtitlePadding", tickFont: "tickFont", tickMarkColor: "tickMarkColor", title: "title", titleFont: "titleFont", titlePadding: "titlePadding", tooltip: "tooltip", width: "width", x: "x", y: "y", anchorSize: "anchorSize", focusVisible: "focusVisible", hasChanges: "hasChanges", isSettingValues: "isSettingValues", isValid: "isValid", parent: "parent", values: "values" }, outputs: { onBeforeDestroy: "onBeforeDestroy", onBeforeHide: "onBeforeHide", onBeforeSetRecord: "onBeforeSetRecord", onBeforeShow: "onBeforeShow", onCatchAll: "onCatchAll", onDestroy: "onDestroy", onDirtyStateChange: "onDirtyStateChange", onElementCreated: "onElementCreated", onFocusIn: "onFocusIn", onFocusOut: "onFocusOut", onHide: "onHide", onPaint: "onPaint", onReadOnly: "onReadOnly", onRecompose: "onRecompose", onResize: "onResize", onShow: "onShow" }, usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1144
+ BryntumChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.0", type: BryntumChartComponent, selector: "bryntum-chart", inputs: { adopt: "adopt", align: "align", anchor: "anchor", ariaDescription: "ariaDescription", ariaLabel: "ariaLabel", autoUpdateRecord: "autoUpdateRecord", border: "border", bubbleEvents: "bubbleEvents", centered: "centered", color: "color", config: "config", constrainTo: "constrainTo", contentElementCls: "contentElementCls", dataField: "dataField", defaultBindProperty: "defaultBindProperty", defaultFocus: "defaultFocus", defaults: "defaults", detectCSSCompatibilityIssues: "detectCSSCompatibilityIssues", dock: "dock", draggable: "draggable", elementAttributes: "elementAttributes", floating: "floating", hideAnimation: "hideAnimation", hideWhenEmpty: "hideWhenEmpty", htmlCls: "htmlCls", ignoreParentReadOnly: "ignoreParentReadOnly", itemCls: "itemCls", lazyItems: "lazyItems", listeners: "listeners", localeClass: "localeClass", localizable: "localizable", localizableProperties: "localizableProperties", maskDefaults: "maskDefaults", masked: "masked", monitorResize: "monitorResize", namedItems: "namedItems", positioned: "positioned", preventTooltipOnTouch: "preventTooltipOnTouch", relayStoreEvents: "relayStoreEvents", ripple: "ripple", rootElement: "rootElement", scrollAction: "scrollAction", showAnimation: "showAnimation", showTooltipWhenDisabled: "showTooltipWhenDisabled", tab: "tab", tabBarItems: "tabBarItems", tag: "tag", textAlign: "textAlign", textContent: "textContent", type: "type", ui: "ui", weight: "weight", alignSelf: "alignSelf", animate: "animate", animationDuration: "animationDuration", appendTo: "appendTo", axisColor: "axisColor", axisLabelColor: "axisLabelColor", background: "background", barDirection: "barDirection", barWidth: "barWidth", bubbleScaleFactor: "bubbleScaleFactor", callOnFunctions: "callOnFunctions", catchEventHandlerExceptions: "catchEventHandlerExceptions", chartPadding: "chartPadding", chartTooltip: "chartTooltip", chartType: "chartType", cls: "cls", column: "column", content: "content", data: "data", dataPointShape: "dataPointShape", dataset: "dataset", disabled: "disabled", extraData: "extraData", field: "field", fillColorField: "fillColorField", flex: "flex", gridColor: "gridColor", height: "height", hidden: "hidden", html: "html", id: "id", inputFieldAlign: "inputFieldAlign", insertBefore: "insertBefore", insertFirst: "insertFirst", interactive: "interactive", items: "items", keyMap: "keyMap", label: "label", labelPosition: "labelPosition", labels: "labels", labelWidth: "labelWidth", layout: "layout", layoutStyle: "layoutStyle", legendPosition: "legendPosition", legendScale: "legendScale", margin: "margin", max: "max", maxHeight: "maxHeight", maximizeOnMobile: "maximizeOnMobile", maxTickLabelRotation: "maxTickLabelRotation", maxWidth: "maxWidth", min: "min", minHeight: "minHeight", minTickLabelRotation: "minTickLabelRotation", minWidth: "minWidth", pointSize: "pointSize", readOnly: "readOnly", record: "record", rendition: "rendition", role: "role", rtl: "rtl", scrollable: "scrollable", series: "series", seriesLineDash: "seriesLineDash", seriesLineOpacity: "seriesLineOpacity", seriesLineThickness: "seriesLineThickness", showControls: "showControls", showLegend: "showLegend", showPoints: "showPoints", showSubtitle: "showSubtitle", showTicks: "showTicks", showTitle: "showTitle", showTooltips: "showTooltips", span: "span", strictRecordMapping: "strictRecordMapping", subtitle: "subtitle", subtitleFont: "subtitleFont", subtitlePadding: "subtitlePadding", tickFont: "tickFont", tickMarkColor: "tickMarkColor", title: "title", titleFont: "titleFont", titlePadding: "titlePadding", tooltip: "tooltip", width: "width", x: "x", y: "y", parent: "parent", values: "values" }, outputs: { onBeforeDestroy: "onBeforeDestroy", onBeforeHide: "onBeforeHide", onBeforeSetRecord: "onBeforeSetRecord", onBeforeShow: "onBeforeShow", onCatchAll: "onCatchAll", onDestroy: "onDestroy", onDirtyStateChange: "onDirtyStateChange", onElementCreated: "onElementCreated", onFocusIn: "onFocusIn", onFocusOut: "onFocusOut", onHide: "onHide", onPaint: "onPaint", onReadOnly: "onReadOnly", onRecompose: "onRecompose", onResize: "onResize", onShow: "onShow" }, usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1016
1145
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartComponent, decorators: [{
1017
1146
  type: i0.Component,
1018
1147
  args: [{
@@ -1203,6 +1332,8 @@
1203
1332
  type: i0.Input
1204
1333
  }], labels: [{
1205
1334
  type: i0.Input
1335
+ }], labelWidth: [{
1336
+ type: i0.Input
1206
1337
  }], layout: [{
1207
1338
  type: i0.Input
1208
1339
  }], layoutStyle: [{
@@ -1295,16 +1426,6 @@
1295
1426
  type: i0.Input
1296
1427
  }], y: [{
1297
1428
  type: i0.Input
1298
- }], anchorSize: [{
1299
- type: i0.Input
1300
- }], focusVisible: [{
1301
- type: i0.Input
1302
- }], hasChanges: [{
1303
- type: i0.Input
1304
- }], isSettingValues: [{
1305
- type: i0.Input
1306
- }], isValid: [{
1307
- type: i0.Input
1308
1429
  }], parent: [{
1309
1430
  type: i0.Input
1310
1431
  }], values: [{
@@ -1352,15 +1473,15 @@
1352
1473
  return BryntumChartModule;
1353
1474
  }());
1354
1475
  BryntumChartModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1355
- BryntumChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, declarations: [BryntumChartComponent], exports: [BryntumChartComponent] });
1356
- BryntumChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, imports: [[]] });
1476
+ BryntumChartModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, declarations: [BryntumChartComponent], imports: [common.CommonModule], exports: [BryntumChartComponent] });
1477
+ BryntumChartModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, imports: [[common.CommonModule]] });
1357
1478
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0__namespace, type: BryntumChartModule, decorators: [{
1358
1479
  type: i0.NgModule,
1359
1480
  args: [{
1360
1481
  declarations: [
1361
1482
  BryntumChartComponent
1362
1483
  ],
1363
- imports: [],
1484
+ imports: [common.CommonModule],
1364
1485
  exports: [
1365
1486
  BryntumChartComponent
1366
1487
  ]