@skyux/core 6.0.0-beta.10 → 6.0.0-beta.11

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.
@@ -1708,49 +1708,18 @@ 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
- class SkyNumericOptions {
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
- /**
1750
- * @deprecated Use `SkyNumericOptions` instead.
1751
- */
1752
- class NumericOptions extends SkyNumericOptions {
1753
- }
1754
1723
 
1755
1724
  // This file is mostly ported from the Angular 4.x NumberPipe in order to maintain the old
1756
1725
  function isNumeric(value) {
@@ -2037,7 +2006,7 @@ class SkyNumericPipe {
2037
2006
  if (this.formattedValue && this.cacheKey === newCacheKey) {
2038
2007
  return this.formattedValue;
2039
2008
  }
2040
- const options = new SkyNumericOptions();
2009
+ const options = new NumericOptions();
2041
2010
  // The default number of digits is `1`. When truncate is disabled, set digits
2042
2011
  // to `0` to avoid the unnecessary addition of `.0` at the end of the formatted number.
2043
2012
  if (config && config.truncate === false && config.digits === undefined) {
@@ -3325,5 +3294,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
3325
3294
  * Generated bundle index. Do not edit.
3326
3295
  */
3327
3296
 
3328
- export { MutationObserverService, NumericOptions, SKY_LOG_LEVEL, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyIdModule, SkyLogModule, SkyLogService, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyNumericModule, SkyNumericOptions, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyScrollableHostService, SkyUIConfigService, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, getWindow, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3 };
3297
+ export { MutationObserverService, NumericOptions, SKY_LOG_LEVEL, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyIdModule, SkyLogModule, SkyLogService, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyScrollableHostService, SkyUIConfigService, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, getWindow, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3 };
3329
3298
  //# sourceMappingURL=skyux-core.mjs.map