@operato/app 7.0.56 → 7.0.57
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/CHANGELOG.md +9 -0
- package/dist/src/grist-editor/ox-popup-code-input.js +5 -4
- package/dist/src/grist-editor/ox-popup-code-input.js.map +1 -1
- package/dist/src/grist-editor/ox-popup-privilege-input.js +4 -4
- package/dist/src/grist-editor/ox-popup-privilege-input.js.map +1 -1
- package/dist/src/selector/ox-selector-resource-id.js +4 -4
- package/dist/src/selector/ox-selector-resource-id.js.map +1 -1
- package/dist/src/selector/ox-selector-resource-object-legacy.js +5 -6
- package/dist/src/selector/ox-selector-resource-object-legacy.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/grist-editor/ox-popup-code-input.ts +5 -4
- package/src/grist-editor/ox-popup-privilege-input.ts +4 -4
- package/src/selector/ox-selector-resource-id.ts +4 -4
- package/src/selector/ox-selector-resource-object-legacy.ts +5 -6
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.
|
|
5
|
+
"version": "7.0.57",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
7
7
|
"module": "dist/src/index.js",
|
|
8
8
|
"exports": {
|
|
@@ -188,5 +188,5 @@
|
|
|
188
188
|
"prettier --write"
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
|
-
"gitHead": "
|
|
191
|
+
"gitHead": "1ea3b02ce5b2644d54c8588638b4d74c683335a7"
|
|
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 {
|
|
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
|
-
|
|
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="
|
|
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 {
|
|
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
|
-
|
|
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="
|
|
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 {
|
|
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
|
-
|
|
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="
|
|
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 {
|
|
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 {
|
|
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
|
-
|
|
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="
|
|
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) {
|