@bizdoc/core 1.13.34 → 1.13.38

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.
Files changed (60) hide show
  1. package/assets/themes/brown.min.css +0 -2
  2. package/assets/themes/dark.min.css +3 -5
  3. package/assets/themes/deep-purple-light-blue.min.css +0 -2
  4. package/assets/themes/deep-purple-teal.min.css +0 -2
  5. package/assets/themes/default.min.css +0 -2
  6. package/assets/themes/green.min.css +0 -2
  7. package/assets/themes/indigo.min.css +0 -2
  8. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +4 -4
  9. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +52 -19
  10. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +16 -13
  11. package/esm2020/lib/chat/chat-info.mjs +2 -3
  12. package/esm2020/lib/chat/conversation.component.mjs +2 -2
  13. package/esm2020/lib/chat/conversation.pane.component.mjs +11 -2
  14. package/esm2020/lib/compose/action/assign-action.component.mjs +19 -43
  15. package/esm2020/lib/compose/trace/flow.component.mjs +46 -32
  16. package/esm2020/lib/compose/trace/trace.component.mjs +8 -12
  17. package/esm2020/lib/core/controls/auto-complete.input.mjs +3 -2
  18. package/esm2020/lib/core/models.mjs +1 -1
  19. package/esm2020/lib/core/slots/slots.component.mjs +2 -2
  20. package/esm2020/lib/core/translations.mjs +11 -7
  21. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +2 -1
  22. package/esm2020/lib/dashboard/cube/compare.widget.mjs +6 -5
  23. package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +206 -0
  24. package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +2 -2
  25. package/esm2020/lib/dashboard/score/pending-results.widget.mjs +5 -9
  26. package/esm2020/lib/home/home.desktop.component.mjs +4 -4
  27. package/esm2020/lib/modules/chart.module.mjs +10 -10
  28. package/esm2020/lib/modules/circular-gauge.module.mjs +1 -1
  29. package/esm2020/lib/modules/dayjs.module.mjs +41 -0
  30. package/esm2020/lib/modules/diagram.module.mjs +1 -1
  31. package/esm2020/lib/modules/gantt.module.mjs +4 -3
  32. package/esm2020/lib/modules/pivot.module.mjs +1 -1
  33. package/esm2020/lib/reports/cube/usage-base.mjs +2 -2
  34. package/esm2020/lib/reports/cube/usage-chart.component.mjs +11 -7
  35. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +21 -3
  36. package/esm2020/lib/reports/report.mobile.component.mjs +3 -3
  37. package/esm2020/lib/reports/report.pane.component.mjs +3 -3
  38. package/esm2020/lib/shared.module.mjs +14 -32
  39. package/esm2020/lib/system.module.mjs +2 -1
  40. package/esm2020/public-api.mjs +2 -2
  41. package/fesm2015/bizdoc-core.mjs +423 -343
  42. package/fesm2015/bizdoc-core.mjs.map +1 -1
  43. package/fesm2020/bizdoc-core.mjs +423 -344
  44. package/fesm2020/bizdoc-core.mjs.map +1 -1
  45. package/lib/admin/form/workflow/workflow.component.d.ts +9 -6
  46. package/lib/compose/action/assign-action.component.d.ts +3 -9
  47. package/lib/core/models.d.ts +1 -0
  48. package/lib/core/translations.d.ts +6 -2
  49. package/lib/dashboard/score/{compare-departments.widget.d.ts → compare-groups.widget.d.ts} +3 -3
  50. package/lib/dashboard/score/pending-results.widget.d.ts +0 -1
  51. package/lib/home/home.desktop.component.d.ts +1 -1
  52. package/lib/modules/chart.module.d.ts +1 -1
  53. package/lib/modules/dayjs.module.d.ts +6 -0
  54. package/lib/reports/cube/usage-base.d.ts +1 -1
  55. package/lib/reports/cube/usage-pivot.component.d.ts +5 -1
  56. package/lib/shared.module.d.ts +21 -19
  57. package/lib/system.module.d.ts +1 -0
  58. package/package.json +1 -1
  59. package/public-api.d.ts +1 -1
  60. package/esm2020/lib/dashboard/score/compare-departments.widget.mjs +0 -206
@@ -1,5 +1,5 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { SymbolPaletteComponent, DiagramConstraints, ToolBase, ConnectorModel, DiagramComponent, ScrollSettingsModel, NodeModel, SymbolInfo, IDragEnterEventArgs, SnapSettingsModel, MarginModel, PaletteModel, Segments, DiagramTools, SelectorModel, RulerSettingsModel, AlignmentOptions } from '@syncfusion/ej2-angular-diagrams';
1
+ import { OnDestroy, ElementRef, OnInit, AfterViewInit } from '@angular/core';
2
+ import { DiagramConstraints, ToolBase, ConnectorModel, ScrollSettingsModel, Diagram, NodeModel, SymbolInfo, IDragEnterEventArgs, SnapSettingsModel, MarginModel, PaletteModel, Segments, DiagramTools, SelectorModel, RulerSettingsModel, AlignmentOptions, SymbolPalette } from '@syncfusion/ej2-diagrams';
3
3
  import { SessionService } from '../../../core/session.service';
4
4
  import { FormService } from '../form.service';
5
5
  import { PromptService } from '../../../core/prompt.service';
@@ -8,20 +8,21 @@ import { PaneRef } from '../../../core/slots/pane-ref';
8
8
  import { PanesRouter } from '../../../core/slots/router.service';
9
9
  import { AdminComponent } from '../../admin-dismiss.service';
10
10
  import * as i0 from "@angular/core";
