ngx-rs-ant 1.4.5 → 1.4.7

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.
Files changed (54) hide show
  1. package/data-grid/file-cell-template/file-cell-template.component.d.ts +1 -0
  2. package/esm2020/box-container/box-container.component.mjs +3 -3
  3. package/esm2020/box-container/box-item/box-item-host.directive.mjs +1 -1
  4. package/esm2020/box-container/box-item/box-item.component.mjs +3 -3
  5. package/esm2020/box-container/box-item/item-blank/item-blank.component.mjs +3 -3
  6. package/esm2020/box-container/box-item/item-config/config-blank/config-blank.component.mjs +3 -3
  7. package/esm2020/box-container/box-item/item-config/item-config.component.mjs +3 -3
  8. package/esm2020/box-container/box-item/item-style/item-style.component.mjs +3 -3
  9. package/esm2020/box-container/box-item/item-style/style/style.component.mjs +3 -3
  10. package/esm2020/box-container/box-item/item-style/style-blank/style-blank.component.mjs +3 -3
  11. package/esm2020/box-container/plugin-active/divider/divider-line/divider-line.component.mjs +1 -1
  12. package/esm2020/box-container/plugin-active/divider/divider.component.mjs +3 -3
  13. package/esm2020/box-container/plugin-hover/plugin-hover.component.mjs +3 -3
  14. package/esm2020/box-container/plugin-not-found/plugin-not-found.component.mjs +3 -3
  15. package/esm2020/camunda-bpmn-editor/camunda-bpmn-editor.component.mjs +3 -3
  16. package/esm2020/camunda-bpmn-editor/camunda-bpmn-editor.module.mjs +1 -1
  17. package/esm2020/code-editor/code-editor.component.mjs +3 -3
  18. package/esm2020/code-editor/code-editor.module.mjs +1 -1
  19. package/esm2020/data-detail/data-detail.component.mjs +3 -3
  20. package/esm2020/data-detail/data-detail.module.mjs +1 -1
  21. package/esm2020/data-detail/data-detail.service.mjs +1 -1
  22. package/esm2020/data-grid/data-grid.module.mjs +1 -1
  23. package/esm2020/data-grid/file-cell-template/file-cell-template.component.mjs +10 -4
  24. package/esm2020/data-grid/instance-link-template.directive.mjs +1 -1
  25. package/esm2020/data-grid/master-detail-template.directive.mjs +1 -1
  26. package/esm2020/data-grid/row-buttons-template.directive.mjs +1 -1
  27. package/esm2020/data-grid/unit-info-template/unit-info-template.component.mjs +3 -3
  28. package/esm2020/data-grid/user-info-template/user-info-template.component.mjs +3 -3
  29. package/esm2020/drawer/drawer.component.mjs +3 -3
  30. package/esm2020/drawer/drawer.module.mjs +1 -1
  31. package/esm2020/drawer/drawer.service.mjs +1 -1
  32. package/esm2020/dynamic-params/dynamic-params.component.mjs +3 -3
  33. package/esm2020/dynamic-params/dynamic-params.module.mjs +1 -1
  34. package/esm2020/dynamic-params/tooltip-content-template.directive.mjs +1 -1
  35. package/esm2020/form/form.module.mjs +1 -1
  36. package/esm2020/form/form.service.mjs +1 -1
  37. package/esm2020/fullscreen/fullscreen.directive.mjs +86 -0
  38. package/esm2020/icon-selector/icon-selector.component.mjs +3 -3
  39. package/esm2020/icon-selector/icon-selector.module.mjs +1 -1
  40. package/esm2020/modal/modal.module.mjs +1 -1
  41. package/esm2020/modal/modal.service.mjs +1 -1
  42. package/esm2020/pdf-viewer/pdf-viewer.component.mjs +3 -3
  43. package/esm2020/public-api.mjs +2 -1
  44. package/esm2020/util/utils.mjs +10 -6
  45. package/esm2020/websocket/websocket.module.mjs +1 -1
  46. package/esm2020/websocket/websocket.service.mjs +1 -1
  47. package/fesm2015/ngx-rs-ant.mjs +146 -48
  48. package/fesm2015/ngx-rs-ant.mjs.map +1 -1
  49. package/fesm2020/ngx-rs-ant.mjs +142 -48
  50. package/fesm2020/ngx-rs-ant.mjs.map +1 -1
  51. package/fullscreen/fullscreen.directive.d.ts +21 -0
  52. package/package.json +1 -1
  53. package/public-api.d.ts +1 -0
  54. package/util/utils.d.ts +2 -1
@@ -0,0 +1,21 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FullscreenDirective {
4
+ private elementRef;
5
+ mode: 'immersive' | 'normal';
6
+ set isFullscreen(isFullscreen: boolean);
7
+ get isFullscreen(): boolean;
8
+ _isFullscreen: boolean;
9
+ isFullscreenChange: EventEmitter<boolean>;
10
+ constructor(elementRef: ElementRef);
11
+ ngOnInit(): void;
12
+ ngOnDestroy(): void;
13
+ private onFullScreenChange;
14
+ toggle(): void;
15
+ private launchNormalFullscreen;
16
+ private exitNormalFullscreen;
17
+ private launchImmersiveFullScreen;
18
+ private exitImmersiveFullScreen;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FullscreenDirective, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FullscreenDirective, "[rsFullscreen]", never, { "mode": "mode"; "isFullscreen": "isFullscreen"; }, { "isFullscreenChange": "isFullscreenChange"; }, never, never, true, never>;
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-rs-ant",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "license": "MIT",
5
5
  "description": "RsAnt components based on Angular and DevExtreme",
6
6
  "exports": {
package/public-api.d.ts CHANGED
@@ -25,6 +25,7 @@ export * from './dynamic-params/dynamic-params.module';
25
25
  export * from './form/form.component';
26
26
  export * from './form/form.module';
27
27
  export * from './form/form.service';
28
+ export * from './fullscreen/fullscreen.directive';
28
29
  export * from './icon-selector/icon-selector.component';
29
30
  export * from './icon-selector/icon-selector.module';
30
31
  export * from './modal/modal.component';
package/util/utils.d.ts CHANGED
@@ -4,7 +4,8 @@ export declare function notify_warning(message: string): void;
4
4
  export declare function notify_success(message: string): void;
5
5
  export declare function format_date(date: Date, locale: string): string;
6
6
  export declare function format_datetime(date: Date, locale: string): string;
7
- export declare function file_type_icon(name: string): "image" | "text" | "unknown" | "word" | "pdf" | "excel" | "ppt" | "zip";
7
+ export declare function file_type_icon(name: string): string;
8
+ export declare function support_preview_ext(): string[];
8
9
  export declare function format_file_size(size: number): string;
9
10
  export declare function download_file(blob: Blob, filename: string, callback?: Function): void;
10
11
  export declare function validate(validator: DxValidatorComponent): Promise<boolean>;