@bizy/core 21.4.4 → 21.5.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/fesm2022/bizy-core.mjs +529 -263
- package/fesm2022/bizy-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/bizy-core.d.ts +77 -45
package/fesm2022/bizy-core.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ChangeDetectorRef, ElementRef, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, NgModule, Pipe, Renderer2, ViewChild, ViewContainerRef, RendererFactory2, Inject, Injectable, DOCUMENT as DOCUMENT$1, NgZone,
|
|
2
|
+
import { inject, ChangeDetectorRef, ElementRef, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, NgModule, Pipe, Renderer2, ViewChild, ViewContainerRef, RendererFactory2, Inject, Injectable, DOCUMENT as DOCUMENT$1, NgZone, ContentChildren, Directive, ContentChild, TemplateRef, HostListener } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT, registerLocaleData, DatePipe } from '@angular/common';
|
|
5
|
-
import { Subscription, Subject, debounceTime, distinctUntilChanged, BehaviorSubject, fromEvent, merge, take,
|
|
5
|
+
import { Subscription, Subject, debounceTime, distinctUntilChanged, BehaviorSubject, fromEvent, merge, take, skip, auditTime, throttleTime, interval, filter as filter$1 } from 'rxjs';
|
|
6
6
|
import * as i3 from '@angular/cdk/dialog';
|
|
7
7
|
import { DIALOG_DATA, DialogRef, DialogModule, Dialog } from '@angular/cdk/dialog';
|
|
8
8
|
import * as i1$1 from '@angular/cdk/drag-drop';
|
|
@@ -8642,6 +8642,107 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
|
|
|
8642
8642
|
}]
|
|
8643
8643
|
}] });
|
|
8644
8644
|
|
|
8645
|
+
const DEFAULT_AXIS$1 = {
|
|
8646
|
+
show: false
|
|
8647
|
+
};
|
|
8648
|
+
class BizyBarChartComponent {
|
|
8649
|
+
#elementRef = inject(ElementRef);
|
|
8650
|
+
#document = inject(DOCUMENT);
|
|
8651
|
+
values = [];
|
|
8652
|
+
stack = null;
|
|
8653
|
+
name = null;
|
|
8654
|
+
yAxis = DEFAULT_AXIS$1;
|
|
8655
|
+
xAxis = DEFAULT_AXIS$1;
|
|
8656
|
+
#getClosestCssVariable = (element, cssVariable) => {
|
|
8657
|
+
while (element) {
|
|
8658
|
+
const value = getComputedStyle(element).getPropertyValue(cssVariable).trim();
|
|
8659
|
+
if (value) {
|
|
8660
|
+
return value;
|
|
8661
|
+
}
|
|
8662
|
+
element = element.parentElement;
|
|
8663
|
+
}
|
|
8664
|
+
const rootValue = getComputedStyle(this.#document.documentElement).getPropertyValue(cssVariable).trim();
|
|
8665
|
+
return rootValue || null;
|
|
8666
|
+
};
|
|
8667
|
+
getColor = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-chart-color');
|
|
8668
|
+
getMinHeight = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-chart-min-height');
|
|
8669
|
+
getYAxisColor = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-chart-y-axis-color');
|
|
8670
|
+
getYAxisWidth = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-chart-y-axis-width');
|
|
8671
|
+
getXAxisColor = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-chart-x-axis-color');
|
|
8672
|
+
getXAxisWidth = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-chart-x-axis-width');
|
|
8673
|
+
getNativeElement = () => this.#elementRef?.nativeElement;
|
|
8674
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8675
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.5", type: BizyBarChartComponent, isStandalone: true, selector: "bizy-bar-chart", inputs: { values: "values", stack: "stack", name: "name", yAxis: "yAxis", xAxis: "xAxis" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8676
|
+
}
|
|
8677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarChartComponent, decorators: [{
|
|
8678
|
+
type: Component,
|
|
8679
|
+
args: [{
|
|
8680
|
+
selector: 'bizy-bar-chart',
|
|
8681
|
+
template: '',
|
|
8682
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
8683
|
+
}]
|
|
8684
|
+
}], propDecorators: { values: [{
|
|
8685
|
+
type: Input
|
|
8686
|
+
}], stack: [{
|
|
8687
|
+
type: Input
|
|
8688
|
+
}], name: [{
|
|
8689
|
+
type: Input
|
|
8690
|
+
}], yAxis: [{
|
|
8691
|
+
type: Input
|
|
8692
|
+
}], xAxis: [{
|
|
8693
|
+
type: Input
|
|
8694
|
+
}] } });
|
|
8695
|
+
|
|
8696
|
+
const DEFAULT_AXIS = {
|
|
8697
|
+
show: false
|
|
8698
|
+
};
|
|
8699
|
+
class BizyLineChartComponent {
|
|
8700
|
+
#elementRef = inject(ElementRef);
|
|
8701
|
+
#document = inject(DOCUMENT);
|
|
8702
|
+
values = [];
|
|
8703
|
+
discrete = false;
|
|
8704
|
+
name = null;
|
|
8705
|
+
yAxis = DEFAULT_AXIS;
|
|
8706
|
+
xAxis = DEFAULT_AXIS;
|
|
8707
|
+
#getClosestCssVariable = (element, cssVariable) => {
|
|
8708
|
+
while (element) {
|
|
8709
|
+
const value = getComputedStyle(element).getPropertyValue(cssVariable).trim();
|
|
8710
|
+
if (value) {
|
|
8711
|
+
return value;
|
|
8712
|
+
}
|
|
8713
|
+
element = element.parentElement;
|
|
8714
|
+
}
|
|
8715
|
+
const rootValue = getComputedStyle(this.#document.documentElement).getPropertyValue(cssVariable).trim();
|
|
8716
|
+
return rootValue || null;
|
|
8717
|
+
};
|
|
8718
|
+
getColor = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-line-chart-color');
|
|
8719
|
+
getMinHeight = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-line-chart-min-height');
|
|
8720
|
+
getYAxisColor = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-line-chart-y-axis-color');
|
|
8721
|
+
getYAxisWidth = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-line-chart-y-axis-width');
|
|
8722
|
+
getXAxisColor = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-line-chart-x-axis-color');
|
|
8723
|
+
getXAxisWidth = () => this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-line-chart-x-axis-width');
|
|
8724
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyLineChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8725
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.5", type: BizyLineChartComponent, isStandalone: true, selector: "bizy-line-chart", inputs: { values: "values", discrete: "discrete", name: "name", yAxis: "yAxis", xAxis: "xAxis" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8726
|
+
}
|
|
8727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyLineChartComponent, decorators: [{
|
|
8728
|
+
type: Component,
|
|
8729
|
+
args: [{
|
|
8730
|
+
selector: 'bizy-line-chart',
|
|
8731
|
+
template: '',
|
|
8732
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
8733
|
+
}]
|
|
8734
|
+
}], propDecorators: { values: [{
|
|
8735
|
+
type: Input
|
|
8736
|
+
}], discrete: [{
|
|
8737
|
+
type: Input
|
|
8738
|
+
}], name: [{
|
|
8739
|
+
type: Input
|
|
8740
|
+
}], yAxis: [{
|
|
8741
|
+
type: Input
|
|
8742
|
+
}], xAxis: [{
|
|
8743
|
+
type: Input
|
|
8744
|
+
}] } });
|
|
8745
|
+
|
|
8645
8746
|
var POPUP_PLACEMENT;
|
|
8646
8747
|
(function (POPUP_PLACEMENT) {
|
|
8647
8748
|
POPUP_PLACEMENT["TOP"] = "TOP";
|
|
@@ -10138,317 +10239,477 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
|
|
|
10138
10239
|
args: [{ selector: 'bizy-bar-line-chart-popup', template: '', styles: [":host{display:inline-block;height:min(60rem,90dvh);width:min(60rem,85dvw)}\n"] }]
|
|
10139
10240
|
}] });
|
|
10140
10241
|
|
|
10141
|
-
|
|
10242
|
+
var BIZY_BAR_LINE_CHART_AXIS_POSITION;
|
|
10243
|
+
(function (BIZY_BAR_LINE_CHART_AXIS_POSITION) {
|
|
10244
|
+
BIZY_BAR_LINE_CHART_AXIS_POSITION["TOP"] = "top";
|
|
10245
|
+
BIZY_BAR_LINE_CHART_AXIS_POSITION["RIGHT"] = "right";
|
|
10246
|
+
BIZY_BAR_LINE_CHART_AXIS_POSITION["BOTTOM"] = "bottom";
|
|
10247
|
+
BIZY_BAR_LINE_CHART_AXIS_POSITION["LEFT"] = "left";
|
|
10248
|
+
})(BIZY_BAR_LINE_CHART_AXIS_POSITION || (BIZY_BAR_LINE_CHART_AXIS_POSITION = {}));
|
|
10249
|
+
|
|
10250
|
+
var BIZY_BAR_LINE_CHART_TYPE;
|
|
10251
|
+
(function (BIZY_BAR_LINE_CHART_TYPE) {
|
|
10252
|
+
BIZY_BAR_LINE_CHART_TYPE["BAR"] = "bar";
|
|
10253
|
+
BIZY_BAR_LINE_CHART_TYPE["LINE"] = "line";
|
|
10254
|
+
})(BIZY_BAR_LINE_CHART_TYPE || (BIZY_BAR_LINE_CHART_TYPE = {}));
|
|
10255
|
+
var BIZY_BAR_LINE_CHART_AXIS_TYPE;
|
|
10256
|
+
(function (BIZY_BAR_LINE_CHART_AXIS_TYPE) {
|
|
10257
|
+
BIZY_BAR_LINE_CHART_AXIS_TYPE["INDEPENDENT"] = "category";
|
|
10258
|
+
BIZY_BAR_LINE_CHART_AXIS_TYPE["DEPENDENT"] = "value";
|
|
10259
|
+
})(BIZY_BAR_LINE_CHART_AXIS_TYPE || (BIZY_BAR_LINE_CHART_AXIS_TYPE = {}));
|
|
10142
10260
|
const Y_AXIS_OFFSET = 50;
|
|
10261
|
+
const X_AXIS_OFFSET = 50;
|
|
10143
10262
|
const DEFAULT_CHART_SIZE$4 = '300px';
|
|
10144
10263
|
const DEFAULT_DOWNLOAD$4 = {
|
|
10145
10264
|
show: true,
|
|
10146
10265
|
label: 'Descargar',
|
|
10147
|
-
|
|
10266
|
+
fileName: 'Bizy'
|
|
10148
10267
|
};
|
|
10149
10268
|
const DEFAULT_TOOLTIP$4 = {
|
|
10150
10269
|
show: true
|
|
10151
10270
|
};
|
|
10152
10271
|
class BizyBarLineChartComponent {
|
|
10153
10272
|
#elementRef = inject(ElementRef);
|
|
10154
|
-
#document = inject(DOCUMENT
|
|
10273
|
+
#document = inject(DOCUMENT);
|
|
10155
10274
|
#ref = inject(ChangeDetectorRef);
|
|
10156
10275
|
#renderer = inject(Renderer2);
|
|
10157
10276
|
#popup = inject(BizyPopupService);
|
|
10158
10277
|
resizeRef = null;
|
|
10159
10278
|
tooltip = DEFAULT_TOOLTIP$4;
|
|
10160
10279
|
download = DEFAULT_DOWNLOAD$4;
|
|
10161
|
-
axisPointer = 'line';
|
|
10162
|
-
xAxis = null;
|
|
10163
10280
|
onDownload = new EventEmitter();
|
|
10164
10281
|
onSelect = new EventEmitter();
|
|
10282
|
+
barCharts = null;
|
|
10283
|
+
lineCharts = null;
|
|
10165
10284
|
#echarts = null;
|
|
10166
10285
|
#resizeObserver = null;
|
|
10167
|
-
#afterViewInitSubscription = new Subscription();
|
|
10168
10286
|
#resizeSubscription = new Subscription();
|
|
10169
10287
|
#chartContainer = null;
|
|
10170
|
-
#afterViewInit = new BehaviorSubject(false);
|
|
10171
10288
|
#resize$ = new Subject();
|
|
10172
|
-
#
|
|
10173
|
-
#gridLeft = 0;
|
|
10289
|
+
#gridTop = 0;
|
|
10174
10290
|
#gridRight = 0;
|
|
10291
|
+
#gridBottom = 0;
|
|
10292
|
+
#gridLeft = 0;
|
|
10175
10293
|
#chartStacks = [];
|
|
10176
10294
|
#chartNames = [];
|
|
10177
|
-
|
|
10178
|
-
this
|
|
10179
|
-
}
|
|
10180
|
-
getNativeElement = () => this.#elementRef?.nativeElement;
|
|
10181
|
-
set data(data) {
|
|
10182
|
-
if (!data) {
|
|
10295
|
+
ngAfterContentInit() {
|
|
10296
|
+
if ((!this.barCharts || this.barCharts.length === 0) && (!this.lineCharts || this.lineCharts.length === 0)) {
|
|
10183
10297
|
return;
|
|
10184
10298
|
}
|
|
10185
|
-
if (data.length > 0) {
|
|
10186
|
-
this.#setChartData(data);
|
|
10187
|
-
}
|
|
10188
|
-
else {
|
|
10189
|
-
this.#deleteChartContainer();
|
|
10190
|
-
}
|
|
10191
|
-
}
|
|
10192
|
-
async #setChartData(data) {
|
|
10193
|
-
this.#data = data;
|
|
10194
10299
|
this.#gridLeft = 0;
|
|
10195
10300
|
this.#gridRight = 0;
|
|
10196
10301
|
this.#chartStacks = [];
|
|
10197
10302
|
this.#chartNames = [];
|
|
10198
|
-
this.#
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10303
|
+
this.#createChartContainer();
|
|
10304
|
+
if (!this.#chartContainer) {
|
|
10305
|
+
return;
|
|
10306
|
+
}
|
|
10307
|
+
const series = [];
|
|
10308
|
+
const xAxis = [];
|
|
10309
|
+
const yAxis = [];
|
|
10310
|
+
const legends = new Set();
|
|
10311
|
+
const defaultYAxisColor = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-y-axis-color');
|
|
10312
|
+
const defaultXAxisColor = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-x-axis-color');
|
|
10313
|
+
this.lineCharts.forEach((_line, _i) => {
|
|
10314
|
+
const lineXAxis = _line.xAxis;
|
|
10315
|
+
const lineYAxis = _line.yAxis;
|
|
10316
|
+
const xAxisType = !lineXAxis || typeof lineXAxis.independent === 'undefined' ? BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT : lineXAxis?.independent ? BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT : BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT;
|
|
10317
|
+
const yAxisType = !lineYAxis || typeof lineYAxis.independent === 'undefined' ? BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT : lineYAxis?.independent ? BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT : BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT;
|
|
10318
|
+
if (lineYAxis) {
|
|
10319
|
+
const show = typeof lineYAxis.show === 'undefined' ? true : lineYAxis.show;
|
|
10320
|
+
if (show && yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && !_line.name) {
|
|
10321
|
+
_line.name = lineYAxis.name;
|
|
10212
10322
|
}
|
|
10213
|
-
const
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10323
|
+
const position = lineYAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.RIGHT || lineYAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.LEFT ? lineYAxis.position : BIZY_BAR_LINE_CHART_AXIS_POSITION.LEFT;
|
|
10324
|
+
const thereIsOtherVisibleYAxis = (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.LEFT && this.#gridLeft > 0 || position === BIZY_BAR_LINE_CHART_AXIS_POSITION.RIGHT && this.#gridRight > 0);
|
|
10325
|
+
const offset = show && thereIsOtherVisibleYAxis && typeof lineYAxis.offset !== 'undefined' ? lineYAxis.offset : show && thereIsOtherVisibleYAxis ? Y_AXIS_OFFSET : 0;
|
|
10326
|
+
const color = _line.getYAxisColor() ? _line.getYAxisColor() : yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _line.getColor() ? _line.getColor() : defaultYAxisColor;
|
|
10327
|
+
yAxis.push({
|
|
10328
|
+
type: yAxisType,
|
|
10329
|
+
name: lineYAxis?.name,
|
|
10330
|
+
id: _line.name,
|
|
10331
|
+
show,
|
|
10332
|
+
position,
|
|
10333
|
+
offset,
|
|
10334
|
+
min: lineYAxis?.min,
|
|
10335
|
+
max: lineYAxis?.max,
|
|
10336
|
+
interval: lineYAxis?.interval,
|
|
10337
|
+
alignTicks: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? true : undefined,
|
|
10338
|
+
axisTick: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? { alignWithLabel: true } : undefined,
|
|
10339
|
+
data: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? _line.values.map(_v => _v.y) : [],
|
|
10340
|
+
axisPointer: {
|
|
10341
|
+
type: 'line',
|
|
10342
|
+
show: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT,
|
|
10220
10343
|
},
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
}
|
|
10232
|
-
let position = 'right';
|
|
10233
|
-
let max = undefined;
|
|
10234
|
-
let min = undefined;
|
|
10235
|
-
let interval = undefined;
|
|
10236
|
-
let formatter = null;
|
|
10237
|
-
const xName = _d.xAxi && _d.xAxi.name ? _d.xAxi.name : _d.label;
|
|
10238
|
-
let yName = _d.label;
|
|
10239
|
-
let show = true;
|
|
10240
|
-
if (_d.yAxi) {
|
|
10241
|
-
if (typeof _d.yAxi.show !== 'undefined' && _d.yAxi.show !== null) {
|
|
10242
|
-
show = Boolean(_d.yAxi.show);
|
|
10243
|
-
}
|
|
10244
|
-
formatter = _d.yAxi.onValueFormatter;
|
|
10245
|
-
position = _d.yAxi.position ? _d.yAxi.position : _d.type === 'bar' ? 'right' : 'left';
|
|
10246
|
-
if (_d.yAxi.name) {
|
|
10247
|
-
yName = _d.yAxi.name;
|
|
10344
|
+
axisLine: {
|
|
10345
|
+
show,
|
|
10346
|
+
lineStyle: {
|
|
10347
|
+
color
|
|
10348
|
+
}
|
|
10349
|
+
},
|
|
10350
|
+
axisLabel: {
|
|
10351
|
+
show,
|
|
10352
|
+
color,
|
|
10353
|
+
formatter: lineYAxis.formatter
|
|
10248
10354
|
}
|
|
10249
|
-
|
|
10250
|
-
|
|
10355
|
+
});
|
|
10356
|
+
if (show) {
|
|
10357
|
+
if (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.RIGHT) {
|
|
10358
|
+
this.#gridRight += typeof lineYAxis.offset !== 'undefined' ? Number(lineYAxis.offset) : Y_AXIS_OFFSET;
|
|
10251
10359
|
}
|
|
10252
10360
|
else {
|
|
10253
|
-
|
|
10254
|
-
max = _d.yAxi.max;
|
|
10255
|
-
}
|
|
10256
|
-
if (_d.yAxi.min || _d.yAxi.min === 0) {
|
|
10257
|
-
min = _d.yAxi.min;
|
|
10258
|
-
}
|
|
10259
|
-
if (_d.yAxi.interval || _d.yAxi.interval === 0) {
|
|
10260
|
-
interval = _d.yAxi.interval;
|
|
10261
|
-
}
|
|
10361
|
+
this.#gridLeft += typeof lineYAxis.offset !== 'undefined' ? Number(lineYAxis.offset) : Y_AXIS_OFFSET;
|
|
10262
10362
|
}
|
|
10263
10363
|
}
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10364
|
+
}
|
|
10365
|
+
if (lineXAxis) {
|
|
10366
|
+
const show = typeof lineXAxis.show === 'undefined' ? true : lineXAxis.show;
|
|
10367
|
+
if (show && xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && !_line.name) {
|
|
10368
|
+
_line.name = lineYAxis.name;
|
|
10369
|
+
}
|
|
10370
|
+
const position = lineXAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.TOP || lineXAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.BOTTOM ? lineXAxis.position : BIZY_BAR_LINE_CHART_AXIS_POSITION.BOTTOM;
|
|
10371
|
+
const thereIsOtherVisibleXAxis = (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.TOP && this.#gridTop > 0 || position === BIZY_BAR_LINE_CHART_AXIS_POSITION.BOTTOM && this.#gridBottom > 0);
|
|
10372
|
+
const offset = show && thereIsOtherVisibleXAxis && typeof lineXAxis.offset !== 'undefined' ? lineXAxis.offset : show && thereIsOtherVisibleXAxis ? X_AXIS_OFFSET : 0;
|
|
10373
|
+
const color = _line.getXAxisColor() ? _line.getXAxisColor() : xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _line.getColor() ? _line.getColor() : defaultXAxisColor;
|
|
10374
|
+
xAxis.push({
|
|
10375
|
+
type: xAxisType,
|
|
10376
|
+
name: lineXAxis?.name,
|
|
10377
|
+
id: _line.name,
|
|
10378
|
+
show,
|
|
10269
10379
|
position,
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10380
|
+
offset,
|
|
10381
|
+
min: lineXAxis?.min,
|
|
10382
|
+
max: lineXAxis?.max,
|
|
10383
|
+
interval: lineXAxis?.interval,
|
|
10384
|
+
alignTicks: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? true : undefined,
|
|
10385
|
+
axisTick: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? { alignWithLabel: true } : undefined,
|
|
10386
|
+
data: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? _line.values.map(_v => _v.x) : [],
|
|
10387
|
+
axisPointer: {
|
|
10388
|
+
type: 'line',
|
|
10389
|
+
show: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT,
|
|
10390
|
+
},
|
|
10391
|
+
axisLine: {
|
|
10392
|
+
show,
|
|
10393
|
+
lineStyle: {
|
|
10394
|
+
color,
|
|
10395
|
+
}
|
|
10396
|
+
},
|
|
10397
|
+
axisLabel: {
|
|
10398
|
+
show,
|
|
10399
|
+
color,
|
|
10400
|
+
formatter: lineXAxis.formatter
|
|
10401
|
+
}
|
|
10276
10402
|
});
|
|
10277
10403
|
if (show) {
|
|
10278
|
-
if (position ===
|
|
10279
|
-
this.#
|
|
10404
|
+
if (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.TOP) {
|
|
10405
|
+
this.#gridTop += typeof lineXAxis.offset !== 'undefined' ? Number(lineXAxis.offset) : X_AXIS_OFFSET;
|
|
10280
10406
|
}
|
|
10281
10407
|
else {
|
|
10282
|
-
this.#
|
|
10408
|
+
this.#gridBottom += typeof lineXAxis.offset !== 'undefined' ? Number(lineXAxis.offset) : X_AXIS_OFFSET;
|
|
10283
10409
|
}
|
|
10284
10410
|
}
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10411
|
+
}
|
|
10412
|
+
let axisIndex = _i;
|
|
10413
|
+
const _name = this.#chartNames.find(_name => _name === _line.name);
|
|
10414
|
+
if (_name) {
|
|
10415
|
+
const index = series.findIndex(_s => _s.name === _name);
|
|
10416
|
+
if (index !== -1) {
|
|
10417
|
+
axisIndex = index;
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10420
|
+
else {
|
|
10421
|
+
this.#chartNames.push(_line.name);
|
|
10422
|
+
}
|
|
10423
|
+
series.push({
|
|
10424
|
+
type: BIZY_BAR_LINE_CHART_TYPE.LINE,
|
|
10425
|
+
name: _line.name,
|
|
10426
|
+
yAxisIndex: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10427
|
+
xAxisIndex: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10428
|
+
symbolSize: 5,
|
|
10429
|
+
itemStyle: {
|
|
10430
|
+
color: _line.getColor() ?? null
|
|
10431
|
+
},
|
|
10432
|
+
lineStyle: {
|
|
10433
|
+
color: _line.getColor() ?? null
|
|
10434
|
+
},
|
|
10435
|
+
smooth: !_line.discrete,
|
|
10436
|
+
data: _line.values.map(_v => xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? Number(_v.y) : Number(_v.x))
|
|
10437
|
+
});
|
|
10438
|
+
legends.add(_line.name);
|
|
10439
|
+
});
|
|
10440
|
+
this.barCharts.forEach((_bar, _i) => {
|
|
10441
|
+
const barXAxis = _bar.xAxis;
|
|
10442
|
+
const barYAxis = _bar.yAxis;
|
|
10443
|
+
const xAxisType = !barXAxis || typeof barXAxis.independent === 'undefined' ? BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT : barXAxis?.independent ? BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT : BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT;
|
|
10444
|
+
const yAxisType = !barYAxis || typeof barYAxis.independent === 'undefined' ? BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT : barYAxis?.independent ? BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT : BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT;
|
|
10445
|
+
if (barYAxis) {
|
|
10446
|
+
const show = typeof barYAxis.show === 'undefined' ? true : barYAxis.show;
|
|
10447
|
+
if (show && yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && !_bar.name) {
|
|
10448
|
+
_bar.name = barYAxis.name;
|
|
10449
|
+
}
|
|
10450
|
+
const position = barYAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.RIGHT || barYAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.LEFT ? barYAxis.position : BIZY_BAR_LINE_CHART_AXIS_POSITION.LEFT;
|
|
10451
|
+
const thereIsOtherVisibleYAxis = (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.LEFT && this.#gridLeft > 0 || position === BIZY_BAR_LINE_CHART_AXIS_POSITION.RIGHT && this.#gridRight > 0);
|
|
10452
|
+
const offset = show && thereIsOtherVisibleYAxis && typeof barYAxis.offset !== 'undefined' ? barYAxis.offset : show && thereIsOtherVisibleYAxis ? Y_AXIS_OFFSET : 0;
|
|
10453
|
+
const color = _bar.getYAxisColor() ? _bar.getYAxisColor() : yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _bar.getColor() ? _bar.getColor() : defaultYAxisColor;
|
|
10454
|
+
yAxis.push({
|
|
10455
|
+
type: yAxisType,
|
|
10456
|
+
name: barYAxis?.name,
|
|
10457
|
+
id: _bar.name,
|
|
10458
|
+
show,
|
|
10459
|
+
position,
|
|
10460
|
+
offset,
|
|
10461
|
+
min: barYAxis?.min,
|
|
10462
|
+
max: barYAxis?.max,
|
|
10463
|
+
interval: barYAxis?.interval,
|
|
10464
|
+
alignTicks: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? true : undefined,
|
|
10465
|
+
axisTick: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? { alignWithLabel: true } : undefined,
|
|
10466
|
+
data: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? _bar.values.map(_v => _v.y) : [],
|
|
10467
|
+
axisPointer: {
|
|
10468
|
+
type: 'line',
|
|
10469
|
+
show: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT,
|
|
10470
|
+
},
|
|
10471
|
+
axisLine: {
|
|
10472
|
+
show,
|
|
10473
|
+
lineStyle: {
|
|
10474
|
+
color,
|
|
10475
|
+
width: _bar.getYAxisWidth()
|
|
10293
10476
|
}
|
|
10477
|
+
},
|
|
10478
|
+
axisLabel: {
|
|
10479
|
+
show,
|
|
10480
|
+
color,
|
|
10481
|
+
formatter: barYAxis.formatter
|
|
10482
|
+
}
|
|
10483
|
+
});
|
|
10484
|
+
if (show) {
|
|
10485
|
+
if (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.RIGHT) {
|
|
10486
|
+
this.#gridRight += typeof barYAxis.offset !== 'undefined' ? Number(barYAxis.offset) : Y_AXIS_OFFSET;
|
|
10294
10487
|
}
|
|
10295
10488
|
else {
|
|
10296
|
-
this.#
|
|
10489
|
+
this.#gridLeft += typeof barYAxis.offset !== 'undefined' ? Number(barYAxis.offset) : Y_AXIS_OFFSET;
|
|
10297
10490
|
}
|
|
10298
10491
|
}
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10492
|
+
}
|
|
10493
|
+
if (barXAxis) {
|
|
10494
|
+
const show = typeof barXAxis.show === 'undefined' ? true : barXAxis.show;
|
|
10495
|
+
if (show && xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && !_bar.name) {
|
|
10496
|
+
_bar.name = barYAxis.name;
|
|
10497
|
+
}
|
|
10498
|
+
const position = barXAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.TOP || barXAxis.position === BIZY_BAR_LINE_CHART_AXIS_POSITION.BOTTOM ? barXAxis.position : BIZY_BAR_LINE_CHART_AXIS_POSITION.BOTTOM;
|
|
10499
|
+
const thereIsOtherVisibleXAxis = (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.TOP && this.#gridTop > 0 || position === BIZY_BAR_LINE_CHART_AXIS_POSITION.BOTTOM && this.#gridBottom > 0);
|
|
10500
|
+
const offset = show && thereIsOtherVisibleXAxis && typeof barXAxis.offset !== 'undefined' ? barXAxis.offset : show && thereIsOtherVisibleXAxis ? X_AXIS_OFFSET : 0;
|
|
10501
|
+
const color = _bar.getXAxisColor() ? _bar.getXAxisColor() : xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _bar.getColor() ? _bar.getColor() : defaultXAxisColor;
|
|
10502
|
+
xAxis.push({
|
|
10503
|
+
type: xAxisType,
|
|
10504
|
+
name: barXAxis?.name,
|
|
10505
|
+
id: _bar.name,
|
|
10506
|
+
show,
|
|
10507
|
+
position,
|
|
10508
|
+
offset,
|
|
10509
|
+
min: barXAxis?.min,
|
|
10510
|
+
max: barXAxis?.max,
|
|
10511
|
+
interval: barXAxis?.interval,
|
|
10512
|
+
alignTicks: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? true : undefined,
|
|
10513
|
+
axisTick: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? { alignWithLabel: true } : undefined,
|
|
10514
|
+
data: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? _bar.values.map(_v => _v.x) : [],
|
|
10515
|
+
axisPointer: {
|
|
10516
|
+
type: 'line',
|
|
10517
|
+
show: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT,
|
|
10518
|
+
},
|
|
10519
|
+
axisLine: {
|
|
10520
|
+
show,
|
|
10521
|
+
lineStyle: {
|
|
10522
|
+
color,
|
|
10523
|
+
width: _bar.getXAxisWidth()
|
|
10305
10524
|
}
|
|
10525
|
+
},
|
|
10526
|
+
axisLabel: {
|
|
10527
|
+
show,
|
|
10528
|
+
color,
|
|
10529
|
+
formatter: barXAxis.formatter
|
|
10530
|
+
}
|
|
10531
|
+
});
|
|
10532
|
+
if (show) {
|
|
10533
|
+
if (position === BIZY_BAR_LINE_CHART_AXIS_POSITION.TOP) {
|
|
10534
|
+
this.#gridTop += typeof barXAxis.offset !== 'undefined' ? Number(barXAxis.offset) : X_AXIS_OFFSET;
|
|
10306
10535
|
}
|
|
10307
10536
|
else {
|
|
10308
|
-
this.#
|
|
10537
|
+
this.#gridBottom += typeof barXAxis.offset !== 'undefined' ? Number(barXAxis.offset) : X_AXIS_OFFSET;
|
|
10309
10538
|
}
|
|
10310
10539
|
}
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
barMinHeight: _d.barMinHeight,
|
|
10321
|
-
data: values
|
|
10322
|
-
}, ...color });
|
|
10323
|
-
series.push({ ...{
|
|
10324
|
-
type: _d.type,
|
|
10325
|
-
name: '-',
|
|
10326
|
-
yAxisIndex,
|
|
10327
|
-
smooth: !_d.discrete,
|
|
10328
|
-
stack: _d.stack,
|
|
10329
|
-
data: emptyValues
|
|
10330
|
-
}, ...color });
|
|
10540
|
+
}
|
|
10541
|
+
let axisIndex = _i + this.lineCharts.length;
|
|
10542
|
+
if (_bar.stack) {
|
|
10543
|
+
const _stack = this.#chartStacks.find(_stack => _stack === _bar.stack);
|
|
10544
|
+
if (_stack) {
|
|
10545
|
+
const index = series.findIndex(_s => _s.stack === _stack);
|
|
10546
|
+
if (index !== -1) {
|
|
10547
|
+
axisIndex = yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? series[index].yAxisIndex : series[index].xAxisIndex;
|
|
10548
|
+
}
|
|
10331
10549
|
}
|
|
10332
10550
|
else {
|
|
10333
|
-
|
|
10334
|
-
type: _d.type,
|
|
10335
|
-
name: xName,
|
|
10336
|
-
yAxisIndex,
|
|
10337
|
-
smooth: !_d.discrete,
|
|
10338
|
-
stack: _d.stack,
|
|
10339
|
-
data: _d.values
|
|
10340
|
-
}, ...color });
|
|
10551
|
+
this.#chartStacks.push(_bar.stack);
|
|
10341
10552
|
}
|
|
10342
|
-
}
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
},
|
|
10350
|
-
formatter: this.tooltip?.formatter
|
|
10351
|
-
};
|
|
10352
|
-
const grid = {
|
|
10353
|
-
left: this.#gridLeft,
|
|
10354
|
-
right: this.#gridRight,
|
|
10355
|
-
};
|
|
10356
|
-
const xAxis = [
|
|
10357
|
-
{
|
|
10358
|
-
type: 'category',
|
|
10359
|
-
axisTick: {
|
|
10360
|
-
alignWithLabel: true
|
|
10361
|
-
},
|
|
10362
|
-
data: this.xAxis?.labels,
|
|
10363
|
-
axisLabel: {
|
|
10364
|
-
formatter: this.xAxis?.formatter,
|
|
10553
|
+
}
|
|
10554
|
+
else {
|
|
10555
|
+
const _name = this.#chartNames.find(_name => _name === _bar.name);
|
|
10556
|
+
if (_name) {
|
|
10557
|
+
const index = series.findIndex(_s => _s.name === _name);
|
|
10558
|
+
if (index !== -1) {
|
|
10559
|
+
axisIndex = index;
|
|
10365
10560
|
}
|
|
10366
10561
|
}
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
type: 'scroll',
|
|
10370
|
-
bottom: 0,
|
|
10371
|
-
data: legends
|
|
10372
|
-
};
|
|
10373
|
-
const textColor = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-tooltip-color');
|
|
10374
|
-
const textBackgroundColor = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-tooltip-background-color');
|
|
10375
|
-
const borderColor = this.#getClosestCssVariable(this.#elementRef.nativeElement, '--bizy-bar-line-chart-tooltip-border-color');
|
|
10376
|
-
const toolbox = {
|
|
10377
|
-
show: true,
|
|
10378
|
-
feature: {
|
|
10379
|
-
mySaveAsImage: {
|
|
10380
|
-
show: this.download?.show ?? DEFAULT_DOWNLOAD$4.show,
|
|
10381
|
-
icon: 'path://M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z',
|
|
10382
|
-
title: this.download?.label ?? DEFAULT_DOWNLOAD$4.label,
|
|
10383
|
-
onclick: () => {
|
|
10384
|
-
this.#popup.open({
|
|
10385
|
-
disableCloseButton: true,
|
|
10386
|
-
disableBackdropClose: true,
|
|
10387
|
-
component: BizyBarLineChartPopupComponent,
|
|
10388
|
-
data: {
|
|
10389
|
-
download: {
|
|
10390
|
-
name: this.download?.name ?? DEFAULT_DOWNLOAD$4.name,
|
|
10391
|
-
},
|
|
10392
|
-
grid: {
|
|
10393
|
-
left: this.#gridLeft,
|
|
10394
|
-
right: this.#gridRight
|
|
10395
|
-
},
|
|
10396
|
-
option: this.#echarts.getOption()
|
|
10397
|
-
}
|
|
10398
|
-
});
|
|
10399
|
-
this.onDownload.emit();
|
|
10400
|
-
}
|
|
10401
|
-
}
|
|
10402
|
-
},
|
|
10403
|
-
emphasis: {
|
|
10404
|
-
iconStyle: {
|
|
10405
|
-
color: textColor,
|
|
10406
|
-
borderColor,
|
|
10407
|
-
borderWidth: 1,
|
|
10408
|
-
textBackgroundColor,
|
|
10409
|
-
textPadding: 5,
|
|
10410
|
-
}
|
|
10562
|
+
else {
|
|
10563
|
+
this.#chartNames.push(_bar.name);
|
|
10411
10564
|
}
|
|
10412
|
-
}
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10565
|
+
}
|
|
10566
|
+
if (_bar.getMinHeight()) {
|
|
10567
|
+
const values = _bar.values.map(_v => {
|
|
10568
|
+
const value = xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? Number(_v.y) : Number(_v.x);
|
|
10569
|
+
return value > 0 ? value : '-'; // use '-' for missing data
|
|
10570
|
+
});
|
|
10571
|
+
const emptyValues = _bar.values.map(_v => {
|
|
10572
|
+
const value = xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? Number(_v.y) : Number(_v.x);
|
|
10573
|
+
return value === 0 ? 0 : '-';
|
|
10574
|
+
});
|
|
10575
|
+
series.push({
|
|
10576
|
+
type: BIZY_BAR_LINE_CHART_TYPE.BAR,
|
|
10577
|
+
name: _bar.name,
|
|
10578
|
+
yAxisIndex: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10579
|
+
xAxisIndex: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10580
|
+
stack: _bar.stack,
|
|
10581
|
+
barMinHeight: _bar.getMinHeight(),
|
|
10582
|
+
itemStyle: {
|
|
10583
|
+
color: _bar.getColor() ?? null
|
|
10584
|
+
},
|
|
10585
|
+
data: values,
|
|
10586
|
+
});
|
|
10587
|
+
series.push({
|
|
10588
|
+
type: BIZY_BAR_LINE_CHART_TYPE.BAR,
|
|
10589
|
+
name: '-',
|
|
10590
|
+
yAxisIndex: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10591
|
+
xAxisIndex: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10592
|
+
stack: _bar.stack,
|
|
10593
|
+
itemStyle: {
|
|
10594
|
+
color: _bar.getColor() ?? null
|
|
10595
|
+
},
|
|
10596
|
+
data: emptyValues,
|
|
10597
|
+
});
|
|
10598
|
+
}
|
|
10599
|
+
else {
|
|
10600
|
+
series.push({
|
|
10601
|
+
type: BIZY_BAR_LINE_CHART_TYPE.BAR,
|
|
10602
|
+
name: _bar.name,
|
|
10603
|
+
yAxisIndex: yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10604
|
+
xAxisIndex: xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT ? axisIndex : undefined,
|
|
10605
|
+
stack: _bar.stack,
|
|
10606
|
+
barMinHeight: _bar.getMinHeight(),
|
|
10607
|
+
itemStyle: {
|
|
10608
|
+
color: _bar.getColor() ?? null
|
|
10609
|
+
},
|
|
10610
|
+
data: _bar.values.map(_v => xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.INDEPENDENT ? Number(_v.y) : Number(_v.x))
|
|
10611
|
+
});
|
|
10612
|
+
}
|
|
10613
|
+
legends.add(_bar.name);
|
|
10614
|
+
});
|
|
10615
|
+
const tooltip = {
|
|
10616
|
+
show: this.tooltip?.show ?? DEFAULT_TOOLTIP$4.show,
|
|
10617
|
+
appendToBody: true,
|
|
10618
|
+
confine: true,
|
|
10619
|
+
trigger: 'axis',
|
|
10620
|
+
axisPointer: {
|
|
10621
|
+
show: false
|
|
10622
|
+
},
|
|
10623
|
+
formatter: this.tooltip?.formatter
|
|
10624
|
+
};
|
|
10625
|
+
const grid = {
|
|
10626
|
+
left: this.#gridLeft,
|
|
10627
|
+
right: this.#gridRight,
|
|
10628
|
+
};
|
|
10629
|
+
const legend = {
|
|
10630
|
+
type: 'scroll',
|
|
10631
|
+
bottom: 0,
|
|
10632
|
+
data: Array.from(legends)
|
|
10633
|
+
};
|
|
10634
|
+
const textColor = getComputedStyle(this.#document.documentElement).getPropertyValue('--bizy-bar-line-chart-tooltip-color');
|
|
10635
|
+
const textBackgroundColor = getComputedStyle(this.#document.documentElement).getPropertyValue('--bizy-bar-line-chart-tooltip-background-color');
|
|
10636
|
+
const borderColor = getComputedStyle(this.#document.documentElement).getPropertyValue('--bizy-bar-line-chart-tooltip-border-color');
|
|
10637
|
+
const toolbox = {
|
|
10638
|
+
show: true,
|
|
10639
|
+
feature: {
|
|
10640
|
+
mySaveAsImage: {
|
|
10641
|
+
show: this.download.show ?? DEFAULT_DOWNLOAD$4.show,
|
|
10642
|
+
icon: 'path://M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z',
|
|
10643
|
+
title: this.download.label ?? DEFAULT_DOWNLOAD$4.label,
|
|
10644
|
+
onclick: () => {
|
|
10645
|
+
this.#popup.open({
|
|
10646
|
+
disableCloseButton: true,
|
|
10647
|
+
disableBackdropClose: true,
|
|
10648
|
+
component: BizyBarLineChartPopupComponent,
|
|
10649
|
+
data: {
|
|
10650
|
+
download: {
|
|
10651
|
+
name: this.download?.fileName ?? DEFAULT_DOWNLOAD$4.fileName,
|
|
10652
|
+
},
|
|
10653
|
+
grid: {
|
|
10654
|
+
left: this.#gridLeft,
|
|
10655
|
+
right: this.#gridRight
|
|
10656
|
+
},
|
|
10657
|
+
option: this.#echarts.getOption()
|
|
10658
|
+
}
|
|
10446
10659
|
});
|
|
10447
|
-
|
|
10660
|
+
this.onDownload.emit();
|
|
10661
|
+
}
|
|
10662
|
+
}
|
|
10663
|
+
},
|
|
10664
|
+
emphasis: {
|
|
10665
|
+
iconStyle: {
|
|
10666
|
+
color: textColor,
|
|
10667
|
+
borderColor,
|
|
10668
|
+
borderWidth: 1,
|
|
10669
|
+
textBackgroundColor,
|
|
10670
|
+
textPadding: 5,
|
|
10671
|
+
}
|
|
10672
|
+
}
|
|
10673
|
+
};
|
|
10674
|
+
const option = {
|
|
10675
|
+
tooltip,
|
|
10676
|
+
legend,
|
|
10677
|
+
grid,
|
|
10678
|
+
xAxis,
|
|
10679
|
+
yAxis,
|
|
10680
|
+
toolbox,
|
|
10681
|
+
series
|
|
10682
|
+
};
|
|
10683
|
+
import('echarts').then(echarts => {
|
|
10684
|
+
this.#echarts = echarts.init(this.#chartContainer);
|
|
10685
|
+
Promise.resolve().then(() => {
|
|
10686
|
+
this.#echarts.setOption(option);
|
|
10687
|
+
this.#echarts.on('click', params => {
|
|
10688
|
+
this.onSelect.emit(params.name);
|
|
10448
10689
|
});
|
|
10690
|
+
this.#resizeSubscription.unsubscribe();
|
|
10691
|
+
this.#resizeObserver = new ResizeObserver(() => this.#resize$.next());
|
|
10692
|
+
const resizeRef = this.resizeRef ? this.resizeRef : this.#renderer.parentNode(this.#elementRef.nativeElement) ? this.#renderer.parentNode(this.#elementRef.nativeElement) : this.#elementRef.nativeElement;
|
|
10693
|
+
this.#resizeObserver.observe(resizeRef);
|
|
10694
|
+
this.#resizeSubscription = new Subscription();
|
|
10695
|
+
this.#resizeSubscription.add(this.#resize$.pipe(skip(1), auditTime(300), throttleTime(500)).subscribe(() => {
|
|
10696
|
+
this.#deleteChartContainer();
|
|
10697
|
+
this.#createChartContainer();
|
|
10698
|
+
if (!this.#chartContainer) {
|
|
10699
|
+
return;
|
|
10700
|
+
}
|
|
10701
|
+
this.#echarts = echarts.init(this.#chartContainer);
|
|
10702
|
+
Promise.resolve().then(() => {
|
|
10703
|
+
this.#echarts.setOption(option);
|
|
10704
|
+
this.#echarts.on('click', params => {
|
|
10705
|
+
this.onSelect.emit(params.name);
|
|
10706
|
+
});
|
|
10707
|
+
});
|
|
10708
|
+
}));
|
|
10449
10709
|
});
|
|
10450
|
-
})
|
|
10710
|
+
});
|
|
10451
10711
|
}
|
|
10712
|
+
getNativeElement = () => this.#elementRef?.nativeElement;
|
|
10452
10713
|
#createChartContainer = () => {
|
|
10453
10714
|
if (this.#chartContainer || !this.#elementRef || !this.#elementRef.nativeElement) {
|
|
10454
10715
|
return;
|
|
@@ -10482,11 +10743,10 @@ class BizyBarLineChartComponent {
|
|
|
10482
10743
|
}
|
|
10483
10744
|
element = element.parentElement;
|
|
10484
10745
|
}
|
|
10485
|
-
const rootValue = getComputedStyle(
|
|
10486
|
-
return rootValue;
|
|
10746
|
+
const rootValue = getComputedStyle(document.documentElement).getPropertyValue(cssVariable).trim();
|
|
10747
|
+
return rootValue || null;
|
|
10487
10748
|
};
|
|
10488
10749
|
ngOnDestroy() {
|
|
10489
|
-
this.#afterViewInitSubscription.unsubscribe();
|
|
10490
10750
|
this.#resizeSubscription.unsubscribe();
|
|
10491
10751
|
if (this.#resizeObserver) {
|
|
10492
10752
|
this.#resizeObserver.disconnect();
|
|
@@ -10496,45 +10756,51 @@ class BizyBarLineChartComponent {
|
|
|
10496
10756
|
}
|
|
10497
10757
|
}
|
|
10498
10758
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10499
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.5", type: BizyBarLineChartComponent, isStandalone: true, selector: "bizy-bar-line-chart", inputs: { resizeRef: "resizeRef", tooltip: "tooltip", download: "download",
|
|
10759
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.5", type: BizyBarLineChartComponent, isStandalone: true, selector: "bizy-bar-line-chart", inputs: { resizeRef: "resizeRef", tooltip: "tooltip", download: "download" }, outputs: { onDownload: "onDownload", onSelect: "onSelect" }, queries: [{ propertyName: "barCharts", predicate: BizyBarChartComponent }, { propertyName: "lineCharts", predicate: BizyLineChartComponent }], ngImport: i0, template: '<ng-content select="bizy-bar-chart"></ng-content><ng-content select="bizy-line-chart"></ng-content>', isInline: true, styles: [":host{display:flex;justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10500
10760
|
}
|
|
10501
10761
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartComponent, decorators: [{
|
|
10502
10762
|
type: Component,
|
|
10503
|
-
args: [{ selector: 'bizy-bar-line-chart', template: '', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex;justify-content:center}\n"] }]
|
|
10763
|
+
args: [{ selector: 'bizy-bar-line-chart', template: '<ng-content select="bizy-bar-chart"></ng-content><ng-content select="bizy-line-chart"></ng-content>', imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:flex;justify-content:center}\n"] }]
|
|
10504
10764
|
}], propDecorators: { resizeRef: [{
|
|
10505
10765
|
type: Input
|
|
10506
10766
|
}], tooltip: [{
|
|
10507
10767
|
type: Input
|
|
10508
10768
|
}], download: [{
|
|
10509
10769
|
type: Input
|
|
10510
|
-
}], axisPointer: [{
|
|
10511
|
-
type: Input
|
|
10512
|
-
}], xAxis: [{
|
|
10513
|
-
type: Input
|
|
10514
10770
|
}], onDownload: [{
|
|
10515
10771
|
type: Output
|
|
10516
10772
|
}], onSelect: [{
|
|
10517
10773
|
type: Output
|
|
10518
|
-
}],
|
|
10519
|
-
type:
|
|
10774
|
+
}], barCharts: [{
|
|
10775
|
+
type: ContentChildren,
|
|
10776
|
+
args: [BizyBarChartComponent]
|
|
10777
|
+
}], lineCharts: [{
|
|
10778
|
+
type: ContentChildren,
|
|
10779
|
+
args: [BizyLineChartComponent]
|
|
10520
10780
|
}] } });
|
|
10521
10781
|
|
|
10522
10782
|
const COMPONENTS$x = [
|
|
10523
10783
|
BizyBarLineChartComponent,
|
|
10524
|
-
BizyBarLineChartPopupComponent
|
|
10784
|
+
BizyBarLineChartPopupComponent,
|
|
10785
|
+
BizyBarChartComponent,
|
|
10786
|
+
BizyLineChartComponent
|
|
10525
10787
|
];
|
|
10526
10788
|
class BizyBarLineChartModule {
|
|
10527
10789
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10528
10790
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartModule, imports: [BizyBarLineChartComponent,
|
|
10529
|
-
BizyBarLineChartPopupComponent
|
|
10530
|
-
|
|
10531
|
-
|
|
10791
|
+
BizyBarLineChartPopupComponent,
|
|
10792
|
+
BizyBarChartComponent,
|
|
10793
|
+
BizyLineChartComponent], exports: [BizyBarLineChartComponent,
|
|
10794
|
+
BizyBarLineChartPopupComponent,
|
|
10795
|
+
BizyBarChartComponent,
|
|
10796
|
+
BizyLineChartComponent] });
|
|
10797
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartModule, imports: [BizyBarLineChartComponent] });
|
|
10532
10798
|
}
|
|
10533
10799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImport: i0, type: BizyBarLineChartModule, decorators: [{
|
|
10534
10800
|
type: NgModule,
|
|
10535
10801
|
args: [{
|
|
10536
10802
|
imports: COMPONENTS$x,
|
|
10537
|
-
exports: COMPONENTS$x
|
|
10803
|
+
exports: COMPONENTS$x,
|
|
10538
10804
|
}]
|
|
10539
10805
|
}] });
|
|
10540
10806
|
|
|
@@ -18623,5 +18889,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.5", ngImpor
|
|
|
18623
18889
|
* Generated bundle index. Do not edit.
|
|
18624
18890
|
*/
|
|
18625
18891
|
|
|
18626
|
-
export { BIZY_ANIMATION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_FORMAT_SECONDS_FORMAT, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_SKELETON_SHAPE, BIZY_STACKED_BAR_CHART_LEGEND_POSITION, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarLineChartComponent, BizyBarLineChartModule, BizyBarLineChartPopupComponent, BizyBreadcrumbComponent, BizyBreadcrumbModule, BizyButtonComponent, BizyButtonModule, BizyCacheService, BizyCalendarComponent, BizyCalendarModule, BizyCardComponent, BizyCardModule, BizyCheckboxComponent, BizyCheckboxModule, BizyContentComponent, BizyContentModule, BizyCopyToClipboardDirective, BizyCopyToClipboardService, BizyCurrencyFormatDirective, BizyDatePickerComponent, BizyDatePickerModule, BizyDeviceService, BizyDirectivesModule, BizyDonutChartComponent, BizyDonutChartModule, BizyDonutChartPopupComponent, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, BizyGaugeChartComponent, BizyGaugeChartModule, BizyGaugeChartPopupComponent, BizyGridComponent, BizyGridForDirective, BizyGridModule, BizyGridRowComponent, BizyHeatMapChartComponent, BizyHeatMapChartModule, BizyInputComponent, BizyInputModule, BizyInputOptionComponent, BizyKeyboardService, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyOnlyNumbersDirective, BizyOnlyPhoneDigitsDirective, BizyOrderByPipe, BizyPieChartComponent, BizyPieChartModule, BizyPieChartPopupComponent, BizyPipesModule, BizyPopupModule, BizyPopupService, BizyPopupWrapperComponent, BizyProgressBarComponent, BizyProgressBarModule, BizyRadioComponent, BizyRadioModule, BizyRangeFilterPipe, BizyReducePipe, BizyReloadDirective, BizyRepeatPipe, BizyRoundPipe, BizyRouterService, BizySafePipe, BizySearchPipe, BizySectionCenterComponent, BizySectionComponent, BizySectionEndComponent, BizySectionModule, BizySectionStartComponent, BizySelectComponent, BizySelectModule, BizySelectOptionComponent, BizyServicesModule, BizySetToArrayPipe, BizySidebarComponent, BizySidebarFloatingOptionComponent, BizySidebarFloatingOptionTitleComponent, BizySidebarModule, BizySidebarOptionComponent, BizySkeletonComponent, BizySkeletonModule, BizySliderComponent, BizySliderModule, BizyStackedBarChartComponent, BizyStackedBarChartModule, BizyStackedBarChartSegmentComponent, BizyStorageService, BizyTabComponent, BizyTableColumnArrowsComponent, BizyTableColumnComponent, BizyTableColumnFixedDirective, BizyTableComponent, BizyTableFooterComponent, BizyTableHeaderComponent, BizyTableModule, BizyTableRowComponent, BizyTableRowExpandContentComponent, BizyTableScrollingComponent, BizyTableScrollingDirective, BizyTabsComponent, BizyTabsModule, BizyTagComponent, BizyTagModule, BizyTextEllipsisDirective, BizyTimelineComponent, BizyTimelineEventComponent, BizyTimelineModule, BizyToastModule, BizyToastService, BizyToastWrapperComponent, BizyToggleComponent, BizyToggleModule, BizyToolbarComponent, BizyToolbarModule, BizyTooltipDirective, BizyTranslateModule, BizyTranslatePipe, BizyTranslateService, BizyUniquePipe, BizyValidatorService, BizyViewportService, LANGUAGE, LOADING_TYPE, MIME_TYPE, POPUP_PLACEMENT };
|
|
18892
|
+
export { BIZY_ANIMATION, BIZY_BAR_LINE_CHART_AXIS_POSITION, BIZY_CALENDAR_DAY, BIZY_CALENDAR_EVENT_ACTION, BIZY_CALENDAR_LANGUAGE, BIZY_CALENDAR_MODE, BIZY_FORMAT_SECONDS_FORMAT, BIZY_FORMAT_SECONDS_LANGUAGE, BIZY_SKELETON_SHAPE, BIZY_STACKED_BAR_CHART_LEGEND_POSITION, BIZY_TAG_TYPE, BizyAccordionComponent, BizyAccordionModule, BizyAnimationService, BizyAudioPlayerComponent, BizyAudioPlayerFormatSecondsPipe, BizyAudioPlayerModule, BizyAudioRecorderComponent, BizyAudioRecorderModule, BizyAutoFocusDirective, BizyAveragePipe, BizyBarChartComponent, BizyBarLineChartComponent, BizyBarLineChartModule, BizyBarLineChartPopupComponent, BizyBreadcrumbComponent, BizyBreadcrumbModule, BizyButtonComponent, BizyButtonModule, BizyCacheService, BizyCalendarComponent, BizyCalendarModule, BizyCardComponent, BizyCardModule, BizyCheckboxComponent, BizyCheckboxModule, BizyContentComponent, BizyContentModule, BizyCopyToClipboardDirective, BizyCopyToClipboardService, BizyCurrencyFormatDirective, BizyDatePickerComponent, BizyDatePickerModule, BizyDeviceService, BizyDirectivesModule, BizyDonutChartComponent, BizyDonutChartModule, BizyDonutChartPopupComponent, BizyEnumToArrayPipe, BizyExportToCSVService, BizyExtractNumbersPipe, BizyFileUploaderComponent, BizyFileUploaderModule, BizyFileUploaderService, BizyFilterComponent, BizyFilterContentComponent, BizyFilterModule, BizyFilterPipe, BizyFilterSectionCheckboxOptionComponent, BizyFilterSectionComponent, BizyFilterSectionRangeOptionComponent, BizyFilterSectionSearchOptionComponent, BizyFilterSectionsComponent, BizyFormComponent, BizyFormModule, BizyFormatSecondsPipe, BizyFormatSecondsService, BizyFullScreenPopupWrapperComponent, BizyGaugeChartComponent, BizyGaugeChartModule, BizyGaugeChartPopupComponent, BizyGridComponent, BizyGridForDirective, BizyGridModule, BizyGridRowComponent, BizyHeatMapChartComponent, BizyHeatMapChartModule, BizyInputComponent, BizyInputModule, BizyInputOptionComponent, BizyKeyboardService, BizyLineChartComponent, BizyListComponent, BizyListModule, BizyLoadingDirective, BizyLogService, BizyLongPressDirective, BizyMenuBarComponent, BizyMenuBarModule, BizyMenuBarOptionComponent, BizyMenuComponent, BizyMenuModule, BizyMenuOptionComponent, BizyMenuTitleComponent, BizyOnlyNumbersDirective, BizyOnlyPhoneDigitsDirective, BizyOrderByPipe, BizyPieChartComponent, BizyPieChartModule, BizyPieChartPopupComponent, BizyPipesModule, BizyPopupModule, BizyPopupService, BizyPopupWrapperComponent, BizyProgressBarComponent, BizyProgressBarModule, BizyRadioComponent, BizyRadioModule, BizyRangeFilterPipe, BizyReducePipe, BizyReloadDirective, BizyRepeatPipe, BizyRoundPipe, BizyRouterService, BizySafePipe, BizySearchPipe, BizySectionCenterComponent, BizySectionComponent, BizySectionEndComponent, BizySectionModule, BizySectionStartComponent, BizySelectComponent, BizySelectModule, BizySelectOptionComponent, BizyServicesModule, BizySetToArrayPipe, BizySidebarComponent, BizySidebarFloatingOptionComponent, BizySidebarFloatingOptionTitleComponent, BizySidebarModule, BizySidebarOptionComponent, BizySkeletonComponent, BizySkeletonModule, BizySliderComponent, BizySliderModule, BizyStackedBarChartComponent, BizyStackedBarChartModule, BizyStackedBarChartSegmentComponent, BizyStorageService, BizyTabComponent, BizyTableColumnArrowsComponent, BizyTableColumnComponent, BizyTableColumnFixedDirective, BizyTableComponent, BizyTableFooterComponent, BizyTableHeaderComponent, BizyTableModule, BizyTableRowComponent, BizyTableRowExpandContentComponent, BizyTableScrollingComponent, BizyTableScrollingDirective, BizyTabsComponent, BizyTabsModule, BizyTagComponent, BizyTagModule, BizyTextEllipsisDirective, BizyTimelineComponent, BizyTimelineEventComponent, BizyTimelineModule, BizyToastModule, BizyToastService, BizyToastWrapperComponent, BizyToggleComponent, BizyToggleModule, BizyToolbarComponent, BizyToolbarModule, BizyTooltipDirective, BizyTranslateModule, BizyTranslatePipe, BizyTranslateService, BizyUniquePipe, BizyValidatorService, BizyViewportService, LANGUAGE, LOADING_TYPE, MIME_TYPE, POPUP_PLACEMENT };
|
|
18627
18893
|
//# sourceMappingURL=bizy-core.mjs.map
|