@things-factory/biz-ui 4.0.0-y.0 → 4.0.5

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.
@@ -98,7 +98,7 @@ class PopupPartnerBizplacesSelector extends localize(i18next)(LitElement) {
98
98
  list: {
99
99
  fields: ['name', 'description']
100
100
  },
101
- pagination: { pages: [10, 20, 50, 2500] },
101
+ pagination: { limit: 100, pages: [50, 100, 250] },
102
102
  rows: {
103
103
  selectable: {
104
104
  multiple: false
@@ -1,13 +1,15 @@
1
1
  import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
+
4
+ import gql from 'graphql-tag'
5
+ import { css, html } from 'lit-element'
6
+
3
7
  import { getCodeByName } from '@things-factory/code-base'
4
8
  import { i18next, localize } from '@things-factory/i18n-base'
5
9
  import { openImportPopUp } from '@things-factory/import-ui'
6
10
  import { client, CustomAlert, gqlContext, PageView } from '@things-factory/shell'
7
- import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
11
+ import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
8
12
  import { isMobileDevice } from '@things-factory/utils'
9
- import gql from 'graphql-tag'
10
- import { css, html } from 'lit-element'
11
13
 
12
14
  export class ContactPointList extends localize(i18next)(PageView) {
13
15
  static get properties() {
@@ -350,7 +352,7 @@ export class ContactPointList extends localize(i18next)(PageView) {
350
352
  async fetchPartnersBizplaces() {
351
353
  const response = await client.query({
352
354
  query: gql`
353
- query partnersBizplaces($filters: [Filter], $sortings: [Sorting]) {
355
+ query partnersBizplaces($filters: [Filter!], $sortings: [Sorting!]) {
354
356
  partnersBizplaces(filters: $filters, sortings: $sortings) {
355
357
  items {
356
358
  id
@@ -377,7 +379,7 @@ export class ContactPointList extends localize(i18next)(PageView) {
377
379
 
378
380
  const response = await client.query({
379
381
  query: gql`
380
- query contactPoints($filters: [Filter], $pagination: Pagination, $sortings: [Sorting]) {
382
+ query contactPoints($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
381
383
  contactPoints(filters: $filters, pagination: $pagination, sortings: $sortings) {
382
384
  items {
383
385
  id
@@ -430,7 +432,7 @@ export class ContactPointList extends localize(i18next)(PageView) {
430
432
 
431
433
  const response = await client.mutate({
432
434
  mutation: gql`
433
- mutation updateMultipleContactPoint($patches: [ContactPointPatch]!) {
435
+ mutation updateMultipleContactPoint($patches: [ContactPointPatch!]!) {
434
436
  updateMultipleContactPoint(patches: $patches) {
435
437
  name
436
438
  }
@@ -467,7 +469,7 @@ export class ContactPointList extends localize(i18next)(PageView) {
467
469
 
468
470
  const response = await client.mutate({
469
471
  mutation: gql`
470
- mutation deleteContactPoints($ids: [String]!) {
472
+ mutation deleteContactPoints($ids: [String!]!) {
471
473
  deleteContactPoints(ids: $ids)
472
474
  }
473
475
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/biz-ui",
3
- "version": "4.0.0-y.0",
3
+ "version": "4.0.5",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,14 +24,14 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/biz-base": "^4.0.0-y.0",
28
- "@things-factory/code-base": "^4.0.0-y.0",
29
- "@things-factory/form-ui": "^4.0.0-y.0",
30
- "@things-factory/grist-ui": "^4.0.0-y.0",
31
- "@things-factory/i18n-base": "^4.0.0-y.0",
32
- "@things-factory/import-ui": "^4.0.0-y.0",
33
- "@things-factory/layout-base": "^4.0.0-y.0",
34
- "@things-factory/shell": "^4.0.0-y.0"
27
+ "@things-factory/biz-base": "^4.0.5",
28
+ "@things-factory/code-base": "^4.0.5",
29
+ "@things-factory/form-ui": "^4.0.5",
30
+ "@things-factory/grist-ui": "^4.0.5",
31
+ "@things-factory/i18n-base": "^4.0.5",
32
+ "@things-factory/import-ui": "^4.0.5",
33
+ "@things-factory/layout-base": "^4.0.5",
34
+ "@things-factory/shell": "^4.0.5"
35
35
  },
36
- "gitHead": "64ee0f6547f90b1386024b975efc3b31a5e381cb"
36
+ "gitHead": "b7b2976818dceab74a34903499d408eed5d45b04"
37
37
  }