@things-factory/sales-ui 6.0.151 → 6.1.0

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.
@@ -1,4 +1,4 @@
1
- import '@things-factory/grist-ui'
1
+ import '@operato/data-grist'
2
2
  import '@things-factory/biz-ui'
3
3
  import '@things-factory/warehouse-ui'
4
4
 
@@ -104,7 +104,7 @@ class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageV
104
104
  flex: 1;
105
105
  overflow-y: auto;
106
106
  }
107
- data-grist {
107
+ ox-grist {
108
108
  overflow-y: hidden;
109
109
  flex: 1;
110
110
  }
@@ -128,7 +128,7 @@ class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageV
128
128
  color: var(--grist-title-icon-color);
129
129
  }
130
130
 
131
- h2 + data-grist {
131
+ h2 + ox-grist {
132
132
  padding-top: var(--grist-title-with-grid-padding);
133
133
  }
134
134
 
@@ -292,21 +292,21 @@ class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageV
292
292
  <div class="grist">
293
293
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.product')}</h2>
294
294
 
295
- <data-grist
295
+ <ox-grist
296
296
  id="product-grist"
297
297
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
298
298
  .config=${this.productGristConfig}
299
299
  .data="${this.productData}"
300
300
  @record-change="${this._onProductChangeHandler.bind(this)}"
301
- ></data-grist>
301
+ ></ox-grist>
302
302
 
303
303
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.misc_charges')}</h2>
304
- <data-grist
304
+ <ox-grist
305
305
  id="purchase-order-extra-grist"
306
306
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
307
307
  .config=${this.purchaseOrderExtraGristConfig}
308
308
  .data="${this.purchaseOrderExtraData}"
309
- ></data-grist>
309
+ ></ox-grist>
310
310
  </div>
311
311
  </div>
312
312
  `
@@ -325,11 +325,11 @@ class PurchaseOrderApprovalDetail extends connect(store)(localize(i18next)(PageV
325
325
  }
326
326
 
327
327
  get productGrist() {
328
- return this.shadowRoot.querySelector('data-grist#product-grist')
328
+ return this.shadowRoot.querySelector('ox-grist#product-grist')
329
329
  }
330
330
 
331
331
  get poExtraGrist() {
332
- return this.shadowRoot.querySelector('data-grist#purchase-order-extra-grist')
332
+ return this.shadowRoot.querySelector('ox-grist#purchase-order-extra-grist')
333
333
  }
334
334
 
335
335
  get containerNo() {
@@ -1,6 +1,6 @@
1
1
  import { getCodeByName } from '@things-factory/code-base'
2
2
  import '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
3
+ import '@operato/data-grist'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, navigate, PageView } from '@things-factory/shell'
6
6
  import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
@@ -24,7 +24,7 @@ class PurchaseOrderApprovalList extends localize(i18next)(PageView) {
24
24
  overflow: visible;
25
25
  }
26
26
 
27
- data-grist {
27
+ ox-grist {
28
28
  overflow-y: auto;
29
29
  flex: 1;
30
30
  }
@@ -44,11 +44,11 @@ class PurchaseOrderApprovalList extends localize(i18next)(PageView) {
44
44
  return html`
45
45
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
46
46
 
47
- <data-grist
47
+ <ox-grist
48
48
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
49
49
  .config=${this.config}
50
50
  .fetchHandler="${this.fetchHandler.bind(this)}"
51
- ></data-grist>
51
+ ></ox-grist>
52
52
  `
53
53
  }
54
54
 
@@ -229,7 +229,7 @@ class PurchaseOrderApprovalList extends localize(i18next)(PageView) {
229
229
  }
230
230
 
231
231
  get dataGrist() {
232
- return this.shadowRoot.querySelector('data-grist')
232
+ return this.shadowRoot.querySelector('ox-grist')
233
233
  }
234
234
 
235
235
  async fetchHandler({ page, limit, sorters = [{ name: 'createdAt', desc: true }] }) {
@@ -1,4 +1,4 @@
1
- import '@things-factory/grist-ui'
1
+ import '@operato/data-grist'
2
2
  import '@things-factory/biz-ui'
3
3
  import '@things-factory/warehouse-ui'
4
4
  import '@things-factory/import-ui/client/components/import-pop-up'
@@ -107,7 +107,7 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
107
107
  flex: 1;
108
108
  overflow-y: auto;
109
109
  }
110
- data-grist {
110
+ ox-grist {
111
111
  overflow-y: hidden;
112
112
  flex: 1;
113
113
  }
@@ -131,7 +131,7 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
131
131
  color: var(--grist-title-icon-color);
132
132
  }
133
133
 
134
- h2 + data-grist {
134
+ h2 + ox-grist {
135
135
  padding-top: var(--grist-title-with-grid-padding);
136
136
  }
137
137
 
@@ -343,22 +343,22 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
343
343
  <div class="grist">
344
344
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.product')}</h2>
345
345
 
346
- <data-grist
346
+ <ox-grist
347
347
  id="product-grist"
348
348
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
349
349
  .config=${this.productGristConfig}
350
350
  .data="${this.productData}"
351
351
  @record-change="${this._onProductChangeHandler.bind(this)}"
352
- ></data-grist>
352
+ ></ox-grist>
353
353
 
354
354
  <h2><mwc-icon>list_alt</mwc-icon>${i18next.t('title.misc_charges')}</h2>
355
- <data-grist
355
+ <ox-grist
356
356
  id="purchase-order-extra-grist"
357
357
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
358
358
  .config=${this.purchaseOrderExtraGristConfig}
359
359
  .data="${this.purchaseOrderExtraData}"
360
360
  @record-change="${this._onMiscChargesChangeHandler.bind(this)}"
361
- ></data-grist>
361
+ ></ox-grist>
362
362
  </div>
363
363
  </div>
364
364
  `
@@ -377,11 +377,11 @@ class PurchaseOrderDetail extends connect(store)(localize(i18next)(PageView)) {
377
377
  }
378
378
 
379
379
  get productGrist() {
380
- return this.shadowRoot.querySelector('data-grist#product-grist')
380
+ return this.shadowRoot.querySelector('ox-grist#product-grist')
381
381
  }
382
382
 
383
383
  get poExtraGrist() {
384
- return this.shadowRoot.querySelector('data-grist#purchase-order-extra-grist')
384
+ return this.shadowRoot.querySelector('ox-grist#purchase-order-extra-grist')
385
385
  }
386
386
 
387
387
  get containerNo() {
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import { GhostPrint } from '@operato/ghost-print'
4
4
  import gql from 'graphql-tag'
5
5
  import { css, html } from 'lit'
@@ -29,7 +29,7 @@ class PurchaseOrderList extends localize(i18next)(PageView) {
29
29
  overflow: visible;
30
30
  }
31
31
 
32
- data-grist {
32
+ ox-grist {
33
33
  overflow-y: auto;
34
34
  flex: 1;
35
35
  }
@@ -49,11 +49,11 @@ class PurchaseOrderList extends localize(i18next)(PageView) {
49
49
  return html`
50
50
  <search-form id="search-form" .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
51
51
 
52
- <data-grist
52
+ <ox-grist
53
53
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
54
54
  .config=${this.config}
55
55
  .fetchHandler="${this.fetchHandler.bind(this)}"
56
- ></data-grist>
56
+ ></ox-grist>
57
57
  `
58
58
  }
59
59
 
@@ -247,7 +247,7 @@ class PurchaseOrderList extends localize(i18next)(PageView) {
247
247
  }
248
248
 
249
249
  get dataGrist() {
250
- return this.shadowRoot.querySelector('data-grist')
250
+ return this.shadowRoot.querySelector('ox-grist')
251
251
  }
252
252
 
253
253
  async fetchHandler({ page, limit, sorters = [{ name: 'createdAt', desc: true }] }) {
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import { getCodeByName } from '@things-factory/code-base'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { openImportPopUp } from '@things-factory/import-ui'
@@ -29,7 +29,7 @@ class VasList extends localize(i18next)(PageView) {
29
29
  search-form {
30
30
  overflow: visible;
31
31
  }
32
- data-grist {
32
+ ox-grist {
33
33
  overflow-y: auto;
34
34
  flex: 1;
35
35
  }
@@ -41,11 +41,11 @@ class VasList extends localize(i18next)(PageView) {
41
41
  return html`
42
42
  <search-form .fields=${this._searchFields} @submit=${e => this.dataGrist.fetch()}></search-form>
43
43
 
44
- <data-grist
44
+ <ox-grist
45
45
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
46
46
  .config=${this.config}
47
47
  .fetchHandler="${this.fetchHandler.bind(this)}"
48
- ></data-grist>
48
+ ></ox-grist>
49
49
  `
50
50
  }
51
51
 
@@ -89,7 +89,7 @@ class VasList extends localize(i18next)(PageView) {
89
89
  }
90
90
 
91
91
  get dataGrist() {
92
- return this.shadowRoot.querySelector('data-grist')
92
+ return this.shadowRoot.querySelector('ox-grist')
93
93
  }
94
94
 
95
95
  async pageInitialized() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/sales-ui",
3
- "version": "6.0.151",
3
+ "version": "6.1.0",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,15 +24,15 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/code-base": "^6.0.145",
28
- "@things-factory/form-ui": "^6.0.145",
29
- "@things-factory/grist-ui": "^6.0.145",
30
- "@things-factory/i18n-base": "^6.0.145",
31
- "@things-factory/import-ui": "^6.0.145",
32
- "@things-factory/sales-base": "^6.0.151",
33
- "@things-factory/setting-ui": "^6.0.145",
34
- "@things-factory/shell": "^6.0.145",
35
- "@things-factory/warehouse-ui": "^6.0.151"
27
+ "@operato/data-grist": "^1.3.5",
28
+ "@things-factory/code-base": "^6.1.0",
29
+ "@things-factory/form-ui": "^6.1.0",
30
+ "@things-factory/i18n-base": "^6.1.0",
31
+ "@things-factory/import-ui": "^6.1.0",
32
+ "@things-factory/sales-base": "^6.1.0",
33
+ "@things-factory/setting-ui": "^6.1.0",
34
+ "@things-factory/shell": "^6.1.0",
35
+ "@things-factory/warehouse-ui": "^6.1.0"
36
36
  },
37
- "gitHead": "aed6e532c98fff71ea56ade617de2ed68f1602d9"
37
+ "gitHead": "205ac14ff55275d948a8cc6d7c514b90d6baf6ef"
38
38
  }