@skyux/core 6.0.0-beta.9 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation.json +614 -354
- package/esm2020/lib/modules/numeric/numeric.options.mjs +3 -29
- package/esm2020/lib/modules/numeric/numeric.pipe.mjs +1 -1
- package/esm2020/lib/modules/numeric/numeric.service.mjs +1 -1
- package/fesm2015/skyux-core.mjs +2 -28
- package/fesm2015/skyux-core.mjs.map +1 -1
- package/fesm2020/skyux-core.mjs +2 -28
- package/fesm2020/skyux-core.mjs.map +1 -1
- package/lib/modules/numeric/numeric.options.d.ts +17 -11
- package/lib/modules/numeric/numeric.pipe.d.ts +2 -2
- package/lib/modules/numeric/numeric.service.d.ts +2 -2
- package/package.json +2 -2
package/fesm2020/skyux-core.mjs
CHANGED
@@ -1708,42 +1708,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
1708
1708
|
|
1709
1709
|
/**
|
1710
1710
|
* Provides arguments for the number to format.
|
1711
|
+
* @deprecated Use the `SkyNumericOptions` interface instead.
|
1711
1712
|
*/
|
1712
1713
|
class NumericOptions {
|
1713
1714
|
constructor() {
|
1714
|
-
/**
|
1715
|
-
* Specifies the maximum number of digits after the decimal separator.
|
1716
|
-
* @default 1
|
1717
|
-
*/
|
1718
1715
|
this.digits = 1;
|
1719
|
-
/**
|
1720
|
-
* Specifies how to format the number. Options are `currency` or `number`.
|
1721
|
-
* @default "number"
|
1722
|
-
*/
|
1723
1716
|
this.format = 'number';
|
1724
|
-
/**
|
1725
|
-
* Specifies the format of the currency.
|
1726
|
-
* @default "standard"
|
1727
|
-
*/
|
1728
1717
|
this.currencySign = 'standard';
|
1729
|
-
/**
|
1730
|
-
* Specifies the ISO4217 currency code to use for currency formatting. If you do not specify a
|
1731
|
-
* currency code, the component uses the browser's culture to determine the currency unless your
|
1732
|
-
* SPA provides a different culture with `SkyAppLocaleProvider`.
|
1733
|
-
* @default "USD"
|
1734
|
-
*/
|
1735
1718
|
this.iso = 'USD';
|
1736
|
-
/**
|
1737
|
-
* Indicates whether to shorten numbers to rounded numbers and abbreviation characters
|
1738
|
-
* such as K for thousands, M for millions, B for billions, and T for trillions.
|
1739
|
-
*/
|
1740
1719
|
this.truncate = true;
|
1741
|
-
|
1742
|
-
* Specifies the starting point after which numbers are shortened to rounded numbers
|
1743
|
-
* and abbreviation characters.
|
1744
|
-
* @default 0
|
1745
|
-
*/
|
1746
|
-
this.truncateAfter = 0;
|
1720
|
+
this.truncateAfter = 1000;
|
1747
1721
|
}
|
1748
1722
|
}
|
1749
1723
|
|