@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,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var defaultKeyboardBindings = {
|
|
4
|
-
expandSiblings: ["control+*"],
|
|
5
|
-
moveFocusToFirstItem: ["home"],
|
|
6
|
-
moveFocusToLastItem: ["end"],
|
|
7
|
-
primaryAction: ["enter"],
|
|
8
|
-
renameItem: ["f2"],
|
|
9
|
-
abortRenameItem: ["escape"],
|
|
10
|
-
toggleSelectItem: ["control+space"],
|
|
11
|
-
abortSearch: ["escape", "enter"],
|
|
12
|
-
startSearch: [],
|
|
13
|
-
selectAll: ["control+a"],
|
|
14
|
-
startProgrammaticDnd: ["control+d"],
|
|
15
|
-
completeProgrammaticDnd: ["enter"],
|
|
16
|
-
abortProgrammaticDnd: ["escape"]
|
|
17
|
-
};
|
|
18
|
-
exports.defaultKeyboardBindings = defaultKeyboardBindings;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var defaultKeyboardBindings = {
|
|
2
|
-
expandSiblings: ["control+*"],
|
|
3
|
-
moveFocusToFirstItem: ["home"],
|
|
4
|
-
moveFocusToLastItem: ["end"],
|
|
5
|
-
primaryAction: ["enter"],
|
|
6
|
-
renameItem: ["f2"],
|
|
7
|
-
abortRenameItem: ["escape"],
|
|
8
|
-
toggleSelectItem: ["control+space"],
|
|
9
|
-
abortSearch: ["escape", "enter"],
|
|
10
|
-
startSearch: [],
|
|
11
|
-
selectAll: ["control+a"],
|
|
12
|
-
startProgrammaticDnd: ["control+d"],
|
|
13
|
-
completeProgrammaticDnd: ["enter"],
|
|
14
|
-
abortProgrammaticDnd: ["escape"]
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
defaultKeyboardBindings
|
|
18
|
-
};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../../../../../../../_virtual/index.qwik2.cjs");
|
|
4
|
-
const useHtmlElementEventListener = require("../useHtmlElementEventListener.qwik.cjs");
|
|
5
|
-
const useKeyboardBindings = require("./useKeyboardBindings.qwik.cjs");
|
|
6
|
-
const useCallSoon = require("../useCallSoon.qwik.cjs");
|
|
7
|
-
const utils = require("../utils.qwik.cjs");
|
|
8
|
-
var elementsThatCanTakeText = ["input", "textarea"];
|
|
9
|
-
var useHotkey = function(combinationName, onHit, active, activatableWhileFocusingInput) {
|
|
10
|
-
if (activatableWhileFocusingInput === void 0) {
|
|
11
|
-
activatableWhileFocusingInput = false;
|
|
12
|
-
}
|
|
13
|
-
var pressedKeys = index.reactExports.useRef([]);
|
|
14
|
-
var keyboardBindings = useKeyboardBindings.useKeyboardBindings();
|
|
15
|
-
var callSoon = useCallSoon.useCallSoon();
|
|
16
|
-
var possibleCombinations = index.reactExports.useMemo(function() {
|
|
17
|
-
return keyboardBindings[combinationName].map(function(combination) {
|
|
18
|
-
return combination.split("+");
|
|
19
|
-
});
|
|
20
|
-
}, [combinationName, keyboardBindings]);
|
|
21
|
-
useHtmlElementEventListener.useHtmlElementEventListener(utils.getDocument(), "keydown", function(e) {
|
|
22
|
-
var _a;
|
|
23
|
-
if (active === false) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
if ((elementsThatCanTakeText.includes((_a = e.target.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || e.target.isContentEditable) && !activatableWhileFocusingInput) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
if (!pressedKeys.current.includes(e.key)) {
|
|
30
|
-
pressedKeys.current.push(e.key);
|
|
31
|
-
var pressedKeysLowercase_1 = pressedKeys.current.map(function(key) {
|
|
32
|
-
return key.toLowerCase();
|
|
33
|
-
});
|
|
34
|
-
var partialMatch = possibleCombinations.map(function(combination) {
|
|
35
|
-
return pressedKeysLowercase_1.map(function(key) {
|
|
36
|
-
return combination.includes(key.toLowerCase());
|
|
37
|
-
}).reduce(function(a, b) {
|
|
38
|
-
return a && b;
|
|
39
|
-
}, true);
|
|
40
|
-
}).reduce(function(a, b) {
|
|
41
|
-
return a || b;
|
|
42
|
-
}, false);
|
|
43
|
-
if (partialMatch) {
|
|
44
|
-
if (pressedKeys.current.length > 1 || !/^[a-zA-Z]$/.test(e.key)) {
|
|
45
|
-
e.preventDefault();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
useHtmlElementEventListener.useHtmlElementEventListener(utils.getDocument(), "keyup", function(e) {
|
|
51
|
-
if (active === false) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
var pressedKeysLowercase = pressedKeys.current.map(function(key) {
|
|
55
|
-
return key.toLowerCase();
|
|
56
|
-
});
|
|
57
|
-
var match = possibleCombinations.map(function(combination) {
|
|
58
|
-
return combination.map(function(key) {
|
|
59
|
-
return pressedKeysLowercase.includes(key.toLowerCase());
|
|
60
|
-
}).reduce(function(a, b) {
|
|
61
|
-
return a && b;
|
|
62
|
-
}, true);
|
|
63
|
-
}).reduce(function(a, b) {
|
|
64
|
-
return a || b;
|
|
65
|
-
}, false);
|
|
66
|
-
if (match) {
|
|
67
|
-
callSoon(function() {
|
|
68
|
-
return onHit(e);
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
pressedKeys.current = pressedKeys.current.filter(function(key) {
|
|
72
|
-
return key !== e.key;
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
exports.useHotkey = useHotkey;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { r as reactExports } from "../../../../../../../../_virtual/index.qwik2.mjs";
|
|
2
|
-
import { useHtmlElementEventListener } from "../useHtmlElementEventListener.qwik.mjs";
|
|
3
|
-
import { useKeyboardBindings } from "./useKeyboardBindings.qwik.mjs";
|
|
4
|
-
import { useCallSoon } from "../useCallSoon.qwik.mjs";
|
|
5
|
-
import { getDocument } from "../utils.qwik.mjs";
|
|
6
|
-
var elementsThatCanTakeText = ["input", "textarea"];
|
|
7
|
-
var useHotkey = function(combinationName, onHit, active, activatableWhileFocusingInput) {
|
|
8
|
-
if (activatableWhileFocusingInput === void 0) {
|
|
9
|
-
activatableWhileFocusingInput = false;
|
|
10
|
-
}
|
|
11
|
-
var pressedKeys = reactExports.useRef([]);
|
|
12
|
-
var keyboardBindings = useKeyboardBindings();
|
|
13
|
-
var callSoon = useCallSoon();
|
|
14
|
-
var possibleCombinations = reactExports.useMemo(function() {
|
|
15
|
-
return keyboardBindings[combinationName].map(function(combination) {
|
|
16
|
-
return combination.split("+");
|
|
17
|
-
});
|
|
18
|
-
}, [combinationName, keyboardBindings]);
|
|
19
|
-
useHtmlElementEventListener(getDocument(), "keydown", function(e) {
|
|
20
|
-
var _a;
|
|
21
|
-
if (active === false) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if ((elementsThatCanTakeText.includes((_a = e.target.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || e.target.isContentEditable) && !activatableWhileFocusingInput) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
if (!pressedKeys.current.includes(e.key)) {
|
|
28
|
-
pressedKeys.current.push(e.key);
|
|
29
|
-
var pressedKeysLowercase_1 = pressedKeys.current.map(function(key) {
|
|
30
|
-
return key.toLowerCase();
|
|
31
|
-
});
|
|
32
|
-
var partialMatch = possibleCombinations.map(function(combination) {
|
|
33
|
-
return pressedKeysLowercase_1.map(function(key) {
|
|
34
|
-
return combination.includes(key.toLowerCase());
|
|
35
|
-
}).reduce(function(a, b) {
|
|
36
|
-
return a && b;
|
|
37
|
-
}, true);
|
|
38
|
-
}).reduce(function(a, b) {
|
|
39
|
-
return a || b;
|
|
40
|
-
}, false);
|
|
41
|
-
if (partialMatch) {
|
|
42
|
-
if (pressedKeys.current.length > 1 || !/^[a-zA-Z]$/.test(e.key)) {
|
|
43
|
-
e.preventDefault();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
useHtmlElementEventListener(getDocument(), "keyup", function(e) {
|
|
49
|
-
if (active === false) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
var pressedKeysLowercase = pressedKeys.current.map(function(key) {
|
|
53
|
-
return key.toLowerCase();
|
|
54
|
-
});
|
|
55
|
-
var match = possibleCombinations.map(function(combination) {
|
|
56
|
-
return combination.map(function(key) {
|
|
57
|
-
return pressedKeysLowercase.includes(key.toLowerCase());
|
|
58
|
-
}).reduce(function(a, b) {
|
|
59
|
-
return a && b;
|
|
60
|
-
}, true);
|
|
61
|
-
}).reduce(function(a, b) {
|
|
62
|
-
return a || b;
|
|
63
|
-
}, false);
|
|
64
|
-
if (match) {
|
|
65
|
-
callSoon(function() {
|
|
66
|
-
return onHit(e);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
pressedKeys.current = pressedKeys.current.filter(function(key) {
|
|
70
|
-
return key !== e.key;
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
};
|
|
74
|
-
export {
|
|
75
|
-
useHotkey
|
|
76
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const useHtmlElementEventListener = require("../useHtmlElementEventListener.qwik.cjs");
|
|
4
|
-
const utils = require("../utils.qwik.cjs");
|
|
5
|
-
var useKey = function(key, onHit, active) {
|
|
6
|
-
useHtmlElementEventListener.useHtmlElementEventListener(utils.getDocument(), "keydown", function(e) {
|
|
7
|
-
if (!active) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
if (active && key.toLowerCase() === e.key.toLowerCase()) {
|
|
11
|
-
onHit(e);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
exports.useKey = useKey;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useHtmlElementEventListener } from "../useHtmlElementEventListener.qwik.mjs";
|
|
2
|
-
import { getDocument } from "../utils.qwik.mjs";
|
|
3
|
-
var useKey = function(key, onHit, active) {
|
|
4
|
-
useHtmlElementEventListener(getDocument(), "keydown", function(e) {
|
|
5
|
-
if (!active) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
if (active && key.toLowerCase() === e.key.toLowerCase()) {
|
|
9
|
-
onHit(e);
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
useKey
|
|
15
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../../../../../../../_virtual/index.qwik2.cjs");
|
|
4
|
-
const ControlledTreeEnvironment = require("../controlledEnvironment/ControlledTreeEnvironment.qwik.cjs");
|
|
5
|
-
const defaultKeyboardBindings = require("./defaultKeyboardBindings.qwik.cjs");
|
|
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 useKeyboardBindings = function() {
|
|
18
|
-
var environment = ControlledTreeEnvironment.useTreeEnvironment();
|
|
19
|
-
return index.reactExports.useMemo(function() {
|
|
20
|
-
if (environment.keyboardBindings) {
|
|
21
|
-
return __assign(__assign({}, defaultKeyboardBindings.defaultKeyboardBindings), environment.keyboardBindings);
|
|
22
|
-
}
|
|
23
|
-
return defaultKeyboardBindings.defaultKeyboardBindings;
|
|
24
|
-
}, [environment.keyboardBindings]);
|
|
25
|
-
};
|
|
26
|
-
exports.useKeyboardBindings = useKeyboardBindings;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { r as reactExports } from "../../../../../../../../_virtual/index.qwik2.mjs";
|
|
2
|
-
import { useTreeEnvironment } from "../controlledEnvironment/ControlledTreeEnvironment.qwik.mjs";
|
|
3
|
-
import { defaultKeyboardBindings } from "./defaultKeyboardBindings.qwik.mjs";
|
|
4
|
-
var __assign = function() {
|
|
5
|
-
__assign = Object.assign || function(t) {
|
|
6
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7
|
-
s = arguments[i];
|
|
8
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
9
|
-
t[p] = s[p];
|
|
10
|
-
}
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
13
|
-
return __assign.apply(this, arguments);
|
|
14
|
-
};
|
|
15
|
-
var useKeyboardBindings = function() {
|
|
16
|
-
var environment = useTreeEnvironment();
|
|
17
|
-
return reactExports.useMemo(function() {
|
|
18
|
-
if (environment.keyboardBindings) {
|
|
19
|
-
return __assign(__assign({}, defaultKeyboardBindings), environment.keyboardBindings);
|
|
20
|
-
}
|
|
21
|
-
return defaultKeyboardBindings;
|
|
22
|
-
}, [environment.keyboardBindings]);
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
useKeyboardBindings
|
|
26
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const types = require("../types.qwik.cjs");
|
|
4
|
-
const isControlKey = require("../isControlKey.qwik.cjs");
|
|
5
|
-
var ClickArrowToExpandInteractionManager = (
|
|
6
|
-
/** @class */
|
|
7
|
-
function() {
|
|
8
|
-
function ClickArrowToExpandInteractionManager2(environment) {
|
|
9
|
-
this.mode = types.InteractionMode.ClickItemToExpand;
|
|
10
|
-
this.environment = environment;
|
|
11
|
-
}
|
|
12
|
-
ClickArrowToExpandInteractionManager2.prototype.createInteractiveElementProps = function(item, treeId, actions, renderFlags) {
|
|
13
|
-
var _this = this;
|
|
14
|
-
return {
|
|
15
|
-
onClick: function(e) {
|
|
16
|
-
actions.focusItem();
|
|
17
|
-
if (e.shiftKey) {
|
|
18
|
-
actions.selectUpTo(!isControlKey.isControlKey(e));
|
|
19
|
-
} else if (isControlKey.isControlKey(e)) {
|
|
20
|
-
if (renderFlags.isSelected) {
|
|
21
|
-
actions.unselectItem();
|
|
22
|
-
} else {
|
|
23
|
-
actions.addToSelectedItems();
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
26
|
-
actions.selectItem();
|
|
27
|
-
if (!item.isFolder || _this.environment.canInvokePrimaryActionOnItemContainer) {
|
|
28
|
-
actions.primaryAction();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
onFocus: function() {
|
|
33
|
-
actions.focusItem();
|
|
34
|
-
},
|
|
35
|
-
onDragStart: function(e) {
|
|
36
|
-
e.dataTransfer.dropEffect = "move";
|
|
37
|
-
actions.startDragging();
|
|
38
|
-
},
|
|
39
|
-
onDragOver: function(e) {
|
|
40
|
-
e.preventDefault();
|
|
41
|
-
},
|
|
42
|
-
draggable: renderFlags.canDrag && !renderFlags.isRenaming,
|
|
43
|
-
tabIndex: !renderFlags.isRenaming ? renderFlags.isFocused ? 0 : -1 : void 0
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
return ClickArrowToExpandInteractionManager2;
|
|
47
|
-
}()
|
|
48
|
-
);
|
|
49
|
-
exports.ClickArrowToExpandInteractionManager = ClickArrowToExpandInteractionManager;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { InteractionMode } from "../types.qwik.mjs";
|
|
2
|
-
import { isControlKey } from "../isControlKey.qwik.mjs";
|
|
3
|
-
var ClickArrowToExpandInteractionManager = (
|
|
4
|
-
/** @class */
|
|
5
|
-
function() {
|
|
6
|
-
function ClickArrowToExpandInteractionManager2(environment) {
|
|
7
|
-
this.mode = InteractionMode.ClickItemToExpand;
|
|
8
|
-
this.environment = environment;
|
|
9
|
-
}
|
|
10
|
-
ClickArrowToExpandInteractionManager2.prototype.createInteractiveElementProps = function(item, treeId, actions, renderFlags) {
|
|
11
|
-
var _this = this;
|
|
12
|
-
return {
|
|
13
|
-
onClick: function(e) {
|
|
14
|
-
actions.focusItem();
|
|
15
|
-
if (e.shiftKey) {
|
|
16
|
-
actions.selectUpTo(!isControlKey(e));
|
|
17
|
-
} else if (isControlKey(e)) {
|
|
18
|
-
if (renderFlags.isSelected) {
|
|
19
|
-
actions.unselectItem();
|
|
20
|
-
} else {
|
|
21
|
-
actions.addToSelectedItems();
|
|
22
|
-
}
|
|
23
|
-
} else {
|
|
24
|
-
actions.selectItem();
|
|
25
|
-
if (!item.isFolder || _this.environment.canInvokePrimaryActionOnItemContainer) {
|
|
26
|
-
actions.primaryAction();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
onFocus: function() {
|
|
31
|
-
actions.focusItem();
|
|
32
|
-
},
|
|
33
|
-
onDragStart: function(e) {
|
|
34
|
-
e.dataTransfer.dropEffect = "move";
|
|
35
|
-
actions.startDragging();
|
|
36
|
-
},
|
|
37
|
-
onDragOver: function(e) {
|
|
38
|
-
e.preventDefault();
|
|
39
|
-
},
|
|
40
|
-
draggable: renderFlags.canDrag && !renderFlags.isRenaming,
|
|
41
|
-
tabIndex: !renderFlags.isRenaming ? renderFlags.isFocused ? 0 : -1 : void 0
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
return ClickArrowToExpandInteractionManager2;
|
|
45
|
-
}()
|
|
46
|
-
);
|
|
47
|
-
export {
|
|
48
|
-
ClickArrowToExpandInteractionManager
|
|
49
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const types = require("../types.qwik.cjs");
|
|
4
|
-
const isControlKey = require("../isControlKey.qwik.cjs");
|
|
5
|
-
var ClickItemToExpandInteractionManager = (
|
|
6
|
-
/** @class */
|
|
7
|
-
function() {
|
|
8
|
-
function ClickItemToExpandInteractionManager2(environment) {
|
|
9
|
-
this.mode = types.InteractionMode.ClickItemToExpand;
|
|
10
|
-
this.environment = environment;
|
|
11
|
-
}
|
|
12
|
-
ClickItemToExpandInteractionManager2.prototype.createInteractiveElementProps = function(item, treeId, actions, renderFlags) {
|
|
13
|
-
var _this = this;
|
|
14
|
-
return {
|
|
15
|
-
onClick: function(e) {
|
|
16
|
-
actions.focusItem();
|
|
17
|
-
if (e.shiftKey) {
|
|
18
|
-
actions.selectUpTo(!isControlKey.isControlKey(e));
|
|
19
|
-
} else if (isControlKey.isControlKey(e)) {
|
|
20
|
-
if (renderFlags.isSelected) {
|
|
21
|
-
actions.unselectItem();
|
|
22
|
-
} else {
|
|
23
|
-
actions.addToSelectedItems();
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
26
|
-
if (item.isFolder) {
|
|
27
|
-
actions.toggleExpandedState();
|
|
28
|
-
}
|
|
29
|
-
actions.selectItem();
|
|
30
|
-
if (!item.isFolder || _this.environment.canInvokePrimaryActionOnItemContainer) {
|
|
31
|
-
actions.primaryAction();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
onFocus: function() {
|
|
36
|
-
actions.focusItem();
|
|
37
|
-
},
|
|
38
|
-
onDragStart: function(e) {
|
|
39
|
-
e.dataTransfer.dropEffect = "move";
|
|
40
|
-
actions.startDragging();
|
|
41
|
-
},
|
|
42
|
-
onDragOver: function(e) {
|
|
43
|
-
e.preventDefault();
|
|
44
|
-
},
|
|
45
|
-
draggable: renderFlags.canDrag && !renderFlags.isRenaming,
|
|
46
|
-
tabIndex: !renderFlags.isRenaming ? renderFlags.isFocused ? 0 : -1 : void 0
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
return ClickItemToExpandInteractionManager2;
|
|
50
|
-
}()
|
|
51
|
-
);
|
|
52
|
-
exports.ClickItemToExpandInteractionManager = ClickItemToExpandInteractionManager;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { InteractionMode } from "../types.qwik.mjs";
|
|
2
|
-
import { isControlKey } from "../isControlKey.qwik.mjs";
|
|
3
|
-
var ClickItemToExpandInteractionManager = (
|
|
4
|
-
/** @class */
|
|
5
|
-
function() {
|
|
6
|
-
function ClickItemToExpandInteractionManager2(environment) {
|
|
7
|
-
this.mode = InteractionMode.ClickItemToExpand;
|
|
8
|
-
this.environment = environment;
|
|
9
|
-
}
|
|
10
|
-
ClickItemToExpandInteractionManager2.prototype.createInteractiveElementProps = function(item, treeId, actions, renderFlags) {
|
|
11
|
-
var _this = this;
|
|
12
|
-
return {
|
|
13
|
-
onClick: function(e) {
|
|
14
|
-
actions.focusItem();
|
|
15
|
-
if (e.shiftKey) {
|
|
16
|
-
actions.selectUpTo(!isControlKey(e));
|
|
17
|
-
} else if (isControlKey(e)) {
|
|
18
|
-
if (renderFlags.isSelected) {
|
|
19
|
-
actions.unselectItem();
|
|
20
|
-
} else {
|
|
21
|
-
actions.addToSelectedItems();
|
|
22
|
-
}
|
|
23
|
-
} else {
|
|
24
|
-
if (item.isFolder) {
|
|
25
|
-
actions.toggleExpandedState();
|
|
26
|
-
}
|
|
27
|
-
actions.selectItem();
|
|
28
|
-
if (!item.isFolder || _this.environment.canInvokePrimaryActionOnItemContainer) {
|
|
29
|
-
actions.primaryAction();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
onFocus: function() {
|
|
34
|
-
actions.focusItem();
|
|
35
|
-
},
|
|
36
|
-
onDragStart: function(e) {
|
|
37
|
-
e.dataTransfer.dropEffect = "move";
|
|
38
|
-
actions.startDragging();
|
|
39
|
-
},
|
|
40
|
-
onDragOver: function(e) {
|
|
41
|
-
e.preventDefault();
|
|
42
|
-
},
|
|
43
|
-
draggable: renderFlags.canDrag && !renderFlags.isRenaming,
|
|
44
|
-
tabIndex: !renderFlags.isRenaming ? renderFlags.isFocused ? 0 : -1 : void 0
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
return ClickItemToExpandInteractionManager2;
|
|
48
|
-
}()
|
|
49
|
-
);
|
|
50
|
-
export {
|
|
51
|
-
ClickItemToExpandInteractionManager
|
|
52
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const types = require("../types.qwik.cjs");
|
|
4
|
-
const isControlKey = require("../isControlKey.qwik.cjs");
|
|
5
|
-
var DoubleClickItemToExpandInteractionManager = (
|
|
6
|
-
/** @class */
|
|
7
|
-
function() {
|
|
8
|
-
function DoubleClickItemToExpandInteractionManager2(environment) {
|
|
9
|
-
this.mode = types.InteractionMode.DoubleClickItemToExpand;
|
|
10
|
-
this.environment = environment;
|
|
11
|
-
}
|
|
12
|
-
DoubleClickItemToExpandInteractionManager2.prototype.createInteractiveElementProps = function(item, treeId, actions, renderFlags) {
|
|
13
|
-
var _this = this;
|
|
14
|
-
return {
|
|
15
|
-
onClick: function(e) {
|
|
16
|
-
actions.focusItem();
|
|
17
|
-
if (e.shiftKey) {
|
|
18
|
-
actions.selectUpTo(!isControlKey.isControlKey(e));
|
|
19
|
-
} else if (isControlKey.isControlKey(e)) {
|
|
20
|
-
if (renderFlags.isSelected) {
|
|
21
|
-
actions.unselectItem();
|
|
22
|
-
} else {
|
|
23
|
-
actions.addToSelectedItems();
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
26
|
-
actions.selectItem();
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
onDoubleClick: function() {
|
|
30
|
-
actions.focusItem();
|
|
31
|
-
actions.selectItem();
|
|
32
|
-
if (item.isFolder) {
|
|
33
|
-
actions.toggleExpandedState();
|
|
34
|
-
}
|
|
35
|
-
if (!item.isFolder || _this.environment.canInvokePrimaryActionOnItemContainer) {
|
|
36
|
-
actions.primaryAction();
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
onFocus: function() {
|
|
40
|
-
actions.focusItem();
|
|
41
|
-
},
|
|
42
|
-
onDragStart: function(e) {
|
|
43
|
-
e.dataTransfer.dropEffect = "move";
|
|
44
|
-
actions.startDragging();
|
|
45
|
-
},
|
|
46
|
-
onDragOver: function(e) {
|
|
47
|
-
e.preventDefault();
|
|
48
|
-
},
|
|
49
|
-
draggable: renderFlags.canDrag && !renderFlags.isRenaming,
|
|
50
|
-
tabIndex: !renderFlags.isRenaming ? renderFlags.isFocused ? 0 : -1 : void 0
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
return DoubleClickItemToExpandInteractionManager2;
|
|
54
|
-
}()
|
|
55
|
-
);
|
|
56
|
-
exports.DoubleClickItemToExpandInteractionManager = DoubleClickItemToExpandInteractionManager;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { InteractionMode } from "../types.qwik.mjs";
|
|
2
|
-
import { isControlKey } from "../isControlKey.qwik.mjs";
|
|
3
|
-
var DoubleClickItemToExpandInteractionManager = (
|
|
4
|
-
/** @class */
|
|
5
|
-
function() {
|
|
6
|
-
function DoubleClickItemToExpandInteractionManager2(environment) {
|
|
7
|
-
this.mode = InteractionMode.DoubleClickItemToExpand;
|
|
8
|
-
this.environment = environment;
|
|
9
|
-
}
|
|
10
|
-
DoubleClickItemToExpandInteractionManager2.prototype.createInteractiveElementProps = function(item, treeId, actions, renderFlags) {
|
|
11
|
-
var _this = this;
|
|
12
|
-
return {
|
|
13
|
-
onClick: function(e) {
|
|
14
|
-
actions.focusItem();
|
|
15
|
-
if (e.shiftKey) {
|
|
16
|
-
actions.selectUpTo(!isControlKey(e));
|
|
17
|
-
} else if (isControlKey(e)) {
|
|
18
|
-
if (renderFlags.isSelected) {
|
|
19
|
-
actions.unselectItem();
|
|
20
|
-
} else {
|
|
21
|
-
actions.addToSelectedItems();
|
|
22
|
-
}
|
|
23
|
-
} else {
|
|
24
|
-
actions.selectItem();
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
onDoubleClick: function() {
|
|
28
|
-
actions.focusItem();
|
|
29
|
-
actions.selectItem();
|
|
30
|
-
if (item.isFolder) {
|
|
31
|
-
actions.toggleExpandedState();
|
|
32
|
-
}
|
|
33
|
-
if (!item.isFolder || _this.environment.canInvokePrimaryActionOnItemContainer) {
|
|
34
|
-
actions.primaryAction();
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
onFocus: function() {
|
|
38
|
-
actions.focusItem();
|
|
39
|
-
},
|
|
40
|
-
onDragStart: function(e) {
|
|
41
|
-
e.dataTransfer.dropEffect = "move";
|
|
42
|
-
actions.startDragging();
|
|
43
|
-
},
|
|
44
|
-
onDragOver: function(e) {
|
|
45
|
-
e.preventDefault();
|
|
46
|
-
},
|
|
47
|
-
draggable: renderFlags.canDrag && !renderFlags.isRenaming,
|
|
48
|
-
tabIndex: !renderFlags.isRenaming ? renderFlags.isFocused ? 0 : -1 : void 0
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
return DoubleClickItemToExpandInteractionManager2;
|
|
52
|
-
}()
|
|
53
|
-
);
|
|
54
|
-
export {
|
|
55
|
-
DoubleClickItemToExpandInteractionManager
|
|
56
|
-
};
|