@dcupl/common 2.0.0-beta.3 → 2.0.0-beta.5

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.
@@ -1,4 +1,4 @@
1
- import { DcuplUpdateType } from './changeDetection';
1
+ import { DcuplUpdateType } from './changeDetection.js';
2
2
  export type AnalyticsEntryType = 'resource' | 'mark' | 'measure' | 'data' | 'sdk_action';
3
3
  export type AnalyticsEntryBase<Value = any> = {
4
4
  name: string;
@@ -1,5 +1,5 @@
1
- import { CallbackFunction, DcuplInitOptions } from './types';
2
- import { AnalyticsController } from './analytics.controller';
1
+ import { CallbackFunction, DcuplInitOptions } from './types/index.js';
2
+ import { AnalyticsController } from './analytics.controller.js';
3
3
  export type DcuplUpdateScope = 'all' | 'global' | 'list' | 'list$';
4
4
  export type DcuplUpdateTrigger = 'user' | 'loader';
5
5
  export type DcuplUpdateType = 'data_change' | 'dcupl_destroyed' | 'dcupl_handle_datacontainer' | 'dcupl_initialized' | 'dcupl_updated_manually' | 'dcupl_partial_update' | 'filter_many' | 'filter_one' | 'fn_aggregate' | 'fn_facets' | 'fn_groupBy' | 'fn_metadata' | 'fn_pivot' | 'fn_suggest' | 'list_created' | 'list_destroyed' | 'list_updated' | 'loader_added' | 'loader_config_fetched' | 'loader_data_fetched' | 'loader_models_fetched' | 'loader_scripts_fetched' | 'loader_processed' | 'loader_removed' | 'model_add' | 'query_apply_options' | 'query_apply' | 'query_execute' | 'query_get' | 'query_has' | 'query_many' | 'query_one' | 'query_remove' | 'query_reset' | 'result_updated' | 'view_add';
@@ -1,3 +1,3 @@
1
- import { ListItem, Suggestion, SuggestionOptions, InverseIndexValuesMap } from './types';
2
- import { QueryManager } from '.';
1
+ import { ListItem, Suggestion, SuggestionOptions, InverseIndexValuesMap } from './types/index.js';
2
+ import { QueryManager } from './index.js';
3
3
  export declare function computeSuggestions<ListType extends ListItem = ListItem>(data: Map<string, ListType>, index: InverseIndexValuesMap, options: SuggestionOptions, queryManager: QueryManager): Suggestion[];
@@ -1,4 +1,4 @@
1
- import { QueryAttributeEntry } from './query-builder';
1
+ import { QueryAttributeEntry } from './query-builder.js';
2
2
  /**
3
3
  * Result of path validation
4
4
  */
@@ -1,3 +1,3 @@
1
- import { Aggregation, AggregationDistinctValue, AggregationOptions, InverseIndexValuesMap, ListItem } from './types';
1
+ import { Aggregation, AggregationDistinctValue, AggregationOptions, InverseIndexValuesMap, ListItem } from './types/index.js';
2
2
  export declare const getAggregation: (options: AggregationOptions, relevantData: Map<string, ListItem>, indexMap: InverseIndexValuesMap, attribute: string) => Aggregation;
3
3
  export declare const getDistinct: (options: AggregationOptions, data: Map<string, ListItem>, indexMap: InverseIndexValuesMap) => AggregationDistinctValue[];
@@ -1,3 +1,3 @@
1
- import { ListItem, DcuplFilterOptions, InverseIndexReferenceMap, DcuplGlobalQueryOptions, DcuplFacet } from './types';
2
- import { QueryManager } from './queryData';
1
+ import { ListItem, DcuplFilterOptions, InverseIndexReferenceMap, DcuplGlobalQueryOptions, DcuplFacet } from './types/index.js';
2
+ import { QueryManager } from './queryData.js';
3
3
  export declare function getFacets<ListType extends ListItem = ListItem>(modelData: Map<string, ListType>, remoteModelData: Map<string, ListType>, options: DcuplFilterOptions, query: DcuplGlobalQueryOptions<any>, attribute: string, modelIndexMap: InverseIndexReferenceMap, queryManager: QueryManager): DcuplFacet[];
@@ -1,4 +1,4 @@
1
- import { DateFilterOptions, NumberFilterOptions } from './types';
1
+ import { DateFilterOptions, NumberFilterOptions } from './types/index.js';
2
2
  export declare const getFilterEntryId: (filterItemId: string, value?: string) => string;
3
3
  export declare const getNumberConstraintUid: (options: NumberFilterOptions) => string;
4
4
  export declare const getDateConstraintUid: (options: DateFilterOptions) => string;
@@ -1,22 +1,22 @@
1
- export * from './analytics.controller';
2
- export * from './attribute-dependency-graph';
3
- export * from './cache.controller';
4
- export * from './changeDetection';
5
- export * from './computeSuggestions';
6
- export * from './date-utils';
7
- export * from './deep-query.service';
8
- export * from './dependency-graph';
9
- export * from './getAggregation';
10
- export * from './getFacets';
11
- export * from './helper';
12
- export * from './indices.controller';
13
- export * from './logger';
14
- export * from './performance';
15
- export * from './pivot';
16
- export * from './property-parser';
17
- export * from './query-builder';
18
- export * from './query.helper';
19
- export * from './queryData';
20
- export * from './script.controller';
21
- export * from './template-parser';
22
- export * from './types';
1
+ export * from './analytics.controller.js';
2
+ export * from './attribute-dependency-graph.js';
3
+ export * from './cache.controller.js';
4
+ export * from './changeDetection.js';
5
+ export * from './computeSuggestions.js';
6
+ export * from './date-utils.js';
7
+ export * from './deep-query.service.js';
8
+ export * from './dependency-graph.js';
9
+ export * from './getAggregation.js';
10
+ export * from './getFacets.js';
11
+ export * from './helper.js';
12
+ export * from './indices.controller.js';
13
+ export * from './logger/index.js';
14
+ export * from './performance.js';
15
+ export * from './pivot.js';
16
+ export * from './property-parser.js';
17
+ export * from './query-builder.js';
18
+ export * from './query.helper.js';
19
+ export * from './queryData.js';
20
+ export * from './script.controller.js';
21
+ export * from './template-parser.js';
22
+ export * from './types/index.js';