@cartanova/qgrid-cli 2.11.1 → 2.13.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/README.ko.md +1 -1
- package/README.md +1 -1
- package/bundle/dist/_virtual/{_@oxc-project_runtime@0.140.0 → _@oxc-project_runtime@0.154.0}/helpers/esm/decorate.js +1 -1
- package/bundle/dist/_virtual/{_@oxc-project_runtime@0.140.0 → _@oxc-project_runtime@0.154.0}/helpers/esm/decorateMetadata.js +1 -1
- package/bundle/dist/_virtual/_rolldown/runtime.js +2 -2
- package/bundle/dist/application/monit/monit.frame.js +2 -2
- package/bundle/dist/application/qgrid/qgrid-response-format.js +9 -1
- package/bundle/dist/application/qgrid/qgrid-run-lifecycle.js +30 -6
- package/bundle/dist/application/qgrid/qgrid.dispatcher.js +7 -4
- package/bundle/dist/application/qgrid/qgrid.frame.js +30 -9
- package/bundle/dist/application/qgrid/qgrid.types.js +8 -8
- package/bundle/dist/application/qgrid/token-death.js +3 -2
- package/bundle/dist/application/qgrid/token-subscriber.js +2 -2
- package/bundle/dist/application/qgrid/token-window-keepalive.js +2 -2
- package/bundle/dist/application/qgrid/tool-emulation-schema.js +5 -3
- package/bundle/dist/application/qgrid/tool-emulation.js +2 -2
- package/bundle/dist/application/request-log/request-log.model.js +13 -7
- package/bundle/dist/application/request-log-step/request-log-step.model.js +11 -7
- package/bundle/dist/application/setting/setting.model.js +11 -7
- package/bundle/dist/application/token/token.model.js +15 -11
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js +7 -5
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js +15 -11
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js +1 -1
- package/bundle/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +1 -1
- package/bundle/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +1 -1
- package/bundle/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js +18 -12
- package/bundle/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js +1 -1
- package/bundle/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js +16 -13
- package/bundle/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +1 -1
- package/bundle/dist/sonamu.config.js +11 -11
- package/bundle/dist/startup-migrations.js +1 -1
- package/bundle/dist/utils/providers/anthropic/anthropic-dispatcher.js +9 -3
- package/bundle/dist/utils/providers/anthropic/anthropic-thinking.js +5 -2
- package/bundle/dist/utils/providers/anthropic/claude-session.js +10 -2
- package/bundle/dist/utils/providers/anthropic/stream-json-adapter.js +9 -7
- package/bundle/dist/utils/providers/common/model-cost.js +7 -5
- package/bundle/dist/utils/providers/common/schema-validation.js +3 -3
- package/bundle/dist/utils/providers/grok/grok-backend-protocol.js +1 -1
- package/bundle/dist/utils/providers/grok/grok-constants.js +1 -1
- package/bundle/dist/utils/providers/grok/grok-dispatcher.js +47 -14
- package/bundle/dist/utils/providers/grok/grok-media-client.js +4 -4
- package/bundle/dist/utils/providers/grok/grok-oauth.js +2 -2
- package/bundle/dist/utils/providers/grok/grok-types.js +2 -2
- package/bundle/dist/utils/providers/openai/openai-dispatcher.js +16 -8
- package/bundle/dist/utils/providers/openai/openai-image-generation.js +4 -4
- package/bundle/src/application/qgrid/qgrid-response-format.ts +9 -0
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.test.ts +63 -0
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.ts +49 -7
- package/bundle/src/application/qgrid/qgrid.dispatcher.ts +6 -0
- package/bundle/src/application/qgrid/qgrid.frame.test.ts +12 -4
- package/bundle/src/application/qgrid/qgrid.frame.ts +39 -3
- package/bundle/src/application/qgrid/qgrid.types.ts +5 -5
- package/bundle/src/application/request-log/request-log.model.ts +12 -1
- package/bundle/src/sonamu.config.ts +14 -14
- package/bundle/src/utils/providers/anthropic/anthropic-dispatcher.ts +2 -0
- package/bundle/src/utils/providers/anthropic/claude-session.ts +15 -1
- package/bundle/src/utils/providers/common/model-cost.ts +8 -6
- package/bundle/src/utils/providers/common/provider-dispatcher.ts +10 -0
- package/bundle/src/utils/providers/grok/grok-backend-protocol.ts +6 -1
- package/bundle/src/utils/providers/grok/grok-constants.ts +7 -8
- package/bundle/src/utils/providers/grok/grok-dispatcher.test.ts +74 -3
- package/bundle/src/utils/providers/grok/grok-dispatcher.ts +66 -18
- package/bundle/src/utils/providers/grok/grok-quota.test.ts +18 -0
- package/bundle/src/utils/providers/grok/grok-types.ts +2 -1
- package/bundle/src/utils/providers/openai/openai-dispatcher.test.ts +18 -0
- package/bundle/src/utils/providers/openai/openai-dispatcher.ts +10 -2
- package/bundle/web-dist/client/assets/clsx-DB0hHKMi.js +1 -0
- package/bundle/web-dist/client/assets/cost-CZzlCFS2.js +1 -0
- package/bundle/web-dist/client/assets/index-DLo1QCw7.css +1 -0
- package/bundle/web-dist/client/assets/index-DplV-wqZ.js +104 -0
- package/bundle/web-dist/client/assets/logs-st46aRba.js +1 -0
- package/bundle/web-dist/client/assets/monit-BMXR2tY2.js +1 -0
- package/bundle/web-dist/client/assets/plus-Bab0ACnC.js +1 -0
- package/bundle/web-dist/client/assets/refresh-cw-BtYoFHVw.js +1 -0
- package/bundle/web-dist/client/assets/request-model-Dl31cZdf.js +1 -0
- package/bundle/web-dist/client/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/bundle/web-dist/client/assets/routes-BWPjgvhg.js +5 -0
- package/bundle/web-dist/client/assets/settings-DTXZjDAw.js +1 -0
- package/bundle/web-dist/client/assets/show-CdWNFPyS.js +2 -0
- package/bundle/web-dist/client/assets/tokens-eA34Gw5f.js +1 -0
- package/bundle/web-dist/client/assets/use-oauth-login-flow-CcUdLsa7.js +1 -0
- package/bundle/web-dist/client/assets/use-update-token-mutation-D2r5K5Bz.js +1 -0
- package/bundle/web-dist/client/assets/vendor-react-8xo7RSum.js +9 -0
- package/bundle/web-dist/client/assets/vendor-tanstack-6B86itGS.js +2 -0
- package/bundle/web-dist/client/index.html +5 -7
- package/bundle/web-dist/server/assets/{logs-B7QmGJq3.js → logs-C0md5rmp.js} +67 -37
- package/bundle/web-dist/server/assets/monit-YVvwJuAF.js +479 -0
- package/bundle/web-dist/server/assets/plus-z5Hy__3C.js +26 -0
- package/bundle/web-dist/server/assets/refresh-cw-CNm0CERy.js +30 -0
- package/bundle/web-dist/server/assets/request-model-DIuPZZwu.js +38 -0
- package/bundle/web-dist/server/assets/{routes-_Y-PJfgO.js → routes-CjWxvHAO.js} +1745 -1120
- package/bundle/web-dist/server/assets/{services.generated-CMJ8AHbO.js → services.generated-CqS8DCjT.js} +11973 -6081
- package/bundle/web-dist/server/assets/{settings-JwJKxn2e.js → settings-CXwnKiMG.js} +40 -19
- package/bundle/web-dist/server/assets/{show-BEv6z1v_.js → show-G1t8dOEh.js} +274 -213
- package/bundle/web-dist/server/assets/{tokens-CNT4mI-f.js → tokens-C4D67FBX.js} +41 -18
- package/bundle/web-dist/server/assets/{use-oauth-login-flow-jkAkT3X6.js → use-oauth-login-flow-CFzShQtp.js} +1569 -38
- package/bundle/web-dist/server/assets/{use-update-token-mutation-Sm6kh02m.js → use-update-token-mutation-oH0O0n-g.js} +1 -1
- package/bundle/web-dist/server/entry-server.generated.js +11641 -5075
- package/dist/cli.js +20 -11
- package/package.json +24 -24
- package/skills/qgrid/references/ai-sdk-provider-contract.md +5 -5
- package/skills/qgrid/references/cli-env-and-server-boot.md +4 -3
- package/skills/qgrid/references/decision-rationale.md +5 -1
- package/skills/qgrid/references/grok-runtime.md +7 -1
- package/skills/qgrid/references/repo-map.md +2 -0
- package/skills/qgrid/references/request-log-run-lifecycle.md +6 -1
- package/skills/qgrid/references/tool-calling-and-multiturn.md +2 -2
- package/skills/qgrid/references/verification-and-debugging.md +24 -5
- package/bundle/web-dist/client/assets/clsx-5XM_pHvN.js +0 -1
- package/bundle/web-dist/client/assets/cost-DB3HbU7T.js +0 -1
- package/bundle/web-dist/client/assets/index-Be2qCZmI.css +0 -1
- package/bundle/web-dist/client/assets/index-C96h3feE.js +0 -32
- package/bundle/web-dist/client/assets/logs-DBM6U0QD.js +0 -1
- package/bundle/web-dist/client/assets/monit-BBjXa7vB.js +0 -1
- package/bundle/web-dist/client/assets/plus-BsQdY7PS.js +0 -1
- package/bundle/web-dist/client/assets/preload-helper-DWTEM3RW.js +0 -1
- package/bundle/web-dist/client/assets/refresh-cw-D9IUmT23.js +0 -1
- package/bundle/web-dist/client/assets/request-model-Bpp_rkK8.js +0 -1
- package/bundle/web-dist/client/assets/rolldown-runtime-Dw2cE7zH.js +0 -1
- package/bundle/web-dist/client/assets/routes-Crz_PQzi.js +0 -5
- package/bundle/web-dist/client/assets/services.generated-B5lc3aIC.js +0 -51
- package/bundle/web-dist/client/assets/settings-Cdwm3OBB.js +0 -1
- package/bundle/web-dist/client/assets/show-DBUhALT1.js +0 -2
- package/bundle/web-dist/client/assets/tokens-CVQAVJTo.js +0 -1
- package/bundle/web-dist/client/assets/total-cost-MnfKU8IN.js +0 -1
- package/bundle/web-dist/client/assets/use-oauth-login-flow-BfxYI4Oh.js +0 -1
- package/bundle/web-dist/client/assets/use-update-token-mutation-qKBC2sn7.js +0 -1
- package/bundle/web-dist/client/assets/vendor-react-DH4kUfK2.js +0 -9
- package/bundle/web-dist/client/assets/vendor-tanstack-DRPs09ai.js +0 -1
- package/bundle/web-dist/server/assets/lazyRouteComponent-AKiHfZWp.js +0 -1983
- package/bundle/web-dist/server/assets/monit-DFt7x3bh.js +0 -1652
- package/bundle/web-dist/server/assets/plus-DaYQRpBt.js +0 -19
- package/bundle/web-dist/server/assets/react-dom-Cv23mm1K.js +0 -335
- package/bundle/web-dist/server/assets/refresh-cw-BpXNsAy-.js +0 -23
- package/bundle/web-dist/server/assets/request-model-eHE6YbaF.js +0 -31
- package/bundle/web-dist/server/assets/total-cost-fTE9Xy82.js +0 -18
- /package/bundle/web-dist/server/assets/{clsx-D_N5PN_2.js → clsx-DgIEfj3H.js} +0 -0
- /package/bundle/web-dist/server/assets/{cost-BC9yzyA9.js → cost-oNK0T4Jo.js} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as Link } from "
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
import { n as lucideZap, t as requestModelDisplay } from "./request-model-eHE6YbaF.js";
|
|
1
|
+
import { C as number, E as union, J as require_react, Q as __toESM, S as looseObject, T as string, Y as __commonJSMin, b as json, h as array, i as RequestLogStepService, k as useQuery, l as isSonamuError, q as require_jsx_runtime, r as RequestLogService, w as object } from "./services.generated-CqS8DCjT.js";
|
|
2
|
+
import { a as ForwardRef$4, c as Markdown, d as Link, s as remarkGfm, t as Route } from "../entry-server.generated.js";
|
|
3
|
+
import { n as formatMicroUsd, t as cacheHitRate } from "./cost-oNK0T4Jo.js";
|
|
4
|
+
import { n as ForwardRef$5, t as requestModelDisplay } from "./request-model-DIuPZZwu.js";
|
|
6
5
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.js
|
|
7
6
|
var require_extends = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8
7
|
function _extends() {
|
|
@@ -17,7 +16,7 @@ var require_extends = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17
16
|
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
18
17
|
}));
|
|
19
18
|
//#endregion
|
|
20
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
19
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/store/ShowTools.js
|
|
21
20
|
var import_objectWithoutPropertiesLoose = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
22
21
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
23
22
|
if (null == r) return {};
|
|
@@ -34,12 +33,12 @@ var import_extends = /* @__PURE__ */ __toESM(require_extends());
|
|
|
34
33
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
35
34
|
var import_jsx_runtime = require_jsx_runtime();
|
|
36
35
|
var initialState$5 = {};
|
|
37
|
-
var Context$5 =
|
|
36
|
+
var Context$5 = /*#__PURE__*/ (0, import_react.createContext)(initialState$5);
|
|
38
37
|
var reducer$5 = (state, action) => (0, import_extends.default)({}, state, action);
|
|
39
38
|
var useShowToolsStore = () => {
|
|
40
39
|
return (0, import_react.useContext)(Context$5);
|
|
41
40
|
};
|
|
42
|
-
var DispatchShowTools =
|
|
41
|
+
var DispatchShowTools = /*#__PURE__*/ (0, import_react.createContext)(() => {});
|
|
43
42
|
DispatchShowTools.displayName = "JVR.DispatchShowTools";
|
|
44
43
|
function useShowTools() {
|
|
45
44
|
return (0, import_react.useReducer)(reducer$5, initialState$5);
|
|
@@ -49,9 +48,9 @@ function useShowToolsDispatch() {
|
|
|
49
48
|
}
|
|
50
49
|
var ShowTools = (_ref) => {
|
|
51
50
|
var { initial, dispatch, children } = _ref;
|
|
52
|
-
return
|
|
51
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Context$5.Provider, {
|
|
53
52
|
value: initial,
|
|
54
|
-
children:
|
|
53
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(DispatchShowTools.Provider, {
|
|
55
54
|
value: dispatch,
|
|
56
55
|
children
|
|
57
56
|
})
|
|
@@ -59,14 +58,14 @@ var ShowTools = (_ref) => {
|
|
|
59
58
|
};
|
|
60
59
|
ShowTools.displayName = "JVR.ShowTools";
|
|
61
60
|
//#endregion
|
|
62
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
61
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/store/Expands.js
|
|
63
62
|
var initialState$4 = {};
|
|
64
|
-
var Context$4 =
|
|
63
|
+
var Context$4 = /*#__PURE__*/ (0, import_react.createContext)(initialState$4);
|
|
65
64
|
var reducer$4 = (state, action) => (0, import_extends.default)({}, state, action);
|
|
66
65
|
var useExpandsStore = () => {
|
|
67
66
|
return (0, import_react.useContext)(Context$4);
|
|
68
67
|
};
|
|
69
|
-
var DispatchExpands =
|
|
68
|
+
var DispatchExpands = /*#__PURE__*/ (0, import_react.createContext)(() => {});
|
|
70
69
|
DispatchExpands.displayName = "JVR.DispatchExpands";
|
|
71
70
|
function useExpands() {
|
|
72
71
|
return (0, import_react.useReducer)(reducer$4, initialState$4);
|
|
@@ -76,9 +75,9 @@ function useExpandsDispatch() {
|
|
|
76
75
|
}
|
|
77
76
|
var Expands = (_ref) => {
|
|
78
77
|
var { initial, dispatch, children } = _ref;
|
|
79
|
-
return
|
|
78
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Context$4.Provider, {
|
|
80
79
|
value: initial,
|
|
81
|
-
children:
|
|
80
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(DispatchExpands.Provider, {
|
|
82
81
|
value: dispatch,
|
|
83
82
|
children
|
|
84
83
|
})
|
|
@@ -86,7 +85,7 @@ var Expands = (_ref) => {
|
|
|
86
85
|
};
|
|
87
86
|
Expands.displayName = "JVR.Expands";
|
|
88
87
|
//#endregion
|
|
89
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
88
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/store/Types.js
|
|
90
89
|
var initialState$3 = {
|
|
91
90
|
Str: {
|
|
92
91
|
as: "span",
|
|
@@ -186,12 +185,12 @@ var initialState$3 = {
|
|
|
186
185
|
children: "date"
|
|
187
186
|
}
|
|
188
187
|
};
|
|
189
|
-
var Context$3 =
|
|
188
|
+
var Context$3 = /*#__PURE__*/ (0, import_react.createContext)(initialState$3);
|
|
190
189
|
var reducer$3 = (state, action) => (0, import_extends.default)({}, state, action);
|
|
191
190
|
var useTypesStore = () => {
|
|
192
191
|
return (0, import_react.useContext)(Context$3);
|
|
193
192
|
};
|
|
194
|
-
var DispatchTypes =
|
|
193
|
+
var DispatchTypes = /*#__PURE__*/ (0, import_react.createContext)(() => {});
|
|
195
194
|
DispatchTypes.displayName = "JVR.DispatchTypes";
|
|
196
195
|
function useTypes() {
|
|
197
196
|
return (0, import_react.useReducer)(reducer$3, initialState$3);
|
|
@@ -201,9 +200,9 @@ function useTypesDispatch() {
|
|
|
201
200
|
}
|
|
202
201
|
function Types(_ref) {
|
|
203
202
|
var { initial, dispatch, children } = _ref;
|
|
204
|
-
return
|
|
203
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Context$3.Provider, {
|
|
205
204
|
value: initial,
|
|
206
|
-
children:
|
|
205
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(DispatchTypes.Provider, {
|
|
207
206
|
value: dispatch,
|
|
208
207
|
children
|
|
209
208
|
})
|
|
@@ -211,25 +210,26 @@ function Types(_ref) {
|
|
|
211
210
|
}
|
|
212
211
|
Types.displayName = "JVR.Types";
|
|
213
212
|
//#endregion
|
|
214
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
213
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.js
|
|
215
214
|
var _excluded$10 = ["style"];
|
|
216
215
|
function TriangleArrow(props) {
|
|
217
216
|
var { style } = props, reset = (0, import_objectWithoutPropertiesLoose.default)(props, _excluded$10);
|
|
218
|
-
|
|
217
|
+
var defaultStyle = (0, import_extends.default)({
|
|
218
|
+
cursor: "pointer",
|
|
219
|
+
height: "1em",
|
|
220
|
+
width: "1em",
|
|
221
|
+
userSelect: "none",
|
|
222
|
+
display: "inline-flex"
|
|
223
|
+
}, style);
|
|
224
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)("svg", (0, import_extends.default)({
|
|
219
225
|
viewBox: "0 0 24 24",
|
|
220
226
|
fill: "var(--w-rjv-arrow-color, currentColor)",
|
|
221
|
-
style:
|
|
222
|
-
|
|
223
|
-
height: "1em",
|
|
224
|
-
width: "1em",
|
|
225
|
-
userSelect: "none",
|
|
226
|
-
display: "inline-flex"
|
|
227
|
-
}, style)
|
|
228
|
-
}, reset, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z" }) }));
|
|
227
|
+
style: defaultStyle
|
|
228
|
+
}, reset, { children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z" }) }));
|
|
229
229
|
}
|
|
230
230
|
TriangleArrow.displayName = "JVR.TriangleArrow";
|
|
231
231
|
//#endregion
|
|
232
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
232
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/store/Symbols.js
|
|
233
233
|
var initialState$2 = {
|
|
234
234
|
Arrow: {
|
|
235
235
|
as: "span",
|
|
@@ -238,7 +238,7 @@ var initialState$2 = {
|
|
|
238
238
|
transform: "rotate(0deg)",
|
|
239
239
|
transition: "all 0.3s"
|
|
240
240
|
},
|
|
241
|
-
children:
|
|
241
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TriangleArrow, {})
|
|
242
242
|
},
|
|
243
243
|
Colon: {
|
|
244
244
|
as: "span",
|
|
@@ -287,12 +287,12 @@ var initialState$2 = {
|
|
|
287
287
|
children: "}"
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
-
var Context$2 =
|
|
290
|
+
var Context$2 = /*#__PURE__*/ (0, import_react.createContext)(initialState$2);
|
|
291
291
|
var reducer$2 = (state, action) => (0, import_extends.default)({}, state, action);
|
|
292
292
|
var useSymbolsStore = () => {
|
|
293
293
|
return (0, import_react.useContext)(Context$2);
|
|
294
294
|
};
|
|
295
|
-
var DispatchSymbols =
|
|
295
|
+
var DispatchSymbols = /*#__PURE__*/ (0, import_react.createContext)(() => {});
|
|
296
296
|
DispatchSymbols.displayName = "JVR.DispatchSymbols";
|
|
297
297
|
function useSymbols() {
|
|
298
298
|
return (0, import_react.useReducer)(reducer$2, initialState$2);
|
|
@@ -302,9 +302,9 @@ function useSymbolsDispatch() {
|
|
|
302
302
|
}
|
|
303
303
|
var Symbols = (_ref) => {
|
|
304
304
|
var { initial, dispatch, children } = _ref;
|
|
305
|
-
return
|
|
305
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Context$2.Provider, {
|
|
306
306
|
value: initial,
|
|
307
|
-
children:
|
|
307
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(DispatchSymbols.Provider, {
|
|
308
308
|
value: dispatch,
|
|
309
309
|
children
|
|
310
310
|
})
|
|
@@ -312,7 +312,7 @@ var Symbols = (_ref) => {
|
|
|
312
312
|
};
|
|
313
313
|
Symbols.displayName = "JVR.Symbols";
|
|
314
314
|
//#endregion
|
|
315
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
315
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/store/Section.js
|
|
316
316
|
var initialState$1 = {
|
|
317
317
|
Copied: {
|
|
318
318
|
className: "w-rjv-copied",
|
|
@@ -357,12 +357,12 @@ var initialState$1 = {
|
|
|
357
357
|
className: "w-rjv-object-key"
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
var Context$1 =
|
|
360
|
+
var Context$1 = /*#__PURE__*/ (0, import_react.createContext)(initialState$1);
|
|
361
361
|
var reducer$1 = (state, action) => (0, import_extends.default)({}, state, action);
|
|
362
362
|
var useSectionStore = () => {
|
|
363
363
|
return (0, import_react.useContext)(Context$1);
|
|
364
364
|
};
|
|
365
|
-
var DispatchSection =
|
|
365
|
+
var DispatchSection = /*#__PURE__*/ (0, import_react.createContext)(() => {});
|
|
366
366
|
DispatchSection.displayName = "JVR.DispatchSection";
|
|
367
367
|
function useSection() {
|
|
368
368
|
return (0, import_react.useReducer)(reducer$1, initialState$1);
|
|
@@ -372,9 +372,9 @@ function useSectionDispatch() {
|
|
|
372
372
|
}
|
|
373
373
|
var Section$1 = (_ref) => {
|
|
374
374
|
var { initial, dispatch, children } = _ref;
|
|
375
|
-
return
|
|
375
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Context$1.Provider, {
|
|
376
376
|
value: initial,
|
|
377
|
-
children:
|
|
377
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(DispatchSection.Provider, {
|
|
378
378
|
value: dispatch,
|
|
379
379
|
children
|
|
380
380
|
})
|
|
@@ -382,14 +382,14 @@ var Section$1 = (_ref) => {
|
|
|
382
382
|
};
|
|
383
383
|
Section$1.displayName = "JVR.Section";
|
|
384
384
|
//#endregion
|
|
385
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
385
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/store.js
|
|
386
386
|
var initialState = {
|
|
387
387
|
objectSortKeys: false,
|
|
388
388
|
indentWidth: 15
|
|
389
389
|
};
|
|
390
|
-
var Context =
|
|
390
|
+
var Context = /*#__PURE__*/ (0, import_react.createContext)(initialState);
|
|
391
391
|
Context.displayName = "JVR.Context";
|
|
392
|
-
var DispatchContext =
|
|
392
|
+
var DispatchContext = /*#__PURE__*/ (0, import_react.createContext)(() => {});
|
|
393
393
|
DispatchContext.displayName = "JVR.DispatchContext";
|
|
394
394
|
function reducer(state, action) {
|
|
395
395
|
return (0, import_extends.default)({}, state, action);
|
|
@@ -406,23 +406,23 @@ var Provider = (_ref) => {
|
|
|
406
406
|
var [symbols, symbolsDispatch] = useSymbols();
|
|
407
407
|
var [section, sectionDispatch] = useSection();
|
|
408
408
|
(0, import_react.useEffect)(() => dispatch((0, import_extends.default)({}, init)), [init]);
|
|
409
|
-
return
|
|
409
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Context.Provider, {
|
|
410
410
|
value: state,
|
|
411
|
-
children:
|
|
411
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(DispatchContext.Provider, {
|
|
412
412
|
value: dispatch,
|
|
413
|
-
children:
|
|
413
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(ShowTools, {
|
|
414
414
|
initial: showTools,
|
|
415
415
|
dispatch: showToolsDispatch,
|
|
416
|
-
children:
|
|
416
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Expands, {
|
|
417
417
|
initial: expands,
|
|
418
418
|
dispatch: expandsDispatch,
|
|
419
|
-
children:
|
|
419
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Types, {
|
|
420
420
|
initial: (0, import_extends.default)({}, types, initialTypes),
|
|
421
421
|
dispatch: typesDispatch,
|
|
422
|
-
children:
|
|
422
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Symbols, {
|
|
423
423
|
initial: symbols,
|
|
424
424
|
dispatch: symbolsDispatch,
|
|
425
|
-
children:
|
|
425
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Section$1, {
|
|
426
426
|
initial: section,
|
|
427
427
|
dispatch: sectionDispatch,
|
|
428
428
|
children
|
|
@@ -436,7 +436,7 @@ var Provider = (_ref) => {
|
|
|
436
436
|
};
|
|
437
437
|
Provider.displayName = "JVR.Provider";
|
|
438
438
|
//#endregion
|
|
439
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
439
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/index.js
|
|
440
440
|
var import_objectDestructuringEmpty = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
441
441
|
function _objectDestructuringEmpty(t) {
|
|
442
442
|
if (null == t) throw new TypeError("Cannot destructure " + t);
|
|
@@ -449,11 +449,19 @@ var _excluded$9 = [
|
|
|
449
449
|
"parentValue",
|
|
450
450
|
"keyName",
|
|
451
451
|
"keys"
|
|
452
|
-
]
|
|
452
|
+
];
|
|
453
|
+
var _excluded2$5 = ["as", "render"];
|
|
454
|
+
var _excluded3$1 = ["as", "render"];
|
|
455
|
+
var _excluded4$1 = ["as", "render"];
|
|
456
|
+
var _excluded5$1 = [
|
|
453
457
|
"as",
|
|
454
458
|
"style",
|
|
455
459
|
"render"
|
|
456
|
-
]
|
|
460
|
+
];
|
|
461
|
+
var _excluded6$1 = ["as", "render"];
|
|
462
|
+
var _excluded7$1 = ["as", "render"];
|
|
463
|
+
var _excluded8$1 = ["as", "render"];
|
|
464
|
+
var _excluded9$1 = ["as", "render"];
|
|
457
465
|
var Quote$1 = (props) => {
|
|
458
466
|
var { Quote: Comp = {} } = useSymbolsStore();
|
|
459
467
|
var { isNumber, value, parentValue, keyName, keys } = props, other = (0, import_objectWithoutPropertiesLoose.default)(props, _excluded$9);
|
|
@@ -469,7 +477,7 @@ var Quote$1 = (props) => {
|
|
|
469
477
|
keys: keys || (keyName ? [keyName] : [])
|
|
470
478
|
});
|
|
471
479
|
if (child) return child;
|
|
472
|
-
return
|
|
480
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, elmProps));
|
|
473
481
|
};
|
|
474
482
|
Quote$1.displayName = "JVR.Quote";
|
|
475
483
|
var ValueQuote$1 = (props) => {
|
|
@@ -480,7 +488,7 @@ var ValueQuote$1 = (props) => {
|
|
|
480
488
|
var elmProps = (0, import_extends.default)({}, other, reset);
|
|
481
489
|
var child = render && typeof render === "function" && render(elmProps, {});
|
|
482
490
|
if (child) return child;
|
|
483
|
-
return
|
|
491
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, elmProps));
|
|
484
492
|
};
|
|
485
493
|
ValueQuote$1.displayName = "JVR.ValueQuote";
|
|
486
494
|
var Colon$1 = (props) => {
|
|
@@ -495,7 +503,7 @@ var Colon$1 = (props) => {
|
|
|
495
503
|
keys: keys || (keyName ? [keyName] : [])
|
|
496
504
|
});
|
|
497
505
|
if (child) return child;
|
|
498
|
-
return
|
|
506
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, reset));
|
|
499
507
|
};
|
|
500
508
|
Colon$1.displayName = "JVR.Colon";
|
|
501
509
|
var Arrow$1 = (props) => {
|
|
@@ -517,7 +525,7 @@ var Arrow$1 = (props) => {
|
|
|
517
525
|
keys: keys || (keyName ? [keyName] : [])
|
|
518
526
|
});
|
|
519
527
|
if (child) return child;
|
|
520
|
-
return
|
|
528
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, reset, { style: (0, import_extends.default)({}, style, resetStyle) }));
|
|
521
529
|
};
|
|
522
530
|
Arrow$1.displayName = "JVR.Arrow";
|
|
523
531
|
var BracketsOpen = (props) => {
|
|
@@ -534,13 +542,13 @@ var BracketsOpen = (props) => {
|
|
|
534
542
|
var BracketsLeftComp = as || "span";
|
|
535
543
|
var _child = _render && typeof _render === "function" && _render(reset, result);
|
|
536
544
|
if (_child) return _child;
|
|
537
|
-
return
|
|
545
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(BracketsLeftComp, (0, import_extends.default)({}, reset));
|
|
538
546
|
}
|
|
539
547
|
var { as: elm, render } = BraceLeft, resetProps = (0, import_objectWithoutPropertiesLoose.default)(BraceLeft, _excluded7$1);
|
|
540
548
|
var BraceLeftComp = elm || "span";
|
|
541
549
|
var child = render && typeof render === "function" && render(resetProps, result);
|
|
542
550
|
if (child) return child;
|
|
543
|
-
return
|
|
551
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(BraceLeftComp, (0, import_extends.default)({}, resetProps));
|
|
544
552
|
};
|
|
545
553
|
BracketsOpen.displayName = "JVR.BracketsOpen";
|
|
546
554
|
var BracketsClose = (props) => {
|
|
@@ -558,17 +566,17 @@ var BracketsClose = (props) => {
|
|
|
558
566
|
var BracketsRightComp = as || "span";
|
|
559
567
|
var _child2 = _render2 && typeof _render2 === "function" && _render2(_reset, result);
|
|
560
568
|
if (_child2) return _child2;
|
|
561
|
-
return
|
|
569
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(BracketsRightComp, (0, import_extends.default)({}, _reset));
|
|
562
570
|
}
|
|
563
571
|
var { as: elm, render } = BraceRight, reset = (0, import_objectWithoutPropertiesLoose.default)(BraceRight, _excluded9$1);
|
|
564
572
|
var BraceRightComp = elm || "span";
|
|
565
573
|
var child = render && typeof render === "function" && render(reset, result);
|
|
566
574
|
if (child) return child;
|
|
567
|
-
return
|
|
575
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(BraceRightComp, (0, import_extends.default)({}, reset));
|
|
568
576
|
};
|
|
569
577
|
BracketsClose.displayName = "JVR.BracketsClose";
|
|
570
578
|
//#endregion
|
|
571
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
579
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js
|
|
572
580
|
var NestedClose = (props) => {
|
|
573
581
|
var _expands$expandKey;
|
|
574
582
|
var { keyName, value, expandKey, parentValue, level, keys = [] } = props;
|
|
@@ -597,15 +605,27 @@ var NestedClose = (props) => {
|
|
|
597
605
|
};
|
|
598
606
|
var isArray = Array.isArray(value);
|
|
599
607
|
var isMySet = value instanceof Set;
|
|
600
|
-
return
|
|
608
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)("div", {
|
|
601
609
|
style,
|
|
602
|
-
children:
|
|
610
|
+
children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)(BracketsClose, (0, import_extends.default)({ isBrackets: isArray || isMySet }, compProps, { isVisiable: true }))
|
|
603
611
|
});
|
|
604
612
|
};
|
|
605
613
|
NestedClose.displayName = "JVR.NestedClose";
|
|
606
614
|
//#endregion
|
|
607
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
608
|
-
var _excluded$8 = ["as", "render"]
|
|
615
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/index.js
|
|
616
|
+
var _excluded$8 = ["as", "render"];
|
|
617
|
+
var _excluded2$4 = ["as", "render"];
|
|
618
|
+
var _excluded3 = ["as", "render"];
|
|
619
|
+
var _excluded4 = ["as", "render"];
|
|
620
|
+
var _excluded5 = ["as", "render"];
|
|
621
|
+
var _excluded6 = ["as", "render"];
|
|
622
|
+
var _excluded7 = ["as", "render"];
|
|
623
|
+
var _excluded8 = ["as", "render"];
|
|
624
|
+
var _excluded9 = ["as", "render"];
|
|
625
|
+
var _excluded0 = ["as", "render"];
|
|
626
|
+
var _excluded1 = ["as", "render"];
|
|
627
|
+
var _excluded10 = ["as", "render"];
|
|
628
|
+
var _excluded11 = ["as", "render"];
|
|
609
629
|
var bigIntToString = (bi) => {
|
|
610
630
|
if (bi === void 0) return "0n";
|
|
611
631
|
else if (typeof bi === "string") try {
|
|
@@ -626,7 +646,7 @@ var SetComp = (_ref) => {
|
|
|
626
646
|
keyName
|
|
627
647
|
});
|
|
628
648
|
if (type) return type;
|
|
629
|
-
return
|
|
649
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(as || "span", (0, import_extends.default)({}, reset));
|
|
630
650
|
};
|
|
631
651
|
SetComp.displayName = "JVR.SetComp";
|
|
632
652
|
var MapComp = (_ref2) => {
|
|
@@ -640,7 +660,7 @@ var MapComp = (_ref2) => {
|
|
|
640
660
|
keyName
|
|
641
661
|
});
|
|
642
662
|
if (type) return type;
|
|
643
|
-
return
|
|
663
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(as || "span", (0, import_extends.default)({}, reset));
|
|
644
664
|
};
|
|
645
665
|
MapComp.displayName = "JVR.MapComp";
|
|
646
666
|
var defalutStyle = {
|
|
@@ -681,13 +701,13 @@ var TypeString = (_ref3) => {
|
|
|
681
701
|
keyName,
|
|
682
702
|
keys
|
|
683
703
|
});
|
|
684
|
-
return
|
|
685
|
-
|
|
686
|
-
|
|
704
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [
|
|
705
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(ValueQuote$1, {}),
|
|
706
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
687
707
|
className: cls,
|
|
688
708
|
children: text
|
|
689
709
|
})),
|
|
690
|
-
|
|
710
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(ValueQuote$1, {})
|
|
691
711
|
] })] });
|
|
692
712
|
};
|
|
693
713
|
TypeString.displayName = "JVR.TypeString";
|
|
@@ -713,7 +733,7 @@ var TypeTrue = (_ref4) => {
|
|
|
713
733
|
keyName,
|
|
714
734
|
keys
|
|
715
735
|
});
|
|
716
|
-
return
|
|
736
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
717
737
|
className: "w-rjv-value",
|
|
718
738
|
children: children == null ? void 0 : children.toString()
|
|
719
739
|
}))] });
|
|
@@ -741,7 +761,7 @@ var TypeFalse = (_ref5) => {
|
|
|
741
761
|
keyName,
|
|
742
762
|
keys
|
|
743
763
|
});
|
|
744
|
-
return
|
|
764
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
745
765
|
className: "w-rjv-value",
|
|
746
766
|
children: children == null ? void 0 : children.toString()
|
|
747
767
|
}))] });
|
|
@@ -769,7 +789,7 @@ var TypeFloat = (_ref6) => {
|
|
|
769
789
|
keyName,
|
|
770
790
|
keys
|
|
771
791
|
});
|
|
772
|
-
return
|
|
792
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
773
793
|
className: "w-rjv-value",
|
|
774
794
|
children: children == null ? void 0 : children.toString()
|
|
775
795
|
}))] });
|
|
@@ -797,7 +817,7 @@ var TypeInt = (_ref7) => {
|
|
|
797
817
|
keyName,
|
|
798
818
|
keys
|
|
799
819
|
});
|
|
800
|
-
return
|
|
820
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
801
821
|
className: "w-rjv-value",
|
|
802
822
|
children: children == null ? void 0 : children.toString()
|
|
803
823
|
}))] });
|
|
@@ -825,7 +845,7 @@ var TypeBigint = (_ref8) => {
|
|
|
825
845
|
keyName,
|
|
826
846
|
keys
|
|
827
847
|
});
|
|
828
|
-
return
|
|
848
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
829
849
|
className: "w-rjv-value",
|
|
830
850
|
children: bigIntToString(children == null ? void 0 : children.toString())
|
|
831
851
|
}))] });
|
|
@@ -853,15 +873,15 @@ var TypeUrl = (_ref9) => {
|
|
|
853
873
|
keyName,
|
|
854
874
|
keys
|
|
855
875
|
});
|
|
856
|
-
return
|
|
876
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsxs)("a", (0, import_extends.default)({
|
|
857
877
|
href: children == null ? void 0 : children.href,
|
|
858
878
|
target: "_blank"
|
|
859
879
|
}, reset, {
|
|
860
880
|
className: "w-rjv-value",
|
|
861
881
|
children: [
|
|
862
|
-
|
|
882
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(ValueQuote$1, {}),
|
|
863
883
|
children == null ? void 0 : children.href,
|
|
864
|
-
|
|
884
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(ValueQuote$1, {})
|
|
865
885
|
]
|
|
866
886
|
}))] });
|
|
867
887
|
};
|
|
@@ -889,7 +909,7 @@ var TypeDate = (_ref0) => {
|
|
|
889
909
|
keyName,
|
|
890
910
|
keys
|
|
891
911
|
});
|
|
892
|
-
return
|
|
912
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, {
|
|
893
913
|
className: "w-rjv-value",
|
|
894
914
|
children: childStr
|
|
895
915
|
}))] });
|
|
@@ -917,7 +937,7 @@ var TypeUndefined = (_ref1) => {
|
|
|
917
937
|
keyName,
|
|
918
938
|
keys
|
|
919
939
|
});
|
|
920
|
-
return
|
|
940
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child] });
|
|
921
941
|
};
|
|
922
942
|
TypeUndefined.displayName = "JVR.TypeUndefined";
|
|
923
943
|
var TypeNull = (_ref10) => {
|
|
@@ -942,7 +962,7 @@ var TypeNull = (_ref10) => {
|
|
|
942
962
|
keyName,
|
|
943
963
|
keys
|
|
944
964
|
});
|
|
945
|
-
return
|
|
965
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child] });
|
|
946
966
|
};
|
|
947
967
|
TypeNull.displayName = "JVR.TypeNull";
|
|
948
968
|
var TypeNan = (_ref11) => {
|
|
@@ -967,11 +987,11 @@ var TypeNan = (_ref11) => {
|
|
|
967
987
|
keyName,
|
|
968
988
|
keys
|
|
969
989
|
});
|
|
970
|
-
return
|
|
990
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [displayDataTypes && (type || /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Comp, (0, import_extends.default)({}, reset, { style }))), child] });
|
|
971
991
|
};
|
|
972
992
|
TypeNan.displayName = "JVR.TypeNan";
|
|
973
993
|
//#endregion
|
|
974
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
994
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/Value.js
|
|
975
995
|
var isFloat = (n) => Number(n) === n && n % 1 !== 0 || isNaN(n);
|
|
976
996
|
var Value = (props) => {
|
|
977
997
|
var { value, keyName, keys } = props;
|
|
@@ -979,26 +999,27 @@ var Value = (props) => {
|
|
|
979
999
|
keyName,
|
|
980
1000
|
keys
|
|
981
1001
|
};
|
|
982
|
-
if (value instanceof URL) return
|
|
983
|
-
if (typeof value === "string") return
|
|
984
|
-
if (value === true) return
|
|
985
|
-
if (value === false) return
|
|
986
|
-
if (value === null) return
|
|
987
|
-
if (value === void 0) return
|
|
988
|
-
if (value instanceof Date) return
|
|
989
|
-
if (typeof value === "number" && isNaN(value)) return
|
|
990
|
-
else if (typeof value === "number" && isFloat(value)) return
|
|
991
|
-
else if (typeof value === "bigint") return
|
|
992
|
-
else if (typeof value === "number") return
|
|
1002
|
+
if (value instanceof URL) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeUrl, (0, import_extends.default)({}, reset, { children: value }));
|
|
1003
|
+
if (typeof value === "string") return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeString, (0, import_extends.default)({}, reset, { children: value }));
|
|
1004
|
+
if (value === true) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeTrue, (0, import_extends.default)({}, reset, { children: value }));
|
|
1005
|
+
if (value === false) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeFalse, (0, import_extends.default)({}, reset, { children: value }));
|
|
1006
|
+
if (value === null) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeNull, (0, import_extends.default)({}, reset, { children: value }));
|
|
1007
|
+
if (value === void 0) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeUndefined, (0, import_extends.default)({}, reset, { children: value }));
|
|
1008
|
+
if (value instanceof Date) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeDate, (0, import_extends.default)({}, reset, { children: value }));
|
|
1009
|
+
if (typeof value === "number" && isNaN(value)) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeNan, (0, import_extends.default)({}, reset, { children: value }));
|
|
1010
|
+
else if (typeof value === "number" && isFloat(value)) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeFloat, (0, import_extends.default)({}, reset, { children: value }));
|
|
1011
|
+
else if (typeof value === "bigint") return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeBigint, (0, import_extends.default)({}, reset, { children: value }));
|
|
1012
|
+
else if (typeof value === "number") return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(TypeInt, (0, import_extends.default)({}, reset, { children: value }));
|
|
993
1013
|
return null;
|
|
994
1014
|
};
|
|
995
1015
|
Value.displayName = "JVR.Value";
|
|
996
1016
|
//#endregion
|
|
997
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1017
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/utils/useRender.js
|
|
998
1018
|
function useSymbolsRender(currentProps, props, key) {
|
|
999
1019
|
var dispatch = useSymbolsDispatch();
|
|
1020
|
+
var cls = [currentProps.className, props.className].filter(Boolean).join(" ");
|
|
1000
1021
|
var reset = (0, import_extends.default)({}, currentProps, props, {
|
|
1001
|
-
className:
|
|
1022
|
+
className: cls,
|
|
1002
1023
|
style: (0, import_extends.default)({}, currentProps.style, props.style),
|
|
1003
1024
|
children: props.children || currentProps.children
|
|
1004
1025
|
});
|
|
@@ -1006,8 +1027,9 @@ function useSymbolsRender(currentProps, props, key) {
|
|
|
1006
1027
|
}
|
|
1007
1028
|
function useTypesRender(currentProps, props, key) {
|
|
1008
1029
|
var dispatch = useTypesDispatch();
|
|
1030
|
+
var cls = [currentProps.className, props.className].filter(Boolean).join(" ");
|
|
1009
1031
|
var reset = (0, import_extends.default)({}, currentProps, props, {
|
|
1010
|
-
className:
|
|
1032
|
+
className: cls,
|
|
1011
1033
|
style: (0, import_extends.default)({}, currentProps.style, props.style),
|
|
1012
1034
|
children: props.children || currentProps.children
|
|
1013
1035
|
});
|
|
@@ -1015,15 +1037,16 @@ function useTypesRender(currentProps, props, key) {
|
|
|
1015
1037
|
}
|
|
1016
1038
|
function useSectionRender(currentProps, props, key) {
|
|
1017
1039
|
var dispatch = useSectionDispatch();
|
|
1040
|
+
var cls = [currentProps.className, props.className].filter(Boolean).join(" ");
|
|
1018
1041
|
var reset = (0, import_extends.default)({}, currentProps, props, {
|
|
1019
|
-
className:
|
|
1042
|
+
className: cls,
|
|
1020
1043
|
style: (0, import_extends.default)({}, currentProps.style, props.style),
|
|
1021
1044
|
children: props.children || currentProps.children
|
|
1022
1045
|
});
|
|
1023
1046
|
(0, import_react.useEffect)(() => dispatch({ [key]: reset }), [props]);
|
|
1024
1047
|
}
|
|
1025
1048
|
//#endregion
|
|
1026
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1049
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/section/KeyName.js
|
|
1027
1050
|
var _excluded$7 = ["as", "render"];
|
|
1028
1051
|
var KeyName = (props) => {
|
|
1029
1052
|
var { KeyName: Comp = {} } = useSectionStore();
|
|
@@ -1045,18 +1068,19 @@ var KeyNameComp = (props) => {
|
|
|
1045
1068
|
keys: keys || (keyName ? [keyName] : [])
|
|
1046
1069
|
});
|
|
1047
1070
|
if (child) return child;
|
|
1048
|
-
return
|
|
1071
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, reset, { children }));
|
|
1049
1072
|
};
|
|
1050
1073
|
KeyNameComp.displayName = "JVR.KeyNameComp";
|
|
1051
1074
|
//#endregion
|
|
1052
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1075
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/section/Row.js
|
|
1053
1076
|
var _excluded$6 = [
|
|
1054
1077
|
"children",
|
|
1055
1078
|
"value",
|
|
1056
1079
|
"parentValue",
|
|
1057
1080
|
"keyName",
|
|
1058
1081
|
"keys"
|
|
1059
|
-
]
|
|
1082
|
+
];
|
|
1083
|
+
var _excluded2$3 = [
|
|
1060
1084
|
"as",
|
|
1061
1085
|
"render",
|
|
1062
1086
|
"children"
|
|
@@ -1079,11 +1103,11 @@ var RowComp = (props) => {
|
|
|
1079
1103
|
keys
|
|
1080
1104
|
});
|
|
1081
1105
|
if (child) return child;
|
|
1082
|
-
return
|
|
1106
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, other, reset, { children }));
|
|
1083
1107
|
};
|
|
1084
1108
|
RowComp.displayName = "JVR.RowComp";
|
|
1085
1109
|
//#endregion
|
|
1086
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1110
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/utils/useHighlight.js
|
|
1087
1111
|
function usePrevious(value) {
|
|
1088
1112
|
var ref = (0, import_react.useRef)();
|
|
1089
1113
|
(0, import_react.useEffect)(() => {
|
|
@@ -1117,7 +1141,7 @@ function useHighlight(_ref) {
|
|
|
1117
1141
|
]);
|
|
1118
1142
|
}
|
|
1119
1143
|
//#endregion
|
|
1120
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1144
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/Copied.js
|
|
1121
1145
|
var _excluded$5 = [
|
|
1122
1146
|
"keyName",
|
|
1123
1147
|
"value",
|
|
@@ -1125,7 +1149,8 @@ var _excluded$5 = [
|
|
|
1125
1149
|
"expandKey",
|
|
1126
1150
|
"keys",
|
|
1127
1151
|
"beforeCopy"
|
|
1128
|
-
]
|
|
1152
|
+
];
|
|
1153
|
+
var _excluded2$2 = ["as", "render"];
|
|
1129
1154
|
var Copied$1 = (props) => {
|
|
1130
1155
|
var { keyName, value, parentValue, expandKey, keys, beforeCopy } = props, other = (0, import_objectWithoutPropertiesLoose.default)(props, _excluded$5);
|
|
1131
1156
|
var { onCopied, enableClipboard, beforeCopy: globalBeforeCopy } = useStore();
|
|
@@ -1180,19 +1205,19 @@ var Copied$1 = (props) => {
|
|
|
1180
1205
|
parentValue
|
|
1181
1206
|
});
|
|
1182
1207
|
if (child) return child;
|
|
1183
|
-
if (copied) return
|
|
1184
|
-
return
|
|
1208
|
+
if (copied) return /*#__PURE__*/ (0, import_jsx_runtime.jsx)("svg", (0, import_extends.default)({ viewBox: "0 0 32 36" }, elmProps, { children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)("path", { d: "M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,15.2249049 C29.1403264,13.8627542 29.9736597,13.1778155 30,13.1700887 C30,11.9705278 30,10.0804982 30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,26.1114493 L27.5,28.4926435 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M28.5589286,16 L32,19.6 L21.0160714,30.5382252 L13.5303571,24.2571429 L17.1303571,20.6571429 L21.0160714,24.5428571 L28.5589286,16 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z" }) }));
|
|
1209
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)("svg", (0, import_extends.default)({ viewBox: "0 0 32 36" }, elmProps, { children: /*#__PURE__*/ (0, import_jsx_runtime.jsx)("path", { d: "M27.5,33 L2.5,33 L2.5,12.5 L27.5,12.5 L27.5,20 L30,20 L30,7.5 C30,6.1 28.9,5 27.5,5 L20,5 C20,2.2 17.8,0 15,0 C12.2,0 10,2.2 10,5 L2.5,5 C1.1,5 0,6.1 0,7.5 L0,33 C0,34.4 1.1,36 2.5,36 L27.5,36 C28.9,36 30,34.4 30,33 L30,29 L27.5,29 L27.5,33 Z M7.5,7.5 L10,7.5 C10,7.5 12.5,6.4 12.5,5 C12.5,3.6 13.6,2.5 15,2.5 C16.4,2.5 17.5,3.6 17.5,5 C17.5,6.4 18.8,7.5 20,7.5 L22.5,7.5 C22.5,7.5 25,8.6 25,10 L5,10 C5,8.5 6.1,7.5 7.5,7.5 Z M5,27.5 L10,27.5 L10,25 L5,25 L5,27.5 Z M22.5,21.5 L22.5,16.5 L12.5,24 L22.5,31.5 L22.5,26.5 L32,26.5 L32,21.5 L22.5,21.5 Z M17.5,15 L5,15 L5,17.5 L17.5,17.5 L17.5,15 Z M10,20 L5,20 L5,22.5 L10,22.5 L10,20 Z" }) }));
|
|
1185
1210
|
};
|
|
1186
1211
|
Copied$1.displayName = "JVR.Copied";
|
|
1187
1212
|
//#endregion
|
|
1188
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1213
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.js
|
|
1189
1214
|
function useIdCompat() {
|
|
1190
1215
|
var idRef = (0, import_react.useRef)(null);
|
|
1191
1216
|
if (idRef.current === null) idRef.current = "custom-id-" + Math.random().toString(36).substr(2, 9);
|
|
1192
1217
|
return idRef.current;
|
|
1193
1218
|
}
|
|
1194
1219
|
//#endregion
|
|
1195
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1220
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js
|
|
1196
1221
|
var KeyValues = (props) => {
|
|
1197
1222
|
var _expands$expandKey;
|
|
1198
1223
|
var { keyName, value, expandKey = "", level, keys = [], parentValue } = props;
|
|
@@ -1221,7 +1246,7 @@ var KeyValues = (props) => {
|
|
|
1221
1246
|
var [b, valB] = _ref4;
|
|
1222
1247
|
return typeof a === "string" && typeof b === "string" ? objectSortKeys(a, b, valA, valB) : 0;
|
|
1223
1248
|
});
|
|
1224
|
-
return
|
|
1249
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)("div", {
|
|
1225
1250
|
className: "w-rjv-wrap",
|
|
1226
1251
|
style: {
|
|
1227
1252
|
borderLeft: "var(--w-rjv-border-left-width, 1px) var(--w-rjv-line-style, solid) var(--w-rjv-line-color, #ebebeb)",
|
|
@@ -1230,7 +1255,7 @@ var KeyValues = (props) => {
|
|
|
1230
1255
|
},
|
|
1231
1256
|
children: entries.map((_ref5, idx) => {
|
|
1232
1257
|
var [key, val] = _ref5;
|
|
1233
|
-
return
|
|
1258
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(KeyValuesItem, {
|
|
1234
1259
|
parentValue: value,
|
|
1235
1260
|
keyName: key,
|
|
1236
1261
|
keys: [...keys, key],
|
|
@@ -1257,20 +1282,20 @@ var KayName = (props) => {
|
|
|
1257
1282
|
keys,
|
|
1258
1283
|
parentValue
|
|
1259
1284
|
};
|
|
1260
|
-
return
|
|
1285
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [/*#__PURE__*/ (0, import_jsx_runtime.jsxs)("span", {
|
|
1261
1286
|
ref: highlightContainer,
|
|
1262
1287
|
children: [
|
|
1263
|
-
|
|
1288
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Quote$1, (0, import_extends.default)({
|
|
1264
1289
|
isNumber,
|
|
1265
1290
|
"data-placement": "left"
|
|
1266
1291
|
}, compProps)),
|
|
1267
|
-
|
|
1268
|
-
|
|
1292
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(KeyNameComp, (0, import_extends.default)({}, compProps, { children: keyName })),
|
|
1293
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Quote$1, (0, import_extends.default)({
|
|
1269
1294
|
isNumber,
|
|
1270
1295
|
"data-placement": "right"
|
|
1271
1296
|
}, compProps))
|
|
1272
1297
|
]
|
|
1273
|
-
}),
|
|
1298
|
+
}), /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Colon$1, (0, import_extends.default)({}, compProps))] });
|
|
1274
1299
|
};
|
|
1275
1300
|
KayName.displayName = "JVR.KayName";
|
|
1276
1301
|
var KeyValuesItem = (props) => {
|
|
@@ -1282,15 +1307,18 @@ var KeyValuesItem = (props) => {
|
|
|
1282
1307
|
var isMyMap = value instanceof Map;
|
|
1283
1308
|
var isDate = value instanceof Date;
|
|
1284
1309
|
var isUrl = value instanceof URL;
|
|
1285
|
-
if (value && typeof value === "object" && !isMyArray && !isMySet && !isMyMap && !isDate && !isUrl || isMyArray || isMySet || isMyMap)
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1310
|
+
if (value && typeof value === "object" && !isMyArray && !isMySet && !isMyMap && !isDate && !isUrl || isMyArray || isMySet || isMyMap) {
|
|
1311
|
+
var myValue = isMySet ? Array.from(value) : isMyMap ? Object.fromEntries(value) : value;
|
|
1312
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Container, {
|
|
1313
|
+
keyName,
|
|
1314
|
+
value: myValue,
|
|
1315
|
+
parentValue,
|
|
1316
|
+
initialValue: value,
|
|
1317
|
+
keys,
|
|
1318
|
+
level: level + 1
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(RowComp, (0, import_extends.default)({
|
|
1294
1322
|
className: "w-rjv-line",
|
|
1295
1323
|
value,
|
|
1296
1324
|
keyName,
|
|
@@ -1300,18 +1328,18 @@ var KeyValuesItem = (props) => {
|
|
|
1300
1328
|
onMouseEnter: () => dispatch({ [subkeyid]: true }),
|
|
1301
1329
|
onMouseLeave: () => dispatch({ [subkeyid]: false })
|
|
1302
1330
|
}, { children: [
|
|
1303
|
-
|
|
1331
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(KayName, {
|
|
1304
1332
|
keyName,
|
|
1305
1333
|
value,
|
|
1306
1334
|
keys,
|
|
1307
1335
|
parentValue
|
|
1308
1336
|
}),
|
|
1309
|
-
|
|
1337
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Value, {
|
|
1310
1338
|
keyName,
|
|
1311
1339
|
value,
|
|
1312
1340
|
keys
|
|
1313
1341
|
}),
|
|
1314
|
-
|
|
1342
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Copied$1, {
|
|
1315
1343
|
keyName,
|
|
1316
1344
|
value,
|
|
1317
1345
|
keys,
|
|
@@ -1322,8 +1350,9 @@ var KeyValuesItem = (props) => {
|
|
|
1322
1350
|
};
|
|
1323
1351
|
KeyValuesItem.displayName = "JVR.KeyValuesItem";
|
|
1324
1352
|
//#endregion
|
|
1325
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1326
|
-
var _excluded$4 = ["value", "keyName"]
|
|
1353
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.js
|
|
1354
|
+
var _excluded$4 = ["value", "keyName"];
|
|
1355
|
+
var _excluded2$1 = ["as", "render"];
|
|
1327
1356
|
var CountInfoExtra = (props) => {
|
|
1328
1357
|
var { CountInfoExtra: Comp = {} } = useSectionStore();
|
|
1329
1358
|
useSectionRender(Comp, props, "CountInfoExtra");
|
|
@@ -1343,12 +1372,13 @@ var CountInfoExtraComps = (props) => {
|
|
|
1343
1372
|
keyName
|
|
1344
1373
|
});
|
|
1345
1374
|
if (child) return child;
|
|
1346
|
-
return
|
|
1375
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, elmProps));
|
|
1347
1376
|
};
|
|
1348
1377
|
CountInfoExtraComps.displayName = "JVR.CountInfoExtraComps";
|
|
1349
1378
|
//#endregion
|
|
1350
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1351
|
-
var _excluded$3 = ["value", "keyName"]
|
|
1379
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/section/CountInfo.js
|
|
1380
|
+
var _excluded$3 = ["value", "keyName"];
|
|
1381
|
+
var _excluded2 = ["as", "render"];
|
|
1352
1382
|
var CountInfo = (props) => {
|
|
1353
1383
|
var { CountInfo: Comp = {} } = useSectionStore();
|
|
1354
1384
|
useSectionRender(Comp, props, "CountInfo");
|
|
@@ -1371,11 +1401,11 @@ var CountInfoComp = (props) => {
|
|
|
1371
1401
|
keyName
|
|
1372
1402
|
});
|
|
1373
1403
|
if (child) return child;
|
|
1374
|
-
return
|
|
1404
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, elmProps));
|
|
1375
1405
|
};
|
|
1376
1406
|
CountInfoComp.displayName = "JVR.CountInfoComp";
|
|
1377
1407
|
//#endregion
|
|
1378
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1408
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/section/Ellipsis.js
|
|
1379
1409
|
var _excluded$2 = ["as", "render"];
|
|
1380
1410
|
var Ellipsis = (props) => {
|
|
1381
1411
|
var { Ellipsis: Comp = {} } = useSectionStore();
|
|
@@ -1394,11 +1424,11 @@ var EllipsisComp = (_ref) => {
|
|
|
1394
1424
|
});
|
|
1395
1425
|
if (child) return child;
|
|
1396
1426
|
if (!isExpanded || typeof value === "object" && Object.keys(value).length == 0) return null;
|
|
1397
|
-
return
|
|
1427
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Elm, (0, import_extends.default)({}, reset));
|
|
1398
1428
|
};
|
|
1399
1429
|
EllipsisComp.displayName = "JVR.EllipsisComp";
|
|
1400
1430
|
//#endregion
|
|
1401
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1431
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js
|
|
1402
1432
|
var NestedOpen = (props) => {
|
|
1403
1433
|
var _expands$expandKey;
|
|
1404
1434
|
var { keyName, expandKey, keys = [], initialValue, value, parentValue, level } = props;
|
|
@@ -1446,39 +1476,39 @@ var NestedOpen = (props) => {
|
|
|
1446
1476
|
keys,
|
|
1447
1477
|
parentValue
|
|
1448
1478
|
};
|
|
1449
|
-
return
|
|
1450
|
-
showArrow &&
|
|
1479
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)("span", (0, import_extends.default)({}, reset, { children: [
|
|
1480
|
+
showArrow && /*#__PURE__*/ (0, import_jsx_runtime.jsx)(Arrow$1, (0, import_extends.default)({
|
|
1451
1481
|
style: arrowStyle,
|
|
1452
1482
|
expandKey
|
|
1453
1483
|
}, compProps)),
|
|
1454
|
-
(keyName || typeof keyName === "number") &&
|
|
1455
|
-
|
|
1484
|
+
(keyName || typeof keyName === "number") && /*#__PURE__*/ (0, import_jsx_runtime.jsx)(KayName, (0, import_extends.default)({}, compProps)),
|
|
1485
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(SetComp, {
|
|
1456
1486
|
value: initialValue,
|
|
1457
1487
|
keyName
|
|
1458
1488
|
}),
|
|
1459
|
-
|
|
1489
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(MapComp, {
|
|
1460
1490
|
value: initialValue,
|
|
1461
1491
|
keyName
|
|
1462
1492
|
}),
|
|
1463
|
-
|
|
1464
|
-
|
|
1493
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(BracketsOpen, (0, import_extends.default)({ isBrackets: isArray || isMySet }, compProps)),
|
|
1494
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(EllipsisComp, {
|
|
1465
1495
|
keyName,
|
|
1466
1496
|
value,
|
|
1467
1497
|
isExpanded
|
|
1468
1498
|
}),
|
|
1469
|
-
|
|
1499
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(BracketsClose, (0, import_extends.default)({
|
|
1470
1500
|
isVisiable: isExpanded || !showArrow,
|
|
1471
1501
|
isBrackets: isArray || isMySet
|
|
1472
1502
|
}, compProps)),
|
|
1473
|
-
|
|
1503
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(CountInfoComp, {
|
|
1474
1504
|
value,
|
|
1475
1505
|
keyName
|
|
1476
1506
|
}),
|
|
1477
|
-
|
|
1507
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(CountInfoExtraComps, {
|
|
1478
1508
|
value,
|
|
1479
1509
|
keyName
|
|
1480
1510
|
}),
|
|
1481
|
-
|
|
1511
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Copied$1, {
|
|
1482
1512
|
keyName,
|
|
1483
1513
|
value,
|
|
1484
1514
|
expandKey,
|
|
@@ -1489,7 +1519,7 @@ var NestedOpen = (props) => {
|
|
|
1489
1519
|
};
|
|
1490
1520
|
NestedOpen.displayName = "JVR.NestedOpen";
|
|
1491
1521
|
//#endregion
|
|
1492
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1522
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/Container.js
|
|
1493
1523
|
var _excluded$1 = [
|
|
1494
1524
|
"className",
|
|
1495
1525
|
"children",
|
|
@@ -1501,18 +1531,19 @@ var _excluded$1 = [
|
|
|
1501
1531
|
"keys",
|
|
1502
1532
|
"keyName"
|
|
1503
1533
|
];
|
|
1504
|
-
var Container =
|
|
1534
|
+
var Container = /*#__PURE__*/ (0, import_react.forwardRef)((props, ref) => {
|
|
1505
1535
|
var { className = "", parentValue, level = 1, value, initialValue, keys, keyName } = props, elmProps = (0, import_objectWithoutPropertiesLoose.default)(props, _excluded$1);
|
|
1506
1536
|
var dispatch = useShowToolsDispatch();
|
|
1507
1537
|
var subkeyid = useIdCompat();
|
|
1508
|
-
|
|
1509
|
-
|
|
1538
|
+
var defaultClassNames = [className, "w-rjv-inner"].filter(Boolean).join(" ");
|
|
1539
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)("div", (0, import_extends.default)({
|
|
1540
|
+
className: defaultClassNames,
|
|
1510
1541
|
ref
|
|
1511
1542
|
}, elmProps, {
|
|
1512
1543
|
onMouseEnter: () => dispatch({ [subkeyid]: true }),
|
|
1513
1544
|
onMouseLeave: () => dispatch({ [subkeyid]: false })
|
|
1514
1545
|
}, { children: [
|
|
1515
|
-
|
|
1546
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(NestedOpen, {
|
|
1516
1547
|
expandKey: subkeyid,
|
|
1517
1548
|
value,
|
|
1518
1549
|
level,
|
|
@@ -1521,7 +1552,7 @@ var Container = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
1521
1552
|
keyName,
|
|
1522
1553
|
initialValue
|
|
1523
1554
|
}),
|
|
1524
|
-
|
|
1555
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(KeyValues, {
|
|
1525
1556
|
expandKey: subkeyid,
|
|
1526
1557
|
value,
|
|
1527
1558
|
level,
|
|
@@ -1529,7 +1560,7 @@ var Container = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
1529
1560
|
parentValue,
|
|
1530
1561
|
keyName
|
|
1531
1562
|
}),
|
|
1532
|
-
|
|
1563
|
+
/*#__PURE__*/ (0, import_jsx_runtime.jsx)(NestedClose, {
|
|
1533
1564
|
expandKey: subkeyid,
|
|
1534
1565
|
value,
|
|
1535
1566
|
level,
|
|
@@ -1541,7 +1572,7 @@ var Container = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
1541
1572
|
});
|
|
1542
1573
|
Container.displayName = "JVR.Container";
|
|
1543
1574
|
//#endregion
|
|
1544
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1575
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.js
|
|
1545
1576
|
var BraceLeft = (props) => {
|
|
1546
1577
|
var { BraceLeft: Comp = {} } = useSymbolsStore();
|
|
1547
1578
|
useSymbolsRender(Comp, props, "BraceLeft");
|
|
@@ -1549,7 +1580,7 @@ var BraceLeft = (props) => {
|
|
|
1549
1580
|
};
|
|
1550
1581
|
BraceLeft.displayName = "JVR.BraceLeft";
|
|
1551
1582
|
//#endregion
|
|
1552
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1583
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.js
|
|
1553
1584
|
var BraceRight = (props) => {
|
|
1554
1585
|
var { BraceRight: Comp = {} } = useSymbolsStore();
|
|
1555
1586
|
useSymbolsRender(Comp, props, "BraceRight");
|
|
@@ -1557,7 +1588,7 @@ var BraceRight = (props) => {
|
|
|
1557
1588
|
};
|
|
1558
1589
|
BraceRight.displayName = "JVR.BraceRight";
|
|
1559
1590
|
//#endregion
|
|
1560
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1591
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.js
|
|
1561
1592
|
var BracketsLeft = (props) => {
|
|
1562
1593
|
var { BracketsLeft: Comp = {} } = useSymbolsStore();
|
|
1563
1594
|
useSymbolsRender(Comp, props, "BracketsLeft");
|
|
@@ -1565,7 +1596,7 @@ var BracketsLeft = (props) => {
|
|
|
1565
1596
|
};
|
|
1566
1597
|
BracketsLeft.displayName = "JVR.BracketsLeft";
|
|
1567
1598
|
//#endregion
|
|
1568
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1599
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.js
|
|
1569
1600
|
var BracketsRight = (props) => {
|
|
1570
1601
|
var { BracketsRight: Comp = {} } = useSymbolsStore();
|
|
1571
1602
|
useSymbolsRender(Comp, props, "BracketsRight");
|
|
@@ -1573,7 +1604,7 @@ var BracketsRight = (props) => {
|
|
|
1573
1604
|
};
|
|
1574
1605
|
BracketsRight.displayName = "JVR.BracketsRight";
|
|
1575
1606
|
//#endregion
|
|
1576
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1607
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/Arrow.js
|
|
1577
1608
|
var Arrow = (props) => {
|
|
1578
1609
|
var { Arrow: Comp = {} } = useSymbolsStore();
|
|
1579
1610
|
useSymbolsRender(Comp, props, "Arrow");
|
|
@@ -1581,7 +1612,7 @@ var Arrow = (props) => {
|
|
|
1581
1612
|
};
|
|
1582
1613
|
Arrow.displayName = "JVR.Arrow";
|
|
1583
1614
|
//#endregion
|
|
1584
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1615
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/Colon.js
|
|
1585
1616
|
var Colon = (props) => {
|
|
1586
1617
|
var { Colon: Comp = {} } = useSymbolsStore();
|
|
1587
1618
|
useSymbolsRender(Comp, props, "Colon");
|
|
@@ -1589,7 +1620,7 @@ var Colon = (props) => {
|
|
|
1589
1620
|
};
|
|
1590
1621
|
Colon.displayName = "JVR.Colon";
|
|
1591
1622
|
//#endregion
|
|
1592
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1623
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/Quote.js
|
|
1593
1624
|
var Quote = (props) => {
|
|
1594
1625
|
var { Quote: Comp = {} } = useSymbolsStore();
|
|
1595
1626
|
useSymbolsRender(Comp, props, "Quote");
|
|
@@ -1597,7 +1628,7 @@ var Quote = (props) => {
|
|
|
1597
1628
|
};
|
|
1598
1629
|
Quote.displayName = "JVR.Quote";
|
|
1599
1630
|
//#endregion
|
|
1600
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1631
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.js
|
|
1601
1632
|
var ValueQuote = (props) => {
|
|
1602
1633
|
var { ValueQuote: Comp = {} } = useSymbolsStore();
|
|
1603
1634
|
useSymbolsRender(Comp, props, "ValueQuote");
|
|
@@ -1605,7 +1636,7 @@ var ValueQuote = (props) => {
|
|
|
1605
1636
|
};
|
|
1606
1637
|
ValueQuote.displayName = "JVR.ValueQuote";
|
|
1607
1638
|
//#endregion
|
|
1608
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1639
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Bigint.js
|
|
1609
1640
|
var Bigint = (props) => {
|
|
1610
1641
|
var { Bigint: Comp = {} } = useTypesStore();
|
|
1611
1642
|
useTypesRender(Comp, props, "Bigint");
|
|
@@ -1613,7 +1644,7 @@ var Bigint = (props) => {
|
|
|
1613
1644
|
};
|
|
1614
1645
|
Bigint.displayName = "JVR.Bigint";
|
|
1615
1646
|
//#endregion
|
|
1616
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1647
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Date.js
|
|
1617
1648
|
var Date$1 = (props) => {
|
|
1618
1649
|
var { Date: Comp = {} } = useTypesStore();
|
|
1619
1650
|
useTypesRender(Comp, props, "Date");
|
|
@@ -1621,7 +1652,7 @@ var Date$1 = (props) => {
|
|
|
1621
1652
|
};
|
|
1622
1653
|
Date$1.displayName = "JVR.Date";
|
|
1623
1654
|
//#endregion
|
|
1624
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1655
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/False.js
|
|
1625
1656
|
var False = (props) => {
|
|
1626
1657
|
var { False: Comp = {} } = useTypesStore();
|
|
1627
1658
|
useTypesRender(Comp, props, "False");
|
|
@@ -1629,7 +1660,7 @@ var False = (props) => {
|
|
|
1629
1660
|
};
|
|
1630
1661
|
False.displayName = "JVR.False";
|
|
1631
1662
|
//#endregion
|
|
1632
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1663
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Float.js
|
|
1633
1664
|
var Float = (props) => {
|
|
1634
1665
|
var { Float: Comp = {} } = useTypesStore();
|
|
1635
1666
|
useTypesRender(Comp, props, "Float");
|
|
@@ -1637,7 +1668,7 @@ var Float = (props) => {
|
|
|
1637
1668
|
};
|
|
1638
1669
|
Float.displayName = "JVR.Float";
|
|
1639
1670
|
//#endregion
|
|
1640
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1671
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Int.js
|
|
1641
1672
|
var Int = (props) => {
|
|
1642
1673
|
var { Int: Comp = {} } = useTypesStore();
|
|
1643
1674
|
useTypesRender(Comp, props, "Int");
|
|
@@ -1645,7 +1676,7 @@ var Int = (props) => {
|
|
|
1645
1676
|
};
|
|
1646
1677
|
Int.displayName = "JVR.Int";
|
|
1647
1678
|
//#endregion
|
|
1648
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1679
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Map.js
|
|
1649
1680
|
var Map$1 = (props) => {
|
|
1650
1681
|
var { Map: Comp = {} } = useTypesStore();
|
|
1651
1682
|
useTypesRender(Comp, props, "Map");
|
|
@@ -1653,7 +1684,7 @@ var Map$1 = (props) => {
|
|
|
1653
1684
|
};
|
|
1654
1685
|
Map$1.displayName = "JVR.Map";
|
|
1655
1686
|
//#endregion
|
|
1656
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1687
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Nan.js
|
|
1657
1688
|
var Nan = (props) => {
|
|
1658
1689
|
var { Nan: Comp = {} } = useTypesStore();
|
|
1659
1690
|
useTypesRender(Comp, props, "Nan");
|
|
@@ -1661,7 +1692,7 @@ var Nan = (props) => {
|
|
|
1661
1692
|
};
|
|
1662
1693
|
Nan.displayName = "JVR.Nan";
|
|
1663
1694
|
//#endregion
|
|
1664
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1695
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Null.js
|
|
1665
1696
|
var Null = (props) => {
|
|
1666
1697
|
var { Null: Comp = {} } = useTypesStore();
|
|
1667
1698
|
useTypesRender(Comp, props, "Null");
|
|
@@ -1669,7 +1700,7 @@ var Null = (props) => {
|
|
|
1669
1700
|
};
|
|
1670
1701
|
Null.displayName = "JVR.Null";
|
|
1671
1702
|
//#endregion
|
|
1672
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1703
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Set.js
|
|
1673
1704
|
var Set$1 = (props) => {
|
|
1674
1705
|
var { Set: Comp = {} } = useTypesStore();
|
|
1675
1706
|
useTypesRender(Comp, props, "Set");
|
|
@@ -1677,7 +1708,7 @@ var Set$1 = (props) => {
|
|
|
1677
1708
|
};
|
|
1678
1709
|
Set$1.displayName = "JVR.Set";
|
|
1679
1710
|
//#endregion
|
|
1680
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1711
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/String.js
|
|
1681
1712
|
var StringText = (props) => {
|
|
1682
1713
|
var { Str: Comp = {} } = useTypesStore();
|
|
1683
1714
|
useTypesRender(Comp, props, "Str");
|
|
@@ -1685,7 +1716,7 @@ var StringText = (props) => {
|
|
|
1685
1716
|
};
|
|
1686
1717
|
StringText.displayName = "JVR.StringText";
|
|
1687
1718
|
//#endregion
|
|
1688
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1719
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/True.js
|
|
1689
1720
|
var True = (props) => {
|
|
1690
1721
|
var { True: Comp = {} } = useTypesStore();
|
|
1691
1722
|
useTypesRender(Comp, props, "True");
|
|
@@ -1693,7 +1724,7 @@ var True = (props) => {
|
|
|
1693
1724
|
};
|
|
1694
1725
|
True.displayName = "JVR.True";
|
|
1695
1726
|
//#endregion
|
|
1696
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1727
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Undefined.js
|
|
1697
1728
|
var Undefined = (props) => {
|
|
1698
1729
|
var { Undefined: Comp = {} } = useTypesStore();
|
|
1699
1730
|
useTypesRender(Comp, props, "Undefined");
|
|
@@ -1701,7 +1732,7 @@ var Undefined = (props) => {
|
|
|
1701
1732
|
};
|
|
1702
1733
|
Undefined.displayName = "JVR.Undefined";
|
|
1703
1734
|
//#endregion
|
|
1704
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1735
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/types/Url.js
|
|
1705
1736
|
var Url = (props) => {
|
|
1706
1737
|
var { Url: Comp = {} } = useTypesStore();
|
|
1707
1738
|
useTypesRender(Comp, props, "Url");
|
|
@@ -1709,7 +1740,7 @@ var Url = (props) => {
|
|
|
1709
1740
|
};
|
|
1710
1741
|
Url.displayName = "JVR.Url";
|
|
1711
1742
|
//#endregion
|
|
1712
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1743
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/section/Copied.js
|
|
1713
1744
|
var Copied = (props) => {
|
|
1714
1745
|
var { Copied: Comp = {} } = useSectionStore();
|
|
1715
1746
|
useSectionRender(Comp, props, "Copied");
|
|
@@ -1717,7 +1748,7 @@ var Copied = (props) => {
|
|
|
1717
1748
|
};
|
|
1718
1749
|
Copied.displayName = "JVR.Copied";
|
|
1719
1750
|
//#endregion
|
|
1720
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1751
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/index.js
|
|
1721
1752
|
var _excluded = [
|
|
1722
1753
|
"className",
|
|
1723
1754
|
"style",
|
|
@@ -1737,7 +1768,7 @@ var _excluded = [
|
|
|
1737
1768
|
"onCopied",
|
|
1738
1769
|
"beforeCopy"
|
|
1739
1770
|
];
|
|
1740
|
-
var JsonView =
|
|
1771
|
+
var JsonView = /*#__PURE__*/ (0, import_react.forwardRef)((props, ref) => {
|
|
1741
1772
|
var { className = "", style, value, children, collapsed = false, shouldExpandNodeInitially, indentWidth = 15, displayObjectSize = true, shortenTextAfterLength = 30, stringEllipsis, highlightUpdates = true, enableClipboard = true, displayDataTypes = true, objectSortKeys = false, onExpand, onCopied, beforeCopy } = props, elmProps = (0, import_objectWithoutPropertiesLoose.default)(props, _excluded);
|
|
1742
1773
|
var defaultStyle = (0, import_extends.default)({
|
|
1743
1774
|
lineHeight: 1.4,
|
|
@@ -1751,7 +1782,7 @@ var JsonView = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
1751
1782
|
"w-rjv",
|
|
1752
1783
|
className
|
|
1753
1784
|
].filter(Boolean).join(" ");
|
|
1754
|
-
return
|
|
1785
|
+
return /*#__PURE__*/ (0, import_jsx_runtime.jsxs)(Provider, {
|
|
1755
1786
|
initialState: {
|
|
1756
1787
|
value,
|
|
1757
1788
|
objectSortKeys,
|
|
@@ -1768,7 +1799,7 @@ var JsonView = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
1768
1799
|
beforeCopy
|
|
1769
1800
|
},
|
|
1770
1801
|
initialTypes: { displayDataTypes },
|
|
1771
|
-
children: [
|
|
1802
|
+
children: [/*#__PURE__*/ (0, import_jsx_runtime.jsx)(Container, (0, import_extends.default)({ value }, elmProps, {
|
|
1772
1803
|
ref,
|
|
1773
1804
|
className: cls,
|
|
1774
1805
|
style: defaultStyle
|
|
@@ -1804,7 +1835,7 @@ JsonView.KeyName = KeyName;
|
|
|
1804
1835
|
JsonView.Row = Row;
|
|
1805
1836
|
JsonView.displayName = "JVR.JsonView";
|
|
1806
1837
|
//#endregion
|
|
1807
|
-
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.
|
|
1838
|
+
//#region ../../node_modules/.pnpm/@uiw+react-json-view@2.0.0-alpha.41_@babel+runtime@7.29.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@uiw/react-json-view/esm/theme/light.js
|
|
1808
1839
|
var lightTheme = {
|
|
1809
1840
|
"--w-rjv-font-family": "monospace",
|
|
1810
1841
|
"--w-rjv-color": "#002b36",
|
|
@@ -1835,60 +1866,83 @@ var lightTheme = {
|
|
|
1835
1866
|
};
|
|
1836
1867
|
//#endregion
|
|
1837
1868
|
//#region ~icons/lucide/arrow-left.jsx
|
|
1838
|
-
var lucideArrowLeft = (props) => /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1869
|
+
var lucideArrowLeft = ({ title, titleId, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
1839
1870
|
viewBox: "0 0 24 24",
|
|
1840
1871
|
width: "1.2em",
|
|
1841
1872
|
height: "1.2em",
|
|
1873
|
+
ref,
|
|
1874
|
+
"aria-labelledby": titleId,
|
|
1842
1875
|
...props,
|
|
1843
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("
|
|
1876
|
+
children: [title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", {
|
|
1877
|
+
id: titleId,
|
|
1878
|
+
children: title
|
|
1879
|
+
}) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
1844
1880
|
fill: "none",
|
|
1845
1881
|
stroke: "currentColor",
|
|
1846
1882
|
strokeLinecap: "round",
|
|
1847
1883
|
strokeLinejoin: "round",
|
|
1848
1884
|
strokeWidth: 2,
|
|
1849
1885
|
d: "m12 19l-7-7l7-7m7 7H5"
|
|
1850
|
-
})
|
|
1886
|
+
})]
|
|
1851
1887
|
});
|
|
1888
|
+
var ForwardRef$3 = (0, import_react.forwardRef)(lucideArrowLeft);
|
|
1852
1889
|
//#endregion
|
|
1853
1890
|
//#region ~icons/lucide/check.jsx
|
|
1854
|
-
var lucideCheck = (props) => /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1891
|
+
var lucideCheck = ({ title, titleId, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
1855
1892
|
viewBox: "0 0 24 24",
|
|
1856
1893
|
width: "1.2em",
|
|
1857
1894
|
height: "1.2em",
|
|
1895
|
+
ref,
|
|
1896
|
+
"aria-labelledby": titleId,
|
|
1858
1897
|
...props,
|
|
1859
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("
|
|
1898
|
+
children: [title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", {
|
|
1899
|
+
id: titleId,
|
|
1900
|
+
children: title
|
|
1901
|
+
}) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
1860
1902
|
fill: "none",
|
|
1861
1903
|
stroke: "currentColor",
|
|
1862
1904
|
strokeLinecap: "round",
|
|
1863
1905
|
strokeLinejoin: "round",
|
|
1864
1906
|
strokeWidth: 2,
|
|
1865
1907
|
d: "M20 6L9 17l-5-5"
|
|
1866
|
-
})
|
|
1908
|
+
})]
|
|
1867
1909
|
});
|
|
1910
|
+
var ForwardRef$2 = (0, import_react.forwardRef)(lucideCheck);
|
|
1868
1911
|
//#endregion
|
|
1869
1912
|
//#region ~icons/lucide/chevron-down.jsx
|
|
1870
|
-
var lucideChevronDown = (props) => /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1913
|
+
var lucideChevronDown = ({ title, titleId, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
1871
1914
|
viewBox: "0 0 24 24",
|
|
1872
1915
|
width: "1.2em",
|
|
1873
1916
|
height: "1.2em",
|
|
1917
|
+
ref,
|
|
1918
|
+
"aria-labelledby": titleId,
|
|
1874
1919
|
...props,
|
|
1875
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("
|
|
1920
|
+
children: [title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", {
|
|
1921
|
+
id: titleId,
|
|
1922
|
+
children: title
|
|
1923
|
+
}) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
1876
1924
|
fill: "none",
|
|
1877
1925
|
stroke: "currentColor",
|
|
1878
1926
|
strokeLinecap: "round",
|
|
1879
1927
|
strokeLinejoin: "round",
|
|
1880
1928
|
strokeWidth: 2,
|
|
1881
1929
|
d: "m6 9l6 6l6-6"
|
|
1882
|
-
})
|
|
1930
|
+
})]
|
|
1883
1931
|
});
|
|
1932
|
+
var ForwardRef$1 = (0, import_react.forwardRef)(lucideChevronDown);
|
|
1884
1933
|
//#endregion
|
|
1885
1934
|
//#region ~icons/lucide/copy.jsx
|
|
1886
|
-
var lucideCopy = (props) => /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1935
|
+
var lucideCopy = ({ title, titleId, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
1887
1936
|
viewBox: "0 0 24 24",
|
|
1888
1937
|
width: "1.2em",
|
|
1889
1938
|
height: "1.2em",
|
|
1939
|
+
ref,
|
|
1940
|
+
"aria-labelledby": titleId,
|
|
1890
1941
|
...props,
|
|
1891
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.
|
|
1942
|
+
children: [title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", {
|
|
1943
|
+
id: titleId,
|
|
1944
|
+
children: title
|
|
1945
|
+
}) : null, /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
1892
1946
|
fill: "none",
|
|
1893
1947
|
stroke: "currentColor",
|
|
1894
1948
|
strokeLinecap: "round",
|
|
@@ -1902,8 +1956,9 @@ var lucideCopy = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
|
1902
1956
|
rx: 2,
|
|
1903
1957
|
ry: 2
|
|
1904
1958
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })]
|
|
1905
|
-
})
|
|
1959
|
+
})]
|
|
1906
1960
|
});
|
|
1961
|
+
var ForwardRef = (0, import_react.forwardRef)(lucideCopy);
|
|
1907
1962
|
//#endregion
|
|
1908
1963
|
//#region src/routes/requests/show.tsx?tsr-split=component
|
|
1909
1964
|
function RequestShowPage() {
|
|
@@ -1948,7 +2003,7 @@ function CopyButton({ text, dark }) {
|
|
|
1948
2003
|
type: "button",
|
|
1949
2004
|
className: `absolute top-2 right-2 p-1 rounded transition-colors ${dark ? "text-sand-500 hover:text-sand-300" : "text-sand-400 hover:text-sand-600"}`,
|
|
1950
2005
|
onClick: handleCopy,
|
|
1951
|
-
children: copied ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2006
|
+
children: copied ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$2, { className: "size-3.5 text-sage-500" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef, { className: "size-3.5" })
|
|
1952
2007
|
});
|
|
1953
2008
|
}
|
|
1954
2009
|
var DATA_IMAGE_TAG_RE = /<img\s+[^>]*src=["'](data:image\/[^"']+;base64,[^"']+)["'][^>]*(?:alt=["']([^"']*)["'][^>]*)?\/?>/gi;
|
|
@@ -2011,18 +2066,19 @@ function ImageAwareContent({ text, markdown }) {
|
|
|
2011
2066
|
})
|
|
2012
2067
|
}, `image-${index}`)), viewerSrc && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
2013
2068
|
className: "fixed inset-0 z-50 bg-black/70 p-4 flex items-center justify-center",
|
|
2014
|
-
onClick: () =>
|
|
2069
|
+
onClick: (e) => {
|
|
2070
|
+
if (e.target === e.currentTarget) setViewerSrc(null);
|
|
2071
|
+
},
|
|
2015
2072
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
|
|
2016
2073
|
type: "button",
|
|
2017
2074
|
className: "absolute top-4 right-4 p-2 rounded-full bg-white/90 text-sand-700 hover:bg-white",
|
|
2018
2075
|
onClick: () => setViewerSrc(null),
|
|
2019
2076
|
title: "Close image",
|
|
2020
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2077
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$4, { className: "size-5" })
|
|
2021
2078
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", {
|
|
2022
2079
|
src: viewerSrc,
|
|
2023
2080
|
alt: "generated preview",
|
|
2024
|
-
className: "max-h-full max-w-full object-contain rounded-md bg-white"
|
|
2025
|
-
onClick: (e) => e.stopPropagation()
|
|
2081
|
+
className: "max-h-full max-w-full object-contain rounded-md bg-white"
|
|
2026
2082
|
})]
|
|
2027
2083
|
})]
|
|
2028
2084
|
});
|
|
@@ -2075,7 +2131,7 @@ function Section({ title, defaultOpen = true, headerMetadata, onOpenChange, chil
|
|
|
2075
2131
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("summary", {
|
|
2076
2132
|
className: "panel-header flex min-w-0 items-center gap-1.5 whitespace-nowrap cursor-pointer select-none list-none px-4 py-2.5",
|
|
2077
2133
|
children: [
|
|
2078
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2134
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$1, { className: "size-3.5 shrink-0 text-sand-400 transition-transform group-open:rotate-0 -rotate-90" }),
|
|
2079
2135
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2080
2136
|
className: "shrink-0 text-[11px] uppercase tracking-wider text-sand-500 font-medium",
|
|
2081
2137
|
children: title
|
|
@@ -2103,7 +2159,7 @@ function Metric({ label, value }) {
|
|
|
2103
2159
|
})]
|
|
2104
2160
|
});
|
|
2105
2161
|
}
|
|
2106
|
-
var STATUS_STYLE = new Map([
|
|
2162
|
+
var STATUS_STYLE = /* @__PURE__ */ new Map([
|
|
2107
2163
|
["running", "bg-blue-100 text-blue-600"],
|
|
2108
2164
|
["succeeded", "bg-sage-100 text-sage-600"],
|
|
2109
2165
|
["error", "bg-red-100 text-red-600"],
|
|
@@ -2150,7 +2206,7 @@ function HeaderBar({ data }) {
|
|
|
2150
2206
|
data.service_tier === "fast" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2151
2207
|
title: "Fast 모드",
|
|
2152
2208
|
className: "inline-flex shrink-0",
|
|
2153
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2209
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$5, {
|
|
2154
2210
|
"aria-label": "Fast 모드",
|
|
2155
2211
|
className: "size-3.5 text-[#1877F2] [&_path]:fill-current"
|
|
2156
2212
|
})
|
|
@@ -2159,7 +2215,7 @@ function HeaderBar({ data }) {
|
|
|
2159
2215
|
className: "text-[10px] px-1.5 py-0.5 rounded-full bg-caution-400/15 text-caution-500 font-medium uppercase",
|
|
2160
2216
|
children: ["fallback ×", data.fallback_count]
|
|
2161
2217
|
}),
|
|
2162
|
-
|
|
2218
|
+
data.status !== "succeeded" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2163
2219
|
className: `text-[10px] px-1.5 py-0.5 rounded-full font-medium uppercase ${STATUS_STYLE.get(data.status) ?? "bg-sand-100 text-sand-500"}`,
|
|
2164
2220
|
children: data.status
|
|
2165
2221
|
}),
|
|
@@ -2398,7 +2454,7 @@ function ToolCallItem({ entry }) {
|
|
|
2398
2454
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("summary", {
|
|
2399
2455
|
className: "flex items-center gap-2 px-3 py-2 cursor-pointer select-none list-none hover:bg-sand-50 transition-colors rounded-md",
|
|
2400
2456
|
children: [
|
|
2401
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2457
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$1, { className: "size-3 text-sand-400 transition-transform group-open/tool:rotate-0 -rotate-90 shrink-0" }),
|
|
2402
2458
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
2403
2459
|
className: "text-[10px] px-1.5 py-0.5 rounded bg-sand-100 text-sand-500 font-mono shrink-0",
|
|
2404
2460
|
children: ["call ", entry.callIndex + 1]
|
|
@@ -2456,7 +2512,7 @@ function ReasoningBlock({ stepId }) {
|
|
|
2456
2512
|
onToggle: (e) => setOpened(e.currentTarget.open),
|
|
2457
2513
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("summary", {
|
|
2458
2514
|
className: "flex items-center gap-2 cursor-pointer select-none list-none",
|
|
2459
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2515
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$1, { className: "size-3 text-sand-400 transition-transform group-open/reason:rotate-0 -rotate-90 shrink-0" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2460
2516
|
className: "text-[10px] uppercase tracking-wider text-sand-500 font-medium",
|
|
2461
2517
|
children: "Reasoning"
|
|
2462
2518
|
})]
|
|
@@ -2485,7 +2541,7 @@ function StepTreeItem({ entry, tokensPerSecEnabled }) {
|
|
|
2485
2541
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("summary", {
|
|
2486
2542
|
className: "flex items-center gap-2 py-2 cursor-pointer select-none list-none",
|
|
2487
2543
|
children: [
|
|
2488
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2544
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$1, { className: "size-3.5 text-sand-400 transition-transform group-open/step:rotate-0 -rotate-90 shrink-0" }),
|
|
2489
2545
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
2490
2546
|
className: "text-[10px] px-1.5 py-0.5 rounded bg-sienna-100 text-sienna-700 font-mono shrink-0",
|
|
2491
2547
|
children: ["step ", entry.stepIndex + 1]
|
|
@@ -2894,7 +2950,12 @@ function ResponseTypePanel({ id }) {
|
|
|
2894
2950
|
});
|
|
2895
2951
|
}
|
|
2896
2952
|
function RequestDetail({ id }) {
|
|
2897
|
-
const { data, isLoading, error, isError } = RequestLogService.useRequestLog("A", id);
|
|
2953
|
+
const { data, isLoading, error, isError, refresh } = RequestLogService.useRequestLog("A", id);
|
|
2954
|
+
const isRunning = data?.status === "running";
|
|
2955
|
+
(0, import_react.useEffect)(() => {
|
|
2956
|
+
const timer = isRunning ? setInterval(() => void refresh(), 3e3) : void 0;
|
|
2957
|
+
return () => clearInterval(timer);
|
|
2958
|
+
}, [isRunning, refresh]);
|
|
2898
2959
|
const { data: stepsData, isLoading: isStepsLoading, isError: isStepsError } = RequestLogStepService.useRequestLogSteps("T", {
|
|
2899
2960
|
request_log_id: id,
|
|
2900
2961
|
num: 0,
|
|
@@ -2915,7 +2976,7 @@ function RequestDetail({ id }) {
|
|
|
2915
2976
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
|
|
2916
2977
|
to: "/logs",
|
|
2917
2978
|
className: "flex items-center gap-1 text-[13px] text-sand-500 hover:text-sienna-500 mb-4",
|
|
2918
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2979
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$3, { className: "size-3.5" }), "Back to Logs"]
|
|
2919
2980
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
|
|
2920
2981
|
role: "alert",
|
|
2921
2982
|
className: "text-danger-500 text-sm",
|
|
@@ -2965,7 +3026,7 @@ function RequestDetail({ id }) {
|
|
|
2965
3026
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
|
|
2966
3027
|
to: "/logs",
|
|
2967
3028
|
className: "inline-flex items-center gap-1 text-[13px] text-sand-500 hover:text-sienna-500 transition-colors",
|
|
2968
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
3029
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ForwardRef$3, { className: "size-3.5" }), "Back to Logs"]
|
|
2969
3030
|
}),
|
|
2970
3031
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(HeaderBar, { data }),
|
|
2971
3032
|
data.error_message && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorPanel, { message: data.error_message }),
|