@chili-publish/studio-sdk 1.25.0 → 1.26.0

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 (278) hide show
  1. package/_bundles/main.es.js +2391 -0
  2. package/_bundles/main.es.js.map +1 -0
  3. package/_bundles/main.js +22 -2
  4. package/_bundles/main.js.map +1 -1
  5. package/connector-types/src/Connector.Shared.d.ts +30 -0
  6. package/connector-types/src/Connector.Shared.js +2 -0
  7. package/connector-types/src/Connector.Shared.js.map +1 -0
  8. package/connector-types/src/DataConnector.d.ts +34 -0
  9. package/connector-types/src/DataConnector.js +2 -0
  10. package/connector-types/src/DataConnector.js.map +1 -0
  11. package/connector-types/src/FontConnector.d.ts +20 -0
  12. package/connector-types/src/FontConnector.js +2 -0
  13. package/connector-types/src/FontConnector.js.map +1 -0
  14. package/connector-types/src/MediaConnector.d.ts +20 -0
  15. package/connector-types/src/MediaConnector.js +2 -0
  16. package/connector-types/src/MediaConnector.js.map +1 -0
  17. package/connector-types/src/index.d.ts +4 -0
  18. package/connector-types/src/index.js +5 -0
  19. package/connector-types/src/index.js.map +1 -0
  20. package/lib/editor-engine.json +1 -1
  21. package/lib/package.json +10 -18
  22. package/lib/src/controllers/ActionController.d.ts +13 -13
  23. package/lib/src/controllers/ActionController.js.map +1 -1
  24. package/lib/src/controllers/AnimationController.d.ts +10 -10
  25. package/lib/src/controllers/AnimationController.js.map +1 -1
  26. package/lib/src/controllers/BarcodeController.d.ts +15 -15
  27. package/lib/src/controllers/BarcodeController.js.map +1 -1
  28. package/lib/src/controllers/BrandKitController.d.ts +57 -0
  29. package/lib/src/controllers/BrandKitController.js +275 -0
  30. package/lib/src/controllers/BrandKitController.js.map +1 -0
  31. package/lib/src/controllers/CanvasController.d.ts +4 -4
  32. package/lib/src/controllers/CanvasController.js.map +1 -1
  33. package/lib/src/controllers/CharacterStyleController.d.ts +8 -8
  34. package/lib/src/controllers/CharacterStyleController.js.map +1 -1
  35. package/lib/src/controllers/ClipboardController.d.ts +4 -4
  36. package/lib/src/controllers/ClipboardController.js.map +1 -1
  37. package/lib/src/controllers/ColorConversionController.d.ts +1 -1
  38. package/lib/src/controllers/ColorConversionController.js.map +1 -1
  39. package/lib/src/controllers/ColorStyleController.d.ts +8 -8
  40. package/lib/src/controllers/ColorStyleController.js.map +1 -1
  41. package/lib/src/controllers/ConfigurationController.d.ts +4 -4
  42. package/lib/src/controllers/ConfigurationController.js.map +1 -1
  43. package/lib/src/controllers/ConnectorController.d.ts +3 -3
  44. package/lib/src/controllers/ConnectorController.js +1 -1
  45. package/lib/src/controllers/ConnectorController.js.map +1 -1
  46. package/lib/src/controllers/DataConnectorController.d.ts +4 -3
  47. package/lib/src/controllers/DataConnectorController.js.map +1 -1
  48. package/lib/src/controllers/DataSourceController.d.ts +4 -4
  49. package/lib/src/controllers/DataSourceController.js.map +1 -1
  50. package/lib/src/controllers/DebugController.d.ts +4 -4
  51. package/lib/src/controllers/DebugController.js.map +1 -1
  52. package/lib/src/controllers/DocumentController.d.ts +4 -4
  53. package/lib/src/controllers/DocumentController.js.map +1 -1
  54. package/lib/src/controllers/ExperimentController.d.ts +8 -8
  55. package/lib/src/controllers/ExperimentController.js.map +1 -1
  56. package/lib/src/controllers/FontConnectorController.d.ts +2 -2
  57. package/lib/src/controllers/FontConnectorController.js +1 -1
  58. package/lib/src/controllers/FontConnectorController.js.map +1 -1
  59. package/lib/src/controllers/FontController.d.ts +13 -13
  60. package/lib/src/controllers/FontController.js.map +1 -1
  61. package/lib/src/controllers/FrameController.d.ts +1 -1
  62. package/lib/src/controllers/FrameController.js.map +1 -1
  63. package/lib/src/controllers/InfoController.js.map +1 -1
  64. package/lib/src/controllers/LayoutController.d.ts +1 -1
  65. package/lib/src/controllers/LayoutController.js.map +1 -1
  66. package/lib/src/controllers/MediaConnectorController.d.ts +9 -9
  67. package/lib/src/controllers/MediaConnectorController.js +8 -8
  68. package/lib/src/controllers/MediaConnectorController.js.map +1 -1
  69. package/lib/src/controllers/PageController.js.map +1 -1
  70. package/lib/src/controllers/ParagraphStyleController.d.ts +8 -8
  71. package/lib/src/controllers/ParagraphStyleController.js.map +1 -1
  72. package/lib/src/controllers/ShapeController.d.ts +11 -11
  73. package/lib/src/controllers/ShapeController.js.map +1 -1
  74. package/lib/src/controllers/SubscriberController.js.map +1 -1
  75. package/lib/src/controllers/TextStyleController.d.ts +3 -3
  76. package/lib/src/controllers/TextStyleController.js.map +1 -1
  77. package/lib/src/controllers/ToolController.d.ts +11 -11
  78. package/lib/src/controllers/ToolController.js.map +1 -1
  79. package/lib/src/controllers/UndoManagerController.d.ts +9 -9
  80. package/lib/src/controllers/UndoManagerController.js.map +1 -1
  81. package/lib/src/controllers/UtilsController.d.ts +3 -3
  82. package/lib/src/controllers/UtilsController.js.map +1 -1
  83. package/lib/src/controllers/VariableController.d.ts +50 -50
  84. package/lib/src/controllers/VariableController.js +3 -1
  85. package/lib/src/controllers/VariableController.js.map +1 -1
  86. package/lib/src/index.d.ts +5 -3
  87. package/lib/src/index.js +3 -2
  88. package/lib/src/index.js.map +1 -1
  89. package/lib/src/interactions/Connector.js.map +1 -1
  90. package/lib/src/next/NextInitiator.js.map +1 -1
  91. package/lib/src/next/controllers/CanvasController.d.ts +1 -1
  92. package/lib/src/next/controllers/CanvasController.js.map +1 -1
  93. package/lib/src/next/controllers/ConnectorController.d.ts +3 -3
  94. package/lib/src/next/controllers/ConnectorController.js.map +1 -1
  95. package/lib/src/next/controllers/PageController.d.ts +2 -2
  96. package/lib/src/next/controllers/PageController.js.map +1 -1
  97. package/lib/src/next/controllers/SubscriberController.js.map +1 -1
  98. package/lib/src/next/controllers/VariableController.d.ts +8 -8
  99. package/lib/src/next/controllers/VariableController.js +3 -1
  100. package/lib/src/next/controllers/VariableController.js.map +1 -1
  101. package/lib/src/next/index.d.ts +2 -2
  102. package/lib/src/next/index.js.map +1 -1
  103. package/lib/src/next/tests/controllers/CanvasController.test.js.map +1 -1
  104. package/lib/src/next/tests/controllers/ConnectorController.test.js.map +1 -1
  105. package/lib/src/next/tests/controllers/PageController.test.js.map +1 -1
  106. package/lib/src/next/tests/controllers/SubscriberContoller.test.js.map +1 -1
  107. package/lib/src/next/tests/controllers/VariableController.test.js.map +1 -1
  108. package/lib/src/next/types/ConnectorTypes.js.map +1 -1
  109. package/lib/src/next/types/NextSubscribers.js.map +1 -1
  110. package/lib/src/next/types/PageTypes.js.map +1 -1
  111. package/lib/src/next/types/VariableTypes.js.map +1 -1
  112. package/lib/src/sdk.d.ts +3 -1
  113. package/lib/src/sdk.js +3 -0
  114. package/lib/src/sdk.js.map +1 -1
  115. package/lib/src/setupTests.js.map +1 -1
  116. package/lib/src/tests/__mocks__/Animations.js.map +1 -1
  117. package/lib/src/tests/__mocks__/Brandkit.js +374 -0
  118. package/lib/src/tests/__mocks__/Brandkit.js.map +1 -0
  119. package/lib/src/tests/__mocks__/Config.js.map +1 -1
  120. package/lib/src/tests/__mocks__/FrameProperties.js.map +1 -1
  121. package/lib/src/tests/__mocks__/MockImageFrameSource.js.map +1 -1
  122. package/lib/src/tests/__mocks__/localConfig.js.map +1 -1
  123. package/lib/src/tests/__mocks__/mockDocument.js.map +1 -1
  124. package/lib/src/tests/controllers/ActionController.test.js.map +1 -1
  125. package/lib/src/tests/controllers/AnimationController.test.js.map +1 -1
  126. package/lib/src/tests/controllers/BarcodeController.test.js.map +1 -1
  127. package/lib/src/tests/controllers/BrandKitController.test.js +213 -0
  128. package/lib/src/tests/controllers/BrandKitController.test.js.map +1 -0
  129. package/lib/src/tests/controllers/CanvasController.test.js.map +1 -1
  130. package/lib/src/tests/controllers/CharacterStyleController.test.js +22 -0
  131. package/lib/src/tests/controllers/CharacterStyleController.test.js.map +1 -1
  132. package/lib/src/tests/controllers/ClipboardController.test.js.map +1 -1
  133. package/lib/src/tests/controllers/ColorConversionController.test.js.map +1 -1
  134. package/lib/src/tests/controllers/ColorStyleController.test.js.map +1 -1
  135. package/lib/src/tests/controllers/ConnectorController.test.js.map +1 -1
  136. package/lib/src/tests/controllers/DataConnectorController.test.js +1 -1
  137. package/lib/src/tests/controllers/DataConnectorController.test.js.map +1 -1
  138. package/lib/src/tests/controllers/DataSourceController.test.js.map +1 -1
  139. package/lib/src/tests/controllers/DebugController.test.js.map +1 -1
  140. package/lib/src/tests/controllers/DocumentController.test.js.map +1 -1
  141. package/lib/src/tests/controllers/ExperimentController.test.js.map +1 -1
  142. package/lib/src/tests/controllers/FontConnectorController.test.js.map +1 -1
  143. package/lib/src/tests/controllers/FontController.test.js.map +1 -1
  144. package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
  145. package/lib/src/tests/controllers/InfoController.test.js.map +1 -1
  146. package/lib/src/tests/controllers/LayoutController.test.js.map +1 -1
  147. package/lib/src/tests/controllers/MediaConnectorController.test.js.map +1 -1
  148. package/lib/src/tests/controllers/PageController.test.js.map +1 -1
  149. package/lib/src/tests/controllers/ParagraphStyleController.test.js +25 -0
  150. package/lib/src/tests/controllers/ParagraphStyleController.test.js.map +1 -1
  151. package/lib/src/tests/controllers/ShapeController.test.js.map +1 -1
  152. package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
  153. package/lib/src/tests/controllers/TextStyleController.test.js.map +1 -1
  154. package/lib/src/tests/controllers/ToolController.test.js.map +1 -1
  155. package/lib/src/tests/controllers/UndoManagerController.test.js.map +1 -1
  156. package/lib/src/tests/controllers/UtilsController.test.js.map +1 -1
  157. package/lib/src/tests/controllers/VariableController.test.js.map +1 -1
  158. package/lib/src/tests/index.test.js.map +1 -1
  159. package/lib/src/tests/interactions/Connector.test.js.map +1 -1
  160. package/lib/src/tests/utils/ConnectorCompatibilityTools.test.js.map +1 -1
  161. package/lib/src/tests/utils/EditorResponseData.test.js.map +1 -1
  162. package/lib/src/tests/utils/EventSubscription.test.js.map +1 -1
  163. package/lib/src/tests/utils/LocalConfigurationDecorator.test.js.map +1 -1
  164. package/lib/src/tests/utils/Logging.test.js.map +1 -1
  165. package/lib/src/tests/utils/Round.test.js.map +1 -1
  166. package/lib/src/types/ActionTypes.js.map +1 -1
  167. package/lib/src/types/AnimationTypes.js.map +1 -1
  168. package/lib/src/types/BarcodeTypes.js.map +1 -1
  169. package/lib/src/types/BrandKitTypes.d.ts +122 -0
  170. package/lib/src/types/BrandKitTypes.js +2 -0
  171. package/lib/src/types/BrandKitTypes.js.map +1 -0
  172. package/lib/src/types/CharacterStyleTypes.d.ts +29 -14
  173. package/lib/src/types/CharacterStyleTypes.js.map +1 -1
  174. package/lib/src/types/ClipboardTypes.js.map +1 -1
  175. package/lib/src/types/ColorStyleTypes.d.ts +20 -5
  176. package/lib/src/types/ColorStyleTypes.js +18 -2
  177. package/lib/src/types/ColorStyleTypes.js.map +1 -1
  178. package/lib/src/types/CommonTypes.d.ts +1 -28
  179. package/lib/src/types/CommonTypes.js +0 -10
  180. package/lib/src/types/CommonTypes.js.map +1 -1
  181. package/lib/src/types/ConfigurationTypes.js.map +1 -1
  182. package/lib/src/types/ConnectorTypes.d.ts +16 -13
  183. package/lib/src/types/ConnectorTypes.js +10 -0
  184. package/lib/src/types/ConnectorTypes.js.map +1 -1
  185. package/lib/src/types/DataConnectorTypes.d.ts +2 -32
  186. package/lib/src/types/DataConnectorTypes.js.map +1 -1
  187. package/lib/src/types/DebugTypes.js.map +1 -1
  188. package/lib/src/types/DocumentTypes.d.ts +83 -4
  189. package/lib/src/types/DocumentTypes.js +6 -0
  190. package/lib/src/types/DocumentTypes.js.map +1 -1
  191. package/lib/src/types/EngineEditModeTypes.js.map +1 -1
  192. package/lib/src/types/FontConnectorTypes.d.ts +1 -19
  193. package/lib/src/types/FontConnectorTypes.js.map +1 -1
  194. package/lib/src/types/FontTypes.js.map +1 -1
  195. package/lib/src/types/FrameTypes.js +0 -1
  196. package/lib/src/types/FrameTypes.js.map +1 -1
  197. package/lib/src/types/LayoutTypes.d.ts +18 -17
  198. package/lib/src/types/LayoutTypes.js.map +1 -1
  199. package/lib/src/types/MediaConnectorTypes.d.ts +7 -23
  200. package/lib/src/types/MediaConnectorTypes.js +2 -0
  201. package/lib/src/types/MediaConnectorTypes.js.map +1 -1
  202. package/lib/src/types/PageTypes.js.map +1 -1
  203. package/lib/src/types/ParagraphStyleTypes.d.ts +35 -17
  204. package/lib/src/types/ParagraphStyleTypes.js.map +1 -1
  205. package/lib/src/types/ShapeTypes.js.map +1 -1
  206. package/lib/src/types/TextStyleTypes.d.ts +8 -2
  207. package/lib/src/types/TextStyleTypes.js +2 -0
  208. package/lib/src/types/TextStyleTypes.js.map +1 -1
  209. package/lib/src/types/TextTypes.js.map +1 -1
  210. package/lib/src/types/VariableTypes.js.map +1 -1
  211. package/lib/src/types/ViewModeTypes.js.map +1 -1
  212. package/lib/src/types/ViewportTypes.js.map +1 -1
  213. package/lib/src/utils/BrandKitHelper.d.ts +9 -0
  214. package/lib/src/utils/BrandKitHelper.js +72 -0
  215. package/lib/src/utils/BrandKitHelper.js.map +1 -0
  216. package/lib/src/utils/ConfigHelper.js.map +1 -1
  217. package/lib/src/utils/ConnectorCompatibilityTools.js.map +1 -1
  218. package/lib/src/utils/DataItemMappingTools.js.map +1 -1
  219. package/lib/src/utils/EditorResponseData.d.ts +1 -1
  220. package/lib/src/utils/EditorResponseData.js.map +1 -1
  221. package/lib/src/utils/EngineCallbackHandler.js.map +1 -1
  222. package/lib/src/utils/EngineEvent.js.map +1 -1
  223. package/lib/src/utils/EngineEventTrigger.js.map +1 -1
  224. package/lib/src/utils/Enums.js.map +1 -1
  225. package/lib/src/utils/LocalConfigurationDecorator.d.ts +2 -2
  226. package/lib/src/utils/LocalConfigurationDecorator.js.map +1 -1
  227. package/lib/src/utils/MathUtils.js.map +1 -1
  228. package/package.json +10 -18
  229. package/_bundles/report.html +0 -38
  230. package/lib/src/next/tests/controllers/CanvasController.test.d.ts +0 -1
  231. package/lib/src/next/tests/controllers/ConnectorController.test.d.ts +0 -1
  232. package/lib/src/next/tests/controllers/PageController.test.d.ts +0 -1
  233. package/lib/src/next/tests/controllers/SubscriberContoller.test.d.ts +0 -1
  234. package/lib/src/next/tests/controllers/VariableController.test.d.ts +0 -1
  235. package/lib/src/setupTests.d.ts +0 -1
  236. package/lib/src/tests/__mocks__/Animations.d.ts +0 -2
  237. package/lib/src/tests/__mocks__/Config.d.ts +0 -4
  238. package/lib/src/tests/__mocks__/FrameProperties.d.ts +0 -52
  239. package/lib/src/tests/__mocks__/MockImageFrameSource.d.ts +0 -4
  240. package/lib/src/tests/__mocks__/localConfig.d.ts +0 -2
  241. package/lib/src/tests/__mocks__/mockDocument.d.ts +0 -1
  242. package/lib/src/tests/controllers/ActionController.test.d.ts +0 -1
  243. package/lib/src/tests/controllers/AnimationController.test.d.ts +0 -1
  244. package/lib/src/tests/controllers/BarcodeController.test.d.ts +0 -1
  245. package/lib/src/tests/controllers/CanvasController.test.d.ts +0 -1
  246. package/lib/src/tests/controllers/CharacterStyleController.test.d.ts +0 -1
  247. package/lib/src/tests/controllers/ClipboardController.test.d.ts +0 -1
  248. package/lib/src/tests/controllers/ColorConversionController.test.d.ts +0 -1
  249. package/lib/src/tests/controllers/ColorStyleController.test.d.ts +0 -1
  250. package/lib/src/tests/controllers/ConnectorController.test.d.ts +0 -1
  251. package/lib/src/tests/controllers/DataConnectorController.test.d.ts +0 -1
  252. package/lib/src/tests/controllers/DataSourceController.test.d.ts +0 -1
  253. package/lib/src/tests/controllers/DebugController.test.d.ts +0 -1
  254. package/lib/src/tests/controllers/DocumentController.test.d.ts +0 -1
  255. package/lib/src/tests/controllers/ExperimentController.test.d.ts +0 -1
  256. package/lib/src/tests/controllers/FontConnectorController.test.d.ts +0 -1
  257. package/lib/src/tests/controllers/FontController.test.d.ts +0 -1
  258. package/lib/src/tests/controllers/FrameController.test.d.ts +0 -1
  259. package/lib/src/tests/controllers/InfoController.test.d.ts +0 -1
  260. package/lib/src/tests/controllers/LayoutController.test.d.ts +0 -1
  261. package/lib/src/tests/controllers/MediaConnectorController.test.d.ts +0 -1
  262. package/lib/src/tests/controllers/PageController.test.d.ts +0 -1
  263. package/lib/src/tests/controllers/ParagraphStyleController.test.d.ts +0 -1
  264. package/lib/src/tests/controllers/ShapeController.test.d.ts +0 -1
  265. package/lib/src/tests/controllers/SubscriberContoller.test.d.ts +0 -1
  266. package/lib/src/tests/controllers/TextStyleController.test.d.ts +0 -1
  267. package/lib/src/tests/controllers/ToolController.test.d.ts +0 -1
  268. package/lib/src/tests/controllers/UndoManagerController.test.d.ts +0 -1
  269. package/lib/src/tests/controllers/UtilsController.test.d.ts +0 -1
  270. package/lib/src/tests/controllers/VariableController.test.d.ts +0 -1
  271. package/lib/src/tests/index.test.d.ts +0 -1
  272. package/lib/src/tests/interactions/Connector.test.d.ts +0 -1
  273. package/lib/src/tests/utils/ConnectorCompatibilityTools.test.d.ts +0 -1
  274. package/lib/src/tests/utils/EditorResponseData.test.d.ts +0 -1
  275. package/lib/src/tests/utils/EventSubscription.test.d.ts +0 -1
  276. package/lib/src/tests/utils/LocalConfigurationDecorator.test.d.ts +0 -1
  277. package/lib/src/tests/utils/Logging.test.d.ts +0 -1
  278. package/lib/src/tests/utils/Round.test.d.ts +0 -1
