@pie-lib/editable-html-tip-tap 0.1.0

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.
Files changed (158) hide show
  1. package/dist/components/CharacterPicker.d.ts +31 -0
  2. package/dist/components/CharacterPicker.d.ts.map +1 -0
  3. package/dist/components/CharacterPicker.js +129 -0
  4. package/dist/components/EditableHtml.d.ts +11 -0
  5. package/dist/components/EditableHtml.d.ts.map +1 -0
  6. package/dist/components/EditableHtml.js +270 -0
  7. package/dist/components/MenuBar.d.ts +11 -0
  8. package/dist/components/MenuBar.d.ts.map +1 -0
  9. package/dist/components/MenuBar.js +460 -0
  10. package/dist/components/TiptapContainer.d.ts +11 -0
  11. package/dist/components/TiptapContainer.d.ts.map +1 -0
  12. package/dist/components/TiptapContainer.js +157 -0
  13. package/dist/components/characters/characterUtils.d.ts +36 -0
  14. package/dist/components/characters/characterUtils.d.ts.map +1 -0
  15. package/dist/components/characters/characterUtils.js +465 -0
  16. package/dist/components/characters/custom-popper.d.ts +14 -0
  17. package/dist/components/characters/custom-popper.d.ts.map +1 -0
  18. package/dist/components/characters/custom-popper.js +32 -0
  19. package/dist/components/common/done-button.d.ts +30 -0
  20. package/dist/components/common/done-button.d.ts.map +1 -0
  21. package/dist/components/common/done-button.js +26 -0
  22. package/dist/components/common/toolbar-buttons.d.ts +39 -0
  23. package/dist/components/common/toolbar-buttons.d.ts.map +1 -0
  24. package/dist/components/common/toolbar-buttons.js +91 -0
  25. package/dist/components/icons/CssIcon.d.ts +11 -0
  26. package/dist/components/icons/CssIcon.d.ts.map +1 -0
  27. package/dist/components/icons/CssIcon.js +14 -0
  28. package/dist/components/icons/RespArea.d.ts +26 -0
  29. package/dist/components/icons/RespArea.d.ts.map +1 -0
  30. package/dist/components/icons/RespArea.js +42 -0
  31. package/dist/components/icons/TableIcons.d.ts +14 -0
  32. package/dist/components/icons/TableIcons.d.ts.map +1 -0
  33. package/dist/components/icons/TableIcons.js +32 -0
  34. package/dist/components/icons/TextAlign.d.ts +18 -0
  35. package/dist/components/icons/TextAlign.d.ts.map +1 -0
  36. package/dist/components/icons/TextAlign.js +134 -0
  37. package/dist/components/image/AltDialog.d.ts +23 -0
  38. package/dist/components/image/AltDialog.d.ts.map +1 -0
  39. package/dist/components/image/AltDialog.js +61 -0
  40. package/dist/components/image/ImageToolbar.d.ts +25 -0
  41. package/dist/components/image/ImageToolbar.d.ts.map +1 -0
  42. package/dist/components/image/ImageToolbar.js +80 -0
  43. package/dist/components/image/InsertImageHandler.d.ts +33 -0
  44. package/dist/components/image/InsertImageHandler.d.ts.map +1 -0
  45. package/dist/components/image/InsertImageHandler.js +55 -0
  46. package/dist/components/media/MediaDialog.d.ts +44 -0
  47. package/dist/components/media/MediaDialog.d.ts.map +1 -0
  48. package/dist/components/media/MediaDialog.js +389 -0
  49. package/dist/components/media/MediaToolbar.d.ts +20 -0
  50. package/dist/components/media/MediaToolbar.d.ts.map +1 -0
  51. package/dist/components/media/MediaToolbar.js +41 -0
  52. package/dist/components/media/MediaWrapper.d.ts +20 -0
  53. package/dist/components/media/MediaWrapper.d.ts.map +1 -0
  54. package/dist/components/respArea/DragInTheBlank/DragInTheBlank.d.ts +23 -0
  55. package/dist/components/respArea/DragInTheBlank/DragInTheBlank.d.ts.map +1 -0
  56. package/dist/components/respArea/DragInTheBlank/DragInTheBlank.js +58 -0
  57. package/dist/components/respArea/DragInTheBlank/choice.d.ts +56 -0
  58. package/dist/components/respArea/DragInTheBlank/choice.d.ts.map +1 -0
  59. package/dist/components/respArea/DragInTheBlank/choice.js +156 -0
  60. package/dist/components/respArea/ExplicitConstructedResponse.d.ts +20 -0
  61. package/dist/components/respArea/ExplicitConstructedResponse.d.ts.map +1 -0
  62. package/dist/components/respArea/ExplicitConstructedResponse.js +67 -0
  63. package/dist/components/respArea/InlineDropdown.d.ts +18 -0
  64. package/dist/components/respArea/InlineDropdown.d.ts.map +1 -0
  65. package/dist/components/respArea/InlineDropdown.js +91 -0
  66. package/dist/components/respArea/MathTemplated.d.ts +19 -0
  67. package/dist/components/respArea/MathTemplated.d.ts.map +1 -0
  68. package/dist/components/respArea/MathTemplated.js +97 -0
  69. package/dist/components/respArea/ToolbarIcon.d.ts +14 -0
  70. package/dist/components/respArea/ToolbarIcon.d.ts.map +1 -0
  71. package/dist/components/respArea/ToolbarIcon.js +17 -0
  72. package/dist/constants.d.ts +14 -0
  73. package/dist/constants.d.ts.map +1 -0
  74. package/dist/constants.js +4 -0
  75. package/dist/extensions/css.d.ts +12 -0
  76. package/dist/extensions/css.d.ts.map +1 -0
  77. package/dist/extensions/css.js +115 -0
  78. package/dist/extensions/custom-toolbar-wrapper.d.ts +11 -0
  79. package/dist/extensions/custom-toolbar-wrapper.d.ts.map +1 -0
  80. package/dist/extensions/custom-toolbar-wrapper.js +58 -0
  81. package/dist/extensions/div-node.d.ts +11 -0
  82. package/dist/extensions/div-node.d.ts.map +1 -0
  83. package/dist/extensions/div-node.js +25 -0
  84. package/dist/extensions/extended-table.d.ts +11 -0
  85. package/dist/extensions/extended-table.d.ts.map +1 -0
  86. package/dist/extensions/extended-table.js +15 -0
  87. package/dist/extensions/image-component.d.ts +22 -0
  88. package/dist/extensions/image-component.d.ts.map +1 -0
  89. package/dist/extensions/image-component.js +200 -0
  90. package/dist/extensions/image.d.ts +11 -0
  91. package/dist/extensions/image.d.ts.map +1 -0
  92. package/dist/extensions/image.js +42 -0
  93. package/dist/extensions/index.d.ts +17 -0
  94. package/dist/extensions/index.d.ts.map +1 -0
  95. package/dist/extensions/index.js +65 -0
  96. package/dist/extensions/math.d.ts +15 -0
  97. package/dist/extensions/math.d.ts.map +1 -0
  98. package/dist/extensions/math.js +150 -0
  99. package/dist/extensions/media.d.ts +19 -0
  100. package/dist/extensions/media.d.ts.map +1 -0
  101. package/dist/extensions/media.js +147 -0
  102. package/dist/extensions/responseArea.d.ts +28 -0
  103. package/dist/extensions/responseArea.d.ts.map +1 -0
  104. package/dist/extensions/responseArea.js +259 -0
  105. package/dist/index.d.ts +13 -0
  106. package/dist/index.d.ts.map +1 -0
  107. package/dist/index.js +6 -0
  108. package/dist/styles/editorContainerStyles.d.ts +135 -0
  109. package/dist/styles/editorContainerStyles.d.ts.map +1 -0
  110. package/dist/theme.d.ts +10 -0
  111. package/dist/theme.d.ts.map +1 -0
  112. package/dist/utils/helper.d.ts +10 -0
  113. package/dist/utils/helper.d.ts.map +1 -0
  114. package/dist/utils/helper.js +7 -0
  115. package/dist/utils/size.d.ts +10 -0
  116. package/dist/utils/size.d.ts.map +1 -0
  117. package/dist/utils/size.js +14 -0
  118. package/package.json +71 -0
  119. package/src/components/CharacterPicker.tsx +210 -0
  120. package/src/components/EditableHtml.tsx +416 -0
  121. package/src/components/MenuBar.tsx +558 -0
  122. package/src/components/TiptapContainer.tsx +228 -0
  123. package/src/components/characters/characterUtils.ts +457 -0
  124. package/src/components/characters/custom-popper.tsx +48 -0
  125. package/src/components/common/done-button.tsx +37 -0
  126. package/src/components/common/toolbar-buttons.tsx +132 -0
  127. package/src/components/icons/CssIcon.tsx +25 -0
  128. package/src/components/icons/RespArea.tsx +81 -0
  129. package/src/components/icons/TableIcons.tsx +62 -0
  130. package/src/components/icons/TextAlign.tsx +124 -0
  131. package/src/components/image/AltDialog.tsx +92 -0
  132. package/src/components/image/ImageToolbar.tsx +109 -0
  133. package/src/components/image/InsertImageHandler.ts +121 -0
  134. package/src/components/media/MediaDialog.tsx +606 -0
  135. package/src/components/media/MediaToolbar.tsx +59 -0
  136. package/src/components/media/MediaWrapper.tsx +49 -0
  137. package/src/components/respArea/DragInTheBlank/DragInTheBlank.tsx +86 -0
  138. package/src/components/respArea/DragInTheBlank/choice.tsx +266 -0
  139. package/src/components/respArea/ExplicitConstructedResponse.tsx +122 -0
  140. package/src/components/respArea/InlineDropdown.tsx +152 -0
  141. package/src/components/respArea/MathTemplated.tsx +134 -0
  142. package/src/components/respArea/ToolbarIcon.tsx +76 -0
  143. package/src/constants.ts +15 -0
  144. package/src/extensions/css.tsx +230 -0
  145. package/src/extensions/custom-toolbar-wrapper.tsx +88 -0
  146. package/src/extensions/div-node.tsx +46 -0
  147. package/src/extensions/extended-table.ts +34 -0
  148. package/src/extensions/image-component.tsx +303 -0
  149. package/src/extensions/image.tsx +64 -0
  150. package/src/extensions/index.tsx +91 -0
  151. package/src/extensions/math.tsx +285 -0
  152. package/src/extensions/media.tsx +198 -0
  153. package/src/extensions/responseArea.tsx +404 -0
  154. package/src/index.tsx +15 -0
  155. package/src/styles/editorContainerStyles.ts +155 -0
  156. package/src/theme.ts +11 -0
  157. package/src/utils/helper.tsx +27 -0
  158. package/src/utils/size.ts +42 -0
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/icons/CssIcon.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ declare const CssIcon: () => JSX.Element;
10
+ export default CssIcon;
11
+ //# sourceMappingURL=CssIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CssIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CssIcon.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAcH,QAAA,MAAM,OAAO,mBAA2C,CAAC;AAEzD,eAAe,OAAO,CAAC"}
@@ -0,0 +1,14 @@
1
+ import "react";
2
+ import { styled as e } from "@mui/material/styles";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/components/icons/CssIcon.tsx
5
+ var n = e("div")(({ theme: e }) => ({
6
+ fontFamily: "Cerebri Sans, Arial, sans-serif",
7
+ fontSize: e.typography.fontSize,
8
+ fontWeight: "bold",
9
+ lineHeight: "14px",
10
+ position: "relative",
11
+ whiteSpace: "nowrap"
12
+ })), r = () => /* @__PURE__ */ t(n, { children: "CSS" });
13
+ //#endregion
14
+ export { r as default };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/icons/RespArea.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import PropTypes from 'prop-types';
10
+ export declare const Chevron: {
11
+ (props: any): JSX.Element;
12
+ propTypes: {
13
+ direction: PropTypes.Requireable<string>;
14
+ style: PropTypes.Requireable<object>;
15
+ };
16
+ };
17
+ export declare const GripIcon: {
18
+ ({ style }: {
19
+ style: any;
20
+ }): JSX.Element;
21
+ propTypes: {
22
+ style: PropTypes.Requireable<object>;
23
+ };
24
+ };
25
+ export declare const ToolbarIcon: () => JSX.Element;
26
+ //# sourceMappingURL=RespArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RespArea.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RespArea.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAGH,OAAO,SAAS,MAAM,YAAY,CAAC;AAqBnC,eAAO,MAAM,OAAO;;;;;;CAYnB,CAAC;AAOF,eAAO,MAAM,QAAQ;;;;;;;CAWpB,CAAC;AAkBF,eAAO,MAAM,WAAW,mBAA+D,CAAC"}
@@ -0,0 +1,42 @@
1
+ import "react";
2
+ import { styled as e } from "@mui/material/styles";
3
+ import t from "prop-types";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ import i from "@mui/icons-material/ChevronRight";
6
+ import a from "@mui/icons-material/MoreVert";
7
+ //#region src/components/icons/RespArea.tsx
8
+ var o = (e) => {
9
+ switch (e) {
10
+ case "down": return 90;
11
+ case "up": return -90;
12
+ case "left": return 180;
13
+ default: return 0;
14
+ }
15
+ }, s = (e) => {
16
+ let { direction: t, style: r } = e;
17
+ return /* @__PURE__ */ n(i, { style: {
18
+ transform: `rotate(${o(t)}deg)`,
19
+ ...r
20
+ } });
21
+ };
22
+ s.propTypes = {
23
+ direction: t.string,
24
+ style: t.object
25
+ };
26
+ var c = ({ style: e }) => /* @__PURE__ */ r("span", {
27
+ style: e,
28
+ children: [/* @__PURE__ */ n(a, { style: { margin: "0 -16px" } }), /* @__PURE__ */ n(a, {})]
29
+ });
30
+ c.propTypes = { style: t.object }, e("div")(({ theme: e }) => ({
31
+ fontFamily: "Cerebri Sans !important",
32
+ fontSize: e.typography.fontSize,
33
+ fontWeight: "bold",
34
+ lineHeight: "14px",
35
+ position: "relative",
36
+ top: "7px",
37
+ width: "110px",
38
+ height: "28px",
39
+ whiteSpace: "nowrap"
40
+ }));
41
+ //#endregion
42
+ export { s as Chevron, c as GripIcon };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/icons/TableIcons.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ export declare const AddRow: (props: any) => JSX.Element;
10
+ export declare const RemoveRow: (props: any) => JSX.Element;
11
+ export declare const AddColumn: (props: any) => JSX.Element;
12
+ export declare const RemoveColumn: (props: any) => JSX.Element;
13
+ export declare const RemoveTable: (props: any) => JSX.Element;
14
+ //# sourceMappingURL=TableIcons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableIcons.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TableIcons.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAoBH,eAAO,MAAM,MAAM,6BAKjB,CAAC;AAEH,eAAO,MAAM,SAAS,6BAKpB,CAAC;AAEH,eAAO,MAAM,SAAS,6BAKpB,CAAC;AAEH,eAAO,MAAM,YAAY,6BAKvB,CAAC;AAEH,eAAO,MAAM,WAAW,6BAKtB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import "react";
2
+ import { styled as e } from "@mui/material/styles";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ //#region src/components/icons/TableIcons.tsx
5
+ var n = e("path")({
6
+ fill: "grey",
7
+ "&:hover": { fill: "black" }
8
+ }), r = (e) => (n) => /* @__PURE__ */ t("svg", {
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ version: "1.1",
11
+ width: "24",
12
+ height: "24",
13
+ viewBox: "0 0 24 24",
14
+ children: /* @__PURE__ */ t(e, { ...n })
15
+ }), i = r((e) => /* @__PURE__ */ t(n, {
16
+ ...e,
17
+ d: "M22,10A2,2 0 0,1 20,12H4A2,2 0 0,1 2,10V3H4V5H8V3H10V5H14V3H16V5H20V3H22V10M4,10H8V7H4V10M10,10H14V7H10V10M20,10V7H16V10H20M11,14H13V17H16V19H13V22H11V19H8V17H11V14Z"
18
+ })), a = r((e) => /* @__PURE__ */ t(n, {
19
+ ...e,
20
+ d: "M9.41,13L12,15.59L14.59,13L16,14.41L13.41,17L16,19.59L14.59,21L12,18.41L9.41,21L8,19.59L10.59,17L8,14.41L9.41,13M22,9A2,2 0 0,1 20,11H4A2,2 0 0,1 2,9V6A2,2 0 0,1 4,4H20A2,2 0 0,1 22,6V9M4,9H8V6H4V9M10,9H14V6H10V9M16,9H20V6H16V9Z"
21
+ })), o = r((e) => /* @__PURE__ */ t(n, {
22
+ ...e,
23
+ d: "M11,2A2,2 0 0,1 13,4V20A2,2 0 0,1 11,22H2V2H11M4,10V14H11V10H4M4,16V20H11V16H4M4,4V8H11V4H4M15,11H18V8H20V11H23V13H20V16H18V13H15V11Z"
24
+ })), s = r((e) => /* @__PURE__ */ t(n, {
25
+ ...e,
26
+ d: "M4,2H11A2,2 0 0,1 13,4V20A2,2 0 0,1 11,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M4,10V14H11V10H4M4,16V20H11V16H4M4,4V8H11V4H4M17.59,12L15,9.41L16.41,8L19,10.59L21.59,8L23,9.41L20.41,12L23,14.59L21.59,16L19,13.41L16.41,16L15,14.59L17.59,12Z"
27
+ })), c = r((e) => /* @__PURE__ */ t(n, {
28
+ ...e,
29
+ d: "M15.46,15.88L16.88,14.46L19,16.59L21.12,14.46L22.54,15.88L20.41,18L22.54,20.12L21.12,21.54L19,19.41L16.88,21.54L15.46,20.12L17.59,18L15.46,15.88M4,3H18A2,2 0 0,1 20,5V12.08C18.45,11.82 16.92,12.18 15.68,13H12V17H13.08C12.97,17.68 12.97,18.35 13.08,19H4A2,2 0 0,1 2,17V5A2,2 0 0,1 4,3M4,7V11H10V7H4M12,7V11H18V7H12M4,13V17H10V13H4Z"
30
+ }));
31
+ //#endregion
32
+ export { o as AddColumn, i as AddRow, s as RemoveColumn, a as RemoveRow, c as RemoveTable };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/icons/TextAlign.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ export declare const AlignLeft: () => JSX.Element;
10
+ export declare const AlignRight: () => JSX.Element;
11
+ export declare const AlignCenter: () => JSX.Element;
12
+ export declare const AlignJustify: () => JSX.Element;
13
+ declare const _default: ({ editor, onChange }: {
14
+ editor: any;
15
+ onChange: any;
16
+ }) => JSX.Element;
17
+ export default _default;
18
+ //# sourceMappingURL=TextAlign.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextAlign.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TextAlign.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAOH,eAAO,MAAM,SAAS,mBAOrB,CAAC;AAEF,eAAO,MAAM,UAAU,mBAOtB,CAAC;AAEF,eAAO,MAAM,WAAW,mBAOvB,CAAC;AAEF,eAAO,MAAM,YAAY,mBAOxB,CAAC;yBAEc;;;CAAoB;AAApC,wBAwEE"}
@@ -0,0 +1,134 @@
1
+ import { useState as e } from "react";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ import r from "@mui/material/List";
4
+ import i from "@mui/material/ListItem";
5
+ import a from "@mui/material/Collapse";
6
+ //#region src/components/icons/TextAlign.tsx
7
+ var o = () => /* @__PURE__ */ t("svg", {
8
+ width: "20",
9
+ height: "20",
10
+ viewBox: "0 0 66 66",
11
+ fill: "none",
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ children: /* @__PURE__ */ t("path", {
14
+ d: "M42.1875 4.75C42.1875 7.38672 39.9902 9.4375 37.5 9.4375H4.6875C2.05078 9.4375 0 7.38672 0 4.75C0 2.25977 2.05078 0.0625 4.6875 0.0625H37.5C39.9902 0.0625 42.1875 2.25977 42.1875 4.75ZM42.1875 42.25C42.1875 44.8867 39.9902 46.9375 37.5 46.9375H4.6875C2.05078 46.9375 0 44.8867 0 42.25C0 39.7598 2.05078 37.5625 4.6875 37.5625H37.5C39.9902 37.5625 42.1875 39.7598 42.1875 42.25ZM0 23.5C0 21.0098 2.05078 18.8125 4.6875 18.8125H60.9375C63.4277 18.8125 65.625 21.0098 65.625 23.5C65.625 26.1367 63.4277 28.1875 60.9375 28.1875H4.6875C2.05078 28.1875 0 26.1367 0 23.5ZM65.625 61C65.625 63.6367 63.4277 65.6875 60.9375 65.6875H4.6875C2.05078 65.6875 0 63.6367 0 61C0 58.5098 2.05078 56.3125 4.6875 56.3125H60.9375C63.4277 56.3125 65.625 58.5098 65.625 61Z",
15
+ fill: "currentColor"
16
+ })
17
+ }), s = () => /* @__PURE__ */ t("svg", {
18
+ width: "20",
19
+ height: "20",
20
+ viewBox: "0 0 66 66",
21
+ fill: "none",
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ children: /* @__PURE__ */ t("path", {
24
+ d: "M65.625 4.75C65.625 7.38672 63.4277 9.4375 60.9375 9.4375H28.125C25.4883 9.4375 23.4375 7.38672 23.4375 4.75C23.4375 2.25977 25.4883 0.0625 28.125 0.0625H60.9375C63.4277 0.0625 65.625 2.25977 65.625 4.75ZM65.625 42.25C65.625 44.8867 63.4277 46.9375 60.9375 46.9375H28.125C25.4883 46.9375 23.4375 44.8867 23.4375 42.25C23.4375 39.7598 25.4883 37.5625 28.125 37.5625H60.9375C63.4277 37.5625 65.625 39.7598 65.625 42.25ZM0 23.5C0 21.0098 2.05078 18.8125 4.6875 18.8125H60.9375C63.4277 18.8125 65.625 21.0098 65.625 23.5C65.625 26.1367 63.4277 28.1875 60.9375 28.1875H4.6875C2.05078 28.1875 0 26.1367 0 23.5ZM65.625 61C65.625 63.6367 63.4277 65.6875 60.9375 65.6875H4.6875C2.05078 65.6875 0 63.6367 0 61C0 58.5098 2.05078 56.3125 4.6875 56.3125H60.9375C63.4277 56.3125 65.625 58.5098 65.625 61Z",
25
+ fill: "currentColor"
26
+ })
27
+ }), c = () => /* @__PURE__ */ t("svg", {
28
+ width: "20",
29
+ height: "20",
30
+ viewBox: "0 0 66 66",
31
+ fill: "none",
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ children: /* @__PURE__ */ t("path", {
34
+ d: "M51.5625 4.75C51.5625 7.38672 49.3652 9.4375 46.875 9.4375H18.75C16.1133 9.4375 14.0625 7.38672 14.0625 4.75C14.0625 2.25977 16.1133 0.0625 18.75 0.0625H46.875C49.3652 0.0625 51.5625 2.25977 51.5625 4.75ZM65.625 23.5C65.625 26.1367 63.4277 28.1875 60.9375 28.1875H4.6875C2.05078 28.1875 0 26.1367 0 23.5C0 21.0098 2.05078 18.8125 4.6875 18.8125H60.9375C63.4277 18.8125 65.625 21.0098 65.625 23.5ZM0 61C0 58.5098 2.05078 56.3125 4.6875 56.3125H60.9375C63.4277 56.3125 65.625 58.5098 65.625 61C65.625 63.6367 63.4277 65.6875 60.9375 65.6875H4.6875C2.05078 65.6875 0 63.6367 0 61ZM51.5625 42.25C51.5625 44.8867 49.3652 46.9375 46.875 46.9375H18.75C16.1133 46.9375 14.0625 44.8867 14.0625 42.25C14.0625 39.7598 16.1133 37.5625 18.75 37.5625H46.875C49.3652 37.5625 51.5625 39.7598 51.5625 42.25Z",
35
+ fill: "currentColor"
36
+ })
37
+ }), l = () => /* @__PURE__ */ t("svg", {
38
+ width: "20",
39
+ height: "20",
40
+ viewBox: "0 0 66 66",
41
+ fill: "none",
42
+ xmlns: "http://www.w3.org/2000/svg",
43
+ children: /* @__PURE__ */ t("path", {
44
+ d: "M65.625 4.75C65.625 7.38672 63.4277 9.4375 60.9375 9.4375H4.6875C2.05078 9.4375 0 7.38672 0 4.75C0 2.25977 2.05078 0.0625 4.6875 0.0625H60.9375C63.4277 0.0625 65.625 2.25977 65.625 4.75ZM65.625 42.25C65.625 44.8867 63.4277 46.9375 60.9375 46.9375H4.6875C2.05078 46.9375 0 44.8867 0 42.25C0 39.7598 2.05078 37.5625 4.6875 37.5625H60.9375C63.4277 37.5625 65.625 39.7598 65.625 42.25ZM0 23.5C0 21.0098 2.05078 18.8125 4.6875 18.8125H60.9375C63.4277 18.8125 65.625 21.0098 65.625 23.5C65.625 26.1367 63.4277 28.1875 60.9375 28.1875H4.6875C2.05078 28.1875 0 26.1367 0 23.5ZM65.625 61C65.625 63.6367 63.4277 65.6875 60.9375 65.6875H4.6875C2.05078 65.6875 0 63.6367 0 61C0 58.5098 2.05078 56.3125 4.6875 56.3125H60.9375C63.4277 56.3125 65.625 58.5098 65.625 61Z",
45
+ fill: "currentColor"
46
+ })
47
+ }), u = ({ editor: u, onChange: d }) => {
48
+ let [f, p] = e(!1), m;
49
+ switch (!0) {
50
+ case u.isActive({ textAlign: "right" }):
51
+ m = /* @__PURE__ */ t(s, {});
52
+ break;
53
+ case u.isActive({ textAlign: "center" }):
54
+ m = /* @__PURE__ */ t(c, {});
55
+ break;
56
+ case u.isActive({ textAlign: "justify" }):
57
+ m = /* @__PURE__ */ t(l, {});
58
+ break;
59
+ default:
60
+ m = /* @__PURE__ */ t(o, {});
61
+ break;
62
+ }
63
+ let h = (e) => {
64
+ let t = e.currentTarget?.getAttribute("value");
65
+ t && u.commands.setTextAlign(t), p(!1);
66
+ };
67
+ return /* @__PURE__ */ n("div", { children: [/* @__PURE__ */ n("div", {
68
+ style: {
69
+ display: "flex",
70
+ alignItems: "center"
71
+ },
72
+ onClick: (e) => {
73
+ e.preventDefault(), e.stopPropagation(), p(!f);
74
+ },
75
+ children: [m, /* @__PURE__ */ t("span", {
76
+ style: {
77
+ marginLeft: "5px",
78
+ fontSize: "8px"
79
+ },
80
+ children: "▼"
81
+ })]
82
+ }), /* @__PURE__ */ t(a, {
83
+ in: f,
84
+ timeout: "auto",
85
+ unmountOnExit: !0,
86
+ style: { position: "absolute" },
87
+ children: /* @__PURE__ */ n(r, {
88
+ component: "div",
89
+ disablePadding: !0,
90
+ style: {
91
+ background: "#fff",
92
+ display: "flex",
93
+ flexDirection: "row",
94
+ padding: 0
95
+ },
96
+ children: [
97
+ /* @__PURE__ */ t(i, {
98
+ button: !0,
99
+ type: "submit",
100
+ value: "left",
101
+ "aria-label": "Align text left",
102
+ onClick: h,
103
+ children: /* @__PURE__ */ t(o, {})
104
+ }),
105
+ /* @__PURE__ */ t(i, {
106
+ button: !0,
107
+ type: "submit",
108
+ value: "center",
109
+ "aria-label": "Align text center",
110
+ onClick: h,
111
+ children: /* @__PURE__ */ t(c, {})
112
+ }),
113
+ /* @__PURE__ */ t(i, {
114
+ button: !0,
115
+ type: "submit",
116
+ value: "right",
117
+ "aria-label": "Align text right",
118
+ onClick: h,
119
+ children: /* @__PURE__ */ t(s, {})
120
+ }),
121
+ /* @__PURE__ */ t(i, {
122
+ button: !0,
123
+ type: "submit",
124
+ value: "justify",
125
+ "aria-label": "Justify text",
126
+ onClick: h,
127
+ children: /* @__PURE__ */ t(l, {})
128
+ })
129
+ ]
130
+ })
131
+ })] });
132
+ };
133
+ //#endregion
134
+ export { u as default };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/image/AltDialog.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ export declare class AltDialog extends React.Component {
12
+ static propTypes: {
13
+ onDone: PropTypes.Validator<(...args: any[]) => any>;
14
+ alt: PropTypes.Requireable<string>;
15
+ };
16
+ constructor(props: any);
17
+ closeDialog: any;
18
+ onDone: any;
19
+ handleOverflow: any;
20
+ render(): JSX.Element;
21
+ }
22
+ export default AltDialog;
23
+ //# sourceMappingURL=AltDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AltDialog.d.ts","sourceRoot":"","sources":["../../../src/components/image/AltDialog.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,qBAAa,SAAU,SAAQ,KAAK,CAAC,SAAS;IAC5C,MAAM,CAAC,SAAS;;;MAGd;gBAEU,KAAK,KAAA;IAUjB,WAAW,EAAE,GAAG,CAMd;IAEF,MAAM,EAAE,GAAG,CAMT;IAEF,cAAc,EAAE,GAAG,CAEjB;IAEF,MAAM;CAkCP;AAED,eAAe,SAAS,CAAC"}
@@ -0,0 +1,61 @@
1
+ import e from "react";
2
+ import t from "prop-types";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import i from "@mui/material/DialogContent";
5
+ import a from "@mui/icons-material/ArrowBackIos";
6
+ import o from "@mui/material/TextField";
7
+ import s from "@mui/material/DialogActions";
8
+ import c from "@mui/material/Button";
9
+ import l from "@mui/material/Dialog";
10
+ //#region src/components/image/AltDialog.tsx
11
+ var u = class extends e.Component {
12
+ static propTypes = {
13
+ onDone: t.func.isRequired,
14
+ alt: t.string
15
+ };
16
+ constructor(e) {
17
+ super(e);
18
+ let { alt: t } = e;
19
+ this.state = { value: t };
20
+ }
21
+ closeDialog = () => {
22
+ document.querySelectorAll("#text-dialog").forEach(function(e) {
23
+ return e.remove();
24
+ });
25
+ };
26
+ onDone = () => {
27
+ let { onDone: e } = this.props, { value: t } = this.state;
28
+ e(t), this.closeDialog();
29
+ };
30
+ handleOverflow = () => {
31
+ document.body.style.removeProperty("overflow");
32
+ };
33
+ render() {
34
+ let { value: e } = this.state;
35
+ return /* @__PURE__ */ r(l, {
36
+ open: !0,
37
+ disablePortal: !0,
38
+ onClose: this.closeDialog,
39
+ id: "text-dialog",
40
+ hideBackdrop: !0,
41
+ disableScrollLock: !0,
42
+ onEntered: this.handleOverflow,
43
+ children: [/* @__PURE__ */ n(i, { children: /* @__PURE__ */ r("div", {
44
+ style: { display: "flex" },
45
+ children: [/* @__PURE__ */ n(a, { style: { paddingTop: "6px" } }), /* @__PURE__ */ n(o, {
46
+ multiline: !0,
47
+ placeholder: "Enter an Alt Text description of this image",
48
+ helperText: "Users with visual limitations rely on Alt Text, since screen readers cannot otherwise describe the contents of an image.",
49
+ value: e,
50
+ onChange: (e) => this.setState({ value: e.target.value }),
51
+ FormHelperTextProps: { style: { fontSize: 14 } }
52
+ })]
53
+ }) }), /* @__PURE__ */ n(s, { children: /* @__PURE__ */ n(c, {
54
+ onClick: this.onDone,
55
+ children: "Done"
56
+ }) })]
57
+ });
58
+ }
59
+ };
60
+ //#endregion
61
+ export { u as default };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/image/ImageToolbar.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import PropTypes from 'prop-types';
10
+ import React from 'react';
11
+ export declare class ImageToolbar extends React.Component {
12
+ static propTypes: {
13
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
14
+ alignment: PropTypes.Requireable<string>;
15
+ alt: PropTypes.Requireable<string>;
16
+ imageLoaded: PropTypes.Requireable<boolean>;
17
+ disableImageAlignmentButtons: PropTypes.Requireable<boolean>;
18
+ };
19
+ onAltTextDone: any;
20
+ onAlignmentClick: any;
21
+ renderDialog: any;
22
+ render(): JSX.Element;
23
+ }
24
+ export default ImageToolbar;
25
+ //# sourceMappingURL=ImageToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/image/ImageToolbar.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AA2C1B,qBAAa,YAAa,SAAQ,KAAK,CAAC,SAAS;IAC/C,MAAM,CAAC,SAAS;;;;;;MAMd;IAEF,aAAa,EAAE,GAAG,CAIhB;IAEF,gBAAgB,EAAE,GAAG,CAGnB;IAEF,YAAY,EAAE,GAAG,CASf;IAEF,MAAM;CAqBP;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,80 @@
1
+ import e from "./AltDialog.js";
2
+ import { MarkButton as t } from "../common/toolbar-buttons.js";
3
+ import n from "react";
4
+ import { styled as r } from "@mui/material/styles";
5
+ import i from "prop-types";
6
+ import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
7
+ import c from "react-dom";
8
+ import l from "debug";
9
+ //#region src/components/image/ImageToolbar.tsx
10
+ var u = l("@pie-lib:editable-html:plugins:image:image-toolbar"), d = r("div")(({ theme: e }) => ({
11
+ paddingLeft: e.spacing.unit,
12
+ display: "flex",
13
+ alignItems: "center"
14
+ })), f = r("span", { shouldForwardProp: (e) => !["disabled", "hasAlignmentButtons"].includes(e) })(({ disabled: e, hasAlignmentButtons: t }) => ({
15
+ ...e && { opacity: .5 },
16
+ ...t && {
17
+ borderLeft: "1px solid grey",
18
+ paddingLeft: 8,
19
+ marginLeft: 4
20
+ }
21
+ })), p = ({ alignment: e, active: n, onClick: r }) => /* @__PURE__ */ o(t, {
22
+ active: n,
23
+ onToggle: () => r(e),
24
+ label: e,
25
+ children: e
26
+ });
27
+ p.propTypes = {
28
+ alignment: i.string.isRequired,
29
+ active: i.bool.isRequired,
30
+ onClick: i.func.isRequired
31
+ };
32
+ var m = class extends n.Component {
33
+ static propTypes = {
34
+ onChange: i.func.isRequired,
35
+ alignment: i.string,
36
+ alt: i.string,
37
+ imageLoaded: i.bool,
38
+ disableImageAlignmentButtons: i.bool
39
+ };
40
+ onAltTextDone = (e) => {
41
+ u("[onAltTextDone]: alt:", e), this.props.onChange({ alt: e }, !0);
42
+ };
43
+ onAlignmentClick = (e) => {
44
+ u("[onAlignmentClick]: alignment:", e), this.props.onChange({ alignment: e });
45
+ };
46
+ renderDialog = () => {
47
+ let { alt: t } = this.props, n = document.createElement("div"), r = /* @__PURE__ */ o(e, {
48
+ alt: t,
49
+ onDone: this.onAltTextDone
50
+ });
51
+ c.render(r, n), document.body.appendChild(n);
52
+ };
53
+ render() {
54
+ let { alignment: e, imageLoaded: t, disableImageAlignmentButtons: n } = this.props;
55
+ return /* @__PURE__ */ s(d, { children: [!n && /* @__PURE__ */ s(a, { children: [
56
+ /* @__PURE__ */ o(p, {
57
+ alignment: "left",
58
+ active: e === "left",
59
+ onClick: this.onAlignmentClick
60
+ }),
61
+ /* @__PURE__ */ o(p, {
62
+ alignment: "center",
63
+ active: e === "center",
64
+ onClick: this.onAlignmentClick
65
+ }),
66
+ /* @__PURE__ */ o(p, {
67
+ alignment: "right",
68
+ active: e === "right",
69
+ onClick: this.onAlignmentClick
70
+ })
71
+ ] }), /* @__PURE__ */ o(f, {
72
+ disabled: !t,
73
+ hasAlignmentButtons: !n,
74
+ onMouseDown: (e) => t && this.renderDialog(e),
75
+ children: "Alt text"
76
+ })] });
77
+ }
78
+ };
79
+ //#endregion
80
+ export { m as default };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/image/InsertImageHandler.js
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ /**
10
+ * Handles user selection, insertion (or cancellation) of an image into the editor.
11
+ * @param {Block} placeholderBlock - a block that has been added to the editor as a place holder for the image
12
+ * @param {Function} onFinish - a function to call if uploading fails or succeeds
13
+ * @param {Function} getValue - a function to return the value of the editor
14
+ * @param {Function} onChange - callback to notify changes applied by the handler
15
+ * @param {Boolean} isPasted - a boolean that keeps track if the file is pasted
16
+ */
17
+ declare class InsertImageHandler {
18
+ constructor(editor: any, node: any, onFinish: any, isPasted?: boolean);
19
+ cancel(): void;
20
+ updateNode(newAttrs: any): void;
21
+ deleteNode(): void;
22
+ done(err: any, src: any): void;
23
+ /**
24
+ * Notify handler that the user chose a file - will create a change with a preview in the editor.
25
+ *
26
+ * @param {File} file - the file that the user chose using a file input.
27
+ */
28
+ fileChosen(file: any): void;
29
+ progress(percent: any, bytes: any, total: any): void;
30
+ getChosenFile(): any;
31
+ }
32
+ export default InsertImageHandler;
33
+ //# sourceMappingURL=InsertImageHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsertImageHandler.d.ts","sourceRoot":"","sources":["../../../src/components/image/InsertImageHandler.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAMH;;;;;;;GAOG;AACH,cAAM,kBAAkB;gBACV,MAAM,KAAA,EAAE,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,UAAQ;IAmBpD,MAAM;IAWN,UAAU,CAAC,QAAQ,KAAA;IAYnB,UAAU;IASV,IAAI,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA;IAYb;;;;OAIG;IACH,UAAU,CAAC,IAAI,KAAA;IAkBf,QAAQ,CAAC,OAAO,KAAA,EAAE,KAAK,KAAA,EAAE,KAAK,KAAA;IAM9B,aAAa;CAGd;AAED,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,55 @@
1
+ import e from "debug";
2
+ //#region src/components/image/InsertImageHandler.ts
3
+ var t = e("@pie-lib:editable-html:image:insert-image-handler"), n = class {
4
+ constructor(e, t, n, r = !1) {
5
+ this.editor = e, this.node = t;
6
+ let i;
7
+ e.state.doc.descendants((e, t) => {
8
+ if (e === this.node) return i = t, !1;
9
+ }), this.nodePos = i, this.onFinish = n, this.isPasted = r, this.chosenFile = null;
10
+ }
11
+ cancel() {
12
+ t("insert cancelled");
13
+ try {
14
+ this.deleteNode(), this.onFinish(!1);
15
+ } catch {}
16
+ }
17
+ updateNode(e) {
18
+ let { state: t, view: n } = this.editor, { tr: r } = t, i = t.doc.nodeAt(this.nodePos);
19
+ if (i) {
20
+ let t = r.setNodeMarkup(this.nodePos, void 0, {
21
+ ...i.attrs,
22
+ ...e
23
+ });
24
+ n.dispatch(t);
25
+ }
26
+ }
27
+ deleteNode() {
28
+ let { state: e, view: t } = this.editor, { tr: n } = e, r = n.delete(this.nodePos, this.nodePos + this.node.nodeSize);
29
+ t.dispatch(r);
30
+ }
31
+ done(e, n) {
32
+ t("done: err:", e), e ? (console.log(e), this.onFinish(!1)) : (this.updateNode({
33
+ loaded: !0,
34
+ src: n,
35
+ percent: 100
36
+ }), this.onFinish(!0));
37
+ }
38
+ fileChosen(e) {
39
+ if (!e) return;
40
+ this.chosenFile = e, t("[fileChosen] file: ", e);
41
+ let n = new FileReader();
42
+ n.onload = () => {
43
+ let e = n.result;
44
+ this.updateNode({ src: e });
45
+ }, n.readAsDataURL(e);
46
+ }
47
+ progress(e, n, r) {
48
+ t("progress: ", e, n, r), this.updateNode({ percent: e });
49
+ }
50
+ getChosenFile() {
51
+ return this.chosenFile;
52
+ }
53
+ };
54
+ //#endregion
55
+ export { n as default };
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @synced-from pie-lib/packages/editable-html-tip-tap/src/components/media/MediaDialog.js
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ export declare class MediaDialog extends React.Component {
12
+ static propTypes: {
13
+ open: PropTypes.Requireable<boolean>;
14
+ edit: PropTypes.Requireable<boolean>;
15
+ disablePortal: PropTypes.Requireable<boolean>;
16
+ handleClose: PropTypes.Requireable<(...args: any[]) => any>;
17
+ uploadSoundSupport: PropTypes.Requireable<PropTypes.InferProps<{
18
+ add: PropTypes.Requireable<(...args: any[]) => any>;
19
+ delete: PropTypes.Requireable<(...args: any[]) => any>;
20
+ }>>;
21
+ type: PropTypes.Requireable<string>;
22
+ src: PropTypes.Requireable<string>;
23
+ url: PropTypes.Requireable<string>;
24
+ urlToUse: PropTypes.Requireable<string>;
25
+ starts: PropTypes.Requireable<number>;
26
+ ends: PropTypes.Requireable<number>;
27
+ height: PropTypes.Requireable<number>;
28
+ width: PropTypes.Requireable<number>;
29
+ };
30
+ constructor(props: any);
31
+ componentDidMount(): void;
32
+ formatUrl: any;
33
+ handleStateChange: (newState: any) => any;
34
+ checkAudio: any;
35
+ checkVideo: any;
36
+ urlChange: any;
37
+ changeHandler: (type: any) => (e: any) => any;
38
+ handleDone: any;
39
+ handleUploadFile: (e: any) => Promise<void>;
40
+ handleRemoveFile: () => Promise<void>;
41
+ render(): JSX.Element;
42
+ }
43
+ export default MediaDialog;
44
+ //# sourceMappingURL=MediaDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaDialog.d.ts","sourceRoot":"","sources":["../../../src/components/media/MediaDialog.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAiHnC,qBAAa,WAAY,SAAQ,KAAK,CAAC,SAAS;IAC9C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;MAiBd;gBAEU,KAAK,KAAA;IA2BjB,iBAAiB;IAUjB,SAAS,EAAE,GAAG,CAwCZ;IAEF,iBAAiB,GAAI,aAAQ,SAA6C;IAE1E,UAAU,EAAE,GAAG,CAYb;IAEF,UAAU,EAAE,GAAG,CA+Cb;IAEF,SAAS,EAAE,GAAG,CAiBZ;IAEF,aAAa,GAAI,SAAI,MAAM,MAAC,SAAwD;IAEpF,UAAU,EAAE,GAAG,CA4Cb;IAEF,gBAAgB,GAAU,MAAC,mBA8DzB;IAEF,gBAAgB,sBAuBd;IAEF,MAAM;CA+JP;AAED,eAAe,WAAW,CAAC"}