Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL css fix, support for shiftKey in the table, vite for development #951

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
7de234a
Initial port to Vue 3
borisflesch Sep 23, 2021
38faec7
Readme/documentation & deploy script
borisflesch Sep 23, 2021
b2b72ba
Removed docs from root
borisflesch Sep 23, 2021
1398cc5
New pkg name
borisflesch Sep 23, 2021
bc8adb6
Sidebar collapse bug fixed
borisflesch Sep 23, 2021
ae4e1fa
Events named following Vue 3 naming conventions
borisflesch Sep 23, 2021
2e187c5
Basic unit testing with Jest working + Updated dependencies
borisflesch Oct 29, 2021
deb3982
fixed eventchecked not found
borisflesch Oct 29, 2021
e4e9ed3
Contributors & license + new release
borisflesch Oct 29, 2021
391c81b
Updated disclaimer & badges
borisflesch Oct 29, 2021
938f0bf
0.1.0
borisflesch Oct 29, 2021
2c2e6ec
* add row attribute expandedRow
Feb 3, 2022
af504db
Set the folder name from 'vue-good-table' to 'vue-good-table-next'
EmanuelJoseCandido Mar 29, 2022
b5fece9
Enabled Row Details
ponnamkarthik May 8, 2022
10db31c
Enabled Row Details
ponnamkarthik May 8, 2022
a26cdd6
Updated docs for Row Details
ponnamkarthik May 8, 2022
1d74886
Minor fix
ponnamkarthik May 8, 2022
826287e
Minor fix
ponnamkarthik May 8, 2022
55e1697
Some testing
ponnamkarthik May 8, 2022
0e235d4
Ran Build command
ponnamkarthik May 8, 2022
a501ac9
updated build removed all logs
ponnamkarthik May 8, 2022
2312160
Minor Update
ponnamkarthik May 8, 2022
6657419
Updated more options
ponnamkarthik May 8, 2022
d7e3b68
Updated more options
ponnamkarthik May 8, 2022
c0da835
Updated more options
ponnamkarthik May 8, 2022
1482213
Updated more options
ponnamkarthik May 8, 2022
698a4cb
Updated more options
ponnamkarthik May 8, 2022
ec7f686
Updated more options
ponnamkarthik May 8, 2022
8d4bd56
Updated more options
ponnamkarthik May 8, 2022
f721294
beforeDestroy -> beforeUnmount
vv3rd May 19, 2022
021da06
Added `deep` to watched array properties
vv3rd May 19, 2022
a193dee
Merge pull request #6 from ljoxloyd/compat-warnings-fix
borisflesch May 21, 2022
8cc7c4b
Merge pull request #1 from ikreb7/expandRows
borisflesch May 21, 2022
54c19b0
Merge pull request #2 from EmanuelJoseCandido/master
borisflesch May 21, 2022
12e9027
Merge branch 'master' into master
borisflesch May 21, 2022
af11752
Merge pull request #4 from ponnamkarthik/master
borisflesch May 21, 2022
b116560
Merged PRs #1 and #4 for row details (expand) feature
borisflesch May 21, 2022
2fe0050
0.2.0
borisflesch May 21, 2022
bdb3349
Dist updated
borisflesch May 22, 2022
235af9b
0.2.1
borisflesch May 22, 2022
f5d0ee0
Updated VuePress doc (and fixed compatibility issues)
borisflesch May 22, 2022
29d719e
Fix example in guide
vjik Jul 1, 2022
b0eb419
Merge pull request #7 from vjik/patch-1
borisflesch Jul 3, 2022
4dd4ec7
Removing proxy from sorts array on sort change event
vjik Jul 5, 2022
30323a1
build
vjik Jul 5, 2022
8efd48f
fix
vjik Jul 5, 2022
84f66fb
Fix docs
vjik Aug 2, 2022
c587fcd
revert changes
vjik Aug 30, 2022
12f8ac1
docs
vjik Aug 30, 2022
4d01bfc
Merge pull request #8 from vjik/remove-sort-proxy
borisflesch Aug 30, 2022
cc6077d
Grouped Header Row Checkbox issue
tbrains Sep 1, 2022
2ead795
Fix expanding row in each group when a row is clicked
Jan 20, 2023
c21e7e2
Add option to always show selection info div
mccahan Feb 16, 2023
da316f9
Accept a function for selection text
mccahan Feb 25, 2023
c6fc350
Merge pull request #1 from mccahan/always-show-selection-info
mccahan Feb 25, 2023
172830c
Merge branch 'master' into selected-text-function
mccahan Feb 25, 2023
b6d7cde
fix(Table): Updated key reference to row-click listener
rebz Apr 6, 2023
2efbad2
Update grouped-table.md
awbeny Aug 16, 2023
ee32c08
Merge pull request #1 from awbeny/awbeny-doc-syntax-fix
awbeny Aug 16, 2023
28937d1
Update search-options.md
Marsad1998 Jan 25, 2024
f9396d1
Merge pull request #10 from tbrains/patch-1
borisflesch Sep 10, 2024
e0c36a2
Merge pull request #12 from tulsluper/fix-row-expand-in-group
borisflesch Sep 10, 2024
747b42a
Merge pull request #14 from mccahan/always-show-selection-info
borisflesch Sep 10, 2024
7953bcb
Merge pull request #15 from mccahan/selected-text-function
borisflesch Sep 10, 2024
2e8d1db
Merge pull request #16 from rebz/fix/computed-has-row-click
borisflesch Sep 10, 2024
189bce2
Merge pull request #17 from awbeny/master
borisflesch Sep 10, 2024
75db47b
Merge pull request #19 from Marsad1998/master
borisflesch Sep 10, 2024
935b396
v0.2.2
borisflesch Sep 10, 2024
df9916d
vuepress docs updated; migrated from CommonJS to ES module statements
borisflesch Sep 10, 2024
2b41970
fixed docs config & release script
borisflesch Sep 10, 2024
ddbcfc0
logical CSS properties for rtl
MosheL Dec 8, 2024
8773b13
dates.js to the origin version, not the otzar version
MosheL Dec 8, 2024
f8f376b
prettier
MosheL Dec 8, 2024
b8313a9
rollup 4 and its friends, successful build.
MosheL Dec 8, 2024
161c559
yarn
MosheL Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -565,6 +565,7 @@ Object containing select options
selectionInfoClass: 'custom-class',
selectionText: 'rows selected', // can also accept a function, e.g. n => `${n} rows selected`
clearSelectionText: 'clear',
alwaysShowSelectionInfo: false, // always show the row count, even when nothing is selected
}">
```

11 changes: 9 additions & 2 deletions dist/vue-good-table-next.cjs.prod.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-good-table-next v0.2.0
* vue-good-table-next v0.2.1
* (c) 2021-present Boris Flesch <boris@singlequote.net>
* (c) 2017-2021 xaksis <shay@crayonbits.com>
* @license MIT
@@ -8451,6 +8451,7 @@ const _sfc_main = {
clearSelectionText: "clear",
disableSelectInfo: false,
selectAllByGroup: false,
alwaysShowSelectionInfo: false,
};
},
},
@@ -8524,6 +8525,7 @@ const _sfc_main = {
selectionInfoClass: "",
selectionText: "rows selected",
clearSelectionText: "clear",
alwaysShowSelectionInfo: false,

// keys for rows that are currently expanded
maintainExpanded: true,
@@ -9771,6 +9773,7 @@ const _sfc_main = {
selectAllByPage,
disableSelectInfo,
selectAllByGroup,
alwaysShowSelectionInfo,
} = this.selectOptions;

if (typeof enabled === "boolean") {
@@ -9797,6 +9800,10 @@ const _sfc_main = {
this.selectionInfoClass = selectionInfoClass;
}

if (typeof alwaysShowSelectionInfo === "boolean") {
this.alwaysShowSelectionInfo = alwaysShowSelectionInfo;
}

if (typeof selectionText === "string") {
this.selectionText = selectionText;
}
@@ -9915,7 +9922,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}
: undefined
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onKeyup", "onEnter", "value", "search-enabled", "global-search-placeholder"]),
($options.selectedRowCount && !_ctx.disableSelectInfo)
(_ctx.alwaysShowSelectionInfo || ($options.selectedRowCount && !_ctx.disableSelectInfo))
? (vue.openBlock(), vue.createElementBlock("div", {
key: 1,
class: vue.normalizeClass(["vgt-selection-info-row clearfix", _ctx.selectionInfoClass])
4 changes: 2 additions & 2 deletions dist/vue-good-table-next.global.prod.js

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions dist/vue-good-table.cjs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-good-table-next v0.2.0
* vue-good-table-next v0.2.1
* (c) 2021-present Boris Flesch <boris@singlequote.net>
* (c) 2017-2021 xaksis <shay@crayonbits.com>
* @license MIT
@@ -8451,6 +8451,7 @@ const _sfc_main = {
clearSelectionText: "clear",
disableSelectInfo: false,
selectAllByGroup: false,
alwaysShowSelectionInfo: false,
};
},
},
@@ -8524,6 +8525,7 @@ const _sfc_main = {
selectionInfoClass: "",
selectionText: "rows selected",
clearSelectionText: "clear",
alwaysShowSelectionInfo: false,

// keys for rows that are currently expanded
maintainExpanded: true,
@@ -9771,6 +9773,7 @@ const _sfc_main = {
selectAllByPage,
disableSelectInfo,
selectAllByGroup,
alwaysShowSelectionInfo,
} = this.selectOptions;

if (typeof enabled === "boolean") {
@@ -9797,6 +9800,10 @@ const _sfc_main = {
this.selectionInfoClass = selectionInfoClass;
}

if (typeof alwaysShowSelectionInfo === "boolean") {
this.alwaysShowSelectionInfo = alwaysShowSelectionInfo;
}

if (typeof selectionText === "string") {
this.selectionText = selectionText;
}
@@ -9915,7 +9922,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}
: undefined
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onKeyup", "onEnter", "value", "search-enabled", "global-search-placeholder"]),
($options.selectedRowCount && !_ctx.disableSelectInfo)
(_ctx.alwaysShowSelectionInfo || ($options.selectedRowCount && !_ctx.disableSelectInfo))
? (vue.openBlock(), vue.createElementBlock("div", {
key: 1,
class: vue.normalizeClass(["vgt-selection-info-row clearfix", _ctx.selectionInfoClass])
11 changes: 9 additions & 2 deletions dist/vue-good-table.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-good-table-next v0.2.0
* vue-good-table-next v0.2.1
* (c) 2021-present Boris Flesch <boris@singlequote.net>
* (c) 2017-2021 xaksis <shay@crayonbits.com>
* @license MIT
@@ -8447,6 +8447,7 @@ const _sfc_main = {
clearSelectionText: "clear",
disableSelectInfo: false,
selectAllByGroup: false,
alwaysShowSelectionInfo: false,
};
},
},
@@ -8520,6 +8521,7 @@ const _sfc_main = {
selectionInfoClass: "",
selectionText: "rows selected",
clearSelectionText: "clear",
alwaysShowSelectionInfo: false,

// keys for rows that are currently expanded
maintainExpanded: true,
@@ -9767,6 +9769,7 @@ const _sfc_main = {
selectAllByPage,
disableSelectInfo,
selectAllByGroup,
alwaysShowSelectionInfo,
} = this.selectOptions;

if (typeof enabled === "boolean") {
@@ -9793,6 +9796,10 @@ const _sfc_main = {
this.selectionInfoClass = selectionInfoClass;
}

if (typeof alwaysShowSelectionInfo === "boolean") {
this.alwaysShowSelectionInfo = alwaysShowSelectionInfo;
}

if (typeof selectionText === "string") {
this.selectionText = selectionText;
}
@@ -9911,7 +9918,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}
: undefined
]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["onKeyup", "onEnter", "value", "search-enabled", "global-search-placeholder"]),
($options.selectedRowCount && !_ctx.disableSelectInfo)
(_ctx.alwaysShowSelectionInfo || ($options.selectedRowCount && !_ctx.disableSelectInfo))
? (openBlock(), createElementBlock("div", {
key: 1,
class: normalizeClass(["vgt-selection-info-row clearfix", _ctx.selectionInfoClass])
9 changes: 8 additions & 1 deletion src/components/Table.vue
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@
</template>
</vgt-global-search>
<div
v-if="selectedRowCount && !disableSelectInfo"
v-if="alwaysShowSelectionInfo || (selectedRowCount && !disableSelectInfo)"
class="vgt-selection-info-row clearfix"
:class="selectionInfoClass"
>
@@ -394,6 +394,7 @@ export default {
clearSelectionText: "clear",
disableSelectInfo: false,
selectAllByGroup: false,
alwaysShowSelectionInfo: false,
};
},
},
@@ -467,6 +468,7 @@ export default {
selectionInfoClass: "",
selectionText: n => n + ' row' + (n !== 1 ? 's' : '') + ' selected',
clearSelectionText: "clear",
alwaysShowSelectionInfo: false,

// keys for rows that are currently expanded
maintainExpanded: true,
@@ -1718,6 +1720,7 @@ export default {
selectAllByPage,
disableSelectInfo,
selectAllByGroup,
alwaysShowSelectionInfo,
} = this.selectOptions;

if (typeof enabled === "boolean") {
@@ -1747,6 +1750,10 @@ export default {
if (typeof selectionText === "string" || typeof selectionText === "function") {
this.selectionText = selectionText;
}

if (typeof alwaysShowSelectionInfo === "boolean") {
this.alwaysShowSelectionInfo = alwaysShowSelectionInfo;
}

if (typeof clearSelectionText === "string") {
this.clearSelectionText = clearSelectionText;
1 change: 1 addition & 0 deletions vp-docs/guide/advanced/checkbox-table.md
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ Object containing select options
clearSelectionText: 'clear',
disableSelectInfo: true, // disable the select info panel on top
selectAllByGroup: true, // when used in combination with a grouped table, add a checkbox in the header row to check/uncheck the entire group
alwaysShowSelectionInfo: false, // always show the row count, even when nothing is selected
}">
```