@wix/himalaya-cli 0.1569.0 → 0.1570.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 (59) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n-strings.d.ts +3 -2
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/business-contact-service.d.ts +17 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/business-contact.d.ts +73 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +3 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/invite-target.d.ts +1 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/invite.d.ts +148 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +558 -84
  8. package/dist/cli.mjs +232 -27
  9. package/guides/getting-started.md +5 -0
  10. package/guides/himi-skill.md +5 -0
  11. package/guides/one-app-to-himi-app.md +145 -4
  12. package/guides/skill.md +5 -0
  13. package/guides/tier-5-add-a-screen.md +20 -0
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/config.ts +7 -0
  16. package/templates/beauty-salon/dev/index.ts +213 -0
  17. package/templates/beauty-salon/himalaya.content.json +3 -0
  18. package/templates/beauty-salon/tier5-src/business-contact/index.ts +6 -0
  19. package/templates/branded-lite/config.ts +7 -0
  20. package/templates/branded-lite/dev/index.ts +246 -0
  21. package/templates/branded-lite/himalaya.content.json +3 -0
  22. package/templates/branded-lite/tier5-src/business-contact/index.ts +6 -0
  23. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +39 -11
  24. package/templates/community-club/config.ts +7 -0
  25. package/templates/community-club/dev/index.ts +213 -0
  26. package/templates/community-club/himalaya.content.json +3 -0
  27. package/templates/community-club/tier5-src/business-contact/index.ts +6 -0
  28. package/templates/events-meetups/config.ts +7 -0
  29. package/templates/events-meetups/dev/index.ts +213 -0
  30. package/templates/events-meetups/himalaya.content.json +3 -0
  31. package/templates/events-meetups/tier5-src/business-contact/index.ts +6 -0
  32. package/templates/gym-fitness/config.ts +7 -0
  33. package/templates/gym-fitness/dev/index.ts +213 -0
  34. package/templates/gym-fitness/himalaya.content.json +3 -0
  35. package/templates/gym-fitness/tier5-src/business-contact/index.ts +6 -0
  36. package/templates/nonprofit-cause/config.ts +7 -0
  37. package/templates/nonprofit-cause/dev/index.ts +213 -0
  38. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  39. package/templates/nonprofit-cause/tier5-src/business-contact/index.ts +6 -0
  40. package/templates/podcast-creator/config.ts +7 -0
  41. package/templates/podcast-creator/dev/index.ts +213 -0
  42. package/templates/podcast-creator/himalaya.content.json +3 -0
  43. package/templates/podcast-creator/tier5-src/business-contact/index.ts +6 -0
  44. package/templates/portfolio-creative/config.ts +7 -0
  45. package/templates/portfolio-creative/dev/index.ts +213 -0
  46. package/templates/portfolio-creative/himalaya.content.json +3 -0
  47. package/templates/portfolio-creative/tier5-src/business-contact/index.ts +6 -0
  48. package/templates/restaurant/config.ts +7 -0
  49. package/templates/restaurant/dev/index.ts +213 -0
  50. package/templates/restaurant/himalaya.content.json +3 -0
  51. package/templates/restaurant/tier5-src/business-contact/index.ts +6 -0
  52. package/templates/retail-store/config.ts +7 -0
  53. package/templates/retail-store/dev/index.ts +213 -0
  54. package/templates/retail-store/himalaya.content.json +3 -0
  55. package/templates/retail-store/tier5-src/business-contact/index.ts +6 -0
  56. package/templates/yoga-studio/config.ts +7 -0
  57. package/templates/yoga-studio/dev/index.ts +213 -0
  58. package/templates/yoga-studio/himalaya.content.json +3 -0
  59. package/templates/yoga-studio/tier5-src/business-contact/index.ts +6 -0
@@ -5755,6 +5755,219 @@ const SCREENS = runtimeSetting({
5755
5755
  "bundleVersion": "0.0.1"
5756
5756
  }
5757
5757
  },
