@dialpad/dialtone-vue 2.74.3 → 2.74.4-beta.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.74.4-beta.1](https://github.com/dialpad/dialtone-vue/compare/v2.74.3...v2.74.4-beta.1) (2023-03-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * tempfix ([ecdab8f](https://github.com/dialpad/dialtone-vue/commit/ecdab8f56451fb9578bacac85b170cdd9ff949e6))
7
+
1
8
  ## [2.74.3](https://github.com/dialpad/dialtone-vue/compare/v2.74.2...v2.74.3) (2023-03-31)
2
9
 
3
10
 
@@ -2378,7 +2378,7 @@ if (typeof window !== 'undefined') {
2378
2378
  // Indicate to webpack that this file can be concatenated
2379
2379
  /* harmony default export */ const setPublicPath = (null);
2380
2380
 
2381
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=f4cb04e8&
2381
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=1c525df0&
2382
2382
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",class:[_vm.canvasClass, 'd-avatar__canvas']},[(_vm.showDefaultSlot)?_vm._t("default"):_vm._e(),(_vm.showInitials)?_c('span',{staticClass:"d-ps-absolute d-zi-base",class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count d-zi-base1",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({staticClass:"d-zi-base1",class:[
2383
2383
  'd-avatar__presence',
2384
2384
  _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
@@ -3116,8 +3116,12 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3116
3116
  await this.$nextTick();
3117
3117
  const firstChild = ((_this$$refs$canvas = this.$refs.canvas) === null || _this$$refs$canvas === void 0 ? void 0 : _this$$refs$canvas.firstElementChild) || this.$refs.canvas;
3118
3118
  this.formatInitials(this.initials);
3119
- this.setKind(firstChild);
3120
- this.kindHandler(firstChild);
3119
+
3120
+ if (firstChild) {
3121
+ this.setKind(firstChild);
3122
+ this.kindHandler(firstChild);
3123
+ }
3124
+
3121
3125
  this.initializing = true;
3122
3126
  await this.$nextTick();
3123
3127
  this.initializing = false;
@@ -2388,7 +2388,7 @@ if (typeof window !== 'undefined') {
2388
2388
  // Indicate to webpack that this file can be concatenated
2389
2389
  /* harmony default export */ const setPublicPath = (null);
2390
2390
 
2391
- ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=f4cb04e8&
2391
+ ;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=1c525df0&
2392
2392
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.avatarClasses,style:(_vm.initialKindStyle),attrs:{"id":_vm.id,"data-qa":"dt-avatar"}},[_c('div',{ref:"canvas",class:[_vm.canvasClass, 'd-avatar__canvas']},[(_vm.showDefaultSlot)?_vm._t("default"):_vm._e(),(_vm.showInitials)?_c('span',{staticClass:"d-ps-absolute d-zi-base",class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count d-zi-base1",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({staticClass:"d-zi-base1",class:[
2393
2393
  'd-avatar__presence',
2394
2394
  _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
@@ -3126,8 +3126,12 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3126
3126
  await this.$nextTick();
3127
3127
  const firstChild = ((_this$$refs$canvas = this.$refs.canvas) === null || _this$$refs$canvas === void 0 ? void 0 : _this$$refs$canvas.firstElementChild) || this.$refs.canvas;
3128
3128
  this.formatInitials(this.initials);
3129
- this.setKind(firstChild);
3130
- this.kindHandler(firstChild);
3129
+
3130
+ if (firstChild) {
3131
+ this.setKind(firstChild);
3132
+ this.kindHandler(firstChild);
3133
+ }
3134
+
3131
3135
  this.initializing = true;
3132
3136
  await this.$nextTick();
3133
3137
  this.initializing = false;