@skysoftware-co/bayan-core-widgets-ui 0.0.21 → 0.0.22
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/skysoftware-co-bayan-core-widgets-ui.mjs +517 -130
- package/fesm2022/skysoftware-co-bayan-core-widgets-ui.mjs.map +1 -1
- package/lib/side-menu-widget/components/privacy-dialog/privacy-dialog-widget.component.d.ts +10 -0
- package/lib/side-menu-widget/components/side-menu-item/side-menu-item-widget.component.d.ts +21 -0
- package/lib/side-menu-widget/components/terms-dialog/terms-dialog-widget.component.d.ts +10 -0
- package/lib/side-menu-widget/index.d.ts +4 -0
- package/lib/side-menu-widget/side-menu-widget.component.d.ts +29 -0
- package/lib/top-menu-widget/components/change-password-widget/change-password-widget.component.d.ts +1 -0
- package/lib/top-menu-widget/components/settings-widget/settings-widget.component.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Pipe, inject, EventEmitter, Output, Input, ViewChild, ChangeDetectionStrategy, Component, signal, HostListener, computed } from '@angular/core';
|
|
3
1
|
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, Injectable, Pipe, EventEmitter, Output, Input, ViewChild, ChangeDetectionStrategy, Component, signal, HostListener, computed, ViewEncapsulation } from '@angular/core';
|
|
4
4
|
import { map, catchError, throwError, BehaviorSubject } from 'rxjs';
|
|
5
5
|
import * as i1$2 from '@angular/common';
|
|
6
6
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
7
7
|
import * as i1$1 from '@fortawesome/angular-fontawesome';
|
|
8
8
|
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
9
|
-
import { faTools, faGrid, faDollar, faUsers, faRightLeft, faMedal, faGraduationCap, faBell, faCheckCircle, faCheck, faCog, faInfoCircle, faPersonRunning, faQuestionCircle } from '@fortawesome/pro-solid-svg-icons';
|
|
10
|
-
import { Router } from '@angular/router';
|
|
9
|
+
import { faTools, faGrid, faDollar, faUsers, faRightLeft, faMedal, faGraduationCap, faBell, faCheckCircle, faCheck, faCog, faInfoCircle, faPersonRunning, faQuestionCircle, faAngleDown, faAngleRight, faBolt, faCalendarDays, faCalculator, faHouseChimney, faMoneyBill, faMoneyBill1, faBuildingColumns, faAngleLeft } from '@fortawesome/pro-solid-svg-icons';
|
|
10
|
+
import { Router, RouterModule } from '@angular/router';
|
|
11
11
|
import * as i1 from 'devextreme-angular';
|
|
12
12
|
import { DxAutocompleteModule, DxPopupModule, DxFormModule, DxToolbarModule } from 'devextreme-angular';
|
|
13
13
|
import { faClock } from '@fortawesome/pro-light-svg-icons';
|
|
@@ -15,6 +15,110 @@ import * as i2 from 'devextreme-angular/core';
|
|
|
15
15
|
import { SkyAlertToastService, SkyFooterActionsComponent } from '@skysoftware-co/sky-components-ui';
|
|
16
16
|
import * as i3 from 'devextreme-angular/ui/nested';
|
|
17
17
|
import { BayanEmployeeBadgeComponent } from '@skysoftware-co/bayan-components-ui';
|
|
18
|
+
import { faCalendarDays as faCalendarDays$1, faCalculator as faCalculator$1, faMoneyBill as faMoneyBill$1, faMoneyBill1 as faMoneyBill1$1 } from '@fortawesome/pro-regular-svg-icons';
|
|
19
|
+
|
|
20
|
+
var EmployeeNamesModeOption;
|
|
21
|
+
(function (EmployeeNamesModeOption) {
|
|
22
|
+
EmployeeNamesModeOption[EmployeeNamesModeOption["ShortNames"] = 1] = "ShortNames";
|
|
23
|
+
EmployeeNamesModeOption[EmployeeNamesModeOption["StandardNames"] = 2] = "StandardNames";
|
|
24
|
+
EmployeeNamesModeOption[EmployeeNamesModeOption["FullNames"] = 3] = "FullNames";
|
|
25
|
+
})(EmployeeNamesModeOption || (EmployeeNamesModeOption = {}));
|
|
26
|
+
var BlockableModule;
|
|
27
|
+
(function (BlockableModule) {
|
|
28
|
+
BlockableModule[BlockableModule["HumanResources"] = 4] = "HumanResources";
|
|
29
|
+
BlockableModule[BlockableModule["Timekeeping"] = 5] = "Timekeeping";
|
|
30
|
+
})(BlockableModule || (BlockableModule = {}));
|
|
31
|
+
var SystemModule;
|
|
32
|
+
(function (SystemModule) {
|
|
33
|
+
SystemModule[SystemModule["Corporate"] = 1] = "Corporate";
|
|
34
|
+
SystemModule[SystemModule["Cluster"] = 2] = "Cluster";
|
|
35
|
+
SystemModule[SystemModule["Setup"] = 3] = "Setup";
|
|
36
|
+
SystemModule[SystemModule["HumanResources"] = 4] = "HumanResources";
|
|
37
|
+
SystemModule[SystemModule["Timekeeping"] = 5] = "Timekeeping";
|
|
38
|
+
SystemModule[SystemModule["Payroll"] = 6] = "Payroll";
|
|
39
|
+
SystemModule[SystemModule["Training"] = 7] = "Training";
|
|
40
|
+
SystemModule[SystemModule["Workflow"] = 8] = "Workflow";
|
|
41
|
+
SystemModule[SystemModule["Appraisal"] = 9] = "Appraisal";
|
|
42
|
+
SystemModule[SystemModule["BusinessIntelligence"] = 10] = "BusinessIntelligence";
|
|
43
|
+
})(SystemModule || (SystemModule = {}));
|
|
44
|
+
|
|
45
|
+
class BayanCoreTopMenuService {
|
|
46
|
+
http = inject(HttpClient);
|
|
47
|
+
unwrap(obs) {
|
|
48
|
+
return obs.pipe(map((env) => {
|
|
49
|
+
if (!env.ResponseData) {
|
|
50
|
+
throw new Error('No data received');
|
|
51
|
+
}
|
|
52
|
+
return env.ResponseData;
|
|
53
|
+
}), catchError((error) => throwError(() => error)));
|
|
54
|
+
}
|
|
55
|
+
getBaseUrl(baseUrl) {
|
|
56
|
+
let url = baseUrl.replace('/api', '');
|
|
57
|
+
return `${url.replace(/\/$/, '')}/api/app-frame`;
|
|
58
|
+
}
|
|
59
|
+
getMicroserviceMenusByProperty(baseUrl, propertyId, systemModule) {
|
|
60
|
+
const params = new HttpParams()
|
|
61
|
+
.set('PropertyId', propertyId)
|
|
62
|
+
.set('SystemModule', systemModule);
|
|
63
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/left-menu`, { params }));
|
|
64
|
+
}
|
|
65
|
+
getMicroserviceTopMenusShortcut(baseUrl, propertyId, systemModule) {
|
|
66
|
+
const params = new HttpParams()
|
|
67
|
+
.set('PropertyId', propertyId)
|
|
68
|
+
.set('SystemModule', systemModule);
|
|
69
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/top-shortcuts`, {
|
|
70
|
+
params,
|
|
71
|
+
}));
|
|
72
|
+
}
|
|
73
|
+
getGlobalSearchMenus(baseUrl, propertyId) {
|
|
74
|
+
let params = new HttpParams();
|
|
75
|
+
if (propertyId != null) {
|
|
76
|
+
params = params.set('PropertyId', propertyId);
|
|
77
|
+
}
|
|
78
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/global-search-menus`, { params }));
|
|
79
|
+
}
|
|
80
|
+
getUserPanel(baseUrl) {
|
|
81
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/user-panel`));
|
|
82
|
+
}
|
|
83
|
+
switchProperty(baseUrl, request) {
|
|
84
|
+
return this.unwrap(this.http.post(`${this.getBaseUrl(baseUrl)}/switch-property`, request));
|
|
85
|
+
}
|
|
86
|
+
getPreferences(baseUrl) {
|
|
87
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/preferences`));
|
|
88
|
+
}
|
|
89
|
+
setDisplayAlternateNames(baseUrl, request) {
|
|
90
|
+
return this.http.post(`${this.getBaseUrl(baseUrl)}/preferences/alternate-names`, request);
|
|
91
|
+
}
|
|
92
|
+
setEmployeeNamesMode(baseUrl, request) {
|
|
93
|
+
return this.http.post(`${this.getBaseUrl(baseUrl)}/preferences/employee-names-mode`, request);
|
|
94
|
+
}
|
|
95
|
+
getModuleBlockState(baseUrl, systemModule) {
|
|
96
|
+
const params = new HttpParams().set('SystemModule', systemModule);
|
|
97
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/module-block-state`, {
|
|
98
|
+
params,
|
|
99
|
+
}));
|
|
100
|
+
}
|
|
101
|
+
blockModule(baseUrl, request) {
|
|
102
|
+
return this.http.post(`${this.getBaseUrl(baseUrl)}/block-module`, request);
|
|
103
|
+
}
|
|
104
|
+
releaseModule(baseUrl, request) {
|
|
105
|
+
return this.http.post(`${this.getBaseUrl(baseUrl)}/release-module`, request);
|
|
106
|
+
}
|
|
107
|
+
getNotificationsSummary(baseUrl) {
|
|
108
|
+
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/notifications-summary`));
|
|
109
|
+
}
|
|
110
|
+
changePassword(baseUrl, request) {
|
|
111
|
+
return this.http.post(`${this.getBaseUrl(baseUrl)}/change-password`, request);
|
|
112
|
+
}
|
|
113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
114
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuService, providedIn: 'root' });
|
|
115
|
+
}
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuService, decorators: [{
|
|
117
|
+
type: Injectable,
|
|
118
|
+
args: [{
|
|
119
|
+
providedIn: 'root',
|
|
120
|
+
}]
|
|
121
|
+
}] });
|
|
18
122
|
|
|
19
123
|
var Employees$1 = "Employees";
|
|
20
124
|
var Notifications$1 = "Notifications";
|
|
@@ -698,6 +802,37 @@ var ServiceChargeReports$1 = "Service Charge Reports";
|
|
|
698
802
|
var OrganizationalChartReport$1 = "Organizational Chart";
|
|
699
803
|
var BankExport$1 = "Bank Export";
|
|
700
804
|
var IndemnityAccrualPaymentSheet$1 = "Indemnity Accrual Payment Sheet";
|
|
805
|
+
var Terms$1 = "Terms";
|
|
806
|
+
var Privacy$1 = "Privacy";
|
|
807
|
+
var TermsAndConditions$1 = "Terms and Conditions";
|
|
808
|
+
var Trademarks$1 = "Trademarks";
|
|
809
|
+
var Copyrights$1 = "Copyrights";
|
|
810
|
+
var SubmissionOfIdeas$1 = "Submission of Ideas";
|
|
811
|
+
var Links$1 = "Links";
|
|
812
|
+
var RulesOfConduct$1 = "Rules of Conduct";
|
|
813
|
+
var Disclaimer$1 = "Disclaimer";
|
|
814
|
+
var PrivacyStatement$1 = "Privacy Statement";
|
|
815
|
+
var DataSubmission$1 = "Data Submission";
|
|
816
|
+
var ProtectionOfData$1 = "Protection of Data";
|
|
817
|
+
var ChangesOnPrivacyPolicy$1 = "Changes on Privacy Policy";
|
|
818
|
+
var PrivacyIntro$1 = "Sky Software may collect or require users of its products to submit personally-identifying information such as email addresses, business addresses, names, and phone numbers. Also, like most software vendors, Sky Software does collect non-personally-identifying information of the sort that web browsers and servers typically make available, such as the browser type, language preference, referring site, and date and time of each visitor request. Sky Software also collects potentially personally-identifying information like IP addresses, which are non-personally-identifying in and of themselves. Sky Software collects this information to better understand how Sky Software customers use its products. Sky Software may share potentially personally-identifying information with its employees only. Sky Software may also release non-personally-identifying information about users by publishing reports on application usage trends.";
|
|
819
|
+
var PrivacyDataSubmissionText$1 = "Some customers may register with Sky Software online services in ways that require Sky Software to know more about them. The amount and type of information that Sky Software gathers depends on the nature of the service. Sky Software collects personally-identifying information to fulfill the purpose of assisting those customers in the best way possible.";
|
|
820
|
+
var PrivacyProtectionOfDataText$1 = "Where Sky Software has collected personally-identifying information through certain form submission pages and by the own will of the submitter to initiate direct contact with Sky Software, accordingly, Sky Software may disclose that information only to its employees and/or partners that need to know that information to process it. Some of those employees may be located outside of your home country; by using Sky Software's products, you consent to the transfer of your information to them. Sky Software does not rent or sell such information to anyone. Other than itself as described above, Sky Software discloses such information only when required to do so by law, or when Sky Software believes in good faith that disclosure is reasonably necessary to protect the property or rights of Sky Software, or the public at large. Sky Software takes all measures reasonably necessary to protect against the unauthorized access, use, alternation, or destruction of such information.";
|
|
821
|
+
var PrivacyChangesText$1 = "Although changes are likely to be minor, Sky Software may change its privacy policy from time to time. Any and all changes will be reflected on this page.";
|
|
822
|
+
var PrivacyContactUs$1 = "For more information, please don't hesitate to <a href='https://www.skyits.com/contact' target='_blank' rel='noopener'>contact us</a>.";
|
|
823
|
+
var TermsIntro1$1 = "Please read these terms carefully before using this application. By using this application, you have accepted these terms. If you do not accept these terms, do not use the application.";
|
|
824
|
+
var TermsIntro2$1 = "Sky Software may modify all or part of these terms at any time without prior notice. You should check back often so you are aware of your current rights and responsibilities. Your continued use of this application after changes to the terms have been published constitutes your binding acceptance of the updated terms. If at any time the Terms of Use are no longer acceptable to you, you should immediately cease all use of this application.";
|
|
825
|
+
var TermsTrademarksText$1 = "The trademarks, logos, and product names (\"Marks\") published on this application are the property of Sky Software or other third parties. You are not permitted to use these Marks without the prior written consent of Sky Software or such third party which may own the Mark.";
|
|
826
|
+
var TermsCopyrightsText$1 = "Sky Software either owns the intellectual property rights in the HTML, SWF, text, images, audio, video, software, or other content that is made available on this application, or has obtained the permission of the owner of the intellectual property. Sky Software strictly prohibits the redistribution or copying of any part of this application or content on this application without written permission from Sky Software. Sky Software authorizes you to display on your computer, download and print pages from this application provided the copyright notice appears on all such printouts and the information will not be altered and the content is only used for personal, educational, and non-commercial use and will not redistribute or copy to any other media. Any application, file, or software that is made available to you to download from this application is the copyrighted work of Sky Software and/or third parties.";
|
|
827
|
+
var TermsSubmissionOfIdeasText$1 = "Sky Software or any of its employees do not accept or consider unsolicited ideas. Please do not send any original creative material such as artworks, samples, demos, or other works. The sole purpose of this policy is to avoid potential misunderstandings or disputes when Sky Software products or marketing strategies might seem similar to ideas submitted to Sky Software. if despite our request that you not send us your ideas and materials, you still send them, please understand that Sky Software makes no guarantees whatsoever that your ideas and materials will be treated as confidential or proprietary.";
|
|
828
|
+
var TermsLinksText$1 = "This application contains links to other web sites and resources and are provided for convenience only. Sky Software has not reviewed the linked web sites and is not responsible for the content or availability of any linked web sites. The inclusion of any link to a Web site does not imply endorsement by Sky Software of the Web site or their entities, products or services.";
|
|
829
|
+
var TermsRulesOfConductText1$1 = "Your use of this application is subject to all applicable local, state, national, and international laws and regulations, and you agree not to violate such laws and regulations. Any attempt by any person to deliberately damage this application is a violation of criminal and civil laws. Sky Software reserves the right to seek damages from any such person to the fullest extent permitted by law.";
|
|
830
|
+
var TermsRulesOfConductText2$1 = "In addition, you agree not to post or transmit through this application any material or content that violates or infringes in any way the rights of others or solicits. You may not engage in any activity on this website that restricts or inhibits any other user from using or enjoying this application by \"hacking\", \"cracking\", \"spoofing\", or defacing any portions of this application.";
|
|
831
|
+
var TermsRulesOfConductText3$1 = "You may not post or transmit through this application advertising or commercial solicitations; promotional materials relating to application or online services which are competitive with Sky Software and/or this application; software or other materials that contain viruses, worms, time bombs, Trojan horses, or other harmful or disruptive component, political campaign materials; chain letters; mass mailings, spam mail, any robot, spider, site search/retrieval application, or other manual or automatic device or process to retrieve, index, \"data mine\", or in any way reproduce or circumvent the navigational structure or presentation of this application or its contents. You may not harvest or collect information about application visitors without their express written consent.";
|
|
832
|
+
var TermsDisclaimerText1$1 = "THIS APPLICATION AND ALL CONTENT, MATERIALS, INFORMATION, SOFTWARE, PRODUCTS AND SERVICES ARE PROVIDED ON AN \"AS IS\" AND \"AS AVAILABLE\" BASIS. YOUR USE OF THIS WEBSITE IS AT YOUR OWN RISK. SKY SOFTWARE MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED, AS TO THE FUNCTIONALITY OR USEFULNESS OF THIS APPLICATION. SKY SOFTWARE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. SKY SOFTWARE DISCLAIMS LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, EXEMPLARY, PUNITIVE OR OTHER DAMAGES, OR LOST PROFITS, THAT MAY RESULT, DIRECTLY OR INDIRECTLY, FROM YOUR USE OF THIS APPLICATION, INCLUDING WITHOUT LIMITATION ANY DAMAGE TO COMPUTER SYSTEMS, HARDWARE OR SOFTWARE, LOSS OF DATA, OR ANY OTHER PERFORMANCE FAILURES, OR ANY ERRORS, BUGS, VIRUSES, OR OTHER DEFECTS THAT RESULT FROM OR ARE ASSOCIATED WITH USE OF THIS APPLICATION.";
|
|
833
|
+
var TermsDisclaimerText2$1 = "ANY MATERIAL DOWNLOADED OR OBTAINED THROUGH THE USE OF THIS APPLICATION IS DONE AT YOUR OWN RISK AND YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR LOSS OF DATA THAT RESULTS FROM THE DOWNLOAD OF ANY MATERIAL.";
|
|
834
|
+
var TermsDisclaimerText3$1 = "SKY SOFTWARE IS NOT LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR EXEMPLARY DAMAGES (INCLUDING, WITHOUT LIMITATION, LOSS OF BUSINESS, REVENUE, PROFITS, GOODWILL, USE, DATA, ELECTRONICALLY TRANSMITTED ORDERS, OR OTHER ECONOMIC ADVANTAGE) ARISING OUT OF OR IN CONNECTION WITH THE APPLICATION, EVEN IF SKY SOFTWARE HAS PREVIOUSLY BEEN ADVISED OF, OR REASONABLY COULD HAVE FORESEEN, THE POSSIBILITY OF SUCH DAMAGES, HOWEVER THEY ARISE, WHETHER IN BREACH OF CONTRACT OR IN TORT (INCLUDING NEGLIGENCE), INCLUDING WITHOUT LIMITATION DAMAGES DUE TO (A) THE USE OF OR THE INABILITY TO USE THE APPLICATION; (B) THE COST OF PROCUREMENT OF SUBSTITUTE GOODS AND SERVICES RESULTING FROM ANY GOODS, DATA, INFORMATION OR SERVICES PURCHASED OR OBTAINED OR MESSAGES RECEIVED OR TRANSACTIONS ENTERED INTO, THROUGH OR FROM THE APPLICATION; (C) STATEMENTS OR CONDUCT OF ANY THIRD PARTY ON THE APPLICATION, INCLUDING WITHOUT LIMITATION, UNAUTHORIZED ACCESS TO OR ALTERATION OF TRANSMISSIONS OR DATA, MALICIOUS OR CRIMINAL BEHAVIOR, OR FALSE OR FRAUDULENT TRANSACTIONS, OR (D) CONTENT OR INFORMATION YOU MAY DOWNLOAD, USE, MODIFY, OR DISTRIBUTE.";
|
|
835
|
+
var TermsDisclaimerText4$1 = "TO THE EXTENT ANY JURISDICTION DOES NOT ALLOW THE EXCLUSION OR LIMITATION OF DIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES, PORTIONS OF THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY.";
|
|
701
836
|
var en = {
|
|
702
837
|
Employees: Employees$1,
|
|
703
838
|
Notifications: Notifications$1,
|
|
@@ -1380,7 +1515,39 @@ var en = {
|
|
|
1380
1515
|
ServiceChargeReports: ServiceChargeReports$1,
|
|
1381
1516
|
OrganizationalChartReport: OrganizationalChartReport$1,
|
|
1382
1517
|
BankExport: BankExport$1,
|
|
1383
|
-
IndemnityAccrualPaymentSheet: IndemnityAccrualPaymentSheet$1
|
|
1518
|
+
IndemnityAccrualPaymentSheet: IndemnityAccrualPaymentSheet$1,
|
|
1519
|
+
"Sky Software": "Sky Software",
|
|
1520
|
+
Terms: Terms$1,
|
|
1521
|
+
Privacy: Privacy$1,
|
|
1522
|
+
TermsAndConditions: TermsAndConditions$1,
|
|
1523
|
+
Trademarks: Trademarks$1,
|
|
1524
|
+
Copyrights: Copyrights$1,
|
|
1525
|
+
SubmissionOfIdeas: SubmissionOfIdeas$1,
|
|
1526
|
+
Links: Links$1,
|
|
1527
|
+
RulesOfConduct: RulesOfConduct$1,
|
|
1528
|
+
Disclaimer: Disclaimer$1,
|
|
1529
|
+
PrivacyStatement: PrivacyStatement$1,
|
|
1530
|
+
DataSubmission: DataSubmission$1,
|
|
1531
|
+
ProtectionOfData: ProtectionOfData$1,
|
|
1532
|
+
ChangesOnPrivacyPolicy: ChangesOnPrivacyPolicy$1,
|
|
1533
|
+
PrivacyIntro: PrivacyIntro$1,
|
|
1534
|
+
PrivacyDataSubmissionText: PrivacyDataSubmissionText$1,
|
|
1535
|
+
PrivacyProtectionOfDataText: PrivacyProtectionOfDataText$1,
|
|
1536
|
+
PrivacyChangesText: PrivacyChangesText$1,
|
|
1537
|
+
PrivacyContactUs: PrivacyContactUs$1,
|
|
1538
|
+
TermsIntro1: TermsIntro1$1,
|
|
1539
|
+
TermsIntro2: TermsIntro2$1,
|
|
1540
|
+
TermsTrademarksText: TermsTrademarksText$1,
|
|
1541
|
+
TermsCopyrightsText: TermsCopyrightsText$1,
|
|
1542
|
+
TermsSubmissionOfIdeasText: TermsSubmissionOfIdeasText$1,
|
|
1543
|
+
TermsLinksText: TermsLinksText$1,
|
|
1544
|
+
TermsRulesOfConductText1: TermsRulesOfConductText1$1,
|
|
1545
|
+
TermsRulesOfConductText2: TermsRulesOfConductText2$1,
|
|
1546
|
+
TermsRulesOfConductText3: TermsRulesOfConductText3$1,
|
|
1547
|
+
TermsDisclaimerText1: TermsDisclaimerText1$1,
|
|
1548
|
+
TermsDisclaimerText2: TermsDisclaimerText2$1,
|
|
1549
|
+
TermsDisclaimerText3: TermsDisclaimerText3$1,
|
|
1550
|
+
TermsDisclaimerText4: TermsDisclaimerText4$1
|
|
1384
1551
|
};
|
|
1385
1552
|
|
|
1386
1553
|
var Employees = "الموظفون";
|
|
@@ -2103,6 +2270,37 @@ var Tutors = "المدرسون";
|
|
|
2103
2270
|
var InterfaceMappings = "روابط الواجهات";
|
|
2104
2271
|
var InterfaceMapping = "ربط الواجهة";
|
|
2105
2272
|
var OnlineSalaryTransfersRequestSummary = "ملخص طلبات تحويل الرواتب الإلكترونية";
|
|
2273
|
+
var Terms = "الشروط";
|
|
2274
|
+
var Privacy = "الخصوصية";
|
|
2275
|
+
var TermsAndConditions = "الشروط والأحكام";
|
|
2276
|
+
var Trademarks = "العلامات التجارية";
|
|
2277
|
+
var Copyrights = "حقوق النشر";
|
|
2278
|
+
var SubmissionOfIdeas = "تقديم الأفكار";
|
|
2279
|
+
var Links = "الروابط";
|
|
2280
|
+
var RulesOfConduct = "قواعد السلوك";
|
|
2281
|
+
var Disclaimer = "إخلاء المسؤولية";
|
|
2282
|
+
var PrivacyStatement = "بيان الخصوصية";
|
|
2283
|
+
var DataSubmission = "تقديم البيانات";
|
|
2284
|
+
var ProtectionOfData = "حماية البيانات";
|
|
2285
|
+
var ChangesOnPrivacyPolicy = "التغييرات على سياسة الخصوصية";
|
|
2286
|
+
var PrivacyIntro = "قد تجمع شركة سكاي سوفتوير أو تطلب من مستخدمي منتجاتها تقديم معلومات تعريفية شخصية مثل عناوين البريد الإلكتروني وعناوين العمل والأسماء وأرقام الهواتف. كما تجمع الشركة، مثل معظم موردي البرامج، معلومات غير تعريفية كنوع المتصفح وتفضيل اللغة والموقع المرجعي وتاريخ ووقت كل طلب زيارة. كما تجمع الشركة معلومات محتملة التعريف مثل عناوين IP. تجمع الشركة هذه المعلومات لفهم كيفية استخدام عملائها لمنتجاتها. قد تشارك الشركة هذه المعلومات مع موظفيها فقط، وقد تنشر معلومات غير تعريفية عبر تقارير اتجاهات الاستخدام.";
|
|
2287
|
+
var PrivacyDataSubmissionText = "قد يسجل بعض العملاء في خدمات سكاي سوفتوير الإلكترونية بطرق تستلزم من الشركة معرفة المزيد عنهم. تعتمد كمية المعلومات ونوعها على طبيعة الخدمة. تجمع الشركة المعلومات التعريفية الشخصية لمساعدة هؤلاء العملاء بأفضل طريقة ممكنة.";
|
|
2288
|
+
var PrivacyProtectionOfDataText = "حيثما جمعت شركة سكاي سوفتوير معلومات تعريفية شخصية عبر نماذج التقديم وبإرادة المُرسِل، تُفصح الشركة عن هذه المعلومات لموظفيها و/أو شركائها الذين يحتاجون إليها لمعالجتها فقط. قد يكون بعض هؤلاء الموظفين خارج بلدك؛ باستخدامك منتجات الشركة فإنك توافق على نقل معلوماتك. لا تؤجر الشركة هذه المعلومات أو تبيعها. وتُفصح عنها فقط عند الاقتضاء القانوني أو لحماية حقوق الشركة أو الجمهور. تتخذ الشركة جميع التدابير اللازمة للحماية من الوصول غير المصرح به أو التغيير أو الإتلاف.";
|
|
2289
|
+
var PrivacyChangesText = "على الرغم من أن التغييرات من المرجح أن تكون طفيفة، قد تغير شركة سكاي سوفتوير سياسة الخصوصية الخاصة بها من وقت لآخر. ستنعكس جميع التغييرات على هذه الصفحة.";
|
|
2290
|
+
var PrivacyContactUs = "لمزيد من المعلومات، لا تتردد في <a href='https://www.skyits.com/contact' target='_blank' rel='noopener'>الاتصال بنا</a>.";
|
|
2291
|
+
var TermsIntro1 = "يُرجى قراءة هذه الشروط بعناية قبل استخدام هذا التطبيق. باستخدامك لهذا التطبيق، تكون قد قبلت هذه الشروط. إن لم توافق على هذه الشروط، فلا تستخدم التطبيق.";
|
|
2292
|
+
var TermsIntro2 = "قد تُعدّل شركة سكاي سوفتوير جميع هذه الشروط أو جزءًا منها في أي وقت دون إشعار مسبق. يجب عليك التحقق بانتظام لتكون على دراية بحقوقك ومسؤولياتك الحالية. يشكّل استمرارك في استخدام هذا التطبيق بعد نشر التغييرات قبولًا ملزمًا بالشروط المحدّثة. إذا لم تعد شروط الاستخدام مقبولة لديك، فيجب عليك التوقف فورًا عن استخدام التطبيق.";
|
|
2293
|
+
var TermsTrademarksText = "العلامات التجارية والشعارات وأسماء المنتجات المنشورة على هذا التطبيق هي ملك لشركة سكاي سوفتوير أو أطراف ثالثة. لا يُسمح لك باستخدام هذه العلامات دون موافقة كتابية مسبقة.";
|
|
2294
|
+
var TermsCopyrightsText = "تمتلك شركة سكاي سوفتوير حقوق الملكية الفكرية في المحتوى المتاح على هذا التطبيق أو حصلت على إذن صاحب الحق. تحظر الشركة إعادة التوزيع أو النسخ دون إذن خطي منها. تُجيز الشركة لك بعرض وتحميل وطباعة صفحات هذا التطبيق شريطة ظهور إشعار حقوق النشر وعدم تغيير المحتوى واستخدامه لأغراض شخصية غير تجارية فقط.";
|
|
2295
|
+
var TermsSubmissionOfIdeasText = "لا تقبل شركة سكاي سوفتوير أو موظفوها أي أفكار غير مطلوبة. يُرجى عدم إرسال أي مواد إبداعية أصلية. الهدف من هذه السياسة هو تجنب سوء الفهم أو النزاعات. إن أرسلت مواد بالرغم من طلبنا عدم ذلك، فاعلم أن الشركة لا تضمن السرية.";
|
|
2296
|
+
var TermsLinksText = "يحتوي هذا التطبيق على روابط لمواقع أخرى لأغراض الراحة فقط. لم تُراجع الشركة هذه المواقع ولا تتحمل المسؤولية عن محتواها. وجود رابط لا يعني موافقة الشركة على ذلك الموقع.";
|
|
2297
|
+
var TermsRulesOfConductText1 = "خضع استخدامك لهذا التطبيق لجميع القوانين واللوائح المعمول بها، وتوافق على عدم انتهاكها. أي محاولة لإضرار هذا التطبيق هي انتهاك للقوانين الجنائية والمدنية. تحتفظ الشركة بحق المطالبة بالتعويض.";
|
|
2298
|
+
var TermsRulesOfConductText2 = "بالإضافة، توافق على عدم نشر أي محتوى ينتهك حقوق الغير عبر هذا التطبيق. لا يجوز لك القيام بأي نشاط يُقيّد استخدام الآخرين للتطبيق عبر الاختراق أو التشويه.";
|
|
2299
|
+
var TermsRulesOfConductText3 = "لا يجوز لك نشر إعلانات تجارية أو مواد تحتوي على فيروسات أو برامج ضارة، أو استخدام أدوات آلية لجمع بيانات الزوار دون موافقتهم.";
|
|
2300
|
+
var TermsDisclaimerText1 = "يُقدّم هذا التطبيق وجميع محتوياته وخدماته كما هي دون أي ضمان. استخدامك له على مسؤوليتك الخاصة. تخلي الشركة مسؤوليتها عن أي أضرار مباشرة أو غير مباشرة تنتج عن استخدامك لهذا التطبيق.";
|
|
2301
|
+
var TermsDisclaimerText2 = "يخضع تحميل أي مادة من خلال هذا التطبيق لمسؤوليتك الخاصة، وتتحمل وحدك المسؤولية عن أي ضرر ينتج عن ذلك.";
|
|
2302
|
+
var TermsDisclaimerText3 = "لا تتحمل شركة سكاي سوفتوير أي مسؤولية عن أي أضرار مباشرة أو غير مباشرة تنشأ عن استخدام هذا التطبيق أو عدم القدرة على استخدامه أو أي محتويات تُنزّل أو تُستخدم عبر التطبيق.";
|
|
2303
|
+
var TermsDisclaimerText4 = "بالقدر الذي لا تسمح بعض الولايات القضائية باستثناء المسؤولية أو تحديدها، قد لا ينطبق جزء من هذا التحديد.";
|
|
2106
2304
|
var ar = {
|
|
2107
2305
|
Employees: Employees,
|
|
2108
2306
|
Notifications: Notifications,
|
|
@@ -2823,7 +3021,39 @@ var ar = {
|
|
|
2823
3021
|
Tutors: Tutors,
|
|
2824
3022
|
InterfaceMappings: InterfaceMappings,
|
|
2825
3023
|
InterfaceMapping: InterfaceMapping,
|
|
2826
|
-
OnlineSalaryTransfersRequestSummary: OnlineSalaryTransfersRequestSummary
|
|
3024
|
+
OnlineSalaryTransfersRequestSummary: OnlineSalaryTransfersRequestSummary,
|
|
3025
|
+
"Sky Software": "سكاي سوفتوير",
|
|
3026
|
+
Terms: Terms,
|
|
3027
|
+
Privacy: Privacy,
|
|
3028
|
+
TermsAndConditions: TermsAndConditions,
|
|
3029
|
+
Trademarks: Trademarks,
|
|
3030
|
+
Copyrights: Copyrights,
|
|
3031
|
+
SubmissionOfIdeas: SubmissionOfIdeas,
|
|
3032
|
+
Links: Links,
|
|
3033
|
+
RulesOfConduct: RulesOfConduct,
|
|
3034
|
+
Disclaimer: Disclaimer,
|
|
3035
|
+
PrivacyStatement: PrivacyStatement,
|
|
3036
|
+
DataSubmission: DataSubmission,
|
|
3037
|
+
ProtectionOfData: ProtectionOfData,
|
|
3038
|
+
ChangesOnPrivacyPolicy: ChangesOnPrivacyPolicy,
|
|
3039
|
+
PrivacyIntro: PrivacyIntro,
|
|
3040
|
+
PrivacyDataSubmissionText: PrivacyDataSubmissionText,
|
|
3041
|
+
PrivacyProtectionOfDataText: PrivacyProtectionOfDataText,
|
|
3042
|
+
PrivacyChangesText: PrivacyChangesText,
|
|
3043
|
+
PrivacyContactUs: PrivacyContactUs,
|
|
3044
|
+
TermsIntro1: TermsIntro1,
|
|
3045
|
+
TermsIntro2: TermsIntro2,
|
|
3046
|
+
TermsTrademarksText: TermsTrademarksText,
|
|
3047
|
+
TermsCopyrightsText: TermsCopyrightsText,
|
|
3048
|
+
TermsSubmissionOfIdeasText: TermsSubmissionOfIdeasText,
|
|
3049
|
+
TermsLinksText: TermsLinksText,
|
|
3050
|
+
TermsRulesOfConductText1: TermsRulesOfConductText1,
|
|
3051
|
+
TermsRulesOfConductText2: TermsRulesOfConductText2,
|
|
3052
|
+
TermsRulesOfConductText3: TermsRulesOfConductText3,
|
|
3053
|
+
TermsDisclaimerText1: TermsDisclaimerText1,
|
|
3054
|
+
TermsDisclaimerText2: TermsDisclaimerText2,
|
|
3055
|
+
TermsDisclaimerText3: TermsDisclaimerText3,
|
|
3056
|
+
TermsDisclaimerText4: TermsDisclaimerText4
|
|
2827
3057
|
};
|
|
2828
3058
|
|
|
2829
3059
|
// Touch: 2026-05-09
|
|
@@ -2900,84 +3130,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImpo
|
|
|
2900
3130
|
}]
|
|
2901
3131
|
}], ctorParameters: () => [{ type: BayanCoreTranslateService }] });
|
|
2902
3132
|
|
|
2903
|
-
class BayanCoreTopMenuService {
|
|
2904
|
-
http = inject(HttpClient);
|
|
2905
|
-
unwrap(obs) {
|
|
2906
|
-
return obs.pipe(map((env) => {
|
|
2907
|
-
if (!env.ResponseData) {
|
|
2908
|
-
throw new Error('No data received');
|
|
2909
|
-
}
|
|
2910
|
-
return env.ResponseData;
|
|
2911
|
-
}), catchError((error) => throwError(() => error)));
|
|
2912
|
-
}
|
|
2913
|
-
getBaseUrl(baseUrl) {
|
|
2914
|
-
let url = baseUrl.replace('/api', '');
|
|
2915
|
-
return `${url.replace(/\/$/, '')}/api/app-frame`;
|
|
2916
|
-
}
|
|
2917
|
-
getMicroserviceMenusByProperty(baseUrl, propertyId, systemModule) {
|
|
2918
|
-
const params = new HttpParams()
|
|
2919
|
-
.set('PropertyId', propertyId)
|
|
2920
|
-
.set('SystemModule', systemModule);
|
|
2921
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/left-menu`, { params }));
|
|
2922
|
-
}
|
|
2923
|
-
getMicroserviceTopMenusShortcut(baseUrl, propertyId, systemModule) {
|
|
2924
|
-
const params = new HttpParams()
|
|
2925
|
-
.set('PropertyId', propertyId)
|
|
2926
|
-
.set('SystemModule', systemModule);
|
|
2927
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/top-shortcuts`, {
|
|
2928
|
-
params,
|
|
2929
|
-
}));
|
|
2930
|
-
}
|
|
2931
|
-
getGlobalSearchMenus(baseUrl, propertyId) {
|
|
2932
|
-
let params = new HttpParams();
|
|
2933
|
-
if (propertyId != null) {
|
|
2934
|
-
params = params.set('PropertyId', propertyId);
|
|
2935
|
-
}
|
|
2936
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/global-search-menus`, { params }));
|
|
2937
|
-
}
|
|
2938
|
-
getUserPanel(baseUrl) {
|
|
2939
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/user-panel`));
|
|
2940
|
-
}
|
|
2941
|
-
switchProperty(baseUrl, request) {
|
|
2942
|
-
return this.unwrap(this.http.post(`${this.getBaseUrl(baseUrl)}/switch-property`, request));
|
|
2943
|
-
}
|
|
2944
|
-
getPreferences(baseUrl) {
|
|
2945
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/preferences`));
|
|
2946
|
-
}
|
|
2947
|
-
setDisplayAlternateNames(baseUrl, request) {
|
|
2948
|
-
return this.http.post(`${this.getBaseUrl(baseUrl)}/preferences/alternate-names`, request);
|
|
2949
|
-
}
|
|
2950
|
-
setEmployeeNamesMode(baseUrl, request) {
|
|
2951
|
-
return this.http.post(`${this.getBaseUrl(baseUrl)}/preferences/employee-names-mode`, request);
|
|
2952
|
-
}
|
|
2953
|
-
getModuleBlockState(baseUrl, systemModule) {
|
|
2954
|
-
const params = new HttpParams().set('SystemModule', systemModule);
|
|
2955
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/module-block-state`, {
|
|
2956
|
-
params,
|
|
2957
|
-
}));
|
|
2958
|
-
}
|
|
2959
|
-
blockModule(baseUrl, request) {
|
|
2960
|
-
return this.http.post(`${this.getBaseUrl(baseUrl)}/block-module`, request);
|
|
2961
|
-
}
|
|
2962
|
-
releaseModule(baseUrl, request) {
|
|
2963
|
-
return this.http.post(`${this.getBaseUrl(baseUrl)}/release-module`, request);
|
|
2964
|
-
}
|
|
2965
|
-
getNotificationsSummary(baseUrl) {
|
|
2966
|
-
return this.unwrap(this.http.get(`${this.getBaseUrl(baseUrl)}/notifications-summary`));
|
|
2967
|
-
}
|
|
2968
|
-
changePassword(baseUrl, request) {
|
|
2969
|
-
return this.http.post(`${this.getBaseUrl(baseUrl)}/change-password`, request);
|
|
2970
|
-
}
|
|
2971
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2972
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuService, providedIn: 'root' });
|
|
2973
|
-
}
|
|
2974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuService, decorators: [{
|
|
2975
|
-
type: Injectable,
|
|
2976
|
-
args: [{
|
|
2977
|
-
providedIn: 'root',
|
|
2978
|
-
}]
|
|
2979
|
-
}] });
|
|
2980
|
-
|
|
2981
3133
|
class BayanCoreConfigService {
|
|
2982
3134
|
activePropertyId$ = new BehaviorSubject(0);
|
|
2983
3135
|
getActivePropertyId$() {
|
|
@@ -3079,11 +3231,11 @@ class BayanCoreGlobalSearchWidgetComponent {
|
|
|
3079
3231
|
}
|
|
3080
3232
|
}
|
|
3081
3233
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreGlobalSearchWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3082
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreGlobalSearchWidgetComponent, isStandalone: true, selector: "bayan-core-global-search-widget", inputs: { dataSource: "dataSource", baseUrl: "baseUrl", placeholder: "placeholder", searchMode: "searchMode", stylingMode: "stylingMode", searchWrapperClass: "searchWrapperClass", searchItemClass: "searchItemClass", searchItemTitleClass: "searchItemTitleClass", searchItemSubtitleClass: "searchItemSubtitleClass", iconClass: "iconClass" }, outputs: { search: "search", itemNavigate: "itemNavigate" }, viewQueries: [{ propertyName: "searchAutoComplete", first: true, predicate: ["searchAutoComplete"], descendants: true }], ngImport: i0, template: "<div class=\"global-search-wrapper\">\r\n <dx-autocomplete\r\n #searchAutoComplete\r\n [placeholder]=\"placeholder | translate\"\r\n [dataSource]=\"dataSource\"\r\n valueExpr=\"MenuSubTitle\"\r\n [searchExpr]=\"['MenuSubTitle']\"\r\n [showClearButton]=\"false\"\r\n [showDropDownButton]=\"false\"\r\n [searchMode]=\"searchMode\"\r\n [width]=\"'100%'\"\r\n [stylingMode]=\"stylingMode\"\r\n [wrapItemText]=\"true\"\r\n [searchTimeout]=\"100\"\r\n (onInput)=\"onInput($event)\"\r\n (onEnterKey)=\"onEnterKey($event)\">\r\n <div class=\"global-search-dropdown-item\" *dxTemplate=\"let item of 'item'\">\r\n <a class=\"global-search-link compact-search-item\" href=\"{{item.MenuUrl}}\">\r\n <div class=\"d-flex flex-column flex-grow-1\">\r\n <div class=\"d-flex flex-grow-1 align-items-center\">\r\n <fa-icon [icon]=\"getIconForClass(item.IconClass)\" class=\"global-search-icon mx-1\"></fa-icon>\r\n <div class=\"search-title\">@if (item.IsTranslatable) { {{ item.MenuTitle | translate }} } @else { {{ item.MenuTitle }} }</div>\r\n </div>\r\n <div class=\"search-subtitle mx-4\">@if (item.IsTranslatable) { {{ item.MenuSubTitle | translate }} } @else { {{ item.MenuSubTitle }} }</div>\r\n </div>\r\n </a>\r\n </div>\r\n </dx-autocomplete>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxAutocompleteModule }, { kind: "component", type: i1.DxAutocompleteComponent, selector: "dx-autocomplete", inputs: ["accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isDirty", "isValid", "items", "itemTemplate", "label", "labelMode", "maxItemCount", "maxLength", "minSearchLength", "name", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDropDownButton", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isDirtyChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxItemCountChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDropDownButtonChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3234
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreGlobalSearchWidgetComponent, isStandalone: true, selector: "bayan-core-global-search-widget", inputs: { dataSource: "dataSource", baseUrl: "baseUrl", placeholder: "placeholder", searchMode: "searchMode", stylingMode: "stylingMode", searchWrapperClass: "searchWrapperClass", searchItemClass: "searchItemClass", searchItemTitleClass: "searchItemTitleClass", searchItemSubtitleClass: "searchItemSubtitleClass", iconClass: "iconClass" }, outputs: { search: "search", itemNavigate: "itemNavigate" }, viewQueries: [{ propertyName: "searchAutoComplete", first: true, predicate: ["searchAutoComplete"], descendants: true }], ngImport: i0, template: "<div class=\"global-search-wrapper\">\r\n <dx-autocomplete\r\n #searchAutoComplete\r\n [placeholder]=\"placeholder | translate\"\r\n [dataSource]=\"dataSource\"\r\n valueExpr=\"MenuSubTitle\"\r\n [searchExpr]=\"['MenuSubTitle']\"\r\n [showClearButton]=\"false\"\r\n [showDropDownButton]=\"false\"\r\n [searchMode]=\"searchMode\"\r\n [width]=\"'100%'\"\r\n [stylingMode]=\"stylingMode\"\r\n [wrapItemText]=\"true\"\r\n [searchTimeout]=\"100\"\r\n (onInput)=\"onInput($event)\"\r\n (onEnterKey)=\"onEnterKey($event)\">\r\n <div class=\"global-search-dropdown-item\" *dxTemplate=\"let item of 'item'\">\r\n <a class=\"global-search-link compact-search-item\" href=\"{{item.MenuUrl}}\">\r\n <div class=\"d-flex flex-column flex-grow-1\">\r\n <div class=\"d-flex flex-grow-1 align-items-center\">\r\n <fa-icon [icon]=\"getIconForClass(item.IconClass)\" class=\"global-search-icon mx-1\"></fa-icon>\r\n <div class=\"search-title\">@if (item.IsTranslatable) { {{ item.MenuTitle | translate }} } @else { {{ item.MenuTitle }} }</div>\r\n </div>\r\n <div class=\"search-subtitle mx-4\">@if (item.IsTranslatable) { {{ item.MenuSubTitle | translate }} } @else { {{ item.MenuSubTitle }} }</div>\r\n </div>\r\n </a>\r\n </div>\r\n </dx-autocomplete>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxAutocompleteModule }, { kind: "component", type: i1.DxAutocompleteComponent, selector: "dx-autocomplete", inputs: ["accessKey", "activeStateEnabled", "buttons", "dataSource", "deferRendering", "disabled", "displayValue", "dropDownButtonTemplate", "dropDownOptions", "elementAttr", "focusStateEnabled", "grouped", "groupTemplate", "height", "hint", "hoverStateEnabled", "inputAttr", "isDirty", "isValid", "items", "itemTemplate", "label", "labelMode", "maxItemCount", "maxLength", "minSearchLength", "name", "opened", "openOnFieldClick", "placeholder", "readOnly", "rtlEnabled", "searchExpr", "searchMode", "searchTimeout", "selectedItem", "showClearButton", "showDropDownButton", "spellcheck", "stylingMode", "tabIndex", "text", "useItemTextAsTitle", "validationError", "validationErrors", "validationMessageMode", "validationMessagePosition", "validationStatus", "value", "valueChangeEvent", "valueExpr", "visible", "width", "wrapItemText"], outputs: ["onChange", "onClosed", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onItemClick", "onKeyDown", "onKeyUp", "onOpened", "onOptionChanged", "onPaste", "onSelectionChanged", "onValueChanged", "accessKeyChange", "activeStateEnabledChange", "buttonsChange", "dataSourceChange", "deferRenderingChange", "disabledChange", "displayValueChange", "dropDownButtonTemplateChange", "dropDownOptionsChange", "elementAttrChange", "focusStateEnabledChange", "groupedChange", "groupTemplateChange", "heightChange", "hintChange", "hoverStateEnabledChange", "inputAttrChange", "isDirtyChange", "isValidChange", "itemsChange", "itemTemplateChange", "labelChange", "labelModeChange", "maxItemCountChange", "maxLengthChange", "minSearchLengthChange", "nameChange", "openedChange", "openOnFieldClickChange", "placeholderChange", "readOnlyChange", "rtlEnabledChange", "searchExprChange", "searchModeChange", "searchTimeoutChange", "selectedItemChange", "showClearButtonChange", "showDropDownButtonChange", "spellcheckChange", "stylingModeChange", "tabIndexChange", "textChange", "useItemTextAsTitleChange", "validationErrorChange", "validationErrorsChange", "validationMessageModeChange", "validationMessagePositionChange", "validationStatusChange", "valueChange", "valueChangeEventChange", "valueExprChange", "visibleChange", "widthChange", "wrapItemTextChange", "onBlur"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3083
3235
|
}
|
|
3084
3236
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreGlobalSearchWidgetComponent, decorators: [{
|
|
3085
3237
|
type: Component,
|
|
3086
|
-
args: [{ selector: 'bayan-core-global-search-widget', standalone: true, imports: [CommonModule, DxAutocompleteModule, FontAwesomeModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"global-search-wrapper\">\r\n <dx-autocomplete\r\n #searchAutoComplete\r\n [placeholder]=\"placeholder | translate\"\r\n [dataSource]=\"dataSource\"\r\n valueExpr=\"MenuSubTitle\"\r\n [searchExpr]=\"['MenuSubTitle']\"\r\n [showClearButton]=\"false\"\r\n [showDropDownButton]=\"false\"\r\n [searchMode]=\"searchMode\"\r\n [width]=\"'100%'\"\r\n [stylingMode]=\"stylingMode\"\r\n [wrapItemText]=\"true\"\r\n [searchTimeout]=\"100\"\r\n (onInput)=\"onInput($event)\"\r\n (onEnterKey)=\"onEnterKey($event)\">\r\n <div class=\"global-search-dropdown-item\" *dxTemplate=\"let item of 'item'\">\r\n <a class=\"global-search-link compact-search-item\" href=\"{{item.MenuUrl}}\">\r\n <div class=\"d-flex flex-column flex-grow-1\">\r\n <div class=\"d-flex flex-grow-1 align-items-center\">\r\n <fa-icon [icon]=\"getIconForClass(item.IconClass)\" class=\"global-search-icon mx-1\"></fa-icon>\r\n <div class=\"search-title\">@if (item.IsTranslatable) { {{ item.MenuTitle | translate }} } @else { {{ item.MenuTitle }} }</div>\r\n </div>\r\n <div class=\"search-subtitle mx-4\">@if (item.IsTranslatable) { {{ item.MenuSubTitle | translate }} } @else { {{ item.MenuSubTitle }} }</div>\r\n </div>\r\n </a>\r\n </div>\r\n </dx-autocomplete>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"] }]
|
|
3238
|
+
args: [{ selector: 'bayan-core-global-search-widget', standalone: true, imports: [CommonModule, DxAutocompleteModule, FontAwesomeModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"global-search-wrapper\">\r\n <dx-autocomplete\r\n #searchAutoComplete\r\n [placeholder]=\"placeholder | translate\"\r\n [dataSource]=\"dataSource\"\r\n valueExpr=\"MenuSubTitle\"\r\n [searchExpr]=\"['MenuSubTitle']\"\r\n [showClearButton]=\"false\"\r\n [showDropDownButton]=\"false\"\r\n [searchMode]=\"searchMode\"\r\n [width]=\"'100%'\"\r\n [stylingMode]=\"stylingMode\"\r\n [wrapItemText]=\"true\"\r\n [searchTimeout]=\"100\"\r\n (onInput)=\"onInput($event)\"\r\n (onEnterKey)=\"onEnterKey($event)\">\r\n <div class=\"global-search-dropdown-item\" *dxTemplate=\"let item of 'item'\">\r\n <a class=\"global-search-link compact-search-item\" href=\"{{item.MenuUrl}}\">\r\n <div class=\"d-flex flex-column flex-grow-1\">\r\n <div class=\"d-flex flex-grow-1 align-items-center\">\r\n <fa-icon [icon]=\"getIconForClass(item.IconClass)\" class=\"global-search-icon mx-1\"></fa-icon>\r\n <div class=\"search-title\">@if (item.IsTranslatable) { {{ item.MenuTitle | translate }} } @else { {{ item.MenuTitle }} }</div>\r\n </div>\r\n <div class=\"search-subtitle mx-4\">@if (item.IsTranslatable) { {{ item.MenuSubTitle | translate }} } @else { {{ item.MenuSubTitle }} }</div>\r\n </div>\r\n </a>\r\n </div>\r\n </dx-autocomplete>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"] }]
|
|
3087
3239
|
}], propDecorators: { searchAutoComplete: [{
|
|
3088
3240
|
type: ViewChild,
|
|
3089
3241
|
args: ['searchAutoComplete']
|
|
@@ -3164,11 +3316,11 @@ class BayanCoreItemWidgetComponent {
|
|
|
3164
3316
|
this.itemClick.emit(item);
|
|
3165
3317
|
}
|
|
3166
3318
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreItemWidgetComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3167
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreItemWidgetComponent, isStandalone: true, selector: "bayan-core-item-widget", inputs: { baseUrl: "baseUrl", ActivePropertyChanged: "ActivePropertyChanged", item: "item", navItemClass: "navItemClass", navLinkClass: "navLinkClass", dropdownClass: "dropdownClass", dropdownOpenClass: "dropdownOpenClass", dropdownToggleClass: "dropdownToggleClass", caretClass: "caretClass", dropdownMenuClass: "dropdownMenuClass" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "@if (!hasChildren()) {\r\n <li [class]=\"navItemClass\">\r\n <a\r\n [class]=\"navLinkClass\"\r\n href=\"#\"\r\n (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }}\r\n </a>\r\n </li>\r\n}\r\n\r\n@if (hasChildren()) {\r\n <li [class]=\"dropdownClass + (open ? ' ' + dropdownOpenClass : '')\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\r\n <a href=\"#\" [class]=\"dropdownToggleClass\" (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }} <span [class]=\"caretClass\"></span>\r\n </a>\r\n\r\n <ul [class]=\"dropdownMenuClass\">\r\n @for (child of item.Children; track child.MenuName) {\r\n <bayan-core-item-widget\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [item]=\"child\"\r\n (itemClick)=\"onChildItemClick($event)\"\r\n [navItemClass]=\"navItemClass\"\r\n [navLinkClass]=\"navLinkClass\"\r\n [dropdownClass]=\"dropdownClass\"\r\n [dropdownOpenClass]=\"dropdownOpenClass\"\r\n [dropdownToggleClass]=\"dropdownToggleClass\"\r\n [caretClass]=\"caretClass\"\r\n [dropdownMenuClass]=\"dropdownMenuClass\"\r\n >\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </li>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:contents}\n"], dependencies: [{ kind: "component", type: BayanCoreItemWidgetComponent, selector: "bayan-core-item-widget", inputs: ["baseUrl", "ActivePropertyChanged", "item", "navItemClass", "navLinkClass", "dropdownClass", "dropdownOpenClass", "dropdownToggleClass", "caretClass", "dropdownMenuClass"], outputs: ["itemClick"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3319
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreItemWidgetComponent, isStandalone: true, selector: "bayan-core-item-widget", inputs: { baseUrl: "baseUrl", ActivePropertyChanged: "ActivePropertyChanged", item: "item", navItemClass: "navItemClass", navLinkClass: "navLinkClass", dropdownClass: "dropdownClass", dropdownOpenClass: "dropdownOpenClass", dropdownToggleClass: "dropdownToggleClass", caretClass: "caretClass", dropdownMenuClass: "dropdownMenuClass" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "@if (!hasChildren()) {\r\n <li [class]=\"navItemClass\">\r\n <a\r\n [class]=\"navLinkClass\"\r\n href=\"#\"\r\n (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }}\r\n </a>\r\n </li>\r\n}\r\n\r\n@if (hasChildren()) {\r\n <li [class]=\"dropdownClass + (open ? ' ' + dropdownOpenClass : '')\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\r\n <a href=\"#\" [class]=\"dropdownToggleClass\" (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }} <span [class]=\"caretClass\"></span>\r\n </a>\r\n\r\n <ul [class]=\"dropdownMenuClass\">\r\n @for (child of item.Children; track child.MenuName) {\r\n <bayan-core-item-widget\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [item]=\"child\"\r\n (itemClick)=\"onChildItemClick($event)\"\r\n [navItemClass]=\"navItemClass\"\r\n [navLinkClass]=\"navLinkClass\"\r\n [dropdownClass]=\"dropdownClass\"\r\n [dropdownOpenClass]=\"dropdownOpenClass\"\r\n [dropdownToggleClass]=\"dropdownToggleClass\"\r\n [caretClass]=\"caretClass\"\r\n [dropdownMenuClass]=\"dropdownMenuClass\"\r\n >\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </li>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:contents}\n"], dependencies: [{ kind: "component", type: BayanCoreItemWidgetComponent, selector: "bayan-core-item-widget", inputs: ["baseUrl", "ActivePropertyChanged", "item", "navItemClass", "navLinkClass", "dropdownClass", "dropdownOpenClass", "dropdownToggleClass", "caretClass", "dropdownMenuClass"], outputs: ["itemClick"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3168
3320
|
}
|
|
3169
3321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreItemWidgetComponent, decorators: [{
|
|
3170
3322
|
type: Component,
|
|
3171
|
-
args: [{ selector: 'bayan-core-item-widget', standalone: true, imports: [CommonModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (!hasChildren()) {\r\n <li [class]=\"navItemClass\">\r\n <a\r\n [class]=\"navLinkClass\"\r\n href=\"#\"\r\n (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }}\r\n </a>\r\n </li>\r\n}\r\n\r\n@if (hasChildren()) {\r\n <li [class]=\"dropdownClass + (open ? ' ' + dropdownOpenClass : '')\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\r\n <a href=\"#\" [class]=\"dropdownToggleClass\" (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }} <span [class]=\"caretClass\"></span>\r\n </a>\r\n\r\n <ul [class]=\"dropdownMenuClass\">\r\n @for (child of item.Children; track child.MenuName) {\r\n <bayan-core-item-widget\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [item]=\"child\"\r\n (itemClick)=\"onChildItemClick($event)\"\r\n [navItemClass]=\"navItemClass\"\r\n [navLinkClass]=\"navLinkClass\"\r\n [dropdownClass]=\"dropdownClass\"\r\n [dropdownOpenClass]=\"dropdownOpenClass\"\r\n [dropdownToggleClass]=\"dropdownToggleClass\"\r\n [caretClass]=\"caretClass\"\r\n [dropdownMenuClass]=\"dropdownMenuClass\"\r\n >\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </li>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:contents}\n"] }]
|
|
3323
|
+
args: [{ selector: 'bayan-core-item-widget', standalone: true, imports: [CommonModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (!hasChildren()) {\r\n <li [class]=\"navItemClass\">\r\n <a\r\n [class]=\"navLinkClass\"\r\n href=\"#\"\r\n (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }}\r\n </a>\r\n </li>\r\n}\r\n\r\n@if (hasChildren()) {\r\n <li [class]=\"dropdownClass + (open ? ' ' + dropdownOpenClass : '')\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\r\n <a href=\"#\" [class]=\"dropdownToggleClass\" (click)=\"onItemActivated($event)\">\r\n {{ item.MenuName | translate }} <span [class]=\"caretClass\"></span>\r\n </a>\r\n\r\n <ul [class]=\"dropdownMenuClass\">\r\n @for (child of item.Children; track child.MenuName) {\r\n <bayan-core-item-widget\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [item]=\"child\"\r\n (itemClick)=\"onChildItemClick($event)\"\r\n [navItemClass]=\"navItemClass\"\r\n [navLinkClass]=\"navLinkClass\"\r\n [dropdownClass]=\"dropdownClass\"\r\n [dropdownOpenClass]=\"dropdownOpenClass\"\r\n [dropdownToggleClass]=\"dropdownToggleClass\"\r\n [caretClass]=\"caretClass\"\r\n [dropdownMenuClass]=\"dropdownMenuClass\"\r\n >\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </li>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:contents}\n"] }]
|
|
3172
3324
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { baseUrl: [{
|
|
3173
3325
|
type: Input
|
|
3174
3326
|
}], ActivePropertyChanged: [{
|
|
@@ -3247,11 +3399,11 @@ class BayanCoreNotificationsWidgetComponent {
|
|
|
3247
3399
|
});
|
|
3248
3400
|
}
|
|
3249
3401
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreNotificationsWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3250
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreNotificationsWidgetComponent, isStandalone: true, selector: "bayan-core-notifications-widget", inputs: { baseUrl: "baseUrl", title: "title", wrapperClass: "wrapperClass", linkClass: "linkClass", iconClass: "iconClass", badgeClass: "badgeClass" }, usesOnChanges: true, ngImport: i0, template: "<div [class]=\"wrapperClass\">\r\n <a [class]=\"linkClass\"\r\n [title]=\"title | translate\"\r\n (click)=\"onNotificationClick($event)\">\r\n <fa-icon [class]=\"iconClass\" [icon]=\"bellIcon\"></fa-icon>\r\n @if ((notificationsSummary().TotalNotificationsCount || 0) > 0) {\r\n <span [class]=\"badgeClass\">{{ notificationsSummary().TotalNotificationsCount }}</span>\r\n }\r\n </a>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3402
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreNotificationsWidgetComponent, isStandalone: true, selector: "bayan-core-notifications-widget", inputs: { baseUrl: "baseUrl", title: "title", wrapperClass: "wrapperClass", linkClass: "linkClass", iconClass: "iconClass", badgeClass: "badgeClass" }, usesOnChanges: true, ngImport: i0, template: "<div [class]=\"wrapperClass\">\r\n <a [class]=\"linkClass\"\r\n [title]=\"title | translate\"\r\n (click)=\"onNotificationClick($event)\">\r\n <fa-icon [class]=\"iconClass\" [icon]=\"bellIcon\"></fa-icon>\r\n @if ((notificationsSummary().TotalNotificationsCount || 0) > 0) {\r\n <span [class]=\"badgeClass\">{{ notificationsSummary().TotalNotificationsCount }}</span>\r\n }\r\n </a>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3251
3403
|
}
|
|
3252
3404
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreNotificationsWidgetComponent, decorators: [{
|
|
3253
3405
|
type: Component,
|
|
3254
|
-
args: [{ selector: 'bayan-core-notifications-widget', standalone: true, imports: [CommonModule, FontAwesomeModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"wrapperClass\">\r\n <a [class]=\"linkClass\"\r\n [title]=\"title | translate\"\r\n (click)=\"onNotificationClick($event)\">\r\n <fa-icon [class]=\"iconClass\" [icon]=\"bellIcon\"></fa-icon>\r\n @if ((notificationsSummary().TotalNotificationsCount || 0) > 0) {\r\n <span [class]=\"badgeClass\">{{ notificationsSummary().TotalNotificationsCount }}</span>\r\n }\r\n </a>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"] }]
|
|
3406
|
+
args: [{ selector: 'bayan-core-notifications-widget', standalone: true, imports: [CommonModule, FontAwesomeModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"wrapperClass\">\r\n <a [class]=\"linkClass\"\r\n [title]=\"title | translate\"\r\n (click)=\"onNotificationClick($event)\">\r\n <fa-icon [class]=\"iconClass\" [icon]=\"bellIcon\"></fa-icon>\r\n @if ((notificationsSummary().TotalNotificationsCount || 0) > 0) {\r\n <span [class]=\"badgeClass\">{{ notificationsSummary().TotalNotificationsCount }}</span>\r\n }\r\n </a>\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n", ":host{display:flex;align-items:center;height:56px}\n"] }]
|
|
3255
3407
|
}], propDecorators: { baseUrl: [{
|
|
3256
3408
|
type: Input
|
|
3257
3409
|
}], title: [{
|
|
@@ -3266,36 +3418,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImpo
|
|
|
3266
3418
|
type: Input
|
|
3267
3419
|
}] } });
|
|
3268
3420
|
|
|
3269
|
-
var EmployeeNamesModeOption;
|
|
3270
|
-
(function (EmployeeNamesModeOption) {
|
|
3271
|
-
EmployeeNamesModeOption[EmployeeNamesModeOption["ShortNames"] = 1] = "ShortNames";
|
|
3272
|
-
EmployeeNamesModeOption[EmployeeNamesModeOption["StandardNames"] = 2] = "StandardNames";
|
|
3273
|
-
EmployeeNamesModeOption[EmployeeNamesModeOption["FullNames"] = 3] = "FullNames";
|
|
3274
|
-
})(EmployeeNamesModeOption || (EmployeeNamesModeOption = {}));
|
|
3275
|
-
var BlockableModule;
|
|
3276
|
-
(function (BlockableModule) {
|
|
3277
|
-
BlockableModule[BlockableModule["HumanResources"] = 4] = "HumanResources";
|
|
3278
|
-
BlockableModule[BlockableModule["Timekeeping"] = 5] = "Timekeeping";
|
|
3279
|
-
})(BlockableModule || (BlockableModule = {}));
|
|
3280
|
-
var SystemModule;
|
|
3281
|
-
(function (SystemModule) {
|
|
3282
|
-
SystemModule[SystemModule["Corporate"] = 1] = "Corporate";
|
|
3283
|
-
SystemModule[SystemModule["Cluster"] = 2] = "Cluster";
|
|
3284
|
-
SystemModule[SystemModule["Setup"] = 3] = "Setup";
|
|
3285
|
-
SystemModule[SystemModule["HumanResources"] = 4] = "HumanResources";
|
|
3286
|
-
SystemModule[SystemModule["Timekeeping"] = 5] = "Timekeeping";
|
|
3287
|
-
SystemModule[SystemModule["Payroll"] = 6] = "Payroll";
|
|
3288
|
-
SystemModule[SystemModule["Training"] = 7] = "Training";
|
|
3289
|
-
SystemModule[SystemModule["Workflow"] = 8] = "Workflow";
|
|
3290
|
-
SystemModule[SystemModule["Appraisal"] = 9] = "Appraisal";
|
|
3291
|
-
SystemModule[SystemModule["BusinessIntelligence"] = 10] = "BusinessIntelligence";
|
|
3292
|
-
})(SystemModule || (SystemModule = {}));
|
|
3293
|
-
|
|
3294
3421
|
// import { SkyAlertType } from '@skysoftware-co/sky-components-ui/lib/constants/constants';
|
|
3295
3422
|
class BayanCoreChangePasswordWidgetComponent {
|
|
3296
3423
|
menuService = inject(BayanCoreTopMenuService);
|
|
3297
3424
|
alertToastService = inject(SkyAlertToastService);
|
|
3298
|
-
|
|
3425
|
+
translatePipe = inject(BayanCoreTranslatePipe);
|
|
3299
3426
|
baseUrl = '';
|
|
3300
3427
|
visible = false;
|
|
3301
3428
|
config;
|
|
@@ -3413,7 +3540,8 @@ class BayanCoreChangePasswordWidgetComponent {
|
|
|
3413
3540
|
}
|
|
3414
3541
|
passwordComparison = () => this.formData.newPassword;
|
|
3415
3542
|
showAlert(message, type = 'success') {
|
|
3416
|
-
this.
|
|
3543
|
+
const translated = this.translatePipe.transform(message);
|
|
3544
|
+
this.alertToastService.toastInformation(translated, type);
|
|
3417
3545
|
}
|
|
3418
3546
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreChangePasswordWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3419
3547
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.21", type: BayanCoreChangePasswordWidgetComponent, isStandalone: true, selector: "bayan-core-change-password-widget", inputs: { baseUrl: "baseUrl", visible: "visible", config: "config", isSubmitting: "isSubmitting" }, outputs: { visibleChange: "visibleChange" }, viewQueries: [{ propertyName: "changePasswordForm", first: true, predicate: ["changePasswordForm"], descendants: true }], ngImport: i0, template: "<dx-popup\r\n [visible]=\"visible\"\r\n (onHiding)=\"closeDialog()\"\r\n [title]=\"config.title | translate\"\r\n [showCloseButton]=\"true\"\r\n [width]=\"450\"\r\n [height]=\"'auto'\"\r\n [dragEnabled]=\"false\"\r\n [shading]=\"true\"\r\n shadingColor=\"rgba(0,0,0,0.4)\">\r\n <div *dxTemplate=\"let data of 'content'\">\r\n <dx-form\r\n #changePasswordForm\r\n [formData]=\"formData\"\r\n labelLocation=\"top\"\r\n [showColonAfterLabel]=\"false\"\r\n class=\"mb-3 mx-2\">\r\n <dxi-item\r\n dataField=\"currentPassword\"\r\n editorType=\"dxTextBox\"\r\n [editorOptions]=\"getCurrentPasswordEditorOptions()\">\r\n <dxo-label [text]=\"config.currentPasswordLabel | translate\"></dxo-label>\r\n <dxi-validation-rule type=\"required\"></dxi-validation-rule>\r\n </dxi-item>\r\n\r\n <dxi-item\r\n dataField=\"newPassword\"\r\n editorType=\"dxTextBox\"\r\n [editorOptions]=\"getNewPasswordEditorOptions()\">\r\n <dxo-label [text]=\"config.newPasswordLabel | translate\"></dxo-label>\r\n <dxi-validation-rule type=\"required\"></dxi-validation-rule>\r\n </dxi-item>\r\n\r\n <dxi-item\r\n dataField=\"confirmNewPassword\"\r\n editorType=\"dxTextBox\"\r\n [editorOptions]=\"getConfirmPasswordEditorOptions()\">\r\n <dxo-label [text]=\"config.confirmNewPasswordLabel | translate\"></dxo-label>\r\n <dxi-validation-rule type=\"required\"></dxi-validation-rule>\r\n <dxi-validation-rule\r\n type=\"compare\"\r\n [comparisonTarget]=\"passwordComparison\">\r\n </dxi-validation-rule>\r\n </dxi-item>\r\n </dx-form>\r\n\r\n <sky-footer-actions\r\n [primaryButtonText]=\"config.primaryButtonText | translate\"\r\n [showSecondaryButton]=\"false\"\r\n [isLoading]=\"isSubmitting\"\r\n [disabledPrimaryButton]=\"isSubmitting || !isChangePasswordValid()\"\r\n (PrimaryButtonClick)=\"onSaveButtonClick()\"\r\n [errorMessage]=\"errorMessage\">\r\n </sky-footer-actions>\r\n </div>\r\n</dx-popup>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxPopupModule }, { kind: "component", type: i1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "enableBodyScroll", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "enableBodyScrollChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "ngmodule", type: DxFormModule }, { kind: "component", type: i1.DxFormComponent, selector: "dx-form", inputs: ["accessKey", "activeStateEnabled", "alignItemLabels", "alignItemLabelsInAllGroups", "colCount", "colCountByScreen", "customizeItem", "disabled", "elementAttr", "focusStateEnabled", "formData", "height", "hint", "hoverStateEnabled", "isDirty", "items", "labelLocation", "labelMode", "minColWidth", "optionalMark", "readOnly", "requiredMark", "requiredMessage", "rtlEnabled", "screenByWidth", "scrollingEnabled", "showColonAfterLabel", "showOptionalMark", "showRequiredMark", "showValidationSummary", "tabIndex", "validationGroup", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onEditorEnterKey", "onFieldDataChanged", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "alignItemLabelsChange", "alignItemLabelsInAllGroupsChange", "colCountChange", "colCountByScreenChange", "customizeItemChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "formDataChange", "heightChange", "hintChange", "hoverStateEnabledChange", "isDirtyChange", "itemsChange", "labelLocationChange", "labelModeChange", "minColWidthChange", "optionalMarkChange", "readOnlyChange", "requiredMarkChange", "requiredMessageChange", "rtlEnabledChange", "screenByWidthChange", "scrollingEnabledChange", "showColonAfterLabelChange", "showOptionalMarkChange", "showRequiredMarkChange", "showValidationSummaryChange", "tabIndexChange", "validationGroupChange", "visibleChange", "widthChange"] }, { kind: "component", type: i3.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "author", "id", "timestamp", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "captionTemplate", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "linkAttr", "url", "collapsed", "collapsedSize", "collapsible", "maxSize", "minSize", "resizable", "size", "splitter", "heightRatio", "widthRatio", "expanded", "hasItems", "parentId"] }, { kind: "component", type: i3.DxoLabelComponent, selector: "dxo-label", inputs: ["connectorColor", "connectorWidth", "customizeText", "font", "format", "indent", "visible", "horizontalAlignment", "position", "text", "verticalAlignment", "alignment", "customizeHint", "displayMode", "indentFromAxis", "overlappingBehavior", "rotationAngle", "staggeringSpacing", "template", "textOverflow", "wordWrap", "argumentFormat", "backgroundColor", "border", "connector", "displayFormat", "horizontalOffset", "showForZeroValues", "verticalOffset", "hideFirstOrLast", "indentFromTick", "useRangeColors", "location", "showColon", "radialOffset", "topIndent", "shadow", "useNodeColors", "dataField", "enabled"] }, { kind: "component", type: i3.DxiValidationRuleComponent, selector: "dxi-validation-rule", inputs: ["message", "trim", "type", "ignoreEmptyValue", "max", "min", "reevaluate", "validationCallback", "comparisonTarget", "comparisonType", "pattern"] }, { kind: "component", type: SkyFooterActionsComponent, selector: "sky-footer-actions", inputs: ["primaryButtonText", "extraButtonText", "secondaryButtonText", "primaryButtonWidth", "secondaryButtonWidth", "extraButtonWidth", "isFillRowWidth", "primaryButtonHeight", "secondaryButtonHeight", "extraButtonHeight", "showPrimaryButton", "showSecondaryButton", "showExtraButton", "primaryButtonType", "secondaryButtonType", "extraButtonType", "disabledPrimaryButton", "disabledSecondaryButton", "disabledExtraButton", "primarySubmitBehavior", "secondarySubmitBehavior", "extraSubmitBehavior", "primaryButtonClass", "secondaryButtonClass", "extraButtonClass", "formValidationGroup", "isLoading", "loadingText", "disabled", "EditMode", "validatePrimaryAction", "validateExtraAction", "showErrorLabel", "errorMessage", "errorLabel", "closeButtonClass", "marginClass", "successMessage"], outputs: ["PrimaryButtonClick", "SecondaryButtonClick", "ExtraButtonClick"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -3481,11 +3609,11 @@ class BayanCoreAboutDialogWidgetComponent {
|
|
|
3481
3609
|
window.open(this.supportUrl, '_blank');
|
|
3482
3610
|
}
|
|
3483
3611
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreAboutDialogWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3484
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreAboutDialogWidgetComponent, isStandalone: true, selector: "bayan-core-about-dialog-widget", inputs: { baseUrl: "baseUrl", visible: "visible", config: "config", licenseUrl: "licenseUrl", releaseNotesUrl: "releaseNotesUrl", supportUrl: "supportUrl", backdropClass: "backdropClass", modalClass: "modalClass", headerClass: "headerClass", titleClass: "titleClass", closeBtnClass: "closeBtnClass", bodyClass: "bodyClass", logoClass: "logoClass", productNameClass: "productNameClass", versionTextClass: "versionTextClass", upToDateClass: "upToDateClass", copyrightClass: "copyrightClass", actionsClass: "actionsClass", actionBtnClass: "actionBtnClass" }, outputs: { visibleChange: "visibleChange", licenseClick: "licenseClick", releaseNotesClick: "releaseNotesClick", supportClick: "supportClick" }, ngImport: i0, template: "@if (visible) {\r\n <div [class]=\"backdropClass\" (click)=\"onBackdropClick($event)\">\r\n <div [class]=\"modalClass\" role=\"dialog\" aria-labelledby=\"topMenuAboutDialogTitle\" aria-modal=\"true\">\r\n <div [class]=\"headerClass\">\r\n <h4 [class]=\"titleClass\" id=\"topMenuAboutDialogTitle\">{{ 'AboutSkyBayan' | translate }}</h4>\r\n <button type=\"button\" [class]=\"closeBtnClass\" (click)=\"closeDialog()\" [attr.aria-label]=\"(config.closeButtonLabel || 'Close') | translate\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div [class]=\"bodyClass\">\r\n <div class=\"row align-items-start\">\r\n <div class=\"col-4\">\r\n @if (config.logoUrl) {\r\n <img [src]=\"config.logoUrl\" alt=\"Logo\" [class]=\"logoClass\">\r\n }\r\n </div>\r\n <div class=\"col-8\">\r\n <h3 [class]=\"productNameClass\">{{ (config.title || 'AboutSkyBayan') | translate }}</h3>\r\n <p [class]=\"versionTextClass\">{{ (config.versionLabel || 'Version') | translate }} {{ config.version || '' }}</p>\r\n <p [class]=\"upToDateClass\">\r\n <fa-icon [icon]=\"checkCircleIcon\" class=\"text-info me-1\"></fa-icon>\r\n <small class=\"text-muted\">{{ (config.statusLabel || 'SkyBayanUpToDate') | translate }}</small>\r\n </p>\r\n <p [class]=\"copyrightClass\">{{ (config.copyright || '') | translate }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [class]=\"actionsClass\">\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openLicense()\">{{ (config.licenseButtonLabel || 'LicenseInformation') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openReleaseNotes()\">{{ (config.releaseNotesButtonLabel || 'ReleaseNotes') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openSupport()\">{{ (config.supportButtonLabel || 'TechnicalSupport') | translate }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3612
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreAboutDialogWidgetComponent, isStandalone: true, selector: "bayan-core-about-dialog-widget", inputs: { baseUrl: "baseUrl", visible: "visible", config: "config", licenseUrl: "licenseUrl", releaseNotesUrl: "releaseNotesUrl", supportUrl: "supportUrl", backdropClass: "backdropClass", modalClass: "modalClass", headerClass: "headerClass", titleClass: "titleClass", closeBtnClass: "closeBtnClass", bodyClass: "bodyClass", logoClass: "logoClass", productNameClass: "productNameClass", versionTextClass: "versionTextClass", upToDateClass: "upToDateClass", copyrightClass: "copyrightClass", actionsClass: "actionsClass", actionBtnClass: "actionBtnClass" }, outputs: { visibleChange: "visibleChange", licenseClick: "licenseClick", releaseNotesClick: "releaseNotesClick", supportClick: "supportClick" }, ngImport: i0, template: "@if (visible) {\r\n <div [class]=\"backdropClass\" (click)=\"onBackdropClick($event)\">\r\n <div [class]=\"modalClass\" role=\"dialog\" aria-labelledby=\"topMenuAboutDialogTitle\" aria-modal=\"true\">\r\n <div [class]=\"headerClass\">\r\n <h4 [class]=\"titleClass\" id=\"topMenuAboutDialogTitle\">{{ 'AboutSkyBayan' | translate }}</h4>\r\n <button type=\"button\" [class]=\"closeBtnClass\" (click)=\"closeDialog()\" [attr.aria-label]=\"(config.closeButtonLabel || 'Close') | translate\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div [class]=\"bodyClass\">\r\n <div class=\"row align-items-start\">\r\n <div class=\"col-4\">\r\n @if (config.logoUrl) {\r\n <img [src]=\"config.logoUrl\" alt=\"Logo\" [class]=\"logoClass\">\r\n }\r\n </div>\r\n <div class=\"col-8\">\r\n <h3 [class]=\"productNameClass\">{{ (config.title || 'AboutSkyBayan') | translate }}</h3>\r\n <p [class]=\"versionTextClass\">{{ (config.versionLabel || 'Version') | translate }} {{ config.version || '' }}</p>\r\n <p [class]=\"upToDateClass\">\r\n <fa-icon [icon]=\"checkCircleIcon\" class=\"text-info me-1\"></fa-icon>\r\n <small class=\"text-muted\">{{ (config.statusLabel || 'SkyBayanUpToDate') | translate }}</small>\r\n </p>\r\n <p [class]=\"copyrightClass\">{{ (config.copyright || '') | translate }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [class]=\"actionsClass\">\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openLicense()\">{{ (config.licenseButtonLabel || 'LicenseInformation') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openReleaseNotes()\">{{ (config.releaseNotesButtonLabel || 'ReleaseNotes') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openSupport()\">{{ (config.supportButtonLabel || 'TechnicalSupport') | translate }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3485
3613
|
}
|
|
3486
3614
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreAboutDialogWidgetComponent, decorators: [{
|
|
3487
3615
|
type: Component,
|
|
3488
|
-
args: [{ selector: 'bayan-core-about-dialog-widget', standalone: true, imports: [CommonModule, FontAwesomeModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (visible) {\r\n <div [class]=\"backdropClass\" (click)=\"onBackdropClick($event)\">\r\n <div [class]=\"modalClass\" role=\"dialog\" aria-labelledby=\"topMenuAboutDialogTitle\" aria-modal=\"true\">\r\n <div [class]=\"headerClass\">\r\n <h4 [class]=\"titleClass\" id=\"topMenuAboutDialogTitle\">{{ 'AboutSkyBayan' | translate }}</h4>\r\n <button type=\"button\" [class]=\"closeBtnClass\" (click)=\"closeDialog()\" [attr.aria-label]=\"(config.closeButtonLabel || 'Close') | translate\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div [class]=\"bodyClass\">\r\n <div class=\"row align-items-start\">\r\n <div class=\"col-4\">\r\n @if (config.logoUrl) {\r\n <img [src]=\"config.logoUrl\" alt=\"Logo\" [class]=\"logoClass\">\r\n }\r\n </div>\r\n <div class=\"col-8\">\r\n <h3 [class]=\"productNameClass\">{{ (config.title || 'AboutSkyBayan') | translate }}</h3>\r\n <p [class]=\"versionTextClass\">{{ (config.versionLabel || 'Version') | translate }} {{ config.version || '' }}</p>\r\n <p [class]=\"upToDateClass\">\r\n <fa-icon [icon]=\"checkCircleIcon\" class=\"text-info me-1\"></fa-icon>\r\n <small class=\"text-muted\">{{ (config.statusLabel || 'SkyBayanUpToDate') | translate }}</small>\r\n </p>\r\n <p [class]=\"copyrightClass\">{{ (config.copyright || '') | translate }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [class]=\"actionsClass\">\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openLicense()\">{{ (config.licenseButtonLabel || 'LicenseInformation') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openReleaseNotes()\">{{ (config.releaseNotesButtonLabel || 'ReleaseNotes') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openSupport()\">{{ (config.supportButtonLabel || 'TechnicalSupport') | translate }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
3616
|
+
args: [{ selector: 'bayan-core-about-dialog-widget', standalone: true, imports: [CommonModule, FontAwesomeModule, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (visible) {\r\n <div [class]=\"backdropClass\" (click)=\"onBackdropClick($event)\">\r\n <div [class]=\"modalClass\" role=\"dialog\" aria-labelledby=\"topMenuAboutDialogTitle\" aria-modal=\"true\">\r\n <div [class]=\"headerClass\">\r\n <h4 [class]=\"titleClass\" id=\"topMenuAboutDialogTitle\">{{ 'AboutSkyBayan' | translate }}</h4>\r\n <button type=\"button\" [class]=\"closeBtnClass\" (click)=\"closeDialog()\" [attr.aria-label]=\"(config.closeButtonLabel || 'Close') | translate\">\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n\r\n <div [class]=\"bodyClass\">\r\n <div class=\"row align-items-start\">\r\n <div class=\"col-4\">\r\n @if (config.logoUrl) {\r\n <img [src]=\"config.logoUrl\" alt=\"Logo\" [class]=\"logoClass\">\r\n }\r\n </div>\r\n <div class=\"col-8\">\r\n <h3 [class]=\"productNameClass\">{{ (config.title || 'AboutSkyBayan') | translate }}</h3>\r\n <p [class]=\"versionTextClass\">{{ (config.versionLabel || 'Version') | translate }} {{ config.version || '' }}</p>\r\n <p [class]=\"upToDateClass\">\r\n <fa-icon [icon]=\"checkCircleIcon\" class=\"text-info me-1\"></fa-icon>\r\n <small class=\"text-muted\">{{ (config.statusLabel || 'SkyBayanUpToDate') | translate }}</small>\r\n </p>\r\n <p [class]=\"copyrightClass\">{{ (config.copyright || '') | translate }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [class]=\"actionsClass\">\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openLicense()\">{{ (config.licenseButtonLabel || 'LicenseInformation') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openReleaseNotes()\">{{ (config.releaseNotesButtonLabel || 'ReleaseNotes') | translate }}</button>\r\n <button type=\"button\" [class]=\"actionBtnClass\" (click)=\"openSupport()\">{{ (config.supportButtonLabel || 'TechnicalSupport') | translate }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
3489
3617
|
}], propDecorators: { baseUrl: [{
|
|
3490
3618
|
type: Input
|
|
3491
3619
|
}], visible: [{
|
|
@@ -3539,6 +3667,7 @@ class BayanCoreSettingsWidgetComponent {
|
|
|
3539
3667
|
elementRef;
|
|
3540
3668
|
menuService = inject(BayanCoreTopMenuService);
|
|
3541
3669
|
alertToastService = inject(SkyAlertToastService);
|
|
3670
|
+
translatePipe = inject(BayanCoreTranslatePipe);
|
|
3542
3671
|
baseUrl = '';
|
|
3543
3672
|
licenseUrl = '';
|
|
3544
3673
|
releaseNotesUrl = '';
|
|
@@ -3594,7 +3723,8 @@ class BayanCoreSettingsWidgetComponent {
|
|
|
3594
3723
|
}
|
|
3595
3724
|
// ...existing methods...
|
|
3596
3725
|
showAlert(message, type = 'success') {
|
|
3597
|
-
this.
|
|
3726
|
+
const translated = this.translatePipe.transform(message);
|
|
3727
|
+
this.alertToastService.toastInformation(translated, type);
|
|
3598
3728
|
}
|
|
3599
3729
|
ngOnInit() {
|
|
3600
3730
|
this.loadPreferences();
|
|
@@ -3714,7 +3844,7 @@ class BayanCoreSettingsWidgetComponent {
|
|
|
3714
3844
|
catch { }
|
|
3715
3845
|
}
|
|
3716
3846
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreSettingsWidgetComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3717
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreSettingsWidgetComponent, isStandalone: true, selector: "bayan-core-settings-widget", inputs: { baseUrl: "baseUrl", licenseUrl: "licenseUrl", releaseNotesUrl: "releaseNotesUrl", supportUrl: "supportUrl", ActivePropertyChanged: "ActivePropertyChanged", systemModule: "systemModule", checkIcon: "checkIcon", cogIcon: "cogIcon", infoIcon: "infoIcon", dropdownOpen: "dropdownOpen", dropdownHostClass: "dropdownHostClass", toggleBtnClass: "toggleBtnClass", menuPanelClass: "menuPanelClass", sectionLabelClass: "sectionLabelClass", menuRowClass: "menuRowClass", dividerClass: "dividerClass", indicatorClass: "indicatorClass", indicatorActiveClass: "indicatorActiveClass", indicatorInvisibleClass: "indicatorInvisibleClass" }, outputs: { alternateNamesChange: "alternateNamesChange", nameModeChange: "nameModeChange" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div [class]=\"dropdownHostClass\" [class.open]=\"dropdownOpen()\">\r\n <a href=\"#\" [class]=\"toggleBtnClass\" (click)=\"toggleDropdown($event)\" [title]=\"'Settings' | translate\">\r\n <fa-icon [icon]=\"cogIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuPanelClass\">\r\n @if (preferences?.UseAlternateNames) {\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onAlternateNamesClick($event)\">\r\n @if (preferences?.DisplayAlternateNames) {\r\n <fa-icon [class]=\"indicatorActiveClass\" [icon]=\"checkIcon\"></fa-icon>\r\n } @else {\r\n <fa-icon [class]=\"indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n }\r\n {{ 'DisplayAlternateNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n <li>\r\n <span [class]=\"sectionLabelClass + ' menu-section-label'\">{{ 'EmployeeNamesMode' | translate }}</span>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.FullNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'FullNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.ShortNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'ShortNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.StandardNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'StandardNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n @if (hrBlockState && hrBlockState.UserCanBlockModule && systemModule == SystemModule.Payroll) {\r\n <li>\r\n @if (hrBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'ReleaseHR' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'BlockHR' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (tkBlockState && tkBlockState.UserCanBlockModule && systemModule == SystemModule.HumanResources) {\r\n <li>\r\n @if (tkBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'ReleaseTK' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'BlockTK' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\">></li>\r\n }\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onChangePasswordClick($event)\">\r\n <span [class]=\"indicatorClass\"></span>\r\n {{ 'ChangePassword' | translate }}\r\n </a>\r\n </li>\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onOpenAboutClick($event)\">\r\n <fa-icon [class]=\"indicatorClass\" [icon]=\"infoIcon\"></fa-icon>\r\n {{ 'About' | translate }}\r\n </a>\r\n </li>\r\n </ul>\r\n }\r\n</div>\r\n\r\n<bayan-core-change-password-widget\r\n [baseUrl]=\"baseUrl\"\r\n [visible]=\"showChangePassword\"\r\n [config]=\"changePasswordDialog\"\r\n (visibleChange)=\"showChangePassword = !!$event\">\r\n </bayan-core-change-password-widget>\r\n\r\n <bayan-core-about-dialog-widget\r\n [visible]=\"showAbout\"\r\n [config]=\"aboutDialog\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n (visibleChange)=\"showAbout = !!$event\">\r\n </bayan-core-about-dialog-widget>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }, { kind: "component", type: BayanCoreChangePasswordWidgetComponent, selector: "bayan-core-change-password-widget", inputs: ["baseUrl", "visible", "config", "isSubmitting"], outputs: ["visibleChange"] }, { kind: "component", type: BayanCoreAboutDialogWidgetComponent, selector: "bayan-core-about-dialog-widget", inputs: ["baseUrl", "visible", "config", "licenseUrl", "releaseNotesUrl", "supportUrl", "backdropClass", "modalClass", "headerClass", "titleClass", "closeBtnClass", "bodyClass", "logoClass", "productNameClass", "versionTextClass", "upToDateClass", "copyrightClass", "actionsClass", "actionBtnClass"], outputs: ["visibleChange", "licenseClick", "releaseNotesClick", "supportClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreSettingsWidgetComponent, isStandalone: true, selector: "bayan-core-settings-widget", inputs: { baseUrl: "baseUrl", licenseUrl: "licenseUrl", releaseNotesUrl: "releaseNotesUrl", supportUrl: "supportUrl", ActivePropertyChanged: "ActivePropertyChanged", systemModule: "systemModule", checkIcon: "checkIcon", cogIcon: "cogIcon", infoIcon: "infoIcon", dropdownOpen: "dropdownOpen", dropdownHostClass: "dropdownHostClass", toggleBtnClass: "toggleBtnClass", menuPanelClass: "menuPanelClass", sectionLabelClass: "sectionLabelClass", menuRowClass: "menuRowClass", dividerClass: "dividerClass", indicatorClass: "indicatorClass", indicatorActiveClass: "indicatorActiveClass", indicatorInvisibleClass: "indicatorInvisibleClass" }, outputs: { alternateNamesChange: "alternateNamesChange", nameModeChange: "nameModeChange" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div [class]=\"dropdownHostClass\" [class.open]=\"dropdownOpen()\">\r\n <a href=\"#\" [class]=\"toggleBtnClass\" (click)=\"toggleDropdown($event)\" [title]=\"'Settings' | translate\">\r\n <fa-icon [icon]=\"cogIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuPanelClass\">\r\n @if (preferences?.UseAlternateNames) {\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onAlternateNamesClick($event)\">\r\n @if (preferences?.DisplayAlternateNames) {\r\n <fa-icon [class]=\"indicatorActiveClass\" [icon]=\"checkIcon\"></fa-icon>\r\n } @else {\r\n <fa-icon [class]=\"indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n }\r\n {{ 'DisplayAlternateNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n <li>\r\n <span [class]=\"sectionLabelClass + ' menu-section-label'\">{{ 'EmployeeNamesMode' | translate }}</span>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.FullNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'FullNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.ShortNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'ShortNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.StandardNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'StandardNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n @if (hrBlockState && hrBlockState.UserCanBlockModule && systemModule == SystemModule.Payroll) {\r\n <li>\r\n @if (hrBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'ReleaseHR' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'BlockHR' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (tkBlockState && tkBlockState.UserCanBlockModule && systemModule == SystemModule.HumanResources) {\r\n <li>\r\n @if (tkBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'ReleaseTK' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'BlockTK' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\">></li>\r\n }\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onChangePasswordClick($event)\">\r\n <span [class]=\"indicatorClass\"></span>\r\n {{ 'ChangePassword' | translate }}\r\n </a>\r\n </li>\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onOpenAboutClick($event)\">\r\n <fa-icon [class]=\"indicatorClass\" [icon]=\"infoIcon\"></fa-icon>\r\n {{ 'About' | translate }}\r\n </a>\r\n </li>\r\n </ul>\r\n }\r\n</div>\r\n\r\n<bayan-core-change-password-widget\r\n [baseUrl]=\"baseUrl\"\r\n [visible]=\"showChangePassword\"\r\n [config]=\"changePasswordDialog\"\r\n (visibleChange)=\"showChangePassword = !!$event\">\r\n </bayan-core-change-password-widget>\r\n\r\n <bayan-core-about-dialog-widget\r\n [visible]=\"showAbout\"\r\n [config]=\"aboutDialog\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n (visibleChange)=\"showAbout = !!$event\">\r\n </bayan-core-about-dialog-widget>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }, { kind: "component", type: BayanCoreChangePasswordWidgetComponent, selector: "bayan-core-change-password-widget", inputs: ["baseUrl", "visible", "config", "isSubmitting"], outputs: ["visibleChange"] }, { kind: "component", type: BayanCoreAboutDialogWidgetComponent, selector: "bayan-core-about-dialog-widget", inputs: ["baseUrl", "visible", "config", "licenseUrl", "releaseNotesUrl", "supportUrl", "backdropClass", "modalClass", "headerClass", "titleClass", "closeBtnClass", "bodyClass", "logoClass", "productNameClass", "versionTextClass", "upToDateClass", "copyrightClass", "actionsClass", "actionBtnClass"], outputs: ["visibleChange", "licenseClick", "releaseNotesClick", "supportClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3718
3848
|
}
|
|
3719
3849
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreSettingsWidgetComponent, decorators: [{
|
|
3720
3850
|
type: Component,
|
|
@@ -3724,7 +3854,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImpo
|
|
|
3724
3854
|
BayanCoreTranslatePipe,
|
|
3725
3855
|
BayanCoreChangePasswordWidgetComponent,
|
|
3726
3856
|
BayanCoreAboutDialogWidgetComponent
|
|
3727
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"dropdownHostClass\" [class.open]=\"dropdownOpen()\">\r\n <a href=\"#\" [class]=\"toggleBtnClass\" (click)=\"toggleDropdown($event)\" [title]=\"'Settings' | translate\">\r\n <fa-icon [icon]=\"cogIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuPanelClass\">\r\n @if (preferences?.UseAlternateNames) {\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onAlternateNamesClick($event)\">\r\n @if (preferences?.DisplayAlternateNames) {\r\n <fa-icon [class]=\"indicatorActiveClass\" [icon]=\"checkIcon\"></fa-icon>\r\n } @else {\r\n <fa-icon [class]=\"indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n }\r\n {{ 'DisplayAlternateNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n <li>\r\n <span [class]=\"sectionLabelClass + ' menu-section-label'\">{{ 'EmployeeNamesMode' | translate }}</span>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.FullNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'FullNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.ShortNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'ShortNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.StandardNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'StandardNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n @if (hrBlockState && hrBlockState.UserCanBlockModule && systemModule == SystemModule.Payroll) {\r\n <li>\r\n @if (hrBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'ReleaseHR' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'BlockHR' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (tkBlockState && tkBlockState.UserCanBlockModule && systemModule == SystemModule.HumanResources) {\r\n <li>\r\n @if (tkBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'ReleaseTK' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'BlockTK' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\">></li>\r\n }\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onChangePasswordClick($event)\">\r\n <span [class]=\"indicatorClass\"></span>\r\n {{ 'ChangePassword' | translate }}\r\n </a>\r\n </li>\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onOpenAboutClick($event)\">\r\n <fa-icon [class]=\"indicatorClass\" [icon]=\"infoIcon\"></fa-icon>\r\n {{ 'About' | translate }}\r\n </a>\r\n </li>\r\n </ul>\r\n }\r\n</div>\r\n\r\n<bayan-core-change-password-widget\r\n [baseUrl]=\"baseUrl\"\r\n [visible]=\"showChangePassword\"\r\n [config]=\"changePasswordDialog\"\r\n (visibleChange)=\"showChangePassword = !!$event\">\r\n </bayan-core-change-password-widget>\r\n\r\n <bayan-core-about-dialog-widget\r\n [visible]=\"showAbout\"\r\n [config]=\"aboutDialog\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n (visibleChange)=\"showAbout = !!$event\">\r\n </bayan-core-about-dialog-widget>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
3857
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"dropdownHostClass\" [class.open]=\"dropdownOpen()\">\r\n <a href=\"#\" [class]=\"toggleBtnClass\" (click)=\"toggleDropdown($event)\" [title]=\"'Settings' | translate\">\r\n <fa-icon [icon]=\"cogIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuPanelClass\">\r\n @if (preferences?.UseAlternateNames) {\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onAlternateNamesClick($event)\">\r\n @if (preferences?.DisplayAlternateNames) {\r\n <fa-icon [class]=\"indicatorActiveClass\" [icon]=\"checkIcon\"></fa-icon>\r\n } @else {\r\n <fa-icon [class]=\"indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n }\r\n {{ 'DisplayAlternateNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n <li>\r\n <span [class]=\"sectionLabelClass + ' menu-section-label'\">{{ 'EmployeeNamesMode' | translate }}</span>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.FullNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.FullNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'FullNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.ShortNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.ShortNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'ShortNames' | translate }}\r\n </a>\r\n </li>\r\n <li>\r\n <a [class]=\"menuRowClass + (preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? ' menu-item-active' : '')\"\r\n (click)=\"onNameModeClick(EmployeeNamesModeOption.StandardNames, $event); $event.stopPropagation()\">\r\n <fa-icon [class]=\"preferences?.EmployeeNamesMode === EmployeeNamesModeOption.StandardNames ? indicatorActiveClass : indicatorInvisibleClass\" [icon]=\"checkIcon\"></fa-icon>\r\n {{ 'StandardNames' | translate }}\r\n </a>\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n @if (hrBlockState && hrBlockState.UserCanBlockModule && systemModule == SystemModule.Payroll) {\r\n <li>\r\n @if (hrBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'ReleaseHR' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.HumanResources, $event)\">\r\n {{ 'BlockHR' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (tkBlockState && tkBlockState.UserCanBlockModule && systemModule == SystemModule.HumanResources) {\r\n <li>\r\n @if (tkBlockState.IsBlocked) {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"releaseModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'ReleaseTK' | translate }}\r\n </a>\r\n } @else {\r\n <a class='header-dropdown-item ms-3 ps-3' (click)=\"blockModule(BlockableModule.Timekeeping, $event)\">\r\n {{ 'BlockTK' | translate }}\r\n </a>\r\n }\r\n </li>\r\n <li><hr [class]=\"dividerClass\">></li>\r\n }\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onChangePasswordClick($event)\">\r\n <span [class]=\"indicatorClass\"></span>\r\n {{ 'ChangePassword' | translate }}\r\n </a>\r\n </li>\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n\r\n <li>\r\n <a [class]=\"menuRowClass\" (click)=\"onOpenAboutClick($event)\">\r\n <fa-icon [class]=\"indicatorClass\" [icon]=\"infoIcon\"></fa-icon>\r\n {{ 'About' | translate }}\r\n </a>\r\n </li>\r\n </ul>\r\n }\r\n</div>\r\n\r\n<bayan-core-change-password-widget\r\n [baseUrl]=\"baseUrl\"\r\n [visible]=\"showChangePassword\"\r\n [config]=\"changePasswordDialog\"\r\n (visibleChange)=\"showChangePassword = !!$event\">\r\n </bayan-core-change-password-widget>\r\n\r\n <bayan-core-about-dialog-widget\r\n [visible]=\"showAbout\"\r\n [config]=\"aboutDialog\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n (visibleChange)=\"showAbout = !!$event\">\r\n </bayan-core-about-dialog-widget>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
3728
3858
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { baseUrl: [{
|
|
3729
3859
|
type: Input
|
|
3730
3860
|
}], licenseUrl: [{
|
|
@@ -3869,11 +3999,11 @@ class BayanCoreUserPanelWidgetComponent {
|
|
|
3869
3999
|
});
|
|
3870
4000
|
}
|
|
3871
4001
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreUserPanelWidgetComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3872
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreUserPanelWidgetComponent, isStandalone: true, selector: "bayan-core-user-panel-widget", inputs: { baseUrl: "baseUrl", wrapperClass: "wrapperClass", dropdownOpenClass: "dropdownOpenClass", toggleButtonClass: "toggleButtonClass", employeeInfoClass: "employeeInfoClass", userNameClass: "userNameClass", propertyNameClass: "propertyNameClass", caretClass: "caretClass", menuClass: "menuClass", sectionLabelClass: "sectionLabelClass", menuItemClass: "menuItemClass", menuItemActiveClass: "menuItemActiveClass", indicatorClass: "indicatorClass", invisibleIndicatorClass: "invisibleIndicatorClass", dividerClass: "dividerClass", signOutButtonClass: "signOutButtonClass", showSignOutIcon: "showSignOutIcon", signOutIconClass: "signOutIconClass" }, outputs: { propertyChanged: "propertyChanged", signOutClick: "signOutClick" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"[wrapperClass, dropdownOpen() ? dropdownOpenClass : '']\">\r\n <a href=\"#\" [class]=\"toggleButtonClass\" (click)=\"toggleDropdown($event)\">\r\n <bayan-employee-badge [badge]=\"badge()\" width=\"34px\" height=\"34px\"></bayan-employee-badge>\r\n\r\n <div [class]=\"employeeInfoClass\">\r\n <span [class]=\"userNameClass\">{{ userPanel()?.UserDisplayName || '' }}</span>\r\n\r\n @if (userPanel()?.ActivePropertyName) {\r\n <span [class]=\"propertyNameClass\">{{ userPanel()?.ActivePropertyName }}</span>\r\n }\r\n </div>\r\n\r\n <span [class]=\"caretClass\">▼</span>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuClass\">\r\n @if ((userPanel()?.Properties?.length || 0) > 0) {\r\n <li [class]=\"sectionLabelClass\">{{ 'Properties' | translate }}</li>\r\n\r\n @for (property of userPanel()?.Properties ?? []; track property.PropertyId) {\r\n <li>\r\n <a\r\n class=\"text-dark-gray\"\r\n [ngClass]=\"[menuItemClass, property.PropertyId === userPanel()?.ActivePropertyId ? menuItemActiveClass : '']\"\r\n (click)=\"selectProperty($event, property)\">\r\n @if (property.PropertyId === userPanel()?.ActivePropertyId) {\r\n <span [class]=\"indicatorClass\">►</span>\r\n } @else {\r\n <span [class]=\"indicatorClass + ' ' + invisibleIndicatorClass\"></span>\r\n }\r\n\r\n {{ property.PropertyName }}\r\n </a>\r\n </li>\r\n }\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (!userPanel()?.IsSSOLogin) {\r\n <li>\r\n <a class=\"text-dark-gray\" [class]=\"signOutButtonClass\"\r\n [ngClass]=\"{'ms-3': !showSignOutIcon}\" (click)=\"signOut($event)\">\r\n @if (showSignOutIcon) {\r\n <fa-icon [class]=\"signOutIconClass\" [icon]=\"signOutIcon\"></fa-icon>\r\n }\r\n {{ 'SignOut' | translate }}\r\n </a>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: BayanEmployeeBadgeComponent, selector: "bayan-employee-badge", inputs: ["badge", "width", "height", "imageClass", "badgeClass"], outputs: ["employeePhotoError"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4002
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreUserPanelWidgetComponent, isStandalone: true, selector: "bayan-core-user-panel-widget", inputs: { baseUrl: "baseUrl", wrapperClass: "wrapperClass", dropdownOpenClass: "dropdownOpenClass", toggleButtonClass: "toggleButtonClass", employeeInfoClass: "employeeInfoClass", userNameClass: "userNameClass", propertyNameClass: "propertyNameClass", caretClass: "caretClass", menuClass: "menuClass", sectionLabelClass: "sectionLabelClass", menuItemClass: "menuItemClass", menuItemActiveClass: "menuItemActiveClass", indicatorClass: "indicatorClass", invisibleIndicatorClass: "invisibleIndicatorClass", dividerClass: "dividerClass", signOutButtonClass: "signOutButtonClass", showSignOutIcon: "showSignOutIcon", signOutIconClass: "signOutIconClass" }, outputs: { propertyChanged: "propertyChanged", signOutClick: "signOutClick" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"[wrapperClass, dropdownOpen() ? dropdownOpenClass : '']\">\r\n <a href=\"#\" [class]=\"toggleButtonClass\" (click)=\"toggleDropdown($event)\">\r\n <bayan-employee-badge [badge]=\"badge()\" width=\"34px\" height=\"34px\"></bayan-employee-badge>\r\n\r\n <div [class]=\"employeeInfoClass\">\r\n <span [class]=\"userNameClass\">{{ userPanel()?.UserDisplayName || '' }}</span>\r\n\r\n @if (userPanel()?.ActivePropertyName) {\r\n <span [class]=\"propertyNameClass\">{{ userPanel()?.ActivePropertyName }}</span>\r\n }\r\n </div>\r\n\r\n <span [class]=\"caretClass\">▼</span>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuClass\">\r\n @if ((userPanel()?.Properties?.length || 0) > 0) {\r\n <li [class]=\"sectionLabelClass\">{{ 'Properties' | translate }}</li>\r\n\r\n @for (property of userPanel()?.Properties ?? []; track property.PropertyId) {\r\n <li>\r\n <a\r\n class=\"text-dark-gray\"\r\n [ngClass]=\"[menuItemClass, property.PropertyId === userPanel()?.ActivePropertyId ? menuItemActiveClass : '']\"\r\n (click)=\"selectProperty($event, property)\">\r\n @if (property.PropertyId === userPanel()?.ActivePropertyId) {\r\n <span [class]=\"indicatorClass\">►</span>\r\n } @else {\r\n <span [class]=\"indicatorClass + ' ' + invisibleIndicatorClass\"></span>\r\n }\r\n\r\n {{ property.PropertyName }}\r\n </a>\r\n </li>\r\n }\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (!userPanel()?.IsSSOLogin) {\r\n <li>\r\n <a class=\"text-dark-gray\" [class]=\"signOutButtonClass\"\r\n [ngClass]=\"{'ms-3': !showSignOutIcon}\" (click)=\"signOut($event)\">\r\n @if (showSignOutIcon) {\r\n <fa-icon [class]=\"signOutIconClass\" [icon]=\"signOutIcon\"></fa-icon>\r\n }\r\n {{ 'SignOut' | translate }}\r\n </a>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: BayanEmployeeBadgeComponent, selector: "bayan-employee-badge", inputs: ["badge", "width", "height", "imageClass", "badgeClass"], outputs: ["employeePhotoError"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3873
4003
|
}
|
|
3874
4004
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreUserPanelWidgetComponent, decorators: [{
|
|
3875
4005
|
type: Component,
|
|
3876
|
-
args: [{ selector: 'bayan-core-user-panel-widget', standalone: true, imports: [CommonModule, FontAwesomeModule, BayanEmployeeBadgeComponent, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"[wrapperClass, dropdownOpen() ? dropdownOpenClass : '']\">\r\n <a href=\"#\" [class]=\"toggleButtonClass\" (click)=\"toggleDropdown($event)\">\r\n <bayan-employee-badge [badge]=\"badge()\" width=\"34px\" height=\"34px\"></bayan-employee-badge>\r\n\r\n <div [class]=\"employeeInfoClass\">\r\n <span [class]=\"userNameClass\">{{ userPanel()?.UserDisplayName || '' }}</span>\r\n\r\n @if (userPanel()?.ActivePropertyName) {\r\n <span [class]=\"propertyNameClass\">{{ userPanel()?.ActivePropertyName }}</span>\r\n }\r\n </div>\r\n\r\n <span [class]=\"caretClass\">▼</span>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuClass\">\r\n @if ((userPanel()?.Properties?.length || 0) > 0) {\r\n <li [class]=\"sectionLabelClass\">{{ 'Properties' | translate }}</li>\r\n\r\n @for (property of userPanel()?.Properties ?? []; track property.PropertyId) {\r\n <li>\r\n <a\r\n class=\"text-dark-gray\"\r\n [ngClass]=\"[menuItemClass, property.PropertyId === userPanel()?.ActivePropertyId ? menuItemActiveClass : '']\"\r\n (click)=\"selectProperty($event, property)\">\r\n @if (property.PropertyId === userPanel()?.ActivePropertyId) {\r\n <span [class]=\"indicatorClass\">►</span>\r\n } @else {\r\n <span [class]=\"indicatorClass + ' ' + invisibleIndicatorClass\"></span>\r\n }\r\n\r\n {{ property.PropertyName }}\r\n </a>\r\n </li>\r\n }\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (!userPanel()?.IsSSOLogin) {\r\n <li>\r\n <a class=\"text-dark-gray\" [class]=\"signOutButtonClass\"\r\n [ngClass]=\"{'ms-3': !showSignOutIcon}\" (click)=\"signOut($event)\">\r\n @if (showSignOutIcon) {\r\n <fa-icon [class]=\"signOutIconClass\" [icon]=\"signOutIcon\"></fa-icon>\r\n }\r\n {{ 'SignOut' | translate }}\r\n </a>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
4006
|
+
args: [{ selector: 'bayan-core-user-panel-widget', standalone: true, imports: [CommonModule, FontAwesomeModule, BayanEmployeeBadgeComponent, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"[wrapperClass, dropdownOpen() ? dropdownOpenClass : '']\">\r\n <a href=\"#\" [class]=\"toggleButtonClass\" (click)=\"toggleDropdown($event)\">\r\n <bayan-employee-badge [badge]=\"badge()\" width=\"34px\" height=\"34px\"></bayan-employee-badge>\r\n\r\n <div [class]=\"employeeInfoClass\">\r\n <span [class]=\"userNameClass\">{{ userPanel()?.UserDisplayName || '' }}</span>\r\n\r\n @if (userPanel()?.ActivePropertyName) {\r\n <span [class]=\"propertyNameClass\">{{ userPanel()?.ActivePropertyName }}</span>\r\n }\r\n </div>\r\n\r\n <span [class]=\"caretClass\">▼</span>\r\n </a>\r\n\r\n @if (dropdownOpen()) {\r\n <ul [class]=\"menuClass\">\r\n @if ((userPanel()?.Properties?.length || 0) > 0) {\r\n <li [class]=\"sectionLabelClass\">{{ 'Properties' | translate }}</li>\r\n\r\n @for (property of userPanel()?.Properties ?? []; track property.PropertyId) {\r\n <li>\r\n <a\r\n class=\"text-dark-gray\"\r\n [ngClass]=\"[menuItemClass, property.PropertyId === userPanel()?.ActivePropertyId ? menuItemActiveClass : '']\"\r\n (click)=\"selectProperty($event, property)\">\r\n @if (property.PropertyId === userPanel()?.ActivePropertyId) {\r\n <span [class]=\"indicatorClass\">►</span>\r\n } @else {\r\n <span [class]=\"indicatorClass + ' ' + invisibleIndicatorClass\"></span>\r\n }\r\n\r\n {{ property.PropertyName }}\r\n </a>\r\n </li>\r\n }\r\n\r\n <li><hr [class]=\"dividerClass\"></li>\r\n }\r\n\r\n @if (!userPanel()?.IsSSOLogin) {\r\n <li>\r\n <a class=\"text-dark-gray\" [class]=\"signOutButtonClass\"\r\n [ngClass]=\"{'ms-3': !showSignOutIcon}\" (click)=\"signOut($event)\">\r\n @if (showSignOutIcon) {\r\n <fa-icon [class]=\"signOutIconClass\" [icon]=\"signOutIcon\"></fa-icon>\r\n }\r\n {{ 'SignOut' | translate }}\r\n </a>\r\n </li>\r\n }\r\n </ul>\r\n }\r\n</div>\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
3877
4007
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { baseUrl: [{
|
|
3878
4008
|
type: Input
|
|
3879
4009
|
}], wrapperClass: [{
|
|
@@ -4034,7 +4164,7 @@ class BayanCoreTopMenuWidgetComponent {
|
|
|
4034
4164
|
}
|
|
4035
4165
|
}
|
|
4036
4166
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuWidgetComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4037
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreTopMenuWidgetComponent, isStandalone: true, selector: "bayan-core-top-menu-widget", inputs: { baseUrl: "baseUrl", systemModule: "systemModule", sidebarCollapsed: "sidebarCollapsed", homeUrl: "homeUrl", logoUrl: "logoUrl", collapsedLogoUrl: "collapsedLogoUrl", isSsoLogin: "isSsoLogin", showGlobalSearch: "showGlobalSearch", showUserPanel: "showUserPanel", showSettings: "showSettings", showShortcutMenus: "showShortcutMenus", showNotifications: "showNotifications", notificationsTitle: "notificationsTitle", showHelp: "showHelp", helpTitle: "helpTitle", helpUrl: "helpUrl", helpIcon: "helpIcon", helpAnchorClass: "helpAnchorClass", helpUrlTarget: "helpUrlTarget", licenseUrl: "licenseUrl", releaseNotesUrl: "releaseNotesUrl", supportUrl: "supportUrl" }, outputs: { logoClick: "logoClick", helpClick: "helpClick", menuItemClick: "menuItemClick", searchSubmit: "searchSubmit", propertyChanged: "propertyChanged", signOutClick: "signOutClick", alternateNamesChange: "alternateNamesChange", employeeNameModeChange: "employeeNameModeChange" }, ngImport: i0, template: "<header class=\"top-bar-header shadow-sm w-100 sticky-top\">\r\n <dx-toolbar class=\"header-toolbar px-4\">\r\n <dxi-item location=\"before\">\r\n <div *dxTemplate>\r\n <a\r\n class=\"navbar-brand-link\" href=\"#\"\r\n [class.collapsed]=\"sidebarCollapsed\"\r\n (click)=\"onLogoClicked($event)\">\r\n <img\r\n [src]=\"getLogoSrc()\"\r\n alt=\"\"\r\n [class.header-logo]=\"!sidebarCollapsed\"\r\n [class.header-logo-collapsed]=\"sidebarCollapsed && !!collapsedLogoUrl\">\r\n </a>\r\n </div>\r\n </dxi-item>\r\n\r\n @if (showShortcutMenus) {\r\n <dxi-item location=\"before\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <ul class=\"nav navbar-nav d-flex flex-row align-items-center mb-0 gap-1\">\r\n @for (item of menuItems; track item.MenuName) {\r\n <bayan-core-item-widget [item]=\"item\"\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n (itemClick)=\"menuItemClick.emit($event)\">\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showGlobalSearch) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-global-search-widget\r\n #globalSearchWidget\r\n [baseUrl]=\"baseUrl\"\r\n [dataSource]=\"globalSearchResults\"\r\n (search)=\"searchSubmit.emit($event)\">\r\n </bayan-core-global-search-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showUserPanel) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-user-panel-widget\r\n [baseUrl]=\"baseUrl\"\r\n [showSignOutIcon]=\"false\"\r\n (propertyChanged)=\"onPropertyChanged($event)\"\r\n (signOutClick)=\"signOutClick.emit()\">\r\n </bayan-core-user-panel-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showSettings) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-settings-widget\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [baseUrl]=\"baseUrl\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n [systemModule]=\"systemModule\"\r\n (alternateNamesChange)=\"alternateNamesChange.emit($event)\"\r\n (employeeNameModeChange)=\"onEmployeeNameModeChange($event)\">\r\n </bayan-core-settings-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showNotifications) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-notifications-widget [baseUrl]=\"baseUrl\"\r\n [title]=\"notificationsTitle | translate\" >\r\n </bayan-core-notifications-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showHelp) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <a\r\n [class]=\"helpAnchorClass\"\r\n [title]=\"helpTitle | translate\"\r\n [target]=\"helpUrlTarget\"\r\n href=\"#\"\r\n (click)=\"onHelpClicked($event)\">\r\n <fa-icon [icon]=\"helpIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n </div>\r\n </dxi-item>\r\n }\r\n </dx-toolbar>\r\n</header>\r\n\r\n<!-- Dialogs are now rendered inside settings-widget, not here -->\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxToolbarModule }, { kind: "component", type: i1.DxToolbarComponent, selector: "dx-toolbar", inputs: ["dataSource", "disabled", "elementAttr", "hint", "hoverStateEnabled", "itemHoldTimeout", "items", "itemTemplate", "menuItemTemplate", "multiline", "noDataText", "rtlEnabled", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onOptionChanged", "dataSourceChange", "disabledChange", "elementAttrChange", "hintChange", "hoverStateEnabledChange", "itemHoldTimeoutChange", "itemsChange", "itemTemplateChange", "menuItemTemplateChange", "multilineChange", "noDataTextChange", "rtlEnabledChange", "visibleChange", "widthChange"] }, { kind: "component", type: i3.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "author", "id", "timestamp", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "captionTemplate", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "linkAttr", "url", "collapsed", "collapsedSize", "collapsible", "maxSize", "minSize", "resizable", "size", "splitter", "heightRatio", "widthRatio", "expanded", "hasItems", "parentId"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: BayanCoreItemWidgetComponent, selector: "bayan-core-item-widget", inputs: ["baseUrl", "ActivePropertyChanged", "item", "navItemClass", "navLinkClass", "dropdownClass", "dropdownOpenClass", "dropdownToggleClass", "caretClass", "dropdownMenuClass"], outputs: ["itemClick"] }, { kind: "component", type: BayanCoreGlobalSearchWidgetComponent, selector: "bayan-core-global-search-widget", inputs: ["dataSource", "baseUrl", "placeholder", "searchMode", "stylingMode", "searchWrapperClass", "searchItemClass", "searchItemTitleClass", "searchItemSubtitleClass", "iconClass"], outputs: ["search", "itemNavigate"] }, { kind: "component", type: BayanCoreUserPanelWidgetComponent, selector: "bayan-core-user-panel-widget", inputs: ["baseUrl", "wrapperClass", "dropdownOpenClass", "toggleButtonClass", "employeeInfoClass", "userNameClass", "propertyNameClass", "caretClass", "menuClass", "sectionLabelClass", "menuItemClass", "menuItemActiveClass", "indicatorClass", "invisibleIndicatorClass", "dividerClass", "signOutButtonClass", "showSignOutIcon", "signOutIconClass"], outputs: ["propertyChanged", "signOutClick"] }, { kind: "component", type: BayanCoreSettingsWidgetComponent, selector: "bayan-core-settings-widget", inputs: ["baseUrl", "licenseUrl", "releaseNotesUrl", "supportUrl", "ActivePropertyChanged", "systemModule", "checkIcon", "cogIcon", "infoIcon", "dropdownOpen", "dropdownHostClass", "toggleBtnClass", "menuPanelClass", "sectionLabelClass", "menuRowClass", "dividerClass", "indicatorClass", "indicatorActiveClass", "indicatorInvisibleClass"], outputs: ["alternateNamesChange", "nameModeChange"] }, { kind: "component", type: BayanCoreNotificationsWidgetComponent, selector: "bayan-core-notifications-widget", inputs: ["baseUrl", "title", "wrapperClass", "linkClass", "iconClass", "badgeClass"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4167
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreTopMenuWidgetComponent, isStandalone: true, selector: "bayan-core-top-menu-widget", inputs: { baseUrl: "baseUrl", systemModule: "systemModule", sidebarCollapsed: "sidebarCollapsed", homeUrl: "homeUrl", logoUrl: "logoUrl", collapsedLogoUrl: "collapsedLogoUrl", isSsoLogin: "isSsoLogin", showGlobalSearch: "showGlobalSearch", showUserPanel: "showUserPanel", showSettings: "showSettings", showShortcutMenus: "showShortcutMenus", showNotifications: "showNotifications", notificationsTitle: "notificationsTitle", showHelp: "showHelp", helpTitle: "helpTitle", helpUrl: "helpUrl", helpIcon: "helpIcon", helpAnchorClass: "helpAnchorClass", helpUrlTarget: "helpUrlTarget", licenseUrl: "licenseUrl", releaseNotesUrl: "releaseNotesUrl", supportUrl: "supportUrl" }, outputs: { logoClick: "logoClick", helpClick: "helpClick", menuItemClick: "menuItemClick", searchSubmit: "searchSubmit", propertyChanged: "propertyChanged", signOutClick: "signOutClick", alternateNamesChange: "alternateNamesChange", employeeNameModeChange: "employeeNameModeChange" }, ngImport: i0, template: "<header class=\"top-bar-header shadow-sm w-100 sticky-top\">\r\n <dx-toolbar class=\"header-toolbar px-4\">\r\n <dxi-item location=\"before\">\r\n <div *dxTemplate>\r\n <a\r\n class=\"navbar-brand-link\" href=\"#\"\r\n [class.collapsed]=\"sidebarCollapsed\"\r\n (click)=\"onLogoClicked($event)\">\r\n <img\r\n [src]=\"getLogoSrc()\"\r\n alt=\"\"\r\n [class.header-logo]=\"!sidebarCollapsed\"\r\n [class.header-logo-collapsed]=\"sidebarCollapsed && !!collapsedLogoUrl\">\r\n </a>\r\n </div>\r\n </dxi-item>\r\n\r\n @if (showShortcutMenus) {\r\n <dxi-item location=\"before\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <ul class=\"nav navbar-nav d-flex flex-row align-items-center mb-0 gap-1\">\r\n @for (item of menuItems; track item.MenuName) {\r\n <bayan-core-item-widget [item]=\"item\"\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n (itemClick)=\"menuItemClick.emit($event)\">\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showGlobalSearch) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-global-search-widget\r\n #globalSearchWidget\r\n [baseUrl]=\"baseUrl\"\r\n [dataSource]=\"globalSearchResults\"\r\n (search)=\"searchSubmit.emit($event)\">\r\n </bayan-core-global-search-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showUserPanel) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-user-panel-widget\r\n [baseUrl]=\"baseUrl\"\r\n [showSignOutIcon]=\"false\"\r\n (propertyChanged)=\"onPropertyChanged($event)\"\r\n (signOutClick)=\"signOutClick.emit()\">\r\n </bayan-core-user-panel-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showSettings) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-settings-widget\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [baseUrl]=\"baseUrl\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n [systemModule]=\"systemModule\"\r\n (alternateNamesChange)=\"alternateNamesChange.emit($event)\"\r\n (employeeNameModeChange)=\"onEmployeeNameModeChange($event)\">\r\n </bayan-core-settings-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showNotifications) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-notifications-widget [baseUrl]=\"baseUrl\"\r\n [title]=\"notificationsTitle | translate\" >\r\n </bayan-core-notifications-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showHelp) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <a\r\n [class]=\"helpAnchorClass\"\r\n [title]=\"helpTitle | translate\"\r\n [target]=\"helpUrlTarget\"\r\n href=\"#\"\r\n (click)=\"onHelpClicked($event)\">\r\n <fa-icon [icon]=\"helpIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n </div>\r\n </dxi-item>\r\n }\r\n </dx-toolbar>\r\n</header>\r\n\r\n<!-- Dialogs are now rendered inside settings-widget, not here -->\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxToolbarModule }, { kind: "component", type: i1.DxToolbarComponent, selector: "dx-toolbar", inputs: ["dataSource", "disabled", "elementAttr", "hint", "hoverStateEnabled", "itemHoldTimeout", "items", "itemTemplate", "menuItemTemplate", "multiline", "noDataText", "rtlEnabled", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onInitialized", "onItemClick", "onItemContextMenu", "onItemHold", "onItemRendered", "onOptionChanged", "dataSourceChange", "disabledChange", "elementAttrChange", "hintChange", "hoverStateEnabledChange", "itemHoldTimeoutChange", "itemsChange", "itemTemplateChange", "menuItemTemplateChange", "multilineChange", "noDataTextChange", "rtlEnabledChange", "visibleChange", "widthChange"] }, { kind: "component", type: i3.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "author", "id", "timestamp", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "captionTemplate", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "linkAttr", "url", "collapsed", "collapsedSize", "collapsible", "maxSize", "minSize", "resizable", "size", "splitter", "heightRatio", "widthRatio", "expanded", "hasItems", "parentId"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "component", type: BayanCoreItemWidgetComponent, selector: "bayan-core-item-widget", inputs: ["baseUrl", "ActivePropertyChanged", "item", "navItemClass", "navLinkClass", "dropdownClass", "dropdownOpenClass", "dropdownToggleClass", "caretClass", "dropdownMenuClass"], outputs: ["itemClick"] }, { kind: "component", type: BayanCoreGlobalSearchWidgetComponent, selector: "bayan-core-global-search-widget", inputs: ["dataSource", "baseUrl", "placeholder", "searchMode", "stylingMode", "searchWrapperClass", "searchItemClass", "searchItemTitleClass", "searchItemSubtitleClass", "iconClass"], outputs: ["search", "itemNavigate"] }, { kind: "component", type: BayanCoreUserPanelWidgetComponent, selector: "bayan-core-user-panel-widget", inputs: ["baseUrl", "wrapperClass", "dropdownOpenClass", "toggleButtonClass", "employeeInfoClass", "userNameClass", "propertyNameClass", "caretClass", "menuClass", "sectionLabelClass", "menuItemClass", "menuItemActiveClass", "indicatorClass", "invisibleIndicatorClass", "dividerClass", "signOutButtonClass", "showSignOutIcon", "signOutIconClass"], outputs: ["propertyChanged", "signOutClick"] }, { kind: "component", type: BayanCoreSettingsWidgetComponent, selector: "bayan-core-settings-widget", inputs: ["baseUrl", "licenseUrl", "releaseNotesUrl", "supportUrl", "ActivePropertyChanged", "systemModule", "checkIcon", "cogIcon", "infoIcon", "dropdownOpen", "dropdownHostClass", "toggleBtnClass", "menuPanelClass", "sectionLabelClass", "menuRowClass", "dividerClass", "indicatorClass", "indicatorActiveClass", "indicatorInvisibleClass"], outputs: ["alternateNamesChange", "nameModeChange"] }, { kind: "component", type: BayanCoreNotificationsWidgetComponent, selector: "bayan-core-notifications-widget", inputs: ["baseUrl", "title", "wrapperClass", "linkClass", "iconClass", "badgeClass"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4038
4168
|
}
|
|
4039
4169
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTopMenuWidgetComponent, decorators: [{
|
|
4040
4170
|
type: Component,
|
|
@@ -4048,7 +4178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImpo
|
|
|
4048
4178
|
BayanCoreSettingsWidgetComponent,
|
|
4049
4179
|
BayanCoreNotificationsWidgetComponent,
|
|
4050
4180
|
BayanCoreTranslatePipe
|
|
4051
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"top-bar-header shadow-sm w-100 sticky-top\">\r\n <dx-toolbar class=\"header-toolbar px-4\">\r\n <dxi-item location=\"before\">\r\n <div *dxTemplate>\r\n <a\r\n class=\"navbar-brand-link\" href=\"#\"\r\n [class.collapsed]=\"sidebarCollapsed\"\r\n (click)=\"onLogoClicked($event)\">\r\n <img\r\n [src]=\"getLogoSrc()\"\r\n alt=\"\"\r\n [class.header-logo]=\"!sidebarCollapsed\"\r\n [class.header-logo-collapsed]=\"sidebarCollapsed && !!collapsedLogoUrl\">\r\n </a>\r\n </div>\r\n </dxi-item>\r\n\r\n @if (showShortcutMenus) {\r\n <dxi-item location=\"before\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <ul class=\"nav navbar-nav d-flex flex-row align-items-center mb-0 gap-1\">\r\n @for (item of menuItems; track item.MenuName) {\r\n <bayan-core-item-widget [item]=\"item\"\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n (itemClick)=\"menuItemClick.emit($event)\">\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showGlobalSearch) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-global-search-widget\r\n #globalSearchWidget\r\n [baseUrl]=\"baseUrl\"\r\n [dataSource]=\"globalSearchResults\"\r\n (search)=\"searchSubmit.emit($event)\">\r\n </bayan-core-global-search-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showUserPanel) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-user-panel-widget\r\n [baseUrl]=\"baseUrl\"\r\n [showSignOutIcon]=\"false\"\r\n (propertyChanged)=\"onPropertyChanged($event)\"\r\n (signOutClick)=\"signOutClick.emit()\">\r\n </bayan-core-user-panel-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showSettings) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-settings-widget\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [baseUrl]=\"baseUrl\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n [systemModule]=\"systemModule\"\r\n (alternateNamesChange)=\"alternateNamesChange.emit($event)\"\r\n (employeeNameModeChange)=\"onEmployeeNameModeChange($event)\">\r\n </bayan-core-settings-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showNotifications) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-notifications-widget [baseUrl]=\"baseUrl\"\r\n [title]=\"notificationsTitle | translate\" >\r\n </bayan-core-notifications-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showHelp) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <a\r\n [class]=\"helpAnchorClass\"\r\n [title]=\"helpTitle | translate\"\r\n [target]=\"helpUrlTarget\"\r\n href=\"#\"\r\n (click)=\"onHelpClicked($event)\">\r\n <fa-icon [icon]=\"helpIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n </div>\r\n </dxi-item>\r\n }\r\n </dx-toolbar>\r\n</header>\r\n\r\n<!-- Dialogs are now rendered inside settings-widget, not here -->\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:#999;font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#fff}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#222;background:#f5f5f5}.nav-item .nav-link .caret{margin-left:4px;font-size:10px}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#fff!important;color:#222!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#fff!important;color:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .dropdown-menu.menu-dropdown-panel{top:100%;margin-top:0;min-width:220px;padding:0;border-radius:0 0 4px 4px;overflow:hidden;background:#fff!important;z-index:1200}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{height:35px!important;padding:0 22px;background:#fff!important;color:var(--dark-text-color, #333)!important;border-bottom:none;font-weight:400;text-decoration:none!important}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link:hover,.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item.dropdown.open>.nav-link{background:#f5f6f8!important;color:var(--dark-text-color, #222)!important;text-decoration:none!important}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:#222!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
4181
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"top-bar-header shadow-sm w-100 sticky-top\">\r\n <dx-toolbar class=\"header-toolbar px-4\">\r\n <dxi-item location=\"before\">\r\n <div *dxTemplate>\r\n <a\r\n class=\"navbar-brand-link\" href=\"#\"\r\n [class.collapsed]=\"sidebarCollapsed\"\r\n (click)=\"onLogoClicked($event)\">\r\n <img\r\n [src]=\"getLogoSrc()\"\r\n alt=\"\"\r\n [class.header-logo]=\"!sidebarCollapsed\"\r\n [class.header-logo-collapsed]=\"sidebarCollapsed && !!collapsedLogoUrl\">\r\n </a>\r\n </div>\r\n </dxi-item>\r\n\r\n @if (showShortcutMenus) {\r\n <dxi-item location=\"before\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <ul class=\"nav navbar-nav d-flex flex-row align-items-center mb-0 gap-1\">\r\n @for (item of menuItems; track item.MenuName) {\r\n <bayan-core-item-widget [item]=\"item\"\r\n [baseUrl]=\"baseUrl\"\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n (itemClick)=\"menuItemClick.emit($event)\">\r\n </bayan-core-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showGlobalSearch) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-global-search-widget\r\n #globalSearchWidget\r\n [baseUrl]=\"baseUrl\"\r\n [dataSource]=\"globalSearchResults\"\r\n (search)=\"searchSubmit.emit($event)\">\r\n </bayan-core-global-search-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showUserPanel) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-user-panel-widget\r\n [baseUrl]=\"baseUrl\"\r\n [showSignOutIcon]=\"false\"\r\n (propertyChanged)=\"onPropertyChanged($event)\"\r\n (signOutClick)=\"signOutClick.emit()\">\r\n </bayan-core-user-panel-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showSettings) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-settings-widget\r\n [ActivePropertyChanged]=\"ActivePropertyChanged\"\r\n [baseUrl]=\"baseUrl\"\r\n [licenseUrl]=\"licenseUrl\"\r\n [releaseNotesUrl]=\"releaseNotesUrl\"\r\n [supportUrl]=\"supportUrl\"\r\n [systemModule]=\"systemModule\"\r\n (alternateNamesChange)=\"alternateNamesChange.emit($event)\"\r\n (employeeNameModeChange)=\"onEmployeeNameModeChange($event)\">\r\n </bayan-core-settings-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showNotifications) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <bayan-core-notifications-widget [baseUrl]=\"baseUrl\"\r\n [title]=\"notificationsTitle | translate\" >\r\n </bayan-core-notifications-widget>\r\n </div>\r\n </dxi-item>\r\n }\r\n\r\n @if (showHelp) {\r\n <dxi-item location=\"after\" locateInMenu=\"never\">\r\n <div *dxTemplate>\r\n <a\r\n [class]=\"helpAnchorClass\"\r\n [title]=\"helpTitle | translate\"\r\n [target]=\"helpUrlTarget\"\r\n href=\"#\"\r\n (click)=\"onHelpClicked($event)\">\r\n <fa-icon [icon]=\"helpIcon\" class=\"fs-6\"></fa-icon>\r\n </a>\r\n </div>\r\n </dxi-item>\r\n }\r\n </dx-toolbar>\r\n</header>\r\n\r\n<!-- Dialogs are now rendered inside settings-widget, not here -->\r\n", styles: [".global-search-wrapper{position:relative;width:100%;max-width:480px}.dx-autocomplete-popup-wrapper{border-radius:8px!important;box-shadow:0 4px 16px #00000026!important;background:#fff!important;min-width:400px!important;padding:.5rem 0!important;max-height:340px!important;overflow-y:auto!important}.global-search-dropdown-item{width:100%}.global-search-link{display:block;border-radius:6px;transition:background .15s,color .15s;text-decoration:none;padding:0}.compact-search-item{padding:2px 7px!important;min-height:35px;line-height:1.2}.global-search-link:hover,.compact-search-item:hover{background:#f5f5f5!important;color:#999!important}.search-title{color:#999!important;font-weight:600;font-size:.8em!important;line-height:1.1}.search-subtitle{color:#222;font-size:14px;line-height:1.1;margin-top:1px}.global-search-icon{color:#999!important;font-size:.8em!important}.state-small-size{font-size:.95em}.menu-dropdown-panel,.dropdown-menu{background:#fff!important}[dir=rtl] .navbar-brand-link{margin-left:auto!important;margin-right:0!important;display:flex;justify-content:flex-end}.top-bar-header .dx-autocomplete,.header-toolbar .dx-autocomplete{width:100%!important;max-width:400px;margin:0 auto}.dx-autocomplete .dx-texteditor-input{background:#5c4848!important;color:#fff!important;border-radius:6px!important;border:2px solid #f18206!important;padding:8px 12px!important;font-size:16px!important;box-shadow:none!important}.dx-autocomplete .dx-texteditor-input::placeholder{color:#b9a9a9!important;opacity:1}.dx-autocomplete.dx-state-focused .dx-texteditor-input{border-color:#f18206!important;box-shadow:0 0 0 2px #f1820626!important}.settings-menu li{margin-bottom:9px}.settings-menu li:hover{background:#f5f5f5!important}.settings-menu .header-dropdown-item,.settings-menu .menu-row{color:var(--dark-text-color, #333)!important;font-weight:400;background:none;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}.settings-menu .header-dropdown-item.menu-item-active,.settings-menu .menu-row.menu-item-active{color:#222;font-weight:700}.settings-menu .menu-section-label{color:#bbb!important;font-size:13px;font-weight:400;cursor:default;padding-top:8px;padding-bottom:4px}.settings-menu .indicatorClass{display:inline-flex;align-items:center;margin-right:8px;color:var(--primary-color, #F18206)}.settings-menu .indicatorClass.invisible{color:transparent}.settings-menu .fa-icon{margin-right:8px}.settings-menu .dropdown-divider{margin:4px 0}[dir=rtl] .employee-info{margin-left:0!important;margin-right:8px!important;text-align:right}[dir=rtl] .user-name,[dir=rtl] .property-name{text-align:right}[dir=rtl] .employee-caret{margin-left:0!important;margin-right:2px!important}[dir=rtl] .menu-item,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row{flex-direction:row-reverse;text-align:right}[dir=rtl] .menu-indicator{margin-left:0!important;margin-right:8px!important}[dir=rtl] .dropdown-divider,[dir=rtl] .menu-divider{margin-left:0!important;margin-right:0!important}[dir=rtl] .navbar-brand-link{text-align:right}[dir=rtl] .top-bar-header,[dir=rtl] .header-toolbar{direction:rtl}[dir=rtl] .about-dialog .row,[dir=rtl] .about-dialog .col-4,[dir=rtl] .about-dialog .col-8,[dir=rtl] .change-password-dialog .dx-form,[dir=rtl] .change-password-dialog .dx-label,[dir=rtl] .change-password-dialog .dx-field-item-label{text-align:right}[dir=rtl] .menu-dropdown-panel,[dir=rtl] .settings-menu,[dir=rtl] .employee-menu,[dir=rtl] .notifications-menu{right:auto;left:0}[dir=rtl] .menu-section-label,[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{text-align:right}[dir=rtl] .header-dropdown-item,[dir=rtl] .menu-row,[dir=rtl] .menu-item{padding-left:16px;padding-right:16px;flex-direction:row-reverse}[dir=rtl] .menu-indicator{margin-left:0;margin-right:8px}[dir=rtl] .notifications-badge{right:auto;left:4px}[dir=rtl] .employee-info{margin-left:0;margin-right:8px}[dir=rtl] .employee-caret{margin-left:0;margin-right:2px}::ng-deep .dx-autocomplete.dx-state-focused .dx-texteditor-input,::ng-deep .dx-autocomplete .dx-texteditor-input:focus{outline:none!important;box-shadow:none!important}::ng-deep .dx-autocomplete.dx-state-focused.dx-texteditor-filled{border-color:transparent!important;box-shadow:none!important}.menu-dropdown-host{position:relative;display:flex;align-items:center}.menu-icon-btn{display:flex;align-items:center;justify-content:center;width:40px;height:56px;text-decoration:none;color:var(--Secondary-Light-Color, #999)!important;transition:color var(--tran-02, .2s);cursor:pointer;font-size:14px}.menu-icon-btn:hover{color:var(--bs-white, #fff)!important}.menu-dropdown-panel{position:absolute;top:100%;background:var(--bs-white, #fff);color:var(--dark-text-color, #333);border:1px solid var(--bs-gray, #dee2e6);box-shadow:0 4px 12px #0000001f;z-index:1050;padding:4px 0;list-style:none;border-radius:4px;margin-top:0}.menu-section-label{font-size:12px;color:var(--Secondary-Light-Color, #888);padding:4px 16px 6px;letter-spacing:.03em;display:block}.menu-row{display:flex;align-items:center;gap:6px}.menu-divider{border:none;border-top:1px solid rgba(0,0,0,.8);margin:4px 0}.dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.menu-indicator{display:inline-flex;align-items:center;justify-content:center;width:16px;flex-shrink:0;font-size:12px;padding-top:2px}.menu-indicator-active{color:var(--primary-color, #F18206)}::ng-deep .top-bar-header .dx-toolbar{padding:0!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-items-container{height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-before,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-center,::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{display:flex!important;align-items:center!important;height:56px!important}::ng-deep .top-bar-header .dx-toolbar .dx-item.dx-toolbar-item{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-item-content.dx-toolbar-item-content{display:flex!important;align-items:center!important}::ng-deep .top-bar-header .dx-toolbar .dx-toolbar-after{padding:0 20px!important}.navbar-brand-link{display:flex;align-items:center;text-decoration:none;width:235px;min-width:235px;transition:width var(--tran-03),min-width var(--tran-03);overflow:hidden}.navbar-brand-link.collapsed{width:60px;min-width:60px}.header-logo{height:38px;object-fit:contain}.header-logo-collapsed{height:32px;object-fit:contain}.nav.navbar-nav{list-style:none;padding:0;margin:0}.user-info{display:flex;align-items:center}ul{margin-top:0}.employee-toggle{display:flex;align-items:center;height:56px;padding:0 6px;text-decoration:none;cursor:pointer;color:var(--Secondary-Light-Color, #999);transition:color var(--tran-02, .2s)}.employee-toggle:hover{color:var(--bs-white, #fff)}.employee-info{display:flex;flex-direction:column;justify-content:center;margin-left:8px;margin-right:4px}.user-name{font-size:13px;font-weight:500;color:var(--bs-white, #fff);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;display:block}.property-name{font-size:11px;color:var(--Secondary-Light-Color, #999);max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;letter-spacing:.03em;display:block}.employee-caret{font-size:9px;color:var(--Secondary-Light-Color, #999);flex-shrink:0;margin-left:2px}.employee-menu{right:0;min-width:200px;padding:6px 0;border-color:#0000001f;box-shadow:0 4px 16px #00000026}.menu-item{display:flex;align-items:center;padding:7px 16px;font-size:14px;color:var(--dark-text-color, #333);text-decoration:none;cursor:pointer;transition:background var(--tran-02, .15s)}.menu-item:hover,.menu-item:focus{background:#f5f5f5;color:var(--dark-text-color, #333)!important}.menu-item-active{color:var(--dark-text-color, #333);font-weight:600}.menu-item-active .menu-indicator{color:var(--primary-color, #F18206)}.menu-item-signout:hover,.menu-item-signout:focus{background:#f5f5f5!important;color:#222!important}.menu-item-signout:hover fa-icon,.menu-item-signout:focus fa-icon{color:#222!important}.settings-menu{right:0;min-width:240px}.header-dropdown-item{gap:6px;padding:7px 16px;font-size:14px}.header-dropdown-item.disabled{opacity:.5}.item-icon{font-size:16px;width:18px;flex-shrink:0}.dropdown-divider{border-top:1px solid rgba(0,0,0,.175)}.notifications-icon-btn{position:relative}.notifications-badge{position:absolute;top:5px;right:4px;min-width:18px;height:15px;border-radius:25%;padding:0 5px;font-size:10px;line-height:18px;text-align:center;background-color:var(--bs-danger, #dc3545)!important;color:#fff!important}.notifications-menu{right:0;top:calc(100% + 4px);min-width:280px;max-height:400px;overflow-y:auto;z-index:1050}.nav-item .nav-link{color:var(--Secondary-Light-Color, #999);font-weight:500;padding:0 14px;height:56px;display:flex;align-items:center;justify-content:flex-start;text-decoration:none;font-size:13px;white-space:nowrap;transition:color .2s,background .2s;background:#222}.nav-item .nav-link:hover,.nav-item.dropdown.open>.nav-link{color:#fff;background:#222}.nav-item .nav-link .caret{margin-left:4px;font-size:10px;color:var(--Secondary-Light-Color, #999);transition:color .2s}.nav-item .nav-link:hover .caret,.nav-item.dropdown.open>.nav-link .caret{color:#fff}.nav-item.dropdown{position:relative}.dropdown-menu{left:0;min-width:200px}.nav-item.dropdown.open>.dropdown-menu{display:block}.top-bar-header .nav-item.dropdown>.nav-link{background:#222!important;color:var(--Secondary-Light-Color, #999)!important;font-weight:500;transition:background .15s,color .15s}.top-bar-header .nav-item.dropdown.open>.nav-link{background:#222!important;color:#fff!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link:hover{background:#222!important;color:#fff!important}.top-bar-header .dropdown-menu.menu-dropdown-panel{background:#fff!important;box-shadow:0 4px 16px #00000026;border-radius:6px;padding:0}.top-bar-header .dropdown-menu.menu-dropdown-panel .nav-item .nav-link{background:#fff!important;color:#222!important;font-weight:400;height:38px!important;padding:0 22px;border-bottom:none;text-decoration:none!important;display:flex;align-items:center;transition:background .15s,color .15s}.top-bar-header .nav-item{margin:0}.top-bar-header .nav-item.dropdown>.nav-link,.top-bar-header .nav-item.dropdown>.nav-link:focus{color:var(--Secondary-Light-Color, #999)!important;background:#222!important}.top-bar-header .nav-item.dropdown>.nav-link:hover,.top-bar-header .nav-item.dropdown.open>.nav-link{color:#fff!important;background:#222!important}.top-bar-header input{border:none!important;margin-right:0!important}.dropdown-menu.menu-dropdown-panel>li.nav-item>a.nav-link{background:#fff!important;color:var(--dark-text-color, #333)!important}.dropdown-menu.menu-dropdown-panel>li:hover{background:#f5f5f5!important}.dropdown-menu .menu-dropdown-panel>li:hover,.settings-menu .menu-dropdown-panel>li:hover,.menu-dropdown-panel .settings-menu>li:hover{background:#f5f5f5!important}.about-backdrop{position:fixed;inset:0;background:#00000073;z-index:2000;display:flex;align-items:center;justify-content:center;animation:about-fade-in .2s ease}@keyframes about-fade-in{0%{opacity:0}to{opacity:1}}.about-modal{background:#fff;border-radius:6px;width:560px;max-width:95vw;box-shadow:0 5px 30px #00000040;animation:about-slide-in .22s ease;overflow:hidden}@keyframes about-slide-in{0%{transform:translateY(-30px);opacity:0}to{transform:translateY(0);opacity:1}}.about-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e5e5e5}.about-modal-title{font-size:1rem;font-weight:400;margin:0;color:#333}.about-close-btn{background:none;border:none;font-size:1.5rem;line-height:1;color:#999;cursor:pointer;padding:0 4px}.about-close-btn:hover{color:#333}.about-modal-body{padding:20px 20px 16px}.about-logo{max-width:175px;width:100%}.about-product-name{font-size:1.25rem;font-weight:400;margin:0 0 8px!important;color:#333}.about-version-text{font-size:.9rem;color:#555;margin-bottom:4px!important}.about-up-to-date{font-size:.85rem;margin-bottom:4px!important}.about-copyright{font-size:.82rem;color:#555;line-height:1.5}.about-modal-actions{display:flex;border-top:1px solid #e5e5e5}.about-action-btn{flex:1;background:none;border:none;border-right:1px solid #e5e5e5;padding:12px 8px;font-size:.875rem;color:var(--primary-color, #F18206);cursor:pointer;transition:background .15s}.about-action-btn:last-child{border-right:none}.about-action-btn:hover{background:var(--primary-color-light, #f4ede3)}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}.sidebar .nav-sidebar .sub-menu{background:#efefef!important;margin:0;padding:0;border-radius:0;box-shadow:none}.sidebar .nav-sidebar .sub-menu>li{margin:0}.sidebar .nav-sidebar .sub-menu>li>a{min-height:38px;padding:9px 16px 9px 58px!important;background:#eee!important;color:#333!important;text-decoration:none!important;border-right:none;border-bottom:1px solid #dddddd;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-2.parent>a{padding-left:50px!important;font-weight:400}.sidebar .nav-sidebar .sub-menu>li.level-3>a,.sidebar .nav-sidebar .sub-menu>li.level-last>a{padding-left:58px!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a,.sidebar .nav-sidebar .sub-menu>li.level-3>a{background:#fff!important;color:#333!important}.sidebar .nav-sidebar .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar .sub-menu .sub-menu>li>a:hover,.sidebar .nav-sidebar .sub-menu .sub-menu>li.open>a{background:#fff2e4!important;color:#333!important}.sidebar .nav-sidebar a,.sidebar .nav-sidebar a:hover,.sidebar .nav-sidebar a:focus,.sidebar .nav-sidebar a:active{text-decoration:none!important}.sidebar .nav-sidebar li.parent>a{justify-content:space-between}.sidebar .nav-sidebar li.parent>a>.d-flex{flex:1 1 auto;min-width:0}.sidebar .nav-sidebar>li>a,.sidebar .nav-sidebar .sub-menu>li>a{display:flex;align-items:center;flex-wrap:nowrap}.sidebar .nav-sidebar .menu-label-wrap{flex:1 1 auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.sidebar .nav-sidebar .menu-name-text{display:block;min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .nav-sidebar .menu-expand-arrow{flex:0 0 14px;width:14px;min-width:14px;margin-left:10px;text-align:center;color:#999}.sidebar .nav-sidebar .sub-menu>li.parent>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a>.menu-expand-arrow{color:#6f7680!important;opacity:1!important;visibility:visible!important}.sidebar .nav-sidebar .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu>li.parent.open>a>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent>a:hover>.menu-expand-arrow,.sidebar .nav-sidebar .sub-menu .sub-menu>li.parent.open>a>.menu-expand-arrow{color:#4e5560!important}.sidebar .nav-sidebar>li.level-1.parent>a,.sidebar .nav-sidebar>li.level-1.parent>a:visited,.sidebar .nav-sidebar>li.level-1.parent>a:focus,.sidebar .nav-sidebar>li.level-1.parent>a:active{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a span{color:#999!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover,.sidebar .nav-sidebar>li.level-1.parent.open>a{color:#fff!important;text-decoration:none!important}.sidebar .nav-sidebar>li.level-1.parent>a:hover span,.sidebar .nav-sidebar>li.level-1.parent.open>a span{color:#fff!important}.sidebar .nav-sidebar>li>a span,.sidebar .nav-sidebar .sub-menu>li>a span{font-size:12px}.sidebar .sidebar-footer small{display:flex;align-items:center;gap:10px;margin:0;line-height:1}.sidebar .sidebar-footer small,.sidebar .sidebar-footer small a{color:#8f949d!important;font-size:11px}.sidebar .sidebar-footer small a:hover{color:#fff!important}.sidebar.collapsed .sidebar-footer{justify-content:center;padding:8px 0}::ng-deep .dx-popup-title.dx-toolbar .dx-closebutton{inset-inline-start:10px}::ng-deep .dx-popup-title.dx-toolbar{padding-top:10px!important}\n"] }]
|
|
4052
4182
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { baseUrl: [{
|
|
4053
4183
|
type: Input
|
|
4054
4184
|
}], systemModule: [{
|
|
@@ -4111,13 +4241,270 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImpo
|
|
|
4111
4241
|
type: Output
|
|
4112
4242
|
}] } });
|
|
4113
4243
|
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4244
|
+
class BayanCoreSideMenuItemWidgetComponent {
|
|
4245
|
+
item;
|
|
4246
|
+
level = 1;
|
|
4247
|
+
collapsed = false;
|
|
4248
|
+
itemClick = new EventEmitter();
|
|
4249
|
+
fallbackIcon = ['fas', 'square'];
|
|
4250
|
+
constructor(library) {
|
|
4251
|
+
library.addIcons(faAngleDown, faAngleRight, faUsers, faBolt, faCog, faCalendarDays, faCalculator, faHouseChimney, faMoneyBill, faMoneyBill1, faBuildingColumns, faCalendarDays$1, faCalculator$1, faMoneyBill$1, faMoneyBill1$1);
|
|
4252
|
+
}
|
|
4253
|
+
hasChildren() {
|
|
4254
|
+
return (this.item.Children || []).length > 0;
|
|
4255
|
+
}
|
|
4256
|
+
toggle(event) {
|
|
4257
|
+
if (this.hasChildren()) {
|
|
4258
|
+
event.preventDefault();
|
|
4259
|
+
this.item.Expanded = !this.item.Expanded;
|
|
4260
|
+
return;
|
|
4261
|
+
}
|
|
4262
|
+
if (!this.getResolvedUrl()) {
|
|
4263
|
+
event.preventDefault();
|
|
4264
|
+
return;
|
|
4265
|
+
}
|
|
4266
|
+
this.itemClick.emit(this.item);
|
|
4267
|
+
}
|
|
4268
|
+
getResolvedUrl() {
|
|
4269
|
+
const url = (this.item.MenuUrl || '').trim();
|
|
4270
|
+
if (this.hasChildren() || !url || url === '#') {
|
|
4271
|
+
return null;
|
|
4272
|
+
}
|
|
4273
|
+
try {
|
|
4274
|
+
return new URL(url, `${window.location.origin}/`).toString();
|
|
4275
|
+
}
|
|
4276
|
+
catch {
|
|
4277
|
+
return url;
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
shouldShowIcon() {
|
|
4281
|
+
if (this.level > 2)
|
|
4282
|
+
return false;
|
|
4283
|
+
const raw = (this.item?.IconClass || '').toString().trim().toLowerCase();
|
|
4284
|
+
if (!raw)
|
|
4285
|
+
return false;
|
|
4286
|
+
const styleTokens = new Set(['fa', 'fas', 'far', 'fab', 'fa-solid', 'fa-regular', 'fa-brands', 'fa-fw']);
|
|
4287
|
+
const tokens = raw.split(/\s+/).map((t) => t.trim()).filter((t) => !!t);
|
|
4288
|
+
const candidate = tokens.find((t) => t.startsWith('iconfa-')) ||
|
|
4289
|
+
tokens.find((t) => t.startsWith('fa-') && !styleTokens.has(t)) ||
|
|
4290
|
+
tokens.find((t) => !styleTokens.has(t));
|
|
4291
|
+
if (!candidate)
|
|
4292
|
+
return false;
|
|
4293
|
+
const normalized = candidate.replace(/^iconfa-/, '').replace(/^fa-/, '').trim();
|
|
4294
|
+
if (!normalized)
|
|
4295
|
+
return false;
|
|
4296
|
+
if (!this.hasChildren() && (normalized === 'check' || normalized === 'square')) {
|
|
4297
|
+
return false;
|
|
4298
|
+
}
|
|
4299
|
+
return true;
|
|
4300
|
+
}
|
|
4301
|
+
parseFaIcon(icon) {
|
|
4302
|
+
const fallback = this.fallbackIcon;
|
|
4303
|
+
if (icon) {
|
|
4304
|
+
icon = icon.toString().replaceAll('fa-solid', '').replaceAll('fa-brands', '').replaceAll('fa-fw', '');
|
|
4305
|
+
}
|
|
4306
|
+
if (!icon || typeof icon !== 'string' || icon.trim() === '') {
|
|
4307
|
+
return fallback;
|
|
4308
|
+
}
|
|
4309
|
+
const tokens = icon.toLowerCase().split(/\s+/).map((t) => t.trim()).filter((t) => !!t);
|
|
4310
|
+
if (tokens.length === 0)
|
|
4311
|
+
return fallback;
|
|
4312
|
+
let prefix = 'fas';
|
|
4313
|
+
if (tokens.includes('far') || tokens.includes('fa-regular')) {
|
|
4314
|
+
prefix = 'far';
|
|
4315
|
+
}
|
|
4316
|
+
else if (tokens.includes('fab') || tokens.includes('fa-brands')) {
|
|
4317
|
+
prefix = 'fab';
|
|
4318
|
+
}
|
|
4319
|
+
const iconFaToken = tokens.find((t) => t.startsWith('iconfa-'));
|
|
4320
|
+
if (iconFaToken) {
|
|
4321
|
+
const normalized = iconFaToken.replace(/^iconfa-/, '').trim();
|
|
4322
|
+
if (!normalized || !/^[a-z0-9-]+$/.test(normalized))
|
|
4323
|
+
return fallback;
|
|
4324
|
+
return [prefix, normalized];
|
|
4325
|
+
}
|
|
4326
|
+
let iconName = tokens.find((t) => t.startsWith('fa-') && !['fa-fw', 'fa', 'fas', 'far', 'fab', 'fa-solid', 'fa-regular', 'fa-brands'].includes(t));
|
|
4327
|
+
if (!iconName) {
|
|
4328
|
+
iconName = tokens.find((t) => !['fa-fw', 'fa', 'fas', 'far', 'fab', 'fa-solid', 'fa-regular', 'fa-brands'].includes(t));
|
|
4329
|
+
if (iconName && !iconName.startsWith('fa-')) {
|
|
4330
|
+
iconName = `fa-${iconName}`;
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
let normalized = (iconName || 'fa-square').replace(/^fa-/, '').trim();
|
|
4334
|
+
if (normalized === 'institution')
|
|
4335
|
+
normalized = 'building-columns';
|
|
4336
|
+
if (!normalized || !/^[a-z0-9-]+$/.test(normalized))
|
|
4337
|
+
return fallback;
|
|
4338
|
+
return [prefix, normalized];
|
|
4339
|
+
}
|
|
4340
|
+
getSafeMenuIcon(icon) {
|
|
4341
|
+
try {
|
|
4342
|
+
const resolved = this.parseFaIcon(icon);
|
|
4343
|
+
if (Array.isArray(resolved) && resolved.length >= 2 && !!resolved[0] && !!resolved[1]) {
|
|
4344
|
+
return resolved;
|
|
4345
|
+
}
|
|
4346
|
+
return this.fallbackIcon;
|
|
4347
|
+
}
|
|
4348
|
+
catch {
|
|
4349
|
+
return this.fallbackIcon;
|
|
4350
|
+
}
|
|
4351
|
+
}
|
|
4352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreSideMenuItemWidgetComponent, deps: [{ token: i1$1.FaIconLibrary }], target: i0.ɵɵFactoryTarget.Component });
|
|
4353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreSideMenuItemWidgetComponent, isStandalone: true, selector: "bayan-core-side-menu-item-widget", inputs: { item: "item", level: "level", collapsed: "collapsed" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "<li [class.parent]=\"hasChildren()\" [class.open]=\"item.Expanded\" [class.collapsed]=\"collapsed\"\r\n [class.level-1]=\"level === 1\"\r\n [class.level-2]=\"level === 2\"\r\n [class.level-3]=\"level >= 3\"\r\n [class.level-last]=\"!hasChildren()\"\r\n (mouseenter)=\"collapsed && hasChildren() ? item.Expanded = true : null\"\r\n (mouseleave)=\"collapsed && hasChildren() ? item.Expanded = false : null\">\r\n <a (click)=\"toggle($event)\" [attr.href]=\"getResolvedUrl() || '#'\" [class.has-children]=\"hasChildren()\">\r\n <div class=\"d-flex flex-grow-1 menu-label-wrap\">\r\n @if (shouldShowIcon()) {\r\n <fa-icon [icon]=\"getSafeMenuIcon(item.IconClass)\" class=\"fa-fw me-2 text-secondary\"></fa-icon>\r\n }\r\n @if (!collapsed) {\r\n <span class=\"menu-name-text\">{{ item.MenuName | translate }}</span>\r\n }\r\n </div>\r\n @if (hasChildren() && !collapsed) {\r\n <fa-icon [icon]=\"item.Expanded ? ['fas', 'angle-down'] : ['fas', 'angle-right']\" class=\"fa-fw menu-expand-arrow text-secondary\"></fa-icon>\r\n }\r\n </a>\r\n @if (hasChildren() && item.Expanded && !collapsed) {\r\n <ul class=\"sub-menu\">\r\n @for (child of item.Children; track child) {\r\n <bayan-core-side-menu-item-widget [item]=\"child\" [level]=\"level + 1\" [collapsed]=\"collapsed\" (itemClick)=\"itemClick.emit($event)\"></bayan-core-side-menu-item-widget>\r\n }\r\n </ul>\r\n }\r\n @if (hasChildren() && item.Expanded && collapsed) {\r\n <div class=\"popover-sub-menu\">\r\n <div class=\"popover-arrow\"></div>\r\n <ul class=\"sub-menu popover-menu\">\r\n @for (child of item.Children; track child) {\r\n <bayan-core-side-menu-item-widget [item]=\"child\" [level]=\"level + 1\" [collapsed]=\"false\" (itemClick)=\"itemClick.emit($event)\"></bayan-core-side-menu-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n }\r\n</li>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"], dependencies: [{ kind: "component", type: BayanCoreSideMenuItemWidgetComponent, selector: "bayan-core-side-menu-item-widget", inputs: ["item", "level", "collapsed"], outputs: ["itemClick"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4354
|
+
}
|
|
4355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreSideMenuItemWidgetComponent, decorators: [{
|
|
4356
|
+
type: Component,
|
|
4357
|
+
args: [{ selector: 'bayan-core-side-menu-item-widget', standalone: true, imports: [CommonModule, RouterModule, FontAwesomeModule, BayanCoreTranslatePipe, BayanCoreSideMenuItemWidgetComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<li [class.parent]=\"hasChildren()\" [class.open]=\"item.Expanded\" [class.collapsed]=\"collapsed\"\r\n [class.level-1]=\"level === 1\"\r\n [class.level-2]=\"level === 2\"\r\n [class.level-3]=\"level >= 3\"\r\n [class.level-last]=\"!hasChildren()\"\r\n (mouseenter)=\"collapsed && hasChildren() ? item.Expanded = true : null\"\r\n (mouseleave)=\"collapsed && hasChildren() ? item.Expanded = false : null\">\r\n <a (click)=\"toggle($event)\" [attr.href]=\"getResolvedUrl() || '#'\" [class.has-children]=\"hasChildren()\">\r\n <div class=\"d-flex flex-grow-1 menu-label-wrap\">\r\n @if (shouldShowIcon()) {\r\n <fa-icon [icon]=\"getSafeMenuIcon(item.IconClass)\" class=\"fa-fw me-2 text-secondary\"></fa-icon>\r\n }\r\n @if (!collapsed) {\r\n <span class=\"menu-name-text\">{{ item.MenuName | translate }}</span>\r\n }\r\n </div>\r\n @if (hasChildren() && !collapsed) {\r\n <fa-icon [icon]=\"item.Expanded ? ['fas', 'angle-down'] : ['fas', 'angle-right']\" class=\"fa-fw menu-expand-arrow text-secondary\"></fa-icon>\r\n }\r\n </a>\r\n @if (hasChildren() && item.Expanded && !collapsed) {\r\n <ul class=\"sub-menu\">\r\n @for (child of item.Children; track child) {\r\n <bayan-core-side-menu-item-widget [item]=\"child\" [level]=\"level + 1\" [collapsed]=\"collapsed\" (itemClick)=\"itemClick.emit($event)\"></bayan-core-side-menu-item-widget>\r\n }\r\n </ul>\r\n }\r\n @if (hasChildren() && item.Expanded && collapsed) {\r\n <div class=\"popover-sub-menu\">\r\n <div class=\"popover-arrow\"></div>\r\n <ul class=\"sub-menu popover-menu\">\r\n @for (child of item.Children; track child) {\r\n <bayan-core-side-menu-item-widget [item]=\"child\" [level]=\"level + 1\" [collapsed]=\"false\" (itemClick)=\"itemClick.emit($event)\"></bayan-core-side-menu-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n }\r\n</li>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"] }]
|
|
4358
|
+
}], ctorParameters: () => [{ type: i1$1.FaIconLibrary }], propDecorators: { item: [{
|
|
4359
|
+
type: Input,
|
|
4360
|
+
args: [{ required: true }]
|
|
4361
|
+
}], level: [{
|
|
4362
|
+
type: Input
|
|
4363
|
+
}], collapsed: [{
|
|
4364
|
+
type: Input
|
|
4365
|
+
}], itemClick: [{
|
|
4366
|
+
type: Output
|
|
4367
|
+
}] } });
|
|
4368
|
+
|
|
4369
|
+
class BayanCoreTermsDialogWidgetComponent {
|
|
4370
|
+
visible = false;
|
|
4371
|
+
visibleChange = new EventEmitter();
|
|
4372
|
+
close() {
|
|
4373
|
+
this.visible = false;
|
|
4374
|
+
this.visibleChange.emit(false);
|
|
4375
|
+
}
|
|
4376
|
+
onHiding() {
|
|
4377
|
+
this.close();
|
|
4378
|
+
}
|
|
4379
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTermsDialogWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4380
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.21", type: BayanCoreTermsDialogWidgetComponent, isStandalone: true, selector: "bayan-core-terms-dialog-widget", inputs: { visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<dx-popup\r\n [visible]=\"visible\"\r\n (onHiding)=\"onHiding()\"\r\n [showTitle]=\"true\"\r\n [title]=\"'TermsAndConditions' | translate\"\r\n [dragEnabled]=\"false\"\r\n [hideOnOutsideClick]=\"true\"\r\n [showCloseButton]=\"true\"\r\n [width]=\"580\"\r\n [height]=\"520\"\r\n shadingColor=\"rgba(0,0,0,0.4)\"\r\n [animation]=\"{\r\n show: { type: 'fade', duration: 300, from: 0, to: 1 },\r\n hide: { type: 'fade', duration: 200, from: 1, to: 0 }\r\n }\">\r\n <div *dxTemplate=\"let data of 'content'\" class=\"dialog-content\">\r\n <div class=\"dialog-body\">\r\n <h3>{{ 'TermsAndConditions' | translate }}</h3>\r\n <p>{{ 'TermsIntro1' | translate }}</p>\r\n <p>{{ 'TermsIntro2' | translate }}</p>\r\n\r\n <h4>{{ 'Trademarks' | translate }}</h4>\r\n <p>{{ 'TermsTrademarksText' | translate }}</p>\r\n\r\n <h4>{{ 'Copyrights' | translate }}</h4>\r\n <p>{{ 'TermsCopyrightsText' | translate }}</p>\r\n\r\n <h4>{{ 'SubmissionOfIdeas' | translate }}</h4>\r\n <p>{{ 'TermsSubmissionOfIdeasText' | translate }}</p>\r\n\r\n <h4>{{ 'Links' | translate }}</h4>\r\n <p>{{ 'TermsLinksText' | translate }}</p>\r\n\r\n <h4>{{ 'RulesOfConduct' | translate }}</h4>\r\n <p>{{ 'TermsRulesOfConductText1' | translate }}</p>\r\n <p>{{ 'TermsRulesOfConductText2' | translate }}</p>\r\n <p>{{ 'TermsRulesOfConductText3' | translate }}</p>\r\n\r\n <h4 class=\"text-uppercase\">{{ 'Disclaimer' | translate }}</h4>\r\n <p>{{ 'TermsDisclaimerText1' | translate }}</p>\r\n <p>{{ 'TermsDisclaimerText2' | translate }}</p>\r\n <p>{{ 'TermsDisclaimerText3' | translate }}</p>\r\n <p>{{ 'TermsDisclaimerText4' | translate }}</p>\r\n </div>\r\n\r\n <sky-footer-actions\r\n [primaryButtonText]=\"'Close' | translate\"\r\n [showSecondaryButton]=\"false\"\r\n (PrimaryButtonClick)=\"close()\">\r\n </sky-footer-actions>\r\n </div>\r\n</dx-popup>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxPopupModule }, { kind: "component", type: i1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "enableBodyScroll", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "enableBodyScrollChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: SkyFooterActionsComponent, selector: "sky-footer-actions", inputs: ["primaryButtonText", "extraButtonText", "secondaryButtonText", "primaryButtonWidth", "secondaryButtonWidth", "extraButtonWidth", "isFillRowWidth", "primaryButtonHeight", "secondaryButtonHeight", "extraButtonHeight", "showPrimaryButton", "showSecondaryButton", "showExtraButton", "primaryButtonType", "secondaryButtonType", "extraButtonType", "disabledPrimaryButton", "disabledSecondaryButton", "disabledExtraButton", "primarySubmitBehavior", "secondarySubmitBehavior", "extraSubmitBehavior", "primaryButtonClass", "secondaryButtonClass", "extraButtonClass", "formValidationGroup", "isLoading", "loadingText", "disabled", "EditMode", "validatePrimaryAction", "validateExtraAction", "showErrorLabel", "errorMessage", "errorLabel", "closeButtonClass", "marginClass", "successMessage"], outputs: ["PrimaryButtonClick", "SecondaryButtonClick", "ExtraButtonClick"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4381
|
+
}
|
|
4382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreTermsDialogWidgetComponent, decorators: [{
|
|
4383
|
+
type: Component,
|
|
4384
|
+
args: [{ selector: 'bayan-core-terms-dialog-widget', standalone: true, imports: [CommonModule, DxPopupModule, SkyFooterActionsComponent, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dx-popup\r\n [visible]=\"visible\"\r\n (onHiding)=\"onHiding()\"\r\n [showTitle]=\"true\"\r\n [title]=\"'TermsAndConditions' | translate\"\r\n [dragEnabled]=\"false\"\r\n [hideOnOutsideClick]=\"true\"\r\n [showCloseButton]=\"true\"\r\n [width]=\"580\"\r\n [height]=\"520\"\r\n shadingColor=\"rgba(0,0,0,0.4)\"\r\n [animation]=\"{\r\n show: { type: 'fade', duration: 300, from: 0, to: 1 },\r\n hide: { type: 'fade', duration: 200, from: 1, to: 0 }\r\n }\">\r\n <div *dxTemplate=\"let data of 'content'\" class=\"dialog-content\">\r\n <div class=\"dialog-body\">\r\n <h3>{{ 'TermsAndConditions' | translate }}</h3>\r\n <p>{{ 'TermsIntro1' | translate }}</p>\r\n <p>{{ 'TermsIntro2' | translate }}</p>\r\n\r\n <h4>{{ 'Trademarks' | translate }}</h4>\r\n <p>{{ 'TermsTrademarksText' | translate }}</p>\r\n\r\n <h4>{{ 'Copyrights' | translate }}</h4>\r\n <p>{{ 'TermsCopyrightsText' | translate }}</p>\r\n\r\n <h4>{{ 'SubmissionOfIdeas' | translate }}</h4>\r\n <p>{{ 'TermsSubmissionOfIdeasText' | translate }}</p>\r\n\r\n <h4>{{ 'Links' | translate }}</h4>\r\n <p>{{ 'TermsLinksText' | translate }}</p>\r\n\r\n <h4>{{ 'RulesOfConduct' | translate }}</h4>\r\n <p>{{ 'TermsRulesOfConductText1' | translate }}</p>\r\n <p>{{ 'TermsRulesOfConductText2' | translate }}</p>\r\n <p>{{ 'TermsRulesOfConductText3' | translate }}</p>\r\n\r\n <h4 class=\"text-uppercase\">{{ 'Disclaimer' | translate }}</h4>\r\n <p>{{ 'TermsDisclaimerText1' | translate }}</p>\r\n <p>{{ 'TermsDisclaimerText2' | translate }}</p>\r\n <p>{{ 'TermsDisclaimerText3' | translate }}</p>\r\n <p>{{ 'TermsDisclaimerText4' | translate }}</p>\r\n </div>\r\n\r\n <sky-footer-actions\r\n [primaryButtonText]=\"'Close' | translate\"\r\n [showSecondaryButton]=\"false\"\r\n (PrimaryButtonClick)=\"close()\">\r\n </sky-footer-actions>\r\n </div>\r\n</dx-popup>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"] }]
|
|
4385
|
+
}], propDecorators: { visible: [{
|
|
4386
|
+
type: Input
|
|
4387
|
+
}], visibleChange: [{
|
|
4388
|
+
type: Output
|
|
4389
|
+
}] } });
|
|
4390
|
+
|
|
4391
|
+
class BayanCorePrivacyDialogWidgetComponent {
|
|
4392
|
+
visible = false;
|
|
4393
|
+
visibleChange = new EventEmitter();
|
|
4394
|
+
close() {
|
|
4395
|
+
this.visible = false;
|
|
4396
|
+
this.visibleChange.emit(false);
|
|
4397
|
+
}
|
|
4398
|
+
onHiding() {
|
|
4399
|
+
this.close();
|
|
4400
|
+
}
|
|
4401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCorePrivacyDialogWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4402
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.21", type: BayanCorePrivacyDialogWidgetComponent, isStandalone: true, selector: "bayan-core-privacy-dialog-widget", inputs: { visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<dx-popup\r\n [visible]=\"visible\"\r\n (onHiding)=\"onHiding()\"\r\n [showTitle]=\"true\"\r\n [title]=\"'PrivacyStatement' | translate\"\r\n [dragEnabled]=\"false\"\r\n [hideOnOutsideClick]=\"true\"\r\n [showCloseButton]=\"true\"\r\n [width]=\"580\"\r\n [height]=\"520\"\r\n shadingColor=\"rgba(0,0,0,0.4)\"\r\n [animation]=\"{\r\n show: { type: 'fade', duration: 300, from: 0, to: 1 },\r\n hide: { type: 'fade', duration: 200, from: 1, to: 0 }\r\n }\">\r\n <div *dxTemplate=\"let data of 'content'\" class=\"dialog-content\">\r\n <div class=\"dialog-body\">\r\n <h3>{{ 'PrivacyStatement' | translate }}</h3>\r\n <p>{{ 'PrivacyIntro' | translate }}</p>\r\n\r\n <h4>{{ 'DataSubmission' | translate }}</h4>\r\n <p>{{ 'PrivacyDataSubmissionText' | translate }}</p>\r\n\r\n <h4>{{ 'ProtectionOfData' | translate }}</h4>\r\n <p>{{ 'PrivacyProtectionOfDataText' | translate }}</p>\r\n\r\n <h4>{{ 'ChangesOnPrivacyPolicy' | translate }}</h4>\r\n <p>{{ 'PrivacyChangesText' | translate }}</p>\r\n <p [innerHTML]=\"'PrivacyContactUs' | translate\"></p>\r\n </div>\r\n\r\n <sky-footer-actions\r\n [primaryButtonText]=\"'Close' | translate\"\r\n [showSecondaryButton]=\"false\"\r\n (PrimaryButtonClick)=\"close()\">\r\n </sky-footer-actions>\r\n </div>\r\n</dx-popup>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: DxPopupModule }, { kind: "component", type: i1.DxPopupComponent, selector: "dx-popup", inputs: ["accessKey", "animation", "closeOnOutsideClick", "container", "contentTemplate", "deferRendering", "disabled", "dragAndResizeArea", "dragEnabled", "dragOutsideBoundary", "enableBodyScroll", "focusStateEnabled", "fullScreen", "height", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "resizeEnabled", "restorePosition", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showTitle", "tabIndex", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onResize", "onResizeEnd", "onResizeStart", "onShowing", "onShown", "onTitleRendered", "accessKeyChange", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "deferRenderingChange", "disabledChange", "dragAndResizeAreaChange", "dragEnabledChange", "dragOutsideBoundaryChange", "enableBodyScrollChange", "focusStateEnabledChange", "fullScreenChange", "heightChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "resizeEnabledChange", "restorePositionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showTitleChange", "tabIndexChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "directive", type: i2.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { kind: "component", type: SkyFooterActionsComponent, selector: "sky-footer-actions", inputs: ["primaryButtonText", "extraButtonText", "secondaryButtonText", "primaryButtonWidth", "secondaryButtonWidth", "extraButtonWidth", "isFillRowWidth", "primaryButtonHeight", "secondaryButtonHeight", "extraButtonHeight", "showPrimaryButton", "showSecondaryButton", "showExtraButton", "primaryButtonType", "secondaryButtonType", "extraButtonType", "disabledPrimaryButton", "disabledSecondaryButton", "disabledExtraButton", "primarySubmitBehavior", "secondarySubmitBehavior", "extraSubmitBehavior", "primaryButtonClass", "secondaryButtonClass", "extraButtonClass", "formValidationGroup", "isLoading", "loadingText", "disabled", "EditMode", "validatePrimaryAction", "validateExtraAction", "showErrorLabel", "errorMessage", "errorLabel", "closeButtonClass", "marginClass", "successMessage"], outputs: ["PrimaryButtonClick", "SecondaryButtonClick", "ExtraButtonClick"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4403
|
+
}
|
|
4404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCorePrivacyDialogWidgetComponent, decorators: [{
|
|
4405
|
+
type: Component,
|
|
4406
|
+
args: [{ selector: 'bayan-core-privacy-dialog-widget', standalone: true, imports: [CommonModule, DxPopupModule, SkyFooterActionsComponent, BayanCoreTranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dx-popup\r\n [visible]=\"visible\"\r\n (onHiding)=\"onHiding()\"\r\n [showTitle]=\"true\"\r\n [title]=\"'PrivacyStatement' | translate\"\r\n [dragEnabled]=\"false\"\r\n [hideOnOutsideClick]=\"true\"\r\n [showCloseButton]=\"true\"\r\n [width]=\"580\"\r\n [height]=\"520\"\r\n shadingColor=\"rgba(0,0,0,0.4)\"\r\n [animation]=\"{\r\n show: { type: 'fade', duration: 300, from: 0, to: 1 },\r\n hide: { type: 'fade', duration: 200, from: 1, to: 0 }\r\n }\">\r\n <div *dxTemplate=\"let data of 'content'\" class=\"dialog-content\">\r\n <div class=\"dialog-body\">\r\n <h3>{{ 'PrivacyStatement' | translate }}</h3>\r\n <p>{{ 'PrivacyIntro' | translate }}</p>\r\n\r\n <h4>{{ 'DataSubmission' | translate }}</h4>\r\n <p>{{ 'PrivacyDataSubmissionText' | translate }}</p>\r\n\r\n <h4>{{ 'ProtectionOfData' | translate }}</h4>\r\n <p>{{ 'PrivacyProtectionOfDataText' | translate }}</p>\r\n\r\n <h4>{{ 'ChangesOnPrivacyPolicy' | translate }}</h4>\r\n <p>{{ 'PrivacyChangesText' | translate }}</p>\r\n <p [innerHTML]=\"'PrivacyContactUs' | translate\"></p>\r\n </div>\r\n\r\n <sky-footer-actions\r\n [primaryButtonText]=\"'Close' | translate\"\r\n [showSecondaryButton]=\"false\"\r\n (PrimaryButtonClick)=\"close()\">\r\n </sky-footer-actions>\r\n </div>\r\n</dx-popup>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"] }]
|
|
4407
|
+
}], propDecorators: { visible: [{
|
|
4408
|
+
type: Input
|
|
4409
|
+
}], visibleChange: [{
|
|
4410
|
+
type: Output
|
|
4411
|
+
}] } });
|
|
4412
|
+
|
|
4413
|
+
class BayanCoreSideMenuWidgetComponent {
|
|
4414
|
+
collapsed = false;
|
|
4415
|
+
baseUrl = '';
|
|
4416
|
+
systemModule = null;
|
|
4417
|
+
activePropertyId = 0;
|
|
4418
|
+
logoUrl = 'https://cdn-dev.skysoftware.cloud/bayan/images/logo-enterprise-dark.png';
|
|
4419
|
+
collapsedLogoUrl = 'https://cdn-dev.skysoftware.cloud/bayan/images/logo-collapsed.png';
|
|
4420
|
+
collapsedChange = new EventEmitter();
|
|
4421
|
+
itemClick = new EventEmitter();
|
|
4422
|
+
termsOpen = false;
|
|
4423
|
+
privacyOpen = false;
|
|
4424
|
+
menu = [];
|
|
4425
|
+
menuService = inject(BayanCoreTopMenuService);
|
|
4426
|
+
constructor(library) {
|
|
4427
|
+
library.addIcons(faAngleLeft, faAngleRight);
|
|
4428
|
+
}
|
|
4429
|
+
ngOnInit() {
|
|
4430
|
+
this.loadSideMenusData();
|
|
4431
|
+
}
|
|
4432
|
+
ngOnChanges(changes) {
|
|
4433
|
+
if (changes['baseUrl'] || changes['systemModule'] || changes['activePropertyId']) {
|
|
4434
|
+
this.loadSideMenusData();
|
|
4435
|
+
}
|
|
4436
|
+
}
|
|
4437
|
+
loadSideMenusData() {
|
|
4438
|
+
if (!this.baseUrl || !this.systemModule || this.activePropertyId <= 0) {
|
|
4439
|
+
this.menu = [];
|
|
4440
|
+
return;
|
|
4441
|
+
}
|
|
4442
|
+
this.menuService.getMicroserviceMenusByProperty(this.baseUrl, this.activePropertyId, this.systemModule).subscribe({
|
|
4443
|
+
next: (data) => {
|
|
4444
|
+
this.menu = this.normalizeMenuTree(data || []);
|
|
4445
|
+
},
|
|
4446
|
+
error: () => {
|
|
4447
|
+
this.menu = [];
|
|
4448
|
+
},
|
|
4449
|
+
});
|
|
4450
|
+
}
|
|
4451
|
+
normalizeMenuTree(items) {
|
|
4452
|
+
return (items || []).map((raw) => {
|
|
4453
|
+
const childItemsRaw = raw.Children ?? raw.MenuItems ?? raw.MenusItems ?? [];
|
|
4454
|
+
return {
|
|
4455
|
+
...raw,
|
|
4456
|
+
Children: this.normalizeMenuTree(childItemsRaw),
|
|
4457
|
+
Expanded: raw.Expanded === true,
|
|
4458
|
+
};
|
|
4459
|
+
});
|
|
4460
|
+
}
|
|
4461
|
+
getLogoSrc() {
|
|
4462
|
+
return this.collapsed ? this.collapsedLogoUrl : this.logoUrl;
|
|
4463
|
+
}
|
|
4464
|
+
reloadMenu() {
|
|
4465
|
+
this.loadSideMenusData();
|
|
4466
|
+
}
|
|
4467
|
+
toggleSidebar() {
|
|
4468
|
+
this.collapsed = !this.collapsed;
|
|
4469
|
+
this.collapsedChange.emit(this.collapsed);
|
|
4470
|
+
}
|
|
4471
|
+
onItemClick(item) {
|
|
4472
|
+
this.itemClick.emit(item);
|
|
4473
|
+
}
|
|
4474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreSideMenuWidgetComponent, deps: [{ token: i1$1.FaIconLibrary }], target: i0.ɵɵFactoryTarget.Component });
|
|
4475
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.21", type: BayanCoreSideMenuWidgetComponent, isStandalone: true, selector: "bayan-core-side-menu-widget", inputs: { collapsed: "collapsed", baseUrl: "baseUrl", systemModule: "systemModule", activePropertyId: "activePropertyId", logoUrl: "logoUrl", collapsedLogoUrl: "collapsedLogoUrl" }, outputs: { collapsedChange: "collapsedChange", itemClick: "itemClick" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"sidebar\" [class.collapsed]=\"collapsed\">\r\n <div class=\"sidebar-logo\">\r\n <img [src]=\"getLogoSrc()\" alt=\"Logo\" />\r\n </div>\r\n <div class=\"sidebar-content\">\r\n <ul class=\"nav-sidebar\">\r\n @for (item of menu; track item) {\r\n <bayan-core-side-menu-item-widget [item]=\"item\" [level]=\"1\" [collapsed]=\"collapsed\" (itemClick)=\"onItemClick($event)\"></bayan-core-side-menu-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n <div class=\"sidebar-footer\">\r\n <small class=\"text-secondary flex-grow-1 d-flex align-items-center\" [class.d-none]=\"collapsed\">© {{'Sky Software' | translate}}\r\n <a href=\"#\" class=\"text-secondary mx-2\" (click)=\"termsOpen = true; $event.preventDefault()\">{{'Terms' | translate}}</a>\r\n <a href=\"#\" class=\"text-secondary mx-2\" (click)=\"privacyOpen = true; $event.preventDefault()\">{{'Privacy' | translate}}</a>\r\n </small>\r\n <button (click)=\"toggleSidebar()\" class=\"sidebar-toggle-btn fs-5\">\r\n <fa-icon class=\"text-secondary\" [icon]=\"collapsed ? ['fas', 'angle-right'] : ['fas', 'angle-left']\"></fa-icon>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<bayan-core-terms-dialog-widget [(visible)]=\"termsOpen\"></bayan-core-terms-dialog-widget>\r\n<bayan-core-privacy-dialog-widget [(visible)]=\"privacyOpen\"></bayan-core-privacy-dialog-widget>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }, { kind: "pipe", type: BayanCoreTranslatePipe, name: "translate" }, { kind: "component", type: BayanCoreSideMenuItemWidgetComponent, selector: "bayan-core-side-menu-item-widget", inputs: ["item", "level", "collapsed"], outputs: ["itemClick"] }, { kind: "component", type: BayanCoreTermsDialogWidgetComponent, selector: "bayan-core-terms-dialog-widget", inputs: ["visible"], outputs: ["visibleChange"] }, { kind: "component", type: BayanCorePrivacyDialogWidgetComponent, selector: "bayan-core-privacy-dialog-widget", inputs: ["visible"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4476
|
+
}
|
|
4477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.21", ngImport: i0, type: BayanCoreSideMenuWidgetComponent, decorators: [{
|
|
4478
|
+
type: Component,
|
|
4479
|
+
args: [{ selector: 'bayan-core-side-menu-widget', standalone: true, imports: [
|
|
4480
|
+
CommonModule,
|
|
4481
|
+
FontAwesomeModule,
|
|
4482
|
+
BayanCoreTranslatePipe,
|
|
4483
|
+
BayanCoreSideMenuItemWidgetComponent,
|
|
4484
|
+
BayanCoreTermsDialogWidgetComponent,
|
|
4485
|
+
BayanCorePrivacyDialogWidgetComponent,
|
|
4486
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"sidebar\" [class.collapsed]=\"collapsed\">\r\n <div class=\"sidebar-logo\">\r\n <img [src]=\"getLogoSrc()\" alt=\"Logo\" />\r\n </div>\r\n <div class=\"sidebar-content\">\r\n <ul class=\"nav-sidebar\">\r\n @for (item of menu; track item) {\r\n <bayan-core-side-menu-item-widget [item]=\"item\" [level]=\"1\" [collapsed]=\"collapsed\" (itemClick)=\"onItemClick($event)\"></bayan-core-side-menu-item-widget>\r\n }\r\n </ul>\r\n </div>\r\n <div class=\"sidebar-footer\">\r\n <small class=\"text-secondary flex-grow-1 d-flex align-items-center\" [class.d-none]=\"collapsed\">© {{'Sky Software' | translate}}\r\n <a href=\"#\" class=\"text-secondary mx-2\" (click)=\"termsOpen = true; $event.preventDefault()\">{{'Terms' | translate}}</a>\r\n <a href=\"#\" class=\"text-secondary mx-2\" (click)=\"privacyOpen = true; $event.preventDefault()\">{{'Privacy' | translate}}</a>\r\n </small>\r\n <button (click)=\"toggleSidebar()\" class=\"sidebar-toggle-btn fs-5\">\r\n <fa-icon class=\"text-secondary\" [icon]=\"collapsed ? ['fas', 'angle-right'] : ['fas', 'angle-left']\"></fa-icon>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<bayan-core-terms-dialog-widget [(visible)]=\"termsOpen\"></bayan-core-terms-dialog-widget>\r\n<bayan-core-privacy-dialog-widget [(visible)]=\"privacyOpen\"></bayan-core-privacy-dialog-widget>\r\n", styles: [".dialog-content{display:flex;flex-direction:column;height:100%}.dialog-body{flex:1;overflow-y:auto;padding:8px 4px}.dialog-body h3{font-size:16px;font-weight:600;margin-bottom:12px!important}.dialog-body h4{font-size:14px;font-weight:600;margin-top:16px!important;margin-bottom:8px!important}.dialog-body p{font-size:13px;line-height:1.6;color:#444;margin-bottom:10px!important}.sidebar-content{background:#222}.sidebar{width:260px;background:#222;color:#d3d7dc;height:100vh;min-height:100vh;max-height:100vh;transition:var(--tran-03);position:fixed;left:0;top:0;z-index:1000;display:flex;flex-direction:column;box-shadow:var(--bs-xs-shadow-box, 2px 0 8px rgba(0,0,0,.04));&.collapsed{width:60px;.sidebar-content,.sidebar-footer small{display:none}.sidebar-footer{justify-content:center}.sidebar-logo img{margin:0 auto}}.nav-sidebar li ul{background-color:var(--bs-gray, #eee)}.nav-sidebar li a{border-top:1px solid rgba(255,255,255,.04);display:block;padding:10px 25px;color:#d3d7dc!important;font-size:var(--font-size-13, 13px);font-weight:300;white-space:nowrap;transition:color var(--tran-02, .15s ease)}.sidebar-logo{display:flex;align-items:center;justify-content:flex-start;padding:8px 0 10px 18px;background:#222;img{height:34px;transition:var(--tran-03)}}.sidebar-content{overflow-y:auto;flex:1 1 auto;height:100%;background:#222;scrollbar-width:thin;scrollbar-color:#4a4f58 #222222}.sidebar-content::-webkit-scrollbar{width:10px}.sidebar-content::-webkit-scrollbar-track{background:#222}.sidebar-content::-webkit-scrollbar-thumb{background:#4a4f58;border-radius:8px;border:2px solid #222222}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#5b616b}.nav-sidebar{list-style:none;padding:0;margin:0}.sidebar-footer{width:100%;padding:8px 10px;background:#222;font-size:var(--font-size-12, 12px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.04);position:absolute;bottom:0;left:0;a{color:var(--bs-white, #fff)}button{background:#222;border:1px solid #333;color:var(--bs-white, #fff)}a:hover{color:var(--bs-custom-light-white, #eee)!important}}}li.level-2>a{background:#ddd!important;color:#333!important}li.level-3>a{background:#eee!important;color:#333!important}.sub-menu li.level-last>a{background:#eee!important;color:#333!important}.sub-menu{background:none!important}li.level-2>a span,li.level-3>a span,.sub-menu li.level-last>a span{color:#333!important;font-size:13px}.nav-sidebar li ul li a{color:var(--dark-text-color, #333)!important}li.level-2>a:hover,li.level-2>a.active,li.level-3>a:hover,li.level-3>a.active,.sub-menu li.level-last>a:hover,.sub-menu li.level-last>a.active{background:#fff2e4!important;color:#333!important}a.has-children{display:flex;flex-wrap:nowrap}li.level-last>a.has-children:hover>fa-icon,li.level-2>a.has-children:hover>fa-icon{color:var(--dark-text-color, #333)!important}li.level-2>a>fa-icon.fa-fw:hover,li.level-2>a>fa-icon.fa-fw:focus{color:var(--dark-text-color, #333)!important}.popover-sub-menu{position:absolute;left:60px;top:0;z-index:2000;min-width:180px;background:transparent;pointer-events:none}.popover-menu{background:var(--bs-white, #fff);color:var(--dark-text-color, #232323);border-radius:6px;box-shadow:var(--bs-md-shadow-box, 0 4px 16px rgba(0,0,0,.15));margin:0;padding:8px 0;pointer-events:auto}.popover-arrow{position:absolute;left:-8px;top:16px;width:16px;height:16px;background:transparent}.popover-arrow:before{content:\"\";position:absolute;left:0;top:0;width:16px;height:16px;background:var(--bs-white, #fff);box-shadow:-2px 2px 6px #00000014;transform:rotate(45deg)}li.collapsed{position:relative}li.parent.level-2,li.level-last{padding:0!important;margin-bottom:0!important}li{&.level-2>a,&.level-last>a{transition:background var(--tran-02),color var(--tran-02)}margin-bottom:2px;&.collapsed>a{justify-content:center;span{display:none}.fa-fw{margin-right:0;display:inline-flex;justify-content:center;width:100%}}}li.parent>a{color:#999!important;background:none;border:none;outline:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:0;gap:10px;width:100%;padding:11px 18px 11px 13px!important;text-decoration:none!important}.sidebar .nav-sidebar li>a>.d-flex{min-width:0}.sidebar .nav-sidebar li>a span{overflow:hidden;text-overflow:ellipsis}li.parent>fa-icon{color:var(--Secondary-Light-Color, #999)!important}li.parent.open>a{font-weight:400;background:#222;color:#f0f3f6;border-radius:0;display:flex!important}li.parent>a:hover{color:var(--bs-custom-light-white, #eee)!important}a.has-children{display:flex!important;flex-wrap:nowrap}.sub-menu{background:var(--bs-gray, #eee);color:var(--Secondary-Light-Color, #999);padding-left:0;margin:0;border-radius:0 0 4px 4px;box-shadow:var(--bs-xs-shadow-box, 0 2px 8px rgba(0,0,0,.04));display:none}li.open>.sub-menu{display:block}li .sub-menu li a{color:var(--dark-text-color, #333);background:none;font-weight:400;border-radius:0;justify-content:flex-start;gap:10px;padding:11px 18px 11px 30px!important;border-bottom:1px solid var(--bg-light-gray, #ddd);border-right:1px solid var(--bg-light-gray, #ddd)}li .sub-menu li a:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222)}li .sub-menu li.open>a{background:var(--bs-white, #fff);color:var(--dark-text-color, #222)}.sidebar-toggle-btn{width:32px;height:32px;border-radius:4px;background:#262626;color:var(--Secondary-Light-Color, #999);border:1px solid #48506a;display:flex;align-items:center;justify-content:center;margin:0;transition:background var(--tran-02),color var(--tran-02)}.sidebar-toggle-btn:hover{background:#48506a;color:#fff}a.navbar-brand-link,a.dropdown-item{color:var(--Secondary-Light-Color, #999);text-decoration:none;display:flex;align-items:center;border-radius:4px;transition:background var(--tran-02);justify-content:flex-start;gap:10px}a.navbar-brand-link:hover,a.dropdown-item:hover{background:var(--bs-gray, #eee);color:var(--dark-text-color, #222222)}.menu-dropdown-host>a:hover,.menu-icon-btn:hover,a.navbar-brand-link:hover{background:#222;color:var(--bs-white, #fff)!important}.fa{margin-right:8px}.sidebar-footer a:hover{background:#222!important;color:var(--bs-white, #fff)!important}.sidebar .nav-sidebar>li{margin:0}.sidebar .nav-sidebar>li>a{min-height:40px;padding:10px 16px 10px 28px!important;text-decoration:none!important;line-height:1.2;border-top:1px solid rgba(255,255,255,.05)}.sidebar .nav-sidebar>li>a .d-flex{align-items:center;gap:12px}.sidebar .nav-sidebar>li>a>.fa-fw:last-child{margin-left:10px;font-size:11px;flex-shrink:0;width:12px;text-align:center}.sidebar .nav-sidebar li>a:hover .text-secondary,.sidebar .nav-sidebar li>a:focus .text-secondary,.sidebar .nav-sidebar li.open>a .text-secondary,.sidebar .nav-sidebar li.level-1.open>a .text-secondary{color:#fff!important}.sidebar .nav-sidebar li.level-2>a:hover .text-secondary,.sidebar .nav-sidebar li.level-2>a:focus .text-secondary,.sidebar .nav-sidebar li.level-2.open>a .text-secondary,.sidebar .nav-sidebar li.level-3>a:hover .text-secondary,.sidebar .nav-sidebar li.level-3>a:focus .text-secondary,.sidebar .nav-sidebar li.level-last>a:hover .text-secondary,.sidebar .nav-sidebar li.level-last>a:focus .text-secondary{color:#222!important}.sidebar .nav-sidebar>li.level-1.open>a{background:#222!important;color:#f0f3f6!important}\n"] }]
|
|
4487
|
+
}], ctorParameters: () => [{ type: i1$1.FaIconLibrary }], propDecorators: { collapsed: [{
|
|
4488
|
+
type: Input
|
|
4489
|
+
}], baseUrl: [{
|
|
4490
|
+
type: Input
|
|
4491
|
+
}], systemModule: [{
|
|
4492
|
+
type: Input
|
|
4493
|
+
}], activePropertyId: [{
|
|
4494
|
+
type: Input
|
|
4495
|
+
}], logoUrl: [{
|
|
4496
|
+
type: Input
|
|
4497
|
+
}], collapsedLogoUrl: [{
|
|
4498
|
+
type: Input
|
|
4499
|
+
}], collapsedChange: [{
|
|
4500
|
+
type: Output
|
|
4501
|
+
}], itemClick: [{
|
|
4502
|
+
type: Output
|
|
4503
|
+
}] } });
|
|
4117
4504
|
|
|
4118
4505
|
/**
|
|
4119
4506
|
* Generated bundle index. Do not edit.
|
|
4120
4507
|
*/
|
|
4121
4508
|
|
|
4122
|
-
export { BayanCoreAboutDialogWidgetComponent, BayanCoreChangePasswordWidgetComponent, BayanCoreGlobalSearchWidgetComponent, BayanCoreItemWidgetComponent, BayanCoreNotificationsWidgetComponent, BayanCoreSettingsWidgetComponent, BayanCoreTopMenuService, BayanCoreTopMenuWidgetComponent, BayanCoreTranslatePipe, BayanCoreTranslateService, BayanCoreUserPanelWidgetComponent, BlockableModule, EmployeeNamesModeOption, SystemModule };
|
|
4509
|
+
export { BayanCoreAboutDialogWidgetComponent, BayanCoreChangePasswordWidgetComponent, BayanCoreGlobalSearchWidgetComponent, BayanCoreItemWidgetComponent, BayanCoreNotificationsWidgetComponent, BayanCorePrivacyDialogWidgetComponent, BayanCoreSettingsWidgetComponent, BayanCoreSideMenuItemWidgetComponent, BayanCoreSideMenuWidgetComponent, BayanCoreTermsDialogWidgetComponent, BayanCoreTopMenuService, BayanCoreTopMenuWidgetComponent, BayanCoreTranslatePipe, BayanCoreTranslateService, BayanCoreUserPanelWidgetComponent, BlockableModule, EmployeeNamesModeOption, SystemModule };
|
|
4123
4510
|
//# sourceMappingURL=skysoftware-co-bayan-core-widgets-ui.mjs.map
|