@corti/dictation-web 0.7.0-ambient.10 → 0.7.0-ambient.13
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/bundle.js +27 -8
- package/package.json +4 -5
package/bundle.js
CHANGED
|
@@ -2364,6 +2364,25 @@ var RecordingButtonStyles = i`
|
|
|
2364
2364
|
`;
|
|
2365
2365
|
var recording_button_default = RecordingButtonStyles;
|
|
2366
2366
|
|
|
2367
|
+
// ../core/src/utils/custom-elements.ts
|
|
2368
|
+
function safeCustomElement(tag) {
|
|
2369
|
+
return (classOrTarget, context) => {
|
|
2370
|
+
if (customElements.get(tag)) {
|
|
2371
|
+
return classOrTarget;
|
|
2372
|
+
}
|
|
2373
|
+
if (context !== void 0) {
|
|
2374
|
+
context.addInitializer(() => {
|
|
2375
|
+
if (!customElements.get(tag)) {
|
|
2376
|
+
customElements.define(tag, classOrTarget);
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
return classOrTarget;
|
|
2380
|
+
}
|
|
2381
|
+
customElements.define(tag, classOrTarget);
|
|
2382
|
+
return classOrTarget;
|
|
2383
|
+
};
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2367
2386
|
// ../core/src/icons/icons.ts
|
|
2368
2387
|
var IconMicOn = class extends i4 {
|
|
2369
2388
|
render() {
|
|
@@ -2390,7 +2409,7 @@ var IconMicOn = class extends i4 {
|
|
|
2390
2409
|
}
|
|
2391
2410
|
};
|
|
2392
2411
|
IconMicOn = __decorateClass([
|
|
2393
|
-
|
|
2412
|
+
safeCustomElement("icon-mic-on")
|
|
2394
2413
|
], IconMicOn);
|
|
2395
2414
|
var IconMicOff = class extends i4 {
|
|
2396
2415
|
render() {
|
|
@@ -2418,7 +2437,7 @@ var IconMicOff = class extends i4 {
|
|
|
2418
2437
|
}
|
|
2419
2438
|
};
|
|
2420
2439
|
IconMicOff = __decorateClass([
|
|
2421
|
-
|
|
2440
|
+
safeCustomElement("icon-mic-off")
|
|
2422
2441
|
], IconMicOff);
|
|
2423
2442
|
var IconRecording = class extends i4 {
|
|
2424
2443
|
render() {
|
|
@@ -2444,7 +2463,7 @@ var IconRecording = class extends i4 {
|
|
|
2444
2463
|
}
|
|
2445
2464
|
};
|
|
2446
2465
|
IconRecording = __decorateClass([
|
|
2447
|
-
|
|
2466
|
+
safeCustomElement("icon-recording")
|
|
2448
2467
|
], IconRecording);
|
|
2449
2468
|
var IconSettings = class extends i4 {
|
|
2450
2469
|
render() {
|
|
@@ -2470,7 +2489,7 @@ var IconSettings = class extends i4 {
|
|
|
2470
2489
|
}
|
|
2471
2490
|
};
|
|
2472
2491
|
IconSettings = __decorateClass([
|
|
2473
|
-
|
|
2492
|
+
safeCustomElement("icon-settings")
|
|
2474
2493
|
], IconSettings);
|
|
2475
2494
|
var IconHeadset = class extends i4 {
|
|
2476
2495
|
render() {
|
|
@@ -2505,7 +2524,7 @@ IconHeadset.styles = i`
|
|
|
2505
2524
|
}
|
|
2506
2525
|
`;
|
|
2507
2526
|
IconHeadset = __decorateClass([
|
|
2508
|
-
|
|
2527
|
+
safeCustomElement("icon-headset")
|
|
2509
2528
|
], IconHeadset);
|
|
2510
2529
|
var IconLoadingSpinner = class extends i4 {
|
|
2511
2530
|
render() {
|
|
@@ -2541,7 +2560,7 @@ IconLoadingSpinner.styles = i`
|
|
|
2541
2560
|
}
|
|
2542
2561
|
`;
|
|
2543
2562
|
IconLoadingSpinner = __decorateClass([
|
|
2544
|
-
|
|
2563
|
+
safeCustomElement("icon-loading-spinner")
|
|
2545
2564
|
], IconLoadingSpinner);
|
|
2546
2565
|
|
|
2547
2566
|
// ../node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/directives/map.js
|
|
@@ -2643,7 +2662,7 @@ __decorateClass([
|
|
|
2643
2662
|
n4({ type: Number })
|
|
2644
2663
|
], SpeechAudioVisualiser.prototype, "segmentCount", 2);
|
|
2645
2664
|
SpeechAudioVisualiser = __decorateClass([
|
|
2646
|
-
|
|
2665
|
+
safeCustomElement("speech-audio-visualiser")
|
|
2647
2666
|
], SpeechAudioVisualiser);
|
|
2648
2667
|
|
|
2649
2668
|
// ../core/src/components/recording-button-base.ts
|
|
@@ -16747,7 +16766,7 @@ __decorateClass([
|
|
|
16747
16766
|
r5()
|
|
16748
16767
|
], SpeechKeybindingInput.prototype, "_isCapturingKeybinding", 2);
|
|
16749
16768
|
SpeechKeybindingInput = __decorateClass([
|
|
16750
|
-
|
|
16769
|
+
safeCustomElement("speech-keybinding-input")
|
|
16751
16770
|
], SpeechKeybindingInput);
|
|
16752
16771
|
|
|
16753
16772
|
// ../core/src/components/keybinding-selector-base.ts
|
package/package.json
CHANGED
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
"name": "@corti/dictation-web",
|
|
3
3
|
"description": "Web component for Corti Dictation",
|
|
4
4
|
"author": "Corti ApS",
|
|
5
|
-
"version": "0.7.0-ambient.
|
|
5
|
+
"version": "0.7.0-ambient.13",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "
|
|
9
|
-
"module": "
|
|
8
|
+
"main": "bundle.js",
|
|
9
|
+
"module": "bundle.js",
|
|
10
10
|
"types": "index.d.ts",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"types": "./index.d.ts",
|
|
14
|
-
"import": "./
|
|
15
|
-
"browser": "./bundle.js",
|
|
14
|
+
"import": "./bundle.js",
|
|
16
15
|
"default": "./bundle.js"
|
|
17
16
|
}
|
|
18
17
|
},
|