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

gl-ng-menus-frontend

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-ng-menus-frontend - npm Package Compare versions

Comparing version 9.1.0 to 9.2.0

6

gl-ng-menus-frontend/src/lib/component/menu/gl-component-menu.component.d.ts

@@ -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

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