@acorex/modules 19.2.15 → 19.2.17-next.0

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 (74) hide show
  1. package/common/README.md +3 -0
  2. package/common/index.d.ts +6 -0
  3. package/common/lib/common.module.d.ts +6 -0
  4. package/common/lib/const.d.ts +25 -0
  5. package/common/lib/entities/dashboard/dashboard.entity.d.ts +3 -0
  6. package/common/lib/entities/dashboard/dashboard.service.d.ts +10 -0
  7. package/common/lib/entities/dashboard/dashboard.types.d.ts +8 -0
  8. package/common/lib/entities/dashboard/index.d.ts +3 -0
  9. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.entity.d.ts +3 -0
  10. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.service.d.ts +10 -0
  11. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.types.d.ts +9 -0
  12. package/common/lib/entities/dashboard-widget-data/index.d.ts +3 -0
  13. package/common/lib/entities/index.d.ts +2 -0
  14. package/common/lib/entity.provider.d.ts +10 -0
  15. package/common/lib/features/home/dashboard-home.d.ts +5 -0
  16. package/common/lib/features/home/index.d.ts +1 -0
  17. package/common/lib/menu.provider.d.ts +5 -0
  18. package/common/lib/permission.provider.d.ts +4 -0
  19. package/common/lib/search-command.provider.d.ts +4 -0
  20. package/common/lib/setting.provider.d.ts +4 -0
  21. package/document-management/lib/entities/document/document.service.d.ts +7 -0
  22. package/document-management/lib/entities/folder/folder.service.d.ts +7 -0
  23. package/document-management/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.d.ts +14 -0
  24. package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +12 -9
  25. package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +2 -2
  26. package/document-management/lib/features/drive/drive.component.d.ts +3 -2
  27. package/document-management/lib/features/shared/document-manager.service.d.ts +80 -1
  28. package/document-management/lib/features/shared/document-manager.types.d.ts +1 -1
  29. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +6 -0
  30. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +6 -0
  31. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-filter.component.d.ts +6 -0
  32. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +6 -0
  33. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +6 -0
  34. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget.config.d.ts +7 -0
  35. package/document-management/lib/features/widgets/document-attachment/index.d.ts +6 -0
  36. package/document-management/lib/features/widgets/index.d.ts +1 -0
  37. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs → acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs} +8 -8
  38. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs.map → acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-auth-app-chooser.component-CGSygSjS.mjs → acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs} +2 -2
  40. package/fesm2022/{acorex-modules-auth-app-chooser.component-CGSygSjS.mjs.map → acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-auth-login.module-B1sF3B_O.mjs → acorex-modules-auth-login.module-B9P2XpfQ.mjs} +4 -4
  42. package/fesm2022/{acorex-modules-auth-login.module-B1sF3B_O.mjs.map → acorex-modules-auth-login.module-B9P2XpfQ.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-auth-master.layout-CK4nyS8D.mjs → acorex-modules-auth-master.layout-BYC0FYq1.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-auth-master.layout-CK4nyS8D.mjs.map → acorex-modules-auth-master.layout-BYC0FYq1.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-auth-password.component-DC_zi8bV.mjs → acorex-modules-auth-password.component-C7Yp-ioT.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-auth-password.component-DC_zi8bV.mjs.map → acorex-modules-auth-password.component-C7Yp-ioT.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-auth-password.component-DqvmIMDR.mjs → acorex-modules-auth-password.component-DzrYH4yM.mjs} +3 -3
  48. package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs.map +1 -0
  49. package/fesm2022/{acorex-modules-auth-routes-DwHgPrDP.mjs → acorex-modules-auth-routes-Bu-xB4O6.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-auth-routes-DwHgPrDP.mjs.map → acorex-modules-auth-routes-Bu-xB4O6.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-auth-two-factor.module-BatKQRdJ.mjs → acorex-modules-auth-two-factor.module-YRh6_YcG.mjs} +2 -2
  52. package/fesm2022/{acorex-modules-auth-two-factor.module-BatKQRdJ.mjs.map → acorex-modules-auth-two-factor.module-YRh6_YcG.mjs.map} +1 -1
  53. package/fesm2022/acorex-modules-auth.mjs +1 -1
  54. package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs +14 -0
  55. package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs.map +1 -0
  56. package/fesm2022/acorex-modules-common.mjs +1095 -0
  57. package/fesm2022/acorex-modules-common.mjs.map +1 -0
  58. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C9ZCejjs.mjs +4092 -0
  59. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C9ZCejjs.mjs.map +1 -0
  60. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BnRaCq_Q.mjs +92 -0
  61. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BnRaCq_Q.mjs.map +1 -0
  62. package/fesm2022/acorex-modules-document-management-drive.component-Sz198sA6.mjs +165 -0
  63. package/fesm2022/acorex-modules-document-management-drive.component-Sz198sA6.mjs.map +1 -0
  64. package/fesm2022/acorex-modules-document-management-index--I8MGeDs.mjs +2 -0
  65. package/fesm2022/acorex-modules-document-management-index--I8MGeDs.mjs.map +1 -0
  66. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-EBf1XqU8.mjs +101 -0
  67. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-EBf1XqU8.mjs.map +1 -0
  68. package/fesm2022/acorex-modules-document-management.mjs +1 -3093
  69. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  70. package/package.json +5 -1
  71. package/document-management/lib/features/drive/index.d.ts +0 -3
  72. package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs.map +0 -1
  73. package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs +0 -951
  74. package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs.map +0 -1
