@acorex/platform 19.2.17-next.0 → 19.2.17
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/lib/file-storage/file-storage.types.d.ts +4 -0
- package/common/lib/layout/menu/menu.types.d.ts +2 -1
- package/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/acorex-platform-common.mjs +21 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +11 -6
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-search.mjs +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Bvwr0PVk.mjs → acorex-platform-themes-default-entity-master-create-view.component-pcNF_wd0.mjs} +5 -5
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Bvwr0PVk.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-pcNF_wd0.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DbHEBpPW.mjs +440 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DbHEBpPW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BAU_s90_.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DOPzt7dM.mjs} +5 -5
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BAU_s90_.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-DOPzt7dM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BmBPyfQY.mjs → acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs} +10 -10
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BmBPyfQY.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-search-popup.component-BXWbI4Ei.mjs +127 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-BXWbI4Ei.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BQRGixPo.mjs +74 -0
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BQRGixPo.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-setting-view.component-fuHM7W6Y.mjs → acorex-platform-themes-default-setting-view.component-B3Aob67f.mjs} +9 -7
- package/fesm2022/acorex-platform-themes-default-setting-view.component-B3Aob67f.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DiDSZx-u.mjs +146 -0
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DiDSZx-u.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +258 -140
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +277 -184
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs → acorex-platform-widgets-button-widget-designer.component-BLUSF9_9.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs.map → acorex-platform-widgets-button-widget-designer.component-BLUSF9_9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-C8NRF4BO.mjs → acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-C8NRF4BO.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-D8KErkus.mjs → acorex-platform-widgets-checkbox-widget-designer.component-CrdfTgeq.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-D8KErkus.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-CrdfTgeq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-bf272Wuo.mjs → acorex-platform-widgets-checkbox-widget-view.component-DfSoF52n.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-bf272Wuo.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-DfSoF52n.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CG3HEOUD.mjs → acorex-platform-widgets-color-box-widget-designer.component-BM1G-WaN.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CG3HEOUD.mjs.map → acorex-platform-widgets-color-box-widget-designer.component-BM1G-WaN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs → acorex-platform-widgets-contact-widget-filter.component-B1cKV-TM.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs.map → acorex-platform-widgets-contact-widget-filter.component-B1cKV-TM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-CITselce.mjs → acorex-platform-widgets-page-widget-designer.component-DtwyOnuO.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-CITselce.mjs.map → acorex-platform-widgets-page-widget-designer.component-DtwyOnuO.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs → acorex-platform-widgets-rich-text-popup.component-DIbfD0SV.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs.map → acorex-platform-widgets-rich-text-popup.component-DIbfD0SV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-Emh145xN.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-C5FtQN9y.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-Emh145xN.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-C5FtQN9y.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs → acorex-platform-widgets-tabular-data-view-popup.component-DFopYaFk.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-DFopYaFk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs → acorex-platform-widgets-text-block-widget-designer.component-C3H0Zldz.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs.map → acorex-platform-widgets-text-block-widget-designer.component-C3H0Zldz.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +29 -32
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1 -1
- package/layout/entity/lib/entity.config.d.ts +1 -1
- package/layout/setting/lib/setting.viewmodel.d.ts +4 -0
- package/package.json +1 -1
- package/themes/default/lib/layouts/base/index.d.ts +1 -1
- package/themes/default/lib/layouts/base/simple-page/index.d.ts +2 -0
- package/themes/default/lib/layouts/base/simple-page/simple-page.component.d.ts +68 -0
- package/themes/default/lib/layouts/base/simple-page/simple-page.layout.d.ts +14 -5
- package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +4 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +11 -1
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +0 -3
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.d.ts +0 -3
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +4 -0
- package/themes/default/lib/layouts/root-layout/components/footer/footer.component.d.ts +1 -1
- package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +5 -1
- package/themes/default/lib/layouts/root-layout/components/horizontal-menu/horizontal-menu.component.d.ts +86 -0
- package/themes/default/lib/layouts/root-layout/components/{menu/root-menu.component.d.ts → side-menu/side-menu.component.d.ts} +1 -2
- package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +79 -0
- package/themes/default/lib/layouts/root-layout/index.d.ts +3 -2
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +26 -19
- package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +79 -0
- package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +1 -1
- package/themes/default/lib/layouts/setting-layout/setting-page/setting-page.component.d.ts +1 -1
- package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +4 -0
- package/themes/default/lib/pages/theme-palette-preview/theme-palette-preview.page.d.ts +5 -1
- package/themes/shared/index.d.ts +1 -0
- package/themes/shared/lib/components/drawer/drawer.directive.d.ts +22 -0
- package/themes/shared/lib/components/drawer/index.d.ts +1 -0
- package/themes/shared/lib/components/layout-elements/index.d.ts +4 -4
- package/themes/shared/lib/components/layout-elements/layout-blocks.component.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-footer.component.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-header.component.d.ts +7 -3
- package/themes/shared/lib/components/layout-elements/layout-section.component.d.ts +3 -7
- package/themes/shared/lib/components/layout-elements/layout-side.component.d.ts +6 -13
- package/themes/shared/lib/components/slots/theme-slot.component.d.ts +4 -0
- package/themes/shared/lib/setting.keys.d.ts +2 -1
- package/themes/shared/lib/theme.service.d.ts +5 -1
- package/themes/shared/lib/theme.types.d.ts +4 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BLM2kf7R.mjs +0 -405
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BLM2kf7R.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-search-popup.component-DfeNmpS9.mjs +0 -129
- package/fesm2022/acorex-platform-themes-default-search-popup.component-DfeNmpS9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-page.component-DtJmPSFo.mjs +0 -75
- package/fesm2022/acorex-platform-themes-default-setting-page.component-DtJmPSFo.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-view.component-fuHM7W6Y.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DkjAgWLn.mjs +0 -138
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DkjAgWLn.mjs.map +0 -1
- package/themes/default/lib/layouts/root-layout/root-layout.module.d.ts +0 -27
|
@@ -39,6 +39,10 @@ export interface AXPFileStorageCreateRequest {
|
|
|
39
39
|
* Indicates whether the file is primary or not.
|
|
40
40
|
*/
|
|
41
41
|
isPrimary?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates the status of the file.
|
|
44
|
+
*/
|
|
45
|
+
status?: AXPFileStorageStatus;
|
|
42
46
|
}
|
|
43
47
|
export interface AXPFileStorageUpdateRequest {
|
|
44
48
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPNavigateActionCommand, AXPExecuteCommand } from '@acorex/platform/core';
|
|
1
|
+
import { AXPNavigateActionCommand, AXPExecuteCommand, AXPMetaData } from '@acorex/platform/core';
|
|
2
2
|
export type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
3
3
|
export type AXPMenuType = 'menu' | 'group' | 'break';
|
|
4
4
|
export type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
@@ -14,6 +14,7 @@ export interface AXPMenuItem {
|
|
|
14
14
|
path?: string;
|
|
15
15
|
command?: AXPMenuItemCommand | undefined;
|
|
16
16
|
data?: any;
|
|
17
|
+
meta?: AXPMetaData;
|
|
17
18
|
}
|
|
18
19
|
export interface AXPMenuFinderResult {
|
|
19
20
|
insert(items: AXPMenuItem[], position: AXPMenuInsertion): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injector, Injectable, signal, inject,
|
|
2
|
+
import { InjectionToken, Injector, Injectable, signal, inject, Input, Directive, provideAppInitializer, Optional, Inject, NgModule } from '@angular/core';
|
|
3
3
|
import { of, map, BehaviorSubject, shareReplay, defaultIfEmpty, firstValueFrom, first } from 'rxjs';
|
|
4
4
|
import { AXPBroadcastEventService } from '@acorex/platform/core';
|
|
5
5
|
import { merge, isEmpty } from 'lodash-es';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, provideAppInitializer, inject, InjectionToken, Injector, ErrorHandler,
|
|
2
|
+
import { Injectable, provideAppInitializer, inject, InjectionToken, Injector, ErrorHandler, Input, Directive, EventEmitter, Output, runInInjectionContext, Optional, Inject, NgModule, Component, ViewEncapsulation, signal, model, linkedSignal, afterNextRender } from '@angular/core';
|
|
3
3
|
import { kebabCase, sortBy, omit, merge, cloneDeep, get } from 'lodash-es';
|
|
4
4
|
import { AXPopupModule, AXPopupService } from '@acorex/components/popup';
|
|
5
5
|
import { AXToastService, AXToastModule } from '@acorex/components/toast';
|
|
@@ -770,6 +770,10 @@ class AXPMenuProviderService {
|
|
|
770
770
|
}
|
|
771
771
|
// Apply pending operations
|
|
772
772
|
this.applyPendingOperations(items);
|
|
773
|
+
// Sort items by priority
|
|
774
|
+
items.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));
|
|
775
|
+
// ADD level property to items
|
|
776
|
+
setMenuItemMeta(items);
|
|
773
777
|
// Cache the computed items
|
|
774
778
|
this.cache = items;
|
|
775
779
|
return items;
|
|
@@ -885,6 +889,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
885
889
|
type: Injectable,
|
|
886
890
|
args: [{ providedIn: 'root' }]
|
|
887
891
|
}] });
|
|
892
|
+
function setMenuItemMeta(items, parentIndex = '', depth = 0) {
|
|
893
|
+
items.forEach((item, index) => {
|
|
894
|
+
const currentIndex = parentIndex ? `${parentIndex}-${index}` : `${index}`;
|
|
895
|
+
const hasChildren = !!(item.children && Array.isArray(item.children) && item.children.length > 0);
|
|
896
|
+
item.meta = {
|
|
897
|
+
index: currentIndex,
|
|
898
|
+
isRoot: depth === 0,
|
|
899
|
+
hasChildren,
|
|
900
|
+
depth
|
|
901
|
+
};
|
|
902
|
+
if (hasChildren) {
|
|
903
|
+
setMenuItemMeta(item.children, currentIndex, depth + 1);
|
|
904
|
+
}
|
|
905
|
+
});
|
|
906
|
+
}
|
|
888
907
|
|
|
889
908
|
const AXPMenuService = signalStore({ providedIn: 'root' },
|
|
890
909
|
// Initial State
|
|
@@ -2434,7 +2453,7 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
2434
2453
|
<ax-icon class="fa-solid fa-print"> </ax-icon>
|
|
2435
2454
|
</ax-button>
|
|
2436
2455
|
</ax-suffix>
|
|
2437
|
-
</ax-footer>`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i2$1.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "changeOnScroll", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.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: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i6.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "showBadge", "showValue", "showClearButton", "showIcon"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }] }); }
|
|
2456
|
+
</ax-footer>`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i2$1.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "type", "changeOnScroll", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.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: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i6.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "showBadge", "showValue", "showClearButton", "showIcon"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }] }); }
|
|
2438
2457
|
}
|
|
2439
2458
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrgChartPrintPage, decorators: [{
|
|
2440
2459
|
type: Component,
|