@wix/himalaya-cli 0.1496.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 (71) 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 -666
  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/iap-attendance-form.ts +106 -0
  26. package/templates/branded-lite/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  27. package/templates/branded-lite/tier5-src/_shared/iap-attendance.ts +38 -0
  28. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +52 -7
  29. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +112 -21
  30. package/templates/community-club/dev/index.ts +397 -2
  31. package/templates/community-club/tier5-src/_shared/iap-attendance-form.ts +106 -0
  32. package/templates/community-club/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  33. package/templates/community-club/tier5-src/_shared/iap-attendance.ts +38 -0
  34. package/templates/community-club/tier5-src/himi-events-detail/index.ts +112 -21
  35. package/templates/events-meetups/dev/index.ts +397 -2
  36. package/templates/events-meetups/tier5-src/_shared/iap-attendance-form.ts +106 -0
  37. package/templates/events-meetups/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  38. package/templates/events-meetups/tier5-src/_shared/iap-attendance.ts +38 -0
  39. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +112 -21
  40. package/templates/gym-fitness/dev/index.ts +828 -39
  41. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-form.ts +106 -0
  42. package/templates/gym-fitness/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  43. package/templates/gym-fitness/tier5-src/_shared/iap-attendance.ts +38 -0
  44. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +52 -7
  45. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +112 -21
  46. package/templates/nonprofit-cause/dev/index.ts +397 -2
  47. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-form.ts +106 -0
  48. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  49. package/templates/nonprofit-cause/tier5-src/_shared/iap-attendance.ts +38 -0
  50. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +112 -21
  51. package/templates/podcast-creator/dev/index.ts +397 -2
  52. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-form.ts +106 -0
  53. package/templates/podcast-creator/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  54. package/templates/podcast-creator/tier5-src/_shared/iap-attendance.ts +38 -0
  55. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +112 -21
  56. package/templates/portfolio-creative/dev/index.ts +397 -2
  57. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-form.ts +106 -0
  58. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  59. package/templates/portfolio-creative/tier5-src/_shared/iap-attendance.ts +38 -0
  60. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +112 -21
  61. package/templates/restaurant/dev/index.ts +397 -2
  62. package/templates/restaurant/tier5-src/_shared/iap-attendance-form.ts +106 -0
  63. package/templates/restaurant/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  64. package/templates/restaurant/tier5-src/_shared/iap-attendance.ts +38 -0
  65. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +112 -21
  66. package/templates/yoga-studio/dev/index.ts +828 -39
  67. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-form.ts +106 -0
  68. package/templates/yoga-studio/tier5-src/_shared/iap-attendance-purchase.ts +211 -0
  69. package/templates/yoga-studio/tier5-src/_shared/iap-attendance.ts +38 -0
  70. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +52 -7
  71. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +112 -21
@@ -30483,6 +30483,398 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30483
30483
  }
30484
30484
  }
30485
30485
  },
