@wix/himalaya-cli 0.843.0 → 0.845.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 (69) hide show
  1. package/dist/cli.mjs +109 -73
  2. package/guides/release-notes.md +19 -0
  3. package/package.json +2 -2
  4. package/templates/beauty-salon-owner/dev/index.ts +858 -0
  5. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +59 -9
  6. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  7. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  8. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  9. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  10. package/templates/community-club-owner/dev/index.ts +858 -0
  11. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +59 -9
  12. package/templates/community-club-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  13. package/templates/community-club-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  14. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  15. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  16. package/templates/events-meetups-owner/dev/index.ts +858 -0
  17. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +59 -9
  18. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  19. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  20. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  21. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  22. package/templates/gym-fitness-owner/dev/index.ts +858 -0
  23. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +59 -9
  24. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  25. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  26. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  27. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  28. package/templates/nonprofit-cause-owner/dev/index.ts +858 -0
  29. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +59 -9
  30. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  31. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  32. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  33. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  34. package/templates/owner-lite/dev/index.ts +858 -0
  35. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +59 -9
  36. package/templates/owner-lite/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  37. package/templates/owner-lite/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  38. package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  39. package/templates/owner-lite/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  40. package/templates/podcast-creator-owner/dev/index.ts +858 -0
  41. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +59 -9
  42. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  43. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  44. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  45. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  46. package/templates/portfolio-creative-owner/dev/index.ts +858 -0
  47. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +59 -9
  48. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  49. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  50. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  51. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  52. package/templates/restaurant-owner/dev/index.ts +858 -0
  53. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +59 -9
  54. package/templates/restaurant-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  55. package/templates/restaurant-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  56. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  57. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  58. package/templates/retail-store-owner/dev/index.ts +858 -0
  59. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +59 -9
  60. package/templates/retail-store-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  61. package/templates/retail-store-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  62. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  63. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
  64. package/templates/yoga-studio-owner/dev/index.ts +858 -0
  65. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +59 -9
  66. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-analytics/index.ts +7 -1
  67. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-analytics/report.ts +690 -0
  68. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +1 -1
  69. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -1
@@ -52952,6 +52952,26 @@ const SCREENS = runtimeSetting({
52952
52952
  "modifiers": {
52953
52953
  "hiddenPath": "$service:ownerLiteAnalytics.hideContent"
52954
52954
  }
52955
+ },
52956
+ {
52957
+ "id": "himi_owner_lite.analytics.build_report",
52958
+ "body": {
52959
+ "package": "himalaya",
52960
+ "type": "Text",
52961
+ "props": {
52962
+ "text": "Build a report",
52963
+ "style": "footnote",
52964
+ "color": "accentPrimary"
52965
+ }
52966
+ },
52967
+ "modifiers": {
52968
+ "onTap": {
52969
+ "actionId": "himi.open",
52970
+ "params": {
52971
+ "screenId": "himi_owner_lite_analytics_report"
52972
+ }
52973
+ }
52974
+ }
52955
52975
  }
52956
52976
  ]
52957
52977
  }
@@ -52984,6 +53004,844 @@ const SCREENS = runtimeSetting({
52984
53004
  "bundleVersion": "0.0.1"
52985
53005
  }
52986
53006
  },
