@techextensor/tab-sdk 0.0.7 → 0.0.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/esm2022/lib/app/file.service.mjs +45 -2
- package/esm2022/lib/interface/ui.interface.mjs +1 -1
- package/esm2022/lib/store/store.service.mjs +29 -1
- package/esm2022/lib/ui/ui.service.mjs +6 -6
- package/fesm2022/techextensor-tab-sdk.mjs +76 -6
- package/fesm2022/techextensor-tab-sdk.mjs.map +1 -1
- package/lib/app/file.service.d.ts +12 -0
- package/lib/interface/ui.interface.d.ts +1 -1
- package/lib/store/store.service.d.ts +12 -0
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { CommonApiResponse, UploadMediaFilesPayload } from '@techextensor/tab-co
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FileService {
|
|
4
4
|
private _mediaUploadHelper;
|
|
5
|
+
private apiService;
|
|
5
6
|
/**
|
|
6
7
|
* Uploads media files using the provided payload and optional headers.
|
|
7
8
|
*
|
|
@@ -17,6 +18,17 @@ export declare class FileService {
|
|
|
17
18
|
* @returns A promise that resolves to a common API response.
|
|
18
19
|
*/
|
|
19
20
|
removeMediaFile(mediaId: string): Promise<CommonApiResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Processes an FTP URL and returns a processed URL.
|
|
23
|
+
*
|
|
24
|
+
* @param params - The parameters containing data, an optional defaultHeader, and an optional imgElement.
|
|
25
|
+
* @returns A promise that resolves to the processed URL or null if an error occurs.
|
|
26
|
+
*/
|
|
27
|
+
processFtpUrl(params: {
|
|
28
|
+
data: string;
|
|
29
|
+
defaultHeader?: boolean;
|
|
30
|
+
imgElement?: HTMLImageElement;
|
|
31
|
+
}): Promise<any>;
|
|
20
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
|
|
21
33
|
static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
|
|
22
34
|
}
|
|
@@ -34,6 +34,18 @@ export declare class StoreService {
|
|
|
34
34
|
* @param value - The subdomain to set.
|
|
35
35
|
*/
|
|
36
36
|
set subdomain(value: string | null);
|
|
37
|
+
/**
|
|
38
|
+
* Retrieves the locale settings from the organization info.
|
|
39
|
+
*
|
|
40
|
+
* @returns The locale settings if they exist, otherwise `null`.
|
|
41
|
+
*/
|
|
42
|
+
get orgLocaleSettings(): any;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the locale settings in the organization info.
|
|
45
|
+
*
|
|
46
|
+
* @param value - The locale settings to set.
|
|
47
|
+
*/
|
|
48
|
+
set orgLocaleSettings(value: any);
|
|
37
49
|
/**
|
|
38
50
|
* Retrieves the app ID from the app info.
|
|
39
51
|
*
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techextensor/tab-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.0",
|
|
6
6
|
"@angular/core": "^17.3.0",
|
|
7
|
-
"@techextensor/tab-core-utility": "^2.2.
|
|
7
|
+
"@techextensor/tab-core-utility": "^2.2.152"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|