@dooboostore/dom-render 1.0.98
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/DomRender.d.ts +24 -0
- package/DomRender.js +115 -0
- package/DomRenderProxy.d.ts +38 -0
- package/DomRenderProxy.js +586 -0
- package/README.MD +938 -0
- package/components/ComponentBase.d.ts +41 -0
- package/components/ComponentBase.js +210 -0
- package/components/ComponentSet.d.ts +22 -0
- package/components/ComponentSet.js +23 -0
- package/components/appender/Appender.d.ts +23 -0
- package/components/appender/Appender.js +59 -0
- package/components/checkbox/CheckBox.d.ts +47 -0
- package/components/checkbox/CheckBox.js +118 -0
- package/components/choose/Choose.d.ts +39 -0
- package/components/choose/Choose.js +110 -0
- package/components/details/Details.d.ts +57 -0
- package/components/details/Details.js +199 -0
- package/components/dialog/Dialog.d.ts +1 -0
- package/components/dialog/Dialog.js +85 -0
- package/components/dialog/example/ImageEditorDialog.d.ts +1 -0
- package/components/dialog/example/ImageEditorDialog.js +116 -0
- package/components/forOf/ForOf.d.ts +18 -0
- package/components/forOf/ForOf.js +32 -0
- package/components/if/If.d.ts +21 -0
- package/components/if/If.js +40 -0
- package/components/index.d.ts +27 -0
- package/components/index.js +13 -0
- package/components/input/Input.d.ts +34 -0
- package/components/input/Input.js +86 -0
- package/components/promise/PromiseSwitch.d.ts +55 -0
- package/components/promise/PromiseSwitch.js +181 -0
- package/components/radio/Radio.d.ts +45 -0
- package/components/radio/Radio.js +123 -0
- package/components/select/Select.d.ts +23 -0
- package/components/select/Select.js +52 -0
- package/components/this/This.d.ts +24 -0
- package/components/this/This.js +62 -0
- package/components/timer/Timer.d.ts +26 -0
- package/components/timer/Timer.js +102 -0
- package/configs/Config.d.ts +34 -0
- package/configs/Config.js +2 -0
- package/configs/TargetAttr.d.ts +7 -0
- package/configs/TargetAttr.js +2 -0
- package/configs/TargetElement.d.ts +16 -0
- package/configs/TargetElement.js +2 -0
- package/css/parse/index.d.ts +49 -0
- package/css/parse/index.js +498 -0
- package/css/stringify/compiler.d.ts +34 -0
- package/css/stringify/compiler.js +36 -0
- package/css/stringify/compress.d.ts +104 -0
- package/css/stringify/compress.js +147 -0
- package/css/stringify/identity.d.ts +109 -0
- package/css/stringify/identity.js +183 -0
- package/css/stringify/index.d.ts +24 -0
- package/css/stringify/index.js +27 -0
- package/css/stringify/types.d.ts +15 -0
- package/css/stringify/types.js +2 -0
- package/css/types.d.ts +10 -0
- package/css/types.js +2 -0
- package/decorators/DomRenderNoProxy.d.ts +4 -0
- package/decorators/DomRenderNoProxy.js +15 -0
- package/events/EventManager.d.ts +68 -0
- package/events/EventManager.js +477 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/iterators/Range.d.ts +24 -0
- package/iterators/Range.js +70 -0
- package/lifecycle/OnBeforeReturnGet.d.ts +4 -0
- package/lifecycle/OnBeforeReturnGet.js +2 -0
- package/lifecycle/OnBeforeReturnSet.d.ts +5 -0
- package/lifecycle/OnBeforeReturnSet.js +4 -0
- package/lifecycle/OnChangeAttrRender.d.ts +9 -0
- package/lifecycle/OnChangeAttrRender.js +4 -0
- package/lifecycle/OnChildRenderedByProperty.d.ts +5 -0
- package/lifecycle/OnChildRenderedByProperty.js +4 -0
- package/lifecycle/OnCreateRender.d.ts +5 -0
- package/lifecycle/OnCreateRender.js +4 -0
- package/lifecycle/OnCreateRenderData.d.ts +10 -0
- package/lifecycle/OnCreateRenderData.js +4 -0
- package/lifecycle/OnCreateRendered.d.ts +8 -0
- package/lifecycle/OnCreateRendered.js +4 -0
- package/lifecycle/OnCreatedThisChild.d.ts +6 -0
- package/lifecycle/OnCreatedThisChild.js +4 -0
- package/lifecycle/OnDestroyRender.d.ts +9 -0
- package/lifecycle/OnDestroyRender.js +4 -0
- package/lifecycle/OnInitRender.d.ts +6 -0
- package/lifecycle/OnInitRender.js +4 -0
- package/lifecycle/OnProxyDomRender.d.ts +5 -0
- package/lifecycle/OnProxyDomRender.js +2 -0
- package/lifecycle/dr-this/OnDrThisBind.d.ts +5 -0
- package/lifecycle/dr-this/OnDrThisBind.js +4 -0
- package/lifecycle/dr-this/OnDrThisUnBind.d.ts +5 -0
- package/lifecycle/dr-this/OnDrThisUnBind.js +4 -0
- package/managers/RenderManager.d.ts +2 -0
- package/managers/RenderManager.js +12 -0
- package/messenger/DefaultMessenger.d.ts +4 -0
- package/messenger/DefaultMessenger.js +4 -0
- package/messenger/Messenger.d.ts +79 -0
- package/messenger/Messenger.js +185 -0
- package/operators/Appender.d.ts +15 -0
- package/operators/Appender.js +90 -0
- package/operators/Dr.d.ts +9 -0
- package/operators/Dr.js +53 -0
- package/operators/DrAppender.d.ts +9 -0
- package/operators/DrAppender.js +69 -0
- package/operators/DrFor.d.ts +9 -0
- package/operators/DrFor.js +58 -0
- package/operators/DrForOf.d.ts +9 -0
- package/operators/DrForOf.js +120 -0
- package/operators/DrForm.d.ts +9 -0
- package/operators/DrForm.js +79 -0
- package/operators/DrIf.d.ts +9 -0
- package/operators/DrIf.js +70 -0
- package/operators/DrInnerHTML.d.ts +9 -0
- package/operators/DrInnerHTML.js +48 -0
- package/operators/DrInnerText.d.ts +9 -0
- package/operators/DrInnerText.js +46 -0
- package/operators/DrPre.d.ts +8 -0
- package/operators/DrPre.js +22 -0
- package/operators/DrRepeat.d.ts +9 -0
- package/operators/DrRepeat.js +70 -0
- package/operators/DrStripElement.d.ts +9 -0
- package/operators/DrStripElement.js +50 -0
- package/operators/DrTargetAttr.d.ts +8 -0
- package/operators/DrTargetAttr.js +45 -0
- package/operators/DrTargetElement.d.ts +13 -0
- package/operators/DrTargetElement.js +91 -0
- package/operators/DrTargetElementIsElement.d.ts +13 -0
- package/operators/DrTargetElementIsElement.js +79 -0
- package/operators/DrThis.d.ts +7 -0
- package/operators/DrThis.js +72 -0
- package/operators/DrThisProperty.d.ts +11 -0
- package/operators/DrThisProperty.js +93 -0
- package/operators/OperatorExecuter.d.ts +50 -0
- package/operators/OperatorExecuter.js +50 -0
- package/operators/OperatorExecuterAttrRequire.d.ts +9 -0
- package/operators/OperatorExecuterAttrRequire.js +25 -0
- package/package.json +70 -0
- package/rawsets/AttrInitCallBack.d.ts +6 -0
- package/rawsets/AttrInitCallBack.js +2 -0
- package/rawsets/Attrs.d.ts +27 -0
- package/rawsets/Attrs.js +2 -0
- package/rawsets/CreatorMetaData.d.ts +20 -0
- package/rawsets/CreatorMetaData.js +2 -0
- package/rawsets/DestroyOptionType.d.ts +5 -0
- package/rawsets/DestroyOptionType.js +6 -0
- package/rawsets/ElementInitCallBack.d.ts +9 -0
- package/rawsets/ElementInitCallBack.js +2 -0
- package/rawsets/RawSet.d.ts +180 -0
- package/rawsets/RawSet.js +1450 -0
- package/rawsets/RawSetOperatorType.d.ts +4 -0
- package/rawsets/RawSetOperatorType.js +5 -0
- package/rawsets/RawSetType.d.ts +8 -0
- package/rawsets/RawSetType.js +9 -0
- package/rawsets/Render.d.ts +27 -0
- package/rawsets/Render.js +2 -0
- package/routers/HashRouter.d.ts +24 -0
- package/routers/HashRouter.js +86 -0
- package/routers/PathRouter.d.ts +23 -0
- package/routers/PathRouter.js +73 -0
- package/routers/Router.d.ts +68 -0
- package/routers/Router.js +132 -0
- package/types/Types.d.ts +12 -0
- package/types/Types.js +26 -0
- package/validators/AllCheckedValidatorArray.d.ts +7 -0
- package/validators/AllCheckedValidatorArray.js +11 -0
- package/validators/AllUnCheckedValidatorArray.d.ts +7 -0
- package/validators/AllUnCheckedValidatorArray.js +11 -0
- package/validators/CheckedValidator.d.ts +6 -0
- package/validators/CheckedValidator.js +11 -0
- package/validators/CountEqualsCheckedValidatorArray.d.ts +8 -0
- package/validators/CountEqualsCheckedValidatorArray.js +12 -0
- package/validators/CountEqualsUnCheckedValidatorArray.d.ts +8 -0
- package/validators/CountEqualsUnCheckedValidatorArray.js +12 -0
- package/validators/CountGreaterThanCheckedValidatorArray.d.ts +8 -0
- package/validators/CountGreaterThanCheckedValidatorArray.js +12 -0
- package/validators/CountGreaterThanEqualsCheckedValidatorArray.d.ts +8 -0
- package/validators/CountGreaterThanEqualsCheckedValidatorArray.js +12 -0
- package/validators/CountGreaterThanEqualsUnCheckedValidatorArray.d.ts +8 -0
- package/validators/CountGreaterThanEqualsUnCheckedValidatorArray.js +12 -0
- package/validators/CountGreaterThanUnCheckedValidatorArray.d.ts +8 -0
- package/validators/CountGreaterThanUnCheckedValidatorArray.js +12 -0
- package/validators/CountLessThanCheckedValidatorArray.d.ts +8 -0
- package/validators/CountLessThanCheckedValidatorArray.js +12 -0
- package/validators/CountLessThanEqualsCheckedValidatorArray.d.ts +8 -0
- package/validators/CountLessThanEqualsCheckedValidatorArray.js +12 -0
- package/validators/CountLessThanEqualsUnCheckedValidatorArray.d.ts +8 -0
- package/validators/CountLessThanEqualsUnCheckedValidatorArray.js +12 -0
- package/validators/CountLessThanUnCheckedValidatorArray.d.ts +8 -0
- package/validators/CountLessThanUnCheckedValidatorArray.js +12 -0
- package/validators/CountUnCheckedValidatorArray.d.ts +8 -0
- package/validators/CountUnCheckedValidatorArray.js +12 -0
- package/validators/EmptyValidator.d.ts +6 -0
- package/validators/EmptyValidator.js +12 -0
- package/validators/ExcludeCheckedValidatorArray.d.ts +9 -0
- package/validators/ExcludeCheckedValidatorArray.js +17 -0
- package/validators/FormValidator.d.ts +8 -0
- package/validators/FormValidator.js +16 -0
- package/validators/IncludeCheckedValidatorArray.d.ts +9 -0
- package/validators/IncludeCheckedValidatorArray.js +17 -0
- package/validators/MultipleValidator.d.ts +9 -0
- package/validators/MultipleValidator.js +25 -0
- package/validators/NonPassValidator.d.ts +6 -0
- package/validators/NonPassValidator.js +10 -0
- package/validators/NotEmptyValidator.d.ts +6 -0
- package/validators/NotEmptyValidator.js +13 -0
- package/validators/NotRegExpTestValidator.d.ts +7 -0
- package/validators/NotRegExpTestValidator.js +20 -0
- package/validators/PassValidator.d.ts +6 -0
- package/validators/PassValidator.js +10 -0
- package/validators/RegExpTestValidator.d.ts +7 -0
- package/validators/RegExpTestValidator.js +21 -0
- package/validators/RequiredValidator.d.ts +6 -0
- package/validators/RequiredValidator.js +12 -0
- package/validators/UnCheckedValidator.d.ts +6 -0
- package/validators/UnCheckedValidator.js +11 -0
- package/validators/ValidMultipleValidator.d.ts +10 -0
- package/validators/ValidMultipleValidator.js +12 -0
- package/validators/ValidValidator.d.ts +7 -0
- package/validators/ValidValidator.js +11 -0
- package/validators/ValidValidatorArray.d.ts +8 -0
- package/validators/ValidValidatorArray.js +11 -0
- package/validators/Validator.d.ts +58 -0
- package/validators/Validator.js +203 -0
- package/validators/ValidatorArray.d.ts +18 -0
- package/validators/ValidatorArray.js +77 -0
- package/validators/ValueEqualsValidator.d.ts +7 -0
- package/validators/ValueEqualsValidator.js +11 -0
- package/validators/ValueNotEqualsValidator.d.ts +7 -0
- package/validators/ValueNotEqualsValidator.js +11 -0
package/DomRender.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Config } from './configs/Config';
|
|
2
|
+
import { ConstructorType } from '@dooboostore/core/types';
|
|
3
|
+
import { RawSet } from './rawsets/RawSet';
|
|
4
|
+
import { Router } from './routers/Router';
|
|
5
|
+
export type RunConfig<T = any> = Omit<Config<T>, 'router'> & {
|
|
6
|
+
routerType?: 'path' | 'hash' | ((obj: T, window: Window) => Router) | Router;
|
|
7
|
+
};
|
|
8
|
+
export type CreateComponentParam = {
|
|
9
|
+
type: ConstructorType<any> | any;
|
|
10
|
+
tagName?: string;
|
|
11
|
+
noStrip?: boolean;
|
|
12
|
+
template?: string;
|
|
13
|
+
styles?: string[] | string;
|
|
14
|
+
};
|
|
15
|
+
export declare class DomRender {
|
|
16
|
+
static run<T extends object>({ rootObject, target, config }: {
|
|
17
|
+
rootObject: T | (() => T);
|
|
18
|
+
target?: Element | null;
|
|
19
|
+
config?: RunConfig;
|
|
20
|
+
}): T;
|
|
21
|
+
static createComponent(param: CreateComponentParam): import("./configs/TargetElement").TargetElement;
|
|
22
|
+
static createAttribute(attrName: string, getThisObj: (element: Element, attrValue: string, obj: any, rawSet: RawSet) => any, factory: (element: Element, attrValue: string, obj: any, rawSet: RawSet) => DocumentFragment): import("./configs/TargetAttr").TargetAttr;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=DomRender.d.ts.map
|
package/DomRender.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { DomRenderProxy } from './DomRenderProxy';
|
|
2
|
+
import { PathRouter } from './routers/PathRouter';
|
|
3
|
+
import { HashRouter } from './routers/HashRouter';
|
|
4
|
+
import { DomRenderFinalProxy } from './types/Types';
|
|
5
|
+
import { RawSet } from './rawsets/RawSet';
|
|
6
|
+
import { DefaultMessenger } from './messenger/DefaultMessenger';
|
|
7
|
+
import { drComponent } from './components';
|
|
8
|
+
export class DomRender {
|
|
9
|
+
static run({ rootObject, target, config }) {
|
|
10
|
+
var _a, _b, _c;
|
|
11
|
+
rootObject = typeof rootObject === 'function' ? rootObject() : rootObject;
|
|
12
|
+
const targetConfig = Object.assign({}, config);
|
|
13
|
+
let targetObject = rootObject;
|
|
14
|
+
if ('_DomRender_isProxy' in rootObject) {
|
|
15
|
+
if (target) {
|
|
16
|
+
rootObject._DomRender_proxy.initRender(target);
|
|
17
|
+
}
|
|
18
|
+
targetObject = rootObject;
|
|
19
|
+
return targetObject; // { rootObject: targetObject, target, config: targetConfig };
|
|
20
|
+
}
|
|
21
|
+
// const domRenderConfig = Object.assign()
|
|
22
|
+
// if (config && !config.window) {
|
|
23
|
+
// config.window = window;
|
|
24
|
+
// }
|
|
25
|
+
// config.routerType = config.routerType || 'none';
|
|
26
|
+
targetConfig.messenger = DomRenderFinalProxy.final((_a = targetConfig.messenger) !== null && _a !== void 0 ? _a : new DefaultMessenger(targetConfig));
|
|
27
|
+
targetConfig.proxyExcludeTyps = (_b = targetConfig.proxyExcludeTyps) !== null && _b !== void 0 ? _b : [];
|
|
28
|
+
(_c = targetConfig.targetElements) !== null && _c !== void 0 ? _c : (targetConfig.targetElements = []);
|
|
29
|
+
for (const value of Object.values(drComponent)) {
|
|
30
|
+
const a = value(config);
|
|
31
|
+
if (!targetConfig.targetElements.find(it => it.name === a.name)) {
|
|
32
|
+
targetConfig.targetElements.push(a);
|
|
33
|
+
}
|
|
34
|
+
// if (targetConfig.targetElements.indexOf(value) === -1) {
|
|
35
|
+
// }
|
|
36
|
+
}
|
|
37
|
+
// console.log('----------', targetConfig.proxyExcludeTyps)
|
|
38
|
+
// console.log('----------', targetConfig.targetElements)
|
|
39
|
+
if (typeof Window !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(Window) === -1) {
|
|
40
|
+
targetConfig.proxyExcludeTyps.push(Window);
|
|
41
|
+
}
|
|
42
|
+
if (typeof Map !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(Map) === -1) {
|
|
43
|
+
targetConfig.proxyExcludeTyps.push(Map);
|
|
44
|
+
}
|
|
45
|
+
if (typeof Set !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(Set) === -1) {
|
|
46
|
+
targetConfig.proxyExcludeTyps.push(Set);
|
|
47
|
+
}
|
|
48
|
+
if (typeof Promise !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(Promise) === -1) {
|
|
49
|
+
targetConfig.proxyExcludeTyps.push(Promise);
|
|
50
|
+
}
|
|
51
|
+
if (typeof ImageBitmap !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(ImageBitmap) === -1) {
|
|
52
|
+
targetConfig.proxyExcludeTyps.push(ImageBitmap);
|
|
53
|
+
}
|
|
54
|
+
if (typeof CanvasRenderingContext2D !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(CanvasRenderingContext2D) === -1) {
|
|
55
|
+
targetConfig.proxyExcludeTyps.push(CanvasRenderingContext2D);
|
|
56
|
+
}
|
|
57
|
+
if (typeof HTMLCanvasElement !== 'undefined' && targetConfig.proxyExcludeTyps.indexOf(HTMLCanvasElement) === -1) {
|
|
58
|
+
targetConfig.proxyExcludeTyps.push(HTMLCanvasElement);
|
|
59
|
+
}
|
|
60
|
+
if (targetConfig.proxyExcludeTyps.indexOf(RawSet) === -1) {
|
|
61
|
+
targetConfig.proxyExcludeTyps.push(RawSet);
|
|
62
|
+
}
|
|
63
|
+
const domRender = new DomRenderProxy(rootObject, target, targetConfig);
|
|
64
|
+
const dest = new Proxy(rootObject, domRender);
|
|
65
|
+
targetObject = dest;
|
|
66
|
+
// proxy 된 targetObject를 넣어줘야되서 뒤쪽에서 router를 생성해야함
|
|
67
|
+
let targetRouter;
|
|
68
|
+
if ((config === null || config === void 0 ? void 0 : config.routerType) === 'hash') {
|
|
69
|
+
targetRouter = new HashRouter({ rootObject: targetObject, window: targetConfig.window });
|
|
70
|
+
}
|
|
71
|
+
else if ((config === null || config === void 0 ? void 0 : config.routerType) === 'path') {
|
|
72
|
+
targetRouter = new PathRouter({ rootObject: targetObject, window: targetConfig.window });
|
|
73
|
+
}
|
|
74
|
+
else if (typeof (config === null || config === void 0 ? void 0 : config.routerType) === 'function') {
|
|
75
|
+
targetRouter = config.routerType(targetObject, targetConfig.window);
|
|
76
|
+
}
|
|
77
|
+
else if (typeof (config === null || config === void 0 ? void 0 : config.routerType) === 'object') {
|
|
78
|
+
targetRouter = config.routerType;
|
|
79
|
+
}
|
|
80
|
+
targetConfig.router = targetRouter;
|
|
81
|
+
// console.log('cccccccccccccccccc', targetRouter)
|
|
82
|
+
// targetRouter.go({path: targetRouter.getUrl()})
|
|
83
|
+
// if (!config.router) {
|
|
84
|
+
// if (config.routerType === 'path') {
|
|
85
|
+
// config.router = new PathRouter(targetObject, config.window);
|
|
86
|
+
// } else if (config.routerType === 'hash') {
|
|
87
|
+
// config.router = new HashRouter(targetObject, config.window);
|
|
88
|
+
// } else { // none
|
|
89
|
+
// config.router = new HashRouter(targetObject, config.window);
|
|
90
|
+
// }
|
|
91
|
+
// }
|
|
92
|
+
domRender.run(targetObject);
|
|
93
|
+
return targetObject; // { rootObject: targetObject, config: targetConfig, target };
|
|
94
|
+
}
|
|
95
|
+
static createComponent(param) {
|
|
96
|
+
var _a, _b;
|
|
97
|
+
// console.log('===>', typeof param.type, param.type.name, param.type.constructor.name)
|
|
98
|
+
const component = RawSet.createComponentTargetElement({
|
|
99
|
+
name: (_a = param.tagName) !== null && _a !== void 0 ? _a : (typeof param.type === 'function' ? param.type.name : param.type.constructor.name),
|
|
100
|
+
objFactory: (e, o, r2, counstructorParam) => {
|
|
101
|
+
return typeof param.type === 'function' ? new param.type(...counstructorParam) : param.type;
|
|
102
|
+
},
|
|
103
|
+
noStrip: param.noStrip,
|
|
104
|
+
template: (_b = param.template) !== null && _b !== void 0 ? _b : '',
|
|
105
|
+
styles: Array.isArray(param.styles) ? param.styles : (param.styles ? [param.styles] : undefined)
|
|
106
|
+
});
|
|
107
|
+
return component;
|
|
108
|
+
}
|
|
109
|
+
// ?? 언제 쓰는거지?? 훔..
|
|
110
|
+
static createAttribute(attrName, getThisObj, factory) {
|
|
111
|
+
const targetAttribute = RawSet.createComponentTargetAttribute(attrName, getThisObj, factory);
|
|
112
|
+
return targetAttribute;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=DomRender.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { RawSet } from './rawsets/RawSet';
|
|
3
|
+
import { Config } from './configs/Config';
|
|
4
|
+
export declare class DomRenderProxy<T extends object> implements ProxyHandler<T> {
|
|
5
|
+
_domRender_origin: T;
|
|
6
|
+
config: Config;
|
|
7
|
+
_domRender_ref: Map<object, Set<string>>;
|
|
8
|
+
_rawSets: Map<string, Set<RawSet>>;
|
|
9
|
+
_domRender_proxy?: T;
|
|
10
|
+
_targets: Set<Node>;
|
|
11
|
+
constructor(_domRender_origin: T, target: Node | null | undefined, config: Config);
|
|
12
|
+
static unFinal<T = any>(obj: T): T;
|
|
13
|
+
static final<T = any>(obj: T): T;
|
|
14
|
+
static isFinal<T = any>(obj: T): boolean;
|
|
15
|
+
run(objProxy: T): void;
|
|
16
|
+
initRender(target: Node): void;
|
|
17
|
+
getRawSets(): RawSet[];
|
|
18
|
+
render(raws?: RawSet[] | string, fullPathStr?: string): Promise<RawSet[]>;
|
|
19
|
+
root(pathInfos: {
|
|
20
|
+
path: string;
|
|
21
|
+
obj: any;
|
|
22
|
+
}[][], value?: any, lastDoneExecute?: boolean): {
|
|
23
|
+
path: string;
|
|
24
|
+
obj: any;
|
|
25
|
+
}[][];
|
|
26
|
+
set(target: T, p: string | symbol, value: any, receiver: T): boolean;
|
|
27
|
+
get(target: T, p: string | symbol, receiver: any): any;
|
|
28
|
+
deleteProperty(target: T, p: string | symbol): boolean;
|
|
29
|
+
has(target: T, p: string | symbol): boolean;
|
|
30
|
+
proxy(parentProxy: T, obj: T | any, p: string): any;
|
|
31
|
+
addRef(parent: object, path: string): void;
|
|
32
|
+
addRawSetAndRender(path: string, rawSet: RawSet): void;
|
|
33
|
+
addRawSet(path: string, rawSet: RawSet): void;
|
|
34
|
+
removeRawSet(...raws: RawSet[]): void;
|
|
35
|
+
private targetGarbageRawSet;
|
|
36
|
+
private garbageRawSet;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=DomRenderProxy.d.ts.map
|