Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | 7x 7x 7x 7x 153x 153x 153x 7x 7x 7x 7x 7x 7x 71x | <template>
<div :class="$style.root"
:selected="parentVM.multiple ? currentSelected : isSelected"
:disabled="disabled || parentVM.disabled"
@click="select"
v-ellipsis-title>
<u-checkbox v-if="parentVM.multiple"
:readonly="parentVM.readonly"
:disabled="disabled || parentVM.disabled"
:value="currentSelected"
></u-checkbox>
<slot></slot>
</div>
</template>
<script>
import { MComplexItem } from '../m-complex.vue';
export default {
name: 'u-table-view-filter',
parentName: 'u-table-view-filters',
extends: MComplexItem,
};
</script>
<style module>
.root {
/* @Private */
display: inline-block;
cursor: var(--cursor-pointer);
/* @Public */
padding: 5px 12px;
position: relative;
}
.root:hover {
background: var(--table-view-filter-item-hover);
}
.root[readonly] {
cursor: default;
background: none;
}
.root[focused] {
background: var(--table-view-filter-item-focus);
}
.root[selected] {
background: var(--table-view-filter-item-background-selected);
color: var(--color-white);
}
.root[disabled] {
/* @Private */
cursor: var(--cursor-not-allowed);
background: none;
color: var(--table-view-filter-item-color-disabled);
}
.root[selected][disabled] {
background: var(--brand-disabled-light);
}
.root {
display: block;
white-space: nowrap;
}
.root [class^="u-checkbox_box__"] {
top: -2px;
}
.root[selected] [status="true"] {
background-color: var(--table-view-filter-item-checkbox-background-selected);
}
.root[selected] [status="true"]::before {
color: var(--table-view-filter-item-checkbox-color-selected);
}
</style>
I |