@mui/x-tree-view-pro 7.15.0 → 7.16.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/CHANGELOG.md +98 -1
- package/RichTreeViewPro/RichTreeViewPro.js +4 -4
- package/RichTreeViewPro/RichTreeViewPro.plugins.js +1 -1
- package/RichTreeViewPro/index.js +2 -2
- package/index.js +2 -2
- package/internals/index.js +1 -1
- package/internals/plugins/useTreeViewItemsReordering/index.js +1 -1
- package/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +2 -2
- package/internals/utils/releaseInfo.js +1 -1
- package/modern/RichTreeViewPro/RichTreeViewPro.js +4 -4
- package/modern/RichTreeViewPro/RichTreeViewPro.plugins.js +1 -1
- package/modern/RichTreeViewPro/index.js +2 -2
- package/modern/index.js +2 -2
- package/modern/internals/index.js +1 -1
- package/modern/internals/plugins/useTreeViewItemsReordering/index.js +1 -1
- package/modern/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +2 -2
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/modern/themeAugmentation/index.js +0 -3
- package/node/RichTreeViewPro/RichTreeViewPro.js +2 -3
- package/node/RichTreeViewPro/richTreeViewProClasses.js +1 -1
- package/node/index.js +1 -1
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.itemPlugin.js +1 -2
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.js +2 -3
- package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.utils.js +1 -1
- package/node/internals/utils/releaseInfo.js +1 -1
- package/node/themeAugmentation/index.js +1 -38
- package/package.json +5 -5
- package/themeAugmentation/index.d.ts +3 -3
- package/themeAugmentation/index.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,105 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 7.16.0
|
|
7
|
+
|
|
8
|
+
_Sep 5, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎨 Update the design of Data Grid column headers (#14293)
|
|
13
|
+
- 🧠 Add the `slots` concept introduction documentation page (#13881)
|
|
14
|
+
- 🌍 Improve Chinese (zh-CN) and Dutch (nl-NL) locales on the Data Grid
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
- 📚 Documentation improvements
|
|
17
|
+
|
|
18
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@7.16.0`
|
|
23
|
+
|
|
24
|
+
- [DataGrid] Add key prop to `GridFilterInputMultipleValue` (#14302) @sai6855
|
|
25
|
+
- [DataGrid] Allow to control the indeterminate checkbox behavior (#14247) @MBilalShafi
|
|
26
|
+
- [DataGrid] Column header design updates (#14293) @KenanYusuf
|
|
27
|
+
- [DataGrid] Fix error on simultaneous `columns` and `columnGroupingModel` update (#14368) @cherniavskii
|
|
28
|
+
- [DataGrid] Fix first row flickering with `autoHeight` prop enabled (#14235) @KenanYusuf
|
|
29
|
+
- [DataGrid] Remove cell min-width / max-width styles (#14448) @oliviertassinari
|
|
30
|
+
- [DataGrid] Restore reselect behavior (#14410) @romgrk
|
|
31
|
+
- [l10n] Improve Chinese (zh-CN) locale (#14394) @lawvs
|
|
32
|
+
- [l10n] Improve Dutch (nl-NL) locale (#14398) @Janpot
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-pro@7.16.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid@7.16.0`, plus:
|
|
37
|
+
|
|
38
|
+
- [DataGridPro] Fix duplicate top border in header filters (#14375) @MBilalShafi
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@7.16.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@7.16.0`.
|
|
43
|
+
|
|
44
|
+
### Date and Time Pickers
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers@7.16.0`
|
|
47
|
+
|
|
48
|
+
- [pickers] Improve `onError` JSDoc (#14492) @flaviendelangle
|
|
49
|
+
- [pickers] Keep the calendar header and content in sync when switching locale (#14125) @flaviendelangle
|
|
50
|
+
- [pickers] Move multi input range field validation tests to the describe test file (#14501) @flaviendelangle
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-date-pickers-pro@7.16.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
53
|
+
|
|
54
|
+
Same changes as in `@mui/x-date-pickers@7.16.0`.
|
|
55
|
+
|
|
56
|
+
### Charts
|
|
57
|
+
|
|
58
|
+
#### `@mui/x-charts@7.16.0`
|
|
59
|
+
|
|
60
|
+
- [charts] Fix JSDoc typos (#14497) @alexfauquette
|
|
61
|
+
- [charts] Fix `LineChart` not properly animating when hydrating (#14355) @JCQuintas
|
|
62
|
+
- [charts] Fix theme augmentation (#14372) @alexfauquette
|
|
63
|
+
- [charts] Pass all props to legend (#14392) @JCQuintas
|
|
64
|
+
- [charts] Use `.mjs` extension for ESM build (#14387) @alexfauquette
|
|
65
|
+
- [charts] Update `package.json` for vendor package (#14465) @alexfauquette
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-pro@7.0.0-beta.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts@7.16.0`, plus:
|
|
70
|
+
|
|
71
|
+
- [charts-pro] Fix props and automated documentation on `BarChartPro` and `LineChartPro` (#14391) @JCQuintas
|
|
72
|
+
|
|
73
|
+
### Tree View
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-tree-view@7.16.0`
|
|
76
|
+
|
|
77
|
+
- [TreeView] Clean label editing code (#14264) @flaviendelangle
|
|
78
|
+
|
|
79
|
+
### `@mui/x-codemod@7.16.0`
|
|
80
|
+
|
|
81
|
+
- [codemod] Fix `experimentalFeatures` codemod for typescript parser (#14150) @MBilalShafi
|
|
82
|
+
|
|
83
|
+
### Docs
|
|
84
|
+
|
|
85
|
+
- [docs] Add RTL documentation for the pickers (#13855) @flaviendelangle
|
|
86
|
+
- [docs] Add the `slots` concept introduction page (#13881) @flaviendelangle
|
|
87
|
+
- [docs] Remove TypeScript v3 outdated version mentions (#14443) @k-rajat19
|
|
88
|
+
- [docs] Remove notion of seats (#14351) @oliviertassinari
|
|
89
|
+
- [docs] Use real world data for `PieChart` examples (#14297) @JCQuintas
|
|
90
|
+
|
|
91
|
+
### Core
|
|
92
|
+
|
|
93
|
+
- [core] Fix changelog spelling @oliviertassinari
|
|
94
|
+
- [core] Fix failing tests on the pickers (#14457) @flaviendelangle
|
|
95
|
+
- [core] Reset permissions for codspeed GitHub Action (#14420) @oliviertassinari
|
|
96
|
+
- [code-infra] Add babel runtime version check (#14483) @Janpot
|
|
97
|
+
- [code-infra] Fully resolve imports in ESM target (#14234) @Janpot
|
|
98
|
+
- [code-infra] Update runners from node 18 to 20 (#14466) @JCQuintas
|
|
99
|
+
- [infra] Added `secrets: inherit` to workflow call (#14454) @michelengelen
|
|
100
|
+
- [infra] Switch "add closing message" to reusable workflow (#14499) @michelengelen
|
|
101
|
+
- [infra] Switch "issue triage workflow" to reusable workflows (#14390) @michelengelen
|
|
102
|
+
|
|
6
103
|
## 7.15.0
|
|
7
104
|
|
|
8
105
|
_Aug 29, 2024_
|
|
@@ -6,10 +6,10 @@ import { useLicenseVerifier, Watermark } from '@mui/x-license';
|
|
|
6
6
|
import useSlotProps from '@mui/utils/useSlotProps';
|
|
7
7
|
import { TreeItem } from '@mui/x-tree-view/TreeItem';
|
|
8
8
|
import { useTreeView, TreeViewProvider, warnOnce } from '@mui/x-tree-view/internals';
|
|
9
|
-
import { styled, createUseThemeProps } from
|
|
10
|
-
import { getRichTreeViewProUtilityClass } from
|
|
11
|
-
import { RICH_TREE_VIEW_PRO_PLUGINS } from
|
|
12
|
-
import { getReleaseInfo } from
|
|
9
|
+
import { styled, createUseThemeProps } from "../internals/zero-styled/index.js";
|
|
10
|
+
import { getRichTreeViewProUtilityClass } from "./richTreeViewProClasses.js";
|
|
11
|
+
import { RICH_TREE_VIEW_PRO_PLUGINS } from "./RichTreeViewPro.plugins.js";
|
|
12
|
+
import { getReleaseInfo } from "../internals/utils/releaseInfo.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
const useThemeProps = createUseThemeProps('MuiRichTreeViewPro');
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeViewItems, useTreeViewExpansion, useTreeViewSelection, useTreeViewFocus, useTreeViewKeyboardNavigation, useTreeViewIcons, useTreeViewLabel } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { useTreeViewItemsReordering } from
|
|
2
|
+
import { useTreeViewItemsReordering } from "../internals/plugins/useTreeViewItemsReordering/index.js";
|
|
3
3
|
export const RICH_TREE_VIEW_PRO_PLUGINS = [useTreeViewItems, useTreeViewExpansion, useTreeViewSelection, useTreeViewFocus, useTreeViewKeyboardNavigation, useTreeViewIcons, useTreeViewLabel, useTreeViewItemsReordering];
|
|
4
4
|
|
|
5
5
|
// We can't infer this type from the plugin, otherwise we would lose the generics.
|
package/RichTreeViewPro/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./RichTreeViewPro.js";
|
|
2
|
+
export * from "./richTreeViewProClasses.js";
|
|
3
3
|
export {};
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-tree-view-pro v7.
|
|
2
|
+
* @mui/x-tree-view-pro v7.16.0
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// Tree View
|
|
9
9
|
export * from '@mui/x-tree-view/TreeView';
|
|
10
10
|
export * from '@mui/x-tree-view/SimpleTreeView';
|
|
11
|
-
export * from
|
|
11
|
+
export * from "./RichTreeViewPro/index.js";
|
|
12
12
|
|
|
13
13
|
// Tree Item
|
|
14
14
|
export * from '@mui/x-tree-view/TreeItem';
|
package/internals/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { UseTreeViewItemsReorderingSignature } from
|
|
1
|
+
export { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useTreeViewItemsReordering } from
|
|
1
|
+
export { useTreeViewItemsReordering } from "./useTreeViewItemsReordering.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { warnOnce } from '@mui/x-tree-view/internals';
|
|
4
|
-
import { chooseActionToApply, isAncestor, moveItemInTree } from
|
|
5
|
-
import { useTreeViewItemsReorderingItemPlugin } from
|
|
4
|
+
import { chooseActionToApply, isAncestor, moveItemInTree } from "./useTreeViewItemsReordering.utils.js";
|
|
5
|
+
import { useTreeViewItemsReorderingItemPlugin } from "./useTreeViewItemsReordering.itemPlugin.js";
|
|
6
6
|
export const useTreeViewItemsReordering = ({
|
|
7
7
|
params,
|
|
8
8
|
instance,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcyNTQ4MzYwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -6,10 +6,10 @@ import { useLicenseVerifier, Watermark } from '@mui/x-license';
|
|
|
6
6
|
import useSlotProps from '@mui/utils/useSlotProps';
|
|
7
7
|
import { TreeItem } from '@mui/x-tree-view/TreeItem';
|
|
8
8
|
import { useTreeView, TreeViewProvider, warnOnce } from '@mui/x-tree-view/internals';
|
|
9
|
-
import { styled, createUseThemeProps } from
|
|
10
|
-
import { getRichTreeViewProUtilityClass } from
|
|
11
|
-
import { RICH_TREE_VIEW_PRO_PLUGINS } from
|
|
12
|
-
import { getReleaseInfo } from
|
|
9
|
+
import { styled, createUseThemeProps } from "../internals/zero-styled/index.js";
|
|
10
|
+
import { getRichTreeViewProUtilityClass } from "./richTreeViewProClasses.js";
|
|
11
|
+
import { RICH_TREE_VIEW_PRO_PLUGINS } from "./RichTreeViewPro.plugins.js";
|
|
12
|
+
import { getReleaseInfo } from "../internals/utils/releaseInfo.js";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
const useThemeProps = createUseThemeProps('MuiRichTreeViewPro');
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeViewItems, useTreeViewExpansion, useTreeViewSelection, useTreeViewFocus, useTreeViewKeyboardNavigation, useTreeViewIcons, useTreeViewLabel } from '@mui/x-tree-view/internals';
|
|
2
|
-
import { useTreeViewItemsReordering } from
|
|
2
|
+
import { useTreeViewItemsReordering } from "../internals/plugins/useTreeViewItemsReordering/index.js";
|
|
3
3
|
export const RICH_TREE_VIEW_PRO_PLUGINS = [useTreeViewItems, useTreeViewExpansion, useTreeViewSelection, useTreeViewFocus, useTreeViewKeyboardNavigation, useTreeViewIcons, useTreeViewLabel, useTreeViewItemsReordering];
|
|
4
4
|
|
|
5
5
|
// We can't infer this type from the plugin, otherwise we would lose the generics.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./RichTreeViewPro.js";
|
|
2
|
+
export * from "./richTreeViewProClasses.js";
|
|
3
3
|
export {};
|
package/modern/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/x-tree-view-pro v7.
|
|
2
|
+
* @mui/x-tree-view-pro v7.16.0
|
|
3
3
|
*
|
|
4
4
|
* @license MUI X Commercial
|
|
5
5
|
* This source code is licensed under the commercial license found in the
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// Tree View
|
|
9
9
|
export * from '@mui/x-tree-view/TreeView';
|
|
10
10
|
export * from '@mui/x-tree-view/SimpleTreeView';
|
|
11
|
-
export * from
|
|
11
|
+
export * from "./RichTreeViewPro/index.js";
|
|
12
12
|
|
|
13
13
|
// Tree Item
|
|
14
14
|
export * from '@mui/x-tree-view/TreeItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { UseTreeViewItemsReorderingSignature } from
|
|
1
|
+
export { UseTreeViewItemsReorderingSignature } from "./plugins/useTreeViewItemsReordering/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useTreeViewItemsReordering } from
|
|
1
|
+
export { useTreeViewItemsReordering } from "./useTreeViewItemsReordering.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { warnOnce } from '@mui/x-tree-view/internals';
|
|
4
|
-
import { chooseActionToApply, isAncestor, moveItemInTree } from
|
|
5
|
-
import { useTreeViewItemsReorderingItemPlugin } from
|
|
4
|
+
import { chooseActionToApply, isAncestor, moveItemInTree } from "./useTreeViewItemsReordering.utils.js";
|
|
5
|
+
import { useTreeViewItemsReorderingItemPlugin } from "./useTreeViewItemsReordering.itemPlugin.js";
|
|
6
6
|
export const useTreeViewItemsReordering = ({
|
|
7
7
|
params,
|
|
8
8
|
instance,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcyNTQ4MzYwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -18,8 +19,6 @@ var _richTreeViewProClasses = require("./richTreeViewProClasses");
|
|
|
18
19
|
var _RichTreeViewPro = require("./RichTreeViewPro.plugins");
|
|
19
20
|
var _releaseInfo = require("../internals/utils/releaseInfo");
|
|
20
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
22
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
22
|
const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiRichTreeViewPro');
|
|
24
23
|
const useUtilityClasses = ownerState => {
|
|
25
24
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
package/node/index.js
CHANGED
package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.itemPlugin.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.useTreeViewItemsReorderingItemPlugin = exports.isAndroid = void 0;
|
|
7
8
|
var React = _interopRequireWildcard(require("react"));
|
|
8
9
|
var _internals = require("@mui/x-tree-view/internals");
|
|
9
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
10
|
const isAndroid = () => navigator.userAgent.toLowerCase().includes('android');
|
|
12
11
|
exports.isAndroid = isAndroid;
|
|
13
12
|
const useTreeViewItemsReorderingItemPlugin = ({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -10,8 +11,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
10
11
|
var _internals = require("@mui/x-tree-view/internals");
|
|
11
12
|
var _useTreeViewItemsReordering = require("./useTreeViewItemsReordering.utils");
|
|
12
13
|
var _useTreeViewItemsReordering2 = require("./useTreeViewItemsReordering.itemPlugin");
|
|
13
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
14
|
const useTreeViewItemsReordering = ({
|
|
16
15
|
params,
|
|
17
16
|
instance,
|
package/node/internals/plugins/useTreeViewItemsReordering/useTreeViewItemsReordering.utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTcyNTQ4MzYwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _overrides = require("./overrides");
|
|
7
|
-
Object.keys(_overrides).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _overrides[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _overrides[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _props = require("./props");
|
|
18
|
-
Object.keys(_props).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _props[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _props[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _components = require("./components");
|
|
29
|
-
Object.keys(_components).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _components[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () {
|
|
35
|
-
return _components[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
1
|
+
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-tree-view-pro",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.16.0",
|
|
4
4
|
"description": "The Pro plan edition of the Tree View components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"directory": "packages/x-tree-view-pro"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@babel/runtime": "^7.25.
|
|
36
|
+
"@babel/runtime": "^7.25.6",
|
|
37
37
|
"@mui/utils": "^5.16.6",
|
|
38
38
|
"@types/react-transition-group": "^4.4.11",
|
|
39
39
|
"clsx": "^2.1.1",
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
41
|
"react-transition-group": "^4.4.5",
|
|
42
|
-
"@mui/x-internals": "7.
|
|
43
|
-
"@mui/x-license": "7.
|
|
44
|
-
"@mui/x-tree-view": "7.
|
|
42
|
+
"@mui/x-internals": "7.16.0",
|
|
43
|
+
"@mui/x-license": "7.16.0",
|
|
44
|
+
"@mui/x-tree-view": "7.16.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@emotion/react": "^11.9.0",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './overrides';
|
|
2
|
-
export * from './props';
|
|
3
|
-
export * from './components';
|
|
1
|
+
export type * from './overrides';
|
|
2
|
+
export type * from './props';
|
|
3
|
+
export type * from './components';
|