@xibosignage/xibo-layout-renderer 1.0.0

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 (42) hide show
  1. package/LICENSE +165 -0
  2. package/README.md +2 -0
  3. package/dist/assets/logo-BLa_l1uk.png +0 -0
  4. package/dist/rollup.config.dev.d.ts +3 -0
  5. package/dist/rollup.config.prod.d.ts +3 -0
  6. package/dist/src/Modules/Generators/Generators.d.ts +30 -0
  7. package/dist/src/Modules/Generators/index.d.ts +1 -0
  8. package/dist/src/Modules/Layout/Layout.d.ts +12 -0
  9. package/dist/src/Modules/Layout/index.d.ts +1 -0
  10. package/dist/src/Modules/Media/AudioMedia.d.ts +5 -0
  11. package/dist/src/Modules/Media/Media.d.ts +9 -0
  12. package/dist/src/Modules/Media/VideoMedia.d.ts +4 -0
  13. package/dist/src/Modules/Media/index.d.ts +3 -0
  14. package/dist/src/Modules/Platform/Platform.d.ts +2 -0
  15. package/dist/src/Modules/Platform/index.d.ts +1 -0
  16. package/dist/src/Modules/Region/Region.d.ts +4 -0
  17. package/dist/src/Modules/Region/index.d.ts +1 -0
  18. package/dist/src/Modules/SplashScreen/SplashScreen.d.ts +11 -0
  19. package/dist/src/Modules/SplashScreen/index.d.ts +1 -0
  20. package/dist/src/Modules/Transitions/Transitions.d.ts +90 -0
  21. package/dist/src/Modules/Transitions/index.d.ts +1 -0
  22. package/dist/src/Types/Layout/Layout.types.d.ts +78 -0
  23. package/dist/src/Types/Layout/index.d.ts +1 -0
  24. package/dist/src/Types/Media/Media.types.d.ts +45 -0
  25. package/dist/src/Types/Media/index.d.ts +1 -0
  26. package/dist/src/Types/Region/Region.types.d.ts +49 -0
  27. package/dist/src/Types/Region/index.d.ts +1 -0
  28. package/dist/src/Types/XLR/XLR.types.d.ts +25 -0
  29. package/dist/src/Types/XLR/index.d.ts +1 -0
  30. package/dist/src/index.d.ts +2 -0
  31. package/dist/src/types.d.ts +4 -0
  32. package/dist/src/xibo-layout-renderer.d.ts +3 -0
  33. package/dist/styles.css +171 -0
  34. package/dist/xibo-layout-renderer.cjs.js +2634 -0
  35. package/dist/xibo-layout-renderer.cjs.js.map +1 -0
  36. package/dist/xibo-layout-renderer.d.ts +201 -0
  37. package/dist/xibo-layout-renderer.esm.js +2626 -0
  38. package/dist/xibo-layout-renderer.esm.js.map +1 -0
  39. package/dist/xibo-layout-renderer.js +2638 -0
  40. package/dist/xibo-layout-renderer.min.js +2 -0
  41. package/dist/xibo-layout-renderer.min.js.map +1 -0
  42. package/package.json +45 -0
