@lee-zg/melange 1.2.3 → 1.2.5
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/README.md +257 -256
- package/dist/{chunk-YZVCK6VZ.cjs → chunk-AAWWAPSG.cjs} +1425 -2
- package/dist/{chunk-3RM45M64.js → chunk-R3BPDZ3R.js} +1388 -3
- package/dist/container-B8n-ok8M.d.cts +201 -0
- package/dist/container-n8Q2Xa_y.d.ts +201 -0
- package/dist/core/index.d.cts +3 -200
- package/dist/core/index.d.ts +3 -200
- package/dist/generator-CEj5qxFh.d.cts +1752 -0
- package/dist/generator-D7ofMxfc.d.ts +1752 -0
- package/dist/index.cjs +138 -34
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -2
- package/dist/plugins/index.cjs +162 -9
- package/dist/plugins/index.d.cts +108 -755
- package/dist/plugins/index.d.ts +108 -755
- package/dist/plugins/index.js +2 -1
- package/package.json +143 -138
package/dist/index.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkUYJUSNDI_cjs = require('./chunk-UYJUSNDI.cjs');
|
|
4
4
|
var chunkJLBTZPBY_cjs = require('./chunk-JLBTZPBY.cjs');
|
|
5
|
+
var chunkAAWWAPSG_cjs = require('./chunk-AAWWAPSG.cjs');
|
|
5
6
|
var chunkBEY4UAYF_cjs = require('./chunk-BEY4UAYF.cjs');
|
|
6
|
-
var chunkYZVCK6VZ_cjs = require('./chunk-YZVCK6VZ.cjs');
|
|
7
7
|
require('./chunk-PK6SKIKE.cjs');
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
|
-
var VERSION = "1.
|
|
10
|
+
var VERSION = "1.2.5";
|
|
11
11
|
var LIBRARY_NAME = "melange";
|
|
12
12
|
/**
|
|
13
13
|
* @fileoverview Melange 库的主入口点
|
|
@@ -482,6 +482,142 @@ Object.defineProperty(exports, "zip", {
|
|
|
482
482
|
enumerable: true,
|
|
483
483
|
get: function () { return chunkJLBTZPBY_cjs.zip; }
|
|
484
484
|
});
|
|
485
|
+
Object.defineProperty(exports, "AWSSynthesisAdapter", {
|
|
486
|
+
enumerable: true,
|
|
487
|
+
get: function () { return chunkAAWWAPSG_cjs.AWSSynthesisAdapter; }
|
|
488
|
+
});
|
|
489
|
+
Object.defineProperty(exports, "AlibabaAdapter", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function () { return chunkAAWWAPSG_cjs.AlibabaAdapter; }
|
|
492
|
+
});
|
|
493
|
+
Object.defineProperty(exports, "AlibabaSynthesisAdapter", {
|
|
494
|
+
enumerable: true,
|
|
495
|
+
get: function () { return chunkAAWWAPSG_cjs.AlibabaSynthesisAdapter; }
|
|
496
|
+
});
|
|
497
|
+
Object.defineProperty(exports, "AudioUtils", {
|
|
498
|
+
enumerable: true,
|
|
499
|
+
get: function () { return chunkAAWWAPSG_cjs.AudioUtils; }
|
|
500
|
+
});
|
|
501
|
+
Object.defineProperty(exports, "AzureAdapter", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function () { return chunkAAWWAPSG_cjs.AzureAdapter; }
|
|
504
|
+
});
|
|
505
|
+
Object.defineProperty(exports, "AzureSynthesisAdapter", {
|
|
506
|
+
enumerable: true,
|
|
507
|
+
get: function () { return chunkAAWWAPSG_cjs.AzureSynthesisAdapter; }
|
|
508
|
+
});
|
|
509
|
+
Object.defineProperty(exports, "BaiduAdapter", {
|
|
510
|
+
enumerable: true,
|
|
511
|
+
get: function () { return chunkAAWWAPSG_cjs.BaiduAdapter; }
|
|
512
|
+
});
|
|
513
|
+
Object.defineProperty(exports, "BaiduSynthesisAdapter", {
|
|
514
|
+
enumerable: true,
|
|
515
|
+
get: function () { return chunkAAWWAPSG_cjs.BaiduSynthesisAdapter; }
|
|
516
|
+
});
|
|
517
|
+
Object.defineProperty(exports, "FingerprintGeneratorImpl", {
|
|
518
|
+
enumerable: true,
|
|
519
|
+
get: function () { return chunkAAWWAPSG_cjs.FingerprintGeneratorImpl; }
|
|
520
|
+
});
|
|
521
|
+
Object.defineProperty(exports, "GenericAdapter", {
|
|
522
|
+
enumerable: true,
|
|
523
|
+
get: function () { return chunkAAWWAPSG_cjs.GenericAdapter; }
|
|
524
|
+
});
|
|
525
|
+
Object.defineProperty(exports, "GenericSynthesisAdapter", {
|
|
526
|
+
enumerable: true,
|
|
527
|
+
get: function () { return chunkAAWWAPSG_cjs.GenericSynthesisAdapter; }
|
|
528
|
+
});
|
|
529
|
+
Object.defineProperty(exports, "GoogleAdapter", {
|
|
530
|
+
enumerable: true,
|
|
531
|
+
get: function () { return chunkAAWWAPSG_cjs.GoogleAdapter; }
|
|
532
|
+
});
|
|
533
|
+
Object.defineProperty(exports, "GoogleSynthesisAdapter", {
|
|
534
|
+
enumerable: true,
|
|
535
|
+
get: function () { return chunkAAWWAPSG_cjs.GoogleSynthesisAdapter; }
|
|
536
|
+
});
|
|
537
|
+
Object.defineProperty(exports, "RecognitionStatus", {
|
|
538
|
+
enumerable: true,
|
|
539
|
+
get: function () { return chunkAAWWAPSG_cjs.RecognitionStatus; }
|
|
540
|
+
});
|
|
541
|
+
Object.defineProperty(exports, "SpeechRecognizerImpl", {
|
|
542
|
+
enumerable: true,
|
|
543
|
+
get: function () { return chunkAAWWAPSG_cjs.SpeechRecognizerImpl; }
|
|
544
|
+
});
|
|
545
|
+
Object.defineProperty(exports, "SpeechSynthesizerImpl", {
|
|
546
|
+
enumerable: true,
|
|
547
|
+
get: function () { return chunkAAWWAPSG_cjs.SpeechSynthesizerImpl; }
|
|
548
|
+
});
|
|
549
|
+
Object.defineProperty(exports, "SynthesisAudioUtils", {
|
|
550
|
+
enumerable: true,
|
|
551
|
+
get: function () { return chunkAAWWAPSG_cjs.SynthesisAudioUtils; }
|
|
552
|
+
});
|
|
553
|
+
Object.defineProperty(exports, "SynthesisStatus", {
|
|
554
|
+
enumerable: true,
|
|
555
|
+
get: function () { return chunkAAWWAPSG_cjs.SynthesisStatus; }
|
|
556
|
+
});
|
|
557
|
+
Object.defineProperty(exports, "TencentAdapter", {
|
|
558
|
+
enumerable: true,
|
|
559
|
+
get: function () { return chunkAAWWAPSG_cjs.TencentAdapter; }
|
|
560
|
+
});
|
|
561
|
+
Object.defineProperty(exports, "TencentSynthesisAdapter", {
|
|
562
|
+
enumerable: true,
|
|
563
|
+
get: function () { return chunkAAWWAPSG_cjs.TencentSynthesisAdapter; }
|
|
564
|
+
});
|
|
565
|
+
Object.defineProperty(exports, "XunfeiAdapter", {
|
|
566
|
+
enumerable: true,
|
|
567
|
+
get: function () { return chunkAAWWAPSG_cjs.XunfeiAdapter; }
|
|
568
|
+
});
|
|
569
|
+
Object.defineProperty(exports, "XunfeiSynthesisAdapter", {
|
|
570
|
+
enumerable: true,
|
|
571
|
+
get: function () { return chunkAAWWAPSG_cjs.XunfeiSynthesisAdapter; }
|
|
572
|
+
});
|
|
573
|
+
Object.defineProperty(exports, "createFingerprintGenerator", {
|
|
574
|
+
enumerable: true,
|
|
575
|
+
get: function () { return chunkAAWWAPSG_cjs.createFingerprintGenerator; }
|
|
576
|
+
});
|
|
577
|
+
Object.defineProperty(exports, "createSpeechRecognizer", {
|
|
578
|
+
enumerable: true,
|
|
579
|
+
get: function () { return chunkAAWWAPSG_cjs.createSpeechRecognizer; }
|
|
580
|
+
});
|
|
581
|
+
Object.defineProperty(exports, "createSpeechSynthesizer", {
|
|
582
|
+
enumerable: true,
|
|
583
|
+
get: function () { return chunkAAWWAPSG_cjs.createSpeechSynthesizer; }
|
|
584
|
+
});
|
|
585
|
+
Object.defineProperty(exports, "getFingerprint", {
|
|
586
|
+
enumerable: true,
|
|
587
|
+
get: function () { return chunkAAWWAPSG_cjs.getFingerprint; }
|
|
588
|
+
});
|
|
589
|
+
Object.defineProperty(exports, "isFingerprintSupported", {
|
|
590
|
+
enumerable: true,
|
|
591
|
+
get: function () { return chunkAAWWAPSG_cjs.isFingerprintSupported; }
|
|
592
|
+
});
|
|
593
|
+
Object.defineProperty(exports, "isSpeechRecognitionSupported", {
|
|
594
|
+
enumerable: true,
|
|
595
|
+
get: function () { return chunkAAWWAPSG_cjs.isSpeechRecognitionSupported; }
|
|
596
|
+
});
|
|
597
|
+
Object.defineProperty(exports, "isSpeechSynthesisSupported", {
|
|
598
|
+
enumerable: true,
|
|
599
|
+
get: function () { return chunkAAWWAPSG_cjs.isSpeechSynthesisSupported; }
|
|
600
|
+
});
|
|
601
|
+
Object.defineProperty(exports, "listen", {
|
|
602
|
+
enumerable: true,
|
|
603
|
+
get: function () { return chunkAAWWAPSG_cjs.listen; }
|
|
604
|
+
});
|
|
605
|
+
Object.defineProperty(exports, "listenWithTimeout", {
|
|
606
|
+
enumerable: true,
|
|
607
|
+
get: function () { return chunkAAWWAPSG_cjs.listenWithTimeout; }
|
|
608
|
+
});
|
|
609
|
+
Object.defineProperty(exports, "registerFingerprintPlugin", {
|
|
610
|
+
enumerable: true,
|
|
611
|
+
get: function () { return chunkAAWWAPSG_cjs.registerFingerprintPlugin; }
|
|
612
|
+
});
|
|
613
|
+
Object.defineProperty(exports, "speak", {
|
|
614
|
+
enumerable: true,
|
|
615
|
+
get: function () { return chunkAAWWAPSG_cjs.speak; }
|
|
616
|
+
});
|
|
617
|
+
Object.defineProperty(exports, "speakWithCloud", {
|
|
618
|
+
enumerable: true,
|
|
619
|
+
get: function () { return chunkAAWWAPSG_cjs.speakWithCloud; }
|
|
620
|
+
});
|
|
485
621
|
Object.defineProperty(exports, "Bind", {
|
|
486
622
|
enumerable: true,
|
|
487
623
|
get: function () { return chunkBEY4UAYF_cjs.Bind; }
|
|
@@ -570,38 +706,6 @@ Object.defineProperty(exports, "toDisposable", {
|
|
|
570
706
|
enumerable: true,
|
|
571
707
|
get: function () { return chunkBEY4UAYF_cjs.toDisposable; }
|
|
572
708
|
});
|
|
573
|
-
Object.defineProperty(exports, "SpeechRecognizerImpl", {
|
|
574
|
-
enumerable: true,
|
|
575
|
-
get: function () { return chunkYZVCK6VZ_cjs.SpeechRecognizerImpl; }
|
|
576
|
-
});
|
|
577
|
-
Object.defineProperty(exports, "SpeechSynthesizerImpl", {
|
|
578
|
-
enumerable: true,
|
|
579
|
-
get: function () { return chunkYZVCK6VZ_cjs.SpeechSynthesizerImpl; }
|
|
580
|
-
});
|
|
581
|
-
Object.defineProperty(exports, "createSpeechRecognizer", {
|
|
582
|
-
enumerable: true,
|
|
583
|
-
get: function () { return chunkYZVCK6VZ_cjs.createSpeechRecognizer; }
|
|
584
|
-
});
|
|
585
|
-
Object.defineProperty(exports, "createSpeechSynthesizer", {
|
|
586
|
-
enumerable: true,
|
|
587
|
-
get: function () { return chunkYZVCK6VZ_cjs.createSpeechSynthesizer; }
|
|
588
|
-
});
|
|
589
|
-
Object.defineProperty(exports, "isSpeechRecognitionSupported", {
|
|
590
|
-
enumerable: true,
|
|
591
|
-
get: function () { return chunkYZVCK6VZ_cjs.isSpeechRecognitionSupported; }
|
|
592
|
-
});
|
|
593
|
-
Object.defineProperty(exports, "isSpeechSynthesisSupported", {
|
|
594
|
-
enumerable: true,
|
|
595
|
-
get: function () { return chunkYZVCK6VZ_cjs.isSpeechSynthesisSupported; }
|
|
596
|
-
});
|
|
597
|
-
Object.defineProperty(exports, "listen", {
|
|
598
|
-
enumerable: true,
|
|
599
|
-
get: function () { return chunkYZVCK6VZ_cjs.listen; }
|
|
600
|
-
});
|
|
601
|
-
Object.defineProperty(exports, "speak", {
|
|
602
|
-
enumerable: true,
|
|
603
|
-
get: function () { return chunkYZVCK6VZ_cjs.speak; }
|
|
604
|
-
});
|
|
605
709
|
exports.LIBRARY_NAME = LIBRARY_NAME;
|
|
606
710
|
exports.VERSION = VERSION;
|
|
607
711
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { A as AnyFunction, h as AsyncFunction, i as AsyncThunk, B as BinaryFunction, y as Brand, r as ClassDecorator, b as Comparator, C as Constructor, c as CurriedBinaryFunction, k as DeepPartial, l as DeepReadonly, D as Deferred, j as Dictionary, G as Email, E as Err, v as EventHandler, w as EventListener, H as Head, Y as JsonArray, X as JsonObject, W as JsonValue, K as Keys, M as Mapper, s as MethodDecorator, Q as Mutable, F as NonEmptyString, f as None, N as Nullable, d as Ok, g as Option, O as Optional, n as OptionalKeys, o as Pair, u as ParameterDecorator, L as ParametersOf, z as PositiveNumber, a as Predicate, P as Primitive, t as PropertyDecorator, R as Reducer, m as RequiredKeys, e as Result, J as ReturnTypeOf, S as Some, x as Subscription, q as Tail, T as Thunk, p as Triple, I as UUID, U as UnaryFunction, V as Values } from './types-BtOUCLB-.cjs';
|
|
2
2
|
export { allPass, alt, anyPass, apply, compose, constant, curry, err, filterOption, flatMapOption, flatMapResult, flip, flow, fromNullable, getOrElse, getOrElseL, identity, invert, isErr, isNone, isOk, isSome, mapOption, mapResult, matchOption, matchResult, memoize, none, noop, not, ok, once, partial, partialRight, pipe, some, tap, thunk, toNullable, tryCatch, tryCatchAsync, uncurry, unwrapOr, unwrapOrElse } from './fp/index.cjs';
|
|
3
3
|
export { camelCase, capitalize, chunk, collapseWhitespace, constantCase, countOccurrences, createDeferred, debounce, deepClone, deepMerge, delay, difference, escapeHtml, filterObject, first, flatten, flattenDeep, get, groupBy, has, intersection, isArray, isBoolean, isDate, isEmail, isEmpty, isFunction, isInRange, isInteger, isNegative, isNil, isNotEmpty, isNotNil, isNumber, isObject, isPlainObject, isPositive, isPromise, isString, isURL, isUUID, kebabCase, last, mapValues, omit, padEnd, padStart, parallel, partition, pascalCase, pick, randomString, range, retry, reverse, sample, sequence, set, shuffle, snakeCase, sortBy, throttle, timeout, titleCase, truncate, unescapeHtml, unique, words, zip } from './utils/index.cjs';
|
|
4
|
-
export { Bind,
|
|
5
|
-
export {
|
|
4
|
+
export { Bind, Debounce, Deprecated, Disposable, DisposableStore, EventEmitter, Frozen, Log, Memoize, Retry, Sealed, Throttle, Timeout, Validate, combineDisposables, toDisposable } from './core/index.cjs';
|
|
5
|
+
export { C as Container, a as Inject, I as Injectable, L as Lifecycle, S as Singleton, g as globalContainer } from './container-B8n-ok8M.cjs';
|
|
6
|
+
export { a1 as AWSSpeechConfig, c as AWSSynthesisAdapter, t as AlibabaAdapter, d as AlibabaSynthesisAdapter, n as AudioUtils, v as AzureAdapter, $ as AzureSpeechConfig, A as AzureSynthesisAdapter, r as BaiduAdapter, B as BaiduSynthesisAdapter, H as BaseSpeechConfig, a5 as CloudAudioFormat, ac as CloudTransportType, a2 as CustomProviderConfig, as as FingerprintCollector, ar as FingerprintCollectorContext, an as FingerprintComponent, ai as FingerprintComponentKey, ao as FingerprintComponentMap, aj as FingerprintComponentSource, ap as FingerprintConfidence, au as FingerprintGenerator, F as FingerprintGeneratorImpl, al as FingerprintHashAlgorithm, at as FingerprintOptions, ak as FingerprintPrivacyMode, aq as FingerprintResult, am as FingerprintValue, o as GenericAdapter, G as GenericSynthesisAdapter, u as GoogleAdapter, a0 as GoogleSpeechConfig, b as GoogleSynthesisAdapter, ag as IAdvancedRecognitionConfig, a9 as IAdvancedSynthesisConfig, af as IAudioConfig, ah as ICloudRecognitionAdapter, aa as ICloudSynthesisAdapter, a8 as ICloudVoice, ae as IRecognitionError, ad as IRecognitionResult, a7 as ISynthesisError, a6 as ISynthesisResult, a3 as ProviderConfig, Q as RecognitionConfig, ab as RecognitionEngineMode, W as RecognitionEvent, Y as RecognitionEventHandler, U as RecognitionEventType, Z as RecognitionProvider, P as RecognitionResult, O as RecognitionResultItem, R as RecognitionStatus, E as SpeechError, C as SpeechProviderType, _ as SpeechRecognizer, h as SpeechRecognizerImpl, D as SpeechServiceStatus, N as SpeechSynthesizer, e as SpeechSynthesizerImpl, a as SynthesisAudioUtils, I as SynthesisConfig, a4 as SynthesisEngineMode, K as SynthesisEvent, L as SynthesisEventHandler, J as SynthesisEventType, M as SynthesisProvider, S as SynthesisStatus, q as TencentAdapter, T as TencentSynthesisAdapter, V as VoiceInfo, p as XunfeiAdapter, X as XunfeiSynthesisAdapter, w as createFingerprintGenerator, j as createSpeechRecognizer, f as createSpeechSynthesizer, x as getFingerprint, z as isFingerprintSupported, k as isSpeechRecognitionSupported, i as isSpeechSynthesisSupported, l as listen, m as listenWithTimeout, y as registerFingerprintPlugin, s as speak, g as speakWithCloud } from './generator-CEj5qxFh.cjs';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @fileoverview Melange 库的主入口点
|
|
@@ -29,7 +30,7 @@ export { AWSSpeechConfig, AzureSpeechConfig, BaseSpeechConfig, CustomProviderCon
|
|
|
29
30
|
* 当前库版本
|
|
30
31
|
* @constant
|
|
31
32
|
*/
|
|
32
|
-
declare const VERSION = "1.
|
|
33
|
+
declare const VERSION = "1.2.5";
|
|
33
34
|
/**
|
|
34
35
|
* 库名
|
|
35
36
|
* @constant
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { A as AnyFunction, h as AsyncFunction, i as AsyncThunk, B as BinaryFunction, y as Brand, r as ClassDecorator, b as Comparator, C as Constructor, c as CurriedBinaryFunction, k as DeepPartial, l as DeepReadonly, D as Deferred, j as Dictionary, G as Email, E as Err, v as EventHandler, w as EventListener, H as Head, Y as JsonArray, X as JsonObject, W as JsonValue, K as Keys, M as Mapper, s as MethodDecorator, Q as Mutable, F as NonEmptyString, f as None, N as Nullable, d as Ok, g as Option, O as Optional, n as OptionalKeys, o as Pair, u as ParameterDecorator, L as ParametersOf, z as PositiveNumber, a as Predicate, P as Primitive, t as PropertyDecorator, R as Reducer, m as RequiredKeys, e as Result, J as ReturnTypeOf, S as Some, x as Subscription, q as Tail, T as Thunk, p as Triple, I as UUID, U as UnaryFunction, V as Values } from './types-BtOUCLB-.js';
|
|
2
2
|
export { allPass, alt, anyPass, apply, compose, constant, curry, err, filterOption, flatMapOption, flatMapResult, flip, flow, fromNullable, getOrElse, getOrElseL, identity, invert, isErr, isNone, isOk, isSome, mapOption, mapResult, matchOption, matchResult, memoize, none, noop, not, ok, once, partial, partialRight, pipe, some, tap, thunk, toNullable, tryCatch, tryCatchAsync, uncurry, unwrapOr, unwrapOrElse } from './fp/index.js';
|
|
3
3
|
export { camelCase, capitalize, chunk, collapseWhitespace, constantCase, countOccurrences, createDeferred, debounce, deepClone, deepMerge, delay, difference, escapeHtml, filterObject, first, flatten, flattenDeep, get, groupBy, has, intersection, isArray, isBoolean, isDate, isEmail, isEmpty, isFunction, isInRange, isInteger, isNegative, isNil, isNotEmpty, isNotNil, isNumber, isObject, isPlainObject, isPositive, isPromise, isString, isURL, isUUID, kebabCase, last, mapValues, omit, padEnd, padStart, parallel, partition, pascalCase, pick, randomString, range, retry, reverse, sample, sequence, set, shuffle, snakeCase, sortBy, throttle, timeout, titleCase, truncate, unescapeHtml, unique, words, zip } from './utils/index.js';
|
|
4
|
-
export { Bind,
|
|
5
|
-
export {
|
|
4
|
+
export { Bind, Debounce, Deprecated, Disposable, DisposableStore, EventEmitter, Frozen, Log, Memoize, Retry, Sealed, Throttle, Timeout, Validate, combineDisposables, toDisposable } from './core/index.js';
|
|
5
|
+
export { C as Container, a as Inject, I as Injectable, L as Lifecycle, S as Singleton, g as globalContainer } from './container-n8Q2Xa_y.js';
|
|
6
|
+
export { a1 as AWSSpeechConfig, c as AWSSynthesisAdapter, t as AlibabaAdapter, d as AlibabaSynthesisAdapter, n as AudioUtils, v as AzureAdapter, $ as AzureSpeechConfig, A as AzureSynthesisAdapter, r as BaiduAdapter, B as BaiduSynthesisAdapter, H as BaseSpeechConfig, a5 as CloudAudioFormat, ac as CloudTransportType, a2 as CustomProviderConfig, as as FingerprintCollector, ar as FingerprintCollectorContext, an as FingerprintComponent, ai as FingerprintComponentKey, ao as FingerprintComponentMap, aj as FingerprintComponentSource, ap as FingerprintConfidence, au as FingerprintGenerator, F as FingerprintGeneratorImpl, al as FingerprintHashAlgorithm, at as FingerprintOptions, ak as FingerprintPrivacyMode, aq as FingerprintResult, am as FingerprintValue, o as GenericAdapter, G as GenericSynthesisAdapter, u as GoogleAdapter, a0 as GoogleSpeechConfig, b as GoogleSynthesisAdapter, ag as IAdvancedRecognitionConfig, a9 as IAdvancedSynthesisConfig, af as IAudioConfig, ah as ICloudRecognitionAdapter, aa as ICloudSynthesisAdapter, a8 as ICloudVoice, ae as IRecognitionError, ad as IRecognitionResult, a7 as ISynthesisError, a6 as ISynthesisResult, a3 as ProviderConfig, Q as RecognitionConfig, ab as RecognitionEngineMode, W as RecognitionEvent, Y as RecognitionEventHandler, U as RecognitionEventType, Z as RecognitionProvider, P as RecognitionResult, O as RecognitionResultItem, R as RecognitionStatus, E as SpeechError, C as SpeechProviderType, _ as SpeechRecognizer, h as SpeechRecognizerImpl, D as SpeechServiceStatus, N as SpeechSynthesizer, e as SpeechSynthesizerImpl, a as SynthesisAudioUtils, I as SynthesisConfig, a4 as SynthesisEngineMode, K as SynthesisEvent, L as SynthesisEventHandler, J as SynthesisEventType, M as SynthesisProvider, S as SynthesisStatus, q as TencentAdapter, T as TencentSynthesisAdapter, V as VoiceInfo, p as XunfeiAdapter, X as XunfeiSynthesisAdapter, w as createFingerprintGenerator, j as createSpeechRecognizer, f as createSpeechSynthesizer, x as getFingerprint, z as isFingerprintSupported, k as isSpeechRecognitionSupported, i as isSpeechSynthesisSupported, l as listen, m as listenWithTimeout, y as registerFingerprintPlugin, s as speak, g as speakWithCloud } from './generator-D7ofMxfc.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @fileoverview Melange 库的主入口点
|
|
@@ -29,7 +30,7 @@ export { AWSSpeechConfig, AzureSpeechConfig, BaseSpeechConfig, CustomProviderCon
|
|
|
29
30
|
* 当前库版本
|
|
30
31
|
* @constant
|
|
31
32
|
*/
|
|
32
|
-
declare const VERSION = "1.
|
|
33
|
+
declare const VERSION = "1.2.5";
|
|
33
34
|
/**
|
|
34
35
|
* 库名
|
|
35
36
|
* @constant
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { allPass, alt, anyPass, apply, compose, constant, curry, err, filterOption, flatMapOption, flatMapResult, flip, flow, fromNullable, getOrElse, getOrElseL, identity, invert, isErr, isNone, isOk, isSome, mapOption, mapResult, matchOption, matchResult, memoize, none, noop, not, ok, once, partial, partialRight, pipe, some, tap, thunk, toNullable, tryCatch, tryCatchAsync, uncurry, unwrapOr, unwrapOrElse } from './chunk-GXFWPL5M.js';
|
|
2
2
|
export { camelCase, capitalize, chunk, collapseWhitespace, constantCase, countOccurrences, createDeferred, debounce, deepClone, deepMerge, delay, difference, escapeHtml, filterObject, first, flatten, flattenDeep, get, groupBy, has, intersection, isArray, isBoolean, isDate, isEmail, isEmpty, isFunction, isInRange, isInteger, isNegative, isNil, isNotEmpty, isNotNil, isNumber, isObject, isPlainObject, isPositive, isPromise, isString, isURL, isUUID, kebabCase, last, mapValues, omit, padEnd, padStart, parallel, partition, pascalCase, pick, randomString, range, retry, reverse, sample, sequence, set, shuffle, snakeCase, sortBy, throttle, timeout, titleCase, truncate, unescapeHtml, unique, words, zip } from './chunk-GZBY4BUP.js';
|
|
3
|
+
export { AWSSynthesisAdapter, AlibabaAdapter, AlibabaSynthesisAdapter, AudioUtils, AzureAdapter, AzureSynthesisAdapter, BaiduAdapter, BaiduSynthesisAdapter, FingerprintGeneratorImpl, GenericAdapter, GenericSynthesisAdapter, GoogleAdapter, GoogleSynthesisAdapter, RecognitionStatus, SpeechRecognizerImpl, SpeechSynthesizerImpl, SynthesisAudioUtils, SynthesisStatus, TencentAdapter, TencentSynthesisAdapter, XunfeiAdapter, XunfeiSynthesisAdapter, createFingerprintGenerator, createSpeechRecognizer, createSpeechSynthesizer, getFingerprint, isFingerprintSupported, isSpeechRecognitionSupported, isSpeechSynthesisSupported, listen, listenWithTimeout, registerFingerprintPlugin, speak, speakWithCloud } from './chunk-R3BPDZ3R.js';
|
|
3
4
|
export { Bind, Container, Debounce, Deprecated, Disposable, DisposableStore, EventEmitter, Frozen, Inject, Injectable, Lifecycle, Log, Memoize, Retry, Sealed, Singleton, Throttle, Timeout, Validate, combineDisposables, globalContainer, toDisposable } from './chunk-ILNGTDQ4.js';
|
|
4
|
-
export { SpeechRecognizerImpl, SpeechSynthesizerImpl, createSpeechRecognizer, createSpeechSynthesizer, isSpeechRecognitionSupported, isSpeechSynthesisSupported, listen, speak } from './chunk-3RM45M64.js';
|
|
5
5
|
import './chunk-7QVYU63E.js';
|
|
6
6
|
|
|
7
7
|
// src/index.ts
|
|
8
|
-
var VERSION = "1.
|
|
8
|
+
var VERSION = "1.2.5";
|
|
9
9
|
var LIBRARY_NAME = "melange";
|
|
10
10
|
/**
|
|
11
11
|
* @fileoverview Melange 库的主入口点
|
package/dist/plugins/index.cjs
CHANGED
|
@@ -1,41 +1,194 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAAWWAPSG_cjs = require('../chunk-AAWWAPSG.cjs');
|
|
4
|
+
require('../chunk-BEY4UAYF.cjs');
|
|
4
5
|
require('../chunk-PK6SKIKE.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
9
|
+
Object.defineProperty(exports, "AWSSynthesisAdapter", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkAAWWAPSG_cjs.AWSSynthesisAdapter; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "AlibabaAdapter", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkAAWWAPSG_cjs.AlibabaAdapter; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "AlibabaSynthesisAdapter", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkAAWWAPSG_cjs.AlibabaSynthesisAdapter; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "AudioUtils", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkAAWWAPSG_cjs.AudioUtils; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "AzureAdapter", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkAAWWAPSG_cjs.AzureAdapter; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "AzureSynthesisAdapter", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkAAWWAPSG_cjs.AzureSynthesisAdapter; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "BaiduAdapter", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkAAWWAPSG_cjs.BaiduAdapter; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "BaiduSynthesisAdapter", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkAAWWAPSG_cjs.BaiduSynthesisAdapter; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "FINGERPRINT_GENERATOR", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkAAWWAPSG_cjs.FINGERPRINT_GENERATOR; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "FINGERPRINT_VERSION", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkAAWWAPSG_cjs.FINGERPRINT_VERSION; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "FingerprintGeneratorImpl", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkAAWWAPSG_cjs.FingerprintGeneratorImpl; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "GenericAdapter", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkAAWWAPSG_cjs.GenericAdapter; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "GenericSynthesisAdapter", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkAAWWAPSG_cjs.GenericSynthesisAdapter; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "GoogleAdapter", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkAAWWAPSG_cjs.GoogleAdapter; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "GoogleSynthesisAdapter", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkAAWWAPSG_cjs.GoogleSynthesisAdapter; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "RecognitionStatus", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkAAWWAPSG_cjs.RecognitionStatus; }
|
|
72
|
+
});
|
|
8
73
|
Object.defineProperty(exports, "SpeechRecognizerImpl", {
|
|
9
74
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkAAWWAPSG_cjs.SpeechRecognizerImpl; }
|
|
11
76
|
});
|
|
12
77
|
Object.defineProperty(exports, "SpeechSynthesizerImpl", {
|
|
13
78
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkAAWWAPSG_cjs.SpeechSynthesizerImpl; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "SynthesisAudioUtils", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkAAWWAPSG_cjs.SynthesisAudioUtils; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "SynthesisStatus", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkAAWWAPSG_cjs.SynthesisStatus; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "TencentAdapter", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkAAWWAPSG_cjs.TencentAdapter; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "TencentSynthesisAdapter", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkAAWWAPSG_cjs.TencentSynthesisAdapter; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "XunfeiAdapter", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkAAWWAPSG_cjs.XunfeiAdapter; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "XunfeiSynthesisAdapter", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkAAWWAPSG_cjs.XunfeiSynthesisAdapter; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "bucketDeviceMemory", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkAAWWAPSG_cjs.bucketDeviceMemory; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "bucketHardwareConcurrency", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkAAWWAPSG_cjs.bucketHardwareConcurrency; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "bucketNumber", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunkAAWWAPSG_cjs.bucketNumber; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "createFingerprintGenerator", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunkAAWWAPSG_cjs.createFingerprintGenerator; }
|
|
15
120
|
});
|
|
16
121
|
Object.defineProperty(exports, "createSpeechRecognizer", {
|
|
17
122
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkAAWWAPSG_cjs.createSpeechRecognizer; }
|
|
19
124
|
});
|
|
20
125
|
Object.defineProperty(exports, "createSpeechSynthesizer", {
|
|
21
126
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkAAWWAPSG_cjs.createSpeechSynthesizer; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "defaultFingerprintCollectors", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return chunkAAWWAPSG_cjs.defaultFingerprintCollectors; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "fnv1a64", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return chunkAAWWAPSG_cjs.fnv1a64; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "getFingerprint", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunkAAWWAPSG_cjs.getFingerprint; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "hashString", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunkAAWWAPSG_cjs.hashString; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "isFingerprintSupported", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunkAAWWAPSG_cjs.isFingerprintSupported; }
|
|
23
148
|
});
|
|
24
149
|
Object.defineProperty(exports, "isSpeechRecognitionSupported", {
|
|
25
150
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkAAWWAPSG_cjs.isSpeechRecognitionSupported; }
|
|
27
152
|
});
|
|
28
153
|
Object.defineProperty(exports, "isSpeechSynthesisSupported", {
|
|
29
154
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkAAWWAPSG_cjs.isSpeechSynthesisSupported; }
|
|
31
156
|
});
|
|
32
157
|
Object.defineProperty(exports, "listen", {
|
|
33
158
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkAAWWAPSG_cjs.listen; }
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, "listenWithTimeout", {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () { return chunkAAWWAPSG_cjs.listenWithTimeout; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "normalizeUserAgent", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunkAAWWAPSG_cjs.normalizeUserAgent; }
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "registerFingerprintPlugin", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () { return chunkAAWWAPSG_cjs.registerFingerprintPlugin; }
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, "serializeComponents", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return chunkAAWWAPSG_cjs.serializeComponents; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "sha256", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunkAAWWAPSG_cjs.sha256; }
|
|
35
180
|
});
|
|
36
181
|
Object.defineProperty(exports, "speak", {
|
|
37
182
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkAAWWAPSG_cjs.speak; }
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "speakWithCloud", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () { return chunkAAWWAPSG_cjs.speakWithCloud; }
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "stableStringify", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return chunkAAWWAPSG_cjs.stableStringify; }
|
|
39
192
|
});
|
|
40
193
|
//# sourceMappingURL=index.cjs.map
|
|
41
194
|
//# sourceMappingURL=index.cjs.map
|