@mui/x-internals 8.10.0 → 8.10.2
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 +182 -0
- package/EventManager/EventManager.js +3 -5
- package/esm/EventManager/EventManager.js +3 -5
- package/esm/store/Store.d.ts +1 -2
- package/esm/store/Store.js +21 -29
- package/esm/throttle/index.d.ts +1 -1
- package/esm/throttle/index.js +1 -1
- package/package.json +4 -15
- package/store/Store.d.ts +1 -2
- package/store/Store.js +21 -29
- package/throttle/index.d.ts +1 -1
- package/throttle/index.js +11 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,188 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.10.2
|
|
9
|
+
|
|
10
|
+
_Aug 20, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 🌎 Improve Finnish (fi-FI) locale on the Data Grid
|
|
15
|
+
|
|
16
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
17
|
+
@lauri-heinonen-2025-04, @Methuselah96, @sai6855, @wilcoschoneveld
|
|
18
|
+
|
|
19
|
+
The following are all team members who have contributed to this release:
|
|
20
|
+
@alexfauquette, @cherniavskii, @flaviendelangle, @Janpot, @oliviertassinari, @rita-codes
|
|
21
|
+
|
|
22
|
+
### Data Grid
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid@8.10.2`
|
|
25
|
+
|
|
26
|
+
- [DataGrid] Fix display for `<GridEditSingleSelect />` when `density='compact'` (#19249) @sai6855
|
|
27
|
+
- [DataGrid] Fix column header sortable classname when using `disableColumnSorting` (#19222) @wilcoschoneveld
|
|
28
|
+
- [l10n] Improve finnish (fi-FI) locale (#19163) @lauri-heinonen-2025-04
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@8.10.2`, plus:
|
|
33
|
+
|
|
34
|
+
- [DataGridPro] Fix quick filter not working in List View mode (#19254) @cherniavskii
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-data-grid-premium@8.10.2` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-data-grid-pro@8.10.2`.
|
|
39
|
+
|
|
40
|
+
### Date and Time Pickers
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-date-pickers@8.10.2`
|
|
43
|
+
|
|
44
|
+
Internal changes.
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-date-pickers@8.10.2`.
|
|
49
|
+
|
|
50
|
+
### Charts
|
|
51
|
+
|
|
52
|
+
#### `@mui/x-charts@8.10.2`
|
|
53
|
+
|
|
54
|
+
Internal changes.
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-charts-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-charts@8.10.2`.
|
|
59
|
+
|
|
60
|
+
### Tree View
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-tree-view@8.10.2`
|
|
63
|
+
|
|
64
|
+
- [tree view] Add `aria-hidden` to the Tree Item Checkbox (#19246) @flaviendelangle
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-tree-view-pro@8.10.2` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-tree-view@8.10.2`.
|
|
69
|
+
|
|
70
|
+
### Codemod
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-codemod@8.10.2`
|
|
73
|
+
|
|
74
|
+
Internal changes.
|
|
75
|
+
|
|
76
|
+
### Docs
|
|
77
|
+
|
|
78
|
+
- [docs] Fix links to the pyramid chart (#19250) @alexfauquette
|
|
79
|
+
|
|
80
|
+
### Core
|
|
81
|
+
|
|
82
|
+
- [internal] Avoid script for CI only @oliviertassinari
|
|
83
|
+
- [internal] Fix `renovate.json` @oliviertassinari
|
|
84
|
+
- [internal] Polish renovate config @oliviertassinari
|
|
85
|
+
- [internal] Rename core to internal (#19203) @oliviertassinari
|
|
86
|
+
- [internal] Update link to GitHub labels @oliviertassinari
|
|
87
|
+
|
|
88
|
+
### Miscellaneous
|
|
89
|
+
|
|
90
|
+
- [code-infra] Prepare for incoming `execa` update (#19229) @Janpot
|
|
91
|
+
- [virtualizer] Fix type import (#19192) @Methuselah96
|
|
92
|
+
- [virtualizer] Improve type export (#19192) @Methuselah96
|
|
93
|
+
|
|
94
|
+
## 8.10.1
|
|
95
|
+
|
|
96
|
+
_Aug 15, 2025_
|
|
97
|
+
|
|
98
|
+
We'd like to extend a big thank you to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
99
|
+
|
|
100
|
+
- 📊 Y-axes can now be grouped by category when using `band` and `point` scales.
|
|
101
|
+
- 📚 Documentation improvements
|
|
102
|
+
|
|
103
|
+
The following are all team members who have contributed to this release:
|
|
104
|
+
@alexfauquette, @bernardobelchior, @Janpot, @JCQuintas, @mnajdova, @oliviertassinari, @prakhargupta1, @romgrk
|
|
105
|
+
|
|
106
|
+
### Data Grid
|
|
107
|
+
|
|
108
|
+
#### `@mui/x-data-grid@8.10.1`
|
|
109
|
+
|
|
110
|
+
- [DataGrid] Fix scroll jumping (#19156) @romgrk
|
|
111
|
+
- [DataGrid] Fix scroll restoration (#19182) @romgrk
|
|
112
|
+
- [DataGrid] Fix "no row with id" error (#19193) @romgrk
|
|
113
|
+
|
|
114
|
+
#### `@mui/x-data-grid-pro@8.10.1` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
115
|
+
|
|
116
|
+
Same changes as in `@mui/x-data-grid@8.10.1`.
|
|
117
|
+
|
|
118
|
+
#### `@mui/x-data-grid-premium@8.10.1` [](https://mui.com/r/x-premium-svg-link "Premium plan")
|
|
119
|
+
|
|
120
|
+
Same changes as in `@mui/x-data-grid-pro@8.10.1`.
|
|
121
|
+
|
|
122
|
+
### Date and Time Pickers
|
|
123
|
+
|
|
124
|
+
#### `@mui/x-date-pickers@8.10.0`
|
|
125
|
+
|
|
126
|
+
Internal changes.
|
|
127
|
+
|
|
128
|
+
#### `@mui/x-date-pickers-pro@8.10.0` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
129
|
+
|
|
130
|
+
Same changes as in `@mui/x-date-pickers@8.10.0`.
|
|
131
|
+
|
|
132
|
+
### Charts
|
|
133
|
+
|
|
134
|
+
- Axes can now be grouped by category when using `band` and `point` scales
|
|
135
|
+
|
|
136
|
+
<img width="643" height="455" alt="Bar chart with y-axis grouped per categories" src="https://github.com/user-attachments/assets/59044afe-bcc5-4152-8bf1-225db0635025" />
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-charts@8.10.1`
|
|
139
|
+
|
|
140
|
+
- [charts] Allow y-axis to be grouped (#19081) @JCQuintas
|
|
141
|
+
- [charts] Fix default axis highlight for axes without data attribute (#18985) @alexfauquette
|
|
142
|
+
- [charts] Fix tooltip mark unexpected wrapping in mobile (#19122) @bernardobelchior
|
|
143
|
+
- [charts] Prevent overflow on charts tooltip (#19123) @bernardobelchior
|
|
144
|
+
|
|
145
|
+
#### `@mui/x-charts-pro@8.10.1` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
146
|
+
|
|
147
|
+
Same changes as in `@mui/x-charts@8.10.1`.
|
|
148
|
+
|
|
149
|
+
### Tree View
|
|
150
|
+
|
|
151
|
+
#### `@mui/x-tree-view@8.10.1`
|
|
152
|
+
|
|
153
|
+
Internal changes.
|
|
154
|
+
|
|
155
|
+
#### `@mui/x-tree-view-pro@8.10.1` [](https://mui.com/r/x-pro-svg-link "Pro plan")
|
|
156
|
+
|
|
157
|
+
Same changes as in `@mui/x-tree-view@8.10.1`.
|
|
158
|
+
|
|
159
|
+
### Codemod
|
|
160
|
+
|
|
161
|
+
#### `@mui/x-codemod@8.10.1`
|
|
162
|
+
|
|
163
|
+
Internal changes.
|
|
164
|
+
|
|
165
|
+
### Docs
|
|
166
|
+
|
|
167
|
+
- [docs] Add all planned charts on the overview page (#19077) @prakhargupta1
|
|
168
|
+
- [docs] Add future charts components link in the sidebar (#19140) @prakhargupta1
|
|
169
|
+
- [docs] Fix Heatmap docs duplicate text (#19138) @JCQuintas
|
|
170
|
+
- [docs] Remove preview from Toolbar & Funnel (#19131) @mnajdova
|
|
171
|
+
- [docs] Reproduce npm sparkline (#19089) @alexfauquette
|
|
172
|
+
|
|
173
|
+
### Core
|
|
174
|
+
|
|
175
|
+
- [core] Fix licensing model name (#19025) @oliviertassinari
|
|
176
|
+
- [core] Fix usage of `:catalog` for `@babel/runtime` (#19028) @oliviertassinari
|
|
177
|
+
- [core] Refactor virtualizer API (#18995) @romgrk
|
|
178
|
+
|
|
179
|
+
### Miscellaneous
|
|
180
|
+
|
|
181
|
+
- [code-infra] Remove namespaces (#19071) @Janpot
|
|
182
|
+
- [code-infra] Fix `fs-extra` removal from `formattedTSDemos` script (#19132) @bernardobelchior
|
|
183
|
+
- [code-infra] Remove unused code and dependency (#19139) @bernardobelchior
|
|
184
|
+
- [code-infra] Replace `fs-extra` with `node:fs` where possible (#19127) @bernardobelchior
|
|
185
|
+
- [internal] Edit, keep `lockFileMaintenance` simple @oliviertassinari
|
|
186
|
+
- [internal] Fix writing style action name @oliviertassinari
|
|
187
|
+
- [internal] Make it clear that `lockFileMaintenance` is enabled @oliviertassinari
|
|
188
|
+
- [support-infra] Remove default issue label (#19104) @oliviertassinari
|
|
189
|
+
|
|
8
190
|
## 8.10.0
|
|
9
191
|
|
|
10
192
|
_Aug 8, 2025_
|
|
@@ -8,11 +8,9 @@ exports.EventManager = void 0;
|
|
|
8
8
|
// See https://github.com/browserify/events/blob/master/events.js for
|
|
9
9
|
// the Node.js (https://nodejs.org/api/events.html) polyfill used by webpack.
|
|
10
10
|
class EventManager {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.events = {};
|
|
15
|
-
}
|
|
11
|
+
maxListeners = 20;
|
|
12
|
+
warnOnce = false;
|
|
13
|
+
events = {};
|
|
16
14
|
on(eventName, listener, options = {}) {
|
|
17
15
|
let collection = this.events[eventName];
|
|
18
16
|
if (!collection) {
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// See https://github.com/browserify/events/blob/master/events.js for
|
|
3
3
|
// the Node.js (https://nodejs.org/api/events.html) polyfill used by webpack.
|
|
4
4
|
export class EventManager {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
this.events = {};
|
|
9
|
-
}
|
|
5
|
+
maxListeners = 20;
|
|
6
|
+
warnOnce = false;
|
|
7
|
+
events = {};
|
|
10
8
|
on(eventName, listener, options = {}) {
|
|
11
9
|
let collection = this.events[eventName];
|
|
12
10
|
if (!collection) {
|
package/esm/store/Store.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ type Listener<T> = (value: T) => void;
|
|
|
2
2
|
export declare class Store<State> {
|
|
3
3
|
state: State;
|
|
4
4
|
private listeners;
|
|
5
|
-
private
|
|
6
|
-
private needsReset;
|
|
5
|
+
private updateTick;
|
|
7
6
|
static create<T>(state: T): Store<T>;
|
|
8
7
|
constructor(state: State);
|
|
9
8
|
subscribe: (fn: Listener<State>) => () => void;
|
package/esm/store/Store.js
CHANGED
|
@@ -1,51 +1,43 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
/* eslint-disable no-cond-assign */
|
|
3
|
-
/* eslint-disable lines-between-class-members */
|
|
4
3
|
|
|
5
4
|
export class Store {
|
|
5
|
+
// HACK: `any` fixes adding listeners that accept partial state.
|
|
6
|
+
|
|
7
|
+
// Internal state to handle recursive `setState()` calls
|
|
8
|
+
|
|
6
9
|
static create(state) {
|
|
7
10
|
return new Store(state);
|
|
8
11
|
}
|
|
9
12
|
constructor(state) {
|
|
10
|
-
this.state = void 0;
|
|
11
|
-
// HACK: `any` fixes adding listeners that accept partial state.
|
|
12
|
-
this.listeners = void 0;
|
|
13
|
-
// Internal state to handle recursive `setState()` calls
|
|
14
|
-
this.isUpdating = void 0;
|
|
15
|
-
this.needsReset = void 0;
|
|
16
|
-
this.subscribe = fn => {
|
|
17
|
-
this.listeners.add(fn);
|
|
18
|
-
return () => {
|
|
19
|
-
this.listeners.delete(fn);
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
this.getSnapshot = () => {
|
|
23
|
-
return this.state;
|
|
24
|
-
};
|
|
25
13
|
this.state = state;
|
|
26
14
|
this.listeners = new Set();
|
|
27
|
-
this.
|
|
28
|
-
this.needsReset = false;
|
|
15
|
+
this.updateTick = 0;
|
|
29
16
|
}
|
|
17
|
+
subscribe = fn => {
|
|
18
|
+
this.listeners.add(fn);
|
|
19
|
+
return () => {
|
|
20
|
+
this.listeners.delete(fn);
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
getSnapshot = () => {
|
|
24
|
+
return this.state;
|
|
25
|
+
};
|
|
30
26
|
setState(newState) {
|
|
31
27
|
this.state = newState;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
this.isUpdating = true;
|
|
37
|
-
let it = this.listeners.values();
|
|
28
|
+
this.updateTick += 1;
|
|
29
|
+
const currentTick = this.updateTick;
|
|
30
|
+
const it = this.listeners.values();
|
|
38
31
|
let result;
|
|
39
32
|
while (result = it.next(), !result.done) {
|
|
40
|
-
if (this.
|
|
41
|
-
|
|
42
|
-
it
|
|
43
|
-
|
|
33
|
+
if (currentTick !== this.updateTick) {
|
|
34
|
+
// If the tick has changed, a recursive `setState` call has been made,
|
|
35
|
+
// and it has already notified all listeners.
|
|
36
|
+
return;
|
|
44
37
|
}
|
|
45
38
|
const listener = result.value;
|
|
46
39
|
listener(newState);
|
|
47
40
|
}
|
|
48
|
-
this.isUpdating = false;
|
|
49
41
|
}
|
|
50
42
|
update(changes) {
|
|
51
43
|
for (const key in changes) {
|
package/esm/throttle/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./throttle.js";
|
package/esm/throttle/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./throttle.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-internals",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.2",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "Utility functions for the MUI X packages (internal use only).",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.28.2",
|
|
34
|
-
"@mui/utils": "^7.
|
|
34
|
+
"@mui/utils": "^7.3.1",
|
|
35
35
|
"reselect": "^5.1.1",
|
|
36
36
|
"use-sync-external-store": "^1.5.0"
|
|
37
37
|
},
|
|
@@ -41,19 +41,9 @@
|
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=14.0.0"
|
|
43
43
|
},
|
|
44
|
-
"
|
|
44
|
+
"type": "commonjs",
|
|
45
45
|
"exports": {
|
|
46
46
|
"./package.json": "./package.json",
|
|
47
|
-
".": {
|
|
48
|
-
"require": {
|
|
49
|
-
"types": "./index.d.ts",
|
|
50
|
-
"default": "./index.js"
|
|
51
|
-
},
|
|
52
|
-
"import": {
|
|
53
|
-
"types": "./esm/index.d.ts",
|
|
54
|
-
"default": "./esm/index.js"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
47
|
"./*": {
|
|
58
48
|
"require": {
|
|
59
49
|
"types": "./*/index.d.ts",
|
|
@@ -64,7 +54,6 @@
|
|
|
64
54
|
"default": "./esm/*/index.js"
|
|
65
55
|
}
|
|
66
56
|
},
|
|
67
|
-
"./esm": null
|
|
68
|
-
"./modern": null
|
|
57
|
+
"./esm": null
|
|
69
58
|
}
|
|
70
59
|
}
|
package/store/Store.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ type Listener<T> = (value: T) => void;
|
|
|
2
2
|
export declare class Store<State> {
|
|
3
3
|
state: State;
|
|
4
4
|
private listeners;
|
|
5
|
-
private
|
|
6
|
-
private needsReset;
|
|
5
|
+
private updateTick;
|
|
7
6
|
static create<T>(state: T): Store<T>;
|
|
8
7
|
constructor(state: State);
|
|
9
8
|
subscribe: (fn: Listener<State>) => () => void;
|
package/store/Store.js
CHANGED
|
@@ -7,52 +7,44 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.Store = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
/* eslint-disable no-cond-assign */
|
|
10
|
-
/* eslint-disable lines-between-class-members */
|
|
11
10
|
|
|
12
11
|
class Store {
|
|
12
|
+
// HACK: `any` fixes adding listeners that accept partial state.
|
|
13
|
+
|
|
14
|
+
// Internal state to handle recursive `setState()` calls
|
|
15
|
+
|
|
13
16
|
static create(state) {
|
|
14
17
|
return new Store(state);
|
|
15
18
|
}
|
|
16
19
|
constructor(state) {
|
|
17
|
-
this.state = void 0;
|
|
18
|
-
// HACK: `any` fixes adding listeners that accept partial state.
|
|
19
|
-
this.listeners = void 0;
|
|
20
|
-
// Internal state to handle recursive `setState()` calls
|
|
21
|
-
this.isUpdating = void 0;
|
|
22
|
-
this.needsReset = void 0;
|
|
23
|
-
this.subscribe = fn => {
|
|
24
|
-
this.listeners.add(fn);
|
|
25
|
-
return () => {
|
|
26
|
-
this.listeners.delete(fn);
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
this.getSnapshot = () => {
|
|
30
|
-
return this.state;
|
|
31
|
-
};
|
|
32
20
|
this.state = state;
|
|
33
21
|
this.listeners = new Set();
|
|
34
|
-
this.
|
|
35
|
-
this.needsReset = false;
|
|
22
|
+
this.updateTick = 0;
|
|
36
23
|
}
|
|
24
|
+
subscribe = fn => {
|
|
25
|
+
this.listeners.add(fn);
|
|
26
|
+
return () => {
|
|
27
|
+
this.listeners.delete(fn);
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
getSnapshot = () => {
|
|
31
|
+
return this.state;
|
|
32
|
+
};
|
|
37
33
|
setState(newState) {
|
|
38
34
|
this.state = newState;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
this.isUpdating = true;
|
|
44
|
-
let it = this.listeners.values();
|
|
35
|
+
this.updateTick += 1;
|
|
36
|
+
const currentTick = this.updateTick;
|
|
37
|
+
const it = this.listeners.values();
|
|
45
38
|
let result;
|
|
46
39
|
while (result = it.next(), !result.done) {
|
|
47
|
-
if (this.
|
|
48
|
-
|
|
49
|
-
it
|
|
50
|
-
|
|
40
|
+
if (currentTick !== this.updateTick) {
|
|
41
|
+
// If the tick has changed, a recursive `setState` call has been made,
|
|
42
|
+
// and it has already notified all listeners.
|
|
43
|
+
return;
|
|
51
44
|
}
|
|
52
45
|
const listener = result.value;
|
|
53
46
|
listener(newState);
|
|
54
47
|
}
|
|
55
|
-
this.isUpdating = false;
|
|
56
48
|
}
|
|
57
49
|
update(changes) {
|
|
58
50
|
for (const key in changes) {
|
package/throttle/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./throttle.js";
|
package/throttle/index.js
CHANGED
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
var _throttle = require("./throttle");
|
|
7
|
+
Object.keys(_throttle).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _throttle[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _throttle[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|