@voicenter-team/voicenter-ui-plus 0.5.23 → 0.5.24
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/library/super.mjs
CHANGED
|
@@ -210,8 +210,6 @@ function x4(e, t) {
|
|
|
210
210
|
async function w4(e) {
|
|
211
211
|
let t = g4;
|
|
212
212
|
if (e) {
|
|
213
|
-
if (e.type === "none")
|
|
214
|
-
return {};
|
|
215
213
|
if (e.type === "local" && ($v[e.themeName] ? t = $v[e.themeName] : console.warn(`[VoicenterUI-plus] No such theme: ${e.themeName}`)), e.type === "remote") {
|
|
216
214
|
let r = JSON.stringify(
|
|
217
215
|
{
|
|
@@ -241,6 +239,8 @@ async function w4(e) {
|
|
|
241
239
|
return t;
|
|
242
240
|
}
|
|
243
241
|
async function Jd(e, t = document.documentElement) {
|
|
242
|
+
if ((e == null ? void 0 : e.type) !== "none")
|
|
243
|
+
return e != null && e.onSetupCallback ? e == null ? void 0 : e.onSetupCallback({}) : {};
|
|
244
244
|
const r = await w4(e);
|
|
245
245
|
x4(
|
|
246
246
|
{
|