dashboard-shell-shell 3.0.5-test.5 → 3.0.5-test.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/brand/csp/favicon.png +0 -0
- package/assets/icons/iconfont.css +4 -1
- package/assets/images/pl/dark/logo.png +0 -0
- package/assets/styles/all.scss +23 -3
- package/assets/styles/base/_variables.scss +5 -5
- package/assets/styles/fonts/_icons.scss +3 -2
- package/assets/styles/global/_button.scss +2 -2
- package/assets/styles/global/_form.scss +1 -0
- package/assets/styles/global/_select.scss +1 -1
- package/assets/styles/global/_tooltip.scss +5 -1
- package/assets/styles/themes/_light.scss +3 -3
- package/assets/styles/vendor/vue-select.scss +2 -1
- package/assets/translations/en-us.yaml +64 -0
- package/assets/translations/zh-hans.yaml +206 -21
- package/components/ButtonDropdown.vue +3 -1
- package/components/ClusterIconMenu.vue +1 -1
- package/components/CodeMirror.vue +6 -4
- package/components/ConsumptionGauge.vue +1 -1
- package/components/ContainerResourceLimit.vue +2 -2
- package/components/CruResource.vue +3 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +10 -7
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +3 -2
- package/components/ExplorerMembers.vue +10 -1
- package/components/GlobalRoleBindings.vue +69 -114
- package/components/PodSecurityAdmission.vue +1 -1
- package/components/PromptRemove.vue +23 -1
- package/components/RelatedResources.vue +3 -0
- package/components/Resource/Detail/Metadata/index.vue +1 -0
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/composables.ts +16 -1
- package/components/Resource/Detail/TitleBar/index.vue +42 -23
- package/components/ResourceDetail/Masthead/index.vue +1 -1
- package/components/ResourceDetail/Masthead/latest.vue +1 -1
- package/components/ResourceDetail/Masthead/legacy.vue +8 -7
- package/components/ResourceDetail/legacy.vue +15 -15
- package/components/ResourceList/Masthead.vue +13 -17
- package/components/ResourceTable.vue +16 -0
- package/components/SideNav.vue +21 -21
- package/components/SingleClusterInfo.vue +2 -1
- package/components/SortableTable/THead.vue +46 -1
- package/components/SortableTable/index.vue +55 -19
- package/components/Tabbed/index.vue +7 -2
- package/components/auth/Principal.vue +16 -8
- package/components/auth/RoleDetailEdit.vue +11 -7
- package/components/breadcrumb/index.vue +15 -236
- package/components/form/ArrayList.vue +164 -147
- package/components/form/ArrayListGrouped.vue +5 -3
- package/components/form/ChangePassword.vue +1 -1
- package/components/form/ClusterAppearance.vue +4 -3
- package/components/form/Command.vue +4 -5
- package/components/form/Conditions.vue +15 -1
- package/components/form/Footer.vue +1 -0
- package/components/form/HealthCheck.vue +0 -2
- package/components/form/HookOption.vue +87 -58
- package/components/form/InputWithSelect.vue +8 -7
- package/components/form/KeyValue.vue +20 -2
- package/components/form/LabeledSelect.vue +3 -1
- package/components/form/Labels.vue +2 -2
- package/components/form/MatchExpressions.vue +4 -4
- package/components/form/Members/ClusterMembershipEditor.vue +1 -1
- package/components/form/Members/ClusterPermissionsEditor.vue +60 -41
- package/components/form/Members/MembershipEditor.vue +4 -4
- package/components/form/Members/ProjectMembershipEditor.vue +1 -1
- package/components/form/NameNsDescription.vue +2 -1
- package/components/form/Networking.vue +6 -9
- package/components/form/NodeAffinity.vue +29 -28
- package/components/form/PodAffinity.vue +23 -23
- package/components/form/Probe.vue +15 -11
- package/components/form/ProjectMemberEditor.vue +66 -48
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +11 -9
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +36 -30
- package/components/form/ResourceSelector.vue +1 -1
- package/components/form/Security.vue +1 -3
- package/components/form/Select.vue +7 -1
- package/components/form/ServiceNameSelect.vue +2 -5
- package/components/form/ServicePorts.vue +149 -75
- package/components/form/Tolerations.vue +13 -9
- package/components/form/ValueFromResource.vue +110 -96
- package/components/formatter/WorkloadHealthScale.vue +4 -3
- package/components/nav/Group.vue +6 -0
- package/components/nav/Header.vue +17 -137
- package/components/nav/NamespaceFilter.vue +15 -21
- package/components/nav/TopLevelMenu.vue +99 -125
- package/components/nav/Type.vue +11 -3
- package/config/menuRouteMap.js +10 -0
- package/config/product/explorer.js +32 -10
- package/config/product/manager.js +28 -17
- package/config/router/navigation-guards/index.js +61 -3
- package/detail/node.vue +28 -23
- package/dialog/AddCustomBadgeDialog.vue +17 -9
- package/dialog/RollbackWorkloadDialog.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/configmap.vue +4 -0
- package/edit/networking.k8s.io.ingress/Certificate.vue +14 -5
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
- package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
- package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
- package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
- package/edit/persistentvolume/index.vue +3 -1
- package/edit/persistentvolumeclaim.vue +2 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +1 -1
- package/edit/secret/index.vue +2 -2
- package/edit/service.vue +4 -1
- package/edit/storage.k8s.io.storageclass/index.vue +10 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
- package/edit/workload/Job.vue +31 -34
- package/edit/workload/Upgrading.vue +5 -5
- package/edit/workload/index.vue +19 -15
- package/edit/workload/storage/Mount.vue +1 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
- package/edit/workload/storage/azureDisk.vue +14 -10
- package/edit/workload/storage/azureFile.vue +9 -7
- package/edit/workload/storage/csi/index.vue +6 -9
- package/edit/workload/storage/emptyDir.vue +7 -5
- package/edit/workload/storage/gcePersistentDisk.vue +9 -7
- package/edit/workload/storage/hostPath.vue +7 -5
- package/edit/workload/storage/nfs.vue +8 -6
- package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
- package/edit/workload/storage/secret.vue +9 -6
- package/edit/workload/storage/vsphereVolume.vue +11 -7
- package/initialize/app-extended.js +7 -1
- package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +8 -6
- package/mixins/create-edit-view/impl.js +10 -0
- package/models/provisioning.cattle.io.cluster.js +19 -18
- package/models/workload.js +2 -2
- package/package.json +1 -1
- package/pages/account/index.vue +96 -115
- package/pages/auth/setup.vue +36 -17
- package/pages/c/_cluster/auth/roles/index.vue +65 -8
- package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
- package/pages/c/_cluster/explorer/index.vue +2 -1
- package/pages/c/_cluster/explorer/tools/index.vue +6 -6
- package/pages/home.vue +55 -13
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/actions.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/rancher-components/Banner/Banner.vue +14 -2
- package/rancher-components/Form/Radio/RadioGroup.vue +9 -1
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +31 -2
- package/scripts/build-pkg.sh +18 -23
- package/scripts/publish-shell.sh +1 -1
- package/store/i18n.js +1 -0
- package/store/type-map.js +1 -3
- package/types/shell/index.d.ts +12 -30
- package/utils/error.js +26 -4
- package/utils/errorTranslate.json +390 -6
- package/utils/errorTranslateNew.json +39 -0
- package/utils/roleFiltering.js +33 -0
- package/vue.config.js +1 -1
|
Binary file
|
|
Binary file
|
package/assets/styles/all.scss
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/* Chrome, Edge, Safari */
|
|
2
|
+
input[type="password"]::-webkit-textfield-decoration-container,
|
|
3
|
+
input[type="password"]::-webkit-inner-spin-button,
|
|
4
|
+
input[type="password"]::-webkit-clear-button {
|
|
5
|
+
display: none !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Edge / IE */
|
|
9
|
+
input[type="password"]::-ms-reveal {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Firefox */
|
|
14
|
+
input[type="password"]::-moz-reveal {
|
|
15
|
+
display: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
.info-tab-title{
|
|
2
20
|
font-size: 14px;
|
|
3
21
|
line-height: 19px;
|
|
@@ -22,8 +40,8 @@ ul{
|
|
|
22
40
|
}
|
|
23
41
|
|
|
24
42
|
.radio-group{
|
|
25
|
-
|
|
26
|
-
|
|
43
|
+
display: flex !important;
|
|
44
|
+
}
|
|
27
45
|
|
|
28
46
|
.clearFix{
|
|
29
47
|
font-size: 16px;
|
|
@@ -56,7 +74,9 @@ ul{
|
|
|
56
74
|
}
|
|
57
75
|
|
|
58
76
|
:deep() .vs__actions:after {
|
|
59
|
-
padding-top: 10px;
|
|
77
|
+
// padding-top: 10px;
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
60
80
|
}
|
|
61
81
|
.TEXTAREA{
|
|
62
82
|
border: solid var(--border-width) var(--input-border);
|
|
@@ -12,8 +12,8 @@ $unlabeled-input-height: 40px;
|
|
|
12
12
|
$unlabaled-select-padding: 3px 0;
|
|
13
13
|
$footer-height: 60px;
|
|
14
14
|
|
|
15
|
-
$input-height:
|
|
16
|
-
$unlabeled-input-height:
|
|
15
|
+
$input-height: 30px;
|
|
16
|
+
$unlabeled-input-height: 30px;
|
|
17
17
|
$input-width: 400px;
|
|
18
18
|
|
|
19
19
|
|
|
@@ -39,13 +39,13 @@ $z-indexes: (
|
|
|
39
39
|
// ---- Boundary for central content (in `<main>`)
|
|
40
40
|
|
|
41
41
|
// This covers both relative and content modes of the loading indicator
|
|
42
|
-
loading:
|
|
42
|
+
loading: 16,
|
|
43
43
|
|
|
44
44
|
// Users can click on shell in header and show shell even with most loading indicators showing,
|
|
45
45
|
// so add it above them
|
|
46
|
-
windowsManager:
|
|
46
|
+
windowsManager: 17,
|
|
47
47
|
|
|
48
|
-
mainHeader:
|
|
48
|
+
mainHeader: 18,
|
|
49
49
|
|
|
50
50
|
cruFooter: 19,
|
|
51
51
|
|
|
@@ -120,7 +120,7 @@ button,
|
|
|
120
120
|
line-height: $btn-sm-height - 2px;
|
|
121
121
|
|
|
122
122
|
&:focus, &.focused {
|
|
123
|
-
border: 0;
|
|
123
|
+
// border: 0;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -169,7 +169,7 @@ button,
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.role-multi-action {
|
|
172
|
-
background-color:
|
|
172
|
+
background-color: rgba(0,0,0,0);
|
|
173
173
|
border: solid thin var(--primary);
|
|
174
174
|
color: var(--primary) !important;
|
|
175
175
|
border-radius: 2px;
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.v-popper__popper.v-popper--theme-dropdown {
|
|
150
|
-
border-radius:
|
|
150
|
+
border-radius: 0px;
|
|
151
151
|
z-index: z-index('tooltip');
|
|
152
152
|
border: 1px solid #d9d9d9 !important;
|
|
153
153
|
|
|
@@ -157,6 +157,10 @@
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
+
.v-popper__popper .v-popper__arrow-container {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
160
164
|
|
|
161
165
|
.v-popper {
|
|
162
166
|
display: inline;
|
|
@@ -268,9 +268,9 @@ BODY, .theme-light {
|
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
--warning : #{$warning};
|
|
271
|
-
--warning-text : #
|
|
271
|
+
--warning-text : #fff;
|
|
272
272
|
--warning-hover-bg : #{darken($warning, 10%)};
|
|
273
|
-
--warning-hover-text : #
|
|
273
|
+
--warning-hover-text : #fff;
|
|
274
274
|
--warning-active-bg : #{darken($warning, 25%)};
|
|
275
275
|
--warning-active-text : #{contrast-color(darken($warning, 25%))};
|
|
276
276
|
--warning-border : #{$warning};
|
|
@@ -353,7 +353,7 @@ BODY, .theme-light {
|
|
|
353
353
|
|
|
354
354
|
&.btn:hover {
|
|
355
355
|
color: var(--disabled-hover-text);
|
|
356
|
-
background:
|
|
356
|
+
background-color: #ccc !important;
|
|
357
357
|
transition: all 0.3s ease;
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -762,6 +762,63 @@ assignTo:
|
|
|
762
762
|
}
|
|
763
763
|
workspace: Workspace
|
|
764
764
|
|
|
765
|
+
stateLabel:
|
|
766
|
+
Images preloaded: Images preloaded
|
|
767
|
+
Waiting Reboot: Waiting Reboot
|
|
768
|
+
warning: warning
|
|
769
|
+
upgrading: upgrading
|
|
770
|
+
Upgrading: Upgrading
|
|
771
|
+
Succeeded: Succeeded
|
|
772
|
+
Pending migration: Pending migration
|
|
773
|
+
Imagepullbackoff: Imagepullbackoff
|
|
774
|
+
VM error: VM error
|
|
775
|
+
Locked: Locked
|
|
776
|
+
Bound: Bound
|
|
777
|
+
Running: Running
|
|
778
|
+
Off: Off
|
|
779
|
+
Stopped: Stopped
|
|
780
|
+
pending: pending
|
|
781
|
+
Pending: Pending
|
|
782
|
+
failed: failed
|
|
783
|
+
Failed: Failed
|
|
784
|
+
Paused: Paused
|
|
785
|
+
Stopping: Stopping
|
|
786
|
+
Progressing: Progressing
|
|
787
|
+
Scheduling: Scheduling
|
|
788
|
+
Terminating: Terminating
|
|
789
|
+
Scheduled: Scheduled
|
|
790
|
+
Unknown: Unknown
|
|
791
|
+
CrashLoopBackOff: CrashLoopBackOff
|
|
792
|
+
Active: Active
|
|
793
|
+
Inactive: Inactive
|
|
794
|
+
Ready: Ready
|
|
795
|
+
Not Ready: Not Ready
|
|
796
|
+
Not ready: Not ready
|
|
797
|
+
Degraded: Degraded
|
|
798
|
+
Removing: Removing
|
|
799
|
+
Validated: Validated
|
|
800
|
+
Validating: Validating
|
|
801
|
+
Healthy: Healthy
|
|
802
|
+
Warning: Warning
|
|
803
|
+
Error: Error
|
|
804
|
+
Cordoned: Cordoned
|
|
805
|
+
Starting: Starting
|
|
806
|
+
Uploading: Uploading
|
|
807
|
+
Downloading: Downloading
|
|
808
|
+
In-use: In-use
|
|
809
|
+
Suspended: Suspended
|
|
810
|
+
Disabled: Disabled
|
|
811
|
+
Enabled: Enabled
|
|
812
|
+
Maintenance: Maintenance
|
|
813
|
+
Migrating: Migrating
|
|
814
|
+
Restoring: Restoring
|
|
815
|
+
Resizing: Resizing
|
|
816
|
+
Exporting: Exporting
|
|
817
|
+
Unavailable: Unavailable
|
|
818
|
+
Unschedulable: Unschedulable
|
|
819
|
+
VMI_WAITINH: VMI_WAITINH
|
|
820
|
+
Entering maintenance mode: Entering maintenance mode
|
|
821
|
+
|
|
765
822
|
asyncButton:
|
|
766
823
|
alt:
|
|
767
824
|
iconAlt: Async button icon
|
|
@@ -6407,6 +6464,9 @@ storageClass:
|
|
|
6407
6464
|
tooltip: By default the default storage class on the host Harvester cluster is used.
|
|
6408
6465
|
|
|
6409
6466
|
tableHeaders:
|
|
6467
|
+
claimedby: claimedby
|
|
6468
|
+
pod: pod
|
|
6469
|
+
volumeattributesclass: volumeattributesclass
|
|
6410
6470
|
assuredConcurrencyShares: Assured Concurrency Shares
|
|
6411
6471
|
accessKey: Access Key
|
|
6412
6472
|
addressType: Address Type
|
|
@@ -7588,6 +7648,10 @@ typeDescription:
|
|
|
7588
7648
|
management.cattle.io.setting: 统一配置平台基础选项与全局设置,支持CA证书、密码规则、域名、Token时效等核心配置。
|
|
7589
7649
|
management.cattle.io.user: 用于管理用户账号,支持创建、维护用户信息,可设置用户权限、管理密码等,保障系统资源仅由授权用户访问,提升系统安全性。
|
|
7590
7650
|
harvesterhci.io.management.cluster: 提供虚拟化集群的实时健康状态监控、版本号管理及资源负载管理,支持批量导入/删除集群、配置调优与权限分级功能,实现高效运维管控。
|
|
7651
|
+
harvesterhci.io.logging.clusterflow: 集群流用于展示集群内的事件与操作日志,帮助您实时监控集群状态、追踪资源变更,提升问题排查与运维效率。
|
|
7652
|
+
harvesterhci.io.logging.clusteroutput: 集群输出用于集中展示集群运行过程中的日志与输出信息,帮助您分析系统行为、定位问题并优化集群性能。
|
|
7653
|
+
harvesterhci.io.logging.flow: 流用于实时展示系统内各类事件与操作记录,帮助您监控资源变化、追踪操作过程,提升系统可观测性与运维效率。
|
|
7654
|
+
harvesterhci.io.logging.output: 输出用于查看系统或服务运行产生的日志与结果信息,帮助您及时了解运行状态并进行故障排查。
|
|
7591
7655
|
typeLabel:
|
|
7592
7656
|
management.cattle.io.oidcclient: |-
|
|
7593
7657
|
{count, plural,
|