Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@volo/abp.ng.language-management.config

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volo/abp.ng.language-management.config - npm Package Compare versions

Comparing version 2.6.2 to 2.7.0

2

bundles/volo-abp.ng.language-management.config.umd.js

@@ -1,1 +0,1 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@abp/ng.core"),require("@angular/core"),require("@volo/abp.commercial.ng.ui"),require("@volo/abp.ng.language-management")):"function"==typeof define&&define.amd?define("@volo/abp.ng.language-management.config",["exports","@abp/ng.core","@angular/core","@volo/abp.commercial.ng.ui","@volo/abp.ng.language-management"],n):n(((e=e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng["language-management"]=e.volo.abp.ng["language-management"]||{},e.volo.abp.ng["language-management"].config={}),e.ng_core,e.ng.core,e.abp_commercial_ng_ui,e.abp_ng_languageManagement)}(this,(function(e,n,a,t,o){"use strict";var g,i,u=function(){function e(){n.addAbpRoutes({name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]})}return e.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),r=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguageTextsComponent).edit(e.record,e.index)},permission:"LanguageManagement.Languages.Edit"}]),c=t.ToolbarAction.createMany([]),s=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguagesComponent).edit(e.record.id)},permission:"LanguageManagement.Languages.Edit"},{text:"LanguageManagement::Delete",action:function(e){e.getInjected(o.LanguagesComponent).delete(e.record.id,e.record.displayName)},permission:"LanguageManagement.Languages.Delete"},{text:"LanguageManagement::SetAsDefaultLanguage",action:function(e){e.getInjected(o.LanguagesComponent).setAsDefault(e.record.id)},permission:"LanguageManagement.Languages.ChangeDefault"}]),m=t.ToolbarAction.createMany([{text:"LanguageManagement::CreateNewLanguage",action:function(e){e.getInjected(o.LanguagesComponent).add()},permission:"LanguageManagement.Languages.Create",icon:"fa fa-plus"}]),l=((g={})["LanguageManagement.LanguagesComponent"]=s,g["LanguageManagement.LanguageTextsComponent"]=r,g),p=((i={})["LanguageManagement.LanguagesComponent"]=m,i["LanguageManagement.LanguageTextsComponent"]=c,i),d=new a.InjectionToken("LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"),L=new a.InjectionToken("LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"),A=new a.InjectionToken("LANGUAGE_MANAGEMENT_EXTENSIONS",{providedIn:"root",factory:function(){var e=a.inject(t.ExtensionsService),n=a.inject(d,a.InjectFlags.Optional)||{},o=a.inject(L,a.InjectFlags.Optional)||{};t.mergeWithDefaultActions(e.entityActions,l,n),t.mergeWithDefaultActions(e.toolbarActions,p,o)}}),f=n.noop,M=n.noop,T=function(){function e(){}return e.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:d,useValue:n.entityActionContributors},{provide:L,useValue:n.toolbarActionContributors}]}},e.decorators=[{type:a.NgModule,args:[{providers:[{provide:a.APP_INITIALIZER,deps:[u],useFactory:f,multi:!0},{provide:a.APP_INITIALIZER,deps:[A],useFactory:M,multi:!0}]}]}],e}();e.DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS=l,e.DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS=p,e.LanguageManagementConfigModule=T,e.LanguageManagementConfigService=u,e.ɵa=d,e.ɵb=L,e.ɵc=A,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@abp/ng.core"),require("@angular/core"),require("@volo/abp.commercial.ng.ui"),require("@volo/abp.ng.language-management")):"function"==typeof define&&define.amd?define("@volo/abp.ng.language-management.config",["exports","@abp/ng.core","@angular/core","@volo/abp.commercial.ng.ui","@volo/abp.ng.language-management"],n):n(((e=e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng["language-management"]=e.volo.abp.ng["language-management"]||{},e.volo.abp.ng["language-management"].config={}),e.ng_core,e.ng.core,e.abp_commercial_ng_ui,e.abp_ng_languageManagement)}(this,(function(e,n,a,t,o){"use strict";var g,i,r=function(){function e(){n.addAbpRoutes([{name:"AbpUiNavigation::Menu:Administration",path:"",order:2,wrapper:!0,iconClass:"fa fa-wrench"},{name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]}])}return e.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),u=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguageTextsComponent).edit(e.record,e.index)},permission:"LanguageManagement.Languages.Edit"}]),c=t.ToolbarAction.createMany([]),s=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguagesComponent).edit(e.record.id)},permission:"LanguageManagement.Languages.Edit"},{text:"LanguageManagement::Delete",action:function(e){e.getInjected(o.LanguagesComponent).delete(e.record.id,e.record.displayName)},permission:"LanguageManagement.Languages.Delete"},{text:"LanguageManagement::SetAsDefaultLanguage",action:function(e){e.getInjected(o.LanguagesComponent).setAsDefault(e.record.id)},permission:"LanguageManagement.Languages.ChangeDefault"}]),m=t.ToolbarAction.createMany([{text:"LanguageManagement::CreateNewLanguage",action:function(e){e.getInjected(o.LanguagesComponent).add()},permission:"LanguageManagement.Languages.Create",icon:"fa fa-plus"}]),l=((g={})["LanguageManagement.LanguagesComponent"]=s,g["LanguageManagement.LanguageTextsComponent"]=u,g),p=((i={})["LanguageManagement.LanguagesComponent"]=m,i["LanguageManagement.LanguageTextsComponent"]=c,i),d=new a.InjectionToken("LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"),L=new a.InjectionToken("LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"),A=new a.InjectionToken("LANGUAGE_MANAGEMENT_EXTENSIONS",{providedIn:"root",factory:function(){var e=a.inject(t.ExtensionsService),n=a.inject(d,a.InjectFlags.Optional)||{},o=a.inject(L,a.InjectFlags.Optional)||{};t.mergeWithDefaultActions(e.entityActions,l,n),t.mergeWithDefaultActions(e.toolbarActions,p,o)}}),f=n.noop,M=n.noop,T=function(){function e(){}return e.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:d,useValue:n.entityActionContributors},{provide:L,useValue:n.toolbarActionContributors}]}},e.decorators=[{type:a.NgModule,args:[{providers:[{provide:a.APP_INITIALIZER,deps:[r],useFactory:f,multi:!0},{provide:a.APP_INITIALIZER,deps:[A],useFactory:M,multi:!0}]}]}],e}();e.DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS=l,e.DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS=p,e.LanguageManagementConfigModule=T,e.LanguageManagementConfigService=r,e.ɵa=d,e.ɵb=L,e.ɵc=A,Object.defineProperty(e,"__esModule",{value:!0})}));

@@ -1,1 +0,1 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@abp/ng.core"),require("@angular/core"),require("@volo/abp.commercial.ng.ui"),require("@volo/abp.ng.language-management")):"function"==typeof define&&define.amd?define("@volo/abp.ng.language-management.config",["exports","@abp/ng.core","@angular/core","@volo/abp.commercial.ng.ui","@volo/abp.ng.language-management"],n):n(((e=e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng["language-management"]=e.volo.abp.ng["language-management"]||{},e.volo.abp.ng["language-management"].config={}),e.ng_core,e.ng.core,e.abp_commercial_ng_ui,e.abp_ng_languageManagement)}(this,(function(e,n,a,t,o){"use strict";var g,i,u=function(){function e(){n.addAbpRoutes({name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]})}return e.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),r=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguageTextsComponent).edit(e.record,e.index)},permission:"LanguageManagement.Languages.Edit"}]),c=t.ToolbarAction.createMany([]),s=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguagesComponent).edit(e.record.id)},permission:"LanguageManagement.Languages.Edit"},{text:"LanguageManagement::Delete",action:function(e){e.getInjected(o.LanguagesComponent).delete(e.record.id,e.record.displayName)},permission:"LanguageManagement.Languages.Delete"},{text:"LanguageManagement::SetAsDefaultLanguage",action:function(e){e.getInjected(o.LanguagesComponent).setAsDefault(e.record.id)},permission:"LanguageManagement.Languages.ChangeDefault"}]),m=t.ToolbarAction.createMany([{text:"LanguageManagement::CreateNewLanguage",action:function(e){e.getInjected(o.LanguagesComponent).add()},permission:"LanguageManagement.Languages.Create",icon:"fa fa-plus"}]),l=((g={})["LanguageManagement.LanguagesComponent"]=s,g["LanguageManagement.LanguageTextsComponent"]=r,g),p=((i={})["LanguageManagement.LanguagesComponent"]=m,i["LanguageManagement.LanguageTextsComponent"]=c,i),d=new a.InjectionToken("LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"),L=new a.InjectionToken("LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"),A=new a.InjectionToken("LANGUAGE_MANAGEMENT_EXTENSIONS",{providedIn:"root",factory:function(){var e=a.inject(t.ExtensionsService),n=a.inject(d,a.InjectFlags.Optional)||{},o=a.inject(L,a.InjectFlags.Optional)||{};t.mergeWithDefaultActions(e.entityActions,l,n),t.mergeWithDefaultActions(e.toolbarActions,p,o)}}),f=n.noop,M=n.noop,T=function(){function e(){}return e.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:d,useValue:n.entityActionContributors},{provide:L,useValue:n.toolbarActionContributors}]}},e.decorators=[{type:a.NgModule,args:[{providers:[{provide:a.APP_INITIALIZER,deps:[u],useFactory:f,multi:!0},{provide:a.APP_INITIALIZER,deps:[A],useFactory:M,multi:!0}]}]}],e}();e.DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS=l,e.DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS=p,e.LanguageManagementConfigModule=T,e.LanguageManagementConfigService=u,e.ɵa=d,e.ɵb=L,e.ɵc=A,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@abp/ng.core"),require("@angular/core"),require("@volo/abp.commercial.ng.ui"),require("@volo/abp.ng.language-management")):"function"==typeof define&&define.amd?define("@volo/abp.ng.language-management.config",["exports","@abp/ng.core","@angular/core","@volo/abp.commercial.ng.ui","@volo/abp.ng.language-management"],n):n(((e=e||self).volo=e.volo||{},e.volo.abp=e.volo.abp||{},e.volo.abp.ng=e.volo.abp.ng||{},e.volo.abp.ng["language-management"]=e.volo.abp.ng["language-management"]||{},e.volo.abp.ng["language-management"].config={}),e.ng_core,e.ng.core,e.abp_commercial_ng_ui,e.abp_ng_languageManagement)}(this,(function(e,n,a,t,o){"use strict";var g,i,r=function(){function e(){n.addAbpRoutes([{name:"AbpUiNavigation::Menu:Administration",path:"",order:2,wrapper:!0,iconClass:"fa fa-wrench"},{name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]}])}return e.decorators=[{type:a.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=a.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),u=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguageTextsComponent).edit(e.record,e.index)},permission:"LanguageManagement.Languages.Edit"}]),c=t.ToolbarAction.createMany([]),s=t.EntityAction.createMany([{text:"LanguageManagement::Edit",action:function(e){e.getInjected(o.LanguagesComponent).edit(e.record.id)},permission:"LanguageManagement.Languages.Edit"},{text:"LanguageManagement::Delete",action:function(e){e.getInjected(o.LanguagesComponent).delete(e.record.id,e.record.displayName)},permission:"LanguageManagement.Languages.Delete"},{text:"LanguageManagement::SetAsDefaultLanguage",action:function(e){e.getInjected(o.LanguagesComponent).setAsDefault(e.record.id)},permission:"LanguageManagement.Languages.ChangeDefault"}]),m=t.ToolbarAction.createMany([{text:"LanguageManagement::CreateNewLanguage",action:function(e){e.getInjected(o.LanguagesComponent).add()},permission:"LanguageManagement.Languages.Create",icon:"fa fa-plus"}]),l=((g={})["LanguageManagement.LanguagesComponent"]=s,g["LanguageManagement.LanguageTextsComponent"]=u,g),p=((i={})["LanguageManagement.LanguagesComponent"]=m,i["LanguageManagement.LanguageTextsComponent"]=c,i),d=new a.InjectionToken("LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"),L=new a.InjectionToken("LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"),A=new a.InjectionToken("LANGUAGE_MANAGEMENT_EXTENSIONS",{providedIn:"root",factory:function(){var e=a.inject(t.ExtensionsService),n=a.inject(d,a.InjectFlags.Optional)||{},o=a.inject(L,a.InjectFlags.Optional)||{};t.mergeWithDefaultActions(e.entityActions,l,n),t.mergeWithDefaultActions(e.toolbarActions,p,o)}}),f=n.noop,M=n.noop,T=function(){function e(){}return e.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:d,useValue:n.entityActionContributors},{provide:L,useValue:n.toolbarActionContributors}]}},e.decorators=[{type:a.NgModule,args:[{providers:[{provide:a.APP_INITIALIZER,deps:[r],useFactory:f,multi:!0},{provide:a.APP_INITIALIZER,deps:[A],useFactory:M,multi:!0}]}]}],e}();e.DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS=l,e.DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS=p,e.LanguageManagementConfigModule=T,e.LanguageManagementConfigService=r,e.ɵa=d,e.ɵb=L,e.ɵc=A,Object.defineProperty(e,"__esModule",{value:!0})}));

