@nixweb/nixloc-ui 0.0.206 → 0.0.208
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/package.json
CHANGED
|
@@ -1,35 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<AceEditor
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
highlightActiveLine: true,
|
|
15
|
-
enableSnippets: false,
|
|
16
|
-
showLineNumbers: true,
|
|
17
|
-
tabSize: 2,
|
|
18
|
-
showPrintMargin: false,
|
|
19
|
-
showGutter: true,
|
|
20
|
-
}"
|
|
21
|
-
/>
|
|
3
|
+
<AceEditor v-model="code" lang="html" @init="editorInit" theme="monokai" width="100%" height="400px" :options="{
|
|
4
|
+
enableBasicAutocompletion: true,
|
|
5
|
+
enableLiveAutocompletion: true,
|
|
6
|
+
fontSize: 15,
|
|
7
|
+
highlightActiveLine: true,
|
|
8
|
+
enableSnippets: false,
|
|
9
|
+
showLineNumbers: true,
|
|
10
|
+
tabSize: 2,
|
|
11
|
+
showPrintMargin: false,
|
|
12
|
+
showGutter: true,
|
|
13
|
+
}" />
|
|
22
14
|
<div class="apply">
|
|
23
15
|
<b-row>
|
|
24
16
|
<b-col class="text-right">
|
|
25
|
-
<Button
|
|
26
|
-
key="applyCode"
|
|
27
|
-
type="primary"
|
|
28
|
-
title="Aplicar"
|
|
29
|
-
classIcon="far fa-code"
|
|
30
|
-
size="small"
|
|
31
|
-
:clicked="apply"
|
|
32
|
-
/>
|
|
17
|
+
<Button key="applyCode" type="primary" title="Aplicar" classIcon="far fa-code" size="small" :clicked="apply" />
|
|
33
18
|
</b-col>
|
|
34
19
|
</b-row>
|
|
35
20
|
</div>
|
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
</b-col>
|
|
14
14
|
</b-row>
|
|
15
|
+
<br>
|
|
15
16
|
<b-row>
|
|
16
|
-
<b-col sm="
|
|
17
|
+
<b-col sm="8">
|
|
17
18
|
<div v-if="templateList.dragAndDrop">
|
|
18
19
|
<i class="fa-regular fa-maximize"></i> Clique e arraste para ordenar
|
|
19
20
|
</div>
|
|
20
21
|
<TableTotalization :totalization="content.totalization" />
|
|
21
22
|
</b-col>
|
|
22
|
-
<b-col sm="
|
|
23
|
+
<b-col sm="4">
|
|
23
24
|
<TableTotalRecords :totalRecords="content.totalRecords" />
|
|
24
25
|
</b-col>
|
|
25
26
|
</b-row>
|
|
@@ -145,13 +145,13 @@
|
|
|
145
145
|
},
|
|
146
146
|
]" initialOption="viewText" v-model="selectType" />
|
|
147
147
|
</div>
|
|
148
|
-
<Molded>
|
|
149
|
-
<div
|
|
150
|
-
<div v-
|
|
148
|
+
<Molded v-show="selectType == 'viewText'">
|
|
149
|
+
<div>
|
|
150
|
+
<div v-show="!selected.videoUrl">Nenhum vídeo para ser exibido!</div>
|
|
151
151
|
<div class="div-view" v-html="selected.videoUrl"></div>
|
|
152
152
|
</div>
|
|
153
153
|
</Molded>
|
|
154
|
-
<
|
|
154
|
+
<TextArea :maxLength="5000" v-if="selectType == 'codeEditor'" v-model="selected.videoUrl" />
|
|
155
155
|
</b-col>
|
|
156
156
|
</Modal>
|
|
157
157
|
</div>
|
|
@@ -161,17 +161,18 @@
|
|
|
161
161
|
import draggable from 'vuedraggable';
|
|
162
162
|
import Molded from "@nixweb/nixloc-ui/src/component/layout/Molded";
|
|
163
163
|
import InputText from "@nixweb/nixloc-ui/src/component/forms/InputText";
|
|
164
|
+
import TextArea from "@nixweb/nixloc-ui/src/component/forms/TextArea";
|
|
164
165
|
import InputTextEdit from "@nixweb/nixloc-ui/src/component/forms/InputTextEdit";
|
|
165
166
|
import Button from "@nixweb/nixloc-ui/src/component/forms/Button";
|
|
166
167
|
import Modal from "@nixweb/nixloc-ui/src/component/forms/Modal";
|
|
167
168
|
import CodeEditor from "@nixweb/nixloc-ui/src/component/shared/CodeEditor";
|
|
168
169
|
import ButtonFilter from "@nixweb/nixloc-ui/src/component/forms/ButtonFilter";
|
|
169
170
|
|
|
170
|
-
import { mapGetters, mapActions, mapMutations
|
|
171
|
+
import { mapGetters, mapActions, mapMutations } from "vuex";
|
|
171
172
|
|
|
172
173
|
export default {
|
|
173
174
|
components: {
|
|
174
|
-
draggable, Molded, InputText, InputTextEdit, Button, Modal,
|
|
175
|
+
draggable, Molded, InputText, InputTextEdit, Button, Modal, ButtonFilter, TextArea
|
|
175
176
|
},
|
|
176
177
|
data() {
|
|
177
178
|
return {
|