@wix/himalaya-cli 0.1495.0 → 0.1497.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 (74) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/attendance-classifier.d.ts +37 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/catalog-pricing-contract.d.ts +1 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/index.d.ts +2 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-contract.d.ts +11 -3
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/apple-iap-contract.d.ts +27 -3
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/commerce-contract.d.ts +1 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/iap-verticals/attendance.d.ts +10 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/iap-verticals/index.d.ts +1 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/iap-checkout/src/index.d.ts +1 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/index.d.ts +33 -2
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +346 -26
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +132 -3
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +366 -48
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +5 -0
  15. package/dist/cli.mjs +816 -667
  16. package/guides/iap-products.md +7 -1
  17. package/guides/sdk-reference.json +376 -27
  18. package/package.json +2 -2
  19. package/templates/beauty-salon/dev/index.ts +394 -0
  20. package/templates/beauty-salon/tier5-src/_shared/iap-attendance-form.ts +106 -0
  21. package/templates/beauty-salon/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  22. package/templates/beauty-salon/tier5-src/_shared/iap-attendance.ts +38 -0
  23. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +52 -7
  24. package/templates/branded-lite/dev/index.ts +1073 -284
  25. package/templates/branded-lite/tier5-src/_shared/business-chat-model.ts +35 -4
  26. package/templates/branded-lite/tier5-src/_shared/business-chat-transport.ts +12 -5
  27. package/templates/branded-lite/tier5-src/_shared/iap-attendance-form.ts +106 -0
  28. package/templates/branded-lite/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  29. package/templates/branded-lite/tier5-src/_shared/iap-attendance.ts +38 -0
  30. package/templates/branded-lite/tier5-src/business-chat/index.ts +50 -17
  31. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +52 -7
  32. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +112 -21
  33. package/templates/community-club/dev/index.ts +397 -2
  34. package/templates/community-club/tier5-src/_shared/iap-attendance-form.ts +106 -0
  35. package/templates/community-club/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  36. package/templates/community-club/tier5-src/_shared/iap-attendance.ts +38 -0
  37. package/templates/community-club/tier5-src/himi-events-detail/index.ts +112 -21
  38. package/templates/events-meetups/dev/index.ts +397 -2
  39. package/templates/events-meetups/tier5-src/_shared/iap-attendance-form.ts +106 -0
  40. package/templates/events-meetups/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  41. package/templates/events-meetups/tier5-src/_shared/iap-attendance.ts +38 -0
  42. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +112 -21
  43. package/templates/gym-fitness/dev/index.ts +828 -39
  44. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-form.ts +106 -0
  45. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  46. package/templates/gym-fitness/tier5-src/_shared/iap-attendance.ts +38 -0
  47. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +52 -7
  48. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +112 -21
  49. package/templates/nonprofit-cause/dev/index.ts +397 -2
  50. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-form.ts +106 -0
  51. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  52. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance.ts +38 -0
  53. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +112 -21
  54. package/templates/podcast-creator/dev/index.ts +397 -2
  55. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-form.ts +106 -0
  56. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  57. package/templates/podcast-creator/tier5-src/_shared/iap-attendance.ts +38 -0
  58. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +112 -21
  59. package/templates/portfolio-creative/dev/index.ts +397 -2
  60. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-form.ts +106 -0
  61. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  62. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance.ts +38 -0
  63. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +112 -21
  64. package/templates/restaurant/dev/index.ts +397 -2
  65. package/templates/restaurant/tier5-src/_shared/iap-attendance-form.ts +106 -0
  66. package/templates/restaurant/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  67. package/templates/restaurant/tier5-src/_shared/iap-attendance.ts +38 -0
  68. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +112 -21
  69. package/templates/yoga-studio/dev/index.ts +828 -39
  70. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-form.ts +106 -0
  71. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  72. package/templates/yoga-studio/tier5-src/_shared/iap-attendance.ts +38 -0
  73. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +52 -7
  74. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +112 -21
@@ -41399,6 +41399,398 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41399
41399
  }
41400
41400
  }
41401
41401
  },
