@jigx/core-sdk 1.2.0-next.3 → 1.2.0-next.31

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 (271) hide show
  1. package/README.md +6 -82
  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/sdk.text.d.ts +1 -0
  6. package/dist/abstract/sdk.text.d.ts.map +1 -1
  7. package/dist/abstract/sdk.text.js +8 -2
  8. package/dist/abstract/sdk.types.d.ts +1 -1
  9. package/dist/abstract/sdk.types.d.ts.map +1 -1
  10. package/dist/abstract/sdk.types.js +11 -26
  11. package/dist/abstract/zod.types.d.ts +19 -1
  12. package/dist/abstract/zod.types.d.ts.map +1 -1
  13. package/dist/abstract/zod.types.js +6 -1
  14. package/dist/action/index.d.ts +2 -0
  15. package/dist/action/index.d.ts.map +1 -1
  16. package/dist/action/index.js +2 -1
  17. package/dist/action/ja.confirm.d.ts +2 -1
  18. package/dist/action/ja.confirm.d.ts.map +1 -1
  19. package/dist/action/ja.confirm.js +22 -6
  20. package/dist/action/ja.delete-queue-command.d.ts +11 -6
  21. package/dist/action/ja.delete-queue-command.d.ts.map +1 -1
  22. package/dist/action/ja.delete-queue-command.js +8 -8
  23. package/dist/action/ja.evaluate.d.ts.map +1 -1
  24. package/dist/action/ja.evaluate.js +1 -1
  25. package/dist/action/ja.execute-entities.d.ts +2 -1
  26. package/dist/action/ja.execute-entities.d.ts.map +1 -1
  27. package/dist/action/ja.execute-entities.js +3 -2
  28. package/dist/action/ja.execute-entity.abstract.d.ts +13 -2
  29. package/dist/action/ja.execute-entity.abstract.d.ts.map +1 -1
  30. package/dist/action/ja.execute-entity.abstract.js +25 -1
  31. package/dist/action/ja.in-background.d.ts +7 -0
  32. package/dist/action/ja.in-background.d.ts.map +1 -1
  33. package/dist/action/ja.in-background.factory.d.ts +2 -0
  34. package/dist/action/ja.in-background.factory.d.ts.map +1 -1
  35. package/dist/action/ja.in-background.factory.js +3 -1
  36. package/dist/action/ja.in-background.js +12 -1
  37. package/dist/action/ja.on-button.factory.d.ts +2 -0
  38. package/dist/action/ja.on-button.factory.d.ts.map +1 -1
  39. package/dist/action/ja.on-button.factory.js +3 -1
  40. package/dist/action/ja.open-media-picker.abstract.d.ts +8 -0
  41. package/dist/action/ja.open-media-picker.abstract.d.ts.map +1 -1
  42. package/dist/action/ja.open-media-picker.abstract.js +1 -1
  43. package/dist/action/ja.open-media-picker.d.ts +8 -0
  44. package/dist/action/ja.open-media-picker.d.ts.map +1 -1
  45. package/dist/action/ja.open-media-picker.js +8 -1
  46. package/dist/action/ja.queue-options.d.ts +27 -0
  47. package/dist/action/ja.queue-options.d.ts.map +1 -0
  48. package/dist/action/ja.queue-options.js +30 -0
  49. package/dist/action/ja.retry-queue-command.d.ts +9 -4
  50. package/dist/action/ja.retry-queue-command.d.ts.map +1 -1
  51. package/dist/action/ja.retry-queue-command.js +9 -5
  52. package/dist/action/ja.set-state.d.ts +22 -0
  53. package/dist/action/ja.set-state.d.ts.map +1 -0
  54. package/dist/action/ja.set-state.js +24 -0
  55. package/dist/action/ja.show-alert.d.ts +11 -29
  56. package/dist/action/ja.show-alert.d.ts.map +1 -1
  57. package/dist/action/ja.show-alert.js +16 -19
  58. package/dist/action/ja.submit-form.d.ts +8 -1
  59. package/dist/action/ja.submit-form.d.ts.map +1 -1
  60. package/dist/action/ja.submit-form.js +8 -2
  61. package/dist/action/ja.sync-entities.abstract.d.ts.map +1 -1
  62. package/dist/action/ja.sync-entities.abstract.js +1 -1
  63. package/dist/application/application.component.d.ts +90 -0
  64. package/dist/application/application.component.d.ts.map +1 -0
  65. package/dist/application/application.component.js +68 -0
  66. package/dist/application/application.sdk.d.ts +18 -3
  67. package/dist/application/application.sdk.d.ts.map +1 -1
  68. package/dist/application/application.sdk.js +39 -10
  69. package/dist/application/application.tab.d.ts +4 -3
  70. package/dist/application/application.tab.d.ts.map +1 -1
  71. package/dist/application/application.tab.js +2 -2
  72. package/dist/application/application.table-changed.d.ts +19 -0
  73. package/dist/application/application.table-changed.d.ts.map +1 -0
  74. package/dist/application/application.table-changed.js +22 -0
  75. package/dist/application/index.d.ts +2 -0
  76. package/dist/application/index.d.ts.map +1 -1
  77. package/dist/application/index.js +3 -1
  78. package/dist/assets/example-extraction-cache.json +4 -4
  79. package/dist/assets/extracted-core-sdk-examples.yaml +1813 -917
  80. package/dist/assets/tabler-icons.csv +5185 -0
  81. package/dist/component/common/jc.component.types.d.ts +4 -2
  82. package/dist/component/common/jc.component.types.d.ts.map +1 -1
  83. package/dist/component/common/jc.component.types.js +1 -1
  84. package/dist/component/common/jc.left-right.element.icon.d.ts.map +1 -1
  85. package/dist/component/common/jc.left-right.element.icon.js +3 -8
  86. package/dist/component/common/jc.picker-field-options.types.d.ts +4 -0
  87. package/dist/component/common/jc.picker-field-options.types.d.ts.map +1 -1
  88. package/dist/component/common/jc.picker-field-options.types.js +1 -1
  89. package/dist/component/common/jc.validation.d.ts +1 -1
  90. package/dist/component/common/jc.validation.d.ts.map +1 -1
  91. package/dist/component/common/jc.validation.js +2 -2
  92. package/dist/component/index.d.ts +3 -0
  93. package/dist/component/index.d.ts.map +1 -1
  94. package/dist/component/index.js +4 -1
  95. package/dist/component/jc.abstract.factory.d.ts +10 -1
  96. package/dist/component/jc.abstract.factory.d.ts.map +1 -1
  97. package/dist/component/jc.abstract.factory.js +11 -1
  98. package/dist/component/jc.amount-control.d.ts +2 -2
  99. package/dist/component/jc.amount-control.d.ts.map +1 -1
  100. package/dist/component/jc.amount-control.js +1 -1
  101. package/dist/component/jc.avatar-field.d.ts.map +1 -1
  102. package/dist/component/jc.avatar-field.js +4 -1
  103. package/dist/component/jc.banner.d.ts +2 -0
  104. package/dist/component/jc.banner.d.ts.map +1 -1
  105. package/dist/component/jc.card.on-custom-component.d.ts +89 -0
  106. package/dist/component/jc.card.on-custom-component.d.ts.map +1 -0
  107. package/dist/component/jc.card.on-custom-component.js +89 -0
  108. package/dist/component/jc.card.on-default.d.ts +5 -1
  109. package/dist/component/jc.card.on-default.d.ts.map +1 -1
  110. package/dist/component/jc.card.on-default.js +5 -1
  111. package/dist/component/jc.chat.d.ts +1 -0
  112. package/dist/component/jc.chat.d.ts.map +1 -1
  113. package/dist/component/jc.chat.js +2 -2
  114. package/dist/component/jc.dropdown.item.d.ts.map +1 -1
  115. package/dist/component/jc.dropdown.item.js +6 -2
  116. package/dist/component/jc.entity-field.d.ts.map +1 -1
  117. package/dist/component/jc.entity-field.js +3 -6
  118. package/dist/component/jc.expander.d.ts +1 -1
  119. package/dist/component/jc.field-row.d.ts +2 -0
  120. package/dist/component/jc.field-row.d.ts.map +1 -1
  121. package/dist/component/jc.field-row.js +3 -1
  122. package/dist/component/jc.form.d.ts +3 -1
  123. package/dist/component/jc.form.d.ts.map +1 -1
  124. package/dist/component/jc.form.js +3 -1
  125. package/dist/component/jc.icon.js +2 -2
  126. package/dist/component/jc.image.d.ts +3 -2
  127. package/dist/component/jc.image.d.ts.map +1 -1
  128. package/dist/component/jc.image.js +1 -1
  129. package/dist/component/jc.image.on-custom-component.d.ts +53 -0
  130. package/dist/component/jc.image.on-custom-component.d.ts.map +1 -0
  131. package/dist/component/jc.image.on-custom-component.js +29 -0
  132. package/dist/component/jc.interactive-image.d.ts +21 -7
  133. package/dist/component/jc.interactive-image.d.ts.map +1 -1
  134. package/dist/component/jc.interactive-image.js +20 -13
  135. package/dist/component/jc.list-item.d.ts +2 -0
  136. package/dist/component/jc.list-item.d.ts.map +1 -1
  137. package/dist/component/jc.list-item.js +4 -1
  138. package/dist/component/jc.list.d.ts +1 -1
  139. package/dist/component/jc.list.d.ts.map +1 -1
  140. package/dist/component/jc.media-field.d.ts.map +1 -1
  141. package/dist/component/jc.media-field.js +4 -1
  142. package/dist/component/jc.menu-item.d.ts +2 -0
  143. package/dist/component/jc.menu-item.d.ts.map +1 -1
  144. package/dist/component/jc.number-field.d.ts +1 -0
  145. package/dist/component/jc.number-field.d.ts.map +1 -1
  146. package/dist/component/jc.number-field.js +2 -1
  147. package/dist/component/jc.rating.js +2 -2
  148. package/dist/component/jc.scanner-field.d.ts +29 -0
  149. package/dist/component/jc.scanner-field.d.ts.map +1 -0
  150. package/dist/component/jc.scanner-field.js +41 -0
  151. package/dist/component/jc.section.abstract.d.ts +2 -0
  152. package/dist/component/jc.section.abstract.d.ts.map +1 -1
  153. package/dist/component/jc.section.on-default.d.ts +3 -1
  154. package/dist/component/jc.section.on-default.d.ts.map +1 -1
  155. package/dist/component/jc.section.on-default.js +3 -1
  156. package/dist/component/jc.text.d.ts +1 -1
  157. package/dist/component/jc.text.d.ts.map +1 -1
  158. package/dist/component/jc.text.js +1 -1
  159. package/dist/component/jc.types.d.ts +1 -0
  160. package/dist/component/jc.types.d.ts.map +1 -1
  161. package/dist/component/jc.types.js +2 -1
  162. package/dist/component/jc.video-player.on-jig.d.ts +2 -3
  163. package/dist/component/jc.video-player.on-jig.d.ts.map +1 -1
  164. package/dist/component/jc.video-player.on-jig.js +1 -11
  165. package/dist/component/jc.view.d.ts +9 -5
  166. package/dist/component/jc.view.d.ts.map +1 -1
  167. package/dist/component/jc.view.js +14 -10
  168. package/dist/component/jc.web-view.abstract.d.ts +1 -0
  169. package/dist/component/jc.web-view.abstract.d.ts.map +1 -1
  170. package/dist/component/jc.web-view.abstract.js +1 -1
  171. package/dist/datasource/datasource.reference.d.ts.map +1 -1
  172. package/dist/datasource/datasource.reference.js +7 -2
  173. package/dist/datasource/datasource.sdk.d.ts.map +1 -1
  174. package/dist/datasource/datasource.sdk.js +1 -1
  175. package/dist/datasource/datasource.sqlite.d.ts.map +1 -1
  176. package/dist/datasource/datasource.sqlite.js +6 -4
  177. package/dist/datasource/datasource.static.d.ts +3 -2
  178. package/dist/datasource/datasource.static.d.ts.map +1 -1
  179. package/dist/datasource/datasource.static.js +7 -3
  180. package/dist/datasource/sqlite-normalizer.d.ts +4 -2
  181. package/dist/datasource/sqlite-normalizer.d.ts.map +1 -1
  182. package/dist/datasource/sqlite-normalizer.js +61 -9
  183. package/dist/datasource/sqlite-validator.d.ts +2 -1
  184. package/dist/datasource/sqlite-validator.d.ts.map +1 -1
  185. package/dist/datasource/sqlite-validator.js +50 -17
  186. package/dist/function/function.abstract.d.ts +19 -12
  187. package/dist/function/function.abstract.d.ts.map +1 -1
  188. package/dist/function/function.abstract.js +10 -5
  189. package/dist/function/function.guard.d.ts +2 -1
  190. package/dist/function/function.guard.d.ts.map +1 -1
  191. package/dist/function/function.guard.js +3 -2
  192. package/dist/function/function.operation.d.ts +3 -3
  193. package/dist/function/function.operation.d.ts.map +1 -1
  194. package/dist/function/function.operation.js +1 -1
  195. package/dist/function/function.rest.d.ts +8 -0
  196. package/dist/function/function.rest.d.ts.map +1 -1
  197. package/dist/function/function.rest.error-builder.d.ts +4 -4
  198. package/dist/function/function.rest.error-builder.d.ts.map +1 -1
  199. package/dist/function/function.rest.error-builder.js +4 -6
  200. package/dist/function/function.rest.js +10 -1
  201. package/dist/function/function.rest.parameter-builder.d.ts.map +1 -1
  202. package/dist/function/function.rest.parameter-builder.js +7 -2
  203. package/dist/function/function.rest.types.d.ts +2 -0
  204. package/dist/function/function.rest.types.d.ts.map +1 -1
  205. package/dist/function/function.rest.types.js +1 -1
  206. package/dist/function/function.soap.parameter-builder.d.ts.map +1 -1
  207. package/dist/function/function.soap.parameter-builder.js +8 -3
  208. package/dist/icon/sdk.icon.d.ts +4 -4
  209. package/dist/icon/sdk.icon.d.ts.map +1 -1
  210. package/dist/icon/sdk.icon.data.d.ts +2 -2
  211. package/dist/icon/sdk.icon.data.d.ts.map +1 -1
  212. package/dist/icon/sdk.icon.data.js +5187 -19280
  213. package/dist/icon/sdk.icon.js +6 -6
  214. package/dist/icon/sdk.icon.name.d.ts +3 -4
  215. package/dist/icon/sdk.icon.name.d.ts.map +1 -1
  216. package/dist/icon/sdk.icon.name.js +4906 -19000
  217. package/dist/jsonata/builder.d.ts +14 -3
  218. package/dist/jsonata/builder.d.ts.map +1 -1
  219. package/dist/jsonata/builder.js +127 -15
  220. package/dist/jsonata/context.d.ts.map +1 -1
  221. package/dist/jsonata/context.js +12 -3
  222. package/dist/screen/common/screen.default-children.d.ts +4 -2
  223. package/dist/screen/common/screen.default-children.d.ts.map +1 -1
  224. package/dist/screen/common/screen.default-children.js +4 -2
  225. package/dist/screen/common/screen.input-definition.d.ts.map +1 -1
  226. package/dist/screen/common/screen.input-definition.js +1 -1
  227. package/dist/screen/common/screen.placeholder.d.ts.map +1 -1
  228. package/dist/screen/common/screen.placeholder.js +1 -1
  229. package/dist/screen/common/screen.preview.d.ts.map +1 -1
  230. package/dist/screen/common/screen.preview.js +1 -1
  231. package/dist/screen/screen.abstract.d.ts +1 -1
  232. package/dist/screen/screen.abstract.d.ts.map +1 -1
  233. package/dist/screen/screen.abstract.js +1 -1
  234. package/dist/screen/screen.default.d.ts +4 -2
  235. package/dist/screen/screen.default.d.ts.map +1 -1
  236. package/dist/screen/screen.full-screen.d.ts +6 -2
  237. package/dist/screen/screen.full-screen.d.ts.map +1 -1
  238. package/dist/screen/screen.full-screen.js +10 -2
  239. package/dist/screen/screen.grid.base.d.ts +1 -1
  240. package/dist/screen/screen.grid.base.d.ts.map +1 -1
  241. package/dist/screen/screen.list.d.ts +5 -3
  242. package/dist/screen/screen.list.d.ts.map +1 -1
  243. package/dist/screen/screen.list.js +10 -3
  244. package/dist/screen/screen.tabs.d.ts +1 -1
  245. package/dist/screen/screen.tabs.d.ts.map +1 -1
  246. package/dist/screen/screen.tabs.instance.d.ts +4 -1
  247. package/dist/screen/screen.tabs.instance.d.ts.map +1 -1
  248. package/dist/screen/screen.tabs.instance.js +6 -2
  249. package/dist/screen/screen.tabs.js +1 -1
  250. package/docs/array-fields.md +5 -5
  251. package/docs/conditional-logic.md +2 -2
  252. package/docs/dropdown-fields.md +13 -13
  253. package/docs/field-state.md +5 -5
  254. package/docs/field-types-overview.md +2 -2
  255. package/docs/formatting.md +3 -3
  256. package/docs/icons.md +34 -30
  257. package/docs/index.md +25 -20
  258. package/docs/jsonata-expressions.md +3 -3
  259. package/docs/overview.md +42 -467
  260. package/docs/pattern-command-batches.md +103 -0
  261. package/docs/pattern-data-runtime.md +99 -0
  262. package/docs/pattern-datasources.md +7 -0
  263. package/docs/pattern-navigation.md +9 -2
  264. package/docs/pattern-pdf-generation.md +1 -1
  265. package/docs/pattern-rest-acumatica.md +11 -4
  266. package/docs/pattern-sync.md +9 -1
  267. package/docs/pattern-tabs-form.md +1 -1
  268. package/docs/recipe-index.md +2 -0
  269. package/docs/sections.md +1 -1
  270. package/package.json +5 -3
  271. package/dist/assets/stream-line-icons.csv +0 -19278
