model-manager 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. package/administration/insert.js +179 -0
  2. package/administration/insert_one.js +33 -0
  3. package/administration/test_data.js +46 -0
  4. package/administration.html +76 -0
  5. package/app-update.yml +0 -0
  6. package/assets/css/admin.css +79 -0
  7. package/assets/css/basic.css +474 -0
  8. package/assets/css/checkout.css +517 -0
  9. package/assets/css/dialog.css +158 -0
  10. package/assets/css/dialog_checkout.css +156 -0
  11. package/assets/css/info.css +10 -0
  12. package/assets/logo.png +0 -0
  13. package/assets/partnerart.png +0 -0
  14. package/assets/spinner.gif +0 -0
  15. package/assets/three/GLTFLoader.js +4448 -0
  16. package/assets/three/ModelLoader.js +58 -0
  17. package/assets/three/OrbitControls.js +1252 -0
  18. package/assets/three/three.js +36819 -0
  19. package/assets/three/three.module.js +50708 -0
  20. package/assets/white/add_white_24dp.svg +1 -0
  21. package/assets/white/admin/person_add_FILL0_wght400_GRAD0_opsz48.svg +1 -0
  22. package/assets/white/admin/person_remove_FILL0_wght400_GRAD0_opsz48.svg +1 -0
  23. package/assets/white/admin.svg +1 -0
  24. package/assets/white/arrow_forward.svg +1 -0
  25. package/assets/white/brush_white_24dp.svg +1 -0
  26. package/assets/white/close_white_24dp.svg +1 -0
  27. package/assets/white/code_white_24dp.svg +1 -0
  28. package/assets/white/dashboard_white_24dp.svg +1 -0
  29. package/assets/white/done_white_24dp.svg +1 -0
  30. package/assets/white/emoji_people_white_24dp.svg +1 -0
  31. package/assets/white/filter_list_white_24dp.svg +1 -0
  32. package/assets/white/info_white_24dp.svg +1 -0
  33. package/assets/white/minimize_white_24dp.svg +1 -0
  34. package/assets/white/receipt_white_24dp.svg +1 -0
  35. package/assets/white/rocket_launch_white_24dp.svg +1 -0
  36. package/assets/white/search_black_24dp.svg +1 -0
  37. package/assets/white/search_white_24dp.svg +1 -0
  38. package/assets/white/settings_white_24dp.svg +1 -0
  39. package/assets/white/shopping_cart_white_24dp.svg +1 -0
  40. package/assets/white/store_white_24dp.svg +1 -0
  41. package/assets/white/timeline_white_24dp.svg +1 -0
  42. package/assets/white/view_in_ar_white_24dp.svg +1 -0
  43. package/checkout.html +131 -0
  44. package/checkout_admin.html +140 -0
  45. package/icon.png +0 -0
  46. package/imgs/armchair.png +0 -0
  47. package/imgs/arrow_tnt.png +0 -0
  48. package/imgs/bed_wnm.png +0 -0
  49. package/imgs/big_bed.png +0 -0
  50. package/imgs/birdscythe.png +0 -0
  51. package/imgs/blue_tnt.png +0 -0
  52. package/imgs/bull.png +0 -0
  53. package/imgs/carpet.png +0 -0
  54. package/imgs/chest.png +0 -0
  55. package/imgs/coin_stash.png +0 -0
  56. package/imgs/creeper_tnt.png +0 -0
  57. package/imgs/garbage_can.png +0 -0
  58. package/imgs/generator.png +0 -0
  59. package/imgs/golden_sword.png +0 -0
  60. package/imgs/highbed.png +0 -0
  61. package/imgs/jetpack1.png +0 -0
  62. package/imgs/jetpack2.png +0 -0
  63. package/imgs/jetpack3.png +0 -0
  64. package/imgs/jetpack4.png +0 -0
  65. package/imgs/jetpack5.png +0 -0
  66. package/imgs/jetpack6.png +0 -0
  67. package/imgs/karmincross.png +0 -0
  68. package/imgs/light_tnt.png +0 -0
  69. package/imgs/lucky_block.png +0 -0
  70. package/imgs/lucky_block_2.png +0 -0
  71. package/imgs/mega_tnt.png +0 -0
  72. package/imgs/modern_lamp.png +0 -0
  73. package/imgs/multiply_tnt.png +0 -0
  74. package/imgs/nuke.png +0 -0
  75. package/imgs/oak_tree.png +0 -0
  76. package/imgs/oak_tree_2.png +0 -0
  77. package/imgs/old_globe.png +0 -0
  78. package/imgs/scificannon_1.png +0 -0
  79. package/imgs/scificannon_10.png +0 -0
  80. package/imgs/scificannon_11.png +0 -0
  81. package/imgs/scificannon_12.png +0 -0
  82. package/imgs/scificannon_13.png +0 -0
  83. package/imgs/scificannon_14.png +0 -0
  84. package/imgs/scificannon_2.png +0 -0
  85. package/imgs/scificannon_3.png +0 -0
  86. package/imgs/scificannon_4.png +0 -0
  87. package/imgs/scificannon_5.png +0 -0
  88. package/imgs/scificannon_6.png +0 -0
  89. package/imgs/scificannon_7.png +0 -0
  90. package/imgs/scificannon_8.png +0 -0
  91. package/imgs/scificannon_9.png +0 -0
  92. package/imgs/simple_chair.png +0 -0
  93. package/imgs/small_car.png +0 -0
  94. package/imgs/small_modern_lamp.png +0 -0
  95. package/imgs/small_wardrobe.png +0 -0
  96. package/imgs/small_wooden_table.png +0 -0
  97. package/imgs/spike_sword.png +0 -0
  98. package/imgs/stone_holder.png +0 -0
  99. package/imgs/stone_sword.png +0 -0
  100. package/imgs/street_lamp.png +0 -0
  101. package/imgs/sword_1.png +0 -0
  102. package/imgs/sword_with_hole.png +0 -0
  103. package/imgs/testing.png +0 -0
  104. package/imgs/timer_tnt.png +0 -0
  105. package/imgs/tiny_tnt.png +0 -0
  106. package/imgs/tnt_cannon.png +0 -0
  107. package/imgs/wing_tnt.png +0 -0
  108. package/imgs/wooden_stool.png +0 -0
  109. package/imgs/wooden_wardrobe.png +0 -0
  110. package/index.html +178 -0
  111. package/index_admin.html +188 -0
  112. package/js/db/push_model.js +30 -0
  113. package/js/dialoges.js +23 -0
  114. package/js/item_functionality.js +7 -0
  115. package/js/load_cart.js +76 -0
  116. package/js/load_items.js +480 -0
  117. package/js/update.js +35 -0
  118. package/login.html +289 -0
  119. package/main.js +277 -0
  120. package/models/armchair.gltf +1 -0
  121. package/models/arrow_tnt.gltf +1 -0
  122. package/models/bedwnm.gltf +1 -0
  123. package/models/big_bed.gltf +1 -0
  124. package/models/birdscythe.gltf +1 -0
  125. package/models/blue_tnt.gltf +1 -0
  126. package/models/bull.gltf +1 -0
  127. package/models/carpet.gltf +1 -0
  128. package/models/chest.gltf +1 -0
  129. package/models/coin_stash.gltf +1 -0
  130. package/models/creeper_tnt.gltf +1 -0
  131. package/models/garbage_can.gltf +1 -0
  132. package/models/generator.gltf +1 -0
  133. package/models/golden_sword.gltf +1 -0
  134. package/models/highbed.gltf +1 -0
  135. package/models/jetpack1.gltf +1 -0
  136. package/models/jetpack2.gltf +1 -0
  137. package/models/jetpack3.gltf +1 -0
  138. package/models/jetpack4.gltf +1 -0
  139. package/models/jetpack5.gltf +1 -0
  140. package/models/jetpack6.gltf +1 -0
  141. package/models/karmincross.gltf +1 -0
  142. package/models/light_tnt.gltf +1 -0
  143. package/models/lucky_block.gltf +1 -0
  144. package/models/lucky_block_2.gltf +1 -0
  145. package/models/mega_tnt.gltf +1 -0
  146. package/models/modern_lamp.gltf +1 -0
  147. package/models/multiply_tnt.gltf +1 -0
  148. package/models/nuke.gltf +1 -0
  149. package/models/oak_tree.gltf +1 -0
  150. package/models/oak_tree_2.gltf +1 -0
  151. package/models/old globe.gltf +1 -0
  152. package/models/scificannon_1.gltf +1 -0
  153. package/models/scificannon_10.gltf +1 -0
  154. package/models/scificannon_11.gltf +1 -0
  155. package/models/scificannon_12.gltf +1 -0
  156. package/models/scificannon_13.gltf +1 -0
  157. package/models/scificannon_14.gltf +1 -0
  158. package/models/scificannon_2.gltf +1 -0
  159. package/models/scificannon_3.gltf +1 -0
  160. package/models/scificannon_4.gltf +1 -0
  161. package/models/scificannon_5.gltf +1 -0
  162. package/models/scificannon_6.gltf +1 -0
  163. package/models/scificannon_7.gltf +1 -0
  164. package/models/scificannon_8.gltf +1 -0
  165. package/models/scificannon_9.gltf +1 -0
  166. package/models/simple_chair.gltf +1 -0
  167. package/models/small_car.gltf +1 -0
  168. package/models/small_modern_lamp.gltf +1 -0
  169. package/models/small_wardrobe.gltf +1 -0
  170. package/models/small_wooden_table.gltf +1 -0
  171. package/models/spike_sword.gltf +1 -0
  172. package/models/stone_holder.gltf +1 -0
  173. package/models/stone_sword.gltf +1 -0
  174. package/models/street_lamp.gltf +1 -0
  175. package/models/sword_1.gltf +1 -0
  176. package/models/sword_with_hole.gltf +1 -0
  177. package/models/timer_tnt.gltf +1 -0
  178. package/models/tiny_tnt.gltf +1 -0
  179. package/models/tnt_cannon.gltf +1 -0
  180. package/models/wing_tnt.gltf +1 -0
  181. package/models/wooden_stool.gltf +1 -0
  182. package/models/wooden_wardrobe.gltf +1 -0
  183. package/package.json +47 -0
  184. package/preload.js +26 -0
  185. package/update.html +48 -0
