@vendure/admin-ui 3.2.0 → 3.2.1
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/LICENSE.md +42 -42
- package/core/common/version.d.ts +1 -1
- package/fesm2022/vendure-admin-ui-catalog.mjs +257 -257
- package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-core.mjs +4140 -4140
- package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-customer.mjs +119 -119
- package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-dashboard.mjs +58 -58
- package/fesm2022/vendure-admin-ui-dashboard.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-login.mjs +2 -2
- package/fesm2022/vendure-admin-ui-login.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-marketing.mjs +35 -35
- package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-order.mjs +186 -186
- package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-react.mjs +8 -8
- package/fesm2022/vendure-admin-ui-react.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-settings.mjs +441 -441
- package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-system.mjs +6 -6
- package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui.mjs.map +1 -1
- package/package.json +13 -9
- package/static/fonts/fonts.scss +253 -253
- package/static/i18n-messages/ar.json +813 -813
- package/static/i18n-messages/cs.json +813 -813
- package/static/i18n-messages/de.json +813 -813
- package/static/i18n-messages/en.json +817 -817
- package/static/i18n-messages/es.json +813 -813
- package/static/i18n-messages/fa.json +813 -813
- package/static/i18n-messages/fr.json +813 -813
- package/static/i18n-messages/he.json +813 -813
- package/static/i18n-messages/hr.json +813 -813
- package/static/i18n-messages/it.json +813 -813
- package/static/i18n-messages/ja.json +818 -818
- package/static/i18n-messages/nb.json +811 -811
- package/static/i18n-messages/ne.json +813 -813
- package/static/i18n-messages/pl.json +813 -813
- package/static/i18n-messages/pt_BR.json +813 -813
- package/static/i18n-messages/pt_PT.json +814 -814
- package/static/i18n-messages/ru.json +813 -813
- package/static/i18n-messages/sv.json +806 -806
- package/static/i18n-messages/tr.json +814 -814
- package/static/i18n-messages/uk.json +813 -813
- package/static/i18n-messages/zh_Hans.json +813 -813
- package/static/i18n-messages/zh_Hant.json +813 -813
- package/static/index.html +14 -14
- package/static/polyfills.ts +66 -66
- package/static/styles/_mixins.scss +60 -60
- package/static/styles/_variables.scss +11 -11
- package/static/styles/component/prosemirror.scss +513 -513
- package/static/styles/global/_buttons.scss +147 -147
- package/static/styles/global/_clarity.scss +140 -140
- package/static/styles/global/_forms.scss +187 -187
- package/static/styles/global/_global.scss +41 -41
- package/static/styles/global/_overrides.scss +165 -165
- package/static/styles/global/_sass-overrides.scss +7 -7
- package/static/styles/global/_utilities.scss +155 -155
- package/static/styles/rtl.scss +143 -143
- package/static/styles/styles.scss +19 -19
- package/static/styles/theme/dark.scss +591 -591
- package/static/styles/theme/default.scss +254 -254
- package/static/styles/ui-extension-theme.scss +13 -13
- package/static/vendure-ui-config.json +289 -289
|
@@ -31,11 +31,11 @@ class DashboardWidgetComponent {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: DashboardWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: DashboardWidgetComponent, isStandalone: false, selector: "vdr-dashboard-widget", inputs: { widgetConfig: "widgetConfig" }, viewQueries: [{ propertyName: "portal", first: true, predicate: ["portal"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<vdr-card [title]=\"widgetConfig.title ?? '' | translate\">\
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: DashboardWidgetComponent, isStandalone: false, selector: "vdr-dashboard-widget", inputs: { widgetConfig: "widgetConfig" }, viewQueries: [{ propertyName: "portal", first: true, predicate: ["portal"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<vdr-card [title]=\"widgetConfig.title ?? '' | translate\">\n <ng-template vdrCardControls>\n <ng-content></ng-content>\n </ng-template>\n <ng-template #portal></ng-template>\n</vdr-card>\n", styles: [":host{display:block}.card{margin-top:0;min-height:200px}.card-header{display:flex;justify-content:space-between}\n"], dependencies: [{ kind: "component", type: i1.CardComponent, selector: "vdr-card", inputs: ["title", "paddingX"] }, { kind: "directive", type: i1.CardControlsDirective, selector: "[vdrCardControls]" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
35
|
}
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: DashboardWidgetComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
|
-
args: [{ selector: 'vdr-dashboard-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-card [title]=\"widgetConfig.title ?? '' | translate\">\
|
|
38
|
+
args: [{ selector: 'vdr-dashboard-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-card [title]=\"widgetConfig.title ?? '' | translate\">\n <ng-template vdrCardControls>\n <ng-content></ng-content>\n </ng-template>\n <ng-template #portal></ng-template>\n</vdr-card>\n", styles: [":host{display:block}.card{margin-top:0;min-height:200px}.card-header{display:flex;justify-content:space-between}\n"] }]
|
|
39
39
|
}], propDecorators: { widgetConfig: [{
|
|
40
40
|
type: Input
|
|
41
41
|
}], portal: [{
|
|
@@ -149,11 +149,11 @@ class DashboardComponent {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: DashboardComponent, deps: [{ token: i1.DashboardWidgetService }, { token: i1.LocalStorageService }, { token: i0.ChangeDetectorRef }, { token: i1.DataService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
152
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: DashboardComponent, isStandalone: false, selector: "vdr-dashboard", ngImport: i0, template: "<vdr-page-block>\
|
|
152
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: DashboardComponent, isStandalone: false, selector: "vdr-dashboard", ngImport: i0, template: "<vdr-page-block>\n <div class=\"widget-header mb-1\">\n <vdr-dropdown>\n <button class=\"btn btn-secondary btn-sm\" vdrDropdownTrigger>\n <clr-icon shape=\"plus\"></clr-icon>\n {{ 'dashboard.add-widget' | translate }}\n <clr-icon shape=\"ellipsis-vertical\"></clr-icon>\n </button>\n <vdr-dropdown-menu vdrPosition=\"bottom-right\">\n <button\n vdrDropdownItem\n *ngFor=\"let widget of availableWidgets$ | async\"\n (click)=\"addWidget(widget.id)\"\n >\n {{ (widget.config.title ?? widget.id) | translate }}\n </button>\n </vdr-dropdown-menu>\n </vdr-dropdown>\n </div>\n <div cdkDropListGroup>\n <div\n class=\"clr-row dashboard-row\"\n *ngFor=\"let row of widgetLayout; index as rowIndex; trackBy: trackRow\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListData]=\"{ index: rowIndex }\"\n >\n <div\n *ngFor=\"let widget of row; trackBy: trackRowItem\"\n class=\"dashboard-item\"\n [ngClass]=\"getClassForWidth(widget.width)\"\n cdkDrag\n [cdkDragData]=\"widget\"\n >\n <vdr-dashboard-widget\n *vdrIfPermissions=\"widget.config.requiresPermissions || null\"\n [widgetConfig]=\"widget.config\"\n >\n <div class=\"flex\">\n <div class=\"drag-handle\" cdkDragHandle>\n <clr-icon shape=\"drag-handle\" size=\"24\"></clr-icon>\n </div>\n <vdr-dropdown>\n <button class=\"icon-button\" vdrDropdownTrigger>\n <clr-icon shape=\"ellipsis-vertical\"></clr-icon>\n </button>\n <vdr-dropdown-menu vdrPosition=\"bottom-right\">\n <h4 class=\"dropdown-header\">{{ 'dashboard.widget-resize' | translate }}</h4>\n <button\n vdrDropdownItem\n [disabled]=\"width === widget.width\"\n *ngFor=\"let width of getSupportedWidths(widget.config)\"\n (click)=\"setWidgetWidth(widget, width)\"\n >\n {{ 'dashboard.widget-width' | translate : { width: width } }}\n </button>\n <div class=\"dropdown-divider\" role=\"separator\"></div>\n <button vdrDropdownItem (click)=\"removeWidget(widget)\">\n <clr-icon shape=\"trash\" class=\"is-danger\"></clr-icon>\n {{ 'dashboard.remove-widget' | translate }}\n </button>\n </vdr-dropdown-menu>\n </vdr-dropdown>\n </div>\n </vdr-dashboard-widget>\n </div>\n </div>\n </div>\n</vdr-page-block>\n", styles: [".widget-header{display:flex;justify-content:flex-end}.placeholder{color:var(--color-grey-300);text-align:center}.placeholder .version{font-size:3em;margin:24px;line-height:1em}.placeholder ::ng-deep .clr-i-outline{fill:var(--color-grey-200)}vdr-dashboard-widget{margin-bottom:24px}.drag-handle{cursor:move}.cdk-drag-preview{box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.dashboard-row{padding:0;border-width:1;margin-bottom:6px;transition:padding .2s,margin .2s}.dashboard-row.cdk-drop-list-dragging,.dashboard-row.cdk-drop-list-receiving{border:2px dashed var(--color-component-border-200);border-radius:var(--border-radius);padding:6px}.dashboard-row.cdk-drop-list-dragging .dashboard-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i2$1.ClrIconCustomTag, selector: "clr-icon" }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: ["cdkDropListGroupDisabled"], exportAs: ["cdkDropListGroup"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i4.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i1.DropdownComponent, selector: "vdr-dropdown", inputs: ["manualToggle"] }, { kind: "component", type: i1.DropdownMenuComponent, selector: "vdr-dropdown-menu", inputs: ["vdrPosition", "customClasses"] }, { kind: "directive", type: i1.DropdownTriggerDirective, selector: "[vdrDropdownTrigger]" }, { kind: "directive", type: i1.DropdownItemDirective, selector: "[vdrDropdownItem]" }, { kind: "directive", type: i1.IfPermissionsDirective, selector: "[vdrIfPermissions]", inputs: ["vdrIfPermissions", "vdrIfPermissionsElse"] }, { kind: "component", type: i1.PageBlockComponent, selector: "vdr-page-block" }, { kind: "component", type: DashboardWidgetComponent, selector: "vdr-dashboard-widget", inputs: ["widgetConfig"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
153
153
|
}
|
|
154
154
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: DashboardComponent, decorators: [{
|
|
155
155
|
type: Component,
|
|
156
|
-
args: [{ selector: 'vdr-dashboard', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-page-block>\
|
|
156
|
+
args: [{ selector: 'vdr-dashboard', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-page-block>\n <div class=\"widget-header mb-1\">\n <vdr-dropdown>\n <button class=\"btn btn-secondary btn-sm\" vdrDropdownTrigger>\n <clr-icon shape=\"plus\"></clr-icon>\n {{ 'dashboard.add-widget' | translate }}\n <clr-icon shape=\"ellipsis-vertical\"></clr-icon>\n </button>\n <vdr-dropdown-menu vdrPosition=\"bottom-right\">\n <button\n vdrDropdownItem\n *ngFor=\"let widget of availableWidgets$ | async\"\n (click)=\"addWidget(widget.id)\"\n >\n {{ (widget.config.title ?? widget.id) | translate }}\n </button>\n </vdr-dropdown-menu>\n </vdr-dropdown>\n </div>\n <div cdkDropListGroup>\n <div\n class=\"clr-row dashboard-row\"\n *ngFor=\"let row of widgetLayout; index as rowIndex; trackBy: trackRow\"\n cdkDropList\n (cdkDropListDropped)=\"drop($event)\"\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListData]=\"{ index: rowIndex }\"\n >\n <div\n *ngFor=\"let widget of row; trackBy: trackRowItem\"\n class=\"dashboard-item\"\n [ngClass]=\"getClassForWidth(widget.width)\"\n cdkDrag\n [cdkDragData]=\"widget\"\n >\n <vdr-dashboard-widget\n *vdrIfPermissions=\"widget.config.requiresPermissions || null\"\n [widgetConfig]=\"widget.config\"\n >\n <div class=\"flex\">\n <div class=\"drag-handle\" cdkDragHandle>\n <clr-icon shape=\"drag-handle\" size=\"24\"></clr-icon>\n </div>\n <vdr-dropdown>\n <button class=\"icon-button\" vdrDropdownTrigger>\n <clr-icon shape=\"ellipsis-vertical\"></clr-icon>\n </button>\n <vdr-dropdown-menu vdrPosition=\"bottom-right\">\n <h4 class=\"dropdown-header\">{{ 'dashboard.widget-resize' | translate }}</h4>\n <button\n vdrDropdownItem\n [disabled]=\"width === widget.width\"\n *ngFor=\"let width of getSupportedWidths(widget.config)\"\n (click)=\"setWidgetWidth(widget, width)\"\n >\n {{ 'dashboard.widget-width' | translate : { width: width } }}\n </button>\n <div class=\"dropdown-divider\" role=\"separator\"></div>\n <button vdrDropdownItem (click)=\"removeWidget(widget)\">\n <clr-icon shape=\"trash\" class=\"is-danger\"></clr-icon>\n {{ 'dashboard.remove-widget' | translate }}\n </button>\n </vdr-dropdown-menu>\n </vdr-dropdown>\n </div>\n </vdr-dashboard-widget>\n </div>\n </div>\n </div>\n</vdr-page-block>\n", styles: [".widget-header{display:flex;justify-content:flex-end}.placeholder{color:var(--color-grey-300);text-align:center}.placeholder .version{font-size:3em;margin:24px;line-height:1em}.placeholder ::ng-deep .clr-i-outline{fill:var(--color-grey-200)}vdr-dashboard-widget{margin-bottom:24px}.drag-handle{cursor:move}.cdk-drag-preview{box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.dashboard-row{padding:0;border-width:1;margin-bottom:6px;transition:padding .2s,margin .2s}.dashboard-row.cdk-drop-list-dragging,.dashboard-row.cdk-drop-list-receiving{border:2px dashed var(--color-component-border-200);border-radius:var(--border-radius);padding:6px}.dashboard-row.cdk-drop-list-dragging .dashboard-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
157
157
|
}], ctorParameters: () => [{ type: i1.DashboardWidgetService }, { type: i1.LocalStorageService }, { type: i0.ChangeDetectorRef }, { type: i1.DataService }] });
|
|
158
158
|
|
|
159
159
|
const dashboardRoutes = [
|
|
@@ -164,28 +164,28 @@ const dashboardRoutes = [
|
|
|
164
164
|
},
|
|
165
165
|
];
|
|
166
166
|
|
|
167
|
-
const GET_LATEST_ORDERS = gql `
|
|
168
|
-
query GetLatestOrders($options: OrderListOptions) {
|
|
169
|
-
orders(options: $options) {
|
|
170
|
-
items {
|
|
171
|
-
id
|
|
172
|
-
createdAt
|
|
173
|
-
updatedAt
|
|
174
|
-
type
|
|
175
|
-
orderPlacedAt
|
|
176
|
-
code
|
|
177
|
-
state
|
|
178
|
-
total
|
|
179
|
-
totalWithTax
|
|
180
|
-
currencyCode
|
|
181
|
-
customer {
|
|
182
|
-
id
|
|
183
|
-
firstName
|
|
184
|
-
lastName
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
167
|
+
const GET_LATEST_ORDERS = gql `
|
|
168
|
+
query GetLatestOrders($options: OrderListOptions) {
|
|
169
|
+
orders(options: $options) {
|
|
170
|
+
items {
|
|
171
|
+
id
|
|
172
|
+
createdAt
|
|
173
|
+
updatedAt
|
|
174
|
+
type
|
|
175
|
+
orderPlacedAt
|
|
176
|
+
code
|
|
177
|
+
state
|
|
178
|
+
total
|
|
179
|
+
totalWithTax
|
|
180
|
+
currencyCode
|
|
181
|
+
customer {
|
|
182
|
+
id
|
|
183
|
+
firstName
|
|
184
|
+
lastName
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
189
|
`;
|
|
190
190
|
class LatestOrdersWidgetComponent {
|
|
191
191
|
constructor(dataService) {
|
|
@@ -209,11 +209,11 @@ class LatestOrdersWidgetComponent {
|
|
|
209
209
|
.mapStream(data => data.orders.items);
|
|
210
210
|
}
|
|
211
211
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: LatestOrdersWidgetComponent, deps: [{ token: i1.DataService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
212
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: LatestOrdersWidgetComponent, isStandalone: false, selector: "vdr-latest-orders-widget", ngImport: i0, template: "<vdr-data-table-2 [items]=\"latestOrders$ | async\" id=\"latest-orders-widget-list\">\
|
|
212
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: LatestOrdersWidgetComponent, isStandalone: false, selector: "vdr-latest-orders-widget", ngImport: i0, template: "<vdr-data-table-2 [items]=\"latestOrders$ | async\" id=\"latest-orders-widget-list\">\n <vdr-dt2-column [heading]=\"'common.code' | translate\" id=\"code\">\n <ng-template let-order=\"item\">\n <a class=\"button-ghost\" [routerLink]=\"['/orders/', order.id]\"\n ><span>{{ order.code }}</span>\n <clr-icon shape=\"arrow right\"></clr-icon>\n </a>\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'order.state' | translate\" id=\"state\" [hiddenByDefault]=\"true\">\n <ng-template let-order=\"item\">\n <vdr-order-state-label [state]=\"order.state\"></vdr-order-state-label>\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'customer.customer' | translate\" id=\"customer\" [hiddenByDefault]=\"true\">\n <ng-template let-order=\"item\">\n <vdr-customer-label [customer]=\"order.customer\"></vdr-customer-label>\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'order.total' | translate\" id=\"total\">\n <ng-template let-order=\"item\">\n {{ order.totalWithTax | localeCurrency : order.currencyCode }}\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'order.placed-at' | translate\" id=\"placed-at\">\n <ng-template let-order=\"item\">\n {{ order.orderPlacedAt | timeAgo }}\n </ng-template>\n </vdr-dt2-column>\n</vdr-data-table-2>\n", styles: ["vdr-data-table ::ng-deep table{margin-top:0}vdr-order-state-label{display:inline-block;margin-top:2px}\n"], dependencies: [{ kind: "directive", type: i2$1.ClrIconCustomTag, selector: "clr-icon" }, { kind: "directive", type: i3$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i1.CustomerLabelComponent, selector: "vdr-customer-label", inputs: ["customer"] }, { kind: "component", type: i1.OrderStateLabelComponent, selector: "vdr-order-state-label", inputs: ["state"] }, { kind: "component", type: i1.DataTable2Component, selector: "vdr-data-table-2", inputs: ["id", "items", "itemsPerPage", "currentPage", "totalItems", "emptyStateLabel", "filters", "activeIndex", "trackByPath"], outputs: ["pageChange", "itemsPerPageChange", "visibleColumnsChange"] }, { kind: "component", type: i1.DataTable2ColumnComponent, selector: "vdr-dt2-column", inputs: ["id", "expand", "heading", "align", "sort", "optional", "hiddenByDefault", "orderable"], exportAs: ["row"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: i1.TimeAgoPipe, name: "timeAgo" }, { kind: "pipe", type: i1.LocaleCurrencyPipe, name: "localeCurrency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
213
213
|
}
|
|
214
214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: LatestOrdersWidgetComponent, decorators: [{
|
|
215
215
|
type: Component,
|
|
216
|
-
args: [{ selector: 'vdr-latest-orders-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-data-table-2 [items]=\"latestOrders$ | async\" id=\"latest-orders-widget-list\">\
|
|
216
|
+
args: [{ selector: 'vdr-latest-orders-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-data-table-2 [items]=\"latestOrders$ | async\" id=\"latest-orders-widget-list\">\n <vdr-dt2-column [heading]=\"'common.code' | translate\" id=\"code\">\n <ng-template let-order=\"item\">\n <a class=\"button-ghost\" [routerLink]=\"['/orders/', order.id]\"\n ><span>{{ order.code }}</span>\n <clr-icon shape=\"arrow right\"></clr-icon>\n </a>\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'order.state' | translate\" id=\"state\" [hiddenByDefault]=\"true\">\n <ng-template let-order=\"item\">\n <vdr-order-state-label [state]=\"order.state\"></vdr-order-state-label>\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'customer.customer' | translate\" id=\"customer\" [hiddenByDefault]=\"true\">\n <ng-template let-order=\"item\">\n <vdr-customer-label [customer]=\"order.customer\"></vdr-customer-label>\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'order.total' | translate\" id=\"total\">\n <ng-template let-order=\"item\">\n {{ order.totalWithTax | localeCurrency : order.currencyCode }}\n </ng-template>\n </vdr-dt2-column>\n <vdr-dt2-column [heading]=\"'order.placed-at' | translate\" id=\"placed-at\">\n <ng-template let-order=\"item\">\n {{ order.orderPlacedAt | timeAgo }}\n </ng-template>\n </vdr-dt2-column>\n</vdr-data-table-2>\n", styles: ["vdr-data-table ::ng-deep table{margin-top:0}vdr-order-state-label{display:inline-block;margin-top:2px}\n"] }]
|
|
217
217
|
}], ctorParameters: () => [{ type: i1.DataService }] });
|
|
218
218
|
class LatestOrdersWidgetModule {
|
|
219
219
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: LatestOrdersWidgetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -228,17 +228,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
|
|
|
228
228
|
}]
|
|
229
229
|
}] });
|
|
230
230
|
|
|
231
|
-
const GET_ORDER_CHART_DATA = gql `
|
|
232
|
-
query GetOrderChartData($refresh: Boolean, $types: [MetricType!]!) {
|
|
233
|
-
metricSummary(input: { interval: Daily, types: $types, refresh: $refresh }) {
|
|
234
|
-
interval
|
|
235
|
-
type
|
|
236
|
-
entries {
|
|
237
|
-
label
|
|
238
|
-
value
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
231
|
+
const GET_ORDER_CHART_DATA = gql `
|
|
232
|
+
query GetOrderChartData($refresh: Boolean, $types: [MetricType!]!) {
|
|
233
|
+
metricSummary(input: { interval: Daily, types: $types, refresh: $refresh }) {
|
|
234
|
+
interval
|
|
235
|
+
type
|
|
236
|
+
entries {
|
|
237
|
+
label
|
|
238
|
+
value
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
242
|
`;
|
|
243
243
|
class OrderChartWidgetComponent {
|
|
244
244
|
constructor(dataService) {
|
|
@@ -277,24 +277,24 @@ class OrderChartWidgetComponent {
|
|
|
277
277
|
this.refresh$.next(true);
|
|
278
278
|
}
|
|
279
279
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OrderChartWidgetComponent, deps: [{ token: i1.DataService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
280
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OrderChartWidgetComponent, isStandalone: false, selector: "vdr-order-chart-widget", ngImport: i0, template: "<vdr-chart [entries]=\"metrics$ | async\" />\
|
|
280
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OrderChartWidgetComponent, isStandalone: false, selector: "vdr-order-chart-widget", ngImport: i0, template: "<vdr-chart [entries]=\"metrics$ | async\" />\n<div class=\"flex\" *ngIf=\"metricType$ | async as activeMetricType\">\n <button\n class=\"button-small\"\n (click)=\"metricType$.next(MetricType.OrderTotal)\"\n [class.active]=\"activeMetricType === MetricType.OrderTotal\"\n >\n {{ 'dashboard.metric-order-total-value' | translate }}\n </button>\n <button\n class=\"ml-1 button-small\"\n (click)=\"metricType$.next(MetricType.OrderCount)\"\n [class.active]=\"activeMetricType === MetricType.OrderCount\"\n >\n {{ 'dashboard.metric-number-of-orders' | translate }}\n </button>\n <button\n class=\"ml-1 button-small\"\n (click)=\"metricType$.next(MetricType.AverageOrderValue)\"\n [class.active]=\"activeMetricType === MetricType.AverageOrderValue\"\n >\n {{ 'dashboard.metric-average-order-value' | translate }}\n </button>\n <div class=\"flex-spacer\"></div>\n <button class=\"button-small\" (click)=\"refresh()\">\n <clr-icon shape=\"refresh\"></clr-icon>\n </button>\n</div>\n", styles: [".button-small.active{background-color:var(--color-primary-200);color:var(--color-primary-900)}\n"], dependencies: [{ kind: "directive", type: i2$1.ClrIconCustomTag, selector: "clr-icon" }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.ChartComponent, selector: "vdr-chart", inputs: ["entries", "options"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
281
281
|
}
|
|
282
282
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OrderChartWidgetComponent, decorators: [{
|
|
283
283
|
type: Component,
|
|
284
|
-
args: [{ selector: 'vdr-order-chart-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-chart [entries]=\"metrics$ | async\" />\
|
|
284
|
+
args: [{ selector: 'vdr-order-chart-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<vdr-chart [entries]=\"metrics$ | async\" />\n<div class=\"flex\" *ngIf=\"metricType$ | async as activeMetricType\">\n <button\n class=\"button-small\"\n (click)=\"metricType$.next(MetricType.OrderTotal)\"\n [class.active]=\"activeMetricType === MetricType.OrderTotal\"\n >\n {{ 'dashboard.metric-order-total-value' | translate }}\n </button>\n <button\n class=\"ml-1 button-small\"\n (click)=\"metricType$.next(MetricType.OrderCount)\"\n [class.active]=\"activeMetricType === MetricType.OrderCount\"\n >\n {{ 'dashboard.metric-number-of-orders' | translate }}\n </button>\n <button\n class=\"ml-1 button-small\"\n (click)=\"metricType$.next(MetricType.AverageOrderValue)\"\n [class.active]=\"activeMetricType === MetricType.AverageOrderValue\"\n >\n {{ 'dashboard.metric-average-order-value' | translate }}\n </button>\n <div class=\"flex-spacer\"></div>\n <button class=\"button-small\" (click)=\"refresh()\">\n <clr-icon shape=\"refresh\"></clr-icon>\n </button>\n</div>\n", styles: [".button-small.active{background-color:var(--color-primary-200);color:var(--color-primary-900)}\n"] }]
|
|
285
285
|
}], ctorParameters: () => [{ type: i1.DataService }] });
|
|
286
286
|
|
|
287
|
-
const GET_ORDER_SUMMARY = gql `
|
|
288
|
-
query GetOrderSummary($start: DateTime!, $end: DateTime!) {
|
|
289
|
-
orders(options: { filter: { orderPlacedAt: { between: { start: $start, end: $end } } } }) {
|
|
290
|
-
totalItems
|
|
291
|
-
items {
|
|
292
|
-
id
|
|
293
|
-
totalWithTax
|
|
294
|
-
currencyCode
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
287
|
+
const GET_ORDER_SUMMARY = gql `
|
|
288
|
+
query GetOrderSummary($start: DateTime!, $end: DateTime!) {
|
|
289
|
+
orders(options: { filter: { orderPlacedAt: { between: { start: $start, end: $end } } } }) {
|
|
290
|
+
totalItems
|
|
291
|
+
items {
|
|
292
|
+
id
|
|
293
|
+
totalWithTax
|
|
294
|
+
currencyCode
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
298
|
`;
|
|
299
299
|
class OrderSummaryWidgetComponent {
|
|
300
300
|
constructor(dataService) {
|
|
@@ -323,11 +323,11 @@ class OrderSummaryWidgetComponent {
|
|
|
323
323
|
.mapStream(data => data.activeChannel.defaultCurrencyCode || undefined);
|
|
324
324
|
}
|
|
325
325
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OrderSummaryWidgetComponent, deps: [{ token: i1.DataService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
326
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OrderSummaryWidgetComponent, isStandalone: false, selector: "vdr-order-summary-widget", ngImport: i0, template: "<div class=\"stats\">\
|
|
326
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: OrderSummaryWidgetComponent, isStandalone: false, selector: "vdr-order-summary-widget", ngImport: i0, template: "<div class=\"stats\">\n <div class=\"stat\">\n <div class=\"stat-figure\">{{ totalOrderCount$ | async }}</div>\n <div class=\"stat-label\">{{ 'dashboard.total-orders' | translate }}</div>\n </div>\n <div class=\"stat\">\n <div class=\"stat-figure\">\n {{ totalOrderValue$ | async | localeCurrency: (currencyCode$ | async) || undefined }}\n </div>\n <div class=\"stat-label\">{{ 'dashboard.total-order-value' | translate }}</div>\n </div>\n</div>\n<div class=\"footer\">\n <div class=\"flex\" *ngIf=\"selection$ | async as selection\">\n <button class=\"button-small\" [class.active]=\"selection.date === today\" (click)=\"selection$.next({timeframe: 'day', date: today})\">\n {{ 'dashboard.today' | translate }}\n </button>\n <button class=\"ml-1 button-small\" [class.active]=\"selection.date === yesterday\" (click)=\"selection$.next({timeframe: 'day', date: yesterday})\">\n {{ 'dashboard.yesterday' | translate }}\n </button>\n <button class=\"ml-1 button-small\" [class.active]=\"selection.timeframe === 'week'\" (click)=\"selection$.next({timeframe: 'week'})\">\n {{ 'dashboard.thisWeek' | translate }}\n </button>\n <button class=\"ml-1 button-small\" [class.active]=\"selection.timeframe === 'month'\" (click)=\"selection$.next({timeframe: 'month'})\">\n {{ 'dashboard.thisMonth' | translate }}\n </button>\n </div>\n\n <div class=\"date-range\" *ngIf=\"dateRange$ | async as range\">\n {{ range.start | localeDate }} - {{ range.end | localeDate }}\n </div>\n</div>\n", styles: [".stats{display:flex;justify-content:space-evenly}.stat{text-align:center}.stat-figure{font-size:2rem;line-height:3rem}.stat-label{text-transform:uppercase}.date-range{margin-top:calc(var(--space-unit) * 3);font-size:var(--font-size-xs)}.footer{margin-top:24px;display:flex;flex-direction:column;justify-content:space-between}.button-small.active{background-color:var(--color-primary-200);color:var(--color-primary-900)}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: i1.LocaleDatePipe, name: "localeDate" }, { kind: "pipe", type: i1.LocaleCurrencyPipe, name: "localeCurrency" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
327
327
|
}
|
|
328
328
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OrderSummaryWidgetComponent, decorators: [{
|
|
329
329
|
type: Component,
|
|
330
|
-
args: [{ selector: 'vdr-order-summary-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"stats\">\
|
|
330
|
+
args: [{ selector: 'vdr-order-summary-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"stats\">\n <div class=\"stat\">\n <div class=\"stat-figure\">{{ totalOrderCount$ | async }}</div>\n <div class=\"stat-label\">{{ 'dashboard.total-orders' | translate }}</div>\n </div>\n <div class=\"stat\">\n <div class=\"stat-figure\">\n {{ totalOrderValue$ | async | localeCurrency: (currencyCode$ | async) || undefined }}\n </div>\n <div class=\"stat-label\">{{ 'dashboard.total-order-value' | translate }}</div>\n </div>\n</div>\n<div class=\"footer\">\n <div class=\"flex\" *ngIf=\"selection$ | async as selection\">\n <button class=\"button-small\" [class.active]=\"selection.date === today\" (click)=\"selection$.next({timeframe: 'day', date: today})\">\n {{ 'dashboard.today' | translate }}\n </button>\n <button class=\"ml-1 button-small\" [class.active]=\"selection.date === yesterday\" (click)=\"selection$.next({timeframe: 'day', date: yesterday})\">\n {{ 'dashboard.yesterday' | translate }}\n </button>\n <button class=\"ml-1 button-small\" [class.active]=\"selection.timeframe === 'week'\" (click)=\"selection$.next({timeframe: 'week'})\">\n {{ 'dashboard.thisWeek' | translate }}\n </button>\n <button class=\"ml-1 button-small\" [class.active]=\"selection.timeframe === 'month'\" (click)=\"selection$.next({timeframe: 'month'})\">\n {{ 'dashboard.thisMonth' | translate }}\n </button>\n </div>\n\n <div class=\"date-range\" *ngIf=\"dateRange$ | async as range\">\n {{ range.start | localeDate }} - {{ range.end | localeDate }}\n </div>\n</div>\n", styles: [".stats{display:flex;justify-content:space-evenly}.stat{text-align:center}.stat-figure{font-size:2rem;line-height:3rem}.stat-label{text-transform:uppercase}.date-range{margin-top:calc(var(--space-unit) * 3);font-size:var(--font-size-xs)}.footer{margin-top:24px;display:flex;flex-direction:column;justify-content:space-between}.button-small.active{background-color:var(--color-primary-200);color:var(--color-primary-900)}\n"] }]
|
|
331
331
|
}], ctorParameters: () => [{ type: i1.DataService }] });
|
|
332
332
|
class OrderSummaryWidgetModule {
|
|
333
333
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OrderSummaryWidgetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -393,11 +393,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
|
|
|
393
393
|
|
|
394
394
|
class TestWidgetComponent {
|
|
395
395
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: TestWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
396
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: TestWidgetComponent, isStandalone: false, selector: "vdr-test-widget", ngImport: i0, template: "<p>This is a test widget!</p>\
|
|
396
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: TestWidgetComponent, isStandalone: false, selector: "vdr-test-widget", ngImport: i0, template: "<p>This is a test widget!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
397
397
|
}
|
|
398
398
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: TestWidgetComponent, decorators: [{
|
|
399
399
|
type: Component,
|
|
400
|
-
args: [{ selector: 'vdr-test-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<p>This is a test widget!</p>\
|
|
400
|
+
args: [{ selector: 'vdr-test-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<p>This is a test widget!</p>\n" }]
|
|
401
401
|
}] });
|
|
402
402
|
class TestWidgetModule {
|
|
403
403
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: TestWidgetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -425,11 +425,11 @@ class WelcomeWidgetComponent {
|
|
|
425
425
|
.mapStream(data => data.activeAdministrator || null);
|
|
426
426
|
}
|
|
427
427
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: WelcomeWidgetComponent, deps: [{ token: i1.DataService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
428
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: WelcomeWidgetComponent, isStandalone: false, selector: "vdr-welcome-widget", ngImport: i0, template: "<div *ngIf=\"administrator$ | async as administrator\">\
|
|
428
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: WelcomeWidgetComponent, isStandalone: false, selector: "vdr-welcome-widget", ngImport: i0, template: "<div *ngIf=\"administrator$ | async as administrator\">\n <h4 class=\"\">\n Welcome, {{ administrator.firstName }} {{ administrator.lastName }}<br />\n <small class=\"p5\">Last login: {{ administrator.user.lastLogin | timeAgo }}</small>\n </h4>\n\n <p class=\"p5\" *ngIf=\"!hideVendureBranding || !hideVersion\">\n {{ hideVendureBranding ? '' : 'Vendure' }} {{ hideVersion ? '' : ('Admin UI v' + version) }}\n </p>\n</div>\n<div class=\"placeholder\">\n <clr-icon shape=\"line-chart\" size=\"128\"></clr-icon>\n</div>\n", styles: [":host{display:flex;justify-content:space-between}.placeholder{color:var(--color-grey-200)}\n"], dependencies: [{ kind: "directive", type: i2$1.ClrIconCustomTag, selector: "clr-icon" }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.TimeAgoPipe, name: "timeAgo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
429
429
|
}
|
|
430
430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: WelcomeWidgetComponent, decorators: [{
|
|
431
431
|
type: Component,
|
|
432
|
-
args: [{ selector: 'vdr-welcome-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div *ngIf=\"administrator$ | async as administrator\">\
|
|
432
|
+
args: [{ selector: 'vdr-welcome-widget', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div *ngIf=\"administrator$ | async as administrator\">\n <h4 class=\"\">\n Welcome, {{ administrator.firstName }} {{ administrator.lastName }}<br />\n <small class=\"p5\">Last login: {{ administrator.user.lastLogin | timeAgo }}</small>\n </h4>\n\n <p class=\"p5\" *ngIf=\"!hideVendureBranding || !hideVersion\">\n {{ hideVendureBranding ? '' : 'Vendure' }} {{ hideVersion ? '' : ('Admin UI v' + version) }}\n </p>\n</div>\n<div class=\"placeholder\">\n <clr-icon shape=\"line-chart\" size=\"128\"></clr-icon>\n</div>\n", styles: [":host{display:flex;justify-content:space-between}.placeholder{color:var(--color-grey-200)}\n"] }]
|
|
433
433
|
}], ctorParameters: () => [{ type: i1.DataService }] });
|
|
434
434
|
class WelcomeWidgetModule {
|
|
435
435
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: WelcomeWidgetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|