@wix/himalaya-cli 0.1210.0 → 0.1212.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 +91 -1
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/beauty-salon-owner/dev/index.ts +280 -37
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/community-club-owner/dev/index.ts +389 -37
- package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/community-club-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/community-club-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/community-club-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/events-meetups-owner/dev/index.ts +280 -37
- package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/events-meetups-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/gym-fitness-owner/dev/index.ts +389 -37
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/nonprofit-cause-owner/dev/index.ts +280 -37
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/owner-lite/dev/index.ts +389 -37
- package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/owner-lite/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/owner-lite/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/owner-lite/tier5-src/himi-owner-lite-faq/index.ts +8 -2
- package/templates/owner-lite/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/podcast-creator-owner/dev/index.ts +389 -37
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/portfolio-creative-owner/dev/index.ts +280 -37
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/restaurant-owner/dev/index.ts +389 -37
- package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/restaurant-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/retail-store-owner/dev/index.ts +280 -37
- package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/retail-store-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +61 -16
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/yoga-studio-owner/dev/index.ts +280 -37
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +31 -16
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +57 -16
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-module-data.ts +105 -37
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria-history/index.ts +1 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +59 -14
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-home/index.ts +5 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/index.ts +4 -2
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +63 -16
|
@@ -48953,7 +48953,7 @@ const SCREENS = runtimeSetting({
|
|
|
48953
48953
|
}
|
|
48954
48954
|
},
|
|
48955
48955
|
"modifiers": {
|
|
48956
|
-
"hiddenPath": "$service:himiOwnerLiteHome.
|
|
48956
|
+
"hiddenPath": "$service:himiOwnerLiteHome.hideSourceFailures"
|
|
48957
48957
|
}
|
|
48958
48958
|
},
|
|
48959
48959
|
{
|
|
@@ -50969,7 +50969,8 @@ const SCREENS = runtimeSetting({
|
|
|
50969
50969
|
"props": {
|
|
50970
50970
|
"text": "$service:himiOwnerLiteManage.summary",
|
|
50971
50971
|
"style": "caption",
|
|
50972
|
-
"color": "textSecondary"
|
|
50972
|
+
"color": "textSecondary",
|
|
50973
|
+
"collapseWhenEmpty": true
|
|
50973
50974
|
}
|
|
50974
50975
|
}
|
|
50975
50976
|
},
|
|
@@ -51564,6 +51565,9 @@ const SCREENS = runtimeSetting({
|
|
|
51564
51565
|
}
|
|
51565
51566
|
]
|
|
51566
51567
|
}
|
|
51568
|
+
},
|
|
51569
|
+
"modifiers": {
|
|
51570
|
+
"hiddenPath": "$service:himiOwnerLiteManage.noSections"
|
|
51567
51571
|
}
|
|
51568
51572
|
},
|
|
51569
51573
|
{
|
|
@@ -56403,7 +56407,7 @@ const SCREENS = runtimeSetting({
|
|
|
56403
56407
|
"package": "himalaya",
|
|
56404
56408
|
"type": "HStack",
|
|
56405
56409
|
"props": {
|
|
56406
|
-
"spacing":
|
|
56410
|
+
"spacing": 0,
|
|
56407
56411
|
"children": [
|
|
56408
56412
|
{
|
|
56409
56413
|
"id": "",
|
|
@@ -56414,43 +56418,57 @@ const SCREENS = runtimeSetting({
|
|
|
56414
56418
|
}
|
|
56415
56419
|
},
|
|
56416
56420
|
{
|
|
56417
|
-
"id": "
|
|
56418
|
-
"body": {
|
|
56419
|
-
"package": "himalaya",
|
|
56420
|
-
"type": "Text",
|
|
56421
|
-
"props": {
|
|
56422
|
-
"text": "History",
|
|
56423
|
-
"style": "bodyEmphasis",
|
|
56424
|
-
"color": "accentPrimary",
|
|
56425
|
-
"maxLines": 1
|
|
56426
|
-
}
|
|
56427
|
-
},
|
|
56428
|
-
"modifiers": {
|
|
56429
|
-
"onTap": {
|
|
56430
|
-
"actionId": "himi.open",
|
|
56431
|
-
"params": {
|
|
56432
|
-
"screenId": "himi_owner_lite_aria_history"
|
|
56433
|
-
}
|
|
56434
|
-
}
|
|
56435
|
-
}
|
|
56436
|
-
},
|
|
56437
|
-
{
|
|
56438
|
-
"id": "himi_owner_lite_aria.newchat",
|
|
56421
|
+
"id": "",
|
|
56439
56422
|
"body": {
|
|
56440
56423
|
"package": "himalaya",
|
|
56441
|
-
"type": "
|
|
56424
|
+
"type": "HStack",
|
|
56442
56425
|
"props": {
|
|
56443
|
-
"
|
|
56444
|
-
"
|
|
56445
|
-
|
|
56426
|
+
"spacing": 16,
|
|
56427
|
+
"children": [
|
|
56428
|
+
{
|
|
56429
|
+
"id": "himi_owner_lite_aria.history",
|
|
56430
|
+
"body": {
|
|
56431
|
+
"package": "himalaya",
|
|
56432
|
+
"type": "Text",
|
|
56433
|
+
"props": {
|
|
56434
|
+
"text": "History",
|
|
56435
|
+
"style": "bodyEmphasis",
|
|
56436
|
+
"color": "accentPrimary",
|
|
56437
|
+
"maxLines": 1
|
|
56438
|
+
}
|
|
56439
|
+
},
|
|
56440
|
+
"modifiers": {
|
|
56441
|
+
"onTap": {
|
|
56442
|
+
"actionId": "himi.open",
|
|
56443
|
+
"params": {
|
|
56444
|
+
"screenId": "himi_owner_lite_aria_history"
|
|
56445
|
+
}
|
|
56446
|
+
}
|
|
56447
|
+
}
|
|
56448
|
+
},
|
|
56449
|
+
{
|
|
56450
|
+
"id": "himi_owner_lite_aria.newchat",
|
|
56451
|
+
"body": {
|
|
56452
|
+
"package": "himalaya",
|
|
56453
|
+
"type": "Icon",
|
|
56454
|
+
"props": {
|
|
56455
|
+
"name": "edit",
|
|
56456
|
+
"size": 22,
|
|
56457
|
+
"tint": "accentPrimary"
|
|
56458
|
+
}
|
|
56459
|
+
},
|
|
56460
|
+
"modifiers": {
|
|
56461
|
+
"onTap": {
|
|
56462
|
+
"actionId": "tier5.himiOwnerLiteAria.newChat"
|
|
56463
|
+
},
|
|
56464
|
+
"accessibilityLabel": "New chat",
|
|
56465
|
+
"accessibilityRole": "button",
|
|
56466
|
+
"width": 44,
|
|
56467
|
+
"height": 44
|
|
56468
|
+
}
|
|
56469
|
+
}
|
|
56470
|
+
]
|
|
56446
56471
|
}
|
|
56447
|
-
},
|
|
56448
|
-
"modifiers": {
|
|
56449
|
-
"onTap": {
|
|
56450
|
-
"actionId": "tier5.himiOwnerLiteAria.newChat"
|
|
56451
|
-
},
|
|
56452
|
-
"accessibilityLabel": "New chat",
|
|
56453
|
-
"accessibilityRole": "button"
|
|
56454
56472
|
}
|
|
56455
56473
|
}
|
|
56456
56474
|
]
|
|
@@ -56811,6 +56829,9 @@ const SCREENS = runtimeSetting({
|
|
|
56811
56829
|
}
|
|
56812
56830
|
]
|
|
56813
56831
|
}
|
|
56832
|
+
},
|
|
56833
|
+
"modifiers": {
|
|
56834
|
+
"hiddenPath": "$service:himiOwnerLiteAria.messagesHidden"
|
|
56814
56835
|
}
|
|
56815
56836
|
},
|
|
56816
56837
|
{
|
|
@@ -57109,7 +57130,8 @@ const SCREENS = runtimeSetting({
|
|
|
57109
57130
|
"text": "$service:himiOwnerLiteAria.error",
|
|
57110
57131
|
"style": "footnote",
|
|
57111
57132
|
"color": "danger",
|
|
57112
|
-
"maxLines": 3
|
|
57133
|
+
"maxLines": 3,
|
|
57134
|
+
"collapseWhenEmpty": true
|
|
57113
57135
|
}
|
|
57114
57136
|
},
|
|
57115
57137
|
"modifiers": {
|
|
@@ -61346,6 +61368,9 @@ const SCREENS = runtimeSetting({
|
|
|
61346
61368
|
}
|
|
61347
61369
|
]
|
|
61348
61370
|
}
|
|
61371
|
+
},
|
|
61372
|
+
"modifiers": {
|
|
61373
|
+
"hiddenPath": "$service:himiOwnerLiteAriaHistory.itemsHidden"
|
|
61349
61374
|
}
|
|
61350
61375
|
}
|
|
61351
61376
|
]
|
|
@@ -76586,6 +76611,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
76586
76611
|
}
|
|
76587
76612
|
}
|
|
76588
76613
|
},
|
|
76614
|
+
{
|
|
76615
|
+
"id": "product_delete_confirmation",
|
|
76616
|
+
"body": {
|
|
76617
|
+
"package": "himalaya",
|
|
76618
|
+
"type": "VStack",
|
|
76619
|
+
"props": {
|
|
76620
|
+
"spacing": 10,
|
|
76621
|
+
"alignment": "leading",
|
|
76622
|
+
"children": [
|
|
76623
|
+
{
|
|
76624
|
+
"id": "product_delete_confirmation.title",
|
|
76625
|
+
"body": {
|
|
76626
|
+
"package": "himalaya",
|
|
76627
|
+
"type": "Text",
|
|
76628
|
+
"props": {
|
|
76629
|
+
"text": "Delete this kit item?",
|
|
76630
|
+
"style": "bodyEmphasis"
|
|
76631
|
+
}
|
|
76632
|
+
}
|
|
76633
|
+
},
|
|
76634
|
+
{
|
|
76635
|
+
"id": "product_delete_confirmation.record",
|
|
76636
|
+
"body": {
|
|
76637
|
+
"package": "himalaya",
|
|
76638
|
+
"type": "Text",
|
|
76639
|
+
"props": {
|
|
76640
|
+
"text": "$service:himiOwnerLiteProduct.title",
|
|
76641
|
+
"style": "body",
|
|
76642
|
+
"color": "textSecondary",
|
|
76643
|
+
"maxLines": 2
|
|
76644
|
+
}
|
|
76645
|
+
}
|
|
76646
|
+
},
|
|
76647
|
+
{
|
|
76648
|
+
"id": "",
|
|
76649
|
+
"body": {
|
|
76650
|
+
"package": "himalaya",
|
|
76651
|
+
"type": "Text",
|
|
76652
|
+
"props": {
|
|
76653
|
+
"text": "This cannot be undone.",
|
|
76654
|
+
"style": "footnote",
|
|
76655
|
+
"color": "textSecondary"
|
|
76656
|
+
}
|
|
76657
|
+
}
|
|
76658
|
+
},
|
|
76659
|
+
{
|
|
76660
|
+
"id": "",
|
|
76661
|
+
"body": {
|
|
76662
|
+
"package": "himalaya",
|
|
76663
|
+
"type": "HStack",
|
|
76664
|
+
"props": {
|
|
76665
|
+
"spacing": 8,
|
|
76666
|
+
"children": [
|
|
76667
|
+
{
|
|
76668
|
+
"id": "product_delete_cancel",
|
|
76669
|
+
"body": {
|
|
76670
|
+
"package": "himalaya",
|
|
76671
|
+
"type": "Button",
|
|
76672
|
+
"props": {
|
|
76673
|
+
"title": "Cancel",
|
|
76674
|
+
"style": "secondary",
|
|
76675
|
+
"action": {
|
|
76676
|
+
"actionId": "tier5.himiOwnerLiteProduct.cancelDelete"
|
|
76677
|
+
}
|
|
76678
|
+
}
|
|
76679
|
+
}
|
|
76680
|
+
},
|
|
76681
|
+
{
|
|
76682
|
+
"id": "product_delete_confirm",
|
|
76683
|
+
"body": {
|
|
76684
|
+
"package": "himalaya",
|
|
76685
|
+
"type": "Button",
|
|
76686
|
+
"props": {
|
|
76687
|
+
"title": "Delete",
|
|
76688
|
+
"style": "destructive",
|
|
76689
|
+
"action": {
|
|
76690
|
+
"actionId": "tier5.himiOwnerLiteProduct.confirmDelete"
|
|
76691
|
+
}
|
|
76692
|
+
}
|
|
76693
|
+
}
|
|
76694
|
+
}
|
|
76695
|
+
]
|
|
76696
|
+
}
|
|
76697
|
+
}
|
|
76698
|
+
}
|
|
76699
|
+
]
|
|
76700
|
+
}
|
|
76701
|
+
},
|
|
76702
|
+
"modifiers": {
|
|
76703
|
+
"background": {
|
|
76704
|
+
"token": "surfaceElevated"
|
|
76705
|
+
},
|
|
76706
|
+
"border": {
|
|
76707
|
+
"width": 1,
|
|
76708
|
+
"color": {
|
|
76709
|
+
"token": "danger"
|
|
76710
|
+
}
|
|
76711
|
+
},
|
|
76712
|
+
"cornerRadius": 12,
|
|
76713
|
+
"padding": {
|
|
76714
|
+
"leading": 14,
|
|
76715
|
+
"trailing": 14,
|
|
76716
|
+
"top": 14,
|
|
76717
|
+
"bottom": 14
|
|
76718
|
+
},
|
|
76719
|
+
"fillMaxWidth": true,
|
|
76720
|
+
"hiddenPath": "$service:himiOwnerLiteProduct.noDeleteConfirmation"
|
|
76721
|
+
}
|
|
76722
|
+
},
|
|
76589
76723
|
{
|
|
76590
76724
|
"id": "",
|
|
76591
76725
|
"body": {
|
|
@@ -77410,6 +77544,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
77410
77544
|
}
|
|
77411
77545
|
}
|
|
77412
77546
|
},
|
|
77547
|
+
{
|
|
77548
|
+
"id": "event_delete_confirmation",
|
|
77549
|
+
"body": {
|
|
77550
|
+
"package": "himalaya",
|
|
77551
|
+
"type": "VStack",
|
|
77552
|
+
"props": {
|
|
77553
|
+
"spacing": 10,
|
|
77554
|
+
"alignment": "leading",
|
|
77555
|
+
"children": [
|
|
77556
|
+
{
|
|
77557
|
+
"id": "event_delete_confirmation.title",
|
|
77558
|
+
"body": {
|
|
77559
|
+
"package": "himalaya",
|
|
77560
|
+
"type": "Text",
|
|
77561
|
+
"props": {
|
|
77562
|
+
"text": "Delete this club night?",
|
|
77563
|
+
"style": "bodyEmphasis"
|
|
77564
|
+
}
|
|
77565
|
+
}
|
|
77566
|
+
},
|
|
77567
|
+
{
|
|
77568
|
+
"id": "event_delete_confirmation.record",
|
|
77569
|
+
"body": {
|
|
77570
|
+
"package": "himalaya",
|
|
77571
|
+
"type": "Text",
|
|
77572
|
+
"props": {
|
|
77573
|
+
"text": "$service:himiOwnerLiteEvent.title",
|
|
77574
|
+
"style": "body",
|
|
77575
|
+
"color": "textSecondary",
|
|
77576
|
+
"maxLines": 2
|
|
77577
|
+
}
|
|
77578
|
+
}
|
|
77579
|
+
},
|
|
77580
|
+
{
|
|
77581
|
+
"id": "",
|
|
77582
|
+
"body": {
|
|
77583
|
+
"package": "himalaya",
|
|
77584
|
+
"type": "Text",
|
|
77585
|
+
"props": {
|
|
77586
|
+
"text": "This cannot be undone.",
|
|
77587
|
+
"style": "footnote",
|
|
77588
|
+
"color": "textSecondary"
|
|
77589
|
+
}
|
|
77590
|
+
}
|
|
77591
|
+
},
|
|
77592
|
+
{
|
|
77593
|
+
"id": "",
|
|
77594
|
+
"body": {
|
|
77595
|
+
"package": "himalaya",
|
|
77596
|
+
"type": "HStack",
|
|
77597
|
+
"props": {
|
|
77598
|
+
"spacing": 8,
|
|
77599
|
+
"children": [
|
|
77600
|
+
{
|
|
77601
|
+
"id": "event_delete_cancel",
|
|
77602
|
+
"body": {
|
|
77603
|
+
"package": "himalaya",
|
|
77604
|
+
"type": "Button",
|
|
77605
|
+
"props": {
|
|
77606
|
+
"title": "Cancel",
|
|
77607
|
+
"style": "secondary",
|
|
77608
|
+
"action": {
|
|
77609
|
+
"actionId": "tier5.himiOwnerLiteEvent.cancelDelete"
|
|
77610
|
+
}
|
|
77611
|
+
}
|
|
77612
|
+
}
|
|
77613
|
+
},
|
|
77614
|
+
{
|
|
77615
|
+
"id": "event_delete_confirm",
|
|
77616
|
+
"body": {
|
|
77617
|
+
"package": "himalaya",
|
|
77618
|
+
"type": "Button",
|
|
77619
|
+
"props": {
|
|
77620
|
+
"title": "Delete",
|
|
77621
|
+
"style": "destructive",
|
|
77622
|
+
"action": {
|
|
77623
|
+
"actionId": "tier5.himiOwnerLiteEvent.confirmDelete"
|
|
77624
|
+
}
|
|
77625
|
+
}
|
|
77626
|
+
}
|
|
77627
|
+
}
|
|
77628
|
+
]
|
|
77629
|
+
}
|
|
77630
|
+
}
|
|
77631
|
+
}
|
|
77632
|
+
]
|
|
77633
|
+
}
|
|
77634
|
+
},
|
|
77635
|
+
"modifiers": {
|
|
77636
|
+
"background": {
|
|
77637
|
+
"token": "surfaceElevated"
|
|
77638
|
+
},
|
|
77639
|
+
"border": {
|
|
77640
|
+
"width": 1,
|
|
77641
|
+
"color": {
|
|
77642
|
+
"token": "danger"
|
|
77643
|
+
}
|
|
77644
|
+
},
|
|
77645
|
+
"cornerRadius": 12,
|
|
77646
|
+
"padding": {
|
|
77647
|
+
"leading": 14,
|
|
77648
|
+
"trailing": 14,
|
|
77649
|
+
"top": 14,
|
|
77650
|
+
"bottom": 14
|
|
77651
|
+
},
|
|
77652
|
+
"fillMaxWidth": true,
|
|
77653
|
+
"hiddenPath": "$service:himiOwnerLiteEvent.noDeleteConfirmation"
|
|
77654
|
+
}
|
|
77655
|
+
},
|
|
77413
77656
|
{
|
|
77414
77657
|
"id": "",
|
|
77415
77658
|
"body": {
|
|
@@ -78271,6 +78514,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
78271
78514
|
}
|
|
78272
78515
|
}
|
|
78273
78516
|
},
|
|
78517
|
+
{
|
|
78518
|
+
"id": "post_delete_confirmation",
|
|
78519
|
+
"body": {
|
|
78520
|
+
"package": "himalaya",
|
|
78521
|
+
"type": "VStack",
|
|
78522
|
+
"props": {
|
|
78523
|
+
"spacing": 10,
|
|
78524
|
+
"alignment": "leading",
|
|
78525
|
+
"children": [
|
|
78526
|
+
{
|
|
78527
|
+
"id": "post_delete_confirmation.title",
|
|
78528
|
+
"body": {
|
|
78529
|
+
"package": "himalaya",
|
|
78530
|
+
"type": "Text",
|
|
78531
|
+
"props": {
|
|
78532
|
+
"text": "Delete this notice?",
|
|
78533
|
+
"style": "bodyEmphasis"
|
|
78534
|
+
}
|
|
78535
|
+
}
|
|
78536
|
+
},
|
|
78537
|
+
{
|
|
78538
|
+
"id": "post_delete_confirmation.record",
|
|
78539
|
+
"body": {
|
|
78540
|
+
"package": "himalaya",
|
|
78541
|
+
"type": "Text",
|
|
78542
|
+
"props": {
|
|
78543
|
+
"text": "$service:himiOwnerLitePost.title",
|
|
78544
|
+
"style": "body",
|
|
78545
|
+
"color": "textSecondary",
|
|
78546
|
+
"maxLines": 2
|
|
78547
|
+
}
|
|
78548
|
+
}
|
|
78549
|
+
},
|
|
78550
|
+
{
|
|
78551
|
+
"id": "",
|
|
78552
|
+
"body": {
|
|
78553
|
+
"package": "himalaya",
|
|
78554
|
+
"type": "Text",
|
|
78555
|
+
"props": {
|
|
78556
|
+
"text": "This cannot be undone.",
|
|
78557
|
+
"style": "footnote",
|
|
78558
|
+
"color": "textSecondary"
|
|
78559
|
+
}
|
|
78560
|
+
}
|
|
78561
|
+
},
|
|
78562
|
+
{
|
|
78563
|
+
"id": "",
|
|
78564
|
+
"body": {
|
|
78565
|
+
"package": "himalaya",
|
|
78566
|
+
"type": "HStack",
|
|
78567
|
+
"props": {
|
|
78568
|
+
"spacing": 8,
|
|
78569
|
+
"children": [
|
|
78570
|
+
{
|
|
78571
|
+
"id": "post_delete_cancel",
|
|
78572
|
+
"body": {
|
|
78573
|
+
"package": "himalaya",
|
|
78574
|
+
"type": "Button",
|
|
78575
|
+
"props": {
|
|
78576
|
+
"title": "Cancel",
|
|
78577
|
+
"style": "secondary",
|
|
78578
|
+
"action": {
|
|
78579
|
+
"actionId": "tier5.himiOwnerLitePost.cancelDelete"
|
|
78580
|
+
}
|
|
78581
|
+
}
|
|
78582
|
+
}
|
|
78583
|
+
},
|
|
78584
|
+
{
|
|
78585
|
+
"id": "post_delete_confirm",
|
|
78586
|
+
"body": {
|
|
78587
|
+
"package": "himalaya",
|
|
78588
|
+
"type": "Button",
|
|
78589
|
+
"props": {
|
|
78590
|
+
"title": "Delete",
|
|
78591
|
+
"style": "destructive",
|
|
78592
|
+
"action": {
|
|
78593
|
+
"actionId": "tier5.himiOwnerLitePost.confirmDelete"
|
|
78594
|
+
}
|
|
78595
|
+
}
|
|
78596
|
+
}
|
|
78597
|
+
}
|
|
78598
|
+
]
|
|
78599
|
+
}
|
|
78600
|
+
}
|
|
78601
|
+
}
|
|
78602
|
+
]
|
|
78603
|
+
}
|
|
78604
|
+
},
|
|
78605
|
+
"modifiers": {
|
|
78606
|
+
"background": {
|
|
78607
|
+
"token": "surfaceElevated"
|
|
78608
|
+
},
|
|
78609
|
+
"border": {
|
|
78610
|
+
"width": 1,
|
|
78611
|
+
"color": {
|
|
78612
|
+
"token": "danger"
|
|
78613
|
+
}
|
|
78614
|
+
},
|
|
78615
|
+
"cornerRadius": 12,
|
|
78616
|
+
"padding": {
|
|
78617
|
+
"leading": 14,
|
|
78618
|
+
"trailing": 14,
|
|
78619
|
+
"top": 14,
|
|
78620
|
+
"bottom": 14
|
|
78621
|
+
},
|
|
78622
|
+
"fillMaxWidth": true,
|
|
78623
|
+
"hiddenPath": "$service:himiOwnerLitePost.noDeleteConfirmation"
|
|
78624
|
+
}
|
|
78625
|
+
},
|
|
78274
78626
|
{
|
|
78275
78627
|
"id": "",
|
|
78276
78628
|
"body": {
|
|
@@ -79,6 +79,7 @@ import { MENTION_PAGE_SIZE, allowlisted, emptyMentionModel, mentionView,
|
|
|
79
79
|
type MentionItemRow, type MentionLabels, type MentionModel, type MentionProvider, type MentionView } from "./aria-mentions.js";
|
|
80
80
|
import { isTransportFailure, ownerTransportFailureText } from "./owner-load-error.js";
|
|
81
81
|
import { LOCAL_ID_PREFIX, createRowMemo, mintLocalId, transcriptKeys, type RowMemo } from "./aria-hot-path.js";
|
|
82
|
+
import { calendarDay, formatClock, formatDateMedium, formatMonthDay } from "./engine-intl.js";
|
|
82
83
|
|
|
83
84
|
// ---------------------------------------------------------------------------
|
|
84
85
|
// Shapes
|
|
@@ -166,6 +167,9 @@ export interface AriaChatState {
|
|
|
166
167
|
* is computed once in `gated` rather than maintained by every reducer. */
|
|
167
168
|
replyActionsHidden: boolean;
|
|
168
169
|
messages: AriaBubble[];
|
|
170
|
+
/** Collapses the transcript list while it is empty — an empty list still costs
|
|
171
|
+
* its parent stack a gap. Derived in `gated`, like `stopHidden`. */
|
|
172
|
+
messagesHidden: boolean;
|
|
169
173
|
/** Non-empty ONLY on the greeting-only empty state. */
|
|
170
174
|
prompts: AriaPromptChip[];
|
|
171
175
|
_convId: string;
|
|
@@ -1499,7 +1503,7 @@ export function createAriaChat(o: AriaChatOptions): AriaChatCore {
|
|
|
1499
1503
|
|
|
1500
1504
|
const initialState: AriaChatState = {
|
|
1501
1505
|
status: "loading", statusText: "", error: "", input: "", copyNote: "", replyActionsHidden: true,
|
|
1502
|
-
messages: [], prompts: [], _convId: "", _siteId: "", _pending: "", _pendingRefs: "", _pendingAttach: [],
|
|
1506
|
+
messages: [], messagesHidden: true, prompts: [], _convId: "", _siteId: "", _pending: "", _pendingRefs: "", _pendingAttach: [],
|
|
1503
1507
|
_pendingAfter: 0, _pendingId: "", _replyAfter: 0, _srvUsers: 0, _srvAssistants: 0,
|
|
1504
1508
|
_abortId: "", _turnId: "", stopHidden: true, ok: false,
|
|
1505
1509
|
listening: false, micHidden: !o.dictation, listeningHidden: true,
|
|
@@ -2460,10 +2464,12 @@ export function createAriaChat(o: AriaChatOptions): AriaChatCore {
|
|
|
2460
2464
|
const listening = s.listening === true;
|
|
2461
2465
|
const micHidden = !o.dictation || dictationAvailable === false || listening;
|
|
2462
2466
|
const listeningHidden = !listening;
|
|
2467
|
+
// And the transcript list: hidden while empty, so it costs its stack no gap.
|
|
2468
|
+
const messagesHidden = s.messages.length === 0;
|
|
2463
2469
|
const actioned = s.stopHidden === hidden && s.replyActionsHidden === replyActionsHidden
|
|
2464
|
-
&& s.micHidden === micHidden && s.listeningHidden === listeningHidden
|
|
2470
|
+
&& s.micHidden === micHidden && s.listeningHidden === listeningHidden && s.messagesHidden === messagesHidden
|
|
2465
2471
|
? s
|
|
2466
|
-
: { ...s, stopHidden: hidden, replyActionsHidden, micHidden, listeningHidden };
|
|
2472
|
+
: { ...s, stopHidden: hidden, replyActionsHidden, micHidden, listeningHidden, messagesHidden };
|
|
2467
2473
|
// The attachment projection rides the same exit, for the same reason: one
|
|
2468
2474
|
// place that every action's result passes through, so no reducer can hand
|
|
2469
2475
|
// back a stale copy of the chips. Seeded first, so the very first action of
|
|
@@ -3493,6 +3499,9 @@ export interface AriaHistoryState {
|
|
|
3493
3499
|
items: AriaHistoryRow[];
|
|
3494
3500
|
/** Non-empty ONLY when the list is empty (collapses otherwise). */
|
|
3495
3501
|
emptyText: string;
|
|
3502
|
+
/** Collapses the (empty) row list, which would otherwise still cost its parent
|
|
3503
|
+
* stack a gap. True until a load lands rows. */
|
|
3504
|
+
itemsHidden: boolean;
|
|
3496
3505
|
/** The business the rows in `items` belong to. A kept list is only safe to
|
|
3497
3506
|
* keep while this still matches, so it is state rather than a closure — the
|
|
3498
3507
|
* chat service tracks its own `_siteId` for the same reason. */
|
|
@@ -3512,6 +3521,8 @@ export interface AriaHistoryLabels {
|
|
|
3512
3521
|
last7?: Resolvable<string>;
|
|
3513
3522
|
last30?: Resolvable<string>;
|
|
3514
3523
|
older?: Resolvable<string>;
|
|
3524
|
+
/** Prefix for a conversation from today: "Today · 9:12 AM". */
|
|
3525
|
+
today?: Resolvable<string>;
|
|
3515
3526
|
}
|
|
3516
3527
|
|
|
3517
3528
|
export interface AriaHistoryOptions {
|
|
@@ -3525,8 +3536,8 @@ export interface AriaHistoryOptions {
|
|
|
3525
3536
|
localHistory?: boolean;
|
|
3526
3537
|
}
|
|
3527
3538
|
|
|
3528
|
-
interface BucketLabels { last7: string; last30: string; older: string; }
|
|
3529
|
-
const STOCK_BUCKETS: BucketLabels = { last7: "Last 7 days", last30: "Last 30 days", older: "Older" };
|
|
3539
|
+
interface BucketLabels { last7: string; last30: string; older: string; today: string; }
|
|
3540
|
+
const STOCK_BUCKETS: BucketLabels = { last7: "Last 7 days", last30: "Last 30 days", older: "Older", today: "Today" };
|
|
3530
3541
|
|
|
3531
3542
|
/** Parse an ISO-8601 string (serialized Timestamp) or epoch-ms into ms. 0 when
|
|
3532
3543
|
* absent or unparseable. */
|
|
@@ -3539,15 +3550,17 @@ export function toMs(v: unknown): number {
|
|
|
3539
3550
|
return 0;
|
|
3540
3551
|
}
|
|
3541
3552
|
|
|
3542
|
-
|
|
3553
|
+
/** A history card's date, through the shared engine-intl shapes: "Today · 9:12 AM" for today,
|
|
3554
|
+
* "Sep 21" earlier this year, "Sep 21, 2025" before that. It was `toLocaleString()` —
|
|
3555
|
+
* "9/24/2026, 9:12:00 AM", seconds and all. These are the owner's own
|
|
3556
|
+
* conversations, so the device's calendar is the right one. */
|
|
3557
|
+
function formatTs(ms: number, now: number, today: string): string {
|
|
3543
3558
|
if (!ms) return "";
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
return "";
|
|
3550
|
-
}
|
|
3559
|
+
const d = new Date(ms);
|
|
3560
|
+
if (isNaN(d.getTime())) return "";
|
|
3561
|
+
const day = calendarDay(d), current = calendarDay(new Date(now));
|
|
3562
|
+
if (day === current) return `${today} · ${formatClock(d)}`;
|
|
3563
|
+
return day.slice(0, 4) === current.slice(0, 4) ? formatMonthDay(d) : formatDateMedium(d);
|
|
3551
3564
|
}
|
|
3552
3565
|
|
|
3553
3566
|
const DAY = 24 * 60 * 60 * 1000;
|
|
@@ -3568,7 +3581,7 @@ export function bucketRows(entries: Array<{ id: string; title: string; ms: numbe
|
|
|
3568
3581
|
const b = bucketOf(e.ms, now, labels);
|
|
3569
3582
|
const section = b === lastBucket ? "" : b;
|
|
3570
3583
|
lastBucket = b;
|
|
3571
|
-
return { id: e.id, title: e.title, subtitle: formatTs(e.ms), section };
|
|
3584
|
+
return { id: e.id, title: e.title, subtitle: formatTs(e.ms, now, labels.today), section };
|
|
3572
3585
|
});
|
|
3573
3586
|
}
|
|
3574
3587
|
|
|
@@ -3601,9 +3614,10 @@ export function createAriaHistory(o: AriaHistoryOptions) {
|
|
|
3601
3614
|
last7: res(o.labels?.last7 ?? STOCK_BUCKETS.last7),
|
|
3602
3615
|
last30: res(o.labels?.last30 ?? STOCK_BUCKETS.last30),
|
|
3603
3616
|
older: res(o.labels?.older ?? STOCK_BUCKETS.older),
|
|
3617
|
+
today: res(o.labels?.today ?? STOCK_BUCKETS.today),
|
|
3604
3618
|
});
|
|
3605
3619
|
const initialState: AriaHistoryState = {
|
|
3606
|
-
status: "loading", items: [], emptyText: "", _siteId: "", failed: false,
|
|
3620
|
+
status: "loading", items: [], itemsHidden: true, emptyText: "", _siteId: "", failed: false,
|
|
3607
3621
|
};
|
|
3608
3622
|
return {
|
|
3609
3623
|
initialState,
|
|
@@ -3631,7 +3645,7 @@ export function createAriaHistory(o: AriaHistoryOptions) {
|
|
|
3631
3645
|
// owner the previous business's conversation titles, which is precisely
|
|
3632
3646
|
// the leak `localHistory: false` is set to avoid.
|
|
3633
3647
|
if (fetched === null && s.items.length && s._siteId === site) {
|
|
3634
|
-
return { ...s, status: "ready", failed: true };
|
|
3648
|
+
return { ...s, status: "ready", itemsHidden: false, failed: true };
|
|
3635
3649
|
}
|
|
3636
3650
|
|
|
3637
3651
|
// A SUCCESSFUL empty answer is authoritative and DOES clear. The tempting
|
|
@@ -3651,6 +3665,7 @@ export function createAriaHistory(o: AriaHistoryOptions) {
|
|
|
3651
3665
|
...s,
|
|
3652
3666
|
status: "ready",
|
|
3653
3667
|
items,
|
|
3668
|
+
itemsHidden: items.length === 0,
|
|
3654
3669
|
emptyText: items.length ? "" : emptyText(),
|
|
3655
3670
|
_siteId: site,
|
|
3656
3671
|
failed: fetched === null,
|