@wix/himalaya-cli 0.1033.0 → 0.1034.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 (126) hide show
  1. package/dist/cli.mjs +0 -2
  2. package/package.json +2 -2
  3. package/templates/beauty-salon/dev/index.ts +398 -1
  4. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +4 -1
  5. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +36 -5
  6. package/templates/beauty-salon/tier5-src/_shared/empty-flags.ts +33 -0
  7. package/templates/beauty-salon/tier5-src/himi-store-saved/index.ts +3 -2
  8. package/templates/beauty-salon/tier5-src/wix-spaces-collections/index.ts +3 -2
  9. package/templates/beauty-salon/tier5-src/wix-spaces-my-subscriptions/index.ts +11 -2
  10. package/templates/beauty-salon/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  11. package/templates/beauty-salon-owner/dev/index.ts +1216 -0
  12. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +4 -1
  13. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +36 -5
  14. package/templates/branded-lite/dev/index.ts +2239 -343
  15. package/templates/branded-lite/tier5-src/_shared/branded-load-state.ts +106 -0
  16. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +4 -1
  17. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +36 -5
  18. package/templates/branded-lite/tier5-src/_shared/empty-flags.ts +33 -0
  19. package/templates/branded-lite/tier5-src/himi-branded-lite-badges/index.ts +20 -16
  20. package/templates/branded-lite/tier5-src/himi-branded-lite-coupons/index.ts +20 -20
  21. package/templates/branded-lite/tier5-src/himi-branded-lite-donations/index.ts +20 -16
  22. package/templates/branded-lite/tier5-src/himi-branded-lite-forms/index.ts +23 -31
  23. package/templates/branded-lite/tier5-src/himi-branded-lite-galleries/index.ts +19 -14
  24. package/templates/branded-lite/tier5-src/himi-branded-lite-giftcards/index.ts +20 -16
  25. package/templates/branded-lite/tier5-src/himi-branded-lite-inbox/index.ts +20 -15
  26. package/templates/branded-lite/tier5-src/himi-branded-lite-invoices/index.ts +20 -16
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/index.ts +20 -17
  28. package/templates/branded-lite/tier5-src/himi-branded-lite-notifications/index.ts +20 -18
  29. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +23 -19
  30. package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +1 -1
  31. package/templates/branded-lite/tier5-src/himi-branded-lite-reservations/index.ts +24 -20
  32. package/templates/branded-lite/tier5-src/himi-branded-lite-reviews/index.ts +20 -17
  33. package/templates/branded-lite/tier5-src/himi-branded-lite-videos/index.ts +19 -15
  34. package/templates/branded-lite/tier5-src/himi-store-saved/index.ts +3 -2
  35. package/templates/branded-lite/tier5-src/wix-spaces-collections/index.ts +3 -2
  36. package/templates/branded-lite/tier5-src/wix-spaces-forum/index.ts +3 -2
  37. package/templates/branded-lite/tier5-src/wix-spaces-members/index.ts +19 -6
  38. package/templates/branded-lite/tier5-src/wix-spaces-my-subscriptions/index.ts +11 -2
  39. package/templates/branded-lite/tier5-src/wix-spaces-new-message/index.ts +3 -2
  40. package/templates/branded-lite/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  41. package/templates/community-club/dev/index.ts +283 -2
  42. package/templates/community-club/tier5-src/_shared/collection-contract.ts +4 -1
  43. package/templates/community-club/tier5-src/_shared/collection-service.ts +36 -5
  44. package/templates/community-club/tier5-src/_shared/empty-flags.ts +33 -0
  45. package/templates/community-club/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  46. package/templates/community-club-owner/dev/index.ts +1216 -0
  47. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +4 -1
  48. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +36 -5
  49. package/templates/events-meetups/dev/index.ts +197 -1
  50. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +4 -1
  51. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +36 -5
  52. package/templates/events-meetups/tier5-src/_shared/empty-flags.ts +33 -0
  53. package/templates/events-meetups/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  54. package/templates/events-meetups-owner/dev/index.ts +1088 -0
  55. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +4 -1
  56. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +36 -5
  57. package/templates/gym-fitness/dev/index.ts +462 -1
  58. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +4 -1
  59. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +36 -5
  60. package/templates/gym-fitness/tier5-src/_shared/empty-flags.ts +33 -0
  61. package/templates/gym-fitness/tier5-src/himi-store-saved/index.ts +3 -2
  62. package/templates/gym-fitness/tier5-src/wix-spaces-collections/index.ts +3 -2
  63. package/templates/gym-fitness/tier5-src/wix-spaces-my-subscriptions/index.ts +11 -2
  64. package/templates/gym-fitness/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  65. package/templates/gym-fitness-owner/dev/index.ts +1280 -0
  66. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +4 -1
  67. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +36 -5
  68. package/templates/nonprofit-cause/dev/index.ts +264 -1
  69. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +4 -1
  70. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +36 -5
  71. package/templates/nonprofit-cause/tier5-src/_shared/empty-flags.ts +33 -0
  72. package/templates/nonprofit-cause/tier5-src/wix-spaces-my-subscriptions/index.ts +11 -2
  73. package/templates/nonprofit-cause/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  74. package/templates/nonprofit-cause-owner/dev/index.ts +1152 -0
  75. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +4 -1
  76. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +36 -5
  77. package/templates/owner-lite/dev/index.ts +1280 -0
  78. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +4 -1
  79. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +36 -5
  80. package/templates/podcast-creator/dev/index.ts +286 -23
  81. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +4 -1
  82. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +36 -5
  83. package/templates/podcast-creator/tier5-src/_shared/empty-flags.ts +33 -0
  84. package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +1 -1
  85. package/templates/podcast-creator/tier5-src/wix-spaces-my-subscriptions/index.ts +11 -2
  86. package/templates/podcast-creator/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  87. package/templates/podcast-creator-owner/dev/index.ts +1216 -0
  88. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +4 -1
  89. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +36 -5
  90. package/templates/portfolio-creative/dev/index.ts +353 -23
  91. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +4 -1
  92. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +36 -5
  93. package/templates/portfolio-creative/tier5-src/_shared/empty-flags.ts +33 -0
  94. package/templates/portfolio-creative/tier5-src/himi-store-saved/index.ts +3 -2
  95. package/templates/portfolio-creative/tier5-src/wix-spaces-collections/index.ts +3 -2
  96. package/templates/portfolio-creative/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  97. package/templates/portfolio-creative-owner/dev/index.ts +1216 -0
  98. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +4 -1
  99. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +36 -5
  100. package/templates/restaurant/dev/index.ts +197 -1
  101. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +4 -1
  102. package/templates/restaurant/tier5-src/_shared/collection-service.ts +36 -5
  103. package/templates/restaurant/tier5-src/_shared/empty-flags.ts +33 -0
  104. package/templates/restaurant/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  105. package/templates/restaurant-owner/dev/index.ts +1280 -0
  106. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +4 -1
  107. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +36 -5
  108. package/templates/retail-store/dev/index.ts +203 -1
  109. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +4 -1
  110. package/templates/retail-store/tier5-src/_shared/collection-service.ts +36 -5
  111. package/templates/retail-store/tier5-src/_shared/empty-flags.ts +33 -0
  112. package/templates/retail-store/tier5-src/himi-store-saved/index.ts +3 -2
  113. package/templates/retail-store/tier5-src/wix-spaces-collections/index.ts +3 -2
  114. package/templates/retail-store/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  115. package/templates/retail-store-owner/dev/index.ts +1152 -0
  116. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +4 -1
  117. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +36 -5
  118. package/templates/yoga-studio/dev/index.ts +392 -1
  119. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +4 -1
  120. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +36 -5
  121. package/templates/yoga-studio/tier5-src/_shared/empty-flags.ts +33 -0
  122. package/templates/yoga-studio/tier5-src/wix-spaces-my-subscriptions/index.ts +11 -2
  123. package/templates/yoga-studio/tier5-src/wix-spaces-whats-new/index.ts +3 -2
  124. package/templates/yoga-studio-owner/dev/index.ts +1152 -0
  125. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +4 -1
  126. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +36 -5
