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

wip: Add spreadsheet component #355

Merged
merged 24 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
04d8c09
wip: Add spreadsheet component
michaelbukachi Jul 28, 2022
cc51df4
feat: Add drag/sort
michaelbukachi Aug 8, 2022
bdd7acc
Merge branch 'develop' into issues_286
andrewtpham Aug 14, 2022
6499e71
feat: Add logic for emitting event on column reordering
michaelbukachi Aug 8, 2022
bc179ca
fix: Fix filters syncing logic
michaelbukachi Aug 15, 2022
bf8f752
fix: Fix filter logic in spreadsheet
michaelbukachi Aug 15, 2022
8364580
feat: Allow unified sorting
michaelbukachi Aug 25, 2022
a0d2936
fix: Correct typo
michaelbukachi Aug 26, 2022
f8b7d55
feat: Add logic for hiding/showing columns
michaelbukachi Aug 29, 2022
5c51674
refactor: Refactor spreadsheet component
michaelbukachi Sep 6, 2022
c89b9ee
Merge branch 'develop' into issues_286
andrewtpham Sep 14, 2022
90e06a4
refactor: Add text/decimal/integer types
michaelbukachi Sep 19, 2022
137e3d4
Merge branch 'develop' into issues_286
andrewtpham Sep 21, 2022
1417f45
feat: Add validation for integer/decimal types
michaelbukachi Sep 26, 2022
7e66b2e
Merge branch 'develop' into issues_286
andrewtpham Sep 26, 2022
ae10b69
feat: Add category type
michaelbukachi Sep 26, 2022
8513759
feat: Add decimal/percentage formatting
michaelbukachi Sep 29, 2022
234e422
feat: Add date type
michaelbukachi Sep 30, 2022
8ed7fcf
fix: Fix issue with category selection
michaelbukachi Oct 3, 2022
344e0a6
feat: Styling + add logic for adding a new row
michaelbukachi Oct 6, 2022
99392c1
feat: Add h-datepicker + h-select
michaelbukachi Oct 14, 2022
a0bed78
fix: Fix linting issues
michaelbukachi Oct 14, 2022
e84f447
feat: Add boolean type
michaelbukachi Oct 14, 2022
06e4831
feat: Add header toggle dropdown
michaelbukachi Oct 14, 2022
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
8 changes: 1 addition & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"type": "git",
"url": "https://github.com/hikaya-io/hakawati.git"
},
"engines" : {
"node" : "<=14.20.0"
"engines": {
"node": "<=14.20.0"
},
"main": "./dist/hakawati.umd.js",
"scripts": {
Expand All @@ -24,6 +24,8 @@
],
"dependencies": {
"core-js": "^3.6.4",
"fuse.js": "^6.6.2",
"lodash.clonedeep": "^4.5.0",
"style-loader": "^2.0.0",
"vue": "^2.6.11",
"vuedraggable": "^2.24.3",
Expand Down
33 changes: 4 additions & 29 deletions src/components/datepicker/HDatePicker.vue
Original file line number Diff line number Diff line change
@@ -1,40 +1,15 @@
<template>
<el-date-picker
v-model="selectedDate"
:type="type"
:size="size"
:format="format"
:placeholder="placeholder"
type="date"
v-bind="$attrs"
v-on="$listeners"
class="h-date-picker"
/>
</template>

<script>
export default {
name: 'HDatePicker',
props: {
type: {
type: String,
default: 'date'
},
size: {
type: String,
default: ''
},
format: {
type: String,
default: 'yyyy-MM-dd'
},
placeholder: {
type: String,
default: ''
}
},
data () {
return {
selectedDate: ''
}
}
name: 'HDatePicker'
}
</script>

Expand Down
Loading