@things-factory/operato-mms 6.0.25 → 6.0.28
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/client/bootstrap.js +1 -1
- package/client/components/attachment-viewer.js +2 -4
- package/client/components/category-selector-popup.js +1 -1
- package/client/components/category-selector.js +1 -1
- package/client/components/image-viewer.js +1 -1
- package/client/components/marketplace-order-max-weight.js +1 -1
- package/client/components/mms-home-cards.js +1 -1
- package/client/components/stock-allocation-ratio.js +1 -1
- package/client/components/variant-option-editor.js +2 -2
- package/client/components/variant-options-editor.js +1 -1
- package/client/components/wizard-view-styles.js +1 -1
- package/client/components/wizard-view.js +1 -1
- package/client/pages/catalogue/basic-product-setting.js +1 -1
- package/client/pages/catalogue/create-new-product-popup.js +1 -1
- package/client/pages/catalogue/home.js +1 -1
- package/client/pages/catalogue/product-detail-popup.js +1 -1
- package/client/pages/catalogue/product-marketplace-setting.js +1 -1
- package/client/pages/catalogue/product-variation-setting.js +1 -1
- package/client/pages/catalogue/products.js +2 -2
- package/client/pages/catalogue/warehouse-marketplace-auto-link-popup.js +2 -2
- package/client/pages/catalogue/warehouse-marketplace-link-popup.js +2 -2
- package/client/pages/catalogue/warehouse-products.js +1 -1
- package/client/pages/catalogue-variation/home.js +1 -1
- package/client/pages/catalogue-variation/product-variations.js +2 -2
- package/client/pages/inventory/inventory-by-product.js +1 -1
- package/client/pages/inventory/inventory-history.js +1 -1
- package/client/pages/order/home.js +1 -1
- package/client/pages/order/logistics/batch-init-popup.js +1 -1
- package/client/pages/order/logistics/branch-logistics-popup.js +1 -1
- package/client/pages/order/logistics/lazada-order-init-batch-popup.js +1 -1
- package/client/pages/order/logistics/order-init-popup.js +1 -1
- package/client/pages/order/logistics/order-items.js +1 -1
- package/client/pages/order/logistics/order-shipping-items.js +1 -1
- package/client/pages/order/logistics/order-shipping.js +1 -1
- package/client/pages/order/logistics/pickup-logistics-popup.js +1 -1
- package/client/pages/order/logistics/request-ro-popup.js +1 -1
- package/client/pages/order/logistics/shopee-order-init-batch-popup.js +1 -1
- package/client/pages/order/order-by-store.js +1 -1
- package/client/pages/order/select-datetime-popup.js +1 -1
- package/client/pages/promotions/activities.js +1 -1
- package/client/pages/promotions/create-new-promotion.js +1 -1
- package/client/pages/promotions/promotions.js +2 -2
- package/client/pages/reports/custom.js +1 -1
- package/client/pages/reports/daily-sales-average.js +1 -1
- package/client/pages/reports/inventory.js +1 -1
- package/client/pages/reports/sales-by-platform/home.js +1 -1
- package/client/pages/reports/sales-by-platform/lazada-sales-report.js +1 -1
- package/client/pages/reports/sales-by-platform/shopee-sales-report.js +1 -1
- package/client/pages/reports/sales-by-promotion.js +1 -1
- package/client/pages/reports/sales-by-store.js +1 -1
- package/client/pages/reports/top-selling.js +1 -1
- package/client/pages/reports/total-orders.js +1 -1
- package/client/pages/reports/total-sales.js +1 -1
- package/client/pages/setting/marketplace-setting.js +1 -1
- package/client/pages/stock-replenishment/create-stock-replenishment.js +1 -1
- package/client/pages/stock-replenishment/stock-replenishment-detail.js +1 -1
- package/client/pages/stock-replenishment/stock-replenishment-list.js +1 -1
- package/client/viewparts/user-circle.js +2 -4
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +31 -31
package/client/bootstrap.js
CHANGED
|
@@ -4,7 +4,7 @@ import '@things-factory/notification'
|
|
|
4
4
|
import './menu'
|
|
5
5
|
import './viewparts/user-circle'
|
|
6
6
|
|
|
7
|
-
import { html } from 'lit
|
|
7
|
+
import { html } from 'lit'
|
|
8
8
|
|
|
9
9
|
import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
|
|
10
10
|
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
2
|
-
import { css, html, LitElement } from 'lit
|
|
2
|
+
import { css, html, LitElement } from 'lit'
|
|
3
3
|
|
|
4
4
|
class AttachmentViewer extends localize(i18next)(LitElement) {
|
|
5
5
|
static get properties() {
|
|
@@ -62,9 +62,7 @@ class AttachmentViewer extends localize(i18next)(LitElement) {
|
|
|
62
62
|
render() {
|
|
63
63
|
return html`
|
|
64
64
|
<div class="card">
|
|
65
|
-
<div class="container">
|
|
66
|
-
${this.name ? html` <h3>${this.name}</h3> ` : ''}
|
|
67
|
-
</div>
|
|
65
|
+
<div class="container">${this.name ? html` <h3>${this.name}</h3> ` : ''}</div>
|
|
68
66
|
|
|
69
67
|
${this.downloadable
|
|
70
68
|
? html`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
2
2
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
class MarketplaceOrderMaxWeight extends localize(i18next)(LitElement) {
|
|
7
7
|
static get styles() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
2
2
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
class StockAllocationRatio extends localize(i18next)(LitElement) {
|
|
7
7
|
static get styles() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit
|
|
1
|
+
import { LitElement, html, css } from 'lit'
|
|
2
2
|
|
|
3
3
|
export class VariantOptionEditor extends LitElement {
|
|
4
4
|
static get styles() {
|
|
@@ -72,7 +72,7 @@ export class VariantOptionEditor extends LitElement {
|
|
|
72
72
|
|
|
73
73
|
return html`
|
|
74
74
|
<select .value=${type} @change=${this.onchangeSelect.bind(this)}>
|
|
75
|
-
<option
|
|
75
|
+
<option></option>
|
|
76
76
|
${types.map(t => html` <option value=${t} ?selected=${type == t}>${t}</option> `)}
|
|
77
77
|
</select>
|
|
78
78
|
|
|
@@ -3,7 +3,7 @@ import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
4
|
import { client, CustomAlert } from '@things-factory/shell'
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
import '../../components/image-viewer'
|
|
8
8
|
import { PRODUCT_TYPE } from './constants'
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
|
2
2
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
3
3
|
import { client } from '@things-factory/shell'
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html, LitElement } from 'lit
|
|
5
|
+
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
7
7
|
import '../../components/category-selector'
|
|
8
8
|
class ProductMarketplaceSetting extends localize(i18next)(LitElement) {
|
|
@@ -3,7 +3,7 @@ import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
|
3
3
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
4
4
|
import { client } from '@things-factory/shell'
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
import '../../components/variant-options-editor'
|
|
8
8
|
|
|
9
9
|
class ProductVariationSetting extends localize(i18next)(LitElement) {
|
|
@@ -7,7 +7,7 @@ import { client, PageView } from '@things-factory/shell'
|
|
|
7
7
|
import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
|
|
8
8
|
import { flattenObject, isMobileDevice } from '@things-factory/utils'
|
|
9
9
|
import gql from 'graphql-tag'
|
|
10
|
-
import { css, html } from 'lit
|
|
10
|
+
import { css, html } from 'lit'
|
|
11
11
|
import './create-new-product-popup'
|
|
12
12
|
import './product-detail-popup'
|
|
13
13
|
|
|
@@ -317,7 +317,7 @@ class Products extends localize(i18next)(PageView) {
|
|
|
317
317
|
async fetchStore(id) {
|
|
318
318
|
const response = await client.query({
|
|
319
319
|
query: gql`
|
|
320
|
-
query($id: String!) {
|
|
320
|
+
query ($id: String!) {
|
|
321
321
|
marketplaceStore(id: $id) {
|
|
322
322
|
id
|
|
323
323
|
name
|
|
@@ -3,7 +3,7 @@ import { i18next, localize } from '@things-factory/i18n-base'
|
|
|
3
3
|
import { client } from '@things-factory/shell'
|
|
4
4
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
5
5
|
import gql from 'graphql-tag'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
class WarehouseMarketplaceAutoLinkPopup extends localize(i18next)(LitElement) {
|
|
9
9
|
static get properties() {
|
|
@@ -177,7 +177,7 @@ class WarehouseMarketplaceAutoLinkPopup extends localize(i18next)(LitElement) {
|
|
|
177
177
|
|
|
178
178
|
const response = await client.query({
|
|
179
179
|
query: gql`
|
|
180
|
-
mutation($marketplaceStoreIds: [String]!, $isCheckedSku: Boolean!) {
|
|
180
|
+
mutation ($marketplaceStoreIds: [String]!, $isCheckedSku: Boolean!) {
|
|
181
181
|
autoLinkWarehouseMarketplaceProductVariations(
|
|
182
182
|
marketplaceStoreIds: $marketplaceStoreIds
|
|
183
183
|
isCheckedSku: $isCheckedSku
|
|
@@ -5,7 +5,7 @@ import { client, CustomAlert, gqlContext } from '@things-factory/shell'
|
|
|
5
5
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
6
6
|
import { flattenObject, isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
8
|
-
import { css, html, LitElement } from 'lit
|
|
8
|
+
import { css, html, LitElement } from 'lit'
|
|
9
9
|
|
|
10
10
|
class WarehouseMarketplaceLinkPopup extends localize(i18next)(LitElement) {
|
|
11
11
|
static get properties() {
|
|
@@ -406,7 +406,7 @@ class WarehouseMarketplaceLinkPopup extends localize(i18next)(LitElement) {
|
|
|
406
406
|
if (marketplaceStoreId && sku && patches) {
|
|
407
407
|
const response = await client.query({
|
|
408
408
|
query: gql`
|
|
409
|
-
mutation($marketplaceStoreId: String!, $sku: String!, $patches: [MarketplaceProductVariationPatch]!) {
|
|
409
|
+
mutation ($marketplaceStoreId: String!, $sku: String!, $patches: [MarketplaceProductVariationPatch]!) {
|
|
410
410
|
linkWarehouseMarketplaceProductVariations(
|
|
411
411
|
marketplaceStoreId: $marketplaceStoreId
|
|
412
412
|
sku: $sku
|
|
@@ -7,7 +7,7 @@ import { ScrollbarStyles } from '@things-factory/styles'
|
|
|
7
7
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
8
8
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
9
9
|
import gql from 'graphql-tag'
|
|
10
|
-
import { css, html } from 'lit
|
|
10
|
+
import { css, html } from 'lit'
|
|
11
11
|
import './warehouse-marketplace-link-popup'
|
|
12
12
|
import './warehouse-marketplace-auto-link-popup'
|
|
13
13
|
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client, PageView } from '@things-factory/shell'
|
|
@@ -377,7 +377,7 @@ class ProductVariations extends localize(i18next)(PageView) {
|
|
|
377
377
|
async fetchStore(id) {
|
|
378
378
|
const response = await client.query({
|
|
379
379
|
query: gql`
|
|
380
|
-
query($id: String!) {
|
|
380
|
+
query ($id: String!) {
|
|
381
381
|
marketplaceStore(id: $id) {
|
|
382
382
|
id
|
|
383
383
|
name
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
8
8
|
import { client, gqlContext, PageView } from '@things-factory/shell'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -5,7 +5,7 @@ import { client } from '@things-factory/shell'
|
|
|
5
5
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
6
6
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
8
|
-
import { css, html, LitElement } from 'lit
|
|
8
|
+
import { css, html, LitElement } from 'lit'
|
|
9
9
|
|
|
10
10
|
class BranchLogisticsPopup extends localize(i18next)(LitElement) {
|
|
11
11
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
|
|
|
3
3
|
import './order-items'
|
|
4
4
|
import './order-shipping'
|
|
5
5
|
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
9
9
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -3,7 +3,7 @@ import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
|
3
3
|
import '@things-factory/grist-ui'
|
|
4
4
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
5
5
|
import { isMobileDevice } from '@things-factory/utils'
|
|
6
|
-
import { css, html, LitElement } from 'lit
|
|
6
|
+
import { css, html, LitElement } from 'lit'
|
|
7
7
|
|
|
8
8
|
class OrderItems extends localize(i18next)(LitElement) {
|
|
9
9
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import '@things-factory/component-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html, LitElement } from 'lit
|
|
5
|
+
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/component-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
import './order-shipping-items'
|
|
4
4
|
|
|
5
|
-
import { css, html, LitElement } from 'lit
|
|
5
|
+
import { css, html, LitElement } from 'lit'
|
|
6
6
|
|
|
7
7
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -5,7 +5,7 @@ import { client } from '@things-factory/shell'
|
|
|
5
5
|
import { ScrollbarStyles } from '@things-factory/styles'
|
|
6
6
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
8
|
-
import { css, html, LitElement } from 'lit
|
|
8
|
+
import { css, html, LitElement } from 'lit'
|
|
9
9
|
|
|
10
10
|
class PickupLogisticsPopup extends localize(i18next)(LitElement) {
|
|
11
11
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@material/mwc-button'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next } from '@things-factory/i18n-base'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -8,7 +8,7 @@ import './logistics/batch-init-popup'
|
|
|
8
8
|
import './logistics/request-ro-popup'
|
|
9
9
|
|
|
10
10
|
import gql from 'graphql-tag'
|
|
11
|
-
import { css, html } from 'lit
|
|
11
|
+
import { css, html } from 'lit'
|
|
12
12
|
|
|
13
13
|
import { GhostPrint } from '@operato/ghost-print'
|
|
14
14
|
import { getCodeByName } from '@things-factory/code-base'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@things-factory/grist-ui'
|
|
2
2
|
|
|
3
3
|
import gql from 'graphql-tag'
|
|
4
|
-
import { css, html, LitElement } from 'lit
|
|
4
|
+
import { css, html, LitElement } from 'lit'
|
|
5
5
|
|
|
6
6
|
import { SingleColumnFormStyles } from '@things-factory/form-ui'
|
|
7
7
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -5,7 +5,7 @@ import { client, CustomAlert } from '@things-factory/shell'
|
|
|
5
5
|
import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
|
|
6
6
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
7
7
|
import gql from 'graphql-tag'
|
|
8
|
-
import { css, html, LitElement } from 'lit
|
|
8
|
+
import { css, html, LitElement } from 'lit'
|
|
9
9
|
|
|
10
10
|
class createNewPromotion extends localize(i18next)(LitElement) {
|
|
11
11
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@things-factory/form-ui'
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
|
-
import { html, css } from 'lit
|
|
3
|
+
import { html, css } from 'lit'
|
|
4
4
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
5
5
|
import { store, PageView, client, CustomAlert } from '@things-factory/shell'
|
|
6
6
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -52,7 +52,7 @@ class Promotions extends connect(store)(PageView) {
|
|
|
52
52
|
title: i18next.t('button.create_new'),
|
|
53
53
|
action: () => {
|
|
54
54
|
this._createNewPromotionPopup()
|
|
55
|
-
},
|
|
55
|
+
},
|
|
56
56
|
...CommonButtonStyles.add
|
|
57
57
|
},
|
|
58
58
|
{ title: i18next.t('button.delete'), action: [], ...CommonButtonStyles.delete }
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
7
|
|
|
8
8
|
import { i18next } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
7
|
|
|
8
8
|
import { i18next, localize } from '@things-factory/i18n-base'
|
|
@@ -2,7 +2,7 @@ import '../../components/stock-allocation-ratio'
|
|
|
2
2
|
import '../../components/marketplace-order-max-weight'
|
|
3
3
|
|
|
4
4
|
import gql from 'graphql-tag'
|
|
5
|
-
import { css, html } from 'lit
|
|
5
|
+
import { css, html } from 'lit'
|
|
6
6
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
7
|
|
|
8
8
|
import { i18next } from '@things-factory/i18n-base'
|
|
@@ -3,7 +3,7 @@ import { CommonButtonStyles } from '@things-factory/styles'
|
|
|
3
3
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
4
4
|
import { getCodeByName } from '@things-factory/code-base'
|
|
5
5
|
import { gqlBuilder, isMobileDevice } from '@things-factory/utils'
|
|
6
|
-
import { html, css } from 'lit
|
|
6
|
+
import { html, css } from 'lit'
|
|
7
7
|
import { i18next } from '@things-factory/i18n-base'
|
|
8
8
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
9
9
|
import { store, PageView, client, navigate, CustomAlert } from '@things-factory/shell'
|
|
@@ -6,7 +6,7 @@ import { client, CustomAlert, navigate, PageView } from '@things-factory/shell'
|
|
|
6
6
|
import { CommonButtonStyles } from '@things-factory/styles'
|
|
7
7
|
import { isMobileDevice } from '@things-factory/utils'
|
|
8
8
|
import gql from 'graphql-tag'
|
|
9
|
-
import { css, html } from 'lit
|
|
9
|
+
import { css, html } from 'lit'
|
|
10
10
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
11
11
|
import '../../components/attachment-viewer'
|
|
12
12
|
import { ORDER_PRODUCT_STATUS, ORDER_STATUS } from '../constants'
|
|
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
|
|
|
2
2
|
import '@things-factory/grist-ui'
|
|
3
3
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
4
4
|
import { getCodeByName } from '@things-factory/code-base'
|
|
5
|
-
import { html, css } from 'lit
|
|
5
|
+
import { html, css } from 'lit'
|
|
6
6
|
import { i18next } from '@things-factory/i18n-base'
|
|
7
7
|
import { isMobileDevice } from '@things-factory/utils'
|
|
8
8
|
import { MultiColumnFormStyles } from '@things-factory/form-ui'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement, html, css } from 'lit
|
|
1
|
+
import { LitElement, html, css } from 'lit'
|
|
2
2
|
|
|
3
3
|
export class UserCircle extends LitElement {
|
|
4
4
|
static get properties() {
|
|
@@ -21,9 +21,7 @@ export class UserCircle extends LitElement {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
render() {
|
|
24
|
-
return html`
|
|
25
|
-
<img src="/assets/images/heartyoh.jpg" class="user" />
|
|
26
|
-
`
|
|
24
|
+
return html` <img src="/assets/images/heartyoh.jpg" class="user" /> `
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
27
|
|