@@ -5472,7 +5472,8 @@ const SCREENS = runtimeSetting({
5472
5472
  "props": {
5473
5473
  "text": "$service:spacesDeleteAccount.message",
5474
5474
  "style": "caption",
5475
- "color": "textTertiary"
5475
+ "color": "textTertiary",
5476
+ "collapseWhenEmpty": true
5476
5477
  }
5477
5478
  }
5478
5479
  },
@@ -5767,6 +5768,9 @@ const SCREENS = runtimeSetting({
5767
5768
  }
5768
5769
  ]
5769
5770
  }
5771
+ },
5772
+ "modifiers": {
5773
+ "hiddenPath": "$service:spacesWhatsNew.noItems"
5770
5774
  }
5771
5775
  },
5772
5776
  {
@@ -6148,6 +6152,24 @@ const SCREENS = runtimeSetting({
6148
6152
  "props": {
6149
6153
  "spacing": 0,
6150
6154
  "children": [
6155
+ {
6156
+ "id": "himi_shop.list.collection.loading",
6157
+ "body": {
6158
+ "package": "himalaya",
6159
+ "type": "Skeleton",
6160
+ "props": {
6161
+ "height": 72,
6162
+ "cornerRadius": 12,
6163
+ "count": 3
6164
+ }
6165
+ },
6166
+ "modifiers": {
6167
+ "hiddenPath": "$service:himiStoreShop.collection.noLoading",
6168
+ "padding": {
6169
+ "bottom": 12
6170
+ }
6171
+ }
6172
+ },
6151
6173
  {
6152
6174
  "id": "",
6153
6175
  "body": {
@@ -6409,6 +6431,52 @@ const SCREENS = runtimeSetting({
6409
6431
  }
6410
6432
  }
6411
6433
  },
6434
+ {
6435
+ "id": "himi_shop.list.collection.empty-source",
6436
+ "body": {
6437
+ "package": "himalaya",
6438
+ "type": "VStack",
6439
+ "props": {
6440
+ "spacing": 8,
6441
+ "alignment": "center",
6442
+ "children": [
6443
+ {
6444
+ "id": "",
6445
+ "body": {
6446
+ "package": "himalaya",
6447
+ "type": "Icon",
6448
+ "props": {
6449
+ "name": "inbox",
6450
+ "size": 28,
6451
+ "tint": "textTertiary"
6452
+ }
6453
+ },
6454
+ "modifiers": {
6455
+ "accessibilityRole": "decorative"
6456
+ }
6457
+ },
6458
+ {
6459
+ "id": "",
6460
+ "body": {
6461
+ "package": "himalaya",
6462
+ "type": "Text",
6463
+ "props": {
6464
+ "text": "$service:himiStoreShop.collection.emptySourceText",
6465
+ "style": "body",
6466
+ "color": "textSecondary"
6467
+ }
6468
+ }
6469
+ }
6470
+ ]
6471
+ }
6472
+ },
6473
+ "modifiers": {
6474
+ "hiddenPath": "$service:himiStoreShop.collection.noEmptySource",
6475
+ "padding": {
6476
+ "bottom": 12
6477
+ }
6478
+ }
6479
+ },
6412
6480
  {
6413
6481
  "id": "",
6414
6482
  "body": {
@@ -8823,6 +8891,9 @@ const SCREENS = runtimeSetting({
8823
8891
  "actionId": "tier5.himiStoreSaved.load"
8824
8892
  }
8825
8893
  }
8894
+ },
8895
+ "modifiers": {
8896
+ "hiddenPath": "$service:himiStoreSaved.noRows"
8826
8897
  }
8827
8898
  },
8828
8899
  {
@@ -9074,6 +9145,9 @@ const SCREENS = runtimeSetting({
9074
9145
  }
9075
9146
  ]
9076
9147
  }
9148
+ },
9149
+ "modifiers": {
9150
+ "hiddenPath": "$service:spacesCollections.noCollections"
9077
9151
  }
9078
9152
  },
9079
9153
  {
@@ -10120,6 +10194,24 @@ const SCREENS = runtimeSetting({
10120
10194
  "props": {
10121
10195
  "spacing": 0,
10122
10196
  "children": [
10197
+ {
10198
+ "id": "himi_orders.list.collection.loading",
10199
+ "body": {
10200
+ "package": "himalaya",
10201
+ "type": "Skeleton",
10202
+ "props": {
10203
+ "height": 72,
10204
+ "cornerRadius": 12,
10205
+ "count": 3
10206
+ }
10207
+ },
10208
+ "modifiers": {
10209
+ "hiddenPath": "$service:himiBrandedOrders.collection.noLoading",
10210
+ "padding": {
10211
+ "bottom": 12
10212
+ }
10213
+ }
10214
+ },
10123
10215
  {
10124
10216
  "id": "himi_orders.list.collection.search",
10125
10217
  "body": {
@@ -10402,6 +10494,52 @@ const SCREENS = runtimeSetting({
10402
10494
  }
10403
10495
  }
10404
10496
  },
10497
+ {
10498
+ "id": "himi_orders.list.collection.empty-source",
10499
+ "body": {
10500
+ "package": "himalaya",
10501
+ "type": "VStack",
10502
+ "props": {
10503
+ "spacing": 8,
10504
+ "alignment": "center",
10505
+ "children": [
10506
+ {
10507
+ "id": "",
10508
+ "body": {
10509
+ "package": "himalaya",
10510
+ "type": "Icon",
10511
+ "props": {
10512
+ "name": "inbox",
10513
+ "size": 28,
10514
+ "tint": "textTertiary"
10515
+ }
10516
+ },
10517
+ "modifiers": {
10518
+ "accessibilityRole": "decorative"
10519
+ }
10520
+ },
10521
+ {
10522
+ "id": "",
10523
+ "body": {
10524
+ "package": "himalaya",
10525
+ "type": "Text",
10526
+ "props": {
10527
+ "text": "$service:himiBrandedOrders.collection.emptySourceText",
10528
+ "style": "body",
10529
+ "color": "textSecondary"
10530
+ }
10531
+ }
10532
+ }
10533
+ ]
10534
+ }
10535
+ },
10536
+ "modifiers": {
10537
+ "hiddenPath": "$service:himiBrandedOrders.collection.noEmptySource",
10538
+ "padding": {
10539
+ "bottom": 12
10540
+ }
10541
+ }
10542
+ },
10405
10543
  {
10406
10544
  "id": "",
10407
10545
  "body": {
@@ -12643,6 +12781,24 @@ const SCREENS = runtimeSetting({
12643
12781
  "props": {
12644
12782
  "spacing": 0,
12645
12783
  "children": [
12784
+ {
12785
+ "id": "himi_services.list.collection.loading",
12786
+ "body": {
12787
+ "package": "himalaya",
12788
+ "type": "Skeleton",
12789
+ "props": {
12790
+ "height": 72,
12791
+ "cornerRadius": 12,
12792
+ "count": 3
12793
+ }
12794
+ },
12795
+ "modifiers": {
12796
+ "hiddenPath": "$service:himiBookingServices.collection.noLoading",
12797
+ "padding": {
12798
+ "bottom": 12
12799
+ }
12800
+ }
12801
+ },
12646
12802
  {
12647
12803
  "id": "",
12648
12804
  "body": {
@@ -12904,6 +13060,52 @@ const SCREENS = runtimeSetting({
12904
13060
  }
12905
13061
  }
12906
13062
  },
13063
+ {
13064
+ "id": "himi_services.list.collection.empty-source",
13065
+ "body": {
13066
+ "package": "himalaya",
13067
+ "type": "VStack",
13068
+ "props": {
13069
+ "spacing": 8,
13070
+ "alignment": "center",
13071
+ "children": [
13072
+ {
13073
+ "id": "",
13074
+ "body": {
13075
+ "package": "himalaya",
13076
+ "type": "Icon",
13077
+ "props": {
13078
+ "name": "inbox",
13079
+ "size": 28,
13080
+ "tint": "textTertiary"
13081
+ }
13082
+ },
13083
+ "modifiers": {
13084
+ "accessibilityRole": "decorative"
13085
+ }
13086
+ },
13087
+ {
13088
+ "id": "",
13089
+ "body": {
13090
+ "package": "himalaya",
13091
+ "type": "Text",
13092
+ "props": {
13093
+ "text": "$service:himiBookingServices.collection.emptySourceText",
13094
+ "style": "body",
13095
+ "color": "textSecondary"
13096
+ }
13097
+ }
13098
+ }
13099
+ ]
13100
+ }
13101
+ },
13102
+ "modifiers": {
13103
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource",
13104
+ "padding": {
13105
+ "bottom": 12
13106
+ }
13107
+ }
13108
+ },
12907
13109
  {
12908
13110
  "id": "",
12909
13111
  "body": {
@@ -15523,6 +15725,24 @@ const SCREENS = runtimeSetting({
15523
15725
  "props": {
15524
15726
  "spacing": 0,
15525
15727
  "children": [
15728
+ {
15729
+ "id": "himi_bookings.list.collection.loading",
15730
+ "body": {
15731
+ "package": "himalaya",
15732
+ "type": "Skeleton",
15733
+ "props": {
15734
+ "height": 72,
15735
+ "cornerRadius": 12,
15736
+ "count": 3
15737
+ }
15738
+ },
15739
+ "modifiers": {
15740
+ "hiddenPath": "$service:himiBookingBookings.collection.noLoading",
15741
+ "padding": {
15742
+ "bottom": 12
15743
+ }
15744
+ }
15745
+ },
15526
15746
  {
15527
15747
  "id": "himi_bookings.list.collection.search",
15528
15748
  "body": {
@@ -15805,6 +16025,52 @@ const SCREENS = runtimeSetting({
15805
16025
  }
15806
16026
  }
15807
16027
  },
16028
+ {
16029
+ "id": "himi_bookings.list.collection.empty-source",
16030
+ "body": {
16031
+ "package": "himalaya",
16032
+ "type": "VStack",
16033
+ "props": {
16034
+ "spacing": 8,
16035
+ "alignment": "center",
16036
+ "children": [
16037
+ {
16038
+ "id": "",
16039
+ "body": {
16040
+ "package": "himalaya",
16041
+ "type": "Icon",
16042
+ "props": {
16043
+ "name": "inbox",
16044
+ "size": 28,
16045
+ "tint": "textTertiary"
16046
+ }
16047
+ },
16048
+ "modifiers": {
16049
+ "accessibilityRole": "decorative"
16050
+ }
16051
+ },
16052
+ {
16053
+ "id": "",
16054
+ "body": {
16055
+ "package": "himalaya",
16056
+ "type": "Text",
16057
+ "props": {
16058
+ "text": "$service:himiBookingBookings.collection.emptySourceText",
16059
+ "style": "body",
16060
+ "color": "textSecondary"
16061
+ }
16062
+ }
16063
+ }
16064
+ ]
16065
+ }
16066
+ },
16067
+ "modifiers": {
16068
+ "hiddenPath": "$service:himiBookingBookings.collection.noEmptySource",
16069
+ "padding": {
16070
+ "bottom": 12
16071
+ }
16072
+ }
16073
+ },
15808
16074
  {
15809
16075
  "id": "",
15810
16076
  "body": {
@@ -18322,6 +18588,24 @@ const SCREENS = runtimeSetting({
18322
18588
  "props": {
18323
18589
  "spacing": 0,
18324
18590
  "children": [
18591
+ {
18592
+ "id": "himi_plans.rows.collection.loading",
18593
+ "body": {
18594
+ "package": "himalaya",
18595
+ "type": "Skeleton",
18596
+ "props": {
18597
+ "height": 72,
18598
+ "cornerRadius": 12,
18599
+ "count": 3
18600
+ }
18601
+ },
18602
+ "modifiers": {
18603
+ "hiddenPath": "$service:himiBrandedPlans.collection.noLoading",
18604
+ "padding": {
18605
+ "bottom": 12
18606
+ }
18607
+ }
18608
+ },
18325
18609
  {
18326
18610
  "id": "himi_plans.rows.collection.search",
18327
18611
  "body": {
@@ -18561,6 +18845,52 @@ const SCREENS = runtimeSetting({
18561
18845
  }
18562
18846
  }
18563
18847
  },
18848
+ {
18849
+ "id": "himi_plans.rows.collection.empty-source",
18850
+ "body": {
18851
+ "package": "himalaya",
18852
+ "type": "VStack",
18853
+ "props": {
18854
+ "spacing": 8,
18855
+ "alignment": "center",
18856
+ "children": [
18857
+ {
18858
+ "id": "",
18859
+ "body": {
18860
+ "package": "himalaya",
18861
+ "type": "Icon",
18862
+ "props": {
18863
+ "name": "inbox",
18864
+ "size": 28,
18865
+ "tint": "textTertiary"
18866
+ }
18867
+ },
18868
+ "modifiers": {
18869
+ "accessibilityRole": "decorative"
18870
+ }
18871
+ },
18872
+ {
18873
+ "id": "",
18874
+ "body": {
18875
+ "package": "himalaya",
18876
+ "type": "Text",
18877
+ "props": {
18878
+ "text": "$service:himiBrandedPlans.collection.emptySourceText",
18879
+ "style": "body",
18880
+ "color": "textSecondary"
18881
+ }
18882
+ }
18883
+ }
18884
+ ]
18885
+ }
18886
+ },
18887
+ "modifiers": {
18888
+ "hiddenPath": "$service:himiBrandedPlans.collection.noEmptySource",
18889
+ "padding": {
18890
+ "bottom": 12
18891
+ }
18892
+ }
18893
+ },
18564
18894
  {
18565
18895
  "id": "",
18566
18896
  "body": {
@@ -20916,6 +21246,9 @@ const SCREENS = runtimeSetting({
20916
21246
  }
20917
21247
  ]
20918
21248
  }
21249
+ },
21250
+ "modifiers": {
21251
+ "hiddenPath": "$service:spacesMySubscriptions.noOrders"
20919
21252
  }
20920
21253
  },
20921
21254
  {
@@ -21746,6 +22079,24 @@ const SCREENS = runtimeSetting({
21746
22079
  "props": {
21747
22080
  "spacing": 0,
21748
22081
  "children": [
22082
+ {
22083
+ "id": "himi_events.list.collection.loading",
22084
+ "body": {
22085
+ "package": "himalaya",
22086
+ "type": "Skeleton",
22087
+ "props": {
22088
+ "height": 72,
22089
+ "cornerRadius": 12,
22090
+ "count": 3
22091
+ }
22092
+ },
22093
+ "modifiers": {
22094
+ "hiddenPath": "$service:himiEvents.collection.noLoading",
22095
+ "padding": {
22096
+ "bottom": 12
22097
+ }
22098
+ }
22099
+ },
21749
22100
  {
21750
22101
  "id": "",
21751
22102
  "body": {
@@ -22007,6 +22358,52 @@ const SCREENS = runtimeSetting({
22007
22358
  }
22008
22359
  }
22009
22360
  },
22361
+ {
22362
+ "id": "himi_events.list.collection.empty-source",
22363
+ "body": {
22364
+ "package": "himalaya",
22365
+ "type": "VStack",
22366
+ "props": {
22367
+ "spacing": 8,
22368
+ "alignment": "center",
22369
+ "children": [
22370
+ {
22371
+ "id": "",
22372
+ "body": {
22373
+ "package": "himalaya",
22374
+ "type": "Icon",
22375
+ "props": {
22376
+ "name": "inbox",
22377
+ "size": 28,
22378
+ "tint": "textTertiary"
22379
+ }
22380
+ },
22381
+ "modifiers": {
22382
+ "accessibilityRole": "decorative"
22383
+ }
22384
+ },
22385
+ {
22386
+ "id": "",
22387
+ "body": {
22388
+ "package": "himalaya",
22389
+ "type": "Text",
22390
+ "props": {
22391
+ "text": "$service:himiEvents.collection.emptySourceText",
22392
+ "style": "body",
22393
+ "color": "textSecondary"
22394
+ }
22395
+ }
22396
+ }
22397
+ ]
22398
+ }
22399
+ },
22400
+ "modifiers": {
22401
+ "hiddenPath": "$service:himiEvents.collection.noEmptySource",
22402
+ "padding": {
22403
+ "bottom": 12
22404
+ }
22405
+ }
22406
+ },
22010
22407
  {
22011
22408
  "id": "",
22012
22409
  "body": {
@@ -25050,6 +25447,24 @@ const SCREENS = runtimeSetting({
25050
25447
  "props": {
25051
25448
  "spacing": 0,
25052
25449
  "children": [
25450
+ {
25451
+ "id": "himi_blog.list.collection.loading",
25452
+ "body": {
25453
+ "package": "himalaya",
25454
+ "type": "Skeleton",
25455
+ "props": {
25456
+ "height": 72,
25457
+ "cornerRadius": 12,
25458
+ "count": 3
25459
+ }
25460
+ },
25461
+ "modifiers": {
25462
+ "hiddenPath": "$service:himiBlogFeed.collection.noLoading",
25463
+ "padding": {
25464
+ "bottom": 12
25465
+ }
25466
+ }
25467
+ },
25053
25468
  {
25054
25469
  "id": "",
25055
25470
  "body": {
@@ -25268,6 +25683,52 @@ const SCREENS = runtimeSetting({
25268
25683
  }
25269
25684
  }
25270
25685
  },
25686
+ {
25687
+ "id": "himi_blog.list.collection.empty-source",
25688
+ "body": {
25689
+ "package": "himalaya",
25690
+ "type": "VStack",
25691
+ "props": {
25692
+ "spacing": 8,
25693
+ "alignment": "center",
25694
+ "children": [
25695
+ {
25696
+ "id": "",
25697
+ "body": {
25698
+ "package": "himalaya",
25699
+ "type": "Icon",
25700
+ "props": {
25701
+ "name": "inbox",
25702
+ "size": 28,
25703
+ "tint": "textTertiary"
25704
+ }
25705
+ },
25706
+ "modifiers": {
25707
+ "accessibilityRole": "decorative"
25708
+ }
25709
+ },
25710
+ {
25711
+ "id": "",
25712
+ "body": {
25713
+ "package": "himalaya",
25714
+ "type": "Text",
25715
+ "props": {
25716
+ "text": "$service:himiBlogFeed.collection.emptySourceText",
25717
+ "style": "body",
25718
+ "color": "textSecondary"
25719
+ }
25720
+ }
25721
+ }
25722
+ ]
25723
+ }
25724
+ },
25725
+ "modifiers": {
25726
+ "hiddenPath": "$service:himiBlogFeed.collection.noEmptySource",
25727
+ "padding": {
25728
+ "bottom": 12
25729
+ }
25730
+ }
25731
+ },
25271
25732
  {
25272
25733
  "id": "",
25273
25734
  "body": {
@@ -30,6 +30,9 @@ export interface CollectionConfig {
30
30
  * `screenId` opens that screen with the row id; without it the verb reuses the
31
31
  * row's own tap action (the detail screen that owns the verb). */
32
32
  primaryVerb?: { label: string; screenId?: string };
33
+ /** A state field the DOMAIN narrows `rows` by (e.g. a category picker). While it is set,
34
+ * zero rows is a filtered result, not an empty source. */
35
+ narrowedBy?: string;
33
36
  }
34
37
  /** At or below this many records, with no query/filter narrowing them and no further
35
38
  * page, the list/grid toggle, Refine, chips, search and count are noise. */
@@ -41,7 +44,7 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
41
44
  defaultFilter: 'value:Upcoming', searchPlaceholder: 'Exact booking ID', filterValues: ['Upcoming', 'Past', 'Cancelled'],
42
45
  sortLabels: { default: 'Soonest', az: 'Oldest', za: 'Latest' } },
43
46
  himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', view: 'grid', backendQuery: true, searchPlaceholder: 'Exact event title', filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register' } },
44
- himiBlogFeed: { rows: 'posts', title: 'title', subtitle: 'excerpt', image: 'image', filter: 'category', filterValuesFrom: 'categories', view: 'grid' },
47
+ himiBlogFeed: { rows: 'posts', title: 'title', subtitle: 'excerpt', image: 'image', filter: 'category', filterValuesFrom: 'categories', view: 'grid', narrowedBy: 'selectedCategoryId' },
45
48
  himiOwnerLiteProducts: { rows: 'products', title: 'name', subtitle: 'price', image: 'image', view: 'grid', backendQuery: true },
46
49
  himiOwnerModules: { instanceInput: 'module', rows: 'rows', title: 'title', subtitle: 'subtitle', image: 'image', filter: 'statusLabel', view: 'list', paged: true, reviewAction: 'prepareRecord', reviewSelectedAction: 'prepareSelected' },
47
50
  himiOwnerLiteServices: { rows: 'services', title: 'name', subtitle: 'subtitle', view: 'list', backendQuery: true, searchPlaceholder: 'Service name starts with…' },