Socket
Socket
Sign inDemoInstall

@mosaic-finance/angular-core

Package Overview
Dependencies
8
Maintainers
3
Versions
154
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.8.0 to 6.9.0

6

lib/components/draggable-list/draggable-list.component.d.ts

@@ -54,2 +54,6 @@ import { CdkDrag, CdkDragDrop, CdkDragEnd, CdkDragEnter, CdkDragExit, CdkDragStart, CdkDropList } from '@angular/cdk/drag-drop';

/**
* The orientation of the list
*/
orientation: 'horizontal' | 'vertical';
/**
* Event triggered when the list values have been updated.

@@ -122,3 +126,3 @@ * Provides an array of the updated list value, the action, the item value, and to and from info.

static ɵfac: i0.ɵɵFactoryDeclaration<DraggableListComponent<any, any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DraggableListComponent<any, any>, "mfc-draggable-list", never, { "listId": { "alias": "listId"; "required": false; }; "connectedTo": { "alias": "connectedTo"; "required": false; }; "enterPredicate": { "alias": "enterPredicate"; "required": false; }; "copyOnMove": { "alias": "copyOnMove"; "required": false; }; "transformDroppedItem": { "alias": "transformDroppedItem"; "required": false; }; "orderable": { "alias": "orderable"; "required": false; }; "useDropLine": { "alias": "useDropLine"; "required": false; }; "useDragHandle": { "alias": "useDragHandle"; "required": false; }; "showPlaceholder": { "alias": "showPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "listUpdate": "listUpdate"; "listEntered": "listEntered"; "listExited": "listExited"; }, ["itemList"], never, false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DraggableListComponent<any, any>, "mfc-draggable-list", never, { "listId": { "alias": "listId"; "required": false; }; "connectedTo": { "alias": "connectedTo"; "required": false; }; "enterPredicate": { "alias": "enterPredicate"; "required": false; }; "copyOnMove": { "alias": "copyOnMove"; "required": false; }; "transformDroppedItem": { "alias": "transformDroppedItem"; "required": false; }; "orderable": { "alias": "orderable"; "required": false; }; "useDropLine": { "alias": "useDropLine"; "required": false; }; "useDragHandle": { "alias": "useDragHandle"; "required": false; }; "showPlaceholder": { "alias": "showPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "listUpdate": "listUpdate"; "listEntered": "listEntered"; "listExited": "listExited"; }, ["itemList"], never, false, never>;
}

7

lib/overlays/confirm/confirm.component.d.ts

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

import { TemplateRef } from '@angular/core';
import { Portal } from '@angular/cdk/portal';
import { TemplateRef, ViewContainerRef } from '@angular/core';
import { MfcDialogRef } from '../dialog/dialog.ref';

@@ -8,7 +9,9 @@ import { ConfirmConfig } from './confirm';

dialog: MfcDialogRef;
private ref;
portalInstance: Portal<unknown> | undefined;
get message(): string;
get template(): TemplateRef<unknown> | undefined;
constructor(data: ConfirmConfig, dialog: MfcDialogRef);
constructor(data: ConfirmConfig, dialog: MfcDialogRef, ref: ViewContainerRef);
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "ng-component", never, {}, {}, never, never, false, never>;
}

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

import { TemplateRef } from '@angular/core';
import { ComponentType } from '@angular/cdk/portal';
import { InjectionToken, TemplateRef } from '@angular/core';
import { FillStyles, Goals, IconNames } from '@mosaic-finance/core';

@@ -11,3 +12,3 @@ import { Observable } from 'rxjs';

}
export interface ConfirmConfig {
export interface ConfirmConfig<T = unknown> {
goal?: Goals;

@@ -19,4 +20,8 @@ header?: string;

cancelable?: boolean;
data?: T;
stackPosition?: 'default' | 'popover' | 'tooltip';
}
type ConfirmMessage = string | TemplateRef<unknown>;
type ConfirmMessage = string | TemplateRef<unknown> | ComponentType<unknown>;
export type ConfirmAdditionalOptions<T = unknown> = Pick<ConfirmConfig<T>, 'data' | 'stackPosition'>;
export declare const MFC_CONFIRMATION_DATA: InjectionToken<unknown>;
export declare class MfcConfirmService {

@@ -26,6 +31,6 @@ private dialogService;

constructor(dialogService: MfcDialogService);
confirm(message: ConfirmMessage, header?: string, config?: ConfirmConfig): Observable<boolean>;
success(message: ConfirmMessage, header?: string): Observable<boolean>;
warn(message: ConfirmMessage, header?: string): Observable<boolean>;
delete(message: ConfirmMessage, header?: string): Observable<boolean>;
confirm<T>(message: ConfirmMessage, header?: string, config?: ConfirmConfig<T>): Observable<boolean>;
success<T>(message: ConfirmMessage, header?: string, options?: ConfirmAdditionalOptions<T>): Observable<boolean>;
warn<T>(message: ConfirmMessage, header?: string, options?: ConfirmAdditionalOptions<T>): Observable<boolean>;
delete<T>(message: ConfirmMessage, header?: string, options?: ConfirmAdditionalOptions<T>): Observable<boolean>;
private createDialog;

@@ -32,0 +37,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<MfcConfirmService, never>;

@@ -13,2 +13,3 @@ import { ComponentType } from '@angular/cdk/portal';

maxWidth?: string;
stackPosition?: 'default' | 'popover' | 'tooltip';
}

@@ -15,0 +16,0 @@ export declare const MFC_DIALOG_DATA: InjectionToken<unknown>;

{
"name": "@mosaic-finance/angular-core",
"version": "6.8.0",
"version": "6.9.0",
"license": "UNLICENSED",

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

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc