barsa-novin-ray-core 2.3.57 → 2.3.58
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.
|
@@ -14968,7 +14968,7 @@ class MeasureFormTitleWidthDirective extends BaseDirective {
|
|
|
14968
14968
|
super(...arguments);
|
|
14969
14969
|
this.ismobile = getDeviceIsMobile();
|
|
14970
14970
|
}
|
|
14971
|
-
|
|
14971
|
+
ngAfterViewInit() {
|
|
14972
14972
|
super.ngOnInit();
|
|
14973
14973
|
this._addClass(this.mWidthTitle);
|
|
14974
14974
|
}
|
|
@@ -14977,7 +14977,7 @@ class MeasureFormTitleWidthDirective extends BaseDirective {
|
|
|
14977
14977
|
changes.mWidthTitle && !changes.mWidthTitle.firstChange && this._addClass(changes.mWidthTitle.currentValue);
|
|
14978
14978
|
}
|
|
14979
14979
|
_addClass(title) {
|
|
14980
|
-
if (!this.ismobile) {
|
|
14980
|
+
if (!this.ismobile && !this.enableMobile) {
|
|
14981
14981
|
return;
|
|
14982
14982
|
}
|
|
14983
14983
|
this._renderer2.removeClass(this._el.nativeElement, 'title-auto');
|
|
@@ -14988,7 +14988,7 @@ class MeasureFormTitleWidthDirective extends BaseDirective {
|
|
|
14988
14988
|
: this._renderer2.addClass(this._el.nativeElement, 'title-auto');
|
|
14989
14989
|
}
|
|
14990
14990
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MeasureFormTitleWidthDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14991
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: MeasureFormTitleWidthDirective, isStandalone: false, selector: "[mWidthTitle]", inputs: { mWidthTitle: "mWidthTitle" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
14991
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: MeasureFormTitleWidthDirective, isStandalone: false, selector: "[mWidthTitle]", inputs: { mWidthTitle: "mWidthTitle", enableMobile: "enableMobile" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
14992
14992
|
}
|
|
14993
14993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MeasureFormTitleWidthDirective, decorators: [{
|
|
14994
14994
|
type: Directive,
|
|
@@ -14998,6 +14998,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
14998
14998
|
}]
|
|
14999
14999
|
}], propDecorators: { mWidthTitle: [{
|
|
15000
15000
|
type: Input
|
|
15001
|
+
}], enableMobile: [{
|
|
15002
|
+
type: Input
|
|
15001
15003
|
}] } });
|
|
15002
15004
|
|
|
15003
15005
|
class OverflowTextDirective extends BaseDirective {
|