mftsccs-browser 2.2.8-beta → 2.2.10-beta

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 (28) hide show
  1. package/dist/bundle-report.html +39 -0
  2. package/dist/main.bundle.js +2 -1
  3. package/dist/main.bundle.js.LICENSE.txt +1 -4
  4. package/dist/serviceWorker.bundle.js +2 -1
  5. package/dist/serviceWorker.bundle.js.LICENSE.txt +1 -4
  6. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +1 -1
  7. package/dist/types/Api/Images/GetImages.d.ts +1 -0
  8. package/dist/types/Api/Login.d.ts +1 -1
  9. package/dist/types/Constants/FormatConstants.d.ts +1 -0
  10. package/dist/types/DataStructures/BaseUrl.d.ts +5 -2
  11. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +2 -1
  12. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +1 -0
  13. package/dist/types/DataStructures/Security/TokenStorage.d.ts +1 -0
  14. package/dist/types/Middleware/logger.service.d.ts +6 -2
  15. package/dist/types/Services/AccessControl/AccessControl.d.ts +83 -1
  16. package/dist/types/Services/Search/DataIdFormat.d.ts +1 -1
  17. package/dist/types/Services/Search/NewFormat.d.ts +4 -0
  18. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +1 -0
  19. package/dist/types/Services/Security/GetRequestHeader.d.ts +1 -1
  20. package/dist/types/Services/Transaction/LocalTransaction.d.ts +4 -0
  21. package/dist/types/Services/Upload.d.ts +7 -0
  22. package/dist/types/Services/assets/GetImageService.d.ts +14 -0
  23. package/dist/types/Widgets/NormalizeStyles.service.d.ts +1 -0
  24. package/dist/types/Widgets/RenderWidgetService.d.ts +8 -7
  25. package/dist/types/Widgets/StatefulWidget.d.ts +1 -0
  26. package/dist/types/Widgets/WidgetTree.d.ts +3 -0
  27. package/dist/types/app.d.ts +8 -5
  28. package/package.json +3 -5
@@ -1,4 +1 @@
1
- /*!
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md.
4
- */
1
+ /*! https://mths.be/cssesc v3.0.0 by @mathias */
@@ -1,3 +1,3 @@
1
1
  import { Concept } from "../../DataStructures/Concept";
2
2
  import { Connection } from "../../app";
3
- export declare function CreateTheGhostConceptApi(conceptData: Concept[], connectionData: Connection[]): Promise<any>;
3
+ export declare function CreateTheGhostConceptApi(conceptData: Concept[], connectionData: Connection[], withAuth?: boolean): Promise<any>;
@@ -0,0 +1 @@
1
+ export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array> | null | undefined>;
@@ -1 +1 @@
1
- export declare function LoginToBackend(email: string, password: string): Promise<any>;
1
+ export declare function LoginToBackend(email: string, password: string, application?: string): Promise<any>;
@@ -5,3 +5,4 @@ export declare const DATAIDDATE = 4;
5
5
  export declare const RAW = 5;
6
6
  export declare const ALLID = 6;
7
7
  export declare const LISTNORMAL = 7;
