feat:add bundle change
This commit is contained in:
parent
52b2b87e1c
commit
3cb26e0fd2
22
doric-web/dist/index.js
vendored
22
doric-web/dist/index.js
vendored
@ -3618,6 +3618,26 @@ exports.Display = void 0;
|
|||||||
Display[Display["NONE"] = 1] = "NONE";
|
Display[Display["NONE"] = 1] = "NONE";
|
||||||
})(exports.Display || (exports.Display = {}));
|
})(exports.Display || (exports.Display = {}));
|
||||||
|
|
||||||
|
const jsx = {
|
||||||
|
createElement: function (constructor, config, ...children) {
|
||||||
|
const e = new constructor();
|
||||||
|
if (config) {
|
||||||
|
for (let key in config) {
|
||||||
|
Reflect.set(e, key, Reflect.get(config, key, config), e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (children && children.length > 0) {
|
||||||
|
if (e instanceof Group) {
|
||||||
|
children.forEach((child) => e.addChild(child));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
throw new Error(`Can only add child to group view, do not support ${constructor.name}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return e;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
||||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||||
@ -4698,6 +4718,7 @@ exports.hlayout = hlayout;
|
|||||||
exports.image = image;
|
exports.image = image;
|
||||||
exports.input = input;
|
exports.input = input;
|
||||||
exports.internalScheme = internalScheme;
|
exports.internalScheme = internalScheme;
|
||||||
|
exports.jsx = jsx;
|
||||||
exports.keyboard = keyboard;
|
exports.keyboard = keyboard;
|
||||||
exports.layoutConfig = layoutConfig;
|
exports.layoutConfig = layoutConfig;
|
||||||
exports.list = list;
|
exports.list = list;
|
||||||
@ -6971,7 +6992,6 @@ var doric_web = (function (exports, axios, sandbox) {
|
|||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
alert(e.stack);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})) || [])
|
})) || [])
|
||||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user