@acorex/connectivity 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.
@@ -1,3 +1,43 @@
1
1
  import { AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementFolderEntityModel } from '@acorex/modules/document-management';
2
- export declare const FOLDER_MOCK_DATA: AXMDocumentManagementFolderEntityModel[];
3
- export declare const FILE_MOCK_DATA: AXMDocumentManagementDocumentEntityModel[];
2
+ import { Injector } from '@angular/core';
3
+ /**
4
+ * Document Management Mock Data Service Class
5
+ * Manages simulated data for document management folders and files
6
+ */
7
+ export declare class DocumentManagementMockDataService {
8
+ private injector;
9
+ /**
10
+ *
11
+ */
12
+ constructor(injector: Injector);
13
+ protected _folders: AXMDocumentManagementFolderEntityModel[];
14
+ protected _files: AXMDocumentManagementDocumentEntityModel[];
15
+ protected _initialized: boolean;
16
+ private http;
17
+ private fileStorage;
18
+ /**
19
+ * Access to simulated folders
20
+ */
21
+ get folders(): AXMDocumentManagementFolderEntityModel[];
22
+ /**
23
+ * Access to simulated files
24
+ */
25
+ get files(): AXMDocumentManagementDocumentEntityModel[];
26
+ /**
27
+ * Check initialization status
28
+ */
29
+ get isInitialized(): boolean;
30
+ /**
31
+ * Initialize mock data without parameters
32
+ * Uses dependency injection for services
33
+ */
34
+ initialize(): Promise<void>;
35
+ /**
36
+ * Fetch file as Blob
37
+ */
38
+ private fetchFileAsBlob;
39
+ /**
40
+ * Create mock data
41
+ */
42
+ private createMockData;
43
+ }
@@ -2,6 +2,7 @@ import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AXCFolderDataSeeder implements AXPDataSeeder {
4
4
  private storageService;
5
+ private injector;
5
6
  seed(): Promise<void>;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCFolderDataSeeder, never>;
7
8
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCFolderDataSeeder>;
@@ -6,17 +6,18 @@ export declare class AXMFolderMockService extends AXMFolderServiceImpl {
6
6
  updateOne(id: string, values: Partial<AXMDocumentManagementFolderEntityModel>): Promise<AXMDocumentManagementFolderEntityModel>;
7
7
  deleteOne(id: string): Promise<void>;
8
8
  getPath(folderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
9
+ getOne(id: string): Promise<AXMDocumentManagementFolderEntityModel>;
9
10
  /**
10
- * جستجوی فولدرها با نام مشخص شده با استفاده از روش بازگشتی
11
- * @param searchTerm عبارت جستجو
12
- * @param rootFolderId شناسه فولدر ریشه برای شروع جستجو
11
+ * Search folders with specified name using recursive method
12
+ * @param searchTerm search term
13
+ * @param rootFolderId ID of the root folder to start the search
13
14
  */
14
15
  searchFolders(searchTerm: string, rootFolderId: string): Promise<AXMDocumentManagementFolderEntityModel[]>;
15
16
  /**
16
- * جستجوی بازگشتی فولدرها
17
- * @param searchTerm عبارت جستجو
18
- * @param folderId شناسه فولدر فعلی
19
- * @param result آرایه نتایج
17
+ * Recursive folder search
18
+ * @param searchTerm search term
19
+ * @param folderId current folder ID
20
+ * @param result results array
20
21
  */
21
22
  private searchFoldersRecursive;
22
23
  }
@@ -1,4 +1,4 @@
1
- import { AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageService, AXPFileStorageUpdateRequest } from "@acorex/platform/common";
1
+ import { AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageService, AXPFileStorageUpdateRequest } from '@acorex/platform/common';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AXCFileStorageService implements AXPFileStorageService {
4
4
  private fileService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/connectivity",
3
- "version": "19.2.17-next.0",
3
+ "version": "19.2.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
@@ -1,8 +0,0 @@
1
- import { AXPDataSeeder } from '@acorex/platform/layout/entity';
2
- import * as i0 from "@angular/core";
3
- export declare class AXCFileDataSeeder implements AXPDataSeeder {
4
- private storageService;
5
- seed(): Promise<void>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileDataSeeder, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileDataSeeder>;
8
- }