@dialpad/dialtone-vue 2.59.2 → 2.60.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.60.0](https://github.com/dialpad/dialtone-vue/compare/v2.59.2...v2.60.0) (2023-02-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * **Leftbar:** add group row recipe ([#778](https://github.com/dialpad/dialtone-vue/issues/778)) ([ce1e487](https://github.com/dialpad/dialtone-vue/commit/ce1e487c8624e48a36cf85b9ed856a41e2c7d861))
7
+
1
8
  ## [2.59.2](https://github.com/dialpad/dialtone-vue/compare/v2.59.1...v2.59.2) (2023-02-24)
2
9
 
3
10
 
@@ -1560,7 +1560,7 @@ if ( true && module.exports) {
1560
1560
 
1561
1561
  /***/ }),
1562
1562
 
1563
- /***/ 627:
1563
+ /***/ 559:
1564
1564
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1565
1565
 
1566
1566
  // style-loader: Adds some css to the DOM by adding a <style> tag
@@ -2280,6 +2280,7 @@ __webpack_require__.d(__webpack_exports__, {
2280
2280
  "DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
2281
2281
  "DtRecipeContactInfo": () => (/* reexport */ contact_info),
2282
2282
  "DtRecipeGeneralRow": () => (/* reexport */ general_row),
2283
+ "DtRecipeGroupRow": () => (/* reexport */ group_row),
2283
2284
  "DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
2284
2285
  "DtRecipeIvrNode": () => (/* reexport */ ivr_node),
2285
2286
  "DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
@@ -2372,7 +2373,7 @@ if (typeof window !== 'undefined') {
2372
2373
  // Indicate to webpack that this file can be concatenated
2373
2374
  /* harmony default export */ const setPublicPath = (null);
2374
2375
 
2375
- ;// 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=39b70ea2&
2376
+ ;// 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=8bf1cd1a&
2376
2377
  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",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',{class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({class:[
2377
2378
  'd-avatar__presence',
2378
2379
  _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
@@ -3000,7 +3001,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3000
3001
 
3001
3002
  computed: {
3002
3003
  avatarClasses() {
3003
- return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.size], this.avatarClass, {
3004
+ return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.validatedSize], this.avatarClass, {
3004
3005
  'd-avatar--no-gradient': !this.gradient,
3005
3006
  'd-avatar--group': this.showGroup
3006
3007
  }];
@@ -3030,6 +3031,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3030
3031
 
3031
3032
  formattedGroup() {
3032
3033
  return this.group > 99 ? '99+' : this.group;
3034
+ },
3035
+
3036
+ validatedSize() {
3037
+ // TODO: Group only supports xs size for now. Remove this when we support other sizes.
3038
+ return this.group ? 'xs' : this.size;
3033
3039
  }
3034
3040
 
3035
3041
  },
@@ -3090,9 +3096,9 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3090
3096
  formatInitials(initials) {
3091
3097
  if (!initials) return;
3092
3098
 
3093
- if (this.size === 'xs') {
3099
+ if (this.validatedSize === 'xs') {
3094
3100
  this.formattedInitials = '';
3095
- } else if (this.size === 'sm') {
3101
+ } else if (this.validatedSize === 'sm') {
3096
3102
  this.formattedInitials = initials.trim()[0];
3097
3103
  } else {
3098
3104
  this.formattedInitials = initials.trim().slice(0, 2);
@@ -7693,7 +7699,7 @@ var collapsible_lazy_showvue_type_template_id_3ceeeccc_staticRenderFns = []
7693
7699
  ;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=script&lang=js&
7694
7700
  /* harmony default export */ const collapsible_collapsible_lazy_showvue_type_script_lang_js_ = (collapsible_lazy_showvue_type_script_lang_js_);
7695
7701
  // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12[0].rules[0].use[0]!./node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
7696
- var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(627);
7702
+ var collapsible_lazy_showvue_type_style_index_0_lang_css_ = __webpack_require__(559);
7697
7703
  ;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue?vue&type=style&index=0&lang=css&
7698
7704
 
7699
7705
  ;// CONCATENATED MODULE: ./components/collapsible/collapsible_lazy_show.vue
@@ -23309,9 +23315,9 @@ var grouped_chip_component = normalizeComponent(
23309
23315
  /* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
23310
23316
  ;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
23311
23317
 
23312
- ;// 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!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=1c56d473&
23313
- var general_rowvue_type_template_id_1c56d473_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[_c('button',_vm._g(_vm._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"dt-leftbar-row-link"}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[_c('dt-recipe-leftbar-general-row-icon',{attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})],1),_c('div',{staticClass:"dt-leftbar-row__label"},[_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])],1),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.hasUnreadMessages)?_c('dt-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")]):_vm._e()],1)])])}
23314
- var general_rowvue_type_template_id_1c56d473_staticRenderFns = []
23318
+ ;// 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!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=40a77fb7&
23319
+ var general_rowvue_type_template_id_40a77fb7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[_c('button',_vm._g(_vm._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"dt-leftbar-row-link"}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[_vm._t("left",function(){return [_c('dt-recipe-leftbar-general-row-icon',{attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})]})],2),_c('div',{staticClass:"dt-leftbar-row__label"},[_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])],1),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.hasUnreadMessages)?_c('dt-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")]):_vm._e()],1)])])}
23320
+ var general_rowvue_type_template_id_40a77fb7_staticRenderFns = []
23315
23321
 
23316
23322
 
23317
23323
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
@@ -24024,6 +24030,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
24024
24030
  //
24025
24031
  //
24026
24032
  //
24033
+ //
24034
+ //
24027
24035
 
24028
24036
 
24029
24037
 
@@ -24148,8 +24156,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(641);
24148
24156
 
24149
24157
  var general_row_component = normalizeComponent(
24150
24158
  general_row_general_rowvue_type_script_lang_js_,
24151
- general_rowvue_type_template_id_1c56d473_render,
24152
- general_rowvue_type_template_id_1c56d473_staticRenderFns,
24159
+ general_rowvue_type_template_id_40a77fb7_render,
24160
+ general_rowvue_type_template_id_40a77fb7_staticRenderFns,
24153
24161
  false,
24154
24162
  null,
24155
24163
  null,
@@ -24161,6 +24169,120 @@ var general_row_component = normalizeComponent(
24161
24169
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
24162
24170
 
24163
24171
 
24172
+ ;// 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!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=8a338828&
24173
+ var group_rowvue_type_template_id_8a338828_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-general-row',_vm._g({attrs:{"description":_vm.names,"unread-count":_vm.unreadCount,"selected":_vm.selected},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('dt-avatar',{attrs:{"initials":_vm.avatarInitials,"group":_vm.groupCount}},[_c('img',{attrs:{"data-qa":"dt-avatar-image","src":_vm.avatarSrc,"alt":_vm.avatarInitials}})])]},proxy:true}])},_vm.$listeners))}
24174
+ var group_rowvue_type_template_id_8a338828_staticRenderFns = []
24175
+
24176
+
24177
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
24178
+ //
24179
+ //
24180
+ //
24181
+ //
24182
+ //
24183
+ //
24184
+ //
24185
+ //
24186
+ //
24187
+ //
24188
+ //
24189
+ //
24190
+ //
24191
+ //
24192
+ //
24193
+ //
24194
+ //
24195
+ //
24196
+ //
24197
+ //
24198
+ //
24199
+ //
24200
+
24201
+
24202
+ /* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
24203
+ name: 'DtRecipeGroupRow',
24204
+ components: {
24205
+ DtAvatar: avatar,
24206
+ DtRecipeGeneralRow: general_row
24207
+ },
24208
+ props: {
24209
+ /**
24210
+ * Optional avatar image url.
24211
+ * if provided, it's also required to provide a value in the `avatarInitials` prop to use
24212
+ * in the alt attribute of the avatar.
24213
+ */
24214
+ avatarSrc: {
24215
+ type: String,
24216
+ default: ''
24217
+ },
24218
+
24219
+ /**
24220
+ * Initials to display on the avatar if avatarSrc is not provided or
24221
+ * alt attr if avatarSrc is provided.
24222
+ */
24223
+ avatarInitials: {
24224
+ type: String,
24225
+ default: '',
24226
+ required: true
24227
+ },
24228
+
24229
+ /**
24230
+ * Number displayed in avatar to count group members
24231
+ */
24232
+ groupCount: {
24233
+ type: Number,
24234
+ required: true
24235
+ },
24236
+
24237
+ /**
24238
+ * Names of the group members
24239
+ */
24240
+ names: {
24241
+ type: String,
24242
+ default: ''
24243
+ },
24244
+
24245
+ /**
24246
+ * Number of unread messages
24247
+ */
24248
+ unreadCount: {
24249
+ type: String,
24250
+ default: null
24251
+ },
24252
+
24253
+ /**
24254
+ * Determines if the row is selected
24255
+ */
24256
+ selected: {
24257
+ type: Boolean,
24258
+ default: false
24259
+ }
24260
+ }
24261
+ });
24262
+ ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
24263
+ /* harmony default export */ const group_row_group_rowvue_type_script_lang_js_ = (group_rowvue_type_script_lang_js_);
24264
+ ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue
24265
+
24266
+
24267
+
24268
+
24269
+
24270
+ /* normalize component */
24271
+ ;
24272
+ var group_row_component = normalizeComponent(
24273
+ group_row_group_rowvue_type_script_lang_js_,
24274
+ group_rowvue_type_template_id_8a338828_render,
24275
+ group_rowvue_type_template_id_8a338828_staticRenderFns,
24276
+ false,
24277
+ null,
24278
+ null,
24279
+ null
24280
+
24281
+ )
24282
+
24283
+ /* harmony default export */ const group_row = (group_row_component.exports);
24284
+ ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
24285
+
24164
24286
  ;// CONCATENATED MODULE: ./common/mixins/index.js
24165
24287
 
24166
24288
 
@@ -24214,6 +24336,7 @@ var general_row_component = normalizeComponent(
24214
24336
 
24215
24337
 
24216
24338
 
24339
+
24217
24340
  // Mixins
24218
24341
 
24219
24342
  // Constants
@@ -2290,6 +2290,7 @@ __webpack_require__.d(__webpack_exports__, {
2290
2290
  "DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
2291
2291
  "DtRecipeContactInfo": () => (/* reexport */ contact_info),
2292
2292
  "DtRecipeGeneralRow": () => (/* reexport */ general_row),
2293
+ "DtRecipeGroupRow": () => (/* reexport */ group_row),
2293
2294
  "DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
2294
2295
  "DtRecipeIvrNode": () => (/* reexport */ ivr_node),
2295
2296
  "DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
@@ -2382,7 +2383,7 @@ if (typeof window !== 'undefined') {
2382
2383
  // Indicate to webpack that this file can be concatenated
2383
2384
  /* harmony default export */ const setPublicPath = (null);
2384
2385
 
2385
- ;// 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=39b70ea2&
2386
+ ;// 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=8bf1cd1a&
2386
2387
  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",staticClass:"d-avatar__canvas"},[(_vm.showDefaultSlot)?_vm._t("default"):(_vm.showInitials)?_c('span',{class:_vm.AVATAR_KIND_MODIFIERS.initials},[_vm._v(" "+_vm._s(_vm.formattedInitials)+" ")]):_vm._e()],2),(_vm.showGroup)?_c('span',{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[_vm._v(_vm._s(_vm.formattedGroup))]):_vm._e(),(_vm.presence && !_vm.showGroup)?_c('dt-presence',_vm._b({class:[
2387
2388
  'd-avatar__presence',
2388
2389
  _vm.AVATAR_PRESENCE_SIZE_MODIFIERS[_vm.size] ],attrs:{"presence":_vm.presence,"data-qa":"dt-presence"}},'dt-presence',_vm.presenceProps,false)):_vm._e()],1)}
@@ -3010,7 +3011,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3010
3011
 
3011
3012
  computed: {
3012
3013
  avatarClasses() {
3013
- return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.size], this.avatarClass, {
3014
+ return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.validatedSize], this.avatarClass, {
3014
3015
  'd-avatar--no-gradient': !this.gradient,
3015
3016
  'd-avatar--group': this.showGroup
3016
3017
  }];
@@ -3040,6 +3041,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3040
3041
 
3041
3042
  formattedGroup() {
3042
3043
  return this.group > 99 ? '99+' : this.group;
3044
+ },
3045
+
3046
+ validatedSize() {
3047
+ // TODO: Group only supports xs size for now. Remove this when we support other sizes.
3048
+ return this.group ? 'xs' : this.size;
3043
3049
  }
3044
3050
 
3045
3051
  },
@@ -3100,9 +3106,9 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
3100
3106
  formatInitials(initials) {
3101
3107
  if (!initials) return;
3102
3108
 
3103
- if (this.size === 'xs') {
3109
+ if (this.validatedSize === 'xs') {
3104
3110
  this.formattedInitials = '';
3105
- } else if (this.size === 'sm') {
3111
+ } else if (this.validatedSize === 'sm') {
3106
3112
  this.formattedInitials = initials.trim()[0];
3107
3113
  } else {
3108
3114
  this.formattedInitials = initials.trim().slice(0, 2);
@@ -23319,9 +23325,9 @@ var grouped_chip_component = normalizeComponent(
23319
23325
  /* harmony default export */ const grouped_chip = (grouped_chip_component.exports);
23320
23326
  ;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
23321
23327
 
23322
- ;// 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!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=1c56d473&
23323
- var general_rowvue_type_template_id_1c56d473_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[_c('button',_vm._g(_vm._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"dt-leftbar-row-link"}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[_c('dt-recipe-leftbar-general-row-icon',{attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})],1),_c('div',{staticClass:"dt-leftbar-row__label"},[_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])],1),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.hasUnreadMessages)?_c('dt-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")]):_vm._e()],1)])])}
23324
- var general_rowvue_type_template_id_1c56d473_staticRenderFns = []
23328
+ ;// 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!./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=40a77fb7&
23329
+ var general_rowvue_type_template_id_40a77fb7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[_c('button',_vm._g(_vm._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"dt-leftbar-row-link"}},'button',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"dt-leftbar-row__alpha"},[_vm._t("left",function(){return [_c('dt-recipe-leftbar-general-row-icon',{attrs:{"type":_vm.getIcon,"color":_vm.color,"data-qa":"dt-leftbar-row-icon"}})]})],2),_c('div',{staticClass:"dt-leftbar-row__label"},[_c('dt-emoji-text-wrapper',{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description"}},[_vm._v(" "+_vm._s(_vm.description)+" ")])],1),_c('div',{staticClass:"dt-leftbar-row__omega"},[(_vm.hasUnreadMessages)?_c('dt-badge',{attrs:{"kind":"count","type":"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[_vm._v(" "+_vm._s(_vm.unreadCount)+" ")]):_vm._e()],1)])])}
23330
+ var general_rowvue_type_template_id_40a77fb7_staticRenderFns = []
23325
23331
 
