@things-factory/document-template-ui 4.1.28 → 5.0.0-alpha.3

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.
@@ -7,7 +7,7 @@ import { client, CustomAlert, gqlContext, PageView } from '@things-factory/shell
7
7
  import { ScrollbarStyles, CommonButtonStyles } from '@things-factory/styles'
8
8
  import { 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 './document-upload-template'
12
12
 
13
13
  class DocumentTemplateList extends localize(i18next)(PageView) {
@@ -3,7 +3,7 @@ import '@things-factory/grist-ui'
3
3
  import { i18next, localize } from '@things-factory/i18n-base'
4
4
  import { client, gqlContext } 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
 
8
8
  class DocumentUploadTemplate extends localize(i18next)(LitElement) {
9
9
  static get styles() {
@@ -87,7 +87,7 @@ class DocumentUploadTemplate extends localize(i18next)(LitElement) {
87
87
  const attachment = this._getAttachmentInfo()
88
88
  const response = await client.mutate({
89
89
  mutation: gql`
90
- mutation($attachment: NewAttachment!) {
90
+ mutation ($attachment: NewAttachment!) {
91
91
  createAttachment(attachment: $attachment) {
92
92
  id
93
93
  name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/document-template-ui",
3
- "version": "4.1.28",
3
+ "version": "5.0.0-alpha.3",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,13 +24,13 @@
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": "^4.1.28",
28
- "@things-factory/document-template-base": "^4.1.28",
29
- "@things-factory/form-ui": "^4.1.28",
30
- "@things-factory/grist-ui": "^4.1.28",
31
- "@things-factory/i18n-base": "^4.1.28",
32
- "@things-factory/styles": "^4.1.28",
33
- "@things-factory/utils": "^4.1.28"
27
+ "@things-factory/code-base": "^5.0.0-alpha.3",
28
+ "@things-factory/document-template-base": "^5.0.0-alpha.3",
29
+ "@things-factory/form-ui": "^5.0.0-alpha.3",
30
+ "@things-factory/grist-ui": "^5.0.0-alpha.3",
31
+ "@things-factory/i18n-base": "^5.0.0-alpha.3",
32
+ "@things-factory/styles": "^5.0.0-alpha.3",
33
+ "@things-factory/utils": "^5.0.0-alpha.3"
34
34
  },
35
- "gitHead": "3f902602b38074b6e4a2188ab16b2a486f812877"
35
+ "gitHead": "0584a36ba889ff0b426cc87c0d9c8f14ffa2f677"
36
36
  }