diff --git a/packages/common/src/aggregators/index.ts b/packages/common/src/aggregators/index.ts deleted file mode 100644 index b991ff8363..0000000000 --- a/packages/common/src/aggregators/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './sumAggregator.js'; -export * from './maxAggregator.js'; -export * from './distinctAggregator.js'; -export * from './minAggregator.js'; -export * from './countAggregator.js'; -export * from './cloneAggregator.js'; -export * from './avgAggregator.js'; -export * from './aggregators.index.js'; diff --git a/packages/common/src/core/__tests__/slickDataView.spec.ts b/packages/common/src/core/__tests__/slickDataView.spec.ts index 779a72187d..6256539251 100644 --- a/packages/common/src/core/__tests__/slickDataView.spec.ts +++ b/packages/common/src/core/__tests__/slickDataView.spec.ts @@ -1,5 +1,5 @@ import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, test, vi } from 'vitest'; -import { Aggregators } from '../../aggregators/index.js'; +import { Aggregators } from '../../aggregators/aggregators.index.js'; import { SortDirectionNumber } from '../../enums/sortDirectionNumber.enum.js'; import { SlickHybridSelectionModel } from '../../extensions/slickHybridSelectionModel.js'; import type { GridOption, Grouping } from '../../interfaces/index.js'; diff --git a/packages/common/src/extensions/__tests__/slickContextMenu.spec.ts b/packages/common/src/extensions/__tests__/slickContextMenu.spec.ts index 692e93851f..7c830d550f 100644 --- a/packages/common/src/extensions/__tests__/slickContextMenu.spec.ts +++ b/packages/common/src/extensions/__tests__/slickContextMenu.spec.ts @@ -4,7 +4,7 @@ import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from 'vite import { TranslateServiceStub } from '../../../../../test/translateServiceStub.js'; import { SlickEvent, SlickEventData, type SlickDataView, type SlickGrid } from '../../core/index.js'; import { ExtensionUtility } from '../../extensions/extensionUtility.js'; -import { Formatters } from '../../formatters/index.js'; +import { Formatters } from '../../formatters/formatters.index.js'; import type { Column, ContextMenu, ElementPosition, ExternalResource, Formatter, GridOption, MenuCommandItem, MenuOptionItem } from '../../interfaces/index.js'; import { BackendUtilityService, diff --git a/packages/common/src/formatters/__tests__/dateEuroFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateEuroFormatter.spec.ts index ee19618514..1b66079eb1 100644 --- a/packages/common/src/formatters/__tests__/dateEuroFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateEuroFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateEuro Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateEuroShortFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateEuroShortFormatter.spec.ts index 95080af308..6c8b8273fa 100644 --- a/packages/common/src/formatters/__tests__/dateEuroShortFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateEuroShortFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateEuroShort Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateIsoFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateIsoFormatter.spec.ts index dcb18f4547..8480e48df8 100644 --- a/packages/common/src/formatters/__tests__/dateIsoFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateIsoFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the Date ISO Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeEuroAM_PMFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeEuroAM_PMFormatter.spec.ts index b048c2597e..bc5256ee1a 100644 --- a/packages/common/src/formatters/__tests__/dateTimeEuroAM_PMFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeEuroAM_PMFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeEuroAM_PM Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeEuroAmPmFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeEuroAmPmFormatter.spec.ts index 1f1e027cce..8aa57f6fac 100644 --- a/packages/common/src/formatters/__tests__/dateTimeEuroAmPmFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeEuroAmPmFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeShortEuro Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeEuroFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeEuroFormatter.spec.ts index 28ef4df852..566683df21 100644 --- a/packages/common/src/formatters/__tests__/dateTimeEuroFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeEuroFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeEuro Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeEuroShortAM_PMFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeEuroShortAM_PMFormatter.spec.ts index b027d01fee..227ec7d43f 100644 --- a/packages/common/src/formatters/__tests__/dateTimeEuroShortAM_PMFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeEuroShortAM_PMFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeEuroShortAM_PM Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeEuroShortAmPmFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeEuroShortAmPmFormatter.spec.ts index a997d44949..70892231a9 100644 --- a/packages/common/src/formatters/__tests__/dateTimeEuroShortAmPmFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeEuroShortAmPmFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeEuroShortAmPm Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeEuroShortFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeEuroShortFormatter.spec.ts index a53d30d7f4..40fcdcc845 100644 --- a/packages/common/src/formatters/__tests__/dateTimeEuroShortFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeEuroShortFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeEuroShort Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeIsoAM_PMFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeIsoAM_PMFormatter.spec.ts index 79dcf2256a..c00acb0153 100644 --- a/packages/common/src/formatters/__tests__/dateTimeIsoAM_PMFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeIsoAM_PMFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeIsoAM_PM Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeIsoAmPmFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeIsoAmPmFormatter.spec.ts index 17d5312f2f..450e6e2269 100644 --- a/packages/common/src/formatters/__tests__/dateTimeIsoAmPmFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeIsoAmPmFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeIsoAmPm Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeIsoFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeIsoFormatter.spec.ts index 6c234c087a..1e668eac29 100644 --- a/packages/common/src/formatters/__tests__/dateTimeIsoFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeIsoFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeIso Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeShortEuroFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeShortEuroFormatter.spec.ts index 4e32eb409a..ae14df6a38 100644 --- a/packages/common/src/formatters/__tests__/dateTimeShortEuroFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeShortEuroFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeShortEuro Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeShortIsoFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeShortIsoFormatter.spec.ts index 0c7d81e1dd..3e9eb3f286 100644 --- a/packages/common/src/formatters/__tests__/dateTimeShortIsoFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeShortIsoFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeShortIso Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeShortUsFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeShortUsFormatter.spec.ts index ee6c6f57ec..2b6f9f6a2f 100644 --- a/packages/common/src/formatters/__tests__/dateTimeShortUsFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeShortUsFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeShortUs Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeUsAM_PMFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeUsAM_PMFormatter.spec.ts index 9061b92a55..7b6960e1c3 100644 --- a/packages/common/src/formatters/__tests__/dateTimeUsAM_PMFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeUsAM_PMFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeUsAM_PM Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeUsAmPmFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeUsAmPmFormatter.spec.ts index d9ba9d4fb3..a50b7732da 100644 --- a/packages/common/src/formatters/__tests__/dateTimeUsAmPmFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeUsAmPmFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeShortUs Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeUsFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeUsFormatter.spec.ts index b8b3cc3e04..1a76daddd2 100644 --- a/packages/common/src/formatters/__tests__/dateTimeUsFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeUsFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeUs Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeUsShortAM_PMFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeUsShortAM_PMFormatter.spec.ts index 70cfac2cea..374a4d8fc2 100644 --- a/packages/common/src/formatters/__tests__/dateTimeUsShortAM_PMFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeUsShortAM_PMFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeUsShortAM_PM Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeUsShortAmPmFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeUsShortAmPmFormatter.spec.ts index 152b4b4156..b557c1bfb7 100644 --- a/packages/common/src/formatters/__tests__/dateTimeUsShortAmPmFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeUsShortAmPmFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeUsShortAmPm Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateTimeUsShortFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateTimeUsShortFormatter.spec.ts index acd4dd084c..319b34a50d 100644 --- a/packages/common/src/formatters/__tests__/dateTimeUsShortFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateTimeUsShortFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateTimeUsShort Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateUsFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateUsFormatter.spec.ts index 85f5e8348b..f70f868d8d 100644 --- a/packages/common/src/formatters/__tests__/dateUsFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateUsFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateUs Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateUsShortFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateUsShortFormatter.spec.ts index 7588a1e4dc..82a9e7f475 100644 --- a/packages/common/src/formatters/__tests__/dateUsShortFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateUsShortFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateUsShort Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/__tests__/dateUtcFormatter.spec.ts b/packages/common/src/formatters/__tests__/dateUtcFormatter.spec.ts index 063d71ac09..be030c3b00 100644 --- a/packages/common/src/formatters/__tests__/dateUtcFormatter.spec.ts +++ b/packages/common/src/formatters/__tests__/dateUtcFormatter.spec.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest'; import type { Column } from '../../interfaces/index.js'; -import { Formatters } from '../index.js'; +import { Formatters } from '../formatters.index.js'; describe('the DateUtc Formatter', () => { it('should return null when no value is provided', () => { diff --git a/packages/common/src/formatters/index.ts b/packages/common/src/formatters/index.ts deleted file mode 100644 index ae2b2b9720..0000000000 --- a/packages/common/src/formatters/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -export * from './arrayObjectToCsvFormatter.js'; -export * from './arrayToCsvFormatter.js'; -export * from './checkmarkMaterialFormatter.js'; -export * from './collectionEditorFormatter.js'; -export * from './collectionFormatter.js'; -export * from './complexObjectFormatter.js'; -export * from './decimalFormatter.js'; -export * from './dollarFormatter.js'; -export * from './dollarColoredFormatter.js'; -export * from './dollarColoredBoldFormatter.js'; -export * from './formatters.index.js'; -export * from './formatterUtilities.js'; -export * from './hyperlinkFormatter.js'; -export * from './iconBooleanFormatter.js'; -export * from './iconFormatter.js'; -export * from './maskFormatter.js'; -export * from './multipleFormatter.js'; -export * from './percentCompleteFormatter.js'; -export * from './percentCompleteBarWithTextFormatter.js'; -export * from './percentCompleteBarFormatter.js'; -export * from './percentFormatter.js'; -export * from './percentSymbolFormatter.js'; -export * from './progressBarFormatter.js'; -export * from './translateFormatter.js'; -export * from './translateBooleanFormatter.js'; -export * from './treeExportFormatter.js'; -export * from './treeFormatter.js'; -export * from './treeParseTotalsFormatter.js'; diff --git a/packages/common/src/grouping-formatters/index.ts b/packages/common/src/grouping-formatters/index.ts deleted file mode 100644 index 9bae0e9bb8..0000000000 --- a/packages/common/src/grouping-formatters/index.ts +++ /dev/null @@ -1,13 +0,0 @@ -export * from './sumTotalsFormatter.js'; -export * from './sumTotalsDollarFormatter.js'; -export * from './sumTotalsDollarColoredFormatter.js'; -export * from './sumTotalsDollarColoredBoldFormatter.js'; -export * from './sumTotalsDollarBoldFormatter.js'; -export * from './sumTotalsColoredFormatter.js'; -export * from './sumTotalsBoldFormatter.js'; -export * from './minTotalsFormatter.js'; -export * from './maxTotalsFormatter.js'; -export * from './groupingFormatters.index.js'; -export * from './avgTotalsPercentageFormatter.js'; -export * from './avgTotalsFormatter.js'; -export * from './avgTotalsDollarFormatter.js'; diff --git a/packages/common/src/index.ts b/packages/common/src/index.ts index b1779217fb..4d5e3d95ff 100644 --- a/packages/common/src/index.ts +++ b/packages/common/src/index.ts @@ -21,7 +21,6 @@ export * from './global-grid-options.js'; export * from './core/index.js'; export * from './enums/index.js'; export type * from './interfaces/index.js'; -export * from './aggregators/index.js'; export * from './aggregators/aggregators.index.js'; export * from './editors/index.js'; export * from './editors/editors.index.js'; @@ -31,9 +30,8 @@ export * from './filter-conditions/filterConditions.index.js'; export * from './filters/index.js'; export * from './filters/filters.index.js'; export * from './filters/filterFactory.js'; -export * from './formatters/index.js'; export * from './formatters/formatters.index.js'; -export * from './grouping-formatters/index.js'; +export * from './formatters/formatterUtilities.js'; export * from './grouping-formatters/groupingFormatters.index.js'; export * from './sortComparers/index.js'; export * from './sortComparers/sortComparers.index.js';