@wix/himalaya-cli 0.1575.0 → 0.1577.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 (77) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/loyalty/src/index.d.ts +64 -6
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/online-programs/src/index.d.ts +87 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-loyalty.mjs +15 -3
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-online-programs.mjs +42 -0
  5. package/dist/cli.mjs +10821 -10593
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/fixtures/wix-canned.json +56 -3
  8. package/guides/himi-json-output.md +8 -0
  9. package/guides/one-app-section-mappings.md +1 -1
  10. package/guides/one-app-to-himi-app.md +50 -1
  11. package/guides/sdk-reference.json +133 -9
  12. package/package.json +2 -2
  13. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  14. package/templates/beauty-salon/tier5-src/_shared/owner-load-error.ts +8 -0
  15. package/templates/beauty-salon-owner/dev/index.ts +52 -27
  16. package/templates/beauty-salon-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  17. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  18. package/templates/branded-lite/config.ts +7 -0
  19. package/templates/branded-lite/dev/index.ts +833 -0
  20. package/templates/branded-lite/himalaya.content.json +3 -0
  21. package/templates/branded-lite/l10n/en.json +4 -2
  22. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  23. package/templates/branded-lite/tier5-src/_shared/owner-load-error.ts +8 -0
  24. package/templates/branded-lite/tier5-src/himi-branded-lite-member-programs/index.ts +658 -0
  25. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  26. package/templates/community-club/tier5-src/_shared/owner-load-error.ts +8 -0
  27. package/templates/community-club-owner/dev/index.ts +52 -27
  28. package/templates/community-club-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  29. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  30. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  31. package/templates/events-meetups/tier5-src/_shared/owner-load-error.ts +8 -0
  32. package/templates/events-meetups-owner/dev/index.ts +52 -27
  33. package/templates/events-meetups-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  34. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  35. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  36. package/templates/gym-fitness/tier5-src/_shared/owner-load-error.ts +8 -0
  37. package/templates/gym-fitness-owner/dev/index.ts +52 -27
  38. package/templates/gym-fitness-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  39. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  40. package/templates/himi-chat/tier5-src/_shared/owner-load-error.ts +8 -0
  41. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  42. package/templates/nonprofit-cause/tier5-src/_shared/owner-load-error.ts +8 -0
  43. package/templates/nonprofit-cause-owner/dev/index.ts +52 -27
  44. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  45. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  46. package/templates/owner-lite/dev/index.ts +52 -27
  47. package/templates/owner-lite/tier5-src/_shared/owner-load-error.ts +8 -0
  48. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +20 -8
  49. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  50. package/templates/podcast-creator/tier5-src/_shared/owner-load-error.ts +8 -0
  51. package/templates/podcast-creator-owner/dev/index.ts +52 -27
  52. package/templates/podcast-creator-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  53. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  54. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  55. package/templates/portfolio-creative/tier5-src/_shared/owner-load-error.ts +8 -0
  56. package/templates/portfolio-creative-owner/dev/index.ts +52 -27
  57. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  58. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  59. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  60. package/templates/restaurant/tier5-src/_shared/owner-load-error.ts +8 -0
  61. package/templates/restaurant-owner/dev/index.ts +52 -27
  62. package/templates/restaurant-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  63. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  64. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  65. package/templates/retail-store/tier5-src/_shared/owner-load-error.ts +8 -0
  66. package/templates/retail-store-owner/dev/index.ts +52 -27
  67. package/templates/retail-store-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  68. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
  69. package/templates/yoga-studio/config.ts +7 -0
  70. package/templates/yoga-studio/dev/index.ts +833 -0
  71. package/templates/yoga-studio/himalaya.content.json +3 -0
  72. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
  73. package/templates/yoga-studio/tier5-src/_shared/owner-load-error.ts +8 -0
  74. package/templates/yoga-studio/tier5-src/himi-branded-lite-member-programs/index.ts +658 -0
  75. package/templates/yoga-studio-owner/dev/index.ts +52 -27
  76. package/templates/yoga-studio-owner/tier5-src/_shared/owner-load-error.ts +8 -0
  77. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
@@ -29843,6 +29843,25 @@ const SCREENS = runtimeSetting({
29843
29843
  }
29844
29844
  }
29845
29845
  },
