@wix/himalaya-cli 0.1277.0 → 0.1279.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 (41) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +14 -0
  2. package/dist/cli.mjs +25 -4
  3. package/guides/component-reference.json +36 -3
  4. package/guides/component-reference.md +20 -2
  5. package/package.json +4 -3
  6. package/templates/beauty-salon/config.ts +2 -1
  7. package/templates/beauty-salon/dev/index.ts +2 -1
  8. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +12 -4
  9. package/templates/branded-lite/config.ts +13 -2
  10. package/templates/branded-lite/dev/index.ts +520 -170
  11. package/templates/branded-lite/tier5-src/_shared/vod.ts +71 -0
  12. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +98 -0
  13. package/templates/branded-lite/tier5-src/himi-branded-lite-videos/index.ts +11 -20
  14. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +12 -4
  15. package/templates/community-club/config.ts +2 -1
  16. package/templates/community-club/dev/index.ts +2 -1
  17. package/templates/community-club/tier5-src/himi-store-account/index.ts +12 -4
  18. package/templates/events-meetups/config.ts +2 -1
  19. package/templates/events-meetups/dev/index.ts +2 -1
  20. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +12 -4
  21. package/templates/gym-fitness/config.ts +2 -1
  22. package/templates/gym-fitness/dev/index.ts +2 -1
  23. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +12 -4
  24. package/templates/nonprofit-cause/config.ts +2 -1
  25. package/templates/nonprofit-cause/dev/index.ts +2 -1
  26. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +12 -4
  27. package/templates/podcast-creator/config.ts +2 -1
  28. package/templates/podcast-creator/dev/index.ts +2 -1
  29. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +12 -4
  30. package/templates/portfolio-creative/config.ts +2 -1
  31. package/templates/portfolio-creative/dev/index.ts +2 -1
  32. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +12 -4
  33. package/templates/restaurant/config.ts +2 -1
  34. package/templates/restaurant/dev/index.ts +2 -1
  35. package/templates/restaurant/tier5-src/himi-store-account/index.ts +12 -4
  36. package/templates/retail-store/config.ts +2 -1
  37. package/templates/retail-store/dev/index.ts +2 -1
  38. package/templates/retail-store/tier5-src/himi-store-account/index.ts +12 -4
  39. package/templates/yoga-studio/config.ts +2 -1
  40. package/templates/yoga-studio/dev/index.ts +2 -1
  41. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +12 -4
@@ -4427,7 +4427,8 @@ const SCREENS = runtimeSetting({
4427
4427
  "actionId": "himi.open",
4428
4428
  "params": {
4429
4429
  "screenId": "$service:himiStoreAccount.returnScreenId",
4430
- "id": "$service:himiStoreAccount.returnId"
4430
+ "id": "$service:himiStoreAccount.returnId",
4431
+ "channelId": "$service:himiStoreAccount.returnChannelId"
4431
4432
  }
4432
4433
  }
4433
4434
  }
