@acorex/platform 19.2.16 → 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.
Files changed (103) hide show
  1. package/common/lib/file-storage/file-storage.types.d.ts +4 -0
  2. package/common/lib/layout/menu/menu.types.d.ts +2 -1
  3. package/fesm2022/acorex-platform-auth.mjs +1 -1
  4. package/fesm2022/acorex-platform-common.mjs +21 -2
  5. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-layout-builder.mjs +1 -1
  7. package/fesm2022/acorex-platform-layout-designer.mjs +1 -1
  8. package/fesm2022/acorex-platform-layout-entity.mjs +11 -6
  9. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  10. package/fesm2022/acorex-platform-layout-search.mjs +1 -1
  11. 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
  12. 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
  13. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DbHEBpPW.mjs +440 -0
  14. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DbHEBpPW.mjs.map +1 -0
  15. 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
  16. 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
  17. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-DcSk0ia4.mjs → acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs} +11 -11
  18. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-themes-default-search-popup.component-BXWbI4Ei.mjs +127 -0
  20. package/fesm2022/acorex-platform-themes-default-search-popup.component-BXWbI4Ei.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-themes-default-setting-page.component-BQRGixPo.mjs +74 -0
  22. package/fesm2022/acorex-platform-themes-default-setting-page.component-BQRGixPo.mjs.map +1 -0
  23. package/fesm2022/{acorex-platform-themes-default-setting-view.component-fuHM7W6Y.mjs → acorex-platform-themes-default-setting-view.component-B3Aob67f.mjs} +9 -7
  24. package/fesm2022/acorex-platform-themes-default-setting-view.component-B3Aob67f.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DiDSZx-u.mjs +146 -0
  26. package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DiDSZx-u.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-themes-default.mjs +260 -141
  28. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  29. package/fesm2022/acorex-platform-themes-shared.mjs +290 -157
  30. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  31. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs → acorex-platform-widgets-button-widget-designer.component-BLUSF9_9.mjs} +2 -2
  32. 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
  33. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-C8NRF4BO.mjs → acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs} +2 -2
  34. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-C8NRF4BO.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs.map} +1 -1
  35. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-D8KErkus.mjs → acorex-platform-widgets-checkbox-widget-designer.component-CrdfTgeq.mjs} +2 -2
  36. package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-D8KErkus.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-CrdfTgeq.mjs.map} +1 -1
  37. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-bf272Wuo.mjs → acorex-platform-widgets-checkbox-widget-view.component-DfSoF52n.mjs} +2 -2
  38. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-bf272Wuo.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-DfSoF52n.mjs.map} +1 -1
  39. 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
  40. 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
  41. package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs → acorex-platform-widgets-contact-widget-filter.component-B1cKV-TM.mjs} +2 -2
  42. 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
  43. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-CITselce.mjs → acorex-platform-widgets-page-widget-designer.component-DtwyOnuO.mjs} +2 -2
  44. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-CITselce.mjs.map → acorex-platform-widgets-page-widget-designer.component-DtwyOnuO.mjs.map} +1 -1
  45. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs → acorex-platform-widgets-rich-text-popup.component-DIbfD0SV.mjs} +2 -2
  46. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs.map → acorex-platform-widgets-rich-text-popup.component-DIbfD0SV.mjs.map} +1 -1
  47. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-Emh145xN.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-C5FtQN9y.mjs} +2 -2
  48. 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
  49. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs → acorex-platform-widgets-tabular-data-view-popup.component-DFopYaFk.mjs} +2 -2
  50. 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
  51. package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs → acorex-platform-widgets-text-block-widget-designer.component-C3H0Zldz.mjs} +2 -2
  52. 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
  53. package/fesm2022/acorex-platform-widgets.mjs +29 -32
  54. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  55. package/fesm2022/acorex-platform-workflow.mjs +1 -1
  56. package/layout/entity/lib/entity.config.d.ts +1 -1
  57. package/layout/setting/lib/setting.viewmodel.d.ts +4 -0
  58. package/package.json +1 -1
  59. package/themes/default/lib/layouts/base/index.d.ts +1 -1
  60. package/themes/default/lib/layouts/base/simple-page/index.d.ts +2 -0
  61. package/themes/default/lib/layouts/base/simple-page/simple-page.component.d.ts +68 -0
  62. package/themes/default/lib/layouts/base/simple-page/simple-page.layout.d.ts +14 -4
  63. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +4 -0
  64. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +11 -1
  65. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +0 -3
  66. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.d.ts +0 -3
  67. package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +4 -0
  68. package/themes/default/lib/layouts/root-layout/components/footer/footer.component.d.ts +1 -1
  69. package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +5 -1
  70. package/themes/default/lib/layouts/root-layout/components/horizontal-menu/horizontal-menu.component.d.ts +86 -0
  71. package/themes/default/lib/layouts/root-layout/components/{menu/root-menu.component.d.ts → side-menu/side-menu.component.d.ts} +1 -2
  72. package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +79 -0
  73. package/themes/default/lib/layouts/root-layout/index.d.ts +3 -2
  74. package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +26 -19
  75. package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +79 -0
  76. package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +1 -1
  77. package/themes/default/lib/layouts/setting-layout/setting-page/setting-page.component.d.ts +1 -1
  78. package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +4 -0
  79. package/themes/default/lib/pages/theme-palette-preview/theme-palette-preview.page.d.ts +5 -1
  80. package/themes/shared/index.d.ts +1 -0
  81. package/themes/shared/lib/components/drawer/drawer.directive.d.ts +22 -0
  82. package/themes/shared/lib/components/drawer/index.d.ts +1 -0
  83. package/themes/shared/lib/components/layout-elements/index.d.ts +4 -4
  84. package/themes/shared/lib/components/layout-elements/layout-blocks.component.d.ts +1 -1
  85. package/themes/shared/lib/components/layout-elements/layout-footer.component.d.ts +1 -1
  86. package/themes/shared/lib/components/layout-elements/layout-header.component.d.ts +7 -3
  87. package/themes/shared/lib/components/layout-elements/layout-section.component.d.ts +3 -7
  88. package/themes/shared/lib/components/layout-elements/layout-side.component.d.ts +7 -7
  89. package/themes/shared/lib/components/slots/theme-slot.component.d.ts +4 -0
  90. package/themes/shared/lib/setting.keys.d.ts +2 -1
  91. package/themes/shared/lib/theme.service.d.ts +5 -1
  92. package/themes/shared/lib/theme.types.d.ts +4 -0
  93. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ewOei4ta.mjs +0 -390
  94. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ewOei4ta.mjs.map +0 -1
  95. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DcSk0ia4.mjs.map +0 -1
  96. package/fesm2022/acorex-platform-themes-default-search-popup.component-DfeNmpS9.mjs +0 -129
  97. package/fesm2022/acorex-platform-themes-default-search-popup.component-DfeNmpS9.mjs.map +0 -1
  98. package/fesm2022/acorex-platform-themes-default-setting-page.component-DtJmPSFo.mjs +0 -75
  99. package/fesm2022/acorex-platform-themes-default-setting-page.component-DtJmPSFo.mjs.map +0 -1
  100. package/fesm2022/acorex-platform-themes-default-setting-view.component-fuHM7W6Y.mjs.map +0 -1
  101. package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DkjAgWLn.mjs +0 -138
  102. package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DkjAgWLn.mjs.map +0 -1
  103. 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, Directive, Input, provideAppInitializer, NgModule, Optional, Inject } from '@angular/core';
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, Directive, Input, EventEmitter, Output, runInInjectionContext, NgModule, Optional, Inject, Component, ViewEncapsulation, signal, model, linkedSignal, afterNextRender } from '@angular/core';
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,