30486
+ {
30487
+ "id": "",
30488
+ "body": {
30489
+ "package": "himalaya",
30490
+ "type": "VStack",
30491
+ "props": {
30492
+ "spacing": 12,
30493
+ "alignment": "leading",
30494
+ "children": [
30495
+ {
30496
+ "id": "",
30497
+ "body": {
30498
+ "package": "himalaya",
30499
+ "type": "Text",
30500
+ "props": {
30501
+ "text": "$service:himiBookingTime.iapPrice",
30502
+ "style": "bodyEmphasis",
30503
+ "collapseWhenEmpty": true
30504
+ }
30505
+ }
30506
+ },
30507
+ {
30508
+ "id": "himi_time.apple.form",
30509
+ "body": {
30510
+ "package": "himalaya",
30511
+ "type": "Grid",
30512
+ "props": {
30513
+ "columns": 1,
30514
+ "spacing": 12,
30515
+ "itemsPath": "$service:himiBookingTime.iapFields",
30516
+ "items": [
30517
+ {
30518
+ "id": "",
30519
+ "body": {
30520
+ "package": "himalaya",
30521
+ "type": "VStack",
30522
+ "props": {
30523
+ "spacing": 8,
30524
+ "alignment": "leading",
30525
+ "children": [
30526
+ {
30527
+ "id": "",
30528
+ "body": {
30529
+ "package": "himalaya",
30530
+ "type": "Text",
30531
+ "props": {
30532
+ "text": "$item.sectionLabel",
30533
+ "style": "bodyEmphasis",
30534
+ "collapseWhenEmpty": true
30535
+ }
30536
+ }
30537
+ },
30538
+ {
30539
+ "id": "",
30540
+ "body": {
30541
+ "package": "himalaya",
30542
+ "type": "Text",
30543
+ "props": {
30544
+ "text": "$item.label",
30545
+ "style": "footnote"
30546
+ }
30547
+ }
30548
+ },
30549
+ {
30550
+ "id": "himi_time.apple.input.$item.id",
30551
+ "body": {
30552
+ "package": "himalaya",
30553
+ "type": "FragmentSlot",
30554
+ "props": {
30555
+ "casePath": "$item.kind",
30556
+ "defaultCase": "text",
30557
+ "cases": [
30558
+ {
30559
+ "id": "text",
30560
+ "content": {
30561
+ "id": "himi_time.apple.field.text.$item.id",
30562
+ "body": {
30563
+ "package": "himalaya",
30564
+ "type": "TextField",
30565
+ "props": {
30566
+ "placeholder": "$item.inputLabel",
30567
+ "value": "$item.value",
30568
+ "onChange": {
30569
+ "actionId": "tier5.himiBookingTime.setIapField",
30570
+ "params": {
30571
+ "id": "$item.fieldId"
30572
+ }
30573
+ },
30574
+ "validation": {},
30575
+ "errorText": "$item.error",
30576
+ "autoCapitalization": "words"
30577
+ }
30578
+ }
30579
+ }
30580
+ },
30581
+ {
30582
+ "id": "requiredText",
30583
+ "content": {
30584
+ "id": "himi_time.apple.field.requiredText.$item.id",
30585
+ "body": {
30586
+ "package": "himalaya",
30587
+ "type": "TextField",
30588
+ "props": {
30589
+ "placeholder": "$item.inputLabel",
30590
+ "value": "$item.value",
30591
+ "onChange": {
30592
+ "actionId": "tier5.himiBookingTime.setIapField",
30593
+ "params": {
30594
+ "id": "$item.fieldId"
30595
+ }
30596
+ },
30597
+ "validation": {
30598
+ "required": true
30599
+ },
30600
+ "errorText": "$item.error",
30601
+ "autoCapitalization": "words"
30602
+ }
30603
+ }
30604
+ }
30605
+ },
30606
+ {
30607
+ "id": "email",
30608
+ "content": {
30609
+ "id": "himi_time.apple.field.email.$item.id",
30610
+ "body": {
30611
+ "package": "himalaya",
30612
+ "type": "TextField",
30613
+ "props": {
30614
+ "placeholder": "$item.inputLabel",
30615
+ "value": "$item.value",
30616
+ "onChange": {
30617
+ "actionId": "tier5.himiBookingTime.setIapField",
30618
+ "params": {
30619
+ "id": "$item.fieldId"
30620
+ }
30621
+ },
30622
+ "validation": {
30623
+ "required": true,
30624
+ "type": "email"
30625
+ },
30626
+ "errorText": "$item.error",
30627
+ "autoCapitalization": "none"
30628
+ }
30629
+ }
30630
+ }
30631
+ },
30632
+ {
30633
+ "id": "number",
30634
+ "content": {
30635
+ "id": "himi_time.apple.field.number.$item.id",
30636
+ "body": {
30637
+ "package": "himalaya",
30638
+ "type": "TextField",
30639
+ "props": {
30640
+ "placeholder": "$item.inputLabel",
30641
+ "value": "$item.value",
30642
+ "onChange": {
30643
+ "actionId": "tier5.himiBookingTime.setIapField",
30644
+ "params": {
30645
+ "id": "$item.fieldId"
30646
+ }
30647
+ },
30648
+ "validation": {
30649
+ "type": "number"
30650
+ },
30651
+ "errorText": "$item.error",
30652
+ "autoCapitalization": "words"
30653
+ }
30654
+ }
30655
+ }
30656
+ },
30657
+ {
30658
+ "id": "choice",
30659
+ "content": {
30660
+ "id": "",
30661
+ "body": {
30662
+ "package": "himalaya",
30663
+ "type": "VStack",
30664
+ "props": {
30665
+ "spacing": 4,
30666
+ "children": [
30667
+ {
30668
+ "id": "himi_time.apple.options.choice",
30669
+ "body": {
30670
+ "package": "himalaya",
30671
+ "type": "Grid",
30672
+ "props": {
30673
+ "columns": 1,
30674
+ "spacing": 8,
30675
+ "itemsPath": "$item.options",
30676
+ "items": [
30677
+ {
30678
+ "id": "himi_time.apple.option.choice.$item.fieldId.$item.id",
30679
+ "body": {
30680
+ "package": "himalaya",
30681
+ "type": "Button",
30682
+ "props": {
30683
+ "title": "$item.displayLabel",
30684
+ "style": "secondary",
30685
+ "fullWidth": true,
30686
+ "action": {
30687
+ "actionId": "tier5.himiBookingTime.setIapField",
30688
+ "params": {
30689
+ "id": "$item.fieldId",
30690
+ "option": "$item.id"
30691
+ }
30692
+ }
30693
+ }
30694
+ }
30695
+ }
30696
+ ]
30697
+ }
30698
+ }
30699
+ },
30700
+ {
30701
+ "id": "",
30702
+ "body": {
30703
+ "package": "himalaya",
30704
+ "type": "FieldError",
30705
+ "props": {
30706
+ "text": "$item.error"
30707
+ }
30708
+ },
30709
+ "modifiers": {
30710
+ "hiddenPath": "$item.errorHidden"
30711
+ }
30712
+ }
30713
+ ]
30714
+ }
30715
+ }
30716
+ }
30717
+ },
30718
+ {
30719
+ "id": "multiple",
30720
+ "content": {
30721
+ "id": "",
30722
+ "body": {
30723
+ "package": "himalaya",
30724
+ "type": "VStack",
30725
+ "props": {
30726
+ "spacing": 4,
30727
+ "children": [
30728
+ {
30729
+ "id": "himi_time.apple.options.multiple",
30730
+ "body": {
30731
+ "package": "himalaya",
30732
+ "type": "Grid",
30733
+ "props": {
30734
+ "columns": 1,
30735
+ "spacing": 8,
30736
+ "itemsPath": "$item.options",
30737
+ "items": [
30738
+ {
30739
+ "id": "himi_time.apple.option.multiple.$item.fieldId.$item.id",
30740
+ "body": {
30741
+ "package": "himalaya",
30742
+ "type": "Button",
30743
+ "props": {
30744
+ "title": "$item.displayLabel",
30745
+ "style": "secondary",
30746
+ "fullWidth": true,
30747
+ "action": {
30748
+ "actionId": "tier5.himiBookingTime.setIapField",
30749
+ "params": {
30750
+ "id": "$item.fieldId",
30751
+ "option": "$item.id"
30752
+ }
30753
+ }
30754
+ }
30755
+ }
30756
+ }
30757
+ ]
30758
+ }
30759
+ }
30760
+ },
30761
+ {
30762
+ "id": "",
30763
+ "body": {
30764
+ "package": "himalaya",
30765
+ "type": "FieldError",
30766
+ "props": {
30767
+ "text": "$item.error"
30768
+ }
30769
+ },
30770
+ "modifiers": {
30771
+ "hiddenPath": "$item.errorHidden"
30772
+ }
30773
+ }
30774
+ ]
30775
+ }
30776
+ }
30777
+ }
30778
+ }
30779
+ ]
30780
+ }
30781
+ }
30782
+ }
30783
+ ]
30784
+ }
30785
+ }
30786
+ }
30787
+ ]
30788
+ }
30789
+ },
30790
+ "modifiers": {
30791
+ "hiddenPath": "$service:himiBookingTime.iapFormHidden"
30792
+ }
30793
+ },
30794
+ {
30795
+ "id": "",
30796
+ "body": {
30797
+ "package": "himalaya",
30798
+ "type": "FieldError",
30799
+ "props": {
30800
+ "text": "",
30801
+ "textPath": "$service:himiBookingTime.iapFormError"
30802
+ }
30803
+ }
30804
+ },
30805
+ {
30806
+ "id": "himi_time.apple.buy",
30807
+ "body": {
30808
+ "package": "himalaya",
30809
+ "type": "Button",
30810
+ "props": {
30811
+ "title": "$service:himiBookingTime.iapBuyLabel",
30812
+ "disabledPath": "$service:himiBookingTime.iapBuyDisabled",
30813
+ "style": "primary",
30814
+ "fullWidth": true,
30815
+ "action": {
30816
+ "actionId": "tier5.himiBookingTime.buyApple"
30817
+ }
30818
+ }
30819
+ }
30820
+ },
30821
+ {
30822
+ "id": "",
30823
+ "body": {
30824
+ "package": "himalaya",
30825
+ "type": "Text",
30826
+ "props": {
30827
+ "text": "$service:himiBookingTime.iapNote",
30828
+ "style": "footnote",
30829
+ "color": "textSecondary",
30830
+ "collapseWhenEmpty": true
30831
+ }
30832
+ }
30833
+ },
30834
+ {
30835
+ "id": "himi_time.apple.signin",
30836
+ "body": {
30837
+ "package": "himalaya",
30838
+ "type": "Button",
30839
+ "props": {
30840
+ "title": "Sign in",
30841
+ "style": "secondary",
30842
+ "action": {
30843
+ "actionId": "himi.open",
30844
+ "params": {
30845
+ "screenId": "himi_account"
30846
+ }
30847
+ }
30848
+ }
30849
+ },
30850
+ "modifiers": {
30851
+ "hiddenPath": "$service:himiBookingTime.iapSignInHidden"
30852
+ }
30853
+ },
30854
+ {
30855
+ "id": "himi_time.apple.retry",
30856
+ "body": {
30857
+ "package": "himalaya",
30858
+ "type": "Button",
30859
+ "props": {
30860
+ "title": "Refresh purchase status",
30861
+ "style": "secondary",
30862
+ "action": {
30863
+ "actionId": "tier5.himiBookingTime.iapRefresh"
30864
+ }
30865
+ }
30866
+ },
30867
+ "modifiers": {
30868
+ "hiddenPath": "$service:himiBookingTime.iapRetryHidden"
30869
+ }
30870
+ }
30871
+ ]
30872
+ }
30873
+ },
30874
+ "modifiers": {
30875
+ "hiddenPath": "$service:himiBookingTime.iapBuyHidden"
30876
+ }
30877
+ },
30486
30878
  {
30487
30879
  "id": "himi_time.book.disabled",
30488
30880
  "body": {
@@ -30781,6 +31173,8 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30781
31173
  "declaredCapabilities": [
30782
31174
  "wix_api",
30783
31175
  "local_database",
31176
+ "app_info",
31177
+ "iap",
30784
31178
  "wix_cashier",
30785
31179
  "open_url",
30786
31180
  "wix_platform"
@@ -32004,64 +32398,456 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32004
32398
  "id": "",
32005
32399
  "body": {
32006
32400
  "package": "himalaya",
32007
- "type": "Spacer",
32008
- "props": {}
32401
+ "type": "Spacer",
32402
+ "props": {}
32403
+ }
32404
+ },
32405
+ {
32406
+ "id": "",
32407
+ "body": {
32408
+ "package": "himalaya",
32409
+ "type": "Text",
32410
+ "props": {
32411
+ "text": "$item.unavailableNote",
32412
+ "style": "footnote",
32413
+ "color": "textTertiary",
32414
+ "collapseWhenEmpty": true
32415
+ }
32416
+ }
32417
+ }
32418
+ ]
32419
+ }
32420
+ },
32421
+ "modifiers": {
32422
+ "background": {
32423
+ "token": "surfaceElevated"
32424
+ },
32425
+ "border": {
32426
+ "width": 1,
32427
+ "color": {
32428
+ "token": "border"
32429
+ }
32430
+ },
32431
+ "cornerRadius": 8,
32432
+ "padding": {
32433
+ "leading": 12,
32434
+ "trailing": 12,
32435
+ "top": 10,
32436
+ "bottom": 10
32437
+ },
32438
+ "fillMaxWidth": true,
32439
+ "onTap": {
32440
+ "actionId": "tier5.himiEventDetail.selectTier",
32441
+ "params": {
32442
+ "id": "$item.id"
32443
+ }
32444
+ },
32445
+ "pressFeedback": "scale",
32446
+ "haptic": "light",
32447
+ "accessibilityLabel": "$item.name"
32448
+ }
32449
+ }
32450
+ ]
32451
+ }
32452
+ }
32453
+ }
32454
+ ]
32455
+ }
32456
+ },
32457
+ "modifiers": {
32458
+ "hiddenPath": "$service:himiEventDetail.hideTierPicker"
32459
+ }
32460
+ },
32461
+ {
32462
+ "id": "",
32463
+ "body": {
32464
+ "package": "himalaya",
32465
+ "type": "VStack",
32466
+ "props": {
32467
+ "spacing": 12,
32468
+ "alignment": "leading",
32469
+ "children": [
32470
+ {
32471
+ "id": "",
32472
+ "body": {
32473
+ "package": "himalaya",
32474
+ "type": "Text",
32475
+ "props": {
32476
+ "text": "$service:himiEventDetail.iapPrice",
32477
+ "style": "bodyEmphasis",
32478
+ "collapseWhenEmpty": true
32479
+ }
32480
+ }
32481
+ },
32482
+ {
32483
+ "id": "himi_event.apple.form",
32484
+ "body": {
32485
+ "package": "himalaya",
32486
+ "type": "Grid",
32487
+ "props": {
32488
+ "columns": 1,
32489
+ "spacing": 12,
32490
+ "itemsPath": "$service:himiEventDetail.iapFields",
32491
+ "items": [
32492
+ {
32493
+ "id": "",
32494
+ "body": {
32495
+ "package": "himalaya",
32496
+ "type": "VStack",
32497
+ "props": {
32498
+ "spacing": 8,
32499
+ "alignment": "leading",
32500
+ "children": [
32501
+ {
32502
+ "id": "",
32503
+ "body": {
32504
+ "package": "himalaya",
32505
+ "type": "Text",
32506
+ "props": {
32507
+ "text": "$item.sectionLabel",
32508
+ "style": "bodyEmphasis",
32509
+ "collapseWhenEmpty": true
32510
+ }
32511
+ }
32512
+ },
32513
+ {
32514
+ "id": "",
32515
+ "body": {
32516
+ "package": "himalaya",
32517
+ "type": "Text",
32518
+ "props": {
32519
+ "text": "$item.label",
32520
+ "style": "footnote"
32521
+ }
32009
32522
  }
32010
32523
  },
32011
32524
  {
32012
- "id": "",
32525
+ "id": "himi_event.apple.input.$item.id",
32013
32526
  "body": {
32014
32527
  "package": "himalaya",
32015
- "type": "Text",
32528
+ "type": "FragmentSlot",
32016
32529
  "props": {
32017
- "text": "$item.unavailableNote",
32018
- "style": "footnote",
32019
- "color": "textTertiary",
32020
- "collapseWhenEmpty": true
32530
+ "casePath": "$item.kind",
32531
+ "defaultCase": "text",
32532
+ "cases": [
32533
+ {
32534
+ "id": "text",
32535
+ "content": {
32536
+ "id": "himi_event.apple.field.text.$item.id",
32537
+ "body": {
32538
+ "package": "himalaya",
32539
+ "type": "TextField",
32540
+ "props": {
32541
+ "placeholder": "$item.inputLabel",
32542
+ "value": "$item.value",
32543
+ "onChange": {
32544
+ "actionId": "tier5.himiEventDetail.setIapField",
32545
+ "params": {
32546
+ "id": "$item.fieldId"
32547
+ }
32548
+ },
32549
+ "validation": {},
32550
+ "errorText": "$item.error",
32551
+ "autoCapitalization": "words"
32552
+ }
32553
+ }
32554
+ }
32555
+ },
32556
+ {
32557
+ "id": "requiredText",
32558
+ "content": {
32559
+ "id": "himi_event.apple.field.requiredText.$item.id",
32560
+ "body": {
32561
+ "package": "himalaya",
32562
+ "type": "TextField",
32563
+ "props": {
32564
+ "placeholder": "$item.inputLabel",
32565
+ "value": "$item.value",
32566
+ "onChange": {
32567
+ "actionId": "tier5.himiEventDetail.setIapField",
32568
+ "params": {
32569
+ "id": "$item.fieldId"
32570
+ }
32571
+ },
32572
+ "validation": {
32573
+ "required": true
32574
+ },
32575
+ "errorText": "$item.error",
32576
+ "autoCapitalization": "words"
32577
+ }
32578
+ }
32579
+ }
32580
+ },
32581
+ {
32582
+ "id": "email",
32583
+ "content": {
32584
+ "id": "himi_event.apple.field.email.$item.id",
32585
+ "body": {
32586
+ "package": "himalaya",
32587
+ "type": "TextField",
32588
+ "props": {
32589
+ "placeholder": "$item.inputLabel",
32590
+ "value": "$item.value",
32591
+ "onChange": {
32592
+ "actionId": "tier5.himiEventDetail.setIapField",
32593
+ "params": {
32594
+ "id": "$item.fieldId"
32595
+ }
32596
+ },
32597
+ "validation": {
32598
+ "required": true,
32599
+ "type": "email"
32600
+ },
32601
+ "errorText": "$item.error",
32602
+ "autoCapitalization": "none"
32603
+ }
32604
+ }
32605
+ }
32606
+ },
32607
+ {
32608
+ "id": "number",
32609
+ "content": {
32610
+ "id": "himi_event.apple.field.number.$item.id",
32611
+ "body": {
32612
+ "package": "himalaya",
32613
+ "type": "TextField",
32614
+ "props": {
32615
+ "placeholder": "$item.inputLabel",
32616
+ "value": "$item.value",
32617
+ "onChange": {
32618
+ "actionId": "tier5.himiEventDetail.setIapField",
32619
+ "params": {
32620
+ "id": "$item.fieldId"
32621
+ }
32622
+ },
32623
+ "validation": {
32624
+ "type": "number"
32625
+ },
32626
+ "errorText": "$item.error",
32627
+ "autoCapitalization": "words"
32628
+ }
32629
+ }
32630
+ }
32631
+ },
32632
+ {
32633
+ "id": "choice",
32634
+ "content": {
32635
+ "id": "",
32636
+ "body": {
32637
+ "package": "himalaya",
32638
+ "type": "VStack",
32639
+ "props": {
32640
+ "spacing": 4,
32641
+ "children": [
32642
+ {
32643
+ "id": "himi_event.apple.options.choice",
32644
+ "body": {
32645
+ "package": "himalaya",
32646
+ "type": "Grid",
32647
+ "props": {
32648
+ "columns": 1,
32649
+ "spacing": 8,
32650
+ "itemsPath": "$item.options",
32651
+ "items": [
32652
+ {
32653
+ "id": "himi_event.apple.option.choice.$item.fieldId.$item.id",
32654
+ "body": {
32655
+ "package": "himalaya",
32656
+ "type": "Button",
32657
+ "props": {
32658
+ "title": "$item.displayLabel",
32659
+ "style": "secondary",
32660
+ "fullWidth": true,
32661
+ "action": {
32662
+ "actionId": "tier5.himiEventDetail.setIapField",
32663
+ "params": {
32664
+ "id": "$item.fieldId",
32665
+ "option": "$item.id"
32666
+ }
32667
+ }
32668
+ }
32669
+ }
32670
+ }
32671
+ ]
32672
+ }
32673
+ }
32674
+ },
32675
+ {
32676
+ "id": "",
32677
+ "body": {
32678
+ "package": "himalaya",
32679
+ "type": "FieldError",
32680
+ "props": {
32681
+ "text": "$item.error"
32682
+ }
32683
+ },
32684
+ "modifiers": {
32685
+ "hiddenPath": "$item.errorHidden"
32686
+ }
32687
+ }
32688
+ ]
32689
+ }
32690
+ }
32691
+ }
32692
+ },
32693
+ {
32694
+ "id": "multiple",
32695
+ "content": {
32696
+ "id": "",
32697
+ "body": {
32698
+ "package": "himalaya",
32699
+ "type": "VStack",
32700
+ "props": {
32701
+ "spacing": 4,
32702
+ "children": [
32703
+ {
32704
+ "id": "himi_event.apple.options.multiple",
32705
+ "body": {
32706
+ "package": "himalaya",
32707
+ "type": "Grid",
32708
+ "props": {
32709
+ "columns": 1,
32710
+ "spacing": 8,
32711
+ "itemsPath": "$item.options",
32712
+ "items": [
32713
+ {
32714
+ "id": "himi_event.apple.option.multiple.$item.fieldId.$item.id",
32715
+ "body": {
32716
+ "package": "himalaya",
32717
+ "type": "Button",
32718
+ "props": {
32719
+ "title": "$item.displayLabel",
32720
+ "style": "secondary",
32721
+ "fullWidth": true,
32722
+ "action": {
32723
+ "actionId": "tier5.himiEventDetail.setIapField",
32724
+ "params": {
32725
+ "id": "$item.fieldId",
32726
+ "option": "$item.id"
32727
+ }
32728
+ }
32729
+ }
32730
+ }
32731
+ }
32732
+ ]
32733
+ }
32734
+ }
32735
+ },
32736
+ {
32737
+ "id": "",
32738
+ "body": {
32739
+ "package": "himalaya",
32740
+ "type": "FieldError",
32741
+ "props": {
32742
+ "text": "$item.error"
32743
+ }
32744
+ },
32745
+ "modifiers": {
32746
+ "hiddenPath": "$item.errorHidden"
32747
+ }
32748
+ }
32749
+ ]
32750
+ }
32751
+ }
32752
+ }
32753
+ }
32754
+ ]
32021
32755
  }
32022
32756
  }
32023
32757
  }
32024
32758
  ]
32025
32759
  }
32026
- },
32027
- "modifiers": {
32028
- "background": {
32029
- "token": "surfaceElevated"
32030
- },
32031
- "border": {
32032
- "width": 1,
32033
- "color": {
32034
- "token": "border"
32035
- }
32036
- },
32037
- "cornerRadius": 8,
32038
- "padding": {
32039
- "leading": 12,
32040
- "trailing": 12,
32041
- "top": 10,
32042
- "bottom": 10
32043
- },
32044
- "fillMaxWidth": true,
32045
- "onTap": {
32046
- "actionId": "tier5.himiEventDetail.selectTier",
32047
- "params": {
32048
- "id": "$item.id"
32049
- }
32050
- },
32051
- "pressFeedback": "scale",
32052
- "haptic": "light",
32053
- "accessibilityLabel": "$item.name"
32054
32760
  }
32055
32761
  }
32056
32762
  ]
32057
32763
  }
32764
+ },
32765
+ "modifiers": {
32766
+ "hiddenPath": "$service:himiEventDetail.iapFormHidden"
32767
+ }
32768
+ },
32769
+ {
32770
+ "id": "",
32771
+ "body": {
32772
+ "package": "himalaya",
32773
+ "type": "FieldError",
32774
+ "props": {
32775
+ "text": "",
32776
+ "textPath": "$service:himiEventDetail.iapFormError"
32777
+ }
32778
+ }
32779
+ },
32780
+ {
32781
+ "id": "himi_event.apple.buy",
32782
+ "body": {
32783
+ "package": "himalaya",
32784
+ "type": "Button",
32785
+ "props": {
32786
+ "title": "$service:himiEventDetail.iapBuyLabel",
32787
+ "disabledPath": "$service:himiEventDetail.iapBuyDisabled",
32788
+ "style": "primary",
32789
+ "fullWidth": true,
32790
+ "action": {
32791
+ "actionId": "tier5.himiEventDetail.buyApple"
32792
+ }
32793
+ }
32794
+ }
32795
+ },
32796
+ {
32797
+ "id": "",
32798
+ "body": {
32799
+ "package": "himalaya",
32800
+ "type": "Text",
32801
+ "props": {
32802
+ "text": "$service:himiEventDetail.iapNote",
32803
+ "style": "footnote",
32804
+ "color": "textSecondary",
32805
+ "collapseWhenEmpty": true
32806
+ }
32807
+ }
32808
+ },
32809
+ {
32810
+ "id": "himi_event.apple.signin",
32811
+ "body": {
32812
+ "package": "himalaya",
32813
+ "type": "Button",
32814
+ "props": {
32815
+ "title": "Sign in to purchase",
32816
+ "style": "secondary",
32817
+ "action": {
32818
+ "actionId": "himi.open",
32819
+ "params": {
32820
+ "screenId": "himi_account"
32821
+ }
32822
+ }
32823
+ }
32824
+ },
32825
+ "modifiers": {
32826
+ "hiddenPath": "$service:himiEventDetail.iapSignInHidden"
32827
+ }
32828
+ },
32829
+ {
32830
+ "id": "himi_event.apple.retry",
32831
+ "body": {
32832
+ "package": "himalaya",
32833
+ "type": "Button",
32834
+ "props": {
32835
+ "title": "Refresh purchase status",
32836
+ "style": "secondary",
32837
+ "action": {
32838
+ "actionId": "tier5.himiEventDetail.iapRefresh"
32839
+ }
32840
+ }
32841
+ },
32842
+ "modifiers": {
32843
+ "hiddenPath": "$service:himiEventDetail.iapRetryHidden"
32058
32844
  }
32059
32845
  }
32060
32846
  ]
32061
32847
  }
32062
32848
  },
32063
32849
  "modifiers": {
32064
- "hiddenPath": "$service:himiEventDetail.hideTierPicker"
32850
+ "hiddenPath": "$service:himiEventDetail.iapBuyHidden"
32065
32851
  }
32066
32852
  },
32067
32853
  {
@@ -32073,6 +32859,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32073
32859
  "title": "Get tickets",
32074
32860
  "style": "primary",
32075
32861
  "fullWidth": true,
32862
+ "disabledPath": "$service:himiEventDetail.ticketPurchaseBlocked",
32076
32863
  "action": {
32077
32864
  "actionId": "tier5.himiEventDetail.openRegistration"
32078
32865
  }
@@ -32082,7 +32869,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32082
32869
  "cornerRadius": 8,
32083
32870
  "pressFeedback": "scale",
32084
32871
  "haptic": "medium",
32085
- "hiddenPath": "$service:himiEventDetail.hideTickets"
32872
+ "hiddenPath": "$service:himiEventDetail.regularTicketsHidden"
32086
32873
  }
32087
32874
  },
32088
32875
  {
@@ -32242,7 +33029,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
32242
33029
  "share",
32243
33030
  "wix_cashier",
32244
33031
  "local_database",
32245
- "wix_platform"
33032
+ "wix_platform",
33033
+ "app_info",
33034
+ "iap"
32246
33035
  ],
32247
33036
  "minBinaryVersion": "0.1.0",
32248
33037
  "bundleVersion": "0.0.1"