@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
|
@@ -48,6 +48,36 @@ const MONTHS_LONG = [
|
|
|
48
48
|
"July", "August", "September", "October", "November", "December",
|
|
49
49
|
] as const;
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* A DateTimeFormat for `timeZone` when one is given and this engine knows it. An unknown or
|
|
53
|
+
* malformed IANA id is a RangeError in ECMA-402; these helpers never throw, so it degrades to
|
|
54
|
+
* the device zone rather than killing the screen. Without Intl there is no zone database at all,
|
|
55
|
+
* and the fallbacks below render in the device zone for the same reason.
|
|
56
|
+
*
|
|
57
|
+
* Formatters are memoised per (locale, zone, options): a management page formats several dates
|
|
58
|
+
* per row, and building a DateTimeFormat (or throwing on a bad zone) each time is not free on
|
|
59
|
+
* JSC or QuickJS. Only call it where `hasIntl()` holds — every caller does.
|
|
60
|
+
*/
|
|
61
|
+
const FORMATTERS = new Map<string, Intl.DateTimeFormat>();
|
|
62
|
+
function dateFormat(locale: string, options: Intl.DateTimeFormatOptions, timeZone?: string): Intl.DateTimeFormat {
|
|
63
|
+
const key = `${locale}|${timeZone ?? ""}|${JSON.stringify(options)}`;
|
|
64
|
+
let formatter = FORMATTERS.get(key);
|
|
65
|
+
if (!formatter) {
|
|
66
|
+
if (hasIntl()) {
|
|
67
|
+
if (timeZone) {
|
|
68
|
+
try {
|
|
69
|
+
formatter = new Intl.DateTimeFormat(locale, { ...options, timeZone });
|
|
70
|
+
} catch {
|
|
71
|
+
/* unknown zone: device zone below, remembered under this key */
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
formatter ??= new Intl.DateTimeFormat(locale, options);
|
|
75
|
+
FORMATTERS.set(key, formatter);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return formatter as Intl.DateTimeFormat;
|
|
79
|
+
}
|
|
80
|
+
|
|
51
81
|
// The four shapes below are not invented — they are the option bags this corpus actually uses,
|
|
52
82
|
// counted across every bundle: "Jan 5, 2026" (33 sites), "Jan 5" (11), "Mon, Jan 5, 3:07 PM" (8)
|
|
53
83
|
// and "Jan 5, 3:07 PM" (4). Naming them means a conversion is a one-line swap rather than a
|
|
@@ -55,46 +85,46 @@ const MONTHS_LONG = [
|
|
|
55
85
|
// ECMA-402 in engine-intl-fallback.test.ts.
|
|
56
86
|
|
|
57
87
|
/** `{ month: "short", day: "numeric", year: "numeric" }` — "Jan 5, 2026". */
|
|
58
|
-
export function formatDateMedium(date: Date, locale = "en-US"): string {
|
|
88
|
+
export function formatDateMedium(date: Date, locale = "en-US", timeZone?: string): string {
|
|
59
89
|
if (hasIntl()) {
|
|
60
|
-
return
|
|
90
|
+
return dateFormat(locale, { month: "short", day: "numeric", year: "numeric" }, timeZone).format(date);
|
|
61
91
|
}
|
|
62
92
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${date.getFullYear()}`;
|
|
63
93
|
}
|
|
64
94
|
|
|
65
95
|
/** `{ month: "short", day: "numeric" }` — "Jan 5". */
|
|
66
|
-
export function formatMonthDay(date: Date, locale = "en-US"): string {
|
|
96
|
+
export function formatMonthDay(date: Date, locale = "en-US", timeZone?: string): string {
|
|
67
97
|
if (hasIntl()) {
|
|
68
|
-
return
|
|
98
|
+
return dateFormat(locale, { month: "short", day: "numeric" }, timeZone).format(date);
|
|
69
99
|
}
|
|
70
100
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}`;
|
|
71
101
|
}
|
|
72
102
|
|
|
73
103
|
/** `{ month: "long", day: "numeric" }` — "January 5". */
|
|
74
|
-
export function formatMonthDayLong(date: Date, locale = "en-US"): string {
|
|
104
|
+
export function formatMonthDayLong(date: Date, locale = "en-US", timeZone?: string): string {
|
|
75
105
|
if (hasIntl()) {
|
|
76
|
-
return
|
|
106
|
+
return dateFormat(locale, { month: "long", day: "numeric" }, timeZone).format(date);
|
|
77
107
|
}
|
|
78
108
|
return `${MONTHS_LONG[date.getMonth()]} ${date.getDate()}`;
|
|
79
109
|
}
|
|
80
110
|
|
|
81
111
|
/** `{ weekday: "short", month: "short", day: "numeric", hour: "numeric", minute: "2-digit" }`
|
|
82
112
|
* — "Mon, Jan 5, 3:07 PM". */
|
|
83
|
-
export function formatWeekdayDateTime(date: Date, locale = "en-US"): string {
|
|
113
|
+
export function formatWeekdayDateTime(date: Date, locale = "en-US", timeZone?: string): string {
|
|
84
114
|
if (hasIntl()) {
|
|
85
|
-
return
|
|
115
|
+
return dateFormat(locale, {
|
|
86
116
|
weekday: "short", month: "short", day: "numeric", hour: "numeric", minute: "2-digit",
|
|
87
|
-
}).format(date);
|
|
117
|
+
}, timeZone).format(date);
|
|
88
118
|
}
|
|
89
119
|
return `${WEEKDAYS_SHORT[date.getDay()]}, ${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${clock12(date)}`;
|
|
90
120
|
}
|
|
91
121
|
|
|
92
122
|
/** `{ month: "short", day: "numeric", hour: "numeric", minute: "2-digit" }` — "Jan 5, 3:07 PM". */
|
|
93
|
-
export function formatMonthDayTime(date: Date, locale = "en-US"): string {
|
|
123
|
+
export function formatMonthDayTime(date: Date, locale = "en-US", timeZone?: string): string {
|
|
94
124
|
if (hasIntl()) {
|
|
95
|
-
return
|
|
125
|
+
return dateFormat(locale, {
|
|
96
126
|
month: "short", day: "numeric", hour: "numeric", minute: "2-digit",
|
|
97
|
-
}).format(date);
|
|
127
|
+
}, timeZone).format(date);
|
|
98
128
|
}
|
|
99
129
|
return `${MONTHS_SHORT[date.getMonth()]} ${date.getDate()}, ${clock12(date)}`;
|
|
100
130
|
}
|
|
@@ -380,9 +410,9 @@ export function normalizeFormattedPrice(formatted: string): string {
|
|
|
380
410
|
return `${m[1]}${m[3]}${m[2]}`;
|
|
381
411
|
}
|
|
382
412
|
|
|
383
|
-
function clockParts(d: Date, locale: string): { time: string; meridiem: string } {
|
|
413
|
+
function clockParts(d: Date, locale: string, timeZone?: string): { time: string; meridiem: string } {
|
|
384
414
|
const full = hasIntl()
|
|
385
|
-
?
|
|
415
|
+
? dateFormat(locale, { hour: "numeric", minute: "2-digit", hour12: true }, timeZone).format(d)
|
|
386
416
|
: clock12(d);
|
|
387
417
|
// ICU puts a narrow no-break space before the meridiem; normalize so callers can split on it.
|
|
388
418
|
const clean = full.replace(/[ ]/g, " ");
|
|
@@ -391,8 +421,8 @@ function clockParts(d: Date, locale: string): { time: string; meridiem: string }
|
|
|
391
421
|
}
|
|
392
422
|
|
|
393
423
|
/** "8:00 PM" — the one clock every customer screen uses (12-hour, en-US shape). */
|
|
394
|
-
export function formatClock(date: Date, locale = "en-US"): string {
|
|
395
|
-
const { time, meridiem } = clockParts(date, locale);
|
|
424
|
+
export function formatClock(date: Date, locale = "en-US", timeZone?: string): string {
|
|
425
|
+
const { time, meridiem } = clockParts(date, locale, timeZone);
|
|
396
426
|
return meridiem ? `${time} ${meridiem}` : time;
|
|
397
427
|
}
|
|
398
428
|
|
|
@@ -403,3 +433,14 @@ export function isPastDate(iso: string | undefined | null, now: number = Date.no
|
|
|
403
433
|
const t = Date.parse(iso);
|
|
404
434
|
return !Number.isNaN(t) && t < now;
|
|
405
435
|
}
|
|
436
|
+
|
|
437
|
+
/** The calendar day `date` falls on in `timeZone` (device zone when absent, unknown, or when
|
|
438
|
+
* the engine has no Intl), as `YYYY-MM-DD`. For "is this today / this year" comparisons. */
|
|
439
|
+
export function calendarDay(date: Date, timeZone?: string): string {
|
|
440
|
+
if (hasIntl()) {
|
|
441
|
+
const parts = dateFormat("en-CA", { year: "numeric", month: "2-digit", day: "2-digit" }, timeZone).formatToParts(date);
|
|
442
|
+
const get = (type: string) => parts.find((p) => p.type === type)?.value ?? "";
|
|
443
|
+
return `${get("year")}-${get("month")}-${get("day")}`;
|
|
444
|
+
}
|
|
445
|
+
return `${date.getFullYear()}-${pad2(date.getMonth() + 1)}-${pad2(date.getDate())}`;
|
|
446
|
+
}
|
|
@@ -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
|
{
|
|
@@ -51040,7 +51040,8 @@ const SCREENS = runtimeSetting({
|
|
|
51040
51040
|
"props": {
|
|
51041
51041
|
"text": "$service:himiOwnerLiteManage.summary",
|
|
51042
51042
|
"style": "caption",
|
|
51043
|
-
"color": "textSecondary"
|
|
51043
|
+
"color": "textSecondary",
|
|
51044
|
+
"collapseWhenEmpty": true
|
|
51044
51045
|
}
|
|
51045
51046
|
}
|
|
51046
51047
|
},
|
|
@@ -51635,6 +51636,9 @@ const SCREENS = runtimeSetting({
|
|
|
51635
51636
|
}
|
|
51636
51637
|
]
|
|
51637
51638
|
}
|
|
51639
|
+
},
|
|
51640
|
+
"modifiers": {
|
|
51641
|
+
"hiddenPath": "$service:himiOwnerLiteManage.noSections"
|
|
51638
51642
|
}
|
|
51639
51643
|
},
|
|
51640
51644
|
{
|
|
@@ -56474,7 +56478,7 @@ const SCREENS = runtimeSetting({
|
|
|
56474
56478
|
"package": "himalaya",
|
|
56475
56479
|
"type": "HStack",
|
|
56476
56480
|
"props": {
|
|
56477
|
-
"spacing":
|
|
56481
|
+
"spacing": 0,
|
|
56478
56482
|
"children": [
|
|
56479
56483
|
{
|
|
56480
56484
|
"id": "",
|
|
@@ -56485,43 +56489,57 @@ const SCREENS = runtimeSetting({
|
|
|
56485
56489
|
}
|
|
56486
56490
|
},
|
|
56487
56491
|
{
|
|
56488
|
-
"id": "
|
|
56489
|
-
"body": {
|
|
56490
|
-
"package": "himalaya",
|
|
56491
|
-
"type": "Text",
|
|
56492
|
-
"props": {
|
|
56493
|
-
"text": "History",
|
|
56494
|
-
"style": "bodyEmphasis",
|
|
56495
|
-
"color": "accentPrimary",
|
|
56496
|
-
"maxLines": 1
|
|
56497
|
-
}
|
|
56498
|
-
},
|
|
56499
|
-
"modifiers": {
|
|
56500
|
-
"onTap": {
|
|
56501
|
-
"actionId": "himi.open",
|
|
56502
|
-
"params": {
|
|
56503
|
-
"screenId": "himi_owner_lite_aria_history"
|
|
56504
|
-
}
|
|
56505
|
-
}
|
|
56506
|
-
}
|
|
56507
|
-
},
|
|
56508
|
-
{
|
|
56509
|
-
"id": "himi_owner_lite_aria.newchat",
|
|
56492
|
+
"id": "",
|
|
56510
56493
|
"body": {
|
|
56511
56494
|
"package": "himalaya",
|
|
56512
|
-
"type": "
|
|
56495
|
+
"type": "HStack",
|
|
56513
56496
|
"props": {
|
|
56514
|
-
"
|
|
56515
|
-
"
|
|
56516
|
-
|
|
56497
|
+
"spacing": 16,
|
|
56498
|
+
"children": [
|
|
56499
|
+
{
|
|
56500
|
+
"id": "himi_owner_lite_aria.history",
|
|
56501
|
+
"body": {
|
|
56502
|
+
"package": "himalaya",
|
|
56503
|
+
"type": "Text",
|
|
56504
|
+
"props": {
|
|
56505
|
+
"text": "History",
|
|
56506
|
+
"style": "bodyEmphasis",
|
|
56507
|
+
"color": "accentPrimary",
|
|
56508
|
+
"maxLines": 1
|
|
56509
|
+
}
|
|
56510
|
+
},
|
|
56511
|
+
"modifiers": {
|
|
56512
|
+
"onTap": {
|
|
56513
|
+
"actionId": "himi.open",
|
|
56514
|
+
"params": {
|
|
56515
|
+
"screenId": "himi_owner_lite_aria_history"
|
|
56516
|
+
}
|
|
56517
|
+
}
|
|
56518
|
+
}
|
|
56519
|
+
},
|
|
56520
|
+
{
|
|
56521
|
+
"id": "himi_owner_lite_aria.newchat",
|
|
56522
|
+
"body": {
|
|
56523
|
+
"package": "himalaya",
|
|
56524
|
+
"type": "Icon",
|
|
56525
|
+
"props": {
|
|
56526
|
+
"name": "edit",
|
|
56527
|
+
"size": 22,
|
|
56528
|
+
"tint": "accentPrimary"
|
|
56529
|
+
}
|
|
56530
|
+
},
|
|
56531
|
+
"modifiers": {
|
|
56532
|
+
"onTap": {
|
|
56533
|
+
"actionId": "tier5.himiOwnerLiteAria.newChat"
|
|
56534
|
+
},
|
|
56535
|
+
"accessibilityLabel": "New chat",
|
|
56536
|
+
"accessibilityRole": "button",
|
|
56537
|
+
"width": 44,
|
|
56538
|
+
"height": 44
|
|
56539
|
+
}
|
|
56540
|
+
}
|
|
56541
|
+
]
|
|
56517
56542
|
}
|
|
56518
|
-
},
|
|
56519
|
-
"modifiers": {
|
|
56520
|
-
"onTap": {
|
|
56521
|
-
"actionId": "tier5.himiOwnerLiteAria.newChat"
|
|
56522
|
-
},
|
|
56523
|
-
"accessibilityLabel": "New chat",
|
|
56524
|
-
"accessibilityRole": "button"
|
|
56525
56543
|
}
|
|
56526
56544
|
}
|
|
56527
56545
|
]
|
|
@@ -56882,6 +56900,9 @@ const SCREENS = runtimeSetting({
|
|
|
56882
56900
|
}
|
|
56883
56901
|
]
|
|
56884
56902
|
}
|
|
56903
|
+
},
|
|
56904
|
+
"modifiers": {
|
|
56905
|
+
"hiddenPath": "$service:himiOwnerLiteAria.messagesHidden"
|
|
56885
56906
|
}
|
|
56886
56907
|
},
|
|
56887
56908
|
{
|
|
@@ -57180,7 +57201,8 @@ const SCREENS = runtimeSetting({
|
|
|
57180
57201
|
"text": "$service:himiOwnerLiteAria.error",
|
|
57181
57202
|
"style": "footnote",
|
|
57182
57203
|
"color": "danger",
|
|
57183
|
-
"maxLines": 3
|
|
57204
|
+
"maxLines": 3,
|
|
57205
|
+
"collapseWhenEmpty": true
|
|
57184
57206
|
}
|
|
57185
57207
|
},
|
|
57186
57208
|
"modifiers": {
|
|
@@ -61417,6 +61439,9 @@ const SCREENS = runtimeSetting({
|
|
|
61417
61439
|
}
|
|
61418
61440
|
]
|
|
61419
61441
|
}
|
|
61442
|
+
},
|
|
61443
|
+
"modifiers": {
|
|
61444
|
+
"hiddenPath": "$service:himiOwnerLiteAriaHistory.itemsHidden"
|
|
61420
61445
|
}
|
|
61421
61446
|
}
|
|
61422
61447
|
]
|
|
@@ -80420,6 +80445,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
80420
80445
|
}
|
|
80421
80446
|
}
|
|
80422
80447
|
},
|
|
80448
|
+
{
|
|
80449
|
+
"id": "product_delete_confirmation",
|
|
80450
|
+
"body": {
|
|
80451
|
+
"package": "himalaya",
|
|
80452
|
+
"type": "VStack",
|
|
80453
|
+
"props": {
|
|
80454
|
+
"spacing": 10,
|
|
80455
|
+
"alignment": "leading",
|
|
80456
|
+
"children": [
|
|
80457
|
+
{
|
|
80458
|
+
"id": "product_delete_confirmation.title",
|
|
80459
|
+
"body": {
|
|
80460
|
+
"package": "himalaya",
|
|
80461
|
+
"type": "Text",
|
|
80462
|
+
"props": {
|
|
80463
|
+
"text": "Delete this dish?",
|
|
80464
|
+
"style": "bodyEmphasis"
|
|
80465
|
+
}
|
|
80466
|
+
}
|
|
80467
|
+
},
|
|
80468
|
+
{
|
|
80469
|
+
"id": "product_delete_confirmation.record",
|
|
80470
|
+
"body": {
|
|
80471
|
+
"package": "himalaya",
|
|
80472
|
+
"type": "Text",
|
|
80473
|
+
"props": {
|
|
80474
|
+
"text": "$service:himiOwnerLiteProduct.title",
|
|
80475
|
+
"style": "body",
|
|
80476
|
+
"color": "textSecondary",
|
|
80477
|
+
"maxLines": 2
|
|
80478
|
+
}
|
|
80479
|
+
}
|
|
80480
|
+
},
|
|
80481
|
+
{
|
|
80482
|
+
"id": "",
|
|
80483
|
+
"body": {
|
|
80484
|
+
"package": "himalaya",
|
|
80485
|
+
"type": "Text",
|
|
80486
|
+
"props": {
|
|
80487
|
+
"text": "This cannot be undone.",
|
|
80488
|
+
"style": "footnote",
|
|
80489
|
+
"color": "textSecondary"
|
|
80490
|
+
}
|
|
80491
|
+
}
|
|
80492
|
+
},
|
|
80493
|
+
{
|
|
80494
|
+
"id": "",
|
|
80495
|
+
"body": {
|
|
80496
|
+
"package": "himalaya",
|
|
80497
|
+
"type": "HStack",
|
|
80498
|
+
"props": {
|
|
80499
|
+
"spacing": 8,
|
|
80500
|
+
"children": [
|
|
80501
|
+
{
|
|
80502
|
+
"id": "product_delete_cancel",
|
|
80503
|
+
"body": {
|
|
80504
|
+
"package": "himalaya",
|
|
80505
|
+
"type": "Button",
|
|
80506
|
+
"props": {
|
|
80507
|
+
"title": "Cancel",
|
|
80508
|
+
"style": "secondary",
|
|
80509
|
+
"action": {
|
|
80510
|
+
"actionId": "tier5.himiOwnerLiteProduct.cancelDelete"
|
|
80511
|
+
}
|
|
80512
|
+
}
|
|
80513
|
+
}
|
|
80514
|
+
},
|
|
80515
|
+
{
|
|
80516
|
+
"id": "product_delete_confirm",
|
|
80517
|
+
"body": {
|
|
80518
|
+
"package": "himalaya",
|
|
80519
|
+
"type": "Button",
|
|
80520
|
+
"props": {
|
|
80521
|
+
"title": "Delete",
|
|
80522
|
+
"style": "destructive",
|
|
80523
|
+
"action": {
|
|
80524
|
+
"actionId": "tier5.himiOwnerLiteProduct.confirmDelete"
|
|
80525
|
+
}
|
|
80526
|
+
}
|
|
80527
|
+
}
|
|
80528
|
+
}
|
|
80529
|
+
]
|
|
80530
|
+
}
|
|
80531
|
+
}
|
|
80532
|
+
}
|
|
80533
|
+
]
|
|
80534
|
+
}
|
|
80535
|
+
},
|
|
80536
|
+
"modifiers": {
|
|
80537
|
+
"background": {
|
|
80538
|
+
"token": "surfaceElevated"
|
|
80539
|
+
},
|
|
80540
|
+
"border": {
|
|
80541
|
+
"width": 1,
|
|
80542
|
+
"color": {
|
|
80543
|
+
"token": "danger"
|
|
80544
|
+
}
|
|
80545
|
+
},
|
|
80546
|
+
"cornerRadius": 12,
|
|
80547
|
+
"padding": {
|
|
80548
|
+
"leading": 14,
|
|
80549
|
+
"trailing": 14,
|
|
80550
|
+
"top": 14,
|
|
80551
|
+
"bottom": 14
|
|
80552
|
+
},
|
|
80553
|
+
"fillMaxWidth": true,
|
|
80554
|
+
"hiddenPath": "$service:himiOwnerLiteProduct.noDeleteConfirmation"
|
|
80555
|
+
}
|
|
80556
|
+
},
|
|
80423
80557
|
{
|
|
80424
80558
|
"id": "",
|
|
80425
80559
|
"body": {
|
|
@@ -82011,6 +82145,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
82011
82145
|
}
|
|
82012
82146
|
}
|
|
82013
82147
|
},
|
|
82148
|
+
{
|
|
82149
|
+
"id": "event_delete_confirmation",
|
|
82150
|
+
"body": {
|
|
82151
|
+
"package": "himalaya",
|
|
82152
|
+
"type": "VStack",
|
|
82153
|
+
"props": {
|
|
82154
|
+
"spacing": 10,
|
|
82155
|
+
"alignment": "leading",
|
|
82156
|
+
"children": [
|
|
82157
|
+
{
|
|
82158
|
+
"id": "event_delete_confirmation.title",
|
|
82159
|
+
"body": {
|
|
82160
|
+
"package": "himalaya",
|
|
82161
|
+
"type": "Text",
|
|
82162
|
+
"props": {
|
|
82163
|
+
"text": "Delete this wine night?",
|
|
82164
|
+
"style": "bodyEmphasis"
|
|
82165
|
+
}
|
|
82166
|
+
}
|
|
82167
|
+
},
|
|
82168
|
+
{
|
|
82169
|
+
"id": "event_delete_confirmation.record",
|
|
82170
|
+
"body": {
|
|
82171
|
+
"package": "himalaya",
|
|
82172
|
+
"type": "Text",
|
|
82173
|
+
"props": {
|
|
82174
|
+
"text": "$service:himiOwnerLiteEvent.title",
|
|
82175
|
+
"style": "body",
|
|
82176
|
+
"color": "textSecondary",
|
|
82177
|
+
"maxLines": 2
|
|
82178
|
+
}
|
|
82179
|
+
}
|
|
82180
|
+
},
|
|
82181
|
+
{
|
|
82182
|
+
"id": "",
|
|
82183
|
+
"body": {
|
|
82184
|
+
"package": "himalaya",
|
|
82185
|
+
"type": "Text",
|
|
82186
|
+
"props": {
|
|
82187
|
+
"text": "This cannot be undone.",
|
|
82188
|
+
"style": "footnote",
|
|
82189
|
+
"color": "textSecondary"
|
|
82190
|
+
}
|
|
82191
|
+
}
|
|
82192
|
+
},
|
|
82193
|
+
{
|
|
82194
|
+
"id": "",
|
|
82195
|
+
"body": {
|
|
82196
|
+
"package": "himalaya",
|
|
82197
|
+
"type": "HStack",
|
|
82198
|
+
"props": {
|
|
82199
|
+
"spacing": 8,
|
|
82200
|
+
"children": [
|
|
82201
|
+
{
|
|
82202
|
+
"id": "event_delete_cancel",
|
|
82203
|
+
"body": {
|
|
82204
|
+
"package": "himalaya",
|
|
82205
|
+
"type": "Button",
|
|
82206
|
+
"props": {
|
|
82207
|
+
"title": "Cancel",
|
|
82208
|
+
"style": "secondary",
|
|
82209
|
+
"action": {
|
|
82210
|
+
"actionId": "tier5.himiOwnerLiteEvent.cancelDelete"
|
|
82211
|
+
}
|
|
82212
|
+
}
|
|
82213
|
+
}
|
|
82214
|
+
},
|
|
82215
|
+
{
|
|
82216
|
+
"id": "event_delete_confirm",
|
|
82217
|
+
"body": {
|
|
82218
|
+
"package": "himalaya",
|
|
82219
|
+
"type": "Button",
|
|
82220
|
+
"props": {
|
|
82221
|
+
"title": "Delete",
|
|
82222
|
+
"style": "destructive",
|
|
82223
|
+
"action": {
|
|
82224
|
+
"actionId": "tier5.himiOwnerLiteEvent.confirmDelete"
|
|
82225
|
+
}
|
|
82226
|
+
}
|
|
82227
|
+
}
|
|
82228
|
+
}
|
|
82229
|
+
]
|
|
82230
|
+
}
|
|
82231
|
+
}
|
|
82232
|
+
}
|
|
82233
|
+
]
|
|
82234
|
+
}
|
|
82235
|
+
},
|
|
82236
|
+
"modifiers": {
|
|
82237
|
+
"background": {
|
|
82238
|
+
"token": "surfaceElevated"
|
|
82239
|
+
},
|
|
82240
|
+
"border": {
|
|
82241
|
+
"width": 1,
|
|
82242
|
+
"color": {
|
|
82243
|
+
"token": "danger"
|
|
82244
|
+
}
|
|
82245
|
+
},
|
|
82246
|
+
"cornerRadius": 12,
|
|
82247
|
+
"padding": {
|
|
82248
|
+
"leading": 14,
|
|
82249
|
+
"trailing": 14,
|
|
82250
|
+
"top": 14,
|
|
82251
|
+
"bottom": 14
|
|
82252
|
+
},
|
|
82253
|
+
"fillMaxWidth": true,
|
|
82254
|
+
"hiddenPath": "$service:himiOwnerLiteEvent.noDeleteConfirmation"
|
|
82255
|
+
}
|
|
82256
|
+
},
|
|
82014
82257
|
{
|
|
82015
82258
|
"id": "",
|
|
82016
82259
|
"body": {
|
|
@@ -82872,6 +83115,115 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
82872
83115
|
}
|
|
82873
83116
|
}
|
|
82874
83117
|
},
|
|
83118
|
+
{
|
|
83119
|
+
"id": "post_delete_confirmation",
|
|
83120
|
+
"body": {
|
|
83121
|
+
"package": "himalaya",
|
|
83122
|
+
"type": "VStack",
|
|
83123
|
+
"props": {
|
|
83124
|
+
"spacing": 10,
|
|
83125
|
+
"alignment": "leading",
|
|
83126
|
+
"children": [
|
|
83127
|
+
{
|
|
83128
|
+
"id": "post_delete_confirmation.title",
|
|
83129
|
+
"body": {
|
|
83130
|
+
"package": "himalaya",
|
|
83131
|
+
"type": "Text",
|
|
83132
|
+
"props": {
|
|
83133
|
+
"text": "Delete this post?",
|
|
83134
|
+
"style": "bodyEmphasis"
|
|
83135
|
+
}
|
|
83136
|
+
}
|
|
83137
|
+
},
|
|
83138
|
+
{
|
|
83139
|
+
"id": "post_delete_confirmation.record",
|
|
83140
|
+
"body": {
|
|
83141
|
+
"package": "himalaya",
|
|
83142
|
+
"type": "Text",
|
|
83143
|
+
"props": {
|
|
83144
|
+
"text": "$service:himiOwnerLitePost.title",
|
|
83145
|
+
"style": "body",
|
|
83146
|
+
"color": "textSecondary",
|
|
83147
|
+
"maxLines": 2
|
|
83148
|
+
}
|
|
83149
|
+
}
|
|
83150
|
+
},
|
|
83151
|
+
{
|
|
83152
|
+
"id": "",
|
|
83153
|
+
"body": {
|
|
83154
|
+
"package": "himalaya",
|
|
83155
|
+
"type": "Text",
|
|
83156
|
+
"props": {
|
|
83157
|
+
"text": "This cannot be undone.",
|
|
83158
|
+
"style": "footnote",
|
|
83159
|
+
"color": "textSecondary"
|
|
83160
|
+
}
|
|
83161
|
+
}
|
|
83162
|
+
},
|
|
83163
|
+
{
|
|
83164
|
+
"id": "",
|
|
83165
|
+
"body": {
|
|
83166
|
+
"package": "himalaya",
|
|
83167
|
+
"type": "HStack",
|
|
83168
|
+
"props": {
|
|
83169
|
+
"spacing": 8,
|
|
83170
|
+
"children": [
|
|
83171
|
+
{
|
|
83172
|
+
"id": "post_delete_cancel",
|
|
83173
|
+
"body": {
|
|
83174
|
+
"package": "himalaya",
|
|
83175
|
+
"type": "Button",
|
|
83176
|
+
"props": {
|
|
83177
|
+
"title": "Cancel",
|
|
83178
|
+
"style": "secondary",
|
|
83179
|
+
"action": {
|
|
83180
|
+
"actionId": "tier5.himiOwnerLitePost.cancelDelete"
|
|
83181
|
+
}
|
|
83182
|
+
}
|
|
83183
|
+
}
|
|
83184
|
+
},
|
|
83185
|
+
{
|
|
83186
|
+
"id": "post_delete_confirm",
|
|
83187
|
+
"body": {
|
|
83188
|
+
"package": "himalaya",
|
|
83189
|
+
"type": "Button",
|
|
83190
|
+
"props": {
|
|
83191
|
+
"title": "Delete",
|
|
83192
|
+
"style": "destructive",
|
|
83193
|
+
"action": {
|
|
83194
|
+
"actionId": "tier5.himiOwnerLitePost.confirmDelete"
|
|
83195
|
+
}
|
|
83196
|
+
}
|
|
83197
|
+
}
|
|
83198
|
+
}
|
|
83199
|
+
]
|
|
83200
|
+
}
|
|
83201
|
+
}
|
|
83202
|
+
}
|
|
83203
|
+
]
|
|
83204
|
+
}
|
|
83205
|
+
},
|
|
83206
|
+
"modifiers": {
|
|
83207
|
+
"background": {
|
|
83208
|
+
"token": "surfaceElevated"
|
|
83209
|
+
},
|
|
83210
|
+
"border": {
|
|
83211
|
+
"width": 1,
|
|
83212
|
+
"color": {
|
|
83213
|
+
"token": "danger"
|
|
83214
|
+
}
|
|
83215
|
+
},
|
|
83216
|
+
"cornerRadius": 12,
|
|
83217
|
+
"padding": {
|
|
83218
|
+
"leading": 14,
|
|
83219
|
+
"trailing": 14,
|
|
83220
|
+
"top": 14,
|
|
83221
|
+
"bottom": 14
|
|
83222
|
+
},
|
|
83223
|
+
"fillMaxWidth": true,
|
|
83224
|
+
"hiddenPath": "$service:himiOwnerLitePost.noDeleteConfirmation"
|
|
83225
|
+
}
|
|
83226
|
+
},
|
|
82875
83227
|
{
|
|
82876
83228
|
"id": "",
|
|
82877
83229
|
"body": {
|