@wix/himalaya-cli 0.1040.0 → 0.1042.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 +33 -17
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +42 -42
- package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/beauty-salon-owner/config.ts +2 -2
- package/templates/beauty-salon-owner/dev/index.ts +287 -260
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/branded-lite/dev/index.ts +175 -175
- package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/community-club/dev/index.ts +28 -28
- package/templates/community-club/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/community-club-owner/config.ts +2 -2
- package/templates/community-club-owner/dev/index.ts +287 -260
- package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/community-club-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/community-club-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/events-meetups/dev/index.ts +21 -21
- package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/events-meetups-owner/config.ts +2 -2
- package/templates/events-meetups-owner/dev/index.ts +259 -208
- package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/events-meetups-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/gym-fitness/dev/index.ts +49 -49
- package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/gym-fitness-owner/config.ts +2 -2
- package/templates/gym-fitness-owner/dev/index.ts +294 -285
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/nonprofit-cause/dev/index.ts +28 -28
- package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/nonprofit-cause-owner/config.ts +2 -2
- package/templates/nonprofit-cause-owner/dev/index.ts +266 -233
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/owner-lite/config.ts +2 -2
- package/templates/owner-lite/dev/index.ts +295 -287
- package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/owner-lite/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/owner-lite/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/owner-lite/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/owner-lite/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/podcast-creator/dev/index.ts +28 -28
- package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/podcast-creator-owner/config.ts +2 -2
- package/templates/podcast-creator-owner/dev/index.ts +287 -260
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/portfolio-creative/dev/index.ts +35 -35
- package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/portfolio-creative-owner/config.ts +2 -2
- package/templates/portfolio-creative-owner/dev/index.ts +287 -260
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/restaurant/dev/index.ts +21 -21
- package/templates/restaurant/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/restaurant-owner/config.ts +2 -2
- package/templates/restaurant-owner/dev/index.ts +294 -285
- package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/restaurant-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
- package/templates/retail-store/dev/index.ts +21 -21
- package/templates/retail-store/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/retail-store-owner/config.ts +2 -2
- package/templates/retail-store-owner/dev/index.ts +280 -235
- package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/retail-store-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
- package/templates/yoga-studio/dev/index.ts +42 -42
- package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/yoga-studio-owner/config.ts +2 -2
- package/templates/yoga-studio-owner/dev/index.ts +266 -233
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +2 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +6 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-account.ts +45 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
|
@@ -123,7 +123,12 @@ export function decorateCollection(name: string, def: { state: State; actions?:
|
|
|
123
123
|
pendingFilter = '';
|
|
124
124
|
}
|
|
125
125
|
const projected = projectCollection(rows, config, prefs, !!backend && config.backendQuery === true, known);
|
|
126
|
-
projected.items.forEach(row => {
|
|
126
|
+
projected.items.forEach(row => {
|
|
127
|
+
row.collectionSelectLabel = row.collectionSelected ? copyParam('collection.selected', 'Selected') : copyParam('collection.select', 'Select');
|
|
128
|
+
// the save toggle names the action it WILL take for this row. The
|
|
129
|
+
// old static "Save / unsave" made the owner work out the row's state.
|
|
130
|
+
row.collectionSaveLabel = row.collectionSaved ? copyParam('collection.unsave', 'Remove from saved') : copyParam('collection.save', 'Save');
|
|
131
|
+
});
|
|
127
132
|
if (previewId && !rows.some(row => collectionId(row) === previewId)) previewId = '';
|
|
128
133
|
const filterChoices = [{ id: 'all', label: copyParam('collection.all', 'All') }, { id: 'saved', label: copyParam('collection.saved', 'Saved') },
|
|
129
134
|
...projected.filters.map(label => ({ id: `value:${label}`, label: copyParam(`collection.filter.${label}`, label) }))];
|
|
@@ -37,7 +37,7 @@ export default defineApp({
|
|
|
37
37
|
actions: "http://localhost:8190/v1/actions",
|
|
38
38
|
sync: "http://localhost:8190/v1/sync",
|
|
39
39
|
},
|
|
40
|
-
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard","ui","speech","camera","presigned_upload"],
|
|
40
|
+
capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard","ui","speech","camera","presigned_upload","app_info"],
|
|
41
41
|
designTokensPath: "./tokens.json",
|
|
42
42
|
navigation: {
|
|
43
43
|
"navKind": "responsive",
|
|
@@ -527,7 +527,7 @@ export default defineApp({
|
|
|
527
527
|
"actions": [
|
|
528
528
|
{
|
|
529
529
|
"id": "himi_owner_lite.topbar_ask",
|
|
530
|
-
"icon": "
|
|
530
|
+
"icon": "ai",
|
|
531
531
|
"accessibilityLabel": "Ask about the programme",
|
|
532
532
|
"onTap": {
|
|
533
533
|
"actionId": "himi.open",
|