@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.
Files changed (60) hide show
  1. package/client/bootstrap.js +1 -1
  2. package/client/components/attachment-viewer.js +2 -4
  3. package/client/components/category-selector-popup.js +1 -1
  4. package/client/components/category-selector.js +1 -1
  5. package/client/components/image-viewer.js +1 -1
  6. package/client/components/marketplace-order-max-weight.js +1 -1
  7. package/client/components/mms-home-cards.js +1 -1
  8. package/client/components/stock-allocation-ratio.js +1 -1
  9. package/client/components/variant-option-editor.js +2 -2
  10. package/client/components/variant-options-editor.js +1 -1
  11. package/client/components/wizard-view-styles.js +1 -1
  12. package/client/components/wizard-view.js +1 -1
  13. package/client/pages/catalogue/basic-product-setting.js +1 -1
  14. package/client/pages/catalogue/create-new-product-popup.js +1 -1
  15. package/client/pages/catalogue/home.js +1 -1
  16. package/client/pages/catalogue/product-detail-popup.js +1 -1
  17. package/client/pages/catalogue/product-marketplace-setting.js +1 -1
  18. package/client/pages/catalogue/product-variation-setting.js +1 -1
  19. package/client/pages/catalogue/products.js +2 -2
  20. package/client/pages/catalogue/warehouse-marketplace-auto-link-popup.js +2 -2
  21. package/client/pages/catalogue/warehouse-marketplace-link-popup.js +2 -2
  22. package/client/pages/catalogue/warehouse-products.js +1 -1
  23. package/client/pages/catalogue-variation/home.js +1 -1
  24. package/client/pages/catalogue-variation/product-variations.js +2 -2
  25. package/client/pages/inventory/inventory-by-product.js +1 -1
  26. package/client/pages/inventory/inventory-history.js +1 -1
  27. package/client/pages/order/home.js +1 -1
  28. package/client/pages/order/logistics/batch-init-popup.js +1 -1
  29. package/client/pages/order/logistics/branch-logistics-popup.js +1 -1
  30. package/client/pages/order/logistics/lazada-order-init-batch-popup.js +1 -1
  31. package/client/pages/order/logistics/order-init-popup.js +1 -1
  32. package/client/pages/order/logistics/order-items.js +1 -1
  33. package/client/pages/order/logistics/order-shipping-items.js +1 -1
  34. package/client/pages/order/logistics/order-shipping.js +1 -1
  35. package/client/pages/order/logistics/pickup-logistics-popup.js +1 -1
  36. package/client/pages/order/logistics/request-ro-popup.js +1 -1
  37. package/client/pages/order/logistics/shopee-order-init-batch-popup.js +1 -1
  38. package/client/pages/order/order-by-store.js +1 -1
  39. package/client/pages/order/select-datetime-popup.js +1 -1
  40. package/client/pages/promotions/activities.js +1 -1
  41. package/client/pages/promotions/create-new-promotion.js +1 -1
  42. package/client/pages/promotions/promotions.js +2 -2
  43. package/client/pages/reports/custom.js +1 -1
  44. package/client/pages/reports/daily-sales-average.js +1 -1
  45. package/client/pages/reports/inventory.js +1 -1
  46. package/client/pages/reports/sales-by-platform/home.js +1 -1
  47. package/client/pages/reports/sales-by-platform/lazada-sales-report.js +1 -1
  48. package/client/pages/reports/sales-by-platform/shopee-sales-report.js +1 -1
  49. package/client/pages/reports/sales-by-promotion.js +1 -1
  50. package/client/pages/reports/sales-by-store.js +1 -1
  51. package/client/pages/reports/top-selling.js +1 -1
  52. package/client/pages/reports/total-orders.js +1 -1
  53. package/client/pages/reports/total-sales.js +1 -1
  54. package/client/pages/setting/marketplace-setting.js +1 -1
  55. package/client/pages/stock-replenishment/create-stock-replenishment.js +1 -1
  56. package/client/pages/stock-replenishment/stock-replenishment-detail.js +1 -1
  57. package/client/pages/stock-replenishment/stock-replenishment-list.js +1 -1
  58. package/client/viewparts/user-circle.js +2 -4
  59. package/dist-server/tsconfig.tsbuildinfo +1 -1
  60. package/package.json +31 -31
