@acorex-platform/framework-client 0.0.10 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/fesm2022/acorex-platform-framework-client-auth.mjs +285 -50
  2. package/fesm2022/acorex-platform-framework-client-auth.mjs.map +1 -1
  3. package/fesm2022/{acorex-platform-framework-client-common-common-settings.provider-CbzOYCnI.mjs → acorex-platform-framework-client-common-common-settings.provider-Euotv9l0.mjs} +55 -36
  4. package/fesm2022/acorex-platform-framework-client-common-common-settings.provider-Euotv9l0.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-framework-client-common-settings-dialog.helper-DQNOCRL6.mjs +29 -0
  6. package/fesm2022/acorex-platform-framework-client-common-settings-dialog.helper-DQNOCRL6.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-framework-client-common.mjs +1576 -408
  8. package/fesm2022/acorex-platform-framework-client-common.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-framework-client-core.mjs +561 -25
  10. package/fesm2022/acorex-platform-framework-client-core.mjs.map +1 -1
  11. package/fesm2022/acorex-platform-framework-client-layout-builder.mjs +154 -42
  12. package/fesm2022/acorex-platform-framework-client-layout-builder.mjs.map +1 -1
  13. package/fesm2022/{acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-CWVU3wXL.mjs → acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-CjnQ9hAJ.mjs} +7 -7
  14. package/fesm2022/acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-CjnQ9hAJ.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-fFen8w8M.mjs +77 -0
  16. package/fesm2022/acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-fFen8w8M.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-framework-client-layout-components.mjs +2378 -1274
  18. package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-framework-client-layout-designer.mjs +92 -84
  20. package/fesm2022/acorex-platform-framework-client-layout-designer.mjs.map +1 -1
  21. package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-CxBxxpmA.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-BzUM-JMC.mjs} +3 -3
  22. package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-CxBxxpmA.mjs.map → acorex-platform-framework-client-layout-entity-attachments-page.component-BzUM-JMC.mjs.map} +1 -1
  23. package/fesm2022/{acorex-platform-framework-client-layout-entity-file-list-popup.component-l0JAHKIH.mjs → acorex-platform-framework-client-layout-entity-file-list-popup.component-Ci_CTFtq.mjs} +6 -6
  24. package/fesm2022/acorex-platform-framework-client-layout-entity-file-list-popup.component-Ci_CTFtq.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-framework-client-layout-entity-gallery-page.component-DmiB__JR.mjs +256 -0
  26. package/fesm2022/acorex-platform-framework-client-layout-entity-gallery-page.component-DmiB__JR.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +17599 -17114
  28. package/fesm2022/acorex-platform-framework-client-layout-entity.mjs.map +1 -1
  29. package/fesm2022/acorex-platform-framework-client-layout-views.mjs +120 -70
  30. package/fesm2022/acorex-platform-framework-client-layout-views.mjs.map +1 -1
  31. package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs +302 -263
  32. package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs.map +1 -1
  33. package/fesm2022/{acorex-platform-framework-client-layout-widgets-button-widget-designer.component-CpkWwygb.mjs → acorex-platform-framework-client-layout-widgets-button-widget-designer.component-CIwpAXbL.mjs} +2 -2
  34. package/fesm2022/acorex-platform-framework-client-layout-widgets-button-widget-designer.component-CIwpAXbL.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-framework-client-layout-widgets-image-preview.popup-C_EPAvCU.mjs → acorex-platform-framework-client-layout-widgets-image-preview.popup-CazpERbX.mjs} +3 -3
  36. package/fesm2022/acorex-platform-framework-client-layout-widgets-image-preview.popup-CazpERbX.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-framework-client-layout-widgets-page-widget-designer.component-CmtTq2Mt.mjs → acorex-platform-framework-client-layout-widgets-page-widget-designer.component-DKkJi40s.mjs} +5 -5
  38. package/fesm2022/{acorex-platform-framework-client-layout-widgets-page-widget-designer.component-CmtTq2Mt.mjs.map → acorex-platform-framework-client-layout-widgets-page-widget-designer.component-DKkJi40s.mjs.map} +1 -1
  39. package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DSx0E3NV.mjs → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DtYZfA79.mjs} +3 -3
  40. package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DSx0E3NV.mjs.map → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DtYZfA79.mjs.map} +1 -1
  41. package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-DdfcGV1C.mjs → acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-nMUtxAyy.mjs} +10 -10
  42. package/fesm2022/acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-nMUtxAyy.mjs.map +1 -0
  43. package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-CntopmDS.mjs → acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-DvUSZ4hJ.mjs} +5 -5
  44. package/fesm2022/acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-DvUSZ4hJ.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BihIfkZW.mjs +61 -0
  46. package/fesm2022/acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BihIfkZW.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +2218 -1504
  48. package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs.map +1 -1
  49. package/fesm2022/acorex-platform-framework-client-realtime.mjs +227 -0
  50. package/fesm2022/acorex-platform-framework-client-realtime.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-framework-client-runtime.mjs +201 -13
  52. package/fesm2022/acorex-platform-framework-client-runtime.mjs.map +1 -1
  53. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-QIFX11dh.mjs +158 -0
  54. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-QIFX11dh.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BBdellyL.mjs +119 -0
  56. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BBdellyL.mjs.map +1 -0
  57. package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-single-view.component-D1a7UI71.mjs → acorex-platform-framework-client-themes-default-entity-master-single-view.component-CIf1VWNW.mjs} +5 -6
  58. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-single-view.component-CIf1VWNW.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-framework-client-themes-default-error-401.component-C_czT_JC.mjs +48 -0
  60. package/fesm2022/acorex-platform-framework-client-themes-default-error-401.component-C_czT_JC.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-framework-client-themes-default-error-404.component-C2Wu0YtF.mjs +42 -0
  62. package/fesm2022/acorex-platform-framework-client-themes-default-error-404.component-C2Wu0YtF.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-framework-client-themes-default-error-offline.component-DRz-kVsT.mjs +19 -0
  64. package/fesm2022/acorex-platform-framework-client-themes-default-error-offline.component-DRz-kVsT.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-framework-client-themes-default.mjs +123 -96
  66. package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
  67. package/fesm2022/{acorex-platform-framework-client-themes-shared-icon-chooser-column.component-CXSGiTCK.mjs → acorex-platform-framework-client-themes-shared-icon-chooser-column.component-Ci_oH7NE.mjs} +3 -3
  68. package/fesm2022/acorex-platform-framework-client-themes-shared-icon-chooser-column.component-Ci_oH7NE.mjs.map +1 -0
  69. package/fesm2022/{acorex-platform-framework-client-themes-shared-icon-chooser-view.component-BY5clQ1J.mjs → acorex-platform-framework-client-themes-shared-icon-chooser-view.component-Lb1G2Xz7.mjs} +3 -3
  70. package/fesm2022/acorex-platform-framework-client-themes-shared-icon-chooser-view.component-Lb1G2Xz7.mjs.map +1 -0
  71. package/fesm2022/{acorex-platform-framework-client-themes-shared-settings.provider-DEL2YOTP.mjs → acorex-platform-framework-client-themes-shared-settings.provider-D2XPkc71.mjs} +11 -2
  72. package/fesm2022/acorex-platform-framework-client-themes-shared-settings.provider-D2XPkc71.mjs.map +1 -0
  73. package/fesm2022/{acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-BXl8u4Yp.mjs → acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-D4ubvFYf.mjs} +7 -7
  74. package/fesm2022/acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-D4ubvFYf.mjs.map +1 -0
  75. package/fesm2022/{acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-i2sOOkVj.mjs → acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-Br8j_BF_.mjs} +7 -7
  76. package/fesm2022/acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-Br8j_BF_.mjs.map +1 -0
  77. package/fesm2022/acorex-platform-framework-client-themes-shared.mjs +124 -112
  78. package/fesm2022/acorex-platform-framework-client-themes-shared.mjs.map +1 -1
  79. package/fesm2022/acorex-platform-framework-client-workflow.mjs +26 -483
  80. package/fesm2022/acorex-platform-framework-client-workflow.mjs.map +1 -1
  81. package/package.json +14 -9
  82. package/types/acorex-platform-framework-client-auth.d.ts +76 -5
  83. package/types/acorex-platform-framework-client-common.d.ts +499 -129
  84. package/types/acorex-platform-framework-client-core.d.ts +291 -10
  85. package/types/acorex-platform-framework-client-layout-builder.d.ts +81 -31
  86. package/types/acorex-platform-framework-client-layout-components.d.ts +295 -41
  87. package/types/acorex-platform-framework-client-layout-entity.d.ts +1895 -1743
  88. package/types/acorex-platform-framework-client-layout-views.d.ts +8 -18
  89. package/types/acorex-platform-framework-client-layout-widget-core.d.ts +20 -35
  90. package/types/acorex-platform-framework-client-layout-widgets.d.ts +167 -33
  91. package/types/acorex-platform-framework-client-realtime.d.ts +100 -0
  92. package/types/acorex-platform-framework-client-runtime.d.ts +60 -2
  93. package/types/acorex-platform-framework-client-themes-default.d.ts +4 -48
  94. package/types/acorex-platform-framework-client-workflow.d.ts +16 -127
  95. package/fesm2022/acorex-platform-framework-client-common-common-settings.provider-CbzOYCnI.mjs.map +0 -1
  96. package/fesm2022/acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-CWVU3wXL.mjs.map +0 -1
  97. package/fesm2022/acorex-platform-framework-client-layout-entity-file-list-popup.component-l0JAHKIH.mjs.map +0 -1
  98. package/fesm2022/acorex-platform-framework-client-layout-widgets-button-widget-designer.component-CpkWwygb.mjs.map +0 -1
  99. package/fesm2022/acorex-platform-framework-client-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +0 -1
  100. package/fesm2022/acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-DdfcGV1C.mjs.map +0 -1
  101. package/fesm2022/acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-CntopmDS.mjs.map +0 -1
  102. package/fesm2022/acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-B5kSWxGk.mjs +0 -34
  103. package/fesm2022/acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-B5kSWxGk.mjs.map +0 -1
  104. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-DnTHwsDJ.mjs +0 -160
  105. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-DnTHwsDJ.mjs.map +0 -1
  106. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BpR9g6QS.mjs +0 -121
  107. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BpR9g6QS.mjs.map +0 -1
  108. package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-single-view.component-D1a7UI71.mjs.map +0 -1
  109. package/fesm2022/acorex-platform-framework-client-themes-default-error-401.component-D--_MIar.mjs +0 -48
  110. package/fesm2022/acorex-platform-framework-client-themes-default-error-401.component-D--_MIar.mjs.map +0 -1
  111. package/fesm2022/acorex-platform-framework-client-themes-default-error-404.component-Byyqk8pH.mjs +0 -42
  112. package/fesm2022/acorex-platform-framework-client-themes-default-error-404.component-Byyqk8pH.mjs.map +0 -1
  113. package/fesm2022/acorex-platform-framework-client-themes-default-error-offline.component-DR6G8gPC.mjs +0 -19
  114. package/fesm2022/acorex-platform-framework-client-themes-default-error-offline.component-DR6G8gPC.mjs.map +0 -1
  115. package/fesm2022/acorex-platform-framework-client-themes-shared-icon-chooser-column.component-CXSGiTCK.mjs.map +0 -1
  116. package/fesm2022/acorex-platform-framework-client-themes-shared-icon-chooser-view.component-BY5clQ1J.mjs.map +0 -1
  117. package/fesm2022/acorex-platform-framework-client-themes-shared-settings.provider-DEL2YOTP.mjs.map +0 -1
  118. package/fesm2022/acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-BXl8u4Yp.mjs.map +0 -1
  119. package/fesm2022/acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-i2sOOkVj.mjs.map +0 -1
