@neatui/vue 2.16.0 → 2.17.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/package.json
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import Layer from './Layer.vue';
|
|
2
|
-
|
|
3
1
|
export const _tasks: any = {};
|
|
4
2
|
export const _state: any = {};
|
|
5
3
|
export const getActiveLayer = () => {
|
|
6
4
|
return Object.values(_tasks).filter((task: any) => task.view > 0);
|
|
7
5
|
};
|
|
8
|
-
const LayerById = (id: any) => {
|
|
6
|
+
export const LayerById = (id: any) => {
|
|
9
7
|
return _tasks[id];
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
export { Layer, LayerById };
|