@@ -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-element'
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-element'
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,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import { i18next, localize } from '@things-factory/i18n-base'
3
3
  import { ScrollbarStyles } from '@things-factory/styles'
4
4
 
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import { openPopup } from '@things-factory/layout-base'
3
3
  import './category-selector-popup'
4
4
  import { getCategories } from './category-provider'
@@ -1,5 +1,5 @@
1
1
  import { i18next, localize } from '@things-factory/i18n-base'
2
- import { css, html, LitElement } from 'lit-element'
2
+ import { css, html, LitElement } from 'lit'
3
3
 
4
4
  class ImageViewer extends localize(i18next)(LitElement) {
5
5
  static get properties() {
@@ -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-element'
4
+ import { css, html, LitElement } from 'lit'
5
5
 
6
6
  class MarketplaceOrderMaxWeight extends localize(i18next)(LitElement) {
7
7
  static get styles() {
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
 
3
3
  class MmsHomeCards extends LitElement {
4
4
  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-element'
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-element'
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> </option>
75
+ <option></option>
76
76
  ${types.map(t => html` <option value=${t} ?selected=${type == t}>${t}</option> `)}
77
77
  </select>
78
78
 
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import './variant-option-editor'
3
3
 
4
4
  export class VariantOptionsEditor extends LitElement {
@@ -1,4 +1,4 @@
1
- import { css } from 'lit-element'
1
+ import { css } from 'lit'
2
2
 
3
3
  export const WizardViewStyles = css`
4
4
  :host {
@@ -1,4 +1,4 @@
1
- import { LitElement, html, css } from 'lit-element'
1
+ import { LitElement, html, css } from 'lit'
2
2
  import '@material/mwc-button'
3
3
  import { i18next, localize } from '@things-factory/i18n-base'
4
4
 
@@ -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-element'
6
+ import { css, html, LitElement } from 'lit'
7
7
  import '../../components/image-viewer'
8
8
  import { PRODUCT_TYPE } from './constants'
9
9
 
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import { i18next, localize } from '@things-factory/i18n-base'
3
3
 
4
4
  import '../../components/wizard-view'
@@ -1,5 +1,5 @@
1
1
  import { PageView, store } from '@things-factory/shell'
2
- import { css, html } from 'lit-element'
2
+ import { css, html } from 'lit'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
 
5
5
  import '../../components/mms-home-cards'
@@ -1,4 +1,4 @@
1
- import { css, html, LitElement } from 'lit-element'
1
+ import { css, html, LitElement } from 'lit'
2
2
  import { i18next, localize } from '@things-factory/i18n-base'
3
3
 
4
4
  import '../../components/wizard-view'
@@ -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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
10
+ import { css, html } from 'lit'
11
11
  import './warehouse-marketplace-link-popup'
12
12
  import './warehouse-marketplace-auto-link-popup'
13
13
 
@@ -1,5 +1,5 @@
1
1
  import { PageView, store } from '@things-factory/shell'
2
- import { css, html } from 'lit-element'
2
+ import { css, html } from 'lit'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
 
5
5
  import '../../components/mms-home-cards'
@@ -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-element'
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-element'
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,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { PageView, store } from '@things-factory/shell'
2
- import { css, html } from 'lit-element'
2
+ import { css, html } from 'lit'
3
3
  import { connect } from 'pwa-helpers/connect-mixin.js'
4
4
 
5
5
  import '../../components/mms-home-cards'
@@ -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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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-element'
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'
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -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-element'
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-element'
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 }
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { css, html } from 'lit-element'
1
+ import { css, html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
 
4
4
  import { PageView, store } from '@things-factory/shell'
@@ -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-element'
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-element'
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'
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -1,4 +1,4 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
  import { connect } from 'pwa-helpers/connect-mixin.js'
3
3
  import { store, PageView } from '@things-factory/shell'
4
4
 
@@ -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-element'
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-element'
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-element'
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-element'
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-element'
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