@vunk/plus 1.6.0 → 1.6.2
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/components/WebGLRenderer.mjs +1 -0
- package/components/WebGPURenderer.mjs +1 -0
- package/components/browserAll.mjs +1 -0
- package/components/index2.mjs +15 -6
- package/components/metahuman-broadcasting/index.mjs +31 -4
- package/components/metahuman-broadcasting/src/index.vue.d.ts +179 -4
- package/components/pixi-frame/index.mjs +1 -0
- package/components/pixi-frame/src/apng.vue.d.ts +13 -0
- package/components/pixi-frame/src/bitmap.vue.d.ts +34 -34
- package/components/pixi-frame/src/core.vue.d.ts +13 -0
- package/components/pixi-frame/src/ctx.d.ts +4 -0
- package/components/pixi-frame/src/index.vue.d.ts +69 -34
- package/components/pixi-frame/src/useSprite.d.ts +1 -0
- package/components/pixi-frame/src/video.vue.d.ts +13 -0
- package/components/text/src/ctx.d.ts +1 -1
- package/components/text/src/index.vue.d.ts +2 -2
- package/components/vditor/src/ctx.d.ts +1 -1
- package/components/vditor/src/index.vue.d.ts +1 -1
- package/components/webworkerAll.mjs +1 -0
- package/package.json +1 -1
- package/shared/audioToFrames/index.d.ts +1 -0
package/components/index2.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { TickerStatus } from '@vunk/shared/enum';
|
|
|
3
3
|
import { Deferred, sleep } from '@vunk/shared/promise';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers.mjs';
|
|
5
5
|
import { useModelComputed, useDeferred } from '@vunk/core/composables';
|
|
6
|
+
import { pickObject } from '@vunk/shared/object';
|
|
6
7
|
import { _ as _export_sfc } from './_plugin-vue_export-helper.mjs';
|
|
7
8
|
|
|
8
9
|
var lib = {exports: {}};
|
|
@@ -22023,6 +22024,10 @@ const props = {
|
|
|
22023
22024
|
prerender: {
|
|
22024
22025
|
type: Boolean,
|
|
22025
22026
|
default: false
|
|
22027
|
+
},
|
|
22028
|
+
visible: {
|
|
22029
|
+
type: Boolean,
|
|
22030
|
+
default: true
|
|
22026
22031
|
}
|
|
22027
22032
|
};
|
|
22028
22033
|
const emits = {
|
|
@@ -22059,6 +22064,9 @@ function useSprite(props) {
|
|
|
22059
22064
|
const { application: app, context } = usePixiApp();
|
|
22060
22065
|
const sprite = new Sprite();
|
|
22061
22066
|
app.stage.addChild(sprite);
|
|
22067
|
+
watchEffect(() => {
|
|
22068
|
+
sprite.visible = props.visible ?? true;
|
|
22069
|
+
});
|
|
22062
22070
|
watchEffect(() => {
|
|
22063
22071
|
props.label && (sprite.label = props.label);
|
|
22064
22072
|
});
|
|
@@ -22280,7 +22288,9 @@ var _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22280
22288
|
var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
22281
22289
|
__name: "bitmap",
|
|
22282
22290
|
props: {
|
|
22283
|
-
...props,
|
|
22291
|
+
...pickObject(props, {
|
|
22292
|
+
excludes: ["loop"]
|
|
22293
|
+
}),
|
|
22284
22294
|
data: {
|
|
22285
22295
|
type: void 0,
|
|
22286
22296
|
required: true
|
|
@@ -22352,7 +22362,7 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22352
22362
|
if (currentTexture) {
|
|
22353
22363
|
const originTexture = sprite.texture;
|
|
22354
22364
|
const originIndex = index.value - 1;
|
|
22355
|
-
if (originTexture && originIndex >= 0
|
|
22365
|
+
if (originTexture && originIndex >= 0) {
|
|
22356
22366
|
Promise.resolve(sleep(500)).then(() => {
|
|
22357
22367
|
originTexture.destroy(true);
|
|
22358
22368
|
textureMap.set(
|
|
@@ -22368,14 +22378,12 @@ var _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22368
22378
|
}
|
|
22369
22379
|
sprite.texture = currentTexture;
|
|
22370
22380
|
resizeSprite();
|
|
22371
|
-
index.value =
|
|
22381
|
+
index.value = index.value + 1;
|
|
22372
22382
|
} else {
|
|
22373
22383
|
console.warn(
|
|
22374
22384
|
`Texture for index ${index.value} not found. Ensure the texture is loaded.`
|
|
22375
22385
|
);
|
|
22376
22386
|
emit("notFound", index.value);
|
|
22377
|
-
if (!props.loop)
|
|
22378
|
-
emit("update:status", TickerStatus.paused);
|
|
22379
22387
|
}
|
|
22380
22388
|
}
|
|
22381
22389
|
onBeforeUnmount(stop);
|
|
@@ -22452,7 +22460,8 @@ var _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
22452
22460
|
}
|
|
22453
22461
|
Assets.add({
|
|
22454
22462
|
alias,
|
|
22455
|
-
src
|
|
22463
|
+
src,
|
|
22464
|
+
loadParser: "loadTextures"
|
|
22456
22465
|
});
|
|
22457
22466
|
textureMap.set(alias, void 0);
|
|
22458
22467
|
Assets.load(alias).then((res) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, createElementBlock, openBlock, Fragment, createVNode, unref, mergeProps, isRef } from 'vue';
|
|
1
|
+
import { defineComponent, ref, shallowReactive, onMounted, createElementBlock, openBlock, Fragment, createVNode, createBlock, createCommentVNode, unref, mergeProps, isRef } from 'vue';
|
|
2
2
|
import { VkBroadcastingMarkdown } from '@vunk/plus/components/broadcasting-markdown';
|
|
3
|
-
import { VkPixiFrameBitmap } from '@vunk/plus/components/pixi-frame';
|
|
3
|
+
import { VkPixiFrameBitmap, VkPixiFrameCore } from '@vunk/plus/components/pixi-frame';
|
|
4
4
|
import { StreamingInferenceService, getStremingStartData, blobToAudioBuffer, processStreaming } from '@vunk/plus/shared/audioToFrames';
|
|
5
5
|
export { workerConfig } from '@vunk/plus/shared/audioToFrames';
|
|
6
6
|
import { useModelComputed } from '@vunk/core/composables';
|
|
@@ -77,16 +77,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
const paragraphData = ref([]);
|
|
78
78
|
const streamingInferenceService = new StreamingInferenceService(props.modelUrl);
|
|
79
79
|
const frameUrls = ref([]);
|
|
80
|
+
const silentFrameUrls = shallowReactive([]);
|
|
80
81
|
const frameStatus = useModelComputed({
|
|
81
82
|
default: TickerStatus.pending,
|
|
82
83
|
key: "status"
|
|
83
84
|
}, props, emit);
|
|
85
|
+
const slientFrameStatus = ref(TickerStatus.pending);
|
|
84
86
|
onMounted(async () => {
|
|
85
87
|
await streamingInferenceService.when();
|
|
86
|
-
const { blendingMaskBitmap, dataset, zipBlob } = await getStremingStartData({
|
|
88
|
+
const { blendingMaskBitmap, dataset, zipBlob, zip } = await getStremingStartData({
|
|
87
89
|
datasetUrl: props.datasetUrl,
|
|
88
90
|
sourceUrl: props.sourceUrl
|
|
89
91
|
});
|
|
92
|
+
loadAllSilentFrames(dataset, zip);
|
|
90
93
|
await streamingInferenceService.startStreaming({
|
|
91
94
|
blendingMaskBitmap,
|
|
92
95
|
dataset,
|
|
@@ -131,6 +134,21 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
134
|
frameUrls.value.length = 0;
|
|
132
135
|
}
|
|
133
136
|
}
|
|
137
|
+
const ready = ref(false);
|
|
138
|
+
async function loadAllSilentFrames(dataset, zip) {
|
|
139
|
+
for (const image of dataset.images) {
|
|
140
|
+
const imageFile = zip.file(image.full_image);
|
|
141
|
+
if (imageFile) {
|
|
142
|
+
const blob = await imageFile.async("blob");
|
|
143
|
+
const url = URL.createObjectURL(blob);
|
|
144
|
+
silentFrameUrls.push(url);
|
|
145
|
+
}
|
|
146
|
+
if (slientFrameStatus.value === TickerStatus.pending) {
|
|
147
|
+
slientFrameStatus.value = TickerStatus.play;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
ready.value = true;
|
|
151
|
+
}
|
|
134
152
|
return (_ctx, _cache) => {
|
|
135
153
|
return openBlock(), createElementBlock(
|
|
136
154
|
Fragment,
|
|
@@ -149,7 +167,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
167
|
status: unref(frameStatus),
|
|
150
168
|
"onUpdate:status": _cache[1] || (_cache[1] = ($event) => isRef(frameStatus) ? frameStatus.value = $event : null),
|
|
151
169
|
data: frameUrls.value
|
|
152
|
-
}, null, 8, ["status", "data"])
|
|
170
|
+
}, null, 8, ["status", "data"]),
|
|
171
|
+
ready.value ? (openBlock(), createBlock(unref(VkPixiFrameCore), {
|
|
172
|
+
key: 0,
|
|
173
|
+
status: slientFrameStatus.value,
|
|
174
|
+
"onUpdate:status": _cache[2] || (_cache[2] = ($event) => slientFrameStatus.value = $event),
|
|
175
|
+
data: unref(silentFrameUrls),
|
|
176
|
+
loop: true,
|
|
177
|
+
prerender: true,
|
|
178
|
+
visible: unref(frameStatus) !== unref(TickerStatus).playing
|
|
179
|
+
}, null, 8, ["status", "data", "visible"])) : createCommentVNode("v-if", true)
|
|
153
180
|
],
|
|
154
181
|
64
|
|
155
182
|
/* STABLE_FRAGMENT */
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { __VkBroadcastingMarkdown } from '@vunk/plus/components/broadcasting-markdown';
|
|
2
|
+
import type { ImageDataResponse } from '@vunk/plus/shared/audioToFrames';
|
|
3
|
+
import type JSZip from 'jszip';
|
|
2
4
|
import type { Ref } from 'vue';
|
|
3
5
|
import { StreamingInferenceService } from '@vunk/plus/shared/audioToFrames';
|
|
4
6
|
import { TickerStatus } from '@vunk/shared/enum';
|
|
@@ -76,10 +78,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
78
|
readonly width: number;
|
|
77
79
|
close: () => void;
|
|
78
80
|
}[]>;
|
|
81
|
+
silentFrameUrls: import("vue").ShallowReactive<string[]>;
|
|
79
82
|
frameStatus: import("vue").WritableComputedRef<TickerStatus, TickerStatus>;
|
|
83
|
+
slientFrameStatus: Ref<TickerStatus, TickerStatus>;
|
|
80
84
|
requestProcessStreaming: (buffer: AudioBuffer) => Promise<void>;
|
|
81
85
|
processingParagraph: (item: __VkBroadcastingMarkdown.Paragraph) => Promise<void>;
|
|
82
86
|
allParagraphCompleted: (v: boolean) => void;
|
|
87
|
+
ready: Ref<boolean, boolean>;
|
|
88
|
+
loadAllSilentFrames: (dataset: ImageDataResponse, zip: JSZip) => Promise<void>;
|
|
83
89
|
readonly VkBroadcastingMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
84
90
|
render: {
|
|
85
91
|
type: import("vue").PropType<(text: string) => string>;
|
|
@@ -508,6 +514,159 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
508
514
|
frameIndex: {
|
|
509
515
|
type: NumberConstructor;
|
|
510
516
|
};
|
|
517
|
+
status: {
|
|
518
|
+
type: import("vue").PropType<TickerStatus>;
|
|
519
|
+
default: TickerStatus;
|
|
520
|
+
};
|
|
521
|
+
url: {
|
|
522
|
+
type: StringConstructor;
|
|
523
|
+
requierd: false;
|
|
524
|
+
};
|
|
525
|
+
label: {
|
|
526
|
+
type: StringConstructor;
|
|
527
|
+
default: string;
|
|
528
|
+
};
|
|
529
|
+
resize: {
|
|
530
|
+
type: import("vue").PropType<import("../../pixi-frame/src/types").Resize>;
|
|
531
|
+
default: undefined;
|
|
532
|
+
};
|
|
533
|
+
visible: {
|
|
534
|
+
type: BooleanConstructor;
|
|
535
|
+
default: boolean;
|
|
536
|
+
};
|
|
537
|
+
prerender: {
|
|
538
|
+
type: BooleanConstructor;
|
|
539
|
+
default: boolean;
|
|
540
|
+
};
|
|
541
|
+
frameRate: {
|
|
542
|
+
type: NumberConstructor;
|
|
543
|
+
default: number;
|
|
544
|
+
};
|
|
545
|
+
}>, {
|
|
546
|
+
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
547
|
+
data: {
|
|
548
|
+
type: import("vue").PropType<ImageBitmap[]>;
|
|
549
|
+
required: true;
|
|
550
|
+
};
|
|
551
|
+
frameIndex: {
|
|
552
|
+
type: NumberConstructor;
|
|
553
|
+
};
|
|
554
|
+
status: {
|
|
555
|
+
type: import("vue").PropType<TickerStatus>;
|
|
556
|
+
default: TickerStatus;
|
|
557
|
+
};
|
|
558
|
+
url: {
|
|
559
|
+
type: StringConstructor;
|
|
560
|
+
requierd: false;
|
|
561
|
+
};
|
|
562
|
+
label: {
|
|
563
|
+
type: StringConstructor;
|
|
564
|
+
default: string;
|
|
565
|
+
};
|
|
566
|
+
resize: {
|
|
567
|
+
type: import("vue").PropType<import("../../pixi-frame/src/types").Resize>;
|
|
568
|
+
default: undefined;
|
|
569
|
+
};
|
|
570
|
+
visible: {
|
|
571
|
+
type: BooleanConstructor;
|
|
572
|
+
default: boolean;
|
|
573
|
+
};
|
|
574
|
+
prerender: {
|
|
575
|
+
type: BooleanConstructor;
|
|
576
|
+
default: boolean;
|
|
577
|
+
};
|
|
578
|
+
frameRate: {
|
|
579
|
+
type: NumberConstructor;
|
|
580
|
+
default: number;
|
|
581
|
+
};
|
|
582
|
+
}>> & Readonly<{
|
|
583
|
+
onSetData?: ((...args: any[]) => any) | undefined;
|
|
584
|
+
onLoad?: ((e: import("../../pixi-frame/src/types").LoadEvent) => any) | undefined;
|
|
585
|
+
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
586
|
+
"onUpdate:data"?: ((...args: any[]) => any) | undefined;
|
|
587
|
+
"onUpdate:frameIndex"?: ((...args: any[]) => any) | undefined;
|
|
588
|
+
onNotFound?: ((_index: number) => any) | undefined;
|
|
589
|
+
}> & {}>;
|
|
590
|
+
emit: ((event: "setData", ...args: any[]) => void) & ((event: "load", e: import("../../pixi-frame/src/types").LoadEvent) => void) & ((event: "update:status", ...args: any[]) => void) & ((event: "update:data", ...args: any[]) => void) & ((event: "update:frameIndex", ...args: any[]) => void) & ((event: "notFound", _index: number) => void);
|
|
591
|
+
compId: string;
|
|
592
|
+
getAlias: (key: string | number) => string;
|
|
593
|
+
sprite: import("pixi.js").Sprite;
|
|
594
|
+
resizeSprite: () => void;
|
|
595
|
+
application: import("pixi.js").Application<import("pixi.js").Renderer>;
|
|
596
|
+
textureMap: Map<string, import("pixi.js").Texture<import("pixi.js").TextureSource<any>>>;
|
|
597
|
+
completedIndex: Ref<number, number>;
|
|
598
|
+
enabledData: import("vue").ComputedRef<ImageBitmap[]>;
|
|
599
|
+
index: import("vue").WritableComputedRef<number, number>;
|
|
600
|
+
drawFrame: () => void;
|
|
601
|
+
play: () => void;
|
|
602
|
+
pause: () => void;
|
|
603
|
+
stop: () => void;
|
|
604
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
605
|
+
load: (e: import("../../pixi-frame/src/types").LoadEvent) => import("../../pixi-frame/src/types").LoadEvent;
|
|
606
|
+
'update:frameIndex': null;
|
|
607
|
+
notFound: (_index: number) => true;
|
|
608
|
+
'update:status': null;
|
|
609
|
+
'update:data': null;
|
|
610
|
+
setData: null;
|
|
611
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
612
|
+
data: {
|
|
613
|
+
type: import("vue").PropType<ImageBitmap[]>;
|
|
614
|
+
required: true;
|
|
615
|
+
};
|
|
616
|
+
frameIndex: {
|
|
617
|
+
type: NumberConstructor;
|
|
618
|
+
};
|
|
619
|
+
status: {
|
|
620
|
+
type: import("vue").PropType<TickerStatus>;
|
|
621
|
+
default: TickerStatus;
|
|
622
|
+
};
|
|
623
|
+
url: {
|
|
624
|
+
type: StringConstructor;
|
|
625
|
+
requierd: false;
|
|
626
|
+
};
|
|
627
|
+
label: {
|
|
628
|
+
type: StringConstructor;
|
|
629
|
+
default: string;
|
|
630
|
+
};
|
|
631
|
+
resize: {
|
|
632
|
+
type: import("vue").PropType<import("../../pixi-frame/src/types").Resize>;
|
|
633
|
+
default: undefined;
|
|
634
|
+
};
|
|
635
|
+
visible: {
|
|
636
|
+
type: BooleanConstructor;
|
|
637
|
+
default: boolean;
|
|
638
|
+
};
|
|
639
|
+
prerender: {
|
|
640
|
+
type: BooleanConstructor;
|
|
641
|
+
default: boolean;
|
|
642
|
+
};
|
|
643
|
+
frameRate: {
|
|
644
|
+
type: NumberConstructor;
|
|
645
|
+
default: number;
|
|
646
|
+
};
|
|
647
|
+
}>> & Readonly<{
|
|
648
|
+
onSetData?: ((...args: any[]) => any) | undefined;
|
|
649
|
+
onLoad?: ((e: import("../../pixi-frame/src/types").LoadEvent) => any) | undefined;
|
|
650
|
+
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
651
|
+
"onUpdate:data"?: ((...args: any[]) => any) | undefined;
|
|
652
|
+
"onUpdate:frameIndex"?: ((...args: any[]) => any) | undefined;
|
|
653
|
+
onNotFound?: ((_index: number) => any) | undefined;
|
|
654
|
+
}>, {
|
|
655
|
+
status: TickerStatus;
|
|
656
|
+
label: string;
|
|
657
|
+
resize: import("../../pixi-frame/src/types").Resize;
|
|
658
|
+
visible: boolean;
|
|
659
|
+
prerender: boolean;
|
|
660
|
+
frameRate: number;
|
|
661
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
662
|
+
readonly VkPixiFrameCore: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
663
|
+
data: {
|
|
664
|
+
type: import("vue").PropType<string[] | import("../../pixi-frame/src/types").Datum[]>;
|
|
665
|
+
required: true;
|
|
666
|
+
};
|
|
667
|
+
frameIndex: {
|
|
668
|
+
type: NumberConstructor;
|
|
669
|
+
};
|
|
511
670
|
url: {
|
|
512
671
|
type: StringConstructor;
|
|
513
672
|
requierd: false;
|
|
@@ -536,10 +695,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
536
695
|
type: BooleanConstructor;
|
|
537
696
|
default: boolean;
|
|
538
697
|
};
|
|
698
|
+
visible: {
|
|
699
|
+
type: BooleanConstructor;
|
|
700
|
+
default: boolean;
|
|
701
|
+
};
|
|
539
702
|
}>, {
|
|
540
703
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
541
704
|
data: {
|
|
542
|
-
type: import("vue").PropType<
|
|
705
|
+
type: import("vue").PropType<string[] | import("../../pixi-frame/src/types").Datum[]>;
|
|
543
706
|
required: true;
|
|
544
707
|
};
|
|
545
708
|
frameIndex: {
|
|
@@ -573,6 +736,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
573
736
|
type: BooleanConstructor;
|
|
574
737
|
default: boolean;
|
|
575
738
|
};
|
|
739
|
+
visible: {
|
|
740
|
+
type: BooleanConstructor;
|
|
741
|
+
default: boolean;
|
|
742
|
+
};
|
|
576
743
|
}>> & Readonly<{
|
|
577
744
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
578
745
|
onLoad?: ((e: import("../../pixi-frame/src/types").LoadEvent) => any) | undefined;
|
|
@@ -589,9 +756,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
589
756
|
application: import("pixi.js").Application<import("pixi.js").Renderer>;
|
|
590
757
|
textureMap: Map<string, import("pixi.js").Texture<import("pixi.js").TextureSource<any>>>;
|
|
591
758
|
completedIndex: Ref<number, number>;
|
|
592
|
-
enabledData: import("vue").ComputedRef<
|
|
759
|
+
enabledData: import("vue").ComputedRef<string[] | import("../../pixi-frame/src/types").Datum[]>;
|
|
593
760
|
index: import("vue").WritableComputedRef<number, number>;
|
|
594
|
-
|
|
761
|
+
animationId: number | null;
|
|
762
|
+
lastFrameTime: number;
|
|
763
|
+
startFrameLoop: () => void;
|
|
595
764
|
play: () => void;
|
|
596
765
|
pause: () => void;
|
|
597
766
|
stop: () => void;
|
|
@@ -604,7 +773,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
604
773
|
setData: null;
|
|
605
774
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
606
775
|
data: {
|
|
607
|
-
type: import("vue").PropType<
|
|
776
|
+
type: import("vue").PropType<string[] | import("../../pixi-frame/src/types").Datum[]>;
|
|
608
777
|
required: true;
|
|
609
778
|
};
|
|
610
779
|
frameIndex: {
|
|
@@ -638,6 +807,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
638
807
|
type: BooleanConstructor;
|
|
639
808
|
default: boolean;
|
|
640
809
|
};
|
|
810
|
+
visible: {
|
|
811
|
+
type: BooleanConstructor;
|
|
812
|
+
default: boolean;
|
|
813
|
+
};
|
|
641
814
|
}>> & Readonly<{
|
|
642
815
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
643
816
|
onLoad?: ((e: import("../../pixi-frame/src/types").LoadEvent) => any) | undefined;
|
|
@@ -649,11 +822,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
649
822
|
status: TickerStatus;
|
|
650
823
|
label: string;
|
|
651
824
|
resize: import("../../pixi-frame/src/types").Resize;
|
|
825
|
+
visible: boolean;
|
|
652
826
|
prerender: boolean;
|
|
653
827
|
loop: boolean;
|
|
654
828
|
frameRate: number;
|
|
655
829
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
656
830
|
readonly setData: (obj: any, e: import("@vunk/core/shared").SetDataEvent) => void;
|
|
831
|
+
readonly TickerStatus: typeof TickerStatus;
|
|
657
832
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
658
833
|
'update:status': null;
|
|
659
834
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -33,6 +33,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
type: BooleanConstructor;
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
|
+
visible: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
36
40
|
}>, {
|
|
37
41
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
38
42
|
url: {
|
|
@@ -67,6 +71,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
71
|
type: BooleanConstructor;
|
|
68
72
|
default: boolean;
|
|
69
73
|
};
|
|
74
|
+
visible: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
70
78
|
}>> & Readonly<{
|
|
71
79
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
72
80
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -132,6 +140,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
132
140
|
type: BooleanConstructor;
|
|
133
141
|
default: boolean;
|
|
134
142
|
};
|
|
143
|
+
visible: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
135
147
|
}>> & Readonly<{
|
|
136
148
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
137
149
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -141,6 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
141
153
|
status: TickerStatus;
|
|
142
154
|
label: string;
|
|
143
155
|
resize: import("./types").Resize;
|
|
156
|
+
visible: boolean;
|
|
144
157
|
prerender: boolean;
|
|
145
158
|
loop: boolean;
|
|
146
159
|
frameRate: number;
|
|
@@ -10,21 +10,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10
10
|
frameIndex: {
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
};
|
|
13
|
-
url: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
requierd: false;
|
|
16
|
-
};
|
|
17
|
-
loop: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
13
|
status: {
|
|
22
14
|
type: PropType<TickerStatus>;
|
|
23
15
|
default: TickerStatus;
|
|
24
16
|
};
|
|
25
|
-
|
|
26
|
-
type:
|
|
27
|
-
|
|
17
|
+
url: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
requierd: false;
|
|
28
20
|
};
|
|
29
21
|
label: {
|
|
30
22
|
type: StringConstructor;
|
|
@@ -34,10 +26,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
26
|
type: PropType<import("./types").Resize>;
|
|
35
27
|
default: undefined;
|
|
36
28
|
};
|
|
29
|
+
visible: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
37
33
|
prerender: {
|
|
38
34
|
type: BooleanConstructor;
|
|
39
35
|
default: boolean;
|
|
40
36
|
};
|
|
37
|
+
frameRate: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
41
|
}>, {
|
|
42
42
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
data: {
|
|
@@ -47,21 +47,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
frameIndex: {
|
|
48
48
|
type: NumberConstructor;
|
|
49
49
|
};
|
|
50
|
-
url: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
requierd: false;
|
|
53
|
-
};
|
|
54
|
-
loop: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
50
|
status: {
|
|
59
51
|
type: PropType<TickerStatus>;
|
|
60
52
|
default: TickerStatus;
|
|
61
53
|
};
|
|
62
|
-
|
|
63
|
-
type:
|
|
64
|
-
|
|
54
|
+
url: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
requierd: false;
|
|
65
57
|
};
|
|
66
58
|
label: {
|
|
67
59
|
type: StringConstructor;
|
|
@@ -71,10 +63,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
71
63
|
type: PropType<import("./types").Resize>;
|
|
72
64
|
default: undefined;
|
|
73
65
|
};
|
|
66
|
+
visible: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
74
70
|
prerender: {
|
|
75
71
|
type: BooleanConstructor;
|
|
76
72
|
default: boolean;
|
|
77
73
|
};
|
|
74
|
+
frameRate: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
78
|
}>> & Readonly<{
|
|
79
79
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
onLoad?: ((e: LoadEvent) => any) | undefined;
|
|
@@ -112,21 +112,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
112
112
|
frameIndex: {
|
|
113
113
|
type: NumberConstructor;
|
|
114
114
|
};
|
|
115
|
-
url: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
requierd: false;
|
|
118
|
-
};
|
|
119
|
-
loop: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
115
|
status: {
|
|
124
116
|
type: PropType<TickerStatus>;
|
|
125
117
|
default: TickerStatus;
|
|
126
118
|
};
|
|
127
|
-
|
|
128
|
-
type:
|
|
129
|
-
|
|
119
|
+
url: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
requierd: false;
|
|
130
122
|
};
|
|
131
123
|
label: {
|
|
132
124
|
type: StringConstructor;
|
|
@@ -136,10 +128,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
136
128
|
type: PropType<import("./types").Resize>;
|
|
137
129
|
default: undefined;
|
|
138
130
|
};
|
|
131
|
+
visible: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
139
135
|
prerender: {
|
|
140
136
|
type: BooleanConstructor;
|
|
141
137
|
default: boolean;
|
|
142
138
|
};
|
|
139
|
+
frameRate: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
143
|
}>> & Readonly<{
|
|
144
144
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
145
145
|
onLoad?: ((e: LoadEvent) => any) | undefined;
|
|
@@ -151,8 +151,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
151
|
status: TickerStatus;
|
|
152
152
|
label: string;
|
|
153
153
|
resize: import("./types").Resize;
|
|
154
|
+
visible: boolean;
|
|
154
155
|
prerender: boolean;
|
|
155
|
-
loop: boolean;
|
|
156
156
|
frameRate: number;
|
|
157
157
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
158
158
|
export default _default;
|
|
@@ -38,6 +38,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
type: BooleanConstructor;
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
41
45
|
}>, {
|
|
42
46
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
43
47
|
data: {
|
|
@@ -75,6 +79,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
79
|
type: BooleanConstructor;
|
|
76
80
|
default: boolean;
|
|
77
81
|
};
|
|
82
|
+
visible: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
78
86
|
}>> & Readonly<{
|
|
79
87
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
80
88
|
onLoad?: ((e: LoadEvent) => any) | undefined;
|
|
@@ -142,6 +150,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
142
150
|
type: BooleanConstructor;
|
|
143
151
|
default: boolean;
|
|
144
152
|
};
|
|
153
|
+
visible: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
145
157
|
}>> & Readonly<{
|
|
146
158
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
147
159
|
onLoad?: ((e: LoadEvent) => any) | undefined;
|
|
@@ -153,6 +165,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
153
165
|
status: TickerStatus;
|
|
154
166
|
label: string;
|
|
155
167
|
resize: import("./types").Resize;
|
|
168
|
+
visible: boolean;
|
|
156
169
|
prerender: boolean;
|
|
157
170
|
loop: boolean;
|
|
158
171
|
frameRate: number;
|
|
@@ -31,6 +31,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
+
visible: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
34
38
|
}>, {
|
|
35
39
|
isApng: import("vue").ComputedRef<boolean>;
|
|
36
40
|
isVideo: import("vue").ComputedRef<boolean>;
|
|
@@ -71,6 +75,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
71
75
|
type: BooleanConstructor;
|
|
72
76
|
default: boolean;
|
|
73
77
|
};
|
|
78
|
+
visible: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
74
82
|
}>> & Readonly<{
|
|
75
83
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
76
84
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -80,6 +88,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
80
88
|
status: import("@vunk/shared/enum").TickerStatus;
|
|
81
89
|
label: string;
|
|
82
90
|
resize: import("./types").Resize;
|
|
91
|
+
visible: boolean;
|
|
83
92
|
prerender: boolean;
|
|
84
93
|
loop: boolean;
|
|
85
94
|
frameRate: number;
|
|
@@ -117,6 +126,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
117
126
|
type: BooleanConstructor;
|
|
118
127
|
default: boolean;
|
|
119
128
|
};
|
|
129
|
+
visible: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
120
133
|
}>, {
|
|
121
134
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
122
135
|
url: {
|
|
@@ -151,6 +164,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
164
|
type: BooleanConstructor;
|
|
152
165
|
default: boolean;
|
|
153
166
|
};
|
|
167
|
+
visible: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
154
171
|
}>> & Readonly<{
|
|
155
172
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
156
173
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -216,6 +233,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
216
233
|
type: BooleanConstructor;
|
|
217
234
|
default: boolean;
|
|
218
235
|
};
|
|
236
|
+
visible: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
219
240
|
}>> & Readonly<{
|
|
220
241
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
221
242
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -225,6 +246,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
225
246
|
status: import("@vunk/shared/enum").TickerStatus;
|
|
226
247
|
label: string;
|
|
227
248
|
resize: import("./types").Resize;
|
|
249
|
+
visible: boolean;
|
|
228
250
|
prerender: boolean;
|
|
229
251
|
loop: boolean;
|
|
230
252
|
frameRate: number;
|
|
@@ -289,6 +311,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
289
311
|
type: BooleanConstructor;
|
|
290
312
|
default: boolean;
|
|
291
313
|
};
|
|
314
|
+
visible: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
292
318
|
}>, {
|
|
293
319
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
294
320
|
url: {
|
|
@@ -323,6 +349,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
323
349
|
type: BooleanConstructor;
|
|
324
350
|
default: boolean;
|
|
325
351
|
};
|
|
352
|
+
visible: {
|
|
353
|
+
type: BooleanConstructor;
|
|
354
|
+
default: boolean;
|
|
355
|
+
};
|
|
326
356
|
}>> & Readonly<{
|
|
327
357
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
328
358
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -386,6 +416,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
386
416
|
type: BooleanConstructor;
|
|
387
417
|
default: boolean;
|
|
388
418
|
};
|
|
419
|
+
visible: {
|
|
420
|
+
type: BooleanConstructor;
|
|
421
|
+
default: boolean;
|
|
422
|
+
};
|
|
389
423
|
}>> & Readonly<{
|
|
390
424
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
391
425
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -395,6 +429,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
395
429
|
status: import("@vunk/shared/enum").TickerStatus;
|
|
396
430
|
label: string;
|
|
397
431
|
resize: import("./types").Resize;
|
|
432
|
+
visible: boolean;
|
|
398
433
|
prerender: boolean;
|
|
399
434
|
loop: boolean;
|
|
400
435
|
frameRate: number;
|
|
@@ -407,21 +442,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
407
442
|
frameIndex: {
|
|
408
443
|
type: NumberConstructor;
|
|
409
444
|
};
|
|
410
|
-
url: {
|
|
411
|
-
type: StringConstructor;
|
|
412
|
-
requierd: false;
|
|
413
|
-
};
|
|
414
|
-
loop: {
|
|
415
|
-
type: BooleanConstructor;
|
|
416
|
-
default: boolean;
|
|
417
|
-
};
|
|
418
445
|
status: {
|
|
419
446
|
type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
|
|
420
447
|
default: import("@vunk/shared/enum").TickerStatus;
|
|
421
448
|
};
|
|
422
|
-
|
|
423
|
-
type:
|
|
424
|
-
|
|
449
|
+
url: {
|
|
450
|
+
type: StringConstructor;
|
|
451
|
+
requierd: false;
|
|
425
452
|
};
|
|
426
453
|
label: {
|
|
427
454
|
type: StringConstructor;
|
|
@@ -431,10 +458,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
431
458
|
type: import("vue").PropType<import("./types").Resize>;
|
|
432
459
|
default: undefined;
|
|
433
460
|
};
|
|
461
|
+
visible: {
|
|
462
|
+
type: BooleanConstructor;
|
|
463
|
+
default: boolean;
|
|
464
|
+
};
|
|
434
465
|
prerender: {
|
|
435
466
|
type: BooleanConstructor;
|
|
436
467
|
default: boolean;
|
|
437
468
|
};
|
|
469
|
+
frameRate: {
|
|
470
|
+
type: NumberConstructor;
|
|
471
|
+
default: number;
|
|
472
|
+
};
|
|
438
473
|
}>, {
|
|
439
474
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
440
475
|
data: {
|
|
@@ -444,21 +479,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
444
479
|
frameIndex: {
|
|
445
480
|
type: NumberConstructor;
|
|
446
481
|
};
|
|
447
|
-
url: {
|
|
448
|
-
type: StringConstructor;
|
|
449
|
-
requierd: false;
|
|
450
|
-
};
|
|
451
|
-
loop: {
|
|
452
|
-
type: BooleanConstructor;
|
|
453
|
-
default: boolean;
|
|
454
|
-
};
|
|
455
482
|
status: {
|
|
456
483
|
type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
|
|
457
484
|
default: import("@vunk/shared/enum").TickerStatus;
|
|
458
485
|
};
|
|
459
|
-
|
|
460
|
-
type:
|
|
461
|
-
|
|
486
|
+
url: {
|
|
487
|
+
type: StringConstructor;
|
|
488
|
+
requierd: false;
|
|
462
489
|
};
|
|
463
490
|
label: {
|
|
464
491
|
type: StringConstructor;
|
|
@@ -468,10 +495,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
468
495
|
type: import("vue").PropType<import("./types").Resize>;
|
|
469
496
|
default: undefined;
|
|
470
497
|
};
|
|
498
|
+
visible: {
|
|
499
|
+
type: BooleanConstructor;
|
|
500
|
+
default: boolean;
|
|
501
|
+
};
|
|
471
502
|
prerender: {
|
|
472
503
|
type: BooleanConstructor;
|
|
473
504
|
default: boolean;
|
|
474
505
|
};
|
|
506
|
+
frameRate: {
|
|
507
|
+
type: NumberConstructor;
|
|
508
|
+
default: number;
|
|
509
|
+
};
|
|
475
510
|
}>> & Readonly<{
|
|
476
511
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
477
512
|
onLoad?: ((e: import("./types").LoadEvent) => any) | undefined;
|
|
@@ -509,21 +544,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
509
544
|
frameIndex: {
|
|
510
545
|
type: NumberConstructor;
|
|
511
546
|
};
|
|
512
|
-
url: {
|
|
513
|
-
type: StringConstructor;
|
|
514
|
-
requierd: false;
|
|
515
|
-
};
|
|
516
|
-
loop: {
|
|
517
|
-
type: BooleanConstructor;
|
|
518
|
-
default: boolean;
|
|
519
|
-
};
|
|
520
547
|
status: {
|
|
521
548
|
type: import("vue").PropType<import("@vunk/shared/enum").TickerStatus>;
|
|
522
549
|
default: import("@vunk/shared/enum").TickerStatus;
|
|
523
550
|
};
|
|
524
|
-
|
|
525
|
-
type:
|
|
526
|
-
|
|
551
|
+
url: {
|
|
552
|
+
type: StringConstructor;
|
|
553
|
+
requierd: false;
|
|
527
554
|
};
|
|
528
555
|
label: {
|
|
529
556
|
type: StringConstructor;
|
|
@@ -533,10 +560,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
533
560
|
type: import("vue").PropType<import("./types").Resize>;
|
|
534
561
|
default: undefined;
|
|
535
562
|
};
|
|
563
|
+
visible: {
|
|
564
|
+
type: BooleanConstructor;
|
|
565
|
+
default: boolean;
|
|
566
|
+
};
|
|
536
567
|
prerender: {
|
|
537
568
|
type: BooleanConstructor;
|
|
538
569
|
default: boolean;
|
|
539
570
|
};
|
|
571
|
+
frameRate: {
|
|
572
|
+
type: NumberConstructor;
|
|
573
|
+
default: number;
|
|
574
|
+
};
|
|
540
575
|
}>> & Readonly<{
|
|
541
576
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
542
577
|
onLoad?: ((e: import("./types").LoadEvent) => any) | undefined;
|
|
@@ -548,8 +583,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
548
583
|
status: import("@vunk/shared/enum").TickerStatus;
|
|
549
584
|
label: string;
|
|
550
585
|
resize: import("./types").Resize;
|
|
586
|
+
visible: boolean;
|
|
551
587
|
prerender: boolean;
|
|
552
|
-
loop: boolean;
|
|
553
588
|
frameRate: number;
|
|
554
589
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
555
590
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -33,6 +33,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
type: BooleanConstructor;
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
|
+
visible: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
36
40
|
}>, {
|
|
37
41
|
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
38
42
|
url: {
|
|
@@ -67,6 +71,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
71
|
type: BooleanConstructor;
|
|
68
72
|
default: boolean;
|
|
69
73
|
};
|
|
74
|
+
visible: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
70
78
|
}>> & Readonly<{
|
|
71
79
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
72
80
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -130,6 +138,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
138
|
type: BooleanConstructor;
|
|
131
139
|
default: boolean;
|
|
132
140
|
};
|
|
141
|
+
visible: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
133
145
|
}>> & Readonly<{
|
|
134
146
|
onSetData?: ((...args: any[]) => any) | undefined;
|
|
135
147
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
@@ -139,6 +151,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
139
151
|
status: TickerStatus;
|
|
140
152
|
label: string;
|
|
141
153
|
resize: import("./types").Resize;
|
|
154
|
+
visible: boolean;
|
|
142
155
|
prerender: boolean;
|
|
143
156
|
loop: boolean;
|
|
144
157
|
frameRate: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const createTextBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"tag", keyof T2> | Extract<"truncated", keyof T2> | Extract<"lineClamp", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"tag", keyof T2>, KE> | Exclude<Extract<"truncated", keyof T2>, KE> | Exclude<Extract<"lineClamp", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"tag", keyof T2> | Extract<"truncated", keyof T2> | Extract<"lineClamp", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"tag", keyof T2> | Extract<"truncated", keyof T2> | Extract<"lineClamp", keyof T2>]: T2[k]; }[P]; }>;
|
|
2
|
-
export declare const createTooltipBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"id", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"
|
|
2
|
+
export declare const createTooltipBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"id", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"open", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"arrowOffset", keyof T2> | Extract<"trigger", keyof T2> | Extract<"triggerKeys", keyof T2> | Extract<"virtualRef", keyof T2> | Extract<"virtualTriggering", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"rawContent", keyof T2> | Extract<"persistent", keyof T2> | Extract<"transition", keyof T2> | Extract<"effect", keyof T2> | Extract<"enterable", keyof T2> | Extract<"pure", keyof T2> | Extract<"focusOnShow", keyof T2> | Extract<"trapping", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"referenceEl", keyof T2> | Extract<"triggerTargetEl", keyof T2> | Extract<"stopPopperMouseEvent", keyof T2> | Extract<"boundariesPadding", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"gpuAcceleration", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"strategy", keyof T2> | Extract<"showAfter", keyof T2> | Extract<"hideAfter", keyof T2> | Extract<"autoClose", keyof T2> | Extract<"onUpdate:visible", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"style", keyof T2>, KE> | Exclude<Extract<"content", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"role", keyof T2>, KE> | Exclude<Extract<"onClick", keyof T2>, KE> | Exclude<Extract<"onFocus", keyof T2>, KE> | Exclude<Extract<"onBlur", keyof T2>, KE> | Exclude<Extract<"onKeydown", keyof T2>, KE> | Exclude<Extract<"onContextmenu", keyof T2>, KE> | Exclude<Extract<"onMouseenter", keyof T2>, KE> | Exclude<Extract<"onMouseleave", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> | Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"zIndex", keyof T2>, KE> | Exclude<Extract<"open", keyof T2>, KE> | Exclude<Extract<"visible", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"arrowOffset", keyof T2>, KE> | Exclude<Extract<"trigger", keyof T2>, KE> | Exclude<Extract<"triggerKeys", keyof T2>, KE> | Exclude<Extract<"virtualRef", keyof T2>, KE> | Exclude<Extract<"virtualTriggering", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"rawContent", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"transition", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"enterable", keyof T2>, KE> | Exclude<Extract<"pure", keyof T2>, KE> | Exclude<Extract<"focusOnShow", keyof T2>, KE> | Exclude<Extract<"trapping", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"referenceEl", keyof T2>, KE> | Exclude<Extract<"triggerTargetEl", keyof T2>, KE> | Exclude<Extract<"stopPopperMouseEvent", keyof T2>, KE> | Exclude<Extract<"boundariesPadding", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"gpuAcceleration", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"strategy", keyof T2>, KE> | Exclude<Extract<"showAfter", keyof T2>, KE> | Exclude<Extract<"hideAfter", keyof T2>, KE> | Exclude<Extract<"autoClose", keyof T2>, KE> | Exclude<Extract<"onUpdate:visible", keyof T2>, KE> : Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"id", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"open", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"arrowOffset", keyof T2> | Extract<"trigger", keyof T2> | Extract<"triggerKeys", keyof T2> | Extract<"virtualRef", keyof T2> | Extract<"virtualTriggering", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"rawContent", keyof T2> | Extract<"persistent", keyof T2> | Extract<"transition", keyof T2> | Extract<"effect", keyof T2> | Extract<"enterable", keyof T2> | Extract<"pure", keyof T2> | Extract<"focusOnShow", keyof T2> | Extract<"trapping", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"referenceEl", keyof T2> | Extract<"triggerTargetEl", keyof T2> | Extract<"stopPopperMouseEvent", keyof T2> | Extract<"boundariesPadding", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"gpuAcceleration", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"strategy", keyof T2> | Extract<"showAfter", keyof T2> | Extract<"hideAfter", keyof T2> | Extract<"autoClose", keyof T2> | Extract<"onUpdate:visible", keyof T2>]: { [k in Extract<"disabled", keyof T2> | Extract<"style", keyof T2> | Extract<"content", keyof T2> | Extract<"placement", keyof T2> | Extract<"role", keyof T2> | Extract<"onClick", keyof T2> | Extract<"onFocus", keyof T2> | Extract<"onBlur", keyof T2> | Extract<"onKeydown", keyof T2> | Extract<"onContextmenu", keyof T2> | Extract<"onMouseenter", keyof T2> | Extract<"onMouseleave", keyof T2> | Extract<"className", keyof T2> | Extract<"id", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"offset", keyof T2> | Extract<"zIndex", keyof T2> | Extract<"open", keyof T2> | Extract<"visible", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"arrowOffset", keyof T2> | Extract<"trigger", keyof T2> | Extract<"triggerKeys", keyof T2> | Extract<"virtualRef", keyof T2> | Extract<"virtualTriggering", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"rawContent", keyof T2> | Extract<"persistent", keyof T2> | Extract<"transition", keyof T2> | Extract<"effect", keyof T2> | Extract<"enterable", keyof T2> | Extract<"pure", keyof T2> | Extract<"focusOnShow", keyof T2> | Extract<"trapping", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"referenceEl", keyof T2> | Extract<"triggerTargetEl", keyof T2> | Extract<"stopPopperMouseEvent", keyof T2> | Extract<"boundariesPadding", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"gpuAcceleration", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"strategy", keyof T2> | Extract<"showAfter", keyof T2> | Extract<"hideAfter", keyof T2> | Extract<"autoClose", keyof T2> | Extract<"onUpdate:visible", keyof T2>]: T2[k]; }[P]; }>;
|
|
3
3
|
export declare const props: {
|
|
4
4
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
5
5
|
arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
@@ -738,8 +738,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
738
738
|
appendTo: import("element-plus").ButtonType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown> | undefined;
|
|
739
739
|
offset: number;
|
|
740
740
|
zIndex: number | undefined;
|
|
741
|
-
visible: import("element-plus").ButtonType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
|
742
741
|
open: boolean;
|
|
742
|
+
visible: import("element-plus").ButtonType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
|
743
743
|
popperClass: import("element-plus").ButtonType<(new (...args: any[]) => string | {
|
|
744
744
|
[x: string]: boolean;
|
|
745
745
|
} | (string | {
|
|
@@ -2285,8 +2285,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2285
2285
|
role: import("element-plus").ButtonType<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown>;
|
|
2286
2286
|
tag: string;
|
|
2287
2287
|
offset: number;
|
|
2288
|
-
visible: import("element-plus").ButtonType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
|
2289
2288
|
open: boolean;
|
|
2289
|
+
visible: import("element-plus").ButtonType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
|
2290
2290
|
teleported: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
|
|
2291
2291
|
showArrow: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
|
|
2292
2292
|
arrowOffset: number;
|
|
@@ -22,7 +22,7 @@ export declare const props: {
|
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"
|
|
25
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"toolbar", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"fullscreen", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"toolbar", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"fullscreen", keyof T2>]: T2[k]; }[P]; }>;
|
|
26
26
|
export declare const emits: {
|
|
27
27
|
load: (e: Vditor) => Vditor;
|
|
28
28
|
'update:modelValue': (e: string) => string;
|
|
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
60
60
|
}>, {
|
|
61
61
|
modelValue: string;
|
|
62
62
|
placeholder: string;
|
|
63
|
-
defaultOptions: IOptions;
|
|
64
63
|
toolbar: string[];
|
|
64
|
+
defaultOptions: IOptions;
|
|
65
65
|
fullscreen: boolean;
|
|
66
66
|
}, {}, {
|
|
67
67
|
HandleValue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import type { ChunkFeatureResult } from './src/audio';
|
|
|
2
2
|
import { workerConfig } from './src/config';
|
|
3
3
|
import { StreamingInferenceService } from './src/inference';
|
|
4
4
|
import { PredictiveFrameLoader } from './src/media';
|
|
5
|
+
export type { ImageDataResponse } from './src/media';
|
|
5
6
|
export { PredictiveFrameLoader, StreamingInferenceService, workerConfig, };
|
|
6
7
|
export declare function blobToAudioBuffer(blob: Blob): Promise<AudioBuffer>;
|
|
7
8
|
export declare function processStreaming(buffer: AudioBuffer, callbacks?: {
|