@zeedhi/teknisa-components-vuetify 1.84.1 → 1.85.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.
@@ -1165,6 +1165,11 @@ let TekGrid$1 = class TekGrid extends ZdGridEditable {
1165
1165
  this.defaultRelation = '';
1166
1166
  this.lastFilter = '';
1167
1167
  }
1168
+ updateTitle(instanceUpdateTitle) {
1169
+ if (this.instance.toolbarSlot[0].name === `${this.instance.name}_gridTitle`) {
1170
+ this.instance.toolbarSlot[0].text = instanceUpdateTitle;
1171
+ }
1172
+ }
1168
1173
  mounted() {
1169
1174
  this.originalChangeLayout = this.instance.changeLayout;
1170
1175
  this.instance.changeLayout = this.onChangeLayout;
@@ -1604,6 +1609,9 @@ __decorate([
1604
1609
  default: () => undefined,
1605
1610
  })
1606
1611
  ], TekGrid$1.prototype, "toolbarSlot", void 0);
1612
+ __decorate([
1613
+ Watch('instance.title')
1614
+ ], TekGrid$1.prototype, "updateTitle", null);
1607
1615
  TekGrid$1 = __decorate([
1608
1616
  Component
1609
1617
  ], TekGrid$1);
@@ -5835,6 +5843,11 @@ let TekGrid = class TekGrid extends ZdTreeGridEditable {
5835
5843
  this.tableHeader = null;
5836
5844
  this.tableBody = null;
5837
5845
  }
5846
+ updateTitle(instanceUpdateTitle) {
5847
+ if (this.instance.toolbarSlot[0].name === `${this.instance.name}_gridTitle`) {
5848
+ this.instance.toolbarSlot[0].text = instanceUpdateTitle;
5849
+ }
5850
+ }
5838
5851
  mounted() {
5839
5852
  this.originalChangeTekGridLayout = this.instance.changeLayout;
5840
5853
  this.instance.changeLayout = this.onChangeTekGridLayout;
@@ -6201,6 +6214,9 @@ __decorate([
6201
6214
  default: () => undefined,
6202
6215
  })
6203
6216
  ], TekGrid.prototype, "toolbarSlot", void 0);
6217
+ __decorate([
6218
+ Watch('instance.title')
6219
+ ], TekGrid.prototype, "updateTitle", null);
6204
6220
  TekGrid = __decorate([
6205
6221
  Component
6206
6222
  ], TekGrid);
@@ -7534,7 +7550,7 @@ __vue_render__$1._withStripped = true;
7534
7550
  /* style */
7535
7551
  const __vue_inject_styles__$1 = function (inject) {
7536
7552
  if (!inject) return
7537
- inject("data-v-5e280750_0", { source: ".about-modal {\n flex-grow: 0;\n overflow-y: unset;\n width: auto;\n}\n.about-modal .zd-modal-card, .about-modal .zd-modal-card-text, .about-modal .zd-modal-container, .about-modal .zd-tabs {\n height: 100%;\n}\n.about-modal .zd-modal-container {\n display: flex;\n flex-direction: column;\n}\n.about-modal .zd-tabs, .about-modal .v-tabs-items {\n overflow-y: auto;\n}\n.about-modal .zd-image-valid {\n width: 60%;\n align-items: center;\n}\n.about-modal #basic-user-info_about_image {\n text-align: center;\n}", map: undefined, media: undefined });
7553
+ inject("data-v-52978667_0", { source: ".about-modal {\n flex-grow: 0;\n overflow-y: unset;\n width: auto;\n border: 3px solid var(--v-primary-base);\n}\n.about-modal .zd-modal-card, .about-modal .zd-modal-card-text, .about-modal .zd-modal-container, .about-modal .zd-tabs {\n height: 100%;\n}\n.about-modal .zd-modal-card-text {\n padding: 8px !important;\n}\n.about-modal .zd-modal-container {\n display: flex;\n flex-direction: column;\n}\n.about-modal .zd-tabs, .about-modal .v-tabs-items {\n overflow-y: auto;\n}\n.about-modal .zd-image-valid {\n width: 50%;\n align-items: center;\n}\n.about-modal #basic-user-info_version_tabs {\n height: 300px !important;\n}\n.about-modal #basic-user-info_about_image {\n text-align: center;\n}", map: undefined, media: undefined });
7538
7554
 
7539
7555
  };
7540
7556
  /* scoped */
@@ -1167,6 +1167,11 @@
1167
1167
  this.defaultRelation = '';
1168
1168
  this.lastFilter = '';
1169
1169
  }
1170
+ updateTitle(instanceUpdateTitle) {
1171
+ if (this.instance.toolbarSlot[0].name === `${this.instance.name}_gridTitle`) {
1172
+ this.instance.toolbarSlot[0].text = instanceUpdateTitle;
1173
+ }
1174
+ }
1170
1175
  mounted() {
1171
1176
  this.originalChangeLayout = this.instance.changeLayout;
1172
1177
  this.instance.changeLayout = this.onChangeLayout;
@@ -1606,6 +1611,9 @@
1606
1611
  default: () => undefined,
1607
1612
  })