@@ -0,0 +1,30 @@
1
+ export interface Dictionary {
2
+ [Key: string]: string | boolean;
3
+ }
4
+ export type QueryOptions = {
5
+ filter?: string[] | null;
6
+ collection?: string | null;
7
+ pageToken?: string | null;
8
+ pageSize?: number;
9
+ sortBy?: string | null;
10
+ sortOrder?: string | null;
11
+ };
12
+ export type QueryPage<T> = {
13
+ pageSize: number;
14
+ links: {
15
+ nextPage: string;
16
+ };
17
+ data: T[];
18
+ };
19
+ export interface ConnectorConfigValue<Type, ContextType> {
20
+ readonly name: string;
21
+ readonly displayName: string;
22
+ readonly type: Type;
23
+ readonly context?: ContextType[];
24
+ }
25
+ export type ConnectorConfigOptions<Type, ContextType> = ConnectorConfigValue<Type, ContextType>[];
26
+ export interface FilePointer {
27
+ id: string;
28
+ url: string;
29
+ name: string;
30
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Connector.Shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Connector.Shared.js","sourceRoot":"","sources":["../../../../connector-types/src/Connector.Shared.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ import { QueryPage } from './Connector.Shared';
2
+ export type DataConnectorCapabilities = {
3
+ filtering: boolean;
4
+ sorting: boolean;
5
+ model: boolean;
6
+ };
7
+ export type DataItem = {
8
+ [key: string]: string | number | boolean | Date | null;
9
+ };
10
+ export type DataModel = {
11
+ properties: DataModelProperty[];
12
+ };
13
+ export type DataModelProperty = {
14
+ name: string;
15
+ type: string;
16
+ };
17
+ export type DataPage = Pick<QueryPage<DataItem>, 'data'> & {
18
+ continuationToken?: string | null;
19
+ };
20
+ export interface PageConfig {
21
+ filters?: DataFilter[] | null;
22
+ sorting?: DataSorting[] | null;
23
+ continuationToken?: string | null;
24
+ limit: number;
25
+ }
26
+ export interface DataSorting {
27
+ property: string;
28
+ direction: 'asc' | 'desc';
29
+ }
30
+ export interface DataFilter {
31
+ property: string;
32
+ value: string;
33
+ type: 'contains' | 'exact';
34
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DataConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataConnector.js","sourceRoot":"","sources":["../../../../connector-types/src/DataConnector.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { QueryPage } from './Connector.Shared';
2
+ export type FontFamilyPage = QueryPage<FontFamily>;
3
+ export interface FontFamily {
4
+ id: string;
5
+ name: string;
6
+ fontStylesCount: number;
7
+ extensions: string[];
8
+ }
9
+ export interface FontStyle {
10
+ id: string;
11
+ name: string;
12
+ familyId: string;
13
+ familyName: string;
14
+ }
15
+ export type FontConnectorCapabilities = {
16
+ query: boolean;
17
+ detail: boolean;
18
+ preview: boolean;
19
+ filtering: boolean;
20
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FontConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FontConnector.js","sourceRoot":"","sources":["../../../../connector-types/src/FontConnector.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { Dictionary } from './Connector.Shared';
2
+ export interface Media<MediaType> {
3
+ id: string;
4
+ name: string;
5
+ relativePath: string;
6
+ metaData: Dictionary;
7
+ extension?: string;
8
+ type: MediaType;
9
+ }
10
+ export type MediaDetail<MediaType> = Media<MediaType> & {
11
+ width?: number;
12
+ height?: number;
13
+ };
14
+ export type MediaConnectorCapabilities = {
15
+ query: boolean;
16
+ detail: boolean;
17
+ filtering: boolean;
18
+ metadata?: boolean;
19
+ upload?: boolean;
20
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MediaConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaConnector.js","sourceRoot":"","sources":["../../../../connector-types/src/MediaConnector.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from './Connector.Shared';
2
+ export * from './DataConnector';
3
+ export * from './FontConnector';
4
+ export * from './MediaConnector';
@@ -0,0 +1,5 @@
1
+ export * from './Connector.Shared';
2
+ export * from './DataConnector';
3
+ export * from './FontConnector';
4
+ export * from './MediaConnector';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../connector-types/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "current": "2.8.latest"
2
+ "current": "2.9.latest"
3
3
  }
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chili-publish/studio-sdk",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "description": "The sdk for the chili editor",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,11 +19,9 @@
19
19
  "@babel/runtime": "^7.14.8",
20
20
  "@inthepocket/npm-license-scraper": "^2.3.0",
21
21
  "@testing-library/jest-dom": "^5.14.1",
22
+ "@types/jest": "^29.5.0",
22
23
  "@typescript-eslint/eslint-plugin": "^5.36.0",
23
24
  "@typescript-eslint/parser": "^5.36.0",
24
- "babel-loader": "^8.2.2",
25
- "babel-preset-env": "^1.7.0",
26
- "clean-webpack-plugin": "^4.0.0-alpha.0",
27
25
  "eslint": "^7.31.0",
28
26
  "eslint-config-prettier": "^8.3.0",
29
27
  "eslint-plugin-import": "^2.23.4",
@@ -35,27 +33,20 @@
35
33
  "prettier": "^2.3.2",
36
34
  "pretty-quick": "^3.1.1",
37
35
  "shx": "^0.3.3",
38
- "terser-webpack-plugin": "^5.2.4",
39
36
  "ts-jest": "^29.2.5",
40
- "ts-loader": "^9.3.1",
41
37
  "typedoc": "^0.27.9",
42
38
  "typedoc-plugin-markdown": "^3.13.4",
43
39
  "typescript": "^5.7.3",
44
- "webpack": "^5.46.0",
45
- "webpack-bundle-analyzer": "^4.5.0",
46
- "webpack-cli": "^4.7.2",
47
- "webpack-dev-server": "^3.11.2"
40
+ "vite": "^5.0.0",
41
+ "vite-plugin-dts": "^4.5.3"
48
42
  },
49
43
  "engines": {
50
44
  "node": ">=18.0.0"
51
45
  },
52
46
  "scripts": {
53
- "clean": "shx rm -rf _bundles lib lib-esm next",
54
- "build": "yarn clean && yarn build:modules && webpack --config webpack.config.js --env env=production",
55
- "build:uat": "yarn clean && yarn build:modules:uat && webpack --config webpack.config.js --env env=production --env ENGINE_DOMAIN=studio-cdn.chiligrafx-uat.com",
56
- "build:modules": "tsc && tsc -m es6 --outDir lib-esm ",
57
- "build:modules:uat": "tsc && tsc -m es6 --outDir lib-esm",
58
- "build:dev": "yarn clean && yarn build:modules && webpack --config webpack.config.js --env env=development",
47
+ "clean": "shx rm -rf _bundles lib",
48
+ "build": "yarn clean && vite build && tsc && node scripts/postbuild.js",
49
+ "build:dev": "yarn clean && vite build --mode development && tsc && node scripts/postbuild.js",
59
50
  "lint": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx,json}\"",
60
51
  "testw": "jest --watch",
61
52
  "test": "jest",
@@ -74,14 +65,15 @@
74
65
  }
75
66
  },
