feat: Image loadCallback add animated prop
This commit is contained in:
17
doric-web/dist/index.js
vendored
17
doric-web/dist/index.js
vendored
@@ -4049,7 +4049,7 @@ var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
/**
|
||||
* @deprecated The class should not be used
|
||||
* @deprecated The class should not be used, please use GestureContainer class instead
|
||||
*/
|
||||
class Draggable extends Stack {
|
||||
}
|
||||
@@ -4058,7 +4058,7 @@ __decorate$2([
|
||||
__metadata$2("design:type", Function)
|
||||
], Draggable.prototype, "onDrag", void 0);
|
||||
/**
|
||||
* @deprecated The function should not be used
|
||||
* @deprecated The function should not be used, please use gestureContainer function instead
|
||||
*/
|
||||
function draggable(views, config) {
|
||||
const ret = new Draggable;
|
||||
@@ -5408,7 +5408,7 @@ var doric_web = (function (exports, axios, sandbox) {
|
||||
}());
|
||||
});
|
||||
|
||||
var __awaiter$1 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@@ -5420,7 +5420,7 @@ var doric_web = (function (exports, axios, sandbox) {
|
||||
const loaders = [
|
||||
{
|
||||
filter: () => true,
|
||||
request: (source) => __awaiter$1(void 0, void 0, void 0, function* () {
|
||||
request: (source) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
const result = yield axios__default['default'].get(source);
|
||||
return result.data;
|
||||
})
|
||||
@@ -5430,7 +5430,7 @@ var doric_web = (function (exports, axios, sandbox) {
|
||||
loaders.push(loader);
|
||||
}
|
||||
function loadDoricJSBundle(source) {
|
||||
return __awaiter$1(this, void 0, void 0, function* () {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const matched = loaders.filter(e => e.filter(source));
|
||||
if (matched.length > 0) {
|
||||
return matched[matched.length - 1].request(source);
|
||||
@@ -5447,7 +5447,6 @@ var doric_web = (function (exports, axios, sandbox) {
|
||||
}
|
||||
}
|
||||
|
||||
exports.LayoutSpec = void 0;
|
||||
(function (LayoutSpec) {
|
||||
LayoutSpec[LayoutSpec["EXACTLY"] = 0] = "EXACTLY";
|
||||
LayoutSpec[LayoutSpec["WRAP_CONTENT"] = 1] = "WRAP_CONTENT";
|
||||
@@ -7869,7 +7868,7 @@ ${content}
|
||||
}
|
||||
}
|
||||
|
||||
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
var __awaiter$1 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
@@ -7883,7 +7882,7 @@ ${content}
|
||||
smoothscroll.polyfill();
|
||||
registerDoricJSLoader({
|
||||
filter: (source) => source.startsWith("assets://"),
|
||||
request: (source) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
request: (source) => __awaiter$1(void 0, void 0, void 0, function* () {
|
||||
const ret = yield axios__default['default'].get(source.replace("assets://", `${window.location.href}/../../doric-demo/bundle/`));
|
||||
return ret.data;
|
||||
})
|
||||
@@ -7917,8 +7916,6 @@ ${content}
|
||||
exports.toPixelString = toPixelString;
|
||||
exports.toRGBAString = toRGBAString;
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
return exports;
|
||||
|
||||
}({}, axios, doric));
|
||||
|
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