barsa-sap-ui 0.0.6 → 1.0.248

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 (197) hide show
  1. package/esm2020/lib/apply-conditional-formmatings.directive.mjs +1 -1
  2. package/esm2020/lib/barsa-asp-viewer/barsa-asp-viewer.component.mjs +2 -2
  3. package/esm2020/lib/barsa-date-time-picker/barsa-date-time-picker.component.mjs +1 -1
  4. package/esm2020/lib/barsa-list-file-linear/barsa-list-file-linear.component.mjs +4 -4
  5. package/esm2020/lib/barsa-monaco-editor/barsa-monaco-editor.component.mjs +14 -14
  6. package/esm2020/lib/barsa-network-offline/barsa-network-offline.component.mjs +20 -12
  7. package/esm2020/lib/barsa-sap-ui-routing.module.mjs +1 -1
  8. package/esm2020/lib/barsa-sap-ui.module.mjs +25 -16
  9. package/esm2020/lib/barsa-search-form/barsa-search-form.component.mjs +3 -3
  10. package/esm2020/lib/barsa-table-header/barsa-table-header.component.mjs +4 -4
  11. package/esm2020/lib/barsa-table-row/barsa-table-row.component.mjs +3 -3
  12. package/esm2020/lib/barsa-tinyemce/barsa-tinyemce.component.mjs +6 -6
  13. package/esm2020/lib/barsa-tree-item/barsa-tree-item.component.mjs +23 -12
  14. package/esm2020/lib/barsa-ulv-main/barsa-ulv-main.component.mjs +8 -7
  15. package/esm2020/lib/blob-viewer/blob-viewer.component.mjs +60 -0
  16. package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +3 -3
  17. package/esm2020/lib/captcha-field/captcha-field.component.mjs +1 -1
  18. package/esm2020/lib/card-item/card-item.component.mjs +4 -4
  19. package/esm2020/lib/card-view-content/card-view-content.component.mjs +3 -3
  20. package/esm2020/lib/column-matrix-renderer/column-matrix-renderer.component.mjs +3 -3
  21. package/esm2020/lib/column-matrix-renderer/matrix-value.pipe.mjs +1 -1
  22. package/esm2020/lib/column-renderer/column-renderer.component.mjs +6 -5
  23. package/esm2020/lib/constants.mjs +1 -1
  24. package/esm2020/lib/custom-date-time/custom-date-time.component.mjs +1 -1
  25. package/esm2020/lib/device-info-field-base.mjs +1 -1
  26. package/esm2020/lib/download-files.directive.mjs +33 -0
  27. package/esm2020/lib/empty-page/empty-page.component.mjs +3 -3
  28. package/esm2020/lib/file-in-dialog/file-in-dialog.component.mjs +1 -1
  29. package/esm2020/lib/file-viewer/file-viewer.component.mjs +47 -0
  30. package/esm2020/lib/file-viewer-content/file-viewer-content.component.mjs +49 -0
  31. package/esm2020/lib/file-viewer-popover/file-viewer-popover.component.mjs +34 -0
  32. package/esm2020/lib/form-dialog/form-dialog.component.mjs +3 -3
  33. package/esm2020/lib/form-dialog-less/form-dialog-less.component.mjs +1 -1
  34. package/esm2020/lib/form-page/form-page.component.mjs +17 -17
  35. package/esm2020/lib/form-page-base.mjs +1 -1
  36. package/esm2020/lib/form-toolbar-button/form-toolbar-button.component.mjs +3 -3
  37. package/esm2020/lib/form-wizard/form-wizard.component.mjs +3 -3
  38. package/esm2020/lib/fullscreen-dialog.directive.mjs +1 -1
  39. package/esm2020/lib/fullscreen-files.directive.mjs +39 -0
  40. package/esm2020/lib/fundamental-dynamic-form/fundamental-dynamic-form.component.mjs +3 -3
  41. package/esm2020/lib/gantt-dhtml-chart-view/gantt-dhtml-chart-view.component.mjs +1 -1
  42. package/esm2020/lib/global-search/global-search.component.mjs +1 -1
  43. package/esm2020/lib/global-search-module/global-search-module.component.mjs +1 -1
  44. package/esm2020/lib/global-search-panel/global-search-panel.component.mjs +1 -1
  45. package/esm2020/lib/header-avatar/header-avatar.component.mjs +1 -1
  46. package/esm2020/lib/header-facet-form/header-facet-form.component.mjs +1 -1
  47. package/esm2020/lib/header-facet-key-value/header-facet-key-value.component.mjs +1 -1
  48. package/esm2020/lib/header-facet-microchart/header-facet-microchart.component.mjs +3 -3
  49. package/esm2020/lib/header-facet-plain-text/header-facet-plain-text.component.mjs +3 -3
  50. package/esm2020/lib/header-facet-rate/header-facet-rate.component.mjs +1 -1
  51. package/esm2020/lib/hyperlink/hyperlink.component.mjs +1 -1
  52. package/esm2020/lib/index.mjs +18 -3
  53. package/esm2020/lib/inline-save-and-cancel/inline-save-and-cancel.component.mjs +1 -1
  54. package/esm2020/lib/layout-actions/layout-actions.component.mjs +1 -1
  55. package/esm2020/lib/layout-control/layout-control.component.mjs +4 -4
  56. package/esm2020/lib/layout-wizard/layout-wizard.component.mjs +25 -3
  57. package/esm2020/lib/list-item/list-item.component.mjs +3 -3
  58. package/esm2020/lib/ly-empty-space/ly-empty-space.component.mjs +5 -7
  59. package/esm2020/lib/ly-horizontal-layout/ly-horizontal-layout.component.mjs +8 -7
  60. package/esm2020/lib/ly-layout-container/ly-layout-container.component.mjs +3 -3
  61. package/esm2020/lib/ly-layout-container-of-root/ly-layout-container-of-root.component.mjs +3 -3
  62. package/esm2020/lib/ly-layout-field-label/ly-layout-field-label.component.mjs +1 -1
  63. package/esm2020/lib/ly-layout-panel/ly-layout-panel.component.mjs +9 -3
  64. package/esm2020/lib/ly-line/ly-line.component.mjs +1 -1
  65. package/esm2020/lib/ly-simple-label/ly-simple-label.component.mjs +6 -10
  66. package/esm2020/lib/ly-tab-container/ly-tab-container.component.mjs +7 -3
  67. package/esm2020/lib/ly-tab-page/ly-tab-page.component.mjs +3 -3
  68. package/esm2020/lib/ly-vertical-layout/ly-vertical-layout.component.mjs +8 -7
  69. package/esm2020/lib/mask/mask.component.mjs +3 -3
  70. package/esm2020/lib/message-strip/message-strip.component.mjs +1 -1
  71. package/esm2020/lib/models/grid-data-provider.mjs +2 -2
  72. package/esm2020/lib/models/grid-view.mjs +1 -1
  73. package/esm2020/lib/no-data/no-data.component.mjs +3 -3
  74. package/esm2020/lib/page-with-form-handler-base.mjs +1 -1
  75. package/esm2020/lib/page-with-header/page-with-header.component.mjs +1 -1
  76. package/esm2020/lib/progress-indicator/progress-indicator.component.mjs +1 -1
  77. package/esm2020/lib/report-navigator/report-navigator.component.mjs +3 -3
  78. package/esm2020/lib/report-new-top-form/report-new-top-form.component.mjs +3 -3
  79. package/esm2020/lib/report-search-fields-hidden-settings/report-search-fields-hidden-settings.component.mjs +3 -3
  80. package/esm2020/lib/report-search-fields-manage/report-search-fields-manage.component.mjs +3 -3
  81. package/esm2020/lib/report-tree-base.mjs +4 -1
  82. package/esm2020/lib/report-view-renderer.directive.mjs +32 -2
  83. package/esm2020/lib/responsive-toolbar/responsive-toolbar.component.mjs +1 -1
  84. package/esm2020/lib/responsive-toolbar-renderer/responsive-toolbar-renderer.component.mjs +1 -1
  85. package/esm2020/lib/rich-text-static/rich-text-static.component.mjs +1 -1
  86. package/esm2020/lib/sap-ui-report-base.component.mjs +87 -64
  87. package/esm2020/lib/search-panel/search-panel.component.mjs +1 -1
  88. package/esm2020/lib/static-text/static-text.component.mjs +3 -3
  89. package/esm2020/lib/ui-asp-report-viewer/ui-asp-report-viewer.component.mjs +3 -3
  90. package/esm2020/lib/ui-button/ui-button.component.mjs +3 -3
  91. package/esm2020/lib/ui-calendar/ui-calendar.component.mjs +3 -3
  92. package/esm2020/lib/ui-card-view/ui-card-view.component.mjs +3 -3
  93. package/esm2020/lib/ui-check-box/ui-check-box.component.mjs +3 -3
  94. package/esm2020/lib/ui-color-ui/ui-color-ui.component.mjs +1 -1
  95. package/esm2020/lib/ui-container-with-button/ui-container-with-button.component.mjs +3 -3
  96. package/esm2020/lib/ui-date-range-ex/ui-date-range-ex.component.mjs +3 -3
  97. package/esm2020/lib/ui-date-time/ui-date-time.component.mjs +3 -3
  98. package/esm2020/lib/ui-editable-grid/ui-editable-grid.component.mjs +3 -3
  99. package/esm2020/lib/ui-exception-form/ui-exception-form.component.mjs +1 -1
  100. package/esm2020/lib/ui-file-linear-list-box/ui-file-linear-list-box.component.mjs +29 -90
  101. package/esm2020/lib/ui-form-panel/ui-form-panel.component.mjs +3 -3
  102. package/esm2020/lib/ui-gantt-chart/ui-gantt-chart.component.mjs +3 -3
  103. package/esm2020/lib/ui-graph/ui-graph.component.mjs +1 -1
  104. package/esm2020/lib/ui-grid/ui-grid.component.mjs +3 -3
  105. package/esm2020/lib/ui-grid-columns/ui-grid-columns.component.mjs +3 -3
  106. package/esm2020/lib/ui-grid-filter-item/ui-grid-filter-item.component.mjs +1 -1
  107. package/esm2020/lib/ui-grid-filter-settings/ui-grid-filter-settings.component.mjs +1 -1
  108. package/esm2020/lib/ui-grid-sort-item/ui-grid-sort-item.component.mjs +1 -1
  109. package/esm2020/lib/ui-grid-sort-setting/ui-grid-sort-setting.component.mjs +1 -1
  110. package/esm2020/lib/ui-info-bar-panel/ui-info-bar-panel.component.mjs +1 -1
  111. package/esm2020/lib/ui-label/ui-label.component.mjs +3 -3
  112. package/esm2020/lib/ui-linear-list-container-with-button/ui-linear-list-container-with-button.component.mjs +2 -2
  113. package/esm2020/lib/ui-list-view/ui-list-view.component.mjs +4 -3
  114. package/esm2020/lib/ui-matrix-view/ui-matrix-view.component.mjs +3 -3
  115. package/esm2020/lib/ui-mo-info-combo-viewer/ui-mo-info-combo-viewer.component.mjs +3 -3
  116. package/esm2020/lib/ui-mo-info-general-object-ui/ui-mo-info-general-object-ui.component.mjs +1 -1
  117. package/esm2020/lib/ui-mo-info-sub-form-ui/ui-mo-info-sub-form-ui.component.mjs +3 -3
  118. package/esm2020/lib/ui-mo-info-ulv-combo/ui-mo-info-ulv-combo.component.mjs +19 -14
  119. package/esm2020/lib/ui-monaco-editor/ui-monaco-editor.component.mjs +3 -3
  120. package/esm2020/lib/ui-multi-select-combo/ui-multi-select-combo.component.mjs +26 -9
  121. package/esm2020/lib/ui-num-decimal-ui/ui-num-decimal-ui.component.mjs +1 -1
  122. package/esm2020/lib/ui-num-int-ui/ui-num-int-ui.component.mjs +3 -3
  123. package/esm2020/lib/ui-pdf-viewer/ui-pdf-viewer.component.mjs +19 -20
  124. package/esm2020/lib/ui-picture-file/ui-picture-file.component.mjs +26 -30
  125. package/esm2020/lib/ui-pictures-info/ui-pictures-info.component.mjs +39 -31
  126. package/esm2020/lib/ui-radio-group/ui-radio-group.component.mjs +3 -3
  127. package/esm2020/lib/ui-read-only-field/ui-read-only-field.component.mjs +3 -3
  128. package/esm2020/lib/ui-report-container/ui-report-container.component.mjs +3 -3
  129. package/esm2020/lib/ui-search-command-info-ui/ui-search-command-info-ui.component.mjs +1 -1
  130. package/esm2020/lib/ui-simple-combo/ui-simple-combo.component.mjs +3 -3
  131. package/esm2020/lib/ui-single-picture/ui-single-picture.component.mjs +1 -1
  132. package/esm2020/lib/ui-switch-button/ui-switch-button.component.mjs +3 -3
  133. package/esm2020/lib/ui-table-view/ui-table-view.component.mjs +8 -3
  134. package/esm2020/lib/ui-text-area/ui-text-area.component.mjs +3 -3
  135. package/esm2020/lib/ui-text-field/ui-text-field.component.mjs +1 -1
  136. package/esm2020/lib/ui-text-field-auto-complete/ui-text-field-auto-complete.component.mjs +3 -3
  137. package/esm2020/lib/ui-time-span/ui-time-span.component.mjs +1 -1
  138. package/esm2020/lib/ui-tinymce/ui-tinymce.component.mjs +1 -1
  139. package/esm2020/lib/ui-tree/ui-tree.component.mjs +26 -3
  140. package/esm2020/lib/ui-tree-view/ui-tree-view.component.mjs +9 -3
  141. package/esm2020/lib/ui-ulv-form-multi-select-ui/ui-ulv-form-multi-select-ui.component.mjs +2 -2
  142. package/esm2020/lib/ui-ulv-main-ui/ui-ulv-main-ui.component.mjs +6 -3
  143. package/esm2020/lib/ui-workflow-panel-ui/ui-workflow-panel-ui.component.mjs +1 -1
  144. package/esm2020/lib/ul-loading-mask-ui/ul-loading-mask-ui.component.mjs +7 -2
  145. package/esm2020/lib/ul-msg-box-adapter/ul-msg-box-adapter.component.mjs +3 -3
  146. package/esm2020/lib/ul-notify-popup/ul-notify-popup.component.mjs +1 -1
  147. package/esm2020/lib/ul-toast-adapter/ul-toast-adapter.component.mjs +1 -1
  148. package/esm2020/lib/ulv-column-settings/ulv-column-settings.component.mjs +3 -3
  149. package/esm2020/lib/ulv-context-menu/ulv-context-menu.component.mjs +3 -3
  150. package/esm2020/lib/ulv-filter-settings/ulv-filter-settings.component.mjs +3 -3
  151. package/esm2020/lib/ulv-form-multi-select/ulv-form-multi-select.component.mjs +5 -5
  152. package/esm2020/lib/ulv-groupby-settings/ulv-groupby-settings.component.mjs +3 -3
  153. package/esm2020/lib/ulv-paging/ulv-paging.component.mjs +1 -1
  154. package/esm2020/lib/ulv-selection/ulv-selection.component.mjs +2 -2
  155. package/esm2020/lib/ulv-settings/ulv-settings.component.mjs +1 -1
  156. package/esm2020/lib/ulv-sort-settings/ulv-sort-settings.component.mjs +3 -3
  157. package/esm2020/lib/ulv-toolbar/ulv-toolbar.component.mjs +11 -5
  158. package/esm2020/lib/wizard-layout.directive.mjs +1 -1
  159. package/esm2020/public-api.mjs +7 -1
  160. package/fesm2015/barsa-sap-ui.mjs +888 -542
  161. package/fesm2015/barsa-sap-ui.mjs.map +1 -1
  162. package/fesm2020/barsa-sap-ui.mjs +879 -541
  163. package/fesm2020/barsa-sap-ui.mjs.map +1 -1
  164. package/lib/barsa-network-offline/barsa-network-offline.component.d.ts +3 -2
  165. package/lib/barsa-sap-ui.module.d.ts +31 -25
  166. package/lib/barsa-tree-item/barsa-tree-item.component.d.ts +7 -1
  167. package/lib/barsa-ulv-main/barsa-ulv-main.component.d.ts +3 -1
  168. package/lib/blob-viewer/blob-viewer.component.d.ts +20 -0
  169. package/lib/download-files.directive.d.ts +9 -0
  170. package/lib/file-viewer/file-viewer.component.d.ts +21 -0
  171. package/lib/file-viewer-content/file-viewer-content.component.d.ts +18 -0
  172. package/lib/file-viewer-popover/file-viewer-popover.component.d.ts +13 -0
  173. package/lib/fullscreen-files.directive.d.ts +15 -0
  174. package/lib/index.d.ts +8 -4
  175. package/lib/layout-control/layout-control.component.d.ts +5 -5
  176. package/lib/layout-wizard/layout-wizard.component.d.ts +1 -0
  177. package/lib/ly-empty-space/ly-empty-space.component.d.ts +1 -3
  178. package/lib/ly-horizontal-layout/ly-horizontal-layout.component.d.ts +4 -3
  179. package/lib/ly-simple-label/ly-simple-label.component.d.ts +1 -3
  180. package/lib/ly-tab-container/ly-tab-container.component.d.ts +3 -1
  181. package/lib/ly-vertical-layout/ly-vertical-layout.component.d.ts +4 -3
  182. package/lib/report-tree-base.d.ts +2 -1
  183. package/lib/report-view-renderer.directive.d.ts +10 -1
  184. package/lib/sap-ui-report-base.component.d.ts +13 -4
  185. package/lib/ui-file-linear-list-box/ui-file-linear-list-box.component.d.ts +15 -18
  186. package/lib/ui-multi-select-combo/ui-multi-select-combo.component.d.ts +9 -3
  187. package/lib/ui-pdf-viewer/ui-pdf-viewer.component.d.ts +5 -6
  188. package/lib/ui-picture-file/ui-picture-file.component.d.ts +4 -6
  189. package/lib/ui-pictures-info/ui-pictures-info.component.d.ts +8 -7
  190. package/lib/ui-table-view/ui-table-view.component.d.ts +1 -0
  191. package/lib/ui-tree/ui-tree.component.d.ts +5 -0
  192. package/lib/ui-tree-view/ui-tree-view.component.d.ts +7 -1
  193. package/lib/ui-ulv-main-ui/ui-ulv-main-ui.component.d.ts +2 -1
  194. package/lib/ul-loading-mask-ui/ul-loading-mask-ui.component.d.ts +2 -1
  195. package/lib/ulv-toolbar/ulv-toolbar.component.d.ts +4 -1
  196. package/package.json +3 -3
  197. package/public-api.d.ts +6 -0
@@ -1,30 +1,23 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { Observable, Subject } from 'rxjs';
3
3
  import { ContentDensity, FileUploaderComponent } from '@fundamental-ngx/core';
4
- import { FilesValidationHelper, FileAttachmentInfo } from 'barsa-novin-ray-core';
4
+ import { FilesValidationHelper, FileAttachmentInfo, LinearListHelper } from 'barsa-novin-ray-core';
5
5
  import { DeviceInfoFieldBaseComponent } from '../device-info-field-base';
6
6
  import * as i0 from "@angular/core";
7
- interface UploadFileProps {
8
- FileUrl?: string;
9
- cancelation$?: Subject<void>;
10
- binary?: any;
11
- UploadState?: string;
12
- Progress?: number;
13
- IsIcon?: boolean;
14
- }
15
7
  export declare class UiFileLinearListBoxComponent extends DeviceInfoFieldBaseComponent implements OnInit, OnDestroy {
16
8
  fileUploadComponent: FileUploaderComponent;
17
9
  value: FileAttachmentInfo[];
18
10
  fileCount$: Observable<number>;
19
- valueExtra: {
11
+ valueExtra$: Observable<{
20
12
  [key: string]: UploadFileProps;
21
- };
13
+ }>;
22
14
  contentDensity$: Observable<ContentDensity>;
23
15
  fileDownloading: boolean;
24
16
  validExtension: string;
25
- filesValidationHelper: FilesValidationHelper;
26
17
  maxFileCount: number;
27
18
  loading: boolean;
19
+ protected _linearHelper: LinearListHelper;
20
+ protected _filesValidationHelper: FilesValidationHelper;
28
21
  private _fileCountSource;
29
22
  ngOnInit(): void;
30
23
  ngOnDestroy(): void;
@@ -33,19 +26,23 @@ export declare class UiFileLinearListBoxComponent extends DeviceInfoFieldBaseCom
33
26
  onTerminate(fileAttachment: FileAttachmentInfo): void;
34
27
  onFileSelection(files: File[]): void;
35
28
  trackById(file: any, index: any): string | number;
29
+ protected retry(fileAttachment: FileAttachmentInfo): void;
36
30
  protected _setValue(value: any): void;
37
31
  protected _showUploadWindow(): void;
38
- protected _getFileValueExtra(fileId: any): UploadFileProps;
39
- protected _setIconAndImage(fileAttachment: FileAttachmentInfo): void;
40
32
  protected _fileDelete(id: any): void;
41
33
  protected _deleteFileAttachment(fileAttachment: FileAttachmentInfo): void;
42
- protected _uploadToServer(selectedFiles: File[]): void;
43
34
  protected _setLoading(loading: boolean): void;
44
- protected _createFileAttachment(file: File): any;
45
- protected uploadFile(fileAttachment: FileAttachmentInfo): Observable<any>;
46
- protected _updateValue(fileAttachment: FileAttachmentInfo, res: any[]): void;
35
+ protected _newFileUploaded(newFileAttachment: FileAttachmentInfo): void;
47
36
  protected _setFileCount(value: any): void;
48
37
  static ɵfac: i0.ɵɵFactoryDeclaration<UiFileLinearListBoxComponent, never>;
49
38
  static ɵcmp: i0.ɵɵComponentDeclaration<UiFileLinearListBoxComponent, "bsu-ui-file-linear-list-box", never, { "value": "value"; }, {}, never, never, false>;
50
39
  }
40
+ interface UploadFileProps {
41
+ FileUrl?: string;
42
+ cancelation$?: Subject<void>;
43
+ binary?: any;
44
+ UploadState?: string;
45
+ Progress?: number;
46
+ IsIcon?: boolean;
47
+ }
51
48
  export {};
@@ -1,20 +1,26 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { MultiInputComponent } from '@fundamental-ngx/core';
3
3
  import { FieldBaseComponent } from 'barsa-novin-ray-core';
4
4
  import * as i0 from "@angular/core";
5
- export declare class UiMultiSelectComboComponent extends FieldBaseComponent implements OnInit {
5
+ export declare class UiMultiSelectComboComponent extends FieldBaseComponent implements OnInit, OnDestroy {
6
6
  selectedItems: {
7
7
  id: string;
8
8
  txt: string;
9
9
  }[];
10
10
  maxWidth: any;
11
+ dataList: any;
11
12
  ngOnInit(): void;
12
13
  ngAfterViewInit(): void;
14
+ ngOnDestroy(): void;
13
15
  onOpenChange(isOpen: boolean, multiInput: MultiInputComponent): void;
14
16
  onValueChange(e: any): void;
15
- onSelectionChange(e: any): void;
16
17
  onSelectedChange(): void;
17
18
  displayFunc(obj: any): string;
19
+ valueFunc(obj: {
20
+ id: string;
21
+ txt: string;
22
+ }): any;
23
+ private _setDataList;
18
24
  private _raiseValueChanged;
19
25
  static ɵfac: i0.ɵɵFactoryDeclaration<UiMultiSelectComboComponent, never>;
20
26
  static ɵcmp: i0.ɵɵComponentDeclaration<UiMultiSelectComboComponent, "bsu-ui-multi-select-combo", never, {}, {}, never, never, false>;
@@ -2,14 +2,14 @@ import { OnInit } from '@angular/core';
2
2
  import { SafeResourceUrl } from '@angular/platform-browser';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ContentDensity } from '@fundamental-ngx/core';
5
- import { FilesValidationHelper } from 'barsa-novin-ray-core';
5
+ import { FilesValidationHelper, IUploadingState } from 'barsa-novin-ray-core';
6
6
  import { DeviceInfoFieldBaseComponent } from '../device-info-field-base';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent implements OnInit {
9
9
  fileName: string;
10
10
  fallbackLink: any;
11
11
  canNotRenderPdf: boolean;
12
- pdfSource: SafeResourceUrl;
12
+ valueUrl: SafeResourceUrl | null;
13
13
  hasPdf: boolean;
14
14
  pdfObject: {
15
15
  autoEl: {
@@ -21,9 +21,7 @@ export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent i
21
21
  html: any;
22
22
  };
23
23
  };
24
- uploadState$: Observable<string>;
25
- progress$: Observable<any>;
26
- uploading$: Observable<boolean>;
24
+ uploadingState$: Observable<IUploadingState>;
27
25
  files: File[];
28
26
  contentDensity$: Observable<ContentDensity>;
29
27
  officeOnline: any;
@@ -49,7 +47,8 @@ export declare class UiPdfViewerComponent extends DeviceInfoFieldBaseComponent i
49
47
  onOfficeOnline(event: MouseEvent): void;
50
48
  onRefresh(): void;
51
49
  DownloadFileId(fileId: any, viewInBrowser: any, convertTo: any, forOcx: any, isOfficeOnline: any): void;
52
- protected _uploadToServer(selectedFiles: File[]): void;
50
+ protected _downloadFileIdCompleted(response: any): void;
51
+ protected _uploadToServer(files: File[]): void;
53
52
  protected _refreshButtons(): void;
54
53
  protected _refreshButtonsHelper(isAgentActive: any): void;
55
54
  protected _commandClickHandler(itemId: any, keyboardEvent?: any): void;
@@ -1,17 +1,15 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { FileUploaderComponent } from '@fundamental-ngx/core';
3
- import { FieldBaseComponent } from 'barsa-novin-ray-core';
4
- import { Observable, Subject } from 'rxjs';
3
+ import { FieldBaseComponent, FilesValidationHelper, IUploadingState } from 'barsa-novin-ray-core';
4
+ import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class UiPictureFileComponent extends FieldBaseComponent implements OnInit, OnDestroy {
7
7
  imageUrl: any;
8
8
  sizeMode: any;
9
9
  files: File[];
10
- uploadState$: Observable<string>;
11
- progress$: Observable<any>;
12
- uploading$: Observable<boolean>;
13
- cancelation$: Subject<void>;
10
+ uploadingState$: Observable<IUploadingState>;
14
11
  validExtensions: any;
12
+ filesValidationHelper: FilesValidationHelper;
15
13
  ngOnInit(): void;
16
14
  ngOnDestroy(): void;
17
15
  onFileSelection(files: File[]): void;
@@ -1,8 +1,8 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
3
3
  import { Media } from '@fundamental-ngx/platform';
4
4
  import { ContentDensity } from '@fundamental-ngx/core';
5
- import { FilesValidationHelper } from 'barsa-novin-ray-core';
5
+ import { FilesValidationHelper, IUploadingState } from 'barsa-novin-ray-core';
6
6
  import { DeviceInfoFieldBaseComponent } from '../device-info-field-base';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class UiPicturesInfoComponent extends DeviceInfoFieldBaseComponent implements OnInit, OnDestroy {
@@ -15,9 +15,8 @@ export declare class UiPicturesInfoComponent extends DeviceInfoFieldBaseComponen
15
15
  Size: string;
16
16
  }[];
17
17
  gallery: ElementRef<HTMLElement>;
18
- uploadState$: Observable<string>;
19
- progress$: Observable<number>;
20
- uploading$: Observable<boolean>;
18
+ dialogTemplate: TemplateRef<any>;
19
+ uploadingState$: Observable<IUploadingState>;
21
20
  cancelation$: Subject<void>;
22
21
  contentDensity$: Observable<ContentDensity>;
23
22
  files: File[];
@@ -35,8 +34,10 @@ export declare class UiPicturesInfoComponent extends DeviceInfoFieldBaseComponen
35
34
  private _fileCountSource;
36
35
  ngOnInit(): void;
37
36
  ngOnDestroy(): void;
37
+ onFullscreen(media: any, mediaData: any): void;
38
+ onMedaiClick(media: any, index: any): void;
38
39
  onThumbnailClicked(imgIndex: number): void;
39
- onDelete(): void;
40
+ onDelete(index: any): void;
40
41
  onScan(): void;
41
42
  onAdvanceScan(): void;
42
43
  onZoomIn(): void;
@@ -44,7 +45,7 @@ export declare class UiPicturesInfoComponent extends DeviceInfoFieldBaseComponen
44
45
  onFillOriginal(): void;
45
46
  onFillWidth(): void;
46
47
  onFillAll(): void;
47
- onFileSelection(selectedFiles: File[]): void;
48
+ onFileSelection(files: File[]): void;
48
49
  protected _deleteMedia(selectedMedia: any): void;
49
50
  protected _scanHelper(isAdvanced: any): void;
50
51
  protected _onScanResult_Ready(contents: any): void;
@@ -9,6 +9,7 @@ export declare class UiTableViewComponent extends ReportViewBaseComponent<UiTabl
9
9
  rowResizer: any;
10
10
  enableResizing: any;
11
11
  height: number | null;
12
+ maxHeight: string | null;
12
13
  _width: string;
13
14
  detailsColumns: ReportViewColumn[];
14
15
  detailsComponent: EjrayOlgo;
@@ -14,6 +14,11 @@ export declare class UiTreeComponent extends ReportTreeBaseComponent implements
14
14
  onConfirmDialog(dialogSelectedNode: any): void;
15
15
  onDismissDialog(): void;
16
16
  onSelectNodeInMoveDialog($event: any): void;
17
+ onCheckChange(ev: {
18
+ node: TreeNodeObj;
19
+ index: number;
20
+ checked: boolean;
21
+ }): void;
17
22
  onNodeSelect(ev: {
18
23
  node: TreeNodeObj;
19
24
  index: number;
@@ -13,6 +13,11 @@ export declare class UiTreeViewComponent extends ReportViewBaseComponent<UiRepor
13
13
  relationList: RelationItemType[];
14
14
  showOkCancelButtons: any;
15
15
  collapseIcon: string;
16
+ checkChange: EventEmitter<{
17
+ node: TreeNodeObj;
18
+ index: number;
19
+ checked: boolean;
20
+ }>;
16
21
  nodeSelect: EventEmitter<{
17
22
  node: TreeNodeObj;
18
23
  index: number;
@@ -35,7 +40,8 @@ export declare class UiTreeViewComponent extends ReportViewBaseComponent<UiRepor
35
40
  onNodeSelect(node: TreeNodeObj, index: any): void;
36
41
  onNodeUlvCommand(node: TreeNodeObj, index: number): void;
37
42
  onNodeViewClick(node: TreeNodeObj, index: number): void;
43
+ onCheckChange($event: any): void;
38
44
  onLoadChildren(node: any): void;
39
45
  static ɵfac: i0.ɵɵFactoryDeclaration<UiTreeViewComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<UiTreeViewComponent, "bsu-tree-view", never, { "root": "root"; "selectedNode": "selectedNode"; "hasDragDrop": "hasDragDrop"; "isHetro": "isHetro"; "relationList": "relationList"; "showOkCancelButtons": "showOkCancelButtons"; "collapseIcon": "collapseIcon"; }, { "nodeSelect": "nodeSelect"; "createNew": "createNew"; "loadChildren": "loadChildren"; "nodeViewClick": "nodeViewClick"; "nodeUlvCommand": "nodeUlvCommand"; "itemDrop": "itemDrop"; "itemDragMoved": "itemDragMoved"; }, never, never, false>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTreeViewComponent, "bsu-tree-view", never, { "root": "root"; "selectedNode": "selectedNode"; "hasDragDrop": "hasDragDrop"; "isHetro": "isHetro"; "relationList": "relationList"; "showOkCancelButtons": "showOkCancelButtons"; "collapseIcon": "collapseIcon"; }, { "checkChange": "checkChange"; "nodeSelect": "nodeSelect"; "createNew": "createNew"; "loadChildren": "loadChildren"; "nodeViewClick": "nodeViewClick"; "nodeUlvCommand": "nodeUlvCommand"; "itemDrop": "itemDrop"; "itemDragMoved": "itemDragMoved"; }, never, never, false>;
41
47
  }
@@ -14,6 +14,7 @@ export declare class UiUlvMainUiComponent extends BaseComponent implements OnIni
14
14
  context: any;
15
15
  isReportPage: boolean;
16
16
  inDialog: boolean;
17
+ isMultiSelect: boolean;
17
18
  layoutInfo: any;
18
19
  readonly: any;
19
20
  disable: any;
@@ -63,5 +64,5 @@ export declare class UiUlvMainUiComponent extends BaseComponent implements OnIni
63
64
  private _saveFilter;
64
65
  private _openSearchFiltersManage;
65
66
  static ɵfac: i0.ɵɵFactoryDeclaration<UiUlvMainUiComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<UiUlvMainUiComponent, "bsu-ui-ulv-main-ui", never, { "context": "context"; "isReportPage": "isReportPage"; "inDialog": "inDialog"; "layoutInfo": "layoutInfo"; "fullscreen": "fullscreen"; }, {}, never, never, false>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiUlvMainUiComponent, "bsu-ui-ulv-main-ui", never, { "context": "context"; "isReportPage": "isReportPage"; "inDialog": "inDialog"; "isMultiSelect": "isMultiSelect"; "layoutInfo": "layoutInfo"; "fullscreen": "fullscreen"; }, {}, never, never, false>;
67
68
  }
@@ -1,10 +1,11 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { DialogService } from '@fundamental-ngx/core';
2
+ import { DialogRef, DialogService } from '@fundamental-ngx/core';
3
3
  import { BaseComponent } from 'barsa-novin-ray-core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class UlLoadingMaskUiComponent extends BaseComponent {
6
6
  private _dialogService;
7
7
  waitRef: TemplateRef<any>;
8
+ _dialogRefList: DialogRef<any>[];
8
9
  constructor(_dialogService: DialogService);
9
10
  mask(element: any, option: any): void;
10
11
  unmask(element: any): void;
@@ -20,6 +20,8 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
20
20
  gridSetting: any;
21
21
  viewCollection: any[];
22
22
  reportView: UiReportViewBase;
23
+ inDialog: boolean;
24
+ isMultiSelect: boolean;
23
25
  hasSelected: boolean;
24
26
  config: any;
25
27
  hidden: boolean;
@@ -30,6 +32,7 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
30
32
  columnClick: EventEmitter<string>;
31
33
  editModeClick: EventEmitter<any>;
32
34
  viewClick: EventEmitter<UiReportViewBase>;
35
+ createNewInlineMo: EventEmitter<void>;
33
36
  searchTerm: string;
34
37
  enable: boolean;
35
38
  constructor(el: ElementRef);
@@ -43,5 +46,5 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
43
46
  _trackBy(index: any, item: any): string;
44
47
  identify(index: any, item: any): string;
45
48
  static ɵfac: i0.ɵɵFactoryDeclaration<UlvToolbarComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<UlvToolbarComponent, "bsu-ulv-toolbar", never, { "useLayoutItemTextForControl": "useLayoutItemTextForControl"; "enableSearch": "enableSearch"; "hideTitle": "hideTitle"; "title": "title"; "deviceName": "deviceName"; "deviceSize": "deviceSize"; "access": "access"; "hideToolbar": "hideToolbar"; "toolbarButtons": "toolbarButtons"; "contentDensity": "contentDensity"; "inlineEditMode": "inlineEditMode"; "allowInlineEdit": "allowInlineEdit"; "gridSetting": "gridSetting"; "viewCollection": "viewCollection"; "reportView": "reportView"; "hasSelected": "hasSelected"; "config": "config"; "hidden": "hidden"; "buttons": "buttons"; }, { "search": "search"; "groupbyClick": "groupbyClick"; "sortClick": "sortClick"; "columnClick": "columnClick"; "editModeClick": "editModeClick"; "viewClick": "viewClick"; }, never, ["[fd-toolbar-item]"], false>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<UlvToolbarComponent, "bsu-ulv-toolbar", never, { "useLayoutItemTextForControl": "useLayoutItemTextForControl"; "enableSearch": "enableSearch"; "hideTitle": "hideTitle"; "title": "title"; "deviceName": "deviceName"; "deviceSize": "deviceSize"; "access": "access"; "hideToolbar": "hideToolbar"; "toolbarButtons": "toolbarButtons"; "contentDensity": "contentDensity"; "inlineEditMode": "inlineEditMode"; "allowInlineEdit": "allowInlineEdit"; "gridSetting": "gridSetting"; "viewCollection": "viewCollection"; "reportView": "reportView"; "inDialog": "inDialog"; "isMultiSelect": "isMultiSelect"; "hasSelected": "hasSelected"; "config": "config"; "hidden": "hidden"; "buttons": "buttons"; }, { "search": "search"; "groupbyClick": "groupbyClick"; "sortClick": "sortClick"; "columnClick": "columnClick"; "editModeClick": "editModeClick"; "viewClick": "viewClick"; "createNewInlineMo": "createNewInlineMo"; }, never, ["[fd-toolbar-item]"], false>;
47
50
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "barsa-sap-ui",
3
- "version": "0.0.6",
3
+ "version": "1.0.248",
4
4
  "peerDependencies": {
5
- "@angular/common": "^11.0.1",
6
- "@angular/core": "^11.0.1"
5
+ "@angular/core": "^14.2.7",
6
+ "@angular/common": "^14.2.7"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.0.0"
package/public-api.d.ts CHANGED
@@ -161,5 +161,11 @@ export * from './lib/form-toolbar-button/form-toolbar-button.component';
161
161
  export * from './lib/barsa-search-form/barsa-search-form.component';
162
162
  export * from './lib/report-new-top-form/report-new-top-form.component';
163
163
  export * from './lib/barsa-network-offline/barsa-network-offline.component';
164
+ export * from './lib/file-viewer-content/file-viewer-content.component';
165
+ export * from './lib/file-viewer-popover/file-viewer-popover.component';
166
+ export * from './lib/file-viewer/file-viewer.component';
167
+ export * from './lib/blob-viewer/blob-viewer.component';
168
+ export * from './lib/fullscreen-files.directive';
169
+ export * from './lib/download-files.directive';
164
170
  export * from './lib/constants';
165
171
  export * from './lib/barsa-sap-ui.module';