@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
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs, Fragment } from "@qwik.dev/core/jsx-runtime";
|
|
2
|
-
import { implicit$FirstArg, component$, useStylesScoped$, useSignal, useStore, useTask$, isBrowser, noSerialize, isServer, RenderOnce, SkipRender, Slot, $, useOn, useOnDocument } from "@qwik.dev/core";
|
|
3
|
-
import { c as clientExports } from "../../../../../../../_virtual/client.qwik.mjs";
|
|
4
|
-
import { r as reactDomExports } from "../../../../../../../_virtual/index.qwik.mjs";
|
|
5
|
-
import { SSRStream, SSRComment, SSRRaw } from "@qwik.dev/core/internal";
|
|
6
|
-
import { s as server_nodeExports } from "../../../../../../../_virtual/server.node.qwik.mjs";
|
|
7
|
-
import { r as reactExports } from "../../../../../../../_virtual/index.qwik2.mjs";
|
|
8
|
-
var __defProp = Object.defineProperty;
|
|
9
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
configurable: true,
|
|
12
|
-
writable: true,
|
|
13
|
-
value
|
|
14
|
-
}) : obj[key] = value;
|
|
15
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
16
|
-
const SlotCtx = reactExports.createContext({
|
|
17
|
-
scopeId: ""
|
|
18
|
-
});
|
|
19
|
-
function main(slotEl, scopeId, RootCmp, props) {
|
|
20
|
-
const newProps = getReactProps(props);
|
|
21
|
-
return mainExactProps(slotEl, scopeId, RootCmp, newProps);
|
|
22
|
-
}
|
|
23
|
-
function mainExactProps(slotEl, scopeId, RootCmp, props) {
|
|
24
|
-
return reactExports.createElement(SlotCtx.Provider, {
|
|
25
|
-
value: {
|
|
26
|
-
el: slotEl,
|
|
27
|
-
scopeId,
|
|
28
|
-
attachedEl: void 0
|
|
29
|
-
},
|
|
30
|
-
children: reactExports.createElement(RootCmp, {
|
|
31
|
-
...props,
|
|
32
|
-
children: reactExports.createElement(SlotElement, null)
|
|
33
|
-
})
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
class SlotElement extends reactExports.Component {
|
|
37
|
-
constructor() {
|
|
38
|
-
super(...arguments);
|
|
39
|
-
__publicField(this, "slotC", reactExports.createRef());
|
|
40
|
-
}
|
|
41
|
-
shouldComponentUpdate() {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
componentDidMount() {
|
|
45
|
-
const slotC = this.slotC.current;
|
|
46
|
-
if (slotC) {
|
|
47
|
-
const { attachedEl, el } = this.context;
|
|
48
|
-
if (el) {
|
|
49
|
-
if (!attachedEl) {
|
|
50
|
-
slotC.appendChild(el);
|
|
51
|
-
} else if (attachedEl !== slotC) {
|
|
52
|
-
throw new Error("already attached");
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
render() {
|
|
58
|
-
return reactExports.createElement("q-slotc", {
|
|
59
|
-
class: this.context.scopeId,
|
|
60
|
-
suppressHydrationWarning: true,
|
|
61
|
-
dangerouslySetInnerHTML: {
|
|
62
|
-
__html: "<!--SLOT-->"
|
|
63
|
-
},
|
|
64
|
-
ref: this.slotC
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
__publicField(SlotElement, "contextType", SlotCtx);
|
|
69
|
-
const getReactProps = (props) => {
|
|
70
|
-
const obj = {};
|
|
71
|
-
Object.keys(props).forEach((key) => {
|
|
72
|
-
if (!key.startsWith("client:") && !key.startsWith("qwik:") && !key.startsWith(HOST_PREFIX)) {
|
|
73
|
-
const normalizedKey = key.endsWith("$") ? key.slice(0, -1) : key;
|
|
74
|
-
obj[normalizedKey] = props[key];
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return obj;
|
|
78
|
-
};
|
|
79
|
-
const getHostProps = (props) => {
|
|
80
|
-
const obj = {};
|
|
81
|
-
Object.keys(props).forEach((key) => {
|
|
82
|
-
if (key.startsWith(HOST_PREFIX)) {
|
|
83
|
-
obj[key.slice(HOST_PREFIX.length)] = props[key];
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
return obj;
|
|
87
|
-
};
|
|
88
|
-
const useWakeupSignal = (props, opts = {}) => {
|
|
89
|
-
const signal = useSignal(false);
|
|
90
|
-
const activate = $(() => signal.value = true);
|
|
91
|
-
const clientOnly = !!(props["client:only"] || props["qwik:only"] || opts?.clientOnly);
|
|
92
|
-
const clientVisible = props["client:visible"] || props["qwik:visible"] || opts?.eagerness === "visible";
|
|
93
|
-
const clientIdle = props["client:idle"] || props["qwik:idle"] || opts?.eagerness === "idle";
|
|
94
|
-
const clientLoad = props["client:load"] || props["qwik:load"] || clientOnly || opts?.eagerness === "load";
|
|
95
|
-
const clientHover = props["client:hover"] || props["qwik:hover"] || opts?.eagerness === "hover";
|
|
96
|
-
const clientEvent = props["client:event"] || props["qwik:event"];
|
|
97
|
-
if (isServer) {
|
|
98
|
-
if (clientVisible) {
|
|
99
|
-
useOn("qvisible", activate);
|
|
100
|
-
}
|
|
101
|
-
if (clientIdle) {
|
|
102
|
-
useOnDocument("qidle", activate);
|
|
103
|
-
}
|
|
104
|
-
if (clientLoad) {
|
|
105
|
-
useOnDocument("qinit", activate);
|
|
106
|
-
}
|
|
107
|
-
if (clientHover) {
|
|
108
|
-
useOn("mouseover", activate);
|
|
109
|
-
}
|
|
110
|
-
if (clientEvent) {
|
|
111
|
-
useOn(clientEvent, activate);
|
|
112
|
-
}
|
|
113
|
-
if (opts?.event) {
|
|
114
|
-
useOn(opts?.event, activate);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
return [
|
|
118
|
-
signal,
|
|
119
|
-
clientOnly,
|
|
120
|
-
activate
|
|
121
|
-
];
|
|
122
|
-
};
|
|
123
|
-
const HOST_PREFIX = "host:";
|
|
124
|
-
async function renderFromServer(Host, reactCmp$, scopeId, props, ref, slotRef, hydrationProps) {
|
|
125
|
-
if (isServer) {
|
|
126
|
-
const Cmp = await reactCmp$.resolve();
|
|
127
|
-
const newProps = getReactProps(props);
|
|
128
|
-
Object.assign(hydrationProps, newProps);
|
|
129
|
-
const html = server_nodeExports.renderToString(mainExactProps(void 0, scopeId, Cmp, newProps));
|
|
130
|
-
const index = html.indexOf("<!--SLOT-->");
|
|
131
|
-
if (index > 0) {
|
|
132
|
-
const part1 = html.slice(0, index);
|
|
133
|
-
const part2 = html.slice(index + "<!--SLOT-->".length);
|
|
134
|
-
return /* @__PURE__ */ jsx(Host, {
|
|
135
|
-
ref,
|
|
136
|
-
...getHostProps(props),
|
|
137
|
-
children: /* @__PURE__ */ jsx(SSRStream, {
|
|
138
|
-
children: async function* () {
|
|
139
|
-
yield /* @__PURE__ */ jsx(SSRComment, {
|
|
140
|
-
data: "q:ignore"
|
|
141
|
-
});
|
|
142
|
-
yield /* @__PURE__ */ jsx(SSRRaw, {
|
|
143
|
-
data: part1
|
|
144
|
-
});
|
|
145
|
-
yield /* @__PURE__ */ jsx(SSRComment, {
|
|
146
|
-
data: "q:container-island"
|
|
147
|
-
});
|
|
148
|
-
yield /* @__PURE__ */ jsx("q-slot", {
|
|
149
|
-
ref: slotRef,
|
|
150
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
151
|
-
});
|
|
152
|
-
yield /* @__PURE__ */ jsx(SSRComment, {
|
|
153
|
-
data: "/q:container-island"
|
|
154
|
-
});
|
|
155
|
-
yield /* @__PURE__ */ jsx(SSRRaw, {
|
|
156
|
-
data: part2
|
|
157
|
-
});
|
|
158
|
-
yield /* @__PURE__ */ jsx(SSRComment, {
|
|
159
|
-
data: "/q:ignore"
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
})
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
return /* @__PURE__ */ jsxs(Fragment, {
|
|
166
|
-
children: [
|
|
167
|
-
/* @__PURE__ */ jsxs(Host, {
|
|
168
|
-
ref,
|
|
169
|
-
children: [
|
|
170
|
-
/* @__PURE__ */ jsx(SSRComment, {
|
|
171
|
-
data: "q:container=html"
|
|
172
|
-
}),
|
|
173
|
-
/* @__PURE__ */ jsx(SSRRaw, {
|
|
174
|
-
data: html
|
|
175
|
-
}),
|
|
176
|
-
/* @__PURE__ */ jsx(SSRComment, {
|
|
177
|
-
data: "/q:container"
|
|
178
|
-
})
|
|
179
|
-
]
|
|
180
|
-
}),
|
|
181
|
-
/* @__PURE__ */ jsx("q-slot", {
|
|
182
|
-
ref: slotRef,
|
|
183
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
184
|
-
})
|
|
185
|
-
]
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
function qwikifyQrl(reactCmp$, opts) {
|
|
190
|
-
return component$((props) => {
|
|
191
|
-
const { scopeId } = useStylesScoped$(`q-slot{display:none} q-slotc,q-slotc>q-slot{display:contents}`);
|
|
192
|
-
const hostRef = useSignal();
|
|
193
|
-
const slotRef = useSignal();
|
|
194
|
-
const internalState = useSignal();
|
|
195
|
-
const [signal, isClientOnly] = useWakeupSignal(props, opts);
|
|
196
|
-
const hydrationKeys = useStore({});
|
|
197
|
-
const TagName = opts?.tagName ?? "qwik-react";
|
|
198
|
-
useTask$(async ({ track }) => {
|
|
199
|
-
const trackedProps = track(() => ({
|
|
200
|
-
...props
|
|
201
|
-
}));
|
|
202
|
-
track(signal);
|
|
203
|
-
if (!isBrowser) {
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
if (internalState.value) {
|
|
207
|
-
if (internalState.value.root) {
|
|
208
|
-
internalState.value.root.render(main(slotRef.value, scopeId, internalState.value.cmp, trackedProps));
|
|
209
|
-
}
|
|
210
|
-
} else {
|
|
211
|
-
let root = void 0;
|
|
212
|
-
const Cmp = await reactCmp$.resolve();
|
|
213
|
-
const hostElement = hostRef.value;
|
|
214
|
-
if (hostElement) {
|
|
215
|
-
if (isClientOnly) {
|
|
216
|
-
root = clientExports.createRoot(hostElement);
|
|
217
|
-
} else {
|
|
218
|
-
root = reactDomExports.flushSync(() => {
|
|
219
|
-
return clientExports.hydrateRoot(hostElement, mainExactProps(slotRef.value, scopeId, Cmp, hydrationKeys));
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
if (isClientOnly || signal.value === false) {
|
|
223
|
-
root.render(main(slotRef.value, scopeId, Cmp, trackedProps));
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
internalState.value = noSerialize({
|
|
227
|
-
cmp: Cmp,
|
|
228
|
-
root
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
if (isServer && !isClientOnly) {
|
|
233
|
-
const jsx$1 = renderFromServer(TagName, reactCmp$, scopeId, props, hostRef, slotRef, hydrationKeys);
|
|
234
|
-
return /* @__PURE__ */ jsx(RenderOnce, {
|
|
235
|
-
children: jsx$1
|
|
236
|
-
}, 2);
|
|
237
|
-
}
|
|
238
|
-
return /* @__PURE__ */ jsxs(Fragment, {
|
|
239
|
-
children: [
|
|
240
|
-
/* @__PURE__ */ jsx(TagName, {
|
|
241
|
-
...getHostProps(props),
|
|
242
|
-
ref: (el) => {
|
|
243
|
-
if (isBrowser) {
|
|
244
|
-
queueMicrotask(() => {
|
|
245
|
-
const internalData = internalState.value;
|
|
246
|
-
if (internalData && !internalData.root) {
|
|
247
|
-
const root = internalData.root = clientExports.createRoot(el);
|
|
248
|
-
root.render(main(slotRef.value, scopeId, internalData.cmp, props));
|
|
249
|
-
}
|
|
250
|
-
});
|
|
251
|
-
} else {
|
|
252
|
-
hostRef.value = el;
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
children: SkipRender
|
|
256
|
-
}),
|
|
257
|
-
/* @__PURE__ */ jsx("q-slot", {
|
|
258
|
-
ref: slotRef,
|
|
259
|
-
children: /* @__PURE__ */ jsx(Slot, {})
|
|
260
|
-
})
|
|
261
|
-
]
|
|
262
|
-
});
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
const qwikify$ = /* @__PURE__ */ implicit$FirstArg(qwikifyQrl);
|
|
266
|
-
export {
|
|
267
|
-
qwikify$,
|
|
268
|
-
qwikifyQrl
|
|
269
|
-
};
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var __awaiter = function(thisArg, _arguments, P, generator) {
|
|
4
|
-
function adopt(value) {
|
|
5
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
6
|
-
resolve(value);
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
10
|
-
function fulfilled(value) {
|
|
11
|
-
try {
|
|
12
|
-
step(generator.next(value));
|
|
13
|
-
} catch (e) {
|
|
14
|
-
reject(e);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
function rejected(value) {
|
|
18
|
-
try {
|
|
19
|
-
step(generator["throw"](value));
|
|
20
|
-
} catch (e) {
|
|
21
|
-
reject(e);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function step(result) {
|
|
25
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
26
|
-
}
|
|
27
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
var __generator = function(thisArg, body) {
|
|
31
|
-
var _ = { label: 0, sent: function() {
|
|
32
|
-
if (t[0] & 1) throw t[1];
|
|
33
|
-
return t[1];
|
|
34
|
-
}, trys: [], ops: [] }, f, y, t, g;
|
|
35
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
36
|
-
return this;
|
|
37
|
-
}), g;
|
|
38
|
-
function verb(n) {
|
|
39
|
-
return function(v) {
|
|
40
|
-
return step([n, v]);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function step(op) {
|
|
44
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
-
switch (op[0]) {
|
|
49
|
-
case 0:
|
|
50
|
-
case 1:
|
|
51
|
-
t = op;
|
|
52
|
-
break;
|
|
53
|
-
case 4:
|
|
54
|
-
_.label++;
|
|
55
|
-
return { value: op[1], done: false };
|
|
56
|
-
case 5:
|
|
57
|
-
_.label++;
|
|
58
|
-
y = op[1];
|
|
59
|
-
op = [0];
|
|
60
|
-
continue;
|
|
61
|
-
case 7:
|
|
62
|
-
op = _.ops.pop();
|
|
63
|
-
_.trys.pop();
|
|
64
|
-
continue;
|
|
65
|
-
default:
|
|
66
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
67
|
-
_ = 0;
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
71
|
-
_.label = op[1];
|
|
72
|
-
break;
|
|
73
|
-
}
|
|
74
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
75
|
-
_.label = t[1];
|
|
76
|
-
t = op;
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
if (t && _.label < t[2]) {
|
|
80
|
-
_.label = t[2];
|
|
81
|
-
_.ops.push(op);
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
if (t[2]) _.ops.pop();
|
|
85
|
-
_.trys.pop();
|
|
86
|
-
continue;
|
|
87
|
-
}
|
|
88
|
-
op = body.call(thisArg, _);
|
|
89
|
-
} catch (e) {
|
|
90
|
-
op = [6, e];
|
|
91
|
-
y = 0;
|
|
92
|
-
} finally {
|
|
93
|
-
f = t = 0;
|
|
94
|
-
}
|
|
95
|
-
if (op[0] & 5) throw op[1];
|
|
96
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
var EventEmitter = (
|
|
100
|
-
/** @class */
|
|
101
|
-
function() {
|
|
102
|
-
function EventEmitter2(options) {
|
|
103
|
-
this.handlerCount = 0;
|
|
104
|
-
this.handlers = [];
|
|
105
|
-
this.options = options;
|
|
106
|
-
}
|
|
107
|
-
Object.defineProperty(EventEmitter2.prototype, "numberOfHandlers", {
|
|
108
|
-
get: function() {
|
|
109
|
-
return this.handlers.filter(function(h) {
|
|
110
|
-
return !!h;
|
|
111
|
-
}).length;
|
|
112
|
-
},
|
|
113
|
-
enumerable: false,
|
|
114
|
-
configurable: true
|
|
115
|
-
});
|
|
116
|
-
EventEmitter2.prototype.emit = function(payload) {
|
|
117
|
-
var _a, _b;
|
|
118
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
119
|
-
var promises, _i, _c, handler, res;
|
|
120
|
-
return __generator(this, function(_d) {
|
|
121
|
-
switch (_d.label) {
|
|
122
|
-
case 0:
|
|
123
|
-
promises = [];
|
|
124
|
-
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.call(_a, "emit", payload);
|
|
125
|
-
for (_i = 0, _c = this.handlers; _i < _c.length; _i++) {
|
|
126
|
-
handler = _c[_i];
|
|
127
|
-
if (handler) {
|
|
128
|
-
res = handler(payload);
|
|
129
|
-
if (typeof (res === null || res === void 0 ? void 0 : res.then) === "function") {
|
|
130
|
-
promises.push(res);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
return [4, Promise.all(promises)];
|
|
135
|
-
case 1:
|
|
136
|
-
_d.sent();
|
|
137
|
-
return [
|
|
138
|
-
2
|
|
139
|
-
/*return*/
|
|
140
|
-
];
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
});
|
|
144
|
-
};
|
|
145
|
-
EventEmitter2.prototype.on = function(handler) {
|
|
146
|
-
var _a, _b;
|
|
147
|
-
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.call(_a, "on");
|
|
148
|
-
this.handlers.push(handler);
|
|
149
|
-
return this.handlerCount++;
|
|
150
|
-
};
|
|
151
|
-
EventEmitter2.prototype.off = function(handlerId) {
|
|
152
|
-
this.delete(handlerId);
|
|
153
|
-
};
|
|
154
|
-
EventEmitter2.prototype.delete = function(handlerId) {
|
|
155
|
-
var _a, _b;
|
|
156
|
-
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.call(_a, "off");
|
|
157
|
-
this.handlers[handlerId] = null;
|
|
158
|
-
};
|
|
159
|
-
return EventEmitter2;
|
|
160
|
-
}()
|
|
161
|
-
);
|
|
162
|
-
exports.EventEmitter = EventEmitter;
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
var __awaiter = function(thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) {
|
|
3
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
4
|
-
resolve(value);
|
|
5
|
-
});
|
|
6
|
-
}
|
|
7
|
-
return new (P || (P = Promise))(function(resolve, reject) {
|
|
8
|
-
function fulfilled(value) {
|
|
9
|
-
try {
|
|
10
|
-
step(generator.next(value));
|
|
11
|
-
} catch (e) {
|
|
12
|
-
reject(e);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function rejected(value) {
|
|
16
|
-
try {
|
|
17
|
-
step(generator["throw"](value));
|
|
18
|
-
} catch (e) {
|
|
19
|
-
reject(e);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function step(result) {
|
|
23
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
24
|
-
}
|
|
25
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
var __generator = function(thisArg, body) {
|
|
29
|
-
var _ = { label: 0, sent: function() {
|
|
30
|
-
if (t[0] & 1) throw t[1];
|
|
31
|
-
return t[1];
|
|
32
|
-
}, trys: [], ops: [] }, f, y, t, g;
|
|
33
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
34
|
-
return this;
|
|
35
|
-
}), g;
|
|
36
|
-
function verb(n) {
|
|
37
|
-
return function(v) {
|
|
38
|
-
return step([n, v]);
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function step(op) {
|
|
42
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
43
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
44
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
45
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
46
|
-
switch (op[0]) {
|
|
47
|
-
case 0:
|
|
48
|
-
case 1:
|
|
49
|
-
t = op;
|
|
50
|
-
break;
|
|
51
|
-
case 4:
|
|
52
|
-
_.label++;
|
|
53
|
-
return { value: op[1], done: false };
|
|
54
|
-
case 5:
|
|
55
|
-
_.label++;
|
|
56
|
-
y = op[1];
|
|
57
|
-
op = [0];
|
|
58
|
-
continue;
|
|
59
|
-
case 7:
|
|
60
|
-
op = _.ops.pop();
|
|
61
|
-
_.trys.pop();
|
|
62
|
-
continue;
|
|
63
|
-
default:
|
|
64
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
65
|
-
_ = 0;
|
|
66
|
-
continue;
|
|
67
|
-
}
|
|
68
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
69
|
-
_.label = op[1];
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
73
|
-
_.label = t[1];
|
|
74
|
-
t = op;
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
77
|
-
if (t && _.label < t[2]) {
|
|
78
|
-
_.label = t[2];
|
|
79
|
-
_.ops.push(op);
|
|
80
|
-
break;
|
|
81
|
-
}
|
|
82
|
-
if (t[2]) _.ops.pop();
|
|
83
|
-
_.trys.pop();
|
|
84
|
-
continue;
|
|
85
|
-
}
|
|
86
|
-
op = body.call(thisArg, _);
|
|
87
|
-
} catch (e) {
|
|
88
|
-
op = [6, e];
|
|
89
|
-
y = 0;
|
|
90
|
-
} finally {
|
|
91
|
-
f = t = 0;
|
|
92
|
-
}
|
|
93
|
-
if (op[0] & 5) throw op[1];
|
|
94
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
var EventEmitter = (
|
|
98
|
-
/** @class */
|
|
99
|
-
function() {
|
|
100
|
-
function EventEmitter2(options) {
|
|
101
|
-
this.handlerCount = 0;
|
|
102
|
-
this.handlers = [];
|
|
103
|
-
this.options = options;
|
|
104
|
-
}
|
|
105
|
-
Object.defineProperty(EventEmitter2.prototype, "numberOfHandlers", {
|
|
106
|
-
get: function() {
|
|
107
|
-
return this.handlers.filter(function(h) {
|
|
108
|
-
return !!h;
|
|
109
|
-
}).length;
|
|
110
|
-
},
|
|
111
|
-
enumerable: false,
|
|
112
|
-
configurable: true
|
|
113
|
-
});
|
|
114
|
-
EventEmitter2.prototype.emit = function(payload) {
|
|
115
|
-
var _a, _b;
|
|
116
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
117
|
-
var promises, _i, _c, handler, res;
|
|
118
|
-
return __generator(this, function(_d) {
|
|
119
|
-
switch (_d.label) {
|
|
120
|
-
case 0:
|
|
121
|
-
promises = [];
|
|
122
|
-
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.call(_a, "emit", payload);
|
|
123
|
-
for (_i = 0, _c = this.handlers; _i < _c.length; _i++) {
|
|
124
|
-
handler = _c[_i];
|
|
125
|
-
if (handler) {
|
|
126
|
-
res = handler(payload);
|
|
127
|
-
if (typeof (res === null || res === void 0 ? void 0 : res.then) === "function") {
|
|
128
|
-
promises.push(res);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return [4, Promise.all(promises)];
|
|
133
|
-
case 1:
|
|
134
|
-
_d.sent();
|
|
135
|
-
return [
|
|
136
|
-
2
|
|
137
|
-
/*return*/
|
|
138
|
-
];
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
};
|
|
143
|
-
EventEmitter2.prototype.on = function(handler) {
|
|
144
|
-
var _a, _b;
|
|
145
|
-
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.call(_a, "on");
|
|
146
|
-
this.handlers.push(handler);
|
|
147
|
-
return this.handlerCount++;
|
|
148
|
-
};
|
|
149
|
-
EventEmitter2.prototype.off = function(handlerId) {
|
|
150
|
-
this.delete(handlerId);
|
|
151
|
-
};
|
|
152
|
-
EventEmitter2.prototype.delete = function(handlerId) {
|
|
153
|
-
var _a, _b;
|
|
154
|
-
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.logger) === null || _b === void 0 ? void 0 : _b.call(_a, "off");
|
|
155
|
-
this.handlers[handlerId] = null;
|
|
156
|
-
};
|
|
157
|
-
return EventEmitter2;
|
|
158
|
-
}()
|
|
159
|
-
);
|
|
160
|
-
export {
|
|
161
|
-
EventEmitter
|
|
162
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../../../../../../../_virtual/index.qwik2.cjs");
|
|
4
|
-
const InteractionManagerProvider = require("./InteractionManagerProvider.qwik.cjs");
|
|
5
|
-
const DragAndDropProvider = require("../drag/DragAndDropProvider.qwik.cjs");
|
|
6
|
-
const EnvironmentActionsProvider = require("../environmentActions/EnvironmentActionsProvider.qwik.cjs");
|
|
7
|
-
const useControlledTreeEnvironmentProps = require("./useControlledTreeEnvironmentProps.qwik.cjs");
|
|
8
|
-
var __assign = function() {
|
|
9
|
-
__assign = Object.assign || function(t) {
|
|
10
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
11
|
-
s = arguments[i];
|
|
12
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
13
|
-
t[p] = s[p];
|
|
14
|
-
}
|
|
15
|
-
return t;
|
|
16
|
-
};
|
|
17
|
-
return __assign.apply(this, arguments);
|
|
18
|
-
};
|
|
19
|
-
var TreeEnvironmentContext = index.reactExports.createContext(null);
|
|
20
|
-
var useTreeEnvironment = function() {
|
|
21
|
-
return index.reactExports.useContext(TreeEnvironmentContext);
|
|
22
|
-
};
|
|
23
|
-
var ControlledTreeEnvironment = index.reactExports.forwardRef(function(props, ref) {
|
|
24
|
-
var _a, _b, _c;
|
|
25
|
-
var environmentContextProps = useControlledTreeEnvironmentProps.useControlledTreeEnvironmentProps(props);
|
|
26
|
-
var viewState = props.viewState;
|
|
27
|
-
for (var _i = 0, _d = Object.keys(environmentContextProps.trees); _i < _d.length; _i++) {
|
|
28
|
-
var treeId = _d[_i];
|
|
29
|
-
if (!((_a = viewState[treeId]) === null || _a === void 0 ? void 0 : _a.focusedItem) && environmentContextProps.trees[treeId]) {
|
|
30
|
-
viewState[treeId] = __assign(__assign({}, viewState[treeId]), { focusedItem: (_c = (_b = props.items[environmentContextProps.trees[treeId].rootItem]) === null || _b === void 0 ? void 0 : _b.children) === null || _c === void 0 ? void 0 : _c[0] });
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return index.reactExports.createElement(
|
|
34
|
-
TreeEnvironmentContext.Provider,
|
|
35
|
-
{ value: environmentContextProps },
|
|
36
|
-
index.reactExports.createElement(
|
|
37
|
-
InteractionManagerProvider.InteractionManagerProvider,
|
|
38
|
-
null,
|
|
39
|
-
index.reactExports.createElement(
|
|
40
|
-
DragAndDropProvider.DragAndDropProvider,
|
|
41
|
-
null,
|
|
42
|
-
index.reactExports.createElement(EnvironmentActionsProvider.EnvironmentActionsProvider, { ref }, props.children)
|
|
43
|
-
)
|
|
44
|
-
)
|
|
45
|
-
);
|
|
46
|
-
});
|
|
47
|
-
exports.ControlledTreeEnvironment = ControlledTreeEnvironment;
|
|
48
|
-
exports.useTreeEnvironment = useTreeEnvironment;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { r as reactExports } from "../../../../../../../../_virtual/index.qwik2.mjs";
|
|
2
|
-
import { InteractionManagerProvider } from "./InteractionManagerProvider.qwik.mjs";
|
|
3
|
-
import { DragAndDropProvider } from "../drag/DragAndDropProvider.qwik.mjs";
|
|
4
|
-
import { EnvironmentActionsProvider } from "../environmentActions/EnvironmentActionsProvider.qwik.mjs";
|
|
5
|
-
import { useControlledTreeEnvironmentProps } from "./useControlledTreeEnvironmentProps.qwik.mjs";
|
|
6
|
-
var __assign = function() {
|
|
7
|
-
__assign = Object.assign || function(t) {
|
|
8
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
-
s = arguments[i];
|
|
10
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
-
t[p] = s[p];
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var TreeEnvironmentContext = reactExports.createContext(null);
|
|
18
|
-
var useTreeEnvironment = function() {
|
|
19
|
-
return reactExports.useContext(TreeEnvironmentContext);
|
|
20
|
-
};
|
|
21
|
-
var ControlledTreeEnvironment = reactExports.forwardRef(function(props, ref) {
|
|
22
|
-
var _a, _b, _c;
|
|
23
|
-
var environmentContextProps = useControlledTreeEnvironmentProps(props);
|
|
24
|
-
var viewState = props.viewState;
|
|
25
|
-
for (var _i = 0, _d = Object.keys(environmentContextProps.trees); _i < _d.length; _i++) {
|
|
26
|
-
var treeId = _d[_i];
|
|
27
|
-
if (!((_a = viewState[treeId]) === null || _a === void 0 ? void 0 : _a.focusedItem) && environmentContextProps.trees[treeId]) {
|
|
28
|
-
viewState[treeId] = __assign(__assign({}, viewState[treeId]), { focusedItem: (_c = (_b = props.items[environmentContextProps.trees[treeId].rootItem]) === null || _b === void 0 ? void 0 : _b.children) === null || _c === void 0 ? void 0 : _c[0] });
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return reactExports.createElement(
|
|
32
|
-
TreeEnvironmentContext.Provider,
|
|
33
|
-
{ value: environmentContextProps },
|
|
34
|
-
reactExports.createElement(
|
|
35
|
-
InteractionManagerProvider,
|
|
36
|
-
null,
|
|
37
|
-
reactExports.createElement(
|
|
38
|
-
DragAndDropProvider,
|
|
39
|
-
null,
|
|
40
|
-
reactExports.createElement(EnvironmentActionsProvider, { ref }, props.children)
|
|
41
|
-
)
|
|
42
|
-
)
|
|
43
|
-
);
|
|
44
|
-
});
|
|
45
|
-
export {
|
|
46
|
-
ControlledTreeEnvironment,
|
|
47
|
-
useTreeEnvironment
|
|
48
|
-
};
|