@wix/himalaya-cli 0.1039.0 → 0.1041.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.
- package/dist/cli.mjs +31 -19
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +42 -42
- package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/beauty-salon-owner/config.ts +2 -2
- package/templates/beauty-salon-owner/dev/index.ts +794 -295
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/branded-lite/dev/index.ts +175 -175
- package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/community-club/dev/index.ts +28 -28
- package/templates/community-club/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/community-club-owner/config.ts +2 -2
- package/templates/community-club-owner/dev/index.ts +794 -295
- package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/community-club-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/community-club-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/community-club-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/community-club-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/events-meetups/dev/index.ts +21 -21
- package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/events-meetups-owner/config.ts +2 -2
- package/templates/events-meetups-owner/dev/index.ts +766 -243
- package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/events-meetups-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/gym-fitness/dev/index.ts +49 -49
- package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/gym-fitness-owner/config.ts +2 -2
- package/templates/gym-fitness-owner/dev/index.ts +801 -320
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/nonprofit-cause/dev/index.ts +28 -28
- package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/nonprofit-cause-owner/config.ts +2 -2
- package/templates/nonprofit-cause-owner/dev/index.ts +773 -268
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/owner-lite/config.ts +2 -2
- package/templates/owner-lite/dev/index.ts +802 -322
- package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/owner-lite/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/owner-lite/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/owner-lite/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/owner-lite/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/owner-lite/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/owner-lite/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/podcast-creator/dev/index.ts +28 -28
- package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/podcast-creator-owner/config.ts +2 -2
- package/templates/podcast-creator-owner/dev/index.ts +794 -295
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/portfolio-creative/dev/index.ts +35 -35
- package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/portfolio-creative-owner/config.ts +2 -2
- package/templates/portfolio-creative-owner/dev/index.ts +794 -295
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/restaurant/dev/index.ts +21 -21
- package/templates/restaurant/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/restaurant-owner/config.ts +2 -2
- package/templates/restaurant-owner/dev/index.ts +801 -320
- package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/restaurant-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/retail-store/dev/index.ts +21 -21
- package/templates/retail-store/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/retail-store-owner/config.ts +2 -2
- package/templates/retail-store-owner/dev/index.ts +787 -270
- package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/retail-store-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/yoga-studio/dev/index.ts +42 -42
- package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/yoga-studio-owner/config.ts +2 -2
- package/templates/yoga-studio-owner/dev/index.ts +773 -268
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +237 -4
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
|
@@ -5360,7 +5360,7 @@ const SCREENS = runtimeSetting({
|
|
|
5360
5360
|
},
|
|
5361
5361
|
{
|
|
5362
5362
|
"id": "save",
|
|
5363
|
-
"label": "
|
|
5363
|
+
"label": "$item.collectionSaveLabel",
|
|
5364
5364
|
"icon": "bookmark",
|
|
5365
5365
|
"action": {
|
|
5366
5366
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -5442,7 +5442,7 @@ const SCREENS = runtimeSetting({
|
|
|
5442
5442
|
"rowSwipeActions": {
|
|
5443
5443
|
"trailing": [
|
|
5444
5444
|
{
|
|
5445
|
-
"label": "
|
|
5445
|
+
"label": "$item.collectionSaveLabel",
|
|
5446
5446
|
"icon": "bookmark",
|
|
5447
5447
|
"action": {
|
|
5448
5448
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -5707,7 +5707,7 @@ const SCREENS = runtimeSetting({
|
|
|
5707
5707
|
},
|
|
5708
5708
|
{
|
|
5709
5709
|
"id": "save",
|
|
5710
|
-
"label": "
|
|
5710
|
+
"label": "$item.collectionSaveLabel",
|
|
5711
5711
|
"icon": "bookmark",
|
|
5712
5712
|
"action": {
|
|
5713
5713
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -5997,7 +5997,7 @@ const SCREENS = runtimeSetting({
|
|
|
5997
5997
|
},
|
|
5998
5998
|
{
|
|
5999
5999
|
"id": "save",
|
|
6000
|
-
"label": "
|
|
6000
|
+
"label": "$item.collectionSaveLabel",
|
|
6001
6001
|
"icon": "bookmark",
|
|
6002
6002
|
"action": {
|
|
6003
6003
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -6079,7 +6079,7 @@ const SCREENS = runtimeSetting({
|
|
|
6079
6079
|
"rowSwipeActions": {
|
|
6080
6080
|
"trailing": [
|
|
6081
6081
|
{
|
|
6082
|
-
"label": "
|
|
6082
|
+
"label": "$item.collectionSaveLabel",
|
|
6083
6083
|
"icon": "bookmark",
|
|
6084
6084
|
"action": {
|
|
6085
6085
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -6344,7 +6344,7 @@ const SCREENS = runtimeSetting({
|
|
|
6344
6344
|
},
|
|
6345
6345
|
{
|
|
6346
6346
|
"id": "save",
|
|
6347
|
-
"label": "
|
|
6347
|
+
"label": "$item.collectionSaveLabel",
|
|
6348
6348
|
"icon": "bookmark",
|
|
6349
6349
|
"action": {
|
|
6350
6350
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -6985,7 +6985,7 @@ const SCREENS = runtimeSetting({
|
|
|
6985
6985
|
},
|
|
6986
6986
|
{
|
|
6987
6987
|
"id": "save",
|
|
6988
|
-
"label": "
|
|
6988
|
+
"label": "$item.collectionSaveLabel",
|
|
6989
6989
|
"icon": "bookmark",
|
|
6990
6990
|
"action": {
|
|
6991
6991
|
"actionId": "tier5.himiStoreShop.collectionSave",
|
|
@@ -9392,7 +9392,7 @@ const SCREENS = runtimeSetting({
|
|
|
9392
9392
|
},
|
|
9393
9393
|
{
|
|
9394
9394
|
"id": "save",
|
|
9395
|
-
"label": "
|
|
9395
|
+
"label": "$item.collectionSaveLabel",
|
|
9396
9396
|
"icon": "bookmark",
|
|
9397
9397
|
"action": {
|
|
9398
9398
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -9474,7 +9474,7 @@ const SCREENS = runtimeSetting({
|
|
|
9474
9474
|
"rowSwipeActions": {
|
|
9475
9475
|
"trailing": [
|
|
9476
9476
|
{
|
|
9477
|
-
"label": "
|
|
9477
|
+
"label": "$item.collectionSaveLabel",
|
|
9478
9478
|
"icon": "bookmark",
|
|
9479
9479
|
"action": {
|
|
9480
9480
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -9672,7 +9672,7 @@ const SCREENS = runtimeSetting({
|
|
|
9672
9672
|
},
|
|
9673
9673
|
{
|
|
9674
9674
|
"id": "save",
|
|
9675
|
-
"label": "
|
|
9675
|
+
"label": "$item.collectionSaveLabel",
|
|
9676
9676
|
"icon": "bookmark",
|
|
9677
9677
|
"action": {
|
|
9678
9678
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -9962,7 +9962,7 @@ const SCREENS = runtimeSetting({
|
|
|
9962
9962
|
},
|
|
9963
9963
|
{
|
|
9964
9964
|
"id": "save",
|
|
9965
|
-
"label": "
|
|
9965
|
+
"label": "$item.collectionSaveLabel",
|
|
9966
9966
|
"icon": "bookmark",
|
|
9967
9967
|
"action": {
|
|
9968
9968
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -10044,7 +10044,7 @@ const SCREENS = runtimeSetting({
|
|
|
10044
10044
|
"rowSwipeActions": {
|
|
10045
10045
|
"trailing": [
|
|
10046
10046
|
{
|
|
10047
|
-
"label": "
|
|
10047
|
+
"label": "$item.collectionSaveLabel",
|
|
10048
10048
|
"icon": "bookmark",
|
|
10049
10049
|
"action": {
|
|
10050
10050
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -10242,7 +10242,7 @@ const SCREENS = runtimeSetting({
|
|
|
10242
10242
|
},
|
|
10243
10243
|
{
|
|
10244
10244
|
"id": "save",
|
|
10245
|
-
"label": "
|
|
10245
|
+
"label": "$item.collectionSaveLabel",
|
|
10246
10246
|
"icon": "bookmark",
|
|
10247
10247
|
"action": {
|
|
10248
10248
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -10847,7 +10847,7 @@ const SCREENS = runtimeSetting({
|
|
|
10847
10847
|
},
|
|
10848
10848
|
{
|
|
10849
10849
|
"id": "save",
|
|
10850
|
-
"label": "
|
|
10850
|
+
"label": "$item.collectionSaveLabel",
|
|
10851
10851
|
"icon": "bookmark",
|
|
10852
10852
|
"action": {
|
|
10853
10853
|
"actionId": "tier5.himiBrandedOrders.collectionSave",
|
|
@@ -12115,7 +12115,7 @@ const SCREENS = runtimeSetting({
|
|
|
12115
12115
|
},
|
|
12116
12116
|
{
|
|
12117
12117
|
"id": "save",
|
|
12118
|
-
"label": "
|
|
12118
|
+
"label": "$item.collectionSaveLabel",
|
|
12119
12119
|
"icon": "bookmark",
|
|
12120
12120
|
"action": {
|
|
12121
12121
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -12197,7 +12197,7 @@ const SCREENS = runtimeSetting({
|
|
|
12197
12197
|
"rowSwipeActions": {
|
|
12198
12198
|
"trailing": [
|
|
12199
12199
|
{
|
|
12200
|
-
"label": "
|
|
12200
|
+
"label": "$item.collectionSaveLabel",
|
|
12201
12201
|
"icon": "bookmark",
|
|
12202
12202
|
"action": {
|
|
12203
12203
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -12462,7 +12462,7 @@ const SCREENS = runtimeSetting({
|
|
|
12462
12462
|
},
|
|
12463
12463
|
{
|
|
12464
12464
|
"id": "save",
|
|
12465
|
-
"label": "
|
|
12465
|
+
"label": "$item.collectionSaveLabel",
|
|
12466
12466
|
"icon": "bookmark",
|
|
12467
12467
|
"action": {
|
|
12468
12468
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -12752,7 +12752,7 @@ const SCREENS = runtimeSetting({
|
|
|
12752
12752
|
},
|
|
12753
12753
|
{
|
|
12754
12754
|
"id": "save",
|
|
12755
|
-
"label": "
|
|
12755
|
+
"label": "$item.collectionSaveLabel",
|
|
12756
12756
|
"icon": "bookmark",
|
|
12757
12757
|
"action": {
|
|
12758
12758
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -12834,7 +12834,7 @@ const SCREENS = runtimeSetting({
|
|
|
12834
12834
|
"rowSwipeActions": {
|
|
12835
12835
|
"trailing": [
|
|
12836
12836
|
{
|
|
12837
|
-
"label": "
|
|
12837
|
+
"label": "$item.collectionSaveLabel",
|
|
12838
12838
|
"icon": "bookmark",
|
|
12839
12839
|
"action": {
|
|
12840
12840
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -13099,7 +13099,7 @@ const SCREENS = runtimeSetting({
|
|
|
13099
13099
|
},
|
|
13100
13100
|
{
|
|
13101
13101
|
"id": "save",
|
|
13102
|
-
"label": "
|
|
13102
|
+
"label": "$item.collectionSaveLabel",
|
|
13103
13103
|
"icon": "bookmark",
|
|
13104
13104
|
"action": {
|
|
13105
13105
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -13740,7 +13740,7 @@ const SCREENS = runtimeSetting({
|
|
|
13740
13740
|
},
|
|
13741
13741
|
{
|
|
13742
13742
|
"id": "save",
|
|
13743
|
-
"label": "
|
|
13743
|
+
"label": "$item.collectionSaveLabel",
|
|
13744
13744
|
"icon": "bookmark",
|
|
13745
13745
|
"action": {
|
|
13746
13746
|
"actionId": "tier5.himiBlogFeed.collectionSave",
|
|
@@ -168,6 +168,8 @@ export function projectCollection(source: CollectionRow[], config: CollectionCon
|
|
|
168
168
|
items: visible.map(row => ({ ...row, collectionId: collectionId(row), collectionTitle: collectionTitle(row, config),
|
|
169
169
|
collectionMeta: [...new Set((config.metadata ?? ['total', 'statusLabel', 'price', 'priceLine', 'dateLine', 'meta']).filter(key => key !== config.subtitle).map(key => scalar(row[key])).filter(Boolean))].join(' · '),
|
|
170
170
|
collectionSelectLabel: prefs.selectedIds.includes(collectionId(row)) ? 'Selected' : 'Select',
|
|
171
|
+
// The save toggle names the action it WILL take (the service localizes it).
|
|
172
|
+
collectionSaveLabel: prefs.savedIds.includes(collectionId(row)) ? 'Remove from saved' : 'Save',
|
|
171
173
|
collectionSubtitle: scalar(row[config.subtitle ?? '']) || scalar(row.subtitle) || scalar(row.description) || scalar(row.meta),
|
|
172
174
|
collectionImage: scalar(row[config.image ?? '']), collectionNoImage: !scalar(row[config.image ?? '']), collectionHasImage: !!scalar(row[config.image ?? '']),
|
|
173
175
|
collectionSaved: prefs.savedIds.includes(collectionId(row)), collectionNotSaved: !prefs.savedIds.includes(collectionId(row)), collectionSelected: prefs.selectedIds.includes(collectionId(row)),
|
|
@@ -123,7 +123,12 @@ export function decorateCollection(name: string, def: { state: State; actions?:
|
|
|
123
123
|
pendingFilter = '';
|
|
124
124
|
}
|
|
125
125
|
const projected = projectCollection(rows, config, prefs, !!backend && config.backendQuery === true, known);
|
|
126
|
-
projected.items.forEach(row => {
|
|
126
|
+
projected.items.forEach(row => {
|
|
127
|
+
row.collectionSelectLabel = row.collectionSelected ? copyParam('collection.selected', 'Selected') : copyParam('collection.select', 'Select');
|
|
128
|
+
// the save toggle names the action it WILL take for this row. The
|
|
129
|
+
// old static "Save / unsave" made the owner work out the row's state.
|
|
130
|
+
row.collectionSaveLabel = row.collectionSaved ? copyParam('collection.unsave', 'Remove from saved') : copyParam('collection.save', 'Save');
|
|
131
|
+
});
|
|
127
132
|
if (previewId && !rows.some(row => collectionId(row) === previewId)) previewId = '';
|
|
128
133
|
const filterChoices = [{ id: 'all', label: copyParam('collection.all', 'All') }, { id: 'saved', label: copyParam('collection.saved', 'Saved') },
|
|
129
134
|
...projected.filters.map(label => ({ id: `value:${label}`, label: copyParam(`collection.filter.${label}`, label) }))];
|
|
@@ -37,7 +37,7 @@ export default defineApp({
|
|
|
37
37
|
actions: "http://localhost:8190/v1/actions",
|
|
38
38
|
sync: "http://localhost:8190/v1/sync",
|
|
39
39
|
},
|
|
40
|
-
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard","ui","camera","presigned_upload"],
|
|
40
|
+
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard","ui","speech","camera","presigned_upload","app_info"],
|
|
41
41
|
designTokensPath: "./tokens.json",
|
|
42
42
|
navigation: {
|
|
43
43
|
"navKind": "responsive",
|
|
@@ -547,7 +547,7 @@ export default defineApp({
|
|
|
547
547
|
"actions": [
|
|
548
548
|
{
|
|
549
549
|
"id": "himi_owner_lite.topbar_ask",
|
|
550
|
-
"icon": "
|
|
550
|
+
"icon": "ai",
|
|
551
551
|
"accessibilityLabel": "Ask about the shop",
|
|
552
552
|
"onTap": {
|
|
553
553
|
"actionId": "himi.open",
|