Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-popups

Package Overview
Dependencies
2
Maintainers
2
Versions
217
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 16.3.21 to 16.3.24

10

CHANGELOG.md

@@ -7,2 +7,10 @@ # Changelog

#### New Features
- Provided option to specify the type of the dialog's buttons such as submit, reset.
## 16.3.21 (2018-09-22)
### Dialog
#### Bug Fixes

@@ -12,2 +20,4 @@

- Provided `getButtons` method to access the instances of dialog buttons directly.
## 16.3.17 (2018-09-12)

@@ -14,0 +24,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 16.3.21
* version : 16.3.24
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"name": "@syncfusion/ej2-popups",
"version": "16.3.21",
"version": "16.3.24",
"description": "A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups.",

@@ -11,4 +11,4 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "~16.3.21",
"@syncfusion/ej2-buttons": "~16.3.21"
"@syncfusion/ej2-base": "~16.3.24",
"@syncfusion/ej2-buttons": "~16.3.24"
},

@@ -15,0 +15,0 @@ "devDependencies": {

import { Component, Property, Event, Collection, L10n, Browser, EmitType, Complex, compile, createElement } from '@syncfusion/ej2-base';import { addClass, removeClass, detach, attributes, prepend, setStyleAttribute } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, append } from '@syncfusion/ej2-base';import { EventHandler } from '@syncfusion/ej2-base';import { Draggable } from '@syncfusion/ej2-base';import { Popup, PositionData, getZindexPartial } from '../popup/popup';import { PositionDataModel } from '../popup/popup-model';import { Button, ButtonModel } from '@syncfusion/ej2-buttons';
import {DialogEffect,BeforeOpenEventArgs,BeforeCloseEventArgs} from "./dialog";
import {ButtonType,DialogEffect,BeforeOpenEventArgs,BeforeCloseEventArgs} from "./dialog";
import {ComponentModel} from '@syncfusion/ej2-base';

@@ -16,2 +16,9 @@

/**
* Specify the type of the button.
* Possible values are Button, Submit and Reset.
* @event
*/
type?: ButtonType | string;
/**
* Event triggers when `click` the dialog button.

@@ -18,0 +25,0 @@ * @event

@@ -6,2 +6,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base';

import { Button, ButtonModel } from '@syncfusion/ej2-buttons';
export declare type ButtonType = 'Button' | 'Submit' | 'Reset';
export declare class ButtonProps extends ChildProperty<ButtonProps> {

@@ -13,2 +14,8 @@ /**

/**
* Specify the type of the button.
* Possible values are Button, Submit and Reset.
* @event
*/
type: ButtonType | string;
/**
* Event triggers when `click` the dialog button.

@@ -15,0 +22,0 @@ * @event

@@ -34,2 +34,5 @@ var __extends = (this && this.__extends) || (function () {

__decorate([
Property('Button')
], ButtonProps.prototype, "type", void 0);
__decorate([
Property()

@@ -362,3 +365,4 @@ ], ButtonProps.prototype, "click", void 0);

for (var i = 0; i < this.buttons.length; i++) {
var btn = this.createElement('button', { attrs: { type: 'button' } });
var buttonType = !isNullOrUndefined(this.buttons[i].type) ? this.buttons[i].type.toLowerCase() : 'button';
var btn = this.createElement('button', { attrs: { type: buttonType } });
this.buttonContent.push(btn.outerHTML);

@@ -365,0 +369,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc