@rancher/shell 3.0.0-rc.1 → 3.0.0-rc.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/assets/styles/base/_variables.scss +1 -0
- package/assets/styles/global/_layout.scss +3 -3
- package/assets/styles/global/_select.scss +1 -1
- package/assets/styles/global/_tooltip.scss +37 -71
- package/components/ActionDropdown.vue +9 -13
- package/components/ActionMenu.vue +1 -1
- package/components/ButtonDropdown.vue +9 -8
- package/components/CruResource.vue +4 -2
- package/components/InputOrDisplay.vue +21 -33
- package/components/LocaleSelector.vue +1 -1
- package/components/Questions/__tests__/Boolean.test.ts +1 -2
- package/components/Questions/__tests__/Float.test.ts +1 -2
- package/components/Questions/__tests__/Int.test.ts +1 -2
- package/components/Questions/__tests__/String.test.ts +1 -2
- package/components/Questions/__tests__/Yaml.test.ts +1 -1
- package/components/Questions/__tests__/utils/questions-defaults.ts +2 -2
- package/components/SideNav.vue +3 -3
- package/components/__tests__/CodeMirror.test.ts +91 -94
- package/components/__tests__/ConsumptionGauge.test.ts +2 -2
- package/components/__tests__/NamespaceFilter.test.ts +10 -7
- package/components/auth/AllowedPrincipals.vue +2 -2
- package/components/auth/RoleDetailEdit.vue +13 -17
- package/components/auth/SelectPrincipal.vue +1 -1
- package/components/fleet/FleetStatus.vue +13 -14
- package/components/form/ArrayList.vue +1 -1
- package/components/form/ArrayListGrouped.vue +18 -5
- package/components/form/LabeledSelect.vue +16 -11
- package/components/form/Select.vue +17 -1
- package/components/form/__tests__/Command.test.ts +6 -5
- package/components/form/__tests__/Taints.test.ts +9 -9
- package/components/formatter/AppSummaryGraph.vue +1 -1
- package/components/formatter/FleetSummaryGraph.vue +1 -1
- package/components/formatter/MachineSummaryGraph.vue +1 -1
- package/components/formatter/Scale.vue +1 -1
- package/components/formatter/Weight.vue +1 -1
- package/components/nav/Header.vue +31 -14
- package/components/nav/NamespaceFilter.vue +1 -1
- package/components/nav/TopLevelMenu.vue +7 -6
- package/components/nav/WindowManager/ContainerLogs.vue +1 -1
- package/components/nav/WindowManager/ContainerShell.vue +7 -2
- package/components/nav/WindowManager/__tests__/ContainerLogs.test.ts +195 -192
- package/components/nav/WindowManager/__tests__/ContainerShell.test.ts +23 -19
- package/core/plugin-routes.ts +42 -29
- package/core/plugins-loader.js +2 -0
- package/detail/__tests__/autoscaling.horizontalpodautoscaler.test.ts +16 -8
- package/detail/helm.cattle.io.projecthelmchart.vue +26 -27
- package/edit/__tests__/namespace.test.ts +7 -9
- package/edit/__tests__/service.test.ts +14 -2
- package/edit/auth/__tests__/azuread.test.ts +10 -11
- package/edit/auth/azuread.vue +1 -1
- package/edit/fleet.cattle.io.clustergroup.vue +3 -3
- package/edit/management.cattle.io.fleetworkspace.vue +3 -3
- package/edit/management.cattle.io.node.vue +3 -2
- package/edit/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +3 -2
- package/edit/namespace.vue +3 -1
- package/edit/networking.k8s.io.ingress/index.vue +3 -2
- package/edit/networking.k8s.io.networkpolicy/index.vue +2 -2
- package/edit/node.vue +3 -3
- package/edit/persistentvolume/__tests__/persistentvolume.test.ts +9 -4
- package/edit/persistentvolume/index.vue +3 -3
- package/edit/persistentvolumeclaim.vue +3 -3
- package/edit/policy.poddisruptionbudget.vue +3 -3
- package/edit/provisioning.cattle.io.cluster/__tests__/Basics.test.ts +5 -6
- package/edit/provisioning.cattle.io.cluster/__tests__/rke2.test.ts +13 -6
- package/edit/provisioning.cattle.io.cluster/rke2.vue +7 -1
- package/edit/provisioning.cattle.io.cluster/tabs/registries/__tests__/RegistryConfigs.test.ts +6 -7
- package/edit/service.vue +2 -2
- package/edit/serviceaccount.vue +3 -3
- package/edit/storage.k8s.io.storageclass/index.vue +3 -3
- package/edit/workload/Job.vue +2 -2
- package/edit/workload/__tests__/Job.test.ts +5 -5
- package/edit/workload/index.vue +2 -2
- package/edit/workload/storage/Mount.vue +7 -4
- package/edit/workload/storage/__tests__/Mount.test.ts +6 -2
- package/edit/workload/storage/index.vue +10 -23
- package/initialize/entry-helpers.js +0 -5
- package/mixins/page-actions.js +1 -1
- package/package.json +1 -1
- package/pages/c/_cluster/istio/index.vue +2 -2
- package/pages/c/_cluster/longhorn/__tests__/longhorn.index.test.ts +3 -2
- package/pages/c/_cluster/monitoring/index.vue +1 -1
- package/pages/c/_cluster/uiplugins/__tests__/AddExtensionRepos.test.ts +7 -29
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +1 -0
- package/vue.config.js +409 -391
- package/plugins/clean-html-directive.js +0 -10
- package/plugins/clean-tooltip-directive.js +0 -9
- package/plugins/int-number.js +0 -9
- package/plugins/positive-int-number.js +0 -9
- package/plugins/trim-whitespace.js +0 -10
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createApp } from 'vue';
|
|
2
|
-
import cleanHtmlDirective from '@shell/directives/clean-html';
|
|
3
|
-
const vueApp = createApp({});
|
|
4
|
-
|
|
5
|
-
export default cleanHtmlDirective;
|
|
6
|
-
|
|
7
|
-
/* eslint-disable-next-line no-console */
|
|
8
|
-
console.warn(`Importing cleanHtmlDirective from plugins has been deprecated, use shell/directives/clean-html.js instead.
|
|
9
|
-
Make sure to invoke vueApp.directive('clean-html', cleanHtmlDirective) to maintain compatibility.`);
|
|
10
|
-
vueApp.directive('clean-html', cleanHtmlDirective);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createApp } from 'vue';
|
|
2
|
-
import cleanTooltipDirective from '@shell/directives/clean-tooltip';
|
|
3
|
-
const vueApp = createApp({});
|
|
4
|
-
|
|
5
|
-
export default cleanTooltipDirective;
|
|
6
|
-
/* eslint-disable-next-line no-console */
|
|
7
|
-
console.warn(`Importing cleanTooltipDirective from plugins has been deprecated, use shell/directives/clean-tooltip.js instead.
|
|
8
|
-
Make sure to invoke it using vueApp.directive('clean-tooltip', cleanTooltipDirective ) to maintain compatibility.`);
|
|
9
|
-
vueApp.directive('clean-tooltip', cleanTooltipDirective);
|
package/plugins/int-number.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createApp } from 'vue';
|
|
2
|
-
import intNumberDirective from '@shell/directives/int-number';
|
|
3
|
-
const vueApp = createApp({});
|
|
4
|
-
|
|
5
|
-
export default intNumberDirective;
|
|
6
|
-
/* eslint-disable-next-line no-console */
|
|
7
|
-
console.warn(`Importing intNumberDirective from plugins has been deprecated, use shell/directives/int-number.js instead.
|
|
8
|
-
Make sure to invoke it using vueApp.directive('intNumber', intNumberDirective) to maintain compatibility.`);
|
|
9
|
-
vueApp.directive('intNumber', intNumberDirective);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createApp } from 'vue';
|
|
2
|
-
import positiveIntNumberDirective from '@shell/directives/positive-int-number';
|
|
3
|
-
const vueApp = createApp({});
|
|
4
|
-
|
|
5
|
-
export default positiveIntNumberDirective;
|
|
6
|
-
/* eslint-disable-next-line no-console */
|
|
7
|
-
console.warn(`Importing positiveIntNumberDirective from plugins has been deprecated, use shell/directives/positive-int-number.js instead.
|
|
8
|
-
Make sure to invoke it using vueApp.directive('positiveIntNumber', positiveIntNumberDirective) to maintain compatibility.`);
|
|
9
|
-
vueApp.directive('positiveIntNumber', positiveIntNumberDirective);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createApp } from 'vue';
|
|
2
|
-
import trimWhitespaceDirective from '@shell/directives/trim-whitespace';
|
|
3
|
-
const vueApp = createApp({});
|
|
4
|
-
|
|
5
|
-
export default trimWhitespaceDirective;
|
|
6
|
-
/* eslint-disable-next-line no-console */
|
|
7
|
-
console.warn(`Importing trimWhitespaceDirective from plugins has been deprecated, use shell/directives/trim-whitespace.js instead.
|
|
8
|
-
Make sure to invoke it using vueApp.directive('trim-whitespace', trimWhitespaceDirective ) to maintain compatibility.`);
|
|
9
|
-
|
|
10
|
-
vueApp.directive('trim-whitespace', trimWhitespaceDirective );
|