{ "version": 3, "sources": ["../../../Modules/ServerTypes/Administration/LanguageColumns.ts", "../../../Modules/ServerTypes/Administration/LanguageRow.ts", "../../../Modules/ServerTypes/Administration/LanguageService.ts", "../../../Modules/ServerTypes/Administration/RoleColumns.ts", "../../../Modules/ServerTypes/Administration/RoleRow.ts", "../../../Modules/ServerTypes/Administration/RoleService.ts", "../../../Modules/ServerTypes/Administration/TranslationService.ts", "../../../Modules/ServerTypes/Administration/UserColumns.ts", "../../../Modules/ServerTypes/Administration/UserProfileForm.ts", "../../../Modules/Common/Editors/MobileNumberEditor.ts", "../../../Modules/ServerTypes/Administration/UserRow.ts", "../../../Modules/ServerTypes/Administration/UserService.ts", "../../../Modules/ServerTypes/Administration/LanguageForm.ts", "../../../Modules/ServerTypes/Administration/PermissionKeys.ts", "../../../Modules/ServerTypes/Administration/RoleForm.ts", "../../../Modules/ServerTypes/Administration/RolePermissionRow.ts", "../../../Modules/ServerTypes/Administration/RolePermissionService.ts", "../../../Modules/ServerTypes/Administration/UserForm.ts", "../../../Modules/ServerTypes/Administration/UserPermissionRow.ts", "../../../Modules/ServerTypes/Administration/UserPermissionService.ts", "../../../Modules/ServerTypes/Administration/UserRoleRow.ts", "../../../Modules/ServerTypes/Administration/UserRoleService.ts"], "sourcesContent": ["\uFEFFexport class LanguageColumns {\r\n static columnsKey = 'Administration.Language';\r\n}\r\n", "\uFEFFimport { getLookup, getLookupAsync, fieldsProxy } from \"@serenity-is/corelib/q\";\r\n\r\nexport interface LanguageRow {\r\n Id?: number;\r\n LanguageId?: string;\r\n LanguageName?: string;\r\n}\r\n\r\nexport abstract class LanguageRow {\r\n static readonly idProperty = 'Id';\r\n static readonly nameProperty = 'LanguageName';\r\n static readonly localTextPrefix = 'Administration.Language';\r\n static readonly lookupKey = 'Administration.Language';\r\n\r\n /** @deprecated use getLookupAsync instead */\r\n static getLookup() { return getLookup('Administration.Language') }\r\n static async getLookupAsync() { return getLookupAsync('Administration.Language') }\r\n\r\n static readonly deletePermission = 'Administration:Translation';\r\n static readonly insertPermission = 'Administration:Translation';\r\n static readonly readPermission = 'Administration:Translation';\r\n static readonly updatePermission = 'Administration:Translation';\r\n\r\n static readonly Fields = fieldsProxy();\r\n}\r\n", "\uFEFFimport { SaveRequest, SaveResponse, ServiceOptions, DeleteRequest, DeleteResponse, RetrieveRequest, RetrieveResponse, ListRequest, ListResponse, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { LanguageRow } from \"./LanguageRow\";\r\n\r\nexport namespace LanguageService {\r\n export const baseUrl = 'Administration/Language';\r\n\r\n export declare function Create(request: SaveRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Update(request: SaveRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Delete(request: DeleteRequest, onSuccess?: (response: DeleteResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Retrieve(request: RetrieveRequest, onSuccess?: (response: RetrieveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function List(request: ListRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n Create: \"Administration/Language/Create\",\r\n Update: \"Administration/Language/Update\",\r\n Delete: \"Administration/Language/Delete\",\r\n Retrieve: \"Administration/Language/Retrieve\",\r\n List: \"Administration/Language/List\"\r\n } as const;\r\n\r\n [\r\n 'Create', \r\n 'Update', \r\n 'Delete', \r\n 'Retrieve', \r\n 'List'\r\n ].forEach(x => {\r\n (LanguageService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}", "\uFEFFexport class RoleColumns {\r\n static columnsKey = 'Administration.Role';\r\n}\r\n", "\uFEFFimport { getLookup, getLookupAsync, fieldsProxy } from \"@serenity-is/corelib/q\";\n\nexport interface RoleRow {\n SortOrder?: number;\n Remarks?: string;\n RoleId?: number;\n RoleName?: string;\n}\n\nexport abstract class RoleRow {\n static readonly idProperty = 'RoleId';\n static readonly nameProperty = 'RoleName';\n static readonly localTextPrefix = 'Administration.Role';\n static readonly lookupKey = 'Administration.Role';\n\n /** @deprecated use getLookupAsync instead */\n static getLookup() { return getLookup('Administration.Role') }\n static async getLookupAsync() { return getLookupAsync('Administration.Role') }\n\n static readonly deletePermission = 'Administration:Security';\n static readonly insertPermission = 'Administration:Security';\n static readonly readPermission = 'Administration:Security';\n static readonly updatePermission = 'Administration:Security';\n\n static readonly Fields = fieldsProxy();\n}", "\uFEFFimport { SaveRequest, SaveResponse, ServiceOptions, DeleteRequest, DeleteResponse, RetrieveRequest, RetrieveResponse, ListRequest, ListResponse, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { RoleRow } from \"./RoleRow\";\r\n\r\nexport namespace RoleService {\r\n export const baseUrl = 'Administration/Role';\r\n\r\n export declare function Create(request: SaveRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Update(request: SaveRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Delete(request: DeleteRequest, onSuccess?: (response: DeleteResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Retrieve(request: RetrieveRequest, onSuccess?: (response: RetrieveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function List(request: ListRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n Create: \"Administration/Role/Create\",\r\n Update: \"Administration/Role/Update\",\r\n Delete: \"Administration/Role/Delete\",\r\n Retrieve: \"Administration/Role/Retrieve\",\r\n List: \"Administration/Role/List\"\r\n } as const;\r\n\r\n [\r\n 'Create', \r\n 'Update', \r\n 'Delete', \r\n 'Retrieve', \r\n 'List'\r\n ].forEach(x => {\r\n (RoleService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}", "\uFEFFimport { TranslationListRequest } from \"./TranslationListRequest\";\r\nimport { ListResponse, ServiceOptions, SaveResponse, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { TranslationItem } from \"./TranslationItem\";\r\nimport { TranslationUpdateRequest } from \"./TranslationUpdateRequest\";\r\n\r\nexport namespace TranslationService {\r\n export const baseUrl = 'Administration/Translation';\r\n\r\n export declare function List(request: TranslationListRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Update(request: TranslationUpdateRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n List: \"Administration/Translation/List\",\r\n Update: \"Administration/Translation/Update\"\r\n } as const;\r\n\r\n [\r\n 'List', \r\n 'Update'\r\n ].forEach(x => {\r\n (TranslationService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}", "\uFEFFimport { AgentType } from \"../Enums/AgentType\";\n\nexport class UserColumns {\n static columnsKey = 'Administration.User';\n}\n\n[AgentType]; // referenced types", "\uFEFFimport { StringEditor, EmailAddressEditor, EnumEditor, LookupEditor, DateEditor, ImageUploadEditor, PrefixedContext } from \"@serenity-is/corelib\";\nimport { MobileNumberEditor } from \"@/Common/Editors/MobileNumberEditor\";\nimport { AgentType } from \"../Enums/AgentType\";\nimport { initFormType } from \"@serenity-is/corelib/q\";\n\nexport interface UserProfileForm {\n DisplayName: StringEditor;\n Email: EmailAddressEditor;\n MobileNumber: MobileNumberEditor;\n AgentTypeId: EnumEditor;\n AgentId: LookupEditor;\n IssueDate: DateEditor;\n ExpireDate: DateEditor;\n UserImage: ImageUploadEditor;\n}\n\nexport class UserProfileForm extends PrefixedContext {\n static formKey = 'Administration.UserProfile';\n private static init: boolean;\n\n constructor(prefix: string) {\n super(prefix);\n\n if (!UserProfileForm.init) {\n UserProfileForm.init = true;\n\n var w0 = StringEditor;\n var w1 = EmailAddressEditor;\n var w2 = MobileNumberEditor;\n var w3 = EnumEditor;\n var w4 = LookupEditor;\n var w5 = DateEditor;\n var w6 = ImageUploadEditor;\n\n initFormType(UserProfileForm, [\n 'DisplayName', w0,\n 'Email', w1,\n 'MobileNumber', w2,\n 'AgentTypeId', w3,\n 'AgentId', w4,\n 'IssueDate', w5,\n 'ExpireDate', w5,\n 'UserImage', w6\n ]);\n }\n }\n}\n\n[AgentType]; // referenced types", "\uFEFFimport { Decorators, StringEditor, WX } from \"@serenity-is/corelib\";\r\nimport { isEmptyOrNull, startsWith, text, trimToNull } from \"@serenity-is/corelib/q\";\r\n\r\n@Decorators.registerEditor('ePaymentMPA.MobileNumberEditor')\r\nexport class MobileNumberEditor extends StringEditor {\r\n\r\n constructor(input: JQuery) {\r\n super(input);\r\n\r\n setTimeout(() => { this.element.attr('maxlength', 11); }, 1000);\r\n\r\n this.addValidationRule(this.uniqueName, e => {\r\n var value = trimToNull(this.get_value());\r\n if (value == null) {\r\n return null;\r\n }\r\n return MobileNumberEditor.validate(value);\r\n });\r\n\r\n input.bind('change', e => {\r\n if (!WX.hasOriginalEvent(e)) {\r\n return;\r\n }\r\n this.formatValue();\r\n });\r\n\r\n input.bind('blur', e => {\r\n if (this.element.hasClass('valid')) {\r\n this.formatValue();\r\n }\r\n });\r\n }\r\n\r\n protected formatValue(): void {\r\n this.element.val(this.getFormattedValue());\r\n }\r\n\r\n protected getFormattedValue(): string {\r\n var value = this.element.val();\r\n return MobileNumberEditor.formatMobileNumber(value);\r\n }\r\n\r\n get_value() {\r\n return this.getFormattedValue();\r\n }\r\n\r\n set_value(value: string) {\r\n this.element.val(value);\r\n }\r\n\r\n static validate(mobile: string) {\r\n var valid = MobileNumberEditor.isMobileNumber(mobile);\r\n if (valid) {\r\n return null;\r\n }\r\n return text('Validation.MobileNumber');\r\n }\r\n\r\n static isMobileNumber(phone: string) {\r\n if (isEmptyOrNull(phone)) {\r\n return false;\r\n }\r\n\r\n if (phone.length !== 11) {\r\n return false;\r\n }\r\n\r\n if (!startsWith(phone, '01')) {\r\n return false;\r\n }\r\n\r\n for (var i = 0; i < phone.length; i++) {\r\n var c = phone.charAt(i);\r\n if (c < '0' || c > '9') {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n static formatMobileNumber(phone) {\r\n if (!MobileNumberEditor.isMobileNumber(phone)) {\r\n return phone;\r\n }\r\n //phone = Q.replaceAll(Q.replaceAll(Q.replaceAll(Q.replaceAll(phone, ' ', ''), '-', ''), '(', ''), ')', '');\r\n //if (Q.startsWith(phone, '0')) {\r\n // phone = phone.substring(1);\r\n //}\r\n //phone = '(' + phone.substr(0, 3) + ') ' + phone.substr(3, 3) + '-' + phone.substr(6, 2) + phone.substr(8, 2);\r\n return phone;\r\n }\r\n\r\n}\r\n", "\uFEFFimport { UserType } from \"../Enums/UserType\";\r\nimport { AgentType } from \"../Enums/AgentType\";\r\nimport { getLookup, getLookupAsync, fieldsProxy } from \"@serenity-is/corelib/q\";\r\n\r\nexport interface UserRow {\r\n MobileNumber?: string;\r\n UserTypeId?: UserType;\r\n AgentTypeId?: AgentType;\r\n AgentId?: number;\r\n Attachment?: string;\r\n IssueDate?: string;\r\n ExpireDate?: string;\r\n UserId?: number;\r\n Username?: string;\r\n Source?: string;\r\n PasswordHash?: string;\r\n PasswordSalt?: string;\r\n DisplayName?: string;\r\n Email?: string;\r\n UserImage?: string;\r\n LastDirectoryUpdate?: string;\r\n IsActive?: number;\r\n Password?: string;\r\n PasswordConfirm?: string;\r\n Roles?: number[];\r\n InsertUserId?: number;\r\n InsertDate?: string;\r\n UpdateUserId?: number;\r\n UpdateDate?: string;\r\n}\r\n\r\nexport abstract class UserRow {\r\n static readonly idProperty = 'UserId';\r\n static readonly isActiveProperty = 'IsActive';\r\n static readonly nameProperty = 'Username';\r\n static readonly localTextPrefix = 'Administration.User';\r\n static readonly lookupKey = 'Administration.User';\r\n\r\n /** @deprecated use getLookupAsync instead */\r\n static getLookup() { return getLookup('Administration.User') }\r\n static async getLookupAsync() { return getLookupAsync('Administration.User') }\r\n\r\n static readonly deletePermission = 'Administration:Security';\r\n static readonly insertPermission = 'Administration:Security';\r\n static readonly readPermission = '?';\r\n static readonly updatePermission = 'Administration:Security';\r\n\r\n static readonly Fields = fieldsProxy();\r\n}", "\uFEFFimport { SaveRequest, SaveResponse, ServiceOptions, DeleteRequest, DeleteResponse, RetrieveRequest, RetrieveResponse, ListResponse, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { UserRow } from \"./UserRow\";\r\nimport { UserListRequest } from \"./UserListRequest\";\r\n\r\nexport namespace UserService {\r\n export const baseUrl = 'Administration/User';\r\n\r\n export declare function Create(request: SaveRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Update(request: SaveRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Delete(request: DeleteRequest, onSuccess?: (response: DeleteResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function Retrieve(request: RetrieveRequest, onSuccess?: (response: RetrieveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function List(request: UserListRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n Create: \"Administration/User/Create\",\r\n Update: \"Administration/User/Update\",\r\n Delete: \"Administration/User/Delete\",\r\n Retrieve: \"Administration/User/Retrieve\",\r\n List: \"Administration/User/List\"\r\n } as const;\r\n\r\n [\r\n 'Create', \r\n 'Update', \r\n 'Delete', \r\n 'Retrieve', \r\n 'List'\r\n ].forEach(x => {\r\n (UserService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}", "\uFEFFimport { StringEditor, PrefixedContext } from \"@serenity-is/corelib\";\r\nimport { initFormType } from \"@serenity-is/corelib/q\";\r\n\r\nexport interface LanguageForm {\r\n LanguageId: StringEditor;\r\n LanguageName: StringEditor;\r\n}\r\n\r\nexport class LanguageForm extends PrefixedContext {\r\n static formKey = 'Administration.Language';\r\n private static init: boolean;\r\n\r\n constructor(prefix: string) {\r\n super(prefix);\r\n\r\n if (!LanguageForm.init) {\r\n LanguageForm.init = true;\r\n\r\n var w0 = StringEditor;\r\n\r\n initFormType(LanguageForm, [\r\n 'LanguageId', w0,\r\n 'LanguageName', w0\r\n ]);\r\n }\r\n }\r\n}\r\n", "\uFEFFexport namespace PermissionKeys {\n export const Security = \"Administration:Security\";\n export const ReadSecurity = \"Administration:SecurityRead\";\n export const Translation = \"Administration:Translation\";\n}", "\uFEFFimport { StringEditor, IntegerEditor, TextAreaEditor, PrefixedContext } from \"@serenity-is/corelib\";\nimport { initFormType } from \"@serenity-is/corelib/q\";\n\nexport interface RoleForm {\n RoleName: StringEditor;\n SortOrder: IntegerEditor;\n Remarks: TextAreaEditor;\n}\n\nexport class RoleForm extends PrefixedContext {\n static formKey = 'Administration.Role';\n private static init: boolean;\n\n constructor(prefix: string) {\n super(prefix);\n\n if (!RoleForm.init) {\n RoleForm.init = true;\n\n var w0 = StringEditor;\n var w1 = IntegerEditor;\n var w2 = TextAreaEditor;\n\n initFormType(RoleForm, [\n 'RoleName', w0,\n 'SortOrder', w1,\n 'Remarks', w2\n ]);\n }\n }\n}", "\uFEFFimport { fieldsProxy } from \"@serenity-is/corelib/q\";\r\n\r\nexport interface RolePermissionRow {\r\n RolePermissionId?: number;\r\n RoleId?: number;\r\n PermissionKey?: string;\r\n RoleRoleName?: string;\r\n}\r\n\r\nexport abstract class RolePermissionRow {\r\n static readonly idProperty = 'RolePermissionId';\r\n static readonly nameProperty = 'PermissionKey';\r\n static readonly localTextPrefix = 'Administration.RolePermission';\r\n static readonly deletePermission = 'Administration:Security';\r\n static readonly insertPermission = 'Administration:Security';\r\n static readonly readPermission = 'Administration:Security';\r\n static readonly updatePermission = 'Administration:Security';\r\n\r\n static readonly Fields = fieldsProxy();\r\n}\r\n", "\uFEFFimport { RolePermissionUpdateRequest } from \"./RolePermissionUpdateRequest\";\r\nimport { SaveResponse, ServiceOptions, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { RolePermissionListRequest } from \"./RolePermissionListRequest\";\r\nimport { RolePermissionListResponse } from \"./RolePermissionListResponse\";\r\n\r\nexport namespace RolePermissionService {\r\n export const baseUrl = 'Administration/RolePermission';\r\n\r\n export declare function Update(request: RolePermissionUpdateRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function List(request: RolePermissionListRequest, onSuccess?: (response: RolePermissionListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n Update: \"Administration/RolePermission/Update\",\r\n List: \"Administration/RolePermission/List\"\r\n } as const;\r\n\r\n [\r\n 'Update', \r\n 'List'\r\n ].forEach(x => {\r\n (RolePermissionService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}", "\uFEFFimport { StringEditor, EmailAddressEditor, EnumEditor, LookupEditor, DateEditor, MultipleImageUploadEditor, ImageUploadEditor, PasswordEditor, PrefixedContext } from \"@serenity-is/corelib\";\nimport { MobileNumberEditor } from \"@/Common/Editors/MobileNumberEditor\";\nimport { UserType } from \"../Enums/UserType\";\nimport { AgentType } from \"../Enums/AgentType\";\nimport { initFormType } from \"@serenity-is/corelib/q\";\n\nexport interface UserForm {\n Username: StringEditor;\n DisplayName: StringEditor;\n Email: EmailAddressEditor;\n MobileNumber: MobileNumberEditor;\n UserTypeId: EnumEditor;\n Source: StringEditor;\n AgentTypeId: EnumEditor;\n AgentId: LookupEditor;\n IssueDate: DateEditor;\n ExpireDate: DateEditor;\n Attachment: MultipleImageUploadEditor;\n UserImage: ImageUploadEditor;\n Roles: LookupEditor;\n Password: PasswordEditor;\n PasswordConfirm: PasswordEditor;\n}\n\nexport class UserForm extends PrefixedContext {\n static formKey = 'Administration.User';\n private static init: boolean;\n\n constructor(prefix: string) {\n super(prefix);\n\n if (!UserForm.init) {\n UserForm.init = true;\n\n var w0 = StringEditor;\n var w1 = EmailAddressEditor;\n var w2 = MobileNumberEditor;\n var w3 = EnumEditor;\n var w4 = LookupEditor;\n var w5 = DateEditor;\n var w6 = MultipleImageUploadEditor;\n var w7 = ImageUploadEditor;\n var w8 = PasswordEditor;\n\n initFormType(UserForm, [\n 'Username', w0,\n 'DisplayName', w0,\n 'Email', w1,\n 'MobileNumber', w2,\n 'UserTypeId', w3,\n 'Source', w0,\n 'AgentTypeId', w3,\n 'AgentId', w4,\n 'IssueDate', w5,\n 'ExpireDate', w5,\n 'Attachment', w6,\n 'UserImage', w7,\n 'Roles', w4,\n 'Password', w8,\n 'PasswordConfirm', w8\n ]);\n }\n }\n}\n\n[UserType, AgentType]; // referenced types", "\uFEFFimport { fieldsProxy } from \"@serenity-is/corelib/q\";\n\nexport interface UserPermissionRow {\n UserPermissionId?: number;\n UserId?: number;\n PermissionKey?: string;\n Granted?: boolean;\n Username?: string;\n User?: string;\n}\n\nexport abstract class UserPermissionRow {\n static readonly idProperty = 'UserPermissionId';\n static readonly nameProperty = 'PermissionKey';\n static readonly localTextPrefix = 'Administration.UserPermission';\n static readonly deletePermission = 'Administration:Security';\n static readonly insertPermission = 'Administration:Security';\n static readonly readPermission = 'Administration:SecurityRead';\n static readonly updatePermission = 'Administration:Security';\n\n static readonly Fields = fieldsProxy();\n}", "\uFEFFimport { UserPermissionUpdateRequest } from \"./UserPermissionUpdateRequest\";\r\nimport { SaveResponse, ServiceOptions, ListResponse, ServiceRequest, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { UserPermissionListRequest } from \"./UserPermissionListRequest\";\r\nimport { UserPermissionRow } from \"./UserPermissionRow\";\r\n\r\nexport namespace UserPermissionService {\r\n export const baseUrl = 'Administration/UserPermission';\r\n\r\n export declare function Update(request: UserPermissionUpdateRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function List(request: UserPermissionListRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function ListRolePermissions(request: UserPermissionListRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function ListPermissionKeys(request: ServiceRequest, onSuccess?: (response: ListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n Update: \"Administration/UserPermission/Update\",\r\n List: \"Administration/UserPermission/List\",\r\n ListRolePermissions: \"Administration/UserPermission/ListRolePermissions\",\r\n ListPermissionKeys: \"Administration/UserPermission/ListPermissionKeys\"\r\n } as const;\r\n\r\n [\r\n 'Update', \r\n 'List', \r\n 'ListRolePermissions', \r\n 'ListPermissionKeys'\r\n ].forEach(x => {\r\n (UserPermissionService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}", "\uFEFFimport { fieldsProxy } from \"@serenity-is/corelib/q\";\r\n\r\nexport interface UserRoleRow {\r\n UserRoleId?: number;\r\n UserId?: number;\r\n RoleId?: number;\r\n Username?: string;\r\n User?: string;\r\n}\r\n\r\nexport abstract class UserRoleRow {\r\n static readonly idProperty = 'UserRoleId';\r\n static readonly localTextPrefix = 'Administration.UserRole';\r\n static readonly deletePermission = 'Administration:Security';\r\n static readonly insertPermission = 'Administration:Security';\r\n static readonly readPermission = '?';\r\n static readonly updatePermission = 'Administration:Security';\r\n\r\n static readonly Fields = fieldsProxy();\r\n}", "\uFEFFimport { UserRoleUpdateRequest } from \"./UserRoleUpdateRequest\";\r\nimport { SaveResponse, ServiceOptions, serviceRequest } from \"@serenity-is/corelib/q\";\r\nimport { UserRoleListRequest } from \"./UserRoleListRequest\";\r\nimport { UserRoleListResponse } from \"./UserRoleListResponse\";\r\n\r\nexport namespace UserRoleService {\r\n export const baseUrl = 'Administration/UserRole';\r\n\r\n export declare function Update(request: UserRoleUpdateRequest, onSuccess?: (response: SaveResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n export declare function List(request: UserRoleListRequest, onSuccess?: (response: UserRoleListResponse) => void, opt?: ServiceOptions): JQueryXHR;\r\n\r\n export const Methods = {\r\n Update: \"Administration/UserRole/Update\",\r\n List: \"Administration/UserRole/List\"\r\n } as const;\r\n\r\n [\r\n 'Update', \r\n 'List'\r\n ].forEach(x => {\r\n (UserRoleService)[x] = function (r, s, o) {\r\n return serviceRequest(baseUrl + '/' + x, r, s, o);\r\n };\r\n });\r\n}"], "mappings": "4GAAQ,IAAMA,EAAN,KAAsB,CAE9B,EAFcC,EAAAD,EAAA,mBAAAA,EACH,WAAa,0BCDvB,IAAAE,EAAuD,SAQjD,IAAeC,EAAf,KAA2B,CAO9B,OAAO,WAAY,CAAE,SAAO,aAAuB,yBAAyB,CAAE,CAC9E,OAAa,gBAAiB,QAAAC,EAAA,sBAAE,SAAO,kBAA4B,yBAAyB,CAAE,GAQlG,EAhBsBC,EAAAF,EAAA,eAAAA,EACF,WAAa,KADXA,EAEF,aAAe,eAFbA,EAGF,gBAAkB,0BAHhBA,EAIF,UAAY,0BAJVA,EAUF,iBAAmB,6BAVjBA,EAWF,iBAAmB,6BAXjBA,EAYF,eAAiB,6BAZfA,EAaF,iBAAmB,6BAbjBA,EAeF,UAAS,eAAyB,ECvBrD,IAAAG,EAAuK,SAGvJC,OACAA,EAAA,QAAU,0BAQVA,EAAA,QAAU,CACnB,OAAQ,iCACR,OAAQ,iCACR,OAAQ,iCACR,SAAU,mCACV,KAAM,8BACV,EAEA,CACI,SACA,SACA,SACA,WACA,MACJ,EAAE,QAAQC,GAAK,CACLD,EAAiBC,CAAC,EAAI,SAAUC,EAAGC,EAAGC,EAAG,CAC3C,SAAO,kBAAeJ,EAAA,QAAU,IAAMC,EAAGC,EAAGC,EAAGC,CAAC,CACpD,CACJ,CAAC,IA3BYJ,MAAA,KCHT,IAAMK,EAAN,KAAkB,CAE1B,EAFcC,EAAAD,EAAA,eAAAA,EACH,WAAa,sBCDvB,IAAAE,EAAuD,SASjD,IAAeC,EAAf,KAAuB,C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IAAAK,GAA4B,SAUtB,IAAeC,EAAf,KAA2B,CASlC,EATsBC,EAAAD,EAAA,eAAAA,EACF,WAAa,aADXA,EAEF,gBAAkB,0BAFhBA,EAGF,iBAAmB,0BAHjBA,EAIF,iBAAmB,0BAJjBA,EAKF,eAAiB,IALfA,EAMF,iBAAmB,0BANjBA,EAQF,UAAS,gBAAyB,ECjBtD,IAAAE,GAA6D,SAI5CC,QACAA,EAAA,QAAU,0BAKVA,EAAA,QAAU,CACnB,OAAQ,iCACR,KAAM,8BACV,EAEA,CACI,SACA,MACJ,EAAE,QAAQC,GAAK,CACLD,EAAiBC,CAAC,EAAI,SAAUC,EAAGC,EAAGC,EAAG,CAC3C,SAAO,mBAAeJ,EAAA,QAAU,IAAMC,EAAGC,EAAGC,EAAGC,CAAC,CACpD,CACJ,CAAC,IAlBYJ,QAAA", "names": ["LanguageColumns", "__name", "import_q", "LanguageRow", "__async", "__name", "import_q", "LanguageService", "x", "r", "s", "o", "RoleColumns", "__name", "import_q", "RoleRow", "__async", "__name", "import_q", "RoleService", "x", "r", "s", "o", "import_q", "TranslationService", "x", "r", "s", "o", "UserColumns", "__name", "import_corelib", "import_corelib", "import_q", "MobileNumberEditor", "input", "value", "mobile", "valid", "phone", "i", "c", "__name", "__decorateClass", "import_q", "_UserProfileForm", "prefix", "w0", "w1", "w2", "MobileNumberEditor", "w3", "w4", "w5", "w6", "UserProfileForm", "__name", "import_q", "UserRow", "__async", "__name", "import_q", "UserService", "x", "r", "s", "o", "import_corelib", "import_q", "_LanguageForm", "prefix", "w0", "LanguageForm", "__name", "PermissionKeys", "import_corelib", "import_q", "_RoleForm", "prefix", "w0", "w1", "w2", "RoleForm", "__name", "import_q", "RolePermissionRow", "__name", "import_q", "RolePermissionService", "x", "r", "s", "o", "import_corelib", "import_q", "_UserForm", "prefix", "w0", "w1", "w2", "MobileNumberEditor", "w3", "w4", "w5", "w6", "w7", "w8", "UserForm", "__name", "import_q", "UserPermissionRow", "__name", "import_q", "UserPermissionService", "x", "r", "s", "o", "import_q", "UserRoleRow", "__name", "import_q", "UserRoleService", "x", "r", "s", "o"] }