@@ -0,0 +1,171 @@
1
+ /* Style the Splash Screen */
2
+ div.preview-splash {
3
+ height: 100%;
4
+ background-color: #000000;
5
+ background-repeat: no-repeat;
6
+ background-position: center center;
7
+ background-size: 45%;
8
+ }
9
+
10
+ div.preview-loader {
11
+ height: 19px;
12
+ width: 220px;
13
+ position: relative;
14
+ margin:0 auto;
15
+ top: 75%;
16
+ background-color: #000000;
17
+ background-repeat: no-repeat;
18
+ background-position: center center;
19
+ background-size: 100%;
20
+ }
21
+
22
+ div.preview-loaderCaption p {
23
+ position: absolute;
24
+ font-family: sans-serif;
25
+ color: #ffffff;
26
+ text-align:center;
27
+ top: 82%;
28
+ margin: 10px 0;
29
+ width: 100%;
30
+ }
31
+ /*
32
+ * Copyright (C) 2024 Xibo Signage Ltd
33
+ *
34
+ * Xibo - Digital Signage - https://www.xibosignage.com
35
+ *
36
+ * This file is part of Xibo.
37
+ *
38
+ * Xibo is free software: you can redistribute it and/or modify
39
+ * it under the terms of the GNU Lesser General Public License as published by
40
+ * the Free Software Foundation, either version 3 of the License, or
41
+ * any later version.
42
+ *
43
+ * Xibo is distributed in the hope that it will be useful,
44
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
45
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46
+ * GNU Lesser General Public License for more details.
47
+ *
48
+ * You should have received a copy of the GNU Lesser General Public License
49
+ * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
50
+ */
51
+ .play-audio-btn {
52
+ color: #fff;
53
+ background-color: #28a745;
54
+ border-color: #28a745;
55
+ display: inline-block;
56
+ font-weight: 400;
57
+ text-align: center;
58
+ vertical-align: middle;
59
+ -webkit-user-select: none;
60
+ -moz-user-select: none;
61
+ user-select: none;
62
+ border: 1px solid transparent;
63
+ padding: 0.375rem 0.75rem;
64
+ font-size: 1rem;
65
+ line-height: 1.5;
66
+ border-radius: 0.25rem;
67
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
68
+ cursor: pointer;
69
+ }
70
+ /*
71
+ * Copyright (C) 2024 Xibo Signage Ltd
72
+ *
73
+ * Xibo - Digital Signage - https://www.xibosignage.com
74
+ *
75
+ * This file is part of Xibo.
76
+ *
77
+ * Xibo is free software: you can redistribute it and/or modify
78
+ * it under the terms of the GNU Lesser General Public License as published by
79
+ * the Free Software Foundation, either version 3 of the License, or
80
+ * any later version.
81
+ *
82
+ * Xibo is distributed in the hope that it will be useful,
83
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
84
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
85
+ * GNU Lesser General Public License for more details.
86
+ *
87
+ * You should have received a copy of the GNU Lesser General Public License
88
+ * along with Xibo. If not, see <http://www.gnu.org/licenses/>.
89
+ */
90
+ html, body {
91
+ height: 100%;
92
+ margin: 0;
93
+ padding: 0;
94
+ /*cursor: none;*/
95
+ }
96
+ div.preview-container {
97
+ height: 100%;
98
+ z-index: 1;
99
+ background-color: #000000;
100
+ }
101
+ div.preview-canvas, div.player-preview, div.screen-preview {
102
+ height: 100%;
103
+ z-index: 1;
104
+ }
105
+
106
+ /* Styles override */
107
+ .preview-player {
108
+ display: none;
109
+ }
110
+ div.preview-ended {
111
+ position: absolute;
112
+ height: 100%;
113
+ width: 100%;
114
+ background: #000000;
115
+ font-family: sans-serif;
116
+ color: #ffffff;
117
+ font-size: 2em;
118
+ margin: 0 auto;
119
+ z-index: 100;
120
+ text-align: center;
121
+ }
122
+ div.preview-ended a {
123
+ position: absolute;
124
+ width: 100%;
125
+ top: 50%;
126
+ left: 0;
127
+ cursor: pointer;
128
+ text-decoration: none;
129
+ -webkit-transform: translateY(-50%);
130
+ -moz-transform: translateY(-50%);
131
+ -ms-transform: translateY(-50%);
132
+ -o-transform: translateY(-50%);
133
+ transform: translateY(-50%);
134
+ }
135
+ .media--item.fade-in {
136
+ -webkit-animation-name: elemFadeIn;
137
+ -webkit-animation-timing-function: linear;
138
+ -webkit-animation-fill-mode: forwards;
139
+ animation-name: elemFadeIn;
140
+ animation-timing-function: linear;
141
+ animation-fill-mode: forwards;
142
+ }
143
+
144
+ .media--item.fade-out {
145
+ -webkit-animation-name: elemFadeOut;
146
+ -webkit-animation-timing-function: linear;
147
+ -webkit-animation-fill-mode: forwards;
148
+ animation-name: elemFadeOut;
149
+ animation-timing-function: linear;
150
+ animation-fill-mode: forwards;
151
+ }
152
+
153
+ @-webkit-keyframes elemFadeIn {
154
+ 0% { opacity: 0; }
155
+ 100% { opacity: 1; }
156
+ }
157
+
158
+ @-webkit-keyframes elemFadeOut {
159
+ 0% { opacity: 1; }
160
+ 100% { opacity: 0; }
161
+ }
162
+
163
+ @keyframes elemFadeIn {
164
+ 0% { opacity: 0; }
165
+ 100% { opacity: 1; }
166
+ }
167
+
168
+ @keyframes elemFadeOut {
169
+ 0% { opacity: 1; }
170
+ 100% { opacity: 0; }
171
+ }