53007
+ "himi_owner_lite_analytics_report": {
53008
+ "screenId": "himi_owner_lite_analytics_report",
53009
+ "renderer": "sdui_intent",
53010
+ "title": "Build a report",
53011
+ "schemaVersion": 1,
53012
+ "cacheControl": {
53013
+ "maxAge": 0,
53014
+ "staleWhileRevalidate": 0
53015
+ },
53016
+ "telemetryScreenName": "himi_owner_lite_analytics_report",
53017
+ "payload": {
53018
+ "id": "himi_owner_lite.analytics_report.root",
53019
+ "body": {
53020
+ "package": "himalaya",
53021
+ "type": "VStack",
53022
+ "props": {
53023
+ "spacing": 16,
53024
+ "alignment": "leading",
53025
+ "children": [
53026
+ {
53027
+ "id": "himi_owner_lite.analytics_report.header",
53028
+ "body": {
53029
+ "package": "himalaya",
53030
+ "type": "VStack",
53031
+ "props": {
53032
+ "spacing": 4,
53033
+ "alignment": "leading",
53034
+ "children": [
53035
+ {
53036
+ "id": "himi_owner_lite.analytics_report.header.title",
53037
+ "body": {
53038
+ "package": "himalaya",
53039
+ "type": "Text",
53040
+ "props": {
53041
+ "text": "Build a report",
53042
+ "style": "title1"
53043
+ }
53044
+ }
53045
+ },
53046
+ {
53047
+ "id": "",
53048
+ "body": {
53049
+ "package": "himalaya",
53050
+ "type": "Text",
53051
+ "props": {
53052
+ "text": "Any subject area your site tracks",
53053
+ "style": "footnote",
53054
+ "color": "textSecondary",
53055
+ "collapseWhenEmpty": true
53056
+ }
53057
+ }
53058
+ }
53059
+ ]
53060
+ }
53061
+ }
53062
+ },
53063
+ {
53064
+ "id": "himi_owner_lite.analytics_report.range",
53065
+ "body": {
53066
+ "package": "himalaya",
53067
+ "type": "SegmentedControl",
53068
+ "props": {
53069
+ "options": [
53070
+ {
53071
+ "id": "7",
53072
+ "label": "7 days"
53073
+ },
53074
+ {
53075
+ "id": "30",
53076
+ "label": "30 days"
53077
+ },
53078
+ {
53079
+ "id": "60",
53080
+ "label": "60 days"
53081
+ }
53082
+ ],
53083
+ "selectedId": "$service:ownerLiteAnalyticsReport.rangeId",
53084
+ "onChange": {
53085
+ "actionId": "tier5.ownerLiteAnalyticsReport.setRange"
53086
+ }
53087
+ }
53088
+ },
53089
+ "modifiers": {
53090
+ "fillMaxWidth": true
53091
+ }
53092
+ },
53093
+ {
53094
+ "id": "",
53095
+ "body": {
53096
+ "package": "himalaya",
53097
+ "type": "VStack",
53098
+ "props": {
53099
+ "spacing": 10,
53100
+ "alignment": "leading",
53101
+ "children": [
53102
+ {
53103
+ "id": "",
53104
+ "body": {
53105
+ "package": "himalaya",
53106
+ "type": "HStack",
53107
+ "props": {
53108
+ "spacing": 10,
53109
+ "children": [
53110
+ {
53111
+ "id": "",
53112
+ "body": {
53113
+ "package": "himalaya",
53114
+ "type": "Icon",
53115
+ "props": {
53116
+ "name": "warning",
53117
+ "size": 18,
53118
+ "tint": "accentPrimary"
53119
+ }
53120
+ }
53121
+ },
53122
+ {
53123
+ "id": "",
53124
+ "body": {
53125
+ "package": "himalaya",
53126
+ "type": "Text",
53127
+ "props": {
53128
+ "text": "Couldn't load reports",
53129
+ "style": "bodyEmphasis"
53130
+ }
53131
+ }
53132
+ }
53133
+ ]
53134
+ }
53135
+ }
53136
+ },
53137
+ {
53138
+ "id": "",
53139
+ "body": {
53140
+ "package": "himalaya",
53141
+ "type": "Text",
53142
+ "props": {
53143
+ "text": "$service:ownerLiteAnalyticsReport.error",
53144
+ "style": "footnote",
53145
+ "color": "textSecondary",
53146
+ "maxLines": 3,
53147
+ "collapseWhenEmpty": true
53148
+ }
53149
+ }
53150
+ },
53151
+ {
53152
+ "id": "himi_owner_lite.analytics_report.retry",
53153
+ "body": {
53154
+ "package": "himalaya",
53155
+ "type": "Button",
53156
+ "props": {
53157
+ "title": "Try again",
53158
+ "style": "secondary",
53159
+ "action": {
53160
+ "actionId": "tier5.ownerLiteAnalyticsReport.load"
53161
+ }
53162
+ }
53163
+ }
53164
+ }
53165
+ ]
53166
+ }
53167
+ },
53168
+ "modifiers": {
53169
+ "background": {
53170
+ "token": "surfaceElevated"
53171
+ },
53172
+ "border": {
53173
+ "width": 1,
53174
+ "color": {
53175
+ "token": "border"
53176
+ }
53177
+ },
53178
+ "cornerRadius": 12,
53179
+ "padding": {
53180
+ "leading": 14,
53181
+ "trailing": 14,
53182
+ "top": 14,
53183
+ "bottom": 14
53184
+ },
53185
+ "fillMaxWidth": true,
53186
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.notErrored"
53187
+ }
53188
+ },
53189
+ {
53190
+ "id": "",
53191
+ "body": {
53192
+ "package": "himalaya",
53193
+ "type": "VStack",
53194
+ "props": {
53195
+ "spacing": 10,
53196
+ "children": [
53197
+ {
53198
+ "id": "",
53199
+ "body": {
53200
+ "package": "himalaya",
53201
+ "type": "ZStack",
53202
+ "props": {
53203
+ "alignment": "center",
53204
+ "children": []
53205
+ }
53206
+ },
53207
+ "modifiers": {
53208
+ "height": 52,
53209
+ "background": {
53210
+ "token": "surfaceSecondary"
53211
+ },
53212
+ "cornerRadius": 12,
53213
+ "fillMaxWidth": true,
53214
+ "accessibilityLabel": "himi_owner_lite.analytics_report.sk1"
53215
+ }
53216
+ },
53217
+ {
53218
+ "id": "",
53219
+ "body": {
53220
+ "package": "himalaya",
53221
+ "type": "ZStack",
53222
+ "props": {
53223
+ "alignment": "center",
53224
+ "children": []
53225
+ }
53226
+ },
53227
+ "modifiers": {
53228
+ "height": 120,
53229
+ "background": {
53230
+ "token": "surfaceSecondary"
53231
+ },
53232
+ "cornerRadius": 12,
53233
+ "fillMaxWidth": true,
53234
+ "accessibilityLabel": "himi_owner_lite.analytics_report.sk2"
53235
+ }
53236
+ }
53237
+ ]
53238
+ }
53239
+ },
53240
+ "modifiers": {
53241
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.notLoading"
53242
+ }
53243
+ },
53244
+ {
53245
+ "id": "himi_owner_lite.analytics_report.content",
53246
+ "body": {
53247
+ "package": "himalaya",
53248
+ "type": "VStack",
53249
+ "props": {
53250
+ "spacing": 16,
53251
+ "alignment": "leading",
53252
+ "children": [
53253
+ {
53254
+ "id": "himi_owner_lite.analytics_report.subject",
53255
+ "body": {
53256
+ "package": "himalaya",
53257
+ "type": "VStack",
53258
+ "props": {
53259
+ "spacing": 6,
53260
+ "alignment": "leading",
53261
+ "children": [
53262
+ {
53263
+ "id": "himi_owner_lite.analytics_report.subject_label",
53264
+ "body": {
53265
+ "package": "himalaya",
53266
+ "type": "Text",
53267
+ "props": {
53268
+ "text": "Subject",
53269
+ "style": "footnote",
53270
+ "color": "textSecondary"
53271
+ }
53272
+ }
53273
+ },
53274
+ {
53275
+ "id": "himi_owner_lite.analytics_report.subject_list",
53276
+ "body": {
53277
+ "package": "himalaya",
53278
+ "type": "LazyList",
53279
+ "props": {
53280
+ "itemsPath": "$service:ownerLiteAnalyticsReport.subjects",
53281
+ "spacing": 0,
53282
+ "items": [
53283
+ {
53284
+ "id": "himi_owner_lite.analytics_report.subject_row_$item.id",
53285
+ "body": {
53286
+ "package": "himalaya",
53287
+ "type": "HStack",
53288
+ "props": {
53289
+ "spacing": 12,
53290
+ "children": [
53291
+ {
53292
+ "id": "",
53293
+ "body": {
53294
+ "package": "himalaya",
53295
+ "type": "Text",
53296
+ "props": {
53297
+ "text": "$item.label",
53298
+ "style": "bodyEmphasis",
53299
+ "maxLines": 1
53300
+ }
53301
+ }
53302
+ },
53303
+ {
53304
+ "id": "",
53305
+ "body": {
53306
+ "package": "himalaya",
53307
+ "type": "Spacer",
53308
+ "props": {}
53309
+ }
53310
+ },
53311
+ {
53312
+ "id": "",
53313
+ "body": {
53314
+ "package": "himalaya",
53315
+ "type": "Text",
53316
+ "props": {
53317
+ "text": "$item.state",
53318
+ "style": "footnote",
53319
+ "color": "accentPrimary",
53320
+ "maxLines": 1,
53321
+ "collapseWhenEmpty": true
53322
+ }
53323
+ }
53324
+ }
53325
+ ]
53326
+ }
53327
+ },
53328
+ "modifiers": {
53329
+ "padding": {
53330
+ "leading": 4,
53331
+ "trailing": 4,
53332
+ "top": 10,
53333
+ "bottom": 10
53334
+ },
53335
+ "onTap": {
53336
+ "actionId": "tier5.ownerLiteAnalyticsReport.selectSubject",
53337
+ "params": {
53338
+ "id": "$item.id"
53339
+ }
53340
+ }
53341
+ }
53342
+ }
53343
+ ]
53344
+ }
53345
+ }
53346
+ }
53347
+ ]
53348
+ }
53349
+ }
53350
+ },
53351
+ {
53352
+ "id": "himi_owner_lite.analytics_report.fields",
53353
+ "body": {
53354
+ "package": "himalaya",
53355
+ "type": "VStack",
53356
+ "props": {
53357
+ "spacing": 14,
53358
+ "alignment": "leading",
53359
+ "children": [
53360
+ {
53361
+ "id": "",
53362
+ "body": {
53363
+ "package": "himalaya",
53364
+ "type": "Divider",
53365
+ "props": {}
53366
+ }
53367
+ },
53368
+ {
53369
+ "id": "himi_owner_lite.analytics_report.dimension",
53370
+ "body": {
53371
+ "package": "himalaya",
53372
+ "type": "VStack",
53373
+ "props": {
53374
+ "spacing": 6,
53375
+ "alignment": "leading",
53376
+ "children": [
53377
+ {
53378
+ "id": "himi_owner_lite.analytics_report.dimension_label",
53379
+ "body": {
53380
+ "package": "himalaya",
53381
+ "type": "Text",
53382
+ "props": {
53383
+ "text": "Break down by",
53384
+ "style": "footnote",
53385
+ "color": "textSecondary"
53386
+ }
53387
+ }
53388
+ },
53389
+ {
53390
+ "id": "himi_owner_lite.analytics_report.dimension_list",
53391
+ "body": {
53392
+ "package": "himalaya",
53393
+ "type": "LazyList",
53394
+ "props": {
53395
+ "itemsPath": "$service:ownerLiteAnalyticsReport.dimensions",
53396
+ "spacing": 0,
53397
+ "items": [
53398
+ {
53399
+ "id": "himi_owner_lite.analytics_report.dimension_row_$item.id",
53400
+ "body": {
53401
+ "package": "himalaya",
53402
+ "type": "HStack",
53403
+ "props": {
53404
+ "spacing": 12,
53405
+ "children": [
53406
+ {
53407
+ "id": "",
53408
+ "body": {
53409
+ "package": "himalaya",
53410
+ "type": "Text",
53411
+ "props": {
53412
+ "text": "$item.label",
53413
+ "style": "bodyEmphasis",
53414
+ "maxLines": 1
53415
+ }
53416
+ }
53417
+ },
53418
+ {
53419
+ "id": "",
53420
+ "body": {
53421
+ "package": "himalaya",
53422
+ "type": "Spacer",
53423
+ "props": {}
53424
+ }
53425
+ },
53426
+ {
53427
+ "id": "",
53428
+ "body": {
53429
+ "package": "himalaya",
53430
+ "type": "Text",
53431
+ "props": {
53432
+ "text": "$item.state",
53433
+ "style": "footnote",
53434
+ "color": "accentPrimary",
53435
+ "maxLines": 1,
53436
+ "collapseWhenEmpty": true
53437
+ }
53438
+ }
53439
+ }
53440
+ ]
53441
+ }
53442
+ },
53443
+ "modifiers": {
53444
+ "padding": {
53445
+ "leading": 4,
53446
+ "trailing": 4,
53447
+ "top": 10,
53448
+ "bottom": 10
53449
+ },
53450
+ "onTap": {
53451
+ "actionId": "tier5.ownerLiteAnalyticsReport.selectDimension",
53452
+ "params": {
53453
+ "id": "$item.id"
53454
+ }
53455
+ }
53456
+ }
53457
+ }
53458
+ ]
53459
+ }
53460
+ }
53461
+ }
53462
+ ]
53463
+ }
53464
+ }
53465
+ },
53466
+ {
53467
+ "id": "himi_owner_lite.analytics_report.measure",
53468
+ "body": {
53469
+ "package": "himalaya",
53470
+ "type": "VStack",
53471
+ "props": {
53472
+ "spacing": 6,
53473
+ "alignment": "leading",
53474
+ "children": [
53475
+ {
53476
+ "id": "himi_owner_lite.analytics_report.measure_label",
53477
+ "body": {
53478
+ "package": "himalaya",
53479
+ "type": "Text",
53480
+ "props": {
53481
+ "text": "Measure",
53482
+ "style": "footnote",
53483
+ "color": "textSecondary"
53484
+ }
53485
+ }
53486
+ },
53487
+ {
53488
+ "id": "himi_owner_lite.analytics_report.measure_list",
53489
+ "body": {
53490
+ "package": "himalaya",
53491
+ "type": "LazyList",
53492
+ "props": {
53493
+ "itemsPath": "$service:ownerLiteAnalyticsReport.measures",
53494
+ "spacing": 0,
53495
+ "items": [
53496
+ {
53497
+ "id": "himi_owner_lite.analytics_report.measure_row_$item.id",
53498
+ "body": {
53499
+ "package": "himalaya",
53500
+ "type": "HStack",
53501
+ "props": {
53502
+ "spacing": 12,
53503
+ "children": [
53504
+ {
53505
+ "id": "",
53506
+ "body": {
53507
+ "package": "himalaya",
53508
+ "type": "Text",
53509
+ "props": {
53510
+ "text": "$item.label",
53511
+ "style": "bodyEmphasis",
53512
+ "maxLines": 1
53513
+ }
53514
+ }
53515
+ },
53516
+ {
53517
+ "id": "",
53518
+ "body": {
53519
+ "package": "himalaya",
53520
+ "type": "Spacer",
53521
+ "props": {}
53522
+ }
53523
+ },
53524
+ {
53525
+ "id": "",
53526
+ "body": {
53527
+ "package": "himalaya",
53528
+ "type": "Text",
53529
+ "props": {
53530
+ "text": "$item.state",
53531
+ "style": "footnote",
53532
+ "color": "accentPrimary",
53533
+ "maxLines": 1,
53534
+ "collapseWhenEmpty": true
53535
+ }
53536
+ }
53537
+ }
53538
+ ]
53539
+ }
53540
+ },
53541
+ "modifiers": {
53542
+ "padding": {
53543
+ "leading": 4,
53544
+ "trailing": 4,
53545
+ "top": 10,
53546
+ "bottom": 10
53547
+ },
53548
+ "onTap": {
53549
+ "actionId": "tier5.ownerLiteAnalyticsReport.selectMeasure",
53550
+ "params": {
53551
+ "id": "$item.id"
53552
+ }
53553
+ }
53554
+ }
53555
+ }
53556
+ ]
53557
+ }
53558
+ }
53559
+ }
53560
+ ]
53561
+ }
53562
+ }
53563
+ },
53564
+ {
53565
+ "id": "",
53566
+ "body": {
53567
+ "package": "himalaya",
53568
+ "type": "Divider",
53569
+ "props": {}
53570
+ }
53571
+ },
53572
+ {
53573
+ "id": "himi_owner_lite.analytics_report.caption_row",
53574
+ "body": {
53575
+ "package": "himalaya",
53576
+ "type": "HStack",
53577
+ "props": {
53578
+ "spacing": 8,
53579
+ "children": [
53580
+ {
53581
+ "id": "himi_owner_lite.analytics_report.caption",
53582
+ "body": {
53583
+ "package": "himalaya",
53584
+ "type": "Text",
53585
+ "props": {
53586
+ "text": "$service:ownerLiteAnalyticsReport.caption",
53587
+ "style": "bodyEmphasis",
53588
+ "maxLines": 2,
53589
+ "collapseWhenEmpty": true
53590
+ }
53591
+ }
53592
+ },
53593
+ {
53594
+ "id": "",
53595
+ "body": {
53596
+ "package": "himalaya",
53597
+ "type": "Spacer",
53598
+ "props": {}
53599
+ }
53600
+ },
53601
+ {
53602
+ "id": "himi_owner_lite.analytics_report.row_count",
53603
+ "body": {
53604
+ "package": "himalaya",
53605
+ "type": "Text",
53606
+ "props": {
53607
+ "text": "$service:ownerLiteAnalyticsReport.rowCount",
53608
+ "style": "footnote",
53609
+ "color": "textSecondary",
53610
+ "maxLines": 1,
53611
+ "collapseWhenEmpty": true
53612
+ }
53613
+ }
53614
+ }
53615
+ ]
53616
+ }
53617
+ }
53618
+ },
53619
+ {
53620
+ "id": "himi_owner_lite.analytics_report.totals_toggle",
53621
+ "body": {
53622
+ "package": "himalaya",
53623
+ "type": "HStack",
53624
+ "props": {
53625
+ "spacing": 12,
53626
+ "children": [
53627
+ {
53628
+ "id": "",
53629
+ "body": {
53630
+ "package": "himalaya",
53631
+ "type": "Text",
53632
+ "props": {
53633
+ "text": "Show total",
53634
+ "style": "bodyEmphasis"
53635
+ }
53636
+ }
53637
+ },
53638
+ {
53639
+ "id": "",
53640
+ "body": {
53641
+ "package": "himalaya",
53642
+ "type": "Spacer",
53643
+ "props": {}
53644
+ }
53645
+ },
53646
+ {
53647
+ "id": "",
53648
+ "body": {
53649
+ "package": "himalaya",
53650
+ "type": "Text",
53651
+ "props": {
53652
+ "text": "$service:ownerLiteAnalyticsReport.totalsState",
53653
+ "style": "bodyEmphasis",
53654
+ "color": "accentPrimary",
53655
+ "maxLines": 1
53656
+ }
53657
+ }
53658
+ }
53659
+ ]
53660
+ }
53661
+ },
53662
+ "modifiers": {
53663
+ "padding": {
53664
+ "leading": 4,
53665
+ "trailing": 4,
53666
+ "top": 10,
53667
+ "bottom": 10
53668
+ },
53669
+ "onTap": {
53670
+ "actionId": "tier5.ownerLiteAnalyticsReport.toggleTotals"
53671
+ },
53672
+ "accessibilityLabel": "Show total"
53673
+ }
53674
+ },
53675
+ {
53676
+ "id": "himi_owner_lite.analytics_report.gap",
53677
+ "body": {
53678
+ "package": "himalaya",
53679
+ "type": "HStack",
53680
+ "props": {
53681
+ "spacing": 10,
53682
+ "children": [
53683
+ {
53684
+ "id": "",
53685
+ "body": {
53686
+ "package": "himalaya",
53687
+ "type": "Icon",
53688
+ "props": {
53689
+ "name": "warning",
53690
+ "size": 18,
53691
+ "tint": "accentPrimary"
53692
+ }
53693
+ }
53694
+ },
53695
+ {
53696
+ "id": "himi_owner_lite.analytics_report.gap_text",
53697
+ "body": {
53698
+ "package": "himalaya",
53699
+ "type": "Text",
53700
+ "props": {
53701
+ "text": "$service:ownerLiteAnalyticsReport.missingFields",
53702
+ "style": "footnote",
53703
+ "maxLines": 3
53704
+ }
53705
+ }
53706
+ }
53707
+ ]
53708
+ }
53709
+ },
53710
+ "modifiers": {
53711
+ "background": {
53712
+ "token": "surfaceElevated"
53713
+ },
53714
+ "border": {
53715
+ "width": 1,
53716
+ "color": {
53717
+ "token": "border"
53718
+ }
53719
+ },
53720
+ "cornerRadius": 12,
53721
+ "padding": {
53722
+ "leading": 12,
53723
+ "trailing": 12,
53724
+ "top": 12,
53725
+ "bottom": 12
53726
+ },
53727
+ "fillMaxWidth": true,
53728
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.noGap"
53729
+ }
53730
+ },
53731
+ {
53732
+ "id": "himi_owner_lite.analytics_report.table",
53733
+ "body": {
53734
+ "package": "himalaya",
53735
+ "type": "DataTable",
53736
+ "props": {
53737
+ "columns": [
53738
+ {
53739
+ "key": "dimension",
53740
+ "title": "Breakdown",
53741
+ "align": "leading",
53742
+ "weight": 2
53743
+ },
53744
+ {
53745
+ "key": "measure",
53746
+ "title": "Value",
53747
+ "align": "trailing",
53748
+ "weight": 1
53749
+ }
53750
+ ],
53751
+ "rowsPath": "$service:ownerLiteAnalyticsReport.rows",
53752
+ "totalsPath": "$service:ownerLiteAnalyticsReport.totals",
53753
+ "zebra": true
53754
+ }
53755
+ },
53756
+ "modifiers": {
53757
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.hideTable"
53758
+ }
53759
+ }
53760
+ ]
53761
+ }
53762
+ },
53763
+ "modifiers": {
53764
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.noFields"
53765
+ }
53766
+ },
53767
+ {
53768
+ "id": "himi_owner_lite.analytics_report.empty",
53769
+ "body": {
53770
+ "package": "himalaya",
53771
+ "type": "VStack",
53772
+ "props": {
53773
+ "spacing": 4,
53774
+ "alignment": "leading",
53775
+ "children": [
53776
+ {
53777
+ "id": "",
53778
+ "body": {
53779
+ "package": "himalaya",
53780
+ "type": "Text",
53781
+ "props": {
53782
+ "text": "Nothing to show",
53783
+ "style": "bodyEmphasis"
53784
+ }
53785
+ }
53786
+ },
53787
+ {
53788
+ "id": "",
53789
+ "body": {
53790
+ "package": "himalaya",
53791
+ "type": "Text",
53792
+ "props": {
53793
+ "text": "$service:ownerLiteAnalyticsReport.emptyText",
53794
+ "style": "footnote",
53795
+ "color": "textSecondary",
53796
+ "maxLines": 2,
53797
+ "collapseWhenEmpty": true
53798
+ }
53799
+ }
53800
+ }
53801
+ ]
53802
+ }
53803
+ },
53804
+ "modifiers": {
53805
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.noEmpty"
53806
+ }
53807
+ }
53808
+ ]
53809
+ }
53810
+ },
53811
+ "modifiers": {
53812
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.hideContent"
53813
+ }
53814
+ }
53815
+ ]
53816
+ }
53817
+ },
53818
+ "modifiers": {
53819
+ "background": {
53820
+ "token": "surfacePrimary"
53821
+ },
53822
+ "padding": {
53823
+ "leading": 16,
53824
+ "trailing": 16,
53825
+ "top": 18,
53826
+ "bottom": 24
53827
+ },
53828
+ "onAppear": {
53829
+ "actionId": "tier5.ownerLiteAnalyticsReport.load",
53830
+ "params": {}
53831
+ }
53832
+ }
53833
+ },
53834
+ "logicBundle": {
53835
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-analytics",
53836
+ "integrity": "",
53837
+ "contentType": "application/javascript+ts-bundle",
53838
+ "declaredCapabilities": [
53839
+ "wix_api"
53840
+ ],
53841
+ "minBinaryVersion": "0.1.0",
53842
+ "bundleVersion": "0.0.1"
53843
+ }
53844
+ },
52987
53845
  "himi_owner_lite_ask": {
52988
53846
  "screenId": "himi_owner_lite_ask",
52989
53847
  "renderer": "sdui_intent",