@@ -0,0 +1,474 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ color: rgb(236, 236, 236);
5
+ }
6
+ html,body {
7
+ height: 100%;
8
+ }
9
+
10
+ body {
11
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
12
+ background: #181818;
13
+ overflow: hidden;
14
+ box-sizing: border-box;
15
+ }
16
+
17
+ ::-webkit-scrollbar {
18
+ width: 7px;
19
+ height: 10px;
20
+ }
21
+
22
+ ::-webkit-scrollbar-track {
23
+ background-color: rgb(17, 17, 17);;
24
+ }
25
+
26
+ ::-webkit-scrollbar-thumb {
27
+ background: linear-gradient(348deg, #5353e6 0%, #5199b6 48%, #0ebcdf 85%);
28
+ }
29
+
30
+ ::-webkit-scrollbar-thumb {
31
+ background-color: #d6dee1;
32
+ border-radius: 20px;
33
+ }
34
+ ::-webkit-scrollbar-thumb:hover {
35
+ background-color: #a8bbbf;
36
+ }
37
+
38
+ #head {
39
+ display: flex;
40
+ background: #2C2F33;
41
+ width: 100%;
42
+ height: 30px;
43
+ position: relative;
44
+ justify-content: space-between;
45
+ top: 0;
46
+ left: 0;
47
+ box-shadow: 3px 0px 5px 1px rgb(0, 0, 0, 0.1);
48
+ }
49
+
50
+ .drag-field-head {
51
+ -webkit-app-region:drag;
52
+ display: inline-block;
53
+ position: relative;
54
+ justify-content: space-between;
55
+ width: 98%;
56
+ height: 25px;
57
+ }
58
+
59
+ .btn-win {
60
+ display: flex;
61
+ cursor: pointer;
62
+ }
63
+
64
+ .win-btn {
65
+ left: 90%;
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: space-between;
69
+ margin: 0;
70
+ padding: 0;
71
+ float: right;
72
+ }
73
+
74
+ #sidebar {
75
+ background: #2C2F33;
76
+ width: 200px;
77
+ height: 100%;
78
+ position: fixed;
79
+ filter: drop-shadow(0 0 10px #121212);
80
+ top: 0;
81
+ left: 0;
82
+ box-shadow: 3px 0px 5px 1px rgb(0, 0, 0, 0.1);
83
+ }
84
+
85
+ .title-container {
86
+ -webkit-app-region: drag;
87
+ display: flex;
88
+ align-items: center;
89
+ justify-content: space-around;
90
+ padding: 20px 0px;
91
+ }
92
+
93
+ .title-container h1 {
94
+ font-size: 24px;
95
+ }
96
+
97
+ .links-container {
98
+ padding: 0px 15px;
99
+ }
100
+
101
+ .info-container {
102
+ left: 10%;
103
+ width: 25%;
104
+ bottom: 5px;
105
+ position: absolute;
106
+ padding: 0px 3px;
107
+ }
108
+
109
+ .info {
110
+ display: flex;
111
+ align-items: center;
112
+ }
113
+
114
+ .info span {
115
+ padding: 0px 21px;
116
+ }
117
+
118
+
119
+ .links {
120
+ display: flex;
121
+ align-items: center;
122
+ filter: drop-shadow(0 0 10px #121212);
123
+ }
124
+
125
+ .active {
126
+ background: linear-gradient(348deg, rgba(83,83,230,1) 0%, rgba(81,153,182,1) 48%, rgba(14,188,223,1) 85%);
127
+ border-radius: 5px;
128
+ }
129
+
130
+
131
+
132
+
133
+ .links span {
134
+ cursor: pointer;
135
+ padding: 0px 20px;
136
+ }
137
+
138
+ .links span:hover {
139
+ color: #1996c7;
140
+ transition: 0.5s;
141
+ }
142
+
143
+
144
+ .info span {
145
+ cursor: pointer;
146
+ padding: 0px 20px;
147
+ }
148
+
149
+ .info span:hover {
150
+ color: #1996c7;
151
+ transition: 0.5s;
152
+ }
153
+
154
+
155
+ .icon {
156
+ height: 50px;
157
+ width: 50px;
158
+ display: flex;
159
+ justify-content: center;
160
+ align-items: center;
161
+ }
162
+
163
+ .icon-info {
164
+ height: 50px;
165
+ width: 50px;
166
+ display: flex;
167
+ padding-left: 25%;
168
+ justify-content: center;
169
+ align-items: center;
170
+ }
171
+
172
+ #main-content {
173
+ margin-left: 200px;
174
+ box-sizing: border-box;
175
+ background: #181818;
176
+ height: 90%;
177
+ padding: 35px 25px;
178
+ }
179
+
180
+
181
+ .action-icon-one {
182
+ width: 40px;
183
+ height: 40px;
184
+ display: flex;
185
+ justify-content: center;
186
+ align-items: center;
187
+ border-radius: 50%;
188
+ background: linear-gradient(348deg, rgba(83,83,230,1) 0%, #5199b6 48%, rgba(14,188,223,1) 85%);
189
+ box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.2);
190
+ margin-left: 8px;
191
+ }
192
+
193
+ .action-icons {
194
+ display: flex;
195
+ justify-content: center;
196
+ align-items: center;
197
+ }
198
+
199
+ .input-box{
200
+ display: flex;
201
+ justify-content: space-between;
202
+ width: 560px;
203
+ padding: 5px 25px;
204
+ border-radius: 5px;
205
+ background: #242629;
206
+ }
207
+
208
+ .input-box input{
209
+ border: none;
210
+ outline: none;
211
+ width: 100%;
212
+ color: rgb(236, 236, 236);
213
+ background: #242629;
214
+ }
215
+
216
+ .input-icon {
217
+ display: flex;
218
+ padding-right: 4px;
219
+ padding-left: -4px;
220
+ justify-content: center;
221
+ align-items: center;
222
+ }
223
+
224
+
225
+ #top-section {
226
+ display: flex;
227
+ align-items: center;
228
+ justify-content: space-between;
229
+ }
230
+
231
+
232
+ #items {
233
+ display: grid;
234
+ grid-template-columns: 20% 20% 20% 20% 20%;
235
+ grid-auto-rows: 180px;
236
+ position: relative;
237
+ width: 100%;
238
+ height: 100%;
239
+ overflow:auto;
240
+ z-index: 0;
241
+ }
242
+ /* For large screens */
243
+ @media only screen and (max-width: 1500px) {
244
+ #items {
245
+ display: grid;
246
+ grid-template-columns: 24% 24% 23.7% 24%;
247
+ grid-auto-rows: 180px;
248
+ position: relative;
249
+ width: 100%;
250
+ grid-column-gap: 15px;
251
+ height: 100%;
252
+ overflow:auto;
253
+ z-index: 0;
254
+ }
255
+ }
256
+
257
+ @media only screen and (min-width: 1501px) {
258
+ #items {
259
+ display: grid;
260
+ grid-template-columns: 20% 20% 20% 20% 20%;
261
+ grid-auto-rows: 180px;
262
+ grid-row-gap: 7px;
263
+ position: relative;
264
+ width: 100%;
265
+ height: 100%;
266
+ overflow:auto;
267
+ z-index: 1;
268
+ }
269
+ }
270
+
271
+
272
+ .grid-item {
273
+ cursor: pointer;
274
+ position: relative;
275
+ height: 100%;
276
+ width: 100%;
277
+ border-radius: 5px;
278
+ box-sizing: border-box;
279
+ padding: 30px;
280
+ top: 50%;
281
+ left: 50%;
282
+ filter: drop-shadow(0 0 10px #292929);
283
+ transform: translate(-50%,-50%);
284
+ }
285
+
286
+ .grid-picture {
287
+ display: inline;
288
+ position:absolute;
289
+ top: 0;
290
+ height: 100%;
291
+ box-sizing: border-box;
292
+ justify-content: center;
293
+ align-items: center;
294
+ left: 0;
295
+ z-index: 0;
296
+ }
297
+
298
+ .grid-picture img {
299
+ position: relative;
300
+ width: 100%;
301
+ height: 90%;
302
+ margin-top: 15px;
303
+ border-radius: 5px;
304
+ z-index: 0;
305
+ }
306
+
307
+ .grid-label {
308
+ width: 100%;
309
+ position:relative;
310
+ white-space: nowrap;
311
+ top: 76%;
312
+ left: -25px;
313
+ text-overflow: ellipsis;
314
+ }
315
+
316
+ .grid-data {
317
+ display: grid;
318
+ grid-template-columns: 45px 45px 45px 45px;
319
+ grid-template-rows: 25px;
320
+ width: 180px;
321
+ height: 29px;
322
+ position: relative;
323
+ left: -18px;
324
+ top: 77%;
325
+ margin: 5px;
326
+ z-index: 0;
327
+ }
328
+
329
+
330
+ .result-headline {
331
+ padding-top: 10px;
332
+ }
333
+
334
+ [data-tooltip] {
335
+ position: absolute;
336
+ z-index: 1000;
337
+ }
338
+ [data-tooltip]:before,
339
+ [data-tooltip]:after {
340
+ z-index: 10000;
341
+ line-height: 1;
342
+ font-size: .9em;
343
+ pointer-events: none;
344
+ position: absolute;
345
+ box-sizing: border-box;
346
+ display: none;
347
+ opacity: 0;
348
+ }
349
+ [data-tooltip]:before {
350
+ content: "";
351
+ border: 5px solid transparent;
352
+ z-index: 100;
353
+ }
354
+ [data-tooltip]:after {
355
+ content: attr(data-tooltip);
356
+ text-align: center;
357
+ min-width: 3em;
358
+ max-width: 21em;
359
+ white-space: nowrap;
360
+ overflow: hidden;
361
+ text-overflow: ellipsis;
362
+ padding: 6px 12px;
363
+ border-radius: 3px;
364
+ background: #5199B6;
365
+ color: #ECECEC;
366
+ z-index: 99;
367
+ }
368
+ [data-tooltip]:hover:before,
369
+ [data-tooltip]:hover:after {
370
+ display: block;
371
+ opacity: 1;
372
+ }
373
+ [data-tooltip]:not([data-flow])::before,
374
+ [data-tooltip][data-flow="top"]::before {
375
+ bottom: 100%;
376
+ border-bottom-width: 0;
377
+ border-top-color: #5199B6;
378
+ }
379
+ [data-tooltip]:not([data-flow])::after,
380
+ [data-tooltip][data-flow="top"]::after {
381
+ bottom: calc(100% + 5px);
382
+ }
383
+ [data-tooltip]:not([data-flow])::before, [tooltip]:not([data-flow])::after,
384
+ [data-tooltip][data-flow="top"]::before,
385
+ [data-tooltip][data-flow="top"]::after {
386
+ left: 50%;
387
+ -webkit-transform: translate(-50%, -4px);
388
+ transform: translate(-50%, -4px);
389
+ }
390
+ [data-tooltip][data-flow="bottom"]::before {
391
+ top: 100%;
392
+ border-top-width: 0;
393
+ border-bottom-color: #5199B6;
394
+ }
395
+ [data-tooltip][data-flow="bottom"]::after {
396
+ top: calc(100% + 5px);
397
+ }
398
+ [data-tooltip][data-flow="bottom"]::before, [data-tooltip][data-flow="bottom"]::after {
399
+ left: 50%;
400
+ -webkit-transform: translate(-50%, 8px);
401
+ transform: translate(-50%, 8px);
402
+ }
403
+ [data-tooltip][data-flow="left"]::before {
404
+ top: 50%;
405
+ border-right-width: 0;
406
+ border-left-color: #5199B6;
407
+ left: calc(0em - 5px);
408
+ -webkit-transform: translate(-8px, -50%);
409
+ transform: translate(-8px, -50%);
410
+ }
411
+ [data-tooltip][data-flow="left"]::after {
412
+ top: 50%;
413
+ right: calc(100% + 5px);
414
+ -webkit-transform: translate(-8px, -50%);
415
+ transform: translate(-8px, -50%);
416
+ }
417
+ [data-tooltip][data-flow="right"]::before {
418
+ top: 50%;
419
+ border-left-width: 0;
420
+ border-right-color: #5199B6;
421
+ right: calc(0em - 5px);
422
+ -webkit-transform: translate(8px, -50%);
423
+ transform: translate(8px, -50%);
424
+ }
425
+ [data-tooltip][data-flow="right"]::after {
426
+ top: 50%;
427
+ left: calc(100% + 5px);
428
+ -webkit-transform: translate(8px, -50%);
429
+ transform: translate(8px, -50%);
430
+ }
431
+ [data-tooltip=""]::after, [data-tooltip=""]::before {
432
+ display: none !important;
433
+ }
434
+
435
+ #loading {
436
+ pointer-events: none;
437
+ position: fixed;
438
+ display: block;
439
+ width: 100%;
440
+ height: 100%;
441
+ top: 0;
442
+ left: 0;
443
+ text-align: center;
444
+ opacity: 0.7;
445
+ z-index: 99;
446
+ }
447
+ #loading-image {
448
+ position: absolute;
449
+ top: 50%;
450
+ left: 50%;
451
+ transform: translate(50%, -50%);
452
+ z-index: 100;
453
+ }
454
+
455
+ #loading-text {
456
+ font-weight: lighter;
457
+ position: absolute;
458
+ top: 57%;
459
+ left: 49.8%;
460
+ transform: translate(50%, -50%);
461
+ z-index: 100;
462
+ }
463
+
464
+ .drag-field-text {
465
+ margin-top: 6px;
466
+ margin-left: 50%;
467
+ font-size: 14px;
468
+ color: rgb(204, 202, 202);
469
+ font-weight: 400;
470
+ }
471
+
472
+ .hidden {
473
+ opacity: 0;
474
+ }