@wix/himalaya-cli 0.1551.0 → 0.1553.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-contract.d.ts +2 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-contract.d.ts +24 -2
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/order-refs.d.ts +12 -3
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/forms/src/extensions.d.ts +83 -1
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +146 -23
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +8 -5
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +147 -24
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-forms.mjs +19 -0
  10. package/dist/cli.mjs +2513 -2201
  11. package/dist/preview-assets.generated.bin +0 -0
  12. package/fixtures/wix-canned.json +14 -7
  13. package/guides/getting-started.md +17 -1
  14. package/guides/headless-loop.md +7 -1
  15. package/guides/himi-skill.md +17 -1
  16. package/guides/himi-test.md +95 -7
  17. package/guides/iap-pricing.md +1 -1
  18. package/guides/iap-products.md +2 -2
  19. package/guides/iap-screen-adoption.md +1 -1
  20. package/guides/index.json +1 -1
  21. package/guides/sdk-reference.json +82 -4
  22. package/guides/skill.md +16 -0
  23. package/package.json +2 -2
  24. package/templates/beauty-salon/config.ts +13 -0
  25. package/templates/beauty-salon/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  26. package/templates/beauty-salon/tier5-src/_shared/iap-worker.ts +1 -1
  27. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +1 -1
  28. package/templates/branded-lite/config.ts +13 -0
  29. package/templates/branded-lite/dev/index.ts +1338 -2011
  30. package/templates/branded-lite/tier5-src/_shared/branded-form.ts +262 -0
  31. package/templates/branded-lite/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  32. package/templates/branded-lite/tier5-src/_shared/iap-worker.ts +1 -1
  33. package/templates/branded-lite/tier5-src/himi-branded-lite-form/index.ts +399 -0
  34. package/templates/branded-lite/tier5-src/himi-branded-lite-forms/index.ts +22 -7
  35. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +1 -1
  36. package/templates/community-club/config.ts +13 -0
  37. package/templates/community-club/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  38. package/templates/community-club/tier5-src/_shared/iap-worker.ts +1 -1
  39. package/templates/events-meetups/config.ts +13 -0
  40. package/templates/events-meetups/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  41. package/templates/events-meetups/tier5-src/_shared/iap-worker.ts +1 -1
  42. package/templates/gym-fitness/config.ts +13 -0
  43. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  44. package/templates/gym-fitness/tier5-src/_shared/iap-worker.ts +1 -1
  45. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +1 -1
  46. package/templates/nonprofit-cause/config.ts +13 -0
  47. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  48. package/templates/nonprofit-cause/tier5-src/_shared/iap-worker.ts +1 -1
  49. package/templates/podcast-creator/config.ts +13 -0
  50. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  51. package/templates/podcast-creator/tier5-src/_shared/iap-worker.ts +1 -1
  52. package/templates/portfolio-creative/config.ts +13 -0
  53. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  54. package/templates/portfolio-creative/tier5-src/_shared/iap-worker.ts +1 -1
  55. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +1 -1
  56. package/templates/restaurant/config.ts +13 -0
  57. package/templates/restaurant/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  58. package/templates/restaurant/tier5-src/_shared/iap-worker.ts +1 -1
  59. package/templates/retail-store/config.ts +13 -0
  60. package/templates/retail-store/tier5-src/_shared/iap-worker.ts +1 -1
  61. package/templates/retail-store/tier5-src/himi-store-product/index.ts +1 -1
  62. package/templates/yoga-studio/config.ts +13 -0
  63. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-purchase.ts +1 -1
  64. package/templates/yoga-studio/tier5-src/_shared/iap-worker.ts +1 -1
  65. package/templates/branded-lite/tier5-src/wix-spaces-form-detail/index.ts +0 -30
@@ -81017,970 +81017,503 @@ const SCREENS = runtimeSetting({
81017
81017
  }
81018
81018
  },
