@dialpad/dialtone-vue 3.44.0 → 3.44.2
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 +15 -0
- package/dist/dialtone-vue.common.js +77 -99
- package/dist/dialtone-vue.umd.js +77 -99
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/dist/emoji.common.js +6 -1
- package/dist/emoji.umd.js +6 -1
- package/dist/emoji.umd.min.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [3.44.2](https://github.com/dialpad/dialtone-vue/compare/v3.44.1...v3.44.2) (2023-02-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add appendTo prop on all popover based components ([#766](https://github.com/dialpad/dialtone-vue/issues/766)) ([01c3a89](https://github.com/dialpad/dialtone-vue/commit/01c3a893c777da025adca6207c3def42896e16dd))
|
|
7
|
+
* **Dropdown:** remove deprecated DropdownList ([#767](https://github.com/dialpad/dialtone-vue/issues/767)) ([006444d](https://github.com/dialpad/dialtone-vue/commit/006444dfb5afd3a76359906b27b47d247f3f5e29))
|
|
8
|
+
|
|
9
|
+
## [3.44.1](https://github.com/dialpad/dialtone-vue/compare/v3.44.0...v3.44.1) (2023-02-14)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **Root Layout:** null protection on getElementTops ([#763](https://github.com/dialpad/dialtone-vue/issues/763)) ([58db83e](https://github.com/dialpad/dialtone-vue/commit/58db83ec6352446c3c4a10d2a4f520b8d4a7db5c))
|
|
15
|
+
|
|
1
16
|
# [3.44.0](https://github.com/dialpad/dialtone-vue/compare/v3.43.0...v3.44.0) (2023-02-13)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -1166,7 +1166,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1166
1166
|
"DtCollapsible": () => (/* reexport */ collapsible),
|
|
1167
1167
|
"DtCombobox": () => (/* reexport */ combobox),
|
|
1168
1168
|
"DtDropdown": () => (/* reexport */ dropdown),
|
|
1169
|
-
"DtDropdownList": () => (/* reexport */ dropdown_list),
|
|
1170
1169
|
"DtDropdownSeparator": () => (/* reexport */ dropdown_separator),
|
|
1171
1170
|
"DtGroupableInputMixin": () => (/* reexport */ GroupableMixin),
|
|
1172
1171
|
"DtIcon": () => (/* reexport */ icon),
|
|
@@ -2013,9 +2012,9 @@ const BADGE_KIND_MODIFIERS = {
|
|
|
2013
2012
|
label: '',
|
|
2014
2013
|
count: 'd-badge--count'
|
|
2015
2014
|
};
|
|
2016
|
-
;// 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/icon/icon.vue?vue&type=template&id=
|
|
2015
|
+
;// 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/icon/icon.vue?vue&type=template&id=7bf3355d
|
|
2017
2016
|
|
|
2018
|
-
function
|
|
2017
|
+
function iconvue_type_template_id_7bf3355d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2019
2018
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($options.currentIcon), {
|
|
2020
2019
|
"data-qa": "dt-icon",
|
|
2021
2020
|
"aria-hidden": $props.ariaLabel ? 'false' : 'true',
|
|
@@ -2023,9 +2022,12 @@ function iconvue_type_template_id_0c7462d0_render(_ctx, _cache, $props, $setup,
|
|
|
2023
2022
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)($options.iconSize)
|
|
2024
2023
|
}, null, 8, ["aria-hidden", "aria-label", "class"]);
|
|
2025
2024
|
}
|
|
2026
|
-
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=template&id=
|
|
2025
|
+
;// CONCATENATED MODULE: ./components/icon/icon.vue?vue&type=template&id=7bf3355d
|
|
2027
2026
|
|
|
2027
|
+
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
2028
|
+
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
2028
2029
|
;// CONCATENATED MODULE: ./components/icon/icon_constants.js
|
|
2030
|
+
|
|
2029
2031
|
const ICON_SIZE_MODIFIERS = {
|
|
2030
2032
|
100: 'd-icon--size-100',
|
|
2031
2033
|
200: 'd-icon--size-200',
|
|
@@ -2036,15 +2038,14 @@ const ICON_SIZE_MODIFIERS = {
|
|
|
2036
2038
|
700: 'd-icon--size-700',
|
|
2037
2039
|
800: 'd-icon--size-800'
|
|
2038
2040
|
};
|
|
2041
|
+
const DIALTONE_ICONS = dialtone_icons_namespaceObject;
|
|
2039
2042
|
/* harmony default export */ const icon_constants = ({
|
|
2040
|
-
ICON_SIZE_MODIFIERS
|
|
2043
|
+
ICON_SIZE_MODIFIERS,
|
|
2044
|
+
DIALTONE_ICONS
|
|
2041
2045
|
});
|
|
2042
|
-
;// CONCATENATED MODULE: external "@dialpad/dialtone-icons"
|
|
2043
|
-
const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
2044
2046
|
;// 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]!./components/icon/icon.vue?vue&type=script&lang=js
|
|
2045
2047
|
|
|
2046
2048
|
|
|
2047
|
-
|
|
2048
2049
|
/**
|
|
2049
2050
|
* The Icon component provides a set of glyphs and sizes to provide context your application.
|
|
2050
2051
|
* @see https://dialpad.design/components/icon.html
|
|
@@ -2079,13 +2080,6 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
2079
2080
|
default: undefined
|
|
2080
2081
|
}
|
|
2081
2082
|
},
|
|
2082
|
-
|
|
2083
|
-
data() {
|
|
2084
|
-
return {
|
|
2085
|
-
dialtoneIcons: dialtone_icons_namespaceObject
|
|
2086
|
-
};
|
|
2087
|
-
},
|
|
2088
|
-
|
|
2089
2083
|
computed: {
|
|
2090
2084
|
iconSize() {
|
|
2091
2085
|
return ICON_SIZE_MODIFIERS[this.size];
|
|
@@ -2096,7 +2090,7 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
2096
2090
|
},
|
|
2097
2091
|
|
|
2098
2092
|
currentIcon() {
|
|
2099
|
-
return
|
|
2093
|
+
return DIALTONE_ICONS[this.iconName];
|
|
2100
2094
|
}
|
|
2101
2095
|
|
|
2102
2096
|
}
|
|
@@ -2109,7 +2103,7 @@ const dialtone_icons_namespaceObject = require("@dialpad/dialtone-icons");
|
|
|
2109
2103
|
|
|
2110
2104
|
|
|
2111
2105
|
;
|
|
2112
|
-
const icon_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(iconvue_type_script_lang_js, [['render',
|
|
2106
|
+
const icon_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(iconvue_type_script_lang_js, [['render',iconvue_type_template_id_7bf3355d_render]])
|
|
2113
2107
|
|
|
2114
2108
|
/* harmony default export */ const icon = (icon_exports_);
|
|
2115
2109
|
;// CONCATENATED MODULE: ./components/icon/index.js
|
|
@@ -12477,52 +12471,6 @@ const DROPDOWN_PADDING_CLASSES = {
|
|
|
12477
12471
|
const dropdown_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdownvue_type_script_lang_js, [['render',dropdownvue_type_template_id_878a8588_render]])
|
|
12478
12472
|
|
|
12479
12473
|
/* harmony default export */ const dropdown = (dropdown_exports_);
|
|
12480
|
-
;// 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/dropdown/dropdown_list.vue?vue&type=template&id=50f7e3e3
|
|
12481
|
-
|
|
12482
|
-
const dropdown_listvue_type_template_id_50f7e3e3_hoisted_1 = {
|
|
12483
|
-
key: 0,
|
|
12484
|
-
class: "dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center"
|
|
12485
|
-
};
|
|
12486
|
-
function dropdown_listvue_type_template_id_50f7e3e3_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12487
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("li", null, [$props.heading ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", dropdown_listvue_type_template_id_50f7e3e3_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.heading), 1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("ul", {
|
|
12488
|
-
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-ps-relative', 'd-stack2', 'd-px0', $props.listClass]),
|
|
12489
|
-
"data-qa": "dt-dropdown-list-wrapper"
|
|
12490
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "default")], 2)]);
|
|
12491
|
-
}
|
|
12492
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue?vue&type=template&id=50f7e3e3
|
|
12493
|
-
|
|
12494
|
-
;// 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]!./components/dropdown/dropdown_list.vue?vue&type=script&lang=js
|
|
12495
|
-
/* harmony default export */ const dropdown_listvue_type_script_lang_js = ({
|
|
12496
|
-
name: 'DtDropdownList',
|
|
12497
|
-
props: {
|
|
12498
|
-
/**
|
|
12499
|
-
* List's heading.
|
|
12500
|
-
*/
|
|
12501
|
-
heading: {
|
|
12502
|
-
type: String,
|
|
12503
|
-
default: ''
|
|
12504
|
-
},
|
|
12505
|
-
|
|
12506
|
-
/**
|
|
12507
|
-
* Additional class for the wrapper list element.
|
|
12508
|
-
*/
|
|
12509
|
-
listClass: {
|
|
12510
|
-
type: [String, Array, Object],
|
|
12511
|
-
default: ''
|
|
12512
|
-
}
|
|
12513
|
-
}
|
|
12514
|
-
});
|
|
12515
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue?vue&type=script&lang=js
|
|
12516
|
-
|
|
12517
|
-
;// CONCATENATED MODULE: ./components/dropdown/dropdown_list.vue
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
;
|
|
12523
|
-
const dropdown_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(dropdown_listvue_type_script_lang_js, [['render',dropdown_listvue_type_template_id_50f7e3e3_render]])
|
|
12524
|
-
|
|
12525
|
-
/* harmony default export */ const dropdown_list = (dropdown_list_exports_);
|
|
12526
12474
|
;// 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/dropdown/dropdown_separator.vue?vue&type=template&id=7efcdecb
|
|
12527
12475
|
|
|
12528
12476
|
const dropdown_separatorvue_type_template_id_7efcdecb_hoisted_1 = {
|
|
@@ -12559,7 +12507,6 @@ const dropdown_separator_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)
|
|
|
12559
12507
|
;// CONCATENATED MODULE: ./components/dropdown/index.js
|
|
12560
12508
|
|
|
12561
12509
|
|
|
12562
|
-
|
|
12563
12510
|
;// 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/input/input.vue?vue&type=template&id=438498f3
|
|
12564
12511
|
|
|
12565
12512
|
const inputvue_type_template_id_438498f3_hoisted_1 = {
|
|
@@ -17991,9 +17938,9 @@ function root_layoutvue_type_template_id_115594cd_render(_ctx, _cache, $props, $
|
|
|
17991
17938
|
}
|
|
17992
17939
|
;// CONCATENATED MODULE: ./components/root_layout/root_layout.vue?vue&type=template&id=115594cd
|
|
17993
17940
|
|
|
17994
|
-
;// 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/root_layout/root_layout_body.vue?vue&type=template&id=
|
|
17941
|
+
;// 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/root_layout/root_layout_body.vue?vue&type=template&id=16544a46
|
|
17995
17942
|
|
|
17996
|
-
function
|
|
17943
|
+
function root_layout_bodyvue_type_template_id_16544a46_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17997
17944
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
17998
17945
|
ref: "root-layout-body",
|
|
17999
17946
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['root-layout__body', {
|
|
@@ -18028,7 +17975,7 @@ function root_layout_bodyvue_type_template_id_2bcc4e0e_render(_ctx, _cache, $pro
|
|
|
18028
17975
|
tabindex: "0"
|
|
18029
17976
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "content")], 6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 6);
|
|
18030
17977
|
}
|
|
18031
|
-
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=template&id=
|
|
17978
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=template&id=16544a46
|
|
18032
17979
|
|
|
18033
17980
|
;// CONCATENATED MODULE: ./components/root_layout/root_layout_constants.js
|
|
18034
17981
|
const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
@@ -18162,8 +18109,10 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
|
18162
18109
|
},
|
|
18163
18110
|
|
|
18164
18111
|
getElementTops() {
|
|
18165
|
-
|
|
18166
|
-
|
|
18112
|
+
var _this$$refs$rootLayo, _this$$refs$rootLayo2;
|
|
18113
|
+
|
|
18114
|
+
this.sidebarTop = (_this$$refs$rootLayo = this.$refs['root-layout-sidebar']) === null || _this$$refs$rootLayo === void 0 ? void 0 : _this$$refs$rootLayo.offsetTop;
|
|
18115
|
+
this.contentTop = (_this$$refs$rootLayo2 = this.$refs['root-layout-content']) === null || _this$$refs$rootLayo2 === void 0 ? void 0 : _this$$refs$rootLayo2.offsetTop;
|
|
18167
18116
|
},
|
|
18168
18117
|
|
|
18169
18118
|
getDocumentHeight() {
|
|
@@ -18174,10 +18123,10 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
|
18174
18123
|
});
|
|
18175
18124
|
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=script&lang=js
|
|
18176
18125
|
|
|
18177
|
-
;// 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/root_layout/root_layout_body.vue?vue&type=style&index=0&id=
|
|
18126
|
+
;// 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/root_layout/root_layout_body.vue?vue&type=style&index=0&id=16544a46&lang=less
|
|
18178
18127
|
// extracted by mini-css-extract-plugin
|
|
18179
18128
|
|
|
18180
|
-
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=style&index=0&id=
|
|
18129
|
+
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue?vue&type=style&index=0&id=16544a46&lang=less
|
|
18181
18130
|
|
|
18182
18131
|
;// CONCATENATED MODULE: ./components/root_layout/root_layout_body.vue
|
|
18183
18132
|
|
|
@@ -18187,7 +18136,7 @@ const ROOT_LAYOUT_SIDEBAR_POSITIONS = {
|
|
|
18187
18136
|
;
|
|
18188
18137
|
|
|
18189
18138
|
|
|
18190
|
-
const root_layout_body_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_layout_bodyvue_type_script_lang_js, [['render',
|
|
18139
|
+
const root_layout_body_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_layout_bodyvue_type_script_lang_js, [['render',root_layout_bodyvue_type_template_id_16544a46_render]])
|
|
18191
18140
|
|
|
18192
18141
|
/* harmony default export */ const root_layout_body = (root_layout_body_exports_);
|
|
18193
18142
|
;// 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]!./components/root_layout/root_layout.vue?vue&type=script&lang=js
|
|
@@ -18340,17 +18289,17 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
18340
18289
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
18341
18290
|
|
|
18342
18291
|
|
|
18343
|
-
;// 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=
|
|
18292
|
+
;// 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=262b81e3
|
|
18344
18293
|
|
|
18345
|
-
const
|
|
18346
|
-
const
|
|
18294
|
+
const combobox_with_popovervue_type_template_id_262b81e3_hoisted_1 = ["id"];
|
|
18295
|
+
const combobox_with_popovervue_type_template_id_262b81e3_hoisted_2 = {
|
|
18347
18296
|
ref: "header"
|
|
18348
18297
|
};
|
|
18349
|
-
const
|
|
18350
|
-
const
|
|
18298
|
+
const combobox_with_popovervue_type_template_id_262b81e3_hoisted_3 = ["onMouseleave", "onFocusout"];
|
|
18299
|
+
const combobox_with_popovervue_type_template_id_262b81e3_hoisted_4 = {
|
|
18351
18300
|
ref: "footer"
|
|
18352
18301
|
};
|
|
18353
|
-
function
|
|
18302
|
+
function combobox_with_popovervue_type_template_id_262b81e3_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18354
18303
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
18355
18304
|
|
|
18356
18305
|
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
@@ -18389,7 +18338,7 @@ function combobox_with_popovervue_type_template_id_b78c0dda_render(_ctx, _cache,
|
|
|
18389
18338
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
18390
18339
|
inputProps: inputProps,
|
|
18391
18340
|
onInput: $options.handleDisplayList
|
|
18392
|
-
})], 40,
|
|
18341
|
+
})], 40, combobox_with_popovervue_type_template_id_262b81e3_hoisted_1)];
|
|
18393
18342
|
}),
|
|
18394
18343
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
18395
18344
|
let {
|
|
@@ -18416,6 +18365,7 @@ function combobox_with_popovervue_type_template_id_b78c0dda_render(_ctx, _cache,
|
|
|
18416
18365
|
"content-tabindex": null,
|
|
18417
18366
|
modal: false,
|
|
18418
18367
|
"auto-focus": false,
|
|
18368
|
+
"append-to": $props.appendTo,
|
|
18419
18369
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
18420
18370
|
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
18421
18371
|
onOpened: opened
|
|
@@ -18434,24 +18384,26 @@ function combobox_with_popovervue_type_template_id_b78c0dda_render(_ctx, _cache,
|
|
|
18434
18384
|
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18435
18385
|
key: 2,
|
|
18436
18386
|
listProps: listProps
|
|
18437
|
-
})], 42,
|
|
18387
|
+
})], 42, combobox_with_popovervue_type_template_id_262b81e3_hoisted_3)]),
|
|
18438
18388
|
_: 2
|
|
18439
18389
|
}, [$data.hasSlotContent(_ctx.$slots.header) ? {
|
|
18440
18390
|
name: "headerContent",
|
|
18441
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18391
|
+
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_262b81e3_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18442
18392
|
key: "0"
|
|
18443
18393
|
} : undefined, $data.hasSlotContent(_ctx.$slots.footer) ? {
|
|
18444
18394
|
name: "footerContent",
|
|
18445
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18395
|
+
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_262b81e3_hoisted_4, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18446
18396
|
key: "1"
|
|
18447
|
-
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18397
|
+
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "append-to", "visually-hidden-close-label", "visually-hidden-close", "onOpened"])];
|
|
18448
18398
|
}),
|
|
18449
18399
|
_: 3
|
|
18450
18400
|
}, 16, ["loading", "label", "label-visible", "size", "description", "empty-list", "empty-state-message", "show-list", "on-beginning-of-list", "on-end-of-list", "list-id"]);
|
|
18451
18401
|
}
|
|
18452
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
18402
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=262b81e3
|
|
18453
18403
|
|
|
18454
18404
|
;// 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
|
|
18405
|
+
/* eslint-disable vuejs-accessibility/no-static-element-interactions */
|
|
18406
|
+
|
|
18455
18407
|
|
|
18456
18408
|
|
|
18457
18409
|
|
|
@@ -18649,6 +18601,18 @@ function combobox_with_popovervue_type_template_id_b78c0dda_render(_ctx, _cache,
|
|
|
18649
18601
|
emptyStateMessage: {
|
|
18650
18602
|
type: String,
|
|
18651
18603
|
default: ''
|
|
18604
|
+
},
|
|
18605
|
+
|
|
18606
|
+
/**
|
|
18607
|
+
* Sets the element to which the popover is going to append to.
|
|
18608
|
+
* @values 'parent', HTMLElement,
|
|
18609
|
+
*/
|
|
18610
|
+
appendTo: {
|
|
18611
|
+
type: [HTMLElement, String],
|
|
18612
|
+
default: () => document.body,
|
|
18613
|
+
validator: appendTo => {
|
|
18614
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
18615
|
+
}
|
|
18652
18616
|
}
|
|
18653
18617
|
},
|
|
18654
18618
|
emits: [
|
|
@@ -18810,32 +18774,32 @@ function combobox_with_popovervue_type_template_id_b78c0dda_render(_ctx, _cache,
|
|
|
18810
18774
|
|
|
18811
18775
|
|
|
18812
18776
|
;
|
|
18813
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
18777
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_262b81e3_render]])
|
|
18814
18778
|
|
|
18815
18779
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
18816
18780
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
18817
18781
|
|
|
18818
|
-
;// 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_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18782
|
+
;// 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_multi_select/combobox_multi_select.vue?vue&type=template&id=3cb7ab4f
|
|
18819
18783
|
|
|
18820
|
-
const
|
|
18784
|
+
const combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_1 = {
|
|
18821
18785
|
ref: "inputSlotWrapper",
|
|
18822
18786
|
class: "d-ps-relative d-d-block"
|
|
18823
18787
|
};
|
|
18824
|
-
const
|
|
18788
|
+
const combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_2 = {
|
|
18825
18789
|
ref: "chipsWrapper",
|
|
18826
18790
|
class: "d-ps-absolute d-mx2"
|
|
18827
18791
|
};
|
|
18828
|
-
const
|
|
18792
|
+
const combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_3 = {
|
|
18829
18793
|
ref: "header"
|
|
18830
18794
|
};
|
|
18831
|
-
const
|
|
18795
|
+
const combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_4 = {
|
|
18832
18796
|
key: 1,
|
|
18833
18797
|
class: "d-ta-center d-py16"
|
|
18834
18798
|
};
|
|
18835
|
-
const
|
|
18799
|
+
const combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_5 = {
|
|
18836
18800
|
ref: "footer"
|
|
18837
18801
|
};
|
|
18838
|
-
function
|
|
18802
|
+
function combobox_multi_selectvue_type_template_id_3cb7ab4f_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18839
18803
|
const _component_dt_chip = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-chip");
|
|
18840
18804
|
|
|
18841
18805
|
const _component_dt_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-input");
|
|
@@ -18854,13 +18818,14 @@ function combobox_multi_selectvue_type_template_id_491f9b2d_render(_ctx, _cache,
|
|
|
18854
18818
|
"visually-hidden-close-label": _ctx.visuallyHiddenCloseLabel,
|
|
18855
18819
|
"visually-hidden-close": _ctx.visuallyHiddenClose,
|
|
18856
18820
|
"content-width": "anchor",
|
|
18821
|
+
"append-to": $props.appendTo,
|
|
18857
18822
|
onSelect: $options.onComboboxSelect
|
|
18858
18823
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
|
|
18859
18824
|
input: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref => {
|
|
18860
18825
|
let {
|
|
18861
18826
|
onInput
|
|
18862
18827
|
} = _ref;
|
|
18863
|
-
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span",
|
|
18828
|
+
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_2, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)($props.selectedItems, item => {
|
|
18864
18829
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_chip, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
18865
18830
|
ref_for: true,
|
|
18866
18831
|
ref: "chips",
|
|
@@ -18902,19 +18867,19 @@ function combobox_multi_selectvue_type_template_id_491f9b2d_render(_ctx, _cache,
|
|
|
18902
18867
|
onMousedown: _cache[1] || (_cache[1] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent"]))
|
|
18903
18868
|
}, [!$props.loading ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
18904
18869
|
key: 0
|
|
18905
|
-
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
18870
|
+
}) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.loadingMessage), 1))], 544)]),
|
|
18906
18871
|
_: 2
|
|
18907
18872
|
}, [$data.hasSlotContent(_ctx.$slots.header) ? {
|
|
18908
18873
|
name: "header",
|
|
18909
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18874
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "header")], 512)]),
|
|
18910
18875
|
key: "0"
|
|
18911
18876
|
} : undefined, $data.hasSlotContent(_ctx.$slots.footer) ? {
|
|
18912
18877
|
name: "footer",
|
|
18913
|
-
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
18878
|
+
fn: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", combobox_multi_selectvue_type_template_id_3cb7ab4f_hoisted_5, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 512)]),
|
|
18914
18879
|
key: "1"
|
|
18915
|
-
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "onSelect"]);
|
|
18880
|
+
} : undefined]), 1032, ["label", "show-list", "max-height", "popover-offset", "has-suggestion-list", "visually-hidden-close-label", "visually-hidden-close", "append-to", "onSelect"]);
|
|
18916
18881
|
}
|
|
18917
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=
|
|
18882
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue?vue&type=template&id=3cb7ab4f
|
|
18918
18883
|
|
|
18919
18884
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.js
|
|
18920
18885
|
// The item list for default story
|
|
@@ -19032,6 +18997,7 @@ const CHIP_TOP_POSITION = {
|
|
|
19032
18997
|
|
|
19033
18998
|
|
|
19034
18999
|
|
|
19000
|
+
|
|
19035
19001
|
/* harmony default export */ const combobox_multi_selectvue_type_script_lang_js = ({
|
|
19036
19002
|
name: 'DtRecipeComboboxMultiSelect',
|
|
19037
19003
|
components: {
|
|
@@ -19181,6 +19147,18 @@ const CHIP_TOP_POSITION = {
|
|
|
19181
19147
|
type: String,
|
|
19182
19148
|
default: null,
|
|
19183
19149
|
validator: t => Object.values(MULTI_SELECT_SIZES).includes(t)
|
|
19150
|
+
},
|
|
19151
|
+
|
|
19152
|
+
/**
|
|
19153
|
+
* Sets the element to which the popover is going to append to.
|
|
19154
|
+
* @values 'parent', HTMLElement,
|
|
19155
|
+
*/
|
|
19156
|
+
appendTo: {
|
|
19157
|
+
type: [HTMLElement, String],
|
|
19158
|
+
default: () => document.body,
|
|
19159
|
+
validator: appendTo => {
|
|
19160
|
+
return POPOVER_APPEND_TO_VALUES.includes(appendTo) || appendTo instanceof HTMLElement;
|
|
19161
|
+
}
|
|
19184
19162
|
}
|
|
19185
19163
|
},
|
|
19186
19164
|
emits: [
|
|
@@ -19514,7 +19492,7 @@ const CHIP_TOP_POSITION = {
|
|
|
19514
19492
|
|
|
19515
19493
|
|
|
19516
19494
|
;
|
|
19517
|
-
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',
|
|
19495
|
+
const combobox_multi_select_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_multi_selectvue_type_script_lang_js, [['render',combobox_multi_selectvue_type_template_id_3cb7ab4f_render]])
|
|
19518
19496
|
|
|
19519
19497
|
/* harmony default export */ const combobox_multi_select = (combobox_multi_select_exports_);
|
|
19520
19498
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_multi_select/index.js
|