1608
1613
  ], TekGrid$1.prototype, "toolbarSlot", void 0);
1614
+ __decorate([
1615
+ vuePropertyDecorator.Watch('instance.title')
1616
+ ], TekGrid$1.prototype, "updateTitle", null);
1609
1617
  TekGrid$1 = __decorate([
1610
1618
  vuePropertyDecorator.Component
1611
1619
  ], TekGrid$1);
@@ -5837,6 +5845,11 @@
5837
5845
  this.tableHeader = null;
5838
5846
  this.tableBody = null;
5839
5847
  }
5848
+ updateTitle(instanceUpdateTitle) {
5849
+ if (this.instance.toolbarSlot[0].name === `${this.instance.name}_gridTitle`) {
5850
+ this.instance.toolbarSlot[0].text = instanceUpdateTitle;
5851
+ }
5852
+ }
5840
5853
  mounted() {
5841
5854
  this.originalChangeTekGridLayout = this.instance.changeLayout;
5842
5855
  this.instance.changeLayout = this.onChangeTekGridLayout;
@@ -6203,6 +6216,9 @@
6203
6216
  default: () => undefined,
6204
6217
  })
6205
6218
  ], TekGrid.prototype, "toolbarSlot", void 0);
6219
+ __decorate([
6220
+ vuePropertyDecorator.Watch('instance.title')
6221
+ ], TekGrid.prototype, "updateTitle", null);
6206
6222
  TekGrid = __decorate([
6207
6223
  vuePropertyDecorator.Component
6208
6224
  ], TekGrid);
@@ -7536,7 +7552,7 @@
7536
7552
  /* style */
7537
7553
  const __vue_inject_styles__$1 = function (inject) {
7538
7554
  if (!inject) return
7539
- inject("data-v-5e280750_0", { source: ".about-modal {\n flex-grow: 0;\n overflow-y: unset;\n width: auto;\n}\n.about-modal .zd-modal-card, .about-modal .zd-modal-card-text, .about-modal .zd-modal-container, .about-modal .zd-tabs {\n height: 100%;\n}\n.about-modal .zd-modal-container {\n display: flex;\n flex-direction: column;\n}\n.about-modal .zd-tabs, .about-modal .v-tabs-items {\n overflow-y: auto;\n}\n.about-modal .zd-image-valid {\n width: 60%;\n align-items: center;\n}\n.about-modal #basic-user-info_about_image {\n text-align: center;\n}", map: undefined, media: undefined });
7555
+ inject("data-v-52978667_0", { source: ".about-modal {\n flex-grow: 0;\n overflow-y: unset;\n width: auto;\n border: 3px solid var(--v-primary-base);\n}\n.about-modal .zd-modal-card, .about-modal .zd-modal-card-text, .about-modal .zd-modal-container, .about-modal .zd-tabs {\n height: 100%;\n}\n.about-modal .zd-modal-card-text {\n padding: 8px !important;\n}\n.about-modal .zd-modal-container {\n display: flex;\n flex-direction: column;\n}\n.about-modal .zd-tabs, .about-modal .v-tabs-items {\n overflow-y: auto;\n}\n.about-modal .zd-image-valid {\n width: 50%;\n align-items: center;\n}\n.about-modal #basic-user-info_version_tabs {\n height: 300px !important;\n}\n.about-modal #basic-user-info_about_image {\n text-align: center;\n}", map: undefined, media: undefined });
7540
7556
 
7541
7557
  };
7542
7558
  /* scoped */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-components-vuetify",
3
- "version": "1.84.1",
3
+ "version": "1.85.0",
4
4
  "description": "Teknisa Components based on Vuetify",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -41,5 +41,5 @@
41
41
  "vue": "2.7.*",
42
42
  "vuetify": "2.6.*"
43
43
  },
44
- "gitHead": "8bcccfd90c4cf7a1cb127a141ddaadb875efc03b"
44
+ "gitHead": "6b27cb883b7c7348cb571e9a8d3519e36e3e40f8"
45
45
  }
@@ -31,6 +31,7 @@ export default class TekGrid extends ZdGridEditable {
31
31
  toolbarSlot: IComponentRender[];
32
32
  instance: TekGridClass;
33
33
  instanceType: typeof TekGridClass;
34
+ updateTitle(instanceUpdateTitle: string): void;
34
35
  private originalChangeLayout?;
35
36
  visibleRowsLength: Number;
36
37
  calcScrollData: (() => void) | undefined;
@@ -29,6 +29,7 @@ export default class TekGrid extends ZdTreeGridEditable {
29
29
  toolbarSlot: IComponentRender[];
30
30
  instance: TekTreeGridClass;
31
31
  instanceType: typeof TekTreeGridClass;
32
+ updateTitle(instanceUpdateTitle: string): void;
32
33
  private originalChangeTekGridLayout?;
33
34
  calcScrollData: (() => void) | undefined;
34
35
  scrollData: any;