intelica-library-ui 0.1.168 → 0.1.170

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.
@@ -512,6 +512,12 @@ const RefreshTokenInterceptor = (req, next) => {
512
512
  return next(_request);
513
513
  };
514
514
 
515
+ var TableSortOrder;
516
+ (function (TableSortOrder) {
517
+ TableSortOrder[TableSortOrder["Asc"] = 1] = "Asc";
518
+ TableSortOrder[TableSortOrder["Desc"] = -1] = "Desc";
519
+ })(TableSortOrder || (TableSortOrder = {}));
520
+
515
521
  class PermissionsService {
516
522
  constructor() { }
517
523
  async canActivate(next, state) {
@@ -813,14 +819,14 @@ class SharedService {
813
819
  .replace("-", "(") + " K)";
814
820
  }
815
821
  else if (amount < 1000)
816
- resultado = this.Roundgen(amount, 1).toString();
822
+ resultado = this.Roundgen(amount, 0).toString();
817
823
  else if (1000000000 < amount)
818
824
  resultado = this.Roundgen(amount / 1000000000, 1).toString() + " B";
819
825
  else if (1000000 < amount)
820
826
  resultado = this.Roundgen(amount / 1000000, 1).toString() + " M";
821
827
  else
822
828
  resultado = this.Roundgen(amount / 1000, 1).toString() + " K";
823
- if (resultado.indexOf(".") === -1 && amount !== 0) {
829
+ if (resultado.indexOf(".") === -1 && amount !== 0 && amount >= 1000) {
824
830
  let a = resultado;
825
831
  let b = ".0";
826
832
  let output = a + b;
@@ -8903,5 +8909,5 @@ const IntelicaTheme = definePreset(Aura, {
8903
8909
  * Generated bundle index. Do not edit.
8904
8910
  */
8905
8911
 
8906
- export { ActionDirective, ActionsMenuComponent, ButtonSplitComponent, CheckboxFilterDirective, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DataDirective, DateFilterDirective, DateModeOptions, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, OrderConstants, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RouteGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
8912
+ export { ActionDirective, ActionsMenuComponent, ButtonSplitComponent, CheckboxFilterDirective, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DataDirective, DateFilterDirective, DateModeOptions, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, OrderConstants, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RouteGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
8907
8913
  //# sourceMappingURL=intelica-library-ui.mjs.map