mirror of https://github.com/rancher/dashboard.git
Delete deprecated directives
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
parent
b10fd35aff
commit
1d2f435e17
|
|
@ -1,10 +0,0 @@
|
||||||
import { createApp } from 'vue';
|
|
||||||
import cleanHtmlDirective from '@shell/directives/clean-html';
|
|
||||||
const vueApp = createApp({});
|
|
||||||
|
|
||||||
export default cleanHtmlDirective;
|
|
||||||
|
|
||||||
/* eslint-disable-next-line no-console */
|
|
||||||
console.warn(`Importing cleanHtmlDirective from plugins has been deprecated, use shell/directives/clean-html.js instead.
|
|
||||||
Make sure to invoke vueApp.directive('clean-html', cleanHtmlDirective) to maintain compatibility.`);
|
|
||||||
vueApp.directive('clean-html', cleanHtmlDirective);
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
import { createApp } from 'vue';
|
|
||||||
import cleanTooltipDirective from '@shell/directives/clean-tooltip';
|
|
||||||
const vueApp = createApp({});
|
|
||||||
|
|
||||||
export default cleanTooltipDirective;
|
|
||||||
/* eslint-disable-next-line no-console */
|
|
||||||
console.warn(`Importing cleanTooltipDirective from plugins has been deprecated, use shell/directives/clean-tooltip.js instead.
|
|
||||||
Make sure to invoke it using vueApp.directive('clean-tooltip', cleanTooltipDirective ) to maintain compatibility.`);
|
|
||||||
vueApp.directive('clean-tooltip', cleanTooltipDirective);
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
import { createApp } from 'vue';
|
|
||||||
import intNumberDirective from '@shell/directives/int-number';
|
|
||||||
const vueApp = createApp({});
|
|
||||||
|
|
||||||
export default intNumberDirective;
|
|
||||||
/* eslint-disable-next-line no-console */
|
|
||||||
console.warn(`Importing intNumberDirective from plugins has been deprecated, use shell/directives/int-number.js instead.
|
|
||||||
Make sure to invoke it using vueApp.directive('intNumber', intNumberDirective) to maintain compatibility.`);
|
|
||||||
vueApp.directive('intNumber', intNumberDirective);
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
import { createApp } from 'vue';
|
|
||||||
import positiveIntNumberDirective from '@shell/directives/positive-int-number';
|
|
||||||
const vueApp = createApp({});
|
|
||||||
|
|
||||||
export default positiveIntNumberDirective;
|
|
||||||
/* eslint-disable-next-line no-console */
|
|
||||||
console.warn(`Importing positiveIntNumberDirective from plugins has been deprecated, use shell/directives/positive-int-number.js instead.
|
|
||||||
Make sure to invoke it using vueApp.directive('positiveIntNumber', positiveIntNumberDirective) to maintain compatibility.`);
|
|
||||||
vueApp.directive('positiveIntNumber', positiveIntNumberDirective);
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
import { createApp } from 'vue';
|
|
||||||
import trimWhitespaceDirective from '@shell/directives/trim-whitespace';
|
|
||||||
const vueApp = createApp({});
|
|
||||||
|
|
||||||
export default trimWhitespaceDirective;
|
|
||||||
/* eslint-disable-next-line no-console */
|
|
||||||
console.warn(`Importing trimWhitespaceDirective from plugins has been deprecated, use shell/directives/trim-whitespace.js instead.
|
|
||||||
Make sure to invoke it using vueApp.directive('trim-whitespace', trimWhitespaceDirective ) to maintain compatibility.`);
|
|
||||||
|
|
||||||
vueApp.directive('trim-whitespace', trimWhitespaceDirective );
|
|
||||||
Loading…
Reference in New Issue