mftsccs-browser 2.1.238-beta → 2.1.239-dev

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 (274) hide show
  1. package/dist/main.bundle.js +43918 -2
  2. package/dist/main.bundle.js.map +1 -0
  3. package/dist/serviceWorker.bundle.js +44844 -2
  4. package/dist/serviceWorker.bundle.js.map +1 -0
  5. package/package.json +4 -1
  6. package/dist/main.bundle.js.LICENSE.txt +0 -1
  7. package/dist/serviceWorker.bundle.js.LICENSE.txt +0 -1
  8. package/dist/types/AccessTracker/accessTracker.d.ts +0 -67
  9. package/dist/types/Anomaly/anomaly.d.ts +0 -103
  10. package/dist/types/Api/Create/CreateTheCharacter.d.ts +0 -24
  11. package/dist/types/Api/Create/CreateTheConceptApi.d.ts +0 -20
  12. package/dist/types/Api/Create/CreateTheConnectionApi.d.ts +0 -18
  13. package/dist/types/Api/Create/CreateTheGhostConceptApi.d.ts +0 -28
  14. package/dist/types/Api/Create/CreateTheGhostConnectionApi.d.ts +0 -18
  15. package/dist/types/Api/Create/CreateTheTextData.d.ts +0 -18
  16. package/dist/types/Api/Delete/DeleteConceptInBackend.d.ts +0 -14
  17. package/dist/types/Api/Delete/DeleteUserInBackend.d.ts +0 -19
  18. package/dist/types/Api/DeleteConnectionBulkApi.d.ts +0 -20
  19. package/dist/types/Api/DeleteTheConcept.d.ts +0 -20
  20. package/dist/types/Api/DeleteTheConnection.d.ts +0 -20
  21. package/dist/types/Api/GetAiData.d.ts +0 -10
  22. package/dist/types/Api/GetAllConceptsByType.d.ts +0 -12
  23. package/dist/types/Api/GetAllConnectionsOfComposition.d.ts +0 -23
  24. package/dist/types/Api/GetAllConnectionsOfCompositionBulk.d.ts +0 -23
  25. package/dist/types/Api/GetAllLinkerConnectionsFromTheConcept.d.ts +0 -12
  26. package/dist/types/Api/GetAllLinkerConnectionsToTheConcept.d.ts +0 -12
  27. package/dist/types/Api/GetCharacterDataByCharacter.d.ts +0 -12
  28. package/dist/types/Api/GetCompositionConnectionsBetweenTwoConcepts.d.ts +0 -13
  29. package/dist/types/Api/GetConcept.d.ts +0 -6
  30. package/dist/types/Api/GetConceptBulk.d.ts +0 -20
  31. package/dist/types/Api/GetConceptByCharacterAndType.d.ts +0 -15
  32. package/dist/types/Api/GetConceptByCharacterValue.d.ts +0 -12
  33. package/dist/types/Api/GetConnection.d.ts +0 -15
  34. package/dist/types/Api/GetConnectionBulk.d.ts +0 -7
  35. package/dist/types/Api/GetConnectionOfTheConcept.d.ts +0 -15
  36. package/dist/types/Api/GetConnectionToTheConcept.d.ts +0 -17
  37. package/dist/types/Api/GetConnections/GetConnectionsBetweenApi.d.ts +0 -40
  38. package/dist/types/Api/GetConnections/GetConnectionsByTypeApi.d.ts +0 -15
  39. package/dist/types/Api/GetInstanceConceptByCharacterType.d.ts +0 -9
  40. package/dist/types/Api/GetReservedConnectionIds.d.ts +0 -10
  41. package/dist/types/Api/GetReservedIds.d.ts +0 -10
  42. package/dist/types/Api/Images/GetImages.d.ts +0 -15
  43. package/dist/types/Api/Local/GetLocalConceptByCharacterValue.d.ts +0 -13
  44. package/dist/types/Api/Login.d.ts +0 -78
  45. package/dist/types/Api/MakeTheNameInBackend.d.ts +0 -14
  46. package/dist/types/Api/MakeTheTypeConceptApi.d.ts +0 -9
  47. package/dist/types/Api/Prototype/Selector.d.ts +0 -26
  48. package/dist/types/Api/RecursiveSearch.d.ts +0 -67
  49. package/dist/types/Api/Search/FreeschemaQueryApi.d.ts +0 -18
  50. package/dist/types/Api/Search/Search.d.ts +0 -73
  51. package/dist/types/Api/Search/SearchInternalApi.d.ts +0 -28
  52. package/dist/types/Api/Search/SearchLinkMultipleApi.d.ts +0 -15
  53. package/dist/types/Api/Search/SearchWithLinker.d.ts +0 -16
  54. package/dist/types/Api/Search/SearchWithTypeAndLinker.d.ts +0 -14
  55. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryApi.d.ts +0 -12
  56. package/dist/types/Api/SearchConcept/GetConceptByCharacterAndCategoryDirect.d.ts +0 -13
  57. package/dist/types/Api/SearchConcept/GetTypeConceptByBulk.d.ts +0 -15
  58. package/dist/types/Api/Session/CreateSession.d.ts +0 -16
  59. package/dist/types/Api/Session/CreateSessionVisit.d.ts +0 -12
  60. package/dist/types/Api/Signin.d.ts +0 -24
  61. package/dist/types/Api/Signup.d.ts +0 -61
  62. package/dist/types/Api/Translate/TranslateLocalToReal.d.ts +0 -12
  63. package/dist/types/Api/View/ViewInternalDataApi.d.ts +0 -15
  64. package/dist/types/Constants/AccessConstants.d.ts +0 -3
  65. package/dist/types/Constants/ApiConstants.d.ts +0 -23
  66. package/dist/types/Constants/FormatConstants.d.ts +0 -8
  67. package/dist/types/Constants/ckeditorCSS.d.ts +0 -1
  68. package/dist/types/Constants/general.const.d.ts +0 -6
  69. package/dist/types/Constants/page.const.d.ts +0 -5
  70. package/dist/types/DataStructures/BaseUrl.d.ts +0 -89
  71. package/dist/types/DataStructures/BinaryCharacterTree.d.ts +0 -16
  72. package/dist/types/DataStructures/BinaryTree.d.ts +0 -77
  73. package/dist/types/DataStructures/BinaryTypeTree.d.ts +0 -17
  74. package/dist/types/DataStructures/CharacterRepository.d.ts +0 -8
  75. package/dist/types/DataStructures/Composition/Composition.d.ts +0 -14
  76. package/dist/types/DataStructures/Composition/CompositionBinaryTree.d.ts +0 -10
  77. package/dist/types/DataStructures/Composition/CompositionNode.d.ts +0 -21
  78. package/dist/types/DataStructures/Concept.d.ts +0 -25
  79. package/dist/types/DataStructures/ConceptData.d.ts +0 -30
  80. package/dist/types/DataStructures/ConceptsToDraw.d.ts +0 -11
  81. package/dist/types/DataStructures/Connection.d.ts +0 -23
  82. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionBinaryTree.d.ts +0 -81
  83. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionNode.d.ts +0 -27
  84. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfNode.d.ts +0 -10
  85. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionOfTheTree.d.ts +0 -24
  86. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeNode.d.ts +0 -10
  87. package/dist/types/DataStructures/ConnectionBinaryTree/ConnectionTypeTree.d.ts +0 -20
  88. package/dist/types/DataStructures/ConnectionBinaryTree/NodePrimitive.d.ts +0 -15
  89. package/dist/types/DataStructures/ConnectionByType/GetConnectionByType.d.ts +0 -4
  90. package/dist/types/DataStructures/ConnectionData.d.ts +0 -26
  91. package/dist/types/DataStructures/Count/CountInfo.d.ts +0 -6
  92. package/dist/types/DataStructures/FetchConnection.d.ts +0 -64
  93. package/dist/types/DataStructures/FilterSearch.d.ts +0 -9
  94. package/dist/types/DataStructures/IdentifierFlags.d.ts +0 -11
  95. package/dist/types/DataStructures/Local/LConcept.d.ts +0 -23
  96. package/dist/types/DataStructures/Local/LConnection.d.ts +0 -18
  97. package/dist/types/DataStructures/Local/LNode.d.ts +0 -29
  98. package/dist/types/DataStructures/Local/LocalBinaryCharacterTree.d.ts +0 -13
  99. package/dist/types/DataStructures/Local/LocalBinaryTree.d.ts +0 -13
  100. package/dist/types/DataStructures/Local/LocalBinaryTypeTree.d.ts +0 -13
  101. package/dist/types/DataStructures/Local/LocalConceptData.d.ts +0 -21
  102. package/dist/types/DataStructures/Local/LocalConnectionData.d.ts +0 -20
  103. package/dist/types/DataStructures/Local/LocalGhostIdTree.d.ts +0 -11
  104. package/dist/types/DataStructures/Local/LocalId.d.ts +0 -19
  105. package/dist/types/DataStructures/Local/LocalSyncData.d.ts +0 -33
  106. package/dist/types/DataStructures/Node.d.ts +0 -30
  107. package/dist/types/DataStructures/PatcherStructure.d.ts +0 -8
  108. package/dist/types/DataStructures/Prototype/Prototype.d.ts +0 -19
  109. package/dist/types/DataStructures/Prototype/PrototypeOption.d.ts +0 -4
  110. package/dist/types/DataStructures/Prototype/QuerySelector.d.ts +0 -4
  111. package/dist/types/DataStructures/ReservedIds.d.ts +0 -10
  112. package/dist/types/DataStructures/Responses/ErrorResponse.d.ts +0 -74
  113. package/dist/types/DataStructures/Responses/StandardResponses.d.ts +0 -6
  114. package/dist/types/DataStructures/Returner.d.ts +0 -7
  115. package/dist/types/DataStructures/Search/FreeschemaQuery.d.ts +0 -25
  116. package/dist/types/DataStructures/Search/SearchStructure.d.ts +0 -10
  117. package/dist/types/DataStructures/SearchQuery.d.ts +0 -17
  118. package/dist/types/DataStructures/Security/SecureStorage.d.ts +0 -14
  119. package/dist/types/DataStructures/Security/TokenStorage.d.ts +0 -24
  120. package/dist/types/DataStructures/Session/SessionData.d.ts +0 -13
  121. package/dist/types/DataStructures/SettingData.d.ts +0 -5
  122. package/dist/types/DataStructures/Settings.d.ts +0 -4
  123. package/dist/types/DataStructures/SigninModel.d.ts +0 -4
  124. package/dist/types/DataStructures/SignupModel.d.ts +0 -4
  125. package/dist/types/DataStructures/SyncData.d.ts +0 -14
  126. package/dist/types/DataStructures/TheCharacter.d.ts +0 -13
  127. package/dist/types/DataStructures/TheTexts.d.ts +0 -14
  128. package/dist/types/DataStructures/TypeLibrary.d.ts +0 -19
  129. package/dist/types/DataStructures/TypeNode.d.ts +0 -18
  130. package/dist/types/DataStructures/User/UserBinaryTree.d.ts +0 -13
  131. package/dist/types/DataStructures/User/UserNode.d.ts +0 -18
  132. package/dist/types/DataStructures/WidgetCache/WidgetCache.d.ts +0 -10
  133. package/dist/types/DataStructures/WidgetCache/WidgetDetails.d.ts +0 -9
  134. package/dist/types/DataStructures/WidgetCache/WidgetNode.d.ts +0 -18
  135. package/dist/types/DataStructures/environments/environments.d.ts +0 -48
  136. package/dist/types/Database/CacheDatabase.d.ts +0 -57
  137. package/dist/types/Database/IndexUpdate.d.ts +0 -47
  138. package/dist/types/Database/NoIndexDb.d.ts +0 -9
  139. package/dist/types/Database/indexdblocal.d.ts +0 -43
  140. package/dist/types/Database/indexeddb.d.ts +0 -58
  141. package/dist/types/Helpers/CheckIfExists.d.ts +0 -9
  142. package/dist/types/Helpers/RemoveFromArray.d.ts +0 -5
  143. package/dist/types/Helpers/UniqueInsert.d.ts +0 -1
  144. package/dist/types/Middleware/ApplicationMonitor.d.ts +0 -14
  145. package/dist/types/Middleware/logger.service.d.ts +0 -144
  146. package/dist/types/ServiceWorker/actions/connectionActions.d.ts +0 -2
  147. package/dist/types/ServiceWorker/actions/createActions.d.ts +0 -2
  148. package/dist/types/ServiceWorker/actions/deleteActions.d.ts +0 -2
  149. package/dist/types/ServiceWorker/actions/getActions.d.ts +0 -2
  150. package/dist/types/ServiceWorker/actions/index.d.ts +0 -15
  151. package/dist/types/ServiceWorker/actions/searchActions.d.ts +0 -2
  152. package/dist/types/ServiceWorker/actions/syncActions.d.ts +0 -2
  153. package/dist/types/ServiceWorker/actions/updateActions.d.ts +0 -2
  154. package/dist/types/ServiceWorker/index.d.ts +0 -11
  155. package/dist/types/Services/CacheClear.d.ts +0 -7
  156. package/dist/types/Services/CheckForConnectionDeletion.d.ts +0 -3
  157. package/dist/types/Services/Common/DecodeCountInfo.d.ts +0 -3
  158. package/dist/types/Services/Common/DelayFunction.d.ts +0 -7
  159. package/dist/types/Services/Common/ErrorPosting.d.ts +0 -10
  160. package/dist/types/Services/Common/MergeArrays.d.ts +0 -7
  161. package/dist/types/Services/Common/RegexFunction.d.ts +0 -1
  162. package/dist/types/Services/Common/RemoveAllChild.d.ts +0 -1
  163. package/dist/types/Services/Composition/BuildComposition.d.ts +0 -3
  164. package/dist/types/Services/Composition/CompositionCache.d.ts +0 -4
  165. package/dist/types/Services/Composition/CreateCompositionCache.d.ts +0 -3
  166. package/dist/types/Services/ConceptFinding/GetConceptByCharacterAndCategory.d.ts +0 -5
  167. package/dist/types/Services/Conversion/ConvertConcepts.d.ts +0 -5
  168. package/dist/types/Services/CreateBinaryTreeFromData.d.ts +0 -5
  169. package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +0 -2
  170. package/dist/types/Services/CreateConnectionBetweenTwoConcepts.d.ts +0 -5
  171. package/dist/types/Services/CreateDefaultConcept.d.ts +0 -3
  172. package/dist/types/Services/CreateTheComposition.d.ts +0 -1
  173. package/dist/types/Services/CreateTheConcept.d.ts +0 -122
  174. package/dist/types/Services/CreateTheConnection.d.ts +0 -63
  175. package/dist/types/Services/CreateTheConnectionGeneral.d.ts +0 -2
  176. package/dist/types/Services/DeleteConcept.d.ts +0 -2
  177. package/dist/types/Services/DeleteConnection.d.ts +0 -2
  178. package/dist/types/Services/DeleteConnectionByType.d.ts +0 -22
  179. package/dist/types/Services/FindConeceptsFromConnection.d.ts +0 -6
  180. package/dist/types/Services/FindConnectionsOfCompositionBulkInMemory.d.ts +0 -1
  181. package/dist/types/Services/GetComposition.d.ts +0 -205
  182. package/dist/types/Services/GetCompositionBulk.d.ts +0 -100
  183. package/dist/types/Services/GetCompositionList.d.ts +0 -7
  184. package/dist/types/Services/GetConceptByCharacter.d.ts +0 -2
  185. package/dist/types/Services/GetConnectionBetweenTwoConceptsLinker.d.ts +0 -11
  186. package/dist/types/Services/GetConnections.d.ts +0 -1
  187. package/dist/types/Services/GetDataFromIndexDb.d.ts +0 -2
  188. package/dist/types/Services/GetLink.d.ts +0 -3
  189. package/dist/types/Services/GetLinkerConnectionFromConcept.d.ts +0 -3
  190. package/dist/types/Services/GetRelation.d.ts +0 -3
  191. package/dist/types/Services/GetTheConcept.d.ts +0 -96
  192. package/dist/types/Services/InitializeSystem.d.ts +0 -2
  193. package/dist/types/Services/Local/ConvertFromLConceptToConcept.d.ts +0 -41
  194. package/dist/types/Services/Local/ConvertFromLConnectionToConnection.d.ts +0 -47
  195. package/dist/types/Services/Local/CreateConnectionBetweenTwoConceptsLocal.d.ts +0 -44
  196. package/dist/types/Services/Local/CreateDefaultLConcept.d.ts +0 -46
  197. package/dist/types/Services/Local/CreateLocalBinaryTreeFromData.d.ts +0 -34
  198. package/dist/types/Services/Local/CreateTheCompositionLocal.d.ts +0 -104
  199. package/dist/types/Services/Local/CreateTheConceptLocal.d.ts +0 -84
  200. package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +0 -140
  201. package/dist/types/Services/Local/DeleteConceptLocal.d.ts +0 -47
  202. package/dist/types/Services/Local/GetCompositionListLocal.d.ts +0 -37
  203. package/dist/types/Services/Local/GetCompositionLocal.d.ts +0 -97
  204. package/dist/types/Services/Local/GetConceptByCharacterLocal.d.ts +0 -56
  205. package/dist/types/Services/Local/GetConnectionOfTheConceptLocal.d.ts +0 -19
  206. package/dist/types/Services/Local/GetRelationLocal.d.ts +0 -21
  207. package/dist/types/Services/Local/GetTheConceptLocal.d.ts +0 -63
  208. package/dist/types/Services/Local/MakeTheConceptLocal.d.ts +0 -22
  209. package/dist/types/Services/Local/MakeTheInstanceConceptLocal.d.ts +0 -164
  210. package/dist/types/Services/Local/MakeTheTypeLocal.d.ts +0 -36
  211. package/dist/types/Services/Local/UpdateCompositionLocal.d.ts +0 -42
  212. package/dist/types/Services/Logs/LogEvent.d.ts +0 -1
  213. package/dist/types/Services/Mail.d.ts +0 -18
  214. package/dist/types/Services/MakeTheCharacter.d.ts +0 -2
  215. package/dist/types/Services/MakeTheCharacterData.d.ts +0 -2
  216. package/dist/types/Services/MakeTheConcept.d.ts +0 -2
  217. package/dist/types/Services/MakeTheInstanceConcept.d.ts +0 -15
  218. package/dist/types/Services/MakeTheTimestamp.d.ts +0 -1
  219. package/dist/types/Services/MakeTheTypeConcept.d.ts +0 -1
  220. package/dist/types/Services/Mqtt/publishMessage.d.ts +0 -1
  221. package/dist/types/Services/Search/DataIdFormat.d.ts +0 -32
  222. package/dist/types/Services/Search/FormatData.d.ts +0 -36
  223. package/dist/types/Services/Search/JustIdFormat.d.ts +0 -23
  224. package/dist/types/Services/Search/NewFormat.d.ts +0 -4
  225. package/dist/types/Services/Search/SearchLinkInternal.d.ts +0 -3
  226. package/dist/types/Services/Search/SearchLinkMultiple.d.ts +0 -55
  227. package/dist/types/Services/Search/SearchWithTypeAndLinker.d.ts +0 -82
  228. package/dist/types/Services/Search/orderingConnections.d.ts +0 -2
  229. package/dist/types/Services/Security/GetRequestHeader.d.ts +0 -6
  230. package/dist/types/Services/SplitStrings.d.ts +0 -1
  231. package/dist/types/Services/Transaction/LocalTransaction.d.ts +0 -117
  232. package/dist/types/Services/UpdateComposition.d.ts +0 -2
  233. package/dist/types/Services/Upload.d.ts +0 -34
  234. package/dist/types/Services/User/UserFromLocalStorage.d.ts +0 -10
  235. package/dist/types/Services/User/UserTranslation.d.ts +0 -3
  236. package/dist/types/Services/View/ViewInternalData.d.ts +0 -1
  237. package/dist/types/Services/assets/GetImageService.d.ts +0 -14
  238. package/dist/types/Services/automated/automated-concept-connection.d.ts +0 -7
  239. package/dist/types/Services/cacheService.d.ts +0 -1
  240. package/dist/types/Validator/constant.d.ts +0 -3
  241. package/dist/types/Validator/interface.d.ts +0 -19
  242. package/dist/types/Validator/utils.d.ts +0 -7
  243. package/dist/types/Validator/validator.d.ts +0 -37
  244. package/dist/types/Visualize/ConceptCircle.d.ts +0 -35
  245. package/dist/types/Visualize/ConceptCircleList.d.ts +0 -9
  246. package/dist/types/Visualize/ConnectionLine.d.ts +0 -21
  247. package/dist/types/Visualize/ConnectionLineList.d.ts +0 -6
  248. package/dist/types/Visualize/drawExistingConcepts.d.ts +0 -8
  249. package/dist/types/Visualize/helper.d.ts +0 -15
  250. package/dist/types/Widgets/BaseObserver.d.ts +0 -25
  251. package/dist/types/Widgets/BaseWidget.d.ts +0 -37
  252. package/dist/types/Widgets/BuilderSpeceficFunctions.d.ts +0 -11
  253. package/dist/types/Widgets/BuilderStatefulWidget.d.ts +0 -392
  254. package/dist/types/Widgets/CacheWidget.service.d.ts +0 -77
  255. package/dist/types/Widgets/NormalizeStyles.service.d.ts +0 -10
  256. package/dist/types/Widgets/RenderPage.service.d.ts +0 -17
  257. package/dist/types/Widgets/RenderWidgetLibrary.service.d.ts +0 -22
  258. package/dist/types/Widgets/RenderWidgetService.d.ts +0 -187
  259. package/dist/types/Widgets/StatefulWidget.d.ts +0 -167
  260. package/dist/types/Widgets/WidgetBuild.d.ts +0 -45
  261. package/dist/types/Widgets/WidgetCacheManager.d.ts +0 -108
  262. package/dist/types/Widgets/WidgetTree.d.ts +0 -61
  263. package/dist/types/WrapperFunctions/DepenedencyObserver.d.ts +0 -95
  264. package/dist/types/WrapperFunctions/GetCompositionListObservable.d.ts +0 -51
  265. package/dist/types/WrapperFunctions/GetCompositionObservable.d.ts +0 -35
  266. package/dist/types/WrapperFunctions/GetLinkListObservable.d.ts +0 -57
  267. package/dist/types/WrapperFunctions/GetLinkObservable.d.ts +0 -50
  268. package/dist/types/WrapperFunctions/QueryCacheManager.d.ts +0 -107
  269. package/dist/types/WrapperFunctions/RecursiveSearchObservable.d.ts +0 -55
  270. package/dist/types/WrapperFunctions/SchemaQueryObservable.d.ts +0 -60
  271. package/dist/types/WrapperFunctions/SearchLinkMultipleAllObservable.d.ts +0 -36
  272. package/dist/types/app.d.ts +0 -377
  273. package/dist/types/prototype/prototype.service.d.ts +0 -25
  274. package/dist/types/service-worker.d.ts +0 -1
