Skip to content

Commit

Permalink
MINOR: Feature/bim data table filter (#336)
Browse files Browse the repository at this point in the history
* add sort on BIMDataTable header

* add custom sort function

* add documentation

* add documentation

* delete unused file

* add Caret icon

* add slot documentation

* renaming

* delete duplicate code

* create ColumnFilters component

* use ColumnFilters in BIMDataTable component

* add Tags in Table documentation

* bad commits

* add active class on sorting btn

* delete tags doc

* add ColumnFilters component

* use ColumnFilters

* add documentation for column filters

* use computed for elements

* use displayedRows instead of computedRows for paginatedRows

* use computed for elements value

* show pagination based on displayRows instead of rows

* delete unnecessary space

* Fix filter & sort :
- add multiple filters
- add complex values
- rename sortOrder & add validator

* add empty slot for filters

* fix documentation
  • Loading branch information
LrxGaelle authored Apr 10, 2024
1 parent a816b09 commit 6f58f84
Show file tree
Hide file tree
Showing 13 changed files with 610 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
<Icon
:fill="fill"
:fillColor="fillColor"
:color="color"
:class="classes"
:style="style"
>
<Caret />
</Icon>
</template>

<script>
import Caret from "../BIMDataLibraryIcons/Caret.vue";
import makeIcon from "./iconFactory.js";
export default makeIcon("Caret", Caret);
</script>

<style scoped lang="scss" src="../_BIMDataIcon.scss"></style>
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export { default as BIMDataIconCalendar } from "./BIMDataIconCalendar.vue";
export { default as BIMDataIconCaliper } from "./BIMDataIconCaliper.vue";
export { default as BIMDataIconCamera } from "./BIMDataIconCamera.vue";
export { default as BIMDataIconCancelCamera } from "./BIMDataIconCancelCamera.vue";
export { default as BIMDataIconCaret } from "./BIMDataIconCaret.vue";
export { default as BIMDataIconCheck } from "./BIMDataIconCheck.vue";
export { default as BIMDataIconChevron } from "./BIMDataIconChevron.vue";
export { default as BIMDataIconClassificationCategory } from "./BIMDataIconClassificationCategory.vue";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template>
<path d="M11.7593 17.3077L1.25934 5.69062L22.2593 5.69062L11.7593 17.3077Z" />
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import calendar from "./Calendar.vue";
import caliper from "./Caliper.vue";
import camera from "./Camera.vue";
import cancelCamera from "./CancelCamera.vue";
import caret from "./Caret.vue";
import check from "./Check.vue";
import chevron from "./Chevron.vue";
import classificationCategory from "./ClassificationCategory.vue";
Expand Down Expand Up @@ -191,6 +192,7 @@ export default {
caliper,
camera,
cancelCamera,
caret,
check,
chevron,
classificationCategory,
Expand Down
Loading

0 comments on commit 6f58f84

Please sign in to comment.