@jigx/core-sdk 1.2.0-next.5 → 1.2.0-next.50

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 (379) hide show
  1. package/README.md +9 -83
  2. package/dist/PACKAGE.d.ts +1 -0
  3. package/dist/PACKAGE.d.ts.map +1 -1
  4. package/dist/PACKAGE.js +3 -2
  5. package/dist/abstract/app-name.d.ts +2 -2
  6. package/dist/abstract/app-name.d.ts.map +1 -1
  7. package/dist/abstract/app-name.js +3 -3
  8. package/dist/abstract/sdk.expression.d.ts.map +1 -1
  9. package/dist/abstract/sdk.expression.js +2 -2
  10. package/dist/abstract/sdk.text.d.ts +1 -0
  11. package/dist/abstract/sdk.text.d.ts.map +1 -1
  12. package/dist/abstract/sdk.text.js +8 -2
  13. package/dist/abstract/sdk.types.d.ts +1 -1
  14. package/dist/abstract/sdk.types.d.ts.map +1 -1
  15. package/dist/abstract/sdk.types.js +11 -26
  16. package/dist/abstract/zod.types.d.ts +23 -3
  17. package/dist/abstract/zod.types.d.ts.map +1 -1
  18. package/dist/abstract/zod.types.js +11 -4
  19. package/dist/action/index.d.ts +5 -0
  20. package/dist/action/index.d.ts.map +1 -1
  21. package/dist/action/index.js +3 -1
  22. package/dist/action/ja.action-list.d.ts +2 -3
  23. package/dist/action/ja.action-list.d.ts.map +1 -1
  24. package/dist/action/ja.action-list.js +2 -3
  25. package/dist/action/ja.confirm.d.ts +2 -1
  26. package/dist/action/ja.confirm.d.ts.map +1 -1
  27. package/dist/action/ja.confirm.js +22 -6
  28. package/dist/action/ja.connect-sign-in.d.ts +34 -0
  29. package/dist/action/ja.connect-sign-in.d.ts.map +1 -0
  30. package/dist/action/ja.connect-sign-in.js +29 -0
  31. package/dist/action/ja.delete-queue-command.d.ts +11 -6
  32. package/dist/action/ja.delete-queue-command.d.ts.map +1 -1
  33. package/dist/action/ja.delete-queue-command.js +8 -8
  34. package/dist/action/ja.execute-entities.d.ts +2 -1
  35. package/dist/action/ja.execute-entities.d.ts.map +1 -1
  36. package/dist/action/ja.execute-entities.js +3 -2
  37. package/dist/action/ja.execute-entity.abstract.d.ts +13 -2
  38. package/dist/action/ja.execute-entity.abstract.d.ts.map +1 -1
  39. package/dist/action/ja.execute-entity.abstract.js +25 -1
  40. package/dist/action/ja.generate-pdf.d.ts +48 -2
  41. package/dist/action/ja.generate-pdf.d.ts.map +1 -1
  42. package/dist/action/ja.generate-pdf.js +7 -1
  43. package/dist/action/ja.in-background.d.ts +19 -2
  44. package/dist/action/ja.in-background.d.ts.map +1 -1
  45. package/dist/action/ja.in-background.factory.d.ts +4 -0
  46. package/dist/action/ja.in-background.factory.d.ts.map +1 -1
  47. package/dist/action/ja.in-background.factory.js +5 -1
  48. package/dist/action/ja.in-background.js +26 -3
  49. package/dist/action/ja.on-button.factory.d.ts +4 -0
  50. package/dist/action/ja.on-button.factory.d.ts.map +1 -1
  51. package/dist/action/ja.on-button.factory.js +5 -1
  52. package/dist/action/ja.open-map.d.ts +1 -1
  53. package/dist/action/ja.open-map.js +2 -2
  54. package/dist/action/ja.open-media-picker.abstract.d.ts +8 -0
  55. package/dist/action/ja.open-media-picker.abstract.d.ts.map +1 -1
  56. package/dist/action/ja.open-media-picker.abstract.js +1 -1
  57. package/dist/action/ja.open-media-picker.d.ts +8 -0
  58. package/dist/action/ja.open-media-picker.d.ts.map +1 -1
  59. package/dist/action/ja.open-media-picker.js +8 -1
  60. package/dist/action/ja.queue-options.d.ts +27 -0
  61. package/dist/action/ja.queue-options.d.ts.map +1 -0
  62. package/dist/action/ja.queue-options.js +30 -0
  63. package/dist/action/ja.retry-queue-command.d.ts +9 -4
  64. package/dist/action/ja.retry-queue-command.d.ts.map +1 -1
  65. package/dist/action/ja.retry-queue-command.js +9 -5
  66. package/dist/action/ja.set-state.d.ts +22 -0
  67. package/dist/action/ja.set-state.d.ts.map +1 -0
  68. package/dist/action/ja.set-state.js +24 -0
  69. package/dist/action/ja.share.d.ts +2 -3
  70. package/dist/action/ja.share.d.ts.map +1 -1
  71. package/dist/action/ja.share.js +1 -1
  72. package/dist/action/ja.show-alert.d.ts +11 -29
  73. package/dist/action/ja.show-alert.d.ts.map +1 -1
  74. package/dist/action/ja.show-alert.js +16 -19
  75. package/dist/action/ja.submit-form.d.ts +8 -1
  76. package/dist/action/ja.submit-form.d.ts.map +1 -1
  77. package/dist/action/ja.submit-form.js +8 -2
  78. package/dist/application/application.component.d.ts +90 -0
  79. package/dist/application/application.component.d.ts.map +1 -0
  80. package/dist/application/application.component.js +68 -0
  81. package/dist/application/application.sdk.d.ts +31 -6
  82. package/dist/application/application.sdk.d.ts.map +1 -1
  83. package/dist/application/application.sdk.js +42 -12
  84. package/dist/application/application.tab.d.ts +4 -3
  85. package/dist/application/application.tab.d.ts.map +1 -1
  86. package/dist/application/application.tab.js +2 -2
  87. package/dist/application/application.table-changed.d.ts +19 -0
  88. package/dist/application/application.table-changed.d.ts.map +1 -0
  89. package/dist/application/application.table-changed.js +22 -0
  90. package/dist/application/context.sdk.d.ts +6 -2
  91. package/dist/application/context.sdk.d.ts.map +1 -1
  92. package/dist/application/context.sdk.js +7 -24
  93. package/dist/application/index.d.ts +2 -0
  94. package/dist/application/index.d.ts.map +1 -1
  95. package/dist/application/index.js +3 -1
  96. package/dist/assets/example-extraction-cache.json +5 -5
  97. package/dist/assets/extracted-core-sdk-examples.yaml +966 -501
  98. package/dist/assets/tabler-icons.csv +5185 -0
  99. package/dist/builder/types.d.ts +1 -1
  100. package/dist/builder/types.d.ts.map +1 -1
  101. package/dist/builder/types.js +1 -1
  102. package/dist/builder/validate-datasource-ids.d.ts +0 -10
  103. package/dist/builder/validate-datasource-ids.d.ts.map +1 -1
  104. package/dist/builder/validate-datasource-ids.js +2 -5
  105. package/dist/component/common/jc.component.types.d.ts +8 -4
  106. package/dist/component/common/jc.component.types.d.ts.map +1 -1
  107. package/dist/component/common/jc.component.types.js +10 -15
  108. package/dist/component/common/jc.left-right.element.icon.d.ts.map +1 -1
  109. package/dist/component/common/jc.left-right.element.icon.js +3 -8
  110. package/dist/component/common/jc.picker-field-options.types.d.ts +4 -0
  111. package/dist/component/common/jc.picker-field-options.types.d.ts.map +1 -1
  112. package/dist/component/common/jc.picker-field-options.types.js +1 -1
  113. package/dist/component/common/jc.validation.d.ts +1 -1
  114. package/dist/component/common/jc.validation.d.ts.map +1 -1
  115. package/dist/component/common/jc.validation.js +2 -2
  116. package/dist/component/index.d.ts +3 -0
  117. package/dist/component/index.d.ts.map +1 -1
  118. package/dist/component/index.js +4 -1
  119. package/dist/component/jc.abstract.factory.d.ts +10 -1
  120. package/dist/component/jc.abstract.factory.d.ts.map +1 -1
  121. package/dist/component/jc.abstract.factory.js +11 -1
  122. package/dist/component/jc.abstract.utils.d.ts.map +1 -1
  123. package/dist/component/jc.abstract.utils.js +1 -2
  124. package/dist/component/jc.amount-control.d.ts +2 -2
  125. package/dist/component/jc.amount-control.d.ts.map +1 -1
  126. package/dist/component/jc.amount-control.js +1 -1
  127. package/dist/component/jc.avatar-field.d.ts.map +1 -1
  128. package/dist/component/jc.avatar-field.js +4 -1
  129. package/dist/component/jc.avatar.d.ts.map +1 -1
  130. package/dist/component/jc.avatar.js +7 -2
  131. package/dist/component/jc.banner.d.ts +2 -0
  132. package/dist/component/jc.banner.d.ts.map +1 -1
  133. package/dist/component/jc.card.on-custom-component.d.ts +89 -0
  134. package/dist/component/jc.card.on-custom-component.d.ts.map +1 -0
  135. package/dist/component/jc.card.on-custom-component.js +89 -0
  136. package/dist/component/jc.card.on-default.d.ts +5 -1
  137. package/dist/component/jc.card.on-default.d.ts.map +1 -1
  138. package/dist/component/jc.card.on-default.js +5 -1
  139. package/dist/component/jc.carousel.js +2 -2
  140. package/dist/component/jc.chat-message.d.ts.map +1 -1
  141. package/dist/component/jc.chat-message.js +11 -5
  142. package/dist/component/jc.chat.d.ts +1 -0
  143. package/dist/component/jc.chat.d.ts.map +1 -1
  144. package/dist/component/jc.chat.js +2 -2
  145. package/dist/component/jc.dropdown.item.d.ts.map +1 -1
  146. package/dist/component/jc.dropdown.item.js +6 -2
  147. package/dist/component/jc.duration-picker.d.ts.map +1 -1
  148. package/dist/component/jc.duration-picker.js +10 -14
  149. package/dist/component/jc.entity-field.d.ts.map +1 -1
  150. package/dist/component/jc.entity-field.js +3 -6
  151. package/dist/component/jc.expander.d.ts +1 -1
  152. package/dist/component/jc.field-row.d.ts +2 -0
  153. package/dist/component/jc.field-row.d.ts.map +1 -1
  154. package/dist/component/jc.field-row.js +3 -1
  155. package/dist/component/jc.form.d.ts +3 -1
  156. package/dist/component/jc.form.d.ts.map +1 -1
  157. package/dist/component/jc.form.js +3 -1
  158. package/dist/component/jc.guards.d.ts +1 -1
  159. package/dist/component/jc.guards.d.ts.map +1 -1
  160. package/dist/component/jc.guards.js +1 -1
  161. package/dist/component/jc.icon.js +2 -2
  162. package/dist/component/jc.image.d.ts +3 -2
  163. package/dist/component/jc.image.d.ts.map +1 -1
  164. package/dist/component/jc.image.js +1 -1
  165. package/dist/component/jc.image.on-custom-component.d.ts +53 -0
  166. package/dist/component/jc.image.on-custom-component.d.ts.map +1 -0
  167. package/dist/component/jc.image.on-custom-component.js +29 -0
  168. package/dist/component/jc.interactive-image.d.ts +21 -7
  169. package/dist/component/jc.interactive-image.d.ts.map +1 -1
  170. package/dist/component/jc.interactive-image.js +20 -13
  171. package/dist/component/jc.list-item.d.ts +2 -0
  172. package/dist/component/jc.list-item.d.ts.map +1 -1
  173. package/dist/component/jc.list-item.js +4 -1
  174. package/dist/component/jc.list.d.ts +2 -2
  175. package/dist/component/jc.list.d.ts.map +1 -1
  176. package/dist/component/jc.list.js +5 -20
  177. package/dist/component/jc.media-field.d.ts +1 -3
  178. package/dist/component/jc.media-field.d.ts.map +1 -1
  179. package/dist/component/jc.media-field.js +4 -1
  180. package/dist/component/jc.menu-item.d.ts +2 -0
  181. package/dist/component/jc.menu-item.d.ts.map +1 -1
  182. package/dist/component/jc.number-field.d.ts +1 -0
  183. package/dist/component/jc.number-field.d.ts.map +1 -1
  184. package/dist/component/jc.number-field.js +2 -1
  185. package/dist/component/jc.product-item.d.ts +1 -2
  186. package/dist/component/jc.product-item.d.ts.map +1 -1
  187. package/dist/component/jc.product-item.js +1 -19
  188. package/dist/component/jc.progress-bar.d.ts +3 -4
  189. package/dist/component/jc.progress-bar.d.ts.map +1 -1
  190. package/dist/component/jc.progress-bar.js +1 -1
  191. package/dist/component/jc.rating.js +2 -2
  192. package/dist/component/jc.scanner-field.d.ts +29 -0
  193. package/dist/component/jc.scanner-field.d.ts.map +1 -0
  194. package/dist/component/jc.scanner-field.js +41 -0
  195. package/dist/component/jc.section.abstract.d.ts +2 -0
  196. package/dist/component/jc.section.abstract.d.ts.map +1 -1
  197. package/dist/component/jc.section.on-default.d.ts +4 -3
  198. package/dist/component/jc.section.on-default.d.ts.map +1 -1
  199. package/dist/component/jc.section.on-default.js +4 -3
  200. package/dist/component/jc.stepper.d.ts.map +1 -1
  201. package/dist/component/jc.stepper.js +4 -20
  202. package/dist/component/jc.summary.abstract.d.ts +2 -2
  203. package/dist/component/jc.summary.abstract.js +3 -3
  204. package/dist/component/jc.summary.card.d.ts +2 -3
  205. package/dist/component/jc.summary.card.d.ts.map +1 -1
  206. package/dist/component/jc.summary.card.js +3 -3
  207. package/dist/component/jc.summary.counter.d.ts +1 -2
  208. package/dist/component/jc.summary.counter.d.ts.map +1 -1
  209. package/dist/component/jc.summary.counter.js +2 -2
  210. package/dist/component/jc.summary.default.d.ts +0 -1
  211. package/dist/component/jc.summary.default.d.ts.map +1 -1
  212. package/dist/component/jc.summary.default.js +1 -1
  213. package/dist/component/jc.summary.progress.d.ts +7 -9
  214. package/dist/component/jc.summary.progress.d.ts.map +1 -1
  215. package/dist/component/jc.summary.progress.js +1 -1
  216. package/dist/component/jc.tab-button.js +2 -2
  217. package/dist/component/jc.text.d.ts +2 -3
  218. package/dist/component/jc.text.d.ts.map +1 -1
  219. package/dist/component/jc.text.js +1 -1
  220. package/dist/component/jc.types.d.ts +1 -0
  221. package/dist/component/jc.types.d.ts.map +1 -1
  222. package/dist/component/jc.types.js +2 -1
  223. package/dist/component/jc.video-player.on-jig.d.ts +3 -4
  224. package/dist/component/jc.video-player.on-jig.d.ts.map +1 -1
  225. package/dist/component/jc.video-player.on-jig.js +1 -11
  226. package/dist/component/jc.view.d.ts +9 -5
  227. package/dist/component/jc.view.d.ts.map +1 -1
  228. package/dist/component/jc.view.js +14 -10
  229. package/dist/component/jc.web-view.abstract.d.ts +1 -0
  230. package/dist/component/jc.web-view.abstract.d.ts.map +1 -1
  231. package/dist/component/jc.web-view.abstract.js +1 -1
  232. package/dist/component/jc.web-view.on-full.d.ts +1 -0
  233. package/dist/component/jc.web-view.on-full.d.ts.map +1 -1
  234. package/dist/component/jc.web-view.on-full.js +7 -3
  235. package/dist/database/database.abstract.d.ts +0 -6
  236. package/dist/database/database.abstract.d.ts.map +1 -1
  237. package/dist/database/database.abstract.js +1 -1
  238. package/dist/datasource/datasource.reference.d.ts.map +1 -1
  239. package/dist/datasource/datasource.reference.js +7 -2
  240. package/dist/datasource/datasource.sqlite.d.ts +5 -5
  241. package/dist/datasource/datasource.sqlite.d.ts.map +1 -1
  242. package/dist/datasource/datasource.sqlite.js +7 -5
  243. package/dist/datasource/datasource.static.d.ts +4 -3
  244. package/dist/datasource/datasource.static.d.ts.map +1 -1
  245. package/dist/datasource/datasource.static.js +8 -4
  246. package/dist/datasource/datasource.system.d.ts +1 -1
  247. package/dist/datasource/datasource.system.js +2 -2
  248. package/dist/datasource/sqlite-normalizer.d.ts +16 -2
  249. package/dist/datasource/sqlite-normalizer.d.ts.map +1 -1
  250. package/dist/datasource/sqlite-normalizer.js +75 -11
  251. package/dist/datasource/sqlite-validator.d.ts +2 -1
  252. package/dist/datasource/sqlite-validator.d.ts.map +1 -1
  253. package/dist/datasource/sqlite-validator.js +84 -48
  254. package/dist/function/function.abstract.d.ts +21 -12
  255. package/dist/function/function.abstract.d.ts.map +1 -1
  256. package/dist/function/function.abstract.js +18 -5
  257. package/dist/function/function.guard.d.ts +2 -1
  258. package/dist/function/function.guard.d.ts.map +1 -1
  259. package/dist/function/function.guard.js +3 -2
  260. package/dist/function/function.operation.d.ts +3 -3
  261. package/dist/function/function.operation.d.ts.map +1 -1
  262. package/dist/function/function.operation.js +1 -1
  263. package/dist/function/function.rest.d.ts +8 -0
  264. package/dist/function/function.rest.d.ts.map +1 -1
  265. package/dist/function/function.rest.error-builder.d.ts +5 -5
  266. package/dist/function/function.rest.error-builder.d.ts.map +1 -1
  267. package/dist/function/function.rest.error-builder.js +5 -7
  268. package/dist/function/function.rest.js +12 -6
  269. package/dist/function/function.rest.parameter-builder.d.ts +1 -1
  270. package/dist/function/function.rest.parameter-builder.d.ts.map +1 -1
  271. package/dist/function/function.rest.parameter-builder.js +8 -3
  272. package/dist/function/function.rest.types.d.ts +2 -0
  273. package/dist/function/function.rest.types.d.ts.map +1 -1
  274. package/dist/function/function.rest.types.js +1 -1
  275. package/dist/function/function.soap.d.ts.map +1 -1
  276. package/dist/function/function.soap.js +3 -6
  277. package/dist/function/function.soap.parameter-builder.d.ts.map +1 -1
  278. package/dist/function/function.soap.parameter-builder.js +8 -3
  279. package/dist/function/function.sql.d.ts +2 -0
  280. package/dist/function/function.sql.d.ts.map +1 -1
  281. package/dist/function/function.sql.js +5 -6
  282. package/dist/function/function.sql.parameter-builder.d.ts +4 -4
  283. package/dist/function/function.sql.parameter-builder.js +5 -5
  284. package/dist/icon/sdk.icon.d.ts +5 -5
  285. package/dist/icon/sdk.icon.d.ts.map +1 -1
  286. package/dist/icon/sdk.icon.data.d.ts +2 -2
  287. package/dist/icon/sdk.icon.data.d.ts.map +1 -1
  288. package/dist/icon/sdk.icon.data.js +5187 -19280
  289. package/dist/icon/sdk.icon.js +9 -9
  290. package/dist/icon/sdk.icon.name.d.ts +3 -4
  291. package/dist/icon/sdk.icon.name.d.ts.map +1 -1
  292. package/dist/icon/sdk.icon.name.js +4906 -19000
  293. package/dist/jsonata/context.d.ts.map +1 -1
  294. package/dist/jsonata/context.js +12 -3
  295. package/dist/jsonata/validate-all-expressions.d.ts +16 -5
  296. package/dist/jsonata/validate-all-expressions.d.ts.map +1 -1
  297. package/dist/jsonata/validate-all-expressions.js +388 -6
  298. package/dist/screen/common/screen.bottom-sheet.d.ts +4 -14
  299. package/dist/screen/common/screen.bottom-sheet.d.ts.map +1 -1
  300. package/dist/screen/common/screen.bottom-sheet.js +1 -1
  301. package/dist/screen/common/screen.default-children.d.ts +4 -2
  302. package/dist/screen/common/screen.default-children.d.ts.map +1 -1
  303. package/dist/screen/common/screen.default-children.js +4 -2
  304. package/dist/screen/common/screen.preview.actions.d.ts +1 -14
  305. package/dist/screen/common/screen.preview.actions.d.ts.map +1 -1
  306. package/dist/screen/common/screen.preview.actions.js +1 -1
  307. package/dist/screen/index.d.ts +2 -0
  308. package/dist/screen/index.d.ts.map +1 -1
  309. package/dist/screen/index.js +1 -1
  310. package/dist/screen/normalize-screen-datasource.d.ts +5 -0
  311. package/dist/screen/normalize-screen-datasource.d.ts.map +1 -0
  312. package/dist/screen/normalize-screen-datasource.js +10 -0
  313. package/dist/screen/screen.abstract.d.ts +1 -1
  314. package/dist/screen/screen.abstract.d.ts.map +1 -1
  315. package/dist/screen/screen.abstract.js +1 -1
  316. package/dist/screen/screen.calendar.d.ts.map +1 -1
  317. package/dist/screen/screen.calendar.js +4 -13
  318. package/dist/screen/screen.default.d.ts +4 -2
  319. package/dist/screen/screen.default.d.ts.map +1 -1
  320. package/dist/screen/screen.document.d.ts +9 -16
  321. package/dist/screen/screen.document.d.ts.map +1 -1
  322. package/dist/screen/screen.document.js +1 -1
  323. package/dist/screen/screen.full-screen.d.ts +6 -2
  324. package/dist/screen/screen.full-screen.d.ts.map +1 -1
  325. package/dist/screen/screen.full-screen.js +10 -2
  326. package/dist/screen/screen.grid.base.d.ts +1 -1
  327. package/dist/screen/screen.grid.base.d.ts.map +1 -1
  328. package/dist/screen/screen.grid.dynamic.d.ts.map +1 -1
  329. package/dist/screen/screen.grid.dynamic.js +4 -13
  330. package/dist/screen/screen.list.d.ts +5 -3
  331. package/dist/screen/screen.list.d.ts.map +1 -1
  332. package/dist/screen/screen.list.js +12 -13
  333. package/dist/screen/screen.tabs.d.ts +1 -1
  334. package/dist/screen/screen.tabs.d.ts.map +1 -1
  335. package/dist/screen/screen.tabs.instance.d.ts +4 -1
  336. package/dist/screen/screen.tabs.instance.d.ts.map +1 -1
  337. package/dist/screen/screen.tabs.instance.js +6 -2
  338. package/dist/screen/screen.tabs.js +1 -2
  339. package/dist/screen/screen.wizard.d.ts +0 -2
  340. package/dist/screen/screen.wizard.d.ts.map +1 -1
  341. package/dist/screen/screen.wizard.js +1 -4
  342. package/dist/utils/dedent.d.ts +3 -13
  343. package/dist/utils/dedent.d.ts.map +1 -1
  344. package/dist/utils/dedent.js +4 -14
  345. package/dist/utils/index.d.ts +0 -1
  346. package/dist/utils/index.d.ts.map +1 -1
  347. package/dist/utils/index.js +1 -1
  348. package/dist/utils/utils.d.ts +0 -8
  349. package/dist/utils/utils.d.ts.map +1 -1
  350. package/dist/utils/utils.js +1 -18
  351. package/dist/widget/jw.image.js +2 -2
  352. package/docs/array-fields.md +5 -5
  353. package/docs/conditional-logic.md +2 -2
  354. package/docs/dropdown-fields.md +13 -13
  355. package/docs/field-state.md +5 -5
  356. package/docs/field-types-overview.md +2 -2
  357. package/docs/formatting.md +3 -3
  358. package/docs/icons.md +34 -30
  359. package/docs/index.md +26 -20
  360. package/docs/jsonata-expressions.md +3 -3
  361. package/docs/overview.md +42 -467
  362. package/docs/pattern-build-deploy.md +18 -6
  363. package/docs/pattern-command-batches.md +103 -0
  364. package/docs/pattern-data-runtime.md +99 -0
  365. package/docs/pattern-datasources.md +7 -0
  366. package/docs/pattern-javascript-functions.md +5 -5
  367. package/docs/pattern-navigation.md +9 -2
  368. package/docs/pattern-pdf-generation.md +57 -8
  369. package/docs/pattern-rest-acumatica.md +11 -4
  370. package/docs/pattern-sync.md +14 -11
  371. package/docs/pattern-tabs-form.md +1 -1
  372. package/docs/recipe-index.md +3 -0
  373. package/docs/runtime-variables.md +68 -1
  374. package/docs/sections.md +1 -1
  375. package/package.json +18 -16
  376. package/dist/assets/stream-line-icons.csv +0 -19278
  377. package/dist/utils/types.d.ts +0 -2
  378. package/dist/utils/types.d.ts.map +0 -1
  379. package/dist/utils/types.js +0 -2
