tetrons 2.3.93 → 2.3.95
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/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16963,7 +16963,7 @@ function AiGroup({ editor, enabledFeatures }) {
|
|
|
16963
16963
|
}
|
|
16964
16964
|
};
|
|
16965
16965
|
if (!enabledFeatures.includes("voice to text")) return null;
|
|
16966
|
-
return /* @__PURE__ */ import_react18.default.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ import_react18.default.createElement("div", { className: "flex gap-2 items-center" }, !isRecording
|
|
16966
|
+
return /* @__PURE__ */ import_react18.default.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ import_react18.default.createElement("div", { className: "flex gap-2 items-center" }, !isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ import_react18.default.createElement(
|
|
16967
16967
|
"button",
|
|
16968
16968
|
{
|
|
16969
16969
|
type: "button",
|
|
@@ -16972,7 +16972,7 @@ function AiGroup({ editor, enabledFeatures }) {
|
|
|
16972
16972
|
title: "Start Voice Input"
|
|
16973
16973
|
},
|
|
16974
16974
|
/* @__PURE__ */ import_react18.default.createElement(import_fa2.FaMicrophone, { size: 18 })
|
|
16975
|
-
)
|
|
16975
|
+
), isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ import_react18.default.createElement(
|
|
16976
16976
|
"button",
|
|
16977
16977
|
{
|
|
16978
16978
|
type: "button",
|
|
@@ -16981,7 +16981,7 @@ function AiGroup({ editor, enabledFeatures }) {
|
|
|
16981
16981
|
title: "Stop Recording"
|
|
16982
16982
|
},
|
|
16983
16983
|
/* @__PURE__ */ import_react18.default.createElement(import_fa2.FaStop, { size: 18 })
|
|
16984
|
-
), /* @__PURE__ */ import_react18.default.createElement(
|
|
16984
|
+
), enabledFeatures.includes("ai") && /* @__PURE__ */ import_react18.default.createElement(
|
|
16985
16985
|
"button",
|
|
16986
16986
|
{
|
|
16987
16987
|
type: "button",
|
|
@@ -17186,7 +17186,7 @@ function TetronsToolbar({
|
|
|
17186
17186
|
].includes(a)
|
|
17187
17187
|
)
|
|
17188
17188
|
}
|
|
17189
|
-
),
|
|
17189
|
+
), (version === "platinum" || effectiveAddOns.includes("ai") || effectiveAddOns.includes("voice to text")) && /* @__PURE__ */ import_react23.default.createElement(
|
|
17190
17190
|
AiGroup,
|
|
17191
17191
|
{
|
|
17192
17192
|
editor,
|
package/dist/index.mjs
CHANGED
|
@@ -16972,7 +16972,7 @@ function AiGroup({ editor, enabledFeatures }) {
|
|
|
16972
16972
|
}
|
|
16973
16973
|
};
|
|
16974
16974
|
if (!enabledFeatures.includes("voice to text")) return null;
|
|
16975
|
-
return /* @__PURE__ */ React12.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ React12.createElement("div", { className: "flex gap-2 items-center" }, !isRecording
|
|
16975
|
+
return /* @__PURE__ */ React12.createElement("div", { className: "group flex flex-col gap-2 items-start" }, /* @__PURE__ */ React12.createElement("div", { className: "flex gap-2 items-center" }, !isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ React12.createElement(
|
|
16976
16976
|
"button",
|
|
16977
16977
|
{
|
|
16978
16978
|
type: "button",
|
|
@@ -16981,7 +16981,7 @@ function AiGroup({ editor, enabledFeatures }) {
|
|
|
16981
16981
|
title: "Start Voice Input"
|
|
16982
16982
|
},
|
|
16983
16983
|
/* @__PURE__ */ React12.createElement(FaMicrophone, { size: 18 })
|
|
16984
|
-
)
|
|
16984
|
+
), isRecording && enabledFeatures.includes("voice to text") && /* @__PURE__ */ React12.createElement(
|
|
16985
16985
|
"button",
|
|
16986
16986
|
{
|
|
16987
16987
|
type: "button",
|
|
@@ -16990,7 +16990,7 @@ function AiGroup({ editor, enabledFeatures }) {
|
|
|
16990
16990
|
title: "Stop Recording"
|
|
16991
16991
|
},
|
|
16992
16992
|
/* @__PURE__ */ React12.createElement(FaStop, { size: 18 })
|
|
16993
|
-
), /* @__PURE__ */ React12.createElement(
|
|
16993
|
+
), enabledFeatures.includes("ai") && /* @__PURE__ */ React12.createElement(
|
|
16994
16994
|
"button",
|
|
16995
16995
|
{
|
|
16996
16996
|
type: "button",
|
|
@@ -17195,7 +17195,7 @@ function TetronsToolbar({
|
|
|
17195
17195
|
].includes(a)
|
|
17196
17196
|
)
|
|
17197
17197
|
}
|
|
17198
|
-
),
|
|
17198
|
+
), (version === "platinum" || effectiveAddOns.includes("ai") || effectiveAddOns.includes("voice to text")) && /* @__PURE__ */ React16.createElement(
|
|
17199
17199
|
AiGroup,
|
|
17200
17200
|
{
|
|
17201
17201
|
editor,
|