@zeedhi/teknisa-components-vuetify 1.118.0 → 1.119.0

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.
@@ -3,7 +3,7 @@ import { ZdUserInfo } from '@zeedhi/zd-user-info-vue';
3
3
  import { Metadata, Config, dayjs, Singleton, Utils, I18n, Loader, VersionService } from '@zeedhi/core';
4
4
  import { Prop, Component, Watch } from 'vue-property-decorator';
5
5
  import { BreadcrumbHeader, CardTitle, CrudButton, CrudAddButton, CrudCancelButton, CrudDeleteButton, CrudForm, CrudSaveButton, TekGrid as TekGrid$2, TekRestDatasource, TekMemoryDatasource, TekGridColumn, TekGridColumnsButton as TekGridColumnsButton$1, TekGridFilterButton as TekGridFilterButton$1, TekGridLayoutOptions as TekGridLayoutOptions$1, TekFilterHelper, Image, ProductCard, TekTreeGrid as TekTreeGrid$1, TekUserInfo as TekUserInfo$1, TekUserInfoList as TekUserInfoList$1, TekDragGrid as TekDragGrid$1, IterableCarousel, Loading, Notifications } from '@zeedhi/teknisa-components-common';
6
- import { PropWatch, ZdComponent, ZdComponentRender, components as components$1, ZdForm, EditableMixin, NavigableTableMixin, ZdGrid, ZdIterableColumnsButton, setFillHeight, ZdIterableComponentRender, ZdLoading, ZdIterable } from '@zeedhi/vuetify';
6
+ import { PropWatch, ZdComponent, ZdComponentRender, components as components$1, ZdForm, EditableMixin, NavigableTableMixin, ZdGrid, ZdIterableColumnsButton, FillHeightMixin, ZdIterableComponentRender, ZdLoading, ZdIterable } from '@zeedhi/vuetify';
7
7
  import debounce from 'lodash.debounce';
8
8
  import Vue from 'vue';
9
9
  import Component$1 from 'vue-class-component';
@@ -4583,11 +4583,6 @@ let TekImage = class TekImage extends ZdComponent {
4583
4583
  super(...arguments);
4584
4584
  this.instanceType = Image;
4585
4585
  }
4586
- mounted() {
4587
- if (this.instance.fillHeight) {
4588
- setFillHeight(this.$el);
4589
- }
4590
- }
4591
4586
  load(event) {
4592
4587
  this.instance.load(event, this.$el);
4593
4588
  }
@@ -4620,7 +4615,9 @@ __decorate([
4620
4615
  PropWatch({ type: [Boolean, String], default: false })
4621
4616
  ], TekImage.prototype, "fillHeight", void 0);
4622
4617
  TekImage = __decorate([
4623
- Component
4618
+ Component({
4619
+ mixins: [FillHeightMixin],
4620
+ })
4624
4621
  ], TekImage);
4625
4622
  var script$9 = TekImage;
4626
4623
 
@@ -4583,11 +4583,6 @@
4583
4583
  super(...arguments);
4584
4584
  this.instanceType = teknisaComponentsCommon.Image;
4585
4585
  }
4586
- mounted() {
4587
- if (this.instance.fillHeight) {
4588
- vuetify.setFillHeight(this.$el);
4589
- }
4590
- }
4591
4586
  load(event) {
4592
4587
  this.instance.load(event, this.$el);
4593
4588
  }
@@ -4620,7 +4615,9 @@
4620
4615
  vuetify.PropWatch({ type: [Boolean, String], default: false })
4621
4616
  ], TekImage.prototype, "fillHeight", void 0);
4622
4617
  TekImage = __decorate([
4623
- vuePropertyDecorator.Component
4618
+ vuePropertyDecorator.Component({
4619
+ mixins: [vuetify.FillHeightMixin],
4620
+ })
4624
4621
  ], TekImage);
4625
4622
  var script$9 = TekImage;
4626
4623
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-components-vuetify",
3
- "version": "1.118.0",
3
+ "version": "1.119.0",
4
4
  "description": "Teknisa Components based on Vuetify",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -44,5 +44,5 @@
44
44
  "vue": "2.7.*",
45
45
  "vuetify": "2.6.*"
46
46
  },
47
- "gitHead": "ff06d00bee816cd3f01f14575f81c8eea9efd226"
47
+ "gitHead": "bdba4a0edf82cef3c37ff8940ea1824f81bbe9a6"
48
48
  }
@@ -15,6 +15,5 @@ export default class TekImage extends ZdComponent {
15
15
  fillHeight?: boolean | string;
16
16
  instance: Image;
17
17
  instanceType: typeof Image;
18
- mounted(): void;
19
18
  load(event?: Event): void;
20
19
  }