@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
@@ -52521,6 +52521,26 @@ const SCREENS = runtimeSetting({
52521
52521
  "modifiers": {
52522
52522
  "hiddenPath": "$service:ownerLiteAnalytics.hideContent"
52523
52523
  }
52524
+ },
52525
+ {
52526
+ "id": "himi_owner_lite.analytics.build_report",
52527
+ "body": {
52528
+ "package": "himalaya",
52529
+ "type": "Text",
52530
+ "props": {
52531
+ "text": "Build a report",
52532
+ "style": "footnote",
52533
+ "color": "accentPrimary"
52534
+ }
52535
+ },
52536
+ "modifiers": {
52537
+ "onTap": {
52538
+ "actionId": "himi.open",
52539
+ "params": {
52540
+ "screenId": "himi_owner_lite_analytics_report"
52541
+ }
52542
+ }
52543
+ }
52524
52544
  }
52525
52545
  ]
52526
52546
  }
@@ -52553,6 +52573,844 @@ const SCREENS = runtimeSetting({
52553
52573
  "bundleVersion": "0.0.1"
52554
52574
  }
52555
52575
  },
52576
+ "himi_owner_lite_analytics_report": {
52577
+ "screenId": "himi_owner_lite_analytics_report",
52578
+ "renderer": "sdui_intent",
52579
+ "title": "Build a report",
52580
+ "schemaVersion": 1,
52581
+ "cacheControl": {
52582
+ "maxAge": 0,
52583
+ "staleWhileRevalidate": 0
52584
+ },
52585
+ "telemetryScreenName": "himi_owner_lite_analytics_report",
52586
+ "payload": {
52587
+ "id": "himi_owner_lite.analytics_report.root",
52588
+ "body": {
52589
+ "package": "himalaya",
52590
+ "type": "VStack",
52591
+ "props": {
52592
+ "spacing": 16,
52593
+ "alignment": "leading",
52594
+ "children": [
52595
+ {
52596
+ "id": "himi_owner_lite.analytics_report.header",
52597
+ "body": {
52598
+ "package": "himalaya",
52599
+ "type": "VStack",
52600
+ "props": {
52601
+ "spacing": 4,
52602
+ "alignment": "leading",
52603
+ "children": [
52604
+ {
52605
+ "id": "himi_owner_lite.analytics_report.header.title",
52606
+ "body": {
52607
+ "package": "himalaya",
52608
+ "type": "Text",
52609
+ "props": {
52610
+ "text": "Build a report",
52611
+ "style": "title1"
52612
+ }
52613
+ }
52614
+ },
52615
+ {
52616
+ "id": "",
52617
+ "body": {
52618
+ "package": "himalaya",
52619
+ "type": "Text",
52620
+ "props": {
52621
+ "text": "Any subject area your site tracks",
52622
+ "style": "footnote",
52623
+ "color": "textSecondary",
52624
+ "collapseWhenEmpty": true
52625
+ }
52626
+ }
52627
+ }
52628
+ ]
52629
+ }
52630
+ }
52631
+ },
52632
+ {
52633
+ "id": "himi_owner_lite.analytics_report.range",
52634
+ "body": {
52635
+ "package": "himalaya",
52636
+ "type": "SegmentedControl",
52637
+ "props": {
52638
+ "options": [
52639
+ {
52640
+ "id": "7",
52641
+ "label": "7 days"
52642
+ },
52643
+ {
52644
+ "id": "30",
52645
+ "label": "30 days"
52646
+ },
52647
+ {
52648
+ "id": "60",
52649
+ "label": "60 days"
52650
+ }
52651
+ ],
52652
+ "selectedId": "$service:ownerLiteAnalyticsReport.rangeId",
52653
+ "onChange": {
52654
+ "actionId": "tier5.ownerLiteAnalyticsReport.setRange"
52655
+ }
52656
+ }
52657
+ },
52658
+ "modifiers": {
52659
+ "fillMaxWidth": true
52660
+ }
52661
+ },
52662
+ {
52663
+ "id": "",
52664
+ "body": {
52665
+ "package": "himalaya",
52666
+ "type": "VStack",
52667
+ "props": {
52668
+ "spacing": 10,
52669
+ "alignment": "leading",
52670
+ "children": [
52671
+ {
52672
+ "id": "",
52673
+ "body": {
52674
+ "package": "himalaya",
52675
+ "type": "HStack",
52676
+ "props": {
52677
+ "spacing": 10,
52678
+ "children": [
52679
+ {
52680
+ "id": "",
52681
+ "body": {
52682
+ "package": "himalaya",
52683
+ "type": "Icon",
52684
+ "props": {
52685
+ "name": "warning",
52686
+ "size": 18,
52687
+ "tint": "accentPrimary"
52688
+ }
52689
+ }
52690
+ },
52691
+ {
52692
+ "id": "",
52693
+ "body": {
52694
+ "package": "himalaya",
52695
+ "type": "Text",
52696
+ "props": {
52697
+ "text": "Couldn't load reports",
52698
+ "style": "bodyEmphasis"
52699
+ }
52700
+ }
52701
+ }
52702
+ ]
52703
+ }
52704
+ }
52705
+ },
52706
+ {
52707
+ "id": "",
52708
+ "body": {
52709
+ "package": "himalaya",
52710
+ "type": "Text",
52711
+ "props": {
52712
+ "text": "$service:ownerLiteAnalyticsReport.error",
52713
+ "style": "footnote",
52714
+ "color": "textSecondary",
52715
+ "maxLines": 3,
52716
+ "collapseWhenEmpty": true
52717
+ }
52718
+ }
52719
+ },
52720
+ {
52721
+ "id": "himi_owner_lite.analytics_report.retry",
52722
+ "body": {
52723
+ "package": "himalaya",
52724
+ "type": "Button",
52725
+ "props": {
52726
+ "title": "Try again",
52727
+ "style": "secondary",
52728
+ "action": {
52729
+ "actionId": "tier5.ownerLiteAnalyticsReport.load"
52730
+ }
52731
+ }
52732
+ }
52733
+ }
52734
+ ]
52735
+ }
52736
+ },
52737
+ "modifiers": {
52738
+ "background": {
52739
+ "token": "surfaceElevated"
52740
+ },
52741
+ "border": {
52742
+ "width": 1,
52743
+ "color": {
52744
+ "token": "border"
52745
+ }
52746
+ },
52747
+ "cornerRadius": 12,
52748
+ "padding": {
52749
+ "leading": 14,
52750
+ "trailing": 14,
52751
+ "top": 14,
52752
+ "bottom": 14
52753
+ },
52754
+ "fillMaxWidth": true,
52755
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.notErrored"
52756
+ }
52757
+ },
52758
+ {
52759
+ "id": "",
52760
+ "body": {
52761
+ "package": "himalaya",
52762
+ "type": "VStack",
52763
+ "props": {
52764
+ "spacing": 10,
52765
+ "children": [
52766
+ {
52767
+ "id": "",
52768
+ "body": {
52769
+ "package": "himalaya",
52770
+ "type": "ZStack",
52771
+ "props": {
52772
+ "alignment": "center",
52773
+ "children": []
52774
+ }
52775
+ },
52776
+ "modifiers": {
52777
+ "height": 52,
52778
+ "background": {
52779
+ "token": "surfaceSecondary"
52780
+ },
52781
+ "cornerRadius": 12,
52782
+ "fillMaxWidth": true,
52783
+ "accessibilityLabel": "himi_owner_lite.analytics_report.sk1"
52784
+ }
52785
+ },
52786
+ {
52787
+ "id": "",
52788
+ "body": {
52789
+ "package": "himalaya",
52790
+ "type": "ZStack",
52791
+ "props": {
52792
+ "alignment": "center",
52793
+ "children": []
52794
+ }
52795
+ },
52796
+ "modifiers": {
52797
+ "height": 120,
52798
+ "background": {
52799
+ "token": "surfaceSecondary"
52800
+ },
52801
+ "cornerRadius": 12,
52802
+ "fillMaxWidth": true,
52803
+ "accessibilityLabel": "himi_owner_lite.analytics_report.sk2"
52804
+ }
52805
+ }
52806
+ ]
52807
+ }
52808
+ },
52809
+ "modifiers": {
52810
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.notLoading"
52811
+ }
52812
+ },
52813
+ {
52814
+ "id": "himi_owner_lite.analytics_report.content",
52815
+ "body": {
52816
+ "package": "himalaya",
52817
+ "type": "VStack",
52818
+ "props": {
52819
+ "spacing": 16,
52820
+ "alignment": "leading",
52821
+ "children": [
52822
+ {
52823
+ "id": "himi_owner_lite.analytics_report.subject",
52824
+ "body": {
52825
+ "package": "himalaya",
52826
+ "type": "VStack",
52827
+ "props": {
52828
+ "spacing": 6,
52829
+ "alignment": "leading",
52830
+ "children": [
52831
+ {
52832
+ "id": "himi_owner_lite.analytics_report.subject_label",
52833
+ "body": {
52834
+ "package": "himalaya",
52835
+ "type": "Text",
52836
+ "props": {
52837
+ "text": "Subject",
52838
+ "style": "footnote",
52839
+ "color": "textSecondary"
52840
+ }
52841
+ }
52842
+ },
52843
+ {
52844
+ "id": "himi_owner_lite.analytics_report.subject_list",
52845
+ "body": {
52846
+ "package": "himalaya",
52847
+ "type": "LazyList",
52848
+ "props": {
52849
+ "itemsPath": "$service:ownerLiteAnalyticsReport.subjects",
52850
+ "spacing": 0,
52851
+ "items": [
52852
+ {
52853
+ "id": "himi_owner_lite.analytics_report.subject_row_$item.id",
52854
+ "body": {
52855
+ "package": "himalaya",
52856
+ "type": "HStack",
52857
+ "props": {
52858
+ "spacing": 12,
52859
+ "children": [
52860
+ {
52861
+ "id": "",
52862
+ "body": {
52863
+ "package": "himalaya",
52864
+ "type": "Text",
52865
+ "props": {
52866
+ "text": "$item.label",
52867
+ "style": "bodyEmphasis",
52868
+ "maxLines": 1
52869
+ }
52870
+ }
52871
+ },
52872
+ {
52873
+ "id": "",
52874
+ "body": {
52875
+ "package": "himalaya",
52876
+ "type": "Spacer",
52877
+ "props": {}
52878
+ }
52879
+ },
52880
+ {
52881
+ "id": "",
52882
+ "body": {
52883
+ "package": "himalaya",
52884
+ "type": "Text",
52885
+ "props": {
52886
+ "text": "$item.state",
52887
+ "style": "footnote",
52888
+ "color": "accentPrimary",
52889
+ "maxLines": 1,
52890
+ "collapseWhenEmpty": true
52891
+ }
52892
+ }
52893
+ }
52894
+ ]
52895
+ }
52896
+ },
52897
+ "modifiers": {
52898
+ "padding": {
52899
+ "leading": 4,
52900
+ "trailing": 4,
52901
+ "top": 10,
52902
+ "bottom": 10
52903
+ },
52904
+ "onTap": {
52905
+ "actionId": "tier5.ownerLiteAnalyticsReport.selectSubject",
52906
+ "params": {
52907
+ "id": "$item.id"
52908
+ }
52909
+ }
52910
+ }
52911
+ }
52912
+ ]
52913
+ }
52914
+ }
52915
+ }
52916
+ ]
52917
+ }
52918
+ }
52919
+ },
52920
+ {
52921
+ "id": "himi_owner_lite.analytics_report.fields",
52922
+ "body": {
52923
+ "package": "himalaya",
52924
+ "type": "VStack",
52925
+ "props": {
52926
+ "spacing": 14,
52927
+ "alignment": "leading",
52928
+ "children": [
52929
+ {
52930
+ "id": "",
52931
+ "body": {
52932
+ "package": "himalaya",
52933
+ "type": "Divider",
52934
+ "props": {}
52935
+ }
52936
+ },
52937
+ {
52938
+ "id": "himi_owner_lite.analytics_report.dimension",
52939
+ "body": {
52940
+ "package": "himalaya",
52941
+ "type": "VStack",
52942
+ "props": {
52943
+ "spacing": 6,
52944
+ "alignment": "leading",
52945
+ "children": [
52946
+ {
52947
+ "id": "himi_owner_lite.analytics_report.dimension_label",
52948
+ "body": {
52949
+ "package": "himalaya",
52950
+ "type": "Text",
52951
+ "props": {
52952
+ "text": "Break down by",
52953
+ "style": "footnote",
52954
+ "color": "textSecondary"
52955
+ }
52956
+ }
52957
+ },
52958
+ {
52959
+ "id": "himi_owner_lite.analytics_report.dimension_list",
52960
+ "body": {
52961
+ "package": "himalaya",
52962
+ "type": "LazyList",
52963
+ "props": {
52964
+ "itemsPath": "$service:ownerLiteAnalyticsReport.dimensions",
52965
+ "spacing": 0,
52966
+ "items": [
52967
+ {
52968
+ "id": "himi_owner_lite.analytics_report.dimension_row_$item.id",
52969
+ "body": {
52970
+ "package": "himalaya",
52971
+ "type": "HStack",
52972
+ "props": {
52973
+ "spacing": 12,
52974
+ "children": [
52975
+ {
52976
+ "id": "",
52977
+ "body": {
52978
+ "package": "himalaya",
52979
+ "type": "Text",
52980
+ "props": {
52981
+ "text": "$item.label",
52982
+ "style": "bodyEmphasis",
52983
+ "maxLines": 1
52984
+ }
52985
+ }
52986
+ },
52987
+ {
52988
+ "id": "",
52989
+ "body": {
52990
+ "package": "himalaya",
52991
+ "type": "Spacer",
52992
+ "props": {}
52993
+ }
52994
+ },
52995
+ {
52996
+ "id": "",
52997
+ "body": {
52998
+ "package": "himalaya",
52999
+ "type": "Text",
53000
+ "props": {
53001
+ "text": "$item.state",
53002
+ "style": "footnote",
53003
+ "color": "accentPrimary",
53004
+ "maxLines": 1,
53005
+ "collapseWhenEmpty": true
53006
+ }
53007
+ }
53008
+ }
53009
+ ]
53010
+ }
53011
+ },
53012
+ "modifiers": {
53013
+ "padding": {
53014
+ "leading": 4,
53015
+ "trailing": 4,
53016
+ "top": 10,
53017
+ "bottom": 10
53018
+ },
53019
+ "onTap": {
53020
+ "actionId": "tier5.ownerLiteAnalyticsReport.selectDimension",
53021
+ "params": {
53022
+ "id": "$item.id"
53023
+ }
53024
+ }
53025
+ }
53026
+ }
53027
+ ]
53028
+ }
53029
+ }
53030
+ }
53031
+ ]
53032
+ }
53033
+ }
53034
+ },
53035
+ {
53036
+ "id": "himi_owner_lite.analytics_report.measure",
53037
+ "body": {
53038
+ "package": "himalaya",
53039
+ "type": "VStack",
53040
+ "props": {
53041
+ "spacing": 6,
53042
+ "alignment": "leading",
53043
+ "children": [
53044
+ {
53045
+ "id": "himi_owner_lite.analytics_report.measure_label",
53046
+ "body": {
53047
+ "package": "himalaya",
53048
+ "type": "Text",
53049
+ "props": {
53050
+ "text": "Measure",
53051
+ "style": "footnote",
53052
+ "color": "textSecondary"
53053
+ }
53054
+ }
53055
+ },
53056
+ {
53057
+ "id": "himi_owner_lite.analytics_report.measure_list",
53058
+ "body": {
53059
+ "package": "himalaya",
53060
+ "type": "LazyList",
53061
+ "props": {
53062
+ "itemsPath": "$service:ownerLiteAnalyticsReport.measures",
53063
+ "spacing": 0,
53064
+ "items": [
53065
+ {
53066
+ "id": "himi_owner_lite.analytics_report.measure_row_$item.id",
53067
+ "body": {
53068
+ "package": "himalaya",
53069
+ "type": "HStack",
53070
+ "props": {
53071
+ "spacing": 12,
53072
+ "children": [
53073
+ {
53074
+ "id": "",
53075
+ "body": {
53076
+ "package": "himalaya",
53077
+ "type": "Text",
53078
+ "props": {
53079
+ "text": "$item.label",
53080
+ "style": "bodyEmphasis",
53081
+ "maxLines": 1
53082
+ }
53083
+ }
53084
+ },
53085
+ {
53086
+ "id": "",
53087
+ "body": {
53088
+ "package": "himalaya",
53089
+ "type": "Spacer",
53090
+ "props": {}
53091
+ }
53092
+ },
53093
+ {
53094
+ "id": "",
53095
+ "body": {
53096
+ "package": "himalaya",
53097
+ "type": "Text",
53098
+ "props": {
53099
+ "text": "$item.state",
53100
+ "style": "footnote",
53101
+ "color": "accentPrimary",
53102
+ "maxLines": 1,
53103
+ "collapseWhenEmpty": true
53104
+ }
53105
+ }
53106
+ }
53107
+ ]
53108
+ }
53109
+ },
53110
+ "modifiers": {
53111
+ "padding": {
53112
+ "leading": 4,
53113
+ "trailing": 4,
53114
+ "top": 10,
53115
+ "bottom": 10
53116
+ },
53117
+ "onTap": {
53118
+ "actionId": "tier5.ownerLiteAnalyticsReport.selectMeasure",
53119
+ "params": {
53120
+ "id": "$item.id"
53121
+ }
53122
+ }
53123
+ }
53124
+ }
53125
+ ]
53126
+ }
53127
+ }
53128
+ }
53129
+ ]
53130
+ }
53131
+ }
53132
+ },
53133
+ {
53134
+ "id": "",
53135
+ "body": {
53136
+ "package": "himalaya",
53137
+ "type": "Divider",
53138
+ "props": {}
53139
+ }
53140
+ },
53141
+ {
53142
+ "id": "himi_owner_lite.analytics_report.caption_row",
53143
+ "body": {
53144
+ "package": "himalaya",
53145
+ "type": "HStack",
53146
+ "props": {
53147
+ "spacing": 8,
53148
+ "children": [
53149
+ {
53150
+ "id": "himi_owner_lite.analytics_report.caption",
53151
+ "body": {
53152
+ "package": "himalaya",
53153
+ "type": "Text",
53154
+ "props": {
53155
+ "text": "$service:ownerLiteAnalyticsReport.caption",
53156
+ "style": "bodyEmphasis",
53157
+ "maxLines": 2,
53158
+ "collapseWhenEmpty": true
53159
+ }
53160
+ }
53161
+ },
53162
+ {
53163
+ "id": "",
53164
+ "body": {
53165
+ "package": "himalaya",
53166
+ "type": "Spacer",
53167
+ "props": {}
53168
+ }
53169
+ },
53170
+ {
53171
+ "id": "himi_owner_lite.analytics_report.row_count",
53172
+ "body": {
53173
+ "package": "himalaya",
53174
+ "type": "Text",
53175
+ "props": {
53176
+ "text": "$service:ownerLiteAnalyticsReport.rowCount",
53177
+ "style": "footnote",
53178
+ "color": "textSecondary",
53179
+ "maxLines": 1,
53180
+ "collapseWhenEmpty": true
53181
+ }
53182
+ }
53183
+ }
53184
+ ]
53185
+ }
53186
+ }
53187
+ },
53188
+ {
53189
+ "id": "himi_owner_lite.analytics_report.totals_toggle",
53190
+ "body": {
53191
+ "package": "himalaya",
53192
+ "type": "HStack",
53193
+ "props": {
53194
+ "spacing": 12,
53195
+ "children": [
53196
+ {
53197
+ "id": "",
53198
+ "body": {
53199
+ "package": "himalaya",
53200
+ "type": "Text",
53201
+ "props": {
53202
+ "text": "Show total",
53203
+ "style": "bodyEmphasis"
53204
+ }
53205
+ }
53206
+ },
53207
+ {
53208
+ "id": "",
53209
+ "body": {
53210
+ "package": "himalaya",
53211
+ "type": "Spacer",
53212
+ "props": {}
53213
+ }
53214
+ },
53215
+ {
53216
+ "id": "",
53217
+ "body": {
53218
+ "package": "himalaya",
53219
+ "type": "Text",
53220
+ "props": {
53221
+ "text": "$service:ownerLiteAnalyticsReport.totalsState",
53222
+ "style": "bodyEmphasis",
53223
+ "color": "accentPrimary",
53224
+ "maxLines": 1
53225
+ }
53226
+ }
53227
+ }
53228
+ ]
53229
+ }
53230
+ },
53231
+ "modifiers": {
53232
+ "padding": {
53233
+ "leading": 4,
53234
+ "trailing": 4,
53235
+ "top": 10,
53236
+ "bottom": 10
53237
+ },
53238
+ "onTap": {
53239
+ "actionId": "tier5.ownerLiteAnalyticsReport.toggleTotals"
53240
+ },
53241
+ "accessibilityLabel": "Show total"
53242
+ }
53243
+ },
53244
+ {
53245
+ "id": "himi_owner_lite.analytics_report.gap",
53246
+ "body": {
53247
+ "package": "himalaya",
53248
+ "type": "HStack",
53249
+ "props": {
53250
+ "spacing": 10,
53251
+ "children": [
53252
+ {
53253
+ "id": "",
53254
+ "body": {
53255
+ "package": "himalaya",
53256
+ "type": "Icon",
53257
+ "props": {
53258
+ "name": "warning",
53259
+ "size": 18,
53260
+ "tint": "accentPrimary"
53261
+ }
53262
+ }
53263
+ },
53264
+ {
53265
+ "id": "himi_owner_lite.analytics_report.gap_text",
53266
+ "body": {
53267
+ "package": "himalaya",
53268
+ "type": "Text",
53269
+ "props": {
53270
+ "text": "$service:ownerLiteAnalyticsReport.missingFields",
53271
+ "style": "footnote",
53272
+ "maxLines": 3
53273
+ }
53274
+ }
53275
+ }
53276
+ ]
53277
+ }
53278
+ },
53279
+ "modifiers": {
53280
+ "background": {
53281
+ "token": "surfaceElevated"
53282
+ },
53283
+ "border": {
53284
+ "width": 1,
53285
+ "color": {
53286
+ "token": "border"
53287
+ }
53288
+ },
53289
+ "cornerRadius": 12,
53290
+ "padding": {
53291
+ "leading": 12,
53292
+ "trailing": 12,
53293
+ "top": 12,
53294
+ "bottom": 12
53295
+ },
53296
+ "fillMaxWidth": true,
53297
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.noGap"
53298
+ }
53299
+ },
53300
+ {
53301
+ "id": "himi_owner_lite.analytics_report.table",
53302
+ "body": {
53303
+ "package": "himalaya",
53304
+ "type": "DataTable",
53305
+ "props": {
53306
+ "columns": [
53307
+ {
53308
+ "key": "dimension",
53309
+ "title": "Breakdown",
53310
+ "align": "leading",
53311
+ "weight": 2
53312
+ },
53313
+ {
53314
+ "key": "measure",
53315
+ "title": "Value",
53316
+ "align": "trailing",
53317
+ "weight": 1
53318
+ }
53319
+ ],
53320
+ "rowsPath": "$service:ownerLiteAnalyticsReport.rows",
53321
+ "totalsPath": "$service:ownerLiteAnalyticsReport.totals",
53322
+ "zebra": true
53323
+ }
53324
+ },
53325
+ "modifiers": {
53326
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.hideTable"
53327
+ }
53328
+ }
53329
+ ]
53330
+ }
53331
+ },
53332
+ "modifiers": {
53333
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.noFields"
53334
+ }
53335
+ },
53336
+ {
53337
+ "id": "himi_owner_lite.analytics_report.empty",
53338
+ "body": {
53339
+ "package": "himalaya",
53340
+ "type": "VStack",
53341
+ "props": {
53342
+ "spacing": 4,
53343
+ "alignment": "leading",
53344
+ "children": [
53345
+ {
53346
+ "id": "",
53347
+ "body": {
53348
+ "package": "himalaya",
53349
+ "type": "Text",
53350
+ "props": {
53351
+ "text": "Nothing to show",
53352
+ "style": "bodyEmphasis"
53353
+ }
53354
+ }
53355
+ },
53356
+ {
53357
+ "id": "",
53358
+ "body": {
53359
+ "package": "himalaya",
53360
+ "type": "Text",
53361
+ "props": {
53362
+ "text": "$service:ownerLiteAnalyticsReport.emptyText",
53363
+ "style": "footnote",
53364
+ "color": "textSecondary",
53365
+ "maxLines": 2,
53366
+ "collapseWhenEmpty": true
53367
+ }
53368
+ }
53369
+ }
53370
+ ]
53371
+ }
53372
+ },
53373
+ "modifiers": {
53374
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.noEmpty"
53375
+ }
53376
+ }
53377
+ ]
53378
+ }
53379
+ },
53380
+ "modifiers": {
53381
+ "hiddenPath": "$service:ownerLiteAnalyticsReport.hideContent"
53382
+ }
53383
+ }
53384
+ ]
53385
+ }
53386
+ },
53387
+ "modifiers": {
53388
+ "background": {
53389
+ "token": "surfacePrimary"
53390
+ },
53391
+ "padding": {
53392
+ "leading": 16,
53393
+ "trailing": 16,
53394
+ "top": 18,
53395
+ "bottom": 24
53396
+ },
53397
+ "onAppear": {
53398
+ "actionId": "tier5.ownerLiteAnalyticsReport.load",
53399
+ "params": {}
53400
+ }
53401
+ }
53402
+ },
53403
+ "logicBundle": {
53404
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-analytics",
53405
+ "integrity": "",
53406
+ "contentType": "application/javascript+ts-bundle",
53407
+ "declaredCapabilities": [
53408
+ "wix_api"
53409
+ ],
53410
+ "minBinaryVersion": "0.1.0",
53411
+ "bundleVersion": "0.0.1"
53412
+ }
53413
+ },
52556
53414
  "himi_owner_lite_ask": {
52557
53415
  "screenId": "himi_owner_lite_ask",
52558
53416
  "renderer": "sdui_intent",