@fuf-stack/pixels 1.1.0 → 1.1.1
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/Accordion/index.cjs +2 -2
- package/dist/Accordion/index.js +1 -1
- package/dist/Alert/index.cjs +2 -2
- package/dist/Alert/index.js +1 -1
- package/dist/Button/index.cjs +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/Card/index.cjs +2 -2
- package/dist/Card/index.js +1 -1
- package/dist/Json/index.cjs +3 -3
- package/dist/Json/index.js +2 -2
- package/dist/Table/index.cjs +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/{chunk-DBVM5SIA.js → chunk-2NVQAYAE.js} +3 -3
- package/dist/{chunk-DBVM5SIA.js.map → chunk-2NVQAYAE.js.map} +1 -1
- package/dist/{chunk-L3Y2COBO.cjs → chunk-2OJHNNCU.cjs} +82 -73
- package/dist/chunk-2OJHNNCU.cjs.map +1 -0
- package/dist/{chunk-6XNLMOET.js → chunk-4LMQVFV7.js} +4 -4
- package/dist/{chunk-6XNLMOET.js.map → chunk-4LMQVFV7.js.map} +1 -1
- package/dist/{chunk-MHZAWSFJ.cjs → chunk-7APFE3MI.cjs} +4 -4
- package/dist/chunk-7APFE3MI.cjs.map +1 -0
- package/dist/{chunk-NHEC3GYW.js → chunk-7T76DXVT.js} +3 -3
- package/dist/{chunk-NHEC3GYW.js.map → chunk-7T76DXVT.js.map} +1 -1
- package/dist/{chunk-P6NK2WGG.js → chunk-BTQB4EZC.js} +81 -72
- package/dist/chunk-BTQB4EZC.js.map +1 -0
- package/dist/{chunk-AJCAIA6H.cjs → chunk-C6VV7NYT.cjs} +3 -3
- package/dist/{chunk-AJCAIA6H.cjs.map → chunk-C6VV7NYT.cjs.map} +1 -1
- package/dist/{chunk-AFGRLKHU.js → chunk-GNMNAQY4.js} +3 -3
- package/dist/{chunk-AFGRLKHU.js.map → chunk-GNMNAQY4.js.map} +1 -1
- package/dist/{chunk-2P5WWVQ6.cjs → chunk-LCOQDCO4.cjs} +3 -3
- package/dist/{chunk-2P5WWVQ6.cjs.map → chunk-LCOQDCO4.cjs.map} +1 -1
- package/dist/{chunk-K6UF4AGX.cjs → chunk-PZL3LRGY.cjs} +4 -4
- package/dist/{chunk-K6UF4AGX.cjs.map → chunk-PZL3LRGY.cjs.map} +1 -1
- package/dist/{chunk-ABKT5UKM.js → chunk-QDLXCNJI.js} +4 -4
- package/dist/chunk-QDLXCNJI.js.map +1 -0
- package/dist/{chunk-KWSGA623.cjs → chunk-YBMQZ43T.cjs} +3 -3
- package/dist/{chunk-KWSGA623.cjs.map → chunk-YBMQZ43T.cjs.map} +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +4 -4
- package/dist/chunk-ABKT5UKM.js.map +0 -1
- package/dist/chunk-L3Y2COBO.cjs.map +0 -1
- package/dist/chunk-MHZAWSFJ.cjs.map +0 -1
- package/dist/chunk-P6NK2WGG.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Accordion/Accordion.tsx","../src/Accordion/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { DividerProps } from '@heroui/divider';\nimport type { ReactNode } from 'react';\n\nimport {\n Accordion as HeroAccordion,\n AccordionItem as HeroAccordionItem,\n} from '@heroui/accordion';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// accordion styling variants\n// see: https://www.heroui.com//docs/components/accordion#accordion-item-slots\nexport const accordionVariants = tv({\n slots: {\n base: '',\n content: 'px-4',\n heading: 'px-4',\n indicator: '',\n startContent: '',\n subtitle: '',\n title: '',\n titleWrapper: '',\n trigger: '',\n // outer accordion wrapper\n wrapper: 'px-0',\n },\n variants: {\n indicatorLeft: {\n true: {\n content: 'pl-7',\n indicator: '-rotate-180 data-[open=true]:-rotate-90',\n trigger: 'flex-row-reverse',\n },\n },\n showDivider: {\n true: {\n wrapper: 'divide-
|
|
1
|
+
{"version":3,"sources":["../src/Accordion/Accordion.tsx","../src/Accordion/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { DividerProps } from '@heroui/divider';\nimport type { ReactNode } from 'react';\n\nimport {\n Accordion as HeroAccordion,\n AccordionItem as HeroAccordionItem,\n} from '@heroui/accordion';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// accordion styling variants\n// see: https://www.heroui.com//docs/components/accordion#accordion-item-slots\nexport const accordionVariants = tv({\n slots: {\n base: '',\n content: 'px-4',\n heading: 'px-4',\n indicator: '',\n startContent: '',\n subtitle: '',\n title: '',\n titleWrapper: '',\n trigger: '',\n // outer accordion wrapper\n wrapper: 'px-0',\n },\n variants: {\n indicatorLeft: {\n true: {\n content: 'pl-7',\n indicator: '-rotate-180 data-[open=true]:-rotate-90',\n trigger: 'flex-row-reverse',\n },\n },\n showDivider: {\n true: {\n wrapper: 'divide-divider divide-y divide-solid',\n },\n },\n showBottomTopDivider: {\n true: {\n wrapper: 'border-divider border-t border-b border-solid',\n },\n },\n },\n});\n\nexport interface AccordionItemProps {\n /** Content of the accordion item */\n children: ReactNode;\n /** Disables the accordion item */\n disabled?: boolean;\n /** Accordion item title */\n title: ReactNode;\n /** Accordion item subtitle */\n subtitle?: ReactNode;\n}\n\ntype VariantProps = TVProps<typeof accordionVariants>;\ntype ClassName = TVClassName<typeof accordionVariants>;\n\nexport interface AccordionProps extends VariantProps {\n /** Props for AccordionItems, will render the accordion items programmatically */\n accordionItems: AccordionItemProps[];\n /** CSS class name */\n className?: ClassName;\n /** Array of keys for the AccordionItem(s) to be expanded by default */\n defaultSelectedKeys?: undefined | 'all' | Iterable<number | string>;\n /** Disables the Accordion */\n disabled?: boolean;\n /** Array of keys for the AccordionItems to disable */\n disabledKeys?: Iterable<number | string>;\n /** Force always one AccordionItem to be open. */\n disallowEmptySelection?: boolean;\n /** props for styling the Divider */\n dividerProps?: DividerProps;\n /** Hide the expanded/collapsed indicator icon */\n hideIndicator?: boolean;\n /** Callback function for when a Accordion Item is expanded or collapsed */\n onSelectionChange?: (keys: 'all' | Iterable<number | string>) => unknown;\n /** Selected keys (controlled) */\n selectedKeys?: undefined | 'all' | Iterable<number | string>;\n /** Set whether multiple or only a single AccordionItems can be expanded */\n selectionMode?: 'single' | 'multiple';\n /** Enable or disable the divider between each AccordionItem */\n showDivider?: boolean;\n /** Style variant of the Accordion */\n variant?: 'light' | 'shadow' | 'bordered' | 'splitted';\n}\n\n/**\n * Accordion component based on [HeroUI Accordion](https://www.heroui.com//docs/components/accordion)\n */\nconst Accordion = ({\n accordionItems,\n className: _className = undefined,\n defaultSelectedKeys = [],\n disabled = false,\n disabledKeys = [],\n disallowEmptySelection = false,\n dividerProps = {},\n indicatorLeft = false,\n onSelectionChange = undefined,\n selectedKeys = undefined,\n selectionMode = 'multiple',\n showDivider = true,\n variant = 'light',\n}: AccordionProps) => {\n // itemClasses from className slots\n const variants = accordionVariants({\n indicatorLeft,\n showDivider: showDivider && variant !== 'splitted',\n showBottomTopDivider: showDivider && variant === 'light',\n });\n const classNames = variantsToClassNames(variants, _className, 'wrapper');\n\n return (\n <HeroAccordion\n className={classNames.wrapper}\n defaultSelectedKeys={defaultSelectedKeys}\n disabledKeys={disabledKeys}\n disallowEmptySelection={disallowEmptySelection}\n dividerProps={dividerProps}\n isDisabled={disabled}\n itemClasses={classNames}\n onSelectionChange={onSelectionChange}\n selectedKeys={selectedKeys}\n selectionMode={selectionMode}\n showDivider={false}\n variant={variant}\n >\n {accordionItems.map((item, index) => (\n <HeroAccordionItem\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n isDisabled={disabled || item?.disabled}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...item}\n />\n ))}\n </HeroAccordion>\n );\n};\n\nexport default Accordion;\n","import Accordion, { accordionVariants } from './Accordion';\n\nexport type { AccordionProps, AccordionItemProps } from './Accordion';\n\nexport { Accordion, accordionVariants };\n\nexport default Accordion;\n"],"mappings":";;;;;AAIA;AAAA,EACE,aAAa;AAAA,EACb,iBAAiB;AAAA,OACZ;AAEP,SAAS,IAAI,4BAA4B;AA4HjC;AAxHD,IAAM,oBAAoB,GAAG;AAAA,EAClC,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,IACT,SAAS;AAAA,IACT,WAAW;AAAA,IACX,cAAc;AAAA,IACd,UAAU;AAAA,IACV,OAAO;AAAA,IACP,cAAc;AAAA,IACd,SAAS;AAAA;AAAA,IAET,SAAS;AAAA,EACX;AAAA,EACA,UAAU;AAAA,IACR,eAAe;AAAA,MACb,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,WAAW;AAAA,QACX,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,aAAa;AAAA,MACX,MAAM;AAAA,QACJ,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB,MAAM;AAAA,QACJ,SAAS;AAAA,MACX;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAgDD,IAAM,YAAY,CAAC;AAAA,EACjB;AAAA,EACA,WAAW,aAAa;AAAA,EACxB,sBAAsB,CAAC;AAAA,EACvB,WAAW;AAAA,EACX,eAAe,CAAC;AAAA,EAChB,yBAAyB;AAAA,EACzB,eAAe,CAAC;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,UAAU;AACZ,MAAsB;AAEpB,QAAM,WAAW,kBAAkB;AAAA,IACjC;AAAA,IACA,aAAa,eAAe,YAAY;AAAA,IACxC,sBAAsB,eAAe,YAAY;AAAA,EACnD,CAAC;AACD,QAAM,aAAa,qBAAqB,UAAU,YAAY,SAAS;AAEvE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,WAAW;AAAA,MACtB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ,aAAa;AAAA,MACb;AAAA,MACA;AAAA,MACA;AAAA,MACA,aAAa;AAAA,MACb;AAAA,MAEC,yBAAe,IAAI,CAAC,MAAM,UACzB;AAAA,QAAC;AAAA;AAAA,UAGC,YAAY,aAAY,6BAAM;AAAA,WAE1B;AAAA,QAHC;AAAA,MAIP,CACD;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,oBAAQ;;;AC3If,IAAOA,qBAAQ;","names":["Accordion_default"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4LMQVFV7.js";
|
|
4
4
|
import {
|
|
5
5
|
__commonJS,
|
|
6
6
|
__toESM
|
|
7
7
|
} from "./chunk-J7N2552D.js";
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.28.
|
|
9
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/extends.js
|
|
10
10
|
var require_extends = __commonJS({
|
|
11
|
-
"../../node_modules/.pnpm/@babel+runtime@7.28.
|
|
11
|
+
"../../node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
|
|
12
12
|
"use strict";
|
|
13
13
|
function _extends23() {
|
|
14
14
|
return module.exports = _extends23 = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -23,9 +23,9 @@ var require_extends = __commonJS({
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.28.
|
|
26
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
27
27
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
28
|
-
"../../node_modules/.pnpm/@babel+runtime@7.28.
|
|
28
|
+
"../../node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports, module) {
|
|
29
29
|
"use strict";
|
|
30
30
|
function _objectWithoutPropertiesLoose12(r, e) {
|
|
31
31
|
if (null == r) return {};
|
|
@@ -40,9 +40,9 @@ var require_objectWithoutPropertiesLoose = __commonJS({
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/@babel+runtime@7.28.
|
|
43
|
+
// ../../node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js
|
|
44
44
|
var require_objectDestructuringEmpty = __commonJS({
|
|
45
|
-
"../../node_modules/.pnpm/@babel+runtime@7.28.
|
|
45
|
+
"../../node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js"(exports, module) {
|
|
46
46
|
"use strict";
|
|
47
47
|
function _objectDestructuringEmpty2(t) {
|
|
48
48
|
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
@@ -54,16 +54,16 @@ var require_objectDestructuringEmpty = __commonJS({
|
|
|
54
54
|
// src/Json/Json.tsx
|
|
55
55
|
import { useState as useState3 } from "react";
|
|
56
56
|
|
|
57
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
57
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/index.js
|
|
58
58
|
var import_extends22 = __toESM(require_extends());
|
|
59
59
|
var import_objectWithoutPropertiesLoose11 = __toESM(require_objectWithoutPropertiesLoose());
|
|
60
60
|
import { forwardRef as forwardRef2 } from "react";
|
|
61
61
|
|
|
62
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
62
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store.js
|
|
63
63
|
var import_extends7 = __toESM(require_extends());
|
|
64
64
|
import React3, { createContext as createContext6, useContext as useContext6, useEffect, useReducer as useReducer6 } from "react";
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
66
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store/ShowTools.js
|
|
67
67
|
var import_extends = __toESM(require_extends());
|
|
68
68
|
import { createContext, useContext, useReducer } from "react";
|
|
69
69
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -98,7 +98,7 @@ var ShowTools = (_ref) => {
|
|
|
98
98
|
};
|
|
99
99
|
ShowTools.displayName = "JVR.ShowTools";
|
|
100
100
|
|
|
101
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
101
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store/Expands.js
|
|
102
102
|
var import_extends2 = __toESM(require_extends());
|
|
103
103
|
import { createContext as createContext2, useContext as useContext2, useReducer as useReducer2 } from "react";
|
|
104
104
|
import { jsx as _jsx2 } from "react/jsx-runtime";
|
|
@@ -133,7 +133,7 @@ var Expands = (_ref) => {
|
|
|
133
133
|
};
|
|
134
134
|
Expands.displayName = "JVR.Expands";
|
|
135
135
|
|
|
136
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
136
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store/Types.js
|
|
137
137
|
var import_extends3 = __toESM(require_extends());
|
|
138
138
|
import { createContext as createContext3, useContext as useContext3, useReducer as useReducer3 } from "react";
|
|
139
139
|
import { jsx as _jsx3 } from "react/jsx-runtime";
|
|
@@ -288,11 +288,11 @@ function Types(_ref) {
|
|
|
288
288
|
}
|
|
289
289
|
Types.displayName = "JVR.Types";
|
|
290
290
|
|
|
291
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
291
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store/Symbols.js
|
|
292
292
|
var import_extends5 = __toESM(require_extends());
|
|
293
293
|
import { createContext as createContext4, useContext as useContext4, useReducer as useReducer4 } from "react";
|
|
294
294
|
|
|
295
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
295
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.js
|
|
296
296
|
var import_extends4 = __toESM(require_extends());
|
|
297
297
|
var import_objectWithoutPropertiesLoose = __toESM(require_objectWithoutPropertiesLoose());
|
|
298
298
|
import React from "react";
|
|
@@ -321,7 +321,7 @@ function TriangleArrow(props) {
|
|
|
321
321
|
}
|
|
322
322
|
TriangleArrow.displayName = "JVR.TriangleArrow";
|
|
323
323
|
|
|
324
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
324
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store/Symbols.js
|
|
325
325
|
import { jsx as _jsx5 } from "react/jsx-runtime";
|
|
326
326
|
var initialState4 = {
|
|
327
327
|
Arrow: {
|
|
@@ -422,7 +422,7 @@ var Symbols = (_ref) => {
|
|
|
422
422
|
};
|
|
423
423
|
Symbols.displayName = "JVR.Symbols";
|
|
424
424
|
|
|
425
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
425
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store/Section.js
|
|
426
426
|
var import_extends6 = __toESM(require_extends());
|
|
427
427
|
import React2, { createContext as createContext5, useContext as useContext5, useReducer as useReducer5 } from "react";
|
|
428
428
|
import { jsx as _jsx6 } from "react/jsx-runtime";
|
|
@@ -502,7 +502,7 @@ var Section = (_ref) => {
|
|
|
502
502
|
};
|
|
503
503
|
Section.displayName = "JVR.Section";
|
|
504
504
|
|
|
505
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
505
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/store.js
|
|
506
506
|
import { jsx as _jsx7 } from "react/jsx-runtime";
|
|
507
507
|
var initialState6 = {
|
|
508
508
|
objectSortKeys: false,
|
|
@@ -562,15 +562,15 @@ var Provider = (_ref) => {
|
|
|
562
562
|
};
|
|
563
563
|
Provider.displayName = "JVR.Provider";
|
|
564
564
|
|
|
565
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
565
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/Container.js
|
|
566
566
|
var import_extends21 = __toESM(require_extends());
|
|
567
567
|
var import_objectWithoutPropertiesLoose10 = __toESM(require_objectWithoutPropertiesLoose());
|
|
568
568
|
import React4, { forwardRef } from "react";
|
|
569
569
|
|
|
570
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
570
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js
|
|
571
571
|
var import_extends9 = __toESM(require_extends());
|
|
572
572
|
|
|
573
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
573
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/index.js
|
|
574
574
|
var import_objectDestructuringEmpty = __toESM(require_objectDestructuringEmpty());
|
|
575
575
|
var import_extends8 = __toESM(require_extends());
|
|
576
576
|
var import_objectWithoutPropertiesLoose2 = __toESM(require_objectWithoutPropertiesLoose());
|
|
@@ -771,7 +771,7 @@ var BracketsClose = (props) => {
|
|
|
771
771
|
};
|
|
772
772
|
BracketsClose.displayName = "JVR.BracketsClose";
|
|
773
773
|
|
|
774
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
774
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js
|
|
775
775
|
import { jsx as _jsx9 } from "react/jsx-runtime";
|
|
776
776
|
var NestedClose = (props) => {
|
|
777
777
|
var _expands$expandKey;
|
|
@@ -826,17 +826,17 @@ var NestedClose = (props) => {
|
|
|
826
826
|
};
|
|
827
827
|
NestedClose.displayName = "JVR.NestedClose";
|
|
828
828
|
|
|
829
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
829
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js
|
|
830
830
|
var import_extends20 = __toESM(require_extends());
|
|
831
831
|
|
|
832
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
832
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js
|
|
833
833
|
var import_extends16 = __toESM(require_extends());
|
|
834
834
|
import { Fragment as Fragment2, useRef as useRef3 } from "react";
|
|
835
835
|
|
|
836
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
836
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/Value.js
|
|
837
837
|
var import_extends11 = __toESM(require_extends());
|
|
838
838
|
|
|
839
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
839
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/index.js
|
|
840
840
|
var import_extends10 = __toESM(require_extends());
|
|
841
841
|
var import_objectWithoutPropertiesLoose3 = __toESM(require_objectWithoutPropertiesLoose());
|
|
842
842
|
import { Fragment, useEffect as useEffect2, useState } from "react";
|
|
@@ -1423,7 +1423,7 @@ var TypeNan = (_ref11) => {
|
|
|
1423
1423
|
};
|
|
1424
1424
|
TypeNan.displayName = "JVR.TypeNan";
|
|
1425
1425
|
|
|
1426
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1426
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/Value.js
|
|
1427
1427
|
import { jsx as _jsx11 } from "react/jsx-runtime";
|
|
1428
1428
|
var isFloat = (n) => Number(n) === n && n % 1 !== 0 || isNaN(n);
|
|
1429
1429
|
var Value = (props) => {
|
|
@@ -1492,11 +1492,11 @@ var Value = (props) => {
|
|
|
1492
1492
|
};
|
|
1493
1493
|
Value.displayName = "JVR.Value";
|
|
1494
1494
|
|
|
1495
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1495
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/KeyName.js
|
|
1496
1496
|
var import_extends13 = __toESM(require_extends());
|
|
1497
1497
|
var import_objectWithoutPropertiesLoose4 = __toESM(require_objectWithoutPropertiesLoose());
|
|
1498
1498
|
|
|
1499
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1499
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/utils/useRender.js
|
|
1500
1500
|
var import_extends12 = __toESM(require_extends());
|
|
1501
1501
|
import { useEffect as useEffect3 } from "react";
|
|
1502
1502
|
function useSymbolsRender(currentProps, props, key) {
|
|
@@ -1536,7 +1536,7 @@ function useSectionRender(currentProps, props, key) {
|
|
|
1536
1536
|
}), [props]);
|
|
1537
1537
|
}
|
|
1538
1538
|
|
|
1539
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1539
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/KeyName.js
|
|
1540
1540
|
import { jsx as _jsx12 } from "react/jsx-runtime";
|
|
1541
1541
|
var _excluded12 = ["as", "render"];
|
|
1542
1542
|
var KeyName = (props) => {
|
|
@@ -1583,7 +1583,7 @@ var KeyNameComp = (props) => {
|
|
|
1583
1583
|
};
|
|
1584
1584
|
KeyNameComp.displayName = "JVR.KeyNameComp";
|
|
1585
1585
|
|
|
1586
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1586
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/Row.js
|
|
1587
1587
|
var import_extends14 = __toESM(require_extends());
|
|
1588
1588
|
var import_objectWithoutPropertiesLoose5 = __toESM(require_objectWithoutPropertiesLoose());
|
|
1589
1589
|
import { jsx as _jsx13 } from "react/jsx-runtime";
|
|
@@ -1628,7 +1628,7 @@ var RowComp = (props) => {
|
|
|
1628
1628
|
};
|
|
1629
1629
|
RowComp.displayName = "JVR.RowComp";
|
|
1630
1630
|
|
|
1631
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1631
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/utils/useHighlight.js
|
|
1632
1632
|
import { useMemo, useRef, useEffect as useEffect4 } from "react";
|
|
1633
1633
|
function usePrevious(value) {
|
|
1634
1634
|
var ref = useRef();
|
|
@@ -1677,12 +1677,12 @@ function useHighlight(_ref) {
|
|
|
1677
1677
|
}, [isHighlight, value, highlightContainer]);
|
|
1678
1678
|
}
|
|
1679
1679
|
|
|
1680
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1680
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/Copied.js
|
|
1681
1681
|
var import_extends15 = __toESM(require_extends());
|
|
1682
1682
|
var import_objectWithoutPropertiesLoose6 = __toESM(require_objectWithoutPropertiesLoose());
|
|
1683
1683
|
import { useState as useState2 } from "react";
|
|
1684
1684
|
import { jsx as _jsx14 } from "react/jsx-runtime";
|
|
1685
|
-
var _excluded14 = ["keyName", "value", "parentValue", "expandKey", "keys"];
|
|
1685
|
+
var _excluded14 = ["keyName", "value", "parentValue", "expandKey", "keys", "beforeCopy"];
|
|
1686
1686
|
var _excluded25 = ["as", "render"];
|
|
1687
1687
|
var Copied = (props) => {
|
|
1688
1688
|
var {
|
|
@@ -1690,11 +1690,13 @@ var Copied = (props) => {
|
|
|
1690
1690
|
value,
|
|
1691
1691
|
parentValue,
|
|
1692
1692
|
expandKey,
|
|
1693
|
-
keys
|
|
1693
|
+
keys,
|
|
1694
|
+
beforeCopy
|
|
1694
1695
|
} = props, other = (0, import_objectWithoutPropertiesLoose6.default)(props, _excluded14);
|
|
1695
1696
|
var {
|
|
1696
1697
|
onCopied,
|
|
1697
|
-
enableClipboard
|
|
1698
|
+
enableClipboard,
|
|
1699
|
+
beforeCopy: globalBeforeCopy
|
|
1698
1700
|
} = useStore();
|
|
1699
1701
|
var showTools = useShowToolsStore();
|
|
1700
1702
|
var isShowTools = showTools[expandKey];
|
|
@@ -1702,6 +1704,7 @@ var Copied = (props) => {
|
|
|
1702
1704
|
var {
|
|
1703
1705
|
Copied: Comp = {}
|
|
1704
1706
|
} = useSectionStore();
|
|
1707
|
+
var sectionBeforeCopy = Comp == null ? void 0 : Comp.beforeCopy;
|
|
1705
1708
|
if (enableClipboard === false || !isShowTools) return null;
|
|
1706
1709
|
var click = (event) => {
|
|
1707
1710
|
event.stopPropagation();
|
|
@@ -1717,6 +1720,10 @@ var Copied = (props) => {
|
|
|
1717
1720
|
} else {
|
|
1718
1721
|
copyText = JSON.stringify(value, (_, v) => typeof v === "bigint" ? bigIntToString(v) : v, 2);
|
|
1719
1722
|
}
|
|
1723
|
+
var finalBeforeCopy = beforeCopy || sectionBeforeCopy || globalBeforeCopy;
|
|
1724
|
+
if (finalBeforeCopy && typeof finalBeforeCopy === "function") {
|
|
1725
|
+
copyText = finalBeforeCopy(copyText, keyName, value, parentValue, expandKey, keys);
|
|
1726
|
+
}
|
|
1720
1727
|
onCopied && onCopied(copyText, value);
|
|
1721
1728
|
setCopied(true);
|
|
1722
1729
|
var _clipboard = navigator.clipboard || {
|
|
@@ -1788,7 +1795,7 @@ var Copied = (props) => {
|
|
|
1788
1795
|
};
|
|
1789
1796
|
Copied.displayName = "JVR.Copied";
|
|
1790
1797
|
|
|
1791
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1798
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.js
|
|
1792
1799
|
import { useRef as useRef2 } from "react";
|
|
1793
1800
|
function useIdCompat() {
|
|
1794
1801
|
var idRef = useRef2(null);
|
|
@@ -1798,7 +1805,7 @@ function useIdCompat() {
|
|
|
1798
1805
|
return idRef.current;
|
|
1799
1806
|
}
|
|
1800
1807
|
|
|
1801
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1808
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js
|
|
1802
1809
|
import { jsx as _jsx15, jsxs as _jsxs2 } from "react/jsx-runtime";
|
|
1803
1810
|
var KeyValues = (props) => {
|
|
1804
1811
|
var _expands$expandKey;
|
|
@@ -1968,7 +1975,7 @@ var KeyValuesItem = (props) => {
|
|
|
1968
1975
|
};
|
|
1969
1976
|
KeyValuesItem.displayName = "JVR.KeyValuesItem";
|
|
1970
1977
|
|
|
1971
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
1978
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.js
|
|
1972
1979
|
var import_extends17 = __toESM(require_extends());
|
|
1973
1980
|
var import_objectWithoutPropertiesLoose7 = __toESM(require_objectWithoutPropertiesLoose());
|
|
1974
1981
|
import { jsx as _jsx16 } from "react/jsx-runtime";
|
|
@@ -2007,7 +2014,7 @@ var CountInfoExtraComps = (props) => {
|
|
|
2007
2014
|
};
|
|
2008
2015
|
CountInfoExtraComps.displayName = "JVR.CountInfoExtraComps";
|
|
2009
2016
|
|
|
2010
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2017
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/CountInfo.js
|
|
2011
2018
|
var import_extends18 = __toESM(require_extends());
|
|
2012
2019
|
var import_objectWithoutPropertiesLoose8 = __toESM(require_objectWithoutPropertiesLoose());
|
|
2013
2020
|
import { jsx as _jsx17 } from "react/jsx-runtime";
|
|
@@ -2056,7 +2063,7 @@ var CountInfoComp = (props) => {
|
|
|
2056
2063
|
};
|
|
2057
2064
|
CountInfoComp.displayName = "JVR.CountInfoComp";
|
|
2058
2065
|
|
|
2059
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2066
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/Ellipsis.js
|
|
2060
2067
|
var import_extends19 = __toESM(require_extends());
|
|
2061
2068
|
var import_objectWithoutPropertiesLoose9 = __toESM(require_objectWithoutPropertiesLoose());
|
|
2062
2069
|
import { jsx as _jsx18 } from "react/jsx-runtime";
|
|
@@ -2095,7 +2102,7 @@ var EllipsisComp = (_ref) => {
|
|
|
2095
2102
|
};
|
|
2096
2103
|
EllipsisComp.displayName = "JVR.EllipsisComp";
|
|
2097
2104
|
|
|
2098
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2105
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js
|
|
2099
2106
|
import { jsx as _jsx19, jsxs as _jsxs3 } from "react/jsx-runtime";
|
|
2100
2107
|
var NestedOpen = (props) => {
|
|
2101
2108
|
var _expands$expandKey;
|
|
@@ -2200,7 +2207,7 @@ var NestedOpen = (props) => {
|
|
|
2200
2207
|
};
|
|
2201
2208
|
NestedOpen.displayName = "JVR.NestedOpen";
|
|
2202
2209
|
|
|
2203
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2210
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/Container.js
|
|
2204
2211
|
import { jsx as _jsx20, jsxs as _jsxs4 } from "react/jsx-runtime";
|
|
2205
2212
|
var _excluded18 = ["className", "children", "parentValue", "keyid", "level", "value", "initialValue", "keys", "keyName"];
|
|
2206
2213
|
var Container = /* @__PURE__ */ forwardRef((props, ref) => {
|
|
@@ -2255,7 +2262,7 @@ var Container = /* @__PURE__ */ forwardRef((props, ref) => {
|
|
|
2255
2262
|
});
|
|
2256
2263
|
Container.displayName = "JVR.Container";
|
|
2257
2264
|
|
|
2258
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2265
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.js
|
|
2259
2266
|
var BraceLeft = (props) => {
|
|
2260
2267
|
var {
|
|
2261
2268
|
BraceLeft: Comp = {}
|
|
@@ -2265,7 +2272,7 @@ var BraceLeft = (props) => {
|
|
|
2265
2272
|
};
|
|
2266
2273
|
BraceLeft.displayName = "JVR.BraceLeft";
|
|
2267
2274
|
|
|
2268
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2275
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.js
|
|
2269
2276
|
var BraceRight = (props) => {
|
|
2270
2277
|
var {
|
|
2271
2278
|
BraceRight: Comp = {}
|
|
@@ -2275,7 +2282,7 @@ var BraceRight = (props) => {
|
|
|
2275
2282
|
};
|
|
2276
2283
|
BraceRight.displayName = "JVR.BraceRight";
|
|
2277
2284
|
|
|
2278
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2285
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.js
|
|
2279
2286
|
var BracketsLeft = (props) => {
|
|
2280
2287
|
var {
|
|
2281
2288
|
BracketsLeft: Comp = {}
|
|
@@ -2285,7 +2292,7 @@ var BracketsLeft = (props) => {
|
|
|
2285
2292
|
};
|
|
2286
2293
|
BracketsLeft.displayName = "JVR.BracketsLeft";
|
|
2287
2294
|
|
|
2288
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2295
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.js
|
|
2289
2296
|
var BracketsRight = (props) => {
|
|
2290
2297
|
var {
|
|
2291
2298
|
BracketsRight: Comp = {}
|
|
@@ -2295,7 +2302,7 @@ var BracketsRight = (props) => {
|
|
|
2295
2302
|
};
|
|
2296
2303
|
BracketsRight.displayName = "JVR.BracketsRight";
|
|
2297
2304
|
|
|
2298
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2305
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/Arrow.js
|
|
2299
2306
|
var Arrow2 = (props) => {
|
|
2300
2307
|
var {
|
|
2301
2308
|
Arrow: Comp = {}
|
|
@@ -2305,7 +2312,7 @@ var Arrow2 = (props) => {
|
|
|
2305
2312
|
};
|
|
2306
2313
|
Arrow2.displayName = "JVR.Arrow";
|
|
2307
2314
|
|
|
2308
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2315
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/Colon.js
|
|
2309
2316
|
var Colon2 = (props) => {
|
|
2310
2317
|
var {
|
|
2311
2318
|
Colon: Comp = {}
|
|
@@ -2315,7 +2322,7 @@ var Colon2 = (props) => {
|
|
|
2315
2322
|
};
|
|
2316
2323
|
Colon2.displayName = "JVR.Colon";
|
|
2317
2324
|
|
|
2318
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2325
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/Quote.js
|
|
2319
2326
|
var Quote2 = (props) => {
|
|
2320
2327
|
var {
|
|
2321
2328
|
Quote: Comp = {}
|
|
@@ -2325,7 +2332,7 @@ var Quote2 = (props) => {
|
|
|
2325
2332
|
};
|
|
2326
2333
|
Quote2.displayName = "JVR.Quote";
|
|
2327
2334
|
|
|
2328
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2335
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.js
|
|
2329
2336
|
var ValueQuote2 = (props) => {
|
|
2330
2337
|
var {
|
|
2331
2338
|
ValueQuote: Comp = {}
|
|
@@ -2335,7 +2342,7 @@ var ValueQuote2 = (props) => {
|
|
|
2335
2342
|
};
|
|
2336
2343
|
ValueQuote2.displayName = "JVR.ValueQuote";
|
|
2337
2344
|
|
|
2338
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2345
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Bigint.js
|
|
2339
2346
|
var Bigint = (props) => {
|
|
2340
2347
|
var {
|
|
2341
2348
|
Bigint: Comp = {}
|
|
@@ -2345,7 +2352,7 @@ var Bigint = (props) => {
|
|
|
2345
2352
|
};
|
|
2346
2353
|
Bigint.displayName = "JVR.Bigint";
|
|
2347
2354
|
|
|
2348
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2355
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Date.js
|
|
2349
2356
|
var Date2 = (props) => {
|
|
2350
2357
|
var {
|
|
2351
2358
|
Date: Comp = {}
|
|
@@ -2355,7 +2362,7 @@ var Date2 = (props) => {
|
|
|
2355
2362
|
};
|
|
2356
2363
|
Date2.displayName = "JVR.Date";
|
|
2357
2364
|
|
|
2358
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2365
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/False.js
|
|
2359
2366
|
var False = (props) => {
|
|
2360
2367
|
var {
|
|
2361
2368
|
False: Comp = {}
|
|
@@ -2365,7 +2372,7 @@ var False = (props) => {
|
|
|
2365
2372
|
};
|
|
2366
2373
|
False.displayName = "JVR.False";
|
|
2367
2374
|
|
|
2368
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2375
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Float.js
|
|
2369
2376
|
var Float = (props) => {
|
|
2370
2377
|
var {
|
|
2371
2378
|
Float: Comp = {}
|
|
@@ -2375,7 +2382,7 @@ var Float = (props) => {
|
|
|
2375
2382
|
};
|
|
2376
2383
|
Float.displayName = "JVR.Float";
|
|
2377
2384
|
|
|
2378
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2385
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Int.js
|
|
2379
2386
|
var Int = (props) => {
|
|
2380
2387
|
var {
|
|
2381
2388
|
Int: Comp = {}
|
|
@@ -2385,7 +2392,7 @@ var Int = (props) => {
|
|
|
2385
2392
|
};
|
|
2386
2393
|
Int.displayName = "JVR.Int";
|
|
2387
2394
|
|
|
2388
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2395
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Map.js
|
|
2389
2396
|
var Map2 = (props) => {
|
|
2390
2397
|
var {
|
|
2391
2398
|
Map: Comp = {}
|
|
@@ -2395,7 +2402,7 @@ var Map2 = (props) => {
|
|
|
2395
2402
|
};
|
|
2396
2403
|
Map2.displayName = "JVR.Map";
|
|
2397
2404
|
|
|
2398
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2405
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Nan.js
|
|
2399
2406
|
var Nan = (props) => {
|
|
2400
2407
|
var {
|
|
2401
2408
|
Nan: Comp = {}
|
|
@@ -2405,7 +2412,7 @@ var Nan = (props) => {
|
|
|
2405
2412
|
};
|
|
2406
2413
|
Nan.displayName = "JVR.Nan";
|
|
2407
2414
|
|
|
2408
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2415
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Null.js
|
|
2409
2416
|
var Null = (props) => {
|
|
2410
2417
|
var {
|
|
2411
2418
|
Null: Comp = {}
|
|
@@ -2415,7 +2422,7 @@ var Null = (props) => {
|
|
|
2415
2422
|
};
|
|
2416
2423
|
Null.displayName = "JVR.Null";
|
|
2417
2424
|
|
|
2418
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2425
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Set.js
|
|
2419
2426
|
var Set2 = (props) => {
|
|
2420
2427
|
var {
|
|
2421
2428
|
Set: Comp = {}
|
|
@@ -2425,7 +2432,7 @@ var Set2 = (props) => {
|
|
|
2425
2432
|
};
|
|
2426
2433
|
Set2.displayName = "JVR.Set";
|
|
2427
2434
|
|
|
2428
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2435
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/String.js
|
|
2429
2436
|
var StringText = (props) => {
|
|
2430
2437
|
var {
|
|
2431
2438
|
Str: Comp = {}
|
|
@@ -2435,7 +2442,7 @@ var StringText = (props) => {
|
|
|
2435
2442
|
};
|
|
2436
2443
|
StringText.displayName = "JVR.StringText";
|
|
2437
2444
|
|
|
2438
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2445
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/True.js
|
|
2439
2446
|
var True = (props) => {
|
|
2440
2447
|
var {
|
|
2441
2448
|
True: Comp = {}
|
|
@@ -2445,7 +2452,7 @@ var True = (props) => {
|
|
|
2445
2452
|
};
|
|
2446
2453
|
True.displayName = "JVR.True";
|
|
2447
2454
|
|
|
2448
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2455
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Undefined.js
|
|
2449
2456
|
var Undefined = (props) => {
|
|
2450
2457
|
var {
|
|
2451
2458
|
Undefined: Comp = {}
|
|
@@ -2455,7 +2462,7 @@ var Undefined = (props) => {
|
|
|
2455
2462
|
};
|
|
2456
2463
|
Undefined.displayName = "JVR.Undefined";
|
|
2457
2464
|
|
|
2458
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2465
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/types/Url.js
|
|
2459
2466
|
var Url = (props) => {
|
|
2460
2467
|
var {
|
|
2461
2468
|
Url: Comp = {}
|
|
@@ -2465,7 +2472,7 @@ var Url = (props) => {
|
|
|
2465
2472
|
};
|
|
2466
2473
|
Url.displayName = "JVR.Url";
|
|
2467
2474
|
|
|
2468
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2475
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/section/Copied.js
|
|
2469
2476
|
var Copied2 = (props) => {
|
|
2470
2477
|
var {
|
|
2471
2478
|
Copied: Comp = {}
|
|
@@ -2475,9 +2482,9 @@ var Copied2 = (props) => {
|
|
|
2475
2482
|
};
|
|
2476
2483
|
Copied2.displayName = "JVR.Copied";
|
|
2477
2484
|
|
|
2478
|
-
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.
|
|
2485
|
+
// ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.37_@babel+runtime@7.28.4_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@uiw/react-json-view/esm/index.js
|
|
2479
2486
|
import { jsx as _jsx21, jsxs as _jsxs5 } from "react/jsx-runtime";
|
|
2480
|
-
var _excluded19 = ["className", "style", "value", "children", "collapsed", "shouldExpandNodeInitially", "indentWidth", "displayObjectSize", "shortenTextAfterLength", "stringEllipsis", "highlightUpdates", "enableClipboard", "displayDataTypes", "objectSortKeys", "onExpand", "onCopied"];
|
|
2487
|
+
var _excluded19 = ["className", "style", "value", "children", "collapsed", "shouldExpandNodeInitially", "indentWidth", "displayObjectSize", "shortenTextAfterLength", "stringEllipsis", "highlightUpdates", "enableClipboard", "displayDataTypes", "objectSortKeys", "onExpand", "onCopied", "beforeCopy"];
|
|
2481
2488
|
var JsonView = /* @__PURE__ */ forwardRef2((props, ref) => {
|
|
2482
2489
|
var {
|
|
2483
2490
|
className = "",
|
|
@@ -2495,7 +2502,8 @@ var JsonView = /* @__PURE__ */ forwardRef2((props, ref) => {
|
|
|
2495
2502
|
displayDataTypes = true,
|
|
2496
2503
|
objectSortKeys = false,
|
|
2497
2504
|
onExpand,
|
|
2498
|
-
onCopied
|
|
2505
|
+
onCopied,
|
|
2506
|
+
beforeCopy
|
|
2499
2507
|
} = props, elmProps = (0, import_objectWithoutPropertiesLoose11.default)(props, _excluded19);
|
|
2500
2508
|
var defaultStyle = (0, import_extends22.default)({
|
|
2501
2509
|
lineHeight: 1.4,
|
|
@@ -2518,7 +2526,8 @@ var JsonView = /* @__PURE__ */ forwardRef2((props, ref) => {
|
|
|
2518
2526
|
stringEllipsis,
|
|
2519
2527
|
highlightUpdates,
|
|
2520
2528
|
onCopied,
|
|
2521
|
-
onExpand
|
|
2529
|
+
onExpand,
|
|
2530
|
+
beforeCopy
|
|
2522
2531
|
},
|
|
2523
2532
|
initialTypes: {
|
|
2524
2533
|
displayDataTypes
|
|
@@ -2604,7 +2613,7 @@ var CopiedRenderer = () => {
|
|
|
2604
2613
|
const isCopied = props["data-copied"];
|
|
2605
2614
|
const elmClasses = cn(
|
|
2606
2615
|
className,
|
|
2607
|
-
"absolute -
|
|
2616
|
+
"absolute -top-[2px] -right-4 h-4 w-4 fill-transparent! pl-1",
|
|
2608
2617
|
{ "text-success": isCopied }
|
|
2609
2618
|
);
|
|
2610
2619
|
const handleKeyDown = (e) => {
|
|
@@ -2644,7 +2653,7 @@ var ErrorRenderer = ({
|
|
|
2644
2653
|
return /* @__PURE__ */ jsxs(
|
|
2645
2654
|
"div",
|
|
2646
2655
|
{
|
|
2647
|
-
className: "mb-4 flex flex-col items-center rounded-lg border
|
|
2656
|
+
className: "border-danger bg-danger-50 text-danger mb-4 flex flex-col items-center rounded-lg border p-4 text-sm",
|
|
2648
2657
|
role: "alert",
|
|
2649
2658
|
"aria-live": "polite",
|
|
2650
2659
|
children: [
|
|
@@ -2694,7 +2703,7 @@ var NullRenderer = () => {
|
|
|
2694
2703
|
return /* @__PURE__ */ jsx3(
|
|
2695
2704
|
esm_default.Null,
|
|
2696
2705
|
{
|
|
2697
|
-
render: () => /* @__PURE__ */ jsx3("span", { className: "
|
|
2706
|
+
render: () => /* @__PURE__ */ jsx3("span", { className: "bg-warning-100 text-warning-700 rounded px-1 text-xs", children: "null" })
|
|
2698
2707
|
}
|
|
2699
2708
|
);
|
|
2700
2709
|
};
|
|
@@ -2773,4 +2782,4 @@ export {
|
|
|
2773
2782
|
Json_default,
|
|
2774
2783
|
Json_default2
|
|
2775
2784
|
};
|
|
2776
|
-
//# sourceMappingURL=chunk-
|
|
2785
|
+
//# sourceMappingURL=chunk-BTQB4EZC.js.map
|