@zeedhi/zd-avatar-vue 1.5.0 → 1.6.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.
@@ -222,38 +222,43 @@ var __vue_render__ = function () {
222
222
  var _c = _vm._self._c || _h;
223
223
  return _c(
224
224
  "v-avatar",
225
- _vm._g(
226
- {
227
- directives: [
228
- {
229
- name: "show",
230
- rawName: "v-show",
231
- value: _vm.instance.isVisible,
232
- expression: "instance.isVisible",
233
- },
234
- ],
235
- class: [
236
- _vm.instance.cssClass,
237
- "zd-avatar",
238
- { "zd-avatar--link": !!_vm.instance.events.click },
239
- ],
240
- style: _vm.instance.cssStyle,
241
- attrs: {
242
- size: _vm.instance.size,
243
- tile: _vm.instance.tile,
244
- color: _vm.instance.color,
245
- rounded: _vm.instance.rounded,
246
- height: _vm.instance.height,
247
- minHeight: _vm.instance.minHeight,
248
- maxHeight: _vm.instance.maxHeight,
249
- width: _vm.instance.width,
250
- minWidth: _vm.instance.minWidth,
251
- maxWidth: _vm.instance.maxWidth,
225
+ {
226
+ directives: [
227
+ {
228
+ name: "show",
229
+ rawName: "v-show",
230
+ value: _vm.instance.isVisible,
231
+ expression: "instance.isVisible",
252
232
  },
253
- on: { click: _vm.click },
233
+ ],
234
+ class: [
235
+ _vm.instance.cssClass,
236
+ "zd-avatar",
237
+ { "zd-avatar--link": !!_vm.instance.events.click },
238
+ ],
239
+ style: _vm.instance.cssStyle,
240
+ attrs: {
241
+ size: _vm.instance.size,
242
+ tile: _vm.instance.tile,
243
+ color: _vm.instance.color,
244
+ rounded: _vm.instance.rounded,
245
+ height: _vm.instance.height,
246
+ minHeight: _vm.instance.minHeight,
247
+ maxHeight: _vm.instance.maxHeight,
248
+ width: _vm.instance.width,
249
+ minWidth: _vm.instance.minWidth,
250
+ maxWidth: _vm.instance.maxWidth,
254
251
  },
255
- Object.assign({}, _vm.$attrs["dropdown-activator"])
256
- ),
252
+ on: {
253
+ click: _vm.click,
254
+ mouseenter: function ($event) {
255
+ return _vm.mouseenter($event)
256
+ },
257
+ mouseleave: function ($event) {
258
+ return _vm.mouseleave($event)
259
+ },
260
+ },
261
+ },
257
262
  _vm._l(_vm.instance.avatarSlot, function (comp, index) {
258
263
  return _c(
259
264
  comp.component,
@@ -274,7 +279,7 @@ __vue_render__._withStripped = true;
274
279
  /* style */
275
280
  const __vue_inject_styles__ = function (inject) {
276
281
  if (!inject) return
277
- inject("data-v-8118c75e_0", { source: ".zd-avatar--link {\n cursor: pointer;\n}", map: undefined, media: undefined });
282
+ inject("data-v-253deda5_0", { source: ".zd-avatar--link {\n cursor: pointer;\n}", map: undefined, media: undefined });
278
283
 
279
284
  };
280
285
  /* scoped */
@@ -223,38 +223,43 @@
223
223
  var _c = _vm._self._c || _h;
224
224
  return _c(
225
225
  "v-avatar",
226
- _vm._g(
227
- {
228
- directives: [
229
- {
230
- name: "show",
231
- rawName: "v-show",
232
- value: _vm.instance.isVisible,
233
- expression: "instance.isVisible",
234
- },
235
- ],
236
- class: [
237
- _vm.instance.cssClass,
238
- "zd-avatar",
239
- { "zd-avatar--link": !!_vm.instance.events.click },
240
- ],
241
- style: _vm.instance.cssStyle,
242
- attrs: {
243
- size: _vm.instance.size,
244
- tile: _vm.instance.tile,
245
- color: _vm.instance.color,
246
- rounded: _vm.instance.rounded,
247
- height: _vm.instance.height,
248
- minHeight: _vm.instance.minHeight,
249
- maxHeight: _vm.instance.maxHeight,
250
- width: _vm.instance.width,
251
- minWidth: _vm.instance.minWidth,
252
- maxWidth: _vm.instance.maxWidth,
226
+ {
227
+ directives: [
228
+ {
229
+ name: "show",
230
+ rawName: "v-show",
231
+ value: _vm.instance.isVisible,
232
+ expression: "instance.isVisible",
253
233
  },
254
- on: { click: _vm.click },
234
+ ],
235
+ class: [
236
+ _vm.instance.cssClass,
237
+ "zd-avatar",
238
+ { "zd-avatar--link": !!_vm.instance.events.click },
239
+ ],
240
+ style: _vm.instance.cssStyle,
241
+ attrs: {
242
+ size: _vm.instance.size,
243
+ tile: _vm.instance.tile,
244
+ color: _vm.instance.color,
245
+ rounded: _vm.instance.rounded,
246
+ height: _vm.instance.height,
247
+ minHeight: _vm.instance.minHeight,
248
+ maxHeight: _vm.instance.maxHeight,
249
+ width: _vm.instance.width,
250
+ minWidth: _vm.instance.minWidth,
251
+ maxWidth: _vm.instance.maxWidth,
255
252
  },
256
- Object.assign({}, _vm.$attrs["dropdown-activator"])
257
- ),
253
+ on: {
254
+ click: _vm.click,
255
+ mouseenter: function ($event) {
256
+ return _vm.mouseenter($event)
257
+ },
258
+ mouseleave: function ($event) {
259
+ return _vm.mouseleave($event)
260
+ },
261
+ },
262
+ },
258
263
  _vm._l(_vm.instance.avatarSlot, function (comp, index) {
259
264
  return _c(
260
265
  comp.component,
@@ -275,7 +280,7 @@
275
280
  /* style */
276
281
  const __vue_inject_styles__ = function (inject) {
277
282
  if (!inject) return
278
- inject("data-v-8118c75e_0", { source: ".zd-avatar--link {\n cursor: pointer;\n}", map: undefined, media: undefined });
283
+ inject("data-v-253deda5_0", { source: ".zd-avatar--link {\n cursor: pointer;\n}", map: undefined, media: undefined });
279
284
 
280
285
  };
281
286
  /* scoped */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/zd-avatar-vue",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Implementation of Avatar component using Zeedhi library",
5
5
  "main": "dist/avatar-vue.umd.js",
6
6
  "module": "dist/avatar-vue.esm.js",
@@ -21,5 +21,5 @@
21
21
  "vue-class-component": "^7.2.6",
22
22
  "vue-property-decorator": "^9.1.2"
23
23
  },
24
- "gitHead": "26216bf751a5246487f85e91933a7ccedcab6dee"
24
+ "gitHead": "80ce416743cc3ae43be740f30b824cdd7cd19aa1"
25
25
  }