@fleetbase/storefront-engine 0.2.10 → 0.2.11
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.
|
@@ -4,6 +4,13 @@ import { inject as service } from '@ember/service';
|
|
|
4
4
|
import { task } from 'ember-concurrency-decorators';
|
|
5
5
|
|
|
6
6
|
export default class WidgetStorefrontKeyMetricsComponent extends Component {
|
|
7
|
+
/**
|
|
8
|
+
* The widget ID to use for registering.
|
|
9
|
+
*
|
|
10
|
+
* @memberof WidgetFleetOpsKeyMetricsComponent
|
|
11
|
+
*/
|
|
12
|
+
static widgetId = 'storefront-key-metrics-widget';
|
|
13
|
+
|
|
7
14
|
/**
|
|
8
15
|
* Inject the fetch service.
|
|
9
16
|
*
|
package/addon/engine.js
CHANGED
|
@@ -21,7 +21,7 @@ export default class StorefrontEngine extends Engine {
|
|
|
21
21
|
|
|
22
22
|
// widgets for registry
|
|
23
23
|
const KeyMetricsWidgetDefinition = {
|
|
24
|
-
|
|
24
|
+
widgetId: 'storefront-key-metrics-widget',
|
|
25
25
|
name: 'Storefront Metrics',
|
|
26
26
|
description: 'Key metrics from Storefront.',
|
|
27
27
|
icon: 'store',
|
package/composer.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fleetbase/storefront-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Headless Commerce & Marketplace Extension for Fleetbase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fleetbase-extension",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"require": {
|
|
24
24
|
"php": "^8.0",
|
|
25
25
|
"fleetbase/core-api": "^1.4.0",
|
|
26
|
-
"fleetbase/fleetops-api": "^0.4.
|
|
26
|
+
"fleetbase/fleetops-api": "^0.4.6",
|
|
27
27
|
"geocoder-php/google-maps-places-provider": "^1.4",
|
|
28
28
|
"laravel-notification-channels/apn": "^5.0",
|
|
29
29
|
"laravel-notification-channels/fcm": "^4.1",
|
package/extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fleetbase/storefront-engine",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Headless Commerce & Marketplace Extension for Fleetbase",
|
|
5
5
|
"fleetbase": {
|
|
6
6
|
"route": "storefront",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"publish:github": "npm config set '@fleetbase:registry' https://npm.pkg.github.com/ && npm publish"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@fleetbase/ember-core": "^0.2.
|
|
46
|
+
"@fleetbase/ember-core": "^0.2.4",
|
|
47
47
|
"@fleetbase/ember-ui": "^0.2.10",
|
|
48
48
|
"@fleetbase/fleetops-data": "^0.1.8",
|
|
49
49
|
"@babel/core": "^7.23.2",
|