@dialpad/dialtone-vue 3.56.2 → 3.57.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.json +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/dialtone-vue.common.js +130 -19
- package/dist/dialtone-vue.css +1 -1
- package/dist/dialtone-vue.umd.js +130 -19
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [3.57.0](https://github.com/dialpad/dialtone-vue/compare/v3.56.2...v3.57.0) (2023-04-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Avatar:** additional null protection ([4545721](https://github.com/dialpad/dialtone-vue/commit/4545721f1ea6ac16ae6430102b0865b1d5ab2d75))
|
|
7
|
+
* **Avatar:** null protect firstElementChild ([1b2b949](https://github.com/dialpad/dialtone-vue/commit/1b2b9497ea951fff41bfb7d2fe6b067120dc6c49))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **Recipe Leftbar Unread Chip:** add leftbar unread chip recipe - vue3 ([#878](https://github.com/dialpad/dialtone-vue/issues/878)) ([03b0b0c](https://github.com/dialpad/dialtone-vue/commit/03b0b0c690ffec643c45e6016a2a60d2bdf75e78))
|
|
13
|
+
|
|
1
14
|
## [3.56.2](https://github.com/dialpad/dialtone-vue/compare/v3.56.1...v3.56.2) (2023-03-31)
|
|
2
15
|
|
|
3
16
|
|
|
@@ -1201,6 +1201,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1201
1201
|
"DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
|
|
1202
1202
|
"DtRecipeIvrNode": () => (/* reexport */ ivr_node),
|
|
1203
1203
|
"DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
|
|
1204
|
+
"DtRecipeUnreadChip": () => (/* reexport */ unread_chip),
|
|
1204
1205
|
"DtRootLayout": () => (/* reexport */ root_layout),
|
|
1205
1206
|
"DtScroller": () => (/* reexport */ DtScroller),
|
|
1206
1207
|
"DtSelectMenu": () => (/* reexport */ select_menu),
|
|
@@ -1267,6 +1268,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1267
1268
|
"TOOLTIP_HIDE_ON_CLICK_VARIANTS": () => (/* reexport */ TOOLTIP_HIDE_ON_CLICK_VARIANTS),
|
|
1268
1269
|
"TOOLTIP_KIND_MODIFIERS": () => (/* reexport */ TOOLTIP_KIND_MODIFIERS),
|
|
1269
1270
|
"TOOLTIP_STICKY_VALUES": () => (/* reexport */ TOOLTIP_STICKY_VALUES),
|
|
1271
|
+
"UNREAD_BADGE_DIRECTIONS": () => (/* reexport */ UNREAD_BADGE_DIRECTIONS),
|
|
1272
|
+
"UNREAD_BADGE_KINDS": () => (/* reexport */ UNREAD_BADGE_KINDS),
|
|
1270
1273
|
"VALIDATION_MESSAGE_TYPES": () => (/* reexport */ VALIDATION_MESSAGE_TYPES),
|
|
1271
1274
|
"VALID_WIDTH_SIZE": () => (/* reexport */ VALID_WIDTH_SIZE),
|
|
1272
1275
|
"filterFormattedMessages": () => (/* reexport */ filterFormattedMessages),
|
|
@@ -1295,7 +1298,7 @@ if (typeof window !== 'undefined') {
|
|
|
1295
1298
|
|
|
1296
1299
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1297
1300
|
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1298
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=
|
|
1301
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=0694ee28
|
|
1299
1302
|
|
|
1300
1303
|
const _hoisted_1 = ["id"];
|
|
1301
1304
|
const _hoisted_2 = {
|
|
@@ -1327,7 +1330,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1327
1330
|
"data-qa": "dt-presence"
|
|
1328
1331
|
}), null, 16, ["presence", "class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 14, _hoisted_1);
|
|
1329
1332
|
}
|
|
1330
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
1333
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=0694ee28
|
|
1331
1334
|
|
|
1332
1335
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1333
1336
|
/* TODO: Move and sort these in a constants directory
|
|
@@ -1902,13 +1905,19 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1902
1905
|
|
|
1903
1906
|
methods: {
|
|
1904
1907
|
async init() {
|
|
1908
|
+
var _this$$refs$canvas;
|
|
1909
|
+
|
|
1905
1910
|
if (this.initializing) return;
|
|
1906
1911
|
this.kind = null;
|
|
1907
1912
|
await this.$nextTick();
|
|
1908
|
-
const firstChild = this.$refs.canvas.children[0] || this.$refs.canvas;
|
|
1913
|
+
const firstChild = ((_this$$refs$canvas = this.$refs.canvas) === null || _this$$refs$canvas === void 0 ? void 0 : _this$$refs$canvas.children[0]) || this.$refs.canvas;
|
|
1909
1914
|
this.formatInitials(this.initials);
|
|
1910
|
-
|
|
1911
|
-
|
|
1915
|
+
|
|
1916
|
+
if (firstChild) {
|
|
1917
|
+
this.setKind(firstChild);
|
|
1918
|
+
this.kindHandler(firstChild);
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1912
1921
|
this.initializing = true;
|
|
1913
1922
|
await this.$nextTick();
|
|
1914
1923
|
this.initializing = false;
|
|
@@ -2039,10 +2048,10 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
2039
2048
|
});
|
|
2040
2049
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
2041
2050
|
|
|
2042
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
2051
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=0694ee28&lang=less
|
|
2043
2052
|
// extracted by mini-css-extract-plugin
|
|
2044
2053
|
|
|
2045
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
2054
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=0694ee28&lang=less
|
|
2046
2055
|
|
|
2047
2056
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
2048
2057
|
|
|
@@ -16760,27 +16769,27 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
|
|
|
16760
16769
|
/* harmony default export */ const checkbox_group = (checkbox_group_exports_);
|
|
16761
16770
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
16762
16771
|
|
|
16763
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=
|
|
16772
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=790baeaf
|
|
16764
16773
|
|
|
16765
|
-
const
|
|
16774
|
+
const chipvue_type_template_id_790baeaf_hoisted_1 = {
|
|
16766
16775
|
class: "d-chip"
|
|
16767
16776
|
};
|
|
16768
|
-
const
|
|
16777
|
+
const chipvue_type_template_id_790baeaf_hoisted_2 = {
|
|
16769
16778
|
key: 0,
|
|
16770
16779
|
"data-qa": "dt-chip-icon",
|
|
16771
16780
|
class: "d-chip__icon"
|
|
16772
16781
|
};
|
|
16773
|
-
const
|
|
16782
|
+
const chipvue_type_template_id_790baeaf_hoisted_3 = {
|
|
16774
16783
|
key: 1,
|
|
16775
16784
|
"data-qa": "dt-chip-avatar"
|
|
16776
16785
|
};
|
|
16777
|
-
const
|
|
16778
|
-
function
|
|
16786
|
+
const chipvue_type_template_id_790baeaf_hoisted_4 = ["id"];
|
|
16787
|
+
function chipvue_type_template_id_790baeaf_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16779
16788
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
16780
16789
|
|
|
16781
16790
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
16782
16791
|
|
|
16783
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
16792
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_790baeaf_hoisted_1, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
16784
16793
|
id: $props.id,
|
|
16785
16794
|
type: $props.interactive && 'button',
|
|
16786
16795
|
class: $options.chipClasses(),
|
|
@@ -16788,12 +16797,12 @@ function chipvue_type_template_id_42f677c2_render(_ctx, _cache, $props, $setup,
|
|
|
16788
16797
|
"aria-labelledby": $props.ariaLabel ? undefined : `${$props.id}-content`,
|
|
16789
16798
|
"aria-label": $props.ariaLabel
|
|
16790
16799
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.chipListeners)), {
|
|
16791
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$data.hasSlotContent(_ctx.$slots.icon) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
16800
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$data.hasSlotContent(_ctx.$slots.icon) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_790baeaf_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")])) : $data.hasSlotContent(_ctx.$slots.avatar) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_790baeaf_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $data.hasSlotContent(_ctx.$slots.default) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
16792
16801
|
key: 2,
|
|
16793
16802
|
id: `${$props.id}-content`,
|
|
16794
16803
|
"data-qa": "dt-chip-label",
|
|
16795
16804
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
|
|
16796
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10,
|
|
16805
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_790baeaf_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
|
|
16797
16806
|
_: 3
|
|
16798
16807
|
}, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
16799
16808
|
key: 0
|
|
@@ -16810,7 +16819,7 @@ function chipvue_type_template_id_42f677c2_render(_ctx, _cache, $props, $setup,
|
|
|
16810
16819
|
_: 1
|
|
16811
16820
|
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
16812
16821
|
}
|
|
16813
|
-
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=
|
|
16822
|
+
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=790baeaf
|
|
16814
16823
|
|
|
16815
16824
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
16816
16825
|
const CHIP_SIZE_MODIFIERS = {
|
|
@@ -16984,7 +16993,7 @@ const CHIP_ICON_SIZES = {
|
|
|
16984
16993
|
},
|
|
16985
16994
|
methods: {
|
|
16986
16995
|
chipClasses() {
|
|
16987
|
-
return [this.$attrs['grouped-chip'] ?
|
|
16996
|
+
return [this.$attrs['grouped-chip'] ? 'd-chip' : 'd-chip__label', CHIP_SIZE_MODIFIERS[this.size], this.labelClass];
|
|
16988
16997
|
},
|
|
16989
16998
|
|
|
16990
16999
|
chipCloseButtonClasses() {
|
|
@@ -17007,7 +17016,7 @@ const CHIP_ICON_SIZES = {
|
|
|
17007
17016
|
|
|
17008
17017
|
|
|
17009
17018
|
;
|
|
17010
|
-
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',
|
|
17019
|
+
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_790baeaf_render]])
|
|
17011
17020
|
|
|
17012
17021
|
/* harmony default export */ const chip = (chip_exports_);
|
|
17013
17022
|
;// CONCATENATED MODULE: ./components/chip/index.js
|
|
@@ -24030,6 +24039,107 @@ const contact_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(contac
|
|
|
24030
24039
|
/* harmony default export */ const contact_row = (contact_row_exports_);
|
|
24031
24040
|
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
|
|
24032
24041
|
|
|
24042
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=template&id=46efd8e7
|
|
24043
|
+
|
|
24044
|
+
const unread_chipvue_type_template_id_46efd8e7_hoisted_1 = {
|
|
24045
|
+
"data-qa": "dt-leftbar-unread-chip__label"
|
|
24046
|
+
};
|
|
24047
|
+
function unread_chipvue_type_template_id_46efd8e7_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24048
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
24049
|
+
|
|
24050
|
+
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
24051
|
+
|
|
24052
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_chip, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
24053
|
+
class: ['dt-leftbar-unread-chip', `dt-leftbar-unread-chip__${$props.kind}`],
|
|
24054
|
+
"data-qa": "dt-leftbar-unread-chip",
|
|
24055
|
+
"hide-close": true
|
|
24056
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.unreadChipListeners)), {
|
|
24057
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
24058
|
+
name: `arrow-${$props.direction}`,
|
|
24059
|
+
size: "300"
|
|
24060
|
+
}, null, 8, ["name"])]),
|
|
24061
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", unread_chipvue_type_template_id_46efd8e7_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")])]),
|
|
24062
|
+
_: 3
|
|
24063
|
+
}, 16, ["class"]);
|
|
24064
|
+
}
|
|
24065
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=template&id=46efd8e7
|
|
24066
|
+
|
|
24067
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip_constants.js
|
|
24068
|
+
const UNREAD_BADGE_DIRECTIONS = ['up', 'down'];
|
|
24069
|
+
const UNREAD_BADGE_KINDS = ['mentions', 'messages'];
|
|
24070
|
+
/* harmony default export */ const unread_chip_constants = ({
|
|
24071
|
+
UNREAD_BADGE_DIRECTIONS,
|
|
24072
|
+
UNREAD_BADGE_KINDS
|
|
24073
|
+
});
|
|
24074
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=script&lang=js
|
|
24075
|
+
|
|
24076
|
+
|
|
24077
|
+
|
|
24078
|
+
/* harmony default export */ const unread_chipvue_type_script_lang_js = ({
|
|
24079
|
+
name: 'DtRecipeUnreadChip',
|
|
24080
|
+
components: {
|
|
24081
|
+
DtIcon: icon,
|
|
24082
|
+
DtChip: chip
|
|
24083
|
+
},
|
|
24084
|
+
props: {
|
|
24085
|
+
/**
|
|
24086
|
+
* The kind of unread chip which determines the styling
|
|
24087
|
+
* @values 'mentions', 'messages'
|
|
24088
|
+
**/
|
|
24089
|
+
kind: {
|
|
24090
|
+
type: String,
|
|
24091
|
+
required: true,
|
|
24092
|
+
validator: kind => UNREAD_BADGE_KINDS.includes(kind)
|
|
24093
|
+
},
|
|
24094
|
+
|
|
24095
|
+
/**
|
|
24096
|
+
* The direction of the arrow icon
|
|
24097
|
+
* @values 'up', 'down'
|
|
24098
|
+
**/
|
|
24099
|
+
direction: {
|
|
24100
|
+
type: String,
|
|
24101
|
+
required: true,
|
|
24102
|
+
validator: dir => UNREAD_BADGE_DIRECTIONS.includes(dir)
|
|
24103
|
+
}
|
|
24104
|
+
},
|
|
24105
|
+
emits: [
|
|
24106
|
+
/**
|
|
24107
|
+
* Native click event
|
|
24108
|
+
*
|
|
24109
|
+
* @event click
|
|
24110
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24111
|
+
*/
|
|
24112
|
+
'click'],
|
|
24113
|
+
computed: {
|
|
24114
|
+
unreadChipListeners() {
|
|
24115
|
+
return {
|
|
24116
|
+
click: event => this.$emit('click', event)
|
|
24117
|
+
};
|
|
24118
|
+
}
|
|
24119
|
+
|
|
24120
|
+
}
|
|
24121
|
+
});
|
|
24122
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=script&lang=js
|
|
24123
|
+
|
|
24124
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=style&index=0&id=46efd8e7&lang=less
|
|
24125
|
+
// extracted by mini-css-extract-plugin
|
|
24126
|
+
|
|
24127
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=style&index=0&id=46efd8e7&lang=less
|
|
24128
|
+
|
|
24129
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue
|
|
24130
|
+
|
|
24131
|
+
|
|
24132
|
+
|
|
24133
|
+
|
|
24134
|
+
;
|
|
24135
|
+
|
|
24136
|
+
|
|
24137
|
+
const unread_chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(unread_chipvue_type_script_lang_js, [['render',unread_chipvue_type_template_id_46efd8e7_render]])
|
|
24138
|
+
|
|
24139
|
+
/* harmony default export */ const unread_chip = (unread_chip_exports_);
|
|
24140
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/index.js
|
|
24141
|
+
|
|
24142
|
+
|
|
24033
24143
|
;// CONCATENATED MODULE: ./common/mixins/index.js
|
|
24034
24144
|
|
|
24035
24145
|
|
|
@@ -24088,6 +24198,7 @@ const contact_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(contac
|
|
|
24088
24198
|
|
|
24089
24199
|
|
|
24090
24200
|
|
|
24201
|
+
|
|
24091
24202
|
// Mixins
|
|
24092
24203
|
|
|
24093
24204
|
// Constants
|
package/dist/dialtone-vue.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.d-avatar--image-loaded{background-color:initial;background-image:unset}.dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}.dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--size-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:var(--bgc-moderate-opaque)}.dt-list-item--highlighted:active{background-color:var(--bgc-bold-opaque)}.dt-list-item:focus-visible{outline:none;box-shadow:var(--bs-focus-ring)}.skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}.dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--space-300) calc(var(--space-300)*3)}.enter-active,.leave-active{overflow:hidden;transition:height var(--td300) var(--ttf-quint)}.tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}.d-context-menu-list{width:calc(var(--size-300)*48)}.dt-list-item[role=menuitem]{border-radius:var(--size-300)}.dt-list-separator{border-top:var(--size-100) solid var(--bc-default);list-style:none}.dt-list-section[tabindex="-1"]:focus{outline:none}.tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}.root-layout__body{display:flex;flex-wrap:wrap;gap:0;box-shadow:none}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1;box-shadow:none}.root-layout__content{flex-basis:0;flex-grow:999;box-shadow:none}.root-layout__header--sticky{position:sticky;top:0}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset;opacity:.5}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--circle.d-btn--icon-only .d-btn__label{display:none}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:calc(var(--space-300)*3*-1);width:var(--size-500);height:var(--size-500);padding:var(--space-400);border-radius:var(--size-300)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--bgc-moderate-opaque)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--bgc-contrast);color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--bgc-contrast)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}.d-top-banner-info__left{margin:var(--space-300) 0 var(--space-300) var(--space-400);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--size-300);margin:var(--space-300) var(--space-500) var(--space-300) 0;min-width:20%}.ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base1);display:flex;justify-content:center;align-items:center;border-color:var(--purple-600);background-color:var(--purple-600)}.dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:var(--theme-sidebar-row-color-background);--leftbar-row-radius:100em;--leftbar-row-opacity:100%;--leftbar-row-alpha-color-foreground:var(--theme-sidebar-icon-color);--leftbar-row-alpha-width:calc(var(--size-300)*10);--leftbar-row-alpha-height:calc(var(--size-300)*9);--leftbar-row-omega-min-width:0;--leftbar-row-omega-height:var(--leftbar-row-alpha-height);--leftbar-row-omega-visibility:visible;--leftbar-row-description-font-weight:var(--fw-normal);--leftbar-row-description-font-size:var(--fs-200);--leftbar-row-description-line-height:var(--lh-200);--leftbar-row-status-color-foreground:var(--theme-sidebar-status-color);--leftbar-row-status-font-size:var(--fs-100);--leftbar-row-status-line-height:var(--lh-100);--leftbar-row-action-position-right:var(--size-400);--leftbar-row-action-position-bottom:50%;--leftbar-row-action-width:calc(var(--size-300)*6);--leftbar-row-action-height:var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity)}.dt-leftbar-row:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row:hover .d-presence{--presence-color-border-base:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row:hover .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread{--leftbar-row-description-font-weight:var(--fw-bold);--leftbar-row-alpha-color-foreground:var(--leftbar-row-color-foreground)}.dt-leftbar-row--has-unread:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-visibility:hidden}.dt-leftbar-row--muted{--leftbar-row-opacity:50%}.dt-leftbar-row--selected{--leftbar-row-color-background:var(--theme-sidebar-selected-row-color-background);--leftbar-row-color-foreground:var(--theme-sidebar-selected-row-color)}.dt-leftbar-row--selected .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--action-focused{--leftbar-row-omega-visibility:hidden;--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row__is-typing{--is-typing-size-shape:calc(var(--size-300)*6);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--br-pill);opacity:.75}.dt-leftbar-row__is-typing span{transition:all .5s ease;background:var(--bgc-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--br-pill);animation:wave var(--td150) ease infinite}.dt-leftbar-row__is-typing span:first-child{animation-delay:0}.dt-leftbar-row__is-typing span:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary{display:flex;align-items:center;flex:1;width:100%;text-align:left;color:var(--leftbar-row-color-foreground);text-decoration:none;background-color:var(--leftbar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);-webkit-appearance:none;appearance:none;font-size:inhert;line-height:inherit;margin:0;border:0;padding:0;cursor:pointer}.dt-leftbar-row__primary:hover{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row__primary:active{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action{position:absolute;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom)*-1))}.dt-leftbar-row__action-button{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row:hover .dt-leftbar-row__action-button,.dt-leftbar-row__action-button:focus-visible{opacity:1}.dt-leftbar-row__alpha{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--space-400);padding-right:var(--space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height)}.dt-leftbar-row__label{flex:1;min-width:0}.dt-leftbar-row__omega{display:flex;gap:var(--space-300);justify-content:end;align-items:center;box-sizing:border-box;min-width:var(--leftbar-row-omega-min-width);height:var(--leftbar-row-omega-height);padding-left:var(--space-400);padding-right:var(--space-400);visibility:var(--leftbar-row-omega-visibility)}.dt-leftbar-row__active-voice{color:var(--fc-success);-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd{padding-top:var(--space-200);padding-right:var(--space-300);color:var(--fc-tertiary);font-size:var(--fs-100);line-height:var(--lh-400);font-weight:var(--fw-medium)}.dt-leftbar-row__description{font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height)}.dt-leftbar-row__description,.dt-leftbar-row__status{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row__status{color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--space-100)}.dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:" • ";color:var(--theme-sidebar-status-color)}.dt-leftbar-row__icon-cc{border-radius:var(--size-200);width:calc(var(--size-300)*3.5);height:calc(var(--size-300)*3.5)}.opacity-pulsate{-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes opacity-pulsate{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}
|
|
1
|
+
.d-avatar--image-loaded{background-color:initial;background-image:unset}.dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}.dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--size-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:var(--bgc-moderate-opaque)}.dt-list-item--highlighted:active{background-color:var(--bgc-bold-opaque)}.dt-list-item:focus-visible{outline:none;box-shadow:var(--bs-focus-ring)}.skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}.dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--space-300) calc(var(--space-300)*3)}.enter-active,.leave-active{overflow:hidden;transition:height var(--td300) var(--ttf-quint)}.tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}.d-context-menu-list{width:calc(var(--size-300)*48)}.dt-list-item[role=menuitem]{border-radius:var(--size-300)}.dt-list-separator{border-top:var(--size-100) solid var(--bc-default);list-style:none}.dt-list-section[tabindex="-1"]:focus{outline:none}.tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}.root-layout__body{display:flex;flex-wrap:wrap;gap:0;box-shadow:none}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1;box-shadow:none}.root-layout__content{flex-basis:0;flex-grow:999;box-shadow:none}.root-layout__header--sticky{position:sticky;top:0}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset;opacity:.5}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--circle.d-btn--icon-only .d-btn__label{display:none}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:calc(var(--space-300)*3*-1);width:var(--size-500);height:var(--size-500);padding:var(--space-400);border-radius:var(--size-300)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--bgc-moderate-opaque)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--bgc-contrast);color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--bgc-contrast)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}.d-top-banner-info__left{margin:var(--space-300) 0 var(--space-300) var(--space-400);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--size-300);margin:var(--space-300) var(--space-500) var(--space-300) 0;min-width:20%}.ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base1);display:flex;justify-content:center;align-items:center;border-color:var(--purple-600);background-color:var(--purple-600)}.dt-leftbar-row{--leftbar-row-color-foreground:var(--theme-sidebar-color);--leftbar-row-color-background:var(--theme-sidebar-row-color-background);--leftbar-row-radius:100em;--leftbar-row-opacity:100%;--leftbar-row-alpha-color-foreground:var(--theme-sidebar-icon-color);--leftbar-row-alpha-width:calc(var(--size-300)*10);--leftbar-row-alpha-height:calc(var(--size-300)*9);--leftbar-row-omega-min-width:0;--leftbar-row-omega-height:var(--leftbar-row-alpha-height);--leftbar-row-omega-visibility:visible;--leftbar-row-description-font-weight:var(--fw-normal);--leftbar-row-description-font-size:var(--fs-200);--leftbar-row-description-line-height:var(--lh-200);--leftbar-row-status-color-foreground:var(--theme-sidebar-status-color);--leftbar-row-status-font-size:var(--fs-100);--leftbar-row-status-line-height:var(--lh-100);--leftbar-row-action-position-right:var(--size-400);--leftbar-row-action-position-bottom:50%;--leftbar-row-action-width:calc(var(--size-300)*6);--leftbar-row-action-height:var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity)}.dt-leftbar-row:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row:hover .d-presence{--presence-color-border-base:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row:hover .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread{--leftbar-row-description-font-weight:var(--fw-bold);--leftbar-row-alpha-color-foreground:var(--leftbar-row-color-foreground)}.dt-leftbar-row--has-unread:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-visibility:hidden}.dt-leftbar-row--muted{--leftbar-row-opacity:50%}.dt-leftbar-row--selected{--leftbar-row-color-background:var(--theme-sidebar-selected-row-color-background);--leftbar-row-color-foreground:var(--theme-sidebar-selected-row-color)}.dt-leftbar-row--selected .d-avatar__count{--avatar-count-color-shadow:var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--action-focused{--leftbar-row-omega-visibility:hidden;--leftbar-row-omega-min-width:var(--leftbar-row-alpha-width)}.dt-leftbar-row__is-typing{--is-typing-size-shape:calc(var(--size-300)*6);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--br-pill);opacity:.75}.dt-leftbar-row__is-typing span{transition:all .5s ease;background:var(--bgc-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--br-pill);animation:wave var(--td150) ease infinite}.dt-leftbar-row__is-typing span:first-child{animation-delay:0}.dt-leftbar-row__is-typing span:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary{display:flex;align-items:center;flex:1;width:100%;text-align:left;color:var(--leftbar-row-color-foreground);text-decoration:none;background-color:var(--leftbar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);-webkit-appearance:none;appearance:none;font-size:inhert;line-height:inherit;margin:0;border:0;padding:0;cursor:pointer}.dt-leftbar-row__primary:hover{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row__primary:active{--leftbar-row-color-background:var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action{position:absolute;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom)*-1))}.dt-leftbar-row__action-button{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row:hover .dt-leftbar-row__action-button,.dt-leftbar-row__action-button:focus-visible{opacity:1}.dt-leftbar-row__alpha{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--space-400);padding-right:var(--space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height)}.dt-leftbar-row__label{flex:1;min-width:0}.dt-leftbar-row__omega{display:flex;gap:var(--space-300);justify-content:end;align-items:center;box-sizing:border-box;min-width:var(--leftbar-row-omega-min-width);height:var(--leftbar-row-omega-height);padding-left:var(--space-400);padding-right:var(--space-400);visibility:var(--leftbar-row-omega-visibility)}.dt-leftbar-row__active-voice{color:var(--fc-success);-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd{padding-top:var(--space-200);padding-right:var(--space-300);color:var(--fc-tertiary);font-size:var(--fs-100);line-height:var(--lh-400);font-weight:var(--fw-medium)}.dt-leftbar-row__description{font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height)}.dt-leftbar-row__description,.dt-leftbar-row__status{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row__status{color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--space-100)}.dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:" • ";color:var(--theme-sidebar-status-color)}.dt-leftbar-row__icon-cc{border-radius:var(--size-200);width:calc(var(--size-300)*3.5);height:calc(var(--size-300)*3.5)}.opacity-pulsate{-webkit-animation-name:opacity-pulsate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@keyframes opacity-pulsate{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}.dt-leftbar-unread-chip__mentions .d-chip__label{font-weight:var(--fw-medium);background-color:var(--theme-mention-color-background);color:var(--theme-mention-color-foreground)}.dt-leftbar-unread-chip__messages .d-chip__label{background-color:var(--bgc-white)}.dt-leftbar-unread-chip .d-chip__label{padding:var(--space-300) var(--space-500) var(--space-300) var(--space-400);box-shadow:var(--bs-md)}
|
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -1211,6 +1211,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1211
1211
|
"DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
|
|
1212
1212
|
"DtRecipeIvrNode": () => (/* reexport */ ivr_node),
|
|
1213
1213
|
"DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
|
|
1214
|
+
"DtRecipeUnreadChip": () => (/* reexport */ unread_chip),
|
|
1214
1215
|
"DtRootLayout": () => (/* reexport */ root_layout),
|
|
1215
1216
|
"DtScroller": () => (/* reexport */ DtScroller),
|
|
1216
1217
|
"DtSelectMenu": () => (/* reexport */ select_menu),
|
|
@@ -1277,6 +1278,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1277
1278
|
"TOOLTIP_HIDE_ON_CLICK_VARIANTS": () => (/* reexport */ TOOLTIP_HIDE_ON_CLICK_VARIANTS),
|
|
1278
1279
|
"TOOLTIP_KIND_MODIFIERS": () => (/* reexport */ TOOLTIP_KIND_MODIFIERS),
|
|
1279
1280
|
"TOOLTIP_STICKY_VALUES": () => (/* reexport */ TOOLTIP_STICKY_VALUES),
|
|
1281
|
+
"UNREAD_BADGE_DIRECTIONS": () => (/* reexport */ UNREAD_BADGE_DIRECTIONS),
|
|
1282
|
+
"UNREAD_BADGE_KINDS": () => (/* reexport */ UNREAD_BADGE_KINDS),
|
|
1280
1283
|
"VALIDATION_MESSAGE_TYPES": () => (/* reexport */ VALIDATION_MESSAGE_TYPES),
|
|
1281
1284
|
"VALID_WIDTH_SIZE": () => (/* reexport */ VALID_WIDTH_SIZE),
|
|
1282
1285
|
"filterFormattedMessages": () => (/* reexport */ filterFormattedMessages),
|
|
@@ -1305,7 +1308,7 @@ if (typeof window !== 'undefined') {
|
|
|
1305
1308
|
|
|
1306
1309
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1307
1310
|
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1308
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=
|
|
1311
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=template&id=0694ee28
|
|
1309
1312
|
|
|
1310
1313
|
const _hoisted_1 = ["id"];
|
|
1311
1314
|
const _hoisted_2 = {
|
|
@@ -1337,7 +1340,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1337
1340
|
"data-qa": "dt-presence"
|
|
1338
1341
|
}), null, 16, ["presence", "class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 14, _hoisted_1);
|
|
1339
1342
|
}
|
|
1340
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
1343
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=0694ee28
|
|
1341
1344
|
|
|
1342
1345
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1343
1346
|
/* TODO: Move and sort these in a constants directory
|
|
@@ -1912,13 +1915,19 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1912
1915
|
|
|
1913
1916
|
methods: {
|
|
1914
1917
|
async init() {
|
|
1918
|
+
var _this$$refs$canvas;
|
|
1919
|
+
|
|
1915
1920
|
if (this.initializing) return;
|
|
1916
1921
|
this.kind = null;
|
|
1917
1922
|
await this.$nextTick();
|
|
1918
|
-
const firstChild = this.$refs.canvas.children[0] || this.$refs.canvas;
|
|
1923
|
+
const firstChild = ((_this$$refs$canvas = this.$refs.canvas) === null || _this$$refs$canvas === void 0 ? void 0 : _this$$refs$canvas.children[0]) || this.$refs.canvas;
|
|
1919
1924
|
this.formatInitials(this.initials);
|
|
1920
|
-
|
|
1921
|
-
|
|
1925
|
+
|
|
1926
|
+
if (firstChild) {
|
|
1927
|
+
this.setKind(firstChild);
|
|
1928
|
+
this.kindHandler(firstChild);
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1922
1931
|
this.initializing = true;
|
|
1923
1932
|
await this.$nextTick();
|
|
1924
1933
|
this.initializing = false;
|
|
@@ -2049,10 +2058,10 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
2049
2058
|
});
|
|
2050
2059
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
2051
2060
|
|
|
2052
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
2061
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/avatar/avatar.vue?vue&type=style&index=0&id=0694ee28&lang=less
|
|
2053
2062
|
// extracted by mini-css-extract-plugin
|
|
2054
2063
|
|
|
2055
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
2064
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=0694ee28&lang=less
|
|
2056
2065
|
|
|
2057
2066
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
2058
2067
|
|
|
@@ -16770,27 +16779,27 @@ const checkbox_group_exports_ = checkbox_groupvue_type_script_lang_js;
|
|
|
16770
16779
|
/* harmony default export */ const checkbox_group = (checkbox_group_exports_);
|
|
16771
16780
|
;// CONCATENATED MODULE: ./components/checkbox_group/index.js
|
|
16772
16781
|
|
|
16773
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=
|
|
16782
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/chip/chip.vue?vue&type=template&id=790baeaf
|
|
16774
16783
|
|
|
16775
|
-
const
|
|
16784
|
+
const chipvue_type_template_id_790baeaf_hoisted_1 = {
|
|
16776
16785
|
class: "d-chip"
|
|
16777
16786
|
};
|
|
16778
|
-
const
|
|
16787
|
+
const chipvue_type_template_id_790baeaf_hoisted_2 = {
|
|
16779
16788
|
key: 0,
|
|
16780
16789
|
"data-qa": "dt-chip-icon",
|
|
16781
16790
|
class: "d-chip__icon"
|
|
16782
16791
|
};
|
|
16783
|
-
const
|
|
16792
|
+
const chipvue_type_template_id_790baeaf_hoisted_3 = {
|
|
16784
16793
|
key: 1,
|
|
16785
16794
|
"data-qa": "dt-chip-avatar"
|
|
16786
16795
|
};
|
|
16787
|
-
const
|
|
16788
|
-
function
|
|
16796
|
+
const chipvue_type_template_id_790baeaf_hoisted_4 = ["id"];
|
|
16797
|
+
function chipvue_type_template_id_790baeaf_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16789
16798
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
16790
16799
|
|
|
16791
16800
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
16792
16801
|
|
|
16793
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
16802
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_790baeaf_hoisted_1, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.interactive ? 'button' : 'span'), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
16794
16803
|
id: $props.id,
|
|
16795
16804
|
type: $props.interactive && 'button',
|
|
16796
16805
|
class: $options.chipClasses(),
|
|
@@ -16798,12 +16807,12 @@ function chipvue_type_template_id_42f677c2_render(_ctx, _cache, $props, $setup,
|
|
|
16798
16807
|
"aria-labelledby": $props.ariaLabel ? undefined : `${$props.id}-content`,
|
|
16799
16808
|
"aria-label": $props.ariaLabel
|
|
16800
16809
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.chipListeners)), {
|
|
16801
|
-
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$data.hasSlotContent(_ctx.$slots.icon) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span",
|
|
16810
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$data.hasSlotContent(_ctx.$slots.icon) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_790baeaf_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")])) : $data.hasSlotContent(_ctx.$slots.avatar) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", chipvue_type_template_id_790baeaf_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "avatar")])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $data.hasSlotContent(_ctx.$slots.default) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
16802
16811
|
key: 2,
|
|
16803
16812
|
id: `${$props.id}-content`,
|
|
16804
16813
|
"data-qa": "dt-chip-label",
|
|
16805
16814
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-truncate', 'd-chip__text', $props.contentClass])
|
|
16806
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10,
|
|
16815
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 10, chipvue_type_template_id_790baeaf_hoisted_4)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
|
|
16807
16816
|
_: 3
|
|
16808
16817
|
}, 16, ["id", "type", "class", "aria-labelledby", "aria-label"])), !$props.hideClose ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
16809
16818
|
key: 0
|
|
@@ -16820,7 +16829,7 @@ function chipvue_type_template_id_42f677c2_render(_ctx, _cache, $props, $setup,
|
|
|
16820
16829
|
_: 1
|
|
16821
16830
|
}, 16, ["class", "aria-label"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
16822
16831
|
}
|
|
16823
|
-
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=
|
|
16832
|
+
;// CONCATENATED MODULE: ./components/chip/chip.vue?vue&type=template&id=790baeaf
|
|
16824
16833
|
|
|
16825
16834
|
;// CONCATENATED MODULE: ./components/chip/chip_constants.js
|
|
16826
16835
|
const CHIP_SIZE_MODIFIERS = {
|
|
@@ -16994,7 +17003,7 @@ const CHIP_ICON_SIZES = {
|
|
|
16994
17003
|
},
|
|
16995
17004
|
methods: {
|
|
16996
17005
|
chipClasses() {
|
|
16997
|
-
return [this.$attrs['grouped-chip'] ?
|
|
17006
|
+
return [this.$attrs['grouped-chip'] ? 'd-chip' : 'd-chip__label', CHIP_SIZE_MODIFIERS[this.size], this.labelClass];
|
|
16998
17007
|
},
|
|
16999
17008
|
|
|
17000
17009
|
chipCloseButtonClasses() {
|
|
@@ -17017,7 +17026,7 @@ const CHIP_ICON_SIZES = {
|
|
|
17017
17026
|
|
|
17018
17027
|
|
|
17019
17028
|
;
|
|
17020
|
-
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',
|
|
17029
|
+
const chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(chipvue_type_script_lang_js, [['render',chipvue_type_template_id_790baeaf_render]])
|
|
17021
17030
|
|
|
17022
17031
|
/* harmony default export */ const chip = (chip_exports_);
|
|
17023
17032
|
;// CONCATENATED MODULE: ./components/chip/index.js
|
|
@@ -24040,6 +24049,107 @@ const contact_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(contac
|
|
|
24040
24049
|
/* harmony default export */ const contact_row = (contact_row_exports_);
|
|
24041
24050
|
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
|
|
24042
24051
|
|
|
24052
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=template&id=46efd8e7
|
|
24053
|
+
|
|
24054
|
+
const unread_chipvue_type_template_id_46efd8e7_hoisted_1 = {
|
|
24055
|
+
"data-qa": "dt-leftbar-unread-chip__label"
|
|
24056
|
+
};
|
|
24057
|
+
function unread_chipvue_type_template_id_46efd8e7_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24058
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
24059
|
+
|
|
24060
|
+
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
24061
|
+
|
|
24062
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_chip, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
24063
|
+
class: ['dt-leftbar-unread-chip', `dt-leftbar-unread-chip__${$props.kind}`],
|
|
24064
|
+
"data-qa": "dt-leftbar-unread-chip",
|
|
24065
|
+
"hide-close": true
|
|
24066
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.unreadChipListeners)), {
|
|
24067
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
24068
|
+
name: `arrow-${$props.direction}`,
|
|
24069
|
+
size: "300"
|
|
24070
|
+
}, null, 8, ["name"])]),
|
|
24071
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", unread_chipvue_type_template_id_46efd8e7_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")])]),
|
|
24072
|
+
_: 3
|
|
24073
|
+
}, 16, ["class"]);
|
|
24074
|
+
}
|
|
24075
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=template&id=46efd8e7
|
|
24076
|
+
|
|
24077
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip_constants.js
|
|
24078
|
+
const UNREAD_BADGE_DIRECTIONS = ['up', 'down'];
|
|
24079
|
+
const UNREAD_BADGE_KINDS = ['mentions', 'messages'];
|
|
24080
|
+
/* harmony default export */ const unread_chip_constants = ({
|
|
24081
|
+
UNREAD_BADGE_DIRECTIONS,
|
|
24082
|
+
UNREAD_BADGE_KINDS
|
|
24083
|
+
});
|
|
24084
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=script&lang=js
|
|
24085
|
+
|
|
24086
|
+
|
|
24087
|
+
|
|
24088
|
+
/* harmony default export */ const unread_chipvue_type_script_lang_js = ({
|
|
24089
|
+
name: 'DtRecipeUnreadChip',
|
|
24090
|
+
components: {
|
|
24091
|
+
DtIcon: icon,
|
|
24092
|
+
DtChip: chip
|
|
24093
|
+
},
|
|
24094
|
+
props: {
|
|
24095
|
+
/**
|
|
24096
|
+
* The kind of unread chip which determines the styling
|
|
24097
|
+
* @values 'mentions', 'messages'
|
|
24098
|
+
**/
|
|
24099
|
+
kind: {
|
|
24100
|
+
type: String,
|
|
24101
|
+
required: true,
|
|
24102
|
+
validator: kind => UNREAD_BADGE_KINDS.includes(kind)
|
|
24103
|
+
},
|
|
24104
|
+
|
|
24105
|
+
/**
|
|
24106
|
+
* The direction of the arrow icon
|
|
24107
|
+
* @values 'up', 'down'
|
|
24108
|
+
**/
|
|
24109
|
+
direction: {
|
|
24110
|
+
type: String,
|
|
24111
|
+
required: true,
|
|
24112
|
+
validator: dir => UNREAD_BADGE_DIRECTIONS.includes(dir)
|
|
24113
|
+
}
|
|
24114
|
+
},
|
|
24115
|
+
emits: [
|
|
24116
|
+
/**
|
|
24117
|
+
* Native click event
|
|
24118
|
+
*
|
|
24119
|
+
* @event click
|
|
24120
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
24121
|
+
*/
|
|
24122
|
+
'click'],
|
|
24123
|
+
computed: {
|
|
24124
|
+
unreadChipListeners() {
|
|
24125
|
+
return {
|
|
24126
|
+
click: event => this.$emit('click', event)
|
|
24127
|
+
};
|
|
24128
|
+
}
|
|
24129
|
+
|
|
24130
|
+
}
|
|
24131
|
+
});
|
|
24132
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=script&lang=js
|
|
24133
|
+
|
|
24134
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-74.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-74.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-74.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-74.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=style&index=0&id=46efd8e7&lang=less
|
|
24135
|
+
// extracted by mini-css-extract-plugin
|
|
24136
|
+
|
|
24137
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue?vue&type=style&index=0&id=46efd8e7&lang=less
|
|
24138
|
+
|
|
24139
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/unread_chip.vue
|
|
24140
|
+
|
|
24141
|
+
|
|
24142
|
+
|
|
24143
|
+
|
|
24144
|
+
;
|
|
24145
|
+
|
|
24146
|
+
|
|
24147
|
+
const unread_chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(unread_chipvue_type_script_lang_js, [['render',unread_chipvue_type_template_id_46efd8e7_render]])
|
|
24148
|
+
|
|
24149
|
+
/* harmony default export */ const unread_chip = (unread_chip_exports_);
|
|
24150
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/unread_chip/index.js
|
|
24151
|
+
|
|
24152
|
+
|
|
24043
24153
|
;// CONCATENATED MODULE: ./common/mixins/index.js
|
|
24044
24154
|
|
|
24045
24155
|
|
|
@@ -24098,6 +24208,7 @@ const contact_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(contac
|
|
|
24098
24208
|
|
|
24099
24209
|
|
|
24100
24210
|
|
|
24211
|
+
|
|
24101
24212
|
// Mixins
|
|
24102
24213
|
|
|
24103
24214
|
// Constants
|