@frontify/fondue 12.0.0-beta.19 → 12.0.0-beta.20
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/components/OverflowMenu/OverflowMenuItem.es.js +3 -2
- package/dist/components/OverflowMenu/OverflowMenuItem.es.js.map +1 -1
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/CustomFloatingLink.es.js +2 -4
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/CustomFloatingLink.es.js.map +1 -1
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/FloatingLink.es.js +6 -13
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/FloatingLink.es.js.map +1 -1
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/InsertLinkModal/index.d.ts +0 -1
- package/dist/components/RichTextEditor/serializer/utils/serializeLeafToHtml.es.js +1 -1
- package/dist/components/RichTextEditor/serializer/utils/serializeLeafToHtml.es.js.map +1 -1
- package/dist/components/RichTextEditor/serializer/utils/serializeNodeToHtmlRecursive.es.js +1 -1
- package/dist/components/RichTextEditor/serializer/utils/serializeNodeToHtmlRecursive.es.js.map +1 -1
- package/dist/components/ScrollWrapper/ScrollWrapper.es.js +3 -2
- package/dist/components/ScrollWrapper/ScrollWrapper.es.js.map +1 -1
- package/dist/components/Table/TableCell.es.js +3 -2
- package/dist/components/Table/TableCell.es.js.map +1 -1
- package/dist/components/Table/TableColumnHeader.es.js +3 -2
- package/dist/components/Table/TableColumnHeader.es.js.map +1 -1
- package/dist/components/Tree/utils/mocks.es.js +1 -0
- package/dist/components/Tree/utils/mocks.es.js.map +1 -1
- package/dist/index.cjs.js +3 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.umd.js +3 -15
- package/dist/index.umd.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -1
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.d.ts +0 -2
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.es.js +0 -38
- package/dist/components/RichTextEditor/Plugins/LinkPlugin/FloatingLink/InsertLinkModal/useFloatingLinkInsert.es.js.map +0 -1
- package/dist/node_modules/@udecode/plate-core/dist/index.es.es.js +0 -1482
- package/dist/node_modules/@udecode/plate-core/dist/index.es.es.js.map +0 -1
- package/dist/node_modules/@udecode/plate-floating/dist/index.es.es.js +0 -21
- package/dist/node_modules/@udecode/plate-floating/dist/index.es.es.js.map +0 -1
- package/dist/node_modules/@udecode/zustood/dist/index.es.es.js +0 -439
- package/dist/node_modules/@udecode/zustood/dist/index.es.es.js.map +0 -1
- package/dist/node_modules/@udecode/zustood/node_modules/react-tracked/dist/index.modern.es.js +0 -21
- package/dist/node_modules/@udecode/zustood/node_modules/react-tracked/dist/index.modern.es.js.map +0 -1
- package/dist/node_modules/escape-html/index.es.js +0 -41
- package/dist/node_modules/escape-html/index.es.js.map +0 -1
- package/dist/node_modules/hotkeys-js/dist/hotkeys.esm.es.js +0 -275
- package/dist/node_modules/hotkeys-js/dist/hotkeys.esm.es.js.map +0 -1
- package/dist/node_modules/jotai/esm/index.es.js +0 -418
- package/dist/node_modules/jotai/esm/index.es.js.map +0 -1
- package/dist/node_modules/proxy-compare/dist/index.modern.es.js +0 -74
- package/dist/node_modules/proxy-compare/dist/index.modern.es.js.map +0 -1
- package/dist/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.es.js +0 -7
- package/dist/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.es.js.map +0 -1
- package/dist/node_modules/zustand/esm/index.es.js +0 -62
- package/dist/node_modules/zustand/esm/index.es.js.map +0 -1
- package/dist/node_modules/zustand/esm/middleware.es.js +0 -219
- package/dist/node_modules/zustand/esm/middleware.es.js.map +0 -1
- package/dist/node_modules/zustand/esm/vanilla.es.js +0 -26
- package/dist/node_modules/zustand/esm/vanilla.es.js.map +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import "../../plate-core/dist/index.es.es.js";
|
|
3
|
-
import "slate-react";
|
|
4
|
-
const e = () => ({
|
|
5
|
-
width: 0,
|
|
6
|
-
height: 0,
|
|
7
|
-
x: 0,
|
|
8
|
-
y: 0,
|
|
9
|
-
top: -9999,
|
|
10
|
-
left: -9999,
|
|
11
|
-
right: 9999,
|
|
12
|
-
bottom: 9999
|
|
13
|
-
}), c = () => {
|
|
14
|
-
const t = window.getSelection();
|
|
15
|
-
return !t || t.rangeCount < 1 ? e() : t.getRangeAt(0).getBoundingClientRect();
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
e as getDefaultBoundingClientRect,
|
|
19
|
-
c as getSelectionBoundingClientRect
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=index.es.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.es.js","sources":["../../../../../node_modules/@udecode/plate-floating/dist/index.es.js"],"sourcesContent":["import { useFloating, offset, flip, shift, autoUpdate, useInteractions } from '@floating-ui/react-dom-interactions';\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, safePolygon, shift, size, useClick, useDelayGroup, useDelayGroupContext, useDismiss, useFloating, useFloatingNodeId, useFloatingParentNodeId, useFloatingPortalNode, useFloatingTree, useFocus, useHover, useId, useInteractions, useListNavigation, useRole, useTypeahead } from '@floating-ui/react-dom-interactions';\nimport React, { cloneElement, useRef, useState, useLayoutEffect } from 'react';\nimport { createElementAs, useEditorState, isCollapsed, toDOMRange } from '@udecode/plate-core';\nimport { useReadOnly, useSelected } from 'slate-react';\n\nconst getDefaultBoundingClientRect = () => ({\n width: 0,\n height: 0,\n x: 0,\n y: 0,\n top: -9999,\n left: -9999,\n right: 9999,\n bottom: 9999\n});\nconst createVirtualElement = () => ({\n getBoundingClientRect: getDefaultBoundingClientRect\n});\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\n/**\n * Popover displayed over children, rendering `content`\n */\nconst Popover = ({\n floatingOptions,\n children,\n content,\n ...props\n}) => {\n const {\n x,\n y,\n reference,\n floating,\n strategy\n } = useFloating({\n middleware: [offset(12), flip({\n padding: 96\n }), shift()],\n whileElementsMounted: autoUpdate,\n ...floatingOptions\n });\n const {\n getReferenceProps\n } = useInteractions();\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/cloneElement(children, getReferenceProps({\n ref: reference,\n ...children.props\n })), (floatingOptions === null || floatingOptions === void 0 ? void 0 : floatingOptions.open) && createElementAs('div', {\n ref: floating,\n style: {\n position: strategy,\n top: y !== null && y !== void 0 ? y : 0,\n left: x !== null && x !== void 0 ? x : 0,\n zIndex: 1\n },\n contentEditable: false,\n children: content,\n ...props\n }));\n};\n\n/**\n * Popover displayed over an element if:\n * - not read-only\n * - element selected\n */\n\nconst ElementPopover = ({\n floatingOptions = {},\n ...props\n}) => {\n const readOnly = useReadOnly();\n const selected = useSelected();\n const editor = useEditorState();\n return /*#__PURE__*/React.createElement(Popover, _extends({\n floatingOptions: {\n open: !readOnly && selected && isCollapsed(editor.selection),\n ...floatingOptions\n }\n }, props));\n};\n\n/**\n * Get bounding client rect by slate range\n */\n\nconst getRangeBoundingClientRect = (editor, at) => {\n if (!at) return getDefaultBoundingClientRect();\n const domRange = toDOMRange(editor, at);\n if (!domRange) return getDefaultBoundingClientRect();\n return domRange.getBoundingClientRect();\n};\n\n/**\n * Get bounding client rect of the window selection\n */\n\nconst getSelectionBoundingClientRect = () => {\n const domSelection = window.getSelection();\n\n if (!domSelection || domSelection.rangeCount < 1) {\n return getDefaultBoundingClientRect();\n }\n\n const domRange = domSelection.getRangeAt(0);\n return domRange.getBoundingClientRect();\n};\n\n/**\n * `useFloating` with a controlled virtual element. Used to follow cursor position.\n *\n * Default options:\n * - `whileElementsMounted: autoUpdate`\n *\n * Additional options:\n * - `getBoundingClientRect` to get the bounding client rect.\n * - `hidden` to hide the floating element\n *\n * Additional returns:\n * - `style` to apply to the floating element\n * - `virtualElementRef`\n *\n * @see useFloating\n * @see https://floating-ui.com/docs/react-dom#virtual-element\n */\nconst useVirtualFloating = ({\n getBoundingClientRect = getSelectionBoundingClientRect,\n ...floatingOptions\n}) => {\n const virtualElementRef = useRef(createVirtualElement());\n const [visible, setVisible] = useState(true);\n const floatingResult = useFloating({\n // update on scroll and resize\n whileElementsMounted: autoUpdate,\n ...floatingOptions\n });\n const {\n reference,\n middlewareData,\n strategy,\n x,\n y,\n update\n } = floatingResult;\n useLayoutEffect(() => {\n virtualElementRef.current.getBoundingClientRect = getBoundingClientRect;\n }, [getBoundingClientRect, update]);\n useLayoutEffect(() => {\n reference(virtualElementRef.current);\n }, [reference]);\n useLayoutEffect(() => {\n if (!(middlewareData !== null && middlewareData !== void 0 && middlewareData.hide)) return;\n const {\n referenceHidden\n } = middlewareData.hide;\n setVisible(!referenceHidden);\n }, [middlewareData.hide]);\n return { ...floatingResult,\n virtualElementRef,\n style: {\n position: strategy,\n top: y !== null && y !== void 0 ? y : 0,\n left: x !== null && x !== void 0 ? x : 0,\n display: floatingOptions.open === false ? 'none' : undefined,\n visibility: !visible ? 'hidden' : undefined\n }\n };\n};\n\nexport { ElementPopover, Popover, createVirtualElement, getDefaultBoundingClientRect, getRangeBoundingClientRect, getSelectionBoundingClientRect, useVirtualFloating };\n//# sourceMappingURL=index.es.js.map\n"],"names":[],"mappings":";;;AAMK,MAAC,IAA+B,MAAO;AAAA,EAC1C,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,GAAG;AAAA,EACH,GAAG;AAAA,EACH,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV,IAoGM,IAAiC,MAAM;AAC3C,QAAM,IAAe,OAAO;AAE5B,SAAI,CAAC,KAAgB,EAAa,aAAa,IACtC,EAA4B,IAI9B,AADU,EAAa,WAAW,CAAC,EAC1B;AAClB;"}
|
|
@@ -1,439 +0,0 @@
|
|
|
1
|
-
import le, { setAutoFreeze as fe, enableMapSet as he } from "immer";
|
|
2
|
-
import { createTrackedSelector as pe } from "../node_modules/react-tracked/dist/index.modern.es.js";
|
|
3
|
-
import de from "../../../zustand/esm/index.es.js";
|
|
4
|
-
import { persist as ve, devtools as _e } from "../../../zustand/esm/middleware.es.js";
|
|
5
|
-
import ge from "../../../zustand/esm/vanilla.es.js";
|
|
6
|
-
const be = (e, t) => {
|
|
7
|
-
const r = {};
|
|
8
|
-
return Object.keys(e.getState()).forEach((a) => {
|
|
9
|
-
r[a] = (o) => {
|
|
10
|
-
if (e.getState()[a] === o)
|
|
11
|
-
return;
|
|
12
|
-
const s = a.replace(/^\S/, (c) => c.toUpperCase());
|
|
13
|
-
e.setState((c) => {
|
|
14
|
-
c[a] = o;
|
|
15
|
-
}, `@@${t}/set${s}`);
|
|
16
|
-
};
|
|
17
|
-
}), r;
|
|
18
|
-
}, Se = (e, t) => {
|
|
19
|
-
const r = e(t.set, t.get, t);
|
|
20
|
-
return {
|
|
21
|
-
...t,
|
|
22
|
-
set: {
|
|
23
|
-
...t.set,
|
|
24
|
-
...r
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
}, ye = (e, t) => {
|
|
28
|
-
const r = {
|
|
29
|
-
...t.use
|
|
30
|
-
}, a = {
|
|
31
|
-
...t.useTracked
|
|
32
|
-
}, o = {
|
|
33
|
-
...t.get
|
|
34
|
-
};
|
|
35
|
-
return Object.keys(e(t.store.getState(), t.get, t)).forEach((n) => {
|
|
36
|
-
r[n] = (...s) => t.useStore((c) => {
|
|
37
|
-
const h = e(c, t.get, t)[n];
|
|
38
|
-
return h(...s);
|
|
39
|
-
}), a[n] = (...s) => {
|
|
40
|
-
const c = t.useTrackedStore(), h = e(c, t.get, t)[n];
|
|
41
|
-
return h(...s);
|
|
42
|
-
}, o[n] = (...s) => {
|
|
43
|
-
const i = e(t.store.getState(), t.get, t)[n];
|
|
44
|
-
return i(...s);
|
|
45
|
-
};
|
|
46
|
-
}), {
|
|
47
|
-
...t,
|
|
48
|
-
get: o,
|
|
49
|
-
use: r,
|
|
50
|
-
useTracked: a
|
|
51
|
-
};
|
|
52
|
-
}, M = (e) => ({
|
|
53
|
-
...e,
|
|
54
|
-
extendSelectors: (t) => M(ye(t, e)),
|
|
55
|
-
extendActions: (t) => M(Se(t, e))
|
|
56
|
-
}), me = (e) => {
|
|
57
|
-
const t = {};
|
|
58
|
-
return Object.keys(e.getState()).forEach((r) => {
|
|
59
|
-
t[r] = () => e.getState()[r];
|
|
60
|
-
}), t;
|
|
61
|
-
}, je = (e) => {
|
|
62
|
-
const t = {};
|
|
63
|
-
return Object.keys(e.getState()).forEach((r) => {
|
|
64
|
-
t[r] = (a) => e((o) => o[r], a);
|
|
65
|
-
}), t;
|
|
66
|
-
}, Ce = (e, t) => {
|
|
67
|
-
const r = {};
|
|
68
|
-
return Object.keys(e.getState()).forEach((a) => {
|
|
69
|
-
r[a] = () => t()[a];
|
|
70
|
-
}), r;
|
|
71
|
-
}, Te = (e) => (t, r, a) => {
|
|
72
|
-
const o = (n, s) => t(le(n), !0, s);
|
|
73
|
-
return a.setState = o, e(o, r, a);
|
|
74
|
-
};
|
|
75
|
-
function we(e, ...t) {
|
|
76
|
-
return t.reduce((r, a) => a(r), e);
|
|
77
|
-
}
|
|
78
|
-
const Fr = (e) => (t, r = {}) => {
|
|
79
|
-
var a;
|
|
80
|
-
const {
|
|
81
|
-
middlewares: o = [],
|
|
82
|
-
devtools: n,
|
|
83
|
-
persist: s,
|
|
84
|
-
immer: c
|
|
85
|
-
} = r;
|
|
86
|
-
fe((a = c == null ? void 0 : c.enabledAutoFreeze) !== null && a !== void 0 ? a : !1), c != null && c.enableMapSet && he();
|
|
87
|
-
const i = [Te, ...o];
|
|
88
|
-
if (s != null && s.enabled) {
|
|
89
|
-
var h;
|
|
90
|
-
const u = {
|
|
91
|
-
...s,
|
|
92
|
-
name: (h = s.name) !== null && h !== void 0 ? h : e
|
|
93
|
-
};
|
|
94
|
-
i.push((m) => ve(m, u));
|
|
95
|
-
}
|
|
96
|
-
n != null && n.enabled && i.push((u) => _e(u, {
|
|
97
|
-
...n,
|
|
98
|
-
name: e
|
|
99
|
-
})), i.push(ge);
|
|
100
|
-
const y = ((u) => we(u, ...i))(() => t), v = de(y), ae = be(v, e), ne = (u, m) => {
|
|
101
|
-
y.setState((ue) => {
|
|
102
|
-
Object.assign(ue, u);
|
|
103
|
-
}, m || `@@${e}/mergeState`);
|
|
104
|
-
}, oe = (u, m) => {
|
|
105
|
-
y.setState(u, m || `@@${e}/setState`);
|
|
106
|
-
}, se = je(v), ce = me(v), H = pe(v), ie = Ce(v, H), x = {
|
|
107
|
-
get: {
|
|
108
|
-
state: y.getState,
|
|
109
|
-
...ce
|
|
110
|
-
},
|
|
111
|
-
name: e,
|
|
112
|
-
set: {
|
|
113
|
-
state: oe,
|
|
114
|
-
mergeState: ne,
|
|
115
|
-
...ae
|
|
116
|
-
},
|
|
117
|
-
store: y,
|
|
118
|
-
use: se,
|
|
119
|
-
useTracked: ie,
|
|
120
|
-
useStore: v,
|
|
121
|
-
useTrackedStore: H,
|
|
122
|
-
extendSelectors: () => x,
|
|
123
|
-
extendActions: () => x
|
|
124
|
-
};
|
|
125
|
-
return M(x);
|
|
126
|
-
};
|
|
127
|
-
var T = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
128
|
-
function X(e, t) {
|
|
129
|
-
return t = { exports: {} }, e(t, t.exports), t.exports;
|
|
130
|
-
}
|
|
131
|
-
var Oe = typeof T == "object" && T && T.Object === Object && T, Z = Oe, $e = typeof self == "object" && self && self.Object === Object && self, Pe = Z || $e || Function("return this")(), l = Pe, xe = l.Symbol, f = xe, Q = Object.prototype, Ee = Q.hasOwnProperty, Me = Q.toString, j = f ? f.toStringTag : void 0;
|
|
132
|
-
function ze(e) {
|
|
133
|
-
var t = Ee.call(e, j), r = e[j];
|
|
134
|
-
try {
|
|
135
|
-
e[j] = void 0;
|
|
136
|
-
var a = !0;
|
|
137
|
-
} catch {
|
|
138
|
-
}
|
|
139
|
-
var o = Me.call(e);
|
|
140
|
-
return a && (t ? e[j] = r : delete e[j]), o;
|
|
141
|
-
}
|
|
142
|
-
var Ae = ze, De = Object.prototype, Fe = De.toString;
|
|
143
|
-
function Ie(e) {
|
|
144
|
-
return Fe.call(e);
|
|
145
|
-
}
|
|
146
|
-
var He = Ie, Ge = "[object Null]", Ne = "[object Undefined]", G = f ? f.toStringTag : void 0;
|
|
147
|
-
function ke(e) {
|
|
148
|
-
return e == null ? e === void 0 ? Ne : Ge : G && G in Object(e) ? Ae(e) : He(e);
|
|
149
|
-
}
|
|
150
|
-
var O = ke;
|
|
151
|
-
function Ve(e) {
|
|
152
|
-
var t = typeof e;
|
|
153
|
-
return e != null && (t == "object" || t == "function");
|
|
154
|
-
}
|
|
155
|
-
var Y = Ve, Re = "[object AsyncFunction]", Ue = "[object Function]", Be = "[object GeneratorFunction]", qe = "[object Proxy]";
|
|
156
|
-
function Ke(e) {
|
|
157
|
-
if (!Y(e))
|
|
158
|
-
return !1;
|
|
159
|
-
var t = O(e);
|
|
160
|
-
return t == Ue || t == Be || t == Re || t == qe;
|
|
161
|
-
}
|
|
162
|
-
var Le = Ke, We = l["__core-js_shared__"], E = We, N = function() {
|
|
163
|
-
var e = /[^.]+$/.exec(E && E.keys && E.keys.IE_PROTO || "");
|
|
164
|
-
return e ? "Symbol(src)_1." + e : "";
|
|
165
|
-
}();
|
|
166
|
-
function Je(e) {
|
|
167
|
-
return !!N && N in e;
|
|
168
|
-
}
|
|
169
|
-
var Xe = Je, Ze = Function.prototype, Qe = Ze.toString;
|
|
170
|
-
function Ye(e) {
|
|
171
|
-
if (e != null) {
|
|
172
|
-
try {
|
|
173
|
-
return Qe.call(e);
|
|
174
|
-
} catch {
|
|
175
|
-
}
|
|
176
|
-
try {
|
|
177
|
-
return e + "";
|
|
178
|
-
} catch {
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
return "";
|
|
182
|
-
}
|
|
183
|
-
var p = Ye, et = /[\\^$.*+?()[\]{}|]/g, tt = /^\[object .+?Constructor\]$/, rt = Function.prototype, at = Object.prototype, nt = rt.toString, ot = at.hasOwnProperty, st = RegExp("^" + nt.call(ot).replace(et, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
184
|
-
function ct(e) {
|
|
185
|
-
if (!Y(e) || Xe(e))
|
|
186
|
-
return !1;
|
|
187
|
-
var t = Le(e) ? st : tt;
|
|
188
|
-
return t.test(p(e));
|
|
189
|
-
}
|
|
190
|
-
var it = ct;
|
|
191
|
-
function ut(e, t) {
|
|
192
|
-
return e == null ? void 0 : e[t];
|
|
193
|
-
}
|
|
194
|
-
var lt = ut;
|
|
195
|
-
function ft(e, t) {
|
|
196
|
-
var r = lt(e, t);
|
|
197
|
-
return it(r) ? r : void 0;
|
|
198
|
-
}
|
|
199
|
-
var d = ft;
|
|
200
|
-
(function() {
|
|
201
|
-
try {
|
|
202
|
-
var e = d(Object, "defineProperty");
|
|
203
|
-
return e({}, "", {}), e;
|
|
204
|
-
} catch {
|
|
205
|
-
}
|
|
206
|
-
})();
|
|
207
|
-
function ht(e) {
|
|
208
|
-
return e != null && typeof e == "object";
|
|
209
|
-
}
|
|
210
|
-
var ee = ht, pt = "[object Arguments]";
|
|
211
|
-
function dt(e) {
|
|
212
|
-
return ee(e) && O(e) == pt;
|
|
213
|
-
}
|
|
214
|
-
var k = dt, te = Object.prototype, vt = te.hasOwnProperty, _t = te.propertyIsEnumerable;
|
|
215
|
-
k(function() {
|
|
216
|
-
return arguments;
|
|
217
|
-
}());
|
|
218
|
-
function gt() {
|
|
219
|
-
return !1;
|
|
220
|
-
}
|
|
221
|
-
var bt = gt;
|
|
222
|
-
X(function(e, t) {
|
|
223
|
-
var r = t && !t.nodeType && t, a = r && !0 && e && !e.nodeType && e, o = a && a.exports === r, n = o ? l.Buffer : void 0, s = n ? n.isBuffer : void 0, c = s || bt;
|
|
224
|
-
e.exports = c;
|
|
225
|
-
});
|
|
226
|
-
var V = X(function(e, t) {
|
|
227
|
-
var r = t && !t.nodeType && t, a = r && !0 && e && !e.nodeType && e, o = a && a.exports === r, n = o && Z.process, s = function() {
|
|
228
|
-
try {
|
|
229
|
-
var c = a && a.require && a.require("util").types;
|
|
230
|
-
return c || n && n.binding && n.binding("util");
|
|
231
|
-
} catch {
|
|
232
|
-
}
|
|
233
|
-
}();
|
|
234
|
-
e.exports = s;
|
|
235
|
-
});
|
|
236
|
-
V && V.isTypedArray;
|
|
237
|
-
function St() {
|
|
238
|
-
this.__data__ = [], this.size = 0;
|
|
239
|
-
}
|
|
240
|
-
var yt = St;
|
|
241
|
-
function mt(e, t) {
|
|
242
|
-
return e === t || e !== e && t !== t;
|
|
243
|
-
}
|
|
244
|
-
var jt = mt;
|
|
245
|
-
function Ct(e, t) {
|
|
246
|
-
for (var r = e.length; r--; )
|
|
247
|
-
if (jt(e[r][0], t))
|
|
248
|
-
return r;
|
|
249
|
-
return -1;
|
|
250
|
-
}
|
|
251
|
-
var $ = Ct, Tt = Array.prototype, wt = Tt.splice;
|
|
252
|
-
function Ot(e) {
|
|
253
|
-
var t = this.__data__, r = $(t, e);
|
|
254
|
-
if (r < 0)
|
|
255
|
-
return !1;
|
|
256
|
-
var a = t.length - 1;
|
|
257
|
-
return r == a ? t.pop() : wt.call(t, r, 1), --this.size, !0;
|
|
258
|
-
}
|
|
259
|
-
var $t = Ot;
|
|
260
|
-
function Pt(e) {
|
|
261
|
-
var t = this.__data__, r = $(t, e);
|
|
262
|
-
return r < 0 ? void 0 : t[r][1];
|
|
263
|
-
}
|
|
264
|
-
var xt = Pt;
|
|
265
|
-
function Et(e) {
|
|
266
|
-
return $(this.__data__, e) > -1;
|
|
267
|
-
}
|
|
268
|
-
var Mt = Et;
|
|
269
|
-
function zt(e, t) {
|
|
270
|
-
var r = this.__data__, a = $(r, e);
|
|
271
|
-
return a < 0 ? (++this.size, r.push([e, t])) : r[a][1] = t, this;
|
|
272
|
-
}
|
|
273
|
-
var At = zt;
|
|
274
|
-
function g(e) {
|
|
275
|
-
var t = -1, r = e == null ? 0 : e.length;
|
|
276
|
-
for (this.clear(); ++t < r; ) {
|
|
277
|
-
var a = e[t];
|
|
278
|
-
this.set(a[0], a[1]);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
g.prototype.clear = yt;
|
|
282
|
-
g.prototype.delete = $t;
|
|
283
|
-
g.prototype.get = xt;
|
|
284
|
-
g.prototype.has = Mt;
|
|
285
|
-
g.prototype.set = At;
|
|
286
|
-
var Dt = g, Ft = d(l, "Map"), w = Ft, It = d(Object, "create"), C = It;
|
|
287
|
-
function Ht() {
|
|
288
|
-
this.__data__ = C ? C(null) : {}, this.size = 0;
|
|
289
|
-
}
|
|
290
|
-
var Gt = Ht;
|
|
291
|
-
function Nt(e) {
|
|
292
|
-
var t = this.has(e) && delete this.__data__[e];
|
|
293
|
-
return this.size -= t ? 1 : 0, t;
|
|
294
|
-
}
|
|
295
|
-
var kt = Nt, Vt = "__lodash_hash_undefined__", Rt = Object.prototype, Ut = Rt.hasOwnProperty;
|
|
296
|
-
function Bt(e) {
|
|
297
|
-
var t = this.__data__;
|
|
298
|
-
if (C) {
|
|
299
|
-
var r = t[e];
|
|
300
|
-
return r === Vt ? void 0 : r;
|
|
301
|
-
}
|
|
302
|
-
return Ut.call(t, e) ? t[e] : void 0;
|
|
303
|
-
}
|
|
304
|
-
var qt = Bt, Kt = Object.prototype, Lt = Kt.hasOwnProperty;
|
|
305
|
-
function Wt(e) {
|
|
306
|
-
var t = this.__data__;
|
|
307
|
-
return C ? t[e] !== void 0 : Lt.call(t, e);
|
|
308
|
-
}
|
|
309
|
-
var Jt = Wt, Xt = "__lodash_hash_undefined__";
|
|
310
|
-
function Zt(e, t) {
|
|
311
|
-
var r = this.__data__;
|
|
312
|
-
return this.size += this.has(e) ? 0 : 1, r[e] = C && t === void 0 ? Xt : t, this;
|
|
313
|
-
}
|
|
314
|
-
var Qt = Zt;
|
|
315
|
-
function b(e) {
|
|
316
|
-
var t = -1, r = e == null ? 0 : e.length;
|
|
317
|
-
for (this.clear(); ++t < r; ) {
|
|
318
|
-
var a = e[t];
|
|
319
|
-
this.set(a[0], a[1]);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
b.prototype.clear = Gt;
|
|
323
|
-
b.prototype.delete = kt;
|
|
324
|
-
b.prototype.get = qt;
|
|
325
|
-
b.prototype.has = Jt;
|
|
326
|
-
b.prototype.set = Qt;
|
|
327
|
-
var R = b;
|
|
328
|
-
function Yt() {
|
|
329
|
-
this.size = 0, this.__data__ = {
|
|
330
|
-
hash: new R(),
|
|
331
|
-
map: new (w || Dt)(),
|
|
332
|
-
string: new R()
|
|
333
|
-
};
|
|
334
|
-
}
|
|
335
|
-
var er = Yt;
|
|
336
|
-
function tr(e) {
|
|
337
|
-
var t = typeof e;
|
|
338
|
-
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
339
|
-
}
|
|
340
|
-
var rr = tr;
|
|
341
|
-
function ar(e, t) {
|
|
342
|
-
var r = e.__data__;
|
|
343
|
-
return rr(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
344
|
-
}
|
|
345
|
-
var P = ar;
|
|
346
|
-
function nr(e) {
|
|
347
|
-
var t = P(this, e).delete(e);
|
|
348
|
-
return this.size -= t ? 1 : 0, t;
|
|
349
|
-
}
|
|
350
|
-
var or = nr;
|
|
351
|
-
function sr(e) {
|
|
352
|
-
return P(this, e).get(e);
|
|
353
|
-
}
|
|
354
|
-
var cr = sr;
|
|
355
|
-
function ir(e) {
|
|
356
|
-
return P(this, e).has(e);
|
|
357
|
-
}
|
|
358
|
-
var ur = ir;
|
|
359
|
-
function lr(e, t) {
|
|
360
|
-
var r = P(this, e), a = r.size;
|
|
361
|
-
return r.set(e, t), this.size += r.size == a ? 0 : 1, this;
|
|
362
|
-
}
|
|
363
|
-
var fr = lr;
|
|
364
|
-
function S(e) {
|
|
365
|
-
var t = -1, r = e == null ? 0 : e.length;
|
|
366
|
-
for (this.clear(); ++t < r; ) {
|
|
367
|
-
var a = e[t];
|
|
368
|
-
this.set(a[0], a[1]);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
S.prototype.clear = er;
|
|
372
|
-
S.prototype.delete = or;
|
|
373
|
-
S.prototype.get = cr;
|
|
374
|
-
S.prototype.has = ur;
|
|
375
|
-
S.prototype.set = fr;
|
|
376
|
-
var re = S;
|
|
377
|
-
l.Uint8Array;
|
|
378
|
-
var U = f ? f.prototype : void 0;
|
|
379
|
-
U && U.valueOf;
|
|
380
|
-
var hr = d(l, "DataView"), z = hr, pr = d(l, "Promise"), A = pr, dr = d(l, "Set"), D = dr, vr = d(l, "WeakMap"), F = vr, B = "[object Map]", _r = "[object Object]", q = "[object Promise]", K = "[object Set]", L = "[object WeakMap]", W = "[object DataView]", gr = p(z), br = p(w), Sr = p(A), yr = p(D), mr = p(F), _ = O;
|
|
381
|
-
(z && _(new z(new ArrayBuffer(1))) != W || w && _(new w()) != B || A && _(A.resolve()) != q || D && _(new D()) != K || F && _(new F()) != L) && (_ = function(e) {
|
|
382
|
-
var t = O(e), r = t == _r ? e.constructor : void 0, a = r ? p(r) : "";
|
|
383
|
-
if (a)
|
|
384
|
-
switch (a) {
|
|
385
|
-
case gr:
|
|
386
|
-
return W;
|
|
387
|
-
case br:
|
|
388
|
-
return B;
|
|
389
|
-
case Sr:
|
|
390
|
-
return q;
|
|
391
|
-
case yr:
|
|
392
|
-
return K;
|
|
393
|
-
case mr:
|
|
394
|
-
return L;
|
|
395
|
-
}
|
|
396
|
-
return t;
|
|
397
|
-
});
|
|
398
|
-
var jr = "Expected a function";
|
|
399
|
-
function I(e, t) {
|
|
400
|
-
if (typeof e != "function" || t != null && typeof t != "function")
|
|
401
|
-
throw new TypeError(jr);
|
|
402
|
-
var r = function() {
|
|
403
|
-
var a = arguments, o = t ? t.apply(this, a) : a[0], n = r.cache;
|
|
404
|
-
if (n.has(o))
|
|
405
|
-
return n.get(o);
|
|
406
|
-
var s = e.apply(this, a);
|
|
407
|
-
return r.cache = n.set(o, s) || n, s;
|
|
408
|
-
};
|
|
409
|
-
return r.cache = new (I.Cache || re)(), r;
|
|
410
|
-
}
|
|
411
|
-
I.Cache = re;
|
|
412
|
-
var Cr = I, Tr = 500;
|
|
413
|
-
function wr(e) {
|
|
414
|
-
var t = Cr(e, function(a) {
|
|
415
|
-
return r.size === Tr && r.clear(), a;
|
|
416
|
-
}), r = t.cache;
|
|
417
|
-
return t;
|
|
418
|
-
}
|
|
419
|
-
var Or = wr, $r = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Pr = /\\(\\)?/g;
|
|
420
|
-
Or(function(e) {
|
|
421
|
-
var t = [];
|
|
422
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace($r, function(r, a, o, n) {
|
|
423
|
-
t.push(o ? n.replace(Pr, "$1") : a || r);
|
|
424
|
-
}), t;
|
|
425
|
-
});
|
|
426
|
-
var J = f ? f.prototype : void 0;
|
|
427
|
-
J && J.toString;
|
|
428
|
-
export {
|
|
429
|
-
Fr as createStore,
|
|
430
|
-
Se as extendActions,
|
|
431
|
-
ye as extendSelectors,
|
|
432
|
-
be as generateStateActions,
|
|
433
|
-
me as generateStateGetSelectors,
|
|
434
|
-
je as generateStateHookSelectors,
|
|
435
|
-
Te as immerMiddleware,
|
|
436
|
-
we as pipe,
|
|
437
|
-
M as storeFactory
|
|
438
|
-
};
|
|
439
|
-
//# sourceMappingURL=index.es.es.js.map
|