8
+ export declare const DATAV2 = 8;
@@ -8,7 +8,7 @@ export declare class BaseUrl {
8
8
  static MQTT_CONNECTION: any;
9
9
  static BASE_APPLICATION: string;
10
10
  static DOCUMENTATION_WIDGET: number;
11
- static ACCESS_CONTROL_BASE_URL: string;
11
+ static isNearestCache: boolean;
12
12
  static FLAGS: any;
13
13
  static BASE_RANDOMIZER: number;
14
14
  static setRandomizer(id: number): void;
@@ -35,6 +35,7 @@ export declare class BaseUrl {
35
35
  static GetSuggestedConcepts(): string;
36
36
  static GetSuggestedConnections(): string;
37
37
  static PostLogger(): string;
38
+ static LogHealth(): string;
38
39
  static GetAllPrefetchConnectionsUrl(): string;
39
40
  static GetAllLinkerConnectionOfConceptUrl(): string;
40
41
  static GetAllLinkerConnectionToConceptUrl(): string;
@@ -54,7 +55,7 @@ export declare class BaseUrl {
54
55
  static ViewInternalDataUrl(): string;
55
56
  static SearchInternalWithAuthenticatedCcsUrl(): string;
56
57
  static SearchInternalWithCcsUrl(): string;
57
- static CreateGhostConceptApiUrl(): string;
58
+ static CreateGhostConceptApiUrl(withAuth?: boolean): string;
58
59
  static CreateGhostConnectionApiUrl(): string;
59
60
  static GetRealConceptById(): string;
60
61
  static GetReservedIdUrl(): string;
@@ -69,6 +70,7 @@ export declare class BaseUrl {
69
70
  static DeleteTheConnectionBulkUrl(): string;
70
71
  static FreeschemaQueryUrl(): string;
71
72
  static uploadImageUrl(): string;
73
+ static uploadImageUrlWithSmall(): string;
72
74
  static uploadFileUrl(): string;
73
75
  static sendMail(): string;
74
76
  static sendBulkMail(): string;
@@ -76,4 +78,5 @@ export declare class BaseUrl {
76
78
  static getLatestWidgetData(): string;
77
79
  static getConnectionsByTypes(): string;
78
80
  static CreatePrototypeUrl(): string;
81
+ static GetCachedImage(ImageName: string): string;
79
82
  }
@@ -16,7 +16,8 @@ export declare class LocalSyncData {
16
16
  static CheckContainsConnection(connection: Connection): boolean;
17
17
  static AddConcept(concept: Concept): void;
18
18
  static RemoveConcept(concept: Concept): void;
19
- static SyncDataOnline(transactionId?: string, actions?: InnerActions): Promise<any>;
19
+ static SyncDataOnlineWithoutAuth(transactionId?: string, actions?: InnerActions, withAuth?: boolean): Promise<any>;
20
+ static SyncDataOnline(transactionId?: string, actions?: InnerActions, withAuth?: boolean): Promise<any>;
20
21
  static ConvertGhostIdsInConnections(connectionArray: Connection[]): void;
21
22
  static UpdateConceptListToIncludeRelatedConcepts(connectionArray: Connection[], conceptsArray: Concept[]): Promise<void>;
22
23
  static AddConceptIfDoesNotExist(concept: Concept, conceptList?: Concept[]): void;
@@ -14,6 +14,7 @@ export declare class FreeschemaQuery {
14
14
  order: string;
15
15
  outputFormat: number;
16
16
  name: string;
17
+ filterAncestor: string;
17
18
  reverse: boolean;
18
19
  limit: boolean;
19
20
  isSecure: boolean;
@@ -1,4 +1,5 @@
1
1
  export declare class TokenStorage {
2
2
  static BearerAccessToken: string;
3
3
  static sessionId: number;
4
+ static setSession(sessionId: any): void;
4
5
  }
@@ -1,4 +1,7 @@
1
1
  export declare class Logger {
2
+ private static isLoggerActive;
3
+ private static lastCheck;
4
+ private static checkInterval;
2
5
  private static logLevel;
3
6
  private static packageLogsData;
4
7
  private static applicationLogsData;
@@ -40,6 +43,7 @@ export declare class Logger {
40
43
  static logfunction(myFunction: string, ...args: any[]): any;
41
44
  static logError(startTime: number, userId: string | number, operationType?: "read" | "create" | "update" | "delete" | "search", requestFrom?: string, requestIP?: string, responseStatus?: number, responseData?: any, functionName?: string, functionParameters?: any[], userAgent?: string, conceptsUsed?: string[]): void;
42
45
  static logApplication(level: string, message: string, data?: any): void;
46
+ static checkLoggerServerStatus(): Promise<void>;
43
47
  /**
44
48
  * Helper method to send logs to the server.
45
49
  */
@@ -132,9 +136,9 @@ export interface LogData {
132
136
  */
133
137
  serviceWorker?: boolean;
134
138
  }
135
- /**
139
+ /**getCookie
136
140
  *
137
141
  * @param cname The name of the cookie
138
142
  * @returns Cookie value
139
143
  */
140
- export declare function getCookie(cname: string): string;
144
+ export declare function getCookie(cname: string): string | null;
@@ -1,85 +1,167 @@
1
+ /**
2
+ * Service for managing access control operations.
3
+ * Provides methods to assign, revoke, and query access for concepts, entities, and users.
4
+ */
1
5
  export declare class AccessControlService {
6
+ /**
7
+ * Assigns access to a specific entity for a concept.
8
+ */
2
9
  static assignAccessToEntity(request: {
3
10
  conceptId: number;
4
11
  access: string;
5
12
  entityId: number;
6
13
  makePublic: boolean;
7
14
  }): Promise<any>;
15
+ /**
16
+ * Assigns public access to a concept.
17
+ */
8
18
  static assignPublicAccess(request: {
9
19
  conceptId: number;
10
20
  accessList: string[];
21
+ connectionTypeList?: string[];
11
22
  nestedAccessLevel?: number;
12
23
  conceptIdList?: number[];
13
24
  }): Promise<any>;
25
+ /**
26
+ * Assigns public access to multiple concepts in bulk.
27
+ */
14
28
  static assignPublicAccessBlukConcept(request: {
15
29
  conceptIdList: number[];
16
30
  accessList: string[];
31
+ connectionTypeList?: string[];
17
32
  nestedAccessLevel?: number;
18
33
  conceptId?: number;
19
34
  }): Promise<any>;
35
+ /**
36
+ * Assigns access to multiple entities and concepts in bulk.
37
+ */
20
38
  static assignAccessToEntityBulk(request: {
21
39
  conceptId: number;
22
40
  conceptIdList: number[];
23
41
  entityIdList: number[];
24
42
  accessList: string[];
43
+ connectionTypeList?: string[];
25
44
  nestedAccessLevel?: number;
26
45
  }): Promise<any>;
46
+ /**
47
+ * Assigns access to a user for a concept.
48
+ */
27
49
  static assignAccessByUser(request: {
28
50
  conceptId: number;
29
51
  access: string;
30
52
  userId: number;
31
53
  makePublic: boolean;
32
54
  }): Promise<any>;
55
+ /**
56
+ * Revokes access for an entity from a concept.
57
+ */
33
58
  static revokeAccess(params: {
34
59
  conceptId: number;
35
60
  access: string;
36
61
  entityId: number;
37
62
  }): Promise<any>;
63
+ /**
64
+ * Revokes access for multiple entities in bulk.
65
+ */
38
66
  static revokeAccessBulk(request: {
39
67
  conceptId: number;
40
68
  entityIdList: number[];
41
69
  accessList: string[];
42
70
  }): Promise<any>;
71
+ /**
72
+ * Gets the access list for a concept and user.
73
+ */
43
74
  static getAccessList(conceptId: number, userId: number): Promise<any>;
75
+ /**
76
+ * Gets the public access list for a list of concept IDs.
77
+ */
44
78
  static getPublicAccessList(conceptIdList: number[]): Promise<any>;
79
+ /**
80
+ * Revokes public access for a concept.
81
+ */
45
82
  static revokePublicAccess(request: {
46
83
  conceptId: number;
47
84
  accessList: string[];
48
- nestedAccessLevel?: number;
49
85
  }): Promise<any>;
86
+ /**
87
+ * Checks if an entity has a specific permission for a concept.
88
+ */
50
89
  static checkAccess(params: {
51
90
  conceptId: number;
52
91
  permission: string;
53
92
  entityId: number;
54
93
  }): Promise<any>;
94
+ /**
95
+ * Checks if a user has a specific access for a concept.
96
+ */
55
97
  static checkAccessByUser(request: {
56
98
  conceptId: number;
57
99
  access: string;
58
100
  userId: number;
59
101
  }): Promise<any>;
102
+ /**
103
+ * Filters concepts by access for a user.
104
+ */
60
105
  static filterConceptsByAccess(request: {
61
106
  userId: number;
62
107
  access: string;
63
108
  conceptIdList?: number[];
64
109
  connectionIdList?: number[];
65
110
  }): Promise<any>;
111
+ /**
112
+ * Checks access for a user on multiple concepts in bulk.
113
+ */
66
114
  static checkAccessOfConceptBulk(request: {
67
115
  userId: number;
68
116
  access: string;
69
117
  conceptIdList: number[];
70
118
  }): Promise<any>;
119
+ /**
120
+ * Gets entities with a specific access for a concept.
121
+ */
71
122
  static getEntitiesByAccess(conceptId: number, access: string): Promise<any>;
123
+ /**
124
+ * Gets all entities with any access for a concept.
125
+ */
72
126
  static getEntitiesWithAccess(conceptId: number): Promise<any>;
127
+ /**
128
+ * Gets access groups by entity.
129
+ */
73
130
  static getAccessGroupByEntity(entityId?: number): Promise<any>;
131
+ /**
132
+ * Gets access groups by user.
133
+ */
74
134
  static getAccessGroupByUser(userId?: number): Promise<any>;
135
+ /**
136
+ * Gets public access by access IDs.
137
+ */
75
138
  static getPublicAccessByAccessIds(accessIdList: number[]): Promise<any>;
139
+ /**
140
+ * Gets the full access mapping for public users.
141
+ */
76
142
  static getFullAccessMappingForPublic(): Promise<any>;
143
+ /**
144
+ * Assigns public access for all users.
145
+ */
77
146
  static assignPublicAccessForAllUser(): Promise<any>;
147
+ /**
148
+ * Assigns access by connection type for users.
149
+ */
78
150
  static assignAccessByConncetionTypeOfUser(): Promise<any>;
151
+ /**
152
+ * Sets access inheritance for a concept.
153
+ */
79
154
  static setAccessInheritance(request: {
80
155
  mainConceptId: number;
81
156
  enable: boolean;
82
157
  connectionTypeId?: number;
83
158
  }): Promise<any>;
159
+ /**
160
+ * Gets the status of access inheritance for a concept.
161
+ */
84
162
  static getAccessInheritanceStatus(mainConceptId: number, connectionTypeId?: number): Promise<any>;
163
+ private static get baseUrl();
164
+ private static _get;
165
+ private static _post;
166
+ private static _delete;
85
167
  }
@@ -8,7 +8,7 @@ import { Connection } from "../../app";
8
8
  * @param reverse
9
9
  * @returns
10
10
  */
11
- export declare function FormatFunctionDataForData(connections: Connection[], compositionData?: any[], reverse?: number[]): Promise<any[]>;
11
+ export declare function FormatFunctionDataForData(connections: Connection[], compositionData: any[], reverse?: number[]): Promise<any[]>;
12
12
  /**
13
13
  * ############ Format is data-id and is used for list. ############
14
14
  * This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
@@ -0,0 +1,4 @@
1
+ import { Connection } from "../../app";
2
+ export declare function FormatFunctionDataV2(connections: Connection[], compositionData?: Record<number, any>, reverse?: number[]): Promise<Record<number, any>>;
3
+ export declare function FormatFunctionDataForDataV2(connections: Connection[], compositionData?: Record<number, any>, reverse?: number[]): Promise<Record<number, any>>;
4
+ export declare function FormatFromConnectionsAlteredArrayExternalV2(connections: Connection[], compositionData: Record<number, any>, mainComposition: number[], reverse: number[] | undefined, CountDictionary: Record<number, any>): Promise<any[]>;
@@ -79,3 +79,4 @@ export declare function formatConnectionsJustId(linkers: number[], conceptIds: n
79
79
  * @returns
80
80
  */
81
81
  export declare function formatConnectionsDataId(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
82
+ export declare function formatConnectionsV2(linkers: number[], conceptIds: number[], mainCompositionIds: number[], reverse: number[], countInfos: CountInfo[], order?: string): Promise<any>;
@@ -1,3 +1,3 @@
1
- export declare function GetRequestHeader(contentType?: string, accept?: string): Record<string, string>;
1
+ export declare function GetRequestHeader(contentType?: string, Accept?: string): {};
2
2
  export declare function GetRequestHeaderWithAuthorization(contentType?: string, token?: string, Accept?: string): {};
3
3
  export declare function GetOnlyTokenHeader(): Headers;
@@ -12,6 +12,10 @@ export declare class LocalTransaction {
12
12
  * Method to commi the created Transactions
13
13
  */
14
14
  commitTransaction(): Promise<void>;
15
+ /**
16
+ * Method to commi the created Transactions
17
+ */
18
+ commitTransactionWithoutAuth(): Promise<void>;
15
19
  /**
16
20
  * Method to rollback all the tranctions occured
17
21
  */
@@ -17,6 +17,13 @@ export declare function uploadAttachment(file: File, token?: string): Promise<{
17
17
  * @returns JSON | string | null
18
18
  */
19
19
  export declare function uploadImage(body: FormData, token?: string): Promise<any>;
20
+ /**
21
+ * Method to upload image to server
22
+ * @param body FormData
23
+ * @param token string?
24
+ * @returns JSON | string | null
25
+ */
26
+ export declare function uploadImageV2(body: FormData, token?: string): Promise<any>;
20
27
  /**
21
28
  * Method to upload file to server
22
29
  * @param body FormData
@@ -0,0 +1,14 @@
1
+ /**
2
+ *
3
+ * @param url this is the url of the image that you have. This image will be cached in the cache server
4
+ * @param format this is the format it can be either normal , small, by default it is normal
5
+ * @returns
6
+ */
7
+ export declare function GetFreeschemaImage(url: string, format?: string): Promise<any>;
8
+ /**
9
+ *
10
+ * @param url this is the url of the image that you have. This image will be cached in the cache server
11
+ * @param format this is the format it can be either normal , small, by default it is normal
12
+ * @returns
13
+ */
14
+ export declare function GetFreeschemaImageUrl(url: string, format?: string): string;
@@ -0,0 +1 @@
1
+ export declare function normalizeCSS(cssString: string): Promise<string | null>;
@@ -1,8 +1,8 @@
1
- import { BuilderStatefulWidget, WidgetTree } from "../app";
2
- export declare function renderPage(pageId: number, attachNode: HTMLElement, props?: any): Promise<void>;
3
- export declare function renderLatestWidget(widgetId: number, attachNode: HTMLElement, props?: any): Promise<BuilderStatefulWidget | undefined>;
4
- export declare function renderWidget(widgetId: number, attachNode: HTMLElement, props?: any): Promise<BuilderStatefulWidget | undefined>;
5
- export declare function materializeWidget(widgetId: number, bulkWidget: any, attachNode: HTMLElement, props?: any): Promise<BuilderStatefulWidget | undefined>;
1
+ import { BuilderStatefulWidget, StatefulWidget, WidgetTree } from "../app";
2
+ export declare function renderPage(pageId: number, attachNode: HTMLElement, props?: any, showDocumentation?: boolean): Promise<void>;
3
+ export declare function renderLatestWidget(widgetId: number, attachNode: HTMLElement, props?: any, showDocumentation?: boolean): Promise<BuilderStatefulWidget | undefined>;
4
+ export declare function renderWidget(widgetId: number, attachNode: HTMLElement, props?: any, showDocumentation?: boolean): Promise<BuilderStatefulWidget | undefined>;
5
+ export declare function materializeWidget(widgetId: number, bulkWidget: any, attachNode: HTMLElement, props?: any, showDocumentation?: boolean): Promise<BuilderStatefulWidget | undefined>;
6
6
  export declare function getWidgetFromId(widgetId: number, visitedWidgets?: number[], token?: string): Promise<WidgetTree>;
7
7
  /**
8
8
  * This function builds a widget tree. This tree is built fully along with its children
@@ -19,7 +19,8 @@ export declare function getWidgetBulkFromId(widgetId: number, visitedWidgets: nu
19
19
  * @returns the widgetree with widgets attached inside of it.
20
20
  * Also this will add the tree to the dom.
21
21
  */
22
- export declare function convertWidgetTreeToWidget(tree: WidgetTree, parentElement: HTMLElement, isMain?: boolean, props?: any, state?: any): Promise<BuilderStatefulWidget>;
22
+ export declare function convertWidgetTreeToWidget(tree: WidgetTree, parentElement: HTMLElement, isMain?: boolean, props?: any, state?: any, parentWidget?: StatefulWidget | null): Promise<BuilderStatefulWidget>;
23
+ export declare function makeShallow(input: any): any;
23
24
  /**
24
25
  *
25
26
  * @param tree Widget tree from getWidgetFromId(widgetId);
@@ -27,7 +28,7 @@ export declare function convertWidgetTreeToWidget(tree: WidgetTree, parentElemen
27
28
  * @returns the widgetree with widgets attached inside of it.
28
29
  * Also this will add the tree to the dom.
29
30
  */
30
- export declare function convertWidgetTreeToWidgetWithWrapper(tree: WidgetTree, parentElement: HTMLElement, isMain?: boolean, state?: object, isInDevelopment?: boolean): Promise<BuilderStatefulWidget>;
31
+ export declare function convertWidgetTreeToWidgetWithWrapper(tree: WidgetTree, parentElement: HTMLElement, isMain?: boolean, state?: object, isInDevelopment?: boolean, parentWidget?: StatefulWidget | null): Promise<BuilderStatefulWidget>;
31
32
  export declare function unwrapContainers(parentElement: HTMLElement, selector: string): Promise<void>;
32
33
  /**
33
34
  * Opens documentation modal
@@ -19,6 +19,7 @@ export declare class StatefulWidget extends BaseWidget {
19
19
  */
20
20
  childWidgets: any;
21
21
  childWidgetElement: any;
22
+ parentWidget: any;
22
23
  /**
23
24
  * store widget state datas to pass through child widgets
24
25
  */
@@ -22,4 +22,7 @@ export declare class WidgetTree {
22
22
  children: WidgetTree[];
23
23
  wrapper: string;
24
24
  widget: BuilderStatefulWidget;
25
+ sChildId?: number;
26
+ isPublished?: boolean;
27
+ useLatest?: boolean;
25
28
  }
@@ -27,7 +27,7 @@ export { GetConnectionById } from './Services/GetConnections';
27
27
  export { MakeTheTimestamp } from './Services/MakeTheTimestamp';
28
28
  export { RecursiveSearchApi, RecursiveSearchApiWithInternalConnections, RecursiveSearchApiRaw, RecursiveSearchApiRawFullLinker, RecursiveSearchApiNewRawFullLinker } from './Api/RecursiveSearch';
29
29
  export { GetCompositionBulkWithDataId, GetCompositionFromConnectionsWithDataIdFromConnections, GetCompositionFromConnectionsWithIndexFromConnections, GetCompositionBulk, GetCompositionFromConnectionsWithDataId } from './Services/GetCompositionBulk';
30
- export { uploadAttachment, uploadFile, uploadImage, validDocumentFormats, validImageFormats } from './Services/Upload';
30
+ export { uploadAttachment, uploadFile, uploadImage, uploadImageV2, validDocumentFormats, validImageFormats } from './Services/Upload';
31
31
  export { GetConceptBulk } from './Api/GetConceptBulk';
32
32
  export { GetConnectionBulk } from './Api/GetConnectionBulk';
33
33
  export { GetAllConnectionsOfCompositionBulk } from './Api/GetAllConnectionsOfCompositionBulk';
@@ -69,7 +69,7 @@ export { GetCompositionWithIdAndDateFromMemory, GetCompositionFromMemoryWithConn
69
69
  export { GetConceptByCharacterAndType } from './Api/GetConceptByCharacterAndType';
70
70
  export { GetConnectionDataPrefetch } from './Services/GetCompositionBulk';
71
71
  export { FormatFromConnectionsAltered } from './Services/Search/SearchLinkMultiple';
72
- export { NORMAL, JUSTDATA, DATAID, DATAIDDATE, RAW, ALLID, LISTNORMAL } from './Constants/FormatConstants';
72
+ export { NORMAL, JUSTDATA, DATAID, DATAIDDATE, RAW, ALLID, LISTNORMAL, DATAV2 } from './Constants/FormatConstants';
73
73
  export { PRIVATE, PUBLIC, ADMIN } from './Constants/AccessConstants';
74
74
  export { SearchWithTypeAndLinkerApi } from './Api/Search/SearchWithTypeAndLinker';
75
75
  export { DependencyObserver } from './WrapperFunctions/DepenedencyObserver';
@@ -80,6 +80,8 @@ export { SearchWithTypeAndLinker } from './Services/Search/SearchWithTypeAndLink
80
80
  export { GetLinkListener } from './WrapperFunctions/GetLinkObservable';
81
81
  export { RecursiveSearchListener } from './WrapperFunctions/RecursiveSearchObservable';
82
82
  export { GetLinkListListener } from './WrapperFunctions/GetLinkListObservable';
83
+ export { GetConnectionTypeForCount } from './Services/Common/DecodeCountInfo';
84
+ export { orderTheConnections } from './Services/Search/orderingConnections';
83
85
  export { SyncData } from './DataStructures/SyncData';
84
86
  export { Concept } from './DataStructures/Concept';
85
87
  export { LConcept } from './DataStructures/Local/LConcept';
@@ -123,12 +125,14 @@ export { CreateConnectionBetweenEntityLocal } from './Services/CreateConnection/
123
125
  export { BuildWidgetFromId } from './Widgets/WidgetBuild';
124
126
  export { removeAllChildren } from './Services/Common/RemoveAllChild';
125
127
  export { getUserDetails } from './Services/User/UserFromLocalStorage';
128
+ export { CountInfo } from './DataStructures/Count/CountInfo';
126
129
  export { Selector } from './Api/Prototype/Selector';
127
- export { AccessControlService } from './Services/AccessControl/AccessControl';
128
130
  export { renderLatestWidget, renderPage, renderWidget, convertWidgetTreeToWidgetWithWrapper, getWidgetFromId, convertWidgetTreeToWidget, unwrapContainers, getWidgetBulkFromId } from './Widgets/RenderWidgetService';
129
131
  export { CreateData } from './Services/automated/automated-concept-connection';
130
132
  export { Prototype } from './DataStructures/Prototype/Prototype';
131
133
  export { createPrototypeLocal } from './prototype/prototype.service';
134
+ export { GetImageApi } from './Api/Images/GetImages';
135
+ export { GetFreeschemaImage, GetFreeschemaImageUrl } from './Services/assets/GetImageService';
132
136
  type listeners = {
133
137
  listenerId: string | number;
134
138
  callback: any;
@@ -148,7 +152,6 @@ declare function updateAccessToken(accessToken?: string, session?: any): void;
148
152
  *
149
153
  * @param url This is the url for the backend c# system or our main data fabric server
150
154
  * @param aiurl This is the AI url that pulls in the data using our AI system . If you do not enter this then also disable the enableAi flag.
151
- * @param accessControlUrl This is the url for the access control system. This is another server in the data fabric that is used as server for business logic and security features.
152
155
  * @param accessToken This is the JWT token that needs to be passed (But since you have just initilized the system). There is no way we can get access token
153
156
  * So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();
154
157
  * @param nodeUrl This is the url for the node server. This is another server in the data fabric that is used as server for business logic and security features.
@@ -168,7 +171,7 @@ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUr
168
171
  isTest?: boolean;
169
172
  }, parameters?: {
170
173
  logserver?: string;
171
- }, accessControlUrl?: string): Promise<true | undefined>;
174
+ }): Promise<true | undefined>;
172
175
  /**
173
176
  * Method to send message to the service worker from main thread
174
177
  * @param type string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-browser",
3
- "version": "2.2.8-beta",
3
+ "version": "2.2.10-beta",
4
4
 
5
5
  "environment": "production",
6
6
  "description": "Full Pack of concept and connection system",
@@ -25,11 +25,9 @@
25
25
  "@babel/plugin-transform-modules-commonjs": "^7.24.8",
26
26
  "@babel/preset-env": "^7.25.4",
27
27
  "@babel/preset-typescript": "^7.24.7",
28
- "babel-jest": "^29.7.0",
29
28
  "cross-fetch": "^4.0.0",
30
- "fake-indexeddb": "^6.0.0",
31
- "jest": "^29.7.0",
32
- "jest-environment-jsdom": "^29.7.0",
29
+ "postcss": "^8.5.6",
30
+ "postcss-nested": "^7.0.2",
33
31
  "ts-loader": "^9.5.1",
34
32
  "typescript": "^5.3.2",
35
33
  "webpack": "^5.89.0",