@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
@@ -6132,6 +6132,219 @@ const SCREENS = runtimeSetting({
6132
6132
  "bundleVersion": "0.0.1"
6133
6133
  }
6134
6134
  },
6135
+ "himi_business_contact": {
6136
+ "screenId": "himi_business_contact",
6137
+ "title": "Business contact",
6138
+ "renderer": "sdui_intent",
6139
+ "schemaVersion": 1,
6140
+ "cacheControl": {
6141
+ "maxAge": 0,
6142
+ "staleWhileRevalidate": 0
6143
+ },
6144
+ "payload": {
6145
+ "id": "himi_business_contact.root",
6146
+ "body": {
6147
+ "package": "himalaya",
6148
+ "type": "VStack",
6149
+ "props": {
6150
+ "spacing": 16,
6151
+ "alignment": "leading",
6152
+ "children": [
6153
+ {
6154
+ "id": "himi_business_contact.section",
6155
+ "body": {
6156
+ "package": "himalaya",
6157
+ "type": "VStack",
6158
+ "props": {
6159
+ "spacing": 12,
6160
+ "alignment": "leading",
6161
+ "children": [
6162
+ {
6163
+ "id": "himi_business_contact.section.directions_copy",
6164
+ "body": {
6165
+ "package": "himalaya",
6166
+ "type": "Text",
6167
+ "props": {
6168
+ "text": "Directions",
6169
+ "style": "body",
6170
+ "collapseWhenEmpty": true
6171
+ }
6172
+ },
6173
+ "modifiers": {
6174
+ "hidden": true
6175
+ }
6176
+ },
6177
+ {
6178
+ "id": "himi_business_contact.section.unavailable",
6179
+ "body": {
6180
+ "package": "himalaya",
6181
+ "type": "Text",
6182
+ "props": {
6183
+ "text": "Contact details unavailable",
6184
+ "style": "body",
6185
+ "collapseWhenEmpty": true
6186
+ }
6187
+ }
6188
+ },
6189
+ {
6190
+ "id": "himi_business_contact.section.member_count",
6191
+ "body": {
6192
+ "package": "himalaya",
6193
+ "type": "FragmentSlot",
6194
+ "props": {
6195
+ "casePath": "$service:businessContact.memberCountCase",
6196
+ "defaultCase": "unavailable",
6197
+ "cases": [
6198
+ {
6199
+ "id": "one",
6200
+ "content": {
6201
+ "id": "himi_business_contact.section.members_one",
6202
+ "body": {
6203
+ "package": "himalaya",
6204
+ "type": "HStack",
6205
+ "props": {
6206
+ "spacing": 4,
6207
+ "alignment": "center",
6208
+ "children": [
6209
+ {
6210
+ "id": "himi_business_contact.section.count_one",
6211
+ "body": {
6212
+ "package": "himalaya",
6213
+ "type": "Text",
6214
+ "props": {
6215
+ "text": "$service:businessContact.memberCount",
6216
+ "style": "footnote",
6217
+ "collapseWhenEmpty": true
6218
+ }
6219
+ }
6220
+ },
6221
+ {
6222
+ "id": "himi_business_contact.section.unit_one",
6223
+ "body": {
6224
+ "package": "himalaya",
6225
+ "type": "Text",
6226
+ "props": {
6227
+ "text": "member",
6228
+ "style": "footnote",
6229
+ "collapseWhenEmpty": true
6230
+ }
6231
+ }
6232
+ }
6233
+ ]
6234
+ }
6235
+ }
6236
+ }
6237
+ },
6238
+ {
6239
+ "id": "other",
6240
+ "content": {
6241
+ "id": "himi_business_contact.section.members_other",
6242
+ "body": {
6243
+ "package": "himalaya",
6244
+ "type": "HStack",
6245
+ "props": {
6246
+ "spacing": 4,
6247
+ "alignment": "center",
6248
+ "children": [
6249
+ {
6250
+ "id": "himi_business_contact.section.count_other",
6251
+ "body": {
6252
+ "package": "himalaya",
6253
+ "type": "Text",
6254
+ "props": {
6255
+ "text": "$service:businessContact.memberCount",
6256
+ "style": "footnote",
6257
+ "collapseWhenEmpty": true
6258
+ }
6259
+ }
6260
+ },
6261
+ {
6262
+ "id": "himi_business_contact.section.unit_other",
6263
+ "body": {
6264
+ "package": "himalaya",
6265
+ "type": "Text",
6266
+ "props": {
6267
+ "text": "members",
6268
+ "style": "footnote",
6269
+ "collapseWhenEmpty": true
6270
+ }
6271
+ }
6272
+ }
6273
+ ]
6274
+ }
6275
+ }
6276
+ }
6277
+ },
6278
+ {
6279
+ "id": "unavailable",
6280
+ "content": {
6281
+ "id": "himi_business_contact.section.members_unavailable",
6282
+ "body": {
6283
+ "package": "himalaya",
6284
+ "type": "Text",
6285
+ "props": {
6286
+ "text": "Member count unavailable",
6287
+ "style": "footnote",
6288
+ "collapseWhenEmpty": true
6289
+ }
6290
+ }
6291
+ }
6292
+ }
6293
+ ]
6294
+ }
6295
+ },
6296
+ "modifiers": {
6297
+ "hidden": true
6298
+ }
6299
+ },
6300
+ {
6301
+ "id": "himi_business_contact.section.feedback",
6302
+ "body": {
6303
+ "package": "himalaya",
6304
+ "type": "Text",
6305
+ "props": {
6306
+ "text": "$service:businessContact.message",
6307
+ "style": "footnote",
6308
+ "collapseWhenEmpty": true
6309
+ }
6310
+ }
6311
+ }
6312
+ ]
6313
+ }
6314
+ }
6315
+ }
6316
+ ]
6317
+ }
6318
+ },
6319
+ "modifiers": {
6320
+ "background": {
6321
+ "token": "surfacePrimary"
6322
+ },
6323
+ "padding": {
6324
+ "leading": 20,
6325
+ "trailing": 20,
6326
+ "top": 18,
6327
+ "bottom": 28
6328
+ },
6329
+ "onAppear": {
6330
+ "actionId": "tier5.businessContact.load",
6331
+ "args": {
6332
+ "showMemberCount": false
6333
+ }
6334
+ }
6335
+ }
6336
+ },
6337
+ "logicBundle": {
6338
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
6339
+ "integrity": "",
6340
+ "contentType": "application/javascript+ts-bundle",
6341
+ "declaredCapabilities": [
6342
+ "open_url"
6343
+ ],
6344
+ "minBinaryVersion": "0.1.0",
6345
+ "bundleVersion": "0.0.1"
6346
+ }
6347
+ },
6135
6348
  "himi_appearance": {
6136
6349
  "screenId": "himi_appearance",
6137
6350
  "renderer": "sdui_intent",
@@ -28,6 +28,9 @@
28
28
  "himi_branded_splash": {
29
29
  "displayName": "Splash"
30
30
  },
31
+ "himi_business_contact": {
32
+ "displayName": "Business contact"
33
+ },
31
34
  "himi_create_post": {
32
35
  "displayName": "Create Post"
33
36
  },
@@ -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,
@@ -6982,6 +6982,219 @@ const SCREENS = runtimeSetting({
6982
6982
  "bundleVersion": "0.0.1"
6983
6983
  }
6984
6984
  },
6985
+ "himi_business_contact": {
6986
+ "screenId": "himi_business_contact",
6987
+ "title": "Business contact",
6988
+ "renderer": "sdui_intent",
6989
+ "schemaVersion": 1,
6990
+ "cacheControl": {
6991
+ "maxAge": 0,
6992
+ "staleWhileRevalidate": 0
6993
+ },
6994
+ "payload": {
6995
+ "id": "himi_business_contact.root",
6996
+ "body": {
6997
+ "package": "himalaya",
6998
+ "type": "VStack",
6999
+ "props": {
7000
+ "spacing": 16,
7001
+ "alignment": "leading",
7002
+ "children": [
7003
+ {
7004
+ "id": "himi_business_contact.section",
7005
+ "body": {
7006
+ "package": "himalaya",
7007
+ "type": "VStack",
7008
+ "props": {
7009
+ "spacing": 12,
7010
+ "alignment": "leading",
7011
+ "children": [
7012
+ {
7013
+ "id": "himi_business_contact.section.directions_copy",
7014
+ "body": {
7015
+ "package": "himalaya",
7016
+ "type": "Text",
7017
+ "props": {
7018
+ "text": "Directions",
7019
+ "style": "body",
7020
+ "collapseWhenEmpty": true
7021
+ }
7022
+ },
7023
+ "modifiers": {
7024
+ "hidden": true
7025
+ }
7026
+ },
7027
+ {
7028
+ "id": "himi_business_contact.section.unavailable",
7029
+ "body": {
7030
+ "package": "himalaya",
7031
+ "type": "Text",
7032
+ "props": {
7033
+ "text": "Contact details unavailable",
7034
+ "style": "body",
7035
+ "collapseWhenEmpty": true
7036
+ }
7037
+ }
7038
+ },
7039
+ {
7040
+ "id": "himi_business_contact.section.member_count",
7041
+ "body": {
7042
+ "package": "himalaya",
7043
+ "type": "FragmentSlot",
7044
+ "props": {
7045
+ "casePath": "$service:businessContact.memberCountCase",
7046
+ "defaultCase": "unavailable",
7047
+ "cases": [
7048
+ {
7049
+ "id": "one",
7050
+ "content": {
7051
+ "id": "himi_business_contact.section.members_one",
7052
+ "body": {
7053
+ "package": "himalaya",
7054
+ "type": "HStack",
7055
+ "props": {
7056
+ "spacing": 4,
7057
+ "alignment": "center",
7058
+ "children": [
7059
+ {
7060
+ "id": "himi_business_contact.section.count_one",
7061
+ "body": {
7062
+ "package": "himalaya",
7063
+ "type": "Text",
7064
+ "props": {
7065
+ "text": "$service:businessContact.memberCount",
7066
+ "style": "footnote",
7067
+ "collapseWhenEmpty": true
7068
+ }
7069
+ }
7070
+ },
7071
+ {
7072
+ "id": "himi_business_contact.section.unit_one",
7073
+ "body": {
7074
+ "package": "himalaya",
7075
+ "type": "Text",
7076
+ "props": {
7077
+ "text": "member",
7078
+ "style": "footnote",
7079
+ "collapseWhenEmpty": true
7080
+ }
7081
+ }
7082
+ }
7083
+ ]
7084
+ }
7085
+ }
7086
+ }
7087
+ },
7088
+ {
7089
+ "id": "other",
7090
+ "content": {
7091
+ "id": "himi_business_contact.section.members_other",
7092
+ "body": {
7093
+ "package": "himalaya",
7094
+ "type": "HStack",
7095
+ "props": {
7096
+ "spacing": 4,
7097
+ "alignment": "center",
7098
+ "children": [
7099
+ {
7100
+ "id": "himi_business_contact.section.count_other",
7101
+ "body": {
7102
+ "package": "himalaya",
7103
+ "type": "Text",
7104
+ "props": {
7105
+ "text": "$service:businessContact.memberCount",
7106
+ "style": "footnote",
7107
+ "collapseWhenEmpty": true
7108
+ }
7109
+ }
7110
+ },
7111
+ {
7112
+ "id": "himi_business_contact.section.unit_other",
7113
+ "body": {
7114
+ "package": "himalaya",
7115
+ "type": "Text",
7116
+ "props": {
7117
+ "text": "members",
7118
+ "style": "footnote",
7119
+ "collapseWhenEmpty": true
7120
+ }
7121
+ }
7122
+ }
7123
+ ]
7124
+ }
7125
+ }
7126
+ }
7127
+ },
7128
+ {
7129
+ "id": "unavailable",
7130
+ "content": {
7131
+ "id": "himi_business_contact.section.members_unavailable",
7132
+ "body": {
7133
+ "package": "himalaya",
7134
+ "type": "Text",
7135
+ "props": {
7136
+ "text": "Member count unavailable",
7137
+ "style": "footnote",
7138
+ "collapseWhenEmpty": true
7139
+ }
7140
+ }
7141
+ }
7142
+ }
7143
+ ]
7144
+ }
7145
+ },
7146
+ "modifiers": {
7147
+ "hidden": true
7148
+ }
7149
+ },
7150
+ {
7151
+ "id": "himi_business_contact.section.feedback",
7152
+ "body": {
7153
+ "package": "himalaya",
7154
+ "type": "Text",
7155
+ "props": {
7156
+ "text": "$service:businessContact.message",
7157
+ "style": "footnote",
7158
+ "collapseWhenEmpty": true
7159
+ }
7160
+ }
7161
+ }
7162
+ ]
7163
+ }
7164
+ }
7165
+ }
7166
+ ]
7167
+ }
7168
+ },
7169
+ "modifiers": {
7170
+ "background": {
7171
+ "token": "surfacePrimary"
7172
+ },
7173
+ "padding": {
7174
+ "leading": 20,
7175
+ "trailing": 20,
7176
+ "top": 18,
7177
+ "bottom": 28
7178
+ },
7179
+ "onAppear": {
7180
+ "actionId": "tier5.businessContact.load",
7181
+ "args": {
7182
+ "showMemberCount": false
7183
+ }
7184
+ }
7185
+ }
7186
+ },
7187
+ "logicBundle": {
7188
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
7189
+ "integrity": "",
7190
+ "contentType": "application/javascript+ts-bundle",
7191
+ "declaredCapabilities": [
7192
+ "open_url"
7193
+ ],
7194
+ "minBinaryVersion": "0.1.0",
7195
+ "bundleVersion": "0.0.1"
7196
+ }
7197
+ },
6985
7198
  "himi_appearance": {
6986
7199
  "screenId": "himi_appearance",
6987
7200
  "renderer": "sdui_intent",
@@ -40,6 +40,9 @@
40
40
  "himi_branded_splash": {
41
41
  "displayName": "Splash"
42
42
  },
43
+ "himi_business_contact": {
44
+ "displayName": "Business contact"
45
+ },
43
46
  "himi_cart": {
44
47
  "displayName": "Cart"
45
48
  },
@@ -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,