@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,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/vue",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "description": "basic component ui",
5
5
  "main": "./src/index.ts",
6
6
  "license": "MIT",
@@ -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 };
@@ -1,4 +1,5 @@
1
- import { Layer, LayerById } from './LayerView';
1
+ import { LayerById } from './LayerView/index';
2
+ import Layer from './LayerView/Layer.vue';
2
3
  import Icon from './Icon.vue';
3
4
  import IFollowView from './IFollowView.vue';
4
5
  import IPickerView from './IPickerView.vue';