tinacms 2.2.3 → 2.2.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/admin/pages/CollectionListPage.d.ts +2 -2
- package/dist/index.js +671 -245
- package/dist/index.mjs +673 -247
- package/dist/internalClient/index.d.ts +4 -0
- package/dist/toolkit/fields/plugins/blocks-field-plugin/block-selector-big.d.ts +1 -1
- package/dist/toolkit/fields/plugins/blocks-field-plugin/block-selector.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/nav.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/sidebar.d.ts +1 -6
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1842,14 +1842,14 @@ var __publicField = (obj, key, value) => {
|
|
|
1842
1842
|
className: "relative inline-block text-left z-20"
|
|
1843
1843
|
},
|
|
1844
1844
|
/* @__PURE__ */ React.createElement("div", { className: "mt-1" }, /* @__PURE__ */ React.createElement("div", { className: "relative w-full cursor-default overflow-hidden rounded-lg bg-white text-left shadow-md sm:text-sm" }, /* @__PURE__ */ React.createElement(
|
|
1845
|
-
react$1.
|
|
1845
|
+
react$1.ComboboxInput,
|
|
1846
1846
|
{
|
|
1847
1847
|
className: "w-full border-none py-2 pl-3 pr-10 text-sm leading-5 text-gray-900 focus:ring-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-teal-300",
|
|
1848
1848
|
displayValue: (item) => (item == null ? void 0 : item.label) ?? "Plain Text",
|
|
1849
1849
|
onChange: (event) => setQuery(event.target.value),
|
|
1850
1850
|
onClick: (ev) => ev.stopPropagation()
|
|
1851
1851
|
}
|
|
1852
|
-
), /* @__PURE__ */ React.createElement(react$1.
|
|
1852
|
+
), /* @__PURE__ */ React.createElement(react$1.ComboboxButton, { className: "absolute inset-y-0 right-0 flex items-center pr-2" }, /* @__PURE__ */ React.createElement(
|
|
1853
1853
|
ChevronDownIcon$1,
|
|
1854
1854
|
{
|
|
1855
1855
|
className: "h-5 w-5 text-gray-400",
|
|
@@ -1867,11 +1867,11 @@ var __publicField = (obj, key, value) => {
|
|
|
1867
1867
|
leaveFrom: "transform opacity-100 scale-100",
|
|
1868
1868
|
leaveTo: "transform opacity-0 scale-95"
|
|
1869
1869
|
},
|
|
1870
|
-
/* @__PURE__ */ React.createElement(react$1.
|
|
1870
|
+
/* @__PURE__ */ React.createElement(react$1.ComboboxOptions, { className: "origin-top-right absolute right-0 mt-1 w-full max-h-[300px] overflow-y-auto rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, filteredItems.map((item) => /* @__PURE__ */ React.createElement(react$1.ComboboxOption, { key: item.key, value: item }, ({ focus }) => /* @__PURE__ */ React.createElement(
|
|
1871
1871
|
"button",
|
|
1872
1872
|
{
|
|
1873
1873
|
className: classNames$1(
|
|
1874
|
-
|
|
1874
|
+
focus ? "bg-gray-100 text-gray-900" : "text-gray-700",
|
|
1875
1875
|
"block px-4 py-2 text-xs w-full text-right"
|
|
1876
1876
|
)
|
|
1877
1877
|
},
|
|
@@ -4649,7 +4649,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4649
4649
|
{
|
|
4650
4650
|
shouldFilter: !field.experimental___filter,
|
|
4651
4651
|
filter: (value2, search) => {
|
|
4652
|
-
if (value2.toLowerCase().
|
|
4652
|
+
if (value2.toLowerCase().includes(search.toLowerCase()))
|
|
4653
4653
|
return 1;
|
|
4654
4654
|
return 0;
|
|
4655
4655
|
}
|
|
@@ -5107,7 +5107,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5107
5107
|
return template.label ? template.label.toLowerCase().includes(filter.toLowerCase()) || name.toLowerCase().includes(filter.toLowerCase()) : name.toLowerCase().includes(filter.toLowerCase());
|
|
5108
5108
|
});
|
|
5109
5109
|
}, [filter]);
|
|
5110
|
-
return /* @__PURE__ */ React__namespace.createElement(react$1.Popover, null, ({ open: open2 }) => /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(react$1.
|
|
5110
|
+
return /* @__PURE__ */ React__namespace.createElement(react$1.Popover, null, ({ open: open2 }) => /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement(react$1.PopoverButton, { as: "span" }, /* @__PURE__ */ React__namespace.createElement(
|
|
5111
5111
|
IconButton,
|
|
5112
5112
|
{
|
|
5113
5113
|
variant: open2 ? "secondary" : "primary",
|
|
@@ -5125,7 +5125,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5125
5125
|
leaveFrom: "transform opacity-100 translate-y-0",
|
|
5126
5126
|
leaveTo: "transform opacity-0 -translate-y-2"
|
|
5127
5127
|
},
|
|
5128
|
-
/* @__PURE__ */ React__namespace.createElement(react$1.
|
|
5128
|
+
/* @__PURE__ */ React__namespace.createElement(react$1.PopoverPanel, { className: "relative overflow-hidden rounded-lg shadow-lg bg-white border border-gray-100" }, ({ close: close2 }) => /* @__PURE__ */ React__namespace.createElement("div", { className: "min-w-[192px] max-h-[24rem] overflow-y-auto flex flex-col w-full h-full" }, showFilter && /* @__PURE__ */ React__namespace.createElement("div", { className: "sticky top-0 bg-gray-50 p-2 border-b border-gray-100 z-10" }, /* @__PURE__ */ React__namespace.createElement(
|
|
5129
5129
|
"input",
|
|
5130
5130
|
{
|
|
5131
5131
|
type: "text",
|
|
@@ -5298,12 +5298,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5298
5298
|
{
|
|
5299
5299
|
variant: pickerIsOpen ? "secondary" : "primary",
|
|
5300
5300
|
size: "small",
|
|
5301
|
-
className: `${pickerIsOpen ?
|
|
5301
|
+
className: `${pickerIsOpen ? "rotate-45 pointer-events-none" : ""}`,
|
|
5302
5302
|
onClick: () => setPickerIsOpen(!pickerIsOpen)
|
|
5303
5303
|
},
|
|
5304
5304
|
/* @__PURE__ */ React__namespace.createElement(AddIcon, { className: "w-5/6 h-auto" })
|
|
5305
5305
|
), /* @__PURE__ */ React__namespace.createElement(FormPortal, null, ({ zIndexShift }) => /* @__PURE__ */ React__namespace.createElement(react$1.Transition, { show: pickerIsOpen }, /* @__PURE__ */ React__namespace.createElement(
|
|
5306
|
-
react$1.
|
|
5306
|
+
react$1.TransitionChild,
|
|
5307
5307
|
{
|
|
5308
5308
|
as: React__namespace.Fragment,
|
|
5309
5309
|
enter: "transform transition-all ease-out duration-200",
|
|
@@ -5425,7 +5425,15 @@ var __publicField = (obj, key, value) => {
|
|
|
5425
5425
|
leaveFrom: "transform scale-100 opacity-100",
|
|
5426
5426
|
leaveTo: "transform scale-95 opacity-0"
|
|
5427
5427
|
},
|
|
5428
|
-
/* @__PURE__ */ React__namespace.createElement(react$1.
|
|
5428
|
+
/* @__PURE__ */ React__namespace.createElement(react$1.DisclosurePanel, null, templates.length > 0 && /* @__PURE__ */ React__namespace.createElement(CardColumns, null, templates.map(([name, template], index) => /* @__PURE__ */ React__namespace.createElement(
|
|
5429
|
+
BlockCard,
|
|
5430
|
+
{
|
|
5431
|
+
key: index,
|
|
5432
|
+
close: close2,
|
|
5433
|
+
name,
|
|
5434
|
+
template
|
|
5435
|
+
}
|
|
5436
|
+
))))
|
|
5429
5437
|
))
|
|
5430
5438
|
);
|
|
5431
5439
|
};
|
|
@@ -8526,7 +8534,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8526
8534
|
const { message = "Unexpected error generating upload url" } = await res.json();
|
|
8527
8535
|
throw new Error(message);
|
|
8528
8536
|
}
|
|
8529
|
-
const { signedUrl } = await res.json();
|
|
8537
|
+
const { signedUrl, requestId } = await res.json();
|
|
8530
8538
|
if (!signedUrl) {
|
|
8531
8539
|
throw new Error("Unexpected error generating upload url");
|
|
8532
8540
|
}
|
|
@@ -8548,6 +8556,21 @@ var __publicField = (obj, key, value) => {
|
|
|
8548
8556
|
throw new Error(`Upload error: '${matches[2]}'`);
|
|
8549
8557
|
}
|
|
8550
8558
|
}
|
|
8559
|
+
const updateStartTime = Date.now();
|
|
8560
|
+
while (true) {
|
|
8561
|
+
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
8562
|
+
const { error, message } = await this.api.getRequestStatus(requestId);
|
|
8563
|
+
if (error !== void 0) {
|
|
8564
|
+
if (error) {
|
|
8565
|
+
throw new Error(message);
|
|
8566
|
+
} else {
|
|
8567
|
+
break;
|
|
8568
|
+
}
|
|
8569
|
+
}
|
|
8570
|
+
if (Date.now() - updateStartTime > 3e4) {
|
|
8571
|
+
throw new Error("Time out waiting for upload to complete");
|
|
8572
|
+
}
|
|
8573
|
+
}
|
|
8551
8574
|
const src = `https://assets.tina.io/${this.api.clientId}/${path}`;
|
|
8552
8575
|
newFiles.push({
|
|
8553
8576
|
directory: item.directory,
|
|
@@ -8733,9 +8756,34 @@ var __publicField = (obj, key, value) => {
|
|
|
8733
8756
|
const path = `${media.directory ? `${media.directory}/${media.filename}` : media.filename}`;
|
|
8734
8757
|
if (!this.isLocal) {
|
|
8735
8758
|
if (await this.isAuthenticated()) {
|
|
8736
|
-
await this.api.authProvider.fetchWithToken(
|
|
8737
|
-
|
|
8738
|
-
|
|
8759
|
+
const res = await this.api.authProvider.fetchWithToken(
|
|
8760
|
+
`${this.url}/${path}`,
|
|
8761
|
+
{
|
|
8762
|
+
method: "DELETE"
|
|
8763
|
+
}
|
|
8764
|
+
);
|
|
8765
|
+
if (res.status == 200) {
|
|
8766
|
+
const { requestId } = await res.json();
|
|
8767
|
+
const deleteStartTime = Date.now();
|
|
8768
|
+
while (true) {
|
|
8769
|
+
await new Promise((resolve) => setTimeout(resolve, 1e3));
|
|
8770
|
+
const { error, message } = await this.api.getRequestStatus(
|
|
8771
|
+
requestId
|
|
8772
|
+
);
|
|
8773
|
+
if (error !== void 0) {
|
|
8774
|
+
if (error) {
|
|
8775
|
+
throw new Error(message);
|
|
8776
|
+
} else {
|
|
8777
|
+
break;
|
|
8778
|
+
}
|
|
8779
|
+
}
|
|
8780
|
+
if (Date.now() - deleteStartTime > 3e4) {
|
|
8781
|
+
throw new Error("Time out waiting for delete to complete");
|
|
8782
|
+
}
|
|
8783
|
+
}
|
|
8784
|
+
} else {
|
|
8785
|
+
throw new Error("Unexpected error deleting media asset");
|
|
8786
|
+
}
|
|
8739
8787
|
} else {
|
|
8740
8788
|
throw E_UNAUTHORIZED;
|
|
8741
8789
|
}
|
|
@@ -9249,7 +9297,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9249
9297
|
}
|
|
9250
9298
|
return [...topItems, ...orderedListItems, ...extra];
|
|
9251
9299
|
}, [JSON.stringify(props.formList.items)]);
|
|
9252
|
-
return /* @__PURE__ */ React__namespace.createElement("ul", null, /* @__PURE__ */ React__namespace.createElement("li", { className:
|
|
9300
|
+
return /* @__PURE__ */ React__namespace.createElement("ul", null, /* @__PURE__ */ React__namespace.createElement("li", { className: "divide-y divide-gray-200" }, listItems.map((item, index) => {
|
|
9253
9301
|
if (item.type === "list") {
|
|
9254
9302
|
return /* @__PURE__ */ React__namespace.createElement(
|
|
9255
9303
|
"div",
|
|
@@ -9647,13 +9695,13 @@ var __publicField = (obj, key, value) => {
|
|
|
9647
9695
|
"div",
|
|
9648
9696
|
{
|
|
9649
9697
|
className: `relative z-30 flex flex-col bg-white border-r border-gray-200 w-96 h-full ${className}`,
|
|
9650
|
-
style: { maxWidth: sidebarWidth
|
|
9698
|
+
style: { maxWidth: `${sidebarWidth}px` },
|
|
9651
9699
|
...props
|
|
9652
9700
|
},
|
|
9653
9701
|
/* @__PURE__ */ React__namespace.createElement("div", { className: "border-b border-gray-200" }, /* @__PURE__ */ React__namespace.createElement(react$1.Menu, { as: "div", className: "relative block" }, ({ open: open2 }) => /* @__PURE__ */ React__namespace.createElement("div", null, /* @__PURE__ */ React__namespace.createElement(
|
|
9654
|
-
react$1.
|
|
9702
|
+
react$1.MenuButton,
|
|
9655
9703
|
{
|
|
9656
|
-
className: `group w-full px-6 py-3 gap-2 flex justify-between items-center transition-colors duration-150 ease-out ${open2 ?
|
|
9704
|
+
className: `group w-full px-6 py-3 gap-2 flex justify-between items-center transition-colors duration-150 ease-out ${open2 ? "bg-gray-50" : "bg-transparent"}`
|
|
9657
9705
|
},
|
|
9658
9706
|
/* @__PURE__ */ React__namespace.createElement("span", { className: "text-left inline-flex items-center text-xl tracking-wide text-gray-800 flex-1 gap-1 opacity-80 group-hover:opacity-100 transition-opacity duration-150 ease-out" }, /* @__PURE__ */ React__namespace.createElement(
|
|
9659
9707
|
"svg",
|
|
@@ -9670,7 +9718,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9670
9718
|
/* @__PURE__ */ React__namespace.createElement(
|
|
9671
9719
|
FiMoreVertical,
|
|
9672
9720
|
{
|
|
9673
|
-
className: `flex-0 w-6 h-full inline-block group-hover:opacity-80 transition-all duration-300 ease-in-out transform ${open2 ?
|
|
9721
|
+
className: `flex-0 w-6 h-full inline-block group-hover:opacity-80 transition-all duration-300 ease-in-out transform ${open2 ? "opacity-100 text-blue-400" : "text-gray-400 opacity-50 hover:opacity-70"}`
|
|
9674
9722
|
}
|
|
9675
9723
|
)
|
|
9676
9724
|
), /* @__PURE__ */ React__namespace.createElement("div", { className: "transform translate-y-full absolute bottom-3 right-5 z-50" }, /* @__PURE__ */ React__namespace.createElement(
|
|
@@ -9683,7 +9731,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9683
9731
|
leaveFrom: "transform opacity-100 translate-y-0",
|
|
9684
9732
|
leaveTo: "transform opacity-0 -translate-y-2"
|
|
9685
9733
|
},
|
|
9686
|
-
/* @__PURE__ */ React__namespace.createElement(react$1.
|
|
9734
|
+
/* @__PURE__ */ React__namespace.createElement(react$1.MenuItems, { className: "bg-white border border-gray-150 rounded-lg shadow-lg flex flex-col items-stretch overflow-hidden" }, /* @__PURE__ */ React__namespace.createElement(react$1.MenuItem, null, /* @__PURE__ */ React__namespace.createElement(
|
|
9687
9735
|
"button",
|
|
9688
9736
|
{
|
|
9689
9737
|
className: `text-lg px-4 py-2 first:pt-3 last:pb-3 tracking-wide whitespace-nowrap flex items-center opacity-80 text-gray-600 hover:text-blue-400 hover:bg-gray-50 hover:opacity-100`,
|
|
@@ -9716,7 +9764,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9716
9764
|
},
|
|
9717
9765
|
/* @__PURE__ */ React__namespace.createElement(BiExit, { className: "w-6 h-auto mr-2 text-blue-400" }),
|
|
9718
9766
|
" Log Out"
|
|
9719
|
-
)), /* @__PURE__ */ React__namespace.createElement(react$1.
|
|
9767
|
+
)), /* @__PURE__ */ React__namespace.createElement(react$1.MenuItem, null, /* @__PURE__ */ React__namespace.createElement(
|
|
9720
9768
|
WrappedSyncStatus,
|
|
9721
9769
|
{
|
|
9722
9770
|
cms,
|
|
@@ -10063,7 +10111,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10063
10111
|
close: () => setActiveView(null)
|
|
10064
10112
|
}
|
|
10065
10113
|
)), /* @__PURE__ */ React__namespace.createElement(ResizeHandle, null)), renderMobileNav && /* @__PURE__ */ React__namespace.createElement(react$1.Transition, { show: menuIsOpen }, /* @__PURE__ */ React__namespace.createElement(
|
|
10066
|
-
react$1.
|
|
10114
|
+
react$1.TransitionChild,
|
|
10067
10115
|
{
|
|
10068
10116
|
as: React__namespace.Fragment,
|
|
10069
10117
|
enter: "transform transition-all ease-out duration-300",
|
|
@@ -10123,13 +10171,13 @@ var __publicField = (obj, key, value) => {
|
|
|
10123
10171
|
onClick: () => {
|
|
10124
10172
|
setMenuIsOpen(false);
|
|
10125
10173
|
},
|
|
10126
|
-
className:
|
|
10174
|
+
className: "transition-opacity duration-150 ease-out"
|
|
10127
10175
|
},
|
|
10128
10176
|
/* @__PURE__ */ React__namespace.createElement(IoMdClose, { className: "h-5 w-auto text-blue-500" })
|
|
10129
10177
|
))
|
|
10130
10178
|
))
|
|
10131
10179
|
), /* @__PURE__ */ React__namespace.createElement(
|
|
10132
|
-
react$1.
|
|
10180
|
+
react$1.TransitionChild,
|
|
10133
10181
|
{
|
|
10134
10182
|
as: React__namespace.Fragment,
|
|
10135
10183
|
enter: "ease-out duration-300",
|
|
@@ -10167,7 +10215,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10167
10215
|
sidebarWidth,
|
|
10168
10216
|
windowWidth - minPreviewWidth
|
|
10169
10217
|
);
|
|
10170
|
-
body.style.paddingLeft = bodyDisplacement
|
|
10218
|
+
body.style.paddingLeft = `${bodyDisplacement}px`;
|
|
10171
10219
|
} else {
|
|
10172
10220
|
body.style.paddingLeft = "0";
|
|
10173
10221
|
}
|
|
@@ -10213,7 +10261,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10213
10261
|
)), /* @__PURE__ */ React__namespace.createElement(
|
|
10214
10262
|
"div",
|
|
10215
10263
|
{
|
|
10216
|
-
className:
|
|
10264
|
+
className: "flex items-center pointer-events-auto transition-opacity duration-150 ease-in-out -mr-px"
|
|
10217
10265
|
},
|
|
10218
10266
|
/* @__PURE__ */ React__namespace.createElement(
|
|
10219
10267
|
Button$1,
|
|
@@ -10312,14 +10360,14 @@ var __publicField = (obj, key, value) => {
|
|
|
10312
10360
|
return /* @__PURE__ */ React__namespace.createElement(
|
|
10313
10361
|
"div",
|
|
10314
10362
|
{
|
|
10315
|
-
className: `fixed top-0 left-0 h-dvh z-base ${displayState === "closed" ?
|
|
10363
|
+
className: `fixed top-0 left-0 h-dvh z-base ${displayState === "closed" ? "pointer-events-none" : ""}`
|
|
10316
10364
|
},
|
|
10317
10365
|
/* @__PURE__ */ React__namespace.createElement(
|
|
10318
10366
|
"div",
|
|
10319
10367
|
{
|
|
10320
|
-
className: `relative h-dvh transform flex ${displayState !== "closed" ?
|
|
10368
|
+
className: `relative h-dvh transform flex ${displayState !== "closed" ? "" : "-translate-x-full"} ${resizingSidebar ? "transition-none" : displayState === "closed" ? "transition-all duration-300 ease-in" : displayState === "fullscreen" ? "transition-all duration-150 ease-out" : "transition-all duration-300 ease-out"}`,
|
|
10321
10369
|
style: {
|
|
10322
|
-
width: displayState === "fullscreen" ? "100vw" : sidebarWidth
|
|
10370
|
+
width: displayState === "fullscreen" ? "100vw" : `${sidebarWidth}px`,
|
|
10323
10371
|
maxWidth: displayState === "fullscreen" ? "100vw" : "calc(100vw - 8px)",
|
|
10324
10372
|
minWidth: "360px"
|
|
10325
10373
|
}
|
|
@@ -10332,7 +10380,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10332
10380
|
return /* @__PURE__ */ React__namespace.createElement(
|
|
10333
10381
|
"div",
|
|
10334
10382
|
{
|
|
10335
|
-
className:
|
|
10383
|
+
className: "relative left-0 w-full h-full flex flex-col items-stretch bg-white border-r border-gray-200 overflow-hidden"
|
|
10336
10384
|
},
|
|
10337
10385
|
children
|
|
10338
10386
|
);
|
|
@@ -10516,8 +10564,13 @@ var __publicField = (obj, key, value) => {
|
|
|
10516
10564
|
variant: "danger",
|
|
10517
10565
|
onClick: async () => {
|
|
10518
10566
|
setProcessing(true);
|
|
10519
|
-
|
|
10520
|
-
|
|
10567
|
+
try {
|
|
10568
|
+
await deleteFunc();
|
|
10569
|
+
} catch (e) {
|
|
10570
|
+
console.error(e);
|
|
10571
|
+
} finally {
|
|
10572
|
+
close2();
|
|
10573
|
+
}
|
|
10521
10574
|
}
|
|
10522
10575
|
},
|
|
10523
10576
|
/* @__PURE__ */ React.createElement("span", { className: "mr-1" }, "Delete"),
|
|
@@ -12661,7 +12714,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12661
12714
|
};
|
|
12662
12715
|
const DotMenu = ({ onOpen, onRemove }) => {
|
|
12663
12716
|
return /* @__PURE__ */ React.createElement(react$1.Popover, { as: "span", className: "-ml-px relative block" }, /* @__PURE__ */ React.createElement(
|
|
12664
|
-
react$1.
|
|
12717
|
+
react$1.PopoverButton,
|
|
12665
12718
|
{
|
|
12666
12719
|
as: "span",
|
|
12667
12720
|
className: "cursor-pointer h-full relative inline-flex items-center px-1 py-0.5 rounded-r-md border border-gray-200 bg-white text-gray-500 hover:bg-gray-50 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500"
|
|
@@ -12678,7 +12731,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12678
12731
|
leaveFrom: "transform opacity-100 scale-100",
|
|
12679
12732
|
leaveTo: "transform opacity-0 scale-95"
|
|
12680
12733
|
},
|
|
12681
|
-
/* @__PURE__ */ React.createElement(react$1.
|
|
12734
|
+
/* @__PURE__ */ React.createElement(react$1.PopoverPanel, { className: "z-30 absolute origin-top-right right-0" }, /* @__PURE__ */ React.createElement("div", { className: "mt-2 -mr-1 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, /* @__PURE__ */ React.createElement("div", { className: "py-1" }, /* @__PURE__ */ React.createElement(
|
|
12682
12735
|
"span",
|
|
12683
12736
|
{
|
|
12684
12737
|
onClick: onOpen,
|
|
@@ -13615,6 +13668,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13615
13668
|
icon: Icons.h5,
|
|
13616
13669
|
label: "Heading 5",
|
|
13617
13670
|
value: plateHeading.ELEMENT_H5
|
|
13671
|
+
},
|
|
13672
|
+
{
|
|
13673
|
+
description: "Heading 6",
|
|
13674
|
+
icon: Icons.h6,
|
|
13675
|
+
label: "Heading 6",
|
|
13676
|
+
value: plateHeading.ELEMENT_H6
|
|
13618
13677
|
}
|
|
13619
13678
|
];
|
|
13620
13679
|
const defaultItem$1 = items$1.find((item) => item.value === plateParagraph.ELEMENT_PARAGRAPH) || items$1[0];
|
|
@@ -14016,6 +14075,12 @@ var __publicField = (obj, key, value) => {
|
|
|
14016
14075
|
icon: Icons.h5,
|
|
14017
14076
|
label: "Heading 5",
|
|
14018
14077
|
value: plateHeading.ELEMENT_H5
|
|
14078
|
+
},
|
|
14079
|
+
{
|
|
14080
|
+
description: "Heading 6",
|
|
14081
|
+
icon: Icons.h6,
|
|
14082
|
+
label: "Heading 6",
|
|
14083
|
+
value: plateHeading.ELEMENT_H6
|
|
14019
14084
|
}
|
|
14020
14085
|
];
|
|
14021
14086
|
const defaultItem = items.find((item) => item.value === plateParagraph.ELEMENT_PARAGRAPH);
|
|
@@ -16770,120 +16835,176 @@ var __publicField = (obj, key, value) => {
|
|
|
16770
16835
|
"že"
|
|
16771
16836
|
];
|
|
16772
16837
|
const dan = [
|
|
16773
|
-
"
|
|
16774
|
-
"
|
|
16838
|
+
"ad",
|
|
16839
|
+
"af",
|
|
16840
|
+
"aldrig",
|
|
16841
|
+
"alle",
|
|
16842
|
+
"alt",
|
|
16843
|
+
"anden",
|
|
16844
|
+
"andet",
|
|
16845
|
+
"andre",
|
|
16846
|
+
"at",
|
|
16847
|
+
"bare",
|
|
16848
|
+
"begge",
|
|
16849
|
+
"blev",
|
|
16850
|
+
"blive",
|
|
16851
|
+
"bliver",
|
|
16852
|
+
"da",
|
|
16853
|
+
"de",
|
|
16854
|
+
"dem",
|
|
16855
|
+
"den",
|
|
16856
|
+
"denne",
|
|
16857
|
+
"der",
|
|
16858
|
+
"deres",
|
|
16775
16859
|
"det",
|
|
16860
|
+
"dette",
|
|
16861
|
+
"dig",
|
|
16862
|
+
"din",
|
|
16863
|
+
"dine",
|
|
16864
|
+
"disse",
|
|
16865
|
+
"dit",
|
|
16866
|
+
"dog",
|
|
16776
16867
|
"du",
|
|
16777
|
-
"
|
|
16778
|
-
"
|
|
16779
|
-
"
|
|
16868
|
+
"efter",
|
|
16869
|
+
"ej",
|
|
16870
|
+
"eller",
|
|
16780
16871
|
"en",
|
|
16781
|
-
"
|
|
16782
|
-
"
|
|
16783
|
-
"
|
|
16784
|
-
"
|
|
16785
|
-
"
|
|
16786
|
-
"
|
|
16787
|
-
"
|
|
16788
|
-
"
|
|
16789
|
-
"
|
|
16872
|
+
"end",
|
|
16873
|
+
"ene",
|
|
16874
|
+
"eneste",
|
|
16875
|
+
"enhver",
|
|
16876
|
+
"er",
|
|
16877
|
+
"et",
|
|
16878
|
+
"far",
|
|
16879
|
+
"fem",
|
|
16880
|
+
"fik",
|
|
16881
|
+
"fire",
|
|
16882
|
+
"flere",
|
|
16883
|
+
"fleste",
|
|
16790
16884
|
"for",
|
|
16791
|
-
"
|
|
16792
|
-
"
|
|
16793
|
-
"
|
|
16794
|
-
"
|
|
16885
|
+
"fordi",
|
|
16886
|
+
"forrige",
|
|
16887
|
+
"fra",
|
|
16888
|
+
"få",
|
|
16889
|
+
"får",
|
|
16890
|
+
"før",
|
|
16891
|
+
"god",
|
|
16892
|
+
"godt",
|
|
16893
|
+
"ham",
|
|
16795
16894
|
"han",
|
|
16796
|
-
"
|
|
16797
|
-
"
|
|
16798
|
-
"
|
|
16799
|
-
"
|
|
16895
|
+
"hans",
|
|
16896
|
+
"har",
|
|
16897
|
+
"havde",
|
|
16898
|
+
"have",
|
|
16899
|
+
"hej",
|
|
16900
|
+
"helt",
|
|
16901
|
+
"hende",
|
|
16902
|
+
"hendes",
|
|
16800
16903
|
"her",
|
|
16801
|
-
"
|
|
16802
|
-
"skal",
|
|
16803
|
-
"ved",
|
|
16804
|
-
"nu",
|
|
16805
|
-
"men",
|
|
16806
|
-
"om",
|
|
16807
|
-
"ja",
|
|
16808
|
-
"som",
|
|
16809
|
-
"nej",
|
|
16810
|
-
"min",
|
|
16811
|
-
"noget",
|
|
16812
|
-
"ham",
|
|
16904
|
+
"hos",
|
|
16813
16905
|
"hun",
|
|
16814
|
-
"
|
|
16815
|
-
"
|
|
16816
|
-
"
|
|
16817
|
-
"
|
|
16818
|
-
"hvor",
|
|
16819
|
-
"dem",
|
|
16820
|
-
"ud",
|
|
16821
|
-
"os",
|
|
16906
|
+
"hvad",
|
|
16907
|
+
"hvem",
|
|
16908
|
+
"hver",
|
|
16909
|
+
"hvilken",
|
|
16822
16910
|
"hvis",
|
|
16823
|
-
"
|
|
16824
|
-
"se",
|
|
16825
|
-
"godt",
|
|
16826
|
-
"have",
|
|
16827
|
-
"fra",
|
|
16828
|
-
"ville",
|
|
16829
|
-
"okay",
|
|
16830
|
-
"lige",
|
|
16831
|
-
"op",
|
|
16832
|
-
"alle",
|
|
16833
|
-
"lad",
|
|
16834
|
-
"hvorfor",
|
|
16835
|
-
"sig",
|
|
16911
|
+
"hvor",
|
|
16836
16912
|
"hvordan",
|
|
16837
|
-
"
|
|
16838
|
-
"
|
|
16839
|
-
"
|
|
16840
|
-
"
|
|
16841
|
-
"
|
|
16842
|
-
"bliver",
|
|
16843
|
-
"havde",
|
|
16844
|
-
"da",
|
|
16913
|
+
"hvorfor",
|
|
16914
|
+
"hvornår",
|
|
16915
|
+
"i",
|
|
16916
|
+
"ikke",
|
|
16917
|
+
"ind",
|
|
16845
16918
|
"ingen",
|
|
16846
|
-
"
|
|
16847
|
-
"
|
|
16848
|
-
"
|
|
16919
|
+
"intet",
|
|
16920
|
+
"ja",
|
|
16921
|
+
"jeg",
|
|
16922
|
+
"jer",
|
|
16923
|
+
"jeres",
|
|
16849
16924
|
"jo",
|
|
16850
|
-
"
|
|
16851
|
-
"
|
|
16852
|
-
"
|
|
16853
|
-
"
|
|
16854
|
-
"
|
|
16925
|
+
"kan",
|
|
16926
|
+
"kom",
|
|
16927
|
+
"komme",
|
|
16928
|
+
"kommer",
|
|
16929
|
+
"kun",
|
|
16930
|
+
"kunne",
|
|
16931
|
+
"lad",
|
|
16932
|
+
"lav",
|
|
16855
16933
|
"lidt",
|
|
16934
|
+
"lige",
|
|
16935
|
+
"lille",
|
|
16936
|
+
"man",
|
|
16937
|
+
"mand",
|
|
16938
|
+
"mange",
|
|
16939
|
+
"med",
|
|
16940
|
+
"meget",
|
|
16941
|
+
"men",
|
|
16942
|
+
"mens",
|
|
16943
|
+
"mere",
|
|
16944
|
+
"mig",
|
|
16945
|
+
"min",
|
|
16946
|
+
"mine",
|
|
16947
|
+
"mit",
|
|
16948
|
+
"mod",
|
|
16949
|
+
"må",
|
|
16950
|
+
"ned",
|
|
16951
|
+
"nej",
|
|
16952
|
+
"ni",
|
|
16856
16953
|
"nogen",
|
|
16857
|
-
"
|
|
16954
|
+
"noget",
|
|
16955
|
+
"nogle",
|
|
16956
|
+
"nu",
|
|
16957
|
+
"ny",
|
|
16958
|
+
"nyt",
|
|
16959
|
+
"når",
|
|
16960
|
+
"nær",
|
|
16961
|
+
"næste",
|
|
16962
|
+
"næsten",
|
|
16963
|
+
"og",
|
|
16858
16964
|
"også",
|
|
16859
|
-
"
|
|
16860
|
-
"
|
|
16861
|
-
"
|
|
16965
|
+
"okay",
|
|
16966
|
+
"om",
|
|
16967
|
+
"op",
|
|
16968
|
+
"os",
|
|
16969
|
+
"otte",
|
|
16970
|
+
"over",
|
|
16971
|
+
"på",
|
|
16972
|
+
"se",
|
|
16973
|
+
"seks",
|
|
16862
16974
|
"selv",
|
|
16863
|
-
"får",
|
|
16864
|
-
"hans",
|
|
16865
16975
|
"ser",
|
|
16866
|
-
"
|
|
16867
|
-
"
|
|
16868
|
-
"sådan",
|
|
16869
|
-
"dit",
|
|
16870
|
-
"kun",
|
|
16871
|
-
"deres",
|
|
16872
|
-
"ned",
|
|
16873
|
-
"mine",
|
|
16874
|
-
"komme",
|
|
16875
|
-
"tage",
|
|
16876
|
-
"denne",
|
|
16976
|
+
"ses",
|
|
16977
|
+
"sig",
|
|
16877
16978
|
"sige",
|
|
16878
|
-
"
|
|
16879
|
-
"
|
|
16880
|
-
"
|
|
16881
|
-
"
|
|
16882
|
-
"
|
|
16979
|
+
"sin",
|
|
16980
|
+
"sine",
|
|
16981
|
+
"sit",
|
|
16982
|
+
"skal",
|
|
16983
|
+
"skulle",
|
|
16984
|
+
"som",
|
|
16985
|
+
"stor",
|
|
16986
|
+
"store",
|
|
16987
|
+
"syv",
|
|
16988
|
+
"så",
|
|
16989
|
+
"sådan",
|
|
16883
16990
|
"tag",
|
|
16884
|
-
"
|
|
16885
|
-
"
|
|
16886
|
-
"
|
|
16991
|
+
"tage",
|
|
16992
|
+
"thi",
|
|
16993
|
+
"ti",
|
|
16994
|
+
"til",
|
|
16995
|
+
"to",
|
|
16996
|
+
"tre",
|
|
16997
|
+
"ud",
|
|
16998
|
+
"under",
|
|
16999
|
+
"var",
|
|
17000
|
+
"ved",
|
|
17001
|
+
"vi",
|
|
17002
|
+
"vil",
|
|
17003
|
+
"ville",
|
|
17004
|
+
"vor",
|
|
17005
|
+
"vores",
|
|
17006
|
+
"være",
|
|
17007
|
+
"været"
|
|
16887
17008
|
];
|
|
16888
17009
|
const nld = [
|
|
16889
17010
|
"aan",
|
|
@@ -19267,7 +19388,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19267
19388
|
"alóluk",
|
|
19268
19389
|
"alólunk",
|
|
19269
19390
|
"amely",
|
|
19270
|
-
"
|
|
19391
|
+
"amelyből",
|
|
19271
19392
|
"amelyek",
|
|
19272
19393
|
"amelyekben",
|
|
19273
19394
|
"amelyeket",
|
|
@@ -26310,125 +26431,424 @@ var __publicField = (obj, key, value) => {
|
|
|
26310
26431
|
"upande"
|
|
26311
26432
|
];
|
|
26312
26433
|
const swe = [
|
|
26313
|
-
"
|
|
26434
|
+
"aderton",
|
|
26435
|
+
"adertonde",
|
|
26436
|
+
"adjö",
|
|
26437
|
+
"aldrig",
|
|
26438
|
+
"alla",
|
|
26439
|
+
"allas",
|
|
26440
|
+
"allt",
|
|
26441
|
+
"alltid",
|
|
26442
|
+
"alltså",
|
|
26443
|
+
"andra",
|
|
26444
|
+
"andras",
|
|
26445
|
+
"annan",
|
|
26446
|
+
"annat",
|
|
26447
|
+
"artonde",
|
|
26448
|
+
"artonn",
|
|
26449
|
+
"att",
|
|
26450
|
+
"av",
|
|
26451
|
+
"bakom",
|
|
26452
|
+
"bara",
|
|
26453
|
+
"behöva",
|
|
26454
|
+
"behövas",
|
|
26455
|
+
"behövde",
|
|
26456
|
+
"behövt",
|
|
26457
|
+
"beslut",
|
|
26458
|
+
"beslutat",
|
|
26459
|
+
"beslutit",
|
|
26460
|
+
"bland",
|
|
26461
|
+
"blev",
|
|
26462
|
+
"bli",
|
|
26463
|
+
"blir",
|
|
26464
|
+
"blivit",
|
|
26465
|
+
"bort",
|
|
26466
|
+
"borta",
|
|
26467
|
+
"bra",
|
|
26468
|
+
"bäst",
|
|
26469
|
+
"bättre",
|
|
26470
|
+
"båda",
|
|
26471
|
+
"bådas",
|
|
26472
|
+
"dag",
|
|
26473
|
+
"dagar",
|
|
26474
|
+
"dagarna",
|
|
26475
|
+
"dagen",
|
|
26476
|
+
"de",
|
|
26477
|
+
"del",
|
|
26478
|
+
"delen",
|
|
26479
|
+
"dem",
|
|
26480
|
+
"den",
|
|
26481
|
+
"denna",
|
|
26482
|
+
"deras",
|
|
26483
|
+
"dess",
|
|
26484
|
+
"dessa",
|
|
26314
26485
|
"det",
|
|
26315
|
-
"
|
|
26486
|
+
"detta",
|
|
26487
|
+
"dig",
|
|
26488
|
+
"din",
|
|
26489
|
+
"dina",
|
|
26490
|
+
"dit",
|
|
26491
|
+
"ditt",
|
|
26492
|
+
"dock",
|
|
26493
|
+
"dom",
|
|
26316
26494
|
"du",
|
|
26317
|
-
"
|
|
26318
|
-
"
|
|
26495
|
+
"där",
|
|
26496
|
+
"därför",
|
|
26497
|
+
"då",
|
|
26498
|
+
"e",
|
|
26499
|
+
"efter",
|
|
26500
|
+
"eftersom",
|
|
26501
|
+
"ej",
|
|
26502
|
+
"elfte",
|
|
26503
|
+
"eller",
|
|
26504
|
+
"elva",
|
|
26505
|
+
"emot",
|
|
26319
26506
|
"en",
|
|
26320
|
-
"
|
|
26321
|
-
"
|
|
26322
|
-
"
|
|
26323
|
-
"
|
|
26324
|
-
"
|
|
26507
|
+
"enkel",
|
|
26508
|
+
"enkelt",
|
|
26509
|
+
"enkla",
|
|
26510
|
+
"enligt",
|
|
26511
|
+
"ens",
|
|
26512
|
+
"er",
|
|
26513
|
+
"era",
|
|
26514
|
+
"ers",
|
|
26515
|
+
"ert",
|
|
26516
|
+
"ett",
|
|
26517
|
+
"ettusen",
|
|
26518
|
+
"fanns",
|
|
26519
|
+
"fem",
|
|
26520
|
+
"femte",
|
|
26521
|
+
"femtio",
|
|
26522
|
+
"femtionde",
|
|
26523
|
+
"femton",
|
|
26524
|
+
"femtonde",
|
|
26525
|
+
"fick",
|
|
26526
|
+
"fin",
|
|
26527
|
+
"finnas",
|
|
26528
|
+
"finns",
|
|
26529
|
+
"fjorton",
|
|
26530
|
+
"fjortonde",
|
|
26531
|
+
"fjärde",
|
|
26532
|
+
"fler",
|
|
26533
|
+
"flera",
|
|
26534
|
+
"flesta",
|
|
26535
|
+
"fram",
|
|
26536
|
+
"framför",
|
|
26537
|
+
"från",
|
|
26538
|
+
"fyra",
|
|
26539
|
+
"fyrtio",
|
|
26540
|
+
"fyrtionde",
|
|
26541
|
+
"få",
|
|
26542
|
+
"får",
|
|
26543
|
+
"fått",
|
|
26544
|
+
"följande",
|
|
26325
26545
|
"för",
|
|
26546
|
+
"före",
|
|
26547
|
+
"förlåt",
|
|
26548
|
+
"förra",
|
|
26549
|
+
"första",
|
|
26550
|
+
"genast",
|
|
26551
|
+
"genom",
|
|
26552
|
+
"gick",
|
|
26553
|
+
"gjorde",
|
|
26554
|
+
"gjort",
|
|
26555
|
+
"god",
|
|
26556
|
+
"goda",
|
|
26557
|
+
"godare",
|
|
26558
|
+
"godast",
|
|
26559
|
+
"gott",
|
|
26560
|
+
"gälla",
|
|
26561
|
+
"gäller",
|
|
26562
|
+
"gällt",
|
|
26563
|
+
"gärna",
|
|
26564
|
+
"gå",
|
|
26565
|
+
"går",
|
|
26566
|
+
"gått",
|
|
26567
|
+
"gör",
|
|
26568
|
+
"göra",
|
|
26569
|
+
"ha",
|
|
26570
|
+
"hade",
|
|
26571
|
+
"haft",
|
|
26326
26572
|
"han",
|
|
26327
|
-
"
|
|
26328
|
-
"
|
|
26329
|
-
"
|
|
26330
|
-
"
|
|
26573
|
+
"hans",
|
|
26574
|
+
"har",
|
|
26575
|
+
"heller",
|
|
26576
|
+
"hellre",
|
|
26577
|
+
"helst",
|
|
26578
|
+
"helt",
|
|
26579
|
+
"henne",
|
|
26580
|
+
"hennes",
|
|
26581
|
+
"hit",
|
|
26582
|
+
"hon",
|
|
26583
|
+
"honom",
|
|
26584
|
+
"hundra",
|
|
26585
|
+
"hundraen",
|
|
26586
|
+
"hundraett",
|
|
26587
|
+
"hur",
|
|
26331
26588
|
"här",
|
|
26332
|
-
"
|
|
26333
|
-
"
|
|
26334
|
-
"
|
|
26335
|
-
"
|
|
26336
|
-
"
|
|
26337
|
-
"
|
|
26589
|
+
"hög",
|
|
26590
|
+
"höger",
|
|
26591
|
+
"högre",
|
|
26592
|
+
"högst",
|
|
26593
|
+
"i",
|
|
26594
|
+
"ibland",
|
|
26595
|
+
"icke",
|
|
26596
|
+
"idag",
|
|
26597
|
+
"igen",
|
|
26598
|
+
"igår",
|
|
26599
|
+
"imorgon",
|
|
26600
|
+
"in",
|
|
26601
|
+
"inför",
|
|
26602
|
+
"inga",
|
|
26603
|
+
"ingen",
|
|
26604
|
+
"ingenting",
|
|
26605
|
+
"inget",
|
|
26606
|
+
"innan",
|
|
26607
|
+
"inne",
|
|
26608
|
+
"inom",
|
|
26609
|
+
"inte",
|
|
26610
|
+
"inuti",
|
|
26611
|
+
"ja",
|
|
26612
|
+
"jag",
|
|
26613
|
+
"jo",
|
|
26614
|
+
"ju",
|
|
26615
|
+
"just",
|
|
26616
|
+
"jämfört",
|
|
26338
26617
|
"kan",
|
|
26339
|
-
"
|
|
26340
|
-
"
|
|
26341
|
-
"
|
|
26342
|
-
"
|
|
26618
|
+
"kanske",
|
|
26619
|
+
"knappast",
|
|
26620
|
+
"kom",
|
|
26621
|
+
"komma",
|
|
26622
|
+
"kommer",
|
|
26623
|
+
"kommit",
|
|
26624
|
+
"kr",
|
|
26625
|
+
"kunde",
|
|
26626
|
+
"kunna",
|
|
26627
|
+
"kunnat",
|
|
26628
|
+
"kvar",
|
|
26629
|
+
"legat",
|
|
26630
|
+
"ligga",
|
|
26631
|
+
"ligger",
|
|
26632
|
+
"lika",
|
|
26633
|
+
"likställd",
|
|
26634
|
+
"likställda",
|
|
26635
|
+
"lilla",
|
|
26636
|
+
"lite",
|
|
26637
|
+
"liten",
|
|
26638
|
+
"litet",
|
|
26639
|
+
"länge",
|
|
26640
|
+
"längre",
|
|
26641
|
+
"längst",
|
|
26642
|
+
"lätt",
|
|
26643
|
+
"lättare",
|
|
26644
|
+
"lättast",
|
|
26645
|
+
"långsam",
|
|
26646
|
+
"långsammare",
|
|
26647
|
+
"långsammast",
|
|
26648
|
+
"långsamt",
|
|
26649
|
+
"långt",
|
|
26650
|
+
"låt",
|
|
26651
|
+
"man",
|
|
26652
|
+
"med",
|
|
26653
|
+
"mej",
|
|
26654
|
+
"mellan",
|
|
26343
26655
|
"men",
|
|
26344
|
-
"
|
|
26345
|
-
"
|
|
26346
|
-
"
|
|
26347
|
-
"
|
|
26348
|
-
"nej",
|
|
26349
|
-
"bara",
|
|
26350
|
-
"hon",
|
|
26351
|
-
"hur",
|
|
26656
|
+
"mer",
|
|
26657
|
+
"mera",
|
|
26658
|
+
"mest",
|
|
26659
|
+
"mig",
|
|
26352
26660
|
"min",
|
|
26353
|
-
"
|
|
26354
|
-
"
|
|
26355
|
-
"
|
|
26356
|
-
"
|
|
26357
|
-
"
|
|
26661
|
+
"mina",
|
|
26662
|
+
"mindre",
|
|
26663
|
+
"minst",
|
|
26664
|
+
"mitt",
|
|
26665
|
+
"mittemot",
|
|
26666
|
+
"mot",
|
|
26667
|
+
"mycket",
|
|
26668
|
+
"många",
|
|
26669
|
+
"måste",
|
|
26670
|
+
"möjlig",
|
|
26671
|
+
"möjligen",
|
|
26672
|
+
"möjligt",
|
|
26673
|
+
"möjligtvis",
|
|
26674
|
+
"ned",
|
|
26675
|
+
"nederst",
|
|
26676
|
+
"nedersta",
|
|
26677
|
+
"nedre",
|
|
26678
|
+
"nej",
|
|
26679
|
+
"ner",
|
|
26680
|
+
"ni",
|
|
26681
|
+
"nio",
|
|
26682
|
+
"nionde",
|
|
26683
|
+
"nittio",
|
|
26684
|
+
"nittionde",
|
|
26685
|
+
"nitton",
|
|
26686
|
+
"nittonde",
|
|
26687
|
+
"nog",
|
|
26688
|
+
"noll",
|
|
26689
|
+
"nr",
|
|
26690
|
+
"nu",
|
|
26691
|
+
"nummer",
|
|
26358
26692
|
"när",
|
|
26359
|
-
"
|
|
26360
|
-
"
|
|
26361
|
-
"
|
|
26362
|
-
"
|
|
26363
|
-
"
|
|
26364
|
-
"
|
|
26365
|
-
"
|
|
26693
|
+
"nästa",
|
|
26694
|
+
"någon",
|
|
26695
|
+
"någonting",
|
|
26696
|
+
"något",
|
|
26697
|
+
"några",
|
|
26698
|
+
"nån",
|
|
26699
|
+
"nånting",
|
|
26700
|
+
"nåt",
|
|
26701
|
+
"nödvändig",
|
|
26702
|
+
"nödvändiga",
|
|
26703
|
+
"nödvändigt",
|
|
26704
|
+
"nödvändigtvis",
|
|
26705
|
+
"och",
|
|
26706
|
+
"också",
|
|
26707
|
+
"ofta",
|
|
26708
|
+
"oftast",
|
|
26709
|
+
"olika",
|
|
26710
|
+
"olikt",
|
|
26711
|
+
"om",
|
|
26366
26712
|
"oss",
|
|
26367
|
-
"
|
|
26368
|
-
"
|
|
26369
|
-
"
|
|
26370
|
-
"
|
|
26371
|
-
"från",
|
|
26372
|
-
"upp",
|
|
26373
|
-
"igen",
|
|
26713
|
+
"på",
|
|
26714
|
+
"rakt",
|
|
26715
|
+
"redan",
|
|
26716
|
+
"rätt",
|
|
26374
26717
|
"sa",
|
|
26375
|
-
"
|
|
26376
|
-
"
|
|
26377
|
-
"
|
|
26718
|
+
"sade",
|
|
26719
|
+
"sagt",
|
|
26720
|
+
"samma",
|
|
26721
|
+
"sedan",
|
|
26722
|
+
"senare",
|
|
26723
|
+
"senast",
|
|
26724
|
+
"sent",
|
|
26725
|
+
"sex",
|
|
26726
|
+
"sextio",
|
|
26727
|
+
"sextionde",
|
|
26728
|
+
"sexton",
|
|
26729
|
+
"sextonde",
|
|
26378
26730
|
"sig",
|
|
26379
|
-
"
|
|
26380
|
-
"
|
|
26381
|
-
"
|
|
26382
|
-
"
|
|
26383
|
-
"
|
|
26384
|
-
"
|
|
26385
|
-
"
|
|
26386
|
-
"
|
|
26387
|
-
"
|
|
26388
|
-
"
|
|
26731
|
+
"sin",
|
|
26732
|
+
"sina",
|
|
26733
|
+
"sist",
|
|
26734
|
+
"sista",
|
|
26735
|
+
"siste",
|
|
26736
|
+
"sitt",
|
|
26737
|
+
"sitta",
|
|
26738
|
+
"sju",
|
|
26739
|
+
"sjunde",
|
|
26740
|
+
"sjuttio",
|
|
26741
|
+
"sjuttionde",
|
|
26742
|
+
"sjutton",
|
|
26743
|
+
"sjuttonde",
|
|
26744
|
+
"själv",
|
|
26745
|
+
"sjätte",
|
|
26746
|
+
"ska",
|
|
26747
|
+
"skall",
|
|
26748
|
+
"skulle",
|
|
26749
|
+
"slutligen",
|
|
26750
|
+
"små",
|
|
26751
|
+
"smått",
|
|
26752
|
+
"snart",
|
|
26753
|
+
"som",
|
|
26754
|
+
"stor",
|
|
26755
|
+
"stora",
|
|
26756
|
+
"stort",
|
|
26757
|
+
"större",
|
|
26758
|
+
"störst",
|
|
26759
|
+
"säga",
|
|
26760
|
+
"säger",
|
|
26761
|
+
"sämre",
|
|
26762
|
+
"sämst",
|
|
26763
|
+
"så",
|
|
26764
|
+
"sådan",
|
|
26765
|
+
"sådana",
|
|
26766
|
+
"sådant",
|
|
26767
|
+
"ta",
|
|
26768
|
+
"tack",
|
|
26389
26769
|
"tar",
|
|
26390
|
-
"
|
|
26391
|
-
"
|
|
26392
|
-
"
|
|
26393
|
-
"
|
|
26394
|
-
"
|
|
26395
|
-
"
|
|
26396
|
-
"
|
|
26397
|
-
"
|
|
26398
|
-
"
|
|
26770
|
+
"tidig",
|
|
26771
|
+
"tidigare",
|
|
26772
|
+
"tidigast",
|
|
26773
|
+
"tidigt",
|
|
26774
|
+
"till",
|
|
26775
|
+
"tills",
|
|
26776
|
+
"tillsammans",
|
|
26777
|
+
"tio",
|
|
26778
|
+
"tionde",
|
|
26779
|
+
"tjugo",
|
|
26780
|
+
"tjugoen",
|
|
26781
|
+
"tjugoett",
|
|
26782
|
+
"tjugonde",
|
|
26783
|
+
"tjugotre",
|
|
26784
|
+
"tjugotvå",
|
|
26785
|
+
"tjungo",
|
|
26786
|
+
"tolfte",
|
|
26787
|
+
"tolv",
|
|
26788
|
+
"tre",
|
|
26789
|
+
"tredje",
|
|
26790
|
+
"trettio",
|
|
26791
|
+
"trettionde",
|
|
26792
|
+
"tretton",
|
|
26793
|
+
"trettonde",
|
|
26794
|
+
"två",
|
|
26795
|
+
"tvåhundra",
|
|
26796
|
+
"under",
|
|
26797
|
+
"upp",
|
|
26798
|
+
"ur",
|
|
26799
|
+
"ursäkt",
|
|
26800
|
+
"ut",
|
|
26801
|
+
"utan",
|
|
26802
|
+
"utanför",
|
|
26803
|
+
"ute",
|
|
26399
26804
|
"va",
|
|
26400
|
-
"
|
|
26401
|
-
"
|
|
26402
|
-
"
|
|
26403
|
-
"
|
|
26404
|
-
"
|
|
26405
|
-
"
|
|
26406
|
-
"
|
|
26805
|
+
"vad",
|
|
26806
|
+
"var",
|
|
26807
|
+
"vara",
|
|
26808
|
+
"varför",
|
|
26809
|
+
"varifrån",
|
|
26810
|
+
"varit",
|
|
26811
|
+
"varje",
|
|
26812
|
+
"varken",
|
|
26813
|
+
"vars",
|
|
26814
|
+
"varsågod",
|
|
26407
26815
|
"vart",
|
|
26816
|
+
"vem",
|
|
26817
|
+
"vems",
|
|
26818
|
+
"verkligen",
|
|
26819
|
+
"vi",
|
|
26820
|
+
"vid",
|
|
26821
|
+
"vidare",
|
|
26822
|
+
"viktig",
|
|
26823
|
+
"viktigare",
|
|
26824
|
+
"viktigast",
|
|
26825
|
+
"viktigt",
|
|
26826
|
+
"vilka",
|
|
26827
|
+
"vilkas",
|
|
26408
26828
|
"vilken",
|
|
26409
|
-
"ur",
|
|
26410
|
-
"ens",
|
|
26411
|
-
"sitt",
|
|
26412
|
-
"e",
|
|
26413
|
-
"jo",
|
|
26414
|
-
"era",
|
|
26415
|
-
"deras",
|
|
26416
|
-
"fem",
|
|
26417
|
-
"sex",
|
|
26418
|
-
"denna",
|
|
26419
26829
|
"vilket",
|
|
26420
|
-
"
|
|
26830
|
+
"vill",
|
|
26831
|
+
"väl",
|
|
26832
|
+
"vänster",
|
|
26833
|
+
"vänstra",
|
|
26834
|
+
"värre",
|
|
26835
|
+
"vår",
|
|
26836
|
+
"våra",
|
|
26421
26837
|
"vårt",
|
|
26422
|
-
"
|
|
26423
|
-
"
|
|
26424
|
-
"
|
|
26425
|
-
"
|
|
26838
|
+
"än",
|
|
26839
|
+
"ännu",
|
|
26840
|
+
"är",
|
|
26841
|
+
"även",
|
|
26842
|
+
"åt",
|
|
26843
|
+
"åtminstone",
|
|
26426
26844
|
"åtta",
|
|
26427
|
-
"
|
|
26428
|
-
"
|
|
26429
|
-
"
|
|
26430
|
-
"
|
|
26431
|
-
"
|
|
26845
|
+
"åttio",
|
|
26846
|
+
"åttionde",
|
|
26847
|
+
"åttonde",
|
|
26848
|
+
"över",
|
|
26849
|
+
"övermorgon",
|
|
26850
|
+
"överst",
|
|
26851
|
+
"övre"
|
|
26432
26852
|
];
|
|
26433
26853
|
const tha = [
|
|
26434
26854
|
"กล่าว",
|
|
@@ -27749,15 +28169,11 @@ var __publicField = (obj, key, value) => {
|
|
|
27749
28169
|
"kwakukhona",
|
|
27750
28170
|
"ngelinye"
|
|
27751
28171
|
];
|
|
27752
|
-
const
|
|
27753
|
-
|
|
27754
|
-
stopwords = stopwords || defaultStopwords;
|
|
27755
|
-
if (typeof tokens !== "object" || typeof stopwords !== "object") {
|
|
28172
|
+
const removeStopwords = (tokens, stopwords = eng) => {
|
|
28173
|
+
if (!Array.isArray(tokens) || !Array.isArray(stopwords)) {
|
|
27756
28174
|
throw new Error("expected Arrays try: removeStopwords(Array[, Array])");
|
|
27757
28175
|
}
|
|
27758
|
-
return tokens.filter(
|
|
27759
|
-
return stopwords.indexOf(value.toLowerCase()) === -1;
|
|
27760
|
-
});
|
|
28176
|
+
return tokens.filter((x) => !stopwords.includes(x.toLowerCase()));
|
|
27761
28177
|
};
|
|
27762
28178
|
const sw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27763
28179
|
__proto__: null,
|
|
@@ -28468,6 +28884,16 @@ mutation addPendingDocumentMutation(
|
|
|
28468
28884
|
const val = await res.json();
|
|
28469
28885
|
return val;
|
|
28470
28886
|
}
|
|
28887
|
+
async getRequestStatus(requestId) {
|
|
28888
|
+
const res = await this.authProvider.fetchWithToken(
|
|
28889
|
+
`${this.contentApiBase}/request-status/${this.clientId}/${requestId}`,
|
|
28890
|
+
{
|
|
28891
|
+
method: "GET"
|
|
28892
|
+
}
|
|
28893
|
+
);
|
|
28894
|
+
const val = await res.json();
|
|
28895
|
+
return val;
|
|
28896
|
+
}
|
|
28471
28897
|
async createPullRequest({
|
|
28472
28898
|
baseBranch,
|
|
28473
28899
|
branch,
|
|
@@ -30073,7 +30499,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30073
30499
|
)
|
|
30074
30500
|
}
|
|
30075
30501
|
), !renderDesktopNav && /* @__PURE__ */ React.createElement(react$1.Transition, { show: menuIsOpen }, /* @__PURE__ */ React.createElement(
|
|
30076
|
-
react$1.
|
|
30502
|
+
react$1.TransitionChild,
|
|
30077
30503
|
{
|
|
30078
30504
|
as: React.Fragment,
|
|
30079
30505
|
enter: "transform transition-all ease-out duration-300",
|
|
@@ -30143,7 +30569,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30143
30569
|
))
|
|
30144
30570
|
))
|
|
30145
30571
|
), /* @__PURE__ */ React.createElement(
|
|
30146
|
-
react$1.
|
|
30572
|
+
react$1.TransitionChild,
|
|
30147
30573
|
{
|
|
30148
30574
|
as: React.Fragment,
|
|
30149
30575
|
enter: "ease-out duration-300",
|
|
@@ -30171,7 +30597,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30171
30597
|
onClick: () => {
|
|
30172
30598
|
setMenuIsOpen(true);
|
|
30173
30599
|
},
|
|
30174
|
-
className: `pointer-events-auto -ml-px absolute left-0 z-50 ${isLocalMode ?
|
|
30600
|
+
className: `pointer-events-auto -ml-px absolute left-0 z-50 ${isLocalMode ? "top-10" : "top-4"}`
|
|
30175
30601
|
},
|
|
30176
30602
|
/* @__PURE__ */ React.createElement(BiMenu, { className: "h-7 w-auto" })
|
|
30177
30603
|
));
|
|
@@ -30598,7 +31024,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30598
31024
|
folder,
|
|
30599
31025
|
collectionName
|
|
30600
31026
|
}) => {
|
|
30601
|
-
return /* @__PURE__ */ React.createElement(react$1.Menu, { as: "div", className: "relative inline-block text-left" }, () => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(react$1.
|
|
31027
|
+
return /* @__PURE__ */ React.createElement(react$1.Menu, { as: "div", className: "relative inline-block text-left" }, () => /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(react$1.MenuButton, { className: "icon-parent inline-flex items-center font-medium focus:outline-none focus:ring-2 focus:shadow-outline text-center rounded-full justify-center transition-all duration-150 ease-out shadow text-white bg-blue-500 hover:bg-blue-600 focus:ring-blue-500 text-sm h-10 px-6" }, "Create New ", /* @__PURE__ */ React.createElement(BiPlus, { className: "w-5 h-full ml-1 opacity-70" }))), /* @__PURE__ */ React.createElement(
|
|
30602
31028
|
react$1.Transition,
|
|
30603
31029
|
{
|
|
30604
31030
|
as: React.Fragment,
|
|
@@ -30609,7 +31035,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30609
31035
|
leaveFrom: "transform opacity-100 scale-100",
|
|
30610
31036
|
leaveTo: "transform opacity-0 scale-95"
|
|
30611
31037
|
},
|
|
30612
|
-
/* @__PURE__ */ React.createElement(react$1.
|
|
31038
|
+
/* @__PURE__ */ React.createElement(react$1.MenuItems, { className: "origin-top-right absolute right-0 mt-2 z-menu w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, /* @__PURE__ */ React.createElement("div", { className: "py-1" }, templates.map((template) => /* @__PURE__ */ React.createElement(react$1.MenuItem, { key: `${template.label}-${template.name}` }, ({ active }) => /* @__PURE__ */ React.createElement(
|
|
30613
31039
|
reactRouterDom.Link,
|
|
30614
31040
|
{
|
|
30615
31041
|
to: `/${folder.fullyQualifiedName ? [
|
|
@@ -30798,7 +31224,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30798
31224
|
CreateBranchModel,
|
|
30799
31225
|
{
|
|
30800
31226
|
crudType: "delete",
|
|
30801
|
-
relativePath: collectionExtra.path
|
|
31227
|
+
relativePath: `${collectionExtra.path}/${vars.relativePath}`,
|
|
30802
31228
|
values: vars,
|
|
30803
31229
|
close: () => setDeleteModalOpen(false),
|
|
30804
31230
|
safeSubmit: async () => {
|
|
@@ -30905,7 +31331,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30905
31331
|
name: ""
|
|
30906
31332
|
})
|
|
30907
31333
|
},
|
|
30908
|
-
...fields.
|
|
31334
|
+
...fields.flatMap((x) => [
|
|
30909
31335
|
{
|
|
30910
31336
|
label: (x.label || x.name) + (x.type === "datetime" ? " (Oldest First)" : " (Ascending)"),
|
|
30911
31337
|
value: JSON.stringify({
|
|
@@ -30920,7 +31346,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
30920
31346
|
order: "desc"
|
|
30921
31347
|
})
|
|
30922
31348
|
}
|
|
30923
|
-
])
|
|
31349
|
+
])
|
|
30924
31350
|
],
|
|
30925
31351
|
input: {
|
|
30926
31352
|
id: "sort",
|