-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev-4216 Platform > Freedom Components > FFilter Demo Page (#46)
* feat: added demo page for reusable ffilter component
- Loading branch information
1 parent
04f1972
commit 5c470e5
Showing
13 changed files
with
497 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,5 +75,6 @@ dist/ | |
|
||
# esdoc | ||
docs/ | ||
|
||
/src-pwa/pwa-flag.d.ts | ||
/src/store/store-flag.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
"lint": "eslint --ext .js,.vue src", | ||
"dev": "cross-env node node_modules/@quasar/cli/bin/quasar dev", | ||
"docs": "esdoc", | ||
"postinstall": "npm i --no-save ./node_modules/quasar-app-extension-freedom-components/f-table" | ||
"postinstall": "npm i --no-save ./node_modules/quasar-app-extension-freedom-components/f-table ./node_modules/quasar-app-extension-freedom-components/f-filter" | ||
}, | ||
"dependencies": { | ||
"@panter/vue-i18next": "^0.15.1", | ||
|
@@ -30,12 +30,12 @@ | |
"moment": "^2.20.1", | ||
"qs": "^6.5.2", | ||
"quasar": "^1.15.23", | ||
"quasar-app-extension-freedom-components": "git+https://freedom-components-readonly:[email protected]/anyTV/incubator/freedom-components.git", | ||
"quasar-app-extension-freedom-components": "git+https://freedom-components-readonly:[email protected]/anyTV/incubator/freedom-components.git#v1.7.5", | ||
"vue": "2.6.11", | ||
"vue-gtm": "3.1.0-vue2", | ||
"vue-router": "^3.0.1", | ||
"vue-template-compiler": "2.6.11", | ||
"vuelidate": "^0.6.2", | ||
"vuelidate": "^0.7.6", | ||
"vuex": "^3.0.1" | ||
}, | ||
"dependenciesComments": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"f-table": {} | ||
"f-table": {}, | ||
"f-filter": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default { | ||
formats: { | ||
ISO_DATE: 'YYYY-MM-DD', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
'use strict'; | ||
|
||
import _ from 'lodash'; | ||
import moment from 'moment'; | ||
import dateConfig from 'src/config/date'; | ||
|
||
// Date validator with strict formatting rule to prevent falling back to js Date validation | ||
// which is not reliable accross browsers | ||
// https://momentjs.com/guides/#/warnings/js-date/ | ||
export const isValidStrictDateFormat = value => { | ||
if (!value) { | ||
return false; | ||
} | ||
|
||
return moment(value, dateConfig.formats.ISO_DATE, true).isValid(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.