@supernova-studio/pulsar-core 1.0.10 → 1.0.12

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 (211) hide show
  1. package/build/browser/pulsar.js +2011 -2123
  2. package/build/browser/pulsar.min.js +3 -3
  3. package/build/main/browser-bundle.js +7 -8
  4. package/build/main/browser-bundle.js.map +1 -1
  5. package/build/main/engine/ExportEngine.d.ts +14 -14
  6. package/build/main/engine/ExportEngine.js +6 -6
  7. package/build/main/engine/ExportEngine.js.map +1 -1
  8. package/build/main/engine/configuration/ExportConfiguration.d.ts +10 -10
  9. package/build/main/engine/configuration/ExportConfiguration.js +8 -8
  10. package/build/main/engine/configuration/ExportConfiguration.js.map +1 -1
  11. package/build/main/engine/generation/ExportDataProducer.d.ts +13 -13
  12. package/build/main/engine/generation/ExportDataProducer.js +12 -12
  13. package/build/main/engine/generation/ExportDataProducer.js.map +1 -1
  14. package/build/main/engine/generation/queue/ExportDataQueue.d.ts +11 -11
  15. package/build/main/engine/generation/queue/ExportDataQueue.js +5 -5
  16. package/build/main/engine/generation/queue/ExportDataQueue.js.map +1 -1
  17. package/build/main/engine/generation/queue/ExportDataQueueOperation.d.ts +5 -5
  18. package/build/main/engine/generation/queue/ExportDataQueueOperation.js +4 -4
  19. package/build/main/engine/generation/queue/ExportDataQueueOperation.js.map +1 -1
  20. package/build/main/engine/generation/requests/ExportDataEmittedResponseProducer.d.ts +5 -5
  21. package/build/main/engine/generation/requests/ExportDataEmittedResponseProducer.js +7 -7
  22. package/build/main/engine/generation/requests/ExportDataEmittedResponseProducer.js.map +1 -1
  23. package/build/main/engine/generation/requests/ExportDataPrimaryResponseProducer.d.ts +5 -5
  24. package/build/main/engine/generation/requests/ExportDataPrimaryResponseProducer.js +5 -5
  25. package/build/main/engine/generation/requests/ExportDataPrimaryResponseProducer.js.map +1 -1
  26. package/build/main/engine/generation/requests/ExportDataRequest.d.ts +15 -15
  27. package/build/main/engine/generation/requests/ExportDataRequest.js +8 -8
  28. package/build/main/engine/generation/requests/ExportDataRequest.js.map +1 -1
  29. package/build/main/engine/generation/requests/ExportDataRequestDataStore.d.ts +6 -6
  30. package/build/main/engine/generation/requests/ExportDataRequestDataStore.js +12 -12
  31. package/build/main/engine/generation/requests/ExportDataRequestDataStore.js.map +1 -1
  32. package/build/main/engine/generation/requests/ExportDataRequestNameStore.d.ts +8 -8
  33. package/build/main/engine/generation/requests/ExportDataRequestNameStore.js +19 -19
  34. package/build/main/engine/generation/requests/ExportDataRequestNameStore.js.map +1 -1
  35. package/build/main/engine/generation/requests/ExportDataRequestProducer.d.ts +15 -15
  36. package/build/main/engine/generation/requests/ExportDataRequestProducer.js +27 -40
  37. package/build/main/engine/generation/requests/ExportDataRequestProducer.js.map +1 -1
  38. package/build/main/engine/generation/requests/ExportDataResponse.d.ts +12 -12
  39. package/build/main/engine/generation/requests/ExportDataResponse.js +4 -4
  40. package/build/main/engine/generation/requests/ExportDataResponse.js.map +1 -1
  41. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.d.ts +11 -11
  42. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.js +9 -10
  43. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.js.map +1 -1
  44. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.d.ts +10 -10
  45. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.js +3 -3
  46. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.js.map +1 -1
  47. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.d.ts +10 -10
  48. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.js +3 -3
  49. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.js.map +1 -1
  50. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.d.ts +10 -10
  51. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.js +3 -3
  52. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.js.map +1 -1
  53. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.d.ts +10 -10
  54. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.js +3 -3
  55. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.js.map +1 -1
  56. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.d.ts +10 -10
  57. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.js +3 -3
  58. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.js.map +1 -1
  59. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.d.ts +10 -10
  60. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.js +3 -3
  61. package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.js.map +1 -1
  62. package/build/main/engine/items/ExportItemProducer.d.ts +12 -12
  63. package/build/main/engine/items/ExportItemProducer.js +7 -7
  64. package/build/main/engine/items/ExportItemProducer.js.map +1 -1
  65. package/build/main/engine/items/construction/ExportItem.d.ts +4 -4
  66. package/build/main/engine/items/construction/ExportItem.js +4 -4
  67. package/build/main/engine/items/construction/ExportItem.js.map +1 -1
  68. package/build/main/engine/items/construction/ExportItemBuilder.d.ts +7 -7
  69. package/build/main/engine/items/construction/ExportItemBuilder.js +7 -11
  70. package/build/main/engine/items/construction/ExportItemBuilder.js.map +1 -1
  71. package/build/main/engine/items/queue/ExportItemQueue.d.ts +11 -11
  72. package/build/main/engine/items/queue/ExportItemQueue.js +5 -5
  73. package/build/main/engine/items/queue/ExportItemQueue.js.map +1 -1
  74. package/build/main/engine/items/queue/ExportItemQueueOperation.d.ts +5 -5
  75. package/build/main/engine/items/queue/ExportItemQueueOperation.js +3 -3
  76. package/build/main/engine/items/queue/ExportItemQueueOperation.js.map +1 -1
  77. package/build/main/engine/items/requests/ExportItemRequest.d.ts +10 -10
  78. package/build/main/engine/items/requests/ExportItemRequest.js +5 -5
  79. package/build/main/engine/items/requests/ExportItemRequest.js.map +1 -1
  80. package/build/main/engine/items/requests/ExportItemRequestProducer.d.ts +7 -7
  81. package/build/main/engine/items/requests/ExportItemRequestProducer.js +4 -4
  82. package/build/main/engine/items/requests/ExportItemRequestProducer.js.map +1 -1
  83. package/build/main/engine/items/requests/ExportItemResponse.d.ts +8 -8
  84. package/build/main/engine/items/requests/ExportItemResponse.js +4 -4
  85. package/build/main/engine/items/requests/ExportItemResponse.js.map +1 -1
  86. package/build/main/engine/items/requests/ExportItemResponseProducer.d.ts +5 -5
  87. package/build/main/engine/items/requests/ExportItemResponseProducer.js +5 -5
  88. package/build/main/engine/items/requests/ExportItemResponseProducer.js.map +1 -1
  89. package/build/main/engine/loaders/BlueprintLoader.d.ts +8 -8
  90. package/build/main/engine/loaders/BlueprintLoader.js +11 -11
  91. package/build/main/engine/loaders/BlueprintLoader.js.map +1 -1
  92. package/build/main/engine/writing/queue/ExportWriterQueue.d.ts +11 -11
  93. package/build/main/engine/writing/queue/ExportWriterQueue.js +5 -5
  94. package/build/main/engine/writing/queue/ExportWriterQueue.js.map +1 -1
  95. package/build/main/engine/writing/queue/ExportWriterQueueOperation.d.ts +5 -5
  96. package/build/main/engine/writing/queue/ExportWriterQueueOperation.js +4 -4
  97. package/build/main/engine/writing/queue/ExportWriterQueueOperation.js.map +1 -1
  98. package/build/main/engine/writing/requests/ExportWriterRequest.d.ts +10 -10
  99. package/build/main/engine/writing/requests/ExportWriterRequest.js +4 -4
  100. package/build/main/engine/writing/requests/ExportWriterRequest.js.map +1 -1
  101. package/build/main/engine/writing/requests/ExportWriterRequestProducer.d.ts +7 -7
  102. package/build/main/engine/writing/requests/ExportWriterRequestProducer.js +5 -5
  103. package/build/main/engine/writing/requests/ExportWriterRequestProducer.js.map +1 -1
  104. package/build/main/engine/writing/requests/ExportWriterResponse.d.ts +8 -8
  105. package/build/main/engine/writing/requests/ExportWriterResponse.js +4 -4
  106. package/build/main/engine/writing/requests/ExportWriterResponse.js.map +1 -1
  107. package/build/main/engine/writing/requests/ExportWriterResponseProducer.d.ts +5 -5
  108. package/build/main/engine/writing/requests/ExportWriterResponseProducer.js +4 -4
  109. package/build/main/engine/writing/requests/ExportWriterResponseProducer.js.map +1 -1
  110. package/build/main/engine/writing/writers/ExportItemWriter.d.ts +12 -12
  111. package/build/main/engine/writing/writers/ExportItemWriter.js +7 -7
  112. package/build/main/engine/writing/writers/ExportItemWriter.js.map +1 -1
  113. package/build/main/engine/writing/writers/ExportWriterRuleProcessor.d.ts +6 -6
  114. package/build/main/engine/writing/writers/ExportWriterRuleProcessor.js +7 -7
  115. package/build/main/engine/writing/writers/ExportWriterRuleProcessor.js.map +1 -1
  116. package/build/main/engine/writing/writers/memory/ExportWriterMemory.d.ts +2 -2
  117. package/build/main/engine/writing/writers/memory/ExportWriterMemory.js +4 -4
  118. package/build/main/engine/writing/writers/memory/ExportWriterMemory.js.map +1 -1
  119. package/build/main/engine/writing/writers/memory/ExportWriterMemoryRequest.d.ts +4 -4
  120. package/build/main/engine/writing/writers/memory/ExportWriterMemoryRequest.js +6 -6
  121. package/build/main/engine/writing/writers/memory/ExportWriterMemoryRequest.js.map +1 -1
  122. package/build/main/engine/writing/writers/memory/ExportWriterStore.d.ts +1 -1
  123. package/build/main/engine/writing/writers/memory/ExportWriterStore.js +4 -4
  124. package/build/main/engine/writing/writers/memory/ExportWriterStore.js.map +1 -1
  125. package/build/main/exports.d.ts +3 -3
  126. package/build/main/exports.js +3 -3
  127. package/build/main/exports.js.map +1 -1
  128. package/build/main/index.js.map +1 -1
  129. package/build/main/model/dsm/DSMReferenceStore.js +6 -6
  130. package/build/main/model/dsm/DSMReferenceStore.js.map +1 -1
  131. package/build/main/model/exporters/Exporter.d.ts +17 -16
  132. package/build/main/model/exporters/Exporter.js +14 -4
  133. package/build/main/model/exporters/Exporter.js.map +1 -1
  134. package/build/main/model/maps/ExporterMapBlueprint.d.ts +4 -4
  135. package/build/main/model/maps/ExporterMapBlueprint.js +3 -3
  136. package/build/main/model/maps/ExporterMapBlueprint.js.map +1 -1
  137. package/build/main/model/sources/ExporterSource.d.ts +6 -6
  138. package/build/main/model/sources/ExporterSource.js +13 -13
  139. package/build/main/model/sources/ExporterSource.js.map +1 -1
  140. package/build/main/pulsar/Pulsar.d.ts +35 -35
  141. package/build/main/pulsar/Pulsar.js +40 -40
  142. package/build/main/pulsar/Pulsar.js.map +1 -1
  143. package/build/main/pulsar/PulsarInterface.d.ts +54 -54
  144. package/build/main/pulsar/PulsarInterface.js +14 -14
  145. package/build/main/pulsar/PulsarInterface.js.map +1 -1
  146. package/build/main/pulsar/PulsarStaticAnalysis.d.ts +12 -12
  147. package/build/main/pulsar/PulsarStaticAnalysis.js +19 -19
  148. package/build/main/pulsar/PulsarStaticAnalysis.js.map +1 -1
  149. package/build/main/pulsar/PulsarStaticAnalysisInterface.d.ts +9 -9
  150. package/build/main/pulsar/PulsarStaticAnalysisInterface.js +1 -1
  151. package/build/main/pulsar/PulsarStaticAnalysisInterface.js.map +1 -1
  152. package/build/main/pulsar/managers/PulsarBlueprintManager.d.ts +8 -8
  153. package/build/main/pulsar/managers/PulsarBlueprintManager.js +4 -4
  154. package/build/main/pulsar/managers/PulsarBlueprintManager.js.map +1 -1
  155. package/build/main/pulsar/managers/PulsarCIManager.d.ts +8 -8
  156. package/build/main/pulsar/managers/PulsarCIManager.js +13 -13
  157. package/build/main/pulsar/managers/PulsarCIManager.js.map +1 -1
  158. package/build/main/pulsar/managers/PulsarCodeManager.d.ts +15 -15
  159. package/build/main/pulsar/managers/PulsarCodeManager.js +29 -29
  160. package/build/main/pulsar/managers/PulsarCodeManager.js.map +1 -1
  161. package/build/main/pulsar/managers/PulsarConfigurationManager.d.ts +3 -3
  162. package/build/main/pulsar/managers/PulsarConfigurationManager.js +4 -4
  163. package/build/main/pulsar/managers/PulsarConfigurationManager.js.map +1 -1
  164. package/build/main/pulsar/managers/PulsarExporterManager.d.ts +11 -11
  165. package/build/main/pulsar/managers/PulsarExporterManager.js +5 -5
  166. package/build/main/pulsar/managers/PulsarExporterManager.js.map +1 -1
  167. package/build/main/pulsar/managers/generators/PulsarExporterJSONGenerator.d.ts +4 -4
  168. package/build/main/pulsar/managers/generators/PulsarExporterJSONGenerator.js +10 -13
  169. package/build/main/pulsar/managers/generators/PulsarExporterJSONGenerator.js.map +1 -1
  170. package/build/main/pulsar/managers/generators/PulsarExporterZIPGenerator.d.ts +5 -5
  171. package/build/main/pulsar/managers/generators/PulsarExporterZIPGenerator.js +4 -4
  172. package/build/main/pulsar/managers/generators/PulsarExporterZIPGenerator.js.map +1 -1
  173. package/build/main/pulsar/managers/loaders/PulsarBaseLoader.d.ts +3 -3
  174. package/build/main/pulsar/managers/loaders/PulsarBaseLoader.js +3 -3
  175. package/build/main/pulsar/managers/loaders/PulsarBaseLoader.js.map +1 -1
  176. package/build/main/pulsar/managers/loaders/local/PulsarFSLoader.d.ts +4 -4
  177. package/build/main/pulsar/managers/loaders/local/PulsarFSLoader.js +7 -9
  178. package/build/main/pulsar/managers/loaders/local/PulsarFSLoader.js.map +1 -1
  179. package/build/main/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.d.ts +4 -4
  180. package/build/main/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.js +4 -4
  181. package/build/main/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.js.map +1 -1
  182. package/build/main/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.d.ts +4 -4
  183. package/build/main/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.js +16 -27
  184. package/build/main/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.js.map +1 -1
  185. package/build/main/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.d.ts +4 -4
  186. package/build/main/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.js +6 -6
  187. package/build/main/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.js.map +1 -1
  188. package/build/main/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.d.ts +4 -4
  189. package/build/main/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.js +6 -6
  190. package/build/main/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.js.map +1 -1
  191. package/build/main/tests/TestConfiguration.js.map +1 -1
  192. package/build/main/tests/casebuilders/ci.d.ts +8 -8
  193. package/build/main/tests/casebuilders/ci.js +1 -1
  194. package/build/main/tests/casebuilders/ci.js.map +1 -1
  195. package/build/main/tests/casebuilders/configuration.d.ts +4 -4
  196. package/build/main/tests/casebuilders/configuration.js +3 -3
  197. package/build/main/tests/casebuilders/configuration.js.map +1 -1
  198. package/build/main/tests/casebuilders/dsm.d.ts +2 -2
  199. package/build/main/tests/casebuilders/dsm.js +3 -3
  200. package/build/main/tests/casebuilders/dsm.js.map +1 -1
  201. package/build/main/tests/casebuilders/modelObjects.d.ts +13 -13
  202. package/build/main/tests/casebuilders/modelObjects.js +14 -14
  203. package/build/main/tests/casebuilders/modelObjects.js.map +1 -1
  204. package/build/main/tools/Logger.d.ts +14 -14
  205. package/build/main/tools/Logger.js +18 -18
  206. package/build/main/tools/Logger.js.map +1 -1
  207. package/build/main/tools/LoggerDefaultMessages.d.ts +10 -10
  208. package/build/main/tools/LoggerDefaultMessages.js +16 -16
  209. package/build/main/tools/LoggerDefaultMessages.js.map +1 -1
  210. package/build/tsconfig.tsbuildinfo +221 -221
  211. package/package.json +9 -3
