barsa-novin-ray-core 2.0.127 → 2.0.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/esm2022/lib/abstract-classes/base-column-props.mjs +4 -2
- package/esm2022/lib/controllers/login-verification-controller.mjs +6 -4
- package/esm2022/lib/dynamic-component/base-view-item-props.mjs +4 -2
- package/esm2022/lib/login2/login2.component.mjs +7 -7
- package/fesm2022/barsa-novin-ray-core.mjs +17 -11
- package/fesm2022/barsa-novin-ray-core.mjs.map +1 -1
- package/lib/abstract-classes/base-column-props.d.ts +2 -1
- package/lib/dynamic-component/base-view-item-props.d.ts +2 -1
- package/package.json +1 -1
|
@@ -10091,7 +10091,7 @@ class BaseColumnPropsComponent extends BaseComponent {
|
|
|
10091
10091
|
this.changeToEditMode.emit(this._el.nativeElement);
|
|
10092
10092
|
}
|
|
10093
10093
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BaseColumnPropsComponent, deps: [{ token: ColumnService, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10094
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: BaseColumnPropsComponent, selector: "bnrc-base-column-props", inputs: { allColumns: "allColumns", column: "column", mo: "mo", index: "index", editMode: "editMode", customRowHeight: "customRowHeight", controlUi: "controlUi", formLayoutShowLabel: "formLayoutShowLabel", isChecked: "isChecked", isdirty: "isdirty", isNewInlineMo: "isNewInlineMo", layout94: "layout94", detailsComponentSetting: "detailsComponentSetting", value: "value", icon: "icon", rtl: "rtl", deviceName: "deviceName", deviceSize: "deviceSize", customComponent: "customComponent" }, outputs: { save: "save", cancel: "cancel", tab: "tab", changeToEditMode: "changeToEditMode" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10094
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: BaseColumnPropsComponent, selector: "bnrc-base-column-props", inputs: { allColumns: "allColumns", column: "column", mo: "mo", index: "index", editMode: "editMode", isMobile: "isMobile", customRowHeight: "customRowHeight", controlUi: "controlUi", formLayoutShowLabel: "formLayoutShowLabel", isChecked: "isChecked", isdirty: "isdirty", isNewInlineMo: "isNewInlineMo", layout94: "layout94", detailsComponentSetting: "detailsComponentSetting", value: "value", icon: "icon", rtl: "rtl", deviceName: "deviceName", deviceSize: "deviceSize", customComponent: "customComponent" }, outputs: { save: "save", cancel: "cancel", tab: "tab", changeToEditMode: "changeToEditMode" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10095
10095
|
}
|
|
10096
10096
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BaseColumnPropsComponent, decorators: [{
|
|
10097
10097
|
type: Component,
|
|
@@ -10122,6 +10122,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
10122
10122
|
type: Input
|
|
10123
10123
|
}], editMode: [{
|
|
10124
10124
|
type: Input
|
|
10125
|
+
}], isMobile: [{
|
|
10126
|
+
type: Input
|
|
10125
10127
|
}], customRowHeight: [{
|
|
10126
10128
|
type: Input
|
|
10127
10129
|
}], controlUi: [{
|
|
@@ -11244,7 +11246,7 @@ class BaseViewItemPropsComponent extends BaseViewPropsComponent {
|
|
|
11244
11246
|
});
|
|
11245
11247
|
}
|
|
11246
11248
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BaseViewItemPropsComponent, deps: [{ token: i0.ElementRef }, { token: i4.DomSanitizer }, { token: i0.ChangeDetectorRef }, { token: MoReportValuePipe }, { token: FormPanelService, optional: true, skipSelf: true }, { token: FormPanelService, optional: true, self: true }, { token: UlvMainService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11247
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: BaseViewItemPropsComponent, selector: "bnrc-base-view-item-props", inputs: { checkboxComponent: "checkboxComponent", disableEllapsis: "disableEllapsis", detailsComponent: "detailsComponent", detailsColumns: "detailsColumns", detailsText: "detailsText", mo: "mo", moDataListCount: "moDataListCount", index: "index", last: "last", isdirty: "isdirty", isChecked: "isChecked", hideDetailsText: "hideDetailsText", showViewButton: "showViewButton", isNewInlineMo: "isNewInlineMo", extraRelation: "extraRelation", hideOpenIcon: "hideOpenIcon", inDialog: "inDialog", isMultiSelect: "isMultiSelect", rowIndicator: "rowIndicator", groupSummary: "groupSummary", isLastChildGroup: "isLastChildGroup", showRowNumber: "showRowNumber", rowNumber: "rowNumber", coloringRow: "coloringRow", noSaveInlineEditInServer: "noSaveInlineEditInServer", rowIndicatorColor: "rowIndicatorColor", UlvMainCtrlr: "UlvMainCtrlr", fieldDict: "fieldDict", actionList: "actionList", serializedRelatedMo: "serializedRelatedMo", cartableTemplate: "cartableTemplate", cartableMo: "cartableMo", cartableWorkflowData: "cartableWorkflowData" }, outputs: { actionListClick: "actionListClick", events: "events" }, viewQueries: [{ propertyName: "_cartableFormRef", first: true, predicate: ["cartableFormRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11249
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: BaseViewItemPropsComponent, selector: "bnrc-base-view-item-props", inputs: { checkboxComponent: "checkboxComponent", disableEllapsis: "disableEllapsis", detailsComponent: "detailsComponent", detailsColumns: "detailsColumns", detailsText: "detailsText", mo: "mo", moDataListCount: "moDataListCount", index: "index", last: "last", isdirty: "isdirty", isChecked: "isChecked", hideDetailsText: "hideDetailsText", showViewButton: "showViewButton", isNewInlineMo: "isNewInlineMo", extraRelation: "extraRelation", hideOpenIcon: "hideOpenIcon", inDialog: "inDialog", isMobile: "isMobile", isMultiSelect: "isMultiSelect", rowIndicator: "rowIndicator", groupSummary: "groupSummary", isLastChildGroup: "isLastChildGroup", showRowNumber: "showRowNumber", rowNumber: "rowNumber", coloringRow: "coloringRow", noSaveInlineEditInServer: "noSaveInlineEditInServer", rowIndicatorColor: "rowIndicatorColor", UlvMainCtrlr: "UlvMainCtrlr", fieldDict: "fieldDict", actionList: "actionList", serializedRelatedMo: "serializedRelatedMo", cartableTemplate: "cartableTemplate", cartableMo: "cartableMo", cartableWorkflowData: "cartableWorkflowData" }, outputs: { actionListClick: "actionListClick", events: "events" }, viewQueries: [{ propertyName: "_cartableFormRef", first: true, predicate: ["cartableFormRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11248
11250
|
}
|
|
11249
11251
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BaseViewItemPropsComponent, decorators: [{
|
|
11250
11252
|
type: Component,
|
|
@@ -11304,6 +11306,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
11304
11306
|
type: Input
|
|
11305
11307
|
}], inDialog: [{
|
|
11306
11308
|
type: Input
|
|
11309
|
+
}], isMobile: [{
|
|
11310
|
+
type: Input
|
|
11307
11311
|
}], isMultiSelect: [{
|
|
11308
11312
|
type: Input
|
|
11309
11313
|
}], rowIndicator: [{
|
|
@@ -13728,13 +13732,12 @@ class LoginVerificationController extends BaseController {
|
|
|
13728
13732
|
captchaCode: cap,
|
|
13729
13733
|
capId
|
|
13730
13734
|
})
|
|
13731
|
-
.pipe(finalize$1(() => {
|
|
13732
|
-
this.loading.set(false);
|
|
13733
|
-
}), catchError$1((err) => {
|
|
13735
|
+
.pipe(finalize$1(() => { }), catchError$1((err) => {
|
|
13734
13736
|
if (typeof err === 'object' && err.status === 403) {
|
|
13735
13737
|
this.view.showError(err.error.Message, err.error.Code);
|
|
13736
13738
|
}
|
|
13737
13739
|
return throwError(() => new Error(err));
|
|
13740
|
+
this.loading.set(false);
|
|
13738
13741
|
}))
|
|
13739
13742
|
.subscribe((c) => {
|
|
13740
13743
|
if (c?.Sth) {
|
|
@@ -13742,6 +13745,9 @@ class LoginVerificationController extends BaseController {
|
|
|
13742
13745
|
window.localStorage.setItem(BarsaApi.LoginAction.token2StorageKey, c.Sth);
|
|
13743
13746
|
this.view.codeVerified();
|
|
13744
13747
|
}
|
|
13748
|
+
else {
|
|
13749
|
+
this.loading.set(false);
|
|
13750
|
+
}
|
|
13745
13751
|
});
|
|
13746
13752
|
}
|
|
13747
13753
|
init() {
|
|
@@ -13909,10 +13915,10 @@ class Login2Component {
|
|
|
13909
13915
|
BackgroundUrl: '',
|
|
13910
13916
|
LogoUrl: '',
|
|
13911
13917
|
HideGovSso: true,
|
|
13912
|
-
Section1Title: '
|
|
13913
|
-
Section1Description: '
|
|
13914
|
-
Subtitle: '
|
|
13915
|
-
Title: '
|
|
13918
|
+
Section1Title: '',
|
|
13919
|
+
Section1Description: '',
|
|
13920
|
+
Subtitle: '',
|
|
13921
|
+
Title: ''
|
|
13916
13922
|
});
|
|
13917
13923
|
this.logoUrl = '';
|
|
13918
13924
|
this.backgroundUrl = '';
|
|
@@ -13943,11 +13949,11 @@ class Login2Component {
|
|
|
13943
13949
|
.catch(() => this.loading.set(false));
|
|
13944
13950
|
}
|
|
13945
13951
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: Login2Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13946
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", type: Login2Component, selector: "bnrc-login2", ngImport: i0, template: "<div class=\"tw-bg-white dark:tw-bg-gray-900 tw-w-full tw-h-full\">\n <div class=\"tw-flex tw-justify-center tw-h-screen\">\n <div\n class=\"tw-hidden tw-bg-cover lg:tw-block lg:tw-w-2/3\"\n [style.background-image]=\"'url(' + appSettings().BackgroundUrl + ')'\"\n >\n <div class=\"tw-flex tw-items-center tw-h-full tw-px-20 tw-bg-gray-900 tw-bg-opacity-40\">\n <div>\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-white\">{{ appSettings().Section1Title }}</h2>\n\n <p class=\"tw-max-w-xl tw-mt-3 tw-text-gray-300\">{{ appSettings().Section1Description }}</p>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex tw-items-center tw-w-full tw-max-w-md tw-px-6 tw-mx-auto lg:tw-w-2/6\">\n <div class=\"tw-flex-1\">\n <div class=\"tw-text-center tw-flex tw-flex-col tw-items-center\">\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <img [src]=\"appSettings().LogoUrl\" />\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-center tw-text-gray-700 dark:tw-text-white\">\n {{ appSettings().Title }}\n </h2>\n </div>\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <
|
|
13952
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", type: Login2Component, selector: "bnrc-login2", ngImport: i0, template: "<div class=\"tw-bg-white dark:tw-bg-gray-900 tw-w-full tw-h-full\">\n <div class=\"tw-flex tw-justify-center tw-h-screen\">\n <div\n class=\"tw-hidden tw-bg-cover lg:tw-block lg:tw-w-2/3\"\n [style.background-image]=\"'url(' + appSettings().BackgroundUrl + ')'\"\n >\n <div class=\"tw-flex tw-items-center tw-h-full tw-px-20 tw-bg-gray-900 tw-bg-opacity-40\">\n <div>\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-white\">{{ appSettings().Section1Title }}</h2>\n\n <p class=\"tw-max-w-xl tw-mt-3 tw-text-gray-300\">{{ appSettings().Section1Description }}</p>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex tw-items-center tw-w-full tw-max-w-md tw-px-6 tw-mx-auto lg:tw-w-2/6\">\n <div class=\"tw-flex-1\">\n <div class=\"tw-text-center tw-flex tw-flex-col tw-items-center\">\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <img [src]=\"appSettings().LogoUrl\" />\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-center tw-text-gray-700 dark:tw-text-white\">\n {{ appSettings().Title }}\n </h2>\n </div>\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <p class=\"tw-mt-3 tw-text-gray-500 dark:tw-text-gray-300\">{{ appSettings().Subtitle }}</p>\n </div>\n </div>\n <div>\n @if(state()==='enter-mobile'){\n <bnrc-login-enter-mobile\n (otpSent)=\"onOtpSent($event)\"\n [errorTemplate]=\"template\"\n ></bnrc-login-enter-mobile>\n }@else{\n <bnrc-login-verification\n [mobile]=\"mobile()\"\n (changeMobile)=\"onChangeMobile()\"\n (otpVerified)=\"onOtpVerfied()\"\n [errorTemplate]=\"template\"\n ></bnrc-login-verification>\n }\n </div>\n @if(state()==='enter-mobile' && !appSettings().HideGovSso){\n <div class=\"tw-relative tw-flex tw-py-5 tw-items-center tw-px-2\">\n <div class=\"tw-flex-grow tw-border-t tw-border-gray-400\"></div>\n <span class=\"tw-font-[IRANYekan] tw-flex-shrink tw-mx-4 tw-text-gray-400\">\u0648\u0631\u0648\u062F \u0627\u0632 \u0637\u0631\u06CC\u0642 \u062F\u0631\u06AF\u0627\u0647</span>\n <div class=\"tw-flex-grow tw-border-t tw-border-gray-400\"></div>\n </div>\n <div class=\"tw-rounded-lg back-box-color tw-w-full tw-py-3\">\n <div class=\"tw-flex tw-items-center tw-text-center\">\n <a class=\"tw-w-full tw-text-blue-600 tw-visited:tw-text-purple-600 tw-text-sm\" href=\"\"\n >\u0648\u0631\u0648\u062F \u0627\u0632 \u0637\u0631\u06CC\u0642 \u062F\u0631\u06AF\u0627\u0647 \u062F\u0648\u0644\u062A \u0645\u0646\n </a>\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n</div>\n<ng-template let-messageToast #template>\n <p class=\"error\" [dismissible]=\"true\">{{ messageToast.data.message }}</p>\n</ng-template>\n", styles: [":host{font-family:IRANYekanDigits}\n"], dependencies: [{ kind: "component", type: LoginEnterMobileComponent, selector: "bnrc-login-enter-mobile", inputs: ["errorTemplate"], outputs: ["otpSent"] }, { kind: "component", type: LoginVerificationComponent, selector: "bnrc-login-verification", inputs: ["mobile", "errorTemplate"], outputs: ["otpVerified", "changeMobile"] }, { kind: "directive", type: MobileDirective, selector: "[mobile]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13947
13953
|
}
|
|
13948
13954
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: Login2Component, decorators: [{
|
|
13949
13955
|
type: Component,
|
|
13950
|
-
args: [{ selector: 'bnrc-login2', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-bg-white dark:tw-bg-gray-900 tw-w-full tw-h-full\">\n <div class=\"tw-flex tw-justify-center tw-h-screen\">\n <div\n class=\"tw-hidden tw-bg-cover lg:tw-block lg:tw-w-2/3\"\n [style.background-image]=\"'url(' + appSettings().BackgroundUrl + ')'\"\n >\n <div class=\"tw-flex tw-items-center tw-h-full tw-px-20 tw-bg-gray-900 tw-bg-opacity-40\">\n <div>\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-white\">{{ appSettings().Section1Title }}</h2>\n\n <p class=\"tw-max-w-xl tw-mt-3 tw-text-gray-300\">{{ appSettings().Section1Description }}</p>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex tw-items-center tw-w-full tw-max-w-md tw-px-6 tw-mx-auto lg:tw-w-2/6\">\n <div class=\"tw-flex-1\">\n <div class=\"tw-text-center tw-flex tw-flex-col tw-items-center\">\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <img [src]=\"appSettings().LogoUrl\" />\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-center tw-text-gray-700 dark:tw-text-white\">\n {{ appSettings().Title }}\n </h2>\n </div>\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <
|
|
13956
|
+
args: [{ selector: 'bnrc-login2', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"tw-bg-white dark:tw-bg-gray-900 tw-w-full tw-h-full\">\n <div class=\"tw-flex tw-justify-center tw-h-screen\">\n <div\n class=\"tw-hidden tw-bg-cover lg:tw-block lg:tw-w-2/3\"\n [style.background-image]=\"'url(' + appSettings().BackgroundUrl + ')'\"\n >\n <div class=\"tw-flex tw-items-center tw-h-full tw-px-20 tw-bg-gray-900 tw-bg-opacity-40\">\n <div>\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-white\">{{ appSettings().Section1Title }}</h2>\n\n <p class=\"tw-max-w-xl tw-mt-3 tw-text-gray-300\">{{ appSettings().Section1Description }}</p>\n </div>\n </div>\n </div>\n\n <div class=\"tw-flex tw-items-center tw-w-full tw-max-w-md tw-px-6 tw-mx-auto lg:tw-w-2/6\">\n <div class=\"tw-flex-1\">\n <div class=\"tw-text-center tw-flex tw-flex-col tw-items-center\">\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <img [src]=\"appSettings().LogoUrl\" />\n <h2 class=\"tw-text-4xl tw-font-bold tw-text-center tw-text-gray-700 dark:tw-text-white\">\n {{ appSettings().Title }}\n </h2>\n </div>\n <div class=\"tw-flex tw-gap-2 tw-items-center\">\n <p class=\"tw-mt-3 tw-text-gray-500 dark:tw-text-gray-300\">{{ appSettings().Subtitle }}</p>\n </div>\n </div>\n <div>\n @if(state()==='enter-mobile'){\n <bnrc-login-enter-mobile\n (otpSent)=\"onOtpSent($event)\"\n [errorTemplate]=\"template\"\n ></bnrc-login-enter-mobile>\n }@else{\n <bnrc-login-verification\n [mobile]=\"mobile()\"\n (changeMobile)=\"onChangeMobile()\"\n (otpVerified)=\"onOtpVerfied()\"\n [errorTemplate]=\"template\"\n ></bnrc-login-verification>\n }\n </div>\n @if(state()==='enter-mobile' && !appSettings().HideGovSso){\n <div class=\"tw-relative tw-flex tw-py-5 tw-items-center tw-px-2\">\n <div class=\"tw-flex-grow tw-border-t tw-border-gray-400\"></div>\n <span class=\"tw-font-[IRANYekan] tw-flex-shrink tw-mx-4 tw-text-gray-400\">\u0648\u0631\u0648\u062F \u0627\u0632 \u0637\u0631\u06CC\u0642 \u062F\u0631\u06AF\u0627\u0647</span>\n <div class=\"tw-flex-grow tw-border-t tw-border-gray-400\"></div>\n </div>\n <div class=\"tw-rounded-lg back-box-color tw-w-full tw-py-3\">\n <div class=\"tw-flex tw-items-center tw-text-center\">\n <a class=\"tw-w-full tw-text-blue-600 tw-visited:tw-text-purple-600 tw-text-sm\" href=\"\"\n >\u0648\u0631\u0648\u062F \u0627\u0632 \u0637\u0631\u06CC\u0642 \u062F\u0631\u06AF\u0627\u0647 \u062F\u0648\u0644\u062A \u0645\u0646\n </a>\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n</div>\n<ng-template let-messageToast #template>\n <p class=\"error\" [dismissible]=\"true\">{{ messageToast.data.message }}</p>\n</ng-template>\n", styles: [":host{font-family:IRANYekanDigits}\n"] }]
|
|
13951
13957
|
}], ctorParameters: () => [] });
|
|
13952
13958
|
|
|
13953
13959
|
class BaseUlvSettingComponent extends BaseComponent {
|