refactor
parent
3a36d4f6ab
commit
ceecdf97d8
|
@ -20,7 +20,7 @@ import TerminalService from 'primevue/terminalservice';
|
||||||
import TerminalService from 'primevue/terminalservice';
|
import TerminalService from 'primevue/terminalservice';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
commandHandler(text) {
|
commandHandler(text) {
|
||||||
let response;
|
let response;
|
||||||
let argsIndex = text.indexOf(' ');
|
let argsIndex = text.indexOf(' ');
|
||||||
|
@ -95,7 +95,7 @@ export default {
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>p-terminal</td>
|
<td>p-terminal</td>
|
||||||
<td>Container element.</td>
|
<td>Container element.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -107,7 +107,7 @@ export default {
|
||||||
<td>p-terminal-prompt</td>
|
<td>p-terminal-prompt</td>
|
||||||
<td>Prompt text.</td>
|
<td>Prompt text.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>p-terminal-response</td>
|
<td>p-terminal-response</td>
|
||||||
<td>Command response.</td>
|
<td>Command response.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -136,7 +136,7 @@ export default {
|
||||||
import TerminalService from 'primevue/terminalservice';
|
import TerminalService from 'primevue/terminalservice';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
commandHandler(text) {
|
commandHandler(text) {
|
||||||
let response;
|
let response;
|
||||||
let argsIndex = text.indexOf(' ');
|
let argsIndex = text.indexOf(' ');
|
||||||
|
|
|
@ -59,7 +59,7 @@ html {
|
||||||
<CodeHighlight>
|
<CodeHighlight>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
:deep(.dark-panel.p-panel) {
|
:deep(.dark-panel.p-panel) {
|
||||||
.p-panel-titlebar {
|
.p-panel-title {
|
||||||
background: #212121;
|
background: #212121;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -889,7 +889,7 @@ data() {
|
||||||
<p>Optionally a global filter is available to search against all the fields, in this case the special <i>global</i> keyword should be the property to be populated.</p>
|
<p>Optionally a global filter is available to search against all the fields, in this case the special <i>global</i> keyword should be the property to be populated.</p>
|
||||||
|
|
||||||
<p>In addition <i>filterMode</i> specifies the filtering strategy. In <b>lenient</b> mode when the query matches a node, children of the node are not searched further as all descendants of the node are included. On the other hand,
|
<p>In addition <i>filterMode</i> specifies the filtering strategy. In <b>lenient</b> mode when the query matches a node, children of the node are not searched further as all descendants of the node are included. On the other hand,
|
||||||
in <b>strict</b> mode when the query matches a node, filtering continues on all descendants.</p>
|
in <b>strict</b> mode when the query matches a node, filtering continues on all descendants.</p>
|
||||||
<CodeHighlight>
|
<CodeHighlight>
|
||||||
<template v-pre>
|
<template v-pre>
|
||||||
<TreeTable :value="nodes" :filters="filters" filterMode="lenient">
|
<TreeTable :value="nodes" :filters="filters" filterMode="lenient">
|
||||||
|
@ -1231,6 +1231,23 @@ export default {
|
||||||
}
|
}
|
||||||
</CodeHighlight>
|
</CodeHighlight>
|
||||||
|
|
||||||
|
<CodeHighlight lang="css">
|
||||||
|
.sm-visible {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 40em) {
|
||||||
|
:deep(.sm-invisible) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
:deep(.sm-visible) {
|
||||||
|
display: inline;
|
||||||
|
margin-right: .5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</CodeHighlight>
|
||||||
|
|
||||||
<h5>Properties</h5>
|
<h5>Properties</h5>
|
||||||
<p>Any property such as style and class are passed to the underlying root element. Following is the additional property to configure the component.</p>
|
<p>Any property such as style and class are passed to the underlying root element. Following is the additional property to configure the component.</p>
|
||||||
<div class="doc-tablewrapper">
|
<div class="doc-tablewrapper">
|
||||||
|
@ -1293,7 +1310,7 @@ export default {
|
||||||
<td>null</td>
|
<td>null</td>
|
||||||
<td>Number of total records, defaults to length of value when not defined.</td>
|
<td>Number of total records, defaults to length of value when not defined.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>paginator</td>
|
<td>paginator</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
|
@ -1369,7 +1386,7 @@ export default {
|
||||||
<td>sortField</td>
|
<td>sortField</td>
|
||||||
<td>string</td>
|
<td>string</td>
|
||||||
<td>null</td>
|
<td>null</td>
|
||||||
<td>Property name or a getter function of a row data used for sorting by default.</td>
|
<td>Property name or a getter function of a row data used for sorting by default.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>sortOrder</td>
|
<td>sortOrder</td>
|
||||||
|
|
|
@ -91,11 +91,11 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 40em) {
|
@media screen and (max-width: 40em) {
|
||||||
.sm-invisible {
|
:deep(.sm-invisible) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sm-visible {
|
:deep(.sm-visible) {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
}
|
}
|
||||||
|
@ -133,11 +133,11 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 40em) {
|
@media screen and (max-width: 40em) {
|
||||||
.sm-invisible {
|
:deep(.sm-invisible) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sm-visible {
|
:deep(.sm-visible) {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue