@pareto-engineering/design-system 5.11.4 → 5.11.5
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/{FormBuilder-DHp3A7J8.js → FormBuilder-ClHks9e9.js} +2294 -2267
- package/dist/assets/FormBuilder.css +1 -1
- package/dist/index.js +1 -1
- package/dist/stories/a/AppContext.stories.js +1 -1
- package/dist/stories/a/AreaChart.stories.js +1 -1
- package/dist/stories/a/BarChart.stories.js +1 -1
- package/dist/stories/a/BlurOverlay.stories.js +1 -1
- package/dist/stories/a/ContentTree.stories.js +1 -1
- package/dist/stories/a/Conversation.stories.js +1 -1
- package/dist/stories/a/DatePicker.stories.js +1 -1
- package/dist/stories/a/DotInfo.stories.js +1 -1
- package/dist/stories/a/Figure.stories.js +1 -1
- package/dist/stories/a/HamburgerButton.stories.js +1 -1
- package/dist/stories/a/IconList.stories.js +1 -1
- package/dist/stories/a/Label.stories.js +1 -1
- package/dist/stories/a/LoadingCircle.stories.js +1 -1
- package/dist/stories/a/MetaCard.stories.js +1 -1
- package/dist/stories/a/Notification.stories.js +1 -1
- package/dist/stories/a/NotificationStack.stories.js +1 -1
- package/dist/stories/a/People.stories.js +1 -1
- package/dist/stories/a/PieChart.stories.js +1 -1
- package/dist/stories/a/Popover.stories.js +1 -1
- package/dist/stories/a/ProgressBar.stories.js +1 -1
- package/dist/stories/a/Quote.stories.js +1 -1
- package/dist/stories/a/Removable.stories.js +1 -1
- package/dist/stories/a/SVG.stories.js +1 -1
- package/dist/stories/a/SnapScroller.stories.js +1 -1
- package/dist/stories/a/Spinner.stories.js +1 -1
- package/dist/stories/a/TextSteps.stories.js +1 -1
- package/dist/stories/a/Timestamp.stories.js +1 -1
- package/dist/stories/a/Tip.stories.js +1 -1
- package/dist/stories/a/ToggleSwitch.stories.js +1 -1
- package/dist/stories/a/Tooltip.stories.js +1 -1
- package/dist/stories/a/XMLEditor.stories.js +1 -1
- package/dist/stories/b/Button/Button.stories.js +1 -1
- package/dist/stories/b/Button/Group.stories.js +1 -1
- package/dist/stories/b/Card/Card.stories.js +1 -1
- package/dist/stories/b/Card/Group.stories.js +1 -1
- package/dist/stories/b/Logo.stories.js +1 -1
- package/dist/stories/b/Page.stories.js +1 -1
- package/dist/stories/b/SocialMediaButton.stories.js +1 -1
- package/dist/stories/b/ThemeSelector.stories.js +1 -1
- package/dist/stories/b/Title.stories.js +1 -1
- package/dist/stories/c/Modal.stories.js +1 -1
- package/dist/stories/c/Shortener.stories.js +1 -1
- package/dist/stories/c/SocialMediaShareButton.stories.js +1 -1
- package/dist/stories/f/Checkbox.stories.js +1 -1
- package/dist/stories/f/ChoicesInput.stories.js +1 -1
- package/dist/stories/f/Combobox.stories.js +1 -1
- package/dist/stories/f/Description.stories.js +1 -1
- package/dist/stories/f/DragAndDropFileUpload.stories.js +1 -1
- package/dist/stories/f/EditorInput.stories.js +1 -1
- package/dist/stories/f/FileUpload.stories.js +1 -1
- package/dist/stories/f/Label.stories.js +1 -1
- package/dist/stories/f/LinkInput.stories.js +1 -1
- package/dist/stories/f/RadioInput.stories.js +1 -1
- package/dist/stories/f/RatingsInput.stories.js +1 -1
- package/dist/stories/f/SelectInput.stories.js +1 -1
- package/dist/stories/f/TextInput.stories.js +1 -1
- package/dist/stories/f/TextareaInput.stories.js +1 -1
- package/dist/stories/g/DragAndDrop.stories.js +1 -1
- package/dist/stories/g/ExpandableLexicalPreview.stories.js +1 -1
- package/dist/stories/g/FormBuilder.stories.js +1 -1
- package/dist/ui/a/AnimatedGradient/AnimatedGradient.js +1 -1
- package/dist/ui/a/AnimatedGradient/index.js +1 -1
- package/dist/ui/a/ContentTree/ContentTree.js +1 -1
- package/dist/ui/a/ContentTree/common/Tree/Tree.js +1 -1
- package/dist/ui/a/ContentTree/common/Tree/index.js +1 -1
- package/dist/ui/a/ContentTree/common/index.js +1 -1
- package/dist/ui/a/ContentTree/index.js +1 -1
- package/dist/ui/a/Conversation/Conversation.js +1 -1
- package/dist/ui/a/Conversation/index.js +1 -1
- package/dist/ui/a/Notification/Notification.js +1 -1
- package/dist/ui/a/Notification/index.js +1 -1
- package/dist/ui/a/NotificationStack/NotificationStack.js +1 -1
- package/dist/ui/a/NotificationStack/index.js +1 -1
- package/dist/ui/a/index.js +1 -1
- package/dist/ui/b/Button/Button.js +1 -1
- package/dist/ui/b/Button/index.js +1 -1
- package/dist/ui/b/Card/Card.js +1 -1
- package/dist/ui/b/Card/common/Group/Group.js +1 -1
- package/dist/ui/b/Card/common/Group/index.js +1 -1
- package/dist/ui/b/Card/common/index.js +1 -1
- package/dist/ui/b/Card/index.js +1 -1
- package/dist/ui/b/Logo/Logo.js +1 -1
- package/dist/ui/b/Logo/index.js +1 -1
- package/dist/ui/b/Page/Page.js +1 -1
- package/dist/ui/b/Page/common/PageHelmet/PageHelmet.js +1 -1
- package/dist/ui/b/Page/common/PageHelmet/index.js +1 -1
- package/dist/ui/b/Page/common/index.js +1 -1
- package/dist/ui/b/Page/index.js +1 -1
- package/dist/ui/b/SocialMediaButton/SocialMediaButton.js +1 -1
- package/dist/ui/b/SocialMediaButton/index.js +1 -1
- package/dist/ui/b/ThemeSelector/ThemeSelector.js +1 -1
- package/dist/ui/b/ThemeSelector/index.js +1 -1
- package/dist/ui/b/index.js +1 -1
- package/dist/ui/c/Modal/Modal.js +1 -1
- package/dist/ui/c/Modal/common/ModalHeader/ModalHeader.js +1 -1
- package/dist/ui/c/Modal/common/ModalHeader/index.js +1 -1
- package/dist/ui/c/Modal/common/index.js +1 -1
- package/dist/ui/c/Modal/index.js +1 -1
- package/dist/ui/c/Shortener/Shortener.js +1 -1
- package/dist/ui/c/Shortener/index.js +1 -1
- package/dist/ui/c/index.js +1 -1
- package/dist/ui/f/FormInput/FormInput.js +1 -1
- package/dist/ui/f/FormInput/index.js +1 -1
- package/dist/ui/f/common/Debugger/Debugger.js +1 -1
- package/dist/ui/f/common/Debugger/index.js +1 -1
- package/dist/ui/f/common/index.js +1 -1
- package/dist/ui/f/common/utils/lookUpInputValueFromOptions.js +25 -24
- package/dist/ui/f/fields/Checkbox/Checkbox.js +1 -1
- package/dist/ui/f/fields/Checkbox/index.js +1 -1
- package/dist/ui/f/fields/ChoicesInput/ChoicesInput.js +1 -1
- package/dist/ui/f/fields/ChoicesInput/index.js +1 -1
- package/dist/ui/f/fields/DragAndDropFileUpload/DragAndDropFileUpload.js +1 -1
- package/dist/ui/f/fields/DragAndDropFileUpload/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/EditorInput.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ColorPicker/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/common/index.js +1 -1
- package/dist/ui/f/fields/EditorInput/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/FileUpload.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/Preview/Preview.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/Preview/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/PreviewNewRegistration/PreviewNewRegistration.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/PreviewNewRegistration/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/common/index.js +1 -1
- package/dist/ui/f/fields/FileUpload/index.js +1 -1
- package/dist/ui/f/fields/LatexPreviewInput/LatexPreviewInput.js +1 -1
- package/dist/ui/f/fields/LatexPreviewInput/index.js +1 -1
- package/dist/ui/f/fields/LinkInput/LinkInput.js +1 -1
- package/dist/ui/f/fields/LinkInput/index.js +1 -1
- package/dist/ui/f/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/ui/f/fields/PasswordInput/index.js +1 -1
- package/dist/ui/f/fields/QueryChoices/QueryChoices.js +1 -1
- package/dist/ui/f/fields/QueryChoices/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/QueryCombobox.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/Combobox/Combobox.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/Combobox/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/common/index.js +1 -1
- package/dist/ui/f/fields/QueryCombobox/index.js +1 -1
- package/dist/ui/f/fields/QuerySelect/QuerySelect.js +1 -1
- package/dist/ui/f/fields/QuerySelect/index.js +1 -1
- package/dist/ui/f/fields/RatingsInput/RatingsInput.js +1 -1
- package/dist/ui/f/fields/RatingsInput/index.js +1 -1
- package/dist/ui/f/fields/SearchDropdown/SearchDropdown.js +1 -1
- package/dist/ui/f/fields/SearchDropdown/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/SelectInput.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Menu/Menu.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Menu/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Multiple/Multiple.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Multiple/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Single/Single.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/Single/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/common/index.js +1 -1
- package/dist/ui/f/fields/SelectInput/index.js +1 -1
- package/dist/ui/f/fields/SelectSingle/SelectSingle.js +1 -1
- package/dist/ui/f/fields/TextInput/TextInput.js +1 -1
- package/dist/ui/f/fields/TextInput/index.js +1 -1
- package/dist/ui/f/fields/TextareaInput/TextareaInput.js +1 -1
- package/dist/ui/f/fields/TextareaInput/index.js +1 -1
- package/dist/ui/f/fields/ToggleInput/ToggleInput.js +1 -1
- package/dist/ui/f/fields/ToggleInput/index.js +1 -1
- package/dist/ui/f/fields/index.js +1 -1
- package/dist/ui/f/index.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/common/index.js +1 -1
- package/dist/ui/g/ExpandableLexicalPreview/index.js +1 -1
- package/dist/ui/g/FormBuilder/FormBuilder.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/Builder.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/Section/Section.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/Section/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/common/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Builder/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/Renderer.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/common/Section/Section.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/common/Section/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/common/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/Renderer/index.js +1 -1
- package/dist/ui/g/FormBuilder/common/index.js +1 -1
- package/dist/ui/g/FormBuilder/index.js +1 -1
- package/dist/ui/g/index.js +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +8 -8
package/dist/ui/c/Modal/Modal.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../index-CxkFVI6N.js";
|
|
4
4
|
import "../../../exports.module-DmUnHWIJ.js";
|
|
5
|
-
import { M as a } from "../../../FormBuilder-
|
|
5
|
+
import { M as a } from "../../../FormBuilder-ClHks9e9.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
|
@@ -5,7 +5,7 @@ import "../../../../../exports.module-DmUnHWIJ.js";
|
|
|
5
5
|
import "../../../../a/AppContext/Context.js";
|
|
6
6
|
import "../../../../a/AppContext/ContextProvider.js";
|
|
7
7
|
import "../../../../a/BlurOverlay/BlurOverlay.js";
|
|
8
|
-
import { $ as X } from "../../../../../FormBuilder-
|
|
8
|
+
import { $ as X } from "../../../../../FormBuilder-ClHks9e9.js";
|
|
9
9
|
import "../../../../a/Conversation/Context.js";
|
|
10
10
|
import "../../../../a/DotInfo/DotInfo.js";
|
|
11
11
|
import "../../../../a/Figure/Figure.js";
|
package/dist/ui/c/Modal/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../index-CxkFVI6N.js";
|
|
4
4
|
import "../../../exports.module-DmUnHWIJ.js";
|
|
5
|
-
import { d as e } from "../../../FormBuilder-
|
|
5
|
+
import { d as e } from "../../../FormBuilder-ClHks9e9.js";
|
|
6
6
|
import "../../b/Page/Context.js";
|
|
7
7
|
import "../../b/Title/Title.js";
|
|
8
8
|
export {
|
package/dist/ui/c/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../index-CxkFVI6N.js";
|
|
4
|
-
import { F as P } from "../../../FormBuilder-
|
|
4
|
+
import { F as P } from "../../../FormBuilder-ClHks9e9.js";
|
|
5
5
|
import "../common/Label/Label.js";
|
|
6
6
|
import "../common/Description/Description.js";
|
|
7
7
|
import "../../a/AppContext/Context.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../index-CxkFVI6N.js";
|
|
4
|
-
import { D as f } from "../../../../FormBuilder-
|
|
4
|
+
import { D as f } from "../../../../FormBuilder-ClHks9e9.js";
|
|
5
5
|
import "../../../b/Page/Context.js";
|
|
6
6
|
import "../../../b/Title/Title.js";
|
|
7
7
|
import "formik";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as e } from "./Label/Label.js";
|
|
2
2
|
import { default as a } from "./Description/Description.js";
|
|
3
|
-
import { D as p } from "../../../FormBuilder-
|
|
3
|
+
import { D as p } from "../../../FormBuilder-ClHks9e9.js";
|
|
4
4
|
import { lookUpInputValueFromOptions as n } from "./utils/lookUpInputValueFromOptions.js";
|
|
5
5
|
import { integerAndGreaterThanZero as s } from "./utils/validators.js";
|
|
6
6
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function D(e) {
|
|
2
2
|
return Array.isArray ? Array.isArray(e) : st(e) === "[object Array]";
|
|
3
3
|
}
|
|
4
4
|
function at(e) {
|
|
@@ -58,7 +58,7 @@ class Ft {
|
|
|
58
58
|
}
|
|
59
59
|
function nt(e) {
|
|
60
60
|
let t = null, s = null, n = null, r = 1, i = null;
|
|
61
|
-
if (B(e) ||
|
|
61
|
+
if (B(e) || D(e))
|
|
62
62
|
n = e, t = V(e), s = j(e);
|
|
63
63
|
else {
|
|
64
64
|
if (!J.call(e, "name"))
|
|
@@ -71,10 +71,10 @@ function nt(e) {
|
|
|
71
71
|
return { path: t, id: s, weight: r, src: n, getFn: i };
|
|
72
72
|
}
|
|
73
73
|
function V(e) {
|
|
74
|
-
return
|
|
74
|
+
return D(e) ? e : e.split(".");
|
|
75
75
|
}
|
|
76
76
|
function j(e) {
|
|
77
|
-
return
|
|
77
|
+
return D(e) ? e.join(".") : e;
|
|
78
78
|
}
|
|
79
79
|
function Mt(e, t) {
|
|
80
80
|
let s = [], n = !1;
|
|
@@ -89,7 +89,7 @@ function Mt(e, t) {
|
|
|
89
89
|
return;
|
|
90
90
|
if (c === u.length - 1 && (B(h) || tt(h) || ft(h)))
|
|
91
91
|
s.push(lt(h));
|
|
92
|
-
else if (
|
|
92
|
+
else if (D(h)) {
|
|
93
93
|
n = !0;
|
|
94
94
|
for (let a = 0, f = h.length; a < f; a += 1)
|
|
95
95
|
r(h[a], u, c + 1);
|
|
@@ -108,7 +108,7 @@ const Bt = {
|
|
|
108
108
|
findAllMatches: !1,
|
|
109
109
|
// Minimum number of characters that must be matched before a result is considered a match
|
|
110
110
|
minMatchCharLength: 1
|
|
111
|
-
},
|
|
111
|
+
}, mt = {
|
|
112
112
|
// When `true`, the algorithm continues searching to the end of the input even if a perfect
|
|
113
113
|
// match is found before the end of the same input.
|
|
114
114
|
isCaseSensitive: !1,
|
|
@@ -122,7 +122,7 @@ const Bt = {
|
|
|
122
122
|
shouldSort: !0,
|
|
123
123
|
// Default sort function: sort by ascending score, ascending index
|
|
124
124
|
sortFn: (e, t) => e.score === t.score ? e.idx < t.idx ? -1 : 1 : e.score < t.score ? -1 : 1
|
|
125
|
-
},
|
|
125
|
+
}, Dt = {
|
|
126
126
|
// Approximately where in the text is the pattern expected to be found?
|
|
127
127
|
location: 0,
|
|
128
128
|
// At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
|
|
@@ -152,9 +152,9 @@ const Bt = {
|
|
|
152
152
|
fieldNormWeight: 1
|
|
153
153
|
};
|
|
154
154
|
var l = {
|
|
155
|
-
...Dt,
|
|
156
|
-
...Bt,
|
|
157
155
|
...mt,
|
|
156
|
+
...Bt,
|
|
157
|
+
...Dt,
|
|
158
158
|
...yt
|
|
159
159
|
};
|
|
160
160
|
const xt = /[^ ]+/g;
|
|
@@ -230,7 +230,7 @@ class Y {
|
|
|
230
230
|
this.keys.forEach((r, i) => {
|
|
231
231
|
let u = r.getFn ? r.getFn(t) : this.getFn(t, r.path);
|
|
232
232
|
if (E(u)) {
|
|
233
|
-
if (
|
|
233
|
+
if (D(u)) {
|
|
234
234
|
let c = [];
|
|
235
235
|
const o = [{ nestedArrIndex: -1, value: u }];
|
|
236
236
|
for (; o.length; ) {
|
|
@@ -243,7 +243,7 @@ class Y {
|
|
|
243
243
|
n: this.norm.get(a)
|
|
244
244
|
};
|
|
245
245
|
c.push(f);
|
|
246
|
-
} else
|
|
246
|
+
} else D(a) && a.forEach((f, d) => {
|
|
247
247
|
o.push({
|
|
248
248
|
nestedArrIndex: d,
|
|
249
249
|
value: f
|
|
@@ -327,7 +327,7 @@ function wt(e, t, s, {
|
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
A = -1;
|
|
330
|
-
let
|
|
330
|
+
let m = [], L = 1, S = a + f;
|
|
331
331
|
const ht = 1 << a - 1;
|
|
332
332
|
for (let C = 0; C < a; C += 1) {
|
|
333
333
|
let x = 0, _ = S;
|
|
@@ -344,7 +344,7 @@ function wt(e, t, s, {
|
|
|
344
344
|
b[T + 1] = (1 << C) - 1;
|
|
345
345
|
for (let M = T; M >= Q; M -= 1) {
|
|
346
346
|
let O = M - 1, U = s[e.charAt(O)];
|
|
347
|
-
if (p && (F[O] = +!!U), b[M] = (b[M + 1] << 1 | 1) & U, C && (b[M] |= (
|
|
347
|
+
if (p && (F[O] = +!!U), b[M] = (b[M + 1] << 1 | 1) & U, C && (b[M] |= (m[M + 1] | m[M]) << 1 | 1 | m[M + 1]), b[M] & ht && (L = k(t, {
|
|
348
348
|
errors: C,
|
|
349
349
|
currentLocation: O,
|
|
350
350
|
expectedLocation: d,
|
|
@@ -364,7 +364,7 @@ function wt(e, t, s, {
|
|
|
364
364
|
ignoreLocation: h
|
|
365
365
|
}) > g)
|
|
366
366
|
break;
|
|
367
|
-
|
|
367
|
+
m = b;
|
|
368
368
|
}
|
|
369
369
|
const v = {
|
|
370
370
|
isMatch: A >= 0,
|
|
@@ -448,7 +448,7 @@ class it {
|
|
|
448
448
|
} = this.options;
|
|
449
449
|
let f = [], d = 0, g = !1;
|
|
450
450
|
this.chunks.forEach(({ pattern: p, alphabet: F, startIndex: y }) => {
|
|
451
|
-
const { isMatch:
|
|
451
|
+
const { isMatch: m, score: L, indices: S } = wt(t, p, F, {
|
|
452
452
|
location: i + y,
|
|
453
453
|
distance: u,
|
|
454
454
|
threshold: c,
|
|
@@ -457,7 +457,7 @@ class it {
|
|
|
457
457
|
includeMatches: r,
|
|
458
458
|
ignoreLocation: a
|
|
459
459
|
});
|
|
460
|
-
|
|
460
|
+
m && (g = !0), d += L, m && S && (f = [...f, ...S]);
|
|
461
461
|
});
|
|
462
462
|
let A = {
|
|
463
463
|
isMatch: g,
|
|
@@ -757,8 +757,8 @@ class Kt {
|
|
|
757
757
|
const A = f[d], { isMatch: p, indices: F, score: y } = A.search(t);
|
|
758
758
|
if (p) {
|
|
759
759
|
if (u += 1, o += y, n) {
|
|
760
|
-
const
|
|
761
|
-
jt.has(
|
|
760
|
+
const m = A.constructor.type;
|
|
761
|
+
jt.has(m) ? c = [...c, ...F] : c.push(F);
|
|
762
762
|
}
|
|
763
763
|
} else {
|
|
764
764
|
o = 0, u = 0, c.length = 0;
|
|
@@ -797,7 +797,7 @@ const N = {
|
|
|
797
797
|
}, G = {
|
|
798
798
|
PATH: "$path",
|
|
799
799
|
PATTERN: "$val"
|
|
800
|
-
}, H = (e) => !!(e[N.AND] || e[N.OR]), zt = (e) => !!e[G.PATH], Gt = (e) => !
|
|
800
|
+
}, H = (e) => !!(e[N.AND] || e[N.OR]), zt = (e) => !!e[G.PATH], Gt = (e) => !D(e) && et(e) && !H(e), q = (e) => ({
|
|
801
801
|
[N.AND]: Object.keys(e).map((t) => ({
|
|
802
802
|
[t]: e[t]
|
|
803
803
|
}))
|
|
@@ -824,7 +824,7 @@ function ot(e, t, { auto: s = !0 } = {}) {
|
|
|
824
824
|
};
|
|
825
825
|
return i.forEach((o) => {
|
|
826
826
|
const h = r[o];
|
|
827
|
-
|
|
827
|
+
D(h) && h.forEach((a) => {
|
|
828
828
|
c.children.push(n(a));
|
|
829
829
|
});
|
|
830
830
|
}), c;
|
|
@@ -990,7 +990,7 @@ class R {
|
|
|
990
990
|
if (!E(s))
|
|
991
991
|
return [];
|
|
992
992
|
let r = [];
|
|
993
|
-
if (
|
|
993
|
+
if (D(s))
|
|
994
994
|
s.forEach(({ v: i, i: u, n: c }) => {
|
|
995
995
|
if (!E(i))
|
|
996
996
|
return;
|
|
@@ -1025,11 +1025,12 @@ const Jt = {
|
|
|
1025
1025
|
inputValue: t,
|
|
1026
1026
|
setOptions: s
|
|
1027
1027
|
}) => {
|
|
1028
|
-
new R(e, Jt).search(t).length === 0 && t.length > 1 && s((i) => [
|
|
1028
|
+
new R(e, Jt).search(t).length === 0 && t.trim().length > 1 && s((i) => [
|
|
1029
1029
|
...i,
|
|
1030
1030
|
{
|
|
1031
|
-
label:
|
|
1032
|
-
value: t
|
|
1031
|
+
label: `${t} (Create new)`,
|
|
1032
|
+
value: t.trim(),
|
|
1033
|
+
isCreateNew: !0
|
|
1033
1034
|
}
|
|
1034
1035
|
]);
|
|
1035
1036
|
};
|
|
@@ -5,7 +5,7 @@ import "../../../../exports.module-DmUnHWIJ.js";
|
|
|
5
5
|
import "formik";
|
|
6
6
|
import "../../common/Label/Label.js";
|
|
7
7
|
import "../../common/Description/Description.js";
|
|
8
|
-
import { j as d } from "../../../../FormBuilder-
|
|
8
|
+
import { j as d } from "../../../../FormBuilder-ClHks9e9.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ import "../../../../exports.module-DmUnHWIJ.js";
|
|
|
5
5
|
import "./common/Choice/Choice.js";
|
|
6
6
|
import "../../common/Label/Label.js";
|
|
7
7
|
import "../../common/Description/Description.js";
|
|
8
|
-
import { g as d } from "../../../../FormBuilder-
|
|
8
|
+
import { g as d } from "../../../../FormBuilder-ClHks9e9.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "formik";
|
|
4
4
|
import "../../../../exports.module-DmUnHWIJ.js";
|
|
5
|
-
import { q as f } from "../../../../FormBuilder-
|
|
5
|
+
import { q as f } from "../../../../FormBuilder-ClHks9e9.js";
|
|
6
6
|
import "../../common/Label/Label.js";
|
|
7
7
|
import "../../common/Description/Description.js";
|
|
8
8
|
export {
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../ExposePlainTextPlugin-DeW6mVaE.js";
|
|
4
4
|
import "formik";
|
|
5
|
-
import { E as x } from "../../../../FormBuilder-
|
|
5
|
+
import { E as x } from "../../../../FormBuilder-ClHks9e9.js";
|
|
6
6
|
import "../../../../LexicalComposerContext-D_q7RDyF.js";
|
|
7
7
|
import "../../../../index-CxkFVI6N.js";
|
|
8
8
|
import "../../../../exports.module-DmUnHWIJ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../../../ExposePlainTextPlugin-DeW6mVaE.js";
|
|
4
|
-
import { X as P } from "../../../../../../FormBuilder-
|
|
4
|
+
import { X as P } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
5
5
|
import "../../../../../../index-CxkFVI6N.js";
|
|
6
6
|
import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
7
7
|
import "../../../../../a/AppContext/Context.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Z as O } from "../../../../../../FormBuilder-
|
|
3
|
+
import { Z as O } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
4
4
|
import "../../../../../../index-CxkFVI6N.js";
|
|
5
5
|
import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
6
6
|
import "../../../../../a/AppContext/Context.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../../../ExposePlainTextPlugin-DeW6mVaE.js";
|
|
4
|
-
import { _ as P } from "../../../../../../FormBuilder-
|
|
4
|
+
import { _ as P } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
5
5
|
import "../../../../../../index-CxkFVI6N.js";
|
|
6
6
|
import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
7
7
|
import "../../../../../a/AppContext/Context.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../../../index-CxkFVI6N.js";
|
|
4
|
-
import { a3 as l, Y as c } from "../../../../../../FormBuilder-
|
|
4
|
+
import { a3 as l, Y as c } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
5
5
|
import "../../../../../../ExposePlainTextPlugin-DeW6mVaE.js";
|
|
6
6
|
import "../../../../../../LexicalComposerContext-D_q7RDyF.js";
|
|
7
7
|
import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as a, Z as e, _ as t, Y as i } from "../../../../../FormBuilder-
|
|
1
|
+
import { X as a, Z as e, _ as t, Y as i } from "../../../../../FormBuilder-ClHks9e9.js";
|
|
2
2
|
import { T as n } from "../../../../../TreeViewPlugin-BqY3Z-6y.js";
|
|
3
3
|
import { default as s } from "./StopPropagationPlugin.js";
|
|
4
4
|
import { E as x } from "../../../../../ExposePlainTextPlugin-DeW6mVaE.js";
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../../../index-CxkFVI6N.js";
|
|
4
4
|
import "formik";
|
|
5
5
|
import "../../../../exports.module-DmUnHWIJ.js";
|
|
6
|
-
import { n as d } from "../../../../FormBuilder-
|
|
6
|
+
import { n as d } from "../../../../FormBuilder-ClHks9e9.js";
|
|
7
7
|
import "../../common/Label/Label.js";
|
|
8
8
|
import "../../common/Description/Description.js";
|
|
9
9
|
export {
|
|
@@ -5,7 +5,7 @@ import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
|
5
5
|
import "../../../../../a/AppContext/Context.js";
|
|
6
6
|
import "../../../../../a/AppContext/ContextProvider.js";
|
|
7
7
|
import "../../../../../a/BlurOverlay/BlurOverlay.js";
|
|
8
|
-
import { V as N } from "../../../../../../FormBuilder-
|
|
8
|
+
import { V as N } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
9
9
|
import "../../../../../a/Conversation/Context.js";
|
|
10
10
|
import "../../../../../a/DotInfo/DotInfo.js";
|
|
11
11
|
import "../../../../../a/Figure/Figure.js";
|
|
@@ -5,7 +5,7 @@ import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
|
5
5
|
import "../../../../../a/AppContext/Context.js";
|
|
6
6
|
import "../../../../../a/AppContext/ContextProvider.js";
|
|
7
7
|
import "../../../../../a/BlurOverlay/BlurOverlay.js";
|
|
8
|
-
import { W as N } from "../../../../../../FormBuilder-
|
|
8
|
+
import { W as N } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
9
9
|
import "../../../../../a/Conversation/Context.js";
|
|
10
10
|
import "../../../../../a/DotInfo/DotInfo.js";
|
|
11
11
|
import "../../../../../a/Figure/Figure.js";
|
|
@@ -4,7 +4,7 @@ import "../../../../index-CxkFVI6N.js";
|
|
|
4
4
|
import "../../../../exports.module-DmUnHWIJ.js";
|
|
5
5
|
import "formik";
|
|
6
6
|
import "./convertLatexToHtml.js";
|
|
7
|
-
import { m as f } from "../../../../FormBuilder-
|
|
7
|
+
import { m as f } from "../../../../FormBuilder-ClHks9e9.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
10
10
|
};
|
|
@@ -5,7 +5,7 @@ import "../../../../exports.module-DmUnHWIJ.js";
|
|
|
5
5
|
import "formik";
|
|
6
6
|
import "../../common/Label/Label.js";
|
|
7
7
|
import "../../common/Description/Description.js";
|
|
8
|
-
import { l } from "../../../../FormBuilder-
|
|
8
|
+
import { l } from "../../../../FormBuilder-ClHks9e9.js";
|
|
9
9
|
export {
|
|
10
10
|
l as default
|
|
11
11
|
};
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../exports.module-DmUnHWIJ.js";
|
|
4
4
|
import "formik";
|
|
5
|
-
import { r as l } from "../../../../FormBuilder-
|
|
5
|
+
import { r as l } from "../../../../FormBuilder-ClHks9e9.js";
|
|
6
6
|
import "../../../b/Page/Context.js";
|
|
7
7
|
import "../../../b/Title/Title.js";
|
|
8
8
|
import "../../common/Label/Label.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../../../debounce-Cm69Z_cF.js";
|
|
4
|
-
import { O as U } from "../../../../../../FormBuilder-
|
|
4
|
+
import { O as U } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
5
5
|
import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
6
6
|
import "../../../../common/Label/Label.js";
|
|
7
7
|
import "../../../../common/Description/Description.js";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../../../debounce-Cm69Z_cF.js";
|
|
4
4
|
import "../../../../../../exports.module-DmUnHWIJ.js";
|
|
5
|
-
import { U as T } from "../../../../../../FormBuilder-
|
|
5
|
+
import { U as T } from "../../../../../../FormBuilder-ClHks9e9.js";
|
|
6
6
|
import "../../../../../b/Page/Context.js";
|
|
7
7
|
import "../../../../../b/Title/Title.js";
|
|
8
8
|
import "../../../../../a/AppContext/Context.js";
|