@@ -1,1 +0,1 @@

import{Injectable}from"@angular/core";import{addAbpRoutes}from"@abp/ng.core";import*as i0 from"@angular/core";export class LanguageManagementConfigService{constructor(){addAbpRoutes({name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]})}}LanguageManagementConfigService.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],LanguageManagementConfigService.ctorParameters=()=>[],LanguageManagementConfigService.ngInjectableDef=i0.ɵɵdefineInjectable({factory:function(){return new LanguageManagementConfigService},token:LanguageManagementConfigService,providedIn:"root"});
import{Injectable}from"@angular/core";import{addAbpRoutes}from"@abp/ng.core";import*as i0 from"@angular/core";export class LanguageManagementConfigService{constructor(){addAbpRoutes([{name:"AbpUiNavigation::Menu:Administration",path:"",order:2,wrapper:!0,iconClass:"fa fa-wrench"},{name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]}])}}LanguageManagementConfigService.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],LanguageManagementConfigService.ctorParameters=()=>[],LanguageManagementConfigService.ngInjectableDef=i0.ɵɵdefineInjectable({factory:function(){return new LanguageManagementConfigService},token:LanguageManagementConfigService,providedIn:"root"});

@@ -1,1 +0,1 @@

import{Injectable}from"@angular/core";import{addAbpRoutes}from"@abp/ng.core";import*as i0 from"@angular/core";var LanguageManagementConfigService=function(){function e(){addAbpRoutes({name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]})}return e.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=i0.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}();export{LanguageManagementConfigService};
import{Injectable}from"@angular/core";import{addAbpRoutes}from"@abp/ng.core";import*as i0 from"@angular/core";var LanguageManagementConfigService=function(){function a(){addAbpRoutes([{name:"AbpUiNavigation::Menu:Administration",path:"",order:2,wrapper:!0,iconClass:"fa fa-wrench"},{name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]}])}return a.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],a.ctorParameters=function(){return[]},a.ngInjectableDef=i0.ɵɵdefineInjectable({factory:function(){return new a},token:a,providedIn:"root"}),a}();export{LanguageManagementConfigService};

