laif-ds 0.2.21 → 0.2.23
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/_virtual/index4.js +5 -5
- package/dist/_virtual/index5.js +5 -5
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/components/ui/app-select.js +92 -109
- package/dist/components/ui/gantt/constants/DimensionsSettings.js +6 -6
- package/dist/components/ui/gantt/constants/DragStepOptions.js +9 -9
- package/dist/components/ui/message-input.js +23 -23
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/textarea.js +18 -15
- package/dist/index.d.ts +6 -7
- package/dist/lib/audio-utils.js +2 -2
- package/dist/node_modules/@date-fns/tz/date/index.js +2 -7
- package/dist/node_modules/@date-fns/tz/date/mini.js +32 -27
- package/dist/node_modules/@date-fns/tz/tzName/index.js +12 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +11 -12
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +137 -139
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +70 -69
- package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +13 -13
- package/dist/node_modules/@lexical/code/LexicalCode.prod.js +3 -3
- package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.js +2 -2
- package/dist/node_modules/@lexical/history/LexicalHistory.prod.js +9 -9
- package/dist/node_modules/@lexical/html/LexicalHtml.prod.js +6 -6
- package/dist/node_modules/@lexical/list/LexicalList.prod.js +48 -48
- package/dist/node_modules/@lexical/markdown/LexicalMarkdown.prod.js +29 -29
- package/dist/node_modules/@lexical/react/LexicalCheckListPlugin.prod.js +1 -1
- package/dist/node_modules/@lexical/react/LexicalClearEditorPlugin.prod.js +2 -2
- package/dist/node_modules/@lexical/react/LexicalComposer.prod.js +10 -10
- package/dist/node_modules/@lexical/react/LexicalComposerContext.prod.js +2 -2
- package/dist/node_modules/@lexical/react/LexicalContentEditable.prod.js +17 -17
- package/dist/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +4 -4
- package/dist/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +4 -4
- package/dist/node_modules/@lexical/react/LexicalListPlugin.prod.js +5 -5
- package/dist/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +4 -4
- package/dist/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +20 -20
- package/dist/node_modules/@lexical/react/useLexicalEditable.prod.js +7 -7
- package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.js +43 -43
- package/dist/node_modules/@lexical/table/LexicalTable.prod.js +16 -16
- package/dist/node_modules/@lexical/utils/LexicalUtils.prod.js +3 -3
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +43 -42
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +2 -2
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +2 -2
- package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +183 -175
- package/dist/node_modules/@shikijs/core/dist/index.js +195 -175
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -2
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/go.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/julia.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/latex.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/lean.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/marko.js +5 -5
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/r.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/sql.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -2
- package/dist/node_modules/@shikijs/langs/dist/templ.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/tex.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +21 -0
- package/dist/node_modules/@shikijs/langs/dist/vue.js +1 -1
- package/dist/node_modules/@shikijs/langs/dist/zig.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +1 -1
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +215 -208
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +1 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +1 -1
- package/dist/node_modules/classnames/index.js +2 -2
- package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
- package/dist/node_modules/dayjs/dayjs.min.js +14 -14
- package/dist/node_modules/dayjs/locale/it.js +4 -4
- package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -4
- package/dist/node_modules/dayjs/plugin/localizedFormat.js +10 -10
- package/dist/node_modules/decimal.js-light/decimal.js +2 -2
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +2 -2
- package/dist/node_modules/es-toolkit/dist/array/flatten.js +2 -2
- package/dist/node_modules/es-toolkit/dist/array/uniqBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +14 -15
- package/dist/node_modules/es-toolkit/dist/compat/math/range.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +11 -11
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +2 -2
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +2 -2
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +15 -15
- package/dist/node_modules/es-toolkit/dist/function/identity.js +2 -2
- package/dist/node_modules/es-toolkit/dist/function/noop.js +2 -10
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +2 -2
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +3 -3
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +2 -2
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +2 -2
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +2 -2
- package/dist/node_modules/eventemitter3/index2.js +3 -3
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/immer/dist/immer.js +213 -216
- package/dist/node_modules/lexical/Lexical.prod.js +212 -212
- package/dist/node_modules/lodash/_baseCreate.js +2 -2
- package/dist/node_modules/lodash/_cloneBuffer.js +2 -2
- package/dist/node_modules/lodash/_defineProperty.js +2 -2
- package/dist/node_modules/lodash/_isMasked.js +2 -2
- package/dist/node_modules/lodash/_nodeUtil.js +4 -4
- package/dist/node_modules/lodash/isArguments.js +2 -2
- package/dist/node_modules/lodash/isBuffer.js +2 -2
- package/dist/node_modules/lodash/lodash.js +16 -16
- package/dist/node_modules/prismjs/components/prism-cpp.js +2 -2
- package/dist/node_modules/prismjs/components/prism-java.js +2 -2
- package/dist/node_modules/prismjs/components/prism-rust.js +2 -2
- package/dist/node_modules/prismjs/components/prism-typescript.js +2 -2
- package/dist/node_modules/prismjs/prism.js +8 -8
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +183 -164
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +14 -14
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +10 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +6 -6
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +30 -30
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +5 -5
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +9 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -1
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +11 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -1
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +12 -12
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +19 -19
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +9 -9
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +10 -10
- package/dist/node_modules/react-hook-form/dist/index.esm.js +150 -117
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +48 -48
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +9 -9
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +43 -39
- package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js +95 -94
- package/dist/node_modules/react-window/dist/index.esm.js +2 -2
- package/dist/node_modules/recharts/es6/animation/AnimationManager.js +14 -14
- package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +49 -0
- package/dist/node_modules/recharts/es6/animation/createDefaultAnimationManager.js +9 -0
- package/dist/node_modules/recharts/es6/animation/useAnimationManager.js +12 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +5 -5
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +55 -58
- package/dist/node_modules/recharts/es6/component/Legend.js +32 -27
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +44 -40
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +15 -23
- package/dist/node_modules/recharts/es6/context/useTooltipAxis.js +8 -7
- package/dist/node_modules/recharts/es6/shape/Curve.js +10 -10
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +136 -99
- package/dist/node_modules/recharts/es6/shape/Symbols.js +55 -53
- package/dist/node_modules/recharts/es6/state/legendSlice.js +5 -4
- package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +352 -307
- package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +9 -9
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +26 -0
- package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +117 -0
- package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +4 -4
- package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +10 -4
- package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +33 -32
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +108 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxis.js +13 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +5 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +9 -0
- package/dist/node_modules/recharts/es6/state/selectors/selectors.js +40 -143
- package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +68 -63
- package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +7 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +58 -57
- package/dist/node_modules/recharts/es6/util/DataUtils.js +34 -26
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +20 -15
- package/dist/node_modules/recharts/es6/util/excludeEventProps.js +11 -0
- package/dist/node_modules/recharts/es6/util/getSliced.js +7 -0
- package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +44 -44
- package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +7 -0
- package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +328 -0
- package/dist/node_modules/recharts/es6/util/types.js +22 -332
- package/dist/node_modules/recharts/es6/util/useAnimationId.js +10 -0
- package/dist/node_modules/recharts/es6/util/useElementOffset.js +20 -16
- package/dist/node_modules/remeda/dist/hasAtLeast-F1Oj_xBB.js +9 -0
- package/dist/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js +8 -0
- package/dist/node_modules/remeda/dist/omit-HZOiLuMO.js +19 -0
- package/dist/node_modules/remeda/dist/purry-DH9cw9sy.js +11 -0
- package/dist/node_modules/shiki/dist/langs.js +225 -220
- package/dist/node_modules/shiki/dist/themes.js +60 -60
- package/dist/node_modules/sonner/dist/index.js +309 -305
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +169 -168
- package/dist/node_modules/unified/lib/callable-instance.js +2 -2
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/unist-util-is/lib/index.js +2 -2
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +2 -2
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +2 -2
- package/dist/node_modules/vfile-message/lib/index.js +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/isEqual.js +0 -8
- package/dist/_virtual/isEqual2.js +0 -5
- package/dist/_virtual/isEqualWith.js +0 -5
- package/dist/_virtual/isPlainObject.js +0 -5
- package/dist/_virtual/noop.js +0 -5
- package/dist/node_modules/es-toolkit/compat/isEqual.js +0 -9
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +0 -18
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +0 -139
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +0 -18
- package/dist/node_modules/recharts/es6/animation/Animate.js +0 -270
- package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +0 -98
- package/dist/node_modules/remeda/dist/chunk-AIG3BDKO.js +0 -9
- package/dist/node_modules/remeda/dist/chunk-D6FCK2GA.js +0 -8
- package/dist/node_modules/remeda/dist/chunk-KI5X74E2.js +0 -19
- package/dist/node_modules/remeda/dist/chunk-WIMGWYZL.js +0 -11
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { isValidElement as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
if (
|
|
2
|
+
import { isValidElement as v } from "react";
|
|
3
|
+
import { FilteredElementKeyMap as f } from "./types.js";
|
|
4
|
+
import { isEventKey as m } from "./excludeEventProps.js";
|
|
5
|
+
import { isSvgElementPropKey as p } from "./svgPropertiesNoEvents.js";
|
|
6
|
+
var c = (r, i, a, t) => {
|
|
7
|
+
var e;
|
|
8
|
+
if (typeof i == "symbol" || typeof i == "number")
|
|
9
|
+
return !0;
|
|
10
|
+
var o = (e = t && (f === null || f === void 0 ? void 0 : f[t])) !== null && e !== void 0 ? e : [], n = i.startsWith("data-"), l = typeof r != "function" && (!!t && o.includes(i) || p(i)), u = !!a && m(i);
|
|
11
|
+
return n || l || u;
|
|
12
|
+
}, P = (r, i, a) => {
|
|
13
|
+
if (!r || typeof r == "function" || typeof r == "boolean")
|
|
9
14
|
return null;
|
|
10
|
-
var t =
|
|
11
|
-
if (/* @__PURE__ */
|
|
15
|
+
var t = r;
|
|
16
|
+
if (/* @__PURE__ */ v(r) && (t = r.props), typeof t != "object" && typeof t != "function")
|
|
12
17
|
return null;
|
|
13
|
-
var
|
|
14
|
-
return Object.keys(t).forEach((
|
|
15
|
-
var
|
|
16
|
-
c((
|
|
17
|
-
}),
|
|
18
|
+
var e = {};
|
|
19
|
+
return Object.keys(t).forEach((o) => {
|
|
20
|
+
var n;
|
|
21
|
+
c((n = t) === null || n === void 0 ? void 0 : n[o], o, i, a) && (e[o] = t[o]);
|
|
22
|
+
}), e;
|
|
18
23
|
};
|
|
19
24
|
export {
|
|
20
|
-
|
|
25
|
+
P as filterProps,
|
|
21
26
|
c as isValidSpreadableProp
|
|
22
27
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var e = ["dangerouslySetInnerHTML", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onPaste", "onPasteCapture", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onFocus", "onFocusCapture", "onBlur", "onBlurCapture", "onChange", "onChangeCapture", "onBeforeInput", "onBeforeInputCapture", "onInput", "onInputCapture", "onReset", "onResetCapture", "onSubmit", "onSubmitCapture", "onInvalid", "onInvalidCapture", "onLoad", "onLoadCapture", "onError", "onErrorCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onAbort", "onAbortCapture", "onCanPlay", "onCanPlayCapture", "onCanPlayThrough", "onCanPlayThroughCapture", "onDurationChange", "onDurationChangeCapture", "onEmptied", "onEmptiedCapture", "onEncrypted", "onEncryptedCapture", "onEnded", "onEndedCapture", "onLoadedData", "onLoadedDataCapture", "onLoadedMetadata", "onLoadedMetadataCapture", "onLoadStart", "onLoadStartCapture", "onPause", "onPauseCapture", "onPlay", "onPlayCapture", "onPlaying", "onPlayingCapture", "onProgress", "onProgressCapture", "onRateChange", "onRateChangeCapture", "onSeeked", "onSeekedCapture", "onSeeking", "onSeekingCapture", "onStalled", "onStalledCapture", "onSuspend", "onSuspendCapture", "onTimeUpdate", "onTimeUpdateCapture", "onVolumeChange", "onVolumeChangeCapture", "onWaiting", "onWaitingCapture", "onAuxClick", "onAuxClickCapture", "onClick", "onClickCapture", "onContextMenu", "onContextMenuCapture", "onDoubleClick", "onDoubleClickCapture", "onDrag", "onDragCapture", "onDragEnd", "onDragEndCapture", "onDragEnter", "onDragEnterCapture", "onDragExit", "onDragExitCapture", "onDragLeave", "onDragLeaveCapture", "onDragOver", "onDragOverCapture", "onDragStart", "onDragStartCapture", "onDrop", "onDropCapture", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onMouseUp", "onMouseUpCapture", "onSelect", "onSelectCapture", "onTouchCancel", "onTouchCancelCapture", "onTouchEnd", "onTouchEndCapture", "onTouchMove", "onTouchMoveCapture", "onTouchStart", "onTouchStartCapture", "onPointerDown", "onPointerDownCapture", "onPointerMove", "onPointerMoveCapture", "onPointerUp", "onPointerUpCapture", "onPointerCancel", "onPointerCancelCapture", "onPointerEnter", "onPointerEnterCapture", "onPointerLeave", "onPointerLeaveCapture", "onPointerOver", "onPointerOverCapture", "onPointerOut", "onPointerOutCapture", "onGotPointerCapture", "onGotPointerCaptureCapture", "onLostPointerCapture", "onLostPointerCaptureCapture", "onScroll", "onScrollCapture", "onWheel", "onWheelCapture", "onAnimationStart", "onAnimationStartCapture", "onAnimationEnd", "onAnimationEndCapture", "onAnimationIteration", "onAnimationIterationCapture", "onTransitionEnd", "onTransitionEndCapture"];
|
|
3
|
+
function t(o) {
|
|
4
|
+
if (typeof o != "string")
|
|
5
|
+
return !1;
|
|
6
|
+
var n = e;
|
|
7
|
+
return n.includes(o);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
t as isEventKey
|
|
11
|
+
};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import { memoize as w, reverse as
|
|
2
|
+
import r from "../../../../decimal.js-light/decimal.js";
|
|
3
|
+
import { memoize as w, reverse as f, range as s, compose as I, map as x } from "./util/utils.js";
|
|
4
4
|
import { rangeStep as g, getDigitCount as p } from "./util/arithmetic.js";
|
|
5
5
|
var M = (m) => {
|
|
6
|
-
var [
|
|
7
|
-
return
|
|
8
|
-
}, b = (m,
|
|
6
|
+
var [t, n] = m, [e, i] = [t, n];
|
|
7
|
+
return t > n && ([e, i] = [n, t]), [e, i];
|
|
8
|
+
}, b = (m, t, n) => {
|
|
9
9
|
if (m.lte(0))
|
|
10
|
-
return new
|
|
11
|
-
var
|
|
12
|
-
return
|
|
13
|
-
}, y = (m,
|
|
14
|
-
var
|
|
10
|
+
return new r(0);
|
|
11
|
+
var e = p(m.toNumber()), i = new r(10).pow(e), o = m.div(i), a = e !== 1 ? 0.05 : 0.1, u = new r(Math.ceil(o.div(a).toNumber())).add(n).mul(a), v = u.mul(i);
|
|
12
|
+
return t ? new r(v.toNumber()) : new r(Math.ceil(v.toNumber()));
|
|
13
|
+
}, y = (m, t, n) => {
|
|
14
|
+
var e = new r(1), i = new r(m);
|
|
15
15
|
if (!i.isint() && n) {
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
} else m === 0 ? i = new
|
|
19
|
-
var
|
|
20
|
-
return u(0,
|
|
21
|
-
}, h = function(
|
|
22
|
-
var
|
|
23
|
-
if (!Number.isFinite((n -
|
|
16
|
+
var o = Math.abs(m);
|
|
17
|
+
o < 1 ? (e = new r(10).pow(p(m) - 1), i = new r(Math.floor(i.div(e).toNumber())).mul(e)) : o > 1 && (i = new r(Math.floor(m)));
|
|
18
|
+
} else m === 0 ? i = new r(Math.floor((t - 1) / 2)) : n || (i = new r(Math.floor(m)));
|
|
19
|
+
var a = Math.floor((t - 1) / 2), u = I(x((v) => i.add(new r(v - a).mul(e)).toNumber()), s);
|
|
20
|
+
return u(0, t);
|
|
21
|
+
}, h = function(t, n, e, i) {
|
|
22
|
+
var o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
|
|
23
|
+
if (!Number.isFinite((n - t) / (e - 1)))
|
|
24
24
|
return {
|
|
25
|
-
step: new
|
|
26
|
-
tickMin: new
|
|
27
|
-
tickMax: new
|
|
25
|
+
step: new r(0),
|
|
26
|
+
tickMin: new r(0),
|
|
27
|
+
tickMax: new r(0)
|
|
28
28
|
};
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
var
|
|
32
|
-
return d >
|
|
33
|
-
step:
|
|
34
|
-
tickMin: u.sub(new
|
|
35
|
-
tickMax: u.add(new
|
|
29
|
+
var a = b(new r(n).sub(t).div(e - 1), i, o), u;
|
|
30
|
+
t <= 0 && n >= 0 ? u = new r(0) : (u = new r(t).add(n).div(2), u = u.sub(new r(u).mod(a)));
|
|
31
|
+
var v = Math.ceil(u.sub(t).div(a).toNumber()), l = Math.ceil(new r(n).sub(u).div(a).toNumber()), d = v + l + 1;
|
|
32
|
+
return d > e ? h(t, n, e, i, o + 1) : (d < e && (l = n > 0 ? l + (e - d) : l, v = n > 0 ? v : v + (e - d)), {
|
|
33
|
+
step: a,
|
|
34
|
+
tickMin: u.sub(new r(v).mul(a)),
|
|
35
|
+
tickMax: u.add(new r(l).mul(a))
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
function F(m) {
|
|
39
|
-
var [
|
|
40
|
-
if (
|
|
41
|
-
var
|
|
42
|
-
return
|
|
39
|
+
var [t, n] = m, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = Math.max(e, 2), [a, u] = M([t, n]);
|
|
40
|
+
if (a === -1 / 0 || u === 1 / 0) {
|
|
41
|
+
var v = u === 1 / 0 ? [a, ...s(0, e - 1).map(() => 1 / 0)] : [...s(0, e - 1).map(() => -1 / 0), u];
|
|
42
|
+
return t > n ? f(v) : v;
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
45
|
-
return y(
|
|
44
|
+
if (a === u)
|
|
45
|
+
return y(a, e, i);
|
|
46
46
|
var {
|
|
47
47
|
step: l,
|
|
48
48
|
tickMin: d,
|
|
49
49
|
tickMax: N
|
|
50
|
-
} = h(
|
|
51
|
-
return
|
|
50
|
+
} = h(a, u, o, i, 0), c = g(d, N.add(new r(0.1).mul(l)), l);
|
|
51
|
+
return t > n ? f(c) : c;
|
|
52
52
|
}
|
|
53
|
-
function S(m,
|
|
54
|
-
var [n,
|
|
55
|
-
if (
|
|
56
|
-
return [n,
|
|
57
|
-
if (
|
|
58
|
-
return [
|
|
59
|
-
var u = Math.max(
|
|
60
|
-
return n >
|
|
53
|
+
function S(m, t) {
|
|
54
|
+
var [n, e] = m, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, [o, a] = M([n, e]);
|
|
55
|
+
if (o === -1 / 0 || a === 1 / 0)
|
|
56
|
+
return [n, e];
|
|
57
|
+
if (o === a)
|
|
58
|
+
return [o];
|
|
59
|
+
var u = Math.max(t, 2), v = b(new r(a).sub(o).div(u - 1), i, 0), l = [...g(new r(o), new r(a), v), a];
|
|
60
|
+
return i === !1 && (l = l.map((d) => Math.round(d))), n > e ? f(l) : l;
|
|
61
61
|
}
|
|
62
62
|
var D = w(F), R = w(S);
|
|
63
63
|
export {
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var r = [
|
|
3
|
+
"aria-activedescendant",
|
|
4
|
+
"aria-atomic",
|
|
5
|
+
"aria-autocomplete",
|
|
6
|
+
"aria-busy",
|
|
7
|
+
"aria-checked",
|
|
8
|
+
"aria-colcount",
|
|
9
|
+
"aria-colindex",
|
|
10
|
+
"aria-colspan",
|
|
11
|
+
"aria-controls",
|
|
12
|
+
"aria-current",
|
|
13
|
+
"aria-describedby",
|
|
14
|
+
"aria-details",
|
|
15
|
+
"aria-disabled",
|
|
16
|
+
"aria-errormessage",
|
|
17
|
+
"aria-expanded",
|
|
18
|
+
"aria-flowto",
|
|
19
|
+
"aria-haspopup",
|
|
20
|
+
"aria-hidden",
|
|
21
|
+
"aria-invalid",
|
|
22
|
+
"aria-keyshortcuts",
|
|
23
|
+
"aria-label",
|
|
24
|
+
"aria-labelledby",
|
|
25
|
+
"aria-level",
|
|
26
|
+
"aria-live",
|
|
27
|
+
"aria-modal",
|
|
28
|
+
"aria-multiline",
|
|
29
|
+
"aria-multiselectable",
|
|
30
|
+
"aria-orientation",
|
|
31
|
+
"aria-owns",
|
|
32
|
+
"aria-placeholder",
|
|
33
|
+
"aria-posinset",
|
|
34
|
+
"aria-pressed",
|
|
35
|
+
"aria-readonly",
|
|
36
|
+
"aria-relevant",
|
|
37
|
+
"aria-required",
|
|
38
|
+
"aria-roledescription",
|
|
39
|
+
"aria-rowcount",
|
|
40
|
+
"aria-rowindex",
|
|
41
|
+
"aria-rowspan",
|
|
42
|
+
"aria-selected",
|
|
43
|
+
"aria-setsize",
|
|
44
|
+
"aria-sort",
|
|
45
|
+
"aria-valuemax",
|
|
46
|
+
"aria-valuemin",
|
|
47
|
+
"aria-valuenow",
|
|
48
|
+
"aria-valuetext",
|
|
49
|
+
"className",
|
|
50
|
+
"color",
|
|
51
|
+
"height",
|
|
52
|
+
"id",
|
|
53
|
+
"lang",
|
|
54
|
+
"max",
|
|
55
|
+
"media",
|
|
56
|
+
"method",
|
|
57
|
+
"min",
|
|
58
|
+
"name",
|
|
59
|
+
"style",
|
|
60
|
+
/*
|
|
61
|
+
* removed 'type' SVGElementPropKey because we do not currently use any SVG elements
|
|
62
|
+
* that can use it, and it conflicts with the recharts prop 'type'
|
|
63
|
+
* https://github.com/recharts/recharts/pull/3327
|
|
64
|
+
* https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/type
|
|
65
|
+
*/
|
|
66
|
+
// 'type',
|
|
67
|
+
"target",
|
|
68
|
+
"width",
|
|
69
|
+
"role",
|
|
70
|
+
"tabIndex",
|
|
71
|
+
"accentHeight",
|
|
72
|
+
"accumulate",
|
|
73
|
+
"additive",
|
|
74
|
+
"alignmentBaseline",
|
|
75
|
+
"allowReorder",
|
|
76
|
+
"alphabetic",
|
|
77
|
+
"amplitude",
|
|
78
|
+
"arabicForm",
|
|
79
|
+
"ascent",
|
|
80
|
+
"attributeName",
|
|
81
|
+
"attributeType",
|
|
82
|
+
"autoReverse",
|
|
83
|
+
"azimuth",
|
|
84
|
+
"baseFrequency",
|
|
85
|
+
"baselineShift",
|
|
86
|
+
"baseProfile",
|
|
87
|
+
"bbox",
|
|
88
|
+
"begin",
|
|
89
|
+
"bias",
|
|
90
|
+
"by",
|
|
91
|
+
"calcMode",
|
|
92
|
+
"capHeight",
|
|
93
|
+
"clip",
|
|
94
|
+
"clipPath",
|
|
95
|
+
"clipPathUnits",
|
|
96
|
+
"clipRule",
|
|
97
|
+
"colorInterpolation",
|
|
98
|
+
"colorInterpolationFilters",
|
|
99
|
+
"colorProfile",
|
|
100
|
+
"colorRendering",
|
|
101
|
+
"contentScriptType",
|
|
102
|
+
"contentStyleType",
|
|
103
|
+
"cursor",
|
|
104
|
+
"cx",
|
|
105
|
+
"cy",
|
|
106
|
+
"d",
|
|
107
|
+
"decelerate",
|
|
108
|
+
"descent",
|
|
109
|
+
"diffuseConstant",
|
|
110
|
+
"direction",
|
|
111
|
+
"display",
|
|
112
|
+
"divisor",
|
|
113
|
+
"dominantBaseline",
|
|
114
|
+
"dur",
|
|
115
|
+
"dx",
|
|
116
|
+
"dy",
|
|
117
|
+
"edgeMode",
|
|
118
|
+
"elevation",
|
|
119
|
+
"enableBackground",
|
|
120
|
+
"end",
|
|
121
|
+
"exponent",
|
|
122
|
+
"externalResourcesRequired",
|
|
123
|
+
"fill",
|
|
124
|
+
"fillOpacity",
|
|
125
|
+
"fillRule",
|
|
126
|
+
"filter",
|
|
127
|
+
"filterRes",
|
|
128
|
+
"filterUnits",
|
|
129
|
+
"floodColor",
|
|
130
|
+
"floodOpacity",
|
|
131
|
+
"focusable",
|
|
132
|
+
"fontFamily",
|
|
133
|
+
"fontSize",
|
|
134
|
+
"fontSizeAdjust",
|
|
135
|
+
"fontStretch",
|
|
136
|
+
"fontStyle",
|
|
137
|
+
"fontVariant",
|
|
138
|
+
"fontWeight",
|
|
139
|
+
"format",
|
|
140
|
+
"from",
|
|
141
|
+
"fx",
|
|
142
|
+
"fy",
|
|
143
|
+
"g1",
|
|
144
|
+
"g2",
|
|
145
|
+
"glyphName",
|
|
146
|
+
"glyphOrientationHorizontal",
|
|
147
|
+
"glyphOrientationVertical",
|
|
148
|
+
"glyphRef",
|
|
149
|
+
"gradientTransform",
|
|
150
|
+
"gradientUnits",
|
|
151
|
+
"hanging",
|
|
152
|
+
"horizAdvX",
|
|
153
|
+
"horizOriginX",
|
|
154
|
+
"href",
|
|
155
|
+
"ideographic",
|
|
156
|
+
"imageRendering",
|
|
157
|
+
"in2",
|
|
158
|
+
"in",
|
|
159
|
+
"intercept",
|
|
160
|
+
"k1",
|
|
161
|
+
"k2",
|
|
162
|
+
"k3",
|
|
163
|
+
"k4",
|
|
164
|
+
"k",
|
|
165
|
+
"kernelMatrix",
|
|
166
|
+
"kernelUnitLength",
|
|
167
|
+
"kerning",
|
|
168
|
+
"keyPoints",
|
|
169
|
+
"keySplines",
|
|
170
|
+
"keyTimes",
|
|
171
|
+
"lengthAdjust",
|
|
172
|
+
"letterSpacing",
|
|
173
|
+
"lightingColor",
|
|
174
|
+
"limitingConeAngle",
|
|
175
|
+
"local",
|
|
176
|
+
"markerEnd",
|
|
177
|
+
"markerHeight",
|
|
178
|
+
"markerMid",
|
|
179
|
+
"markerStart",
|
|
180
|
+
"markerUnits",
|
|
181
|
+
"markerWidth",
|
|
182
|
+
"mask",
|
|
183
|
+
"maskContentUnits",
|
|
184
|
+
"maskUnits",
|
|
185
|
+
"mathematical",
|
|
186
|
+
"mode",
|
|
187
|
+
"numOctaves",
|
|
188
|
+
"offset",
|
|
189
|
+
"opacity",
|
|
190
|
+
"operator",
|
|
191
|
+
"order",
|
|
192
|
+
"orient",
|
|
193
|
+
"orientation",
|
|
194
|
+
"origin",
|
|
195
|
+
"overflow",
|
|
196
|
+
"overlinePosition",
|
|
197
|
+
"overlineThickness",
|
|
198
|
+
"paintOrder",
|
|
199
|
+
"panose1",
|
|
200
|
+
"pathLength",
|
|
201
|
+
"patternContentUnits",
|
|
202
|
+
"patternTransform",
|
|
203
|
+
"patternUnits",
|
|
204
|
+
"pointerEvents",
|
|
205
|
+
"pointsAtX",
|
|
206
|
+
"pointsAtY",
|
|
207
|
+
"pointsAtZ",
|
|
208
|
+
"preserveAlpha",
|
|
209
|
+
"preserveAspectRatio",
|
|
210
|
+
"primitiveUnits",
|
|
211
|
+
"r",
|
|
212
|
+
"radius",
|
|
213
|
+
"refX",
|
|
214
|
+
"refY",
|
|
215
|
+
"renderingIntent",
|
|
216
|
+
"repeatCount",
|
|
217
|
+
"repeatDur",
|
|
218
|
+
"requiredExtensions",
|
|
219
|
+
"requiredFeatures",
|
|
220
|
+
"restart",
|
|
221
|
+
"result",
|
|
222
|
+
"rotate",
|
|
223
|
+
"rx",
|
|
224
|
+
"ry",
|
|
225
|
+
"seed",
|
|
226
|
+
"shapeRendering",
|
|
227
|
+
"slope",
|
|
228
|
+
"spacing",
|
|
229
|
+
"specularConstant",
|
|
230
|
+
"specularExponent",
|
|
231
|
+
"speed",
|
|
232
|
+
"spreadMethod",
|
|
233
|
+
"startOffset",
|
|
234
|
+
"stdDeviation",
|
|
235
|
+
"stemh",
|
|
236
|
+
"stemv",
|
|
237
|
+
"stitchTiles",
|
|
238
|
+
"stopColor",
|
|
239
|
+
"stopOpacity",
|
|
240
|
+
"strikethroughPosition",
|
|
241
|
+
"strikethroughThickness",
|
|
242
|
+
"string",
|
|
243
|
+
"stroke",
|
|
244
|
+
"strokeDasharray",
|
|
245
|
+
"strokeDashoffset",
|
|
246
|
+
"strokeLinecap",
|
|
247
|
+
"strokeLinejoin",
|
|
248
|
+
"strokeMiterlimit",
|
|
249
|
+
"strokeOpacity",
|
|
250
|
+
"strokeWidth",
|
|
251
|
+
"surfaceScale",
|
|
252
|
+
"systemLanguage",
|
|
253
|
+
"tableValues",
|
|
254
|
+
"targetX",
|
|
255
|
+
"targetY",
|
|
256
|
+
"textAnchor",
|
|
257
|
+
"textDecoration",
|
|
258
|
+
"textLength",
|
|
259
|
+
"textRendering",
|
|
260
|
+
"to",
|
|
261
|
+
"transform",
|
|
262
|
+
"u1",
|
|
263
|
+
"u2",
|
|
264
|
+
"underlinePosition",
|
|
265
|
+
"underlineThickness",
|
|
266
|
+
"unicode",
|
|
267
|
+
"unicodeBidi",
|
|
268
|
+
"unicodeRange",
|
|
269
|
+
"unitsPerEm",
|
|
270
|
+
"vAlphabetic",
|
|
271
|
+
"values",
|
|
272
|
+
"vectorEffect",
|
|
273
|
+
"version",
|
|
274
|
+
"vertAdvY",
|
|
275
|
+
"vertOriginX",
|
|
276
|
+
"vertOriginY",
|
|
277
|
+
"vHanging",
|
|
278
|
+
"vIdeographic",
|
|
279
|
+
"viewTarget",
|
|
280
|
+
"visibility",
|
|
281
|
+
"vMathematical",
|
|
282
|
+
"widths",
|
|
283
|
+
"wordSpacing",
|
|
284
|
+
"writingMode",
|
|
285
|
+
"x1",
|
|
286
|
+
"x2",
|
|
287
|
+
"x",
|
|
288
|
+
"xChannelSelector",
|
|
289
|
+
"xHeight",
|
|
290
|
+
"xlinkActuate",
|
|
291
|
+
"xlinkArcrole",
|
|
292
|
+
"xlinkHref",
|
|
293
|
+
"xlinkRole",
|
|
294
|
+
"xlinkShow",
|
|
295
|
+
"xlinkTitle",
|
|
296
|
+
"xlinkType",
|
|
297
|
+
"xmlBase",
|
|
298
|
+
"xmlLang",
|
|
299
|
+
"xmlns",
|
|
300
|
+
"xmlnsXlink",
|
|
301
|
+
"xmlSpace",
|
|
302
|
+
"y1",
|
|
303
|
+
"y2",
|
|
304
|
+
"y",
|
|
305
|
+
"yChannelSelector",
|
|
306
|
+
"z",
|
|
307
|
+
"zoomAndPan",
|
|
308
|
+
"ref",
|
|
309
|
+
"key",
|
|
310
|
+
"angle"
|
|
311
|
+
];
|
|
312
|
+
function n(e) {
|
|
313
|
+
if (typeof e != "string")
|
|
314
|
+
return !1;
|
|
315
|
+
var i = r;
|
|
316
|
+
return i.includes(e);
|
|
317
|
+
}
|
|
318
|
+
function o(e) {
|
|
319
|
+
var i = Object.entries(e).filter((t) => {
|
|
320
|
+
var [a] = t;
|
|
321
|
+
return n(a);
|
|
322
|
+
});
|
|
323
|
+
return Object.fromEntries(i);
|
|
324
|
+
}
|
|
325
|
+
export {
|
|
326
|
+
n as isSvgElementPropKey,
|
|
327
|
+
o as svgPropertiesNoEvents
|
|
328
|
+
};
|