29846
+ {
29847
+ "id": "himi_programs.member_list",
29848
+ "body": {
29849
+ "package": "himalaya",
29850
+ "type": "Button",
29851
+ "props": {
29852
+ "title": "My programs",
29853
+ "style": "secondary",
29854
+ "fullWidth": true,
29855
+ "leadingIcon": "person",
29856
+ "action": {
29857
+ "actionId": "himi.open",
29858
+ "params": {
29859
+ "screenId": "himi_member_programs"
29860
+ }
29861
+ }
29862
+ }
29863
+ }
29864
+ },
29846
29865
  {
29847
29866
  "id": "himi_programs.loading",
29848
29867
  "body": {
@@ -32411,6 +32430,820 @@ const SCREENS = runtimeSetting({
32411
32430
  "bundleVersion": "0.0.1"
32412
32431
  }
32413
32432
  },
32433
+ "himi_member_programs": {
32434
+ "screenId": "himi_member_programs",
32435
+ "renderer": "sdui_intent",
32436
+ "title": "",
32437
+ "schemaVersion": 1,
32438
+ "cacheControl": {
32439
+ "maxAge": 0,
32440
+ "staleWhileRevalidate": 0
32441
+ },
32442
+ "payload": {
32443
+ "id": "himi_member_programs.root",
32444
+ "body": {
32445
+ "package": "himalaya",
32446
+ "type": "VStack",
32447
+ "props": {
32448
+ "spacing": 16,
32449
+ "alignment": "leading",
32450
+ "children": [
32451
+ {
32452
+ "id": "himi_member_programs.title",
32453
+ "body": {
32454
+ "package": "himalaya",
32455
+ "type": "Text",
32456
+ "props": {
32457
+ "text": "Programs",
32458
+ "style": "title1"
32459
+ }
32460
+ }
32461
+ },
32462
+ {
32463
+ "id": "",
32464
+ "body": {
32465
+ "package": "himalaya",
32466
+ "type": "Text",
32467
+ "props": {
32468
+ "text": "$service:himiBrandedMemberPrograms.identityLine",
32469
+ "style": "caption",
32470
+ "color": "textSecondary",
32471
+ "collapseWhenEmpty": true
32472
+ }
32473
+ }
32474
+ },
32475
+ {
32476
+ "id": "",
32477
+ "body": {
32478
+ "package": "himalaya",
32479
+ "type": "VStack",
32480
+ "props": {
32481
+ "spacing": 10,
32482
+ "alignment": "leading",
32483
+ "children": [
32484
+ {
32485
+ "id": "himi_member_programs.status_filter",
32486
+ "body": {
32487
+ "package": "himalaya",
32488
+ "type": "SegmentedControl",
32489
+ "props": {
32490
+ "options": [
32491
+ {
32492
+ "id": "all",
32493
+ "label": "All programs"
32494
+ },
32495
+ {
32496
+ "id": "joined",
32497
+ "label": "Programs I joined"
32498
+ }
32499
+ ],
32500
+ "optionsPath": "$service:himiBrandedMemberPrograms.statusOptions",
32501
+ "selectedId": "$service:himiBrandedMemberPrograms.statusFilter",
32502
+ "onChange": {
32503
+ "actionId": "tier5.himiBrandedMemberPrograms.setStatus"
32504
+ }
32505
+ }
32506
+ },
32507
+ "modifiers": {
32508
+ "accessibilityLabel": "Show programs",
32509
+ "hiddenPath": "$service:himiBrandedMemberPrograms.hideStatusFilter"
32510
+ }
32511
+ },
32512
+ {
32513
+ "id": "himi_member_programs.category_filter",
32514
+ "body": {
32515
+ "package": "himalaya",
32516
+ "type": "FilterChips",
32517
+ "props": {
32518
+ "chips": [
32519
+ {
32520
+ "id": "",
32521
+ "label": "All categories"
32522
+ }
32523
+ ],
32524
+ "optionsPath": "$service:himiBrandedMemberPrograms.categoryChips",
32525
+ "selectedIds": [
32526
+ "$service:himiBrandedMemberPrograms.categoryId"
32527
+ ],
32528
+ "onChange": {
32529
+ "actionId": "tier5.himiBrandedMemberPrograms.setCategory"
32530
+ }
32531
+ }
32532
+ },
32533
+ "modifiers": {
32534
+ "accessibilityLabel": "Filter by category",
32535
+ "hiddenPath": "$service:himiBrandedMemberPrograms.hideCategoryFilter"
32536
+ }
32537
+ }
32538
+ ]
32539
+ }
32540
+ }
32541
+ },
32542
+ {
32543
+ "id": "",
32544
+ "body": {
32545
+ "package": "himalaya",
32546
+ "type": "Text",
32547
+ "props": {
32548
+ "text": "$service:himiBrandedMemberPrograms.summary",
32549
+ "style": "caption",
32550
+ "color": "textSecondary",
32551
+ "maxLines": 1,
32552
+ "collapseWhenEmpty": true
32553
+ }
32554
+ },
32555
+ "modifiers": {
32556
+ "hiddenPath": "$service:himiBrandedMemberPrograms.hideList"
32557
+ }
32558
+ },
32559
+ {
32560
+ "id": "himi_member_programs.loading",
32561
+ "body": {
32562
+ "package": "himalaya",
32563
+ "type": "Skeleton",
32564
+ "props": {
32565
+ "height": 220,
32566
+ "cornerRadius": 8,
32567
+ "count": 3
32568
+ }
32569
+ },
32570
+ "modifiers": {
32571
+ "hiddenPath": "$service:himiBrandedMemberPrograms.notLoading"
32572
+ }
32573
+ },
32574
+ {
32575
+ "id": "himi_member_programs.error",
32576
+ "body": {
32577
+ "package": "himalaya",
32578
+ "type": "VStack",
32579
+ "props": {
32580
+ "spacing": 8,
32581
+ "alignment": "leading",
32582
+ "children": [
32583
+ {
32584
+ "id": "",
32585
+ "body": {
32586
+ "package": "himalaya",
32587
+ "type": "Text",
32588
+ "props": {
32589
+ "text": "Your programs could not be loaded right now.",
32590
+ "style": "bodyEmphasis"
32591
+ }
32592
+ }
32593
+ },
32594
+ {
32595
+ "id": "",
32596
+ "body": {
32597
+ "package": "himalaya",
32598
+ "type": "Text",
32599
+ "props": {
32600
+ "text": "$service:himiBrandedMemberPrograms.errorText",
32601
+ "style": "footnote",
32602
+ "color": "textSecondary",
32603
+ "collapseWhenEmpty": true
32604
+ }
32605
+ }
32606
+ },
32607
+ {
32608
+ "id": "himi_member_programs.retry",
32609
+ "body": {
32610
+ "package": "himalaya",
32611
+ "type": "Button",
32612
+ "props": {
32613
+ "title": "Try again",
32614
+ "style": "secondary",
32615
+ "action": {
32616
+ "actionId": "tier5.himiBrandedMemberPrograms.retry"
32617
+ }
32618
+ }
32619
+ }
32620
+ }
32621
+ ]
32622
+ }
32623
+ },
32624
+ "modifiers": {
32625
+ "background": {
32626
+ "token": "surfaceElevated"
32627
+ },
32628
+ "border": {
32629
+ "width": 1,
32630
+ "color": {
32631
+ "token": "border"
32632
+ }
32633
+ },
32634
+ "cornerRadius": 4,
32635
+ "padding": {
32636
+ "leading": 16,
32637
+ "trailing": 16,
32638
+ "top": 16,
32639
+ "bottom": 16
32640
+ },
32641
+ "hiddenPath": "$service:himiBrandedMemberPrograms.notErrored"
32642
+ }
32643
+ },
32644
+ {
32645
+ "id": "himi_member_programs.price_retry_card",
32646
+ "body": {
32647
+ "package": "himalaya",
32648
+ "type": "VStack",
32649
+ "props": {
32650
+ "spacing": 8,
32651
+ "alignment": "leading",
32652
+ "children": [
32653
+ {
32654
+ "id": "",
32655
+ "body": {
32656
+ "package": "himalaya",
32657
+ "type": "Text",
32658
+ "props": {
32659
+ "text": "$service:himiBrandedMemberPrograms.priceRetryText",
32660
+ "style": "footnote",
32661
+ "color": "textSecondary",
32662
+ "collapseWhenEmpty": true
32663
+ }
32664
+ }
32665
+ },
32666
+ {
32667
+ "id": "himi_member_programs.price_retry",
32668
+ "body": {
32669
+ "package": "himalaya",
32670
+ "type": "Button",
32671
+ "props": {
32672
+ "title": "Try again",
32673
+ "style": "secondary",
32674
+ "action": {
32675
+ "actionId": "tier5.himiBrandedMemberPrograms.pricingRefresh"
32676
+ }
32677
+ }
32678
+ }
32679
+ }
32680
+ ]
32681
+ }
32682
+ },
32683
+ "modifiers": {
32684
+ "background": {
32685
+ "token": "surfaceElevated"
32686
+ },
32687
+ "border": {
32688
+ "width": 1,
32689
+ "color": {
32690
+ "token": "border"
32691
+ }
32692
+ },
32693
+ "cornerRadius": 4,
32694
+ "padding": {
32695
+ "leading": 16,
32696
+ "trailing": 16,
32697
+ "top": 16,
32698
+ "bottom": 16
32699
+ },
32700
+ "hiddenPath": "$service:himiBrandedMemberPrograms.hidePriceRetry"
32701
+ }
32702
+ },
32703
+ {
32704
+ "id": "himi_member_programs.list",
32705
+ "body": {
32706
+ "package": "himalaya",
32707
+ "type": "LazyList",
32708
+ "props": {
32709
+ "spacing": 12,
32710
+ "itemsPath": "$service:himiBrandedMemberPrograms.rows",
32711
+ "items": [
32712
+ {
32713
+ "id": "himi_member_programs.row",
32714
+ "body": {
32715
+ "package": "himalaya",
32716
+ "type": "VStack",
32717
+ "props": {
32718
+ "spacing": 8,
32719
+ "alignment": "leading",
32720
+ "children": [
32721
+ {
32722
+ "id": "",
32723
+ "body": {
32724
+ "package": "himalaya",
32725
+ "type": "ZStack",
32726
+ "props": {
32727
+ "alignment": "leading",
32728
+ "children": [
32729
+ {
32730
+ "id": "",
32731
+ "body": {
32732
+ "package": "himalaya",
32733
+ "type": "Image",
32734
+ "props": {
32735
+ "url": "$item.image",
32736
+ "fillWidth": true,
32737
+ "height": 120,
32738
+ "contentMode": "fill",
32739
+ "contentDescription": "$item.name"
32740
+ }
32741
+ },
32742
+ "modifiers": {
32743
+ "cornerRadius": 8,
32744
+ "fillMaxWidth": true,
32745
+ "hiddenPath": "$item.noImage"
32746
+ }
32747
+ },
32748
+ {
32749
+ "id": "",
32750
+ "body": {
32751
+ "package": "himalaya",
32752
+ "type": "ZStack",
32753
+ "props": {
32754
+ "alignment": "center",
32755
+ "children": [
32756
+ {
32757
+ "id": "",
32758
+ "body": {
32759
+ "package": "himalaya",
32760
+ "type": "Text",
32761
+ "props": {
32762
+ "text": "$item.initial",
32763
+ "style": "display",
32764
+ "color": "textOnAccent",
32765
+ "maxLines": 1
32766
+ }
32767
+ }
32768
+ }
32769
+ ]
32770
+ }
32771
+ },
32772
+ "modifiers": {
32773
+ "fillMaxWidth": true,
32774
+ "height": 120,
32775
+ "background": {
32776
+ "token": "accentPrimary"
32777
+ },
32778
+ "cornerRadius": 8,
32779
+ "hiddenPath": "$item.hasImage"
32780
+ }
32781
+ },
32782
+ {
32783
+ "id": "",
32784
+ "body": {
32785
+ "package": "himalaya",
32786
+ "type": "VStack",
32787
+ "props": {
32788
+ "alignment": "leading",
32789
+ "children": [
32790
+ {
32791
+ "id": "himi_member_programs.status",
32792
+ "body": {
32793
+ "package": "himalaya",
32794
+ "type": "Label",
32795
+ "props": {
32796
+ "text": "$item.statusLabel",
32797
+ "color": "$item.statusColor"
32798
+ }
32799
+ },
32800
+ "modifiers": {
32801
+ "padding": {
32802
+ "leading": 8,
32803
+ "trailing": 8,
32804
+ "top": 4,
32805
+ "bottom": 4
32806
+ },
32807
+ "background": {
32808
+ "token": "surfaceElevated"
32809
+ },
32810
+ "cornerRadius": 6
32811
+ }
32812
+ }
32813
+ ]
32814
+ }
32815
+ },
32816
+ "modifiers": {
32817
+ "padding": {
32818
+ "leading": 12,
32819
+ "top": 12
32820
+ },
32821
+ "hiddenPath": "$item.noStatus"
32822
+ }
32823
+ }
32824
+ ]
32825
+ }
32826
+ }
32827
+ },
32828
+ {
32829
+ "id": "",
32830
+ "body": {
32831
+ "package": "himalaya",
32832
+ "type": "Text",
32833
+ "props": {
32834
+ "text": "$item.name",
32835
+ "style": "bodyEmphasis",
32836
+ "maxLines": 2
32837
+ }
32838
+ }
32839
+ },
32840
+ {
32841
+ "id": "",
32842
+ "body": {
32843
+ "package": "himalaya",
32844
+ "type": "Text",
32845
+ "props": {
32846
+ "text": "$item.timelineLine",
32847
+ "style": "footnote",
32848
+ "color": "textSecondary",
32849
+ "maxLines": 1,
32850
+ "collapseWhenEmpty": true
32851
+ }
32852
+ }
32853
+ },
32854
+ {
32855
+ "id": "",
32856
+ "body": {
32857
+ "package": "himalaya",
32858
+ "type": "Text",
32859
+ "props": {
32860
+ "text": "$item.accessLine",
32861
+ "style": "footnote",
32862
+ "color": "textSecondary",
32863
+ "maxLines": 1,
32864
+ "collapseWhenEmpty": true
32865
+ }
32866
+ }
32867
+ },
32868
+ {
32869
+ "id": "",
32870
+ "body": {
32871
+ "package": "himalaya",
32872
+ "type": "Text",
32873
+ "props": {
32874
+ "text": "$item.descriptionLine",
32875
+ "style": "footnote",
32876
+ "color": "textSecondary",
32877
+ "maxLines": 2,
32878
+ "collapseWhenEmpty": true
32879
+ }
32880
+ }
32881
+ },
32882
+ {
32883
+ "id": "",
32884
+ "body": {
32885
+ "package": "himalaya",
32886
+ "type": "VStack",
32887
+ "props": {
32888
+ "spacing": 4,
32889
+ "alignment": "leading",
32890
+ "children": [
32891
+ {
32892
+ "id": "himi_member_programs.progress",
32893
+ "body": {
32894
+ "package": "himalaya",
32895
+ "type": "ProgressBar",
32896
+ "props": {
32897
+ "progress": 0,
32898
+ "progressPath": "$item.progress",
32899
+ "tint": "accentPrimary",
32900
+ "trackColor": "surfaceTertiary"
32901
+ }
32902
+ },
32903
+ "modifiers": {
32904
+ "accessibilityLabel": "Program progress",
32905
+ "accessibilityValue": "$item.progressLabel"
32906
+ }
32907
+ },
32908
+ {
32909
+ "id": "",
32910
+ "body": {
32911
+ "package": "himalaya",
32912
+ "type": "Text",
32913
+ "props": {
32914
+ "text": "$item.progressLabel",
32915
+ "style": "caption",
32916
+ "color": "textSecondary",
32917
+ "maxLines": 1
32918
+ }
32919
+ }
32920
+ }
32921
+ ]
32922
+ }
32923
+ },
32924
+ "modifiers": {
32925
+ "hiddenPath": "$item.noProgress"
32926
+ }
32927
+ },
32928
+ {
32929
+ "id": "himi_member_programs.price",
32930
+ "body": {
32931
+ "package": "himalaya",
32932
+ "type": "Text",
32933
+ "props": {
32934
+ "text": "$item.priceLine",
32935
+ "style": "bodyEmphasis",
32936
+ "color": "accentPrimary",
32937
+ "maxLines": 1
32938
+ }
32939
+ },
32940
+ "modifiers": {
32941
+ "hiddenPath": "$item.noPrice"
32942
+ }
32943
+ },
32944
+ {
32945
+ "id": "",
32946
+ "body": {
32947
+ "package": "himalaya",
32948
+ "type": "Divider",
32949
+ "props": {}
32950
+ }
32951
+ },
32952
+ {
32953
+ "id": "himi_member_programs.action",
32954
+ "body": {
32955
+ "package": "himalaya",
32956
+ "type": "Button",
32957
+ "props": {
32958
+ "title": "$item.actionLabel",
32959
+ "style": "link",
32960
+ "fullWidth": true,
32961
+ "disabledPath": "$item.actionDisabled",
32962
+ "action": {
32963
+ "actionId": "tier5.himiBrandedMemberPrograms.open",
32964
+ "params": {
32965
+ "id": "$item.id"
32966
+ }
32967
+ }
32968
+ }
32969
+ }
32970
+ }
32971
+ ]
32972
+ }
32973
+ },
32974
+ "modifiers": {
32975
+ "background": {
32976
+ "token": "surfaceElevated"
32977
+ },
32978
+ "border": {
32979
+ "width": 1,
32980
+ "color": {
32981
+ "token": "border"
32982
+ }
32983
+ },
32984
+ "cornerRadius": 8,
32985
+ "padding": {
32986
+ "leading": 12,
32987
+ "trailing": 12,
32988
+ "top": 12,
32989
+ "bottom": 8
32990
+ },
32991
+ "onTap": {
32992
+ "actionId": "himi.open",
32993
+ "params": {
32994
+ "screenId": "$item.detailScreenId",
32995
+ "id": "$item.id"
32996
+ }
32997
+ },
32998
+ "pressFeedback": "scale",
32999
+ "haptic": "light",
33000
+ "accessibilityLabel": "$item.name"
33001
+ }
33002
+ }
33003
+ ],
33004
+ "animateItems": true,
33005
+ "pagination": {
33006
+ "cursor": "$service:himiBrandedMemberPrograms.nextCursor",
33007
+ "pageSize": 20,
33008
+ "onLoadMore": {
33009
+ "actionId": "tier5.himiBrandedMemberPrograms.loadMore"
33010
+ }
33011
+ },
33012
+ "onPullToRefresh": {
33013
+ "actionId": "tier5.himiBrandedMemberPrograms.refresh"
33014
+ }
33015
+ }
33016
+ },
33017
+ "modifiers": {
33018
+ "hiddenPath": "$service:himiBrandedMemberPrograms.hideList"
33019
+ }
33020
+ },
33021
+ {
33022
+ "id": "",
33023
+ "body": {
33024
+ "package": "himalaya",
33025
+ "type": "VStack",
33026
+ "props": {
33027
+ "spacing": 8,
33028
+ "children": [
33029
+ {
33030
+ "id": "",
33031
+ "body": {
33032
+ "package": "himalaya",
33033
+ "type": "Text",
33034
+ "props": {
33035
+ "text": "The next page could not load.",
33036
+ "style": "caption"
33037
+ }
33038
+ }
33039
+ },
33040
+ {
33041
+ "id": "himi_member_programs.retry_page",
33042
+ "body": {
33043
+ "package": "himalaya",
33044
+ "type": "Button",
33045
+ "props": {
33046
+ "title": "Retry next page",
33047
+ "style": "secondary",
33048
+ "action": {
33049
+ "actionId": "tier5.himiBrandedMemberPrograms.retry"
33050
+ }
33051
+ }
33052
+ }
33053
+ }
33054
+ ]
33055
+ }
33056
+ },
33057
+ "modifiers": {
33058
+ "hiddenPath": "$service:himiBrandedMemberPrograms.noPageError"
33059
+ }
33060
+ },
33061
+ {
33062
+ "id": "himi_member_programs.empty",
33063
+ "body": {
33064
+ "package": "himalaya",
33065
+ "type": "VStack",
33066
+ "props": {
33067
+ "spacing": 8,
33068
+ "alignment": "leading",
33069
+ "children": [
33070
+ {
33071
+ "id": "",
33072
+ "body": {
33073
+ "package": "himalaya",
33074
+ "type": "Icon",
33075
+ "props": {
33076
+ "name": "layers",
33077
+ "size": 28,
33078
+ "tint": "textTertiary"
33079
+ }
33080
+ },
33081
+ "modifiers": {
33082
+ "accessibilityRole": "decorative"
33083
+ }
33084
+ },
33085
+ {
33086
+ "id": "",
33087
+ "body": {
33088
+ "package": "himalaya",
33089
+ "type": "Text",
33090
+ "props": {
33091
+ "text": "$service:himiBrandedMemberPrograms.emptyText",
33092
+ "style": "body",
33093
+ "color": "textSecondary",
33094
+ "collapseWhenEmpty": true
33095
+ }
33096
+ }
33097
+ }
33098
+ ]
33099
+ }
33100
+ },
33101
+ "modifiers": {
33102
+ "background": {
33103
+ "token": "surfaceElevated"
33104
+ },
33105
+ "border": {
33106
+ "width": 1,
33107
+ "color": {
33108
+ "token": "border"
33109
+ }
33110
+ },
33111
+ "cornerRadius": 4,
33112
+ "padding": {
33113
+ "leading": 16,
33114
+ "trailing": 16,
33115
+ "top": 16,
33116
+ "bottom": 16
33117
+ },
33118
+ "fillMaxWidth": true,
33119
+ "hiddenPath": "$service:himiBrandedMemberPrograms.noEmpty"
33120
+ }
33121
+ },
33122
+ {
33123
+ "id": "himi_member_programs.member_gate",
33124
+ "body": {
33125
+ "package": "himalaya",
33126
+ "type": "VStack",
33127
+ "props": {
33128
+ "spacing": 10,
33129
+ "alignment": "center",
33130
+ "children": [
33131
+ {
33132
+ "id": "",
33133
+ "body": {
33134
+ "package": "himalaya",
33135
+ "type": "Icon",
33136
+ "props": {
33137
+ "name": "person",
33138
+ "size": 28,
33139
+ "tint": "accentPrimary"
33140
+ }
33141
+ },
33142
+ "modifiers": {
33143
+ "accessibilityRole": "decorative"
33144
+ }
33145
+ },
33146
+ {
33147
+ "id": "himi_member_programs.member_gate_title",
33148
+ "body": {
33149
+ "package": "himalaya",
33150
+ "type": "Text",
33151
+ "props": {
33152
+ "text": "Sign in to see your programs",
33153
+ "style": "bodyEmphasis"
33154
+ }
33155
+ }
33156
+ },
33157
+ {
33158
+ "id": "",
33159
+ "body": {
33160
+ "package": "himalaya",
33161
+ "type": "Text",
33162
+ "props": {
33163
+ "text": "Your joined programs and progress show up here once you sign in.",
33164
+ "style": "footnote",
33165
+ "color": "textSecondary"
33166
+ }
33167
+ }
33168
+ },
33169
+ {
33170
+ "id": "himi_member_programs.member_gate_signin",
33171
+ "body": {
33172
+ "package": "himalaya",
33173
+ "type": "Button",
33174
+ "props": {
33175
+ "title": "Sign in",
33176
+ "style": "primary",
33177
+ "fullWidth": true,
33178
+ "action": {
33179
+ "actionId": "himi.open",
33180
+ "params": {
33181
+ "screenId": "himi_sign_in",
33182
+ "mode": "signin",
33183
+ "intent": "programs",
33184
+ "returnScreenId": "himi_member_programs",
33185
+ "modal": "1"
33186
+ },
33187
+ "presentation": "sheet"
33188
+ }
33189
+ }
33190
+ }
33191
+ }
33192
+ ]
33193
+ }
33194
+ },
33195
+ "modifiers": {
33196
+ "background": {
33197
+ "token": "surfaceElevated"
33198
+ },
33199
+ "border": {
33200
+ "width": 1,
33201
+ "color": {
33202
+ "token": "border"
33203
+ }
33204
+ },
33205
+ "cornerRadius": 16,
33206
+ "padding": {
33207
+ "leading": 16,
33208
+ "trailing": 16,
33209
+ "top": 20,
33210
+ "bottom": 20
33211
+ },
33212
+ "fillMaxWidth": true,
33213
+ "hiddenPath": "$service:himiBrandedMemberPrograms.noSignIn"
33214
+ }
33215
+ }
33216
+ ]
33217
+ }
33218
+ },
33219
+ "modifiers": {
33220
+ "background": {
33221
+ "token": "surfacePrimary"
33222
+ },
33223
+ "padding": {
33224
+ "leading": 16,
33225
+ "trailing": 16,
33226
+ "top": 18,
33227
+ "bottom": 28
33228
+ },
33229
+ "onAppear": {
33230
+ "actionId": "tier5.himiBrandedMemberPrograms.load"
33231
+ }
33232
+ }
33233
+ },
33234
+ "logicBundle": {
33235
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-member-programs?integrity=",
33236
+ "integrity": "",
33237
+ "contentType": "application/javascript+ts-bundle",
33238
+ "declaredCapabilities": [
33239
+ "wix_api",
33240
+ "iap",
33241
+ "app_info"
33242
+ ],
33243
+ "minBinaryVersion": "0.1.0",
33244
+ "bundleVersion": "0.0.1"
33245
+ }
33246
+ },
32414
33247
  "himi_plans": {
32415
33248
  "screenId": "himi_plans",
32416
33249
  "renderer": "sdui_intent",