5758
+ "himi_business_contact": {
5759
+ "screenId": "himi_business_contact",
5760
+ "title": "Business contact",
5761
+ "renderer": "sdui_intent",
5762
+ "schemaVersion": 1,
5763
+ "cacheControl": {
5764
+ "maxAge": 0,
5765
+ "staleWhileRevalidate": 0
5766
+ },
5767
+ "payload": {
5768
+ "id": "himi_business_contact.root",
5769
+ "body": {
5770
+ "package": "himalaya",
5771
+ "type": "VStack",
5772
+ "props": {
5773
+ "spacing": 16,
5774
+ "alignment": "leading",
5775
+ "children": [
5776
+ {
5777
+ "id": "himi_business_contact.section",
5778
+ "body": {
5779
+ "package": "himalaya",
5780
+ "type": "VStack",
5781
+ "props": {
5782
+ "spacing": 12,
5783
+ "alignment": "leading",
5784
+ "children": [
5785
+ {
5786
+ "id": "himi_business_contact.section.directions_copy",
5787
+ "body": {
5788
+ "package": "himalaya",
5789
+ "type": "Text",
5790
+ "props": {
5791
+ "text": "Directions",
5792
+ "style": "body",
5793
+ "collapseWhenEmpty": true
5794
+ }
5795
+ },
5796
+ "modifiers": {
5797
+ "hidden": true
5798
+ }
5799
+ },
5800
+ {
5801
+ "id": "himi_business_contact.section.unavailable",
5802
+ "body": {
5803
+ "package": "himalaya",
5804
+ "type": "Text",
5805
+ "props": {
5806
+ "text": "Contact details unavailable",
5807
+ "style": "body",
5808
+ "collapseWhenEmpty": true
5809
+ }
5810
+ }
5811
+ },
5812
+ {
5813
+ "id": "himi_business_contact.section.member_count",
5814
+ "body": {
5815
+ "package": "himalaya",
5816
+ "type": "FragmentSlot",
5817
+ "props": {
5818
+ "casePath": "$service:businessContact.memberCountCase",
5819
+ "defaultCase": "unavailable",
5820
+ "cases": [
5821
+ {
5822
+ "id": "one",
5823
+ "content": {
5824
+ "id": "himi_business_contact.section.members_one",
5825
+ "body": {
5826
+ "package": "himalaya",
5827
+ "type": "HStack",
5828
+ "props": {
5829
+ "spacing": 4,
5830
+ "alignment": "center",
5831
+ "children": [
5832
+ {
5833
+ "id": "himi_business_contact.section.count_one",
5834
+ "body": {
5835
+ "package": "himalaya",
5836
+ "type": "Text",
5837
+ "props": {
5838
+ "text": "$service:businessContact.memberCount",
5839
+ "style": "footnote",
5840
+ "collapseWhenEmpty": true
5841
+ }
5842
+ }
5843
+ },
5844
+ {
5845
+ "id": "himi_business_contact.section.unit_one",
5846
+ "body": {
5847
+ "package": "himalaya",
5848
+ "type": "Text",
5849
+ "props": {
5850
+ "text": "member",
5851
+ "style": "footnote",
5852
+ "collapseWhenEmpty": true
5853
+ }
5854
+ }
5855
+ }
5856
+ ]
5857
+ }
5858
+ }
5859
+ }
5860
+ },
5861
+ {
5862
+ "id": "other",
5863
+ "content": {
5864
+ "id": "himi_business_contact.section.members_other",
5865
+ "body": {
5866
+ "package": "himalaya",
5867
+ "type": "HStack",
5868
+ "props": {
5869
+ "spacing": 4,
5870
+ "alignment": "center",
5871
+ "children": [
5872
+ {
5873
+ "id": "himi_business_contact.section.count_other",
5874
+ "body": {
5875
+ "package": "himalaya",
5876
+ "type": "Text",
5877
+ "props": {
5878
+ "text": "$service:businessContact.memberCount",
5879
+ "style": "footnote",
5880
+ "collapseWhenEmpty": true
5881
+ }
5882
+ }
5883
+ },
5884
+ {
5885
+ "id": "himi_business_contact.section.unit_other",
5886
+ "body": {
5887
+ "package": "himalaya",
5888
+ "type": "Text",
5889
+ "props": {
5890
+ "text": "members",
5891
+ "style": "footnote",
5892
+ "collapseWhenEmpty": true
5893
+ }
5894
+ }
5895
+ }
5896
+ ]
5897
+ }
5898
+ }
5899
+ }
5900
+ },
5901
+ {
5902
+ "id": "unavailable",
5903
+ "content": {
5904
+ "id": "himi_business_contact.section.members_unavailable",
5905
+ "body": {
5906
+ "package": "himalaya",
5907
+ "type": "Text",
5908
+ "props": {
5909
+ "text": "Member count unavailable",
5910
+ "style": "footnote",
5911
+ "collapseWhenEmpty": true
5912
+ }
5913
+ }
5914
+ }
5915
+ }
5916
+ ]
5917
+ }
5918
+ },
5919
+ "modifiers": {
5920
+ "hidden": true
5921
+ }
5922
+ },
5923
+ {
5924
+ "id": "himi_business_contact.section.feedback",
5925
+ "body": {
5926
+ "package": "himalaya",
5927
+ "type": "Text",
5928
+ "props": {
5929
+ "text": "$service:businessContact.message",
5930
+ "style": "footnote",
5931
+ "collapseWhenEmpty": true
5932
+ }
5933
+ }
5934
+ }
5935
+ ]
5936
+ }
5937
+ }
5938
+ }
5939
+ ]
5940
+ }
5941
+ },
5942
+ "modifiers": {
5943
+ "background": {
5944
+ "token": "surfacePrimary"
5945
+ },
5946
+ "padding": {
5947
+ "leading": 20,
5948
+ "trailing": 20,
5949
+ "top": 18,
5950
+ "bottom": 28
5951
+ },
5952
+ "onAppear": {
5953
+ "actionId": "tier5.businessContact.load",
5954
+ "args": {
5955
+ "showMemberCount": false
5956
+ }
5957
+ }
5958
+ }
5959
+ },
5960
+ "logicBundle": {
5961
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
5962
+ "integrity": "",
5963
+ "contentType": "application/javascript+ts-bundle",
5964
+ "declaredCapabilities": [
5965
+ "open_url"
5966
+ ],
5967
+ "minBinaryVersion": "0.1.0",
5968
+ "bundleVersion": "0.0.1"
5969
+ }
5970
+ },
5758
5971
  "himi_appearance": {
5759
5972
  "screenId": "himi_appearance",
5760
5973
  "renderer": "sdui_intent",
@@ -34,6 +34,9 @@
34
34
  "himi_branded_splash": {
35
35
  "displayName": "Splash"
36
36
  },
37
+ "himi_business_contact": {
38
+ "displayName": "Business contact"
39
+ },
37
40
  "himi_cart": {
38
41
  "displayName": "Cart"
39
42
  },
@@ -0,0 +1,6 @@
1
+ import { createBusinessContactService } from "@himalaya/screens";
2
+
3
+ // Contact values and the optional public total are build-time source evidence.
4
+ // No owner API, device location, or cross-site source URL is read by this worker.
5
+ const svc = createBusinessContactService();
6
+ export { svc };
@@ -81,6 +81,13 @@ export default defineApp({
81
81
  "parentScreenId": "himi_account",
82
82
  "tabId": "profile"
83
83
  },
84
+ {
85
+ "screenId": "himi_business_contact",
86
+ "isPublic": true,
87
+ "paramKeys": [],
88
+ "parentScreenId": "himi_account",
89
+ "tabId": "profile"
90
+ },
84
91
  {
85
92
  "screenId": "himi_appearance",
86
93
  "isPublic": true,
@@ -6581,6 +6581,219 @@ const SCREENS = runtimeSetting({
6581
6581
  "bundleVersion": "0.0.1"
6582
6582
  }
6583
6583
  },
6584
+ "himi_business_contact": {
6585
+ "screenId": "himi_business_contact",
6586
+ "title": "Business contact",
6587
+ "renderer": "sdui_intent",
6588
+ "schemaVersion": 1,
6589
+ "cacheControl": {
6590
+ "maxAge": 0,
6591
+ "staleWhileRevalidate": 0
6592
+ },
6593
+ "payload": {
6594
+ "id": "himi_business_contact.root",
6595
+ "body": {
6596
+ "package": "himalaya",
6597
+ "type": "VStack",
6598
+ "props": {
6599
+ "spacing": 16,
6600
+ "alignment": "leading",
6601
+ "children": [
6602
+ {
6603
+ "id": "himi_business_contact.section",
6604
+ "body": {
6605
+ "package": "himalaya",
6606
+ "type": "VStack",
6607
+ "props": {
6608
+ "spacing": 12,
6609
+ "alignment": "leading",
6610
+ "children": [
6611
+ {
6612
+ "id": "himi_business_contact.section.directions_copy",
6613
+ "body": {
6614
+ "package": "himalaya",
6615
+ "type": "Text",
6616
+ "props": {
6617
+ "text": "Directions",
6618
+ "style": "body",
6619
+ "collapseWhenEmpty": true
6620
+ }
6621
+ },
6622
+ "modifiers": {
6623
+ "hidden": true
6624
+ }
6625
+ },
6626
+ {
6627
+ "id": "himi_business_contact.section.unavailable",
6628
+ "body": {
6629
+ "package": "himalaya",
6630
+ "type": "Text",
6631
+ "props": {
6632
+ "text": "Contact details unavailable",
6633
+ "style": "body",
6634
+ "collapseWhenEmpty": true
6635
+ }
6636
+ }
6637
+ },
6638
+ {
6639
+ "id": "himi_business_contact.section.member_count",
6640
+ "body": {
6641
+ "package": "himalaya",
6642
+ "type": "FragmentSlot",
6643
+ "props": {
6644
+ "casePath": "$service:businessContact.memberCountCase",
6645
+ "defaultCase": "unavailable",
6646
+ "cases": [
6647
+ {
6648
+ "id": "one",
6649
+ "content": {
6650
+ "id": "himi_business_contact.section.members_one",
6651
+ "body": {
6652
+ "package": "himalaya",
6653
+ "type": "HStack",
6654
+ "props": {
6655
+ "spacing": 4,
6656
+ "alignment": "center",
6657
+ "children": [
6658
+ {
6659
+ "id": "himi_business_contact.section.count_one",
6660
+ "body": {
6661
+ "package": "himalaya",
6662
+ "type": "Text",
6663
+ "props": {
6664
+ "text": "$service:businessContact.memberCount",
6665
+ "style": "footnote",
6666
+ "collapseWhenEmpty": true
6667
+ }
6668
+ }
6669
+ },
6670
+ {
6671
+ "id": "himi_business_contact.section.unit_one",
6672
+ "body": {
6673
+ "package": "himalaya",
6674
+ "type": "Text",
6675
+ "props": {
6676
+ "text": "member",
6677
+ "style": "footnote",
6678
+ "collapseWhenEmpty": true
6679
+ }
6680
+ }
6681
+ }
6682
+ ]
6683
+ }
6684
+ }
6685
+ }
6686
+ },
6687
+ {
6688
+ "id": "other",
6689
+ "content": {
6690
+ "id": "himi_business_contact.section.members_other",
6691
+ "body": {
6692
+ "package": "himalaya",
6693
+ "type": "HStack",
6694
+ "props": {
6695
+ "spacing": 4,
6696
+ "alignment": "center",
6697
+ "children": [
6698
+ {
6699
+ "id": "himi_business_contact.section.count_other",
6700
+ "body": {
6701
+ "package": "himalaya",
6702
+ "type": "Text",
6703
+ "props": {
6704
+ "text": "$service:businessContact.memberCount",
6705
+ "style": "footnote",
6706
+ "collapseWhenEmpty": true
6707
+ }
6708
+ }
6709
+ },
6710
+ {
6711
+ "id": "himi_business_contact.section.unit_other",
6712
+ "body": {
6713
+ "package": "himalaya",
6714
+ "type": "Text",
6715
+ "props": {
6716
+ "text": "members",
6717
+ "style": "footnote",
6718
+ "collapseWhenEmpty": true
6719
+ }
6720
+ }
6721
+ }
6722
+ ]
6723
+ }
6724
+ }
6725
+ }
6726
+ },
6727
+ {
6728
+ "id": "unavailable",
6729
+ "content": {
6730
+ "id": "himi_business_contact.section.members_unavailable",
6731
+ "body": {
6732
+ "package": "himalaya",
6733
+ "type": "Text",
6734
+ "props": {
6735
+ "text": "Member count unavailable",
6736
+ "style": "footnote",
6737
+ "collapseWhenEmpty": true
6738
+ }
6739
+ }
6740
+ }
6741
+ }
6742
+ ]
6743
+ }
6744
+ },
6745
+ "modifiers": {
6746
+ "hidden": true
6747
+ }
6748
+ },
6749
+ {
6750
+ "id": "himi_business_contact.section.feedback",
6751
+ "body": {
6752
+ "package": "himalaya",
6753
+ "type": "Text",
6754
+ "props": {
6755
+ "text": "$service:businessContact.message",
6756
+ "style": "footnote",
6757
+ "collapseWhenEmpty": true
6758
+ }
6759
+ }
6760
+ }
6761
+ ]
6762
+ }
6763
+ }
6764
+ }
6765
+ ]
6766
+ }
6767
+ },
6768
+ "modifiers": {
6769
+ "background": {
6770
+ "token": "surfacePrimary"
6771
+ },
6772
+ "padding": {
6773
+ "leading": 20,
6774
+ "trailing": 20,
6775
+ "top": 18,
6776
+ "bottom": 28
6777
+ },
6778
+ "onAppear": {
6779
+ "actionId": "tier5.businessContact.load",
6780
+ "args": {
6781
+ "showMemberCount": false
6782
+ }
6783
+ }
6784
+ }
6785
+ },
6786
+ "logicBundle": {
6787
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
6788
+ "integrity": "",
6789
+ "contentType": "application/javascript+ts-bundle",
6790
+ "declaredCapabilities": [
6791
+ "open_url"
6792
+ ],
6793
+ "minBinaryVersion": "0.1.0",
6794
+ "bundleVersion": "0.0.1"
6795
+ }
6796
+ },
6584
6797
  "himi_appearance": {
6585
6798
  "screenId": "himi_appearance",
6586
6799
  "renderer": "sdui_intent",
@@ -34,6 +34,9 @@
34
34
  "himi_branded_splash": {
35
35
  "displayName": "Splash"
36
36
  },
37
+ "himi_business_contact": {
38
+ "displayName": "Business contact"
39
+ },
37
40
  "himi_create_post": {
38
41
  "displayName": "Create Post"
39
42
  },
@@ -0,0 +1,6 @@
1
+ import { createBusinessContactService } from "@himalaya/screens";
2
+
3
+ // Contact values and the optional public total are build-time source evidence.
4
+ // No owner API, device location, or cross-site source URL is read by this worker.
5
+ const svc = createBusinessContactService();
6
+ export { svc };