@@ -1,6 +0,0 @@
1
- type RequestHeader = Record<string, string>;
2
- export declare function GetRequestHeader(contentType?: string, Accept?: string): Promise<RequestHeader>;
3
- export declare function GetRequestHeaderWithAuthorization(contentType?: string, token?: string, Accept?: string): Promise<RequestHeader>;
4
- export declare function GetOnlyTokenHeader(): Promise<Headers>;
5
- export declare function getValidAccessToken(token?: string): Promise<string>;
6
- export {};
@@ -1 +0,0 @@
1
- export declare function SplitStrings(typeString: string): string[];
@@ -1,117 +0,0 @@
1
- import { Concept, InnerActions } from "../../app";
2
- import { FetchConnectionQuery } from "../../DataStructures/FetchConnection";
3
- export declare class LocalTransaction {
4
- protected transactionId: string;
5
- actions: InnerActions;
6
- protected success: boolean;
7
- protected pendingConnectionDeletions: number[];
8
- constructor();
9
- /**
10
- * Method to initialize the transactions for specified transaction
11
- */
12
- initialize(): Promise<void>;
13
- /**
14
- * Method to commi the created Transactions
15
- */
16
- commitTransaction(): Promise<void>;
17
- commitTransactionWithoutAuth(): Promise<void>;
18
- /**
19
- * Method to rollback all the tranctions occured
20
- */
21
- rollbackTransaction(): Promise<void>;
22
- /**
23
- * Method to move concepts and connection to transaction collection
24
- * @param concept Concept
25
- */
26
- protected markAction(): Promise<void>;
27
- /**
28
- * Deletions
29
- */
30
- /**
31
- * Queries the backend for connections matching the given criteria and queues all
32
- * returned connection IDs for bulk deletion when commitTransaction() is called.
33
- *
34
- * **Nothing is deleted until commitTransaction() is called.**
35
- * Calling rollbackTransaction() discards the queue without touching the backend.
36
- *
37
- * Supported query permutations:
38
- * 1. `ofTheConceptId` + `toTheConceptId` + `type` — connections between two specific concepts
39
- * 2. `ofTheConceptId` + `type` — all connections FROM a concept of that type
40
- * 3. `toTheConceptId` + `type` — all connections TO a concept of that type
41
- * 4. `typeId` + `isComposition: true` — all internal connections of a composition
42
- *
43
- * For multiple queries in one go use {@link DeleteConnectionsBetweenBulk} — it sends
44
- * all queries in a single HTTP request.
45
- *
46
- * @param query - Partial FetchConnectionQuery with only the fields relevant to your permutation.
47
- * @returns The connection IDs queued for deletion by this call.
48
- *
49
- * @example
50
- * // Delete all connections of type "the_project_s_page" from concept 103927382
51
- * const ids = await transaction.DeleteConnectionsBetween({
52
- * ofTheConceptId: 103927382,
53
- * type: "the_project_s_page"
54
- * });
55
- * await transaction.commitTransaction(); // deletion fires here
56
- *
57
- * @example
58
- * // Delete connections between two specific concepts
59
- * await transaction.DeleteConnectionsBetween({
60
- * ofTheConceptId: 103927382,
61
- * toTheConceptId: 103927389,
62
- * type: "the_project_s_page"
63
- * });
64
- *
65
- * @example
66
- * // Delete all internal connections of a composition
67
- * await transaction.DeleteConnectionsBetween({
68
- * typeId: 101490186,
69
- * isComposition: true
70
- * });
71
- *
72
- * @see {@link DeleteConnectionsBetweenBulk} for sending multiple queries in one HTTP request
73
- * @see {@link commitTransaction} where the queued deletions are executed via bulk delete
74
- */
75
- DeleteConnectionsBetween(query: Partial<FetchConnectionQuery>): Promise<number[]>;
76
- /**
77
- * Same as {@link DeleteConnectionsBetween} but resolves multiple queries in a single
78
- * HTTP request to POST /api/get-connection-between.
79
- *
80
- * Prefer this over looping DeleteConnectionsBetween — all queries go to the backend
81
- * in one round trip, and all returned IDs are merged into the same pending-deletion queue.
82
- * The actual deletion still fires as a single bulk call inside commitTransaction().
83
- *
84
- * @param queries - Array of partial FetchConnectionQuery objects, one per query permutation.
85
- * @returns All connection IDs queued for deletion across every query in this call.
86
- *
87
- * @example
88
- * // Three different queries → one HTTP request to get IDs → one bulk delete on commit
89
- * await transaction.DeleteConnectionsBetweenBulk([
90
- * { ofTheConceptId: 103927382, type: "the_project_s_page" },
91
- * { ofTheConceptId: 103927382, type: "the_project_s_tag" },
92
- * { typeId: 101490186, isComposition: true },
93
- * ]);
94
- * await transaction.commitTransaction();
95
- *
96
- * @see {@link DeleteConnectionsBetween} for the single-query convenience wrapper
97
- * @see {@link commitTransaction} where the queued deletions are executed via bulk delete
98
- */
99
- DeleteConnectionsBetweenBulk(queries: Partial<FetchConnectionQuery>[]): Promise<number[]>;
100
- /**
101
- * Concepts
102
- */
103
- MakeTheInstanceConceptLocal(type: string, referent: string, composition: boolean | undefined, userId: number, accessId: number, sessionInformationId?: number, referentId?: number): Promise<any>;
104
- MakeTheTypeConceptLocal(typeString: string, sessionId: number, sessionUserId: number, userId: number): Promise<Concept>;
105
- CreateTheConceptLocal(referent: string, typecharacter: string, userId: number, categoryId: number, typeId: number, accessId: number, isComposition?: boolean, referentId?: number | null, actions?: InnerActions): Promise<any>;
106
- /**
107
- * Connections
108
- */
109
- CreateConnectionBetweenTwoConceptsLocal(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean): Promise<any>;
110
- CreateTheConnectionLocal(ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId?: number, typeString?: string, userId?: number): Promise<any>;
111
- CreateConnection(ofTheConcept: Concept, toTheConcept: Concept, connectionTypeString: string): Promise<any>;
112
- CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string): Promise<any>;
113
- /**
114
- * Compositions
115
- */
116
- CreateTheCompositionLocal(json: any, ofTheConceptId?: number | null, ofTheConceptUserId?: number | null, mainKey?: number | null, userId?: number | null, accessId?: number | null, sessionInformationId?: number | null, automaticSync?: boolean): Promise<any>;
117
- }
@@ -1,2 +0,0 @@
1
- import { PatcherStructure } from "../DataStructures/PatcherStructure";
2
- export default function UpdateComposition(patcherStructure: PatcherStructure): Promise<any>;
@@ -1,34 +0,0 @@
1
- export declare const validImageFormats: string[];
2
- export declare const validDocumentFormats: string[];
3
- /**
4
- * Generic method to upload file or image
5
- * @param file File
6
- * @returns Promise<{message: string, success: boolean, url?: string}>
7
- */
8
- export declare function uploadAttachment(file: File, token?: string): Promise<{
9
- message: string;
10
- success: boolean;
11
- url?: string;
12
- }>;
13
- /**
14
- * Method to upload image to server
15
- * @param body FormData
16
- * @param token string?
17
- * @returns JSON | string | null
18
- */
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>;
27
- /**
28
- * Method to upload file to server
29
- * @param body FormData
30
- * @param token string?
31
- * @returns JSON | string | null
32
- */
33
- export declare function uploadFile(body: FormData, token?: string): Promise<any>;
34
- export declare function getUploadFileLimit(): Promise<{}>;
@@ -1,10 +0,0 @@
1
- /**
2
- * Returns user details synchronously.
3
- * Priority: in-memory profileCache (encrypted) → legacy localStorage("profile") fallback.
4
- */
5
- export declare function getUserDetails(): Record<string, any>;
6
- /**
7
- * Returns user details after hydrating storage and refreshing an expired token.
8
- * Use this when callers need a valid token from the user details object.
9
- */
10
- export declare function getUserDetailsWithRefresh(): Promise<Record<string, any>>;
@@ -1,3 +0,0 @@
1
- import { Concept } from './../../DataStructures/Concept';
2
- export declare function GetUserGhostId(userId: number, ghostId: number, sessionId?: number): Promise<Concept>;
3
- export declare function AddGhostConcept(concept: Concept, userId: number, sessionId?: number): Promise<void>;
@@ -1 +0,0 @@
1
- export declare function ViewInternalData(ids: number[]): Promise<any[]>;
@@ -1,14 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- import { Concept, InnerActions } from "../../app";
2
- export declare function CreateData(json: any, ofConcept?: Concept | null, typeConcept?: string, actions?: InnerActions): Promise<any>;
3
- export declare function removePrefix(key: string): string;
4
- export declare function addPrefix(key: string): string;
5
- export declare function addArrayPrefix(key: string): string;
6
- export declare function removeArrayPrefix(key: string): string;
7
- export declare function createTypeString(typeConceptString: string, key: any): string;
@@ -1 +0,0 @@
1
- export declare function requestNextCacheServer(requestData: any, url: string): Promise<Response>;
@@ -1,3 +0,0 @@
1
- export declare const DATA_TYPES_RULES: {
2
- [key: string]: RegExp;
3
- };
@@ -1,19 +0,0 @@
1
- export interface FormErrors {
2
- [key: string]: {} | undefined;
3
- }
4
- export interface FormFieldData {
5
- name: string | null;
6
- value: string | null;
7
- type?: string | null;
8
- dataType?: string | null;
9
- pattern?: string | null;
10
- conceptType?: string | null;
11
- maxLength?: number | null;
12
- minLength?: number | null;
13
- minValue?: number | null;
14
- maxValue?: number | null;
15
- accept?: string | null;
16
- file?: File | null;
17
- required?: boolean;
18
- isUnique?: boolean;
19
- }
@@ -1,7 +0,0 @@
1
- import { FormFieldData } from "./interface";
2
- /**
3
- * Utility function to get input field data and attributes
4
- * @param fieldName - The Name of the form field.
5
- * @returns - An object containing the field's value and constraints (type, maxLength, etc.).
6
- */
7
- export declare const createFormFieldData: (fieldName: string) => FormFieldData;
@@ -1,37 +0,0 @@
1
- import { FormErrors, FormFieldData } from "./interface";
2
- export declare class Validator {
3
- /**
4
- * Checks if a concept with the given type and value is unique.
5
- * @param type concept type where to check
6
- * @param value value to check
7
- * @returns boolean indicating uniqueness
8
- */
9
- checkUniqueness(type: string, value: string): Promise<boolean>;
10
- /**
11
- * Validates a single form field based on its constraints and uniqueness.
12
- * @param options - An object containing field properties including name, value, type, and validation constraints.
13
- * @returns An object containing validation errors if validation fails.
14
- */
15
- validateField(options: FormFieldData): Promise<{
16
- [fieldName: string]: string;
17
- }>;
18
- /**
19
- * Validates all form fields by iterating over the provided form data.
20
- * It checks each field's value, data type, and constraints, collecting errors where necessary.
21
- *
22
- * @param formData - An object representing the form data, where each key is a field name
23
- * and each value is an object containing the `value`, `dataType`, and constraints (e.g., `maxLength`, `minLength`).
24
- *
25
- * @returns An object containing validation errors for fields that failed validation.
26
- * If no errors exist, the object will be empty.
27
- */
28
- validateForm(formData: {
29
- [key: string]: FormFieldData;
30
- }): Promise<FormErrors>;
31
- /**
32
- * Take field element attributes
33
- * @param options Object conist of attributes
34
- * @returns Object with status and details
35
- */
36
- validate(options: FormFieldData): any;
37
- }
@@ -1,35 +0,0 @@
1
- import { Concept, Connection } from "../app";
2
- export declare class ConceptCircle {
3
- concept: Concept;
4
- x: number;
5
- y: number;
6
- radius: number;
7
- selected: boolean;
8
- detailsVisible: boolean;
9
- quadrant: number;
10
- color: string;
11
- isComposition: boolean;
12
- parent: ConceptCircle | null;
13
- isMoved: boolean;
14
- childCount: number;
15
- order: number;
16
- ctx: null;
17
- dataConnections: Connection[];
18
- childrenConcepts: ConceptCircle[];
19
- isGrouped: boolean;
20
- canvas: any;
21
- active: boolean;
22
- constructor(concept: Concept, ctx: any);
23
- realign(): void;
24
- addDataConnections(connections: Connection[]): void;
25
- setInPlace(newX: any, newY: any, ctx: any): void;
26
- draw(ctx: any): void;
27
- drawAsPerParent(): void;
28
- drawNumber(ctx: any): void;
29
- activate(): void;
30
- select(): void;
31
- makeComposition(): void;
32
- showDetails(): Promise<void>;
33
- getQuadrant(ctx: any): void;
34
- checkWithAnotherConcept(conceptToCheck: ConceptCircle): boolean;
35
- }
@@ -1,9 +0,0 @@
1
- import { ConceptCircle } from "./ConceptCircle";
2
- export declare class ConceptCircleList {
3
- static drawList: ConceptCircle[];
4
- static addNewConceptCircle(conceptCircle: ConceptCircle): boolean;
5
- static removeConceptCircle(conceptCircle: ConceptCircle): void;
6
- static getConceptCircle(conceptId: number, ctx: any): Promise<ConceptCircle | undefined>;
7
- static getConceptCircleFromList(conceptId: number): ConceptCircle | null;
8
- static addConceptCircle(conceptId: number, ctx: any): Promise<ConceptCircle>;
9
- }
@@ -1,21 +0,0 @@
1
- import { Connection, Concept } from "../app";
2
- import { ConceptCircle } from "./ConceptCircle";
3
- export declare class ConnectionLine {
4
- concept: Concept;
5
- ofConcept: ConceptCircle | undefined;
6
- toConcept: ConceptCircle | undefined;
7
- selected: boolean;
8
- quadrant: number;
9
- type: null;
10
- id: number;
11
- canvas: any;
12
- ctx: any;
13
- connection: Connection;
14
- active: boolean;
15
- constructor(connection: Connection, ctx: any);
16
- updateConcept(connection: Connection): Promise<void>;
17
- draw(ctx: any): void;
18
- drawNumber(ctx: any): void;
19
- activate(): void;
20
- select(): void;
21
- }
@@ -1,6 +0,0 @@
1
- import { ConnectionLine } from "./ConnectionLine";
2
- export declare class ConnectionLineList {
3
- static drawList: ConnectionLine[];
4
- static addNewConnectionLine(connectionLine: ConnectionLine): void;
5
- static removeConnectionLine(connectionLine: ConnectionLine): void;
6
- }
@@ -1,8 +0,0 @@
1
- import { Connection } from "../app";
2
- export declare function printAllConcepts(ctx: any): Promise<void>;
3
- export declare function getLinkData(connection: Connection, ctx: any): Promise<void>;
4
- export declare function getLinkDataOf(connection: Connection, ctx: any): Promise<void>;
5
- export declare function printAllConceptsOfIdWithoutData(ctx: any, id: number): Promise<void>;
6
- export declare function printConcept(ctx: any, id: number): Promise<void>;
7
- export declare function printAllConceptsOfId(ctx: any, id: number): Promise<void>;
8
- export declare function checkIfExists(id: number, conceptIds: number[]): boolean;
@@ -1,15 +0,0 @@
1
- export declare function drawCircle(ctx: any, x: any, y: any, radius: any, color: any): void;
2
- export declare function drawTriangle(ctx: any, x: any, y: any, radius: any, color: any): void;
3
- export declare function drawLine(ctx: any, x1: any, y1: any, x2: any, y2: any, color: any): void;
4
- export declare function drawArrow(ctx: any, fromx: any, fromy: any, tox: any, toy: any, arrowWidth: any, color: any): void;
5
- export declare function drawArc(ctx: any, x1: any, y1: any, x2: any, y2: any, color: any): void;
6
- export declare function getMouseCoords(canvas: any, event: any): {
7
- x: number;
8
- y: number;
9
- };
10
- export declare function randomIntFromInterval(min: any, max: any): number;
11
- export declare function getOffsetCoords(mouse: any, conceptCircle: any): {
12
- x: number;
13
- y: number;
14
- };
15
- export declare function cursorInRect(mouseX: any, mouseY: any, rectX: any, rectY: any, radius: any): boolean;
@@ -1,25 +0,0 @@
1
- /**
2
- * Observable base class implementing the Observer pattern for reactive widgets.
3
- *
4
- * Provides data change notification system allowing subscribers to react to state updates.
5
- */
6
- export declare class BaseObserver {
7
- /** Widget data that can be observed for changes */
8
- data: any;
9
- /** Flag to enable development mode features */
10
- inDevelopment: boolean;
11
- /** Array of callback functions subscribed to data changes */
12
- subscribers: any;
13
- /**
14
- * Notifies all subscribers when data changes.
15
- *
16
- * @param passedData - Optional data to pass to subscribers. Uses this.data if not provided.
17
- */
18
- notify(passedData?: any): void;
19
- /**
20
- * Registers a callback function to be invoked on data changes.
21
- *
22
- * @param callback - Function to execute when data changes
23
- */
24
- dataChange(callback: any): void;
25
- }
@@ -1,37 +0,0 @@
1
- import { BaseObserver } from "./BaseObserver";
2
- /**
3
- * Base widget class providing core DOM element management and identification.
4
- *
5
- * Extends BaseObserver to provide reactive data capabilities along with fundamental
6
- * widget element operations and unique identification.
7
- */
8
- export declare class BaseWidget extends BaseObserver {
9
- /** The mounted DOM element wrapper for this widget */
10
- element: HTMLElement | null;
11
- /** Unique numeric identifier for this widget instance */
12
- elementIdentifier: number;
13
- /** Flag indicating whether the widget has been mounted to the DOM */
14
- widgetMounted: boolean;
15
- /**
16
- * Gets the root component element of this widget.
17
- *
18
- * @returns The widget's root HTML element or null if not mounted
19
- */
20
- getComponent(): HTMLElement | null;
21
- /**
22
- * Finds an element by ID within this widget's scope.
23
- *
24
- * @param identifier - The element ID to search for (without '#' prefix)
25
- * @returns The found HTML element or null if not found
26
- */
27
- getElementById(identifier: string): HTMLElement | null;
28
- /**
29
- * Generates a unique identifier for this widget's wrapper element.
30
- *
31
- * Creates a random number to uniquely identify the widget and its children
32
- * from other widgets in the DOM.
33
- *
34
- * @returns The generated identifier as a string
35
- */
36
- createWidgetWrapperIdentifier(): string;
37
- }
@@ -1,11 +0,0 @@
1
- import { BuilderStatefulWidget } from "./BuilderStatefulWidget";
2
- /**
3
- * Opens the type editor interface for a widget in development mode.
4
- *
5
- * Creates an input field allowing developers to change the widget type
6
- * dynamically. Updates the widget when type value changes.
7
- *
8
- * @param event - The click event that triggered the editor
9
- * @param that - The BuilderStatefulWidget instance to edit
10
- */
11
- export declare function TypeEditor(event: any, that: BuilderStatefulWidget): void;