81019
81019
  {
81020
- "id": "himi_forms.rows.collection.toolbar",
81020
+ "id": "himi_forms.loading",
81021
81021
  "body": {
81022
81022
  "package": "himalaya",
81023
81023
  "type": "VStack",
81024
81024
  "props": {
81025
- "spacing": 0,
81025
+ "spacing": 14,
81026
+ "alignment": "leading",
81026
81027
  "children": [
81027
- {
81028
- "id": "himi_forms.rows.collection.loading",
81029
- "body": {
81030
- "package": "himalaya",
81031
- "type": "Skeleton",
81032
- "props": {
81033
- "height": 72,
81034
- "cornerRadius": 12,
81035
- "count": 3
81036
- }
81037
- },
81038
- "modifiers": {
81039
- "hiddenPath": "$service:himiBrandedForms.collection.noLoading",
81040
- "padding": {
81041
- "bottom": 12
81042
- }
81043
- }
81044
- },
81045
- {
81046
- "id": "himi_forms.rows.collection.search",
81047
- "body": {
81048
- "package": "himalaya",
81049
- "type": "SearchField",
81050
- "props": {
81051
- "placeholder": "Search",
81052
- "value": "$service:himiBrandedForms.collection.query",
81053
- "debounceMs": 200,
81054
- "onChange": {
81055
- "actionId": "tier5.himiBrandedForms.collectionSearch"
81056
- }
81057
- }
81058
- },
81059
- "modifiers": {
81060
- "hiddenPath": "$service:himiBrandedForms.collection.hideChrome",
81061
- "padding": {
81062
- "bottom": 12
81063
- }
81064
- }
81065
- },
81066
81028
  {
81067
81029
  "id": "",
81068
81030
  "body": {
81069
81031
  "package": "himalaya",
81070
- "type": "HStack",
81032
+ "type": "VStack",
81071
81033
  "props": {
81072
81034
  "spacing": 8,
81035
+ "alignment": "leading",
81073
81036
  "children": [
81074
81037
  {
81075
- "id": "himi_forms.rows.collection.view",
81038
+ "id": "himi_forms.skeleton_1.name",
81076
81039
  "body": {
81077
81040
  "package": "himalaya",
81078
- "type": "SegmentedControl",
81041
+ "type": "Skeleton",
81079
81042
  "props": {
81080
- "options": [
81081
- {
81082
- "id": "list",
81083
- "label": "List"
81084
- },
81085
- {
81086
- "id": "grid",
81087
- "label": "Grid"
81088
- }
81089
- ],
81090
- "selectedId": "$service:himiBrandedForms.collection.view",
81091
- "onChange": {
81092
- "actionId": "tier5.himiBrandedForms.collectionView"
81093
- }
81043
+ "height": 16,
81044
+ "cornerRadius": 8
81094
81045
  }
81095
81046
  },
81096
81047
  "modifiers": {
81097
- "weight": 1
81048
+ "height": 16,
81049
+ "background": {
81050
+ "token": "surfaceSecondary"
81051
+ },
81052
+ "cornerRadius": 8,
81053
+ "accessibilityRole": "decorative",
81054
+ "width": 220
81098
81055
  }
81099
81056
  },
81100
81057
  {
81101
- "id": "himi_forms.rows.collection.refine",
81058
+ "id": "himi_forms.skeleton_1.line",
81102
81059
  "body": {
81103
81060
  "package": "himalaya",
81104
- "type": "Button",
81061
+ "type": "Skeleton",
81105
81062
  "props": {
81106
- "title": "Refine",
81107
- "style": "plain",
81108
- "fullWidth": false,
81109
- "action": {
81110
- "actionId": "tier5.himiBrandedForms.collectionFilters"
81111
- },
81112
- "leadingIcon": "filter"
81063
+ "height": 12,
81064
+ "cornerRadius": 8
81113
81065
  }
81066
+ },
81067
+ "modifiers": {
81068
+ "height": 12,
81069
+ "background": {
81070
+ "token": "surfaceSecondary"
81071
+ },
81072
+ "cornerRadius": 8,
81073
+ "accessibilityRole": "decorative",
81074
+ "width": 300
81075
+ }
81076
+ },
81077
+ {
81078
+ "id": "",
81079
+ "body": {
81080
+ "package": "himalaya",
81081
+ "type": "Divider",
81082
+ "props": {}
81114
81083
  }
81115
81084
  }
81116
81085
  ]
81117
81086
  }
81118
- },
81119
- "modifiers": {
81120
- "hiddenPath": "$service:himiBrandedForms.collection.hideChrome",
81121
- "padding": {
81122
- "bottom": 12
81123
- }
81124
81087
  }
81125
81088
  },
81126
81089
  {
81127
81090
  "id": "",
81128
81091
  "body": {
81129
81092
  "package": "himalaya",
81130
- "type": "HStack",
81093
+ "type": "VStack",
81131
81094
  "props": {
81132
81095
  "spacing": 8,
81096
+ "alignment": "leading",
81133
81097
  "children": [
81134
81098
  {
81135
- "id": "himi_forms.rows.collection.filters",
81099
+ "id": "himi_forms.skeleton_2.name",
81136
81100
  "body": {
81137
81101
  "package": "himalaya",
81138
- "type": "FilterChips",
81102
+ "type": "Skeleton",
81139
81103
  "props": {
81140
- "chips": [
81141
- {
81142
- "id": "all",
81143
- "label": "All"
81144
- },
81145
- {
81146
- "id": "saved",
81147
- "label": "Saved"
81148
- }
81149
- ],
81150
- "optionsPath": "$service:himiBrandedForms.collection.chips",
81151
- "selectedIds": [
81152
- "$service:himiBrandedForms.collection.filter"
81153
- ],
81154
- "onChange": {
81155
- "actionId": "tier5.himiBrandedForms.collectionFilter"
81156
- }
81104
+ "height": 16,
81105
+ "cornerRadius": 8
81157
81106
  }
81158
81107
  },
81159
81108
  "modifiers": {
81160
- "weight": 1
81109
+ "height": 16,
81110
+ "background": {
81111
+ "token": "surfaceSecondary"
81112
+ },
81113
+ "cornerRadius": 8,
81114
+ "accessibilityRole": "decorative",
81115
+ "width": 220
81161
81116
  }
81162
81117
  },
81163
81118
  {
81164
- "id": "himi_forms.rows.collection.clear",
81119
+ "id": "himi_forms.skeleton_2.line",
81165
81120
  "body": {
81166
81121
  "package": "himalaya",
81167
- "type": "Button",
81122
+ "type": "Skeleton",
81168
81123
  "props": {
81169
- "title": "Clear",
81170
- "style": "plain",
81171
- "fullWidth": false,
81172
- "action": {
81173
- "actionId": "tier5.himiBrandedForms.collectionClear"
81174
- }
81124
+ "height": 12,
81125
+ "cornerRadius": 8
81175
81126
  }
81176
81127
  },
81177
81128
  "modifiers": {
81178
- "hiddenPath": "$service:himiBrandedForms.collection.noActiveCriteria"
81179
- }
81180
- }
81181
- ]
81182
- }
81183
- },
81184
- "modifiers": {
81185
- "hiddenPath": "$service:himiBrandedForms.collection.hideChrome",
81186
- "padding": {
81187
- "bottom": 12
81188
- }
81189
- }
81190
- },
81191
- {
81192
- "id": "himi_forms.rows.collection.summary",
81193
- "body": {
81194
- "package": "himalaya",
81195
- "type": "Text",
81196
- "props": {
81197
- "text": "$service:himiBrandedForms.collection.summary",
81198
- "style": "caption",
81199
- "color": "textSecondary",
81200
- "maxLines": 1
81201
- }
81202
- },
81203
- "modifiers": {
81204
- "hiddenPath": "$service:himiBrandedForms.collection.hideChrome"
81205
- }
81206
- },
81207
- {
81208
- "id": "",
81209
- "body": {
81210
- "package": "himalaya",
81211
- "type": "HStack",
81212
- "props": {
81213
- "children": [
81214
- {
81215
- "id": "",
81216
- "body": {
81217
- "package": "himalaya",
81218
- "type": "Text",
81219
- "props": {
81220
- "text": "$service:himiBrandedForms.collection.selectedSummary",
81221
- "style": "caption"
81222
- }
81129
+ "height": 12,
81130
+ "background": {
81131
+ "token": "surfaceSecondary"
81132
+ },
81133
+ "cornerRadius": 8,
81134
+ "accessibilityRole": "decorative",
81135
+ "width": 300
81223
81136
  }
81224
81137
  },
81225
81138
  {
81226
- "id": "btn_tier5_himibrandedforms_collectionsaveselected",
81139
+ "id": "",
81227
81140
  "body": {
81228
81141
  "package": "himalaya",
81229
- "type": "Button",
81230
- "props": {
81231
- "title": "Save selected",
81232
- "style": "secondary",
81233
- "action": {
81234
- "actionId": "tier5.himiBrandedForms.collectionSaveSelected"
81235
- }
81236
- }
81237
- },
81238
- "modifiers": {
81239
- "hiddenPath": "$service:himiBrandedForms.collection.cannotSaveSelected"
81142
+ "type": "Divider",
81143
+ "props": {}
81240
81144
  }
81241
81145
  }
81242
81146
  ]
81243
81147
  }
81244
- },
81245
- "modifiers": {
81246
- "hiddenPath": "$service:himiBrandedForms.collection.noSelection",
81247
- "padding": {
81248
- "bottom": 12
81249
- }
81250
- }
81251
- },
81252
- {
81253
- "id": "himi_forms.rows.collection.undo",
81254
- "body": {
81255
- "package": "himalaya",
81256
- "type": "Button",
81257
- "props": {
81258
- "title": "Undo saved change",
81259
- "style": "plain",
81260
- "action": {
81261
- "actionId": "tier5.himiBrandedForms.collectionUndo"
81262
- }
81263
- }
81264
- },
81265
- "modifiers": {
81266
- "hiddenPath": "$service:himiBrandedForms.collection.noUndo",
81267
- "padding": {
81268
- "bottom": 12
81269
- }
81270
81148
  }
81271
81149
  },
81272
81150
  {
81273
81151
  "id": "",
81274
- "body": {
81275
- "package": "himalaya",
81276
- "type": "Text",
81277
- "props": {
81278
- "text": "$service:himiBrandedForms.collection.saveMessage",
81279
- "style": "caption",
81280
- "collapseWhenEmpty": true
81281
- }
81282
- }
81283
- },
81284
- {
81285
- "id": "himi_forms.rows.collection.error",
81286
81152
  "body": {
81287
81153
  "package": "himalaya",
81288
81154
  "type": "VStack",
81289
81155
  "props": {
81290
81156
  "spacing": 8,
81157
+ "alignment": "leading",
81291
81158
  "children": [
81292
81159
  {
81293
- "id": "",
81160
+ "id": "himi_forms.skeleton_3.name",
81294
81161
  "body": {
81295
81162
  "package": "himalaya",
81296
- "type": "Text",
81163
+ "type": "Skeleton",
81297
81164
  "props": {
81298
- "text": "$service:himiBrandedForms.collection.errorTitle",
81299
- "style": "bodyEmphasis"
81165
+ "height": 16,
81166
+ "cornerRadius": 8
81300
81167
  }
81168
+ },
81169
+ "modifiers": {
81170
+ "height": 16,
81171
+ "background": {
81172
+ "token": "surfaceSecondary"
81173
+ },
81174
+ "cornerRadius": 8,
81175
+ "accessibilityRole": "decorative",
81176
+ "width": 220
81301
81177
  }
81302
81178
  },
81303
81179
  {
81304
- "id": "",
81180
+ "id": "himi_forms.skeleton_3.line",
81305
81181
  "body": {
81306
81182
  "package": "himalaya",
81307
- "type": "Text",
81183
+ "type": "Skeleton",
81308
81184
  "props": {
81309
- "text": "$service:himiBrandedForms.collection.errorMessage",
81310
- "style": "caption",
81311
- "color": "textSecondary",
81312
- "collapseWhenEmpty": true
81185
+ "height": 12,
81186
+ "cornerRadius": 8
81313
81187
  }
81188
+ },
81189
+ "modifiers": {
81190
+ "height": 12,
81191
+ "background": {
81192
+ "token": "surfaceSecondary"
81193
+ },
81194
+ "cornerRadius": 8,
81195
+ "accessibilityRole": "decorative",
81196
+ "width": 300
81314
81197
  }
81315
81198
  },
81316
81199
  {
81317
- "id": "himi_forms.rows.collection.retry",
81200
+ "id": "",
81318
81201
  "body": {
81319
81202
  "package": "himalaya",
81320
- "type": "Button",
81321
- "props": {
81322
- "title": "Try again",
81323
- "style": "secondary",
81324
- "action": {
81325
- "actionId": "tier5.himiBrandedForms.collectionRetry"
81326
- }
81327
- }
81328
- },
81329
- "modifiers": {
81330
- "hiddenPath": "$service:himiBrandedForms.collection.noRetry"
81331
- }
81332
- },
81333
- {
81334
- "id": "himi_forms.rows.collection.sign_in",
81335
- "body": {
81336
- "package": "himalaya",
81337
- "type": "Button",
81338
- "props": {
81339
- "title": "Sign in",
81340
- "style": "primary",
81341
- "leadingIcon": "person",
81342
- "action": {
81343
- "actionId": "himi.open",
81344
- "params": {
81345
- "screenId": "himi_sign_in",
81346
- "modal": "1"
81347
- },
81348
- "presentation": "sheet"
81349
- }
81350
- }
81351
- },
81352
- "modifiers": {
81353
- "hiddenPath": "$service:himiBrandedForms.collection.noSignIn"
81354
- }
81355
- }
81356
- ]
81357
- }
81358
- },
81359
- "modifiers": {
81360
- "hiddenPath": "$service:himiBrandedForms.collection.noError",
81361
- "padding": {
81362
- "bottom": 12
81363
- }
81364
- }
81365
- },
81366
- {
81367
- "id": "himi_forms.rows.collection.empty-source",
81368
- "body": {
81369
- "package": "himalaya",
81370
- "type": "VStack",
81371
- "props": {
81372
- "spacing": 8,
81373
- "alignment": "center",
81374
- "children": [
81375
- {
81376
- "id": "",
81377
- "body": {
81378
- "package": "himalaya",
81379
- "type": "Icon",
81380
- "props": {
81381
- "name": "inbox",
81382
- "size": 28,
81383
- "tint": "textTertiary"
81384
- }
81385
- },
81386
- "modifiers": {
81387
- "accessibilityRole": "decorative"
81388
- }
81389
- },
81390
- {
81391
- "id": "",
81392
- "body": {
81393
- "package": "himalaya",
81394
- "type": "Text",
81395
- "props": {
81396
- "text": "$service:himiBrandedForms.collection.emptySourceText",
81397
- "style": "body",
81398
- "color": "textSecondary"
81399
- }
81203
+ "type": "Divider",
81204
+ "props": {}
81400
81205
  }
81401
81206
  }
81402
81207
  ]
81403
81208
  }
81404
- },
81405
- "modifiers": {
81406
- "hiddenPath": "$service:himiBrandedForms.collection.noEmptySource",
81407
- "padding": {
81408
- "bottom": 12
81409
- }
81410
81209
  }
81210
+ }
81211
+ ]
81212
+ }
81213
+ },
81214
+ "modifiers": {
81215
+ "hiddenPath": "$service:himiBrandedForms.notLoading"
81216
+ }
81217
+ },
81218
+ {
81219
+ "id": "himi_forms.offline",
81220
+ "body": {
81221
+ "package": "himalaya",
81222
+ "type": "ErrorState",
81223
+ "props": {
81224
+ "variant": "offline",
81225
+ "placement": "section",
81226
+ "ctaLabel": "Try again",
81227
+ "cta": {
81228
+ "actionId": "tier5.himiBrandedForms.load"
81229
+ }
81230
+ }
81231
+ },
81232
+ "modifiers": {
81233
+ "hiddenPath": "$service:himiBrandedForms.hideOfflineError"
81234
+ }
81235
+ },
81236
+ {
81237
+ "id": "himi_forms.error",
81238
+ "body": {
81239
+ "package": "himalaya",
81240
+ "type": "ErrorState",
81241
+ "props": {
81242
+ "variant": "server",
81243
+ "placement": "section",
81244
+ "title": "Unable to load forms",
81245
+ "ctaLabel": "Try again",
81246
+ "cta": {
81247
+ "actionId": "tier5.himiBrandedForms.load"
81248
+ }
81249
+ }
81250
+ },
81251
+ "modifiers": {
81252
+ "hiddenPath": "$service:himiBrandedForms.hideServerError"
81253
+ }
81254
+ },
81255
+ {
81256
+ "id": "himi_forms.signin",
81257
+ "body": {
81258
+ "package": "himalaya",
81259
+ "type": "ErrorState",
81260
+ "props": {
81261
+ "variant": "signIn",
81262
+ "placement": "section",
81263
+ "body": "Sign in to see the forms.",
81264
+ "ctaLabel": "Sign in",
81265
+ "cta": {
81266
+ "actionId": "himi.open",
81267
+ "params": {
81268
+ "screenId": "himi_sign_in",
81269
+ "returnScreenId": "himi_forms",
81270
+ "modal": "1"
81411
81271
  },
81272
+ "presentation": "sheet"
81273
+ }
81274
+ }
81275
+ },
81276
+ "modifiers": {
81277
+ "hiddenPath": "$service:himiBrandedForms.hideSignInError"
81278
+ }
81279
+ },
81280
+ {
81281
+ "id": "himi_forms.empty",
81282
+ "body": {
81283
+ "package": "himalaya",
81284
+ "type": "EmptyState",
81285
+ "props": {
81286
+ "icon": "document",
81287
+ "title": "No forms yet",
81288
+ "subtitle": "This business has no forms to fill out right now."
81289
+ }
81290
+ },
81291
+ "modifiers": {
81292
+ "hiddenPath": "$service:himiBrandedForms.noEmpty"
81293
+ }
81294
+ },
81295
+ {
81296
+ "id": "himi_forms.list",
81297
+ "body": {
81298
+ "package": "himalaya",
81299
+ "type": "VStack",
81300
+ "props": {
81301
+ "spacing": 0,
81302
+ "alignment": "leading",
81303
+ "children": [
81412
81304
  {
81413
81305
  "id": "",
81414
81306
  "body": {
81415
81307
  "package": "himalaya",
81416
- "type": "Text",
81417
- "props": {
81418
- "text": "Showing previously loaded content · may be outdated",
81419
- "style": "caption",
81420
- "color": "textSecondary"
81421
- }
81422
- },
81423
- "modifiers": {
81424
- "hiddenPath": "$service:himiBrandedForms.collection.noOffline"
81308
+ "type": "Divider",
81309
+ "props": {}
81425
81310
  }
81426
81311
  },
81427
81312
  {
81428
- "id": "",
81313
+ "id": "himi_forms.rows",
81429
81314
  "body": {
81430
81315
  "package": "himalaya",
81431
- "type": "VStack",
81316
+ "type": "Grid",
81432
81317
  "props": {
81318
+ "columns": 1,
81433
81319
  "spacing": 0,
81434
- "children": [
81320
+ "itemsPath": "$service:himiBrandedForms.forms",
81321
+ "items": [
81435
81322
  {
81436
- "id": "himi_forms.rows.collection.list",
81323
+ "id": "",
81437
81324
  "body": {
81438
81325
  "package": "himalaya",
81439
- "type": "LazyList",
81326
+ "type": "VStack",
81440
81327
  "props": {
81441
- "columns": 1,
81442
- "spacing": 10,
81443
- "itemsPath": "$service:himiBrandedForms.collection.items",
81444
- "items": [
81328
+ "spacing": 0,
81329
+ "alignment": "leading",
81330
+ "children": [
81445
81331
  {
81446
- "id": "himi_forms.rows.collection.list.$item.collectionId",
81332
+ "id": "",
81447
81333
  "body": {
81448
81334
  "package": "himalaya",
81449
- "type": "VStack",
81335
+ "type": "HStack",
81450
81336
  "props": {
81451
- "spacing": 4,
81337
+ "spacing": 12,
81338
+ "alignment": "center",
81452
81339
  "children": [
81453
81340
  {
81454
81341
  "id": "",
81455
81342
  "body": {
81456
81343
  "package": "himalaya",
81457
- "type": "HStack",
81344
+ "type": "VStack",
81458
81345
  "props": {
81459
- "spacing": 12,
81346
+ "spacing": 2,
81347
+ "alignment": "leading",
81460
81348
  "children": [
81461
81349
  {
81462
- "id": "himi_forms.rows.collection.list.$item.collectionId/image",
81350
+ "id": "",
81463
81351
  "body": {
81464
81352
  "package": "himalaya",
81465
- "type": "Image",
81353
+ "type": "Text",
81466
81354
  "props": {
81467
- "url": "$item.collectionImage",
81468
- "contentDescription": "$item.collectionTitle",
81469
- "contentMode": "fill",
81470
- "height": 56,
81471
- "width": 56
81355
+ "text": "$item.title",
81356
+ "style": "bodyEmphasis",
81357
+ "maxLines": 2
81472
81358
  }
81473
- },
81474
- "modifiers": {
81475
- "cornerRadius": 12,
81476
- "hiddenPath": "$item.collectionNoImage"
81477
81359
  }
81478
81360
  },
81479
81361
  {
81480
81362
  "id": "",
81481
81363
  "body": {
81482
81364
  "package": "himalaya",
81483
- "type": "VStack",
81365
+ "type": "Text",
81484
81366
  "props": {
81485
- "spacing": 4,
81486
- "alignment": "leading",
81487
- "children": [
81488
- {
81489
- "id": "",
81490
- "body": {
81491
- "package": "himalaya",
81492
- "type": "Text",
81493
- "props": {
81494
- "text": "$item.collectionTitle",
81495
- "style": "bodyEmphasis",
81496
- "maxLines": 2
81497
- }
81498
- }
81499
- },
81500
- {
81501
- "id": "",
81502
- "body": {
81503
- "package": "himalaya",
81504
- "type": "Text",
81505
- "props": {
81506
- "text": "$item.collectionSubtitle",
81507
- "style": "caption",
81508
- "color": "textSecondary",
81509
- "maxLines": 3,
81510
- "collapseWhenEmpty": true
81511
- }
81512
- }
81513
- },
81514
- {
81515
- "id": "",
81516
- "body": {
81517
- "package": "himalaya",
81518
- "type": "Text",
81519
- "props": {
81520
- "text": "$item.collectionMeta",
81521
- "style": "caption",
81522
- "color": "textSecondary",
81523
- "maxLines": 2,
81524
- "collapseWhenEmpty": true
81525
- }
81526
- }
81527
- },
81528
- {
81529
- "id": "",
81530
- "body": {
81531
- "package": "himalaya",
81532
- "type": "Text",
81533
- "props": {
81534
- "text": "Saved",
81535
- "style": "caption",
81536
- "color": "accentPrimary"
81537
- }
81538
- },
81539
- "modifiers": {
81540
- "hiddenPath": "$item.collectionNotSaved"
81541
- }
81542
- }
81543
- ]
81544
- }
81545
- },
81546
- "modifiers": {
81547
- "weight": 1
81548
- }
81549
- },
81550
- {
81551
- "id": "",
81552
- "body": {
81553
- "package": "himalaya",
81554
- "type": "HStack",
81555
- "props": {
81556
- "spacing": 8,
81557
- "children": [
81558
- {
81559
- "id": "himi_forms.rows.collection.list.$item.collectionId/select",
81560
- "body": {
81561
- "package": "himalaya",
81562
- "type": "Button",
81563
- "props": {
81564
- "title": "$item.collectionSelectLabel",
81565
- "style": "plain",
81566
- "fullWidth": false,
81567
- "action": {
81568
- "actionId": "tier5.himiBrandedForms.collectionSelect",
81569
- "params": {
81570
- "id": "$item.collectionId"
81571
- }
81572
- }
81573
- }
81574
- },
81575
- "modifiers": {
81576
- "hiddenPath": "$service:himiBrandedForms.collection.noSelection"
81577
- }
81578
- },
81579
- {
81580
- "id": "himi_forms.rows.collection.list.$item.collectionId/actions",
81581
- "body": {
81582
- "package": "himalaya",
81583
- "type": "Menu",
81584
- "props": {
81585
- "style": "dropdown",
81586
- "anchor": {
81587
- "id": "",
81588
- "body": {
81589
- "package": "himalaya",
81590
- "type": "Icon",
81591
- "props": {
81592
- "name": "ellipsis",
81593
- "size": 20
81594
- }
81595
- },
81596
- "modifiers": {
81597
- "width": 44,
81598
- "height": 44,
81599
- "accessibilityLabel": "$item.collectionActionsLabel"
81600
- }
81601
- },
81602
- "items": [
81603
- {
81604
- "id": "preview",
81605
- "label": "Quick preview",
81606
- "icon": "search",
81607
- "action": {
81608
- "actionId": "tier5.himiBrandedForms.collectionPreview",
81609
- "params": {
81610
- "id": "$item.collectionId"
81611
- }
81612
- }
81613
- },
81614
- {
81615
- "id": "save",
81616
- "label": "$item.collectionSaveLabel",
81617
- "icon": "bookmark",
81618
- "action": {
81619
- "actionId": "tier5.himiBrandedForms.collectionSave",
81620
- "params": {
81621
- "id": "$item.collectionId"
81622
- }
81623
- }
81624
- },
81625
- {
81626
- "id": "open",
81627
- "label": "Open details",
81628
- "icon": "chevron_right",
81629
- "action": {
81630
- "actionId": "himi.open",
81631
- "params": {
81632
- "screenId": "himi_form",
81633
- "id": "$item.id"
81634
- }
81635
- }
81636
- }
81637
- ]
81638
- }
81639
- }
81640
- }
81641
- ]
81367
+ "text": "$item.subtitle",
81368
+ "style": "footnote",
81369
+ "color": "textSecondary",
81370
+ "maxLines": 2,
81371
+ "collapseWhenEmpty": true
81642
81372
  }
81643
- },
81644
- "modifiers": {
81645
- "hiddenPath": "$item.collectionNoIdentity"
81646
81373
  }
81647
81374
  }
81648
81375
  ]
81649
81376
  }
81377
+ },
81378
+ "modifiers": {
81379
+ "weight": 1
81380
+ }
81381
+ },
81382
+ {
81383
+ "id": "",
81384
+ "body": {
81385
+ "package": "himalaya",
81386
+ "type": "Icon",
81387
+ "props": {
81388
+ "name": "chevron_right",
81389
+ "size": 20,
81390
+ "tint": "textTertiary"
81391
+ }
81392
+ },
81393
+ "modifiers": {
81394
+ "accessibilityRole": "decorative"
81650
81395
  }
81651
81396
  }
81652
81397
  ]
81653
81398
  }
81654
81399
  },
81655
81400
  "modifiers": {
81656
- "onTap": {
81657
- "actionId": "himi.open",
81658
- "params": {
81659
- "screenId": "himi_form",
81660
- "id": "$item.id"
81661
- }
81662
- },
81663
- "haptic": "light",
81664
- "background": {
81665
- "token": "surfaceElevated"
81666
- },
81667
- "border": {
81668
- "width": 1,
81669
- "color": {
81670
- "token": "border"
81671
- }
81672
- },
81673
- "cornerRadius": 12,
81674
81401
  "padding": {
81675
- "top": 12,
81676
- "bottom": 12,
81677
- "leading": 12,
81678
- "trailing": 12
81679
- },
81680
- "fillMaxWidth": true,
81681
- "accessibilityLabel": "$item.collectionTitle",
81682
- "pressFeedback": "scale",
81683
- "transition": {
81684
- "enter": "fadeSlide",
81685
- "direction": "up",
81686
- "distance": 8
81402
+ "top": 14,
81403
+ "bottom": 14
81687
81404
  }
81688
81405
  }
81689
- }
81690
- ],
81691
- "staggerMs": 30,
81692
- "animateItems": true,
81693
- "rowSwipeActions": {
81694
- "trailing": [
81695
- {
81696
- "label": "$item.collectionSaveLabel",
81697
- "icon": "bookmark",
81698
- "action": {
81699
- "actionId": "tier5.himiBrandedForms.collectionSave",
81700
- "params": {
81701
- "id": "$item.collectionId"
81702
- }
81703
- }
81704
- },
81705
- {
81706
- "label": "Preview",
81707
- "icon": "search",
81708
- "action": {
81709
- "actionId": "tier5.himiBrandedForms.collectionPreview",
81710
- "params": {
81711
- "id": "$item.collectionId"
81712
- }
81713
- }
81406
+ },
81407
+ {
81408
+ "id": "",
81409
+ "body": {
81410
+ "package": "himalaya",
81411
+ "type": "Divider",
81412
+ "props": {}
81714
81413
  }
81715
- ]
81716
- }
81414
+ }
81415
+ ]
81717
81416
  }
81718
81417
  },
81719
81418
  "modifiers": {
81720
- "hiddenPath": "$service:himiBrandedForms.collection.hideList"
81721
- }
81722
- },
81723
- {
81724
- "id": "",
81725
- "body": {
81726
- "package": "himalaya",
81727
- "type": "VStack",
81728
- "props": {
81729
- "spacing": 12,
81730
- "children": [
81731
- {
81732
- "id": "himi_forms.rows.collection.grid",
81733
- "body": {
81734
- "package": "himalaya",
81735
- "type": "Grid",
81736
- "props": {
81737
- "columns": 2,
81738
- "columnsMedium": 3,
81739
- "columnsExpanded": 4,
81740
- "spacing": 12,
81741
- "staggerMs": 30,
81742
- "itemsPath": "$service:himiBrandedForms.collection.items",
81743
- "items": [
81744
- {
81745
- "id": "himi_forms.rows.collection.grid.$item.collectionId",
81746
- "body": {
81747
- "package": "himalaya",
81748
- "type": "VStack",
81749
- "props": {
81750
- "spacing": 8,
81751
- "alignment": "leading",
81752
- "children": [
81753
- {
81754
- "id": "",
81755
- "body": {
81756
- "package": "himalaya",
81757
- "type": "VStack",
81758
- "props": {
81759
- "spacing": 4,
81760
- "alignment": "leading",
81761
- "children": [
81762
- {
81763
- "id": "",
81764
- "body": {
81765
- "package": "himalaya",
81766
- "type": "Text",
81767
- "props": {
81768
- "text": "$item.collectionTitle",
81769
- "style": "bodyEmphasis",
81770
- "maxLines": 2
81771
- }
81772
- }
81773
- },
81774
- {
81775
- "id": "",
81776
- "body": {
81777
- "package": "himalaya",
81778
- "type": "Text",
81779
- "props": {
81780
- "text": "$item.collectionSubtitle",
81781
- "style": "caption",
81782
- "color": "textSecondary",
81783
- "maxLines": 3,
81784
- "collapseWhenEmpty": true
81785
- }
81786
- }
81787
- },
81788
- {
81789
- "id": "",
81790
- "body": {
81791
- "package": "himalaya",
81792
- "type": "Text",
81793
- "props": {
81794
- "text": "$item.collectionMeta",
81795
- "style": "caption",
81796
- "color": "textSecondary",
81797
- "maxLines": 2,
81798
- "collapseWhenEmpty": true
81799
- }
81800
- }
81801
- },
81802
- {
81803
- "id": "",
81804
- "body": {
81805
- "package": "himalaya",
81806
- "type": "Text",
81807
- "props": {
81808
- "text": "Saved",
81809
- "style": "caption",
81810
- "color": "accentPrimary"
81811
- }
81812
- },
81813
- "modifiers": {
81814
- "hiddenPath": "$item.collectionNotSaved"
81815
- }
81816
- }
81817
- ]
81818
- }
81819
- }
81820
- },
81821
- {
81822
- "id": "",
81823
- "body": {
81824
- "package": "himalaya",
81825
- "type": "HStack",
81826
- "props": {
81827
- "spacing": 8,
81828
- "children": [
81829
- {
81830
- "id": "himi_forms.rows.collection.grid.$item.collectionId/select",
81831
- "body": {
81832
- "package": "himalaya",
81833
- "type": "Button",
81834
- "props": {
81835
- "title": "$item.collectionSelectLabel",
81836
- "style": "plain",
81837
- "fullWidth": false,
81838
- "action": {
81839
- "actionId": "tier5.himiBrandedForms.collectionSelect",
81840
- "params": {
81841
- "id": "$item.collectionId"
81842
- }
81843
- }
81844
- }
81845
- },
81846
- "modifiers": {
81847
- "hiddenPath": "$service:himiBrandedForms.collection.noSelection"
81848
- }
81849
- },
81850
- {
81851
- "id": "",
81852
- "body": {
81853
- "package": "himalaya",
81854
- "type": "Spacer",
81855
- "props": {}
81856
- }
81857
- },
81858
- {
81859
- "id": "himi_forms.rows.collection.grid.$item.collectionId/actions",
81860
- "body": {
81861
- "package": "himalaya",
81862
- "type": "Menu",
81863
- "props": {
81864
- "style": "dropdown",
81865
- "anchor": {
81866
- "id": "",
81867
- "body": {
81868
- "package": "himalaya",
81869
- "type": "Icon",
81870
- "props": {
81871
- "name": "ellipsis",
81872
- "size": 20
81873
- }
81874
- },
81875
- "modifiers": {
81876
- "width": 44,
81877
- "height": 44,
81878
- "accessibilityLabel": "$item.collectionActionsLabel"
81879
- }
81880
- },
81881
- "items": [
81882
- {
81883
- "id": "preview",
81884
- "label": "Quick preview",
81885
- "icon": "search",
81886
- "action": {
81887
- "actionId": "tier5.himiBrandedForms.collectionPreview",
81888
- "params": {
81889
- "id": "$item.collectionId"
81890
- }
81891
- }
81892
- },
81893
- {
81894
- "id": "save",
81895
- "label": "$item.collectionSaveLabel",
81896
- "icon": "bookmark",
81897
- "action": {
81898
- "actionId": "tier5.himiBrandedForms.collectionSave",
81899
- "params": {
81900
- "id": "$item.collectionId"
81901
- }
81902
- }
81903
- },
81904
- {
81905
- "id": "open",
81906
- "label": "Open details",
81907
- "icon": "chevron_right",
81908
- "action": {
81909
- "actionId": "himi.open",
81910
- "params": {
81911
- "screenId": "himi_form",
81912
- "id": "$item.id"
81913
- }
81914
- }
81915
- }
81916
- ]
81917
- }
81918
- }
81919
- }
81920
- ]
81921
- }
81922
- },
81923
- "modifiers": {
81924
- "hiddenPath": "$item.collectionNoIdentity"
81925
- }
81926
- }
81927
- ]
81928
- }
81929
- },
81930
- "modifiers": {
81931
- "onTap": {
81932
- "actionId": "himi.open",
81933
- "params": {
81934
- "screenId": "himi_form",
81935
- "id": "$item.id"
81936
- }
81937
- },
81938
- "haptic": "light",
81939
- "background": {
81940
- "token": "surfaceElevated"
81941
- },
81942
- "border": {
81943
- "width": 1,
81944
- "color": {
81945
- "token": "border"
81946
- }
81947
- },
81948
- "cornerRadius": 12,
81949
- "padding": {
81950
- "top": 12,
81951
- "bottom": 12,
81952
- "leading": 12,
81953
- "trailing": 12
81954
- },
81955
- "fillMaxWidth": true,
81956
- "accessibilityLabel": "$item.collectionTitle",
81957
- "pressFeedback": "scale",
81958
- "transition": {
81959
- "enter": "fadeSlide",
81960
- "direction": "up",
81961
- "distance": 8
81962
- }
81963
- }
81964
- }
81965
- ]
81966
- }
81967
- }
81968
- }
81969
- ]
81970
- }
81971
- },
81972
- "modifiers": {
81973
- "hiddenPath": "$service:himiBrandedForms.collection.hideGrid"
81419
+ "onTap": {
81420
+ "actionId": "himi.open",
81421
+ "params": {
81422
+ "screenId": "himi_form",
81423
+ "id": "$item.id"
81424
+ }
81425
+ },
81426
+ "pressFeedback": "highlight",
81427
+ "haptic": "light",
81428
+ "accessibilityLabel": "$item.title",
81429
+ "accessibilityRole": "button"
81974
81430
  }
81975
81431
  }
81976
81432
  ]
81977
81433
  }
81434
+ }
81435
+ }
81436
+ ]
81437
+ }
81438
+ },
81439
+ "modifiers": {
81440
+ "hiddenPath": "$service:himiBrandedForms.busy"
81441
+ }
81442
+ }
81443
+ ]
81444
+ }
81445
+ },
81446
+ "modifiers": {
81447
+ "background": {
81448
+ "token": "surfacePrimary"
81449
+ },
81450
+ "padding": {
81451
+ "leading": 16,
81452
+ "trailing": 16,
81453
+ "top": 18,
81454
+ "bottom": 28
81455
+ },
81456
+ "onAppear": {
81457
+ "actionId": "tier5.himiBrandedForms.load"
81458
+ }
81459
+ }
81460
+ },
81461
+ "logicBundle": {
81462
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-forms?integrity=",
81463
+ "integrity": "",
81464
+ "contentType": "application/javascript+ts-bundle",
81465
+ "declaredCapabilities": [
81466
+ "wix_api"
81467
+ ],
81468
+ "minBinaryVersion": "0.1.0",
81469
+ "bundleVersion": "0.0.1"
81470
+ }
81471
+ },
81472
+ "himi_form": {
81473
+ "screenId": "himi_form",
81474
+ "renderer": "sdui_intent",
81475
+ "title": "",
81476
+ "schemaVersion": 1,
81477
+ "cacheControl": {
81478
+ "maxAge": 0,
81479
+ "staleWhileRevalidate": 0
81480
+ },
81481
+ "payload": {
81482
+ "id": "himi_form.root",
81483
+ "body": {
81484
+ "package": "himalaya",
81485
+ "type": "VStack",
81486
+ "props": {
81487
+ "spacing": 24,
81488
+ "alignment": "leading",
81489
+ "children": [
81490
+ {
81491
+ "id": "himi_form.loading",
81492
+ "body": {
81493
+ "package": "himalaya",
81494
+ "type": "VStack",
81495
+ "props": {
81496
+ "spacing": 24,
81497
+ "alignment": "leading",
81498
+ "children": [
81499
+ {
81500
+ "id": "himi_form.skeleton.title",
81501
+ "body": {
81502
+ "package": "himalaya",
81503
+ "type": "Skeleton",
81504
+ "props": {
81505
+ "height": 30,
81506
+ "cornerRadius": 8
81507
+ }
81978
81508
  },
81979
81509
  "modifiers": {
81980
- "hiddenPath": "$service:himiBrandedForms.collection.hideComfortable",
81981
- "padding": {
81982
- "bottom": 12
81983
- }
81510
+ "height": 30,
81511
+ "background": {
81512
+ "token": "surfaceSecondary"
81513
+ },
81514
+ "cornerRadius": 8,
81515
+ "accessibilityRole": "decorative",
81516
+ "width": 220
81984
81517
  }
81985
81518
  },
81986
81519
  {
@@ -81989,539 +81522,558 @@ const SCREENS = runtimeSetting({
81989
81522
  "package": "himalaya",
81990
81523
  "type": "VStack",
81991
81524
  "props": {
81992
- "spacing": 0,
81525
+ "spacing": 8,
81526
+ "alignment": "leading",
81993
81527
  "children": [
81994
81528
  {
81995
- "id": "himi_forms.rows.collection.compact-list",
81529
+ "id": "himi_form.skeleton.1.label",
81996
81530
  "body": {
81997
81531
  "package": "himalaya",
81998
- "type": "LazyList",
81532
+ "type": "Skeleton",
81999
81533
  "props": {
82000
- "columns": 1,
82001
- "spacing": 6,
82002
- "itemsPath": "$service:himiBrandedForms.collection.items",
82003
- "items": [
82004
- {
82005
- "id": "himi_forms.rows.collection.compact-list.$item.collectionId",
82006
- "body": {
82007
- "package": "himalaya",
82008
- "type": "VStack",
82009
- "props": {
82010
- "spacing": 4,
82011
- "children": [
82012
- {
82013
- "id": "",
82014
- "body": {
82015
- "package": "himalaya",
82016
- "type": "HStack",
82017
- "props": {
82018
- "spacing": 12,
82019
- "children": [
82020
- {
82021
- "id": "himi_forms.rows.collection.compact-list.$item.collectionId/image",
82022
- "body": {
82023
- "package": "himalaya",
82024
- "type": "Image",
82025
- "props": {
82026
- "url": "$item.collectionImage",
82027
- "contentDescription": "$item.collectionTitle",
82028
- "contentMode": "fill",
82029
- "height": 56,
82030
- "width": 56
82031
- }
82032
- },
82033
- "modifiers": {
82034
- "cornerRadius": 12,
82035
- "hiddenPath": "$item.collectionNoImage"
82036
- }
82037
- },
82038
- {
82039
- "id": "",
82040
- "body": {
82041
- "package": "himalaya",
82042
- "type": "VStack",
82043
- "props": {
82044
- "spacing": 4,
82045
- "alignment": "leading",
82046
- "children": [
82047
- {
82048
- "id": "",
82049
- "body": {
82050
- "package": "himalaya",
82051
- "type": "Text",
82052
- "props": {
82053
- "text": "$item.collectionTitle",
82054
- "style": "bodyEmphasis",
82055
- "maxLines": 2
82056
- }
82057
- }
82058
- },
82059
- {
82060
- "id": "",
82061
- "body": {
82062
- "package": "himalaya",
82063
- "type": "Text",
82064
- "props": {
82065
- "text": "$item.collectionSubtitle",
82066
- "style": "caption",
82067
- "color": "textSecondary",
82068
- "maxLines": 1,
82069
- "collapseWhenEmpty": true
82070
- }
82071
- }
82072
- },
82073
- {
82074
- "id": "",
82075
- "body": {
82076
- "package": "himalaya",
82077
- "type": "Text",
82078
- "props": {
82079
- "text": "$item.collectionMeta",
82080
- "style": "caption",
82081
- "color": "textSecondary",
82082
- "maxLines": 2,
82083
- "collapseWhenEmpty": true
82084
- }
82085
- }
82086
- },
82087
- {
82088
- "id": "",
82089
- "body": {
82090
- "package": "himalaya",
82091
- "type": "Text",
82092
- "props": {
82093
- "text": "Saved",
82094
- "style": "caption",
82095
- "color": "accentPrimary"
82096
- }
82097
- },
82098
- "modifiers": {
82099
- "hiddenPath": "$item.collectionNotSaved"
82100
- }
82101
- }
82102
- ]
82103
- }
82104
- },
82105
- "modifiers": {
82106
- "weight": 1
82107
- }
82108
- },
82109
- {
82110
- "id": "",
82111
- "body": {
82112
- "package": "himalaya",
82113
- "type": "HStack",
82114
- "props": {
82115
- "spacing": 8,
82116
- "children": [
82117
- {
82118
- "id": "himi_forms.rows.collection.compact-list.$item.collectionId/select",
82119
- "body": {
82120
- "package": "himalaya",
82121
- "type": "Button",
82122
- "props": {
82123
- "title": "$item.collectionSelectLabel",
82124
- "style": "plain",
82125
- "fullWidth": false,
82126
- "action": {
82127
- "actionId": "tier5.himiBrandedForms.collectionSelect",
82128
- "params": {
82129
- "id": "$item.collectionId"
82130
- }
82131
- }
82132
- }
82133
- },
82134
- "modifiers": {
82135
- "hiddenPath": "$service:himiBrandedForms.collection.noSelection"
82136
- }
82137
- },
82138
- {
82139
- "id": "himi_forms.rows.collection.compact-list.$item.collectionId/actions",
82140
- "body": {
82141
- "package": "himalaya",
82142
- "type": "Menu",
82143
- "props": {
82144
- "style": "dropdown",
82145
- "anchor": {
82146
- "id": "",
82147
- "body": {
82148
- "package": "himalaya",
82149
- "type": "Icon",
82150
- "props": {
82151
- "name": "ellipsis",
82152
- "size": 20
82153
- }
82154
- },
82155
- "modifiers": {
82156
- "width": 44,
82157
- "height": 44,
82158
- "accessibilityLabel": "$item.collectionActionsLabel"
82159
- }
82160
- },
82161
- "items": [
82162
- {
82163
- "id": "preview",
82164
- "label": "Quick preview",
82165
- "icon": "search",
82166
- "action": {
82167
- "actionId": "tier5.himiBrandedForms.collectionPreview",
82168
- "params": {
82169
- "id": "$item.collectionId"
82170
- }
82171
- }
82172
- },
82173
- {
82174
- "id": "save",
82175
- "label": "$item.collectionSaveLabel",
82176
- "icon": "bookmark",
82177
- "action": {
82178
- "actionId": "tier5.himiBrandedForms.collectionSave",
82179
- "params": {
82180
- "id": "$item.collectionId"
82181
- }
82182
- }
82183
- },
82184
- {
82185
- "id": "open",
82186
- "label": "Open details",
82187
- "icon": "chevron_right",
82188
- "action": {
82189
- "actionId": "himi.open",
82190
- "params": {
82191
- "screenId": "himi_form",
82192
- "id": "$item.id"
82193
- }
82194
- }
82195
- }
82196
- ]
82197
- }
82198
- }
82199
- }
82200
- ]
82201
- }
82202
- },
82203
- "modifiers": {
82204
- "hiddenPath": "$item.collectionNoIdentity"
82205
- }
82206
- }
82207
- ]
81534
+ "height": 14,
81535
+ "cornerRadius": 8
81536
+ }
81537
+ },
81538
+ "modifiers": {
81539
+ "height": 14,
81540
+ "background": {
81541
+ "token": "surfaceSecondary"
81542
+ },
81543
+ "cornerRadius": 8,
81544
+ "accessibilityRole": "decorative",
81545
+ "width": 110
81546
+ }
81547
+ },
81548
+ {
81549
+ "id": "himi_form.skeleton.1.field",
81550
+ "body": {
81551
+ "package": "himalaya",
81552
+ "type": "Skeleton",
81553
+ "props": {
81554
+ "height": 48,
81555
+ "cornerRadius": 8
81556
+ }
81557
+ },
81558
+ "modifiers": {
81559
+ "height": 48,
81560
+ "background": {
81561
+ "token": "surfaceSecondary"
81562
+ },
81563
+ "cornerRadius": 8,
81564
+ "accessibilityRole": "decorative"
81565
+ }
81566
+ }
81567
+ ]
81568
+ }
81569
+ }
81570
+ },
81571
+ {
81572
+ "id": "",
81573
+ "body": {
81574
+ "package": "himalaya",
81575
+ "type": "VStack",
81576
+ "props": {
81577
+ "spacing": 8,
81578
+ "alignment": "leading",
81579
+ "children": [
81580
+ {
81581
+ "id": "himi_form.skeleton.2.label",
81582
+ "body": {
81583
+ "package": "himalaya",
81584
+ "type": "Skeleton",
81585
+ "props": {
81586
+ "height": 14,
81587
+ "cornerRadius": 8
81588
+ }
81589
+ },
81590
+ "modifiers": {
81591
+ "height": 14,
81592
+ "background": {
81593
+ "token": "surfaceSecondary"
81594
+ },
81595
+ "cornerRadius": 8,
81596
+ "accessibilityRole": "decorative",
81597
+ "width": 110
81598
+ }
81599
+ },
81600
+ {
81601
+ "id": "himi_form.skeleton.2.field",
81602
+ "body": {
81603
+ "package": "himalaya",
81604
+ "type": "Skeleton",
81605
+ "props": {
81606
+ "height": 48,
81607
+ "cornerRadius": 8
81608
+ }
81609
+ },
81610
+ "modifiers": {
81611
+ "height": 48,
81612
+ "background": {
81613
+ "token": "surfaceSecondary"
81614
+ },
81615
+ "cornerRadius": 8,
81616
+ "accessibilityRole": "decorative"
81617
+ }
81618
+ }
81619
+ ]
81620
+ }
81621
+ }
81622
+ },
81623
+ {
81624
+ "id": "",
81625
+ "body": {
81626
+ "package": "himalaya",
81627
+ "type": "VStack",
81628
+ "props": {
81629
+ "spacing": 8,
81630
+ "alignment": "leading",
81631
+ "children": [
81632
+ {
81633
+ "id": "himi_form.skeleton.3.label",
81634
+ "body": {
81635
+ "package": "himalaya",
81636
+ "type": "Skeleton",
81637
+ "props": {
81638
+ "height": 14,
81639
+ "cornerRadius": 8
81640
+ }
81641
+ },
81642
+ "modifiers": {
81643
+ "height": 14,
81644
+ "background": {
81645
+ "token": "surfaceSecondary"
81646
+ },
81647
+ "cornerRadius": 8,
81648
+ "accessibilityRole": "decorative",
81649
+ "width": 110
81650
+ }
81651
+ },
81652
+ {
81653
+ "id": "himi_form.skeleton.3.field",
81654
+ "body": {
81655
+ "package": "himalaya",
81656
+ "type": "Skeleton",
81657
+ "props": {
81658
+ "height": 48,
81659
+ "cornerRadius": 8
81660
+ }
81661
+ },
81662
+ "modifiers": {
81663
+ "height": 48,
81664
+ "background": {
81665
+ "token": "surfaceSecondary"
81666
+ },
81667
+ "cornerRadius": 8,
81668
+ "accessibilityRole": "decorative"
81669
+ }
81670
+ }
81671
+ ]
81672
+ }
81673
+ }
81674
+ }
81675
+ ]
81676
+ }
81677
+ },
81678
+ "modifiers": {
81679
+ "hiddenPath": "$service:himiBrandedForm.hideLoading"
81680
+ }
81681
+ },
81682
+ {
81683
+ "id": "",
81684
+ "body": {
81685
+ "package": "himalaya",
81686
+ "type": "VStack",
81687
+ "props": {
81688
+ "spacing": 8,
81689
+ "alignment": "leading",
81690
+ "children": [
81691
+ {
81692
+ "id": "himi_form.title",
81693
+ "body": {
81694
+ "package": "himalaya",
81695
+ "type": "Text",
81696
+ "props": {
81697
+ "text": "$service:himiBrandedForm.title",
81698
+ "style": "title1"
81699
+ }
81700
+ }
81701
+ },
81702
+ {
81703
+ "id": "",
81704
+ "body": {
81705
+ "package": "himalaya",
81706
+ "type": "Text",
81707
+ "props": {
81708
+ "text": "$service:himiBrandedForm.pageCaption",
81709
+ "style": "footnote",
81710
+ "color": "textSecondary"
81711
+ }
81712
+ },
81713
+ "modifiers": {
81714
+ "hiddenPath": "$service:himiBrandedForm.noPageCaption"
81715
+ }
81716
+ }
81717
+ ]
81718
+ }
81719
+ },
81720
+ "modifiers": {
81721
+ "hiddenPath": "$service:himiBrandedForm.noEntity"
81722
+ }
81723
+ },
81724
+ {
81725
+ "id": "himi_form.fields",
81726
+ "body": {
81727
+ "package": "himalaya",
81728
+ "type": "Grid",
81729
+ "props": {
81730
+ "columns": 1,
81731
+ "spacing": 24,
81732
+ "itemsPath": "$service:himiBrandedForm.rows",
81733
+ "items": [
81734
+ {
81735
+ "id": "himi_form.row.$item.id",
81736
+ "body": {
81737
+ "package": "himalaya",
81738
+ "type": "VStack",
81739
+ "props": {
81740
+ "spacing": 8,
81741
+ "alignment": "leading",
81742
+ "children": [
81743
+ {
81744
+ "id": "",
81745
+ "body": {
81746
+ "package": "himalaya",
81747
+ "type": "Text",
81748
+ "props": {
81749
+ "text": "$item.label",
81750
+ "style": "body"
81751
+ }
81752
+ },
81753
+ "modifiers": {
81754
+ "hiddenPath": "$item.hideLabel"
81755
+ }
81756
+ },
81757
+ {
81758
+ "id": "",
81759
+ "body": {
81760
+ "package": "himalaya",
81761
+ "type": "Text",
81762
+ "props": {
81763
+ "text": "$item.help",
81764
+ "style": "caption",
81765
+ "color": "textSecondary"
81766
+ }
81767
+ },
81768
+ "modifiers": {
81769
+ "hiddenPath": "$item.hideHelp"
81770
+ }
81771
+ },
81772
+ {
81773
+ "id": "himi_form.field.$item.id.text",
81774
+ "body": {
81775
+ "package": "himalaya",
81776
+ "type": "TextField",
81777
+ "props": {
81778
+ "value": "$item.value",
81779
+ "placeholder": "$item.placeholder",
81780
+ "errorPath": "$item.error",
81781
+ "onChange": {
81782
+ "actionId": "tier5.himiBrandedForm.setText",
81783
+ "params": {
81784
+ "target": "$item.target"
81785
+ }
81786
+ },
81787
+ "autoCapitalization": "sentences"
81788
+ }
81789
+ },
81790
+ "modifiers": {
81791
+ "hiddenPath": "$item.notText"
81792
+ }
81793
+ },
81794
+ {
81795
+ "id": "himi_form.field.$item.id.area",
81796
+ "body": {
81797
+ "package": "himalaya",
81798
+ "type": "TextField",
81799
+ "props": {
81800
+ "value": "$item.value",
81801
+ "placeholder": "$item.placeholder",
81802
+ "errorPath": "$item.error",
81803
+ "onChange": {
81804
+ "actionId": "tier5.himiBrandedForm.setText",
81805
+ "params": {
81806
+ "target": "$item.target"
81807
+ }
81808
+ },
81809
+ "multilineMaxLines": 6,
81810
+ "autoCapitalization": "sentences"
81811
+ }
81812
+ },
81813
+ "modifiers": {
81814
+ "hiddenPath": "$item.notArea"
81815
+ }
81816
+ },
81817
+ {
81818
+ "id": "himi_form.field.$item.id.email",
81819
+ "body": {
81820
+ "package": "himalaya",
81821
+ "type": "TextField",
81822
+ "props": {
81823
+ "value": "$item.value",
81824
+ "placeholder": "$item.placeholder",
81825
+ "errorPath": "$item.error",
81826
+ "onChange": {
81827
+ "actionId": "tier5.himiBrandedForm.setText",
81828
+ "params": {
81829
+ "target": "$item.target"
81830
+ }
81831
+ },
81832
+ "keyboard": "email",
81833
+ "autoCapitalization": "none",
81834
+ "suggestions": "off",
81835
+ "validation": {
81836
+ "type": "email",
81837
+ "message": "Enter a valid email."
81838
+ }
81839
+ }
81840
+ },
81841
+ "modifiers": {
81842
+ "hiddenPath": "$item.notEmail"
81843
+ }
81844
+ },
81845
+ {
81846
+ "id": "himi_form.field.$item.id.phone",
81847
+ "body": {
81848
+ "package": "himalaya",
81849
+ "type": "TextField",
81850
+ "props": {
81851
+ "value": "$item.value",
81852
+ "placeholder": "$item.placeholder",
81853
+ "errorPath": "$item.error",
81854
+ "onChange": {
81855
+ "actionId": "tier5.himiBrandedForm.setText",
81856
+ "params": {
81857
+ "target": "$item.target"
81858
+ }
81859
+ },
81860
+ "keyboard": "phone"
81861
+ }
81862
+ },
81863
+ "modifiers": {
81864
+ "hiddenPath": "$item.notPhone"
81865
+ }
81866
+ },
81867
+ {
81868
+ "id": "himi_form.field.$item.id.number",
81869
+ "body": {
81870
+ "package": "himalaya",
81871
+ "type": "TextField",
81872
+ "props": {
81873
+ "value": "$item.value",
81874
+ "placeholder": "$item.placeholder",
81875
+ "errorPath": "$item.error",
81876
+ "onChange": {
81877
+ "actionId": "tier5.himiBrandedForm.setText",
81878
+ "params": {
81879
+ "target": "$item.target"
81880
+ }
81881
+ },
81882
+ "keyboard": "decimal",
81883
+ "validation": {
81884
+ "type": "number",
81885
+ "message": "Enter a number."
81886
+ }
81887
+ }
81888
+ },
81889
+ "modifiers": {
81890
+ "hiddenPath": "$item.notNumber"
81891
+ }
81892
+ },
81893
+ {
81894
+ "id": "himi_form.field.$item.id.url",
81895
+ "body": {
81896
+ "package": "himalaya",
81897
+ "type": "TextField",
81898
+ "props": {
81899
+ "value": "$item.value",
81900
+ "placeholder": "$item.placeholder",
81901
+ "errorPath": "$item.error",
81902
+ "onChange": {
81903
+ "actionId": "tier5.himiBrandedForm.setText",
81904
+ "params": {
81905
+ "target": "$item.target"
81906
+ }
81907
+ },
81908
+ "keyboard": "url",
81909
+ "autoCapitalization": "none",
81910
+ "suggestions": "off"
81911
+ }
81912
+ },
81913
+ "modifiers": {
81914
+ "hiddenPath": "$item.notUrl"
81915
+ }
81916
+ },
81917
+ {
81918
+ "id": "",
81919
+ "body": {
81920
+ "package": "himalaya",
81921
+ "type": "HStack",
81922
+ "props": {
81923
+ "spacing": 8,
81924
+ "alignment": "center",
81925
+ "children": [
81926
+ {
81927
+ "id": "",
81928
+ "body": {
81929
+ "package": "himalaya",
81930
+ "type": "VStack",
81931
+ "props": {
81932
+ "spacing": 0,
81933
+ "alignment": "leading",
81934
+ "children": [
81935
+ {
81936
+ "id": "",
81937
+ "body": {
81938
+ "package": "himalaya",
81939
+ "type": "Text",
81940
+ "props": {
81941
+ "text": "$item.dateText",
81942
+ "style": "body"
81943
+ }
81944
+ },
81945
+ "modifiers": {
81946
+ "hiddenPath": "$item.hideDateValue"
81947
+ }
81948
+ },
81949
+ {
81950
+ "id": "",
81951
+ "body": {
81952
+ "package": "himalaya",
81953
+ "type": "Text",
81954
+ "props": {
81955
+ "text": "$item.placeholder",
81956
+ "style": "body",
81957
+ "color": "textTertiary"
82208
81958
  }
81959
+ },
81960
+ "modifiers": {
81961
+ "hiddenPath": "$item.hideDatePlaceholder"
82209
81962
  }
82210
81963
  }
82211
81964
  ]
82212
81965
  }
82213
81966
  },
82214
81967
  "modifiers": {
82215
- "onTap": {
82216
- "actionId": "himi.open",
82217
- "params": {
82218
- "screenId": "himi_form",
82219
- "id": "$item.id"
82220
- }
82221
- },
82222
- "haptic": "light",
82223
- "background": {
82224
- "token": "surfaceElevated"
82225
- },
82226
- "border": {
82227
- "width": 1,
82228
- "color": {
82229
- "token": "border"
82230
- }
82231
- },
82232
- "cornerRadius": 12,
82233
- "padding": {
82234
- "top": 8,
82235
- "bottom": 8,
82236
- "leading": 12,
82237
- "trailing": 12
82238
- },
82239
- "fillMaxWidth": true,
82240
- "accessibilityLabel": "$item.collectionTitle",
82241
- "pressFeedback": "scale",
82242
- "transition": {
82243
- "enter": "fadeSlide",
82244
- "direction": "up",
82245
- "distance": 8
82246
- }
81968
+ "weight": 1
82247
81969
  }
82248
- }
82249
- ],
82250
- "staggerMs": 30,
82251
- "animateItems": true,
82252
- "rowSwipeActions": {
82253
- "trailing": [
82254
- {
82255
- "label": "$item.collectionSaveLabel",
82256
- "icon": "bookmark",
82257
- "action": {
82258
- "actionId": "tier5.himiBrandedForms.collectionSave",
82259
- "params": {
82260
- "id": "$item.collectionId"
82261
- }
81970
+ },
81971
+ {
81972
+ "id": "",
81973
+ "body": {
81974
+ "package": "himalaya",
81975
+ "type": "Icon",
81976
+ "props": {
81977
+ "name": "calendar",
81978
+ "size": 20,
81979
+ "tint": "textSecondary"
82262
81980
  }
82263
81981
  },
82264
- {
82265
- "label": "Preview",
82266
- "icon": "search",
82267
- "action": {
82268
- "actionId": "tier5.himiBrandedForms.collectionPreview",
82269
- "params": {
82270
- "id": "$item.collectionId"
81982
+ "modifiers": {
81983
+ "accessibilityRole": "decorative"
81984
+ }
81985
+ }
81986
+ ]
81987
+ }
81988
+ },
81989
+ "modifiers": {
81990
+ "border": {
81991
+ "width": 1,
81992
+ "color": {
81993
+ "token": "border"
81994
+ }
81995
+ },
81996
+ "cornerRadius": 8,
81997
+ "padding": {
81998
+ "leading": 12,
81999
+ "trailing": 12,
82000
+ "top": 8,
82001
+ "bottom": 8
82002
+ },
82003
+ "onTap": {
82004
+ "actionId": "tier5.himiBrandedForm.openDate",
82005
+ "params": {
82006
+ "target": "$item.target"
82007
+ }
82008
+ },
82009
+ "accessibilityLabel": "$item.label",
82010
+ "accessibilityValue": "$item.dateText",
82011
+ "accessibilityRole": "button",
82012
+ "hiddenPath": "$item.notDate"
82013
+ }
82014
+ },
82015
+ {
82016
+ "id": "himi_form.options.$item.id",
82017
+ "body": {
82018
+ "package": "himalaya",
82019
+ "type": "Grid",
82020
+ "props": {
82021
+ "columns": 1,
82022
+ "spacing": 14,
82023
+ "itemsPath": "$item.options",
82024
+ "items": [
82025
+ {
82026
+ "id": "himi_form.option.$item.id",
82027
+ "body": {
82028
+ "package": "himalaya",
82029
+ "type": "SelectionControl",
82030
+ "props": {
82031
+ "kind": "radio",
82032
+ "label": "$item.label",
82033
+ "valuePath": "$item.selected",
82034
+ "onChange": {
82035
+ "actionId": "tier5.himiBrandedForm.choose",
82036
+ "params": {
82037
+ "target": "$item.target",
82038
+ "option": "$item.value"
82039
+ }
82271
82040
  }
82272
82041
  }
82273
82042
  }
82274
- ]
82275
- }
82043
+ }
82044
+ ]
82276
82045
  }
82277
82046
  },
82278
82047
  "modifiers": {
82279
- "hiddenPath": "$service:himiBrandedForms.collection.hideList"
82048
+ "hiddenPath": "$item.notChoice"
82280
82049
  }
82281
82050
  },
82282
82051
  {
82283
- "id": "",
82052
+ "id": "himi_form.checks.$item.id",
82284
82053
  "body": {
82285
82054
  "package": "himalaya",
82286
- "type": "VStack",
82055
+ "type": "Grid",
82287
82056
  "props": {
82288
- "spacing": 12,
82289
- "children": [
82057
+ "columns": 1,
82058
+ "spacing": 14,
82059
+ "itemsPath": "$item.options",
82060
+ "items": [
82290
82061
  {
82291
- "id": "himi_forms.rows.collection.compact-grid",
82062
+ "id": "himi_form.check.$item.id",
82292
82063
  "body": {
82293
- "package": "himalaya",
82294
- "type": "Grid",
82295
- "props": {
82296
- "columns": 2,
82297
- "columnsMedium": 3,
82298
- "columnsExpanded": 4,
82299
- "spacing": 8,
82300
- "staggerMs": 30,
82301
- "itemsPath": "$service:himiBrandedForms.collection.items",
82302
- "items": [
82303
- {
82304
- "id": "himi_forms.rows.collection.compact-grid.$item.collectionId",
82305
- "body": {
82306
- "package": "himalaya",
82307
- "type": "VStack",
82308
- "props": {
82309
- "spacing": 8,
82310
- "alignment": "leading",
82311
- "children": [
82312
- {
82313
- "id": "",
82314
- "body": {
82315
- "package": "himalaya",
82316
- "type": "VStack",
82317
- "props": {
82318
- "spacing": 4,
82319
- "alignment": "leading",
82320
- "children": [
82321
- {
82322
- "id": "",
82323
- "body": {
82324
- "package": "himalaya",
82325
- "type": "Text",
82326
- "props": {
82327
- "text": "$item.collectionTitle",
82328
- "style": "bodyEmphasis",
82329
- "maxLines": 2
82330
- }
82331
- }
82332
- },
82333
- {
82334
- "id": "",
82335
- "body": {
82336
- "package": "himalaya",
82337
- "type": "Text",
82338
- "props": {
82339
- "text": "$item.collectionSubtitle",
82340
- "style": "caption",
82341
- "color": "textSecondary",
82342
- "maxLines": 1,
82343
- "collapseWhenEmpty": true
82344
- }
82345
- }
82346
- },
82347
- {
82348
- "id": "",
82349
- "body": {
82350
- "package": "himalaya",
82351
- "type": "Text",
82352
- "props": {
82353
- "text": "$item.collectionMeta",
82354
- "style": "caption",
82355
- "color": "textSecondary",
82356
- "maxLines": 2,
82357
- "collapseWhenEmpty": true
82358
- }
82359
- }
82360
- },
82361
- {
82362
- "id": "",
82363
- "body": {
82364
- "package": "himalaya",
82365
- "type": "Text",
82366
- "props": {
82367
- "text": "Saved",
82368
- "style": "caption",
82369
- "color": "accentPrimary"
82370
- }
82371
- },
82372
- "modifiers": {
82373
- "hiddenPath": "$item.collectionNotSaved"
82374
- }
82375
- }
82376
- ]
82377
- }
82378
- }
82379
- },
82380
- {
82381
- "id": "",
82382
- "body": {
82383
- "package": "himalaya",
82384
- "type": "HStack",
82385
- "props": {
82386
- "spacing": 8,
82387
- "children": [
82388
- {
82389
- "id": "himi_forms.rows.collection.compact-grid.$item.collectionId/select",
82390
- "body": {
82391
- "package": "himalaya",
82392
- "type": "Button",
82393
- "props": {
82394
- "title": "$item.collectionSelectLabel",
82395
- "style": "plain",
82396
- "fullWidth": false,
82397
- "action": {
82398
- "actionId": "tier5.himiBrandedForms.collectionSelect",
82399
- "params": {
82400
- "id": "$item.collectionId"
82401
- }
82402
- }
82403
- }
82404
- },
82405
- "modifiers": {
82406
- "hiddenPath": "$service:himiBrandedForms.collection.noSelection"
82407
- }
82408
- },
82409
- {
82410
- "id": "",
82411
- "body": {
82412
- "package": "himalaya",
82413
- "type": "Spacer",
82414
- "props": {}
82415
- }
82416
- },
82417
- {
82418
- "id": "himi_forms.rows.collection.compact-grid.$item.collectionId/actions",
82419
- "body": {
82420
- "package": "himalaya",
82421
- "type": "Menu",
82422
- "props": {
82423
- "style": "dropdown",
82424
- "anchor": {
82425
- "id": "",
82426
- "body": {
82427
- "package": "himalaya",
82428
- "type": "Icon",
82429
- "props": {
82430
- "name": "ellipsis",
82431
- "size": 20
82432
- }
82433
- },
82434
- "modifiers": {
82435
- "width": 44,
82436
- "height": 44,
82437
- "accessibilityLabel": "$item.collectionActionsLabel"
82438
- }
82439
- },
82440
- "items": [
82441
- {
82442
- "id": "preview",
82443
- "label": "Quick preview",
82444
- "icon": "search",
82445
- "action": {
82446
- "actionId": "tier5.himiBrandedForms.collectionPreview",
82447
- "params": {
82448
- "id": "$item.collectionId"
82449
- }
82450
- }
82451
- },
82452
- {
82453
- "id": "save",
82454
- "label": "$item.collectionSaveLabel",
82455
- "icon": "bookmark",
82456
- "action": {
82457
- "actionId": "tier5.himiBrandedForms.collectionSave",
82458
- "params": {
82459
- "id": "$item.collectionId"
82460
- }
82461
- }
82462
- },
82463
- {
82464
- "id": "open",
82465
- "label": "Open details",
82466
- "icon": "chevron_right",
82467
- "action": {
82468
- "actionId": "himi.open",
82469
- "params": {
82470
- "screenId": "himi_form",
82471
- "id": "$item.id"
82472
- }
82473
- }
82474
- }
82475
- ]
82476
- }
82477
- }
82478
- }
82479
- ]
82480
- }
82481
- },
82482
- "modifiers": {
82483
- "hiddenPath": "$item.collectionNoIdentity"
82484
- }
82485
- }
82486
- ]
82487
- }
82488
- },
82489
- "modifiers": {
82490
- "onTap": {
82491
- "actionId": "himi.open",
82492
- "params": {
82493
- "screenId": "himi_form",
82494
- "id": "$item.id"
82495
- }
82496
- },
82497
- "haptic": "light",
82498
- "background": {
82499
- "token": "surfaceElevated"
82500
- },
82501
- "border": {
82502
- "width": 1,
82503
- "color": {
82504
- "token": "border"
82505
- }
82506
- },
82507
- "cornerRadius": 12,
82508
- "padding": {
82509
- "top": 8,
82510
- "bottom": 8,
82511
- "leading": 12,
82512
- "trailing": 12
82513
- },
82514
- "fillMaxWidth": true,
82515
- "accessibilityLabel": "$item.collectionTitle",
82516
- "pressFeedback": "scale",
82517
- "transition": {
82518
- "enter": "fadeSlide",
82519
- "direction": "up",
82520
- "distance": 8
82521
- }
82522
- }
82064
+ "package": "himalaya",
82065
+ "type": "SelectionControl",
82066
+ "props": {
82067
+ "kind": "checkbox",
82068
+ "label": "$item.label",
82069
+ "valuePath": "$item.selected",
82070
+ "onChange": {
82071
+ "actionId": "tier5.himiBrandedForm.toggleOption",
82072
+ "params": {
82073
+ "target": "$item.target",
82074
+ "option": "$item.value"
82523
82075
  }
82524
- ]
82076
+ }
82525
82077
  }
82526
82078
  }
82527
82079
  }
@@ -82529,577 +82081,464 @@ const SCREENS = runtimeSetting({
82529
82081
  }
82530
82082
  },
82531
82083
  "modifiers": {
82532
- "hiddenPath": "$service:himiBrandedForms.collection.hideGrid"
82084
+ "hiddenPath": "$item.notMulti"
82533
82085
  }
82534
- }
82535
- ]
82536
- }
82537
- },
82538
- "modifiers": {
82539
- "hiddenPath": "$service:himiBrandedForms.collection.hideCompact",
82540
- "padding": {
82541
- "bottom": 12
82542
- }
82543
- }
82544
- },
82545
- {
82546
- "id": "",
82547
- "body": {
82548
- "package": "himalaya",
82549
- "type": "VStack",
82550
- "props": {
82551
- "spacing": 8,
82552
- "children": [
82086
+ },
82087
+ {
82088
+ "id": "himi_form.checkbox.$item.id",
82089
+ "body": {
82090
+ "package": "himalaya",
82091
+ "type": "SelectionControl",
82092
+ "props": {
82093
+ "kind": "checkbox",
82094
+ "label": "$item.checkLabel",
82095
+ "valuePath": "$item.checked",
82096
+ "onChange": {
82097
+ "actionId": "tier5.himiBrandedForm.toggleCheck",
82098
+ "params": {
82099
+ "target": "$item.target"
82100
+ }
82101
+ }
82102
+ }
82103
+ },
82104
+ "modifiers": {
82105
+ "hiddenPath": "$item.notCheck"
82106
+ }
82107
+ },
82553
82108
  {
82554
82109
  "id": "",
82555
82110
  "body": {
82556
82111
  "package": "himalaya",
82557
82112
  "type": "Text",
82558
82113
  "props": {
82559
- "text": "No matching items",
82560
- "style": "bodyEmphasis"
82114
+ "text": "$item.displayText",
82115
+ "style": "body"
82561
82116
  }
82117
+ },
82118
+ "modifiers": {
82119
+ "hiddenPath": "$item.notDisplay"
82562
82120
  }
82563
82121
  },
82564
82122
  {
82565
- "id": "btn_tier5_himibrandedforms_collectionclear",
82123
+ "id": "",
82566
82124
  "body": {
82567
82125
  "package": "himalaya",
82568
- "type": "Button",
82126
+ "type": "Text",
82569
82127
  "props": {
82570
- "title": "Clear filters",
82571
- "style": "secondary",
82572
- "action": {
82573
- "actionId": "tier5.himiBrandedForms.collectionClear"
82574
- }
82128
+ "text": "$item.error",
82129
+ "style": "caption",
82130
+ "color": "danger"
82575
82131
  }
82132
+ },
82133
+ "modifiers": {
82134
+ "hiddenPath": "$item.noErrorLine"
82576
82135
  }
82577
82136
  }
82578
82137
  ]
82579
82138
  }
82139
+ }
82140
+ }
82141
+ ]
82142
+ }
82143
+ },
82144
+ "modifiers": {
82145
+ "hiddenPath": "$service:himiBrandedForm.hideForm"
82146
+ }
82147
+ },
82148
+ {
82149
+ "id": "himi_form.unsupported",
82150
+ "body": {
82151
+ "package": "himalaya",
82152
+ "type": "VStack",
82153
+ "props": {
82154
+ "spacing": 6,
82155
+ "alignment": "leading",
82156
+ "children": [
82157
+ {
82158
+ "id": "",
82159
+ "body": {
82160
+ "package": "himalaya",
82161
+ "type": "Text",
82162
+ "props": {
82163
+ "text": "Fill out this form on our website.",
82164
+ "style": "body"
82165
+ }
82166
+ }
82167
+ },
82168
+ {
82169
+ "id": "himi_form.unsupported.link",
82170
+ "body": {
82171
+ "package": "himalaya",
82172
+ "type": "Button",
82173
+ "props": {
82174
+ "title": "Open website",
82175
+ "style": "plain",
82176
+ "trailingIcon": "external_link",
82177
+ "action": {
82178
+ "actionId": "tier5.himiBrandedForm.openWebsite"
82179
+ }
82180
+ }
82181
+ },
82182
+ "modifiers": {
82183
+ "hiddenPath": "$service:himiBrandedForm.hideOpenWebsite"
82184
+ }
82185
+ }
82186
+ ]
82187
+ }
82188
+ },
82189
+ "modifiers": {
82190
+ "background": {
82191
+ "token": "surfaceSecondary"
82192
+ },
82193
+ "cornerRadius": 8,
82194
+ "padding": {
82195
+ "leading": 16,
82196
+ "trailing": 16,
82197
+ "top": 14,
82198
+ "bottom": 14
82199
+ },
82200
+ "hiddenPath": "$service:himiBrandedForm.hideUnsupported"
82201
+ }
82202
+ },
82203
+ {
82204
+ "id": "himi_form.closed",
82205
+ "body": {
82206
+ "package": "himalaya",
82207
+ "type": "VStack",
82208
+ "props": {
82209
+ "spacing": 6,
82210
+ "alignment": "leading",
82211
+ "children": [
82212
+ {
82213
+ "id": "",
82214
+ "body": {
82215
+ "package": "himalaya",
82216
+ "type": "Text",
82217
+ "props": {
82218
+ "text": "This form no longer takes responses.",
82219
+ "style": "body"
82220
+ }
82221
+ }
82222
+ },
82223
+ {
82224
+ "id": "himi_form.closed.link",
82225
+ "body": {
82226
+ "package": "himalaya",
82227
+ "type": "Button",
82228
+ "props": {
82229
+ "title": "Back to forms",
82230
+ "style": "plain",
82231
+ "action": {
82232
+ "actionId": "himi.open",
82233
+ "params": {
82234
+ "screenId": "himi_forms"
82235
+ }
82236
+ }
82237
+ }
82238
+ }
82239
+ }
82240
+ ]
82241
+ }
82242
+ },
82243
+ "modifiers": {
82244
+ "background": {
82245
+ "token": "surfaceSecondary"
82246
+ },
82247
+ "cornerRadius": 8,
82248
+ "padding": {
82249
+ "leading": 16,
82250
+ "trailing": 16,
82251
+ "top": 14,
82252
+ "bottom": 14
82253
+ },
82254
+ "hiddenPath": "$service:himiBrandedForm.hideClosed"
82255
+ }
82256
+ },
82257
+ {
82258
+ "id": "himi_form.done",
82259
+ "body": {
82260
+ "package": "himalaya",
82261
+ "type": "VStack",
82262
+ "props": {
82263
+ "spacing": 12,
82264
+ "alignment": "center",
82265
+ "children": [
82266
+ {
82267
+ "id": "",
82268
+ "body": {
82269
+ "package": "himalaya",
82270
+ "type": "Icon",
82271
+ "props": {
82272
+ "name": "success",
82273
+ "size": 48,
82274
+ "tint": "success"
82275
+ }
82276
+ },
82277
+ "modifiers": {
82278
+ "accessibilityRole": "decorative"
82279
+ }
82280
+ },
82281
+ {
82282
+ "id": "",
82283
+ "body": {
82284
+ "package": "himalaya",
82285
+ "type": "Text",
82286
+ "props": {
82287
+ "text": "$service:himiBrandedForm.doneTitle",
82288
+ "style": "title2",
82289
+ "textAlign": "center"
82290
+ }
82291
+ }
82292
+ },
82293
+ {
82294
+ "id": "",
82295
+ "body": {
82296
+ "package": "himalaya",
82297
+ "type": "Text",
82298
+ "props": {
82299
+ "text": "$service:himiBrandedForm.doneBody",
82300
+ "style": "body",
82301
+ "color": "textSecondary",
82302
+ "textAlign": "center"
82303
+ }
82304
+ }
82305
+ }
82306
+ ]
82307
+ }
82308
+ },
82309
+ "modifiers": {
82310
+ "padding": {
82311
+ "top": 72,
82312
+ "leading": 8,
82313
+ "trailing": 8
82314
+ },
82315
+ "fillMaxWidth": true,
82316
+ "hiddenPath": "$service:himiBrandedForm.hideDone"
82317
+ }
82318
+ },
82319
+ {
82320
+ "id": "himi_form.offline",
82321
+ "body": {
82322
+ "package": "himalaya",
82323
+ "type": "ErrorState",
82324
+ "props": {
82325
+ "variant": "offline",
82326
+ "placement": "section",
82327
+ "ctaLabel": "Try again",
82328
+ "cta": {
82329
+ "actionId": "tier5.himiBrandedForm.load",
82330
+ "params": {
82331
+ "siteUrl": "https://shayco5.wixsite.com/amit1"
82332
+ }
82333
+ }
82334
+ }
82335
+ },
82336
+ "modifiers": {
82337
+ "hiddenPath": "$service:himiBrandedForm.hideOfflineError"
82338
+ }
82339
+ },
82340
+ {
82341
+ "id": "himi_form.error",
82342
+ "body": {
82343
+ "package": "himalaya",
82344
+ "type": "ErrorState",
82345
+ "props": {
82346
+ "variant": "server",
82347
+ "placement": "section",
82348
+ "title": "Unable to load this form",
82349
+ "ctaLabel": "Try again",
82350
+ "cta": {
82351
+ "actionId": "tier5.himiBrandedForm.load",
82352
+ "params": {
82353
+ "siteUrl": "https://shayco5.wixsite.com/amit1"
82354
+ }
82355
+ }
82356
+ }
82357
+ },
82358
+ "modifiers": {
82359
+ "hiddenPath": "$service:himiBrandedForm.hideServerError"
82360
+ }
82361
+ },
82362
+ {
82363
+ "id": "himi_form.not_found",
82364
+ "body": {
82365
+ "package": "himalaya",
82366
+ "type": "VStack",
82367
+ "props": {
82368
+ "spacing": 10,
82369
+ "alignment": "center",
82370
+ "children": [
82371
+ {
82372
+ "id": "",
82373
+ "body": {
82374
+ "package": "himalaya",
82375
+ "type": "Icon",
82376
+ "props": {
82377
+ "name": "document",
82378
+ "size": 32,
82379
+ "tint": "textTertiary"
82380
+ }
82580
82381
  },
82581
82382
  "modifiers": {
82582
- "hiddenPath": "$service:himiBrandedForms.collection.noEmpty",
82583
- "padding": {
82584
- "bottom": 12
82383
+ "accessibilityRole": "decorative"
82384
+ }
82385
+ },
82386
+ {
82387
+ "id": "himi_form.not_found_title",
82388
+ "body": {
82389
+ "package": "himalaya",
82390
+ "type": "Text",
82391
+ "props": {
82392
+ "text": "Form not found",
82393
+ "style": "title3"
82585
82394
  }
82586
82395
  }
82587
82396
  },
82588
82397
  {
82589
- "id": "himi_forms.rows.collection.sheet",
82398
+ "id": "",
82590
82399
  "body": {
82591
82400
  "package": "himalaya",
82592
- "type": "BottomSheet",
82401
+ "type": "Text",
82593
82402
  "props": {
82594
- "presentedPath": "$service:himiBrandedForms.collection.filtersPresented",
82595
- "dismissible": true,
82596
- "showGrabber": true,
82597
- "onDismiss": {
82598
- "actionId": "tier5.himiBrandedForms.collectionDismissFilters"
82599
- },
82600
- "content": {
82601
- "id": "",
82602
- "body": {
82603
- "package": "himalaya",
82604
- "type": "VStack",
82605
- "props": {
82606
- "spacing": 16,
82607
- "children": [
82608
- {
82609
- "id": "",
82610
- "body": {
82611
- "package": "himalaya",
82612
- "type": "Text",
82613
- "props": {
82614
- "text": "Make this view yours",
82615
- "style": "title2"
82616
- }
82617
- }
82618
- },
82619
- {
82620
- "id": "",
82621
- "body": {
82622
- "package": "himalaya",
82623
- "type": "Text",
82624
- "props": {
82625
- "text": "$service:himiBrandedForms.collection.persistenceLabel",
82626
- "style": "caption",
82627
- "color": "textSecondary"
82628
- }
82629
- }
82630
- },
82631
- {
82632
- "id": "",
82633
- "body": {
82634
- "package": "himalaya",
82635
- "type": "Text",
82636
- "props": {
82637
- "text": "Sort",
82638
- "style": "bodyEmphasis"
82639
- }
82640
- }
82641
- },
82642
- {
82643
- "id": "segmented_tier5_himibrandedforms_collectionsort",
82644
- "body": {
82645
- "package": "himalaya",
82646
- "type": "SegmentedControl",
82647
- "props": {
82648
- "options": [
82649
- {
82650
- "id": "default",
82651
- "label": "Original"
82652
- },
82653
- {
82654
- "id": "az",
82655
- "label": "A–Z"
82656
- },
82657
- {
82658
- "id": "za",
82659
- "label": "Z–A"
82660
- }
82661
- ],
82662
- "selectedId": "$service:himiBrandedForms.collection.sort",
82663
- "onChange": {
82664
- "actionId": "tier5.himiBrandedForms.collectionSort"
82665
- }
82666
- }
82667
- }
82668
- },
82669
- {
82670
- "id": "",
82671
- "body": {
82672
- "package": "himalaya",
82673
- "type": "Text",
82674
- "props": {
82675
- "text": "Density",
82676
- "style": "bodyEmphasis"
82677
- }
82678
- }
82679
- },
82680
- {
82681
- "id": "segmented_tier5_himibrandedforms_collectiondensity",
82682
- "body": {
82683
- "package": "himalaya",
82684
- "type": "SegmentedControl",
82685
- "props": {
82686
- "options": [
82687
- {
82688
- "id": "comfortable",
82689
- "label": "Comfortable"
82690
- },
82691
- {
82692
- "id": "compact",
82693
- "label": "Compact"
82694
- }
82695
- ],
82696
- "selectedId": "$service:himiBrandedForms.collection.density",
82697
- "onChange": {
82698
- "actionId": "tier5.himiBrandedForms.collectionDensity"
82699
- }
82700
- }
82701
- }
82702
- },
82703
- {
82704
- "id": "",
82705
- "body": {
82706
- "package": "himalaya",
82707
- "type": "Text",
82708
- "props": {
82709
- "text": "Saved views",
82710
- "style": "bodyEmphasis"
82711
- }
82712
- }
82713
- },
82714
- {
82715
- "id": "",
82716
- "body": {
82717
- "package": "himalaya",
82718
- "type": "LazyList",
82719
- "props": {
82720
- "itemsPath": "$service:himiBrandedForms.collection.savedViews",
82721
- "items": [
82722
- {
82723
- "id": "",
82724
- "body": {
82725
- "package": "himalaya",
82726
- "type": "HStack",
82727
- "props": {
82728
- "spacing": 8,
82729
- "children": [
82730
- {
82731
- "id": "btn_tier5_himibrandedforms_collectionapplyview",
82732
- "body": {
82733
- "package": "himalaya",
82734
- "type": "Button",
82735
- "props": {
82736
- "title": "$item.name",
82737
- "style": "secondary",
82738
- "action": {
82739
- "actionId": "tier5.himiBrandedForms.collectionApplyView",
82740
- "params": {
82741
- "id": "$item.id"
82742
- }
82743
- }
82744
- }
82745
- }
82746
- },
82747
- {
82748
- "id": "btn_tier5_himibrandedforms_collectionremoveview",
82749
- "body": {
82750
- "package": "himalaya",
82751
- "type": "Button",
82752
- "props": {
82753
- "title": "Remove",
82754
- "style": "plain",
82755
- "action": {
82756
- "actionId": "tier5.himiBrandedForms.collectionRemoveView",
82757
- "params": {
82758
- "id": "$item.id"
82759
- }
82760
- }
82761
- }
82762
- }
82763
- }
82764
- ]
82765
- }
82766
- }
82767
- }
82768
- ]
82769
- }
82770
- },
82771
- "modifiers": {
82772
- "hiddenPath": "$service:himiBrandedForms.collection.noSavedViews"
82773
- }
82774
- },
82775
- {
82776
- "id": "himi_forms.rows.collection.view-name",
82777
- "body": {
82778
- "package": "himalaya",
82779
- "type": "TextField",
82780
- "props": {
82781
- "placeholder": "Name this view",
82782
- "valuePath": "$service:himiBrandedForms.collection.viewName",
82783
- "onChange": {
82784
- "actionId": "tier5.himiBrandedForms.collectionViewName"
82785
- }
82786
- }
82787
- }
82788
- },
82789
- {
82790
- "id": "himi_forms.rows.collection.remember-view",
82791
- "body": {
82792
- "package": "himalaya",
82793
- "type": "Button",
82794
- "props": {
82795
- "title": "Save current view",
82796
- "style": "secondary",
82797
- "action": {
82798
- "actionId": "tier5.himiBrandedForms.collectionRememberView"
82799
- }
82800
- }
82801
- }
82802
- },
82803
- {
82804
- "id": "",
82805
- "body": {
82806
- "package": "himalaya",
82807
- "type": "Text",
82808
- "props": {
82809
- "text": "$service:himiBrandedForms.collection.viewMessage",
82810
- "style": "caption",
82811
- "collapseWhenEmpty": true
82812
- }
82813
- }
82814
- },
82815
- {
82816
- "id": "btn_tier5_himibrandedforms_collectiondismissfilters",
82817
- "body": {
82818
- "package": "himalaya",
82819
- "type": "Button",
82820
- "props": {
82821
- "title": "Done",
82822
- "style": "primary",
82823
- "action": {
82824
- "actionId": "tier5.himiBrandedForms.collectionDismissFilters"
82825
- },
82826
- "fullWidth": true
82827
- }
82828
- }
82829
- }
82830
- ]
82831
- }
82832
- },
82833
- "modifiers": {
82834
- "padding": {
82835
- "leading": 20,
82836
- "trailing": 20,
82837
- "top": 20,
82838
- "bottom": 24
82839
- }
82403
+ "text": "This form is no longer available.",
82404
+ "style": "body",
82405
+ "color": "textSecondary"
82406
+ }
82407
+ }
82408
+ },
82409
+ {
82410
+ "id": "himi_form.not_found_back",
82411
+ "body": {
82412
+ "package": "himalaya",
82413
+ "type": "Button",
82414
+ "props": {
82415
+ "title": "Back to forms",
82416
+ "style": "primary",
82417
+ "fullWidth": true,
82418
+ "action": {
82419
+ "actionId": "himi.open",
82420
+ "params": {
82421
+ "screenId": "himi_forms"
82840
82422
  }
82841
82423
  }
82842
82424
  }
82843
82425
  }
82844
- },
82845
- {
82846
- "id": "himi_forms.rows.collection.preview",
82847
- "body": {
82848
- "package": "himalaya",
82849
- "type": "BottomSheet",
82850
- "props": {
82851
- "presentedPath": "$service:himiBrandedForms.collection.previewPresented",
82852
- "dismissible": true,
82853
- "showGrabber": true,
82854
- "onDismiss": {
82855
- "actionId": "tier5.himiBrandedForms.collectionDismissPreview"
82856
- },
82857
- "content": {
82426
+ }
82427
+ ]
82428
+ }
82429
+ },
82430
+ "modifiers": {
82431
+ "background": {
82432
+ "token": "surfaceElevated"
82433
+ },
82434
+ "border": {
82435
+ "width": 1,
82436
+ "color": {
82437
+ "token": "border"
82438
+ }
82439
+ },
82440
+ "cornerRadius": 16,
82441
+ "padding": {
82442
+ "leading": 16,
82443
+ "trailing": 16,
82444
+ "top": 20,
82445
+ "bottom": 20
82446
+ },
82447
+ "fillMaxWidth": true,
82448
+ "hiddenPath": "$service:himiBrandedForm.hideNotFound"
82449
+ }
82450
+ },
82451
+ {
82452
+ "id": "himi_form.date_sheet_host",
82453
+ "body": {
82454
+ "package": "himalaya",
82455
+ "type": "BottomSheet",
82456
+ "props": {
82457
+ "presentedPath": "$service:himiBrandedForm.dateSheetOpen",
82458
+ "dismissible": true,
82459
+ "showGrabber": true,
82460
+ "onDismiss": {
82461
+ "actionId": "tier5.himiBrandedForm.closeDate"
82462
+ },
82463
+ "content": {
82464
+ "id": "himi_form.date_sheet",
82465
+ "body": {
82466
+ "package": "himalaya",
82467
+ "type": "VStack",
82468
+ "props": {
82469
+ "spacing": 12,
82470
+ "alignment": "leading",
82471
+ "children": [
82472
+ {
82858
82473
  "id": "",
82859
82474
  "body": {
82860
82475
  "package": "himalaya",
82861
- "type": "Grid",
82476
+ "type": "HStack",
82862
82477
  "props": {
82863
- "columns": 1,
82864
- "itemsPath": "$service:himiBrandedForms.collection.preview",
82865
- "items": [
82478
+ "spacing": 12,
82479
+ "alignment": "center",
82480
+ "children": [
82866
82481
  {
82867
- "id": "himi_forms.rows.collection.preview.$item.collectionId",
82482
+ "id": "",
82868
82483
  "body": {
82869
82484
  "package": "himalaya",
82870
- "type": "VStack",
82485
+ "type": "Text",
82871
82486
  "props": {
82872
- "spacing": 8,
82873
- "alignment": "leading",
82874
- "children": [
82875
- {
82876
- "id": "",
82877
- "body": {
82878
- "package": "himalaya",
82879
- "type": "VStack",
82880
- "props": {
82881
- "spacing": 4,
82882
- "alignment": "leading",
82883
- "children": [
82884
- {
82885
- "id": "",
82886
- "body": {
82887
- "package": "himalaya",
82888
- "type": "Text",
82889
- "props": {
82890
- "text": "$item.collectionTitle",
82891
- "style": "bodyEmphasis",
82892
- "maxLines": 2
82893
- }
82894
- }
82895
- },
82896
- {
82897
- "id": "",
82898
- "body": {
82899
- "package": "himalaya",
82900
- "type": "Text",
82901
- "props": {
82902
- "text": "$item.collectionSubtitle",
82903
- "style": "caption",
82904
- "color": "textSecondary",
82905
- "maxLines": 3,
82906
- "collapseWhenEmpty": true
82907
- }
82908
- }
82909
- },
82910
- {
82911
- "id": "",
82912
- "body": {
82913
- "package": "himalaya",
82914
- "type": "Text",
82915
- "props": {
82916
- "text": "$item.collectionMeta",
82917
- "style": "caption",
82918
- "color": "textSecondary",
82919
- "maxLines": 2,
82920
- "collapseWhenEmpty": true
82921
- }
82922
- }
82923
- },
82924
- {
82925
- "id": "",
82926
- "body": {
82927
- "package": "himalaya",
82928
- "type": "Text",
82929
- "props": {
82930
- "text": "Saved",
82931
- "style": "caption",
82932
- "color": "accentPrimary"
82933
- }
82934
- },
82935
- "modifiers": {
82936
- "hiddenPath": "$item.collectionNotSaved"
82937
- }
82938
- }
82939
- ]
82940
- }
82941
- }
82942
- },
82943
- {
82944
- "id": "",
82945
- "body": {
82946
- "package": "himalaya",
82947
- "type": "HStack",
82948
- "props": {
82949
- "spacing": 8,
82950
- "children": [
82951
- {
82952
- "id": "himi_forms.rows.collection.preview.$item.collectionId/select",
82953
- "body": {
82954
- "package": "himalaya",
82955
- "type": "Button",
82956
- "props": {
82957
- "title": "$item.collectionSelectLabel",
82958
- "style": "plain",
82959
- "fullWidth": false,
82960
- "action": {
82961
- "actionId": "tier5.himiBrandedForms.collectionSelect",
82962
- "params": {
82963
- "id": "$item.collectionId"
82964
- }
82965
- }
82966
- }
82967
- },
82968
- "modifiers": {
82969
- "hiddenPath": "$service:himiBrandedForms.collection.noSelection"
82970
- }
82971
- },
82972
- {
82973
- "id": "",
82974
- "body": {
82975
- "package": "himalaya",
82976
- "type": "Spacer",
82977
- "props": {}
82978
- }
82979
- },
82980
- {
82981
- "id": "himi_forms.rows.collection.preview.$item.collectionId/actions",
82982
- "body": {
82983
- "package": "himalaya",
82984
- "type": "Menu",
82985
- "props": {
82986
- "style": "dropdown",
82987
- "anchor": {
82988
- "id": "",
82989
- "body": {
82990
- "package": "himalaya",
82991
- "type": "Icon",
82992
- "props": {
82993
- "name": "ellipsis",
82994
- "size": 20
82995
- }
82996
- },
82997
- "modifiers": {
82998
- "width": 44,
82999
- "height": 44,
83000
- "accessibilityLabel": "$item.collectionActionsLabel"
83001
- }
83002
- },
83003
- "items": [
83004
- {
83005
- "id": "preview",
83006
- "label": "Quick preview",
83007
- "icon": "search",
83008
- "action": {
83009
- "actionId": "tier5.himiBrandedForms.collectionPreview",
83010
- "params": {
83011
- "id": "$item.collectionId"
83012
- }
83013
- }
83014
- },
83015
- {
83016
- "id": "save",
83017
- "label": "$item.collectionSaveLabel",
83018
- "icon": "bookmark",
83019
- "action": {
83020
- "actionId": "tier5.himiBrandedForms.collectionSave",
83021
- "params": {
83022
- "id": "$item.collectionId"
83023
- }
83024
- }
83025
- },
83026
- {
83027
- "id": "open",
83028
- "label": "Open details",
83029
- "icon": "chevron_right",
83030
- "action": {
83031
- "actionId": "himi.open",
83032
- "params": {
83033
- "screenId": "himi_form",
83034
- "id": "$item.id"
83035
- }
83036
- }
83037
- }
83038
- ]
83039
- }
83040
- }
83041
- }
83042
- ]
83043
- }
83044
- },
83045
- "modifiers": {
83046
- "hiddenPath": "$item.collectionNoIdentity"
83047
- }
83048
- }
83049
- ]
82487
+ "text": "$service:himiBrandedForm.dateSheetTitle",
82488
+ "style": "title3"
83050
82489
  }
83051
82490
  },
83052
82491
  "modifiers": {
83053
- "onTap": {
83054
- "actionId": "himi.open",
83055
- "params": {
83056
- "screenId": "himi_form",
83057
- "id": "$item.id"
83058
- }
83059
- },
83060
- "haptic": "light",
83061
- "background": {
83062
- "token": "surfaceElevated"
83063
- },
83064
- "border": {
83065
- "width": 1,
83066
- "color": {
83067
- "token": "border"
82492
+ "weight": 1
82493
+ }
82494
+ },
82495
+ {
82496
+ "id": "himi_form.date_done",
82497
+ "body": {
82498
+ "package": "himalaya",
82499
+ "type": "Button",
82500
+ "props": {
82501
+ "title": "Done",
82502
+ "style": "plain",
82503
+ "action": {
82504
+ "actionId": "tier5.himiBrandedForm.applyDate"
83068
82505
  }
83069
- },
83070
- "cornerRadius": 12,
83071
- "padding": {
83072
- "top": 12,
83073
- "bottom": 12,
83074
- "leading": 12,
83075
- "trailing": 12
83076
- },
83077
- "fillMaxWidth": true,
83078
- "accessibilityLabel": "$item.collectionTitle",
83079
- "pressFeedback": "scale",
83080
- "transition": {
83081
- "enter": "fadeSlide",
83082
- "direction": "up",
83083
- "distance": 8
83084
82506
  }
83085
82507
  }
83086
82508
  }
83087
82509
  ]
83088
82510
  }
82511
+ }
82512
+ },
82513
+ {
82514
+ "id": "himi_form.date_picker",
82515
+ "body": {
82516
+ "package": "himalaya",
82517
+ "type": "DatePicker",
82518
+ "props": {
82519
+ "mode": "date",
82520
+ "valuePath": "$service:himiBrandedForm.dateDraft",
82521
+ "onChange": {
82522
+ "actionId": "tier5.himiBrandedForm.draftDate"
82523
+ }
82524
+ }
83089
82525
  },
83090
82526
  "modifiers": {
83091
- "padding": {
83092
- "leading": 20,
83093
- "trailing": 20,
83094
- "top": 20,
83095
- "bottom": 24
83096
- }
82527
+ "accessibilityLabel": "$service:himiBrandedForm.dateSheetTitle"
83097
82528
  }
83098
82529
  }
83099
- }
82530
+ ]
82531
+ }
82532
+ },
82533
+ "modifiers": {
82534
+ "padding": {
82535
+ "leading": 20,
82536
+ "trailing": 20,
82537
+ "top": 8,
82538
+ "bottom": 24
83100
82539
  }
83101
82540
  }
83102
- ]
82541
+ }
83103
82542
  }
83104
82543
  }
83105
82544
  }
@@ -83117,237 +82556,137 @@ const SCREENS = runtimeSetting({
83117
82556
  "bottom": 28
83118
82557
  },
83119
82558
  "onAppear": {
83120
- "actionId": "tier5.himiBrandedForms.load"
82559
+ "actionId": "tier5.himiBrandedForm.load",
82560
+ "params": {
82561
+ "siteUrl": "https://shayco5.wixsite.com/amit1"
82562
+ }
83121
82563
  }
83122
82564
  }
83123
82565
  },
83124
82566
  "logicBundle": {
83125
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-forms?integrity=",
82567
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-form?integrity=",
83126
82568
  "integrity": "",
83127
82569
  "contentType": "application/javascript+ts-bundle",
83128
82570
  "declaredCapabilities": [
83129
- "wix_api"
82571
+ "wix_api",
82572
+ "open_url"
83130
82573
  ],
83131
82574
  "minBinaryVersion": "0.1.0",
83132
82575
  "bundleVersion": "0.0.1"
83133
- }
83134
- },
83135
- "himi_form": {
83136
- "screenId": "himi_form",
83137
- "renderer": "sdui_intent",
83138
- "title": "",
83139
- "schemaVersion": 1,
83140
- "cacheControl": {
83141
- "maxAge": 0,
83142
- "staleWhileRevalidate": 0
83143
82576
  },
83144
- "payload": {
83145
- "id": "himi_form.root",
82577
+ "stickyFooter": {
82578
+ "id": "himi_form.footer",
83146
82579
  "body": {
83147
82580
  "package": "himalaya",
83148
82581
  "type": "VStack",
83149
82582
  "props": {
83150
82583
  "spacing": 8,
83151
- "alignment": "leading",
82584
+ "alignment": "center",
83152
82585
  "children": [
83153
82586
  {
83154
82587
  "id": "",
83155
82588
  "body": {
83156
82589
  "package": "himalaya",
83157
- "type": "VStack",
82590
+ "type": "Text",
83158
82591
  "props": {
83159
- "spacing": 8,
83160
- "alignment": "leading",
83161
- "children": [
83162
- {
83163
- "id": "himi_form.title",
83164
- "body": {
83165
- "package": "himalaya",
83166
- "type": "Text",
83167
- "props": {
83168
- "text": "$service:spacesFormDetail.name",
83169
- "style": "title1",
83170
- "collapseWhenEmpty": true
83171
- }
83172
- }
83173
- },
83174
- {
83175
- "id": "",
83176
- "body": {
83177
- "package": "himalaya",
83178
- "type": "Text",
83179
- "props": {
83180
- "text": "$service:spacesFormDetail.subtitle",
83181
- "style": "footnote",
83182
- "color": "textSecondary",
83183
- "collapseWhenEmpty": true
83184
- }
83185
- }
83186
- },
83187
- {
83188
- "id": "",
83189
- "body": {
83190
- "package": "himalaya",
83191
- "type": "Text",
83192
- "props": {
83193
- "text": "$service:spacesFormDetail.fields",
83194
- "style": "body",
83195
- "collapseWhenEmpty": true
83196
- }
83197
- }
83198
- }
83199
- ]
82592
+ "text": "$service:himiBrandedForm.sendError",
82593
+ "style": "caption",
82594
+ "color": "danger",
82595
+ "textAlign": "center"
83200
82596
  }
83201
82597
  },
83202
82598
  "modifiers": {
83203
- "hiddenPath": "$service:spacesFormDetail.noEntity"
82599
+ "hiddenPath": "$service:himiBrandedForm.noSendError"
83204
82600
  }
83205
82601
  },
83206
82602
  {
83207
- "id": "",
82603
+ "id": "himi_form.submit",
83208
82604
  "body": {
83209
82605
  "package": "himalaya",
83210
- "type": "Text",
82606
+ "type": "Button",
83211
82607
  "props": {
83212
- "text": "This form is shown for preview — filling it out isn't wired up yet.",
83213
- "style": "caption",
83214
- "color": "textTertiary"
82608
+ "title": "$service:himiBrandedForm.primaryLabel",
82609
+ "style": "primary",
82610
+ "size": "lg",
82611
+ "fullWidth": false,
82612
+ "disabledPath": "$service:himiBrandedForm.sending",
82613
+ "action": {
82614
+ "actionId": "tier5.himiBrandedForm.next"
82615
+ }
83215
82616
  }
83216
82617
  },
83217
82618
  "modifiers": {
83218
- "hiddenPath": "$service:spacesFormDetail.noEntity"
82619
+ "hiddenPath": "$service:himiBrandedForm.hideSingle"
83219
82620
  }
83220
82621
  },
83221
82622
  {
83222
82623
  "id": "",
83223
82624
  "body": {
83224
82625
  "package": "himalaya",
83225
- "type": "VStack",
82626
+ "type": "HStack",
83226
82627
  "props": {
83227
82628
  "spacing": 12,
83228
- "alignment": "leading",
82629
+ "alignment": "center",
83229
82630
  "children": [
83230
82631
  {
83231
- "id": "himi_form.loading",
83232
- "body": {
83233
- "package": "himalaya",
83234
- "type": "Text",
83235
- "props": {
83236
- "text": "Loading…",
83237
- "style": "body",
83238
- "color": "textSecondary"
83239
- }
83240
- },
83241
- "modifiers": {
83242
- "hiddenPath": "$service:spacesFormDetail.hideLoading"
83243
- }
83244
- },
83245
- {
83246
- "id": "himi_form.load_error",
82632
+ "id": "himi_form.back",
83247
82633
  "body": {
83248
82634
  "package": "himalaya",
83249
- "type": "Text",
82635
+ "type": "Button",
83250
82636
  "props": {
83251
- "text": "This couldn't be loaded. Check your connection and try again.",
83252
- "style": "body",
83253
- "color": "textSecondary"
82637
+ "title": "$service:himiBrandedForm.backLabel",
82638
+ "style": "secondary",
82639
+ "size": "lg",
82640
+ "disabledPath": "$service:himiBrandedForm.sending",
82641
+ "action": {
82642
+ "actionId": "tier5.himiBrandedForm.back"
82643
+ }
83254
82644
  }
83255
- },
83256
- "modifiers": {
83257
- "hiddenPath": "$service:spacesFormDetail.hideLoadError"
83258
82645
  }
83259
82646
  },
83260
82647
  {
83261
- "id": "himi_form.not_found",
82648
+ "id": "himi_form.next",
83262
82649
  "body": {
83263
82650
  "package": "himalaya",
83264
- "type": "VStack",
82651
+ "type": "Button",
83265
82652
  "props": {
83266
- "spacing": 10,
83267
- "alignment": "center",
83268
- "children": [
83269
- {
83270
- "id": "",
83271
- "body": {
83272
- "package": "himalaya",
83273
- "type": "Icon",
83274
- "props": {
83275
- "name": "document",
83276
- "size": 32,
83277
- "tint": "textTertiary"
83278
- }
83279
- },
83280
- "modifiers": {
83281
- "accessibilityRole": "decorative"
83282
- }
83283
- },
83284
- {
83285
- "id": "himi_form.not_found_title",
83286
- "body": {
83287
- "package": "himalaya",
83288
- "type": "Text",
83289
- "props": {
83290
- "text": "Form not found",
83291
- "style": "title3"
83292
- }
83293
- }
83294
- },
83295
- {
83296
- "id": "",
83297
- "body": {
83298
- "package": "himalaya",
83299
- "type": "Text",
83300
- "props": {
83301
- "text": "This form is no longer available.",
83302
- "style": "body",
83303
- "color": "textSecondary"
83304
- }
83305
- }
83306
- },
83307
- {
83308
- "id": "himi_form.not_found_back",
83309
- "body": {
83310
- "package": "himalaya",
83311
- "type": "Button",
83312
- "props": {
83313
- "title": "Back to forms",
83314
- "style": "primary",
83315
- "fullWidth": true,
83316
- "action": {
83317
- "actionId": "himi.open",
83318
- "params": {
83319
- "screenId": "himi_forms"
83320
- }
83321
- }
83322
- }
83323
- }
83324
- }
83325
- ]
83326
- }
83327
- },
83328
- "modifiers": {
83329
- "background": {
83330
- "token": "surfaceElevated"
83331
- },
83332
- "border": {
83333
- "width": 1,
83334
- "color": {
83335
- "token": "border"
82653
+ "title": "$service:himiBrandedForm.primaryLabel",
82654
+ "style": "primary",
82655
+ "size": "lg",
82656
+ "disabledPath": "$service:himiBrandedForm.sending",
82657
+ "action": {
82658
+ "actionId": "tier5.himiBrandedForm.next"
83336
82659
  }
83337
- },
83338
- "cornerRadius": 16,
83339
- "padding": {
83340
- "leading": 16,
83341
- "trailing": 16,
83342
- "top": 20,
83343
- "bottom": 20
83344
- },
83345
- "fillMaxWidth": true,
83346
- "hiddenPath": "$service:spacesFormDetail.hideNotFound"
82660
+ }
83347
82661
  }
83348
82662
  }
83349
82663
  ]
83350
82664
  }
82665
+ },
82666
+ "modifiers": {
82667
+ "hiddenPath": "$service:himiBrandedForm.hidePair"
82668
+ }
82669
+ },
82670
+ {
82671
+ "id": "himi_form.back_to_forms",
82672
+ "body": {
82673
+ "package": "himalaya",
82674
+ "type": "Button",
82675
+ "props": {
82676
+ "title": "Back to forms",
82677
+ "style": "primary",
82678
+ "size": "lg",
82679
+ "fullWidth": false,
82680
+ "action": {
82681
+ "actionId": "himi.open",
82682
+ "params": {
82683
+ "screenId": "himi_forms"
82684
+ }
82685
+ }
82686
+ }
82687
+ },
82688
+ "modifiers": {
82689
+ "hiddenPath": "$service:himiBrandedForm.hideDone"
83351
82690
  }
83352
82691
  }
83353
82692
  ]
@@ -83360,23 +82699,11 @@ const SCREENS = runtimeSetting({
83360
82699
  "padding": {
83361
82700
  "leading": 16,
83362
82701
  "trailing": 16,
83363
- "top": 18,
83364
- "bottom": 28
82702
+ "top": 12,
82703
+ "bottom": 10
83365
82704
  },
83366
- "onAppear": {
83367
- "actionId": "tier5.spacesFormDetail.load"
83368
- }
82705
+ "fillMaxWidth": true
83369
82706
  }
83370
- },
83371
- "logicBundle": {
83372
- "url": "http://localhost:8190/v1/bundles/wix-spaces-form-detail?integrity=",
83373
- "integrity": "",
83374
- "contentType": "application/javascript+ts-bundle",
83375
- "declaredCapabilities": [
83376
- "wix_api"
83377
- ],
83378
- "minBinaryVersion": "0.1.0",
83379
- "bundleVersion": "0.0.1"
83380
82707
  }
83381
82708
  },
83382
82709
  "himi_galleries": {