@@ -1,11 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Type, OnInit, ViewContainerRef, ModuleWithProviders, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges, OnDestroy, DestroyRef, Injector, PipeTransform, Provider } from '@angular/core';
3
3
  import * as _acorex_platform_framework_shared_core from '@acorex-platform/framework-shared/core';
4
- import { AXPApplicationUserReference, AXPEntityReference, AXPSystemActionType, AXPMultiLanguageString, AXPOptionsData, AXPFilterDefinition, AXPMaybePromise, AXPContextData, AXPContextState, AXPContextChangeEvent, AXPContextUpdateOptions, AXPContextPatchOptions, AXPGridLayoutOptions, AXPKeyboardShortcutDirectionBehavior, AXPKeyboardShortcutChord, AXPKeyboardShortcut, AXPResolvedKeyboardShortcut, AXPKeyboardShortcutRegistration, AXPKeyboardShortcutHelpEntry, AXPActionMenuItem } from '@acorex-platform/framework-shared/core';
4
+ import { AXPApplicationUserReference, AXPEntityReference, AXPSystemActionType, AXPMultiLanguageString, AXPOptionsData, AXPFilterDefinition, AXPMaybePromise, AXPContextData, AXPContextState, AXPContextChangeEvent, AXPContextUpdateOptions, AXPContextPatchOptions, AXPGridLayoutOptions, AXPKeyboardShortcutDirectionBehavior, AXPKeyboardShortcutChord, AXPKeyboardShortcut, AXPResolvedKeyboardShortcut, AXPKeyboardShortcutRegistration, AXPKeyboardShortcutHelpEntry, AXPPlatformScope, AXPWidgetNode, AXPActionMenuItem } from '@acorex-platform/framework-shared/core';
5
5
  import { AXDataSource, AXDataSourceFilterOption, AXDataSourceQuery, AXDataSourceCallbackResult, AXDataSourceSortOption } from '@acorex/cdk/common';
6
6
  import * as _ngrx_signals from '@ngrx/signals';
7
7
  import { Observable } from 'rxjs';
8
8
  import { AXFormatService } from '@acorex/core/format';
9
+ import { AXPopupSizeType } from '@acorex/components/popup';
9
10
  import { NavigationExtras } from '@angular/router';
10
11
 
11
12
  interface AXPActivityLogChange {
@@ -75,7 +76,7 @@ interface AXPCatalogScopeDefinition {
75
76
  icon?: string;
76
77
  /**
77
78
  * Platform utility classes applied to the whole scope badge (surface, on-surface, border).
78
- * Example: `ax-primary-surface ax-text-on-primary-surface ax-border-border-primary-surface`.
79
+ * Example: `primary-surface text-on-primary-surface border-border-primary-surface`.
79
80
  */
80
81
  cssClass?: string;
81
82
  order?: number;
@@ -716,6 +717,72 @@ type AXPValueTransformerFunctions = {
716
717
  };
717
718
  declare function objectKeyValueTransforms(keyName: string): AXPValueTransformerFunctions;
718
719
 
720
+ interface AXPDataSourceQueryOptions {
721
+ /** Field used as AXDataSource key / widget valueField. Defaults to definition valueField.name or `id`. */
722
+ valueField?: string;
723
+ /** When true, resolve from definition.samples instead of source(). */
724
+ useSamples?: boolean;
725
+ /** Retry definition lookup while registry providers are still loading. */
726
+ waitForRegistry?: boolean;
727
+ /** Max attempts when waitForRegistry is true (default 20). */
728
+ maxRegistryAttempts?: number;
729
+ /** Delay between registry retry attempts in ms (default 50). */
730
+ registryRetryDelayMs?: number;
731
+ }
732
+ interface AXPDataSourceQueryResult {
733
+ name: string;
734
+ ready: boolean;
735
+ dataSource: AXDataSource | null;
736
+ definition?: AXPDataSourceDefinition;
737
+ valueField: string;
738
+ textField: string;
739
+ error?: unknown;
740
+ }
741
+ /**
742
+ * Resolves registry-backed {@link AXDataSource} instances and exposes readiness (`isReady`, `whenReady`)
743
+ * so widgets do not bind selected values before the provider datasource is available.
744
+ */
745
+ declare class AXPDataSourceQueryService {
746
+ private readonly definitionService;
747
+ private readonly entries;
748
+ /**
749
+ * Returns true when the named registry datasource has been resolved for the given options.
750
+ */
751
+ isReady(name: string, options?: AXPDataSourceQueryOptions): boolean;
752
+ /**
753
+ * Emits once when the registry datasource is resolved (or fails) for the given options.
754
+ */
755
+ whenReady(name: string, options?: AXPDataSourceQueryOptions): Observable<AXPDataSourceQueryResult>;
756
+ /**
757
+ * Resolves and returns the {@link AXDataSource} for a registry name, waiting for providers when needed.
758
+ */
759
+ getDataSource(name: string, options?: AXPDataSourceQueryOptions): Promise<AXDataSource | null>;
760
+ /**
761
+ * Resolves the registry datasource, then looks up one or more keys via `byKey`.
762
+ */
763
+ queryByKey(name: string, key: unknown, options?: AXPDataSourceQueryOptions): Promise<unknown>;
764
+ /**
765
+ * Fully resolves a registry datasource (definition + AXDataSource instance).
766
+ */
767
+ resolve(name: string, options?: AXPDataSourceQueryOptions): Promise<AXPDataSourceQueryResult>;
768
+ /**
769
+ * Clears cached query state. Pass a registry name to invalidate one datasource, or omit to clear all.
770
+ */
771
+ invalidate(name?: string): void;
772
+ private ensureLoading;
773
+ private loadEntry;
774
+ private waitForDefinition;
775
+ private createDataSource;
776
+ private resolveSamples;
777
+ private applyValueFieldAsKey;
778
+ private wrapTranslatedDataSource;
779
+ private translateItem;
780
+ private buildCacheKey;
781
+ private sleep;
782
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDataSourceQueryService, never>;
783
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPDataSourceQueryService>;
784
+ }
785
+
719
786
  declare class AXPContentCheckerDirective {
720
787
  viewContainerRef: ViewContainerRef;
721
788
  elementRef: ElementRef<HTMLDivElement>;
@@ -1193,6 +1260,152 @@ interface AXPPopupFooterKeyboardShortcutsSetupConfig {
1193
1260
  */
1194
1261
  declare function setupPopupFooterKeyboardShortcuts(getActions: () => AXPPopupFooterShortcutAction[], config?: AXPPopupFooterKeyboardShortcutsSetupConfig): void;
1195
1262
 
1263
+ type AXPLogoAppearance = 'auto' | 'colored' | 'monochrome' | 'onDark' | 'onLight' | 'light' | 'dark';
1264
+ type AXPLogoFormat = 'icon' | 'text' | 'full' | 'mark';
1265
+ interface AXPLogoRequest {
1266
+ appearance: AXPLogoAppearance;
1267
+ size: number;
1268
+ format?: AXPLogoFormat;
1269
+ }
1270
+ type AXPLogoView = {
1271
+ kind: 'component';
1272
+ load: () => Promise<Type<unknown>>;
1273
+ inputs?: Record<string, unknown>;
1274
+ } | {
1275
+ kind: 'image';
1276
+ src: string;
1277
+ width?: number;
1278
+ height?: number;
1279
+ } | {
1280
+ kind: 'icon';
1281
+ icon: string;
1282
+ color?: string;
1283
+ };
1284
+ /** Resolved view with lazy components already loaded. */
1285
+ type AXPLogoResolvedView = {
1286
+ kind: 'component';
1287
+ component: Type<unknown>;
1288
+ inputs?: Record<string, unknown>;
1289
+ } | {
1290
+ kind: 'image';
1291
+ src: string;
1292
+ width?: number;
1293
+ height?: number;
1294
+ } | {
1295
+ kind: 'icon';
1296
+ icon: string;
1297
+ color?: string;
1298
+ };
1299
+ interface AXPLogoProvider {
1300
+ readonly key: string;
1301
+ resolve(request: AXPLogoRequest): Promise<AXPLogoView>;
1302
+ }
1303
+
1304
+ declare const AXP_LOGO_PROVIDER: InjectionToken<AXPLogoProvider[]>;
1305
+
1306
+ /** Optional hook so {@link AXPLogoComponent} can map `appearance="auto"` without importing theme packages. */
1307
+ interface AXPLogoThemeResolver {
1308
+ isDarkMode(): boolean;
1309
+ }
1310
+ declare const AXP_LOGO_THEME_RESOLVER: InjectionToken<AXPLogoThemeResolver>;
1311
+
1312
+ declare const AXP_PLATFORM_LOGO_KEY = "platform";
1313
+ declare function axpSsoLogoKey(idpId: string): string;
1314
+ declare function axpTenantLogoKey(tenantId: string): string;
1315
+ declare function axpApplicationLogoKey(applicationId: string): string;
1316
+
1317
+ declare class AXPLogoRegistryService {
1318
+ private readonly providers;
1319
+ private readonly componentCache;
1320
+ private readonly revision;
1321
+ /** Bumps when a provider is registered or replaced. */
1322
+ readonly registryRevision: i0.Signal<number>;
1323
+ constructor();
1324
+ register(provider: AXPLogoProvider): void;
1325
+ has(key: string): boolean;
1326
+ resolve(key: string, request: AXPLogoRequest): Promise<AXPLogoResolvedView>;
1327
+ private toResolvedView;
1328
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLogoRegistryService, never>;
1329
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPLogoRegistryService>;
1330
+ }
1331
+
1332
+ interface AXPEntityLogoSource {
1333
+ id: string;
1334
+ title?: string;
1335
+ logo?: string;
1336
+ }
1337
+ declare class AXPEntityLogoRegistrationService {
1338
+ private readonly registry;
1339
+ private readonly fallbackResolver;
1340
+ registerTenant(tenant: AXPEntityLogoSource): void;
1341
+ registerApplication(application: AXPEntityLogoSource & {
1342
+ logoUrl?: string;
1343
+ }): void;
1344
+ registerTenants(tenants: AXPEntityLogoSource[]): void;
1345
+ registerApplications(applications: AXPEntityLogoSource[]): void;
1346
+ private createEntityProvider;
1347
+ private resolveEntityLogoView;
1348
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityLogoRegistrationService, never>;
1349
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityLogoRegistrationService>;
1350
+ }
1351
+ /** Normalizes API logo payloads (string url or legacy config object). */
1352
+ declare function axpExtractLogoUrl(logo: unknown): string | undefined;
1353
+
1354
+ interface AXPEntityLogoFallbackResolver {
1355
+ resolve(logoKey: string): string | undefined;
1356
+ }
1357
+ declare const AXP_ENTITY_LOGO_FALLBACK_RESOLVER: InjectionToken<AXPEntityLogoFallbackResolver>;
1358
+
1359
+ /**
1360
+ * Resolves logo image references (URLs, asset paths, file-storage ids) to a displayable `src`.
1361
+ * Implemented in `AXPLogoImageSrcResolverService` (framework-client/common).
1362
+ */
1363
+ interface AXPLogoImageSrcResolver {
1364
+ resolve(src: string): Promise<string | undefined>;
1365
+ }
1366
+ declare const AXP_LOGO_IMAGE_SRC_RESOLVER: InjectionToken<AXPLogoImageSrcResolver>;
1367
+
1368
+ declare class AXPLogoComponent implements OnDestroy {
1369
+ logoKey: i0.InputSignal<string>;
1370
+ appearance: i0.InputSignal<AXPLogoAppearance>;
1371
+ size: i0.InputSignal<number>;
1372
+ format: i0.InputSignal<AXPLogoFormat>;
1373
+ private readonly registry;
1374
+ private readonly imageSrcResolver;
1375
+ private readonly themeResolver;
1376
+ protected readonly resolvedView: i0.WritableSignal<AXPLogoResolvedView | null>;
1377
+ private blobObjectUrl;
1378
+ private resolveGeneration;
1379
+ private readonly resolvedAppearance;
1380
+ private readonly request;
1381
+ constructor();
1382
+ ngOnDestroy(): void;
1383
+ private resolveView;
1384
+ private revokeBlobUrl;
1385
+ protected readonly imageView: i0.Signal<{
1386
+ kind: "image";
1387
+ src: string;
1388
+ width?: number;
1389
+ height?: number;
1390
+ } | null>;
1391
+ protected readonly componentView: i0.Signal<{
1392
+ kind: "component";
1393
+ component: i0.Type<unknown>;
1394
+ inputs?: Record<string, unknown>;
1395
+ } | null>;
1396
+ protected readonly iconView: i0.Signal<{
1397
+ kind: "icon";
1398
+ icon: string;
1399
+ color?: string;
1400
+ } | null>;
1401
+ protected readonly imageWidth: i0.Signal<number>;
1402
+ protected readonly imageHeight: i0.Signal<number>;
1403
+ protected readonly componentInputs: i0.Signal<{}>;
1404
+ private normalizeAppearance;
1405
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
1406
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "logoKey": { "alias": "logoKey"; "required": true; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1407
+ }
1408
+
1196
1409
  /** Global overlay flag + task count ({@link AXPLayoutThemeService}). */
1197
1410
  declare const OVERLAY_LAYOUT_TRACE_NS = "OVERLAY-LAYOUT";
1198
1411
  /** Root shell loading dialog sync ({@link AXPRootLayoutComponent}). */
@@ -1523,6 +1736,47 @@ declare class AXPIdleSchedulerService {
1523
1736
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPIdleSchedulerService>;
1524
1737
  }
1525
1738
 
1739
+ type AXPSettingsDefinitionDialogSize = AXPopupSizeType;
1740
+ interface AXPSettingsDefinitionDialogSetting {
1741
+ name: string;
1742
+ title: string;
1743
+ description?: string;
1744
+ widget: AXPWidgetNode;
1745
+ isRequired?: boolean;
1746
+ }
1747
+ interface AXPSettingsDefinitionDialogSection {
1748
+ name: string;
1749
+ title: string;
1750
+ description?: string;
1751
+ settings: AXPSettingsDefinitionDialogSetting[];
1752
+ }
1753
+ interface AXPOpenSettingsDefinitionDialogConfig {
1754
+ scope: AXPPlatformScope;
1755
+ sections: AXPSettingsDefinitionDialogSection[];
1756
+ title: string;
1757
+ description?: string;
1758
+ size?: AXPSettingsDefinitionDialogSize;
1759
+ }
1760
+ interface AXPSettingsDefinitionDialogScope {
1761
+ all(): Promise<Record<string, unknown>>;
1762
+ defaultValues(): Promise<Record<string, unknown>>;
1763
+ get(key: string): Promise<unknown>;
1764
+ set(values: Record<string, unknown>, options?: {
1765
+ flush?: boolean;
1766
+ }): Promise<void>;
1767
+ }
1768
+ interface AXPSettingsDefinitionDialogOpenRequest {
1769
+ config: AXPOpenSettingsDefinitionDialogConfig;
1770
+ context: Record<string, unknown>;
1771
+ scope: AXPSettingsDefinitionDialogScope;
1772
+ settings: AXPSettingsDefinitionDialogSetting[];
1773
+ }
1774
+
1775
+ interface AXPSettingsDefinitionDialogOpener {
1776
+ open(request: AXPSettingsDefinitionDialogOpenRequest): Promise<boolean>;
1777
+ }
1778
+ declare const AXP_SETTINGS_DEFINITION_DIALOG_OPENER: InjectionToken<AXPSettingsDefinitionDialogOpener>;
1779
+
1526
1780
  /**
1527
1781
  * Represents a tag with text, color, and metadata
1528
1782
  */
@@ -1803,25 +2057,52 @@ declare class AXHighlightService {
1803
2057
  static ɵprov: i0.ɵɵInjectableDeclaration<AXHighlightService>;
1804
2058
  }
1805
2059
 
2060
+ /**
2061
+ * Instantiates a class inside an injection context.
2062
+ * Use when a lazy provider manually calls `new` on a nested class that relies on `inject()`.
2063
+ *
2064
+ * @example
2065
+ * ```typescript
2066
+ * export class AXMAuthDataSourceProvider implements AXPDataSourceDefinitionProvider {
2067
+ * constructor(private readonly injector: Injector) {}
2068
+ *
2069
+ * async items() {
2070
+ * const userActivity = instantiateWithInjectionContext(
2071
+ * this.injector,
2072
+ * AXMUserActivityDataSourceDefinition,
2073
+ * );
2074
+ * return [...(await userActivity.items())];
2075
+ * }
2076
+ * }
2077
+ * ```
2078
+ */
2079
+ declare function instantiateWithInjectionContext<T>(injector: Injector, type: new (injector?: Injector) => T): T;
1806
2080
  /**
1807
2081
  * Creates a provider instance within an injection context.
1808
- * Handles dynamic import, injector resolution, and provider instantiation.
2082
+ * The injector must be captured synchronously from the useFactory injection context.
1809
2083
  *
2084
+ * @param injector - Injector resolved synchronously inside `useFactory`
1810
2085
  * @param loader - Function that returns a promise resolving to the provider class
1811
2086
  * @returns Promise that resolves to the provider instance
1812
2087
  *
1813
2088
  * @example
1814
2089
  * ```typescript
1815
- * useFactory: () => createProviderWithInjectionContext(() =>
1816
- * import('./settings.provider').then(m => m.AXMSettingProvider)
1817
- * )
2090
+ * useFactory: () => {
2091
+ * const injector = inject(Injector);
2092
+ * return createProviderWithInjectionContext(injector, () =>
2093
+ * import('./settings.provider').then((m) => m.AXMSettingProvider),
2094
+ * );
2095
+ * }
1818
2096
  * ```
1819
2097
  */
1820
- declare function createProviderWithInjectionContext<T>(loader: () => Promise<new () => T>): Promise<T>;
2098
+ declare function createProviderWithInjectionContext<T>(injector: Injector, loader: () => Promise<new (injector?: Injector) => T>): Promise<T>;
1821
2099
  /**
1822
2100
  * Creates a provider configuration for lazy-loaded providers with injection context.
1823
2101
  * Simplifies provider registration in NgModule providers array.
1824
2102
  *
2103
+ * Captures `Injector` synchronously in `useFactory` (before any `await`) so injection
2104
+ * context is reliable after dynamic import and cache rebuilds.
2105
+ *
1825
2106
  * @param token - The injection token to provide
1826
2107
  * @param loader - Function that returns a promise resolving to the provider class
1827
2108
  * @param multi - Optional. Whether the provider is a multi-provider (array of values). Defaults to `true`. Pass `false` for a single provider.
@@ -1843,7 +2124,7 @@ declare function createProviderWithInjectionContext<T>(loader: () => Promise<new
1843
2124
  * )
1844
2125
  * ```
1845
2126
  */
1846
- declare function provideLazyProvider<TProvider>(token: InjectionToken<any>, loader: () => Promise<new () => TProvider>, multi?: boolean): Provider;
2127
+ declare function provideLazyProvider<TProvider>(token: InjectionToken<any>, loader: () => Promise<new (injector?: Injector) => TProvider>, multi?: boolean): Provider;
1847
2128
 
1848
- export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService, AXPCatalogScopeDefinitionsDataSourceDefinition, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextDefinitionProviderService, AXPContextEvalFactory, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDebugService, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPIdleSchedulerService, AXPImageUrlLogoConfig, AXPKeyboardShortcutRegistry, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPModuleManifestsDataSourceDefinition, AXPScreenSize, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_PROVIDER, AXP_CONTEXT_DEFINITION_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, AXP_SESSION_SERVICE, AXP_TAG_PROVIDER, AX_OVERLAY_CONTAINER_SELECTOR, AX_OVERLAY_PANE_SELECTOR, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS, FORM_DIRTY_TRACE_NS, OVERLAY_DETAILS_VIEW_TRACE_NS, OVERLAY_LAYOUT_TRACE_NS, OVERLAY_ROOT_LAYOUT_TRACE_NS, OVERLAY_WIDGET_SETTLE_TRACE_NS, applyContextEvalPipes, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, chordToKbdItemKeys, contextEvalWithPipes, createProviderWithInjectionContext, defaultColumnWidthProvider, findOverlayContainerAncestor, formatKeyboardShortcutChord, formatKeyboardShortcutChords, getNestedVisibleOverlayPanes, getPrimaryKeyboardShortcutChord, getTopVisibleOverlayContainer, getVisibleAnchoredOverlayPanes, getVisibleOverlayContainers, hasForegroundOverlayLayer, isDialogShortcutAllowedInEditableField, isHorizontalDirectionalShortcutKey, isKeyboardTargetInsideEditableField, isMacPlatform, isVisibleOverlayElement, matchesDialogActionShortcut, matchesKeyboardShortcutChord, mirrorHorizontalDirectionalKey, normalizeContextEvalPipes, normalizeDialogActionShortcutChord, normalizeExpressionTemplate, normalizeKeyboardShortcut, normalizeKeyboardShortcuts, objectKeyValueTransforms, parseDialogActionShortcut, parseKeyboardShortcutChord, provideLazyProvider, registerPopupFooterKeyboardShortcuts, resolveConfiguredFooterActionShortcuts, resolveDialogActionShortcuts, resolveDisplayShortcutChord, resolveEffectiveDirectionBehavior, resolveSemanticDirectionalKey, setupPopupFooterKeyboardShortcuts, shouldDeferEscapeToOpenOverlay, shouldTriggerDialogActionShortcut };
1849
- export type { AXPActivityLog, AXPActivityLogChange, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinition, AXPContextDefinitionAiHints, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, AXPDataSourceArray, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataSourceSample, AXPDataSourceType, AXPDataSourceValue, AXPDebugData, AXPDebugDataFactory, AXPDebugDataInput, AXPDialogActionOptions, AXPDialogActionShortcut, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPISessionService, AXPIdleSchedulerEnqueueOptions, AXPIdleSchedulerWaitOptions, AXPKeyboardShortcutFormatOptions, AXPKeyboardShortcutRegisterOptions, AXPLazyDataSource, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPPopupFooterKeyboardShortcutsOptions, AXPPopupFooterKeyboardShortcutsSetupConfig, AXPPopupFooterShortcutAction, AXPStartUpTask, AXPTag, AXPTagFilterOptions, AXPValueTransformerFunction, AXPValueTransformerFunctions, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
2129
+ export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService, AXPCatalogScopeDefinitionsDataSourceDefinition, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextDefinitionProviderService, AXPContextEvalFactory, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDataSourceQueryService, AXPDblClickDirective, AXPDebugService, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPEntityLogoRegistrationService, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPIdleSchedulerService, AXPImageUrlLogoConfig, AXPKeyboardShortcutRegistry, AXPLogoComponent, AXPLogoRegistryService, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPModuleManifestsDataSourceDefinition, AXPScreenSize, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_PROVIDER, AXP_CONTEXT_DEFINITION_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_ENTITY_LOGO_FALLBACK_RESOLVER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_LOGO_IMAGE_SRC_RESOLVER, AXP_LOGO_PROVIDER, AXP_LOGO_THEME_RESOLVER, AXP_MODULE_MANIFEST_PROVIDER, AXP_PLATFORM_LOGO_KEY, AXP_SESSION_SERVICE, AXP_SETTINGS_DEFINITION_DIALOG_OPENER, AXP_TAG_PROVIDER, AX_OVERLAY_CONTAINER_SELECTOR, AX_OVERLAY_PANE_SELECTOR, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS, FORM_DIRTY_TRACE_NS, OVERLAY_DETAILS_VIEW_TRACE_NS, OVERLAY_LAYOUT_TRACE_NS, OVERLAY_ROOT_LAYOUT_TRACE_NS, OVERLAY_WIDGET_SETTLE_TRACE_NS, applyContextEvalPipes, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, axpApplicationLogoKey, axpExtractLogoUrl, axpSsoLogoKey, axpTenantLogoKey, chordToKbdItemKeys, contextEvalWithPipes, createProviderWithInjectionContext, defaultColumnWidthProvider, findOverlayContainerAncestor, formatKeyboardShortcutChord, formatKeyboardShortcutChords, getNestedVisibleOverlayPanes, getPrimaryKeyboardShortcutChord, getTopVisibleOverlayContainer, getVisibleAnchoredOverlayPanes, getVisibleOverlayContainers, hasForegroundOverlayLayer, instantiateWithInjectionContext, isDialogShortcutAllowedInEditableField, isHorizontalDirectionalShortcutKey, isKeyboardTargetInsideEditableField, isMacPlatform, isVisibleOverlayElement, matchesDialogActionShortcut, matchesKeyboardShortcutChord, mirrorHorizontalDirectionalKey, normalizeContextEvalPipes, normalizeDialogActionShortcutChord, normalizeExpressionTemplate, normalizeKeyboardShortcut, normalizeKeyboardShortcuts, objectKeyValueTransforms, parseDialogActionShortcut, parseKeyboardShortcutChord, provideLazyProvider, registerPopupFooterKeyboardShortcuts, resolveConfiguredFooterActionShortcuts, resolveDialogActionShortcuts, resolveDisplayShortcutChord, resolveEffectiveDirectionBehavior, resolveSemanticDirectionalKey, setupPopupFooterKeyboardShortcuts, shouldDeferEscapeToOpenOverlay, shouldTriggerDialogActionShortcut };
2130
+ export type { AXPActivityLog, AXPActivityLogChange, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinition, AXPContextDefinitionAiHints, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, AXPDataSourceArray, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataSourceQueryOptions, AXPDataSourceQueryResult, AXPDataSourceSample, AXPDataSourceType, AXPDataSourceValue, AXPDebugData, AXPDebugDataFactory, AXPDebugDataInput, AXPDialogActionOptions, AXPDialogActionShortcut, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityLogoFallbackResolver, AXPEntityLogoSource, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPISessionService, AXPIdleSchedulerEnqueueOptions, AXPIdleSchedulerWaitOptions, AXPKeyboardShortcutFormatOptions, AXPKeyboardShortcutRegisterOptions, AXPLazyDataSource, AXPLogoAppearance, AXPLogoFormat, AXPLogoImageSrcResolver, AXPLogoProvider, AXPLogoRequest, AXPLogoResolvedView, AXPLogoThemeResolver, AXPLogoView, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOpenSettingsDefinitionDialogConfig, AXPPopupFooterKeyboardShortcutsOptions, AXPPopupFooterKeyboardShortcutsSetupConfig, AXPPopupFooterShortcutAction, AXPSettingsDefinitionDialogOpenRequest, AXPSettingsDefinitionDialogOpener, AXPSettingsDefinitionDialogScope, AXPSettingsDefinitionDialogSection, AXPSettingsDefinitionDialogSetting, AXPSettingsDefinitionDialogSize, AXPStartUpTask, AXPTag, AXPTagFilterOptions, AXPValueTransformerFunction, AXPValueTransformerFunctions, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
@@ -1,4 +1,4 @@
1
- import * as _angular_core from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
2
  import { OnInit, EventEmitter } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { AXPActionMenuItem, AXPMultiLanguageString, AXPMetaData, AXPWidgetNode, AXPGridLayoutOptions, AXPWidgetRenderMode, AXPExpression, AXPValidationRules, AXPOptionsData, AXPContextChangeEvent, AXPExecuteCommandResult } from '@acorex-platform/framework-shared/core';
@@ -8,7 +8,7 @@ import { AXPWidgetContainerComponent, AXPWidgetCoreElementAction } from '@acorex
8
8
  import { AXDataSource, AXComponentClosing } from '@acorex/cdk/common';
9
9
  import { AXPopupSizeType } from '@acorex/components/popup';
10
10
  import { AXStepWizardLook } from '@acorex/components/step-wizard';
11
- import { AXPDialogActionOptions } from '@acorex-platform/framework-client/core';
11
+ import { AXPDialogActionOptions, AXPSettingsDefinitionDialogOpener, AXPSettingsDefinitionDialogOpenRequest } from '@acorex-platform/framework-client/core';
12
12
  export { AXPDialogActionOptions, AXPDialogActionShortcut, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS } from '@acorex-platform/framework-client/core';
13
13
  import { AXBasePageComponent } from '@acorex/components/page';
14
14
  import { AXPCommand } from '@acorex-platform/framework-shared/runtime';
@@ -90,7 +90,7 @@ interface AXPDialogRef {
90
90
  invokeWidget?(widgetName: string, method: string, options?: {
91
91
  setLoading?: (loading: boolean) => void;
92
92
  close?: (result?: any) => void;
93
- }): Promise<void>;
93
+ }): Promise<unknown>;
94
94
  }
95
95
  /** Fallback {@link AXPDialogRef} when the popup is dismissed without a footer action (e.g. header close). */
96
96
  declare function createDismissedDialogRef(context?: () => unknown): AXPDialogRef;
@@ -712,43 +712,43 @@ declare class AXPLayoutRendererComponent implements OnInit {
712
712
  /**
713
713
  * Form definition containing groups and fields OR widget tree
714
714
  */
715
- layout: _angular_core.InputSignal<AXPWidgetNode | AXPDynamicFormDefinition>;
715
+ layout: i0.InputSignal<AXPWidgetNode | AXPDynamicFormDefinition>;
716
716
  /**
717
717
  * Form context/model data
718
718
  */
719
- context: _angular_core.ModelSignal<any>;
719
+ context: i0.ModelSignal<any>;
720
720
  /**
721
721
  * Form appearance and density styling (normal, compact, spacious)
722
722
  */
723
- look: _angular_core.InputSignal<AXPDynamicFormLook>;
723
+ look: i0.InputSignal<AXPDynamicFormLook>;
724
724
  /**
725
725
  * Default form mode. Can be overridden by section/group and field.
726
726
  */
727
- mode: _angular_core.InputSignal<AXPDynamicFormMode>;
728
- protected widgetTree: _angular_core.WritableSignal<AXPWidgetNode | null>;
727
+ mode: i0.InputSignal<AXPDynamicFormMode>;
728
+ protected widgetTree: i0.WritableSignal<AXPWidgetNode | null>;
729
729
  /**
730
730
  * Prefer explicit {@link AXPWidgetNode.mode} on the root node (e.g. dialog flex `mode('view')`)
731
731
  * so nested widgets resolve view vs edit correctly; fall back to the layout `mode` input.
732
732
  */
733
- protected effectiveRenderMode: _angular_core.Signal<"view" | "edit" | "column" | "designer" | "print" | "filter">;
733
+ protected effectiveRenderMode: i0.Signal<"view" | "edit" | "column" | "designer" | "print" | "filter">;
734
734
  /**
735
735
  * Convert layout data to widget tree when inputs change
736
736
  */
737
- conversionEffect: _angular_core.EffectRef;
737
+ conversionEffect: i0.EffectRef;
738
738
  /**
739
739
  * Emitted when context change is initiated
740
740
  */
741
- contextInitiated: _angular_core.OutputEmitterRef<any>;
741
+ contextInitiated: i0.OutputEmitterRef<any>;
742
742
  /**
743
743
  * Emitted when form becomes valid/invalid
744
744
  */
745
- validityChange: _angular_core.OutputEmitterRef<boolean>;
745
+ validityChange: i0.OutputEmitterRef<boolean>;
746
746
  private form;
747
747
  private container;
748
748
  /**
749
749
  * Internal context signal for reactivity
750
750
  */
751
- protected internalContext: _angular_core.WritableSignal<any>;
751
+ protected internalContext: i0.WritableSignal<any>;
752
752
  /**
753
753
  * Initial context for reset functionality
754
754
  */
@@ -802,14 +802,14 @@ declare class AXPLayoutRendererComponent implements OnInit {
802
802
  * Type guard to check if the input is a widget node
803
803
  */
804
804
  private isWidgetNode;
805
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutRendererComponent, never>;
806
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutRendererComponent, "axp-layout-renderer", never, { "layout": { "alias": "layout"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "context": "contextChange"; "contextInitiated": "contextInitiated"; "validityChange": "validityChange"; }, never, never, true, never>;
805
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutRendererComponent, never>;
806
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPLayoutRendererComponent, "axp-layout-renderer", never, { "layout": { "alias": "layout"; "required": true; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "context": "contextChange"; "contextInitiated": "contextInitiated"; "validityChange": "validityChange"; }, never, never, true, never>;
807
807
  }
808
808
 
809
809
  declare class LayoutBuilderModule {
810
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutBuilderModule, never>;
811
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LayoutBuilderModule, never, [typeof i1.CommonModule, typeof AXPLayoutRendererComponent], [typeof AXPLayoutRendererComponent]>;
812
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<LayoutBuilderModule>;
810
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBuilderModule, never>;
811
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutBuilderModule, never, [typeof i1.CommonModule, typeof AXPLayoutRendererComponent], [typeof AXPLayoutRendererComponent]>;
812
+ static ɵinj: i0.ɵɵInjectorDeclaration<LayoutBuilderModule>;
813
813
  }
814
814
 
815
815
  /**
@@ -850,9 +850,59 @@ declare class AXPLayoutBuilderService {
850
850
  * Create a new layout builder
851
851
  */
852
852
  create(): ILayoutBuilder;
853
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBuilderService, never>;
854
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBuilderService>;
853
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutBuilderService, never>;
854
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPLayoutBuilderService>;
855
+ }
856
+
857
+ declare class AXPSettingsDefinitionDialogOpenerService implements AXPSettingsDefinitionDialogOpener {
858
+ private readonly layoutBuilder;
859
+ open(request: AXPSettingsDefinitionDialogOpenRequest): Promise<boolean>;
860
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingsDefinitionDialogOpenerService, never>;
861
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingsDefinitionDialogOpenerService>;
862
+ }
863
+
864
+ /**
865
+ * ## Dialog `show()` resolve contract (do not change without a breaking-change review)
866
+ *
867
+ * `AXPLayoutBuilderService.show()` resolves once via `callBack` with one of:
868
+ *
869
+ * 1. **`onAction` return value** — arbitrary `T` from the handler (e.g. `{ data, success }`, `{ skipValidate: true }`).
870
+ * Unchanged by dirty-state work; only dismiss *routing* may defer resolve until `onClosing` for cancel when
871
+ * `confirmCloseWhenDirty` is enabled.
872
+ *
873
+ * 2. **Layout-builder custom footer commands** (no `onAction`) — {@link AXPDialogRef} built by
874
+ * {@link buildLayoutBuilderCustomActionRef}. Resolves on button click; dialog stays open until the caller
875
+ * invokes `ref.close()` (e.g. `upload-image`, `signature-apply`).
876
+ *
877
+ * 3. **Header X / Esc dismiss** — {@link AXPDialogRef} from `createDialogRef('cancel')` when no footer action ran.
878
+ *
879
+ * Dirty-state / Esc-priority changes must not alter these payload shapes or `onAction` handler signatures.
880
+ */
881
+ interface DialogRendererLegacyData {
882
+ context?: unknown;
883
+ action?: string;
855
884
  }
885
+ /**
886
+ * Maps `dialog().show()` result to a typed form payload or `null` when cancelled / closed.
887
+ *
888
+ * Footer cancel typically returns `null` from `onAction`. Header X / Esc resolves to an
889
+ * {@link AXPDialogRef} with `action() === 'cancel'` and **does not** run `onAction` — callers must
890
+ * use this helper (or the same check) before treating a truthy result as form data.
891
+ */
892
+ declare function resolveLayoutBuilderDialogResult<T>(result: unknown): T | null;
893
+ /**
894
+ * Builds the `show()` resolve payload for layout-builder custom footer commands (fallback path).
895
+ */
896
+ declare function buildLayoutBuilderCustomActionRef(createDialogRef: (command: string | undefined) => AXPDialogRef, command: string | undefined): AXPDialogRef;
897
+ /**
898
+ * Keeps legacy popup `data.context` / `data.action` side fields in sync for custom footer commands.
899
+ */
900
+ declare function syncLegacyDialogDataSideFields(data: DialogRendererLegacyData | undefined, context: unknown, action: string | undefined): void;
901
+ /**
902
+ * Cancel from an `onAction` handler should route through the dirty-close gate only when configured.
903
+ * Otherwise preserve the original resolve-then-close sequence.
904
+ */
905
+ declare function shouldRouteOnActionCancelThroughDismissGate(confirmCloseWhenDirtyEnabled: boolean | undefined): boolean;
856
906
 
857
907
  declare class AXPLayoutConversionService {
858
908
  private widgetTreeCache;
@@ -916,8 +966,8 @@ declare class AXPLayoutConversionService {
916
966
  * Create a simple hash from a string
917
967
  */
918
968
  private createSimpleHash;
919
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutConversionService, never>;
920
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutConversionService>;
969
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPLayoutConversionService, never>;
970
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPLayoutConversionService>;
921
971
  }
922
972
 
923
973
  type DialogRendererConfig = AXPLayoutBuilderDialogConfig;
@@ -949,12 +999,12 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
949
999
  /** Blocks re-entrant {@link onClosing} while the first close gate is still resolving. */
950
1000
  private closeGateInProgress;
951
1001
  private readonly destroyRef;
952
- context: _angular_core.WritableSignal<any>;
1002
+ context: i0.WritableSignal<any>;
953
1003
  callBack: (result: unknown) => void;
954
1004
  data: any;
955
1005
  private isDialogLoading;
956
- footerPrefix: _angular_core.WritableSignal<AXPWidgetCoreElementAction[]>;
957
- footerSuffix: _angular_core.WritableSignal<AXPWidgetCoreElementAction[]>;
1006
+ footerPrefix: i0.WritableSignal<AXPWidgetCoreElementAction[]>;
1007
+ footerSuffix: i0.WritableSignal<AXPWidgetCoreElementAction[]>;
958
1008
  /**
959
1009
  * Correlate layout context snapshots for distributed hooks (`layout-builder.dialog.context-changed`).
960
1010
  */
@@ -1012,8 +1062,8 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
1012
1062
  /** Resolves footer action title when it contains {{ ... }} (e.g. wizard labels from dialog context). */
1013
1063
  private evalActionTitle;
1014
1064
  private resolveApi;
1015
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDialogRendererComponent, never>;
1016
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDialogRendererComponent, "axp-dialog-renderer", never, {}, { "result": "result"; }, never, never, true, never>;
1065
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDialogRendererComponent, never>;
1066
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPDialogRendererComponent, "axp-dialog-renderer", never, {}, { "result": "result"; }, never, never, true, never>;
1017
1067
  }
1018
1068
 
1019
1069
  /** See `AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY` in `@acorex-platform/framework-shared/core`. */
@@ -1050,9 +1100,9 @@ declare class AXPPreviewWidgetFieldCommand implements AXPCommand<AXPPreviewWidge
1050
1100
  private resolveFieldTitleLabel;
1051
1101
  private isCancelDialogOutcome;
1052
1102
  private resolveWidgetDisplayTitle;
1053
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPPreviewWidgetFieldCommand, never>;
1054
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPPreviewWidgetFieldCommand>;
1103
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPPreviewWidgetFieldCommand, never>;
1104
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPPreviewWidgetFieldCommand>;
1055
1105
  }
1056
1106
 
1057
- export { AXPDialogRendererComponent, AXPLayoutBuilderService, AXPLayoutConversionService, AXPLayoutRendererComponent, AXPPreviewWidgetFieldCommand, AXP_LAYOUT_BUILDER_DIALOG_BEFORE_OPEN_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONFIG_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONTEXT_CHANGED_HOOK_KEY, LayoutBuilderModule, createDismissedDialogRef };
1058
- export type { AXPDialogActionMenuItem, AXPDialogCloseConfirmationOptions, AXPDialogContainerOptions, AXPDialogRef, AXPDynamicFormDefinition, AXPDynamicFormDirection, AXPDynamicFormFieldDefinition, AXPDynamicFormGroupDefinition, AXPDynamicFormLook, AXPDynamicFormMode, AXPFieldsetContainerOptions, AXPFlexContainerOptions, AXPFormFieldHintDisplayMode, AXPFormFieldOptions, AXPGridContainerOptions, AXPLayoutBuilderDialogBeforeOpenPayload, AXPLayoutBuilderDialogConfig, AXPLayoutBuilderDialogContextChangedPayload, AXPListWidgetColumn, AXPListWidgetOptions, AXPListWidgetRowCommand, AXPPageContainerOptions, AXPPanelContainerOptions, AXPPreviewWidgetFieldCommandInput, AXPStepDefinition, AXPStepWizardContainerOptions, AXPStepWizardDefinition, AXPStepWizardGuardPayload, AXPStepWizardStatus, AXPTabsetContainerOptions, AXPWidgetConfiguration, AXPWidgetNodeExtendedProperties, AXPWizardActionDefinition, AXPWizardActions, ColorBoxOptions, DateTimeBoxOptions, DialogBuilderState, DialogRendererConfig, DialogRendererResult, FormFieldBuilderState, IActionBuilder, IBaseContainerBuilder, IChildContainerBuilder, IDialogBuilder, IFieldsetContainerBuilder, IFlexContainerBuilder, IFormFieldBuilder, IGridContainerBuilder, ILayoutBuilder, ILayoutContainerBuilder, IListWidgetBuilder, IPageContainerBuilder, IPanelContainerBuilder, IStepBuilder, IStepWizardBuilder, ITabsetContainerBuilder, IWidgetBuilder, IWidgetContainerBuilder, InheritanceContext, InheritedProperties, LargeTextBoxOptions, LayoutBuilderState, LayoutWidgetOptions, LookupBoxOptions, NumberBoxOptions, PasswordBoxOptions, RichTextOptions, SelectBoxOptions, SelectionListOptions, TextBoxOptions, ToggleSwitchOptions, ValueWidgetOptions, WidgetBuilderState };
1107
+ export { AXPDialogRendererComponent, AXPLayoutBuilderService, AXPLayoutConversionService, AXPLayoutRendererComponent, AXPPreviewWidgetFieldCommand, AXPSettingsDefinitionDialogOpenerService, AXP_LAYOUT_BUILDER_DIALOG_BEFORE_OPEN_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONFIG_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONTEXT_CHANGED_HOOK_KEY, LayoutBuilderModule, buildLayoutBuilderCustomActionRef, createDismissedDialogRef, resolveLayoutBuilderDialogResult, shouldRouteOnActionCancelThroughDismissGate, syncLegacyDialogDataSideFields };
1108
+ export type { AXPDialogActionMenuItem, AXPDialogCloseConfirmationOptions, AXPDialogContainerOptions, AXPDialogRef, AXPDynamicFormDefinition, AXPDynamicFormDirection, AXPDynamicFormFieldDefinition, AXPDynamicFormGroupDefinition, AXPDynamicFormLook, AXPDynamicFormMode, AXPFieldsetContainerOptions, AXPFlexContainerOptions, AXPFormFieldHintDisplayMode, AXPFormFieldOptions, AXPGridContainerOptions, AXPLayoutBuilderDialogBeforeOpenPayload, AXPLayoutBuilderDialogConfig, AXPLayoutBuilderDialogContextChangedPayload, AXPListWidgetColumn, AXPListWidgetOptions, AXPListWidgetRowCommand, AXPPageContainerOptions, AXPPanelContainerOptions, AXPPreviewWidgetFieldCommandInput, AXPStepDefinition, AXPStepWizardContainerOptions, AXPStepWizardDefinition, AXPStepWizardGuardPayload, AXPStepWizardStatus, AXPTabsetContainerOptions, AXPWidgetConfiguration, AXPWidgetNodeExtendedProperties, AXPWizardActionDefinition, AXPWizardActions, ColorBoxOptions, DateTimeBoxOptions, DialogBuilderState, DialogRendererConfig, DialogRendererLegacyData, DialogRendererResult, FormFieldBuilderState, IActionBuilder, IBaseContainerBuilder, IChildContainerBuilder, IDialogBuilder, IFieldsetContainerBuilder, IFlexContainerBuilder, IFormFieldBuilder, IGridContainerBuilder, ILayoutBuilder, ILayoutContainerBuilder, IListWidgetBuilder, IPageContainerBuilder, IPanelContainerBuilder, IStepBuilder, IStepWizardBuilder, ITabsetContainerBuilder, IWidgetBuilder, IWidgetContainerBuilder, InheritanceContext, InheritedProperties, LargeTextBoxOptions, LayoutBuilderState, LayoutWidgetOptions, LookupBoxOptions, NumberBoxOptions, PasswordBoxOptions, RichTextOptions, SelectBoxOptions, SelectionListOptions, TextBoxOptions, ToggleSwitchOptions, ValueWidgetOptions, WidgetBuilderState };