You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 lines
24 KiB

{"ast":null,"code":"import { defineComponent, getCurrentInstance, ref, computed, watch, resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createElementBlock, createElementVNode, normalizeClass, createVNode, Fragment, renderList, createTextVNode, toDisplayString, withDirectives, renderSlot } from 'vue';\nimport { ElCheckbox } from '../../checkbox/index.mjs';\nimport { ElIcon } from '../../icon/index.mjs';\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue';\nimport { ElTooltip } from '../../tooltip/index.mjs';\nimport { ElScrollbar } from '../../scrollbar/index.mjs';\nimport _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';\nimport ClickOutside from '../../../directives/click-outside/index.mjs';\nimport { useLocale } from '../../../hooks/use-locale/index.mjs';\nimport { useNamespace } from '../../../hooks/use-namespace/index.mjs';\nimport { isPropAbsent } from '../../../utils/types.mjs';\nconst {\n CheckboxGroup: ElCheckboxGroup\n} = ElCheckbox;\nconst _sfc_main = defineComponent({\n name: \"ElTableFilterPanel\",\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp\n },\n directives: {\n ClickOutside\n },\n props: {\n placement: {\n type: String,\n default: \"bottom-start\"\n },\n store: {\n type: Object\n },\n column: {\n type: Object\n },\n upDataColumn: {\n type: Function\n },\n appendTo: {\n type: String\n }\n },\n setup(props) {\n const instance = getCurrentInstance();\n const {\n t\n } = useLocale();\n const ns = useNamespace(\"table-filter\");\n const parent = instance == null ? void 0 : instance.parent;\n if (!parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance;\n }\n const tooltipVisible = ref(false);\n const tooltip = ref(null);\n const filters = computed(() => {\n return props.column && props.column.filters;\n });\n const filterClassName = computed(() => {\n if (props.column.filterClassName) {\n return `${ns.b()} ${props.column.filterClassName}`;\n }\n return ns.b();\n });\n const filterValue = computed({\n get: () => {\n var _a;\n return (((_a = props.column) == null ? void 0 : _a.filteredValue) || [])[0];\n },\n set: value => {\n if (filteredValue.value) {\n if (!isPropAbsent(value)) {\n filteredValue.value.splice(0, 1, value);\n } else {\n filteredValue.value.splice(0, 1);\n }\n }\n }\n });\n const filteredValue = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || [];\n }\n return [];\n },\n set(value) {\n if (props.column) {\n props.upDataColumn(\"filteredValue\", value);\n }\n }\n });\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple;\n }\n return true;\n });\n const isActive = filter => {\n return filter.value === filterValue.value;\n };\n const hidden = () => {\n tooltipVisible.value = false;\n };\n const showFilterPanel = e => {\n e.stopPropagation();\n tooltipVisible.value = !tooltipVisible.value;\n };\n const hideFilterPanel = () => {\n tooltipVisible.value = false;\n };\n const handleConfirm = () => {\n confirmFilter(filteredValue.value);\n hidden();\n };\n const handleReset = () => {\n filteredValue.value = [];\n confirmFilter(filteredValue.value);\n hidden();\n };\n const handleSelect = _filterValue => {\n filterValue.value = _filterValue;\n if (!isPropAbsent(_filterValue)) {\n confirmFilter(filteredValue.value);\n } else {\n confirmFilter([]);\n }\n hidden();\n };\n const confirmFilter = filteredValue2 => {\n props.store.commit(\"filterChange\", {\n column: props.column,\n values: filteredValue2\n });\n props.store.updateAllSelected();\n };\n watch(tooltipVisible, value => {\n if (props.column) {\n props.upDataColumn(\"filterOpened\", value);\n }\n }, {\n immediate: true\n });\n const popperPaneRef = computed(() => {\n var _a, _b;\n return (_b = (_a = tooltip.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;\n });\n return {\n tooltipVisible,\n multiple,\n filterClassName,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isPropAbsent,\n isActive,\n t,\n ns,\n showFilterPanel,\n hideFilterPanel,\n popperPaneRef,\n tooltip\n };\n }\n});\nfunction _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_el_checkbox = resolveComponent(\"el-checkbox\");\n const _component_el_checkbox_group = resolveComponent(\"el-checkbox-group\");\n const _component_el_scrollbar = resolveComponent(\"el-scrollbar\");\n const _component_arrow_up = resolveComponent(\"arrow-up\");\n const _component_arrow_down = resolveComponent(\"arrow-down\");\n const _component_el_icon = resolveComponent(\"el-icon\");\n const _component_el_tooltip = resolveComponent(\"el-tooltip\");\n const _directive_click_outside = resolveDirective(\"click-outside\");\n return openBlock(), createBlock(_component_el_tooltip, {\n ref: \"tooltip\",\n visible: _ctx.tooltipVisible,\n offset: 0,\n placement: _ctx.placement,\n \"show-arrow\": false,\n \"stop-popper-mouse-event\": false,\n teleported: \"\",\n effect: \"light\",\n pure: \"\",\n \"popper-class\": _ctx.filterClassName,\n persistent: \"\",\n \"append-to\": _ctx.appendTo\n }, {\n content: withCtx(() => [_ctx.multiple ? (openBlock(), createElementBlock(\"div\", {\n key: 0\n }, [createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"content\"))\n }, [createVNode(_component_el_scrollbar, {\n \"wrap-class\": _ctx.ns.e(\"wrap\")\n }, {\n default: withCtx(() => [createVNode(_component_el_checkbox_group, {\n modelValue: _ctx.filteredValue,\n \"onUpdate:modelValue\": $event => _ctx.filteredValue = $event,\n class: normalizeClass(_ctx.ns.e(\"checkbox-group\"))\n }, {\n default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filters, filter => {\n return openBlock(), createBlock(_component_el_checkbox, {\n key: filter.value,\n value: filter.value\n }, {\n default: withCtx(() => [createTextVNode(toDisplayString(filter.text), 1)]),\n _: 2\n }, 1032, [\"value\"]);\n }), 128))]),\n _: 1\n }, 8, [\"modelValue\", \"onUpdate:modelValue\", \"class\"])]),\n _: 1\n }, 8, [\"wrap-class\"])], 2), createElementVNode(\"div\", {\n class: normalizeClass(_ctx.ns.e(\"bottom\"))\n }, [createElementVNode(\"button\", {\n class: normalizeClass({\n [_ctx.ns.is(\"disabled\")]: _ctx.filteredValue.length === 0\n }),\n disabled: _ctx.filteredValue.length === 0,\n type: \"button\",\n onClick: _ctx.handleConfirm\n }, toDisplayString(_ctx.t(\"el.table.confirmFilter\")), 11, [\"disabled\", \"onClick\"]), createElementVNode(\"button\", {\n type: \"button\",\n onClick: _ctx.handleReset\n }, toDisplayString(_ctx.t(\"el.table.resetFilter\")), 9, [\"onClick\"])], 2)])) : (openBlock(), createElementBlock(\"ul\", {\n key: 1,\n class: normalizeClass(_ctx.ns.e(\"list\"))\n }, [createElementVNode(\"li\", {\n class: normalizeClass([_ctx.ns.e(\"list-item\"), {\n [_ctx.ns.is(\"active\")]: _ctx.isPropAbsent(_ctx.filterValue)\n }]),\n onClick: $event => _ctx.handleSelect(null)\n }, toDisplayString(_ctx.t(\"el.table.clearFilter\")), 11, [\"onClick\"]), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.filters, filter => {\n return openBlock(), createElementBlock(\"li\", {\n key: filter.value,\n class: normalizeClass([_ctx.ns.e(\"list-item\"), _ctx.ns.is(\"active\", _ctx.isActive(filter))]),\n label: filter.value,\n onClick: $event => _ctx.handleSelect(filter.value)\n }, toDisplayString(filter.text), 11, [\"label\", \"onClick\"]);\n }), 128))], 2))]),\n default: withCtx(() => [withDirectives((openBlock(), createElementBlock(\"span\", {\n class: normalizeClass([`${_ctx.ns.namespace.value}-table__column-filter-trigger`, `${_ctx.ns.namespace.value}-none-outline`]),\n onClick: _ctx.showFilterPanel\n }, [createVNode(_component_el_icon, null, {\n default: withCtx(() => [renderSlot(_ctx.$slots, \"filter-icon\", {}, () => [_ctx.column.filterOpened ? (openBlock(), createBlock(_component_arrow_up, {\n key: 0\n })) : (openBlock(), createBlock(_component_arrow_down, {\n key: 1\n }))])]),\n _: 3\n })], 10, [\"onClick\"])), [[_directive_click_outside, _ctx.hideFilterPanel, _ctx.popperPaneRef]])]),\n _: 3\n }, 8, [\"visible\", \"placement\", \"popper-class\", \"append-to\"]);\n}\nvar FilterPanel = /* @__PURE__ */_export_sfc(_sfc_main, [[\"render\", _sfc_render], [\"__file\", \"filter-panel.vue\"]]);\nexport { FilterPanel as default };","map":{"version":3,"names":["CheckboxGroup","ElCheckboxGroup","ElCheckbox","_sfc_main","defineComponent","name","components","ElScrollbar","ElTooltip","ElIcon","ArrowDown","ArrowUp","directives","ClickOutside","props","placement","type","String","default","store","Object","column","upDataColumn","Function","appendTo","setup","instance","getCurrentInstance","t","useLocale","ns","useNamespace","parent","filterPanels","value","id","tooltipVisible","ref","tooltip","filters","computed","filterClassName","b","filterValue","get","_a","filteredValue","set","isPropAbsent","splice","multiple","filterMultiple","isActive","filter","hidden","showFilterPanel","e","stopPropagation","hideFilterPanel","handleConfirm","confirmFilter","handleReset","handleSelect","_filterValue","filteredValue2","commit","values","updateAllSelected","watch","immediate","popperPaneRef","_b","popperRef","contentRef","createBlock","_component_el_tooltip","visible","_ctx","offset","teleported","effect","pure","persistent","content","withCtx","openBlock","createElementBlock","key","createElementVNode","class","normalizeClass","createVNode","_component_el_scrollbar","_component_el_checkbox_group","modelValue","$event","Fragment","renderList","_component_el_checkbox","createTextVNode","toDisplayString","text","_","is","label","onClick","namespace","renderSlot","$slots","filterOpened","_component_arrow_up","_component_arrow_down","_directive_click_outside","FilterPanel","_export_sfc","_sfc_render"],"sources":["../../../../../../packages/components/table/src/filter-panel.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"tooltip\"\n :visible=\"tooltipVisible\"\n :offset=\"0\"\n :placement=\"placement\"\n :show-arrow=\"false\"\n :stop-popper-mouse-event=\"false\"\n teleported\n effect=\"light\"\n pure\n :popper-class=\"filterClassName\"\n persistent\n :append-to=\"appendTo\"\n >\n <template #content>\n <div v-if=\"multiple\">\n <div :class=\"ns.e('content')\">\n <el-scrollbar :wrap-class=\"ns.e('wrap')\">\n <el-checkbox-group\n v-model=\"filteredValue\"\n :class=\"ns.e('checkbox-group')\"\n >\n <el-checkbox\n v-for=\"filter in filters\"\n :key=\"filter.value\"\n :value=\"filter.value\"\n >\n {{ filter.text }}\n </el-checkbox>\n </el-checkbox-group>\n </el-scrollbar>\n </div>\n <div :class=\"ns.e('bottom')\">\n <button\n :class=\"{ [ns.is('disabled')]: filteredValue.length === 0 }\"\n :disabled=\"filteredValue.length === 0\"\n type=\"button\"\n @click=\"handleConfirm\"\n >\n {{ t('el.table.confirmFilter') }}\n </button>\n <button type=\"button\" @click=\"handleReset\">\n {{ t('el.table.resetFilter') }}\n </button>\n </div>\n </div>\n <ul v-else :class=\"ns.e('list')\">\n <li\n :class=\"[\n ns.e('list-item'),\n {\n [ns.is('active')]: isPropAbsent(filterValue),\n },\n ]\"\n @click=\"handleSelect(null)\"\n >\n {{ t('el.table.clearFilter') }}\n </li>\n <li\n v-for=\"filter in filters\"\n :key=\"filter.value\"\n :class=\"[ns.e('list-item'), ns.is('active', isActive(filter))]\"\n :label=\"filter.value\"\n @click=\"handleSelect(filter.value)\"\n >\n {{ filter.text }}\n </li>\n </ul>\n </template>\n <template #default>\n <span\n v-click-outside:[popperPaneRef]=\"hideFilterPanel\"\n :class=\"[\n `${ns.namespace.value}-table__column-filter-trigger`,\n `${ns.namespace.value}-none-outline`,\n ]\"\n @click=\"showFilterPanel\"\n >\n <el-icon>\n <slot name=\"filter-icon\">\n <arrow-up v-if=\"column.filterOpened\" />\n <arrow-down v-else />\n </slot>\n </el-icon>\n </span>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\">\n// @ts-nocheck\nimport { computed, defineComponent, getCurrentInstance, ref, watch } from 'vue'\nimport ElCheckbox from '@element-plus/components/checkbox'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue'\nimport { ClickOutside } from '@element-plus/directives'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport ElTooltip from '@element-plus/components/tooltip'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { isPropAbsent } from '@element-plus/utils'\n\nimport type { Placement } from '@element-plus/components/popper'\nimport type { PropType, WritableComputedRef } from 'vue'\nimport type { TableColumnCtx } from './table-column/defaults'\nimport type { TableHeader } from './table-header'\nimport type { Store } from './store'\n\nconst { CheckboxGroup: ElCheckboxGroup } = ElCheckbox\n\nexport default defineComponent({\n name: 'ElTableFilterPanel',\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp,\n },\n directives: { ClickOutside },\n props: {\n placement: {\n type: String as PropType<Placement>,\n default: 'bottom-start',\n },\n store: {\n type: Object as PropType<Store<unknown>>,\n },\n column: {\n type: Object as PropType<TableColumnCtx<unknown>>,\n },\n upDataColumn: {\n type: Function,\n },\n appendTo: {\n type: String,\n },\n },\n setup(props) {\n const instance = getCurrentInstance()\n const { t } = useLocale()\n const ns = useNamespace('table-filter')\n const parent = instance?.parent as TableHeader\n if (!parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance\n }\n const tooltipVisible = ref(false)\n const tooltip = ref<InstanceType<typeof ElTooltip> | null>(null)\n const filters = computed(() => {\n return props.column && props.column.filters\n })\n const filterClassName = computed(() => {\n if (props.column.filterClassName) {\n return `${ns.b()} ${props.column.filterClassName}`\n }\n return ns.b()\n })\n const filterValue = computed({\n get: () => (props.column?.filteredValue || [])[0],\n set: (value: string) => {\n if (filteredValue.value) {\n if (!isPropAbsent(value)) {\n filteredValue.value.splice(0, 1, value)\n } else {\n filteredValue.value.splice(0, 1)\n }\n }\n },\n })\n const filteredValue: WritableComputedRef<unknown[]> = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || []\n }\n return []\n },\n set(value: unknown[]) {\n if (props.column) {\n props.upDataColumn('filteredValue', value)\n }\n },\n })\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple\n }\n return true\n })\n const isActive = (filter) => {\n return filter.value === filterValue.value\n }\n const hidden = () => {\n tooltipVisible.value = false\n }\n const showFilterPanel = (e: MouseEvent) => {\n e.stopPropagation()\n tooltipVisible.value = !tooltipVisible.value\n }\n const hideFilterPanel = () => {\n tooltipVisible.value = false\n }\n const handleConfirm = () => {\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleReset = () => {\n filteredValue.value = []\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleSelect = (_filterValue?: string) => {\n filterValue.value = _filterValue\n if (!isPropAbsent(_filterValue)) {\n confirmFilter(filteredValue.value)\n } else {\n confirmFilter([])\n }\n hidden()\n }\n const confirmFilter = (filteredValue: unknown[]) => {\n props.store.commit('filterChange', {\n column: props.column,\n values: filteredValue,\n })\n props.store.updateAllSelected()\n }\n watch(\n tooltipVisible,\n (value) => {\n // todo\n if (props.column) {\n props.upDataColumn('filterOpened', value)\n }\n },\n {\n immediate: true,\n }\n )\n\n const popperPaneRef = computed(() => {\n return tooltip.value?.popperRef?.contentRef\n })\n\n return {\n tooltipVisible,\n multiple,\n filterClassName,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isPropAbsent,\n isActive,\n t,\n ns,\n showFilterPanel,\n hideFilterPanel,\n popperPaneRef,\n tooltip,\n }\n },\n})\n</script>\n"],"mappings":";;;;;;;;;;;AA4GA,MAAM;EAAEA,aAAe,EAAAC;AAAA,CAAoB,GAAAC,UAAA;AAE3C,MAAKC,SAAA,GAAaC,eAAa;EAC7BC,IAAM;EACNC,UAAY;IACVJ,UAAA;IACAD,eAAA;IACAM,WAAA;IACAC,SAAA;IACAC,MAAA;IACAC,SAAA;IACAC;EAAA,CACF;EACAC,UAAA,EAAY;IAAEC;EAAa;EAC3BC,KAAO;IACLC,SAAW;MACTC,IAAM,EAAAC,MAAA;MACNC,OAAS;IAAA,CACX;IACAC,KAAO;MACLH,IAAM,EAAAI;IAAA,CACR;IACAC,MAAQ;MACNL,IAAM,EAAAI;IAAA,CACR;IACAE,YAAc;MACZN,IAAM,EAAAO;IAAA,CACR;IACAC,QAAU;MACRR,IAAM,EAAAC;IAAA;EACR,CACF;EACAQ,MAAMX,KAAO;IACX,MAAMY,QA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