@webx-ui/core 0.9.0 → 0.11.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/README.md +21 -3
- package/dist/components/Descriptions/types.d.ts +2 -0
- package/dist/components/SelectionArea/SelectionArea.d.ts +2 -0
- package/dist/components/SelectionArea/types.d.ts +10 -1
- package/dist/components/Steps/Steps.d.ts +7 -2
- package/dist/components/Steps/types.d.ts +5 -0
- package/dist/components/Table/Table.d.ts +3 -2
- package/dist/components/Table/types.d.ts +57 -0
- package/dist/components/Transfer/Transfer.d.ts +57 -0
- package/dist/components/Transfer/index.d.ts +2 -0
- package/dist/components/Transfer/types.d.ts +40 -0
- package/dist/components/Tree/Tree.d.ts +79 -0
- package/dist/components/Tree/index.d.ts +2 -0
- package/dist/components/Tree/types.d.ts +105 -0
- package/dist/components/TreeSelect/TreeSelect.d.ts +47 -0
- package/dist/components/TreeSelect/index.d.ts +2 -0
- package/dist/components/TreeSelect/types.d.ts +76 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/composables/useTreeNodes.d.ts +96 -0
- package/dist/index.js +6143 -4999
- package/dist/index.js.map +1 -1
- package/dist/internal/nodes.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/internal/nodes.d.ts
CHANGED
|
@@ -14,6 +14,16 @@ export declare function flattenNodes(nodes: VNode[]): VNode[];
|
|
|
14
14
|
* It exists because a template can render a slot but not a slice of one, and the
|
|
15
15
|
* children must be rendered *once*: an entry that appeared in both halves would
|
|
16
16
|
* register itself twice and report the wrong branch to the menu above it.
|
|
17
|
+
*
|
|
18
|
+
* The vnodes are cloned on the way out, and that is not a nicety. A vnode belongs to
|
|
19
|
+
* the place it was mounted, and a slice that moves between two of them — the bar and
|
|
20
|
+
* the overflow branch — would be asking Vue to mount the same one twice. Vue does this
|
|
21
|
+
* cloning itself for a slot rendered in a template; vnodes handed along as a prop skip
|
|
22
|
+
* that path. In a development build the compiler hands back a fresh vnode per render
|
|
23
|
+
* and the reuse never shows; in a production build an entry with nothing dynamic about
|
|
24
|
+
* it is cached and handed back as the very same object, and the second place it is
|
|
25
|
+
* rendered comes out empty. That was an open, empty "More" on a phone, and nothing at
|
|
26
|
+
* all in dev.
|
|
17
27
|
*/
|
|
18
28
|
export declare const WxNodes: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
29
|
nodes: {
|