gl-ng-menus-frontend
Advanced tools
Comparing version 9.1.0 to 9.2.0
@@ -5,3 +5,3 @@ import { ElementRef, EventEmitter, OnInit } from '@angular/core'; | ||
import { IMenuItem, IMenuItemComplex } from './item/gl-component-menu-item.interface'; | ||
import { TMenuPosition } from './gl-component-menu.interface'; | ||
import { TMenuPosition, TUrlTargets } from './gl-component-menu.interface'; | ||
import * as i0 from "@angular/core"; | ||
@@ -20,5 +20,5 @@ export declare class GlComponentMenuComponent implements OnInit { | ||
showLogout: boolean; | ||
className: string; | ||
className: string | 'dark' | 'translucid' | ''; | ||
settingsUrl: string; | ||
settingsTarget: string; | ||
settingsTarget: TUrlTargets; | ||
menuLogo: string; | ||
@@ -25,0 +25,0 @@ menuBottomTitle: string; |
@@ -0,1 +1,29 @@ | ||
import { IMenuItem, IMenuItemComplex } from './item/gl-component-menu-item.interface'; | ||
export type TMenuPosition = 'left' | 'right'; | ||
export interface ISideMenuData { | ||
title: string; | ||
subtitle: string; | ||
className?: string | 'dark' | 'translucid' | ''; | ||
showSettings: boolean; | ||
showLogout: boolean; | ||
systemVersion: string; | ||
menuBottomTitle: string; | ||
menuBottomVersion?: string; | ||
menuPosition?: TMenuPosition; | ||
menuLogo?: string; | ||
settingsTarget?: TUrlTargets; | ||
settingsUrl: string; | ||
menuItems?: IMenuItem[]; | ||
menuItemsComplex?: IMenuItemComplex[]; | ||
logoutButton?: string; | ||
closeButton?: string; | ||
settingsButton?: string; | ||
} | ||
/** | ||
* Types of url targets | ||
* @param _blank Opens the linked document in a new tab or window. | ||
* @param _parent Opens the link in the parent frame. Frames are deprecated in HTML5. | ||
* @param _self Open the link in the current frame. | ||
* @param _top Opens the link in the top-most frame. Frames are deprecated in HTML5. | ||
*/ | ||
export type TUrlTargets = '_blank' | '_parent' | '_self' | '_top'; |
export interface IMenuItem { | ||
id: number; | ||
src?: string; | ||
@@ -12,2 +13,3 @@ href: string; | ||
export interface IMenuItemComplex { | ||
id: number; | ||
src?: string; | ||
@@ -14,0 +16,0 @@ href: string; |
@@ -12,3 +12,3 @@ import { IModalItemAction } from './item/gl-component-modal-actions-item.interface'; | ||
addAction(actions: IModalItemAction[], removeCurrent?: boolean): void; | ||
addSingleAction(title: string, icon: string, action: () => void, red: boolean, green: boolean, hide?: boolean, groupSplit?: boolean, removeCurrent?: boolean): void; | ||
addSingleAction(id: number, title: string, icon: string, action: () => void, red: boolean, green: boolean, hide?: boolean, groupSplit?: boolean, removeCurrent?: boolean): void; | ||
removeAction(index: number, deleteCount?: number): void; | ||
@@ -15,0 +15,0 @@ clearActions(): void; |
export interface IModalItemAction { | ||
id: number; | ||
title: string; | ||
@@ -3,0 +4,0 @@ icon: string; |
{ | ||
"name": "gl-ng-menus-frontend", | ||
"version": "9.1.0", | ||
"version": "9.2.0", | ||
"description": "Common code and components designed for Angular 2+ to be used among web front-end development.", | ||
@@ -5,0 +5,0 @@ "main": "wrapper_menus.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
239793
1426