@bizdoc/core 2.3.22 → 2.3.23
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/esm2022/lib/admin/architecture/elements/form.component.mjs +3 -3
- package/esm2022/lib/admin/document-trace/document-trace.component.mjs +3 -3
- package/esm2022/lib/admin/profiler/profiler.component.mjs +3 -3
- package/esm2022/lib/core/translations.mjs +5 -3
- package/esm2022/lib/cube/accum/accum.component.mjs +3 -3
- package/esm2022/lib/cube/chart/chart.component.mjs +3 -3
- package/esm2022/lib/cube/cube.service.mjs +13 -6
- package/esm2022/lib/cube/grid/grid.component.mjs +51 -56
- package/esm2022/lib/cube/parallel/parallel.component.mjs +3 -3
- package/esm2022/lib/cube/pivot/pivot.component.mjs +3 -3
- package/esm2022/lib/cube/spreadsheet/spreadsheet.component.mjs +5 -4
- package/esm2022/lib/dashboard/actions/actions.widget.mjs +3 -3
- package/esm2022/lib/dashboard/cube/compare.widget.mjs +3 -3
- package/esm2022/lib/dashboard/cube/cube-analysis.base.mjs +3 -3
- package/esm2022/lib/dashboard/cube/document-state.widget.mjs +3 -3
- package/esm2022/lib/dashboard/score/activity.widget.mjs +3 -3
- package/esm2022/lib/dashboard/score/compare-groups.widget.mjs +3 -3
- package/esm2022/lib/dashboard/score/peers-performance.widget.mjs +3 -3
- package/esm2022/lib/dashboard/score/personal-score.widget.mjs +7 -4
- package/esm2022/lib/reports/cube/grid-documents.component.mjs +3 -3
- package/esm2022/lib/reports/cube/usage-chart.component.mjs +3 -3
- package/esm2022/lib/reports/report-viewer.component.mjs +3 -6
- package/fesm2022/bizdoc-core.mjs +108 -102
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/architecture/elements/form.component.d.ts +1 -1
- package/lib/admin/profiler/profiler.component.d.ts +1 -1
- package/lib/core/translations.d.ts +2 -0
- package/lib/cube/accum/accum.component.d.ts +1 -1
- package/lib/cube/chart/chart.component.d.ts +1 -1
- package/lib/cube/grid/grid.component.d.ts +1 -1
- package/lib/cube/parallel/parallel.component.d.ts +1 -1
- package/lib/dashboard/actions/actions.widget.d.ts +1 -1
- package/lib/dashboard/cube/compare.widget.d.ts +1 -1
- package/lib/dashboard/cube/cube-analysis.base.d.ts +1 -1
- package/lib/dashboard/cube/document-state.widget.d.ts +1 -1
- package/lib/dashboard/score/activity.widget.d.ts +1 -1
- package/lib/dashboard/score/compare-groups.widget.d.ts +1 -1
- package/lib/dashboard/score/peers-performance.widget.d.ts +1 -1
- package/lib/dashboard/score/personal-score.widget.d.ts +1 -1
- package/package.json +11 -11
package/fesm2022/bizdoc-core.mjs
CHANGED
@@ -1001,7 +1001,7 @@ const STRINGS = {
|
|
1001
1001
|
Preferences: 'Settings',
|
1002
1002
|
Tags: 'Tags',
|
1003
1003
|
Mention: 'Mention',
|
1004
|
-
TagsHint: '
|
1004
|
+
TagsHint: 'Choose or type your tags',
|
1005
1005
|
ContinueEditing: 'Continue editing',
|
1006
1006
|
Close: 'Close',
|
1007
1007
|
View: 'View',
|
@@ -1480,7 +1480,9 @@ const STRINGS = {
|
|
1480
1480
|
ComposeFemale: "צרי חדש",
|
1481
1481
|
Preferences: 'העדפות',
|
1482
1482
|
Tags: 'תגיות',
|
1483
|
-
TagsHint: 'הקלד/י תגיות',
|
1483
|
+
TagsHint: 'בחר/י או הקלד/י תגיות אשיות',
|
1484
|
+
TagsHintMale: 'בחר או הקלד תגיות אשיות',
|
1485
|
+
TagsHintFemale: ' אשיותבחרי או הקלדי תגיות',
|
1484
1486
|
ContinueEditing: 'המשך/י לערוך',
|
1485
1487
|
ContinueEditingMale: 'המשך לערוך',
|
1486
1488
|
ContinueEditingFemale: 'המשכי לערוך',
|
@@ -5407,20 +5409,22 @@ class CubeService {
|
|
5407
5409
|
return (source) => new Observable(observe => {
|
5408
5410
|
source.subscribe({
|
5409
5411
|
next: r => {
|
5410
|
-
const observables = [];
|
5411
|
-
const options = this._session.profile.cubes.find(c => c.name === cube);
|
5412
|
-
const axisTypeMap = {};
|
5413
|
-
options.axes.forEach(x => axisTypeMap[x.name] = x.dataType);
|
5414
5412
|
if (!r.length) {
|
5415
5413
|
observe.next(r);
|
5416
5414
|
observe.complete();
|
5417
5415
|
return;
|
5418
5416
|
}
|
5417
|
+
const observables = [];
|
5418
|
+
const configuration = this._session.profile.cubes.find(c => c.name === cube);
|
5419
|
+
const axisTypeMap = {};
|
5420
|
+
configuration.axes.forEach(x => axisTypeMap[x.name] = x.dataType);
|
5421
|
+
// compare base
|
5419
5422
|
const base = r[0].points;
|
5420
5423
|
r.forEach((s, i) => {
|
5421
5424
|
s.points.forEach(p => {
|
5422
5425
|
if (!p.x)
|
5423
5426
|
return;
|
5427
|
+
// add human-readable name to point x
|
5424
5428
|
const pobservable = forkJoin(p.x.split(AXES_CODE_DIVIDER).map((k, j) => this._type.get(axisTypeMap[xAxis[j]], k))).
|
5425
5429
|
pipe(tap(o => p.name = o.join(AXES_LABEL_DIVIDER)));
|
5426
5430
|
observables.push(pobservable);
|
@@ -5437,23 +5441,28 @@ class CubeService {
|
|
5437
5441
|
j++;
|
5438
5442
|
}
|
5439
5443
|
if (missing) {
|
5444
|
+
// add point to first array base
|
5440
5445
|
const clone = { x: p.x, y: 0 };
|
5441
5446
|
base.splice(j, 0, clone);
|
5447
|
+
// add human-readable name to point x
|
5442
5448
|
const cobservable = forkJoin(p.x.split(AXES_CODE_DIVIDER).map((k, j) => this._type.get(axisTypeMap[xAxis[j]], k))).
|
5443
5449
|
pipe(tap(o => clone.name = o.join(AXES_LABEL_DIVIDER)));
|
5444
5450
|
observables.push(cobservable);
|
5445
5451
|
}
|
5446
5452
|
}
|
5447
5453
|
});
|
5454
|
+
// is index entry
|
5448
5455
|
if (s.index) {
|
5449
|
-
const index =
|
5456
|
+
const index = configuration.indices.find(i => i.name === s.index);
|
5450
5457
|
s.title = index.title;
|
5451
5458
|
}
|
5452
5459
|
else if (s.name) {
|
5460
|
+
// add human-readable title to series name
|
5453
5461
|
const sobservable = forkJoin(s.name.split(AXES_CODE_DIVIDER).map((k, i) => this._type.get(axisTypeMap[series[i]], k))).pipe(tap(v => s.title = v.join(AXES_LABEL_DIVIDER)));
|
5454
5462
|
observables.push(sobservable);
|
5455
5463
|
}
|
5456
5464
|
});
|
5465
|
+
// complete when all done
|
5457
5466
|
if (observables.length)
|
5458
5467
|
forkJoin(observables).subscribe({
|
5459
5468
|
next: () => {
|
@@ -9864,7 +9873,7 @@ class CubeAccumulationChartComponent {
|
|
9864
9873
|
this._elementRef = _elementRef;
|
9865
9874
|
this._session = _session;
|
9866
9875
|
this.id = `cube-accum-chart-${CubeAccumulationChartComponent.nextId++}`;
|
9867
|
-
this.theme = this._session.theme.dark ? '
|
9876
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
9868
9877
|
this.dataLabel = {
|
9869
9878
|
visible: true,
|
9870
9879
|
name: 'text',
|
@@ -9895,7 +9904,7 @@ class CubeAccumulationChartComponent {
|
|
9895
9904
|
this._destroy = new Subject();
|
9896
9905
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).
|
9897
9906
|
subscribe(t => {
|
9898
|
-
this.theme = t.dark ? '
|
9907
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
9899
9908
|
this.palettes = _session.accentPalette;
|
9900
9909
|
});
|
9901
9910
|
}
|
@@ -10176,12 +10185,12 @@ class CubeChartComponent {
|
|
10176
10185
|
enable: false,
|
10177
10186
|
lineType: 'Vertical'
|
10178
10187
|
};
|
10179
|
-
this.theme = this._session.theme.dark ? '
|
10188
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
10180
10189
|
this._intl = new Internationalization();
|
10181
10190
|
this._destroy = new Subject();
|
10182
10191
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).
|
10183
10192
|
subscribe(t => {
|
10184
|
-
this.theme = t.dark ? '
|
10193
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
10185
10194
|
this.palettes = _session.accentPalette;
|
10186
10195
|
this._draw();
|
10187
10196
|
});
|
@@ -10454,25 +10463,25 @@ class CubeGridComponent {
|
|
10454
10463
|
this._cube = this.cube ? this._session.profile.cubes.find(c => c.name === this.cube) : this._session.profile.cubes[0];
|
10455
10464
|
this.currencyCode = this._cube.currencyCode;
|
10456
10465
|
const x = this._cube.axes.find(a => a.name === this._xAxis[0]), y = this._cube.axes.find(a => a.name === this._series[0]);
|
10457
|
-
|
10458
|
-
|
10459
|
-
|
10460
|
-
|
10461
|
-
|
10462
|
-
|
10463
|
-
|
10464
|
-
|
10465
|
-
|
10466
|
-
|
10467
|
-
|
10468
|
-
|
10469
|
-
|
10470
|
-
|
10471
|
-
|
10472
|
-
|
10473
|
-
|
10474
|
-
|
10475
|
-
|
10466
|
+
// prepare
|
10467
|
+
this._ready = Promise.all([
|
10468
|
+
// aquire rows source
|
10469
|
+
firstValueFrom(this._ds.all(y.dataType)).
|
10470
|
+
then(r => {
|
10471
|
+
this._rows = r;
|
10472
|
+
const format = `${this.currencyCode ? 'c' : 'n'}${this._service.fractionDigits}`;
|
10473
|
+
this.columns = [{
|
10474
|
+
headerText: '', field: 'title',
|
10475
|
+
}];
|
10476
|
+
this._columns.forEach(c => this.columns.push({
|
10477
|
+
field: `_${c.key}`,
|
10478
|
+
headerText: c.value,
|
10479
|
+
width: 120,
|
10480
|
+
format,
|
10481
|
+
textAlign: 'Right'
|
10482
|
+
}));
|
10483
|
+
this.aggregates = [{
|
10484
|
+
columns: this._columns.map(c => ({
|
10476
10485
|
columnName: `_${c.key}`,
|
10477
10486
|
field: `_${c.key}`,
|
10478
10487
|
type: 'Custom',
|
@@ -10481,17 +10490,13 @@ class CubeGridComponent {
|
|
10481
10490
|
//\${Custom} \${/if}`,
|
10482
10491
|
format,
|
10483
10492
|
customAggregate: this.customAggregate.bind(this)
|
10484
|
-
}
|
10485
|
-
}
|
10486
|
-
|
10487
|
-
|
10488
|
-
|
10489
|
-
|
10490
|
-
|
10491
|
-
pipe(tap(r => this._rows = r));
|
10492
|
-
promises.push(observe);
|
10493
|
-
// prepare
|
10494
|
-
this._prepare = firstValueFrom(forkJoin(promises));
|
10493
|
+
}))
|
10494
|
+
}];
|
10495
|
+
}),
|
10496
|
+
// aquire columns source
|
10497
|
+
firstValueFrom(this._ds.all(x.dataType)).
|
10498
|
+
then(c => this._columns = c)
|
10499
|
+
]);
|
10495
10500
|
this.execute();
|
10496
10501
|
}
|
10497
10502
|
/** */
|
@@ -10505,28 +10510,24 @@ class CubeGridComponent {
|
|
10505
10510
|
this.loadingChange.emit(true);
|
10506
10511
|
this._service.series(this._cube.name, this._xAxis, { series: this._series, filters: this.filters, indices: this._indices }).
|
10507
10512
|
subscribe({
|
10508
|
-
next: series => {
|
10509
|
-
|
10510
|
-
|
10511
|
-
|
10512
|
-
|
10513
|
-
|
10514
|
-
rows.push(row);
|
10515
|
-
});
|
10516
|
-
this._rows.forEach(r => {
|
10517
|
-
const row = { title: r.value, key: r.key }, serie = series.find(s => s.name === r.key);
|
10518
|
-
serie &&
|
10519
|
-
this._normalize(row, serie.points);
|
10520
|
-
rows.push(row);
|
10521
|
-
});
|
10522
|
-
this.dataSource = rows;
|
10523
|
-
this._draw();
|
10524
|
-
this.loadingChange.emit(false);
|
10513
|
+
next: series => this._ready.then(() => {
|
10514
|
+
const rows = [];
|
10515
|
+
series.filter(s => s.index).forEach(s => {
|
10516
|
+
const row = { title: s.title, type: 'Index', key: s.index };
|
10517
|
+
this._normalize(row, s.points);
|
10518
|
+
rows.push(row);
|
10525
10519
|
});
|
10526
|
-
|
10527
|
-
|
10528
|
-
|
10529
|
-
|
10520
|
+
this._rows.forEach(r => {
|
10521
|
+
const row = { title: r.value, key: r.key }, serie = series.find(s => s.name === r.key);
|
10522
|
+
serie &&
|
10523
|
+
this._normalize(row, serie.points);
|
10524
|
+
rows.push(row);
|
10525
|
+
});
|
10526
|
+
this.dataSource = rows;
|
10527
|
+
this._draw();
|
10528
|
+
}),
|
10529
|
+
error: (e) => this._sb.error(errResource(e)),
|
10530
|
+
complete: () => this.loadingChange.emit(false)
|
10530
10531
|
});
|
10531
10532
|
}
|
10532
10533
|
_normalize(row, points) {
|
@@ -10539,19 +10540,23 @@ class CubeGridComponent {
|
|
10539
10540
|
_draw() {
|
10540
10541
|
this.grid && this.grid.destroy();
|
10541
10542
|
this.grid = new Grid({
|
10543
|
+
enableAdaptiveUI: isMobile(),
|
10544
|
+
enableStickyHeader: true,
|
10542
10545
|
dataSource: this.dataSource,
|
10546
|
+
enableRtl: this._session.inverse,
|
10547
|
+
locale: this._session.locale,
|
10543
10548
|
columns: this.columns,
|
10544
10549
|
enableHover: false,
|
10545
10550
|
allowExcelExport: true,
|
10546
10551
|
selectionSettings: this.selectionSettings,
|
10547
10552
|
allowSorting: false,
|
10548
10553
|
frozenColumns: 1,
|
10554
|
+
//frozenRows: this.indices ? this.indices.length : 0,
|
10549
10555
|
width: this.width,
|
10550
10556
|
//height: this.height,
|
10551
10557
|
cellSelecting: this.cellSelecting.bind(this),
|
10552
10558
|
allowPaging: false,
|
10553
10559
|
queryCellInfo: this.queryCellInfo,
|
10554
|
-
frozenRows: this.indices ? this.indices.length : 0,
|
10555
10560
|
aggregates: this.aggregates,
|
10556
10561
|
currencyCode: this.currencyCode
|
10557
10562
|
}, this._elementRef.nativeElement);
|
@@ -10688,7 +10693,7 @@ class CubePivotComponent {
|
|
10688
10693
|
this._destroy = new Subject();
|
10689
10694
|
this._session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
10690
10695
|
if (this.pivot.chart) {
|
10691
|
-
this.chartSettings.theme = t.dark ? '
|
10696
|
+
this.chartSettings.theme = t.dark ? 'Material3Dark' : 'Material3';
|
10692
10697
|
this.chartSettings.palettes = this._session.accentPalette;
|
10693
10698
|
}
|
10694
10699
|
else
|
@@ -10728,7 +10733,7 @@ class CubePivotComponent {
|
|
10728
10733
|
border: { width: 0 }
|
10729
10734
|
},
|
10730
10735
|
palettes: this.palettes,
|
10731
|
-
theme: this._session.theme.dark ? '
|
10736
|
+
theme: this._session.theme.dark ? 'Material3Dark' : 'Material3',
|
10732
10737
|
background: 'transparent',
|
10733
10738
|
primaryXAxis: {
|
10734
10739
|
titleStyle: {
|
@@ -11291,14 +11296,15 @@ class CubeSpreadsheetComponent {
|
|
11291
11296
|
this.rows.push({ cells, source: d, height: 25 });
|
11292
11297
|
});
|
11293
11298
|
}
|
11294
|
-
_dataseries(
|
11299
|
+
_dataseries(data) {
|
11295
11300
|
const style = { fontWeight: 'bold', textAlign: 'center' };
|
11296
11301
|
const cells = [{ value: '' }];
|
11297
11302
|
this._xcolumns.forEach(c => cells.push({ value: c.value, style }));
|
11298
11303
|
this.rows = [{ cells, height: 25 }];
|
11299
11304
|
this._cindices?.forEach(i => {
|
11300
|
-
const
|
11305
|
+
const series = data.find(s => s.index === i.name);
|
11301
11306
|
if (series) {
|
11307
|
+
const cells = [{ value: i.title, style }], map = {};
|
11302
11308
|
series.points.forEach(p => map[p.x] = p.y);
|
11303
11309
|
this._xcolumns.forEach(c => cells.push({
|
11304
11310
|
value: (map[c.key] || 0),
|
@@ -11309,7 +11315,7 @@ class CubeSpreadsheetComponent {
|
|
11309
11315
|
}
|
11310
11316
|
});
|
11311
11317
|
this._yrows.forEach(r => {
|
11312
|
-
const cells = [{ value: r.value, style }], serie =
|
11318
|
+
const cells = [{ value: r.value, style }], serie = data.find(s => s.name === r.key), map = {};
|
11313
11319
|
if (serie) {
|
11314
11320
|
serie.points.forEach(p => map[p.x] = p.y);
|
11315
11321
|
this._xcolumns.forEach(c => cells.push({
|
@@ -13392,11 +13398,8 @@ class ReportViewerComponent {
|
|
13392
13398
|
next: r => {
|
13393
13399
|
this._instance.onBind(r, this.args);
|
13394
13400
|
this._data = r;
|
13395
|
-
|
13396
|
-
|
13397
|
-
this._sb.error();
|
13398
|
-
this.progress = -1;
|
13399
|
-
}
|
13401
|
+
}, error: () => this._sb.error(),
|
13402
|
+
complete: () => this.progress = -1
|
13400
13403
|
})));
|
13401
13404
|
}
|
13402
13405
|
explore(item) {
|
@@ -23571,7 +23574,7 @@ let ActionsWidget = class ActionsWidget {
|
|
23571
23574
|
this._session = _session;
|
23572
23575
|
this._elementRef = _elementRef;
|
23573
23576
|
this.id = `actions-${ActionsWidget_1.nextId++}`;
|
23574
|
-
this.theme = this._session.theme.dark ? '
|
23577
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
23575
23578
|
this.palettes = this._session.accentPalette;
|
23576
23579
|
this.tooltip = {
|
23577
23580
|
enable: true,
|
@@ -23598,7 +23601,7 @@ let ActionsWidget = class ActionsWidget {
|
|
23598
23601
|
this._destroy = new Subject();
|
23599
23602
|
_session.profile.actions.forEach(a => this._map[a.name] = a.adjectivePlural || a.adjective || a.title);
|
23600
23603
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
23601
|
-
this.theme = t.dark ? '
|
23604
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
23602
23605
|
this.palettes = _session.accentPalette;
|
23603
23606
|
this.chart.theme = this.theme;
|
23604
23607
|
this.chart.series[0].palettes = this.palettes;
|
@@ -23688,7 +23691,7 @@ class CubeAnalysisBase {
|
|
23688
23691
|
this._service = _service;
|
23689
23692
|
this.id = `cube-analysis-${CubeAnalysisBase.nextId++}`;
|
23690
23693
|
this.palettes = this._session.accentPalette;
|
23691
|
-
this.theme = this._session.theme.dark ? '
|
23694
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
23692
23695
|
this._axisTypeMap = {};
|
23693
23696
|
this._intl = new Internationalization();
|
23694
23697
|
this._destroy = new Subject();
|
@@ -23703,7 +23706,7 @@ class CubeAnalysisBase {
|
|
23703
23706
|
this.yType = this._cube.yAxis?.type;
|
23704
23707
|
this._cube.axes.forEach((a) => this._axisTypeMap[a.name] = a.dataType);
|
23705
23708
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
23706
|
-
this.theme = t.dark ? '
|
23709
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
23707
23710
|
this.palettes = _session.accentPalette;
|
23708
23711
|
this.onThemeChange();
|
23709
23712
|
});
|
@@ -24347,12 +24350,12 @@ let PersonalActivityWidget = class PersonalActivityWidget {
|
|
24347
24350
|
isInversed: this._session.inverse,
|
24348
24351
|
visible: true
|
24349
24352
|
};
|
24350
|
-
this.theme = this._session.theme.dark ? '
|
24353
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
24351
24354
|
this.palettes = this._session.accentPalette;
|
24352
24355
|
this.fill = this._session.getPrimery(400);
|
24353
24356
|
this._destroy = new Subject();
|
24354
24357
|
this._session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
24355
|
-
this.theme = t.dark ? '
|
24358
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
24356
24359
|
this.palettes = this._session.accentPalette;
|
24357
24360
|
this.fill = this._session.getPrimery(400);
|
24358
24361
|
this._draw();
|
@@ -24450,7 +24453,7 @@ let CompareGroupsWidget = class CompareGroupsWidget {
|
|
24450
24453
|
this._session = _session;
|
24451
24454
|
this.id = `groups-compare-${CompareGroupsWidget_1.nextId++}`;
|
24452
24455
|
this.palettes = this._session.accentPalette;
|
24453
|
-
this.theme = this._session.theme.dark ? '
|
24456
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
24454
24457
|
this.enableRtl = this._session.inverse;
|
24455
24458
|
this.rows = [
|
24456
24459
|
{
|
@@ -24522,7 +24525,7 @@ let CompareGroupsWidget = class CompareGroupsWidget {
|
|
24522
24525
|
};
|
24523
24526
|
this._destroy = new Subject();
|
24524
24527
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
24525
|
-
this.theme = t.dark ? '
|
24528
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
24526
24529
|
this.palettes = _session.accentPalette;
|
24527
24530
|
this._draw();
|
24528
24531
|
});
|
@@ -24647,7 +24650,7 @@ let PeersPerformanceWidget = class PeersPerformanceWidget {
|
|
24647
24650
|
this._duration = _duration;
|
24648
24651
|
this._translate = _translate;
|
24649
24652
|
this.id = `peers-performance-${PeersPerformanceWidget_1.nextId++}`;
|
24650
|
-
this.theme = this._session.theme.dark ? '
|
24653
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
24651
24654
|
this.max = 0;
|
24652
24655
|
this.direction = this._dir.value === 'ltr' ? 'ClockWise' : 'AntiClockWise';
|
24653
24656
|
this.lineStyle = { width: 0 };
|
@@ -24676,7 +24679,7 @@ let PeersPerformanceWidget = class PeersPerformanceWidget {
|
|
24676
24679
|
this._destroy = new Subject();
|
24677
24680
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).
|
24678
24681
|
subscribe(t => {
|
24679
|
-
this.theme = t.dark ? '
|
24682
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
24680
24683
|
this.gauge.theme = this.theme;
|
24681
24684
|
this._prepare();
|
24682
24685
|
this._refresh();
|
@@ -24917,7 +24920,7 @@ let PersonalScoreWidget = class PersonalScoreWidget {
|
|
24917
24920
|
this._elementRef = _elementRef;
|
24918
24921
|
this._translate = _translate;
|
24919
24922
|
this.max = 0;
|
24920
|
-
this.theme = this._session.theme.dark ? '
|
24923
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
24921
24924
|
this.margin = { left: 0, top: 0, right: 0, bottom: 0 };
|
24922
24925
|
this.tooltip = {
|
24923
24926
|
rangeSettings: {
|
@@ -24931,9 +24934,12 @@ let PersonalScoreWidget = class PersonalScoreWidget {
|
|
24931
24934
|
fontFamily: FONT_FAMILY
|
24932
24935
|
},
|
24933
24936
|
enable: true,
|
24937
|
+
//annotationSettings: {
|
24938
|
+
// border: {}
|
24939
|
+
//},
|
24934
24940
|
//showAtMousePosition: true,
|
24935
24941
|
type: ['Pointer', 'Range'],
|
24936
|
-
enableAnimation:
|
24942
|
+
enableAnimation: false
|
24937
24943
|
};
|
24938
24944
|
this.lineStyle = { width: 0, color: '#1d1d1d' };
|
24939
24945
|
this.labelStyle = {
|
@@ -24959,7 +24965,7 @@ let PersonalScoreWidget = class PersonalScoreWidget {
|
|
24959
24965
|
this._destroy = new Subject();
|
24960
24966
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).
|
24961
24967
|
subscribe(t => {
|
24962
|
-
this.theme = t.dark ? '
|
24968
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
24963
24969
|
this.gauge.theme = this.theme;
|
24964
24970
|
this._prepare();
|
24965
24971
|
this._refresh();
|
@@ -25158,11 +25164,11 @@ class CubeDocumentsGridComponent {
|
|
25158
25164
|
this._destroy.complete();
|
25159
25165
|
}
|
25160
25166
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CubeDocumentsGridComponent, deps: [{ token: ReportRef }, { token: DocumentInfo }, { token: SessionService }, { token: AccountService }, { token: CubeService }], target: i0.ɵɵFactoryTarget.Component }); }
|
25161
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: CubeDocumentsGridComponent, selector: "ng-component", viewQueries: [{ propertyName: "grid", first: true, predicate: GridComponent, descendants: true }], ngImport: i0, template: "<ejs-grid [dataSource]=\"dataSource\" (rowSelected)=\"rowSelected($event)\"
|
25167
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: CubeDocumentsGridComponent, selector: "ng-component", viewQueries: [{ propertyName: "grid", first: true, predicate: GridComponent, descendants: true }], ngImport: i0, template: "<ejs-grid [dataSource]=\"dataSource\" (rowSelected)=\"rowSelected($event)\"\r\n [pageSettings]=pageSettings\r\n [allowPaging]=false\r\n [enableHover]=false\r\n [enableAdaptiveUI]=true\r\n [enableStickyHeader]=true\r\n [allowExcelExport]=true\r\n [height]=height\r\n [allowGrouping]=true\r\n [allowSorting]=true\r\n [groupSettings]=groupSettings>\r\n <e-columns>\r\n <e-column field=\"number\" [headerText]=\"'Number'|translate\"></e-column>\r\n <e-column field=\"subject\" [headerText]=\"'Subject'|translate\"></e-column>\r\n <e-column field=\"stateId\" [headerText]=\"'Status'|translate\">\r\n <ng-template #template let-data>{{data.stateId | state}}</ng-template>\r\n </e-column>\r\n <e-column field=\"date\" [headerText]=\"'Date'|translate\">\r\n <ng-template #template let-data>{{data.date | amDateFormat: 'lll'}}</ng-template>\r\n </e-column>\r\n <e-column field=\"formId\" [headerText]=\"'Form'|translate\">\r\n <ng-template #template let-data>{{data.formId | form}}</ng-template>\r\n </e-column>\r\n <e-column field=\"userName\" [headerText]=\"'Name'|translate\">\r\n </e-column>\r\n <!--<e-column *ngFor=\"let a of cube.axes\" [field]=\"a.name\" [headerText]=\"a.title|translate\">\r\n </e-column>-->\r\n <e-column field=\"total\" [headerText]=\"'Value'|translate\" textAlign=\"Right\" [format]=\"valueFormat\">\r\n </e-column>\r\n </e-columns>\r\n</ejs-grid>\r\n", dependencies: [{ kind: "directive", type: i6$5.ColumnDirective, selector: "ejs-gantt>e-columns>e-column", inputs: ["allowEditing", "allowFiltering", "allowReordering", "allowResizing", "allowSorting", "clipMode", "customAttributes", "disableHtmlEncode", "displayAsCheckBox", "edit", "editType", "field", "filter", "format", "formatter", "headerTemplate", "headerText", "headerTextAlign", "hideAtMedia", "isPrimaryKey", "maxWidth", "minWidth", "sortComparer", "template", "textAlign", "type", "validationRules", "valueAccessor", "visible", "width"] }, { kind: "directive", type: i6$5.ColumnsDirective, selector: "ejs-gantt>e-columns" }, { kind: "directive", type: i11.ColumnDirective, selector: "e-columns>e-column", inputs: ["border", "width"] }, { kind: "directive", type: i11.ColumnsDirective, selector: "ejs-chart>e-columns" }, { kind: "component", type: i8$5.GridComponent, selector: "ejs-grid", inputs: ["aggregates", "allowExcelExport", "allowFiltering", "allowGrouping", "allowKeyboard", "allowMultiSorting", "allowPaging", "allowPdfExport", "allowReordering", "allowResizing", "allowRowDragAndDrop", "allowSelection", "allowSorting", "allowTextWrap", "autoFit", "childGrid", "clipMode", "columnChooserSettings", "columnMenuItems", "columnQueryMode", "columns", "contextMenuItems", "cssClass", "currencyCode", "currentAction", "currentViewData", "dataSource", "detailTemplate", "editSettings", "ej2StatePersistenceVersion", "emptyRecordTemplate", "enableAdaptiveUI", "enableAltRow", "enableAutoFill", "enableColumnVirtualization", "enableHeaderFocus", "enableHover", "enableHtmlSanitizer", "enableImmutableMode", "enableInfiniteScrolling", "enablePersistence", "enableRtl", "enableStickyHeader", "enableVirtualMaskRow", "enableVirtualization", "exportGrids", "filterSettings", "frozenColumns", "frozenRows", "gridLines", "groupSettings", "height", "hierarchyPrintMode", "infiniteScrollSettings", "loadingIndicator", "locale", "pageSettings", "pagerTemplate", "parentDetails", "printMode", "query", "queryString", "resizeSettings", "rowDropSettings", "rowHeight", "rowRenderingMode", "rowTemplate", "searchSettings", "selectedRowIndex", "selectionSettings", "showColumnChooser", "showColumnMenu", "showHider", "sortSettings", "textWrapSettings", "toolbar", "toolbarTemplate", "width"], outputs: ["actionBegin", "actionComplete", "actionFailure", "batchAdd", "batchCancel", "batchDelete", "beforeAutoFill", "beforeBatchAdd", "beforeBatchDelete", "beforeBatchSave", "beforeCopy", "beforeDataBound", "beforeExcelExport", "beforeOpenAdaptiveDialog", "beforeOpenColumnChooser", "beforePaste", "beforePdfExport", "beforePrint", "beginEdit", "cellDeselected", "cellDeselecting", "cellEdit", "cellSave", "cellSaved", "cellSelected", "cellSelecting", "checkBoxChange", "columnDataStateChange", "columnDeselected", "columnDeselecting", "columnDrag", "columnDragStart", "columnDrop", "columnMenuClick", "columnMenuOpen", "columnSelected", "columnSelecting", "commandClick", "contextMenuClick", "contextMenuOpen", "created", "dataBound", "dataSourceChanged", "dataStateChange", "destroyed", "detailDataBound", "excelAggregateQueryCellInfo", "excelExportComplete", "excelHeaderQueryCellInfo", "excelQueryCellInfo", "exportDetailDataBound", "exportDetailTemplate", "exportGroupCaption", "headerCellInfo", "keyPressed", "lazyLoadGroupCollapse", "lazyLoadGroupExpand", "load", "pdfAggregateQueryCellInfo", "pdfExportComplete", "pdfHeaderQueryCellInfo", "pdfQueryCellInfo", "printComplete", "queryCellInfo", "recordClick", "recordDoubleClick", "resizeStart", "resizeStop", "resizing", "rowDataBound", "rowDeselected", "rowDeselecting", "rowDrag", "rowDragStart", "rowDragStartHelper", "rowDrop", "rowSelected", "rowSelecting", "toolbarClick", "dataSourceChange"] }, { kind: "directive", type: i8$5.ColumnDirective, selector: "ejs-grid>e-columns>e-column", inputs: ["allowEditing", "allowFiltering", "allowGrouping", "allowReordering", "allowResizing", "allowSearching", "allowSorting", "autoFit", "clipMode", "columns", "commands", "customAttributes", "dataSource", "defaultValue", "disableHtmlEncode", "displayAsCheckBox", "edit", "editTemplate", "editType", "enableGroupByFormat", "field", "filter", "filterBarTemplate", "filterTemplate", "foreignKeyField", "foreignKeyValue", "format", "formatter", "freeze", "headerTemplate", "headerText", "headerTextAlign", "headerValueAccessor", "hideAtMedia", "index", "isFrozen", "isIdentity", "isPrimaryKey", "lockColumn", "maxWidth", "minWidth", "showColumnMenu", "showInColumnChooser", "sortComparer", "template", "textAlign", "type", "uid", "validationRules", "valueAccessor", "visible", "width"] }, { kind: "directive", type: i8$5.ColumnsDirective, selector: "ejs-grid>e-columns" }, { kind: "directive", type: i8$5.AggregateColumnDirective, selector: "ejs-grid>e-aggregates>e-aggregate>e-columns>e-column", inputs: ["columnName", "customAggregate", "field", "footerTemplate", "format", "groupCaptionTemplate", "groupFooterTemplate", "type"] }, { kind: "directive", type: i8$5.AggregateColumnsDirective, selector: "ejs-grid>e-aggregates>e-aggregate>e-columns" }, { kind: "directive", type: i9$4.ColumnDirective, selector: "e-columns>e-column", inputs: ["customWidth", "format", "hidden", "index", "isLocked", "validation", "width"] }, { kind: "directive", type: i9$4.ColumnsDirective, selector: "e-sheet>e-columns" }, { kind: "directive", type: i10$1.ColumnDirective, selector: "e-columns>e-column", inputs: ["allowDrag", "allowDrop", "allowToggle", "headerText", "isExpanded", "keyField", "maxCount", "minCount", "showAddButton", "showItemCount", "template", "transitionColumns"] }, { kind: "directive", type: i10$1.ColumnsDirective, selector: "ejs-kanban>e-columns" }, { kind: "pipe", type: DateFormatPipe, name: "amDateFormat" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: StatePipe, name: "state" }, { kind: "pipe", type: FormPipe, name: "form" }] }); }
|
25162
25168
|
}
|
25163
25169
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CubeDocumentsGridComponent, decorators: [{
|
25164
25170
|
type: Component,
|
25165
|
-
args: [{ template: "<ejs-grid [dataSource]=\"dataSource\" (rowSelected)=\"rowSelected($event)\"
|
25171
|
+
args: [{ template: "<ejs-grid [dataSource]=\"dataSource\" (rowSelected)=\"rowSelected($event)\"\r\n [pageSettings]=pageSettings\r\n [allowPaging]=false\r\n [enableHover]=false\r\n [enableAdaptiveUI]=true\r\n [enableStickyHeader]=true\r\n [allowExcelExport]=true\r\n [height]=height\r\n [allowGrouping]=true\r\n [allowSorting]=true\r\n [groupSettings]=groupSettings>\r\n <e-columns>\r\n <e-column field=\"number\" [headerText]=\"'Number'|translate\"></e-column>\r\n <e-column field=\"subject\" [headerText]=\"'Subject'|translate\"></e-column>\r\n <e-column field=\"stateId\" [headerText]=\"'Status'|translate\">\r\n <ng-template #template let-data>{{data.stateId | state}}</ng-template>\r\n </e-column>\r\n <e-column field=\"date\" [headerText]=\"'Date'|translate\">\r\n <ng-template #template let-data>{{data.date | amDateFormat: 'lll'}}</ng-template>\r\n </e-column>\r\n <e-column field=\"formId\" [headerText]=\"'Form'|translate\">\r\n <ng-template #template let-data>{{data.formId | form}}</ng-template>\r\n </e-column>\r\n <e-column field=\"userName\" [headerText]=\"'Name'|translate\">\r\n </e-column>\r\n <!--<e-column *ngFor=\"let a of cube.axes\" [field]=\"a.name\" [headerText]=\"a.title|translate\">\r\n </e-column>-->\r\n <e-column field=\"total\" [headerText]=\"'Value'|translate\" textAlign=\"Right\" [format]=\"valueFormat\">\r\n </e-column>\r\n </e-columns>\r\n</ejs-grid>\r\n" }]
|
25166
25172
|
}], ctorParameters: () => [{ type: ReportRef }, { type: DocumentInfo }, { type: SessionService }, { type: AccountService }, { type: CubeService }], propDecorators: { grid: [{
|
25167
25173
|
type: ViewChild,
|
25168
25174
|
args: [GridComponent]
|
@@ -25337,7 +25343,7 @@ class UsageChartComponent extends UsageReportBase {
|
|
25337
25343
|
view: 'Chart'
|
25338
25344
|
};
|
25339
25345
|
this._session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
25340
|
-
this.chartSettings.theme = t.dark ? '
|
25346
|
+
this.chartSettings.theme = t.dark ? 'Material3Dark' : 'Material3';
|
25341
25347
|
this.chartSettings.palettes = this._palettes();
|
25342
25348
|
this._draw();
|
25343
25349
|
});
|
@@ -25373,7 +25379,7 @@ class UsageChartComponent extends UsageReportBase {
|
|
25373
25379
|
chartArea: {
|
25374
25380
|
border: { width: 0 }
|
25375
25381
|
},
|
25376
|
-
theme: this._session.theme.dark ? '
|
25382
|
+
theme: this._session.theme.dark ? 'Material3Dark' : 'Material3',
|
25377
25383
|
background: 'transparent',
|
25378
25384
|
primaryXAxis: {
|
25379
25385
|
titleStyle: {
|
@@ -28814,7 +28820,7 @@ class CubeParallelComponent {
|
|
28814
28820
|
this._service = _service;
|
28815
28821
|
this._session = _session;
|
28816
28822
|
this.onExplore = new EventEmitter();
|
28817
|
-
this.theme = this._session.theme.dark ? '
|
28823
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
28818
28824
|
this._palettes = this._session.accentPalette;
|
28819
28825
|
this.items = [];
|
28820
28826
|
this.axisSettings = {
|
@@ -28838,7 +28844,7 @@ class CubeParallelComponent {
|
|
28838
28844
|
ngOnInit() {
|
28839
28845
|
this._session.themeChange.pipe(takeUntil$1(this._destroy)).
|
28840
28846
|
subscribe(t => {
|
28841
|
-
this.theme = t.dark ? '
|
28847
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
28842
28848
|
this._primary = this._session.primeryPalette;
|
28843
28849
|
this._palettes = this._session.accentPalette;
|
28844
28850
|
this._draw();
|
@@ -29070,7 +29076,7 @@ let CubePerformanceWidget = class CubePerformanceWidget {
|
|
29070
29076
|
this._session = _session;
|
29071
29077
|
this.id = `cube-compare-${CubePerformanceWidget_1.nextId++}`;
|
29072
29078
|
this.palettes = this._session.accentPalette;
|
29073
|
-
this.theme = this._session.theme.dark ? '
|
29079
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
29074
29080
|
this.enableRtl = this._session.inverse;
|
29075
29081
|
this.rows = [
|
29076
29082
|
{
|
@@ -29146,7 +29152,7 @@ let CubePerformanceWidget = class CubePerformanceWidget {
|
|
29146
29152
|
};
|
29147
29153
|
this._destroy = new Subject();
|
29148
29154
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
29149
|
-
this.theme = t.dark ? '
|
29155
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
29150
29156
|
this.palettes = _session.accentPalette;
|
29151
29157
|
this._draw();
|
29152
29158
|
});
|
@@ -29482,12 +29488,12 @@ let DocumentStateWidgetComponent = class DocumentStateWidgetComponent {
|
|
29482
29488
|
fontFamily: FONT_FAMILY
|
29483
29489
|
}
|
29484
29490
|
};
|
29485
|
-
this.theme = this._session.theme.dark ? '
|
29491
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
29486
29492
|
this.palettes = this._session.accentPalette;
|
29487
29493
|
this._destroy = new Subject();
|
29488
29494
|
_session.themeChange.pipe(takeUntil(this._destroy)).
|
29489
29495
|
subscribe(t => {
|
29490
|
-
this.theme = t.dark ? '
|
29496
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
29491
29497
|
this.palettes = _session.accentPalette;
|
29492
29498
|
});
|
29493
29499
|
}
|
@@ -31170,7 +31176,7 @@ let DocumentTraceComponent = class DocumentTraceComponent {
|
|
31170
31176
|
this._guide = _guide;
|
31171
31177
|
this._cd = _cd;
|
31172
31178
|
this._fb = _fb;
|
31173
|
-
this.theme = this._session.theme.dark ? '
|
31179
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
31174
31180
|
this.accent = this._session.getAccent();
|
31175
31181
|
this.form = this._fb.group({ search: null, formId: null });
|
31176
31182
|
this.diagramConstraints = DiagramConstraints.Default | DiagramConstraints.Bridging |
|
@@ -31244,7 +31250,7 @@ let DocumentTraceComponent = class DocumentTraceComponent {
|
|
31244
31250
|
ngOnInit() {
|
31245
31251
|
const now = dayjs();
|
31246
31252
|
this._session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
31247
|
-
this.theme = t.dark ? '
|
31253
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
31248
31254
|
this.accent = this._session.getAccent();
|
31249
31255
|
//this.rangeNavigator.refresh();
|
31250
31256
|
});
|
@@ -32431,13 +32437,13 @@ let ProfilerComponent = class ProfilerComponent {
|
|
32431
32437
|
height: 10
|
32432
32438
|
};
|
32433
32439
|
this.palettes = this._session.accentPalette;
|
32434
|
-
this.theme = this._session.theme.dark ? '
|
32440
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
32435
32441
|
this.cols = 2;
|
32436
32442
|
this._destroy = new Subject();
|
32437
32443
|
this.separatorKeysCodes = [ENTER, COMMA, SEMICOLON];
|
32438
32444
|
this.cols = 2;
|
32439
32445
|
_session.themeChange.pipe(takeUntil$1(this._destroy)).subscribe(t => {
|
32440
|
-
this.theme = t.dark ? '
|
32446
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
32441
32447
|
this.palettes = _session.accentPalette;
|
32442
32448
|
});
|
32443
32449
|
}
|
@@ -33665,7 +33671,7 @@ class FormDesignComponent extends DesignerTypeElementComponent {
|
|
33665
33671
|
description: null,
|
33666
33672
|
cubes: null
|
33667
33673
|
});
|
33668
|
-
this.theme = this._session.theme.dark ? '
|
33674
|
+
this.theme = this._session.theme.dark ? 'Material3Dark' : 'Material3';
|
33669
33675
|
this.axisSettings = {
|
33670
33676
|
lineSettings: {
|
33671
33677
|
opacity: .5,
|
@@ -33691,7 +33697,7 @@ class FormDesignComponent extends DesignerTypeElementComponent {
|
|
33691
33697
|
this.locale = _session.language;
|
33692
33698
|
this._session.themeChange.pipe(takeUntil(this._destroy)).
|
33693
33699
|
subscribe(t => {
|
33694
|
-
this.theme = t.dark ? '
|
33700
|
+
this.theme = t.dark ? 'Material3Dark' : 'Material3';
|
33695
33701
|
this.primary = this._session.getPrimery();
|
33696
33702
|
});
|
33697
33703
|
}
|