canvasengine 2.0.0-rc.4 → 2.0.0
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/dist/components/Graphic.d.ts.map +1 -1
- package/dist/hooks/useProps.d.ts +11 -0
- package/dist/hooks/useProps.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.global.js +7 -7
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +109 -92
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Graphic.ts +16 -1
- package/src/components/Sprite.ts +1 -1
- package/src/hooks/useProps.ts +43 -0
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -4257,7 +4257,16 @@ function ao(e) {
|
|
|
4257
4257
|
});
|
|
4258
4258
|
}
|
|
4259
4259
|
function oo(e) {
|
|
4260
|
-
|
|
4260
|
+
let { color: t, border: n } = Q(e, { border: null });
|
|
4261
|
+
return to({
|
|
4262
|
+
draw: (e, r, i, a) => {
|
|
4263
|
+
let { x: o, y: s } = no(a, r, i);
|
|
4264
|
+
e.ellipse(o + r / 2, s + i / 2, r / 2, i / 2);
|
|
4265
|
+
let c = ro(n);
|
|
4266
|
+
c && e.stroke(c), e.fill(ro(t));
|
|
4267
|
+
},
|
|
4268
|
+
...e
|
|
4269
|
+
});
|
|
4261
4270
|
}
|
|
4262
4271
|
function so(e) {
|
|
4263
4272
|
let { color: t, border: n } = Q(e, {
|
|
@@ -6155,7 +6164,7 @@ var fs = /* @__PURE__ */ pe((/* @__PURE__ */ ue(((e) => {
|
|
|
6155
6164
|
this.time += e ?? 1, this.time >= s.time && this.frameIndex++;
|
|
6156
6165
|
}
|
|
6157
6166
|
applyHitboxAnchor(e, t, n) {
|
|
6158
|
-
if (!this.hitbox || !e || !t) return;
|
|
6167
|
+
if (!this.hitbox || !e || !t || !this.anchor) return;
|
|
6159
6168
|
let r = (typeof n == "number" ? n : n?.height) ?? t, i = Math.max(0, (t - r) / 2), a = this.clamp((e - this.hitbox.w) / 2 / e), o = this.clamp((t - this.hitbox.h - i) / t), s = this.clamp(a + this.hitbox.w / 2 / e), c = this.clamp(o + this.hitbox.h / 2 / t), l = this.clamp((t - i) / t), u = a, d = o;
|
|
6160
6169
|
switch (this.hitbox.anchorMode ?? "top-left") {
|
|
6161
6170
|
case "center":
|
|
@@ -14233,11 +14242,11 @@ var Q = (e, t = {}) => {
|
|
|
14233
14242
|
let n = P(e) ? e() : e, r = {};
|
|
14234
14243
|
for (let e in t) {
|
|
14235
14244
|
let i = t[e], a = n[e], o;
|
|
14236
|
-
if (typeof i == "function")
|
|
14237
|
-
else if (Array.isArray(i))
|
|
14245
|
+
if (typeof i == "function") ed(e, a, [i]), o = a;
|
|
14246
|
+
else if (Array.isArray(i)) ed(e, a, i), o = a;
|
|
14238
14247
|
else if (i && typeof i == "object") {
|
|
14239
14248
|
if (i.required && a === void 0) throw Error(`Missing required prop: ${e}`);
|
|
14240
|
-
if (i.type &&
|
|
14249
|
+
if (i.type && ed(e, a, Array.isArray(i.type) ? i.type : [i.type]), i.validator && !i.validator(a, n)) throw Error(`Invalid prop: custom validation failed for prop "${e}"`);
|
|
14241
14250
|
o = a === void 0 && "default" in i ? typeof i.default == "function" ? i.default(n) : i.default : a;
|
|
14242
14251
|
}
|
|
14243
14252
|
r[e] = Ju(o);
|
|
@@ -14247,15 +14256,23 @@ var Q = (e, t = {}) => {
|
|
|
14247
14256
|
...r
|
|
14248
14257
|
};
|
|
14249
14258
|
return Iu?.(i), i;
|
|
14250
|
-
}
|
|
14251
|
-
|
|
14259
|
+
}, Zu = (e) => P(e) ? e() : e ?? {}, Qu = (e) => e?.[Ku] ? e : P(e) ? e() : e, $u = (e) => () => new Proxy({}, { get(t, n) {
|
|
14260
|
+
if (typeof n == "string") return (...t) => {
|
|
14261
|
+
let r = Qu(Zu(e)[n]);
|
|
14262
|
+
if (r != null) {
|
|
14263
|
+
if (typeof r != "function") throw Error(`Invalid emit handler: "${n}" must be a function`);
|
|
14264
|
+
return r(...t);
|
|
14265
|
+
}
|
|
14266
|
+
};
|
|
14267
|
+
} });
|
|
14268
|
+
function ed(e, t, n) {
|
|
14252
14269
|
if (t == null) return;
|
|
14253
14270
|
let r = P(t) ? t() : t;
|
|
14254
14271
|
if (!n.some((e) => e === Number ? typeof r == "number" : e === String ? typeof r == "string" : e === Boolean ? typeof r == "boolean" : e === Function ? typeof r == "function" : e === Object ? typeof r == "object" : e === Array ? Array.isArray(r) : e === null ? r === null : r instanceof e)) throw Error(`Invalid prop: type check failed for prop "${e}". Expected ${n.map((e) => e.name).join(" or ")}`);
|
|
14255
14272
|
}
|
|
14256
14273
|
//#endregion
|
|
14257
14274
|
//#region src/directives/ViewportFollow.ts
|
|
14258
|
-
var
|
|
14275
|
+
var td = class extends k {
|
|
14259
14276
|
onInit(e) {}
|
|
14260
14277
|
onMount(e) {
|
|
14261
14278
|
this.onUpdate(e.props.viewportFollow, e);
|
|
@@ -14286,10 +14303,10 @@ var Qu = class extends k {
|
|
|
14286
14303
|
t && n && n.plugins.remove("follow");
|
|
14287
14304
|
}
|
|
14288
14305
|
};
|
|
14289
|
-
A("viewportFollow",
|
|
14306
|
+
A("viewportFollow", td);
|
|
14290
14307
|
//#endregion
|
|
14291
14308
|
//#region src/directives/Sound.ts
|
|
14292
|
-
var
|
|
14309
|
+
var nd = [
|
|
14293
14310
|
"load",
|
|
14294
14311
|
"loaderror",
|
|
14295
14312
|
"playerror",
|
|
@@ -14303,7 +14320,7 @@ var $u = [
|
|
|
14303
14320
|
"seek",
|
|
14304
14321
|
"fade",
|
|
14305
14322
|
"unlock"
|
|
14306
|
-
],
|
|
14323
|
+
], rd = class extends k {
|
|
14307
14324
|
constructor(...e) {
|
|
14308
14325
|
super(...e), this.sounds = [], this.eventsFn = [], this.maxVolume = 1, this.maxDistance = 100;
|
|
14309
14326
|
}
|
|
@@ -14320,7 +14337,7 @@ var $u = [
|
|
|
14320
14337
|
loop: o,
|
|
14321
14338
|
volume: s
|
|
14322
14339
|
});
|
|
14323
|
-
for (let e of
|
|
14340
|
+
for (let e of nd) {
|
|
14324
14341
|
if (!r[e]) continue;
|
|
14325
14342
|
let n = r[e];
|
|
14326
14343
|
this.eventsFn.push(n), t.on(e, n);
|
|
@@ -14348,13 +14365,13 @@ var $u = [
|
|
|
14348
14365
|
onDestroy() {
|
|
14349
14366
|
this.sounds.forEach((e) => {
|
|
14350
14367
|
e.stop();
|
|
14351
|
-
for (let t of
|
|
14368
|
+
for (let t of nd) {
|
|
14352
14369
|
let n = this.eventsFn.find((e) => e === this.eventsFn[t]);
|
|
14353
14370
|
n && e.off(t, n);
|
|
14354
14371
|
}
|
|
14355
14372
|
}), this.sounds = [], this.eventsFn = [], this.tickSubscription?.unsubscribe();
|
|
14356
14373
|
}
|
|
14357
|
-
},
|
|
14374
|
+
}, id = class extends k {
|
|
14358
14375
|
onMount(e) {
|
|
14359
14376
|
e.props.context.soundListenerPosition = e.propObservables?.soundListenerPosition;
|
|
14360
14377
|
}
|
|
@@ -14362,15 +14379,15 @@ var $u = [
|
|
|
14362
14379
|
onUpdate(e) {}
|
|
14363
14380
|
onDestroy() {}
|
|
14364
14381
|
};
|
|
14365
|
-
A("sound",
|
|
14382
|
+
A("sound", rd), A("soundListenerPosition", id);
|
|
14366
14383
|
//#endregion
|
|
14367
14384
|
//#region src/hooks/addContext.ts
|
|
14368
|
-
var
|
|
14385
|
+
var ad = (e, t, n) => {
|
|
14369
14386
|
e.props.context = {
|
|
14370
14387
|
...e.props.context ?? {},
|
|
14371
14388
|
[t]: n
|
|
14372
14389
|
};
|
|
14373
|
-
},
|
|
14390
|
+
}, od = class extends k {
|
|
14374
14391
|
constructor(...e) {
|
|
14375
14392
|
super(...e), this.elementRef = null;
|
|
14376
14393
|
}
|
|
@@ -14378,13 +14395,13 @@ var nd = (e, t, n) => {
|
|
|
14378
14395
|
this.elementRef = e;
|
|
14379
14396
|
}
|
|
14380
14397
|
onMount(e) {
|
|
14381
|
-
|
|
14398
|
+
ad(e, "drop", e);
|
|
14382
14399
|
}
|
|
14383
14400
|
onUpdate() {}
|
|
14384
14401
|
onDestroy() {
|
|
14385
14402
|
this.elementRef = null;
|
|
14386
14403
|
}
|
|
14387
|
-
},
|
|
14404
|
+
}, sd = class extends k {
|
|
14388
14405
|
constructor(...e) {
|
|
14389
14406
|
super(...e), this.elementRef = null, this.stageRef = null, this.offsetInParent = new y(), this.isDragging = !1, this.viewport = null, this.animationFrameId = null, this.lastPointerPosition = new y(), this.pressedKeys = /* @__PURE__ */ new Set(), this.pointerIsDown = !1, this.onDragMoveHandler = () => {}, this.onDragEndHandler = () => {}, this.onDragStartHandler = () => {}, this.onKeyDownHandler = () => {}, this.onKeyUpHandler = () => {}, this.subscriptions = [];
|
|
14390
14407
|
}
|
|
@@ -14479,10 +14496,10 @@ var nd = (e, t, n) => {
|
|
|
14479
14496
|
e && e.off("pointerdown", this.onDragStartHandler), this.stageRef && (this.stageRef.off("pointermove", this.onDragMoveHandler), this.stageRef.off("pointerup", this.onDragEndHandler), this.stageRef.off("pointerupoutside", this.onDragEndHandler)), window.removeEventListener("keydown", this.onKeyDownHandler), window.removeEventListener("keyup", this.onKeyUpHandler), this.stageRef = null, this.viewport = null, this.pressedKeys.clear(), this.pointerIsDown = !1;
|
|
14480
14497
|
}
|
|
14481
14498
|
};
|
|
14482
|
-
A("drag",
|
|
14499
|
+
A("drag", sd), A("drop", od);
|
|
14483
14500
|
//#endregion
|
|
14484
14501
|
//#region src/directives/Transition.ts
|
|
14485
|
-
var
|
|
14502
|
+
var cd = class extends k {
|
|
14486
14503
|
onInit(e) {}
|
|
14487
14504
|
onMount(e) {
|
|
14488
14505
|
let { image: t } = e.props.transition, n = new x(C.from(t));
|
|
@@ -14502,10 +14519,10 @@ var ad = class extends k {
|
|
|
14502
14519
|
onUpdate(e) {}
|
|
14503
14520
|
onDestroy() {}
|
|
14504
14521
|
};
|
|
14505
|
-
A("transition",
|
|
14522
|
+
A("transition", cd);
|
|
14506
14523
|
//#endregion
|
|
14507
14524
|
//#region src/directives/Shake.ts
|
|
14508
|
-
var
|
|
14525
|
+
var ld = class extends k {
|
|
14509
14526
|
constructor(...e) {
|
|
14510
14527
|
super(...e), this.elementRef = null, this.originalPosition = new y(), this.progressSignal = null, this.shakeSubscription = null, this.positionEffect = null, this.currentShakeConfig = null;
|
|
14511
14528
|
}
|
|
@@ -14564,10 +14581,10 @@ var od = class extends k {
|
|
|
14564
14581
|
this.shakeSubscription &&= (this.shakeSubscription.unsubscribe(), null), this.elementRef = null;
|
|
14565
14582
|
}
|
|
14566
14583
|
};
|
|
14567
|
-
A("shake",
|
|
14584
|
+
A("shake", ld);
|
|
14568
14585
|
//#endregion
|
|
14569
14586
|
//#region src/directives/Flash.ts
|
|
14570
|
-
var
|
|
14587
|
+
var ud = class extends k {
|
|
14571
14588
|
constructor(...e) {
|
|
14572
14589
|
super(...e), this.elementRef = null, this.progressSignal = null, this.flashSubscription = null, this.alphaEffect = null, this.tintEffect = null, this.originalAlpha = 1, this.originalTint = 16777215, this.currentFlashConfig = null;
|
|
14573
14590
|
}
|
|
@@ -14652,10 +14669,10 @@ var sd = class extends k {
|
|
|
14652
14669
|
this.flashSubscription &&= null, this.elementRef = null;
|
|
14653
14670
|
}
|
|
14654
14671
|
};
|
|
14655
|
-
A("flash",
|
|
14672
|
+
A("flash", ud);
|
|
14656
14673
|
//#endregion
|
|
14657
14674
|
//#region src/directives/FogVisibility.ts
|
|
14658
|
-
var
|
|
14675
|
+
var dd = (e, t, n) => Math.max(t, Math.min(n, e)), fd = class extends k {
|
|
14659
14676
|
constructor(...e) {
|
|
14660
14677
|
super(...e), this.elementRef = null, this.tickSubscription = null, this.sampleAccumulatorMs = 0, this.managesAlpha = !1;
|
|
14661
14678
|
}
|
|
@@ -14684,7 +14701,7 @@ var cd = (e, t, n) => Math.max(t, Math.min(n, e)), ld = class extends k {
|
|
|
14684
14701
|
return e == null ? t : P(e) ? e() ?? t : e;
|
|
14685
14702
|
}
|
|
14686
14703
|
readOptions() {
|
|
14687
|
-
let e = this.elementRef?.props?.fogVisibility, t = e?.value ?? e ?? {}, n = this.resolveSignalValue(t.controller, null), r = this.resolveSignalValue(t.mode, "visible"), i =
|
|
14704
|
+
let e = this.elementRef?.props?.fogVisibility, t = e?.value ?? e ?? {}, n = this.resolveSignalValue(t.controller, null), r = this.resolveSignalValue(t.mode, "visible"), i = dd(Number(this.resolveSignalValue(t.threshold, .65)), 0, 1), a = this.resolveSignalValue(t.hideAs, "visible"), o = dd(Number(this.resolveSignalValue(t.hiddenAlpha, 0)), 0, 1), s = dd(Number(this.resolveSignalValue(t.sampleHz, 30)), 1, 240), c = t.point ? this.resolveSignalValue(t.point, void 0) : void 0;
|
|
14688
14705
|
return {
|
|
14689
14706
|
controller: n && typeof n == "object" ? n : null,
|
|
14690
14707
|
mode: r,
|
|
@@ -14701,7 +14718,7 @@ var cd = (e, t, n) => Math.max(t, Math.min(n, e)), ld = class extends k {
|
|
|
14701
14718
|
}
|
|
14702
14719
|
readBaseAlpha() {
|
|
14703
14720
|
let e = this.elementRef?.propObservables?.alpha ?? this.elementRef?.props?.alpha, t = Number(this.resolveSignalValue(e, 1));
|
|
14704
|
-
return Number.isFinite(t) ?
|
|
14721
|
+
return Number.isFinite(t) ? dd(t, 0, 1) : 1;
|
|
14705
14722
|
}
|
|
14706
14723
|
samplePoint(e) {
|
|
14707
14724
|
if (e.point && typeof e.point == "object") {
|
|
@@ -14745,15 +14762,15 @@ var cd = (e, t, n) => Math.max(t, Math.min(n, e)), ld = class extends k {
|
|
|
14745
14762
|
t.visible = r && s, this.managesAlpha &&= (t.alpha = i, !1);
|
|
14746
14763
|
}
|
|
14747
14764
|
};
|
|
14748
|
-
A("fogVisibility",
|
|
14765
|
+
A("fogVisibility", fd);
|
|
14749
14766
|
//#endregion
|
|
14750
14767
|
//#region ../../node_modules/.pnpm/pixi-filters@6.1.5_pixi.js@8.9.2/node_modules/pixi-filters/lib/defaults/default2.mjs
|
|
14751
|
-
var
|
|
14768
|
+
var pd = "in vec2 aPosition;\nout vec2 vTextureCoord;\n\nuniform vec4 uInputSize;\nuniform vec4 uOutputFrame;\nuniform vec4 uOutputTexture;\n\nvec4 filterVertexPosition( void )\n{\n vec2 position = aPosition * uOutputFrame.zw + uOutputFrame.xy;\n \n position.x = position.x * (2.0 / uOutputTexture.x) - 1.0;\n position.y = position.y * (2.0*uOutputTexture.z / uOutputTexture.y) - uOutputTexture.z;\n\n return vec4(position, 0.0, 1.0);\n}\n\nvec2 filterTextureCoord( void )\n{\n return aPosition * (uOutputFrame.zw * uInputSize.zw);\n}\n\nvoid main(void)\n{\n gl_Position = filterVertexPosition();\n vTextureCoord = filterTextureCoord();\n}\n", md = "struct GlobalFilterUniforms {\n uInputSize:vec4<f32>,\n uInputPixel:vec4<f32>,\n uInputClamp:vec4<f32>,\n uOutputFrame:vec4<f32>,\n uGlobalFrame:vec4<f32>,\n uOutputTexture:vec4<f32>,\n};\n\n@group(0) @binding(0) var<uniform> gfu: GlobalFilterUniforms;\n\nstruct VSOutput {\n @builtin(position) position: vec4<f32>,\n @location(0) uv : vec2<f32>\n };\n\nfn filterVertexPosition(aPosition:vec2<f32>) -> vec4<f32>\n{\n var position = aPosition * gfu.uOutputFrame.zw + gfu.uOutputFrame.xy;\n\n position.x = position.x * (2.0 / gfu.uOutputTexture.x) - 1.0;\n position.y = position.y * (2.0*gfu.uOutputTexture.z / gfu.uOutputTexture.y) - gfu.uOutputTexture.z;\n\n return vec4(position, 0.0, 1.0);\n}\n\nfn filterTextureCoord( aPosition:vec2<f32> ) -> vec2<f32>\n{\n return aPosition * (gfu.uOutputFrame.zw * gfu.uInputSize.zw);\n}\n\nfn globalTextureCoord( aPosition:vec2<f32> ) -> vec2<f32>\n{\n return (aPosition.xy / gfu.uGlobalFrame.zw) + (gfu.uGlobalFrame.xy / gfu.uGlobalFrame.zw); \n}\n\nfn getSize() -> vec2<f32>\n{\n return gfu.uGlobalFrame.zw;\n}\n \n@vertex\nfn mainVertex(\n @location(0) aPosition : vec2<f32>, \n) -> VSOutput {\n return VSOutput(\n filterVertexPosition(aPosition),\n filterTextureCoord(aPosition)\n );\n}", hd = "precision highp float;\nin vec2 vTextureCoord;\nout vec4 finalColor;\n\nuniform sampler2D uTexture;\nuniform vec2 uThickness;\nuniform vec3 uColor;\nuniform float uAlpha;\nuniform float uKnockout;\n\nuniform vec4 uInputClamp;\n\nconst float DOUBLE_PI = 2. * 3.14159265358979323846264;\nconst float ANGLE_STEP = ${ANGLE_STEP};\n\nfloat outlineMaxAlphaAtPos(vec2 pos) {\n if (uThickness.x == 0. || uThickness.y == 0.) {\n return 0.;\n }\n\n vec4 displacedColor;\n vec2 displacedPos;\n float maxAlpha = 0.;\n\n for (float angle = 0.; angle <= DOUBLE_PI; angle += ANGLE_STEP) {\n displacedPos.x = vTextureCoord.x + uThickness.x * cos(angle);\n displacedPos.y = vTextureCoord.y + uThickness.y * sin(angle);\n displacedColor = texture(uTexture, clamp(displacedPos, uInputClamp.xy, uInputClamp.zw));\n maxAlpha = max(maxAlpha, displacedColor.a);\n }\n\n return maxAlpha;\n}\n\nvoid main(void) {\n vec4 sourceColor = texture(uTexture, vTextureCoord);\n vec4 contentColor = sourceColor * float(uKnockout < 0.5);\n float outlineAlpha = uAlpha * outlineMaxAlphaAtPos(vTextureCoord.xy) * (1.-sourceColor.a);\n vec4 outlineColor = vec4(vec3(uColor) * outlineAlpha, outlineAlpha);\n finalColor = contentColor + outlineColor;\n}\n", gd = "struct OutlineUniforms {\n uThickness:vec2<f32>,\n uColor:vec3<f32>,\n uAlpha:f32,\n uAngleStep:f32,\n uKnockout:f32,\n};\n\nstruct GlobalFilterUniforms {\n uInputSize:vec4<f32>,\n uInputPixel:vec4<f32>,\n uInputClamp:vec4<f32>,\n uOutputFrame:vec4<f32>,\n uGlobalFrame:vec4<f32>,\n uOutputTexture:vec4<f32>,\n};\n\n@group(0) @binding(0) var<uniform> gfu: GlobalFilterUniforms;\n\n@group(0) @binding(1) var uTexture: texture_2d<f32>; \n@group(0) @binding(2) var uSampler: sampler;\n@group(1) @binding(0) var<uniform> outlineUniforms : OutlineUniforms;\n\n@fragment\nfn mainFragment(\n @builtin(position) position: vec4<f32>,\n @location(0) uv : vec2<f32>\n) -> @location(0) vec4<f32> {\n let sourceColor: vec4<f32> = textureSample(uTexture, uSampler, uv);\n let contentColor: vec4<f32> = sourceColor * (1. - outlineUniforms.uKnockout);\n \n let outlineAlpha: f32 = outlineUniforms.uAlpha * outlineMaxAlphaAtPos(uv) * (1. - sourceColor.a);\n let outlineColor: vec4<f32> = vec4<f32>(vec3<f32>(outlineUniforms.uColor) * outlineAlpha, outlineAlpha);\n \n return contentColor + outlineColor;\n}\n\nfn outlineMaxAlphaAtPos(uv: vec2<f32>) -> f32 {\n let thickness = outlineUniforms.uThickness;\n\n if (thickness.x == 0. || thickness.y == 0.) {\n return 0.;\n }\n \n let angleStep = outlineUniforms.uAngleStep;\n\n var displacedColor: vec4<f32>;\n var displacedPos: vec2<f32>;\n\n var maxAlpha: f32 = 0.;\n var displaced: vec2<f32>;\n var curColor: vec4<f32>;\n\n for (var angle = 0.; angle <= DOUBLE_PI; angle += angleStep)\n {\n displaced.x = uv.x + thickness.x * cos(angle);\n displaced.y = uv.y + thickness.y * sin(angle);\n curColor = textureSample(uTexture, uSampler, clamp(displaced, gfu.uInputClamp.xy, gfu.uInputClamp.zw));\n maxAlpha = max(maxAlpha, curColor.a);\n }\n\n return maxAlpha;\n}\n\nconst DOUBLE_PI: f32 = 3.14159265358979323846264 * 2.;", _d = Object.defineProperty, vd = (e, t, n) => t in e ? _d(e, t, {
|
|
14752
14769
|
enumerable: !0,
|
|
14753
14770
|
configurable: !0,
|
|
14754
14771
|
writable: !0,
|
|
14755
14772
|
value: n
|
|
14756
|
-
}) : e[t] = n,
|
|
14773
|
+
}) : e[t] = n, yd = (e, t, n) => (vd(e, typeof t == "symbol" ? t : t + "", n), n), bd = class e extends l {
|
|
14757
14774
|
constructor(...t) {
|
|
14758
14775
|
let n = t[0] ?? {};
|
|
14759
14776
|
typeof n == "number" && (re("6.0.0", "OutlineFilter constructor params are now options object. See params: { thickness, color, quality, alpha, knockout }"), n = { thickness: n }, t[1] !== void 0 && (n.color = t[1]), t[2] !== void 0 && (n.quality = t[2]), t[3] !== void 0 && (n.alpha = t[3]), t[4] !== void 0 && (n.knockout = t[4])), n = {
|
|
@@ -14762,16 +14779,16 @@ var ud = "in vec2 aPosition;\nout vec2 vTextureCoord;\n\nuniform vec4 uInputSize
|
|
|
14762
14779
|
};
|
|
14763
14780
|
let r = n.quality ?? .1, a = f.from({
|
|
14764
14781
|
vertex: {
|
|
14765
|
-
source:
|
|
14782
|
+
source: md,
|
|
14766
14783
|
entryPoint: "mainVertex"
|
|
14767
14784
|
},
|
|
14768
14785
|
fragment: {
|
|
14769
|
-
source:
|
|
14786
|
+
source: gd,
|
|
14770
14787
|
entryPoint: "mainFragment"
|
|
14771
14788
|
}
|
|
14772
14789
|
}), o = d.from({
|
|
14773
|
-
vertex:
|
|
14774
|
-
fragment:
|
|
14790
|
+
vertex: pd,
|
|
14791
|
+
fragment: hd.replace(/\$\{ANGLE_STEP\}/, e.getAngleStep(r).toFixed(7)),
|
|
14775
14792
|
name: "outline-filter"
|
|
14776
14793
|
});
|
|
14777
14794
|
super({
|
|
@@ -14799,7 +14816,7 @@ var ud = "in vec2 aPosition;\nout vec2 vTextureCoord;\n\nuniform vec4 uInputSize
|
|
|
14799
14816
|
type: "f32"
|
|
14800
14817
|
}
|
|
14801
14818
|
} }
|
|
14802
|
-
}),
|
|
14819
|
+
}), yd(this, "uniforms"), yd(this, "_thickness"), yd(this, "_quality"), yd(this, "_color"), this.uniforms = this.resources.outlineUniforms.uniforms, this.uniforms.uAngleStep = e.getAngleStep(r), this._color = new i(), this.color = n.color ?? 0, Object.assign(this, n);
|
|
14803
14820
|
}
|
|
14804
14821
|
apply(e, t, n, r) {
|
|
14805
14822
|
this.uniforms.uThickness[0] = this.thickness / t.source.width, this.uniforms.uThickness[1] = this.thickness / t.source.height, e.applyFilter(this, t, n, r);
|
|
@@ -14840,25 +14857,25 @@ var ud = "in vec2 aPosition;\nout vec2 vTextureCoord;\n\nuniform vec4 uInputSize
|
|
|
14840
14857
|
this.uniforms.uKnockout = +!!e;
|
|
14841
14858
|
}
|
|
14842
14859
|
};
|
|
14843
|
-
|
|
14860
|
+
yd(bd, "DEFAULT_OPTIONS", {
|
|
14844
14861
|
thickness: 1,
|
|
14845
14862
|
color: 0,
|
|
14846
14863
|
alpha: 1,
|
|
14847
14864
|
quality: .1,
|
|
14848
14865
|
knockout: !1
|
|
14849
|
-
}),
|
|
14850
|
-
var
|
|
14866
|
+
}), yd(bd, "MIN_SAMPLES", 1), yd(bd, "MAX_SAMPLES", 100);
|
|
14867
|
+
var xd = bd, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, Sd = (e) => {
|
|
14851
14868
|
if (e !== void 0) return P(e) ? e() : e;
|
|
14852
|
-
},
|
|
14869
|
+
}, Cd = (e) => e === void 0 ? [] : Array.isArray(e) ? e : [e], wd = (e) => {
|
|
14853
14870
|
let t = e.filters;
|
|
14854
14871
|
return t ? Array.isArray(t) ? [...t] : [t] : [];
|
|
14855
|
-
},
|
|
14872
|
+
}, Td = (e, t) => {
|
|
14856
14873
|
e.filters = t.length > 0 ? t : [];
|
|
14857
|
-
},
|
|
14858
|
-
let t =
|
|
14874
|
+
}, Ed = (e) => {
|
|
14875
|
+
let t = Sd(e);
|
|
14859
14876
|
return L(t) ? t.componentInstance ?? null : t instanceof a || t && typeof t == "object" && typeof t.getBounds == "function" ? t : null;
|
|
14860
|
-
},
|
|
14861
|
-
let n =
|
|
14877
|
+
}, Dd = (e) => new b(e?.x ?? 0, e?.y ?? 0, e?.width ?? 0, e?.height ?? 0), Od = (e, t = "bounds") => {
|
|
14878
|
+
let n = Dd(typeof e.getBounds == "function" ? e.getBounds() : {
|
|
14862
14879
|
x: e.x ?? 0,
|
|
14863
14880
|
y: e.y ?? 0,
|
|
14864
14881
|
width: e.width ?? 0,
|
|
@@ -14867,21 +14884,21 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
14867
14884
|
if (t !== "hitbox" || !e.hitbox) return n;
|
|
14868
14885
|
let r = e.hitbox;
|
|
14869
14886
|
return new b(n.x + Math.max(0, (n.width - r.w) / 2), n.y + Math.max(0, n.height - r.h), r.w, r.h);
|
|
14870
|
-
},
|
|
14887
|
+
}, kd = (e, t) => {
|
|
14871
14888
|
let n = Math.max(e.x, t.x), r = Math.max(e.y, t.y), i = Math.min(e.x + e.width, t.x + t.width), a = Math.min(e.y + e.height, t.y + t.height), o = i - n, s = a - r;
|
|
14872
14889
|
return o <= 0 || s <= 0 ? null : new b(n, r, o, s);
|
|
14873
|
-
},
|
|
14890
|
+
}, Ad = (e, t) => {
|
|
14874
14891
|
e.rect(t.x, t.y, t.width, t.height), e.fill(16777215);
|
|
14875
|
-
},
|
|
14892
|
+
}, jd = (e, t) => {
|
|
14876
14893
|
t.parent !== e.parent && (t.parent && t.parent.removeChild(t), e.parent?.addChild(t));
|
|
14877
|
-
},
|
|
14894
|
+
}, Md = (e, t, n = !1) => {
|
|
14878
14895
|
e && (typeof e.setMask == "function" ? (t ?? (e.mask = null), e.setMask({
|
|
14879
14896
|
mask: t ?? null,
|
|
14880
14897
|
inverse: n
|
|
14881
14898
|
})) : e.mask = t ?? null);
|
|
14882
|
-
},
|
|
14883
|
-
|
|
14884
|
-
},
|
|
14899
|
+
}, Nd = (e, t) => {
|
|
14900
|
+
Md(e, t ?? null);
|
|
14901
|
+
}, Pd = (e, t) => {
|
|
14885
14902
|
let n = {
|
|
14886
14903
|
x: t.x ?? t.position?.x ?? 0,
|
|
14887
14904
|
y: t.y ?? t.position?.y ?? 0
|
|
@@ -14896,11 +14913,11 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
14896
14913
|
x: 0,
|
|
14897
14914
|
y: 0
|
|
14898
14915
|
}), e.rotation = t.rotation ?? 0;
|
|
14899
|
-
},
|
|
14900
|
-
|
|
14916
|
+
}, Fd = (e, t, n) => {
|
|
14917
|
+
Pd(e, t);
|
|
14901
14918
|
let r = t.texture?.orig?.width ?? t.texture?.width ?? t.width ?? n.width, i = t.texture?.orig?.height ?? t.texture?.height ?? t.height ?? n.height, a = t.width || r || 1, o = t.height || i || 1, s = t.anchor?.x ?? 0, c = t.anchor?.y ?? 0;
|
|
14902
|
-
|
|
14903
|
-
},
|
|
14919
|
+
Ad(e, new b(-s * r + n.x * r / a, -c * i + n.y * i / o, n.width * r / a, n.height * i / o));
|
|
14920
|
+
}, Id = class extends k {
|
|
14904
14921
|
constructor(...e) {
|
|
14905
14922
|
super(...e), this.elementRef = null, this.filter = null, this.updateEffect = null;
|
|
14906
14923
|
}
|
|
@@ -14919,7 +14936,7 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
14919
14936
|
this.removeFilter(), this.updateEffect?.subscription.unsubscribe(), this.updateEffect = null, this.elementRef = null;
|
|
14920
14937
|
}
|
|
14921
14938
|
get props() {
|
|
14922
|
-
let e =
|
|
14939
|
+
let e = Sd(this.elementRef?.props.outline);
|
|
14923
14940
|
return e === !0 ? {} : e === !1 ? { enabled: !1 } : e ?? {};
|
|
14924
14941
|
}
|
|
14925
14942
|
apply() {
|
|
@@ -14930,18 +14947,18 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
14930
14947
|
this.removeFilter();
|
|
14931
14948
|
return;
|
|
14932
14949
|
}
|
|
14933
|
-
this.filter || (this.filter = new
|
|
14950
|
+
this.filter || (this.filter = new xd({
|
|
14934
14951
|
thickness: $(t.thickness, 1),
|
|
14935
14952
|
color: $(t.color, 16777215),
|
|
14936
14953
|
quality: $(t.quality, .1),
|
|
14937
14954
|
alpha: $(t.alpha, 1)
|
|
14938
|
-
}),
|
|
14955
|
+
}), Td(e, [...wd(e), this.filter])), this.filter.thickness = $(t.thickness, 1), this.filter.color = $(t.color, 16777215), this.filter.quality = $(t.quality, .1), this.filter.alpha = $(t.alpha, 1);
|
|
14939
14956
|
}
|
|
14940
14957
|
removeFilter() {
|
|
14941
14958
|
let e = this.elementRef?.componentInstance;
|
|
14942
|
-
!e || !this.filter || (
|
|
14959
|
+
!e || !this.filter || (Td(e, wd(e).filter((e) => e !== this.filter)), this.filter = null);
|
|
14943
14960
|
}
|
|
14944
|
-
},
|
|
14961
|
+
}, Ld = class extends k {
|
|
14945
14962
|
constructor(...e) {
|
|
14946
14963
|
super(...e), this.elementRef = null, this.maskGraphics = null, this.previousMask = null, this.tickSubscription = null, this.updateEffect = null;
|
|
14947
14964
|
}
|
|
@@ -14960,28 +14977,28 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
14960
14977
|
}
|
|
14961
14978
|
onDestroy() {
|
|
14962
14979
|
let e = this.elementRef?.componentInstance;
|
|
14963
|
-
e && this.maskGraphics &&
|
|
14980
|
+
e && this.maskGraphics && Nd(e, this.previousMask), this.maskGraphics?.parent && this.maskGraphics.parent.removeChild(this.maskGraphics), this.maskGraphics?.destroy(), this.maskGraphics = null, this.previousMask = null, this.tickSubscription?.unsubscribe(), this.tickSubscription = null, this.updateEffect?.subscription.unsubscribe(), this.updateEffect = null, this.elementRef = null;
|
|
14964
14981
|
}
|
|
14965
14982
|
get props() {
|
|
14966
|
-
return
|
|
14983
|
+
return Sd(this.elementRef?.props.clip) ?? null;
|
|
14967
14984
|
}
|
|
14968
14985
|
apply() {
|
|
14969
14986
|
let e = this.elementRef?.componentInstance, t = this.props;
|
|
14970
14987
|
if (!e || !e.parent || !t?.shape) return;
|
|
14971
14988
|
if (!$(t.enabled, !0)) {
|
|
14972
|
-
this.maskGraphics && (
|
|
14989
|
+
this.maskGraphics && (Nd(e, this.previousMask), this.maskGraphics.clear());
|
|
14973
14990
|
return;
|
|
14974
14991
|
}
|
|
14975
|
-
this.maskGraphics || (this.maskGraphics = new p(), this.previousMask = e.mask ?? null),
|
|
14992
|
+
this.maskGraphics || (this.maskGraphics = new p(), this.previousMask = e.mask ?? null), jd(e, this.maskGraphics), this.maskGraphics.clear();
|
|
14976
14993
|
let n = t.shape;
|
|
14977
14994
|
if (n.type === "rect") {
|
|
14978
14995
|
let t = new b($(n.x, 0), $(n.y, 0), $(n.width, 0), $(n.height, 0));
|
|
14979
|
-
|
|
14996
|
+
Fd(this.maskGraphics, e, t);
|
|
14980
14997
|
}
|
|
14981
14998
|
let r = $(t.mode, "keep") === "hide";
|
|
14982
|
-
|
|
14999
|
+
Md(e, this.maskGraphics, r);
|
|
14983
15000
|
}
|
|
14984
|
-
},
|
|
15001
|
+
}, Rd = class extends k {
|
|
14985
15002
|
constructor(...e) {
|
|
14986
15003
|
super(...e), this.elementRef = null, this.maskGraphics = null, this.ghostSprite = null, this.tickSubscription = null, this.updateEffect = null;
|
|
14987
15004
|
}
|
|
@@ -14999,10 +15016,10 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
14999
15016
|
this.apply();
|
|
15000
15017
|
}
|
|
15001
15018
|
onDestroy() {
|
|
15002
|
-
|
|
15019
|
+
Nd(this.ghostSprite, null), this.ghostSprite?.parent && this.ghostSprite.parent.removeChild(this.ghostSprite), this.ghostSprite?.destroy(), this.maskGraphics?.parent && this.maskGraphics.parent.removeChild(this.maskGraphics), this.maskGraphics?.destroy(), this.maskGraphics = null, this.ghostSprite = null, this.tickSubscription?.unsubscribe(), this.tickSubscription = null, this.updateEffect?.subscription.unsubscribe(), this.updateEffect = null, this.elementRef = null;
|
|
15003
15020
|
}
|
|
15004
15021
|
get props() {
|
|
15005
|
-
return
|
|
15022
|
+
return Sd(this.elementRef?.props.occlusion) ?? null;
|
|
15006
15023
|
}
|
|
15007
15024
|
apply() {
|
|
15008
15025
|
let e = this.elementRef?.componentInstance, t = this.props;
|
|
@@ -15015,13 +15032,13 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
15015
15032
|
if (!e.texture) return;
|
|
15016
15033
|
this.maskGraphics = new p(), this.ghostSprite = new x(e.texture);
|
|
15017
15034
|
}
|
|
15018
|
-
|
|
15019
|
-
let n = $(t.bounds, "bounds"), r = $(t.padding, 0), i =
|
|
15020
|
-
for (let s of
|
|
15021
|
-
let t =
|
|
15035
|
+
jd(e, this.maskGraphics), this.ghostSprite.parent !== e.parent && (this.ghostSprite.parent && this.ghostSprite.parent.removeChild(this.ghostSprite), e.parent?.addChild(this.ghostSprite)), this.maskGraphics.clear(), this.ghostSprite.texture = e.texture, this.ghostSprite.width = e.width, this.ghostSprite.height = e.height, this.ghostSprite.visible = !1, this.ghostSprite.alpha = $(t.alpha, .35), Pd(this.ghostSprite, e), e.anchor && this.ghostSprite.anchor && this.ghostSprite.anchor.copyFrom(e.anchor);
|
|
15036
|
+
let n = $(t.bounds, "bounds"), r = $(t.padding, 0), i = Od(e, n), a = !1, o = e.zIndex ?? 0;
|
|
15037
|
+
for (let s of Cd(Sd(t.obstacles))) {
|
|
15038
|
+
let t = Ed(s);
|
|
15022
15039
|
if (!t) continue;
|
|
15023
15040
|
o = Math.max(o, t.zIndex ?? 0);
|
|
15024
|
-
let c =
|
|
15041
|
+
let c = kd(i, Od(t, n));
|
|
15025
15042
|
if (!c) continue;
|
|
15026
15043
|
a = !0;
|
|
15027
15044
|
let l = e.parent?.toLocal?.({
|
|
@@ -15031,15 +15048,15 @@ var vd = _d, $ = (e, t) => e === void 0 ? t : P(e) ? e() : e, yd = (e) => {
|
|
|
15031
15048
|
x: c.x - r,
|
|
15032
15049
|
y: c.y - r
|
|
15033
15050
|
};
|
|
15034
|
-
|
|
15051
|
+
Ad(this.maskGraphics, new b(l.x, l.y, c.width + r * 2, c.height + r * 2));
|
|
15035
15052
|
}
|
|
15036
|
-
a ? (this.ghostSprite.visible = !0, this.ghostSprite.zIndex = $(t.zIndex, o + 1),
|
|
15053
|
+
a ? (this.ghostSprite.visible = !0, this.ghostSprite.zIndex = $(t.zIndex, o + 1), Md(this.ghostSprite, this.maskGraphics, !1)) : (this.ghostSprite.visible = !1, Nd(this.ghostSprite, null));
|
|
15037
15054
|
}
|
|
15038
15055
|
};
|
|
15039
|
-
A("outline",
|
|
15056
|
+
A("outline", Id), A("clip", Ld), A("occlusion", Rd);
|
|
15040
15057
|
//#endregion
|
|
15041
15058
|
//#region src/engine/bootstrap.ts
|
|
15042
|
-
var
|
|
15059
|
+
var zd = async (e, n, r) => {
|
|
15043
15060
|
let { components: i, autoRegister: a, enableLayout: o, ...s } = r ?? {};
|
|
15044
15061
|
o !== !1 && await import("./dist-BOOc43Qm.js"), i ? (a !== !1 && Ha(), Object.entries(i).forEach(([e, t]) => {
|
|
15045
15062
|
R(e, t);
|
|
@@ -15084,13 +15101,13 @@ var Id = async (e, n, r) => {
|
|
|
15084
15101
|
};
|
|
15085
15102
|
//#endregion
|
|
15086
15103
|
//#region src/hooks/useFocus.ts
|
|
15087
|
-
function
|
|
15104
|
+
function Bd(e) {
|
|
15088
15105
|
return X.getCurrentIndexSignal(e);
|
|
15089
15106
|
}
|
|
15090
|
-
function
|
|
15107
|
+
function Vd(e) {
|
|
15091
15108
|
return X.getFocusedElementSignal(e);
|
|
15092
15109
|
}
|
|
15093
|
-
function
|
|
15110
|
+
function Hd(e, t) {
|
|
15094
15111
|
let n = X.getCurrentIndexSignal(e), r = X.getFocusedElementSignal(e);
|
|
15095
15112
|
if (!n || !r) return console.warn(`FocusContainer with id "${e}" not found`), () => {};
|
|
15096
15113
|
let i = I(() => {
|
|
@@ -15102,7 +15119,7 @@ function zd(e, t) {
|
|
|
15102
15119
|
}
|
|
15103
15120
|
//#endregion
|
|
15104
15121
|
//#region src/utils/Ease.ts
|
|
15105
|
-
var
|
|
15122
|
+
var Ud = {
|
|
15106
15123
|
linear: Mi,
|
|
15107
15124
|
easeIn: Ni,
|
|
15108
15125
|
easeInOut: Fi,
|
|
@@ -15117,7 +15134,7 @@ var Bd = {
|
|
|
15117
15134
|
bounceIn: qi,
|
|
15118
15135
|
bounceInOut: Ji,
|
|
15119
15136
|
bounceOut: Ki
|
|
15120
|
-
},
|
|
15137
|
+
}, Wd = class {
|
|
15121
15138
|
constructor(e, t, n, r, i, a, s = 0) {
|
|
15122
15139
|
this.x0 = e, this.y0 = t, this.x1 = n, this.y1 = r, this.x2 = i, this.y2 = a, this.focalPoint = s, this.gradient = null, this.texture = null, this.size = 600, this.size = e;
|
|
15123
15140
|
let c = this.size * .5;
|
|
@@ -15145,7 +15162,7 @@ var Bd = {
|
|
|
15145
15162
|
};
|
|
15146
15163
|
//#endregion
|
|
15147
15164
|
//#region src/utils/tabindex.ts
|
|
15148
|
-
function
|
|
15165
|
+
function Gd(e) {
|
|
15149
15166
|
if ("count" in e) {
|
|
15150
15167
|
let t = e.count();
|
|
15151
15168
|
if (!Number.isFinite(t) || t <= 0) return null;
|
|
@@ -15163,7 +15180,7 @@ function Hd(e) {
|
|
|
15163
15180
|
size: n - t + 1
|
|
15164
15181
|
};
|
|
15165
15182
|
}
|
|
15166
|
-
function
|
|
15183
|
+
function Kd(e, t, n, r) {
|
|
15167
15184
|
if (r === "clamp") return Math.min(n.max, Math.max(n.min, e));
|
|
15168
15185
|
if (r === "none") return e < n.min || e > n.max ? t : e;
|
|
15169
15186
|
let i = n.size;
|
|
@@ -15171,11 +15188,11 @@ function Ud(e, t, n, r) {
|
|
|
15171
15188
|
let a = ((e - n.min) % i + i) % i;
|
|
15172
15189
|
return n.min + a;
|
|
15173
15190
|
}
|
|
15174
|
-
function
|
|
15191
|
+
function qd(e, t, n = "wrap") {
|
|
15175
15192
|
let r = (r) => {
|
|
15176
|
-
let i = e(), a =
|
|
15193
|
+
let i = e(), a = Gd(t);
|
|
15177
15194
|
if (!a) return;
|
|
15178
|
-
let o =
|
|
15195
|
+
let o = Kd(r, i, a, n);
|
|
15179
15196
|
o !== i && e.set(o);
|
|
15180
15197
|
};
|
|
15181
15198
|
return {
|
|
@@ -15184,7 +15201,7 @@ function Wd(e, t, n = "wrap") {
|
|
|
15184
15201
|
};
|
|
15185
15202
|
}
|
|
15186
15203
|
//#endregion
|
|
15187
|
-
var
|
|
15188
|
-
export { ir as ArraySubject, Du as Button, J as ButtonState, Qa as Canvas, ao as Circle,
|
|
15204
|
+
var Jd = fs.Howler;
|
|
15205
|
+
export { ir as ArraySubject, Du as Button, J as ButtonState, Qa as Canvas, ao as Circle, Ld as Clip, eo as Container, jn as ControlsBase, Ja as ControlsDirective, wu as DOMContainer, Cu as DOMElement, Eu as DOMSprite, U as DisplayObject, sd as Drag, od as Drop, Xa as EVENTS, Ud as Easing, oo as Ellipse, ud as Flash, Au as FocusContainer, ku as FocusManager, fd as FogVisibility, Qn as GamepadControls, to as Graphics, fs as Howl, Jd as Howler, Mn as Input, Ou as Joystick, er as JoystickControls, Fn as KeyboardControls, fo as Mesh, ju as Navigation, bu as NineSliceSprite, or as ObjectSubject, Rd as Occlusion, Id as Outline, ds as ParticlesEmitter, Wd as RadialGradient, io as Rect, po as Scene, Ya as Scheduler, ld as Shake, rd as Sound, gs as Sprite, co as Svg, Nl as Text, Pl as TilingSprite, cd as Transition, so as Triangle, mn as Utils, _s as Video, yu as Viewport, td as ViewportFollow, Da as animatedSequence, Ea as animatedSignal, zd as bootstrapCanvas, Ua as checkDependencies, F as computed, qa as cond, V as createComponent, Gu as createHotComponent, qd as createTabindexNavigator, Iu as currentDefinePropsTracker, Fu as currentSubscriptionsTracker, B as destroyElement, I as effect, X as focusManager, Z as h, Ta as isAnimatedSignal, ar as isArraySubject, lr as isComputed, L as isElement, z as isElementFrozen, sr as isObjectSubject, Kt as isObservable, Ma as isPrimitive, P as isSignal, kl as isTrigger, ur as linkedSignal, Ka as loop, Vu as mount, Lu as mountTracker, jl as on, Ha as registerAllComponents, R as registerComponent, N as signal, Hu as tick, Al as trigger, dr as untracked, $u as useDefineEmits, Xu as useDefineProps, Hd as useFocusChange, Bd as useFocusIndex, Vd as useFocusedElement, Q as useProps, Wa as waitForDependencies };
|
|
15189
15206
|
|
|
15190
15207
|
//# sourceMappingURL=index.js.map
|