@acorex/platform 21.0.0-next.0 → 21.0.0-next.10
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/auth/index.d.ts +235 -5
- package/common/index.d.ts +220 -218
- package/core/index.d.ts +261 -431
- package/fesm2022/acorex-platform-auth.mjs +200 -37
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-zhqNP3xb.mjs → acorex-platform-common-common-settings.provider-O8usQ0VC.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-common-settings.provider-zhqNP3xb.mjs.map → acorex-platform-common-common-settings.provider-O8usQ0VC.mjs.map} +1 -1
- package/fesm2022/acorex-platform-common.mjs +215 -198
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +545 -585
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +16 -16
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +84 -35
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +298 -190
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +72 -72
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +2955 -1278
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +25 -17
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +189 -108
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs → acorex-platform-layout-widgets-button-widget-designer.component-D-NsRvRl.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs.map → acorex-platform-layout-widgets-button-widget-designer.component-D-NsRvRl.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs → acorex-platform-layout-widgets-file-list-popup.component-CCcKHSHj.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs.map → acorex-platform-layout-widgets-file-list-popup.component-CCcKHSHj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs → acorex-platform-layout-widgets-image-preview.popup-IrT52Nh1.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map → acorex-platform-layout-widgets-image-preview.popup-IrT52Nh1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs → acorex-platform-layout-widgets-page-widget-designer.component-DFbfh-OX.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs.map → acorex-platform-layout-widgets-page-widget-designer.component-DFbfh-OX.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-Dw6naXvq.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-Dw6naXvq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component--4R3TUdJ.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs.map → acorex-platform-layout-widgets-tabular-data-edit-popup.component--4R3TUdJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-BeVQuHFj.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-BeVQuHFj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-CdQxqi0D.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs.map → acorex-platform-layout-widgets-text-block-widget-designer.component-CdQxqi0D.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +2247 -1221
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +43 -43
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs → acorex-platform-themes-default-entity-master-create-view.component-D2ucwC3F.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-D2ucwC3F.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.mjs → acorex-platform-themes-default-entity-master-list-view.component-CIV6YDDZ.mjs} +12 -12
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CIV6YDDZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs → acorex-platform-themes-default-entity-master-modify-view.component-D5BYbUGK.mjs} +7 -8
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-D5BYbUGK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs → acorex-platform-themes-default-entity-master-single-view.component-Cf4ei46_.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-Cf4ei46_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-401.component-cfREo88K.mjs → acorex-platform-themes-default-error-401.component-DdMToZ9q.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-cfREo88K.mjs.map → acorex-platform-themes-default-error-401.component-DdMToZ9q.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs → acorex-platform-themes-default-error-404.component-CKsa5aPE.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs.map → acorex-platform-themes-default-error-404.component-CKsa5aPE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs → acorex-platform-themes-default-error-offline.component-1gxFTAuX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs.map → acorex-platform-themes-default-error-offline.component-1gxFTAuX.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +39 -42
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs → acorex-platform-themes-shared-icon-chooser-column.component-Ds8eRMuV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map → acorex-platform-themes-shared-icon-chooser-column.component-Ds8eRMuV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dv38sOzr.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-Dv38sOzr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-DcO6P6OG.mjs} +11 -11
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DcO6P6OG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-B7T2qtaI.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs.map → acorex-platform-themes-shared-theme-color-chooser-view.component-B7T2qtaI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +41 -41
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1529 -1758
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +15 -3
- package/layout/components/index.d.ts +23 -6
- package/layout/entity/index.d.ts +392 -144
- package/layout/views/index.d.ts +16 -11
- package/layout/widget-core/index.d.ts +47 -10
- package/layout/widgets/index.d.ts +212 -39
- package/package.json +5 -5
- package/themes/default/index.d.ts +0 -1
- package/workflow/index.d.ts +1050 -1759
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map +0 -1
package/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Type, InjectionToken,
|
|
2
|
+
import { Type, InjectionToken, ViewContainerRef, ElementRef, EventEmitter, OnInit, OnChanges, Renderer2, SimpleChanges, OnDestroy, Injector, PipeTransform, Provider } from '@angular/core';
|
|
3
3
|
import { AXStyleColorType, AXDataSource, AXDataSourceSortOption, AXDataSourceFilterOption, AXDataSourceQuery, AXDataSourceCallbackResult } from '@acorex/cdk/common';
|
|
4
4
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -983,6 +983,7 @@ interface AXPCategorizedEntityDto {
|
|
|
983
983
|
title: string;
|
|
984
984
|
}[];
|
|
985
985
|
}
|
|
986
|
+
type AXPEntityOp = 'initial' | 'create' | 'update' | 'delete' | 'getOne' | 'getAll' | 'query';
|
|
986
987
|
|
|
987
988
|
type AXPWidgetTrigger = {
|
|
988
989
|
event: string;
|
|
@@ -1145,10 +1146,8 @@ declare class AXPIconLogoConfig implements AXPLogoConfig {
|
|
|
1145
1146
|
constructor(icon: string, color?: string | undefined);
|
|
1146
1147
|
}
|
|
1147
1148
|
|
|
1148
|
-
type AXPPlatformScopeKey = '
|
|
1149
|
+
type AXPPlatformScopeKey = 'P' | 'T' | 'U';
|
|
1149
1150
|
declare enum AXPPlatformScope {
|
|
1150
|
-
Environment = "C",
|
|
1151
|
-
Global = "G",
|
|
1152
1151
|
Platform = "P",
|
|
1153
1152
|
Tenant = "T",
|
|
1154
1153
|
User = "U"
|
|
@@ -1472,6 +1471,173 @@ declare class AXPDefaultColorPalettesProvider extends AXPColorPaletteProvider {
|
|
|
1472
1471
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDefaultColorPalettesProvider>;
|
|
1473
1472
|
}
|
|
1474
1473
|
|
|
1474
|
+
/**
|
|
1475
|
+
* Column width value can be a number (converted to pixels) or a string with any CSS unit
|
|
1476
|
+
* @example 150 (becomes '150px'), '300px', '50%', '2rem', '20ch'
|
|
1477
|
+
*/
|
|
1478
|
+
type ColumnWidthValue = string | number;
|
|
1479
|
+
/**
|
|
1480
|
+
* Matcher for column name - can be exact string match or RegExp pattern
|
|
1481
|
+
* @example 'title', /^user/, /.*name$/i
|
|
1482
|
+
*/
|
|
1483
|
+
type ColumnNameMatcher = string | RegExp;
|
|
1484
|
+
/**
|
|
1485
|
+
* Matcher for widget type - can be exact string match or RegExp pattern (case-insensitive)
|
|
1486
|
+
* @example 'text-box', /^date/, /.*editor$/i
|
|
1487
|
+
*/
|
|
1488
|
+
type WidgetTypeMatcher = string | RegExp;
|
|
1489
|
+
/**
|
|
1490
|
+
* Defines a single width matching rule
|
|
1491
|
+
*/
|
|
1492
|
+
interface AXPColumnWidthMatcher {
|
|
1493
|
+
/**
|
|
1494
|
+
* Match by column name (exact string or RegExp pattern)
|
|
1495
|
+
* Takes precedence over widgetType matching
|
|
1496
|
+
* @example 'title', /^user/, /.*name$/i
|
|
1497
|
+
*/
|
|
1498
|
+
name?: ColumnNameMatcher;
|
|
1499
|
+
/**
|
|
1500
|
+
* Match by widget type (exact string or RegExp pattern, case-insensitive)
|
|
1501
|
+
* Used as fallback when name doesn't match
|
|
1502
|
+
* @example 'text-box', /^date/, /.*editor$/i
|
|
1503
|
+
*/
|
|
1504
|
+
widgetType?: WidgetTypeMatcher;
|
|
1505
|
+
/**
|
|
1506
|
+
* Width value to apply if this matcher matches
|
|
1507
|
+
* Numbers are converted to pixels (e.g., 150 -> '150px')
|
|
1508
|
+
* Strings can include any CSS unit (e.g., '300px', '50%', '2rem')
|
|
1509
|
+
*/
|
|
1510
|
+
width: ColumnWidthValue;
|
|
1511
|
+
/**
|
|
1512
|
+
* Priority for this matcher within the provider (higher = more specific, applied first)
|
|
1513
|
+
* Default: 0
|
|
1514
|
+
*/
|
|
1515
|
+
priority?: number;
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Provider configuration for column width rules
|
|
1519
|
+
*/
|
|
1520
|
+
interface AXPColumnWidthProvider {
|
|
1521
|
+
/**
|
|
1522
|
+
* Array of matchers to evaluate
|
|
1523
|
+
* Evaluated in priority order (highest first), then by match type (name before widgetType)
|
|
1524
|
+
*/
|
|
1525
|
+
matchers: AXPColumnWidthMatcher[];
|
|
1526
|
+
/**
|
|
1527
|
+
* Priority for this provider relative to other providers (higher = applied first)
|
|
1528
|
+
* Default: 100
|
|
1529
|
+
*/
|
|
1530
|
+
priority?: number;
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* Generic column interface for width resolution
|
|
1534
|
+
* Works with any column type that has these properties
|
|
1535
|
+
*/
|
|
1536
|
+
interface IColumnWithWidth {
|
|
1537
|
+
/**
|
|
1538
|
+
* Column name
|
|
1539
|
+
*/
|
|
1540
|
+
name: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Current width (if already set)
|
|
1543
|
+
*/
|
|
1544
|
+
width?: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* Widget type information (optional)
|
|
1547
|
+
*/
|
|
1548
|
+
widget?: {
|
|
1549
|
+
type: string;
|
|
1550
|
+
};
|
|
1551
|
+
/**
|
|
1552
|
+
* Additional options that might contain width
|
|
1553
|
+
*/
|
|
1554
|
+
options?: {
|
|
1555
|
+
width?: string;
|
|
1556
|
+
};
|
|
1557
|
+
/**
|
|
1558
|
+
* For entity columns - showAs configuration
|
|
1559
|
+
*/
|
|
1560
|
+
showAs?: {
|
|
1561
|
+
type: string;
|
|
1562
|
+
};
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Service for resolving column widths based on registered providers
|
|
1567
|
+
* Supports matching by column name (priority) and widget type (fallback)
|
|
1568
|
+
* Uses multi-provider pattern for extensibility
|
|
1569
|
+
*/
|
|
1570
|
+
declare class AXPColumnWidthService {
|
|
1571
|
+
private readonly providers;
|
|
1572
|
+
/**
|
|
1573
|
+
* Resolve width for a column based on registered providers
|
|
1574
|
+
* Only returns a width if column doesn't already have one set
|
|
1575
|
+
*
|
|
1576
|
+
* @param column Column to resolve width for
|
|
1577
|
+
* @returns Resolved width string (normalized) or undefined if no match or column already has width
|
|
1578
|
+
*/
|
|
1579
|
+
resolveWidth(column: IColumnWithWidth): string | undefined;
|
|
1580
|
+
/**
|
|
1581
|
+
* Apply resolved width to a column (mutates the column)
|
|
1582
|
+
* Only applies if column doesn't already have a width
|
|
1583
|
+
*
|
|
1584
|
+
* @param column Column to apply width to
|
|
1585
|
+
* @returns true if width was applied, false if column already had width or no match found
|
|
1586
|
+
*/
|
|
1587
|
+
applyWidth(column: IColumnWithWidth): boolean;
|
|
1588
|
+
/**
|
|
1589
|
+
* Collect all matchers from all providers, sorted by provider priority and matcher priority
|
|
1590
|
+
*/
|
|
1591
|
+
private collectMatchers;
|
|
1592
|
+
/**
|
|
1593
|
+
* Find first matching matcher by column name
|
|
1594
|
+
* Name matches take precedence over widget type matches
|
|
1595
|
+
*/
|
|
1596
|
+
private findNameMatch;
|
|
1597
|
+
/**
|
|
1598
|
+
* Find first matching matcher by widget type (case-insensitive)
|
|
1599
|
+
*/
|
|
1600
|
+
private findWidgetTypeMatch;
|
|
1601
|
+
/**
|
|
1602
|
+
* Normalize width value to string format
|
|
1603
|
+
* Numbers are converted to pixels (e.g., 150 -> '150px')
|
|
1604
|
+
* Strings are preserved as-is (supports any CSS unit)
|
|
1605
|
+
*/
|
|
1606
|
+
private normalizeWidth;
|
|
1607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPColumnWidthService, never>;
|
|
1608
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPColumnWidthService>;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* Injection token for column width providers
|
|
1613
|
+
* Use this to register multiple column width providers with multi: true
|
|
1614
|
+
*
|
|
1615
|
+
* @example
|
|
1616
|
+
* ```typescript
|
|
1617
|
+
* providers: [
|
|
1618
|
+
* {
|
|
1619
|
+
* provide: AXP_COLUMN_WIDTH_PROVIDER,
|
|
1620
|
+
* useValue: {
|
|
1621
|
+
* matchers: [
|
|
1622
|
+
* { name: 'title', width: '300px', priority: 10 },
|
|
1623
|
+
* { widgetType: /text-box/i, width: '200px' }
|
|
1624
|
+
* ],
|
|
1625
|
+
* priority: 150
|
|
1626
|
+
* },
|
|
1627
|
+
* multi: true
|
|
1628
|
+
* }
|
|
1629
|
+
* ]
|
|
1630
|
+
* ```
|
|
1631
|
+
*/
|
|
1632
|
+
declare const AXP_COLUMN_WIDTH_PROVIDER: InjectionToken<AXPColumnWidthProvider[]>;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Default column width configuration
|
|
1636
|
+
* Migrated from DEFAULT_COLUMN_WIDTHS in column-width.middleware.ts
|
|
1637
|
+
* Provides sensible defaults for common column names
|
|
1638
|
+
*/
|
|
1639
|
+
declare const defaultColumnWidthProvider: AXPColumnWidthProvider;
|
|
1640
|
+
|
|
1475
1641
|
type AXPContextState = 'initiated' | 'restored' | 'changed' | 'patch';
|
|
1476
1642
|
type AXPContextData = {
|
|
1477
1643
|
[key: string]: any;
|
|
@@ -1577,13 +1743,30 @@ interface AXPDataSourceDefinitionProvider {
|
|
|
1577
1743
|
declare const AXP_DATASOURCE_DEFINITION_PROVIDER: InjectionToken<AXPDataSourceDefinitionProvider[]>;
|
|
1578
1744
|
declare class AXPDataSourceDefinitionProviderService implements AXPDataSourceDefinitionProvider {
|
|
1579
1745
|
private providers;
|
|
1580
|
-
private providerRegistry;
|
|
1581
1746
|
items(): Promise<AXPDataSourceDefinition[]>;
|
|
1582
1747
|
get(name: string): Promise<AXPDataSourceDefinition | undefined>;
|
|
1583
1748
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDataSourceDefinitionProviderService, never>;
|
|
1584
1749
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDataSourceDefinitionProviderService>;
|
|
1585
1750
|
}
|
|
1586
1751
|
|
|
1752
|
+
declare class AXPContentCheckerDirective {
|
|
1753
|
+
viewContainerRef: ViewContainerRef;
|
|
1754
|
+
elementRef: ElementRef<HTMLDivElement>;
|
|
1755
|
+
isEmpty: i0.Signal<boolean>;
|
|
1756
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContentCheckerDirective, never>;
|
|
1757
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPContentCheckerDirective, "[axp-content-checker]", ["checker"], {}, {}, never, never, true, never>;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
declare class AXPDblClickDirective {
|
|
1761
|
+
onDblClick: EventEmitter<Event>;
|
|
1762
|
+
private lastTap;
|
|
1763
|
+
private readonly doubleTapThreshold;
|
|
1764
|
+
handleOnDblClick(event: Event): void;
|
|
1765
|
+
onTouchEnd(event: TouchEvent): void;
|
|
1766
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDblClickDirective, never>;
|
|
1767
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPDblClickDirective, "[onDblClick]", never, {}, { "onDblClick": "onDblClick"; }, never, never, true, never>;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1587
1770
|
declare class AXPElementDataDirective implements OnInit {
|
|
1588
1771
|
private elementRef;
|
|
1589
1772
|
data: i0.InputSignal<any>;
|
|
@@ -1603,16 +1786,6 @@ declare class AXPElementDataDirective implements OnInit {
|
|
|
1603
1786
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPElementDataDirective, "[axp-data]", never, { "data": { "alias": "axp-data"; "required": false; "isSignal": true; }; "path": { "alias": "axp-data-path"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1604
1787
|
}
|
|
1605
1788
|
|
|
1606
|
-
declare class AXPDblClickDirective {
|
|
1607
|
-
onDblClick: EventEmitter<Event>;
|
|
1608
|
-
private lastTap;
|
|
1609
|
-
private readonly doubleTapThreshold;
|
|
1610
|
-
handleOnDblClick(event: Event): void;
|
|
1611
|
-
onTouchEnd(event: TouchEvent): void;
|
|
1612
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDblClickDirective, never>;
|
|
1613
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPDblClickDirective, "[onDblClick]", never, {}, { "onDblClick": "onDblClick"; }, never, never, true, never>;
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
1789
|
declare class AXPGridLayoutDirective implements OnChanges {
|
|
1617
1790
|
private el;
|
|
1618
1791
|
private renderer;
|
|
@@ -1626,77 +1799,6 @@ declare class AXPGridLayoutDirective implements OnChanges {
|
|
|
1626
1799
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPGridLayoutDirective, "[axp-grid-layout]", never, { "options": { "alias": "axp-grid-layout"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1627
1800
|
}
|
|
1628
1801
|
|
|
1629
|
-
declare class AXPContentCheckerDirective {
|
|
1630
|
-
viewContainerRef: ViewContainerRef;
|
|
1631
|
-
elementRef: ElementRef<HTMLDivElement>;
|
|
1632
|
-
isEmpty: i0.Signal<boolean>;
|
|
1633
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContentCheckerDirective, never>;
|
|
1634
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPContentCheckerDirective, "[axp-content-checker]", ["checker"], {}, {}, never, never, true, never>;
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
/**
|
|
1638
|
-
* Fullscreen directive that provides CSS-based fullscreen functionality
|
|
1639
|
-
* Usage: <element axFullscreen #fullscreen="axFullscreen"></element>
|
|
1640
|
-
* Then: fullscreen.toggle() or fullscreen.enter() or fullscreen.exit()
|
|
1641
|
-
*/
|
|
1642
|
-
declare class AXFullscreenDirective implements OnDestroy {
|
|
1643
|
-
private elementRef;
|
|
1644
|
-
/**
|
|
1645
|
-
* Current fullscreen state
|
|
1646
|
-
*/
|
|
1647
|
-
private readonly isFullscreenState;
|
|
1648
|
-
/**
|
|
1649
|
-
* Original element styles to restore
|
|
1650
|
-
*/
|
|
1651
|
-
private originalStyles;
|
|
1652
|
-
/**
|
|
1653
|
-
* Original parent element reference
|
|
1654
|
-
*/
|
|
1655
|
-
private originalParent;
|
|
1656
|
-
/**
|
|
1657
|
-
* Fullscreen container element
|
|
1658
|
-
*/
|
|
1659
|
-
private fullscreenContainer;
|
|
1660
|
-
/**
|
|
1661
|
-
* Fullscreen change event
|
|
1662
|
-
*/
|
|
1663
|
-
readonly fullscreenChange: i0.OutputEmitterRef<boolean>;
|
|
1664
|
-
private readonly destroyRef;
|
|
1665
|
-
private readonly renderer;
|
|
1666
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
1667
|
-
/**
|
|
1668
|
-
* Toggle fullscreen state
|
|
1669
|
-
*/
|
|
1670
|
-
toggle(): Promise<void>;
|
|
1671
|
-
/**
|
|
1672
|
-
* Enter fullscreen mode using CSS
|
|
1673
|
-
*/
|
|
1674
|
-
enter(): Promise<void>;
|
|
1675
|
-
/**
|
|
1676
|
-
* Exit fullscreen mode
|
|
1677
|
-
*/
|
|
1678
|
-
exit(): Promise<void>;
|
|
1679
|
-
/**
|
|
1680
|
-
* Check if currently in fullscreen mode
|
|
1681
|
-
*/
|
|
1682
|
-
isFullscreen(): boolean;
|
|
1683
|
-
/**
|
|
1684
|
-
* Store original element styles
|
|
1685
|
-
*/
|
|
1686
|
-
private storeOriginalStyles;
|
|
1687
|
-
/**
|
|
1688
|
-
* Restore original element styles
|
|
1689
|
-
*/
|
|
1690
|
-
private restoreOriginalStyles;
|
|
1691
|
-
/**
|
|
1692
|
-
* Convert camelCase to kebab-case for CSS properties
|
|
1693
|
-
*/
|
|
1694
|
-
private camelToKebabCase;
|
|
1695
|
-
ngOnDestroy(): void;
|
|
1696
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFullscreenDirective, never>;
|
|
1697
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXFullscreenDirective, "[axFullscreen]", ["axFullscreen"], {}, { "fullscreenChange": "fullscreenChange"; }, never, never, true, never>;
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
1802
|
type AXPDistributedEventListenerProviderToken<T> = AXPDistributedEventListenerProvider<T> | Promise<AXPDistributedEventListenerProvider<T>>;
|
|
1701
1803
|
declare const AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER: InjectionToken<AXPDistributedEventListenerProviderToken<any>[]>;
|
|
1702
1804
|
interface AXPDistributedEventListenerProvider<TInput = any, TOutput = void> {
|
|
@@ -1897,7 +1999,8 @@ interface AXPModuleFeatureDefinitionWithKey extends AXPModuleFeatureDefinition {
|
|
|
1897
1999
|
}
|
|
1898
2000
|
/**
|
|
1899
2001
|
* Module manifest structure.
|
|
1900
|
-
* Defines module metadata
|
|
2002
|
+
* Defines module metadata and dependencies.
|
|
2003
|
+
* Features are provided via AXP_FEATURE_DEFINITION_PROVIDER token.
|
|
1901
2004
|
*/
|
|
1902
2005
|
interface AXPModuleManifest {
|
|
1903
2006
|
/**
|
|
@@ -1925,70 +2028,11 @@ interface AXPModuleManifest {
|
|
|
1925
2028
|
*/
|
|
1926
2029
|
i18n?: string;
|
|
1927
2030
|
/**
|
|
1928
|
-
*
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
provider: () => Promise<any>;
|
|
1932
|
-
};
|
|
1933
|
-
/**
|
|
1934
|
-
* Menu provider reference (lazy-loaded).
|
|
1935
|
-
*/
|
|
1936
|
-
menus?: {
|
|
1937
|
-
provider: () => Promise<any>;
|
|
1938
|
-
};
|
|
1939
|
-
/**
|
|
1940
|
-
* Entity definition provider reference (lazy-loaded).
|
|
1941
|
-
*/
|
|
1942
|
-
entities?: {
|
|
1943
|
-
provider: () => Promise<any>;
|
|
1944
|
-
};
|
|
1945
|
-
/**
|
|
1946
|
-
* Settings provider reference (lazy-loaded).
|
|
1947
|
-
*/
|
|
1948
|
-
settings?: {
|
|
1949
|
-
provider: () => Promise<any>;
|
|
1950
|
-
};
|
|
1951
|
-
/**
|
|
1952
|
-
* Search provider reference (lazy-loaded).
|
|
1953
|
-
*/
|
|
1954
|
-
search?: {
|
|
1955
|
-
provider: () => Promise<any>;
|
|
1956
|
-
};
|
|
1957
|
-
/**
|
|
1958
|
-
* Feature definition provider reference (lazy-loaded).
|
|
1959
|
-
* Used to provide feature definitions for the module.
|
|
1960
|
-
*/
|
|
1961
|
-
features?: {
|
|
1962
|
-
provider: () => Promise<any>;
|
|
1963
|
-
};
|
|
1964
|
-
/**
|
|
1965
|
-
* Data source provider reference (lazy-loaded).
|
|
1966
|
-
*/
|
|
1967
|
-
datasources?: {
|
|
1968
|
-
provider: () => Promise<any>;
|
|
1969
|
-
};
|
|
1970
|
-
/**
|
|
1971
|
-
* Component slots provider reference (lazy-loaded).
|
|
1972
|
-
* Returns component slot configurations grouped by slot name.
|
|
1973
|
-
* Slots registered via manifest are loaded after application selection.
|
|
1974
|
-
* Module-level registration (AXPComponentSlotModule.forChild) still works for immediate availability.
|
|
1975
|
-
*/
|
|
1976
|
-
componentSlots?: {
|
|
1977
|
-
provider: () => Promise<any>;
|
|
1978
|
-
};
|
|
1979
|
-
/**
|
|
1980
|
-
* Module dependencies
|
|
2031
|
+
* Module dependencies.
|
|
2032
|
+
* Simple array format: module names (e.g., "MeasurementCore") or feature keys (e.g., "DataManagement.MetaDataDefinitions").
|
|
2033
|
+
* Features use ModuleName.FeatureKey format (dot separator).
|
|
1981
2034
|
*/
|
|
1982
|
-
dependencies?:
|
|
1983
|
-
/**
|
|
1984
|
-
* Required module names
|
|
1985
|
-
*/
|
|
1986
|
-
modules?: string[];
|
|
1987
|
-
/**
|
|
1988
|
-
* Required feature keys (full format: ModuleName.FeatureKey)
|
|
1989
|
-
*/
|
|
1990
|
-
features?: string[];
|
|
1991
|
-
};
|
|
2035
|
+
dependencies?: string[];
|
|
1992
2036
|
/**
|
|
1993
2037
|
* Whether this module is required (always enabled, cannot be disabled).
|
|
1994
2038
|
* Required modules like 'auth' and 'common' are always available.
|
|
@@ -2024,12 +2068,6 @@ interface AXPFeatureDefinition extends AXPModuleFeatureDefinition {
|
|
|
2024
2068
|
key: string;
|
|
2025
2069
|
}
|
|
2026
2070
|
|
|
2027
|
-
/**
|
|
2028
|
-
* Injection token for module manifest providers.
|
|
2029
|
-
* Modules register their manifest providers using this token.
|
|
2030
|
-
*/
|
|
2031
|
-
declare const AXP_MODULE_MANIFEST_PROVIDER: InjectionToken<AXPModuleManifest[]>;
|
|
2032
|
-
|
|
2033
2071
|
/**
|
|
2034
2072
|
* Registry service for module manifests.
|
|
2035
2073
|
* Collects and manages all registered module manifests.
|
|
@@ -2066,6 +2104,11 @@ declare class AXPModuleManifestRegistry {
|
|
|
2066
2104
|
* Check if a module manifest is registered.
|
|
2067
2105
|
*/
|
|
2068
2106
|
has(moduleName: string): boolean;
|
|
2107
|
+
/**
|
|
2108
|
+
* Load feature definitions from all registered feature definition providers.
|
|
2109
|
+
* Features are automatically associated with modules based on the module name in the feature key.
|
|
2110
|
+
*/
|
|
2111
|
+
private loadFeatureDefinitions;
|
|
2069
2112
|
/**
|
|
2070
2113
|
* Get all feature definitions from all manifests.
|
|
2071
2114
|
*/
|
|
@@ -2089,12 +2132,13 @@ declare class AXPModuleManifestRegistry {
|
|
|
2089
2132
|
getModuleFeatures(moduleName: string): AXPFeatureDefinition[];
|
|
2090
2133
|
/**
|
|
2091
2134
|
* Register a feature definition dynamically (e.g., from feature definition provider).
|
|
2092
|
-
* Used to add features that are defined at runtime via
|
|
2135
|
+
* Used to add features that are defined at runtime via AXP_FEATURE_DEFINITION_PROVIDER.
|
|
2093
2136
|
*/
|
|
2094
2137
|
registerFeatureDefinition(definition: AXPFeatureDefinition): void;
|
|
2095
2138
|
/**
|
|
2096
2139
|
* Check if module dependencies are satisfied.
|
|
2097
2140
|
* Returns array of missing dependencies.
|
|
2141
|
+
* Dependencies can be module names or feature keys (ModuleName.FeatureKey format).
|
|
2098
2142
|
*/
|
|
2099
2143
|
checkDependencies(moduleName: string): {
|
|
2100
2144
|
missingModules: string[];
|
|
@@ -2111,18 +2155,29 @@ interface AXPStartUpTask {
|
|
|
2111
2155
|
run: () => Promise<void>;
|
|
2112
2156
|
}
|
|
2113
2157
|
|
|
2158
|
+
declare class AXPAppStartUpService {
|
|
2159
|
+
private tasks;
|
|
2160
|
+
registerTask(task: AXPStartUpTask): void;
|
|
2161
|
+
runAllTasks(): Promise<void>;
|
|
2162
|
+
private updateStatus;
|
|
2163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAppStartUpService, never>;
|
|
2164
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPAppStartUpService>;
|
|
2165
|
+
}
|
|
2166
|
+
declare const AXPAppStartUpProvider: i0.EnvironmentProviders;
|
|
2167
|
+
|
|
2114
2168
|
/**
|
|
2115
|
-
*
|
|
2116
|
-
*
|
|
2169
|
+
* Module for managing module manifests initialization.
|
|
2170
|
+
* Handles the registration of manifest startup tasks.
|
|
2117
2171
|
*/
|
|
2118
|
-
declare class
|
|
2119
|
-
private readonly manifestRegistry;
|
|
2172
|
+
declare class AXPModuleManifestModule {
|
|
2120
2173
|
/**
|
|
2121
|
-
*
|
|
2174
|
+
* @ignore
|
|
2175
|
+
* Initializes module manifest tasks on module construction.
|
|
2122
2176
|
*/
|
|
2123
|
-
|
|
2124
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
2125
|
-
static
|
|
2177
|
+
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
|
2178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPModuleManifestModule, never>;
|
|
2179
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPModuleManifestModule, never, never, never>;
|
|
2180
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPModuleManifestModule>;
|
|
2126
2181
|
}
|
|
2127
2182
|
|
|
2128
2183
|
/**
|
|
@@ -2158,112 +2213,6 @@ interface AXPFeatureDefinitionProvider {
|
|
|
2158
2213
|
*/
|
|
2159
2214
|
declare const AXP_FEATURE_DEFINITION_PROVIDER: InjectionToken<AXPFeatureDefinitionProvider[]>;
|
|
2160
2215
|
|
|
2161
|
-
/**
|
|
2162
|
-
* Minimal provider interfaces for the module provider registry.
|
|
2163
|
-
* These interfaces are defined in core to avoid circular dependencies.
|
|
2164
|
-
* The actual implementations in platform/auth and platform/common implement these interfaces.
|
|
2165
|
-
*/
|
|
2166
|
-
/**
|
|
2167
|
-
* Permission definition provider interface.
|
|
2168
|
-
* Actual implementation: @acorex/platform/auth
|
|
2169
|
-
*/
|
|
2170
|
-
interface AXPIPermissionDefinitionProvider {
|
|
2171
|
-
define(context: any): Promise<void>;
|
|
2172
|
-
}
|
|
2173
|
-
/**
|
|
2174
|
-
* Menu provider interface.
|
|
2175
|
-
* Actual implementation: @acorex/platform/common
|
|
2176
|
-
*/
|
|
2177
|
-
interface AXPIMenuProvider {
|
|
2178
|
-
provide(context: any): Promise<void>;
|
|
2179
|
-
}
|
|
2180
|
-
/**
|
|
2181
|
-
* Setting definition provider interface.
|
|
2182
|
-
* Actual implementation: @acorex/platform/common
|
|
2183
|
-
*/
|
|
2184
|
-
interface AXPISettingDefinitionProvider {
|
|
2185
|
-
provide(context: any): Promise<void>;
|
|
2186
|
-
}
|
|
2187
|
-
/**
|
|
2188
|
-
* Search command provider interface.
|
|
2189
|
-
* Actual implementation: @acorex/platform/common
|
|
2190
|
-
*/
|
|
2191
|
-
interface AXPISearchCommandProvider {
|
|
2192
|
-
search(text: string): Promise<any[]>;
|
|
2193
|
-
commands?: any[];
|
|
2194
|
-
}
|
|
2195
|
-
/**
|
|
2196
|
-
* Entity definition loader interface.
|
|
2197
|
-
* Actual implementation: @acorex/platform/layout/entity
|
|
2198
|
-
*/
|
|
2199
|
-
interface AXIEntityDefinitionLoader {
|
|
2200
|
-
get(moduleName: string, entityName: string): Promise<any | null>;
|
|
2201
|
-
}
|
|
2202
|
-
/**
|
|
2203
|
-
* Edition service interface for querying edition information.
|
|
2204
|
-
* Actual implementation: @acorex/modules/application-management
|
|
2205
|
-
*
|
|
2206
|
-
* This interface is defined in core to avoid circular dependencies.
|
|
2207
|
-
* Modules provide implementations that extend AXMEntityCrudServiceImpl.
|
|
2208
|
-
*/
|
|
2209
|
-
interface AXPIEditionService {
|
|
2210
|
-
/**
|
|
2211
|
-
* Query editions with pagination and filtering.
|
|
2212
|
-
* @param request Query request with skip, take, and optional filters
|
|
2213
|
-
* @returns Promise that resolves to paged list of editions
|
|
2214
|
-
*/
|
|
2215
|
-
query(request: {
|
|
2216
|
-
skip: number;
|
|
2217
|
-
take: number;
|
|
2218
|
-
[key: string]: any;
|
|
2219
|
-
}): Promise<{
|
|
2220
|
-
items: Array<{
|
|
2221
|
-
id: string;
|
|
2222
|
-
title: string;
|
|
2223
|
-
modulesAndFeatures?: {
|
|
2224
|
-
modules: string[];
|
|
2225
|
-
features: Record<string, any>;
|
|
2226
|
-
};
|
|
2227
|
-
[key: string]: any;
|
|
2228
|
-
}>;
|
|
2229
|
-
total: number;
|
|
2230
|
-
}>;
|
|
2231
|
-
}
|
|
2232
|
-
/**
|
|
2233
|
-
* Injection token for edition service.
|
|
2234
|
-
* Modules should provide their implementation using this token.
|
|
2235
|
-
*/
|
|
2236
|
-
declare const AXP_EDITION_SERVICE: InjectionToken<AXPIEditionService>;
|
|
2237
|
-
/**
|
|
2238
|
-
* Module provider loader interface.
|
|
2239
|
-
* Implementation: @acorex/platform/auth
|
|
2240
|
-
*/
|
|
2241
|
-
interface AXPIModuleProviderLoader {
|
|
2242
|
-
loadRequiredModules(): Promise<void>;
|
|
2243
|
-
loadProviders(context: any): Promise<void>;
|
|
2244
|
-
clear(): Promise<void>;
|
|
2245
|
-
isModuleRegistered(moduleName: string): boolean;
|
|
2246
|
-
}
|
|
2247
|
-
/**
|
|
2248
|
-
* Injection token for module provider loader.
|
|
2249
|
-
* Implementation: @acorex/platform/auth
|
|
2250
|
-
*/
|
|
2251
|
-
declare const AXP_MODULE_PROVIDER_LOADER: InjectionToken<AXPIModuleProviderLoader>;
|
|
2252
|
-
/**
|
|
2253
|
-
* Module provider initializer interface.
|
|
2254
|
-
* Implementation: @acorex/platform/auth
|
|
2255
|
-
*/
|
|
2256
|
-
interface AXPIModuleProviderInitializer {
|
|
2257
|
-
createRequiredModulesTask(): any;
|
|
2258
|
-
createStartupTask(): any;
|
|
2259
|
-
loadProvidersIfReady(): Promise<void>;
|
|
2260
|
-
loadProvidersForApplication(application: any): Promise<void>;
|
|
2261
|
-
}
|
|
2262
|
-
/**
|
|
2263
|
-
* Injection token for module provider initializer.
|
|
2264
|
-
* Implementation: @acorex/platform/auth
|
|
2265
|
-
*/
|
|
2266
|
-
declare const AXP_MODULE_PROVIDER_INITIALIZER: InjectionToken<AXPIModuleProviderInitializer>;
|
|
2267
2216
|
/**
|
|
2268
2217
|
* Session service interface for module provider operations.
|
|
2269
2218
|
* Implementation: @acorex/platform/auth
|
|
@@ -2280,166 +2229,11 @@ interface AXPISessionService {
|
|
|
2280
2229
|
* Implementation: @acorex/platform/auth
|
|
2281
2230
|
*/
|
|
2282
2231
|
declare const AXP_SESSION_SERVICE: InjectionToken<AXPISessionService>;
|
|
2283
|
-
|
|
2284
2232
|
/**
|
|
2285
|
-
*
|
|
2286
|
-
*
|
|
2287
|
-
*/
|
|
2288
|
-
declare class AXPModuleProviderRegistry {
|
|
2289
|
-
private readonly permissionProviders;
|
|
2290
|
-
private readonly menuProviders;
|
|
2291
|
-
private readonly entityProviders;
|
|
2292
|
-
private readonly settingProviders;
|
|
2293
|
-
private readonly searchProviders;
|
|
2294
|
-
private readonly featureProviders;
|
|
2295
|
-
private readonly datasourceProviders;
|
|
2296
|
-
/**
|
|
2297
|
-
* Register a permission provider.
|
|
2298
|
-
*/
|
|
2299
|
-
registerPermissionProvider(provider: AXPIPermissionDefinitionProvider): void;
|
|
2300
|
-
/**
|
|
2301
|
-
* Get all registered permission providers.
|
|
2302
|
-
*/
|
|
2303
|
-
getPermissionProviders(): AXPIPermissionDefinitionProvider[];
|
|
2304
|
-
/**
|
|
2305
|
-
* Register a menu provider.
|
|
2306
|
-
*/
|
|
2307
|
-
registerMenuProvider(provider: AXPIMenuProvider): void;
|
|
2308
|
-
/**
|
|
2309
|
-
* Get all registered menu providers.
|
|
2310
|
-
*/
|
|
2311
|
-
getMenuProviders(): AXPIMenuProvider[];
|
|
2312
|
-
/**
|
|
2313
|
-
* Register an entity provider.
|
|
2314
|
-
*/
|
|
2315
|
-
registerEntityProvider(provider: AXIEntityDefinitionLoader): void;
|
|
2316
|
-
/**
|
|
2317
|
-
* Get all registered entity providers.
|
|
2318
|
-
*/
|
|
2319
|
-
getEntityProviders(): AXIEntityDefinitionLoader[];
|
|
2320
|
-
/**
|
|
2321
|
-
* Register a settings provider.
|
|
2322
|
-
*/
|
|
2323
|
-
registerSettingProvider(provider: AXPISettingDefinitionProvider): void;
|
|
2324
|
-
/**
|
|
2325
|
-
* Get all registered settings providers.
|
|
2326
|
-
*/
|
|
2327
|
-
getSettingProviders(): AXPISettingDefinitionProvider[];
|
|
2328
|
-
/**
|
|
2329
|
-
* Register a search provider.
|
|
2330
|
-
*/
|
|
2331
|
-
registerSearchProvider(provider: AXPISearchCommandProvider): void;
|
|
2332
|
-
/**
|
|
2333
|
-
* Get all registered search providers.
|
|
2334
|
-
*/
|
|
2335
|
-
getSearchProviders(): AXPISearchCommandProvider[];
|
|
2336
|
-
/**
|
|
2337
|
-
* Register a feature provider.
|
|
2338
|
-
*/
|
|
2339
|
-
registerFeatureProvider(provider: AXPFeatureDefinitionProvider): void;
|
|
2340
|
-
/**
|
|
2341
|
-
* Get all registered feature providers.
|
|
2342
|
-
*/
|
|
2343
|
-
getFeatureProviders(): AXPFeatureDefinitionProvider[];
|
|
2344
|
-
/**
|
|
2345
|
-
* Register a datasource provider.
|
|
2346
|
-
*/
|
|
2347
|
-
registerDatasourceProvider(provider: AXPDataSourceDefinitionProvider): void;
|
|
2348
|
-
/**
|
|
2349
|
-
* Get all registered datasource providers.
|
|
2350
|
-
*/
|
|
2351
|
-
getDatasourceProviders(): AXPDataSourceDefinitionProvider[];
|
|
2352
|
-
/**
|
|
2353
|
-
* Clear all registered providers.
|
|
2354
|
-
* Useful for testing or re-initialization.
|
|
2355
|
-
*/
|
|
2356
|
-
clear(): void;
|
|
2357
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPModuleProviderRegistry, never>;
|
|
2358
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPModuleProviderRegistry>;
|
|
2359
|
-
}
|
|
2360
|
-
|
|
2361
|
-
/**
|
|
2362
|
-
* Access control context for module loading.
|
|
2363
|
-
* Note: Types are defined locally to avoid circular dependency with @acorex/platform/auth
|
|
2364
|
-
* These types match the structure of AXPTenant, AXPApplication, and AXPUser
|
|
2365
|
-
*/
|
|
2366
|
-
interface AXPModuleAccessContext {
|
|
2367
|
-
tenant: {
|
|
2368
|
-
id: string;
|
|
2369
|
-
name: string;
|
|
2370
|
-
title: string;
|
|
2371
|
-
description?: string;
|
|
2372
|
-
logo?: any;
|
|
2373
|
-
[key: string]: any;
|
|
2374
|
-
};
|
|
2375
|
-
application: {
|
|
2376
|
-
id: string;
|
|
2377
|
-
name: string;
|
|
2378
|
-
title?: string;
|
|
2379
|
-
version?: string;
|
|
2380
|
-
edition?: {
|
|
2381
|
-
id: string;
|
|
2382
|
-
title: string;
|
|
2383
|
-
description?: string;
|
|
2384
|
-
};
|
|
2385
|
-
description?: string;
|
|
2386
|
-
logo?: any;
|
|
2387
|
-
[key: string]: any;
|
|
2388
|
-
};
|
|
2389
|
-
edition: {
|
|
2390
|
-
id: string;
|
|
2391
|
-
title: string;
|
|
2392
|
-
modulesAndFeatures?: {
|
|
2393
|
-
modules: string[];
|
|
2394
|
-
features: Record<string, any>;
|
|
2395
|
-
};
|
|
2396
|
-
};
|
|
2397
|
-
subscription?: any;
|
|
2398
|
-
user: {
|
|
2399
|
-
id: string;
|
|
2400
|
-
name: string;
|
|
2401
|
-
title: string;
|
|
2402
|
-
avatar?: string;
|
|
2403
|
-
[key: string]: any;
|
|
2404
|
-
};
|
|
2405
|
-
}
|
|
2406
|
-
/**
|
|
2407
|
-
* Service for checking module access control.
|
|
2408
|
-
* Provides centralized access control logic that can be overridden per module.
|
|
2409
|
-
*/
|
|
2410
|
-
interface AXPModuleAccessControlService {
|
|
2411
|
-
/**
|
|
2412
|
-
* Check if user has access to a module based on context.
|
|
2413
|
-
* @param moduleName Module name to check access for
|
|
2414
|
-
* @param context Access control context
|
|
2415
|
-
* @returns true if module should be loaded, false otherwise
|
|
2416
|
-
*/
|
|
2417
|
-
checkAccess(moduleName: string, context: AXPModuleAccessContext): boolean | Promise<boolean>;
|
|
2418
|
-
}
|
|
2419
|
-
/**
|
|
2420
|
-
* Default implementation of module access control service.
|
|
2421
|
-
* Checks if module is enabled in edition.modulesAndFeatures.modules.
|
|
2422
|
-
*/
|
|
2423
|
-
declare class DefaultModuleAccessControlService implements AXPModuleAccessControlService {
|
|
2424
|
-
checkAccess(moduleName: string, context: AXPModuleAccessContext): boolean;
|
|
2425
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultModuleAccessControlService, never>;
|
|
2426
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultModuleAccessControlService>;
|
|
2427
|
-
}
|
|
2428
|
-
/**
|
|
2429
|
-
* Injection token for module access control service.
|
|
2430
|
-
* If not provided, DefaultModuleAccessControlService will be used as fallback.
|
|
2233
|
+
* Injection token for module manifest providers.
|
|
2234
|
+
* Modules register their manifest providers using this token.
|
|
2431
2235
|
*/
|
|
2432
|
-
declare const
|
|
2433
|
-
|
|
2434
|
-
declare class AXPAppStartUpService {
|
|
2435
|
-
private tasks;
|
|
2436
|
-
registerTask(task: AXPStartUpTask): void;
|
|
2437
|
-
runAllTasks(): Promise<void>;
|
|
2438
|
-
private updateStatus;
|
|
2439
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAppStartUpService, never>;
|
|
2440
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPAppStartUpService>;
|
|
2441
|
-
}
|
|
2442
|
-
declare const AXPAppStartUpProvider: i0.EnvironmentProviders;
|
|
2236
|
+
declare const AXP_MODULE_MANIFEST_PROVIDER: InjectionToken<AXPModuleManifest[]>;
|
|
2443
2237
|
|
|
2444
2238
|
/**
|
|
2445
2239
|
* Represents a tag with text, color, and metadata
|
|
@@ -2705,11 +2499,47 @@ declare function getEnumValues(enumType: any): {
|
|
|
2705
2499
|
title: string;
|
|
2706
2500
|
}[];
|
|
2707
2501
|
|
|
2502
|
+
/**
|
|
2503
|
+
* Creates a provider instance within an injection context.
|
|
2504
|
+
* Handles dynamic import, injector resolution, and provider instantiation.
|
|
2505
|
+
*
|
|
2506
|
+
* @param loader - Function that returns a promise resolving to the provider class
|
|
2507
|
+
* @returns Promise that resolves to the provider instance
|
|
2508
|
+
*
|
|
2509
|
+
* @example
|
|
2510
|
+
* ```typescript
|
|
2511
|
+
* useFactory: () => createProviderWithInjectionContext(() =>
|
|
2512
|
+
* import('./settings.provider').then(m => m.AXMSettingProvider)
|
|
2513
|
+
* )
|
|
2514
|
+
* ```
|
|
2515
|
+
*/
|
|
2516
|
+
declare function createProviderWithInjectionContext<T>(loader: () => Promise<new () => T>): Promise<T>;
|
|
2517
|
+
/**
|
|
2518
|
+
* Creates a provider configuration for lazy-loaded providers with injection context.
|
|
2519
|
+
* Simplifies provider registration in NgModule providers array.
|
|
2520
|
+
*
|
|
2521
|
+
* @param token - The injection token to provide
|
|
2522
|
+
* @param loader - Function that returns a promise resolving to the provider class
|
|
2523
|
+
* @param multi - Whether the provider is multi-provider (defaults to true)
|
|
2524
|
+
* @returns Provider configuration object
|
|
2525
|
+
*
|
|
2526
|
+
* @example
|
|
2527
|
+
* ```typescript
|
|
2528
|
+
* providers: [
|
|
2529
|
+
* provideLazyProvider(
|
|
2530
|
+
* AXP_SETTING_DEFINITION_PROVIDER,
|
|
2531
|
+
* () => import('./settings.provider').then(m => m.AXMSettingProvider)
|
|
2532
|
+
* )
|
|
2533
|
+
* ]
|
|
2534
|
+
* ```
|
|
2535
|
+
*/
|
|
2536
|
+
declare function provideLazyProvider<TProvider>(token: InjectionToken<any>, loader: () => Promise<new () => TProvider>, multi?: boolean): Provider;
|
|
2537
|
+
|
|
2708
2538
|
declare function extractTextFromHtml(value: string): string;
|
|
2709
2539
|
/**
|
|
2710
2540
|
* Generate kebab-case group name from title
|
|
2711
2541
|
*/
|
|
2712
2542
|
declare function generateKebabCase(title: string): string;
|
|
2713
2543
|
|
|
2714
|
-
export {
|
|
2715
|
-
export type {
|
|
2544
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPImageUrlLogoConfig, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPPlatformScope, AXPScreenSize, AXPSystemActionType, AXPSystemActions, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_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, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, createProviderWithInjectionContext, defaultColumnWidthProvider, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, generateKebabCase, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, provideLazyProvider, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
2545
|
+
export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnQuery, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPCommandMessage, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextState, AXPDataSource, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataType, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityOp, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterClause, AXPFilterDefinition, AXPFilterQuery, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPISessionService, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMetaData, AXPMiddlewareErrorResponse, AXPMinLengthValidationRule, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPTag, AXPTagFilterOptions, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|