@uva-glass/component-library 3.0.13 → 3.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.
- package/dist/{Lexical.prod-pVkgOp1j.js → Lexical.prod-LIa6Q94i.js} +2 -2
- package/dist/{Lexical.prod-pVkgOp1j.js.map → Lexical.prod-LIa6Q94i.js.map} +1 -1
- package/dist/{LexicalClipboard.prod-DIvwPtmL.js → LexicalClipboard.prod-LIoPcoQF.js} +4 -4
- package/dist/{LexicalClipboard.prod-DIvwPtmL.js.map → LexicalClipboard.prod-LIoPcoQF.js.map} +1 -1
- package/dist/{LexicalLink.prod-NMeHB9CR.js → LexicalLink.prod-N0i4wDOR.js} +3 -3
- package/dist/{LexicalLink.prod-NMeHB9CR.js.map → LexicalLink.prod-N0i4wDOR.js.map} +1 -1
- package/dist/{LexicalList.prod-CicvwkCx.js → LexicalList.prod-BKa7Tljk.js} +3 -3
- package/dist/{LexicalList.prod-CicvwkCx.js.map → LexicalList.prod-BKa7Tljk.js.map} +1 -1
- package/dist/{LexicalSelection.prod-mQvH0_ap.js → LexicalSelection.prod-Cid08b3Z.js} +2 -2
- package/dist/{LexicalSelection.prod-mQvH0_ap.js.map → LexicalSelection.prod-Cid08b3Z.js.map} +1 -1
- package/dist/{LexicalTable.prod-Bb6g8CAC.js → LexicalTable.prod-B1mw85mv.js} +512 -509
- package/dist/LexicalTable.prod-B1mw85mv.js.map +1 -0
- package/dist/{LexicalUtils.prod-C_aSRWfh.js → LexicalUtils.prod-DstvN5hc.js} +2 -2
- package/dist/{LexicalUtils.prod-C_aSRWfh.js.map → LexicalUtils.prod-DstvN5hc.js.map} +1 -1
- package/dist/{TablePlugin-o1MveXq2.js → TablePlugin-DlTujN8R.js} +4 -4
- package/dist/{TablePlugin-o1MveXq2.js.map → TablePlugin-DlTujN8R.js.map} +1 -1
- package/dist/assets/FeedbackBar.css +1 -0
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +2 -2
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.d.ts +3 -0
- package/dist/components/FeedbackBar/FeedbackBar.js +30 -0
- package/dist/components/FeedbackBar/FeedbackBar.js.map +1 -0
- package/dist/components/FeedbackBar/FeedbackBar.stories.d.ts +7 -0
- package/dist/components/FeedbackBar/FeedbackBar.stories.js +33 -0
- package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.d.ts +0 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.js +14 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -0
- package/dist/components/FeedbackBar/index.d.ts +1 -0
- package/dist/components/FeedbackBar/index.js +5 -0
- package/dist/components/FeedbackBar/index.js.map +1 -0
- package/dist/components/FormInput/FormInput.js +1 -1
- package/dist/components/FormInput/FormInput.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InputField/InputField.stories.js +2 -2
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +3 -3
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +6 -6
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +9 -9
- package/dist/components/RteEditor/helpers.js +4 -4
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/Timeline/Timeline.test.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +84 -82
- package/dist/components/index.js.map +1 -1
- package/dist/{helpers-CtrLGKFA.js → helpers-BFkCPTTp.js} +4 -4
- package/dist/{helpers-CtrLGKFA.js.map → helpers-BFkCPTTp.js.map} +1 -1
- package/dist/{index-DpyOH4wL.js → index-C7jFUWYs.js} +2 -2
- package/dist/{index-DpyOH4wL.js.map → index-C7jFUWYs.js.map} +1 -1
- package/dist/{index-BldK5xU9.js → index-DH9Vbk37.js} +3 -9
- package/dist/index-DH9Vbk37.js.map +1 -0
- package/dist/index.js +84 -82
- package/dist/index.js.map +1 -1
- package/dist/storybook__react.d.js +1887 -1874
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +32 -32
- package/dist/LexicalTable.prod-Bb6g8CAC.js.map +0 -1
- package/dist/index-BldK5xU9.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { fn as l } from "../../index-
|
|
2
|
+
import { fn as l } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { CheckboxButtonBar as e } from "./CheckboxButtonBar.js";
|
|
4
4
|
const a = "<CheckboxButtonBar checkboxes={} defaultValues={} label={} labelPosition={} required={} notValidatedText={} disableGroup={} onSetValues={} />", i = {
|
|
5
5
|
title: "Molecules/CheckboxButtonBar",
|
|
@@ -17,7 +17,7 @@ import "../IconButton/IconButton.js";
|
|
|
17
17
|
import "../Input/Input.js";
|
|
18
18
|
import "../InputField/InputField.js";
|
|
19
19
|
import "react-router";
|
|
20
|
-
import "../../TablePlugin-
|
|
20
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
21
21
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
22
22
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
23
23
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _, jsxs as A } from "react/jsx-runtime";
|
|
2
|
-
import { fn as w } from "../../index-
|
|
3
|
-
import { s as g, j as V, V as j } from "../../index-
|
|
2
|
+
import { fn as w } from "../../index-C7jFUWYs.js";
|
|
3
|
+
import { s as g, j as V, V as j } from "../../index-DH9Vbk37.js";
|
|
4
4
|
import { useState as D } from "react";
|
|
5
5
|
import { CheckboxTree as O } from "./CheckboxTree.js";
|
|
6
6
|
import { Chip as I } from "../Chip/Chip.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { fn as t } from "../../index-
|
|
2
|
+
import { fn as t } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { Chip as e } from "./Chip.js";
|
|
4
4
|
const s = "<Chip label={string} onDelete={onDeleteFunction(label)}/>", b = {
|
|
5
5
|
title: "Atoms/Chip",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { OverlayProvider as p } from "@react-aria/overlays";
|
|
3
|
-
import { fn as m } from "../../index-
|
|
3
|
+
import { fn as m } from "../../index-C7jFUWYs.js";
|
|
4
4
|
import { useState as c } from "react";
|
|
5
5
|
import { Drawer as r } from "./Drawer.js";
|
|
6
6
|
import { Button as o } from "../Buttons/Button.js";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as s, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { useState as l, useEffect as _ } from "react";
|
|
4
|
+
import { Icon as b } from "../Icon/Icon.js";
|
|
5
|
+
import { Repeater as f } from "../Repeater/Repeater.js";
|
|
6
|
+
import '../../assets/FeedbackBar.css';const e = {
|
|
7
|
+
"feedback-bar": "_feedback-bar_1p46c_1",
|
|
8
|
+
"feedback-bar--visible": "_feedback-bar--visible_1p46c_17",
|
|
9
|
+
"feedback-bar__icon": "_feedback-bar__icon_1p46c_23",
|
|
10
|
+
"feedback-bar__close-button": "_feedback-bar__close-button_1p46c_27"
|
|
11
|
+
}, u = ({ children: o }) => {
|
|
12
|
+
const [t, r] = l(!1);
|
|
13
|
+
_(() => {
|
|
14
|
+
r(!0);
|
|
15
|
+
}, []);
|
|
16
|
+
const i = () => {
|
|
17
|
+
r(!1);
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ s("div", { className: a(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
|
|
20
|
+
/* @__PURE__ */ s(f, { flexDirection: "row", children: [
|
|
21
|
+
/* @__PURE__ */ c(b, { className: a(e["feedback-bar__icon"]), name: "CheckCircle" }),
|
|
22
|
+
o
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ c("button", { className: a(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ c(b, { name: "Cross", size: 24 }) })
|
|
25
|
+
] });
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
u as FeedbackBar
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=FeedbackBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBar.js","sources":["../../../src/components/FeedbackBar/FeedbackBar.tsx"],"sourcesContent":["import classNames from 'clsx';\nimport { useEffect, useState, type PropsWithChildren } from 'react';\n\nimport styles from './FeedbackBar.module.css';\n\nimport { Icon } from 'components/Icon';\nimport { Repeater } from 'components/Repeater';\n\n/** Represents a component to show feedback within a Page. */\nexport const FeedbackBar = ({ children }: PropsWithChildren) => {\n const [isVisible, setIsVisible] = useState(false);\n\n useEffect(() => {\n setIsVisible(true);\n }, []);\n\n const close = () => {\n setIsVisible(false);\n };\n\n return (\n <div className={classNames(styles['feedback-bar'], { [styles['feedback-bar--visible']]: isVisible })} role=\"alert\">\n <Repeater flexDirection=\"row\">\n <Icon className={classNames(styles['feedback-bar__icon'])} name=\"CheckCircle\" />\n {children}\n </Repeater>\n <button className={classNames(styles['feedback-bar__close-button'])} type=\"button\" onClick={close}>\n <Icon name=\"Cross\" size={24} />\n </button>\n </div>\n );\n};\n"],"names":["FeedbackBar","children","isVisible","setIsVisible","useState","useEffect","close","classNames","styles","jsxs","Repeater","jsx","Icon"],"mappings":";;;;;;;;;;GASaA,IAAc,CAAC,EAAE,UAAAC,QAAkC;AAC9D,QAAM,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK;AAEhD,EAAAC,EAAU,MAAM;AACd,IAAAF,EAAa,EAAI;AAAA,EACnB,GAAG,EAAE;AAEL,QAAMG,IAAQ,MAAM;AAClB,IAAAH,EAAa,EAAK;AAAA,EACpB;AAEA,2BACG,OAAI,EAAA,WAAWI,EAAWC,EAAO,cAAc,GAAG,EAAE,CAACA,EAAO,uBAAuB,CAAC,GAAGN,GAAW,GAAG,MAAK,SACzG,UAAA;AAAA,IAAC,gBAAAO,EAAAC,GAAA,EAAS,eAAc,OACtB,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAK,WAAWL,EAAWC,EAAO,oBAAoB,CAAC,GAAG,MAAK,eAAc;AAAA,MAC7EP;AAAA,IAAA,GACH;AAAA,sBACC,UAAO,EAAA,WAAWM,EAAWC,EAAO,4BAA4B,CAAC,GAAG,MAAK,UAAS,SAASF,GAC1F,UAAC,gBAAAK,EAAAC,GAAA,EAAK,MAAK,SAAQ,MAAM,IAAI,EAC/B,CAAA;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
declare const _default: Meta<PropsWithChildren>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const FeedbackBarExample: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, {
|
|
6
|
+
children?: import('react').ReactNode | undefined;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { FeedbackBar as r } from "./FeedbackBar.js";
|
|
4
|
+
import { Button as o } from "../Buttons/Button.js";
|
|
5
|
+
import "../Buttons/LinkButton.js";
|
|
6
|
+
import "@react-aria/button";
|
|
7
|
+
import { Repeater as s } from "../Repeater/Repeater.js";
|
|
8
|
+
import { ButtonGroup as m } from "../ButtonGroup/ButtonGroup.js";
|
|
9
|
+
const p = "<FeedbackBar>{children}</FeedbackBar>", C = {
|
|
10
|
+
title: "Molecules/FeedbackBar",
|
|
11
|
+
component: r,
|
|
12
|
+
parameters: {
|
|
13
|
+
inspectComponent: r,
|
|
14
|
+
codeString: p
|
|
15
|
+
}
|
|
16
|
+
}, l = (i) => {
|
|
17
|
+
const [n, t] = c(!1);
|
|
18
|
+
return /* @__PURE__ */ a(s, { children: [
|
|
19
|
+
/* @__PURE__ */ a(m, { children: [
|
|
20
|
+
/* @__PURE__ */ e(o, { variant: "primary", onClick: () => t(!0), children: "Click to open FeedbackBar" }),
|
|
21
|
+
/* @__PURE__ */ e(o, { variant: "primary", onClick: () => t(!1), children: "Click to reset animation for FeedbackBar" })
|
|
22
|
+
] }),
|
|
23
|
+
n && /* @__PURE__ */ e(r, { ...i })
|
|
24
|
+
] });
|
|
25
|
+
}, d = l.bind({});
|
|
26
|
+
d.args = {
|
|
27
|
+
children: "This is example feedback"
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
d as FeedbackBarExample,
|
|
31
|
+
C as default
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=FeedbackBar.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBar.stories.js","sources":["../../../src/components/FeedbackBar/FeedbackBar.stories.tsx"],"sourcesContent":["import { useState, type PropsWithChildren } from 'react';\n\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { FeedbackBar } from 'components/FeedbackBar';\nimport { Button } from 'components/Buttons';\nimport { Repeater } from 'components/Repeater';\nimport { ButtonGroup } from 'components/ButtonGroup';\n\nconst codeString = '<FeedbackBar>{children}</FeedbackBar>';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Molecules/FeedbackBar',\n component: FeedbackBar,\n parameters: {\n inspectComponent: FeedbackBar,\n codeString: codeString,\n },\n} as Meta<PropsWithChildren>;\n\nconst Template: StoryFn<PropsWithChildren> = (args) => {\n const [isOpen, setIsOpen] = useState(false);\n\n return (\n <Repeater>\n <ButtonGroup>\n <Button variant=\"primary\" onClick={() => setIsOpen(true)}>\n Click to open FeedbackBar\n </Button>\n <Button variant=\"primary\" onClick={() => setIsOpen(false)}>\n Click to reset animation for FeedbackBar\n </Button>\n </ButtonGroup>\n {isOpen && <FeedbackBar {...args} />}\n </Repeater>\n );\n};\n\nexport const FeedbackBarExample = Template.bind({});\nFeedbackBarExample.args = {\n children: 'This is example feedback',\n};\n"],"names":["codeString","FeedbackBar_stories","FeedbackBar","Template","args","isOpen","setIsOpen","useState","Repeater","jsxs","ButtonGroup","jsx","Button","FeedbackBarExample"],"mappings":";;;;;;;;AASA,MAAMA,IAAa,yCAGJC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAAuC,CAACC,MAAS;AACrD,QAAM,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAK;AAE1C,2BACGC,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAACC,GACC,EAAA,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAO,SAAQ,WAAU,SAAS,MAAMN,EAAU,EAAI,GAAG,UAE1D,4BAAA,CAAA;AAAA,MACA,gBAAAK,EAACC,KAAO,SAAQ,WAAU,SAAS,MAAMN,EAAU,EAAK,GAAG,UAE3D,2CAAA,CAAA;AAAA,IAAA,GACF;AAAA,IACCD,KAAU,gBAAAM,EAACT,GAAa,EAAA,GAAGE,EAAM,CAAA;AAAA,EAAA,GACpC;AAEJ,GAEaS,IAAqBV,EAAS,KAAK,CAAE,CAAA;AAClDU,EAAmB,OAAO;AAAA,EACxB,UAAU;AACZ;"}
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "../../index-Z7qwJmRM.js";
|
|
3
|
+
import { r as s, s as e, f as r } from "../../react.esm-BOUd0cvD.js";
|
|
4
|
+
import { FeedbackBar as c } from "./FeedbackBar.js";
|
|
5
|
+
describe("FeedbackBar", () => {
|
|
6
|
+
it("should render with children text", () => {
|
|
7
|
+
s(/* @__PURE__ */ t(c, { children: "My feedback message" })), expect(e.getByText("My feedback message")).toBeInTheDocument();
|
|
8
|
+
}), it("should close when the close button is clicked", () => {
|
|
9
|
+
s(/* @__PURE__ */ t(c, { children: "My closed feedback message" })), expect(e.getByRole("alert")).toHaveClass("feedback-bar--visible");
|
|
10
|
+
const o = e.getByRole("button");
|
|
11
|
+
r.click(o), expect(e.getByRole("alert")).not.toHaveClass("feedback-bar--visible");
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=FeedbackBar.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBar.test.js","sources":["../../../src/components/FeedbackBar/FeedbackBar.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { fireEvent, render, screen } from '@testing-library/react';\n\nimport { FeedbackBar } from './FeedbackBar';\n\ndescribe('FeedbackBar', () => {\n it('should render with children text', () => {\n render(<FeedbackBar>My feedback message</FeedbackBar>);\n expect(screen.getByText('My feedback message')).toBeInTheDocument();\n });\n\n it('should close when the close button is clicked', () => {\n render(<FeedbackBar>My closed feedback message</FeedbackBar>);\n\n expect(screen.getByRole('alert')).toHaveClass('feedback-bar--visible');\n\n const closeButton = screen.getByRole('button');\n fireEvent.click(closeButton);\n\n expect(screen.getByRole('alert')).not.toHaveClass('feedback-bar--visible');\n });\n});\n"],"names":["render","jsx","FeedbackBar","screen","closeButton","fireEvent"],"mappings":";;;;AAKA,SAAS,eAAe,MAAM;AAC5B,KAAG,oCAAoC,MAAM;AACpC,IAAAA,EAAA,gBAAAC,EAACC,GAAY,EAAA,UAAA,sBAAmB,CAAA,CAAc,GACrD,OAAOC,EAAO,UAAU,qBAAqB,CAAC,EAAE,kBAAkB;AAAA,EAAA,CACnE,GAED,GAAG,iDAAiD,MAAM;AACjD,IAAAH,EAAA,gBAAAC,EAACC,GAAY,EAAA,UAAA,6BAA0B,CAAA,CAAc,GAE5D,OAAOC,EAAO,UAAU,OAAO,CAAC,EAAE,YAAY,uBAAuB;AAE/D,UAAAC,IAAcD,EAAO,UAAU,QAAQ;AAC7C,IAAAE,EAAU,MAAMD,CAAW,GAE3B,OAAOD,EAAO,UAAU,OAAO,CAAC,EAAE,IAAI,YAAY,uBAAuB;AAAA,EAAA,CAC1E;AACH,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FeedbackBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -16,7 +16,7 @@ import "../IconButton/IconButton.js";
|
|
|
16
16
|
import "../Input/Input.js";
|
|
17
17
|
import "../InputField/InputField.js";
|
|
18
18
|
import "react-router";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
20
20
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
21
21
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
22
22
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { fn as i } from "../../index-
|
|
2
|
+
import { fn as i } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { FormInput as a } from "./FormInput.js";
|
|
4
4
|
import { SelectListbox as o } from "../SelectListbox/SelectListbox.js";
|
|
5
5
|
const m = `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { fn as r } from "../../index-
|
|
2
|
+
import { fn as r } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { IconButton as t } from "./IconButton.js";
|
|
4
4
|
import { Icon as i } from "../Icon/Icon.js";
|
|
5
5
|
const l = `<IconButton variant={variant} aria-label={aria-label} onClick={onClickFunction}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as g } from "react";
|
|
3
|
-
import { fn as p } from "../../index-
|
|
3
|
+
import { fn as p } from "../../index-C7jFUWYs.js";
|
|
4
4
|
import { InputField as o } from "./InputField.js";
|
|
5
5
|
import { Container as u } from "../../storyComponents/Container/Container.js";
|
|
6
6
|
import { Icon as f } from "../Icon/Icon.js";
|
|
@@ -16,7 +16,7 @@ import "../GridRow/GridRow.js";
|
|
|
16
16
|
import "../IconButton/IconButton.js";
|
|
17
17
|
import "../Input/Input.js";
|
|
18
18
|
import "react-router";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
20
20
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
21
21
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
22
22
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { ModalProvider as l } from "@react-aria/overlays";
|
|
3
|
-
import { fn as i } from "../../index-
|
|
3
|
+
import { fn as i } from "../../index-C7jFUWYs.js";
|
|
4
4
|
import { ModalDialog as t } from "./ModalDialog.js";
|
|
5
5
|
import { Button as n } from "../Buttons/Button.js";
|
|
6
6
|
import "../Buttons/LinkButton.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as S, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { fn as d } from "../../index-
|
|
2
|
+
import { fn as d } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { useState as p } from "react";
|
|
4
|
-
import { M as e } from "../../TablePlugin-
|
|
4
|
+
import { M as e } from "../../TablePlugin-DlTujN8R.js";
|
|
5
5
|
import { Container as M } from "../../storyComponents/Container/Container.js";
|
|
6
6
|
const C = `
|
|
7
7
|
// MultiSelectHeader can be added optionally
|
|
@@ -15,7 +15,7 @@ import "../../IconButton/IconButton.js";
|
|
|
15
15
|
import "../../Input/Input.js";
|
|
16
16
|
import "../../InputField/InputField.js";
|
|
17
17
|
import "react-router";
|
|
18
|
-
import { a as y } from "../../../TablePlugin-
|
|
18
|
+
import { a as y } from "../../../TablePlugin-DlTujN8R.js";
|
|
19
19
|
import "../../RteEditor/Providers/LanguageProvider.js";
|
|
20
20
|
import "../../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "../../RteEditor/hooks/components/Flyout.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { fn as a } from "../../index-
|
|
2
|
+
import { fn as a } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { OverlayCloseButton as o } from "./OverlayCloseButton.js";
|
|
4
4
|
import { Container as l } from "../../storyComponents/Container/Container.js";
|
|
5
5
|
const n = "<OverlayCloseButton aria-label={aria-label} onClick={onClickFunction} />", c = {
|
|
@@ -15,7 +15,7 @@ import "../IconButton/IconButton.js";
|
|
|
15
15
|
import "../Input/Input.js";
|
|
16
16
|
import "../InputField/InputField.js";
|
|
17
17
|
import "react-router";
|
|
18
|
-
import "../../TablePlugin-
|
|
18
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
19
19
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
20
20
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -17,7 +17,7 @@ import "../Input/Input.js";
|
|
|
17
17
|
import "../InputField/InputField.js";
|
|
18
18
|
import { Label as D } from "../Label/Label.js";
|
|
19
19
|
import "react-router";
|
|
20
|
-
import "../../TablePlugin-
|
|
20
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
21
21
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
22
22
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
23
23
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { fn as t } from "../../index-
|
|
2
|
+
import { fn as t } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { PeriodSelector as e } from "./PeriodSelector.js";
|
|
4
4
|
const i = "<PeriodSelector maxPeriods={} defaultValues={} label={} labelPosition={} required={} onChange={} />", m = {
|
|
5
5
|
title: "Organisms/PeriodSelector",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { fn as a } from "../../index-
|
|
2
|
+
import { fn as a } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { ProgrammeCard as o } from "./ProgrammeCard.js";
|
|
4
4
|
import { Container as n } from "../../storyComponents/Container/Container.js";
|
|
5
5
|
import "react";
|
|
@@ -12,13 +12,13 @@ import "@react-aria/dialog";
|
|
|
12
12
|
import "@react-aria/focus";
|
|
13
13
|
import "@react-aria/overlays";
|
|
14
14
|
import "../OverlayCloseButton/OverlayCloseButton.js";
|
|
15
|
+
import { Repeater as i } from "../Repeater/Repeater.js";
|
|
15
16
|
import "../GridRow/GridRow.js";
|
|
16
17
|
import "../IconButton/IconButton.js";
|
|
17
18
|
import "../Input/Input.js";
|
|
18
19
|
import "../InputField/InputField.js";
|
|
19
20
|
import "react-router";
|
|
20
|
-
import "../../TablePlugin-
|
|
21
|
-
import { Repeater as i } from "../Repeater/Repeater.js";
|
|
21
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
22
22
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
23
23
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
24
24
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -14,7 +14,7 @@ import "../../IconButton/IconButton.js";
|
|
|
14
14
|
import "../../Input/Input.js";
|
|
15
15
|
import "../../InputField/InputField.js";
|
|
16
16
|
import "react-router";
|
|
17
|
-
import "../../../TablePlugin-
|
|
17
|
+
import "../../../TablePlugin-DlTujN8R.js";
|
|
18
18
|
import "../Providers/LanguageProvider.js";
|
|
19
19
|
import "../Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
20
20
|
import "../hooks/components/Flyout.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { o as u } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
3
|
import { c as f } from "../../../../clsx-OuTLNxxd.js";
|
|
4
|
-
import { a as _, l as p, I as h } from "../../../../Lexical.prod-
|
|
4
|
+
import { a as _, l as p, I as h } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
5
5
|
import { useState as s, useEffect as I } from "react";
|
|
6
6
|
import { Icon as k } from "../../../Icon/Icon.js";
|
|
7
7
|
import { s as a } from "../../../../RteEditor.module-oFMKEW6f.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "../../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { o as h } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
4
|
-
import { al as _, am as y, an as C, ao as k } from "../../../../Lexical.prod-
|
|
4
|
+
import { al as _, am as y, an as C, ao as k } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
5
5
|
import { useState as s, useEffect as m } from "react";
|
|
6
6
|
import { Icon as n } from "../../../Icon/Icon.js";
|
|
7
7
|
import "../../../Buttons/Button.js";
|
|
@@ -17,7 +17,7 @@ import "../../../IconButton/IconButton.js";
|
|
|
17
17
|
import "../../../Input/Input.js";
|
|
18
18
|
import "../../../InputField/InputField.js";
|
|
19
19
|
import "react-router";
|
|
20
|
-
import "../../../../TablePlugin-
|
|
20
|
+
import "../../../../TablePlugin-DlTujN8R.js";
|
|
21
21
|
import { s as r } from "../../../../RteEditor.module-oFMKEW6f.js";
|
|
22
22
|
import { useTranslation as x } from "../../hooks/useTranslation.js";
|
|
23
23
|
import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { A as D } from "../../../../../TablePlugin-
|
|
4
|
-
import "../../../../../helpers-
|
|
3
|
+
import { A as D } from "../../../../../TablePlugin-DlTujN8R.js";
|
|
4
|
+
import "../../../../../helpers-BFkCPTTp.js";
|
|
5
5
|
import "../../../../Icon/Icon.js";
|
|
6
6
|
import "../../../../Buttons/Button.js";
|
|
7
7
|
import "../../../../Buttons/LinkButton.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as v, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as K, useState as b, useRef as N, useImperativeHandle as T, useLayoutEffect as g } from "react";
|
|
3
|
-
import { e as E } from "../../../../../helpers-
|
|
3
|
+
import { e as E } from "../../../../../helpers-BFkCPTTp.js";
|
|
4
4
|
import { Icon as m } from "../../../../Icon/Icon.js";
|
|
5
5
|
import { useTranslation as R } from "../../../hooks/useTranslation.js";
|
|
6
6
|
import { Button as y } from "../../../../Buttons/Button.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as k, jsxs as W } from "react/jsx-runtime";
|
|
2
2
|
import { o as Y } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
3
|
import { c as q } from "../../../../clsx-OuTLNxxd.js";
|
|
4
|
-
import { d as U, O as G, N as J } from "../../../../LexicalLink.prod-
|
|
4
|
+
import { d as U, O as G, N as J } from "../../../../LexicalLink.prod-N0i4wDOR.js";
|
|
5
5
|
import { useRef as a, useState as X, useEffect as m } from "react";
|
|
6
|
-
import { S as Z, a as f, i as $, ak as tt, l as N, N as et, g as ot, Q as rt } from "../../../../Lexical.prod-
|
|
7
|
-
import { A as nt } from "../../../../TablePlugin-
|
|
8
|
-
import { e as it } from "../../../../helpers-
|
|
6
|
+
import { S as Z, a as f, i as $, ak as tt, l as N, N as et, g as ot, Q as rt } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
7
|
+
import { A as nt } from "../../../../TablePlugin-DlTujN8R.js";
|
|
8
|
+
import { e as it } from "../../../../helpers-BFkCPTTp.js";
|
|
9
9
|
import { LinkContextMenu as st } from "./LinkContextMenu/LinkContextMenu.js";
|
|
10
10
|
import { useFlyout as ct } from "../../hooks/useFlyout.js";
|
|
11
11
|
import { Icon as lt } from "../../../Icon/Icon.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { o as S } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
|
-
import { r as C, t as k, Z as P, $ as y, Y as f, X as E } from "../../../../LexicalList.prod-
|
|
4
|
-
import { _ as O } from "../../../../LexicalSelection.prod-
|
|
3
|
+
import { r as C, t as k, Z as P, $ as y, Y as f, X as E } from "../../../../LexicalList.prod-BKa7Tljk.js";
|
|
4
|
+
import { _ as O } from "../../../../LexicalSelection.prod-Cid08b3Z.js";
|
|
5
5
|
import { useState as p, useEffect as D } from "react";
|
|
6
6
|
import { c as x } from "../../../../clsx-OuTLNxxd.js";
|
|
7
|
-
import { ak as T, N as U, M as $, a as b, l as h, E as v, T as w } from "../../../../Lexical.prod-
|
|
7
|
+
import { ak as T, N as U, M as $, a as b, l as h, E as v, T as w } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
8
8
|
import { Icon as B } from "../../../Icon/Icon.js";
|
|
9
9
|
import { s as u } from "../../../../RteEditor.module-oFMKEW6f.js";
|
|
10
10
|
import { useTranslation as Y } from "../../hooks/useTranslation.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as m } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
2
2
|
import { useEffect as c } from "react";
|
|
3
|
-
import { ac as f, z as p, a as u } from "../../../../Lexical.prod-
|
|
4
|
-
import { E as i } from "../../../../LexicalUtils.prod-
|
|
5
|
-
import { D as d } from "../../../../LexicalClipboard.prod-
|
|
3
|
+
import { ac as f, z as p, a as u } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
4
|
+
import { E as i } from "../../../../LexicalUtils.prod-DstvN5hc.js";
|
|
5
|
+
import { D as d } from "../../../../LexicalClipboard.prod-LIoPcoQF.js";
|
|
6
6
|
import { d as D } from "../../../../index-B3c5pcHk.js";
|
|
7
7
|
const z = () => {
|
|
8
8
|
const [a] = m(), l = (t) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { b as B } from "../../../../TablePlugin-
|
|
3
|
+
import { b as B } from "../../../../TablePlugin-DlTujN8R.js";
|
|
4
4
|
import "../../../Buttons/Button.js";
|
|
5
5
|
import "../../../Buttons/LinkButton.js";
|
|
6
6
|
import "@react-aria/button";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
3
|
import "../../../../clsx-OuTLNxxd.js";
|
|
4
|
-
import "../../../../LexicalTable.prod-
|
|
5
|
-
import "../../../../Lexical.prod-
|
|
4
|
+
import "../../../../LexicalTable.prod-B1mw85mv.js";
|
|
5
|
+
import "../../../../Lexical.prod-LIa6Q94i.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import { T as F } from "../../../../TablePlugin-
|
|
7
|
+
import { T as F } from "../../../../TablePlugin-DlTujN8R.js";
|
|
8
8
|
import "./helpers.js";
|
|
9
9
|
import "../../hooks/useFlyout.js";
|
|
10
10
|
import "../../../Icon/Icon.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as d, v as h, B as m, X as S, z as w, H as v, x as C,
|
|
2
|
-
import { T as u } from "../../../../Lexical.prod-
|
|
1
|
+
import { W as d, v as h, B as m, X as S, z as w, H as v, x as C, O as p, $ as E } from "../../../../LexicalTable.prod-B1mw85mv.js";
|
|
2
|
+
import { T as u } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
3
3
|
const b = 100, D = (e, n) => {
|
|
4
4
|
const t = E(0, 0, !1);
|
|
5
5
|
for (let o = 0; o < e; o++) {
|
|
@@ -11,7 +11,7 @@ const b = 100, D = (e, n) => {
|
|
|
11
11
|
t.append(r);
|
|
12
12
|
}
|
|
13
13
|
return t;
|
|
14
|
-
},
|
|
14
|
+
}, A = (e) => {
|
|
15
15
|
const n = w(e), t = n.getNextSibling() || n.getPreviousSibling(), o = n.getParentOrThrow();
|
|
16
16
|
if (o.getChildrenSize() > 1 ? n.remove() : o.remove(), t !== null) {
|
|
17
17
|
const r = t.getFirstDescendant();
|
|
@@ -19,7 +19,7 @@ const b = 100, D = (e, n) => {
|
|
|
19
19
|
}
|
|
20
20
|
}, I = (e) => {
|
|
21
21
|
d(e).remove();
|
|
22
|
-
},
|
|
22
|
+
}, B = (e, n) => {
|
|
23
23
|
const t = p(), o = w(e), r = o.getChildrenSize();
|
|
24
24
|
for (let s = 0; s < r; s++) {
|
|
25
25
|
const c = C(0);
|
|
@@ -58,9 +58,9 @@ const b = 100, D = (e, n) => {
|
|
|
58
58
|
export {
|
|
59
59
|
D as createTable,
|
|
60
60
|
P as deleteColumn,
|
|
61
|
-
|
|
61
|
+
A as deleteRow,
|
|
62
62
|
I as deleteTable,
|
|
63
63
|
F as insertColumn,
|
|
64
|
-
|
|
64
|
+
B as insertRow
|
|
65
65
|
};
|
|
66
66
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as L, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { o as P } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
|
-
import { a as g, l as h, g as y } from "../../../../Lexical.prod-
|
|
3
|
+
import { a as g, l as h, g as y } from "../../../../Lexical.prod-LIa6Q94i.js";
|
|
4
4
|
import { useState as C, useRef as E, useCallback as T, useEffect as m } from "react";
|
|
5
|
-
import { L as b } from "../../../../LexicalTable.prod-
|
|
5
|
+
import { L as b } from "../../../../LexicalTable.prod-B1mw85mv.js";
|
|
6
6
|
import { BlockFormatPlugin as N } from "../BlockFormatPlugin/BlockFormatPlugin.js";
|
|
7
7
|
import { ListPlugin as k } from "../ListPlugin/ListPlugin.js";
|
|
8
8
|
import { LinkPlugin as x } from "../LinkPlugin/LinkPlugin.js";
|
|
9
9
|
import { HistoryPlugin as B } from "../HistoryPlugin/HistoryPlugin.js";
|
|
10
|
-
import { T as S } from "../../../../TablePlugin-
|
|
10
|
+
import { T as S } from "../../../../TablePlugin-DlTujN8R.js";
|
|
11
11
|
import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
12
12
|
import { s as A } from "../../../../RteEditor.module-oFMKEW6f.js";
|
|
13
13
|
import { setScrollableContainers as w, removeScrollableContainers as K } from "../../helpers.js";
|
|
@@ -3,7 +3,7 @@ import { BlockFormatPlugin as l } from "./BlockFormatPlugin/BlockFormatPlugin.js
|
|
|
3
3
|
import { ListPlugin as n } from "./ListPlugin/ListPlugin.js";
|
|
4
4
|
import { LinkPlugin as m, getLinkNodeTag as x } from "./LinkPlugin/LinkPlugin.js";
|
|
5
5
|
import { HistoryPlugin as p } from "./HistoryPlugin/HistoryPlugin.js";
|
|
6
|
-
import { T as a } from "../../../TablePlugin-
|
|
6
|
+
import { T as a } from "../../../TablePlugin-DlTujN8R.js";
|
|
7
7
|
import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
8
8
|
export {
|
|
9
9
|
l as BlockFormatPlugin,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as h, jsxs as O, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import { t as Je, r as Ve, o as P } from "../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
|
-
import { aB as Te, ad as z, T as Re, a as p, ah as j, d as q, w as Xe, X as I, l as g, M as Ge, N as m, aC as Ye, ac as Ie, o as Qe, n as Me, aD as Ze, G as et, aA as K, ax as tt, aE as nt, aF as rt, aG as ot, r as ne, aH as it, aI as st, Z as at, C as lt, g as ut, L as ct, aJ as dt, aK as fe, b as me, B as ft, y as re, A as mt, a0 as Fe, aL as pe, u as pt, q as gt, m as ht, aM as ge, p as Ct, aN as yt, aO as Et, aP as wt, aw as vt, J as bt, I as _t, aQ as St, K as kt, x as xt, v as Nt, i as Lt, E as he, aR as Dt, t as $t, am as G, al as Y, aS as Pt, aT as Tt, ao as Rt, an as It } from "../../Lexical.prod-
|
|
3
|
+
import { aB as Te, ad as z, T as Re, a as p, ah as j, d as q, w as Xe, X as I, l as g, M as Ge, N as m, aC as Ye, ac as Ie, o as Qe, n as Me, aD as Ze, G as et, aA as K, ax as tt, aE as nt, aF as rt, aG as ot, r as ne, aH as it, aI as st, Z as at, C as lt, g as ut, L as ct, aJ as dt, aK as fe, b as me, B as ft, y as re, A as mt, a0 as Fe, aL as pe, u as pt, q as gt, m as ht, aM as ge, p as Ct, aN as yt, aO as Et, aP as wt, aw as vt, J as bt, I as _t, aQ as St, K as kt, x as xt, v as Nt, i as Lt, E as he, aR as Dt, t as $t, am as G, al as Y, aS as Pt, aT as Tt, ao as Rt, an as It } from "../../Lexical.prod-LIa6Q94i.js";
|
|
4
4
|
import * as oe from "react";
|
|
5
5
|
import { useMemo as J, useLayoutEffect as U, useEffect as k, useState as M, useRef as Ke, Suspense as Mt, forwardRef as Oe, useCallback as Ft } from "react";
|
|
6
|
-
import { $ as H, E as A, m as Kt, h as de } from "../../LexicalUtils.prod-
|
|
6
|
+
import { $ as H, E as A, m as Kt, h as de } from "../../LexicalUtils.prod-DstvN5hc.js";
|
|
7
7
|
import { flushSync as Ot, createPortal as At } from "react-dom";
|
|
8
|
-
import { D as Ce, _ as ye, h as zt, m as Bt } from "../../LexicalClipboard.prod-
|
|
9
|
-
import { W as Ee, G as we } from "../../LexicalSelection.prod-
|
|
10
|
-
import { q as Ae, W as ze, n as Ut } from "../../LexicalList.prod-
|
|
11
|
-
import { h as Be, O as ve, N as ie, d as Ht, p as Wt } from "../../LexicalLink.prod-
|
|
12
|
-
import { e as jt, g as qt, f as Jt, d as Vt, b as Ue, F as Xt, t as Gt } from "../../LexicalTable.prod-
|
|
13
|
-
import { a as Yt, w as Qt, M as Zt } from "../../helpers-
|
|
8
|
+
import { D as Ce, _ as ye, h as zt, m as Bt } from "../../LexicalClipboard.prod-LIoPcoQF.js";
|
|
9
|
+
import { W as Ee, G as we } from "../../LexicalSelection.prod-Cid08b3Z.js";
|
|
10
|
+
import { q as Ae, W as ze, n as Ut } from "../../LexicalList.prod-BKa7Tljk.js";
|
|
11
|
+
import { h as Be, O as ve, N as ie, d as Ht, p as Wt } from "../../LexicalLink.prod-N0i4wDOR.js";
|
|
12
|
+
import { e as jt, g as qt, f as Jt, d as Vt, b as Ue, F as Xt, t as Gt } from "../../LexicalTable.prod-B1mw85mv.js";
|
|
13
|
+
import { a as Yt, w as Qt, M as Zt } from "../../helpers-BFkCPTTp.js";
|
|
14
14
|
import { c as en } from "../../clsx-OuTLNxxd.js";
|
|
15
15
|
import { exportMap as tn, isStartingWithHtmlTag as nn, mergeBoldStrongTags as rn } from "./helpers.js";
|
|
16
16
|
import { s as R } from "../../RteEditor.module-oFMKEW6f.js";
|
|
17
17
|
import { ToolBarPlugin as on } from "./Plugins/ToolbarPlugin/ToolbarPlugin.js";
|
|
18
18
|
import { useTranslation as sn } from "./hooks/useTranslation.js";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-DlTujN8R.js";
|
|
20
20
|
import "./Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "./hooks/components/Flyout.js";
|
|
22
22
|
import "../Buttons/Button.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as s } from "../../LexicalLink.prod-
|
|
2
|
-
import { q as n, W as i } from "../../LexicalList.prod-
|
|
3
|
-
import { ab as a, R as c } from "../../Lexical.prod-
|
|
4
|
-
import { t as m, F as b, b as g } from "../../LexicalTable.prod-
|
|
1
|
+
import { h as s } from "../../LexicalLink.prod-N0i4wDOR.js";
|
|
2
|
+
import { q as n, W as i } from "../../LexicalList.prod-BKa7Tljk.js";
|
|
3
|
+
import { ab as a, R as c } from "../../Lexical.prod-LIa6Q94i.js";
|
|
4
|
+
import { t as m, F as b, b as g } from "../../LexicalTable.prod-B1mw85mv.js";
|
|
5
5
|
const h = (e) => /^<(b|i|u|strong|em|mark|small|del|ins|sub|sup|div|p|span|h[1-6]|a|img|table|tr|td|th|ul|ol|li|blockquote|pre|code|br)(\s+[^>]*)?>/i.test(e.trim()), v = (e) => {
|
|
6
6
|
let r = e.replace(/<b><strong>/gi, "<strong>");
|
|
7
7
|
return r = r.replace(/<\/strong><\/b>/gi, "</strong>"), r;
|