76
67
  "main": "./_bundles/main.js",
77
- "module": "./_bundles/main.js",
68
+ "module": "./_bundles/main.es.js",
78
69
  "browser": "./_bundles/main.js",
70
+ "types": "./lib/src/index.d.ts",
79
71
  "files": [
80
72
  "lib/",
73
+ "connector-types/",
81
74
  "_bundles/",
82
75
  "README.md"
83
76
  ],
84
- "typings": "lib/src/",
85
77
  "bugs": {
86
78
  "url": "https://github.com/chili-publish/studio-sdk/issues"
87
79
  },
@@ -14,37 +14,37 @@ export declare class ActionController {
14
14
  * This method returns the list of all actions.
15
15
  * @returns list of all actions
16
16
  */
17
- getAll: () => Promise<import("../types/CommonTypes").EditorResponse<DocumentAction[]>>;
17
+ getAll: () => Promise<import('../types/CommonTypes').EditorResponse<DocumentAction[]>>;
18
18
  /**
19
19
  * This method returns an action by the id
20
20
  * @param id the id of a specific action
21
21
  * @returns action details
22
22
  */
23
- getById: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<DocumentAction>>;
23
+ getById: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<DocumentAction>>;
24
24
  /**
25
25
  * This method creates a new action.
26
26
  * @returns the id of the newly created action.
27
27
  */
28
- create: () => Promise<import("../types/CommonTypes").EditorResponse<string>>;
28
+ create: () => Promise<import('../types/CommonTypes').EditorResponse<string>>;
29
29
  /**
30
30
  * This method duplicates an existing action by the id
31
31
  * @param id the id of a specific action
32
32
  * @returns the id of the duplicated action.
33
33
  */
34
- duplicate: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<string>>;
34
+ duplicate: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<string>>;
35
35
  /**
36
36
  * This method removes the action by the id
37
37
  * @param id the id of a specific action
38
38
  * @returns
39
39
  */
40
- remove: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
40
+ remove: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
41
41
  /**
42
42
  * This method updates an existing Action
43
43
  * @param id the id of a specific Action
44
44
  * @param update the delta update to apply to the Action
45
45
  * @returns
46
46
  */
47
- update: (id: Id, update: ActionDeltaUpdate) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
47
+ update: (id: Id, update: ActionDeltaUpdate) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
48
48
  /**
49
49
  * @deprecated use the update method instead
50
50
  *
@@ -53,7 +53,7 @@ export declare class ActionController {
53
53
  * @param name the new unique name for the action
54
54
  * @returns
55
55
  */
56
- rename: (id: Id, name: string) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
56
+ rename: (id: Id, name: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
57
57
  /**
58
58
  * @deprecated use the update method instead
59
59
  *
@@ -62,7 +62,7 @@ export declare class ActionController {
62
62
  * @param actionScript the JavaScript based action script
63
63
  * @returns
64
64
  */
65
- updateScript: (id: Id, actionScript: string) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
65
+ updateScript: (id: Id, actionScript: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
66
66
  /**
67
67
  * @deprecated use the update method instead
68
68
  *
@@ -71,14 +71,14 @@ export declare class ActionController {
71
71
  * @param triggers the triggers this action should react on.
72
72
  * @returns
73
73
  */
74
- updateTriggers: (id: Id, triggers: ActionTrigger[]) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
74
+ updateTriggers: (id: Id, triggers: ActionTrigger[]) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
75
75
  /**
76
76
  * This method changes positions of actions
77
77
  * @param order the position of actions
78
78
  * @param ids the list of action IDs
79
79
  * @returns
80
80
  */
81
- move: (order: number, ids: string[]) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
81
+ move: (order: number, ids: string[]) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
82
82
  /**
83
83
  * @deprecated use the update method instead
84
84
  *
@@ -90,17 +90,17 @@ export declare class ActionController {
90
90
  * @param hasTypeErrors whether there is an action type error
91
91
  * @returns
92
92
  */
93
- setTypeError: (id: string, hasTypeErrors: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
93
+ setTypeError: (id: string, hasTypeErrors: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
94
94
  /**
95
95
  * This method disables the execution of Actions.
96
96
  * Note that any Action will be ignored and forgotten.
97
97
  * @returns
98
98
  */
99
- disable: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
99
+ disable: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
100
100
  /**
101
101
  * This method enables the execution of Actions.
102
102
  * Note this is enabled by default.
103
103
  * @returns
104
104
  */
105
- enable: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
105
+ enable: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
106
106
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ActionController.js","sourceRoot":"","sources":["../../../src/controllers/ActionController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;GAGG;AACH,MAAM,OAAO,gBAAgB;IAMzB;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,8CAAsB;QAStB;;;WAGG;QACH,WAAM,GAAG,GAAS,EAAE;YAChB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,mCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAmB,MAAM,CAAC,CAAC,CAAC;QAC9F,CAAC,CAAA,CAAC;QAEF;;;;WAIG;QACH,YAAO,GAAG,CAAO,EAAM,EAAE,EAAE;YACvB,MAAM,GAAG,GAAG,MAAM,uBAAA,IA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GAAS,EAAE;YAChB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,mCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QACrF,CAAC,CAAA,CAAC;QA9IE,uBAAA,IAAI,+BAAc,SAAS,MAAA,CAAC;IAChC,CAAC;CA8IJ"}
@@ -14,57 +14,57 @@ export declare class AnimationController {
14
14
  * This method returns all animations on current layout
15
15
  * @returns list of all animation on current layout
16
16
  */
17
- getAllOnSelectedLayout: () => Promise<import("../types/CommonTypes").EditorResponse<FrameAnimationPropertiesType[]>>;
17
+ getAllOnSelectedLayout: () => Promise<import('../types/CommonTypes').EditorResponse<FrameAnimationPropertiesType[]>>;
18
18
  /**
19
19
  * This method returns an animation for a given frame and layout IDs
20
20
  * @param id the id of a specific frame
21
21
  * @param layoutId the id of a specific layout
22
22
  * @returns animation properties for a given frame and layout
23
23
  */
24
- getByFrameId: (id: Id, layoutId?: Id) => Promise<import("../types/CommonTypes").EditorResponse<FrameAnimationPropertiesType>>;
24
+ getByFrameId: (id: Id, layoutId?: Id) => Promise<import('../types/CommonTypes').EditorResponse<FrameAnimationPropertiesType>>;
25
25
  /**
26
26
  * This method returns the animations for a given layout id
27
27
  * @param id the id of a specific layout
28
28
  * @returns animation properties for a given layout
29
29
  */
30
- getByLayoutId: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<FrameAnimationPropertiesType>>;
30
+ getByLayoutId: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<FrameAnimationPropertiesType>>;
31
31
  /**
32
32
  * This method sets the animation state for a certain Frame
33
33
  * @param animation animation properties
34
34
  * @returns updated animation properties
35
35
  */
36
- setFrameAnimation: (animation: FrameAnimationPropertiesType) => Promise<import("../types/CommonTypes").EditorResponse<FrameAnimationPropertiesType>>;
36
+ setFrameAnimation: (animation: FrameAnimationPropertiesType) => Promise<import('../types/CommonTypes').EditorResponse<FrameAnimationPropertiesType>>;
37
37
  /**
38
38
  * This method triggers the animation to play
39
39
  * @returns
40
40
  */
41
- play: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
41
+ play: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
42
42
  /**
43
43
  * This method triggers the animation to pause
44
44
  * @returns
45
45
  */
46
- pause: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
46
+ pause: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
47
47
  /**
48
48
  * This method sets the animation time to a certain time, expressed in milliseconds
49
49
  * @param timeInMS the time expressed in milliseconds
50
50
  * @returns
51
51
  */
52
- setScrubberPosition: (timeInMS: number) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
52
+ setScrubberPosition: (timeInMS: number) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
53
53
  /**
54
54
  * This method sets the total and maximum duration of the animation, expressed in milliseconds
55
55
  * @param timeInMS the time expressed in milliseconds
56
56
  * @returns
57
57
  */
58
- setDuration: (timeInMS: number) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
58
+ setDuration: (timeInMS: number) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
59
59
  /**
60
60
  * This method resets the animation to its initial state
61
61
  * @param id the id of a certain frame
62
62
  * @returns
63
63
  */
64
- resetFrameAnimation: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
64
+ resetFrameAnimation: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
65
65
  /**
66
66
  * This method resets the layout's animations and animation duration to its initial state
67
67
  * @returns
68
68
  */
69
- reset: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
69
+ reset: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
70
70
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AnimationController.js","sourceRoot":"","sources":["../../../src/controllers/AnimationController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAA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.
27
27
  * @returns
28
28
  */
29
- setEnableBackground: (id: Id, enableBackground: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
29
+ setEnableBackground: (id: Id, enableBackground: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
30
30
  /**
31
31
  * @experimental This method will set the barcode background color of a specified barcode frame.
32
32
  * @param id the id of the barcodeFrame that needs to be updated.
33
33
  * @param backgroundColor the new barcode background color that you want to set to the barcodeFrame.
34
34
  * @returns
35
35
  */
36
- setBackgroundColor: (id: Id, backgroundColor: ColorUsage) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
36
+ setBackgroundColor: (id: Id, backgroundColor: ColorUsage) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
37
37
  /**
38
38
  * @experimental This method will set the visibility of the barcode's bars.
39
39
  * @param id the id of the barcodeFrame that needs to be updated.
40
40
  * @param enableBars Whether the barcode bars are visible.
41
41
  * @returns
42
42
  */
43
- setEnableBars: (id: Id, enableBars: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
43
+ setEnableBars: (id: Id, enableBars: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
44
44
  /**
45
45
  * @experimental This method will set the bar color of a specified barcode frame.
46
46
  * @param id the id of the barcodeFrame that needs to be updated.
47
47
  * @param barColor the new bar color that you want to set to the barcodeFrame.
48
48
  * @returns
49
49
  */
50
- setBarColor: (id: Id, barColor: ColorUsage) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
50
+ setBarColor: (id: Id, barColor: ColorUsage) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
51
51
  /**
52
52
  * @experimental This method will set the source of the barcode to the given source.
53
53
  * @param id the id of the barcodeFrame that needs to be updated.
54
54
  * @param source the new source that you want to set to the barcodeFrame.
55
55
  * @returns
56
56
  */
57
- setBarcodeSource: (id: Id, source: BarcodeSource) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
57
+ setBarcodeSource: (id: Id, source: BarcodeSource) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
58
58
  /**
59
59
  * @experimental This method will remove the source from the barcode frame provided.
60
60
  * @param id the id of the barcodeFrame that needs to have the source removed.
61
61
  * @returns
62
62
  */
63
- removeBarcodeSource: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
63
+ removeBarcodeSource: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
64
64
  /**
65
65
  * @experimental This method enables/disables displaying the text of the barcode.
66
66
  * @param id the id of the barcodeFrame that needs to be updated.
67
67
  * @param enableText true if the text should be displayed, false otherwise.
68
68
  * @returns
69
69
  */
70
- setEnableText: (id: Id, enableText: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
70
+ setEnableText: (id: Id, enableText: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
71
71
  /**
72
72
  * @experimental This method sets the bar height for 1-dimensional barcodes.
73
73
  * @param id the id of the barcodeFrame that needs to be updated.
74
74
  * @param barHeight the height of the bars in the barcode. The string value will be calculated (f.e. 1+1 will result in 2)
75
75
  * @returns
76
76
  */
77
- setBarHeight: (id: Id, barHeight: string) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
77
+ setBarHeight: (id: Id, barHeight: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
78
78
  /**
79
79
  * @experimental This method sets the magnification for 1-dimensional barcodes.
80
80
  * @param id the id of the barcodeFrame that needs to be updated.
81
81
  * @param magnification the magnification of the barcode. This is a decimal value where 1 denotes 100%. (f.e. 1.5 will result in 150%)
82
82
  * @returns
83
83
  */
84
- setMagnification: (id: Id, magnification: number) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
84
+ setMagnification: (id: Id, magnification: number) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
85
85
  /**
86
86
  * @experimental This method sets the quiet zone value of a specific barcode.
87
87
  * @param id The id of the specific barcode frame
@@ -90,27 +90,27 @@ export declare class BarcodeController {
90
90
  * otherwise will set all positions to the same value. Depending on this parameter
91
91
  * being defined, the `areQuietZoneValuesCombined` will also be updated.
92
92
  */
93
- setQuietZoneValue: (id: Id, value: string, position?: PositionEnum) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
93
+ setQuietZoneValue: (id: Id, value: string, position?: PositionEnum) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
94
94
  /**
95
95
  * @experimental This method sets the combined state of the quiet zone values.
96
96
  * @param id The id of the specific barcode frame
97
97
  * @param value Whether the quiet zone values are combined
98
98
  */
99
- setAreQuietZoneValuesCombined: (id: Id, value: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
99
+ setAreQuietZoneValuesCombined: (id: Id, value: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
100
100
  /**
101
101
  * @experimental This method sets the character set for the barcode.
102
102
  * @param id The id of the specific barcode frame.
103
103
  * @param errorCorrectionLevel The error correction level to set.
104
104
  * @returns
105
105
  */
106
- setErrorCorrectionLevel: (id: Id, errorCorrectionLevel: BarcodeErrorCorrectionLevel) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
106
+ setErrorCorrectionLevel: (id: Id, errorCorrectionLevel: BarcodeErrorCorrectionLevel) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
107
107
  /**
108
108
  * @experimental This method sets the character set for the barcode.
109
109
  * @param id The id of the specific barcode frame.
110
110
  * @param characterSet The character set to set.
111
111
  * @returns
112
112
  */
113
- setCharacterSet: (id: Id, characterSet: BarcodeCharacterSet) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
113
+ setCharacterSet: (id: Id, characterSet: BarcodeCharacterSet) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
114
114
  /**
115
115
  * @experimental This method sets the flag to render the end characters of the barcode. This is not
116
116
  * supported for all barcode types.
@@ -118,7 +118,7 @@ export declare class BarcodeController {
118
118
  * @param drawLightMarginIndicator The flag indicating if the end characters should be drawn or not
119
119
  * @returns
120
120
  */
121
- setDrawLightMarginIndicator: (id: Id, drawLightMarginIndicator: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
121
+ setDrawLightMarginIndicator: (id: Id, drawLightMarginIndicator: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
122
122
  /**
123
123
  * @experimental This method sets the flag to render the start and end characters of the barcode. This is not
124
124
  * supported for all barcode types.
@@ -126,7 +126,7 @@ export declare class BarcodeController {
126
126
  * @param drawStartStopChars The flag indicating if the start and stop characters should be drawn or not
127
127
  * @returns
128
128
  */
129
- setDrawStartStopChars: (id: Id, drawStartStopChars: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
129
+ setDrawStartStopChars: (id: Id, drawStartStopChars: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
130
130
  /**
131
131
  * @experimental This method returns the possible configuration options which are valid for the given barcode type.
132
132
  * @param type the barcode type for which the configuration options are requested.
@@ -1 +1 @@
1
- {"version":3,"file":"BarcodeController.js","sourceRoot":"","sources":["../../../src/controllers/BarcodeController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAGH,WAAW,EAEX,mBAAmB,EACnB,2BAA2B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD;;;GAGG;AACH,MAAM,OAAO,iBAAiB;IAM1B;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,+CAAsB;QAStB;;;;;WAKG;QACK,yBAAoB,GAAG,CAAO,EAAM,EAAE,UAA6B,EAAE,EAAE;YAC3E,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,oCAAW,CAAC;YAClC,OAAO,GAAG;iBACL,oBAAoB,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;iBACpD,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QA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QAAQ;qBAC/B,CAAC;oBACF,MAAM;gBACV,KAAK,WAAW,CAAC,MAAM;oBACnB,8BAA8B,GAAG,IAAI,CAAC;oBACtC,MAAM;YACd,CAAC;YACD,OAAO;gBACH,wBAAwB,EAAE,wBAAwB;gBAClD,cAAc,EAAE,cAAc;gBAC9B,cAAc,EAAE,IAAI;gBACpB,oBAAoB,EAAE,oBAAoB;gBAC1C,4BAA4B,EAAE,4BAA4B;gBAC1D,eAAe,EAAE,eAAe;gBAChC,uBAAuB,EAAE,uBAAuB;gBAChD,+BAA+B,EAAE,+BAA+B;gBAChE,8BAA8B,EAAE,8BAA8B;aACjE,CAAC;QACN,CAAC,CAAC;QA1QE,uBAAA,IAAI,gCAAc,SAAS,MAAA,CAAC;IAChC,CAAC;CA0QJ"}
1
+ {"version":3,"file":"BarcodeController.js","sourceRoot":"","sources":["../../../../src/controllers/BarcodeController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAGH,WAAW,EAEX,mBAAmB,EACnB,2BAA2B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD;;;GAGG;AACH,MAAM,OAAO,iBAAiB;IAM1B;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,+CAAsB;QAStB;;;;;WAKG;QACK,yBAAoB,GAAG,CAAO,EAAM,EAAE,UAA6B,EAAE,EAAE;YAC3E,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,oCAAW,CAAC;YAClC,OAAO,GAAG;iBACL,oBAAoB,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;iBACpD,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QAC/D,CAAC,CAAA,CAAC;QAEF;;;;;WAKG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