Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
5d4f705355
Bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 02:03:31 +00:00
7 changed files with 52 additions and 35 deletions

View File

@ -1,6 +1,4 @@
# Assign default period to date-pickers
You can assign default period by messures, just use DAX!
# Version 1.0.1
1. Fix bug: the filter doesn't work after rename the field on it
# Known issues
* Can't edit date in PowerBiApp(only on some Android devices)
* Can't edit date in PowerBiApp(only on some Android devices)

6
package-lock.json generated
View File

@ -1498,9 +1498,9 @@
}
},
"acorn": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz",
"integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==",
"version": "6.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
"integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
"dev": true
},
"acorn-walk": {

View File

@ -1,12 +1,12 @@
{
"visual": {
"name": "PeriodSlice-Syinpo",
"displayName": "PeriodSlicer-Syinpo",
"name": "Period Slice - Syinpo",
"displayName": "Period Slicer - Syinpo",
"guid": "SyinpoPeriodSlice9771124744984CE8959D0304EEAB35E8",
"visualClassName": "Visual",
"version": "1.0.1",
"version": "1.0.0",
"description": "A period slicer, which can be initialized by messures.",
"supportUrl": "http://www.syinpo.com",
"supportUrl": "https://github.com/mujiannan/PeriodSlicer-Syinpo/issues",
"gitHubUrl": "https://github.com/mujiannan/PeriodSlicer-Syinpo"
},
"apiVersion": "2.6.0",

View File

@ -153,12 +153,9 @@ export class Visual implements IVisual {
//determine period from dateSelectors
let period: IPeriod = this.periodSelectorManager.period;
let target: models.IFilterColumnTarget;
let splitPosition:number=this.category.source.queryName.indexOf('.');
let tableName:string=this.category.source.queryName.substr(0, splitPosition);
let fieldName:string=this.category.source.queryName.substr(splitPosition+1,this.category.source.queryName.length-splitPosition-1);
target = {
table: tableName, // table
column: fieldName // col1
table: this.category.source.queryName.substr(0, this.category.source.queryName.indexOf('.')), // table
column: this.category.source.displayName // col1
};
//filter

View File

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long