@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.
- package/README.md +6 -82
- package/dist/PACKAGE.d.ts +1 -0
- package/dist/PACKAGE.d.ts.map +1 -1
- package/dist/PACKAGE.js +3 -2
- package/dist/abstract/sdk.text.d.ts +1 -0
- package/dist/abstract/sdk.text.d.ts.map +1 -1
- package/dist/abstract/sdk.text.js +8 -2
- package/dist/abstract/sdk.types.d.ts +1 -1
- package/dist/abstract/sdk.types.d.ts.map +1 -1
- package/dist/abstract/sdk.types.js +11 -26
- package/dist/abstract/zod.types.d.ts +19 -1
- package/dist/abstract/zod.types.d.ts.map +1 -1
- package/dist/abstract/zod.types.js +6 -1
- package/dist/action/index.d.ts +2 -0
- package/dist/action/index.d.ts.map +1 -1
- package/dist/action/index.js +2 -1
- package/dist/action/ja.confirm.d.ts +2 -1
- package/dist/action/ja.confirm.d.ts.map +1 -1
- package/dist/action/ja.confirm.js +22 -6
- package/dist/action/ja.delete-queue-command.d.ts +11 -6
- package/dist/action/ja.delete-queue-command.d.ts.map +1 -1
- package/dist/action/ja.delete-queue-command.js +8 -8
- package/dist/action/ja.evaluate.d.ts.map +1 -1
- package/dist/action/ja.evaluate.js +1 -1
- package/dist/action/ja.execute-entities.d.ts +2 -1
- package/dist/action/ja.execute-entities.d.ts.map +1 -1
- package/dist/action/ja.execute-entities.js +3 -2
- package/dist/action/ja.execute-entity.abstract.d.ts +13 -2
- package/dist/action/ja.execute-entity.abstract.d.ts.map +1 -1
- package/dist/action/ja.execute-entity.abstract.js +25 -1
- package/dist/action/ja.in-background.d.ts +7 -0
- package/dist/action/ja.in-background.d.ts.map +1 -1
- package/dist/action/ja.in-background.factory.d.ts +2 -0
- package/dist/action/ja.in-background.factory.d.ts.map +1 -1
- package/dist/action/ja.in-background.factory.js +3 -1
- package/dist/action/ja.in-background.js +12 -1
- package/dist/action/ja.on-button.factory.d.ts +2 -0
- package/dist/action/ja.on-button.factory.d.ts.map +1 -1
- package/dist/action/ja.on-button.factory.js +3 -1
- package/dist/action/ja.open-media-picker.abstract.d.ts +8 -0
- package/dist/action/ja.open-media-picker.abstract.d.ts.map +1 -1
- package/dist/action/ja.open-media-picker.abstract.js +1 -1
- package/dist/action/ja.open-media-picker.d.ts +8 -0
- package/dist/action/ja.open-media-picker.d.ts.map +1 -1
- package/dist/action/ja.open-media-picker.js +8 -1
- package/dist/action/ja.queue-options.d.ts +27 -0
- package/dist/action/ja.queue-options.d.ts.map +1 -0
- package/dist/action/ja.queue-options.js +30 -0
- package/dist/action/ja.retry-queue-command.d.ts +9 -4
- package/dist/action/ja.retry-queue-command.d.ts.map +1 -1
- package/dist/action/ja.retry-queue-command.js +9 -5
- package/dist/action/ja.set-state.d.ts +22 -0
- package/dist/action/ja.set-state.d.ts.map +1 -0
- package/dist/action/ja.set-state.js +24 -0
- package/dist/action/ja.show-alert.d.ts +11 -29
- package/dist/action/ja.show-alert.d.ts.map +1 -1
- package/dist/action/ja.show-alert.js +16 -19
- package/dist/action/ja.submit-form.d.ts +8 -1
- package/dist/action/ja.submit-form.d.ts.map +1 -1
- package/dist/action/ja.submit-form.js +8 -2
- package/dist/action/ja.sync-entities.abstract.d.ts.map +1 -1
- package/dist/action/ja.sync-entities.abstract.js +1 -1
- package/dist/application/application.component.d.ts +90 -0
- package/dist/application/application.component.d.ts.map +1 -0
- package/dist/application/application.component.js +68 -0
- package/dist/application/application.sdk.d.ts +18 -3
- package/dist/application/application.sdk.d.ts.map +1 -1
- package/dist/application/application.sdk.js +39 -10
- package/dist/application/application.tab.d.ts +4 -3
- package/dist/application/application.tab.d.ts.map +1 -1
- package/dist/application/application.tab.js +2 -2
- package/dist/application/application.table-changed.d.ts +19 -0
- package/dist/application/application.table-changed.d.ts.map +1 -0
- package/dist/application/application.table-changed.js +22 -0
- package/dist/application/index.d.ts +2 -0
- package/dist/application/index.d.ts.map +1 -1
- package/dist/application/index.js +3 -1
- package/dist/assets/example-extraction-cache.json +4 -4
- package/dist/assets/extracted-core-sdk-examples.yaml +1813 -917
- package/dist/assets/tabler-icons.csv +5185 -0
- package/dist/component/common/jc.component.types.d.ts +4 -2
- package/dist/component/common/jc.component.types.d.ts.map +1 -1
- package/dist/component/common/jc.component.types.js +1 -1
- package/dist/component/common/jc.left-right.element.icon.d.ts.map +1 -1
- package/dist/component/common/jc.left-right.element.icon.js +3 -8
- package/dist/component/common/jc.picker-field-options.types.d.ts +4 -0
- package/dist/component/common/jc.picker-field-options.types.d.ts.map +1 -1
- package/dist/component/common/jc.picker-field-options.types.js +1 -1
- package/dist/component/common/jc.validation.d.ts +1 -1
- package/dist/component/common/jc.validation.d.ts.map +1 -1
- package/dist/component/common/jc.validation.js +2 -2
- package/dist/component/index.d.ts +3 -0
- package/dist/component/index.d.ts.map +1 -1
- package/dist/component/index.js +4 -1
- package/dist/component/jc.abstract.factory.d.ts +10 -1
- package/dist/component/jc.abstract.factory.d.ts.map +1 -1
- package/dist/component/jc.abstract.factory.js +11 -1
- package/dist/component/jc.amount-control.d.ts +2 -2
- package/dist/component/jc.amount-control.d.ts.map +1 -1
- package/dist/component/jc.amount-control.js +1 -1
- package/dist/component/jc.avatar-field.d.ts.map +1 -1
- package/dist/component/jc.avatar-field.js +4 -1
- package/dist/component/jc.banner.d.ts +2 -0
- package/dist/component/jc.banner.d.ts.map +1 -1
- package/dist/component/jc.card.on-custom-component.d.ts +89 -0
- package/dist/component/jc.card.on-custom-component.d.ts.map +1 -0
- package/dist/component/jc.card.on-custom-component.js +89 -0
- package/dist/component/jc.card.on-default.d.ts +5 -1
- package/dist/component/jc.card.on-default.d.ts.map +1 -1
- package/dist/component/jc.card.on-default.js +5 -1
- package/dist/component/jc.chat.d.ts +1 -0
- package/dist/component/jc.chat.d.ts.map +1 -1
- package/dist/component/jc.chat.js +2 -2
- package/dist/component/jc.dropdown.item.d.ts.map +1 -1
- package/dist/component/jc.dropdown.item.js +6 -2
- package/dist/component/jc.entity-field.d.ts.map +1 -1
- package/dist/component/jc.entity-field.js +3 -6
- package/dist/component/jc.expander.d.ts +1 -1
- package/dist/component/jc.field-row.d.ts +2 -0
- package/dist/component/jc.field-row.d.ts.map +1 -1
- package/dist/component/jc.field-row.js +3 -1
- package/dist/component/jc.form.d.ts +3 -1
- package/dist/component/jc.form.d.ts.map +1 -1
- package/dist/component/jc.form.js +3 -1
- package/dist/component/jc.icon.js +2 -2
- package/dist/component/jc.image.d.ts +3 -2
- package/dist/component/jc.image.d.ts.map +1 -1
- package/dist/component/jc.image.js +1 -1
- package/dist/component/jc.image.on-custom-component.d.ts +53 -0
- package/dist/component/jc.image.on-custom-component.d.ts.map +1 -0
- package/dist/component/jc.image.on-custom-component.js +29 -0
- package/dist/component/jc.interactive-image.d.ts +21 -7
- package/dist/component/jc.interactive-image.d.ts.map +1 -1
- package/dist/component/jc.interactive-image.js +20 -13
- package/dist/component/jc.list-item.d.ts +2 -0
- package/dist/component/jc.list-item.d.ts.map +1 -1
- package/dist/component/jc.list-item.js +4 -1
- package/dist/component/jc.list.d.ts +1 -1
- package/dist/component/jc.list.d.ts.map +1 -1
- package/dist/component/jc.media-field.d.ts.map +1 -1
- package/dist/component/jc.media-field.js +4 -1
- package/dist/component/jc.menu-item.d.ts +2 -0
- package/dist/component/jc.menu-item.d.ts.map +1 -1
- package/dist/component/jc.number-field.d.ts +1 -0
- package/dist/component/jc.number-field.d.ts.map +1 -1
- package/dist/component/jc.number-field.js +2 -1
- package/dist/component/jc.rating.js +2 -2
- package/dist/component/jc.scanner-field.d.ts +29 -0
- package/dist/component/jc.scanner-field.d.ts.map +1 -0
- package/dist/component/jc.scanner-field.js +41 -0
- package/dist/component/jc.section.abstract.d.ts +2 -0
- package/dist/component/jc.section.abstract.d.ts.map +1 -1
- package/dist/component/jc.section.on-default.d.ts +3 -1
- package/dist/component/jc.section.on-default.d.ts.map +1 -1
- package/dist/component/jc.section.on-default.js +3 -1
- package/dist/component/jc.text.d.ts +1 -1
- package/dist/component/jc.text.d.ts.map +1 -1
- package/dist/component/jc.text.js +1 -1
- package/dist/component/jc.types.d.ts +1 -0
- package/dist/component/jc.types.d.ts.map +1 -1
- package/dist/component/jc.types.js +2 -1
- package/dist/component/jc.video-player.on-jig.d.ts +2 -3
- package/dist/component/jc.video-player.on-jig.d.ts.map +1 -1
- package/dist/component/jc.video-player.on-jig.js +1 -11
- package/dist/component/jc.view.d.ts +9 -5
- package/dist/component/jc.view.d.ts.map +1 -1
- package/dist/component/jc.view.js +14 -10
- package/dist/component/jc.web-view.abstract.d.ts +1 -0
- package/dist/component/jc.web-view.abstract.d.ts.map +1 -1
- package/dist/component/jc.web-view.abstract.js +1 -1
- package/dist/datasource/datasource.reference.d.ts.map +1 -1
- package/dist/datasource/datasource.reference.js +7 -2
- package/dist/datasource/datasource.sdk.d.ts.map +1 -1
- package/dist/datasource/datasource.sdk.js +1 -1
- package/dist/datasource/datasource.sqlite.d.ts.map +1 -1
- package/dist/datasource/datasource.sqlite.js +6 -4
- package/dist/datasource/datasource.static.d.ts +3 -2
- package/dist/datasource/datasource.static.d.ts.map +1 -1
- package/dist/datasource/datasource.static.js +7 -3
- package/dist/datasource/sqlite-normalizer.d.ts +4 -2
- package/dist/datasource/sqlite-normalizer.d.ts.map +1 -1
- package/dist/datasource/sqlite-normalizer.js +61 -9
- package/dist/datasource/sqlite-validator.d.ts +2 -1
- package/dist/datasource/sqlite-validator.d.ts.map +1 -1
- package/dist/datasource/sqlite-validator.js +50 -17
- package/dist/function/function.abstract.d.ts +19 -12
- package/dist/function/function.abstract.d.ts.map +1 -1
- package/dist/function/function.abstract.js +10 -5
- package/dist/function/function.guard.d.ts +2 -1
- package/dist/function/function.guard.d.ts.map +1 -1
- package/dist/function/function.guard.js +3 -2
- package/dist/function/function.operation.d.ts +3 -3
- package/dist/function/function.operation.d.ts.map +1 -1
- package/dist/function/function.operation.js +1 -1
- package/dist/function/function.rest.d.ts +8 -0
- package/dist/function/function.rest.d.ts.map +1 -1
- package/dist/function/function.rest.error-builder.d.ts +4 -4
- package/dist/function/function.rest.error-builder.d.ts.map +1 -1
- package/dist/function/function.rest.error-builder.js +4 -6
- package/dist/function/function.rest.js +10 -1
- package/dist/function/function.rest.parameter-builder.d.ts.map +1 -1
- package/dist/function/function.rest.parameter-builder.js +7 -2
- package/dist/function/function.rest.types.d.ts +2 -0
- package/dist/function/function.rest.types.d.ts.map +1 -1
- package/dist/function/function.rest.types.js +1 -1
- package/dist/function/function.soap.parameter-builder.d.ts.map +1 -1
- package/dist/function/function.soap.parameter-builder.js +8 -3
- package/dist/icon/sdk.icon.d.ts +4 -4
- package/dist/icon/sdk.icon.d.ts.map +1 -1
- package/dist/icon/sdk.icon.data.d.ts +2 -2
- package/dist/icon/sdk.icon.data.d.ts.map +1 -1
- package/dist/icon/sdk.icon.data.js +5187 -19280
- package/dist/icon/sdk.icon.js +6 -6
- package/dist/icon/sdk.icon.name.d.ts +3 -4
- package/dist/icon/sdk.icon.name.d.ts.map +1 -1
- package/dist/icon/sdk.icon.name.js +4906 -19000
- package/dist/jsonata/builder.d.ts +14 -3
- package/dist/jsonata/builder.d.ts.map +1 -1
- package/dist/jsonata/builder.js +127 -15
- package/dist/jsonata/context.d.ts.map +1 -1
- package/dist/jsonata/context.js +12 -3
- package/dist/screen/common/screen.default-children.d.ts +4 -2
- package/dist/screen/common/screen.default-children.d.ts.map +1 -1
- package/dist/screen/common/screen.default-children.js +4 -2
- package/dist/screen/common/screen.input-definition.d.ts.map +1 -1
- package/dist/screen/common/screen.input-definition.js +1 -1
- package/dist/screen/common/screen.placeholder.d.ts.map +1 -1
- package/dist/screen/common/screen.placeholder.js +1 -1
- package/dist/screen/common/screen.preview.d.ts.map +1 -1
- package/dist/screen/common/screen.preview.js +1 -1
- package/dist/screen/screen.abstract.d.ts +1 -1
- package/dist/screen/screen.abstract.d.ts.map +1 -1
- package/dist/screen/screen.abstract.js +1 -1
- package/dist/screen/screen.default.d.ts +4 -2
- package/dist/screen/screen.default.d.ts.map +1 -1
- package/dist/screen/screen.full-screen.d.ts +6 -2
- package/dist/screen/screen.full-screen.d.ts.map +1 -1
- package/dist/screen/screen.full-screen.js +10 -2
- package/dist/screen/screen.grid.base.d.ts +1 -1
- package/dist/screen/screen.grid.base.d.ts.map +1 -1
- package/dist/screen/screen.list.d.ts +5 -3
- package/dist/screen/screen.list.d.ts.map +1 -1
- package/dist/screen/screen.list.js +10 -3
- package/dist/screen/screen.tabs.d.ts +1 -1
- package/dist/screen/screen.tabs.d.ts.map +1 -1
- package/dist/screen/screen.tabs.instance.d.ts +4 -1
- package/dist/screen/screen.tabs.instance.d.ts.map +1 -1
- package/dist/screen/screen.tabs.instance.js +6 -2
- package/dist/screen/screen.tabs.js +1 -1
- package/docs/array-fields.md +5 -5
- package/docs/conditional-logic.md +2 -2
- package/docs/dropdown-fields.md +13 -13
- package/docs/field-state.md +5 -5
- package/docs/field-types-overview.md +2 -2
- package/docs/formatting.md +3 -3
- package/docs/icons.md +34 -30
- package/docs/index.md +25 -20
- package/docs/jsonata-expressions.md +3 -3
- package/docs/overview.md +42 -467
- package/docs/pattern-command-batches.md +103 -0
- package/docs/pattern-data-runtime.md +99 -0
- package/docs/pattern-datasources.md +7 -0
- package/docs/pattern-navigation.md +9 -2
- package/docs/pattern-pdf-generation.md +1 -1
- package/docs/pattern-rest-acumatica.md +11 -4
- package/docs/pattern-sync.md +9 -1
- package/docs/pattern-tabs-form.md +1 -1
- package/docs/recipe-index.md +2 -0
- package/docs/sections.md +1 -1
- package/package.json +5 -3
- package/dist/assets/stream-line-icons.csv +0 -19278
package/docs/icons.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
## Searching Icons
|
|
2
2
|
|
|
3
|
+
Icons come from a fixed set of ~5,200 Tabler outline icons. Filled variants (`*-filled`) are not available. Only use names returned by the icon search; names from the Tabler website may not be in the set.
|
|
4
|
+
|
|
3
5
|
Use MCP to find valid icon names:
|
|
4
6
|
|
|
5
7
|
```typescript
|
|
6
8
|
mcp__jigx_common__search_sdk_icons({
|
|
7
|
-
queries: [{ query: "money dollar payment", category: "
|
|
9
|
+
queries: [{ query: "money dollar payment", category: "currencies" }]
|
|
8
10
|
})
|
|
9
11
|
```
|
|
10
12
|
|
|
@@ -12,21 +14,23 @@ mcp__jigx_common__search_sdk_icons({
|
|
|
12
14
|
|
|
13
15
|
- Use 3-5 descriptive keywords
|
|
14
16
|
- Include category for better results
|
|
15
|
-
- Bad: "
|
|
16
|
-
- Good: "
|
|
17
|
+
- Bad: "sport" → ball-tennis
|
|
18
|
+
- Good: "sports car racing fast" → car-suv
|
|
17
19
|
|
|
18
20
|
### Common Categories
|
|
19
21
|
|
|
20
22
|
| Category | Contains |
|
|
21
23
|
| --- | --- |
|
|
22
|
-
| `
|
|
23
|
-
| `
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
24
|
+
| `system` | UI elements, controls, settings |
|
|
25
|
+
| `arrows` | Arrows, chevrons, directions |
|
|
26
|
+
| `document` | Files, notes, clipboards |
|
|
27
|
+
| `e-commerce` | Shopping, payments, receipts |
|
|
28
|
+
| `communication` | Mail, messages, phone |
|
|
29
|
+
| `devices` | Phones, computers, hardware |
|
|
30
|
+
| `map` | Location, pins, navigation |
|
|
31
|
+
| `buildings` | Home, office, warehouse |
|
|
32
|
+
| `vehicles` | Cars, trucks, transport |
|
|
33
|
+
| `brand` | Brand logos (`brand-*`) |
|
|
30
34
|
|
|
31
35
|
## Using Icons
|
|
32
36
|
|
|
@@ -38,7 +42,7 @@ Pass `icon` in constructor or use `.with()`:
|
|
|
38
42
|
step.addEmail({
|
|
39
43
|
name: 'email',
|
|
40
44
|
label: 'Email',
|
|
41
|
-
icon: '
|
|
45
|
+
icon: 'mail-forward',
|
|
42
46
|
})
|
|
43
47
|
step.addPhone({
|
|
44
48
|
name: 'phone',
|
|
@@ -54,7 +58,7 @@ form.addStep(
|
|
|
54
58
|
{
|
|
55
59
|
instanceId: 'contact',
|
|
56
60
|
title: 'Contact',
|
|
57
|
-
icon: '
|
|
61
|
+
icon: 'user',
|
|
58
62
|
},
|
|
59
63
|
(step) => {
|
|
60
64
|
step.addText({ name: 'name', label: 'Name' })
|
|
@@ -71,7 +75,7 @@ step.addDropdown({
|
|
|
71
75
|
data: [
|
|
72
76
|
{ label: 'High', value: 'high', icon: 'alert-triangle' },
|
|
73
77
|
{ label: 'Medium', value: 'medium', icon: 'alert-circle' },
|
|
74
|
-
{ label: 'Low', value: 'low', icon: '
|
|
78
|
+
{ label: 'Low', value: 'low', icon: 'info-circle' },
|
|
75
79
|
],
|
|
76
80
|
})
|
|
77
81
|
```
|
|
@@ -81,7 +85,7 @@ step.addDropdown({
|
|
|
81
85
|
```typescript
|
|
82
86
|
const field = step.addText({ name: 'status', label: 'Status' })
|
|
83
87
|
// Update icon after construction
|
|
84
|
-
field.with({ icon: '
|
|
88
|
+
field.with({ icon: 'circle-check' })
|
|
85
89
|
```
|
|
86
90
|
|
|
87
91
|
## Validation
|
|
@@ -100,22 +104,22 @@ const step = form.addStep({ instanceId: 'billing', icon: 'made-up-icon-123' })
|
|
|
100
104
|
|
|
101
105
|
| Use Case | Search Query | Example Icons |
|
|
102
106
|
| --- | --- | --- |
|
|
103
|
-
| Contact | "user person profile" | `user`, `
|
|
104
|
-
| Email | "mail envelope" | `mail
|
|
107
|
+
| Contact | "user person profile" | `user`, `users` |
|
|
108
|
+
| Email | "mail envelope" | `mail` |
|
|
105
109
|
| Phone | "phone call" | `phone`, `phone-call` |
|
|
106
|
-
| Money | "money dollar currency" | `currency-dollar`, `
|
|
107
|
-
| Location | "location pin map" | `
|
|
110
|
+
| Money | "money dollar currency" | `currency-dollar`, `cash` |
|
|
111
|
+
| Location | "location pin map" | `map-pin`, `map` |
|
|
108
112
|
| Calendar | "calendar date schedule" | `calendar`, `calendar-check` |
|
|
109
|
-
| Settings | "settings gear cog" | `settings
|
|
110
|
-
| Search | "search magnify" | `search
|
|
111
|
-
| Add | "add plus create" | `
|
|
112
|
-
| Delete | "delete trash remove" | `trash`, `
|
|
113
|
-
| Edit | "edit pencil write" | `pencil`, `edit
|
|
114
|
-
| Save | "save disk check" | `
|
|
115
|
-
| Warning | "warning alert triangle" | `alert-triangle
|
|
116
|
-
| Info | "info information circle" | `
|
|
117
|
-
| Success | "success check complete" | `check
|
|
118
|
-
| Error | "error x close" | `x
|
|
113
|
+
| Settings | "settings gear cog" | `settings` |
|
|
114
|
+
| Search | "search magnify" | `search` |
|
|
115
|
+
| Add | "add plus create" | `plus`, `circle-plus` |
|
|
116
|
+
| Delete | "delete trash remove" | `trash`, `circle-x` |
|
|
117
|
+
| Edit | "edit pencil write" | `pencil`, `edit` |
|
|
118
|
+
| Save | "save disk check" | `device-floppy`, `check` |
|
|
119
|
+
| Warning | "warning alert triangle" | `alert-triangle` |
|
|
120
|
+
| Info | "info information circle" | `info-circle` |
|
|
121
|
+
| Success | "success check complete" | `circle-check`, `check` |
|
|
122
|
+
| Error | "error x close" | `circle-x`, `x` |
|
|
119
123
|
|
|
120
124
|
## Dynamic Icons
|
|
121
125
|
|
|
@@ -134,7 +138,7 @@ step.addText({
|
|
|
134
138
|
name: 'statusDisplay',
|
|
135
139
|
label: 'Status Display',
|
|
136
140
|
icon: new IconBuilder(
|
|
137
|
-
new JsonataBuilder('$status = "active" ? "
|
|
141
|
+
new JsonataBuilder('$status = "active" ? "circle-check" : "circle-x"', {
|
|
138
142
|
status: statusField.state.value,
|
|
139
143
|
}),
|
|
140
144
|
),
|
package/docs/index.md
CHANGED
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Core SDK documentation
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
|
8
|
+
| Task | Guide |
|
|
6
9
|
| --- | --- |
|
|
7
|
-
|
|
8
|
-
| [
|
|
9
|
-
| [
|
|
10
|
-
| [
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
| [
|
|
14
|
-
| [
|
|
15
|
-
| [
|
|
16
|
-
| [
|
|
17
|
-
|
|
|
18
|
-
| [
|
|
19
|
-
| [
|
|
20
|
-
| [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
+
| Generate and share PDFs | [PDF generation](./pattern-pdf-generation.md) |
|
|
23
|
+
| Build and deploy | [Build/deploy](./pattern-build-deploy.md) |
|
|
24
|
+
|
|
25
|
+
Core SDK uses `ApplicationBuilder`, screen/control/action factories and runtime
|
|
26
|
+
Expressions. Expert SDK is a separate higher-level form API; its `JsonataBuilder`,
|
|
27
|
+
Steps and Fields are not Core SDK builder methods. Use this index and the installed
|
|
28
|
+
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: '
|
|
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: '
|
|
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: '
|
|
153
|
+
form.addStep({ instanceId: 'summary', icon: 'list-details' }, (step) => {
|
|
154
154
|
step.addText({
|
|
155
155
|
name: 'total',
|
|
156
156
|
label: 'Total',
|