11
- export declare class WorkflowComponent implements OnDestroy, AdminComponent {
11
+ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestroy, AdminComponent {
12
12
  private ps;
13
13
  private _service;
14
14
  private _pane;
15
15
  private _router;
16
16
  private _session;
17
17
  private _translate;
18
- symbolPalette: SymbolPaletteComponent;
19
- diagram: DiagramComponent;
18
+ symbolPalette: SymbolPalette;
19
+ diagram: Diagram;
20
+ symbolPaletteEl: ElementRef;
21
+ diagramEl: ElementRef;
20
22
  tools: boolean;
21
23
  connectorType: Segments;
22
24
  alignment: AlignmentOptions;
23
25
  fontSize: number;
24
- getCustomTool: any;
25
26
  getTool(action: string): ToolBase;
26
27
  saving: boolean;
27
28
  element?: any;
@@ -41,6 +42,8 @@ export declare class WorkflowComponent implements OnDestroy, AdminComponent {
41
42
  private readonly _destroy;
42
43
  /** workflow ctor */
43
44
  constructor(ps: PromptService, _service: FormService, _pane: PaneRef<WorkflowComponent>, _router: PanesRouter, _session: SessionService, _translate: TranslateService);
45
+ ngOnInit(): void;
46
+ ngAfterViewInit(): void;
44
47
  diagramCreate(): void;
45
48
  private _palettes;
46
49
  private _versionNode;
@@ -11,25 +11,19 @@ export declare class AssignActionComponent implements ArgumentsComponent, OnInit
11
11
  private _fb;
12
12
  private _session;
13
13
  private _accounts;
14
- readonly separatorKeysCodes: number[];
15
14
  nameInput: ElementRef<HTMLInputElement>;
16
15
  readonly form: import("@angular/forms").FormGroup;
17
- readonly userIds: import("@angular/forms").FormControl;
16
+ readonly userId: import("@angular/forms").FormControl;
18
17
  users$: Observable<UserInfo[]>;
19
18
  private _destroy;
20
19
  constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
20
+ displayWith: (e: UserInfo) => string;
21
21
  ngOnInit(): void;
22
22
  /**
23
23
  *
24
- * @param inp
25
24
  * @param event
26
25
  */
27
- userSelected(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void;
28
- /**
29
- *
30
- * @param id
31
- */
32
- removed(id: string): void;
26
+ userSelected(event: MatAutocompleteSelectedEvent): void;
33
27
  ngOnDestroy(): void;
34
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AssignActionComponent, never>;
35
29
  static ɵcmp: i0.ɵɵComponentDeclaration<AssignActionComponent, "ng-component", never, {}, {}, never, never>;
@@ -119,6 +119,7 @@ export interface Log {
119
119
  note?: string;
120
120
  state?: string;
121
121
  action?: string;
122
+ escalated?: boolean;
122
123
  sourceId?: string;
123
124
  targetId?: string;
124
125
  duration?: number;
@@ -196,7 +196,8 @@ export declare const STRINGS: {
196
196
  YouSubmittedNote: string;
197
197
  SubmittedNote: string;
198
198
  SubmittedNoteBy: string;
199
- SubmittedNoteByYou: string;
199
+ SubmittedNoteYouBy: string;
200
+ YouSubmittedNoteBy: string;
200
201
  Today: string;
201
202
  Yesterday: string;
202
203
  Forget: string;
@@ -739,10 +740,13 @@ export declare const STRINGS: {
739
740
  SubmittedNoteMale: string;
740
741
  SubmittedNoteFemale: string;
741
742
  YouSubmittedNote: string;
743
+ SubmittedNoteYouBy: string;
744
+ SubmittedNoteYouByMale: string;
745
+ SubmittedNoteYouByFemale: string;
742
746
  SubmittedNoteBy: string;
743
747
  SubmittedNoteByMale: string;
744
748
  SubmittedNoteByFemale: string;
745
- SubmittedNoteByYou: string;
749
+ YouSubmittedNoteBy: string;
746
750
  Today: string;
747
751
  Yesterday: string;
748
752
  SomeoneTyping: string;
@@ -6,7 +6,7 @@ import { SessionService } from "../../core/session.service";
6
6
  import { WidgetRef } from "../widget-ref";
7
7
  import * as i0 from "@angular/core";
8
8
  /** */
9
- export declare class CompareDepartmentsWidget implements WidgetComponent<Department[]>, OnDestroy {
9
+ export declare class CompareGroupsWidget implements WidgetComponent<Department[]>, OnDestroy {
10
10
  private _translate;
11
11
  private _elementRef;
12
12
  private _session;
@@ -36,8 +36,8 @@ export declare class CompareDepartmentsWidget implements WidgetComponent<Departm
36
36
  sharedTooltipRender(evt: ISharedTooltipRenderEventArgs): void;
37
37
  private _prepare;
38
38
  ngOnDestroy(): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<CompareDepartmentsWidget, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<CompareDepartmentsWidget, "ng-component", never, {}, {}, never, never>;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompareGroupsWidget, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompareGroupsWidget, "ng-component", never, {}, {}, never, never>;
41
41
  }
42
42
  interface Department {
43
43
  points: Point[];
@@ -12,7 +12,6 @@ export declare class PendingResultsWidget implements WidgetComponent<DataModel[]
12
12
  private readonly _destroy;
13
13
  constructor(ref: WidgetRef);
14
14
  onBind(data: DataModel[]): void;
15
- asDays(seconds: number): string;
16
15
  ngOnDestroy(): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PendingResultsWidget, never>;
18
17
  static ɵcmp: i0.ɵɵComponentDeclaration<PendingResultsWidget, "bizdoc-pending-results", never, {}, {}, never, never>;
@@ -12,7 +12,7 @@ import { HomeBase } from './home-base.component';
12
12
  import { MailboxService } from '../core/mailbox.service';
13
13
  import { PromptService } from '../core/prompt.service';
14
14
  import * as i0 from "@angular/core";
15
- /** home comp */
15
+ /** desktop home comp */
16
16
  export declare class HomeComponent extends HomeBase {
17
17
  private _router;
18
18
  private _mailbox;
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "@syncfusion/ej2-angular-charts";
3
3
  export declare class SyncfusionChartModule {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<SyncfusionChartModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<SyncfusionChartModule, never, [typeof i1.ChartModule, typeof i1.AccumulationChartAllModule, typeof i1.SparklineAllModule], [typeof i1.ChartModule, typeof i1.AccumulationChartAllModule, typeof i1.SparklineAllModule]>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SyncfusionChartModule, never, [typeof i1.ChartModule, typeof i1.AccumulationChartAllModule, typeof i1.SparklineAllModule, typeof i1.RangeNavigatorModule], [typeof i1.ChartModule, typeof i1.AccumulationChartAllModule, typeof i1.SparklineAllModule, typeof i1.RangeNavigatorModule]>;
6
6
  static ɵinj: i0.ɵɵInjectorDeclaration<SyncfusionChartModule>;
7
7
  }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DayJsModule {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<DayJsModule, never>;
4
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DayJsModule, never, never, never>;
5
+ static ɵinj: i0.ɵɵInjectorDeclaration<DayJsModule>;
6
+ }
@@ -28,7 +28,7 @@ export declare abstract class UsageReportBase implements ReportComponent<Item, A
28
28
  protected readonly _cube: Cube;
29
29
  protected readonly _indices: CubeIndex[];
30
30
  protected readonly _yTitle: string;
31
- protected readonly _collapse: boolean;
31
+ protected readonly _expandAll: boolean;
32
32
  readonly currencyCode: string;
33
33
  height: string;
34
34
  width: string;
@@ -5,6 +5,7 @@ import { ExcelQueryCellInfoEventArgs } from "@syncfusion/ej2-grids";
5
5
  import { ConditionalFormatSettingsModel } from "@syncfusion/ej2-pivotview/src/pivotview/model/datasourcesettings-model";
6
6
  import { DataSourceSettingsModel } from "@syncfusion/ej2-pivotview/src/pivotview/model/datasourcesettings-model";
7
7
  import { GridSettingsModel } from "@syncfusion/ej2-pivotview/src/pivotview/model/gridsettings-model";
8
+ import { Tooltip } from '@syncfusion/ej2-popups';
8
9
  import { SessionService } from "../../core/session.service";
9
10
  import { TranslateService } from "../../core/translate.service";
10
11
  import { DatasourceService } from "../../core/datasource.service";
@@ -24,6 +25,7 @@ export declare class UsagePivotComponent extends UsageReportBase {
24
25
  private _xAxis;
25
26
  dataSourceSettings: DataSourceSettingsModel;
26
27
  hyperlinkSettings: HyperlinkSettingsModel;
28
+ tooltip: Tooltip;
27
29
  readonly gridSettings: GridSettingsModel;
28
30
  readonly conditionalFormatSettings: ConditionalFormatSettingsModel[];
29
31
  readonly groupingBarSettings: GroupingBarSettingsModel;
@@ -46,17 +48,19 @@ export declare class UsagePivotComponent extends UsageReportBase {
46
48
  */
47
49
  private _decorate;
48
50
  private _draw;
51
+ dataBound(_: any): void;
49
52
  /**
50
53
  *
51
54
  * @param evt
52
55
  */
53
56
  cellClick(evt: HyperCellClickEventArgs): void;
54
57
  /**
55
- * reverse engineering axes from headers
58
+ * reverse engineer axes from headers
56
59
  * @param columnHeaders
57
60
  * @param rowHeaders
58
61
  */
59
62
  private _pivotAxes;
63
+ ngOnDestroy(): void;
60
64
  static ɵfac: i0.ɵɵFactoryDeclaration<UsagePivotComponent, never>;
61
65
  static ɵcmp: i0.ɵɵComponentDeclaration<UsagePivotComponent, "ng-component", never, {}, {}, never, never>;
62
66
  }
@@ -153,7 +153,7 @@ import * as i149 from "./compose/version-compare/version-compare.component";
153
153
  import * as i150 from "./cube/explore/document-item.component";
154
154
  import * as i151 from "./reports/tasks/tasks.component";
155
155
  import * as i152 from "./dashboard/score/pending-results.widget";
156
- import * as i153 from "./dashboard/score/compare-departments.widget";
156
+ import * as i153 from "./dashboard/score/compare-groups.widget";
157
157
  import * as i154 from "./reports/cube/table-documents.component";
158
158
  import * as i155 from "./dashboard/cube/documents.widget";
159
159
  import * as i156 from "./dashboard/score/personal-score.widget";
@@ -164,26 +164,28 @@ import * as i160 from "./reports/cube/usage-chart.component";
164
164
  import * as i161 from "./reports/cube/usage-args.component";
165
165
  import * as i162 from "./core/tagging/emoji.component";
166
166
  import * as i163 from "./core/popup/tooltip.directive";
167
- import * as i164 from "@angular/common";
168
- import * as i165 from "@angular/common/http";
169
- import * as i166 from "@angular/forms";
170
- import * as i167 from "@angular/flex-layout";
171
- import * as i168 from "@angular/router";
172
- import * as i169 from "@ctrl/ngx-emoji-mart";
173
- import * as i170 from "./modules/gantt.module";
174
- import * as i171 from "./modules/schedule.module";
175
- import * as i172 from "./modules/circular-gauge.module";
176
- import * as i173 from "./modules/chart.module";
177
- import * as i174 from "./modules/grid.module";
178
- import * as i175 from "./modules/texteditor.module";
179
- import * as i176 from "./modules/spreadsheet.module";
180
- import * as i177 from "./modules/pivot.module";
181
- import * as i178 from "@syncfusion/ej2-angular-kanban";
182
- import * as i179 from "./modules/diagram.module";
183
- import * as i180 from "./modules/material.module";
167
+ import * as i164 from "./modules/dayjs.module";
168
+ import * as i165 from "@angular/common";
169
+ import * as i166 from "@angular/common/http";
170
+ import * as i167 from "@angular/forms";
171
+ import * as i168 from "@angular/flex-layout";
172
+ import * as i169 from "@angular/router";
173
+ import * as i170 from "@ctrl/ngx-emoji-mart";
174
+ import * as i171 from "./modules/gantt.module";
175
+ import * as i172 from "./modules/schedule.module";
176
+ import * as i173 from "./modules/circular-gauge.module";
177
+ import * as i174 from "./modules/chart.module";
178
+ import * as i175 from "./modules/grid.module";
179
+ import * as i176 from "./modules/texteditor.module";
180
+ import * as i177 from "./modules/spreadsheet.module";
181
+ import * as i178 from "./modules/pivot.module";
182
+ import * as i179 from "@syncfusion/ej2-angular-kanban";
183
+ import * as i180 from "./modules/diagram.module";
184
+ import * as i181 from "./modules/material.module";
185
+ /** common BizDoc components */
184
186
  export declare class SharedModule {
185
187
  static forChild(config?: SharedConfig): ModuleWithProviders<SharedModule>;
186
188
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
187
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.CubeCompareWidget, typeof i2.CubeUsageComponent, typeof i3.CubeDocumentsComponent, typeof i4.FileInput, typeof i5.DateFormatPipe, typeof i6.CalendarPipe, typeof i7.DifferencePipe, typeof i8.DurationPipe, typeof i9.TimeAgoPipe, typeof i10.CheckboxComponent, typeof i11.CubeParallelComponent, typeof i12.CubeSumComponent, typeof i13.CubeParallelViewComponent, typeof i14.CubeChartViewComponent, typeof i15.CubeExploreViewComponent, typeof i16.CubeDocumentSumComponent, typeof i17.ExploreItemImplComponent, typeof i18.DocumentInfoComponent, typeof i19.DocumentViewsComponent, typeof i20.ViewItemComponent, typeof i21.CubeDocumentMatrixComponent, typeof i22.CubeDocumentViewComponent, typeof i23.CubePivotViewComponent, typeof i24.ActionPicker, typeof i25.HtmlSimplePipe, typeof i26.QuickCommentComponent, typeof i27.DurationFormatPipe, typeof i28.CombinationPicker, typeof i29.CombinationPickerBody, typeof i30.CombinationPool, typeof i31.TimelineViewComponent, typeof i32.MatIconAnimate, typeof i33.DateRangePipe, typeof i33.AgoPipe, typeof i34.ColorPicker, typeof i35.StateDirective, typeof i36.BrokenPage, typeof i37.JoinPipe, typeof i38.TimePicker, typeof i39.TypeValuePipe, typeof i40.TypeSelect, typeof i41.TypeAutocomplete, typeof i42.TranslatePipe, typeof i43.IdentityName, typeof i44.SanitizeHtmlPipe, typeof i45.AceInput, typeof i46.TimespanInput, typeof i47.AddressInput, typeof i48.StatePipe, typeof i49.ActionPipe, typeof i50.RolePipe, typeof i51.FormPipe, typeof i52.FilterPipe, typeof i52.ArraySortPipe, typeof i53.UserNamePipe, typeof i54.LayoutComponent, typeof i55.HtmlField, typeof i56.FileField, typeof i57.NumericField, typeof i58.AutocompleteField, typeof i59.CheckField, typeof i60.DateField, typeof i61.DateRangeField, typeof i62.ExpressionField, typeof i63.InputField, typeof i64.SelectField, typeof i65.SwitchField, typeof i66.TextareaField, typeof i67.TimespanField, typeof i68.ReturnActionComponent, typeof i69.AssignActionComponent, typeof i70.MoveToActionComponent, typeof i71.AvatarComponent, typeof i72.PeopleComponent, typeof i73.EditInputComponent, typeof i74.NgxComponentOutlet, typeof i36.BizDocApp, typeof i75.LottieAnimation, typeof i25.ContactsComponent, typeof i76.CubeMatrixComponent, typeof i77.FilterTagsComponent, typeof i78.ExploreItemsComponent, typeof i79.CompareNameDirective, typeof i79.CompareGroupDirective, typeof i79.CompareContextDirective, typeof i80.GuideComponent, typeof i81.OutOfOfficeToast, typeof i82.NotificationsTableComponent, typeof i83.NotificationsFilterComponent, typeof i84.TaggingPipe, typeof i85.PrivilegeHiddenDirective, typeof i86.TaggingItemDirective, typeof i87.TaggingDirective, typeof i88.DocumentTaggingComponent, typeof i89.UserTaggingComponent, typeof i85.PrivilegeDisabledDirective, typeof i90.CubeDocumentsGridComponent, typeof i91.LongRunningTaskNotification, typeof i92.TaggedNotification, typeof i93.CommentedNotification, typeof i94.NudgeNotification, typeof i95.TextNotification, typeof i96.CubeAnomalyNotification, typeof i97.EscalatedNotification, typeof i98.LikedNotification, typeof i99.StateChangedNotification, typeof i100.UpcomingEventNotification, typeof i101.NoneComponent, typeof i102.ScheduleViewComponent, typeof i103.OptionsComponent, typeof i104.TraceViewComponent, typeof i105.ProgressDirective, typeof i106.AttachmentsComponent, typeof i107.DocumentEventsComponent, typeof i108.TagsComponent, typeof i109.MapComponent, typeof i110.MaskComponent, typeof i111.SaveChangesDialog, typeof i112.FlowViewComponent, typeof i113.SubstitutionComponent, typeof i114.PopupComponent, typeof i115.AttachmentPreview, typeof i116.CommentsComponent, typeof i117.CommentComponent, typeof i118.EditCommentComponent, typeof i119.CommentLikesComponent, typeof i120.CommentEditsComponent, typeof i121.BrowseItemsComponent, typeof i122.BrowseFilterComponent, typeof i123.ExpandedItemComponent, typeof i124.ComposeFormComponent, typeof i125.CubeViewComponent, typeof i126.CubeFilterComponent, typeof i127.CubeAccumulationChartComponent, typeof i128.CubeChartComponent, typeof i129.CubePivotComponent, typeof i130.CubeSpreadsheetComponent, typeof i131.CubeGridComponent, typeof i132.ReportViewerComponent, typeof i133.TableViewComponent, typeof i134.ReportArgumentsComponent, typeof i135.DashboardComponent, typeof i136.WidgetItemComponent, typeof i137.CubeWidgetFilterComponent, typeof i138.CubeAccumAnalysisWidget, typeof i139.CubeAnalysisWidget, typeof i140.CubeChartAnalysisWidget, typeof i141.ActionsWidget, typeof i142.RecentsWidget, typeof i143.AskDialog, typeof i144.AboutDialog, typeof i145.ActionDialog, typeof i146.ImpersonateDialog, typeof i147.ConversationComponent, typeof i148.CubeMatrixPopupComponent, typeof i149.VersionCompareComponent, typeof i150.ExploreDocumentComponent, typeof i151.TasksComponent, typeof i152.PendingResultsWidget, typeof i153.CompareDepartmentsWidget, typeof i154.CubeDocumentsTableComponent, typeof i155.CubeDocumentsWidget, typeof i156.PersonalScoreWidget, typeof i157.PersonalActivityWidget, typeof i158.PeersPerformanceWidget, typeof i159.UsagePivotComponent, typeof i160.UsageChartComponent, typeof i161.UsageReportArgs, typeof i162.EmojiHostComponent, typeof i163.TooltipDirective, typeof i163.TooltipComponent], [typeof i164.CommonModule, typeof i165.HttpClientModule, typeof i166.ReactiveFormsModule, typeof i167.FlexLayoutModule, typeof i168.RouterModule, typeof i169.PickerModule, typeof i170.SyncfusionGanttModule, typeof i171.SyncfusionScheduleModule, typeof i172.SyncfusionCircularGaugeModule, typeof i173.SyncfusionChartModule, typeof i170.SyncfusionGanttModule, typeof i174.SyncfusionGridModule, typeof i175.SyncfusionTextEditorModule, typeof i176.SyncfusionSpreadsheetModule, typeof i177.SyncfusionPivotModule, typeof i178.KanbanModule, typeof i179.SyncfusionDiagramModule, typeof i180.MaterialModule], [typeof i4.FileInput, typeof i77.FilterTagsComponent, typeof i5.DateFormatPipe, typeof i6.CalendarPipe, typeof i7.DifferencePipe, typeof i8.DurationPipe, typeof i9.TimeAgoPipe, typeof i10.CheckboxComponent, typeof i11.CubeParallelComponent, typeof i12.CubeSumComponent, typeof i17.ExploreItemImplComponent, typeof i18.DocumentInfoComponent, typeof i19.DocumentViewsComponent, typeof i135.DashboardComponent, typeof i108.TagsComponent, typeof i26.QuickCommentComponent, typeof i180.MaterialModule, typeof i116.CommentsComponent, typeof i36.BrokenPage, typeof i145.ActionDialog, typeof i122.BrowseFilterComponent, typeof i126.CubeFilterComponent, typeof i102.ScheduleViewComponent, typeof i132.ReportViewerComponent, typeof i136.WidgetItemComponent, typeof i125.CubeViewComponent, typeof i78.ExploreItemsComponent, typeof i124.ComposeFormComponent, typeof i121.BrowseItemsComponent, typeof i82.NotificationsTableComponent, typeof i24.ActionPicker, typeof i147.ConversationComponent, typeof i35.StateDirective, typeof i25.ContactsComponent, typeof i76.CubeMatrixComponent, typeof i27.DurationFormatPipe, typeof i28.CombinationPicker, typeof i30.CombinationPool, typeof i38.TimePicker, typeof i163.TooltipDirective, typeof i33.DateRangePipe, typeof i74.NgxComponentOutlet, typeof i32.MatIconAnimate, typeof i45.AceInput, typeof i37.JoinPipe, typeof i39.TypeValuePipe, typeof i40.TypeSelect, typeof i41.TypeAutocomplete, typeof i48.StatePipe, typeof i49.ActionPipe, typeof i50.RolePipe, typeof i51.FormPipe, typeof i52.FilterPipe, typeof i52.ArraySortPipe, typeof i53.UserNamePipe, typeof i44.SanitizeHtmlPipe, typeof i42.TranslatePipe, typeof i43.IdentityName, typeof i47.AddressInput, typeof i71.AvatarComponent, typeof i134.ReportArgumentsComponent, typeof i36.BizDocApp, typeof i115.AttachmentPreview, typeof i85.PrivilegeHiddenDirective, typeof i85.PrivilegeDisabledDirective, typeof i79.CompareGroupDirective, typeof i79.CompareNameDirective, typeof i79.CompareContextDirective, typeof i104.TraceViewComponent, typeof i112.FlowViewComponent, typeof i69.AssignActionComponent, typeof i68.ReturnActionComponent, typeof i150.ExploreDocumentComponent, typeof i1.CubeCompareWidget, typeof i141.ActionsWidget, typeof i139.CubeAnalysisWidget, typeof i155.CubeDocumentsWidget, typeof i142.RecentsWidget, typeof i157.PersonalActivityWidget, typeof i153.CompareDepartmentsWidget, typeof i158.PeersPerformanceWidget, typeof i152.PendingResultsWidget, typeof i156.PersonalScoreWidget, typeof i137.CubeWidgetFilterComponent, typeof i154.CubeDocumentsTableComponent, typeof i90.CubeDocumentsGridComponent, typeof i151.TasksComponent, typeof i161.UsageReportArgs, typeof i160.UsageChartComponent, typeof i159.UsagePivotComponent, typeof i46.TimespanInput, typeof i149.VersionCompareComponent, typeof i75.LottieAnimation, typeof i127.CubeAccumulationChartComponent, typeof i128.CubeChartComponent, typeof i129.CubePivotComponent, typeof i130.CubeSpreadsheetComponent, typeof i131.CubeGridComponent]>;
189
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.CubeCompareWidget, typeof i2.CubeUsageComponent, typeof i3.CubeDocumentsComponent, typeof i4.FileInput, typeof i5.DateFormatPipe, typeof i6.CalendarPipe, typeof i7.DifferencePipe, typeof i8.DurationPipe, typeof i9.TimeAgoPipe, typeof i10.CheckboxComponent, typeof i11.CubeParallelComponent, typeof i12.CubeSumComponent, typeof i13.CubeParallelViewComponent, typeof i14.CubeChartViewComponent, typeof i15.CubeExploreViewComponent, typeof i16.CubeDocumentSumComponent, typeof i17.ExploreItemImplComponent, typeof i18.DocumentInfoComponent, typeof i19.DocumentViewsComponent, typeof i20.ViewItemComponent, typeof i21.CubeDocumentMatrixComponent, typeof i22.CubeDocumentViewComponent, typeof i23.CubePivotViewComponent, typeof i24.ActionPicker, typeof i25.HtmlSimplePipe, typeof i26.QuickCommentComponent, typeof i27.DurationFormatPipe, typeof i28.CombinationPicker, typeof i29.CombinationPickerBody, typeof i30.CombinationPool, typeof i31.TimelineViewComponent, typeof i32.MatIconAnimate, typeof i33.DateRangePipe, typeof i33.AgoPipe, typeof i34.ColorPicker, typeof i35.StateDirective, typeof i36.BrokenPage, typeof i37.JoinPipe, typeof i38.TimePicker, typeof i39.TypeValuePipe, typeof i40.TypeSelect, typeof i41.TypeAutocomplete, typeof i42.TranslatePipe, typeof i43.IdentityName, typeof i44.SanitizeHtmlPipe, typeof i45.AceInput, typeof i46.TimespanInput, typeof i47.AddressInput, typeof i48.StatePipe, typeof i49.ActionPipe, typeof i50.RolePipe, typeof i51.FormPipe, typeof i52.FilterPipe, typeof i52.ArraySortPipe, typeof i53.UserNamePipe, typeof i54.LayoutComponent, typeof i55.HtmlField, typeof i56.FileField, typeof i57.NumericField, typeof i58.AutocompleteField, typeof i59.CheckField, typeof i60.DateField, typeof i61.DateRangeField, typeof i62.ExpressionField, typeof i63.InputField, typeof i64.SelectField, typeof i65.SwitchField, typeof i66.TextareaField, typeof i67.TimespanField, typeof i68.ReturnActionComponent, typeof i69.AssignActionComponent, typeof i70.MoveToActionComponent, typeof i71.AvatarComponent, typeof i72.PeopleComponent, typeof i73.EditInputComponent, typeof i74.NgxComponentOutlet, typeof i36.BizDocApp, typeof i75.LottieAnimation, typeof i25.ContactsComponent, typeof i76.CubeMatrixComponent, typeof i77.FilterTagsComponent, typeof i78.ExploreItemsComponent, typeof i79.CompareNameDirective, typeof i79.CompareGroupDirective, typeof i79.CompareContextDirective, typeof i80.GuideComponent, typeof i81.OutOfOfficeToast, typeof i82.NotificationsTableComponent, typeof i83.NotificationsFilterComponent, typeof i84.TaggingPipe, typeof i85.PrivilegeHiddenDirective, typeof i86.TaggingItemDirective, typeof i87.TaggingDirective, typeof i88.DocumentTaggingComponent, typeof i89.UserTaggingComponent, typeof i85.PrivilegeDisabledDirective, typeof i90.CubeDocumentsGridComponent, typeof i91.LongRunningTaskNotification, typeof i92.TaggedNotification, typeof i93.CommentedNotification, typeof i94.NudgeNotification, typeof i95.TextNotification, typeof i96.CubeAnomalyNotification, typeof i97.EscalatedNotification, typeof i98.LikedNotification, typeof i99.StateChangedNotification, typeof i100.UpcomingEventNotification, typeof i101.NoneComponent, typeof i102.ScheduleViewComponent, typeof i103.OptionsComponent, typeof i104.TraceViewComponent, typeof i105.ProgressDirective, typeof i106.AttachmentsComponent, typeof i107.DocumentEventsComponent, typeof i108.TagsComponent, typeof i109.MapComponent, typeof i110.MaskComponent, typeof i111.SaveChangesDialog, typeof i112.FlowViewComponent, typeof i113.SubstitutionComponent, typeof i114.PopupComponent, typeof i115.AttachmentPreview, typeof i116.CommentsComponent, typeof i117.CommentComponent, typeof i118.EditCommentComponent, typeof i119.CommentLikesComponent, typeof i120.CommentEditsComponent, typeof i121.BrowseItemsComponent, typeof i122.BrowseFilterComponent, typeof i123.ExpandedItemComponent, typeof i124.ComposeFormComponent, typeof i125.CubeViewComponent, typeof i126.CubeFilterComponent, typeof i127.CubeAccumulationChartComponent, typeof i128.CubeChartComponent, typeof i129.CubePivotComponent, typeof i130.CubeSpreadsheetComponent, typeof i131.CubeGridComponent, typeof i132.ReportViewerComponent, typeof i133.TableViewComponent, typeof i134.ReportArgumentsComponent, typeof i135.DashboardComponent, typeof i136.WidgetItemComponent, typeof i137.CubeWidgetFilterComponent, typeof i138.CubeAccumAnalysisWidget, typeof i139.CubeAnalysisWidget, typeof i140.CubeChartAnalysisWidget, typeof i141.ActionsWidget, typeof i142.RecentsWidget, typeof i143.AskDialog, typeof i144.AboutDialog, typeof i145.ActionDialog, typeof i146.ImpersonateDialog, typeof i147.ConversationComponent, typeof i148.CubeMatrixPopupComponent, typeof i149.VersionCompareComponent, typeof i150.ExploreDocumentComponent, typeof i151.TasksComponent, typeof i152.PendingResultsWidget, typeof i153.CompareGroupsWidget, typeof i154.CubeDocumentsTableComponent, typeof i155.CubeDocumentsWidget, typeof i156.PersonalScoreWidget, typeof i157.PersonalActivityWidget, typeof i158.PeersPerformanceWidget, typeof i159.UsagePivotComponent, typeof i160.UsageChartComponent, typeof i161.UsageReportArgs, typeof i162.EmojiHostComponent, typeof i163.TooltipDirective, typeof i163.TooltipComponent], [typeof i164.DayJsModule, typeof i165.CommonModule, typeof i166.HttpClientModule, typeof i167.ReactiveFormsModule, typeof i168.FlexLayoutModule, typeof i169.RouterModule, typeof i170.PickerModule, typeof i171.SyncfusionGanttModule, typeof i172.SyncfusionScheduleModule, typeof i173.SyncfusionCircularGaugeModule, typeof i174.SyncfusionChartModule, typeof i171.SyncfusionGanttModule, typeof i175.SyncfusionGridModule, typeof i176.SyncfusionTextEditorModule, typeof i177.SyncfusionSpreadsheetModule, typeof i178.SyncfusionPivotModule, typeof i179.KanbanModule, typeof i180.SyncfusionDiagramModule, typeof i181.MaterialModule], [typeof i4.FileInput, typeof i77.FilterTagsComponent, typeof i5.DateFormatPipe, typeof i6.CalendarPipe, typeof i7.DifferencePipe, typeof i8.DurationPipe, typeof i9.TimeAgoPipe, typeof i10.CheckboxComponent, typeof i11.CubeParallelComponent, typeof i12.CubeSumComponent, typeof i17.ExploreItemImplComponent, typeof i18.DocumentInfoComponent, typeof i19.DocumentViewsComponent, typeof i135.DashboardComponent, typeof i108.TagsComponent, typeof i26.QuickCommentComponent, typeof i181.MaterialModule, typeof i116.CommentsComponent, typeof i36.BrokenPage, typeof i145.ActionDialog, typeof i122.BrowseFilterComponent, typeof i126.CubeFilterComponent, typeof i102.ScheduleViewComponent, typeof i132.ReportViewerComponent, typeof i136.WidgetItemComponent, typeof i125.CubeViewComponent, typeof i78.ExploreItemsComponent, typeof i124.ComposeFormComponent, typeof i121.BrowseItemsComponent, typeof i82.NotificationsTableComponent, typeof i24.ActionPicker, typeof i147.ConversationComponent, typeof i35.StateDirective, typeof i25.ContactsComponent, typeof i76.CubeMatrixComponent, typeof i27.DurationFormatPipe, typeof i28.CombinationPicker, typeof i30.CombinationPool, typeof i38.TimePicker, typeof i163.TooltipDirective, typeof i33.DateRangePipe, typeof i74.NgxComponentOutlet, typeof i32.MatIconAnimate, typeof i45.AceInput, typeof i37.JoinPipe, typeof i39.TypeValuePipe, typeof i40.TypeSelect, typeof i41.TypeAutocomplete, typeof i48.StatePipe, typeof i49.ActionPipe, typeof i50.RolePipe, typeof i51.FormPipe, typeof i52.FilterPipe, typeof i52.ArraySortPipe, typeof i53.UserNamePipe, typeof i44.SanitizeHtmlPipe, typeof i42.TranslatePipe, typeof i43.IdentityName, typeof i47.AddressInput, typeof i71.AvatarComponent, typeof i134.ReportArgumentsComponent, typeof i36.BizDocApp, typeof i115.AttachmentPreview, typeof i85.PrivilegeHiddenDirective, typeof i85.PrivilegeDisabledDirective, typeof i79.CompareGroupDirective, typeof i79.CompareNameDirective, typeof i79.CompareContextDirective, typeof i104.TraceViewComponent, typeof i112.FlowViewComponent, typeof i69.AssignActionComponent, typeof i68.ReturnActionComponent, typeof i150.ExploreDocumentComponent, typeof i1.CubeCompareWidget, typeof i141.ActionsWidget, typeof i139.CubeAnalysisWidget, typeof i155.CubeDocumentsWidget, typeof i142.RecentsWidget, typeof i157.PersonalActivityWidget, typeof i153.CompareGroupsWidget, typeof i158.PeersPerformanceWidget, typeof i152.PendingResultsWidget, typeof i156.PersonalScoreWidget, typeof i137.CubeWidgetFilterComponent, typeof i154.CubeDocumentsTableComponent, typeof i90.CubeDocumentsGridComponent, typeof i151.TasksComponent, typeof i161.UsageReportArgs, typeof i160.UsageChartComponent, typeof i159.UsagePivotComponent, typeof i46.TimespanInput, typeof i149.VersionCompareComponent, typeof i75.LottieAnimation, typeof i127.CubeAccumulationChartComponent, typeof i128.CubeChartComponent, typeof i129.CubePivotComponent, typeof i130.CubeSpreadsheetComponent, typeof i131.CubeGridComponent]>;
188
190
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
189
191
  }
@@ -24,6 +24,7 @@ import * as i21 from "@angular/router";
24
24
  import * as i22 from "./modules/diagram.module";
25
25
  import * as i23 from "./modules/chart.module";
26
26
  import * as i24 from "./shared.module";
27
+ /** administrative utilities */
27
28
  export declare class SystemModule {
28
29
  static forChild(): ModuleWithProviders<SystemModule>;
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.13.34",
3
+ "version": "1.13.38",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",
package/public-api.d.ts CHANGED
@@ -86,7 +86,7 @@ export { CubeDocumentsWidget } from './lib/dashboard/cube/documents.widget';
86
86
  export { CubeWidgetFilterComponent } from './lib/dashboard/cube/filter/filter.component';
87
87
  export { RecentsWidget } from './lib/dashboard/recents/recents.widget';
88
88
  export { PersonalActivityWidget } from './lib/dashboard/score/activity.widget';
89
- export { CompareDepartmentsWidget } from './lib/dashboard/score/compare-departments.widget';
89
+ export { CompareGroupsWidget } from './lib/dashboard/score/compare-groups.widget';
90
90
  export { PeersPerformanceWidget } from './lib/dashboard/score/peers-performance.widget';
91
91
  export { PendingResultsWidget } from './lib/dashboard/score/pending-results.widget';
92
92
  export { PersonalScoreWidget } from './lib/dashboard/score/personal-score.widget';
@@ -1,206 +0,0 @@
1
- var CompareDepartmentsWidget_1;
2
- import { __decorate } from "tslib";
3
- import { Component, ViewChild } from "@angular/core";
4
- import { Chart, LineSeriesService, CrosshairService, ColumnSeriesService, ChartComponent } from "@syncfusion/ej2-angular-charts";
5
- import { BizDoc } from "../../core/decorators";
6
- import { Subject } from "rxjs";
7
- import { takeUntil } from "rxjs/operators";
8
- import dayjs from 'dayjs';
9
- import { FONT_FAMILY } from "../../core/colors";
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "../../core/translate.service";
12
- import * as i2 from "../widget-ref";
13
- import * as i3 from "../../core/session.service";
14
- /** */
15
- let CompareDepartmentsWidget = CompareDepartmentsWidget_1 = class CompareDepartmentsWidget {
16
- constructor(_translate, widgetRef, _elementRef, _session) {
17
- this._translate = _translate;
18
- this._elementRef = _elementRef;
19
- this._session = _session;
20
- this.id = `department-compare-${CompareDepartmentsWidget_1.nextId++}`;
21
- this.palettes = this._session.accentPalette;
22
- this.theme = this._session.theme.dark ? 'MaterialDark' : 'Material';
23
- this.enableRtl = this._session.inverse;
24
- this.rows = [
25
- {
26
- height: '15%'
27
- }, {
28
- height: '85%'
29
- }
30
- ];
31
- this.axes = [{
32
- name: 'primary',
33
- labelStyle: { size: '0px' },
34
- rowIndex: 1
35
- }, {
36
- name: 'volume',
37
- rowIndex: 0,
38
- majorGridLines: { width: 0 }, lineStyle: { width: 0 },
39
- labelStyle: { size: '0px' },
40
- majorTickLines: { width: 0 }
41
- }];
42
- this.chartArea = {
43
- border: {
44
- width: 0
45
- }
46
- };
47
- this.zoomSettings = {
48
- mode: 'X',
49
- enableMouseWheelZooming: true,
50
- enablePinchZooming: true,
51
- toolbarItems: [],
52
- enableSelectionZooming: false,
53
- enableScrollbar: true
54
- };
55
- this.primaryXAxis = {
56
- valueType: 'DateTime',
57
- labelFormat: 'MMM dd',
58
- labelStyle: {
59
- fontFamily: FONT_FAMILY
60
- },
61
- labelIntersectAction: 'Hide',
62
- majorGridLines: { width: 0 }
63
- };
64
- this.crosshair = {
65
- enable: true,
66
- lineType: 'Vertical'
67
- };
68
- this.tooltip = {
69
- enable: true, shared: true, textStyle: {
70
- fontFamily: FONT_FAMILY
71
- },
72
- };
73
- this.legend = {
74
- visible: true,
75
- isInversed: this._session.inverse,
76
- textStyle: {
77
- fontFamily: FONT_FAMILY
78
- },
79
- };
80
- this.primaryYAxis = {
81
- skeleton: 'duration',
82
- labelStyle: {
83
- size: '0px'
84
- },
85
- title: this._translate.get('Duration'),
86
- lineStyle: { width: 0 },
87
- minorTickLines: { width: 0 }
88
- };
89
- this.margin = {
90
- bottom: 0
91
- };
92
- this._destroy = new Subject();
93
- _session.themeChange.pipe(takeUntil(this._destroy)).subscribe(t => {
94
- this.theme = t.dark ? 'MaterialDark' : 'Material';
95
- this.palettes = _session.accentPalette;
96
- this._draw();
97
- });
98
- widgetRef.resize.subscribe(d => {
99
- this.height = `${d.height}px`;
100
- if (this.chart)
101
- this.chart.height = this.height;
102
- });
103
- }
104
- onBind(data) {
105
- this._prepare(data);
106
- this.data = data;
107
- this._draw();
108
- }
109
- _draw() {
110
- this.chart && this.chart.destroy();
111
- this.chart = new Chart({
112
- axes: this.axes,
113
- series: this.series,
114
- height: this.height,
115
- rows: this.rows,
116
- legendSettings: this.legend,
117
- crosshair: this.crosshair,
118
- tooltip: this.tooltip,
119
- background: 'transparent',
120
- chartArea: this.chartArea,
121
- primaryXAxis: this.primaryXAxis,
122
- primaryYAxis: this.primaryYAxis,
123
- theme: this.theme,
124
- margin: this.margin,
125
- useGroupingSeparator: true,
126
- palettes: this.palettes,
127
- zoomSettings: this.zoomSettings,
128
- sharedTooltipRender: this.sharedTooltipRender.bind(this),
129
- }, this._elementRef.nativeElement);
130
- }
131
- sharedTooltipRender(evt) {
132
- evt.data.forEach((d, i) => {
133
- if (evt.series[d.seriesIndex].yName !== 'count')
134
- evt.text[i] = `${d.seriesName} : <b>${dayjs.duration(d.pointY, 's').humanize()}</b>`;
135
- });
136
- }
137
- _prepare(data) {
138
- const indicatorData = [], series = data.map(s => {
139
- s.points.forEach(p => {
140
- const date = p.date = new Date(p.date), indicator = indicatorData.find(i => i.date.valueOf() === date.valueOf());
141
- if (indicator)
142
- indicator.count += p.count;
143
- else
144
- indicatorData.push({ count: p.count, date });
145
- });
146
- const serie = {
147
- type: 'Line',
148
- xName: 'date',
149
- yName: 'duration',
150
- yAxisName: 'primary',
151
- name: s.title,
152
- dataSource: s.points,
153
- marker: {
154
- width: 6,
155
- height: 6,
156
- visible: false
157
- }
158
- };
159
- return serie;
160
- });
161
- series.push({
162
- type: 'Column',
163
- xName: 'date',
164
- yName: 'count',
165
- name: this._translate.get('Volume'),
166
- dataSource: indicatorData,
167
- yAxisName: 'volume',
168
- marker: {
169
- width: 0,
170
- height: 0,
171
- visible: false
172
- }
173
- });
174
- this.series = series;
175
- }
176
- ngOnDestroy() {
177
- this.chart && this.chart.destroy();
178
- this._destroy.next();
179
- this._destroy.complete();
180
- }
181
- };
182
- CompareDepartmentsWidget.nextId = 0;
183
- CompareDepartmentsWidget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: CompareDepartmentsWidget, deps: [{ token: i1.TranslateService }, { token: i2.WidgetRef }, { token: i0.ElementRef }, { token: i3.SessionService }], target: i0.ɵɵFactoryTarget.Component });
184
- CompareDepartmentsWidget.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: CompareDepartmentsWidget, selector: "ng-component", host: { attributes: { "dir": "ltr" }, properties: { "id": "id" } }, providers: [LineSeriesService, CrosshairService, ColumnSeriesService], viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: '', isInline: true });
185
- CompareDepartmentsWidget = CompareDepartmentsWidget_1 = __decorate([
186
- BizDoc({
187
- selector: 'bizdoc-compare-departments'
188
- })
189
- ], CompareDepartmentsWidget);
190
- export { CompareDepartmentsWidget };
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: CompareDepartmentsWidget, decorators: [{
192
- type: Component,
193
- args: [{
194
- //templateUrl: './compare-departments.widget.html',
195
- template: '',
196
- providers: [LineSeriesService, CrosshairService, ColumnSeriesService],
197
- host: {
198
- '[id]': 'id',
199
- dir: 'ltr'
200
- }
201
- }]
202
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.WidgetRef }, { type: i0.ElementRef }, { type: i3.SessionService }]; }, propDecorators: { chart: [{
203
- type: ViewChild,
204
- args: [ChartComponent]
205
- }] } });
206
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFyZS1kZXBhcnRtZW50cy53aWRnZXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2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ksXHJcbiAgICAgICAgICBpbmRpY2F0b3IgPSBpbmRpY2F0b3JEYXRhLmZpbmQoaSA9PiBpLmRhdGUudmFsdWVPZigpID09PSBkYXRlLnZhbHVlT2YoKSk7XHJcbiAgICAgICAgaWYgKGluZGljYXRvcilcclxuICAgICAgICAgIGluZGljYXRvci5jb3VudCArPSBwLmNvdW50O1xyXG4gICAgICAgIGVsc2VcclxuICAgICAgICAgIGluZGljYXRvckRhdGEucHVzaCh7IGNvdW50OiBwLmNvdW50LCBkYXRlIH0pO1xyXG4gICAgICB9KTtcclxuICAgICAgY29uc3Qgc2VyaWU6IFNlcmllc01vZGVsID0ge1xyXG4gICAgICAgIHR5cGU6ICdMaW5lJyxcclxuICAgICAgICB4TmFtZTogJ2RhdGUnLFxyXG4gICAgICAgIHlOYW1lOiAnZHVyYXRpb24nLFxyXG4gICAgICAgIHlBeGlzTmFtZTogJ3ByaW1hcnknLFxyXG4gICAgICAgIG5hbWU6IHMudGl0bGUsXHJcbiAgICAgICAgZGF0YVNvdXJjZTogcy5wb2ludHMsXHJcbiAgICAgICAgbWFya2VyOiB7XHJcbiAgICAgICAgICB3aWR0aDogNixcclxuICAgICAgICAgIGhlaWdodDogNixcclxuICAgICAgICAgIHZpc2libGU6IGZhbHNlXHJcbiAgICAgICAgfVxyXG4gICAgICB9O1xyXG4gICAgICByZXR1cm4gc2VyaWU7XHJcbiAgICB9KTtcclxuICAgIHNlcmllcy5wdXNoKHtcclxuICAgICAgdHlwZTogJ0NvbHVtbicsXHJcbiAgICAgIHhOYW1lOiAnZGF0ZScsXHJcbiAgICAgIHlOYW1lOiAnY291bnQnLFxyXG4gICAgICBuYW1lOiB0aGlzLl90cmFuc2xhdGUuZ2V0KCdWb2x1bWUnKSxcclxuICAgICAgZGF0YVNvdXJjZTogaW5kaWNhdG9yRGF0YSxcclxuICAgICAgeUF4aXNOYW1lOiAndm9sdW1lJyxcclxuICAgICAgbWFya2VyOiB7XHJcbiAgICAgICAgd2lkdGg6IDAs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