@qwik.dev/devtools 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin/index.js +8 -5
- package/dist/ui/_virtual/index.qwik.cjs +5 -4
- package/dist/ui/_virtual/index.qwik.mjs +5 -3
- package/dist/ui/components/Tree/Tree.qwik.cjs +36 -16
- package/dist/ui/components/Tree/Tree.qwik.mjs +36 -16
- package/dist/ui/devtools.qwik.cjs +0 -20
- package/dist/ui/devtools.qwik.mjs +1 -21
- package/dist/ui/features/RenderTree/RenderTree.qwik.cjs +125 -62
- package/dist/ui/features/RenderTree/RenderTree.qwik.mjs +125 -62
- package/dist/ui/features/RenderTree/formatTreeData.qwik.cjs +3 -0
- package/dist/ui/features/RenderTree/formatTreeData.qwik.mjs +3 -0
- package/dist/ui/global.css.qwik.cjs +101 -28
- package/dist/ui/global.css.qwik.mjs +101 -28
- package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +0 -17
- package/dist/ui/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +0 -17
- package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs +1 -1
- package/dist/ui/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs +1 -1
- package/package.json +4 -1
- package/dist/ui/_virtual/client.qwik.cjs +0 -5
- package/dist/ui/_virtual/client.qwik.mjs +0 -5
- package/dist/ui/_virtual/client.qwik2.cjs +0 -4
- package/dist/ui/_virtual/client.qwik2.mjs +0 -4
- package/dist/ui/_virtual/index.qwik2.cjs +0 -8
- package/dist/ui/_virtual/index.qwik2.mjs +0 -8
- package/dist/ui/_virtual/index.qwik3.cjs +0 -4
- package/dist/ui/_virtual/index.qwik3.mjs +0 -4
- package/dist/ui/_virtual/index.qwik4.cjs +0 -4
- package/dist/ui/_virtual/index.qwik4.mjs +0 -4
- package/dist/ui/_virtual/index.qwik5.cjs +0 -6
- package/dist/ui/_virtual/index.qwik5.mjs +0 -7
- package/dist/ui/_virtual/index.qwik6.cjs +0 -4
- package/dist/ui/_virtual/index.qwik6.mjs +0 -4
- package/dist/ui/_virtual/jsx-runtime.qwik.cjs +0 -5
- package/dist/ui/_virtual/jsx-runtime.qwik.mjs +0 -5
- package/dist/ui/_virtual/jsx-runtime.qwik2.cjs +0 -4
- package/dist/ui/_virtual/jsx-runtime.qwik2.mjs +0 -4
- package/dist/ui/_virtual/react-dom-server-legacy.node.development.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-dom-server-legacy.node.development.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-dom-server-legacy.node.production.min.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-dom-server-legacy.node.production.min.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-dom-server.node.development.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-dom-server.node.development.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-dom-server.node.production.min.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-dom-server.node.production.min.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-dom.development.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-dom.development.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-dom.production.min.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-dom.production.min.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-jsx-runtime.development.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-jsx-runtime.development.qwik.mjs +0 -4
- package/dist/ui/_virtual/react-jsx-runtime.production.min.qwik.cjs +0 -4
- package/dist/ui/_virtual/react-jsx-runtime.production.min.qwik.mjs +0 -4
- package/dist/ui/_virtual/react.development.qwik.cjs +0 -4
- package/dist/ui/_virtual/react.development.qwik.mjs +0 -4
- package/dist/ui/_virtual/react.production.min.qwik.cjs +0 -4
- package/dist/ui/_virtual/react.production.min.qwik.mjs +0 -4
- package/dist/ui/_virtual/scheduler.development.qwik.cjs +0 -4
- package/dist/ui/_virtual/scheduler.development.qwik.mjs +0 -4
- package/dist/ui/_virtual/scheduler.production.min.qwik.cjs +0 -4
- package/dist/ui/_virtual/scheduler.production.min.qwik.mjs +0 -4
- package/dist/ui/_virtual/server.node.qwik.cjs +0 -5
- package/dist/ui/_virtual/server.node.qwik.mjs +0 -5
- package/dist/ui/_virtual/server.node.qwik2.cjs +0 -4
- package/dist/ui/_virtual/server.node.qwik2.mjs +0 -4
- package/dist/ui/features/Components/Components.qwik.cjs +0 -108
- package/dist/ui/features/Components/Components.qwik.mjs +0 -108
- package/dist/ui/features/Components/components/Tree.qwik.cjs +0 -60
- package/dist/ui/features/Components/components/Tree.qwik.mjs +0 -60
- package/dist/ui/features/Components/styles.css.qwik.cjs +0 -3
- package/dist/ui/features/Components/styles.css.qwik.mjs +0 -4
- package/dist/ui/lib-types/ui/src/features/Components/Components.d.ts +0 -19
- package/dist/ui/lib-types/ui/src/features/Components/components/Tree.d.ts +0 -1
- package/dist/ui/node_modules/.pnpm/@qwik.dev_react@2.0.0-beta.9_@qwik.dev_core@2.0.0-beta.9_prettier@3.3.3_vite@7.1.3_@typ_acdb3a1fab641cc17ee740fd3c684547/node_modules/@qwik.dev/react/lib/index.qwik.qwik.cjs +0 -269
- package/dist/ui/node_modules/.pnpm/@qwik.dev_react@2.0.0-beta.9_@qwik.dev_core@2.0.0-beta.9_prettier@3.3.3_vite@7.1.3_@typ_acdb3a1fab641cc17ee740fd3c684547/node_modules/@qwik.dev/react/lib/index.qwik.qwik.mjs +0 -269
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/EventEmitter.qwik.cjs +0 -162
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/EventEmitter.qwik.mjs +0 -162
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/ControlledTreeEnvironment.qwik.cjs +0 -48
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/ControlledTreeEnvironment.qwik.mjs +0 -48
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/InteractionManagerProvider.qwik.cjs +0 -29
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/InteractionManagerProvider.qwik.mjs +0 -29
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/buildInteractionMode.qwik.cjs +0 -19
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/buildInteractionMode.qwik.mjs +0 -19
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/layoutUtils.qwik.cjs +0 -17
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/layoutUtils.qwik.mjs +0 -17
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/mergeInteractionManagers.qwik.cjs +0 -22
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/mergeInteractionManagers.qwik.mjs +0 -22
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useControlledTreeEnvironmentProps.qwik.cjs +0 -127
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useControlledTreeEnvironmentProps.qwik.mjs +0 -127
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useLinearItems.qwik.cjs +0 -7
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/controlledEnvironment/useLinearItems.qwik.mjs +0 -7
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DragAndDropProvider.qwik.cjs +0 -231
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DragAndDropProvider.qwik.mjs +0 -231
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DraggingPositionEvaluation.qwik.cjs +0 -179
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/DraggingPositionEvaluation.qwik.mjs +0 -179
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useCanDropAt.qwik.cjs +0 -30
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useCanDropAt.qwik.mjs +0 -30
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useDraggingPosition.qwik.cjs +0 -87
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useDraggingPosition.qwik.mjs +0 -87
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetParentOfLinearItem.qwik.cjs +0 -21
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetParentOfLinearItem.qwik.mjs +0 -21
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetViableDragPositions.qwik.cjs +0 -90
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/drag/useGetViableDragPositions.qwik.mjs +0 -90
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/EnvironmentActionsProvider.qwik.cjs +0 -321
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/EnvironmentActionsProvider.qwik.mjs +0 -321
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/useCreatedEnvironmentRef.qwik.cjs +0 -24
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/environmentActions/useCreatedEnvironmentRef.qwik.mjs +0 -24
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/defaultKeyboardBindings.qwik.cjs +0 -18
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/defaultKeyboardBindings.qwik.mjs +0 -18
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useHotkey.qwik.cjs +0 -76
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useHotkey.qwik.mjs +0 -76
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKey.qwik.cjs +0 -15
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKey.qwik.mjs +0 -15
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKeyboardBindings.qwik.cjs +0 -26
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/hotkeys/useKeyboardBindings.qwik.mjs +0 -26
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickArrowToExpandInteractionManager.qwik.cjs +0 -49
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickArrowToExpandInteractionManager.qwik.mjs +0 -49
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickItemToExpandInteractionManager.qwik.cjs +0 -52
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/ClickItemToExpandInteractionManager.qwik.mjs +0 -52
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/DoubleClickItemToExpandInteractionManager.qwik.cjs +0 -56
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/interactionMode/DoubleClickItemToExpandInteractionManager.qwik.mjs +0 -56
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/isControlKey.qwik.cjs +0 -6
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/isControlKey.qwik.mjs +0 -6
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/createDefaultRenderers.qwik.cjs +0 -136
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/createDefaultRenderers.qwik.mjs +0 -136
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/useRenderers.qwik.cjs +0 -42
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/renderers/useRenderers.qwik.mjs +0 -42
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/SearchInput.qwik.cjs +0 -69
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/SearchInput.qwik.mjs +0 -69
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/defaultMatcher.qwik.cjs +0 -6
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/defaultMatcher.qwik.mjs +0 -6
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/useSearchMatchFocus.qwik.cjs +0 -37
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/search/useSearchMatchFocus.qwik.mjs +0 -37
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/DragBetweenLine.qwik.cjs +0 -31
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/DragBetweenLine.qwik.mjs +0 -31
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/LiveDescription.qwik.cjs +0 -52
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/LiveDescription.qwik.mjs +0 -52
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/MaybeLiveDescription.qwik.cjs +0 -14
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/MaybeLiveDescription.qwik.mjs +0 -14
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/Tree.qwik.cjs +0 -87
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/Tree.qwik.mjs +0 -87
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/TreeManager.qwik.cjs +0 -62
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/TreeManager.qwik.mjs +0 -62
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/defaultLiveDescriptors.qwik.cjs +0 -10
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/defaultLiveDescriptors.qwik.mjs +0 -10
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/getItemsLinearly.qwik.cjs +0 -19
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/getItemsLinearly.qwik.mjs +0 -19
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/resolveLiveDescriptor.qwik.cjs +0 -41
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/resolveLiveDescriptor.qwik.mjs +0 -41
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/scrollIntoView.qwik.cjs +0 -19
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/scrollIntoView.qwik.mjs +0 -19
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useCreatedTreeInformation.qwik.cjs +0 -37
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useCreatedTreeInformation.qwik.mjs +0 -37
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useFocusWithin.qwik.cjs +0 -31
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useFocusWithin.qwik.mjs +0 -31
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useMoveFocusToIndex.qwik.cjs +0 -25
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useMoveFocusToIndex.qwik.mjs +0 -25
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useSelectUpTo.qwik.cjs +0 -82
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useSelectUpTo.qwik.mjs +0 -82
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useTreeKeyboardBindings.qwik.cjs +0 -164
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useTreeKeyboardBindings.qwik.mjs +0 -164
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useViewState.qwik.cjs +0 -11
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/tree/useViewState.qwik.mjs +0 -11
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/TreeActionsProvider.qwik.cjs +0 -87
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/TreeActionsProvider.qwik.mjs +0 -87
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/useCreatedTreeRef.qwik.cjs +0 -26
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeActions/useCreatedTreeRef.qwik.mjs +0 -26
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemChildren.qwik.cjs +0 -27
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemChildren.qwik.mjs +0 -27
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemElement.qwik.cjs +0 -53
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemElement.qwik.mjs +0 -53
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemRenamingInput.qwik.cjs +0 -78
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/TreeItemRenamingInput.qwik.mjs +0 -78
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/useTreeItemRenderContext.qwik.cjs +0 -200
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/treeItem/useTreeItemRenderContext.qwik.mjs +0 -200
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/types.qwik.cjs +0 -8
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/types.qwik.mjs +0 -9
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/CompleteTreeDataProvider.qwik.cjs +0 -145
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/CompleteTreeDataProvider.qwik.mjs +0 -145
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/StaticTreeDataProvider.qwik.cjs +0 -152
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/StaticTreeDataProvider.qwik.mjs +0 -152
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/UncontrolledTreeEnvironment.qwik.cjs +0 -320
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/uncontrolledEnvironment/UncontrolledTreeEnvironment.qwik.mjs +0 -320
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useCallSoon.qwik.cjs +0 -29
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useCallSoon.qwik.mjs +0 -29
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useGetOriginalItemOrder.qwik.cjs +0 -27
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useGetOriginalItemOrder.qwik.mjs +0 -27
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useHtmlElementEventListener.qwik.cjs +0 -18
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useHtmlElementEventListener.qwik.mjs +0 -18
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useIsMounted.qwik.cjs +0 -14
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useIsMounted.qwik.mjs +0 -14
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useRefCopy.qwik.cjs +0 -9
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useRefCopy.qwik.mjs +0 -9
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useSideEffect.qwik.cjs +0 -30
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useSideEffect.qwik.mjs +0 -30
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useStableHandler.qwik.cjs +0 -17
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/useStableHandler.qwik.mjs +0 -17
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/utils.qwik.cjs +0 -27
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/utils.qwik.mjs +0 -27
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/waitFor.qwik.cjs +0 -30
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/esm/waitFor.qwik.mjs +0 -30
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/style-modern.css.qwik.cjs +0 -3
- package/dist/ui/node_modules/.pnpm/react-complex-tree@2.4.6_react@18.2.0/node_modules/react-complex-tree/lib/style-modern.css.qwik.mjs +0 -4
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.qwik.cjs +0 -5418
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.qwik.mjs +0 -5418
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.qwik.cjs +0 -1531
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.qwik.mjs +0 -1531
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.development.qwik.cjs +0 -5432
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.development.qwik.mjs +0 -5432
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.production.min.qwik.cjs +0 -1595
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom-server.node.production.min.qwik.mjs +0 -1595
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.qwik.cjs +0 -21128
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.qwik.mjs +0 -21128
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.qwik.cjs +0 -6420
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.qwik.mjs +0 -6420
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.qwik.cjs +0 -34
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/client.qwik.mjs +0 -34
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.qwik.cjs +0 -31
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.qwik.mjs +0 -31
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/server.node.qwik.cjs +0 -28
- package/dist/ui/node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/server.node.qwik.mjs +0 -28
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.qwik.cjs +0 -875
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.development.qwik.mjs +0 -875
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.qwik.cjs +0 -33
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react-jsx-runtime.production.min.qwik.mjs +0 -33
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.qwik.cjs +0 -1887
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.qwik.mjs +0 -1887
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.qwik.cjs +0 -265
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.qwik.mjs +0 -265
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/index.qwik.cjs +0 -17
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/index.qwik.mjs +0 -17
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.qwik.cjs +0 -17
- package/dist/ui/node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.qwik.mjs +0 -17
- package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.qwik.cjs +0 -453
- package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.development.qwik.mjs +0 -453
- package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.qwik.cjs +0 -248
- package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.qwik.mjs +0 -248
- package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.qwik.cjs +0 -17
- package/dist/ui/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.qwik.mjs +0 -17
|
@@ -13,7 +13,26 @@ import { QRENDERFN, QSEQ, QPROPS } from "../../packages/kit/src/constants.qwik.m
|
|
|
13
13
|
import { getViteClientRpc } from "../../packages/kit/src/context.qwik.mjs";
|
|
14
14
|
import "../../node_modules/.pnpm/dree@5.1.5/node_modules/dree/bundled/lib/esm/index.esm.qwik.mjs";
|
|
15
15
|
import { getQwikState, returnQrlData } from "./data.qwik.mjs";
|
|
16
|
+
import { HiChevronUpMini } from "../../node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@7.1.3_@types_node@20.14.11_jiti@2.4.2_tsx@4.19.2_yaml@2.7.0__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs";
|
|
16
17
|
import { createHighlighter } from "../../node_modules/.pnpm/shiki@3.8.1/node_modules/shiki/dist/bundle-full.qwik.mjs";
|
|
18
|
+
function getValueColorClass(node, valueText) {
|
|
19
|
+
switch (node.elementType) {
|
|
20
|
+
case "string":
|
|
21
|
+
return "text-red-400";
|
|
22
|
+
case "number":
|
|
23
|
+
return "text-green-400";
|
|
24
|
+
case "boolean":
|
|
25
|
+
return "text-amber-400";
|
|
26
|
+
case "function":
|
|
27
|
+
return "text-purple-400";
|
|
28
|
+
case "array":
|
|
29
|
+
return "text-muted-foreground";
|
|
30
|
+
case "object":
|
|
31
|
+
return /(Array\[|Object\s\{|Class\s\{)/.test(valueText) ? "text-muted-foreground" : "text-foreground";
|
|
32
|
+
default:
|
|
33
|
+
return "text-foreground";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
17
36
|
const RenderTree = component$(() => {
|
|
18
37
|
useStyles$(`
|
|
19
38
|
pre.shiki {
|
|
@@ -25,6 +44,7 @@ const RenderTree = component$(() => {
|
|
|
25
44
|
const data = useSignal([]);
|
|
26
45
|
const stateTree = useSignal([]);
|
|
27
46
|
const hookFilters = useSignal([]);
|
|
47
|
+
const hooksOpen = useSignal(true);
|
|
28
48
|
const qwikContainer = useComputed$(() => {
|
|
29
49
|
try {
|
|
30
50
|
return htmlContainer();
|
|
@@ -109,7 +129,7 @@ const RenderTree = component$(() => {
|
|
|
109
129
|
});
|
|
110
130
|
const currentTab = useSignal("state");
|
|
111
131
|
return /* @__PURE__ */ jsx("div", {
|
|
112
|
-
class: "h-full w-full flex-1 overflow-hidden rounded-md border
|
|
132
|
+
class: "h-full w-full flex-1 overflow-hidden rounded-md border border-border bg-background",
|
|
113
133
|
children: /* @__PURE__ */ jsxs("div", {
|
|
114
134
|
class: "flex h-full w-full",
|
|
115
135
|
children: [
|
|
@@ -139,7 +159,7 @@ const RenderTree = component$(() => {
|
|
|
139
159
|
style: currentTab.value === "state" ? {
|
|
140
160
|
borderBottom: "2px solid var(--color-primary-active)"
|
|
141
161
|
} : {},
|
|
142
|
-
class: "border-b-2 border-b-transparent px-4 py-3 text-sm font-medium transition-all duration-300 ease-in-out",
|
|
162
|
+
class: "border-b-2 border-b-transparent px-4 py-3 text-sm font-medium transition-all duration-300 ease-in-out text-muted-foreground hover:text-foreground",
|
|
143
163
|
children: "State"
|
|
144
164
|
}),
|
|
145
165
|
/* @__PURE__ */ jsx("button", {
|
|
@@ -147,65 +167,96 @@ const RenderTree = component$(() => {
|
|
|
147
167
|
style: currentTab.value === "code" ? {
|
|
148
168
|
borderBottom: "2px solid var(--color-primary-active)"
|
|
149
169
|
} : {},
|
|
150
|
-
class: "border-b-2 border-b-transparent px-4 py-3 text-sm font-medium
|
|
170
|
+
class: "border-b-2 border-b-transparent px-4 py-3 text-sm font-medium transition-all duration-300 ease-in-out text-muted-foreground hover:text-foreground",
|
|
151
171
|
children: "Code"
|
|
152
172
|
})
|
|
153
173
|
]
|
|
154
174
|
})
|
|
155
175
|
}),
|
|
156
176
|
currentTab.value === "state" && /* @__PURE__ */ jsxs("div", {
|
|
157
|
-
class: "mt-5 flex min-h-0 flex-1 flex-col
|
|
177
|
+
class: "mt-5 flex min-h-0 flex-1 flex-col",
|
|
158
178
|
children: [
|
|
159
179
|
/* @__PURE__ */ jsxs("div", {
|
|
160
|
-
class: "
|
|
180
|
+
class: "rounded-lg border border-border bg-card-item-bg shadow-sm",
|
|
161
181
|
children: [
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
class: "
|
|
164
|
-
children: "Hooks:"
|
|
165
|
-
}),
|
|
166
|
-
hookFilters.value.map((item, idx) => /* @__PURE__ */ jsxs("label", {
|
|
167
|
-
class: "flex items-center space-x-1 rounded border border-border px-2 py-1 text-xs",
|
|
182
|
+
/* @__PURE__ */ jsxs("div", {
|
|
183
|
+
class: "flex items-center justify-between border-b border-border px-2 py-2",
|
|
168
184
|
children: [
|
|
169
|
-
/* @__PURE__ */ jsx("input", {
|
|
170
|
-
type: "checkbox",
|
|
171
|
-
checked: item.display,
|
|
172
|
-
onChange$: (ev) => {
|
|
173
|
-
const target = ev.target;
|
|
174
|
-
hookFilters.value[idx].display = target.checked;
|
|
175
|
-
stateTree.value = buildTree().filter((item2) => hookFilters.value.some((hook) => hook.key === item2?.label && hook.display));
|
|
176
|
-
}
|
|
177
|
-
}),
|
|
178
185
|
/* @__PURE__ */ jsx("span", {
|
|
179
|
-
|
|
186
|
+
class: "text-xs font-medium text-muted-foreground",
|
|
187
|
+
children: "Hooks"
|
|
188
|
+
}),
|
|
189
|
+
/* @__PURE__ */ jsxs("div", {
|
|
190
|
+
class: "flex items-center space-x-2",
|
|
191
|
+
children: [
|
|
192
|
+
/* @__PURE__ */ jsx("button", {
|
|
193
|
+
class: "text-xs text-primary hover:underline px-2 py-1",
|
|
194
|
+
onClick$: $(() => {
|
|
195
|
+
hookFilters.value = hookFilters.value.map((item) => {
|
|
196
|
+
item.display = true;
|
|
197
|
+
return item;
|
|
198
|
+
});
|
|
199
|
+
stateTree.value = buildTree().filter((item) => hookFilters.value.some((hook) => hook.key === item?.label && hook.display));
|
|
200
|
+
}),
|
|
201
|
+
children: "Select all"
|
|
202
|
+
}),
|
|
203
|
+
/* @__PURE__ */ jsx("button", {
|
|
204
|
+
class: "text-xs text-muted-foreground hover:text-foreground hover:underline px-2 py-1",
|
|
205
|
+
onClick$: $(() => {
|
|
206
|
+
hookFilters.value = hookFilters.value.map((item) => {
|
|
207
|
+
item.display = false;
|
|
208
|
+
return item;
|
|
209
|
+
});
|
|
210
|
+
stateTree.value = buildTree().filter((item) => hookFilters.value.some((hook) => hook.key === item?.label && hook.display));
|
|
211
|
+
}),
|
|
212
|
+
children: "Clear"
|
|
213
|
+
}),
|
|
214
|
+
/* @__PURE__ */ jsx("button", {
|
|
215
|
+
"aria-label": "toggle hooks",
|
|
216
|
+
onClick$: $(() => hooksOpen.value = !hooksOpen.value),
|
|
217
|
+
class: "rounded p-1 text-muted-foreground hover:text-foreground",
|
|
218
|
+
children: /* @__PURE__ */ jsx(HiChevronUpMini, {
|
|
219
|
+
class: `h-4 w-4 transition-transform duration-200 ${hooksOpen.value ? "rotate-180" : "-rotate-90"}`
|
|
220
|
+
})
|
|
221
|
+
})
|
|
222
|
+
]
|
|
180
223
|
})
|
|
181
224
|
]
|
|
182
|
-
}, idx)),
|
|
183
|
-
/* @__PURE__ */ jsx("button", {
|
|
184
|
-
class: "ml-auto rounded border border-border px-2 py-1 text-xs",
|
|
185
|
-
onClick$: $(() => {
|
|
186
|
-
hookFilters.value = hookFilters.value.map((item) => {
|
|
187
|
-
item.display = true;
|
|
188
|
-
return item;
|
|
189
|
-
});
|
|
190
|
-
stateTree.value = buildTree().filter((item) => hookFilters.value.some((hook) => hook.key === item?.label && hook.display));
|
|
191
|
-
}),
|
|
192
|
-
children: "Select all"
|
|
193
225
|
}),
|
|
194
|
-
/* @__PURE__ */ jsx("
|
|
195
|
-
class: "
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
226
|
+
/* @__PURE__ */ jsx("div", {
|
|
227
|
+
class: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-x-6 gap-y-3 px-3 py-2 text-sm overflow-hidden",
|
|
228
|
+
style: {
|
|
229
|
+
maxHeight: hooksOpen.value ? "800px" : "0px",
|
|
230
|
+
opacity: hooksOpen.value ? "1" : "0",
|
|
231
|
+
transition: "max-height 200ms ease, opacity 200ms ease"
|
|
232
|
+
},
|
|
233
|
+
children: hookFilters.value.map((item, idx) => /* @__PURE__ */ jsxs("label", {
|
|
234
|
+
class: "flex items-center",
|
|
235
|
+
children: [
|
|
236
|
+
/* @__PURE__ */ jsx("input", {
|
|
237
|
+
class: "h-4 w-4 rounded-full border-border focus:ring-primary-active focus:ring-offset-0 dark:bg-[#1F2937] dark:border-[#374151]",
|
|
238
|
+
style: {
|
|
239
|
+
accentColor: "var(--color-primary-active)"
|
|
240
|
+
},
|
|
241
|
+
type: "checkbox",
|
|
242
|
+
checked: item.display,
|
|
243
|
+
onChange$: (ev) => {
|
|
244
|
+
const target = ev.target;
|
|
245
|
+
hookFilters.value[idx].display = target.checked;
|
|
246
|
+
stateTree.value = buildTree().filter((item2) => hookFilters.value.some((hook) => hook.key === item2?.label && hook.display));
|
|
247
|
+
}
|
|
248
|
+
}),
|
|
249
|
+
/* @__PURE__ */ jsx("span", {
|
|
250
|
+
class: "ml-2 select-none",
|
|
251
|
+
children: item.key
|
|
252
|
+
})
|
|
253
|
+
]
|
|
254
|
+
}, idx))
|
|
204
255
|
})
|
|
205
256
|
]
|
|
206
257
|
}),
|
|
207
258
|
/* @__PURE__ */ jsx("div", {
|
|
208
|
-
class: "min-h-0 flex-1 overflow-y-auto p-2",
|
|
259
|
+
class: "min-h-0 flex-1 overflow-y-auto p-2 mt-4",
|
|
209
260
|
children: /* @__PURE__ */ jsx(Tree, {
|
|
210
261
|
data: stateTree,
|
|
211
262
|
gap: 10,
|
|
@@ -214,23 +265,35 @@ const RenderTree = component$(() => {
|
|
|
214
265
|
isHover: true,
|
|
215
266
|
renderNode: $((node) => {
|
|
216
267
|
const label = node.label || node.name || "";
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
268
|
+
const parts = label.split(":");
|
|
269
|
+
if (node.children && parts.length === 1) {
|
|
270
|
+
return /* @__PURE__ */ jsx("span", {
|
|
271
|
+
class: "font-semibold text-pink-400",
|
|
272
|
+
children: label
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
if (parts.length > 1) {
|
|
276
|
+
const key = parts[0];
|
|
277
|
+
const value = parts.slice(1).join(":").trim();
|
|
278
|
+
const valueClass = getValueColorClass(node, value);
|
|
279
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
280
|
+
children: [
|
|
281
|
+
/* @__PURE__ */ jsx("span", {
|
|
282
|
+
class: "text-blue-400",
|
|
283
|
+
children: key
|
|
284
|
+
}),
|
|
285
|
+
/* @__PURE__ */ jsx("span", {
|
|
286
|
+
class: "text-foreground/70",
|
|
287
|
+
children: " : "
|
|
288
|
+
}),
|
|
289
|
+
/* @__PURE__ */ jsx("span", {
|
|
290
|
+
class: valueClass,
|
|
291
|
+
children: value
|
|
292
|
+
})
|
|
293
|
+
]
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
return /* @__PURE__ */ jsx("span", {
|
|
234
297
|
children: label
|
|
235
298
|
});
|
|
236
299
|
})
|
|
@@ -239,11 +302,11 @@ const RenderTree = component$(() => {
|
|
|
239
302
|
]
|
|
240
303
|
}),
|
|
241
304
|
currentTab.value === "code" && /* @__PURE__ */ jsx("div", {
|
|
242
|
-
class: "mt-5 min-h-0 flex-1 overflow-y-auto rounded-lg border
|
|
305
|
+
class: "mt-5 min-h-0 flex-1 overflow-y-auto rounded-lg border border-border p-2 shadow-sm",
|
|
243
306
|
children: codes.value.map((item, idx) => {
|
|
244
307
|
return /* @__PURE__ */ jsx(Fragment, {
|
|
245
308
|
children: /* @__PURE__ */ jsxs("div", {
|
|
246
|
-
class: "mb-4 rounded-xl border border-border bg-
|
|
309
|
+
class: "mb-4 rounded-xl border border-border bg-card-item-bg p-4 shadow-sm hover:bg-card-item-hover-bg transition-colors",
|
|
247
310
|
children: [
|
|
248
311
|
/* @__PURE__ */ jsx("div", {
|
|
249
312
|
class: "mb-2 break-all text-base font-semibold text-primary",
|
|
@@ -513,8 +513,8 @@ video {
|
|
|
513
513
|
.mb-4 {
|
|
514
514
|
margin-bottom: 1rem;
|
|
515
515
|
}
|
|
516
|
-
.ml-
|
|
517
|
-
margin-left:
|
|
516
|
+
.ml-2 {
|
|
517
|
+
margin-left: 0.5rem;
|
|
518
518
|
}
|
|
519
519
|
.mr-2 {
|
|
520
520
|
margin-right: 0.5rem;
|
|
@@ -522,6 +522,9 @@ video {
|
|
|
522
522
|
.mt-2 {
|
|
523
523
|
margin-top: 0.5rem;
|
|
524
524
|
}
|
|
525
|
+
.mt-4 {
|
|
526
|
+
margin-top: 1rem;
|
|
527
|
+
}
|
|
525
528
|
.mt-5 {
|
|
526
529
|
margin-top: 1.25rem;
|
|
527
530
|
}
|
|
@@ -540,6 +543,9 @@ video {
|
|
|
540
543
|
.flex {
|
|
541
544
|
display: flex;
|
|
542
545
|
}
|
|
546
|
+
.inline-flex {
|
|
547
|
+
display: inline-flex;
|
|
548
|
+
}
|
|
543
549
|
.grid {
|
|
544
550
|
display: grid;
|
|
545
551
|
}
|
|
@@ -619,6 +625,10 @@ video {
|
|
|
619
625
|
--tw-translate-y: 0px;
|
|
620
626
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
621
627
|
}
|
|
628
|
+
.-rotate-90 {
|
|
629
|
+
--tw-rotate: -90deg;
|
|
630
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
631
|
+
}
|
|
622
632
|
.rotate-180 {
|
|
623
633
|
--tw-rotate: 180deg;
|
|
624
634
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -650,15 +660,15 @@ video {
|
|
|
650
660
|
.grid-cols-1 {
|
|
651
661
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
652
662
|
}
|
|
663
|
+
.grid-cols-2 {
|
|
664
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
665
|
+
}
|
|
653
666
|
.grid-cols-4 {
|
|
654
667
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
655
668
|
}
|
|
656
669
|
.flex-col {
|
|
657
670
|
flex-direction: column;
|
|
658
671
|
}
|
|
659
|
-
.flex-wrap {
|
|
660
|
-
flex-wrap: wrap;
|
|
661
|
-
}
|
|
662
672
|
.place-items-center {
|
|
663
673
|
place-items: center;
|
|
664
674
|
}
|
|
@@ -686,10 +696,17 @@ video {
|
|
|
686
696
|
.gap-5 {
|
|
687
697
|
gap: 1.25rem;
|
|
688
698
|
}
|
|
689
|
-
.
|
|
699
|
+
.gap-x-6 {
|
|
700
|
+
-moz-column-gap: 1.5rem;
|
|
701
|
+
column-gap: 1.5rem;
|
|
702
|
+
}
|
|
703
|
+
.gap-y-3 {
|
|
704
|
+
row-gap: 0.75rem;
|
|
705
|
+
}
|
|
706
|
+
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
690
707
|
--tw-space-x-reverse: 0;
|
|
691
|
-
margin-right: calc(0.
|
|
692
|
-
margin-left: calc(0.
|
|
708
|
+
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
709
|
+
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
693
710
|
}
|
|
694
711
|
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
|
695
712
|
--tw-space-x-reverse: 0;
|
|
@@ -778,6 +795,10 @@ video {
|
|
|
778
795
|
.border-current {
|
|
779
796
|
border-color: currentColor;
|
|
780
797
|
}
|
|
798
|
+
.border-emerald-300 {
|
|
799
|
+
--tw-border-opacity: 1;
|
|
800
|
+
border-color: rgb(110 231 183 / var(--tw-border-opacity, 1));
|
|
801
|
+
}
|
|
781
802
|
.border-b-transparent {
|
|
782
803
|
border-bottom-color: transparent;
|
|
783
804
|
}
|
|
@@ -796,15 +817,13 @@ video {
|
|
|
796
817
|
.bg-card-item-bg {
|
|
797
818
|
background-color: var(--color-card-item-bg);
|
|
798
819
|
}
|
|
820
|
+
.bg-emerald-100 {
|
|
821
|
+
--tw-bg-opacity: 1;
|
|
822
|
+
background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
|
|
823
|
+
}
|
|
799
824
|
.bg-input {
|
|
800
825
|
background-color: var(--color-input);
|
|
801
826
|
}
|
|
802
|
-
.bg-primary {
|
|
803
|
-
background-color: var(--color-primary);
|
|
804
|
-
}
|
|
805
|
-
.bg-transparent {
|
|
806
|
-
background-color: transparent;
|
|
807
|
-
}
|
|
808
827
|
.object-cover {
|
|
809
828
|
-o-object-fit: cover;
|
|
810
829
|
object-fit: cover;
|
|
@@ -834,6 +853,10 @@ video {
|
|
|
834
853
|
padding-left: 0.5rem;
|
|
835
854
|
padding-right: 0.5rem;
|
|
836
855
|
}
|
|
856
|
+
.px-3 {
|
|
857
|
+
padding-left: 0.75rem;
|
|
858
|
+
padding-right: 0.75rem;
|
|
859
|
+
}
|
|
837
860
|
.px-4 {
|
|
838
861
|
padding-left: 1rem;
|
|
839
862
|
padding-right: 1rem;
|
|
@@ -887,9 +910,6 @@ video {
|
|
|
887
910
|
font-size: 0.75rem;
|
|
888
911
|
line-height: 1rem;
|
|
889
912
|
}
|
|
890
|
-
.font-bold {
|
|
891
|
-
font-weight: 700;
|
|
892
|
-
}
|
|
893
913
|
.font-medium {
|
|
894
914
|
font-weight: 500;
|
|
895
915
|
}
|
|
@@ -899,27 +919,47 @@ video {
|
|
|
899
919
|
.text-accent {
|
|
900
920
|
color: var(--color-accent);
|
|
901
921
|
}
|
|
922
|
+
.text-amber-400 {
|
|
923
|
+
--tw-text-opacity: 1;
|
|
924
|
+
color: rgb(251 191 36 / var(--tw-text-opacity, 1));
|
|
925
|
+
}
|
|
926
|
+
.text-blue-400 {
|
|
927
|
+
--tw-text-opacity: 1;
|
|
928
|
+
color: rgb(96 165 250 / var(--tw-text-opacity, 1));
|
|
929
|
+
}
|
|
930
|
+
.text-emerald-700 {
|
|
931
|
+
--tw-text-opacity: 1;
|
|
932
|
+
color: rgb(4 120 87 / var(--tw-text-opacity, 1));
|
|
933
|
+
}
|
|
902
934
|
.text-foreground {
|
|
903
935
|
color: var(--color-foreground);
|
|
904
936
|
}
|
|
905
|
-
.text-
|
|
937
|
+
.text-green-400 {
|
|
906
938
|
--tw-text-opacity: 1;
|
|
907
|
-
color: rgb(
|
|
939
|
+
color: rgb(74 222 128 / var(--tw-text-opacity, 1));
|
|
908
940
|
}
|
|
909
941
|
.text-muted-foreground {
|
|
910
942
|
color: var(--color-muted-foreground);
|
|
911
943
|
}
|
|
944
|
+
.text-pink-400 {
|
|
945
|
+
--tw-text-opacity: 1;
|
|
946
|
+
color: rgb(244 114 182 / var(--tw-text-opacity, 1));
|
|
947
|
+
}
|
|
912
948
|
.text-primary {
|
|
913
949
|
color: var(--color-primary);
|
|
914
950
|
}
|
|
915
|
-
.text-
|
|
951
|
+
.text-purple-400 {
|
|
916
952
|
--tw-text-opacity: 1;
|
|
917
|
-
color: rgb(
|
|
953
|
+
color: rgb(192 132 252 / var(--tw-text-opacity, 1));
|
|
918
954
|
}
|
|
919
955
|
.text-red-400 {
|
|
920
956
|
--tw-text-opacity: 1;
|
|
921
957
|
color: rgb(248 113 113 / var(--tw-text-opacity, 1));
|
|
922
958
|
}
|
|
959
|
+
.text-violet-400 {
|
|
960
|
+
--tw-text-opacity: 1;
|
|
961
|
+
color: rgb(167 139 250 / var(--tw-text-opacity, 1));
|
|
962
|
+
}
|
|
923
963
|
.text-white {
|
|
924
964
|
--tw-text-opacity: 1;
|
|
925
965
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
@@ -986,9 +1026,6 @@ video {
|
|
|
986
1026
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
987
1027
|
transition-duration: 150ms;
|
|
988
1028
|
}
|
|
989
|
-
.duration-150 {
|
|
990
|
-
transition-duration: 150ms;
|
|
991
|
-
}
|
|
992
1029
|
.duration-200 {
|
|
993
1030
|
transition-duration: 200ms;
|
|
994
1031
|
}
|
|
@@ -1130,6 +1167,10 @@ video {
|
|
|
1130
1167
|
color: var(--color-foreground);
|
|
1131
1168
|
}
|
|
1132
1169
|
|
|
1170
|
+
.hover\\:underline:hover {
|
|
1171
|
+
text-decoration-line: underline;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1133
1174
|
.hover\\:opacity-60:hover {
|
|
1134
1175
|
opacity: 0.6;
|
|
1135
1176
|
}
|
|
@@ -1138,6 +1179,14 @@ video {
|
|
|
1138
1179
|
border-color: var(--color-ring);
|
|
1139
1180
|
}
|
|
1140
1181
|
|
|
1182
|
+
.focus\\:ring-primary-active:focus {
|
|
1183
|
+
--tw-ring-color: var(--color-primary-active);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.focus\\:ring-offset-0:focus {
|
|
1187
|
+
--tw-ring-offset-width: 0px;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1141
1190
|
.group:hover .group-hover\\:scale-110 {
|
|
1142
1191
|
--tw-scale-x: 1.1;
|
|
1143
1192
|
--tw-scale-y: 1.1;
|
|
@@ -1150,20 +1199,41 @@ video {
|
|
|
1150
1199
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1151
1200
|
}
|
|
1152
1201
|
|
|
1153
|
-
.dark\\:
|
|
1202
|
+
.dark\\:border-\\[\\#374151\\]:is(html[data-theme="dark"] *) {
|
|
1203
|
+
--tw-border-opacity: 1;
|
|
1204
|
+
border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.dark\\:border-emerald-700\\/40:is(html[data-theme="dark"] *) {
|
|
1208
|
+
border-color: rgb(4 120 87 / 0.4);
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.dark\\:bg-\\[\\#1F2937\\]:is(html[data-theme="dark"] *) {
|
|
1212
|
+
--tw-bg-opacity: 1;
|
|
1213
|
+
background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.dark\\:bg-emerald-900\\/30:is(html[data-theme="dark"] *) {
|
|
1217
|
+
background-color: rgb(6 78 59 / 0.3);
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.dark\\:text-emerald-300:is(html[data-theme="dark"] *) {
|
|
1154
1221
|
--tw-text-opacity: 1;
|
|
1155
|
-
color: rgb(
|
|
1222
|
+
color: rgb(110 231 183 / var(--tw-text-opacity, 1));
|
|
1156
1223
|
}
|
|
1157
1224
|
|
|
1158
|
-
.dark\\:text-
|
|
1225
|
+
.dark\\:text-violet-300:is(html[data-theme="dark"] *) {
|
|
1159
1226
|
--tw-text-opacity: 1;
|
|
1160
|
-
color: rgb(
|
|
1227
|
+
color: rgb(196 181 253 / var(--tw-text-opacity, 1));
|
|
1161
1228
|
}
|
|
1162
1229
|
|
|
1163
1230
|
@media (min-width: 640px) {
|
|
1164
1231
|
.sm\\:grid-cols-2 {
|
|
1165
1232
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1166
1233
|
}
|
|
1234
|
+
.sm\\:grid-cols-3 {
|
|
1235
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1236
|
+
}
|
|
1167
1237
|
}
|
|
1168
1238
|
|
|
1169
1239
|
@media (min-width: 768px) {
|
|
@@ -1179,6 +1249,9 @@ video {
|
|
|
1179
1249
|
.lg\\:grid-cols-3 {
|
|
1180
1250
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1181
1251
|
}
|
|
1252
|
+
.lg\\:grid-cols-4 {
|
|
1253
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1254
|
+
}
|
|
1182
1255
|
}
|
|
1183
1256
|
`;
|
|
1184
1257
|
module.exports = globalCss;
|