@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
package/dist/dialtone-vue.umd.js
CHANGED
|
@@ -2261,12 +2261,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
2261
2261
|
"DtCheckbox": () => (/* reexport */ checkbox_checkbox),
|
|
2262
2262
|
"DtCheckboxGroup": () => (/* reexport */ checkbox_group),
|
|
2263
2263
|
"DtChip": () => (/* reexport */ chip),
|
|
2264
|
+
"DtCodeblock": () => (/* reexport */ codeblock),
|
|
2264
2265
|
"DtCollapsible": () => (/* reexport */ collapsible),
|
|
2265
2266
|
"DtCombobox": () => (/* reexport */ combobox),
|
|
2266
2267
|
"DtDropdown": () => (/* reexport */ dropdown),
|
|
2267
2268
|
"DtDropdownSeparator": () => (/* reexport */ dropdown_separator),
|
|
2268
2269
|
"DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
|
|
2269
2270
|
"DtIcon": () => (/* reexport */ icon),
|
|
2271
|
+
"DtImageViewer": () => (/* reexport */ image_viewer),
|
|
2270
2272
|
"DtInput": () => (/* reexport */ input_input),
|
|
2271
2273
|
"DtInputGroup": () => (/* reexport */ input_group_input_group),
|
|
2272
2274
|
"DtInputGroupMixin": () => (/* reexport */ InputGroupMixin),
|
|
@@ -5417,6 +5419,54 @@ var card_component = normalizeComponent(
|
|
|
5417
5419
|
/* harmony default export */ const card = (card_component.exports);
|
|
5418
5420
|
;// CONCATENATED MODULE: ./components/card/index.js
|
|
5419
5421
|
|
|
5422
|
+
;// 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&
|
|
5423
|
+
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")])}
|
|
5424
|
+
var codeblockvue_type_template_id_043e0ff6_staticRenderFns = []
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/codeblock/codeblock.vue?vue&type=script&lang=js&
|
|
5428
|
+
//
|
|
5429
|
+
//
|
|
5430
|
+
//
|
|
5431
|
+
//
|
|
5432
|
+
//
|
|
5433
|
+
//
|
|
5434
|
+
//
|
|
5435
|
+
//
|
|
5436
|
+
//
|
|
5437
|
+
/* harmony default export */ const codeblockvue_type_script_lang_js_ = ({
|
|
5438
|
+
name: 'DtCodeblock',
|
|
5439
|
+
props: {
|
|
5440
|
+
text: {
|
|
5441
|
+
type: String,
|
|
5442
|
+
required: true
|
|
5443
|
+
}
|
|
5444
|
+
}
|
|
5445
|
+
});
|
|
5446
|
+
;// CONCATENATED MODULE: ./components/codeblock/codeblock.vue?vue&type=script&lang=js&
|
|
5447
|
+
/* harmony default export */ const codeblock_codeblockvue_type_script_lang_js_ = (codeblockvue_type_script_lang_js_);
|
|
5448
|
+
;// CONCATENATED MODULE: ./components/codeblock/codeblock.vue
|
|
5449
|
+
|
|
5450
|
+
|
|
5451
|
+
|
|
5452
|
+
|
|
5453
|
+
|
|
5454
|
+
/* normalize component */
|
|
5455
|
+
;
|
|
5456
|
+
var codeblock_component = normalizeComponent(
|
|
5457
|
+
codeblock_codeblockvue_type_script_lang_js_,
|
|
5458
|
+
codeblockvue_type_template_id_043e0ff6_render,
|
|
5459
|
+
codeblockvue_type_template_id_043e0ff6_staticRenderFns,
|
|
5460
|
+
false,
|
|
5461
|
+
null,
|
|
5462
|
+
null,
|
|
5463
|
+
null
|
|
5464
|
+
|
|
5465
|
+
)
|
|
5466
|
+
|
|
5467
|
+
/* harmony default export */ const codeblock = (codeblock_component.exports);
|
|
5468
|
+
;// CONCATENATED MODULE: ./components/codeblock/index.js
|
|
5469
|
+
|
|
5420
5470
|
;// 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&
|
|
5421
5471
|
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()])}
|
|
5422
5472
|
var comboboxvue_type_template_id_5e29b120_staticRenderFns = []
|
|
@@ -8291,13 +8341,13 @@ var collapsible_component = normalizeComponent(
|
|
|
8291
8341
|
/* harmony default export */ const collapsible = (collapsible_component.exports);
|
|
8292
8342
|
;// CONCATENATED MODULE: ./components/collapsible/index.js
|
|
8293
8343
|
|
|
8294
|
-
;// 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=
|
|
8295
|
-
var
|
|
8344
|
+
;// 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&
|
|
8345
|
+
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){
|
|
8296
8346
|
var attrs = ref.attrs;
|
|
8297
8347
|
return [_vm._t("anchor",null,null,attrs)]}},{key:"content",fn:function(ref){
|
|
8298
8348
|
var close = ref.close;
|
|
8299
8349
|
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))}
|
|
8300
|
-
var
|
|
8350
|
+
var dropdownvue_type_template_id_b22f331a_staticRenderFns = []
|
|
8301
8351
|
|
|
8302
8352
|
|
|
8303
8353
|
;// 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&
|
|
@@ -14151,6 +14201,7 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
14151
14201
|
//
|
|
14152
14202
|
//
|
|
14153
14203
|
//
|
|
14204
|
+
//
|
|
14154
14205
|
|
|
14155
14206
|
|
|
14156
14207
|
|
|
@@ -14332,6 +14383,17 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
14332
14383
|
validator: appendTo => {
|
|
14333
14384
|
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
14334
14385
|
}
|
|
14386
|
+
},
|
|
14387
|
+
|
|
14388
|
+
/**
|
|
14389
|
+
* If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
14390
|
+
* If set to true it will never move from its position relative to the anchor and will clip instead.
|
|
14391
|
+
* See <a href="https://popper.js.org/docs/v2/modifiers/prevent-overflow/#tether" target="_blank">Popper.js docs</a>
|
|
14392
|
+
* @values true, false
|
|
14393
|
+
*/
|
|
14394
|
+
tether: {
|
|
14395
|
+
type: Boolean,
|
|
14396
|
+
default: true
|
|
14335
14397
|
}
|
|
14336
14398
|
},
|
|
14337
14399
|
emits: [
|
|
@@ -14568,8 +14630,8 @@ var dropdownvue_type_style_index_0_lang_less_ = __webpack_require__(774);
|
|
|
14568
14630
|
|
|
14569
14631
|
var dropdown_component = normalizeComponent(
|
|
14570
14632
|
dropdown_dropdownvue_type_script_lang_js_,
|
|
14571
|
-
|
|
14572
|
-
|
|
14633
|
+
dropdownvue_type_template_id_b22f331a_render,
|
|
14634
|
+
dropdownvue_type_template_id_b22f331a_staticRenderFns,
|
|
14573
14635
|
false,
|
|
14574
14636
|
null,
|
|
14575
14637
|
null,
|
|
@@ -14624,6 +14686,234 @@ var dropdown_separator_component = normalizeComponent(
|
|
|
14624
14686
|
;// CONCATENATED MODULE: ./components/dropdown/index.js
|
|
14625
14687
|
|
|
14626
14688
|
|
|
14689
|
+
;// 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&
|
|
14690
|
+
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)}
|
|
14691
|
+
var image_viewervue_type_template_id_3214f60f_staticRenderFns = []
|
|
14692
|
+
|
|
14693
|
+
|
|
14694
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/image_viewer/image_viewer.vue?vue&type=script&lang=js&
|
|
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
|
+
//
|
|
14754
|
+
//
|
|
14755
|
+
//
|
|
14756
|
+
//
|
|
14757
|
+
//
|
|
14758
|
+
|
|
14759
|
+
|
|
14760
|
+
|
|
14761
|
+
|
|
14762
|
+
|
|
14763
|
+
/* harmony default export */ const image_viewervue_type_script_lang_js_ = ({
|
|
14764
|
+
name: 'DtImageViewer',
|
|
14765
|
+
components: {
|
|
14766
|
+
Portal: Portal,
|
|
14767
|
+
DtButton: button_button,
|
|
14768
|
+
DtIcon: icon
|
|
14769
|
+
},
|
|
14770
|
+
mixins: [modal],
|
|
14771
|
+
props: {
|
|
14772
|
+
/**
|
|
14773
|
+
* URL of the image to be shown
|
|
14774
|
+
*/
|
|
14775
|
+
imageSrc: {
|
|
14776
|
+
type: String,
|
|
14777
|
+
required: true
|
|
14778
|
+
},
|
|
14779
|
+
|
|
14780
|
+
/**
|
|
14781
|
+
* Alt text of image
|
|
14782
|
+
*/
|
|
14783
|
+
imageAlt: {
|
|
14784
|
+
type: String,
|
|
14785
|
+
required: true
|
|
14786
|
+
},
|
|
14787
|
+
|
|
14788
|
+
/**
|
|
14789
|
+
* Image Class
|
|
14790
|
+
*/
|
|
14791
|
+
imageButtonClass: {
|
|
14792
|
+
type: String,
|
|
14793
|
+
required: false,
|
|
14794
|
+
default: ''
|
|
14795
|
+
},
|
|
14796
|
+
|
|
14797
|
+
/**
|
|
14798
|
+
* Aria label
|
|
14799
|
+
*/
|
|
14800
|
+
ariaLabel: {
|
|
14801
|
+
type: String,
|
|
14802
|
+
required: true
|
|
14803
|
+
},
|
|
14804
|
+
|
|
14805
|
+
/**
|
|
14806
|
+
* Aria label for close button
|
|
14807
|
+
*/
|
|
14808
|
+
closeAriaLabel: {
|
|
14809
|
+
type: String,
|
|
14810
|
+
required: true
|
|
14811
|
+
}
|
|
14812
|
+
},
|
|
14813
|
+
|
|
14814
|
+
data() {
|
|
14815
|
+
return {
|
|
14816
|
+
show: false,
|
|
14817
|
+
showCloseButton: true
|
|
14818
|
+
};
|
|
14819
|
+
},
|
|
14820
|
+
|
|
14821
|
+
computed: {
|
|
14822
|
+
isOpen() {
|
|
14823
|
+
return `${!this.show}`;
|
|
14824
|
+
},
|
|
14825
|
+
|
|
14826
|
+
modalListeners() {
|
|
14827
|
+
return { ...this.$listeners,
|
|
14828
|
+
click: event => {
|
|
14829
|
+
event.target === event.currentTarget && this.close();
|
|
14830
|
+
},
|
|
14831
|
+
keydown: event => {
|
|
14832
|
+
switch (event.code) {
|
|
14833
|
+
case EVENT_KEYNAMES.esc:
|
|
14834
|
+
case EVENT_KEYNAMES.escape:
|
|
14835
|
+
this.close();
|
|
14836
|
+
break;
|
|
14837
|
+
|
|
14838
|
+
case EVENT_KEYNAMES.tab:
|
|
14839
|
+
this.trapFocus(event);
|
|
14840
|
+
break;
|
|
14841
|
+
}
|
|
14842
|
+
}
|
|
14843
|
+
};
|
|
14844
|
+
}
|
|
14845
|
+
|
|
14846
|
+
},
|
|
14847
|
+
watch: {
|
|
14848
|
+
show: {
|
|
14849
|
+
immediate: true,
|
|
14850
|
+
|
|
14851
|
+
handler(isShowing) {
|
|
14852
|
+
if (isShowing) {
|
|
14853
|
+
// Set a reference to the previously-active element, to which we'll return focus on modal close.
|
|
14854
|
+
this.previousActiveElement = document.activeElement;
|
|
14855
|
+
} else {
|
|
14856
|
+
var _this$previousActiveE;
|
|
14857
|
+
|
|
14858
|
+
// Modal is being hidden, so return focus to the previously active element before clearing the reference.
|
|
14859
|
+
(_this$previousActiveE = this.previousActiveElement) === null || _this$previousActiveE === void 0 ? void 0 : _this$previousActiveE.focus();
|
|
14860
|
+
this.previousActiveElement = null;
|
|
14861
|
+
}
|
|
14862
|
+
}
|
|
14863
|
+
|
|
14864
|
+
}
|
|
14865
|
+
},
|
|
14866
|
+
methods: {
|
|
14867
|
+
open() {
|
|
14868
|
+
this.show = true;
|
|
14869
|
+
this.showCloseButton = true;
|
|
14870
|
+
setTimeout(() => {
|
|
14871
|
+
this.focusAfterOpen();
|
|
14872
|
+
});
|
|
14873
|
+
},
|
|
14874
|
+
|
|
14875
|
+
close() {
|
|
14876
|
+
this.show = false;
|
|
14877
|
+
},
|
|
14878
|
+
|
|
14879
|
+
focusAfterOpen() {
|
|
14880
|
+
var _this$$refs$closeImag;
|
|
14881
|
+
|
|
14882
|
+
(_this$$refs$closeImag = this.$refs.closeImage) === null || _this$$refs$closeImag === void 0 ? void 0 : _this$$refs$closeImag.$el.focus();
|
|
14883
|
+
},
|
|
14884
|
+
|
|
14885
|
+
trapFocus(e) {
|
|
14886
|
+
if (this.show) {
|
|
14887
|
+
this.focusTrappedTabPress(e);
|
|
14888
|
+
}
|
|
14889
|
+
}
|
|
14890
|
+
|
|
14891
|
+
}
|
|
14892
|
+
});
|
|
14893
|
+
;// CONCATENATED MODULE: ./components/image_viewer/image_viewer.vue?vue&type=script&lang=js&
|
|
14894
|
+
/* harmony default export */ const image_viewer_image_viewervue_type_script_lang_js_ = (image_viewervue_type_script_lang_js_);
|
|
14895
|
+
;// CONCATENATED MODULE: ./components/image_viewer/image_viewer.vue
|
|
14896
|
+
|
|
14897
|
+
|
|
14898
|
+
|
|
14899
|
+
|
|
14900
|
+
|
|
14901
|
+
/* normalize component */
|
|
14902
|
+
;
|
|
14903
|
+
var image_viewer_component = normalizeComponent(
|
|
14904
|
+
image_viewer_image_viewervue_type_script_lang_js_,
|
|
14905
|
+
image_viewervue_type_template_id_3214f60f_render,
|
|
14906
|
+
image_viewervue_type_template_id_3214f60f_staticRenderFns,
|
|
14907
|
+
false,
|
|
14908
|
+
null,
|
|
14909
|
+
null,
|
|
14910
|
+
null
|
|
14911
|
+
|
|
14912
|
+
)
|
|
14913
|
+
|
|
14914
|
+
/* harmony default export */ const image_viewer = (image_viewer_component.exports);
|
|
14915
|
+
;// CONCATENATED MODULE: ./components/image_viewer/index.js
|
|
14916
|
+
|
|
14627
14917
|
;// 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&
|
|
14628
14918
|
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:[
|
|
14629
14919
|
'base-input__label-text',
|
|
@@ -24563,9 +24853,9 @@ var general_row_component = normalizeComponent(
|
|
|
24563
24853
|
;// CONCATENATED MODULE: ./recipes/leftbar/general_row/index.js
|
|
24564
24854
|
|
|
24565
24855
|
|
|
24566
|
-
;// 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=
|
|
24567
|
-
var
|
|
24568
|
-
var
|
|
24856
|
+
;// 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&
|
|
24857
|
+
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))}
|
|
24858
|
+
var group_rowvue_type_template_id_d27bba34_staticRenderFns = []
|
|
24569
24859
|
|
|
24570
24860
|
|
|
24571
24861
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-80[0].rules[0].use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./recipes/leftbar/group_row/group_row.vue?vue&type=script&lang=js&
|
|
@@ -24590,65 +24880,16 @@ var group_rowvue_type_template_id_3222d6a1_staticRenderFns = []
|
|
|
24590
24880
|
//
|
|
24591
24881
|
//
|
|
24592
24882
|
//
|
|
24593
|
-
//
|
|
24594
|
-
//
|
|
24595
|
-
//
|
|
24596
|
-
//
|
|
24597
|
-
//
|
|
24598
|
-
//
|
|
24599
|
-
//
|
|
24600
|
-
//
|
|
24601
|
-
//
|
|
24602
|
-
//
|
|
24603
|
-
//
|
|
24604
|
-
//
|
|
24605
|
-
//
|
|
24606
24883
|
|
|
24607
24884
|
|
|
24608
24885
|
/* harmony default export */ const group_rowvue_type_script_lang_js_ = ({
|
|
24609
24886
|
name: 'DtRecipeGroupRow',
|
|
24610
24887
|
components: {
|
|
24611
|
-
|
|
24888
|
+
DtIcon: icon,
|
|
24612
24889
|
DtRecipeGeneralRow: general_row
|
|
24613
24890
|
},
|
|
24614
24891
|
inheritAttrs: false,
|
|
24615
24892
|
props: {
|
|
24616
|
-
/**
|
|
24617
|
-
* Optional avatar image url.
|
|
24618
|
-
* if provided, it's also required to provide a value in the `avatarInitials` prop to use
|
|
24619
|
-
* in the alt attribute of the avatar.
|
|
24620
|
-
*/
|
|
24621
|
-
avatarSrc: {
|
|
24622
|
-
type: String,
|
|
24623
|
-
default: ''
|
|
24624
|
-
},
|
|
24625
|
-
|
|
24626
|
-
/**
|
|
24627
|
-
* Initials to display on the avatar if avatarSrc is not provided or
|
|
24628
|
-
* alt attr if avatarSrc is provided.
|
|
24629
|
-
*/
|
|
24630
|
-
avatarInitials: {
|
|
24631
|
-
type: String,
|
|
24632
|
-
default: '',
|
|
24633
|
-
required: true
|
|
24634
|
-
},
|
|
24635
|
-
|
|
24636
|
-
/**
|
|
24637
|
-
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
24638
|
-
*/
|
|
24639
|
-
avatarSeed: {
|
|
24640
|
-
type: String,
|
|
24641
|
-
default: null
|
|
24642
|
-
},
|
|
24643
|
-
|
|
24644
|
-
/**
|
|
24645
|
-
* Number displayed in avatar to count group members
|
|
24646
|
-
*/
|
|
24647
|
-
groupCount: {
|
|
24648
|
-
type: Number,
|
|
24649
|
-
required: true
|
|
24650
|
-
},
|
|
24651
|
-
|
|
24652
24893
|
/**
|
|
24653
24894
|
* Screen reader will read out the number of users in the group using this text. Ex: "2 users"
|
|
24654
24895
|
*/
|
|
@@ -24727,8 +24968,8 @@ var group_rowvue_type_template_id_3222d6a1_staticRenderFns = []
|
|
|
24727
24968
|
;
|
|
24728
24969
|
var group_row_component = normalizeComponent(
|
|
24729
24970
|
group_row_group_rowvue_type_script_lang_js_,
|
|
24730
|
-
|
|
24731
|
-
|
|
24971
|
+
group_rowvue_type_template_id_d27bba34_render,
|
|
24972
|
+
group_rowvue_type_template_id_d27bba34_staticRenderFns,
|
|
24732
24973
|
false,
|
|
24733
24974
|
null,
|
|
24734
24975
|
null,
|
|
@@ -25058,6 +25299,8 @@ var contact_row_component = normalizeComponent(
|
|
|
25058
25299
|
|
|
25059
25300
|
|
|
25060
25301
|
|
|
25302
|
+
|
|
25303
|
+
|
|
25061
25304
|
|
|
25062
25305
|
|
|
25063
25306
|
|