@wix/himalaya-cli 0.2048.0 → 0.2050.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 +301 -200
- package/guides/one-app-to-himi-app.md +6 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +6 -0
- package/templates/beauty-salon/l10n/cs.json +6 -0
- package/templates/beauty-salon/l10n/da.json +6 -0
- package/templates/beauty-salon/l10n/de.json +6 -0
- package/templates/beauty-salon/l10n/el.json +6 -0
- package/templates/beauty-salon/l10n/en.json +6 -0
- package/templates/beauty-salon/l10n/es.json +6 -0
- package/templates/beauty-salon/l10n/fi.json +6 -0
- package/templates/beauty-salon/l10n/fr.json +6 -0
- package/templates/beauty-salon/l10n/he.json +5 -0
- package/templates/beauty-salon/l10n/hu.json +6 -0
- package/templates/beauty-salon/l10n/id.json +6 -0
- package/templates/beauty-salon/l10n/it.json +6 -0
- package/templates/beauty-salon/l10n/ja.json +6 -0
- package/templates/beauty-salon/l10n/ko.json +6 -0
- package/templates/beauty-salon/l10n/lt.json +6 -0
- package/templates/beauty-salon/l10n/nl.json +6 -0
- package/templates/beauty-salon/l10n/no.json +6 -0
- package/templates/beauty-salon/l10n/pl.json +6 -0
- package/templates/beauty-salon/l10n/pt.json +6 -0
- package/templates/beauty-salon/l10n/ru.json +6 -0
- package/templates/beauty-salon/l10n/sv.json +6 -0
- package/templates/beauty-salon/l10n/th.json +6 -0
- package/templates/beauty-salon/l10n/tr.json +6 -0
- package/templates/beauty-salon/l10n/uk.json +6 -0
- package/templates/beauty-salon/l10n/vi.json +6 -0
- package/templates/beauty-salon/l10n/zh.json +6 -0
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/branded-lite/recipes/announcement-card.json +85 -34
- package/templates/branded-lite/tier5-src/_shared/announcement-section.ts +52 -10
- package/templates/branded-lite/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/community-club/l10n/ar.json +6 -0
- package/templates/community-club/l10n/cs.json +6 -0
- package/templates/community-club/l10n/da.json +6 -0
- package/templates/community-club/l10n/de.json +6 -0
- package/templates/community-club/l10n/el.json +6 -0
- package/templates/community-club/l10n/en.json +6 -0
- package/templates/community-club/l10n/es.json +6 -0
- package/templates/community-club/l10n/fi.json +6 -0
- package/templates/community-club/l10n/fr.json +6 -0
- package/templates/community-club/l10n/he.json +5 -0
- package/templates/community-club/l10n/hu.json +6 -0
- package/templates/community-club/l10n/id.json +6 -0
- package/templates/community-club/l10n/it.json +6 -0
- package/templates/community-club/l10n/ja.json +6 -0
- package/templates/community-club/l10n/ko.json +6 -0
- package/templates/community-club/l10n/lt.json +6 -0
- package/templates/community-club/l10n/nl.json +6 -0
- package/templates/community-club/l10n/no.json +6 -0
- package/templates/community-club/l10n/pl.json +6 -0
- package/templates/community-club/l10n/pt.json +6 -0
- package/templates/community-club/l10n/ru.json +6 -0
- package/templates/community-club/l10n/sv.json +6 -0
- package/templates/community-club/l10n/th.json +6 -0
- package/templates/community-club/l10n/tr.json +6 -0
- package/templates/community-club/l10n/uk.json +6 -0
- package/templates/community-club/l10n/vi.json +6 -0
- package/templates/community-club/l10n/zh.json +6 -0
- package/templates/community-club/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/events-meetups/l10n/ar.json +6 -0
- package/templates/events-meetups/l10n/cs.json +6 -0
- package/templates/events-meetups/l10n/da.json +6 -0
- package/templates/events-meetups/l10n/de.json +6 -0
- package/templates/events-meetups/l10n/el.json +6 -0
- package/templates/events-meetups/l10n/en.json +6 -0
- package/templates/events-meetups/l10n/es.json +6 -0
- package/templates/events-meetups/l10n/fi.json +6 -0
- package/templates/events-meetups/l10n/fr.json +6 -0
- package/templates/events-meetups/l10n/he.json +5 -0
- package/templates/events-meetups/l10n/hu.json +6 -0
- package/templates/events-meetups/l10n/id.json +6 -0
- package/templates/events-meetups/l10n/it.json +6 -0
- package/templates/events-meetups/l10n/ja.json +6 -0
- package/templates/events-meetups/l10n/ko.json +6 -0
- package/templates/events-meetups/l10n/lt.json +6 -0
- package/templates/events-meetups/l10n/nl.json +6 -0
- package/templates/events-meetups/l10n/no.json +6 -0
- package/templates/events-meetups/l10n/pl.json +6 -0
- package/templates/events-meetups/l10n/pt.json +6 -0
- package/templates/events-meetups/l10n/ru.json +6 -0
- package/templates/events-meetups/l10n/sv.json +6 -0
- package/templates/events-meetups/l10n/th.json +6 -0
- package/templates/events-meetups/l10n/tr.json +6 -0
- package/templates/events-meetups/l10n/uk.json +6 -0
- package/templates/events-meetups/l10n/vi.json +6 -0
- package/templates/events-meetups/l10n/zh.json +6 -0
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/gym-fitness/l10n/ar.json +6 -0
- package/templates/gym-fitness/l10n/cs.json +6 -0
- package/templates/gym-fitness/l10n/da.json +6 -0
- package/templates/gym-fitness/l10n/de.json +6 -0
- package/templates/gym-fitness/l10n/el.json +6 -0
- package/templates/gym-fitness/l10n/en.json +6 -0
- package/templates/gym-fitness/l10n/es.json +6 -0
- package/templates/gym-fitness/l10n/fi.json +6 -0
- package/templates/gym-fitness/l10n/fr.json +6 -0
- package/templates/gym-fitness/l10n/he.json +5 -0
- package/templates/gym-fitness/l10n/hu.json +6 -0
- package/templates/gym-fitness/l10n/id.json +6 -0
- package/templates/gym-fitness/l10n/it.json +6 -0
- package/templates/gym-fitness/l10n/ja.json +6 -0
- package/templates/gym-fitness/l10n/ko.json +6 -0
- package/templates/gym-fitness/l10n/lt.json +6 -0
- package/templates/gym-fitness/l10n/nl.json +6 -0
- package/templates/gym-fitness/l10n/no.json +6 -0
- package/templates/gym-fitness/l10n/pl.json +6 -0
- package/templates/gym-fitness/l10n/pt.json +6 -0
- package/templates/gym-fitness/l10n/ru.json +6 -0
- package/templates/gym-fitness/l10n/sv.json +6 -0
- package/templates/gym-fitness/l10n/th.json +6 -0
- package/templates/gym-fitness/l10n/tr.json +6 -0
- package/templates/gym-fitness/l10n/uk.json +6 -0
- package/templates/gym-fitness/l10n/vi.json +6 -0
- package/templates/gym-fitness/l10n/zh.json +6 -0
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/nonprofit-cause/l10n/ar.json +6 -0
- package/templates/nonprofit-cause/l10n/cs.json +6 -0
- package/templates/nonprofit-cause/l10n/da.json +6 -0
- package/templates/nonprofit-cause/l10n/de.json +6 -0
- package/templates/nonprofit-cause/l10n/el.json +6 -0
- package/templates/nonprofit-cause/l10n/en.json +6 -0
- package/templates/nonprofit-cause/l10n/es.json +6 -0
- package/templates/nonprofit-cause/l10n/fi.json +6 -0
- package/templates/nonprofit-cause/l10n/fr.json +6 -0
- package/templates/nonprofit-cause/l10n/he.json +5 -0
- package/templates/nonprofit-cause/l10n/hu.json +6 -0
- package/templates/nonprofit-cause/l10n/id.json +6 -0
- package/templates/nonprofit-cause/l10n/it.json +6 -0
- package/templates/nonprofit-cause/l10n/ja.json +6 -0
- package/templates/nonprofit-cause/l10n/ko.json +6 -0
- package/templates/nonprofit-cause/l10n/lt.json +6 -0
- package/templates/nonprofit-cause/l10n/nl.json +6 -0
- package/templates/nonprofit-cause/l10n/no.json +6 -0
- package/templates/nonprofit-cause/l10n/pl.json +6 -0
- package/templates/nonprofit-cause/l10n/pt.json +6 -0
- package/templates/nonprofit-cause/l10n/ru.json +6 -0
- package/templates/nonprofit-cause/l10n/sv.json +6 -0
- package/templates/nonprofit-cause/l10n/th.json +6 -0
- package/templates/nonprofit-cause/l10n/tr.json +6 -0
- package/templates/nonprofit-cause/l10n/uk.json +6 -0
- package/templates/nonprofit-cause/l10n/vi.json +6 -0
- package/templates/nonprofit-cause/l10n/zh.json +6 -0
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/podcast-creator/l10n/ar.json +6 -0
- package/templates/podcast-creator/l10n/cs.json +6 -0
- package/templates/podcast-creator/l10n/da.json +6 -0
- package/templates/podcast-creator/l10n/de.json +6 -0
- package/templates/podcast-creator/l10n/el.json +6 -0
- package/templates/podcast-creator/l10n/en.json +6 -0
- package/templates/podcast-creator/l10n/es.json +6 -0
- package/templates/podcast-creator/l10n/fi.json +6 -0
- package/templates/podcast-creator/l10n/fr.json +6 -0
- package/templates/podcast-creator/l10n/he.json +5 -0
- package/templates/podcast-creator/l10n/hu.json +6 -0
- package/templates/podcast-creator/l10n/id.json +6 -0
- package/templates/podcast-creator/l10n/it.json +6 -0
- package/templates/podcast-creator/l10n/ja.json +6 -0
- package/templates/podcast-creator/l10n/ko.json +6 -0
- package/templates/podcast-creator/l10n/lt.json +6 -0
- package/templates/podcast-creator/l10n/nl.json +6 -0
- package/templates/podcast-creator/l10n/no.json +6 -0
- package/templates/podcast-creator/l10n/pl.json +6 -0
- package/templates/podcast-creator/l10n/pt.json +6 -0
- package/templates/podcast-creator/l10n/ru.json +6 -0
- package/templates/podcast-creator/l10n/sv.json +6 -0
- package/templates/podcast-creator/l10n/th.json +6 -0
- package/templates/podcast-creator/l10n/tr.json +6 -0
- package/templates/podcast-creator/l10n/uk.json +6 -0
- package/templates/podcast-creator/l10n/vi.json +6 -0
- package/templates/podcast-creator/l10n/zh.json +6 -0
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/portfolio-creative/l10n/ar.json +6 -0
- package/templates/portfolio-creative/l10n/cs.json +6 -0
- package/templates/portfolio-creative/l10n/da.json +6 -0
- package/templates/portfolio-creative/l10n/de.json +6 -0
- package/templates/portfolio-creative/l10n/el.json +6 -0
- package/templates/portfolio-creative/l10n/en.json +6 -0
- package/templates/portfolio-creative/l10n/es.json +6 -0
- package/templates/portfolio-creative/l10n/fi.json +6 -0
- package/templates/portfolio-creative/l10n/fr.json +6 -0
- package/templates/portfolio-creative/l10n/he.json +5 -0
- package/templates/portfolio-creative/l10n/hu.json +6 -0
- package/templates/portfolio-creative/l10n/id.json +6 -0
- package/templates/portfolio-creative/l10n/it.json +6 -0
- package/templates/portfolio-creative/l10n/ja.json +6 -0
- package/templates/portfolio-creative/l10n/ko.json +6 -0
- package/templates/portfolio-creative/l10n/lt.json +6 -0
- package/templates/portfolio-creative/l10n/nl.json +6 -0
- package/templates/portfolio-creative/l10n/no.json +6 -0
- package/templates/portfolio-creative/l10n/pl.json +6 -0
- package/templates/portfolio-creative/l10n/pt.json +6 -0
- package/templates/portfolio-creative/l10n/ru.json +6 -0
- package/templates/portfolio-creative/l10n/sv.json +6 -0
- package/templates/portfolio-creative/l10n/th.json +6 -0
- package/templates/portfolio-creative/l10n/tr.json +6 -0
- package/templates/portfolio-creative/l10n/uk.json +6 -0
- package/templates/portfolio-creative/l10n/vi.json +6 -0
- package/templates/portfolio-creative/l10n/zh.json +6 -0
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/professional-services/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/restaurant/l10n/ar.json +6 -0
- package/templates/restaurant/l10n/cs.json +6 -0
- package/templates/restaurant/l10n/da.json +6 -0
- package/templates/restaurant/l10n/de.json +6 -0
- package/templates/restaurant/l10n/el.json +6 -0
- package/templates/restaurant/l10n/en.json +6 -0
- package/templates/restaurant/l10n/es.json +6 -0
- package/templates/restaurant/l10n/fi.json +6 -0
- package/templates/restaurant/l10n/fr.json +6 -0
- package/templates/restaurant/l10n/he.json +5 -0
- package/templates/restaurant/l10n/hu.json +6 -0
- package/templates/restaurant/l10n/id.json +6 -0
- package/templates/restaurant/l10n/it.json +6 -0
- package/templates/restaurant/l10n/ja.json +6 -0
- package/templates/restaurant/l10n/ko.json +6 -0
- package/templates/restaurant/l10n/lt.json +6 -0
- package/templates/restaurant/l10n/nl.json +6 -0
- package/templates/restaurant/l10n/no.json +6 -0
- package/templates/restaurant/l10n/pl.json +6 -0
- package/templates/restaurant/l10n/pt.json +6 -0
- package/templates/restaurant/l10n/ru.json +6 -0
- package/templates/restaurant/l10n/sv.json +6 -0
- package/templates/restaurant/l10n/th.json +6 -0
- package/templates/restaurant/l10n/tr.json +6 -0
- package/templates/restaurant/l10n/uk.json +6 -0
- package/templates/restaurant/l10n/vi.json +6 -0
- package/templates/restaurant/l10n/zh.json +6 -0
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/retail-store/l10n/ar.json +6 -0
- package/templates/retail-store/l10n/cs.json +6 -0
- package/templates/retail-store/l10n/da.json +6 -0
- package/templates/retail-store/l10n/de.json +6 -0
- package/templates/retail-store/l10n/el.json +6 -0
- package/templates/retail-store/l10n/en.json +6 -0
- package/templates/retail-store/l10n/es.json +6 -0
- package/templates/retail-store/l10n/fi.json +6 -0
- package/templates/retail-store/l10n/fr.json +6 -0
- package/templates/retail-store/l10n/he.json +5 -0
- package/templates/retail-store/l10n/hu.json +6 -0
- package/templates/retail-store/l10n/id.json +6 -0
- package/templates/retail-store/l10n/it.json +6 -0
- package/templates/retail-store/l10n/ja.json +6 -0
- package/templates/retail-store/l10n/ko.json +6 -0
- package/templates/retail-store/l10n/lt.json +6 -0
- package/templates/retail-store/l10n/nl.json +6 -0
- package/templates/retail-store/l10n/no.json +6 -0
- package/templates/retail-store/l10n/pl.json +6 -0
- package/templates/retail-store/l10n/pt.json +6 -0
- package/templates/retail-store/l10n/ru.json +6 -0
- package/templates/retail-store/l10n/sv.json +6 -0
- package/templates/retail-store/l10n/th.json +6 -0
- package/templates/retail-store/l10n/tr.json +6 -0
- package/templates/retail-store/l10n/uk.json +6 -0
- package/templates/retail-store/l10n/vi.json +6 -0
- package/templates/retail-store/l10n/zh.json +6 -0
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +35 -2
- package/templates/yoga-studio/l10n/ar.json +6 -0
- package/templates/yoga-studio/l10n/cs.json +6 -0
- package/templates/yoga-studio/l10n/da.json +6 -0
- package/templates/yoga-studio/l10n/de.json +6 -0
- package/templates/yoga-studio/l10n/el.json +6 -0
- package/templates/yoga-studio/l10n/en.json +6 -0
- package/templates/yoga-studio/l10n/es.json +6 -0
- package/templates/yoga-studio/l10n/fi.json +6 -0
- package/templates/yoga-studio/l10n/fr.json +6 -0
- package/templates/yoga-studio/l10n/he.json +5 -0
- package/templates/yoga-studio/l10n/hu.json +6 -0
- package/templates/yoga-studio/l10n/id.json +6 -0
- package/templates/yoga-studio/l10n/it.json +6 -0
- package/templates/yoga-studio/l10n/ja.json +6 -0
- package/templates/yoga-studio/l10n/ko.json +6 -0
- package/templates/yoga-studio/l10n/lt.json +6 -0
- package/templates/yoga-studio/l10n/nl.json +6 -0
- package/templates/yoga-studio/l10n/no.json +6 -0
- package/templates/yoga-studio/l10n/pl.json +6 -0
- package/templates/yoga-studio/l10n/pt.json +6 -0
- package/templates/yoga-studio/l10n/ru.json +6 -0
- package/templates/yoga-studio/l10n/sv.json +6 -0
- package/templates/yoga-studio/l10n/th.json +6 -0
- package/templates/yoga-studio/l10n/tr.json +6 -0
- package/templates/yoga-studio/l10n/uk.json +6 -0
- package/templates/yoga-studio/l10n/vi.json +6 -0
- package/templates/yoga-studio/l10n/zh.json +6 -0
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +35 -2
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "اليوم",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "أمس",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Dnes",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Včera",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "I dag",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "I går",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Heute",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Gestern",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Σήμερα",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Χθες",
|
|
87
|
+
"origin": "machine"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -1952,6 +1952,12 @@
|
|
|
1952
1952
|
"key": "collection.filterTitle",
|
|
1953
1953
|
"keyOrigin": "string-table"
|
|
1954
1954
|
},
|
|
1955
|
+
"h_da24830f1f70": {
|
|
1956
|
+
"source": "Yesterday",
|
|
1957
|
+
"kind": "Worker.copy",
|
|
1958
|
+
"translation": "",
|
|
1959
|
+
"key": "businessChat.yesterday"
|
|
1960
|
+
},
|
|
1955
1961
|
"h_dae7cf45ff49": {
|
|
1956
1962
|
"source": "More products could not be loaded.",
|
|
1957
1963
|
"kind": "ErrorState.title",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Hoy",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Ayer",
|
|
87
|
+
"origin": "machine"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Tänään",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Eilen",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
"translation": "Aujourd'hui",
|
|
27
27
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
28
28
|
},
|
|
29
|
+
"h_da24830f1f70": {
|
|
30
|
+
"key": "businessChat.yesterday",
|
|
31
|
+
"source": "Yesterday",
|
|
32
|
+
"translation": "Hier",
|
|
33
|
+
"origin": "machine"
|
|
34
|
+
},
|
|
29
35
|
"h_33ce417454bf": {
|
|
30
36
|
"key": "common.detailLoadingText",
|
|
31
37
|
"source": "Loading…",
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"key": "businessChat.today",
|
|
22
22
|
"translation": "היום"
|
|
23
23
|
},
|
|
24
|
+
"h_da24830f1f70": {
|
|
25
|
+
"source": "Yesterday",
|
|
26
|
+
"key": "businessChat.yesterday",
|
|
27
|
+
"translation": "אתמול"
|
|
28
|
+
},
|
|
24
29
|
"h_33ce417454bf": {
|
|
25
30
|
"source": "Loading…",
|
|
26
31
|
"key": "common.detailLoadingText",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Ma",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Tegnap",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Hari Ini",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Kemarin",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Oggi",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Ieri",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "今日",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "昨日",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "오늘",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "어제",
|
|
87
|
+
"origin": "one-app:mobile-apps-virtual-numbers:calls_list.subheading.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Šiandien",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Vakar",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Vandaag",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Gisteren",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "I dag",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "I går",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Dzisiaj",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Wczoraj",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Hoje",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Ontem",
|
|
87
|
+
"origin": "machine"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Сегодня",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Вчера",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Idag",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Igår",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "วันนี้",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "เมื่อวานนี้",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Bugün",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Dün",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Сьогодні",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Вчора",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "Hôm nay",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "Hôm qua",
|
|
87
|
+
"origin": "machine"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
"translation": "今日",
|
|
81
81
|
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.dateRangeSelect.today"
|
|
82
82
|
},
|
|
83
|
+
"h_da24830f1f70": {
|
|
84
|
+
"key": "businessChat.yesterday",
|
|
85
|
+
"source": "Yesterday",
|
|
86
|
+
"translation": "昨天",
|
|
87
|
+
"origin": "one-app:wix-one-app-merchant-settings__merchantSettingsStrings__messages_en.json:transactionsDashboard.timeRangeFilter.yesterday"
|
|
88
|
+
},
|
|
83
89
|
"h_33ce417454bf": {
|
|
84
90
|
"key": "common.detailLoadingText",
|
|
85
91
|
"source": "Loading…",
|
|
@@ -7,6 +7,8 @@ const MINUTE = 60_000;
|
|
|
7
7
|
const HOUR = 60 * MINUTE;
|
|
8
8
|
const DAY = 24 * HOUR;
|
|
9
9
|
const RELATIVE_DAYS = 7;
|
|
10
|
+
/** How far ahead of the device a timestamp may be and still count as now (himi-blog-post's `CLOCK_SKEW_MS`). */
|
|
11
|
+
const CLOCK_SKEW = 5 * MINUTE;
|
|
10
12
|
|
|
11
13
|
/** "" when `iso` is missing or not a date. A time in the future (a clock skew) reads as the date, never "-3 minutes ago". */
|
|
12
14
|
export function relativeTime(iso: string | undefined, now: number): string {
|
|
@@ -16,6 +18,37 @@ export function relativeTime(iso: string | undefined, now: number): string {
|
|
|
16
18
|
if (age < 0 || age >= RELATIVE_DAYS * DAY) return formatDateMedium(new Date(at));
|
|
17
19
|
if (age < MINUTE) return copyParam("relativeTime.justNow", "Just now");
|
|
18
20
|
if (age < HOUR) return copyPlural("relativeTime.minutesAgo", "{n, plural, one {# minute ago} other {# minutes ago}}", Math.floor(age / MINUTE));
|
|
19
|
-
if (age < DAY) return
|
|
20
|
-
return
|
|
21
|
+
if (age < DAY) return hoursAgo(Math.floor(age / HOUR));
|
|
22
|
+
return daysAgo(Math.floor(age / DAY));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// One literal each: a pinned app's translations are matched by this exact English text.
|
|
26
|
+
const hoursAgo = (n: number): string => copyPlural("relativeTime.hoursAgo", "{n, plural, one {# hour ago} other {# hours ago}}", n);
|
|
27
|
+
const daysAgo = (n: number): string => copyPlural("relativeTime.daysAgo", "{n, plural, one {# day ago} other {# days ago}}", n);
|
|
28
|
+
|
|
29
|
+
/** How many calendar days (device zone) `at` is before `now`: 0 today, 1 yesterday, …, capped at RELATIVE_DAYS. The local dates
|
|
30
|
+
* are compared as UTC midnights, so a 23- or 25-hour DST day cannot move a time to another day, and no Intl is used. */
|
|
31
|
+
function calendarDaysBefore(at: number, now: number): number {
|
|
32
|
+
const when = new Date(at);
|
|
33
|
+
const today = new Date(now);
|
|
34
|
+
const days = Math.round((Date.UTC(today.getFullYear(), today.getMonth(), today.getDate()) - Date.UTC(when.getFullYear(), when.getMonth(), when.getDate())) / DAY);
|
|
35
|
+
// A backward offset change across local midnight can give an earlier instant a later local date: never fewer than 0 days.
|
|
36
|
+
return Math.min(Math.max(days, 0), RELATIVE_DAYS);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** As the One App's announcement card says it: "Just now" and minutes for the last hour, hours for the rest of today, "Yesterday",
|
|
40
|
+
* then "N days ago" by CALENDAR day (so an older post never reads newer than a later one), and the date once it is a week old. */
|
|
41
|
+
export function relativeDay(iso: string | undefined, now: number): string {
|
|
42
|
+
const at = iso ? Date.parse(iso) : NaN;
|
|
43
|
+
if (!Number.isFinite(at)) return "";
|
|
44
|
+
const age = now - at;
|
|
45
|
+
// A post just made on a server whose clock runs a little ahead reads "Just now"; further in the future it is the date.
|
|
46
|
+
if (age < 0) return -age <= CLOCK_SKEW ? copyParam("relativeTime.justNow", "Just now") : formatDateMedium(new Date(at));
|
|
47
|
+
if (age < HOUR) return relativeTime(iso, now);
|
|
48
|
+
const days = calendarDaysBefore(at, now);
|
|
49
|
+
// Hours for all of today, a 25-hour DST day included.
|
|
50
|
+
if (days === 0) return hoursAgo(Math.floor(age / HOUR));
|
|
51
|
+
if (days === 1) return copyParam("relativeTime.yesterday", "Yesterday");
|
|
52
|
+
if (days < RELATIVE_DAYS) return daysAgo(days);
|
|
53
|
+
return formatDateMedium(new Date(at));
|
|
21
54
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_recipe": "The business's latest announcement (
|
|
2
|
+
"_recipe": "The business's latest announcement as the One App card: a bordered card with the creator's avatar (initials when there is no picture), name and date (\"Yesterday\"), then the title and the rich body with its pictures. Read at runtime. Service: registerAnnouncementSection(svc). Hidden whole while there is nothing to show.",
|
|
3
3
|
"_placeholders": {
|
|
4
4
|
"svc": "service name the page worker registered with registerAnnouncementSection",
|
|
5
5
|
"id": "unique node id prefix (e.g. the screen id)",
|
|
@@ -19,49 +19,100 @@
|
|
|
19
19
|
"body": { "package": "himalaya", "type": "Text", "props": { "text": "{{heading}}", "style": "title3", "collapseWhenEmpty": true } }
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"id": "{{id}}.
|
|
23
|
-
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.title", "style": "bodyEmphasis", "collapseWhenEmpty": true } },
|
|
24
|
-
"modifiers": { "hiddenPath": "$service:{{svc}}.noTitle" }
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"id": "{{id}}.body_rich",
|
|
28
|
-
"body": {
|
|
29
|
-
"package": "himalaya",
|
|
30
|
-
"type": "RichContent",
|
|
31
|
-
"props": {
|
|
32
|
-
"documentJsonPath": "$service:{{svc}}.bodyJson",
|
|
33
|
-
"onLink": { "actionId": "tier5.{{svc}}.openLink" },
|
|
34
|
-
"fallback": { "id": "{{id}}.body_rich_fallback", "body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.body", "style": "body", "color": "textSecondary" } } }
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"modifiers": { "hiddenPath": "$service:{{svc}}.noBodyJson" }
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"id": "{{id}}.body",
|
|
41
|
-
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.body", "style": "body", "color": "textSecondary", "collapseWhenEmpty": true } },
|
|
42
|
-
"modifiers": { "hiddenPath": "$service:{{svc}}.hasBodyJson" }
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"id": "{{id}}.meta",
|
|
22
|
+
"id": "{{id}}.card",
|
|
46
23
|
"body": {
|
|
47
24
|
"package": "himalaya",
|
|
48
|
-
"type": "
|
|
25
|
+
"type": "VStack",
|
|
49
26
|
"props": {
|
|
50
|
-
"spacing":
|
|
51
|
-
"alignment": "
|
|
27
|
+
"spacing": 12,
|
|
28
|
+
"alignment": "leading",
|
|
52
29
|
"children": [
|
|
53
30
|
{
|
|
54
|
-
"id": "{{id}}.
|
|
55
|
-
"body": {
|
|
56
|
-
|
|
31
|
+
"id": "{{id}}.header",
|
|
32
|
+
"body": {
|
|
33
|
+
"package": "himalaya",
|
|
34
|
+
"type": "HStack",
|
|
35
|
+
"props": {
|
|
36
|
+
"spacing": 12,
|
|
37
|
+
"alignment": "center",
|
|
38
|
+
"children": [
|
|
39
|
+
{
|
|
40
|
+
"id": "{{id}}.avatar",
|
|
41
|
+
"body": {
|
|
42
|
+
"package": "himalaya",
|
|
43
|
+
"type": "Image",
|
|
44
|
+
"props": {
|
|
45
|
+
"url": "$service:{{svc}}.creatorImage",
|
|
46
|
+
"initials": "$service:{{svc}}.creatorInitials",
|
|
47
|
+
"width": 40,
|
|
48
|
+
"height": 40,
|
|
49
|
+
"shape": "circle",
|
|
50
|
+
"contentMode": "fill"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"modifiers": { "hiddenPath": "$service:{{svc}}.noAvatar", "accessibilityRole": "decorative" }
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "{{id}}.byline",
|
|
57
|
+
"body": {
|
|
58
|
+
"package": "himalaya",
|
|
59
|
+
"type": "VStack",
|
|
60
|
+
"props": {
|
|
61
|
+
"spacing": 2,
|
|
62
|
+
"alignment": "leading",
|
|
63
|
+
"children": [
|
|
64
|
+
{
|
|
65
|
+
"id": "{{id}}.creator",
|
|
66
|
+
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.creator", "style": "bodyEmphasis", "maxLines": 1, "collapseWhenEmpty": true } },
|
|
67
|
+
"modifiers": { "hiddenPath": "$service:{{svc}}.noCreator" }
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "{{id}}.created",
|
|
71
|
+
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.created", "style": "caption", "color": "textSecondary", "collapseWhenEmpty": true } },
|
|
72
|
+
"modifiers": { "hiddenPath": "$service:{{svc}}.noCreated" }
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"modifiers": { "weight": 1 }
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"modifiers": { "fillMaxWidth": true, "hiddenPath": "$service:{{svc}}.noHeader" }
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "{{id}}.title",
|
|
86
|
+
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.title", "style": "bodyEmphasis", "collapseWhenEmpty": true } },
|
|
87
|
+
"modifiers": { "hiddenPath": "$service:{{svc}}.noTitle" }
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "{{id}}.body_rich",
|
|
91
|
+
"body": {
|
|
92
|
+
"package": "himalaya",
|
|
93
|
+
"type": "RichContent",
|
|
94
|
+
"props": {
|
|
95
|
+
"documentJsonPath": "$service:{{svc}}.bodyJson",
|
|
96
|
+
"onLink": { "actionId": "tier5.{{svc}}.openLink" },
|
|
97
|
+
"fallback": { "id": "{{id}}.body_rich_fallback", "body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.body", "style": "body", "color": "textSecondary" } } }
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"modifiers": { "hiddenPath": "$service:{{svc}}.noBodyJson" }
|
|
57
101
|
},
|
|
58
102
|
{
|
|
59
|
-
"id": "{{id}}.
|
|
60
|
-
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.
|
|
61
|
-
"modifiers": { "hiddenPath": "$service:{{svc}}.
|
|
103
|
+
"id": "{{id}}.body",
|
|
104
|
+
"body": { "package": "himalaya", "type": "Text", "props": { "text": "$service:{{svc}}.body", "style": "body", "color": "textSecondary", "collapseWhenEmpty": true } },
|
|
105
|
+
"modifiers": { "hiddenPath": "$service:{{svc}}.hasBodyJson" }
|
|
62
106
|
}
|
|
63
107
|
]
|
|
64
108
|
}
|
|
109
|
+
},
|
|
110
|
+
"modifiers": {
|
|
111
|
+
"background": { "token": "surfaceElevated" },
|
|
112
|
+
"border": { "width": 1, "color": { "token": "border" } },
|
|
113
|
+
"cornerRadius": 8,
|
|
114
|
+
"padding": { "leading": 16, "trailing": 16, "top": 16, "bottom": 16 },
|
|
115
|
+
"fillMaxWidth": true
|
|
65
116
|
}
|
|
66
117
|
}
|
|
67
118
|
]
|