@@ -1,47 +1,47 @@
1
1
  "use strict";
2
2
  //
3
- // PLSPulsar.ts
3
+ // PCPulsar.ts
4
4
  // Supernova
5
5
  //
6
6
  // Created by Jiri Trecak.
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSPulsarStaticAnalysis = exports.PLSPulsarExporterMode = exports.PLSPulsarEngineState = void 0;
10
+ exports.PCPulsarStaticAnalysis = exports.PCPulsarExporterMode = exports.PCPulsarEngineState = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Definitions
13
- var PLSPulsarEngineState;
14
- (function (PLSPulsarEngineState) {
15
- PLSPulsarEngineState["waiting"] = "waiting";
16
- PLSPulsarEngineState["loading"] = "loading";
17
- PLSPulsarEngineState["ready"] = "ready";
18
- })(PLSPulsarEngineState = exports.PLSPulsarEngineState || (exports.PLSPulsarEngineState = {}));
19
- var PLSPulsarExporterMode;
20
- (function (PLSPulsarExporterMode) {
21
- PLSPulsarExporterMode["ci"] = "ci";
22
- PLSPulsarExporterMode["sandbox"] = "sandbox";
23
- PLSPulsarExporterMode["docs"] = "docs";
24
- })(PLSPulsarExporterMode = exports.PLSPulsarExporterMode || (exports.PLSPulsarExporterMode = {}));
13
+ var PCPulsarEngineState;
14
+ (function (PCPulsarEngineState) {
15
+ PCPulsarEngineState["waiting"] = "waiting";
16
+ PCPulsarEngineState["loading"] = "loading";
17
+ PCPulsarEngineState["ready"] = "ready";
18
+ })(PCPulsarEngineState = exports.PCPulsarEngineState || (exports.PCPulsarEngineState = {}));
19
+ var PCPulsarExporterMode;
20
+ (function (PCPulsarExporterMode) {
21
+ PCPulsarExporterMode["ci"] = "ci";
22
+ PCPulsarExporterMode["sandbox"] = "sandbox";
23
+ PCPulsarExporterMode["docs"] = "docs";
24
+ })(PCPulsarExporterMode = exports.PCPulsarExporterMode || (exports.PCPulsarExporterMode = {}));
25
25
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
26
26
  // MARK: - Class
