tinacms 0.0.0-d80714b-20241205222511 → 0.0.0-db8aa8e-20250228034006
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/api.d.ts +1 -0
- package/dist/client.js +72 -45
- package/dist/client.mjs +49 -35
- package/dist/index.js +1551 -469
- package/dist/index.mjs +1569 -487
- package/dist/{node-cache-4c336858.mjs → node-cache-5e8db9f0.mjs} +23 -10
- package/dist/react.d.ts +1 -0
- package/dist/react.js +10 -1
- package/dist/react.mjs +10 -1
- package/dist/toolkit/fields/components/reference/reference-select.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/index.d.ts +4 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/indent-list-toolbar-button.d.ts +17 -5
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/components/plate-ui/mark-toolbar-button.d.ts +4 -18
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/index.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/components.d.ts +6 -11
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/toolbar/toolbar-overrides.d.ts +5 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/toolbar/toolbar-provider.d.ts +2 -2
- package/dist/unifiedClient/index.d.ts +8 -1
- package/package.json +38 -36
package/dist/index.js
CHANGED
|
@@ -2943,7 +2943,7 @@ flowchart TD
|
|
|
2943
2943
|
),
|
|
2944
2944
|
[plate.MARK_CODE]: CodeLeaf,
|
|
2945
2945
|
[plate.MARK_UNDERLINE]: cn$1.withProps(plateCommon.PlateLeaf, { as: "u" }),
|
|
2946
|
-
[plate.MARK_STRIKETHROUGH]:
|
|
2946
|
+
[plate.MARK_STRIKETHROUGH]: ({ editor, leaf, text, ...props }) => /* @__PURE__ */ React.createElement("s", { ...props.attributes, ...props }),
|
|
2947
2947
|
[plate.MARK_ITALIC]: cn$1.withProps(plateCommon.PlateLeaf, { as: "em" }),
|
|
2948
2948
|
[plate.MARK_BOLD]: ({ editor, leaf, text, ...props }) => /* @__PURE__ */ React.createElement("strong", { ...props.attributes, ...props }),
|
|
2949
2949
|
[plate.ELEMENT_HR]: ({
|
|
@@ -3830,7 +3830,7 @@ flowchart TD
|
|
|
3830
3830
|
function _objectWithoutProperties(source, excluded) {
|
|
3831
3831
|
if (source == null)
|
|
3832
3832
|
return {};
|
|
3833
|
-
var target = _objectWithoutPropertiesLoose
|
|
3833
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
3834
3834
|
var key, i;
|
|
3835
3835
|
if (Object.getOwnPropertySymbols) {
|
|
3836
3836
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -3845,7 +3845,7 @@ flowchart TD
|
|
|
3845
3845
|
}
|
|
3846
3846
|
return target;
|
|
3847
3847
|
}
|
|
3848
|
-
function _objectWithoutPropertiesLoose
|
|
3848
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
3849
3849
|
if (source == null)
|
|
3850
3850
|
return {};
|
|
3851
3851
|
var target = {};
|
|
@@ -4935,7 +4935,28 @@ flowchart TD
|
|
|
4935
4935
|
onChange,
|
|
4936
4936
|
value,
|
|
4937
4937
|
step
|
|
4938
|
-
}) => /* @__PURE__ */ React__namespace.createElement(
|
|
4938
|
+
}) => /* @__PURE__ */ React__namespace.createElement(
|
|
4939
|
+
Input,
|
|
4940
|
+
{
|
|
4941
|
+
type: "number",
|
|
4942
|
+
step,
|
|
4943
|
+
value,
|
|
4944
|
+
onChange: (event) => {
|
|
4945
|
+
const inputValue = event.target.value;
|
|
4946
|
+
const newValue = inputValue === "" ? void 0 : inputValue;
|
|
4947
|
+
if (onChange) {
|
|
4948
|
+
const syntheticEvent = {
|
|
4949
|
+
...event,
|
|
4950
|
+
target: {
|
|
4951
|
+
...event.target,
|
|
4952
|
+
value: newValue
|
|
4953
|
+
}
|
|
4954
|
+
};
|
|
4955
|
+
onChange(syntheticEvent);
|
|
4956
|
+
}
|
|
4957
|
+
}
|
|
4958
|
+
}
|
|
4959
|
+
);
|
|
4939
4960
|
function useCMS() {
|
|
4940
4961
|
return useCMS$1();
|
|
4941
4962
|
}
|
|
@@ -5176,7 +5197,7 @@ flowchart TD
|
|
|
5176
5197
|
side: "bottom",
|
|
5177
5198
|
className: cn(
|
|
5178
5199
|
"rounded-md border bg-white p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
5179
|
-
"max-h-[30vh] max-w-[
|
|
5200
|
+
"max-h-[30vh] max-w-[30vw] overflow-y-auto",
|
|
5180
5201
|
className
|
|
5181
5202
|
),
|
|
5182
5203
|
...props
|
|
@@ -5268,11 +5289,7 @@ flowchart TD
|
|
|
5268
5289
|
const node = nodes.find((node2) => node2.id === value);
|
|
5269
5290
|
return node ? node._internalSys.filename : null;
|
|
5270
5291
|
};
|
|
5271
|
-
const
|
|
5272
|
-
cms,
|
|
5273
|
-
input,
|
|
5274
|
-
field
|
|
5275
|
-
}) => {
|
|
5292
|
+
const Combobox = ({ cms, input, field }) => {
|
|
5276
5293
|
const [open2, setOpen] = React__namespace.useState(false);
|
|
5277
5294
|
const [value, setValue] = React__namespace.useState(input.value);
|
|
5278
5295
|
const [displayText, setDisplayText] = React__namespace.useState(null);
|
|
@@ -5296,17 +5313,17 @@ flowchart TD
|
|
|
5296
5313
|
if (loading === true) {
|
|
5297
5314
|
return /* @__PURE__ */ React__namespace.createElement(LoadingDots, { color: "var(--tina-color-primary)" });
|
|
5298
5315
|
}
|
|
5299
|
-
return /* @__PURE__ */ React__namespace.createElement(
|
|
5316
|
+
return /* @__PURE__ */ React__namespace.createElement(Popover, { open: open2, onOpenChange: setOpen }, /* @__PURE__ */ React__namespace.createElement(PopoverTrigger, { asChild: true }, /* @__PURE__ */ React__namespace.createElement(
|
|
5300
5317
|
Button,
|
|
5301
5318
|
{
|
|
5302
5319
|
variant: "outline",
|
|
5303
5320
|
role: "combobox",
|
|
5304
5321
|
"aria-expanded": open2,
|
|
5305
|
-
className: "w-
|
|
5322
|
+
className: "w-full justify-between"
|
|
5306
5323
|
},
|
|
5307
5324
|
/* @__PURE__ */ React__namespace.createElement("p", { className: "truncate" }, displayText ?? "Choose an option..."),
|
|
5308
5325
|
open2 ? /* @__PURE__ */ React__namespace.createElement(IoMdArrowDropup, { size: 20 }) : /* @__PURE__ */ React__namespace.createElement(IoMdArrowDropdown, { size: 20 })
|
|
5309
|
-
)), /* @__PURE__ */ React__namespace.createElement(PopoverContent, { className: "p-0 relative" }, /* @__PURE__ */ React__namespace.createElement(
|
|
5326
|
+
)), /* @__PURE__ */ React__namespace.createElement(PopoverContent, { className: "p-0 relative min-w-[var(--radix-popover-trigger-width)]" }, /* @__PURE__ */ React__namespace.createElement(
|
|
5310
5327
|
Command,
|
|
5311
5328
|
{
|
|
5312
5329
|
shouldFilter: !field.experimental___filter,
|
|
@@ -5330,32 +5347,25 @@ flowchart TD
|
|
|
5330
5347
|
}
|
|
5331
5348
|
),
|
|
5332
5349
|
/* @__PURE__ */ React__namespace.createElement(CommandEmpty, null, "No reference found"),
|
|
5333
|
-
/* @__PURE__ */ React__namespace.createElement(CommandList, null, filteredOptionsList.length > 0 && (filteredOptionsList == null ? void 0 : filteredOptionsList.map(({ collection, edges }) => /* @__PURE__ */ React__namespace.createElement(
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
field,
|
|
5348
|
-
_values,
|
|
5349
|
-
node,
|
|
5350
|
-
onSelect: (currentValue) => {
|
|
5351
|
-
setValue(currentValue);
|
|
5352
|
-
setOpen(false);
|
|
5353
|
-
}
|
|
5350
|
+
/* @__PURE__ */ React__namespace.createElement(CommandList, null, filteredOptionsList.length > 0 && (filteredOptionsList == null ? void 0 : filteredOptionsList.map(({ collection, edges }) => /* @__PURE__ */ React__namespace.createElement(CommandGroup, { key: `${collection}-group`, heading: collection }, /* @__PURE__ */ React__namespace.createElement(CommandList, null, edges == null ? void 0 : edges.map(({ node }) => {
|
|
5351
|
+
const { id, _values } = node;
|
|
5352
|
+
return /* @__PURE__ */ React__namespace.createElement(
|
|
5353
|
+
OptionComponent,
|
|
5354
|
+
{
|
|
5355
|
+
id,
|
|
5356
|
+
key: id,
|
|
5357
|
+
value,
|
|
5358
|
+
field,
|
|
5359
|
+
_values,
|
|
5360
|
+
node,
|
|
5361
|
+
onSelect: (currentValue) => {
|
|
5362
|
+
setValue(currentValue);
|
|
5363
|
+
setOpen(false);
|
|
5354
5364
|
}
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
))))
|
|
5358
|
-
)))
|
|
5365
|
+
}
|
|
5366
|
+
);
|
|
5367
|
+
}))))))
|
|
5368
|
+
)));
|
|
5359
5369
|
};
|
|
5360
5370
|
const useGetNode = (cms, id) => {
|
|
5361
5371
|
const [document2, setDocument] = React__namespace.useState(
|
|
@@ -5428,7 +5438,7 @@ flowchart TD
|
|
|
5428
5438
|
};
|
|
5429
5439
|
const Reference = ({ input, field }) => {
|
|
5430
5440
|
const cms = useCMS();
|
|
5431
|
-
return /* @__PURE__ */ React__namespace.createElement(
|
|
5441
|
+
return /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, /* @__PURE__ */ React__namespace.createElement("div", { className: "relative group" }, /* @__PURE__ */ React__namespace.createElement(Combobox, { cms, input, field })), /* @__PURE__ */ React__namespace.createElement(ReferenceLink, { cms, input }));
|
|
5432
5442
|
};
|
|
5433
5443
|
const ButtonToggle = ({
|
|
5434
5444
|
input,
|
|
@@ -7188,244 +7198,65 @@ flowchart TD
|
|
|
7188
7198
|
str = "0" + str;
|
|
7189
7199
|
return str;
|
|
7190
7200
|
}
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
}
|
|
7203
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
7204
|
-
if (source == null)
|
|
7205
|
-
return {};
|
|
7206
|
-
var target = {};
|
|
7207
|
-
var sourceKeys = Object.keys(source);
|
|
7208
|
-
var key, i;
|
|
7209
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
7210
|
-
key = sourceKeys[i];
|
|
7211
|
-
if (excluded.indexOf(key) >= 0)
|
|
7212
|
-
continue;
|
|
7213
|
-
target[key] = source[key];
|
|
7214
|
-
}
|
|
7215
|
-
return target;
|
|
7216
|
-
}
|
|
7217
|
-
function _assertThisInitialized(self2) {
|
|
7218
|
-
if (self2 === void 0) {
|
|
7219
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7220
|
-
}
|
|
7221
|
-
return self2;
|
|
7222
|
-
}
|
|
7223
|
-
function isNodeFound(current, componentNode, ignoreClass) {
|
|
7224
|
-
if (current === componentNode) {
|
|
7225
|
-
return true;
|
|
7226
|
-
}
|
|
7227
|
-
if (current.correspondingElement) {
|
|
7228
|
-
return current.correspondingElement.classList.contains(ignoreClass);
|
|
7229
|
-
}
|
|
7230
|
-
return current.classList.contains(ignoreClass);
|
|
7231
|
-
}
|
|
7232
|
-
function findHighest(current, componentNode, ignoreClass) {
|
|
7233
|
-
if (current === componentNode) {
|
|
7234
|
-
return true;
|
|
7201
|
+
var useClickAway$1 = {};
|
|
7202
|
+
var util = {};
|
|
7203
|
+
Object.defineProperty(util, "__esModule", { value: true });
|
|
7204
|
+
util.isNavigator = util.isBrowser = util.off = util.on = util.noop = void 0;
|
|
7205
|
+
var noop = function() {
|
|
7206
|
+
};
|
|
7207
|
+
util.noop = noop;
|
|
7208
|
+
function on(obj) {
|
|
7209
|
+
var args = [];
|
|
7210
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7211
|
+
args[_i - 1] = arguments[_i];
|
|
7235
7212
|
}
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
return true;
|
|
7239
|
-
}
|
|
7240
|
-
current = current.parentNode || current.host;
|
|
7213
|
+
if (obj && obj.addEventListener) {
|
|
7214
|
+
obj.addEventListener.apply(obj, args);
|
|
7241
7215
|
}
|
|
7242
|
-
return current;
|
|
7243
|
-
}
|
|
7244
|
-
function clickedScrollbar(evt) {
|
|
7245
|
-
return document.documentElement.clientWidth <= evt.clientX || document.documentElement.clientHeight <= evt.clientY;
|
|
7246
7216
|
}
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7217
|
+
util.on = on;
|
|
7218
|
+
function off(obj) {
|
|
7219
|
+
var args = [];
|
|
7220
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7221
|
+
args[_i - 1] = arguments[_i];
|
|
7250
7222
|
}
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
get: function get2() {
|
|
7254
|
-
passive = true;
|
|
7255
|
-
}
|
|
7256
|
-
});
|
|
7257
|
-
var noop = function noop2() {
|
|
7258
|
-
};
|
|
7259
|
-
window.addEventListener("testPassiveEventSupport", noop, options);
|
|
7260
|
-
window.removeEventListener("testPassiveEventSupport", noop, options);
|
|
7261
|
-
return passive;
|
|
7262
|
-
};
|
|
7263
|
-
function autoInc(seed) {
|
|
7264
|
-
if (seed === void 0) {
|
|
7265
|
-
seed = 0;
|
|
7223
|
+
if (obj && obj.removeEventListener) {
|
|
7224
|
+
obj.removeEventListener.apply(obj, args);
|
|
7266
7225
|
}
|
|
7267
|
-
return function() {
|
|
7268
|
-
return ++seed;
|
|
7269
|
-
};
|
|
7270
|
-
}
|
|
7271
|
-
var uid = autoInc();
|
|
7272
|
-
var passiveEventSupport;
|
|
7273
|
-
var handlersMap = {};
|
|
7274
|
-
var enabledInstances = {};
|
|
7275
|
-
var touchEvents = ["touchstart", "touchmove"];
|
|
7276
|
-
var IGNORE_CLASS_NAME = "ignore-react-onclickoutside";
|
|
7277
|
-
function getEventHandlerOptions(instance, eventName) {
|
|
7278
|
-
var handlerOptions = {};
|
|
7279
|
-
var isTouchEvent = touchEvents.indexOf(eventName) !== -1;
|
|
7280
|
-
if (isTouchEvent && passiveEventSupport) {
|
|
7281
|
-
handlerOptions.passive = !instance.props.preventDefault;
|
|
7282
|
-
}
|
|
7283
|
-
return handlerOptions;
|
|
7284
7226
|
}
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
instance.handleClickOutside(event);
|
|
7305
|
-
return;
|
|
7306
|
-
}
|
|
7307
|
-
throw new Error("WrappedComponent: " + componentName + " lacks a handleClickOutside(event) function for processing outside click events.");
|
|
7308
|
-
};
|
|
7309
|
-
_this.__getComponentNode = function() {
|
|
7310
|
-
var instance = _this.getInstance();
|
|
7311
|
-
if (config && typeof config.setClickOutsideRef === "function") {
|
|
7312
|
-
return config.setClickOutsideRef()(instance);
|
|
7313
|
-
}
|
|
7314
|
-
if (typeof instance.setClickOutsideRef === "function") {
|
|
7315
|
-
return instance.setClickOutsideRef();
|
|
7316
|
-
}
|
|
7317
|
-
return reactDom.findDOMNode(instance);
|
|
7318
|
-
};
|
|
7319
|
-
_this.enableOnClickOutside = function() {
|
|
7320
|
-
if (typeof document === "undefined" || enabledInstances[_this._uid]) {
|
|
7321
|
-
return;
|
|
7322
|
-
}
|
|
7323
|
-
if (typeof passiveEventSupport === "undefined") {
|
|
7324
|
-
passiveEventSupport = testPassiveEventSupport();
|
|
7325
|
-
}
|
|
7326
|
-
enabledInstances[_this._uid] = true;
|
|
7327
|
-
var events = _this.props.eventTypes;
|
|
7328
|
-
if (!events.forEach) {
|
|
7329
|
-
events = [events];
|
|
7330
|
-
}
|
|
7331
|
-
handlersMap[_this._uid] = function(event) {
|
|
7332
|
-
if (_this.componentNode === null)
|
|
7333
|
-
return;
|
|
7334
|
-
if (_this.initTimeStamp > event.timeStamp)
|
|
7335
|
-
return;
|
|
7336
|
-
if (_this.props.preventDefault) {
|
|
7337
|
-
event.preventDefault();
|
|
7338
|
-
}
|
|
7339
|
-
if (_this.props.stopPropagation) {
|
|
7340
|
-
event.stopPropagation();
|
|
7341
|
-
}
|
|
7342
|
-
if (_this.props.excludeScrollbar && clickedScrollbar(event))
|
|
7343
|
-
return;
|
|
7344
|
-
var current = event.composed && event.composedPath && event.composedPath().shift() || event.target;
|
|
7345
|
-
if (findHighest(current, _this.componentNode, _this.props.outsideClickIgnoreClass) !== document) {
|
|
7346
|
-
return;
|
|
7347
|
-
}
|
|
7348
|
-
_this.__outsideClickHandler(event);
|
|
7349
|
-
};
|
|
7350
|
-
events.forEach(function(eventName) {
|
|
7351
|
-
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized(_this), eventName));
|
|
7352
|
-
});
|
|
7353
|
-
};
|
|
7354
|
-
_this.disableOnClickOutside = function() {
|
|
7355
|
-
delete enabledInstances[_this._uid];
|
|
7356
|
-
var fn = handlersMap[_this._uid];
|
|
7357
|
-
if (fn && typeof document !== "undefined") {
|
|
7358
|
-
var events = _this.props.eventTypes;
|
|
7359
|
-
if (!events.forEach) {
|
|
7360
|
-
events = [events];
|
|
7361
|
-
}
|
|
7362
|
-
events.forEach(function(eventName) {
|
|
7363
|
-
return document.removeEventListener(eventName, fn, getEventHandlerOptions(_assertThisInitialized(_this), eventName));
|
|
7364
|
-
});
|
|
7365
|
-
delete handlersMap[_this._uid];
|
|
7366
|
-
}
|
|
7367
|
-
};
|
|
7368
|
-
_this.getRef = function(ref) {
|
|
7369
|
-
return _this.instanceRef = ref;
|
|
7370
|
-
};
|
|
7371
|
-
_this._uid = uid();
|
|
7372
|
-
_this.initTimeStamp = performance.now();
|
|
7373
|
-
return _this;
|
|
7374
|
-
}
|
|
7375
|
-
var _proto = onClickOutside.prototype;
|
|
7376
|
-
_proto.getInstance = function getInstance() {
|
|
7377
|
-
if (WrappedComponent.prototype && !WrappedComponent.prototype.isReactComponent) {
|
|
7378
|
-
return this;
|
|
7379
|
-
}
|
|
7380
|
-
var ref = this.instanceRef;
|
|
7381
|
-
return ref.getInstance ? ref.getInstance() : ref;
|
|
7382
|
-
};
|
|
7383
|
-
_proto.componentDidMount = function componentDidMount() {
|
|
7384
|
-
if (typeof document === "undefined" || !document.createElement) {
|
|
7385
|
-
return;
|
|
7386
|
-
}
|
|
7387
|
-
var instance = this.getInstance();
|
|
7388
|
-
if (config && typeof config.handleClickOutside === "function") {
|
|
7389
|
-
this.__clickOutsideHandlerProp = config.handleClickOutside(instance);
|
|
7390
|
-
if (typeof this.__clickOutsideHandlerProp !== "function") {
|
|
7391
|
-
throw new Error("WrappedComponent: " + componentName + " lacks a function for processing outside click events specified by the handleClickOutside config option.");
|
|
7392
|
-
}
|
|
7393
|
-
}
|
|
7394
|
-
this.componentNode = this.__getComponentNode();
|
|
7395
|
-
if (this.props.disableOnClickOutside)
|
|
7396
|
-
return;
|
|
7397
|
-
this.enableOnClickOutside();
|
|
7398
|
-
};
|
|
7399
|
-
_proto.componentDidUpdate = function componentDidUpdate() {
|
|
7400
|
-
this.componentNode = this.__getComponentNode();
|
|
7227
|
+
util.off = off;
|
|
7228
|
+
util.isBrowser = typeof window !== "undefined";
|
|
7229
|
+
util.isNavigator = typeof navigator !== "undefined";
|
|
7230
|
+
Object.defineProperty(useClickAway$1, "__esModule", { value: true });
|
|
7231
|
+
var react_1 = React;
|
|
7232
|
+
var util_1 = util;
|
|
7233
|
+
var defaultEvents = ["mousedown", "touchstart"];
|
|
7234
|
+
var useClickAway = function(ref, onClickAway, events) {
|
|
7235
|
+
if (events === void 0) {
|
|
7236
|
+
events = defaultEvents;
|
|
7237
|
+
}
|
|
7238
|
+
var savedCallback = react_1.useRef(onClickAway);
|
|
7239
|
+
react_1.useEffect(function() {
|
|
7240
|
+
savedCallback.current = onClickAway;
|
|
7241
|
+
}, [onClickAway]);
|
|
7242
|
+
react_1.useEffect(function() {
|
|
7243
|
+
var handler = function(event) {
|
|
7244
|
+
var el = ref.current;
|
|
7245
|
+
el && !el.contains(event.target) && savedCallback.current(event);
|
|
7401
7246
|
};
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
props.ref = this.getRef;
|
|
7411
|
-
} else {
|
|
7412
|
-
props.wrappedRef = this.getRef;
|
|
7247
|
+
for (var _i = 0, events_1 = events; _i < events_1.length; _i++) {
|
|
7248
|
+
var eventName = events_1[_i];
|
|
7249
|
+
util_1.on(document, eventName, handler);
|
|
7250
|
+
}
|
|
7251
|
+
return function() {
|
|
7252
|
+
for (var _i2 = 0, events_2 = events; _i2 < events_2.length; _i2++) {
|
|
7253
|
+
var eventName2 = events_2[_i2];
|
|
7254
|
+
util_1.off(document, eventName2, handler);
|
|
7413
7255
|
}
|
|
7414
|
-
props.disableOnClickOutside = this.disableOnClickOutside;
|
|
7415
|
-
props.enableOnClickOutside = this.enableOnClickOutside;
|
|
7416
|
-
return React.createElement(WrappedComponent, props);
|
|
7417
7256
|
};
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
excludeScrollbar: config && config.excludeScrollbar || false,
|
|
7422
|
-
outsideClickIgnoreClass: IGNORE_CLASS_NAME,
|
|
7423
|
-
preventDefault: false,
|
|
7424
|
-
stopPropagation: false
|
|
7425
|
-
}, _class.getClass = function() {
|
|
7426
|
-
return WrappedComponent.getClass ? WrappedComponent.getClass() : WrappedComponent;
|
|
7427
|
-
}, _temp;
|
|
7428
|
-
}
|
|
7257
|
+
}, [events, ref]);
|
|
7258
|
+
};
|
|
7259
|
+
var _default = useClickAway$1.default = useClickAway;
|
|
7429
7260
|
const viewModes = {
|
|
7430
7261
|
YEARS: "years",
|
|
7431
7262
|
MONTHS: "months",
|
|
@@ -7954,22 +7785,13 @@ flowchart TD
|
|
|
7954
7785
|
}
|
|
7955
7786
|
con[method]("***react-datetime:" + message);
|
|
7956
7787
|
}
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
}
|
|
7962
|
-
|
|
7963
|
-
return /* @__PURE__ */ React.createElement("div", { className: this.props.className, ref: this.container }, this.props.children);
|
|
7964
|
-
}
|
|
7965
|
-
handleClickOutside(e) {
|
|
7966
|
-
this.props.onClickOut(e);
|
|
7967
|
-
}
|
|
7968
|
-
setClickOutsideRef() {
|
|
7969
|
-
return this.container.current;
|
|
7970
|
-
}
|
|
7788
|
+
function ClickableWrapper({ className, onClickOut, children }) {
|
|
7789
|
+
const containerRef = React.useRef(null);
|
|
7790
|
+
_default(containerRef, (event) => {
|
|
7791
|
+
onClickOut(event);
|
|
7792
|
+
});
|
|
7793
|
+
return /* @__PURE__ */ React.createElement("div", { className, ref: containerRef }, children);
|
|
7971
7794
|
}
|
|
7972
|
-
const ClickableWrapper = onClickOutsideHOC(ClickOutBase);
|
|
7973
7795
|
const DEFAULT_DATE_DISPLAY_FORMAT = "MMM DD, YYYY";
|
|
7974
7796
|
const DEFAULT_TIME_DISPLAY_FORMAT = "h:mm A";
|
|
7975
7797
|
const format$1 = (val, _name, field) => {
|
|
@@ -8012,7 +7834,10 @@ flowchart TD
|
|
|
8012
7834
|
ReactDateTimeWithStyles,
|
|
8013
7835
|
{
|
|
8014
7836
|
value: input.value,
|
|
8015
|
-
onChange:
|
|
7837
|
+
onChange: (value) => {
|
|
7838
|
+
const newValue = value === "" ? void 0 : value;
|
|
7839
|
+
input.onChange(newValue);
|
|
7840
|
+
},
|
|
8016
7841
|
dateFormat: dateFormat || DEFAULT_DATE_DISPLAY_FORMAT,
|
|
8017
7842
|
timeFormat: timeFormat || false,
|
|
8018
7843
|
inputProps: { className: textFieldClasses },
|
|
@@ -9464,6 +9289,17 @@ flowchart TD
|
|
|
9464
9289
|
}
|
|
9465
9290
|
}
|
|
9466
9291
|
}
|
|
9292
|
+
const encodeUrlIfNeeded = (url) => {
|
|
9293
|
+
if (url) {
|
|
9294
|
+
try {
|
|
9295
|
+
return new URL(url).toString();
|
|
9296
|
+
} catch (e) {
|
|
9297
|
+
return url;
|
|
9298
|
+
}
|
|
9299
|
+
} else {
|
|
9300
|
+
return url;
|
|
9301
|
+
}
|
|
9302
|
+
};
|
|
9467
9303
|
let MediaManager$1 = class MediaManager {
|
|
9468
9304
|
constructor(store, events) {
|
|
9469
9305
|
this.store = store;
|
|
@@ -9536,6 +9372,20 @@ flowchart TD
|
|
|
9536
9372
|
try {
|
|
9537
9373
|
this.events.dispatch({ type: "media:list:start", ...options });
|
|
9538
9374
|
const media = await this.store.list(options);
|
|
9375
|
+
media.items = media.items.map((item) => {
|
|
9376
|
+
if (item.type === "dir") {
|
|
9377
|
+
return item;
|
|
9378
|
+
}
|
|
9379
|
+
if (item.thumbnails) {
|
|
9380
|
+
for (const [size, src] of Object.entries(item.thumbnails)) {
|
|
9381
|
+
item.thumbnails[size] = encodeUrlIfNeeded(src);
|
|
9382
|
+
}
|
|
9383
|
+
}
|
|
9384
|
+
return {
|
|
9385
|
+
...item,
|
|
9386
|
+
src: encodeUrlIfNeeded(item.src)
|
|
9387
|
+
};
|
|
9388
|
+
});
|
|
9539
9389
|
this.events.dispatch({ type: "media:list:success", ...options, media });
|
|
9540
9390
|
return media;
|
|
9541
9391
|
} catch (error) {
|
|
@@ -10343,7 +10193,7 @@ flowchart TD
|
|
|
10343
10193
|
"Event Log"
|
|
10344
10194
|
));
|
|
10345
10195
|
};
|
|
10346
|
-
const version = "2.
|
|
10196
|
+
const version = "2.7.1";
|
|
10347
10197
|
const Nav = ({
|
|
10348
10198
|
isLocalMode,
|
|
10349
10199
|
className = "",
|
|
@@ -10979,7 +10829,7 @@ flowchart TD
|
|
|
10979
10829
|
className: "h-5 w-auto -mx-1 text-blue-500",
|
|
10980
10830
|
stroke: "currentColor",
|
|
10981
10831
|
fill: "currentColor",
|
|
10982
|
-
|
|
10832
|
+
strokeWidth: "0",
|
|
10983
10833
|
viewBox: "0 0 24 24",
|
|
10984
10834
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10985
10835
|
},
|
|
@@ -13696,6 +13546,11 @@ flowchart TD
|
|
|
13696
13546
|
mode: "mark",
|
|
13697
13547
|
type: plate.MARK_CODE,
|
|
13698
13548
|
match: "`"
|
|
13549
|
+
},
|
|
13550
|
+
{
|
|
13551
|
+
mode: "mark",
|
|
13552
|
+
type: plate.MARK_STRIKETHROUGH,
|
|
13553
|
+
match: ["~~", "~"]
|
|
13699
13554
|
}
|
|
13700
13555
|
];
|
|
13701
13556
|
const autoformatRules = [
|
|
@@ -13837,16 +13692,14 @@ flowchart TD
|
|
|
13837
13692
|
})
|
|
13838
13693
|
];
|
|
13839
13694
|
const plugins = [
|
|
13695
|
+
plate.createBasicMarksPlugin(),
|
|
13840
13696
|
plate.createHeadingPlugin(),
|
|
13841
13697
|
plate.createParagraphPlugin(),
|
|
13842
13698
|
createCodeBlockPlugin(),
|
|
13843
13699
|
createHTMLBlockPlugin(),
|
|
13844
13700
|
createHTMLInlinePlugin(),
|
|
13845
13701
|
plate.createBlockquotePlugin(),
|
|
13846
|
-
plate.createBoldPlugin(),
|
|
13847
|
-
plate.createItalicPlugin(),
|
|
13848
13702
|
plate.createUnderlinePlugin(),
|
|
13849
|
-
plate.createCodePlugin(),
|
|
13850
13703
|
plate.createListPlugin(),
|
|
13851
13704
|
plate.createIndentListPlugin(),
|
|
13852
13705
|
plate.createHorizontalRulePlugin(),
|
|
@@ -14356,7 +14209,7 @@ flowchart TD
|
|
|
14356
14209
|
const CodeBlockToolbarButton = cn$1.withRef(({ clear, ...rest }, ref) => {
|
|
14357
14210
|
const state = useCodeBlockToolbarButtonState();
|
|
14358
14211
|
const { props } = useCodeBlockToolbarButton(state);
|
|
14359
|
-
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "
|
|
14212
|
+
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "Code Block", ...rest, ...props }, /* @__PURE__ */ React.createElement(Icons.codeBlock, null));
|
|
14360
14213
|
});
|
|
14361
14214
|
const useImageToolbarButtonState = () => {
|
|
14362
14215
|
const editor = plateCommon.useEditorState();
|
|
@@ -14388,36 +14241,54 @@ flowchart TD
|
|
|
14388
14241
|
const ImageToolbarButton = cn$1.withRef(({ clear, ...rest }, ref) => {
|
|
14389
14242
|
const state = useImageToolbarButtonState();
|
|
14390
14243
|
const { props } = useImageToolbarButton(state);
|
|
14391
|
-
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "
|
|
14392
|
-
});
|
|
14393
|
-
const IndentListToolbarButton = cn$1.withRef(({ nodeType = plate.ELEMENT_UL }, ref) => {
|
|
14394
|
-
const editor = plateCommon.useEditorState();
|
|
14395
|
-
const state = plate.useListToolbarButtonState({ nodeType });
|
|
14396
|
-
const { props } = plate.useListToolbarButton(state);
|
|
14397
|
-
return /* @__PURE__ */ React.createElement(
|
|
14398
|
-
ToolbarButton,
|
|
14399
|
-
{
|
|
14400
|
-
ref,
|
|
14401
|
-
tooltip: nodeType === plate.ELEMENT_UL ? "Bulleted List" : "Numbered List",
|
|
14402
|
-
...props,
|
|
14403
|
-
onClick: (e) => {
|
|
14404
|
-
e.preventDefault();
|
|
14405
|
-
e.stopPropagation();
|
|
14406
|
-
plate.toggleList(editor, { type: nodeType });
|
|
14407
|
-
}
|
|
14408
|
-
},
|
|
14409
|
-
nodeType === plate.ELEMENT_UL ? /* @__PURE__ */ React.createElement(Icons.ul, null) : /* @__PURE__ */ React.createElement(Icons.ol, null)
|
|
14410
|
-
);
|
|
14244
|
+
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "Image", ...rest, ...props }, /* @__PURE__ */ React.createElement(Icons.image, null));
|
|
14411
14245
|
});
|
|
14246
|
+
const UnorderedListToolbarButton = cn$1.withRef(
|
|
14247
|
+
(props, ref) => {
|
|
14248
|
+
const editor = plateCommon.useEditorState();
|
|
14249
|
+
const state = plate.useListToolbarButtonState({ nodeType: plate.ELEMENT_UL });
|
|
14250
|
+
const { props: buttonProps } = plate.useListToolbarButton(state);
|
|
14251
|
+
return /* @__PURE__ */ React.createElement(
|
|
14252
|
+
ToolbarButton,
|
|
14253
|
+
{
|
|
14254
|
+
ref,
|
|
14255
|
+
tooltip: "Bulleted List",
|
|
14256
|
+
...buttonProps,
|
|
14257
|
+
onClick: (e) => {
|
|
14258
|
+
e.preventDefault();
|
|
14259
|
+
e.stopPropagation();
|
|
14260
|
+
plate.toggleList(editor, { type: plate.ELEMENT_UL });
|
|
14261
|
+
}
|
|
14262
|
+
},
|
|
14263
|
+
/* @__PURE__ */ React.createElement(Icons.ul, null)
|
|
14264
|
+
);
|
|
14265
|
+
}
|
|
14266
|
+
);
|
|
14267
|
+
const OrderedListToolbarButton = cn$1.withRef(
|
|
14268
|
+
(props, ref) => {
|
|
14269
|
+
const editor = plateCommon.useEditorState();
|
|
14270
|
+
const state = plate.useListToolbarButtonState({ nodeType: plate.ELEMENT_OL });
|
|
14271
|
+
const { props: buttonProps } = plate.useListToolbarButton(state);
|
|
14272
|
+
return /* @__PURE__ */ React.createElement(
|
|
14273
|
+
ToolbarButton,
|
|
14274
|
+
{
|
|
14275
|
+
ref,
|
|
14276
|
+
tooltip: "Numbered List",
|
|
14277
|
+
...buttonProps,
|
|
14278
|
+
onClick: (e) => {
|
|
14279
|
+
e.preventDefault();
|
|
14280
|
+
e.stopPropagation();
|
|
14281
|
+
plate.toggleList(editor, { type: plate.ELEMENT_OL });
|
|
14282
|
+
}
|
|
14283
|
+
},
|
|
14284
|
+
/* @__PURE__ */ React.createElement(Icons.ol, null)
|
|
14285
|
+
);
|
|
14286
|
+
}
|
|
14287
|
+
);
|
|
14412
14288
|
const LinkToolbarButton = cn$1.withRef((rest, ref) => {
|
|
14413
14289
|
const state = plateLink.useLinkToolbarButtonState();
|
|
14414
14290
|
const { props } = plateLink.useLinkToolbarButton(state);
|
|
14415
|
-
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "Link"
|
|
14416
|
-
});
|
|
14417
|
-
const MarkToolbarButton = cn$1.withRef(({ clear, nodeType, ...rest }, ref) => {
|
|
14418
|
-
const state = plateCommon.useMarkToolbarButtonState({ clear, nodeType });
|
|
14419
|
-
const { props } = plateCommon.useMarkToolbarButton(state);
|
|
14420
|
-
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, ...props, ...rest });
|
|
14291
|
+
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, ...props, ...rest, tooltip: "Link" }, /* @__PURE__ */ React.createElement(Icons.link, null));
|
|
14421
14292
|
});
|
|
14422
14293
|
const useMermaidToolbarButtonState = () => {
|
|
14423
14294
|
const editor = plateCommon.useEditorState();
|
|
@@ -14498,7 +14369,7 @@ flowchart TD
|
|
|
14498
14369
|
const QuoteToolbarButton = cn$1.withRef(({ clear, ...rest }, ref) => {
|
|
14499
14370
|
const state = useBlockQuoteToolbarButtonState();
|
|
14500
14371
|
const { props } = useBlockQuoteToolbarButton(state);
|
|
14501
|
-
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "
|
|
14372
|
+
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, tooltip: "Quote (⌘+⇧+.)", ...rest, ...props }, /* @__PURE__ */ React.createElement(Icons.quote, null));
|
|
14502
14373
|
});
|
|
14503
14374
|
const useRawMarkdownToolbarButton = () => {
|
|
14504
14375
|
const { setRawMode } = useEditorContext();
|
|
@@ -14518,7 +14389,7 @@ flowchart TD
|
|
|
14518
14389
|
ToolbarButton,
|
|
14519
14390
|
{
|
|
14520
14391
|
ref,
|
|
14521
|
-
tooltip: "
|
|
14392
|
+
tooltip: "Raw Markdown",
|
|
14522
14393
|
...rest,
|
|
14523
14394
|
...props,
|
|
14524
14395
|
"data-testid": "markdown-button"
|
|
@@ -14663,7 +14534,7 @@ flowchart TD
|
|
|
14663
14534
|
key: template.name,
|
|
14664
14535
|
onMouseDown: (e) => {
|
|
14665
14536
|
e.preventDefault();
|
|
14666
|
-
|
|
14537
|
+
setOpen(false);
|
|
14667
14538
|
insertMDX(editor, template);
|
|
14668
14539
|
},
|
|
14669
14540
|
className: ""
|
|
@@ -14671,6 +14542,15 @@ flowchart TD
|
|
|
14671
14542
|
template.label || template.name
|
|
14672
14543
|
))));
|
|
14673
14544
|
};
|
|
14545
|
+
const MarkToolbarButton = cn$1.withRef(({ clear, nodeType, ...rest }, ref) => {
|
|
14546
|
+
const state = plateCommon.useMarkToolbarButtonState({ clear, nodeType });
|
|
14547
|
+
const { props } = plateCommon.useMarkToolbarButton(state);
|
|
14548
|
+
return /* @__PURE__ */ React.createElement(ToolbarButton, { ref, ...props, ...rest });
|
|
14549
|
+
});
|
|
14550
|
+
const BoldToolbarButton = () => /* @__PURE__ */ React.createElement(MarkToolbarButton, { tooltip: "Bold (⌘+B)", nodeType: plate.MARK_BOLD }, /* @__PURE__ */ React.createElement(Icons.bold, null));
|
|
14551
|
+
const StrikethroughToolbarButton = () => /* @__PURE__ */ React.createElement(MarkToolbarButton, { tooltip: "Strikethrough", nodeType: plate.MARK_STRIKETHROUGH }, /* @__PURE__ */ React.createElement(Icons.strikethrough, null));
|
|
14552
|
+
const ItalicToolbarButton = () => /* @__PURE__ */ React.createElement(MarkToolbarButton, { tooltip: "Italic (⌘+I)", nodeType: plate.MARK_ITALIC }, /* @__PURE__ */ React.createElement(Icons.italic, null));
|
|
14553
|
+
const CodeToolbarButton = () => /* @__PURE__ */ React.createElement(MarkToolbarButton, { tooltip: "Code (⌘+E)", nodeType: plate.MARK_CODE }, /* @__PURE__ */ React.createElement(Icons.code, null));
|
|
14674
14554
|
const toolbarItems = {
|
|
14675
14555
|
heading: {
|
|
14676
14556
|
label: HEADING_LABEL,
|
|
@@ -14691,32 +14571,37 @@ flowchart TD
|
|
|
14691
14571
|
quote: {
|
|
14692
14572
|
label: "Quote",
|
|
14693
14573
|
width: () => STANDARD_ICON_WIDTH,
|
|
14694
|
-
Component: /* @__PURE__ */ React.createElement(QuoteToolbarButton,
|
|
14574
|
+
Component: /* @__PURE__ */ React.createElement(QuoteToolbarButton, null)
|
|
14695
14575
|
},
|
|
14696
14576
|
ul: {
|
|
14697
14577
|
label: "Unordered List",
|
|
14698
14578
|
width: () => STANDARD_ICON_WIDTH,
|
|
14699
|
-
Component: /* @__PURE__ */ React.createElement(
|
|
14579
|
+
Component: /* @__PURE__ */ React.createElement(UnorderedListToolbarButton, null)
|
|
14700
14580
|
},
|
|
14701
14581
|
ol: {
|
|
14702
14582
|
label: "Ordered List",
|
|
14703
14583
|
width: () => STANDARD_ICON_WIDTH,
|
|
14704
|
-
Component: /* @__PURE__ */ React.createElement(
|
|
14584
|
+
Component: /* @__PURE__ */ React.createElement(OrderedListToolbarButton, null)
|
|
14705
14585
|
},
|
|
14706
14586
|
bold: {
|
|
14707
14587
|
label: "Bold",
|
|
14708
14588
|
width: () => STANDARD_ICON_WIDTH,
|
|
14709
|
-
Component: /* @__PURE__ */ React.createElement(
|
|
14589
|
+
Component: /* @__PURE__ */ React.createElement(BoldToolbarButton, null)
|
|
14590
|
+
},
|
|
14591
|
+
strikethrough: {
|
|
14592
|
+
label: "Strikethrough",
|
|
14593
|
+
width: () => STANDARD_ICON_WIDTH,
|
|
14594
|
+
Component: /* @__PURE__ */ React.createElement(StrikethroughToolbarButton, null)
|
|
14710
14595
|
},
|
|
14711
14596
|
italic: {
|
|
14712
14597
|
label: "Italic",
|
|
14713
14598
|
width: () => STANDARD_ICON_WIDTH,
|
|
14714
|
-
Component: /* @__PURE__ */ React.createElement(
|
|
14599
|
+
Component: /* @__PURE__ */ React.createElement(ItalicToolbarButton, null)
|
|
14715
14600
|
},
|
|
14716
14601
|
code: {
|
|
14717
14602
|
label: "Code",
|
|
14718
14603
|
width: () => STANDARD_ICON_WIDTH,
|
|
14719
|
-
Component: /* @__PURE__ */ React.createElement(
|
|
14604
|
+
Component: /* @__PURE__ */ React.createElement(CodeToolbarButton, null)
|
|
14720
14605
|
},
|
|
14721
14606
|
codeBlock: {
|
|
14722
14607
|
label: "Code Block",
|
|
@@ -14749,7 +14634,12 @@ flowchart TD
|
|
|
14749
14634
|
const [itemsShown, setItemsShown] = React.useState(11);
|
|
14750
14635
|
const { overrides, templates } = useToolbarContext();
|
|
14751
14636
|
const showEmbedButton = templates.length > 0;
|
|
14752
|
-
let items2 =
|
|
14637
|
+
let items2 = [];
|
|
14638
|
+
if (Array.isArray(overrides)) {
|
|
14639
|
+
items2 = overrides === void 0 ? Object.values(toolbarItems) : overrides.map((item) => toolbarItems[item]).filter((item) => item !== void 0);
|
|
14640
|
+
} else {
|
|
14641
|
+
items2 = (overrides == null ? void 0 : overrides.toolbar) === void 0 ? Object.values(toolbarItems) : overrides.toolbar.map((item) => toolbarItems[item]).filter((item) => item !== void 0);
|
|
14642
|
+
}
|
|
14753
14643
|
if (!showEmbedButton) {
|
|
14754
14644
|
items2 = items2.filter((item) => item.label !== toolbarItems.embed.label);
|
|
14755
14645
|
}
|
|
@@ -15077,6 +14967,9 @@ flowchart TD
|
|
|
15077
14967
|
if (typeof string !== "string") {
|
|
15078
14968
|
return false;
|
|
15079
14969
|
}
|
|
14970
|
+
if (string.startsWith("#")) {
|
|
14971
|
+
return true;
|
|
14972
|
+
}
|
|
15080
14973
|
const generalMatch = string.match(protocolAndDomainRE);
|
|
15081
14974
|
const emailLinkMatch = string.match(emailLintRE);
|
|
15082
14975
|
const localUrlMatch = string.match(localUrlRE);
|
|
@@ -15098,12 +14991,12 @@ flowchart TD
|
|
|
15098
14991
|
}
|
|
15099
14992
|
return localhostDomainRE.test(everythingAfterProtocol) || nonLocalhostDomainRE.test(everythingAfterProtocol);
|
|
15100
14993
|
};
|
|
15101
|
-
const RichEditor = (
|
|
14994
|
+
const RichEditor = ({ input, tinaForm, field }) => {
|
|
15102
14995
|
var _a;
|
|
15103
14996
|
const initialValue = React.useMemo(
|
|
15104
14997
|
() => {
|
|
15105
14998
|
var _a2, _b;
|
|
15106
|
-
return ((_b = (_a2 =
|
|
14999
|
+
return ((_b = (_a2 = input.value) == null ? void 0 : _a2.children) == null ? void 0 : _b.length) ? input.value.children.map(helpers.normalize) : [{ type: "p", children: [{ type: "text", text: "" }] }];
|
|
15107
15000
|
},
|
|
15108
15001
|
[]
|
|
15109
15002
|
);
|
|
@@ -15131,7 +15024,7 @@ flowchart TD
|
|
|
15131
15024
|
),
|
|
15132
15025
|
[]
|
|
15133
15026
|
);
|
|
15134
|
-
const tempId = [
|
|
15027
|
+
const tempId = [tinaForm.id, input.name].join(".");
|
|
15135
15028
|
const id = React.useMemo(() => uuid() + tempId, [tempId]);
|
|
15136
15029
|
const ref = React.useRef(null);
|
|
15137
15030
|
React.useEffect(() => {
|
|
@@ -15141,13 +15034,13 @@ flowchart TD
|
|
|
15141
15034
|
const plateElement = (_a2 = ref.current) == null ? void 0 : _a2.querySelector(
|
|
15142
15035
|
'[role="textbox"]'
|
|
15143
15036
|
);
|
|
15144
|
-
if (
|
|
15037
|
+
if (field.experimental_focusIntent && plateElement) {
|
|
15145
15038
|
if (plateElement)
|
|
15146
15039
|
plateElement.focus();
|
|
15147
15040
|
}
|
|
15148
15041
|
}, 100);
|
|
15149
15042
|
}
|
|
15150
|
-
}, [
|
|
15043
|
+
}, [field.experimental_focusIntent, ref]);
|
|
15151
15044
|
return /* @__PURE__ */ React.createElement("div", { ref }, /* @__PURE__ */ React.createElement(
|
|
15152
15045
|
plateCommon.Plate,
|
|
15153
15046
|
{
|
|
@@ -15155,7 +15048,7 @@ flowchart TD
|
|
|
15155
15048
|
initialValue,
|
|
15156
15049
|
plugins: plugins$2,
|
|
15157
15050
|
onChange: (value) => {
|
|
15158
|
-
|
|
15051
|
+
input.onChange({
|
|
15159
15052
|
type: "root",
|
|
15160
15053
|
children: value
|
|
15161
15054
|
});
|
|
@@ -15164,12 +15057,12 @@ flowchart TD
|
|
|
15164
15057
|
/* @__PURE__ */ React.createElement(TooltipProvider, null, /* @__PURE__ */ React.createElement(
|
|
15165
15058
|
ToolbarProvider,
|
|
15166
15059
|
{
|
|
15167
|
-
tinaForm
|
|
15168
|
-
templates:
|
|
15169
|
-
overrides: (
|
|
15060
|
+
tinaForm,
|
|
15061
|
+
templates: field.templates,
|
|
15062
|
+
overrides: (field == null ? void 0 : field.toolbarOverride) ? field.toolbarOverride : field.overrides
|
|
15170
15063
|
},
|
|
15171
15064
|
/* @__PURE__ */ React.createElement(FixedToolbar, null, /* @__PURE__ */ React.createElement(FixedToolbarButtons, null)),
|
|
15172
|
-
/* @__PURE__ */ React.createElement(FloatingToolbar, null, /* @__PURE__ */ React.createElement(FloatingToolbarButtons, null))
|
|
15065
|
+
((_a = field == null ? void 0 : field.overrides) == null ? void 0 : _a.showFloatingToolbar) !== false ? /* @__PURE__ */ React.createElement(FloatingToolbar, null, /* @__PURE__ */ React.createElement(FloatingToolbarButtons, null)) : null
|
|
15173
15066
|
), /* @__PURE__ */ React.createElement(Editor, null))
|
|
15174
15067
|
));
|
|
15175
15068
|
};
|
|
@@ -16357,132 +16250,1209 @@ flowchart TD
|
|
|
16357
16250
|
"হয়"
|
|
16358
16251
|
];
|
|
16359
16252
|
const bre = [
|
|
16253
|
+
"'blam",
|
|
16254
|
+
"'d",
|
|
16255
|
+
"'m",
|
|
16256
|
+
"'r",
|
|
16257
|
+
"'ta",
|
|
16258
|
+
"'vat",
|
|
16259
|
+
"'z",
|
|
16260
|
+
"'zo",
|
|
16360
16261
|
"a",
|
|
16361
|
-
"
|
|
16362
|
-
"
|
|
16363
|
-
"
|
|
16364
|
-
"
|
|
16365
|
-
"
|
|
16366
|
-
"
|
|
16367
|
-
"
|
|
16368
|
-
"
|
|
16369
|
-
"
|
|
16370
|
-
"
|
|
16371
|
-
"
|
|
16372
|
-
"
|
|
16373
|
-
"
|
|
16374
|
-
"
|
|
16375
|
-
"
|
|
16376
|
-
"
|
|
16377
|
-
"
|
|
16378
|
-
"
|
|
16379
|
-
"
|
|
16380
|
-
"
|
|
16381
|
-
"
|
|
16262
|
+
"a:",
|
|
16263
|
+
"aba",
|
|
16264
|
+
"abalamour",
|
|
16265
|
+
"abaoe",
|
|
16266
|
+
"ac'hane",
|
|
16267
|
+
"ac'hanoc'h",
|
|
16268
|
+
"ac'hanomp",
|
|
16269
|
+
"ac'hanon",
|
|
16270
|
+
"ac'hanout",
|
|
16271
|
+
"adal",
|
|
16272
|
+
"adalek",
|
|
16273
|
+
"adarre",
|
|
16274
|
+
"ae",
|
|
16275
|
+
"aec'h",
|
|
16276
|
+
"aed",
|
|
16277
|
+
"aemp",
|
|
16278
|
+
"aen",
|
|
16279
|
+
"aent",
|
|
16280
|
+
"aes",
|
|
16281
|
+
"afe",
|
|
16282
|
+
"afec'h",
|
|
16283
|
+
"afed",
|
|
16284
|
+
"afemp",
|
|
16285
|
+
"afen",
|
|
16286
|
+
"afent",
|
|
16287
|
+
"afes",
|
|
16288
|
+
"ag",
|
|
16289
|
+
"ah",
|
|
16290
|
+
"aimp",
|
|
16291
|
+
"aint",
|
|
16292
|
+
"aio",
|
|
16293
|
+
"aiou",
|
|
16294
|
+
"aje",
|
|
16295
|
+
"ajec'h",
|
|
16296
|
+
"ajed",
|
|
16297
|
+
"ajemp",
|
|
16298
|
+
"ajen",
|
|
16299
|
+
"ajent",
|
|
16300
|
+
"ajes",
|
|
16301
|
+
"al",
|
|
16302
|
+
"alato",
|
|
16303
|
+
"alies",
|
|
16304
|
+
"aliesañ",
|
|
16305
|
+
"alkent",
|
|
16306
|
+
"all",
|
|
16307
|
+
"allas",
|
|
16308
|
+
"allo",
|
|
16309
|
+
"allô",
|
|
16310
|
+
"am",
|
|
16311
|
+
"amañ",
|
|
16312
|
+
"amzer",
|
|
16313
|
+
"an",
|
|
16314
|
+
"anezhañ",
|
|
16315
|
+
"anezhe",
|
|
16316
|
+
"anezhi",
|
|
16317
|
+
"anezho",
|
|
16318
|
+
"anvet",
|
|
16319
|
+
"aon",
|
|
16320
|
+
"aotren",
|
|
16321
|
+
"ar",
|
|
16322
|
+
"arall",
|
|
16323
|
+
"araok",
|
|
16324
|
+
"araoki",
|
|
16325
|
+
"araozañ",
|
|
16326
|
+
"araozo",
|
|
16327
|
+
"araozoc'h",
|
|
16328
|
+
"araozomp",
|
|
16329
|
+
"araozon",
|
|
16330
|
+
"araozor",
|
|
16331
|
+
"araozout",
|
|
16332
|
+
"arbenn",
|
|
16333
|
+
"arre",
|
|
16334
|
+
"atalek",
|
|
16335
|
+
"atav",
|
|
16336
|
+
"az",
|
|
16337
|
+
"azalek",
|
|
16338
|
+
"azirazañ",
|
|
16339
|
+
"azirazi",
|
|
16340
|
+
"azirazo",
|
|
16341
|
+
"azirazoc'h",
|
|
16342
|
+
"azirazomp",
|
|
16343
|
+
"azirazon",
|
|
16344
|
+
"azirazor",
|
|
16345
|
+
"azirazout",
|
|
16346
|
+
"b:",
|
|
16347
|
+
"ba",
|
|
16348
|
+
"ba'l",
|
|
16349
|
+
"ba'n",
|
|
16350
|
+
"ba'r",
|
|
16351
|
+
"bad",
|
|
16352
|
+
"bah",
|
|
16353
|
+
"bal",
|
|
16354
|
+
"ban",
|
|
16355
|
+
"bar",
|
|
16356
|
+
"bastañ",
|
|
16357
|
+
"befe",
|
|
16358
|
+
"bell",
|
|
16359
|
+
"benaos",
|
|
16360
|
+
"benn",
|
|
16361
|
+
"bennag",
|
|
16362
|
+
"bennak",
|
|
16363
|
+
"bennozh",
|
|
16364
|
+
"bep",
|
|
16365
|
+
"bepred",
|
|
16366
|
+
"berr",
|
|
16367
|
+
"berzh",
|
|
16368
|
+
"bet",
|
|
16369
|
+
"betek",
|
|
16370
|
+
"betra",
|
|
16371
|
+
"bev",
|
|
16372
|
+
"bevet",
|
|
16373
|
+
"bez",
|
|
16374
|
+
"bezañ",
|
|
16375
|
+
"beze",
|
|
16376
|
+
"bezent",
|
|
16377
|
+
"bezet",
|
|
16378
|
+
"bezh",
|
|
16379
|
+
"bezit",
|
|
16380
|
+
"bezomp",
|
|
16381
|
+
"bihan",
|
|
16382
|
+
"bije",
|
|
16383
|
+
"biou",
|
|
16384
|
+
"biskoazh",
|
|
16385
|
+
"blam",
|
|
16386
|
+
"bo",
|
|
16387
|
+
"boa",
|
|
16388
|
+
"bominapl",
|
|
16389
|
+
"boudoudom",
|
|
16390
|
+
"bouez",
|
|
16391
|
+
"boull",
|
|
16392
|
+
"boum",
|
|
16393
|
+
"bout",
|
|
16394
|
+
"bras",
|
|
16395
|
+
"brasañ",
|
|
16396
|
+
"brav",
|
|
16397
|
+
"bravo",
|
|
16398
|
+
"bremañ",
|
|
16399
|
+
"bres",
|
|
16400
|
+
"brokenn",
|
|
16401
|
+
"bronn",
|
|
16402
|
+
"brrr",
|
|
16403
|
+
"brutal",
|
|
16404
|
+
"buhezek",
|
|
16405
|
+
"c'h:",
|
|
16406
|
+
"c'haout",
|
|
16407
|
+
"c'he",
|
|
16408
|
+
"c'hem",
|
|
16409
|
+
"c'herz",
|
|
16410
|
+
"c'heñver",
|
|
16411
|
+
"c'hichen",
|
|
16412
|
+
"c'hiz",
|
|
16413
|
+
"c'hoazh",
|
|
16414
|
+
"c'horre",
|
|
16415
|
+
"c'houde",
|
|
16416
|
+
"c'houst",
|
|
16417
|
+
"c'hreiz",
|
|
16418
|
+
"c'hwec'h",
|
|
16419
|
+
"c'hwec'hvet",
|
|
16420
|
+
"c'hwezek",
|
|
16421
|
+
"c'hwi",
|
|
16422
|
+
"ch:",
|
|
16423
|
+
"chaous",
|
|
16424
|
+
"chik",
|
|
16425
|
+
"chit",
|
|
16426
|
+
"chom",
|
|
16427
|
+
"chut",
|
|
16428
|
+
"d'",
|
|
16429
|
+
"d'al",
|
|
16430
|
+
"d'an",
|
|
16431
|
+
"d'ar",
|
|
16432
|
+
"d'az",
|
|
16433
|
+
"d'e",
|
|
16434
|
+
"d'he",
|
|
16435
|
+
"d'ho",
|
|
16436
|
+
"d'hol",
|
|
16437
|
+
"d'hon",
|
|
16438
|
+
"d'hor",
|
|
16439
|
+
"d'o",
|
|
16440
|
+
"d'ober",
|
|
16441
|
+
"d'ul",
|
|
16442
|
+
"d'un",
|
|
16443
|
+
"d'ur",
|
|
16444
|
+
"d:",
|
|
16382
16445
|
"da",
|
|
16383
|
-
"
|
|
16384
|
-
"
|
|
16385
|
-
"
|
|
16386
|
-
"
|
|
16387
|
-
"
|
|
16388
|
-
"
|
|
16389
|
-
"
|
|
16390
|
-
"
|
|
16391
|
-
"
|
|
16392
|
-
"
|
|
16393
|
-
"
|
|
16394
|
-
"
|
|
16395
|
-
"
|
|
16396
|
-
"
|
|
16397
|
-
"
|
|
16446
|
+
"dak",
|
|
16447
|
+
"daka",
|
|
16448
|
+
"dal",
|
|
16449
|
+
"dalbezh",
|
|
16450
|
+
"dalc'hmat",
|
|
16451
|
+
"dalit",
|
|
16452
|
+
"damdost",
|
|
16453
|
+
"damheñvel",
|
|
16454
|
+
"damm",
|
|
16455
|
+
"dan",
|
|
16456
|
+
"danvez",
|
|
16457
|
+
"dao",
|
|
16458
|
+
"daol",
|
|
16459
|
+
"daonet",
|
|
16460
|
+
"daou",
|
|
16461
|
+
"daoust",
|
|
16462
|
+
"daouzek",
|
|
16463
|
+
"daouzekvet",
|
|
16464
|
+
"darn",
|
|
16465
|
+
"dastrewiñ",
|
|
16466
|
+
"dav",
|
|
16467
|
+
"davedoc'h",
|
|
16468
|
+
"davedomp",
|
|
16469
|
+
"davedon",
|
|
16470
|
+
"davedor",
|
|
16471
|
+
"davedout",
|
|
16472
|
+
"davet",
|
|
16473
|
+
"davetañ",
|
|
16474
|
+
"davete",
|
|
16475
|
+
"daveti",
|
|
16476
|
+
"daveto",
|
|
16477
|
+
"defe",
|
|
16478
|
+
"dehou",
|
|
16479
|
+
"dek",
|
|
16480
|
+
"dekvet",
|
|
16481
|
+
"den",
|
|
16482
|
+
"deoc'h",
|
|
16483
|
+
"deomp",
|
|
16484
|
+
"deor",
|
|
16485
|
+
"derc'hel",
|
|
16486
|
+
"deus",
|
|
16487
|
+
"dez",
|
|
16488
|
+
"deze",
|
|
16489
|
+
"dezhañ",
|
|
16490
|
+
"dezhe",
|
|
16491
|
+
"dezhi",
|
|
16492
|
+
"dezho",
|
|
16493
|
+
"di",
|
|
16494
|
+
"diabarzh",
|
|
16495
|
+
"diagent",
|
|
16496
|
+
"diar",
|
|
16497
|
+
"diaraok",
|
|
16498
|
+
"diavaez",
|
|
16499
|
+
"dibaoe",
|
|
16500
|
+
"dibaot",
|
|
16501
|
+
"dibar",
|
|
16502
|
+
"dic'halañ",
|
|
16503
|
+
"didiac'h",
|
|
16504
|
+
"dienn",
|
|
16505
|
+
"difer",
|
|
16506
|
+
"diganeoc'h",
|
|
16507
|
+
"diganeomp",
|
|
16508
|
+
"diganeor",
|
|
16509
|
+
"diganimp",
|
|
16510
|
+
"diganin",
|
|
16511
|
+
"diganit",
|
|
16512
|
+
"digant",
|
|
16513
|
+
"digantañ",
|
|
16514
|
+
"digante",
|
|
16515
|
+
"diganti",
|
|
16516
|
+
"diganto",
|
|
16517
|
+
"digemmesk",
|
|
16518
|
+
"diget",
|
|
16519
|
+
"digor",
|
|
16520
|
+
"digoret",
|
|
16521
|
+
"dija",
|
|
16522
|
+
"dije",
|
|
16523
|
+
"dimp",
|
|
16524
|
+
"din",
|
|
16525
|
+
"dinaou",
|
|
16526
|
+
"dindan",
|
|
16527
|
+
"dindanañ",
|
|
16528
|
+
"dindani",
|
|
16529
|
+
"dindano",
|
|
16530
|
+
"dindanoc'h",
|
|
16531
|
+
"dindanomp",
|
|
16532
|
+
"dindanon",
|
|
16533
|
+
"dindanor",
|
|
16534
|
+
"dindanout",
|
|
16535
|
+
"dioutañ",
|
|
16536
|
+
"dioute",
|
|
16537
|
+
"diouti",
|
|
16538
|
+
"diouto",
|
|
16539
|
+
"diouzh",
|
|
16540
|
+
"diouzhin",
|
|
16541
|
+
"diouzhit",
|
|
16542
|
+
"diouzhoc'h",
|
|
16543
|
+
"diouzhomp",
|
|
16544
|
+
"diouzhor",
|
|
16545
|
+
"dirak",
|
|
16546
|
+
"dirazañ",
|
|
16547
|
+
"dirazi",
|
|
16548
|
+
"dirazo",
|
|
16549
|
+
"dirazoc'h",
|
|
16550
|
+
"dirazomp",
|
|
16551
|
+
"dirazon",
|
|
16552
|
+
"dirazor",
|
|
16553
|
+
"dirazout",
|
|
16554
|
+
"disheñvel",
|
|
16555
|
+
"dispar",
|
|
16556
|
+
"distank",
|
|
16557
|
+
"dister",
|
|
16558
|
+
"disterañ",
|
|
16559
|
+
"disterig",
|
|
16560
|
+
"distro",
|
|
16561
|
+
"dit",
|
|
16562
|
+
"divaez",
|
|
16563
|
+
"diwar",
|
|
16564
|
+
"diwezhat",
|
|
16565
|
+
"diwezhañ",
|
|
16398
16566
|
"do",
|
|
16399
|
-
"
|
|
16400
|
-
"
|
|
16567
|
+
"doa",
|
|
16568
|
+
"doare",
|
|
16569
|
+
"dont",
|
|
16570
|
+
"dost",
|
|
16571
|
+
"doue",
|
|
16572
|
+
"douetus",
|
|
16573
|
+
"douez",
|
|
16574
|
+
"doug",
|
|
16575
|
+
"draou",
|
|
16576
|
+
"draoñ",
|
|
16577
|
+
"dre",
|
|
16578
|
+
"drede",
|
|
16579
|
+
"dreist",
|
|
16580
|
+
"dreistañ",
|
|
16581
|
+
"dreisti",
|
|
16582
|
+
"dreisto",
|
|
16583
|
+
"dreistoc'h",
|
|
16584
|
+
"dreistomp",
|
|
16585
|
+
"dreiston",
|
|
16586
|
+
"dreistor",
|
|
16587
|
+
"dreistout",
|
|
16588
|
+
"drek",
|
|
16589
|
+
"dreñv",
|
|
16590
|
+
"dring",
|
|
16591
|
+
"dro",
|
|
16592
|
+
"du",
|
|
16401
16593
|
"e",
|
|
16402
|
-
"
|
|
16403
|
-
"
|
|
16404
|
-
"
|
|
16405
|
-
"
|
|
16594
|
+
"e:",
|
|
16595
|
+
"eas",
|
|
16596
|
+
"ebet",
|
|
16597
|
+
"ec'h",
|
|
16598
|
+
"edo",
|
|
16599
|
+
"edoc'h",
|
|
16600
|
+
"edod",
|
|
16601
|
+
"edomp",
|
|
16602
|
+
"edon",
|
|
16603
|
+
"edont",
|
|
16604
|
+
"edos",
|
|
16605
|
+
"eer",
|
|
16606
|
+
"eeun",
|
|
16607
|
+
"efed",
|
|
16608
|
+
"egedoc'h",
|
|
16609
|
+
"egedomp",
|
|
16610
|
+
"egedon",
|
|
16611
|
+
"egedor",
|
|
16612
|
+
"egedout",
|
|
16613
|
+
"eget",
|
|
16614
|
+
"egetañ",
|
|
16615
|
+
"egete",
|
|
16616
|
+
"egeti",
|
|
16617
|
+
"egeto",
|
|
16618
|
+
"eh",
|
|
16619
|
+
"eil",
|
|
16620
|
+
"eilvet",
|
|
16621
|
+
"eizh",
|
|
16622
|
+
"eizhvet",
|
|
16623
|
+
"ejoc'h",
|
|
16624
|
+
"ejod",
|
|
16625
|
+
"ejomp",
|
|
16626
|
+
"ejont",
|
|
16627
|
+
"ejout",
|
|
16628
|
+
"el",
|
|
16406
16629
|
"em",
|
|
16407
|
-
"
|
|
16408
|
-
"
|
|
16409
|
-
"
|
|
16410
|
-
"
|
|
16411
|
-
"
|
|
16412
|
-
"
|
|
16413
|
-
"
|
|
16414
|
-
"
|
|
16415
|
-
"
|
|
16416
|
-
"
|
|
16630
|
+
"emaint",
|
|
16631
|
+
"emaoc'h",
|
|
16632
|
+
"emaomp",
|
|
16633
|
+
"emaon",
|
|
16634
|
+
"emaout",
|
|
16635
|
+
"emañ",
|
|
16636
|
+
"eme",
|
|
16637
|
+
"emeur",
|
|
16638
|
+
"emezañ",
|
|
16639
|
+
"emezi",
|
|
16640
|
+
"emezo",
|
|
16641
|
+
"emezoc'h",
|
|
16642
|
+
"emezomp",
|
|
16643
|
+
"emezon",
|
|
16644
|
+
"emezout",
|
|
16645
|
+
"emporzhiañ",
|
|
16646
|
+
"en",
|
|
16647
|
+
"end",
|
|
16648
|
+
"endan",
|
|
16649
|
+
"endra",
|
|
16650
|
+
"enep",
|
|
16651
|
+
"ennañ",
|
|
16652
|
+
"enni",
|
|
16653
|
+
"enno",
|
|
16654
|
+
"ennoc'h",
|
|
16655
|
+
"ennomp",
|
|
16656
|
+
"ennon",
|
|
16657
|
+
"ennor",
|
|
16658
|
+
"ennout",
|
|
16659
|
+
"enta",
|
|
16660
|
+
"eo",
|
|
16661
|
+
"eomp",
|
|
16662
|
+
"eont",
|
|
16663
|
+
"eor",
|
|
16664
|
+
"eot",
|
|
16665
|
+
"er",
|
|
16666
|
+
"erbet",
|
|
16667
|
+
"erfin",
|
|
16668
|
+
"esa",
|
|
16669
|
+
"esae",
|
|
16670
|
+
"espar",
|
|
16671
|
+
"estlamm",
|
|
16672
|
+
"estrañj",
|
|
16673
|
+
"eta",
|
|
16674
|
+
"etre",
|
|
16675
|
+
"etreoc'h",
|
|
16676
|
+
"etrezo",
|
|
16677
|
+
"etrezoc'h",
|
|
16678
|
+
"etrezomp",
|
|
16679
|
+
"etrezor",
|
|
16680
|
+
"euh",
|
|
16681
|
+
"eur",
|
|
16682
|
+
"eus",
|
|
16683
|
+
"evel",
|
|
16684
|
+
"evelato",
|
|
16685
|
+
"eveldoc'h",
|
|
16686
|
+
"eveldomp",
|
|
16687
|
+
"eveldon",
|
|
16688
|
+
"eveldor",
|
|
16689
|
+
"eveldout",
|
|
16690
|
+
"evelkent",
|
|
16691
|
+
"eveltañ",
|
|
16692
|
+
"evelte",
|
|
16693
|
+
"evelti",
|
|
16694
|
+
"evelto",
|
|
16695
|
+
"evidoc'h",
|
|
16696
|
+
"evidomp",
|
|
16697
|
+
"evidon",
|
|
16698
|
+
"evidor",
|
|
16699
|
+
"evidout",
|
|
16700
|
+
"evit",
|
|
16701
|
+
"evitañ",
|
|
16702
|
+
"evite",
|
|
16703
|
+
"eviti",
|
|
16704
|
+
"evito",
|
|
16705
|
+
"ez",
|
|
16706
|
+
"eñ",
|
|
16707
|
+
"f:",
|
|
16708
|
+
"fac'h",
|
|
16709
|
+
"fall",
|
|
16710
|
+
"fed",
|
|
16711
|
+
"feiz",
|
|
16712
|
+
"fenn",
|
|
16713
|
+
"fezh",
|
|
16714
|
+
"fin",
|
|
16715
|
+
"finsalvet",
|
|
16716
|
+
"foei",
|
|
16717
|
+
"fouilhezañ",
|
|
16718
|
+
"g:",
|
|
16719
|
+
"gallout",
|
|
16720
|
+
"ganeoc'h",
|
|
16721
|
+
"ganeomp",
|
|
16722
|
+
"ganin",
|
|
16723
|
+
"ganit",
|
|
16724
|
+
"gant",
|
|
16725
|
+
"gantañ",
|
|
16726
|
+
"ganti",
|
|
16727
|
+
"ganto",
|
|
16728
|
+
"gaout",
|
|
16729
|
+
"gast",
|
|
16730
|
+
"gein",
|
|
16731
|
+
"gellout",
|
|
16732
|
+
"genndost",
|
|
16733
|
+
"gentañ",
|
|
16734
|
+
"ger",
|
|
16735
|
+
"gerz",
|
|
16736
|
+
"get",
|
|
16737
|
+
"geñver",
|
|
16738
|
+
"gichen",
|
|
16739
|
+
"gin",
|
|
16740
|
+
"giz",
|
|
16741
|
+
"glan",
|
|
16742
|
+
"gloev",
|
|
16743
|
+
"goll",
|
|
16744
|
+
"gorre",
|
|
16745
|
+
"goude",
|
|
16746
|
+
"gouez",
|
|
16747
|
+
"gouezit",
|
|
16748
|
+
"gouezomp",
|
|
16749
|
+
"goulz",
|
|
16750
|
+
"gounnar",
|
|
16751
|
+
"gour",
|
|
16752
|
+
"goust",
|
|
16753
|
+
"gouze",
|
|
16754
|
+
"gouzout",
|
|
16755
|
+
"gra",
|
|
16756
|
+
"grak",
|
|
16757
|
+
"grec'h",
|
|
16758
|
+
"greiz",
|
|
16759
|
+
"grenn",
|
|
16760
|
+
"greomp",
|
|
16761
|
+
"grit",
|
|
16762
|
+
"groñs",
|
|
16763
|
+
"gutez",
|
|
16764
|
+
"gwall",
|
|
16765
|
+
"gwashoc'h",
|
|
16766
|
+
"gwazh",
|
|
16767
|
+
"gwech",
|
|
16768
|
+
"gwechall",
|
|
16769
|
+
"gwechoù",
|
|
16770
|
+
"gwell",
|
|
16771
|
+
"gwezh",
|
|
16772
|
+
"gwezhall",
|
|
16773
|
+
"gwezharall",
|
|
16774
|
+
"gwezhoù",
|
|
16775
|
+
"gwig",
|
|
16776
|
+
"gwirionez",
|
|
16777
|
+
"gwitibunan",
|
|
16778
|
+
"gêr",
|
|
16779
|
+
"h:",
|
|
16417
16780
|
"ha",
|
|
16418
|
-
"
|
|
16419
|
-
"
|
|
16420
|
-
"
|
|
16421
|
-
"
|
|
16422
|
-
"
|
|
16423
|
-
"
|
|
16424
|
-
"
|
|
16425
|
-
"
|
|
16426
|
-
"
|
|
16427
|
-
"
|
|
16428
|
-
"
|
|
16781
|
+
"hag",
|
|
16782
|
+
"han",
|
|
16783
|
+
"hanter",
|
|
16784
|
+
"hanterc'hantad",
|
|
16785
|
+
"hanterkantved",
|
|
16786
|
+
"harz",
|
|
16787
|
+
"hañ",
|
|
16788
|
+
"hañval",
|
|
16789
|
+
"he",
|
|
16790
|
+
"hebioù",
|
|
16791
|
+
"hec'h",
|
|
16792
|
+
"hei",
|
|
16793
|
+
"hein",
|
|
16794
|
+
"hem",
|
|
16795
|
+
"hemañ",
|
|
16796
|
+
"hen",
|
|
16797
|
+
"hend",
|
|
16798
|
+
"henhont",
|
|
16799
|
+
"henn",
|
|
16800
|
+
"hennezh",
|
|
16801
|
+
"hent",
|
|
16802
|
+
"hep",
|
|
16803
|
+
"hervez",
|
|
16804
|
+
"hervezañ",
|
|
16805
|
+
"hervezi",
|
|
16806
|
+
"hervezo",
|
|
16807
|
+
"hervezoc'h",
|
|
16808
|
+
"hervezomp",
|
|
16809
|
+
"hervezon",
|
|
16810
|
+
"hervezor",
|
|
16811
|
+
"hervezout",
|
|
16812
|
+
"heul",
|
|
16813
|
+
"heuliañ",
|
|
16814
|
+
"hevelep",
|
|
16815
|
+
"heverk",
|
|
16816
|
+
"heñvel",
|
|
16817
|
+
"heñvelat",
|
|
16818
|
+
"heñvelañ",
|
|
16819
|
+
"heñveliñ",
|
|
16820
|
+
"heñveloc'h",
|
|
16821
|
+
"heñvelout",
|
|
16822
|
+
"hi",
|
|
16823
|
+
"hilh",
|
|
16824
|
+
"hini",
|
|
16825
|
+
"hirie",
|
|
16826
|
+
"hirio",
|
|
16827
|
+
"hiziv",
|
|
16828
|
+
"hiziviken",
|
|
16829
|
+
"ho",
|
|
16830
|
+
"hoaliñ",
|
|
16831
|
+
"hoc'h",
|
|
16832
|
+
"hogen",
|
|
16833
|
+
"hogos",
|
|
16834
|
+
"hogozik",
|
|
16835
|
+
"hol",
|
|
16836
|
+
"holl",
|
|
16837
|
+
"holà",
|
|
16838
|
+
"homañ",
|
|
16839
|
+
"hon",
|
|
16840
|
+
"honhont",
|
|
16841
|
+
"honnezh",
|
|
16842
|
+
"hont",
|
|
16843
|
+
"hop",
|
|
16844
|
+
"hopala",
|
|
16845
|
+
"hor",
|
|
16846
|
+
"hou",
|
|
16847
|
+
"houp",
|
|
16848
|
+
"hudu",
|
|
16849
|
+
"hue",
|
|
16850
|
+
"hui",
|
|
16851
|
+
"hum",
|
|
16852
|
+
"hurrah",
|
|
16853
|
+
"i",
|
|
16854
|
+
"i:",
|
|
16855
|
+
"in",
|
|
16856
|
+
"int",
|
|
16857
|
+
"is",
|
|
16858
|
+
"ispisial",
|
|
16859
|
+
"isurzhiet",
|
|
16860
|
+
"it",
|
|
16861
|
+
"ivez",
|
|
16862
|
+
"izelañ",
|
|
16863
|
+
"j:",
|
|
16864
|
+
"just",
|
|
16865
|
+
"k:",
|
|
16866
|
+
"kae",
|
|
16867
|
+
"kaer",
|
|
16868
|
+
"kalon",
|
|
16869
|
+
"kalz",
|
|
16870
|
+
"kant",
|
|
16871
|
+
"kaout",
|
|
16872
|
+
"kar",
|
|
16873
|
+
"kazi",
|
|
16874
|
+
"keid",
|
|
16875
|
+
"kein",
|
|
16876
|
+
"keit",
|
|
16877
|
+
"kel",
|
|
16878
|
+
"kellies",
|
|
16879
|
+
"keloù",
|
|
16880
|
+
"kement",
|
|
16881
|
+
"ken",
|
|
16882
|
+
"kenkent",
|
|
16883
|
+
"kenkoulz",
|
|
16884
|
+
"kenment",
|
|
16885
|
+
"kent",
|
|
16886
|
+
"kentañ",
|
|
16887
|
+
"kentizh",
|
|
16888
|
+
"kentoc'h",
|
|
16889
|
+
"kentre",
|
|
16890
|
+
"ker",
|
|
16891
|
+
"kerkent",
|
|
16892
|
+
"kerz",
|
|
16893
|
+
"kerzh",
|
|
16894
|
+
"ket",
|
|
16895
|
+
"keta",
|
|
16896
|
+
"keñver",
|
|
16897
|
+
"keñverel",
|
|
16898
|
+
"keñverius",
|
|
16899
|
+
"kichen",
|
|
16900
|
+
"kichenik",
|
|
16901
|
+
"kit",
|
|
16902
|
+
"kiz",
|
|
16903
|
+
"klak",
|
|
16904
|
+
"klek",
|
|
16905
|
+
"klik",
|
|
16906
|
+
"komprenet",
|
|
16907
|
+
"komz",
|
|
16908
|
+
"kont",
|
|
16909
|
+
"korf",
|
|
16910
|
+
"korre",
|
|
16911
|
+
"koulskoude",
|
|
16912
|
+
"koulz",
|
|
16913
|
+
"koust",
|
|
16914
|
+
"krak",
|
|
16915
|
+
"krampouezh",
|
|
16916
|
+
"krec'h",
|
|
16917
|
+
"kreiz",
|
|
16918
|
+
"kuit",
|
|
16919
|
+
"kwir",
|
|
16920
|
+
"l:",
|
|
16921
|
+
"la",
|
|
16922
|
+
"laez",
|
|
16923
|
+
"laoskel",
|
|
16924
|
+
"laouen",
|
|
16925
|
+
"lavar",
|
|
16926
|
+
"lavaret",
|
|
16927
|
+
"lavarout",
|
|
16928
|
+
"lec'h",
|
|
16929
|
+
"lein",
|
|
16930
|
+
"leizh",
|
|
16931
|
+
"lerc'h",
|
|
16932
|
+
"leun",
|
|
16933
|
+
"leuskel",
|
|
16934
|
+
"lew",
|
|
16935
|
+
"lies",
|
|
16936
|
+
"liesañ",
|
|
16937
|
+
"lod",
|
|
16938
|
+
"lusk",
|
|
16939
|
+
"lâr",
|
|
16940
|
+
"lârout",
|
|
16941
|
+
"m:",
|
|
16942
|
+
"ma",
|
|
16943
|
+
"ma'z",
|
|
16944
|
+
"mac'h",
|
|
16945
|
+
"mac'hat",
|
|
16946
|
+
"mac'hañ",
|
|
16947
|
+
"mac'hoc'h",
|
|
16948
|
+
"mad",
|
|
16949
|
+
"maez",
|
|
16950
|
+
"maksimal",
|
|
16951
|
+
"mann",
|
|
16952
|
+
"mar",
|
|
16953
|
+
"mard",
|
|
16954
|
+
"marg",
|
|
16955
|
+
"marzh",
|
|
16956
|
+
"mat",
|
|
16957
|
+
"mañ",
|
|
16958
|
+
"me",
|
|
16959
|
+
"memes",
|
|
16960
|
+
"memestra",
|
|
16961
|
+
"merkapl",
|
|
16962
|
+
"mersi",
|
|
16963
|
+
"mes",
|
|
16964
|
+
"mesk",
|
|
16965
|
+
"met",
|
|
16966
|
+
"meur",
|
|
16967
|
+
"mil",
|
|
16968
|
+
"minimal",
|
|
16969
|
+
"moan",
|
|
16970
|
+
"moaniaat",
|
|
16971
|
+
"mod",
|
|
16972
|
+
"mont",
|
|
16973
|
+
"mout",
|
|
16974
|
+
"mui",
|
|
16975
|
+
"muiañ",
|
|
16976
|
+
"muioc'h",
|
|
16977
|
+
"n",
|
|
16978
|
+
"n'",
|
|
16979
|
+
"n:",
|
|
16429
16980
|
"na",
|
|
16430
|
-
"
|
|
16431
|
-
"
|
|
16432
|
-
"
|
|
16433
|
-
"
|
|
16434
|
-
"
|
|
16435
|
-
"
|
|
16981
|
+
"nag",
|
|
16982
|
+
"naontek",
|
|
16983
|
+
"naturel",
|
|
16984
|
+
"nav",
|
|
16985
|
+
"navet",
|
|
16986
|
+
"ne",
|
|
16987
|
+
"nebeudig",
|
|
16988
|
+
"nebeut",
|
|
16989
|
+
"nebeutañ",
|
|
16990
|
+
"nebeutoc'h",
|
|
16991
|
+
"neketa",
|
|
16992
|
+
"nemedoc'h",
|
|
16993
|
+
"nemedomp",
|
|
16994
|
+
"nemedon",
|
|
16995
|
+
"nemedor",
|
|
16996
|
+
"nemedout",
|
|
16997
|
+
"nemet",
|
|
16998
|
+
"nemetañ",
|
|
16999
|
+
"nemete",
|
|
17000
|
+
"nemeti",
|
|
17001
|
+
"nemeto",
|
|
17002
|
+
"nemeur",
|
|
17003
|
+
"neoac'h",
|
|
17004
|
+
"nepell",
|
|
17005
|
+
"nerzh",
|
|
17006
|
+
"nes",
|
|
17007
|
+
"neseser",
|
|
17008
|
+
"netra",
|
|
17009
|
+
"neubeudoù",
|
|
17010
|
+
"neuhe",
|
|
17011
|
+
"neuze",
|
|
17012
|
+
"nevez",
|
|
17013
|
+
"newazh",
|
|
17014
|
+
"nez",
|
|
17015
|
+
"ni",
|
|
17016
|
+
"nikun",
|
|
17017
|
+
"niverus",
|
|
17018
|
+
"nul",
|
|
16436
17019
|
"o",
|
|
16437
|
-
"
|
|
16438
|
-
"
|
|
16439
|
-
"
|
|
16440
|
-
"
|
|
16441
|
-
"
|
|
16442
|
-
"
|
|
16443
|
-
"
|
|
16444
|
-
"
|
|
16445
|
-
"
|
|
16446
|
-
"
|
|
16447
|
-
"
|
|
16448
|
-
"
|
|
16449
|
-
"
|
|
16450
|
-
"
|
|
16451
|
-
"
|
|
16452
|
-
"
|
|
16453
|
-
"
|
|
16454
|
-
"
|
|
16455
|
-
"
|
|
16456
|
-
"
|
|
16457
|
-
"
|
|
16458
|
-
"
|
|
16459
|
-
"
|
|
16460
|
-
"
|
|
17020
|
+
"o:",
|
|
17021
|
+
"oa",
|
|
17022
|
+
"oac'h",
|
|
17023
|
+
"oad",
|
|
17024
|
+
"oamp",
|
|
17025
|
+
"oan",
|
|
17026
|
+
"oant",
|
|
17027
|
+
"oar",
|
|
17028
|
+
"oas",
|
|
17029
|
+
"ober",
|
|
17030
|
+
"oc'h",
|
|
17031
|
+
"oc'ho",
|
|
17032
|
+
"oc'hola",
|
|
17033
|
+
"oc'hpenn",
|
|
17034
|
+
"oh",
|
|
17035
|
+
"ohe",
|
|
17036
|
+
"ollé",
|
|
17037
|
+
"olole",
|
|
17038
|
+
"olé",
|
|
17039
|
+
"omp",
|
|
17040
|
+
"on",
|
|
17041
|
+
"ordin",
|
|
17042
|
+
"ordinal",
|
|
17043
|
+
"ouejoc'h",
|
|
17044
|
+
"ouejod",
|
|
17045
|
+
"ouejomp",
|
|
17046
|
+
"ouejont",
|
|
17047
|
+
"ouejout",
|
|
17048
|
+
"ouek",
|
|
17049
|
+
"ouezas",
|
|
17050
|
+
"ouezi",
|
|
17051
|
+
"ouezimp",
|
|
17052
|
+
"ouezin",
|
|
17053
|
+
"ouezint",
|
|
17054
|
+
"ouezis",
|
|
17055
|
+
"ouezo",
|
|
17056
|
+
"ouezoc'h",
|
|
17057
|
+
"ouezor",
|
|
17058
|
+
"ouf",
|
|
17059
|
+
"oufe",
|
|
17060
|
+
"oufec'h",
|
|
17061
|
+
"oufed",
|
|
17062
|
+
"oufemp",
|
|
17063
|
+
"oufen",
|
|
17064
|
+
"oufent",
|
|
17065
|
+
"oufes",
|
|
17066
|
+
"ouie",
|
|
17067
|
+
"ouiec'h",
|
|
17068
|
+
"ouied",
|
|
17069
|
+
"ouiemp",
|
|
17070
|
+
"ouien",
|
|
17071
|
+
"ouient",
|
|
17072
|
+
"ouies",
|
|
17073
|
+
"ouije",
|
|
17074
|
+
"ouijec'h",
|
|
17075
|
+
"ouijed",
|
|
17076
|
+
"ouijemp",
|
|
17077
|
+
"ouijen",
|
|
17078
|
+
"ouijent",
|
|
17079
|
+
"ouijes",
|
|
17080
|
+
"out",
|
|
17081
|
+
"outañ",
|
|
17082
|
+
"outi",
|
|
17083
|
+
"outo",
|
|
17084
|
+
"ouzer",
|
|
17085
|
+
"ouzh",
|
|
17086
|
+
"ouzhin",
|
|
17087
|
+
"ouzhit",
|
|
17088
|
+
"ouzhoc'h",
|
|
17089
|
+
"ouzhomp",
|
|
17090
|
+
"ouzhor",
|
|
17091
|
+
"ouzhpenn",
|
|
17092
|
+
"ouzhpennik",
|
|
17093
|
+
"ouzoc'h",
|
|
17094
|
+
"ouzomp",
|
|
17095
|
+
"ouzon",
|
|
17096
|
+
"ouzont",
|
|
17097
|
+
"ouzout",
|
|
17098
|
+
"p'",
|
|
17099
|
+
"p:",
|
|
17100
|
+
"pa",
|
|
17101
|
+
"pad",
|
|
17102
|
+
"padal",
|
|
17103
|
+
"paf",
|
|
17104
|
+
"pan",
|
|
17105
|
+
"panevedeoc'h",
|
|
17106
|
+
"panevedo",
|
|
17107
|
+
"panevedomp",
|
|
17108
|
+
"panevedon",
|
|
17109
|
+
"panevedout",
|
|
17110
|
+
"panevet",
|
|
17111
|
+
"panevetañ",
|
|
17112
|
+
"paneveti",
|
|
17113
|
+
"pas",
|
|
17114
|
+
"paseet",
|
|
17115
|
+
"pe",
|
|
17116
|
+
"peadra",
|
|
17117
|
+
"peder",
|
|
17118
|
+
"pedervet",
|
|
17119
|
+
"pedervetvet",
|
|
17120
|
+
"pefe",
|
|
17121
|
+
"pegeit",
|
|
17122
|
+
"pegement",
|
|
17123
|
+
"pegen",
|
|
17124
|
+
"pegiz",
|
|
17125
|
+
"pegoulz",
|
|
17126
|
+
"pehini",
|
|
17127
|
+
"pelec'h",
|
|
17128
|
+
"pell",
|
|
17129
|
+
"pemod",
|
|
17130
|
+
"pemp",
|
|
17131
|
+
"pempved",
|
|
17132
|
+
"pemzek",
|
|
17133
|
+
"penaos",
|
|
17134
|
+
"penn",
|
|
17135
|
+
"peogwir",
|
|
17136
|
+
"peotramant",
|
|
17137
|
+
"pep",
|
|
17138
|
+
"perak",
|
|
17139
|
+
"perc'hennañ",
|
|
17140
|
+
"pergen",
|
|
17141
|
+
"permetiñ",
|
|
17142
|
+
"peseurt",
|
|
17143
|
+
"pet",
|
|
17144
|
+
"petiaoul",
|
|
17145
|
+
"petoare",
|
|
17146
|
+
"petra",
|
|
17147
|
+
"peur",
|
|
17148
|
+
"peurgetket",
|
|
17149
|
+
"peurheñvel",
|
|
17150
|
+
"peurliesañ",
|
|
17151
|
+
"peurvuiañ",
|
|
17152
|
+
"peus",
|
|
17153
|
+
"peustost",
|
|
17154
|
+
"peuz",
|
|
17155
|
+
"pevar",
|
|
17156
|
+
"pevare",
|
|
17157
|
+
"pevarevet",
|
|
17158
|
+
"pevarzek",
|
|
17159
|
+
"pez",
|
|
17160
|
+
"peze",
|
|
17161
|
+
"pezh",
|
|
17162
|
+
"pff",
|
|
17163
|
+
"pfft",
|
|
17164
|
+
"pfut",
|
|
17165
|
+
"picher",
|
|
17166
|
+
"pif",
|
|
17167
|
+
"pife",
|
|
17168
|
+
"pign",
|
|
17169
|
+
"pije",
|
|
17170
|
+
"pikol",
|
|
17171
|
+
"pitiaoul",
|
|
17172
|
+
"piv",
|
|
17173
|
+
"plaouf",
|
|
17174
|
+
"plok",
|
|
17175
|
+
"plouf",
|
|
17176
|
+
"po",
|
|
17177
|
+
"poa",
|
|
17178
|
+
"poelladus",
|
|
17179
|
+
"pof",
|
|
17180
|
+
"pok",
|
|
17181
|
+
"posupl",
|
|
17182
|
+
"pouah",
|
|
17183
|
+
"pourc'henn",
|
|
17184
|
+
"prest",
|
|
17185
|
+
"prestik",
|
|
17186
|
+
"prim",
|
|
17187
|
+
"prin",
|
|
17188
|
+
"provostapl",
|
|
17189
|
+
"pst",
|
|
17190
|
+
"pu",
|
|
17191
|
+
"pur",
|
|
17192
|
+
"r:",
|
|
17193
|
+
"ra",
|
|
17194
|
+
"rae",
|
|
17195
|
+
"raec'h",
|
|
17196
|
+
"raed",
|
|
17197
|
+
"raemp",
|
|
17198
|
+
"raen",
|
|
17199
|
+
"raent",
|
|
17200
|
+
"raes",
|
|
17201
|
+
"rafe",
|
|
17202
|
+
"rafec'h",
|
|
17203
|
+
"rafed",
|
|
17204
|
+
"rafemp",
|
|
17205
|
+
"rafen",
|
|
17206
|
+
"rafent",
|
|
17207
|
+
"rafes",
|
|
17208
|
+
"rag",
|
|
17209
|
+
"raimp",
|
|
17210
|
+
"raint",
|
|
17211
|
+
"raio",
|
|
17212
|
+
"raje",
|
|
17213
|
+
"rajec'h",
|
|
17214
|
+
"rajed",
|
|
17215
|
+
"rajemp",
|
|
17216
|
+
"rajen",
|
|
17217
|
+
"rajent",
|
|
17218
|
+
"rajes",
|
|
17219
|
+
"rak",
|
|
17220
|
+
"ral",
|
|
17221
|
+
"ran",
|
|
17222
|
+
"rankout",
|
|
17223
|
+
"raok",
|
|
17224
|
+
"razh",
|
|
17225
|
+
"re",
|
|
17226
|
+
"reas",
|
|
17227
|
+
"reer",
|
|
17228
|
+
"regennoù",
|
|
17229
|
+
"reiñ",
|
|
17230
|
+
"rejoc'h",
|
|
17231
|
+
"rejod",
|
|
17232
|
+
"rejomp",
|
|
17233
|
+
"rejont",
|
|
17234
|
+
"rejout",
|
|
17235
|
+
"rener",
|
|
17236
|
+
"rentañ",
|
|
17237
|
+
"reoc'h",
|
|
17238
|
+
"reomp",
|
|
17239
|
+
"reont",
|
|
17240
|
+
"reor",
|
|
17241
|
+
"reot",
|
|
17242
|
+
"resis",
|
|
17243
|
+
"ret",
|
|
17244
|
+
"reve",
|
|
17245
|
+
"rez",
|
|
17246
|
+
"ri",
|
|
17247
|
+
"rik",
|
|
17248
|
+
"rin",
|
|
17249
|
+
"ris",
|
|
17250
|
+
"rit",
|
|
17251
|
+
"rouez",
|
|
17252
|
+
"s:",
|
|
17253
|
+
"sac'h",
|
|
17254
|
+
"sant",
|
|
17255
|
+
"sav",
|
|
17256
|
+
"sañset",
|
|
16461
17257
|
"se",
|
|
16462
|
-
"
|
|
16463
|
-
"
|
|
16464
|
-
"
|
|
16465
|
-
"
|
|
16466
|
-
"
|
|
16467
|
-
"
|
|
16468
|
-
"
|
|
16469
|
-
"
|
|
16470
|
-
"
|
|
17258
|
+
"sed",
|
|
17259
|
+
"seitek",
|
|
17260
|
+
"seizh",
|
|
17261
|
+
"seizhvet",
|
|
17262
|
+
"sell",
|
|
17263
|
+
"sellit",
|
|
17264
|
+
"ser",
|
|
17265
|
+
"setu",
|
|
17266
|
+
"seul",
|
|
17267
|
+
"seurt",
|
|
17268
|
+
"siwazh",
|
|
17269
|
+
"skignañ",
|
|
17270
|
+
"skoaz",
|
|
17271
|
+
"skouer",
|
|
17272
|
+
"sort",
|
|
17273
|
+
"souden",
|
|
17274
|
+
"souvitañ",
|
|
17275
|
+
"soñj",
|
|
17276
|
+
"speriañ",
|
|
17277
|
+
"spririñ",
|
|
17278
|
+
"stad",
|
|
17279
|
+
"stlabezañ",
|
|
17280
|
+
"stop",
|
|
17281
|
+
"stranañ",
|
|
17282
|
+
"strewiñ",
|
|
17283
|
+
"strishaat",
|
|
17284
|
+
"stumm",
|
|
17285
|
+
"sujed",
|
|
17286
|
+
"surtoud",
|
|
17287
|
+
"t:",
|
|
17288
|
+
"ta",
|
|
17289
|
+
"taer",
|
|
17290
|
+
"tailh",
|
|
17291
|
+
"tak",
|
|
16471
17292
|
"tal",
|
|
16472
|
-
"
|
|
16473
|
-
"
|
|
17293
|
+
"talvoudegezh",
|
|
17294
|
+
"tamm",
|
|
17295
|
+
"tanav",
|
|
17296
|
+
"taol",
|
|
17297
|
+
"te",
|
|
17298
|
+
"techet",
|
|
17299
|
+
"teir",
|
|
17300
|
+
"teirvet",
|
|
17301
|
+
"telt",
|
|
17302
|
+
"teltenn",
|
|
16474
17303
|
"teus",
|
|
16475
|
-
"
|
|
16476
|
-
"
|
|
16477
|
-
"
|
|
16478
|
-
"
|
|
16479
|
-
"
|
|
16480
|
-
"
|
|
16481
|
-
"
|
|
16482
|
-
"
|
|
16483
|
-
"
|
|
16484
|
-
"
|
|
16485
|
-
"
|
|
17304
|
+
"teut",
|
|
17305
|
+
"teuteu",
|
|
17306
|
+
"ti",
|
|
17307
|
+
"tik",
|
|
17308
|
+
"toa",
|
|
17309
|
+
"tok",
|
|
17310
|
+
"tost",
|
|
17311
|
+
"tostig",
|
|
17312
|
+
"toud",
|
|
17313
|
+
"touesk",
|
|
17314
|
+
"touez",
|
|
17315
|
+
"toull",
|
|
17316
|
+
"tra",
|
|
17317
|
+
"trantenn",
|
|
17318
|
+
"traoñ",
|
|
17319
|
+
"trawalc'h",
|
|
17320
|
+
"tre",
|
|
17321
|
+
"trede",
|
|
17322
|
+
"tregont",
|
|
17323
|
+
"tremenet",
|
|
17324
|
+
"tri",
|
|
17325
|
+
"trivet",
|
|
17326
|
+
"triwec'h",
|
|
17327
|
+
"trizek",
|
|
17328
|
+
"tro",
|
|
17329
|
+
"trugarez",
|
|
17330
|
+
"trumm",
|
|
17331
|
+
"tsoin",
|
|
17332
|
+
"tsouin",
|
|
17333
|
+
"tu",
|
|
17334
|
+
"tud",
|
|
17335
|
+
"u:",
|
|
17336
|
+
"ugent",
|
|
17337
|
+
"uhel",
|
|
17338
|
+
"uhelañ",
|
|
17339
|
+
"ul",
|
|
17340
|
+
"un",
|
|
17341
|
+
"unan",
|
|
17342
|
+
"unanez",
|
|
17343
|
+
"unanig",
|
|
17344
|
+
"unnek",
|
|
17345
|
+
"unnekvet",
|
|
17346
|
+
"ur",
|
|
17347
|
+
"urzh",
|
|
17348
|
+
"us",
|
|
17349
|
+
"v:",
|
|
17350
|
+
"va",
|
|
17351
|
+
"vale",
|
|
17352
|
+
"van",
|
|
17353
|
+
"vare",
|
|
17354
|
+
"vat",
|
|
17355
|
+
"vefe",
|
|
17356
|
+
"vefec'h",
|
|
17357
|
+
"vefed",
|
|
17358
|
+
"vefemp",
|
|
17359
|
+
"vefen",
|
|
17360
|
+
"vefent",
|
|
17361
|
+
"vefes",
|
|
17362
|
+
"vesk",
|
|
17363
|
+
"vete",
|
|
17364
|
+
"vez",
|
|
17365
|
+
"vezan",
|
|
17366
|
+
"vezañ",
|
|
17367
|
+
"veze",
|
|
17368
|
+
"vezec'h",
|
|
17369
|
+
"vezed",
|
|
17370
|
+
"vezemp",
|
|
17371
|
+
"vezen",
|
|
17372
|
+
"vezent",
|
|
17373
|
+
"vezer",
|
|
17374
|
+
"vezes",
|
|
17375
|
+
"vezez",
|
|
17376
|
+
"vezit",
|
|
17377
|
+
"vezomp",
|
|
17378
|
+
"vezont",
|
|
17379
|
+
"vi",
|
|
17380
|
+
"vihan",
|
|
17381
|
+
"vihanañ",
|
|
17382
|
+
"vije",
|
|
17383
|
+
"vijec'h",
|
|
17384
|
+
"vijed",
|
|
17385
|
+
"vijemp",
|
|
17386
|
+
"vijen",
|
|
17387
|
+
"vijent",
|
|
17388
|
+
"vijes",
|
|
17389
|
+
"viken",
|
|
17390
|
+
"vimp",
|
|
17391
|
+
"vin",
|
|
17392
|
+
"vint",
|
|
17393
|
+
"vior",
|
|
17394
|
+
"viot",
|
|
17395
|
+
"virviken",
|
|
17396
|
+
"viskoazh",
|
|
17397
|
+
"vlan",
|
|
17398
|
+
"vlaou",
|
|
17399
|
+
"vo",
|
|
17400
|
+
"vod",
|
|
17401
|
+
"voe",
|
|
17402
|
+
"voec'h",
|
|
17403
|
+
"voed",
|
|
17404
|
+
"voemp",
|
|
17405
|
+
"voen",
|
|
17406
|
+
"voent",
|
|
17407
|
+
"voes",
|
|
17408
|
+
"vont",
|
|
17409
|
+
"vostapl",
|
|
17410
|
+
"vrac'h",
|
|
17411
|
+
"vrasañ",
|
|
17412
|
+
"vremañ",
|
|
17413
|
+
"w:",
|
|
17414
|
+
"walc'h",
|
|
17415
|
+
"war",
|
|
17416
|
+
"warnañ",
|
|
17417
|
+
"warni",
|
|
17418
|
+
"warno",
|
|
17419
|
+
"warnoc'h",
|
|
17420
|
+
"warnomp",
|
|
17421
|
+
"warnon",
|
|
17422
|
+
"warnor",
|
|
17423
|
+
"warnout",
|
|
17424
|
+
"wazh",
|
|
17425
|
+
"wech",
|
|
17426
|
+
"wechoù",
|
|
17427
|
+
"well",
|
|
17428
|
+
"y:",
|
|
17429
|
+
"you",
|
|
17430
|
+
"youadenn",
|
|
17431
|
+
"youc'hadenn",
|
|
17432
|
+
"youc'hou",
|
|
17433
|
+
"z:",
|
|
17434
|
+
"za",
|
|
17435
|
+
"zan",
|
|
17436
|
+
"zaw",
|
|
17437
|
+
"zeu",
|
|
17438
|
+
"zi",
|
|
17439
|
+
"ziar",
|
|
17440
|
+
"zigarez",
|
|
17441
|
+
"ziget",
|
|
17442
|
+
"zindan",
|
|
17443
|
+
"zioc'h",
|
|
17444
|
+
"ziouzh",
|
|
17445
|
+
"zirak",
|
|
17446
|
+
"zivout",
|
|
17447
|
+
"ziwar",
|
|
17448
|
+
"ziwezhañ",
|
|
17449
|
+
"zo",
|
|
17450
|
+
"zoken",
|
|
17451
|
+
"zokenoc'h",
|
|
17452
|
+
"zouesk",
|
|
17453
|
+
"zouez",
|
|
17454
|
+
"zro",
|
|
17455
|
+
"zu"
|
|
16486
17456
|
];
|
|
16487
17457
|
const bul = [
|
|
16488
17458
|
"а",
|
|
@@ -28138,22 +29108,32 @@ flowchart TD
|
|
|
28138
29108
|
"şöyle"
|
|
28139
29109
|
];
|
|
28140
29110
|
const ukr = [
|
|
29111
|
+
"а",
|
|
29112
|
+
"або",
|
|
28141
29113
|
"авжеж",
|
|
28142
29114
|
"адже",
|
|
29115
|
+
"аж",
|
|
28143
29116
|
"але",
|
|
29117
|
+
"ані",
|
|
28144
29118
|
"б",
|
|
28145
29119
|
"без",
|
|
29120
|
+
"би",
|
|
29121
|
+
"бо",
|
|
28146
29122
|
"був",
|
|
28147
29123
|
"була",
|
|
28148
29124
|
"були",
|
|
28149
29125
|
"було",
|
|
28150
29126
|
"бути",
|
|
28151
29127
|
"більш",
|
|
29128
|
+
"в",
|
|
28152
29129
|
"вам",
|
|
29130
|
+
"вами",
|
|
28153
29131
|
"вас",
|
|
28154
29132
|
"весь",
|
|
29133
|
+
"вже",
|
|
28155
29134
|
"вздовж",
|
|
28156
29135
|
"ви",
|
|
29136
|
+
"від",
|
|
28157
29137
|
"вниз",
|
|
28158
29138
|
"внизу",
|
|
28159
29139
|
"вона",
|
|
@@ -28162,55 +29142,138 @@ flowchart TD
|
|
|
28162
29142
|
"все",
|
|
28163
29143
|
"всередині",
|
|
28164
29144
|
"всіх",
|
|
29145
|
+
"вся",
|
|
28165
29146
|
"від",
|
|
28166
29147
|
"він",
|
|
28167
29148
|
"да",
|
|
28168
29149
|
"давай",
|
|
28169
29150
|
"давати",
|
|
28170
29151
|
"де",
|
|
29152
|
+
"десь",
|
|
28171
29153
|
"дещо",
|
|
28172
29154
|
"для",
|
|
28173
29155
|
"до",
|
|
29156
|
+
"є",
|
|
29157
|
+
"ж",
|
|
29158
|
+
"же",
|
|
28174
29159
|
"з",
|
|
29160
|
+
"за",
|
|
28175
29161
|
"завжди",
|
|
28176
29162
|
"замість",
|
|
29163
|
+
"зі",
|
|
29164
|
+
"і",
|
|
29165
|
+
"із",
|
|
29166
|
+
"інших",
|
|
29167
|
+
"її",
|
|
29168
|
+
"їй",
|
|
29169
|
+
"їм",
|
|
29170
|
+
"їх",
|
|
28177
29171
|
"й",
|
|
29172
|
+
"його",
|
|
29173
|
+
"йому",
|
|
28178
29174
|
"коли",
|
|
28179
29175
|
"ледве",
|
|
29176
|
+
"лиш",
|
|
28180
29177
|
"майже",
|
|
29178
|
+
"мене",
|
|
29179
|
+
"мені",
|
|
28181
29180
|
"ми",
|
|
29181
|
+
"між",
|
|
29182
|
+
"мій",
|
|
29183
|
+
"мною",
|
|
29184
|
+
"мов",
|
|
29185
|
+
"мого",
|
|
29186
|
+
"моєї",
|
|
29187
|
+
"моє",
|
|
29188
|
+
"може",
|
|
29189
|
+
"мої",
|
|
29190
|
+
"моїх",
|
|
29191
|
+
"моя",
|
|
29192
|
+
"на",
|
|
29193
|
+
"над",
|
|
28182
29194
|
"навколо",
|
|
28183
29195
|
"навіть",
|
|
28184
29196
|
"нам",
|
|
29197
|
+
"нами",
|
|
29198
|
+
"нас",
|
|
29199
|
+
"наче",
|
|
29200
|
+
"наш",
|
|
29201
|
+
"не",
|
|
29202
|
+
"нє",
|
|
29203
|
+
"неї",
|
|
29204
|
+
"нема",
|
|
29205
|
+
"немов",
|
|
29206
|
+
"неначе",
|
|
29207
|
+
"нею",
|
|
29208
|
+
"ним",
|
|
29209
|
+
"ними",
|
|
29210
|
+
"них",
|
|
29211
|
+
"ні",
|
|
29212
|
+
"ніби",
|
|
29213
|
+
"ніщо",
|
|
29214
|
+
"нього",
|
|
29215
|
+
"о",
|
|
29216
|
+
"ось",
|
|
28185
29217
|
"от",
|
|
28186
29218
|
"отже",
|
|
28187
29219
|
"отож",
|
|
29220
|
+
"під",
|
|
29221
|
+
"по",
|
|
28188
29222
|
"поза",
|
|
28189
29223
|
"про",
|
|
28190
29224
|
"під",
|
|
29225
|
+
"сам",
|
|
29226
|
+
"сама",
|
|
29227
|
+
"свій",
|
|
29228
|
+
"свої",
|
|
29229
|
+
"своя",
|
|
29230
|
+
"свою",
|
|
29231
|
+
"себе",
|
|
29232
|
+
"собі",
|
|
28191
29233
|
"та",
|
|
29234
|
+
"там",
|
|
28192
29235
|
"так",
|
|
29236
|
+
"така",
|
|
28193
29237
|
"такий",
|
|
28194
29238
|
"також",
|
|
29239
|
+
"твій",
|
|
29240
|
+
"твого",
|
|
29241
|
+
"твоєї",
|
|
29242
|
+
"твої",
|
|
29243
|
+
"твоя",
|
|
28195
29244
|
"те",
|
|
29245
|
+
"тебе",
|
|
28196
29246
|
"ти",
|
|
29247
|
+
"ті",
|
|
29248
|
+
"тільки",
|
|
29249
|
+
"то",
|
|
29250
|
+
"тобі",
|
|
29251
|
+
"тобою",
|
|
28197
29252
|
"тобто",
|
|
29253
|
+
"тоді",
|
|
28198
29254
|
"тож",
|
|
29255
|
+
"той",
|
|
28199
29256
|
"тощо",
|
|
29257
|
+
"тут",
|
|
29258
|
+
"у",
|
|
29259
|
+
"хіба",
|
|
29260
|
+
"хоч",
|
|
28200
29261
|
"хоча",
|
|
28201
29262
|
"це",
|
|
28202
29263
|
"цей",
|
|
29264
|
+
"ці",
|
|
29265
|
+
"ця",
|
|
28203
29266
|
"чи",
|
|
28204
29267
|
"чого",
|
|
29268
|
+
"ще",
|
|
28205
29269
|
"що",
|
|
29270
|
+
"щоб",
|
|
29271
|
+
"щось",
|
|
29272
|
+
"я",
|
|
28206
29273
|
"як",
|
|
29274
|
+
"яка",
|
|
28207
29275
|
"який",
|
|
28208
|
-
"якої"
|
|
28209
|
-
"є",
|
|
28210
|
-
"із",
|
|
28211
|
-
"інших",
|
|
28212
|
-
"їх",
|
|
28213
|
-
"її"
|
|
29276
|
+
"якої"
|
|
28214
29277
|
];
|
|
28215
29278
|
const urd = [
|
|
28216
29279
|
"آئی",
|
|
@@ -31841,6 +32904,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
31841
32904
|
const [vars, setVars] = React.useState({
|
|
31842
32905
|
collection: collectionName,
|
|
31843
32906
|
relativePath: "",
|
|
32907
|
+
relativePathWithoutExtension: "",
|
|
31844
32908
|
newRelativePath: "",
|
|
31845
32909
|
filterField: "",
|
|
31846
32910
|
folderName: "",
|
|
@@ -31882,6 +32946,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
31882
32946
|
...old,
|
|
31883
32947
|
collection: collectionName,
|
|
31884
32948
|
relativePath: "",
|
|
32949
|
+
relativePathWithoutExtension: "",
|
|
31885
32950
|
newRelativePath: "",
|
|
31886
32951
|
filterField: "",
|
|
31887
32952
|
startsWith: "",
|
|
@@ -31907,6 +32972,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
31907
32972
|
collectionName === vars.collection ? vars : {
|
|
31908
32973
|
collection: collectionName,
|
|
31909
32974
|
relativePath: "",
|
|
32975
|
+
relativePathWithoutExtension: "",
|
|
31910
32976
|
newRelativePath: "",
|
|
31911
32977
|
filterField: "",
|
|
31912
32978
|
startsWith: "",
|
|
@@ -32008,7 +33074,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
32008
33074
|
), renameModalOpen && /* @__PURE__ */ React.createElement(
|
|
32009
33075
|
RenameModal,
|
|
32010
33076
|
{
|
|
32011
|
-
filename: vars.
|
|
33077
|
+
filename: vars.relativePathWithoutExtension,
|
|
32012
33078
|
newRelativePath: vars.newRelativePath,
|
|
32013
33079
|
setNewRelativePath: (newRelativePath) => {
|
|
32014
33080
|
setVars((vars2) => {
|
|
@@ -32329,6 +33395,9 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
32329
33395
|
setVars((old) => ({
|
|
32330
33396
|
...old,
|
|
32331
33397
|
collection: collectionName,
|
|
33398
|
+
relativePathWithoutExtension: document2.node._sys.breadcrumbs.join(
|
|
33399
|
+
"/"
|
|
33400
|
+
),
|
|
32332
33401
|
relativePath: document2.node._sys.breadcrumbs.join(
|
|
32333
33402
|
"/"
|
|
32334
33403
|
) + document2.node._sys.extension,
|
|
@@ -32351,6 +33420,9 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
32351
33420
|
setVars((old) => ({
|
|
32352
33421
|
...old,
|
|
32353
33422
|
collection: collectionName,
|
|
33423
|
+
relativePathWithoutExtension: document2.node._sys.breadcrumbs.join(
|
|
33424
|
+
"/"
|
|
33425
|
+
),
|
|
32354
33426
|
relativePath: document2.node._sys.breadcrumbs.join(
|
|
32355
33427
|
"/"
|
|
32356
33428
|
) + document2.node._sys.extension,
|
|
@@ -32563,7 +33635,7 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
32563
33635
|
newRelativePath,
|
|
32564
33636
|
setNewRelativePath
|
|
32565
33637
|
}) => {
|
|
32566
|
-
return /* @__PURE__ */ React.createElement(Modal, null, /* @__PURE__ */ React.createElement(PopupModal, null, /* @__PURE__ */ React.createElement(ModalHeader, { close: close2 }, "Rename ", filename), /* @__PURE__ */ React.createElement(ModalBody, { padded: true }, /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", { className: "mb-4" }, "Are you sure you want to rename ", /* @__PURE__ */ React.createElement("strong", null, filename), "?
|
|
33638
|
+
return /* @__PURE__ */ React.createElement(Modal, null, /* @__PURE__ */ React.createElement(PopupModal, null, /* @__PURE__ */ React.createElement(ModalHeader, { close: close2 }, "Rename ", filename), /* @__PURE__ */ React.createElement(ModalBody, { padded: true }, /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", { className: "mb-4" }, "Are you sure you want to rename ", /* @__PURE__ */ React.createElement("strong", null, filename), "?"), /* @__PURE__ */ React.createElement(
|
|
32567
33639
|
BaseTextField,
|
|
32568
33640
|
{
|
|
32569
33641
|
placeholder: "Enter a new name for the document's file",
|
|
@@ -32578,7 +33650,8 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
32578
33650
|
onClick: async () => {
|
|
32579
33651
|
await renameFunc();
|
|
32580
33652
|
close2();
|
|
32581
|
-
}
|
|
33653
|
+
},
|
|
33654
|
+
disabled: !newRelativePath || newRelativePath === filename
|
|
32582
33655
|
},
|
|
32583
33656
|
"Rename"
|
|
32584
33657
|
))));
|
|
@@ -33249,15 +34322,24 @@ This will work when developing locally but NOT when deployed to production.
|
|
|
33249
34322
|
}
|
|
33250
34323
|
}
|
|
33251
34324
|
if (state === "creatingPR") {
|
|
33252
|
-
|
|
33253
|
-
|
|
33254
|
-
|
|
33255
|
-
|
|
33256
|
-
|
|
33257
|
-
|
|
33258
|
-
|
|
33259
|
-
|
|
33260
|
-
|
|
34325
|
+
try {
|
|
34326
|
+
const foo = await tinaApi.createPullRequest({
|
|
34327
|
+
baseBranch,
|
|
34328
|
+
branch,
|
|
34329
|
+
title: `${branch.replace("tina/", "").replace("-", " ")} (PR from TinaCMS)`
|
|
34330
|
+
});
|
|
34331
|
+
console.log("PR created", foo);
|
|
34332
|
+
cms.alerts.success("Pull request created.");
|
|
34333
|
+
localStorage.setItem("tina.createBranchState", "done");
|
|
34334
|
+
setState("done");
|
|
34335
|
+
} catch (e) {
|
|
34336
|
+
console.error(e);
|
|
34337
|
+
cms.alerts.error("Failed to create PR");
|
|
34338
|
+
setErrorMessage(
|
|
34339
|
+
"Failed to create PR, please try again. If the problem persists please contact support."
|
|
34340
|
+
);
|
|
34341
|
+
setState("error");
|
|
34342
|
+
}
|
|
33261
34343
|
}
|
|
33262
34344
|
if (state === "done") {
|
|
33263
34345
|
window.location.href = back;
|