Fixed #2013 - Tooltip import defect

pull/2016/head
Tuğçe Küçükoğlu 2022-01-18 11:06:10 +03:00 committed by Tuğçe Küçükoğlu
parent fc6718596c
commit 85c1409774
9 changed files with 10 additions and 10 deletions

View File

@ -14,6 +14,7 @@ let coreDependencies = {
'primevue/api': 'primevue.api',
'primevue/config': 'primevue.config',
'primevue/ripple': 'primevue.ripple',
'primevue/tooltip': 'primevue.tooltip',
'primevue/virtualscroller': 'primevue.virtualscroller',
'primevue/confirmationeventbus': 'primevue.confirmationeventbus',
'primevue/toasteventbus': 'primevue.toasteventbus',

View File

@ -28,6 +28,7 @@
<script>
import Ripple from 'primevue/ripple';
import Tooltip from 'primevue/tooltip';
export default {
name: 'DockSub',
@ -96,7 +97,8 @@ export default {
}
},
directives: {
'ripple': Ripple
'ripple': Ripple,
'tooltip': Tooltip
}
}
</script>

View File

@ -23,6 +23,7 @@
<script>
import Button from 'primevue/button';
import Ripple from 'primevue/ripple';
import Tooltip from 'primevue/tooltip';
import {DomHandler} from 'primevue/utils';
export default {
@ -262,7 +263,8 @@ export default {
'SDButton': Button
},
directives: {
'ripple': Ripple
'ripple': Ripple,
'tooltip': Tooltip
}
}
</script>

View File

@ -948,7 +948,6 @@ export default {
<script src="https://unpkg.com/primevue@^3/progressbar/progressbar.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/tristatecheckbox/tristatecheckbox.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/slider/slider.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/tooltip/tooltip.min.js"><\\/script>
<script src="./CustomerService.js"><\\/script>`,
content: `<div id="app">
<div class="card">

View File

@ -1012,7 +1012,6 @@ export default {
<script src="https://unpkg.com/primevue@^3/menubar/menubar.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/terminal/terminal.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/galleria/galleria.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/tooltip/tooltip.min.js"><\\/script>
<script src="./NodeService.js"><\\/script>
<script src="./PhotoService.js"><\\/script>`,
content: `<div id="app" class="dock-demo">

View File

@ -244,8 +244,7 @@ export default {
tabName: 'Browser Source',
imports: `<script src="https://unpkg.com/quill/dist/quill.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/editor/editor.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/tooltip/tooltip.min.js"><\\/script>`,
<script src="https://unpkg.com/primevue@^3/editor/editor.min.js"><\\/script>`,
content: `<div id="app">
<h5>Default</h5>
<p-editor v-model="value1" editor-style="height: 320px"></p-editor>

View File

@ -717,8 +717,7 @@ export default {
tabName: 'Browser Source',
imports: `<script src="https://unpkg.com/primevue@^3/speeddial/speeddial.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/toast/toast.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/toastservice/toastservice.min.js"><\\/script>
<script src="https://unpkg.com/primevue@^3/tooltip/tooltip.min.js"><\\/script>`,
<script src="https://unpkg.com/primevue@^3/toastservice/toastservice.min.js"><\\/script>`,
content: `<div id="app">
<p-toast></p-toast>
<div class="card">

View File

@ -12,7 +12,6 @@ app.directive('tooltip', Tooltip);
<h5>Import via CDN</h5>
<pre v-code><code>
&lt;script src="https://unpkg.com/primevue@^3/core/core.min.js"&gt;&lt;/script&gt;
&lt;script src="https://unpkg.com/primevue@^3/tooltip/tooltip.min.js"&gt;&lt;/script&gt;
</code></pre>
@ -229,7 +228,6 @@ export default {
},
'browser-source': {
tabName: 'Browser Source',
imports: `<script src="https://unpkg.com/primevue@^3/tooltip/tooltip.min.js"><\\/script>`,
content: `<div id="app">
<h5>Positions</h5>
<div class="grid p-fluid">

View File

@ -7,6 +7,7 @@ module.exports = {
resolve: {
alias: {
'primevue/ripple': path.resolve(__dirname, 'src/components/ripple/Ripple.js'),
'primevue/tooltip': path.resolve(__dirname, 'src/components/tooltip/Tooltip.js'),
'primevue/useconfirm': path.resolve(__dirname, 'src/components/useconfirm/UseConfirm.js'),
'primevue/usetoast': path.resolve(__dirname, 'src/components/usetoast/UseToast.js'),
'primevue/utils': path.resolve(__dirname, 'src/components/utils/Utils.js'),