jclic 2.2.1 → 2.3.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.
- package/README.md +5 -7
- package/dist-node/jclic-node.js +14157 -0
- package/dist-node/jclic-node.umd.cjs +530 -0
- package/package.json +38 -26
- package/.vscode/launch.json +0 -33
- package/.vscode/settings.json +0 -13
- package/CHANGELOG.md +0 -672
- package/TRANSLATIONS.md +0 -11
- package/build-locales.mjs +0 -82
- package/dist/jclic-node.js +0 -31680
- package/dist/jclic-node.js.map +0 -1
- package/dist/jclic.components.LICENSE +0 -2254
- package/dist/jclic.min.js +0 -27
- package/dist/jclic.min.js.map +0 -1
- package/eslint.config.mjs +0 -31
- package/jsdoc.config.js +0 -71
- package/locales/ar.po +0 -244
- package/locales/ast.po +0 -246
- package/locales/bs.po +0 -247
- package/locales/ca.po +0 -248
- package/locales/ca_ES@valencia.po +0 -248
- package/locales/cs.po +0 -244
- package/locales/da.po +0 -244
- package/locales/de.po +0 -246
- package/locales/el.po +0 -244
- package/locales/es.po +0 -248
- package/locales/eu.po +0 -244
- package/locales/fr.po +0 -244
- package/locales/gl.po +0 -244
- package/locales/he.po +0 -244
- package/locales/hr.po +0 -245
- package/locales/it.po +0 -246
- package/locales/ja.po +0 -242
- package/locales/jclic.js.pot +0 -241
- package/locales/nb_NO.po +0 -244
- package/locales/nl.po +0 -244
- package/locales/pl.po +0 -244
- package/locales/pt.po +0 -244
- package/locales/pt_BR.po +0 -248
- package/locales/ro.po +0 -248
- package/locales/ru.po +0 -245
- package/locales/ta.po +0 -244
- package/locales/tr.po +0 -246
- package/locales/uk.po +0 -247
- package/locales/vec.po +0 -244
- package/locales/zh_TW.po +0 -246
- package/patches/po2json+1.0.0-beta-3.patch +0 -12
- package/src/AWT.js +0 -2067
- package/src/Activity.js +0 -1311
- package/src/Deps.js +0 -232
- package/src/GlobalData.js +0 -5
- package/src/JClic.js +0 -196
- package/src/JClicPlayer.js +0 -1308
- package/src/PlayerHistory.js +0 -305
- package/src/Utils.js +0 -1355
- package/src/activities/associations/ComplexAssociation.js +0 -321
- package/src/activities/associations/SimpleAssociation.js +0 -519
- package/src/activities/memory/MemoryGame.js +0 -423
- package/src/activities/panels/Explore.js +0 -349
- package/src/activities/panels/Identify.js +0 -356
- package/src/activities/panels/InformationScreen.js +0 -262
- package/src/activities/panels/Menu.js +0 -209
- package/src/activities/panels/icons/ico00.png +0 -0
- package/src/activities/panels/icons/ico01.png +0 -0
- package/src/activities/panels/icons/ico02.png +0 -0
- package/src/activities/panels/icons/ico03.png +0 -0
- package/src/activities/panels/icons/icofolder.png +0 -0
- package/src/activities/puzzles/DoublePuzzle.js +0 -424
- package/src/activities/puzzles/ExchangePuzzle.js +0 -374
- package/src/activities/puzzles/HolePuzzle.js +0 -360
- package/src/activities/text/Complete.js +0 -127
- package/src/activities/text/Evaluator.js +0 -534
- package/src/activities/text/FillInBlanks.js +0 -426
- package/src/activities/text/IdentifyText.js +0 -253
- package/src/activities/text/OrderText.js +0 -421
- package/src/activities/text/TextActivityBase.js +0 -557
- package/src/activities/text/TextActivityDocument.js +0 -660
- package/src/activities/text/WrittenAnswer.js +0 -557
- package/src/activities/textGrid/CrossWord.js +0 -565
- package/src/activities/textGrid/WordSearch.js +0 -458
- package/src/activities/textGrid/icons/hIcon.svg +0 -3
- package/src/activities/textGrid/icons/vIcon.svg +0 -3
- package/src/automation/AutoContentProvider.js +0 -182
- package/src/automation/arith/Arith.js +0 -864
- package/src/bags/ActivitySequence.js +0 -318
- package/src/bags/ActivitySequenceElement.js +0 -161
- package/src/bags/ActivitySequenceJump.js +0 -140
- package/src/bags/ConditionalJumpInfo.js +0 -113
- package/src/bags/JumpInfo.js +0 -136
- package/src/bags/MediaBag.js +0 -215
- package/src/bags/MediaBagElement.js +0 -516
- package/src/boxes/AbstractBox.js +0 -699
- package/src/boxes/ActiveBagContent.js +0 -494
- package/src/boxes/ActiveBox.js +0 -810
- package/src/boxes/ActiveBoxBag.js +0 -357
- package/src/boxes/ActiveBoxContent.js +0 -484
- package/src/boxes/ActiveBoxGrid.js +0 -179
- package/src/boxes/BoxBag.js +0 -500
- package/src/boxes/BoxBase.js +0 -398
- package/src/boxes/BoxConnector.js +0 -325
- package/src/boxes/TextGrid.js +0 -887
- package/src/boxes/TextGridContent.js +0 -215
- package/src/init-jsdom.js +0 -65
- package/src/jclic-node.js +0 -219
- package/src/media/ActiveMediaBag.js +0 -145
- package/src/media/ActiveMediaPlayer.js +0 -297
- package/src/media/AudioBuffer.js +0 -219
- package/src/media/EventSounds.js +0 -169
- package/src/media/EventSoundsElement.js +0 -155
- package/src/media/MediaContent.js +0 -328
- package/src/media/MidiAudioPlayer.js +0 -254
- package/src/media/icons/audio.svg +0 -3
- package/src/media/icons/generic.svg +0 -3
- package/src/media/icons/mic.svg +0 -3
- package/src/media/icons/movie.svg +0 -3
- package/src/media/icons/music.svg +0 -3
- package/src/media/icons/url.svg +0 -3
- package/src/media/sounds/actionError.mp3 +0 -0
- package/src/media/sounds/actionOk.mp3 +0 -0
- package/src/media/sounds/click.mp3 +0 -0
- package/src/media/sounds/finishedError.mp3 +0 -0
- package/src/media/sounds/finishedOk.mp3 +0 -0
- package/src/media/sounds/start.mp3 +0 -0
- package/src/project/JClicProject.js +0 -282
- package/src/project/ProjectSettings.js +0 -273
- package/src/report/ActionReg.js +0 -123
- package/src/report/ActivityReg.js +0 -271
- package/src/report/EncryptMin.js +0 -210
- package/src/report/Reporter.js +0 -727
- package/src/report/SCORM.js +0 -272
- package/src/report/SequenceReg.js +0 -275
- package/src/report/SessionReg.js +0 -340
- package/src/report/SessionStorageReporter.js +0 -131
- package/src/report/TCPReporter.js +0 -628
- package/src/shapers/ClassicJigSaw.js +0 -138
- package/src/shapers/Holes.js +0 -77
- package/src/shapers/JigSaw.js +0 -161
- package/src/shapers/Rectangular.js +0 -78
- package/src/shapers/Shaper.js +0 -386
- package/src/shapers/TriangularJigSaw.js +0 -121
- package/src/skins/BlueSkin.js +0 -80
- package/src/skins/Counter.js +0 -152
- package/src/skins/CustomSkin.js +0 -412
- package/src/skins/DefaultSkin.js +0 -376
- package/src/skins/EmptySkin.js +0 -82
- package/src/skins/GreenSkin.js +0 -94
- package/src/skins/MiniSkin.js +0 -130
- package/src/skins/OrangeSkin.js +0 -78
- package/src/skins/SimpleSkin.js +0 -92
- package/src/skins/Skin.js +0 -1021
- package/src/skins/assets/actionsIcon.svg +0 -3
- package/src/skins/assets/appLogo.svg +0 -8
- package/src/skins/assets/basic.css +0 -41
- package/src/skins/assets/closeDialogIcon.svg +0 -3
- package/src/skins/assets/closeIcon.svg +0 -3
- package/src/skins/assets/copyIcon.svg +0 -3
- package/src/skins/assets/fullScreenExitIcon.svg +0 -3
- package/src/skins/assets/fullScreenIcon.svg +0 -3
- package/src/skins/assets/infoIcon.svg +0 -3
- package/src/skins/assets/main.css +0 -43
- package/src/skins/assets/mainHalf.css +0 -23
- package/src/skins/assets/mainTwoThirds.css +0 -23
- package/src/skins/assets/mini.css +0 -15
- package/src/skins/assets/nextIcon.svg +0 -3
- package/src/skins/assets/okDialogIcon.svg +0 -3
- package/src/skins/assets/prevIcon.svg +0 -3
- package/src/skins/assets/reports.css +0 -156
- package/src/skins/assets/reportsIcon.svg +0 -3
- package/src/skins/assets/scoreIcon.svg +0 -3
- package/src/skins/assets/simple.css +0 -16
- package/src/skins/assets/simpleHalf.css +0 -11
- package/src/skins/assets/simpleTwoThirds.css +0 -11
- package/src/skins/assets/timeIcon.svg +0 -4
- package/src/skins/assets/waitAnim.css +0 -54
- package/src/skins/assets/waitImgBig.svg +0 -3
- package/src/skins/assets/waitImgSmall.svg +0 -3
- package/webpack.config.mjs +0 -169
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg fill="#FFFFFF" viewBox="0 0 24 24" width="18" height="18" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M13.49 5.48c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-3.6 13.9l1-4.4 2.1 2v6h2v-7.5l-2.1-2 .6-3c1.3 1.5 3.3 2.5 5.5 2.5v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1l-5.2 2.2v4.7h2v-3.4l1.8-.7-1.6 8.1-4.9-1-.4 2 7 1.4z" />
|
|
3
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g transform="matrix(.02081 0 0-.02081 5 62.33)">
|
|
3
|
-
<path d="m1263 1297l270 1003 996-267-267-990c-427-1583-2420-1046-1999 519 3 11 999-266 999-266z" fill="none" stroke="#9d6329" stroke-linejoin="round" stroke-linecap="round" stroke-width="180" stroke-miterlimit="3.864" />
|
|
4
|
-
<path d="m1263 1297l270 1003 996-267-267-990c-427-1583-2420-1046-1998 519 3 11 999-266 999-266" fill="#f89c0e" />
|
|
5
|
-
<path d="m357 2850l1000-268-267-992-1000 266 267 994z" fill="none" stroke="#86882b" stroke-linejoin="round" stroke-linecap="round" stroke-width="180" stroke-miterlimit="3.864" />
|
|
6
|
-
<path d="m357 2850l1000-268-267-992-1000 266 267 994" fill="#d9e70c" />
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.ID {
|
|
2
|
-
width: 100%;
|
|
3
|
-
background-color: #3F51B5;
|
|
4
|
-
display: -webkit-flex;
|
|
5
|
-
display: flex;
|
|
6
|
-
-webkit-flex-direction: column;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ID .JClicPlayerCnt {
|
|
11
|
-
background-color: lightblue;
|
|
12
|
-
margin: 18px;
|
|
13
|
-
-webkit-flex-grow: 1;
|
|
14
|
-
flex-grow: 1;
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ID .JClicPlayerCnt>div {
|
|
19
|
-
position: absolute;
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: 100%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ID button:not(.StockBtn) {
|
|
25
|
-
background: transparent;
|
|
26
|
-
padding: 0;
|
|
27
|
-
border: none;
|
|
28
|
-
box-shadow: none;
|
|
29
|
-
text-shadow: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ID .unselectableText {
|
|
33
|
-
-webkit-user-select: none;
|
|
34
|
-
-moz-user-select: none;
|
|
35
|
-
-ms-user-select: none;
|
|
36
|
-
user-select: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ID .progressBar {
|
|
40
|
-
width: 250px
|
|
41
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg fill="#FFFFFF" viewBox="0 0 24 24" width="36" height="36" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z" />
|
|
3
|
-
</svg>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.ID .JClicCtrlCnt {
|
|
2
|
-
margin: 0 9px 18px 9px;
|
|
3
|
-
display: -webkit-flex;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ID .JClicCountCnt {
|
|
10
|
-
display: -webkit-flex;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ID .JClicMsgBox {
|
|
16
|
-
height: 60px;
|
|
17
|
-
flex-grow: 1;
|
|
18
|
-
background-color: lightblue;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ID .JClicBtn {
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
line-height: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ID .JClicBtn:disabled {
|
|
27
|
-
cursor: inherit;
|
|
28
|
-
opacity: 0.3;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ID .JClicCounter {
|
|
32
|
-
width: 40px;
|
|
33
|
-
height: 20px;
|
|
34
|
-
padding-left: 20px;
|
|
35
|
-
color: white;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
font-family: Roboto, Sans-serif;
|
|
38
|
-
font-size: 18px;
|
|
39
|
-
text-align: center;
|
|
40
|
-
background-repeat: no-repeat;
|
|
41
|
-
background-position: left;
|
|
42
|
-
box-sizing: content-box;
|
|
43
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.ID .JClicPlayerCnt {
|
|
2
|
-
margin: 9px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.ID .JClicCtrlCnt {
|
|
6
|
-
margin: 0 4px 9px 4px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ID .JClicCtrlCnt button svg, img {
|
|
10
|
-
width: 18px;
|
|
11
|
-
height: 18px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ID .JClicMsgBox {
|
|
15
|
-
height: 30px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ID .JClicCounter {
|
|
19
|
-
width: 20px;
|
|
20
|
-
height: 10px;
|
|
21
|
-
margin-left: -15px;
|
|
22
|
-
transform: scale(0.5);
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.ID .JClicPlayerCnt {
|
|
2
|
-
margin: 12px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.ID .JClicCtrlCnt {
|
|
6
|
-
margin: 0 6px 12px 6px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ID .JClicCtrlCnt button svg, img {
|
|
10
|
-
width: 24px;
|
|
11
|
-
height: 24px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ID .JClicMsgBox {
|
|
15
|
-
height: 40px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ID .JClicCounter {
|
|
19
|
-
width: 27px;
|
|
20
|
-
height: 13px;
|
|
21
|
-
margin-left: -10px;
|
|
22
|
-
transform: scale(0.666);
|
|
23
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
.ID .dlgDiv {
|
|
2
|
-
background-color: #efefef;
|
|
3
|
-
color: #757575;
|
|
4
|
-
font-family: Roboto, sans-serif;
|
|
5
|
-
font-size: 10pt;
|
|
6
|
-
line-height: normal;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ID .dlgDiv a, a:visited, a:active, a:hover {
|
|
10
|
-
text-decoration: none;
|
|
11
|
-
color: inherit;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ID .dlgMainPanel {
|
|
15
|
-
padding: 1em 2em;
|
|
16
|
-
max-height: calc(100vh - 8em);
|
|
17
|
-
max-width: calc(100vw - 2em);
|
|
18
|
-
min-width: 20em;
|
|
19
|
-
overflow: auto;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.ID .dlgMainPanel .headTitle {
|
|
23
|
-
font-size: 2.5em;
|
|
24
|
-
font-weight: bold;
|
|
25
|
-
margin: auto;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ID .dlgMainPanel .subTitle {
|
|
29
|
-
font-size: 1.4em;
|
|
30
|
-
font-weight: bold;
|
|
31
|
-
margin-bottom: 0.5em;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ID .dlgMainPanel p {
|
|
35
|
-
font-size: 1.1em;
|
|
36
|
-
margin-bottom: 0.5em;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.ID .dlgMainPanel table {
|
|
40
|
-
table-layout: fixed;
|
|
41
|
-
width: 40em;
|
|
42
|
-
margin: 0.5em 0 1.7em 0;
|
|
43
|
-
border-collapse: collapse;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.ID .dlgMainPanel select {
|
|
47
|
-
min-width: 20em;
|
|
48
|
-
font-size: 1.2em;
|
|
49
|
-
font-family: Roboto, sans-serif;
|
|
50
|
-
color: #757575;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ID .dlgMainPanel input {
|
|
54
|
-
margin-left: 1em;
|
|
55
|
-
font-size: 1.2em;
|
|
56
|
-
font-family: Roboto, sans-serif;
|
|
57
|
-
border-color: lightgray;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ID .infoHead {
|
|
61
|
-
padding: 1em 0em 0.5em;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.ID .JCGlobalResults td {
|
|
65
|
-
padding: 0.4em;
|
|
66
|
-
border-bottom: 1px solid #b6b6b6;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.ID .JCGlobalResults td:first-child {
|
|
70
|
-
font-weight: 600;
|
|
71
|
-
width: 14em;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.ID .JCDetailed td, th {
|
|
75
|
-
border-bottom: 1px solid #b6b6b6;
|
|
76
|
-
padding: 0.3em 0.4em;
|
|
77
|
-
vertical-align: top;
|
|
78
|
-
text-align: center;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
text-overflow: ellipsis;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.ID .JCDetailed thead {
|
|
84
|
-
font-weight: 600;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ID .JCDetailed th:first-child {
|
|
88
|
-
width: 7em;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ID .JCDetailed th:nth-last-child(4) {
|
|
92
|
-
width: 4em;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.ID .JCDetailed th:nth-last-child(-n+3) {
|
|
96
|
-
width: 4.1em;
|
|
97
|
-
text-align: right;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ID .JCDetailed td:nth-last-child(-n+3) {
|
|
101
|
-
text-align: right;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.ID .JCDetailed .ok {
|
|
105
|
-
color: #4bae4f;
|
|
106
|
-
font-weight: 600;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.ID .JCDetailed .no {
|
|
110
|
-
color: #f34235;
|
|
111
|
-
font-weight: 600;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ID .JCDetailed tr:last-child {
|
|
115
|
-
font-weight: bold;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.ID .JCDetailed .incomplete {
|
|
119
|
-
font-style: italic;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.ID .dlgBottomPanel {
|
|
123
|
-
height: 3.5em;
|
|
124
|
-
background-color: white;
|
|
125
|
-
padding: 0.5em;
|
|
126
|
-
font-weight: bold;
|
|
127
|
-
text-align: right;
|
|
128
|
-
border-top: 1px solid #eee;
|
|
129
|
-
position: relative;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.ID .dlgBottomPanel .smallPopup {
|
|
133
|
-
background-color: #222;
|
|
134
|
-
color: #ddd;
|
|
135
|
-
padding: 0.5em;
|
|
136
|
-
font-size: 0.9em;
|
|
137
|
-
position: absolute;
|
|
138
|
-
right: 6em;
|
|
139
|
-
top: 1em;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.ID .dlgBottomPanel button {
|
|
143
|
-
display: inline-block;
|
|
144
|
-
padding: 10px;
|
|
145
|
-
cursor: pointer;
|
|
146
|
-
line-height: 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.ID .dlgBottomPanel button:hover {
|
|
150
|
-
background-color: #eee;
|
|
151
|
-
border-radius: 80px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.ID .dlgBottomPanel button:active {
|
|
155
|
-
background-color: #b3e5fc;
|
|
156
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg fill="#FFFFFF" viewBox="0 0 24 24" width="18" height="18" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" />
|
|
3
|
-
<path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" />
|
|
4
|
-
</svg>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
.ID .waitPanel {
|
|
2
|
-
display: -webkit-flex;
|
|
3
|
-
display: flex;
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 100%;
|
|
6
|
-
-webkit-justify-content: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
-webkit-align-items: center;
|
|
9
|
-
align-items: center;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.ID .animImgBox {
|
|
13
|
-
position: relative;
|
|
14
|
-
width: 300px;
|
|
15
|
-
height: 300px;
|
|
16
|
-
max-width: 80%;
|
|
17
|
-
max-height: 80%;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ID .animImgBox svg {
|
|
21
|
-
position: absolute;
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 100%;
|
|
24
|
-
animation-iteration-count: infinite;
|
|
25
|
-
animation-timing-function: linear;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ID #waitImgBig {
|
|
29
|
-
animation-duration: 0.8s;
|
|
30
|
-
animation-name: rotate-right;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@keyframes rotate-right {
|
|
34
|
-
from {
|
|
35
|
-
transform: rotate(0);
|
|
36
|
-
}
|
|
37
|
-
to {
|
|
38
|
-
transform: rotate(1turn);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ID #waitImgSmall {
|
|
43
|
-
animation-duration: 0.6s;
|
|
44
|
-
animation-name: rotate-left;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@keyframes rotate-left {
|
|
48
|
-
from {
|
|
49
|
-
transform: rotate(0);
|
|
50
|
-
}
|
|
51
|
-
to {
|
|
52
|
-
transform: rotate(-1turn);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg id="waitImgSmall" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill="#3F51B5" d="m 57.00,39.43 c -0.28,-3.53 5.16,-3.27 5.37,-0.13 0.26,3.99 -5.13,21.04 -20.63,21.44 C 23.85,61.19 19.93,46.50 19.92,39.94 23.48,67.11 58.73,61.35 57.00,39.43 Z" />
|
|
3
|
-
</svg>
|
package/webpack.config.mjs
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import TerserPlugin from 'terser-webpack-plugin';
|
|
2
|
-
import ESLintPlugin from 'eslint-webpack-plugin';
|
|
3
|
-
import nodeExternals from 'webpack-node-externals';
|
|
4
|
-
import path from 'node:path';
|
|
5
|
-
import fs from 'node:fs';
|
|
6
|
-
import { fileURLToPath } from 'node:url';
|
|
7
|
-
import buildLocales from './build-locales.mjs';
|
|
8
|
-
|
|
9
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
10
|
-
const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
|
|
11
|
-
const date = new Date();
|
|
12
|
-
const dist = path.resolve(__dirname, 'dist');
|
|
13
|
-
|
|
14
|
-
buildLocales();
|
|
15
|
-
|
|
16
|
-
const ESLintOptions = {
|
|
17
|
-
configType: 'flat',
|
|
18
|
-
overrideConfigFile: './eslint.config.mjs',
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const banner = `
|
|
22
|
-
${pkg.title} version ${pkg.version} (${date.toISOString().substring(0, 10)})
|
|
23
|
-
${pkg.description}
|
|
24
|
-
${pkg.homepage}
|
|
25
|
-
|
|
26
|
-
(c) 2000-${date.getFullYear()} ${pkg.author.name || pkg.author}
|
|
27
|
-
|
|
28
|
-
Licensed under the EUPL, Version 1.2 or -as soon they will be approved by
|
|
29
|
-
the European Commission- subsequent versions of the EUPL (the "Licence");
|
|
30
|
-
You may not use this work except in compliance with the Licence.
|
|
31
|
-
|
|
32
|
-
You may obtain a copy of the Licence at:
|
|
33
|
-
https://joinup.ec.europa.eu/software/page/eupl
|
|
34
|
-
|
|
35
|
-
Unless required by applicable law or agreed to in writing, software
|
|
36
|
-
distributed under the Licence is distributed on an "AS IS" basis, WITHOUT
|
|
37
|
-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
38
|
-
Licence for the specific language governing permissions and limitations
|
|
39
|
-
under the Licence.
|
|
40
|
-
|
|
41
|
-
For full license information of included components please see: jclic.components.LICENSE
|
|
42
|
-
|
|
43
|
-
WARNING: This is a compressed version of ${pkg.title}. Full source code is freely available at:
|
|
44
|
-
${pkg.homepage}
|
|
45
|
-
`;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Inline assets as raw text or Base64 URIs
|
|
49
|
-
* See: https://webpack.js.org/guides/asset-modules/
|
|
50
|
-
*/
|
|
51
|
-
const assetRules = [
|
|
52
|
-
{
|
|
53
|
-
test: /\.css$/,
|
|
54
|
-
type: 'asset/source',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
test: /\.svg$/,
|
|
58
|
-
type: 'asset/source',
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
test: /\.png$/,
|
|
62
|
-
type: 'asset/inline',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
test: /\.mp3$/,
|
|
66
|
-
type: 'asset/inline',
|
|
67
|
-
},
|
|
68
|
-
];
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Bundle used in HTML browsers
|
|
72
|
-
*/
|
|
73
|
-
const mainConfig = {
|
|
74
|
-
// Override when debugging with: `webpack --mode=development`
|
|
75
|
-
// See: https://webpack.js.org/configuration/mode/
|
|
76
|
-
mode: 'production',
|
|
77
|
-
entry: './src/JClic.js',
|
|
78
|
-
devtool: 'source-map',
|
|
79
|
-
output: {
|
|
80
|
-
path: dist,
|
|
81
|
-
filename: 'jclic.min.js',
|
|
82
|
-
},
|
|
83
|
-
module: {
|
|
84
|
-
rules: [
|
|
85
|
-
{
|
|
86
|
-
test: /\.(js|jsx)$/,
|
|
87
|
-
exclude: /node_modules/,
|
|
88
|
-
use: {
|
|
89
|
-
loader: 'babel-loader',
|
|
90
|
-
options: {
|
|
91
|
-
presets: [
|
|
92
|
-
'@babel/preset-env',
|
|
93
|
-
],
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
...assetRules,
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
devServer: {
|
|
101
|
-
host: 'localhost',
|
|
102
|
-
port: 9001,
|
|
103
|
-
open: true,
|
|
104
|
-
static: {
|
|
105
|
-
directory: path.join(__dirname, 'test'),
|
|
106
|
-
watch: true,
|
|
107
|
-
},
|
|
108
|
-
client: {
|
|
109
|
-
overlay: true,
|
|
110
|
-
progress: true,
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
performance: {
|
|
114
|
-
maxAssetSize: 2000000,
|
|
115
|
-
maxEntrypointSize: 2000000,
|
|
116
|
-
},
|
|
117
|
-
optimization: {
|
|
118
|
-
minimize: true,
|
|
119
|
-
minimizer: [
|
|
120
|
-
new TerserPlugin({
|
|
121
|
-
parallel: true,
|
|
122
|
-
extractComments: {
|
|
123
|
-
filename: 'jclic.components.LICENSE',
|
|
124
|
-
banner: () => banner,
|
|
125
|
-
},
|
|
126
|
-
terserOptions: {
|
|
127
|
-
// https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions
|
|
128
|
-
}
|
|
129
|
-
}),
|
|
130
|
-
],
|
|
131
|
-
},
|
|
132
|
-
plugins: [
|
|
133
|
-
new ESLintPlugin(ESLintOptions),
|
|
134
|
-
],
|
|
135
|
-
resolve: {
|
|
136
|
-
fallback: { stream: false }
|
|
137
|
-
},
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Bundle used by Node.js apps
|
|
142
|
-
*/
|
|
143
|
-
const nodeConfig = {
|
|
144
|
-
target: 'node',
|
|
145
|
-
mode: 'production',
|
|
146
|
-
externals: [nodeExternals()],
|
|
147
|
-
entry: './src/jclic-node.js',
|
|
148
|
-
module: {
|
|
149
|
-
rules: [...assetRules],
|
|
150
|
-
},
|
|
151
|
-
devtool: 'source-map',
|
|
152
|
-
output: {
|
|
153
|
-
path: dist,
|
|
154
|
-
filename: 'jclic-node.js',
|
|
155
|
-
library: {
|
|
156
|
-
type: 'commonjs2',
|
|
157
|
-
export: 'default',
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
optimization: {
|
|
161
|
-
minimize: false,
|
|
162
|
-
},
|
|
163
|
-
plugins: [
|
|
164
|
-
new ESLintPlugin(ESLintOptions),
|
|
165
|
-
],
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
export default [mainConfig, nodeConfig];
|
|
169
|
-
|