23326
23332
 
23327
23333
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
@@ -24034,6 +24040,8 @@ var leftbar_general_row_icon_component = normalizeComponent(
24034
24040
  //
24035
24041
  //
24036
24042
  //
24043
+ //
24044
+ //
24037
24045
 
24038
24046
 
24039
24047
 
@@ -24158,8 +24166,8 @@ var general_rowvue_type_style_index_0_lang_less_ = __webpack_require__(745);
24158
24166
 
24159
24167
  var general_row_component = normalizeComponent(
24160
24168
  general_row_general_rowvue_type_script_lang_js_,
24161
- general_rowvue_type_template_id_1c56d473_render,
24162
- general_rowvue_type_template_id_1c56d473_staticRenderFns,
24169
+ general_rowvue_type_template_id_40a77fb7_render,
24170
+ general_rowvue_type_template_id_40a77fb7_staticRenderFns,
24163
24171
  false,
24164
24172
  null,
24165
24173
  null,
@@ -24171,6 +24179,120 @@ var general_row_component = normalizeComponent(
24171
24179
  ;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
24172
24180
 
24173
24181
 
24182
+ ;// 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!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=8a338828&
24183
+ var group_rowvue_type_template_id_8a338828_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-general-row',_vm._g({attrs:{"description":_vm.names,"unread-count":_vm.unreadCount,"selected":_vm.selected},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('dt-avatar',{attrs:{"initials":_vm.avatarInitials,"group":_vm.groupCount}},[_c('img',{attrs:{"data-qa":"dt-avatar-image","src":_vm.avatarSrc,"alt":_vm.avatarInitials}})])]},proxy:true}])},_vm.$listeners))}
24184
+ var group_rowvue_type_template_id_8a338828_staticRenderFns = []
24185
+
24186
+
24187
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
24188
+ //
24189
+ //
24190
+ //
24191
+ //
24192
+ //
24193
+ //
24194
+ //
24195
+ //
24196
+ //
24197
+ //
24198
+ //
24199
+ //
24200
+ //
24201
+ //
24202
+ //
24203
+ //
24204
+ //
24205
+ //
24206
+ //
24207
+ //
24208
+ //
24209
+ //
24210
+
24211
+
24212
+ /* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
24213
+ name: 'DtRecipeGroupRow',
24214
+ components: {
24215
+ DtAvatar: avatar,
24216
+ DtRecipeGeneralRow: general_row
24217
+ },
24218
+ props: {
24219
+ /**
24220
+ * Optional avatar image url.
24221
+ * if provided, it's also required to provide a value in the `avatarInitials` prop to use
24222
+ * in the alt attribute of the avatar.
24223
+ */
24224
+ avatarSrc: {
24225
+ type: String,
24226
+ default: ''
24227
+ },
24228
+
24229
+ /**
24230
+ * Initials to display on the avatar if avatarSrc is not provided or
24231
+ * alt attr if avatarSrc is provided.
24232
+ */
24233
+ avatarInitials: {
24234
+ type: String,
24235
+ default: '',
24236
+ required: true
24237
+ },
24238
+
24239
+ /**
24240
+ * Number displayed in avatar to count group members
24241
+ */
24242
+ groupCount: {
24243
+ type: Number,
24244
+ required: true
24245
+ },
24246
+
24247
+ /**
24248
+ * Names of the group members
24249
+ */
24250
+ names: {
24251
+ type: String,
24252
+ default: ''
24253
+ },
24254
+
24255
+ /**
24256
+ * Number of unread messages
24257
+ */
24258
+ unreadCount: {
24259
+ type: String,
24260
+ default: null
24261
+ },
24262
+
24263
+ /**
24264
+ * Determines if the row is selected
24265
+ */
24266
+ selected: {
24267
+ type: Boolean,
24268
+ default: false
24269
+ }
24270
+ }
24271
+ });
24272
+ ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
24273
+ /* harmony default export */ const group_row_group_rowvue_type_script_lang_js_ = (group_rowvue_type_script_lang_js_);
24274
+ ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue
24275
+
24276
+
24277
+
24278
+
24279
+
24280
+ /* normalize component */
24281
+ ;
24282
+ var group_row_component = normalizeComponent(
24283
+ group_row_group_rowvue_type_script_lang_js_,
24284
+ group_rowvue_type_template_id_8a338828_render,
24285
+ group_rowvue_type_template_id_8a338828_staticRenderFns,
24286
+ false,
24287
+ null,
24288
+ null,
24289
+ null
24290
+
24291
+ )
24292
+
24293
+ /* harmony default export */ const group_row = (group_row_component.exports);
24294
+ ;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
24295
+
24174
24296
  ;// CONCATENATED MODULE: ./common/mixins/index.js
24175
24297
 
24176
24298
 
@@ -24224,6 +24346,7 @@ var general_row_component = normalizeComponent(
24224
24346
 
24225
24347
 
24226
24348
 
24349
+
24227
24350
  // Mixins
24228
24351
 
24229
24352
  // Constants