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.
Files changed (168) hide show
  1. package/assets/brand/csp/favicon.png +0 -0
  2. package/assets/icons/iconfont.css +4 -1
  3. package/assets/images/pl/dark/logo.png +0 -0
  4. package/assets/styles/all.scss +23 -3
  5. package/assets/styles/base/_variables.scss +5 -5
  6. package/assets/styles/fonts/_icons.scss +3 -2
  7. package/assets/styles/global/_button.scss +2 -2
  8. package/assets/styles/global/_form.scss +1 -0
  9. package/assets/styles/global/_select.scss +1 -1
  10. package/assets/styles/global/_tooltip.scss +5 -1
  11. package/assets/styles/themes/_light.scss +3 -3
  12. package/assets/styles/vendor/vue-select.scss +2 -1
  13. package/assets/translations/en-us.yaml +64 -0
  14. package/assets/translations/zh-hans.yaml +206 -21
  15. package/components/ButtonDropdown.vue +3 -1
  16. package/components/ClusterIconMenu.vue +1 -1
  17. package/components/CodeMirror.vue +6 -4
  18. package/components/ConsumptionGauge.vue +1 -1
  19. package/components/ContainerResourceLimit.vue +2 -2
  20. package/components/CruResource.vue +3 -2
  21. package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +10 -7
  22. package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
  23. package/components/Drawer/ResourceDetailDrawer/index.vue +3 -2
  24. package/components/ExplorerMembers.vue +10 -1
  25. package/components/GlobalRoleBindings.vue +69 -114
  26. package/components/PodSecurityAdmission.vue +1 -1
  27. package/components/PromptRemove.vue +23 -1
  28. package/components/RelatedResources.vue +3 -0
  29. package/components/Resource/Detail/Metadata/index.vue +1 -0
  30. package/components/Resource/Detail/TitleBar/Top.vue +2 -0
  31. package/components/Resource/Detail/TitleBar/composables.ts +16 -1
  32. package/components/Resource/Detail/TitleBar/index.vue +42 -23
  33. package/components/ResourceDetail/Masthead/index.vue +1 -1
  34. package/components/ResourceDetail/Masthead/latest.vue +1 -1
  35. package/components/ResourceDetail/Masthead/legacy.vue +8 -7
  36. package/components/ResourceDetail/legacy.vue +15 -15
  37. package/components/ResourceList/Masthead.vue +13 -17
  38. package/components/ResourceTable.vue +16 -0
  39. package/components/SideNav.vue +21 -21
  40. package/components/SingleClusterInfo.vue +2 -1
  41. package/components/SortableTable/THead.vue +46 -1
  42. package/components/SortableTable/index.vue +55 -19
  43. package/components/Tabbed/index.vue +7 -2
  44. package/components/auth/Principal.vue +16 -8
  45. package/components/auth/RoleDetailEdit.vue +11 -7
  46. package/components/breadcrumb/index.vue +15 -236
  47. package/components/form/ArrayList.vue +164 -147
  48. package/components/form/ArrayListGrouped.vue +5 -3
  49. package/components/form/ChangePassword.vue +1 -1
  50. package/components/form/ClusterAppearance.vue +4 -3
  51. package/components/form/Command.vue +4 -5
  52. package/components/form/Conditions.vue +15 -1
  53. package/components/form/Footer.vue +1 -0
  54. package/components/form/HealthCheck.vue +0 -2
  55. package/components/form/HookOption.vue +87 -58
  56. package/components/form/InputWithSelect.vue +8 -7
  57. package/components/form/KeyValue.vue +20 -2
  58. package/components/form/LabeledSelect.vue +3 -1
  59. package/components/form/Labels.vue +2 -2
  60. package/components/form/MatchExpressions.vue +4 -4
  61. package/components/form/Members/ClusterMembershipEditor.vue +1 -1
  62. package/components/form/Members/ClusterPermissionsEditor.vue +60 -41
  63. package/components/form/Members/MembershipEditor.vue +4 -4
  64. package/components/form/Members/ProjectMembershipEditor.vue +1 -1
  65. package/components/form/NameNsDescription.vue +2 -1
  66. package/components/form/Networking.vue +6 -9
  67. package/components/form/NodeAffinity.vue +29 -28
  68. package/components/form/PodAffinity.vue +23 -23
  69. package/components/form/Probe.vue +15 -11
  70. package/components/form/ProjectMemberEditor.vue +66 -48
  71. package/components/form/ResourceQuota/Namespace.vue +4 -4
  72. package/components/form/ResourceQuota/NamespaceRow.vue +11 -9
  73. package/components/form/ResourceQuota/Project.vue +4 -4
  74. package/components/form/ResourceQuota/ProjectRow.vue +36 -30
  75. package/components/form/ResourceSelector.vue +1 -1
  76. package/components/form/Security.vue +1 -3
  77. package/components/form/Select.vue +7 -1
  78. package/components/form/ServiceNameSelect.vue +2 -5
  79. package/components/form/ServicePorts.vue +149 -75
  80. package/components/form/Tolerations.vue +13 -9
  81. package/components/form/ValueFromResource.vue +110 -96
  82. package/components/formatter/WorkloadHealthScale.vue +4 -3
  83. package/components/nav/Group.vue +6 -0
  84. package/components/nav/Header.vue +17 -137
  85. package/components/nav/NamespaceFilter.vue +15 -21
  86. package/components/nav/TopLevelMenu.vue +99 -125
  87. package/components/nav/Type.vue +11 -3
  88. package/config/menuRouteMap.js +10 -0
  89. package/config/product/explorer.js +32 -10
  90. package/config/product/manager.js +28 -17
  91. package/config/router/navigation-guards/index.js +61 -3
  92. package/detail/node.vue +28 -23
  93. package/dialog/AddCustomBadgeDialog.vue +17 -9
  94. package/dialog/RollbackWorkloadDialog.vue +1 -1
  95. package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
  96. package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
  97. package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
  98. package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
  99. package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
  100. package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
  101. package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
  102. package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
  103. package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
  104. package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
  105. package/edit/configmap.vue +4 -0
  106. package/edit/networking.k8s.io.ingress/Certificate.vue +14 -5
  107. package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
  108. package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
  109. package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
  110. package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
  111. package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
  112. package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
  113. package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
  114. package/edit/persistentvolume/index.vue +3 -1
  115. package/edit/persistentvolumeclaim.vue +2 -0
  116. package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +1 -1
  117. package/edit/secret/index.vue +2 -2
  118. package/edit/service.vue +4 -1
  119. package/edit/storage.k8s.io.storageclass/index.vue +10 -8
  120. package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
  121. package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
  122. package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
  123. package/edit/workload/Job.vue +31 -34
  124. package/edit/workload/Upgrading.vue +5 -5
  125. package/edit/workload/index.vue +19 -15
  126. package/edit/workload/storage/Mount.vue +1 -0
  127. package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
  128. package/edit/workload/storage/azureDisk.vue +14 -10
  129. package/edit/workload/storage/azureFile.vue +9 -7
  130. package/edit/workload/storage/csi/index.vue +6 -9
  131. package/edit/workload/storage/emptyDir.vue +7 -5
  132. package/edit/workload/storage/gcePersistentDisk.vue +9 -7
  133. package/edit/workload/storage/hostPath.vue +7 -5
  134. package/edit/workload/storage/nfs.vue +8 -6
  135. package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
  136. package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
  137. package/edit/workload/storage/secret.vue +9 -6
  138. package/edit/workload/storage/vsphereVolume.vue +11 -7
  139. package/initialize/app-extended.js +7 -1
  140. package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +8 -6
  141. package/mixins/create-edit-view/impl.js +10 -0
  142. package/models/provisioning.cattle.io.cluster.js +19 -18
  143. package/models/workload.js +2 -2
  144. package/package.json +1 -1
  145. package/pages/account/index.vue +96 -115
  146. package/pages/auth/setup.vue +36 -17
  147. package/pages/c/_cluster/auth/roles/index.vue +65 -8
  148. package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
  149. package/pages/c/_cluster/explorer/index.vue +2 -1
  150. package/pages/c/_cluster/explorer/tools/index.vue +6 -6
  151. package/pages/home.vue +55 -13
  152. package/pkg/tsconfig.json +9 -9
  153. package/pkg/vue.config.js +1 -1
  154. package/plugins/dashboard-store/actions.js +1 -1
  155. package/plugins/dashboard-store/resource-class.js +28 -27
  156. package/rancher-components/Banner/Banner.vue +14 -2
  157. package/rancher-components/Form/Radio/RadioGroup.vue +9 -1
  158. package/rancher-components/LabeledTooltip/LabeledTooltip.vue +31 -2
  159. package/scripts/build-pkg.sh +18 -23
  160. package/scripts/publish-shell.sh +1 -1
  161. package/store/i18n.js +1 -0
  162. package/store/type-map.js +1 -3
  163. package/types/shell/index.d.ts +12 -30
  164. package/utils/error.js +26 -4
  165. package/utils/errorTranslate.json +390 -6
  166. package/utils/errorTranslateNew.json +39 -0
  167. package/utils/roleFiltering.js +33 -0
  168. package/vue.config.js +1 -1
