@things-factory/board-ui 8.0.0 → 9.0.0-beta.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.
Files changed (59) hide show
  1. package/dist-client/tsconfig.tsbuildinfo +1 -1
  2. package/package.json +19 -19
  3. package/translations/en.json +31 -29
  4. package/translations/ja.json +33 -31
  5. package/translations/ko.json +33 -31
  6. package/translations/ms.json +28 -25
  7. package/translations/zh.json +31 -29
  8. package/client/apptools/favorite-tool.ts +0 -124
  9. package/client/board-list/board-tile-list.ts +0 -272
  10. package/client/board-list/group-bar-styles.ts +0 -63
  11. package/client/board-list/group-bar.ts +0 -99
  12. package/client/board-list/play-group-bar.ts +0 -88
  13. package/client/board-provider.ts +0 -92
  14. package/client/bootstrap.ts +0 -39
  15. package/client/data-grist/board-editor.ts +0 -113
  16. package/client/data-grist/board-renderer.ts +0 -134
  17. package/client/data-grist/color-map-editor.ts +0 -17
  18. package/client/data-grist/color-ranges-editor.ts +0 -17
  19. package/client/graphql/board-template.ts +0 -141
  20. package/client/graphql/board.ts +0 -273
  21. package/client/graphql/favorite-board.ts +0 -25
  22. package/client/graphql/group.ts +0 -138
  23. package/client/graphql/index.ts +0 -6
  24. package/client/graphql/my-board.ts +0 -25
  25. package/client/graphql/play-group.ts +0 -189
  26. package/client/index.ts +0 -10
  27. package/client/pages/attachment-list-page.ts +0 -142
  28. package/client/pages/board-list-page.ts +0 -603
  29. package/client/pages/board-modeller-page.ts +0 -288
  30. package/client/pages/board-player-by-name-page.ts +0 -29
  31. package/client/pages/board-player-page.ts +0 -241
  32. package/client/pages/board-template/board-template-list-page.ts +0 -248
  33. package/client/pages/board-viewer-by-name-page.ts +0 -24
  34. package/client/pages/board-viewer-page.ts +0 -271
  35. package/client/pages/font-list-page.ts +0 -31
  36. package/client/pages/play-list-page.ts +0 -400
  37. package/client/pages/printable-board-viewer-page.ts +0 -54
  38. package/client/pages/theme/theme-editors.ts +0 -56
  39. package/client/pages/theme/theme-list-page.ts +0 -313
  40. package/client/pages/things-scene-components-with-tools.import +0 -0
  41. package/client/pages/things-scene-components.import +0 -0
  42. package/client/route.ts +0 -51
  43. package/client/setting-let/board-view-setting-let.ts +0 -68
  44. package/client/themes/board-theme.css +0 -77
  45. package/client/things-scene-import.d.ts +0 -4
  46. package/client/viewparts/board-basic-info.ts +0 -646
  47. package/client/viewparts/board-info-link.ts +0 -56
  48. package/client/viewparts/board-info.ts +0 -85
  49. package/client/viewparts/board-template-builder.ts +0 -134
  50. package/client/viewparts/board-versions.ts +0 -172
  51. package/client/viewparts/group-info-basic.ts +0 -267
  52. package/client/viewparts/group-info-import.ts +0 -132
  53. package/client/viewparts/group-info.ts +0 -87
  54. package/client/viewparts/index.ts +0 -3
  55. package/client/viewparts/link-builder.ts +0 -210
  56. package/client/viewparts/play-group-info-basic.ts +0 -268
  57. package/client/viewparts/play-group-info-link.ts +0 -46
  58. package/client/viewparts/play-group-info.ts +0 -81
  59. package/server/index.ts +0 -0
@@ -1,46 +0,0 @@
1
- import { css, html, LitElement } from 'lit'
2
- import { customElement, property, state } from 'lit/decorators.js'
3
-
4
- import { i18next } from '@operato/i18n'
5
- import { client } from '@operato/graphql'
6
-
7
- import './link-builder.js'
8
-
9
- @customElement('play-group-info-link')
10
- export class PlayGroupInfoLink extends LitElement {
11
- static styles = [
12
- css`
13
- :host {
14
- display: flex;
15
- background-color: var(--md-sys-color-surface);
16
- position: relative;
17
- text-align: center;
18
- color: var(--md-sys-color-on-surface);
19
- font: var(--label-font);
20
- }
21
-
22
- link-builder {
23
- flex: 1;
24
- text-align: start;
25
- }
26
-
27
- @media screen and (max-width: 460px) {
28
- :host {
29
- width: 100vw;
30
- }
31
- }
32
- `
33
- ]
34
-
35
- @property({ type: Object }) playGroup?: { id: string; name: string }
36
-
37
- render() {
38
- return html`
39
- <link-builder
40
- command="headless-player"
41
- target-id=${this.playGroup?.id || ''}
42
- target-name=${this.playGroup?.name || ''}
43
- ></link-builder>
44
- `
45
- }
46
- }
@@ -1,81 +0,0 @@
1
- import { css, html, LitElement } from 'lit'
2
- import { customElement, property, state } from 'lit/decorators.js'
3
- import { ifDefined } from 'lit/directives/if-defined.js'
4
-
5
- import { ScrollbarStyles } from '@operato/styles'
6
-
7
- import './play-group-info-basic'
8
- import './play-group-info-link'
9
-
10
- @customElement('play-group-info')
11
- export class PlayGroupInfo extends LitElement {
12
- static styles = [
13
- ScrollbarStyles,
14
- css`
15
- :host {
16
- height: 100%;
17
- min-width: 360px;
18
-
19
- display: flex;
20
- flex-direction: column;
21
- position: relative;
22
- background-color: var(--md-sys-color-surface);
23
- }
24
-
25
- [tab] {
26
- width: 100%;
27
- display: flex;
28
- }
29
-
30
- [tab] > * {
31
- flex: 1;
32
- }
33
-
34
- [content] {
35
- flex: 1;
36
- overflow-y: auto;
37
- }
38
-
39
- span {
40
- padding: 5px 4px 1px;
41
- font: var(--group-bar-textbutton);
42
- background-color: var(--md-sys-color-secondary);
43
- color: rgba(255, 255, 255, 0.8);
44
- text-align: center;
45
- text-transform: uppercase;
46
- }
47
-
48
- span[active] {
49
- background-color: var(--md-sys-color-primary);
50
- }
51
-
52
- @media screen and (max-width: 460px) {
53
- :host {
54
- width: 100vw;
55
- }
56
- }
57
- `
58
- ]
59
-
60
- @property({ type: Object }) playGroup?: { id: string; name: string }
61
-
62
- @state() tab: string = 'basic'
63
-
64
- render() {
65
- return html`
66
- <div tab>
67
- <span @click=${() => (this.tab = 'basic')} ?active=${this.tab == 'basic'}>basic</span>
68
- <span @click=${() => (this.tab = 'link')} ?active=${this.tab == 'link'}>link</span>
69
- </div>
70
- <div content>
71
- ${this.tab == 'basic'
72
- ? html`<play-group-info-basic playGroupId=${ifDefined(this.playGroup?.id)}></play-group-info-basic>`
73
- : html`<play-group-info-link .playGroup=${this.playGroup}></play-group-info-link>`}
74
- </div>
75
- `
76
- }
77
-
78
- close() {
79
- history.back()
80
- }
81
- }
package/server/index.ts DELETED
File without changes