dom-render 1.0.90 → 1.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +1 -1
- package/components/ComponentSet.d.ts +5 -2
- package/components/ComponentSet.js +2 -3
- package/configs/Config.d.ts +5 -0
- package/dist/bundle.js +587 -572
- package/operators/Dr.d.ts +7 -3
- package/operators/Dr.js +21 -23
- package/operators/DrAppender.d.ts +7 -3
- package/operators/DrAppender.js +28 -26
- package/operators/DrFor.d.ts +7 -3
- package/operators/DrFor.js +24 -23
- package/operators/DrForOf.d.ts +7 -3
- package/operators/DrForOf.js +27 -26
- package/operators/DrForm.d.ts +7 -3
- package/operators/DrForm.js +51 -54
- package/operators/DrIf.d.ts +7 -3
- package/operators/DrIf.js +29 -32
- package/operators/DrInnerHTML.d.ts +7 -3
- package/operators/DrInnerHTML.js +19 -21
- package/operators/DrInnerText.d.ts +7 -3
- package/operators/DrInnerText.js +17 -19
- package/operators/DrPre.d.ts +6 -3
- package/operators/DrPre.js +9 -6
- package/operators/DrRepeat.d.ts +7 -3
- package/operators/DrRepeat.js +24 -23
- package/operators/DrTargetAttr.d.ts +6 -3
- package/operators/DrTargetAttr.js +10 -8
- package/operators/DrTargetElement.d.ts +6 -3
- package/operators/DrTargetElement.js +10 -32
- package/operators/DrThis.d.ts +4 -3
- package/operators/DrThis.js +21 -27
- package/operators/OperatorExecuter.d.ts +48 -0
- package/operators/OperatorExecuter.js +43 -0
- package/operators/OperatorExecuterAttrRequire.d.ts +8 -0
- package/operators/OperatorExecuterAttrRequire.js +55 -0
- package/package.json +1 -1
- package/rawsets/RawSet.d.ts +1 -1
- package/rawsets/RawSet.js +31 -31
- package/operators/OperatorRender.d.ts +0 -45
- package/operators/OperatorRender.js +0 -21
@@ -0,0 +1,55 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.OperatorExecuterAttrRequire = void 0;
|
19
|
+
var OperatorExecuter_1 = require("./OperatorExecuter");
|
20
|
+
// export type OperatorAround = {
|
21
|
+
// beforeAttr?: (value: string, obj: any) => string,
|
22
|
+
// before?: (data: any, obj: any) => any,
|
23
|
+
// after?: (data: any, obj: any) => void,
|
24
|
+
// }
|
25
|
+
//
|
26
|
+
// export enum ExecuteState {
|
27
|
+
// EXECUTE,
|
28
|
+
// NO_EXECUTE,
|
29
|
+
// STOP
|
30
|
+
// }
|
31
|
+
//
|
32
|
+
// export type AfterCallBack = {
|
33
|
+
// onAttrInitCallBacks: AttrInitCallBack[],
|
34
|
+
// onElementInitCallBacks: ElementInitCallBack[],
|
35
|
+
// onThisComponentSetCallBacks: ComponentSet[]
|
36
|
+
// }
|
37
|
+
var OperatorExecuterAttrRequire = /** @class */ (function (_super) {
|
38
|
+
__extends(OperatorExecuterAttrRequire, _super);
|
39
|
+
function OperatorExecuterAttrRequire(rawSet, render, returnContainer, elementSource, source, afterCallBack, startingExecute) {
|
40
|
+
if (startingExecute === void 0) { startingExecute = true; }
|
41
|
+
return _super.call(this, rawSet, render, returnContainer, elementSource, source, afterCallBack, startingExecute) || this;
|
42
|
+
}
|
43
|
+
;
|
44
|
+
// executes(): ExecuteState {
|
45
|
+
// return ExecuteState.EXECUTE;
|
46
|
+
// }
|
47
|
+
OperatorExecuterAttrRequire.prototype.execute = function (data) {
|
48
|
+
if (!this.elementSource.attr) {
|
49
|
+
return OperatorExecuter_1.ExecuteState.NO_EXECUTE;
|
50
|
+
}
|
51
|
+
return this.executeAttrRequire(data);
|
52
|
+
};
|
53
|
+
return OperatorExecuterAttrRequire;
|
54
|
+
}(OperatorExecuter_1.OperatorExecuter));
|
55
|
+
exports.OperatorExecuterAttrRequire = OperatorExecuterAttrRequire;
|
package/package.json
CHANGED
package/rawsets/RawSet.d.ts
CHANGED
@@ -48,7 +48,7 @@ export declare class RawSet {
|
|
48
48
|
static readonly DR_ON_CONSTRUCTOR_ARGUMENTS_OPTIONNAME = "dr-on-constructor:arguments";
|
49
49
|
static readonly drAttrsOriginName: Attrs;
|
50
50
|
static readonly DR_TAGS: never[];
|
51
|
-
static readonly DR_ATTRIBUTES:
|
51
|
+
static readonly DR_ATTRIBUTES: readonly ["dr", "dr-appender", "dr-if", "dr-for-of", "dr-for", "dr-this", "dr-form", "dr-pre", "dr-inner-html", "dr-inner-text", "dr-repeat", "dr-detect"];
|
52
52
|
constructor(uuid: string, type: RawSetType, point: {
|
53
53
|
start: Comment | Text | HTMLMetaElement;
|
54
54
|
node: Node;
|
package/rawsets/RawSet.js
CHANGED
@@ -31,7 +31,7 @@ var DomUtils_1 = require("../utils/dom/DomUtils");
|
|
31
31
|
var DrPre_1 = require("../operators/DrPre");
|
32
32
|
var Dr_1 = require("../operators/Dr");
|
33
33
|
var DrIf_1 = require("../operators/DrIf");
|
34
|
-
var
|
34
|
+
var OperatorExecuter_1 = require("../operators/OperatorExecuter");
|
35
35
|
var DrThis_1 = require("../operators/DrThis");
|
36
36
|
var DrForm_1 = require("../operators/DrForm");
|
37
37
|
var DrInnerText_1 = require("../operators/DrInnerText");
|
@@ -110,15 +110,15 @@ var RawSet = /** @class */ (function () {
|
|
110
110
|
// 중요 render 처리 부분
|
111
111
|
RawSet.prototype.render = function (obj, config) {
|
112
112
|
var _this = this;
|
113
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
113
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
114
114
|
var genNode = config.window.document.importNode(this.fragment, true);
|
115
115
|
var raws = [];
|
116
116
|
var onAttrInitCallBacks = [];
|
117
117
|
var onElementInitCallBacks = [];
|
118
118
|
var onThisComponentSetCallBacks = [];
|
119
119
|
var drAttrs = [];
|
120
|
-
for (var _i = 0,
|
121
|
-
var cNode =
|
120
|
+
for (var _i = 0, _y = Array.from(genNode.childNodes.values()); _i < _y.length; _i++) {
|
121
|
+
var cNode = _y[_i];
|
122
122
|
var attribute = {};
|
123
123
|
if (cNode.nodeType === Node.ELEMENT_NODE) {
|
124
124
|
attribute = DomUtils_1.DomUtils.getAttributeToObject(cNode);
|
@@ -184,27 +184,27 @@ var RawSet = /** @class */ (function () {
|
|
184
184
|
};
|
185
185
|
drAttrs.push(drAttr);
|
186
186
|
var operators = [
|
187
|
-
new DrPre_1.DrPre(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
188
|
-
new Dr_1.Dr(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
189
|
-
new DrIf_1.DrIf(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
190
|
-
new DrThis_1.DrThis(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
191
|
-
new DrForm_1.DrForm(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
192
|
-
new DrInnerText_1.DrInnerText(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
193
|
-
new DrInnerHTML_1.DrInnerHTML(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
194
|
-
new DrFor_1.DrFor(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
195
|
-
new DrForOf_1.DrForOf(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
196
|
-
new DrAppender_1.DrAppender(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
197
|
-
new DrRepeat_1.DrRepeat(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
187
|
+
new DrPre_1.DrPre(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drPre, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_b = config.operatorAround) === null || _b === void 0 ? void 0 : _b.drPre }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
188
|
+
new Dr_1.Dr(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.dr, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_c = config.operatorAround) === null || _c === void 0 ? void 0 : _c.dr }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
189
|
+
new DrIf_1.DrIf(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drIf, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_d = config.operatorAround) === null || _d === void 0 ? void 0 : _d.drIf }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
190
|
+
new DrThis_1.DrThis(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drThis, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_e = config.operatorAround) === null || _e === void 0 ? void 0 : _e.drThis }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
191
|
+
new DrForm_1.DrForm(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drForm, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_f = config.operatorAround) === null || _f === void 0 ? void 0 : _f.drForm }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
192
|
+
new DrInnerText_1.DrInnerText(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drInnerText, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_g = config.operatorAround) === null || _g === void 0 ? void 0 : _g.drInnerText }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
193
|
+
new DrInnerHTML_1.DrInnerHTML(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drInnerHTML, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_h = config.operatorAround) === null || _h === void 0 ? void 0 : _h.drInnerHTML }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
194
|
+
new DrFor_1.DrFor(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drFor, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_j = config.operatorAround) === null || _j === void 0 ? void 0 : _j.drFor }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
195
|
+
new DrForOf_1.DrForOf(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drForOf, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_k = config.operatorAround) === null || _k === void 0 ? void 0 : _k.drForOf }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
196
|
+
new DrAppender_1.DrAppender(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drAppender, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_l = config.operatorAround) === null || _l === void 0 ? void 0 : _l.drAppender }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
197
|
+
new DrRepeat_1.DrRepeat(this, __render, { raws: raws, fag: fag }, { element: element, attr: drAttr.drRepeat, attrs: drAttr }, { config: config, obj: obj, operatorAround: (_m = config.operatorAround) === null || _m === void 0 ? void 0 : _m.drRepeat }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
198
198
|
new DrTargetElement_1.DrTargetElement(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks }),
|
199
199
|
new DrTargetAttr_1.DrTargetAttr(this, __render, { raws: raws, fag: fag }, { element: element, attrs: drAttr }, { config: config, obj: obj }, { onAttrInitCallBacks: onAttrInitCallBacks, onElementInitCallBacks: onElementInitCallBacks, onThisComponentSetCallBacks: onThisComponentSetCallBacks })
|
200
200
|
];
|
201
|
-
for (var
|
202
|
-
var operator = operators_1[
|
203
|
-
var state = operator.
|
204
|
-
if (state ===
|
201
|
+
for (var _z = 0, operators_1 = operators; _z < operators_1.length; _z++) {
|
202
|
+
var operator = operators_1[_z];
|
203
|
+
var state = operator.start();
|
204
|
+
if (state === OperatorExecuter_1.ExecuteState.EXECUTE) {
|
205
205
|
break;
|
206
206
|
}
|
207
|
-
else if (state ===
|
207
|
+
else if (state === OperatorExecuter_1.ExecuteState.STOP) {
|
208
208
|
return raws;
|
209
209
|
}
|
210
210
|
}
|
@@ -225,13 +225,13 @@ var RawSet = /** @class */ (function () {
|
|
225
225
|
});
|
226
226
|
// 중요 style isolation 나중에 :scope로 대체 가능할듯.
|
227
227
|
RawSet.generateStyleSheetsLocal();
|
228
|
-
for (var
|
229
|
-
var it_1 = onThisComponentSetCallBacks_1[
|
230
|
-
(
|
228
|
+
for (var _0 = 0, onThisComponentSetCallBacks_1 = onThisComponentSetCallBacks; _0 < onThisComponentSetCallBacks_1.length; _0++) {
|
229
|
+
var it_1 = onThisComponentSetCallBacks_1[_0];
|
230
|
+
(_p = (_o = it_1.obj) === null || _o === void 0 ? void 0 : _o.onInitRender) === null || _p === void 0 ? void 0 : _p.call(_o);
|
231
231
|
}
|
232
|
-
for (var
|
233
|
-
var it_2 = onElementInitCallBacks_1[
|
234
|
-
if (((
|
232
|
+
for (var _1 = 0, onElementInitCallBacks_1 = onElementInitCallBacks; _1 < onElementInitCallBacks_1.length; _1++) {
|
233
|
+
var it_2 = onElementInitCallBacks_1[_1];
|
234
|
+
if (((_r = (_q = it_2.targetElement) === null || _q === void 0 ? void 0 : _q.__render) === null || _r === void 0 ? void 0 : _r.element) && ((_t = (_s = it_2.targetElement) === null || _s === void 0 ? void 0 : _s.__render) === null || _t === void 0 ? void 0 : _t.component)) {
|
235
235
|
var oninit = it_2.targetElement.__render.element.getAttribute(RawSet.DR_ON_INIT_ARGUMENTS_OPTIONNAME); // dr-on-component-init
|
236
236
|
var param = [];
|
237
237
|
if (oninit) {
|
@@ -243,14 +243,14 @@ var RawSet = /** @class */ (function () {
|
|
243
243
|
param = [param];
|
244
244
|
}
|
245
245
|
}
|
246
|
-
(
|
246
|
+
(_v = (_u = it_2.targetElement.__render.component).onInitRender) === null || _v === void 0 ? void 0 : _v.call.apply(_v, __spreadArray([_u], param, false));
|
247
247
|
}
|
248
|
-
(
|
248
|
+
(_w = config === null || config === void 0 ? void 0 : config.onElementInit) === null || _w === void 0 ? void 0 : _w.call(config, it_2.name, obj, this, it_2.targetElement);
|
249
249
|
}
|
250
250
|
// TODO: 이부분도 위에 targetElement 처럼 해야될까?
|
251
|
-
for (var
|
252
|
-
var it_3 = onAttrInitCallBacks_1[
|
253
|
-
(
|
251
|
+
for (var _2 = 0, onAttrInitCallBacks_1 = onAttrInitCallBacks; _2 < onAttrInitCallBacks_1.length; _2++) {
|
252
|
+
var it_3 = onAttrInitCallBacks_1[_2];
|
253
|
+
(_x = config === null || config === void 0 ? void 0 : config.onAttrInit) === null || _x === void 0 ? void 0 : _x.call(config, it_3.attrName, it_3.attrValue, obj, this);
|
254
254
|
}
|
255
255
|
// component destroy
|
256
256
|
if (obj.__domrender_components) {
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { RawSet } from '../rawsets/RawSet';
|
2
|
-
import { ComponentSet } from '../components/ComponentSet';
|
3
|
-
import { Config } from '../configs/Config';
|
4
|
-
import { Attrs } from '../rawsets/Attrs';
|
5
|
-
import { AttrInitCallBack } from '../rawsets/AttrInitCallBack';
|
6
|
-
import { ElementInitCallBack } from '../rawsets/ElementInitCallBack';
|
7
|
-
import { Render } from '../rawsets/Render';
|
8
|
-
export declare enum ExecuteState {
|
9
|
-
EXECUTE = 0,
|
10
|
-
NO_EXECUTE = 1,
|
11
|
-
STOP = 2
|
12
|
-
}
|
13
|
-
export declare type AfterCallBack = {
|
14
|
-
onAttrInitCallBacks: AttrInitCallBack[];
|
15
|
-
onElementInitCallBacks: ElementInitCallBack[];
|
16
|
-
onThisComponentSetCallBacks: ComponentSet[];
|
17
|
-
};
|
18
|
-
export declare abstract class OperatorRender {
|
19
|
-
rawSet: RawSet;
|
20
|
-
render: Render;
|
21
|
-
returnContainer: {
|
22
|
-
raws: RawSet[];
|
23
|
-
fag: DocumentFragment;
|
24
|
-
};
|
25
|
-
elementSource: {
|
26
|
-
element: Element;
|
27
|
-
attrs: Attrs;
|
28
|
-
};
|
29
|
-
source: {
|
30
|
-
config: Config;
|
31
|
-
obj: any;
|
32
|
-
};
|
33
|
-
afterCallBack: AfterCallBack;
|
34
|
-
constructor(rawSet: RawSet, render: Render, returnContainer: {
|
35
|
-
raws: RawSet[];
|
36
|
-
fag: DocumentFragment;
|
37
|
-
}, elementSource: {
|
38
|
-
element: Element;
|
39
|
-
attrs: Attrs;
|
40
|
-
}, source: {
|
41
|
-
config: Config;
|
42
|
-
obj: any;
|
43
|
-
}, afterCallBack: AfterCallBack);
|
44
|
-
abstract execRender(): ExecuteState;
|
45
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OperatorRender = exports.ExecuteState = void 0;
|
4
|
-
var ExecuteState;
|
5
|
-
(function (ExecuteState) {
|
6
|
-
ExecuteState[ExecuteState["EXECUTE"] = 0] = "EXECUTE";
|
7
|
-
ExecuteState[ExecuteState["NO_EXECUTE"] = 1] = "NO_EXECUTE";
|
8
|
-
ExecuteState[ExecuteState["STOP"] = 2] = "STOP";
|
9
|
-
})(ExecuteState = exports.ExecuteState || (exports.ExecuteState = {}));
|
10
|
-
var OperatorRender = /** @class */ (function () {
|
11
|
-
function OperatorRender(rawSet, render, returnContainer, elementSource, source, afterCallBack) {
|
12
|
-
this.rawSet = rawSet;
|
13
|
-
this.render = render;
|
14
|
-
this.returnContainer = returnContainer;
|
15
|
-
this.elementSource = elementSource;
|
16
|
-
this.source = source;
|
17
|
-
this.afterCallBack = afterCallBack;
|
18
|
-
}
|
19
|
-
return OperatorRender;
|
20
|
-
}());
|
21
|
-
exports.OperatorRender = OperatorRender;
|