fcad-core-dragon 2.0.0-beta.0 → 2.0.0-beta.2
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/{.eslintrc.js → .eslintrc.cjs} +13 -18
- package/README.md +1 -1
- package/bk.scss +117 -0
- package/package.json +22 -40
- package/src/$locales/en.json +57 -19
- package/src/$locales/fr.json +66 -28
- package/src/components/AppBase.vue +790 -376
- package/src/components/AppBaseButton.vue +33 -5
- package/src/components/AppBaseErrorDisplay.vue +62 -25
- package/src/components/AppBaseModule.vue +831 -754
- package/src/components/AppBasePage.vue +60 -74
- package/src/components/AppCompAudio.vue +266 -0
- package/src/components/AppCompBranchButtons.vue +79 -89
- package/src/components/AppCompButtonProgress.vue +35 -61
- package/src/components/AppCompCarousel.vue +160 -249
- package/src/components/AppCompInputCheckBox.vue +9 -3
- package/src/components/AppCompInputDropdown.vue +2 -4
- package/src/components/AppCompInputRadio.vue +8 -15
- package/src/components/AppCompInputTextTable.vue +15 -12
- package/src/components/AppCompInputTextToFillDropdown.vue +16 -14
- package/src/components/AppCompInputTextToFillText.vue +2 -2
- package/src/components/AppCompJauge.vue +14 -3
- package/src/components/AppCompMenu.vue +284 -85
- package/src/components/AppCompMenuItem.vue +67 -92
- package/src/components/AppCompNavigation.vue +945 -0
- package/src/components/AppCompNoteCall.vue +141 -0
- package/src/components/AppCompNoteCredit.vue +267 -0
- package/src/components/AppCompPlayBar.vue +1122 -1391
- package/src/components/AppCompPlayBarProgress.vue +73 -0
- package/src/components/AppCompPopUp.vue +195 -135
- package/src/components/AppCompPopover.vue +27 -0
- package/src/components/AppCompQuiz.vue +90 -113
- package/src/components/AppCompQuizRecall.vue +277 -0
- package/src/components/AppCompSVG.vue +335 -0
- package/src/components/AppCompSettingsMenu.vue +7 -8
- package/src/components/AppCompTableOfContent.vue +264 -88
- package/src/components/AppCompTranscript.vue +19 -0
- package/src/components/AppCompVideoPlayer.vue +380 -0
- package/src/components/BaseModule.vue +37 -114
- package/src/main.js +130 -85
- package/src/mixins/$mediaMixins.js +827 -0
- package/src/mixins/$pageMixins.js +149 -115
- package/src/mixins/$quizMixins.js +12 -26
- package/src/mixins/timerMixin.js +39 -16
- package/src/module/store.js +218 -78
- package/src/module/xapi/ADL.js +90 -53
- package/src/module/xapi/Crypto/Hasher.js +8 -8
- package/src/module/xapi/Crypto/WordArray.js +6 -6
- package/src/module/xapi/Crypto/algorithms/BufferedBlockAlgorithm.js +4 -4
- package/src/module/xapi/Crypto/algorithms/C_algo.js +14 -18
- package/src/module/xapi/Crypto/algorithms/HMAC.js +1 -1
- package/src/module/xapi/Crypto/algorithms/SHA1.js +1 -1
- package/src/module/xapi/Crypto/encoders/Base.js +7 -7
- package/src/module/xapi/Crypto/encoders/Base64.js +3 -3
- package/src/module/xapi/Crypto/encoders/Hex.js +4 -3
- package/src/module/xapi/Crypto/encoders/Latin1.js +3 -3
- package/src/module/xapi/Crypto/encoders/Utf8.js +3 -3
- package/src/module/xapi/Statement/index.js +1 -1
- package/src/module/xapi/launch.js +10 -10
- package/src/module/xapi/utils.js +17 -17
- package/src/module/xapi/wrapper.js +127 -54
- package/src/module/xapi/xapiStatement.js +29 -29
- package/src/plugins/gsap.js +4 -1
- package/src/plugins/helper.js +58 -24
- package/src/plugins/i18n.js +23 -10
- package/src/plugins/idb.js +1 -0
- package/src/plugins/scorm.js +14 -14
- package/src/public/index.html +1 -1
- package/src/router/index.js +40 -0
- package/src/router/routes.js +317 -0
- package/src/shared/generalfuncs.js +91 -9
- package/src/shared/validators.js +959 -0
- package/.prettierrc.js +0 -5
- package/babel.config.js +0 -3
- package/src/components/AppBaseDragChoice.vue +0 -91
- package/src/components/AppBaseDropZone.vue +0 -112
- package/src/components/AppCompDragAndDrop.vue +0 -339
- package/src/components/AppCompInputAssociation.vue +0 -332
- package/src/components/AppCompMediaPlayer.vue +0 -365
- package/src/components/AppCompNavigationFull.vue +0 -1791
- package/src/components/AppCompToolTip.vue +0 -94
- package/src/plugins/timeManager.js +0 -77
- package/src/routes.js +0 -734
- package/vue.config.js +0 -83
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@DESCRIPTION: A component used to define and provide a list of svg icones that can simply be integreted by calling the <use> attribute of SVG element
|
|
3
|
+
@TRANSFORM SVG To obtain an SVG describe by paths; use an online converter as https://thednp.github.io/svg-path-commander/convert.html . Use Illustrator to get the raw SVG (not XD)
|
|
4
|
+
@INTEGRATION: component is instantiated once in AppBase component by calling <app-icons>.
|
|
5
|
+
To add new icon simply add it with id{String} and paths{ARRAY OF Object} in the IconList variable
|
|
6
|
+
ex:{id: 'pause-icon',paths: [{
|
|
7
|
+
d:'M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z'}
|
|
8
|
+
]}
|
|
9
|
+
@USAGE: Icons can be use in any component by calling their ID in the svg <use> element
|
|
10
|
+
ex: <svg><use href="#pause-icon"></svg>
|
|
11
|
+
ref: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
|
|
12
|
+
@STYLING If multiple path, use the id to style a specific path (see the svg width app-icons class at the end of the DOM to see all the ID in the inspector -- but the path fill/stroke can only be modified once per symbol per 'use'; idealy use one path per icon to modified it more easily)
|
|
13
|
+
-->
|
|
14
|
+
<script>
|
|
15
|
+
//import { h } from 'vue'
|
|
16
|
+
|
|
17
|
+
const IconsList = [
|
|
18
|
+
{
|
|
19
|
+
id: 'pause-icon',
|
|
20
|
+
viewBox: '0 0 21.23 24',
|
|
21
|
+
paths: [
|
|
22
|
+
{
|
|
23
|
+
d: 'm17.08,24c-.74,0-1.44-.29-1.95-.82-.53-.51-.83-1.22-.82-1.95V2.77c0-.74.29-1.44.82-1.95C15.64.29,16.34,0,17.08,0h1.39c.74,0,1.44.29,1.95.82.53.51.83,1.22.82,1.95v18.46c0,.74-.29,1.44-.82,1.95-.51.53-1.22.83-1.95.82h-1.39Zm-14.31,0c-.74,0-1.44-.29-1.95-.82C.29,22.67,0,21.97,0,21.23V2.77c0-.74.29-1.44.82-1.95C1.33.29,2.03,0,2.77,0h1.38c.74,0,1.44.29,1.95.82.53.51.83,1.22.82,1.95v18.46c0,.74-.29,1.44-.82,1.95-.51.53-1.22.83-1.95.82h-1.38Z'
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: 'replay-icon',
|
|
29
|
+
viewBox: '0 0 21.06 24',
|
|
30
|
+
paths: [
|
|
31
|
+
{
|
|
32
|
+
d: 'm10.53,24c-1.41.01-2.81-.27-4.11-.83-1.25-.53-2.38-1.3-3.34-2.25-.96-.96-1.72-2.09-2.25-3.34C.27,16.28,0,14.88,0,13.47c0-.25.09-.49.27-.66.17-.18.41-.27.66-.27.25,0,.49.09.66.27.18.17.27.41.27.66-.04,2.31.87,4.54,2.52,6.15,1.61,1.65,3.84,2.57,6.15,2.53,2.31.04,4.54-.87,6.15-2.53,1.65-1.61,2.57-3.84,2.52-6.15.04-2.31-.87-4.54-2.52-6.15-1.61-1.65-3.84-2.57-6.15-2.52h-.33l1.32,1.32c.18.17.28.4.27.65,0,.25-.1.48-.27.66-.17.18-.41.29-.66.3-.25,0-.49-.1-.66-.28l-2.79-2.8c-.22-.2-.34-.49-.34-.78,0-.3.12-.58.34-.78L10.21.27C10.39.09,10.62,0,10.87,0c.25,0,.49.11.67.29.17.17.27.41.28.65,0,.25-.1.49-.28.65l-1.34,1.34h.33c1.41-.01,2.81.27,4.11.83,1.25.53,2.38,1.3,3.34,2.25.96.96,1.72,2.09,2.25,3.34.56,1.3.84,2.7.83,4.11.01,1.41-.27,2.81-.83,4.11-.53,1.25-1.3,2.38-2.25,3.34-.96.96-2.09,1.72-3.34,2.25-1.3.56-2.69.84-4.1.83Z'
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 'play-icon',
|
|
38
|
+
viewBox: '0 0 19.72 24',
|
|
39
|
+
paths: [
|
|
40
|
+
{
|
|
41
|
+
id: 'triangle',
|
|
42
|
+
d: 'm0,21.97V2.03C-.02,1.48.21.94.61.57.99.2,1.5,0,2.03,0c.18,0,.36.03.53.07.19.05.37.12.53.22l15.7,9.99c.29.19.53.45.69.76.15.3.23.62.23.96,0,.33-.08.66-.23.96-.16.31-.4.56-.69.76L3.1,23.71c-.17.1-.35.17-.53.22-.17.05-.35.07-.53.07-.53,0-1.04-.2-1.42-.57C.21,23.05-.02,22.52,0,21.97H0Z'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: 'volume-high-icon',
|
|
48
|
+
paths: [
|
|
49
|
+
{
|
|
50
|
+
viewBox: '0 0 25.86 24',
|
|
51
|
+
d: 'm23.54,12c.02-2.07-.58-4.1-1.71-5.84-1.11-1.73-2.71-3.1-4.59-3.94-.29-.13-.52-.35-.66-.63-.14-.26-.16-.57-.05-.85.11-.3.36-.54.66-.65.31-.12.66-.11.96.03,2.29,1.02,4.24,2.69,5.61,4.79,1.4,2.1,2.13,4.58,2.1,7.1.02,2.52-.71,5-2.1,7.1-1.37,2.1-3.32,3.76-5.61,4.79-.3.14-.65.15-.96.03-.31-.11-.55-.35-.66-.65-.11-.28-.09-.59.05-.85.14-.28.37-.5.66-.63,1.88-.84,3.48-2.21,4.59-3.94,1.13-1.74,1.73-3.77,1.71-5.84Zm-17.79,3.91H1.4c-.37.01-.74-.13-1-.4C.13,15.25,0,14.88,0,14.51v-4.95c-.01-.37.13-.74.4-1,.26-.27.63-.41,1-.4h4.35l4.64-4.64c.32-.36.85-.47,1.28-.25.46.17.75.61.73,1.1v15.34c.03.49-.27.93-.73,1.09-.44.21-.96.11-1.28-.25l-4.64-4.64Zm13.62-3.87c0,.95-.2,1.88-.6,2.74-.38.83-.93,1.58-1.62,2.18-.2.14-.47.16-.69.04-.23-.1-.37-.33-.36-.58V7.57c-.01-.25.13-.48.36-.58.22-.12.49-.1.69.04.69.62,1.25,1.38,1.62,2.23.4.87.6,1.81.6,2.77h0Z'
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'volume-low-icon',
|
|
57
|
+
paths: [
|
|
58
|
+
{
|
|
59
|
+
viewBox: '0 0 26.19 24',
|
|
60
|
+
d: 'm7.77,17.23H1.89c-.51.01-1-.18-1.35-.54C.18,16.33-.01,15.84,0,15.34v-6.69c-.01-.51.18-1,.54-1.35.36-.36.85-.55,1.35-.54h5.88L14.04.49c.44-.49,1.14-.63,1.73-.34.62.22,1.02.83.98,1.49v20.74c.04.66-.36,1.26-.98,1.48-.59.29-1.3.14-1.73-.34l-6.27-6.28Zm18.41-5.24c0,1.28-.27,2.55-.81,3.71-.51,1.13-1.26,2.13-2.2,2.95-.27.2-.64.22-.93.06-.31-.13-.51-.45-.49-.79V5.96c-.02-.34.18-.65.49-.79.3-.16.66-.14.93.06.94.84,1.68,1.87,2.2,3.02.54,1.18.81,2.45.81,3.75h0Z'
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'volume-mute-icon',
|
|
66
|
+
paths: [
|
|
67
|
+
{
|
|
68
|
+
viewBox: '0 0 24.35 24',
|
|
69
|
+
d: 'm18.96,20.37c-.22.14-.44.27-.67.4s-.46.24-.71.34c-.25.11-.53.11-.78,0-.26-.1-.46-.31-.55-.56-.1-.24-.08-.52.04-.74.12-.24.32-.43.57-.54.17-.07.34-.16.51-.25.16-.09.31-.2.46-.31l-5.12-4.59v3.34c.02.42-.23.81-.63.95-.38.18-.83.09-1.11-.22l-4.01-4.01h-3.76c-.32,0-.64-.12-.86-.35-.23-.23-.36-.54-.35-.86v-4.28c0-.32.12-.64.35-.86.23-.23.54-.36.86-.35h2.87L.29,1.7C.1,1.52,0,1.27,0,1,0,.74.09.48.29.29.47.1.73,0,.99,0c.27,0,.52.1.71.29l22,22c.19.19.29.44.28.7,0,.27-.09.53-.28.71-.19.19-.44.3-.71.29-.27,0-.52-.1-.71-.29l-3.33-3.34Zm3.39-3.2l-1.44-1.44c.46-.72.82-1.51,1.07-2.34.25-.84.37-1.72.37-2.6.01-1.79-.5-3.54-1.48-5.04-.96-1.5-2.34-2.69-3.97-3.41-.25-.11-.45-.3-.57-.55-.12-.23-.14-.5-.04-.74.1-.26.31-.47.57-.56.27-.1.57-.1.83.03,1.98.88,3.66,2.32,4.85,4.13,1.21,1.82,1.84,3.96,1.82,6.15,0,1.15-.17,2.29-.52,3.38-.34,1.06-.84,2.07-1.48,2.99h0Zm-4.1-4.1l-2.34-2.34v-3.74c0-.22.12-.42.32-.51.19-.11.42-.09.6.03.64.5,1.14,1.18,1.42,1.94.31.76.48,1.56.49,2.38,0,.39-.04.78-.12,1.16-.08.37-.2.73-.37,1.08h0Zm-5.54-5.53l-2.89-2.9,1.15-1.15c.28-.31.73-.4,1.11-.22.4.14.65.53.63.95v3.33Z'
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: 'fullscreen-icon',
|
|
75
|
+
viewBox: '0 0 32 32',
|
|
76
|
+
paths: [
|
|
77
|
+
{
|
|
78
|
+
d: 'm3.43,28.57h6.29c.46-.01.9.17,1.22.49.33.32.5.76.49,1.22.01.46-.17.9-.49,1.22-.32.33-.76.5-1.22.49H2.07c-.55.01-1.08-.2-1.47-.59C.2,31.02-.01,30.49,0,29.93v-7.65c-.01-.46.17-.9.49-1.22.32-.33.76-.5,1.22-.49.46-.01.9.17,1.22.49.33.32.5.76.49,1.22v6.29ZM3.43,3.43v6.29c.01.46-.17.9-.49,1.22-.32.33-.76.5-1.22.49-.46.01-.9-.17-1.22-.49C.17,10.61-.01,10.17,0,9.71V2.07C-.01,1.52.2.98.59.59.98.2,1.52-.01,2.07,0h7.65c.46-.01.9.17,1.22.49.33.32.5.76.49,1.22.01.46-.17.9-.49,1.22-.32.33-.76.5-1.22.49H3.43Zm25.14,25.14v-6.29c-.01-.46.17-.9.49-1.22.32-.33.76-.5,1.22-.49.46-.01.9.17,1.22.49.33.32.5.76.49,1.22v7.65c.01.55-.2,1.08-.59,1.47-.39.39-.92.61-1.47.59h-7.65c-.46.01-.9-.17-1.22-.49-.33-.32-.5-.76-.49-1.22-.01-.46.17-.9.49-1.22.32-.33.76-.5,1.22-.49h6.29Zm0-25.14h-6.29c-.46.01-.9-.17-1.22-.49-.33-.32-.5-.76-.49-1.22-.01-.46.17-.9.49-1.22C21.39.17,21.83-.01,22.29,0h7.65c.55-.01,1.08.2,1.47.59.39.39.61.92.59,1.47v7.65c.01.46-.17.9-.49,1.22-.32.33-.76.5-1.22.49-.46.01-.9-.17-1.22-.49-.33-.32-.5-.76-.49-1.22V3.43Z'
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: 'fullscreen-exit-icon',
|
|
84
|
+
viewBox: '0 0 32.02 32',
|
|
85
|
+
paths: [
|
|
86
|
+
{
|
|
87
|
+
d: 'm6.05,25.96H1.41c-.38,0-.74-.14-1.01-.41C.14,25.28,0,24.92,0,24.54c0-.38.14-.74.41-1.01.27-.27.63-.41,1.01-.41h5.76c.45-.01.89.17,1.21.49.32.32.5.76.49,1.21v5.76c0,.38-.14.74-.41,1.01-.26.27-.63.42-1.01.41-.38,0-.74-.14-1.01-.41-.27-.27-.41-.63-.4-1.01v-4.63Zm19.93,0v4.63c0,.38-.14.74-.41,1.01-.26.27-.63.42-1.01.41-.38,0-.74-.14-1.01-.41-.27-.27-.41-.63-.4-1.01v-5.76c-.01-.45.17-.89.49-1.21.32-.32.76-.5,1.21-.49h5.76c.38,0,.74.14,1.01.41.27.26.42.63.41,1.01,0,.38-.14.74-.41,1.01-.27.27-.63.41-1.01.41h-4.63ZM6.05,6.05V1.41c0-.38.14-.74.41-1.01C6.72.14,7.08,0,7.46,0c.38,0,.74.14,1.01.41.27.27.41.63.4,1.01v5.76c.01.45-.17.89-.49,1.21-.32.32-.76.5-1.21.49H1.41c-.38,0-.74-.14-1.01-.41C.14,8.2,0,7.83,0,7.46c0-.38.14-.74.41-1.01.27-.27.63-.41,1.01-.41h4.63Zm19.93,0h4.63c.38,0,.74.14,1.01.41.27.26.42.63.41,1.01,0,.38-.14.74-.41,1.01-.27.27-.63.41-1.01.41h-5.76c-.45.01-.89-.17-1.21-.49-.32-.32-.5-.76-.49-1.21V1.41c0-.38.14-.74.41-1.01C23.82.14,24.19,0,24.56,0c.38,0,.74.14,1.01.41.27.27.41.63.4,1.01v4.63Z'
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: 'pip-icon',
|
|
93
|
+
paths: [
|
|
94
|
+
{
|
|
95
|
+
d: 'M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z'
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: 'subtitle-off-icon',
|
|
101
|
+
viewBox: '0 0 40.53 32',
|
|
102
|
+
paths: [
|
|
103
|
+
{
|
|
104
|
+
d: 'm3.86,32c-1.03.02-2.02-.39-2.74-1.12C.39,30.16-.02,29.17,0,28.14V3.86C-.02,2.83.39,1.84,1.12,1.12,1.84.39,2.83-.02,3.86,0h32.82c1.03-.02,2.02.38,2.74,1.12.74.72,1.14,1.71,1.12,2.74v24.29c.02,1.03-.38,2.02-1.12,2.74-.72.73-1.71,1.14-2.74,1.12H3.86Zm0-3.2h32.82c.17,0,.34-.08.45-.21.13-.12.2-.28.21-.45V3.86c0-.17-.08-.34-.21-.45-.12-.13-.28-.2-.45-.21H3.86c-.17,0-.34.08-.45.21-.13.12-.2.28-.21.45v24.29c0,.17.08.34.21.45.12.13.28.2.45.21Zm-.66,0h0Zm6.48-4.88h13.7c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46h-13.7c-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Zm7.47-8.08h13.7c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46h-13.7c-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Zm-7.47,0c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Zm21.17,8.08c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Z'
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
id: 'subtitle-on-icon',
|
|
110
|
+
viewBox: '0 0 40.53 32',
|
|
111
|
+
paths: [
|
|
112
|
+
{
|
|
113
|
+
d: 'm3.86,32c-1.03.02-2.02-.39-2.74-1.12C.39,30.16-.02,29.17,0,28.14V3.86C-.02,2.83.39,1.84,1.12,1.12,1.84.39,2.83-.02,3.86,0h32.82c1.03-.02,2.02.38,2.74,1.12.74.72,1.14,1.71,1.12,2.74v24.29c.02,1.03-.38,2.02-1.12,2.74-.72.73-1.71,1.14-2.74,1.12H3.86Zm5.83-8.08h13.7c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46h-13.7c-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Zm7.47-8.08h13.7c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46h-13.7c-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Zm-7.47,0c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Zm21.17,8.08c.43.01.84-.16,1.14-.46.3-.3.47-.71.46-1.14.01-.43-.16-.84-.46-1.14-.3-.3-.71-.47-1.14-.46-.43-.01-.84.16-1.14.46-.3.3-.47.71-.46,1.14-.01.43.16.84.46,1.14.3.3.71.47,1.14.46h0Z'
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: 'transcript-off-icon',
|
|
119
|
+
viewBox: '0 0 25.26 32',
|
|
120
|
+
paths: [
|
|
121
|
+
{
|
|
122
|
+
d: 'm7.58,25.68h10.1c.34,0,.66-.12.9-.36.24-.24.37-.56.36-.9,0-.34-.12-.66-.36-.9-.24-.24-.56-.37-.9-.36H7.58c-.34,0-.66.12-.9.36-.24.24-.37.56-.36.9,0,.34.12.66.36.9.24.24.56.37.9.36Zm0-6.74h10.1c.34,0,.66-.12.9-.36.24-.24.37-.56.36-.9,0-.34-.12-.66-.36-.9-.24-.24-.56-.37-.9-.36H7.58c-.34,0-.66.12-.9.36-.24.24-.37.56-.36.9,0,.34.12.66.36.9.24.24.56.37.9.36Zm-4.53,13.05c-.81.02-1.59-.3-2.16-.88C.3,30.55-.02,29.77,0,28.96V3.04C-.02,2.23.3,1.45.88.88,1.45.3,2.23-.02,3.04,0h12.12c.4,0,.8.08,1.17.24.37.15.7.37.98.65l7.07,7.07c.28.28.5.61.65.98.16.37.24.77.24,1.17v18.85c.02.81-.3,1.59-.88,2.16-.57.58-1.35.9-2.16.88H3.04ZM15.16,8.58V2.53H3.04c-.14,0-.26.06-.36.16-.1.09-.16.22-.16.36v25.91c0,.14.06.26.16.36.09.1.22.16.36.16h19.17c.14,0,.26-.06.36-.16.1-.09.16-.22.16-.36V10.1h-6.06c-.41.01-.8-.15-1.09-.44-.29-.29-.45-.68-.43-1.09h0ZM2.53,2.53h0Z'
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: 'transcript-on-icon',
|
|
128
|
+
viewBox: '0 0 25.26 32',
|
|
129
|
+
paths: [
|
|
130
|
+
{
|
|
131
|
+
d: 'm7.58,25.68h10.1c.34,0,.66-.12.9-.36.24-.24.37-.56.36-.9,0-.34-.12-.66-.36-.9-.24-.24-.56-.37-.9-.36H7.58c-.34,0-.66.12-.9.36-.24.24-.37.56-.36.9,0,.34.12.66.36.9.24.24.56.37.9.36Zm0-6.74h10.1c.34,0,.66-.12.9-.36.24-.24.37-.56.36-.9,0-.34-.12-.66-.36-.9-.24-.24-.56-.37-.9-.36H7.58c-.34,0-.66.12-.9.36-.24.24-.37.56-.36.9,0,.34.12.66.36.9.24.24.56.37.9.36Zm-4.53,13.05c-.81.02-1.59-.3-2.16-.88C.3,30.55-.02,29.77,0,28.96V3.04C-.02,2.23.3,1.45.88.88,1.45.3,2.23-.02,3.04,0h12.12c.4,0,.8.08,1.17.24.36.15.69.37.97.65l7.07,7.07c.28.28.5.61.65.97.16.37.24.77.24,1.17v18.85c.02.81-.3,1.59-.88,2.16-.57.58-1.35.9-2.16.88H3.04ZM15.16,8.59c-.01.4.15.8.44,1.08.28.29.68.45,1.08.44h6.06l-7.58-7.58v6.06Z'
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: 'close-square-icon',
|
|
137
|
+
viewBox: '0 0 16 16',
|
|
138
|
+
paths: [
|
|
139
|
+
{
|
|
140
|
+
d: 'M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
d: 'M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: 'branch-crochet-icon',
|
|
149
|
+
paths: [
|
|
150
|
+
{
|
|
151
|
+
id: 'Tracé_3833',
|
|
152
|
+
'data-name': 'Tracé 3833',
|
|
153
|
+
d: 'M0,0H24V24H0Z',
|
|
154
|
+
fill: 'none'
|
|
155
|
+
},
|
|
156
|
+
|
|
157
|
+
{
|
|
158
|
+
id: 'Tracé_3834',
|
|
159
|
+
'data-name': 'Tracé 3834',
|
|
160
|
+
d: 'M9,16.2,4.8,12,3.4,13.4,9,19,21,7,19.6,5.6Z',
|
|
161
|
+
fill: '#e6f5ff'
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
id: 'navigate-next-icon',
|
|
167
|
+
viewBox: '0 0 7.41 12',
|
|
168
|
+
paths: [
|
|
169
|
+
{
|
|
170
|
+
id: 'Path_3899',
|
|
171
|
+
'data-name': 'Path 3899',
|
|
172
|
+
d: 'M0,0H24V24H0Z',
|
|
173
|
+
fill: 'none'
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
{
|
|
177
|
+
id: 'Path_3900',
|
|
178
|
+
'data-name': 'Path 3900',
|
|
179
|
+
d: 'M10.02,6,8.61,7.41,13.19,12,8.61,16.59,10.02,18l6-6Z',
|
|
180
|
+
transform: 'translate(-8.61 -6)'
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
id: 'navigate-previous-icon',
|
|
186
|
+
paths: [
|
|
187
|
+
{
|
|
188
|
+
id: 'Path_3899',
|
|
189
|
+
'data-name': 'Path 3899',
|
|
190
|
+
d: 'M24 24H0V0h24Z',
|
|
191
|
+
fill: 'none'
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
id: 'Path_3900',
|
|
195
|
+
'data-name': 'Path 3900',
|
|
196
|
+
d: 'm13.98 18 1.41-1.41L10.81 12l4.58-4.59L13.98 6l-6 6Z'
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
id: 'fleche-gauche-icon',
|
|
202
|
+
paths: [
|
|
203
|
+
{
|
|
204
|
+
id: 'arrow_forward_FILL0_wght400_GRAD0_opsz48',
|
|
205
|
+
d: 'M11.7 23.4c-.3 0-.6-.1-.8-.3L.3 12.5c-.1-.1-.2-.2-.3-.4v-.4c0-.1 0-.3.1-.4.1-.1.2-.3.3-.4L10.9.3c.5-.4 1.1-.4 1.6 0 .4.5.4 1.2 0 1.6l-8.6 8.6h19c.6 0 1.1.5 1.1 1.2 0 .6-.5 1.1-1.2 1.1H3.9l8.6 8.6c.4.5.4 1.1 0 1.6-.2.3-.5.4-.8.4z'
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
id: 'fleche-droite-icon',
|
|
211
|
+
paths: [
|
|
212
|
+
{
|
|
213
|
+
id: 'arrow_forward_FILL0_wght400_GRAD0_opsz48',
|
|
214
|
+
d: 'M11.4 23.1c-.4-.5-.4-1.1 0-1.6l8.6-8.6H1.1c-.6 0-1.2-.5-1.2-1.1 0-.6.5-1.2 1.1-1.2h19L11.4 2c-.4-.5-.4-1.2 0-1.6.5-.4 1.1-.4 1.6 0L23.6 11c.1.1.2.2.3.4.1.1.1.3.1.4 0 .1 0 .3-.1.4-.1.2-.2.3-.3.4L13 23.2c-.2.2-.5.3-.8.3-.3-.1-.6-.2-.8-.4z'
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
id: 'fleche-retour-icon',
|
|
220
|
+
viewBox: '0 0 11.667 11.46',
|
|
221
|
+
paths: [
|
|
222
|
+
{
|
|
223
|
+
'data-name': 'Path 4230',
|
|
224
|
+
d: 'M433.865,369.022H433.6v-.005h-7.548l2.014-2.171-1.1-1.182-3.9,4.19,3.9,4.191,1.1-1.182-2.014-2.171H433v4.57h-2.5v1.861h3.366a.9.9,0,0,0,.866-.93v-6.346A.811.811,0,0,0,433.865,369.022Z',
|
|
225
|
+
transform: 'translate(-423.065 -365.664)'
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: 'fleche-haut-icon',
|
|
231
|
+
viewBox: '0 0 18.01 10.25',
|
|
232
|
+
paths: [
|
|
233
|
+
{
|
|
234
|
+
d: 'm9.02,0c.15,0,.3.02.44.08.15.06.29.16.4.28l7.85,7.85c.22.23.33.54.3.85,0,.32-.12.62-.34.85-.21.24-.53.37-.85.34-.3-.04-.59-.17-.81-.38l-6.98-6.97-6.98,6.97c-.23.22-.53.35-.85.36-.33.04-.65-.1-.85-.36-.26-.19-.39-.51-.34-.83.03-.32.16-.63.38-.87L8.19.36c.11-.12.25-.21.4-.28C8.73.03,8.87,0,9.02,0Z'
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: 'fleche-bas-icon',
|
|
240
|
+
viewBox: '0 0 18.01 10.25',
|
|
241
|
+
paths: [
|
|
242
|
+
{
|
|
243
|
+
d: 'm8.99,10.25c-.15,0-.3-.02-.44-.08-.15-.06-.29-.16-.4-.28L.3,2.05C.09,1.82-.02,1.51,0,1.19,0,.88.12.57.34.34.55.1.87-.03,1.19,0c.3.04.59.17.81.38l6.98,6.97L15.96.38c.23-.22.53-.35.85-.36.33-.04.65.1.85.36.26.19.39.51.34.83-.03.32-.16.63-.38.87l-7.8,7.81c-.11.12-.25.21-.4.28-.14.05-.28.08-.43.08Z'
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: 'home-icon',
|
|
249
|
+
viewBox: '0 0 20 17',
|
|
250
|
+
paths: [
|
|
251
|
+
{
|
|
252
|
+
id: 'Path_3912',
|
|
253
|
+
'data-name': 'Path 3912',
|
|
254
|
+
d: 'M10,20V14h4v6h5V12h3L12,3,2,12H5v8Z',
|
|
255
|
+
transform: 'translate(-2 -3)'
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
id: 'timeline-icon',
|
|
261
|
+
viewBox: '0 0 33 18',
|
|
262
|
+
paths: [
|
|
263
|
+
{
|
|
264
|
+
id: 'timeline_FILL0_wght400_GRAD0_opsz48',
|
|
265
|
+
'data-name': 'timeline FILL0 wght400 GRAD0 opsz48',
|
|
266
|
+
d: 'M2.93,18.46a2.63,2.63,0,0,1,0-5.25l.39,0a4.21,4.21,0,0,1,.49.09l7.5-7.5a2.73,2.73,0,0,1-.1-.48c0-.13,0-.26,0-.39a2.62,2.62,0,0,1,4.48-1.84A2.51,2.51,0,0,1,16.43,5s0,.33-.11.85L20.45,10a2.73,2.73,0,0,1,.48-.1l.38,0,.37,0a2.66,2.66,0,0,1,.49.1l6-6a4.21,4.21,0,0,1-.09-.49c0-.12,0-.25,0-.38a2.63,2.63,0,1,1,2.63,2.63l-.38,0a3.86,3.86,0,0,1-.49-.09l-6,6a4,4,0,0,1,.09.48,2.55,2.55,0,0,1,0,.39,2.63,2.63,0,0,1-5.25,0c0-.13,0-.26,0-.39a2.73,2.73,0,0,1,.1-.48L14.67,7.47a2.66,2.66,0,0,1-.49.1l-.38,0L13,7.47,5.45,15a4.21,4.21,0,0,1,.09.49c0,.13,0,.25,0,.38A2.63,2.63,0,0,1,2.93,18.46Z',
|
|
267
|
+
transform: 'translate(-0.31 -0.46)'
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
id: 'info-icon',
|
|
273
|
+
viewBox: '0 0 17.9 17.91',
|
|
274
|
+
paths: [
|
|
275
|
+
{
|
|
276
|
+
d: 'M9.07 13.41a.65.65 0 0 0 .67-.63V8.66a.63.63 0 0 0-.2-.46.67.67 0 0 0-.47-.2.65.65 0 0 0-.67.63v4.08a.59.59 0 0 0 .2.46.67.67 0 0 0 .47.24ZM9 6.34a.69.69 0 0 0 .53-.2.67.67 0 0 0 .21-.52.74.74 0 0 0-.21-.54.73.73 0 0 0-1 0 .74.74 0 0 0-.21.54.67.67 0 0 0 .21.52.69.69 0 0 0 .47.2Zm0 11.57a9 9 0 0 1-3.55-.69 8.68 8.68 0 0 1-4.76-4.76 9.45 9.45 0 0 1 0-7.09 8.79 8.79 0 0 1 1.9-2.85 9.05 9.05 0 0 1 12.8 12.8 8.88 8.88 0 0 1-2.86 1.9 9.1 9.1 0 0 1-3.53.69Z'
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
id: 'clock-icon',
|
|
282
|
+
viewBox: '0 0 18 21.01',
|
|
283
|
+
paths: [
|
|
284
|
+
{
|
|
285
|
+
id: 'Path_3904',
|
|
286
|
+
d: 'M12 0H6v2h6V0zM8 13h2V7H8v6zm8.03-6.61 1.42-1.42c-.43-.51-.9-.98-1.41-1.41l-1.42 1.42c-3.88-3.1-9.55-2.47-12.65 1.41S-.5 15.94 3.38 19.04s9.55 2.47 12.65-1.41a8.992 8.992 0 0 0 0-11.24zM9 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7c0 3.86-3.13 7-6.99 7H9z'
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
|
|
292
|
+
export default {
|
|
293
|
+
props: {
|
|
294
|
+
viewBox: {
|
|
295
|
+
type: String,
|
|
296
|
+
default: '0 0 24 24'
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
|
|
300
|
+
methods: {},
|
|
301
|
+
|
|
302
|
+
render(h) {
|
|
303
|
+
return h('svg', { style: 'display: none', class: 'app-icons' }, [
|
|
304
|
+
h(
|
|
305
|
+
'defs',
|
|
306
|
+
{},
|
|
307
|
+
IconsList.map((icon) => {
|
|
308
|
+
return h(
|
|
309
|
+
'symbol',
|
|
310
|
+
{
|
|
311
|
+
attrs: {
|
|
312
|
+
id: icon.id,
|
|
313
|
+
viewBox: (() => (icon.viewBox ? icon.viewBox : '0 0 24 24'))()
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
icon.paths.map((_p) => {
|
|
317
|
+
return h('path', { attrs: { ..._p } })
|
|
318
|
+
})
|
|
319
|
+
)
|
|
320
|
+
})
|
|
321
|
+
)
|
|
322
|
+
])
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
</script>
|
|
326
|
+
|
|
327
|
+
<style lang="scss" scoped>
|
|
328
|
+
svg {
|
|
329
|
+
width: 28px;
|
|
330
|
+
height: 28px;
|
|
331
|
+
fill: #fff;
|
|
332
|
+
stroke: #fff;
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
}
|
|
335
|
+
</style>
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
<app-base-button
|
|
32
32
|
v-b-toggle.sidebar-settings
|
|
33
33
|
class="float-right btn-primary"
|
|
34
|
+
:title="$t('user_settings.close')"
|
|
34
35
|
>
|
|
35
36
|
{{ $t('user_settings.close') }}
|
|
36
37
|
</app-base-button>
|
|
@@ -60,28 +61,26 @@ export default {
|
|
|
60
61
|
'onboardingEnabled'
|
|
61
62
|
]),
|
|
62
63
|
settingsOptions() {
|
|
63
|
-
return this
|
|
64
|
-
? this.settingsOptionsEL
|
|
65
|
-
: this.settingsOptionsELPlus
|
|
64
|
+
return this.settingsOptionsELPlus
|
|
66
65
|
}
|
|
67
66
|
},
|
|
68
67
|
watch: {
|
|
69
68
|
getApplicationSettings: {
|
|
70
69
|
immediate: true,
|
|
71
70
|
handler() {
|
|
72
|
-
this.
|
|
71
|
+
this.getAppSettingsInStore()
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
74
|
},
|
|
76
75
|
created() {
|
|
77
|
-
setTimeout(() => this.
|
|
76
|
+
setTimeout(() => this.getAppSettingsInStore(), 1700)
|
|
78
77
|
|
|
79
78
|
this.$bus.$on('save-settings', (settings) => {
|
|
80
79
|
this.saveSettings(settings)
|
|
81
80
|
})
|
|
82
81
|
},
|
|
83
82
|
methods: {
|
|
84
|
-
|
|
83
|
+
getAppSettingsInStore() {
|
|
85
84
|
this.settingsSelected = { ...this.getApplicationSettings }
|
|
86
85
|
},
|
|
87
86
|
|
|
@@ -133,7 +132,7 @@ export default {
|
|
|
133
132
|
verb: 'preferred',
|
|
134
133
|
definition: text,
|
|
135
134
|
description: text,
|
|
136
|
-
|
|
135
|
+
extensions: [
|
|
137
136
|
{
|
|
138
137
|
id: 'application-settings',
|
|
139
138
|
content: {
|
|
@@ -152,7 +151,7 @@ export default {
|
|
|
152
151
|
}
|
|
153
152
|
|
|
154
153
|
//update sidebar data
|
|
155
|
-
this.
|
|
154
|
+
this.getAppSettingsInStore()
|
|
156
155
|
},
|
|
157
156
|
|
|
158
157
|
/**
|