feikuai-element-plus-virtual-component 1.0.29 → 1.0.30
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/cascader-panel/index.vue.d.ts +3 -1
- package/dist/cascader-panel/store.d.ts +3 -0
- package/dist/index2.js +698 -680
- package/package.json +1 -1
|
@@ -847,7 +847,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
847
847
|
};
|
|
848
848
|
readonly always: BooleanConstructor;
|
|
849
849
|
}>> & {
|
|
850
|
-
[x: string & `on${string}`]: ((...
|
|
850
|
+
[x: string & `on${string}`]: ((... /**
|
|
851
|
+
* @description get an array of currently selected node,(leafOnly) whether only return the leaf checked nodes, default is `false`
|
|
852
|
+
*/args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
851
853
|
}>>;
|
|
852
854
|
scrollbar: import('element-plus').ScrollbarContext;
|
|
853
855
|
ns: {
|
|
@@ -5,7 +5,10 @@ export default class Store {
|
|
|
5
5
|
readonly nodes: Node[];
|
|
6
6
|
readonly allNodes: Node[];
|
|
7
7
|
readonly leafNodes: Node[];
|
|
8
|
+
readonly valueNodeMap: Map<CascaderNodeValue, Node>;
|
|
9
|
+
readonly pathNodeMap: Map<string, Node>;
|
|
8
10
|
constructor(data: CascaderOption[], config: CascaderConfig);
|
|
11
|
+
private cacheNode;
|
|
9
12
|
getNodes(): Node[];
|
|
10
13
|
getFlattedNodes(leafOnly: boolean): Node[];
|
|
11
14
|
appendNode(nodeData: CascaderOption, parentNode?: Node): void;
|