@dialpad/dialtone-vue 2.72.6 → 2.73.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 +14 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +303 -60
- package/dist/dialtone-vue.umd.js +303 -60
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +1 -1
|
@@ -2251,12 +2251,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2251
2251
|
"DtCheckbox": () => (/* reexport */ checkbox_checkbox),
|
|
2252
2252
|
"DtCheckboxGroup": () => (/* reexport */ checkbox_group),
|
|
2253
2253
|
"DtChip": () => (/* reexport */ chip),
|
|
2254
|
+
"DtCodeblock": () => (/* reexport */ codeblock),
|
|
2254
2255
|
"DtCollapsible": () => (/* reexport */ collapsible),
|
|
2255
2256
|
"DtCombobox": () => (/* reexport */ combobox),
|
|
2256
2257
|
"DtDropdown": () => (/* reexport */ dropdown),
|
|
2257
2258
|
"DtDropdownSeparator": () => (/* reexport */ dropdown_separator),
|
|
2258
2259
|
"DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
|
|
2259
2260
|
"DtIcon": () => (/* reexport */ icon),
|
|
2261
|
+
"DtImageViewer": () => (/* reexport */ image_viewer),
|
|
2260
2262
|
"DtInput": () => (/* reexport */ input_input),
|
|
2261
2263
|
"DtInputGroup": () => (/* reexport */ input_group_input_group),
|
|
2262
2264
|
"DtInputGroupMixin": () => (/* reexport */ InputGroupMixin),
|
|
@@ -5407,6 +5409,54 @@ var card_component = normalizeComponent(
|
|
|
5407
5409
|
/* harmony default export */ const card = (card_component.exports);
|
|
5408
5410
|
;// CONCATENATED MODULE: ./components/card/index.js
|
|
5409
5411
|
|
|
5412
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/codeblock/codeblock.vue?vue&type=template&id=043e0ff6&
|
|
5413
|
+
var codeblockvue_type_template_id_043e0ff6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',[_vm._v(" "),_c('code',{staticClass:"d-d-block d-bgc-secondary d-ws-pre-wrap d-p8 d-ba d-bc-subtle d-bar8 d-fs-200 d-ff-mono d-lh-400 d-fc-secondary"},[_vm._v(_vm._s(_vm.text))]),_vm._v("\n")])}
|
|
5414
|
+
var codeblockvue_type_template_id_043e0ff6_staticRenderFns = []
|
|
5415
|
+
|
|
5416
|
+
|
|
5417
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/codeblock/codeblock.vue?vue&type=script&lang=js&
|
|
5418
|
+
//
|
|
5419
|
+
//
|
|
5420
|
+
//
|
|
5421
|
+
//
|
|
5422
|
+
//
|
|
5423
|
+
//
|
|
5424
|
+
//
|
|
5425
|
+
//
|
|
5426
|
+
//
|
|
5427
|
+
/* harmony default export */ const codeblockvue_type_script_lang_js_ = ({
|
|
5428
|
+
name: 'DtCodeblock',
|
|
5429
|
+
props: {
|
|
5430
|
+
text: {
|
|
5431
|
+
type: String,
|
|
5432
|
+
required: true
|
|
5433
|
+
}
|
|
5434
|
+
}
|
|
5435
|
+
});
|
|
5436
|
+
;// CONCATENATED MODULE: ./components/codeblock/codeblock.vue?vue&type=script&lang=js&
|
|
5437
|
+
/* harmony default export */ const codeblock_codeblockvue_type_script_lang_js_ = (codeblockvue_type_script_lang_js_);
|
|
5438
|
+
;// CONCATENATED MODULE: ./components/codeblock/codeblock.vue
|
|
5439
|
+
|
|
5440
|
+
|
|
5441
|
+
|
|
5442
|
+
|
|
5443
|
+
|
|
5444
|
+
/* normalize component */
|
|
5445
|
+
;
|
|
5446
|
+
var codeblock_component = normalizeComponent(
|
|
5447
|
+
codeblock_codeblockvue_type_script_lang_js_,
|
|
5448
|
+
codeblockvue_type_template_id_043e0ff6_render,
|
|
5449
|
+
codeblockvue_type_template_id_043e0ff6_staticRenderFns,
|
|
5450
|
+
false,
|
|
5451
|
+
null,
|
|
5452
|
+
null,
|
|
5453
|
+
null
|
|
5454
|
+
|
|
5455
|
+
)
|
|
5456
|
+
|
|
5457
|
+
/* harmony default export */ const codeblock = (codeblock_component.exports);
|
|
5458
|
+
;// CONCATENATED MODULE: ./components/codeblock/index.js
|
|
5459
|
+
|
|
5410
5460
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/combobox/combobox.vue?vue&type=template&id=5e29b120&
|
|
5411
5461
|
var comboboxvue_type_template_id_5e29b120_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.stopPropagation();return _vm.onKeyValidation($event, 'onEscapeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.onKeyValidation($event, 'onEnterKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onUpKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onDownKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"home",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onHomeKey')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"end",undefined,$event.key,undefined)){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.onKeyValidation($event, 'onEndKey')}]}},[_c('div',{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[_vm._t("input",null,{"inputProps":_vm.inputProps})],2),(_vm.showList)?_c('div',{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"focusout":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[(_vm.loading && !_vm.listRenderedOutside)?_c('combobox-loading-list',_vm._b({},'combobox-loading-list',_vm.listProps,false)):(_vm.emptyList && (_vm.emptyStateMessage || _vm.$slots.emptyListItem) && !_vm.listRenderedOutside)?_c('combobox-empty-list',_vm._b({attrs:{"message":_vm.emptyStateMessage,"item-class":_vm.emptyStateClass}},'combobox-empty-list',_vm.listProps,false),[_vm._t("emptyListItem")],2):_vm._t("list",null,{"listProps":_vm.listProps,"opened":_vm.onOpen,"clearHighlightIndex":_vm.clearHighlightIndex})],2):_vm._e()])}
|
|
5412
5462
|
var comboboxvue_type_template_id_5e29b120_staticRenderFns = []
|
|
@@ -8281,13 +8331,13 @@ var collapsible_component = normalizeComponent(
|
|
|
8281
8331
|
/* harmony default export */ const collapsible = (collapsible_component.exports);
|
|
8282
8332
|
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
8283
8333
|
|
|
8284
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/dropdown/dropdown.vue?vue&type=template&id=
|
|
8285
|
-
var
|
|
8334
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/dropdown/dropdown.vue?vue&type=template&id=b22f331a&
|
|
8335
|
+
var dropdownvue_type_template_id_b22f331a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-popover',_vm._g({ref:"popover",attrs:{"content-width":_vm.contentWidth,"open":_vm.open,"placement":_vm.placement,"initial-focus-element":_vm.openedWithKeyboard ? 'first' : 'dialog',"fallback-placements":_vm.fallbackPlacements,"padding":"none","role":"menu","append-to":_vm.appendTo,"modal":_vm.modal,"max-height":_vm.maxHeight,"max-width":_vm.maxWidth,"open-with-arrow-keys":_vm.shouldOpenWithArrowKeys,"open-on-context":_vm.openOnContext,"tether":_vm.tether},scopedSlots:_vm._u([{key:"anchor",fn:function(ref){
|
|
8286
8336
|
var attrs = ref.attrs;
|
|
8287
8337
|
return [_vm._t("anchor",null,null,attrs)]}},{key:"content",fn:function(ref){
|
|
8288
8338
|
var close = ref.close;
|
|
8289
8339
|
return [_c('ul',{ref:"listWrapper",class:_vm.listClasses,attrs:{"id":_vm.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{"mouseleave":_vm.clearHighlightIndex,"!mousemove":function($event){return _vm.onMouseHighlight.apply(null, arguments)}}},[_vm._t("list",null,{"close":close}),(_vm.showVisuallyHiddenClose)?_c('sr-only-close-button',{attrs:{"visually-hidden-close-label":_vm.visuallyHiddenCloseLabel,"tabindex":_vm.isArrowKeyNav ? -1 : 0},on:{"close":close}}):_vm._e()],2)]}}],null,true)},_vm.dropdownListeners))}
|
|
8290
|
-
var
|
|
8340
|
+
var dropdownvue_type_template_id_b22f331a_staticRenderFns = []
|
|
8291
8341
|
|
|
8292
8342
|
|
|
8293
8343
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/popover/popover.vue?vue&type=template&id=683dbc64&
|
|
@@ -14141,6 +14191,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
14141
14191
|
//
|
|
14142
14192
|
//
|
|
14143
14193
|
//
|
|
14194
|
+
//
|
|
14144
14195
|
|
|
14145
14196
|
|
|
14146
14197
|
|
|
@@ -14322,6 +14373,17 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
14322
14373
|
validator: appendTo => {
|
|
14323
14374
|
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
14324
14375
|
}
|
|
14376
|
+
},
|
|
14377
|
+
|
|
14378
|
+
/**
|
|
14379
|
+
* If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
14380
|
+
* If set to true it will never move from its position relative to the anchor and will clip instead.
|
|
14381
|
+
* See <a href="https://popper.js.org/docs/v2/modifiers/prevent-overflow/#tether" target="_blank">Popper.js docs</a>
|
|
14382
|
+
* @values true, false
|
|
14383
|
+
*/
|
|
14384
|
+
tether: {
|
|
14385
|
+
type: Boolean,
|
|
14386
|
+
default: true
|
|
14325
14387
|
}
|
|
14326
14388
|
},
|
|
14327
14389
|
emits: [
|
|
@@ -14558,8 +14620,8 @@ var dropdownvue_type_style_index_0_lang_less_ = __webpack_require__(782);
|
|
|
14558
14620
|
|
|
14559
14621
|
var dropdown_component = normalizeComponent(
|
|
14560
14622
|
dropdown_dropdownvue_type_script_lang_js_,
|
|
14561
|
-
|
|
14562
|
-
|
|
14623
|
+
dropdownvue_type_template_id_b22f331a_render,
|
|
14624
|
+
dropdownvue_type_template_id_b22f331a_staticRenderFns,
|
|
14563
14625
|
false,
|
|
14564
14626
|
null,
|
|
14565
14627
|
null,
|
|
@@ -14614,6 +14676,234 @@ var dropdown_separator_component = normalizeComponent(
|
|
|
14614
14676
|
;// CONCATENATED MODULE: ./components/dropdown/index.js
|
|
14615
14677
|
|
|
14616
14678
|
|
|
14679
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/image_viewer/image_viewer.vue?vue&type=template&id=3214f60f&
|
|
14680
|
+
var image_viewervue_type_template_id_3214f60f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('dt-button',{attrs:{"data-qa":"dt-image-viewer-preview","aria-label":_vm.ariaLabel,"importance":"clear"},on:{"click":_vm.open}},[_c('img',{class:_vm.imageButtonClass,attrs:{"src":_vm.imageSrc,"alt":_vm.imageAlt}})]),(_vm.show)?_c('portal',[_c('div',_vm._g({staticClass:"d-modal",attrs:{"aria-hidden":_vm.isOpen,"data-qa":"dt-modal"},on:{"mouseover":function($event){_vm.showCloseButton = true},"mouseleave":function($event){_vm.showCloseButton = false},"focusin":function($event){_vm.showCloseButton = true},"focusout":function($event){_vm.showCloseButton = false}}},_vm.modalListeners),[_c('div',{staticClass:"d-p0 d-bar0 d-wmx80p d-hmx80p",attrs:{"data-qa":"dt-image-viewer-full","role":"dialog","aria-modal":"true"}},[_c('img',{staticClass:"d-wmx100p d-hmx100p",attrs:{"src":_vm.imageSrc,"alt":_vm.imageAlt}})]),_c('transition',{attrs:{"name":"fade"}},[(_vm.showCloseButton)?_c('dt-button',{ref:"closeImage",staticClass:"d-modal__close",attrs:{"data-qa":"dt-image-viewer-close-btn","circle":"","size":"lg","importance":"clear","kind":"inverted","aria-label":_vm.closeAriaLabel},on:{"click":_vm.close},scopedSlots:_vm._u([{key:"icon",fn:function(){return [_c('dt-icon',{attrs:{"name":"close","size":"400"}})]},proxy:true}],null,false,1709155279)}):_vm._e()],1)],1)]):_vm._e()],1)}
|
|
14681
|
+
var image_viewervue_type_template_id_3214f60f_staticRenderFns = []
|
|
14682
|
+
|
|
14683
|
+
|
|
14684
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/image_viewer/image_viewer.vue?vue&type=script&lang=js&
|
|
14685
|
+
//
|
|
14686
|
+
//
|
|
14687
|
+
//
|
|
14688
|
+
//
|
|
14689
|
+
//
|
|
14690
|
+
//
|
|
14691
|
+
//
|
|
14692
|
+
//
|
|
14693
|
+
//
|
|
14694
|
+
//
|
|
14695
|
+
//
|
|
14696
|
+
//
|
|
14697
|
+
//
|
|
14698
|
+
//
|
|
14699
|
+
//
|
|
14700
|
+
//
|
|
14701
|
+
//
|
|
14702
|
+
//
|
|
14703
|
+
//
|
|
14704
|
+
//
|
|
14705
|
+
//
|
|
14706
|
+
//
|
|
14707
|
+
//
|
|
14708
|
+
//
|
|
14709
|
+
//
|
|
14710
|
+
//
|
|
14711
|
+
//
|
|
14712
|
+
//
|
|
14713
|
+
//
|
|
14714
|
+
//
|
|
14715
|
+
//
|
|
14716
|
+
//
|
|
14717
|
+
//
|
|
14718
|
+
//
|
|
14719
|
+
//
|
|
14720
|
+
//
|
|
14721
|
+
//
|
|
14722
|
+
//
|
|
14723
|
+
//
|
|
14724
|
+
//
|
|
14725
|
+
//
|
|
14726
|
+
//
|
|
14727
|
+
//
|
|
14728
|
+
//
|
|
14729
|
+
//
|
|
14730
|
+
//
|
|
14731
|
+
//
|
|
14732
|
+
//
|
|
14733
|
+
//
|
|
14734
|
+
//
|
|
14735
|
+
//
|
|
14736
|
+
//
|
|
14737
|
+
//
|
|
14738
|
+
//
|
|
14739
|
+
//
|
|
14740
|
+
//
|
|
14741
|
+
//
|
|
14742
|
+
//
|
|
14743
|
+
//
|
|
14744
|
+
//
|
|
14745
|
+
//
|
|
14746
|
+
//
|
|
14747
|
+
//
|
|
14748
|
+
|
|
14749
|
+
|
|
14750
|
+
|
|
14751
|
+
|
|
14752
|
+
|
|
14753
|
+
/* harmony default export */ const image_viewervue_type_script_lang_js_ = ({
|
|
14754
|
+
name: 'DtImageViewer',
|
|
14755
|
+
components: {
|
|
14756
|
+
Portal: Portal,
|
|
14757
|
+
DtButton: button_button,
|
|
14758
|
+
DtIcon: icon
|
|
14759
|
+
},
|
|
14760
|
+
mixins: [modal],
|
|
14761
|
+
props: {
|
|
14762
|
+
/**
|
|
14763
|
+
* URL of the image to be shown
|
|
14764
|
+
*/
|
|
14765
|
+
imageSrc: {
|
|
14766
|
+
type: String,
|
|
14767
|
+
required: true
|
|
14768
|
+
},
|
|
14769
|
+
|
|
14770
|
+
/**
|
|
14771
|
+
* Alt text of image
|
|
14772
|
+
*/
|
|
14773
|
+
imageAlt: {
|
|
14774
|
+
type: String,
|
|
14775
|
+
required: true
|
|
14776
|
+
},
|
|
14777
|
+
|
|
14778
|
+
/**
|
|
14779
|
+
* Image Class
|
|
14780
|
+
*/
|
|
14781
|
+
imageButtonClass: {
|
|
14782
|
+
type: String,
|
|
14783
|
+
required: false,
|
|
14784
|
+
default: ''
|
|
14785
|
+
},
|
|
14786
|
+
|
|
14787
|
+
/**
|
|
14788
|
+
* Aria label
|
|
14789
|
+
*/
|
|
14790
|
+
ariaLabel: {
|
|
14791
|
+
type: String,
|
|
14792
|
+
required: true
|
|
14793
|
+
},
|
|
14794
|
+
|
|
14795
|
+
/**
|
|
14796
|
+
* Aria label for close button
|
|
14797
|
+
*/
|
|
14798
|
+
closeAriaLabel: {
|
|
14799
|
+
type: String,
|
|
14800
|
+
required: true
|
|
14801
|
+
}
|
|
14802
|
+
},
|
|
14803
|
+
|
|
14804
|
+
data() {
|
|
14805
|
+
return {
|
|
14806
|
+
show: false,
|
|
14807
|
+
showCloseButton: true
|
|
14808
|
+
};
|
|
14809
|
+
},
|
|
14810
|
+
|
|
14811
|
+
computed: {
|
|
14812
|
+
isOpen() {
|
|
14813
|
+
return `${!this.show}`;
|
|
14814
|
+
},
|
|
14815
|
+
|
|
14816
|
+
modalListeners() {
|
|
14817
|
+
return { ...this.$listeners,
|
|
14818
|
+
click: event => {
|
|
14819
|
+
event.target === event.currentTarget && this.close();
|
|
14820
|
+
},
|
|
14821
|
+
keydown: event => {
|
|
14822
|
+
switch (event.code) {
|
|
14823
|
+
case EVENT_KEYNAMES.esc:
|
|
14824
|
+
case EVENT_KEYNAMES.escape:
|
|
14825
|
+
this.close();
|
|
14826
|
+
break;
|
|
14827
|
+
|
|
14828
|
+
case EVENT_KEYNAMES.tab:
|
|
14829
|
+
this.trapFocus(event);
|
|
14830
|
+
break;
|
|
14831
|
+
}
|
|
14832
|
+
}
|
|
14833
|
+
};
|
|
14834
|
+
}
|
|
14835
|
+
|
|
14836
|
+
},
|
|
14837
|
+
watch: {
|
|
14838
|
+
show: {
|
|
14839
|
+
immediate: true,
|
|
14840
|
+
|
|
14841
|
+
handler(isShowing) {
|
|
14842
|
+
if (isShowing) {
|
|
14843
|
+
// Set a reference to the previously-active element, to which we'll return focus on modal close.
|
|
14844
|
+
this.previousActiveElement = document.activeElement;
|
|
14845
|
+
} else {
|
|
14846
|
+
var _this$previousActiveE;
|
|
14847
|
+
|
|
14848
|
+
// Modal is being hidden, so return focus to the previously active element before clearing the reference.
|
|
14849
|
+
(_this$previousActiveE = this.previousActiveElement) === null || _this$previousActiveE === void 0 ? void 0 : _this$previousActiveE.focus();
|
|
14850
|
+
this.previousActiveElement = null;
|
|
14851
|
+
}
|
|
14852
|
+
}
|
|
14853
|
+
|
|
14854
|
+
}
|
|
14855
|
+
},
|
|
14856
|
+
methods: {
|
|
14857
|
+
open() {
|
|
14858
|
+
this.show = true;
|
|
14859
|
+
this.showCloseButton = true;
|
|
14860
|
+
setTimeout(() => {
|
|
14861
|
+
this.focusAfterOpen();
|
|
14862
|
+
});
|
|
14863
|
+
},
|
|
14864
|
+
|
|
14865
|
+
close() {
|
|
14866
|
+
this.show = false;
|
|
14867
|
+
},
|
|
14868
|
+
|
|
14869
|
+
focusAfterOpen() {
|
|
14870
|
+
var _this$$refs$closeImag;
|
|
14871
|
+
|
|
14872
|
+
(_this$$refs$closeImag = this.$refs.closeImage) === null || _this$$refs$closeImag === void 0 ? void 0 : _this$$refs$closeImag.$el.focus();
|
|
14873
|
+
},
|
|
14874
|
+
|
|
14875
|
+
trapFocus(e) {
|
|
14876
|
+
if (this.show) {
|
|
14877
|
+
this.focusTrappedTabPress(e);
|
|
14878
|
+
}
|
|
14879
|
+
}
|
|
14880
|
+
|
|
14881
|
+
}
|
|
14882
|
+
});
|
|
14883
|
+
;// CONCATENATED MODULE: ./components/image_viewer/image_viewer.vue?vue&type=script&lang=js&
|
|
14884
|
+
/* harmony default export */ const image_viewer_image_viewervue_type_script_lang_js_ = (image_viewervue_type_script_lang_js_);
|
|
14885
|
+
;// CONCATENATED MODULE: ./components/image_viewer/image_viewer.vue
|
|
14886
|
+
|
|
14887
|
+
|
|
14888
|
+
|
|
14889
|
+
|
|
14890
|
+
|
|
14891
|
+
/* normalize component */
|
|
14892
|
+
;
|
|
14893
|
+
var image_viewer_component = normalizeComponent(
|
|
14894
|
+
image_viewer_image_viewervue_type_script_lang_js_,
|
|
14895
|
+
image_viewervue_type_template_id_3214f60f_render,
|
|
14896
|
+
image_viewervue_type_template_id_3214f60f_staticRenderFns,
|
|
14897
|
+
false,
|
|
14898
|
+
null,
|
|
14899
|
+
null,
|
|
14900
|
+
null
|
|
14901
|
+
|
|
14902
|
+
)
|
|
14903
|
+
|
|
14904
|
+
/* harmony default export */ const image_viewer = (image_viewer_component.exports);
|
|
14905
|
+
;// CONCATENATED MODULE: ./components/image_viewer/index.js
|
|
14906
|
+
|
|
14617
14907
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/input/input.vue?vue&type=template&id=2c334438&
|
|
14618
14908
|
var inputvue_type_template_id_2c334438_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[_c('label',{staticClass:"base-input__label",attrs:{"aria-details":_vm.$slots.description || _vm.description ? _vm.descriptionKey : undefined,"data-qa":"dt-input-label-wrapper"}},[_vm._t("labelSlot",function(){return [(_vm.labelVisible && _vm.label)?_c('div',{ref:"label",class:[
|
|
14619
14909
|
'base-input__label-text',
|
|
@@ -24553,9 +24843,9 @@ var general_row_component = normalizeComponent(
|
|
|
24553
24843
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
24554
24844
|
|
|
24555
24845
|
|
|
24556
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=
|
|
24557
|
-
var
|
|
24558
|
-
var
|
|
24846
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=template&id=d27bba34&
|
|
24847
|
+
var group_rowvue_type_template_id_d27bba34_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dt-recipe-general-row',_vm._g(_vm._b({attrs:{"description":_vm.names,"aria-label":(_vm.groupCountText + " " + _vm.names),"unread-count":_vm.unreadCount,"has-unreads":_vm.hasUnreads,"unread-count-tooltip":_vm.unreadCountTooltip,"selected":_vm.selected,"is-typing":_vm.isTyping},scopedSlots:_vm._u([{key:"left",fn:function(){return [_c('dt-icon',{attrs:{"name":"users","size":"300"}})]},proxy:true}])},'dt-recipe-general-row',_vm.$attrs,false),_vm.$listeners))}
|
|
24848
|
+
var group_rowvue_type_template_id_d27bba34_staticRenderFns = []
|
|
24559
24849
|
|
|
24560
24850
|
|
|
24561
24851
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
|
|
@@ -24580,65 +24870,16 @@ var group_rowvue_type_template_id_3222d6a1_staticRenderFns = []
|
|
|
24580
24870
|
//
|
|
24581
24871
|
//
|
|
24582
24872
|
//
|
|
24583
|
-
//
|
|
24584
|
-
//
|
|
24585
|
-
//
|
|
24586
|
-
//
|
|
24587
|
-
//
|
|
24588
|
-
//
|
|
24589
|
-
//
|
|
24590
|
-
//
|
|
24591
|
-
//
|
|
24592
|
-
//
|
|
24593
|
-
//
|
|
24594
|
-
//
|
|
24595
|
-
//
|
|
24596
24873
|
|
|
24597
24874
|
|
|
24598
24875
|
/* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
|
|
24599
24876
|
name: 'DtRecipeGroupRow',
|
|
24600
24877
|
components: {
|
|
24601
|
-
|
|
24878
|
+
DtIcon: icon,
|
|
24602
24879
|
DtRecipeGeneralRow: general_row
|
|
24603
24880
|
},
|
|
24604
24881
|
inheritAttrs: false,
|
|
24605
24882
|
props: {
|
|
24606
|
-
/**
|
|
24607
|
-
* Optional avatar image url.
|
|
24608
|
-
* if provided, it's also required to provide a value in the `avatarInitials` prop to use
|
|
24609
|
-
* in the alt attribute of the avatar.
|
|
24610
|
-
*/
|
|
24611
|
-
avatarSrc: {
|
|
24612
|
-
type: String,
|
|
24613
|
-
default: ''
|
|
24614
|
-
},
|
|
24615
|
-
|
|
24616
|
-
/**
|
|
24617
|
-
* Initials to display on the avatar if avatarSrc is not provided or
|
|
24618
|
-
* alt attr if avatarSrc is provided.
|
|
24619
|
-
*/
|
|
24620
|
-
avatarInitials: {
|
|
24621
|
-
type: String,
|
|
24622
|
-
default: '',
|
|
24623
|
-
required: true
|
|
24624
|
-
},
|
|
24625
|
-
|
|
24626
|
-
/**
|
|
24627
|
-
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
24628
|
-
*/
|
|
24629
|
-
avatarSeed: {
|
|
24630
|
-
type: String,
|
|
24631
|
-
default: null
|
|
24632
|
-
},
|
|
24633
|
-
|
|
24634
|
-
/**
|
|
24635
|
-
* Number displayed in avatar to count group members
|
|
24636
|
-
*/
|
|
24637
|
-
groupCount: {
|
|
24638
|
-
type: Number,
|
|
24639
|
-
required: true
|
|
24640
|
-
},
|
|
24641
|
-
|
|
24642
24883
|
/**
|
|
24643
24884
|
* Screen reader will read out the number of users in the group using this text. Ex: "2 users"
|
|
24644
24885
|
*/
|
|
@@ -24717,8 +24958,8 @@ var group_rowvue_type_template_id_3222d6a1_staticRenderFns = []
|
|
|
24717
24958
|
;
|
|
24718
24959
|
var group_row_component = normalizeComponent(
|
|
24719
24960
|
group_row_group_rowvue_type_script_lang_js_,
|
|
24720
|
-
|
|
24721
|
-
|
|
24961
|
+
group_rowvue_type_template_id_d27bba34_render,
|
|
24962
|
+
group_rowvue_type_template_id_d27bba34_staticRenderFns,
|
|
24722
24963
|
false,
|
|
24723
24964
|
null,
|
|
24724
24965
|
null,
|
|
@@ -25048,6 +25289,8 @@ var contact_row_component = normalizeComponent(
|
|
|
25048
25289
|
|
|
25049
25290
|
|
|
25050
25291
|
|
|
25292
|
+
|
|
25293
|
+
|
|
25051
25294
|
|
|
25052
25295
|
|
|
25053
25296
|
|