@fleetbase/storefront-engine 0.4.13 → 0.4.14
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/addon/extension.js +43 -1
- package/addon/templates/catalogs/index.hbs +2 -1
- package/composer.json +1 -1
- package/extension.json +1 -1
- package/package.json +4 -4
package/addon/extension.js
CHANGED
|
@@ -7,7 +7,49 @@ export default {
|
|
|
7
7
|
const widgetService = universe.getService('widget');
|
|
8
8
|
|
|
9
9
|
// Register menu item in header
|
|
10
|
-
menuService.registerHeaderMenuItem('Storefront', 'console.storefront', {
|
|
10
|
+
menuService.registerHeaderMenuItem('Storefront', 'console.storefront', {
|
|
11
|
+
icon: 'store',
|
|
12
|
+
priority: 1,
|
|
13
|
+
description: 'Online store management: products, orders, customers, and promotions.',
|
|
14
|
+
shortcuts: [
|
|
15
|
+
{
|
|
16
|
+
title: 'Products',
|
|
17
|
+
description: 'Manage your product catalogue, categories, and inventory.',
|
|
18
|
+
icon: 'box-open',
|
|
19
|
+
route: 'console.storefront.products',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
title: 'Orders',
|
|
23
|
+
description: 'View and fulfil incoming storefront orders.',
|
|
24
|
+
icon: 'bag-shopping',
|
|
25
|
+
route: 'console.storefront.orders',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: 'Customers',
|
|
29
|
+
description: 'Browse and manage your storefront customer accounts.',
|
|
30
|
+
icon: 'users',
|
|
31
|
+
route: 'console.storefront.customers',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
title: 'Networks',
|
|
35
|
+
description: 'Connect and manage multi-store networks and marketplaces.',
|
|
36
|
+
icon: 'network-wired',
|
|
37
|
+
route: 'console.storefront.networks',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: 'Catalogs',
|
|
41
|
+
description: 'Organise products into shareable catalogs.',
|
|
42
|
+
icon: 'book-open',
|
|
43
|
+
route: 'console.storefront.catalogs',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
title: 'Promotions',
|
|
47
|
+
description: 'Create push notifications and promotional campaigns.',
|
|
48
|
+
icon: 'bullhorn',
|
|
49
|
+
route: 'console.storefront.promotions',
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
});
|
|
11
53
|
|
|
12
54
|
// widgets for registry
|
|
13
55
|
const widgets = [
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
</Layout::Section::Header>
|
|
5
5
|
|
|
6
6
|
<Layout::Section::Body>
|
|
7
|
-
<div class="p-4">
|
|
7
|
+
<div class="h-full p-4 overflow-y-scroll">
|
|
8
8
|
<div class="grid grid-cols-3 gap-4">
|
|
9
9
|
{{#each @model as |catalog|}}
|
|
10
10
|
<div class="px-2 py-2 border rounded-lg dark:bg-gray-800 dark:border-gray-700 border-gray-200 bg-gray-100">
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
{{/each}}
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
|
+
<Spacer @height="200px" />
|
|
44
45
|
</Layout::Section::Body>
|
|
45
46
|
|
|
46
47
|
{{outlet}}
|
package/composer.json
CHANGED
package/extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fleetbase/storefront-engine",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"description": "Headless Commerce & Marketplace Extension for Fleetbase",
|
|
5
5
|
"fleetbase": {
|
|
6
6
|
"route": "storefront",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@babel/core": "^7.23.2",
|
|
47
|
-
"@fleetbase/ember-core": "^0.3.
|
|
48
|
-
"@fleetbase/ember-ui": "^0.3.
|
|
49
|
-
"@fleetbase/fleetops-data": "^0.1.
|
|
47
|
+
"@fleetbase/ember-core": "^0.3.17",
|
|
48
|
+
"@fleetbase/ember-ui": "^0.3.25",
|
|
49
|
+
"@fleetbase/fleetops-data": "^0.1.25",
|
|
50
50
|
"@fortawesome/ember-fontawesome": "^2.0.0",
|
|
51
51
|
"@fortawesome/fontawesome-svg-core": "6.4.0",
|
|
52
52
|
"@fortawesome/free-brands-svg-icons": "6.4.0",
|