dashboard-shell-shell 0.0.1
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/.DS_Store +0 -0
- package/assets/brand/csp/dark/rancher-logo.svg +148 -0
- package/assets/brand/csp/favicon.png +0 -0
- package/assets/brand/csp/metadata.json +3 -0
- package/assets/brand/csp/rancher-logo.svg +130 -0
- package/assets/brand/federal/dark/rancher-logo.svg +104 -0
- package/assets/brand/federal/metadata.json +3 -0
- package/assets/brand/federal/rancher-logo.svg +1 -0
- package/assets/brand/harvester/favicon.png +0 -0
- package/assets/brand/harvester/metadata.json +3 -0
- package/assets/brand/rgs/dark/rancher-logo.svg +1 -0
- package/assets/brand/rgs/metadata.json +3 -0
- package/assets/brand/rgs/rancher-logo.svg +1 -0
- package/assets/brand/suse/dark/rancher-logo.svg +1 -0
- package/assets/brand/suse/favicon.png +0 -0
- package/assets/brand/suse/metadata.json +3 -0
- package/assets/brand/suse/rancher-logo.svg +1 -0
- package/assets/data/aws-regions.json +39 -0
- package/assets/data/ec2-instance-groups.json +85 -0
- package/assets/fonts/lato/lato-v17-latin-700.woff +0 -0
- package/assets/fonts/lato/lato-v17-latin-700.woff2 +0 -0
- package/assets/fonts/lato/lato-v17-latin-regular.woff +0 -0
- package/assets/fonts/lato/lato-v17-latin-regular.woff2 +0 -0
- package/assets/fonts/poppins/poppins-v15-latin-300.woff +0 -0
- package/assets/fonts/poppins/poppins-v15-latin-300.woff2 +0 -0
- package/assets/fonts/poppins/poppins-v15-latin-500.woff +0 -0
- package/assets/fonts/poppins/poppins-v15-latin-500.woff2 +0 -0
- package/assets/fonts/roboto-mono/roboto-mono-v13-latin-regular.woff +0 -0
- package/assets/fonts/roboto-mono/roboto-mono-v13-latin-regular.woff2 +0 -0
- package/assets/icons/demo.css +539 -0
- package/assets/icons/demo_index.html +1131 -0
- package/assets/icons/iconfont.css +216 -0
- package/assets/icons/iconfont.js +1 -0
- package/assets/icons/iconfont.json +324 -0
- package/assets/icons/iconfont.ttf +0 -0
- package/assets/icons/iconfont.woff +0 -0
- package/assets/icons/iconfont.woff2 +0 -0
- package/assets/images/API.svg +3 -0
- package/assets/images/featured/img1.jpg +0 -0
- package/assets/images/featured.jpg +0 -0
- package/assets/images/field-valid.svg +16 -0
- package/assets/images/generic-catalog.svg +15 -0
- package/assets/images/generic-driver.svg +17 -0
- package/assets/images/generic-plugin.svg +1 -0
- package/assets/images/login/password.svg +20 -0
- package/assets/images/login/user.svg +6 -0
- package/assets/images/login-bg.png +0 -0
- package/assets/images/login-left.png +0 -0
- package/assets/images/login-logo.svg +19 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/pl/README.md +13 -0
- package/assets/images/pl/banner.svg +241 -0
- package/assets/images/pl/dark/banner.svg +242 -0
- package/assets/images/pl/dark/login-landscape.svg +291 -0
- package/assets/images/pl/dark/rancher-logo.svg +51 -0
- package/assets/images/pl/decoration-cloud-big-white.svg +1 -0
- package/assets/images/pl/decoration-ground.svg +1 -0
- package/assets/images/pl/error-desert-landscape.svg +217 -0
- package/assets/images/pl/half-logo.svg +2 -0
- package/assets/images/pl/harvester.png +0 -0
- package/assets/images/pl/harvester.svg +1 -0
- package/assets/images/pl/login-landscape.svg +496 -0
- package/assets/images/pl/rancher-logo.svg +51 -0
- package/assets/images/pl/setup-step-one.svg +612 -0
- package/assets/images/pl/sunglasses.svg +20 -0
- package/assets/images/promp-yellow.svg +5 -0
- package/assets/images/providers/aliyun-black.svg +14 -0
- package/assets/images/providers/aliyun.svg +17 -0
- package/assets/images/providers/aliyunecs-black.svg +13 -0
- package/assets/images/providers/aliyunecs.svg +21 -0
- package/assets/images/providers/amazonec2-black.svg +8 -0
- package/assets/images/providers/amazonec2.svg +19 -0
- package/assets/images/providers/amazoneks-black.svg +10 -0
- package/assets/images/providers/amazoneks.svg +14 -0
- package/assets/images/providers/aws.svg +38 -0
- package/assets/images/providers/azure-black.svg +29 -0
- package/assets/images/providers/azure.svg +32 -0
- package/assets/images/providers/azuread-black.svg +22 -0
- package/assets/images/providers/azuread.svg +25 -0
- package/assets/images/providers/azureaks-black.svg +28 -0
- package/assets/images/providers/azureaks.svg +31 -0
- package/assets/images/providers/baidu-black.svg +19 -0
- package/assets/images/providers/baidu.svg +25 -0
- package/assets/images/providers/cloudca-black.svg +45 -0
- package/assets/images/providers/cloudca.svg +49 -0
- package/assets/images/providers/cloudscale-black.svg +24 -0
- package/assets/images/providers/cloudscale.svg +28 -0
- package/assets/images/providers/custom.svg +85 -0
- package/assets/images/providers/digitalocean-black.svg +21 -0
- package/assets/images/providers/digitalocean.svg +24 -0
- package/assets/images/providers/equinix-black.svg +13 -0
- package/assets/images/providers/equinix.svg +13 -0
- package/assets/images/providers/exoscale.svg +1 -0
- package/assets/images/providers/gcp.svg +6 -0
- package/assets/images/providers/gke-black.svg +10 -0
- package/assets/images/providers/gke.svg +28 -0
- package/assets/images/providers/google.svg +29 -0
- package/assets/images/providers/googlegke-black.svg +10 -0
- package/assets/images/providers/googlegke.svg +28 -0
- package/assets/images/providers/harvester.svg +1 -0
- package/assets/images/providers/huaweicce-black.svg +109 -0
- package/assets/images/providers/huaweicce.svg +184 -0
- package/assets/images/providers/import.svg +99 -0
- package/assets/images/providers/k3s-black.svg +10 -0
- package/assets/images/providers/k3s.svg +15 -0
- package/assets/images/providers/kubernetes-black.svg +37 -0
- package/assets/images/providers/kubernetes.svg +99 -0
- package/assets/images/providers/linode.svg +54 -0
- package/assets/images/providers/linodelke-black.svg +40 -0
- package/assets/images/providers/linodelke.svg +54 -0
- package/assets/images/providers/local-cluster.svg +20 -0
- package/assets/images/providers/minikube-black.svg +25 -0
- package/assets/images/providers/minikube.svg +36 -0
- package/assets/images/providers/nutanix.svg +12 -0
- package/assets/images/providers/oci-black.svg +41 -0
- package/assets/images/providers/oci.svg +44 -0
- package/assets/images/providers/openstack-black.svg +16 -0
- package/assets/images/providers/openstack.svg +20 -0
- package/assets/images/providers/oracle.svg +66 -0
- package/assets/images/providers/oracleoke-black.svg +51 -0
- package/assets/images/providers/oracleoke.svg +55 -0
- package/assets/images/providers/otc-black.svg +15 -0
- package/assets/images/providers/otc.svg +33 -0
- package/assets/images/providers/otccce.svg +33 -0
- package/assets/images/providers/outscale.svg +19 -0
- package/assets/images/providers/ovhcloudmks.svg +122 -0
- package/assets/images/providers/ovhcloudpubliccloud.svg +122 -0
- package/assets/images/providers/packet-black.svg +15 -0
- package/assets/images/providers/packet.svg +16 -0
- package/assets/images/providers/pinganyunecs-black.svg +26 -0
- package/assets/images/providers/pinganyunecs.svg +26 -0
- package/assets/images/providers/pnap-black.svg +43 -0
- package/assets/images/providers/pnap.svg +48 -0
- package/assets/images/providers/rackspace-black.svg +14 -0
- package/assets/images/providers/rackspace.svg +18 -0
- package/assets/images/providers/rke.svg +26 -0
- package/assets/images/providers/rke2.svg +26 -0
- package/assets/images/providers/softlayer.svg +27 -0
- package/assets/images/providers/tencenttke-black.svg +22 -0
- package/assets/images/providers/tencenttke.svg +39 -0
- package/assets/images/providers/vmwarevsphere-black.svg +60 -0
- package/assets/images/providers/vmwarevsphere.svg +51 -0
- package/assets/images/user.png +0 -0
- package/assets/images/vendor/activedirectory.svg +20 -0
- package/assets/images/vendor/adfs.svg +19 -0
- package/assets/images/vendor/azuread.svg +18 -0
- package/assets/images/vendor/custom.svg +42 -0
- package/assets/images/vendor/email.svg +22 -0
- package/assets/images/vendor/freeipa.svg +26 -0
- package/assets/images/vendor/github.svg +13 -0
- package/assets/images/vendor/googleoauth.svg +9 -0
- package/assets/images/vendor/grafana.svg +48 -0
- package/assets/images/vendor/jaeger.svg +1 -0
- package/assets/images/vendor/keycloak.svg +30 -0
- package/assets/images/vendor/kiali.svg +23 -0
- package/assets/images/vendor/linux.svg +23 -0
- package/assets/images/vendor/longhorn.svg +25 -0
- package/assets/images/vendor/neuvector.svg +1 -0
- package/assets/images/vendor/okta.svg +31 -0
- package/assets/images/vendor/openid.svg +18 -0
- package/assets/images/vendor/openldap.svg +34 -0
- package/assets/images/vendor/pagerduty.svg +26 -0
- package/assets/images/vendor/ping.svg +58 -0
- package/assets/images/vendor/prometheus.svg +14 -0
- package/assets/images/vendor/shibboleth.svg +481 -0
- package/assets/images/vendor/slack.svg +38 -0
- package/assets/images/vendor/webhook.svg +23 -0
- package/assets/images/vendor/windows.svg +13 -0
- package/assets/images/wechat-qr-code.jpg +0 -0
- package/assets/styles/all.scss +63 -0
- package/assets/styles/app.scss +36 -0
- package/assets/styles/base/_basic.scss +152 -0
- package/assets/styles/base/_color.scss +11 -0
- package/assets/styles/base/_functions.scss +134 -0
- package/assets/styles/base/_helpers.scss +271 -0
- package/assets/styles/base/_mixins.scss +163 -0
- package/assets/styles/base/_typography.scss +70 -0
- package/assets/styles/base/_variables.scss +78 -0
- package/assets/styles/fonts/_dots.scss +18 -0
- package/assets/styles/fonts/_fontstack.scss +49 -0
- package/assets/styles/fonts/_icons.scss +101 -0
- package/assets/styles/fonts/_zerowidthspace.scss +8 -0
- package/assets/styles/global/_button.scss +234 -0
- package/assets/styles/global/_cards.scss +94 -0
- package/assets/styles/global/_columns.scss +128 -0
- package/assets/styles/global/_form.scss +178 -0
- package/assets/styles/global/_gauges.scss +55 -0
- package/assets/styles/global/_labeled-input.scss +165 -0
- package/assets/styles/global/_layout.scss +171 -0
- package/assets/styles/global/_resource.scss +89 -0
- package/assets/styles/global/_select.scss +202 -0
- package/assets/styles/global/_table.scss +106 -0
- package/assets/styles/global/_tooltip.scss +206 -0
- package/assets/styles/themes/_csp.scss +25 -0
- package/assets/styles/themes/_dark.scss +233 -0
- package/assets/styles/themes/_light.scss +569 -0
- package/assets/styles/themes/_suse.scss +27 -0
- package/assets/styles/vendor/_code-mirror.scss +3 -0
- package/assets/styles/vendor/normalize.scss +349 -0
- package/assets/styles/vendor/vue-select.scss +403 -0
- package/assets/translations/en-us.yaml +8184 -0
- package/assets/translations/zh-hans.yaml +7825 -0
- package/babel.config.js +35 -0
- package/chart/__tests__/S3.test.ts +64 -0
- package/chart/example.vue +18 -0
- package/chart/gatekeeper.vue +69 -0
- package/chart/istio.vue +284 -0
- package/chart/logging/index.vue +84 -0
- package/chart/monitoring/ClusterSelector.vue +215 -0
- package/chart/monitoring/StorageClassSelector.vue +49 -0
- package/chart/monitoring/alerting/index.vue +188 -0
- package/chart/monitoring/grafana/index.vue +378 -0
- package/chart/monitoring/index.vue +366 -0
- package/chart/monitoring/prometheus/index.vue +376 -0
- package/chart/rancher-backup/S3.vue +190 -0
- package/chart/rancher-backup/index.vue +260 -0
- package/cloud-credential/__tests__/azure.test.ts +43 -0
- package/cloud-credential/__tests__/harvester.test.ts +18 -0
- package/cloud-credential/aws.vue +111 -0
- package/cloud-credential/azure.vue +132 -0
- package/cloud-credential/digitalocean.vue +55 -0
- package/cloud-credential/gcp.vue +82 -0
- package/cloud-credential/generic.vue +100 -0
- package/cloud-credential/harvester.vue +125 -0
- package/cloud-credential/linode.vue +58 -0
- package/cloud-credential/pnap.vue +92 -0
- package/cloud-credential/s3.vue +143 -0
- package/cloud-credential/vmwarevsphere.vue +109 -0
- package/components/ActionDropdown.vue +248 -0
- package/components/ActionDropdownShell.vue +71 -0
- package/components/ActionMenu.vue +366 -0
- package/components/ActionMenuShell.vue +106 -0
- package/components/AdvancedSection.vue +40 -0
- package/components/Alert.vue +55 -0
- package/components/AlertTable.vue +123 -0
- package/components/AppModal.vue +307 -0
- package/components/AssignTo.vue +199 -0
- package/components/AsyncButton.vue +332 -0
- package/components/AwsComplianceBanner.vue +47 -0
- package/components/BackLink.vue +44 -0
- package/components/BannerGraphic.vue +95 -0
- package/components/BrandImage.vue +135 -0
- package/components/ButtonDropdown.vue +340 -0
- package/components/ButtonGroup.vue +124 -0
- package/components/ButtonMultiAction.vue +52 -0
- package/components/Carousel.vue +397 -0
- package/components/Certificates.vue +161 -0
- package/components/ChartHeading.vue +25 -0
- package/components/ChartReadme.vue +100 -0
- package/components/ClusterBadge.vue +48 -0
- package/components/ClusterIconMenu.vue +189 -0
- package/components/ClusterProviderIcon.vue +131 -0
- package/components/CodeMirror.vue +501 -0
- package/components/Collapse.vue +87 -0
- package/components/CollapsibleCard.vue +121 -0
- package/components/CommunityLinks.vue +216 -0
- package/components/CompoundStatusBadge.vue +53 -0
- package/components/ConsumptionGauge.vue +167 -0
- package/components/ContainerResourceLimit.vue +254 -0
- package/components/CopyCode.vue +74 -0
- package/components/CopyToClipboard.vue +44 -0
- package/components/CopyToClipboardText.vue +83 -0
- package/components/CountBox.vue +114 -0
- package/components/CountGauge.vue +180 -0
- package/components/CreateDriver.vue +81 -0
- package/components/CruResource.vue +936 -0
- package/components/CruResourceFooter.vue +127 -0
- package/components/DashboardMetrics.vue +125 -0
- package/components/DashboardOptions.vue +159 -0
- package/components/DetailText.vue +220 -0
- package/components/DetailTop.vue +374 -0
- package/components/Dialog.vue +136 -0
- package/components/DisableAuthProviderModal.vue +115 -0
- package/components/DotState.vue +84 -0
- package/components/DraggableZone.vue +181 -0
- package/components/EmberPage.vue +622 -0
- package/components/EmberPageView.vue +39 -0
- package/components/EtcdInfoBanner.vue +76 -0
- package/components/ExplorerMembers.vue +453 -0
- package/components/ExplorerProjectsNamespaces.vue +654 -0
- package/components/ExtensionPanel.vue +42 -0
- package/components/FileDiff.vue +184 -0
- package/components/FixedBanner.vue +284 -0
- package/components/Flag.vue +83 -0
- package/components/Glance.vue +79 -0
- package/components/GlobalRoleBindings.vue +429 -0
- package/components/GradientBox.vue +82 -0
- package/components/GrafanaDashboard.vue +321 -0
- package/components/GroupPanel.vue +57 -0
- package/components/GrowlManager.vue +215 -0
- package/components/HardwareResourceGauge.vue +206 -0
- package/components/HarvesterServiceAddOnConfig.vue +207 -0
- package/components/IconMessage.vue +101 -0
- package/components/IconOrSvg.vue +184 -0
- package/components/Import.vue +260 -0
- package/components/Inactivity.vue +236 -0
- package/components/IndentedPanel.vue +26 -0
- package/components/InfoBox.vue +84 -0
- package/components/InputOrDisplay.vue +91 -0
- package/components/KeyValueView.vue +283 -0
- package/components/LabelValue.vue +61 -0
- package/components/LandingPagePreference.vue +154 -0
- package/components/LazyImage.vue +70 -0
- package/components/Loading.vue +85 -0
- package/components/LocaleSelector.vue +121 -0
- package/components/LogItem.vue +69 -0
- package/components/Markdown.vue +138 -0
- package/components/MessageLink.vue +79 -0
- package/components/ModalManager.vue +55 -0
- package/components/ModalWithCard.vue +147 -0
- package/components/MoveModal.vue +167 -0
- package/components/PaginatedResourceTable.vue +133 -0
- package/components/PercentageBar.vue +127 -0
- package/components/PodSecurityAdmission.vue +306 -0
- package/components/ProgressBarMulti.vue +173 -0
- package/components/PromptChangePassword.vue +123 -0
- package/components/PromptModal.vue +122 -0
- package/components/PromptRemove.vue +491 -0
- package/components/PromptRestore.vue +328 -0
- package/components/Questions/Array.vue +38 -0
- package/components/Questions/Boolean.vue +37 -0
- package/components/Questions/CloudCredential.vue +54 -0
- package/components/Questions/Enum.vue +53 -0
- package/components/Questions/Float.vue +41 -0
- package/components/Questions/Int.vue +41 -0
- package/components/Questions/Question.js +145 -0
- package/components/Questions/QuestionMap.vue +45 -0
- package/components/Questions/Radio.vue +35 -0
- package/components/Questions/Reference.vue +167 -0
- package/components/Questions/String.vue +51 -0
- package/components/Questions/Yaml.vue +48 -0
- package/components/Questions/__tests__/Boolean.test.ts +125 -0
- package/components/Questions/__tests__/Float.test.ts +125 -0
- package/components/Questions/__tests__/Int.test.ts +125 -0
- package/components/Questions/__tests__/String.test.ts +125 -0
- package/components/Questions/__tests__/Yaml.test.ts +125 -0
- package/components/Questions/__tests__/utils/questions-defaults.ts +20 -0
- package/components/Questions/index.vue +522 -0
- package/components/Random.vue +100 -0
- package/components/RelatedResources.vue +187 -0
- package/components/ResourceCancelModal.vue +128 -0
- package/components/ResourceDetail/Masthead.vue +838 -0
- package/components/ResourceDetail/__tests__/Masthead.test.ts +65 -0
- package/components/ResourceDetail/index.vue +572 -0
- package/components/ResourceList/Masthead.vue +311 -0
- package/components/ResourceList/ResourceLoadingIndicator.vue +137 -0
- package/components/ResourceList/index.vue +307 -0
- package/components/ResourceList/resource-list.config.js +7 -0
- package/components/ResourceSummary.vue +173 -0
- package/components/ResourceTable.vue +708 -0
- package/components/ResourceYaml.vue +403 -0
- package/components/RoleBindings.vue +470 -0
- package/components/SelectIconGrid.vue +414 -0
- package/components/Setting.vue +115 -0
- package/components/SideNav.vue +589 -0
- package/components/SimpleBox.vue +121 -0
- package/components/SingleClusterInfo.vue +199 -0
- package/components/SlideInPanelManager.vue +126 -0
- package/components/SortableTable/THead.vue +555 -0
- package/components/SortableTable/actions.js +153 -0
- package/components/SortableTable/advanced-filtering.js +272 -0
- package/components/SortableTable/debug.js +117 -0
- package/components/SortableTable/filtering.js +290 -0
- package/components/SortableTable/grouping.js +48 -0
- package/components/SortableTable/index.vue +2604 -0
- package/components/SortableTable/paging.js +155 -0
- package/components/SortableTable/selection.js +629 -0
- package/components/SortableTable/sortable-config.ts +4 -0
- package/components/SortableTable/sorting.js +129 -0
- package/components/StatusBadge.vue +77 -0
- package/components/StatusTable.vue +61 -0
- package/components/TabTitle.vue +78 -0
- package/components/Tabbed/Tab.vue +129 -0
- package/components/Tabbed/index.vue +587 -0
- package/components/TableDataUserIcon.vue +47 -0
- package/components/TableSparkLine.vue +108 -0
- package/components/Tag.vue +19 -0
- package/components/Tip.vue +43 -0
- package/components/TypeDescription.vue +65 -0
- package/components/Wizard.vue +704 -0
- package/components/YamlEditor.vue +296 -0
- package/components/__tests__/AppModal.test.ts +106 -0
- package/components/__tests__/ApplicationCard.test.ts +27 -0
- package/components/__tests__/AsyncButton.test.ts +148 -0
- package/components/__tests__/BackLink.test.ts +33 -0
- package/components/__tests__/ButtonGroup.test.ts +121 -0
- package/components/__tests__/ButtonMultiAction.test.ts +31 -0
- package/components/__tests__/Carousel.test.ts +72 -0
- package/components/__tests__/Certificates.test.ts +31 -0
- package/components/__tests__/ClusterBadge.test.ts +32 -0
- package/components/__tests__/CodeMirror.test.ts +93 -0
- package/components/__tests__/Collapse.test.ts +44 -0
- package/components/__tests__/CollapsibleCard.test.ts +64 -0
- package/components/__tests__/ConsumptionGauge.test.ts +88 -0
- package/components/__tests__/ContainerResourceLimit.test.ts +35 -0
- package/components/__tests__/CopyCode.test.ts +16 -0
- package/components/__tests__/CruResource.test.ts +155 -0
- package/components/__tests__/EtcdInfoBanner.test.ts +39 -0
- package/components/__tests__/FixedBanner.test.ts +114 -0
- package/components/__tests__/GrowlManager.test.ts +146 -0
- package/components/__tests__/ModalManager.spec.ts +176 -0
- package/components/__tests__/NamespaceFilter.test.ts +247 -0
- package/components/__tests__/PercentageBar.test.ts +32 -0
- package/components/__tests__/PodSecurityAdmission.test.ts +440 -0
- package/components/__tests__/ProjectRow.test.ts +59 -0
- package/components/__tests__/PromptRestore.test.ts +139 -0
- package/components/__tests__/SimpleBox.spec.ts +28 -0
- package/components/__tests__/SlideInPanelManager.spec.ts +166 -0
- package/components/__tests__/TabTitle.test.ts +136 -0
- package/components/auth/AllowedPrincipals.vue +122 -0
- package/components/auth/AuthBanner.vue +104 -0
- package/components/auth/AzureWarning.vue +77 -0
- package/components/auth/Principal.vue +219 -0
- package/components/auth/RoleDetailEdit.vue +808 -0
- package/components/auth/SelectPrincipal.vue +260 -0
- package/components/auth/__tests__/Principal.test.ts +40 -0
- package/components/auth/__tests__/RoleDetailEdit.test.ts +84 -0
- package/components/auth/login/github.vue +23 -0
- package/components/auth/login/ldap.vue +106 -0
- package/components/auth/login/oauth.vue +26 -0
- package/components/auth/login/oidc.vue +32 -0
- package/components/auth/login/saml.vue +39 -0
- package/components/cards/ApplicationCard.vue +145 -0
- package/components/fleet/FleetBundleResources.vue +86 -0
- package/components/fleet/FleetBundles.vue +136 -0
- package/components/fleet/FleetClusters.vue +208 -0
- package/components/fleet/FleetIntro.vue +65 -0
- package/components/fleet/FleetNoWorkspaces.vue +62 -0
- package/components/fleet/FleetRepos.vue +184 -0
- package/components/fleet/FleetResources.vue +83 -0
- package/components/fleet/FleetStatus.vue +301 -0
- package/components/fleet/FleetSummary.vue +210 -0
- package/components/fleet/ForceDirectedTreeChart/chartIcons.js +17 -0
- package/components/fleet/ForceDirectedTreeChart/index.vue +565 -0
- package/components/fleet/ResourcesSummary.vue +93 -0
- package/components/fleet/__tests__/FleetSummary.test.ts +362 -0
- package/components/form/ArrayList.vue +456 -0
- package/components/form/ArrayListGrouped.vue +149 -0
- package/components/form/ArrayListSelect.vue +103 -0
- package/components/form/BannerSettings.vue +220 -0
- package/components/form/ChangePassword.vue +461 -0
- package/components/form/ClusterAppearance.vue +132 -0
- package/components/form/ColorInput.vue +200 -0
- package/components/form/Command.vue +204 -0
- package/components/form/Conditions.vue +93 -0
- package/components/form/EnvVars.vue +162 -0
- package/components/form/Error.vue +66 -0
- package/components/form/FileImageSelector.vue +140 -0
- package/components/form/FileSelector.vue +169 -0
- package/components/form/Footer.vue +119 -0
- package/components/form/GitPicker.vue +590 -0
- package/components/form/HealthCheck.vue +86 -0
- package/components/form/HookOption.vue +253 -0
- package/components/form/InputWithSelect.vue +330 -0
- package/components/form/KeyValue.vue +991 -0
- package/components/form/LabeledSelect.vue +719 -0
- package/components/form/Labels.vue +154 -0
- package/components/form/LifecycleHooks.vue +87 -0
- package/components/form/MatchExpressions.vue +471 -0
- package/components/form/Members/ClusterMembershipEditor.vue +61 -0
- package/components/form/Members/ClusterPermissionsEditor.vue +314 -0
- package/components/form/Members/MembershipEditor.vue +230 -0
- package/components/form/Members/ProjectMembershipEditor.vue +63 -0
- package/components/form/Members/__tests__/MembershipEditor.test.ts +62 -0
- package/components/form/NameNsDescription.vue +601 -0
- package/components/form/Networking.vue +281 -0
- package/components/form/NodeAffinity.vue +258 -0
- package/components/form/NodeScheduling.vue +212 -0
- package/components/form/NotificationSettings.vue +71 -0
- package/components/form/Password.vue +191 -0
- package/components/form/PlusMinus.vue +109 -0
- package/components/form/PodAffinity.vue +496 -0
- package/components/form/Ports.vue +310 -0
- package/components/form/Probe.vue +376 -0
- package/components/form/ProjectMemberEditor.vue +342 -0
- package/components/form/ResourceLabeledSelect.vue +154 -0
- package/components/form/ResourceQuota/Namespace.vue +117 -0
- package/components/form/ResourceQuota/NamespaceRow.vue +220 -0
- package/components/form/ResourceQuota/Project.vue +107 -0
- package/components/form/ResourceQuota/ProjectRow.vue +115 -0
- package/components/form/ResourceQuota/shared.js +147 -0
- package/components/form/ResourceSelector.vue +144 -0
- package/components/form/ResourceTabs/index.vue +292 -0
- package/components/form/RuleSelector.vue +184 -0
- package/components/form/SSHKnownHosts/KnownHostsEditDialog.vue +196 -0
- package/components/form/SSHKnownHosts/__tests__/KnownHostsEditDialog.test.ts +115 -0
- package/components/form/SSHKnownHosts/index.vue +115 -0
- package/components/form/SchedulingCustomization.vue +85 -0
- package/components/form/SecretSelector.vue +269 -0
- package/components/form/Security.vue +245 -0
- package/components/form/Select.vue +407 -0
- package/components/form/SelectOrCreateAuthSecret.vue +693 -0
- package/components/form/ServiceNameSelect.vue +168 -0
- package/components/form/ServicePorts.vue +340 -0
- package/components/form/ShellInput.vue +95 -0
- package/components/form/SimpleSecretSelector.vue +278 -0
- package/components/form/Taints.vue +98 -0
- package/components/form/Tolerations.vue +319 -0
- package/components/form/UnitInput.vue +257 -0
- package/components/form/ValueFromResource.vue +407 -0
- package/components/form/WorkloadPorts.vue +514 -0
- package/components/form/__tests__/ArrayList.test.ts +127 -0
- package/components/form/__tests__/ArrayListGrouped.test.ts +41 -0
- package/components/form/__tests__/BannerSettings.test.ts +54 -0
- package/components/form/__tests__/ColorInput.test.ts +27 -0
- package/components/form/__tests__/Command.test.ts +64 -0
- package/components/form/__tests__/Error.test.ts +56 -0
- package/components/form/__tests__/FileImageSelector.test.ts +42 -0
- package/components/form/__tests__/FileSelector.test.ts +76 -0
- package/components/form/__tests__/HookOption.test.ts +28 -0
- package/components/form/__tests__/InputWithSelect.test.ts +42 -0
- package/components/form/__tests__/KeyValue.test.ts +179 -0
- package/components/form/__tests__/LabeledSelect.test.ts +217 -0
- package/components/form/__tests__/MatchExpressions.test.ts +78 -0
- package/components/form/__tests__/NameNsDescription.test.ts +173 -0
- package/components/form/__tests__/NodeAffinity.test.ts +39 -0
- package/components/form/__tests__/NodeScheduling.test.ts +44 -0
- package/components/form/__tests__/PodAffinity.test.ts +47 -0
- package/components/form/__tests__/Probe.test.ts +78 -0
- package/components/form/__tests__/SSHKnownHosts.test.ts +70 -0
- package/components/form/__tests__/Security.test.ts +55 -0
- package/components/form/__tests__/Select.test.ts +67 -0
- package/components/form/__tests__/SelectOrCreateAuthSecret.test.ts +34 -0
- package/components/form/__tests__/ServiceNameSelect.test.ts +42 -0
- package/components/form/__tests__/Taints.test.ts +71 -0
- package/components/form/__tests__/UnitInput.test.ts +255 -0
- package/components/form/labeled-select-utils/labeled-select-pagination.ts +151 -0
- package/components/form/labeled-select-utils/labeled-select.utils.ts +122 -0
- package/components/formatter/AppSummaryGraph.vue +154 -0
- package/components/formatter/BadgeStateFormatter.vue +66 -0
- package/components/formatter/Capitalize.vue +28 -0
- package/components/formatter/Checked.vue +31 -0
- package/components/formatter/CloudCredExpired.vue +69 -0
- package/components/formatter/CloudCredPublicData.vue +30 -0
- package/components/formatter/ClusterLink.vue +117 -0
- package/components/formatter/ClusterProvider.vue +38 -0
- package/components/formatter/CopyToClipboard.vue +18 -0
- package/components/formatter/Date.vue +74 -0
- package/components/formatter/DelayedValue.vue +46 -0
- package/components/formatter/Endpoints.vue +106 -0
- package/components/formatter/ExternalLink.vue +11 -0
- package/components/formatter/FleetClusterSummaryGraph.vue +27 -0
- package/components/formatter/FleetSummaryGraph.vue +122 -0
- package/components/formatter/IconIsDefault.vue +34 -0
- package/components/formatter/IconText.vue +49 -0
- package/components/formatter/ImageName.vue +23 -0
- package/components/formatter/ImagePercentageBar.vue +86 -0
- package/components/formatter/IngressFullPath.vue +22 -0
- package/components/formatter/IngressTarget.vue +96 -0
- package/components/formatter/InternalExternalIP.vue +64 -0
- package/components/formatter/InvolvedObjectLink.vue +54 -0
- package/components/formatter/KeyValue.vue +78 -0
- package/components/formatter/Link.vue +189 -0
- package/components/formatter/LinkDetail.vue +58 -0
- package/components/formatter/LinkDetailImage.vue +31 -0
- package/components/formatter/LinkName.vue +66 -0
- package/components/formatter/List.vue +22 -0
- package/components/formatter/ListLink.vue +37 -0
- package/components/formatter/ListLinkDetail.vue +30 -0
- package/components/formatter/LiveDate.vue +167 -0
- package/components/formatter/LiveDuration.vue +78 -0
- package/components/formatter/LiveExpiryBadgeState.vue +79 -0
- package/components/formatter/LiveExpiryDate.vue +87 -0
- package/components/formatter/LivePodRestarts.vue +50 -0
- package/components/formatter/MachineSummaryGraph.vue +108 -0
- package/components/formatter/Number.vue +34 -0
- package/components/formatter/Percentage.vue +25 -0
- package/components/formatter/PercentageBar.vue +41 -0
- package/components/formatter/PodImages.vue +72 -0
- package/components/formatter/PodsUsage.vue +29 -0
- package/components/formatter/Principal.vue +22 -0
- package/components/formatter/PrincipalGroupBindings.vue +59 -0
- package/components/formatter/QualityText.vue +21 -0
- package/components/formatter/RKETemplateName.vue +37 -0
- package/components/formatter/ReceiverIcons.vue +132 -0
- package/components/formatter/RunBookLink.vue +20 -0
- package/components/formatter/Scale.vue +143 -0
- package/components/formatter/ScanResult.vue +33 -0
- package/components/formatter/SecretData.vue +68 -0
- package/components/formatter/ServiceTargets.vue +121 -0
- package/components/formatter/ServiceType.vue +54 -0
- package/components/formatter/Shortened.vue +55 -0
- package/components/formatter/Si.vue +46 -0
- package/components/formatter/Translate.vue +32 -0
- package/components/formatter/VerticalScroll.vue +17 -0
- package/components/formatter/VirtualServiceGateways.vue +111 -0
- package/components/formatter/WorkloadDetailEndpoints.vue +107 -0
- package/components/formatter/WorkloadHealthScale.vue +339 -0
- package/components/formatter/__tests__/Checked.test.ts +19 -0
- package/components/formatter/__tests__/ClusterLink.test.ts +101 -0
- package/components/formatter/__tests__/Date.test.ts +60 -0
- package/components/formatter/__tests__/LinkDetail.test.ts +72 -0
- package/components/formatter/__tests__/LiveDate.test.ts +90 -0
- package/components/formatter/__tests__/PodsUsage.test.ts +55 -0
- package/components/formatter/__tests__/Si.test.ts +35 -0
- package/components/formatter/__tests__/WorkloadDetailEndpoints.test.ts +81 -0
- package/components/graph/AspectPreserver.vue +79 -0
- package/components/graph/Bar.vue +81 -0
- package/components/graph/Circle.vue +164 -0
- package/components/graph/HalfCircle.vue +46 -0
- package/components/graph/LinePlot.vue +189 -0
- package/components/graph/ProgressArc.vue +94 -0
- package/components/nav/Favorite.vue +60 -0
- package/components/nav/GlobalLoading.vue +25 -0
- package/components/nav/Group.vue +496 -0
- package/components/nav/Header.vue +1182 -0
- package/components/nav/HeaderPageActionMenu.vue +22 -0
- package/components/nav/Jump.vue +135 -0
- package/components/nav/NamespaceFilter.vue +1165 -0
- package/components/nav/Pinned.vue +52 -0
- package/components/nav/TopLevelMenu.helper.ts +562 -0
- package/components/nav/TopLevelMenu.vue +1590 -0
- package/components/nav/Type.vue +289 -0
- package/components/nav/WindowManager/ChartReadme.vue +48 -0
- package/components/nav/WindowManager/ContainerLogs.vue +877 -0
- package/components/nav/WindowManager/ContainerShell.vue +585 -0
- package/components/nav/WindowManager/KubectlShell.vue +42 -0
- package/components/nav/WindowManager/MachineSsh.vue +21 -0
- package/components/nav/WindowManager/Window.vue +105 -0
- package/components/nav/WindowManager/__tests__/ContainerLogs.test.ts +197 -0
- package/components/nav/WindowManager/__tests__/ContainerShell.test.ts +571 -0
- package/components/nav/WindowManager/index.vue +587 -0
- package/components/nav/WorkspaceSwitcher.vue +190 -0
- package/components/nav/__tests__/TopLevelMenu.test.ts +558 -0
- package/components/nav/__tests__/Type.test.ts +491 -0
- package/components/templates/blank.vue +23 -0
- package/components/templates/default.vue +271 -0
- package/components/templates/home.vue +135 -0
- package/components/templates/plain.vue +143 -0
- package/components/templates/standalone.vue +9 -0
- package/components/templates/unauthenticated.vue +26 -0
- package/components/user.retention/user-retention-header.vue +34 -0
- package/composables/focusTrap.ts +76 -0
- package/composables/useClickOutside.ts +81 -0
- package/composables/useCompactInput.test.ts +36 -0
- package/composables/useCompactInput.ts +20 -0
- package/composables/useI18n.ts +26 -0
- package/composables/useLabeledFormElement.test.ts +135 -0
- package/composables/useLabeledFormElement.ts +153 -0
- package/composables/useRuntimeFlag.ts +29 -0
- package/composables/useUserRetentionValidation.test.ts +178 -0
- package/composables/useUserRetentionValidation.ts +201 -0
- package/config/__test__/home-links.test.ts +57 -0
- package/config/cookies.js +4 -0
- package/config/elemental-types.js +9 -0
- package/config/features.js +6 -0
- package/config/harvester-manager-types.js +3 -0
- package/config/home-links.js +209 -0
- package/config/labels-annotations.js +192 -0
- package/config/local-storage.js +6 -0
- package/config/page-actions.js +4 -0
- package/config/pagination-table-headers.js +80 -0
- package/config/persistentVolume.ts +108 -0
- package/config/pod-security-admission.ts +82 -0
- package/config/private-label.js +99 -0
- package/config/product/apps.js +148 -0
- package/config/product/auth.js +218 -0
- package/config/product/backup.js +61 -0
- package/config/product/cis.js +158 -0
- package/config/product/explorer.js +632 -0
- package/config/product/fleet.js +100 -0
- package/config/product/gatekeeper.js +119 -0
- package/config/product/istio.js +89 -0
- package/config/product/legacy.js +62 -0
- package/config/product/logging.js +377 -0
- package/config/product/longhorn.js +49 -0
- package/config/product/manager.js +217 -0
- package/config/product/monitoring.js +287 -0
- package/config/product/navlinks.js +32 -0
- package/config/product/neuvector.js +30 -0
- package/config/product/settings.js +161 -0
- package/config/product/uiplugins.js +18 -0
- package/config/query-params.js +79 -0
- package/config/roles.ts +409 -0
- package/config/router/index.js +26 -0
- package/config/router/navigation-guards/attempt-first-login.js +73 -0
- package/config/router/navigation-guards/authentication.js +64 -0
- package/config/router/navigation-guards/clusters.js +132 -0
- package/config/router/navigation-guards/i18n.js +13 -0
- package/config/router/navigation-guards/index.js +23 -0
- package/config/router/navigation-guards/install-redirect.js +95 -0
- package/config/router/navigation-guards/load-initial-settings.js +15 -0
- package/config/router/navigation-guards/page-title.js +12 -0
- package/config/router/navigation-guards/products.js +15 -0
- package/config/router/navigation-guards/record-last-route.js +24 -0
- package/config/router/navigation-guards/runtime-extension-route.js +31 -0
- package/config/router/navigation-guards/server-upgrade-growl.js +19 -0
- package/config/router/routes.js +496 -0
- package/config/schema.js +32 -0
- package/config/secret.js +14 -0
- package/config/settings.ts +258 -0
- package/config/store.js +188 -0
- package/config/system-namespaces.js +18 -0
- package/config/table-headers.js +1116 -0
- package/config/types.js +353 -0
- package/config/uiplugins.js +276 -0
- package/config/version.js +33 -0
- package/config/workload.ts +1 -0
- package/core/plugin-helpers.ts +220 -0
- package/core/plugin-routes.ts +34 -0
- package/core/plugin.ts +367 -0
- package/core/plugins-loader.js +31 -0
- package/core/plugins.js +471 -0
- package/core/types-provisioning.ts +361 -0
- package/core/types.ts +682 -0
- package/detail/__tests__/autoscaling.horizontalpodautoscaler.test.ts +196 -0
- package/detail/__tests__/provisioning.cattle.io.cluster.test.ts +119 -0
- package/detail/__tests__/service.test.ts +62 -0
- package/detail/autoscaling.horizontalpodautoscaler/index.vue +264 -0
- package/detail/catalog.cattle.io.app.vue +181 -0
- package/detail/catalog.cattle.io.clusterrepo.vue +35 -0
- package/detail/cis.cattle.io.clusterscan.vue +372 -0
- package/detail/configmap.vue +81 -0
- package/detail/constraints.gatekeeper.sh.constraint.vue +66 -0
- package/detail/fleet.cattle.io.bundle.vue +63 -0
- package/detail/fleet.cattle.io.cluster.vue +99 -0
- package/detail/fleet.cattle.io.clustergroup.vue +76 -0
- package/detail/fleet.cattle.io.gitrepo.vue +148 -0
- package/detail/harvesterhci.io.management.cluster.vue +104 -0
- package/detail/helm.cattle.io.projecthelmchart.vue +249 -0
- package/detail/management.cattle.io.fleetworkspace.vue +100 -0
- package/detail/management.cattle.io.globalrole.vue +8 -0
- package/detail/management.cattle.io.roletemplate.vue +11 -0
- package/detail/management.cattle.io.user.vue +312 -0
- package/detail/namespace.vue +269 -0
- package/detail/networking.k8s.io.ingress.vue +74 -0
- package/detail/node.vue +330 -0
- package/detail/pod.vue +255 -0
- package/detail/provisioning.cattle.io.cluster.vue +1200 -0
- package/detail/rbac.authorization.k8s.io.clusterrole.vue +8 -0
- package/detail/rbac.authorization.k8s.io.role.vue +8 -0
- package/detail/secret.vue +313 -0
- package/detail/service.vue +202 -0
- package/detail/workload/index.vue +541 -0
- package/dialog/AddClusterMemberDialog.vue +86 -0
- package/dialog/AddCustomBadgeDialog.vue +466 -0
- package/dialog/AddProjectMemberDialog.vue +181 -0
- package/dialog/AddonConfigConfirmationDialog.vue +101 -0
- package/dialog/DeactivateDriverDialog.vue +139 -0
- package/dialog/DiagnosticTimingsDialog.vue +141 -0
- package/dialog/DrainNode.vue +247 -0
- package/dialog/ForceMachineRemoveDialog.vue +134 -0
- package/dialog/GenericPrompt.vue +135 -0
- package/dialog/GitRepoForceUpdateDialog.vue +132 -0
- package/dialog/RollbackWorkloadDialog.vue +308 -0
- package/dialog/RotateCertificatesDialog.vue +205 -0
- package/dialog/RotateEncryptionKeyDialog.vue +191 -0
- package/dialog/SaveAsRKETemplateDialog.vue +139 -0
- package/dialog/ScaleMachineDownDialog.vue +156 -0
- package/dialog/ScalePoolDownDialog.vue +121 -0
- package/dialog/SloDialog.vue +97 -0
- package/directives/clean-html.js +15 -0
- package/directives/clean-tooltip.js +32 -0
- package/directives/focus.js +47 -0
- package/directives/int-number.js +21 -0
- package/directives/positive-int-number.js +19 -0
- package/directives/strip-html-aria-label.js +19 -0
- package/directives/trim-whitespace.js +19 -0
- package/edit/__tests__/cis.cattle.io.clusterscan.test.ts +87 -0
- package/edit/__tests__/fleet.cattle.io.gitrepo.test.ts +246 -0
- package/edit/__tests__/kontainerDriver.test.ts +110 -0
- package/edit/__tests__/management.cattle.io.clusterroletemplatebinding.test.ts +71 -0
- package/edit/__tests__/management.cattle.io.setting.test.ts +109 -0
- package/edit/__tests__/monitoring.coreos.com.prometheusrule.test.ts +70 -0
- package/edit/__tests__/namespace.test.ts +49 -0
- package/edit/__tests__/nodeDriver.test.ts +89 -0
- package/edit/__tests__/service.test.ts +100 -0
- package/edit/__tests__/ui.cattle.io.navlink.test.ts +114 -0
- package/edit/auth/AuthProviderWarningBanners.vue +34 -0
- package/edit/auth/__tests__/AuthProviderWarningBanners.test.ts +19 -0
- package/edit/auth/__tests__/azuread.test.ts +238 -0
- package/edit/auth/__tests__/oidc.test.ts +225 -0
- package/edit/auth/azuread.vue +538 -0
- package/edit/auth/github.vue +269 -0
- package/edit/auth/googleoauth.vue +260 -0
- package/edit/auth/ldap/__tests__/config.test.ts +44 -0
- package/edit/auth/ldap/config.vue +379 -0
- package/edit/auth/ldap/index.vue +156 -0
- package/edit/auth/oidc.vue +445 -0
- package/edit/auth/saml.vue +432 -0
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +58 -0
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +130 -0
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +343 -0
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +82 -0
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +60 -0
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +220 -0
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +198 -0
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +71 -0
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +58 -0
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +65 -0
- package/edit/catalog.cattle.io.clusterrepo.vue +336 -0
- package/edit/cis.cattle.io.clusterscan.vue +377 -0
- package/edit/cis.cattle.io.clusterscanbenchmark.vue +153 -0
- package/edit/cis.cattle.io.clusterscanprofile.vue +150 -0
- package/edit/cloudcredential.vue +334 -0
- package/edit/configmap.vue +163 -0
- package/edit/constraints.gatekeeper.sh.constraint/MatchKinds.vue +72 -0
- package/edit/constraints.gatekeeper.sh.constraint/NamespaceList.vue +78 -0
- package/edit/constraints.gatekeeper.sh.constraint/Scope.vue +52 -0
- package/edit/constraints.gatekeeper.sh.constraint/index.vue +368 -0
- package/edit/fleet.cattle.io.cluster.vue +105 -0
- package/edit/fleet.cattle.io.clustergroup.vue +189 -0
- package/edit/fleet.cattle.io.gitrepo.vue +912 -0
- package/edit/group.principal.vue +65 -0
- package/edit/helm.cattle.io.projecthelmchart.vue +163 -0
- package/edit/k8s.cni.cncf.io.networkattachmentdefinition.vue +94 -0
- package/edit/kontainerDriver.vue +67 -0
- package/edit/logging-flow/Match.vue +142 -0
- package/edit/logging-flow/index.vue +549 -0
- package/edit/logging.banzaicloud.io.clusterflow.vue +7 -0
- package/edit/logging.banzaicloud.io.clusteroutput.vue +12 -0
- package/edit/logging.banzaicloud.io.flow.vue +7 -0
- package/edit/logging.banzaicloud.io.output/__tests__/logging.banzaicloud.io.output.test.ts +310 -0
- package/edit/logging.banzaicloud.io.output/index.vue +386 -0
- package/edit/logging.banzaicloud.io.output/providers/__tests__/loki.test.ts +13 -0
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +77 -0
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +94 -0
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +112 -0
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +95 -0
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +234 -0
- package/edit/logging.banzaicloud.io.output/providers/file.vue +47 -0
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +152 -0
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +102 -0
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +167 -0
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +166 -0
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +76 -0
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +72 -0
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +107 -0
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +172 -0
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +71 -0
- package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +225 -0
- package/edit/logging.banzaicloud.io.output/providers/redis.vue +142 -0
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +122 -0
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +180 -0
- package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +59 -0
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +234 -0
- package/edit/logging.banzaicloud.io.output/providers/utils.js +27 -0
- package/edit/management.cattle.io.clusterroletemplatebinding.vue +71 -0
- package/edit/management.cattle.io.fleetworkspace.vue +245 -0
- package/edit/management.cattle.io.globalrole.vue +8 -0
- package/edit/management.cattle.io.node.vue +72 -0
- package/edit/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +111 -0
- package/edit/management.cattle.io.project.vue +255 -0
- package/edit/management.cattle.io.projectroletemplatebinding.vue +96 -0
- package/edit/management.cattle.io.roletemplate.vue +11 -0
- package/edit/management.cattle.io.setting.vue +264 -0
- package/edit/management.cattle.io.user.vue +289 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +324 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/index.vue +287 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +423 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +176 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/tls.vue +272 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +175 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +282 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +203 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +140 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +230 -0
- package/edit/monitoring.coreos.com.prometheusrule/AlertingRule.vue +534 -0
- package/edit/monitoring.coreos.com.prometheusrule/GroupRules.vue +229 -0
- package/edit/monitoring.coreos.com.prometheusrule/RecordingRule.vue +112 -0
- package/edit/monitoring.coreos.com.prometheusrule/index.vue +223 -0
- package/edit/monitoring.coreos.com.receiver/auth.vue +142 -0
- package/edit/monitoring.coreos.com.receiver/index.vue +357 -0
- package/edit/monitoring.coreos.com.receiver/tls.vue +72 -0
- package/edit/monitoring.coreos.com.receiver/types/__tests__/email.test.ts +57 -0
- package/edit/monitoring.coreos.com.receiver/types/email.vue +130 -0
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +237 -0
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +97 -0
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +88 -0
- package/edit/monitoring.coreos.com.receiver/types/webhook.add.vue +65 -0
- package/edit/monitoring.coreos.com.receiver/types/webhook.banner.vue +28 -0
- package/edit/monitoring.coreos.com.receiver/types/webhook.vue +93 -0
- package/edit/monitoring.coreos.com.route.vue +237 -0
- package/edit/namespace.vue +281 -0
- package/edit/networking.istio.io.destinationrule/LoadBalancer.vue +194 -0
- package/edit/networking.istio.io.destinationrule/index.vue +237 -0
- package/edit/networking.k8s.io.ingress/Certificate.vue +134 -0
- package/edit/networking.k8s.io.ingress/Certificates.vue +111 -0
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +145 -0
- package/edit/networking.k8s.io.ingress/IngressClass.vue +69 -0
- package/edit/networking.k8s.io.ingress/Rule.vue +188 -0
- package/edit/networking.k8s.io.ingress/RulePath.vue +224 -0
- package/edit/networking.k8s.io.ingress/Rules.vue +155 -0
- package/edit/networking.k8s.io.ingress/__tests__/IngressClass.test.ts +58 -0
- package/edit/networking.k8s.io.ingress/index.vue +300 -0
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +108 -0
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +50 -0
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +401 -0
- package/edit/networking.k8s.io.networkpolicy/PolicyRules.vue +93 -0
- package/edit/networking.k8s.io.networkpolicy/__tests__/PolicyRuleTarget.test.ts +180 -0
- package/edit/networking.k8s.io.networkpolicy/__tests__/utils/mock.json +158 -0
- package/edit/networking.k8s.io.networkpolicy/__tests__/utils/selectors.test.ts +45 -0
- package/edit/networking.k8s.io.networkpolicy/index.vue +299 -0
- package/edit/node.vue +82 -0
- package/edit/nodeDriver.vue +72 -0
- package/edit/persistentvolume/__tests__/persistentvolume.test.ts +105 -0
- package/edit/persistentvolume/index.vue +380 -0
- package/edit/persistentvolume/plugins/awsElasticBlockStore.vue +90 -0
- package/edit/persistentvolume/plugins/azureDisk.vue +136 -0
- package/edit/persistentvolume/plugins/azureFile.vue +78 -0
- package/edit/persistentvolume/plugins/cephfs.vue +109 -0
- package/edit/persistentvolume/plugins/cinder.vue +89 -0
- package/edit/persistentvolume/plugins/csi.vue +209 -0
- package/edit/persistentvolume/plugins/fc.vue +101 -0
- package/edit/persistentvolume/plugins/flexVolume.vue +102 -0
- package/edit/persistentvolume/plugins/flocker.vue +45 -0
- package/edit/persistentvolume/plugins/gcePersistentDisk.vue +90 -0
- package/edit/persistentvolume/plugins/glusterfs.vue +70 -0
- package/edit/persistentvolume/plugins/hostPath.vue +82 -0
- package/edit/persistentvolume/plugins/iscsi.vue +170 -0
- package/edit/persistentvolume/plugins/local.vue +37 -0
- package/edit/persistentvolume/plugins/longhorn.vue +99 -0
- package/edit/persistentvolume/plugins/nfs.vue +70 -0
- package/edit/persistentvolume/plugins/photonPersistentDisk.vue +58 -0
- package/edit/persistentvolume/plugins/portworxVolume.vue +71 -0
- package/edit/persistentvolume/plugins/quobyte.vue +88 -0
- package/edit/persistentvolume/plugins/rbd.vue +127 -0
- package/edit/persistentvolume/plugins/scaleIO.vue +146 -0
- package/edit/persistentvolume/plugins/storageos.vue +98 -0
- package/edit/persistentvolume/plugins/vsphereVolume.vue +63 -0
- package/edit/persistentvolumeclaim.vue +395 -0
- package/edit/pod.vue +27 -0
- package/edit/policy.poddisruptionbudget.vue +152 -0
- package/edit/provisioning.cattle.io.cluster/AgentEnv.vue +40 -0
- package/edit/provisioning.cattle.io.cluster/CustomCommand.vue +306 -0
- package/edit/provisioning.cattle.io.cluster/Labels.vue +46 -0
- package/edit/provisioning.cattle.io.cluster/SelectCredential.vue +341 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/Advanced.test.ts +304 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/Basics.test.ts +564 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/CustomCommand.test.ts +129 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/DirectoryConfig.test.ts +182 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/DrainOptions.test.ts +54 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/index.test.ts +72 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/rke2.test.ts +546 -0
- package/edit/provisioning.cattle.io.cluster/__tests__/utils/cluster.ts +391 -0
- package/edit/provisioning.cattle.io.cluster/index.vue +733 -0
- package/edit/provisioning.cattle.io.cluster/rke2.vue +2538 -0
- package/edit/provisioning.cattle.io.cluster/tabs/AddOnAdditionalManifest.vue +49 -0
- package/edit/provisioning.cattle.io.cluster/tabs/AddOnConfig.vue +112 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Advanced.vue +224 -0
- package/edit/provisioning.cattle.io.cluster/tabs/AgentConfiguration.vue +340 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +700 -0
- package/edit/provisioning.cattle.io.cluster/tabs/DirectoryConfig.vue +219 -0
- package/edit/provisioning.cattle.io.cluster/tabs/MachinePool.vue +405 -0
- package/edit/provisioning.cattle.io.cluster/tabs/MemberRoles.vue +40 -0
- package/edit/provisioning.cattle.io.cluster/tabs/etcd/S3Config.vue +153 -0
- package/edit/provisioning.cattle.io.cluster/tabs/etcd/index.vue +138 -0
- package/edit/provisioning.cattle.io.cluster/tabs/networking/ACE.vue +73 -0
- package/edit/provisioning.cattle.io.cluster/tabs/networking/index.vue +214 -0
- package/edit/provisioning.cattle.io.cluster/tabs/registries/RegistryConfigs.vue +211 -0
- package/edit/provisioning.cattle.io.cluster/tabs/registries/RegistryMirrors.vue +138 -0
- package/edit/provisioning.cattle.io.cluster/tabs/registries/__tests__/RegistryConfigs.test.ts +66 -0
- package/edit/provisioning.cattle.io.cluster/tabs/registries/index.vue +149 -0
- package/edit/provisioning.cattle.io.cluster/tabs/upgrade/DrainOptions.vue +155 -0
- package/edit/provisioning.cattle.io.cluster/tabs/upgrade/index.vue +76 -0
- package/edit/rbac.authorization.k8s.io.clusterrole.vue +8 -0
- package/edit/rbac.authorization.k8s.io.role.vue +8 -0
- package/edit/resources.cattle.io.backup.vue +454 -0
- package/edit/resources.cattle.io.restore.vue +326 -0
- package/edit/secret/__tests__/ssh.test.ts +79 -0
- package/edit/secret/basic.vue +64 -0
- package/edit/secret/generic.vue +64 -0
- package/edit/secret/index.vue +407 -0
- package/edit/secret/registry.vue +145 -0
- package/edit/secret/ssh.vue +106 -0
- package/edit/secret/tls.vue +94 -0
- package/edit/service.vue +546 -0
- package/edit/serviceaccount.vue +193 -0
- package/edit/storage.k8s.io.storageclass/index.vue +307 -0
- package/edit/storage.k8s.io.storageclass/provisioners/custom.vue +25 -0
- package/edit/storage.k8s.io.storageclass/provisioners/driver.harvesterhci.io.vue +114 -0
- package/edit/storage.k8s.io.storageclass/provisioners/driver.longhorn.io.vue +40 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +180 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-disk.vue +75 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/azure-file.vue +47 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/cinder.vue +69 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +117 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/glusterfs.vue +99 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/no-provisioner.vue +21 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/portworx-volume.vue +83 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/quobyte.vue +91 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/rbd.vue +117 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/scaleio.vue +116 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/storageos.vue +65 -0
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +97 -0
- package/edit/token.vue +337 -0
- package/edit/ui.cattle.io.navlink.vue +461 -0
- package/edit/workload/Job.vue +339 -0
- package/edit/workload/Upgrading.vue +372 -0
- package/edit/workload/VolumeClaimTemplate.vue +136 -0
- package/edit/workload/__tests__/Job.test.ts +71 -0
- package/edit/workload/__tests__/Upgrading.test.ts +61 -0
- package/edit/workload/__tests__/index.test.ts +103 -0
- package/edit/workload/index.vue +677 -0
- package/edit/workload/mixins/workload.js +1067 -0
- package/edit/workload/storage/ContainerMountPaths.vue +171 -0
- package/edit/workload/storage/Mount.vue +157 -0
- package/edit/workload/storage/__tests__/Mount.test.ts +102 -0
- package/edit/workload/storage/__tests__/Storage.test.ts +106 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +73 -0
- package/edit/workload/storage/azureDisk.vue +104 -0
- package/edit/workload/storage/azureFile.vue +74 -0
- package/edit/workload/storage/csi/driver.longhorn.io.vue +48 -0
- package/edit/workload/storage/csi/index.vue +122 -0
- package/edit/workload/storage/emptyDir.vue +88 -0
- package/edit/workload/storage/ephemeralVolume/index.vue +108 -0
- package/edit/workload/storage/gcePersistentDisk.vue +73 -0
- package/edit/workload/storage/hostPath.vue +115 -0
- package/edit/workload/storage/index.vue +339 -0
- package/edit/workload/storage/nfs.vue +78 -0
- package/edit/workload/storage/persistentVolumeClaim/__tests__/persistentvolumeclaim.test.ts +38 -0
- package/edit/workload/storage/persistentVolumeClaim/index.vue +154 -0
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +256 -0
- package/edit/workload/storage/secret.vue +186 -0
- package/edit/workload/storage/vsphereVolume.vue +73 -0
- package/initialize/App.vue +70 -0
- package/initialize/app-extended.js +112 -0
- package/initialize/entry-helpers.js +147 -0
- package/initialize/entry.js +33 -0
- package/initialize/install-components.js +11 -0
- package/initialize/install-directives.js +61 -0
- package/initialize/install-plugins.js +129 -0
- package/list/__tests__/workload.test.ts +55 -0
- package/list/catalog.cattle.io.app.vue +76 -0
- package/list/catalog.cattle.io.clusterrepo.vue +83 -0
- package/list/cis.cattle.io.clusterscan.vue +76 -0
- package/list/fleet.cattle.io.bundle.vue +127 -0
- package/list/fleet.cattle.io.cluster.vue +95 -0
- package/list/fleet.cattle.io.clustergroup.vue +88 -0
- package/list/fleet.cattle.io.clusterregistrationtoken.vue +94 -0
- package/list/fleet.cattle.io.gitrepo.vue +108 -0
- package/list/group.principal.vue +153 -0
- package/list/harvesterhci.io.management.cluster.vue +247 -0
- package/list/helm.cattle.io.projecthelmchart.vue +157 -0
- package/list/logging.banzaicloud.io.clusterflow.vue +44 -0
- package/list/logging.banzaicloud.io.flow.vue +45 -0
- package/list/management.cattle.io.cluster.vue +54 -0
- package/list/management.cattle.io.feature.vue +368 -0
- package/list/management.cattle.io.fleetworkspace.vue +44 -0
- package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +51 -0
- package/list/management.cattle.io.setting.vue +117 -0
- package/list/management.cattle.io.user.vue +178 -0
- package/list/monitoring.coreos.com.alertmanagerconfig.vue +83 -0
- package/list/namespace.vue +81 -0
- package/list/networking.k8s.io.ingress.vue +39 -0
- package/list/node.vue +418 -0
- package/list/persistentvolume.vue +89 -0
- package/list/persistentvolumeclaim.vue +32 -0
- package/list/provisioning.cattle.io.cluster.vue +326 -0
- package/list/rbac.authorization.k8s.io.clusterrolebinding.vue +47 -0
- package/list/service.vue +48 -0
- package/list/ui.cattle.io.navlink.vue +72 -0
- package/list/workload.vue +188 -0
- package/machine-config/__tests__/vmwarevsphere.test.ts +302 -0
- package/machine-config/amazonec2.vue +702 -0
- package/machine-config/azure.vue +913 -0
- package/machine-config/digitalocean.vue +231 -0
- package/machine-config/generic.vue +103 -0
- package/machine-config/linode.vue +189 -0
- package/machine-config/pnap.vue +288 -0
- package/machine-config/vmwarevsphere-config.ts +17 -0
- package/machine-config/vmwarevsphere.vue +1268 -0
- package/mixins/__tests__/auth-config.test.ts +74 -0
- package/mixins/__tests__/chart.test.ts +104 -0
- package/mixins/__tests__/create-edit-view.test.ts +56 -0
- package/mixins/auth-config.js +332 -0
- package/mixins/back-link.js +15 -0
- package/mixins/brand.js +211 -0
- package/mixins/browser-tab-visibility.js +31 -0
- package/mixins/chart.js +557 -0
- package/mixins/child-hook.js +82 -0
- package/mixins/closeable.js +47 -0
- package/mixins/compact-input.ts +25 -0
- package/mixins/create-edit-view/impl.js +201 -0
- package/mixins/create-edit-view/index.js +48 -0
- package/mixins/fetch.client.js +90 -0
- package/mixins/form-validation.js +197 -0
- package/mixins/labeled-form-element.ts +225 -0
- package/mixins/login.js +31 -0
- package/mixins/metric-poller.js +19 -0
- package/mixins/page-actions.js +36 -0
- package/mixins/resource-fetch-api-pagination.js +339 -0
- package/mixins/resource-fetch-namespaced.js +90 -0
- package/mixins/resource-fetch.js +291 -0
- package/mixins/resource-manager.js +109 -0
- package/mixins/vue-select-overrides.js +102 -0
- package/models/__tests__/apps.deployment.test.ts +93 -0
- package/models/__tests__/batch.cronjob.test.ts +88 -0
- package/models/__tests__/catalog.cattle.io.app.test.ts +148 -0
- package/models/__tests__/cluster.test.ts +44 -0
- package/models/__tests__/fleet.cattle.io.cluster.test.ts +36 -0
- package/models/__tests__/fleet.cattle.io.gitrepo.test.ts +157 -0
- package/models/__tests__/logging.banzaicloud.io.flow.test.ts +88 -0
- package/models/__tests__/management.cattle.io.cluster.test.ts +23 -0
- package/models/__tests__/management.cattle.io.node.ts +181 -0
- package/models/__tests__/management.cattle.io.nodepool.ts +83 -0
- package/models/__tests__/namespace.test.ts +189 -0
- package/models/__tests__/node.test.ts +74 -0
- package/models/__tests__/provisioning.cattle.io.cluster.test.ts +155 -0
- package/models/__tests__/schema.tests.ts +24 -0
- package/models/__tests__/secret.test.ts +80 -0
- package/models/__tests__/steve-schema.test.ts +73 -0
- package/models/__tests__/storage.k8s.io.storageclass.test.ts +22 -0
- package/models/__tests__/workload.test.ts +91 -0
- package/models/app.js +25 -0
- package/models/apps.controllerrevision.js +7 -0
- package/models/apps.daemonset.js +22 -0
- package/models/apps.deployment.js +71 -0
- package/models/apps.replicaset.js +11 -0
- package/models/apps.statefulset.js +49 -0
- package/models/autoscaling.horizontalpodautoscaler.js +44 -0
- package/models/batch.cronjob.js +85 -0
- package/models/batch.job.js +19 -0
- package/models/catalog.cattle.io.app.js +488 -0
- package/models/catalog.cattle.io.clusterrepo.js +223 -0
- package/models/catalog.cattle.io.operation.js +43 -0
- package/models/catalog.cattle.io.repo.js +4 -0
- package/models/catalog.cattle.io.uiplugin.js +37 -0
- package/models/chart.js +50 -0
- package/models/chartinstallaction.js +17 -0
- package/models/chartupgradeaction.js +12 -0
- package/models/cis.cattle.io.clusterscan.js +179 -0
- package/models/cis.cattle.io.clusterscanbenchmark.js +18 -0
- package/models/cis.cattle.io.clusterscanprofile.js +31 -0
- package/models/cis.cattle.io.clusterscanreport.js +62 -0
- package/models/cloudcredential.js +341 -0
- package/models/cluster/node.js +487 -0
- package/models/cluster/schema.js +6 -0
- package/models/cluster.js +44 -0
- package/models/cluster.x-k8s.io.machine.js +272 -0
- package/models/cluster.x-k8s.io.machinedeployment.js +228 -0
- package/models/cluster.x-k8s.io.machineset.js +23 -0
- package/models/clusterroletemplatebinding.js +31 -0
- package/models/configmap.js +20 -0
- package/models/constraints.gatekeeper.sh.constraint.js +121 -0
- package/models/driver.js +63 -0
- package/models/etcdbackup.js +45 -0
- package/models/event.js +34 -0
- package/models/fleet.cattle.io.bundle.js +168 -0
- package/models/fleet.cattle.io.cluster.js +221 -0
- package/models/fleet.cattle.io.clustergroup.js +62 -0
- package/models/fleet.cattle.io.clusterregistrationtoken.js +14 -0
- package/models/fleet.cattle.io.gitrepo.js +548 -0
- package/models/group.principal.js +71 -0
- package/models/helm.cattle.io.projecthelmchart.js +38 -0
- package/models/k8s.cni.cncf.io.networkattachmentdefinition.js +88 -0
- package/models/kontainerdriver.js +88 -0
- package/models/logging.banzaicloud.io.clusterflow.js +36 -0
- package/models/logging.banzaicloud.io.clusteroutput.js +4 -0
- package/models/logging.banzaicloud.io.flow.js +115 -0
- package/models/logging.banzaicloud.io.output.js +173 -0
- package/models/management/schema.js +6 -0
- package/models/management.cattle.io.authconfig.js +70 -0
- package/models/management.cattle.io.cluster.js +501 -0
- package/models/management.cattle.io.clusterroletemplatebinding.js +143 -0
- package/models/management.cattle.io.feature.js +56 -0
- package/models/management.cattle.io.fleetworkspace.js +90 -0
- package/models/management.cattle.io.gitreporestriction.js +5 -0
- package/models/management.cattle.io.globalrole.js +172 -0
- package/models/management.cattle.io.globalrolebinding.js +59 -0
- package/models/management.cattle.io.kontainerdriver.js +90 -0
- package/models/management.cattle.io.node.js +179 -0
- package/models/management.cattle.io.nodepool.js +185 -0
- package/models/management.cattle.io.nodetemplate.js +139 -0
- package/models/management.cattle.io.podsecurityadmissionconfigurationtemplate.js +3 -0
- package/models/management.cattle.io.project.js +182 -0
- package/models/management.cattle.io.projectroletemplatebinding.js +150 -0
- package/models/management.cattle.io.roletemplate.js +216 -0
- package/models/management.cattle.io.setting.js +72 -0
- package/models/management.cattle.io.user.js +302 -0
- package/models/metrics.k8s.io.nodemetrics.js +41 -0
- package/models/monitoring.coreos.com.alertmanagerconfig.js +126 -0
- package/models/monitoring.coreos.com.podmonitor.js +23 -0
- package/models/monitoring.coreos.com.prometheusrule.js +38 -0
- package/models/monitoring.coreos.com.receiver.js +197 -0
- package/models/monitoring.coreos.com.route.js +162 -0
- package/models/monitoring.coreos.com.servicemonitor.js +23 -0
- package/models/namespace.js +261 -0
- package/models/networking.istio.io.destinationrule.js +19 -0
- package/models/networking.k8s.io.ingress.js +209 -0
- package/models/nodedriver.js +96 -0
- package/models/persistentvolume.js +43 -0
- package/models/persistentvolumeclaim.js +63 -0
- package/models/pod.js +279 -0
- package/models/principal.js +42 -0
- package/models/projectroletemplatebinding.js +35 -0
- package/models/provisioning.cattle.io.cluster.js +1091 -0
- package/models/rbac.authorization.k8s.io.clusterrole.js +17 -0
- package/models/rbac.authorization.k8s.io.clusterrolebinding.js +16 -0
- package/models/rbac.authorization.k8s.io.role.js +52 -0
- package/models/rbac.authorization.k8s.io.rolebinding.js +16 -0
- package/models/replicationcontroller.js +4 -0
- package/models/resources.cattle.io.backup.js +29 -0
- package/models/resources.cattle.io.restore.js +33 -0
- package/models/rke-machine-config.cattle.io.harvesterconfig.js +19 -0
- package/models/rke-machine.cattle.io.amazonec2machinetemplate.js +15 -0
- package/models/rke-machine.cattle.io.azuremachinetemplate.js +15 -0
- package/models/rke-machine.cattle.io.digitaloceanmachinetemplate.js +15 -0
- package/models/rke-machine.cattle.io.linodemachinetemplate.js +15 -0
- package/models/rke-machine.cattle.io.machinetemplate.js +22 -0
- package/models/rke-machine.cattle.io.pnapmachinetemplate.js +15 -0
- package/models/rke-machine.cattle.io.vmwarevspheremachinetemplate.js +14 -0
- package/models/rke.cattle.io.etcdsnapshot.js +76 -0
- package/models/schema.js +38 -0
- package/models/secret.js +473 -0
- package/models/service.js +193 -0
- package/models/steve-schema.ts +254 -0
- package/models/storage.k8s.io.storageclass.js +164 -0
- package/models/templates.gatekeeper.sh.constrainttemplate.js +23 -0
- package/models/token.js +19 -0
- package/models/ui.cattle.io.navlink.js +38 -0
- package/models/workload.js +691 -0
- package/models/workload.service.js +341 -0
- package/package.json +173 -0
- package/pages/404.vue +15 -0
- package/pages/__tests__/prefs.test.ts +96 -0
- package/pages/about.vue +311 -0
- package/pages/account/create-key.vue +16 -0
- package/pages/account/index.vue +308 -0
- package/pages/account/pri.vue +229 -0
- package/pages/auth/login.vue +742 -0
- package/pages/auth/logout.vue +47 -0
- package/pages/auth/setup.vue +646 -0
- package/pages/auth/verify.vue +203 -0
- package/pages/auth copy/login.vue +595 -0
- package/pages/auth copy/logout.vue +47 -0
- package/pages/auth copy/setup.vue +523 -0
- package/pages/auth copy/verify.vue +203 -0
- package/pages/c/_cluster/_product/_resource/_id.vue +12 -0
- package/pages/c/_cluster/_product/_resource/_namespace/_id.vue +12 -0
- package/pages/c/_cluster/_product/_resource/create.vue +12 -0
- package/pages/c/_cluster/_product/_resource/index.vue +12 -0
- package/pages/c/_cluster/_product/index.vue +15 -0
- package/pages/c/_cluster/_product/members/index.vue +8 -0
- package/pages/c/_cluster/_product/namespaces.vue +77 -0
- package/pages/c/_cluster/_product/projectsnamespaces.vue +6 -0
- package/pages/c/_cluster/apps/charts/__tests__/install.helper.test.ts +18 -0
- package/pages/c/_cluster/apps/charts/chart.vue +452 -0
- package/pages/c/_cluster/apps/charts/index.vue +718 -0
- package/pages/c/_cluster/apps/charts/install.helpers.js +15 -0
- package/pages/c/_cluster/apps/charts/install.vue +2050 -0
- package/pages/c/_cluster/auth/config/_id.vue +35 -0
- package/pages/c/_cluster/auth/config/index.vue +114 -0
- package/pages/c/_cluster/auth/group.principal/assign-edit.vue +138 -0
- package/pages/c/_cluster/auth/roles/_resource/_id.vue +12 -0
- package/pages/c/_cluster/auth/roles/_resource/create.vue +12 -0
- package/pages/c/_cluster/auth/roles/index.vue +215 -0
- package/pages/c/_cluster/auth/user.retention/index.vue +323 -0
- package/pages/c/_cluster/ecm/index.vue +14 -0
- package/pages/c/_cluster/explorer/ConfigBadge.vue +64 -0
- package/pages/c/_cluster/explorer/EventsTable.vue +126 -0
- package/pages/c/_cluster/explorer/__tests__/index.test.ts +264 -0
- package/pages/c/_cluster/explorer/explorer-utils.js +17 -0
- package/pages/c/_cluster/explorer/index.vue +1004 -0
- package/pages/c/_cluster/explorer/tools/__tests__/index.test.ts +71 -0
- package/pages/c/_cluster/explorer/tools/index.vue +397 -0
- package/pages/c/_cluster/explorer/tools/pages/_page.vue +29 -0
- package/pages/c/_cluster/fleet/GitRepoGraphConfig.js +249 -0
- package/pages/c/_cluster/fleet/index.vue +506 -0
- package/pages/c/_cluster/gatekeeper/constraints/index.vue +90 -0
- package/pages/c/_cluster/gatekeeper/index.vue +78 -0
- package/pages/c/_cluster/istio/index.vue +149 -0
- package/pages/c/_cluster/legacy/pages/_page.vue +29 -0
- package/pages/c/_cluster/legacy/project/_page.vue +57 -0
- package/pages/c/_cluster/legacy/project/index.vue +32 -0
- package/pages/c/_cluster/legacy/project/pipelines.vue +96 -0
- package/pages/c/_cluster/logging/index.vue +94 -0
- package/pages/c/_cluster/longhorn/__tests__/longhorn.index.test.ts +92 -0
- package/pages/c/_cluster/longhorn/index.vue +107 -0
- package/pages/c/_cluster/manager/cloudCredential/_id.vue +15 -0
- package/pages/c/_cluster/manager/cloudCredential/create.vue +15 -0
- package/pages/c/_cluster/manager/cloudCredential/index.vue +158 -0
- package/pages/c/_cluster/manager/drivers/kontainerDriver/_id.vue +12 -0
- package/pages/c/_cluster/manager/drivers/kontainerDriver/create.vue +15 -0
- package/pages/c/_cluster/manager/drivers/kontainerDriver/index.vue +91 -0
- package/pages/c/_cluster/manager/drivers/nodeDriver/_id.vue +12 -0
- package/pages/c/_cluster/manager/drivers/nodeDriver/create.vue +15 -0
- package/pages/c/_cluster/manager/drivers/nodeDriver/index.vue +60 -0
- package/pages/c/_cluster/manager/jwt.authentication/index.vue +244 -0
- package/pages/c/_cluster/manager/pages/_page.vue +22 -0
- package/pages/c/_cluster/mcapps/pages/_page.vue +22 -0
- package/pages/c/_cluster/monitoring/alertmanagerconfig/_alertmanagerconfigid/index.vue +12 -0
- package/pages/c/_cluster/monitoring/alertmanagerconfig/_alertmanagerconfigid/receiver.vue +320 -0
- package/pages/c/_cluster/monitoring/alertmanagerconfig/index.vue +24 -0
- package/pages/c/_cluster/monitoring/index.vue +202 -0
- package/pages/c/_cluster/monitoring/monitor/_namespace/_id.vue +21 -0
- package/pages/c/_cluster/monitoring/monitor/create.vue +29 -0
- package/pages/c/_cluster/monitoring/monitor/index.vue +99 -0
- package/pages/c/_cluster/monitoring/route-receiver/_id.vue +29 -0
- package/pages/c/_cluster/monitoring/route-receiver/create.vue +22 -0
- package/pages/c/_cluster/monitoring/route-receiver/index.vue +133 -0
- package/pages/c/_cluster/navlinks/_group.vue +42 -0
- package/pages/c/_cluster/neuvector/index.vue +75 -0
- package/pages/c/_cluster/settings/DefaultLinksEditor.vue +128 -0
- package/pages/c/_cluster/settings/banners.vue +361 -0
- package/pages/c/_cluster/settings/brand.vue +648 -0
- package/pages/c/_cluster/settings/index.vue +20 -0
- package/pages/c/_cluster/settings/links.vue +167 -0
- package/pages/c/_cluster/settings/performance.vue +515 -0
- package/pages/c/_cluster/uiplugins/AddExtensionRepos.vue +175 -0
- package/pages/c/_cluster/uiplugins/CatalogList/CatalogLoadDialog.vue +551 -0
- package/pages/c/_cluster/uiplugins/CatalogList/CatalogUninstallDialog.vue +193 -0
- package/pages/c/_cluster/uiplugins/CatalogList/index.vue +132 -0
- package/pages/c/_cluster/uiplugins/DeveloperInstallDialog.vue +261 -0
- package/pages/c/_cluster/uiplugins/InstallDialog.vue +366 -0
- package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +503 -0
- package/pages/c/_cluster/uiplugins/SetupUIPlugins.vue +83 -0
- package/pages/c/_cluster/uiplugins/UninstallDialog.vue +152 -0
- package/pages/c/_cluster/uiplugins/__tests__/AddExtensionRepos.test.ts +76 -0
- package/pages/c/_cluster/uiplugins/__tests__/SetupUIPlugins.test.ts +77 -0
- package/pages/c/_cluster/uiplugins/index.vue +1288 -0
- package/pages/clusters/index.vue +21 -0
- package/pages/diagnostic.vue +580 -0
- package/pages/fail-whale.vue +203 -0
- package/pages/home.vue +854 -0
- package/pages/index.vue +54 -0
- package/pages/prefs.vue +369 -0
- package/pages/support/index.vue +266 -0
- package/pkg/auto-import.js +118 -0
- package/pkg/babel.config.js +8 -0
- package/pkg/dynamic-importer.lib.js +82 -0
- package/pkg/dynamic-plugin-loader.js +28 -0
- package/pkg/import.js +10 -0
- package/pkg/model-loader-require.lib.js +3 -0
- package/pkg/tsconfig.json +65 -0
- package/pkg/vue.config.js +146 -0
- package/plugins/axios.js +31 -0
- package/plugins/clean-html.js +103 -0
- package/plugins/codemirror-loader.js +5 -0
- package/plugins/codemirror.js +359 -0
- package/plugins/dashboard-store/__tests__/actions.test.ts +250 -0
- package/plugins/dashboard-store/__tests__/getters.test.ts +100 -0
- package/plugins/dashboard-store/__tests__/mutations.test.ts +391 -0
- package/plugins/dashboard-store/__tests__/resource-class.test.ts +49 -0
- package/plugins/dashboard-store/__tests__/utils/store-mocks.ts +7 -0
- package/plugins/dashboard-store/actions.js +784 -0
- package/plugins/dashboard-store/classify.js +18 -0
- package/plugins/dashboard-store/getters.js +457 -0
- package/plugins/dashboard-store/index.js +53 -0
- package/plugins/dashboard-store/model-loader-require.js +12 -0
- package/plugins/dashboard-store/model-loader.js +76 -0
- package/plugins/dashboard-store/mutations.js +548 -0
- package/plugins/dashboard-store/normalize.js +50 -0
- package/plugins/dashboard-store/resource-class.js +1904 -0
- package/plugins/ember-cookie.js +13 -0
- package/plugins/extend-router.js +80 -0
- package/plugins/floating-vue.js +1 -0
- package/plugins/formatters.js +15 -0
- package/plugins/global-formatters.js +20 -0
- package/plugins/i18n.js +136 -0
- package/plugins/internal-api/index.ts +37 -0
- package/plugins/internal-api/shared/base-api.ts +13 -0
- package/plugins/internal-api/shell/shell.api.ts +108 -0
- package/plugins/js-yaml.js +4 -0
- package/plugins/nuxt-client-init.js +3 -0
- package/plugins/plugin.js +93 -0
- package/plugins/replaceall.js +19 -0
- package/plugins/shortkey.js +282 -0
- package/plugins/steve/__tests__/getters.test.ts +214 -0
- package/plugins/steve/__tests__/header-warnings.test.ts +238 -0
- package/plugins/steve/__tests__/mutations.test.ts +50 -0
- package/plugins/steve/__tests__/resource-utils.test.ts +159 -0
- package/plugins/steve/__tests__/steve-class.test.ts +59 -0
- package/plugins/steve/__tests__/subscribe.spec.ts +109 -0
- package/plugins/steve/__tests__/utils/mutation.test.helpers.ts +105 -0
- package/plugins/steve/__tests__/utils/steve-mocks.ts +31 -0
- package/plugins/steve/accept-or-reject-socket-message.ts +103 -0
- package/plugins/steve/actions.js +386 -0
- package/plugins/steve/caches/resourceCache.js +60 -0
- package/plugins/steve/getters.js +342 -0
- package/plugins/steve/header-warnings.ts +91 -0
- package/plugins/steve/hybrid-class.js +102 -0
- package/plugins/steve/index.js +76 -0
- package/plugins/steve/mutations.js +210 -0
- package/plugins/steve/norman-class.js +198 -0
- package/plugins/steve/performanceTesting.js +128 -0
- package/plugins/steve/projectAndNamespaceFiltering.utils.ts +80 -0
- package/plugins/steve/resource-utils.ts +38 -0
- package/plugins/steve/resourceWatcher.js +251 -0
- package/plugins/steve/schema.d.ts +22 -0
- package/plugins/steve/schema.utils.js +25 -0
- package/plugins/steve/steve-class.js +61 -0
- package/plugins/steve/steve-description-class.js +36 -0
- package/plugins/steve/steve-pagination-utils.ts +513 -0
- package/plugins/steve/subscribe.js +1092 -0
- package/plugins/steve/worker/index.js +24 -0
- package/plugins/steve/worker/web-worker.advanced.js +320 -0
- package/plugins/steve/worker/web-worker.basic.js +116 -0
- package/plugins/steve-create-worker.js +14 -0
- package/plugins/version.js +11 -0
- package/promptRemove/management.cattle.io.fleetworkspace.vue +98 -0
- package/promptRemove/management.cattle.io.globalrole.vue +49 -0
- package/promptRemove/management.cattle.io.project.vue +131 -0
- package/promptRemove/management.cattle.io.roletemplate.vue +51 -0
- package/promptRemove/mixin/roleDeletionCheck.js +105 -0
- package/promptRemove/pod.vue +132 -0
- package/public/index.html +75 -0
- package/rancher-components/Accordion/Accordion.test.ts +45 -0
- package/rancher-components/Accordion/Accordion.vue +86 -0
- package/rancher-components/Accordion/index.ts +1 -0
- package/rancher-components/BadgeState/BadgeState.test.ts +12 -0
- package/rancher-components/BadgeState/BadgeState.vue +122 -0
- package/rancher-components/BadgeState/index.ts +1 -0
- package/rancher-components/Banner/Banner.test.ts +59 -0
- package/rancher-components/Banner/Banner.vue +261 -0
- package/rancher-components/Banner/index.ts +1 -0
- package/rancher-components/Card/Card.test.ts +37 -0
- package/rancher-components/Card/Card.vue +189 -0
- package/rancher-components/Card/index.ts +1 -0
- package/rancher-components/Form/Checkbox/Checkbox.test.ts +68 -0
- package/rancher-components/Form/Checkbox/Checkbox.vue +507 -0
- package/rancher-components/Form/Checkbox/index.ts +1 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.test.ts +57 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +512 -0
- package/rancher-components/Form/LabeledInput/index.ts +1 -0
- package/rancher-components/Form/Radio/RadioButton.test.ts +33 -0
- package/rancher-components/Form/Radio/RadioButton.vue +328 -0
- package/rancher-components/Form/Radio/RadioGroup.test.ts +27 -0
- package/rancher-components/Form/Radio/RadioGroup.vue +305 -0
- package/rancher-components/Form/Radio/index.ts +2 -0
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +199 -0
- package/rancher-components/Form/TextArea/index.ts +1 -0
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.test.ts +111 -0
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +197 -0
- package/rancher-components/Form/ToggleSwitch/index.ts +1 -0
- package/rancher-components/Form/index.ts +5 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +152 -0
- package/rancher-components/LabeledTooltip/index.ts +1 -0
- package/rancher-components/RcButton/RcButton.test.ts +97 -0
- package/rancher-components/RcButton/RcButton.vue +96 -0
- package/rancher-components/RcButton/index.ts +2 -0
- package/rancher-components/RcButton/types.ts +18 -0
- package/rancher-components/RcDropdown/RcDropdown.vue +163 -0
- package/rancher-components/RcDropdown/RcDropdownItem.vue +122 -0
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +71 -0
- package/rancher-components/RcDropdown/RcDropdownSeparator.vue +6 -0
- package/rancher-components/RcDropdown/RcDropdownTrigger.vue +52 -0
- package/rancher-components/RcDropdown/index.ts +5 -0
- package/rancher-components/RcDropdown/types.ts +49 -0
- package/rancher-components/RcDropdown/useDropdownCollection.ts +54 -0
- package/rancher-components/RcDropdown/useDropdownContext.ts +119 -0
- package/rancher-components/StringList/StringList.test.ts +754 -0
- package/rancher-components/StringList/StringList.vue +645 -0
- package/rancher-components/StringList/index.ts +1 -0
- package/scripts/.gitlab/workflows/build-extension-catalog.gitlab-ci.yml +69 -0
- package/scripts/build-pkg.sh +102 -0
- package/scripts/clean +6 -0
- package/scripts/drone-build-pkg.sh +31 -0
- package/scripts/extension/bundle +106 -0
- package/scripts/extension/helm/charts/ui-plugin-server/.helmignore +23 -0
- package/scripts/extension/helm/charts/ui-plugin-server/Chart.yaml +18 -0
- package/scripts/extension/helm/charts/ui-plugin-server/templates/_helpers.tpl +63 -0
- package/scripts/extension/helm/charts/ui-plugin-server/templates/cr.yaml +15 -0
- package/scripts/extension/helm/charts/ui-plugin-server/values.yaml +10 -0
- package/scripts/extension/helm/package/Dockerfile +27 -0
- package/scripts/extension/helm/package/nginx.conf +17 -0
- package/scripts/extension/helm/scripts/package +31 -0
- package/scripts/extension/helm/scripts/patch +128 -0
- package/scripts/extension/helm/scripts/version +31 -0
- package/scripts/extension/helmpatch +80 -0
- package/scripts/extension/parse-tag-name +39 -0
- package/scripts/extension/publish +476 -0
- package/scripts/pkgfile.js +23 -0
- package/scripts/publish-pkg.sh +18 -0
- package/scripts/publish-shell.sh +119 -0
- package/scripts/record-deps.js +37 -0
- package/scripts/serve-pkgs +71 -0
- package/scripts/sync-shell-deps +37 -0
- package/scripts/test-plugins-build.sh +246 -0
- package/scripts/typegen.sh +101 -0
- package/scripts/vue-migrate.js +686 -0
- package/server/har-file.js +205 -0
- package/server/server-middleware.js +11 -0
- package/server/server.crt +22 -0
- package/server/server.csr +16 -0
- package/server/server.key +27 -0
- package/server/v3.ext +8 -0
- package/static/favicon.ico +0 -0
- package/static/favicon.png +0 -0
- package/static/loading-indicator.html +39 -0
- package/store/__tests__/auth.test.ts +120 -0
- package/store/__tests__/catalog.test.ts +207 -0
- package/store/__tests__/index.test.ts +110 -0
- package/store/__tests__/type-map.test.ts +1122 -0
- package/store/action-menu.js +240 -0
- package/store/auth.js +409 -0
- package/store/aws.js +263 -0
- package/store/catalog.js +666 -0
- package/store/cru-resource.ts +26 -0
- package/store/customisation.js +35 -0
- package/store/digitalocean.js +198 -0
- package/store/features.js +74 -0
- package/store/github.js +109 -0
- package/store/gitlab.js +159 -0
- package/store/growl.js +98 -0
- package/store/i18n.js +356 -0
- package/store/index.js +1290 -0
- package/store/linode.js +142 -0
- package/store/modal.ts +71 -0
- package/store/plugins.js +210 -0
- package/store/pnap.js +128 -0
- package/store/prefs.js +531 -0
- package/store/resource-fetch.js +44 -0
- package/store/slideInPanel.ts +47 -0
- package/store/store-types.js +7 -0
- package/store/type-map.js +2085 -0
- package/store/type-map.utils.ts +243 -0
- package/store/uiplugins.ts +67 -0
- package/store/wm.js +95 -0
- package/tsconfig.json +48 -0
- package/tsconfig.paths.json +21 -0
- package/types/api.d.ts +1 -0
- package/types/components/labeledSelect.ts +50 -0
- package/types/components/paginatedResourceTable.ts +25 -0
- package/types/components/resourceLabeledSelect.ts +48 -0
- package/types/fleet.d.ts +1 -0
- package/types/form.ts +1 -0
- package/types/generic.ts +2 -0
- package/types/global-vue.d.ts +5 -0
- package/types/internal-api/shell/growl.d.ts +25 -0
- package/types/internal-api/shell/modal.d.ts +77 -0
- package/types/internal-api/shell/slideIn.d.ts +15 -0
- package/types/rancher/index.d.ts +9 -0
- package/types/resources/fleet.d.ts +57 -0
- package/types/resources/pod-security-admission.ts +36 -0
- package/types/resources/settings.d.ts +93 -0
- package/types/resources/userPreferences.d.ts +13 -0
- package/types/shell/index.d.ts +4694 -0
- package/types/store/dashboard-store.types.ts +46 -0
- package/types/store/pagination.types.ts +470 -0
- package/types/store/type-map.ts +30 -0
- package/types/store/vuex.d.ts +17 -0
- package/types/t.ts +1 -0
- package/types/vue-shim.d.ts +23 -0
- package/utils/__mocks__/socket.js +21 -0
- package/utils/__tests__/array.test.ts +514 -0
- package/utils/__tests__/cluster.test.ts +57 -0
- package/utils/__tests__/create-yaml.test.ts +490 -0
- package/utils/__tests__/formatter.test.ts +77 -0
- package/utils/__tests__/grafana.test.ts +44 -0
- package/utils/__tests__/kontainer.test.ts +180 -0
- package/utils/__tests__/object.test.ts +443 -0
- package/utils/__tests__/pod-security-admission.test.ts +61 -0
- package/utils/__tests__/selector.test.ts +444 -0
- package/utils/__tests__/sort.test.ts +61 -0
- package/utils/__tests__/string.test.ts +91 -0
- package/utils/__tests__/version.test.ts +18 -0
- package/utils/alertmanagerconfig.js +181 -0
- package/utils/array.ts +256 -0
- package/utils/async.ts +38 -0
- package/utils/auth.js +335 -0
- package/utils/aws.js +0 -0
- package/utils/axios.js +171 -0
- package/utils/azure.js +24 -0
- package/utils/banners.js +58 -0
- package/utils/clipboard.js +5 -0
- package/utils/cluster.js +333 -0
- package/utils/color.js +148 -0
- package/utils/computed.js +45 -0
- package/utils/config.js +4 -0
- package/utils/cookie-universal.js +10 -0
- package/utils/create-yaml.js +518 -0
- package/utils/crypto/LICENSE.txt +15 -0
- package/utils/crypto/browserHashUtils.js +51 -0
- package/utils/crypto/browserMd5.js +183 -0
- package/utils/crypto/browserSha1.js +149 -0
- package/utils/crypto/browserSha256.js +237 -0
- package/utils/crypto/index.js +181 -0
- package/utils/custom-validators.js +32 -0
- package/utils/dom.js +15 -0
- package/utils/download.js +35 -0
- package/utils/duration.js +43 -0
- package/utils/dynamic-importer.js +134 -0
- package/utils/ember-page.js +30 -0
- package/utils/error.js +211 -0
- package/utils/errorTranslate.json +1336 -0
- package/utils/favicon.js +49 -0
- package/utils/fleet.ts +191 -0
- package/utils/formatter.js +13 -0
- package/utils/gatekeeper/util.js +35 -0
- package/utils/gc/gc-interval.ts +40 -0
- package/utils/gc/gc-root-store.js +76 -0
- package/utils/gc/gc-route-changed.ts +44 -0
- package/utils/gc/gc-types.ts +21 -0
- package/utils/gc/gc.ts +282 -0
- package/utils/git.ts +92 -0
- package/utils/grafana.js +114 -0
- package/utils/ingress.ts +64 -0
- package/utils/kontainer.ts +190 -0
- package/utils/kube.js +9 -0
- package/utils/monitoring.js +63 -0
- package/utils/namespace-filter.js +43 -0
- package/utils/object.js +541 -0
- package/utils/pagination-utils.ts +176 -0
- package/utils/pagination-wrapper.ts +70 -0
- package/utils/parse-externalid.js +139 -0
- package/utils/platform.js +64 -0
- package/utils/pod-security-admission.ts +39 -0
- package/utils/poller-sequential.js +53 -0
- package/utils/poller.js +39 -0
- package/utils/position.js +172 -0
- package/utils/promise.js +115 -0
- package/utils/queue.js +70 -0
- package/utils/router.js +140 -0
- package/utils/select.js +88 -0
- package/utils/selector.js +229 -0
- package/utils/settings.ts +108 -0
- package/utils/socket.js +409 -0
- package/utils/sort.js +225 -0
- package/utils/stream.js +49 -0
- package/utils/string.js +363 -0
- package/utils/svg-filter.js +301 -0
- package/utils/time.js +121 -0
- package/utils/title.ts +3 -0
- package/utils/type-helpers.ts +9 -0
- package/utils/uiplugins.ts +319 -0
- package/utils/unit-tests/ChildRenderingRouterLinkStub.ts +36 -0
- package/utils/units.js +184 -0
- package/utils/url.ts +171 -0
- package/utils/v-sphere.ts +285 -0
- package/utils/validators/__tests__/cidr.test.ts +33 -0
- package/utils/validators/cidr.js +14 -0
- package/utils/validators/cluster-name.js +12 -0
- package/utils/validators/container-images.js +24 -0
- package/utils/validators/cron-schedule.js +14 -0
- package/utils/validators/flow-output.js +15 -0
- package/utils/validators/formRules/__tests__/index.test.ts +1218 -0
- package/utils/validators/formRules/index.ts +535 -0
- package/utils/validators/index.js +244 -0
- package/utils/validators/kubernetes-name.js +39 -0
- package/utils/validators/logging-outputs.js +11 -0
- package/utils/validators/machine-pool.ts +20 -0
- package/utils/validators/monitoring-route.js +13 -0
- package/utils/validators/pod-affinity.js +128 -0
- package/utils/validators/prometheusrule.js +76 -0
- package/utils/validators/role-template.js +27 -0
- package/utils/validators/service.js +136 -0
- package/utils/validators/setting.js +9 -0
- package/utils/version.js +128 -0
- package/utils/versions.ts +39 -0
- package/utils/width.js +39 -0
- package/utils/window.js +46 -0
- package/vue-config-helper.js +135 -0
- package/vue.config.js +645 -0
|
@@ -0,0 +1,1182 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import { mapGetters } from 'vuex';
|
|
3
|
+
import debounce from 'lodash/debounce';
|
|
4
|
+
import { MANAGEMENT, NORMAN, STEVE } from '@shell/config/types';
|
|
5
|
+
import { HARVESTER_NAME as HARVESTER } from '@shell/config/features';
|
|
6
|
+
import { ucFirst } from '@shell/utils/string';
|
|
7
|
+
import { isAlternate, isMac } from '@shell/utils/platform';
|
|
8
|
+
import Import from '@shell/components/Import';
|
|
9
|
+
import BrandImage from '@shell/components/BrandImage';
|
|
10
|
+
import { getProduct, getVendor } from '@shell/config/private-label';
|
|
11
|
+
import ClusterProviderIcon from '@shell/components/ClusterProviderIcon';
|
|
12
|
+
import ClusterBadge from '@shell/components/ClusterBadge';
|
|
13
|
+
import AppModal from '@shell/components/AppModal';
|
|
14
|
+
import { LOGGED_OUT, IS_SSO } from '@shell/config/query-params';
|
|
15
|
+
import NamespaceFilter from './NamespaceFilter';
|
|
16
|
+
import WorkspaceSwitcher from './WorkspaceSwitcher';
|
|
17
|
+
import TopLevelMenu from './TopLevelMenu';
|
|
18
|
+
|
|
19
|
+
import Jump from './Jump';
|
|
20
|
+
import { allHash } from '@shell/utils/promise';
|
|
21
|
+
import { ActionLocation, ExtensionPoint } from '@shell/core/types';
|
|
22
|
+
import { getApplicableExtensionEnhancements } from '@shell/core/plugin-helpers';
|
|
23
|
+
import IconOrSvg from '@shell/components/IconOrSvg';
|
|
24
|
+
import { wait } from '@shell/utils/async';
|
|
25
|
+
import { configType } from '@shell/models/management.cattle.io.authconfig';
|
|
26
|
+
import HeaderPageActionMenu from './HeaderPageActionMenu.vue';
|
|
27
|
+
import {
|
|
28
|
+
RcDropdown,
|
|
29
|
+
RcDropdownItem,
|
|
30
|
+
RcDropdownSeparator,
|
|
31
|
+
RcDropdownTrigger
|
|
32
|
+
} from '@components/RcDropdown';
|
|
33
|
+
|
|
34
|
+
export default {
|
|
35
|
+
|
|
36
|
+
components: {
|
|
37
|
+
NamespaceFilter,
|
|
38
|
+
WorkspaceSwitcher,
|
|
39
|
+
Import,
|
|
40
|
+
TopLevelMenu,
|
|
41
|
+
Jump,
|
|
42
|
+
BrandImage,
|
|
43
|
+
ClusterBadge,
|
|
44
|
+
ClusterProviderIcon,
|
|
45
|
+
IconOrSvg,
|
|
46
|
+
AppModal,
|
|
47
|
+
HeaderPageActionMenu,
|
|
48
|
+
RcDropdown,
|
|
49
|
+
RcDropdownItem,
|
|
50
|
+
RcDropdownSeparator,
|
|
51
|
+
RcDropdownTrigger,
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
props: {
|
|
55
|
+
simple: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
fetch() {
|
|
62
|
+
// fetch needed data to check if any auth provider is enabled
|
|
63
|
+
this.$store.dispatch('auth/getAuthProviders');
|
|
64
|
+
},
|
|
65
|
+
|
|
66
|
+
data() {
|
|
67
|
+
const searchShortcut = isMac ? '(\u2318-K)' : '(Ctrl+K)';
|
|
68
|
+
const shellShortcut = '(Ctrl+`)';
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
authInfo: {},
|
|
72
|
+
show: false,
|
|
73
|
+
showTooltip: false,
|
|
74
|
+
isUserMenuOpen: false,
|
|
75
|
+
isPageActionMenuOpen: false,
|
|
76
|
+
kubeConfigCopying: false,
|
|
77
|
+
searchShortcut,
|
|
78
|
+
shellShortcut,
|
|
79
|
+
LOGGED_OUT,
|
|
80
|
+
navHeaderRight: null,
|
|
81
|
+
extensionHeaderActions: getApplicableExtensionEnhancements(this, ExtensionPoint.ACTION, ActionLocation.HEADER, this.$route),
|
|
82
|
+
ctx: this,
|
|
83
|
+
showImportModal: false,
|
|
84
|
+
showSearchModal: false,
|
|
85
|
+
userIcon: require('~shell/assets/images/logo.png'),
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
computed: {
|
|
90
|
+
...mapGetters([
|
|
91
|
+
'clusterReady',
|
|
92
|
+
'isExplorer',
|
|
93
|
+
'isRancher',
|
|
94
|
+
'currentCluster',
|
|
95
|
+
'currentProduct',
|
|
96
|
+
'rootProduct',
|
|
97
|
+
'backToRancherLink',
|
|
98
|
+
'backToRancherGlobalLink',
|
|
99
|
+
'pageActions',
|
|
100
|
+
'isSingleProduct',
|
|
101
|
+
'isRancherInHarvester',
|
|
102
|
+
'showTopLevelMenu',
|
|
103
|
+
'isMultiCluster'
|
|
104
|
+
]),
|
|
105
|
+
|
|
106
|
+
samlAuthProviderEnabled() {
|
|
107
|
+
const publicAuthProviders = this.$store.getters['rancher/all']('authProvider');
|
|
108
|
+
|
|
109
|
+
return publicAuthProviders.find((authProvider) => configType[authProvider.id] === 'saml') || {};
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
shouldShowSloLogoutModal() {
|
|
113
|
+
if (this.isAuthLocalProvider) {
|
|
114
|
+
// If the user logged in as a local user... they cannot log out as if they were an auth config user
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const { logoutAllSupported, logoutAllEnabled, logoutAllForced } = this.samlAuthProviderEnabled;
|
|
119
|
+
|
|
120
|
+
return logoutAllSupported && logoutAllEnabled && !logoutAllForced;
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
appName() {
|
|
124
|
+
return getProduct();
|
|
125
|
+
},
|
|
126
|
+
|
|
127
|
+
vendor() {
|
|
128
|
+
this.$store.getters['management/all'](MANAGEMENT.SETTING)?.find((setting) => setting.id === 'ui-pl');
|
|
129
|
+
|
|
130
|
+
return getVendor();
|
|
131
|
+
},
|
|
132
|
+
|
|
133
|
+
authEnabled() {
|
|
134
|
+
return this.$store.getters['auth/enabled'];
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
isAuthLocalProvider() {
|
|
138
|
+
return this.principal && this.principal.provider === 'local';
|
|
139
|
+
},
|
|
140
|
+
|
|
141
|
+
generateLogoutRoute() {
|
|
142
|
+
return this.isAuthLocalProvider ? { name: 'auth-logout', query: { [LOGGED_OUT]: true } } : { name: 'auth-logout', query: { [LOGGED_OUT]: true, [IS_SSO]: true } };
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
principal() {
|
|
146
|
+
return this.$store.getters['rancher/byId'](NORMAN.PRINCIPAL, this.$store.getters['auth/principalId']) || {};
|
|
147
|
+
},
|
|
148
|
+
|
|
149
|
+
kubeConfigEnabled() {
|
|
150
|
+
return true;
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
shellEnabled() {
|
|
154
|
+
return !!this.currentCluster?.links?.shell;
|
|
155
|
+
},
|
|
156
|
+
|
|
157
|
+
showKubeShell() {
|
|
158
|
+
return !this.rootProduct?.hideKubeShell;
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
showKubeConfig() {
|
|
162
|
+
return !this.rootProduct?.hideKubeConfig;
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
showCopyConfig() {
|
|
166
|
+
return !this.rootProduct?.hideCopyConfig;
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
showPreferencesLink() {
|
|
170
|
+
return (this.$store.getters['management/schemaFor'](STEVE.PREFERENCE, false, false)?.resourceMethods || []).includes('PUT');
|
|
171
|
+
},
|
|
172
|
+
|
|
173
|
+
showAccountAndApiKeyLink() {
|
|
174
|
+
// Keep this simple for the moment and only check if the user can see tokens... plus the usual isRancher/isSingleProduct
|
|
175
|
+
const canSeeTokens = this.$store.getters['rancher/schemaFor'](NORMAN.TOKEN, false, false);
|
|
176
|
+
|
|
177
|
+
return canSeeTokens && (this.isRancher || this.isSingleProduct);
|
|
178
|
+
},
|
|
179
|
+
|
|
180
|
+
showPageActions() {
|
|
181
|
+
return !this.featureRancherDesktop && this.pageActions && this.pageActions.length;
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
showUserMenu() {
|
|
185
|
+
return !this.featureRancherDesktop;
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
showFilter() {
|
|
189
|
+
// Some products won't have a current cluster
|
|
190
|
+
const validClusterOrProduct = this.currentCluster ||
|
|
191
|
+
(this.currentProduct && this.currentProduct.customNamespaceFilter) ||
|
|
192
|
+
(this.currentProduct && this.currentProduct.showWorkspaceSwitcher);
|
|
193
|
+
// Don't show if the header is in 'simple' mode
|
|
194
|
+
const notSimple = !this.simple;
|
|
195
|
+
// One of these must be enabled, otherwise t here's no component to show
|
|
196
|
+
const validFilterSettings = this.currentProduct?.showNamespaceFilter || this.currentProduct?.showWorkspaceSwitcher;
|
|
197
|
+
|
|
198
|
+
return validClusterOrProduct && notSimple && validFilterSettings;
|
|
199
|
+
},
|
|
200
|
+
|
|
201
|
+
featureRancherDesktop() {
|
|
202
|
+
return this.$config.rancherEnv === 'desktop';
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
importEnabled() {
|
|
206
|
+
return !!this.currentCluster?.actions?.apply;
|
|
207
|
+
},
|
|
208
|
+
|
|
209
|
+
prod() {
|
|
210
|
+
const name = this.rootProduct.name;
|
|
211
|
+
|
|
212
|
+
return this.$store.getters['i18n/withFallback'](`product."${ name }"`, null, ucFirst(name));
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
showSearch() {
|
|
216
|
+
return this.rootProduct?.inStore === 'cluster';
|
|
217
|
+
},
|
|
218
|
+
|
|
219
|
+
showImportYaml() {
|
|
220
|
+
return this.rootProduct?.inStore !== 'harvester';
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
nameTooltip() {
|
|
224
|
+
return !this.showTooltip ? {} : {
|
|
225
|
+
content: this.currentCluster?.nameDisplay,
|
|
226
|
+
delay: 400,
|
|
227
|
+
};
|
|
228
|
+
},
|
|
229
|
+
|
|
230
|
+
singleProductLogoRoute() {
|
|
231
|
+
const cluster = this.$store.getters.defaultClusterId;
|
|
232
|
+
|
|
233
|
+
return {
|
|
234
|
+
...this.isSingleProduct.logoRoute,
|
|
235
|
+
params: {
|
|
236
|
+
cluster,
|
|
237
|
+
...this.isSingleProduct.logoRoute.params,
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
},
|
|
241
|
+
|
|
242
|
+
isHarvester() {
|
|
243
|
+
return this.$store.getters['currentProduct'].inStore === HARVESTER;
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
|
|
247
|
+
watch: {
|
|
248
|
+
currentCluster(nue, old) {
|
|
249
|
+
if (nue && old && nue.id !== old.id) {
|
|
250
|
+
this.checkClusterName();
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
// since the Header is a "persistent component" we need to update it at every route change...
|
|
254
|
+
$route: {
|
|
255
|
+
handler(nue) {
|
|
256
|
+
if (nue) {
|
|
257
|
+
this.extensionHeaderActions = getApplicableExtensionEnhancements(this, ExtensionPoint.ACTION, ActionLocation.HEADER, nue);
|
|
258
|
+
|
|
259
|
+
this.navHeaderRight = this.$plugin?.getDynamic('component', 'NavHeaderRight');
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
immediate: true,
|
|
263
|
+
deep: true,
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
|
|
267
|
+
mounted() {
|
|
268
|
+
this.checkClusterName();
|
|
269
|
+
this.debouncedLayoutHeader = debounce(this.layoutHeader, 400);
|
|
270
|
+
window.addEventListener('resize', this.debouncedLayoutHeader);
|
|
271
|
+
|
|
272
|
+
this.$nextTick(() => this.layoutHeader(null, true));
|
|
273
|
+
},
|
|
274
|
+
|
|
275
|
+
beforeUnmount() {
|
|
276
|
+
window.removeEventListener('resize', this.debouncedLayoutHeader);
|
|
277
|
+
},
|
|
278
|
+
|
|
279
|
+
methods: {
|
|
280
|
+
showSloModal() {
|
|
281
|
+
this.$store.dispatch('management/promptModal', {
|
|
282
|
+
component: 'SloDialog',
|
|
283
|
+
componentProps: { authProvider: this.samlAuthProviderEnabled },
|
|
284
|
+
modalWidth: '500px'
|
|
285
|
+
});
|
|
286
|
+
},
|
|
287
|
+
// Sizes the product area of the header such that it shrinks to ensure the whole header bar can be shown
|
|
288
|
+
// where possible - we use a minimum width of 32px which is enough to just show the product icon
|
|
289
|
+
layoutHeader() {
|
|
290
|
+
const header = this.$refs.header;
|
|
291
|
+
const product = this.$refs.product;
|
|
292
|
+
|
|
293
|
+
if (!header || !product) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
// If the product element has an exact size, remove it and then recalculate
|
|
298
|
+
if (product.style.width) {
|
|
299
|
+
product.style.width = '';
|
|
300
|
+
|
|
301
|
+
this.$nextTick(() => this.layoutHeader());
|
|
302
|
+
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
const overflow = header.scrollWidth - window.innerWidth;
|
|
307
|
+
|
|
308
|
+
if (overflow > 0) {
|
|
309
|
+
const w = Math.max(32, product.offsetWidth - overflow);
|
|
310
|
+
|
|
311
|
+
// Set exact width on the product div so that the content in it fits that available space
|
|
312
|
+
product.style.width = `${ w }px`;
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
showMenu(show) {
|
|
316
|
+
this.isUserMenuOpen = show;
|
|
317
|
+
},
|
|
318
|
+
|
|
319
|
+
openImport() {
|
|
320
|
+
this.showImportModal = true;
|
|
321
|
+
},
|
|
322
|
+
|
|
323
|
+
closeImport() {
|
|
324
|
+
this.showImportModal = false;
|
|
325
|
+
},
|
|
326
|
+
|
|
327
|
+
openSearch() {
|
|
328
|
+
this.showSearchModal = true;
|
|
329
|
+
},
|
|
330
|
+
|
|
331
|
+
hideSearch() {
|
|
332
|
+
this.showSearchModal = false;
|
|
333
|
+
},
|
|
334
|
+
|
|
335
|
+
checkClusterName() {
|
|
336
|
+
this.$nextTick(() => {
|
|
337
|
+
const el = this.$refs.clusterName;
|
|
338
|
+
|
|
339
|
+
this.showTooltip = el && (el.clientWidth < el.scrollWidth);
|
|
340
|
+
});
|
|
341
|
+
},
|
|
342
|
+
|
|
343
|
+
copyKubeConfig(event) {
|
|
344
|
+
const button = event.target?.parentElement;
|
|
345
|
+
|
|
346
|
+
if (this.kubeConfigCopying) {
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
this.kubeConfigCopying = true;
|
|
351
|
+
|
|
352
|
+
if (button) {
|
|
353
|
+
button.classList.add('header-btn-active');
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// Make sure we wait at least 1 second so that the user can see the visual indication that the config has been copied
|
|
357
|
+
allHash({
|
|
358
|
+
copy: this.currentCluster.copyKubeConfig(),
|
|
359
|
+
minDelay: wait(1000),
|
|
360
|
+
}).finally(() => {
|
|
361
|
+
this.kubeConfigCopying = false;
|
|
362
|
+
|
|
363
|
+
if (button) {
|
|
364
|
+
button.classList.remove('header-btn-active');
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
},
|
|
368
|
+
|
|
369
|
+
handleExtensionAction(action, event) {
|
|
370
|
+
const fn = action.invoke;
|
|
371
|
+
const opts = {
|
|
372
|
+
event,
|
|
373
|
+
action,
|
|
374
|
+
isAlt: isAlternate(event),
|
|
375
|
+
product: this.currentProduct.name,
|
|
376
|
+
cluster: this.currentCluster,
|
|
377
|
+
};
|
|
378
|
+
const enabled = action.enabled ? action.enabled.apply(this, [this.ctx]) : true;
|
|
379
|
+
|
|
380
|
+
if (fn && enabled) {
|
|
381
|
+
fn.apply(this, [opts, [], { $route: this.$route }]);
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
|
|
385
|
+
handleExtensionTooltip(action) {
|
|
386
|
+
if (action.tooltipKey || action.tooltip) {
|
|
387
|
+
const tooltip = action.tooltipKey ? this.t(action.tooltipKey) : action.tooltip;
|
|
388
|
+
const shortcut = action.shortcutLabel ? action.shortcutLabel() : '';
|
|
389
|
+
|
|
390
|
+
return `${ tooltip } ${ shortcut }`;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
return null;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
</script>
|
|
398
|
+
|
|
399
|
+
<template>
|
|
400
|
+
<header
|
|
401
|
+
ref="header"
|
|
402
|
+
data-testid="header"
|
|
403
|
+
>
|
|
404
|
+
<div>
|
|
405
|
+
<TopLevelMenu v-if="isRancherInHarvester || isMultiCluster || !isSingleProduct" />
|
|
406
|
+
</div>
|
|
407
|
+
|
|
408
|
+
<!-- <div
|
|
409
|
+
class="menu-spacer"
|
|
410
|
+
:class="{'isSingleProduct': isSingleProduct }"
|
|
411
|
+
>
|
|
412
|
+
<router-link
|
|
413
|
+
v-if="isSingleProduct && !isRancherInHarvester"
|
|
414
|
+
:to="singleProductLogoRoute"
|
|
415
|
+
role="link"
|
|
416
|
+
:alt="t('branding.logos.home')"
|
|
417
|
+
>
|
|
418
|
+
<BrandImage
|
|
419
|
+
v-if="isSingleProduct.supportCustomLogo && isHarvester"
|
|
420
|
+
class="side-menu-logo"
|
|
421
|
+
file-name="harvester.svg"
|
|
422
|
+
:support-custom-logo="true"
|
|
423
|
+
:alt="t('branding.logos.label')"
|
|
424
|
+
/>
|
|
425
|
+
<img
|
|
426
|
+
v-else
|
|
427
|
+
class="side-menu-logo"
|
|
428
|
+
:src="isSingleProduct.logo"
|
|
429
|
+
:alt="t('branding.logos.label')"
|
|
430
|
+
>
|
|
431
|
+
</router-link>
|
|
432
|
+
</div>
|
|
433
|
+
|
|
434
|
+
<div
|
|
435
|
+
v-if="!simple"
|
|
436
|
+
ref="product"
|
|
437
|
+
class="product"
|
|
438
|
+
>
|
|
439
|
+
<div
|
|
440
|
+
v-if="currentProduct && currentProduct.showClusterSwitcher"
|
|
441
|
+
v-clean-tooltip="nameTooltip"
|
|
442
|
+
class="cluster cluster-clipped"
|
|
443
|
+
>
|
|
444
|
+
<div
|
|
445
|
+
v-if="isSingleProduct && !isRancherInHarvester"
|
|
446
|
+
class="product-name"
|
|
447
|
+
>
|
|
448
|
+
<template v-if="isSingleProduct.supportCustomLogo">
|
|
449
|
+
{{ vendor }}
|
|
450
|
+
</template>
|
|
451
|
+
<template v-else>
|
|
452
|
+
{{ t(isSingleProduct.productNameKey) }}
|
|
453
|
+
</template>
|
|
454
|
+
</div>
|
|
455
|
+
<template v-else>
|
|
456
|
+
<ClusterProviderIcon
|
|
457
|
+
v-if="currentCluster"
|
|
458
|
+
:cluster="currentCluster"
|
|
459
|
+
class="mr-10"
|
|
460
|
+
:alt="t('branding.logos.label')"
|
|
461
|
+
/>
|
|
462
|
+
<div
|
|
463
|
+
v-if="currentCluster"
|
|
464
|
+
ref="clusterName"
|
|
465
|
+
class="cluster-name"
|
|
466
|
+
>
|
|
467
|
+
{{ currentCluster.spec.displayName }}
|
|
468
|
+
</div>
|
|
469
|
+
<ClusterBadge
|
|
470
|
+
v-if="currentCluster"
|
|
471
|
+
:cluster="currentCluster"
|
|
472
|
+
class="ml-10"
|
|
473
|
+
:alt="t('branding.logos.label')"
|
|
474
|
+
/>
|
|
475
|
+
<div
|
|
476
|
+
v-if="!currentCluster"
|
|
477
|
+
class="simple-title"
|
|
478
|
+
>
|
|
479
|
+
<BrandImage
|
|
480
|
+
class="side-menu-logo-img"
|
|
481
|
+
file-name="rancher-logo.svg"
|
|
482
|
+
:alt="t('branding.logos.label')"
|
|
483
|
+
/>
|
|
484
|
+
</div>
|
|
485
|
+
</template>
|
|
486
|
+
</div>
|
|
487
|
+
<div
|
|
488
|
+
v-if="currentProduct && !currentProduct.showClusterSwitcher"
|
|
489
|
+
class="cluster"
|
|
490
|
+
>
|
|
491
|
+
<img
|
|
492
|
+
v-if="currentProduct.iconHeader"
|
|
493
|
+
v-bind="$attrs"
|
|
494
|
+
:src="currentProduct.iconHeader"
|
|
495
|
+
class="cluster-os-logo mr-10"
|
|
496
|
+
style="width: 44px; height: 36px;"
|
|
497
|
+
:alt="t('branding.logos.label')"
|
|
498
|
+
>
|
|
499
|
+
<div class="product-name">
|
|
500
|
+
{{ prod }}
|
|
501
|
+
</div>
|
|
502
|
+
</div>
|
|
503
|
+
</div>
|
|
504
|
+
|
|
505
|
+
<div
|
|
506
|
+
v-else
|
|
507
|
+
class="simple-title"
|
|
508
|
+
>
|
|
509
|
+
<div
|
|
510
|
+
v-if="isSingleProduct"
|
|
511
|
+
class="product-name"
|
|
512
|
+
>
|
|
513
|
+
{{ t(isSingleProduct.productNameKey) }}
|
|
514
|
+
</div>
|
|
515
|
+
|
|
516
|
+
<div
|
|
517
|
+
v-else
|
|
518
|
+
class="side-menu-logo"
|
|
519
|
+
>
|
|
520
|
+
<BrandImage
|
|
521
|
+
class="side-menu-logo-img"
|
|
522
|
+
data-testid="header__brand-img"
|
|
523
|
+
file-name="rancher-logo.svg"
|
|
524
|
+
:alt="t('branding.logos.label')"
|
|
525
|
+
/>
|
|
526
|
+
</div>
|
|
527
|
+
</div> -->
|
|
528
|
+
|
|
529
|
+
<!-- logo -->
|
|
530
|
+
<div class="menu-spacer">
|
|
531
|
+
<router-link
|
|
532
|
+
v-if="isSingleProduct && !isRancherInHarvester"
|
|
533
|
+
:to="singleProductLogoRoute"
|
|
534
|
+
>
|
|
535
|
+
<img
|
|
536
|
+
:src="userIcon"
|
|
537
|
+
>
|
|
538
|
+
</router-link>
|
|
539
|
+
</div>
|
|
540
|
+
<!-- 中间 -->
|
|
541
|
+
<div class="spacer" />
|
|
542
|
+
|
|
543
|
+
<div class="rd-header-right">
|
|
544
|
+
<component :is="navHeaderRight" />
|
|
545
|
+
<div
|
|
546
|
+
v-if="showFilter"
|
|
547
|
+
class="top"
|
|
548
|
+
>
|
|
549
|
+
<NamespaceFilter v-if="clusterReady && currentProduct && (currentProduct.showNamespaceFilter || isExplorer)" />
|
|
550
|
+
<WorkspaceSwitcher v-else-if="clusterReady && currentProduct && currentProduct.showWorkspaceSwitcher" />
|
|
551
|
+
</div>
|
|
552
|
+
<div
|
|
553
|
+
v-if="currentCluster && !simple"
|
|
554
|
+
class="header-buttons"
|
|
555
|
+
>
|
|
556
|
+
<template v-if="currentProduct && currentProduct.showClusterSwitcher">
|
|
557
|
+
<button
|
|
558
|
+
v-if="showImportYaml"
|
|
559
|
+
v-clean-tooltip="t('nav.import')"
|
|
560
|
+
:disabled="!importEnabled"
|
|
561
|
+
type="button"
|
|
562
|
+
class="btn header-btn role-tertiary"
|
|
563
|
+
data-testid="header-action-import-yaml"
|
|
564
|
+
role="button"
|
|
565
|
+
tabindex="0"
|
|
566
|
+
:aria-label="t('nav.import')"
|
|
567
|
+
@click="openImport()"
|
|
568
|
+
>
|
|
569
|
+
<i class="icon icon-upload icon-lg" />
|
|
570
|
+
</button>
|
|
571
|
+
<app-modal
|
|
572
|
+
v-if="showImportModal"
|
|
573
|
+
class="import-modal"
|
|
574
|
+
name="importModal"
|
|
575
|
+
width="75%"
|
|
576
|
+
height="auto"
|
|
577
|
+
styles="max-height: 90vh;"
|
|
578
|
+
@close="closeImport"
|
|
579
|
+
>
|
|
580
|
+
<Import
|
|
581
|
+
:cluster="currentCluster"
|
|
582
|
+
@close="closeImport"
|
|
583
|
+
/>
|
|
584
|
+
</app-modal>
|
|
585
|
+
|
|
586
|
+
<button
|
|
587
|
+
v-if="showKubeShell"
|
|
588
|
+
id="btn-kubectl"
|
|
589
|
+
v-clean-tooltip="t('nav.shellShortcut', {key: shellShortcut})"
|
|
590
|
+
v-shortkey="{windows: ['ctrl', '`'], mac: ['meta', '`']}"
|
|
591
|
+
:disabled="!shellEnabled"
|
|
592
|
+
type="button"
|
|
593
|
+
class="btn header-btn role-tertiary"
|
|
594
|
+
role="button"
|
|
595
|
+
tabindex="0"
|
|
596
|
+
:aria-label="t('nav.shellShortcut', {key:''})"
|
|
597
|
+
@shortkey="currentCluster.openShell()"
|
|
598
|
+
@click="currentCluster.openShell()"
|
|
599
|
+
>
|
|
600
|
+
<i class="icon icon-terminal icon-lg" />
|
|
601
|
+
</button>
|
|
602
|
+
|
|
603
|
+
<button
|
|
604
|
+
v-if="showKubeConfig"
|
|
605
|
+
v-clean-tooltip="t('nav.kubeconfig.download')"
|
|
606
|
+
:disabled="!kubeConfigEnabled"
|
|
607
|
+
type="button"
|
|
608
|
+
class="btn header-btn role-tertiary"
|
|
609
|
+
data-testid="btn-download-kubeconfig"
|
|
610
|
+
role="button"
|
|
611
|
+
tabindex="0"
|
|
612
|
+
:aria-label="t('nav.kubeconfig.download')"
|
|
613
|
+
@click="currentCluster.downloadKubeConfig()"
|
|
614
|
+
>
|
|
615
|
+
<i class="icon icon-file icon-lg" />
|
|
616
|
+
</button>
|
|
617
|
+
|
|
618
|
+
<button
|
|
619
|
+
v-if="showCopyConfig"
|
|
620
|
+
v-clean-tooltip="t('nav.kubeconfig.copy')"
|
|
621
|
+
:disabled="!kubeConfigEnabled"
|
|
622
|
+
type="button"
|
|
623
|
+
class="btn header-btn role-tertiary"
|
|
624
|
+
data-testid="btn-copy-kubeconfig"
|
|
625
|
+
role="button"
|
|
626
|
+
tabindex="0"
|
|
627
|
+
:aria-label="t('nav.kubeconfig.copy')"
|
|
628
|
+
@click="copyKubeConfig($event)"
|
|
629
|
+
>
|
|
630
|
+
<i
|
|
631
|
+
v-if="kubeConfigCopying"
|
|
632
|
+
class="icon icon-checkmark icon-lg"
|
|
633
|
+
/>
|
|
634
|
+
<i
|
|
635
|
+
v-else
|
|
636
|
+
class="icon icon-copy icon-lg"
|
|
637
|
+
/>
|
|
638
|
+
</button>
|
|
639
|
+
</template>
|
|
640
|
+
|
|
641
|
+
<button
|
|
642
|
+
v-if="showSearch"
|
|
643
|
+
id="header-btn-search"
|
|
644
|
+
v-clean-tooltip="t('nav.resourceSearch.toolTip', {key: searchShortcut})"
|
|
645
|
+
v-shortkey="{windows: ['ctrl', 'k'], mac: ['meta', 'k']}"
|
|
646
|
+
type="button"
|
|
647
|
+
class="btn header-btn role-tertiary"
|
|
648
|
+
data-testid="header-resource-search"
|
|
649
|
+
role="button"
|
|
650
|
+
tabindex="0"
|
|
651
|
+
:aria-label="t('nav.resourceSearch.toolTip', {key: ''})"
|
|
652
|
+
@shortkey="openSearch()"
|
|
653
|
+
@click="openSearch()"
|
|
654
|
+
>
|
|
655
|
+
<i class="icon icon-search icon-lg" />
|
|
656
|
+
</button>
|
|
657
|
+
<app-modal
|
|
658
|
+
v-if="showSearch && showSearchModal"
|
|
659
|
+
class="search-modal"
|
|
660
|
+
name="searchModal"
|
|
661
|
+
width="50%"
|
|
662
|
+
height="auto"
|
|
663
|
+
:trigger-focus-trap="true"
|
|
664
|
+
return-focus-selector="#header-btn-search"
|
|
665
|
+
@close="hideSearch()"
|
|
666
|
+
>
|
|
667
|
+
<Jump @closeSearch="hideSearch()" />
|
|
668
|
+
</app-modal>
|
|
669
|
+
</div>
|
|
670
|
+
|
|
671
|
+
<!-- Extension header actions -->
|
|
672
|
+
<div
|
|
673
|
+
v-if="extensionHeaderActions.length"
|
|
674
|
+
class="header-buttons"
|
|
675
|
+
>
|
|
676
|
+
<button
|
|
677
|
+
v-for="action, i in extensionHeaderActions"
|
|
678
|
+
:key="`${action.label}${i}`"
|
|
679
|
+
v-clean-tooltip="handleExtensionTooltip(action)"
|
|
680
|
+
v-shortkey="action.shortcutKey"
|
|
681
|
+
:disabled="action.enabled ? !action.enabled(ctx) : false"
|
|
682
|
+
type="button"
|
|
683
|
+
class="btn header-btn role-tertiary"
|
|
684
|
+
:data-testid="`extension-header-action-${ action.labelKey || action.label }`"
|
|
685
|
+
role="button"
|
|
686
|
+
tabindex="0"
|
|
687
|
+
:aria-label="action.label"
|
|
688
|
+
@shortkey="handleExtensionAction(action, $event)"
|
|
689
|
+
@click="handleExtensionAction(action, $event)"
|
|
690
|
+
>
|
|
691
|
+
<IconOrSvg
|
|
692
|
+
class="icon icon-lg"
|
|
693
|
+
:icon="action.icon"
|
|
694
|
+
:src="action.svg"
|
|
695
|
+
color="header"
|
|
696
|
+
/>
|
|
697
|
+
</button>
|
|
698
|
+
</div>
|
|
699
|
+
|
|
700
|
+
<div class="center-self">
|
|
701
|
+
<header-page-action-menu v-if="showPageActions" />
|
|
702
|
+
<rc-dropdown
|
|
703
|
+
v-if="showUserMenu"
|
|
704
|
+
:aria-label="t('nav.userMenu.label')"
|
|
705
|
+
>
|
|
706
|
+
<rc-dropdown-trigger
|
|
707
|
+
ghost
|
|
708
|
+
small
|
|
709
|
+
data-testid="nav_header_showUserMenu"
|
|
710
|
+
:aria-label="t('nav.userMenu.button.label')"
|
|
711
|
+
>
|
|
712
|
+
<!-- <img
|
|
713
|
+
v-if="principal && principal.avatarSrc"
|
|
714
|
+
:src="principal.avatarSrc"
|
|
715
|
+
:class="{'avatar-round': principal.roundAvatar}"
|
|
716
|
+
width="36"
|
|
717
|
+
height="36"
|
|
718
|
+
:alt="t('nav.alt.userAvatar')"
|
|
719
|
+
>
|
|
720
|
+
<i
|
|
721
|
+
v-else
|
|
722
|
+
class="icon icon-user icon-3x avatar"
|
|
723
|
+
/> -->
|
|
724
|
+
<i class="icon icon-usericon" />
|
|
725
|
+
<span class="login-name">{{ principal.loginName }}</span>
|
|
726
|
+
</rc-dropdown-trigger>
|
|
727
|
+
<template #dropdownCollection>
|
|
728
|
+
<!-- <template v-if="authEnabled">
|
|
729
|
+
<div class="user-info">
|
|
730
|
+
<div class="user-name">
|
|
731
|
+
<i class="icon icon-lg icon-user" /> {{ principal.loginName }}
|
|
732
|
+
</div>
|
|
733
|
+
<div class="text-small">
|
|
734
|
+
<template v-if="principal.loginName !== principal.name">
|
|
735
|
+
{{ principal.name }}
|
|
736
|
+
</template>
|
|
737
|
+
</div>
|
|
738
|
+
</div>
|
|
739
|
+
<rc-dropdown-separator />
|
|
740
|
+
</template> -->
|
|
741
|
+
<!-- <rc-dropdown-item
|
|
742
|
+
v-if="showPreferencesLink"
|
|
743
|
+
@click="$router.push({ name: 'prefs'})"
|
|
744
|
+
>
|
|
745
|
+
{{ t('nav.userMenu.preferences') }}
|
|
746
|
+
</rc-dropdown-item> -->
|
|
747
|
+
<rc-dropdown-item
|
|
748
|
+
v-if="showAccountAndApiKeyLink"
|
|
749
|
+
@click="$router.push({ name: 'account'})"
|
|
750
|
+
>
|
|
751
|
+
{{ t('nav.userMenu.accountAndKeys', {}, true) }}
|
|
752
|
+
</rc-dropdown-item>
|
|
753
|
+
<rc-dropdown-item
|
|
754
|
+
v-if="authEnabled && shouldShowSloLogoutModal"
|
|
755
|
+
@click="showSloModal"
|
|
756
|
+
>
|
|
757
|
+
{{ t('nav.userMenu.logOut') }}
|
|
758
|
+
</rc-dropdown-item>
|
|
759
|
+
<rc-dropdown-item
|
|
760
|
+
v-else-if="authEnabled"
|
|
761
|
+
@click="$router.push(generateLogoutRoute)"
|
|
762
|
+
>
|
|
763
|
+
{{ t('nav.userMenu.logOut') }}
|
|
764
|
+
</rc-dropdown-item>
|
|
765
|
+
</template>
|
|
766
|
+
</rc-dropdown>
|
|
767
|
+
</div>
|
|
768
|
+
</div>
|
|
769
|
+
</header>
|
|
770
|
+
</template>
|
|
771
|
+
|
|
772
|
+
<style lang="scss" scoped>
|
|
773
|
+
// It would be nice to grab this from `Group.vue`, but there's margin, padding and border, which is overkill to var
|
|
774
|
+
$side-menu-group-padding-left: 16px;
|
|
775
|
+
|
|
776
|
+
HEADER {
|
|
777
|
+
display: flex;
|
|
778
|
+
z-index: z-index('mainHeader');
|
|
779
|
+
box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.12);
|
|
780
|
+
|
|
781
|
+
> .spacer {
|
|
782
|
+
flex: 1;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
> .menu-spacer {
|
|
786
|
+
flex: 0 0 15px;
|
|
787
|
+
|
|
788
|
+
&.isSingleProduct {
|
|
789
|
+
display: flex;
|
|
790
|
+
justify-content: center;
|
|
791
|
+
|
|
792
|
+
// Align the icon with the side nav menu items ($side-menu-group-padding-left)
|
|
793
|
+
.side-menu-logo {
|
|
794
|
+
margin-left: $side-menu-group-padding-left;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.title {
|
|
800
|
+
border-left: 1px solid var(--header-border);
|
|
801
|
+
padding-left: 10px;
|
|
802
|
+
opacity: 0.7;
|
|
803
|
+
text-transform: uppercase;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.filter {
|
|
807
|
+
:deep() .labeled-select,
|
|
808
|
+
:deep() .unlabeled-select {
|
|
809
|
+
.vs__search::placeholder {
|
|
810
|
+
color: var(--body-text) !important;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.vs__dropdown-toggle .vs__actions:after {
|
|
814
|
+
color: var(--body-text) !important;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.vs__dropdown-toggle {
|
|
818
|
+
background: transparent;
|
|
819
|
+
border: 1px solid var(--header-border);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.back {
|
|
825
|
+
padding-top: 6px;
|
|
826
|
+
|
|
827
|
+
> *:first-child {
|
|
828
|
+
height: 40px;
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.simple-title {
|
|
833
|
+
align-items: center;
|
|
834
|
+
display: flex;
|
|
835
|
+
|
|
836
|
+
.title {
|
|
837
|
+
height: 24px;
|
|
838
|
+
line-height: 24px;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.cluster {
|
|
843
|
+
align-items: center;
|
|
844
|
+
display: flex;
|
|
845
|
+
height: 32px;
|
|
846
|
+
white-space: nowrap;
|
|
847
|
+
.cluster-name {
|
|
848
|
+
font-size: 16px;
|
|
849
|
+
text-overflow: ellipsis;
|
|
850
|
+
overflow: hidden;
|
|
851
|
+
}
|
|
852
|
+
&.cluster-clipped {
|
|
853
|
+
overflow: hidden;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
> .product {
|
|
858
|
+
align-items: center;
|
|
859
|
+
position: relative;
|
|
860
|
+
display: flex;
|
|
861
|
+
|
|
862
|
+
.logo {
|
|
863
|
+
height: 30px;
|
|
864
|
+
position: absolute;
|
|
865
|
+
top: 9px;
|
|
866
|
+
left: 0;
|
|
867
|
+
z-index: 2;
|
|
868
|
+
|
|
869
|
+
img {
|
|
870
|
+
height: 30px;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.product-name {
|
|
876
|
+
font-size: 16px;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.side-menu-logo {
|
|
880
|
+
align-items: center;
|
|
881
|
+
display: flex;
|
|
882
|
+
margin-right: 8px;
|
|
883
|
+
height: 55px;
|
|
884
|
+
margin-left: 5px;
|
|
885
|
+
max-width: 200px;
|
|
886
|
+
padding: 12px 0;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.side-menu-logo-img {
|
|
890
|
+
object-fit: contain;
|
|
891
|
+
height: 21px;
|
|
892
|
+
max-width: 200px;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
> * {
|
|
896
|
+
background-color: var(--header-bg);
|
|
897
|
+
/* border-bottom: var(--header-border-size) solid var(--header-border); */
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.rd-header-right {
|
|
901
|
+
display: flex;
|
|
902
|
+
flex-direction: row;
|
|
903
|
+
padding: 0;
|
|
904
|
+
|
|
905
|
+
> * {
|
|
906
|
+
padding: 0 5px;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
> .top {
|
|
910
|
+
padding-top: 10px;
|
|
911
|
+
|
|
912
|
+
INPUT[type='search']::placeholder,
|
|
913
|
+
.vs__open-indicator,
|
|
914
|
+
.vs__selected {
|
|
915
|
+
color: var(--header-btn-bg) !important;
|
|
916
|
+
background: var(--header-btn-bg);
|
|
917
|
+
border-radius: var(--border-radius);
|
|
918
|
+
border: none;
|
|
919
|
+
margin: 0 35px 0 25px!important;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.vs__selected {
|
|
923
|
+
background: rgba(255, 255, 255, 0.15);
|
|
924
|
+
border-color: rgba(255, 255, 255, 0.25);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.vs__deselect {
|
|
928
|
+
fill: var(--header-btn-bg);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.filter .vs__dropdown-toggle {
|
|
932
|
+
background: var(--header-btn-bg);
|
|
933
|
+
border-radius: var(--border-radius);
|
|
934
|
+
border: none;
|
|
935
|
+
margin: 0 35px 0 25px!important;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.header-buttons {
|
|
940
|
+
align-items: center;
|
|
941
|
+
display: flex;
|
|
942
|
+
margin-top: 1px;
|
|
943
|
+
|
|
944
|
+
// Spacing between header buttons
|
|
945
|
+
.btn:not(:last-of-type) {
|
|
946
|
+
margin-right: 10px;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.btn:focus {
|
|
950
|
+
box-shadow: none;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
> .header-btn {
|
|
954
|
+
&.header-btn-active, &.header-btn-active:hover {
|
|
955
|
+
background-color: var(--success);
|
|
956
|
+
color: var(--success-text);
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
img {
|
|
960
|
+
height: 20px;
|
|
961
|
+
width: 20px;
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.header-btn {
|
|
967
|
+
width: 40px;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
:deep() div .btn.role-tertiary {
|
|
971
|
+
border: 1px solid var(--header-btn-bg);
|
|
972
|
+
border: none;
|
|
973
|
+
background: var(--header-btn-bg);
|
|
974
|
+
color: var(--header-btn-text);
|
|
975
|
+
padding: 0 10px;
|
|
976
|
+
line-height: 32px;
|
|
977
|
+
min-height: 32px;
|
|
978
|
+
|
|
979
|
+
i {
|
|
980
|
+
// Ideally same height as the parent button, but this means tooltip needs adjusting (which is it's own can of worms)
|
|
981
|
+
line-height: 20px;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
&:hover {
|
|
985
|
+
background: var(--primary);
|
|
986
|
+
color: #fff;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
&[disabled=disabled] {
|
|
990
|
+
background-color: rgba(0,0,0,0.25) !important;
|
|
991
|
+
color: var(--header-btn-text) !important;
|
|
992
|
+
opacity: 0.7;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
:deep(.actions) {
|
|
997
|
+
align-items: center;
|
|
998
|
+
cursor: pointer;
|
|
999
|
+
display: flex;
|
|
1000
|
+
|
|
1001
|
+
> I {
|
|
1002
|
+
font-size: 18px;
|
|
1003
|
+
padding: 6px;
|
|
1004
|
+
&:hover {
|
|
1005
|
+
color: var(--link);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
:deep(.v-popper:focus) {
|
|
1010
|
+
outline: 0;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.dropdown {
|
|
1014
|
+
margin: 0 -10px;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.header-spacer {
|
|
1019
|
+
background-color: var(--header-bg);
|
|
1020
|
+
position: relative;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.avatar-round {
|
|
1024
|
+
border: 0;
|
|
1025
|
+
border-radius: 50%;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
> .user {
|
|
1029
|
+
outline: none;
|
|
1030
|
+
/* width: var(--header-height); */
|
|
1031
|
+
|
|
1032
|
+
.v-popper {
|
|
1033
|
+
display: flex;
|
|
1034
|
+
:deep() .trigger{
|
|
1035
|
+
.user-image {
|
|
1036
|
+
display: flex;
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.user-image {
|
|
1042
|
+
display: flex;
|
|
1043
|
+
align-items: center;
|
|
1044
|
+
&:hover{
|
|
1045
|
+
color: var(--primary);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
&:focus {
|
|
1051
|
+
.v-popper {
|
|
1052
|
+
:deep() .trigger {
|
|
1053
|
+
line-height: 0;
|
|
1054
|
+
.user-image {
|
|
1055
|
+
max-height: 40px;
|
|
1056
|
+
}
|
|
1057
|
+
.user-image > * {
|
|
1058
|
+
@include form-focus
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
background-color: var(--header-bg);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
> .center-self {
|
|
1068
|
+
align-self: center;
|
|
1069
|
+
display: flex;
|
|
1070
|
+
gap: 1rem;
|
|
1071
|
+
align-items: center;
|
|
1072
|
+
padding-right: 1rem;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
.list-unstyled {
|
|
1078
|
+
li {
|
|
1079
|
+
a {
|
|
1080
|
+
display: flex;
|
|
1081
|
+
justify-content: space-between;
|
|
1082
|
+
padding: 10px;
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
div {
|
|
1088
|
+
&.user-info {
|
|
1089
|
+
padding: 0 8px;
|
|
1090
|
+
margin: 0 9px;
|
|
1091
|
+
min-width: 200px;
|
|
1092
|
+
display: flex;
|
|
1093
|
+
gap: 5px;
|
|
1094
|
+
flex-direction: column;
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.config-actions {
|
|
1099
|
+
li {
|
|
1100
|
+
a {
|
|
1101
|
+
justify-content: start;
|
|
1102
|
+
align-items: center;
|
|
1103
|
+
|
|
1104
|
+
& .icon {
|
|
1105
|
+
margin: 0 4px;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
&:hover {
|
|
1109
|
+
cursor: pointer;
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.v-popper__popper .v-popper__inner {
|
|
1116
|
+
padding: 0;
|
|
1117
|
+
border-radius: 0;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.user-name {
|
|
1121
|
+
display: flex;
|
|
1122
|
+
align-items: center;
|
|
1123
|
+
color: var(--secondary);
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.user-menu {
|
|
1127
|
+
:deep(.v-popper__arrow-container) {
|
|
1128
|
+
display: none;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
:deep(.v-popper__inner) {
|
|
1132
|
+
padding: 10px 0 10px 0;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
:deep(.v-popper) {
|
|
1136
|
+
display: flex;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.user-menu-item {
|
|
1141
|
+
a, &.no-link > span {
|
|
1142
|
+
cursor: pointer;
|
|
1143
|
+
padding: 0px 10px;
|
|
1144
|
+
|
|
1145
|
+
&:hover {
|
|
1146
|
+
background-color: var(--dropdown-hover-bg);
|
|
1147
|
+
color: var(--dropdown-hover-text);
|
|
1148
|
+
text-decoration: none;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
// When the menu item is focused, pop the margin and compensate the padding, so that
|
|
1152
|
+
// the focus border appears within the menu
|
|
1153
|
+
&:focus {
|
|
1154
|
+
margin: 0 2px;
|
|
1155
|
+
padding: 10px 8px;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
&.no-link > span {
|
|
1160
|
+
display: flex;
|
|
1161
|
+
justify-content: space-between;
|
|
1162
|
+
padding: 10px;
|
|
1163
|
+
color: var(--popover-text);
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
div.menu-separator {
|
|
1167
|
+
cursor: default;
|
|
1168
|
+
padding: 4px 0;
|
|
1169
|
+
|
|
1170
|
+
.menu-separator-line {
|
|
1171
|
+
background-color: var(--border);
|
|
1172
|
+
height: 1px;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
.login-name{
|
|
1177
|
+
font-size: 14px;
|
|
1178
|
+
margin-left: 5px;
|
|
1179
|
+
margin-top: 5px;
|
|
1180
|
+
line-height: 20px;
|
|
1181
|
+
}
|
|
1182
|
+
</style>
|