package/docs/index.md CHANGED
@@ -1,23 +1,29 @@
1
- # Expert SDK Documentation
1
+ # Core SDK documentation
2
2
 
3
- Available documentation resources for Expert SDK forms and wizards.
3
+ Use `@jigx/core-sdk` to build native mobile Applications with TypeScript. Start with
4
+ [Overview](./overview.md), then [Recipes](./recipe-index.md). Public builder inputs
5
+ and TSDoc ship in `dist/**/*.d.ts`; runnable examples ship in
6
+ `dist/assets/extracted-core-sdk-examples.yaml`.
4
7
 
5
- | Resource | Description |
8
+ | Task | Guide |
6
9
  | --- | --- |
7
- expressions |
8
- | [JSONata Expressions](./jsonata-expressions.md) | JSONata expression language for dynamic values |
9
- | [Conditional Logic](./conditional-logic.md) | Show/hide and require fields based on other field values using JsonataBuilder |
10
- | [Validation Patterns](./validation-patterns.md) | Custom field validation using errorText with JsonataBuilder expressions |
11
- | [Sections](./sections.md) | Group related fields visually within steps using addSection() |
12
- | [Dropdown Fields](./dropdown-fields.md) | Single/multi-select dropdowns with static, dynamic, and arrayField data sources |
13
- | [Choice Fields](./choice-fields.md) | Radio buttons and chips with grid layout for small option sets |
14
- | [Array Fields](./array-fields.md) | Nested repeating forms for collecting multiple items (invoice line items, team members, checklist tasks) |
15
- | [Array Initialization](./predefined-array-items.md) | Static arrays (subforms, fixed lists) and dynamic arrays from related fields using ArrayField value property |
16
- | [Date Field](./date-field.md) | Date, time, and datetime picker fields with mode, minimum, and maximum constraints |
17
- | [Formatting](./formatting.md) | Number, currency, date, and unit formatting via format property and FormatBuilder class (ECMA-402 standard) |
18
- | [Media Fields](./media-fields.md) | File upload, signature capture, and avatar selection fields |
19
- | [Location Field](./location-field.md) | GPS coordinate capture with auto-fill and editable modes |
20
- | [Icons](./icons.md) | Search and use SDK icons in constructors with validation at build time |
21
- | [Runtime Variables](./runtime-variables.md) | System and Auth.user variables for device info and authenticated user data in JsonataBuilder |
22
- | [Internationalization](./i18n.md) | Multi-language support with I18nBuilder class, JsonataBuilder interpolation, and FormatBuilder for currency/date/number display |
23
- | [Submission Display](./submission-display.md) | Configure submission title and subtitle with JsonataBuilder or I18nBuilder using step.data.getFieldData() |
10
+ | Organize an Application | [Recipes and structure](./recipe-index.md) |
11
+ | Choose names and IDs | [Naming](./convention-naming.md) |
12
+ | Read/write device data | [Datasources](./pattern-datasources.md) |
13
+ | Synchronize remote data | [Sync](./pattern-sync.md) |
14
+ | Order queued writes and recover a batch | [Command batches](./pattern-command-batches.md) |
15
+ | Configure REST retries, guards and attachments | [Data runtime behavior](./pattern-data-runtime.md) |
16
+ | Integrate Acumatica | [REST and Acumatica](./pattern-rest-acumatica.md) |
17
+ | Navigate and manage screen lifetime | [Navigation](./pattern-navigation.md) |
18
+ | Compose forms and tabs | [Forms](./pattern-forms.md), [Tabs](./pattern-tabs-form.md) |
19
+ | Define reusable actions | [Global actions](./pattern-global-actions.md) |
20
+ | Show sync progress | [Sync progress](./pattern-sync-progress.md) |
21
+ | Extend expressions with JavaScript | [JavaScript functions](./pattern-javascript-functions.md) |
22
+ | Convert dates between UTC and local time | [Timezone functions](./runtime-variables.md#timezone) |
23
+ | Generate and share PDFs | [PDF generation](./pattern-pdf-generation.md) |
24
+ | Build and deploy | [Build/deploy](./pattern-build-deploy.md) |
25
+
26
+ Core SDK uses `ApplicationBuilder`, screen/control/action factories and runtime
27
+ Expressions. Expert SDK is a separate higher-level form API; its `JsonataBuilder`,
28
+ Steps and Fields are not Core SDK builder methods. Use this index and the installed
29
+ Core SDK declarations when authoring Core SDK Applications.
@@ -8,7 +8,7 @@ step.addEmail({
8
8
  label: 'Email',
9
9
  helperText: 'We will never share your email',
10
10
  isRequired: true,
11
- icon: 'send-email-envelope',
11
+ icon: 'mail-forward',
12
12
  })
13
13
  ```
14
14
 
@@ -110,7 +110,7 @@ const step1 = form.addStep({ instanceId: 'name' }, (step) => {
110
110
  step.addText({ name: 'firstName', label: 'First Name' })
111
111
  step.addText({ name: 'lastName', label: 'Last Name' })
112
112
  })
113
- step1.with({ icon: 'monitor-user', title: 'Name' })
113
+ step1.with({ icon: 'device-desktop', title: 'Name' })
114
114
  form.with({
115
115
  submissionItemTitle: new JsonataBuilder('$firstName & " " & $lastName', {
116
116
  firstName: step1.data.getFieldData('firstName'),
@@ -150,7 +150,7 @@ const step1 = form.addStep({ instanceId: 'products' }, (step) => {
150
150
  step.addNumber({ name: 'price', label: 'Price' })
151
151
  })
152
152
  step1.with({ icon: 'shopping-cart', title: 'Products' })
153
- form.addStep({ instanceId: 'summary', icon: 'summary-organize' }, (step) => {
153
+ form.addStep({ instanceId: 'summary', icon: 'list-details' }, (step) => {
154
154
  step.addText({
155
155
  name: 'total',
156
156
  label: 'Total',
package/docs/overview.md CHANGED
@@ -1,467 +1,42 @@
1
- # Expert SDK Overview
2
-
3
- Available documentation resources for Core SDK forms and wizards.
4
-
5
- ## Field Types
6
-
7
- Expert SDK provides these field types:
8
-
9
- | Type | Purpose | Default Required |
10
- | --- | --- | --- |
11
- | `text` | Single/multi-line text input | Yes |
12
- | `email` | Email with format validation | Yes |
13
- | `phone` | Phone with phone-pad keyboard | Yes |
14
- | `number` | Numeric input | Yes |
15
- | `checkbox` | Boolean toggle | **No** |
16
- | `date` | Date/time picker (mode: date/time/datetime) | Yes |
17
- | `dropdown` | Single/multi selection from list | Yes |
18
- | `choice-field` | Radio buttons or chips | Yes |
19
- | `media` | File/image upload | Yes |
20
- | `signature` | Signature capture pad | Yes |
21
- | `duration-picker` | Time duration selector | Yes |
22
- | `avatar-field` | Profile picture selector | Yes |
23
- | `location` | GPS coordinate capture | Yes |
24
- | `rating` | Star rating scale | Yes |
25
- | `slider` | Range selection with min/max | Yes |
26
-
27
- **Common properties** (all fields): `icon`, `helperText`, `errorText`, `value`, `isDisabled`, `isRequired`, `isVisible`
28
-
29
- **Ref:** `./dropdown-fields.md` for dropdown patterns
30
- **Ref:** `./choice-fields.md` for choice vs dropdown decision
31
-
32
- **Details:** [Field Types Overview](./field-types-overview.md)
33
-
34
- ---
35
-
36
- ## Field State
37
-
38
- Every field has `.state.value` that provides live access to the current field value. Updates immediately as user types.
39
-
40
- **Scope:** Current step only - not accessible from other steps.
41
-
42
- **Use for:**
43
-
44
- - Same-step conditional visibility
45
- - Same-step validation
46
- - Real-time field dependencies within one step
47
-
48
- **For cross-step data:** Use `step.data.getFieldData()` instead.
49
-
50
- **Dropdown special case:** Dropdowns also expose `dropdownField.state.selected` for full object access in the same step.
51
-
52
- **Details:** [Field State](./field-state.md)
53
-
54
- ---
55
-
56
- ## About JSONata
57
-
58
- The Expert SDK uses [JSONata](https://jsonata.org/) (v1.8) as its expression language. JSONata is a lightweight query and transformation language for JSON data, similar to XPath for XML.
59
-
60
- **Key characteristics and rules:**
61
-
62
- - Functional expression language (no side effects)
63
- - Path navigation with dot notation
64
- - Built-in functions for string, array, date manipulation
65
- - Single `=` for equality (not `==`)
66
- - `&` for string concatenation (not `+`)
67
- - `$now()` returns ISO string — use `$millis()` for date comparisons/diffs
68
- - `null` can't be used in math, string concat, comparisons, or array operations — always check first: `$x ? $x > 0 : false`
69
-
70
- Official docs: [jsonata.org](https://jsonata.org/)
71
-
72
- ## Value Types
73
-
74
- Field properties support two modes:
75
-
76
- | Mode | API | Use When |
77
- | --- | --- | --- |
78
- | **Static** | Constructor arg or `.with()` | Constant values that never change |
79
- | **Dynamic** | `new JsonataBuilder(body, variables)` | Values dependent on other data |
80
-
81
- ## JSONata Reference
82
-
83
- | Operator | Example | ⚠️ Never Use |
84
- | --- | --- | --- |
85
- | `=` | `$x = "value"` | `==` |
86
- | `!=` | `$x != "value"` | `!==`, `<>` |
87
- | `and` | `$a and $b` | `&&` |
88
- | `or` | `$a or $b` | `\|\|` |
89
- | `$not()` | `$not($a)` | `!`, `not` |
90
- | `&` | `$a & " " & $b` | `+` (except math) |
91
- | `? :` | `$x ? "yes" : "no"` | (ternary conditional) |
92
- | `:=` | `$temp := $x * 2` | (assignment) |
93
- | `..` | `1..10` | (range → array) |
94
- | `~>` | `$x ~> $uppercase` | (pipe/transform) |
95
-
96
- **Fallback pattern** (use ternary instead of elvis/null coalesce):
97
-
98
- ```text
99
- $x ? $x : "default"
100
- ```
101
-
102
- **Functions:**
103
-
104
- | Category | Functions |
105
- | --- | --- |
106
- | String | `$uppercase` `$lowercase` `$substring` `$length` `$trim` `$contains` `$split` `$join` |
107
- | Array | `$count` `$sum` `$max` `$min` `$distinct` `$sort` `$reverse` `$filter` `$map` `$in` |
108
- | Date | `$now` `$millis` `$toMillis` `$fromMillis` |
109
- | Type | `$string` `$number` `$boolean` `$type` |
110
-
111
- **Details:** [JSONata Expressions](./jsonata-expressions.md)
112
-
113
- ---
114
-
115
- ## Conditional Logic
116
-
117
- Make fields conditionally visible or required based on other field values using `JsonataBuilder`.
118
-
119
- **Common patterns:**
120
-
121
- - Show field when another has specific value
122
- - Require field only when relevant
123
- - Combine multiple conditions
124
-
125
- **Details:** [Conditional Logic](./conditional-logic.md)
126
-
127
- ---
128
-
129
- ## Field Validation
130
-
131
- Use `errorText` with `JsonataBuilder` to show validation messages based on field values. Messages appear when expression returns non-null string.
132
-
133
- **Pattern:** Expression returns error message string when invalid, `null` when valid.
134
-
135
- **Details:** [Validation Patterns](./validation-patterns.md)
136
-
137
- ---
138
-
139
- ## Sections
140
-
141
- Use `addSection()` to group related fields visually within a step. Improves form organization and user experience.
142
-
143
- **When to use:**
144
-
145
- - Group 3+ related fields together
146
- - Separate different types of information (personal vs professional)
147
- - Create visual hierarchy in longer forms
148
- - Improve scannability
149
-
150
- **Details:** [Sections](./sections.md)
151
-
152
- ---
153
-
154
- ## Dropdown Fields
155
-
156
- Four data source patterns for dropdown options:
157
-
158
- | Source | Use When | Data Type |
159
- | --- | --- | --- |
160
- | **Static** | Fixed list <20 items (priorities, statuses) | `{label, value, icon?}[]` |
161
- | **Dynamic** | Database-backed data (products, customers) | `DatasourceBuilder` |
162
- | **ArrayField** | Cross-step data from arrayField | `step.data.getArrayFieldData()` |
163
- | **Package** | ERP/CRM data via data packages (Acumatica, etc.) | `PackageDataBuilder` |
164
-
165
- **Dropdown vs Choice:**
166
-
167
- - Dropdown: >6 options OR long option labels
168
- - Choice: ≤6 options AND short labels
169
-
170
- **Multi-selection:** Set `isMultiple: true` for multiple selections.
171
-
172
- ---
173
-
174
- ## Static vs Dynamic Decision
175
-
176
- **Use static options when:**
177
-
178
- - Small fixed sets unlikely to change (Yes/No, gender, true/false)
179
- - Values tied to app logic (status enums where code branches on specific values)
180
- - Fewer than ~8 items that are universal across deployments
181
-
182
- **Use dynamic (lookup table) when:**
183
-
184
- - User says "managed", "from database", "editable", "configurable"
185
- - Domain/reference data that may grow (countries, products, customers, categories)
186
- - User provides a large list (>10 items)
187
- - Values that different orgs/deployments would customize
188
- - Data that non-developers should be able to edit in management portal
189
-
190
- **If uncertain**, ask the user whether the options are fixed or may change over time.
191
-
192
- ---
193
-
194
- ### Value Collection
195
-
196
- If values are clear from context, suggest initial values and ask for confirmation. If unclear, ask the user what values to populate.
197
-
198
- When ambiguous (e.g., "add a status field" without specifying values), ask the user whether the values should be static or managed dynamically.
199
-
200
- ---
201
-
202
- ### Displaying Lookup Data
203
-
204
- When showing lookup table contents to the user, format as a markdown table:
205
-
206
- | Value | Label | Sort |
207
- | --- | --- | ---: |
208
- | high | High | 1 |
209
- | medium | Medium | 2 |
210
- | low | Low | 3 |
211
-
212
- ---
213
-
214
- ## Choice Fields
215
-
216
- Use choice fields for small, fixed option sets displayed as radio buttons or chips.
217
-
218
- **When to use:**
219
-
220
- - ≤6 options with short labels
221
- - Visual selection (user sees all options at once)
222
- - Grid layout desired
223
-
224
- **Choice vs Dropdown:**
225
-
226
- | Criteria | Choice | Dropdown |
227
- | --- | --- | --- |
228
- | Options count | ≤6 | >6 |
229
- | Label length | Short | Any |
230
- | Display | All visible | Collapsed list |
231
-
232
- **Choice vs Checkbox for yes/no:**
233
-
234
- - Required yes/no: Use choice (checkbox fails validation when unchecked)
235
- - 3-state logic: Use choice (Yes/No/NA, True/False/Unknown)
236
- - Optional toggle: Use checkbox
237
-
238
- **Details:** [Choice Fields](./choice-fields.md)
239
-
240
- ---
241
-
242
- ## Array Fields
243
-
244
- **Use ArrayField when you need a "form within a form"** - a repeatable group of fields where users can add/remove multiple entries of the same structure.
245
-
246
- **When to use:**
247
-
248
- - Invoice/order with multiple line items (product, quantity, price per item)
249
- - Team registration with multiple members (name, email, role per person)
250
- - Inspection checklist with multiple items (item name, status, notes per check)
251
- - Any scenario requiring "Add another [X]" functionality
252
-
253
- **How it works:** ArrayField creates a nested, repeatable form section. Each item contains the same field structure. Users tap "Add" to create new items and can remove existing ones.
254
-
255
- | Property | Type | Description |
256
- | --- | --- | --- |
257
- | `name` | string | Field identifier (required) |
258
- | `label` | string | Display label (required) |
259
- | `title` | TextValueBuilder | Item title in the array list (required) |
260
- | `subtitle` | TextValueBuilder | Item subtitle in the array list |
261
- | `description` | TextValueBuilder | Item description in the array list |
262
- | `addButtonLabel` | string | Custom "Add" button text |
263
- | `value` | ArrayFieldValue[] \| JsonataBuilder | Initial data for fixed-size arrays (hides add/delete) |
264
- | `keyField` | string | Field to match init items with saved data (required with `value`) |
265
-
266
- **Three ways to use ArrayField:**
267
-
268
- | Mode | `value` | Behavior |
269
- | --- | --- | --- |
270
- | **User-managed** | (not set) | Users add/remove items freely |
271
- | **Static** | Array literal | Fixed items (subform, checklist) |
272
- | **Dynamic** | Expression/field ref | Items regenerate from source |
273
-
274
- **Ref:** `./predefined-array-items.md` for static and dynamic initialization
275
-
276
- **Title is required** - identifies items in the list and delete confirmation.
277
-
278
- **Ref:** `./cross-step-data.md` for accessing array data in other steps
279
-
280
- **Recognize repeated data patterns:**
281
-
282
- | User describes... | Use |
283
- | --- | --- |
284
- | "3 passengers on booking" | ArrayField + 3 predefined items |
285
- | "5 emergency contacts" | ArrayField + 5 predefined items |
286
- | "Add ingredients to recipe" | ArrayField (user-managed) |
287
- | "Track project milestones" | ArrayField (user-managed) |
288
-
289
- **Anti-pattern:** Creating multiple sections with duplicated fields (e.g., "Contact 1 Name", "Contact 1 Phone", "Contact 2 Name"...). This creates longer forms and inconsistent data structure.
290
-
291
- **Default rule:** Same data type captured multiple times → ArrayField, not duplicated sections.
292
-
293
- **Details:** [Array Fields](./array-fields.md)
294
-
295
- ---
296
-
297
- ## Array Initialization
298
-
299
- Use ArrayField with `value` to initialize items. Add/delete buttons hidden automatically.
300
-
301
- | Mode | `value` | Regenerates | Use Case |
302
- | --- | --- | --- | --- |
303
- | **Subform** | 1 static item | No | Nested details (vehicle, address) |
304
- | **Fixed list** | N static items | No | Scorecards, checklists |
305
- | **Dynamic** | Expression/field ref | Yes | Date ranges, count from field |
306
-
307
- **Key properties:**
308
-
309
- | Property | Description |
310
- | --- | --- |
311
- | `value` | Initial items (static array or JsonataBuilder expression) |
312
- | `keyField` | Field to match items with saved data (required for dynamic, optional for static) |
313
-
314
- **Ref:** `./array-fields.md` for full ArrayField API
315
-
316
- **Details:** [Array Initialization](./predefined-array-items.md)
317
-
318
- ---
319
-
320
- ## Date Field
321
-
322
- Use `addDate()` to capture dates, times, or both with a native picker.
323
-
324
- | Property | Type | Description |
325
- | --- | --- | --- |
326
- | `mode` | `'date'` \| `'time'` \| `'datetime'` | Picker type (default: 'date') |
327
- | `minimum` | `string` \| `number` \| `JsonataBuilder` | Earliest selectable date |
328
- | `maximum` | `string` \| `number` \| `JsonataBuilder` | Latest selectable date |
329
-
330
- | Mode | Picker | Use Case |
331
- | --- | --- | --- |
332
- | `'date'` | Date only | Birthdays, deadlines |
333
- | `'time'` | Time only | Meeting times, schedules |
334
- | `'datetime'` | Both | Appointments, events |
335
-
336
- **Details:** [Date Field](./date-field.md)
337
-
338
- ---
339
-
340
- ## Formatting
341
-
342
- Two ways to format values:
343
-
344
- | Approach | Use Case |
345
- | --- | --- |
346
- | **Field `format` property** | Format numbers in disabled (read-only) fields |
347
- | **`FormatBuilder` class** | Format any value for text display: `submissionItemTitle`, `submissionItemSubtitle`, arrayField `title`/`subtitle`/`description`, step `title` |
348
-
349
- **Details:** [Formatting](./formatting.md)
350
-
351
- ---
352
-
353
- **Read the YAML schemas before writing any SQL query.** They document available tables, fields, nullable columns, relationships, and common query patterns.
354
-
355
- ### When to Use Custom Sync Parameters
356
-
357
- | Use Case | Parameters |
358
- | --- | --- |
359
- | Fetch all records | None (uses package defaults) |
360
- | Only sync active records | Custom filter to limit fetched records |
361
- | Reduce sync volume | Filter expression |
362
- | Different expand per screen | Expand override |
363
-
364
- ### Handling Null Values (COALESCE)
365
-
366
- External data fields can be null. **Use COALESCE** for display fields to prevent empty UI labels. Check the package's schema files for which fields are nullable and their recommended fallbacks.
367
-
368
- ### JOIN Queries (Multiple Tables)
369
-
370
- **Always wrap `json_extract()` in `TRIM()` for JOIN conditions.** External data often contains leading/trailing whitespace that breaks equality comparisons.
371
-
372
- ---
373
-
374
- ## Media & Specialized Fields
375
-
376
- Core SDK provides these media capture fields:
377
-
378
- | Type | Purpose |
379
- | --- | --- |
380
- | `media` | File/image upload (single or multiple) |
381
- | `signature` | Signature capture pad |
382
- | `avatar-field` | Profile picture selector |
383
- | `duration-picker` | Time duration selector |
384
-
385
- **Details:** [Media Fields](./media-fields.md)
386
-
387
- ---
388
-
389
- ## Location Field
390
-
391
- The `addLocation()` method creates a field that auto-captures GPS coordinates as "lat,lng" format.
392
-
393
- **Two patterns:**
394
-
395
- | Pattern | Use Case | isDisabled |
396
- | --- | --- | --- |
397
- | Current location (readonly) | Check-ins, service visits, asset tagging | `true` |
398
- | Generic location (editable) | Delivery addresses, event venues | `false` (default) |
399
-
400
- **Details:** [Location Field](./location-field.md)
401
-
402
- ---
403
-
404
- ## Icons
405
-
406
- Expert SDK includes 18,000+ icons. Icon names are validated at build time - invalid names cause build failures.
407
-
408
- **Never guess icon names** - always search via MCP.
409
-
410
- **Details:** [Icons](./icons.md)
411
-
412
- ---
413
-
414
- ## Runtime Variables
415
-
416
- Access runtime context using `System` and `Auth.user` from Expert SDK:
417
-
418
- ```typescript
419
- import { Auth, System, JsonataBuilder } from '@jigx/expert-sdk'
420
- ```
421
-
422
- | Namespace | Purpose |
423
- | --- | --- |
424
- | `System.*` | Device info, network status, location |
425
- | `Auth.user.*` | Authenticated user data |
426
-
427
- **Details:** [Runtime Variables](./runtime-variables.md)
428
-
429
- ---
430
-
431
- ## Internationalization (i18n)
432
-
433
- Build multi-language forms using the `I18nBuilder` class. Supports:
434
-
435
- - Translation keys with fallback messages
436
- - Placeholder interpolation with `JsonataBuilder`
437
- - Formatted values with `FormatBuilder` class
438
- - Formatted strings combining multiple values
439
-
440
- **Priority:** `I18nBuilder` > `format property` > `direct value`
441
-
442
-
443
- **When to use I18nBuilder:**
444
- - Combining multiple field values with text
445
- - Formatting dates, currencies, numbers, or percentages
446
- - Multi-language support needed
447
- - Complex string interpolation
448
-
449
- **Details:** [Internationalization](./i18n.md)
450
-
451
- ---
452
-
453
- ## Submission Display
454
-
455
- Use `step.data.getFieldData()` to configure what information appears in the submission list. Shows meaningful data instead of generic IDs.
456
-
457
- **Properties (both required):**
458
- - `submissionItemTitle` — primary text shown for each submission
459
- - `submissionItemSubtitle` — secondary text shown below the title
460
-
461
- **Important:** Both `submissionItemTitle` and `submissionItemSubtitle` must be defined. Form validation will fail if either is missing.
462
-
463
- **Date/number formatting:** Use `FormatBuilder` when displaying date, currency, or number values in `submissionItemTitle` or `submissionItemSubtitle`. See `./formatting.md` for details.
464
-
465
- **Details:** [Submission Display](./submission-display.md)
466
-
467
- ---
1
+ # Core SDK overview
2
+
3
+ `ApplicationBuilder` composes Screens, Controls, Components, Actions, Datasources,
4
+ Databases and Functions into the configuration consumed by the Jigx mobile runtime.
5
+ The SDK authors configuration; the mobile runtime performs navigation, local writes,
6
+ offline queue processing and remote calls.
7
+
8
+ Start from [the recipe index](./recipe-index.md) for Application structure and
9
+ [the documentation index](./index.md) for task-specific guides. Inspect installed
10
+ `dist/**/*.d.ts` for exact constructor inputs and fluent methods. Examples extracted
11
+ from tested source are in `dist/assets/extracted-core-sdk-examples.yaml`.
12
+
13
+ ## Data and execution
14
+
15
+ - SQLite rows store JSON Documents. Use [datasource recipes](./pattern-datasources.md)
16
+ to select and bind them; distinguish local persistence from remote synchronization.
17
+ - [Sync recipes](./pattern-sync.md) cover initial and incremental reads, local edits
18
+ and synchronization scopes.
19
+ - [Command batches](./pattern-command-batches.md) coordinate queued writes with
20
+ `batchId` and `processingType`. An action list's sequential execution does not prove
21
+ remote completion. Batches do not provide rollback.
22
+ - [Data runtime behavior](./pattern-data-runtime.md) covers REST retry protection,
23
+ guards, file conversions, resumable transfers and SQLite semantics.
24
+
25
+ ## Expressions and state
26
+
27
+ Expressions start with `=`. Core SDK exposes `CTX` helpers; emitted runtime paths
28
+ retain `@ctx.jig` for Screen state/inputs and `@ctx.solution` for Application state.
29
+ Use the declaration and context appropriate to the binding. Function expressions
30
+ have different data available from screen expressions.
31
+
32
+ A Screen's instance state can be removed when it unmounts. Persist drafts and
33
+ resumable work in local tables; use explicit inputs to reopen a Screen. See
34
+ [Navigation](./pattern-navigation.md).
35
+
36
+ ## Runtime compatibility
37
+
38
+ SDK support does not upgrade an installed mobile app. The September 2026 data
39
+ capabilities were checked against mobile `develop` commit `84410ee557`; confirm
40
+ that the target app build contains the relevant mobile PR before using them.
41
+ Feature-specific sources are linked in the data guides. This is a source-contract
42
+ baseline, not a claim that every released app or the web renderer supports them.
@@ -12,6 +12,18 @@ Register in this order in `app.ts`:
12
12
  6. Tabs screen
13
13
  7. Other screens
14
14
 
15
+ ## Current SDK CLI workflow
16
+
17
+ Run `jigx build` from the SDK application directory. Use `jigx deploy --dry-run`
18
+ to verify the target and deployment plan before publishing. See the
19
+ [SDK CLI guide](https://github.com/jigx-com/jigx-sdk/blob/develop/packages/sdk-tools/README.md)
20
+ for setup and environment selection.
21
+
22
+ ## Legacy Acumatica workspace workflow
23
+
24
+ The examples below document the legacy Acumatica workspace. The example
25
+ projects and scripts under `workspace/` are outside the SDK repository.
26
+
15
27
  ## Prerequisites
16
28
 
17
29
  Core SDK must be compiled before workspace projects can build (tsx imports compiled output):
@@ -32,7 +44,7 @@ npx tsc --noEmit --strict --target es2022 --module esnext \
32
44
  npx tsx workspace/build.ts workspace/acumatica-apps/create-customer
33
45
  npx tsx workspace/build-yaml.ts workspace/acumatica-apps/create-customer
34
46
 
35
- # Deploy (env vars or .env)
47
+ # Deploy (env vars or .env.local)
36
48
  STAMP=CLF-PROD ORGANIZATION_ID="..." JIGX_API_KEY="..." \
37
49
  ./workspace/acumatica-apps/create-customer/build-publish.sh
38
50
  ```
@@ -62,18 +74,18 @@ Internal IDs (`jigId`, `datasourceId`, `instanceId`, `databaseId`) are stripped
62
74
 
63
75
  ## Deploy script (`build-publish.sh`)
64
76
 
65
- Each project has a `build-publish.sh` that builds and publishes to the Jigx API. Required env vars (from `.env` or inline):
77
+ Each project has a `build-publish.sh` that builds and publishes to the Jigx API. Required env vars (from `.env.local` or inline):
66
78
 
67
79
  | Variable | Description |
68
80
  | ---: | --- |
69
81
  | `ORGANIZATION_ID` | Jigx organization UUID |
70
- | `JIGX_API_KEY` | PAT for Jigx API (store in `.env`, never commit) |
71
- | `STAMP` | `DEV` (default) or `PROD` |
82
+ | `JIGX_API_KEY` | PAT for Jigx API (store in gitignored `.env.local`) |
83
+ | `STAMP` | `CLF-DEV` (default) or `CLF-PROD` |
72
84
 
73
85
  API base URLs:
74
86
 
75
- - DEV: `https://us-west-2.dev-api.jigx.com/v2.0`
76
- - PROD: `https://us-east-1.api.jigx.com/v2.0`
87
+ - CLF-DEV: `https://dev.jigx-api.dev/v2.0`
88
+ - CLF-PROD: `https://api.jigx.io/v2.0`
77
89
 
78
90
  Deploy flow:
79
91