@@ -12,24 +12,33 @@ import { addAbpRoutes, noop } from '@abp/ng.core';

constructor() {
addAbpRoutes({
name: 'LanguageManagement::Menu:Languages',
path: 'language-management',
layout: "application" /* application */,
parentName: 'AbpUiNavigation::Menu:Administration',
iconClass: 'fa fa-globe',
order: 4,
children: [
{
path: 'languages',
name: 'LanguageManagement::Menu:Languages',
order: 1,
requiredPolicy: 'LanguageManagement.Languages',
},
{
path: 'texts',
name: 'LanguageManagement::LanguageTexts',
order: 2,
requiredPolicy: 'LanguageManagement.LanguageTexts',
},
],
});
addAbpRoutes([
{
name: "AbpUiNavigation::Menu:Administration" /* Administration */,
path: '',
order: 2,
wrapper: true,
iconClass: 'fa fa-wrench',
},
{
name: "LanguageManagement::Menu:Languages" /* Languages */,
path: 'language-management',
layout: "application" /* application */,
parentName: "AbpUiNavigation::Menu:Administration" /* Administration */,
iconClass: 'fa fa-globe',
order: 4,
children: [
{
path: 'languages',
name: "LanguageManagement::Menu:Languages" /* Languages */,
order: 1,
requiredPolicy: 'LanguageManagement.Languages',
},
{
path: 'texts',
name: "LanguageManagement::LanguageTexts" /* LanguageTexts */,
order: 2,
requiredPolicy: 'LanguageManagement.LanguageTexts',
},
],
},
]);
}

