@datorama/core 22.5.2 → 22.6.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/bundles/datorama-core.umd.js +25 -8
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +4 -4
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.component.js +6 -2
- package/esm2015/lib/grid-v2/grid-no-data-overlay/grid-v2-no-data-overlay.component.js +15 -6
- package/esm2015/lib/grid-v2/grid-pagination/grid-pagination.component.js +2 -2
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +2 -2
- package/esm2015/lib/icon/icon.types.js +1 -1
- package/esm2015/lib/version.js +2 -2
- package/esm5/lib/grid-v2/grid/grid-v2.types.js +1 -1
- package/esm5/lib/grid-v2/grid-filter/grid-filter.component.js +6 -2
- package/esm5/lib/grid-v2/grid-no-data-overlay/grid-v2-no-data-overlay.component.js +19 -6
- package/esm5/lib/grid-v2/grid-pagination/grid-pagination.component.js +2 -2
- package/esm5/lib/grid-v2/grid-store/grid.service.js +2 -2
- package/esm5/lib/icon/icon.types.js +1 -1
- package/esm5/lib/version.js +2 -2
- package/fesm2015/datorama-core.js +21 -8
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +25 -8
- package/fesm5/datorama-core.js.map +1 -1
- package/i18n/locale-en_US.json +2 -0
- package/lib/grid-v2/grid/grid-v2.types.d.ts +1 -0
- package/lib/grid-v2/grid-filter/grid-filter.component.d.ts +1 -0
- package/lib/grid-v2/grid-no-data-overlay/grid-v2-no-data-overlay.component.d.ts +4 -1
- package/lib/icon/icon.types.d.ts +1 -1
- package/package.json +1 -1
package/i18n/locale-en_US.json
CHANGED
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
"collapse-rows": "Collapse all rows",
|
|
51
51
|
"fit-to-container": "Fit content to container",
|
|
52
52
|
"fit-to-content": "Fit column width to content",
|
|
53
|
+
"fit-to-text": "Fit displayed columns to text",
|
|
54
|
+
"revert-to-default-size": "Revert to default size",
|
|
53
55
|
"more-options": "More Options",
|
|
54
56
|
"filters": "Filters",
|
|
55
57
|
"filter": "Filter...",
|
|
@@ -48,6 +48,7 @@ export declare type DatoGridFilterConfig = {
|
|
|
48
48
|
predefinedListValues?: (string | ListItem)[];
|
|
49
49
|
keepPredefinedListOriginalOrder?: boolean;
|
|
50
50
|
showEmptyConditions?: boolean;
|
|
51
|
+
showClearFiltersButton?: boolean;
|
|
51
52
|
};
|
|
52
53
|
export interface DatoGridDataChangedEvent extends AgGridEvent {
|
|
53
54
|
type: 'ServerDataLoaded' | 'rowDataChanged' | 'rowDataUpdated';
|
|
@@ -48,6 +48,7 @@ export declare class DatoGridFilterComponent implements OnDestroy {
|
|
|
48
48
|
hotKeyTooltip: string;
|
|
49
49
|
activeAccordionId: number;
|
|
50
50
|
keepPredefinedListOriginalOrder: boolean;
|
|
51
|
+
showClearFiltersButton: boolean;
|
|
51
52
|
private gridQuery;
|
|
52
53
|
private gridService;
|
|
53
54
|
private colField;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an Apache License 2.0 license that can be
|
|
6
6
|
* found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE
|
|
7
7
|
*/
|
|
8
|
+
import { ElementRef } from '@angular/core';
|
|
8
9
|
import { INoRowsOverlayAngularComp } from 'ag-grid-angular';
|
|
9
10
|
import { INoRowsOverlayParams } from 'ag-grid-community';
|
|
10
11
|
import { GridQuery } from '../grid-store/grid.query';
|
|
@@ -23,12 +24,14 @@ declare type GridOverlayConfig = {
|
|
|
23
24
|
export declare class DatoGridV2NoDataOverlayComponent implements INoRowsOverlayAngularComp {
|
|
24
25
|
private gridQuery;
|
|
25
26
|
private gridService;
|
|
27
|
+
private element;
|
|
26
28
|
config: DatoGridOverlayInput;
|
|
27
29
|
mergedConfig: GridOverlayConfig;
|
|
28
30
|
filterActive$: Observable<boolean>;
|
|
29
31
|
hasError$: Observable<boolean>;
|
|
30
32
|
private defaultConfig;
|
|
31
|
-
|
|
33
|
+
get showImage(): boolean;
|
|
34
|
+
constructor(gridQuery: GridQuery, gridService: GridService, element: ElementRef);
|
|
32
35
|
ngOnInit(): void;
|
|
33
36
|
clearFilters(): void;
|
|
34
37
|
agInit(params: INoRowsOverlayParams): void;
|
package/lib/icon/icon.types.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export declare type IconInputs = {
|
|
|
5
5
|
width?: string;
|
|
6
6
|
height?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare type DatoIcons = 'account' | 'action-center' | 'action' | 'add-collection' | 'add-page' | 'add-widget' | 'advisor' | 'all-collections' | 'alternatives' | 'anyone' | 'app-page' | 'apps-tab' | 'apps' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'article' | 'authentication' | 'auto-format' | 'automate' | 'background' | 'branding' | 'builder' | 'calendar' | 'certificate' | 'certification' | 'charts' | 'chevron-down-double' | 'chevron-down' | 'chevron-left-double' | 'chevron-left' | 'chevron-right-double' | 'chevron-right' | 'chevron-up-double' | 'chevron-up' | 'classification' | 'close' | 'collaborate' | 'collapse' | 'comment-code' | 'comparrison' | 'connect' | 'connected' | 'copy-to' | 'copy' | 'cost-center' | 'current' | 'data-transformed' | 'data-classification' | 'data-fusion' | 'data-lakes' | 'data-model' | 'data-preview' | 'data-science' | 'data-stream' | 'deploy' | 'description' | 'design' | 'dev-portal' | 'diamond' | 'dimension-type-2' | 'dimension' | 'dirty' | 'dismiss' | 'dottie' | 'download' | 'drag-window' | 'drag' | 'edit-page' | 'edit-widget' | 'edit' | 'einstein-insights' | 'elements' | 'embed' | 'evaluate' | 'expand' | 'explore' | 'export-stats' | 'export' | 'extended-log' | 'external-data' | 'external-page' | 'external' | 'failed-full' | 'failed-line' | 'failed' | 'filter' | 'filters-page' | 'filters-widget' | 'find-and-replace' | 'focus' | 'folder-closed' | 'folder-open' | 'formula' | 'free-text' | 'full-entity' | 'fullscreen-enter' | 'fullscreen-exit' | 'generic-bucket' | 'goals' | 'grid-hide' | 'group' | 'hamburger' | 'harmonized-dimension' | 'heart-empty' | 'heart-full' | 'hide' | 'highlight' | 'history' | 'home' | 'hour-glass' | 'idle' | 'impersonate' | 'info-full' | 'info-line' | 'info' | 'instant' | 'interactive-filter' | 'interactive-filterset' | 'key' | 'knowledge-base' | 'label' | 'layout-filtered' | 'layout' | 'linked' | 'live' | 'localization-164' | 'logical-view' | 'magic-wand' | 'main-entity' | 'manage-collections' | 'map-right' | 'map-left' | 'mapping' | 'market' | 'maximize-horizontal' | 'maximize' | 'measurement-nav' | 'measurement' | 'minimize-horizontal' | 'minimize' | 'more-horizontal' | 'more-vertical' | 'move-to-folder' | 'my-profile' | 'naming-conventions-patterns' | 'new-tab' | 'no-autentication' | 'no-entry' | 'no-file' | 'no-one' | 'notes-rouded' | 'notes' | 'notifications' | 'page' | 'panel-close' | 'panel-open' | 'pending' | 'people' | 'pin' | 'pivot-table' | 'play' | 'plus-btn' | 'plus-simple' | 'present' | 'process-tech-abort' | 'process-tech' | 'process-error' | 'process' | 'publish' | 'push-entity' | 'query-api' | 're-run' | 'recent' | 'redo' | 'refresh' | 'reoffer' | 'reset-filters' | 'reset-table' | 'restore' | 'retrive-data' | 'rocket' | 'run-later' | 'sandbox-color' | 'sandbox-mid' | 'sandbox' | 'save-as' | 'save' | 'schedule-export' | 'screen-guide' | 'search' | 'send' | 'server' | 'share-to' | 'share' | 'sharing-add-outline' | 'sharing-outline' | 'sharing' | 'show-grid' | 'sign-out' | 'snippets' | 'sort-ascending' | 'sort-descending' | 'sort' | 'star-empty' | 'star-full-color' | 'star-full' | 'status' | 'success-full' | 'success-line' | 'success-simple' | 'switch' | 'table-regular' | 'table' | 'tableau' | 'template-full' | 'templates' | 'test' | 'thumbs-down' | 'thumbs-up' | 'time' | 'tip-full' | 'tip-line' | 'tip-simple' | 'tool' | 'transposed-table' | 'trash' | 'trend' | 'typeface' | 'uncomment-code' | 'undo' | 'ungroup' | 'university' | 'unlink' | 'unpublish' | 'upload' | 'user' | 'validate-code' | 'views-line' | 'views' | 'visualize' | 'warning-full' | 'warning-line' | 'warning-simple' | 'webinar' | 'widgets' | 'workflow' | 'workspace' | 'zoom-in';
|
|
8
|
+
export declare type DatoIcons = 'account' | 'action-center' | 'action' | 'add-collection' | 'add-page' | 'add-widget' | 'advisor' | 'all-collections' | 'alternatives' | 'anyone' | 'app-page' | 'apps-tab' | 'apps' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'article' | 'authentication' | 'auto-format' | 'automate' | 'background' | 'branding' | 'builder' | 'calendar' | 'certificate' | 'certification' | 'charts' | 'chevron-down-double' | 'chevron-down' | 'chevron-left-double' | 'chevron-left' | 'chevron-right-double' | 'chevron-right' | 'chevron-up-double' | 'chevron-up' | 'classification' | 'close' | 'collaborate' | 'collapse' | 'comment-code' | 'comparrison' | 'connect' | 'connected' | 'copy-to' | 'copy' | 'cost-center' | 'current' | 'data-transformed' | 'data-classification' | 'data-fusion' | 'data-lakes' | 'data-model' | 'data-preview' | 'data-science' | 'data-stream' | 'deploy' | 'description' | 'design' | 'dev-portal' | 'diamond' | 'dimension-type-2' | 'dimension' | 'dirty' | 'dismiss' | 'dottie' | 'download' | 'drag-window' | 'drag' | 'edit-page' | 'edit-widget' | 'edit' | 'einstein-insights' | 'elements' | 'embed' | 'evaluate' | 'expand' | 'explore' | 'export-stats' | 'export' | 'extended-log' | 'external-data' | 'external-page' | 'external' | 'failed-full' | 'failed-line' | 'failed' | 'filter' | 'filters-page' | 'filters-widget' | 'find-and-replace' | 'focus' | 'folder-closed' | 'folder-open' | 'formula' | 'free-text' | 'full-entity' | 'fullscreen-enter' | 'fullscreen-exit' | 'generic-bucket' | 'goals' | 'grid-hide' | 'group' | 'hamburger' | 'harmonized-dimension' | 'heart-empty' | 'heart-full' | 'hide' | 'highlight' | 'history' | 'home' | 'hour-glass' | 'idle' | 'impersonate' | 'info-full' | 'info-line' | 'info' | 'instant' | 'interactive-filter' | 'interactive-filterset' | 'key' | 'knowledge-base' | 'label' | 'layout-filtered' | 'layout' | 'linked' | 'live' | 'localization-164' | 'logical-view' | 'magic-wand' | 'main-entity' | 'manage-collections' | 'map-right' | 'map-left' | 'mapping' | 'market' | 'maximize-horizontal' | 'maximize' | 'measurement-nav' | 'measurement' | 'minimize-horizontal' | 'minimize' | 'more-horizontal' | 'more-vertical' | 'move-to-folder' | 'my-profile' | 'naming-conventions-patterns' | 'new-tab' | 'no-autentication' | 'no-entry' | 'no-file' | 'no-one' | 'notes-rouded' | 'notes' | 'notifications' | 'page' | 'panel-close' | 'panel-open' | 'pending' | 'people' | 'pin' | 'pivot-table' | 'play' | 'plus-btn' | 'plus-simple' | 'present' | 'process-tech-abort' | 'process-tech' | 'process-error' | 'process' | 'publish' | 'push-entity' | 'query-api' | 're-run' | 'recent' | 'redo' | 'refresh' | 'reoffer' | 'reset-filters' | 'reset-table' | 'restore' | 'retrive-data' | 'rocket' | 'run-later' | 'sandbox-color' | 'sandbox-mid' | 'sandbox' | 'save-as' | 'save' | 'schedule-export' | 'screen-guide' | 'search' | 'send' | 'server' | 'share-dashboard' | 'share-to' | 'share' | 'sharing-add-outline' | 'sharing-outline' | 'sharing' | 'show-grid' | 'sign-out' | 'snippets' | 'sort-ascending' | 'sort-descending' | 'sort' | 'star-empty' | 'star-full-color' | 'star-full' | 'status' | 'success-full' | 'success-line' | 'success-simple' | 'switch' | 'table-regular' | 'table' | 'tableau' | 'template-full' | 'templates' | 'test' | 'thumbs-down' | 'thumbs-up' | 'time' | 'tip-full' | 'tip-line' | 'tip-simple' | 'tool' | 'transposed-table' | 'trash' | 'trend' | 'typeface' | 'uncomment-code' | 'undo' | 'ungroup' | 'university' | 'unlink' | 'unpublish' | 'upload' | 'user' | 'validate-code' | 'views-line' | 'views' | 'visualize' | 'warning-full' | 'warning-line' | 'warning-simple' | 'webinar' | 'widgets' | 'workflow' | 'workspace' | 'zoom-in';
|