New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-react-popups

Package Overview
Dependencies
Maintainers
2
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-react-popups - npm Package Compare versions

Comparing version 15.4.27 to 16.1.24

src/dialog/buttons-directive.d.ts

4

dist/ej2-react-popups.umd.min.js
/*!
* filename: ej2-react-popups.umd.min.js
* version : 15.4.27
* version : 16.1.24
* Copyright Syncfusion Inc. 2001 - 2017. All rights reserved.

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-popups"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-popups","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Popups,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var o=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return t.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Dialog);r.applyMixins(i,[r.ComponentBase,t.PureComponent]);var s=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return s(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return t.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Popup);r.applyMixins(p,[r.ComponentBase,t.PureComponent]);var c=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return c(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return t.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Tooltip);r.applyMixins(u,[r.ComponentBase,t.PureComponent]),e.DialogComponent=i,e.PopupComponent=p,e.TooltipComponent=u,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-popups")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-popups"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Popups)}(this,function(t,e,n,o){"use strict";var r=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="dialogButton",e}(e.ComplexBase),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="buttons",e.moduleName="buttons",e}(e.ComplexBase),u=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={buttons:"dialogButton"},n.state=e,n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Dialog);e.applyMixins(s,[e.ComponentBase,n.PureComponent]);var c=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Popup);e.applyMixins(a,[e.ComponentBase,n.PureComponent]);var l=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return l(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Tooltip);e.applyMixins(f,[e.ComponentBase,n.PureComponent]),t.DialogButtonDirective=i,t.ButtonsDirective=p,t.DialogComponent=s,t.PopupComponent=a,t.TooltipComponent=f,Object.keys(o).forEach(function(e){t[e]=o[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-popups.umd.min.js.map

@@ -0,6 +1,26 @@

import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
import { PureComponent, createElement } from 'react';
import { Dialog, Popup, Tooltip } from '@syncfusion/ej2-popups';
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
/**
* `ButtonDirective` represent a button of the react dialog.
* It must be contained in a Dialog component(`DialogComponent`).
* ```tsx
* <DialogComponent showCloseIcon={true}>
* <ButtonsDirective>
* <ButtonDirective content='Ok' isPrimary=true></ButtonDirective>
* <ButtonDirective content='Cancel'></ButtonDirective>
* <ButtonsDirective>
* </DialogComponent>
* ```
*/
class DialogButtonDirective extends ComplexBase {
}
DialogButtonDirective.moduleName = 'dialogButton';
class ButtonsDirective extends ComplexBase {
}
ButtonsDirective.propertyName = 'buttons';
ButtonsDirective.moduleName = 'buttons';
/**
* Represents the React Dialog Component

@@ -16,2 +36,3 @@ * ```html

this.checkInjectedModules = false;
this.directivekeys = { 'buttons': 'dialogButton' };
this.state = props;

@@ -75,4 +96,4 @@ }

export { DialogComponent, PopupComponent, TooltipComponent };
export { DialogButtonDirective, ButtonsDirective, DialogComponent, PopupComponent, TooltipComponent };
export * from '@syncfusion/ej2-popups';
//# sourceMappingURL=ej2-react-popups.es2015.js.map
{
"name": "@syncfusion/ej2-react-popups",
"version": "15.4.27",
"version": "16.1.24",
"description": "Essential JS 2 popup Component for React",

@@ -17,3 +17,3 @@ "author": "Syncfusion Inc.",

"main": "./dist/ej2-react-popups.umd.min.js",
"module": "dist/es6/ej2-react-popups.es5.js",
"module": "dist/es6/ej2-react-popups.es2015.js",
"readme": "ReadMe.md",

@@ -23,5 +23,5 @@ "dependencies": {

"source-map-loader": "^0.2.1",
"@syncfusion/ej2-base": "^15.4.23",
"@syncfusion/ej2-react-base": "^15.4.23",
"@syncfusion/ej2-popups": "^15.4.27"
"@syncfusion/ej2-base": "^16.1.24",
"@syncfusion/ej2-react-base": "^16.1.24",
"@syncfusion/ej2-popups": "^16.1.24"
},

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

@@ -19,2 +19,5 @@ /// <reference types="react" />

private checkInjectedModules;
directivekeys: {
[key: string]: Object;
};
props: Readonly<{

@@ -21,0 +24,0 @@ children?: React.ReactNode | React.ReactNode[];

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

_this.checkInjectedModules = false;
_this.directivekeys = { 'buttons': 'dialogButton' };
_this.state = props;

@@ -22,0 +23,0 @@ return _this;

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

export * from './buttons-directive';
export * from './dialog.component';

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

define(["require", "exports", "./dialog.component"], function (require, exports, dialog_component_1) {
define(["require", "exports", "./buttons-directive", "./dialog.component"], function (require, exports, buttons_directive_1, dialog_component_1) {
"use strict";

@@ -7,3 +7,4 @@ function __export(m) {

Object.defineProperty(exports, "__esModule", { value: true });
__export(buttons_directive_1);
__export(dialog_component_1);
});

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

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

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