@acorex/platform 20.7.12 → 20.7.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.
- package/common/index.d.ts +10 -1
- package/core/index.d.ts +94 -4
- package/fesm2022/{acorex-platform-common-common-settings.provider-BwBLG0Hl.mjs → acorex-platform-common-common-settings.provider-gyb6ohAE.mjs} +15 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-gyb6ohAE.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +3 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +428 -157
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +90 -74
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +954 -1223
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +601 -193
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +7 -7
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-BfV3spe3.mjs → acorex-platform-layout-widgets-file-list-popup.component-B0omAUil.mjs} +18 -3
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-B0omAUil.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-repeater-widget-column.component-DnhR00cH.mjs → acorex-platform-layout-widgets-repeater-widget-column.component-fcCirNxz.mjs} +2 -2
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-fcCirNxz.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +165 -64
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-CJcbkSBF.mjs → acorex-platform-themes-default-entity-master-create-view.component-CCiYPMhz.mjs} +29 -26
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CCiYPMhz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-HBr-ZTSt.mjs → acorex-platform-themes-default-entity-master-list-view.component-BQODc73e.mjs} +2 -2
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-HBr-ZTSt.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-BQODc73e.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DAFQ4UI9.mjs → acorex-platform-themes-default-entity-master-modify-view.component-CgLUnYRq.mjs} +3 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CgLUnYRq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CwHHYmiK.mjs → acorex-platform-themes-default-entity-master-single-view.component-di5w_3K2.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-di5w_3K2.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +11 -11
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +244 -246
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +0 -3
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/components/index.d.ts +159 -248
- package/layout/entity/index.d.ts +42 -1
- package/layout/widgets/index.d.ts +43 -5
- package/package.json +5 -5
- package/themes/shared/index.d.ts +1 -1
- package/workflow/index.d.ts +33 -30
- package/fesm2022/acorex-platform-common-common-settings.provider-BwBLG0Hl.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-BfV3spe3.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-DnhR00cH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CJcbkSBF.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DAFQ4UI9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CwHHYmiK.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i5 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Injectable, inject, input, model, signal, effect, output, viewChild, ChangeDetectionStrategy, Component, NgModule, EventEmitter, Output } from '@angular/core';
|
|
@@ -16,9 +16,10 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
|
16
16
|
import * as i3 from '@acorex/components/loading';
|
|
17
17
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
18
18
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
19
|
-
import * as
|
|
19
|
+
import * as i6 from '@acorex/core/translation';
|
|
20
20
|
import { AXTranslationModule } from '@acorex/core/translation';
|
|
21
|
-
import
|
|
21
|
+
import * as i4 from '@acorex/platform/core';
|
|
22
|
+
import { AXPExpressionEvaluatorService, AXPComponentSlotModule } from '@acorex/platform/core';
|
|
22
23
|
|
|
23
24
|
class AXPLayoutConversionService {
|
|
24
25
|
constructor() {
|
|
@@ -2421,6 +2422,7 @@ class AXPDialogRendererComponent extends AXBasePageComponent {
|
|
|
2421
2422
|
}
|
|
2422
2423
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPDialogRendererComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2423
2424
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AXPDialogRendererComponent, isStandalone: true, selector: "axp-dialog-renderer", outputs: { result: "result" }, viewQueries: [{ propertyName: "layoutRenderer", first: true, predicate: AXPLayoutRendererComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
2425
|
+
<axp-component-slot name="dialog-header" [context]="context()"></axp-component-slot>
|
|
2424
2426
|
<div class="ax-p-4">
|
|
2425
2427
|
<axp-layout-renderer
|
|
2426
2428
|
[layout]="config.definition"
|
|
@@ -2431,44 +2433,50 @@ class AXPDialogRendererComponent extends AXBasePageComponent {
|
|
|
2431
2433
|
</axp-layout-renderer>
|
|
2432
2434
|
</div>
|
|
2433
2435
|
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
}
|
|
2449
|
-
</ax-prefix>
|
|
2450
|
-
<ax-suffix>
|
|
2451
|
-
@for (action of footerSuffixActions(); track $index) {
|
|
2452
|
-
<ax-button
|
|
2453
|
-
[disabled]="action.disabled || isSubmitting()"
|
|
2454
|
-
[text]="(action.title | translate | async)!"
|
|
2455
|
-
[look]="'solid'"
|
|
2456
|
-
[color]="action.color"
|
|
2457
|
-
(onClick)="executeAction(action)"
|
|
2458
|
-
>
|
|
2459
|
-
@if (isFormLoading()) {
|
|
2460
|
-
<ax-loading></ax-loading>
|
|
2461
|
-
}
|
|
2462
|
-
@if (action.icon) {
|
|
2436
|
+
<!-- Custom footer slot: if it has content, default footer is hidden -->
|
|
2437
|
+
<axp-component-slot name="dialog-footer" #footerSlot="slot" [context]="context()"></axp-component-slot>
|
|
2438
|
+
@if (footerSlot.isEmpty()) {
|
|
2439
|
+
<ax-footer>
|
|
2440
|
+
<ax-prefix>
|
|
2441
|
+
<axp-component-slot name="dialog-footer-prefix" [context]="context()"></axp-component-slot>
|
|
2442
|
+
@for (action of footerPrefixActions(); track $index) {
|
|
2443
|
+
<ax-button
|
|
2444
|
+
[disabled]="action.disabled || isFormLoading()"
|
|
2445
|
+
[text]="(action.title | translate | async)!"
|
|
2446
|
+
[look]="'outline'"
|
|
2447
|
+
[color]="action.color"
|
|
2448
|
+
(onClick)="executeAction(action)"
|
|
2449
|
+
>
|
|
2463
2450
|
<ax-prefix>
|
|
2464
|
-
<
|
|
2451
|
+
<i class="{{ action.icon }}"></i>
|
|
2465
2452
|
</ax-prefix>
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2453
|
+
</ax-button>
|
|
2454
|
+
}
|
|
2455
|
+
</ax-prefix>
|
|
2456
|
+
<ax-suffix>
|
|
2457
|
+
@for (action of footerSuffixActions(); track $index) {
|
|
2458
|
+
<ax-button
|
|
2459
|
+
[disabled]="action.disabled || isSubmitting()"
|
|
2460
|
+
[text]="(action.title | translate | async)!"
|
|
2461
|
+
[look]="'solid'"
|
|
2462
|
+
[color]="action.color"
|
|
2463
|
+
(onClick)="executeAction(action)"
|
|
2464
|
+
>
|
|
2465
|
+
@if (isFormLoading()) {
|
|
2466
|
+
<ax-loading></ax-loading>
|
|
2467
|
+
}
|
|
2468
|
+
@if (action.icon) {
|
|
2469
|
+
<ax-prefix>
|
|
2470
|
+
<ax-icon icon="{{ action.icon }}"></ax-icon>
|
|
2471
|
+
</ax-prefix>
|
|
2472
|
+
}
|
|
2473
|
+
</ax-button>
|
|
2474
|
+
}
|
|
2475
|
+
<axp-component-slot name="dialog-footer-suffix" [context]="context()"></axp-component-slot>
|
|
2476
|
+
</ax-suffix>
|
|
2477
|
+
</ax-footer>
|
|
2478
|
+
}
|
|
2479
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXPLayoutRendererComponent, selector: "axp-layout-renderer", inputs: ["layout", "context", "look", "mode"], outputs: ["contextChange", "contextInitiated", "validityChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$1.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: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i3.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXPComponentSlotModule }, { kind: "directive", type: i4.AXPComponentSlotDirective, selector: "axp-component-slot", inputs: ["name", "host", "context"], exportAs: ["slot"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }] }); }
|
|
2472
2480
|
}
|
|
2473
2481
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXPDialogRendererComponent, decorators: [{
|
|
2474
2482
|
type: Component,
|
|
@@ -2482,8 +2490,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2482
2490
|
AXDecoratorModule,
|
|
2483
2491
|
AXLoadingModule,
|
|
2484
2492
|
AXTranslationModule,
|
|
2493
|
+
AXPComponentSlotModule,
|
|
2485
2494
|
],
|
|
2486
2495
|
template: `
|
|
2496
|
+
<axp-component-slot name="dialog-header" [context]="context()"></axp-component-slot>
|
|
2487
2497
|
<div class="ax-p-4">
|
|
2488
2498
|
<axp-layout-renderer
|
|
2489
2499
|
[layout]="config.definition"
|
|
@@ -2494,43 +2504,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2494
2504
|
</axp-layout-renderer>
|
|
2495
2505
|
</div>
|
|
2496
2506
|
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
}
|
|
2512
|
-
</ax-prefix>
|
|
2513
|
-
<ax-suffix>
|
|
2514
|
-
@for (action of footerSuffixActions(); track $index) {
|
|
2515
|
-
<ax-button
|
|
2516
|
-
[disabled]="action.disabled || isSubmitting()"
|
|
2517
|
-
[text]="(action.title | translate | async)!"
|
|
2518
|
-
[look]="'solid'"
|
|
2519
|
-
[color]="action.color"
|
|
2520
|
-
(onClick)="executeAction(action)"
|
|
2521
|
-
>
|
|
2522
|
-
@if (isFormLoading()) {
|
|
2523
|
-
<ax-loading></ax-loading>
|
|
2524
|
-
}
|
|
2525
|
-
@if (action.icon) {
|
|
2507
|
+
<!-- Custom footer slot: if it has content, default footer is hidden -->
|
|
2508
|
+
<axp-component-slot name="dialog-footer" #footerSlot="slot" [context]="context()"></axp-component-slot>
|
|
2509
|
+
@if (footerSlot.isEmpty()) {
|
|
2510
|
+
<ax-footer>
|
|
2511
|
+
<ax-prefix>
|
|
2512
|
+
<axp-component-slot name="dialog-footer-prefix" [context]="context()"></axp-component-slot>
|
|
2513
|
+
@for (action of footerPrefixActions(); track $index) {
|
|
2514
|
+
<ax-button
|
|
2515
|
+
[disabled]="action.disabled || isFormLoading()"
|
|
2516
|
+
[text]="(action.title | translate | async)!"
|
|
2517
|
+
[look]="'outline'"
|
|
2518
|
+
[color]="action.color"
|
|
2519
|
+
(onClick)="executeAction(action)"
|
|
2520
|
+
>
|
|
2526
2521
|
<ax-prefix>
|
|
2527
|
-
<
|
|
2522
|
+
<i class="{{ action.icon }}"></i>
|
|
2528
2523
|
</ax-prefix>
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2524
|
+
</ax-button>
|
|
2525
|
+
}
|
|
2526
|
+
</ax-prefix>
|
|
2527
|
+
<ax-suffix>
|
|
2528
|
+
@for (action of footerSuffixActions(); track $index) {
|
|
2529
|
+
<ax-button
|
|
2530
|
+
[disabled]="action.disabled || isSubmitting()"
|
|
2531
|
+
[text]="(action.title | translate | async)!"
|
|
2532
|
+
[look]="'solid'"
|
|
2533
|
+
[color]="action.color"
|
|
2534
|
+
(onClick)="executeAction(action)"
|
|
2535
|
+
>
|
|
2536
|
+
@if (isFormLoading()) {
|
|
2537
|
+
<ax-loading></ax-loading>
|
|
2538
|
+
}
|
|
2539
|
+
@if (action.icon) {
|
|
2540
|
+
<ax-prefix>
|
|
2541
|
+
<ax-icon icon="{{ action.icon }}"></ax-icon>
|
|
2542
|
+
</ax-prefix>
|
|
2543
|
+
}
|
|
2544
|
+
</ax-button>
|
|
2545
|
+
}
|
|
2546
|
+
<axp-component-slot name="dialog-footer-suffix" [context]="context()"></axp-component-slot>
|
|
2547
|
+
</ax-suffix>
|
|
2548
|
+
</ax-footer>
|
|
2549
|
+
}
|
|
2534
2550
|
`,
|
|
2535
2551
|
}]
|
|
2536
2552
|
}], propDecorators: { result: [{
|