41402
+ {
41403
+ "id": "",
41404
+ "body": {
41405
+ "package": "himalaya",
41406
+ "type": "VStack",
41407
+ "props": {
41408
+ "spacing": 12,
41409
+ "alignment": "leading",
41410
+ "children": [
41411
+ {
41412
+ "id": "",
41413
+ "body": {
41414
+ "package": "himalaya",
41415
+ "type": "Text",
41416
+ "props": {
41417
+ "text": "$service:himiBookingTime.iapPrice",
41418
+ "style": "bodyEmphasis",
41419
+ "collapseWhenEmpty": true
41420
+ }
41421
+ }
41422
+ },
41423
+ {
41424
+ "id": "himi_time.apple.form",
41425
+ "body": {
41426
+ "package": "himalaya",
41427
+ "type": "Grid",
41428
+ "props": {
41429
+ "columns": 1,
41430
+ "spacing": 12,
41431
+ "itemsPath": "$service:himiBookingTime.iapFields",
41432
+ "items": [
41433
+ {
41434
+ "id": "",
41435
+ "body": {
41436
+ "package": "himalaya",
41437
+ "type": "VStack",
41438
+ "props": {
41439
+ "spacing": 8,
41440
+ "alignment": "leading",
41441
+ "children": [
41442
+ {
41443
+ "id": "",
41444
+ "body": {
41445
+ "package": "himalaya",
41446
+ "type": "Text",
41447
+ "props": {
41448
+ "text": "$item.sectionLabel",
41449
+ "style": "bodyEmphasis",
41450
+ "collapseWhenEmpty": true
41451
+ }
41452
+ }
41453
+ },
41454
+ {
41455
+ "id": "",
41456
+ "body": {
41457
+ "package": "himalaya",
41458
+ "type": "Text",
41459
+ "props": {
41460
+ "text": "$item.label",
41461
+ "style": "footnote"
41462
+ }
41463
+ }
41464
+ },
41465
+ {
41466
+ "id": "himi_time.apple.input.$item.id",
41467
+ "body": {
41468
+ "package": "himalaya",
41469
+ "type": "FragmentSlot",
41470
+ "props": {
41471
+ "casePath": "$item.kind",
41472
+ "defaultCase": "text",
41473
+ "cases": [
41474
+ {
41475
+ "id": "text",
41476
+ "content": {
41477
+ "id": "himi_time.apple.field.text.$item.id",
41478
+ "body": {
41479
+ "package": "himalaya",
41480
+ "type": "TextField",
41481
+ "props": {
41482
+ "placeholder": "$item.inputLabel",
41483
+ "value": "$item.value",
41484
+ "onChange": {
41485
+ "actionId": "tier5.himiBookingTime.setIapField",
41486
+ "params": {
41487
+ "id": "$item.fieldId"
41488
+ }
41489
+ },
41490
+ "validation": {},
41491
+ "errorText": "$item.error",
41492
+ "autoCapitalization": "words"
41493
+ }
41494
+ }
41495
+ }
41496
+ },
41497
+ {
41498
+ "id": "requiredText",
41499
+ "content": {
41500
+ "id": "himi_time.apple.field.requiredText.$item.id",
41501
+ "body": {
41502
+ "package": "himalaya",
41503
+ "type": "TextField",
41504
+ "props": {
41505
+ "placeholder": "$item.inputLabel",
41506
+ "value": "$item.value",
41507
+ "onChange": {
41508
+ "actionId": "tier5.himiBookingTime.setIapField",
41509
+ "params": {
41510
+ "id": "$item.fieldId"
41511
+ }
41512
+ },
41513
+ "validation": {
41514
+ "required": true
41515
+ },
41516
+ "errorText": "$item.error",
41517
+ "autoCapitalization": "words"
41518
+ }
41519
+ }
41520
+ }
41521
+ },
41522
+ {
41523
+ "id": "email",
41524
+ "content": {
41525
+ "id": "himi_time.apple.field.email.$item.id",
41526
+ "body": {
41527
+ "package": "himalaya",
41528
+ "type": "TextField",
41529
+ "props": {
41530
+ "placeholder": "$item.inputLabel",
41531
+ "value": "$item.value",
41532
+ "onChange": {
41533
+ "actionId": "tier5.himiBookingTime.setIapField",
41534
+ "params": {
41535
+ "id": "$item.fieldId"
41536
+ }
41537
+ },
41538
+ "validation": {
41539
+ "required": true,
41540
+ "type": "email"
41541
+ },
41542
+ "errorText": "$item.error",
41543
+ "autoCapitalization": "none"
41544
+ }
41545
+ }
41546
+ }
41547
+ },
41548
+ {
41549
+ "id": "number",
41550
+ "content": {
41551
+ "id": "himi_time.apple.field.number.$item.id",
41552
+ "body": {
41553
+ "package": "himalaya",
41554
+ "type": "TextField",
41555
+ "props": {
41556
+ "placeholder": "$item.inputLabel",
41557
+ "value": "$item.value",
41558
+ "onChange": {
41559
+ "actionId": "tier5.himiBookingTime.setIapField",
41560
+ "params": {
41561
+ "id": "$item.fieldId"
41562
+ }
41563
+ },
41564
+ "validation": {
41565
+ "type": "number"
41566
+ },
41567
+ "errorText": "$item.error",
41568
+ "autoCapitalization": "words"
41569
+ }
41570
+ }
41571
+ }
41572
+ },
41573
+ {
41574
+ "id": "choice",
41575
+ "content": {
41576
+ "id": "",
41577
+ "body": {
41578
+ "package": "himalaya",
41579
+ "type": "VStack",
41580
+ "props": {
41581
+ "spacing": 4,
41582
+ "children": [
41583
+ {
41584
+ "id": "himi_time.apple.options.choice",
41585
+ "body": {
41586
+ "package": "himalaya",
41587
+ "type": "Grid",
41588
+ "props": {
41589
+ "columns": 1,
41590
+ "spacing": 8,
41591
+ "itemsPath": "$item.options",
41592
+ "items": [
41593
+ {
41594
+ "id": "himi_time.apple.option.choice.$item.fieldId.$item.id",
41595
+ "body": {
41596
+ "package": "himalaya",
41597
+ "type": "Button",
41598
+ "props": {
41599
+ "title": "$item.displayLabel",
41600
+ "style": "secondary",
41601
+ "fullWidth": true,
41602
+ "action": {
41603
+ "actionId": "tier5.himiBookingTime.setIapField",
41604
+ "params": {
41605
+ "id": "$item.fieldId",
41606
+ "option": "$item.id"
41607
+ }
41608
+ }
41609
+ }
41610
+ }
41611
+ }
41612
+ ]
41613
+ }
41614
+ }
41615
+ },
41616
+ {
41617
+ "id": "",
41618
+ "body": {
41619
+ "package": "himalaya",
41620
+ "type": "FieldError",
41621
+ "props": {
41622
+ "text": "$item.error"
41623
+ }
41624
+ },
41625
+ "modifiers": {
41626
+ "hiddenPath": "$item.errorHidden"
41627
+ }
41628
+ }
41629
+ ]
41630
+ }
41631
+ }
41632
+ }
41633
+ },
41634
+ {
41635
+ "id": "multiple",
41636
+ "content": {
41637
+ "id": "",
41638
+ "body": {
41639
+ "package": "himalaya",
41640
+ "type": "VStack",
41641
+ "props": {
41642
+ "spacing": 4,
41643
+ "children": [
41644
+ {
41645
+ "id": "himi_time.apple.options.multiple",
41646
+ "body": {
41647
+ "package": "himalaya",
41648
+ "type": "Grid",
41649
+ "props": {
41650
+ "columns": 1,
41651
+ "spacing": 8,
41652
+ "itemsPath": "$item.options",
41653
+ "items": [
41654
+ {
41655
+ "id": "himi_time.apple.option.multiple.$item.fieldId.$item.id",
41656
+ "body": {
41657
+ "package": "himalaya",
41658
+ "type": "Button",
41659
+ "props": {
41660
+ "title": "$item.displayLabel",
41661
+ "style": "secondary",
41662
+ "fullWidth": true,
41663
+ "action": {
41664
+ "actionId": "tier5.himiBookingTime.setIapField",
41665
+ "params": {
41666
+ "id": "$item.fieldId",
41667
+ "option": "$item.id"
41668
+ }
41669
+ }
41670
+ }
41671
+ }
41672
+ }
41673
+ ]
41674
+ }
41675
+ }
41676
+ },
41677
+ {
41678
+ "id": "",
41679
+ "body": {
41680
+ "package": "himalaya",
41681
+ "type": "FieldError",
41682
+ "props": {
41683
+ "text": "$item.error"
41684
+ }
41685
+ },
41686
+ "modifiers": {
41687
+ "hiddenPath": "$item.errorHidden"
41688
+ }
41689
+ }
41690
+ ]
41691
+ }
41692
+ }
41693
+ }
41694
+ }
41695
+ ]
41696
+ }
41697
+ }
41698
+ }
41699
+ ]
41700
+ }
41701
+ }
41702
+ }
41703
+ ]
41704
+ }
41705
+ },
41706
+ "modifiers": {
41707
+ "hiddenPath": "$service:himiBookingTime.iapFormHidden"
41708
+ }
41709
+ },
41710
+ {
41711
+ "id": "",
41712
+ "body": {
41713
+ "package": "himalaya",
41714
+ "type": "FieldError",
41715
+ "props": {
41716
+ "text": "",
41717
+ "textPath": "$service:himiBookingTime.iapFormError"
41718
+ }
41719
+ }
41720
+ },
41721
+ {
41722
+ "id": "himi_time.apple.buy",
41723
+ "body": {
41724
+ "package": "himalaya",
41725
+ "type": "Button",
41726
+ "props": {
41727
+ "title": "$service:himiBookingTime.iapBuyLabel",
41728
+ "disabledPath": "$service:himiBookingTime.iapBuyDisabled",
41729
+ "style": "primary",
41730
+ "fullWidth": true,
41731
+ "action": {
41732
+ "actionId": "tier5.himiBookingTime.buyApple"
41733
+ }
41734
+ }
41735
+ }
41736
+ },
41737
+ {
41738
+ "id": "",
41739
+ "body": {
41740
+ "package": "himalaya",
41741
+ "type": "Text",
41742
+ "props": {
41743
+ "text": "$service:himiBookingTime.iapNote",
41744
+ "style": "footnote",
41745
+ "color": "textSecondary",
41746
+ "collapseWhenEmpty": true
41747
+ }
41748
+ }
41749
+ },
41750
+ {
41751
+ "id": "himi_time.apple.signin",
41752
+ "body": {
41753
+ "package": "himalaya",
41754
+ "type": "Button",
41755
+ "props": {
41756
+ "title": "Sign in",
41757
+ "style": "secondary",
41758
+ "action": {
41759
+ "actionId": "himi.open",
41760
+ "params": {
41761
+ "screenId": "himi_account"
41762
+ }
41763
+ }
41764
+ }
41765
+ },
41766
+ "modifiers": {
41767
+ "hiddenPath": "$service:himiBookingTime.iapSignInHidden"
41768
+ }
41769
+ },
41770
+ {
41771
+ "id": "himi_time.apple.retry",
41772
+ "body": {
41773
+ "package": "himalaya",
41774
+ "type": "Button",
41775
+ "props": {
41776
+ "title": "Refresh purchase status",
41777
+ "style": "secondary",
41778
+ "action": {
41779
+ "actionId": "tier5.himiBookingTime.iapRefresh"
41780
+ }
41781
+ }
41782
+ },
41783
+ "modifiers": {
41784
+ "hiddenPath": "$service:himiBookingTime.iapRetryHidden"
41785
+ }
41786
+ }
41787
+ ]
41788
+ }
41789
+ },
41790
+ "modifiers": {
41791
+ "hiddenPath": "$service:himiBookingTime.iapBuyHidden"
41792
+ }
41793
+ },
41402
41794
  {
41403
41795
  "id": "himi_time.book.disabled",
41404
41796
  "body": {
@@ -41697,6 +42089,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
41697
42089
  "declaredCapabilities": [
41698
42090
  "wix_api",
41699
42091
  "local_database",
42092
+ "app_info",
42093
+ "iap",
41700
42094
  "wix_cashier",
41701
42095
  "open_url",
41702
42096
  "wix_platform"
@@ -42404,64 +42798,456 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
42404
42798
  "id": "",
42405
42799
  "body": {
42406
42800
  "package": "himalaya",
42407
- "type": "Spacer",
42408
- "props": {}
42801
+ "type": "Spacer",
42802
+ "props": {}
42803
+ }
42804
+ },
42805
+ {
42806
+ "id": "",
42807
+ "body": {
42808
+ "package": "himalaya",
42809
+ "type": "Text",
42810
+ "props": {
42811
+ "text": "$item.unavailableNote",
42812
+ "style": "footnote",
42813
+ "color": "textTertiary",
42814
+ "collapseWhenEmpty": true
42815
+ }
42816
+ }
42817
+ }
42818
+ ]
42819
+ }
42820
+ },
42821
+ "modifiers": {
42822
+ "background": {
42823
+ "token": "surfaceElevated"
42824
+ },
42825
+ "border": {
42826
+ "width": 1,
42827
+ "color": {
42828
+ "token": "border"
42829
+ }
42830
+ },
42831
+ "cornerRadius": 8,
42832
+ "padding": {
42833
+ "leading": 12,
42834
+ "trailing": 12,
42835
+ "top": 10,
42836
+ "bottom": 10
42837
+ },
42838
+ "fillMaxWidth": true,
42839
+ "onTap": {
42840
+ "actionId": "tier5.himiEventDetail.selectTier",
42841
+ "params": {
42842
+ "id": "$item.id"
42843
+ }
42844
+ },
42845
+ "pressFeedback": "scale",
42846
+ "haptic": "light",
42847
+ "accessibilityLabel": "$item.name"
42848
+ }
42849
+ }
42850
+ ]
42851
+ }
42852
+ }
42853
+ }
42854
+ ]
42855
+ }
42856
+ },
42857
+ "modifiers": {
42858
+ "hiddenPath": "$service:himiEventDetail.hideTierPicker"
42859
+ }
42860
+ },
42861
+ {
42862
+ "id": "",
42863
+ "body": {
42864
+ "package": "himalaya",
42865
+ "type": "VStack",
42866
+ "props": {
42867
+ "spacing": 12,
42868
+ "alignment": "leading",
42869
+ "children": [
42870
+ {
42871
+ "id": "",
42872
+ "body": {
42873
+ "package": "himalaya",
42874
+ "type": "Text",
42875
+ "props": {
42876
+ "text": "$service:himiEventDetail.iapPrice",
42877
+ "style": "bodyEmphasis",
42878
+ "collapseWhenEmpty": true
42879
+ }
42880
+ }
42881
+ },
42882
+ {
42883
+ "id": "himi_event.apple.form",
42884
+ "body": {
42885
+ "package": "himalaya",
42886
+ "type": "Grid",
42887
+ "props": {
42888
+ "columns": 1,
42889
+ "spacing": 12,
42890
+ "itemsPath": "$service:himiEventDetail.iapFields",
42891
+ "items": [
42892
+ {
42893
+ "id": "",
42894
+ "body": {
42895
+ "package": "himalaya",
42896
+ "type": "VStack",
42897
+ "props": {
42898
+ "spacing": 8,
42899
+ "alignment": "leading",
42900
+ "children": [
42901
+ {
42902
+ "id": "",
42903
+ "body": {
42904
+ "package": "himalaya",
42905
+ "type": "Text",
42906
+ "props": {
42907
+ "text": "$item.sectionLabel",
42908
+ "style": "bodyEmphasis",
42909
+ "collapseWhenEmpty": true
42910
+ }
42911
+ }
42912
+ },
42913
+ {
42914
+ "id": "",
42915
+ "body": {
42916
+ "package": "himalaya",
42917
+ "type": "Text",
42918
+ "props": {
42919
+ "text": "$item.label",
42920
+ "style": "footnote"
42921
+ }
42409
42922
  }
42410
42923
  },
42411
42924
  {
42412
- "id": "",
42925
+ "id": "himi_event.apple.input.$item.id",
42413
42926
  "body": {
42414
42927
  "package": "himalaya",
42415
- "type": "Text",
42928
+ "type": "FragmentSlot",
42416
42929
  "props": {
42417
- "text": "$item.unavailableNote",
42418
- "style": "footnote",
42419
- "color": "textTertiary",
42420
- "collapseWhenEmpty": true
42930
+ "casePath": "$item.kind",
42931
+ "defaultCase": "text",
42932
+ "cases": [
42933
+ {
42934
+ "id": "text",
42935
+ "content": {
42936
+ "id": "himi_event.apple.field.text.$item.id",
42937
+ "body": {
42938
+ "package": "himalaya",
42939
+ "type": "TextField",
42940
+ "props": {
42941
+ "placeholder": "$item.inputLabel",
42942
+ "value": "$item.value",
42943
+ "onChange": {
42944
+ "actionId": "tier5.himiEventDetail.setIapField",
42945
+ "params": {
42946
+ "id": "$item.fieldId"
42947
+ }
42948
+ },
42949
+ "validation": {},
42950
+ "errorText": "$item.error",
42951
+ "autoCapitalization": "words"
42952
+ }
42953
+ }
42954
+ }
42955
+ },
42956
+ {
42957
+ "id": "requiredText",
42958
+ "content": {
42959
+ "id": "himi_event.apple.field.requiredText.$item.id",
42960
+ "body": {
42961
+ "package": "himalaya",
42962
+ "type": "TextField",
42963
+ "props": {
42964
+ "placeholder": "$item.inputLabel",
42965
+ "value": "$item.value",
42966
+ "onChange": {
42967
+ "actionId": "tier5.himiEventDetail.setIapField",
42968
+ "params": {
42969
+ "id": "$item.fieldId"
42970
+ }
42971
+ },
42972
+ "validation": {
42973
+ "required": true
42974
+ },
42975
+ "errorText": "$item.error",
42976
+ "autoCapitalization": "words"
42977
+ }
42978
+ }
42979
+ }
42980
+ },
42981
+ {
42982
+ "id": "email",
42983
+ "content": {
42984
+ "id": "himi_event.apple.field.email.$item.id",
42985
+ "body": {
42986
+ "package": "himalaya",
42987
+ "type": "TextField",
42988
+ "props": {
42989
+ "placeholder": "$item.inputLabel",
42990
+ "value": "$item.value",
42991
+ "onChange": {
42992
+ "actionId": "tier5.himiEventDetail.setIapField",
42993
+ "params": {
42994
+ "id": "$item.fieldId"
42995
+ }
42996
+ },
42997
+ "validation": {
42998
+ "required": true,
42999
+ "type": "email"
43000
+ },
43001
+ "errorText": "$item.error",
43002
+ "autoCapitalization": "none"
43003
+ }
43004
+ }
43005
+ }
43006
+ },
43007
+ {
43008
+ "id": "number",
43009
+ "content": {
43010
+ "id": "himi_event.apple.field.number.$item.id",
43011
+ "body": {
43012
+ "package": "himalaya",
43013
+ "type": "TextField",
43014
+ "props": {
43015
+ "placeholder": "$item.inputLabel",
43016
+ "value": "$item.value",
43017
+ "onChange": {
43018
+ "actionId": "tier5.himiEventDetail.setIapField",
43019
+ "params": {
43020
+ "id": "$item.fieldId"
43021
+ }
43022
+ },
43023
+ "validation": {
43024
+ "type": "number"
43025
+ },
43026
+ "errorText": "$item.error",
43027
+ "autoCapitalization": "words"
43028
+ }
43029
+ }
43030
+ }
43031
+ },
43032
+ {
43033
+ "id": "choice",
43034
+ "content": {
43035
+ "id": "",
43036
+ "body": {
43037
+ "package": "himalaya",
43038
+ "type": "VStack",
43039
+ "props": {
43040
+ "spacing": 4,
43041
+ "children": [
43042
+ {
43043
+ "id": "himi_event.apple.options.choice",
43044
+ "body": {
43045
+ "package": "himalaya",
43046
+ "type": "Grid",
43047
+ "props": {
43048
+ "columns": 1,
43049
+ "spacing": 8,
43050
+ "itemsPath": "$item.options",
43051
+ "items": [
43052
+ {
43053
+ "id": "himi_event.apple.option.choice.$item.fieldId.$item.id",
43054
+ "body": {
43055
+ "package": "himalaya",
43056
+ "type": "Button",
43057
+ "props": {
43058
+ "title": "$item.displayLabel",
43059
+ "style": "secondary",
43060
+ "fullWidth": true,
43061
+ "action": {
43062
+ "actionId": "tier5.himiEventDetail.setIapField",
43063
+ "params": {
43064
+ "id": "$item.fieldId",
43065
+ "option": "$item.id"
43066
+ }
43067
+ }
43068
+ }
43069
+ }
43070
+ }
43071
+ ]
43072
+ }
43073
+ }
43074
+ },
43075
+ {
43076
+ "id": "",
43077
+ "body": {
43078
+ "package": "himalaya",
43079
+ "type": "FieldError",
43080
+ "props": {
43081
+ "text": "$item.error"
43082
+ }
43083
+ },
43084
+ "modifiers": {
43085
+ "hiddenPath": "$item.errorHidden"
43086
+ }
43087
+ }
43088
+ ]
43089
+ }
43090
+ }
43091
+ }
43092
+ },
43093
+ {
43094
+ "id": "multiple",
43095
+ "content": {
43096
+ "id": "",
43097
+ "body": {
43098
+ "package": "himalaya",
43099
+ "type": "VStack",
43100
+ "props": {
43101
+ "spacing": 4,
43102
+ "children": [
43103
+ {
43104
+ "id": "himi_event.apple.options.multiple",
43105
+ "body": {
43106
+ "package": "himalaya",
43107
+ "type": "Grid",
43108
+ "props": {
43109
+ "columns": 1,
43110
+ "spacing": 8,
43111
+ "itemsPath": "$item.options",
43112
+ "items": [
43113
+ {
43114
+ "id": "himi_event.apple.option.multiple.$item.fieldId.$item.id",
43115
+ "body": {
43116
+ "package": "himalaya",
43117
+ "type": "Button",
43118
+ "props": {
43119
+ "title": "$item.displayLabel",
43120
+ "style": "secondary",
43121
+ "fullWidth": true,
43122
+ "action": {
43123
+ "actionId": "tier5.himiEventDetail.setIapField",
43124
+ "params": {
43125
+ "id": "$item.fieldId",
43126
+ "option": "$item.id"
43127
+ }
43128
+ }
43129
+ }
43130
+ }
43131
+ }
43132
+ ]
43133
+ }
43134
+ }
43135
+ },
43136
+ {
43137
+ "id": "",
43138
+ "body": {
43139
+ "package": "himalaya",
43140
+ "type": "FieldError",
43141
+ "props": {
43142
+ "text": "$item.error"
43143
+ }
43144
+ },
43145
+ "modifiers": {
43146
+ "hiddenPath": "$item.errorHidden"
43147
+ }
43148
+ }
43149
+ ]
43150
+ }
43151
+ }
43152
+ }
43153
+ }
43154
+ ]
42421
43155
  }
42422
43156
  }
42423
43157
  }
42424
43158
  ]
42425
43159
  }
42426
- },
42427
- "modifiers": {
42428
- "background": {
42429
- "token": "surfaceElevated"
42430
- },
42431
- "border": {
42432
- "width": 1,
42433
- "color": {
42434
- "token": "border"
42435
- }
42436
- },
42437
- "cornerRadius": 8,
42438
- "padding": {
42439
- "leading": 12,
42440
- "trailing": 12,
42441
- "top": 10,
42442
- "bottom": 10
42443
- },
42444
- "fillMaxWidth": true,
42445
- "onTap": {
42446
- "actionId": "tier5.himiEventDetail.selectTier",
42447
- "params": {
42448
- "id": "$item.id"
42449
- }
42450
- },
42451
- "pressFeedback": "scale",
42452
- "haptic": "light",
42453
- "accessibilityLabel": "$item.name"
42454
43160
  }
42455
43161
  }
42456
43162
  ]
42457
43163
  }
43164
+ },
43165
+ "modifiers": {
43166
+ "hiddenPath": "$service:himiEventDetail.iapFormHidden"
43167
+ }
43168
+ },
43169
+ {
43170
+ "id": "",
43171
+ "body": {
43172
+ "package": "himalaya",
43173
+ "type": "FieldError",
43174
+ "props": {
43175
+ "text": "",
43176
+ "textPath": "$service:himiEventDetail.iapFormError"
43177
+ }
43178
+ }
43179
+ },
43180
+ {
43181
+ "id": "himi_event.apple.buy",
43182
+ "body": {
43183
+ "package": "himalaya",
43184
+ "type": "Button",
43185
+ "props": {
43186
+ "title": "$service:himiEventDetail.iapBuyLabel",
43187
+ "disabledPath": "$service:himiEventDetail.iapBuyDisabled",
43188
+ "style": "primary",
43189
+ "fullWidth": true,
43190
+ "action": {
43191
+ "actionId": "tier5.himiEventDetail.buyApple"
43192
+ }
43193
+ }
43194
+ }
43195
+ },
43196
+ {
43197
+ "id": "",
43198
+ "body": {
43199
+ "package": "himalaya",
43200
+ "type": "Text",
43201
+ "props": {
43202
+ "text": "$service:himiEventDetail.iapNote",
43203
+ "style": "footnote",
43204
+ "color": "textSecondary",
43205
+ "collapseWhenEmpty": true
43206
+ }
43207
+ }
43208
+ },
43209
+ {
43210
+ "id": "himi_event.apple.signin",
43211
+ "body": {
43212
+ "package": "himalaya",
43213
+ "type": "Button",
43214
+ "props": {
43215
+ "title": "Sign in to purchase",
43216
+ "style": "secondary",
43217
+ "action": {
43218
+ "actionId": "himi.open",
43219
+ "params": {
43220
+ "screenId": "himi_account"
43221
+ }
43222
+ }
43223
+ }
43224
+ },
43225
+ "modifiers": {
43226
+ "hiddenPath": "$service:himiEventDetail.iapSignInHidden"
43227
+ }
43228
+ },
43229
+ {
43230
+ "id": "himi_event.apple.retry",
43231
+ "body": {
43232
+ "package": "himalaya",
43233
+ "type": "Button",
43234
+ "props": {
43235
+ "title": "Refresh purchase status",
43236
+ "style": "secondary",
43237
+ "action": {
43238
+ "actionId": "tier5.himiEventDetail.iapRefresh"
43239
+ }
43240
+ }
43241
+ },
43242
+ "modifiers": {
43243
+ "hiddenPath": "$service:himiEventDetail.iapRetryHidden"
42458
43244
  }
42459
43245
  }
42460
43246
  ]
42461
43247
  }
42462
43248
  },
42463
43249
  "modifiers": {
42464
- "hiddenPath": "$service:himiEventDetail.hideTierPicker"
43250
+ "hiddenPath": "$service:himiEventDetail.iapBuyHidden"
42465
43251
  }
42466
43252
  },
42467
43253
  {
@@ -42473,6 +43259,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
42473
43259
  "title": "Get tickets",
42474
43260
  "style": "primary",
42475
43261
  "fullWidth": true,
43262
+ "disabledPath": "$service:himiEventDetail.ticketPurchaseBlocked",
42476
43263
  "action": {
42477
43264
  "actionId": "tier5.himiEventDetail.openRegistration"
42478
43265
  }
@@ -42482,7 +43269,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
42482
43269
  "cornerRadius": 8,
42483
43270
  "pressFeedback": "scale",
42484
43271
  "haptic": "medium",
42485
- "hiddenPath": "$service:himiEventDetail.hideTickets"
43272
+ "hiddenPath": "$service:himiEventDetail.regularTicketsHidden"
42486
43273
  }
42487
43274
  },
42488
43275
  {
@@ -42642,7 +43429,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
42642
43429
  "share",
42643
43430
  "wix_cashier",
42644
43431
  "local_database",
42645
- "wix_platform"
43432
+ "wix_platform",
43433
+ "app_info",
43434
+ "iap"
42646
43435
  ],
42647
43436
  "minBinaryVersion": "0.1.0",
42648
43437
  "bundleVersion": "0.0.1"