27
- class PLSPulsarStaticAnalysis {
27
+ class PCPulsarStaticAnalysis {
28
28
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
29
29
  // MARK: - Setup
30
30
  constructor() { }
31
31
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
32
32
  // MARK: - Code editor
33
- /** Suggest next characters, words or snippets to be inserted into blazar code as user types */
33
+ /** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
34
34
  suggestNextFromBlueprintCode(code, selectionLocation, selectionLength) {
35
35
  return this.codeManager.suggestNextFromSourceCode(code, selectionLocation, selectionLength);
36
36
  }
37
- /** Apply autocompletion result to specified blazar code */
37
+ /** Apply autocompletion result to specified pulsar code */
38
38
  applyAutocompletionResultToCode(code, selectionLocation, selectionLength, apply) {
39
39
  return this.codeManager.applyAutocompletionResultToCode(code, selectionLocation, selectionLength, apply);
40
40
  }
41
- /** Compute highlight tokens for the provided blazar code */
41
+ /** Compute highlight tokens for the provided pulsar code */
42
42
  suggestHighlightFromBlueprintCode(code) {
43
43
  return this.codeManager.suggestHighlightFromSourceCode(code);
44
44
  }
45
45
  }
46
- exports.PLSPulsarStaticAnalysis = PLSPulsarStaticAnalysis;
46
+ exports.PCPulsarStaticAnalysis = PCPulsarStaticAnalysis;
47
47
  //# sourceMappingURL=PulsarStaticAnalysis.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PulsarStaticAnalysis.js","sourceRoot":"","sources":["../../../src/pulsar/PulsarStaticAnalysis.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,gBAAgB;AAChB,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAaF,8GAA8G;AAC9G,sBAAsB;AAEtB,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,2CAAmB,CAAA;IACnB,uCAAe,CAAA;AACjB,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,kCAAS,CAAA;IACT,4CAAmB,CAAA;IACnB,sCAAa,CAAA;AACf,CAAC,EAJ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ApB,4BAAoB,QAI/B;AAED,8GAA8G;AAC9G,gBAAgB;AAEhB,MAAa,sBAAsB;IAMjC,8GAA8G;IAC9G,gBAAgB;IAEhB,gBAAe,CAAC;IAEhB,8GAA8G;IAC9G,sBAAsB;IAEtB,+FAA+F;IAC/F,4BAA4B,CAC1B,IAAY,EACZ,iBAAyB,EACzB,eAAuB;QAEvB,OAAO,IAAI,CAAC,WAAW,CAAC,yBAAyB,CAAC,IAAI,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAA;IAC7F,CAAC;IAED,2DAA2D;IAC3D,+BAA+B,CAC7B,IAAY,EACZ,iBAAyB,EACzB,eAAuB,EACvB,KAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,+BAA+B,CAAC,IAAI,EAAE,iBAAiB,EAAE,eAAe,EAAE,KAAK,CAAC,CAAA;IAC1G,CAAC;IAED,4DAA4D;IAC5D,iCAAiC,CAAC,IAAY;QAC5C,OAAO,IAAI,CAAC,WAAW,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAA;IAC9D,CAAC;CACF;AArCD,wDAqCC"}
@@ -1,10 +1,10 @@
1
- import { BLZAutocompleteEngineApplicationResult, BLZAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language/build/main/tools/autocomplete/AutocompleteEngine';
2
- import { BLZHighlightEngineToken } from '@supernova-studio/pulsar-language';
3
- export interface PLSPulsarStaticAnalysisInterface {
4
- /** Suggest next characters, words or snippets to be inserted into blazar code as user types */
5
- suggestNextFromBlueprintCode(code: string, selectionLocation: number, selectionLength: number): Array<BLZAutocompleteEngineSuggestion>;
6
- /** Apply autocompletion result to specified blazar code */
7
- applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: BLZAutocompleteEngineSuggestion): BLZAutocompleteEngineApplicationResult;
8
- /** Compute highlight tokens for the provided blazar code */
9
- suggestHighlightFromBlueprintCode(code: string): Array<BLZHighlightEngineToken>;
1
+ import { PLAutocompleteEngineApplicationResult, PLAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language/build/main/tools/autocomplete/AutocompleteEngine';
2
+ import { PLHighlightEngineToken } from '@supernova-studio/pulsar-language';
3
+ export interface PCPulsarStaticAnalysisInterface {
4
+ /** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
5
+ suggestNextFromBlueprintCode(code: string, selectionLocation: number, selectionLength: number): Array<PLAutocompleteEngineSuggestion>;
6
+ /** Apply autocompletion result to specified pulsar code */
7
+ applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: PLAutocompleteEngineSuggestion): PLAutocompleteEngineApplicationResult;
8
+ /** Compute highlight tokens for the provided pulsar code */
9
+ suggestHighlightFromBlueprintCode(code: string): Array<PLHighlightEngineToken>;
10
10
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  //
3
- // PLSPulsarInterface.ts
3
+ // PCPulsarInterface.ts
4
4
  // Supernova
5
5
  //
6
6
  // Created by Jiri Trecak.
@@ -1 +1 @@
1
- {"version":3,"file":"PulsarStaticAnalysisInterface.js","sourceRoot":"","sources":["../../../src/pulsar/PulsarStaticAnalysisInterface.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,yBAAyB;AACzB,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE"}
1
+ {"version":3,"file":"PulsarStaticAnalysisInterface.js","sourceRoot":"","sources":["../../../src/pulsar/PulsarStaticAnalysisInterface.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,wBAAwB;AACxB,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE"}
@@ -1,16 +1,16 @@
1
- import { PLSExporter } from './../../model/exporters/Exporter';
2
- import { PLSExporterSource } from '../../model/sources/ExporterSource';
3
- export declare class PLSPulsarSourceManager {
1
+ import { PCExporter } from './../../model/exporters/Exporter';
2
+ import { PCExporterSource } from '../../model/sources/ExporterSource';
3
+ export declare class PCPulsarSourceManager {
4
4
  private exporter;
5
- constructor(exporter: PLSExporter);
5
+ constructor(exporter: PCExporter);
6
6
  /** Get all sources associated with loaded exporter. Note that sources don't contain their code definitions, as those need to be requested separaterly */
7
- getSources(): Array<PLSExporterSource>;
7
+ getSources(): Array<PCExporterSource>;
8
8
  /** Get specific source associated with loaded exporter */
9
- getSourceById(sourceId: string): PLSExporterSource;
9
+ getSourceById(sourceId: string): PCExporterSource;
10
10
  /** Create new source for loaded exporter. Source comes with default name and code and uses generic context */
11
- createNewSource(): PLSExporterSource;
11
+ createNewSource(): PCExporterSource;
12
12
  /** Delete specified source. Throws error when source is not found */
13
13
  deleteSourceById(sourceId: string): void;
14
14
  /** Update source id. Id must be non-empty and contain at least 3 characters. It must also be unique in scope. Note that this also updates all maps that are referencing this source */
15
- updateSourceLocation(oldSourceId: string, newSourceId: string, newPath: string): PLSExporterSource;
15
+ updateSourceLocation(oldSourceId: string, newSourceId: string, newPath: string): PCExporterSource;
16
16
  }
@@ -7,13 +7,13 @@
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSPulsarSourceManager = void 0;
10
+ exports.PCPulsarSourceManager = void 0;
11
11
  const ExporterSource_1 = require("../../model/sources/ExporterSource");
12
12
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
13
13
  // MARK: - Definitions
14
14
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
15
15
  // MARK: - Class
16
- class PLSPulsarSourceManager {
16
+ class PCPulsarSourceManager {
17
17
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
18
18
  // MARK: - Setup
19
19
  constructor(exporter) {
@@ -42,7 +42,7 @@ class PLSPulsarSourceManager {
42
42
  /** Create new source for loaded exporter. Source comes with default name and code and uses generic context */
43
43
  createNewSource() {
44
44
  let count = this.exporter.sources.size;
45
- let source = new ExporterSource_1.PLSExporterSource(`source${count + 1}.pr`, null, ``);
45
+ let source = new ExporterSource_1.PCExporterSource(`source${count + 1}.pr`, null, ``);
46
46
  this.exporter.storeNewSource(source);
47
47
  return source;
48
48
  }
@@ -72,5 +72,5 @@ class PLSPulsarSourceManager {
72
72
  return source;
73
73
  }
74
74
  }
75
- exports.PLSPulsarSourceManager = PLSPulsarSourceManager;
75
+ exports.PCPulsarSourceManager = PCPulsarSourceManager;
76
76
  //# sourceMappingURL=PulsarBlueprintManager.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PulsarBlueprintManager.js","sourceRoot":"","sources":["../../../../src/pulsar/managers/PulsarBlueprintManager.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAMF,uEAAuE;AAEvE,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,gBAAgB;AAEhB,MAAa,sBAAsB;IAMjC,8GAA8G;IAC9G,gBAAgB;IAEhB,YAAY,QAAqB;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,8GAA8G;IAC9G,8BAA8B;IAE9B,yJAAyJ;IACzJ,UAAU;QACR,2EAA2E;QAC3E,IAAI,WAAW,GAAG,IAAI,KAAK,EAAqB,CAAC;QACjD,KAAK,IAAI,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE;YACjD,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAC1B;QAED,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,0DAA0D;IAC1D,aAAa,CAAC,QAAgB;QAC5B,KAAK,IAAI,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE;YACjD,IAAI,MAAM,CAAC,EAAE,KAAK,QAAQ,EAAE;gBAC1B,OAA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CAAC,SAAS,KAAK,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAA;QAEpE,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;QACpC,OAAO,MAAM,CAAA;IACf,CAAC;IAED,qEAAqE;IACrE,gBAAgB,CAAC,QAAgB;QAC/B,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;YACvC,MAAM,KAAK,CAAC,+BAA+B,QAAQ,EAAE,CAAC,CAAA;SACvD;QAED,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAA;IAC1C,CAAC;IAED,uLAAuL;IACvL,oBAAoB,CAAC,WAAmB,EAAE,WAAmB,EAAE,OAAe;QAC5E,kBAAkB;QAClB,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAA;QAClD,IAAI,CAAC,MAAM,EAAE;YACX,MAAM,KAAK,CAAC,6BAA6B,WAAW,EAAE,CAAC,CAAA;SACxD;QAED,IAAI,QAAQ,GAAG,WAAW,CAAC,IAAI,EAAE,CAAA;QACjC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,MAAM,KAAK,CAAC,2CAA2C,CAAC,CAAA;SACzD;QAED,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,kBAAkB,CAAC,EAAE;YACvC,MAAM,KAAK,CAAC,mEAAmE,CAAC,CAAA;SACjF;QAED,mBAAmB;QACnB,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;QACpE,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AA7ED,sDA6EC"}
@@ -1,18 +1,18 @@
1
- import { PLSExporter } from './../../model/exporters/Exporter';
2
- import { PLSEngineExporterProcessingResult } from '../PulsarInterface';
1
+ import { PCExporter } from './../../model/exporters/Exporter';
2
+ import { PCEngineExporterProcessingResult } from '../PulsarInterface';
3
3
  import { DSMReferenceStore } from './../../model/dsm/DSMReferenceStore';
4
4
  import { DSMBridgeConfiguration } from '@supernova-studio/pulsar-language';
5
- import { PLSPulsarExporterMode } from '../Pulsar';
6
- export declare class PLSPulsarCIManager {
5
+ import { PCPulsarExporterMode } from '../Pulsar';
6
+ export declare class PCPulsarCIManager {
7
7
  private exporter;
8
8
  private currentExporterInstance;
9
- constructor(exporter: PLSExporter);
9
+ constructor(exporter: PCExporter);
10
10
  /** Execute entire exporter and retrieve all files produced as a result of this export */
11
- executeExporter(dsmBridgeConfig: DSMBridgeConfiguration, exportMode: PLSPulsarExporterMode): Promise<PLSEngineExporterProcessingResult>;
11
+ executeExporter(dsmBridgeConfig: DSMBridgeConfiguration, exportMode: PCPulsarExporterMode): Promise<PCEngineExporterProcessingResult>;
12
12
  /** Execute entire exporter and retrieve all files produced as a result of this export */
13
- executeExporterForSingleSandboxedComponent(dsmBridgeConfig: DSMBridgeConfiguration, exportMode: PLSPulsarExporterMode, sandboxComponentId: string, serializedSandboxData: string): Promise<PLSEngineExporterProcessingResult>;
13
+ executeExporterForSingleSandboxedComponent(dsmBridgeConfig: DSMBridgeConfiguration, exportMode: PCPulsarExporterMode, sandboxComponentId: string, serializedSandboxData: string): Promise<PCEngineExporterProcessingResult>;
14
14
  /** Retrieve intermediate output of exporter in progress */
15
- retrieveRunningExporterState(): PLSEngineExporterProcessingResult | null;
15
+ retrieveRunningExporterState(): PCEngineExporterProcessingResult | null;
16
16
  /** Get reference store containing description of all elements in the DSM, including all context categories */
17
17
  getDSMContextStore(dsmBridgeConfig: DSMBridgeConfiguration): Promise<DSMReferenceStore>;
18
18
  private convertExportResultToPulsarResult;
@@ -7,7 +7,7 @@
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSPulsarCIManager = void 0;
10
+ exports.PCPulsarCIManager = void 0;
11
11
  const PulsarInterface_1 = require("../PulsarInterface");
12
12
  const DSMReferenceStore_1 = require("./../../model/dsm/DSMReferenceStore");
13
13
  const Logger_1 = require("./../../tools/Logger");
@@ -18,7 +18,7 @@ const pulsar_language_1 = require("@supernova-studio/pulsar-language");
18
18
  // MARK: - Definitions
19
19
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
20
20
  // MARK: - Class
21
- class PLSPulsarCIManager {
21
+ class PCPulsarCIManager {
22
22
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
23
23
  // MARK: - Setup
24
24
  constructor(exporter) {
@@ -32,9 +32,9 @@ class PLSPulsarCIManager {
32
32
  // Fetch the reference store containing description of the entire dsm, with all its elements
33
33
  let store = await this.fetchReferenceStore(dsmBridgeConfig);
34
34
  // Configure export engine
35
- let logger = new Logger_1.PLSLogger();
36
- let configuration = new ExportConfiguration_1.PLSExportConfiguration(this.exporter, logger, store, dsmBridgeConfig, exportMode, {});
37
- let pulsarEngine = new ExportEngine_1.PLSExportEngine(configuration);
35
+ let logger = new Logger_1.PCLogger();
36
+ let configuration = new ExportConfiguration_1.PCExportConfiguration(this.exporter, logger, store, dsmBridgeConfig, exportMode, {});
37
+ let pulsarEngine = new ExportEngine_1.PCExportEngine(configuration);
38
38
  this.currentExporterInstance = pulsarEngine;
39
39
  // Run the export and wait for results, processing all blueprints against all file maps
40
40
  let result = await pulsarEngine.processExport();
@@ -48,10 +48,10 @@ class PLSPulsarCIManager {
48
48
  // Fetch the reference store containing description of the entire dsm, with all its elements
49
49
  let store = await this.fetchReferenceStoreForSandboxedComponent(sandboxComponentId);
50
50
  // Configure export engine
51
- let logger = new Logger_1.PLSLogger();
51
+ let logger = new Logger_1.PCLogger();
52
52
  let sandboxData = JSON.parse(serializedSandboxData);
53
- let configuration = new ExportConfiguration_1.PLSExportConfiguration(this.exporter, logger, store, dsmBridgeConfig, exportMode, sandboxData);
54
- let pulsarEngine = new ExportEngine_1.PLSExportEngine(configuration);
53
+ let configuration = new ExportConfiguration_1.PCExportConfiguration(this.exporter, logger, store, dsmBridgeConfig, exportMode, sandboxData);
54
+ let pulsarEngine = new ExportEngine_1.PCExportEngine(configuration);
55
55
  this.currentExporterInstance = pulsarEngine;
56
56
  // Run the export and wait for results, processing all blueprints against all file maps
57
57
  let result = await pulsarEngine.processExport();
@@ -98,12 +98,12 @@ class PLSPulsarCIManager {
98
98
  exporterId: this.exporter.id,
99
99
  runId: exportEngine.runId,
100
100
  emittedFiles: files,
101
- state: PulsarInterface_1.PLSEngineExporterState.finished_success,
101
+ state: PulsarInterface_1.PCEngineExporterState.finished_success,
102
102
  rootGroup: this.computeRootFileGroupFromFiles(files)
103
103
  };
104
104
  }
105
105
  parseName(fullPath) {
106
- // Only retrieve files that are .blazar or .json
106
+ // Only retrieve files that are .pr or .json
107
107
  // Modify filename by removing the first directory
108
108
  let components = fullPath.split('/');
109
109
  // Extract filename, extension and paths
@@ -161,7 +161,7 @@ class PLSPulsarCIManager {
161
161
  // MARK: - File group computing
162
162
  computeRootFileGroupFromFiles(files) {
163
163
  // Create root group to which everything goes
164
- let rootGroup = new PulsarInterface_1.PLSEngineFileGroup('Root', '/', [], []);
164
+ let rootGroup = new PulsarInterface_1.PCEngineFileGroup('Root', '/', [], []);
165
165
  let subgroups = new Map();
166
166
  let currentParent = rootGroup;
167
167
  for (let file of files) {
@@ -187,7 +187,7 @@ class PLSPulsarCIManager {
187
187
  }
188
188
  else {
189
189
  // Group doesn't exist, we create one, assign it to parent and buffer
190
- group = new PulsarInterface_1.PLSEngineFileGroup(permutation.lastComponent, permutation.path, [], []);
190
+ group = new PulsarInterface_1.PCEngineFileGroup(permutation.lastComponent, permutation.path, [], []);
191
191
  currentParent.groups.push(group);
192
192
  subgroups.set(permutation.path, group);
193
193
  }
@@ -216,5 +216,5 @@ class PLSPulsarCIManager {
216
216
  return buffer;
217
217
  }
218
218
  }
219
- exports.PLSPulsarCIManager = PLSPulsarCIManager;
219
+ exports.PCPulsarCIManager = PCPulsarCIManager;
220
220
  //# sourceMappingURL=PulsarCIManager.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PulsarCIManager.js","sourceRoot":"","sources":["../../../../src/pulsar/managers/PulsarCIManager.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,sBAAsB;AACtB,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAMF,wDAK4B;AAE5B,2EAAwE;AACxE,iDAAiD;AACjD,0FAA0F;AAC1F,8DAA8D;AAC9D,uEAG2C;AAG3C,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,gBAAgB;AAEhB,MAAa,kBAAkB;IAO7B,8GAA8G;IAC9G,gBAAgB;IAEhB,YAAY,QAAqB;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,uBAAuB,GAAG,IAAI,CAAC;IACtC,CAAC;IAED,8GAA8G;IAC9G,qBAAqB;IAErB,yFAAyF;IACzF,KAAK,CAAC,eAAe,CACnB,eAAuC,EACvC,UAAiC;QAEjC,4FAA4F;QAC5F,IAAI,KAAK,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC;QAE5D,0BAA0B;QAC1B,IAAI,MAAM,GAAG,IAAI,kBAAS,EAAE,CAAC;QAC7B,IAAI,aAAa,GAAG,IAAI,4CAAsB,CAC5C,IAAI,CAAC,QAAQ,EACb,MAAM,EACN,KAAK,EACL,eAAe,EACf,UAAU,EACV,EAAE,CACH,CAAC;QACF,IAAI,YAAY,GAAG,IAAI,8BAAe,CAAC,aAAa,CAAC,CAAC;QACtD,IAAI,CAAC,uBAAuB,GAAG,YAAY,CAAC;QAE5C,uFAAuF;QACvF,IAAI,MAAM,GAAG,MAAM,YAAY,CAAC,aAAa,EAAE,CAAC;QAEhD,wDAAwD;QACxD,IAAI,eAAe,GAAG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E,EAAE;oBACvD,IAAI,KAAK,GAAG,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;oBAC5C,IAAI,KAAK,EAAE;wBACT,mDAAmD;wBACnD,aAAa,GAAG,KAAK,CAAC;qBACvB;yBAAM;wBACL,qEAAqE;wBACrE,KAAK,GAAG,IAAI,oCAAkB,CAC5B,WAAW,CAAC,aAAa,EACzB,WAAW,CAAC,IAAI,EAChB,EAAE,EACF,EAAE,CACH,CAAC;wBACF,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;wBACjC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;qBACxC;oBAED,IAAI,KAAK,KAAK,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;wBACrC,8CAA8C;wBAC9C,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;qBACxB;iBACF;aACF;SACF;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAEO,gBAAgB,CACtB,IAAY;QAEZ,6DAA6D;QAC7D,IAAI,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACrC,cAAc,CAAC,GAAG,EAAE,CAAC;QAErB,IAAI,MAAM,GAAG,IAAI,KAAK,EAA2C,CAAC;QAClE,IAAI,YAAY,GAAG,EAAE,CAAC;QACtB,KAAK,IAAI,SAAS,IAAI,cAAc,EAAE;YACpC,YAAY,IAAI,IAAI,SAAS,EAAE,CAAC;YAChC,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,YAAY;gBAClB,aAAa,EAAE,SAAS;aACzB,CAAC,CAAC;SACJ;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAxSD,gDAwSC"}
1
+ {"version":3,"file":"PulsarCIManager.js","sourceRoot":"","sources":["../../../../src/pulsar/managers/PulsarCIManager.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,sBAA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AAC,WAAW,CAAC,aAAa,EAAE,WAAW,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAA;wBAClF,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;wBAChC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;qBACvC;oBAED,IAAI,KAAK,KAAK,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;wBACrC,8CAA8C;wBAC9C,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;qBACvB;iBACF;aACF;SACF;QAED,OAAO,SAAS,CAAA;IAClB,CAAC;IAEO,gBAAgB,CAAC,IAAY;QACnC,6DAA6D;QAC7D,IAAI,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QACpC,cAAc,CAAC,GAAG,EAAE,CAAA;QAEpB,IAAI,MAAM,GAAG,IAAI,KAAK,EAA2C,CAAA;QACjE,IAAI,YAAY,GAAG,EAAE,CAAA;QACrB,KAAK,IAAI,SAAS,IAAI,cAAc,EAAE;YACpC,YAAY,IAAI,IAAI,SAAS,EAAE,CAAA;YAC/B,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,YAAY;gBAClB,aAAa,EAAE,SAAS;aACzB,CAAC,CAAA;SACH;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AArQD,8CAqQC"}
@@ -1,24 +1,24 @@
1
- import { PLSExporter } from './../../model/exporters/Exporter';
2
- import { BLZBlueprint, DSMExecutionContext, BLZHighlightEngineToken, DSMBridgeConfiguration } from '@supernova-studio/pulsar-language';
3
- import { BLZAutocompleteEngineApplicationResult, BLZAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language/build/main/tools/autocomplete/AutocompleteEngine';
4
- import { PLSEngineSourceProcessingResult } from './../PulsarInterface';
5
- export declare class PLSPulsarCodeManager {
1
+ import { PCExporter } from './../../model/exporters/Exporter';
2
+ import { PLBlueprint, DSMExecutionContext, PLHighlightEngineToken, DSMBridgeConfiguration } from '@supernova-studio/pulsar-language';
3
+ import { PLAutocompleteEngineApplicationResult, PLAutocompleteEngineSuggestion } from '@supernova-studio/pulsar-language/build/main/tools/autocomplete/AutocompleteEngine';
4
+ import { PCEngineSourceProcessingResult } from './../PulsarInterface';
5
+ export declare class PCPulsarCodeManager {
6
6
  private exporter;
7
7
  private codeExecutionContext;
8
- constructor(exporter: PLSExporter);
8
+ constructor(exporter: PCExporter);
9
9
  /** Execute source code and retrieve the resulting output. This also retrieves any emitted extra files. Throws error when source is not found */
10
- executeSourceById(sourceId: string, dsmBridgeConfig: DSMBridgeConfiguration, contextKey: string, contextId: string): Promise<PLSEngineSourceProcessingResult>;
10
+ executeSourceById(sourceId: string, dsmBridgeConfig: DSMBridgeConfiguration, contextKey: string, contextId: string): Promise<PCEngineSourceProcessingResult>;
11
11
  /** Update source code definition. Content can be anything */
12
12
  updateSourceCodeDefinitionForSourceId(sourceId: string, definition: string): void;
13
13
  /** Update source code definition. Overview can be empty. Throws error when source is not found */
14
14
  updateSourceLocation(oldSourceId: string, newSourceId: string, newPath: string): void;
15
- /** Suggest next characters, words or snippets to be inserted into blazar code as user types */
16
- suggestNextFromSourceCode(code: string, selectionLocation: number, selectionLength: number): Array<BLZAutocompleteEngineSuggestion>;
17
- /** Apply autocompletion result to specified blazar code */
18
- applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: BLZAutocompleteEngineSuggestion): BLZAutocompleteEngineApplicationResult;
19
- /** Compute highlight tokens for the provided blazar code */
20
- suggestHighlightFromSourceCode(code: string): Array<BLZHighlightEngineToken>;
15
+ /** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
16
+ suggestNextFromSourceCode(code: string, selectionLocation: number, selectionLength: number): Array<PLAutocompleteEngineSuggestion>;
17
+ /** Apply autocompletion result to specified pulsar code */
18
+ applyAutocompletionResultToCode(code: string, selectionLocation: number, selectionLength: number, apply: PLAutocompleteEngineSuggestion): PLAutocompleteEngineApplicationResult;
19
+ /** Compute highlight tokens for the provided pulsar code */
20
+ suggestHighlightFromSourceCode(code: string): Array<PLHighlightEngineToken>;
21
21
  createContextData(contextKey: string, contextId: string): Map<string, any>;
22
- parseSource(declaration: string, executionContext: DSMExecutionContext): Promise<BLZBlueprint>;
23
- interpretSource(source: BLZBlueprint, data: Map<string, any>, executionContext: DSMExecutionContext): Promise<string>;
22
+ parseSource(declaration: string, executionContext: DSMExecutionContext): Promise<PLBlueprint>;
23
+ interpretSource(source: PLBlueprint, data: Map<string, any>, executionContext: DSMExecutionContext): Promise<string>;
24
24
  }
@@ -7,7 +7,7 @@
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSPulsarCodeManager = void 0;
10
+ exports.PCPulsarCodeManager = void 0;
11
11
  const Logger_1 = require("@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger");
12
12
  const BlueprintLoader_1 = require("./../../engine/loaders/BlueprintLoader");
13
13
  const pulsar_language_1 = require("@supernova-studio/pulsar-language");
@@ -17,13 +17,13 @@ const ExporterSource_1 = require("../../model/sources/ExporterSource");
17
17
  // MARK: - Definitions
18
18
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
19
19
  // MARK: - Class
20
- class PLSPulsarCodeManager {
20
+ class PCPulsarCodeManager {
21
21
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
22
22
  // MARK: - Setup
23
23
  constructor(exporter) {
24
24
  this.exporter = exporter;
25
25
  // Context is not usable for actual execution, but provides data about all types of functions / flows etc. available in the system
26
- this.codeExecutionContext = new pulsar_language_1.DSMExecutionContext(new BlueprintLoader_2.BLZBlueprintLoader(), new pulsar_language_1.BLZBlueprintEmitter(), new Logger_1.BLZLogger(), new pulsar_language_1.DSMBridge({
26
+ this.codeExecutionContext = new pulsar_language_1.DSMExecutionContext(new BlueprintLoader_2.PLBlueprintLoader(), new pulsar_language_1.PLBlueprintEmitter(), new Logger_1.PLLogger(), new pulsar_language_1.DSMBridge({
27
27
  accessToken: '',
28
28
  apiUrl: '',
29
29
  designSystemId: '',
@@ -44,9 +44,9 @@ class PLSPulsarCodeManager {
44
44
  // Create context data
45
45
  let contextData = this.createContextData(contextKey, contextId);
46
46
  // Create execution context for the DSM access, with in-memory loaders and emitters
47
- let logger = new Logger_1.BLZLogger();
48
- let loader = new BlueprintLoader_1.PLSBlueprintLoader(this.exporter);
49
- let emitter = new pulsar_language_1.BLZMemoryBlueprintEmitter(false);
47
+ let logger = new Logger_1.PLLogger();
48
+ let loader = new BlueprintLoader_1.PCBlueprintLoader(this.exporter);
49
+ let emitter = new pulsar_language_1.PLMemoryBlueprintEmitter(false);
50
50
  let configuredBridge = new pulsar_language_1.DSMBridge(dsmBridgeConfig);
51
51
  let executionContext = new pulsar_language_1.DSMExecutionContext(loader, emitter, logger, configuredBridge, null);
52
52
  // Parse sources using custom context with dsm functionality and execute
@@ -98,22 +98,22 @@ class PLSPulsarCodeManager {
98
98
  // Move it
99
99
  this.exporter.moveBlueprintSource(oldSourceId, newSourceId, newPath);
100
100
  }
101
- /** Suggest next characters, words or snippets to be inserted into blazar code as user types */
101
+ /** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
102
102
  suggestNextFromSourceCode(code, selectionLocation, selectionLength) {
103
- let suggestionEngine = new pulsar_language_1.BLZBlueprintAutocompleteEngine(this.codeExecutionContext);
104
- suggestionEngine.loadSnippets(new pulsar_language_1.BLZAutocompleteBlueprintSnippets().snippetPool());
103
+ let suggestionEngine = new pulsar_language_1.PLBlueprintAutocompleteEngine(this.codeExecutionContext);
104
+ suggestionEngine.loadSnippets(new pulsar_language_1.PLAutocompleteBlueprintSnippets().snippetPool());
105
105
  let suggestions = suggestionEngine.suggestNextBasedOnString(code, selectionLocation, selectionLength);
106
106
  return suggestions;
107
107
  }
108
- /** Apply autocompletion result to specified blazar code */
108
+ /** Apply autocompletion result to specified pulsar code */
109
109
  applyAutocompletionResultToCode(code, selectionLocation, selectionLength, apply) {
110
- let suggestionEngine = new pulsar_language_1.BLZBlueprintAutocompleteEngine(this.codeExecutionContext);
110
+ let suggestionEngine = new pulsar_language_1.PLBlueprintAutocompleteEngine(this.codeExecutionContext);
111
111
  let result = suggestionEngine.applySuggestion(apply, code, selectionLocation, selectionLength, 0);
112
112
  return result;
113
113
  }
114
- /** Compute highlight tokens for the provided blazar code */
114
+ /** Compute highlight tokens for the provided pulsar code */
115
115
  suggestHighlightFromSourceCode(code) {
116
- let suggestionEngine = new pulsar_language_1.BLZBlueprintHighlightEngine(this.codeExecutionContext);
116
+ let suggestionEngine = new pulsar_language_1.PLBlueprintHighlightEngine(this.codeExecutionContext);
117
117
  let result = suggestionEngine.tokenize(code);
118
118
  return result;
119
119
  }
@@ -122,43 +122,43 @@ class PLSPulsarCodeManager {
122
122
  createContextData(contextKey, contextId) {
123
123
  let data = new Map();
124
124
  if (contextId === 'none') {
125
- if (contextKey === ExporterSource_1.PLSExporterSourceContextType.generic) {
125
+ if (contextKey === ExporterSource_1.PCExporterSourceContextType.generic) {
126
126
  return data;
127
127
  }
128
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.component) {
128
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.component) {
129
129
  throw new Error('Source with component context can only be tested against design system with one or more defined components. Create new component and run this source again.');
130
130
  }
131
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.componentGroup) {
131
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.componentGroup) {
132
132
  throw new Error('Source with component group context can only be tested against design system with one or more defined component groups. Create new component group and run this source again.');
133
133
  }
134
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.tokenType) {
134
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.tokenType) {
135
135
  throw new Error('Source with token type context can only be tested against design system with one or more token types. Create new token and run this source again.');
136
136
  }
137
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.tokenGroup) {
137
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.tokenGroup) {
138
138
  throw new Error('Source with token group context can only be tested against design system with one or more defined token groups. Create new token group and run this source again.');
139
139
  }
140
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.theme) {
140
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.theme) {
141
141
  throw new Error('Source with theme context can only be tested against design system with one or more defined themes. Create new theme and run this source again.');
142
142
  }
143
143
  }
144
144
  else {
145
- if (contextKey === ExporterSource_1.PLSExporterSourceContextType.generic) {
145
+ if (contextKey === ExporterSource_1.PCExporterSourceContextType.generic) {
146
146
  // Generic ignores context id
147
147
  return data;
148
148
  }
149
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.component) {
149
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.component) {
150
150
  data.set('componentId', contextId);
151
151
  }
152
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.componentGroup) {
152
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.componentGroup) {
153
153
  data.set('groupId', contextId);
154
154
  }
155
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.tokenType) {
155
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.tokenType) {
156
156
  data.set('tokenTypeId', contextId);
157
157
  }
158
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.tokenGroup) {
158
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.tokenGroup) {
159
159
  data.set('groupId', contextId);
160
160
  }
161
- else if (contextKey === ExporterSource_1.PLSExporterSourceContextType.theme) {
161
+ else if (contextKey === ExporterSource_1.PCExporterSourceContextType.theme) {
162
162
  data.set('themeId', contextId);
163
163
  }
164
164
  }
@@ -167,14 +167,14 @@ class PLSPulsarCodeManager {
167
167
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
168
168
  // MARK: - Convenience
169
169
  async parseSource(declaration, executionContext) {
170
- let source = pulsar_language_1.BLZBlueprintFactory.blueprint(declaration, 'test', executionContext, null);
170
+ let source = pulsar_language_1.PLBlueprintFactory.blueprint(declaration, 'test', executionContext, null);
171
171
  return source;
172
172
  }
173
173
  async interpretSource(source, data, executionContext) {
174
- let renderingContext = new pulsar_language_1.BLZInterpreterContext(data);
175
- let interpreter = new pulsar_language_1.BLZInterpreter();
174
+ let renderingContext = new pulsar_language_1.PLInterpreterContext(data);
175
+ let interpreter = new pulsar_language_1.PLInterpreter();
176
176
  return interpreter.interpret(source, renderingContext, executionContext);
177
177
  }
178
178
  }
179
- exports.PLSPulsarCodeManager = PLSPulsarCodeManager;
179
+ exports.PCPulsarCodeManager = PCPulsarCodeManager;
180
180
  //# sourceMappingURL=PulsarCodeManager.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PulsarCodeManager.js","sourceRoot":"","sources":["../../../../src/pulsar/managers/PulsarCodeManager.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,wBAAwB;AACxB,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAMF,oGAAoG;AACpG,4EAA4E;AAC5E,uEAc2C;AAK3C,sHAAsH;AAKtH,uEAAkF;AAElF,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,gBAAgB;AAEhB,MAAa,oBAAoB;IAO/B,8GAA8G;IAC9G,gBAAgB;IAEhB,YAAY,QAAqB;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,kIAAkI;QAClI,IAAI,CAAC,oBAAoB,GAAG,IAAI,qCAAmB,CACjD,IAAI,oCAAkB,EAAE,EACxB,IAAI,qCAAmB,EAAE,EACzB,IAAI,kBAAS,EAAE,EACf,IAAI,2BAAS,CAAC;YACZ,WAAW,EAAE,EAAE;YACf,MAAM,EAAE,EAAE;YACV,cAAc,EAAE,EAAE;YAClB,WAAW,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AEtB,KAAK,CAAC,WAAW,CACf,WAAmB,EACnB,gBAAqC;QAErC,IAAI,MAAM,GAAG,qCAAmB,CAAC,SAAS,CACxC,WAAW,EACX,MAAM,EACN,gBAAgB,EAChB,IAAI,CACL,CAAC;QACF,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,MAAoB,EACpB,IAAsB,EACtB,gBAAqC;QAErC,IAAI,gBAAgB,GAAG,IAAI,uCAAqB,CAAC,IAAI,CAAC,CAAC;QACvD,IAAI,WAAW,GAAG,IAAI,gCAAc,EAAE,CAAC;QACvC,OAAO,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;IAC3E,CAAC;CACF;AA9PD,oDA8PC"}
1
+ {"version":3,"file":"PulsarCodeManager.js","sourceRoot":"","sources":["../../../../src/pulsar/managers/PulsarCodeManager.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,wBAAwB;AACxB,aAAa;AACb,EAAE;AACF,2BAA2B;AAC3B,sDAAsD;AACtD,EAAE;;;AAMF,oGAAkG;AAClG,4EAA0E;AAC1E,uEAc0C;AAK1C,sHAAoH;AAEpH,uEAAgF;AAEhF,8GAA8G;AAC9G,sBAAsB;AAEtB,8GAA8G;AAC9G,gBAAgB;AAEhB,MAAa,mBAAmB;IAO9B,8GAA8G;IAC9G,gBAAgB;IAEhB,YAAY,QAAoB;QAC9B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QAExB,kIAAkI;QAClI,IAAI,CAAC,oBAAoB,GAAG,IAAI,qCAAmB,CACjD,IAAI,mCAAiB,EAAE,EACvB,IAAI,oCAAkB,EAAE,EACxB,IAAI,iBAAQ,EAAE,EACd,IAAI,2BAAS,CAAC;YACZ,WAAW,EAAE,EAAE;YACf,MAAM,EAAE,EAAE;YACV,cAAc,EAAE,EAAE;YAClB,WAAW,EAAE,EAAE;YACf,UAAU,EAAE,KAAK;SAClB,CAAC,EACF,IAAI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mB,EAAE,gBAAqC;QAC1E,IAAI,MAAM,GAAG,oCAAkB,CAAC,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;QACtF,OAAO,MAAM,CAAA;IACf,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,MAAmB,EACnB,IAAsB,EACtB,gBAAqC;QAErC,IAAI,gBAAgB,GAAG,IAAI,sCAAoB,CAAC,IAAI,CAAC,CAAA;QACrD,IAAI,WAAW,GAAG,IAAI,+BAAa,EAAE,CAAA;QACrC,OAAO,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,CAAA;IAC1E,CAAC;CACF;AApND,kDAoNC"}
@@ -1,6 +1,6 @@
1
- import { PLSExporter } from '../../model/exporters/Exporter';
2
- export declare class PLSPulsarConfigurationManager {
3
- constructor(_exporter: PLSExporter);
1
+ import { PCExporter } from '../../model/exporters/Exporter';
2
+ export declare class PCPulsarConfigurationManager {
3
+ constructor(_exporter: PCExporter);
4
4
  /** Get exporter configuration JSON */
5
5
  getExporterConfigurationJSON(): string;
6
6
  /** Get source configuration JSON */
@@ -7,17 +7,17 @@
7
7
  // Copyright © 2020 Jiri Trecak. All rights reserved.
8
8
  //
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PLSPulsarConfigurationManager = void 0;
10
+ exports.PCPulsarConfigurationManager = void 0;
11
11
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
12
12
  // MARK: - Imports
13
13
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
14
14
  // MARK: - Definitions
15
15
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
16
16
  // MARK: - Class
17
- class PLSPulsarConfigurationManager {
17
+ class PCPulsarConfigurationManager {
18
18
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
19
19
  // MARK: - Properties
20
- // private exporter: PLSExporter
20
+ // private exporter: PCExporter
21
21
  // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
22
22
  // MARK: - Setup
23
23
  constructor(_exporter) {
@@ -44,5 +44,5 @@ class PLSPulsarConfigurationManager {
44
44
  /** Update output configuration JSON */
45
45
  updateOutputConfigurationJSON(_content) { }
46
46
  }
47
- exports.PLSPulsarConfigurationManager = PLSPulsarConfigurationManager;
47
+ exports.PCPulsarConfigurationManager = PCPulsarConfigurationManager;
48
48
  //# sourceMappingURL=PulsarConfigurationManager.js.map