@pie-element/hotspot 12.0.7-next.20261023051841 → 12.0.7
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/browser/author/index.js +24 -14
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/author/index.js +24 -14
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +14 -14
|
@@ -202,7 +202,7 @@ var y = (e) => {
|
|
|
202
202
|
return l < r ? o.shapes = `There should be at least ${r} shapes defined.` : i !== void 0 && l > i && (o.shapes = `No more than ${i} shapes should be defined.`), c < 1 ? o.selections = "There should be at least 1 shape selected." : a !== void 0 && c > a && (o.selections = `No more than ${a} shapes should be selected.`), o;
|
|
203
203
|
}, C = Object.freeze({
|
|
204
204
|
name: "@pie-element/hotspot",
|
|
205
|
-
version: "12.0.7
|
|
205
|
+
version: "12.0.7"
|
|
206
206
|
});
|
|
207
207
|
//#endregion
|
|
208
208
|
export { b as createCorrectResponseSession, h as createDefaultModel, _ as getLogTrace, m as model, p as normalize, v as outcome, C as piePackage, S as validate };
|
|
@@ -1218,7 +1218,7 @@ var ot = O, $ = ot.default, st = $ && typeof $ == "object" ? $ : ot, ct = at("da
|
|
|
1218
1218
|
}
|
|
1219
1219
|
}, ut = Object.freeze({
|
|
1220
1220
|
name: "@pie-element/hotspot",
|
|
1221
|
-
version: "12.0.7
|
|
1221
|
+
version: "12.0.7"
|
|
1222
1222
|
});
|
|
1223
1223
|
//#endregion
|
|
1224
1224
|
export { lt as default, ut as piePackage };
|
|
@@ -13216,6 +13216,12 @@ var oy = (e) => e ? {
|
|
|
13216
13216
|
children: s.map((e, t) => {
|
|
13217
13217
|
let n = this.buttonClick.bind(this, e);
|
|
13218
13218
|
if (!e) return /* @__PURE__ */ H("span", {}, `empty-${t}`);
|
|
13219
|
+
if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ H(cy, {
|
|
13220
|
+
disabled: !0,
|
|
13221
|
+
"aria-hidden": "true",
|
|
13222
|
+
tabIndex: -1,
|
|
13223
|
+
category: o ? void 0 : e.category
|
|
13224
|
+
}, `placeholder-${t}`);
|
|
13219
13225
|
let r = {
|
|
13220
13226
|
onClick: n,
|
|
13221
13227
|
disabled: this.keyIsNotAllowed(e),
|
|
@@ -22365,24 +22371,27 @@ var vy = (e) => String(e || "").replace(/-/g, "_"), yy = (e) => e && e.attrs &&
|
|
|
22365
22371
|
}
|
|
22366
22372
|
},
|
|
22367
22373
|
"& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
22368
|
-
})), By = M(D)({
|
|
22369
|
-
|
|
22370
|
-
width: "25%",
|
|
22374
|
+
})), By = M(D)(({ theme: e }) => ({
|
|
22375
|
+
width: "fit-content",
|
|
22371
22376
|
minWidth: "100px",
|
|
22372
|
-
|
|
22373
|
-
|
|
22374
|
-
|
|
22375
|
-
|
|
22377
|
+
maxWidth: "150px",
|
|
22378
|
+
marginLeft: e.spacing(2),
|
|
22379
|
+
marginTop: e.spacing(.5),
|
|
22380
|
+
marginBottom: e.spacing(.5),
|
|
22381
|
+
marginRight: e.spacing(2),
|
|
22376
22382
|
"& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
|
|
22377
22383
|
"& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
22378
|
-
}), Vy = M(j)(() => ({ backgroundColor: "transparent" })), Hy = M("div")(({ theme: e, error: t }) => ({
|
|
22379
|
-
|
|
22380
|
-
|
|
22384
|
+
})), Vy = M(j)(() => ({ backgroundColor: "transparent" })), Hy = M("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
|
|
22385
|
+
...n ? {
|
|
22386
|
+
flex: 1,
|
|
22387
|
+
minWidth: 0
|
|
22388
|
+
} : {
|
|
22389
|
+
width: "100%",
|
|
22390
|
+
minWidth: "500px",
|
|
22391
|
+
maxWidth: "900px"
|
|
22392
|
+
},
|
|
22381
22393
|
minHeight: "30px",
|
|
22382
|
-
width: "100%",
|
|
22383
22394
|
display: "flex",
|
|
22384
|
-
marginTop: e.spacing(1),
|
|
22385
|
-
marginBottom: e.spacing(1),
|
|
22386
22395
|
...t && { border: "2px solid red" },
|
|
22387
22396
|
"& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
|
|
22388
22397
|
})), Uy = M(Qv.Input)(({ controlledKeypadMode: e }) => ({
|
|
@@ -22570,6 +22579,7 @@ var vy = (e) => String(e || "").replace(/-/g, "_"), yy = (e) => e && e.attrs &&
|
|
|
22570
22579
|
})]
|
|
22571
22580
|
}), /* @__PURE__ */ H(Hy, {
|
|
22572
22581
|
error: m,
|
|
22582
|
+
controlledKeypadMode: a,
|
|
22573
22583
|
children: /* @__PURE__ */ H(Uy, {
|
|
22574
22584
|
onFocus: () => {
|
|
22575
22585
|
f && f(), this.updateDisable(!1);
|
|
@@ -29487,7 +29497,7 @@ var { Panel: mE, toggle: hE, dropdown: gE } = Ow, _E = (e) => e != null, vE = M(
|
|
|
29487
29497
|
}
|
|
29488
29498
|
}, kE = Object.freeze({
|
|
29489
29499
|
name: "@pie-element/hotspot",
|
|
29490
|
-
version: "12.0.7
|
|
29500
|
+
version: "12.0.7"
|
|
29491
29501
|
});
|
|
29492
29502
|
//#endregion
|
|
29493
29503
|
export { OE as default, kE as piePackage };
|