@pie-element/passage 7.1.2-next.4 → 7.1.2-next.6
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/author/common.js +6 -5
- package/dist/author/design.js +2 -2
- package/dist/author/index.js +2 -2
- package/dist/author/passage.js +1 -1
- package/dist/browser/author/index.js +16247 -19432
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +3 -3
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/{dist-CeIdmqCq.js → dist-CiWlBjsz.js} +2 -2
- package/dist/browser/dist-CiWlBjsz.js.map +1 -0
- package/dist/browser/{dist-ByX3voUB.js → dist-CufhtHcn.js} +2679 -2741
- package/dist/browser/dist-CufhtHcn.js.map +1 -0
- package/dist/browser/print/index.js +4 -3
- package/dist/browser/print/index.js.map +1 -1
- package/dist/browser/rolldown-runtime-CWhphoD1.js +32 -0
- package/dist/browser/{stimulus-tabs-CxiQ79gz.js → stimulus-tabs-cEUGjTUU.js} +81 -43
- package/dist/browser/stimulus-tabs-cEUGjTUU.js.map +1 -0
- package/dist/delivery/index.js +1 -1
- package/dist/delivery/stimulus-tabs.d.ts +7 -0
- package/dist/delivery/stimulus-tabs.js +69 -32
- package/dist/index.iife.js +29 -29
- package/package.json +12 -6
- package/dist/browser/dist-ByX3voUB.js.map +0 -1
- package/dist/browser/dist-CeIdmqCq.js.map +0 -1
- package/dist/browser/stimulus-tabs-CxiQ79gz.js.map +0 -1
package/dist/author/common.js
CHANGED
|
@@ -10,7 +10,8 @@ import c from "@mui/material/DialogTitle";
|
|
|
10
10
|
import l from "@mui/material/DialogContent";
|
|
11
11
|
import u from "@mui/material/DialogContentText";
|
|
12
12
|
import d from "@mui/material/DialogActions";
|
|
13
|
-
|
|
13
|
+
//#region src/author/common.tsx
|
|
14
|
+
var f = ({ label: e, type: t = "add", onClick: s }) => /* @__PURE__ */ r(i, {
|
|
14
15
|
color: "primary",
|
|
15
16
|
size: "small",
|
|
16
17
|
onClick: s,
|
|
@@ -19,7 +20,7 @@ var f = t(({ label: e, type: t = "add", onClick: s }) => /* @__PURE__ */ r(i, {
|
|
|
19
20
|
color: "primary",
|
|
20
21
|
style: { marginRight: 4 }
|
|
21
22
|
}), e]
|
|
22
|
-
}))({
|
|
23
|
+
}), p = t(f)({
|
|
23
24
|
textDecoration: "underline",
|
|
24
25
|
"&:hover": {
|
|
25
26
|
textDecoration: "underline",
|
|
@@ -27,7 +28,7 @@ var f = t(({ label: e, type: t = "add", onClick: s }) => /* @__PURE__ */ r(i, {
|
|
|
27
28
|
},
|
|
28
29
|
display: "flex",
|
|
29
30
|
alignItems: "center"
|
|
30
|
-
}),
|
|
31
|
+
}), m = ({ content: e, cancel: t, title: a, ok: o, open: f, onOk: p, onCancel: m }) => /* @__PURE__ */ r(s, {
|
|
31
32
|
open: f,
|
|
32
33
|
children: [
|
|
33
34
|
/* @__PURE__ */ n(c, { children: a }),
|
|
@@ -43,7 +44,7 @@ var f = t(({ label: e, type: t = "add", onClick: s }) => /* @__PURE__ */ r(i, {
|
|
|
43
44
|
})] })
|
|
44
45
|
]
|
|
45
46
|
});
|
|
46
|
-
|
|
47
|
+
m.propTypes = {
|
|
47
48
|
content: e.string.isRequired,
|
|
48
49
|
title: e.string.isRequired,
|
|
49
50
|
cancel: e.string.isRequired,
|
|
@@ -53,4 +54,4 @@ p.propTypes = {
|
|
|
53
54
|
onOk: e.func.isRequired
|
|
54
55
|
};
|
|
55
56
|
//#endregion
|
|
56
|
-
export {
|
|
57
|
+
export { m as ConfirmationDialog, p as PassageButton, f as RemoveAddButton };
|
package/dist/author/design.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfirmationDialog as e, PassageButton as t } from "./common.js";
|
|
2
|
-
import n from "./passage.js";
|
|
2
|
+
import { PassageComponent as n } from "./passage.js";
|
|
3
3
|
import r from "react";
|
|
4
4
|
import i from "prop-types";
|
|
5
5
|
import { styled as a } from "@mui/material/styles";
|
|
@@ -117,4 +117,4 @@ var { Panel: d, toggle: f, dropdown: p } = l, m = a(u)(({ theme: e }) => ({
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
//#endregion
|
|
120
|
-
export { h as default };
|
|
120
|
+
export { h as Main, h as default };
|
package/dist/author/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "./design.js";
|
|
1
|
+
import { Main as e } from "./design.js";
|
|
2
2
|
import t from "./defaults.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { createRoot as r } from "react-dom/client";
|
|
@@ -59,7 +59,7 @@ var l = class l extends HTMLElement {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
disconnectedCallback() {
|
|
62
|
-
this._root
|
|
62
|
+
this._root &&= (this._root.unmount(), null);
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
//#endregion
|
package/dist/author/passage.js
CHANGED