@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
@@ -6286,6 +6286,219 @@ const SCREENS = runtimeSetting({
6286
6286
  "bundleVersion": "0.0.1"
6287
6287
  }
6288
6288
  },
6289
+ "himi_business_contact": {
6290
+ "screenId": "himi_business_contact",
6291
+ "title": "Business contact",
6292
+ "renderer": "sdui_intent",
6293
+ "schemaVersion": 1,
6294
+ "cacheControl": {
6295
+ "maxAge": 0,
6296
+ "staleWhileRevalidate": 0
6297
+ },
6298
+ "payload": {
6299
+ "id": "himi_business_contact.root",
6300
+ "body": {
6301
+ "package": "himalaya",
6302
+ "type": "VStack",
6303
+ "props": {
6304
+ "spacing": 16,
6305
+ "alignment": "leading",
6306
+ "children": [
6307
+ {
6308
+ "id": "himi_business_contact.section",
6309
+ "body": {
6310
+ "package": "himalaya",
6311
+ "type": "VStack",
6312
+ "props": {
6313
+ "spacing": 12,
6314
+ "alignment": "leading",
6315
+ "children": [
6316
+ {
6317
+ "id": "himi_business_contact.section.directions_copy",
6318
+ "body": {
6319
+ "package": "himalaya",
6320
+ "type": "Text",
6321
+ "props": {
6322
+ "text": "Directions",
6323
+ "style": "body",
6324
+ "collapseWhenEmpty": true
6325
+ }
6326
+ },
6327
+ "modifiers": {
6328
+ "hidden": true
6329
+ }
6330
+ },
6331
+ {
6332
+ "id": "himi_business_contact.section.unavailable",
6333
+ "body": {
6334
+ "package": "himalaya",
6335
+ "type": "Text",
6336
+ "props": {
6337
+ "text": "Contact details unavailable",
6338
+ "style": "body",
6339
+ "collapseWhenEmpty": true
6340
+ }
6341
+ }
6342
+ },
6343
+ {
6344
+ "id": "himi_business_contact.section.member_count",
6345
+ "body": {
6346
+ "package": "himalaya",
6347
+ "type": "FragmentSlot",
6348
+ "props": {
6349
+ "casePath": "$service:businessContact.memberCountCase",
6350
+ "defaultCase": "unavailable",
6351
+ "cases": [
6352
+ {
6353
+ "id": "one",
6354
+ "content": {
6355
+ "id": "himi_business_contact.section.members_one",
6356
+ "body": {
6357
+ "package": "himalaya",
6358
+ "type": "HStack",
6359
+ "props": {
6360
+ "spacing": 4,
6361
+ "alignment": "center",
6362
+ "children": [
6363
+ {
6364
+ "id": "himi_business_contact.section.count_one",
6365
+ "body": {
6366
+ "package": "himalaya",
6367
+ "type": "Text",
6368
+ "props": {
6369
+ "text": "$service:businessContact.memberCount",
6370
+ "style": "footnote",
6371
+ "collapseWhenEmpty": true
6372
+ }
6373
+ }
6374
+ },
6375
+ {
6376
+ "id": "himi_business_contact.section.unit_one",
6377
+ "body": {
6378
+ "package": "himalaya",
6379
+ "type": "Text",
6380
+ "props": {
6381
+ "text": "member",
6382
+ "style": "footnote",
6383
+ "collapseWhenEmpty": true
6384
+ }
6385
+ }
6386
+ }
6387
+ ]
6388
+ }
6389
+ }
6390
+ }
6391
+ },
6392
+ {
6393
+ "id": "other",
6394
+ "content": {
6395
+ "id": "himi_business_contact.section.members_other",
6396
+ "body": {
6397
+ "package": "himalaya",
6398
+ "type": "HStack",
6399
+ "props": {
6400
+ "spacing": 4,
6401
+ "alignment": "center",
6402
+ "children": [
6403
+ {
6404
+ "id": "himi_business_contact.section.count_other",
6405
+ "body": {
6406
+ "package": "himalaya",
6407
+ "type": "Text",
6408
+ "props": {
6409
+ "text": "$service:businessContact.memberCount",
6410
+ "style": "footnote",
6411
+ "collapseWhenEmpty": true
6412
+ }
6413
+ }
6414
+ },
6415
+ {
6416
+ "id": "himi_business_contact.section.unit_other",
6417
+ "body": {
6418
+ "package": "himalaya",
6419
+ "type": "Text",
6420
+ "props": {
6421
+ "text": "members",
6422
+ "style": "footnote",
6423
+ "collapseWhenEmpty": true
6424
+ }
6425
+ }
6426
+ }
6427
+ ]
6428
+ }
6429
+ }
6430
+ }
6431
+ },
6432
+ {
6433
+ "id": "unavailable",
6434
+ "content": {
6435
+ "id": "himi_business_contact.section.members_unavailable",
6436
+ "body": {
6437
+ "package": "himalaya",
6438
+ "type": "Text",
6439
+ "props": {
6440
+ "text": "Member count unavailable",
6441
+ "style": "footnote",
6442
+ "collapseWhenEmpty": true
6443
+ }
6444
+ }
6445
+ }
6446
+ }
6447
+ ]
6448
+ }
6449
+ },
6450
+ "modifiers": {
6451
+ "hidden": true
6452
+ }
6453
+ },
6454
+ {
6455
+ "id": "himi_business_contact.section.feedback",
6456
+ "body": {
6457
+ "package": "himalaya",
6458
+ "type": "Text",
6459
+ "props": {
6460
+ "text": "$service:businessContact.message",
6461
+ "style": "footnote",
6462
+ "collapseWhenEmpty": true
6463
+ }
6464
+ }
6465
+ }
6466
+ ]
6467
+ }
6468
+ }
6469
+ }
6470
+ ]
6471
+ }
6472
+ },
6473
+ "modifiers": {
6474
+ "background": {
6475
+ "token": "surfacePrimary"
6476
+ },
6477
+ "padding": {
6478
+ "leading": 20,
6479
+ "trailing": 20,
6480
+ "top": 18,
6481
+ "bottom": 28
6482
+ },
6483
+ "onAppear": {
6484
+ "actionId": "tier5.businessContact.load",
6485
+ "args": {
6486
+ "showMemberCount": false
6487
+ }
6488
+ }
6489
+ }
6490
+ },
6491
+ "logicBundle": {
6492
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
6493
+ "integrity": "",
6494
+ "contentType": "application/javascript+ts-bundle",
6495
+ "declaredCapabilities": [
6496
+ "open_url"
6497
+ ],
6498
+ "minBinaryVersion": "0.1.0",
6499
+ "bundleVersion": "0.0.1"
6500
+ }
6501
+ },
6289
6502
  "himi_appearance": {
6290
6503
  "screenId": "himi_appearance",
6291
6504
  "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,
@@ -6178,6 +6178,219 @@ const SCREENS = runtimeSetting({
6178
6178
  "bundleVersion": "0.0.1"
6179
6179
  }
6180
6180
  },
6181
+ "himi_business_contact": {
6182
+ "screenId": "himi_business_contact",
6183
+ "title": "Business contact",
6184
+ "renderer": "sdui_intent",
6185
+ "schemaVersion": 1,
6186
+ "cacheControl": {
6187
+ "maxAge": 0,
6188
+ "staleWhileRevalidate": 0
6189
+ },
6190
+ "payload": {
6191
+ "id": "himi_business_contact.root",
6192
+ "body": {
6193
+ "package": "himalaya",
6194
+ "type": "VStack",
6195
+ "props": {
6196
+ "spacing": 16,
6197
+ "alignment": "leading",
6198
+ "children": [
6199
+ {
6200
+ "id": "himi_business_contact.section",
6201
+ "body": {
6202
+ "package": "himalaya",
6203
+ "type": "VStack",
6204
+ "props": {
6205
+ "spacing": 12,
6206
+ "alignment": "leading",
6207
+ "children": [
6208
+ {
6209
+ "id": "himi_business_contact.section.directions_copy",
6210
+ "body": {
6211
+ "package": "himalaya",
6212
+ "type": "Text",
6213
+ "props": {
6214
+ "text": "Directions",
6215
+ "style": "body",
6216
+ "collapseWhenEmpty": true
6217
+ }
6218
+ },
6219
+ "modifiers": {
6220
+ "hidden": true
6221
+ }
6222
+ },
6223
+ {
6224
+ "id": "himi_business_contact.section.unavailable",
6225
+ "body": {
6226
+ "package": "himalaya",
6227
+ "type": "Text",
6228
+ "props": {
6229
+ "text": "Contact details unavailable",
6230
+ "style": "body",
6231
+ "collapseWhenEmpty": true
6232
+ }
6233
+ }
6234
+ },
6235
+ {
6236
+ "id": "himi_business_contact.section.member_count",
6237
+ "body": {
6238
+ "package": "himalaya",
6239
+ "type": "FragmentSlot",
6240
+ "props": {
6241
+ "casePath": "$service:businessContact.memberCountCase",
6242
+ "defaultCase": "unavailable",
6243
+ "cases": [
6244
+ {
6245
+ "id": "one",
6246
+ "content": {
6247
+ "id": "himi_business_contact.section.members_one",
6248
+ "body": {
6249
+ "package": "himalaya",
6250
+ "type": "HStack",
6251
+ "props": {
6252
+ "spacing": 4,
6253
+ "alignment": "center",
6254
+ "children": [
6255
+ {
6256
+ "id": "himi_business_contact.section.count_one",
6257
+ "body": {
6258
+ "package": "himalaya",
6259
+ "type": "Text",
6260
+ "props": {
6261
+ "text": "$service:businessContact.memberCount",
6262
+ "style": "footnote",
6263
+ "collapseWhenEmpty": true
6264
+ }
6265
+ }
6266
+ },
6267
+ {
6268
+ "id": "himi_business_contact.section.unit_one",
6269
+ "body": {
6270
+ "package": "himalaya",
6271
+ "type": "Text",
6272
+ "props": {
6273
+ "text": "member",
6274
+ "style": "footnote",
6275
+ "collapseWhenEmpty": true
6276
+ }
6277
+ }
6278
+ }
6279
+ ]
6280
+ }
6281
+ }
6282
+ }
6283
+ },
6284
+ {
6285
+ "id": "other",
6286
+ "content": {
6287
+ "id": "himi_business_contact.section.members_other",
6288
+ "body": {
6289
+ "package": "himalaya",
6290
+ "type": "HStack",
6291
+ "props": {
6292
+ "spacing": 4,
6293
+ "alignment": "center",
6294
+ "children": [
6295
+ {
6296
+ "id": "himi_business_contact.section.count_other",
6297
+ "body": {
6298
+ "package": "himalaya",
6299
+ "type": "Text",
6300
+ "props": {
6301
+ "text": "$service:businessContact.memberCount",
6302
+ "style": "footnote",
6303
+ "collapseWhenEmpty": true
6304
+ }
6305
+ }
6306
+ },
6307
+ {
6308
+ "id": "himi_business_contact.section.unit_other",
6309
+ "body": {
6310
+ "package": "himalaya",
6311
+ "type": "Text",
6312
+ "props": {
6313
+ "text": "members",
6314
+ "style": "footnote",
6315
+ "collapseWhenEmpty": true
6316
+ }
6317
+ }
6318
+ }
6319
+ ]
6320
+ }
6321
+ }
6322
+ }
6323
+ },
6324
+ {
6325
+ "id": "unavailable",
6326
+ "content": {
6327
+ "id": "himi_business_contact.section.members_unavailable",
6328
+ "body": {
6329
+ "package": "himalaya",
6330
+ "type": "Text",
6331
+ "props": {
6332
+ "text": "Member count unavailable",
6333
+ "style": "footnote",
6334
+ "collapseWhenEmpty": true
6335
+ }
6336
+ }
6337
+ }
6338
+ }
6339
+ ]
6340
+ }
6341
+ },
6342
+ "modifiers": {
6343
+ "hidden": true
6344
+ }
6345
+ },
6346
+ {
6347
+ "id": "himi_business_contact.section.feedback",
6348
+ "body": {
6349
+ "package": "himalaya",
6350
+ "type": "Text",
6351
+ "props": {
6352
+ "text": "$service:businessContact.message",
6353
+ "style": "footnote",
6354
+ "collapseWhenEmpty": true
6355
+ }
6356
+ }
6357
+ }
6358
+ ]
6359
+ }
6360
+ }
6361
+ }
6362
+ ]
6363
+ }
6364
+ },
6365
+ "modifiers": {
6366
+ "background": {
6367
+ "token": "surfacePrimary"
6368
+ },
6369
+ "padding": {
6370
+ "leading": 20,
6371
+ "trailing": 20,
6372
+ "top": 18,
6373
+ "bottom": 28
6374
+ },
6375
+ "onAppear": {
6376
+ "actionId": "tier5.businessContact.load",
6377
+ "args": {
6378
+ "showMemberCount": false
6379
+ }
6380
+ }
6381
+ }
6382
+ },
6383
+ "logicBundle": {
6384
+ "url": "http://localhost:8190/v1/bundles/business-contact?integrity=",
6385
+ "integrity": "",
6386
+ "contentType": "application/javascript+ts-bundle",
6387
+ "declaredCapabilities": [
6388
+ "open_url"
6389
+ ],
6390
+ "minBinaryVersion": "0.1.0",
6391
+ "bundleVersion": "0.0.1"
6392
+ }
6393
+ },
6181
6394
  "himi_appearance": {
6182
6395
  "screenId": "himi_appearance",
6183
6396
  "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 };
@@ -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,