barsa-novin-ray-core 2.3.128 → 2.3.129
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/fesm2022/{barsa-novin-ray-core-barsa-novin-ray-core-CiIJMeoP.mjs → barsa-novin-ray-core-barsa-novin-ray-core-DtuYXVoL.mjs} +45 -14
- package/fesm2022/barsa-novin-ray-core-barsa-novin-ray-core-DtuYXVoL.mjs.map +1 -0
- package/fesm2022/{barsa-novin-ray-core-barsa-report-page.module-DIOdzySE.mjs → barsa-novin-ray-core-barsa-report-page.module-uCeYrvp2.mjs} +2 -2
- package/fesm2022/{barsa-novin-ray-core-barsa-report-page.module-DIOdzySE.mjs.map → barsa-novin-ray-core-barsa-report-page.module-uCeYrvp2.mjs.map} +1 -1
- package/fesm2022/barsa-novin-ray-core.mjs +1 -1
- package/index.d.ts +6 -1
- package/package.json +1 -1
- package/fesm2022/barsa-novin-ray-core-barsa-novin-ray-core-CiIJMeoP.mjs.map +0 -1
|
@@ -5413,6 +5413,7 @@ function searchCommandsInApp(app, keyword) {
|
|
|
5413
5413
|
appTitle,
|
|
5414
5414
|
source: 'Command',
|
|
5415
5415
|
id: command.Name || command.Key,
|
|
5416
|
+
canPin: true,
|
|
5416
5417
|
caption: command.Caption,
|
|
5417
5418
|
path: `${group.Caption || group.Name}`,
|
|
5418
5419
|
original: command,
|
|
@@ -5426,6 +5427,7 @@ function searchCommandsInApp(app, keyword) {
|
|
|
5426
5427
|
appId: app.Id,
|
|
5427
5428
|
appTitle,
|
|
5428
5429
|
source: 'Command',
|
|
5430
|
+
canPin: true,
|
|
5429
5431
|
id: menu.CommandId,
|
|
5430
5432
|
caption: menu.Caption,
|
|
5431
5433
|
path: `${group.Caption || group.Name} > ${command.Caption}`,
|
|
@@ -5460,8 +5462,12 @@ function searchNavigatorInApp(app, keyword) {
|
|
|
5460
5462
|
const currentPath = path ? `${path} > ${node.Caption || node.Name}` : node.Caption || node.Name || '';
|
|
5461
5463
|
if (node.Caption && node.Caption.toLowerCase().includes(keyword.toLowerCase())) {
|
|
5462
5464
|
let url = '';
|
|
5465
|
+
let canPin = false;
|
|
5466
|
+
let source = 'Navigator';
|
|
5463
5467
|
if (!node.IsRoot && node.ReportId && node.ReportId !== '0') {
|
|
5464
5468
|
url = `#/application/report/${node.FolderId}__${node.Caption}__${node.ReportId}`;
|
|
5469
|
+
canPin = true;
|
|
5470
|
+
source = 'Report';
|
|
5465
5471
|
}
|
|
5466
5472
|
else if (node.IsRoot) {
|
|
5467
5473
|
url = `#/application/${app.Id}`;
|
|
@@ -5469,14 +5475,15 @@ function searchNavigatorInApp(app, keyword) {
|
|
|
5469
5475
|
results.push({
|
|
5470
5476
|
appId: app.Id,
|
|
5471
5477
|
appTitle: root.Caption,
|
|
5472
|
-
source
|
|
5478
|
+
source,
|
|
5473
5479
|
id: node.Id,
|
|
5474
5480
|
url,
|
|
5475
5481
|
caption: node.Caption,
|
|
5476
5482
|
path: currentPath,
|
|
5477
5483
|
original: node,
|
|
5478
5484
|
hidden: depth === 1,
|
|
5479
|
-
depth
|
|
5485
|
+
depth,
|
|
5486
|
+
canPin
|
|
5480
5487
|
});
|
|
5481
5488
|
}
|
|
5482
5489
|
node.Items?.forEach((child) => walk(child, currentPath, depth + 1));
|
|
@@ -5939,7 +5946,7 @@ function reportRoutes(authGuard = false) {
|
|
|
5939
5946
|
return {
|
|
5940
5947
|
path: 'report/:id',
|
|
5941
5948
|
canActivate: authGuard ? [AuthGuard] : [],
|
|
5942
|
-
loadChildren: () => import('./barsa-novin-ray-core-barsa-report-page.module-
|
|
5949
|
+
loadChildren: () => import('./barsa-novin-ray-core-barsa-report-page.module-uCeYrvp2.mjs').then((m) => m.BarsaReportPageModule),
|
|
5943
5950
|
resolve: {
|
|
5944
5951
|
breadcrumb: ReportBreadcrumbResolver
|
|
5945
5952
|
}
|
|
@@ -11252,9 +11259,8 @@ class ReportViewBaseComponent extends BaseComponent {
|
|
|
11252
11259
|
.subscribe(() => this.onResize());
|
|
11253
11260
|
}
|
|
11254
11261
|
ngOnDestroy() {
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
}
|
|
11262
|
+
super.ngOnDestroy();
|
|
11263
|
+
this._ro?.disconnect();
|
|
11258
11264
|
}
|
|
11259
11265
|
ngOnChanges(changes) {
|
|
11260
11266
|
super.ngOnChanges(changes);
|
|
@@ -12828,6 +12834,16 @@ class FillEmptySpaceDirective extends BaseDirective {
|
|
|
12828
12834
|
if (this.disable) {
|
|
12829
12835
|
return;
|
|
12830
12836
|
}
|
|
12837
|
+
this._handleResize();
|
|
12838
|
+
}
|
|
12839
|
+
ngOnDestroy() {
|
|
12840
|
+
super.ngOnDestroy();
|
|
12841
|
+
this._ro?.disconnect();
|
|
12842
|
+
}
|
|
12843
|
+
Refresh() {
|
|
12844
|
+
this._setHeightOfFormContent();
|
|
12845
|
+
}
|
|
12846
|
+
_setHeight() {
|
|
12831
12847
|
setTimeout(() => {
|
|
12832
12848
|
this._setHeightOfFormContent();
|
|
12833
12849
|
if (this.topBound === '0px') {
|
|
@@ -12835,15 +12851,30 @@ class FillEmptySpaceDirective extends BaseDirective {
|
|
|
12835
12851
|
this._setHeightOfFormContent();
|
|
12836
12852
|
}, 1000);
|
|
12837
12853
|
}
|
|
12838
|
-
});
|
|
12854
|
+
}, 100);
|
|
12839
12855
|
}
|
|
12840
|
-
|
|
12841
|
-
|
|
12856
|
+
_handleResize() {
|
|
12857
|
+
if (typeof ResizeObserver === 'undefined') {
|
|
12858
|
+
return;
|
|
12859
|
+
} // چک کردن پشتیبانی مرورگر به جای try-catch
|
|
12860
|
+
this._ro = new ResizeObserver((entries) => {
|
|
12861
|
+
const entry = entries[0];
|
|
12862
|
+
// چک میکنیم که المنت مخفی (display: none) نباشد
|
|
12863
|
+
if (entry && entry.contentRect.height > 0) {
|
|
12864
|
+
requestAnimationFrame(() => {
|
|
12865
|
+
this._setHeight();
|
|
12866
|
+
});
|
|
12867
|
+
}
|
|
12868
|
+
});
|
|
12869
|
+
if (this._el?.nativeElement) {
|
|
12870
|
+
this._ro.observe(this._el.nativeElement);
|
|
12871
|
+
}
|
|
12842
12872
|
}
|
|
12843
12873
|
_setHeightOfFormContent() {
|
|
12844
12874
|
const dom = this._el.nativeElement;
|
|
12845
12875
|
const bound = dom.getBoundingClientRect();
|
|
12846
12876
|
this.topBound = `${bound.top}px`;
|
|
12877
|
+
let decrement = this.decrement;
|
|
12847
12878
|
if (this.oldTopBound && this.oldTopBound === this.topBound) {
|
|
12848
12879
|
return;
|
|
12849
12880
|
}
|
|
@@ -12864,18 +12895,18 @@ class FillEmptySpaceDirective extends BaseDirective {
|
|
|
12864
12895
|
if (this.containerDom) {
|
|
12865
12896
|
this._height = `${this.containerDom.getBoundingClientRect().height}px`;
|
|
12866
12897
|
}
|
|
12867
|
-
if (
|
|
12868
|
-
|
|
12898
|
+
if (decrement) {
|
|
12899
|
+
decrement = ` - ${decrement}`;
|
|
12869
12900
|
}
|
|
12870
12901
|
else {
|
|
12871
|
-
|
|
12902
|
+
decrement = '';
|
|
12872
12903
|
}
|
|
12873
12904
|
if (this.dontUseTopBound) {
|
|
12874
12905
|
this.topBound = '0px';
|
|
12875
12906
|
}
|
|
12876
12907
|
this.oldTopBound = this.topBound;
|
|
12877
12908
|
if (bound) {
|
|
12878
|
-
this._renderer2.setStyle(dom, this.setMinHeight ? 'min-height' : 'height', `calc(${this._height} - ${this.topBound}${
|
|
12909
|
+
this._renderer2.setStyle(dom, this.setMinHeight ? 'min-height' : 'height', `calc(${this._height} - ${this.topBound}${decrement})`);
|
|
12879
12910
|
}
|
|
12880
12911
|
this.heightChanged.emit();
|
|
12881
12912
|
}
|
|
@@ -18955,4 +18986,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
18955
18986
|
*/
|
|
18956
18987
|
|
|
18957
18988
|
export { StopPropagationDirective as $, AnchorScrollDirective as A, BaseModule as B, CardDynamicItemComponent as C, DynamicComponentService as D, EmptyPageWithRouterAndRouterOutletComponent as E, FieldDirective as F, ItemsRendererDirective as G, NumbersOnlyInputDirective as H, ImageLazyDirective as I, PlaceHolderDirective as J, RenderUlvViewerDirective as K, RenderUlvPaginDirective as L, MasterDetailsPageComponent as M, NotFoundComponent as N, UntilInViewDirective as O, PortalPageComponent as P, CopyDirective as Q, ReportEmptyPageComponent as R, EllapsisTextDirective as S, TableResizerDirective as T, UlvCommandDirective as U, FillEmptySpaceDirective as V, WorfkflowwChoiceCommandDirective as W, FormCloseDirective as X, MobileDirective as Y, BodyClickDirective as Z, PreventDefaultDirective as _, EmptyPageComponent as a, ColumnCustomComponentPipe as a$, CountDownDirective as a0, RouteFormChangeDirective as a1, DynamicStyleDirective as a2, NowraptextDirective as a3, LabelmandatoryDirective as a4, AbsoluteDivBodyDirective as a5, LoadExternalFilesDirective as a6, RenderUlvDirective as a7, PrintFilesDirective as a8, SaveImageDirective as a9, RemoveNewlinePipe as aA, MoValuePipe as aB, FilterPipe as aC, FilterTabPipe as aD, MoReportValueConcatPipe as aE, FilterStringPipe as aF, SortPipe as aG, BbbTranslatePipe as aH, BarsaIconDictPipe as aI, FileInfoCountPipe as aJ, ControlUiPipe as aK, VisibleValuePipe as aL, FilterToolbarControlPipe as aM, MultipleGroupByPipe as aN, PictureFieldSourcePipe as aO, FioriIconPipe as aP, CanUploadFilePipe as aQ, ListCountPipe as aR, TotalSummaryPipe as aS, MergeFieldsToColumnsPipe as aT, FindColumnByDbNamePipe as aU, FilterColumnsByDetailsPipe as aV, MoInfoUlvMoListPipe as aW, ReversePipe as aX, ColumnCustomUiPipe as aY, SanitizeTextPipe as aZ, MoInfoUlvPagingPipe as a_, WebOtpDirective as aa, SplideSliderDirective as ab, DynamicRootVariableDirective as ac, HorizontalResponsiveDirective as ad, MeasureFormTitleWidthDirective as ae, OverflowTextDirective as af, ShortcutRegisterDirective as ag, ShortcutHandlerDirective as ah, BarsaReadonlyDirective as ai, ResizeObserverDirective as aj, ColumnValueDirective as ak, ScrollToSelectedDirective as al, ScrollPersistDirective as am, TooltipDirective as an, SimplebarDirective as ao, LeafletLongPressDirective as ap, ResizeHandlerDirective as aq, SafeBottomDirective as ar, MoReportValuePipe as as, NumeralPipe as at, GroupByPipe as au, ContextMenuPipe as av, HeaderFacetValuePipe as aw, SeperatorFixPipe as ax, ConvertToStylePipe as ay, TlbButtonsPipe as az, PortalPageSidebarComponent as b, CalendarSettingsService as b$, ColumnValuePipe as b0, ColumnIconPipe as b1, RowNumberPipe as b2, ComboRowImagePipe as b3, IsExpandedNodePipe as b4, ThImageOrIconePipe as b5, FindPreviewColumnPipe as b6, ReplacePipe as b7, FilterWorkflowInMobilePipe as b8, HideColumnsInmobilePipe as b9, UiService as bA, UlvMainService as bB, UploadService as bC, NetworkStatusService as bD, AudioRecordingService as bE, VideoRecordingService as bF, LocalStorageService as bG, IndexedDbService as bH, BarsaStorageService as bI, PromptUpdateService as bJ, NotificationService as bK, ServiceWorkerNotificationService as bL, ColumnService as bM, ServiceWorkerCommuncationService as bN, SaveScrollPositionService as bO, RoutingService as bP, GroupByService as bQ, LayoutMainContentService as bR, TabpageService as bS, InMemoryStorageService as bT, ShellbarHeightService as bU, ApplicationCtrlrService as bV, PushCheckService as bW, IdbService as bX, PushNotificationService as bY, CardViewService as bZ, BaseSettingsService as b_, StringToNumberPipe as ba, ColumnValueOfParametersPipe as bb, HideAcceptCancelButtonsPipe as bc, FilterInlineActionListPipe as bd, IsImagePipe as be, ToolbarSettingsPipe as bf, CardMediaSizePipe as bg, LabelStarTrimPipe as bh, SplitPipe as bi, DynamicDarkColorPipe as bj, ChunkArrayPipe as bk, MapToChatMessagePipe as bl, PicturesByGroupIdPipe as bm, ScopedCssPipe as bn, ApiService as bo, BreadcrumbService as bp, CustomInjector as bq, DialogParams as br, BarsaDialogService as bs, FormPanelService as bt, FormService as bu, ContainerService as bv, HorizontalLayoutService as bw, LayoutService as bx, LogService as by, PortalService as bz, BaseDynamicComponent as c, SingleRelationControlInfoModel as c$, PortalDynamicPageResolver as c0, PortalFormPageResolver as c1, PortalPageResolver as c2, PortalReportPageResolver as c3, TileGroupBreadcrumResolver as c4, LoginSettingsResolver as c5, ReportBreadcrumbResolver as c6, DateService as c7, DateHijriService as c8, DateMiladiService as c9, LayoutItemBaseComponent as cA, LayoutPanelBaseComponent as cB, PageBaseComponent as cC, NumberBaseComponent as cD, GeneralControlInfoModel as cE, StringControlInfoModel as cF, RichStringControlInfoModel as cG, NumberControlInfoModel as cH, FilePictureInfoModel as cI, FileControlInfoModel as cJ, CommandControlInfoModel as cK, IconControlInfoModel as cL, PictureFileControlInfoModel as cM, GaugeControlInfoModel as cN, RelationListControlInfoModel as cO, HistoryControlInfoModel as cP, RabetehAkseTakiListiControlInfoModel as cQ, RelatedReportControlInfoModel as cR, CodeEditorControlInfoModel as cS, EnumControlInfoModel as cT, RowDataOption as cU, DateTimeControlInfoModel as cV, BoolControlInfoModel as cW, CalculateControlInfoModel as cX, SubformControlInfoModel as cY, LinearListControlInfoModel as cZ, ListRelationModel as c_, DateShamsiService as ca, FormNewComponent as cb, ReportContainerComponent as cc, FormComponent as cd, FieldUiComponent as ce, BarsaSapUiFormPageModule as cf, ReportNavigatorComponent as cg, BaseController as ch, ViewBase as ci, ModalRootComponent as cj, ButtonLoadingComponent as ck, UnlimitSessionComponent as cl, SplitterComponent as cm, APP_VERSION as cn, DIALOG_SERVICE as co, FORM_DIALOG_COMPONENT as cp, NOTIFICATAION_POPUP_SERVER as cq, TOAST_SERVICE as cr, NOTIFICATION_WEBWORKER_FACTORY as cs, FieldBaseComponent as ct, FormBaseComponent as cu, FormToolbarBaseComponent as cv, SystemBaseComponent as cw, ReportBaseComponent as cx, ReportItemBaseComponent as cy, ApplicationBaseComponent as cz, DynamicFormComponent as d, getAllItemsPerChildren as d$, MetaobjectDataModel as d0, MoForReportModelBase as d1, MoForReportModel as d2, ReportBaseInfo as d3, ReportExtraInfo as d4, MetaobjectRelationModel as d5, FieldInfoTypeEnum as d6, BaseReportModel as d7, DefaultCommandsAccessValue as d8, CustomCommand as d9, FormFieldReportPageComponent as dA, BaseUlvSettingComponent as dB, TableHeaderWidthMode as dC, setTableThWidth as dD, calculateColumnContent as dE, calculateColumnWidth as dF, setColumnWidthByMaxMoContentWidth as dG, calculateMoDataListContentWidthByColumnName as dH, calculateFreeColumnSize as dI, calculateColumnWidthFitToContainer as dJ, calcContextMenuWidth as dK, RotateImage as dL, isInLocalMode as dM, getLabelWidth as dN, getColumnValueOfMoDataList as dO, throwIfAlreadyLoaded as dP, measureText2 as dQ, measureText as dR, measureTextBy as dS, genrateInlineMoId as dT, enumValueToStringSize as dU, isVersionBiggerThan as dV, compareVersions as dW, scrollToElement as dX, executeUlvCommandHandler as dY, getUniqueId as dZ, getDateService as d_, ReportModel as da, ReportListModel as db, ReportFormModel as dc, ReportCalendarModel as dd, ReportTreeModel as de, ReportViewColumn as df, DefaultGridSetting as dg, GridSetting as dh, ColSetting as di, SortSetting as dj, ReportField as dk, DateRanges as dl, SortDirection as dm, SelectionMode as dn, UlvHeightSizeType as dp, FilesValidationHelper as dq, BarsaApi as dr, ReportViewBaseComponent as ds, FormPropsBaseComponent as dt, LinearListHelper as du, PageWithFormHandlerBaseComponent as dv, FormPageBaseComponent as dw, FormPageComponent as dx, BaseColumnPropsComponent as dy, TilePropsComponent as dz, DynamicItemComponent as e, GetContentType as e$, setOneDepthLevel as e0, isFirefox as e1, getImagePath as e2, checkPermission as e3, fixUnclosedParentheses as e4, isFunction as e5, DeviceWidth as e6, getHeaderValue as e7, elementInViewport2 as e8, PreventDefaulEvent as e9, getFormSettings as eA, createFormPanelMetaConditions as eB, getNewMoGridEditor as eC, createGridEditorFormPanel as eD, getLayoutControl as eE, getControlList as eF, shallowEqual as eG, toNumber as eH, InputNumber as eI, AffixRespondEvents as eJ, isTargetWindow as eK, getTargetRect as eL, getFieldValue as eM, availablePrefixes as eN, requestAnimationFramePolyfill as eO, ExecuteDynamicCommand as eP, ExecuteWorkflowChoiceDef as eQ, getRequestAnimationFrame as eR, cancelRequestAnimationFrame as eS, easeInOutCubic as eT, WordMimeType as eU, ImageMimeType as eV, PdfMimeType as eW, AllFilesMimeType as eX, VideoMimeType as eY, AudioMimeType as eZ, MimeTypes as e_, stopPropagation as ea, getParentHeight as eb, getComponentDefined as ec, isSafari as ed, isFF as ee, getDeviceIsPhone as ef, getDeviceIsDesktop as eg, getDeviceIsTablet as eh, getDeviceIsMobile as ei, getControlSizeMode as ej, formatBytes as ek, getValidExtension as el, getIcon as em, isImage as en, GetAllColumnsSorted as eo, GetVisibleValue as ep, GroupBy as eq, FindGroup as er, FillAllLayoutControls as es, FindToolbarItem as et, FindLayoutSettingFromLayout94 as eu, GetAllHorizontalFromLayout94 as ev, getGridSettings as ew, getResetGridSettings as ex, GetDefaultMoObjectInfo as ey, getLayout94ObjectInfo as ez, formRoutes as f, GetViewableExtensions as f0, ChangeLayoutInfoCustomUi as f1, mobile_regex as f2, number_only as f3, forbiddenValidator as f4, GetImgTags as f5, ImagetoPrint as f6, PrintImage as f7, SaveImageToFile as f8, validateAllFormFields as f9, getFocusableTagNames as fa, addCssVariableToRoot as fb, flattenTree as fc, IsDarkMode as fd, nullOrUndefinedString as fe, fromEntries as ff, bodyClick as fg, removeDynamicStyle as fh, addDynamicVariableTo as fi, AddDynamicFormStyles as fj, RemoveDynamicFormStyles as fk, ContainerComponent as fl, IntersectionStatus as fm, fromIntersectionObserver as fn, CustomRouteReuseStrategy as fo, AuthGuard as fp, RedirectHomeGuard as fq, RootPageComponent as fr, ResizableComponent as fs, ResizableDirective as ft, ResizableModule as fu, PushBannerComponent as fv, BarsaNovinRayCoreModule as fw, BaseViewPropsComponent as g, BaseViewContentPropsComponent as h, BaseViewItemPropsComponent as i, BaseItemContentPropsComponent as j, CardBaseItemContentPropsComponent as k, BaseFormToolbaritemPropsComponent as l, DynamicFormToolbaritemComponent as m, DynamicLayoutComponent as n, DynamicTileGroupComponent as o, DynamicUlvToolbarComponent as p, DynamicUlvPagingComponent as q, reportRoutes as r, RootPortalComponent as s, BaseComponent as t, AttrRtlDirective as u, BaseDirective as v, ColumnResizerDirective as w, DynamicCommandDirective as x, EllipsifyDirective as y, IntersectionObserverDirective as z };
|
|
18958
|
-
//# sourceMappingURL=barsa-novin-ray-core-barsa-novin-ray-core-
|
|
18989
|
+
//# sourceMappingURL=barsa-novin-ray-core-barsa-novin-ray-core-DtuYXVoL.mjs.map
|