1 line
115 KiB
Plaintext
1 line
115 KiB
Plaintext
|
|
{"version":3,"file":"index.mjs","sources":["../../src/listbox/BaseListbox.vue","../../src/listbox/Listbox.vue","../../src/listbox/Listbox.vue?vue&type=template&id=f01e6df0&lang.js"],"sourcesContent":["<script>\nimport BaseEditableHolder from '@primevue/core/baseeditableholder';\nimport ListboxStyle from 'primevue/listbox/style';\n\nexport default {\n name: 'BaseListbox',\n extends: BaseEditableHolder,\n props: {\n options: Array,\n optionLabel: null,\n optionValue: null,\n optionDisabled: null,\n optionGroupLabel: null,\n optionGroupChildren: null,\n listStyle: null,\n scrollHeight: {\n type: String,\n default: '14rem'\n },\n dataKey: null,\n multiple: {\n type: Boolean,\n default: false\n },\n metaKeySelection: {\n type: Boolean,\n default: false\n },\n filter: Boolean,\n filterPlaceholder: String,\n filterLocale: String,\n filterMatchMode: {\n type: String,\n default: 'contains'\n },\n filterFields: {\n type: Array,\n default: null\n },\n virtualScrollerOptions: {\n type: Object,\n default: null\n },\n autoOptionFocus: {\n type: Boolean,\n default: true\n },\n selectOnFocus: {\n type: Boolean,\n default: false\n },\n focusOnHover: {\n type: Boolean,\n default: true\n },\n highlightOnSelect: {\n type: Boolean,\n default: true\n },\n checkmark: {\n type: Boolean,\n default: false\n },\n filterMessage: {\n type: String,\n default: null\n },\n selectionMessage: {\n type: String,\n default: null\n },\n emptySelectionMessage: {\n type: String,\n default: null\n },\n emptyFilterMessage: {\n type: String,\n default: null\n },\n emptyMessage: {\n type: String,\n default: null\n },\n filterIcon: {\n type: String,\n default: undefined\n },\n striped: {\n type: Boolean,\n default: false\n },\n tabindex: {\n type: Number,\n default: 0\n },\n fluid: {\n type: Boolean,\n default: null\n },\n ariaLabel: {\n type: String,\n default: null\n },\n ariaLabelledby: {\n type: String,\n default: null\n }\n },\n style: ListboxStyle,\n provide() {\n return {\n $pcListbox: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <div :id=\"$id\" :class=\"cx('root')\" @focusout=\"onFocusout\" :data-p=\"containerDataP\" v-bind=\"ptmi('root')\">\n <span\n ref=\"firstHiddenFocusableElement\"\n role=\"presentation\"\n aria-hidden=\"true\"\n class=\"p-hidden-accessible p-hidden-focusable\"\n :tabindex=\"!disabled ? tabindex : -1\"\n @focus=\"onFirstHiddenFocus\"\n v-bind=\"ptm('hiddenFirstFocusableEl')\"\n :data-p-hidden-accessible=\"true\"\n :data-p-hidden-focusable=\"true\"\n ></span>\n <div v-if=\"$slots.header\" :class=\"cx('header')\" v-bind=\"ptm('header')\">\n <slot name=\"header\" :value=\"d_value\" :options=\"visibleOptions\"></slot>\n </div>\n <div v-if=\"filter\" :class=\"cx('header')\" v-bind=\"ptm('header')\">\n <IconField :unstyled=\"unstyled\" :pt=\"ptm('pcFilterContainer')\">\n <InputText\n v-model=\"filterValue\"\n type=\"text\"\n :class=\"cx('pcFilter')\"\n :placeho
|