@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
|
@@ -5,8 +5,8 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
(function(global, factory) {
|
|
8
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react/jsx-runtime"), require("@overmap-ai/blocks"), require("dependency-graph"), require("file-saver"), require("@redux-offline/redux-offline"), require("@redux-offline/redux-offline/lib/defaults"), require("localforage"), require("redux-persist-migrate"), require("@reduxjs/toolkit"), require("superagent"), require("uuid"), require("color"), require("react-redux"), require("jwt-decode"), require("@redux-offline/redux-offline/lib/constants"), require("idb"), require("formik"), require("react-dom"), require("lodash.get"), require("linkify-react"), require("@hello-pangea/dnd"), require("qr-scanner"), require("xlsx"), require("react-pdf"), require("react-pdf/dist/Page/AnnotationLayer.css"), require("react-pdf/dist/Page/TextLayer.css"), require("react-sketch-canvas"), require("lodash.set"), require("lodash.clonedeep")) : typeof define === "function" && define.amd ? define(["exports", "react", "react/jsx-runtime", "@overmap-ai/blocks", "dependency-graph", "file-saver", "@redux-offline/redux-offline", "@redux-offline/redux-offline/lib/defaults", "localforage", "redux-persist-migrate", "@reduxjs/toolkit", "superagent", "uuid", "color", "react-redux", "jwt-decode", "@redux-offline/redux-offline/lib/constants", "idb", "formik", "react-dom", "lodash.get", "linkify-react", "@hello-pangea/dnd", "qr-scanner", "xlsx", "react-pdf", "react-pdf/dist/Page/AnnotationLayer.css", "react-pdf/dist/Page/TextLayer.css", "react-sketch-canvas", "lodash.set", "lodash.clonedeep"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["overmap-core"] = {}, global.React, global.jsxRuntime, global.blocks, global.dependencyGraph, global.saveAs, global.reduxOffline, global.offlineConfig, global.localforage, global.createMigration, global.toolkit, global.request, global.uuid, global.ColorCls, global.reactRedux, global.jwtDecode, global.constants, global.idb, global.formik, global.ReactDOM, global.get, global.Linkify, global.dnd, global.QrScannerAPI, global.xlsx, global.reactPdf, null, null, global.reactSketchCanvas, global.set, global.cloneDeep));
|
|
9
|
-
})(this, function(exports2, React, jsxRuntime, blocks, dependencyGraph, saveAs, reduxOffline, offlineConfig, localforage, createMigration, toolkit, request, uuid, ColorCls, reactRedux, jwtDecode, constants, idb, formik, ReactDOM, get, Linkify, dnd, QrScannerAPI, xlsx, reactPdf, AnnotationLayer_css, TextLayer_css, reactSketchCanvas, set, cloneDeep) {
|
|
8
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("react"), require("react/jsx-runtime"), require("@overmap-ai/blocks"), require("dependency-graph"), require("file-saver"), require("@redux-offline/redux-offline"), require("@redux-offline/redux-offline/lib/defaults"), require("localforage"), require("redux-persist-migrate"), require("@reduxjs/toolkit"), require("superagent"), require("uuid"), require("color"), require("react-redux"), require("jwt-decode"), require("@redux-offline/redux-offline/lib/constants"), require("idb"), require("formik"), require("react-dom"), require("react-icons/ri"), require("lodash.get"), require("linkify-react"), require("@hello-pangea/dnd"), require("qr-scanner"), require("xlsx"), require("react-pdf"), require("react-pdf/dist/Page/AnnotationLayer.css"), require("react-pdf/dist/Page/TextLayer.css"), require("react-sketch-canvas"), require("lodash.set"), require("lodash.clonedeep")) : typeof define === "function" && define.amd ? define(["exports", "react", "react/jsx-runtime", "@overmap-ai/blocks", "dependency-graph", "file-saver", "@redux-offline/redux-offline", "@redux-offline/redux-offline/lib/defaults", "localforage", "redux-persist-migrate", "@reduxjs/toolkit", "superagent", "uuid", "color", "react-redux", "jwt-decode", "@redux-offline/redux-offline/lib/constants", "idb", "formik", "react-dom", "react-icons/ri", "lodash.get", "linkify-react", "@hello-pangea/dnd", "qr-scanner", "xlsx", "react-pdf", "react-pdf/dist/Page/AnnotationLayer.css", "react-pdf/dist/Page/TextLayer.css", "react-sketch-canvas", "lodash.set", "lodash.clonedeep"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["overmap-core"] = {}, global.React, global.jsxRuntime, global.blocks, global.dependencyGraph, global.saveAs, global.reduxOffline, global.offlineConfig, global.localforage, global.createMigration, global.toolkit, global.request, global.uuid, global.ColorCls, global.reactRedux, global.jwtDecode, global.constants, global.idb, global.formik, global.ReactDOM, global.ri, global.get, global.Linkify, global.dnd, global.QrScannerAPI, global.xlsx, global.reactPdf, null, null, global.reactSketchCanvas, global.set, global.cloneDeep));
|
|
9
|
+
})(this, function(exports2, React, jsxRuntime, blocks, dependencyGraph, saveAs, reduxOffline, offlineConfig, localforage, createMigration, toolkit, request, uuid, ColorCls, reactRedux, jwtDecode, constants, idb, formik, ReactDOM, ri, get, Linkify, dnd, QrScannerAPI, xlsx, reactPdf, AnnotationLayer_css, TextLayer_css, reactSketchCanvas, set, cloneDeep) {
|
|
10
10
|
var _a;
|
|
11
11
|
"use strict";
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -8650,8 +8650,8 @@ var __publicField = (obj, key, value) => {
|
|
|
8650
8650
|
})(classnames);
|
|
8651
8651
|
var classnamesExports = classnames.exports;
|
|
8652
8652
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
8653
|
-
function _extends
|
|
8654
|
-
_extends
|
|
8653
|
+
function _extends() {
|
|
8654
|
+
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
8655
8655
|
for (var i = 1; i < arguments.length; i++) {
|
|
8656
8656
|
var source = arguments[i];
|
|
8657
8657
|
for (var key in source) {
|
|
@@ -8662,7 +8662,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8662
8662
|
}
|
|
8663
8663
|
return target;
|
|
8664
8664
|
};
|
|
8665
|
-
return _extends
|
|
8665
|
+
return _extends.apply(this, arguments);
|
|
8666
8666
|
}
|
|
8667
8667
|
function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
8668
8668
|
return function handleEvent(event) {
|
|
@@ -8793,11 +8793,11 @@ var __publicField = (obj, key, value) => {
|
|
|
8793
8793
|
} else
|
|
8794
8794
|
return child;
|
|
8795
8795
|
});
|
|
8796
|
-
return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends
|
|
8796
|
+
return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
8797
8797
|
ref: forwardedRef
|
|
8798
8798
|
}), /* @__PURE__ */ React.isValidElement(newElement) ? /* @__PURE__ */ React.cloneElement(newElement, void 0, newChildren) : null);
|
|
8799
8799
|
}
|
|
8800
|
-
return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends
|
|
8800
|
+
return /* @__PURE__ */ React.createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
8801
8801
|
ref: forwardedRef
|
|
8802
8802
|
}), children);
|
|
8803
8803
|
});
|
|
@@ -8875,7 +8875,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8875
8875
|
React.useEffect(() => {
|
|
8876
8876
|
window[Symbol.for("radix-ui")] = true;
|
|
8877
8877
|
}, []);
|
|
8878
|
-
return /* @__PURE__ */ React.createElement(Comp, _extends
|
|
8878
|
+
return /* @__PURE__ */ React.createElement(Comp, _extends({}, primitiveProps, {
|
|
8879
8879
|
ref: forwardedRef
|
|
8880
8880
|
}));
|
|
8881
8881
|
});
|
|
@@ -9023,7 +9023,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9023
9023
|
document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
9024
9024
|
return () => document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
9025
9025
|
}, []);
|
|
9026
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
9026
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
|
|
9027
9027
|
ref: composedRefs,
|
|
9028
9028
|
style: {
|
|
9029
9029
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0,
|
|
@@ -10820,7 +10820,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10820
10820
|
}
|
|
10821
10821
|
const $7e8f5cd07187803e$export$21b07c8f274aebd5 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
10822
10822
|
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
10823
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends
|
|
10823
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.svg, _extends({}, arrowProps, {
|
|
10824
10824
|
ref: forwardedRef,
|
|
10825
10825
|
width,
|
|
10826
10826
|
height,
|
|
@@ -10893,7 +10893,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10893
10893
|
React.useEffect(() => {
|
|
10894
10894
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
10895
10895
|
});
|
|
10896
|
-
return virtualRef ? null : /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
10896
|
+
return virtualRef ? null : /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, anchorProps, {
|
|
10897
10897
|
ref: composedRefs
|
|
10898
10898
|
}));
|
|
10899
10899
|
});
|
|
@@ -11023,7 +11023,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11023
11023
|
arrowX,
|
|
11024
11024
|
arrowY,
|
|
11025
11025
|
shouldHideArrow: cannotCenterArrow
|
|
11026
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
11026
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
11027
11027
|
"data-side": placedSide,
|
|
11028
11028
|
"data-align": placedAlign
|
|
11029
11029
|
}, contentProps, {
|
|
@@ -11074,7 +11074,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11074
11074
|
}[contentContext.placedSide],
|
|
11075
11075
|
visibility: contentContext.shouldHideArrow ? "hidden" : void 0
|
|
11076
11076
|
}
|
|
11077
|
-
}, /* @__PURE__ */ React.createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends
|
|
11077
|
+
}, /* @__PURE__ */ React.createElement($7e8f5cd07187803e$export$be92b6f5f03c0fe9, _extends({}, arrowProps, {
|
|
11078
11078
|
ref: forwardedRef,
|
|
11079
11079
|
style: {
|
|
11080
11080
|
...arrowProps.style,
|
|
@@ -11142,7 +11142,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11142
11142
|
const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
11143
11143
|
var _globalThis$document;
|
|
11144
11144
|
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;
|
|
11145
|
-
return container ? /* @__PURE__ */ ReactDOM.createPortal(/* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
11145
|
+
return container ? /* @__PURE__ */ ReactDOM.createPortal(/* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
|
|
11146
11146
|
ref: forwardedRef
|
|
11147
11147
|
})), container) : null;
|
|
11148
11148
|
});
|
|
@@ -11303,7 +11303,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11303
11303
|
return uncontrolledState;
|
|
11304
11304
|
}
|
|
11305
11305
|
const $ea1ef594cf570d83$export$439d29a4e110a164 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
11306
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
11306
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
|
|
11307
11307
|
ref: forwardedRef,
|
|
11308
11308
|
style: {
|
|
11309
11309
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -11468,9 +11468,9 @@ var __publicField = (obj, key, value) => {
|
|
|
11468
11468
|
}, [
|
|
11469
11469
|
handlePointerUp
|
|
11470
11470
|
]);
|
|
11471
|
-
return /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends
|
|
11471
|
+
return /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
11472
11472
|
asChild: true
|
|
11473
|
-
}, popperScope), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
11473
|
+
}, popperScope), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
11474
11474
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
|
11475
11475
|
// commonly anchors and the anchor `type` attribute signifies MIME type.
|
|
11476
11476
|
"aria-describedby": context.open ? context.contentId : void 0,
|
|
@@ -11527,11 +11527,11 @@ var __publicField = (obj, key, value) => {
|
|
|
11527
11527
|
const context = $a093c7e1ec25a057$var$useTooltipContext($a093c7e1ec25a057$var$CONTENT_NAME, props.__scopeTooltip);
|
|
11528
11528
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
11529
11529
|
present: forceMount || context.open
|
|
11530
|
-
}, context.disableHoverableContent ? /* @__PURE__ */ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends
|
|
11530
|
+
}, context.disableHoverableContent ? /* @__PURE__ */ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends({
|
|
11531
11531
|
side
|
|
11532
11532
|
}, contentProps, {
|
|
11533
11533
|
ref: forwardedRef
|
|
11534
|
-
})) : /* @__PURE__ */ React.createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends
|
|
11534
|
+
})) : /* @__PURE__ */ React.createElement($a093c7e1ec25a057$var$TooltipContentHoverable, _extends({
|
|
11535
11535
|
side
|
|
11536
11536
|
}, contentProps, {
|
|
11537
11537
|
ref: forwardedRef
|
|
@@ -11619,7 +11619,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11619
11619
|
onClose,
|
|
11620
11620
|
handleRemoveGraceArea
|
|
11621
11621
|
]);
|
|
11622
|
-
return /* @__PURE__ */ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends
|
|
11622
|
+
return /* @__PURE__ */ React.createElement($a093c7e1ec25a057$var$TooltipContentImpl, _extends({}, props, {
|
|
11623
11623
|
ref: composedRefs
|
|
11624
11624
|
}));
|
|
11625
11625
|
});
|
|
@@ -11662,7 +11662,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11662
11662
|
onPointerDownOutside,
|
|
11663
11663
|
onFocusOutside: (event) => event.preventDefault(),
|
|
11664
11664
|
onDismiss: onClose
|
|
11665
|
-
}, /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends
|
|
11665
|
+
}, /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({
|
|
11666
11666
|
"data-state": context.stateAttribute
|
|
11667
11667
|
}, popperScope, contentProps, {
|
|
11668
11668
|
ref: forwardedRef,
|
|
@@ -11687,7 +11687,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11687
11687
|
const { __scopeTooltip, ...arrowProps } = props;
|
|
11688
11688
|
const popperScope = $a093c7e1ec25a057$var$usePopperScope(__scopeTooltip);
|
|
11689
11689
|
const visuallyHiddenContentContext = $a093c7e1ec25a057$var$useVisuallyHiddenContentContext($a093c7e1ec25a057$var$ARROW_NAME, __scopeTooltip);
|
|
11690
|
-
return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends
|
|
11690
|
+
return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$21b07c8f274aebd5, _extends({}, popperScope, arrowProps, {
|
|
11691
11691
|
ref: forwardedRef
|
|
11692
11692
|
}));
|
|
11693
11693
|
});
|
|
@@ -12476,7 +12476,7 @@ body { background-color: var(--color-page-background); }
|
|
|
12476
12476
|
scope: __scopeCheckbox,
|
|
12477
12477
|
state: checked,
|
|
12478
12478
|
disabled
|
|
12479
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
12479
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
12480
12480
|
type: "button",
|
|
12481
12481
|
role: "checkbox",
|
|
12482
12482
|
"aria-checked": $e698a72e93240346$var$isIndeterminate(checked) ? "mixed" : checked,
|
|
@@ -12520,7 +12520,7 @@ body { background-color: var(--color-page-background); }
|
|
|
12520
12520
|
const context = $e698a72e93240346$var$useCheckboxContext($e698a72e93240346$var$INDICATOR_NAME, __scopeCheckbox);
|
|
12521
12521
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
12522
12522
|
present: forceMount || $e698a72e93240346$var$isIndeterminate(context.state) || context.state === true
|
|
12523
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
12523
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
12524
12524
|
"data-state": $e698a72e93240346$var$getState(context.state),
|
|
12525
12525
|
"data-disabled": context.disabled ? "" : void 0
|
|
12526
12526
|
}, indicatorProps, {
|
|
@@ -12554,7 +12554,7 @@ body { background-color: var(--color-page-background); }
|
|
|
12554
12554
|
checked,
|
|
12555
12555
|
bubbles
|
|
12556
12556
|
]);
|
|
12557
|
-
return /* @__PURE__ */ React.createElement("input", _extends
|
|
12557
|
+
return /* @__PURE__ */ React.createElement("input", _extends({
|
|
12558
12558
|
type: "checkbox",
|
|
12559
12559
|
"aria-hidden": true,
|
|
12560
12560
|
defaultChecked: $e698a72e93240346$var$isIndeterminate(checked) ? false : checked
|
|
@@ -12730,7 +12730,7 @@ body { background-color: var(--color-page-background); }
|
|
|
12730
12730
|
scope: props.__scopeRovingFocusGroup
|
|
12731
12731
|
}, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {
|
|
12732
12732
|
scope: props.__scopeRovingFocusGroup
|
|
12733
|
-
}, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends
|
|
12733
|
+
}, /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, _extends({}, props, {
|
|
12734
12734
|
ref: forwardedRef
|
|
12735
12735
|
}))));
|
|
12736
12736
|
});
|
|
@@ -12786,7 +12786,7 @@ body { background-color: var(--color-page-background); }
|
|
|
12786
12786
|
),
|
|
12787
12787
|
[]
|
|
12788
12788
|
)
|
|
12789
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
12789
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
12790
12790
|
tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
|
|
12791
12791
|
"data-orientation": orientation
|
|
12792
12792
|
}, groupProps, {
|
|
@@ -12856,7 +12856,7 @@ body { background-color: var(--color-page-background); }
|
|
|
12856
12856
|
id,
|
|
12857
12857
|
focusable,
|
|
12858
12858
|
active
|
|
12859
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
12859
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
12860
12860
|
tabIndex: isCurrentTabStop ? 0 : -1,
|
|
12861
12861
|
"data-orientation": context.orientation
|
|
12862
12862
|
}, itemProps, {
|
|
@@ -13122,7 +13122,7 @@ body { background-color: var(--color-page-background); }
|
|
|
13122
13122
|
trapped,
|
|
13123
13123
|
focusScope.paused
|
|
13124
13124
|
]);
|
|
13125
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
13125
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
13126
13126
|
tabIndex: -1
|
|
13127
13127
|
}, scopeProps, {
|
|
13128
13128
|
ref: composedRefs,
|
|
@@ -13993,7 +13993,7 @@ body { background-color: var(--color-page-background); }
|
|
|
13993
13993
|
onScrollbarYEnabledChange: setScrollbarYEnabled,
|
|
13994
13994
|
onCornerWidthChange: setCornerWidth,
|
|
13995
13995
|
onCornerHeightChange: setCornerHeight
|
|
13996
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
13996
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
13997
13997
|
dir: direction
|
|
13998
13998
|
}, scrollAreaProps, {
|
|
13999
13999
|
ref: composedRefs,
|
|
@@ -14016,7 +14016,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14016
14016
|
dangerouslySetInnerHTML: {
|
|
14017
14017
|
__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}`
|
|
14018
14018
|
}
|
|
14019
|
-
}), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14019
|
+
}), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
14020
14020
|
"data-radix-scroll-area-viewport": ""
|
|
14021
14021
|
}, viewportProps, {
|
|
14022
14022
|
ref: composedRefs,
|
|
@@ -14060,16 +14060,16 @@ body { background-color: var(--color-page-background); }
|
|
|
14060
14060
|
onScrollbarXEnabledChange,
|
|
14061
14061
|
onScrollbarYEnabledChange
|
|
14062
14062
|
]);
|
|
14063
|
-
return context.type === "hover" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarHover, _extends
|
|
14063
|
+
return context.type === "hover" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarHover, _extends({}, scrollbarProps, {
|
|
14064
14064
|
ref: forwardedRef,
|
|
14065
14065
|
forceMount
|
|
14066
|
-
})) : context.type === "scroll" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarScroll, _extends
|
|
14066
|
+
})) : context.type === "scroll" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarScroll, _extends({}, scrollbarProps, {
|
|
14067
14067
|
ref: forwardedRef,
|
|
14068
14068
|
forceMount
|
|
14069
|
-
})) : context.type === "auto" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends
|
|
14069
|
+
})) : context.type === "auto" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends({}, scrollbarProps, {
|
|
14070
14070
|
ref: forwardedRef,
|
|
14071
14071
|
forceMount
|
|
14072
|
-
})) : context.type === "always" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends
|
|
14072
|
+
})) : context.type === "always" ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends({}, scrollbarProps, {
|
|
14073
14073
|
ref: forwardedRef
|
|
14074
14074
|
})) : null;
|
|
14075
14075
|
});
|
|
@@ -14105,7 +14105,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14105
14105
|
]);
|
|
14106
14106
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14107
14107
|
present: forceMount || visible
|
|
14108
|
-
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends
|
|
14108
|
+
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarAuto, _extends({
|
|
14109
14109
|
"data-state": visible ? "visible" : "hidden"
|
|
14110
14110
|
}, scrollbarProps, {
|
|
14111
14111
|
ref: forwardedRef
|
|
@@ -14175,7 +14175,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14175
14175
|
]);
|
|
14176
14176
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14177
14177
|
present: forceMount || state !== "hidden"
|
|
14178
|
-
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends
|
|
14178
|
+
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends({
|
|
14179
14179
|
"data-state": state === "hidden" ? "hidden" : "visible"
|
|
14180
14180
|
}, scrollbarProps, {
|
|
14181
14181
|
ref: forwardedRef,
|
|
@@ -14205,7 +14205,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14205
14205
|
$57acba87d6e25586$var$useResizeObserver(context.content, handleResize);
|
|
14206
14206
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14207
14207
|
present: forceMount || visible
|
|
14208
|
-
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends
|
|
14208
|
+
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarVisible, _extends({
|
|
14209
14209
|
"data-state": visible ? "visible" : "hidden"
|
|
14210
14210
|
}, scrollbarProps, {
|
|
14211
14211
|
ref: forwardedRef
|
|
@@ -14239,7 +14239,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14239
14239
|
return $57acba87d6e25586$var$getScrollPositionFromPointer(pointerPos, pointerOffsetRef.current, sizes2, dir);
|
|
14240
14240
|
}
|
|
14241
14241
|
if (orientation === "horizontal")
|
|
14242
|
-
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarX, _extends
|
|
14242
|
+
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarX, _extends({}, commonProps, {
|
|
14243
14243
|
ref: forwardedRef,
|
|
14244
14244
|
onThumbPositionChange: () => {
|
|
14245
14245
|
if (context.viewport && thumbRef.current) {
|
|
@@ -14258,7 +14258,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14258
14258
|
}
|
|
14259
14259
|
}));
|
|
14260
14260
|
if (orientation === "vertical")
|
|
14261
|
-
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarY, _extends
|
|
14261
|
+
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarY, _extends({}, commonProps, {
|
|
14262
14262
|
ref: forwardedRef,
|
|
14263
14263
|
onThumbPositionChange: () => {
|
|
14264
14264
|
if (context.viewport && thumbRef.current) {
|
|
@@ -14290,7 +14290,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14290
14290
|
}, [
|
|
14291
14291
|
ref
|
|
14292
14292
|
]);
|
|
14293
|
-
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends
|
|
14293
|
+
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends({
|
|
14294
14294
|
"data-orientation": "horizontal"
|
|
14295
14295
|
}, scrollbarProps, {
|
|
14296
14296
|
ref: composeRefs,
|
|
@@ -14338,7 +14338,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14338
14338
|
}, [
|
|
14339
14339
|
ref
|
|
14340
14340
|
]);
|
|
14341
|
-
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends
|
|
14341
|
+
return /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaScrollbarImpl, _extends({
|
|
14342
14342
|
"data-orientation": "vertical"
|
|
14343
14343
|
}, scrollbarProps, {
|
|
14344
14344
|
ref: composeRefs,
|
|
@@ -14434,7 +14434,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14434
14434
|
onThumbPointerUp: $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPointerUp),
|
|
14435
14435
|
onThumbPositionChange: handleThumbPositionChange,
|
|
14436
14436
|
onThumbPointerDown: $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPointerDown)
|
|
14437
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14437
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, scrollbarProps, {
|
|
14438
14438
|
ref: composeRefs,
|
|
14439
14439
|
style: {
|
|
14440
14440
|
position: "absolute",
|
|
@@ -14471,7 +14471,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14471
14471
|
const scrollbarContext = $57acba87d6e25586$var$useScrollbarContext($57acba87d6e25586$var$THUMB_NAME, props.__scopeScrollArea);
|
|
14472
14472
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
14473
14473
|
present: forceMount || scrollbarContext.hasThumb
|
|
14474
|
-
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaThumbImpl, _extends
|
|
14474
|
+
}, /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaThumbImpl, _extends({
|
|
14475
14475
|
ref: forwardedRef
|
|
14476
14476
|
}, thumbProps)));
|
|
14477
14477
|
});
|
|
@@ -14511,7 +14511,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14511
14511
|
debounceScrollEnd,
|
|
14512
14512
|
onThumbPositionChange
|
|
14513
14513
|
]);
|
|
14514
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14514
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
14515
14515
|
"data-state": scrollbarContext.hasThumb ? "visible" : "hidden"
|
|
14516
14516
|
}, thumbProps, {
|
|
14517
14517
|
ref: composedRef,
|
|
@@ -14538,7 +14538,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14538
14538
|
const context = $57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$CORNER_NAME, props.__scopeScrollArea);
|
|
14539
14539
|
const hasBothScrollbarsVisible = Boolean(context.scrollbarX && context.scrollbarY);
|
|
14540
14540
|
const hasCorner = context.type !== "scroll" && hasBothScrollbarsVisible;
|
|
14541
|
-
return hasCorner ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaCornerImpl, _extends
|
|
14541
|
+
return hasCorner ? /* @__PURE__ */ React.createElement($57acba87d6e25586$var$ScrollAreaCornerImpl, _extends({}, props, {
|
|
14542
14542
|
ref: forwardedRef
|
|
14543
14543
|
})) : null;
|
|
14544
14544
|
});
|
|
@@ -14560,7 +14560,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14560
14560
|
context.onCornerWidthChange(width);
|
|
14561
14561
|
setWidth(width);
|
|
14562
14562
|
});
|
|
14563
|
-
return hasSize ? /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
14563
|
+
return hasSize ? /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, cornerProps, {
|
|
14564
14564
|
ref: forwardedRef,
|
|
14565
14565
|
style: {
|
|
14566
14566
|
width: width1,
|
|
@@ -14821,7 +14821,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14821
14821
|
scope: props.__scopeSlider
|
|
14822
14822
|
}, /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$Collection.Slot, {
|
|
14823
14823
|
scope: props.__scopeSlider
|
|
14824
|
-
}, /* @__PURE__ */ React.createElement(SliderOrientation, _extends
|
|
14824
|
+
}, /* @__PURE__ */ React.createElement(SliderOrientation, _extends({
|
|
14825
14825
|
"aria-disabled": disabled,
|
|
14826
14826
|
"data-disabled": disabled ? "" : void 0
|
|
14827
14827
|
}, sliderProps, {
|
|
@@ -14903,7 +14903,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14903
14903
|
endEdge: isSlidingFromLeft ? "right" : "left",
|
|
14904
14904
|
direction: isSlidingFromLeft ? 1 : -1,
|
|
14905
14905
|
size: "width"
|
|
14906
|
-
}, /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$SliderImpl, _extends
|
|
14906
|
+
}, /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$SliderImpl, _extends({
|
|
14907
14907
|
dir: direction,
|
|
14908
14908
|
"data-orientation": "horizontal"
|
|
14909
14909
|
}, sliderProps, {
|
|
@@ -14963,7 +14963,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14963
14963
|
endEdge: isSlidingFromBottom ? "top" : "bottom",
|
|
14964
14964
|
size: "height",
|
|
14965
14965
|
direction: isSlidingFromBottom ? 1 : -1
|
|
14966
|
-
}, /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$SliderImpl, _extends
|
|
14966
|
+
}, /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$SliderImpl, _extends({
|
|
14967
14967
|
"data-orientation": "vertical"
|
|
14968
14968
|
}, sliderProps, {
|
|
14969
14969
|
ref,
|
|
@@ -14996,7 +14996,7 @@ body { background-color: var(--color-page-background); }
|
|
|
14996
14996
|
const $faa2e61a3361514f$var$SliderImpl = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
14997
14997
|
const { __scopeSlider, onSlideStart, onSlideMove, onSlideEnd, onHomeKeyDown, onEndKeyDown, onStepKeyDown, ...sliderProps } = props;
|
|
14998
14998
|
const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$SLIDER_NAME, __scopeSlider);
|
|
14999
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
14999
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, sliderProps, {
|
|
15000
15000
|
ref: forwardedRef,
|
|
15001
15001
|
onKeyDown: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onKeyDown, (event) => {
|
|
15002
15002
|
if (event.key === "Home") {
|
|
@@ -15037,7 +15037,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15037
15037
|
const $faa2e61a3361514f$export$105594979f116971 = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
15038
15038
|
const { __scopeSlider, ...trackProps } = props;
|
|
15039
15039
|
const context = $faa2e61a3361514f$var$useSliderContext($faa2e61a3361514f$var$TRACK_NAME, __scopeSlider);
|
|
15040
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15040
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
15041
15041
|
"data-disabled": context.disabled ? "" : void 0,
|
|
15042
15042
|
"data-orientation": context.orientation
|
|
15043
15043
|
}, trackProps, {
|
|
@@ -15057,7 +15057,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15057
15057
|
);
|
|
15058
15058
|
const offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0;
|
|
15059
15059
|
const offsetEnd = 100 - Math.max(...percentages);
|
|
15060
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15060
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
15061
15061
|
"data-orientation": context.orientation,
|
|
15062
15062
|
"data-disabled": context.disabled ? "" : void 0
|
|
15063
15063
|
}, rangeProps, {
|
|
@@ -15086,7 +15086,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15086
15086
|
thumb
|
|
15087
15087
|
]
|
|
15088
15088
|
);
|
|
15089
|
-
return /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$SliderThumbImpl, _extends
|
|
15089
|
+
return /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$SliderThumbImpl, _extends({}, props, {
|
|
15090
15090
|
ref: composedRefs,
|
|
15091
15091
|
index: index2
|
|
15092
15092
|
}));
|
|
@@ -15125,7 +15125,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15125
15125
|
}
|
|
15126
15126
|
}, /* @__PURE__ */ React.createElement($faa2e61a3361514f$var$Collection.ItemSlot, {
|
|
15127
15127
|
scope: props.__scopeSlider
|
|
15128
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends
|
|
15128
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
|
|
15129
15129
|
role: "slider",
|
|
15130
15130
|
"aria-label": props["aria-label"] || label,
|
|
15131
15131
|
"aria-valuemin": context.min,
|
|
@@ -15165,7 +15165,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15165
15165
|
prevValue,
|
|
15166
15166
|
value
|
|
15167
15167
|
]);
|
|
15168
|
-
return /* @__PURE__ */ React.createElement("input", _extends
|
|
15168
|
+
return /* @__PURE__ */ React.createElement("input", _extends({
|
|
15169
15169
|
style: {
|
|
15170
15170
|
display: "none"
|
|
15171
15171
|
}
|
|
@@ -15422,7 +15422,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15422
15422
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$TRIGGER_NAME, __scopePopover);
|
|
15423
15423
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
15424
15424
|
const composedTriggerRef = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.triggerRef);
|
|
15425
|
-
const trigger = /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
15425
|
+
const trigger = /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
15426
15426
|
type: "button",
|
|
15427
15427
|
"aria-haspopup": "dialog",
|
|
15428
15428
|
"aria-expanded": context.open,
|
|
@@ -15432,7 +15432,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15432
15432
|
ref: composedTriggerRef,
|
|
15433
15433
|
onClick: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onClick, context.onOpenToggle)
|
|
15434
15434
|
}));
|
|
15435
|
-
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends
|
|
15435
|
+
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
15436
15436
|
asChild: true
|
|
15437
15437
|
}, popperScope), trigger);
|
|
15438
15438
|
});
|
|
@@ -15460,9 +15460,9 @@ body { background-color: var(--color-page-background); }
|
|
|
15460
15460
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
15461
15461
|
return /* @__PURE__ */ React.createElement($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
15462
15462
|
present: forceMount || context.open
|
|
15463
|
-
}, context.modal ? /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentModal, _extends
|
|
15463
|
+
}, context.modal ? /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentModal, _extends({}, contentProps, {
|
|
15464
15464
|
ref: forwardedRef
|
|
15465
|
-
})) : /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentNonModal, _extends
|
|
15465
|
+
})) : /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentNonModal, _extends({}, contentProps, {
|
|
15466
15466
|
ref: forwardedRef
|
|
15467
15467
|
})));
|
|
15468
15468
|
});
|
|
@@ -15479,7 +15479,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15479
15479
|
return /* @__PURE__ */ React.createElement($am6gm$RemoveScroll, {
|
|
15480
15480
|
as: $5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
15481
15481
|
allowPinchZoom: true
|
|
15482
|
-
}, /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends
|
|
15482
|
+
}, /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
15483
15483
|
ref: composedRefs,
|
|
15484
15484
|
trapFocus: context.open,
|
|
15485
15485
|
disableOutsidePointerEvents: true,
|
|
@@ -15510,7 +15510,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15510
15510
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
15511
15511
|
const hasInteractedOutsideRef = React.useRef(false);
|
|
15512
15512
|
const hasPointerDownOutsideRef = React.useRef(false);
|
|
15513
|
-
return /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends
|
|
15513
|
+
return /* @__PURE__ */ React.createElement($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
15514
15514
|
ref: forwardedRef,
|
|
15515
15515
|
trapFocus: false,
|
|
15516
15516
|
disableOutsidePointerEvents: false,
|
|
@@ -15562,7 +15562,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15562
15562
|
onPointerDownOutside,
|
|
15563
15563
|
onFocusOutside,
|
|
15564
15564
|
onDismiss: () => context.onOpenChange(false)
|
|
15565
|
-
}, /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends
|
|
15565
|
+
}, /* @__PURE__ */ React.createElement($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({
|
|
15566
15566
|
"data-state": $cb5cc270b50c6fcd$var$getState(context.open),
|
|
15567
15567
|
role: "dialog",
|
|
15568
15568
|
id: context.contentId
|
|
@@ -15582,7 +15582,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15582
15582
|
const $cb5cc270b50c6fcd$export$d6ac43ebaa40d53e = /* @__PURE__ */ React.forwardRef((props, forwardedRef) => {
|
|
15583
15583
|
const { __scopePopover, ...closeProps } = props;
|
|
15584
15584
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CLOSE_NAME, __scopePopover);
|
|
15585
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
15585
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
15586
15586
|
type: "button"
|
|
15587
15587
|
}, closeProps, {
|
|
15588
15588
|
ref: forwardedRef,
|
|
@@ -15687,7 +15687,7 @@ body { background-color: var(--color-page-background); }
|
|
|
15687
15687
|
"aria-orientation": ariaOrientation,
|
|
15688
15688
|
role: "separator"
|
|
15689
15689
|
};
|
|
15690
|
-
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15690
|
+
return /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15691
15691
|
"data-orientation": orientation
|
|
15692
15692
|
}, semanticProps, domProps, {
|
|
15693
15693
|
ref: forwardedRef
|
|
@@ -15746,7 +15746,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
15746
15746
|
orientation,
|
|
15747
15747
|
dir: direction,
|
|
15748
15748
|
activationMode
|
|
15749
|
-
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15749
|
+
}, /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15750
15750
|
dir: direction,
|
|
15751
15751
|
"data-orientation": orientation
|
|
15752
15752
|
}, tabsProps, {
|
|
@@ -15758,13 +15758,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
15758
15758
|
const { __scopeTabs, loop = true, ...listProps } = props;
|
|
15759
15759
|
const context = $69cb30bb0017df05$var$useTabsContext($69cb30bb0017df05$var$TAB_LIST_NAME, __scopeTabs);
|
|
15760
15760
|
const rovingFocusGroupScope = $69cb30bb0017df05$var$useRovingFocusGroupScope(__scopeTabs);
|
|
15761
|
-
return /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends
|
|
15761
|
+
return /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9, _extends({
|
|
15762
15762
|
asChild: true
|
|
15763
15763
|
}, rovingFocusGroupScope, {
|
|
15764
15764
|
orientation: context.orientation,
|
|
15765
15765
|
dir: context.dir,
|
|
15766
15766
|
loop
|
|
15767
|
-
}), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15767
|
+
}), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15768
15768
|
role: "tablist",
|
|
15769
15769
|
"aria-orientation": context.orientation
|
|
15770
15770
|
}, listProps, {
|
|
@@ -15779,12 +15779,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
15779
15779
|
const triggerId = $69cb30bb0017df05$var$makeTriggerId(context.baseId, value);
|
|
15780
15780
|
const contentId = $69cb30bb0017df05$var$makeContentId(context.baseId, value);
|
|
15781
15781
|
const isSelected = value === context.value;
|
|
15782
|
-
return /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends
|
|
15782
|
+
return /* @__PURE__ */ React.createElement($d7bdfb9eb0fdf311$export$6d08773d2e66f8f2, _extends({
|
|
15783
15783
|
asChild: true
|
|
15784
15784
|
}, rovingFocusGroupScope, {
|
|
15785
15785
|
focusable: !disabled,
|
|
15786
15786
|
active: isSelected
|
|
15787
|
-
}), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends
|
|
15787
|
+
}), /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
15788
15788
|
type: "button",
|
|
15789
15789
|
role: "tab",
|
|
15790
15790
|
"aria-selected": isSelected,
|
|
@@ -15834,7 +15834,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
15834
15834
|
{
|
|
15835
15835
|
present: forceMount || isSelected
|
|
15836
15836
|
},
|
|
15837
|
-
({ present }) => /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends
|
|
15837
|
+
({ present }) => /* @__PURE__ */ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
15838
15838
|
"data-state": isSelected ? "active" : "inactive",
|
|
15839
15839
|
"data-orientation": context.orientation,
|
|
15840
15840
|
role: "tabpanel",
|
|
@@ -16105,190 +16105,6 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
16105
16105
|
) });
|
|
16106
16106
|
});
|
|
16107
16107
|
BooleanInput.displayName = "BooleanInput";
|
|
16108
|
-
var DefaultContext = {
|
|
16109
|
-
color: void 0,
|
|
16110
|
-
size: void 0,
|
|
16111
|
-
className: void 0,
|
|
16112
|
-
style: void 0,
|
|
16113
|
-
attr: void 0
|
|
16114
|
-
};
|
|
16115
|
-
var IconContext = React.createContext && /* @__PURE__ */ React.createContext(DefaultContext);
|
|
16116
|
-
var _excluded = ["attr", "size", "title"];
|
|
16117
|
-
function _objectWithoutProperties(source, excluded) {
|
|
16118
|
-
if (source == null)
|
|
16119
|
-
return {};
|
|
16120
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
16121
|
-
var key, i;
|
|
16122
|
-
if (Object.getOwnPropertySymbols) {
|
|
16123
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
16124
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
16125
|
-
key = sourceSymbolKeys[i];
|
|
16126
|
-
if (excluded.indexOf(key) >= 0)
|
|
16127
|
-
continue;
|
|
16128
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
16129
|
-
continue;
|
|
16130
|
-
target[key] = source[key];
|
|
16131
|
-
}
|
|
16132
|
-
}
|
|
16133
|
-
return target;
|
|
16134
|
-
}
|
|
16135
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
16136
|
-
if (source == null)
|
|
16137
|
-
return {};
|
|
16138
|
-
var target = {};
|
|
16139
|
-
for (var key in source) {
|
|
16140
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
16141
|
-
if (excluded.indexOf(key) >= 0)
|
|
16142
|
-
continue;
|
|
16143
|
-
target[key] = source[key];
|
|
16144
|
-
}
|
|
16145
|
-
}
|
|
16146
|
-
return target;
|
|
16147
|
-
}
|
|
16148
|
-
function _extends() {
|
|
16149
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
16150
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
16151
|
-
var source = arguments[i];
|
|
16152
|
-
for (var key in source) {
|
|
16153
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
16154
|
-
target[key] = source[key];
|
|
16155
|
-
}
|
|
16156
|
-
}
|
|
16157
|
-
}
|
|
16158
|
-
return target;
|
|
16159
|
-
};
|
|
16160
|
-
return _extends.apply(this, arguments);
|
|
16161
|
-
}
|
|
16162
|
-
function ownKeys(e, r) {
|
|
16163
|
-
var t = Object.keys(e);
|
|
16164
|
-
if (Object.getOwnPropertySymbols) {
|
|
16165
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
16166
|
-
r && (o = o.filter(function(r2) {
|
|
16167
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
16168
|
-
})), t.push.apply(t, o);
|
|
16169
|
-
}
|
|
16170
|
-
return t;
|
|
16171
|
-
}
|
|
16172
|
-
function _objectSpread(e) {
|
|
16173
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
16174
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
16175
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
16176
|
-
_defineProperty(e, r2, t[r2]);
|
|
16177
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
16178
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
16179
|
-
});
|
|
16180
|
-
}
|
|
16181
|
-
return e;
|
|
16182
|
-
}
|
|
16183
|
-
function _defineProperty(obj, key, value) {
|
|
16184
|
-
key = _toPropertyKey(key);
|
|
16185
|
-
if (key in obj) {
|
|
16186
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
16187
|
-
} else {
|
|
16188
|
-
obj[key] = value;
|
|
16189
|
-
}
|
|
16190
|
-
return obj;
|
|
16191
|
-
}
|
|
16192
|
-
function _toPropertyKey(t) {
|
|
16193
|
-
var i = _toPrimitive(t, "string");
|
|
16194
|
-
return "symbol" == typeof i ? i : i + "";
|
|
16195
|
-
}
|
|
16196
|
-
function _toPrimitive(t, r) {
|
|
16197
|
-
if ("object" != typeof t || !t)
|
|
16198
|
-
return t;
|
|
16199
|
-
var e = t[Symbol.toPrimitive];
|
|
16200
|
-
if (void 0 !== e) {
|
|
16201
|
-
var i = e.call(t, r || "default");
|
|
16202
|
-
if ("object" != typeof i)
|
|
16203
|
-
return i;
|
|
16204
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
16205
|
-
}
|
|
16206
|
-
return ("string" === r ? String : Number)(t);
|
|
16207
|
-
}
|
|
16208
|
-
function Tree2Element(tree) {
|
|
16209
|
-
return tree && tree.map((node, i) => /* @__PURE__ */ React.createElement(node.tag, _objectSpread({
|
|
16210
|
-
key: i
|
|
16211
|
-
}, node.attr), Tree2Element(node.child)));
|
|
16212
|
-
}
|
|
16213
|
-
function GenIcon(data) {
|
|
16214
|
-
return (props) => /* @__PURE__ */ React.createElement(IconBase, _extends({
|
|
16215
|
-
attr: _objectSpread({}, data.attr)
|
|
16216
|
-
}, props), Tree2Element(data.child));
|
|
16217
|
-
}
|
|
16218
|
-
function IconBase(props) {
|
|
16219
|
-
var elem = (conf) => {
|
|
16220
|
-
var {
|
|
16221
|
-
attr,
|
|
16222
|
-
size: size2,
|
|
16223
|
-
title: title2
|
|
16224
|
-
} = props, svgProps = _objectWithoutProperties(props, _excluded);
|
|
16225
|
-
var computedSize = size2 || conf.size || "1em";
|
|
16226
|
-
var className;
|
|
16227
|
-
if (conf.className)
|
|
16228
|
-
className = conf.className;
|
|
16229
|
-
if (props.className)
|
|
16230
|
-
className = (className ? className + " " : "") + props.className;
|
|
16231
|
-
return /* @__PURE__ */ React.createElement("svg", _extends({
|
|
16232
|
-
stroke: "currentColor",
|
|
16233
|
-
fill: "currentColor",
|
|
16234
|
-
strokeWidth: "0"
|
|
16235
|
-
}, conf.attr, attr, svgProps, {
|
|
16236
|
-
className,
|
|
16237
|
-
style: _objectSpread(_objectSpread({
|
|
16238
|
-
color: props.color || conf.color
|
|
16239
|
-
}, conf.style), props.style),
|
|
16240
|
-
height: computedSize,
|
|
16241
|
-
width: computedSize,
|
|
16242
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16243
|
-
}), title2 && /* @__PURE__ */ React.createElement("title", null, title2), props.children);
|
|
16244
|
-
};
|
|
16245
|
-
return IconContext !== void 0 ? /* @__PURE__ */ React.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
|
|
16246
|
-
}
|
|
16247
|
-
function RiArrowDownLine(props) {
|
|
16248
|
-
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);
|
|
16249
|
-
}
|
|
16250
|
-
function RiArrowUpLine(props) {
|
|
16251
|
-
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);
|
|
16252
|
-
}
|
|
16253
|
-
function RiCalendarLine(props) {
|
|
16254
|
-
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);
|
|
16255
|
-
}
|
|
16256
|
-
function RiQrCodeLine(props) {
|
|
16257
|
-
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);
|
|
16258
|
-
}
|
|
16259
|
-
function RiFileCopyLine(props) {
|
|
16260
|
-
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);
|
|
16261
|
-
}
|
|
16262
|
-
function RiAlignJustify(props) {
|
|
16263
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "d": "M3 4H21V6H3V4ZM3 19H21V21H3V19ZM3 14H21V16H3V14ZM3 9H21V11H3V9Z" }, "child": [] }] })(props);
|
|
16264
|
-
}
|
|
16265
|
-
function RiHashtag(props) {
|
|
16266
|
-
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);
|
|
16267
|
-
}
|
|
16268
|
-
function RiInputField(props) {
|
|
16269
|
-
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);
|
|
16270
|
-
}
|
|
16271
|
-
function RiListCheck(props) {
|
|
16272
|
-
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);
|
|
16273
|
-
}
|
|
16274
|
-
function RiImageLine(props) {
|
|
16275
|
-
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);
|
|
16276
|
-
}
|
|
16277
|
-
function RiCheckboxCircleLine(props) {
|
|
16278
|
-
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);
|
|
16279
|
-
}
|
|
16280
|
-
function RiCheckboxLine(props) {
|
|
16281
|
-
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);
|
|
16282
|
-
}
|
|
16283
|
-
function RiDeleteBin2Line(props) {
|
|
16284
|
-
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);
|
|
16285
|
-
}
|
|
16286
|
-
function RiMenuFoldLine(props) {
|
|
16287
|
-
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);
|
|
16288
|
-
}
|
|
16289
|
-
function RiUpload2Line(props) {
|
|
16290
|
-
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);
|
|
16291
|
-
}
|
|
16292
16108
|
const emptyBooleanField = {
|
|
16293
16109
|
...emptyBaseField,
|
|
16294
16110
|
type: "boolean"
|
|
@@ -16321,7 +16137,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
16321
16137
|
};
|
|
16322
16138
|
__publicField(_BooleanField, "fieldTypeName", "Checkbox");
|
|
16323
16139
|
__publicField(_BooleanField, "fieldTypeDescription", "Perfect for both optional and required yes/no questions.");
|
|
16324
|
-
__publicField(_BooleanField, "Icon", RiCheckboxCircleLine);
|
|
16140
|
+
__publicField(_BooleanField, "Icon", ri.RiCheckboxCircleLine);
|
|
16325
16141
|
let BooleanField = _BooleanField;
|
|
16326
16142
|
const NumberInput = React.memo((props) => {
|
|
16327
16143
|
const [{ inputId, labelId, size: size2, severity, showInputOnly, field, fieldProps }, rest] = useFormikInput(props);
|
|
@@ -16474,7 +16290,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
16474
16290
|
};
|
|
16475
16291
|
__publicField(_NumberField, "fieldTypeName", "Number");
|
|
16476
16292
|
__publicField(_NumberField, "fieldTypeDescription", "Allows specifying a number within a given range.");
|
|
16477
|
-
__publicField(_NumberField, "Icon", RiHashtag);
|
|
16293
|
+
__publicField(_NumberField, "Icon", ri.RiHashtag);
|
|
16478
16294
|
__publicField(_NumberField, "_validateMin", (path) => (value, allValues) => {
|
|
16479
16295
|
const field = valueIsFormikUserFormRevision$1(allValues) ? get(allValues, path) : allValues;
|
|
16480
16296
|
if (typeof field.maximum === "number" && typeof value === "number" && field.maximum < value) {
|
|
@@ -16537,7 +16353,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
16537
16353
|
};
|
|
16538
16354
|
__publicField(_DateField, "fieldTypeName", "Date");
|
|
16539
16355
|
__publicField(_DateField, "fieldTypeDescription", "Allows specifying a date.");
|
|
16540
|
-
__publicField(_DateField, "Icon", RiCalendarLine);
|
|
16356
|
+
__publicField(_DateField, "Icon", ri.RiCalendarLine);
|
|
16541
16357
|
let DateField = _DateField;
|
|
16542
16358
|
const SHORT_TEXT_FIELD_MAX_LENGTH = 500;
|
|
16543
16359
|
const LONG_TEXT_FIELD_MAX_LENGTH = 1e4;
|
|
@@ -16743,7 +16559,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
16743
16559
|
};
|
|
16744
16560
|
__publicField(_StringField, "fieldTypeName", "Short Text");
|
|
16745
16561
|
__publicField(_StringField, "fieldTypeDescription", `Short text fields can hold up to ${SHORT_TEXT_FIELD_MAX_LENGTH} characters on a single line.`);
|
|
16746
|
-
__publicField(_StringField, "Icon", RiInputField);
|
|
16562
|
+
__publicField(_StringField, "Icon", ri.RiInputField);
|
|
16747
16563
|
let StringField = _StringField;
|
|
16748
16564
|
const TextInput = React.memo((props) => {
|
|
16749
16565
|
const [{ inputId, labelId, size: size2, severity, showInputOnly, field, fieldProps }, rest] = useFormikInput(props);
|
|
@@ -16805,7 +16621,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
16805
16621
|
};
|
|
16806
16622
|
__publicField(_TextField, "fieldTypeName", "Paragraph");
|
|
16807
16623
|
__publicField(_TextField, "fieldTypeDescription", `Paragraph fields can hold up to ${LONG_TEXT_FIELD_MAX_LENGTH} characters and can have multiple lines.`);
|
|
16808
|
-
__publicField(_TextField, "Icon", RiAlignJustify);
|
|
16624
|
+
__publicField(_TextField, "Icon", ri.RiAlignJustify);
|
|
16809
16625
|
let TextField = _TextField;
|
|
16810
16626
|
const SelectInput = React.memo((props) => {
|
|
16811
16627
|
const [{ inputId, labelId, size: size2, severity, showInputOnly, field, fieldProps }, rest] = useFormikInput(props);
|
|
@@ -17129,7 +16945,10 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
17129
16945
|
mb: "1",
|
|
17130
16946
|
asChild: true,
|
|
17131
16947
|
children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Badge, { color: "gray", size: "2", children: [
|
|
17132
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
16948
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", {
|
|
16949
|
+
// TODO: remove this, its just a saftey check for old compatibility of what was acceptable as a value for multi string
|
|
16950
|
+
children: typeof option === "object" && "label" in option ? option.label : option
|
|
16951
|
+
}),
|
|
17133
16952
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17134
16953
|
blocks.IconButton,
|
|
17135
16954
|
{
|
|
@@ -17215,7 +17034,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
17215
17034
|
};
|
|
17216
17035
|
__publicField(_MultiStringField, "fieldTypeName", "Multi-string");
|
|
17217
17036
|
__publicField(_MultiStringField, "fieldTypeDescription", "Allows the user to provide multiple unique strings.");
|
|
17218
|
-
__publicField(_MultiStringField, "Icon", RiListCheck);
|
|
17037
|
+
__publicField(_MultiStringField, "Icon", ri.RiListCheck);
|
|
17219
17038
|
let MultiStringField = _MultiStringField;
|
|
17220
17039
|
class BaseSelectField extends BaseField {
|
|
17221
17040
|
constructor(options2) {
|
|
@@ -17292,7 +17111,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
17292
17111
|
};
|
|
17293
17112
|
__publicField(_SelectField, "fieldTypeName", "Dropdown");
|
|
17294
17113
|
__publicField(_SelectField, "fieldTypeDescription", "Allows the user to select a single option from a list of options.");
|
|
17295
|
-
__publicField(_SelectField, "Icon", RiMenuFoldLine);
|
|
17114
|
+
__publicField(_SelectField, "Icon", ri.RiMenuFoldLine);
|
|
17296
17115
|
let SelectField = _SelectField;
|
|
17297
17116
|
const parseValueToArray = (value) => {
|
|
17298
17117
|
if (!value)
|
|
@@ -17373,7 +17192,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
17373
17192
|
};
|
|
17374
17193
|
__publicField(_MultiSelectField, "fieldTypeName", "Multi-select");
|
|
17375
17194
|
__publicField(_MultiSelectField, "fieldTypeDescription", "Allows the user to select a multiple options from a list of options.");
|
|
17376
|
-
__publicField(_MultiSelectField, "Icon", RiCheckboxLine);
|
|
17195
|
+
__publicField(_MultiSelectField, "Icon", ri.RiCheckboxLine);
|
|
17377
17196
|
let MultiSelectField = _MultiSelectField;
|
|
17378
17197
|
const QrScannerWrapper = "_QrScannerWrapper_1puz3_1";
|
|
17379
17198
|
const styles$9 = {
|
|
@@ -17523,7 +17342,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
17523
17342
|
};
|
|
17524
17343
|
__publicField(_QrField, "fieldTypeName", "QR");
|
|
17525
17344
|
__publicField(_QrField, "fieldTypeDescription", "Used for scanning/reading QR codes.");
|
|
17526
|
-
__publicField(_QrField, "Icon", RiQrCodeLine);
|
|
17345
|
+
__publicField(_QrField, "Icon", ri.RiQrCodeLine);
|
|
17527
17346
|
let QrField = _QrField;
|
|
17528
17347
|
const FieldInputCloner = React.memo((props) => {
|
|
17529
17348
|
const { field, ...rest } = props;
|
|
@@ -18764,7 +18583,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
18764
18583
|
};
|
|
18765
18584
|
__publicField(_UploadField, "fieldTypeName", "Upload");
|
|
18766
18585
|
__publicField(_UploadField, "fieldTypeDescription", "Allows a file to be uploaded.");
|
|
18767
|
-
__publicField(_UploadField, "Icon", RiUpload2Line);
|
|
18586
|
+
__publicField(_UploadField, "Icon", ri.RiUpload2Line);
|
|
18768
18587
|
let UploadField = _UploadField;
|
|
18769
18588
|
const FieldTypeToClsMapping = {
|
|
18770
18589
|
date: DateField,
|
|
@@ -19471,7 +19290,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19471
19290
|
const actions = React.useMemo(() => {
|
|
19472
19291
|
const actions2 = [
|
|
19473
19292
|
{
|
|
19474
|
-
Icon: RiFileCopyLine,
|
|
19293
|
+
Icon: ri.RiFileCopyLine,
|
|
19475
19294
|
key: "duplicate",
|
|
19476
19295
|
text: "Duplicate",
|
|
19477
19296
|
buttonProps: { onClick: duplicate }
|
|
@@ -19479,7 +19298,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19479
19298
|
];
|
|
19480
19299
|
if (index2 !== 0) {
|
|
19481
19300
|
actions2.push({
|
|
19482
|
-
Icon: RiDeleteBin2Line,
|
|
19301
|
+
Icon: ri.RiDeleteBin2Line,
|
|
19483
19302
|
key: "delete",
|
|
19484
19303
|
text: "Delete",
|
|
19485
19304
|
buttonProps: { onClick: remove2 }
|
|
@@ -19487,7 +19306,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19487
19306
|
}
|
|
19488
19307
|
if (type !== "section") {
|
|
19489
19308
|
actions2.unshift({
|
|
19490
|
-
Icon: RiImageLine,
|
|
19309
|
+
Icon: ri.RiImageLine,
|
|
19491
19310
|
key: "upload",
|
|
19492
19311
|
text: "Upload image",
|
|
19493
19312
|
buttonProps: {
|
|
@@ -19500,7 +19319,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19500
19319
|
}
|
|
19501
19320
|
if (sectionIndex === void 0 && index2 !== values.fields.length - 1 || sectionIndex !== void 0 && (sectionIndex < values.fields.length - 1 || index2 !== values.fields[sectionIndex].fields.length - 1)) {
|
|
19502
19321
|
actions2.unshift({
|
|
19503
|
-
Icon: RiArrowDownLine,
|
|
19322
|
+
Icon: ri.RiArrowDownLine,
|
|
19504
19323
|
key: "moveDown",
|
|
19505
19324
|
text: "Move down",
|
|
19506
19325
|
buttonProps: {
|
|
@@ -19512,7 +19331,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19512
19331
|
}
|
|
19513
19332
|
if (sectionIndex === void 0 && index2 !== 0 || sectionIndex !== void 0 && (sectionIndex !== 0 || index2 !== 0)) {
|
|
19514
19333
|
actions2.unshift({
|
|
19515
|
-
Icon: RiArrowUpLine,
|
|
19334
|
+
Icon: ri.RiArrowUpLine,
|
|
19516
19335
|
key: "moveUp",
|
|
19517
19336
|
text: "Move up",
|
|
19518
19337
|
buttonProps: {
|
|
@@ -19537,20 +19356,21 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
19537
19356
|
},
|
|
19538
19357
|
Action.key
|
|
19539
19358
|
)) }),
|
|
19540
|
-
/* @__PURE__ */ jsxRuntime.jsx(Box, { display: forMobile(true, "block"), children: /* @__PURE__ */ jsxRuntime.
|
|
19541
|
-
blocks.
|
|
19542
|
-
{
|
|
19543
|
-
|
|
19544
|
-
|
|
19545
|
-
|
|
19546
|
-
|
|
19359
|
+
/* @__PURE__ */ jsxRuntime.jsx(Box, { display: forMobile(true, "block"), children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.OvermapMenu.Root, { children: [
|
|
19360
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.OvermapMenu.ClickTrigger, { children: /* @__PURE__ */ jsxRuntime.jsx(blocks.IconButton, { variant: "ghost", "aria-label": "Actions menu", children: /* @__PURE__ */ jsxRuntime.jsx(blocks.RiIcon, { icon: "RiMore2Line" }) }) }),
|
|
19361
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.OvermapMenu.Content, { children: actions.map((Action) => {
|
|
19362
|
+
var _a2;
|
|
19363
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19364
|
+
blocks.OvermapMenu.Item,
|
|
19365
|
+
{
|
|
19366
|
+
onClick: (_a2 = Action.buttonProps) == null ? void 0 : _a2.onClick,
|
|
19547
19367
|
leftSlot: /* @__PURE__ */ jsxRuntime.jsx(Action.Icon, {}),
|
|
19548
|
-
children: Action.text
|
|
19549
|
-
|
|
19550
|
-
|
|
19551
|
-
|
|
19552
|
-
}
|
|
19553
|
-
) }),
|
|
19368
|
+
children: Action.text
|
|
19369
|
+
},
|
|
19370
|
+
Action.key
|
|
19371
|
+
);
|
|
19372
|
+
}) })
|
|
19373
|
+
] }) }),
|
|
19554
19374
|
type !== "section" && /* @__PURE__ */ jsxRuntime.jsx("input", { style: { display: "none" }, ref: fileInputRef, type: "file", accept: "image/*", onChange: upload })
|
|
19555
19375
|
] });
|
|
19556
19376
|
});
|
|
@@ -20162,16 +19982,21 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
|
|
|
20162
19982
|
child.identifier
|
|
20163
19983
|
)),
|
|
20164
19984
|
droppableProvided.placeholder,
|
|
20165
|
-
/* @__PURE__ */ jsxRuntime.
|
|
20166
|
-
blocks.
|
|
20167
|
-
|
|
20168
|
-
|
|
20169
|
-
|
|
20170
|
-
|
|
20171
|
-
|
|
20172
|
-
|
|
20173
|
-
|
|
20174
|
-
|
|
19985
|
+
/* @__PURE__ */ jsxRuntime.jsxs(blocks.OvermapMenu.Root, { children: [
|
|
19986
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.OvermapMenu.ClickTrigger, { children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Button, { type: "button", variant: "soft", children: [
|
|
19987
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.RiIcon, { icon: "RiAddLine" }),
|
|
19988
|
+
" Add field"
|
|
19989
|
+
] }) }),
|
|
19990
|
+
/* @__PURE__ */ jsxRuntime.jsx(blocks.OvermapMenu.Content, { children: fieldTypeItems.flat().map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
19991
|
+
blocks.OvermapMenu.Item,
|
|
19992
|
+
{
|
|
19993
|
+
leftSlot: item.leftSlot,
|
|
19994
|
+
onSelect: item.onSelect,
|
|
19995
|
+
children: item.children
|
|
19996
|
+
},
|
|
19997
|
+
item.value
|
|
19998
|
+
)) })
|
|
19999
|
+
] })
|
|
20175
20000
|
]
|
|
20176
20001
|
}
|
|
20177
20002
|
)
|