@@ -0,0 +1,3 @@
1
+ # @acorex/modules/common
2
+
3
+ Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex/modules/common`.
@@ -0,0 +1,6 @@
1
+ export * from './lib/common.module';
2
+ export * from './lib/const';
3
+ export * from './lib/entity.provider';
4
+ export * from './lib/menu.provider';
5
+ export * from './lib/search-command.provider';
6
+ export * from './lib/setting.provider';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXMCommonModule {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMCommonModule, never>;
4
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXMCommonModule, never, never, never>;
5
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXMCommonModule>;
6
+ }
@@ -0,0 +1,25 @@
1
+ export declare const RootConfig: {
2
+ config: {
3
+ i18n: string;
4
+ };
5
+ module: {
6
+ module: string;
7
+ name: string;
8
+ title: string;
9
+ icon: string;
10
+ };
11
+ entities: {
12
+ dashboardWidgetData: {
13
+ name: string;
14
+ title: string;
15
+ titlePlural: string;
16
+ icon: string;
17
+ };
18
+ dashboard: {
19
+ name: string;
20
+ title: string;
21
+ titlePlural: string;
22
+ icon: string;
23
+ };
24
+ };
25
+ };
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function dashboardFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,10 @@
1
+ import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
2
+ import { AXMCommonDashboardEntityModel } from './dashboard.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class AXMDashboardService extends AXMEntityCrudServiceImpl<string, AXMCommonDashboardEntityModel> {
5
+ }
6
+ export declare class AXMDashboardServiceImpl extends AXMDashboardService {
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardServiceImpl, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMDashboardServiceImpl>;
10
+ }
@@ -0,0 +1,8 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ import { AXMCommonDashboardWidgetDataEntityModel } from '../dashboard-widget-data';
3
+ export interface AXMCommonDashboardEntityModel extends AXPEntityModel<string> {
4
+ name: string;
5
+ title: string;
6
+ description: string;
7
+ widget: AXMCommonDashboardWidgetDataEntityModel[];
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from './dashboard.entity';
2
+ export * from './dashboard.service';
3
+ export * from './dashboard.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function dashboardWidgetDataFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -0,0 +1,10 @@
1
+ import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
2
+ import { AXMCommonDashboardWidgetDataEntityModel } from './dashboard-widget-data.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class AXMDashboardWidgetDataService extends AXMEntityCrudServiceImpl<string, AXMCommonDashboardWidgetDataEntityModel> {
5
+ }
6
+ export declare class AXMDashboardWidgetDataServiceImpl extends AXMDashboardWidgetDataService {
7
+ constructor();
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardWidgetDataServiceImpl, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMDashboardWidgetDataServiceImpl>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ export interface AXMCommonDashboardWidgetDataEntityModel extends AXPEntityModel<string> {
3
+ x: number;
4
+ y: number;
5
+ w: number;
6
+ h: number;
7
+ disableResize: boolean;
8
+ disableDrag: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ export * from './dashboard-widget-data.entity';
2
+ export * from './dashboard-widget-data.service';
3
+ export * from './dashboard-widget-data.types';
@@ -0,0 +1,2 @@
1
+ export * from './dashboard';
2
+ export * from './dashboard-widget-data';
@@ -0,0 +1,10 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityPreloadEntity } from '@acorex/platform/layout/entity';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {
5
+ private injector;
6
+ preload(): AXPEntityPreloadEntity[];
7
+ get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMEntityProvider, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMEntityProvider>;
10
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXPDashboardHomeComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardHomeComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPDashboardHomeComponent, "ng-component", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './dashboard-home';
@@ -0,0 +1,5 @@
1
+ import { AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';
2
+ export declare class AXMMenuProvider implements AXPMenuProvider {
3
+ private entityService;
4
+ provide(context: AXPMenuProviderContext): Promise<void>;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { AXPPermissionProvider, AXPPermissionProviderContext } from '@acorex/platform/auth';
2
+ export declare class AXMPermissionProvider implements AXPPermissionProvider {
3
+ provide(context: AXPPermissionProviderContext): Promise<void>;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex/platform/common';
2
+ export declare class AXMSearchCommandProvider extends AXPSearchCommandProvider {
3
+ commands: AXPSearchResult[];
4
+ }
@@ -0,0 +1,4 @@
1
+ import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';
2
+ export declare class AXMSettingProvider implements AXPSettingDefinitionProvider {
3
+ provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
4
+ }
@@ -4,10 +4,17 @@ import { AXMDocumentManagementDocumentEntityModel } from './document.types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare abstract class AXMDocumentService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementDocumentEntityModel> {
6
6
  abstract getPath(documentId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
7
+ /**
8
+ * جستجوی فایل‌ها با نام مشخص شده
9
+ * @param searchTerm عبارت جستجو
10
+ * @param rootFolderId شناسه فولدر ریشه برای شروع جستجو
11
+ */
12
+ abstract searchFiles(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementDocumentEntityModel[]>;
7
13
  }
8
14
  export declare class AXMDocumentServiceImpl extends AXMDocumentService {
9
15
  constructor();
10
16
  getPath(_: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
17
+ searchFiles(_searchTerm: string, _rootFolderId: string): Promise<AXMDocumentManagementDocumentEntityModel[]>;
11
18
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentServiceImpl, never>;
12
19
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMDocumentServiceImpl>;
13
20
  }
@@ -3,10 +3,17 @@ import { AXMDocumentManagementFolderCreateDto, AXMDocumentManagementFolderEntity
3
3
  import * as i0 from "@angular/core";
4
4
  export declare abstract class AXMFolderService extends AXMEntityCrudServiceImpl<string, AXMDocumentManagementFolderEntityModel, AXMDocumentManagementFolderCreateDto> {
5
5
  abstract getPath(folderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
6
+ /**
7
+ * جستجوی فولدرها با نام مشخص شده
8
+ * @param searchTerm عبارت جستجو
9
+ * @param rootFolderId شناسه فولدر ریشه برای شروع جستجو
10
+ */
11
+ abstract searchFolders(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
6
12
  }
7
13
  export declare class AXMFolderServiceImpl extends AXMFolderService {
8
14
  constructor();
9
15
  getPath(_: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
16
+ searchFolders(_searchTerm: string, _rootFolderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
10
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMFolderServiceImpl, never>;
11
18
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMFolderServiceImpl>;
12
19
  }
@@ -0,0 +1,14 @@
1
+ import { AXFormComponent } from '@acorex/components/form';
2
+ import { AXBasePageComponent } from '@acorex/components/page';
3
+ import { AXMDocumentExplorerNode } from '../../../shared/document-manager.types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXMRenameNodeDialog extends AXBasePageComponent {
6
+ private driveService;
7
+ node: AXMDocumentExplorerNode;
8
+ protected name: import("@angular/core").ModelSignal<string>;
9
+ protected ngOnInit(): void;
10
+ handleSubmitButton(form: AXFormComponent): Promise<void>;
11
+ onCancel(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMRenameNodeDialog, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMRenameNodeDialog, "ax-rename-node-dialog", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; }, { "name": "nameChange"; }, never, never, true, never>;
14
+ }
@@ -1,11 +1,12 @@
1
- import { AXMDocumentManagerService, AXMDocumentExplorerNode } from '../drive';
2
- import { AXContextMenuOpeningEvent, AXContextMenuItemsClickEvent, AXContextMenuComponent } from '@acorex/components/menu';
1
+ import { AXContextMenuComponent, AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent } from '@acorex/components/menu';
3
2
  import { AXTranslationService } from '@acorex/core/translation';
3
+ import { AXMDocumentManagerService } from '../shared/document-manager.service';
4
+ import { AXMDocumentExplorerNode } from '../shared/document-manager.types';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AXMDocumentExplorerComponent {
6
7
  #private;
7
8
  protected vm: {
8
- viewMode: import("@angular/core").Signal<import("../drive").AXPDocumentExplorerViewMode>;
9
+ viewMode: import("@angular/core").Signal<import("../shared/document-manager.types").AXPDocumentExplorerViewMode>;
9
10
  isLoading: import("@angular/core").Signal<boolean>;
10
11
  currentPath: import("@angular/core").Signal<AXMDocumentExplorerNode[]>;
11
12
  currentNode: import("@angular/core").Signal<AXMDocumentExplorerNode | null>;
@@ -17,7 +18,7 @@ export declare class AXMDocumentExplorerComponent {
17
18
  files: import("@angular/core").Signal<AXMDocumentExplorerNode[]>;
18
19
  itemsCount: import("@angular/core").Signal<number>;
19
20
  availableSpace: import("@angular/core").Signal<number>;
20
- currentDrive: import("@angular/core").Signal<import("../drive").AXMDriveScope | null>;
21
+ currentDrive: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDriveScope | null>;
21
22
  fileTypes: import("@angular/core").Signal<import("@acorex/platform/common").AXPFileType[]>;
22
23
  isRoot: import("@angular/core").Signal<boolean>;
23
24
  breadcrumb: import("@angular/core").Signal<AXMDocumentExplorerNode[]>;
@@ -32,10 +33,10 @@ export declare class AXMDocumentExplorerComponent {
32
33
  initialize: (path?: string) => Promise<void>;
33
34
  navigateToFolder: (folderId: string) => void;
34
35
  loadFolderContents: (folderId: string) => Promise<void>;
35
- setViewMode: (mode: import("../drive").AXPDocumentExplorerViewMode) => void;
36
+ setViewMode: (mode: import("../shared/document-manager.types").AXPDocumentExplorerViewMode) => void;
36
37
  setSortField: (field: string) => void;
37
38
  setSortDirection: (direction: string) => void;
38
- setDrive: (scope: import("../drive").AXMDriveScope) => void;
39
+ setDrive: (scope: import("../shared/document-manager.types").AXMDriveScope) => void;
39
40
  isLoadingFolder: (folderId: string) => boolean;
40
41
  getFileInfo: (fileName: string) => {
41
42
  icon: string;
@@ -44,7 +45,7 @@ export declare class AXMDocumentExplorerComponent {
44
45
  sortItems: (items: AXMDocumentExplorerNode[]) => AXMDocumentExplorerNode[];
45
46
  refresh: () => Promise<void>;
46
47
  } & import("@ngrx/signals").StateSource<{
47
- viewMode: import("../drive").AXPDocumentExplorerViewMode;
48
+ viewMode: import("../shared/document-manager.types").AXPDocumentExplorerViewMode;
48
49
  isLoading: boolean;
49
50
  currentPath: AXMDocumentExplorerNode[];
50
51
  currentNode: AXMDocumentExplorerNode | null;
@@ -56,7 +57,7 @@ export declare class AXMDocumentExplorerComponent {
56
57
  files: AXMDocumentExplorerNode[];
57
58
  itemsCount: number;
58
59
  availableSpace: number;
59
- currentDrive: import("../drive").AXMDriveScope | null;
60
+ currentDrive: import("../shared/document-manager.types").AXMDriveScope | null;
60
61
  fileTypes: import("@acorex/platform/common").AXPFileType[];
61
62
  }>;
62
63
  protected contextMenu: import("@angular/core").Signal<AXContextMenuComponent | undefined>;
@@ -68,7 +69,9 @@ export declare class AXMDocumentExplorerComponent {
68
69
  protected handleContextMenuRootOnOpening(e: AXContextMenuOpeningEvent): void;
69
70
  protected handleContextMenuItemClick(e: AXContextMenuItemsClickEvent): Promise<void>;
70
71
  createFolder(node?: AXMDocumentExplorerNode): Promise<void>;
72
+ deleteNode(node?: AXMDocumentExplorerNode): Promise<void>;
73
+ renameNode(node?: AXMDocumentExplorerNode): Promise<void>;
71
74
  uploadFile(node?: AXMDocumentExplorerNode): Promise<void>;
72
75
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentExplorerComponent, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentExplorerComponent, "axp-document-explorer", never, {}, {}, never, never, true, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentExplorerComponent, "axm-document-explorer", never, {}, {}, never, never, true, never>;
74
77
  }
@@ -1,5 +1,5 @@
1
- import { AXMDocumentExplorerNode, AXMDriveScope, AXPDocumentExplorerViewMode } from "../drive";
2
- import { AXPFileType } from "@acorex/platform/common";
1
+ import { AXPFileType } from '@acorex/platform/common';
2
+ import { AXMDocumentExplorerNode, AXMDriveScope, AXPDocumentExplorerViewMode } from '../shared/document-manager.types';
3
3
  export declare const AXPDocumentExplorerViewModel: import("@angular/core").Type<{
4
4
  viewMode: import("@angular/core").Signal<AXPDocumentExplorerViewMode>;
5
5
  isLoading: import("@angular/core").Signal<boolean>;
@@ -1,8 +1,8 @@
1
+ import { AXPSessionService } from '@acorex/platform/auth';
1
2
  import { OnInit } from '@angular/core';
2
- import { Router, ActivatedRoute } from '@angular/router';
3
+ import { ActivatedRoute, Router } from '@angular/router';
3
4
  import { AXMDocumentExplorerComponent } from '../document-explorer';
4
5
  import { AXMDriveScope } from '../shared/document-manager.types';
5
- import { AXPSessionService } from '@acorex/platform/auth';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AXMDocumentDriveComponent implements OnInit {
8
8
  #private;
@@ -188,6 +188,7 @@ export declare class AXMDocumentDriveComponent implements OnInit {
188
188
  textKey: string;
189
189
  icon: string;
190
190
  }>;
191
+ handleSearchChange(event: any): Promise<void>;
191
192
  ngOnInit(): Promise<void>;
192
193
  private loadDrive;
193
194
  loadFilterItems(): Promise<void>;
@@ -1,3 +1,4 @@
1
+ import { AXDialogService } from '@acorex/components/dialog';
1
2
  import { AXPopupService } from '@acorex/components/popup';
2
3
  import { AXPSessionService } from '@acorex/platform/auth';
3
4
  import { AXMDocumentManagementFolderCreateDto, AXMDocumentService, AXMFolderService } from '../../entities';
@@ -31,6 +32,37 @@ export interface AXMDocumentManagerServiceInterface {
31
32
  deleteFile(fileId: string): Promise<void>;
32
33
  deleteNodes(nodeIds: string[]): Promise<void>;
33
34
  showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
35
+ showDeleteNodesDialog(nodeIds: string[]): Promise<void>;
36
+ /**
37
+ * جستجوی فولدرها با نام مشخص شده در اسکوپ
38
+ * @param searchTerm عبارت جستجو
39
+ * @param scope اسکوپ جستجو
40
+ * @param options گزینه‌های اضافی مانند tenantId و userId
41
+ */
42
+ searchFolders(searchTerm: string, scope: AXMDriveScope, options?: {
43
+ tenantId?: string;
44
+ userId?: string;
45
+ }): Promise<AXMDocumentExplorerNode[]>;
46
+ /**
47
+ * جستجوی فایل‌ها با نام مشخص شده در اسکوپ
48
+ * @param searchTerm عبارت جستجو
49
+ * @param scope اسکوپ جستجو
50
+ * @param options گزینه‌های اضافی مانند tenantId و userId
51
+ */
52
+ searchFiles(searchTerm: string, scope: AXMDriveScope, options?: {
53
+ tenantId?: string;
54
+ userId?: string;
55
+ }): Promise<AXMDocumentExplorerNode[]>;
56
+ /**
57
+ * جستجوی تمام نودها (فولدرها و فایل‌ها) با نام مشخص شده در اسکوپ
58
+ * @param searchTerm عبارت جستجو
59
+ * @param scope اسکوپ جستجو
60
+ * @param options گزینه‌های اضافی مانند tenantId و userId
61
+ */
62
+ searchNodes(searchTerm: string, scope: AXMDriveScope, options?: {
63
+ tenantId?: string;
64
+ userId?: string;
65
+ }): Promise<AXMDocumentExplorerNode[]>;
34
66
  }
35
67
  /**
36
68
  * Service for handling document drive operations
@@ -40,6 +72,7 @@ export declare class AXMDocumentManagerService implements AXMDocumentManagerServ
40
72
  protected sessionService: AXPSessionService;
41
73
  protected documentService: AXMDocumentService;
42
74
  protected popupService: AXPopupService;
75
+ protected dialogService: AXDialogService;
43
76
  private scopedDriveCache;
44
77
  scope(scope: AXMDriveScope, options?: {
45
78
  tenantId?: string;
@@ -101,7 +134,38 @@ export declare class AXMDocumentManagerService implements AXMDocumentManagerServ
101
134
  deleteFile(fileId: string): Promise<void>;
102
135
  deleteNodes(nodeIds: string[]): Promise<void>;
103
136
  showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
104
- rename(node: AXMDocumentExplorerNode): Promise<void>;
137
+ rename(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode>;
138
+ showDeleteNodesDialog(nodeIds: string[]): Promise<void>;
139
+ /**
140
+ * جستجوی فولدرها با نام مشخص شده در اسکوپ
141
+ * @param searchTerm عبارت جستجو
142
+ * @param scope اسکوپ جستجو
143
+ * @param options گزینه‌های اضافی مانند tenantId و userId
144
+ */
145
+ searchFolders(searchTerm: string, scope: AXMDriveScope, options?: {
146
+ tenantId?: string;
147
+ userId?: string;
148
+ }): Promise<AXMDocumentExplorerNode[]>;
149
+ /**
150
+ * جستجوی فایل‌ها با نام مشخص شده در اسکوپ
151
+ * @param searchTerm عبارت جستجو
152
+ * @param scope اسکوپ جستجو
153
+ * @param options گزینه‌های اضافی مانند tenantId و userId
154
+ */
155
+ searchFiles(searchTerm: string, scope: AXMDriveScope, options?: {
156
+ tenantId?: string;
157
+ userId?: string;
158
+ }): Promise<AXMDocumentExplorerNode[]>;
159
+ /**
160
+ * جستجوی تمام نودها (فولدرها و فایل‌ها) با نام مشخص شده در اسکوپ
161
+ * @param searchTerm عبارت جستجو
162
+ * @param scope اسکوپ جستجو
163
+ * @param options گزینه‌های اضافی مانند tenantId و userId
164
+ */
165
+ searchNodes(searchTerm: string, scope: AXMDriveScope, options?: {
166
+ tenantId?: string;
167
+ userId?: string;
168
+ }): Promise<AXMDocumentExplorerNode[]>;
105
169
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentManagerService, never>;
106
170
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMDocumentManagerService>;
107
171
  }
@@ -126,5 +190,20 @@ declare class ScopedDriveService {
126
190
  updateFolder(folderId: string, data: UpdateFolderDto): Promise<AXMDocumentExplorerNode>;
127
191
  deleteFolder(folderId: string): Promise<void>;
128
192
  getAvailableSpace(): Promise<number>;
193
+ /**
194
+ * جستجوی فولدرها با نام مشخص شده در اسکوپ فعلی
195
+ * @param searchTerm عبارت جستجو
196
+ */
197
+ searchFolders(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
198
+ /**
199
+ * جستجوی فایل‌ها با نام مشخص شده در اسکوپ فعلی
200
+ * @param searchTerm عبارت جستجو
201
+ */
202
+ searchFiles(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
203
+ /**
204
+ * جستجوی تمام نودها (فولدرها و فایل‌ها) با نام مشخص شده در اسکوپ فعلی
205
+ * @param searchTerm عبارت جستجو
206
+ */
207
+ searchNodes(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
129
208
  }
130
209
  export {};
@@ -1,4 +1,4 @@
1
- import { AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementFolderEntityModel } from "../../entities";
1
+ import { AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementFolderEntityModel } from '../../entities';
2
2
  export type AXMDriveScopeKey = 'P' | 'T' | 'U';
3
3
  export declare enum AXMDriveScope {
4
4
  Platform = "P",
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXMDocumentAttachmentWidgetColumnComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetColumnComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetColumnComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXMDocumentAttachmentWidgetEditComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetEditComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetEditComponent, "axm-document-attachment-widget", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXMDocumentAttachmentWidgetFilterComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetFilterComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetFilterComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXMDocumentAttachmentWidgetPrintComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetPrintComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetPrintComponent, "ng-component", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXMDocumentAttachmentWidgetViewComponent extends AXPWidgetComponent<any> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetViewComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetViewComponent, "axp-document-attachment-widget", never, {}, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1,7 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ export declare const AXMDocumentAttachmentWidget: AXPWidgetConfig;
3
+ declare module '@acorex/platform/layout/builder' {
4
+ interface AXPWidgetTypesMap {
5
+ documentAttachment: 'document-attachment-editor';
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ export * from './document-attachment-widget-column.component';
2
+ export * from './document-attachment-widget-edit.component';
3
+ export * from './document-attachment-widget-filter.component';
4
+ export * from './document-attachment-widget-print.component';
5
+ export * from './document-attachment-widget-view.component';
6
+ export * from './document-attachment-widget.config';
@@ -0,0 +1 @@
1
+ export * from './document-attachment';
@@ -103,18 +103,18 @@ const routes = [
103
103
  },
104
104
  {
105
105
  path: '',
106
- loadComponent: () => import('./acorex-modules-auth-master.layout-CK4nyS8D.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
107
- loadChildren: () => import('./acorex-modules-auth-login.module-B1sF3B_O.mjs').then((c) => c.AXPSignInModule),
106
+ loadComponent: () => import('./acorex-modules-auth-master.layout-BYC0FYq1.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
107
+ loadChildren: () => import('./acorex-modules-auth-login.module-B9P2XpfQ.mjs').then((c) => c.AXPSignInModule),
108
108
  },
109
109
  {
110
110
  path: '',
111
- loadComponent: () => import('./acorex-modules-auth-master.layout-CK4nyS8D.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
112
- loadChildren: () => import('./acorex-modules-auth-two-factor.module-BatKQRdJ.mjs').then((c) => c.AXPTwoFactorModule),
111
+ loadComponent: () => import('./acorex-modules-auth-master.layout-BYC0FYq1.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
112
+ loadChildren: () => import('./acorex-modules-auth-two-factor.module-YRh6_YcG.mjs').then((c) => c.AXPTwoFactorModule),
113
113
  },
114
114
  {
115
115
  path: '',
116
- loadComponent: () => import('./acorex-modules-auth-master.layout-CK4nyS8D.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
117
- loadChildren: () => import('./acorex-modules-auth-routes-DwHgPrDP.mjs').then((c) => c),
116
+ loadComponent: () => import('./acorex-modules-auth-master.layout-BYC0FYq1.mjs').then((c) => c.AXPAuthMasterLayoutComponent),
117
+ loadChildren: () => import('./acorex-modules-auth-routes-Bu-xB4O6.mjs').then((c) => c),
118
118
  },
119
119
  {
120
120
  path: 'account',
@@ -457,7 +457,7 @@ function routesFacory() {
457
457
  },
458
458
  {
459
459
  path: 'app-chooser',
460
- loadComponent: () => import('./acorex-modules-auth-app-chooser.component-CGSygSjS.mjs').then((c) => c.AXPAuthAppChooserComponent),
460
+ loadComponent: () => import('./acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs').then((c) => c.AXPAuthAppChooserComponent),
461
461
  canActivate: [AXPAuthGuard, canActivateAppChooser],
462
462
  },
463
463
  ];
@@ -634,4 +634,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
634
634
  */
635
635
 
636
636
  export { AXM_AUTH_CONFIG_TOKEN as A, AXMAuthenticationTypes as a, AXPTenantChooserDropdownComponent as b, AXPAppChooserListComponent as c, AXMAuthErrorHandler as d, AXMDefaultAuthConfigs as e, configAuthModule as f, AXMAuthModule as g, AXPIdleService as h };
637
- //# sourceMappingURL=acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs.map
637
+ //# sourceMappingURL=acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map