@@ -67241,10 +67242,8 @@ const SCREENS = runtimeSetting({
67241
67242
  "action": {
67242
67243
  "actionId": "himi.open",
67243
67244
  "params": {
67244
- "screenId": "himi_video",
67245
- "id": "$item.id",
67246
- "name": "$item.title",
67247
- "subtitle": "$item.subtitle"
67245
+ "screenId": "himi_video_channel",
67246
+ "id": "$item.id"
67248
67247
  }
67249
67248
  }
67250
67249
  }
@@ -67270,10 +67269,8 @@ const SCREENS = runtimeSetting({
67270
67269
  "onTap": {
67271
67270
  "actionId": "himi.open",
67272
67271
  "params": {
67273
- "screenId": "himi_video",
67274
- "id": "$item.id",
67275
- "name": "$item.title",
67276
- "subtitle": "$item.subtitle"
67272
+ "screenId": "himi_video_channel",
67273
+ "id": "$item.id"
67277
67274
  }
67278
67275
  },
67279
67276
  "background": {
@@ -67515,10 +67512,8 @@ const SCREENS = runtimeSetting({
67515
67512
  "action": {
67516
67513
  "actionId": "himi.open",
67517
67514
  "params": {
67518
- "screenId": "himi_video",
67519
- "id": "$item.id",
67520
- "name": "$item.title",
67521
- "subtitle": "$item.subtitle"
67515
+ "screenId": "himi_video_channel",
67516
+ "id": "$item.id"
67522
67517
  }
67523
67518
  }
67524
67519
  }
@@ -67540,10 +67535,8 @@ const SCREENS = runtimeSetting({
67540
67535
  "onTap": {
67541
67536
  "actionId": "himi.open",
67542
67537
  "params": {
67543
- "screenId": "himi_video",
67544
- "id": "$item.id",
67545
- "name": "$item.title",
67546
- "subtitle": "$item.subtitle"
67538
+ "screenId": "himi_video_channel",
67539
+ "id": "$item.id"
67547
67540
  }
67548
67541
  },
67549
67542
  "background": {
@@ -67793,10 +67786,8 @@ const SCREENS = runtimeSetting({
67793
67786
  "action": {
67794
67787
  "actionId": "himi.open",
67795
67788
  "params": {
67796
- "screenId": "himi_video",
67797
- "id": "$item.id",
67798
- "name": "$item.title",
67799
- "subtitle": "$item.subtitle"
67789
+ "screenId": "himi_video_channel",
67790
+ "id": "$item.id"
67800
67791
  }
67801
67792
  }
67802
67793
  }
@@ -67822,10 +67813,8 @@ const SCREENS = runtimeSetting({
67822
67813
  "onTap": {
67823
67814
  "actionId": "himi.open",
67824
67815
  "params": {
67825
- "screenId": "himi_video",
67826
- "id": "$item.id",
67827
- "name": "$item.title",
67828
- "subtitle": "$item.subtitle"
67816
+ "screenId": "himi_video_channel",
67817
+ "id": "$item.id"
67829
67818
  }
67830
67819
  },
67831
67820
  "background": {
@@ -68067,10 +68056,8 @@ const SCREENS = runtimeSetting({
68067
68056
  "action": {
68068
68057
  "actionId": "himi.open",
68069
68058
  "params": {
68070
- "screenId": "himi_video",
68071
- "id": "$item.id",
68072
- "name": "$item.title",
68073
- "subtitle": "$item.subtitle"
68059
+ "screenId": "himi_video_channel",
68060
+ "id": "$item.id"
68074
68061
  }
68075
68062
  }
68076
68063
  }
@@ -68092,10 +68079,8 @@ const SCREENS = runtimeSetting({
68092
68079
  "onTap": {
68093
68080
  "actionId": "himi.open",
68094
68081
  "params": {
68095
- "screenId": "himi_video",
68096
- "id": "$item.id",
68097
- "name": "$item.title",
68098
- "subtitle": "$item.subtitle"
68082
+ "screenId": "himi_video_channel",
68083
+ "id": "$item.id"
68099
68084
  }
68100
68085
  },
68101
68086
  "background": {
@@ -68628,10 +68613,8 @@ const SCREENS = runtimeSetting({
68628
68613
  "action": {
68629
68614
  "actionId": "himi.open",
68630
68615
  "params": {
68631
- "screenId": "himi_video",
68632
- "id": "$item.id",
68633
- "name": "$item.title",
68634
- "subtitle": "$item.subtitle"
68616
+ "screenId": "himi_video_channel",
68617
+ "id": "$item.id"
68635
68618
  }
68636
68619
  }
68637
68620
  }
@@ -68653,10 +68636,8 @@ const SCREENS = runtimeSetting({
68653
68636
  "onTap": {
68654
68637
  "actionId": "himi.open",
68655
68638
  "params": {
68656
- "screenId": "himi_video",
68657
- "id": "$item.id",
68658
- "name": "$item.title",
68659
- "subtitle": "$item.subtitle"
68639
+ "screenId": "himi_video_channel",
68640
+ "id": "$item.id"
68660
68641
  }
68661
68642
  },
68662
68643
  "background": {
@@ -68728,8 +68709,8 @@ const SCREENS = runtimeSetting({
68728
68709
  "bundleVersion": "0.0.1"
68729
68710
  }
68730
68711
  },
68731
- "himi_video": {
68732
- "screenId": "himi_video",
68712
+ "himi_video_channel": {
68713
+ "screenId": "himi_video_channel",
68733
68714
  "renderer": "sdui_intent",
68734
68715
  "title": "",
68735
68716
  "schemaVersion": 1,
@@ -68738,31 +68719,185 @@ const SCREENS = runtimeSetting({
68738
68719
  "staleWhileRevalidate": 0
68739
68720
  },
68740
68721
  "payload": {
68741
- "id": "himi_video.root",
68722
+ "id": "himi_video_channel.root",
68742
68723
  "body": {
68743
68724
  "package": "himalaya",
68744
68725
  "type": "VStack",
68745
68726
  "props": {
68746
- "spacing": 12,
68727
+ "spacing": 16,
68747
68728
  "alignment": "leading",
68748
68729
  "children": [
68730
+ {
68731
+ "id": "himi_video_channel.title",
68732
+ "body": {
68733
+ "package": "himalaya",
68734
+ "type": "Text",
68735
+ "props": {
68736
+ "text": "$service:himiBrandedVideo.title",
68737
+ "style": "title1",
68738
+ "collapseWhenEmpty": true
68739
+ }
68740
+ }
68741
+ },
68742
+ {
68743
+ "id": "himi_video_channel.loading",
68744
+ "body": {
68745
+ "package": "himalaya",
68746
+ "type": "ZStack",
68747
+ "props": {
68748
+ "alignment": "center",
68749
+ "children": []
68750
+ }
68751
+ },
68752
+ "modifiers": {
68753
+ "height": 180,
68754
+ "background": {
68755
+ "token": "surfaceSecondary"
68756
+ },
68757
+ "border": {
68758
+ "width": 1,
68759
+ "color": {
68760
+ "token": "border"
68761
+ }
68762
+ },
68763
+ "cornerRadius": 8,
68764
+ "hiddenPath": "$service:himiBrandedVideo.notLoading"
68765
+ }
68766
+ },
68767
+ {
68768
+ "id": "himi_video_channel.rows",
68769
+ "body": {
68770
+ "package": "himalaya",
68771
+ "type": "Grid",
68772
+ "props": {
68773
+ "columns": 1,
68774
+ "spacing": 12,
68775
+ "itemsPath": "$service:himiBrandedVideo.videos",
68776
+ "items": [
68777
+ {
68778
+ "id": "",
68779
+ "body": {
68780
+ "package": "himalaya",
68781
+ "type": "VStack",
68782
+ "props": {
68783
+ "spacing": 4,
68784
+ "alignment": "leading",
68785
+ "children": [
68786
+ {
68787
+ "id": "",
68788
+ "body": {
68789
+ "package": "himalaya",
68790
+ "type": "Text",
68791
+ "props": {
68792
+ "text": "$item.title",
68793
+ "style": "bodyEmphasis"
68794
+ }
68795
+ }
68796
+ },
68797
+ {
68798
+ "id": "",
68799
+ "body": {
68800
+ "package": "himalaya",
68801
+ "type": "Text",
68802
+ "props": {
68803
+ "text": "$item.subtitle",
68804
+ "style": "caption",
68805
+ "color": "textSecondary",
68806
+ "collapseWhenEmpty": true
68807
+ }
68808
+ }
68809
+ }
68810
+ ]
68811
+ }
68812
+ },
68813
+ "modifiers": {
68814
+ "background": {
68815
+ "token": "surfaceElevated"
68816
+ },
68817
+ "cornerRadius": 12,
68818
+ "padding": {
68819
+ "leading": 16,
68820
+ "trailing": 16,
68821
+ "top": 12,
68822
+ "bottom": 12
68823
+ },
68824
+ "onTap": {
68825
+ "actionId": "himi.open",
68826
+ "params": {
68827
+ "screenId": "himi_video",
68828
+ "id": "$item.id",
68829
+ "channelId": "$item.channelId"
68830
+ }
68831
+ },
68832
+ "accessibilityLabel": "$item.title",
68833
+ "pressFeedback": "scale",
68834
+ "haptic": "light"
68835
+ }
68836
+ }
68837
+ ]
68838
+ }
68839
+ }
68840
+ },
68749
68841
  {
68750
68842
  "id": "",
68843
+ "body": {
68844
+ "package": "himalaya",
68845
+ "type": "Text",
68846
+ "props": {
68847
+ "text": "$service:himiBrandedVideo.emptyText",
68848
+ "style": "body",
68849
+ "color": "textSecondary",
68850
+ "collapseWhenEmpty": true
68851
+ }
68852
+ }
68853
+ },
68854
+ {
68855
+ "id": "himi_video_channel.message",
68856
+ "body": {
68857
+ "package": "himalaya",
68858
+ "type": "Text",
68859
+ "props": {
68860
+ "text": "$service:himiBrandedVideo.message",
68861
+ "style": "body",
68862
+ "collapseWhenEmpty": true
68863
+ }
68864
+ },
68865
+ "modifiers": {
68866
+ "hiddenPath": "$service:himiBrandedVideo.noEntity"
68867
+ }
68868
+ },
68869
+ {
68870
+ "id": "himi_video_channel.not_found",
68751
68871
  "body": {
68752
68872
  "package": "himalaya",
68753
68873
  "type": "VStack",
68754
68874
  "props": {
68755
- "spacing": 8,
68756
- "alignment": "leading",
68875
+ "spacing": 10,
68876
+ "alignment": "center",
68757
68877
  "children": [
68758
68878
  {
68759
- "id": "himi_video.name",
68879
+ "id": "",
68880
+ "body": {
68881
+ "package": "himalaya",
68882
+ "type": "Icon",
68883
+ "props": {
68884
+ "name": "search",
68885
+ "size": 32,
68886
+ "tint": "textTertiary"
68887
+ }
68888
+ },
68889
+ "modifiers": {
68890
+ "accessibilityRole": "decorative"
68891
+ }
68892
+ },
68893
+ {
68894
+ "id": "himi_video_channel.not_found_title",
68760
68895
  "body": {
68761
68896
  "package": "himalaya",
68762
68897
  "type": "Text",
68763
68898
  "props": {
68764
- "text": "$service:himiBrandedSimpleDetail.name",
68765
- "style": "title1"
68899
+ "text": "Channel not found",
68900
+ "style": "title3"
68766
68901
  }
68767
68902
  }
68768
68903
  },
@@ -68772,181 +68907,394 @@ const SCREENS = runtimeSetting({
68772
68907
  "package": "himalaya",
68773
68908
  "type": "Text",
68774
68909
  "props": {
68775
- "text": "$service:himiBrandedSimpleDetail.subtitle",
68910
+ "text": "This video channel is no longer available.",
68776
68911
  "style": "body",
68777
- "color": "textSecondary",
68778
- "collapseWhenEmpty": true
68912
+ "color": "textSecondary"
68779
68913
  }
68780
68914
  }
68781
68915
  },
68782
68916
  {
68783
- "id": "himi_video.cta",
68917
+ "id": "himi_video_channel.not_found_back",
68784
68918
  "body": {
68785
68919
  "package": "himalaya",
68786
68920
  "type": "Button",
68787
68921
  "props": {
68788
- "title": "Play",
68789
- "style": "secondary",
68922
+ "title": "Back to videos",
68923
+ "style": "primary",
68790
68924
  "fullWidth": true,
68791
68925
  "action": {
68792
- "actionId": "tier5.himiBrandedSimpleDetail.touch",
68926
+ "actionId": "himi.open",
68793
68927
  "params": {
68794
- "kind": "play"
68928
+ "screenId": "himi_videos"
68795
68929
  }
68796
68930
  }
68797
68931
  }
68798
68932
  }
68799
- },
68800
- {
68801
- "id": "",
68802
- "body": {
68803
- "package": "himalaya",
68804
- "type": "Text",
68805
- "props": {
68806
- "text": "$service:himiBrandedSimpleDetail.hint",
68807
- "style": "footnote",
68808
- "color": "textTertiary",
68809
- "collapseWhenEmpty": true
68810
- }
68811
- }
68812
68933
  }
68813
68934
  ]
68814
68935
  }
68815
68936
  },
68816
68937
  "modifiers": {
68817
- "hiddenPath": "$service:himiBrandedSimpleDetail.noId"
68938
+ "background": {
68939
+ "token": "surfaceElevated"
68940
+ },
68941
+ "border": {
68942
+ "width": 1,
68943
+ "color": {
68944
+ "token": "border"
68945
+ }
68946
+ },
68947
+ "cornerRadius": 16,
68948
+ "padding": {
68949
+ "leading": 16,
68950
+ "trailing": 16,
68951
+ "top": 20,
68952
+ "bottom": 20
68953
+ },
68954
+ "fillMaxWidth": true,
68955
+ "hiddenPath": "$service:himiBrandedVideo.hideNotFound"
68956
+ }
68957
+ },
68958
+ {
68959
+ "id": "himi_video_channel.error",
68960
+ "body": {
68961
+ "package": "himalaya",
68962
+ "type": "Banner",
68963
+ "props": {
68964
+ "title": "Videos couldn't be loaded",
68965
+ "message": "$service:himiBrandedVideo.error",
68966
+ "severity": "danger"
68967
+ }
68968
+ },
68969
+ "modifiers": {
68970
+ "hiddenPath": "$service:himiBrandedVideo.notErrored"
68971
+ }
68972
+ },
68973
+ {
68974
+ "id": "himi_video_channel.refresh",
68975
+ "body": {
68976
+ "package": "himalaya",
68977
+ "type": "Button",
68978
+ "props": {
68979
+ "title": "Refresh",
68980
+ "style": "secondary",
68981
+ "action": {
68982
+ "actionId": "tier5.himiBrandedVideo.load"
68983
+ }
68984
+ }
68985
+ },
68986
+ "modifiers": {
68987
+ "hiddenPath": "$service:himiBrandedVideo.hideRefresh"
68988
+ }
68989
+ },
68990
+ {
68991
+ "id": "himi_video_channel.sign_in",
68992
+ "body": {
68993
+ "package": "himalaya",
68994
+ "type": "Button",
68995
+ "props": {
68996
+ "title": "Sign in",
68997
+ "action": {
68998
+ "actionId": "himi.open",
68999
+ "params": {
69000
+ "screenId": "himi_account",
69001
+ "returnScreenId": "himi_video_channel",
69002
+ "returnId": "$service:himiBrandedVideo.id",
69003
+ "returnChannelId": "$service:himiBrandedVideo.channelId"
69004
+ }
69005
+ }
69006
+ }
69007
+ },
69008
+ "modifiers": {
69009
+ "hiddenPath": "$service:himiBrandedVideo.noSignIn"
69010
+ }
69011
+ }
69012
+ ]
69013
+ }
69014
+ },
69015
+ "modifiers": {
69016
+ "background": {
69017
+ "token": "surfacePrimary"
69018
+ },
69019
+ "padding": {
69020
+ "leading": 16,
69021
+ "trailing": 16,
69022
+ "top": 18,
69023
+ "bottom": 28
69024
+ },
69025
+ "onAppear": {
69026
+ "actionId": "tier5.himiBrandedVideo.load"
69027
+ }
69028
+ }
69029
+ },
69030
+ "logicBundle": {
69031
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-video?integrity=",
69032
+ "integrity": "",
69033
+ "contentType": "application/javascript+ts-bundle",
69034
+ "declaredCapabilities": [
69035
+ "wix_api"
69036
+ ],
69037
+ "minBinaryVersion": "1.2.0",
69038
+ "bundleVersion": "0.0.1"
69039
+ }
69040
+ },
69041
+ "himi_video": {
69042
+ "screenId": "himi_video",
69043
+ "renderer": "sdui_intent",
69044
+ "title": "",
69045
+ "schemaVersion": 1,
69046
+ "cacheControl": {
69047
+ "maxAge": 0,
69048
+ "staleWhileRevalidate": 0
69049
+ },
69050
+ "payload": {
69051
+ "id": "himi_video.root",
69052
+ "body": {
69053
+ "package": "himalaya",
69054
+ "type": "VStack",
69055
+ "props": {
69056
+ "spacing": 16,
69057
+ "alignment": "leading",
69058
+ "children": [
69059
+ {
69060
+ "id": "himi_video.title",
69061
+ "body": {
69062
+ "package": "himalaya",
69063
+ "type": "Text",
69064
+ "props": {
69065
+ "text": "$service:himiBrandedVideo.title",
69066
+ "style": "title1",
69067
+ "collapseWhenEmpty": true
69068
+ }
69069
+ }
69070
+ },
69071
+ {
69072
+ "id": "himi_video.loading",
69073
+ "body": {
69074
+ "package": "himalaya",
69075
+ "type": "ZStack",
69076
+ "props": {
69077
+ "alignment": "center",
69078
+ "children": []
69079
+ }
69080
+ },
69081
+ "modifiers": {
69082
+ "height": 180,
69083
+ "background": {
69084
+ "token": "surfaceSecondary"
69085
+ },
69086
+ "border": {
69087
+ "width": 1,
69088
+ "color": {
69089
+ "token": "border"
69090
+ }
69091
+ },
69092
+ "cornerRadius": 8,
69093
+ "hiddenPath": "$service:himiBrandedVideo.notLoading"
69094
+ }
69095
+ },
69096
+ {
69097
+ "id": "himi_video.player",
69098
+ "body": {
69099
+ "package": "himalaya",
69100
+ "type": "MediaPlayer",
69101
+ "props": {
69102
+ "sessionId": "brandedVod",
69103
+ "itemsPath": "$service:himiBrandedVideo.items",
69104
+ "presentation": "card",
69105
+ "controls": "builtIn",
69106
+ "autoplay": "never",
69107
+ "backgroundPlayback": "disabled",
69108
+ "fullscreen": "allowed",
69109
+ "pictureInPicture": "allowed"
69110
+ }
69111
+ },
69112
+ "modifiers": {
69113
+ "accessibilityLabel": "Video player",
69114
+ "hiddenPath": "$service:himiBrandedVideo.hidePlayer"
69115
+ }
69116
+ },
69117
+ {
69118
+ "id": "himi_video.description",
69119
+ "body": {
69120
+ "package": "himalaya",
69121
+ "type": "Text",
69122
+ "props": {
69123
+ "text": "$service:himiBrandedVideo.description",
69124
+ "style": "body",
69125
+ "collapseWhenEmpty": true
69126
+ }
68818
69127
  }
68819
69128
  },
68820
69129
  {
68821
69130
  "id": "",
69131
+ "body": {
69132
+ "package": "himalaya",
69133
+ "type": "Text",
69134
+ "props": {
69135
+ "text": "$service:himiBrandedVideo.emptyText",
69136
+ "style": "body",
69137
+ "color": "textSecondary",
69138
+ "collapseWhenEmpty": true
69139
+ }
69140
+ }
69141
+ },
69142
+ {
69143
+ "id": "himi_video.message",
69144
+ "body": {
69145
+ "package": "himalaya",
69146
+ "type": "Text",
69147
+ "props": {
69148
+ "text": "$service:himiBrandedVideo.message",
69149
+ "style": "body",
69150
+ "collapseWhenEmpty": true
69151
+ }
69152
+ },
69153
+ "modifiers": {
69154
+ "hiddenPath": "$service:himiBrandedVideo.noEntity"
69155
+ }
69156
+ },
69157
+ {
69158
+ "id": "himi_video.not_found",
68822
69159
  "body": {
68823
69160
  "package": "himalaya",
68824
69161
  "type": "VStack",
68825
69162
  "props": {
68826
- "spacing": 12,
68827
- "alignment": "leading",
69163
+ "spacing": 10,
69164
+ "alignment": "center",
68828
69165
  "children": [
68829
69166
  {
68830
- "id": "himi_video.loading",
69167
+ "id": "",
68831
69168
  "body": {
68832
69169
  "package": "himalaya",
68833
- "type": "Text",
69170
+ "type": "Icon",
68834
69171
  "props": {
68835
- "text": "Loading…",
68836
- "style": "body",
68837
- "color": "textSecondary"
69172
+ "name": "search",
69173
+ "size": 32,
69174
+ "tint": "textTertiary"
68838
69175
  }
68839
69176
  },
68840
69177
  "modifiers": {
68841
- "hiddenPath": "$service:himiBrandedSimpleDetail.hideLoading"
69178
+ "accessibilityRole": "decorative"
68842
69179
  }
68843
69180
  },
68844
69181
  {
68845
- "id": "himi_video.load_error",
69182
+ "id": "himi_video.not_found_title",
68846
69183
  "body": {
68847
69184
  "package": "himalaya",
68848
69185
  "type": "Text",
68849
69186
  "props": {
68850
- "text": "This couldn't be loaded. Check your connection and try again.",
69187
+ "text": "Video not found",
69188
+ "style": "title3"
69189
+ }
69190
+ }
69191
+ },
69192
+ {
69193
+ "id": "",
69194
+ "body": {
69195
+ "package": "himalaya",
69196
+ "type": "Text",
69197
+ "props": {
69198
+ "text": "This video is no longer available.",
68851
69199
  "style": "body",
68852
69200
  "color": "textSecondary"
68853
69201
  }
68854
- },
68855
- "modifiers": {
68856
- "hiddenPath": "$service:himiBrandedSimpleDetail.hideLoadError"
68857
69202
  }
68858
69203
  },
68859
69204
  {
68860
- "id": "himi_video.not_found",
69205
+ "id": "himi_video.not_found_back",
68861
69206
  "body": {
68862
69207
  "package": "himalaya",
68863
- "type": "VStack",
69208
+ "type": "Button",
68864
69209
  "props": {
68865
- "spacing": 10,
68866
- "alignment": "center",
68867
- "children": [
68868
- {
68869
- "id": "",
68870
- "body": {
68871
- "package": "himalaya",
68872
- "type": "Icon",
68873
- "props": {
68874
- "name": "search",
68875
- "size": 32,
68876
- "tint": "textTertiary"
68877
- }
68878
- },
68879
- "modifiers": {
68880
- "accessibilityRole": "decorative"
68881
- }
68882
- },
68883
- {
68884
- "id": "himi_video.not_found_title",
68885
- "body": {
68886
- "package": "himalaya",
68887
- "type": "Text",
68888
- "props": {
68889
- "text": "Video not found",
68890
- "style": "title3"
68891
- }
68892
- }
68893
- },
68894
- {
68895
- "id": "",
68896
- "body": {
68897
- "package": "himalaya",
68898
- "type": "Text",
68899
- "props": {
68900
- "text": "This video is no longer available.",
68901
- "style": "body",
68902
- "color": "textSecondary"
68903
- }
68904
- }
68905
- },
68906
- {
68907
- "id": "himi_video.not_found_back",
68908
- "body": {
68909
- "package": "himalaya",
68910
- "type": "Button",
68911
- "props": {
68912
- "title": "Back to videos",
68913
- "style": "primary",
68914
- "fullWidth": true,
68915
- "action": {
68916
- "actionId": "himi.open",
68917
- "params": {
68918
- "screenId": "himi_videos"
68919
- }
68920
- }
68921
- }
68922
- }
69210
+ "title": "Back to videos",
69211
+ "style": "primary",
69212
+ "fullWidth": true,
69213
+ "action": {
69214
+ "actionId": "himi.open",
69215
+ "params": {
69216
+ "screenId": "himi_videos"
68923
69217
  }
68924
- ]
68925
- }
68926
- },
68927
- "modifiers": {
68928
- "background": {
68929
- "token": "surfaceElevated"
68930
- },
68931
- "border": {
68932
- "width": 1,
68933
- "color": {
68934
- "token": "border"
68935
69218
  }
68936
- },
68937
- "cornerRadius": 16,
68938
- "padding": {
68939
- "leading": 16,
68940
- "trailing": 16,
68941
- "top": 20,
68942
- "bottom": 20
68943
- },
68944
- "fillMaxWidth": true,
68945
- "hiddenPath": "$service:himiBrandedSimpleDetail.hideNotFound"
69219
+ }
68946
69220
  }
68947
69221
  }
68948
69222
  ]
68949
69223
  }
69224
+ },
69225
+ "modifiers": {
69226
+ "background": {
69227
+ "token": "surfaceElevated"
69228
+ },
69229
+ "border": {
69230
+ "width": 1,
69231
+ "color": {
69232
+ "token": "border"
69233
+ }
69234
+ },
69235
+ "cornerRadius": 16,
69236
+ "padding": {
69237
+ "leading": 16,
69238
+ "trailing": 16,
69239
+ "top": 20,
69240
+ "bottom": 20
69241
+ },
69242
+ "fillMaxWidth": true,
69243
+ "hiddenPath": "$service:himiBrandedVideo.hideNotFound"
69244
+ }
69245
+ },
69246
+ {
69247
+ "id": "himi_video.error",
69248
+ "body": {
69249
+ "package": "himalaya",
69250
+ "type": "Banner",
69251
+ "props": {
69252
+ "title": "Videos couldn't be loaded",
69253
+ "message": "$service:himiBrandedVideo.error",
69254
+ "severity": "danger"
69255
+ }
69256
+ },
69257
+ "modifiers": {
69258
+ "hiddenPath": "$service:himiBrandedVideo.notErrored"
69259
+ }
69260
+ },
69261
+ {
69262
+ "id": "himi_video.refresh",
69263
+ "body": {
69264
+ "package": "himalaya",
69265
+ "type": "Button",
69266
+ "props": {
69267
+ "title": "Refresh",
69268
+ "style": "secondary",
69269
+ "action": {
69270
+ "actionId": "tier5.himiBrandedVideo.load"
69271
+ }
69272
+ }
69273
+ },
69274
+ "modifiers": {
69275
+ "hiddenPath": "$service:himiBrandedVideo.hideRefresh"
69276
+ }
69277
+ },
69278
+ {
69279
+ "id": "himi_video.sign_in",
69280
+ "body": {
69281
+ "package": "himalaya",
69282
+ "type": "Button",
69283
+ "props": {
69284
+ "title": "Sign in",
69285
+ "action": {
69286
+ "actionId": "himi.open",
69287
+ "params": {
69288
+ "screenId": "himi_account",
69289
+ "returnScreenId": "himi_video",
69290
+ "returnId": "$service:himiBrandedVideo.id",
69291
+ "returnChannelId": "$service:himiBrandedVideo.channelId"
69292
+ }
69293
+ }
69294
+ }
69295
+ },
69296
+ "modifiers": {
69297
+ "hiddenPath": "$service:himiBrandedVideo.noSignIn"
68950
69298
  }
68951
69299
  }
68952
69300
  ]
@@ -68963,16 +69311,18 @@ const SCREENS = runtimeSetting({
68963
69311
  "bottom": 28
68964
69312
  },
68965
69313
  "onAppear": {
68966
- "actionId": "tier5.himiBrandedSimpleDetail.load"
69314
+ "actionId": "tier5.himiBrandedVideo.load"
68967
69315
  }
68968
69316
  }
68969
69317
  },
68970
69318
  "logicBundle": {
68971
- "url": "http://localhost:8190/v1/bundles/himi-branded-lite-simple-detail?integrity=",
69319
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-video?integrity=",
68972
69320
  "integrity": "",
68973
69321
  "contentType": "application/javascript+ts-bundle",
68974
- "declaredCapabilities": [],
68975
- "minBinaryVersion": "0.1.0",
69322
+ "declaredCapabilities": [
69323
+ "wix_api"
69324
+ ],
69325
+ "minBinaryVersion": "1.2.0",
68976
69326
  "bundleVersion": "0.0.1"
68977
69327
  }
68978
69328
  },