fix attributes in super call

This commit is contained in:
Hadi Nategh 2020-01-22 18:24:34 +01:00
parent aaa4c3ae9e
commit 313693a42c
9 changed files with 9 additions and 11 deletions

View File

@ -31,7 +31,6 @@ var et2_core_widget_1 = require("./et2_core_widget");
var et2_core_widget_2 = require("./et2_core_widget");
var et2_widget_button_1 = require("./et2_widget_button");
var et2_core_inheritance_1 = require("./et2_core_inheritance");
var et2_core_DOMWidget_1 = require("./et2_core_DOMWidget");
/**
* A common dialog widget that makes it easy to imform users or prompt for information.
*
@ -108,7 +107,7 @@ var et2_core_DOMWidget_1 = require("./et2_core_DOMWidget");
var et2_dialog = /** @class */ (function (_super) {
__extends(et2_dialog, _super);
function et2_dialog(_parent, _attrs, _child) {
var _this = _super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_core_DOMWidget_1.et2_DOMWidget._attributes, _child || {})) || this;
var _this = _super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_dialog._attributes, _child || {})) || this;
/**
* Details for dialog type options
*/

File diff suppressed because one or more lines are too long

View File

@ -264,7 +264,7 @@ class et2_dialog extends et2_widget {
template: any = null;
constructor(_parent?, _attrs? : WidgetConfig, _child? : object) {
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_DOMWidget._attributes, _child || {}));
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_dialog._attributes, _child || {}));
// Define this as null to avoid breaking any hierarchies (eg: destroy())
if (this.getParent() != null) this.getParent().removeChild(this);

View File

@ -42,7 +42,7 @@ var et2_hbox = /** @class */ (function (_super) {
* @memberOf et2_hbox
*/
function et2_hbox(_parent, _attrs, _child) {
var _this = _super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_core_baseWidget_1.et2_baseWidget._attributes, _child || {})) || this;
var _this = _super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_hbox._attributes, _child || {})) || this;
_this.createNamespace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,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;SAC/D;IACF,CAAC;IACF,eAAC;AAAD,CAAC,AArKD,CAAuB,oCAAc,GAqKpC;AACD,qCAAmB,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC"}

View File

@ -43,7 +43,7 @@ class et2_hbox extends et2_baseWidget
*/
constructor(_parent?, _attrs? : WidgetConfig, _child? : object)
{
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_baseWidget._attributes, _child || {}));
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_hbox._attributes, _child || {}));
this.leftDiv = null;
this.rightDiv = null;

View File

@ -31,7 +31,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
*/
var et2_core_baseWidget_1 = require("./et2_core_baseWidget");
var et2_core_inheritance_1 = require("./et2_core_inheritance");
var et2_core_DOMWidget_1 = require("./et2_core_DOMWidget");
/**
* This widget represents the HTML5 video tag with all its optional attributes
*
@ -62,7 +61,7 @@ var et2_core_DOMWidget_1 = require("./et2_core_DOMWidget");
var et2_video = /** @class */ (function (_super) {
__extends(et2_video, _super);
function et2_video(_parent, _attrs, _child) {
var _this = _super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_core_DOMWidget_1.et2_DOMWidget._attributes, _child || {})) || this;
var _this = _super.call(this, _parent, _attrs, et2_core_inheritance_1.ClassWithAttributes.extendAttributes(et2_video._attributes, _child || {})) || this;
_this.video = null;
//Create Video tag
_this.video = jQuery(document.createElement("video"));

View File

@ -1 +1 @@
{"version":3,"file":"et2_widget_video.js","sourceRoot":"","sources":["et2_widget_video.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAEH;;;;EAIE;AAEF,6DAAsD;AACtD,+DAA2D;AAC3D,2DAAmD;AAGnD;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH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,QAAQ,EAAE,IAAI,CAAC,CAAC;SACnC;IACL,CAAC;IArIe,qBAAW,GAAS;QAChC,WAAW,EAAE;YACT,MAAM,EAAE,OAAO;YACf,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,4BAA4B;SAC9C;QACD,UAAU,EAAE;YACR,MAAM,EAAE,aAAa;YACrB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,6CAA6C;SAC/D;QACD,OAAO,EAAE;YACL,MAAM,EAAE,eAAe;YACvB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,4DAA4D;SAC9E;QACD,UAAU,EAAE;YACR,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,4DAA4D;SAC9E;QACD,UAAU,EAAE;YACR,MAAM,EAAE,iBAAiB;YACzB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,mEAAmE;SACrF;QACD,QAAQ,EAAE;YACN,MAAM,EAAE,cAAc;YACtB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,EAAE;YACb,aAAa,EAAE,8EAA8E;SAChG;QACD,MAAM,EAAE;YACJ,MAAM,EAAE,YAAY;YACpB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,kDAAkD;SACpE;KACJ,CAAC;IA6FN,gBAAC;CAAA,AAxID,CAAyB,oCAAc,GAwItC"}

View File

@ -98,7 +98,7 @@ class et2_video extends et2_baseWidget implements et2_IDOMNode
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
{
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_DOMWidget._attributes, _child || {}));
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_video._attributes, _child || {}));
//Create Video tag
this.video = jQuery(document.createElement("video"));