@acorex/modules 21.0.0-next.31 → 21.0.0-next.34
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/{acorex-modules-ai-management-acorex-modules-ai-management-B6lnG21F.mjs → acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs} +10 -11
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-agent.entity-C2APPc7g.mjs → acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-agent.entity-C2APPc7g.mjs.map → acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-D_54-MqC.mjs → acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-D_54-MqC.mjs.map → acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-pG9y9bqO.mjs → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs} +6 -4
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-D7sIFWTx.mjs → acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-assist.entity-D7sIFWTx.mjs.map → acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-index-DoOTRMvM.mjs → acorex-modules-ai-management-index-KX3TVRXr.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-index-DoOTRMvM.mjs.map → acorex-modules-ai-management-index-KX3TVRXr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-model.entity-xhfG1tFZ.mjs → acorex-modules-ai-management-model.entity-BeuDUahR.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-model.entity-xhfG1tFZ.mjs.map → acorex-modules-ai-management-model.entity-BeuDUahR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-Bot8Ctq1.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-Bot8Ctq1.mjs.map → acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs.map} +1 -1
- package/fesm2022/acorex-modules-ai-management.mjs +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-D1DhOSYU.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs} +25 -25
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-D1DhOSYU.mjs.map → acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BwwarDP0.mjs → acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-BwwarDP0.mjs.map → acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-CQNn4Ryb.mjs → acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-CQNn4Ryb.mjs.map → acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-AptlLpWh.mjs → acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-AptlLpWh.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-index-BBzx9W5u.mjs → acorex-modules-assessment-management-index-B2SncZAW.mjs} +6 -6
- package/fesm2022/acorex-modules-assessment-management-index-B2SncZAW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-BMoPn_op.mjs → acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-BMoPn_op.mjs.map → acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BI7JJIbZ.mjs → acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BI7JJIbZ.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BfWuSVG9.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-BfWuSVG9.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CcDAcPJJ.mjs → acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CcDAcPJJ.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-DC7xwETF.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-DC7xwETF.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-DF7F-quh.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-DF7F-quh.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-zybar1sK.mjs → acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-zybar1sK.mjs.map → acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-DqJ-_k-4.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-DqJ-_k-4.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-IHxXETJQ.mjs → acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-IHxXETJQ.mjs.map → acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +4366 -3497
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +3 -2
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs +784 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +3 -9
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +488 -105
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-dashboard-management.d.ts +397 -218
- package/types/acorex-modules-organization-management.d.ts +3 -12
- package/types/acorex-modules-workflow-management.d.ts +27 -0
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-B6lnG21F.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-pG9y9bqO.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-BBzx9W5u.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-E0hy7dXg.mjs +0 -638
- package/fesm2022/acorex-modules-organization-management-org-chart.page-E0hy7dXg.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Injector, OnInit,
|
|
2
|
+
import { Injector, OnInit, ChangeDetectorRef, ElementRef, AfterViewInit, OnDestroy, Signal } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
4
|
-
import { AXPWidgetNode, AXPWidgetRendererDirective,
|
|
4
|
+
import { AXPWidgetNode, AXPWidgetRendererDirective, AXPBaseWidgetComponent, AXPWidgetConfig, AXPValueWidgetComponent, AXPLayoutBaseWidgetComponent, AXPWidgetCategory } from '@acorex/platform/layout/widget-core';
|
|
5
5
|
import { AXPEntity, AXPTimeZone } from '@acorex/platform/common';
|
|
6
6
|
import { AXPEntityModel, AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
|
7
7
|
import * as _acorex_components_grid_layout_builder from '@acorex/components/grid-layout-builder';
|
|
@@ -13,7 +13,7 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
13
13
|
import { AXDialogService } from '@acorex/components/dialog';
|
|
14
14
|
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
15
15
|
import { AXPopupService } from '@acorex/components/popup';
|
|
16
|
-
import {
|
|
16
|
+
import { AXPActionMenuItem, AXPExecuteCommand, AXPMultiLanguageString } from '@acorex/platform/core';
|
|
17
17
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
18
|
import { AXPWidgetPropertiesChangedEvent } from '@acorex/platform/layout/components';
|
|
19
19
|
import { AXItemClickEvent, AXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
@@ -232,7 +232,6 @@ declare class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent imple
|
|
|
232
232
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
233
233
|
isPrinting: boolean;
|
|
234
234
|
}>;
|
|
235
|
-
protected readonly deviceService: AXPDeviceService;
|
|
236
235
|
protected readonly context: _angular_core.WritableSignal<{}>;
|
|
237
236
|
private dashboardsLoaded;
|
|
238
237
|
ngOnInit(): Promise<void>;
|
|
@@ -308,12 +307,13 @@ declare class AXMAddDashboardPopup extends AXBasePageComponent implements OnInit
|
|
|
308
307
|
protected isDisabled: _angular_core.ModelSignal<boolean>;
|
|
309
308
|
protected isLocked: _angular_core.ModelSignal<boolean>;
|
|
310
309
|
protected isAdmin: _angular_core.ModelSignal<boolean>;
|
|
310
|
+
protected showAdminFields: _angular_core.ModelSignal<boolean>;
|
|
311
311
|
protected roles: any[];
|
|
312
312
|
protected get isValid(): boolean;
|
|
313
313
|
ngOnInit(): Promise<void>;
|
|
314
314
|
protected handleClose(isCanceled?: boolean): Promise<void>;
|
|
315
315
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMAddDashboardPopup, never>;
|
|
316
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "selectedRoleIds": { "alias": "selectedRoleIds"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "isAdmin": { "alias": "isAdmin"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; "selectedRoleIds": "selectedRoleIdsChange"; "isDisabled": "isDisabledChange"; "isLocked": "isLockedChange"; "isAdmin": "isAdminChange"; }, never, never, true, never>;
|
|
316
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "selectedRoleIds": { "alias": "selectedRoleIds"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "isAdmin": { "alias": "isAdmin"; "required": false; "isSignal": true; }; "showAdminFields": { "alias": "showAdminFields"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; "selectedRoleIds": "selectedRoleIdsChange"; "isDisabled": "isDisabledChange"; "isLocked": "isLockedChange"; "isAdmin": "isAdminChange"; "showAdminFields": "showAdminFieldsChange"; }, never, never, true, never>;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
declare class AXMConfigurationPopup extends AXBasePageComponent implements OnInit {
|
|
@@ -359,73 +359,27 @@ declare class AXMDashboardWidgetWrapperComponent {
|
|
|
359
359
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMDashboardWidgetWrapperComponent, "axm-dashboard-widget-wrapper", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "hasConfiguration": { "alias": "hasConfiguration"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; }, { "onDelete": "onDelete"; "onConfiguration": "onConfiguration"; "onValueChanged": "onValueChanged"; "onOptionsChanged": "onOptionsChanged"; }, ["widget"], ["*"], true, never>;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
-
declare class AXMClockWidgetViewComponent extends AXPLayoutBaseWidgetComponent implements AfterViewInit, OnDestroy {
|
|
363
|
-
private readonly regionalService;
|
|
364
|
-
private readonly elementRef;
|
|
365
|
-
private userTimezone;
|
|
366
|
-
private containerWidth;
|
|
367
|
-
private containerHeight;
|
|
368
|
-
private resizeObserver;
|
|
369
|
-
constructor();
|
|
370
|
-
ngAfterViewInit(): void;
|
|
371
|
-
ngOnDestroy(): void;
|
|
372
|
-
private setupResizeObserver;
|
|
373
|
-
private loadUserTimezone;
|
|
374
|
-
timezone: _angular_core.Signal<AXPTimeZone | null>;
|
|
375
|
-
others: _angular_core.Signal<AXPTimeZone[]>;
|
|
376
|
-
isHorizontal: _angular_core.Signal<boolean>;
|
|
377
|
-
hasEnoughSpaceForHorizontal: _angular_core.Signal<boolean>;
|
|
378
|
-
codeFontSize: _angular_core.Signal<number>;
|
|
379
|
-
abbrFontSize: _angular_core.Signal<number>;
|
|
380
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMClockWidgetViewComponent, never>;
|
|
381
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMClockWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
declare const AXPAnalogClockWidget: AXPWidgetConfig;
|
|
385
|
-
declare module '@acorex/platform/layout/widget-core' {
|
|
386
|
-
interface AXPWidgetTypesMap {
|
|
387
|
-
analogClock: 'analog-clock';
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
interface AXMClockMark {
|
|
392
|
-
transform?: string;
|
|
393
|
-
top?: string;
|
|
394
|
-
left?: string;
|
|
395
|
-
value?: number;
|
|
396
|
-
}
|
|
397
|
-
declare class AXMAnalogClockComponent implements OnInit, OnDestroy {
|
|
398
|
-
timezone: _angular_core.InputSignal<string | undefined>;
|
|
399
|
-
classes: _angular_core.InputSignal<string | undefined>;
|
|
400
|
-
showNumbers: _angular_core.InputSignal<boolean>;
|
|
401
|
-
private readonly currentTime;
|
|
402
|
-
private readonly timeParts;
|
|
403
|
-
constructor();
|
|
404
|
-
readonly hourHandTransform: _angular_core.Signal<string>;
|
|
405
|
-
readonly minuteHandTransform: _angular_core.Signal<string>;
|
|
406
|
-
readonly secondHandTransform: _angular_core.Signal<string>;
|
|
407
|
-
hourLines: AXMClockMark[];
|
|
408
|
-
hourNumbers: AXMClockMark[];
|
|
409
|
-
dots: AXMClockMark[];
|
|
410
|
-
private timerId?;
|
|
411
|
-
ngOnInit(): void;
|
|
412
|
-
ngOnDestroy(): void;
|
|
413
|
-
private createClockMarks;
|
|
414
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMAnalogClockComponent, never>;
|
|
415
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMAnalogClockComponent, "axm-analog-clock", never, { "timezone": { "alias": "timezone"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "showNumbers": { "alias": "showNumbers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
362
|
/**
|
|
419
363
|
* Bar Chart Widget Component
|
|
420
364
|
* Renders data as vertical bars with interactive hover effects and animations
|
|
421
365
|
*/
|
|
422
366
|
declare class AXPBarChartWidgetViewComponent extends AXPBaseWidgetComponent {
|
|
367
|
+
private readonly dataService;
|
|
368
|
+
private readonly translationService;
|
|
369
|
+
private readonly mlResolver;
|
|
423
370
|
protected data: _angular_core.WritableSignal<AXBarChartData[]>;
|
|
424
|
-
|
|
425
|
-
barChartOptions:
|
|
371
|
+
/** Options for the chart with localized title and axis labels. */
|
|
372
|
+
protected barChartOptions: _angular_core.WritableSignal<AXBarChartOption & {
|
|
426
373
|
title: string;
|
|
427
374
|
}>;
|
|
428
|
-
|
|
375
|
+
private labelResolveGeneration;
|
|
376
|
+
private resolveChartOptionLabel;
|
|
377
|
+
/**
|
|
378
|
+
* Resolves bar category labels from plain text, @i18n keys, or multi-language maps.
|
|
379
|
+
*/
|
|
380
|
+
private resolveLocalizedChartText;
|
|
381
|
+
private readonly resolveChartLabelKeysEffect;
|
|
382
|
+
dataSource: _angular_core.Signal<string | AXBarChartData[]>;
|
|
429
383
|
eff: _angular_core.EffectRef;
|
|
430
384
|
constructor();
|
|
431
385
|
handleBarClick(event: any): void;
|
|
@@ -440,139 +394,27 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
440
394
|
}
|
|
441
395
|
}
|
|
442
396
|
|
|
443
|
-
declare const AXP_WIDGETS_CHART_CATEGORY: AXPWidgetCategory;
|
|
444
|
-
declare const AXP_WIDGETS_UTILITY_CATEGORY: AXPWidgetCategory;
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* ACoreX Clock Calendar Widget Types
|
|
448
|
-
* Contains all types and interfaces for the Clock Calendar widget
|
|
449
|
-
*/
|
|
450
|
-
/**
|
|
451
|
-
* Clock layout display options
|
|
452
|
-
*/
|
|
453
|
-
type AXPClockLayout = 'both' | 'digital' | 'analog';
|
|
454
|
-
/**
|
|
455
|
-
* Clock timezone options
|
|
456
|
-
*/
|
|
457
|
-
interface AXPTimezoneOption {
|
|
458
|
-
id: string;
|
|
459
|
-
title: string;
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* Date format options
|
|
463
|
-
*/
|
|
464
|
-
interface AXPDateFormatOption {
|
|
465
|
-
id: string;
|
|
466
|
-
title: string;
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* Hour number definition for the analog clock
|
|
470
|
-
*/
|
|
471
|
-
interface AXPHourNumber {
|
|
472
|
-
number: number;
|
|
473
|
-
angle: number;
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* Widget options for configuring the clock-calendar
|
|
477
|
-
*/
|
|
478
|
-
interface AXPClockCalendarOptions {
|
|
479
|
-
displayLayout?: AXPClockLayout;
|
|
480
|
-
showDate?: boolean;
|
|
481
|
-
showDayOfWeek?: boolean;
|
|
482
|
-
use24Hour?: boolean;
|
|
483
|
-
showSeconds?: boolean;
|
|
484
|
-
showHourMarkers?: boolean;
|
|
485
|
-
dateFormat?: string;
|
|
486
|
-
timezone?: string;
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* Common timezone options for the widget configuration
|
|
490
|
-
*/
|
|
491
|
-
declare const AXP_TIMEZONE_OPTIONS: AXPTimezoneOption[];
|
|
492
|
-
/**
|
|
493
|
-
* Common date format options for the widget configuration
|
|
494
|
-
*/
|
|
495
|
-
declare const AXP_DATE_FORMAT_OPTIONS: AXPDateFormatOption[];
|
|
496
|
-
|
|
497
|
-
declare class AXPClockCalendarWidgetViewComponent extends AXPValueWidgetComponent implements OnInit, OnDestroy {
|
|
498
|
-
private readonly cdr;
|
|
499
|
-
protected currentTime: Date;
|
|
500
|
-
protected currentDate: Date;
|
|
501
|
-
private clockSubscription;
|
|
502
|
-
protected readonly clockHours: number[];
|
|
503
|
-
protected readonly clockHourNumbers: AXPHourNumber[];
|
|
504
|
-
protected hourRotation: number;
|
|
505
|
-
protected minuteRotation: number;
|
|
506
|
-
protected secondRotation: number;
|
|
507
|
-
protected readonly displayLayout: Signal<string>;
|
|
508
|
-
protected readonly showDigitalClock: Signal<boolean>;
|
|
509
|
-
protected readonly showAnalogClock: Signal<boolean>;
|
|
510
|
-
protected readonly showDate: Signal<boolean>;
|
|
511
|
-
protected readonly showDayOfWeek: Signal<boolean>;
|
|
512
|
-
protected readonly use24Hour: Signal<boolean>;
|
|
513
|
-
protected readonly showSeconds: Signal<boolean>;
|
|
514
|
-
protected readonly dateFormat: Signal<string>;
|
|
515
|
-
protected readonly timezone: Signal<string>;
|
|
516
|
-
protected readonly displayTimezone: Signal<string>;
|
|
517
|
-
protected readonly timeFormat: Signal<string>;
|
|
518
|
-
ngOnInit(): void;
|
|
519
|
-
ngOnDestroy(): void;
|
|
520
|
-
private startClockTimer;
|
|
521
|
-
private stopClockTimer;
|
|
522
|
-
private updateTime;
|
|
523
|
-
private getAdjustedTime;
|
|
524
|
-
private updateClockHandsRotation;
|
|
525
|
-
protected initializeWidget(): void;
|
|
526
|
-
protected updateWidget(): void;
|
|
527
|
-
protected destroyWidget(): void;
|
|
528
|
-
protected getDayOfWeek(): string;
|
|
529
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPClockCalendarWidgetViewComponent, never>;
|
|
530
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPClockCalendarWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
declare const AXPClockCalendarWidget: AXPWidgetConfig;
|
|
534
|
-
declare module '@acorex/platform/layout/widget-core' {
|
|
535
|
-
interface AXPWidgetTypesMap {
|
|
536
|
-
clockCalendar: 'clock-calendar';
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
interface AXPShortcutItem {
|
|
541
|
-
name: string;
|
|
542
|
-
title: string;
|
|
543
|
-
description?: string;
|
|
544
|
-
icon: string;
|
|
545
|
-
command: AXPExecuteCommand;
|
|
546
|
-
}
|
|
547
|
-
declare class AXPDashboardShortcutWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
548
|
-
private popupService;
|
|
549
|
-
private workflow;
|
|
550
|
-
private searchConfig;
|
|
551
|
-
protected item: _angular_core.Signal<AXPShortcutItem>;
|
|
552
|
-
protected color: _angular_core.Signal<string>;
|
|
553
|
-
ngOnInit(): void;
|
|
554
|
-
protected executeCommand(): Promise<void>;
|
|
555
|
-
protected setCommand(): Promise<void>;
|
|
556
|
-
private get __style();
|
|
557
|
-
private get __class();
|
|
558
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDashboardShortcutWidgetViewComponent, never>;
|
|
559
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDashboardShortcutWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
declare const AXPDashboardShortcutWidget: AXPWidgetConfig;
|
|
563
|
-
|
|
564
397
|
/**
|
|
565
398
|
* Donut Chart Widget Component
|
|
566
399
|
* Displays data in a circular donut chart with interactive segments
|
|
567
400
|
*/
|
|
568
401
|
declare class AXPDonutChartWidgetViewComponent extends AXPValueWidgetComponent {
|
|
402
|
+
private readonly dataService;
|
|
403
|
+
private readonly translationService;
|
|
404
|
+
private readonly mlResolver;
|
|
569
405
|
protected data: _angular_core.WritableSignal<AXDonutChartData[]>;
|
|
570
|
-
|
|
571
|
-
donutChartOptions: Signal<AXDonutChartOption & {
|
|
406
|
+
protected donutChartOptions: _angular_core.WritableSignal<AXDonutChartOption & {
|
|
572
407
|
title: string;
|
|
573
408
|
}>;
|
|
574
|
-
|
|
575
|
-
|
|
409
|
+
private labelResolveGeneration;
|
|
410
|
+
dataSource: _angular_core.Signal<string | AXDonutChartData[] | undefined>;
|
|
411
|
+
private resolveChartOptionLabel;
|
|
412
|
+
/**
|
|
413
|
+
* Resolves segment names from plain text, @i18n keys, or multi-language maps.
|
|
414
|
+
*/
|
|
415
|
+
private resolveLocalizedChartText;
|
|
416
|
+
private readonly resolveDonutOptionsEffect;
|
|
417
|
+
private readonly dataLoadEffect;
|
|
576
418
|
constructor();
|
|
577
419
|
handleDonutChartSegmentClick(event: any): void;
|
|
578
420
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDonutChartWidgetViewComponent, never>;
|
|
@@ -591,13 +433,19 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
591
433
|
* Renders a semi-circular gauge chart with animated needle and thresholds
|
|
592
434
|
*/
|
|
593
435
|
declare class AXPGaugeChartWidgetViewComponent extends AXPBaseWidgetComponent {
|
|
436
|
+
private readonly dataService;
|
|
437
|
+
private readonly translationService;
|
|
438
|
+
private readonly mlResolver;
|
|
594
439
|
protected value: _angular_core.WritableSignal<number>;
|
|
595
|
-
|
|
596
|
-
gaugeChartOptions:
|
|
597
|
-
title
|
|
440
|
+
/** Options with resolved title, label, and threshold labels for the chart SVG/layer. */
|
|
441
|
+
protected gaugeChartOptions: _angular_core.WritableSignal<AXGaugeChartOption & {
|
|
442
|
+
title?: string;
|
|
598
443
|
}>;
|
|
599
|
-
|
|
600
|
-
|
|
444
|
+
private labelResolveGeneration;
|
|
445
|
+
dataSource: _angular_core.Signal<string | number | undefined>;
|
|
446
|
+
private resolveChartOptionLabel;
|
|
447
|
+
private readonly resolveGaugeOptionsEffect;
|
|
448
|
+
private readonly dataLoadEffect;
|
|
601
449
|
constructor();
|
|
602
450
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGaugeChartWidgetViewComponent, never>;
|
|
603
451
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPGaugeChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
@@ -615,13 +463,23 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
615
463
|
* Renders data as lines with interactive hover effects and animations
|
|
616
464
|
*/
|
|
617
465
|
declare class AXPLineChartWidgetViewComponent extends AXPValueWidgetComponent {
|
|
466
|
+
private readonly dataService;
|
|
467
|
+
private readonly translationService;
|
|
468
|
+
private readonly mlResolver;
|
|
618
469
|
protected data: _angular_core.WritableSignal<AXLineChartData[]>;
|
|
619
|
-
|
|
620
|
-
lineChartOptions:
|
|
470
|
+
/** Options passed to the chart with resolved string labels (multi-language and @i18n keys). */
|
|
471
|
+
protected lineChartOptions: _angular_core.WritableSignal<AXLineChartOption & {
|
|
621
472
|
title: string;
|
|
622
473
|
}>;
|
|
623
|
-
|
|
624
|
-
|
|
474
|
+
private labelResolveGeneration;
|
|
475
|
+
dataSource: _angular_core.Signal<string | AXLineChartData[] | undefined>;
|
|
476
|
+
private resolveChartOptionLabel;
|
|
477
|
+
/**
|
|
478
|
+
* Resolves series labels from plain text, @i18n keys, or multi-language maps.
|
|
479
|
+
*/
|
|
480
|
+
private resolveLocalizedChartText;
|
|
481
|
+
private readonly resolveChartLabelKeysEffect;
|
|
482
|
+
private readonly dataLoadEffect;
|
|
625
483
|
constructor();
|
|
626
484
|
handleLineChartPointClick(event: AXLineChartPointClickEvent): void;
|
|
627
485
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLineChartWidgetViewComponent, never>;
|
|
@@ -635,28 +493,147 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
635
493
|
}
|
|
636
494
|
}
|
|
637
495
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
496
|
+
interface AXPKpiTextValueFormat {
|
|
497
|
+
style?: 'decimal' | 'currency' | 'percent';
|
|
498
|
+
currency?: string;
|
|
499
|
+
minimumFractionDigits?: number;
|
|
500
|
+
maximumFractionDigits?: number;
|
|
501
|
+
}
|
|
502
|
+
interface AXPKpiProgressData {
|
|
503
|
+
title?: string | AXPMultiLanguageString;
|
|
504
|
+
icon?: string;
|
|
505
|
+
value?: number | string;
|
|
506
|
+
valuePrefix?: string | AXPMultiLanguageString;
|
|
507
|
+
valueSuffix?: string | AXPMultiLanguageString;
|
|
508
|
+
subtitle?: string | AXPMultiLanguageString;
|
|
509
|
+
targetValue?: number | string;
|
|
510
|
+
progressValue?: number;
|
|
511
|
+
progressPercent?: number;
|
|
512
|
+
format?: AXPKpiTextValueFormat;
|
|
513
|
+
}
|
|
514
|
+
interface AXPKpiSegmentItem {
|
|
515
|
+
label: string | AXPMultiLanguageString;
|
|
516
|
+
value: number;
|
|
517
|
+
color?: string;
|
|
518
|
+
}
|
|
519
|
+
interface AXPKpiSegmentedData {
|
|
520
|
+
title?: string | AXPMultiLanguageString;
|
|
521
|
+
icon?: string;
|
|
522
|
+
segments: AXPKpiSegmentItem[];
|
|
523
|
+
}
|
|
524
|
+
interface AXPKpiDetailItem {
|
|
525
|
+
label: string | AXPMultiLanguageString;
|
|
526
|
+
value: string | number | AXPMultiLanguageString;
|
|
527
|
+
color?: string;
|
|
528
|
+
}
|
|
529
|
+
interface AXPKpiDetailsData {
|
|
530
|
+
title?: string | AXPMultiLanguageString;
|
|
531
|
+
value?: number | string;
|
|
532
|
+
valuePrefix?: string | AXPMultiLanguageString;
|
|
533
|
+
valueSuffix?: string | AXPMultiLanguageString;
|
|
534
|
+
subtitle?: string | AXPMultiLanguageString;
|
|
535
|
+
details: AXPKpiDetailItem[];
|
|
536
|
+
format?: AXPKpiTextValueFormat;
|
|
654
537
|
}
|
|
655
538
|
|
|
656
|
-
declare
|
|
539
|
+
declare class AXPKpiProgressWidgetViewComponent extends AXPBaseWidgetComponent {
|
|
540
|
+
private readonly dataService;
|
|
541
|
+
private readonly translationService;
|
|
542
|
+
private readonly mlResolver;
|
|
543
|
+
protected readonly model: _angular_core.WritableSignal<AXPKpiProgressData>;
|
|
544
|
+
protected readonly localized: _angular_core.WritableSignal<{
|
|
545
|
+
title: string;
|
|
546
|
+
valuePrefix: string;
|
|
547
|
+
valueSuffix: string;
|
|
548
|
+
subtitle: string;
|
|
549
|
+
targetValue: string;
|
|
550
|
+
}>;
|
|
551
|
+
private readonly dataSource;
|
|
552
|
+
protected readonly progressPercent: _angular_core.Signal<number>;
|
|
553
|
+
protected readonly formattedValue: _angular_core.Signal<string>;
|
|
554
|
+
private readonly optionsEffect;
|
|
555
|
+
private readonly localizationEffect;
|
|
556
|
+
private readonly dataLoadEffect;
|
|
557
|
+
protected resolveText(value: unknown): Promise<string>;
|
|
558
|
+
protected normalizePercent(value: number): number;
|
|
559
|
+
protected formatValue(value: unknown, format?: AXPKpiProgressData['format']): string;
|
|
560
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPKpiProgressWidgetViewComponent, never>;
|
|
561
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPKpiProgressWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
declare const AXPKpiProgressWidget: AXPWidgetConfig;
|
|
657
565
|
declare module '@acorex/platform/layout/widget-core' {
|
|
658
566
|
interface AXPWidgetTypesMap {
|
|
659
|
-
|
|
567
|
+
kpiProgress: 'kpi-progress';
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
interface AXPKpiSegmentViewItem {
|
|
572
|
+
label: string;
|
|
573
|
+
value: number;
|
|
574
|
+
color: string;
|
|
575
|
+
percent: number;
|
|
576
|
+
}
|
|
577
|
+
declare class AXPKpiSegmentedWidgetViewComponent extends AXPBaseWidgetComponent {
|
|
578
|
+
private readonly dataService;
|
|
579
|
+
private readonly translationService;
|
|
580
|
+
private readonly mlResolver;
|
|
581
|
+
protected readonly model: _angular_core.WritableSignal<AXPKpiSegmentedData>;
|
|
582
|
+
protected readonly title: _angular_core.WritableSignal<string>;
|
|
583
|
+
protected readonly segments: _angular_core.WritableSignal<AXPKpiSegmentViewItem[]>;
|
|
584
|
+
private readonly dataSource;
|
|
585
|
+
private readonly optionsEffect;
|
|
586
|
+
private readonly transformEffect;
|
|
587
|
+
private readonly dataLoadEffect;
|
|
588
|
+
protected trackByLabel(_: number, item: AXPKpiSegmentViewItem): string;
|
|
589
|
+
private resolveSegments;
|
|
590
|
+
private getPaletteColor;
|
|
591
|
+
private resolveText;
|
|
592
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPKpiSegmentedWidgetViewComponent, never>;
|
|
593
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPKpiSegmentedWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
declare const AXPKpiSegmentedWidget: AXPWidgetConfig;
|
|
597
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
598
|
+
interface AXPWidgetTypesMap {
|
|
599
|
+
kpiSegmented: 'kpi-segmented';
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
interface AXPKpiDetailViewItem {
|
|
604
|
+
label: string;
|
|
605
|
+
value: string;
|
|
606
|
+
color?: string;
|
|
607
|
+
}
|
|
608
|
+
declare class AXPKpiDetailsWidgetViewComponent extends AXPBaseWidgetComponent {
|
|
609
|
+
private readonly dataService;
|
|
610
|
+
private readonly translationService;
|
|
611
|
+
private readonly mlResolver;
|
|
612
|
+
protected readonly model: _angular_core.WritableSignal<AXPKpiDetailsData>;
|
|
613
|
+
protected readonly localized: _angular_core.WritableSignal<{
|
|
614
|
+
title: string;
|
|
615
|
+
subtitle: string;
|
|
616
|
+
valuePrefix: string;
|
|
617
|
+
valueSuffix: string;
|
|
618
|
+
}>;
|
|
619
|
+
protected readonly detailItems: _angular_core.WritableSignal<AXPKpiDetailViewItem[]>;
|
|
620
|
+
private readonly dataSource;
|
|
621
|
+
protected readonly formattedValue: _angular_core.Signal<string>;
|
|
622
|
+
private readonly optionsEffect;
|
|
623
|
+
private readonly localizationEffect;
|
|
624
|
+
private readonly dataLoadEffect;
|
|
625
|
+
protected trackByLabel(_: number, item: AXPKpiDetailViewItem): string;
|
|
626
|
+
private resolveDetails;
|
|
627
|
+
private resolveText;
|
|
628
|
+
private formatValue;
|
|
629
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPKpiDetailsWidgetViewComponent, never>;
|
|
630
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPKpiDetailsWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
declare const AXPKpiDetailsWidget: AXPWidgetConfig;
|
|
634
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
635
|
+
interface AXPWidgetTypesMap {
|
|
636
|
+
kpiDetails: 'kpi-details';
|
|
660
637
|
}
|
|
661
638
|
}
|
|
662
639
|
|
|
@@ -1146,5 +1123,207 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
1146
1123
|
}
|
|
1147
1124
|
}
|
|
1148
1125
|
|
|
1149
|
-
|
|
1150
|
-
|
|
1126
|
+
declare class AXMClockWidgetViewComponent extends AXPLayoutBaseWidgetComponent implements AfterViewInit, OnDestroy {
|
|
1127
|
+
private readonly regionalService;
|
|
1128
|
+
private readonly elementRef;
|
|
1129
|
+
private userTimezone;
|
|
1130
|
+
private containerWidth;
|
|
1131
|
+
private containerHeight;
|
|
1132
|
+
private resizeObserver;
|
|
1133
|
+
constructor();
|
|
1134
|
+
ngAfterViewInit(): void;
|
|
1135
|
+
ngOnDestroy(): void;
|
|
1136
|
+
private setupResizeObserver;
|
|
1137
|
+
private loadUserTimezone;
|
|
1138
|
+
timezone: _angular_core.Signal<AXPTimeZone | null>;
|
|
1139
|
+
others: _angular_core.Signal<AXPTimeZone[]>;
|
|
1140
|
+
isHorizontal: _angular_core.Signal<boolean>;
|
|
1141
|
+
hasEnoughSpaceForHorizontal: _angular_core.Signal<boolean>;
|
|
1142
|
+
codeFontSize: _angular_core.Signal<number>;
|
|
1143
|
+
abbrFontSize: _angular_core.Signal<number>;
|
|
1144
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMClockWidgetViewComponent, never>;
|
|
1145
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMClockWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
declare const AXPAnalogClockWidget: AXPWidgetConfig;
|
|
1149
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
1150
|
+
interface AXPWidgetTypesMap {
|
|
1151
|
+
analogClock: 'analog-clock';
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
interface AXMClockMark {
|
|
1156
|
+
transform?: string;
|
|
1157
|
+
top?: string;
|
|
1158
|
+
left?: string;
|
|
1159
|
+
value?: number;
|
|
1160
|
+
}
|
|
1161
|
+
declare class AXMAnalogClockComponent implements OnInit, OnDestroy {
|
|
1162
|
+
timezone: _angular_core.InputSignal<string | undefined>;
|
|
1163
|
+
classes: _angular_core.InputSignal<string | undefined>;
|
|
1164
|
+
showNumbers: _angular_core.InputSignal<boolean>;
|
|
1165
|
+
private readonly currentTime;
|
|
1166
|
+
private readonly timeParts;
|
|
1167
|
+
constructor();
|
|
1168
|
+
readonly hourHandTransform: _angular_core.Signal<string>;
|
|
1169
|
+
readonly minuteHandTransform: _angular_core.Signal<string>;
|
|
1170
|
+
readonly secondHandTransform: _angular_core.Signal<string>;
|
|
1171
|
+
hourLines: AXMClockMark[];
|
|
1172
|
+
hourNumbers: AXMClockMark[];
|
|
1173
|
+
dots: AXMClockMark[];
|
|
1174
|
+
private timerId?;
|
|
1175
|
+
ngOnInit(): void;
|
|
1176
|
+
ngOnDestroy(): void;
|
|
1177
|
+
private createClockMarks;
|
|
1178
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMAnalogClockComponent, never>;
|
|
1179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMAnalogClockComponent, "axm-analog-clock", never, { "timezone": { "alias": "timezone"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "showNumbers": { "alias": "showNumbers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* ACoreX Clock Calendar Widget Types
|
|
1184
|
+
* Contains all types and interfaces for the Clock Calendar widget
|
|
1185
|
+
*/
|
|
1186
|
+
/**
|
|
1187
|
+
* Clock layout display options
|
|
1188
|
+
*/
|
|
1189
|
+
type AXPClockLayout = 'both' | 'digital' | 'analog';
|
|
1190
|
+
/**
|
|
1191
|
+
* Clock timezone options
|
|
1192
|
+
*/
|
|
1193
|
+
interface AXPTimezoneOption {
|
|
1194
|
+
id: string;
|
|
1195
|
+
title: string;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* Date format options
|
|
1199
|
+
*/
|
|
1200
|
+
interface AXPDateFormatOption {
|
|
1201
|
+
id: string;
|
|
1202
|
+
title: string;
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* Hour number definition for the analog clock
|
|
1206
|
+
*/
|
|
1207
|
+
interface AXPHourNumber {
|
|
1208
|
+
number: number;
|
|
1209
|
+
angle: number;
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* Widget options for configuring the clock-calendar
|
|
1213
|
+
*/
|
|
1214
|
+
interface AXPClockCalendarOptions {
|
|
1215
|
+
displayLayout?: AXPClockLayout;
|
|
1216
|
+
showDate?: boolean;
|
|
1217
|
+
showDayOfWeek?: boolean;
|
|
1218
|
+
use24Hour?: boolean;
|
|
1219
|
+
showSeconds?: boolean;
|
|
1220
|
+
showHourMarkers?: boolean;
|
|
1221
|
+
dateFormat?: string;
|
|
1222
|
+
timezone?: string;
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* Common timezone options for the widget configuration
|
|
1226
|
+
*/
|
|
1227
|
+
declare const AXP_TIMEZONE_OPTIONS: AXPTimezoneOption[];
|
|
1228
|
+
/**
|
|
1229
|
+
* Common date format options for the widget configuration
|
|
1230
|
+
*/
|
|
1231
|
+
declare const AXP_DATE_FORMAT_OPTIONS: AXPDateFormatOption[];
|
|
1232
|
+
|
|
1233
|
+
declare class AXPClockCalendarWidgetViewComponent extends AXPValueWidgetComponent implements OnInit, OnDestroy {
|
|
1234
|
+
private readonly cdr;
|
|
1235
|
+
protected currentTime: Date;
|
|
1236
|
+
protected currentDate: Date;
|
|
1237
|
+
private clockSubscription;
|
|
1238
|
+
protected readonly clockHours: number[];
|
|
1239
|
+
protected readonly clockHourNumbers: AXPHourNumber[];
|
|
1240
|
+
protected hourRotation: number;
|
|
1241
|
+
protected minuteRotation: number;
|
|
1242
|
+
protected secondRotation: number;
|
|
1243
|
+
protected readonly displayLayout: Signal<string>;
|
|
1244
|
+
protected readonly showDigitalClock: Signal<boolean>;
|
|
1245
|
+
protected readonly showAnalogClock: Signal<boolean>;
|
|
1246
|
+
protected readonly showDate: Signal<boolean>;
|
|
1247
|
+
protected readonly showDayOfWeek: Signal<boolean>;
|
|
1248
|
+
protected readonly use24Hour: Signal<boolean>;
|
|
1249
|
+
protected readonly showSeconds: Signal<boolean>;
|
|
1250
|
+
protected readonly dateFormat: Signal<string>;
|
|
1251
|
+
protected readonly timezone: Signal<string>;
|
|
1252
|
+
protected readonly displayTimezone: Signal<string>;
|
|
1253
|
+
protected readonly timeFormat: Signal<string>;
|
|
1254
|
+
ngOnInit(): void;
|
|
1255
|
+
ngOnDestroy(): void;
|
|
1256
|
+
private startClockTimer;
|
|
1257
|
+
private stopClockTimer;
|
|
1258
|
+
private updateTime;
|
|
1259
|
+
private getAdjustedTime;
|
|
1260
|
+
private updateClockHandsRotation;
|
|
1261
|
+
protected initializeWidget(): void;
|
|
1262
|
+
protected updateWidget(): void;
|
|
1263
|
+
protected destroyWidget(): void;
|
|
1264
|
+
protected getDayOfWeek(): string;
|
|
1265
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPClockCalendarWidgetViewComponent, never>;
|
|
1266
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPClockCalendarWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare const AXPClockCalendarWidget: AXPWidgetConfig;
|
|
1270
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
1271
|
+
interface AXPWidgetTypesMap {
|
|
1272
|
+
clockCalendar: 'clock-calendar';
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
interface AXPShortcutItem {
|
|
1277
|
+
name: string;
|
|
1278
|
+
title: string;
|
|
1279
|
+
description?: string;
|
|
1280
|
+
icon: string;
|
|
1281
|
+
command: AXPExecuteCommand;
|
|
1282
|
+
}
|
|
1283
|
+
declare class AXPDashboardShortcutWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
1284
|
+
private popupService;
|
|
1285
|
+
private workflow;
|
|
1286
|
+
private searchConfig;
|
|
1287
|
+
protected item: _angular_core.Signal<AXPShortcutItem>;
|
|
1288
|
+
protected color: _angular_core.Signal<string>;
|
|
1289
|
+
ngOnInit(): void;
|
|
1290
|
+
protected executeCommand(): Promise<void>;
|
|
1291
|
+
protected setCommand(): Promise<void>;
|
|
1292
|
+
private get __style();
|
|
1293
|
+
private get __class();
|
|
1294
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDashboardShortcutWidgetViewComponent, never>;
|
|
1295
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDashboardShortcutWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
declare const AXPDashboardShortcutWidget: AXPWidgetConfig;
|
|
1299
|
+
|
|
1300
|
+
declare class AXPStickyNoteWidgetViewComponent extends AXPValueWidgetComponent<string> implements OnInit {
|
|
1301
|
+
protected isEditing: _angular_core.WritableSignal<boolean>;
|
|
1302
|
+
private wysiwyg;
|
|
1303
|
+
protected value: _angular_core.WritableSignal<string>;
|
|
1304
|
+
protected date: _angular_core.Signal<any>;
|
|
1305
|
+
protected bgColor: _angular_core.Signal<any>;
|
|
1306
|
+
protected color: _angular_core.WritableSignal<string>;
|
|
1307
|
+
private el;
|
|
1308
|
+
protected colorPresets: string[];
|
|
1309
|
+
handleClickOutside(event: MouseEvent): void;
|
|
1310
|
+
protected activateEdit(): void;
|
|
1311
|
+
protected saveChanges(): void;
|
|
1312
|
+
protected setColor(color: string): void;
|
|
1313
|
+
protected valueChange(event: AXValueChangedEvent<any>): void;
|
|
1314
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPStickyNoteWidgetViewComponent, never>;
|
|
1315
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPStickyNoteWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
declare const AXPStickyNoteWidget: AXPWidgetConfig;
|
|
1319
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
1320
|
+
interface AXPWidgetTypesMap {
|
|
1321
|
+
stickyNote: 'sticky-note';
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
declare const AXP_WIDGETS_CHART_CATEGORY: AXPWidgetCategory;
|
|
1326
|
+
declare const AXP_WIDGETS_UTILITY_CATEGORY: AXPWidgetCategory;
|
|
1327
|
+
|
|
1328
|
+
export { AXMAddDashboardPopup, AXMAdvancedWeatherViewComponent, AXMAnalogClockComponent, AXMClockWidgetViewComponent, AXMConfigurationPopup, AXMDashboardEntityModule, AXMDashboardHomeComponent, AXMDashboardManagementModule, AXMDashboardPopupService, AXMDashboardService, AXMDashboardServiceImpl, AXMDashboardStore, AXMDashboardWidgetWrapperComponent, AXMMinimalWeatherViewComponent, AXPAdvancedWeatherWidget, AXPAnalogClockWidget, AXPBarChartWidget, AXPBarChartWidgetViewComponent, AXPClockCalendarWidget, AXPClockCalendarWidgetViewComponent, AXPDashboardShortcutWidget, AXPDashboardShortcutWidgetViewComponent, AXPDonutChartWidget, AXPDonutChartWidgetViewComponent, AXPGaugeChartWidget, AXPGaugeChartWidgetViewComponent, AXPHomeDashboardSetting, AXPKpiDetailsWidget, AXPKpiDetailsWidgetViewComponent, AXPKpiProgressWidget, AXPKpiProgressWidgetViewComponent, AXPKpiSegmentedWidget, AXPKpiSegmentedWidgetViewComponent, AXPLineChartWidget, AXPLineChartWidgetViewComponent, AXPMinimalWeatherWidget, AXPStickyNoteWidget, AXPStickyNoteWidgetViewComponent, AXPWeatherApiAbstract, AXPWeatherApiMockService, AXPWeatherApiService, AXPWeatherWidget, AXPWeatherWidgetViewComponent, AXP_DATE_FORMAT_OPTIONS, AXP_TIMEZONE_OPTIONS, AXP_WIDGETS_CHART_CATEGORY, AXP_WIDGETS_UTILITY_CATEGORY, RootConfig, dashboardFactory };
|
|
1329
|
+
export type { AXMCommonDashboardEntityModel, AXMDashboardBreakpoint, AXMDashboardLayout, AXMDashboardWidgetData, AXMDashboardWidgetLayoutMap, AXPClockCalendarOptions, AXPClockLayout, AXPDateFormatOption, AXPHourNumber, AXPKpiDetailItem, AXPKpiDetailsData, AXPKpiProgressData, AXPKpiSegmentItem, AXPKpiSegmentedData, AXPKpiTextValueFormat, AXPShortcutItem, AXPTimezoneOption, AXPWeatherCondition, AXPWeatherConditionDisplay, AXPWeatherData, AXPWeatherForecastDay, AXPWeatherHour, AXPWeatherLocation, AXPWeatherRequestOptions };
|