Skip to content

Commit

Permalink
replace numbro by numeral to fix parse 100.000 in european
Browse files Browse the repository at this point in the history
  • Loading branch information
mapacheL committed Mar 22, 2017
1 parent d60f08c commit 6a169da
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Button } from 'react-bootstrap'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import { classes } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import { notifySuccess }from '../../../../Framework/Signum.React/Scripts/Operations/EntityOperations'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Button } from 'react-bootstrap'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import { classes } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import { notifySuccess }from '../../../../Framework/Signum.React/Scripts/Operations/EntityOperations'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Button } from 'react-bootstrap'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import { classes } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import { notifySuccess }from '../../../../Framework/Signum.React/Scripts/Operations/EntityOperations'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Button } from 'react-bootstrap'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import { classes } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import { notifySuccess }from '../../../../Framework/Signum.React/Scripts/Operations/EntityOperations'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Button } from 'react-bootstrap'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import { classes } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import { notifySuccess }from '../../../../Framework/Signum.React/Scripts/Operations/EntityOperations'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Button } from 'react-bootstrap'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import { classes } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import * as Navigator from '../../../../Framework/Signum.React/Scripts/Navigator'
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/Dynamic/DynamicPanelPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Tabs, Tab } from 'react-bootstrap'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import { classes } from '../../../Framework/Signum.React/Scripts/Globals'
import { StyleContext } from '../../../Framework/Signum.React/Scripts/TypeContext'
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/Printing/PrintPanelPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as Finder from '../../../Framework/Signum.React/Scripts/Finder'
import EntityLink from '../../../Framework/Signum.React/Scripts/SearchControl/EntityLink'
import { ValueSearchControl, SearchControl, ValueSearchControlLine } from '../../../Framework/Signum.React/Scripts/Search'
Expand Down
4 changes: 2 additions & 2 deletions Signum.React.Extensions/Processes/ProcessPanelPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as Finder from '../../../Framework/Signum.React/Scripts/Finder'
import EntityLink from '../../../Framework/Signum.React/Scripts/SearchControl/EntityLink'
import {ValueSearchControl, SearchControl } from '../../../Framework/Signum.React/Scripts/Search'
Expand Down Expand Up @@ -97,7 +97,7 @@ export default class ProcessPanelPage extends React.Component<ProcessPanelProps,
<tr key={i}>
<td> <EntityLink lite={item.Process} inSearch={true} /> </td>
<td> { item.State } </td>
<td> { numbro(item.Progress).format("0 %") } </td>
<td> { numeral(item.Progress).format("0 %") } </td>
<td> { item.MachineName } </td>
<td> { item.ApplicationName } </td>
<td> { item.IsCancellationRequested } </td>
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/Profiler/Heavy/HeavyEntryPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as d3 from 'd3'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import { } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Navigator from '../../../../Framework/Signum.React/Scripts/Navigator'
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/Profiler/Heavy/HeavyListPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as d3 from 'd3'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import * as Navigator from '../../../../Framework/Signum.React/Scripts/Navigator'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/Profiler/Times/TimesPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { Link } from 'react-router'
import { Tabs, Tab } from 'react-bootstrap'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
import EntityLink from '../../../../Framework/Signum.React/Scripts/SearchControl/EntityLink'
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/Scheduler/SchedulerPanelPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import * as Finder from '../../../Framework/Signum.React/Scripts/Finder'
import { ValueSearchControl, SearchControl } from '../../../Framework/Signum.React/Scripts/Search'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import { Dic } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import { Dic } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import { Dic } from '../../../../Framework/Signum.React/Scripts/Globals'
import * as Finder from '../../../../Framework/Signum.React/Scripts/Finder'
Expand Down
2 changes: 1 addition & 1 deletion Signum.React.Extensions/UserAssets/ImportAssetsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { Link } from 'react-router'
import * as numbro from 'numbro'
import * as numeral from 'numeral'
import * as moment from 'moment'
import * as Finder from '../../../Framework/Signum.React/Scripts/Finder'
import { TypeContext } from '../../../Framework/Signum.React/Scripts/TypeContext'
Expand Down

0 comments on commit 6a169da

Please sign in to comment.