@@ -36,0 +45,0 @@ }

@@ -1,1 +0,1 @@

import{addAbpRoutes,noop}from"@abp/ng.core";import{Injectable,ɵɵdefineInjectable,InjectionToken,inject,InjectFlags,NgModule,APP_INITIALIZER}from"@angular/core";import{EntityAction,ToolbarAction,ExtensionsService,mergeWithDefaultActions}from"@volo/abp.commercial.ng.ui";import{LanguageTextsComponent,LanguagesComponent}from"@volo/abp.ng.language-management";var _a,_b,LanguageManagementConfigService=function(){function e(){addAbpRoutes({name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]})}return e.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),ɵ0=function(e){e.getInjected(LanguageTextsComponent).edit(e.record,e.index)},DEFAULT_LANGUAGE_TEXTS_ENTITY_ACTIONS=EntityAction.createMany([{text:"LanguageManagement::Edit",action:ɵ0,permission:"LanguageManagement.Languages.Edit"}]),DEFAULT_LANGUAGE_TEXTS_TOOLBAR_ACTIONS=ToolbarAction.createMany([]),ɵ0$1=function(e){e.getInjected(LanguagesComponent).edit(e.record.id)},ɵ1=function(e){e.getInjected(LanguagesComponent).delete(e.record.id,e.record.displayName)},ɵ2=function(e){e.getInjected(LanguagesComponent).setAsDefault(e.record.id)},DEFAULT_LANGUAGES_ENTITY_ACTIONS=EntityAction.createMany([{text:"LanguageManagement::Edit",action:ɵ0$1,permission:"LanguageManagement.Languages.Edit"},{text:"LanguageManagement::Delete",action:ɵ1,permission:"LanguageManagement.Languages.Delete"},{text:"LanguageManagement::SetAsDefaultLanguage",action:ɵ2,permission:"LanguageManagement.Languages.ChangeDefault"}]),ɵ0$2=function(e){e.getInjected(LanguagesComponent).add()},DEFAULT_LANGUAGES_TOOLBAR_ACTIONS=ToolbarAction.createMany([{text:"LanguageManagement::CreateNewLanguage",action:ɵ0$2,permission:"LanguageManagement.Languages.Create",icon:"fa fa-plus"}]),DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS=((_a={})["LanguageManagement.LanguagesComponent"]=DEFAULT_LANGUAGES_ENTITY_ACTIONS,_a["LanguageManagement.LanguageTextsComponent"]=DEFAULT_LANGUAGE_TEXTS_ENTITY_ACTIONS,_a),DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS=((_b={})["LanguageManagement.LanguagesComponent"]=DEFAULT_LANGUAGES_TOOLBAR_ACTIONS,_b["LanguageManagement.LanguageTextsComponent"]=DEFAULT_LANGUAGE_TEXTS_TOOLBAR_ACTIONS,_b),LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS=new InjectionToken("LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"),LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS=new InjectionToken("LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"),LANGUAGE_MANAGEMENT_EXTENSIONS=new InjectionToken("LANGUAGE_MANAGEMENT_EXTENSIONS",{providedIn:"root",factory:function(){var e=inject(ExtensionsService),n=inject(LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS,InjectFlags.Optional)||{},a=inject(LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS,InjectFlags.Optional)||{};mergeWithDefaultActions(e.entityActions,DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS,n),mergeWithDefaultActions(e.toolbarActions,DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS,a)}}),ɵ0$3=noop,ɵ1$1=noop,LanguageManagementConfigModule=function(){function e(){}return e.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS,useValue:n.entityActionContributors},{provide:LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS,useValue:n.toolbarActionContributors}]}},e.decorators=[{type:NgModule,args:[{providers:[{provide:APP_INITIALIZER,deps:[LanguageManagementConfigService],useFactory:ɵ0$3,multi:!0},{provide:APP_INITIALIZER,deps:[LANGUAGE_MANAGEMENT_EXTENSIONS],useFactory:ɵ1$1,multi:!0}]}]}],e}();function LanguageManagementConfigOptions(){}export{DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS,DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS,LanguageManagementConfigModule,LanguageManagementConfigService,LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS as ɵa,LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS as ɵb,LANGUAGE_MANAGEMENT_EXTENSIONS as ɵc};
import{addAbpRoutes,noop}from"@abp/ng.core";import{Injectable,ɵɵdefineInjectable,InjectionToken,inject,InjectFlags,NgModule,APP_INITIALIZER}from"@angular/core";import{EntityAction,ToolbarAction,ExtensionsService,mergeWithDefaultActions}from"@volo/abp.commercial.ng.ui";import{LanguageTextsComponent,LanguagesComponent}from"@volo/abp.ng.language-management";var _a,_b,LanguageManagementConfigService=function(){function e(){addAbpRoutes([{name:"AbpUiNavigation::Menu:Administration",path:"",order:2,wrapper:!0,iconClass:"fa fa-wrench"},{name:"LanguageManagement::Menu:Languages",path:"language-management",layout:"application",parentName:"AbpUiNavigation::Menu:Administration",iconClass:"fa fa-globe",order:4,children:[{path:"languages",name:"LanguageManagement::Menu:Languages",order:1,requiredPolicy:"LanguageManagement.Languages"},{path:"texts",name:"LanguageManagement::LanguageTexts",order:2,requiredPolicy:"LanguageManagement.LanguageTexts"}]}])}return e.decorators=[{type:Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),ɵ0=function(e){e.getInjected(LanguageTextsComponent).edit(e.record,e.index)},DEFAULT_LANGUAGE_TEXTS_ENTITY_ACTIONS=EntityAction.createMany([{text:"LanguageManagement::Edit",action:ɵ0,permission:"LanguageManagement.Languages.Edit"}]),DEFAULT_LANGUAGE_TEXTS_TOOLBAR_ACTIONS=ToolbarAction.createMany([]),ɵ0$1=function(e){e.getInjected(LanguagesComponent).edit(e.record.id)},ɵ1=function(e){e.getInjected(LanguagesComponent).delete(e.record.id,e.record.displayName)},ɵ2=function(e){e.getInjected(LanguagesComponent).setAsDefault(e.record.id)},DEFAULT_LANGUAGES_ENTITY_ACTIONS=EntityAction.createMany([{text:"LanguageManagement::Edit",action:ɵ0$1,permission:"LanguageManagement.Languages.Edit"},{text:"LanguageManagement::Delete",action:ɵ1,permission:"LanguageManagement.Languages.Delete"},{text:"LanguageManagement::SetAsDefaultLanguage",action:ɵ2,permission:"LanguageManagement.Languages.ChangeDefault"}]),ɵ0$2=function(e){e.getInjected(LanguagesComponent).add()},DEFAULT_LANGUAGES_TOOLBAR_ACTIONS=ToolbarAction.createMany([{text:"LanguageManagement::CreateNewLanguage",action:ɵ0$2,permission:"LanguageManagement.Languages.Create",icon:"fa fa-plus"}]),DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS=((_a={})["LanguageManagement.LanguagesComponent"]=DEFAULT_LANGUAGES_ENTITY_ACTIONS,_a["LanguageManagement.LanguageTextsComponent"]=DEFAULT_LANGUAGE_TEXTS_ENTITY_ACTIONS,_a),DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS=((_b={})["LanguageManagement.LanguagesComponent"]=DEFAULT_LANGUAGES_TOOLBAR_ACTIONS,_b["LanguageManagement.LanguageTextsComponent"]=DEFAULT_LANGUAGE_TEXTS_TOOLBAR_ACTIONS,_b),LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS=new InjectionToken("LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"),LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS=new InjectionToken("LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"),LANGUAGE_MANAGEMENT_EXTENSIONS=new InjectionToken("LANGUAGE_MANAGEMENT_EXTENSIONS",{providedIn:"root",factory:function(){var e=inject(ExtensionsService),n=inject(LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS,InjectFlags.Optional)||{},a=inject(LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS,InjectFlags.Optional)||{};mergeWithDefaultActions(e.entityActions,DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS,n),mergeWithDefaultActions(e.toolbarActions,DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS,a)}}),ɵ0$3=noop,ɵ1$1=noop,LanguageManagementConfigModule=function(){function e(){}return e.forRoot=function(n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS,useValue:n.entityActionContributors},{provide:LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS,useValue:n.toolbarActionContributors}]}},e.decorators=[{type:NgModule,args:[{providers:[{provide:APP_INITIALIZER,deps:[LanguageManagementConfigService],useFactory:ɵ0$3,multi:!0},{provide:APP_INITIALIZER,deps:[LANGUAGE_MANAGEMENT_EXTENSIONS],useFactory:ɵ1$1,multi:!0}]}]}],e}();function LanguageManagementConfigOptions(){}export{DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS,DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS,LanguageManagementConfigModule,LanguageManagementConfigService,LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS as ɵa,LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS as ɵb,LANGUAGE_MANAGEMENT_EXTENSIONS as ɵc};

