@acorex/platform 21.0.0-next.71 → 21.0.0-next.73
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/contracts/README.md +3 -0
- package/fesm2022/acorex-platform-auth.mjs +82 -60
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-Bi1RYif5.mjs → acorex-platform-common-common-settings.provider-Ytey9uhY.mjs} +15 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-Ytey9uhY.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +3796 -1677
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-contracts.mjs +10 -0
- package/fesm2022/acorex-platform-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-core.mjs +1126 -114
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +56 -170
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +254 -53
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +199 -126
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-entity-attachments-page.component-D8iQnT-R.mjs → acorex-platform-layout-entity-attachments-page.component-B0EkdqvH.mjs} +6 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-B0EkdqvH.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +403 -460
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +675 -301
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +126 -75
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-BcpRkpJp.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs} +2 -2
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-BcpRkpJp.mjs.map → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DQtK4lxl.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-gX-3Kx9I.mjs} +2 -2
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DQtK4lxl.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-gX-3Kx9I.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +450 -750
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-B1nsdpTY.mjs +48 -0
- package/fesm2022/acorex-platform-themes-default-error-401.component-B1nsdpTY.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-D4UvRe8u.mjs +42 -0
- package/fesm2022/acorex-platform-themes-default-error-404.component-D4UvRe8u.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +79 -35
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +3 -0
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +57 -54
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +5 -1
- package/types/acorex-platform-auth.d.ts +31 -22
- package/types/acorex-platform-common.d.ts +892 -259
- package/types/acorex-platform-contracts.d.ts +39 -0
- package/types/acorex-platform-core.d.ts +291 -47
- package/types/acorex-platform-layout-builder.d.ts +10 -22
- package/types/acorex-platform-layout-components.d.ts +86 -14
- package/types/acorex-platform-layout-entity.d.ts +218 -212
- package/types/acorex-platform-layout-views.d.ts +125 -67
- package/types/acorex-platform-layout-widget-core.d.ts +56 -62
- package/types/acorex-platform-layout-widgets.d.ts +78 -65
- package/types/acorex-platform-themes-default.d.ts +14 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-D8iQnT-R.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs +0 -31
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs +0 -25
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +0 -1
|
@@ -12,6 +12,7 @@ import * as _acorex_platform_common from '@acorex/platform/common';
|
|
|
12
12
|
import { AXPCommandActionCallback, AXPClipBoardService, AXPDateTimeFilterValue, AXPDateTimeFilterPreset, AXPFilterOperator, AXPLanguage, AXCFileUploaderAction, AXCFileUploaderCapabilities, AXPStatusDefinition, AXPStatusTransition, AXPStatusProvider } from '@acorex/platform/common';
|
|
13
13
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
14
14
|
import { AXPDragDropListItem, AXPOutcomeResultsViewModel, ItemConfiguratorListItem, AXPTableColumnDefinition } from '@acorex/platform/layout/components';
|
|
15
|
+
import { AXPAddressMode, AXPAddressLabel, AXPAddressData } from '@acorex/platform/contracts';
|
|
15
16
|
import { AXCalendarViewType } from '@acorex/components/calendar';
|
|
16
17
|
import { AXValidationService } from '@acorex/core/validation';
|
|
17
18
|
import { ImageToolConfig, EditorJsTool } from '@acorex/components/editor';
|
|
@@ -731,43 +732,6 @@ interface AXPContactWidgetOptions {
|
|
|
731
732
|
|
|
732
733
|
declare const AXPAddressWidget: AXPWidgetConfig;
|
|
733
734
|
|
|
734
|
-
/**
|
|
735
|
-
* Address mode type - determines the display mode of the address widget
|
|
736
|
-
* - simple: single text input for full address (one line)
|
|
737
|
-
* - popup: readonly summary + button to edit in popup dialog
|
|
738
|
-
* - expandable: expandable panel — collapsed shows full address, expanded shows inline form
|
|
739
|
-
*/
|
|
740
|
-
type AXPAddressMode = 'simple' | 'popup' | 'expandable';
|
|
741
|
-
/**
|
|
742
|
-
* Address label option
|
|
743
|
-
*/
|
|
744
|
-
interface AXPAddressLabel {
|
|
745
|
-
id: string;
|
|
746
|
-
name: string;
|
|
747
|
-
}
|
|
748
|
-
/**
|
|
749
|
-
* Address data structure
|
|
750
|
-
*/
|
|
751
|
-
interface AXPAddressData {
|
|
752
|
-
street1: string;
|
|
753
|
-
street2?: string;
|
|
754
|
-
postalCode?: string;
|
|
755
|
-
coordinates?: string;
|
|
756
|
-
full: string;
|
|
757
|
-
label?: string;
|
|
758
|
-
country?: {
|
|
759
|
-
id?: string;
|
|
760
|
-
title?: string;
|
|
761
|
-
};
|
|
762
|
-
state?: {
|
|
763
|
-
id?: string;
|
|
764
|
-
title?: string;
|
|
765
|
-
};
|
|
766
|
-
city?: {
|
|
767
|
-
id?: string;
|
|
768
|
-
title?: string;
|
|
769
|
-
};
|
|
770
|
-
}
|
|
771
735
|
/**
|
|
772
736
|
* Address widget designer options
|
|
773
737
|
*/
|
|
@@ -986,7 +950,7 @@ interface AXPDateTimeFilterPresetItem {
|
|
|
986
950
|
id: string;
|
|
987
951
|
title: string;
|
|
988
952
|
}
|
|
989
|
-
declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<string |
|
|
953
|
+
declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<string | AXPDateTimeFilterValue> implements AfterViewInit {
|
|
990
954
|
#private;
|
|
991
955
|
protected validationService: AXValidationService;
|
|
992
956
|
private settingsService;
|
|
@@ -998,7 +962,6 @@ declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<
|
|
|
998
962
|
protected resolvedPresets: Signal<AXPDateTimeFilterPreset[]>;
|
|
999
963
|
protected filterOperations: Signal<AXPFilterOperator[] | undefined>;
|
|
1000
964
|
protected selectedManualPreset: Signal<AXPDateTimeFilterPreset | undefined>;
|
|
1001
|
-
protected multiple: Signal<boolean>;
|
|
1002
965
|
protected clearButton: Signal<boolean>;
|
|
1003
966
|
protected minValue: Signal<string>;
|
|
1004
967
|
protected maxValue: Signal<string>;
|
|
@@ -1009,7 +972,6 @@ declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<
|
|
|
1009
972
|
protected format: Signal<"date" | "time" | "datetime">;
|
|
1010
973
|
/** Passed to `ax-datetime-box` `[depth]` (`AXCalendarViewType`). */
|
|
1011
974
|
protected inputDepth: Signal<AXCalendarViewType | undefined>;
|
|
1012
|
-
protected internalValue: Signal<string[]>;
|
|
1013
975
|
protected filterValue: Signal<Date | ''>;
|
|
1014
976
|
protected filterRangeValue: Signal<{
|
|
1015
977
|
from: Date | '';
|
|
@@ -1030,9 +992,7 @@ declare class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent<
|
|
|
1030
992
|
protected calendarFormat: WritableSignal<string>;
|
|
1031
993
|
constructor();
|
|
1032
994
|
ngAfterViewInit(): void;
|
|
1033
|
-
protected handleValueChange(e: AXValueChangedEvent
|
|
1034
|
-
protected addItem(): void;
|
|
1035
|
-
protected deleteItem(i: number): void;
|
|
995
|
+
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
1036
996
|
protected handlePresetChange(e: AXValueChangedEvent): void;
|
|
1037
997
|
protected handleOperationChange(operationType: unknown): void;
|
|
1038
998
|
protected handleFilterValueChange(e: AXValueChangedEvent, type: 'from' | 'to' | 'self'): void;
|
|
@@ -1134,7 +1094,7 @@ declare class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent
|
|
|
1134
1094
|
|
|
1135
1095
|
declare class AXPLargeTextWidgetEditComponent extends AXPValueWidgetComponent<string | Record<string, string> | undefined> {
|
|
1136
1096
|
protected multiple: _angular_core.Signal<boolean>;
|
|
1137
|
-
protected
|
|
1097
|
+
protected effectiveMultiLanguage: _angular_core.Signal<boolean>;
|
|
1138
1098
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1139
1099
|
protected clearButton: _angular_core.Signal<boolean>;
|
|
1140
1100
|
protected placeholder: _angular_core.Signal<string>;
|
|
@@ -1143,7 +1103,6 @@ declare class AXPLargeTextWidgetEditComponent extends AXPValueWidgetComponent<st
|
|
|
1143
1103
|
private popupService;
|
|
1144
1104
|
private translationService;
|
|
1145
1105
|
private readonly currentLanguage;
|
|
1146
|
-
ngOnInit(): void;
|
|
1147
1106
|
handleValueChange(e: AXValueChangedEvent): void;
|
|
1148
1107
|
protected openMultiLanguagePopup(): void;
|
|
1149
1108
|
protected getCurrentText: _angular_core.Signal<string>;
|
|
@@ -1327,7 +1286,10 @@ interface AXPNumberBoxWidgetOptions {
|
|
|
1327
1286
|
declare class AXPPasswordBoxWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
1328
1287
|
protected hasEyeIcon: any;
|
|
1329
1288
|
protected showPassword: any;
|
|
1289
|
+
protected textDirection: _angular_core.Signal<"ltr" | "rtl">;
|
|
1330
1290
|
protected show: _angular_core.WritableSignal<boolean>;
|
|
1291
|
+
protected get hostDir(): 'ltr' | 'rtl';
|
|
1292
|
+
protected get hostDirection(): 'ltr' | 'rtl';
|
|
1331
1293
|
toggleEye(): void;
|
|
1332
1294
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPasswordBoxWidgetColumnComponent, never>;
|
|
1333
1295
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPasswordBoxWidgetColumnComponent, "axp-password-box-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1336,6 +1298,9 @@ declare class AXPPasswordBoxWidgetColumnComponent extends AXPColumnWidgetCompone
|
|
|
1336
1298
|
declare class AXPPasswordBoxWidgetEditComponent extends AXPValueWidgetComponent<string> {
|
|
1337
1299
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1338
1300
|
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
1301
|
+
protected textDirection: _angular_core.Signal<"ltr" | "rtl">;
|
|
1302
|
+
protected get hostDir(): 'ltr' | 'rtl';
|
|
1303
|
+
protected get hostDirection(): 'ltr' | 'rtl';
|
|
1339
1304
|
private get __class();
|
|
1340
1305
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPasswordBoxWidgetEditComponent, never>;
|
|
1341
1306
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPPasswordBoxWidgetEditComponent, "axp-password-box-widget-edit", never, {}, {}, never, never, true, never>;
|
|
@@ -1346,6 +1311,7 @@ declare class AXPPasswordBoxWidgetViewComponent extends AXPValueWidgetComponent<
|
|
|
1346
1311
|
protected hasCopyIcon: _angular_core.Signal<boolean>;
|
|
1347
1312
|
protected hasEyeIcon: _angular_core.Signal<boolean>;
|
|
1348
1313
|
protected showPassword: _angular_core.Signal<boolean>;
|
|
1314
|
+
protected textDirection: _angular_core.Signal<"ltr" | "rtl">;
|
|
1349
1315
|
protected show: _angular_core.WritableSignal<boolean>;
|
|
1350
1316
|
protected clipboard: AXPClipBoardService;
|
|
1351
1317
|
toggleEye(): void;
|
|
@@ -1536,19 +1502,22 @@ declare class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetComponent<
|
|
|
1536
1502
|
}
|
|
1537
1503
|
|
|
1538
1504
|
declare class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent<string | Record<string, string> | undefined> {
|
|
1505
|
+
#private;
|
|
1506
|
+
private readonly popupService;
|
|
1507
|
+
private readonly translationService;
|
|
1508
|
+
private readonly wysiwygRef;
|
|
1539
1509
|
protected placeholder: _angular_core.Signal<string>;
|
|
1540
1510
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1541
1511
|
protected readonly: _angular_core.Signal<boolean>;
|
|
1542
|
-
protected
|
|
1512
|
+
protected effectiveMultiLanguage: _angular_core.Signal<boolean>;
|
|
1543
1513
|
protected minLineCount: _angular_core.Signal<number>;
|
|
1544
1514
|
protected maxLineCount: _angular_core.Signal<number>;
|
|
1545
|
-
protected onWysiwygChanged(e: AXValueChangedEvent<string>): void;
|
|
1546
|
-
private popupService;
|
|
1547
|
-
private translationService;
|
|
1548
|
-
currentLanguage: _angular_core.Signal<string>;
|
|
1549
|
-
ngOnInit(): void;
|
|
1550
1515
|
protected getCurrentText: _angular_core.Signal<string>;
|
|
1516
|
+
currentLanguage: _angular_core.Signal<string>;
|
|
1517
|
+
protected onWysiwygChanged(e: AXValueChangedEvent<string>): void;
|
|
1551
1518
|
protected openMultiLanguagePopup(): Promise<void>;
|
|
1519
|
+
private shouldSyncWysiwygFromContext;
|
|
1520
|
+
private applyWysiwygContentWhenReady;
|
|
1552
1521
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRichTextWidgetEditComponent, never>;
|
|
1553
1522
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPRichTextWidgetEditComponent, "axp-rich-text-widget-edit", never, {}, {}, never, never, true, never>;
|
|
1554
1523
|
}
|
|
@@ -1659,7 +1628,6 @@ declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent
|
|
|
1659
1628
|
private lastDataSource;
|
|
1660
1629
|
private hasSeenDataSource;
|
|
1661
1630
|
private shouldFocus;
|
|
1662
|
-
eff: _angular_core.EffectRef;
|
|
1663
1631
|
focus(): void;
|
|
1664
1632
|
protected outputs(): (string | {
|
|
1665
1633
|
name: string;
|
|
@@ -1771,8 +1739,11 @@ declare class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetCompo
|
|
|
1771
1739
|
protected look: _angular_core.Signal<AXSelectionListLook>;
|
|
1772
1740
|
protected showControl: _angular_core.Signal<boolean>;
|
|
1773
1741
|
protected imageMode: _angular_core.Signal<boolean>;
|
|
1742
|
+
protected imageField: _angular_core.Signal<string>;
|
|
1774
1743
|
protected displayItems: _angular_core.WritableSignal<any[]>;
|
|
1775
1744
|
private ef;
|
|
1745
|
+
protected resolveItemImage(item: unknown): string;
|
|
1746
|
+
protected resolveItemAlt(item: unknown): string;
|
|
1776
1747
|
protected handleValueChange(e: AXValueChangedEvent): void;
|
|
1777
1748
|
private get __class();
|
|
1778
1749
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectionListWidgetEditComponent, never>;
|
|
@@ -1781,6 +1752,8 @@ declare class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetCompo
|
|
|
1781
1752
|
|
|
1782
1753
|
declare class AXPSelectionListWidgetViewComponent extends AXPDataListWidgetComponent {
|
|
1783
1754
|
protected imageMode: _angular_core.Signal<boolean>;
|
|
1755
|
+
protected imageField: _angular_core.Signal<string>;
|
|
1756
|
+
protected resolveItemImage(item: Record<string, unknown>): string;
|
|
1784
1757
|
private get __class();
|
|
1785
1758
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectionListWidgetViewComponent, never>;
|
|
1786
1759
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectionListWidgetViewComponent, "axp-selection-list-widget-view", never, {}, {}, never, never, true, never>;
|
|
@@ -1812,6 +1785,8 @@ interface AXPSelectionListWidgetEditOptions {
|
|
|
1812
1785
|
look?: AXSelectionListLook;
|
|
1813
1786
|
showControl?: boolean;
|
|
1814
1787
|
imageMode?: boolean;
|
|
1788
|
+
/** Image URL field when `imageMode` is true; defaults to `textField`. */
|
|
1789
|
+
imageField?: string;
|
|
1815
1790
|
}
|
|
1816
1791
|
interface AXPSelectionListWidgetColumnOptions {
|
|
1817
1792
|
valueField?: any;
|
|
@@ -1986,7 +1961,7 @@ declare class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent<s
|
|
|
1986
1961
|
declare class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent<string | Record<string, string> | undefined> {
|
|
1987
1962
|
private popupService;
|
|
1988
1963
|
private translationService;
|
|
1989
|
-
protected
|
|
1964
|
+
protected effectiveMultiLanguage: _angular_core.Signal<boolean>;
|
|
1990
1965
|
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
1991
1966
|
protected disabled: _angular_core.Signal<boolean>;
|
|
1992
1967
|
protected readonly: _angular_core.Signal<boolean>;
|
|
@@ -2756,8 +2731,31 @@ declare class AXPMapWidgetViewComponent extends AXPValueWidgetComponent<AXMapDat
|
|
|
2756
2731
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPMapWidgetViewComponent, "axp-map-box-widget-view", never, {}, {}, never, never, true, never>;
|
|
2757
2732
|
}
|
|
2758
2733
|
|
|
2759
|
-
|
|
2734
|
+
/**
|
|
2735
|
+
* Opens the system print dialog for the QR code SVG inside the given container.
|
|
2736
|
+
*/
|
|
2737
|
+
declare function printQrcodeFromElement(container: HTMLElement, size: number): void;
|
|
2738
|
+
|
|
2739
|
+
interface AXPQrcodeViewerOpenOptions {
|
|
2740
|
+
content: string;
|
|
2741
|
+
size?: number;
|
|
2742
|
+
level?: AXQrcodeLevel;
|
|
2743
|
+
color?: string;
|
|
2744
|
+
outputType?: AXQrcodeOutputType;
|
|
2745
|
+
title?: string;
|
|
2746
|
+
}
|
|
2747
|
+
/**
|
|
2748
|
+
* Opens a read-only QR code preview dialog with print and cancel actions.
|
|
2749
|
+
*/
|
|
2750
|
+
declare class AXPQrcodeViewerService {
|
|
2760
2751
|
private readonly layoutBuilder;
|
|
2752
|
+
open(options: AXPQrcodeViewerOpenOptions): Promise<void>;
|
|
2753
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPQrcodeViewerService, never>;
|
|
2754
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPQrcodeViewerService>;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
declare class AXPQrcodeWidgetColumnComponent extends AXPColumnWidgetComponent<string> {
|
|
2758
|
+
private readonly qrcodeViewer;
|
|
2761
2759
|
size: _angular_core.Signal<number>;
|
|
2762
2760
|
level: _angular_core.Signal<AXQrcodeLevel>;
|
|
2763
2761
|
color: _angular_core.Signal<any>;
|
|
@@ -2793,11 +2791,13 @@ declare class AXPQrcodeWidgetEditComponent extends AXPValueWidgetComponent<strin
|
|
|
2793
2791
|
}
|
|
2794
2792
|
|
|
2795
2793
|
declare class AXPQrcodeWidgetViewComponent extends AXPValueWidgetComponent<string> {
|
|
2794
|
+
private readonly qrContainer;
|
|
2796
2795
|
protected size: _angular_core.Signal<number>;
|
|
2797
2796
|
protected level: _angular_core.Signal<AXQrcodeLevel>;
|
|
2798
2797
|
protected color: _angular_core.Signal<string>;
|
|
2799
2798
|
protected outputType: _angular_core.Signal<AXQrcodeOutputType>;
|
|
2800
2799
|
private get __class();
|
|
2800
|
+
api(): AXPWidgetCoreElementAPI;
|
|
2801
2801
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPQrcodeWidgetViewComponent, never>;
|
|
2802
2802
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPQrcodeWidgetViewComponent, "axp-qrcode-widget", never, {}, {}, never, never, true, never>;
|
|
2803
2803
|
}
|
|
@@ -2895,13 +2895,31 @@ declare class AXPSignatureWidgetColumnComponent extends AXPColumnWidgetComponent
|
|
|
2895
2895
|
declare class AXPSignatureWidgetEditComponent extends AXPValueWidgetComponent<string | null> {
|
|
2896
2896
|
#private;
|
|
2897
2897
|
protected disabled: _angular_core.Signal<boolean>;
|
|
2898
|
-
/** When true (default), show click overlay
|
|
2898
|
+
/** When true (default), show click-to-edit overlay over read-only paint. Set false when used inside a dialog. */
|
|
2899
2899
|
protected showOverlay: _angular_core.Signal<boolean>;
|
|
2900
|
-
/**
|
|
2900
|
+
/** Paint editMode: true hides pen/highlighter/eraser toolbars. */
|
|
2901
2901
|
protected editMode: _angular_core.Signal<boolean>;
|
|
2902
|
+
protected hasSignature: _angular_core.Signal<boolean>;
|
|
2903
|
+
protected showSignaturePreview: _angular_core.Signal<boolean>;
|
|
2904
|
+
protected showPaintSurface: _angular_core.Signal<boolean>;
|
|
2905
|
+
protected isInteracting: _angular_core.WritableSignal<boolean>;
|
|
2906
|
+
protected showEmptyHint: _angular_core.Signal<boolean>;
|
|
2907
|
+
protected showDialogHint: _angular_core.Signal<boolean>;
|
|
2908
|
+
protected showDesktopHover: _angular_core.Signal<boolean>;
|
|
2909
|
+
protected hovering: _angular_core.WritableSignal<boolean>;
|
|
2910
|
+
protected emptyHint: _angular_core.Signal<string>;
|
|
2911
|
+
protected signHereHint: _angular_core.Signal<string>;
|
|
2902
2912
|
protected paintContainer: _angular_core.Signal<AXPaintContainerComponent | undefined>;
|
|
2903
2913
|
protected paintView: _angular_core.Signal<AXPaintViewComponent | undefined>;
|
|
2904
|
-
private readonly
|
|
2914
|
+
private readonly signatureEditorService;
|
|
2915
|
+
private readonly deviceService;
|
|
2916
|
+
api(): AXPWidgetCoreElementAPI;
|
|
2917
|
+
protected clearSignaturePad(): void;
|
|
2918
|
+
protected handleMouseEnter(): void;
|
|
2919
|
+
protected handleMouseLeave(): void;
|
|
2920
|
+
protected handleSurfaceClick(event: MouseEvent): void;
|
|
2921
|
+
protected handleOverlayClick(event: MouseEvent): void;
|
|
2922
|
+
protected handleSurfacePointerDown(event: PointerEvent): void;
|
|
2905
2923
|
protected openEditor(): Promise<void>;
|
|
2906
2924
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSignatureWidgetEditComponent, never>;
|
|
2907
2925
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSignatureWidgetEditComponent, "axp-signature-pad-widget-edit", never, {}, {}, never, never, true, never>;
|
|
@@ -3244,18 +3262,12 @@ declare class AXPItemConfiguratorWidgetEditComponent extends AXPValueWidgetCompo
|
|
|
3244
3262
|
protected isInitialized: _angular_core.WritableSignal<boolean>;
|
|
3245
3263
|
/** True while syncing models from shared context (discard/load); writes use system origin. */
|
|
3246
3264
|
private readonly hydratingFromContext;
|
|
3247
|
-
private readonly baseline;
|
|
3248
|
-
private readonly isDirtySignal;
|
|
3249
3265
|
protected selectedItemIdModel: _angular_core.ModelSignal<string>;
|
|
3250
3266
|
protected valuesModel: _angular_core.ModelSignal<Record<string, unknown>>;
|
|
3251
3267
|
private loadNamedDataSourceEffect;
|
|
3252
3268
|
private syncValueToConfigurator;
|
|
3253
3269
|
private syncConfiguratorToValue;
|
|
3254
|
-
private evaluateDirty;
|
|
3255
|
-
api(): AXPWidgetCoreElementAPI;
|
|
3256
3270
|
private buildWidgetNode;
|
|
3257
|
-
private syncBaselineFromModels;
|
|
3258
|
-
private setDirtyState;
|
|
3259
3271
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPItemConfiguratorWidgetEditComponent, never>;
|
|
3260
3272
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPItemConfiguratorWidgetEditComponent, "axp-item-configurator-widget-edit", never, { "selectedItemIdModel": { "alias": "selectedItemIdModel"; "required": false; "isSignal": true; }; "valuesModel": { "alias": "valuesModel"; "required": false; "isSignal": true; }; }, { "selectedItemIdModel": "selectedItemIdModelChange"; "valuesModel": "valuesModelChange"; }, never, never, true, never>;
|
|
3261
3273
|
}
|
|
@@ -4916,6 +4928,7 @@ declare class AXPGridItemOptionsWidgetEditComponent extends AXPValueWidgetCompon
|
|
|
4916
4928
|
|
|
4917
4929
|
declare class AXPSpacingWidgetEditComponent extends AXPValueWidgetComponent<AXPSpacingBoxString> {
|
|
4918
4930
|
private ngZone;
|
|
4931
|
+
protected readonly toggleShortcutKeys: string[];
|
|
4919
4932
|
private isDragging;
|
|
4920
4933
|
protected calculatedValues: _angular_core.WritableSignal<AXPSpacingBox<number>>;
|
|
4921
4934
|
protected originalValues: _angular_core.WritableSignal<AXPSpacingBox<number>>;
|
|
@@ -5304,5 +5317,5 @@ declare class AXPGetWidgetsForAIQuery implements AXPQuery<AXPGetWidgetsForAIQuer
|
|
|
5304
5317
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGetWidgetsForAIQuery>;
|
|
5305
5318
|
}
|
|
5306
5319
|
|
|
5307
|
-
export { AXPAddressWidget, AXPAddressWidgetColumnComponent, AXPAddressWidgetEditComponent, AXPAddressWidgetService, AXPAddressWidgetViewComponent, AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetViewComponent, AXPBetweenExpressionValidationWidget, AXPBetweenValidationWidgetEditComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetColumnComponent, AXPButtonWidgetViewComponent, AXPCallbackValidationWidget, AXPCallbackValidationWidgetEditComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetColumnComponent, AXPCheckBoxWidgetDesignerComponent, AXPCheckBoxWidgetEditComponent, AXPCheckBoxWidgetViewComponent, AXPCodeEditorWidget, AXPCodeEditorWidgetColumnComponent, AXPCodeEditorWidgetEditComponent, AXPCodeEditorWidgetViewComponent, AXPColorBoxWidget, AXPColorBoxWidgetColumnComponent, AXPColorBoxWidgetDesignerComponent, AXPColorBoxWidgetEditComponent, AXPColorBoxWidgetViewComponent, AXPColorPaletteWidget, AXPColorPaletteWidgetColumnComponent, AXPColorPaletteWidgetDesignerComponent, AXPColorPaletteWidgetEditComponent, AXPColorPaletteWidgetViewComponent, AXPConditionBuilderWidget, AXPConditionBuilderWidgetEditComponent, AXPConditionBuilderWidgetViewComponent, AXPConnectedDragDropListsWidget, AXPConnectedListsWidgetColumnComponent, AXPConnectedListsWidgetEditComponent, AXPConnectedListsWidgetViewComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetViewComponent, AXPDataListWidget, AXPDataListWidgetViewComponent, AXPDataSourceOptionsWidget, AXPDataSourceOptionsWidgetEditComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetViewComponent, AXPDirectionWidget, AXPDirectionWidgetEditComponent, AXPDragDropListWidget, AXPEditorJsWidget, AXPEditorJsWidgetColumnComponent, AXPEditorJsWidgetEditComponent, AXPEditorJsWidgetViewComponent, AXPEqualValidationWidget, AXPEqualValidationWidgetEditComponent, AXPFieldsetWidget, AXPFieldsetWidgetDesignerComponent, AXPFieldsetWidgetViewComponent, AXPFlexItemOptionsWidget, AXPFlexItemOptionsWidgetEditComponent, AXPFlexItemWidget, AXPFlexItemWidgetDesignerComponent, AXPFlexItemWidgetViewComponent, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPFlexWidget, AXPFlexWidgetDesignerComponent, AXPFlexWidgetViewComponent, AXPGalleryWidget, AXPGalleryWidgetEditComponent, AXPGalleryWidgetViewComponent, AXPGetWidgetsForAIQuery, AXPGreaterThanExpressionValidationWidget, AXPGreaterThanValidationWidgetEditComponent, AXPGridItemOptionsWidget, AXPGridItemOptionsWidgetEditComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPImageMarkerPopupComponent, AXPImageMarkerWidget, AXPImageMarkerWidgetColumnComponent, AXPImageMarkerWidgetEditComponent, AXPImageMarkerWidgetViewComponent, AXPItemConfiguratorWidget, AXPItemConfiguratorWidgetColumnComponent, AXPItemConfiguratorWidgetEditComponent, AXPJsonViewerWidget, AXPJsonViewerWidgetEditComponent, AXPJsonViewerWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetViewComponent, AXPLessThanExpressionValidationWidget, AXPLessThanValidationWidgetEditComponent, AXPListWidgetColumnComponent, AXPListWidgetEditComponent, AXPListWidgetViewComponent, AXPMapWidgetEditComponent, AXPMapWidgetViewComponent, AXPMaxLengthExpressionValidationWidget, AXPMaxLengthValidationWidgetEditComponent, AXPMinLengthExpressionValidationWidget, AXPMinLengthValidationWidgetEditComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetViewComponent, AXPOutcomeResultsViewerWidget, AXPOutcomeResultsViewerWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetViewComponent, AXPProgressBarWidget, AXPProgressBarWidgetColumnComponent, AXPProgressBarWidgetEditComponent, AXPProgressBarWidgetViewComponent, AXPProviderSelectWidgetColumnComponent, AXPProviderSelectWidgetEditBase, AXPProviderSelectWidgetViewComponent, AXPQrcodeWidget, AXPQrcodeWidgetColumnComponent, AXPQrcodeWidgetEditComponent, AXPQrcodeWidgetViewComponent, AXPRatePickerWidget, AXPRatePickerWidgetColumnComponent, AXPRatePickerWidgetEditComponent, AXPRatePickerWidgetViewComponent, AXPRegularExpressionValidationWidget, AXPRegularExpressionValidationWidgetEditComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetViewComponent, AXPRequiredValidationWidget, AXPRequiredValidationWidgetEditComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetViewComponent, AXPSchedulerPickerWidget, AXPSchedulerPickerWidgetColumnComponent, AXPSchedulerPickerWidgetEditComponent, AXPSchedulerPickerWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetViewComponent, AXPSelectLanguagePopup, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPStatusChipComponent, AXPStatusWidget, AXPStatusWidgetColumnComponent, AXPStatusWidgetEditComponent, AXPStatusWidgetViewComponent, AXPStepWizardWidget, AXPStepWizardWidgetViewComponent, AXPStopwatchWidget, AXPStopwatchWidgetViewComponent, AXPTableItemWidget, AXPTableItemWidgetDesignerComponent, AXPTableItemWidgetViewComponent, AXPTableWidget, AXPTableWidgetDesignerComponent, AXPTableWidgetViewComponent, AXPTagEditorWidget, AXPTagEditorWidgetColumnComponent, AXPTagEditorWidgetEditComponent, AXPTagEditorWidgetViewComponent, AXPTemplateBoxWidget, AXPTemplateBoxWidgetColumnComponent, AXPTemplateBoxWidgetEditComponent, AXPTemplateBoxWidgetPrintComponent, AXPTemplateBoxWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetViewComponent, AXPWidgetFieldConfiguratorWidget, AXPWidgetFieldConfiguratorWidgetColumnComponent, AXPWidgetFieldConfiguratorWidgetEditComponent, AXPWidgetsModule, AXP_ABSOLUTE_UNITS, AXP_BORDER_RADIUS_UNITS, AXP_BORDER_WIDTH_UNITS, AXP_DATA_LIST_CMD_DELETE, AXP_DATA_LIST_CMD_EDIT, AXP_DATA_LIST_PENDING_DELETE_KEY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_RELATIVE_UNITS, AXP_RELATIVE_UNITS_NO_PERCENT, AXP_ROW_EXPR_PREFIX, AXP_SPACING_UNITS, AXP_WIDGET_AI_AGENT_ASSIST_FOLLOW_UP_CHIPS_LAYOUT, AXP_WIDGET_AI_AGENT_CHART_LAYOUT, AXP_WIDGET_AI_AGENT_FORM_LAYOUT, AXP_WIDGET_AI_AGENT_NAMES, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, matchesWidgetAiAgent };
|
|
5308
|
-
export type { AXPAbsoluteUnit,
|
|
5320
|
+
export { AXPAddressWidget, AXPAddressWidgetColumnComponent, AXPAddressWidgetEditComponent, AXPAddressWidgetService, AXPAddressWidgetViewComponent, AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetViewComponent, AXPBetweenExpressionValidationWidget, AXPBetweenValidationWidgetEditComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetColumnComponent, AXPButtonWidgetViewComponent, AXPCallbackValidationWidget, AXPCallbackValidationWidgetEditComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetColumnComponent, AXPCheckBoxWidgetDesignerComponent, AXPCheckBoxWidgetEditComponent, AXPCheckBoxWidgetViewComponent, AXPCodeEditorWidget, AXPCodeEditorWidgetColumnComponent, AXPCodeEditorWidgetEditComponent, AXPCodeEditorWidgetViewComponent, AXPColorBoxWidget, AXPColorBoxWidgetColumnComponent, AXPColorBoxWidgetDesignerComponent, AXPColorBoxWidgetEditComponent, AXPColorBoxWidgetViewComponent, AXPColorPaletteWidget, AXPColorPaletteWidgetColumnComponent, AXPColorPaletteWidgetDesignerComponent, AXPColorPaletteWidgetEditComponent, AXPColorPaletteWidgetViewComponent, AXPConditionBuilderWidget, AXPConditionBuilderWidgetEditComponent, AXPConditionBuilderWidgetViewComponent, AXPConnectedDragDropListsWidget, AXPConnectedListsWidgetColumnComponent, AXPConnectedListsWidgetEditComponent, AXPConnectedListsWidgetViewComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetViewComponent, AXPDataListWidget, AXPDataListWidgetViewComponent, AXPDataSourceOptionsWidget, AXPDataSourceOptionsWidgetEditComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetViewComponent, AXPDirectionWidget, AXPDirectionWidgetEditComponent, AXPDragDropListWidget, AXPEditorJsWidget, AXPEditorJsWidgetColumnComponent, AXPEditorJsWidgetEditComponent, AXPEditorJsWidgetViewComponent, AXPEqualValidationWidget, AXPEqualValidationWidgetEditComponent, AXPFieldsetWidget, AXPFieldsetWidgetDesignerComponent, AXPFieldsetWidgetViewComponent, AXPFlexItemOptionsWidget, AXPFlexItemOptionsWidgetEditComponent, AXPFlexItemWidget, AXPFlexItemWidgetDesignerComponent, AXPFlexItemWidgetViewComponent, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPFlexWidget, AXPFlexWidgetDesignerComponent, AXPFlexWidgetViewComponent, AXPGalleryWidget, AXPGalleryWidgetEditComponent, AXPGalleryWidgetViewComponent, AXPGetWidgetsForAIQuery, AXPGreaterThanExpressionValidationWidget, AXPGreaterThanValidationWidgetEditComponent, AXPGridItemOptionsWidget, AXPGridItemOptionsWidgetEditComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPImageMarkerPopupComponent, AXPImageMarkerWidget, AXPImageMarkerWidgetColumnComponent, AXPImageMarkerWidgetEditComponent, AXPImageMarkerWidgetViewComponent, AXPItemConfiguratorWidget, AXPItemConfiguratorWidgetColumnComponent, AXPItemConfiguratorWidgetEditComponent, AXPJsonViewerWidget, AXPJsonViewerWidgetEditComponent, AXPJsonViewerWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetViewComponent, AXPLessThanExpressionValidationWidget, AXPLessThanValidationWidgetEditComponent, AXPListWidgetColumnComponent, AXPListWidgetEditComponent, AXPListWidgetViewComponent, AXPMapWidgetEditComponent, AXPMapWidgetViewComponent, AXPMaxLengthExpressionValidationWidget, AXPMaxLengthValidationWidgetEditComponent, AXPMinLengthExpressionValidationWidget, AXPMinLengthValidationWidgetEditComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetViewComponent, AXPOutcomeResultsViewerWidget, AXPOutcomeResultsViewerWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetViewComponent, AXPProgressBarWidget, AXPProgressBarWidgetColumnComponent, AXPProgressBarWidgetEditComponent, AXPProgressBarWidgetViewComponent, AXPProviderSelectWidgetColumnComponent, AXPProviderSelectWidgetEditBase, AXPProviderSelectWidgetViewComponent, AXPQrcodeViewerService, AXPQrcodeWidget, AXPQrcodeWidgetColumnComponent, AXPQrcodeWidgetEditComponent, AXPQrcodeWidgetViewComponent, AXPRatePickerWidget, AXPRatePickerWidgetColumnComponent, AXPRatePickerWidgetEditComponent, AXPRatePickerWidgetViewComponent, AXPRegularExpressionValidationWidget, AXPRegularExpressionValidationWidgetEditComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetViewComponent, AXPRequiredValidationWidget, AXPRequiredValidationWidgetEditComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetViewComponent, AXPSchedulerPickerWidget, AXPSchedulerPickerWidgetColumnComponent, AXPSchedulerPickerWidgetEditComponent, AXPSchedulerPickerWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetViewComponent, AXPSelectLanguagePopup, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPStatusChipComponent, AXPStatusWidget, AXPStatusWidgetColumnComponent, AXPStatusWidgetEditComponent, AXPStatusWidgetViewComponent, AXPStepWizardWidget, AXPStepWizardWidgetViewComponent, AXPStopwatchWidget, AXPStopwatchWidgetViewComponent, AXPTableItemWidget, AXPTableItemWidgetDesignerComponent, AXPTableItemWidgetViewComponent, AXPTableWidget, AXPTableWidgetDesignerComponent, AXPTableWidgetViewComponent, AXPTagEditorWidget, AXPTagEditorWidgetColumnComponent, AXPTagEditorWidgetEditComponent, AXPTagEditorWidgetViewComponent, AXPTemplateBoxWidget, AXPTemplateBoxWidgetColumnComponent, AXPTemplateBoxWidgetEditComponent, AXPTemplateBoxWidgetPrintComponent, AXPTemplateBoxWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetViewComponent, AXPWidgetFieldConfiguratorWidget, AXPWidgetFieldConfiguratorWidgetColumnComponent, AXPWidgetFieldConfiguratorWidgetEditComponent, AXPWidgetsModule, AXP_ABSOLUTE_UNITS, AXP_BORDER_RADIUS_UNITS, AXP_BORDER_WIDTH_UNITS, AXP_DATA_LIST_CMD_DELETE, AXP_DATA_LIST_CMD_EDIT, AXP_DATA_LIST_PENDING_DELETE_KEY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_RELATIVE_UNITS, AXP_RELATIVE_UNITS_NO_PERCENT, AXP_ROW_EXPR_PREFIX, AXP_SPACING_UNITS, AXP_WIDGET_AI_AGENT_ASSIST_FOLLOW_UP_CHIPS_LAYOUT, AXP_WIDGET_AI_AGENT_CHART_LAYOUT, AXP_WIDGET_AI_AGENT_FORM_LAYOUT, AXP_WIDGET_AI_AGENT_NAMES, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, matchesWidgetAiAgent, printQrcodeFromElement };
|
|
5321
|
+
export type { AXPAbsoluteUnit, AXPAddressFormContentOptions, AXPAddressWidgetColumnOptions, AXPAddressWidgetDesignerOptions, AXPAddressWidgetEditOptions, AXPAddressWidgetOptions, AXPAddressWidgetViewOptions, AXPAdvancedGridItemWidgetDesignerOptions, AXPAdvancedGridItemWidgetEditOptions, AXPAdvancedGridItemWidgetOptions, AXPAdvancedGridItemWidgetPrintOptions, AXPAdvancedGridItemWidgetViewOptions, AXPAdvancedGridWidgetDesignerOptions, AXPAdvancedGridWidgetEditOptions, AXPAdvancedGridWidgetOptions, AXPAdvancedGridWidgetViewOptions, AXPAvatarWidgetColumnOptions, AXPAvatarWidgetDesignerOptions, AXPAvatarWidgetEditOptions, AXPAvatarWidgetOptions, AXPAvatarWidgetPrintOptions, AXPAvatarWidgetViewOptions, AXPBlockWidgetConfigType, AXPBlockWidgetDesignerOptions, AXPBlockWidgetEditOptions, AXPBlockWidgetOptions, AXPBlockWidgetPrintOptions, AXPBlockWidgetViewOptions, AXPBorderRadiusUnit, AXPBorderWidthUnit, AXPButtonWidgetColumnOptions, AXPButtonWidgetDesignerOptions, AXPButtonWidgetEditOptions, AXPButtonWidgetOptions, AXPButtonWidgetViewOptions, AXPCheckBoxWidgetColumnOptions, AXPCheckBoxWidgetConfigType, AXPCheckBoxWidgetDesignerOptions, AXPCheckBoxWidgetEditOptions, AXPCheckBoxWidgetOptions, AXPCheckBoxWidgetViewOptions, AXPCodeEditorWidgetOptions, AXPColorBoxWidgetColumnOptions, AXPColorBoxWidgetDesignerOptions, AXPColorBoxWidgetEditOptions, AXPColorBoxWidgetOptions, AXPColorBoxWidgetViewOptions, AXPColorPaletteWidgetColumnOptions, AXPColorPaletteWidgetDesignerOptions, AXPColorPaletteWidgetEditOptions, AXPColorPaletteWidgetOptions, AXPColorPaletteWidgetViewOptions, AXPConnectedListsWidgetColumnOptions, AXPConnectedListsWidgetDesignerOptions, AXPConnectedListsWidgetEditOptions, AXPConnectedListsWidgetOptions, AXPConnectedListsWidgetViewOptions, AXPContactWidgetColumnOptions, AXPContactWidgetDesignerOptions, AXPContactWidgetEditOptions, AXPContactWidgetOptions, AXPContactWidgetViewOptions, AXPDataListHeaderCommandApplyMode, AXPDataListWidgetColumn, AXPDataListWidgetCommandsOptions, AXPDataListWidgetComponentOptions, AXPDataListWidgetEditOptions, AXPDataListWidgetHeaderAction, AXPDataListWidgetHeaderCommandAction, AXPDataListWidgetOptions, AXPDataListWidgetRowCommand, AXPDataListWidgetViewOptions, AXPDataSourceOptionsValue, AXPDateTimeBoxWidgetColumnOptions, AXPDateTimeBoxWidgetDesignerOptions, AXPDateTimeBoxWidgetEditOptions, AXPDateTimeBoxWidgetOptions, AXPDateTimeBoxWidgetPrintOptions, AXPDateTimeBoxWidgetViewOptions, AXPDateTimeFilterUiMode, AXPEditorJsWidgetColumnOptions, AXPEditorJsWidgetDesignerOptions, AXPEditorJsWidgetEditOptions, AXPEditorJsWidgetOptions, AXPEditorJsWidgetPrintOptions, AXPEditorJsWidgetViewOptions, AXPFieldsetWidgetDesignerOptions, AXPFieldsetWidgetEditOptions, AXPFieldsetWidgetLook, AXPFieldsetWidgetOptions, AXPFieldsetWidgetPrintOptions, AXPFieldsetWidgetViewOptions, AXPFlexBoxAlignmentOption, AXPFlexBoxOption, AXPFlexItemStyles, AXPFlexItemWidgetDesignerOptions, AXPFlexItemWidgetEditOptions, AXPFlexItemWidgetOptions, AXPFlexItemWidgetPrintOptions, AXPFlexItemWidgetViewOptions, AXPFlexWidgetConfigType, AXPFlexWidgetDesignerOptions, AXPFlexWidgetEditOptions, AXPFlexWidgetOptions, AXPFlexWidgetPrintOptions, AXPFlexWidgetViewOptions, AXPGalleryWidgetDesignerOptions, AXPGalleryWidgetEditOptions, AXPGalleryWidgetOptions, AXPGalleryWidgetPrintOptions, AXPGalleryWidgetViewOptions, AXPGetWidgetsForAIQueryAiBlock, AXPGetWidgetsForAIQueryCategoryRow, AXPGetWidgetsForAIQueryInput, AXPGetWidgetsForAIQueryInputPropertyRow, AXPGetWidgetsForAIQueryListItem, AXPGetWidgetsForAIQueryOutputPropertyRow, AXPGetWidgetsForAIQueryResult, AXPGetWidgetsForAIQueryUsage, AXPGetWidgetsForAIQueryWidgetDetail, AXPGetWidgetsForAIQueryWidgetStructured, AXPGridBoxAlignmentOption, AXPGridBoxOption, AXPImageMarkerWidgetColumnOptions, AXPImageMarkerWidgetComponentOptions, AXPImageMarkerWidgetDesignerOptions, AXPImageMarkerWidgetEditOptions, AXPImageMarkerWidgetOptions, AXPImageMarkerWidgetPoint, AXPImageMarkerWidgetViewOptions, AXPJsonViewerWidgetOptions, AXPLargeTextWidgetColumnOptions, AXPLargeTextWidgetDesignerOptions, AXPLargeTextWidgetEditOptions, AXPLargeTextWidgetOptions, AXPLargeTextWidgetPrintOptions, AXPLargeTextWidgetViewOptions, AXPListWidgetColumnOptions, AXPListWidgetDesignerOptions, AXPListWidgetEditOptions, AXPListWidgetOptions, AXPListWidgetViewOptions, AXPNumberBoxWidgetColumnOptions, AXPNumberBoxWidgetDesignerOptions, AXPNumberBoxWidgetEditOptions, AXPNumberBoxWidgetOptions, AXPNumberBoxWidgetPrintOptions, AXPNumberBoxWidgetViewOptions, AXPOutcomeResultsViewerWidgetOptions, AXPPageWidgetDesignerOptions, AXPPageWidgetEditOptions, AXPPageWidgetOptions, AXPPageWidgetPrintOptions, AXPPageWidgetViewOptions, AXPPasswordBoxWidgetColumnOptions, AXPPasswordBoxWidgetDesignerOptions, AXPPasswordBoxWidgetEditOptions, AXPPasswordBoxWidgetOptions, AXPPasswordBoxWidgetPrintOptions, AXPPasswordBoxWidgetViewOptions, AXPProgressBarWidgetColumnOptions, AXPProgressBarWidgetDesignerOptions, AXPProgressBarWidgetEditOptions, AXPProgressBarWidgetOptions, AXPProgressBarWidgetPrintOptions, AXPProgressBarWidgetViewOptions, AXPQrcodeViewerOpenOptions, AXPQrcodeWidgetDesignerOptions, AXPQrcodeWidgetEditOptions, AXPQrcodeWidgetOptions, AXPQrcodeWidgetPrintOptions, AXPQrcodeWidgetViewOptions, AXPRatePickerWidgetColumnOptions, AXPRatePickerWidgetDesignerOptions, AXPRatePickerWidgetEditOptions, AXPRatePickerWidgetOptions, AXPRatePickerWidgetPrintOptions, AXPRatePickerWidgetViewOptions, AXPRelativeUnit, AXPRelativeUnitNoPercent, AXPRepeaterWidgetDesignerOptions, AXPRepeaterWidgetEditOptions, AXPRepeaterWidgetOptions, AXPRepeaterWidgetPrintOptions, AXPRepeaterWidgetViewOptions, AXPRichTextWidgetColumnOptions, AXPRichTextWidgetDesignerOptions, AXPRichTextWidgetEditOptions, AXPRichTextWidgetOptions, AXPRichTextWidgetPrintOptions, AXPRichTextWidgetViewOptions, AXPSchedulerPickerWidgetColumnOptions, AXPSchedulerPickerWidgetDesignerOptions, AXPSchedulerPickerWidgetEditOptions, AXPSchedulerPickerWidgetOptions, AXPSchedulerPickerWidgetPrintOptions, AXPSchedulerPickerWidgetViewOptions, AXPSelectBoxWidgetColumnOptions, AXPSelectBoxWidgetDesignerOptions, AXPSelectBoxWidgetEditOptions, AXPSelectBoxWidgetOptions, AXPSelectBoxWidgetPrintOptions, AXPSelectBoxWidgetViewOptions, AXPSelectLanguageRow, AXPSelectionListWidgetColumnOptions, AXPSelectionListWidgetDesignerOptions, AXPSelectionListWidgetEditOptions, AXPSelectionListWidgetOptions, AXPSelectionListWidgetPrintOptions, AXPSelectionListWidgetViewOptions, AXPSignatureWidgetColumnOptions, AXPSignatureWidgetDesignerOptions, AXPSignatureWidgetEditOptions, AXPSignatureWidgetOptions, AXPSignatureWidgetPrintOptions, AXPSignatureWidgetViewOptions, AXPSpacingBoxDefaultValues, AXPSpacingUnit, AXPStatusTransitionWithTarget, AXPStatusWidgetColumnOptions, AXPStatusWidgetDesignerOptions, AXPStatusWidgetEditOptions, AXPStatusWidgetOptions, AXPStatusWidgetPrintOptions, AXPStatusWidgetViewOptions, AXPStepWizardActionConfig, AXPStepWizardEvents, AXPStepWizardGlobalActions, AXPStepWizardGuard, AXPStepWizardGuardPayload, AXPStepWizardStatus, AXPStepWizardStep, AXPStepWizardWidgetDefinition, AXPStopwatchWidgetOptions, AXPTableItemWidgetDesignerOptions, AXPTableItemWidgetEditOptions, AXPTableItemWidgetOptions, AXPTableItemWidgetPrintOptions, AXPTableItemWidgetViewOptions, AXPTableWidgetConfigType, AXPTableWidgetDesignerOptions, AXPTableWidgetEditOptions, AXPTableWidgetOptions, AXPTableWidgetPrintOptions, AXPTableWidgetViewOptions, AXPTagEditorWidgetColumnOptions, AXPTagEditorWidgetDesignerOptions, AXPTagEditorWidgetEditOptions, AXPTagEditorWidgetOptions, AXPTagEditorWidgetPrintOptions, AXPTagEditorWidgetViewOptions, AXPTemplateBoxWidgetColumnOptions, AXPTemplateBoxWidgetDesignerOptions, AXPTemplateBoxWidgetEditOptions, AXPTemplateBoxWidgetOptions, AXPTemplateBoxWidgetPrintOptions, AXPTemplateBoxWidgetViewOptions, AXPTextBoxWidgetColumnOptions, AXPTextBoxWidgetDesignerOptions, AXPTextBoxWidgetEditOptions, AXPTextBoxWidgetOptions, AXPTextBoxWidgetPrintOptions, AXPTextBoxWidgetViewOptions, AXPToggleWidgetColumnOptions, AXPToggleWidgetDesignerOptions, AXPToggleWidgetEditOptions, AXPToggleWidgetOptions, AXPToggleWidgetPrintOptions, AXPToggleWidgetViewOptions, AXPWidgetAiAgentName, DataSourceMode, StrategyConfig };
|
|
@@ -201,6 +201,8 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
|
|
|
201
201
|
private readonly componentDestroyed;
|
|
202
202
|
private isRestoringExpandedRows;
|
|
203
203
|
private restoreExpandedRowsScheduled;
|
|
204
|
+
/** Blocks deferred `replaceUrl` view sync after destroy or once details navigation has started. */
|
|
205
|
+
private listQueryParamSyncDisabled;
|
|
204
206
|
constructor(platform: AXPlatform);
|
|
205
207
|
ngOnInit(): Promise<void>;
|
|
206
208
|
ngAfterViewInit(): Promise<void>;
|
|
@@ -219,6 +221,11 @@ declare class AXPEntityMasterListViewComponent extends AXPPageLayoutBaseComponen
|
|
|
219
221
|
getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
220
222
|
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
|
221
223
|
execute(command: AXPExecuteCommand): Promise<void>;
|
|
224
|
+
/**
|
|
225
|
+
* Syncs the list `view` query param without polluting history.
|
|
226
|
+
* Re-checks the live URL so a deferred call cannot `replaceUrl` over a details entry.
|
|
227
|
+
*/
|
|
228
|
+
private syncListViewQueryParam;
|
|
222
229
|
private reloadListData;
|
|
223
230
|
private grid;
|
|
224
231
|
private updateParentHasChildAfterRefresh;
|
|
@@ -238,8 +245,11 @@ declare class AXPRootLayoutFooterComponent {
|
|
|
238
245
|
}
|
|
239
246
|
|
|
240
247
|
declare class AXPRootLayoutHeaderComponent {
|
|
241
|
-
private config;
|
|
242
|
-
|
|
248
|
+
private readonly config;
|
|
249
|
+
private readonly router;
|
|
250
|
+
private readonly destroyRef;
|
|
251
|
+
private readonly shortcutRegistry;
|
|
252
|
+
protected readonly store: {
|
|
243
253
|
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
244
254
|
currentPalette: _angular_core.Signal<string>;
|
|
245
255
|
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
@@ -297,8 +307,7 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
297
307
|
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
298
308
|
isPrinting: boolean;
|
|
299
309
|
}>;
|
|
300
|
-
|
|
301
|
-
protected logo: {
|
|
310
|
+
protected readonly logo: {
|
|
302
311
|
icon: {
|
|
303
312
|
light: _acorex_platform_core.AXPLogoConfig;
|
|
304
313
|
dark: _acorex_platform_core.AXPLogoConfig;
|
|
@@ -312,6 +321,7 @@ declare class AXPRootLayoutHeaderComponent {
|
|
|
312
321
|
dark: _acorex_platform_core.AXPLogoConfig;
|
|
313
322
|
};
|
|
314
323
|
} | undefined;
|
|
324
|
+
constructor();
|
|
315
325
|
protected toggleSideMenu(): void;
|
|
316
326
|
protected handleLogoClick(): void;
|
|
317
327
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPRootLayoutHeaderComponent, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-common-common-settings.provider-Bi1RYif5.mjs","sources":["../../../../libs/platform/common/src/lib/configs/common-settings.provider.ts"],"sourcesContent":["import { AXPPlatformScope } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { Injectable, Injector } from '@angular/core';\nimport { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '../settings';\nimport { AXPCommonSettings } from './common-settings.key';\n\nconst I18N = '@general:settings';\n\n@Injectable()\nexport class AXPCommonSettingProvider implements AXPSettingDefinitionProvider {\n constructor(private _injector: Injector) {}\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // Define the 'General Settings' group\n context\n .group('general')\n ?.addSection('notifications', `${I18N}.general.notifications.title`, `${I18N}.general.notifications.description`)\n // Add the 'Enable Operation Toasts' setting\n .addSetting({\n key: AXPCommonSettings.EnableOperationToasts,\n title: `${I18N}.general.notifications.enable-operation-toasts.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n\n description: `${I18N}.general.notifications.enable-operation-toasts.description`,\n })\n\n // End the 'Notifications' section\n .endSection()\n .addSection('entity', `${I18N}.general.entity.title`, `${I18N}.general.entity.description`)\n // Add the 'Enable Operation Toasts' setting\n .addSetting({\n key: AXPCommonSettings.EntityFilterApplyMode,\n title: `${I18N}.general.entity.filter-apply-mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'auto',\n widget: {\n type: AXPWidgetsCatalog.select,\n options: {\n label: null,\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'auto', text: `${I18N}.general.entity.filter-apply-mode.options.auto` },\n { value: 'manual', text: `${I18N}.general.entity.filter-apply-mode.options.manual` },\n ],\n },\n },\n\n description: `${I18N}.general.entity.filter-apply-mode.description`,\n })\n .addSetting({\n key: AXPCommonSettings.EntityListPersistenceMode,\n title: `${I18N}.general.entity.list-persistence-mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'persistent',\n widget: {\n type: AXPWidgetsCatalog.select,\n options: {\n label: null,\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'none', text: `${I18N}.general.entity.list-persistence-mode.options.none` },\n {\n value: 'persistent',\n text: `${I18N}.general.entity.list-persistence-mode.options.persistent`,\n },\n { value: 'route', text: `${I18N}.general.entity.list-persistence-mode.options.route` },\n ],\n },\n },\n description: `${I18N}.general.entity.list-persistence-mode.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ShowCategoryColumnsByDefault,\n title: `${I18N}.general.entity.show-category-columns-by-default.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.show-category-columns-by-default.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ApplyLayoutOrdering,\n title: `${I18N}.general.entity.apply-layout-ordering.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.apply-layout-ordering.description`,\n })\n .addSetting({\n key: AXPCommonSettings.RedirectToDetailsAfterCreate,\n title: `${I18N}.general.entity.redirect-to-details-after-create.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.redirect-to-details-after-create.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ShowPageBadge,\n title: `${I18N}.general.entity.show-page-badge.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.show-page-badge.description`,\n })\n .addSetting({\n key: AXPCommonSettings.ShowRowIndexColumn,\n title: `${I18N}.general.entity.show-row-index-column.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n options: {\n label: null,\n },\n },\n description: `${I18N}.general.entity.show-row-index-column.description`,\n })\n\n // End the 'Entity Settings' section\n .endSection()\n // End the 'General Settings' group\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,IAAI,GAAG,mBAAmB;MAGnB,wBAAwB,CAAA;AACnC,IAAA,WAAA,CAAoB,SAAmB,EAAA;QAAnB,IAAA,CAAA,SAAS,GAAT,SAAS;IAAa;I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AC5B,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,YAAY,EAAE,IAAI;AAClB,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB,CAAC,MAAM;AAC9B,gBAAA,OAAO,EAAE;AACP,oBAAA,KAAK,EAAE,IAAI;AACZ,iBAAA;AACF,aAAA;YACD,WAAW,EAAE,CAAA,EAAG,IAAI,CAAA,2CAAA,CAA6C;SAClE;AACA,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,iBAAiB,CAAC,kBAAkB;YACzC,KAAK,EAAE,CAAA,EAAG,IAAI,CAAA,2CAAA,CAA6C;YAC3D,KAAK,EAAE,gBAAgB,CAAC,IAAI;AAC5B,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB,CAAC,MAAM;AAC9B,gBAAA,OAAO,EAAE;AACP,oBAAA,KAAK,EAAE,IAAI;AACZ,iBAAA;AACF,aAAA;YACD,WAAW,EAAE,CAAA,EAAG,IAAI,CAAA,iDAAA,CAAmD;SACxE;;AAGA,aAAA,UAAU;;AAEV,aAAA,QAAQ,EAAE;IACf;8GArJW,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAAxB,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-layout-entity-attachments-page.component-D8iQnT-R.mjs","sources":["../../../../libs/platform/layout/entity/src/lib/features/attachments-plugin/attachments-page/attachments-page.component.ts"],"sourcesContent":["import { AXPEntity } from '@acorex/platform/common';\nimport {\n AXPContextChangeEvent,\n AXPExecuteCommand,\n AXPExecuteCommandResult,\n type AXPActionMenuItem,\n} from '@acorex/platform/core';\nimport {\n AXPPageLayoutBase,\n AXPPageLayoutBaseComponent,\n type AXPLayoutDetailsViewAction,\n} from '@acorex/platform/layout/views';\nimport {\n AXPWidgetContainerComponent,\n AXPWidgetCoreModule,\n AXPWidgetNode,\n type AXPWidgetCoreElement,\n type AXPWidgetCoreElementAPI,\n} from '@acorex/platform/layout/widget-core';\nimport { AXPEntityDefinitionRegistryService } from '../../../entity-registery.service';\n\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n inject,\n input,\n signal,\n Signal,\n viewChild,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { ActivatedRoute } from '@angular/router';\nimport { get, merge } from 'lodash-es';\nimport { Subject, Subscription } from 'rxjs';\nimport {\n persistedAttachments,\n type AXPFileUploaderUploadActionDescriptor,\n} from '../../../widgets/file-uploader-widget';\n\nconst ATTACHMENTS_PAGE_SAVE_COMMAND = 'EntityAttachmentsPage:Save';\nconst ATTACHMENTS_PAGE_DISCARD_COMMAND = 'EntityAttachmentsPage:Discard';\nconst ATTACHMENTS_PAGE_UPLOAD_COMMAND = 'EntityAttachmentsPage:Upload';\n\ntype AttachmentsUploaderApi = AXPWidgetCoreElementAPI & {\n onDirtyChange?: Subject<boolean>;\n onUploadActionsChanged?: Subject<void>;\n getUploadActions?: () => AXPFileUploaderUploadActionDescriptor[];\n runUploadAction?: (plugin: string) => void | Promise<void>;\n markSaved?: () => void;\n syncBaseline?: (saved: unknown) => void;\n discardToBaseline?: () => void;\n isDirty?: () => boolean;\n};\n\n//#region ---- Attachments Page Component ----\n\n/**\n * Page component that renders the attachments property using the file-uploader widget.\n * Used when attachments plugin has display: 'page'.\n * Exposes Save/Discard footer actions (same pattern as questionnaire-questions-page).\n */\n@Component({\n selector: 'axm-attachments-page',\n standalone: true,\n imports: [AXPWidgetCoreModule],\n providers: [\n {\n provide: AXPPageLayoutBase,\n useExisting: AXMAttachmentsPageComponent,\n },\n ],\n template: `\n @for (renderKey of [widgetRenderKey()]; track renderKey) {\n <axp-widgets-container #containerRef [context]=\"context()\" (onContextChanged)=\"onContextChanged($event)\">\n @if (node(); as n) {\n <ng-container axp-widget-renderer [node]=\"n\" [mode]=\"'edit'\"></ng-container>\n }\n </axp-widgets-container>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.axp-page-layout-base]': 'true',\n },\n})\nexport class AXMAttachmentsPageComponent extends AXPPageLayoutBaseComponent {\n /** Default `{}`: avoid NG0950 before page-component-renderer calls setInput. */\n rootContext = input<Record<string, unknown>>({});\n pageConfig = input<Record<string, unknown>>();\n\n private route = inject(ActivatedRoute);\n private entityRegistry = inject(AXPEntityDefinitionRegistryService);\n private hostPageLayout = inject(AXPPageLayoutBase, { optional: true, skipSelf: true });\n private destroyRef = inject(DestroyRef);\n\n private containerRef = viewChild<AXPWidgetContainerComponent>('containerRef');\n\n private entityDef = signal<AXPEntity | null>(null);\n private localContext = signal<Record<string, unknown> | null>(null);\n protected isDirty = signal(false);\n private isSaving = signal(false);\n private previousRecordId = signal<string | undefined>(undefined);\n /** Recreates the inner widget container on discard so the file list resets. */\n protected widgetRenderKey = signal(0);\n private widgetWireGeneration = 0;\n private dirtySubscription?: Subscription;\n private uploadActionsSubscription?: Subscription;\n\n constructor() {\n super();\n\n effect((onCleanup) => {\n const moduleName = this.route.snapshot.parent?.paramMap.get('module');\n const entityName = this.route.snapshot.paramMap.get('entity');\n if (!moduleName || !entityName) {\n this.entityDef.set(null);\n return;\n }\n let cancelled = false;\n this.entityRegistry.resolve(moduleName, entityName).then((entity) => {\n if (!cancelled) {\n this.entityDef.set(entity);\n }\n });\n onCleanup(() => {\n cancelled = true;\n });\n });\n\n effect(() => {\n const ctx = this.rootContext();\n const recordId = typeof ctx?.['id'] === 'string' && ctx['id'].length > 0 ? ctx['id'] : undefined;\n if (!recordId || recordId === this.previousRecordId()) {\n return;\n }\n this.previousRecordId.set(recordId);\n this.localContext.set(null);\n this.isDirty.set(false);\n this.widgetRenderKey.update((key) => key + 1);\n });\n\n effect(() => {\n const field = this.fieldName();\n const node = this.node();\n const renderKey = this.widgetRenderKey();\n if (!node || !field) {\n return;\n }\n void this.wireUploaderWidget(field, renderKey);\n });\n }\n\n context: Signal<Record<string, unknown>> = computed(() => {\n const local = this.localContext();\n if (local != null) {\n return local;\n }\n return this.rootContext() ?? {};\n });\n\n protected fieldName = computed(() => {\n const config = this.pageConfig();\n return config && typeof (config as { field?: string }).field === 'string'\n ? (config as { field: string }).field\n : 'attachments';\n });\n\n protected recordId = computed((): string | undefined => {\n const id = this.rootContext()?.['id'];\n return typeof id === 'string' && id.length > 0 ? id : undefined;\n });\n\n node = computed<AXPWidgetNode | null>(() => {\n const field = this.fieldName();\n const entity = this.entityDef();\n if (!entity?.properties) {\n return null;\n }\n const prop = entity.properties.find((p: { name: string }) => p.name === field);\n if (!prop?.schema?.interface) {\n return null;\n }\n const widget = prop.schema.interface;\n return {\n type: widget.type,\n path: field,\n name: field,\n children: widget.children,\n valueTransforms: widget.valueTransforms,\n options: merge({}, widget.options),\n } as AXPWidgetNode;\n });\n\n protected showAddItemButton = computed(() => {\n const options = this.node()?.options;\n return options?.['showAddItemButton'] !== false;\n });\n\n override async getPrimaryMenuItems(): Promise<AXPLayoutDetailsViewAction[]> {\n const dirty = this.isDirty();\n const saving = this.isSaving();\n\n const uploadActions = this.showAddItemButton() ? [] : await this.buildUploadPrimaryActions();\n\n const saveTitle = (await this.translateService.translateAsync('@general:actions.save.title')) || 'Save';\n const discardTitle = (await this.translateService.translateAsync('@general:actions.discard.title')) || 'Discard';\n\n return [\n ...uploadActions,\n {\n title: discardTitle,\n icon: 'fa-light fa-rotate-left',\n zone: 'footer',\n priority: 'secondary',\n color: 'default',\n visible: dirty,\n disabled: saving,\n command: { name: ATTACHMENTS_PAGE_DISCARD_COMMAND, options: {} },\n },\n {\n title: saveTitle,\n icon: 'fa-light fa-floppy-disk',\n zone: 'footer',\n priority: 'primary',\n color: 'primary',\n visible: dirty,\n disabled: saving,\n command: { name: ATTACHMENTS_PAGE_SAVE_COMMAND, options: {} },\n },\n ];\n }\n\n onContextChanged(event: AXPContextChangeEvent): void {\n if (event.state !== 'changed' || this.isSaving()) {\n return;\n }\n\n const field = this.fieldName();\n const attachments = get(event.data, field);\n const base = this.localContext() ?? this.rootContext() ?? {};\n this.localContext.set({ ...base, [field]: attachments });\n }\n\n override execute(command: AXPExecuteCommand): void | Promise<void> {\n if (command.name === ATTACHMENTS_PAGE_DISCARD_COMMAND) {\n this.handleDiscard();\n return;\n }\n if (command.name === ATTACHMENTS_PAGE_UPLOAD_COMMAND) {\n void this.handleUploadAction(command);\n return;\n }\n if (command.name !== ATTACHMENTS_PAGE_SAVE_COMMAND) {\n return;\n }\n return this.handleSave() as unknown as Promise<void>;\n }\n\n private handleDiscard(): void {\n const field = this.fieldName();\n this.localContext.set(null);\n this.isDirty.set(false);\n this.widgetRenderKey.update((key) => key + 1);\n this.recompute();\n }\n\n private async handleSave(): Promise<AXPExecuteCommandResult> {\n const field = this.fieldName();\n const id = this.recordId();\n const entity = this.entityDef();\n const updateExec = entity?.commands?.update?.execute as\n | ((payload: Record<string, unknown>) => Promise<unknown>)\n | undefined;\n const ctx = this.localContext() ?? this.rootContext() ?? {};\n const attachments = get(ctx, field);\n\n if (!field || !id || !updateExec) {\n return {\n success: false,\n message: {\n text: await this.translateService.translateAsync('@general:messages.entity.invalid-data'),\n },\n };\n }\n\n this.isSaving.set(true);\n this.recompute();\n try {\n await updateExec({ id, [field]: attachments });\n\n const persisted = persistedAttachments(attachments);\n\n // Keep displaying saved attachments; drop soft-deleted rows (onContextChanged is skipped while isSaving).\n this.localContext.set({ ...(this.rootContext() ?? {}), [field]: persisted });\n\n const uploader = await this.getUploaderWidget();\n uploader?.markSaved?.();\n this.isDirty.set(false);\n this.recompute();\n\n this.toastService.show({\n color: 'success',\n title: await this.translateService.translateAsync('@general:messages.generic.success.title'),\n content: await this.translateService.translateAsync('@general:messages.generic.success.description'),\n location: 'bottom-center',\n closeButton: true,\n timeOut: 3000,\n timeOutProgress: true,\n });\n return { success: true };\n } catch {\n this.toastService.show({\n color: 'danger',\n title: await this.translateService.translateAsync('@general:messages.error.title'),\n content: await this.translateService.translateAsync('@general:messages.entity.update-failed'),\n });\n return { success: false };\n } finally {\n this.isSaving.set(false);\n this.recompute();\n }\n }\n\n private async wireUploaderWidget(field: string, renderKey: number): Promise<void> {\n const generation = ++this.widgetWireGeneration;\n const container = this.containerRef();\n if (!container) {\n return;\n }\n\n const widget = await container.find(field);\n if (!widget || generation !== this.widgetWireGeneration) {\n return;\n }\n\n this.dirtySubscription?.unsubscribe();\n const api = (widget as AXPWidgetCoreElement).api() as AttachmentsUploaderApi;\n const savedAttachments = get(this.rootContext(), field);\n api.syncBaseline?.(savedAttachments);\n\n if (api.onDirtyChange instanceof Subject) {\n this.dirtySubscription = api.onDirtyChange.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((dirty) => {\n if (generation !== this.widgetWireGeneration) {\n return;\n }\n this.isDirty.set(dirty);\n this.recompute();\n });\n this.isDirty.set(api.isDirty?.() ?? false);\n this.recompute();\n }\n\n if (api.onUploadActionsChanged instanceof Subject) {\n this.uploadActionsSubscription?.unsubscribe();\n this.uploadActionsSubscription = api.onUploadActionsChanged\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n if (generation !== this.widgetWireGeneration) {\n return;\n }\n this.recompute();\n });\n }\n }\n\n private async buildUploadPrimaryActions(): Promise<AXPLayoutDetailsViewAction[]> {\n const uploader = await this.getUploaderWidget();\n const actions = uploader?.getUploadActions?.() ?? [];\n const readonly = Boolean(this.node()?.options?.['readonly']);\n\n if (readonly || actions.length === 0) {\n return [];\n }\n\n const items: AXPActionMenuItem[] = [];\n for (const action of actions) {\n items.push({\n title: action.textKey ?? action.text ?? action.plugin,\n icon: this.normalizePageDropdownIcon(action.icon),\n command: {\n name: ATTACHMENTS_PAGE_UPLOAD_COMMAND,\n options: { plugin: action.plugin },\n },\n });\n }\n\n return [\n {\n title: '@general:actions.add-item.title',\n icon: 'fa-light fa-plus',\n zone: 'header',\n priority: 'primary',\n color: 'primary',\n items,\n },\n ];\n }\n\n /** Page layout dropdown renders `fa-light {{ icon }}`; strip existing style prefix from widget actions. */\n private normalizePageDropdownIcon(icon?: string): string {\n if (!icon) {\n return 'fa-file-arrow-up';\n }\n return icon.replace(/^(fa-light|fa-solid|fa-regular)\\s+/, '');\n }\n\n private async handleUploadAction(command: AXPExecuteCommand): Promise<void> {\n const plugin = command.options?.['plugin'];\n if (typeof plugin !== 'string' || plugin.length === 0) {\n return;\n }\n const uploader = await this.getUploaderWidget();\n await uploader?.runUploadAction?.(plugin);\n }\n\n private async getUploaderWidget(): Promise<AttachmentsUploaderApi | undefined> {\n const container = this.containerRef();\n if (!container) {\n return undefined;\n }\n const widget = await container.find(this.fieldName());\n if (!widget) {\n return undefined;\n }\n return (widget as AXPWidgetCoreElement).api() as AttachmentsUploaderApi;\n }\n\n protected override recompute(): void {\n super.recompute();\n const maybeLayout = this.hostPageLayout as unknown as { recompute?: () => void };\n maybeLayout?.recompute?.();\n }\n}\n\n//#endregion\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0CA,MAAM,6BAA6B,GAAG,4BAA4B;AAClE,MAAM,gCAAgC,GAAG,+BAA+B;AACxE,MAAM,+BAA+B,GAAG,8BAA8B;AAatE;AAEA;;;;AAIG;AAyBG,MAAO,2BAA4B,SAAQ,0BAA0B,CAAA;AAuBzE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;AAtBT,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAA0B,EAAE,kFAAC;QAChD,IAAA,CAAA,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAA2B;AAErC,QAAA,IAAA,CAAA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,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,0BAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,kBAAA,EAAA,gBAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAqBlB,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAxBvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC9B,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAA,2BAA6B;AACzC,yBAAA;AACF,qBAAA;AACD,oBAAA,QAAQ,EAAE;;;;;;;;AAQT,EAAA,CAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,IAAI,EAAE;AACJ,wBAAA,8BAA8B,EAAE,MAAM;AACvC,qBAAA;AACF,iBAAA;8SAW+D,cAAc,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i3 from '@acorex/components/button';
|
|
2
|
-
import { AXButtonModule } from '@acorex/components/button';
|
|
3
|
-
import { AXPSessionService } from '@acorex/platform/auth';
|
|
4
|
-
import * as i1 from '@angular/common';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i0 from '@angular/core';
|
|
7
|
-
import { inject, Component } from '@angular/core';
|
|
8
|
-
import { Router } from '@angular/router';
|
|
9
|
-
|
|
10
|
-
class AXPError401Component {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.sessionService = inject(AXPSessionService);
|
|
13
|
-
this.router = inject(Router);
|
|
14
|
-
this.isAuthorized$ = this.sessionService.isAuthorized$;
|
|
15
|
-
}
|
|
16
|
-
handleHomeClick() {
|
|
17
|
-
this.router.navigate([`/${this.sessionService.application?.name}/home`]);
|
|
18
|
-
}
|
|
19
|
-
handleSignInClick() {
|
|
20
|
-
this.router.navigate([`/auth/login`]);
|
|
21
|
-
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPError401Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXPError401Component, isStandalone: true, selector: "axp-error-401", ngImport: i0, template: "<div class=\"ax-h-full ax-flex ax-flex-col ax-gap-8 ax-items-center ax-justify-center\">\n <img class=\"ax-w-3/4 md:ax-w-1/2 lg:ax-w-1/3 xl:ax-w-1/4\" src=\"/assets/images/error/error-401.svg\"\n alt=\"Oops! Error 404. No result found.\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2 md:ax-gap-4\">\n <h1 class=\"ax-font-bold ax-text-2xl md:ax-text-4xl\">Hold on a second!</h1>\n <p class=\"md:ax-text-lg ax-text-neutral-400\">Sorry, but you are not authorized to view this page.</p>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 md:ax-gap-4 md:ax-flex-row\">\n @if((isAuthorized$ | async))\n {\n <ax-button (onClick)=\"handleHomeClick()\" class=\"ax-px-4\" color=\"primary\" text=\"Go back to home\"></ax-button>\n } @else {\n <ax-button (onClick)=\"handleSignInClick()\" class=\"ax-px-4\" color=\"primary\" text=\"Sign Up / Sign In\"></ax-button>\n }\n <ax-button class=\"ax-px-4\" [color]=\"'default'\" text=\"Contact us\"></ax-button>\n </div>\n</div>", dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPError401Component, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{ selector: 'axp-error-401', imports: [AXButtonModule, CommonModule], template: "<div class=\"ax-h-full ax-flex ax-flex-col ax-gap-8 ax-items-center ax-justify-center\">\n <img class=\"ax-w-3/4 md:ax-w-1/2 lg:ax-w-1/3 xl:ax-w-1/4\" src=\"/assets/images/error/error-401.svg\"\n alt=\"Oops! Error 404. No result found.\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2 md:ax-gap-4\">\n <h1 class=\"ax-font-bold ax-text-2xl md:ax-text-4xl\">Hold on a second!</h1>\n <p class=\"md:ax-text-lg ax-text-neutral-400\">Sorry, but you are not authorized to view this page.</p>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 md:ax-gap-4 md:ax-flex-row\">\n @if((isAuthorized$ | async))\n {\n <ax-button (onClick)=\"handleHomeClick()\" class=\"ax-px-4\" color=\"primary\" text=\"Go back to home\"></ax-button>\n } @else {\n <ax-button (onClick)=\"handleSignInClick()\" class=\"ax-px-4\" color=\"primary\" text=\"Sign Up / Sign In\"></ax-button>\n }\n <ax-button class=\"ax-px-4\" [color]=\"'default'\" text=\"Contact us\"></ax-button>\n </div>\n</div>" }]
|
|
28
|
-
}] });
|
|
29
|
-
|
|
30
|
-
export { AXPError401Component };
|
|
31
|
-
//# sourceMappingURL=acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs","sources":["../../../../libs/platform/themes/default/src/lib/pages/errors/error-401/error-401.component.ts","../../../../libs/platform/themes/default/src/lib/pages/errors/error-401/error-401.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { CommonModule } from '@angular/common';\n\nimport { Component, OnInit, inject } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'axp-error-401',\n templateUrl: './error-401.component.html',\n imports: [AXButtonModule, CommonModule]\n})\nexport class AXPError401Component {\n\n private sessionService = inject(AXPSessionService);\n private router = inject(Router);\n protected isAuthorized$ = this.sessionService.isAuthorized$;\n\n protected handleHomeClick() {\n this.router.navigate([`/${this.sessionService.application?.name}/home`]);\n }\n\n protected handleSignInClick() {\n this.router.navigate([`/auth/login`]);\n }\n}\n","<div class=\"ax-h-full ax-flex ax-flex-col ax-gap-8 ax-items-center ax-justify-center\">\n <img class=\"ax-w-3/4 md:ax-w-1/2 lg:ax-w-1/3 xl:ax-w-1/4\" src=\"/assets/images/error/error-401.svg\"\n alt=\"Oops! Error 404. No result found.\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2 md:ax-gap-4\">\n <h1 class=\"ax-font-bold ax-text-2xl md:ax-text-4xl\">Hold on a second!</h1>\n <p class=\"md:ax-text-lg ax-text-neutral-400\">Sorry, but you are not authorized to view this page.</p>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 md:ax-gap-4 md:ax-flex-row\">\n @if((isAuthorized$ | async))\n {\n <ax-button (onClick)=\"handleHomeClick()\" class=\"ax-px-4\" color=\"primary\" text=\"Go back to home\"></ax-button>\n } @else {\n <ax-button (onClick)=\"handleSignInClick()\" class=\"ax-px-4\" color=\"primary\" text=\"Sign Up / Sign In\"></ax-button>\n }\n <ax-button class=\"ax-px-4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AA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAAA,OAAA,EAEhB,CAAC,cAAc,EAAE,YAAY,CAAC,EAAA,QAAA,EAAA,wiCAAA,EAAA;;;;;"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as i3 from '@acorex/components/button';
|
|
2
|
-
import { AXButtonModule } from '@acorex/components/button';
|
|
3
|
-
import { AXPSessionService } from '@acorex/platform/auth';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { inject, Component } from '@angular/core';
|
|
6
|
-
import { Router } from '@angular/router';
|
|
7
|
-
|
|
8
|
-
class AXPError404Component {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.sessionService = inject(AXPSessionService);
|
|
11
|
-
this.router = inject(Router);
|
|
12
|
-
}
|
|
13
|
-
goHome() {
|
|
14
|
-
this.router.navigate([`/${this.sessionService.application?.name}/home`]);
|
|
15
|
-
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPError404Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: AXPError404Component, isStandalone: true, selector: "axp-error-404", ngImport: i0, template: "<div class=\"ax-h-full ax-flex ax-flex-col ax-gap-8 ax-items-center ax-justify-center\">\n <img class=\"ax-w-3/4 md:ax-w-1/2 lg:ax-w-1/3 xl:ax-w-1/3\" src=\" /assets/images/error/error-404.svg\"\n alt=\"Oops! Error 404. No result found.\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2 md:ax-gap-4\">\n <h1 class=\"ax-font-bold ax-text-2xl md:ax-text-4xl\">No Result Found.</h1>\n <p class=\"md:ax-text-lg ax-text-neutral-400\">Whoops! Looks like that page doesn't exist.</p>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 md:ax-gap-4 md:ax-flex-row\">\n <ax-button (onClick)=\"goHome()\" class=\"ax-px-4\" color=\"primary\" text=\"Go back to home\"></ax-button>\n <ax-button class=\"ax-px-4\" [color]=\"'default'\" text=\"Contact us\"></ax-button>\n </div>\n</div>", styles: [""], dependencies: [{ kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }] }); }
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPError404Component, decorators: [{
|
|
20
|
-
type: Component,
|
|
21
|
-
args: [{ selector: 'axp-error-404', imports: [AXButtonModule], template: "<div class=\"ax-h-full ax-flex ax-flex-col ax-gap-8 ax-items-center ax-justify-center\">\n <img class=\"ax-w-3/4 md:ax-w-1/2 lg:ax-w-1/3 xl:ax-w-1/3\" src=\" /assets/images/error/error-404.svg\"\n alt=\"Oops! Error 404. No result found.\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2 md:ax-gap-4\">\n <h1 class=\"ax-font-bold ax-text-2xl md:ax-text-4xl\">No Result Found.</h1>\n <p class=\"md:ax-text-lg ax-text-neutral-400\">Whoops! Looks like that page doesn't exist.</p>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 md:ax-gap-4 md:ax-flex-row\">\n <ax-button (onClick)=\"goHome()\" class=\"ax-px-4\" color=\"primary\" text=\"Go back to home\"></ax-button>\n <ax-button class=\"ax-px-4\" [color]=\"'default'\" text=\"Contact us\"></ax-button>\n </div>\n</div>" }]
|
|
22
|
-
}] });
|
|
23
|
-
|
|
24
|
-
export { AXPError404Component };
|
|
25
|
-
//# sourceMappingURL=acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs","sources":["../../../../libs/platform/themes/default/src/lib/pages/errors/error-404/error-404.component.ts","../../../../libs/platform/themes/default/src/lib/pages/errors/error-404/error-404.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { Component, OnInit, inject } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'axp-error-404',\n templateUrl: './error-404.component.html',\n styleUrls: ['./error-404.component.scss'],\n imports: [AXButtonModule]\n})\nexport class AXPError404Component {\n\n private sessionService = inject(AXPSessionService);\n private router = inject(Router);\n\n goHome() {\n this.router.navigate([`/${this.sessionService.application?.name}/home`]);\n }\n}\n","<div class=\"ax-h-full ax-flex ax-flex-col ax-gap-8 ax-items-center ax-justify-center\">\n <img class=\"ax-w-3/4 md:ax-w-1/2 lg:ax-w-1/3 xl:ax-w-1/3\" src=\" /assets/images/error/error-404.svg\"\n alt=\"Oops! Error 404. No result found.\">\n <div class=\"ax-flex ax-flex-col ax-items-center ax-gap-2 md:ax-gap-4\">\n <h1 class=\"ax-font-bold ax-text-2xl md:ax-text-4xl\">No Result Found.</h1>\n <p class=\"md:ax-text-lg ax-text-neutral-400\">Whoops! Looks like that page doesn't exist.</p>\n </div>\n <div class=\"ax-flex ax-flex-col ax-gap-2 md:ax-gap-4 md:ax-flex-row\">\n <ax-button (onClick)=\"goHome()\" class=\"ax-px-4\" color=\"primary\" text=\"Go back to home\"></ax-button>\n <ax-button class=\"ax-px-4\" [color]=\"'default'\" text=\"Contact us\"></ax-button>\n </div>\n</div>"],"names":["i1"],"mappings":";;;;;;;MAWa,oBAAoB,CAAA;AANjC,IAAA,WAAA,GAAA;AAQU,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAKhC,IAAA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