@jigx/core-sdk 1.2.0-next.26 → 1.2.0-next.28
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/dist/assets/example-extraction-cache.json +4 -4
- package/dist/assets/extracted-core-sdk-examples.yaml +460 -460
- package/dist/assets/tabler-icons.csv +5185 -0
- package/dist/component/jc.icon.js +2 -2
- package/dist/component/jc.rating.js +2 -2
- package/dist/datasource/datasource.reference.d.ts.map +1 -1
- package/dist/datasource/datasource.reference.js +7 -2
- 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.soap.parameter-builder.d.ts.map +1 -1
- package/dist/function/function.soap.parameter-builder.js +7 -2
- 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/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/jsonata-expressions.md +3 -3
- package/docs/overview.md +1 -1
- package/docs/pattern-navigation.md +2 -2
- package/docs/pattern-pdf-generation.md +1 -1
- package/docs/pattern-rest-acumatica.md +4 -4
- package/docs/pattern-sync.md +1 -1
- package/docs/pattern-tabs-form.md +1 -1
- package/docs/sections.md +1 -1
- package/package.json +3 -1
- package/dist/assets/stream-line-icons.csv +0 -19278
|
@@ -2214,7 +2214,7 @@
|
|
|
2214
2214
|
statusWidget
|
|
2215
2215
|
.addStatus({
|
|
2216
2216
|
when: '=@ctx.datasources.system-status[0].health = "green"',
|
|
2217
|
-
icon: 'check
|
|
2217
|
+
icon: 'circle-check',
|
|
2218
2218
|
color: 'positive',
|
|
2219
2219
|
})
|
|
2220
2220
|
.bottom.titles({
|
|
@@ -2236,7 +2236,7 @@
|
|
|
2236
2236
|
statusWidget
|
|
2237
2237
|
.addStatus({
|
|
2238
2238
|
when: '=@ctx.datasources.system-status[0].health = "red"',
|
|
2239
|
-
icon: '
|
|
2239
|
+
icon: 'trash',
|
|
2240
2240
|
color: 'negative',
|
|
2241
2241
|
})
|
|
2242
2242
|
.bottom.titles({
|
|
@@ -2507,8 +2507,8 @@
|
|
|
2507
2507
|
})
|
|
2508
2508
|
// Add home hub with navigation tabs
|
|
2509
2509
|
app.addTab({ screenId: 'dashboard', icon: 'home', label: 'Dashboard' })
|
|
2510
|
-
app.addTab({ screenId: 'tasks', icon: '
|
|
2511
|
-
app.addTab({ screenId: 'reports', icon: 'chart', label: 'Reports' })
|
|
2510
|
+
app.addTab({ screenId: 'tasks', icon: 'checklist', label: 'Tasks' })
|
|
2511
|
+
app.addTab({ screenId: 'reports', icon: 'chart-bar', label: 'Reports' })
|
|
2512
2512
|
app.addTab({ screenId: 'settings', icon: 'settings', label: 'Settings' })
|
|
2513
2513
|
- id: navigation-patterns-example
|
|
2514
2514
|
name: Navigation Patterns
|
|
@@ -3893,7 +3893,7 @@
|
|
|
3893
3893
|
statusWidget
|
|
3894
3894
|
.addStatus({
|
|
3895
3895
|
when: '=$exists(@ctx.datasources.products) and $count(@ctx.datasources.products) > 0',
|
|
3896
|
-
icon: 'check
|
|
3896
|
+
icon: 'circle-check',
|
|
3897
3897
|
color: 'positive',
|
|
3898
3898
|
})
|
|
3899
3899
|
.bottom.titles({
|
|
@@ -4197,7 +4197,7 @@
|
|
|
4197
4197
|
// Status widget example with proper condition structure
|
|
4198
4198
|
status.addStatus({
|
|
4199
4199
|
when: '=@ctx.datasources.messages.type = "success"',
|
|
4200
|
-
icon: 'check
|
|
4200
|
+
icon: 'circle-check',
|
|
4201
4201
|
color: 'positive',
|
|
4202
4202
|
})
|
|
4203
4203
|
status.addStatus({
|
|
@@ -4744,7 +4744,7 @@
|
|
|
4744
4744
|
offlineActions.add.clearQueueCommand({
|
|
4745
4745
|
title: 'Clear Failed Uploads',
|
|
4746
4746
|
itemId: 'failed-uploads',
|
|
4747
|
-
icon: '
|
|
4747
|
+
icon: 'trash',
|
|
4748
4748
|
isDanger: true,
|
|
4749
4749
|
when: '=$count(@ctx.solution.state.queues.failedUploads) > 0',
|
|
4750
4750
|
})
|
|
@@ -4752,14 +4752,14 @@
|
|
|
4752
4752
|
offlineActions.add.clearQueueCommand({
|
|
4753
4753
|
title: 'Clear Pending Sync',
|
|
4754
4754
|
itemId: 'pending-sync',
|
|
4755
|
-
icon: '
|
|
4755
|
+
icon: 'trash',
|
|
4756
4756
|
when: '=$count(@ctx.solution.state.queues.pendingSync) > 0',
|
|
4757
4757
|
})
|
|
4758
4758
|
// Clear draft submissions queue
|
|
4759
4759
|
offlineActions.add.clearQueueCommand({
|
|
4760
4760
|
title: 'Clear Drafts',
|
|
4761
4761
|
itemId: 'draft-submissions',
|
|
4762
|
-
icon: '
|
|
4762
|
+
icon: 'trash',
|
|
4763
4763
|
when: '=$count(@ctx.solution.state.queues.draftSubmissions) > 0',
|
|
4764
4764
|
})
|
|
4765
4765
|
// 2. Administrative queue management
|
|
@@ -4768,7 +4768,7 @@
|
|
|
4768
4768
|
adminActions.add.clearQueueCommand({
|
|
4769
4769
|
title: 'Clear All Queues',
|
|
4770
4770
|
itemId: '=@ctx.solution.state.admin.selectedQueue',
|
|
4771
|
-
icon: 'trash
|
|
4771
|
+
icon: 'trash',
|
|
4772
4772
|
isDanger: true,
|
|
4773
4773
|
isPlain: true,
|
|
4774
4774
|
when: '=@ctx.solution.state.user.role = "admin" and @ctx.solution.state.admin.selectedQueue',
|
|
@@ -4777,7 +4777,7 @@
|
|
|
4777
4777
|
adminActions.add.clearQueueCommand({
|
|
4778
4778
|
title: 'Clear Error Queue',
|
|
4779
4779
|
itemId: 'system-errors',
|
|
4780
|
-
icon: 'alert',
|
|
4780
|
+
icon: 'alert-triangle',
|
|
4781
4781
|
isDanger: true,
|
|
4782
4782
|
when: '=@ctx.solution.state.user.role = "admin" and $count(@ctx.solution.state.queues.systemErrors) > 0',
|
|
4783
4783
|
})
|
|
@@ -4785,7 +4785,7 @@
|
|
|
4785
4785
|
adminActions.add.clearQueueCommand({
|
|
4786
4786
|
title: 'Clear Analytics',
|
|
4787
4787
|
itemId: 'analytics-queue',
|
|
4788
|
-
icon: '
|
|
4788
|
+
icon: 'trash',
|
|
4789
4789
|
when: '=@ctx.solution.state.user.role = "admin" and @ctx.solution.state.privacy.clearAnalyticsRequested',
|
|
4790
4790
|
})
|
|
4791
4791
|
// 3. Troubleshooting and recovery
|
|
@@ -4794,7 +4794,7 @@
|
|
|
4794
4794
|
troubleshootActions.add.clearQueueCommand({
|
|
4795
4795
|
title: 'Clear Stuck Operations',
|
|
4796
4796
|
itemId: 'stuck-operations',
|
|
4797
|
-
icon: '
|
|
4797
|
+
icon: 'minus',
|
|
4798
4798
|
isDanger: true,
|
|
4799
4799
|
when: '=@ctx.solution.state.hasStuckOperations',
|
|
4800
4800
|
})
|
|
@@ -4802,7 +4802,7 @@
|
|
|
4802
4802
|
troubleshootActions.add.clearQueueCommand({
|
|
4803
4803
|
title: 'Clear Corrupted Queue',
|
|
4804
4804
|
itemId: '=@ctx.solution.state.troubleshoot.corruptedQueueId',
|
|
4805
|
-
icon: '
|
|
4805
|
+
icon: 'trash',
|
|
4806
4806
|
isDanger: true,
|
|
4807
4807
|
when: '=@ctx.solution.state.hasCorruptedQueue',
|
|
4808
4808
|
})
|
|
@@ -4812,14 +4812,14 @@
|
|
|
4812
4812
|
syncActions.add.clearQueueCommand({
|
|
4813
4813
|
title: 'Clear Entity Queue',
|
|
4814
4814
|
itemId: '=@ctx.solution.state.sync.selectedEntityQueue',
|
|
4815
|
-
icon: '
|
|
4815
|
+
icon: 'trash',
|
|
4816
4816
|
when: '=@ctx.solution.state.sync.selectedEntityQueue and @ctx.solution.state.sync.canClearEntity',
|
|
4817
4817
|
})
|
|
4818
4818
|
// Clear retry queue after max attempts
|
|
4819
4819
|
syncActions.add.clearQueueCommand({
|
|
4820
4820
|
title: 'Clear Retry Queue',
|
|
4821
4821
|
itemId: 'retry-operations',
|
|
4822
|
-
icon: '
|
|
4822
|
+
icon: 'minus',
|
|
4823
4823
|
isDanger: true,
|
|
4824
4824
|
when: '=@ctx.solution.state.queues.retryOperations.maxAttemptsExceeded',
|
|
4825
4825
|
})
|
|
@@ -4997,7 +4997,7 @@
|
|
|
4997
4997
|
queueActions.add.deleteQueueCommand({
|
|
4998
4998
|
title: 'Remove Failed',
|
|
4999
4999
|
id: '=@ctx.jig.state.selectedCommandId',
|
|
5000
|
-
icon: '
|
|
5000
|
+
icon: 'trash',
|
|
5001
5001
|
isDanger: true,
|
|
5002
5002
|
when: '=@ctx.jig.state.selectedCommandId and @ctx.jig.state.commandStatus = "failed"',
|
|
5003
5003
|
})
|
|
@@ -5013,7 +5013,7 @@
|
|
|
5013
5013
|
queueActions.add.deleteQueueCommand({
|
|
5014
5014
|
title: 'Cancel Pending',
|
|
5015
5015
|
id: '=@ctx.jig.state.pendingCommandId',
|
|
5016
|
-
icon: '
|
|
5016
|
+
icon: 'player-pause',
|
|
5017
5017
|
when: '=@ctx.jig.state.pendingCommandId and @ctx.jig.state.canCancel',
|
|
5018
5018
|
})
|
|
5019
5019
|
// 2. Error recovery queue management
|
|
@@ -5030,7 +5030,7 @@
|
|
|
5030
5030
|
errorActions.add.deleteQueueCommand({
|
|
5031
5031
|
title: 'Remove Stuck',
|
|
5032
5032
|
id: '=@ctx.solution.state.stuckCommandId',
|
|
5033
|
-
icon: '
|
|
5033
|
+
icon: 'trash',
|
|
5034
5034
|
when: '=@ctx.solution.state.hasStuckCommand',
|
|
5035
5035
|
})
|
|
5036
5036
|
// === IN-BACKGROUND ACTIONS: Automatic queue command cleanup without user interaction ===
|
|
@@ -5074,7 +5074,7 @@
|
|
|
5074
5074
|
syncActions.add.deleteSyncScope({
|
|
5075
5075
|
title: 'Remove Scope',
|
|
5076
5076
|
itemId: 'user-data-scope',
|
|
5077
|
-
icon: '
|
|
5077
|
+
icon: 'trash',
|
|
5078
5078
|
isDanger: true,
|
|
5079
5079
|
when: '=@ctx.jig.state.selectedScope',
|
|
5080
5080
|
})
|
|
@@ -5082,7 +5082,7 @@
|
|
|
5082
5082
|
syncActions.add.deleteSyncScope({
|
|
5083
5083
|
title: 'Clean Expired',
|
|
5084
5084
|
itemId: ['temp-scope-1', 'temp-scope-2'],
|
|
5085
|
-
icon: '
|
|
5085
|
+
icon: 'eraser',
|
|
5086
5086
|
isPlain: true,
|
|
5087
5087
|
when: '=@ctx.solution.state.hasExpiredScopes',
|
|
5088
5088
|
})
|
|
@@ -5090,7 +5090,7 @@
|
|
|
5090
5090
|
syncActions.add.deleteSyncScope({
|
|
5091
5091
|
title: 'Clear My Data',
|
|
5092
5092
|
itemId: '=@ctx.user.id & "-scope"',
|
|
5093
|
-
icon: '
|
|
5093
|
+
icon: 'minus',
|
|
5094
5094
|
isDanger: true,
|
|
5095
5095
|
when: '=@ctx.solution.state.user.canDeleteOwnData',
|
|
5096
5096
|
})
|
|
@@ -5100,7 +5100,7 @@
|
|
|
5100
5100
|
adminActions.add.deleteSyncScope({
|
|
5101
5101
|
title: 'Delete User Scopes',
|
|
5102
5102
|
itemId: '=@ctx.jig.state.userScopeIds',
|
|
5103
|
-
icon: 'group',
|
|
5103
|
+
icon: 'users-group',
|
|
5104
5104
|
isDanger: true,
|
|
5105
5105
|
when: '=@ctx.solution.state.user.role = "admin" and @ctx.jig.state.userScopeIds.length > 0',
|
|
5106
5106
|
})
|
|
@@ -5108,7 +5108,7 @@
|
|
|
5108
5108
|
adminActions.add.deleteSyncScope({
|
|
5109
5109
|
title: 'Clean Inactive',
|
|
5110
5110
|
itemId: 'inactive-scopes',
|
|
5111
|
-
icon: '
|
|
5111
|
+
icon: 'clock',
|
|
5112
5112
|
when: '=@ctx.solution.state.hasInactiveScopes',
|
|
5113
5113
|
})
|
|
5114
5114
|
// === IN-BACKGROUND ACTIONS: Automatic sync scope cleanup without user interaction ===
|
|
@@ -5176,7 +5176,7 @@
|
|
|
5176
5176
|
title: 'Reset Monitor',
|
|
5177
5177
|
instanceId: 'monitorStatus',
|
|
5178
5178
|
itemId: 'monitorStatus',
|
|
5179
|
-
icon: '
|
|
5179
|
+
icon: 'refresh',
|
|
5180
5180
|
isPlain: true,
|
|
5181
5181
|
when: '=@ctx.jig.state.monitoringEnabled',
|
|
5182
5182
|
})
|
|
@@ -5187,7 +5187,7 @@
|
|
|
5187
5187
|
title: 'Clear Failed',
|
|
5188
5188
|
instanceId: 'failedStatusIds',
|
|
5189
5189
|
itemId: 'failedStatusIds',
|
|
5190
|
-
icon: '
|
|
5190
|
+
icon: 'trash',
|
|
5191
5191
|
isDanger: true,
|
|
5192
5192
|
when: '=@ctx.solution.state.failedStatusIds and @ctx.solution.state.failedStatusIds.length > 0',
|
|
5193
5193
|
})
|
|
@@ -5196,7 +5196,7 @@
|
|
|
5196
5196
|
title: 'Reset Diagnostics',
|
|
5197
5197
|
instanceId: 'diagnosticStatus',
|
|
5198
5198
|
itemId: 'diagnosticStatus',
|
|
5199
|
-
icon: '
|
|
5199
|
+
icon: 'bug',
|
|
5200
5200
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
5201
5201
|
})
|
|
5202
5202
|
// === IN-BACKGROUND ACTIONS: Automatic sync status cleanup without user interaction ===
|
|
@@ -5262,7 +5262,7 @@
|
|
|
5262
5262
|
$lastSync: '=@ctx.solution.state.lastSyncTime',
|
|
5263
5263
|
$force: false,
|
|
5264
5264
|
},
|
|
5265
|
-
icon: '
|
|
5265
|
+
icon: 'refresh-dot',
|
|
5266
5266
|
when: '=@ctx.system.isOnline',
|
|
5267
5267
|
})
|
|
5268
5268
|
// Execute bulk operation workflow
|
|
@@ -5274,7 +5274,7 @@
|
|
|
5274
5274
|
$operation: 'activate',
|
|
5275
5275
|
$timestamp: '=$now()',
|
|
5276
5276
|
},
|
|
5277
|
-
icon: 'presentation
|
|
5277
|
+
icon: 'presentation',
|
|
5278
5278
|
when: '=@ctx.jig.state.selectedCustomers and @ctx.jig.state.selectedCustomers.length > 0',
|
|
5279
5279
|
})
|
|
5280
5280
|
// 2. Order form global action execution
|
|
@@ -5288,7 +5288,7 @@
|
|
|
5288
5288
|
$customerId: '=@ctx.jig.inputs.customerId',
|
|
5289
5289
|
$discountCode: '=@ctx.components.discountField.state.value',
|
|
5290
5290
|
},
|
|
5291
|
-
icon: '
|
|
5291
|
+
icon: 'calculator',
|
|
5292
5292
|
})
|
|
5293
5293
|
// Submit order through approval workflow
|
|
5294
5294
|
orderActions.add.executeAction({
|
|
@@ -5299,7 +5299,7 @@
|
|
|
5299
5299
|
$submittedBy: '=@ctx.user.id',
|
|
5300
5300
|
$requiresApproval: '=@ctx.jig.state.orderTotal > 10000',
|
|
5301
5301
|
},
|
|
5302
|
-
icon: 'send
|
|
5302
|
+
icon: 'send',
|
|
5303
5303
|
isPrimary: true,
|
|
5304
5304
|
when: '=@ctx.jig.state.isValid and @ctx.jig.state.orderItems.length > 0',
|
|
5305
5305
|
})
|
|
@@ -5328,7 +5328,7 @@
|
|
|
5328
5328
|
$approver: '=@ctx.user.id',
|
|
5329
5329
|
$reason: '=@ctx.components.rejectionReason.state.value',
|
|
5330
5330
|
},
|
|
5331
|
-
icon: '
|
|
5331
|
+
icon: 'x',
|
|
5332
5332
|
isDanger: true,
|
|
5333
5333
|
when: '=@ctx.components.rejectionReason.state.value',
|
|
5334
5334
|
})
|
|
@@ -5416,7 +5416,7 @@
|
|
|
5416
5416
|
inventoryActions.add
|
|
5417
5417
|
.executeEntities({
|
|
5418
5418
|
title: 'Delete Selected',
|
|
5419
|
-
icon: '
|
|
5419
|
+
icon: 'trash',
|
|
5420
5420
|
isDanger: true,
|
|
5421
5421
|
when: '=@ctx.jig.state.selectedItems and @ctx.jig.state.selectedItems.length > 0',
|
|
5422
5422
|
})
|
|
@@ -5437,7 +5437,7 @@
|
|
|
5437
5437
|
importActions.add
|
|
5438
5438
|
.executeEntities({
|
|
5439
5439
|
title: 'Import CSV Data',
|
|
5440
|
-
icon: 'import
|
|
5440
|
+
icon: 'file-import',
|
|
5441
5441
|
isPrimary: true,
|
|
5442
5442
|
when: '=@ctx.components.csvParser.state.isValid and @ctx.components.csvParser.state.parsedData.length > 0',
|
|
5443
5443
|
})
|
|
@@ -5447,7 +5447,7 @@
|
|
|
5447
5447
|
importActions.add
|
|
5448
5448
|
.executeEntities({
|
|
5449
5449
|
title: 'Process Files',
|
|
5450
|
-
icon: 'copy
|
|
5450
|
+
icon: 'copy',
|
|
5451
5451
|
when: '=@ctx.components.fileUpload.state.hasFiles',
|
|
5452
5452
|
})
|
|
5453
5453
|
.dynamicFile('imports-documents', 'create')
|
|
@@ -5458,7 +5458,7 @@
|
|
|
5458
5458
|
adminActions.add
|
|
5459
5459
|
.executeEntities({
|
|
5460
5460
|
title: 'Sync from Salesforce',
|
|
5461
|
-
icon: '
|
|
5461
|
+
icon: 'refresh-dot',
|
|
5462
5462
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
5463
5463
|
})
|
|
5464
5464
|
.salesforce('Contact', 'create')
|
|
@@ -5857,7 +5857,7 @@
|
|
|
5857
5857
|
fileName: '=@ctx.solution.state.reportFilename',
|
|
5858
5858
|
content: '=@ctx.solution.state.reportContent',
|
|
5859
5859
|
encoding: 'utf8',
|
|
5860
|
-
icon: '
|
|
5860
|
+
icon: 'file-download',
|
|
5861
5861
|
isPrimary: true,
|
|
5862
5862
|
when: '=@ctx.solution.state.reportReady and @ctx.solution.state.userCanDownload',
|
|
5863
5863
|
})
|
|
@@ -5867,7 +5867,7 @@
|
|
|
5867
5867
|
fileName: '=@ctx.jig.state.exportFilename & ".csv"',
|
|
5868
5868
|
content: '=@ctx.jig.state.csvContent',
|
|
5869
5869
|
encoding: 'utf8',
|
|
5870
|
-
icon: 'file-csv',
|
|
5870
|
+
icon: 'file-type-csv',
|
|
5871
5871
|
when: '=@ctx.jig.state.hasExportData',
|
|
5872
5872
|
})
|
|
5873
5873
|
// PDF report with base64 encoding
|
|
@@ -5876,7 +5876,7 @@
|
|
|
5876
5876
|
fileName: '="report-" & @ctx.solution.state.reportPeriod & ".pdf"',
|
|
5877
5877
|
content: '=@ctx.solution.state.pdfContent',
|
|
5878
5878
|
encoding: 'base64',
|
|
5879
|
-
icon: 'file-pdf',
|
|
5879
|
+
icon: 'file-type-pdf',
|
|
5880
5880
|
when: '=@ctx.solution.state.hasPdfAccess',
|
|
5881
5881
|
})
|
|
5882
5882
|
// 2. Data backup and export operations
|
|
@@ -5887,7 +5887,7 @@
|
|
|
5887
5887
|
fileName: '="user-data-" & $now() & ".json"',
|
|
5888
5888
|
content: '=@ctx.solution.state.userExportData',
|
|
5889
5889
|
encoding: 'utf8',
|
|
5890
|
-
icon: '
|
|
5890
|
+
icon: 'file-info',
|
|
5891
5891
|
when: '=@ctx.solution.state.hasRequestedExport',
|
|
5892
5892
|
})
|
|
5893
5893
|
// System configuration backup
|
|
@@ -5907,7 +5907,7 @@
|
|
|
5907
5907
|
fileName: '=@ctx.solution.state.logFilename',
|
|
5908
5908
|
content: '=@ctx.solution.state.logExportData',
|
|
5909
5909
|
encoding: 'utf8',
|
|
5910
|
-
icon: '
|
|
5910
|
+
icon: 'file-text',
|
|
5911
5911
|
when: '=@ctx.solution.state.hasLogEntries and @ctx.solution.state.canExportLogs',
|
|
5912
5912
|
})
|
|
5913
5913
|
// Template-based document generation
|
|
@@ -5925,7 +5925,7 @@
|
|
|
5925
5925
|
fileName: '=@ctx.jig.state.customFilename',
|
|
5926
5926
|
content: '=@ctx.jig.state.customContent',
|
|
5927
5927
|
encoding: '=@ctx.jig.state.preferredEncoding ? @ctx.jig.state.preferredEncoding : "utf8"',
|
|
5928
|
-
icon: 'export
|
|
5928
|
+
icon: 'file-export',
|
|
5929
5929
|
when: '=@ctx.jig.state.exportIsValid',
|
|
5930
5930
|
})
|
|
5931
5931
|
// 4. Binary and media file generation
|
|
@@ -5936,7 +5936,7 @@
|
|
|
5936
5936
|
fileName: '="images-backup-" & $now() & ".zip"',
|
|
5937
5937
|
content: '=@ctx.solution.state.imageZipData',
|
|
5938
5938
|
encoding: 'base64',
|
|
5939
|
-
icon: '
|
|
5939
|
+
icon: 'photo',
|
|
5940
5940
|
when: '=@ctx.solution.state.hasImageSelection',
|
|
5941
5941
|
})
|
|
5942
5942
|
// Database dump generation
|
|
@@ -5979,7 +5979,7 @@
|
|
|
5979
5979
|
fileName: '="monthly-report-" & @ctx.jig.inputs.report.month & ".pdf"',
|
|
5980
5980
|
html: '=@ctx.jig.inputs.report.html',
|
|
5981
5981
|
instanceId: 'monthly-report',
|
|
5982
|
-
icon: 'file-pdf',
|
|
5982
|
+
icon: 'file-type-pdf',
|
|
5983
5983
|
isPrimary: true,
|
|
5984
5984
|
when: '=@ctx.jig.inputs.report.isReady and @ctx.solution.state.canDownload',
|
|
5985
5985
|
})
|
|
@@ -6025,7 +6025,7 @@
|
|
|
6025
6025
|
</html>
|
|
6026
6026
|
`,
|
|
6027
6027
|
instanceId: 'sales-analytics',
|
|
6028
|
-
icon: 'chart',
|
|
6028
|
+
icon: 'chart-bar',
|
|
6029
6029
|
when: '=@ctx.solution.state.analytics.hasData',
|
|
6030
6030
|
})
|
|
6031
6031
|
// Custom executive summary
|
|
@@ -6076,7 +6076,7 @@
|
|
|
6076
6076
|
</html>
|
|
6077
6077
|
`,
|
|
6078
6078
|
instanceId: 'batch-invoices',
|
|
6079
|
-
icon: '
|
|
6079
|
+
icon: 'files',
|
|
6080
6080
|
when: '=$count(@ctx.jig.inputs.batch.invoices) > 0',
|
|
6081
6081
|
})
|
|
6082
6082
|
// 3. Certificates and credentials
|
|
@@ -6087,7 +6087,7 @@
|
|
|
6087
6087
|
fileName: '=@ctx.user.displayName & "-certificate.pdf"',
|
|
6088
6088
|
html: '=@ctx.jig.inputs.certificate.html',
|
|
6089
6089
|
instanceId: 'training-cert',
|
|
6090
|
-
icon: '
|
|
6090
|
+
icon: 'certificate',
|
|
6091
6091
|
isPrimary: true,
|
|
6092
6092
|
when: '=@ctx.jig.inputs.course.isCompleted and @ctx.solution.state.passedExam',
|
|
6093
6093
|
})
|
|
@@ -6132,7 +6132,7 @@
|
|
|
6132
6132
|
</html>
|
|
6133
6133
|
`,
|
|
6134
6134
|
instanceId: 'pro-cert',
|
|
6135
|
-
icon: 'award
|
|
6135
|
+
icon: 'award',
|
|
6136
6136
|
when: '=@ctx.jig.inputs.certification.isVerified',
|
|
6137
6137
|
})
|
|
6138
6138
|
// 4. Dynamic template-based documents
|
|
@@ -6143,7 +6143,7 @@
|
|
|
6143
6143
|
fileName: '=@ctx.jig.inputs.contract.filename',
|
|
6144
6144
|
html: '=@ctx.solution.state.templates.render("contract", @ctx.jig.inputs.contract.data)',
|
|
6145
6145
|
instanceId: 'contract-gen',
|
|
6146
|
-
icon: 'file-
|
|
6146
|
+
icon: 'file-text',
|
|
6147
6147
|
when: '=@ctx.jig.inputs.contract.isValid and @ctx.solution.state.canGenerateContracts',
|
|
6148
6148
|
})
|
|
6149
6149
|
// Proposal document with dynamic content
|
|
@@ -6152,7 +6152,7 @@
|
|
|
6152
6152
|
fileName: '="proposal-" & @ctx.jig.inputs.proposal.clientName & "-" & Date.now() & ".pdf"',
|
|
6153
6153
|
html: '=@ctx.jig.inputs.proposal.buildHTML()',
|
|
6154
6154
|
instanceId: 'proposal-gen',
|
|
6155
|
-
icon: '
|
|
6155
|
+
icon: 'heart-handshake',
|
|
6156
6156
|
when: '=@ctx.jig.inputs.proposal.isDraft = false',
|
|
6157
6157
|
})
|
|
6158
6158
|
// Multi-section report compilation
|
|
@@ -6195,7 +6195,7 @@
|
|
|
6195
6195
|
</html>
|
|
6196
6196
|
`,
|
|
6197
6197
|
instanceId: 'report-compilation',
|
|
6198
|
-
icon: '
|
|
6198
|
+
icon: 'file-plus',
|
|
6199
6199
|
when: '=@ctx.jig.inputs.compilation.sections.length > 0',
|
|
6200
6200
|
})
|
|
6201
6201
|
// 5. Background PDF generation for automated workflows with action chaining
|
|
@@ -6243,25 +6243,25 @@
|
|
|
6243
6243
|
// Cancel with warning for unsaved changes
|
|
6244
6244
|
customerDetailActions.add.goBack({
|
|
6245
6245
|
title: 'Cancel',
|
|
6246
|
-
icon: '
|
|
6246
|
+
icon: 'x',
|
|
6247
6247
|
isDanger: true,
|
|
6248
6248
|
when: '=@ctx.jig.state.hasUnsavedChanges',
|
|
6249
6249
|
})
|
|
6250
6250
|
// 2. Order form navigation actions
|
|
6251
6251
|
const orderFormActions = orderFormScreen.bottomPanel({ numberOfVisibleActions: 3 })
|
|
6252
6252
|
// Cancel order creation
|
|
6253
|
-
orderFormActions.add.goBack({ title: 'Cancel Order', icon: '
|
|
6253
|
+
orderFormActions.add.goBack({ title: 'Cancel Order', icon: 'x', isPlain: true })
|
|
6254
6254
|
// Discard changes button
|
|
6255
6255
|
orderFormActions.add.goBack({
|
|
6256
6256
|
title: 'Discard Changes',
|
|
6257
|
-
icon: '
|
|
6257
|
+
icon: 'trash',
|
|
6258
6258
|
isDanger: true,
|
|
6259
6259
|
when: '=@ctx.jig.state.isDirty',
|
|
6260
6260
|
})
|
|
6261
6261
|
// Return to customer (dynamic title)
|
|
6262
6262
|
orderFormActions.add.goBack({
|
|
6263
6263
|
title: 'Return to Customer',
|
|
6264
|
-
icon: '
|
|
6264
|
+
icon: 'user',
|
|
6265
6265
|
when: '=@ctx.jig.inputs.customerId',
|
|
6266
6266
|
})
|
|
6267
6267
|
// 3. Settings screen navigation
|
|
@@ -6536,7 +6536,7 @@
|
|
|
6536
6536
|
// Conditional settings for permissions
|
|
6537
6537
|
mainActions.add.openAppSettings({
|
|
6538
6538
|
title: 'Enable Notifications',
|
|
6539
|
-
icon: '
|
|
6539
|
+
icon: 'bell-ringing',
|
|
6540
6540
|
isPlain: true,
|
|
6541
6541
|
})
|
|
6542
6542
|
// Settings access for troubleshooting
|
|
@@ -6565,7 +6565,7 @@
|
|
|
6565
6565
|
// Guided settings access
|
|
6566
6566
|
helpActions.add.openAppSettings({
|
|
6567
6567
|
title: 'Fix App Issues',
|
|
6568
|
-
icon: '
|
|
6568
|
+
icon: 'tools',
|
|
6569
6569
|
isDanger: true,
|
|
6570
6570
|
when: '=@ctx.solution.state.hasIssues',
|
|
6571
6571
|
})
|
|
@@ -6611,7 +6611,7 @@
|
|
|
6611
6611
|
customerActions.add.openMap({
|
|
6612
6612
|
title: 'Get Directions',
|
|
6613
6613
|
address: '=@ctx.datasources.customer[0].fullAddress',
|
|
6614
|
-
icon: '
|
|
6614
|
+
icon: 'chevron-right',
|
|
6615
6615
|
when: '=@ctx.system.isLocationSharingEnabled',
|
|
6616
6616
|
})
|
|
6617
6617
|
// Show nearby locations
|
|
@@ -6641,7 +6641,7 @@
|
|
|
6641
6641
|
deliveryActions.add.openMap({
|
|
6642
6642
|
title: 'View Route',
|
|
6643
6643
|
address: '=@ctx.datasources.delivery[0].destinationAddress',
|
|
6644
|
-
icon: '
|
|
6644
|
+
icon: 'device-desktop',
|
|
6645
6645
|
when: '=@ctx.datasources.delivery[0].hasRoute',
|
|
6646
6646
|
})
|
|
6647
6647
|
// 3. Store locator map features
|
|
@@ -6653,7 +6653,7 @@
|
|
|
6653
6653
|
latitude: '=@ctx.system.geolocation.coords.latitude',
|
|
6654
6654
|
longitude: '=@ctx.system.geolocation.coords.longitude',
|
|
6655
6655
|
},
|
|
6656
|
-
icon: '
|
|
6656
|
+
icon: 'building-store',
|
|
6657
6657
|
isPrimary: true,
|
|
6658
6658
|
when: '=@ctx.system.isLocationSharingEnabled',
|
|
6659
6659
|
})
|
|
@@ -6661,7 +6661,7 @@
|
|
|
6661
6661
|
storeActions.add.openMap({
|
|
6662
6662
|
title: 'View All Stores',
|
|
6663
6663
|
address: '=@ctx.solution.state.userCity & ", " & @ctx.solution.state.userState',
|
|
6664
|
-
icon: '
|
|
6664
|
+
icon: 'building-store',
|
|
6665
6665
|
when: '=@ctx.solution.state.hasAddress',
|
|
6666
6666
|
})
|
|
6667
6667
|
// Note: Open map actions are user-triggered only - no background map launching
|
|
@@ -7125,7 +7125,7 @@
|
|
|
7125
7125
|
title: 'Reprint Last',
|
|
7126
7126
|
instanceId: 'reprint-receipt',
|
|
7127
7127
|
html: '=@ctx.solution.state.receipts.getLastReceiptHTML()',
|
|
7128
|
-
icon: '
|
|
7128
|
+
icon: 'printer',
|
|
7129
7129
|
when: '=@ctx.solution.state.receipts.hasLast',
|
|
7130
7130
|
})
|
|
7131
7131
|
// 2. Business reports and analytics
|
|
@@ -7135,7 +7135,7 @@
|
|
|
7135
7135
|
title: 'Print Daily Report',
|
|
7136
7136
|
instanceId: 'daily-report',
|
|
7137
7137
|
html: '=@ctx.solution.state.reports.generateDailyHTML()',
|
|
7138
|
-
icon: 'chart',
|
|
7138
|
+
icon: 'chart-bar',
|
|
7139
7139
|
when: '=@ctx.solution.state.reports.dailyReady',
|
|
7140
7140
|
})
|
|
7141
7141
|
// Print from generated PDF file
|
|
@@ -7143,7 +7143,7 @@
|
|
|
7143
7143
|
title: 'Print Monthly PDF',
|
|
7144
7144
|
instanceId: 'monthly-pdf',
|
|
7145
7145
|
fileUri: '=@ctx.solution.state.reports.monthlyPdfPath',
|
|
7146
|
-
icon: 'file-pdf',
|
|
7146
|
+
icon: 'file-type-pdf',
|
|
7147
7147
|
when: '=@ctx.solution.state.reports.monthlyPdfExists',
|
|
7148
7148
|
})
|
|
7149
7149
|
// Custom analytics report
|
|
@@ -7203,7 +7203,7 @@
|
|
|
7203
7203
|
</body>
|
|
7204
7204
|
</html>
|
|
7205
7205
|
`,
|
|
7206
|
-
icon: '
|
|
7206
|
+
icon: 'chart-bar',
|
|
7207
7207
|
when: '=@ctx.solution.state.analytics.hasData',
|
|
7208
7208
|
})
|
|
7209
7209
|
// 3. Invoice and billing documents
|
|
@@ -7213,7 +7213,7 @@
|
|
|
7213
7213
|
title: 'Print Invoice',
|
|
7214
7214
|
instanceId: 'invoice-print',
|
|
7215
7215
|
html: '=@ctx.jig.inputs.invoice.generatePrintHTML()',
|
|
7216
|
-
icon: '
|
|
7216
|
+
icon: 'file-invoice',
|
|
7217
7217
|
isPrimary: true,
|
|
7218
7218
|
when: '=@ctx.jig.inputs.invoice.isApproved',
|
|
7219
7219
|
})
|
|
@@ -7251,7 +7251,7 @@
|
|
|
7251
7251
|
</body>
|
|
7252
7252
|
</html>
|
|
7253
7253
|
`,
|
|
7254
|
-
icon: '
|
|
7254
|
+
icon: 'stack-2',
|
|
7255
7255
|
when: '=@ctx.jig.inputs.invoiceBatch.invoices.length > 0',
|
|
7256
7256
|
})
|
|
7257
7257
|
// 4. Shipping and logistics
|
|
@@ -7296,7 +7296,7 @@
|
|
|
7296
7296
|
</body>
|
|
7297
7297
|
</html>
|
|
7298
7298
|
`,
|
|
7299
|
-
icon: 'delivery
|
|
7299
|
+
icon: 'truck-delivery',
|
|
7300
7300
|
when: '=@ctx.jig.inputs.shipment.isReady',
|
|
7301
7301
|
})
|
|
7302
7302
|
// Package packing slip
|
|
@@ -7304,7 +7304,7 @@
|
|
|
7304
7304
|
title: 'Packing Slip',
|
|
7305
7305
|
instanceId: 'packing-slip',
|
|
7306
7306
|
html: '=@ctx.jig.inputs.shipment.generatePackingSlipHTML()',
|
|
7307
|
-
icon: '
|
|
7307
|
+
icon: 'list-check',
|
|
7308
7308
|
when: '=@ctx.jig.inputs.shipment.hasItems',
|
|
7309
7309
|
})
|
|
7310
7310
|
// Return label printing
|
|
@@ -7312,7 +7312,7 @@
|
|
|
7312
7312
|
title: 'Return Label',
|
|
7313
7313
|
instanceId: 'return-label',
|
|
7314
7314
|
html: '=@ctx.solution.state.returns.generateReturnLabelHTML()',
|
|
7315
|
-
icon: '
|
|
7315
|
+
icon: 'arrow-back-up',
|
|
7316
7316
|
when: '=@ctx.solution.state.returns.isAuthorized',
|
|
7317
7317
|
})
|
|
7318
7318
|
// 5. Background printing for automated workflows
|
|
@@ -7526,7 +7526,7 @@
|
|
|
7526
7526
|
title: 'Reset Form',
|
|
7527
7527
|
stateKey: '=@ctx.jig.state.formData',
|
|
7528
7528
|
instanceId: 'reset-form',
|
|
7529
|
-
icon: '
|
|
7529
|
+
icon: 'forms',
|
|
7530
7530
|
isDanger: true,
|
|
7531
7531
|
when: '=@ctx.jig.state.formData and @ctx.jig.state.hasChanges',
|
|
7532
7532
|
})
|
|
@@ -7535,7 +7535,7 @@
|
|
|
7535
7535
|
title: 'Clear Errors',
|
|
7536
7536
|
stateKey: '=@ctx.jig.state.validationErrors',
|
|
7537
7537
|
instanceId: 'clear-errors',
|
|
7538
|
-
icon: 'alert',
|
|
7538
|
+
icon: 'alert-triangle',
|
|
7539
7539
|
when: '=@ctx.jig.state.validationErrors and Object.keys(@ctx.jig.state.validationErrors).length > 0',
|
|
7540
7540
|
})
|
|
7541
7541
|
// Reset component selections
|
|
@@ -7543,7 +7543,7 @@
|
|
|
7543
7543
|
title: 'Clear Selections',
|
|
7544
7544
|
stateKey: '=@ctx.jig.state.selectedItems',
|
|
7545
7545
|
instanceId: 'clear-selections',
|
|
7546
|
-
icon: '
|
|
7546
|
+
icon: 'pointer-off',
|
|
7547
7547
|
when: '=@ctx.jig.state.selectedItems and @ctx.jig.state.selectedItems.length > 0',
|
|
7548
7548
|
})
|
|
7549
7549
|
// 2. User settings and preferences
|
|
@@ -7562,7 +7562,7 @@
|
|
|
7562
7562
|
title: 'Clear Customizations',
|
|
7563
7563
|
stateKey: '=@ctx.solution.state.userCustomizations',
|
|
7564
7564
|
instanceId: 'clear-customizations',
|
|
7565
|
-
icon: '
|
|
7565
|
+
icon: 'palette',
|
|
7566
7566
|
isDanger: true,
|
|
7567
7567
|
when: '=@ctx.solution.settings.custom.userCustomizations and @ctx.solution.state.canResetCustomizations',
|
|
7568
7568
|
})
|
|
@@ -7571,7 +7571,7 @@
|
|
|
7571
7571
|
title: 'Reset Notifications',
|
|
7572
7572
|
stateKey: '=@ctx.solution.state.notificationSettings',
|
|
7573
7573
|
instanceId: 'reset-notifications',
|
|
7574
|
-
icon: '
|
|
7574
|
+
icon: 'ban',
|
|
7575
7575
|
when: '=@ctx.solution.state.notificationSettings and @ctx.solution.state.hasCustomSettings',
|
|
7576
7576
|
})
|
|
7577
7577
|
// 3. Session and temporary data cleanup
|
|
@@ -7581,7 +7581,7 @@
|
|
|
7581
7581
|
title: 'Clear Session Cache',
|
|
7582
7582
|
stateKey: '=@ctx.solution.state.state.cachedData',
|
|
7583
7583
|
instanceId: 'clear-session',
|
|
7584
|
-
icon: '
|
|
7584
|
+
icon: 'trash',
|
|
7585
7585
|
isDanger: true,
|
|
7586
7586
|
when: '=@ctx.solution.state.state.cachedData and @ctx.solution.state.cacheSize > 1048576', // 1MB
|
|
7587
7587
|
})
|
|
@@ -7590,7 +7590,7 @@
|
|
|
7590
7590
|
title: 'Clear Workspace',
|
|
7591
7591
|
stateKey: '=@ctx.solution.state.temporaryWorkspace',
|
|
7592
7592
|
instanceId: 'clear-workspace',
|
|
7593
|
-
icon: '
|
|
7593
|
+
icon: 'trash',
|
|
7594
7594
|
when: '=@ctx.solution.state.temporaryWorkspace and @ctx.solution.state.workspace.hasTemporaryData',
|
|
7595
7595
|
})
|
|
7596
7596
|
// 4. Advanced state management and troubleshooting
|
|
@@ -7600,7 +7600,7 @@
|
|
|
7600
7600
|
title: 'Reset User State',
|
|
7601
7601
|
stateKey: '=@ctx.solution.state.selectedUserState',
|
|
7602
7602
|
instanceId: 'reset-user-state',
|
|
7603
|
-
icon: '
|
|
7603
|
+
icon: 'minus',
|
|
7604
7604
|
isDanger: true,
|
|
7605
7605
|
when: '=@ctx.solution.state.userIsAdmin and @ctx.solution.state.selectedUserId',
|
|
7606
7606
|
})
|
|
@@ -7609,7 +7609,7 @@
|
|
|
7609
7609
|
title: 'Clear Error State',
|
|
7610
7610
|
stateKey: '=@ctx.solution.state.applicationErrors',
|
|
7611
7611
|
instanceId: 'clear-errors',
|
|
7612
|
-
icon: '
|
|
7612
|
+
icon: 'bug',
|
|
7613
7613
|
isDanger: true,
|
|
7614
7614
|
when: '=@ctx.solution.state.userIsAdmin and @ctx.solution.state.applicationErrors',
|
|
7615
7615
|
})
|
|
@@ -7618,7 +7618,7 @@
|
|
|
7618
7618
|
title: 'Emergency Reset',
|
|
7619
7619
|
stateKey: '=@ctx.solution.state.emergencyRecovery',
|
|
7620
7620
|
instanceId: 'emergency-reset',
|
|
7621
|
-
icon: '
|
|
7621
|
+
icon: 'ban',
|
|
7622
7622
|
isDanger: true,
|
|
7623
7623
|
isPrimary: true,
|
|
7624
7624
|
when: '=@ctx.solution.state.emergencyRecovery',
|
|
@@ -7662,7 +7662,7 @@
|
|
|
7662
7662
|
// Retry specific failed command
|
|
7663
7663
|
errorActions.add.retryQueueCommand({
|
|
7664
7664
|
title: 'Retry Command',
|
|
7665
|
-
icon: '
|
|
7665
|
+
icon: 'refresh',
|
|
7666
7666
|
commandId: '=@ctx.jig.state.selectedFailedCommandId',
|
|
7667
7667
|
isPrimary: true,
|
|
7668
7668
|
when: '=@ctx.jig.state.selectedFailedCommandId and @ctx.system.isOnline',
|
|
@@ -7677,7 +7677,7 @@
|
|
|
7677
7677
|
// Retry critical operations
|
|
7678
7678
|
errorActions.add.retryQueueCommand({
|
|
7679
7679
|
title: 'Retry Critical',
|
|
7680
|
-
icon: 'alert',
|
|
7680
|
+
icon: 'alert-triangle',
|
|
7681
7681
|
commandId: '=@ctx.solution.state.criticalCommandId',
|
|
7682
7682
|
isDanger: true,
|
|
7683
7683
|
when: '=@ctx.solution.state.hasCriticalFailures',
|
|
@@ -7687,7 +7687,7 @@
|
|
|
7687
7687
|
// Retry after network recovery
|
|
7688
7688
|
networkActions.add.retryQueueCommand({
|
|
7689
7689
|
title: 'Retry Sync',
|
|
7690
|
-
icon: 'notes
|
|
7690
|
+
icon: 'notes',
|
|
7691
7691
|
commandId: '=@ctx.solution.state.syncFailedCommandId',
|
|
7692
7692
|
isPrimary: true,
|
|
7693
7693
|
when: '=@ctx.system.isOnline and @ctx.solution.state.hasSyncFailures',
|
|
@@ -7748,14 +7748,14 @@
|
|
|
7748
7748
|
// Alternative: Navigate to overview screen instead of tab
|
|
7749
7749
|
actions.add.goto({
|
|
7750
7750
|
title: 'View Overview',
|
|
7751
|
-
icon: 'chart',
|
|
7751
|
+
icon: 'chart-bar',
|
|
7752
7752
|
linkTo: 'overview-screen',
|
|
7753
7753
|
isPrimary: true,
|
|
7754
7754
|
})
|
|
7755
7755
|
// Alternative: Navigate to analytics screen
|
|
7756
7756
|
actions.add.goto({
|
|
7757
7757
|
title: 'Show Analytics',
|
|
7758
|
-
icon: 'chart',
|
|
7758
|
+
icon: 'chart-bar',
|
|
7759
7759
|
linkTo: 'analytics-screen',
|
|
7760
7760
|
when: '=@ctx.solution.state.user.hasAnalyticsAccess',
|
|
7761
7761
|
})
|
|
@@ -7770,13 +7770,13 @@
|
|
|
7770
7770
|
//
|
|
7771
7771
|
actions.add.setActiveTab({
|
|
7772
7772
|
title: 'View Overview',
|
|
7773
|
-
icon: 'chart',
|
|
7773
|
+
icon: 'chart-bar',
|
|
7774
7774
|
id: 'overview-tab', // Target tab ID to switch to
|
|
7775
7775
|
isPrimary: true,
|
|
7776
7776
|
})
|
|
7777
7777
|
actions.add.setActiveTab({
|
|
7778
7778
|
title: 'Show Analytics',
|
|
7779
|
-
icon: 'chart',
|
|
7779
|
+
icon: 'chart-bar',
|
|
7780
7780
|
id: 'analytics-tab',
|
|
7781
7781
|
when: '=@ctx.solution.state.user.hasAnalyticsAccess',
|
|
7782
7782
|
})
|
|
@@ -7796,7 +7796,7 @@
|
|
|
7796
7796
|
})
|
|
7797
7797
|
actions.add.setActiveTab({
|
|
7798
7798
|
title: 'Switch View',
|
|
7799
|
-
icon: '
|
|
7799
|
+
icon: 'eye',
|
|
7800
7800
|
id: '=@ctx.jig.state.targetTab',
|
|
7801
7801
|
when: '=@ctx.solution.state.canSwitchTabs',
|
|
7802
7802
|
})
|
|
@@ -8244,7 +8244,7 @@
|
|
|
8244
8244
|
// Emergency location sharing
|
|
8245
8245
|
deliveryActions.add.startLocationSharing({
|
|
8246
8246
|
title: 'Emergency Share',
|
|
8247
|
-
icon: 'alert',
|
|
8247
|
+
icon: 'alert-triangle',
|
|
8248
8248
|
isDanger: true,
|
|
8249
8249
|
when: '=@ctx.jig.state.isEmergency',
|
|
8250
8250
|
})
|
|
@@ -8260,7 +8260,7 @@
|
|
|
8260
8260
|
// Share location with contacts
|
|
8261
8261
|
emergencyActions.add.startLocationSharing({
|
|
8262
8262
|
title: 'Share with Contacts',
|
|
8263
|
-
icon: '
|
|
8263
|
+
icon: 'users',
|
|
8264
8264
|
isPrimary: true,
|
|
8265
8265
|
when: '=@ctx.solution.state.hasEmergencyContacts',
|
|
8266
8266
|
})
|
|
@@ -8288,7 +8288,7 @@
|
|
|
8288
8288
|
dataSyncActions.add.startSyncScope({
|
|
8289
8289
|
title: 'Sync All Data',
|
|
8290
8290
|
instanceIds: ['user-data', 'app-config', 'cached-content'],
|
|
8291
|
-
icon: 'cloud-
|
|
8291
|
+
icon: 'cloud-data-connection',
|
|
8292
8292
|
isPrimary: true,
|
|
8293
8293
|
when: '=@ctx.system.isOnline',
|
|
8294
8294
|
})
|
|
@@ -8296,14 +8296,14 @@
|
|
|
8296
8296
|
dataSyncActions.add.startSyncScope({
|
|
8297
8297
|
title: 'Sync My Data',
|
|
8298
8298
|
instanceIds: ['user-data-scope'],
|
|
8299
|
-
icon: '
|
|
8299
|
+
icon: 'refresh-dot',
|
|
8300
8300
|
when: '=@ctx.solution.state.user.isAuthenticated',
|
|
8301
8301
|
})
|
|
8302
8302
|
// Start incremental sync
|
|
8303
8303
|
dataSyncActions.add.startSyncScope({
|
|
8304
8304
|
title: 'Quick Sync',
|
|
8305
8305
|
instanceIds: ['incremental-updates'],
|
|
8306
|
-
icon: '
|
|
8306
|
+
icon: 'refresh',
|
|
8307
8307
|
isPlain: true,
|
|
8308
8308
|
when: '=@ctx.solution.state.hasIncrementalChanges',
|
|
8309
8309
|
})
|
|
@@ -8313,7 +8313,7 @@
|
|
|
8313
8313
|
profileActions.add.startSyncScope({
|
|
8314
8314
|
title: 'Update Profile',
|
|
8315
8315
|
instanceIds: ['user-profile', 'user-preferences'],
|
|
8316
|
-
icon: '
|
|
8316
|
+
icon: 'user',
|
|
8317
8317
|
isPrimary: true,
|
|
8318
8318
|
when: '=@ctx.jig.state.hasProfileChanges',
|
|
8319
8319
|
})
|
|
@@ -8373,7 +8373,7 @@
|
|
|
8373
8373
|
// Stop active tracking
|
|
8374
8374
|
trackingActions.add.stopLocationSharing({
|
|
8375
8375
|
title: 'Stop Tracking',
|
|
8376
|
-
icon: 'location-off
|
|
8376
|
+
icon: 'current-location-off',
|
|
8377
8377
|
isDanger: true,
|
|
8378
8378
|
when: '=@ctx.solution.state.isLocationSharingActive',
|
|
8379
8379
|
})
|
|
@@ -8387,7 +8387,7 @@
|
|
|
8387
8387
|
// Pause location sharing
|
|
8388
8388
|
trackingActions.add.stopLocationSharing({
|
|
8389
8389
|
title: 'Pause Sharing',
|
|
8390
|
-
icon: '
|
|
8390
|
+
icon: 'player-pause',
|
|
8391
8391
|
isPlain: true,
|
|
8392
8392
|
when: '=@ctx.solution.state.isLocationSharingActive and @ctx.solution.state.canPauseSharing',
|
|
8393
8393
|
})
|
|
@@ -8396,14 +8396,14 @@
|
|
|
8396
8396
|
// Stop all location services
|
|
8397
8397
|
privacyActions.add.stopLocationSharing({
|
|
8398
8398
|
title: 'Stop All Sharing',
|
|
8399
|
-
icon: '
|
|
8399
|
+
icon: 'ban',
|
|
8400
8400
|
isDanger: true,
|
|
8401
8401
|
when: '=@ctx.solution.state.hasActiveLocationSharing',
|
|
8402
8402
|
})
|
|
8403
8403
|
// Emergency stop
|
|
8404
8404
|
privacyActions.add.stopLocationSharing({
|
|
8405
8405
|
title: 'Emergency Stop',
|
|
8406
|
-
icon: '
|
|
8406
|
+
icon: 'player-pause',
|
|
8407
8407
|
isDanger: true,
|
|
8408
8408
|
when: '=@ctx.solution.state.needsEmergencyStop',
|
|
8409
8409
|
})
|
|
@@ -8457,7 +8457,7 @@
|
|
|
8457
8457
|
customerFormActions.add
|
|
8458
8458
|
.submitForm({
|
|
8459
8459
|
title: 'Create Customer',
|
|
8460
|
-
icon: 'phone-
|
|
8460
|
+
icon: 'phone-plus',
|
|
8461
8461
|
formId: 'customer-form',
|
|
8462
8462
|
when: '=$not(@ctx.jig.inputs.customerId)',
|
|
8463
8463
|
})
|
|
@@ -8472,7 +8472,7 @@
|
|
|
8472
8472
|
expenseFormActions.add
|
|
8473
8473
|
.submitForm({
|
|
8474
8474
|
title: 'Submit Expense',
|
|
8475
|
-
icon: 'send
|
|
8475
|
+
icon: 'send',
|
|
8476
8476
|
formId: 'expense-form',
|
|
8477
8477
|
isPrimary: true,
|
|
8478
8478
|
})
|
|
@@ -8527,7 +8527,7 @@
|
|
|
8527
8527
|
documentFormActions.add
|
|
8528
8528
|
.submitForm({
|
|
8529
8529
|
title: 'Create Lead',
|
|
8530
|
-
icon: '
|
|
8530
|
+
icon: 'cloud',
|
|
8531
8531
|
formId: 'lead-form',
|
|
8532
8532
|
when: '=@ctx.components.leadForm.state.isValid',
|
|
8533
8533
|
})
|
|
@@ -8580,7 +8580,7 @@
|
|
|
8580
8580
|
taskItem
|
|
8581
8581
|
.swipeRight()
|
|
8582
8582
|
.label('Delete')
|
|
8583
|
-
.icon('
|
|
8583
|
+
.icon('trash')
|
|
8584
8584
|
.color('negative')
|
|
8585
8585
|
.onPress.executeEntity({ instanceId: 'delete-task' })
|
|
8586
8586
|
.dynamicData('default/tasks', 'delete')
|
|
@@ -8615,7 +8615,7 @@
|
|
|
8615
8615
|
emailItem
|
|
8616
8616
|
.swipeRight()
|
|
8617
8617
|
.label('Spam')
|
|
8618
|
-
.icon('
|
|
8618
|
+
.icon('trash')
|
|
8619
8619
|
.color('negative')
|
|
8620
8620
|
.onPress.executeEntity({ instanceId: 'mark-spam' })
|
|
8621
8621
|
.dynamicData('default/emails', 'update')
|
|
@@ -8628,7 +8628,7 @@
|
|
|
8628
8628
|
emailItem
|
|
8629
8629
|
.swipeRight()
|
|
8630
8630
|
.label('Reply')
|
|
8631
|
-
.icon('
|
|
8631
|
+
.icon('arrow-back-up')
|
|
8632
8632
|
.color('primary')
|
|
8633
8633
|
.onPress.goto({
|
|
8634
8634
|
linkTo: 'email-compose',
|
|
@@ -8662,14 +8662,14 @@
|
|
|
8662
8662
|
contactItem
|
|
8663
8663
|
.swipeRight()
|
|
8664
8664
|
.label('Message')
|
|
8665
|
-
.icon('
|
|
8665
|
+
.icon('message')
|
|
8666
8666
|
.color('primary')
|
|
8667
8667
|
.onPress.openUrl({ url: '="sms:" & @ctx.current.item.phoneNumber' })
|
|
8668
8668
|
// Add to favorites action - additional right swipe
|
|
8669
8669
|
contactItem
|
|
8670
8670
|
.swipeRight()
|
|
8671
8671
|
.label('Favorite')
|
|
8672
|
-
.icon('
|
|
8672
|
+
.icon('tag')
|
|
8673
8673
|
.color('warning')
|
|
8674
8674
|
.onPress.executeEntity({ instanceId: 'toggle-favorite' })
|
|
8675
8675
|
.dynamicData('default/contacts', 'update')
|
|
@@ -8695,7 +8695,7 @@
|
|
|
8695
8695
|
orderItem
|
|
8696
8696
|
.swipeLeft()
|
|
8697
8697
|
.label('Reorder')
|
|
8698
|
-
.icon('
|
|
8698
|
+
.icon('refresh')
|
|
8699
8699
|
.color('positive')
|
|
8700
8700
|
.onPress.executeEntity({ instanceId: 'create-reorder' })
|
|
8701
8701
|
.dynamicData('default/orders', 'create')
|
|
@@ -8715,7 +8715,7 @@
|
|
|
8715
8715
|
orderItem
|
|
8716
8716
|
.swipeRight()
|
|
8717
8717
|
.label('Cancel')
|
|
8718
|
-
.icon('
|
|
8718
|
+
.icon('trash')
|
|
8719
8719
|
.color('negative')
|
|
8720
8720
|
.onPress.goto({
|
|
8721
8721
|
linkTo: 'cancel-order-confirm',
|
|
@@ -8748,7 +8748,7 @@
|
|
|
8748
8748
|
.syncEntities({
|
|
8749
8749
|
title: 'Sync Data',
|
|
8750
8750
|
instanceId: 'core-sync',
|
|
8751
|
-
icon: '
|
|
8751
|
+
icon: 'refresh-dot',
|
|
8752
8752
|
isPrimary: true,
|
|
8753
8753
|
when: '=@ctx.solution.state.user.canSync',
|
|
8754
8754
|
})
|
|
@@ -8761,7 +8761,7 @@
|
|
|
8761
8761
|
.syncEntities({
|
|
8762
8762
|
title: 'Force Refresh',
|
|
8763
8763
|
instanceId: 'force-sync',
|
|
8764
|
-
icon: '
|
|
8764
|
+
icon: 'refresh',
|
|
8765
8765
|
when: '=@ctx.solution.state.user.isManager',
|
|
8766
8766
|
})
|
|
8767
8767
|
.dynamicData()
|
|
@@ -8773,7 +8773,7 @@
|
|
|
8773
8773
|
.syncEntities({
|
|
8774
8774
|
title: 'Sync Profile',
|
|
8775
8775
|
instanceId: 'profile-sync',
|
|
8776
|
-
icon: '
|
|
8776
|
+
icon: 'refresh-dot',
|
|
8777
8777
|
when: '=@ctx.solution.state.user.hasProfile',
|
|
8778
8778
|
})
|
|
8779
8779
|
.dynamicData()
|
|
@@ -8786,7 +8786,7 @@
|
|
|
8786
8786
|
.syncEntities({
|
|
8787
8787
|
title: 'Sync Changes',
|
|
8788
8788
|
instanceId: 'online-sync',
|
|
8789
|
-
icon: 'cloud-
|
|
8789
|
+
icon: 'cloud-data-connection',
|
|
8790
8790
|
when: '=@ctx.solution.state.isOnline and @ctx.solution.state.hasPendingChanges',
|
|
8791
8791
|
})
|
|
8792
8792
|
.dynamicData()
|
|
@@ -8812,7 +8812,7 @@
|
|
|
8812
8812
|
.syncEntities({
|
|
8813
8813
|
title: 'Sync External APIs',
|
|
8814
8814
|
instanceId: 'api-sync',
|
|
8815
|
-
icon: '
|
|
8815
|
+
icon: 'api',
|
|
8816
8816
|
when: '=@ctx.solution.state.apiConfigured',
|
|
8817
8817
|
})
|
|
8818
8818
|
.rest()
|
|
@@ -8838,7 +8838,7 @@
|
|
|
8838
8838
|
.syncEntities({
|
|
8839
8839
|
title: 'Sync CRM',
|
|
8840
8840
|
instanceId: 'crm-sync',
|
|
8841
|
-
icon: '
|
|
8841
|
+
icon: 'heart-handshake',
|
|
8842
8842
|
when: '=@ctx.solution.state.crmConnected',
|
|
8843
8843
|
})
|
|
8844
8844
|
.rest()
|
|
@@ -8863,7 +8863,7 @@
|
|
|
8863
8863
|
.syncEntities({
|
|
8864
8864
|
title: 'Sync ERP',
|
|
8865
8865
|
instanceId: 'erp-sync',
|
|
8866
|
-
icon: '
|
|
8866
|
+
icon: 'building-factory',
|
|
8867
8867
|
when: '=@ctx.solution.state.erpAuthenticated',
|
|
8868
8868
|
})
|
|
8869
8869
|
.soap()
|
|
@@ -8902,7 +8902,7 @@
|
|
|
8902
8902
|
.syncEntities({
|
|
8903
8903
|
title: 'Sync Warehouse',
|
|
8904
8904
|
instanceId: 'warehouse-sync',
|
|
8905
|
-
icon: 'chart',
|
|
8905
|
+
icon: 'chart-bar',
|
|
8906
8906
|
when: '=@ctx.solution.state.analyticsNeedsRefresh',
|
|
8907
8907
|
})
|
|
8908
8908
|
.sql()
|
|
@@ -8973,14 +8973,14 @@
|
|
|
8973
8973
|
title: 'Sync Profile',
|
|
8974
8974
|
displayName: '=@ctx.datasources.directory[0].fullName',
|
|
8975
8975
|
avatarUrl: '=@ctx.datasources.directory[0].photoUrl',
|
|
8976
|
-
icon: '
|
|
8976
|
+
icon: 'refresh-dot',
|
|
8977
8977
|
when: '=@ctx.solution.state.hasDirectoryAccess',
|
|
8978
8978
|
})
|
|
8979
8979
|
// Update profile from form
|
|
8980
8980
|
profileActions.add.updateProfile({
|
|
8981
8981
|
title: 'Update Profile',
|
|
8982
8982
|
displayName: '=@ctx.components.displayName.state.value',
|
|
8983
|
-
icon: '
|
|
8983
|
+
icon: 'user',
|
|
8984
8984
|
when: '=@ctx.jig.state.profileFormChanged',
|
|
8985
8985
|
})
|
|
8986
8986
|
// 2. Account settings profile updates
|
|
@@ -8989,7 +8989,7 @@
|
|
|
8989
8989
|
settingsActions.add.updateProfile({
|
|
8990
8990
|
title: 'Save Display Name',
|
|
8991
8991
|
displayName: '=@ctx.components.displayNameField.state.value',
|
|
8992
|
-
icon: '
|
|
8992
|
+
icon: 'user',
|
|
8993
8993
|
isPrimary: true,
|
|
8994
8994
|
when: '=@ctx.jig.state.displayNameChanged',
|
|
8995
8995
|
})
|
|
@@ -8997,7 +8997,7 @@
|
|
|
8997
8997
|
settingsActions.add.updateProfile({
|
|
8998
8998
|
title: 'Update Avatar',
|
|
8999
8999
|
avatarUrl: '=@ctx.components.avatarSelector.state.selectedUrl',
|
|
9000
|
-
icon: '
|
|
9000
|
+
icon: 'photo',
|
|
9001
9001
|
when: '=@ctx.jig.state.avatarChanged',
|
|
9002
9002
|
})
|
|
9003
9003
|
// === IN-BACKGROUND ACTIONS: Automatic profile updates without user interaction ===
|
|
@@ -9044,7 +9044,7 @@
|
|
|
9044
9044
|
const parallel = screen.bottomPanel().add.list({
|
|
9045
9045
|
concurrency: 'parallel',
|
|
9046
9046
|
title: 'Execute Actions',
|
|
9047
|
-
icon: 'play',
|
|
9047
|
+
icon: 'player-play',
|
|
9048
9048
|
isPrimary: true,
|
|
9049
9049
|
})
|
|
9050
9050
|
parallel.actions.goto({ linkTo: 'home' })
|
|
@@ -9125,7 +9125,7 @@
|
|
|
9125
9125
|
const clearQueue = buttonActions.add.clearQueueCommand({
|
|
9126
9126
|
title: 'Clear All',
|
|
9127
9127
|
itemId: 'main-queue',
|
|
9128
|
-
icon: '
|
|
9128
|
+
icon: 'x',
|
|
9129
9129
|
isDanger: true,
|
|
9130
9130
|
isHidden: '=@ctx.jig.state.hideButton',
|
|
9131
9131
|
})
|
|
@@ -9143,7 +9143,7 @@
|
|
|
9143
9143
|
const clearQueue = buttonActions.add.clearQueueCommand({
|
|
9144
9144
|
title: 'Clear Queue',
|
|
9145
9145
|
itemId: '=@ctx.jig.state.queueId',
|
|
9146
|
-
icon: '
|
|
9146
|
+
icon: 'trash',
|
|
9147
9147
|
when: '=@ctx.jig.state.canClear',
|
|
9148
9148
|
})
|
|
9149
9149
|
- id: clear-queue.button-example-4
|
|
@@ -9176,7 +9176,7 @@
|
|
|
9176
9176
|
const clearQueue = buttonActions.add.clearQueueCommand({
|
|
9177
9177
|
title: 'Clear',
|
|
9178
9178
|
itemId: 'urgent-queue',
|
|
9179
|
-
icon: 'alert',
|
|
9179
|
+
icon: 'alert-triangle',
|
|
9180
9180
|
isDanger: true,
|
|
9181
9181
|
isPlain: true,
|
|
9182
9182
|
})
|
|
@@ -9274,7 +9274,7 @@
|
|
|
9274
9274
|
const confirm = buttonActions.add.confirm({
|
|
9275
9275
|
title: 'Dangerous Action',
|
|
9276
9276
|
instanceId: 'btn-confirm-2',
|
|
9277
|
-
icon: 'alert',
|
|
9277
|
+
icon: 'alert-triangle',
|
|
9278
9278
|
isDanger: true,
|
|
9279
9279
|
isHidden: '=@ctx.solution.state.ui.hideDangerousActions',
|
|
9280
9280
|
modal: { title: 'Danger Action' },
|
|
@@ -9294,7 +9294,7 @@
|
|
|
9294
9294
|
const confirm = buttonActions.add.confirm({
|
|
9295
9295
|
title: '=@ctx.jig.state.buttonText',
|
|
9296
9296
|
instanceId: 'btn-confirm-3',
|
|
9297
|
-
icon: '
|
|
9297
|
+
icon: 'helmet',
|
|
9298
9298
|
isPrimary: true,
|
|
9299
9299
|
modal: { title: 'Complex Action' },
|
|
9300
9300
|
})
|
|
@@ -9523,7 +9523,7 @@
|
|
|
9523
9523
|
const deleteQueueCommand = buttonActions.add.deleteQueueCommand({
|
|
9524
9524
|
title: 'Remove',
|
|
9525
9525
|
id: '=@ctx.jig.state.errorCommand.id',
|
|
9526
|
-
icon: '
|
|
9526
|
+
icon: 'trash',
|
|
9527
9527
|
isDanger: true,
|
|
9528
9528
|
})
|
|
9529
9529
|
- id: delete-queue-command-example-1
|
|
@@ -9566,7 +9566,7 @@
|
|
|
9566
9566
|
title: 'Clear Cache',
|
|
9567
9567
|
itemId: 'cache-data',
|
|
9568
9568
|
instanceId: 'btn-delete-1',
|
|
9569
|
-
icon: '
|
|
9569
|
+
icon: 'trash',
|
|
9570
9570
|
isDanger: true,
|
|
9571
9571
|
})
|
|
9572
9572
|
- id: delete-sync-scope.button-example-2
|
|
@@ -9584,7 +9584,7 @@
|
|
|
9584
9584
|
title: 'Delete All',
|
|
9585
9585
|
itemId: ['scope-1', 'scope-2', 'scope-3'],
|
|
9586
9586
|
instanceId: 'btn-delete-2',
|
|
9587
|
-
icon: '
|
|
9587
|
+
icon: 'trash',
|
|
9588
9588
|
})
|
|
9589
9589
|
- id: delete-sync-scope.button-example-3
|
|
9590
9590
|
name: Delete Sync Scope Expression Id (button)
|
|
@@ -9603,7 +9603,7 @@
|
|
|
9603
9603
|
title: 'Remove Selected',
|
|
9604
9604
|
itemId: '=@ctx.jig.state.selectedScopes',
|
|
9605
9605
|
instanceId: 'btn-delete-3',
|
|
9606
|
-
icon: '
|
|
9606
|
+
icon: 'minus',
|
|
9607
9607
|
isHidden: '=@ctx.jig.state.noSelection',
|
|
9608
9608
|
})
|
|
9609
9609
|
- id: delete-sync-scope.button-example-4
|
|
@@ -9623,7 +9623,7 @@
|
|
|
9623
9623
|
title: 'Clean Up',
|
|
9624
9624
|
itemId: 'temp-files',
|
|
9625
9625
|
instanceId: 'btn-delete-4',
|
|
9626
|
-
icon: 'archive
|
|
9626
|
+
icon: 'archive',
|
|
9627
9627
|
isDanger: true,
|
|
9628
9628
|
isHidden: '=@ctx.jig.state.hideCleanup',
|
|
9629
9629
|
})
|
|
@@ -9646,7 +9646,7 @@
|
|
|
9646
9646
|
title: 'Delete User Data',
|
|
9647
9647
|
itemId: '=@ctx.solution.state.userScopeIds',
|
|
9648
9648
|
instanceId: 'btn-delete-5',
|
|
9649
|
-
icon: 'alert',
|
|
9649
|
+
icon: 'alert-triangle',
|
|
9650
9650
|
isDanger: true,
|
|
9651
9651
|
when: '=@ctx.solution.state.user.hasData and @ctx.solution.state.user.canDelete',
|
|
9652
9652
|
})
|
|
@@ -9668,7 +9668,7 @@
|
|
|
9668
9668
|
title: 'Bulk Delete',
|
|
9669
9669
|
itemId: ['cache', 'logs', 'temp'],
|
|
9670
9670
|
instanceId: 'btn-delete-6',
|
|
9671
|
-
icon: '
|
|
9671
|
+
icon: 'trash',
|
|
9672
9672
|
isDanger: true,
|
|
9673
9673
|
isHidden: '=@ctx.jig.state.scopes.length = 0',
|
|
9674
9674
|
})
|
|
@@ -9691,7 +9691,7 @@
|
|
|
9691
9691
|
title: 'Admin Delete',
|
|
9692
9692
|
itemId: 'all-user-data',
|
|
9693
9693
|
instanceId: 'btn-delete-7',
|
|
9694
|
-
icon: '
|
|
9694
|
+
icon: 'trash',
|
|
9695
9695
|
isDanger: true,
|
|
9696
9696
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
9697
9697
|
isHidden: '=@ctx.solution.state.user.role != "admin"',
|
|
@@ -9716,7 +9716,7 @@
|
|
|
9716
9716
|
title: 'Smart Delete',
|
|
9717
9717
|
itemId: '=@ctx.datasources.expiredScopes',
|
|
9718
9718
|
instanceId: 'btn-delete-8',
|
|
9719
|
-
icon: '
|
|
9719
|
+
icon: 'trash',
|
|
9720
9720
|
isPrimary: true,
|
|
9721
9721
|
when: '=@ctx.solution.state.hasExpiredScopes',
|
|
9722
9722
|
})
|
|
@@ -9907,7 +9907,7 @@
|
|
|
9907
9907
|
title: 'Delete Status',
|
|
9908
9908
|
itemId: 'sync-status-1',
|
|
9909
9909
|
instanceId: 'btn-delete-1',
|
|
9910
|
-
icon: '
|
|
9910
|
+
icon: 'trash',
|
|
9911
9911
|
isDanger: true,
|
|
9912
9912
|
})
|
|
9913
9913
|
- id: delete-sync-status.button-example-2
|
|
@@ -9927,7 +9927,7 @@
|
|
|
9927
9927
|
title: 'Remove Status',
|
|
9928
9928
|
itemId: '=@ctx.jig.state.selectedStatus',
|
|
9929
9929
|
instanceId: 'btn-delete-2',
|
|
9930
|
-
icon: '
|
|
9930
|
+
icon: 'minus',
|
|
9931
9931
|
isHidden: '=@ctx.jig.state.noSelection',
|
|
9932
9932
|
})
|
|
9933
9933
|
- id: delete-sync-status.button-example-3
|
|
@@ -9947,7 +9947,7 @@
|
|
|
9947
9947
|
title: 'Delete Failed',
|
|
9948
9948
|
itemId: 'failed-status',
|
|
9949
9949
|
instanceId: 'btn-delete-3',
|
|
9950
|
-
icon: '
|
|
9950
|
+
icon: 'eraser',
|
|
9951
9951
|
isDanger: true,
|
|
9952
9952
|
isHidden: '=@ctx.jig.state.hideCleanup',
|
|
9953
9953
|
})
|
|
@@ -9969,7 +9969,7 @@
|
|
|
9969
9969
|
title: 'Clear All Failed',
|
|
9970
9970
|
itemId: '=@ctx.jig.inputs.failedStatusId',
|
|
9971
9971
|
instanceId: 'btn-delete-4',
|
|
9972
|
-
icon: 'alert',
|
|
9972
|
+
icon: 'alert-triangle',
|
|
9973
9973
|
isDanger: true,
|
|
9974
9974
|
when: '=@ctx.jig.state.hasFailedSync and @ctx.solution.state.canClear',
|
|
9975
9975
|
})
|
|
@@ -9992,7 +9992,7 @@
|
|
|
9992
9992
|
title: 'Admin Delete',
|
|
9993
9993
|
itemId: 'admin-status',
|
|
9994
9994
|
instanceId: 'btn-delete-5',
|
|
9995
|
-
icon: '
|
|
9995
|
+
icon: 'trash',
|
|
9996
9996
|
isDanger: true,
|
|
9997
9997
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
9998
9998
|
isHidden: '=@ctx.solution.state.user.role != "admin"',
|
|
@@ -10016,7 +10016,7 @@
|
|
|
10016
10016
|
title: 'Reset Sync',
|
|
10017
10017
|
itemId: '=@ctx.datasources.syncStatus[0].state',
|
|
10018
10018
|
instanceId: 'btn-delete-6',
|
|
10019
|
-
icon: '
|
|
10019
|
+
icon: 'refresh',
|
|
10020
10020
|
when: '=@ctx.solution.state.sync.isActive',
|
|
10021
10021
|
})
|
|
10022
10022
|
- id: delete-sync-status.button-example-7
|
|
@@ -10039,7 +10039,7 @@
|
|
|
10039
10039
|
title: 'Smart Clean',
|
|
10040
10040
|
itemId: '=@ctx.datasources.statusList[status = "expired"][0].id',
|
|
10041
10041
|
instanceId: 'btn-delete-7',
|
|
10042
|
-
icon: '
|
|
10042
|
+
icon: 'trash',
|
|
10043
10043
|
isPrimary: true,
|
|
10044
10044
|
when: '=$count(@ctx.datasources.statusList[status = "expired"]) > 0',
|
|
10045
10045
|
})
|
|
@@ -10062,7 +10062,7 @@
|
|
|
10062
10062
|
title: 'Clear Error',
|
|
10063
10063
|
itemId: 'error-sync-status',
|
|
10064
10064
|
instanceId: 'btn-delete-8',
|
|
10065
|
-
icon: '
|
|
10065
|
+
icon: 'alert-circle',
|
|
10066
10066
|
isDanger: true,
|
|
10067
10067
|
isHidden: '=@ctx.solution.state.sync.status != "error"',
|
|
10068
10068
|
})
|
|
@@ -10227,7 +10227,7 @@
|
|
|
10227
10227
|
title: 'Run Action',
|
|
10228
10228
|
action: 'shared-action-1',
|
|
10229
10229
|
instanceId: 'btn-exec-1',
|
|
10230
|
-
icon: 'play',
|
|
10230
|
+
icon: 'player-play',
|
|
10231
10231
|
isPrimary: true,
|
|
10232
10232
|
})
|
|
10233
10233
|
- id: execute-action.button-example-2
|
|
@@ -10246,7 +10246,7 @@
|
|
|
10246
10246
|
action: 'task-action',
|
|
10247
10247
|
instanceId: 'btn-exec-2',
|
|
10248
10248
|
parameters: { taskId: '=@ctx.jig.state.selectedTaskId', priority: 'high' },
|
|
10249
|
-
icon: '
|
|
10249
|
+
icon: 'alert-circle',
|
|
10250
10250
|
})
|
|
10251
10251
|
- id: execute-action.button-example-3
|
|
10252
10252
|
name: Conditional Execute Action Button (button)
|
|
@@ -10285,7 +10285,7 @@
|
|
|
10285
10285
|
action: 'save-action',
|
|
10286
10286
|
instanceId: 'btn-exec-4',
|
|
10287
10287
|
parameters: { data: '=@ctx.components.form.state.value', validate: true },
|
|
10288
|
-
icon: 'floppy
|
|
10288
|
+
icon: 'device-floppy',
|
|
10289
10289
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
10290
10290
|
})
|
|
10291
10291
|
- id: execute-action.button-example-5
|
|
@@ -10308,7 +10308,7 @@
|
|
|
10308
10308
|
action: 'delete-all-action',
|
|
10309
10309
|
instanceId: 'btn-exec-5',
|
|
10310
10310
|
parameters: { confirm: true, scope: 'all' },
|
|
10311
|
-
icon: 'alert',
|
|
10311
|
+
icon: 'alert-triangle',
|
|
10312
10312
|
isDanger: true,
|
|
10313
10313
|
when: '=@ctx.solution.state.user.permissions.deleteAll',
|
|
10314
10314
|
})
|
|
@@ -10334,7 +10334,7 @@
|
|
|
10334
10334
|
inputs: '=@ctx.jig.inputs.workflowInputs',
|
|
10335
10335
|
async: true,
|
|
10336
10336
|
},
|
|
10337
|
-
icon: '
|
|
10337
|
+
icon: 'git-branch',
|
|
10338
10338
|
isPrimary: true,
|
|
10339
10339
|
when: '=@ctx.solution.state.workflowReady',
|
|
10340
10340
|
})
|
|
@@ -10361,7 +10361,7 @@
|
|
|
10361
10361
|
batchSize: 10,
|
|
10362
10362
|
parallel: true,
|
|
10363
10363
|
},
|
|
10364
|
-
icon: '
|
|
10364
|
+
icon: 'coin',
|
|
10365
10365
|
isHidden: '=@ctx.jig.state.selectedItems.length = 0',
|
|
10366
10366
|
})
|
|
10367
10367
|
- id: execute-action.button-example-8
|
|
@@ -10386,7 +10386,7 @@
|
|
|
10386
10386
|
context: '=@ctx.solution.state',
|
|
10387
10387
|
actionId: '=@ctx.jig.inputs.getActionId()',
|
|
10388
10388
|
},
|
|
10389
|
-
icon: '
|
|
10389
|
+
icon: 'bolt',
|
|
10390
10390
|
isPrimary: true,
|
|
10391
10391
|
when: '=@ctx.jig.state.dynamicActionReady',
|
|
10392
10392
|
})
|
|
@@ -10634,7 +10634,7 @@
|
|
|
10634
10634
|
title: 'Delete Selected',
|
|
10635
10635
|
instanceId: 'btn-exec-3',
|
|
10636
10636
|
isHidden: '=@ctx.jig.state.selectedIds.length = 0',
|
|
10637
|
-
icon: '
|
|
10637
|
+
icon: 'trash',
|
|
10638
10638
|
isDanger: true,
|
|
10639
10639
|
})
|
|
10640
10640
|
.dynamicData('default/records', 'delete')
|
|
@@ -10661,7 +10661,7 @@
|
|
|
10661
10661
|
title: 'Save Changes',
|
|
10662
10662
|
instanceId: 'btn-exec-4',
|
|
10663
10663
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
10664
|
-
icon: 'floppy
|
|
10664
|
+
icon: 'device-floppy',
|
|
10665
10665
|
isPrimary: true,
|
|
10666
10666
|
})
|
|
10667
10667
|
.dynamicData('default/data', 'update')
|
|
@@ -10691,7 +10691,7 @@
|
|
|
10691
10691
|
instanceId: 'btn-exec-7',
|
|
10692
10692
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
10693
10693
|
isHidden: '=@ctx.user.email != "admin@company.com"',
|
|
10694
|
-
icon: '
|
|
10694
|
+
icon: 'trash',
|
|
10695
10695
|
isDanger: true,
|
|
10696
10696
|
})
|
|
10697
10697
|
.dynamicData('default/admin', 'delete')
|
|
@@ -10901,7 +10901,7 @@
|
|
|
10901
10901
|
.executeEntity({
|
|
10902
10902
|
title: 'Delete Selected',
|
|
10903
10903
|
isHidden: '=$not(@ctx.jig.state.selectedRecordId)',
|
|
10904
|
-
icon: '
|
|
10904
|
+
icon: 'trash',
|
|
10905
10905
|
isDanger: true,
|
|
10906
10906
|
})
|
|
10907
10907
|
.dynamicData('default/records', 'delete')
|
|
@@ -10924,7 +10924,7 @@
|
|
|
10924
10924
|
const execute = buttonActions.add
|
|
10925
10925
|
.executeEntity({
|
|
10926
10926
|
title: 'Save Changes',
|
|
10927
|
-
icon: 'floppy
|
|
10927
|
+
icon: 'device-floppy',
|
|
10928
10928
|
isPrimary: true,
|
|
10929
10929
|
})
|
|
10930
10930
|
.dynamicData('default/profiles', 'update')
|
|
@@ -10951,7 +10951,7 @@
|
|
|
10951
10951
|
title: 'Process Order',
|
|
10952
10952
|
isHidden: '=@ctx.jig.inputs.order.status = "completed"',
|
|
10953
10953
|
when: '=@ctx.jig.inputs.canProcess',
|
|
10954
|
-
icon: '
|
|
10954
|
+
icon: 'settings-automation',
|
|
10955
10955
|
isPrimary: true,
|
|
10956
10956
|
})
|
|
10957
10957
|
.dynamicData('default/orders', 'update')
|
|
@@ -10979,7 +10979,7 @@
|
|
|
10979
10979
|
title: 'Admin Delete',
|
|
10980
10980
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
10981
10981
|
isHidden: '=@ctx.solution.state.user.role != "admin"',
|
|
10982
|
-
icon: '
|
|
10982
|
+
icon: 'trash',
|
|
10983
10983
|
isDanger: true,
|
|
10984
10984
|
})
|
|
10985
10985
|
.dynamicData('default/users', 'delete')
|
|
@@ -11004,7 +11004,7 @@
|
|
|
11004
11004
|
.executeEntity({
|
|
11005
11005
|
title: 'Bulk Update',
|
|
11006
11006
|
when: '=@ctx.solution.state.hasSelectedItems',
|
|
11007
|
-
icon: '
|
|
11007
|
+
icon: 'edit-off',
|
|
11008
11008
|
})
|
|
11009
11009
|
.dynamicData('default/records', 'update')
|
|
11010
11010
|
.data({
|
|
@@ -11032,7 +11032,7 @@
|
|
|
11032
11032
|
.executeEntity({
|
|
11033
11033
|
title: 'Dynamic Action',
|
|
11034
11034
|
when: '=@ctx.solution.state.hasDynamicOperation',
|
|
11035
|
-
icon: '
|
|
11035
|
+
icon: 'bolt',
|
|
11036
11036
|
isPrimary: true,
|
|
11037
11037
|
})
|
|
11038
11038
|
.dynamicData('=@ctx.solution.state.targetEntity', '=@ctx.solution.state.selectedMethod')
|
|
@@ -11361,7 +11361,7 @@
|
|
|
11361
11361
|
},
|
|
11362
11362
|
],
|
|
11363
11363
|
entities: ['default/users', 'default/audit'],
|
|
11364
|
-
icon: '
|
|
11364
|
+
icon: 'refresh-dot',
|
|
11365
11365
|
})
|
|
11366
11366
|
- id: execute-sql.button-example-3
|
|
11367
11367
|
name: Conditional Button Visibility
|
|
@@ -11384,7 +11384,7 @@
|
|
|
11384
11384
|
{ statement: 'DELETE FROM records WHERE id IN (=@ctx.jig.state.selectedIds.join(","))' },
|
|
11385
11385
|
],
|
|
11386
11386
|
entities: ['default/records'],
|
|
11387
|
-
icon: '
|
|
11387
|
+
icon: 'trash',
|
|
11388
11388
|
isDanger: true,
|
|
11389
11389
|
isHidden: '=@ctx.jig.state.selectedIds.length = 0',
|
|
11390
11390
|
})
|
|
@@ -11414,7 +11414,7 @@
|
|
|
11414
11414
|
{ statement: 'OPTIMIZE TABLE logs' },
|
|
11415
11415
|
],
|
|
11416
11416
|
entities: ['default/logs'],
|
|
11417
|
-
icon: '
|
|
11417
|
+
icon: 'tool',
|
|
11418
11418
|
isHidden: '=@ctx.solution.state.user.role != "admin"',
|
|
11419
11419
|
when: '=@ctx.solution.state.system.maintenanceMode',
|
|
11420
11420
|
})
|
|
@@ -11451,7 +11451,7 @@
|
|
|
11451
11451
|
},
|
|
11452
11452
|
],
|
|
11453
11453
|
entities: ['default/users', 'default/profiles'],
|
|
11454
|
-
icon: 'export
|
|
11454
|
+
icon: 'file-export',
|
|
11455
11455
|
when: '=@ctx.solution.state.canExport',
|
|
11456
11456
|
})
|
|
11457
11457
|
- id: execute-sql.button-example-6
|
|
@@ -11478,7 +11478,7 @@
|
|
|
11478
11478
|
title: 'Reset Database',
|
|
11479
11479
|
statementsExpression: '=@ctx.jig.inputs.sql',
|
|
11480
11480
|
entitiesExpression: '=@ctx.jig.inputs.entities',
|
|
11481
|
-
icon: '
|
|
11481
|
+
icon: 'refresh',
|
|
11482
11482
|
isDanger: true,
|
|
11483
11483
|
when: '=@ctx.jig.inputs.role = "admin" and @ctx.jig.inputs.confirmReset',
|
|
11484
11484
|
isHidden: '=@ctx.jig.inputs.role != "admin"',
|
|
@@ -11513,7 +11513,7 @@
|
|
|
11513
11513
|
},
|
|
11514
11514
|
],
|
|
11515
11515
|
entities: ['default/orders', 'default/logs'],
|
|
11516
|
-
icon: '
|
|
11516
|
+
icon: 'coin',
|
|
11517
11517
|
when: '=@ctx.jig.state.selectedBatch and @ctx.solution.state.canProcess',
|
|
11518
11518
|
})
|
|
11519
11519
|
- id: execute-sql.button-example-8
|
|
@@ -11536,7 +11536,7 @@
|
|
|
11536
11536
|
title: 'Dynamic Query',
|
|
11537
11537
|
statementsExpression: '=@ctx.solution.state.sql',
|
|
11538
11538
|
entitiesExpression: '=@ctx.solution.state.entities',
|
|
11539
|
-
icon: '
|
|
11539
|
+
icon: 'bolt',
|
|
11540
11540
|
isPrimary: true,
|
|
11541
11541
|
when: '=@ctx.solution.state.enabled',
|
|
11542
11542
|
})
|
|
@@ -11920,7 +11920,7 @@
|
|
|
11920
11920
|
fileName: 'report.txt',
|
|
11921
11921
|
content: 'Report content',
|
|
11922
11922
|
instanceId: 'btn-file-1',
|
|
11923
|
-
icon: '
|
|
11923
|
+
icon: 'file-download',
|
|
11924
11924
|
isPrimary: true,
|
|
11925
11925
|
})
|
|
11926
11926
|
- id: generate-file.button-example-2
|
|
@@ -11942,7 +11942,7 @@
|
|
|
11942
11942
|
content: '=@ctx.datasources.exportData[0].csv',
|
|
11943
11943
|
instanceId: 'btn-file-2',
|
|
11944
11944
|
encoding: 'utf8',
|
|
11945
|
-
icon: '
|
|
11945
|
+
icon: 'file-download',
|
|
11946
11946
|
})
|
|
11947
11947
|
- id: generate-file.button-example-3
|
|
11948
11948
|
name: Conditional Button Visibility
|
|
@@ -11963,7 +11963,7 @@
|
|
|
11963
11963
|
fileName: 'export.json',
|
|
11964
11964
|
content: '=@ctx.components.dataGrid.state.selectedRows',
|
|
11965
11965
|
instanceId: 'btn-file-3',
|
|
11966
|
-
icon: 'export
|
|
11966
|
+
icon: 'file-export',
|
|
11967
11967
|
isHidden: '=@ctx.datasources.length = 0',
|
|
11968
11968
|
})
|
|
11969
11969
|
- id: generate-file.button-example-4
|
|
@@ -11990,7 +11990,7 @@
|
|
|
11990
11990
|
content: '=@ctx.datasources.systemLogs[0].content',
|
|
11991
11991
|
instanceId: 'btn-file-4',
|
|
11992
11992
|
encoding: 'utf8',
|
|
11993
|
-
icon: 'floppy
|
|
11993
|
+
icon: 'device-floppy',
|
|
11994
11994
|
isPrimary: false,
|
|
11995
11995
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
11996
11996
|
when: '=@ctx.jig.state.hasLogData',
|
|
@@ -12018,7 +12018,7 @@
|
|
|
12018
12018
|
content: '=@ctx.datasources.pdfData[0].content',
|
|
12019
12019
|
instanceId: 'btn-file-5',
|
|
12020
12020
|
encoding: 'base64',
|
|
12021
|
-
icon: 'file-pdf',
|
|
12021
|
+
icon: 'file-type-pdf',
|
|
12022
12022
|
isPrimary: true,
|
|
12023
12023
|
when: '=@ctx.jig.state.canGeneratePDF',
|
|
12024
12024
|
})
|
|
@@ -12044,7 +12044,7 @@
|
|
|
12044
12044
|
content: '=@ctx.components.chart.state.imageBase64',
|
|
12045
12045
|
instanceId: 'btn-file-6',
|
|
12046
12046
|
encoding: 'base64',
|
|
12047
|
-
icon: '
|
|
12047
|
+
icon: 'photo',
|
|
12048
12048
|
isHidden: '=$not(@ctx.jig.state.hasChart)',
|
|
12049
12049
|
})
|
|
12050
12050
|
- id: generate-file.button-example-7
|
|
@@ -12068,7 +12068,7 @@
|
|
|
12068
12068
|
content: '=$join(@ctx.datasources.batchData[*].csv, "\\\\n")',
|
|
12069
12069
|
instanceId: 'btn-file-7',
|
|
12070
12070
|
encoding: 'utf8',
|
|
12071
|
-
icon: '
|
|
12071
|
+
icon: 'clipboard',
|
|
12072
12072
|
when: '=@ctx.jig.state.selectedItems.length > 0',
|
|
12073
12073
|
})
|
|
12074
12074
|
- id: generate-file.button-example-8
|
|
@@ -12095,7 +12095,7 @@
|
|
|
12095
12095
|
content: '=$string(@ctx.datasources.systemInfo)',
|
|
12096
12096
|
instanceId: 'btn-file-8',
|
|
12097
12097
|
encoding: 'utf8',
|
|
12098
|
-
icon: 'export
|
|
12098
|
+
icon: 'file-export',
|
|
12099
12099
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
12100
12100
|
isHidden: '=@ctx.solution.state.user.role != "admin"',
|
|
12101
12101
|
})
|
|
@@ -12385,7 +12385,7 @@
|
|
|
12385
12385
|
fileName: 'report.pdf',
|
|
12386
12386
|
html: '<h1>Report</h1>',
|
|
12387
12387
|
instanceId: 'btn-pdf-1',
|
|
12388
|
-
icon: 'file-pdf',
|
|
12388
|
+
icon: 'file-type-pdf',
|
|
12389
12389
|
isPrimary: true,
|
|
12390
12390
|
})
|
|
12391
12391
|
- id: generate-pdf.button-example-2
|
|
@@ -12405,7 +12405,7 @@
|
|
|
12405
12405
|
title: 'Download PDF',
|
|
12406
12406
|
fileName: '=@ctx.jig.inputs.documentName',
|
|
12407
12407
|
html: '=@ctx.jig.state.htmlContent',
|
|
12408
|
-
icon: '
|
|
12408
|
+
icon: 'file-download',
|
|
12409
12409
|
isPrimary: true,
|
|
12410
12410
|
})
|
|
12411
12411
|
- id: generate-pdf.button-example-3
|
|
@@ -12427,7 +12427,7 @@
|
|
|
12427
12427
|
title: 'Generate Invoice',
|
|
12428
12428
|
fileName: 'invoice.pdf',
|
|
12429
12429
|
html: '=@ctx.datasources.invoice[0].html',
|
|
12430
|
-
icon: '
|
|
12430
|
+
icon: 'file-invoice',
|
|
12431
12431
|
isHidden: '=$not(@ctx.jig.state.hasInvoiceData)',
|
|
12432
12432
|
})
|
|
12433
12433
|
- id: generate-pdf.button-example-4
|
|
@@ -12451,7 +12451,7 @@
|
|
|
12451
12451
|
title: 'Export PDF',
|
|
12452
12452
|
fileName: '=@ctx.jig.inputs.exportFileName',
|
|
12453
12453
|
html: '=@ctx.components.preview.state.html',
|
|
12454
|
-
icon: 'export
|
|
12454
|
+
icon: 'file-export',
|
|
12455
12455
|
isDanger: true,
|
|
12456
12456
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
12457
12457
|
when: '=@ctx.solution.state.hasData',
|
|
@@ -12476,7 +12476,7 @@
|
|
|
12476
12476
|
title: 'Generate Monthly Report',
|
|
12477
12477
|
fileName: '="report-" & $now() & ".pdf"',
|
|
12478
12478
|
html: '=@ctx.jig.state.monthlyReport',
|
|
12479
|
-
icon: '
|
|
12479
|
+
icon: 'report',
|
|
12480
12480
|
isPrimary: true,
|
|
12481
12481
|
when: '=@ctx.jig.state.canGenerateReports',
|
|
12482
12482
|
})
|
|
@@ -12500,7 +12500,7 @@
|
|
|
12500
12500
|
title: 'Download Certificate',
|
|
12501
12501
|
fileName: 'certificate.pdf',
|
|
12502
12502
|
html: '=@ctx.datasources.certificateHTML',
|
|
12503
|
-
icon: '
|
|
12503
|
+
icon: 'certificate',
|
|
12504
12504
|
isHidden: '=$not(@ctx.solution.state.isEligible)',
|
|
12505
12505
|
})
|
|
12506
12506
|
- id: generate-pdf.button-example-7
|
|
@@ -12523,7 +12523,7 @@
|
|
|
12523
12523
|
title: 'Generate All PDFs',
|
|
12524
12524
|
fileName: '=@ctx.datasources.batchConfig[0].fileName',
|
|
12525
12525
|
html: '=@ctx.datasources.batchTemplates[0].html',
|
|
12526
|
-
icon: '
|
|
12526
|
+
icon: 'coin',
|
|
12527
12527
|
when: '=@ctx.jig.state.selectedItems.length > 0',
|
|
12528
12528
|
})
|
|
12529
12529
|
- id: generate-pdf.button-example-8
|
|
@@ -12549,7 +12549,7 @@
|
|
|
12549
12549
|
title: 'System Report',
|
|
12550
12550
|
fileName: 'system-report.pdf',
|
|
12551
12551
|
html: '=@ctx.datasources.systemReports[0].html',
|
|
12552
|
-
icon: '
|
|
12552
|
+
icon: 'report',
|
|
12553
12553
|
isDanger: true,
|
|
12554
12554
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
12555
12555
|
isHidden: '=@ctx.solution.state.user.role != "admin"',
|
|
@@ -12893,7 +12893,7 @@
|
|
|
12893
12893
|
const goBack = buttons.add.goBack({
|
|
12894
12894
|
title: 'Return',
|
|
12895
12895
|
instanceId: 'btn-back-6',
|
|
12896
|
-
icon: '
|
|
12896
|
+
icon: 'arrow-back-up',
|
|
12897
12897
|
isPlain: true,
|
|
12898
12898
|
isDisabled: '=@ctx.solution.state.isFirstPage',
|
|
12899
12899
|
})
|
|
@@ -13007,7 +13007,7 @@
|
|
|
13007
13007
|
title: 'Open Profile',
|
|
13008
13008
|
linkTo: 'user-profile',
|
|
13009
13009
|
instanceId: 'btn-goto-2',
|
|
13010
|
-
icon: '
|
|
13010
|
+
icon: 'user-cog',
|
|
13011
13011
|
isPrimary: true,
|
|
13012
13012
|
isModal: true,
|
|
13013
13013
|
parameters: {
|
|
@@ -13082,7 +13082,7 @@
|
|
|
13082
13082
|
title: 'Advanced Navigate',
|
|
13083
13083
|
linkTo: 'advanced-view',
|
|
13084
13084
|
instanceId: 'btn-goto-6',
|
|
13085
|
-
icon: '
|
|
13085
|
+
icon: 'helmet',
|
|
13086
13086
|
isPrimary: true,
|
|
13087
13087
|
isModal: false,
|
|
13088
13088
|
parameters: {
|
|
@@ -13329,7 +13329,7 @@
|
|
|
13329
13329
|
const help = buttons.add.infoModal({
|
|
13330
13330
|
title: 'Help',
|
|
13331
13331
|
instanceId: 'btn-modal-2',
|
|
13332
|
-
icon: '
|
|
13332
|
+
icon: 'edit',
|
|
13333
13333
|
isPlain: true,
|
|
13334
13334
|
modal: {
|
|
13335
13335
|
title: 'Help Information',
|
|
@@ -13339,7 +13339,7 @@
|
|
|
13339
13339
|
const expr = buttons.add.infoModal({
|
|
13340
13340
|
title: '=@ctx.jig.state.buttonText',
|
|
13341
13341
|
instanceId: 'btn-modal-3',
|
|
13342
|
-
icon: '
|
|
13342
|
+
icon: 'help',
|
|
13343
13343
|
modal: {
|
|
13344
13344
|
title: '=@ctx.jig.state.modalTitle',
|
|
13345
13345
|
description: '=@ctx.jig.state.modal.content',
|
|
@@ -13534,7 +13534,7 @@
|
|
|
13534
13534
|
const expr = buttons.add.openAppSettings({
|
|
13535
13535
|
title: '=@ctx.solution.state.settingsText',
|
|
13536
13536
|
instanceId: 'btn-settings-3',
|
|
13537
|
-
icon: '
|
|
13537
|
+
icon: 'helmet',
|
|
13538
13538
|
when: '=@ctx.solution.state.canOpenSettings',
|
|
13539
13539
|
})
|
|
13540
13540
|
- id: open-app-settings-example-1
|
|
@@ -13612,14 +13612,14 @@
|
|
|
13612
13612
|
title: 'Navigate',
|
|
13613
13613
|
instanceId: 'btn-map-3',
|
|
13614
13614
|
address: '=@ctx.jig.inputs.destination',
|
|
13615
|
-
icon: '
|
|
13615
|
+
icon: 'chevron-right',
|
|
13616
13616
|
isHidden: '=$not(@ctx.jig.state.hasDestination)',
|
|
13617
13617
|
})
|
|
13618
13618
|
const serial = buttons.add.openMap({
|
|
13619
13619
|
title: 'Show Route',
|
|
13620
13620
|
instanceId: 'btn-map-4',
|
|
13621
13621
|
address: '=@ctx.jig.inputs.routeDestination',
|
|
13622
|
-
icon: '
|
|
13622
|
+
icon: 'device-desktop',
|
|
13623
13623
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
13624
13624
|
when: '=@ctx.jig.state.hasRoute',
|
|
13625
13625
|
})
|
|
@@ -13627,7 +13627,7 @@
|
|
|
13627
13627
|
title: 'Show Delivery Location',
|
|
13628
13628
|
instanceId: 'btn-map-5',
|
|
13629
13629
|
address: '=@ctx.jig.inputs.deliveryAddress',
|
|
13630
|
-
icon: '
|
|
13630
|
+
icon: 'paper-bag',
|
|
13631
13631
|
isPrimary: true,
|
|
13632
13632
|
when: '=@ctx.jig.inputs.order.status = "out_for_delivery"',
|
|
13633
13633
|
})
|
|
@@ -13638,14 +13638,14 @@
|
|
|
13638
13638
|
latitude: '=@ctx.system.geolocation.coords.latitude',
|
|
13639
13639
|
longitude: '=@ctx.system.geolocation.coords.longitude',
|
|
13640
13640
|
},
|
|
13641
|
-
icon: '
|
|
13641
|
+
icon: 'compass',
|
|
13642
13642
|
isHidden: '=$not(@ctx.system.isLocationSharingEnabled)',
|
|
13643
13643
|
})
|
|
13644
13644
|
buttons.add.openMap({
|
|
13645
13645
|
title: 'Visit Store',
|
|
13646
13646
|
instanceId: 'btn-map-7',
|
|
13647
13647
|
address: '=@ctx.solution.state.store.address',
|
|
13648
|
-
icon: '
|
|
13648
|
+
icon: 'building-store',
|
|
13649
13649
|
when: '=@ctx.solution.state.store.isOpen',
|
|
13650
13650
|
})
|
|
13651
13651
|
const emergency = buttons.add.openMap({
|
|
@@ -13655,7 +13655,7 @@
|
|
|
13655
13655
|
latitude: '=@ctx.jig.state.emergency.lat',
|
|
13656
13656
|
longitude: '=@ctx.jig.state.emergency.lng',
|
|
13657
13657
|
},
|
|
13658
|
-
icon: '
|
|
13658
|
+
icon: 'phone-call',
|
|
13659
13659
|
isDanger: true,
|
|
13660
13660
|
when: '=@ctx.jig.state.emergency.active',
|
|
13661
13661
|
})
|
|
@@ -13776,7 +13776,7 @@
|
|
|
13776
13776
|
height: 150,
|
|
13777
13777
|
isCircular: true,
|
|
13778
13778
|
},
|
|
13779
|
-
icon: '
|
|
13779
|
+
icon: 'user',
|
|
13780
13780
|
})
|
|
13781
13781
|
- id: open-media-picker.button-example-3
|
|
13782
13782
|
name: Add Media Button with Visibility Control (button)
|
|
@@ -13796,7 +13796,7 @@
|
|
|
13796
13796
|
instanceId: 'btn-picker-3',
|
|
13797
13797
|
mediaType: 'any',
|
|
13798
13798
|
isMultiple: true,
|
|
13799
|
-
icon: 'folder
|
|
13799
|
+
icon: 'folder',
|
|
13800
13800
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
13801
13801
|
})
|
|
13802
13802
|
- id: open-media-picker.button-example-4
|
|
@@ -13842,7 +13842,7 @@
|
|
|
13842
13842
|
mediaType: 'any',
|
|
13843
13843
|
isMultiple: true,
|
|
13844
13844
|
maximumFileSize: 20000000,
|
|
13845
|
-
icon: '
|
|
13845
|
+
icon: 'file-upload',
|
|
13846
13846
|
isHidden: '=@ctx.jig.state.uploadDisabled',
|
|
13847
13847
|
when: '=@ctx.solution.state.hasPermission',
|
|
13848
13848
|
})
|
|
@@ -13865,7 +13865,7 @@
|
|
|
13865
13865
|
instanceId: 'btn-picker-6',
|
|
13866
13866
|
mediaType: 'video',
|
|
13867
13867
|
maximumFileSize: 100000000,
|
|
13868
|
-
icon: '
|
|
13868
|
+
icon: 'video',
|
|
13869
13869
|
isPrimary: true,
|
|
13870
13870
|
when: '=@ctx.jig.state.canRecordVideo',
|
|
13871
13871
|
})
|
|
@@ -13889,7 +13889,7 @@
|
|
|
13889
13889
|
mediaType: 'image',
|
|
13890
13890
|
isMultiple: true,
|
|
13891
13891
|
imageQuality: 80,
|
|
13892
|
-
icon: '
|
|
13892
|
+
icon: 'photo',
|
|
13893
13893
|
isHidden: '=$not(@ctx.solution.state.allowGalleryAccess)',
|
|
13894
13894
|
})
|
|
13895
13895
|
- id: open-media-picker.button-example-8
|
|
@@ -13913,7 +13913,7 @@
|
|
|
13913
13913
|
mediaType: 'any',
|
|
13914
13914
|
isMultiple: true,
|
|
13915
13915
|
maximumFileSize: '=@ctx.solution.state.upload.maxFileSize',
|
|
13916
|
-
icon: '
|
|
13916
|
+
icon: 'file-upload',
|
|
13917
13917
|
when: '=@ctx.solution.state.permissions.uploadDocuments',
|
|
13918
13918
|
})
|
|
13919
13919
|
- id: open-media-picker-example-1
|
|
@@ -14250,7 +14250,7 @@
|
|
|
14250
14250
|
title: '=@ctx.linkText',
|
|
14251
14251
|
url: '=@ctx.jig.inputs.targetUrl',
|
|
14252
14252
|
instanceId: 'btn-open-3',
|
|
14253
|
-
icon: '
|
|
14253
|
+
icon: 'leaf',
|
|
14254
14254
|
isTrackingTransparencyRequired: '=@ctx.solution.state.privacy.requiresConsent',
|
|
14255
14255
|
when: '=@ctx.solution.state.ui.showExternalLinks',
|
|
14256
14256
|
})
|
|
@@ -14284,7 +14284,7 @@
|
|
|
14284
14284
|
title: 'Help',
|
|
14285
14285
|
url,
|
|
14286
14286
|
instanceId: 'btn-open-5',
|
|
14287
|
-
icon: '
|
|
14287
|
+
icon: 'help-circle',
|
|
14288
14288
|
})
|
|
14289
14289
|
- id: open-url.button-example-6
|
|
14290
14290
|
name: Advanced Link Button with Styling (button)
|
|
@@ -14484,7 +14484,7 @@
|
|
|
14484
14484
|
title: 'Print Document',
|
|
14485
14485
|
instanceId: 'btn-print-1',
|
|
14486
14486
|
html: '<h1>Document</h1><p>Content to print</p>',
|
|
14487
|
-
icon: '
|
|
14487
|
+
icon: 'printer',
|
|
14488
14488
|
isPrimary: true,
|
|
14489
14489
|
})
|
|
14490
14490
|
- id: print.button-example-2
|
|
@@ -14502,7 +14502,7 @@
|
|
|
14502
14502
|
title: 'Print PDF',
|
|
14503
14503
|
instanceId: 'btn-print-2',
|
|
14504
14504
|
fileUri: 'file:///reports/monthly.pdf',
|
|
14505
|
-
icon: '
|
|
14505
|
+
icon: 'printer',
|
|
14506
14506
|
})
|
|
14507
14507
|
- id: print.button-example-3
|
|
14508
14508
|
name: Print Receipt Button with Visibility (button)
|
|
@@ -14546,7 +14546,7 @@
|
|
|
14546
14546
|
instanceId: 'btn-print-4',
|
|
14547
14547
|
html: '=@ctx.jig.state.generatedReport.content',
|
|
14548
14548
|
fileUri: '=@ctx.jig.state.backupPath',
|
|
14549
|
-
icon: '
|
|
14549
|
+
icon: 'printer',
|
|
14550
14550
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
14551
14551
|
when: '=@ctx.solution.state.hasPrintPermission',
|
|
14552
14552
|
})
|
|
@@ -14568,7 +14568,7 @@
|
|
|
14568
14568
|
title: 'Print Invoice',
|
|
14569
14569
|
instanceId: 'btn-print-5',
|
|
14570
14570
|
html: '=@ctx.datasources.invoiceData',
|
|
14571
|
-
icon: '
|
|
14571
|
+
icon: 'printer',
|
|
14572
14572
|
isPrimary: true,
|
|
14573
14573
|
when: '=@ctx.jig.state.invoiceFinalized',
|
|
14574
14574
|
})
|
|
@@ -14591,7 +14591,7 @@
|
|
|
14591
14591
|
title: 'Print Label',
|
|
14592
14592
|
instanceId: 'btn-print-6',
|
|
14593
14593
|
html: '=@ctx.components.labelGenerator.state.html',
|
|
14594
|
-
icon: '
|
|
14594
|
+
icon: 'truck',
|
|
14595
14595
|
isHidden: '=@ctx.jig.state.shipment.status != "ready"',
|
|
14596
14596
|
})
|
|
14597
14597
|
- id: print.button-example-7
|
|
@@ -14612,7 +14612,7 @@
|
|
|
14612
14612
|
title: 'Print Ticket',
|
|
14613
14613
|
instanceId: 'btn-print-7',
|
|
14614
14614
|
html: '=@ctx.jig.inputs.ticketHTML',
|
|
14615
|
-
icon: '
|
|
14615
|
+
icon: 'printer',
|
|
14616
14616
|
when: '=@ctx.jig.inputs.ticket.purchased',
|
|
14617
14617
|
})
|
|
14618
14618
|
- id: print.button-example-8
|
|
@@ -14633,7 +14633,7 @@
|
|
|
14633
14633
|
title: 'Print Stored Report',
|
|
14634
14634
|
instanceId: 'btn-print-8',
|
|
14635
14635
|
fileUri: '=@ctx.datasources.reports[@ctx.jig.inputs.reportId].path',
|
|
14636
|
-
icon: '
|
|
14636
|
+
icon: 'report',
|
|
14637
14637
|
when: '=$exists(@ctx.datasources.reports[@ctx.jig.inputs.reportId])',
|
|
14638
14638
|
})
|
|
14639
14639
|
- id: print-example-1
|
|
@@ -14865,7 +14865,7 @@
|
|
|
14865
14865
|
title: 'Reset App',
|
|
14866
14866
|
instanceId: 'btn-reset-1',
|
|
14867
14867
|
keys: ['applicationState'],
|
|
14868
|
-
icon: '
|
|
14868
|
+
icon: 'refresh',
|
|
14869
14869
|
isPrimary: true,
|
|
14870
14870
|
})
|
|
14871
14871
|
- id: reset-application-state.button-example-2
|
|
@@ -14883,7 +14883,7 @@
|
|
|
14883
14883
|
title: 'Clear All Data',
|
|
14884
14884
|
instanceId: 'btn-reset-2',
|
|
14885
14885
|
keys: ['userData', 'settings', 'cache', 'session'],
|
|
14886
|
-
icon: '
|
|
14886
|
+
icon: 'x',
|
|
14887
14887
|
})
|
|
14888
14888
|
- id: reset-application-state.button-example-3
|
|
14889
14889
|
name: Reset to Defaults Button with Visibility (button)
|
|
@@ -14902,7 +14902,7 @@
|
|
|
14902
14902
|
title: 'Reset to Defaults',
|
|
14903
14903
|
instanceId: 'btn-reset-3',
|
|
14904
14904
|
keys: ['userCustomizations'],
|
|
14905
|
-
icon: '
|
|
14905
|
+
icon: 'trash',
|
|
14906
14906
|
isHidden: '=@ctx.solution.state.isDefaultState',
|
|
14907
14907
|
})
|
|
14908
14908
|
- id: reset-application-state.button-example-4
|
|
@@ -14925,7 +14925,7 @@
|
|
|
14925
14925
|
title: 'Reset Application',
|
|
14926
14926
|
instanceId: 'btn-reset-4',
|
|
14927
14927
|
keys: ['applicationState', '=@ctx.solution.state.configKey', 'userSettings'],
|
|
14928
|
-
icon: '
|
|
14928
|
+
icon: 'refresh',
|
|
14929
14929
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
14930
14930
|
when: '=@ctx.solution.state.hasChanges',
|
|
14931
14931
|
})
|
|
@@ -14948,7 +14948,7 @@
|
|
|
14948
14948
|
title: 'Reset App',
|
|
14949
14949
|
instanceId: 'btn-reset-5',
|
|
14950
14950
|
keys: ['appConfig', 'userPreferences', 'localCache', 'sessionData'],
|
|
14951
|
-
icon: '
|
|
14951
|
+
icon: 'refresh',
|
|
14952
14952
|
isDanger: true,
|
|
14953
14953
|
when: '=@ctx.solution.state.app.hasCustomizations',
|
|
14954
14954
|
})
|
|
@@ -14991,7 +14991,7 @@
|
|
|
14991
14991
|
title: 'Reset Workspace',
|
|
14992
14992
|
instanceId: 'btn-reset-7',
|
|
14993
14993
|
keys: ['workspaceLayout', 'openTabs', 'savedQueries', 'bookmarks'],
|
|
14994
|
-
icon: '
|
|
14994
|
+
icon: 'refresh',
|
|
14995
14995
|
when: '=@ctx.solution.state.workspace.isDirty',
|
|
14996
14996
|
})
|
|
14997
14997
|
- id: reset-application-state.button-example-8
|
|
@@ -15013,7 +15013,7 @@
|
|
|
15013
15013
|
title: 'Factory Reset',
|
|
15014
15014
|
instanceId: 'btn-reset-8',
|
|
15015
15015
|
keys: ['=@ctx.solution.id + ".fullState"', '=@ctx.solution.id + ".userCustomizations"'],
|
|
15016
|
-
icon: '
|
|
15016
|
+
icon: 'building-factory',
|
|
15017
15017
|
when: '=@ctx.solution.state.permissions.allowsReset',
|
|
15018
15018
|
})
|
|
15019
15019
|
- id: reset-application-state-example-1
|
|
@@ -15289,7 +15289,7 @@
|
|
|
15289
15289
|
title: 'Reset View',
|
|
15290
15290
|
instanceId: 'btn-reset-1',
|
|
15291
15291
|
keys: ['currentView'],
|
|
15292
|
-
icon: '
|
|
15292
|
+
icon: 'refresh',
|
|
15293
15293
|
isPrimary: true,
|
|
15294
15294
|
})
|
|
15295
15295
|
- id: reset-screen-state.button-example-2
|
|
@@ -15307,7 +15307,7 @@
|
|
|
15307
15307
|
title: 'Clear All',
|
|
15308
15308
|
instanceId: 'btn-reset-2',
|
|
15309
15309
|
keys: ['selection', 'filters', 'sorting', 'pagination'],
|
|
15310
|
-
icon: '
|
|
15310
|
+
icon: 'x',
|
|
15311
15311
|
})
|
|
15312
15312
|
- id: reset-screen-state.button-example-3
|
|
15313
15313
|
name: Reset Filters Button with Active Filter Check (button)
|
|
@@ -15350,7 +15350,7 @@
|
|
|
15350
15350
|
title: 'Reset Jig',
|
|
15351
15351
|
instanceId: 'btn-reset-4',
|
|
15352
15352
|
keys: ['viewState', '=@ctx.solution.state.configKey', 'userSettings'],
|
|
15353
|
-
icon: '
|
|
15353
|
+
icon: 'refresh',
|
|
15354
15354
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
15355
15355
|
when: '=@ctx.solution.state.hasChanges',
|
|
15356
15356
|
})
|
|
@@ -15416,7 +15416,7 @@
|
|
|
15416
15416
|
title: 'Clear Form',
|
|
15417
15417
|
instanceId: 'btn-reset-7',
|
|
15418
15418
|
keys: ['formData', 'validationErrors', 'touchedFields'],
|
|
15419
|
-
icon: '
|
|
15419
|
+
icon: 'forms',
|
|
15420
15420
|
when: '=@ctx.components.form.state.value.isDirty',
|
|
15421
15421
|
})
|
|
15422
15422
|
- id: reset-screen-state.button-example-8
|
|
@@ -15676,7 +15676,7 @@
|
|
|
15676
15676
|
title: 'Reset Settings',
|
|
15677
15677
|
instanceId: 'btn-reset-1',
|
|
15678
15678
|
stateKey: '=@ctx.solution.state.userSettings',
|
|
15679
|
-
icon: '
|
|
15679
|
+
icon: 'refresh',
|
|
15680
15680
|
isPrimary: true,
|
|
15681
15681
|
})
|
|
15682
15682
|
- id: reset-state.button-example-2
|
|
@@ -15697,7 +15697,7 @@
|
|
|
15697
15697
|
title: 'Clear Form',
|
|
15698
15698
|
instanceId: 'btn-reset-2',
|
|
15699
15699
|
stateKey: '=@ctx.jig.state.formData',
|
|
15700
|
-
icon: '
|
|
15700
|
+
icon: 'x',
|
|
15701
15701
|
isHidden: '=@ctx.components.form.state.value.isEmpty',
|
|
15702
15702
|
})
|
|
15703
15703
|
- id: reset-state.button-example-3
|
|
@@ -15720,7 +15720,7 @@
|
|
|
15720
15720
|
title: 'Reset State',
|
|
15721
15721
|
instanceId: 'btn-reset-3',
|
|
15722
15722
|
stateKey: '=@ctx.solution.state.config',
|
|
15723
|
-
icon: '
|
|
15723
|
+
icon: 'refresh',
|
|
15724
15724
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
15725
15725
|
when: '=@ctx.solution.state.hasChanges',
|
|
15726
15726
|
})
|
|
@@ -15762,7 +15762,7 @@
|
|
|
15762
15762
|
title: 'Clear Form',
|
|
15763
15763
|
instanceId: 'btn-reset-5',
|
|
15764
15764
|
stateKey: '=@ctx.jig.state.form.data',
|
|
15765
|
-
icon: '
|
|
15765
|
+
icon: 'forms',
|
|
15766
15766
|
isHidden: '=@ctx.components.form.state.value.isPristine',
|
|
15767
15767
|
})
|
|
15768
15768
|
- id: reset-state.button-example-6
|
|
@@ -15804,7 +15804,7 @@
|
|
|
15804
15804
|
title: 'Reset Current State',
|
|
15805
15805
|
instanceId: 'btn-reset-7',
|
|
15806
15806
|
stateKey: '=@ctx.solution.state[@ctx.jig.state.currentStateKey]',
|
|
15807
|
-
icon: '
|
|
15807
|
+
icon: 'bolt',
|
|
15808
15808
|
when: '=@ctx.solution.state.hasCurrentState',
|
|
15809
15809
|
})
|
|
15810
15810
|
- id: reset-state.button-example-8
|
|
@@ -15826,7 +15826,7 @@
|
|
|
15826
15826
|
title: 'Clear Session',
|
|
15827
15827
|
instanceId: 'btn-reset-8',
|
|
15828
15828
|
stateKey: '=@ctx.solution.state.session.state.userData',
|
|
15829
|
-
icon: '
|
|
15829
|
+
icon: 'trash',
|
|
15830
15830
|
isDanger: true,
|
|
15831
15831
|
when: '=@ctx.solution.state.session.isActive',
|
|
15832
15832
|
})
|
|
@@ -16043,7 +16043,7 @@
|
|
|
16043
16043
|
title: 'Retry Command',
|
|
16044
16044
|
commandId: 'cmd-123',
|
|
16045
16045
|
instanceId: 'btn-retry-1',
|
|
16046
|
-
icon: '
|
|
16046
|
+
icon: 'repeat',
|
|
16047
16047
|
isPrimary: true,
|
|
16048
16048
|
})
|
|
16049
16049
|
- id: retry-queue-command.button-example-2
|
|
@@ -16061,7 +16061,7 @@
|
|
|
16061
16061
|
title: 'Retry Failed',
|
|
16062
16062
|
commandId: '=@ctx.jig.state.failedCommand.id',
|
|
16063
16063
|
instanceId: 'btn-retry-2',
|
|
16064
|
-
icon: '
|
|
16064
|
+
icon: 'alert-circle',
|
|
16065
16065
|
})
|
|
16066
16066
|
- id: retry-queue-command.button-example-3
|
|
16067
16067
|
name: Retry Upload Button with Visibility (button)
|
|
@@ -16081,7 +16081,7 @@
|
|
|
16081
16081
|
title: 'Retry Upload',
|
|
16082
16082
|
commandId: 'upload-cmd-456',
|
|
16083
16083
|
instanceId: 'btn-retry-3',
|
|
16084
|
-
icon: '
|
|
16084
|
+
icon: 'upload',
|
|
16085
16085
|
isHidden: '=@ctx.jig.state.upload.isSuccessful',
|
|
16086
16086
|
})
|
|
16087
16087
|
- id: retry-queue-command.button-example-4
|
|
@@ -16104,7 +16104,7 @@
|
|
|
16104
16104
|
title: 'Retry Operation',
|
|
16105
16105
|
commandId: '=@ctx.jig.state.operation.commandId',
|
|
16106
16106
|
instanceId: 'btn-retry-4',
|
|
16107
|
-
icon: '
|
|
16107
|
+
icon: 'repeat',
|
|
16108
16108
|
isHidden: '=@ctx.jig.state.operation.isCompleted',
|
|
16109
16109
|
when: '=@ctx.jig.state.operation.canRetry',
|
|
16110
16110
|
})
|
|
@@ -16127,7 +16127,7 @@
|
|
|
16127
16127
|
title: 'Retry Sync',
|
|
16128
16128
|
commandId: '=@ctx.jig.state.sync.failedCommandId',
|
|
16129
16129
|
instanceId: 'btn-retry-5',
|
|
16130
|
-
icon: '
|
|
16130
|
+
icon: 'current-location',
|
|
16131
16131
|
isDanger: true,
|
|
16132
16132
|
when: '=@ctx.jig.state.sync.hasFailed',
|
|
16133
16133
|
})
|
|
@@ -16149,7 +16149,7 @@
|
|
|
16149
16149
|
title: 'Retry Batch',
|
|
16150
16150
|
commandId: '=@ctx.jig.state.batch.currentCommand.id',
|
|
16151
16151
|
instanceId: 'btn-retry-6',
|
|
16152
|
-
icon: '
|
|
16152
|
+
icon: 'refresh',
|
|
16153
16153
|
isHidden: '=@ctx.jig.state.batch.isComplete',
|
|
16154
16154
|
})
|
|
16155
16155
|
- id: retry-queue-command.button-example-7
|
|
@@ -16170,7 +16170,7 @@
|
|
|
16170
16170
|
title: 'Retry Network Call',
|
|
16171
16171
|
commandId: '=@ctx.jig.state.network.lastFailedCommandId',
|
|
16172
16172
|
instanceId: 'btn-retry-7',
|
|
16173
|
-
icon: 'network
|
|
16173
|
+
icon: 'network',
|
|
16174
16174
|
when: '=@ctx.system.isOffline = false',
|
|
16175
16175
|
})
|
|
16176
16176
|
- id: retry-queue-command.button-example-8
|
|
@@ -16192,7 +16192,7 @@
|
|
|
16192
16192
|
title: 'Retry Upload',
|
|
16193
16193
|
commandId: '=@ctx.jig.state.fileUpload.commandId',
|
|
16194
16194
|
instanceId: 'btn-retry-8',
|
|
16195
|
-
icon: '
|
|
16195
|
+
icon: 'file-plus',
|
|
16196
16196
|
when: '=@ctx.jig.state.fileUpload.hasError',
|
|
16197
16197
|
})
|
|
16198
16198
|
- id: retry-queue-command-example-1
|
|
@@ -16682,7 +16682,7 @@
|
|
|
16682
16682
|
settings: { theme: 'dark', notifications: true },
|
|
16683
16683
|
timestamp: '=$now()',
|
|
16684
16684
|
},
|
|
16685
|
-
icon: 'floppy
|
|
16685
|
+
icon: 'device-floppy',
|
|
16686
16686
|
isDanger: false,
|
|
16687
16687
|
})
|
|
16688
16688
|
- id: set-application-state-example-1
|
|
@@ -16823,7 +16823,7 @@
|
|
|
16823
16823
|
const setStateButton = buttonActions.add.setScreenState({
|
|
16824
16824
|
title: 'Switch View',
|
|
16825
16825
|
instanceId: 'btn-set-1',
|
|
16826
|
-
icon: '
|
|
16826
|
+
icon: 'layout-grid',
|
|
16827
16827
|
isPrimary: true,
|
|
16828
16828
|
keys: { activeView: 'grid' },
|
|
16829
16829
|
})
|
|
@@ -16868,7 +16868,7 @@
|
|
|
16868
16868
|
const setStateButton = buttonActions.add.setScreenState({
|
|
16869
16869
|
title: 'Show Details',
|
|
16870
16870
|
instanceId: 'btn-set-3',
|
|
16871
|
-
icon: 'notes
|
|
16871
|
+
icon: 'notes',
|
|
16872
16872
|
isHidden: '=@ctx.components.accordion.state.expanded',
|
|
16873
16873
|
keys: {
|
|
16874
16874
|
detailsVisible: true,
|
|
@@ -16892,7 +16892,7 @@
|
|
|
16892
16892
|
const setStateButton = buttonActions.add.setScreenState({
|
|
16893
16893
|
title: 'Update Jig',
|
|
16894
16894
|
instanceId: 'btn-set-4',
|
|
16895
|
-
icon: '
|
|
16895
|
+
icon: 'refresh-dot',
|
|
16896
16896
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
16897
16897
|
when: '=@ctx.solution.state.hasChanges',
|
|
16898
16898
|
keys: {
|
|
@@ -16918,7 +16918,7 @@
|
|
|
16918
16918
|
const setStateButton = buttonActions.add.setScreenState({
|
|
16919
16919
|
title: 'Sort by Name',
|
|
16920
16920
|
instanceId: 'btn-set-5',
|
|
16921
|
-
icon: '
|
|
16921
|
+
icon: 'sort-ascending',
|
|
16922
16922
|
keys: {
|
|
16923
16923
|
sortField: 'name',
|
|
16924
16924
|
sortDirection:
|
|
@@ -16973,7 +16973,7 @@
|
|
|
16973
16973
|
const setStateButton = buttonActions.add.setScreenState({
|
|
16974
16974
|
title: 'Overview Tab',
|
|
16975
16975
|
instanceId: 'btn-set-7',
|
|
16976
|
-
icon: '
|
|
16976
|
+
icon: 'device-desktop',
|
|
16977
16977
|
when: '=@ctx.jig.state.activeTab != "overview"',
|
|
16978
16978
|
keys: {
|
|
16979
16979
|
activeTab: 'overview',
|
|
@@ -17426,7 +17426,7 @@
|
|
|
17426
17426
|
message: '=@ctx.jig.inputs.content.description',
|
|
17427
17427
|
fileUri: '=@ctx.jig.inputs.content.fileUri',
|
|
17428
17428
|
email: '=@ctx.jig.state.recipient.email',
|
|
17429
|
-
icon: '
|
|
17429
|
+
icon: 'clipboard',
|
|
17430
17430
|
isHidden: '=@ctx.jig.inputs.content.isRestricted',
|
|
17431
17431
|
when: '=@ctx.jig.inputs.content.isReady',
|
|
17432
17432
|
})
|
|
@@ -17454,7 +17454,7 @@
|
|
|
17454
17454
|
message: '=@ctx.datasources.emailBody',
|
|
17455
17455
|
fileUri: '=@ctx.jig.inputs.report.exportUrl',
|
|
17456
17456
|
email: '=$join(@ctx.jig.state.recipients, ",")',
|
|
17457
|
-
icon: '
|
|
17457
|
+
icon: 'mail',
|
|
17458
17458
|
when: '=@ctx.jig.inputs.report.isComplete',
|
|
17459
17459
|
})
|
|
17460
17460
|
- id: share.button-example-6
|
|
@@ -17507,7 +17507,7 @@
|
|
|
17507
17507
|
message: 'Your requested data export is ready.',
|
|
17508
17508
|
fileUri: '=@ctx.jig.state.export.generateDownloadUrl()',
|
|
17509
17509
|
email: '=@ctx.user.email',
|
|
17510
|
-
icon: 'export
|
|
17510
|
+
icon: 'file-export',
|
|
17511
17511
|
when: '=@ctx.jig.state.export.isReady',
|
|
17512
17512
|
})
|
|
17513
17513
|
- id: share.button-example-8
|
|
@@ -17890,7 +17890,7 @@
|
|
|
17890
17890
|
withActions.addAction.goto({ title: 'Review sync', linkTo: 'sync-progress' })
|
|
17891
17891
|
withActions.addAction.executeAction({
|
|
17892
17892
|
title: 'Retry',
|
|
17893
|
-
icon: '
|
|
17893
|
+
icon: 'refresh',
|
|
17894
17894
|
action: 'retry-upload',
|
|
17895
17895
|
isDanger: true,
|
|
17896
17896
|
})
|
|
@@ -17961,7 +17961,7 @@
|
|
|
17961
17961
|
id: 'delivery-123',
|
|
17962
17962
|
targetLocation: { latitude: 40.7128, longitude: -74.006 },
|
|
17963
17963
|
targetRadiusToFinishInMeters: 50,
|
|
17964
|
-
icon: '
|
|
17964
|
+
icon: 'paper-bag',
|
|
17965
17965
|
})
|
|
17966
17966
|
- id: start-location-sharing.button-example-3
|
|
17967
17967
|
name: Conditional Button Visibility
|
|
@@ -17982,7 +17982,7 @@
|
|
|
17982
17982
|
title: 'Share Location',
|
|
17983
17983
|
instanceId: 'btn-location-3',
|
|
17984
17984
|
id: '=@ctx.jig.inputs.shareId',
|
|
17985
|
-
icon: '
|
|
17985
|
+
icon: 'location-share',
|
|
17986
17986
|
isHidden: '=@ctx.solution.state.locationSharingActive',
|
|
17987
17987
|
})
|
|
17988
17988
|
- id: start-location-sharing.button-example-4
|
|
@@ -18000,7 +18000,7 @@
|
|
|
18000
18000
|
const startButton = buttonActions.add.startLocationSharing({
|
|
18001
18001
|
title: 'Start Sharing',
|
|
18002
18002
|
instanceId: 'btn-location-4',
|
|
18003
|
-
icon: 'play',
|
|
18003
|
+
icon: 'player-play',
|
|
18004
18004
|
})
|
|
18005
18005
|
startButton.onStart.infoModal({
|
|
18006
18006
|
modalTitle: 'Location Sharing Started',
|
|
@@ -18032,7 +18032,7 @@
|
|
|
18032
18032
|
targetLocation: { latitude: 51.5074, longitude: -0.1278 },
|
|
18033
18033
|
targetRadiusToFinishInMeters: 30,
|
|
18034
18034
|
timeout: 3600,
|
|
18035
|
-
icon: '
|
|
18035
|
+
icon: 'chevron-right',
|
|
18036
18036
|
isHidden: '=@ctx.solution.state.isNavigating',
|
|
18037
18037
|
when: '=@ctx.solution.state.hasDestination',
|
|
18038
18038
|
})
|
|
@@ -18060,7 +18060,7 @@
|
|
|
18060
18060
|
instanceId: 'btn-location-6',
|
|
18061
18061
|
id: '="emergency-" & @ctx.user.id & "-" & @ctx.jig.state.timestamp',
|
|
18062
18062
|
timeout: 3600,
|
|
18063
|
-
icon: '
|
|
18063
|
+
icon: 'phone-call',
|
|
18064
18064
|
isDanger: true,
|
|
18065
18065
|
})
|
|
18066
18066
|
startButton.onStart.setScreenState({
|
|
@@ -18101,7 +18101,7 @@
|
|
|
18101
18101
|
},
|
|
18102
18102
|
targetRadiusToFinishInMeters: 100,
|
|
18103
18103
|
timeout: '=@ctx.jig.inputs.estimatedDuration',
|
|
18104
|
-
icon: '
|
|
18104
|
+
icon: 'device-laptop',
|
|
18105
18105
|
when: '=@ctx.jig.inputs.status = "assigned"',
|
|
18106
18106
|
})
|
|
18107
18107
|
- id: start-location-sharing.button-example-8
|
|
@@ -18129,7 +18129,7 @@
|
|
|
18129
18129
|
title: 'Start Workout',
|
|
18130
18130
|
instanceId: 'btn-location-8',
|
|
18131
18131
|
id: '="workout-" & @ctx.jig.inputs.workoutType & "-" & @ctx.jig.state.timestamp',
|
|
18132
|
-
icon: '
|
|
18132
|
+
icon: 'barbell',
|
|
18133
18133
|
isPrimary: true,
|
|
18134
18134
|
isHidden: '=@ctx.jig.state.workoutActive',
|
|
18135
18135
|
})
|
|
@@ -18483,7 +18483,7 @@
|
|
|
18483
18483
|
title: 'Start Sync',
|
|
18484
18484
|
instanceIds: ['datasource-1'],
|
|
18485
18485
|
instanceId: 'btn-sync-1',
|
|
18486
|
-
icon: '
|
|
18486
|
+
icon: 'refresh-dot',
|
|
18487
18487
|
isPrimary: true,
|
|
18488
18488
|
})
|
|
18489
18489
|
- id: start-sync-scope.button-example-2
|
|
@@ -18502,7 +18502,7 @@
|
|
|
18502
18502
|
title: 'Sync All',
|
|
18503
18503
|
instanceIds: datasources,
|
|
18504
18504
|
instanceId: 'btn-sync-2',
|
|
18505
|
-
icon: '
|
|
18505
|
+
icon: 'refresh-dot',
|
|
18506
18506
|
})
|
|
18507
18507
|
- id: start-sync-scope.button-example-3
|
|
18508
18508
|
name: Button with Expression
|
|
@@ -18519,7 +18519,7 @@
|
|
|
18519
18519
|
title: 'Dynamic Sync',
|
|
18520
18520
|
instanceIds: '=@ctx.solution.state.pendingSync',
|
|
18521
18521
|
instanceId: 'btn-sync-3',
|
|
18522
|
-
icon: '
|
|
18522
|
+
icon: 'refresh-dot',
|
|
18523
18523
|
})
|
|
18524
18524
|
- id: start-sync-scope.button-example-4
|
|
18525
18525
|
name: Conditional Button Visibility
|
|
@@ -18538,7 +18538,7 @@
|
|
|
18538
18538
|
title: 'Sync Data',
|
|
18539
18539
|
instanceIds: ['datasource-1'],
|
|
18540
18540
|
instanceId: 'btn-sync-4',
|
|
18541
|
-
icon: '
|
|
18541
|
+
icon: 'refresh-dot',
|
|
18542
18542
|
isHidden: '=$not(@ctx.jig.state.hasData)',
|
|
18543
18543
|
})
|
|
18544
18544
|
- id: start-sync-scope.button-example-5
|
|
@@ -18561,7 +18561,7 @@
|
|
|
18561
18561
|
title: 'Sync Selected',
|
|
18562
18562
|
instanceIds: ['ds-1', 'ds-2'],
|
|
18563
18563
|
instanceId: 'btn-sync-5',
|
|
18564
|
-
icon: '
|
|
18564
|
+
icon: 'columns',
|
|
18565
18565
|
isHidden: '=@ctx.solution.state.isSyncing',
|
|
18566
18566
|
when: '=@ctx.jig.state.canSync',
|
|
18567
18567
|
})
|
|
@@ -18586,7 +18586,7 @@
|
|
|
18586
18586
|
title: 'Full System Sync',
|
|
18587
18587
|
instanceIds: allDatasources,
|
|
18588
18588
|
instanceId: 'btn-sync-6',
|
|
18589
|
-
icon: '
|
|
18589
|
+
icon: 'refresh-dot',
|
|
18590
18590
|
isPrimary: true,
|
|
18591
18591
|
when: '=@ctx.jig.state.isAdmin and @ctx.system.isOnline',
|
|
18592
18592
|
})
|
|
@@ -18612,7 +18612,7 @@
|
|
|
18612
18612
|
title: 'Sync My Data',
|
|
18613
18613
|
instanceIds: '=@ctx.solution.state.userDatasources',
|
|
18614
18614
|
instanceId: 'btn-sync-7',
|
|
18615
|
-
icon: '
|
|
18615
|
+
icon: 'current-location',
|
|
18616
18616
|
isHidden: '=@ctx.solution.state.user.role = "viewer"',
|
|
18617
18617
|
})
|
|
18618
18618
|
- id: start-sync-scope.button-example-8
|
|
@@ -18634,7 +18634,7 @@
|
|
|
18634
18634
|
title: 'Sync Offline Data',
|
|
18635
18635
|
instanceIds: ['offline-queue', 'pending-changes'],
|
|
18636
18636
|
instanceId: 'btn-sync-8',
|
|
18637
|
-
icon: 'cloud-
|
|
18637
|
+
icon: 'cloud-data-connection',
|
|
18638
18638
|
when: '=@ctx.system.isOffline and @ctx.system.isOnline',
|
|
18639
18639
|
})
|
|
18640
18640
|
- id: start-sync-scope.button-example-9
|
|
@@ -18658,7 +18658,7 @@
|
|
|
18658
18658
|
title: 'Background Sync',
|
|
18659
18659
|
instanceIds: ['background-tasks', 'scheduled-jobs'],
|
|
18660
18660
|
instanceId: 'btn-sync-9',
|
|
18661
|
-
icon: '
|
|
18661
|
+
icon: 'refresh-dot',
|
|
18662
18662
|
isHidden: '=@ctx.jig.state.backgroundSyncRunning',
|
|
18663
18663
|
})
|
|
18664
18664
|
- id: start-sync-scope-example-1
|
|
@@ -18874,7 +18874,7 @@
|
|
|
18874
18874
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18875
18875
|
title: 'Stop Tracking',
|
|
18876
18876
|
instanceId: 'btn-stop-1',
|
|
18877
|
-
icon: '
|
|
18877
|
+
icon: 'player-stop',
|
|
18878
18878
|
isPrimary: true,
|
|
18879
18879
|
})
|
|
18880
18880
|
- id: stop-location-sharing.button-example-2
|
|
@@ -18892,7 +18892,7 @@
|
|
|
18892
18892
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18893
18893
|
title: 'End Sharing',
|
|
18894
18894
|
instanceId: 'btn-stop-2',
|
|
18895
|
-
icon: 'location-off
|
|
18895
|
+
icon: 'current-location-off',
|
|
18896
18896
|
isHidden: '=$not(@ctx.system.isLocationSharingEnabled)',
|
|
18897
18897
|
})
|
|
18898
18898
|
- id: stop-location-sharing.button-example-3
|
|
@@ -18910,7 +18910,7 @@
|
|
|
18910
18910
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18911
18911
|
title: 'Stop Location',
|
|
18912
18912
|
instanceId: 'btn-stop-3',
|
|
18913
|
-
icon: '
|
|
18913
|
+
icon: 'ban',
|
|
18914
18914
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
18915
18915
|
when: '=@ctx.solution.state.isTracking',
|
|
18916
18916
|
})
|
|
@@ -18928,7 +18928,7 @@
|
|
|
18928
18928
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18929
18929
|
title: 'End Emergency',
|
|
18930
18930
|
instanceId: 'btn-stop-4',
|
|
18931
|
-
icon: '
|
|
18931
|
+
icon: 'phone-call',
|
|
18932
18932
|
isDanger: true,
|
|
18933
18933
|
when: '=@ctx.jig.state.emergency.isActive',
|
|
18934
18934
|
})
|
|
@@ -18947,7 +18947,7 @@
|
|
|
18947
18947
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18948
18948
|
title: 'Complete Delivery',
|
|
18949
18949
|
instanceId: 'btn-stop-5',
|
|
18950
|
-
icon: 'check
|
|
18950
|
+
icon: 'circle-check',
|
|
18951
18951
|
isPrimary: true,
|
|
18952
18952
|
isHidden: '=@ctx.jig.state.delivery.isComplete',
|
|
18953
18953
|
})
|
|
@@ -18965,7 +18965,7 @@
|
|
|
18965
18965
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18966
18966
|
title: 'End Workout',
|
|
18967
18967
|
instanceId: 'btn-stop-6',
|
|
18968
|
-
icon: '
|
|
18968
|
+
icon: 'barbell',
|
|
18969
18969
|
when: '=@ctx.jig.state.workout.isActive',
|
|
18970
18970
|
})
|
|
18971
18971
|
- id: stop-location-sharing.button-example-7
|
|
@@ -18982,7 +18982,7 @@
|
|
|
18982
18982
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
18983
18983
|
title: 'Stop Navigation',
|
|
18984
18984
|
instanceId: 'btn-stop-7',
|
|
18985
|
-
icon: '
|
|
18985
|
+
icon: 'ban',
|
|
18986
18986
|
isHidden: '=$not(@ctx.system.isLocationSharingEnabled)',
|
|
18987
18987
|
})
|
|
18988
18988
|
- id: stop-location-sharing.button-example-8
|
|
@@ -18999,7 +18999,7 @@
|
|
|
18999
18999
|
const stopButton = buttonActions.add.stopLocationSharing({
|
|
19000
19000
|
title: 'Go Private',
|
|
19001
19001
|
instanceId: 'btn-stop-8',
|
|
19002
|
-
icon: 'lock
|
|
19002
|
+
icon: 'lock',
|
|
19003
19003
|
when: '=@ctx.jig.state.sharing.isPublic',
|
|
19004
19004
|
})
|
|
19005
19005
|
- id: stop-location-sharing-example-1
|
|
@@ -19198,7 +19198,7 @@
|
|
|
19198
19198
|
title: 'Save',
|
|
19199
19199
|
formId: 'form-1',
|
|
19200
19200
|
instanceId: 'btn-submit-1',
|
|
19201
|
-
icon: 'floppy
|
|
19201
|
+
icon: 'device-floppy',
|
|
19202
19202
|
isPrimary: true,
|
|
19203
19203
|
})
|
|
19204
19204
|
.sql('default/users', '=@ctx.solution.state.method')
|
|
@@ -19222,7 +19222,7 @@
|
|
|
19222
19222
|
title: 'Submit Form',
|
|
19223
19223
|
formId: 'form-2',
|
|
19224
19224
|
instanceId: 'btn-submit-2',
|
|
19225
|
-
icon: 'send
|
|
19225
|
+
icon: 'send',
|
|
19226
19226
|
})
|
|
19227
19227
|
.sql('default/data', '=@ctx.solution.state.method')
|
|
19228
19228
|
submit.onSuccess.setScreenState({ keys: { saved: true, lastSaveTime: '=$now()' } })
|
|
@@ -19246,7 +19246,7 @@
|
|
|
19246
19246
|
title: 'Update',
|
|
19247
19247
|
formId: 'form-3',
|
|
19248
19248
|
instanceId: 'btn-submit-3',
|
|
19249
|
-
icon: '
|
|
19249
|
+
icon: 'refresh-dot',
|
|
19250
19250
|
isHidden: '=@ctx.components.form.state.value.isPristine',
|
|
19251
19251
|
provider: DATA_PROVIDER.SQL,
|
|
19252
19252
|
entity: 'default/records',
|
|
@@ -19276,7 +19276,7 @@
|
|
|
19276
19276
|
title: 'Save Changes',
|
|
19277
19277
|
formId: 'form-4',
|
|
19278
19278
|
instanceId: 'btn-submit-4',
|
|
19279
|
-
icon: 'floppy
|
|
19279
|
+
icon: 'device-floppy',
|
|
19280
19280
|
isHidden: '=@ctx.jig.state.readOnly',
|
|
19281
19281
|
when: '=@ctx.solution.state.hasChanges',
|
|
19282
19282
|
provider: DATA_PROVIDER.SQL,
|
|
@@ -19307,7 +19307,7 @@
|
|
|
19307
19307
|
title: 'Create',
|
|
19308
19308
|
formId: 'create-form',
|
|
19309
19309
|
instanceId: 'btn-submit-5',
|
|
19310
|
-
icon: '
|
|
19310
|
+
icon: 'plus',
|
|
19311
19311
|
isPrimary: true,
|
|
19312
19312
|
when: '=@ctx.components.form.state.value.isValid',
|
|
19313
19313
|
provider: DATA_PROVIDER.SQL,
|
|
@@ -19342,7 +19342,7 @@
|
|
|
19342
19342
|
title: 'Update',
|
|
19343
19343
|
formId: 'edit-form',
|
|
19344
19344
|
instanceId: 'btn-submit-6',
|
|
19345
|
-
icon: '
|
|
19345
|
+
icon: 'file-pencil',
|
|
19346
19346
|
isHidden: '=@ctx.components.form.state.value.isReadOnly',
|
|
19347
19347
|
provider: DATA_PROVIDER.SQL,
|
|
19348
19348
|
entity: 'default/products',
|
|
@@ -19411,7 +19411,7 @@
|
|
|
19411
19411
|
title: 'Submit Later',
|
|
19412
19412
|
formId: 'queue-form',
|
|
19413
19413
|
instanceId: 'btn-submit-8',
|
|
19414
|
-
icon: '
|
|
19414
|
+
icon: 'list-numbers',
|
|
19415
19415
|
provider: DATA_PROVIDER.SQL,
|
|
19416
19416
|
entity: 'default/requests',
|
|
19417
19417
|
method: '=@ctx.solution.state.method',
|
|
@@ -19836,7 +19836,7 @@
|
|
|
19836
19836
|
- swipe-left
|
|
19837
19837
|
description: Swipeable action with label, icon, color styling and navigation
|
|
19838
19838
|
code: |-
|
|
19839
|
-
const swipeAction = listItem.swipeLeft().label('Delete').icon('
|
|
19839
|
+
const swipeAction = listItem.swipeLeft().label('Delete').icon('trash').color('negative')
|
|
19840
19840
|
swipeAction.onPress.goto({ linkTo: 'home-jig' })
|
|
19841
19841
|
- id: swipeable-action-example-2
|
|
19842
19842
|
name: Swipeable Action Minimal
|
|
@@ -19893,7 +19893,7 @@
|
|
|
19893
19893
|
- expressions
|
|
19894
19894
|
description: Swipeable action with REST entity execution using current item data
|
|
19895
19895
|
code: |-
|
|
19896
|
-
const swipeAction = listItem.swipeLeft().label('Delete').icon('
|
|
19896
|
+
const swipeAction = listItem.swipeLeft().label('Delete').icon('trash').color('negative')
|
|
19897
19897
|
swipeAction.onPress
|
|
19898
19898
|
.executeEntity()
|
|
19899
19899
|
.rest('default/users', 'delete')
|
|
@@ -19914,7 +19914,7 @@
|
|
|
19914
19914
|
.syncEntities({
|
|
19915
19915
|
title: 'Sync Data',
|
|
19916
19916
|
instanceId: 'btn-sync',
|
|
19917
|
-
icon: '
|
|
19917
|
+
icon: 'refresh-dot',
|
|
19918
19918
|
isPrimary: true,
|
|
19919
19919
|
})
|
|
19920
19920
|
.entity('users')
|
|
@@ -19940,7 +19940,7 @@
|
|
|
19940
19940
|
.syncEntities({
|
|
19941
19941
|
title: 'Refresh',
|
|
19942
19942
|
instanceId: 'rest-btn',
|
|
19943
|
-
icon: '
|
|
19943
|
+
icon: 'refresh',
|
|
19944
19944
|
isDisabled: '=$not(@ctx.system.isOnline)',
|
|
19945
19945
|
})
|
|
19946
19946
|
.rest()
|
|
@@ -20213,7 +20213,7 @@
|
|
|
20213
20213
|
title: 'Update Profile',
|
|
20214
20214
|
instanceId: 'btn-update-1',
|
|
20215
20215
|
displayName: 'John Doe',
|
|
20216
|
-
icon: '
|
|
20216
|
+
icon: 'user',
|
|
20217
20217
|
isPrimary: true,
|
|
20218
20218
|
})
|
|
20219
20219
|
- id: update-profile.button-example-2
|
|
@@ -20236,7 +20236,7 @@
|
|
|
20236
20236
|
displayName: 'Jane Doe',
|
|
20237
20237
|
firstName: 'Jane',
|
|
20238
20238
|
lastName: 'Doe',
|
|
20239
|
-
icon: 'floppy
|
|
20239
|
+
icon: 'device-floppy',
|
|
20240
20240
|
})
|
|
20241
20241
|
- id: update-profile.button-example-3
|
|
20242
20242
|
name: Conditional Button Visibility
|
|
@@ -20256,7 +20256,7 @@
|
|
|
20256
20256
|
title: 'Edit Profile',
|
|
20257
20257
|
instanceId: 'btn-update-3',
|
|
20258
20258
|
displayName: '=@ctx.components.displayName.state.value',
|
|
20259
|
-
icon: '
|
|
20259
|
+
icon: 'file-pencil',
|
|
20260
20260
|
isHidden: '=$not(@ctx.jig.state.isEditing)',
|
|
20261
20261
|
})
|
|
20262
20262
|
- id: update-profile.button-example-4
|
|
@@ -20326,7 +20326,7 @@
|
|
|
20326
20326
|
lastName: '=@ctx.components.profileForm.state.value.lastName',
|
|
20327
20327
|
displayName:
|
|
20328
20328
|
'=@ctx.components.profileForm.state.value.firstName & " " & @ctx.components.profileForm.state.value.lastName',
|
|
20329
|
-
icon: '
|
|
20329
|
+
icon: 'edit',
|
|
20330
20330
|
isPrimary: true,
|
|
20331
20331
|
})
|
|
20332
20332
|
- id: update-profile.button-example-7
|
|
@@ -20348,7 +20348,7 @@
|
|
|
20348
20348
|
title: 'Update Display Name',
|
|
20349
20349
|
instanceId: 'btn-update-7',
|
|
20350
20350
|
displayName: '=@ctx.components.displayNameEditor.state.value.content',
|
|
20351
|
-
icon: '
|
|
20351
|
+
icon: 'browser',
|
|
20352
20352
|
isHidden: '=@ctx.components.displayNameEditor.state.value.isEmpty',
|
|
20353
20353
|
})
|
|
20354
20354
|
- id: update-profile.button-example-8
|
|
@@ -20373,7 +20373,7 @@
|
|
|
20373
20373
|
displayName: '=@ctx.solution.state.profile.displayName',
|
|
20374
20374
|
firstName: '=@ctx.solution.state.profile.firstName',
|
|
20375
20375
|
lastName: '=@ctx.solution.state.profile.lastName',
|
|
20376
|
-
icon: 'copy
|
|
20376
|
+
icon: 'copy',
|
|
20377
20377
|
isPrimary: true,
|
|
20378
20378
|
when: '=@ctx.solution.state.profile.hasChanges',
|
|
20379
20379
|
})
|
|
@@ -20392,7 +20392,7 @@
|
|
|
20392
20392
|
const update = buttonActions.add.updateProfile({
|
|
20393
20393
|
title: 'Update',
|
|
20394
20394
|
instanceId: 'btn-update-9',
|
|
20395
|
-
icon: '
|
|
20395
|
+
icon: 'refresh-dot',
|
|
20396
20396
|
})
|
|
20397
20397
|
- id: update-profile-example-1
|
|
20398
20398
|
name: Basic Update Profile Action
|
|
@@ -20654,11 +20654,11 @@
|
|
|
20654
20654
|
customerApp.addTab({ screenId: 'dashboard', icon: 'home', label: 'Dashboard' })
|
|
20655
20655
|
customerApp.addTab({
|
|
20656
20656
|
screenId: 'customer-list',
|
|
20657
|
-
icon: '
|
|
20657
|
+
icon: 'users',
|
|
20658
20658
|
label: 'Customers',
|
|
20659
20659
|
})
|
|
20660
20660
|
customerApp.addTab({ screenId: 'orders', icon: 'shopping-cart', label: 'Orders' })
|
|
20661
|
-
customerApp.addTab({ screenId: 'settings', icon: '
|
|
20661
|
+
customerApp.addTab({ screenId: 'settings', icon: 'settings', label: 'Settings' })
|
|
20662
20662
|
// Add screens with different types
|
|
20663
20663
|
const dashboard = customerApp.addScreen.default({
|
|
20664
20664
|
screenId: 'dashboard',
|
|
@@ -20725,11 +20725,11 @@
|
|
|
20725
20725
|
// Commerce navigation tabs
|
|
20726
20726
|
ecommerceApp.addTab({
|
|
20727
20727
|
screenId: 'product-catalog',
|
|
20728
|
-
icon: '
|
|
20728
|
+
icon: 'layout-grid',
|
|
20729
20729
|
label: 'Products',
|
|
20730
20730
|
})
|
|
20731
20731
|
ecommerceApp.addTab({ screenId: 'shopping-cart', icon: 'shopping-cart', label: 'Cart' })
|
|
20732
|
-
ecommerceApp.addTab({ screenId: 'user-profile', icon: '
|
|
20732
|
+
ecommerceApp.addTab({ screenId: 'user-profile', icon: 'user-circle', label: 'Profile' })
|
|
20733
20733
|
// Product screens
|
|
20734
20734
|
const productCatalog = ecommerceApp.addScreen.dynamicGrid({
|
|
20735
20735
|
screenId: 'product-catalog',
|
|
@@ -20912,9 +20912,9 @@
|
|
|
20912
20912
|
}).with({ category: 'business', description: 'Complete business management application' })
|
|
20913
20913
|
// Core navigation tabs with icons and labels
|
|
20914
20914
|
businessApp.addTab({ screenId: 'home', icon: 'home', label: 'Dashboard' })
|
|
20915
|
-
businessApp.addTab({ screenId: 'customers', icon: '
|
|
20915
|
+
businessApp.addTab({ screenId: 'customers', icon: 'users-group', label: 'Customers' })
|
|
20916
20916
|
businessApp.addTab({ screenId: 'orders', icon: 'shopping-cart', label: 'Orders' })
|
|
20917
|
-
businessApp.addTab({ screenId: 'reports', icon: '
|
|
20917
|
+
businessApp.addTab({ screenId: 'reports', icon: 'chart-bar', label: 'Reports' })
|
|
20918
20918
|
// Advanced tab configuration with badges and conditions
|
|
20919
20919
|
const messagingApp = new ApplicationBuilder({
|
|
20920
20920
|
name: 'team-messenger',
|
|
@@ -20923,23 +20923,23 @@
|
|
|
20923
20923
|
// Message tab with unread count badge
|
|
20924
20924
|
messagingApp.addTab({
|
|
20925
20925
|
screenId: 'messages',
|
|
20926
|
-
icon: '
|
|
20926
|
+
icon: 'mail',
|
|
20927
20927
|
label: 'Messages',
|
|
20928
20928
|
badge: '=@ctx.datasources.messages[read = false].length',
|
|
20929
20929
|
})
|
|
20930
20930
|
// Notifications tab with boolean indicator
|
|
20931
20931
|
messagingApp.addTab({
|
|
20932
20932
|
screenId: 'notifications',
|
|
20933
|
-
icon: '
|
|
20933
|
+
icon: 'bell',
|
|
20934
20934
|
label: 'Alerts',
|
|
20935
20935
|
badge: '=@ctx.datasources.notifications.length > 0',
|
|
20936
20936
|
})
|
|
20937
20937
|
// Profile tab - always visible
|
|
20938
|
-
messagingApp.addTab({ screenId: 'profile', icon: '
|
|
20938
|
+
messagingApp.addTab({ screenId: 'profile', icon: 'user-circle', label: 'Profile' })
|
|
20939
20939
|
// Admin tab with role-based visibility
|
|
20940
20940
|
messagingApp.addTab({
|
|
20941
20941
|
screenId: 'admin',
|
|
20942
|
-
icon: '
|
|
20942
|
+
icon: 'settings',
|
|
20943
20943
|
label: 'Admin',
|
|
20944
20944
|
when: '=@ctx.solution.state.user.role = "admin"',
|
|
20945
20945
|
})
|
|
@@ -20948,7 +20948,7 @@
|
|
|
20948
20948
|
category: 'sales',
|
|
20949
20949
|
})
|
|
20950
20950
|
// Product catalog tab
|
|
20951
|
-
shopApp.addTab({ screenId: 'catalog', icon: '
|
|
20951
|
+
shopApp.addTab({ screenId: 'catalog', icon: 'layout-grid', label: 'Products' })
|
|
20952
20952
|
// Shopping cart with item count
|
|
20953
20953
|
shopApp.addTab({
|
|
20954
20954
|
screenId: 'cart',
|
|
@@ -20960,13 +20960,13 @@
|
|
|
20960
20960
|
// Favorites with conditional visibility
|
|
20961
20961
|
shopApp.addTab({
|
|
20962
20962
|
screenId: 'favorites',
|
|
20963
|
-
icon: 'pin-star',
|
|
20963
|
+
icon: 'map-pin-star',
|
|
20964
20964
|
label: 'Favorites',
|
|
20965
20965
|
badge: '=@ctx.datasources.favorites.length',
|
|
20966
20966
|
when: '=@ctx.solution.state.user.isLoggedIn',
|
|
20967
20967
|
})
|
|
20968
20968
|
// Account tab
|
|
20969
|
-
shopApp.addTab({ screenId: 'account', icon: '
|
|
20969
|
+
shopApp.addTab({ screenId: 'account', icon: 'user-circle', label: 'Account' })
|
|
20970
20970
|
// Field service app with status-based badges
|
|
20971
20971
|
const fieldApp = new ApplicationBuilder({ name: 'field-service', title: 'Field Service' }).with(
|
|
20972
20972
|
{ category: 'field-services' },
|
|
@@ -20974,7 +20974,7 @@
|
|
|
20974
20974
|
// Tasks tab with priority count
|
|
20975
20975
|
fieldApp.addTab({
|
|
20976
20976
|
screenId: 'tasks',
|
|
20977
|
-
icon: '
|
|
20977
|
+
icon: 'checklist',
|
|
20978
20978
|
label: 'Tasks',
|
|
20979
20979
|
badge: '=$count(@ctx.datasources.tasks[priority = "high"])',
|
|
20980
20980
|
})
|
|
@@ -20983,14 +20983,14 @@
|
|
|
20983
20983
|
// Maps tab with location condition
|
|
20984
20984
|
fieldApp.addTab({
|
|
20985
20985
|
screenId: 'maps',
|
|
20986
|
-
icon: '
|
|
20986
|
+
icon: 'map',
|
|
20987
20987
|
label: 'Maps',
|
|
20988
20988
|
when: '=@ctx.system.isLocationSharingEnabled',
|
|
20989
20989
|
})
|
|
20990
20990
|
// Settings with manager access
|
|
20991
20991
|
fieldApp.addTab({
|
|
20992
20992
|
screenId: 'settings',
|
|
20993
|
-
icon: '
|
|
20993
|
+
icon: 'settings',
|
|
20994
20994
|
label: 'Settings',
|
|
20995
20995
|
when: '=@ctx.solution.state.user.role = "manager" or @ctx.solution.state.user.role = "admin"',
|
|
20996
20996
|
})
|
|
@@ -21025,7 +21025,7 @@
|
|
|
21025
21025
|
- icon
|
|
21026
21026
|
description: Create application tab builder with screen identifier and static icon
|
|
21027
21027
|
code: "const tab = new ApplicationTabBuilder({ screenId: 'home-screen', icon:
|
|
21028
|
-
'
|
|
21028
|
+
'home' })"
|
|
21029
21029
|
- id: application.tab-example-2
|
|
21030
21030
|
name: Application Tab with Dynamic Expression Icon
|
|
21031
21031
|
category: application
|
|
@@ -21054,7 +21054,7 @@
|
|
|
21054
21054
|
code: |-
|
|
21055
21055
|
const tab = new ApplicationTabBuilder({
|
|
21056
21056
|
screenId: 'home-screen',
|
|
21057
|
-
icon: '
|
|
21057
|
+
icon: 'home',
|
|
21058
21058
|
label: 'Home',
|
|
21059
21059
|
})
|
|
21060
21060
|
- id: application.tab-example-4
|
|
@@ -21069,7 +21069,7 @@
|
|
|
21069
21069
|
code: |-
|
|
21070
21070
|
const tab = new ApplicationTabBuilder({
|
|
21071
21071
|
screenId: 'home-screen',
|
|
21072
|
-
icon: '
|
|
21072
|
+
icon: 'home',
|
|
21073
21073
|
badge: 5,
|
|
21074
21074
|
})
|
|
21075
21075
|
- id: application.tab-example-5
|
|
@@ -21086,7 +21086,7 @@
|
|
|
21086
21086
|
code: |-
|
|
21087
21087
|
const tab = new ApplicationTabBuilder({
|
|
21088
21088
|
screenId: 'home-screen',
|
|
21089
|
-
icon: '
|
|
21089
|
+
icon: 'home',
|
|
21090
21090
|
label: 'Home',
|
|
21091
21091
|
badge: 3,
|
|
21092
21092
|
when: '=@ctx.solution.state.isActive',
|
|
@@ -21131,7 +21131,7 @@
|
|
|
21131
21131
|
const app = new ApplicationBuilder({ name: 'tabbed-app-key', title: 'Tabbed App Key' })
|
|
21132
21132
|
app.addTab({
|
|
21133
21133
|
screenId: 'datasync-status',
|
|
21134
|
-
icon: '
|
|
21134
|
+
icon: 'refresh',
|
|
21135
21135
|
tabId: 'sync',
|
|
21136
21136
|
label: 'Sync',
|
|
21137
21137
|
})
|
|
@@ -21146,7 +21146,7 @@
|
|
|
21146
21146
|
description: Second tab with same key replaces the first
|
|
21147
21147
|
code: |-
|
|
21148
21148
|
const app = new ApplicationBuilder({ name: 'tabbed-app-dup', title: 'Tabbed App Dup' })
|
|
21149
|
-
app.addTab({ screenId: 'datasync-status', icon: '
|
|
21149
|
+
app.addTab({ screenId: 'datasync-status', icon: 'refresh', tabId: 'sync' })
|
|
21150
21150
|
app.addTab({ screenId: 'home', icon: 'home', tabId: 'sync' })
|
|
21151
21151
|
- id: application-example-5
|
|
21152
21152
|
name: Complete Application with Database, Datasource and Function Components
|
|
@@ -21970,7 +21970,7 @@
|
|
|
21970
21970
|
instanceId: 'payment-success',
|
|
21971
21971
|
title: 'Payment Confirmed',
|
|
21972
21972
|
subtitle: 'Your order has been placed successfully',
|
|
21973
|
-
icon: '
|
|
21973
|
+
icon: 'circle-check',
|
|
21974
21974
|
iconColor: 'positive',
|
|
21975
21975
|
iconShape: 'circle',
|
|
21976
21976
|
isPositive: true,
|
|
@@ -21998,7 +21998,7 @@
|
|
|
21998
21998
|
instanceId: 'sync-error',
|
|
21999
21999
|
title: 'Sync Failed',
|
|
22000
22000
|
subtitle: '=@ctx.solution.state.lastError',
|
|
22001
|
-
icon: '
|
|
22001
|
+
icon: 'x',
|
|
22002
22002
|
iconColor: 'negative',
|
|
22003
22003
|
isNegative: true,
|
|
22004
22004
|
})
|
|
@@ -22013,7 +22013,7 @@
|
|
|
22013
22013
|
instanceId: 'maintenance-notice',
|
|
22014
22014
|
title: 'Scheduled Maintenance',
|
|
22015
22015
|
subtitle: '=@ctx.solution.state.maintenanceWindow',
|
|
22016
|
-
icon: '
|
|
22016
|
+
icon: 'info-circle',
|
|
22017
22017
|
iconColor: 'primary',
|
|
22018
22018
|
iconShape: 'rounded',
|
|
22019
22019
|
})
|
|
@@ -22044,7 +22044,7 @@
|
|
|
22044
22044
|
const styledBanner = screen.addControl.card({ instanceId: 'styled-card' }).addControl.banner({
|
|
22045
22045
|
instanceId: 'styled-banner',
|
|
22046
22046
|
title: 'System Update Available',
|
|
22047
|
-
icon: 'arrow-
|
|
22047
|
+
icon: 'circle-arrow-up',
|
|
22048
22048
|
isPositive: true,
|
|
22049
22049
|
})
|
|
22050
22050
|
styledBanner.title('System Update Available').fontSize('medium').isBold()
|
|
@@ -23211,7 +23211,7 @@
|
|
|
23211
23211
|
label: 'Remember my preferences',
|
|
23212
23212
|
initialValue: false,
|
|
23213
23213
|
isAutoFocused: true,
|
|
23214
|
-
icon: '
|
|
23214
|
+
icon: 'bookmark',
|
|
23215
23215
|
})
|
|
23216
23216
|
- id: component.component.checkbox-2
|
|
23217
23217
|
name: Checkbox Validation and Actions
|
|
@@ -23553,13 +23553,13 @@
|
|
|
23553
23553
|
{
|
|
23554
23554
|
id: 'debit',
|
|
23555
23555
|
name: 'Debit Card',
|
|
23556
|
-
icon: 'credit-card
|
|
23556
|
+
icon: 'credit-card',
|
|
23557
23557
|
description: 'Direct bank payment',
|
|
23558
23558
|
},
|
|
23559
23559
|
{
|
|
23560
23560
|
id: 'paypal',
|
|
23561
23561
|
name: 'PayPal',
|
|
23562
|
-
icon: '
|
|
23562
|
+
icon: 'brand-paypal',
|
|
23563
23563
|
description: 'PayPal account',
|
|
23564
23564
|
},
|
|
23565
23565
|
{ id: 'apple', name: 'Apple Pay', icon: 'apple', description: 'Touch ID payment' },
|
|
@@ -25112,7 +25112,7 @@
|
|
|
25112
25112
|
// 5. Time zone selector with offset display and meeting optimization
|
|
25113
25113
|
const timezoneDropdown = form.addControl.dropdown({
|
|
25114
25114
|
instanceId: 'timezone',
|
|
25115
|
-
icon: '
|
|
25115
|
+
icon: 'clock',
|
|
25116
25116
|
helperText: 'For scheduling meetings and deadlines',
|
|
25117
25117
|
label: 'Preferred Time Zone',
|
|
25118
25118
|
data: '=@ctx.datasources.timezones',
|
|
@@ -25265,7 +25265,7 @@
|
|
|
25265
25265
|
minutes: { step: 15, isEnabled: true },
|
|
25266
25266
|
helperText: 'Select meeting length',
|
|
25267
25267
|
errorText: '=@ctx.solution.state.validation.meetingDuration.error',
|
|
25268
|
-
icon: '
|
|
25268
|
+
icon: 'clock',
|
|
25269
25269
|
})
|
|
25270
25270
|
// .value('=@ctx.solution.state.meetingDuration')
|
|
25271
25271
|
// .initialValue(3600) // 1 hour in seconds
|
|
@@ -25274,7 +25274,7 @@
|
|
|
25274
25274
|
// .options({
|
|
25275
25275
|
// helperText: 'Select meeting length',
|
|
25276
25276
|
// errorText: '=@ctx.solution.state.validation.meetingDuration.error',
|
|
25277
|
-
// icon: '
|
|
25277
|
+
// icon: 'clock',
|
|
25278
25278
|
// })
|
|
25279
25279
|
meetingDuration.onChange
|
|
25280
25280
|
.executeEntity({ instanceId: 'schedule-meeting' })
|
|
@@ -25608,7 +25608,7 @@
|
|
|
25608
25608
|
// Advanced validation with security policy feedback
|
|
25609
25609
|
errorText:
|
|
25610
25610
|
'=@ctx.solution.state.validation.enterpriseEmail.blocked ? "🚫 Domain not authorized for access" : (@ctx.solution.state.validation.enterpriseEmail.requiresApproval ? "⏳ Domain requires admin approval" : @ctx.solution.state.validation.enterpriseEmail.message)',
|
|
25611
|
-
icon: '
|
|
25611
|
+
icon: 'building-skyscraper',
|
|
25612
25612
|
// Multi-state visual feedback for enterprise validation
|
|
25613
25613
|
isPositive:
|
|
25614
25614
|
'=@ctx.components.enterpriseEmail.isValid and @ctx.solution.state.sso.domainVerified',
|
|
@@ -25755,7 +25755,7 @@
|
|
|
25755
25755
|
instanceId: 'location',
|
|
25756
25756
|
label: 'Location',
|
|
25757
25757
|
value: '=@ctx.jig.inputs.city & ", " & @ctx.jig.inputs.country',
|
|
25758
|
-
rightIcon: 'pin
|
|
25758
|
+
rightIcon: 'map-pin',
|
|
25759
25759
|
})
|
|
25760
25760
|
// 2. Product details with conditional visibility
|
|
25761
25761
|
const productSection = screen.addControl.section({ instanceId: 'product' })
|
|
@@ -25771,7 +25771,7 @@
|
|
|
25771
25771
|
label: 'Price',
|
|
25772
25772
|
value: '="$" & @ctx.jig.inputs.price',
|
|
25773
25773
|
style: { isPositive: '=@ctx.jig.inputs.onSale' },
|
|
25774
|
-
rightIcon: '
|
|
25774
|
+
rightIcon: 'cash',
|
|
25775
25775
|
})
|
|
25776
25776
|
productEntity.addControl.entityField({
|
|
25777
25777
|
instanceId: 'product-status',
|
|
@@ -25799,7 +25799,7 @@
|
|
|
25799
25799
|
value: '=@ctx.jig.inputs.websiteUrl',
|
|
25800
25800
|
contentType: 'link',
|
|
25801
25801
|
href: '=@ctx.jig.inputs.websiteUrl',
|
|
25802
|
-
rightIcon: '
|
|
25802
|
+
rightIcon: 'external-link',
|
|
25803
25803
|
})
|
|
25804
25804
|
contactEntity.addControl.entityField({
|
|
25805
25805
|
instanceId: 'linkedin',
|
|
@@ -25807,7 +25807,7 @@
|
|
|
25807
25807
|
value: '=@ctx.jig.inputs.linkedinProfile',
|
|
25808
25808
|
contentType: 'link',
|
|
25809
25809
|
href: '=@ctx.jig.inputs.linkedinUrl',
|
|
25810
|
-
rightIcon: '
|
|
25810
|
+
rightIcon: 'brand-linkedin',
|
|
25811
25811
|
isHidden: '=@ctx.jig.inputs.linkedinProfile = ""',
|
|
25812
25812
|
})
|
|
25813
25813
|
- id: component.component.entity-field-2
|
|
@@ -25844,20 +25844,20 @@
|
|
|
25844
25844
|
isNegative: '=@ctx.jig.inputs.status = "Offline"',
|
|
25845
25845
|
isWarning: '=@ctx.jig.inputs.status = "Maintenance"',
|
|
25846
25846
|
},
|
|
25847
|
-
rightIcon: '=@ctx.jig.inputs.status = "Online" ? "check
|
|
25847
|
+
rightIcon: '=@ctx.jig.inputs.status = "Online" ? "circle-check" : "alert-circle"',
|
|
25848
25848
|
})
|
|
25849
25849
|
statusEntity.addControl.entityField({
|
|
25850
25850
|
instanceId: 'uptime',
|
|
25851
25851
|
label: 'Uptime',
|
|
25852
25852
|
value: '=@ctx.jig.inputs.uptimeDays & " days"',
|
|
25853
25853
|
style: { isPositive: '=@ctx.jig.inputs.uptimeDays > 30' },
|
|
25854
|
-
rightIcon: '
|
|
25854
|
+
rightIcon: 'clock',
|
|
25855
25855
|
})
|
|
25856
25856
|
statusEntity.addControl.entityField({
|
|
25857
25857
|
instanceId: 'last-update',
|
|
25858
25858
|
label: 'Last Updated',
|
|
25859
25859
|
value: '=@ctx.jig.inputs.lastUpdateTime',
|
|
25860
|
-
rightIcon: '
|
|
25860
|
+
rightIcon: 'recycle',
|
|
25861
25861
|
})
|
|
25862
25862
|
// Customer support information
|
|
25863
25863
|
const supportSection = screen.addControl.section({ instanceId: 'support' })
|
|
@@ -25868,7 +25868,7 @@
|
|
|
25868
25868
|
value: 'support@company.com',
|
|
25869
25869
|
contentType: 'email',
|
|
25870
25870
|
href: 'mailto:support@company.com',
|
|
25871
|
-
rightIcon: '
|
|
25871
|
+
rightIcon: 'mail',
|
|
25872
25872
|
})
|
|
25873
25873
|
supportEntity.addControl.entityField({
|
|
25874
25874
|
instanceId: 'support-phone',
|
|
@@ -25902,7 +25902,7 @@
|
|
|
25902
25902
|
isWarning: '=@ctx.jig.inputs.priority = "Medium"',
|
|
25903
25903
|
isNegative: '=@ctx.jig.inputs.priority = "High"',
|
|
25904
25904
|
},
|
|
25905
|
-
rightIcon: '=@ctx.jig.inputs.priority = "High" ? "alert-triangle" : "info"',
|
|
25905
|
+
rightIcon: '=@ctx.jig.inputs.priority = "High" ? "alert-triangle" : "info-circle"',
|
|
25906
25906
|
})
|
|
25907
25907
|
projectEntity.addControl.entityField({
|
|
25908
25908
|
instanceId: 'project-manager',
|
|
@@ -25910,7 +25910,7 @@
|
|
|
25910
25910
|
value: '=@ctx.jig.inputs.managerName',
|
|
25911
25911
|
contentType: 'email',
|
|
25912
25912
|
href: '=@ctx.jig.inputs.managerEmail',
|
|
25913
|
-
rightIcon: '
|
|
25913
|
+
rightIcon: 'user',
|
|
25914
25914
|
})
|
|
25915
25915
|
projectEntity.addControl.entityField({
|
|
25916
25916
|
instanceId: 'project-notes',
|
|
@@ -25962,7 +25962,7 @@
|
|
|
25962
25962
|
isWarning: '=@ctx.jig.inputs.profitMargin > 5 and @ctx.jig.inputs.profitMargin <= 15',
|
|
25963
25963
|
isNegative: '=@ctx.jig.inputs.profitMargin <= 5',
|
|
25964
25964
|
},
|
|
25965
|
-
rightIcon: '
|
|
25965
|
+
rightIcon: 'star',
|
|
25966
25966
|
})
|
|
25967
25967
|
financialEntity.addControl.entityField({
|
|
25968
25968
|
instanceId: 'quarterly-growth',
|
|
@@ -25973,7 +25973,7 @@
|
|
|
25973
25973
|
isPositive: '=@ctx.jig.inputs.quarterlyGrowth > 0',
|
|
25974
25974
|
isNegative: '=@ctx.jig.inputs.quarterlyGrowth < 0',
|
|
25975
25975
|
},
|
|
25976
|
-
rightIcon: '
|
|
25976
|
+
rightIcon: 'chart-bar',
|
|
25977
25977
|
})
|
|
25978
25978
|
// Compliance and legal information
|
|
25979
25979
|
const complianceSection = screen.addControl.section({ instanceId: 'compliance' })
|
|
@@ -26004,7 +26004,7 @@
|
|
|
26004
26004
|
value: '=$join(@ctx.jig.inputs.activeCertifications, ", ")',
|
|
26005
26005
|
isMultiline: true,
|
|
26006
26006
|
isHidden: '=$count(@ctx.jig.inputs.activeCertifications) = 0',
|
|
26007
|
-
rightIcon: '
|
|
26007
|
+
rightIcon: 'medal',
|
|
26008
26008
|
})
|
|
26009
26009
|
// Technical specifications with tracking transparency
|
|
26010
26010
|
const technicalSection = screen.addControl.section({ instanceId: 'technical' })
|
|
@@ -26014,7 +26014,7 @@
|
|
|
26014
26014
|
label: 'System Version',
|
|
26015
26015
|
value: '=@ctx.jig.inputs.version',
|
|
26016
26016
|
style: { isPrimary: true },
|
|
26017
|
-
rightIcon: '
|
|
26017
|
+
rightIcon: 'code',
|
|
26018
26018
|
})
|
|
26019
26019
|
technicalEntity.addControl.entityField({
|
|
26020
26020
|
instanceId: 'api-endpoint',
|
|
@@ -26022,7 +26022,7 @@
|
|
|
26022
26022
|
value: '=@ctx.jig.inputs.apiEndpoint',
|
|
26023
26023
|
contentType: 'link',
|
|
26024
26024
|
href: '=@ctx.jig.inputs.apiEndpoint',
|
|
26025
|
-
rightIcon: '
|
|
26025
|
+
rightIcon: 'link',
|
|
26026
26026
|
isTrackingTransparencyRequired: true,
|
|
26027
26027
|
})
|
|
26028
26028
|
technicalEntity.addControl.entityField({
|
|
@@ -26043,7 +26043,7 @@
|
|
|
26043
26043
|
isMultiline: true,
|
|
26044
26044
|
style: { isNegative: '=@ctx.jig.inputs.recentErrors != ""' },
|
|
26045
26045
|
isHidden: '=@ctx.jig.inputs.recentErrors = ""',
|
|
26046
|
-
rightIcon: 'alert-octagon
|
|
26046
|
+
rightIcon: 'alert-octagon',
|
|
26047
26047
|
})
|
|
26048
26048
|
- id: component.component.entity-1
|
|
26049
26049
|
name: Entity Component
|
|
@@ -26087,7 +26087,7 @@
|
|
|
26087
26087
|
instanceId: 'department',
|
|
26088
26088
|
label: 'Department',
|
|
26089
26089
|
value: '=@ctx.jig.state.user.department',
|
|
26090
|
-
rightIcon: 'building
|
|
26090
|
+
rightIcon: 'building',
|
|
26091
26091
|
})
|
|
26092
26092
|
// 2. Product information entity
|
|
26093
26093
|
const productSection = screen.addControl.section({ instanceId: 'product' })
|
|
@@ -26110,7 +26110,7 @@
|
|
|
26110
26110
|
label: 'Price',
|
|
26111
26111
|
value: '="$" & @ctx.entity.product.price',
|
|
26112
26112
|
})
|
|
26113
|
-
.with({ style: { isPositive: '=@ctx.entity.product.onSale' }, rightIcon: '
|
|
26113
|
+
.with({ style: { isPositive: '=@ctx.entity.product.onSale' }, rightIcon: 'cash' })
|
|
26114
26114
|
productEntity.addControl.entityField({
|
|
26115
26115
|
instanceId: 'availability',
|
|
26116
26116
|
label: 'Availability',
|
|
@@ -26120,7 +26120,7 @@
|
|
|
26120
26120
|
isNegative: '=@ctx.entity.product.status = "Out of Stock"',
|
|
26121
26121
|
isWarning: '=@ctx.entity.product.status = "Low Stock"',
|
|
26122
26122
|
},
|
|
26123
|
-
rightIcon: '
|
|
26123
|
+
rightIcon: 'package',
|
|
26124
26124
|
})
|
|
26125
26125
|
// 3. System configuration entity
|
|
26126
26126
|
const configSection = screen.addControl.section({ instanceId: 'system' })
|
|
@@ -26130,14 +26130,14 @@
|
|
|
26130
26130
|
label: 'System Version',
|
|
26131
26131
|
value: '=@ctx.entity.system.version',
|
|
26132
26132
|
style: { isPrimary: true },
|
|
26133
|
-
rightIcon: '
|
|
26133
|
+
rightIcon: 'code',
|
|
26134
26134
|
})
|
|
26135
26135
|
systemEntity.addControl.entityField({
|
|
26136
26136
|
instanceId: 'uptime',
|
|
26137
26137
|
label: 'Uptime',
|
|
26138
26138
|
value: '=@ctx.entity.system.uptimeDays & " days"',
|
|
26139
26139
|
style: { isPositive: '=@ctx.entity.system.uptimeDays > 30' },
|
|
26140
|
-
rightIcon: '
|
|
26140
|
+
rightIcon: 'clock',
|
|
26141
26141
|
})
|
|
26142
26142
|
systemEntity.addControl.entityField({
|
|
26143
26143
|
instanceId: 'status',
|
|
@@ -26148,7 +26148,7 @@
|
|
|
26148
26148
|
isNegative: '=@ctx.entity.system.status = "Down"',
|
|
26149
26149
|
isWarning: '=@ctx.entity.system.status = "Maintenance"',
|
|
26150
26150
|
},
|
|
26151
|
-
rightIcon: 'chart',
|
|
26151
|
+
rightIcon: 'chart-bar',
|
|
26152
26152
|
})
|
|
26153
26153
|
- id: component.component.entity-2
|
|
26154
26154
|
name: Compact Entity Layout
|
|
@@ -26183,12 +26183,12 @@
|
|
|
26183
26183
|
})
|
|
26184
26184
|
compactUser.addControl
|
|
26185
26185
|
.entityField({ instanceId: 'role', label: 'Role', value: '=@ctx.jig.state.user.role' })
|
|
26186
|
-
.with({ rightIcon: '
|
|
26186
|
+
.with({ rightIcon: 'user' })
|
|
26187
26187
|
compactUser.addControl.entityField({
|
|
26188
26188
|
instanceId: 'location',
|
|
26189
26189
|
label: 'Location',
|
|
26190
26190
|
value: '=@ctx.jig.state.user.location',
|
|
26191
|
-
rightIcon: 'pin
|
|
26191
|
+
rightIcon: 'map-pin',
|
|
26192
26192
|
})
|
|
26193
26193
|
// 2. Quick stats entity
|
|
26194
26194
|
const statsSection = screen.addControl.section({ instanceId: 'stats' })
|
|
@@ -26201,14 +26201,14 @@
|
|
|
26201
26201
|
label: 'Orders',
|
|
26202
26202
|
value: '=@ctx.entity.stats.totalOrders',
|
|
26203
26203
|
style: { isPositive: true },
|
|
26204
|
-
rightIcon: '
|
|
26204
|
+
rightIcon: 'shopping-cart',
|
|
26205
26205
|
})
|
|
26206
26206
|
statsEntity.addControl.entityField({
|
|
26207
26207
|
instanceId: 'revenue',
|
|
26208
26208
|
label: 'Revenue',
|
|
26209
26209
|
value: '="$" & $string(@ctx.entity.stats.totalRevenue)',
|
|
26210
26210
|
style: { isPositive: true },
|
|
26211
|
-
rightIcon: '
|
|
26211
|
+
rightIcon: 'cash',
|
|
26212
26212
|
})
|
|
26213
26213
|
statsEntity.addControl.entityField({
|
|
26214
26214
|
instanceId: 'growth',
|
|
@@ -26243,7 +26243,7 @@
|
|
|
26243
26243
|
'=@ctx.entity.device.batteryLevel > 20 and @ctx.entity.device.batteryLevel <= 50',
|
|
26244
26244
|
isNegative: '=@ctx.entity.device.batteryLevel <= 20',
|
|
26245
26245
|
},
|
|
26246
|
-
rightIcon: 'battery-
|
|
26246
|
+
rightIcon: 'battery-4',
|
|
26247
26247
|
})
|
|
26248
26248
|
deviceEntity.addControl.entityField({
|
|
26249
26249
|
instanceId: 'connection',
|
|
@@ -26285,7 +26285,7 @@
|
|
|
26285
26285
|
label: 'Customer Name',
|
|
26286
26286
|
value: '=@ctx.entity.customer.companyName',
|
|
26287
26287
|
style: { isPrimary: true },
|
|
26288
|
-
rightIcon: 'building-
|
|
26288
|
+
rightIcon: 'building-community',
|
|
26289
26289
|
})
|
|
26290
26290
|
customerEntity.addControl
|
|
26291
26291
|
.entityField({
|
|
@@ -26296,14 +26296,14 @@
|
|
|
26296
26296
|
.with({
|
|
26297
26297
|
contentType: 'email',
|
|
26298
26298
|
href: '=@ctx.entity.customer.accountManager.email',
|
|
26299
|
-
rightIcon: '
|
|
26299
|
+
rightIcon: 'user',
|
|
26300
26300
|
})
|
|
26301
26301
|
customerEntity.addControl.entityField({
|
|
26302
26302
|
instanceId: 'contract-value',
|
|
26303
26303
|
label: 'Contract Value',
|
|
26304
26304
|
value: '="$" & $string(@ctx.entity.customer.contractValue)',
|
|
26305
26305
|
style: { isPositive: '=@ctx.entity.customer.contractValue > 100000' },
|
|
26306
|
-
rightIcon: '
|
|
26306
|
+
rightIcon: 'cash',
|
|
26307
26307
|
})
|
|
26308
26308
|
customerEntity.addControl.entityField({
|
|
26309
26309
|
instanceId: 'renewal-date',
|
|
@@ -26325,7 +26325,7 @@
|
|
|
26325
26325
|
'=@ctx.entity.customer.healthScore >= 60 and @ctx.entity.customer.healthScore < 80',
|
|
26326
26326
|
isNegative: '=@ctx.entity.customer.healthScore < 60',
|
|
26327
26327
|
},
|
|
26328
|
-
rightIcon: 'gift
|
|
26328
|
+
rightIcon: 'gift',
|
|
26329
26329
|
})
|
|
26330
26330
|
// 2. Project management entity
|
|
26331
26331
|
const projectSection = screen.addControl.section({ instanceId: 'project' })
|
|
@@ -26343,7 +26343,7 @@
|
|
|
26343
26343
|
value: '=@ctx.entity.project.manager.fullName',
|
|
26344
26344
|
contentType: 'link',
|
|
26345
26345
|
href: '=@ctx.entity.project.manager.profileUrl',
|
|
26346
|
-
rightIcon: '
|
|
26346
|
+
rightIcon: 'user-check',
|
|
26347
26347
|
})
|
|
26348
26348
|
projectEntity.addControl.entityField({
|
|
26349
26349
|
instanceId: 'completion',
|
|
@@ -26372,7 +26372,7 @@
|
|
|
26372
26372
|
instanceId: 'team-size',
|
|
26373
26373
|
label: 'Team Size',
|
|
26374
26374
|
value: '=@ctx.entity.project.teamMembers.length & " members"',
|
|
26375
|
-
rightIcon: '
|
|
26375
|
+
rightIcon: 'users',
|
|
26376
26376
|
})
|
|
26377
26377
|
// 3. Financial compliance entity
|
|
26378
26378
|
const complianceSection = screen.addControl.section({ instanceId: 'compliance' })
|
|
@@ -26416,7 +26416,7 @@
|
|
|
26416
26416
|
isPositive: '=@ctx.entity.compliance.activeCertifications.length > 0',
|
|
26417
26417
|
isNegative: '=@ctx.entity.compliance.activeCertifications.length = 0',
|
|
26418
26418
|
},
|
|
26419
|
-
rightIcon: '
|
|
26419
|
+
rightIcon: 'medal',
|
|
26420
26420
|
})
|
|
26421
26421
|
- id: component.component.event-1
|
|
26422
26422
|
name: Event Component
|
|
@@ -26789,7 +26789,7 @@
|
|
|
26789
26789
|
instanceId: 'weight',
|
|
26790
26790
|
label: 'Weight',
|
|
26791
26791
|
value: '=@ctx.jig.state.weight',
|
|
26792
|
-
rightIcon: '
|
|
26792
|
+
rightIcon: 'truck-delivery',
|
|
26793
26793
|
})
|
|
26794
26794
|
// 3. Settings panel with form content
|
|
26795
26795
|
const settingsSection = screen.addControl.section({ instanceId: 'settings' })
|
|
@@ -26994,7 +26994,7 @@
|
|
|
26994
26994
|
label: 'System Uptime',
|
|
26995
26995
|
value: '=@ctx.solution.state.uptimeDays & \" days\"',
|
|
26996
26996
|
style: { isPositive: '=@ctx.solution.state.uptimeDays > 30' },
|
|
26997
|
-
rightIcon: 'alarm
|
|
26997
|
+
rightIcon: 'alarm',
|
|
26998
26998
|
})
|
|
26999
26999
|
- id: component.component.field-row-1
|
|
27000
27000
|
name: Field Row Component
|
|
@@ -28786,7 +28786,7 @@
|
|
|
28786
28786
|
uri: '=@ctx.current.item.profileUrl',
|
|
28787
28787
|
text: '=@ctx.current.item.initials',
|
|
28788
28788
|
})
|
|
28789
|
-
contactItem.rightElement.icon('=@ctx.current.item.isOnline ? "circle" : "circle-
|
|
28789
|
+
contactItem.rightElement.icon('=@ctx.current.item.isOnline ? "circle" : "circle-dashed"', {
|
|
28790
28790
|
color: '=@ctx.current.item.isOnline ? "positive" : "secondary"',
|
|
28791
28791
|
})
|
|
28792
28792
|
// 3. Task list item with checkbox and priority
|
|
@@ -28828,7 +28828,7 @@
|
|
|
28828
28828
|
.swipeLeft()
|
|
28829
28829
|
.label('Delete')
|
|
28830
28830
|
.color('negative')
|
|
28831
|
-
.icon('
|
|
28831
|
+
.icon('trash')
|
|
28832
28832
|
.onPress.goto({
|
|
28833
28833
|
linkTo: 'delete-confirm',
|
|
28834
28834
|
parameters: {
|
|
@@ -28871,7 +28871,7 @@
|
|
|
28871
28871
|
.swipeRight()
|
|
28872
28872
|
.label('Track')
|
|
28873
28873
|
.color('primary')
|
|
28874
|
-
.icon('pin
|
|
28874
|
+
.icon('map-pin')
|
|
28875
28875
|
.onPress.goto({
|
|
28876
28876
|
linkTo: 'order-tracking',
|
|
28877
28877
|
parameters: {
|
|
@@ -29027,7 +29027,7 @@
|
|
|
29027
29027
|
.listItem({ instanceId: 'news-item' })
|
|
29028
29028
|
.title('=@ctx.current.item.headline')
|
|
29029
29029
|
.subtitle('=@ctx.current.item.publishedAt')
|
|
29030
|
-
.leftElement.icon('
|
|
29030
|
+
.leftElement.icon('news')
|
|
29031
29031
|
- id: component.component.list-2
|
|
29032
29032
|
name: Sectioned List Organization
|
|
29033
29033
|
category: component
|
|
@@ -29179,7 +29179,7 @@
|
|
|
29179
29179
|
longitude: '=@ctx.current.item.longitude',
|
|
29180
29180
|
anchorTo: 'bottom-center',
|
|
29181
29181
|
})
|
|
29182
|
-
storeMarker.addIcon({ icon: '
|
|
29182
|
+
storeMarker.addIcon({ icon: 'building-store', color: 'positive' })
|
|
29183
29183
|
// 2. Delivery tracking with path
|
|
29184
29184
|
const deliverySection = screen.addControl.section({ instanceId: 'delivery-tracking' })
|
|
29185
29185
|
const deliveryMap = deliverySection.addControl
|
|
@@ -29203,7 +29203,7 @@
|
|
|
29203
29203
|
anchorTo: 'center',
|
|
29204
29204
|
})
|
|
29205
29205
|
waypointMarker.addIcon({
|
|
29206
|
-
icon: "=@ctx.current.item.waypointType = 'pickup' ? '
|
|
29206
|
+
icon: "=@ctx.current.item.waypointType = 'pickup' ? 'package' : 'flag'",
|
|
29207
29207
|
color: "=@ctx.current.item.status = 'completed' ? 'positive' : 'warning'",
|
|
29208
29208
|
})
|
|
29209
29209
|
// 3. Real estate map with custom viewport
|
|
@@ -29296,7 +29296,7 @@
|
|
|
29296
29296
|
anchorTo: 'bottom-center',
|
|
29297
29297
|
})
|
|
29298
29298
|
appointmentMarker.addIcon({
|
|
29299
|
-
icon: "=@ctx.current.item.priority = 'urgent' ? 'alert' : '
|
|
29299
|
+
icon: "=@ctx.current.item.priority = 'urgent' ? 'alert-triangle' : 'tool'",
|
|
29300
29300
|
color:
|
|
29301
29301
|
"=@ctx.current.item.status = 'scheduled' ? 'color1' : (@ctx.current.item.status = 'in-progress' ? 'warning' : 'positive')",
|
|
29302
29302
|
})
|
|
@@ -29323,7 +29323,7 @@
|
|
|
29323
29323
|
anchorTo: 'center',
|
|
29324
29324
|
})
|
|
29325
29325
|
incidentMarker.addIcon({
|
|
29326
|
-
icon: "=@ctx.current.item.severity = 'critical' ? 'alert-triangle' : '
|
|
29326
|
+
icon: "=@ctx.current.item.severity = 'critical' ? 'alert-triangle' : 'info-circle'",
|
|
29327
29327
|
color:
|
|
29328
29328
|
"=@ctx.current.item.severity = 'critical' ? 'negative' : (@ctx.current.item.severity = 'high' ? 'warning' : 'positive')",
|
|
29329
29329
|
})
|
|
@@ -29401,7 +29401,7 @@
|
|
|
29401
29401
|
anchorTo: 'center',
|
|
29402
29402
|
})
|
|
29403
29403
|
poiMarker.addIcon({
|
|
29404
|
-
icon: "=@ctx.current.item.category = 'restaurant' ? '
|
|
29404
|
+
icon: "=@ctx.current.item.category = 'restaurant' ? 'tools-kitchen-2' : (@ctx.current.item.category = 'shop' ? 'shopping-bag' : 'map-pin')",
|
|
29405
29405
|
color: "=@ctx.current.item.isRecommended ? 'positive' : 'color1'",
|
|
29406
29406
|
})
|
|
29407
29407
|
// Multi-location comparison
|
|
@@ -29424,7 +29424,7 @@
|
|
|
29424
29424
|
anchorTo: 'bottom-center',
|
|
29425
29425
|
})
|
|
29426
29426
|
comparisonMarker.addIcon({
|
|
29427
|
-
icon: "=@ctx.current.item.isSelected ? 'check
|
|
29427
|
+
icon: "=@ctx.current.item.isSelected ? 'circle-check' : 'circle'",
|
|
29428
29428
|
color:
|
|
29429
29429
|
"=@ctx.current.item.rank <= 3 ? 'positive' : (@ctx.current.item.rank <= 6 ? 'warning' : 'color2')",
|
|
29430
29430
|
})
|
|
@@ -29452,7 +29452,7 @@
|
|
|
29452
29452
|
},
|
|
29453
29453
|
})
|
|
29454
29454
|
clusterMarker.addIcon({
|
|
29455
|
-
icon: "=@ctx.current.item.count > 10 ? '
|
|
29455
|
+
icon: "=@ctx.current.item.count > 10 ? 'stack-2' : 'map-pin'",
|
|
29456
29456
|
color:
|
|
29457
29457
|
"=@ctx.current.item.density = 'high' ? 'negative' : (@ctx.current.item.density = 'medium' ? 'warning' : 'positive')",
|
|
29458
29458
|
})
|
|
@@ -29476,7 +29476,7 @@
|
|
|
29476
29476
|
instanceId: 'store-location',
|
|
29477
29477
|
address: '123 Main Street, San Francisco, CA',
|
|
29478
29478
|
})
|
|
29479
|
-
storeMarker.addIcon({ icon: '
|
|
29479
|
+
storeMarker.addIcon({ icon: 'building-store', color: 'primary' })
|
|
29480
29480
|
// 2. Coordinate-based marker with position helper
|
|
29481
29481
|
const deliveryMarker = location.addControl
|
|
29482
29482
|
.markerItem({
|
|
@@ -29524,7 +29524,7 @@
|
|
|
29524
29524
|
const deliveryRadius = location.addControl
|
|
29525
29525
|
.markerItem({ instanceId: 'delivery-radius', latitude: 40.7128, longitude: -74.006 })
|
|
29526
29526
|
.with({ radius: { value: 10, unit: 'miles', color: 'secondary' } })
|
|
29527
|
-
deliveryRadius.addIcon({ icon: 'delivery
|
|
29527
|
+
deliveryRadius.addIcon({ icon: 'truck-delivery' })
|
|
29528
29528
|
// Conditional radius with expression-based visibility
|
|
29529
29529
|
const dynamicZone = location.addControl
|
|
29530
29530
|
.markerItem({
|
|
@@ -29559,7 +29559,7 @@
|
|
|
29559
29559
|
instanceId: 'warehouse-marker',
|
|
29560
29560
|
address: 'Industrial Park, Building 42',
|
|
29561
29561
|
})
|
|
29562
|
-
warehouseMarker.addIcon({ icon: 'warehouse', color: 'primary', size: 'large' })
|
|
29562
|
+
warehouseMarker.addIcon({ icon: 'building-warehouse', color: 'primary', size: 'large' })
|
|
29563
29563
|
// Marker with flexible icon configuration
|
|
29564
29564
|
const flexMarker = location.addControl
|
|
29565
29565
|
.markerItem({ instanceId: 'flex-marker', latitude: 34.0522, longitude: -118.2437 })
|
|
@@ -29573,7 +29573,7 @@
|
|
|
29573
29573
|
const feetMarker = location.addControl
|
|
29574
29574
|
.markerItem({ instanceId: 'feet-marker', latitude: 41.8781, longitude: -87.6298 })
|
|
29575
29575
|
.with({ radius: { value: 1000, unit: 'feet', color: 'warning' } })
|
|
29576
|
-
feetMarker.addIcon({ icon: '
|
|
29576
|
+
feetMarker.addIcon({ icon: 'building-skyscraper' })
|
|
29577
29577
|
- id: component.component.media-field-1
|
|
29578
29578
|
name: Media Field Component
|
|
29579
29579
|
category: component
|
|
@@ -29897,7 +29897,7 @@
|
|
|
29897
29897
|
format: { currency: 'USD' }, // Automatic currency formatting
|
|
29898
29898
|
keyboardType: 'decimal-pad', // Decimal keypad for currency
|
|
29899
29899
|
minimum: 0,
|
|
29900
|
-
icon: 'dollar
|
|
29900
|
+
icon: 'currency-dollar',
|
|
29901
29901
|
helperText: 'Enter amount in USD',
|
|
29902
29902
|
})
|
|
29903
29903
|
// 3. Percentage validation with conditional styling
|
|
@@ -31186,7 +31186,7 @@
|
|
|
31186
31186
|
label: 'Digital Signature Pad',
|
|
31187
31187
|
helperText: 'Use stylus or finger to sign on the pad',
|
|
31188
31188
|
isRequired: true,
|
|
31189
|
-
icon: 'tablet',
|
|
31189
|
+
icon: 'device-tablet',
|
|
31190
31190
|
color: 'color1',
|
|
31191
31191
|
isAutoFocused: true,
|
|
31192
31192
|
flex: 3,
|
|
@@ -31286,7 +31286,7 @@
|
|
|
31286
31286
|
label: 'QC Inspector Signature',
|
|
31287
31287
|
helperText: 'Quality control inspection approval',
|
|
31288
31288
|
isRequired: '=@ctx.jig.state.requiresInspection',
|
|
31289
|
-
icon: '
|
|
31289
|
+
icon: 'zoom-check',
|
|
31290
31290
|
color: 'warning',
|
|
31291
31291
|
value: '=@ctx.jig.state.inspectorSignature',
|
|
31292
31292
|
initialValue: '=@ctx.jig.state.defaultSignature',
|
|
@@ -31316,7 +31316,7 @@
|
|
|
31316
31316
|
label: 'Customer Acknowledgment',
|
|
31317
31317
|
helperText: 'Customer signature acknowledging receipt and understanding',
|
|
31318
31318
|
isRequired: false,
|
|
31319
|
-
icon: 'check
|
|
31319
|
+
icon: 'circle-check',
|
|
31320
31320
|
color: 'color2',
|
|
31321
31321
|
value: '=@ctx.components.state.acknowledgmentSignature',
|
|
31322
31322
|
isAutoFocused: false,
|
|
@@ -31371,7 +31371,7 @@
|
|
|
31371
31371
|
instanceId: 'data-sync',
|
|
31372
31372
|
left: { title: 'Local Changes', subtitle: '=@ctx.current.item.sync.localCount & " pending"' },
|
|
31373
31373
|
right: { title: 'Cloud Status', subtitle: '=@ctx.current.item.sync.cloudStatus' },
|
|
31374
|
-
icon: '=@ctx.current.item.sync.isActive ? "
|
|
31374
|
+
icon: '=@ctx.current.item.sync.isActive ? "refresh" : "cloud"',
|
|
31375
31375
|
style: { isWaitingSync: '=@ctx.current.item.sync.inProgress' },
|
|
31376
31376
|
})
|
|
31377
31377
|
// 3. Performance metrics stage
|
|
@@ -31440,7 +31440,7 @@
|
|
|
31440
31440
|
instanceId: 'budget-comparison',
|
|
31441
31441
|
left: { title: 'Budget', subtitle: '=$formatCurrency(@ctx.current.item.budget.allocated)' },
|
|
31442
31442
|
right: { title: 'Actual', subtitle: '=$formatCurrency(@ctx.current.item.budget.spent)' },
|
|
31443
|
-
icon: '=@ctx.current.item.budget.spent > @ctx.current.item.budget.allocated ? "alert-triangle" : (@ctx.current.item.budget.spent < @ctx.current.item.budget.allocated * 0.9 ? "trending-down" : "check
|
|
31443
|
+
icon: '=@ctx.current.item.budget.spent > @ctx.current.item.budget.allocated ? "alert-triangle" : (@ctx.current.item.budget.spent < @ctx.current.item.budget.allocated * 0.9 ? "trending-down" : "circle-check")',
|
|
31444
31444
|
style: { isWaitingSync: '=@ctx.current.item.budget.isCalculating' },
|
|
31445
31445
|
})
|
|
31446
31446
|
budgetStage.onPress
|
|
@@ -31506,7 +31506,7 @@
|
|
|
31506
31506
|
subtitle:
|
|
31507
31507
|
'=@ctx.jig.state.selectedVariant = "A" ? @ctx.current.item.abTest.variantA.conversionRate & "% (selected)" : @ctx.current.item.abTest.variantA.conversionRate & "%"',
|
|
31508
31508
|
},
|
|
31509
|
-
icon: '=@ctx.current.item.abTest.statisticalSignificance ? "trending-up" : "bar
|
|
31509
|
+
icon: '=@ctx.current.item.abTest.statisticalSignificance ? "trending-up" : "chart-bar"',
|
|
31510
31510
|
})
|
|
31511
31511
|
.with({
|
|
31512
31512
|
right: {
|
|
@@ -31525,7 +31525,7 @@
|
|
|
31525
31525
|
instanceId: 'health-monitoring',
|
|
31526
31526
|
left: { title: 'System Status', subtitle: '=@ctx.solution.state.systemHealth.status' },
|
|
31527
31527
|
right: { title: 'Last Check', subtitle: '=@ctx.solution.state.systemHealth.lastChecked' },
|
|
31528
|
-
icon: '=@ctx.solution.state.systemHealth.status = "healthy" ? "check
|
|
31528
|
+
icon: '=@ctx.solution.state.systemHealth.status = "healthy" ? "circle-check" : (@ctx.solution.state.systemHealth.status = "warning" ? "alert-triangle" : "circle-x")',
|
|
31529
31529
|
style: { isWaitingSync: '=@ctx.solution.state.systemHealth.isChecking' },
|
|
31530
31530
|
})
|
|
31531
31531
|
healthStage.onPress
|
|
@@ -31664,7 +31664,7 @@
|
|
|
31664
31664
|
title: '=@ctx.current.item.milestoneName',
|
|
31665
31665
|
description:
|
|
31666
31666
|
'=@ctx.current.item.deadline & " (" & @ctx.current.item.daysRemaining & " days remaining)"',
|
|
31667
|
-
icon: '=@ctx.current.item.priority = "high" ? "alert-triangle" : (@ctx.current.item.priority = "medium" ? "circle" : "check
|
|
31667
|
+
icon: '=@ctx.current.item.priority = "high" ? "alert-triangle" : (@ctx.current.item.priority = "medium" ? "circle" : "circle-check")',
|
|
31668
31668
|
})
|
|
31669
31669
|
// Compliance audit with status indicators
|
|
31670
31670
|
const complianceSection = screen.addControl.section({ instanceId: 'compliance-audit' })
|
|
@@ -31697,7 +31697,7 @@
|
|
|
31697
31697
|
title: '=@ctx.current.item.environment',
|
|
31698
31698
|
description:
|
|
31699
31699
|
'=@ctx.current.item.status & " - Last deployed: " & @ctx.current.item.lastDeployed',
|
|
31700
|
-
icon: '=@ctx.current.item.health = "healthy" ? "check
|
|
31700
|
+
icon: '=@ctx.current.item.health = "healthy" ? "circle-check" : (@ctx.current.item.health = "warning" ? "alert-triangle" : "circle-x")',
|
|
31701
31701
|
})
|
|
31702
31702
|
- id: component.component.step-3
|
|
31703
31703
|
name: Step Status Management and Progress Visualization Patterns
|
|
@@ -31724,7 +31724,7 @@
|
|
|
31724
31724
|
title: '=@ctx.current.item.testSuite',
|
|
31725
31725
|
description:
|
|
31726
31726
|
'=@ctx.current.item.passedTests & "/" & @ctx.current.item.totalTests & " tests passed"',
|
|
31727
|
-
icon: '=@ctx.current.item.result = "passed" ? "check
|
|
31727
|
+
icon: '=@ctx.current.item.result = "passed" ? "circle-check" : (@ctx.current.item.result = "failed" ? "circle-x" : "clock")',
|
|
31728
31728
|
})
|
|
31729
31729
|
// Document approval workflow
|
|
31730
31730
|
const documentSection = screen.addControl.section({ instanceId: 'document-approval' })
|
|
@@ -31745,7 +31745,7 @@
|
|
|
31745
31745
|
title: '=@ctx.current.item.moduleName',
|
|
31746
31746
|
description:
|
|
31747
31747
|
'=@ctx.current.item.score ? "Score: " & @ctx.current.item.score & "%" : "Not started"',
|
|
31748
|
-
icon: '=@ctx.current.item.passed ? "check
|
|
31748
|
+
icon: '=@ctx.current.item.passed ? "circle-check" : (@ctx.current.item.inProgress ? "circle-play" : "circle")',
|
|
31749
31749
|
})
|
|
31750
31750
|
// System maintenance checklist
|
|
31751
31751
|
const maintenanceSection = screen.addControl.section({ instanceId: 'system-maintenance' })
|
|
@@ -31930,7 +31930,7 @@
|
|
|
31930
31930
|
title: '=@ctx.jig.inputs.milestoneName',
|
|
31931
31931
|
description:
|
|
31932
31932
|
'=@ctx.jig.inputs.deadline & \" (\" & @ctx.jig.inputs.daysRemaining & \" days)\"',
|
|
31933
|
-
icon: "=@ctx.jig.inputs.priority = 'high' ? 'alert-triangle' : (@ctx.jig.inputs.priority = 'medium' ? 'circle' : 'check
|
|
31933
|
+
icon: "=@ctx.jig.inputs.priority = 'high' ? 'alert-triangle' : (@ctx.jig.inputs.priority = 'medium' ? 'circle' : 'circle-check')",
|
|
31934
31934
|
status: 'active',
|
|
31935
31935
|
})
|
|
31936
31936
|
.title('Project Milestones')
|
|
@@ -31962,7 +31962,7 @@
|
|
|
31962
31962
|
.step({
|
|
31963
31963
|
title: '=@ctx.jig.inputs.environment',
|
|
31964
31964
|
description: '=@ctx.jig.inputs.status & \" - \" & @ctx.jig.inputs.lastDeployed',
|
|
31965
|
-
icon: "=@ctx.jig.inputs.health = 'healthy' ? 'check
|
|
31965
|
+
icon: "=@ctx.jig.inputs.health = 'healthy' ? 'circle-check' : (@ctx.jig.inputs.health = 'warning' ? 'alert-triangle' : 'circle-x')",
|
|
31966
31966
|
status: 'completed',
|
|
31967
31967
|
})
|
|
31968
31968
|
.title('Deployment Pipeline')
|
|
@@ -31996,7 +31996,7 @@
|
|
|
31996
31996
|
title: '=@ctx.jig.inputs.testSuite',
|
|
31997
31997
|
description:
|
|
31998
31998
|
'=@ctx.jig.inputs.passedTests & \"/\" & @ctx.jig.inputs.totalTests & \" tests passed\"',
|
|
31999
|
-
icon: "=@ctx.jig.inputs.result = 'passed' ? 'check
|
|
31999
|
+
icon: "=@ctx.jig.inputs.result = 'passed' ? 'circle-check' : (@ctx.jig.inputs.result = 'failed' ? 'circle-x' : 'clock')",
|
|
32000
32000
|
status: 'pending',
|
|
32001
32001
|
})
|
|
32002
32002
|
.title('Quality Assurance')
|
|
@@ -32032,7 +32032,7 @@
|
|
|
32032
32032
|
title: '=@ctx.jig.inputs.approverName',
|
|
32033
32033
|
description:
|
|
32034
32034
|
'=@ctx.jig.inputs.approvalDate ? @ctx.jig.inputs.approvalDate & \" - \" & @ctx.jig.inputs.comments : \"Awaiting approval\"',
|
|
32035
|
-
icon: "=@ctx.jig.inputs.decision = 'approved' ? 'check' : (@ctx.jig.inputs.decision = 'rejected' ? '
|
|
32035
|
+
icon: "=@ctx.jig.inputs.decision = 'approved' ? 'check' : (@ctx.jig.inputs.decision = 'rejected' ? 'x' : 'clock')",
|
|
32036
32036
|
status: 'active',
|
|
32037
32037
|
})
|
|
32038
32038
|
.title('Document Approval')
|
|
@@ -32050,7 +32050,7 @@
|
|
|
32050
32050
|
title: '=@ctx.jig.inputs.moduleName',
|
|
32051
32051
|
description:
|
|
32052
32052
|
'=@ctx.jig.inputs.score ? \"Score: \" & @ctx.jig.inputs.score & \"%\" : \"Not started\"',
|
|
32053
|
-
icon: "=@ctx.jig.inputs.passed ? 'check
|
|
32053
|
+
icon: "=@ctx.jig.inputs.passed ? 'circle-check' : (@ctx.jig.inputs.inProgress ? 'circle-play' : 'circle')",
|
|
32054
32054
|
status: 'completed',
|
|
32055
32055
|
})
|
|
32056
32056
|
.title('Training Program')
|
|
@@ -32326,7 +32326,7 @@
|
|
|
32326
32326
|
messagesTab.button({
|
|
32327
32327
|
instanceId: 'messages-button',
|
|
32328
32328
|
title: 'Messages',
|
|
32329
|
-
icon: '
|
|
32329
|
+
icon: 'mail',
|
|
32330
32330
|
badge: {
|
|
32331
32331
|
value: '=@ctx.datasources.unread-messages.length',
|
|
32332
32332
|
color: 'negative',
|
|
@@ -32337,11 +32337,11 @@
|
|
|
32337
32337
|
alertsTab.button({
|
|
32338
32338
|
instanceId: 'alerts-button',
|
|
32339
32339
|
title: 'Alerts',
|
|
32340
|
-
icon: '
|
|
32340
|
+
icon: 'bell',
|
|
32341
32341
|
badge: {
|
|
32342
32342
|
value: '=$count(@ctx.datasources.system-alerts[severity = "high"])',
|
|
32343
32343
|
color: 'warning',
|
|
32344
|
-
icon: 'alert',
|
|
32344
|
+
icon: 'alert-triangle',
|
|
32345
32345
|
},
|
|
32346
32346
|
})
|
|
32347
32347
|
// 4. Tab with dynamic title based on data
|
|
@@ -32357,7 +32357,7 @@
|
|
|
32357
32357
|
statusTab.button({
|
|
32358
32358
|
instanceId: 'status-button',
|
|
32359
32359
|
title: 'System Status',
|
|
32360
|
-
icon: '=@ctx.solution.state.systemStatus = "online" ? "check
|
|
32360
|
+
icon: '=@ctx.solution.state.systemStatus = "online" ? "circle-check" : "alert-circle"',
|
|
32361
32361
|
badge: {
|
|
32362
32362
|
value: '=@ctx.solution.state.systemStatus = "offline" ? 1 : 0',
|
|
32363
32363
|
color: 'negative',
|
|
@@ -32396,7 +32396,7 @@
|
|
|
32396
32396
|
title: 'Sync Status',
|
|
32397
32397
|
icon: 'refresh',
|
|
32398
32398
|
badge: {
|
|
32399
|
-
icon: '=@ctx.solution.state.sync.inProgress ? "
|
|
32399
|
+
icon: '=@ctx.solution.state.sync.inProgress ? "loader" : "check"',
|
|
32400
32400
|
color: '=@ctx.solution.state.sync.inProgress ? "warning" : "positive"',
|
|
32401
32401
|
},
|
|
32402
32402
|
})
|
|
@@ -32405,7 +32405,7 @@
|
|
|
32405
32405
|
performanceTab.button({
|
|
32406
32406
|
instanceId: 'performance-button',
|
|
32407
32407
|
title: 'Performance',
|
|
32408
|
-
icon: 'chart',
|
|
32408
|
+
icon: 'chart-bar',
|
|
32409
32409
|
badge: {
|
|
32410
32410
|
value: '=@ctx.solution.state.metrics.criticalIssues',
|
|
32411
32411
|
color: [
|
|
@@ -32446,14 +32446,14 @@
|
|
|
32446
32446
|
analyticsTab.button({
|
|
32447
32447
|
instanceId: 'analytics-button',
|
|
32448
32448
|
title: '=@ctx.system.deviceType = "tablet" ? "Business Analytics" : "Analytics"',
|
|
32449
|
-
icon: 'chart',
|
|
32449
|
+
icon: 'chart-bar',
|
|
32450
32450
|
})
|
|
32451
32451
|
// Tab with conditional icon based on device
|
|
32452
32452
|
const settingsTab = screen.addInstance.tab('settings-tab', 'settings-tab-instance')
|
|
32453
32453
|
settingsTab.button({
|
|
32454
32454
|
instanceId: 'settings-button',
|
|
32455
32455
|
title: 'Settings',
|
|
32456
|
-
icon: '=@ctx.system.deviceType = "tablet" ? "settings" : "
|
|
32456
|
+
icon: '=@ctx.system.deviceType = "tablet" ? "settings" : "adjustments"',
|
|
32457
32457
|
})
|
|
32458
32458
|
// Tab with adaptive badge display
|
|
32459
32459
|
const notificationsTab = screen.addInstance.tab(
|
|
@@ -32463,7 +32463,7 @@
|
|
|
32463
32463
|
notificationsTab.button({
|
|
32464
32464
|
instanceId: 'notifications-button',
|
|
32465
32465
|
title: '=@ctx.system.deviceType = "tablet" ? "Notifications" : "Alerts"',
|
|
32466
|
-
icon: '
|
|
32466
|
+
icon: 'bell',
|
|
32467
32467
|
badge: {
|
|
32468
32468
|
value:
|
|
32469
32469
|
'=@ctx.system.deviceType = "tablet" ? @ctx.datasources.notifications.count : (@ctx.datasources.notifications.count > 9 ? "9+" : @ctx.datasources.notifications.count)',
|
|
@@ -32488,7 +32488,7 @@
|
|
|
32488
32488
|
syncTab.button({
|
|
32489
32489
|
instanceId: 'sync-btn',
|
|
32490
32490
|
title: 'Sync',
|
|
32491
|
-
icon: '
|
|
32491
|
+
icon: 'refresh',
|
|
32492
32492
|
badge: {
|
|
32493
32493
|
icon: 'check',
|
|
32494
32494
|
color: 'positive',
|
|
@@ -32498,7 +32498,7 @@
|
|
|
32498
32498
|
alertTab.button({
|
|
32499
32499
|
instanceId: 'alert-btn',
|
|
32500
32500
|
title: 'Alerts',
|
|
32501
|
-
icon: '
|
|
32501
|
+
icon: 'bell',
|
|
32502
32502
|
badge: {
|
|
32503
32503
|
icon: '=@ctx.solution.state.hasErrors ? "alert-circle" : "check"',
|
|
32504
32504
|
color: '=@ctx.solution.state.hasErrors ? "negative" : "positive"',
|
|
@@ -32522,7 +32522,7 @@
|
|
|
32522
32522
|
messagesTab.button({
|
|
32523
32523
|
instanceId: 'messages-btn',
|
|
32524
32524
|
title: 'Messages',
|
|
32525
|
-
icon: '
|
|
32525
|
+
icon: 'mail',
|
|
32526
32526
|
badge: {
|
|
32527
32527
|
value: '=@ctx.datasources.unread.count',
|
|
32528
32528
|
color: 'primary',
|
|
@@ -32532,7 +32532,7 @@
|
|
|
32532
32532
|
alertsTab.button({
|
|
32533
32533
|
instanceId: 'alerts-btn',
|
|
32534
32534
|
title: 'Alerts',
|
|
32535
|
-
icon: '
|
|
32535
|
+
icon: 'bell',
|
|
32536
32536
|
badge: {
|
|
32537
32537
|
value: 5,
|
|
32538
32538
|
color: 'negative',
|
|
@@ -32566,7 +32566,7 @@
|
|
|
32566
32566
|
statusTab.button({
|
|
32567
32567
|
instanceId: 'status-btn',
|
|
32568
32568
|
title: 'Status',
|
|
32569
|
-
icon: '
|
|
32569
|
+
icon: 'info-circle',
|
|
32570
32570
|
badge: {
|
|
32571
32571
|
icon: 'alert-circle',
|
|
32572
32572
|
color: 'negative',
|
|
@@ -32579,7 +32579,7 @@
|
|
|
32579
32579
|
icon: 'refresh',
|
|
32580
32580
|
badge: {
|
|
32581
32581
|
value: '=@ctx.datasources.updates.count',
|
|
32582
|
-
icon: '=@ctx.datasources.updates.count > 10 ? "
|
|
32582
|
+
icon: '=@ctx.datasources.updates.count > 10 ? "flame" : "check"',
|
|
32583
32583
|
color: '=@ctx.datasources.updates.count > 10 ? "negative" : "positive"',
|
|
32584
32584
|
},
|
|
32585
32585
|
})
|
|
@@ -32875,13 +32875,13 @@
|
|
|
32875
32875
|
salesWidget.top.titles({
|
|
32876
32876
|
title: 'Sales Overview',
|
|
32877
32877
|
subtitle: 'Current month performance',
|
|
32878
|
-
icon: 'chart',
|
|
32878
|
+
icon: 'chart-bar',
|
|
32879
32879
|
align: 'left',
|
|
32880
32880
|
})
|
|
32881
32881
|
// 2. Widget footer with status styling
|
|
32882
32882
|
salesWidget.bottom.titles({
|
|
32883
32883
|
title: 'Target Achievement: 125%',
|
|
32884
|
-
icon: 'check
|
|
32884
|
+
icon: 'circle-check',
|
|
32885
32885
|
iconColor: 'positive',
|
|
32886
32886
|
isPositive: true,
|
|
32887
32887
|
})
|
|
@@ -32890,7 +32890,7 @@
|
|
|
32890
32890
|
alertsWidget.top.titles({
|
|
32891
32891
|
title: 'System Alerts',
|
|
32892
32892
|
subtitle: 'Requires attention',
|
|
32893
|
-
icon: 'alert',
|
|
32893
|
+
icon: 'alert-triangle',
|
|
32894
32894
|
iconColor: 'warning',
|
|
32895
32895
|
isWarning: true,
|
|
32896
32896
|
})
|
|
@@ -32922,7 +32922,7 @@
|
|
|
32922
32922
|
performanceWidget.top.titles({
|
|
32923
32923
|
title: 'Performance Metrics',
|
|
32924
32924
|
subtitle: '=@ctx.current.item.status',
|
|
32925
|
-
icon: '=@ctx.current.item.status = "good" ? "check
|
|
32925
|
+
icon: '=@ctx.current.item.status = "good" ? "circle-check" : "exclamation-circle"',
|
|
32926
32926
|
iconColor: '=@ctx.current.item.status = "good" ? "positive" : "warning"',
|
|
32927
32927
|
isPositive: '=@ctx.current.item.score >= 80',
|
|
32928
32928
|
isWarning: '=@ctx.current.item.score >= 60 and @ctx.current.item.score < 80',
|
|
@@ -32968,7 +32968,7 @@
|
|
|
32968
32968
|
ordersWidget.top.titles({
|
|
32969
32969
|
title: 'Order Processing',
|
|
32970
32970
|
subtitle: 'Real-time status',
|
|
32971
|
-
icon: '
|
|
32971
|
+
icon: 'package',
|
|
32972
32972
|
align: 'left',
|
|
32973
32973
|
})
|
|
32974
32974
|
// Customer widget with centered header
|
|
@@ -32976,7 +32976,7 @@
|
|
|
32976
32976
|
customerWidget.top.titles({
|
|
32977
32977
|
title: 'Customer Satisfaction',
|
|
32978
32978
|
subtitle: '4.8 / 5.0 stars',
|
|
32979
|
-
icon: 'pin-star',
|
|
32979
|
+
icon: 'map-pin-star',
|
|
32980
32980
|
iconColor: '#FFD700',
|
|
32981
32981
|
align: 'center',
|
|
32982
32982
|
})
|
|
@@ -33475,7 +33475,7 @@
|
|
|
33475
33475
|
flex: { direction: 'row' },
|
|
33476
33476
|
gap: 'small',
|
|
33477
33477
|
})
|
|
33478
|
-
topRow.addControl.icon({ instanceId: 'icon-1' }).with({ icon: 'check
|
|
33478
|
+
topRow.addControl.icon({ instanceId: 'icon-1' }).with({ icon: 'check' })
|
|
33479
33479
|
topRow.addControl.text({ instanceId: 'label-1' }).with({ value: 'Completed' })
|
|
33480
33480
|
const bottomRow = outer.addControl.view({
|
|
33481
33481
|
instanceId: 'grid-bottom',
|
|
@@ -33483,7 +33483,7 @@
|
|
|
33483
33483
|
gap: 'small',
|
|
33484
33484
|
alignItems: 'center',
|
|
33485
33485
|
})
|
|
33486
|
-
bottomRow.addControl.icon({ instanceId: 'icon-2' }).with({ icon: '
|
|
33486
|
+
bottomRow.addControl.icon({ instanceId: 'icon-2' }).with({ icon: 'clock' })
|
|
33487
33487
|
bottomRow.addControl.text({ instanceId: 'label-2' }).with({ value: 'Pending' })
|
|
33488
33488
|
// 4. View with onPress action
|
|
33489
33489
|
const pressable = screen.addControl.card({ instanceId: 'press-card' }).addControl.view({
|
|
@@ -33961,7 +33961,7 @@
|
|
|
33961
33961
|
instanceId: 'sync-banner',
|
|
33962
33962
|
title: { text: 'Sync failed', isBold: true },
|
|
33963
33963
|
subtitle: 'Some records were not uploaded',
|
|
33964
|
-
icon: '
|
|
33964
|
+
icon: 'alert-triangle',
|
|
33965
33965
|
iconColor: 'warning',
|
|
33966
33966
|
iconType: 'contained',
|
|
33967
33967
|
iconShape: 'circle',
|
|
@@ -34074,8 +34074,8 @@
|
|
|
34074
34074
|
instanceId: 'save-btn',
|
|
34075
34075
|
type: 'primary',
|
|
34076
34076
|
isCompact: true,
|
|
34077
|
-
iconLeft: '
|
|
34078
|
-
iconRight: 'arrow-right
|
|
34077
|
+
iconLeft: 'device-floppy',
|
|
34078
|
+
iconRight: 'arrow-right',
|
|
34079
34079
|
isDisabled: '=@ctx.jig.state.isSaving',
|
|
34080
34080
|
isBusy: false,
|
|
34081
34081
|
})
|
|
@@ -34843,7 +34843,7 @@
|
|
|
34843
34843
|
when: true,
|
|
34844
34844
|
isRequired: true,
|
|
34845
34845
|
helperText: 'Select the category for your expense',
|
|
34846
|
-
icon: 'tag
|
|
34846
|
+
icon: 'tag',
|
|
34847
34847
|
label: 'Expense Category',
|
|
34848
34848
|
data: '=@ctx.datasources.expense-categories',
|
|
34849
34849
|
initialValue:
|
|
@@ -34960,7 +34960,7 @@
|
|
|
34960
34960
|
code: |-
|
|
34961
34961
|
const timeoutDuration = screen.addControl.durationPicker({
|
|
34962
34962
|
instanceId: 'timeout-duration',
|
|
34963
|
-
icon: '
|
|
34963
|
+
icon: 'clock',
|
|
34964
34964
|
errorText: 'Invalid duration',
|
|
34965
34965
|
label: 'Timeout Duration',
|
|
34966
34966
|
})
|
|
@@ -35865,7 +35865,7 @@
|
|
|
35865
35865
|
groupId: 'meeting-rooms',
|
|
35866
35866
|
index: 1,
|
|
35867
35867
|
})
|
|
35868
|
-
.with({ icon: '
|
|
35868
|
+
.with({ icon: 'users-group', color: 'color1' })
|
|
35869
35869
|
- id: jc.interactive-image-example-4
|
|
35870
35870
|
name: Interactive Image Item with Navigation and State
|
|
35871
35871
|
category: component
|
|
@@ -36280,7 +36280,7 @@
|
|
|
36280
36280
|
code: |-
|
|
36281
36281
|
const imageItem = screen.addControl.listItem({ instanceId: 'item-3' }).title('Image Item')
|
|
36282
36282
|
imageItem.leftElement.image({ uri: 'https://example.com/image.jpg' })
|
|
36283
|
-
imageItem.rightElement.icon('
|
|
36283
|
+
imageItem.rightElement.icon('photo')
|
|
36284
36284
|
- id: jc.list-item.element-example-4
|
|
36285
36285
|
name: List Item with Progress Element
|
|
36286
36286
|
category: component
|
|
@@ -36365,13 +36365,13 @@
|
|
|
36365
36365
|
builder
|
|
36366
36366
|
.swipeLeft()
|
|
36367
36367
|
.label('Delete')
|
|
36368
|
-
.icon('
|
|
36368
|
+
.icon('trash')
|
|
36369
36369
|
.color('negative')
|
|
36370
36370
|
.onPress.goto({ linkTo: 'confirm-delete' })
|
|
36371
36371
|
builder
|
|
36372
36372
|
.swipeRight()
|
|
36373
36373
|
.label('Edit')
|
|
36374
|
-
.icon('
|
|
36374
|
+
.icon('file-pencil')
|
|
36375
36375
|
.color('primary')
|
|
36376
36376
|
.onPress.goto({ linkTo: 'edit-item' })
|
|
36377
36377
|
- id: jc.list-item-example-4
|
|
@@ -36654,7 +36654,7 @@
|
|
|
36654
36654
|
longitude: '=@ctx.current.item.lng',
|
|
36655
36655
|
radius: { value: 10, unit, color: 'primary' },
|
|
36656
36656
|
})
|
|
36657
|
-
zoneMarker.addIcon({ icon: 'area
|
|
36657
|
+
zoneMarker.addIcon({ icon: 'chart-area' })
|
|
36658
36658
|
- id: jc.marker-item-example-1
|
|
36659
36659
|
name: Marker Item with Address Geocoding
|
|
36660
36660
|
category: component
|
|
@@ -36671,7 +36671,7 @@
|
|
|
36671
36671
|
instanceId: 'address-marker',
|
|
36672
36672
|
address: '123 Main St, San Francisco, CA',
|
|
36673
36673
|
})
|
|
36674
|
-
addressMarker.addIcon({ icon: '
|
|
36674
|
+
addressMarker.addIcon({ icon: 'map-pin' })
|
|
36675
36675
|
- id: jc.marker-item-example-2
|
|
36676
36676
|
name: Marker Item with Latitude and Longitude Coordinates
|
|
36677
36677
|
category: component
|
|
@@ -36690,7 +36690,7 @@
|
|
|
36690
36690
|
latitude: 37.7749,
|
|
36691
36691
|
longitude: -122.4194,
|
|
36692
36692
|
})
|
|
36693
|
-
storeMarker.addIcon({ icon: '
|
|
36693
|
+
storeMarker.addIcon({ icon: 'building-store', color: 'primary' })
|
|
36694
36694
|
- id: jc.marker-item-example-3
|
|
36695
36695
|
name: Marker Item with Position Helper Method
|
|
36696
36696
|
category: component
|
|
@@ -36727,7 +36727,7 @@
|
|
|
36727
36727
|
address: 'Times Square, NYC',
|
|
36728
36728
|
radius: { value: 5, unit: 'kilometers', color: 'accent', isEnabled: true },
|
|
36729
36729
|
})
|
|
36730
|
-
zoneMarker.addIcon({ icon: 'area
|
|
36730
|
+
zoneMarker.addIcon({ icon: 'chart-area' })
|
|
36731
36731
|
- id: jc.marker-item-example-5
|
|
36732
36732
|
name: Marker Item with Bottom Center Anchor Position
|
|
36733
36733
|
category: component
|
|
@@ -36788,7 +36788,7 @@
|
|
|
36788
36788
|
instanceId: 'icon-builder-marker',
|
|
36789
36789
|
address: 'test location',
|
|
36790
36790
|
})
|
|
36791
|
-
builderMarker.addIcon({ icon: '
|
|
36791
|
+
builderMarker.addIcon({ icon: 'home', color: 'primary', size: 'large' })
|
|
36792
36792
|
- id: jc.marker-item-example-8
|
|
36793
36793
|
name: Marker Items with All Supported Radius Units
|
|
36794
36794
|
category: component
|
|
@@ -36814,7 +36814,7 @@
|
|
|
36814
36814
|
address: 'test',
|
|
36815
36815
|
radius: { value: 10, unit },
|
|
36816
36816
|
})
|
|
36817
|
-
unitMarker.addIcon({ icon: 'area
|
|
36817
|
+
unitMarker.addIcon({ icon: 'chart-area' })
|
|
36818
36818
|
- id: jc.marker-item-example-9
|
|
36819
36819
|
name: Marker Item with Conditional Radius Display
|
|
36820
36820
|
category: component
|
|
@@ -36839,7 +36839,7 @@
|
|
|
36839
36839
|
isEnabled: '=@ctx.current.item.hasDelivery',
|
|
36840
36840
|
},
|
|
36841
36841
|
})
|
|
36842
|
-
shopMarker.addIcon({ icon: '
|
|
36842
|
+
shopMarker.addIcon({ icon: 'building-store' })
|
|
36843
36843
|
- id: jc.media-field-example-1
|
|
36844
36844
|
name: Image Upload Media Field with Multiple Files
|
|
36845
36845
|
category: component
|
|
@@ -36922,7 +36922,7 @@
|
|
|
36922
36922
|
const builder = new JcMenuItemBuilder({
|
|
36923
36923
|
title: 'Profile',
|
|
36924
36924
|
subtitle: 'View your profile',
|
|
36925
|
-
icon: '
|
|
36925
|
+
icon: 'user',
|
|
36926
36926
|
iconColor: 'primary',
|
|
36927
36927
|
iconShape: 'circle',
|
|
36928
36928
|
})
|
|
@@ -37131,7 +37131,7 @@
|
|
|
37131
37131
|
const field = screen.addControl.rating({
|
|
37132
37132
|
instanceId: 'product-rating',
|
|
37133
37133
|
label: 'Product Rating',
|
|
37134
|
-
icon: '
|
|
37134
|
+
icon: 'star',
|
|
37135
37135
|
color: 'warning',
|
|
37136
37136
|
maximum: 5,
|
|
37137
37137
|
initialValue: 3,
|
|
@@ -37404,7 +37404,7 @@
|
|
|
37404
37404
|
const completeSignature = screen.addControl.signatureField({
|
|
37405
37405
|
instanceId: 'sig1',
|
|
37406
37406
|
label: 'Signature',
|
|
37407
|
-
icon: '
|
|
37407
|
+
icon: 'pencil',
|
|
37408
37408
|
helperText: 'Sign here',
|
|
37409
37409
|
errorText: 'Signature required',
|
|
37410
37410
|
isDisabled: false,
|
|
@@ -37708,7 +37708,7 @@
|
|
|
37708
37708
|
code: |-
|
|
37709
37709
|
const summary = screen.summary().addControl.default({
|
|
37710
37710
|
leftIcon: {
|
|
37711
|
-
icon: '
|
|
37711
|
+
icon: 'coin',
|
|
37712
37712
|
type: 'duotone',
|
|
37713
37713
|
color: 'primary',
|
|
37714
37714
|
},
|
|
@@ -37739,7 +37739,7 @@
|
|
|
37739
37739
|
description: Configure summary leftIcon via fluent API with icon options
|
|
37740
37740
|
code: |-
|
|
37741
37741
|
const summary = screen.summary().addControl.default()
|
|
37742
|
-
summary.leftIcon('
|
|
37742
|
+
summary.leftIcon('alert-triangle', { type: 'duotone', isContained: true })
|
|
37743
37743
|
- id: jc.summary.default-example-4
|
|
37744
37744
|
name: Summary Left Icon Omitted By Default
|
|
37745
37745
|
category: component
|
|
@@ -37777,7 +37777,7 @@
|
|
|
37777
37777
|
helperText: 'Enter expense description (minimum 3 characters)', // Real helper text pattern
|
|
37778
37778
|
errorText:
|
|
37779
37779
|
'=$length(@ctx.components.description.state.value) > 0 and $length(@ctx.components.description.state.value) < 3 ? "Description must be at least 3 characters" : ""', // Complex conditional validation
|
|
37780
|
-
icon: '
|
|
37780
|
+
icon: 'file-pencil',
|
|
37781
37781
|
autoCapitalize: 'sentences',
|
|
37782
37782
|
isAutoCorrected: true,
|
|
37783
37783
|
returnKeyType: 'next',
|
|
@@ -37858,7 +37858,7 @@
|
|
|
37858
37858
|
textArea: 'large', // Size the text area based on real patterns
|
|
37859
37859
|
maxLength: 1000, // Character limit from real-world usage
|
|
37860
37860
|
helperText: 'Optional - Additional details about this expense (max 1000 characters)',
|
|
37861
|
-
icon: 'notes
|
|
37861
|
+
icon: 'notes',
|
|
37862
37862
|
returnKeyType: 'default', // Different return key for multiline
|
|
37863
37863
|
autoCapitalize: 'sentences',
|
|
37864
37864
|
isAutoCorrected: true,
|
|
@@ -39239,7 +39239,7 @@
|
|
|
39239
39239
|
.error('=$contains(@ctx.response.body, "InsufficientFunds")')
|
|
39240
39240
|
.title('Insufficient Funds')
|
|
39241
39241
|
.description('The payment cannot be processed')
|
|
39242
|
-
.icon('
|
|
39242
|
+
.icon('id')
|
|
39243
39243
|
.notification(true)
|
|
39244
39244
|
processPaymentFunction
|
|
39245
39245
|
.error('=$contains(@ctx.response.body, "InvalidAccount")')
|
|
@@ -39434,7 +39434,7 @@
|
|
|
39434
39434
|
.error('=$contains(@ctx.response.body, "FOREIGN KEY")')
|
|
39435
39435
|
.title('Invalid Customer')
|
|
39436
39436
|
.description('The selected customer does not exist')
|
|
39437
|
-
.icon('
|
|
39437
|
+
.icon('minus')
|
|
39438
39438
|
.notification(true)
|
|
39439
39439
|
// Database lock error with retry
|
|
39440
39440
|
createOrderFunction
|
|
@@ -40257,7 +40257,7 @@
|
|
|
40257
40257
|
fn.error('=@ctx.response.status >= 500')
|
|
40258
40258
|
.title('Server Error')
|
|
40259
40259
|
.description('The server encountered an error')
|
|
40260
|
-
.icon('alert')
|
|
40260
|
+
.icon('alert-triangle')
|
|
40261
40261
|
.notification(true)
|
|
40262
40262
|
.retry({
|
|
40263
40263
|
when: '=@ctx.response.status = 503',
|
|
@@ -41028,7 +41028,7 @@
|
|
|
41028
41028
|
isHomeButtonVisible: true,
|
|
41029
41029
|
isCollapsible: true,
|
|
41030
41030
|
isInitiallyCollapsed: true,
|
|
41031
|
-
icon: '
|
|
41031
|
+
icon: 'file',
|
|
41032
41032
|
description: 'Document description',
|
|
41033
41033
|
})
|
|
41034
41034
|
documentScreen.source.html({ content: '<h1>Hello World</h1>' })
|
|
@@ -42374,13 +42374,13 @@
|
|
|
42374
42374
|
code: |-
|
|
42375
42375
|
const advancedTabsScreen = app.addScreen
|
|
42376
42376
|
.tabs({ screenId: 'tb', title: 'Tabs Jig' })
|
|
42377
|
-
.with({ scrollable: true, swipeable: true, icon: '
|
|
42377
|
+
.with({ scrollable: true, swipeable: true, icon: 'device-desktop' })
|
|
42378
42378
|
const dashboardTab = advancedTabsScreen.addInstance.tab('some-jig-1', 'tab1')
|
|
42379
42379
|
dashboardTab.button({ instanceId: 'tab1-button', title: 'First Tab', icon: 'layout-dashboard' })
|
|
42380
42380
|
dashboardTab.when('=@ctx.user.id != null')
|
|
42381
42381
|
const chartTab = advancedTabsScreen.addInstance.tab('some-jig-2', 'tab2')
|
|
42382
42382
|
chartTab
|
|
42383
|
-
.button({ instanceId: 'tab2-button', title: 'Second Tab', icon: 'chart' })
|
|
42383
|
+
.button({ instanceId: 'tab2-button', title: 'Second Tab', icon: 'chart-bar' })
|
|
42384
42384
|
.with({ badge: { value: '=@ctx.solution.state.notifications' } })
|
|
42385
42385
|
chartTab.isDisabled('=$not(@ctx.solution.state.userVerified)')
|
|
42386
42386
|
const chartWidget = advancedTabsScreen.addWidget.chart({ name: 'tabs-chart' })
|
|
@@ -42477,7 +42477,7 @@
|
|
|
42477
42477
|
screenId: 'wz',
|
|
42478
42478
|
title: 'Wizard Jig',
|
|
42479
42479
|
})
|
|
42480
|
-
.with({ icon: '
|
|
42480
|
+
.with({ icon: 'device-desktop' })
|
|
42481
42481
|
advancedWizardScreen.addInstance
|
|
42482
42482
|
.step({ jigId: 'some-jig-1', instanceId: 'step1', when: '=@ctx.user.id != null' })
|
|
42483
42483
|
.title('Profile Step')
|
|
@@ -43408,21 +43408,21 @@
|
|
|
43408
43408
|
customersTab.button({
|
|
43409
43409
|
instanceId: 'customers-button',
|
|
43410
43410
|
title: 'Customers',
|
|
43411
|
-
icon: '
|
|
43411
|
+
icon: 'users-plus',
|
|
43412
43412
|
})
|
|
43413
43413
|
// Analytics tab
|
|
43414
43414
|
const analyticsTab = dashboard.addInstance.tab('analytics-tab', 'analytics-tab-instance')
|
|
43415
|
-
analyticsTab.button({ instanceId: 'analytics-button', title: 'Analytics', icon: 'chart' })
|
|
43415
|
+
analyticsTab.button({ instanceId: 'analytics-button', title: 'Analytics', icon: 'chart-bar' })
|
|
43416
43416
|
// Settings tabs for user preferences
|
|
43417
43417
|
const settings = app.addScreen.tabs({ screenId: 'user-settings', title: 'Settings' })
|
|
43418
43418
|
const profileTab = settings.addInstance.tab('profile-tab', 'profile-tab-instance')
|
|
43419
|
-
profileTab.button({ instanceId: 'profile-button', title: 'Profile', icon: '
|
|
43419
|
+
profileTab.button({ instanceId: 'profile-button', title: 'Profile', icon: 'user-cog' })
|
|
43420
43420
|
const notificationsTab = settings.addInstance.tab(
|
|
43421
43421
|
'notifications-tab',
|
|
43422
43422
|
'notifications-tab-instance',
|
|
43423
43423
|
)
|
|
43424
43424
|
notificationsTab
|
|
43425
|
-
.button({ instanceId: 'notifications-button', title: 'Notifications', icon: '
|
|
43425
|
+
.button({ instanceId: 'notifications-button', title: 'Notifications', icon: 'bell' })
|
|
43426
43426
|
.with({ badge: { value: 5 } })
|
|
43427
43427
|
const privacyTab = settings.addInstance.tab('privacy-tab', 'privacy-tab-instance')
|
|
43428
43428
|
privacyTab.button({ instanceId: 'privacy-button', title: 'Privacy', icon: 'shield' })
|
|
@@ -44098,7 +44098,7 @@
|
|
|
44098
44098
|
longitude: '=@ctx.current.item.lng',
|
|
44099
44099
|
radius: { value: 5, unit: 'kilometers', color: 'accent' },
|
|
44100
44100
|
})
|
|
44101
|
-
markerItem.addIcon({ icon: '
|
|
44101
|
+
markerItem.addIcon({ icon: 'building-store', color: 'primary' })
|
|
44102
44102
|
- id: jw.location-example-6
|
|
44103
44103
|
name: Delivery Route Location Widget
|
|
44104
44104
|
category: widget
|
|
@@ -44151,7 +44151,7 @@
|
|
|
44151
44151
|
const widget = screen.addWidget.status({ name: 'test-widget' })
|
|
44152
44152
|
widget.addStatus({
|
|
44153
44153
|
when: '=@ctx.solution.state.status = "active"',
|
|
44154
|
-
icon: 'check
|
|
44154
|
+
icon: 'circle-check',
|
|
44155
44155
|
color: 'positive',
|
|
44156
44156
|
})
|
|
44157
44157
|
- id: jw.status.condition-example-2
|
|
@@ -44168,7 +44168,7 @@
|
|
|
44168
44168
|
const widget = screen.addWidget.status({ name: 'test-widget' })
|
|
44169
44169
|
widget.addStatus({
|
|
44170
44170
|
when: true,
|
|
44171
|
-
icon: '
|
|
44171
|
+
icon: 'edit',
|
|
44172
44172
|
})
|
|
44173
44173
|
- id: jw.status.condition-example-3
|
|
44174
44174
|
name: Status Condition with Top and Bottom Titles
|
|
@@ -44215,7 +44215,7 @@
|
|
|
44215
44215
|
const widget = screen.addWidget.status({ name: 'test-widget' })
|
|
44216
44216
|
widget.addStatus({
|
|
44217
44217
|
when: false,
|
|
44218
|
-
icon: '
|
|
44218
|
+
icon: 'trash',
|
|
44219
44219
|
color: 'negative',
|
|
44220
44220
|
})
|
|
44221
44221
|
- id: jw.status-example-1
|
|
@@ -44245,21 +44245,21 @@
|
|
|
44245
44245
|
widget
|
|
44246
44246
|
.addStatus({
|
|
44247
44247
|
when: '=@ctx.jig.state.loading',
|
|
44248
|
-
icon: '
|
|
44248
|
+
icon: 'loader',
|
|
44249
44249
|
color: 'info',
|
|
44250
44250
|
})
|
|
44251
44251
|
.top.titles({ title: 'Loading...' })
|
|
44252
44252
|
widget
|
|
44253
44253
|
.addStatus({
|
|
44254
44254
|
when: '=@ctx.solution.state.noData',
|
|
44255
|
-
icon: '
|
|
44255
|
+
icon: 'help-circle',
|
|
44256
44256
|
color: 'neutral',
|
|
44257
44257
|
})
|
|
44258
44258
|
.top.titles({ title: 'Status unavailable' })
|
|
44259
44259
|
widget
|
|
44260
44260
|
.addStatus({
|
|
44261
44261
|
when: '=@ctx.jig.state.error',
|
|
44262
|
-
icon: '
|
|
44262
|
+
icon: 'message-exclamation',
|
|
44263
44263
|
color: 'negative',
|
|
44264
44264
|
})
|
|
44265
44265
|
.top.titles({ title: 'Error occurred' })
|
|
@@ -44294,7 +44294,7 @@
|
|
|
44294
44294
|
})
|
|
44295
44295
|
widget.addStatus({
|
|
44296
44296
|
when: '=@ctx.jig.inputs.order.status = "processing"',
|
|
44297
|
-
icon: '
|
|
44297
|
+
icon: 'coin',
|
|
44298
44298
|
color: 'info',
|
|
44299
44299
|
})
|
|
44300
44300
|
- id: jw.status-example-4
|
|
@@ -44319,7 +44319,7 @@
|
|
|
44319
44319
|
})
|
|
44320
44320
|
widget.addStatus({
|
|
44321
44321
|
when: '=@ctx.solution.state.health.cpu < 50',
|
|
44322
|
-
icon: '
|
|
44322
|
+
icon: 'activity',
|
|
44323
44323
|
color: 'positive',
|
|
44324
44324
|
})
|
|
44325
44325
|
widget.addStatus({
|
|
@@ -44928,7 +44928,7 @@
|
|
|
44928
44928
|
longitude: '=@ctx.current.item.longitude',
|
|
44929
44929
|
})
|
|
44930
44930
|
storeMarker.with({ radius: { value: 2, unit: 'miles', color: 'accent' } })
|
|
44931
|
-
storeMarker.addIcon({ icon: '
|
|
44931
|
+
storeMarker.addIcon({ icon: 'building-store', color: 'primary' })
|
|
44932
44932
|
// 2. Delivery tracking with route paths
|
|
44933
44933
|
const deliveryTracker = screen.addWidget.location({
|
|
44934
44934
|
name: 'delivery-route',
|
|
@@ -44988,7 +44988,7 @@
|
|
|
44988
44988
|
isEnabled: '=@ctx.current.item.showCoverage',
|
|
44989
44989
|
},
|
|
44990
44990
|
})
|
|
44991
|
-
officeMarker.addIcon({ icon: '
|
|
44991
|
+
officeMarker.addIcon({ icon: 'building-skyscraper', color: 'info' })
|
|
44992
44992
|
// Create grid to display widgets (custom/static mode for map dashboard)
|
|
44993
44993
|
const staticGrid = screen.addControl.grid()
|
|
44994
44994
|
// Custom/static grid - Add grid items with custom sizing for location widgets
|
|
@@ -45030,7 +45030,7 @@
|
|
|
45030
45030
|
// Status conditions with icons and colors
|
|
45031
45031
|
systemStatus.addStatus({
|
|
45032
45032
|
when: '=@ctx.datasources.health[0].cpu < 50',
|
|
45033
|
-
icon: 'check
|
|
45033
|
+
icon: 'circle-check',
|
|
45034
45034
|
color: 'positive',
|
|
45035
45035
|
})
|
|
45036
45036
|
systemStatus.addStatus({
|
|
@@ -45064,18 +45064,18 @@
|
|
|
45064
45064
|
})
|
|
45065
45065
|
orderStatus.addStatus({
|
|
45066
45066
|
when: '=@ctx.datasources.orders[0].status = "processing"',
|
|
45067
|
-
icon: '
|
|
45067
|
+
icon: 'coin',
|
|
45068
45068
|
color: 'warning',
|
|
45069
45069
|
})
|
|
45070
45070
|
// Additional status conditions for loading/error states
|
|
45071
45071
|
orderStatus.addStatus({
|
|
45072
45072
|
when: '=@ctx.datasources.orders.length = 0',
|
|
45073
|
-
icon: '
|
|
45073
|
+
icon: 'loader',
|
|
45074
45074
|
color: 'medium',
|
|
45075
45075
|
})
|
|
45076
45076
|
orderStatus.addStatus({
|
|
45077
45077
|
when: '=@ctx.datasources.orders[0].error',
|
|
45078
|
-
icon: '
|
|
45078
|
+
icon: 'trash',
|
|
45079
45079
|
color: 'negative',
|
|
45080
45080
|
})
|
|
45081
45081
|
// 3. Database connection status
|
|
@@ -45093,7 +45093,7 @@
|
|
|
45093
45093
|
})
|
|
45094
45094
|
databaseStatus.addStatus({
|
|
45095
45095
|
when: '=@ctx.datasources.dbStatus[0].connected = false',
|
|
45096
|
-
icon: '
|
|
45096
|
+
icon: 'trash',
|
|
45097
45097
|
color: 'negative',
|
|
45098
45098
|
})
|
|
45099
45099
|
// Create grid to display widgets (custom/static mode for monitoring dashboard)
|