dashboard-shell-shell 0.0.1000000000001124 → 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.
@@ -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,11 +256,14 @@ 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" />
252
264
  </template>
253
265
  </Masthead>
266
+ <!-- harvester------------------------------------------------------4 -->
254
267
  <!-- Extensions area -->
255
268
  <ExtensionPanel
256
269
  :resource="{}"
@@ -266,6 +279,10 @@ export default {
266
279
  :incremental-loading-indicator="showIncrementalLoadingIndicator"
267
280
  :rows="rows"
268
281
  v-bind="$data"
282
+
283
+ :type-display="customTypeDisplay"
284
+ :resource="resource"
285
+ :main-button-visible="true"
269
286
  />
270
287
  </div>
271
288
  <ResourceTable
@@ -284,7 +301,15 @@ export default {
284
301
  :external-pagination-enabled="canPaginate"
285
302
  :external-pagination-result="paginationResult"
286
303
  @pagination-changed="paginationChanged"
287
- />
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>
288
313
  </div>
289
314
  </template>
290
315
 
@@ -691,6 +691,13 @@ export default {
691
691
  v-if="mainButtonVisible"
692
692
  :schema="schema"
693
693
  :resource="resource"
694
+ :create-button-label="createButtonLabel"
695
+ :yaml-create-button-label="yamlCreateLocation"
696
+ :create-location="createLocation"
697
+ :is-yaml-creatable="isYamlCreatable"
698
+ :is-creatable="isCreatable"
699
+ :type-display="typeDisplay"
700
+ :component-testid="componentTestid"
694
701
  >
695
702
 
696
703
  <template #extraActions>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dashboard-shell-shell",
3
- "version": "0.0.1000000000001124",
3
+ "version": "0.0.1000000000001126",
4
4
  "description": "Rancher Dashboard Shell",
5
5
  "repository": "https://github.com/rancherlabs/dashboard",
6
6
  "license": "Apache-2.0",
@@ -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 v-else href="javascript:;">操作</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