@dialpad/dialtone-vue 3.46.2 → 3.47.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 +21 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +598 -75
- package/dist/dialtone-vue.css +1 -1
- package/dist/dialtone-vue.umd.js +598 -75
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +11 -0
- package/dist/emoji.umd.js +11 -0
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +2 -2
|
@@ -1192,7 +1192,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1192
1192
|
"DtRecipeComboboxMultiSelect": () => (/* reexport */ combobox_multi_select),
|
|
1193
1193
|
"DtRecipeComboboxWithPopover": () => (/* reexport */ combobox_with_popover),
|
|
1194
1194
|
"DtRecipeContactInfo": () => (/* reexport */ contact_info),
|
|
1195
|
+
"DtRecipeContactRow": () => (/* reexport */ contact_row),
|
|
1195
1196
|
"DtRecipeGeneralRow": () => (/* reexport */ general_row),
|
|
1197
|
+
"DtRecipeGroupRow": () => (/* reexport */ group_row),
|
|
1196
1198
|
"DtRecipeGroupedChip": () => (/* reexport */ grouped_chip),
|
|
1197
1199
|
"DtRecipeIvrNode": () => (/* reexport */ ivr_node),
|
|
1198
1200
|
"DtRecipeTopBannerInfo": () => (/* reexport */ top_banner_info),
|
|
@@ -1262,6 +1264,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1262
1264
|
"TOOLTIP_STICKY_VALUES": () => (/* reexport */ TOOLTIP_STICKY_VALUES),
|
|
1263
1265
|
"USER_STATUS_COLOR_MODIFIERS": () => (/* reexport */ USER_STATUS_COLOR_MODIFIERS),
|
|
1264
1266
|
"VALIDATION_MESSAGE_TYPES": () => (/* reexport */ VALIDATION_MESSAGE_TYPES),
|
|
1267
|
+
"VALID_WIDTH_SIZE": () => (/* reexport */ VALID_WIDTH_SIZE),
|
|
1265
1268
|
"filterFormattedMessages": () => (/* reexport */ filterFormattedMessages),
|
|
1266
1269
|
"formatMessages": () => (/* reexport */ formatMessages),
|
|
1267
1270
|
"getUniqueString": () => (/* reexport */ getUniqueString),
|
|
@@ -1288,7 +1291,7 @@ if (typeof window !== 'undefined') {
|
|
|
1288
1291
|
|
|
1289
1292
|
;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
1290
1293
|
const external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
|
|
1291
|
-
;// 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=
|
|
1294
|
+
;// 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=0795f071
|
|
1292
1295
|
|
|
1293
1296
|
const _hoisted_1 = ["id"];
|
|
1294
1297
|
const _hoisted_2 = {
|
|
@@ -1321,7 +1324,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1321
1324
|
"data-qa": "dt-presence"
|
|
1322
1325
|
}), null, 16, ["presence", "class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 14, _hoisted_1);
|
|
1323
1326
|
}
|
|
1324
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
1327
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=0795f071
|
|
1325
1328
|
|
|
1326
1329
|
;// CONCATENATED MODULE: ./common/constants.js
|
|
1327
1330
|
/* TODO: Move and sort these in a constants directory
|
|
@@ -1795,7 +1798,7 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1795
1798
|
|
|
1796
1799
|
computed: {
|
|
1797
1800
|
avatarClasses() {
|
|
1798
|
-
return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.
|
|
1801
|
+
return ['d-avatar', AVATAR_SIZE_MODIFIERS[this.validatedSize], this.avatarClass, {
|
|
1799
1802
|
'd-avatar--no-gradient': !this.gradient,
|
|
1800
1803
|
'd-avatar--group': this.showGroup
|
|
1801
1804
|
}];
|
|
@@ -1825,6 +1828,11 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1825
1828
|
|
|
1826
1829
|
formattedGroup() {
|
|
1827
1830
|
return this.group > 99 ? '99+' : this.group;
|
|
1831
|
+
},
|
|
1832
|
+
|
|
1833
|
+
validatedSize() {
|
|
1834
|
+
// TODO: Group only supports xs size for now. Remove this when we support other sizes.
|
|
1835
|
+
return this.group ? 'xs' : this.size;
|
|
1828
1836
|
}
|
|
1829
1837
|
|
|
1830
1838
|
},
|
|
@@ -1885,9 +1893,9 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1885
1893
|
formatInitials(initials) {
|
|
1886
1894
|
if (!initials) return;
|
|
1887
1895
|
|
|
1888
|
-
if (this.
|
|
1896
|
+
if (this.validatedSize === 'xs') {
|
|
1889
1897
|
this.formattedInitials = '';
|
|
1890
|
-
} else if (this.
|
|
1898
|
+
} else if (this.validatedSize === 'sm') {
|
|
1891
1899
|
this.formattedInitials = initials.trim()[0];
|
|
1892
1900
|
} else {
|
|
1893
1901
|
this.formattedInitials = initials.trim().slice(0, 2);
|
|
@@ -1960,10 +1968,10 @@ const AVATAR_GROUP_VALIDATOR = group => group > 1;
|
|
|
1960
1968
|
});
|
|
1961
1969
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
1962
1970
|
|
|
1963
|
-
;// 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=
|
|
1971
|
+
;// 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=0795f071&lang=less
|
|
1964
1972
|
// extracted by mini-css-extract-plugin
|
|
1965
1973
|
|
|
1966
|
-
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=
|
|
1974
|
+
;// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=style&index=0&id=0795f071&lang=less
|
|
1967
1975
|
|
|
1968
1976
|
;// CONCATENATED MODULE: ./components/avatar/avatar.vue
|
|
1969
1977
|
|
|
@@ -3109,6 +3117,7 @@ const focusableElementsList = `button,[href],input,select,textarea,details,[tabi
|
|
|
3109
3117
|
_getFocusableElements() {
|
|
3110
3118
|
let el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.$el;
|
|
3111
3119
|
let includeNegativeTabIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
3120
|
+
if (!el) return [];
|
|
3112
3121
|
const focusableContent = [...el.querySelectorAll(focusableElementsList)];
|
|
3113
3122
|
return focusableContent.filter(fc => {
|
|
3114
3123
|
const style = window.getComputedStyle(fc);
|
|
@@ -18509,17 +18518,17 @@ const stack_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(stackvue_typ
|
|
|
18509
18518
|
/* harmony default export */ const stack = (stack_exports_);
|
|
18510
18519
|
;// CONCATENATED MODULE: ./components/stack/index.js
|
|
18511
18520
|
|
|
18512
|
-
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18521
|
+
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=bdafd0f4
|
|
18513
18522
|
|
|
18514
|
-
const
|
|
18515
|
-
const
|
|
18523
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_1 = ["id"];
|
|
18524
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_2 = {
|
|
18516
18525
|
ref: "header"
|
|
18517
18526
|
};
|
|
18518
|
-
const
|
|
18519
|
-
const
|
|
18527
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18528
|
+
const combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_4 = {
|
|
18520
18529
|
ref: "footer"
|
|
18521
18530
|
};
|
|
18522
|
-
function
|
|
18531
|
+
function combobox_with_popovervue_type_template_id_bdafd0f4_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18523
18532
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18524
18533
|
|
|
18525
18534
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18558,7 +18567,7 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18558
18567
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18559
18568
|
inputProps: inputProps,
|
|
18560
18569
|
onInput: $options.handleDisplayList
|
|
18561
|
-
})], 40,
|
|
18570
|
+
})], 40, combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_1)];
|
|
18562
18571
|
}),
|
|
18563
18572
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18564
18573
|
let {
|
|
@@ -18604,22 +18613,22 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18604
18613
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18605
18614
|
key: 2,
|
|
18606
18615
|
listProps: listProps
|
|
18607
|
-
})], 42,
|
|
18616
|
+
})], 42, combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_3)]),
|
|
18608
18617
|
_: 2
|
|
18609
18618
|
}, [$data.hasSlotContent(_ctx.$slots.header) ? {
|
|
18610
18619
|
name: "headerContent",
|
|
18611
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18620
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18612
18621
|
key: "0"
|
|
18613
18622
|
} : undefined, $data.hasSlotContent(_ctx.$slots.footer) ? {
|
|
18614
18623
|
name: "footerContent",
|
|
18615
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18624
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_with_popovervue_type_template_id_bdafd0f4_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18616
18625
|
key: "1"
|
|
18617
18626
|
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "append-to", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18618
18627
|
}),
|
|
18619
18628
|
_: 3
|
|
18620
18629
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18621
18630
|
}
|
|
18622
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18631
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=bdafd0f4
|
|
18623
18632
|
|
|
18624
18633
|
;// 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/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=script&lang=js
|
|
18625
18634
|
/* eslint-disable vuejs-accessibility/no-static-element-interactions */
|
|
@@ -18967,12 +18976,12 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18967
18976
|
},
|
|
18968
18977
|
|
|
18969
18978
|
onFocusOut(e) {
|
|
18979
|
+
var _this$$refs$popover$t, _e$composedPath;
|
|
18980
|
+
|
|
18970
18981
|
// Check if the focus change was to another target within the combobox component
|
|
18971
|
-
const
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
});
|
|
18975
|
-
if (isComboboxStillFocused) return; // If outside the combobox then close
|
|
18982
|
+
const popoverEl = (_this$$refs$popover$t = this.$refs.popover.tip) === null || _this$$refs$popover$t === void 0 ? void 0 : _this$$refs$popover$t.popper;
|
|
18983
|
+
const comboboxEl = this.$refs.input;
|
|
18984
|
+
if ((_e$composedPath = e.composedPath()) !== null && _e$composedPath !== void 0 && _e$composedPath.some(el => [popoverEl, comboboxEl].includes(el))) return; // If outside the combobox then close
|
|
18976
18985
|
|
|
18977
18986
|
this.closeComboboxList();
|
|
18978
18987
|
},
|
|
@@ -18995,7 +19004,7 @@ function combobox_with_popovervue_type_template_id_935fbcea_render(_ctx, _cache,
|
|
|
18995
19004
|
|
|
18996
19005
|
|
|
18997
19006
|
;
|
|
18998
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
19007
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_bdafd0f4_render]])
|
|
18999
19008
|
|
|
19000
19009
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
19001
19010
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
@@ -19720,9 +19729,9 @@ const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
19720
19729
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|
|
19721
19730
|
|
|
19722
19731
|
|
|
19723
|
-
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=template&id=
|
|
19732
|
+
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=template&id=5a354a3a
|
|
19724
19733
|
|
|
19725
|
-
function
|
|
19734
|
+
function callbar_buttonvue_type_template_id_5a354a3a_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19726
19735
|
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
19727
19736
|
|
|
19728
19737
|
const _component_dt_tooltip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-tooltip");
|
|
@@ -19738,23 +19747,24 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19738
19747
|
disabled: $props.disabled,
|
|
19739
19748
|
"aria-label": $props.ariaLabel,
|
|
19740
19749
|
"label-class": "d-fs-100",
|
|
19741
|
-
width:
|
|
19750
|
+
width: $options.buttonWidth,
|
|
19742
19751
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.callbarButtonClass)
|
|
19743
19752
|
}, {
|
|
19744
19753
|
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "icon")]),
|
|
19745
19754
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
19746
19755
|
_: 3
|
|
19747
|
-
}, 8, ["importance", "disabled", "aria-label", "class"])]),
|
|
19756
|
+
}, 8, ["importance", "disabled", "aria-label", "width", "class"])]),
|
|
19748
19757
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "tooltip")]),
|
|
19749
19758
|
_: 3
|
|
19750
19759
|
}, 8, ["id"]);
|
|
19751
19760
|
}
|
|
19752
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=
|
|
19761
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=template&id=5a354a3a
|
|
19753
19762
|
|
|
19754
19763
|
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js
|
|
19755
19764
|
|
|
19756
19765
|
|
|
19757
19766
|
|
|
19767
|
+
const VALID_WIDTH_SIZE = ['sm', 'md', 'lg', 'xl'];
|
|
19758
19768
|
/* harmony default export */ const callbar_buttonvue_type_script_lang_js = ({
|
|
19759
19769
|
name: 'DtRecipeCallbarButton',
|
|
19760
19770
|
components: {
|
|
@@ -19834,6 +19844,15 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19834
19844
|
buttonClass: {
|
|
19835
19845
|
type: [String, Array, Object],
|
|
19836
19846
|
default: ''
|
|
19847
|
+
},
|
|
19848
|
+
|
|
19849
|
+
/*
|
|
19850
|
+
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
19851
|
+
*/
|
|
19852
|
+
buttonWidthSize: {
|
|
19853
|
+
type: String,
|
|
19854
|
+
default: 'xl',
|
|
19855
|
+
validator: size => VALID_WIDTH_SIZE.includes(size)
|
|
19837
19856
|
}
|
|
19838
19857
|
},
|
|
19839
19858
|
computed: {
|
|
@@ -19844,16 +19863,29 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19844
19863
|
'dt-recipe-callbar-button--active': this.active,
|
|
19845
19864
|
'dt-recipe-callbar-button--danger': this.danger
|
|
19846
19865
|
}];
|
|
19866
|
+
},
|
|
19867
|
+
|
|
19868
|
+
buttonWidth() {
|
|
19869
|
+
switch (this.buttonWidthSize) {
|
|
19870
|
+
case 'sm':
|
|
19871
|
+
return '4.5rem';
|
|
19872
|
+
|
|
19873
|
+
case 'md':
|
|
19874
|
+
return '6rem';
|
|
19875
|
+
|
|
19876
|
+
default:
|
|
19877
|
+
return '8.4rem';
|
|
19878
|
+
}
|
|
19847
19879
|
}
|
|
19848
19880
|
|
|
19849
19881
|
}
|
|
19850
19882
|
});
|
|
19851
19883
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=script&lang=js
|
|
19852
19884
|
|
|
19853
|
-
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=
|
|
19885
|
+
;// 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/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=5a354a3a&lang=less
|
|
19854
19886
|
// extracted by mini-css-extract-plugin
|
|
19855
19887
|
|
|
19856
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=
|
|
19888
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue?vue&type=style&index=0&id=5a354a3a&lang=less
|
|
19857
19889
|
|
|
19858
19890
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/callbar_button.vue
|
|
19859
19891
|
|
|
@@ -19863,17 +19895,17 @@ function callbar_buttonvue_type_template_id_8f55595a_render(_ctx, _cache, $props
|
|
|
19863
19895
|
;
|
|
19864
19896
|
|
|
19865
19897
|
|
|
19866
|
-
const callbar_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_buttonvue_type_script_lang_js, [['render',
|
|
19898
|
+
const callbar_button_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_buttonvue_type_script_lang_js, [['render',callbar_buttonvue_type_template_id_5a354a3a_render]])
|
|
19867
19899
|
|
|
19868
19900
|
/* harmony default export */ const callbar_button = (callbar_button_exports_);
|
|
19869
19901
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button/index.js
|
|
19870
19902
|
|
|
19871
|
-
;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=
|
|
19903
|
+
;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=fef43d00
|
|
19872
19904
|
|
|
19873
|
-
const
|
|
19874
|
-
class: "
|
|
19905
|
+
const callbar_button_with_popovervue_type_template_id_fef43d00_hoisted_1 = {
|
|
19906
|
+
class: "d-d-flex d-ai-center"
|
|
19875
19907
|
};
|
|
19876
|
-
function
|
|
19908
|
+
function callbar_button_with_popovervue_type_template_id_fef43d00_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19877
19909
|
const _component_dt_recipe_callbar_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-callbar-button");
|
|
19878
19910
|
|
|
19879
19911
|
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
@@ -19882,12 +19914,13 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19882
19914
|
|
|
19883
19915
|
const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
|
|
19884
19916
|
|
|
19885
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
19917
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", callbar_button_with_popovervue_type_template_id_fef43d00_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_recipe_callbar_button, {
|
|
19886
19918
|
"aria-label": $props.ariaLabel,
|
|
19887
19919
|
disabled: $props.disabled,
|
|
19888
19920
|
active: $props.active,
|
|
19889
19921
|
danger: $props.danger,
|
|
19890
19922
|
"button-class": $props.buttonClass,
|
|
19923
|
+
"button-width-size": $props.buttonWidthSize,
|
|
19891
19924
|
class: "dt-recipe--callbar-button-with-popover--main-button",
|
|
19892
19925
|
onClick: $options.buttonClick
|
|
19893
19926
|
}, {
|
|
@@ -19895,7 +19928,7 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19895
19928
|
tooltip: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "tooltip")]),
|
|
19896
19929
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")]),
|
|
19897
19930
|
_: 3
|
|
19898
|
-
}, 8, ["aria-label", "disabled", "active", "danger", "button-class", "onClick"]), $options.showArrowButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_popover, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
19931
|
+
}, 8, ["aria-label", "disabled", "active", "danger", "button-class", "button-width-size", "onClick"]), $options.showArrowButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_popover, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
19899
19932
|
key: 0,
|
|
19900
19933
|
id: $props.id,
|
|
19901
19934
|
open: $data.open,
|
|
@@ -19913,7 +19946,7 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19913
19946
|
circle: "",
|
|
19914
19947
|
importance: "clear",
|
|
19915
19948
|
size: "lg",
|
|
19916
|
-
class:
|
|
19949
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['dt-recipe--callbar-button-with-popover--arrow', $options.isCompactMode ? 'd-mln16' : 'd-mln24']),
|
|
19917
19950
|
width: "2rem",
|
|
19918
19951
|
"aria-label": $props.arrowButtonLabel,
|
|
19919
19952
|
active: $data.open,
|
|
@@ -19924,14 +19957,14 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
19924
19957
|
size: "200"
|
|
19925
19958
|
})]),
|
|
19926
19959
|
_: 1
|
|
19927
|
-
}, 8, ["aria-label", "active", "onClick"])]),
|
|
19960
|
+
}, 8, ["class", "aria-label", "active", "onClick"])]),
|
|
19928
19961
|
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "content")]),
|
|
19929
19962
|
headerContent: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "headerContent")]),
|
|
19930
19963
|
footerContent: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footerContent")]),
|
|
19931
19964
|
_: 3
|
|
19932
19965
|
}, 16, ["id", "open", "placement", "initial-focus-element", "show-close-button", "dialog-class", "onOpened"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]);
|
|
19933
19966
|
}
|
|
19934
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=
|
|
19967
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=template&id=fef43d00
|
|
19935
19968
|
|
|
19936
19969
|
;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js
|
|
19937
19970
|
|
|
@@ -20086,6 +20119,15 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20086
20119
|
default: ''
|
|
20087
20120
|
},
|
|
20088
20121
|
|
|
20122
|
+
/*
|
|
20123
|
+
* Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.
|
|
20124
|
+
*/
|
|
20125
|
+
buttonWidthSize: {
|
|
20126
|
+
type: String,
|
|
20127
|
+
default: 'xl',
|
|
20128
|
+
validator: size => VALID_WIDTH_SIZE.includes(size)
|
|
20129
|
+
},
|
|
20130
|
+
|
|
20089
20131
|
/**
|
|
20090
20132
|
* Additional class name for the popover content wrapper element.
|
|
20091
20133
|
*/
|
|
@@ -20116,6 +20158,10 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20116
20158
|
computed: {
|
|
20117
20159
|
showArrowButton() {
|
|
20118
20160
|
return this.forceShowArrow || !this.disabled;
|
|
20161
|
+
},
|
|
20162
|
+
|
|
20163
|
+
isCompactMode() {
|
|
20164
|
+
return this.buttonWidthSize === 'sm';
|
|
20119
20165
|
}
|
|
20120
20166
|
|
|
20121
20167
|
},
|
|
@@ -20143,10 +20189,10 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20143
20189
|
});
|
|
20144
20190
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=script&lang=js
|
|
20145
20191
|
|
|
20146
|
-
;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=
|
|
20192
|
+
;// 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/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=fef43d00&lang=less
|
|
20147
20193
|
// extracted by mini-css-extract-plugin
|
|
20148
20194
|
|
|
20149
|
-
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=
|
|
20195
|
+
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue?vue&type=style&index=0&id=fef43d00&lang=less
|
|
20150
20196
|
|
|
20151
20197
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue
|
|
20152
20198
|
|
|
@@ -20156,7 +20202,7 @@ function callbar_button_with_popovervue_type_template_id_cd71689c_render(_ctx, _
|
|
|
20156
20202
|
;
|
|
20157
20203
|
|
|
20158
20204
|
|
|
20159
|
-
const callbar_button_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_button_with_popovervue_type_script_lang_js, [['render',
|
|
20205
|
+
const callbar_button_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(callbar_button_with_popovervue_type_script_lang_js, [['render',callbar_button_with_popovervue_type_template_id_fef43d00_render]])
|
|
20160
20206
|
|
|
20161
20207
|
/* harmony default export */ const callbar_button_with_popover = (callbar_button_with_popover_exports_);
|
|
20162
20208
|
;// CONCATENATED MODULE: ./recipes/buttons/callbar_button_with_popover/index.js
|
|
@@ -20753,51 +20799,87 @@ const grouped_chip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(group
|
|
|
20753
20799
|
/* harmony default export */ const grouped_chip = (grouped_chip_exports_);
|
|
20754
20800
|
;// CONCATENATED MODULE: ./recipes/chips/grouped_chip/index.js
|
|
20755
20801
|
|
|
20756
|
-
;// 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/general_row/general_row.vue?vue&type=template&id=
|
|
20802
|
+
;// 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/general_row/general_row.vue?vue&type=template&id=06ebf262
|
|
20757
20803
|
|
|
20758
|
-
const
|
|
20804
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_1 = {
|
|
20759
20805
|
class: "dt-leftbar-row__alpha"
|
|
20760
20806
|
};
|
|
20761
|
-
const
|
|
20807
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_2 = {
|
|
20762
20808
|
class: "dt-leftbar-row__label"
|
|
20763
20809
|
};
|
|
20764
|
-
const
|
|
20810
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_3 = {
|
|
20765
20811
|
class: "dt-leftbar-row__omega"
|
|
20766
20812
|
};
|
|
20767
|
-
|
|
20813
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_4 = {
|
|
20814
|
+
key: 0,
|
|
20815
|
+
class: "dt-leftbar-row__dnd"
|
|
20816
|
+
};
|
|
20817
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_5 = {
|
|
20818
|
+
key: 1,
|
|
20819
|
+
class: "dt-leftbar-row__active-voice"
|
|
20820
|
+
};
|
|
20821
|
+
const general_rowvue_type_template_id_06ebf262_hoisted_6 = {
|
|
20822
|
+
key: 0,
|
|
20823
|
+
class: "dt-leftbar-row__action",
|
|
20824
|
+
"data-qa": "dt-leftbar-row-action"
|
|
20825
|
+
};
|
|
20826
|
+
function general_rowvue_type_template_id_06ebf262_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20768
20827
|
const _component_dt_recipe_leftbar_general_row_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-leftbar-general-row-icon");
|
|
20769
20828
|
|
|
20770
20829
|
const _component_dt_emoji_text_wrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-emoji-text-wrapper");
|
|
20771
20830
|
|
|
20831
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
20832
|
+
|
|
20772
20833
|
const _component_dt_badge = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-badge");
|
|
20773
20834
|
|
|
20835
|
+
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
20836
|
+
|
|
20774
20837
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
20775
20838
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.leftbarGeneralRowClasses),
|
|
20776
20839
|
"data-qa": "dt-leftbar-row"
|
|
20777
20840
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("button", (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
20778
20841
|
class: "dt-leftbar-row__primary",
|
|
20779
20842
|
"data-qa": "dt-leftbar-row-link"
|
|
20780
|
-
}, _ctx.$attrs), [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20843
|
+
}, _ctx.$attrs), [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", general_rowvue_type_template_id_06ebf262_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "left", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_recipe_leftbar_general_row_icon, {
|
|
20781
20844
|
type: $options.getIcon,
|
|
20782
20845
|
color: $props.color,
|
|
20783
20846
|
"data-qa": "dt-leftbar-row-icon"
|
|
20784
|
-
}, null, 8, ["type", "color"])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20847
|
+
}, null, 8, ["type", "color"])])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", general_rowvue_type_template_id_06ebf262_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "label", {}, () => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_emoji_text_wrapper, {
|
|
20785
20848
|
class: "dt-leftbar-row__description",
|
|
20786
20849
|
"data-qa": "dt-leftbar-row-description"
|
|
20787
20850
|
}, {
|
|
20788
20851
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.description), 1)]),
|
|
20789
20852
|
_: 1
|
|
20790
|
-
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
20791
|
-
|
|
20853
|
+
})])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", general_rowvue_type_template_id_06ebf262_hoisted_3, [$props.dndText ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", general_rowvue_type_template_id_06ebf262_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.dndText), 1)) : $props.activeVoiceChat ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", general_rowvue_type_template_id_06ebf262_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
20854
|
+
size: "300",
|
|
20855
|
+
name: "activity"
|
|
20856
|
+
})])) : !!$props.unreadCount && $props.hasUnreads ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_badge, {
|
|
20857
|
+
key: 2,
|
|
20792
20858
|
kind: "count",
|
|
20793
20859
|
type: "bulletin",
|
|
20794
20860
|
"data-qa": "dt-leftbar-row-unread-badge"
|
|
20795
20861
|
}, {
|
|
20796
20862
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.unreadCount), 1)]),
|
|
20797
20863
|
_: 1
|
|
20798
|
-
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 16)
|
|
20864
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])], 16), $props.hasCallButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", general_rowvue_type_template_id_06ebf262_hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
20865
|
+
class: "dt-leftbar-row__action-button",
|
|
20866
|
+
"data-qa": "dt-leftbar-row-action-call-button",
|
|
20867
|
+
circle: "",
|
|
20868
|
+
size: "xs",
|
|
20869
|
+
kind: "inverted",
|
|
20870
|
+
onFocus: _cache[0] || (_cache[0] = $event => $data.actionFocused = true),
|
|
20871
|
+
onBlur: _cache[1] || (_cache[1] = $event => $data.actionFocused = false),
|
|
20872
|
+
onMouseout: _cache[2] || (_cache[2] = $event => $data.actionFocused = false),
|
|
20873
|
+
onClick: _cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => _ctx.$emit('call', $event), ["stop"]))
|
|
20874
|
+
}, {
|
|
20875
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_icon, {
|
|
20876
|
+
name: "phone",
|
|
20877
|
+
size: "200"
|
|
20878
|
+
})]),
|
|
20879
|
+
_: 1
|
|
20880
|
+
})])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 2);
|
|
20799
20881
|
}
|
|
20800
|
-
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=
|
|
20882
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=template&id=06ebf262
|
|
20801
20883
|
|
|
20802
20884
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row_constants.js
|
|
20803
20885
|
const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
@@ -20807,7 +20889,9 @@ const LEFTBAR_GENERAL_ROW_TYPES = {
|
|
|
20807
20889
|
THREADS: 'threads',
|
|
20808
20890
|
LOCKED_CHANNEL: 'locked channel',
|
|
20809
20891
|
CONTACT_CENTER: 'contact center',
|
|
20810
|
-
DIALBOT: 'dialbot'
|
|
20892
|
+
DIALBOT: 'dialbot',
|
|
20893
|
+
ASSIGNED: 'assigned',
|
|
20894
|
+
DIGITAL: 'digital'
|
|
20811
20895
|
};
|
|
20812
20896
|
const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
20813
20897
|
[LEFTBAR_GENERAL_ROW_TYPES.INBOX]: 'inbox',
|
|
@@ -20816,20 +20900,28 @@ const LEFTBAR_GENERAL_ROW_ICON_MAPPING = {
|
|
|
20816
20900
|
[LEFTBAR_GENERAL_ROW_TYPES.THREADS]: 'thread',
|
|
20817
20901
|
[LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL]: 'lock',
|
|
20818
20902
|
'locked channel unread': 'lock-filled',
|
|
20819
|
-
'channel unread': 'hash-bold'
|
|
20903
|
+
'channel unread': 'hash-bold',
|
|
20904
|
+
[LEFTBAR_GENERAL_ROW_TYPES.ASSIGNED]: 'at-sign',
|
|
20905
|
+
[LEFTBAR_GENERAL_ROW_TYPES.DIGITAL]: 'message'
|
|
20820
20906
|
};
|
|
20821
20907
|
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS = {
|
|
20822
|
-
|
|
20823
|
-
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
magenta: 'd-bgc-magenta-300',
|
|
20827
|
-
|
|
20908
|
+
'magenta-200': 'd-bgc-magenta-200',
|
|
20909
|
+
'green-200': 'd-bgc-green-200',
|
|
20910
|
+
'gold-300': 'd-bgc-gold-300',
|
|
20911
|
+
'purple-600': 'd-bgc-purple-600',
|
|
20912
|
+
'magenta-300': 'd-bgc-magenta-300',
|
|
20913
|
+
'purple-300': 'd-bgc-purple-300',
|
|
20914
|
+
'green-500': 'd-bgc-green-500',
|
|
20915
|
+
'purple-100': 'd-bgc-purple-100',
|
|
20916
|
+
'magenta-400': 'd-bgc-magenta-400',
|
|
20917
|
+
'magenta-100': 'd-bgc-magenta-100'
|
|
20828
20918
|
};
|
|
20919
|
+
const LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR = 'If type is contact center, color must be one' + 'of the following:' + Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).join(', ');
|
|
20829
20920
|
/* harmony default export */ const general_row_constants = ({
|
|
20830
20921
|
LEFTBAR_GENERAL_ROW_TYPES,
|
|
20831
20922
|
LEFTBAR_GENERAL_ROW_ICON_MAPPING,
|
|
20832
|
-
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS
|
|
20923
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS,
|
|
20924
|
+
LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR
|
|
20833
20925
|
});
|
|
20834
20926
|
;// 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/emoji/emoji.vue?vue&type=template&id=147e0534
|
|
20835
20927
|
|
|
@@ -21225,6 +21317,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
|
|
|
21225
21317
|
|
|
21226
21318
|
|
|
21227
21319
|
|
|
21320
|
+
|
|
21228
21321
|
/**
|
|
21229
21322
|
* Wrapper to find and replace shortcodes like :smile: or unicode chars such as 😄 with our custom Emojis implementation.
|
|
21230
21323
|
* @see https://dialpad.design/components/emoji_text_wrapper.html
|
|
@@ -21243,6 +21336,15 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
|
|
|
21243
21336
|
elementType: {
|
|
21244
21337
|
type: String,
|
|
21245
21338
|
default: 'div'
|
|
21339
|
+
},
|
|
21340
|
+
|
|
21341
|
+
/**
|
|
21342
|
+
* The icon size to render the emojis at: 100 to 800
|
|
21343
|
+
*/
|
|
21344
|
+
size: {
|
|
21345
|
+
type: String,
|
|
21346
|
+
default: '500',
|
|
21347
|
+
validator: t => Object.keys(ICON_SIZE_MODIFIERS).includes(t)
|
|
21246
21348
|
}
|
|
21247
21349
|
},
|
|
21248
21350
|
|
|
@@ -21268,6 +21370,7 @@ const emoji_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(emojivue_typ
|
|
|
21268
21370
|
if (replaceList.includes(item)) {
|
|
21269
21371
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.h)(emoji, { ...this.$attrs,
|
|
21270
21372
|
class: 'd-mx4 d-d-inline-block',
|
|
21373
|
+
size: this.size,
|
|
21271
21374
|
code: item
|
|
21272
21375
|
});
|
|
21273
21376
|
}
|
|
@@ -21447,11 +21550,16 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21447
21550
|
|
|
21448
21551
|
|
|
21449
21552
|
|
|
21553
|
+
|
|
21554
|
+
|
|
21555
|
+
|
|
21450
21556
|
/* harmony default export */ const general_rowvue_type_script_lang_js = ({
|
|
21451
21557
|
name: 'DtRecipeGeneralRow',
|
|
21452
21558
|
components: {
|
|
21453
21559
|
DtEmojiTextWrapper: emoji_text_wrapper,
|
|
21454
21560
|
DtBadge: badge,
|
|
21561
|
+
DtIcon: icon,
|
|
21562
|
+
DtButton: button_button,
|
|
21455
21563
|
DtRecipeLeftbarGeneralRowIcon: leftbar_general_row_icon
|
|
21456
21564
|
},
|
|
21457
21565
|
inheritAttrs: false,
|
|
@@ -21487,6 +21595,15 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21487
21595
|
}
|
|
21488
21596
|
},
|
|
21489
21597
|
|
|
21598
|
+
/**
|
|
21599
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
21600
|
+
* the unread count badge.
|
|
21601
|
+
*/
|
|
21602
|
+
hasUnreads: {
|
|
21603
|
+
type: Boolean,
|
|
21604
|
+
default: false
|
|
21605
|
+
},
|
|
21606
|
+
|
|
21490
21607
|
/**
|
|
21491
21608
|
* Number of unread messages
|
|
21492
21609
|
*/
|
|
@@ -21501,32 +21618,83 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21501
21618
|
selected: {
|
|
21502
21619
|
type: Boolean,
|
|
21503
21620
|
default: false
|
|
21621
|
+
},
|
|
21622
|
+
|
|
21623
|
+
/**
|
|
21624
|
+
* Gives a faded style to be used when muted
|
|
21625
|
+
*/
|
|
21626
|
+
muted: {
|
|
21627
|
+
type: Boolean,
|
|
21628
|
+
default: false
|
|
21629
|
+
},
|
|
21630
|
+
|
|
21631
|
+
/**
|
|
21632
|
+
* Shows styling to represent an active voice chat. This will display over unreadCount.
|
|
21633
|
+
*/
|
|
21634
|
+
activeVoiceChat: {
|
|
21635
|
+
type: Boolean,
|
|
21636
|
+
default: false
|
|
21637
|
+
},
|
|
21638
|
+
|
|
21639
|
+
/**
|
|
21640
|
+
* Acronym used to represent "Do not Disturb" state. If entered will display the entered text over
|
|
21641
|
+
* unreadCount and activeVoiceChat.
|
|
21642
|
+
*/
|
|
21643
|
+
dndText: {
|
|
21644
|
+
type: String,
|
|
21645
|
+
default: ''
|
|
21646
|
+
},
|
|
21647
|
+
|
|
21648
|
+
/**
|
|
21649
|
+
* Whether the row should have a call button. Usually only applicable to individual contact rows.
|
|
21650
|
+
*/
|
|
21651
|
+
hasCallButton: {
|
|
21652
|
+
type: Boolean,
|
|
21653
|
+
default: false
|
|
21504
21654
|
}
|
|
21505
21655
|
},
|
|
21656
|
+
emits: [
|
|
21657
|
+
/**
|
|
21658
|
+
* Call button clicked
|
|
21659
|
+
*
|
|
21660
|
+
* @event call
|
|
21661
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
21662
|
+
*/
|
|
21663
|
+
'call'],
|
|
21664
|
+
|
|
21665
|
+
data() {
|
|
21666
|
+
return {
|
|
21667
|
+
actionFocused: false
|
|
21668
|
+
};
|
|
21669
|
+
},
|
|
21670
|
+
|
|
21506
21671
|
computed: {
|
|
21507
21672
|
leftbarGeneralRowClasses() {
|
|
21508
|
-
return ['dt-leftbar-row',
|
|
21509
|
-
'dt-leftbar-row--
|
|
21510
|
-
'dt-leftbar-row--
|
|
21673
|
+
return ['dt-leftbar-row', {
|
|
21674
|
+
'dt-leftbar-row--no-action': !this.hasCallButton,
|
|
21675
|
+
'dt-leftbar-row--has-unread': this.hasUnreads,
|
|
21676
|
+
'dt-leftbar-row--selected': this.selected,
|
|
21677
|
+
'dt-leftbar-row--muted': this.muted,
|
|
21678
|
+
'dt-leftbar-row--action-focused': this.actionFocused
|
|
21511
21679
|
}];
|
|
21512
21680
|
},
|
|
21513
21681
|
|
|
21514
21682
|
getIcon() {
|
|
21515
21683
|
switch (this.type) {
|
|
21516
21684
|
case LEFTBAR_GENERAL_ROW_TYPES.CHANNELS:
|
|
21517
|
-
if (this.
|
|
21685
|
+
if (this.hasUnreads) return 'channel unread';
|
|
21518
21686
|
break;
|
|
21519
21687
|
|
|
21520
21688
|
case LEFTBAR_GENERAL_ROW_TYPES.LOCKED_CHANNEL:
|
|
21521
|
-
if (this.
|
|
21689
|
+
if (this.hasUnreads) return 'locked channel unread';
|
|
21522
21690
|
break;
|
|
21523
21691
|
}
|
|
21524
21692
|
|
|
21525
21693
|
return this.type;
|
|
21526
21694
|
},
|
|
21527
21695
|
|
|
21528
|
-
|
|
21529
|
-
return
|
|
21696
|
+
generalRowListeners() {
|
|
21697
|
+
return extractVueListeners(this.$attrs);
|
|
21530
21698
|
}
|
|
21531
21699
|
|
|
21532
21700
|
},
|
|
@@ -21544,7 +21712,7 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21544
21712
|
methods: {
|
|
21545
21713
|
validateProps() {
|
|
21546
21714
|
if (this.type === LEFTBAR_GENERAL_ROW_TYPES.CONTACT_CENTER && !Object.keys(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS).includes(this.color)) {
|
|
21547
|
-
console.error(
|
|
21715
|
+
console.error(LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR);
|
|
21548
21716
|
}
|
|
21549
21717
|
}
|
|
21550
21718
|
|
|
@@ -21552,10 +21720,10 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21552
21720
|
});
|
|
21553
21721
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=script&lang=js
|
|
21554
21722
|
|
|
21555
|
-
;// 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/general_row/general_row.vue?vue&type=style&index=0&id=
|
|
21723
|
+
;// 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/general_row/general_row.vue?vue&type=style&index=0&id=06ebf262&lang=less
|
|
21556
21724
|
// extracted by mini-css-extract-plugin
|
|
21557
21725
|
|
|
21558
|
-
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=style&index=0&id=
|
|
21726
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue?vue&type=style&index=0&id=06ebf262&lang=less
|
|
21559
21727
|
|
|
21560
21728
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/general_row.vue
|
|
21561
21729
|
|
|
@@ -21565,12 +21733,365 @@ const leftbar_general_row_icon_exports_ = /*#__PURE__*/(0,exportHelper/* default
|
|
|
21565
21733
|
;
|
|
21566
21734
|
|
|
21567
21735
|
|
|
21568
|
-
const general_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(general_rowvue_type_script_lang_js, [['render',
|
|
21736
|
+
const general_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(general_rowvue_type_script_lang_js, [['render',general_rowvue_type_template_id_06ebf262_render]])
|
|
21569
21737
|
|
|
21570
21738
|
/* harmony default export */ const general_row = (general_row_exports_);
|
|
21571
21739
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
21572
21740
|
|
|
21573
21741
|
|
|
21742
|
+
;// 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/group_row/group_row.vue?vue&type=template&id=29f5cb33
|
|
21743
|
+
|
|
21744
|
+
const group_rowvue_type_template_id_29f5cb33_hoisted_1 = ["src", "alt"];
|
|
21745
|
+
function group_rowvue_type_template_id_29f5cb33_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21746
|
+
const _component_dt_avatar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-avatar");
|
|
21747
|
+
|
|
21748
|
+
const _component_dt_recipe_general_row = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-general-row");
|
|
21749
|
+
|
|
21750
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_recipe_general_row, {
|
|
21751
|
+
description: $props.names,
|
|
21752
|
+
"unread-count": $props.unreadCount,
|
|
21753
|
+
"has-unreads": $props.hasUnreads,
|
|
21754
|
+
selected: $props.selected
|
|
21755
|
+
}, {
|
|
21756
|
+
left: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_avatar, {
|
|
21757
|
+
initials: $props.avatarInitials,
|
|
21758
|
+
group: $props.groupCount
|
|
21759
|
+
}, {
|
|
21760
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("img", {
|
|
21761
|
+
"data-qa": "dt-avatar-image",
|
|
21762
|
+
src: $props.avatarSrc,
|
|
21763
|
+
alt: $props.avatarInitials
|
|
21764
|
+
}, null, 8, group_rowvue_type_template_id_29f5cb33_hoisted_1)]),
|
|
21765
|
+
_: 1
|
|
21766
|
+
}, 8, ["initials", "group"])]),
|
|
21767
|
+
_: 1
|
|
21768
|
+
}, 8, ["description", "unread-count", "has-unreads", "selected"]);
|
|
21769
|
+
}
|
|
21770
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=29f5cb33
|
|
21771
|
+
|
|
21772
|
+
;// 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/group_row/group_row.vue?vue&type=script&lang=js
|
|
21773
|
+
|
|
21774
|
+
|
|
21775
|
+
/* harmony default export */ const group_rowvue_type_script_lang_js = ({
|
|
21776
|
+
name: 'DtRecipeGroupRow',
|
|
21777
|
+
components: {
|
|
21778
|
+
DtAvatar: avatar,
|
|
21779
|
+
DtRecipeGeneralRow: general_row
|
|
21780
|
+
},
|
|
21781
|
+
props: {
|
|
21782
|
+
/**
|
|
21783
|
+
* Optional avatar image url.
|
|
21784
|
+
* if provided, it's also required to provide a value in the `avatarInitials` prop to use
|
|
21785
|
+
* in the alt attribute of the avatar.
|
|
21786
|
+
*/
|
|
21787
|
+
avatarSrc: {
|
|
21788
|
+
type: String,
|
|
21789
|
+
default: ''
|
|
21790
|
+
},
|
|
21791
|
+
|
|
21792
|
+
/**
|
|
21793
|
+
* Initials to display on the avatar if avatarSrc is not provided or
|
|
21794
|
+
* alt attr if avatarSrc is provided.
|
|
21795
|
+
*/
|
|
21796
|
+
avatarInitials: {
|
|
21797
|
+
type: String,
|
|
21798
|
+
default: '',
|
|
21799
|
+
required: true
|
|
21800
|
+
},
|
|
21801
|
+
|
|
21802
|
+
/**
|
|
21803
|
+
* Number displayed in avatar to count group members
|
|
21804
|
+
*/
|
|
21805
|
+
groupCount: {
|
|
21806
|
+
type: Number,
|
|
21807
|
+
required: true
|
|
21808
|
+
},
|
|
21809
|
+
|
|
21810
|
+
/**
|
|
21811
|
+
* Names of the group members
|
|
21812
|
+
*/
|
|
21813
|
+
names: {
|
|
21814
|
+
type: String,
|
|
21815
|
+
default: ''
|
|
21816
|
+
},
|
|
21817
|
+
|
|
21818
|
+
/**
|
|
21819
|
+
* Number of unread messages
|
|
21820
|
+
*/
|
|
21821
|
+
unreadCount: {
|
|
21822
|
+
type: String,
|
|
21823
|
+
default: null
|
|
21824
|
+
},
|
|
21825
|
+
|
|
21826
|
+
/**
|
|
21827
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
21828
|
+
* the unread count badge.
|
|
21829
|
+
*/
|
|
21830
|
+
hasUnreads: {
|
|
21831
|
+
type: Boolean,
|
|
21832
|
+
default: false
|
|
21833
|
+
},
|
|
21834
|
+
|
|
21835
|
+
/**
|
|
21836
|
+
* Determines if the row is selected
|
|
21837
|
+
*/
|
|
21838
|
+
selected: {
|
|
21839
|
+
type: Boolean,
|
|
21840
|
+
default: false
|
|
21841
|
+
}
|
|
21842
|
+
},
|
|
21843
|
+
emits: [
|
|
21844
|
+
/**
|
|
21845
|
+
* Native click event on the row itself
|
|
21846
|
+
*
|
|
21847
|
+
* @event click
|
|
21848
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
21849
|
+
*/
|
|
21850
|
+
'click']
|
|
21851
|
+
});
|
|
21852
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js
|
|
21853
|
+
|
|
21854
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/group_row.vue
|
|
21855
|
+
|
|
21856
|
+
|
|
21857
|
+
|
|
21858
|
+
|
|
21859
|
+
;
|
|
21860
|
+
const group_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(group_rowvue_type_script_lang_js, [['render',group_rowvue_type_template_id_29f5cb33_render]])
|
|
21861
|
+
|
|
21862
|
+
/* harmony default export */ const group_row = (group_row_exports_);
|
|
21863
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/group_row/index.js
|
|
21864
|
+
|
|
21865
|
+
;// 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/contact_row/contact_row.vue?vue&type=template&id=8a190578
|
|
21866
|
+
|
|
21867
|
+
const contact_rowvue_type_template_id_8a190578_hoisted_1 = ["src", "alt"];
|
|
21868
|
+
const contact_rowvue_type_template_id_8a190578_hoisted_2 = {
|
|
21869
|
+
class: "dt-leftbar-row__status"
|
|
21870
|
+
};
|
|
21871
|
+
function contact_rowvue_type_template_id_8a190578_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21872
|
+
const _component_dt_icon = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-icon");
|
|
21873
|
+
|
|
21874
|
+
const _component_dt_avatar = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-avatar");
|
|
21875
|
+
|
|
21876
|
+
const _component_dt_emoji_text_wrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-emoji-text-wrapper");
|
|
21877
|
+
|
|
21878
|
+
const _component_dt_recipe_general_row = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-recipe-general-row");
|
|
21879
|
+
|
|
21880
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_recipe_general_row, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
21881
|
+
"unread-count": $props.unreadCount,
|
|
21882
|
+
"has-unreads": $props.hasUnreads,
|
|
21883
|
+
selected: $props.selected,
|
|
21884
|
+
"has-call-button": true,
|
|
21885
|
+
muted: $props.muted
|
|
21886
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toHandlers)($options.contactRowListeners), {
|
|
21887
|
+
onCall: _cache[0] || (_cache[0] = $event => _ctx.$emit('call', $event))
|
|
21888
|
+
}), {
|
|
21889
|
+
left: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_avatar, {
|
|
21890
|
+
size: "sm",
|
|
21891
|
+
seed: $props.avatarSeed,
|
|
21892
|
+
presence: $props.avatarPresence
|
|
21893
|
+
}, {
|
|
21894
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [$props.avatarSrc ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
|
|
21895
|
+
key: 0,
|
|
21896
|
+
"data-qa": "dt-avatar-image",
|
|
21897
|
+
src: $props.avatarSrc,
|
|
21898
|
+
alt: $props.name
|
|
21899
|
+
}, null, 8, contact_rowvue_type_template_id_8a190578_hoisted_1)) : $props.noInitials ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_icon, {
|
|
21900
|
+
key: 1,
|
|
21901
|
+
name: "user",
|
|
21902
|
+
size: "200"
|
|
21903
|
+
})) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, {
|
|
21904
|
+
key: 2
|
|
21905
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($options.avatarInitial), 1)], 64))]),
|
|
21906
|
+
_: 1
|
|
21907
|
+
}, 8, ["seed", "presence"])]),
|
|
21908
|
+
label: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_emoji_text_wrapper, {
|
|
21909
|
+
class: "dt-leftbar-row__description",
|
|
21910
|
+
"data-qa": "dt-leftbar-row-description",
|
|
21911
|
+
size: "200"
|
|
21912
|
+
}, {
|
|
21913
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.name), 1)]),
|
|
21914
|
+
_: 1
|
|
21915
|
+
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", contact_rowvue_type_template_id_8a190578_hoisted_2, [$props.presenceText ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
|
|
21916
|
+
key: 0,
|
|
21917
|
+
"data-qa": "dt-leftbar-row-presence-text",
|
|
21918
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['dt-leftbar-row__meta-context', $options.presenceColorClass])
|
|
21919
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.presenceText), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), $props.userStatus ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_emoji_text_wrapper, {
|
|
21920
|
+
key: 1,
|
|
21921
|
+
size: "100",
|
|
21922
|
+
"element-type": "span",
|
|
21923
|
+
"data-qa": "dt-leftbar-row-user-status",
|
|
21924
|
+
class: "dt-leftbar-row__meta-custom"
|
|
21925
|
+
}, {
|
|
21926
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.userStatus), 1)]),
|
|
21927
|
+
_: 1
|
|
21928
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)])]),
|
|
21929
|
+
_: 1
|
|
21930
|
+
}, 16, ["unread-count", "has-unreads", "selected", "muted"]);
|
|
21931
|
+
}
|
|
21932
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=template&id=8a190578
|
|
21933
|
+
|
|
21934
|
+
;// 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/contact_row/contact_row.vue?vue&type=script&lang=js
|
|
21935
|
+
|
|
21936
|
+
|
|
21937
|
+
|
|
21938
|
+
|
|
21939
|
+
|
|
21940
|
+
|
|
21941
|
+
/* harmony default export */ const contact_rowvue_type_script_lang_js = ({
|
|
21942
|
+
name: 'DtRecipeGroupRow',
|
|
21943
|
+
components: {
|
|
21944
|
+
DtAvatar: avatar,
|
|
21945
|
+
DtIcon: icon,
|
|
21946
|
+
DtRecipeGeneralRow: general_row,
|
|
21947
|
+
DtEmojiTextWrapper: emoji_text_wrapper
|
|
21948
|
+
},
|
|
21949
|
+
props: {
|
|
21950
|
+
/**
|
|
21951
|
+
* Optional avatar image url.
|
|
21952
|
+
* If not provided it will use the initial of the name.
|
|
21953
|
+
*/
|
|
21954
|
+
avatarSrc: {
|
|
21955
|
+
type: String,
|
|
21956
|
+
default: ''
|
|
21957
|
+
},
|
|
21958
|
+
|
|
21959
|
+
/**
|
|
21960
|
+
* Determines whether to show the presence indicator for
|
|
21961
|
+
* Avatar - accepts PRESENCE_STATES values: 'active', 'busy', 'away', 'offline'. defaults to active.
|
|
21962
|
+
* @values active, busy, away, offline
|
|
21963
|
+
*/
|
|
21964
|
+
avatarPresence: {
|
|
21965
|
+
type: String,
|
|
21966
|
+
default: PRESENCE_STATES.ACTIVE,
|
|
21967
|
+
validator: role => {
|
|
21968
|
+
return PRESENCE_STATES_LIST.includes(role);
|
|
21969
|
+
}
|
|
21970
|
+
},
|
|
21971
|
+
|
|
21972
|
+
/**
|
|
21973
|
+
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
21974
|
+
*/
|
|
21975
|
+
avatarSeed: {
|
|
21976
|
+
type: String,
|
|
21977
|
+
default: null
|
|
21978
|
+
},
|
|
21979
|
+
|
|
21980
|
+
/**
|
|
21981
|
+
* Text describing the user's presence, such as "in a meeting"
|
|
21982
|
+
*/
|
|
21983
|
+
presenceText: {
|
|
21984
|
+
type: String,
|
|
21985
|
+
default: ''
|
|
21986
|
+
},
|
|
21987
|
+
|
|
21988
|
+
/**
|
|
21989
|
+
* Name of the contact
|
|
21990
|
+
*/
|
|
21991
|
+
name: {
|
|
21992
|
+
type: String,
|
|
21993
|
+
required: true
|
|
21994
|
+
},
|
|
21995
|
+
|
|
21996
|
+
/**
|
|
21997
|
+
* Status as set by the user.
|
|
21998
|
+
*/
|
|
21999
|
+
userStatus: {
|
|
22000
|
+
type: String,
|
|
22001
|
+
default: ''
|
|
22002
|
+
},
|
|
22003
|
+
|
|
22004
|
+
/**
|
|
22005
|
+
* Gives a faded style to be used when muted
|
|
22006
|
+
*/
|
|
22007
|
+
muted: {
|
|
22008
|
+
type: Boolean,
|
|
22009
|
+
default: false
|
|
22010
|
+
},
|
|
22011
|
+
|
|
22012
|
+
/**
|
|
22013
|
+
* Number of unread messages
|
|
22014
|
+
*/
|
|
22015
|
+
unreadCount: {
|
|
22016
|
+
type: String,
|
|
22017
|
+
default: null
|
|
22018
|
+
},
|
|
22019
|
+
|
|
22020
|
+
/**
|
|
22021
|
+
* Styles the row with an increased font weight to convey it has unreads. This must be true to see
|
|
22022
|
+
* the unread count badge.
|
|
22023
|
+
*/
|
|
22024
|
+
hasUnreads: {
|
|
22025
|
+
type: Boolean,
|
|
22026
|
+
default: false
|
|
22027
|
+
},
|
|
22028
|
+
|
|
22029
|
+
/**
|
|
22030
|
+
* Determines if the row is selected
|
|
22031
|
+
*/
|
|
22032
|
+
selected: {
|
|
22033
|
+
type: Boolean,
|
|
22034
|
+
default: false
|
|
22035
|
+
},
|
|
22036
|
+
|
|
22037
|
+
/**
|
|
22038
|
+
* Initials will never be shown. Instead it will show a "User" icon.
|
|
22039
|
+
*/
|
|
22040
|
+
noInitials: {
|
|
22041
|
+
type: Boolean,
|
|
22042
|
+
default: false
|
|
22043
|
+
}
|
|
22044
|
+
},
|
|
22045
|
+
emits: [
|
|
22046
|
+
/**
|
|
22047
|
+
* Call button clicked
|
|
22048
|
+
*
|
|
22049
|
+
* @event call
|
|
22050
|
+
* @type {PointerEvent | KeyboardEvent}
|
|
22051
|
+
*/
|
|
22052
|
+
'call'],
|
|
22053
|
+
computed: {
|
|
22054
|
+
presenceColorClass() {
|
|
22055
|
+
switch (this.avatarPresence) {
|
|
22056
|
+
case 'active':
|
|
22057
|
+
return 'd-fc-success';
|
|
22058
|
+
|
|
22059
|
+
case 'busy':
|
|
22060
|
+
return 'd-fc-critical';
|
|
22061
|
+
|
|
22062
|
+
case 'away':
|
|
22063
|
+
return 'd-fc-warning';
|
|
22064
|
+
|
|
22065
|
+
default:
|
|
22066
|
+
return undefined;
|
|
22067
|
+
}
|
|
22068
|
+
},
|
|
22069
|
+
|
|
22070
|
+
contactRowListeners() {
|
|
22071
|
+
return extractVueListeners(this.$attrs);
|
|
22072
|
+
},
|
|
22073
|
+
|
|
22074
|
+
avatarInitial() {
|
|
22075
|
+
var _this$name$;
|
|
22076
|
+
|
|
22077
|
+
return (_this$name$ = this.name[0]) !== null && _this$name$ !== void 0 ? _this$name$ : '';
|
|
22078
|
+
}
|
|
22079
|
+
|
|
22080
|
+
}
|
|
22081
|
+
});
|
|
22082
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue?vue&type=script&lang=js
|
|
22083
|
+
|
|
22084
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/contact_row.vue
|
|
22085
|
+
|
|
22086
|
+
|
|
22087
|
+
|
|
22088
|
+
|
|
22089
|
+
;
|
|
22090
|
+
const contact_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(contact_rowvue_type_script_lang_js, [['render',contact_rowvue_type_template_id_8a190578_render]])
|
|
22091
|
+
|
|
22092
|
+
/* harmony default export */ const contact_row = (contact_row_exports_);
|
|
22093
|
+
;// CONCATENATED MODULE: ./recipes/leftbar/contact_row/index.js
|
|
22094
|
+
|
|
21574
22095
|
;// CONCATENATED MODULE: ./common/mixins/index.js
|
|
21575
22096
|
|
|
21576
22097
|
|
|
@@ -21624,6 +22145,8 @@ const general_row_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(genera
|
|
|
21624
22145
|
|
|
21625
22146
|
|
|
21626
22147
|
|
|
22148
|
+
|
|
22149
|
+
|
|
21627
22150
|
// Mixins
|
|
21628
22151
|
|
|
21629
22152
|
// Constants
|