@dialpad/dialtone-vue 3.8.0 → 3.11.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/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +564 -117
- package/dist/dialtone-vue.umd.js +564 -117
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +11 -10
|
@@ -97,7 +97,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".dt-list-section[tabindex=\"-1\"]:focu
|
|
|
97
97
|
|
|
98
98
|
/***/ }),
|
|
99
99
|
|
|
100
|
-
/***/
|
|
100
|
+
/***/ 222:
|
|
101
101
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
102
102
|
|
|
103
103
|
"use strict";
|
|
@@ -193,7 +193,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".skeleton-placeholder{display:flex;str
|
|
|
193
193
|
|
|
194
194
|
/***/ }),
|
|
195
195
|
|
|
196
|
-
/***/
|
|
196
|
+
/***/ 708:
|
|
197
197
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
198
198
|
|
|
199
199
|
"use strict";
|
|
@@ -457,19 +457,19 @@ var update = add("69c9bdad", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
457
457
|
|
|
458
458
|
/***/ }),
|
|
459
459
|
|
|
460
|
-
/***/
|
|
460
|
+
/***/ 888:
|
|
461
461
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
462
462
|
|
|
463
463
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
464
464
|
|
|
465
465
|
// load the styles
|
|
466
|
-
var content = __webpack_require__(
|
|
466
|
+
var content = __webpack_require__(222);
|
|
467
467
|
if(content.__esModule) content = content.default;
|
|
468
468
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
469
469
|
if(content.locals) module.exports = content.locals;
|
|
470
470
|
// add the styles to the DOM
|
|
471
471
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
472
|
-
var update = add("
|
|
472
|
+
var update = add("e3b11816", content, true, {"sourceMap":false,"shadowMode":false});
|
|
473
473
|
|
|
474
474
|
/***/ }),
|
|
475
475
|
|
|
@@ -521,19 +521,19 @@ var update = add("6f5d0b60", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
521
521
|
|
|
522
522
|
/***/ }),
|
|
523
523
|
|
|
524
|
-
/***/
|
|
524
|
+
/***/ 408:
|
|
525
525
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
526
526
|
|
|
527
527
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
528
528
|
|
|
529
529
|
// load the styles
|
|
530
|
-
var content = __webpack_require__(
|
|
530
|
+
var content = __webpack_require__(708);
|
|
531
531
|
if(content.__esModule) content = content.default;
|
|
532
532
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
533
533
|
if(content.locals) module.exports = content.locals;
|
|
534
534
|
// add the styles to the DOM
|
|
535
535
|
var add = (__webpack_require__(402)/* ["default"] */ .Z)
|
|
536
|
-
var update = add("
|
|
536
|
+
var update = add("6d7a0b20", content, true, {"sourceMap":false,"shadowMode":false});
|
|
537
537
|
|
|
538
538
|
/***/ }),
|
|
539
539
|
|
|
@@ -1133,6 +1133,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1133
1133
|
"DtListSection": () => (/* reexport */ list_section),
|
|
1134
1134
|
"DtModal": () => (/* reexport */ modal_modal),
|
|
1135
1135
|
"DtNotice": () => (/* reexport */ notice),
|
|
1136
|
+
"DtPagination": () => (/* reexport */ pagination),
|
|
1136
1137
|
"DtPopover": () => (/* reexport */ popover),
|
|
1137
1138
|
"DtRadio": () => (/* reexport */ radio_radio),
|
|
1138
1139
|
"DtRadioGroup": () => (/* reexport */ radio_group),
|
|
@@ -1188,6 +1189,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1188
1189
|
"TOOLTIP_DIRECTIONS": () => (/* reexport */ TOOLTIP_DIRECTIONS),
|
|
1189
1190
|
"TOOLTIP_HIDE_ON_CLICK_VARIANTS": () => (/* reexport */ TOOLTIP_HIDE_ON_CLICK_VARIANTS),
|
|
1190
1191
|
"TOOLTIP_KIND_MODIFIERS": () => (/* reexport */ TOOLTIP_KIND_MODIFIERS),
|
|
1192
|
+
"TOOLTIP_STICKY_VALUES": () => (/* reexport */ TOOLTIP_STICKY_VALUES),
|
|
1191
1193
|
"USER_STATUS_COLOR_MODIFIERS": () => (/* reexport */ USER_STATUS_COLOR_MODIFIERS),
|
|
1192
1194
|
"VALIDATION_MESSAGE_TYPES": () => (/* reexport */ VALIDATION_MESSAGE_TYPES),
|
|
1193
1195
|
"codeToEmojiData": () => (/* reexport */ codeToEmojiData),
|
|
@@ -2923,15 +2925,17 @@ const button_group_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(butto
|
|
|
2923
2925
|
;// CONCATENATED MODULE: ./components/button_group/index.js
|
|
2924
2926
|
|
|
2925
2927
|
|
|
2926
|
-
;// 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/combobox/combobox.vue?vue&type=template&id=
|
|
2928
|
+
;// 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/combobox/combobox.vue?vue&type=template&id=3a8030f9
|
|
2927
2929
|
|
|
2928
|
-
const
|
|
2929
|
-
const
|
|
2930
|
+
const comboboxvue_type_template_id_3a8030f9_hoisted_1 = ["aria-expanded", "aria-controls", "aria-owns"];
|
|
2931
|
+
const comboboxvue_type_template_id_3a8030f9_hoisted_2 = {
|
|
2930
2932
|
"data-qa": "dt-combobox-input-wrapper"
|
|
2931
2933
|
};
|
|
2932
|
-
function
|
|
2934
|
+
function comboboxvue_type_template_id_3a8030f9_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2933
2935
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
2934
2936
|
|
|
2937
|
+
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
2938
|
+
|
|
2935
2939
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
2936
2940
|
role: "combobox",
|
|
2937
2941
|
"aria-expanded": $props.showList.toString(),
|
|
@@ -2939,7 +2943,7 @@ function comboboxvue_type_template_id_1cf89689_render(_ctx, _cache, $props, $set
|
|
|
2939
2943
|
"aria-owns": $props.listId,
|
|
2940
2944
|
"aria-haspopup": "listbox",
|
|
2941
2945
|
onKeydown: [_cache[3] || (_cache[3] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEscapeKey'), ["stop"]), ["esc"])), _cache[4] || (_cache[4] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEnterKey'), ["exact"]), ["enter"])), _cache[5] || (_cache[5] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onUpKey'), ["stop", "prevent"]), ["up"])), _cache[6] || (_cache[6] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onDownKey'), ["stop", "prevent"]), ["down"])), _cache[7] || (_cache[7] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onHomeKey'), ["stop", "prevent"]), ["home"])), _cache[8] || (_cache[8] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withKeys)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)($event => $options.onKeyValidation($event, 'onEndKey'), ["stop", "prevent"]), ["end"]))]
|
|
2942
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div",
|
|
2946
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", comboboxvue_type_template_id_3a8030f9_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
2943
2947
|
inputProps: $options.inputProps
|
|
2944
2948
|
})]), $props.showList ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
2945
2949
|
key: 0,
|
|
@@ -2954,16 +2958,22 @@ function comboboxvue_type_template_id_1cf89689_render(_ctx, _cache, $props, $set
|
|
|
2954
2958
|
onMousemoveCapture: _cache[2] || (_cache[2] = function () {
|
|
2955
2959
|
return $options.onMouseHighlight && $options.onMouseHighlight(...arguments);
|
|
2956
2960
|
})
|
|
2957
|
-
}, [$props.
|
|
2961
|
+
}, [$data.isLoading && !$props.listRenderedOutside ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_combobox_loading_list, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
2958
2962
|
key: 0
|
|
2959
|
-
}, $options.listProps)), null, 16)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.
|
|
2960
|
-
key: 1
|
|
2963
|
+
}, $options.listProps)), null, 16)) : $data.isListEmpty && !$props.listRenderedOutside ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_combobox_empty_list, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
2964
|
+
key: 1
|
|
2965
|
+
}, $options.listProps, {
|
|
2966
|
+
message: $props.emptyStateMessage
|
|
2967
|
+
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
2968
|
+
key: 2,
|
|
2961
2969
|
listProps: $options.listProps,
|
|
2962
2970
|
opened: $options.onOpen,
|
|
2963
|
-
clearHighlightIndex: $options.clearHighlightIndex
|
|
2964
|
-
|
|
2971
|
+
clearHighlightIndex: $options.clearHighlightIndex,
|
|
2972
|
+
isLoading: $data.isLoading,
|
|
2973
|
+
isListEmpty: $data.isListEmpty
|
|
2974
|
+
})], 544)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)], 40, comboboxvue_type_template_id_3a8030f9_hoisted_1);
|
|
2965
2975
|
}
|
|
2966
|
-
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=
|
|
2976
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox.vue?vue&type=template&id=3a8030f9
|
|
2967
2977
|
|
|
2968
2978
|
;// CONCATENATED MODULE: ./common/mixins/dom.js
|
|
2969
2979
|
/* harmony default export */ const dom = ({
|
|
@@ -3266,22 +3276,20 @@ const ERROR_INVALID_LIST_ELEMENT = 'listElementKey is required or the referenced
|
|
|
3266
3276
|
this.setHighlightIndex(this._itemsLength() - 1);
|
|
3267
3277
|
},
|
|
3268
3278
|
|
|
3269
|
-
|
|
3279
|
+
setHighlightIndex(num) {
|
|
3270
3280
|
this[indexKey] = num;
|
|
3271
3281
|
this[idKey] = this._getItemId(num);
|
|
3272
3282
|
|
|
3273
3283
|
if (this._itemsLength() && afterHighlightMethod) {
|
|
3274
|
-
await this.$nextTick();
|
|
3275
3284
|
this[afterHighlightMethod](num);
|
|
3276
3285
|
}
|
|
3277
3286
|
},
|
|
3278
3287
|
|
|
3279
|
-
|
|
3288
|
+
setHighlightId(id) {
|
|
3280
3289
|
this[idKey] = id;
|
|
3281
3290
|
this[indexKey] = this._getItemIndex(id);
|
|
3282
3291
|
|
|
3283
3292
|
if (this._itemsLength() && afterHighlightMethod) {
|
|
3284
|
-
await this.$nextTick();
|
|
3285
3293
|
this[afterHighlightMethod](this._getItemIndex(id));
|
|
3286
3294
|
}
|
|
3287
3295
|
},
|
|
@@ -3340,14 +3348,18 @@ const ERROR_INVALID_LIST_ELEMENT = 'listElementKey is required or the referenced
|
|
|
3340
3348
|
}
|
|
3341
3349
|
};
|
|
3342
3350
|
});
|
|
3343
|
-
;// 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/combobox/combobox_loading-list.vue?vue&type=template&id=
|
|
3351
|
+
;// 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/combobox/combobox_loading-list.vue?vue&type=template&id=07d9971d
|
|
3344
3352
|
|
|
3345
|
-
|
|
3353
|
+
const combobox_loading_listvue_type_template_id_07d9971d_hoisted_1 = {
|
|
3354
|
+
class: "d-p0 d-mt8 d-hmx332 d-of-y-auto",
|
|
3355
|
+
"aria-busy": "true"
|
|
3356
|
+
};
|
|
3357
|
+
function combobox_loading_listvue_type_template_id_07d9971d_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3346
3358
|
const _component_dt_skeleton = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-skeleton");
|
|
3347
3359
|
|
|
3348
3360
|
const _component_dt_list_item = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-list-item");
|
|
3349
3361
|
|
|
3350
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("
|
|
3362
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("ol", combobox_loading_listvue_type_template_id_07d9971d_hoisted_1, [((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, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderList)(7, index => {
|
|
3351
3363
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_list_item, {
|
|
3352
3364
|
key: index,
|
|
3353
3365
|
role: "option",
|
|
@@ -3363,7 +3375,7 @@ function combobox_loading_listvue_type_template_id_49c938eb_render(_ctx, _cache,
|
|
|
3363
3375
|
}, 1024);
|
|
3364
3376
|
}), 64))]);
|
|
3365
3377
|
}
|
|
3366
|
-
;// CONCATENATED MODULE: ./components/combobox/combobox_loading-list.vue?vue&type=template&id=
|
|
3378
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox_loading-list.vue?vue&type=template&id=07d9971d
|
|
3367
3379
|
|
|
3368
3380
|
;// 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/list_item/list_item.vue?vue&type=template&id=237d2c10
|
|
3369
3381
|
|
|
@@ -4257,17 +4269,64 @@ const skeleton_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(skeletonv
|
|
|
4257
4269
|
|
|
4258
4270
|
|
|
4259
4271
|
;
|
|
4260
|
-
const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_loading_listvue_type_script_lang_js, [['render',
|
|
4272
|
+
const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_loading_listvue_type_script_lang_js, [['render',combobox_loading_listvue_type_template_id_07d9971d_render]])
|
|
4261
4273
|
|
|
4262
4274
|
/* harmony default export */ const combobox_loading_list = (combobox_loading_list_exports_);
|
|
4275
|
+
;// 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/combobox/combobox_empty-list.vue?vue&type=template&id=85c21112
|
|
4276
|
+
|
|
4277
|
+
const combobox_empty_listvue_type_template_id_85c21112_hoisted_1 = {
|
|
4278
|
+
class: "d-p0",
|
|
4279
|
+
"data-qa": "dt-combobox-empty-list"
|
|
4280
|
+
};
|
|
4281
|
+
function combobox_empty_listvue_type_template_id_85c21112_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4282
|
+
const _component_dt_list_item = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-list-item");
|
|
4283
|
+
|
|
4284
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("ol", combobox_empty_listvue_type_template_id_85c21112_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_list_item, {
|
|
4285
|
+
class: "d-d-flex d-jc-center",
|
|
4286
|
+
role: "option",
|
|
4287
|
+
"navigation-type": "arrow-keys"
|
|
4288
|
+
}, {
|
|
4289
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)($props.message), 1)]),
|
|
4290
|
+
_: 1
|
|
4291
|
+
})]);
|
|
4292
|
+
}
|
|
4293
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox_empty-list.vue?vue&type=template&id=85c21112
|
|
4294
|
+
|
|
4295
|
+
;// 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/combobox/combobox_empty-list.vue?vue&type=script&lang=js
|
|
4296
|
+
|
|
4297
|
+
/* harmony default export */ const combobox_empty_listvue_type_script_lang_js = ({
|
|
4298
|
+
name: 'ComboboxEmptyList',
|
|
4299
|
+
components: {
|
|
4300
|
+
DtListItem: list_item
|
|
4301
|
+
},
|
|
4302
|
+
props: {
|
|
4303
|
+
message: {
|
|
4304
|
+
type: String,
|
|
4305
|
+
required: true
|
|
4306
|
+
}
|
|
4307
|
+
}
|
|
4308
|
+
});
|
|
4309
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox_empty-list.vue?vue&type=script&lang=js
|
|
4310
|
+
|
|
4311
|
+
;// CONCATENATED MODULE: ./components/combobox/combobox_empty-list.vue
|
|
4312
|
+
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
|
|
4316
|
+
;
|
|
4317
|
+
const combobox_empty_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_empty_listvue_type_script_lang_js, [['render',combobox_empty_listvue_type_template_id_85c21112_render]])
|
|
4318
|
+
|
|
4319
|
+
/* harmony default export */ const combobox_empty_list = (combobox_empty_list_exports_);
|
|
4263
4320
|
;// 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/combobox/combobox.vue?vue&type=script&lang=js
|
|
4264
4321
|
|
|
4265
4322
|
|
|
4266
4323
|
|
|
4324
|
+
|
|
4267
4325
|
/* harmony default export */ const comboboxvue_type_script_lang_js = ({
|
|
4268
4326
|
name: 'DtCombobox',
|
|
4269
4327
|
components: {
|
|
4270
|
-
ComboboxLoadingList: combobox_loading_list
|
|
4328
|
+
ComboboxLoadingList: combobox_loading_list,
|
|
4329
|
+
ComboboxEmptyList: combobox_empty_list
|
|
4271
4330
|
},
|
|
4272
4331
|
mixins: [keyboard_list_navigation({
|
|
4273
4332
|
indexKey: 'highlightIndex',
|
|
@@ -4338,6 +4397,14 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4338
4397
|
loading: {
|
|
4339
4398
|
type: Boolean,
|
|
4340
4399
|
default: false
|
|
4400
|
+
},
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* Message to show when the list is empty
|
|
4404
|
+
*/
|
|
4405
|
+
emptyStateMessage: {
|
|
4406
|
+
type: String,
|
|
4407
|
+
default: ''
|
|
4341
4408
|
}
|
|
4342
4409
|
},
|
|
4343
4410
|
emits: ['select', 'escape', 'highlight', 'opened'],
|
|
@@ -4347,7 +4414,9 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4347
4414
|
// If the list is rendered at the root, rather than as a child
|
|
4348
4415
|
// of this component, this is the ref to that dom element. Set
|
|
4349
4416
|
// by the onOpen method.
|
|
4350
|
-
outsideRenderedListRef: null
|
|
4417
|
+
outsideRenderedListRef: null,
|
|
4418
|
+
isListEmpty: undefined,
|
|
4419
|
+
isLoading: undefined
|
|
4351
4420
|
};
|
|
4352
4421
|
},
|
|
4353
4422
|
|
|
@@ -4398,22 +4467,38 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4398
4467
|
watch: {
|
|
4399
4468
|
showList(showList) {
|
|
4400
4469
|
// When the list's visibility changes reset the highlight index.
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
}
|
|
4406
|
-
});
|
|
4470
|
+
if (!this.listRenderedOutside) {
|
|
4471
|
+
this.setInitialHighlightIndex();
|
|
4472
|
+
this.$emit('opened', showList);
|
|
4473
|
+
}
|
|
4407
4474
|
|
|
4408
4475
|
if (!showList && this.outsideRenderedListRef) {
|
|
4409
4476
|
this.outsideRenderedListRef.removeEventListener('mousemove', this.onMouseHighlight);
|
|
4410
4477
|
this.outsideRenderedListRef = null;
|
|
4478
|
+
this.isListEmpty = undefined;
|
|
4411
4479
|
}
|
|
4480
|
+
},
|
|
4481
|
+
|
|
4482
|
+
loading(isLoading) {
|
|
4483
|
+
this.isListEmpty = undefined;
|
|
4484
|
+
this.isLoading = isLoading;
|
|
4485
|
+
this.$nextTick(() => {
|
|
4486
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4487
|
+
this.setInitialHighlightIndex();
|
|
4488
|
+
});
|
|
4412
4489
|
}
|
|
4413
4490
|
|
|
4414
4491
|
},
|
|
4492
|
+
|
|
4493
|
+
async mounted() {
|
|
4494
|
+
this.isLoading = this.loading;
|
|
4495
|
+
await this.$nextTick();
|
|
4496
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4497
|
+
},
|
|
4498
|
+
|
|
4415
4499
|
methods: {
|
|
4416
4500
|
onMouseHighlight(e) {
|
|
4501
|
+
if (this.loading) return;
|
|
4417
4502
|
const liElement = e.target.closest('li');
|
|
4418
4503
|
|
|
4419
4504
|
if (liElement && this.highlightId !== liElement.id) {
|
|
@@ -4422,9 +4507,9 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4422
4507
|
},
|
|
4423
4508
|
|
|
4424
4509
|
getListElement() {
|
|
4425
|
-
var _this$outsideRendered;
|
|
4510
|
+
var _this$outsideRendered, _this$$refs$listWrapp;
|
|
4426
4511
|
|
|
4427
|
-
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : this.$refs.listWrapper.querySelector("#".concat(this.listId));
|
|
4512
|
+
return (_this$outsideRendered = this.outsideRenderedListRef) !== null && _this$outsideRendered !== void 0 ? _this$outsideRendered : (_this$$refs$listWrapp = this.$refs.listWrapper) === null || _this$$refs$listWrapp === void 0 ? void 0 : _this$$refs$listWrapp.querySelector("#".concat(this.listId));
|
|
4428
4513
|
},
|
|
4429
4514
|
|
|
4430
4515
|
clearHighlightIndex() {
|
|
@@ -4434,10 +4519,13 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4434
4519
|
},
|
|
4435
4520
|
|
|
4436
4521
|
afterHighlight() {
|
|
4522
|
+
if (this.loading) return;
|
|
4437
4523
|
this.$emit('highlight', this.highlightIndex);
|
|
4438
4524
|
},
|
|
4439
4525
|
|
|
4440
4526
|
onEnterKey() {
|
|
4527
|
+
if (this.loading || this.isListEmpty) return;
|
|
4528
|
+
|
|
4441
4529
|
if (this.highlightIndex >= 0) {
|
|
4442
4530
|
this.$emit('select', this.highlightIndex);
|
|
4443
4531
|
}
|
|
@@ -4455,24 +4543,30 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4455
4543
|
this.$emit('opened', open);
|
|
4456
4544
|
|
|
4457
4545
|
if (open) {
|
|
4546
|
+
this.isListEmpty = this.checkItemsLength();
|
|
4458
4547
|
this.setInitialHighlightIndex();
|
|
4459
4548
|
}
|
|
4460
4549
|
},
|
|
4461
4550
|
|
|
4462
4551
|
onKeyValidation(e, eventHandler) {
|
|
4463
|
-
if (!this.showList || !this.getListElement()
|
|
4464
|
-
return;
|
|
4465
|
-
}
|
|
4466
|
-
|
|
4552
|
+
if (!this.showList || !this.getListElement()) return;
|
|
4467
4553
|
this[eventHandler](e);
|
|
4468
4554
|
},
|
|
4469
4555
|
|
|
4470
4556
|
setInitialHighlightIndex() {
|
|
4471
|
-
if (this.showList)
|
|
4557
|
+
if (!this.showList) return;
|
|
4558
|
+
this.$nextTick(() => {
|
|
4472
4559
|
// When the list's is shown, reset the highlight index.
|
|
4473
|
-
// If the list is
|
|
4560
|
+
// If the list is loading, set to -1
|
|
4474
4561
|
this.setHighlightIndex(this.loading ? -1 : 0);
|
|
4475
|
-
}
|
|
4562
|
+
});
|
|
4563
|
+
},
|
|
4564
|
+
|
|
4565
|
+
checkItemsLength() {
|
|
4566
|
+
if (!this.showList) return undefined;
|
|
4567
|
+
const list = this.getListElement();
|
|
4568
|
+
const options = list === null || list === void 0 ? void 0 : list.querySelectorAll("[role=\"option\"]");
|
|
4569
|
+
return (options === null || options === void 0 ? void 0 : options.length) === 0;
|
|
4476
4570
|
}
|
|
4477
4571
|
|
|
4478
4572
|
}
|
|
@@ -4485,7 +4579,7 @@ const combobox_loading_list_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
4485
4579
|
|
|
4486
4580
|
|
|
4487
4581
|
;
|
|
4488
|
-
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',
|
|
4582
|
+
const combobox_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(comboboxvue_type_script_lang_js, [['render',comboboxvue_type_template_id_3a8030f9_render]])
|
|
4489
4583
|
|
|
4490
4584
|
/* harmony default export */ const combobox = (combobox_exports_);
|
|
4491
4585
|
;// CONCATENATED MODULE: ./components/combobox/index.js
|
|
@@ -4545,11 +4639,11 @@ function dropdownvue_type_template_id_b0e1f8ba_render(_ctx, _cache, $props, $set
|
|
|
4545
4639
|
}
|
|
4546
4640
|
;// CONCATENATED MODULE: ./components/dropdown/dropdown.vue?vue&type=template&id=b0e1f8ba
|
|
4547
4641
|
|
|
4548
|
-
;// 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/popover/popover.vue?vue&type=template&id=
|
|
4642
|
+
;// 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/popover/popover.vue?vue&type=template&id=fee82b00
|
|
4549
4643
|
|
|
4550
|
-
const
|
|
4551
|
-
const
|
|
4552
|
-
function
|
|
4644
|
+
const popovervue_type_template_id_fee82b00_hoisted_1 = ["aria-hidden"];
|
|
4645
|
+
const popovervue_type_template_id_fee82b00_hoisted_2 = ["id"];
|
|
4646
|
+
function popovervue_type_template_id_fee82b00_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4553
4647
|
const _component_popover_header_footer = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("popover-header-footer");
|
|
4554
4648
|
|
|
4555
4649
|
const _component_dt_lazy_show = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-lazy-show");
|
|
@@ -4561,13 +4655,13 @@ function popovervue_type_template_id_0656612f_render(_ctx, _cache, $props, $setu
|
|
|
4561
4655
|
class: "d-modal--transparent",
|
|
4562
4656
|
"aria-hidden": $props.modal && $data.isOpen ? 'false' : 'true',
|
|
4563
4657
|
onClick: _cache[0] || (_cache[0] = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withModifiers)(() => {}, ["prevent", "stop"]))
|
|
4564
|
-
}, null, 8,
|
|
4658
|
+
}, null, 8, popovervue_type_template_id_fee82b00_hoisted_1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveDynamicComponent)($props.elementType), {
|
|
4565
4659
|
ref: "popover",
|
|
4566
|
-
class: ['d-popover', {
|
|
4660
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover', {
|
|
4567
4661
|
'd-popover__anchor--modal-opened': $props.modal && $data.isOpen
|
|
4568
|
-
}],
|
|
4662
|
+
}]),
|
|
4569
4663
|
"data-qa": "dt-popover-container"
|
|
4570
|
-
},
|
|
4664
|
+
}, {
|
|
4571
4665
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
4572
4666
|
id: !$props.ariaLabelledby && $options.labelledBy,
|
|
4573
4667
|
ref: "anchor",
|
|
@@ -4590,7 +4684,7 @@ function popovervue_type_template_id_0656612f_render(_ctx, _cache, $props, $setu
|
|
|
4590
4684
|
'aria-controls': $props.id,
|
|
4591
4685
|
'aria-haspopup': $props.role
|
|
4592
4686
|
}
|
|
4593
|
-
})], 40,
|
|
4687
|
+
})], 40, popovervue_type_template_id_fee82b00_hoisted_2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_lazy_show, {
|
|
4594
4688
|
id: $props.id,
|
|
4595
4689
|
ref: "content",
|
|
4596
4690
|
role: $props.role,
|
|
@@ -4602,19 +4696,19 @@ function popovervue_type_template_id_0656612f_render(_ctx, _cache, $props, $setu
|
|
|
4602
4696
|
transition: $props.transition,
|
|
4603
4697
|
show: $data.isOpen,
|
|
4604
4698
|
appear: "",
|
|
4605
|
-
class: ['d-popover__dialog', {
|
|
4699
|
+
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)(['d-popover__dialog', {
|
|
4606
4700
|
'd-popover__dialog--modal': $props.modal
|
|
4607
|
-
}, $props.dialogClass],
|
|
4608
|
-
style: {
|
|
4701
|
+
}, $props.dialogClass]),
|
|
4702
|
+
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeStyle)({
|
|
4609
4703
|
'max-height': $props.maxHeight,
|
|
4610
4704
|
'max-width': $props.maxWidth
|
|
4611
|
-
},
|
|
4612
|
-
|
|
4613
|
-
|
|
4705
|
+
}),
|
|
4706
|
+
css: _ctx.$attrs.css,
|
|
4707
|
+
tabindex: $props.contentTabindex,
|
|
4614
4708
|
onKeydownCapture: $options.onKeydown,
|
|
4615
4709
|
onAfterLeave: $options.onLeaveTransitionComplete,
|
|
4616
4710
|
onAfterEnter: $options.onEnterTransitionComplete
|
|
4617
|
-
}
|
|
4711
|
+
}, {
|
|
4618
4712
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [_ctx.$slots.headerContent || $props.showCloseButton ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_popover_header_footer, {
|
|
4619
4713
|
key: 0,
|
|
4620
4714
|
ref: "popover__header",
|
|
@@ -4648,11 +4742,11 @@ function popovervue_type_template_id_0656612f_render(_ctx, _cache, $props, $setu
|
|
|
4648
4742
|
_: 3
|
|
4649
4743
|
}, 8, ["class", "content-class"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
|
|
4650
4744
|
_: 3
|
|
4651
|
-
},
|
|
4745
|
+
}, 8, ["id", "role", "aria-hidden", "aria-labelledby", "aria-label", "aria-modal", "transition", "show", "class", "style", "css", "tabindex", "onKeydownCapture", "onAfterLeave", "onAfterEnter"])]),
|
|
4652
4746
|
_: 3
|
|
4653
|
-
},
|
|
4747
|
+
}, 8, ["class"]))]);
|
|
4654
4748
|
}
|
|
4655
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=
|
|
4749
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=template&id=fee82b00
|
|
4656
4750
|
|
|
4657
4751
|
;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js
|
|
4658
4752
|
function getWindow(node) {
|
|
@@ -9104,6 +9198,7 @@ const getArrowDetected = fn => ({
|
|
|
9104
9198
|
|
|
9105
9199
|
|
|
9106
9200
|
const BASE_TIPPY_DIRECTIONS = ['bottom', 'bottom-start', 'bottom-end', 'right', 'right-start', 'right-end', 'left', 'left-start', 'left-end', 'top', 'top-start', 'top-end'];
|
|
9201
|
+
const TIPPY_STICKY_VALUES = [true, false, 'reference', 'popper'];
|
|
9107
9202
|
const tippy_utils_createTippy = (anchorElement, options) => {
|
|
9108
9203
|
const {
|
|
9109
9204
|
contentElement
|
|
@@ -9111,6 +9206,7 @@ const tippy_utils_createTippy = (anchorElement, options) => {
|
|
|
9111
9206
|
};
|
|
9112
9207
|
delete options.contentElement;
|
|
9113
9208
|
return tippy_esm(anchorElement, { ...options,
|
|
9209
|
+
plugins: [sticky],
|
|
9114
9210
|
render: () => getContentWrapper(contentElement)
|
|
9115
9211
|
});
|
|
9116
9212
|
};
|
|
@@ -9119,7 +9215,10 @@ const getPopperOptions = function () {
|
|
|
9119
9215
|
boundary = 'clippingParents',
|
|
9120
9216
|
fallbackPlacements = [],
|
|
9121
9217
|
onChangePlacement = () => {},
|
|
9122
|
-
hasHideModifierEnabled = false
|
|
9218
|
+
hasHideModifierEnabled = false,
|
|
9219
|
+
// If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
9220
|
+
// if set to true it will never move from its position relative to the anchor and will clip instead.
|
|
9221
|
+
tether = true
|
|
9123
9222
|
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9124
9223
|
return {
|
|
9125
9224
|
modifiers: [{
|
|
@@ -9131,6 +9230,12 @@ const getPopperOptions = function () {
|
|
|
9131
9230
|
}, {
|
|
9132
9231
|
name: 'hide',
|
|
9133
9232
|
enabled: hasHideModifierEnabled
|
|
9233
|
+
}, {
|
|
9234
|
+
name: 'preventOverflow',
|
|
9235
|
+
options: {
|
|
9236
|
+
altAxis: !tether,
|
|
9237
|
+
tether
|
|
9238
|
+
}
|
|
9134
9239
|
}, getArrowDetected(_ref => {
|
|
9135
9240
|
let {
|
|
9136
9241
|
state
|
|
@@ -9186,6 +9291,7 @@ const POPOVER_HEADER_FOOTER_PADDING_CLASSES = {
|
|
|
9186
9291
|
const POPOVER_ROLES = ['dialog', 'menu', 'listbox', 'tree', 'grid'];
|
|
9187
9292
|
const POPOVER_CONTENT_WIDTHS = [null, 'anchor'];
|
|
9188
9293
|
const POPOVER_INITIAL_FOCUS_STRINGS = ['none', 'dialog', 'first'];
|
|
9294
|
+
const POPOVER_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
9189
9295
|
const POPOVER_DIRECTIONS = [...BASE_TIPPY_DIRECTIONS];
|
|
9190
9296
|
;// 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/lazy_show/lazy_show.vue?vue&type=template&id=7659d16a
|
|
9191
9297
|
|
|
@@ -9379,7 +9485,6 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9379
9485
|
PopoverHeaderFooter: popover_header_footer
|
|
9380
9486
|
},
|
|
9381
9487
|
mixins: [modal],
|
|
9382
|
-
inheritAttrs: false,
|
|
9383
9488
|
props: {
|
|
9384
9489
|
/**
|
|
9385
9490
|
* Controls whether the popover is shown. Leaving this null will have the popover trigger on click by default.
|
|
@@ -9554,6 +9659,30 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9554
9659
|
default: 'bottom-end'
|
|
9555
9660
|
},
|
|
9556
9661
|
|
|
9662
|
+
/**
|
|
9663
|
+
* If set to false the dialog will display over top of the anchor when there is insufficient space.
|
|
9664
|
+
* If set to true it will never move from its position relative to the anchor and will clip instead.
|
|
9665
|
+
*/
|
|
9666
|
+
tether: {
|
|
9667
|
+
type: Boolean,
|
|
9668
|
+
default: true
|
|
9669
|
+
},
|
|
9670
|
+
|
|
9671
|
+
/**
|
|
9672
|
+
* If the popover sticks to the anchor. This is usually not needed, but can be needed
|
|
9673
|
+
* if the reference element's position is animating, or to automatically update the popover
|
|
9674
|
+
* position in those cases the DOM layout changes the reference element's position.
|
|
9675
|
+
* `true` enables it, `reference` only checks the "reference" rect for changes and `popper` only
|
|
9676
|
+
* checks the "popper" rect for changes.
|
|
9677
|
+
*/
|
|
9678
|
+
sticky: {
|
|
9679
|
+
type: [Boolean, String],
|
|
9680
|
+
default: false,
|
|
9681
|
+
validator: sticky => {
|
|
9682
|
+
return POPOVER_STICKY_VALUES.includes(sticky);
|
|
9683
|
+
}
|
|
9684
|
+
},
|
|
9685
|
+
|
|
9557
9686
|
/**
|
|
9558
9687
|
* Determines maximum height for the popover before overflow.
|
|
9559
9688
|
* Possible units rem|px|em
|
|
@@ -9667,16 +9796,25 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9667
9796
|
|
|
9668
9797
|
offset(offset) {
|
|
9669
9798
|
this.tip.setProps({
|
|
9670
|
-
offset
|
|
9799
|
+
offset
|
|
9671
9800
|
});
|
|
9672
9801
|
},
|
|
9673
9802
|
|
|
9674
|
-
|
|
9803
|
+
sticky(sticky) {
|
|
9675
9804
|
this.tip.setProps({
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
|
|
9679
|
-
|
|
9805
|
+
sticky
|
|
9806
|
+
});
|
|
9807
|
+
},
|
|
9808
|
+
|
|
9809
|
+
fallbackPlacements() {
|
|
9810
|
+
this.tip.setProps({
|
|
9811
|
+
popperOptions: this.popperOptions()
|
|
9812
|
+
});
|
|
9813
|
+
},
|
|
9814
|
+
|
|
9815
|
+
tether() {
|
|
9816
|
+
this.tip.setProps({
|
|
9817
|
+
popperOptions: this.popperOptions()
|
|
9680
9818
|
});
|
|
9681
9819
|
},
|
|
9682
9820
|
|
|
@@ -9720,13 +9858,11 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9720
9858
|
}
|
|
9721
9859
|
|
|
9722
9860
|
this.tip = tippy_utils_createTippy(this.anchorEl, {
|
|
9723
|
-
popperOptions:
|
|
9724
|
-
fallbackPlacements: this.fallbackPlacements,
|
|
9725
|
-
hasHideModifierEnabled: true
|
|
9726
|
-
}),
|
|
9861
|
+
popperOptions: this.popperOptions(),
|
|
9727
9862
|
contentElement: this.popoverContentEl,
|
|
9728
9863
|
placement: this.placement,
|
|
9729
9864
|
offset: this.offset,
|
|
9865
|
+
sticky: this.sticky,
|
|
9730
9866
|
appendTo: document.body,
|
|
9731
9867
|
interactive: true,
|
|
9732
9868
|
trigger: 'manual',
|
|
@@ -9757,6 +9893,14 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9757
9893
|
* METHODS *
|
|
9758
9894
|
******************/
|
|
9759
9895
|
methods: {
|
|
9896
|
+
popperOptions() {
|
|
9897
|
+
return getPopperOptions({
|
|
9898
|
+
fallbackPlacements: this.fallbackPlacements,
|
|
9899
|
+
tether: this.tether,
|
|
9900
|
+
hasHideModifierEnabled: true
|
|
9901
|
+
});
|
|
9902
|
+
},
|
|
9903
|
+
|
|
9760
9904
|
validateProps() {
|
|
9761
9905
|
if (this.modal && this.initialFocusElement === 'none') {
|
|
9762
9906
|
console.error('If the popover is modal you must set the ' + 'initialFocusElement prop. Possible values: "dialog", "first", HTMLElement');
|
|
@@ -9939,9 +10083,9 @@ const popover_header_footer_exports_ = /*#__PURE__*/(0,exportHelper/* default */
|
|
|
9939
10083
|
});
|
|
9940
10084
|
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=script&lang=js
|
|
9941
10085
|
|
|
9942
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.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/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
9943
|
-
var
|
|
9944
|
-
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=
|
|
10086
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.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/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/popover/popover.vue?vue&type=style&index=0&id=fee82b00&lang=less
|
|
10087
|
+
var popovervue_type_style_index_0_id_fee82b00_lang_less = __webpack_require__(888);
|
|
10088
|
+
;// CONCATENATED MODULE: ./components/popover/popover.vue?vue&type=style&index=0&id=fee82b00&lang=less
|
|
9945
10089
|
|
|
9946
10090
|
;// CONCATENATED MODULE: ./components/popover/popover.vue
|
|
9947
10091
|
|
|
@@ -9951,7 +10095,7 @@ var popovervue_type_style_index_0_id_0656612f_lang_less = __webpack_require__(67
|
|
|
9951
10095
|
;
|
|
9952
10096
|
|
|
9953
10097
|
|
|
9954
|
-
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',
|
|
10098
|
+
const popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(popovervue_type_script_lang_js, [['render',popovervue_type_template_id_fee82b00_render]])
|
|
9955
10099
|
|
|
9956
10100
|
/* harmony default export */ const popover = (popover_exports_);
|
|
9957
10101
|
;// CONCATENATED MODULE: ./components/popover/index.js
|
|
@@ -12643,6 +12787,265 @@ const notice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(noticevue_t
|
|
|
12643
12787
|
;// CONCATENATED MODULE: ./components/notice/index.js
|
|
12644
12788
|
|
|
12645
12789
|
|
|
12790
|
+
;// 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/pagination/pagination.vue?vue&type=template&id=679081ce
|
|
12791
|
+
|
|
12792
|
+
const paginationvue_type_template_id_679081ce_hoisted_1 = ["aria-label"];
|
|
12793
|
+
const paginationvue_type_template_id_679081ce_hoisted_2 = {
|
|
12794
|
+
key: 0,
|
|
12795
|
+
"data-qa": "dt-pagination-separator",
|
|
12796
|
+
class: "d-h32 d-w32 d-d-flex d-ai-center d-jc-center"
|
|
12797
|
+
};
|
|
12798
|
+
function paginationvue_type_template_id_679081ce_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12799
|
+
const _component_icon_chevron_left = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("icon-chevron-left");
|
|
12800
|
+
|
|
12801
|
+
const _component_dt_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-button");
|
|
12802
|
+
|
|
12803
|
+
const _component_icon_chevron_right = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("icon-chevron-right");
|
|
12804
|
+
|
|
12805
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("nav", {
|
|
12806
|
+
"aria-label": $props.ariaLabel,
|
|
12807
|
+
class: "d-d-flex d-fd-row d-gg2 d-ai-center"
|
|
12808
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
12809
|
+
class: "d-h32 d-w32",
|
|
12810
|
+
"data-qa": "dt-pagination-prev",
|
|
12811
|
+
"aria-label": $props.prevAriaLabel,
|
|
12812
|
+
importance: $options.isFirstPage ? 'primary' : 'clear',
|
|
12813
|
+
disabled: $options.isFirstPage,
|
|
12814
|
+
onClick: _cache[0] || (_cache[0] = $event => $options.changePage($data.currentPage - 1))
|
|
12815
|
+
}, {
|
|
12816
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_icon_chevron_left)]),
|
|
12817
|
+
_: 1
|
|
12818
|
+
}, 8, ["aria-label", "importance", "disabled"]), ((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)($options.pages, (page, index) => {
|
|
12819
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
12820
|
+
key: "page-".concat(page, "-").concat(index)
|
|
12821
|
+
}, [isNaN(Number(page)) ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", paginationvue_type_template_id_679081ce_hoisted_2, " … ")) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_button, {
|
|
12822
|
+
key: 1,
|
|
12823
|
+
"aria-label": $props.pageNumberAriaLabel(page),
|
|
12824
|
+
importance: $data.currentPage === page ? 'primary' : 'clear',
|
|
12825
|
+
class: "d-h32 d-w32",
|
|
12826
|
+
"label-class": "d-fs14",
|
|
12827
|
+
onClick: $event => $options.changePage(page)
|
|
12828
|
+
}, {
|
|
12829
|
+
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)(page), 1)]),
|
|
12830
|
+
_: 2
|
|
12831
|
+
}, 1032, ["aria-label", "importance", "onClick"]))]);
|
|
12832
|
+
}), 128)), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_button, {
|
|
12833
|
+
class: "d-h32 d-w32",
|
|
12834
|
+
"data-qa": "dt-pagination-next",
|
|
12835
|
+
"aria-label": $props.nextAriaLabel,
|
|
12836
|
+
disabled: $options.isLastPage,
|
|
12837
|
+
importance: $options.isLastPage ? 'primary' : 'clear',
|
|
12838
|
+
onClick: _cache[1] || (_cache[1] = $event => $options.changePage($data.currentPage + 1))
|
|
12839
|
+
}, {
|
|
12840
|
+
icon: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_icon_chevron_right)]),
|
|
12841
|
+
_: 1
|
|
12842
|
+
}, 8, ["aria-label", "disabled", "importance"])], 8, paginationvue_type_template_id_679081ce_hoisted_1);
|
|
12843
|
+
}
|
|
12844
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=679081ce
|
|
12845
|
+
|
|
12846
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue?vue&type=template&id=bdbc37f6
|
|
12847
|
+
|
|
12848
|
+
|
|
12849
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_1 = {
|
|
12850
|
+
"aria-hidden": "true",
|
|
12851
|
+
"aria-label": "Chevron Left",
|
|
12852
|
+
class: "d-svg d-svg--system d-svg__chevronLeft",
|
|
12853
|
+
viewBox: "0 0 24 24"
|
|
12854
|
+
}
|
|
12855
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" }, null, -1)
|
|
12856
|
+
const IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_3 = [
|
|
12857
|
+
IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_2
|
|
12858
|
+
]
|
|
12859
|
+
|
|
12860
|
+
function IconChevronLeftvue_type_template_id_bdbc37f6_render(_ctx, _cache) {
|
|
12861
|
+
return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_1, IconChevronLeftvue_type_template_id_bdbc37f6_hoisted_3))
|
|
12862
|
+
}
|
|
12863
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue?vue&type=template&id=bdbc37f6
|
|
12864
|
+
|
|
12865
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronLeft.vue
|
|
12866
|
+
|
|
12867
|
+
const IconChevronLeft_script = {}
|
|
12868
|
+
|
|
12869
|
+
;
|
|
12870
|
+
const IconChevronLeft_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(IconChevronLeft_script, [['render',IconChevronLeftvue_type_template_id_bdbc37f6_render]])
|
|
12871
|
+
|
|
12872
|
+
/* harmony default export */ const IconChevronLeft = (IconChevronLeft_exports_);
|
|
12873
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue?vue&type=template&id=c72b3d10
|
|
12874
|
+
|
|
12875
|
+
|
|
12876
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_1 = {
|
|
12877
|
+
"aria-hidden": "true",
|
|
12878
|
+
"aria-label": "Chevron Right",
|
|
12879
|
+
class: "d-svg d-svg--system d-svg__chevronRight",
|
|
12880
|
+
viewBox: "0 0 24 24"
|
|
12881
|
+
}
|
|
12882
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, null, -1)
|
|
12883
|
+
const IconChevronRightvue_type_template_id_c72b3d10_hoisted_3 = [
|
|
12884
|
+
IconChevronRightvue_type_template_id_c72b3d10_hoisted_2
|
|
12885
|
+
]
|
|
12886
|
+
|
|
12887
|
+
function IconChevronRightvue_type_template_id_c72b3d10_render(_ctx, _cache) {
|
|
12888
|
+
return ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("svg", IconChevronRightvue_type_template_id_c72b3d10_hoisted_1, IconChevronRightvue_type_template_id_c72b3d10_hoisted_3))
|
|
12889
|
+
}
|
|
12890
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue?vue&type=template&id=c72b3d10
|
|
12891
|
+
|
|
12892
|
+
;// CONCATENATED MODULE: ./node_modules/@dialpad/dialtone/lib/dist/vue/icons/IconChevronRight.vue
|
|
12893
|
+
|
|
12894
|
+
const IconChevronRight_script = {}
|
|
12895
|
+
|
|
12896
|
+
;
|
|
12897
|
+
const IconChevronRight_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(IconChevronRight_script, [['render',IconChevronRightvue_type_template_id_c72b3d10_render]])
|
|
12898
|
+
|
|
12899
|
+
/* harmony default export */ const IconChevronRight = (IconChevronRight_exports_);
|
|
12900
|
+
;// 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/pagination/pagination.vue?vue&type=script&lang=js
|
|
12901
|
+
|
|
12902
|
+
|
|
12903
|
+
|
|
12904
|
+
/* harmony default export */ const paginationvue_type_script_lang_js = ({
|
|
12905
|
+
name: 'DtPagination',
|
|
12906
|
+
components: {
|
|
12907
|
+
DtButton: button_button,
|
|
12908
|
+
IconChevronLeft: IconChevronLeft,
|
|
12909
|
+
IconChevronRight: IconChevronRight
|
|
12910
|
+
},
|
|
12911
|
+
props: {
|
|
12912
|
+
/**
|
|
12913
|
+
* Descriptive label for the pagination content.
|
|
12914
|
+
*/
|
|
12915
|
+
ariaLabel: {
|
|
12916
|
+
type: String,
|
|
12917
|
+
required: true
|
|
12918
|
+
},
|
|
12919
|
+
|
|
12920
|
+
/**
|
|
12921
|
+
* The total number of the pages
|
|
12922
|
+
*/
|
|
12923
|
+
totalPages: {
|
|
12924
|
+
type: Number,
|
|
12925
|
+
required: true
|
|
12926
|
+
},
|
|
12927
|
+
|
|
12928
|
+
/**
|
|
12929
|
+
* Descriptive label for the previous button.
|
|
12930
|
+
*/
|
|
12931
|
+
prevAriaLabel: {
|
|
12932
|
+
type: String,
|
|
12933
|
+
required: true
|
|
12934
|
+
},
|
|
12935
|
+
|
|
12936
|
+
/**
|
|
12937
|
+
* Descriptive label for the next button.
|
|
12938
|
+
*/
|
|
12939
|
+
nextAriaLabel: {
|
|
12940
|
+
type: String,
|
|
12941
|
+
required: true
|
|
12942
|
+
},
|
|
12943
|
+
|
|
12944
|
+
/**
|
|
12945
|
+
* A method that will be called to get the aria label of each page.
|
|
12946
|
+
*/
|
|
12947
|
+
pageNumberAriaLabel: {
|
|
12948
|
+
type: Function,
|
|
12949
|
+
required: true
|
|
12950
|
+
},
|
|
12951
|
+
|
|
12952
|
+
/**
|
|
12953
|
+
* The active current page in the list of pages, defaults to the first page
|
|
12954
|
+
*/
|
|
12955
|
+
activePage: {
|
|
12956
|
+
type: Number,
|
|
12957
|
+
default: 1
|
|
12958
|
+
},
|
|
12959
|
+
|
|
12960
|
+
/**
|
|
12961
|
+
* Determines the max pages to be shown in the list. Using an odd number is recommended.
|
|
12962
|
+
* If an even number is given, then it will be rounded down to the nearest odd number to always
|
|
12963
|
+
* keep current page in the middle when current page is in the mid-range.
|
|
12964
|
+
*/
|
|
12965
|
+
maxVisible: {
|
|
12966
|
+
type: Number,
|
|
12967
|
+
default: 5
|
|
12968
|
+
}
|
|
12969
|
+
},
|
|
12970
|
+
emits: ['change'],
|
|
12971
|
+
|
|
12972
|
+
data() {
|
|
12973
|
+
return {
|
|
12974
|
+
currentPage: this.activePage
|
|
12975
|
+
};
|
|
12976
|
+
},
|
|
12977
|
+
|
|
12978
|
+
computed: {
|
|
12979
|
+
isFirstPage() {
|
|
12980
|
+
return this.currentPage === 1;
|
|
12981
|
+
},
|
|
12982
|
+
|
|
12983
|
+
isLastPage() {
|
|
12984
|
+
return this.currentPage === this.totalPages;
|
|
12985
|
+
},
|
|
12986
|
+
|
|
12987
|
+
pages() {
|
|
12988
|
+
if (this.maxVisible === 0) {
|
|
12989
|
+
return [];
|
|
12990
|
+
}
|
|
12991
|
+
|
|
12992
|
+
if (this.totalPages <= this.maxVisible) {
|
|
12993
|
+
return this.range(1, this.totalPages);
|
|
12994
|
+
}
|
|
12995
|
+
|
|
12996
|
+
const start = this.maxVisible - 1;
|
|
12997
|
+
const end = this.totalPages - start + 1;
|
|
12998
|
+
|
|
12999
|
+
if (this.currentPage < start) {
|
|
13000
|
+
return [...this.range(1, start), '...', this.totalPages];
|
|
13001
|
+
}
|
|
13002
|
+
|
|
13003
|
+
if (this.currentPage > end) {
|
|
13004
|
+
return [1, '...', ...this.range(end, this.totalPages)];
|
|
13005
|
+
} // rounding to the nearest odd according to the maxlength to always show the page number in the middle.
|
|
13006
|
+
|
|
13007
|
+
|
|
13008
|
+
const total = this.maxVisible - (3 - this.maxVisible % 2);
|
|
13009
|
+
const centerIndex = Math.floor(total / 2);
|
|
13010
|
+
const left = this.currentPage - centerIndex;
|
|
13011
|
+
const right = this.currentPage + centerIndex;
|
|
13012
|
+
return [1, '...', ...this.range(left, right), '...', this.totalPages];
|
|
13013
|
+
}
|
|
13014
|
+
|
|
13015
|
+
},
|
|
13016
|
+
watch: {},
|
|
13017
|
+
methods: {
|
|
13018
|
+
range(from, to) {
|
|
13019
|
+
const range = [];
|
|
13020
|
+
from = from > 0 ? from : 1;
|
|
13021
|
+
|
|
13022
|
+
for (let i = from; i <= to; i++) {
|
|
13023
|
+
range.push(i);
|
|
13024
|
+
}
|
|
13025
|
+
|
|
13026
|
+
return range;
|
|
13027
|
+
},
|
|
13028
|
+
|
|
13029
|
+
changePage(page) {
|
|
13030
|
+
this.currentPage = page;
|
|
13031
|
+
this.$emit('change', this.currentPage);
|
|
13032
|
+
}
|
|
13033
|
+
|
|
13034
|
+
}
|
|
13035
|
+
});
|
|
13036
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
13037
|
+
|
|
13038
|
+
;// CONCATENATED MODULE: ./components/pagination/pagination.vue
|
|
13039
|
+
|
|
13040
|
+
|
|
13041
|
+
|
|
13042
|
+
|
|
13043
|
+
;
|
|
13044
|
+
const pagination_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(paginationvue_type_script_lang_js, [['render',paginationvue_type_template_id_679081ce_render]])
|
|
13045
|
+
|
|
13046
|
+
/* harmony default export */ const pagination = (pagination_exports_);
|
|
13047
|
+
;// CONCATENATED MODULE: ./components/pagination/index.js
|
|
13048
|
+
|
|
12646
13049
|
;// 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/radio/radio.vue?vue&type=template&id=36afe768
|
|
12647
13050
|
|
|
12648
13051
|
const radiovue_type_template_id_36afe768_hoisted_1 = {
|
|
@@ -14578,15 +14981,15 @@ const toggle_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(togglevue_t
|
|
|
14578
14981
|
/* harmony default export */ const toggle = (toggle_exports_);
|
|
14579
14982
|
;// CONCATENATED MODULE: ./components/toggle/index.js
|
|
14580
14983
|
|
|
14581
|
-
;// 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/tooltip/tooltip.vue?vue&type=template&id=
|
|
14984
|
+
;// 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/tooltip/tooltip.vue?vue&type=template&id=46955932
|
|
14582
14985
|
|
|
14583
|
-
const
|
|
14986
|
+
const tooltipvue_type_template_id_46955932_hoisted_1 = {
|
|
14584
14987
|
"data-qa": "dt-tooltip-container"
|
|
14585
14988
|
};
|
|
14586
|
-
function
|
|
14989
|
+
function tooltipvue_type_template_id_46955932_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14587
14990
|
const _component_dt_lazy_show = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-lazy-show");
|
|
14588
14991
|
|
|
14589
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div",
|
|
14992
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", tooltipvue_type_template_id_46955932_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
14590
14993
|
ref: "anchor",
|
|
14591
14994
|
"data-qa": "dt-tooltip-anchor",
|
|
14592
14995
|
onFocusin: _cache[0] || (_cache[0] = function () {
|
|
@@ -14623,7 +15026,7 @@ function tooltipvue_type_template_id_044c8b20_render(_ctx, _cache, $props, $setu
|
|
|
14623
15026
|
_: 3
|
|
14624
15027
|
}, 8, ["id", "show", "transition", "class", "onAfterLeave", "onAfterEnter"])]);
|
|
14625
15028
|
}
|
|
14626
|
-
;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=
|
|
15029
|
+
;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=template&id=46955932
|
|
14627
15030
|
|
|
14628
15031
|
;// CONCATENATED MODULE: ./components/tooltip/tooltip_constants.js
|
|
14629
15032
|
/*
|
|
@@ -14637,6 +15040,7 @@ const TOOLTIP_KIND_MODIFIERS = {
|
|
|
14637
15040
|
inverted: "d-tooltip--inverted",
|
|
14638
15041
|
hide: "d-tooltip--hide"
|
|
14639
15042
|
};
|
|
15043
|
+
const TOOLTIP_STICKY_VALUES = [...TIPPY_STICKY_VALUES];
|
|
14640
15044
|
const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
14641
15045
|
;// 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/tooltip/tooltip.vue?vue&type=script&lang=js
|
|
14642
15046
|
|
|
@@ -14703,6 +15107,21 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
14703
15107
|
|
|
14704
15108
|
},
|
|
14705
15109
|
|
|
15110
|
+
/**
|
|
15111
|
+
* If the tooltip sticks to the anchor. This is usually not needed, but can be needed
|
|
15112
|
+
* if the reference element's position is animating, or to automatically update the popover
|
|
15113
|
+
* position in those cases the DOM layout changes the reference element's position.
|
|
15114
|
+
* `true` enables it, `reference` only checks the "reference" rect for changes and `popper` only
|
|
15115
|
+
* checks the "popper" rect for changes.
|
|
15116
|
+
*/
|
|
15117
|
+
sticky: {
|
|
15118
|
+
type: [Boolean, String],
|
|
15119
|
+
default: false,
|
|
15120
|
+
validator: sticky => {
|
|
15121
|
+
return TOOLTIP_STICKY_VALUES.includes(sticky);
|
|
15122
|
+
}
|
|
15123
|
+
},
|
|
15124
|
+
|
|
14706
15125
|
/**
|
|
14707
15126
|
* Additional css classes for the tooltip content element.
|
|
14708
15127
|
* Can accept all of String, Object, and Array, i.e. has the
|
|
@@ -14764,6 +15183,7 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
14764
15183
|
interactive: false,
|
|
14765
15184
|
trigger: 'manual',
|
|
14766
15185
|
placement: this.placement,
|
|
15186
|
+
sticky: this.sticky,
|
|
14767
15187
|
popperOptions: getPopperOptions({
|
|
14768
15188
|
fallbackPlacements: this.fallbackPlacements,
|
|
14769
15189
|
hasHideModifierEnabled: true,
|
|
@@ -14794,6 +15214,12 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
14794
15214
|
} else {
|
|
14795
15215
|
this.tip.hide();
|
|
14796
15216
|
}
|
|
15217
|
+
},
|
|
15218
|
+
|
|
15219
|
+
sticky(sticky) {
|
|
15220
|
+
this.tip.setProps({
|
|
15221
|
+
sticky
|
|
15222
|
+
});
|
|
14797
15223
|
}
|
|
14798
15224
|
|
|
14799
15225
|
},
|
|
@@ -14899,9 +15325,9 @@ const TOOLTIP_HIDE_ON_CLICK_VARIANTS = [true, false, 'toggle'];
|
|
|
14899
15325
|
});
|
|
14900
15326
|
;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=script&lang=js
|
|
14901
15327
|
|
|
14902
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.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/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/tooltip/tooltip.vue?vue&type=style&index=0&id=
|
|
14903
|
-
var
|
|
14904
|
-
;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=style&index=0&id=
|
|
15328
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.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/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./components/tooltip/tooltip.vue?vue&type=style&index=0&id=46955932&lang=less
|
|
15329
|
+
var tooltipvue_type_style_index_0_id_46955932_lang_less = __webpack_require__(408);
|
|
15330
|
+
;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue?vue&type=style&index=0&id=46955932&lang=less
|
|
14905
15331
|
|
|
14906
15332
|
;// CONCATENATED MODULE: ./components/tooltip/tooltip.vue
|
|
14907
15333
|
|
|
@@ -14911,7 +15337,7 @@ var tooltipvue_type_style_index_0_id_044c8b20_lang_less = __webpack_require__(12
|
|
|
14911
15337
|
;
|
|
14912
15338
|
|
|
14913
15339
|
|
|
14914
|
-
const tooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(tooltipvue_type_script_lang_js, [['render',
|
|
15340
|
+
const tooltip_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(tooltipvue_type_script_lang_js, [['render',tooltipvue_type_template_id_46955932_render]])
|
|
14915
15341
|
|
|
14916
15342
|
/* harmony default export */ const tooltip = (tooltip_exports_);
|
|
14917
15343
|
;// CONCATENATED MODULE: ./components/tooltip/index.js
|
|
@@ -15476,19 +15902,22 @@ const root_layout_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(root_l
|
|
|
15476
15902
|
;// CONCATENATED MODULE: ./components/root_layout/index.js
|
|
15477
15903
|
|
|
15478
15904
|
|
|
15479
|
-
;// 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=
|
|
15905
|
+
;// 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=37048598
|
|
15480
15906
|
|
|
15481
|
-
const
|
|
15482
|
-
const
|
|
15483
|
-
function
|
|
15907
|
+
const combobox_with_popovervue_type_template_id_37048598_hoisted_1 = ["id"];
|
|
15908
|
+
const combobox_with_popovervue_type_template_id_37048598_hoisted_2 = ["onMouseleave", "onFocusout"];
|
|
15909
|
+
function combobox_with_popovervue_type_template_id_37048598_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15484
15910
|
const _component_combobox_loading_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-loading-list");
|
|
15485
15911
|
|
|
15912
|
+
const _component_combobox_empty_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("combobox-empty-list");
|
|
15913
|
+
|
|
15486
15914
|
const _component_dt_popover = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-popover");
|
|
15487
15915
|
|
|
15488
15916
|
const _component_dt_combobox = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("dt-combobox");
|
|
15489
15917
|
|
|
15490
15918
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_dt_combobox, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
15491
15919
|
ref: "combobox",
|
|
15920
|
+
loading: $props.loading,
|
|
15492
15921
|
"show-list": $data.isListShown,
|
|
15493
15922
|
"on-beginning-of-list": $props.onBeginningOfList,
|
|
15494
15923
|
"on-end-of-list": $props.onEndOfList,
|
|
@@ -15514,22 +15943,25 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15514
15943
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "input", {
|
|
15515
15944
|
inputProps: inputProps,
|
|
15516
15945
|
onInput: $options.handleDisplayList
|
|
15517
|
-
})], 40,
|
|
15946
|
+
})], 40, combobox_with_popovervue_type_template_id_37048598_hoisted_1)];
|
|
15518
15947
|
}),
|
|
15519
15948
|
list: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(_ref2 => {
|
|
15520
15949
|
let {
|
|
15521
15950
|
opened,
|
|
15522
15951
|
listProps,
|
|
15523
|
-
clearHighlightIndex
|
|
15952
|
+
clearHighlightIndex,
|
|
15953
|
+
isLoading,
|
|
15954
|
+
isListEmpty
|
|
15524
15955
|
} = _ref2;
|
|
15525
15956
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_dt_popover, {
|
|
15526
15957
|
ref: "popover",
|
|
15527
15958
|
open: $data.isListShown,
|
|
15528
15959
|
"onUpdate:open": _cache[6] || (_cache[6] = $event => $data.isListShown = $event),
|
|
15529
|
-
"hide-on-click":
|
|
15960
|
+
"hide-on-click": $props.showList === null,
|
|
15530
15961
|
"max-height": $props.maxHeight,
|
|
15531
15962
|
"max-width": $props.maxWidth,
|
|
15532
15963
|
offset: $props.popoverOffset,
|
|
15964
|
+
sticky: $props.popoverSticky,
|
|
15533
15965
|
placement: "bottom-start",
|
|
15534
15966
|
padding: "none",
|
|
15535
15967
|
role: "listbox",
|
|
@@ -15540,12 +15972,7 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15540
15972
|
"auto-focus": false,
|
|
15541
15973
|
onOpened: opened
|
|
15542
15974
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createSlots)({
|
|
15543
|
-
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [
|
|
15544
|
-
key: 0
|
|
15545
|
-
}, listProps, {
|
|
15546
|
-
class: [$data.DROPDOWN_PADDING_CLASSES[$props.padding], $props.listClass]
|
|
15547
|
-
}), null, 16, ["class"])) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("div", {
|
|
15548
|
-
key: 1,
|
|
15975
|
+
content: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", {
|
|
15549
15976
|
ref: "listWrapper",
|
|
15550
15977
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeClass)([$data.DROPDOWN_PADDING_CLASSES[$props.padding], $props.listClass]),
|
|
15551
15978
|
onMouseleave: clearHighlightIndex,
|
|
@@ -15553,9 +15980,16 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15553
15980
|
clearHighlightIndex;
|
|
15554
15981
|
$options.onFocusOut;
|
|
15555
15982
|
}
|
|
15556
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.
|
|
15983
|
+
}, [isLoading ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_combobox_loading_list, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.normalizeProps)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
15984
|
+
key: 0
|
|
15985
|
+
}, listProps)), null, 16)) : isListEmpty ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createBlock)(_component_combobox_empty_list, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.mergeProps)({
|
|
15986
|
+
key: 1
|
|
15987
|
+
}, listProps, {
|
|
15988
|
+
message: $props.emptyStateMessage
|
|
15989
|
+
}), null, 16, ["message"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "list", {
|
|
15990
|
+
key: 2,
|
|
15557
15991
|
listProps: listProps
|
|
15558
|
-
})], 42,
|
|
15992
|
+
})], 42, combobox_with_popovervue_type_template_id_37048598_hoisted_2)]),
|
|
15559
15993
|
_: 2
|
|
15560
15994
|
}, [_ctx.$slots.header ? {
|
|
15561
15995
|
name: "headerContent",
|
|
@@ -15573,24 +16007,26 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15573
16007
|
return $options.onFocusOut && $options.onFocusOut(...arguments);
|
|
15574
16008
|
})
|
|
15575
16009
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.renderSlot)(_ctx.$slots, "footer")], 544)])
|
|
15576
|
-
} : undefined]), 1032, ["open", "max-height", "max-width", "offset", "external-anchor", "content-width", "onOpened"])];
|
|
16010
|
+
} : undefined]), 1032, ["open", "hide-on-click", "max-height", "max-width", "offset", "sticky", "external-anchor", "content-width", "onOpened"])];
|
|
15577
16011
|
}),
|
|
15578
16012
|
_: 3
|
|
15579
|
-
}, 16, ["show-list", "on-beginning-of-list", "on-end-of-list", "list-aria-label", "list-id"]);
|
|
16013
|
+
}, 16, ["loading", "show-list", "on-beginning-of-list", "on-end-of-list", "list-aria-label", "list-id"]);
|
|
15580
16014
|
}
|
|
15581
|
-
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=
|
|
16015
|
+
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue?vue&type=template&id=37048598
|
|
15582
16016
|
|
|
15583
16017
|
;// 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
|
|
15584
16018
|
|
|
15585
16019
|
|
|
15586
16020
|
|
|
15587
16021
|
|
|
16022
|
+
|
|
15588
16023
|
/* harmony default export */ const combobox_with_popovervue_type_script_lang_js = ({
|
|
15589
16024
|
name: 'DtRecipeComboboxWithPopover',
|
|
15590
16025
|
components: {
|
|
15591
16026
|
DtCombobox: combobox,
|
|
15592
16027
|
DtPopover: popover,
|
|
15593
|
-
ComboboxLoadingList: combobox_loading_list
|
|
16028
|
+
ComboboxLoadingList: combobox_loading_list,
|
|
16029
|
+
ComboboxEmptyList: combobox_empty_list
|
|
15594
16030
|
},
|
|
15595
16031
|
props: {
|
|
15596
16032
|
/**
|
|
@@ -15706,6 +16142,14 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15706
16142
|
default: () => [0, 4]
|
|
15707
16143
|
},
|
|
15708
16144
|
|
|
16145
|
+
/**
|
|
16146
|
+
* If the popover sticks to the input.
|
|
16147
|
+
*/
|
|
16148
|
+
popoverSticky: {
|
|
16149
|
+
type: [Boolean, String],
|
|
16150
|
+
default: false
|
|
16151
|
+
},
|
|
16152
|
+
|
|
15709
16153
|
/**
|
|
15710
16154
|
* Displays the list when the combobox is focused, before the user has typed anything.
|
|
15711
16155
|
* When this is enabled the list will not close after selection.
|
|
@@ -15721,6 +16165,14 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15721
16165
|
loading: {
|
|
15722
16166
|
type: Boolean,
|
|
15723
16167
|
default: false
|
|
16168
|
+
},
|
|
16169
|
+
|
|
16170
|
+
/**
|
|
16171
|
+
* Message to show when the list is empty
|
|
16172
|
+
*/
|
|
16173
|
+
emptyStateMessage: {
|
|
16174
|
+
type: String,
|
|
16175
|
+
default: ''
|
|
15724
16176
|
}
|
|
15725
16177
|
},
|
|
15726
16178
|
emits: ['select', 'escape', 'highlight', 'opened'],
|
|
@@ -15761,13 +16213,7 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15761
16213
|
|
|
15762
16214
|
},
|
|
15763
16215
|
methods: {
|
|
15764
|
-
|
|
15765
|
-
if (this.isListShown) {
|
|
15766
|
-
// After the list is updated, hightlight the first item
|
|
15767
|
-
await this.$nextTick();
|
|
15768
|
-
this.$refs.combobox.setInitialHighlightIndex();
|
|
15769
|
-
}
|
|
15770
|
-
|
|
16216
|
+
handleDisplayList(value) {
|
|
15771
16217
|
if (!this.hasSuggestionList) {
|
|
15772
16218
|
if (value) {
|
|
15773
16219
|
// Displays the list after the user has typed anything
|
|
@@ -15857,7 +16303,7 @@ function combobox_with_popovervue_type_template_id_250cf6fe_render(_ctx, _cache,
|
|
|
15857
16303
|
|
|
15858
16304
|
|
|
15859
16305
|
;
|
|
15860
|
-
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',
|
|
16306
|
+
const combobox_with_popover_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(combobox_with_popovervue_type_script_lang_js, [['render',combobox_with_popovervue_type_template_id_37048598_render]])
|
|
15861
16307
|
|
|
15862
16308
|
/* harmony default export */ const combobox_with_popover = (combobox_with_popover_exports_);
|
|
15863
16309
|
;// CONCATENATED MODULE: ./recipes/comboboxes/combobox_with_popover/index.js
|
|
@@ -16778,6 +17224,7 @@ const top_banner_info_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(to
|
|
|
16778
17224
|
|
|
16779
17225
|
|
|
16780
17226
|
|
|
17227
|
+
|
|
16781
17228
|
|
|
16782
17229
|
|
|
16783
17230
|
/// Recipes
|