@@ -0,0 +1,99 @@
1
+ # Data runtime behavior
2
+
3
+ These authoring notes track mobile source at `84410ee557` (September 18, 2026).
4
+ Confirm feature inclusion in the target mobile build. Web-renderer support and
5
+ backend deployment availability are separate checks.
6
+
7
+ ## REST network retries and offline replay
8
+
9
+ [Mobile #7709](https://github.com/jigx-com/jigx/pull/7709) adds a literal boolean:
10
+
11
+ ```typescript
12
+ const create = app.addFunction.rest({
13
+ functionId: 'create-order',
14
+ method: 'POST',
15
+ url: 'https://api.example.com/orders',
16
+ disableNetworkRetries: true,
17
+ })
18
+ // Alternatively: create.disableNetworkRetries(true)
19
+ ```
20
+
21
+ The default remains false. This controls automatic network retries, not queue replay,
22
+ function error-handler retry policies or exactly-once delivery. A server can accept
23
+ a request whose response is lost; a later offline replay can send it again. Prefer a
24
+ stable request ID with server-side deduplication. A reconciling guard can check for
25
+ an existing remote record before a create, but check-then-create alone is not atomic.
26
+ Do not use an Expression for disableNetworkRetries: the runtime does not evaluate it.
27
+
28
+ ## Guard and when short-circuits
29
+
30
+ [Mobile #7547](https://github.com/jigx-com/jigx/pull/7547) makes REST function error
31
+ handlers eligible when the function's when or guard result is falsy. An explicit
32
+ unconditional handler, such as `.error(true)`, can therefore turn an intentional
33
+ skip into an error. Match the intended condition and available function context:
34
+
35
+ ```typescript
36
+ create.error('=@ctx.response.status >= 400').title('Order could not be sent')
37
+ ```
38
+
39
+ This example matches HTTP failures only; it does not match a pre-request guard skip
40
+ or a network failure without a response. Use a separate deliberate handler for those
41
+ cases when needed. In the audited current source, a handler with no when defaults
42
+ to a caught error or a failed attempted request; a missing response before any request
43
+ is not by itself a provider error. This differs from the earlier PR description.
44
+ A skip with no matching handler preserves the runtime's short-circuit result.
45
+
46
+ Function `guard.onRetry` already exists. Internal provider retry-count plumbing from
47
+ [#7777](https://github.com/jigx-com/jigx/pull/7777) adds no new public SDK option or
48
+ expression variable.
49
+
50
+ ## File conversions and JSON bodies
51
+
52
+ [Mobile #7648](https://github.com/jigx-com/jigx/pull/7648) fixes local REST
53
+ (`useLocalCall: true`) inputTransform evaluation to see converted body values:
54
+
55
+ ```typescript
56
+ const fn = app.addFunction.rest({
57
+ functionId: 'send-attachment', method: 'POST',
58
+ url: 'https://api.example.com/messages', useLocalCall: true,
59
+ })
60
+ fn.params.body('file', { type: 'string', required: true })
61
+ fn.params.body('subject', { type: 'string', required: true })
62
+ fn.conversion('file', 'local-uri', 'base64')
63
+ fn.inputTransform('={"subject": @ctx.parameters.subject, "attachment": @ctx.parameters.file}')
64
+ ```
65
+
66
+ A transform consuming file embeds converted content inside its JSON envelope.
67
+ A raw-file upload without such a transform can use native streaming. Do not combine
68
+ a JSON envelope expectation with an assumption that the request body is raw file
69
+ bytes. This fix is local REST behavior; do not infer identical changes in a remote
70
+ proxy from this mobile PR.
71
+
72
+ ## Dynamic Data transfers
73
+
74
+ [Resumable transfers #7577](https://github.com/jigx-com/jigx/pull/7577) use runtime
75
+ and backend capabilities, with whole-file fallback. TUS uploads require the CLF
76
+ runtime and supporting backend; there is no new public SDK resumable switch.
77
+ Dynamic Data downloads use Range support when available. REST uploads follow their
78
+ own streaming/JSON path; an authenticated open-url viewer is a separate path too.
79
+
80
+ [Offline transfers #7690](https://github.com/jigx-com/jigx/pull/7690) can be requeued.
81
+ [Async upload defaults #7747](https://github.com/jigx-com/jigx/pull/7747) mean later
82
+ writes can proceed before an upload finishes. Use explicit scheduling from
83
+ [Command batches](./pattern-command-batches.md) when ordering is required.
84
+
85
+ ## Basic Auth
86
+
87
+ [Mobile #7744](https://github.com/jigx-com/jigx/pull/7744) fixes credential resolution
88
+ for existing basicAuth parameters. Use the existing credential configuration;
89
+ do not add an OAuth token dependency as a workaround. No new builder option is needed.
90
+
91
+ ## SQLite calculations
92
+
93
+ [Parser update #7742](https://github.com/jigx-com/jigx/pull/7742) preserves grouping
94
+ and delegates calculations to SQLite. `9 / 2` evaluates to `4`; use `9.0 / 2` or
95
+ `CAST(value AS REAL)` when a fractional result is intended. Do not assume JavaScript
96
+ arithmetic. Continue using parameterized queries and the
97
+ [datasource recipes](./pattern-datasources.md). The datasource's existing
98
+ `rewriteQuery(false)` opts out of rewriting; an internal function-query implementation
99
+ argument is not a new public Function query property.
@@ -1,5 +1,12 @@
1
1
  # Pattern: Datasources
2
2
 
3
+ ## SQLite runtime arithmetic
4
+
5
+ The mobile runtime evaluates calculations using SQLite semantics: `9 / 2` is `4`;
6
+ use `9.0 / 2` for a fractional result. See [Data runtime behavior](./pattern-data-runtime.md)
7
+ for the source baseline and [Command batches](./pattern-command-batches.md) for
8
+ queued write dependencies.
9
+
3
10
  This is the standard approach unless the user instructs otherwise.
4
11
 
5
12
  ## Rules
@@ -1,5 +1,12 @@
1
1
  # Pattern: Navigation
2
2
 
3
+ ## Screen instance lifetime
4
+
5
+ The mobile runtime cleans up Screen instance state when that instance unmounts
6
+ ([mobile #7507](https://github.com/jigx-com/jigx/pull/7507)). Do not use a popped
7
+ Screen as durable storage. Persist drafts in local tables and pass inputs when
8
+ reopening the Screen; Application state has a different lifetime.
9
+
3
10
  ## Screen lifecycle — `onFocus` vs `onLoad`
4
11
 
5
12
  - **`onFocus`** fires when the user navigates *to* a screen (via `goto`, a tab switch,
@@ -199,7 +206,7 @@ List items support `swipeLeft()` and `swipeRight()`. Each returns a `SwipeableAc
199
206
  item
200
207
  .swipeRight()
201
208
  .label('Delete')
202
- .icon('delete-1')
209
+ .icon('trash')
203
210
  .color('negative')
204
211
  .onPress.confirm({
205
212
  modal: {
@@ -229,7 +236,7 @@ the copy is intentionally moving between parents.
229
236
  item
230
237
  .swipeLeft()
231
238
  .label('Copy')
232
- .icon('copy-1')
239
+ .icon('copy')
233
240
  .color('positive')
234
241
  .onPress.confirm({
235
242
  modal: { title: 'Copy Item?', confirm: 'Copy', cancel: 'Cancel' },
@@ -291,7 +291,7 @@ const header = screen.header()
291
291
 
292
292
  header.actions.executeAction({
293
293
  title: 'Regenerate',
294
- icon: 'synchronize-arrows-1',
294
+ icon: 'refresh',
295
295
  action: 'act-generate-quote-pdf',
296
296
  parameters: { opportunityID: '=@ctx.jig.inputs.opportunityID' },
297
297
  })
@@ -1,5 +1,12 @@
1
1
  # Pattern: REST Integration (Acumatica)
2
2
 
3
+ ## Current mobile data behavior
4
+
5
+ Use [Command batches](./pattern-command-batches.md) for dependent queued calls and
6
+ [Data runtime behavior](./pattern-data-runtime.md) for disableNetworkRetries, guard
7
+ short-circuits, Basic Auth and conversions inside a JSON attachment body. Keep
8
+ server-side idempotency and persisted completion checks even when calls share a batch.
9
+
3
10
  ## Best-practice boundary
4
11
 
5
12
  Use this file to define how Acumatica REST functions are built, not when UI flows should call them.
@@ -371,7 +378,7 @@ For batch sync from a header action, the UI should pass a datasource collection
371
378
  header.actions.executeAction({
372
379
  title: 'Sync',
373
380
  action: ACTION.SYNC_ALL,
374
- icon: 'cloud-sync',
381
+ icon: 'cloud-data-connection',
375
382
  parameters: {
376
383
  records: '=@ctx.datasources.syncable-records',
377
384
  },
@@ -505,13 +512,13 @@ app.script('acumaticaerrors.js', readScriptFile('acumaticaerrors.js'))
505
512
  export function addAcumaticaPutErrorHandlers(fn: RestFunctionBuilder, entityLabel: string): void {
506
513
  fn.error('=@ctx.response.status = 401')
507
514
  .notification(true)
508
- .alert({ icon: 'on-error-sad', title: '401 - Not authenticated', description: '...' })
515
+ .alert({ icon: 'mood-sad', title: '401 - Not authenticated', description: '...' })
509
516
 
510
517
  fn.error('=@ctx.response.status = 422')
511
518
  .notification(true)
512
519
  .details(`=$acumaticaerrors.findNestedErrors(@ctx.response.body,
513
520
  "Acumatica rejected the request. Review the values and try again.")`)
514
- .alert({ icon: 'on-error-sad', title: '422 - Data Validation error',
521
+ .alert({ icon: 'mood-sad', title: '422 - Data Validation error',
515
522
  description: `=$acumaticaerrors.findNestedErrors(@ctx.response.body,
516
523
  "Acumatica rejected the ${entityLabel}. Review the values and try again.")` })
517
524
  .operation('=@ctx.response.body')
@@ -521,7 +528,7 @@ export function addAcumaticaPutErrorHandlers(fn: RestFunctionBuilder, entityLabe
521
528
  fn.error('=@ctx.response.status = 503')
522
529
  .retry({ delay: 5000, maxRetries: 3 })
523
530
  .notification(true)
524
- .alert({ icon: 'on-error-sad', title: '503 - Acumatica Unavailable', description: '...' })
531
+ .alert({ icon: 'mood-sad', title: '503 - Acumatica Unavailable', description: '...' })
525
532
  .operation('=@ctx.response.body')
526
533
  .upsertReplace('diff-sync-errors')
527
534
 
@@ -1,5 +1,13 @@
1
1
  # Pattern: Data Sync (Acumatica)
2
2
 
3
+ ## Queued write ordering
4
+
5
+ For dependent writes, use [Command batches](./pattern-command-batches.md).
6
+ Sequential action lists control enqueueing, while batch processing controls remote
7
+ execution. Dynamic Data file uploads now default to async; choose explicit sync
8
+ when subsequent work requires upload completion. See [Data runtime behavior](./pattern-data-runtime.md)
9
+ for replay, guard and transfer semantics.
10
+
3
11
  ## Overview
4
12
 
5
13
  Syncing data from Acumatica involves:
@@ -114,7 +122,7 @@ Example shape:
114
122
  header.actions.executeAction({
115
123
  title: 'Sync',
116
124
  action: 'act-sync-all',
117
- icon: 'cloud-sync',
125
+ icon: 'cloud-data-connection',
118
126
  parameters: {
119
127
  records: '=@ctx.datasources.syncable-records',
120
128
  },
@@ -28,7 +28,7 @@ Use `.input()` to pass state from the tabs screen to child screens:
28
28
 
29
29
  ```typescript
30
30
  const generalTab = tabs.addInstance.tab(SCREEN.CUSTOMER_GENERAL, TAB_INSTANCE.GENERAL)
31
- generalTab.button({ instanceId: 'general-btn', title: 'General', icon: 'contact' })
31
+ generalTab.button({ instanceId: 'general-btn', title: 'General', icon: 'address-book' })
32
32
  generalTab.input('showDiscardAlert', '=@ctx.jig.state.showDiscardAlert')
33
33
  ```
34
34
 
@@ -15,6 +15,8 @@ Reference implementation: `workspace/acumatica-apps/create-customer/`
15
15
  | [pattern-global-actions.md](pattern-global-actions.md) | Parameter snapshotting, local save action, JSONata save expression, TypeScript helpers |
16
16
  | [pattern-rest-acumatica.md](pattern-rest-acumatica.md) | REST functions, Acumatica conventions, functionCall, accessToken, remote sync flag |
17
17
  | [pattern-navigation.md](pattern-navigation.md) | behaviour: 'new', $uuid(), bottom panel order, list-detail-child flow, screen-scoped datasources |
18
+ | [pattern-command-batches.md](pattern-command-batches.md) | Queue ordering, sync/parallel/async scheduling, uploads and batch recovery |
19
+ | [pattern-data-runtime.md](pattern-data-runtime.md) | REST retries, guards, converted attachments and runtime compatibility |
18
20
  | [pattern-sync.md](pattern-sync.md) | Initial sync, continuation, diff sync, sync scopes, OData vs REST |
19
21
  | [pattern-sync-progress.md](pattern-sync-progress.md) | Sync progress bar UI ideas — weights, step text, show/hide, cards |
20
22
  | [pattern-javascript-functions.md](pattern-javascript-functions.md) | `app.script()` — extend JSONata with custom JS functions (math, formatting, HTML templates, validation, transformation) |
package/docs/sections.md CHANGED
@@ -57,7 +57,7 @@ section.addText({ name: 'description', label: 'Description' })
57
57
  ## Example: Multi-Section Step
58
58
 
59
59
  ```typescript
60
- form.addStep({ instanceId: 'profile', icon: 'single-neutral' }, (step) => {
60
+ form.addStep({ instanceId: 'profile', icon: 'user' }, (step) => {
61
61
  // Personal section
62
62
  const personal = step.addSection({ title: 'Personal' })
63
63
  personal.addText({ name: 'full-name', label: 'Full Name' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jigx/core-sdk",
3
- "version": "1.2.0-next.3",
3
+ "version": "1.2.0-next.31",
4
4
  "description": "Jigx Software Development Kit - SDK for building Jigx applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -55,6 +55,7 @@
55
55
  "build": " yarn build:icons && yarn build:sdk && yarn build:examples && yarn copy:assets",
56
56
  "build:sdk": " yarn tsc --build",
57
57
  "build:icons": " node scripts/icons/generate-icon-set.js --silent",
58
+ "import:icons": " node scripts/icons/import-tabler-icons.mjs",
58
59
  "build:examples": "yarn tsx scripts/extract-core-sdk-examples/extract-core-sdk-examples.ts --silent",
59
60
  "copy:assets": " mkdir -p dist/assets && [ -d assets ] && cp -R assets/* dist/assets/ || true",
60
61
  "format": "oxfmt -c ../../.oxfmtrc.json src/"
@@ -66,9 +67,10 @@
66
67
  "lodash": "^4.18.1",
67
68
  "node-sql-parser": "^5.4.0",
68
69
  "yaml": "^2.9.0",
69
- "zod": "4.3.6"
70
+ "zod": "4.6.6"
70
71
  },
71
72
  "devDependencies": {
73
+ "@tabler/icons": "3.49.0",
72
74
  "@types/better-sqlite3": "^7.6.13",
73
75
  "@types/lodash": "^4.17.24",
74
76
  "@vitest/coverage-v8": "^4.1.10",
@@ -76,7 +78,7 @@
76
78
  "oxlint": "*",
77
79
  "tsx": "*",
78
80
  "typescript": "^7.0.2",
79
- "vitest": "^4.1.10"
81
+ "vitest": "^4.1.11"
80
82
  },
81
83
  "publishConfig": {
82
84
  "access": "public",