@operato/app 7.0.56 → 7.0.58

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/app",
3
3
  "description": "WebApplication production supporting components following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "7.0.56",
5
+ "version": "7.0.58",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -136,17 +136,17 @@
136
136
  "@graphql-tools/delegate": "^10.0.1",
137
137
  "@graphql-tools/wrap": "^8.5.0",
138
138
  "@material/web": "^1.5.0",
139
- "@operato/attachment": "^7.0.56",
140
- "@operato/data-grist": "^7.0.56",
141
- "@operato/font": "^7.0.56",
142
- "@operato/form": "^7.0.56",
139
+ "@operato/attachment": "^7.0.58",
140
+ "@operato/data-grist": "^7.0.58",
141
+ "@operato/font": "^7.0.58",
142
+ "@operato/form": "^7.0.58",
143
143
  "@operato/graphql": "^7.0.53",
144
144
  "@operato/i18n": "^7.0.53",
145
- "@operato/input": "^7.0.56",
146
- "@operato/layout": "^7.0.56",
147
- "@operato/property-editor": "^7.0.56",
148
- "@operato/shell": "^7.0.56",
149
- "@operato/styles": "^7.0.56",
145
+ "@operato/input": "^7.0.58",
146
+ "@operato/layout": "^7.0.58",
147
+ "@operato/property-editor": "^7.0.58",
148
+ "@operato/shell": "^7.0.58",
149
+ "@operato/styles": "^7.0.58",
150
150
  "@operato/utils": "^7.0.53",
151
151
  "cm6-graphql": "^0.0.14",
152
152
  "codemirror": "^6.0.1",
@@ -188,5 +188,5 @@
188
188
  "prettier --write"
189
189
  ]
190
190
  },
191
- "gitHead": "739d3191f3ceec33de0600958d434b9207864274"
191
+ "gitHead": "f6944ef198c07cda096dbc20c9d09c243fea54e2"
192
192
  }
@@ -6,12 +6,12 @@ import { customElement, property } from 'lit/decorators.js'
6
6
 
7
7
  import { i18next } from '@operato/i18n'
8
8
  import { closePopup } from '@operato/popup'
9
- import { ButtonContainerStyles, ScrollbarStyles } from '@operato/styles'
9
+ import { CommonHeaderStyles, ScrollbarStyles } from '@operato/styles'
10
10
 
11
11
  @customElement('ox-popup-code-input')
