@ldmjs/ui 1.0.87 → 1.0.89

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/dist/index.js CHANGED
@@ -396,7 +396,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
396
396
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
397
397
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
398
398
  };
399
- var _a;
399
+ var _a, _b;
400
400
 
401
401
  class BreadcrumbsComponent extends external_vue_property_decorator_.Vue {
402
402
  constructor() {
@@ -420,9 +420,8 @@ class BreadcrumbsComponent extends external_vue_property_decorator_.Vue {
420
420
  }
421
421
  }
422
422
  goHome() {
423
- this.go({
424
- route: this.home || { path: '/' },
425
- });
423
+ const home = this.items[0].text === 'home' ? this.items[0] : this.home || { route: { path: '/' } };
424
+ this.go(home);
426
425
  }
427
426
  go(item) {
428
427
  if (item.disabled) {
@@ -446,7 +445,7 @@ __decorate([
446
445
  ], BreadcrumbsComponent.prototype, "breadcrumbs", void 0);
447
446
  __decorate([
448
447
  (0,external_vue_property_decorator_.Prop)({ default: null }),
449
- __metadata("design:type", Object)
448
+ __metadata("design:type", typeof (_b = typeof BreadcrumbsItem !== "undefined" && BreadcrumbsItem) === "function" ? _b : Object)
450
449
  ], BreadcrumbsComponent.prototype, "home", void 0);
451
450
  __decorate([
452
451
  (0,external_vue_property_decorator_.Watch)('breadcrumbs', { immediate: true }),
@@ -4746,7 +4745,7 @@ var validatable_mixin_decorate = (undefined && undefined.__decorate) || function
4746
4745
  var validatable_mixin_metadata = (undefined && undefined.__metadata) || function (k, v) {
4747
4746
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
4748
4747
  };
4749
- var validatable_mixin_a, _b, _c;
4748
+ var validatable_mixin_a, validatable_mixin_b, _c;
4750
4749
 
4751
4750
 
4752
4751
 
@@ -4778,7 +4777,7 @@ validatable_mixin_decorate([
4778
4777
  ], ValidatableMixin.prototype, "rules", void 0);
4779
4778
  validatable_mixin_decorate([
4780
4779
  (0,external_vue_property_decorator_.Prop)({ type: Array, default: () => [] }),
4781
- validatable_mixin_metadata("design:type", typeof (_b = typeof Array !== "undefined" && Array) === "function" ? _b : Object)
4780
+ validatable_mixin_metadata("design:type", typeof (validatable_mixin_b = typeof Array !== "undefined" && Array) === "function" ? validatable_mixin_b : Object)
4782
4781
  ], ValidatableMixin.prototype, "customRules", void 0);
4783
4782
  validatable_mixin_decorate([
4784
4783
  (0,external_vue_property_decorator_.Prop)({ type: Boolean, default: true }),
@@ -84,7 +84,7 @@ body {
84
84
  }
85
85
  }
86
86
 
87
- .v-card-text {
87
+ & > .v-card-text {
88
88
  position: relative;
89
89
  display: flex;
90
90
  flex-direction: column;
@@ -102,7 +102,7 @@ body {
102
102
  }
103
103
  }
104
104
 
105
- .v-card-actions {
105
+ & > .v-card-actions {
106
106
  flex-shrink: 0;
107
107
  padding: 8px 20px 20px 20px;
108
108
  min-height: unset;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldmjs/ui",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "description": "ldm ui",
5
5
  "main": "dist/index.js",
6
6
  "engines": {