dashboard-shell-shell 0.0.1000000000001125 → 0.0.1000000000001126
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/components/ExplorerMembers.vue +0 -1
- package/components/ExplorerProjectsNamespaces.vue +0 -1
- package/components/ResourceList/index.vue +25 -1
- package/components/templates/default.vue +0 -1
- package/list/fleet.cattle.io.gitrepo.vue +0 -1
- package/list/group.principal.vue +0 -1
- package/list/harvesterhci.io.management.cluster.vue +0 -1
- package/list/helm.cattle.io.projecthelmchart.vue +0 -1
- package/list/management.cattle.io.user.vue +0 -1
- package/list/provisioning.cattle.io.cluster.vue +0 -1
- package/package.json +1 -1
- package/pages/c/_cluster/_product/namespaces.vue +0 -1
- package/pages/c/_cluster/gatekeeper/constraints/index.vue +0 -1
- package/pages/c/_cluster/manager/cloudCredential/index.vue +0 -1
- package/pages/c/_cluster/manager/drivers/kontainerDriver/index.vue +0 -1
- package/pages/c/_cluster/manager/drivers/nodeDriver/index.vue +0 -1
- package/pages/c/_cluster/manager/jwt.authentication/index.vue +0 -1
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +2 -2
|
@@ -52,7 +52,14 @@ export default {
|
|
|
52
52
|
const component = await importer.__asyncLoader();
|
|
53
53
|
|
|
54
54
|
if ( component?.typeDisplay ) {
|
|
55
|
+
|
|
56
|
+
console.log(component, ' component-----------------');
|
|
57
|
+
|
|
55
58
|
this.customTypeDisplay = component.typeDisplay.apply(this);
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
console.log(this.customTypeDisplay, ' this.customTypeDisplay-----------------');
|
|
62
|
+
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
// Is the custom component responsible fetching the resources?
|
|
@@ -206,6 +213,9 @@ export default {
|
|
|
206
213
|
|
|
207
214
|
if ( hasListComponent ) {
|
|
208
215
|
listComponent = this.$store.getters['type-map/importList'](resource);
|
|
216
|
+
|
|
217
|
+
console.log(listComponent, ' listComponent---------------------');
|
|
218
|
+
|
|
209
219
|
}
|
|
210
220
|
|
|
211
221
|
this.listComponent = listComponent;
|
|
@@ -246,6 +256,8 @@ export default {
|
|
|
246
256
|
:show-incremental-loading-indicator="showIncrementalLoadingIndicator"
|
|
247
257
|
:load-resources="loadResources"
|
|
248
258
|
:load-indeterminate="loadIndeterminate"
|
|
259
|
+
|
|
260
|
+
:main-button-visible="false"
|
|
249
261
|
>
|
|
250
262
|
<template #extraActions>
|
|
251
263
|
<slot name="extraActions" />
|
|
@@ -267,6 +279,10 @@ export default {
|
|
|
267
279
|
:incremental-loading-indicator="showIncrementalLoadingIndicator"
|
|
268
280
|
:rows="rows"
|
|
269
281
|
v-bind="$data"
|
|
282
|
+
|
|
283
|
+
:type-display="customTypeDisplay"
|
|
284
|
+
:resource="resource"
|
|
285
|
+
:main-button-visible="true"
|
|
270
286
|
/>
|
|
271
287
|
</div>
|
|
272
288
|
<ResourceTable
|
|
@@ -285,7 +301,15 @@ export default {
|
|
|
285
301
|
:external-pagination-enabled="canPaginate"
|
|
286
302
|
:external-pagination-result="paginationResult"
|
|
287
303
|
@pagination-changed="paginationChanged"
|
|
288
|
-
|
|
304
|
+
|
|
305
|
+
:type-display="customTypeDisplay"
|
|
306
|
+
:resource="resource"
|
|
307
|
+
:main-button-visible="true"
|
|
308
|
+
>
|
|
309
|
+
<template #extraActions>
|
|
310
|
+
<slot name="extraActions" />
|
|
311
|
+
</template>
|
|
312
|
+
</ResourceTable>
|
|
289
313
|
</div>
|
|
290
314
|
</template>
|
|
291
315
|
|
package/list/group.principal.vue
CHANGED
|
@@ -74,7 +74,6 @@ export default {
|
|
|
74
74
|
:load-indeterminate="loadIndeterminate"
|
|
75
75
|
:is-creatable="canCreateProjectHelmChart"
|
|
76
76
|
/>
|
|
77
|
-
<!-- harvester------------------------------------------------------8 -->
|
|
78
77
|
<Banner
|
|
79
78
|
color="info"
|
|
80
79
|
:label="t('monitoring.projectMonitoring.list.banner')"
|
package/package.json
CHANGED
|
@@ -125,7 +125,6 @@ export default {
|
|
|
125
125
|
:create-location="createLocation"
|
|
126
126
|
:type-display="t('manager.cloudCredentials.label')"
|
|
127
127
|
/>
|
|
128
|
-
<!-- harvester------------------------------------------------------13 -->
|
|
129
128
|
<Banner
|
|
130
129
|
v-if="expiredData.expiring"
|
|
131
130
|
data-testid="cert-expiring-banner"
|
|
@@ -33,8 +33,8 @@ const hasOptions = (options: DropdownOption[]) => {
|
|
|
33
33
|
:data-testid="dataTestid"
|
|
34
34
|
:aria-label="buttonAriaLabel"
|
|
35
35
|
>
|
|
36
|
-
<img v-if="showIcon" src="@/shell/assets/images/action.svg" title="操作">
|
|
37
|
-
<a
|
|
36
|
+
<!-- <img v-if="showIcon" src="@/shell/assets/images/action.svg" title="操作"> -->
|
|
37
|
+
<a href="javascript:;">操作</a>
|
|
38
38
|
</rc-dropdown-trigger>
|
|
39
39
|
<template #dropdownCollection>
|
|
40
40
|
<template
|