12
12
  export class OxPopupCodeInput extends LitElement {
13
13
  static styles = [
14
- ButtonContainerStyles,
14
+ CommonHeaderStyles,
15
15
  ScrollbarStyles,
16
16
  css`
17
17
  :host {
@@ -42,11 +42,12 @@ export class OxPopupCodeInput extends LitElement {
42
42
  <ox-input-code .value=${this.value} @change=${this.onChange.bind(this)} .language=${this.language}>
43
43
  </ox-input-code>
44
44
 
45
- <div class="button-container">
45
+ <div class="footer">
46
+ <div filler></div>
46
47
  <button @click=${this.onCancel.bind(this)} danger>
47
48
  <md-icon>cancel</md-icon>${i18next.t('button.cancel')}
48
49
  </button>
49
- <button @click=${this.onConfirm.bind(this)}><md-icon>done</md-icon>${i18next.t('button.confirm')}</button>
50
+ <button @click=${this.onConfirm.bind(this)} done><md-icon>done</md-icon>${i18next.t('button.confirm')}</button>
50
51
  </div>
51
52
  `
52
53
  }
@@ -7,13 +7,13 @@ import { customElement, property, state } from 'lit/decorators.js'
7
7
 
8
8
  import { i18next } from '@operato/i18n'
9
9
  import { closePopup } from '@operato/popup'
10
- import { ButtonContainerStyles, ScrollbarStyles } from '@operato/styles'
10
+ import { CommonHeaderStyles, ScrollbarStyles } from '@operato/styles'
11
11
  import { client } from '@operato/graphql'
12
12
 
13
13
  @customElement('ox-popup-privilege-input')
14
14
  export class OxPopupPrivilegeInput extends LitElement {
15
15
  static styles = [
16
- ButtonContainerStyles,
16
+ CommonHeaderStyles,
17
17
  ScrollbarStyles,
18
18
  css`
19
19
  :host {
@@ -44,11 +44,11 @@ export class OxPopupPrivilegeInput extends LitElement {
44
44
  <ox-input-privilege .value=${this.value} .privileges=${this.privileges} @change=${this.onChange.bind(this)}>
45
45
  </ox-input-privilege>
46
46
 
47
- <div class="button-container" style="margin-left: unset;">
47
+ <div class="footer">
48
48
  <button @click=${this.onReset.bind(this)}><md-icon>restart_alt</md-icon>${i18next.t('button.reset')}</button>
49
49
  <div filler></div>
50
50
  <button @click=${this.onCancel.bind(this)}><md-icon>cancel</md-icon>${i18next.t('button.cancel')}</button>
51
- <button @click=${this.onConfirm.bind(this)}><md-icon>done</md-icon>${i18next.t('button.confirm')}</button>
51
+ <button @click=${this.onConfirm.bind(this)} done><md-icon>done</md-icon>${i18next.t('button.confirm')}</button>
52
52
  </div>
53
53
  `
54
54
  }
@@ -10,12 +10,12 @@ import { client } from '@operato/graphql'
10
10
  import { i18next } from '@operato/i18n'
11
11
  import { closePopup } from '@operato/popup'
12
12
  import { isMobileDevice } from '@operato/utils'
13
- import { ButtonContainerStyles } from '@operato/styles'
13
+ import { CommonHeaderStyles } from '@operato/styles'
14
14
 
15
15
  @customElement('ox-selector-resource-id')
16
16
  export class OxSelectorResourceId extends LitElement {
17
17
  static styles = [
18
- ButtonContainerStyles,
18
+ CommonHeaderStyles,
19
19
  css`
20
20
  :host {
21
21
  display: flex;
@@ -67,13 +67,13 @@ export class OxSelectorResourceId extends LitElement {
67
67
  </div>
68
68
  </ox-grist>
69
69
 
70
- <div class="button-container" style="margin-left: unset;">
70
+ <div class="footer">
71
71
  <button @click=${this.onEmpty.bind(this)}>
72
72
  <md-icon>check_box_outline_blank</md-icon>${i18next.t('button.empty')}
73
73
  </button>
74
74
  <div filler></div>
75
75
  <button @click=${this.onCancel.bind(this)}><md-icon>cancel</md-icon>${i18next.t('button.cancel')}</button>
76
- <button @click=${this.onConfirm.bind(this)}><md-icon>done</md-icon>${i18next.t('button.confirm')}</button>
76
+ <button @click=${this.onConfirm.bind(this)} done><md-icon>done</md-icon>${i18next.t('button.confirm')}</button>
77
77
  </div>
78
78
  `
79
79
  }
@@ -18,16 +18,16 @@ import {
18
18
  ZERO_DATA
19
19
  } from '@operato/data-grist'
20
20
  import { MultiColumnFormStyles, OxSearchForm } from '@operato/form'
21
- import { buildArgs, client, gqlContext } from '@operato/graphql'
21
+ import { client } from '@operato/graphql'
22
22
  import { i18next } from '@operato/i18n'
23
23
  import { closePopup } from '@operato/popup'
24
24
  import { isMobileDevice } from '@operato/utils'
25
- import { ButtonContainerStyles } from '@operato/styles'
25
+ import { CommonHeaderStyles } from '@operato/styles'
26
26
 
27
27
  @customElement('ox-selector-resource-object-legacy')
28
28
  export class OxSelectorResourceObjectLegacy extends LitElement {
29
29
  static styles = [
30
- ButtonContainerStyles,
30
+ CommonHeaderStyles,
31
31
  MultiColumnFormStyles,
32
32
  css`
33
33
  :host {
@@ -106,7 +106,7 @@ export class OxSelectorResourceObjectLegacy extends LitElement {
106
106
  </div>
107
107
  </ox-grist>
108
108
 
109
- <div class="button-container" style="margin-left: unset;">
109
+ <div class="footer">
110
110
  <button @click=${this.onEmpty.bind(this)}>
111
111
  <md-icon>check_box_outline_blank</md-icon>${i18next.t('button.empty')}
112
112
  </button>
@@ -143,8 +143,7 @@ export class OxSelectorResourceObjectLegacy extends LitElement {
143
143
  }
144
144
  }
145
145
  `,
146
- variables: await this._buildConditions({ filters, page, limit, sorters, inherited: inherited || this.inherited }),
147
- context: gqlContext()
146
+ variables: await this._buildConditions({ filters, page, limit, sorters, inherited: inherited || this.inherited })
148
147
  })
149
148
 
150
149
  if (!response.errors) {