@overmap-ai/core 1.0.58-export-overmap-reducer.3 → 1.0.58-export-overmap-reducer.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/overmap-core.js +104 -278
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +119 -294
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/package.json +5 -3
package/dist/overmap-core.js
CHANGED
|
@@ -8,7 +8,7 @@ var _a;
|
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import React__default, { useState, useEffect, useRef, useMemo, useCallback, createContext, createElement, useContext, forwardRef, Children, isValidElement, cloneElement, Fragment, useLayoutEffect, useReducer, memo, lazy, Suspense } from "react";
|
|
10
10
|
import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
11
|
-
import { unsafeShowToast, AlertDialogProvider, ToastProvider, DefaultTheme, IconButton, RiIcon, useSeverityColor, TextArea, Select, useToast, Badge, MultiSelect, Overlay, Button, Spinner, useViewportSize, ButtonGroup, IconColorUtility, useSize, ToggleButton, OvermapItem, ButtonList, divButtonProps,
|
|
11
|
+
import { unsafeShowToast, AlertDialogProvider, ToastProvider, DefaultTheme, IconButton, RiIcon, useSeverityColor, TextArea, Select, useToast, Badge, MultiSelect, Overlay, Button, Spinner, useViewportSize, ButtonGroup, IconColorUtility, useSize, ToggleButton, OvermapItem, ButtonList, divButtonProps, OvermapMenu, Input, useAlertDialog } from "@overmap-ai/blocks";
|
|
12
12
|
import { DepGraph } from "dependency-graph";
|
|
13
13
|
import saveAs$1, { saveAs } from "file-saver";
|
|
14
14
|
import { offline as offline$1 } from "@redux-offline/redux-offline";
|
|
@@ -26,6 +26,7 @@ import { openDB } from "idb";
|
|
|
26
26
|
import { useField, useFormikContext, useFormik, FormikProvider } from "formik";
|
|
27
27
|
import * as ReactDOM from "react-dom";
|
|
28
28
|
import ReactDOM__default, { flushSync } from "react-dom";
|
|
29
|
+
import { RiCheckboxCircleLine, RiHashtag, RiCalendarLine, RiInputField, RiAlignJustify, RiListCheck, RiMenuFoldLine, RiCheckboxLine, RiQrCodeLine, RiUpload2Line, RiDeleteBin2Line, RiImageLine, RiArrowDownLine, RiArrowUpLine, RiFileCopyLine } from "react-icons/ri";
|
|
29
30
|
import get from "lodash.get";
|
|
30
31
|
import Linkify from "linkify-react";
|
|
31
32
|
import { DragDropContext, Droppable, Draggable } from "@hello-pangea/dnd";
|
|
@@ -8660,8 +8661,8 @@ var classnames = { exports: {} };
|
|
|
8660
8661
|
})(classnames);
|
|
8661
8662
|
var classnamesExports = classnames.exports;
|
|
8662
8663
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
8663
|
-
function _extends
|
|
8664
|
-
_extends
|
|
8664
|
+
function _extends() {
|
|
8665
|
+
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
8665
8666
|
for (var i = 1; i < arguments.length; i++) {
|
|
8666
8667
|
var source = arguments[i];
|
|
8667
8668
|
for (var key in source) {
|
|
@@ -8672,7 +8673,7 @@ function _extends$1() {
|
|
|
8672
8673
|
}
|
|
8673
8674
|
return target;
|
|
8674
8675
|
};
|
|
8675
|
-
return _extends
|
|
8676
|
+
return _extends.apply(this, arguments);
|
|
8676
8677
|
}
|
|
8677
8678
|
function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
8678
8679
|
return function handleEvent(event) {
|
|
@@ -8803,11 +8804,11 @@ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ forwardRef((pr
|
|
|
8803
8804
|
} else
|
|
8804
8805
|
return child;
|
|
8805
8806
|
});
|
|
8806
|
-
return /* @__PURE__ */ createElement($5e63c961fc1ce211$var$SlotClone, _extends
|
|
8807
|
+
return /* @__PURE__ */ createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
8807
8808
|
ref: forwardedRef
|
|
8808
8809
|
}), /* @__PURE__ */ isValidElement(newElement) ? /* @__PURE__ */ cloneElement(newElement, void 0, newChildren) : null);
|
|
8809
8810
|
}
|
|
8810
|
-
return /* @__PURE__ */ createElement($5e63c961fc1ce211$var$SlotClone, _extends
|
|
8811
|
+
return /* @__PURE__ */ createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
8811
8812
|
ref: forwardedRef
|
|
8812
8813
|
}), children);
|
|
8813
8814
|
});
|
|
@@ -8885,7 +8886,7 @@ const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.re
|
|
|
8885
8886
|
useEffect(() => {
|
|
8886
8887
|
window[Symbol.for("radix-ui")] = true;
|
|
8887
8888
|
}, []);
|
|
8888
|
-
return /* @__PURE__ */ createElement(Comp, _extends
|
|
8889
|
+
return /* @__PURE__ */ createElement(Comp, _extends({}, primitiveProps, {
|
|
8889
8890
|
ref: forwardedRef
|
|
8890
8891
|
}));
|
|
8891
8892
|
});
|
|
@@ -9033,7 +9034,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ forwardRef((pr
|
|
|
9033
9034
|
document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
9034
9035
|
return () => document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
9035
9036
|
}, []);
|
|
9036
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
9037
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
|
|
9037
9038
|
ref: composedRefs,
|
|
9038
9039
|
style: {
|
|
9039
9040
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0,
|
|
@@ -10830,7 +10831,7 @@ function useFloating(options) {
|
|
|
10830
10831
|
}
|
|
10831
10832
|
const $7e8f5cd07187803e$export$21b07c8f274aebd5 = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
10832
10833
|
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
10833
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends
|
|
10834
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends({}, arrowProps, {
|
|
10834
10835
|
ref: forwardedRef,
|
|
10835
10836
|
width,
|
|
10836
10837
|
height,
|
|
@@ -10903,7 +10904,7 @@ const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */ forwardRef((pro
|
|
|
10903
10904
|
useEffect(() => {
|
|
10904
10905
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
10905
10906
|
});
|
|
10906
|
-
return virtualRef ? null : /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
10907
|
+
return virtualRef ? null : /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, anchorProps, {
|
|
10907
10908
|
ref: composedRefs
|
|
10908
10909
|
}));
|
|
10909
10910
|
});
|
|
@@ -11033,7 +11034,7 @@ const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ forwardRef((pro
|
|
|
11033
11034
|
arrowX,
|
|
11034
11035
|
arrowY,
|
|
11035
11036
|
shouldHideArrow: cannotCenterArrow
|
|
11036
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
11037
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
11037
11038
|
"data-side": placedSide,
|
|
11038
11039
|
"data-align": placedAlign
|
|
11039
11040
|
}, contentProps, {
|
|
@@ -11084,7 +11085,7 @@ const $cf1ac5d9fe0e8206$export$79d62cd4e10a3fd0 = /* @__PURE__ */ forwardRef(fun
|
|
|
11084
11085
|
}[contentContext.placedSide],
|
|
11085
11086
|
visibility: contentContext.shouldHideArrow ? "hidden" : void 0
|
|
11086
11087
|
}
|
|
11087
|
-
}, /* @__PURE__ */ createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends
|
|
11088
|
+
}, /* @__PURE__ */ createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends({}, arrowProps, {
|
|
11088
11089
|
ref: forwardedRef,
|
|
11089
11090
|
style: {
|
|
11090
11091
|
...arrowProps.style,
|
|
@@ -11152,7 +11153,7 @@ const $cf1ac5d9fe0e8206$export$21b07c8f274aebd5 = $cf1ac5d9fe0e8206$export$79d62
|
|
|
11152
11153
|
const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
11153
11154
|
var _globalThis$document;
|
|
11154
11155
|
const { container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body, ...portalProps } = props;
|
|
11155
|
-
return container ? /* @__PURE__ */ ReactDOM__default.createPortal(/* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
11156
|
+
return container ? /* @__PURE__ */ ReactDOM__default.createPortal(/* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
|
|
11156
11157
|
ref: forwardedRef
|
|
11157
11158
|
})), container) : null;
|
|
11158
11159
|
});
|
|
@@ -11313,7 +11314,7 @@ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp, onChange }) {
|
|
|
11313
11314
|
return uncontrolledState;
|
|
11314
11315
|
}
|
|
11315
11316
|
const $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
11316
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
11317
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
|
|
11317
11318
|
ref: forwardedRef,
|
|
11318
11319
|
style: {
|
|
11319
11320
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -11478,9 +11479,9 @@ const $a093c7e1ec25a057$export$8c610744efcf8a1d = /* @__PURE__ */ forwardRef((pr
|
|
|
11478
11479
|
}, [
|
|
11479
11480
|
handlePointerUp
|
|
11480
11481
|
]);
|
|
11481
|
-
return /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends
|
|
11482
|
+
return /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
11482
11483
|
asChild: true
|
|
11483
|
-
}, popperScope), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
11484
|
+
}, popperScope), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
11484
11485
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
|
11485
11486
|
// commonly anchors and the anchor `type` attribute signifies MIME type.
|
|
11486
11487
|
"aria-describedby": context.open ? context.contentId : void 0,
|
|
@@ -11537,11 +11538,11 @@ const $a093c7e1ec25a057$export$e9003e2be37ec060 = /* @__PURE__ */ forwardRef((pr
|
|
|
11537
11538
|
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$CONTENT_NAME, props.__scopeTooltip);
|
|
11538
11539
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
11539
11540
|
present: forceMount || context.open
|
|
11540
|
-
}, context.disableHoverableContent ? /* @__PURE__ */ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends
|
|
11541
|
+
}, context.disableHoverableContent ? /* @__PURE__ */ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends({
|
|
11541
11542
|
side
|
|
11542
11543
|
}, contentProps, {
|
|
11543
11544
|
ref: forwardedRef
|
|
11544
|
-
})) : /* @__PURE__ */ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends
|
|
11545
|
+
})) : /* @__PURE__ */ createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends({
|
|
11545
11546
|
side
|
|
11546
11547
|
}, contentProps, {
|
|
11547
11548
|
ref: forwardedRef
|
|
@@ -11629,7 +11630,7 @@ const $a093c7e1ec25a057$var$TooltipContentHoverable = /* @__PURE__ */ forwardRef
|
|
|
11629
11630
|
onClose,
|
|
11630
11631
|
handleRemoveGraceArea
|
|
11631
11632
|
]);
|
|
11632
|
-
return /* @__PURE__ */ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends
|
|
11633
|
+
return /* @__PURE__ */ createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends({}, props, {
|
|
11633
11634
|
ref: composedRefs
|
|
11634
11635
|
}));
|
|
11635
11636
|
});
|
|
@@ -11672,7 +11673,7 @@ const $a093c7e1ec25a057$var$TooltipContentImpl = /* @__PURE__ */ forwardRef((pro
|
|
|
11672
11673
|
onPointerDownOutside,
|
|
11673
11674
|
onFocusOutside: (event) => event.preventDefault(),
|
|
11674
11675
|
onDismiss: onClose
|
|
11675
|
-
}, /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends
|
|
11676
|
+
}, /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({
|
|
11676
11677
|
"data-state": context.stateAttribute
|
|
11677
11678
|
}, popperScope, contentProps, {
|
|
11678
11679
|
ref: forwardedRef,
|
|
@@ -11697,7 +11698,7 @@ const $a093c7e1ec25a057$export$c27ee0ad710f7559 = /* @__PURE__ */ forwardRef((pr
|
|
|
11697
11698
|
const { __scopeTooltip, ...arrowProps } = props;
|
|
11698
11699
|
const popperScope = $a093c7e1ec25a057$var$usePopperScope(__scopeTooltip);
|
|
11699
11700
|
const visuallyHiddenContentContext = $a093c7e1ec25a057$var$useVisuallyHiddenContentContext($a093c7e1ec25a057$var$ARROW_NAME, __scopeTooltip);
|
|
11700
|
-
return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends
|
|
11701
|
+
return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends({}, popperScope, arrowProps, {
|
|
11701
11702
|
ref: forwardedRef
|
|
11702
11703
|
}));
|
|
11703
11704
|
});
|
|
@@ -12486,7 +12487,7 @@ const $e698a72e93240346$export$48513f6b9f8ce62d = /* @__PURE__ */ forwardRef((pr
|
|
|
12486
12487
|
scope: __scopeCheckbox,
|
|
12487
12488
|
state: checked,
|
|
12488
12489
|
disabled
|
|
12489
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
12490
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
12490
12491
|
type: "button",
|
|
12491
12492
|
role: "checkbox",
|
|
12492
12493
|
"aria-checked": $e698a72e93240346$var$isIndeterminate(checked) ? "mixed" : checked,
|
|
@@ -12530,7 +12531,7 @@ const $e698a72e93240346$export$59aad738f51d1c05 = /* @__PURE__ */ forwardRef((pr
|
|
|
12530
12531
|
const context = $e698a72e93240346$var$useCheckboxContext($e698a72e93240346$var$INDICATOR_NAME, __scopeCheckbox);
|
|
12531
12532
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
12532
12533
|
present: forceMount || $e698a72e93240346$var$isIndeterminate(context.state) || context.state === true
|
|
12533
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
12534
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
12534
12535
|
"data-state": $e698a72e93240346$var$getState(context.state),
|
|
12535
12536
|
"data-disabled": context.disabled ? "" : void 0
|
|
12536
12537
|
}, indicatorProps, {
|
|
@@ -12564,7 +12565,7 @@ const $e698a72e93240346$var$BubbleInput = (props) => {
|
|
|
12564
12565
|
checked,
|
|
12565
12566
|
bubbles
|
|
12566
12567
|
]);
|
|
12567
|
-
return /* @__PURE__ */ createElement("input", _extends
|
|
12568
|
+
return /* @__PURE__ */ createElement("input", _extends({
|
|
12568
12569
|
type: "checkbox",
|
|
12569
12570
|
"aria-hidden": true,
|
|
12570
12571
|
defaultChecked: $e698a72e93240346$var$isIndeterminate(checked) ? false : checked
|
|
@@ -12740,7 +12741,7 @@ const $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /* @__PURE__ */ forwardRef((pr
|
|
|
12740
12741
|
scope: props.__scopeRovingFocusGroup
|
|
12741
12742
|
}, /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {
|
|
12742
12743
|
scope: props.__scopeRovingFocusGroup
|
|
12743
|
-
}, /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends
|
|
12744
|
+
}, /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends({}, props, {
|
|
12744
12745
|
ref: forwardedRef
|
|
12745
12746
|
}))));
|
|
12746
12747
|
});
|
|
@@ -12796,7 +12797,7 @@ const $d7bdfb9eb0fdf311$var$RovingFocusGroupImpl = /* @__PURE__ */ forwardRef((p
|
|
|
12796
12797
|
),
|
|
12797
12798
|
[]
|
|
12798
12799
|
)
|
|
12799
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
12800
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
12800
12801
|
tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
|
|
12801
12802
|
"data-orientation": orientation
|
|
12802
12803
|
}, groupProps, {
|
|
@@ -12866,7 +12867,7 @@ const $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 = /* @__PURE__ */ forwardRef((pro
|
|
|
12866
12867
|
id,
|
|
12867
12868
|
focusable,
|
|
12868
12869
|
active
|
|
12869
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
12870
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
12870
12871
|
tabIndex: isCurrentTabStop ? 0 : -1,
|
|
12871
12872
|
"data-orientation": context.orientation
|
|
12872
12873
|
}, itemProps, {
|
|
@@ -13132,7 +13133,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ forwardRef((pr
|
|
|
13132
13133
|
trapped,
|
|
13133
13134
|
focusScope.paused
|
|
13134
13135
|
]);
|
|
13135
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
13136
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
13136
13137
|
tabIndex: -1
|
|
13137
13138
|
}, scopeProps, {
|
|
13138
13139
|
ref: composedRefs,
|
|
@@ -14003,7 +14004,7 @@ const $57acba87d6e25586$export$ccf8d8d7bbf3c2cc = /* @__PURE__ */ forwardRef((pr
|
|
|
14003
14004
|
onScrollbarYEnabledChange: setScrollbarYEnabled,
|
|
14004
14005
|
onCornerWidthChange: setCornerWidth,
|
|
14005
14006
|
onCornerHeightChange: setCornerHeight
|
|
14006
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14007
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
14007
14008
|
dir: direction
|
|
14008
14009
|
}, scrollAreaProps, {
|
|
14009
14010
|
ref: composedRefs,
|
|
@@ -14026,7 +14027,7 @@ const $57acba87d6e25586$export$a21cbf9f11fca853 = /* @__PURE__ */ forwardRef((pr
|
|
|
14026
14027
|
dangerouslySetInnerHTML: {
|
|
14027
14028
|
__html: `[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`
|
|
14028
14029
|
}
|
|
14029
|
-
}), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14030
|
+
}), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
14030
14031
|
"data-radix-scroll-area-viewport": ""
|
|
14031
14032
|
}, viewportProps, {
|
|
14032
14033
|
ref: composedRefs,
|
|
@@ -14070,16 +14071,16 @@ const $57acba87d6e25586$export$2fabd85d0eba3c57 = /* @__PURE__ */ forwardRef((pr
|
|
|
14070
14071
|
onScrollbarXEnabledChange,
|
|
14071
14072
|
onScrollbarYEnabledChange
|
|
14072
14073
|
]);
|
|
14073
|
-
return context.type === "hover" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarHover, _extends
|
|
14074
|
+
return context.type === "hover" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarHover, _extends({}, scrollbarProps, {
|
|
14074
14075
|
ref: forwardedRef,
|
|
14075
14076
|
forceMount
|
|
14076
|
-
})) : context.type === "scroll" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarScroll, _extends
|
|
14077
|
+
})) : context.type === "scroll" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarScroll, _extends({}, scrollbarProps, {
|
|
14077
14078
|
ref: forwardedRef,
|
|
14078
14079
|
forceMount
|
|
14079
|
-
})) : context.type === "auto" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends
|
|
14080
|
+
})) : context.type === "auto" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends({}, scrollbarProps, {
|
|
14080
14081
|
ref: forwardedRef,
|
|
14081
14082
|
forceMount
|
|
14082
|
-
})) : context.type === "always" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends
|
|
14083
|
+
})) : context.type === "always" ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends({}, scrollbarProps, {
|
|
14083
14084
|
ref: forwardedRef
|
|
14084
14085
|
})) : null;
|
|
14085
14086
|
});
|
|
@@ -14115,7 +14116,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarHover = /* @__PURE__ */ forwardRe
|
|
|
14115
14116
|
]);
|
|
14116
14117
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14117
14118
|
present: forceMount || visible
|
|
14118
|
-
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends
|
|
14119
|
+
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends({
|
|
14119
14120
|
"data-state": visible ? "visible" : "hidden"
|
|
14120
14121
|
}, scrollbarProps, {
|
|
14121
14122
|
ref: forwardedRef
|
|
@@ -14185,7 +14186,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarScroll = /* @__PURE__ */ forwardR
|
|
|
14185
14186
|
]);
|
|
14186
14187
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14187
14188
|
present: forceMount || state !== "hidden"
|
|
14188
|
-
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends
|
|
14189
|
+
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends({
|
|
14189
14190
|
"data-state": state === "hidden" ? "hidden" : "visible"
|
|
14190
14191
|
}, scrollbarProps, {
|
|
14191
14192
|
ref: forwardedRef,
|
|
@@ -14215,7 +14216,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarAuto = /* @__PURE__ */ forwardRef
|
|
|
14215
14216
|
$57acba87d6e25586$var$useResizeObserver(context.content, handleResize);
|
|
14216
14217
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14217
14218
|
present: forceMount || visible
|
|
14218
|
-
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends
|
|
14219
|
+
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends({
|
|
14219
14220
|
"data-state": visible ? "visible" : "hidden"
|
|
14220
14221
|
}, scrollbarProps, {
|
|
14221
14222
|
ref: forwardedRef
|
|
@@ -14249,7 +14250,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarVisible = /* @__PURE__ */ forward
|
|
|
14249
14250
|
return $57acba87d6e25586$var$getScrollPositionFromPointer(pointerPos, pointerOffsetRef.current, sizes2, dir);
|
|
14250
14251
|
}
|
|
14251
14252
|
if (orientation === "horizontal")
|
|
14252
|
-
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarX, _extends
|
|
14253
|
+
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarX, _extends({}, commonProps, {
|
|
14253
14254
|
ref: forwardedRef,
|
|
14254
14255
|
onThumbPositionChange: () => {
|
|
14255
14256
|
if (context.viewport && thumbRef.current) {
|
|
@@ -14268,7 +14269,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarVisible = /* @__PURE__ */ forward
|
|
|
14268
14269
|
}
|
|
14269
14270
|
}));
|
|
14270
14271
|
if (orientation === "vertical")
|
|
14271
|
-
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarY, _extends
|
|
14272
|
+
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarY, _extends({}, commonProps, {
|
|
14272
14273
|
ref: forwardedRef,
|
|
14273
14274
|
onThumbPositionChange: () => {
|
|
14274
14275
|
if (context.viewport && thumbRef.current) {
|
|
@@ -14300,7 +14301,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarX = /* @__PURE__ */ forwardRef((p
|
|
|
14300
14301
|
}, [
|
|
14301
14302
|
ref
|
|
14302
14303
|
]);
|
|
14303
|
-
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends
|
|
14304
|
+
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends({
|
|
14304
14305
|
"data-orientation": "horizontal"
|
|
14305
14306
|
}, scrollbarProps, {
|
|
14306
14307
|
ref: composeRefs,
|
|
@@ -14348,7 +14349,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarY = /* @__PURE__ */ forwardRef((p
|
|
|
14348
14349
|
}, [
|
|
14349
14350
|
ref
|
|
14350
14351
|
]);
|
|
14351
|
-
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends
|
|
14352
|
+
return /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends({
|
|
14352
14353
|
"data-orientation": "vertical"
|
|
14353
14354
|
}, scrollbarProps, {
|
|
14354
14355
|
ref: composeRefs,
|
|
@@ -14444,7 +14445,7 @@ const $57acba87d6e25586$var$ScrollAreaScrollbarImpl = /* @__PURE__ */ forwardRef
|
|
|
14444
14445
|
onThumbPointerUp: $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPointerUp),
|
|
14445
14446
|
onThumbPositionChange: handleThumbPositionChange,
|
|
14446
14447
|
onThumbPointerDown: $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPointerDown)
|
|
14447
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14448
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, scrollbarProps, {
|
|
14448
14449
|
ref: composeRefs,
|
|
14449
14450
|
style: {
|
|
14450
14451
|
position: "absolute",
|
|
@@ -14481,7 +14482,7 @@ const $57acba87d6e25586$export$9fba1154677d7cd2 = /* @__PURE__ */ forwardRef((pr
|
|
|
14481
14482
|
const scrollbarContext = $57acba87d6e25586$var$useScrollbarContext($57acba87d6e25586$var$THUMB_NAME, props.__scopeScrollArea);
|
|
14482
14483
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14483
14484
|
present: forceMount || scrollbarContext.hasThumb
|
|
14484
|
-
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaThumbImpl, _extends
|
|
14485
|
+
}, /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaThumbImpl, _extends({
|
|
14485
14486
|
ref: forwardedRef
|
|
14486
14487
|
}, thumbProps)));
|
|
14487
14488
|
});
|
|
@@ -14521,7 +14522,7 @@ const $57acba87d6e25586$var$ScrollAreaThumbImpl = /* @__PURE__ */ forwardRef((pr
|
|
|
14521
14522
|
debounceScrollEnd,
|
|
14522
14523
|
onThumbPositionChange
|
|
14523
14524
|
]);
|
|
14524
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14525
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
14525
14526
|
"data-state": scrollbarContext.hasThumb ? "visible" : "hidden"
|
|
14526
14527
|
}, thumbProps, {
|
|
14527
14528
|
ref: composedRef,
|
|
@@ -14548,7 +14549,7 @@ const $57acba87d6e25586$export$56969d565df7cc4b = /* @__PURE__ */ forwardRef((pr
|
|
|
14548
14549
|
const context = $57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$CORNER_NAME, props.__scopeScrollArea);
|
|
14549
14550
|
const hasBothScrollbarsVisible = Boolean(context.scrollbarX && context.scrollbarY);
|
|
14550
14551
|
const hasCorner = context.type !== "scroll" && hasBothScrollbarsVisible;
|
|
14551
|
-
return hasCorner ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaCornerImpl, _extends
|
|
14552
|
+
return hasCorner ? /* @__PURE__ */ createElement($57acba87d6e25586$var$ScrollAreaCornerImpl, _extends({}, props, {
|
|
14552
14553
|
ref: forwardedRef
|
|
14553
14554
|
})) : null;
|
|
14554
14555
|
});
|
|
@@ -14570,7 +14571,7 @@ const $57acba87d6e25586$var$ScrollAreaCornerImpl = /* @__PURE__ */ forwardRef((p
|
|
|
14570
14571
|
context.onCornerWidthChange(width);
|
|
14571
14572
|
setWidth(width);
|
|
14572
14573
|
});
|
|
14573
|
-
return hasSize ? /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14574
|
+
return hasSize ? /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, cornerProps, {
|
|
14574
14575
|
ref: forwardedRef,
|
|
14575
14576
|
style: {
|
|
14576
14577
|
width: width1,
|
|
@@ -14831,7 +14832,7 @@ const $faa2e61a3361514f$export$472062a354075cee = /* @__PURE__ */ forwardRef((pr
|
|
|
14831
14832
|
scope: props.__scopeSlider
|
|
14832
14833
|
}, /* @__PURE__ */ createElement($faa2e61a3361514f$var$Collection.Slot, {
|
|
14833
14834
|
scope: props.__scopeSlider
|
|
14834
|
-
}, /* @__PURE__ */ createElement(SliderOrientation, _extends
|
|
14835
|
+
}, /* @__PURE__ */ createElement(SliderOrientation, _extends({
|
|
14835
14836
|
"aria-disabled": disabled,
|
|
14836
14837
|
"data-disabled": disabled ? "" : void 0
|
|
14837
14838
|
}, sliderProps, {
|
|
@@ -14913,7 +14914,7 @@ const $faa2e61a3361514f$var$SliderHorizontal = /* @__PURE__ */ forwardRef((props
|
|
|
14913
14914
|
endEdge: isSlidingFromLeft ? "right" : "left",
|
|
14914
14915
|
direction: isSlidingFromLeft ? 1 : -1,
|
|
14915
14916
|
size: "width"
|
|
14916
|
-
}, /* @__PURE__ */ createElement($faa2e61a3361514f$var$SliderImpl, _extends
|
|
14917
|
+
}, /* @__PURE__ */ createElement($faa2e61a3361514f$var$SliderImpl, _extends({
|
|
14917
14918
|
dir: direction,
|
|
14918
14919
|
"data-orientation": "horizontal"
|
|
14919
14920
|
}, sliderProps, {
|
|
@@ -14973,7 +14974,7 @@ const $faa2e61a3361514f$var$SliderVertical = /* @__PURE__ */ forwardRef((props,
|
|
|
14973
14974
|
endEdge: isSlidingFromBottom ? "top" : "bottom",
|
|
14974
14975
|
size: "height",
|
|
14975
14976
|
direction: isSlidingFromBottom ? 1 : -1
|
|
14976
|
-
}, /* @__PURE__ */ createElement($faa2e61a3361514f$var$SliderImpl, _extends
|
|
14977
|
+
}, /* @__PURE__ */ createElement($faa2e61a3361514f$var$SliderImpl, _extends({
|
|
14977
14978
|
"data-orientation": "vertical"
|
|
14978
14979
|
}, sliderProps, {
|
|
14979
14980
|
ref,
|
|
@@ -15006,7 +15007,7 @@ const $faa2e61a3361514f$var$SliderVertical = /* @__PURE__ */ forwardRef((props,
|
|
|
15006
15007
|
const $faa2e61a3361514f$var$SliderImpl = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
15007
15008
|
const { __scopeSlider, onSlideStart, onSlideMove, onSlideEnd, onHomeKeyDown, onEndKeyDown, onStepKeyDown, ...sliderProps } = props;
|
|
15008
15009
|
const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$SLIDER_NAME, __scopeSlider);
|
|
15009
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15010
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, sliderProps, {
|
|
15010
15011
|
ref: forwardedRef,
|
|
15011
15012
|
onKeyDown: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onKeyDown, (event) => {
|
|
15012
15013
|
if (event.key === "Home") {
|
|
@@ -15047,7 +15048,7 @@ const $faa2e61a3361514f$var$TRACK_NAME = "SliderTrack";
|
|
|
15047
15048
|
const $faa2e61a3361514f$export$105594979f116971 = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
15048
15049
|
const { __scopeSlider, ...trackProps } = props;
|
|
15049
15050
|
const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$TRACK_NAME, __scopeSlider);
|
|
15050
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15051
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
15051
15052
|
"data-disabled": context.disabled ? "" : void 0,
|
|
15052
15053
|
"data-orientation": context.orientation
|
|
15053
15054
|
}, trackProps, {
|
|
@@ -15067,7 +15068,7 @@ const $faa2e61a3361514f$export$a5cf38a7a000fe77 = /* @__PURE__ */ forwardRef((pr
|
|
|
15067
15068
|
);
|
|
15068
15069
|
const offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0;
|
|
15069
15070
|
const offsetEnd = 100 - Math.max(...percentages);
|
|
15070
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15071
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
15071
15072
|
"data-orientation": context.orientation,
|
|
15072
15073
|
"data-disabled": context.disabled ? "" : void 0
|
|
15073
15074
|
}, rangeProps, {
|
|
@@ -15096,7 +15097,7 @@ const $faa2e61a3361514f$export$2c1b491743890dec = /* @__PURE__ */ forwardRef((pr
|
|
|
15096
15097
|
thumb
|
|
15097
15098
|
]
|
|
15098
15099
|
);
|
|
15099
|
-
return /* @__PURE__ */ createElement($faa2e61a3361514f$var$SliderThumbImpl, _extends
|
|
15100
|
+
return /* @__PURE__ */ createElement($faa2e61a3361514f$var$SliderThumbImpl, _extends({}, props, {
|
|
15100
15101
|
ref: composedRefs,
|
|
15101
15102
|
index: index2
|
|
15102
15103
|
}));
|
|
@@ -15135,7 +15136,7 @@ const $faa2e61a3361514f$var$SliderThumbImpl = /* @__PURE__ */ forwardRef((props,
|
|
|
15135
15136
|
}
|
|
15136
15137
|
}, /* @__PURE__ */ createElement($faa2e61a3361514f$var$Collection.ItemSlot, {
|
|
15137
15138
|
scope: props.__scopeSlider
|
|
15138
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15139
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
15139
15140
|
role: "slider",
|
|
15140
15141
|
"aria-label": props["aria-label"] || label,
|
|
15141
15142
|
"aria-valuemin": context.min,
|
|
@@ -15175,7 +15176,7 @@ const $faa2e61a3361514f$var$BubbleInput = (props) => {
|
|
|
15175
15176
|
prevValue,
|
|
15176
15177
|
value
|
|
15177
15178
|
]);
|
|
15178
|
-
return /* @__PURE__ */ createElement("input", _extends
|
|
15179
|
+
return /* @__PURE__ */ createElement("input", _extends({
|
|
15179
15180
|
style: {
|
|
15180
15181
|
display: "none"
|
|
15181
15182
|
}
|
|
@@ -15432,7 +15433,7 @@ const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */ forwardRef((pro
|
|
|
15432
15433
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$TRIGGER_NAME, __scopePopover);
|
|
15433
15434
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
15434
15435
|
const composedTriggerRef = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.triggerRef);
|
|
15435
|
-
const trigger = /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
15436
|
+
const trigger = /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
15436
15437
|
type: "button",
|
|
15437
15438
|
"aria-haspopup": "dialog",
|
|
15438
15439
|
"aria-expanded": context.open,
|
|
@@ -15442,7 +15443,7 @@ const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */ forwardRef((pro
|
|
|
15442
15443
|
ref: composedTriggerRef,
|
|
15443
15444
|
onClick: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onClick, context.onOpenToggle)
|
|
15444
15445
|
}));
|
|
15445
|
-
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends
|
|
15446
|
+
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
15446
15447
|
asChild: true
|
|
15447
15448
|
}, popperScope), trigger);
|
|
15448
15449
|
});
|
|
@@ -15470,9 +15471,9 @@ const $cb5cc270b50c6fcd$export$d7e1f420b25549ff = /* @__PURE__ */ forwardRef((pr
|
|
|
15470
15471
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
15471
15472
|
return /* @__PURE__ */ createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
15472
15473
|
present: forceMount || context.open
|
|
15473
|
-
}, context.modal ? /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentModal, _extends
|
|
15474
|
+
}, context.modal ? /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentModal, _extends({}, contentProps, {
|
|
15474
15475
|
ref: forwardedRef
|
|
15475
|
-
})) : /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentNonModal, _extends
|
|
15476
|
+
})) : /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentNonModal, _extends({}, contentProps, {
|
|
15476
15477
|
ref: forwardedRef
|
|
15477
15478
|
})));
|
|
15478
15479
|
});
|
|
@@ -15489,7 +15490,7 @@ const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */ forwardRef((pr
|
|
|
15489
15490
|
return /* @__PURE__ */ createElement($am6gm$RemoveScroll, {
|
|
15490
15491
|
as: $5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
15491
15492
|
allowPinchZoom: true
|
|
15492
|
-
}, /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends
|
|
15493
|
+
}, /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
15493
15494
|
ref: composedRefs,
|
|
15494
15495
|
trapFocus: context.open,
|
|
15495
15496
|
disableOutsidePointerEvents: true,
|
|
@@ -15520,7 +15521,7 @@ const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */ forwardRef(
|
|
|
15520
15521
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
15521
15522
|
const hasInteractedOutsideRef = useRef(false);
|
|
15522
15523
|
const hasPointerDownOutsideRef = useRef(false);
|
|
15523
|
-
return /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends
|
|
15524
|
+
return /* @__PURE__ */ createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
15524
15525
|
ref: forwardedRef,
|
|
15525
15526
|
trapFocus: false,
|
|
15526
15527
|
disableOutsidePointerEvents: false,
|
|
@@ -15572,7 +15573,7 @@ const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */ forwardRef((pro
|
|
|
15572
15573
|
onPointerDownOutside,
|
|
15573
15574
|
onFocusOutside,
|
|
15574
15575
|
onDismiss: () => context.onOpenChange(false)
|
|
15575
|
-
}, /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends
|
|
15576
|
+
}, /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({
|
|
15576
15577
|
"data-state": $cb5cc270b50c6fcd$var$getState(context.open),
|
|
15577
15578
|
role: "dialog",
|
|
15578
15579
|
id: context.contentId
|
|
@@ -15592,7 +15593,7 @@ const $cb5cc270b50c6fcd$var$CLOSE_NAME = "PopoverClose";
|
|
|
15592
15593
|
const $cb5cc270b50c6fcd$export$d6ac43ebaa40d53e = /* @__PURE__ */ forwardRef((props, forwardedRef) => {
|
|
15593
15594
|
const { __scopePopover, ...closeProps } = props;
|
|
15594
15595
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CLOSE_NAME, __scopePopover);
|
|
15595
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
15596
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
15596
15597
|
type: "button"
|
|
15597
15598
|
}, closeProps, {
|
|
15598
15599
|
ref: forwardedRef,
|
|
@@ -15697,7 +15698,7 @@ const $89eedd556c436f6a$export$1ff3c3f08ae963c0 = /* @__PURE__ */ forwardRef((pr
|
|
|
15697
15698
|
"aria-orientation": ariaOrientation,
|
|
15698
15699
|
role: "separator"
|
|
15699
15700
|
};
|
|
15700
|
-
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15701
|
+
return /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15701
15702
|
"data-orientation": orientation
|
|
15702
15703
|
}, semanticProps, domProps, {
|
|
15703
15704
|
ref: forwardedRef
|
|
@@ -15756,7 +15757,7 @@ const $69cb30bb0017df05$export$b2539bed5023c21c = /* @__PURE__ */ forwardRef((pr
|
|
|
15756
15757
|
orientation,
|
|
15757
15758
|
dir: direction,
|
|
15758
15759
|
activationMode
|
|
15759
|
-
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15760
|
+
}, /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15760
15761
|
dir: direction,
|
|
15761
15762
|
"data-orientation": orientation
|
|
15762
15763
|
}, tabsProps, {
|
|
@@ -15768,13 +15769,13 @@ const $69cb30bb0017df05$export$9712d22edc0d78c1 = /* @__PURE__ */ forwardRef((pr
|
|
|
15768
15769
|
const { __scopeTabs, loop = true, ...listProps } = props;
|
|
15769
15770
|
const context = $69cb30bb0017df05$var$useTabsContext($69cb30bb0017df05$var$TAB_LIST_NAME, __scopeTabs);
|
|
15770
15771
|
const rovingFocusGroupScope = $69cb30bb0017df05$var$useRovingFocusGroupScope(__scopeTabs);
|
|
15771
|
-
return /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends
|
|
15772
|
+
return /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends({
|
|
15772
15773
|
asChild: true
|
|
15773
15774
|
}, rovingFocusGroupScope, {
|
|
15774
15775
|
orientation: context.orientation,
|
|
15775
15776
|
dir: context.dir,
|
|
15776
15777
|
loop
|
|
15777
|
-
}), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15778
|
+
}), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15778
15779
|
role: "tablist",
|
|
15779
15780
|
"aria-orientation": context.orientation
|
|
15780
15781
|
}, listProps, {
|
|
@@ -15789,12 +15790,12 @@ const $69cb30bb0017df05$export$8114b9fdfdf9f3ba = /* @__PURE__ */ forwardRef((pr
|
|
|
15789
15790
|
const triggerId = $69cb30bb0017df05$var$makeTriggerId(context.baseId, value);
|
|
15790
15791
|
const contentId = $69cb30bb0017df05$var$makeContentId(context.baseId, value);
|
|
15791
15792
|
const isSelected = value === context.value;
|
|
15792
|
-
return /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends
|
|
15793
|
+
return /* @__PURE__ */ createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends({
|
|
15793
15794
|
asChild: true
|
|
15794
15795
|
}, rovingFocusGroupScope, {
|
|
15795
15796
|
focusable: !disabled,
|
|
15796
15797
|
active: isSelected
|
|
15797
|
-
}), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
15798
|
+
}), /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
15798
15799
|
type: "button",
|
|
15799
15800
|
role: "tab",
|
|
15800
15801
|
"aria-selected": isSelected,
|
|
@@ -15844,7 +15845,7 @@ const $69cb30bb0017df05$export$bd905d70e8fd2ebb = /* @__PURE__ */ forwardRef((pr
|
|
|
15844
15845
|
{
|
|
15845
15846
|
present: forceMount || isSelected
|
|
15846
15847
|
},
|
|
15847
|
-
({ present }) => /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15848
|
+
({ present }) => /* @__PURE__ */ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15848
15849
|
"data-state": isSelected ? "active" : "inactive",
|
|
15849
15850
|
"data-orientation": context.orientation,
|
|
15850
15851
|
role: "tabpanel",
|
|
@@ -16115,190 +16116,6 @@ const BooleanInput = memo((props) => {
|
|
|
16115
16116
|
) });
|
|
16116
16117
|
});
|
|
16117
16118
|
BooleanInput.displayName = "BooleanInput";
|
|
16118
|
-
var DefaultContext = {
|
|
16119
|
-
color: void 0,
|
|
16120
|
-
size: void 0,
|
|
16121
|
-
className: void 0,
|
|
16122
|
-
style: void 0,
|
|
16123
|
-
attr: void 0
|
|
16124
|
-
};
|
|
16125
|
-
var IconContext = React__default.createContext && /* @__PURE__ */ React__default.createContext(DefaultContext);
|
|
16126
|
-
var _excluded = ["attr", "size", "title"];
|
|
16127
|
-
function _objectWithoutProperties(source, excluded) {
|
|
16128
|
-
if (source == null)
|
|
16129
|
-
return {};
|
|
16130
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
16131
|
-
var key, i;
|
|
16132
|
-
if (Object.getOwnPropertySymbols) {
|
|
16133
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
16134
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
16135
|
-
key = sourceSymbolKeys[i];
|
|
16136
|
-
if (excluded.indexOf(key) >= 0)
|
|
16137
|
-
continue;
|
|
16138
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
16139
|
-
continue;
|
|
16140
|
-
target[key] = source[key];
|
|
16141
|
-
}
|
|
16142
|
-
}
|
|
16143
|
-
return target;
|
|
16144
|
-
}
|
|
16145
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
16146
|
-
if (source == null)
|
|
16147
|
-
return {};
|
|
16148
|
-
var target = {};
|
|
16149
|
-
for (var key in source) {
|
|
16150
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
16151
|
-
if (excluded.indexOf(key) >= 0)
|
|
16152
|
-
continue;
|
|
16153
|
-
target[key] = source[key];
|
|
16154
|
-
}
|
|
16155
|
-
}
|
|
16156
|
-
return target;
|
|
16157
|
-
}
|
|
16158
|
-
function _extends() {
|
|
16159
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
16160
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
16161
|
-
var source = arguments[i];
|
|
16162
|
-
for (var key in source) {
|
|
16163
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
16164
|
-
target[key] = source[key];
|
|
16165
|
-
}
|
|
16166
|
-
}
|
|
16167
|
-
}
|
|
16168
|
-
return target;
|
|
16169
|
-
};
|
|
16170
|
-
return _extends.apply(this, arguments);
|
|
16171
|
-
}
|
|
16172
|
-
function ownKeys(e, r) {
|
|
16173
|
-
var t = Object.keys(e);
|
|
16174
|
-
if (Object.getOwnPropertySymbols) {
|
|
16175
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
16176
|
-
r && (o = o.filter(function(r2) {
|
|
16177
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
16178
|
-
})), t.push.apply(t, o);
|
|
16179
|
-
}
|
|
16180
|
-
return t;
|
|
16181
|
-
}
|
|
16182
|
-
function _objectSpread(e) {
|
|
16183
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
16184
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
16185
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
16186
|
-
_defineProperty(e, r2, t[r2]);
|
|
16187
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
16188
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
16189
|
-
});
|
|
16190
|
-
}
|
|
16191
|
-
return e;
|
|
16192
|
-
}
|
|
16193
|
-
function _defineProperty(obj, key, value) {
|
|
16194
|
-
key = _toPropertyKey(key);
|
|
16195
|
-
if (key in obj) {
|
|
16196
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
16197
|
-
} else {
|
|
16198
|
-
obj[key] = value;
|
|
16199
|
-
}
|
|
16200
|
-
return obj;
|
|
16201
|
-
}
|
|
16202
|
-
function _toPropertyKey(t) {
|
|
16203
|
-
var i = _toPrimitive(t, "string");
|
|
16204
|
-
return "symbol" == typeof i ? i : i + "";
|
|
16205
|
-
}
|
|
16206
|
-
function _toPrimitive(t, r) {
|
|
16207
|
-
if ("object" != typeof t || !t)
|
|
16208
|
-
return t;
|
|
16209
|
-
var e = t[Symbol.toPrimitive];
|
|
16210
|
-
if (void 0 !== e) {
|
|
16211
|
-
var i = e.call(t, r || "default");
|
|
16212
|
-
if ("object" != typeof i)
|
|
16213
|
-
return i;
|
|
16214
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16215
|
-
}
|
|
16216
|
-
return ("string" === r ? String : Number)(t);
|
|
16217
|
-
}
|
|
16218
|
-
function Tree2Element(tree) {
|
|
16219
|
-
return tree && tree.map((node, i) => /* @__PURE__ */ React__default.createElement(node.tag, _objectSpread({
|
|
16220
|
-
key: i
|
|
16221
|
-
}, node.attr), Tree2Element(node.child)));
|
|
16222
|
-
}
|
|
16223
|
-
function GenIcon(data) {
|
|
16224
|
-
return (props) => /* @__PURE__ */ React__default.createElement(IconBase, _extends({
|
|
16225
|
-
attr: _objectSpread({}, data.attr)
|
|
16226
|
-
}, props), Tree2Element(data.child));
|
|
16227
|
-
}
|
|
16228
|
-
function IconBase(props) {
|
|
16229
|
-
var elem = (conf) => {
|
|
16230
|
-
var {
|
|
16231
|
-
attr,
|
|
16232
|
-
size: size2,
|
|
16233
|
-
title: title2
|
|
16234
|
-
} = props, svgProps = _objectWithoutProperties(props, _excluded);
|
|
16235
|
-
var computedSize = size2 || conf.size || "1em";
|
|
16236
|
-
var className;
|
|
16237
|
-
if (conf.className)
|
|
16238
|
-
className = conf.className;
|
|
16239
|
-
if (props.className)
|
|
16240
|
-
className = (className ? className + " " : "") + props.className;
|
|
16241
|
-
return /* @__PURE__ */ React__default.createElement("svg", _extends({
|
|
16242
|
-
stroke: "currentColor",
|
|
16243
|
-
fill: "currentColor",
|
|
16244
|
-
strokeWidth: "0"
|
|
16245
|
-
}, conf.attr, attr, svgProps, {
|
|
16246
|
-
className,
|
|
16247
|
-
style: _objectSpread(_objectSpread({
|
|
16248
|
-
color: props.color || conf.color
|
|
16249
|
-
}, conf.style), props.style),
|
|
16250
|
-
height: computedSize,
|
|
16251
|
-
width: computedSize,
|
|
16252
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16253
|
-
}), title2 && /* @__PURE__ */ React__default.createElement("title", null, title2), props.children);
|
|
16254
|
-
};
|
|
16255
|
-
return IconContext !== void 0 ? /* @__PURE__ */ React__default.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
|
|
16256
|
-
}
|
|
16257
|
-
function RiArrowDownLine(props) {
|
|
16258
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" }, "child": [] }] })(props);
|
|
16259
|
-
}
|
|
16260
|
-
function RiArrowUpLine(props) {
|
|
16261
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" }, "child": [] }] })(props);
|
|
16262
|
-
}
|
|
16263
|
-
function RiCalendarLine(props) {
|
|
16264
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" }, "child": [] }] })(props);
|
|
16265
|
-
}
|
|
16266
|
-
function RiQrCodeLine(props) {
|
|
16267
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M16 17V16H13V13H16V15H18V17H17V19H15V21H13V18H15V17H16ZM21 21H17V19H19V17H21V21ZM3 3H11V11H3V3ZM5 5V9H9V5H5ZM13 3H21V11H13V3ZM15 5V9H19V5H15ZM3 13H11V21H3V13ZM5 15V19H9V15H5ZM18 13H21V15H18V13ZM6 6H8V8H6V6ZM6 16H8V18H6V16ZM16 6H18V8H16V6Z" }, "child": [] }] })(props);
|
|
16268
|
-
}
|
|
16269
|
-
function RiFileCopyLine(props) {
|
|
16270
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" }, "child": [] }] })(props);
|
|
16271
|
-
}
|
|
16272
|
-
function RiAlignJustify(props) {
|
|
16273
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M3 4H21V6H3V4ZM3 19H21V21H3V19ZM3 14H21V16H3V14ZM3 9H21V11H3V9Z" }, "child": [] }] })(props);
|
|
16274
|
-
}
|
|
16275
|
-
function RiHashtag(props) {
|
|
16276
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M7.78428 14L8.2047 10H4V8H8.41491L8.94043 3H10.9514L10.4259 8H14.4149L14.9404 3H16.9514L16.4259 8H20V10H16.2157L15.7953 14H20V16H15.5851L15.0596 21H13.0486L13.5741 16H9.58509L9.05957 21H7.04855L7.57407 16H4V14H7.78428ZM9.7953 14H13.7843L14.2047 10H10.2157L9.7953 14Z" }, "child": [] }] })(props);
|
|
16277
|
-
}
|
|
16278
|
-
function RiInputField(props) {
|
|
16279
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M8 5H11V19H8V21H16V19H13V5H16V3H8V5ZM2 7C1.44772 7 1 7.44772 1 8V16C1 16.5523 1.44772 17 2 17H8V15H3V9H8V7H2ZM16 9H21V15H16V17H22C22.5523 17 23 16.5523 23 16V8C23 7.44772 22.5523 7 22 7H16V9Z" }, "child": [] }] })(props);
|
|
16280
|
-
}
|
|
16281
|
-
function RiListCheck(props) {
|
|
16282
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" }, "child": [] }] })(props);
|
|
16283
|
-
}
|
|
16284
|
-
function RiImageLine(props) {
|
|
16285
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" }, "child": [] }] })(props);
|
|
16286
|
-
}
|
|
16287
|
-
function RiCheckboxCircleLine(props) {
|
|
16288
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z" }, "child": [] }] })(props);
|
|
16289
|
-
}
|
|
16290
|
-
function RiCheckboxLine(props) {
|
|
16291
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM5 5V19H19V5H5ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z" }, "child": [] }] })(props);
|
|
16292
|
-
}
|
|
16293
|
-
function RiDeleteBin2Line(props) {
|
|
16294
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM13.4142 13.9997L15.182 15.7675L13.7678 17.1817L12 15.4139L10.2322 17.1817L8.81802 15.7675L10.5858 13.9997L8.81802 12.232L10.2322 10.8178L12 12.5855L13.7678 10.8178L15.182 12.232L13.4142 13.9997ZM9 4V6H15V4H9Z" }, "child": [] }] })(props);
|
|
16295
|
-
}
|
|
16296
|
-
function RiMenuFoldLine(props) {
|
|
16297
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M21 17.9995V19.9995H3V17.9995H21ZM6.59619 3.90332L8.01041 5.31753L4.82843 8.49951L8.01041 11.6815L6.59619 13.0957L2 8.49951L6.59619 3.90332ZM21 10.9995V12.9995H12V10.9995H21ZM21 3.99951V5.99951H12V3.99951H21Z" }, "child": [] }] })(props);
|
|
16298
|
-
}
|
|
16299
|
-
function RiUpload2Line(props) {
|
|
16300
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM13 9V16H11V9H6L12 3L18 9H13Z" }, "child": [] }] })(props);
|
|
16301
|
-
}
|
|
16302
16119
|
const emptyBooleanField = {
|
|
16303
16120
|
...emptyBaseField,
|
|
16304
16121
|
type: "boolean"
|
|
@@ -17139,7 +16956,10 @@ const MultiStringInput = memo((props) => {
|
|
|
17139
16956
|
mb: "1",
|
|
17140
16957
|
asChild: true,
|
|
17141
16958
|
children: /* @__PURE__ */ jsxs(Badge, { color: "gray", size: "2", children: [
|
|
17142
|
-
/* @__PURE__ */ jsx("span", {
|
|
16959
|
+
/* @__PURE__ */ jsx("span", {
|
|
16960
|
+
// TODO: remove this, its just a saftey check for old compatibility of what was acceptable as a value for multi string
|
|
16961
|
+
children: typeof option === "object" && "label" in option ? option.label : option
|
|
16962
|
+
}),
|
|
17143
16963
|
/* @__PURE__ */ jsx(
|
|
17144
16964
|
IconButton,
|
|
17145
16965
|
{
|
|
@@ -19547,20 +19367,21 @@ const FieldActions = memo((props) => {
|
|
|
19547
19367
|
},
|
|
19548
19368
|
Action.key
|
|
19549
19369
|
)) }),
|
|
19550
|
-
/* @__PURE__ */ jsx(Box, { display: forMobile(true, "block"), children: /* @__PURE__ */
|
|
19551
|
-
|
|
19552
|
-
{
|
|
19553
|
-
|
|
19554
|
-
|
|
19555
|
-
|
|
19556
|
-
|
|
19370
|
+
/* @__PURE__ */ jsx(Box, { display: forMobile(true, "block"), children: /* @__PURE__ */ jsxs(OvermapMenu.Root, { children: [
|
|
19371
|
+
/* @__PURE__ */ jsx(OvermapMenu.ClickTrigger, { children: /* @__PURE__ */ jsx(IconButton, { variant: "ghost", "aria-label": "Actions menu", children: /* @__PURE__ */ jsx(RiIcon, { icon: "RiMore2Line" }) }) }),
|
|
19372
|
+
/* @__PURE__ */ jsx(OvermapMenu.Content, { children: actions.map((Action) => {
|
|
19373
|
+
var _a2;
|
|
19374
|
+
return /* @__PURE__ */ jsx(
|
|
19375
|
+
OvermapMenu.Item,
|
|
19376
|
+
{
|
|
19377
|
+
onClick: (_a2 = Action.buttonProps) == null ? void 0 : _a2.onClick,
|
|
19557
19378
|
leftSlot: /* @__PURE__ */ jsx(Action.Icon, {}),
|
|
19558
|
-
children: Action.text
|
|
19559
|
-
|
|
19560
|
-
|
|
19561
|
-
|
|
19562
|
-
}
|
|
19563
|
-
) }),
|
|
19379
|
+
children: Action.text
|
|
19380
|
+
},
|
|
19381
|
+
Action.key
|
|
19382
|
+
);
|
|
19383
|
+
}) })
|
|
19384
|
+
] }) }),
|
|
19564
19385
|
type !== "section" && /* @__PURE__ */ jsx("input", { style: { display: "none" }, ref: fileInputRef, type: "file", accept: "image/*", onChange: upload })
|
|
19565
19386
|
] });
|
|
19566
19387
|
});
|
|
@@ -20172,16 +19993,21 @@ const FieldSectionWithActions = memo((props) => {
|
|
|
20172
19993
|
child.identifier
|
|
20173
19994
|
)),
|
|
20174
19995
|
droppableProvided.placeholder,
|
|
20175
|
-
/* @__PURE__ */
|
|
20176
|
-
|
|
20177
|
-
|
|
20178
|
-
|
|
20179
|
-
|
|
20180
|
-
|
|
20181
|
-
|
|
20182
|
-
|
|
20183
|
-
|
|
20184
|
-
|
|
19996
|
+
/* @__PURE__ */ jsxs(OvermapMenu.Root, { children: [
|
|
19997
|
+
/* @__PURE__ */ jsx(OvermapMenu.ClickTrigger, { children: /* @__PURE__ */ jsxs(Button, { type: "button", variant: "soft", children: [
|
|
19998
|
+
/* @__PURE__ */ jsx(RiIcon, { icon: "RiAddLine" }),
|
|
19999
|
+
" Add field"
|
|
20000
|
+
] }) }),
|
|
20001
|
+
/* @__PURE__ */ jsx(OvermapMenu.Content, { children: fieldTypeItems.flat().map((item) => /* @__PURE__ */ jsx(
|
|
20002
|
+
OvermapMenu.Item,
|
|
20003
|
+
{
|
|
20004
|
+
leftSlot: item.leftSlot,
|
|
20005
|
+
onSelect: item.onSelect,
|
|
20006
|
+
children: item.children
|
|
20007
|
+
},
|
|
20008
|
+
item.value
|
|
20009
|
+
)) })
|
|
20010
|
+
] })
|
|
20185
20011
|
]
|
|
20186
20012
|
}
|
|
20187
20013
|
)
|