@@ -1,2 +0,2 @@

import { EntityActionContributorCallback } from '@volo/abp.commercial.ng.ui';
import { EntityActionContributorCallback, ToolbarActionContributorCallback } from '@volo/abp.commercial.ng.ui';
import { eLanguageManagementComponents, LanguageManagement } from '@volo/abp.ng.language-management';

@@ -8,4 +8,4 @@ export declare type LanguageManagementEntityActionContributors = Partial<{

export declare type LanguageManagementToolbarActionContributors = Partial<{
[eLanguageManagementComponents.Languages]: EntityActionContributorCallback<LanguageManagement.Language[]>[];
[eLanguageManagementComponents.LanguageTexts]: EntityActionContributorCallback<LanguageManagement.LanguageText[]>[];
[eLanguageManagementComponents.Languages]: ToolbarActionContributorCallback<LanguageManagement.Language[]>[];
[eLanguageManagementComponents.LanguageTexts]: ToolbarActionContributorCallback<LanguageManagement.LanguageText[]>[];
}>;

@@ -12,0 +12,0 @@ export interface LanguageManagementConfigOptions {

{
"name": "@volo/abp.ng.language-management.config",
"version": "2.6.2",
"version": "2.7.0",
"homepage": "https://abp.io",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"LanguageManagementConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":13,"character":15},"deps":[{"__symbolic":"reference","name":"LanguageManagementConfigService"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":15,"character":18},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":19,"character":15},"deps":[{"__symbolic":"reference","name":"ɵc"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":21,"character":18},"multi":true}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"LanguageManagementConfigModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵa"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"entityActionContributors"}},{"provide":{"__symbolic":"reference","name":"ɵb"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"toolbarActionContributors"}}]}}}},"LanguageManagementEntityActionContributors":{"__symbolic":"interface"},"LanguageManagementToolbarActionContributors":{"__symbolic":"interface"},"LanguageManagementConfigOptions":{"__symbolic":"interface"},"LanguageManagementConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"ɵa":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":66},"arguments":["LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"]},"ɵb":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":34,"character":67},"arguments":["LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"]},"ɵc":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":38,"character":50},"arguments":["LANGUAGE_MANAGEMENT_EXTENSIONS",{"__symbolic":"error","message":"Lambda not supported","line":42,"character":13,"module":"./lib/tokens/extensions.token"}]},"DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS":{"__symbolic":"error","message":"Expression form not supported","line":21,"character":2,"module":"./lib/tokens/extensions.token"},"DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS":{"__symbolic":"error","message":"Expression form not supported","line":26,"character":2,"module":"./lib/tokens/extensions.token"}},"origins":{"LanguageManagementConfigModule":"./lib/language-management-config.module","LanguageManagementEntityActionContributors":"./lib/models/config-options","LanguageManagementToolbarActionContributors":"./lib/models/config-options","LanguageManagementConfigOptions":"./lib/models/config-options","LanguageManagementConfigService":"./lib/services/language-management-config.service","ɵa":"./lib/tokens/extensions.token","ɵb":"./lib/tokens/extensions.token","ɵc":"./lib/tokens/extensions.token","DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS":"./lib/tokens/extensions.token","DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS":"./lib/tokens/extensions.token"},"importAs":"@volo/abp.ng.language-management.config"}
{"__symbolic":"module","version":4,"metadata":{"LanguageManagementConfigModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":13,"character":15},"deps":[{"__symbolic":"reference","name":"LanguageManagementConfigService"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":15,"character":18},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":19,"character":15},"deps":[{"__symbolic":"reference","name":"ɵc"}],"useFactory":{"__symbolic":"reference","module":"@abp/ng.core","name":"noop","line":21,"character":18},"multi":true}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"LanguageManagementConfigModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵa"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"entityActionContributors"}},{"provide":{"__symbolic":"reference","name":"ɵb"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"toolbarActionContributors"}}]}}}},"LanguageManagementEntityActionContributors":{"__symbolic":"interface"},"LanguageManagementToolbarActionContributors":{"__symbolic":"interface"},"LanguageManagementConfigOptions":{"__symbolic":"interface"},"LanguageManagementConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"ɵa":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":66},"arguments":["LANGUAGE_MANAGEMENT_ENTITY_ACTION_CONTRIBUTORS"]},"ɵb":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":34,"character":67},"arguments":["LANGUAGE_MANAGEMENT_TOOLBAR_ACTION_CONTRIBUTORS"]},"ɵc":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":38,"character":50},"arguments":["LANGUAGE_MANAGEMENT_EXTENSIONS",{"__symbolic":"error","message":"Lambda not supported","line":42,"character":13,"module":"./lib/tokens/extensions.token"}]},"DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS":{"__symbolic":"error","message":"Expression form not supported","line":21,"character":2,"module":"./lib/tokens/extensions.token"},"DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS":{"__symbolic":"error","message":"Expression form not supported","line":26,"character":2,"module":"./lib/tokens/extensions.token"}},"origins":{"LanguageManagementConfigModule":"./lib/language-management-config.module","LanguageManagementEntityActionContributors":"./lib/models/config-options","LanguageManagementToolbarActionContributors":"./lib/models/config-options","LanguageManagementConfigOptions":"./lib/models/config-options","LanguageManagementConfigService":"./lib/services/language-management-config.service","ɵa":"./lib/tokens/extensions.token","ɵb":"./lib/tokens/extensions.token","ɵc":"./lib/tokens/extensions.token","DEFAULT_LANGUAGE_MANAGEMENT_ENTITY_ACTIONS":"./lib/tokens/extensions.token","DEFAULT_LANGUAGE_MANAGEMENT_TOOLBAR_ACTIONS":"./lib/tokens/extensions.token"},"importAs":"@volo/abp.ng.language-management.config"}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc