barsa-novin-ray-core 2.2.71 → 2.2.73
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/esm2022/lib/abstract-classes/models.mjs +1 -1
- package/esm2022/lib/abstract-classes/report-base.mjs +2 -1
- package/esm2022/lib/abstract-classes/report-view-base.component.mjs +12 -4
- package/esm2022/lib/abstract-classes/tile-props.mjs +4 -2
- package/esm2022/lib/barsa-novin-ray-core.module.mjs +15 -9
- package/esm2022/lib/constants.mjs +3 -3
- package/esm2022/lib/directives/index.mjs +2 -1
- package/esm2022/lib/directives/splide-slider.directive.mjs +113 -0
- package/esm2022/lib/form/form.component.mjs +8 -7
- package/esm2022/lib/pipes/card-media-size.pipe.mjs +21 -0
- package/esm2022/lib/pipes/index.mjs +2 -1
- package/esm2022/lib/root-portal/root-portal.component.mjs +25 -7
- package/esm2022/lib/services/portal.service.mjs +5 -1
- package/esm2022/lib/services/ulvmain.service.mjs +8 -1
- package/fesm2022/barsa-novin-ray-core.mjs +198 -24
- package/fesm2022/barsa-novin-ray-core.mjs.map +1 -1
- package/lib/abstract-classes/models.d.ts +8 -0
- package/lib/abstract-classes/report-base.d.ts +2 -1
- package/lib/abstract-classes/report-view-base.component.d.ts +2 -0
- package/lib/abstract-classes/tile-props.d.ts +2 -1
- package/lib/barsa-novin-ray-core.module.d.ts +43 -41
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/splide-slider.directive.d.ts +39 -0
- package/lib/form/form.component.d.ts +2 -2
- package/lib/pipes/card-media-size.pipe.d.ts +8 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/root-portal/root-portal.component.d.ts +2 -0
- package/lib/services/portal.service.d.ts +3 -0
- package/lib/services/ulvmain.service.d.ts +4 -1
- package/package.json +1 -1
|
@@ -626,6 +626,8 @@ export interface UiReportViewBaseSetting {
|
|
|
626
626
|
DisableResponsive?: boolean;
|
|
627
627
|
DisableOverflowContextMenu?: boolean;
|
|
628
628
|
HorizontalGroupBy: boolean;
|
|
629
|
+
BackgroundImage: FileAttachmentInfo;
|
|
630
|
+
BackgroundColor: string;
|
|
629
631
|
}
|
|
630
632
|
export interface LayoutSetting {
|
|
631
633
|
[key: string]: any;
|
|
@@ -637,6 +639,7 @@ export interface LayoutSetting {
|
|
|
637
639
|
SelectedTabPageName?: string;
|
|
638
640
|
}
|
|
639
641
|
export declare type AbbrevationDeviceSize = 's' | 'm' | 'l' | 'xl';
|
|
642
|
+
export declare type CardMediaSize = '32x32' | '64x64' | '128x128' | '256x256';
|
|
640
643
|
export interface TreeNodeObj {
|
|
641
644
|
isExpand: boolean;
|
|
642
645
|
visibility: boolean;
|
|
@@ -872,3 +875,8 @@ export interface ContainerReportSetting {
|
|
|
872
875
|
RowClick: string;
|
|
873
876
|
DataOnly: boolean;
|
|
874
877
|
}
|
|
878
|
+
export type CssBackground = {
|
|
879
|
+
color: string;
|
|
880
|
+
url: string;
|
|
881
|
+
repeat: boolean;
|
|
882
|
+
};
|
|
@@ -3,7 +3,7 @@ import { BehaviorSubject, Observable } from 'rxjs';
|
|
|
3
3
|
import { BaseComponent } from './base.component';
|
|
4
4
|
import { PortalService } from '../services/portal.service';
|
|
5
5
|
import { UlvMainService } from '../services/ulvmain.service';
|
|
6
|
-
import { MetaobjectDataModel, GridSetting, ReportViewColumn, SortSetting, MenuItem, PagingSetting, AbbrevationDeviceSize, columnsResizedEventArgs, FormSetting, ColumnSummaryType } from './models';
|
|
6
|
+
import { MetaobjectDataModel, GridSetting, ReportViewColumn, SortSetting, MenuItem, PagingSetting, AbbrevationDeviceSize, columnsResizedEventArgs, FormSetting, ColumnSummaryType, CssBackground } from './models';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface ReportSetting {
|
|
9
9
|
[key: string]: any;
|
|
@@ -36,6 +36,7 @@ export declare class ReportBaseComponent extends BaseComponent implements OnInit
|
|
|
36
36
|
}[] | null;
|
|
37
37
|
parameters: any;
|
|
38
38
|
fields: any;
|
|
39
|
+
cssBackground$: Observable<CssBackground | null>;
|
|
39
40
|
visibleColumns$: Observable<ReportViewColumn[]>;
|
|
40
41
|
searchTerm$: Observable<string>;
|
|
41
42
|
moDataList$: Observable<MetaobjectDataModel[]>;
|
|
@@ -17,6 +17,7 @@ export declare class ReportViewBaseComponent<T extends UiReportViewBaseSetting>
|
|
|
17
17
|
protected _portalService: PortalService;
|
|
18
18
|
protected _uploadService?: UploadService | undefined;
|
|
19
19
|
protected _groupByService?: GroupByService | undefined;
|
|
20
|
+
_reportView: boolean;
|
|
20
21
|
contextView: any;
|
|
21
22
|
viewSetting: T;
|
|
22
23
|
allColumns: any;
|
|
@@ -191,6 +192,7 @@ export declare class ReportViewBaseComponent<T extends UiReportViewBaseSetting>
|
|
|
191
192
|
onSortAscending(column: any): void;
|
|
192
193
|
onSortDescending(column: any): void;
|
|
193
194
|
onFilter(column: any): void;
|
|
195
|
+
onAction(commandBody: string): void;
|
|
194
196
|
onDynamicComponentEvents(e: {
|
|
195
197
|
title: string;
|
|
196
198
|
data?: any;
|
|
@@ -15,10 +15,11 @@ export declare class TilePropsComponent extends BaseComponent implements OnInit
|
|
|
15
15
|
setToStorage: boolean;
|
|
16
16
|
listMode: boolean;
|
|
17
17
|
navigateBackOnClick: boolean;
|
|
18
|
+
groupType: string;
|
|
18
19
|
layoutInfo: LayoutSetting;
|
|
19
20
|
hideClick: EventEmitter<any>;
|
|
20
21
|
renameClick: EventEmitter<any>;
|
|
21
22
|
constructor(el: ElementRef, _renderer2: Renderer2, _cdr: ChangeDetectorRef);
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilePropsComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TilePropsComponent, "bnrc-tile-base", never, { "parameters": { "alias": "parameters"; "required": false; }; "data": { "alias": "data"; "required": false; }; "context": { "alias": "context"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "setToStorage": { "alias": "setToStorage"; "required": false; }; "listMode": { "alias": "listMode"; "required": false; }; "navigateBackOnClick": { "alias": "navigateBackOnClick"; "required": false; }; "layoutInfo": { "alias": "layoutInfo"; "required": false; }; }, { "hideClick": "hideClick"; "renameClick": "renameClick"; }, never, never, false, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TilePropsComponent, "bnrc-tile-base", never, { "parameters": { "alias": "parameters"; "required": false; }; "data": { "alias": "data"; "required": false; }; "context": { "alias": "context"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "deviceSize": { "alias": "deviceSize"; "required": false; }; "setToStorage": { "alias": "setToStorage"; "required": false; }; "listMode": { "alias": "listMode"; "required": false; }; "navigateBackOnClick": { "alias": "navigateBackOnClick"; "required": false; }; "groupType": { "alias": "groupType"; "required": false; }; "layoutInfo": { "alias": "layoutInfo"; "required": false; }; }, { "hideClick": "hideClick"; "renameClick": "renameClick"; }, never, never, false, never>;
|
|
24
25
|
}
|
|
@@ -90,46 +90,48 @@ import * as i72 from "./pipes/hide-accept-cancel-buttons.pipe";
|
|
|
90
90
|
import * as i73 from "./pipes/filter-inline-action-list.pipe";
|
|
91
91
|
import * as i74 from "./pipes/isimage.pipe";
|
|
92
92
|
import * as i75 from "./pipes/toolbar-settings.pipe";
|
|
93
|
-
import * as i76 from "./
|
|
94
|
-
import * as i77 from "./directives/
|
|
95
|
-
import * as i78 from "./directives/
|
|
96
|
-
import * as i79 from "./directives/render-ulv-
|
|
97
|
-
import * as i80 from "./directives/
|
|
98
|
-
import * as i81 from "./directives/
|
|
99
|
-
import * as i82 from "./directives/
|
|
100
|
-
import * as i83 from "./directives/
|
|
101
|
-
import * as i84 from "./directives/
|
|
102
|
-
import * as i85 from "./directives/
|
|
103
|
-
import * as i86 from "./directives/
|
|
104
|
-
import * as i87 from "./directives/
|
|
105
|
-
import * as i88 from "./directives/
|
|
106
|
-
import * as i89 from "./directives/
|
|
107
|
-
import * as i90 from "./directives/
|
|
108
|
-
import * as i91 from "./directives/
|
|
109
|
-
import * as i92 from "./directives/
|
|
110
|
-
import * as i93 from "./directives/
|
|
111
|
-
import * as i94 from "./directives/
|
|
112
|
-
import * as i95 from "./directives/
|
|
113
|
-
import * as i96 from "./directives/
|
|
114
|
-
import * as i97 from "./directives/
|
|
115
|
-
import * as i98 from "./directives/
|
|
116
|
-
import * as i99 from "./directives/
|
|
117
|
-
import * as i100 from "./directives/
|
|
118
|
-
import * as i101 from "./directives/
|
|
119
|
-
import * as i102 from "./directives/
|
|
120
|
-
import * as i103 from "./directives/
|
|
121
|
-
import * as i104 from "./directives/
|
|
122
|
-
import * as i105 from "./directives/
|
|
123
|
-
import * as i106 from "./directives/
|
|
124
|
-
import * as i107 from "./directives/
|
|
125
|
-
import * as i108 from "./directives/
|
|
126
|
-
import * as i109 from "./directives/
|
|
127
|
-
import * as i110 from "./directives/
|
|
128
|
-
import * as i111 from "
|
|
129
|
-
import * as i112 from "./
|
|
130
|
-
import * as i113 from "
|
|
131
|
-
import * as i114 from "./
|
|
132
|
-
import * as i115 from "
|
|
93
|
+
import * as i76 from "./pipes/card-media-size.pipe";
|
|
94
|
+
import * as i77 from "./directives/placeHolder.directive";
|
|
95
|
+
import * as i78 from "./directives/numbers-only-input.directive";
|
|
96
|
+
import * as i79 from "./directives/render-ulv-viewer.directive";
|
|
97
|
+
import * as i80 from "./directives/render-ulv-paging.directive";
|
|
98
|
+
import * as i81 from "./directives/anchor-scroll.directive";
|
|
99
|
+
import * as i82 from "./directives/items-renderer.directive";
|
|
100
|
+
import * as i83 from "./directives/ulv-command.directive";
|
|
101
|
+
import * as i84 from "./directives/dynamic-command.directive";
|
|
102
|
+
import * as i85 from "./directives/workflow-choice-command.directive";
|
|
103
|
+
import * as i86 from "./directives/img-lazy.directive";
|
|
104
|
+
import * as i87 from "./directives/until-inview.directive";
|
|
105
|
+
import * as i88 from "./directives/intersection-observer.directive";
|
|
106
|
+
import * as i89 from "./directives/ellipsify.directive";
|
|
107
|
+
import * as i90 from "./directives/table-resizer.directive";
|
|
108
|
+
import * as i91 from "./directives/column-resizer.directive";
|
|
109
|
+
import * as i92 from "./directives/attr-rtl.directive";
|
|
110
|
+
import * as i93 from "./directives/copy.directive";
|
|
111
|
+
import * as i94 from "./directives/ellapsis-text.directive";
|
|
112
|
+
import * as i95 from "./directives/fill-empty-space";
|
|
113
|
+
import * as i96 from "./directives/form-close.directive";
|
|
114
|
+
import * as i97 from "./directives/mobile.directive";
|
|
115
|
+
import * as i98 from "./directives/body-click.directive";
|
|
116
|
+
import * as i99 from "./directives/count-down.directive";
|
|
117
|
+
import * as i100 from "./directives/route-form-change.directive";
|
|
118
|
+
import * as i101 from "./directives/dynamic-style.directive";
|
|
119
|
+
import * as i102 from "./directives/nowraptext.directive";
|
|
120
|
+
import * as i103 from "./directives/label-mandatory.directive";
|
|
121
|
+
import * as i104 from "./directives/absolute-div-body.directive";
|
|
122
|
+
import * as i105 from "./directives/load-external-files.directive";
|
|
123
|
+
import * as i106 from "./directives/stop-propagation.directive";
|
|
124
|
+
import * as i107 from "./directives/prevent-default.directive";
|
|
125
|
+
import * as i108 from "./directives/render-ulv.directive";
|
|
126
|
+
import * as i109 from "./directives/print-files.directive";
|
|
127
|
+
import * as i110 from "./directives/save-image.directive";
|
|
128
|
+
import * as i111 from "./directives/webotp.directive";
|
|
129
|
+
import * as i112 from "./directives/splide-slider.directive";
|
|
130
|
+
import * as i113 from "@angular/common";
|
|
131
|
+
import * as i114 from "./barsa-novin-ray-core-routing.module";
|
|
132
|
+
import * as i115 from "./form-page-routing/barsa-sap-ui-form-page.module";
|
|
133
|
+
import * as i116 from "./resizable-module/resizable.module";
|
|
134
|
+
import * as i117 from "@angular/forms";
|
|
133
135
|
export declare class BarsaNovinRayCoreModule extends BaseModule {
|
|
134
136
|
protected dcm: DynamicComponentService;
|
|
135
137
|
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
@@ -137,6 +139,6 @@ export declare class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
137
139
|
constructor(dcm: DynamicComponentService, componentFactoryResolver: ComponentFactoryResolver);
|
|
138
140
|
static forRoot(): ModuleWithProviders<BarsaNovinRayCoreModule>;
|
|
139
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaNovinRayCoreModule, never>;
|
|
140
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaNovinRayCoreModule, [typeof i1.FormComponent, typeof i2.FieldUiComponent, typeof i3.NotFoundComponent, typeof i4.RootPageComponent, typeof i5.RootPortalComponent, typeof i6.ReportContainerComponent, typeof i7.FormNewComponent, typeof i8.ModalRootComponent, typeof i9.PortalPageComponent, typeof i10.PortalPageSidebarComponent, typeof i11.RedirectReportNavigatorCommandComponent, typeof i12.EmptyPageWithRouterAndRouterOutletComponent, typeof i13.DynamicItemComponent, typeof i14.DynamicFormComponent, typeof i15.BaseDynamicComponent, typeof i16.DynamicFormToolbaritemComponent, typeof i17.DynamicLayoutComponent, typeof i18.EmptyPageComponent, typeof i19.FormPageComponent, typeof i20.FormFieldReportPageComponent, typeof i21.ButtonLoadingComponent, typeof i22.UnlimitSessionComponent, typeof i23.NumeralPipe, typeof i24.CanUploadFilePipe, typeof i25.RemoveNewlinePipe, typeof i26.ConvertToStylePipe, typeof i27.FilterPipe, typeof i28.FilterTabPipe, typeof i29.FilterStringPipe, typeof i30.FioriIconPipe, typeof i31.SortPipe, typeof i32.GroupByPipe, typeof i33.MultipleGroupByPipe, typeof i34.MoValuePipe, typeof i35.MoReportValuePipe, typeof i36.HeaderFacetValuePipe, typeof i37.PictureFieldSourcePipe, typeof i38.TlbButtonsPipe, typeof i39.SeperatorFixPipe, typeof i40.MoReportValueConcatPipe, typeof i41.ContextMenuPipe, typeof i42.BbbTranslatePipe, typeof i43.BarsaIconDictPipe, typeof i44.FileInfoCountPipe, typeof i45.ControlUiPipe, typeof i46.VisibleValuePipe, typeof i47.DateTimeToCaptionPipe, typeof i48.FilterToolbarControlPipe, typeof i49.ListCountPipe, typeof i50.TotalSummaryPipe, typeof i51.MergeFieldsToColumnsPipe, typeof i52.FindColumnByDbNamePipe, typeof i53.FilterColumnsByDetailsPipe, typeof i54.MoInfoUlvMoListPipe, typeof i55.MoInfoUlvPagingPipe, typeof i56.ReversePipe, typeof i57.ColumnCustomUiPipe, typeof i58.SanitizeTextPipe, typeof i59.ColumnCustomComponentPipe, typeof i60.ColumnIconPipe, typeof i61.ColumnValuePipe, typeof i62.RowNumberPipe, typeof i63.ComboRowImagePipe, typeof i64.IsExpandedNodePipe, typeof i65.ThImageOrIconePipe, typeof i66.FindPreviewColumnPipe, typeof i67.ReplacePipe, typeof i68.FilterWorkflowInMobilePipe, typeof i69.HideColumnsInmobilePipe, typeof i70.StringToNumberPipe, typeof i71.ColumnValueOfParametersPipe, typeof i72.HideAcceptCancelButtonsPipe, typeof i73.FilterInlineActionListPipe, typeof i74.IsImagePipe, typeof i75.ToolbarSettingsPipe, typeof i76.
|
|
142
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaNovinRayCoreModule, [typeof i1.FormComponent, typeof i2.FieldUiComponent, typeof i3.NotFoundComponent, typeof i4.RootPageComponent, typeof i5.RootPortalComponent, typeof i6.ReportContainerComponent, typeof i7.FormNewComponent, typeof i8.ModalRootComponent, typeof i9.PortalPageComponent, typeof i10.PortalPageSidebarComponent, typeof i11.RedirectReportNavigatorCommandComponent, typeof i12.EmptyPageWithRouterAndRouterOutletComponent, typeof i13.DynamicItemComponent, typeof i14.DynamicFormComponent, typeof i15.BaseDynamicComponent, typeof i16.DynamicFormToolbaritemComponent, typeof i17.DynamicLayoutComponent, typeof i18.EmptyPageComponent, typeof i19.FormPageComponent, typeof i20.FormFieldReportPageComponent, typeof i21.ButtonLoadingComponent, typeof i22.UnlimitSessionComponent, typeof i23.NumeralPipe, typeof i24.CanUploadFilePipe, typeof i25.RemoveNewlinePipe, typeof i26.ConvertToStylePipe, typeof i27.FilterPipe, typeof i28.FilterTabPipe, typeof i29.FilterStringPipe, typeof i30.FioriIconPipe, typeof i31.SortPipe, typeof i32.GroupByPipe, typeof i33.MultipleGroupByPipe, typeof i34.MoValuePipe, typeof i35.MoReportValuePipe, typeof i36.HeaderFacetValuePipe, typeof i37.PictureFieldSourcePipe, typeof i38.TlbButtonsPipe, typeof i39.SeperatorFixPipe, typeof i40.MoReportValueConcatPipe, typeof i41.ContextMenuPipe, typeof i42.BbbTranslatePipe, typeof i43.BarsaIconDictPipe, typeof i44.FileInfoCountPipe, typeof i45.ControlUiPipe, typeof i46.VisibleValuePipe, typeof i47.DateTimeToCaptionPipe, typeof i48.FilterToolbarControlPipe, typeof i49.ListCountPipe, typeof i50.TotalSummaryPipe, typeof i51.MergeFieldsToColumnsPipe, typeof i52.FindColumnByDbNamePipe, typeof i53.FilterColumnsByDetailsPipe, typeof i54.MoInfoUlvMoListPipe, typeof i55.MoInfoUlvPagingPipe, typeof i56.ReversePipe, typeof i57.ColumnCustomUiPipe, typeof i58.SanitizeTextPipe, typeof i59.ColumnCustomComponentPipe, typeof i60.ColumnIconPipe, typeof i61.ColumnValuePipe, typeof i62.RowNumberPipe, typeof i63.ComboRowImagePipe, typeof i64.IsExpandedNodePipe, typeof i65.ThImageOrIconePipe, typeof i66.FindPreviewColumnPipe, typeof i67.ReplacePipe, typeof i68.FilterWorkflowInMobilePipe, typeof i69.HideColumnsInmobilePipe, typeof i70.StringToNumberPipe, typeof i71.ColumnValueOfParametersPipe, typeof i72.HideAcceptCancelButtonsPipe, typeof i73.FilterInlineActionListPipe, typeof i74.IsImagePipe, typeof i75.ToolbarSettingsPipe, typeof i76.CardMediaSizePipe, typeof i77.PlaceHolderDirective, typeof i78.NumbersOnlyInputDirective, typeof i79.RenderUlvViewerDirective, typeof i80.RenderUlvPaginDirective, typeof i81.AnchorScrollDirective, typeof i82.ItemsRendererDirective, typeof i83.UlvCommandDirective, typeof i84.DynamicCommandDirective, typeof i85.WorfkflowwChoiceCommandDirective, typeof i86.ImageLazyDirective, typeof i87.UntilInViewDirective, typeof i88.IntersectionObserverDirective, typeof i89.EllipsifyDirective, typeof i90.TableResizerDirective, typeof i91.ColumnResizerDirective, typeof i92.AttrRtlDirective, typeof i93.CopyDirective, typeof i94.EllapsisTextDirective, typeof i95.FillEmptySpaceDirective, typeof i96.FormCloseDirective, typeof i97.MobileDirective, typeof i98.BodyClickDirective, typeof i99.CountDownDirective, typeof i100.RouteFormChangeDirective, typeof i101.DynamicStyleDirective, typeof i102.NowraptextDirective, typeof i103.LabelmandatoryDirective, typeof i104.AbsoluteDivBodyDirective, typeof i105.LoadExternalFilesDirective, typeof i106.StopPropagationDirective, typeof i107.PreventDefaultDirective, typeof i108.RenderUlvDirective, typeof i109.PrintFilesDirective, typeof i110.SaveImageDirective, typeof i111.WebOtpDirective, typeof i112.SplideSliderDirective], [typeof i113.CommonModule, typeof i114.BarsaNovinRayCoreRoutingModule, typeof i115.BarsaSapUiFormPageModule, typeof i116.ResizableModule, typeof i117.FormsModule, typeof i117.ReactiveFormsModule], [typeof i1.FormComponent, typeof i2.FieldUiComponent, typeof i3.NotFoundComponent, typeof i4.RootPageComponent, typeof i5.RootPortalComponent, typeof i6.ReportContainerComponent, typeof i7.FormNewComponent, typeof i8.ModalRootComponent, typeof i9.PortalPageComponent, typeof i10.PortalPageSidebarComponent, typeof i11.RedirectReportNavigatorCommandComponent, typeof i12.EmptyPageWithRouterAndRouterOutletComponent, typeof i13.DynamicItemComponent, typeof i14.DynamicFormComponent, typeof i15.BaseDynamicComponent, typeof i16.DynamicFormToolbaritemComponent, typeof i17.DynamicLayoutComponent, typeof i18.EmptyPageComponent, typeof i19.FormPageComponent, typeof i20.FormFieldReportPageComponent, typeof i21.ButtonLoadingComponent, typeof i22.UnlimitSessionComponent, typeof i23.NumeralPipe, typeof i24.CanUploadFilePipe, typeof i25.RemoveNewlinePipe, typeof i26.ConvertToStylePipe, typeof i27.FilterPipe, typeof i28.FilterTabPipe, typeof i29.FilterStringPipe, typeof i30.FioriIconPipe, typeof i31.SortPipe, typeof i32.GroupByPipe, typeof i33.MultipleGroupByPipe, typeof i34.MoValuePipe, typeof i35.MoReportValuePipe, typeof i36.HeaderFacetValuePipe, typeof i37.PictureFieldSourcePipe, typeof i38.TlbButtonsPipe, typeof i39.SeperatorFixPipe, typeof i40.MoReportValueConcatPipe, typeof i41.ContextMenuPipe, typeof i42.BbbTranslatePipe, typeof i43.BarsaIconDictPipe, typeof i44.FileInfoCountPipe, typeof i45.ControlUiPipe, typeof i46.VisibleValuePipe, typeof i47.DateTimeToCaptionPipe, typeof i48.FilterToolbarControlPipe, typeof i49.ListCountPipe, typeof i50.TotalSummaryPipe, typeof i51.MergeFieldsToColumnsPipe, typeof i52.FindColumnByDbNamePipe, typeof i53.FilterColumnsByDetailsPipe, typeof i54.MoInfoUlvMoListPipe, typeof i55.MoInfoUlvPagingPipe, typeof i56.ReversePipe, typeof i57.ColumnCustomUiPipe, typeof i58.SanitizeTextPipe, typeof i59.ColumnCustomComponentPipe, typeof i60.ColumnIconPipe, typeof i61.ColumnValuePipe, typeof i62.RowNumberPipe, typeof i63.ComboRowImagePipe, typeof i64.IsExpandedNodePipe, typeof i65.ThImageOrIconePipe, typeof i66.FindPreviewColumnPipe, typeof i67.ReplacePipe, typeof i68.FilterWorkflowInMobilePipe, typeof i69.HideColumnsInmobilePipe, typeof i70.StringToNumberPipe, typeof i71.ColumnValueOfParametersPipe, typeof i72.HideAcceptCancelButtonsPipe, typeof i73.FilterInlineActionListPipe, typeof i74.IsImagePipe, typeof i75.ToolbarSettingsPipe, typeof i76.CardMediaSizePipe, typeof i77.PlaceHolderDirective, typeof i78.NumbersOnlyInputDirective, typeof i79.RenderUlvViewerDirective, typeof i80.RenderUlvPaginDirective, typeof i81.AnchorScrollDirective, typeof i82.ItemsRendererDirective, typeof i83.UlvCommandDirective, typeof i84.DynamicCommandDirective, typeof i85.WorfkflowwChoiceCommandDirective, typeof i86.ImageLazyDirective, typeof i87.UntilInViewDirective, typeof i88.IntersectionObserverDirective, typeof i89.EllipsifyDirective, typeof i90.TableResizerDirective, typeof i91.ColumnResizerDirective, typeof i92.AttrRtlDirective, typeof i93.CopyDirective, typeof i94.EllapsisTextDirective, typeof i95.FillEmptySpaceDirective, typeof i96.FormCloseDirective, typeof i97.MobileDirective, typeof i98.BodyClickDirective, typeof i99.CountDownDirective, typeof i100.RouteFormChangeDirective, typeof i101.DynamicStyleDirective, typeof i102.NowraptextDirective, typeof i103.LabelmandatoryDirective, typeof i104.AbsoluteDivBodyDirective, typeof i105.LoadExternalFilesDirective, typeof i106.StopPropagationDirective, typeof i107.PreventDefaultDirective, typeof i108.RenderUlvDirective, typeof i109.PrintFilesDirective, typeof i110.SaveImageDirective, typeof i111.WebOtpDirective, typeof i112.SplideSliderDirective]>;
|
|
141
143
|
static ɵinj: i0.ɵɵInjectorDeclaration<BarsaNovinRayCoreModule>;
|
|
142
144
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Renderer2, ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BaseDirective } from './base.directive';
|
|
3
|
+
import { MetaobjectDataModel } from '../abstract-classes';
|
|
4
|
+
import { MoReportValuePipe } from '../pipes/mo-report-value.pipe';
|
|
5
|
+
import { PictureFieldSourcePipe } from '../pipes/picture-field-source.pipe';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SplideSliderDirective extends BaseDirective {
|
|
8
|
+
_width: any;
|
|
9
|
+
moDataList: MetaobjectDataModel[];
|
|
10
|
+
type: SliderType;
|
|
11
|
+
breakpoint991: number;
|
|
12
|
+
breakpoint768: number;
|
|
13
|
+
breakpoint480: number;
|
|
14
|
+
breakpoint1279: number;
|
|
15
|
+
sliderPerPage: number;
|
|
16
|
+
sliderGap: number;
|
|
17
|
+
sliderPadding: number;
|
|
18
|
+
width: string;
|
|
19
|
+
carouselCls: string;
|
|
20
|
+
numWidth: number;
|
|
21
|
+
height: number;
|
|
22
|
+
get dom(): HTMLElement;
|
|
23
|
+
_splide: undefined | any;
|
|
24
|
+
rval: MoReportValuePipe;
|
|
25
|
+
protected readonly _picFieldSrc: PictureFieldSourcePipe;
|
|
26
|
+
protected readonly _renderer2: Renderer2;
|
|
27
|
+
protected readonly _el: ElementRef<any>;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
onRefresh(): void;
|
|
32
|
+
_refreshSplide(): void;
|
|
33
|
+
_init(): void;
|
|
34
|
+
get _getCommonOptions(): Record<string, any>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplideSliderDirective, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SplideSliderDirective, "[splideSlider]", never, { "moDataList": { "alias": "moDataList"; "required": false; }; "type": { "alias": "type"; "required": false; }; "breakpoint991": { "alias": "breakpoint991"; "required": false; }; "breakpoint768": { "alias": "breakpoint768"; "required": false; }; "breakpoint480": { "alias": "breakpoint480"; "required": false; }; "breakpoint1279": { "alias": "breakpoint1279"; "required": false; }; "sliderPerPage": { "alias": "sliderPerPage"; "required": false; }; "sliderGap": { "alias": "sliderGap"; "required": false; }; "sliderPadding": { "alias": "sliderPadding"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
}
|
|
38
|
+
type SliderType = 'full' | 'multiple' | 'single' | 'small' | undefined;
|
|
39
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, SimpleChanges, ViewContainerRef, Injector, ChangeDetectorRef, ComponentRef, OnInit, OnChanges, OnDestroy } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, SimpleChanges, ViewContainerRef, Injector, ChangeDetectorRef, ComponentRef, OnInit, OnChanges, OnDestroy, WritableSignal } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from '../abstract-classes/base.component';
|
|
3
3
|
import { BruleActionMessage, FormComponentParams, MetaobjectDataModel, TypeUlvMainCtrlr } from '../abstract-classes/models';
|
|
4
4
|
import { PortalService } from '../services/portal.service';
|
|
@@ -27,7 +27,7 @@ export declare class FormComponent extends BaseComponent implements OnInit, OnCh
|
|
|
27
27
|
}>;
|
|
28
28
|
vcr: ViewContainerRef;
|
|
29
29
|
uniqueId: string;
|
|
30
|
-
uiFormComponent: ComponentRef<any>;
|
|
30
|
+
uiFormComponent: WritableSignal<ComponentRef<any> | undefined>;
|
|
31
31
|
constructor(portalService: PortalService, injector: Injector, cdr: ChangeDetectorRef, el: ElementRef);
|
|
32
32
|
ngOnInit(): void;
|
|
33
33
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { CardMediaSize } from '../abstract-classes';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CardMediaSizePipe implements PipeTransform {
|
|
5
|
+
transform(cardMediaSize: CardMediaSize | undefined, defaultValue: number): [number, number];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardMediaSizePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CardMediaSizePipe, "cardMediaSize", false>;
|
|
8
|
+
}
|
package/lib/pipes/index.d.ts
CHANGED
|
@@ -9,7 +9,9 @@ export declare class RootPortalComponent extends PageBaseComponent implements On
|
|
|
9
9
|
modules: any;
|
|
10
10
|
isRoot: boolean;
|
|
11
11
|
inLocalMode: boolean;
|
|
12
|
+
hasOverlay: boolean;
|
|
12
13
|
imageUrl: string;
|
|
14
|
+
backgroundColor: string;
|
|
13
15
|
ngOnInit(): void;
|
|
14
16
|
protected onSendOfflineDataToServer(): void;
|
|
15
17
|
protected onRemoveOfflineDataAndReturnToOnline(): void;
|
|
@@ -22,6 +22,8 @@ export declare class PortalService {
|
|
|
22
22
|
private _document;
|
|
23
23
|
offsetTop: number;
|
|
24
24
|
loginLoading: BehaviorSubject<boolean>;
|
|
25
|
+
imageUrl: string;
|
|
26
|
+
backgroundColor: string;
|
|
25
27
|
loaded: boolean;
|
|
26
28
|
formPanels: any;
|
|
27
29
|
cachedImages: any;
|
|
@@ -93,6 +95,7 @@ export declare class PortalService {
|
|
|
93
95
|
get navigationEnd$(): Observable<NavigationEnd | null>;
|
|
94
96
|
get navigationStart$(): Observable<NavigationStart | null>;
|
|
95
97
|
loadMo(id: string, typedefId: string): Observable<any>;
|
|
98
|
+
setSiteImageUrl(backgroundColor: string, imageUrl: string): void;
|
|
96
99
|
pushActionNext(pushAction: {
|
|
97
100
|
notificationTag: any;
|
|
98
101
|
moid: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BehaviorSubject, Observable, Subscription } from 'rxjs';
|
|
2
|
-
import { MenuItem, MetaobjectDataModel, PagingSetting, SearchPanelSettings, GeneralControlInfoModel, ColumnInfoType, FormSetting, ShareButtonsChoiceDef } from '../abstract-classes';
|
|
2
|
+
import { MenuItem, MetaobjectDataModel, PagingSetting, SearchPanelSettings, GeneralControlInfoModel, ColumnInfoType, FormSetting, ShareButtonsChoiceDef, CssBackground } from '../abstract-classes';
|
|
3
3
|
import { BbbTranslatePipe } from '../pipes';
|
|
4
4
|
import { ApiService } from './api.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -84,6 +84,7 @@ export declare class UlvMainService {
|
|
|
84
84
|
private _selectedSearchPanelSettingsIdSource;
|
|
85
85
|
private _defaultSearchPanelSettingsSource;
|
|
86
86
|
private _allSearchPanelSettingsSource;
|
|
87
|
+
private _cssBackgroundSource;
|
|
87
88
|
private _hidePagingSource;
|
|
88
89
|
private _openSearchPanelHiddenSettingsSource;
|
|
89
90
|
private _openSearchFilesManageSource;
|
|
@@ -110,6 +111,8 @@ export declare class UlvMainService {
|
|
|
110
111
|
get allSearchPanelSettings(): SearchPanelSettings[];
|
|
111
112
|
get hideSearchpanel$(): Observable<boolean>;
|
|
112
113
|
get hideSearchpanel(): boolean;
|
|
114
|
+
get cssBackground$(): Observable<CssBackground | null>;
|
|
115
|
+
setBackground(cssBackground: CssBackground): void;
|
|
113
116
|
hidePaging(hide: boolean): void;
|
|
114
117
|
setUiViewerClass(selector: string): void;
|
|
115
118
|
hideUlvTitlePage(): void;
|