Binary file
@@ -213,4 +213,7 @@ src: url('iconfont.woff2?t=1753758703852') format('woff2'),
213
213
  }
214
214
  .icon-mingming:before {
215
215
  content: "\e62c";
216
- }
216
+ }
217
+ .icon-default:before {
218
+ content: "\e61c";
219
+ }
Binary file
@@ -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
- display: flex !important;
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: 32px;
16
- $unlabeled-input-height: 32px;
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: 12,
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: 13,
46
+ windowsManager: 17,
47
47
 
48
- mainHeader: 14,
48
+ mainHeader: 18,
49
49
 
50
50
  cruFooter: 19,
51
51
 
@@ -38,8 +38,9 @@ $icon-inverse: #fff !default;
38
38
 
39
39
  // Sizes
40
40
  .icon-fw {
41
- width: math.div(18em, 14);
42
- text-align: center;
41
+ width: 32px;
42
+ // width: math.div(18em, 14);
43
+ // text-align: center;
43
44
  }
44
45
 
45
46
  .icon-sm {
@@ -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: var(--body-bg);
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;
@@ -37,6 +37,7 @@ TEXTAREA,
37
37
  color: var(--input-label);
38
38
  }
39
39
  &:hover:not(.focused):not(:focus):not(.disabled):not(:disabled):not(.view) {
40
+ box-shadow: 0 4px 6px 0 var(--input-border-box-shadow);
40
41
  &, .vs__dropdown-menu {
41
42
  border-color: var(--input-hover-border);
42
43
  }
@@ -56,7 +56,7 @@
56
56
 
57
57
  .vs__dropdown-toggle{
58
58
  border: solid var(--border-width) var(--input-border);
59
- height: 32px;
59
+ // height: 30px;
60
60
  }
61
61
  // .vs__dropdown-toggle,
62
62
  .vs__dropdown-toggle > * {
@@ -147,7 +147,7 @@
147
147
  }
148
148
 
149
149
  .v-popper__popper.v-popper--theme-dropdown {
150
- border-radius: 4px;
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 : #{contrast-color($warning)};
271
+ --warning-text : #fff;
272
272
  --warning-hover-bg : #{darken($warning, 10%)};
273
- --warning-hover-text : #{saturate($lightest, 20%)};
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: var(--disabled-hover-bg);
356
+ background-color: #ccc !important;
357
357
  transition: all 0.3s ease;
358
358
  }
359
359
 
@@ -159,9 +159,10 @@
159
159
  content: $icon-chevron-down;
160
160
  font-family: 'icons';
161
161
  height: 32px;
162
- padding-top: 8px;
163
162
  color: var(--secondary);
164
163
  margin-right: 9px;
164
+ display: flex;
165
+ align-items: center;
165
166
  }
166
167
  }
167
168
 
@@ -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,