@progress/kendo-vue-treeview 3.2.2-dev.202204181420
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/LICENSE.md +11 -0
- package/NOTICE.txt +86 -0
- package/README.md +53 -0
- package/dist/cdn/js/kendo-vue-treeview.js +1 -0
- package/dist/es/ItemRenderProps.d.ts +13 -0
- package/dist/es/ItemRenderProps.js +1 -0
- package/dist/es/TreeView.d.ts +45 -0
- package/dist/es/TreeView.js +359 -0
- package/dist/es/TreeViewDragAnalyzer.d.ts +135 -0
- package/dist/es/TreeViewDragAnalyzer.js +184 -0
- package/dist/es/TreeViewDragClue.d.ts +135 -0
- package/dist/es/TreeViewDragClue.js +78 -0
- package/dist/es/TreeViewItem.d.ts +69 -0
- package/dist/es/TreeViewItem.js +359 -0
- package/dist/es/TreeViewOperationDescriptors.d.ts +76 -0
- package/dist/es/TreeViewOperationDescriptors.js +1 -0
- package/dist/es/TreeViewProps.d.ts +122 -0
- package/dist/es/TreeViewProps.js +0 -0
- package/dist/es/additionalTypes.ts +9 -0
- package/dist/es/events.d.ts +135 -0
- package/dist/es/events.js +0 -0
- package/dist/es/handleTreeViewCheckChange.d.ts +67 -0
- package/dist/es/handleTreeViewCheckChange.js +195 -0
- package/dist/es/main.d.ts +12 -0
- package/dist/es/main.js +8 -0
- package/dist/es/moveTreeViewItem.d.ts +109 -0
- package/dist/es/moveTreeViewItem.js +156 -0
- package/dist/es/package-metadata.d.ts +5 -0
- package/dist/es/package-metadata.js +11 -0
- package/dist/es/processTreeViewItems.d.ts +51 -0
- package/dist/es/processTreeViewItems.js +166 -0
- package/dist/es/utils/FieldsService.d.ts +26 -0
- package/dist/es/utils/FieldsService.js +50 -0
- package/dist/es/utils/SortedPublicItemIds.d.ts +8 -0
- package/dist/es/utils/SortedPublicItemIds.js +26 -0
- package/dist/es/utils/consts.d.ts +40 -0
- package/dist/es/utils/consts.js +40 -0
- package/dist/es/utils/getItemIdUponKeyboardNavigation.d.ts +5 -0
- package/dist/es/utils/getItemIdUponKeyboardNavigation.js +77 -0
- package/dist/es/utils/itemIdUtils.d.ts +60 -0
- package/dist/es/utils/itemIdUtils.js +117 -0
- package/dist/es/utils/itemUtils.d.ts +45 -0
- package/dist/es/utils/itemUtils.js +191 -0
- package/dist/es/utils/misc.d.ts +9 -0
- package/dist/es/utils/misc.js +17 -0
- package/dist/npm/ItemRenderProps.d.ts +13 -0
- package/dist/npm/ItemRenderProps.js +3 -0
- package/dist/npm/TreeView.d.ts +45 -0
- package/dist/npm/TreeView.js +376 -0
- package/dist/npm/TreeViewDragAnalyzer.d.ts +135 -0
- package/dist/npm/TreeViewDragAnalyzer.js +186 -0
- package/dist/npm/TreeViewDragClue.d.ts +135 -0
- package/dist/npm/TreeViewDragClue.js +88 -0
- package/dist/npm/TreeViewItem.d.ts +69 -0
- package/dist/npm/TreeViewItem.js +373 -0
- package/dist/npm/TreeViewOperationDescriptors.d.ts +76 -0
- package/dist/npm/TreeViewOperationDescriptors.js +3 -0
- package/dist/npm/TreeViewProps.d.ts +122 -0
- package/dist/npm/TreeViewProps.js +2 -0
- package/dist/npm/additionalTypes.ts +9 -0
- package/dist/npm/events.d.ts +135 -0
- package/dist/npm/events.js +2 -0
- package/dist/npm/handleTreeViewCheckChange.d.ts +67 -0
- package/dist/npm/handleTreeViewCheckChange.js +199 -0
- package/dist/npm/main.d.ts +12 -0
- package/dist/npm/main.js +17 -0
- package/dist/npm/moveTreeViewItem.d.ts +109 -0
- package/dist/npm/moveTreeViewItem.js +159 -0
- package/dist/npm/package-metadata.d.ts +5 -0
- package/dist/npm/package-metadata.js +14 -0
- package/dist/npm/processTreeViewItems.d.ts +51 -0
- package/dist/npm/processTreeViewItems.js +169 -0
- package/dist/npm/utils/FieldsService.d.ts +26 -0
- package/dist/npm/utils/FieldsService.js +52 -0
- package/dist/npm/utils/SortedPublicItemIds.d.ts +8 -0
- package/dist/npm/utils/SortedPublicItemIds.js +28 -0
- package/dist/npm/utils/consts.d.ts +40 -0
- package/dist/npm/utils/consts.js +43 -0
- package/dist/npm/utils/getItemIdUponKeyboardNavigation.d.ts +5 -0
- package/dist/npm/utils/getItemIdUponKeyboardNavigation.js +80 -0
- package/dist/npm/utils/itemIdUtils.d.ts +60 -0
- package/dist/npm/utils/itemIdUtils.js +132 -0
- package/dist/npm/utils/itemUtils.d.ts +45 -0
- package/dist/npm/utils/itemUtils.js +205 -0
- package/dist/npm/utils/misc.d.ts +9 -0
- package/dist/npm/utils/misc.js +22 -0
- package/package.json +56 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Kendo UI for Vue
|
|
2
|
+
|
|
3
|
+
This package is part of the [Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui/) suite.
|
|
4
|
+
|
|
5
|
+
## License
|
|
6
|
+
|
|
7
|
+
This is commercial software. To use it, you need to agree to the [**Telerik End User License Agreement for Kendo UI**](https://www.telerik.com/purchase/license-agreement/kendo-ui). If you do not own a commercial license, this file shall be governed by the trial license terms.
|
|
8
|
+
|
|
9
|
+
All available Kendo UI commercial licenses may be obtained at https://www.telerik.com/purchase/kendo-ui.
|
|
10
|
+
|
|
11
|
+
*Copyright © 2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All Rights Reserved.*
|
package/NOTICE.txt
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Progress Kendo UI for Vue 3
|
|
2
|
+
|
|
3
|
+
Copyright © 2021-2022 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Portions of the Product include certain open source and commercial third-party components listed below (ìThird-Party Componentsî). The authors of the Third-Party Components require Progress Software Corporation (ìPSCî) to include the following notices and additional licensing terms as a condition of PSCís use of such Third-Party Components. You acknowledge that the authors of the Third-Party Components have no obligation to provide support to you for the Third-Party Components or the Product. You hereby undertake to comply with all licenses related to the applicable Third-Party Components. Notwithstanding anything to the contrary, to the extent that any of the terms and conditions of the Product Agreement conflict, vary, or are in addition to the terms and conditions of the aforementioned third-party licenses for these technologies, such terms and conditions are offered by PSC alone and not by any other party.
|
|
6
|
+
|
|
7
|
+
-------------------------------------------------------------------------
|
|
8
|
+
SUMMARY OF COMPONENTS:
|
|
9
|
+
|
|
10
|
+
VendorName | ComponentName | VersionName | LicenseType
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Axios | Axios | 0.18.1 - Open Source | MIT-style License
|
|
14
|
+
DefinitelyTyped.org | @types/prosemirror-commands | 1.0.4 - Open Source | MIT-style License
|
|
15
|
+
DefinitelyTyped.org | @types/prosemirror-dropcursor | 1.0.1 - Open Source | MIT-style License
|
|
16
|
+
DefinitelyTyped.org | @types/prosemirror-gapcursor | 1.0.2 - Open Source | MIT-style License
|
|
17
|
+
DefinitelyTyped.org | @types/prosemirror-history | 1.0.2 - Open Source | MIT-style License
|
|
18
|
+
DefinitelyTyped.org | @types/prosemirror-inputrules | 1.0.2 - Open Source | MIT-style License
|
|
19
|
+
DefinitelyTyped.org | @types/prosemirror-keymap | 1.0.2 - Open Source | MIT-style License
|
|
20
|
+
DefinitelyTyped.org | @types/prosemirror-model | 1.11.2 - Open Source | MIT-style License
|
|
21
|
+
DefinitelyTyped.org | @types/prosemirror-schema-list | 1.0.2 - Open Source | MIT-style License
|
|
22
|
+
DefinitelyTyped.org | @types/prosemirror-state | 1.2.4 - Open Source | MIT-style License
|
|
23
|
+
DefinitelyTyped.org | @types/prosemirror-tables | 0.9.1 - Open Source | MIT-style License
|
|
24
|
+
DefinitelyTyped.org | @types/prosemirror-transform | 1.2.9 - Open Source | MIT-style License
|
|
25
|
+
DefinitelyTyped.org | @types/prosemirror-view | 1.11.4 - Open Source | MIT-style License
|
|
26
|
+
Progress Software | Kendo UI Licensing CLI | 1.1 - Proprietary |
|
|
27
|
+
Progress Software Corporation | jszip-esm | 1.0.0 - Open Source | MIT-style License
|
|
28
|
+
Progress Software Corporation | pako-esm | 1.0.0 - Open Source | MIT-style License
|
|
29
|
+
ProseMirror | prosemiror-inputrules | 1.0.1 - Open Source | MIT-style License
|
|
30
|
+
ProseMirror | prosemirror-commands | 1.0.7 - Open Source | MIT-style License
|
|
31
|
+
ProseMirror | prosemirror-gapcursor | 1.0.2 - Open Source | MIT-style License
|
|
32
|
+
ProseMirror | prosemirror-history | 1.0.2 - Open Source | MIT-style License
|
|
33
|
+
ProseMirror | prosemirror-keymap | 1.0.1 - Open Source | MIT-style License
|
|
34
|
+
ProseMirror | prosemirror-model | 1.6.1 - Open Source | MIT-style License
|
|
35
|
+
ProseMirror | prosemirror-schema-list | 1.0.1 - Open Source | MIT-style License
|
|
36
|
+
ProseMirror | prosemirror-state | 1.2.2 - Open Source | MIT-style License
|
|
37
|
+
ProseMirror | prosemirror-tables | 0.7.10 - Open Source | MIT-style License
|
|
38
|
+
ProseMirror | prosemirror-transform | 1.1.3 - Open Source | MIT-style License
|
|
39
|
+
ProseMirror | prosemirror-view | 1.5.2 - Open Source | MIT-style License
|
|
40
|
+
-------------------------------------------------------------------------
|
|
41
|
+
|
|
42
|
+
1. Special Notices Regarding Open-Source Third-Party Components incorporated into the Product:
|
|
43
|
+
|
|
44
|
+
(1) MIT-style Licenses:
|
|
45
|
+
|
|
46
|
+
(a) Progress Kendo UI for Vue 3 incorporates jszip-esm v1.0. Such technology is subject to the following terms and conditions:
|
|
47
|
+
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
48
|
+
Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, AntÛnio Afonso
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
50
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
51
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
52
|
+
|
|
53
|
+
(b) Progress Kendo UI for Vue 3 incorporates pako-esm v1.0. Such technology is subject to the following terms and conditions:
|
|
54
|
+
Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. (as modified)
|
|
55
|
+
Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
|
|
56
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
57
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
58
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
59
|
+
|
|
60
|
+
(c) Progress Kendo UI for Vue 3 incorporates axios v0.18.1. Such technology is subject to the following terms and conditions:
|
|
61
|
+
Copyright (c) 2014-present Matt Zabriskie
|
|
62
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
63
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
64
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
65
|
+
|
|
66
|
+
(d) Progress Kendo UI for Vue 3 incorporates @types/prosemirror-commands v1.0.4, @types/prosemirror-dropcursor v1.0.1, @types/prosemirror-gapcursor v1.0.2, @types/prosemirror-history v1.0.2, @types/prosemirror-inputrules v1.0.2, @types/prosemirror-keymap v1.0.2, @types/prosemirror-model v1.11.2, @types/prosemirror-schema-list v1.0.2, @types/prosemirror-state v1.2.4, @types/prosemirror-tables v0.9.1, @types/prosemirror-transform v1.2.9, and @types/prosemirror-view v1.11.4. Such technologies are subject to the following terms and conditions:
|
|
67
|
+
This project is licensed under the MIT license.
|
|
68
|
+
Copyrights are respective of each contributor listed at the beginning of each definition file.
|
|
69
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
70
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
71
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
72
|
+
|
|
73
|
+
(e) Progress Kendo UI for Vue 3 incorporates prosemiror-inputrules v1.0.1, prosemirror-commands v1.0.7, prosemirror-gapcursor v1.0.7, prosemirror-history v1.0.2, prosemirror-keymap v1.0.1, prosemirror-model v1.6.1, prosemirror-schema-list v1.0.1, prosemirror-state v1.2.2, prosemirror-tables v0.7.10, prosemirror-transform v1.1.3, and prosemirror-view v1.5.2. Such technologies are subject to the following terms and conditions:
|
|
74
|
+
Copyright (C) 2015-2017 by Marijn Haverbeke <marijnh@gmail.com> and others. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
75
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
76
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
77
|
+
|
|
78
|
+
2. Special Notices Regarding Commercially Licensed Third-Party Components incorporated into the Product: NONE
|
|
79
|
+
|
|
80
|
+
3. Special Notices Regarding Progress Products incorporated into the Product:
|
|
81
|
+
|
|
82
|
+
(a) Progress Kendo UI for Vue 3 incorporates Progress Kendo UI Licensing CLI v1.1 licensed from Progress Software Corporation See NOTICE.txt text file within product for third-party license information.
|
|
83
|
+
|
|
84
|
+
NOTICE FROM PROGRESS SOFTWARE CORPORATION: Additional notices may be included in the release notes or other documentation that accompanies updates received in connection with support of the Product.
|
|
85
|
+
|
|
86
|
+
Updated 4.Apr.2022
|
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<a href="https://www.telerik.com/kendo-react-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview&utm_content=banner" target="_blank">
|
|
2
|
+
<img src="https://www.telerik.com/kendo-react-ui/npm-banner.svg">
|
|
3
|
+
</a>
|
|
4
|
+
|
|
5
|
+
# KendoReact TreeView Component for React
|
|
6
|
+
|
|
7
|
+
> **Important**
|
|
8
|
+
> * This package is а part of [KendoReact](https://www.telerik.com/kendo-react-ui/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—a commercial UI library.
|
|
9
|
+
> * You will need to install a license key when adding the package to your project. For more information, please refer to the [KendoReact My License page](https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview).
|
|
10
|
+
> * To receive a license key, you need to either [purchase a license](https://www.telerik.com/kendo-react-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview) or register for a [free trial](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview). Doing so indicates that you [accept the KendoReact License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview).
|
|
11
|
+
> * The 30-day free trial gives you access to all the KendoReact components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the KendoReact dev team!
|
|
12
|
+
>
|
|
13
|
+
> [Start using KendoReact](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview) and speed up your development process!
|
|
14
|
+
|
|
15
|
+
The KendoReact TreeView displays hierarchical data in a traditional tree structure, supports user interaction through mouse or touch events, and performs reordering operations by using the drag-and-drop functionality.
|
|
16
|
+
|
|
17
|
+
## React TreeView
|
|
18
|
+
|
|
19
|
+
Among the features which the KendoReact TreeView component delivers are:
|
|
20
|
+
|
|
21
|
+
* [Data binding](https://www.telerik.com/kendo-react-ui/components/treeview/data-binding/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—Works with various types of data.
|
|
22
|
+
* [Persisting the focus](https://www.telerik.com/kendo-react-ui/components/treeview/data-reload/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—The TreeView enables you to keep the focus on the currently focused item while reloading the data.
|
|
23
|
+
* [Expanding](https://www.telerik.com/kendo-react-ui/components/treeview/expansion/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—The Allows expanding and collapsing items in the data tree.
|
|
24
|
+
* [Selection](https://www.telerik.com/kendo-react-ui/components/treeview/selection/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—The Allows selecting items in the data tree.
|
|
25
|
+
* [Checkboxes](https://www.telerik.com/kendo-react-ui/components/treeview/checkboxes/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—Allows the user to select nodes by using node checkboxes.
|
|
26
|
+
* [Dragging and dropping](https://www.telerik.com/kendo-react-ui/components/treeview/drag-drop/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—The drag-and-drop functionality enables the user to move the TreeView items by dragging and dropping them within a single tree or across multiple trees.
|
|
27
|
+
* [Custom rendering](https://www.telerik.com/kendo-react-ui/components/treeview/custom-rendering/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—Allows customization of certain or all TreeView nodes.
|
|
28
|
+
* [Keyboard navigation](https://www.telerik.com/kendo-react-ui/components/treeview/keyboard-navigation/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—Built-in keyboard shortcuts for usability and navigation in the component.
|
|
29
|
+
* [Accessibility](https://www.telerik.com/kendo-react-ui/components/treeview/accessibility/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—The TreeView is accessible by screen readers and provides full WAI-ARIA support.
|
|
30
|
+
* [Theme support](https://www.telerik.com/kendo-react-ui/components/styling/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)—The KendoReact TreeView, as well as all 100+ components in the KendoReact suite, are styled in three polished themes (Bootstrap, Material, and Default) and can be further customized to match your specific design guidelines.
|
|
31
|
+
|
|
32
|
+
## Support Options
|
|
33
|
+
|
|
34
|
+
For any issues you might encounter while working with the KendoReact TreeView, use any of the available support channels:
|
|
35
|
+
|
|
36
|
+
* Industry-leading technical support—KendoReact paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated KendoReact support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview).
|
|
37
|
+
* Product forums—The [KendoReact forums](https://www.telerik.com/forums/kendo-ui-react?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview) are part of the free support you can get from the community and from the KendoReact team.
|
|
38
|
+
* Feedback portal—The [KendoReact feedback portal](https://feedback.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview) is where you can request and vote for new features to be added.
|
|
39
|
+
|
|
40
|
+
## Resources
|
|
41
|
+
|
|
42
|
+
* [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
43
|
+
* [Get Started with the KendoReact TreeView](https://www.telerik.com/kendo-react-ui/components/treeview/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
44
|
+
* [API Reference of the KendoReact TreeView](https://www.telerik.com/kendo-react-ui/components/treeview/api/TreeViewProps/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
45
|
+
* [KendoReact Roadmap](https://www.telerik.com/support/whats-new/kendo-react-ui/roadmap?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
46
|
+
* [Blogs](https://www.telerik.com/blogs/tag/kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
47
|
+
* [Demos, documentation, and component reference](https://www.telerik.com/kendo-react-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
48
|
+
* [KendoReact pricing and licensing](https://www.telerik.com/kendo-react-ui/pricing/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
49
|
+
* [Changelog](https://www.telerik.com/kendo-react-ui/components/changelogs/ui-for-react/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-treeview)
|
|
50
|
+
|
|
51
|
+
*Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
|
|
52
|
+
|
|
53
|
+
*Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueTreeview=t(require("vue"),require("@progress/kendo-licensing")):e.KendoVueTreeview=t(e.Vue,e.KendoLicensing)}(window,(function(e,t){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=8)}([function(t,i){t.exports=e},function(e,t,i){"use strict";i.r(t),i.d(t,"classNames",(function(){return n})),i.d(t,"guid",(function(){return r})),i.d(t,"Keys",(function(){return a})),i.d(t,"noop",(function(){return S})),i.d(t,"getListeners",(function(){return j})),i.d(t,"hasListener",(function(){return T})),i.d(t,"canUseDOM",(function(){return o})),i.d(t,"focusFirstFocusableChild",(function(){return s})),i.d(t,"clone",(function(){return k})),i.d(t,"Draggable",(function(){return y})),i.d(t,"cloneArray",(function(){return O})),i.d(t,"cloneValue",(function(){return C})),i.d(t,"cloneObject",(function(){return _})),i.d(t,"cloneDate",(function(){return D})),i.d(t,"getTemplate",(function(){return M})),i.d(t,"templateRendering",(function(){return V})),i.d(t,"getTabIndex",(function(){return B})),i.d(t,"getDefaultSlots",(function(){return E})),i.d(t,"isRtl",(function(){return z})),i.d(t,"getDir",(function(){return H})),i.d(t,"getter",(function(){return F})),i.d(t,"setter",(function(){return P})),i.d(t,"validatePackage",(function(){return W})),i.d(t,"kendoThemeMaps",(function(){return G}));var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?n.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,i){return e[i]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},r=function(){var e,t,i="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(i+="-"),i+=(12===e?4:16===e?3&t|8:t).toString(16);return i},a={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},o=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),s=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},d=i(0),u=function(e,t){return function(i){return t(e(i))}},l=function(e,t,i){return e.addEventListener&&e.addEventListener(t,i)},c=function(e,t,i){return e&&e.removeEventListener&&e.removeEventListener(t,i)},p=function(){},h=function(e){return e.preventDefault()},f=/touch/;function m(e){return e.type.match(f)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var v=function(e){var t=this,i=e.press;void 0===i&&(i=p);var n=e.drag;void 0===n&&(n=p);var r=e.release;void 0===r&&(r=p);var a=e.mouseOnly;void 0===a&&(a=!1),this._pressHandler=u(m,i),this._dragHandler=u(m,n),this._releaseHandler=u(m,r),this._ignoreMouse=!1,this._mouseOnly=a,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var i=e.which;i&&i>1||t._ignoreMouse||(l(document,"mousemove",t._mousemove),l(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){c(document,"mousemove",t._mousemove),c(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(l(document,"pointermove",t._pointermove),l(document,"pointerup",t._pointerup),l(document,"pointercancel",t._pointerup),l(document,"contextmenu",h),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(c(document,"pointermove",t._pointermove),c(document,"pointerup",t._pointerup),c(document,"pointercancel",t._pointerup),c(document,"contextmenu",h),t._releaseHandler(e))}};v.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},v.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},v.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?l(e,"pointerdown",this._pointerdown):(l(e,"mousedown",this._mousedown),this._mouseOnly||(l(e,"touchstart",this._touchstart),l(e,"touchmove",this._touchmove),l(e,"touchend",this._touchend)))},v.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return c(e,"pointerdown",this._pointerdown),c(document,"pointermove",this._pointermove),c(document,"pointerup",this._pointerup),c(document,"contextmenu",h),void c(document,"pointercancel",this._pointerup);c(e,"mousedown",this._mousedown),this._mouseOnly||(c(e,"touchstart",this._touchstart),c(e,"touchmove",this._touchmove),c(e,"touchend",this._touchend))},v.prototype._usePointers=function(){return!this._mouseOnly&&v.supportPointerEvent()},v.prototype.update=function(e){var t=e.press;void 0===t&&(t=p);var i=e.drag;void 0===i&&(i=p);var n=e.release;void 0===n&&(n=p);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=u(m,t),this._dragHandler=u(m,i),this._releaseHandler=u(m,n),this._mouseOnly=r},v.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},v.default=v;var g,I=v;function E(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function x(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var b=d.h,y=(x(g={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new I({press:this.press,drag:this.drag,release:this.release})},setup:b?function(){return{v3:!!b}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:b?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",b?function(){return{v3:!!b}}:void 0),x(g,"render",(function(e){return E(this)})),g),D=function(e){return e?new Date(e.getTime()):null};function k(e){var t={};return _(e,t),t}function _(e,t){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];t[i]=C(n,t[i])}}function C(e,t){if(Array.isArray(e))return O(e);if(e instanceof Date)return D(e);if(e&&"object"==typeof e){var i=t||{};return _(e,i),i}return e}function O(e){return e.map((function(e){return C(e,void 0)}))}var S=function(){},$=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,w={};function F(e){if(w[e])return w[e];var t=[];return e.replace($,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),w[e]=function(e){for(var i=e,n=0;n<t.length&&i;n++)i=i[t[n]];return i},w[e]}w.undefined=function(){};var N={};function P(e){if(N[e])return N[e];var t=[];return e.replace($,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),N[e]=function(e,i){for(var n=e,r=t.length-1,a=0;a<r&&n;a++)n=n[t[a]]=n[t[a]]||{};n[t[r]]=i},N[e]}function T(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function j(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}N.undefined=function(e){return e};var L=function(){return(L=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},A=d.h;function V(e,t){if(e){var i=A?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&i?{type:"slot",render:i,listeners:t}:"string"==typeof e||"object"==typeof e||"function"==typeof e&&e.component?{type:"component",render:e,listeners:t}:{type:"renderFunction",render:e,listeners:t}}}function M(e){var t,i,n,r=e.h,a=e.template,o=e.defaultRendering,s=e.defaultSlots,d=e.additionalProps,u=e.additionalListeners,l=e.swapDefaultSlots;if(!a)return o;if(A){var c=o?o.props:{};t=L(L({},R(u)),a.listeners),i=L(L(L({},c),d),t),n=L(L({},i),t)}else{var p=o&&o.componentOptions,h=p?o.componentOptions.listeners:{},f=p?o.componentOptions.propsData:{};t=L(L(L(L({},h),u),R(u)),a.listeners),n={props:i=L(L(L({},f),d),t),on:t}}if("slot"===a.type){var m=a.render({props:i,listeners:t,methods:t,defaultSlots:s});return m?m[0]:void 0}return"renderFunction"===a.type?l?a.render(r,o,s,i,t):a.render(r,o,i,t,s):r(a.render,n,A?function(){return[s]}:[s])}function R(e){if(!e)return e;for(var t={},i=Object.keys(e),n=0;n<i.length;n++){var r=i[n];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var B=function(e,t,i){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?i?void 0:-1:0};function z(e){return Boolean(o&&e&&"rtl"===getComputedStyle(e).direction)}function H(e,t){if(!t&&o&&e){var i=window.getComputedStyle(e).direction;if(i)return i}return t}var K=i(6);function W(e){if(void 0!==K)K.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var G={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(e,t,i){"use strict";function n(e){return s(e)?e:e.split(t.SEPARATOR)[0]}function r(e){if(s(e))return e;var i=e.indexOf(t.SEPARATOR);return e.substring(i+1)}function a(e,i){return e=e.toString(),i?i+t.SEPARATOR+e:e}function o(e){var i=e.lastIndexOf(t.SEPARATOR);return i<0?t.EMPTY_ID:e.substring(0,i)}function s(e){return e===t.EMPTY_ID||e.indexOf(t.SEPARATOR)<0}function d(e){return e!==t.EMPTY_ID&&e.indexOf(t.SEPARATOR)<0}function u(e){var i=e.lastIndexOf(t.SEPARATOR);return i<0?e:e.substring(i+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.getDecrementedItemIdAfterRemoval=t.isItemFirstFromSiblings=t.getShortId=t.getAllShortIds=t.isIdZeroLevel=t.isIdEmptyOrZeroLevel=t.getDirectParentId=t.createId=t.getFirstChildId=t.getIdWithoutRootParentId=t.getRootParentId=t.getItemById=t.SEPARATOR=t.ZERO_LEVEL_ZERO_NODE_ID=t.EMPTY_ID=void 0,t.EMPTY_ID="",t.ZERO_LEVEL_ZERO_NODE_ID="0",t.SEPARATOR="_",t.getItemById=function e(t,i,a){if(d(t))return i[Number(t)];var o=i[Number(n(t))],s=o&&o[a]||[];return s.length?e(r(t),s,a):void 0},t.getRootParentId=n,t.getIdWithoutRootParentId=r,t.getFirstChildId=function(e){return a("0",e)},t.createId=a,t.getDirectParentId=o,t.isIdEmptyOrZeroLevel=s,t.isIdZeroLevel=d,t.getAllShortIds=function(e){return e.split(t.SEPARATOR)},t.getShortId=u,t.isItemFirstFromSiblings=function(e){return u(e)===t.ZERO_LEVEL_ZERO_NODE_ID},t.getDecrementedItemIdAfterRemoval=function(e,i){var a=i;e="r"+t.SEPARATOR+e,i="r"+t.SEPARATOR+i;var s=o(e)+t.SEPARATOR;if(i.startsWith(s)){var d=i.substring(s.length);if(d){var l=n(d);if(Number(u(e))<Number(l))return r(s+(Number(l)-1).toString()+d.substring(l.length))}}return a}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.addItem=t.removeItem=t.getAllParents=t.areAllDirectChildrenChecked=t.getAllDirectIndirectChildrenIds=t.isEnabledAndAllParentsEnabled=t.updateItem=t.resolveItemsIds=t.resolveItemId=t.isItemExpandedAndWithChildren=t.hasChildren=void 0;var a=i(2),o=r(i(11)),s=i(5);function d(e,t){var i=s.getNestedValue(t,e);return Boolean(i&&i.length)}function u(e,t,i,n){var r=[],u=new o.default;return u.init(e),function e(t,i,n,r,o,u){for(var l=0;l<n.length;l++){var c=n[l],p=a.createId(l,r);t.hasId(s.getNestedValue(i,c))&&o.push(p),d(c,u)&&e(t,i,s.getNestedValue(u,c),p,o,u)}}(u,t,i,a.EMPTY_ID,r,n),r}t.hasChildren=d,t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&d(e,t.getChildrenField())},t.resolveItemId=function(e,t,i,n){var r=u([e],t,i,n);return r.length?r[0]:void 0},t.resolveItemsIds=u,t.updateItem=function e(t,i,n,r,o){var s,d=Number(a.getRootParentId(i));if(d>=t.length)return t;var u=t,l=t[d];return l[r]||(l=(u=t.slice())[d]=Object.assign({},l,((s={})[r]=!0,s))),a.isIdZeroLevel(i)?n(l):l[o]&&(l[o]=e(l[o],a.getIdWithoutRootParentId(i),n,r,o)),u},t.isEnabledAndAllParentsEnabled=function(e,t,i){for(var n=a.getAllShortIds(e),r=t,o=0;o<n.length;o++){var s=r[Number(n[o])];if(i.disabled(s))return!1;r=s[i.getChildrenField()]}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,i,n){return n?function e(t){for(var r=[],a=t[i]||[],o=0;o<a.length;o++)r.push(s.getNestedValue(n,a[o])),r=r.concat(e(a[o]));return r}(e):function e(t,n){for(var r=[],o=t[i]||[],s=0;s<o.length;s++){var d=a.createId(s,n);r.push(d),r=r.concat(e(o[s],d))}return r}(e,t)},t.areAllDirectChildrenChecked=function(e,t,i,n,r){return(e[n]||[]).every((function(e,n){return r.indexOf(i?s.getNestedValue(i,e):a.createId(n,t))>-1}))},t.getAllParents=function(e,t,i){for(var n=[],r=a.getAllShortIds(e),o=i,s=0;s<r.length-1&&o;s++){var d=o[Number(r[s])];n.push(d),o=d[t]}return n},t.removeItem=function e(t,i,r){var o=r.slice();if(a.isIdZeroLevel(t))o.splice(Number(t),1);else{var s=Number(a.getRootParentId(t)),d=o[s]=n({},o[s]);d[i]=e(a.getIdWithoutRootParentId(t),i,d[i])}return o},t.addItem=function e(t,i,r,o,s){var d=s.slice();if(a.isIdZeroLevel(o))if("child"===i){var u=d[Number(o)]=n({},d[Number(o)]);u[r]?(u[r]=u[r].slice(),u[r].push(t)):u[r]=[t]}else d.splice(Number(o)+("after"===i?1:0),0,t);else{var l=Number(a.getRootParentId(o)),c=d[l]=n({},d[l]);c[r]=e(t,i,r,a.getIdWithoutRootParentId(o),c[r])}return d}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DOM_KENDO_TREEVIEW_GUID_FIELD=t.DOM_KENDO_ITEM_ID_FIELD=t.CHECK_INDETERMINATE_FIELD=t.CHECK_FIELD=t.SELECT_FIELD=t.HAS_CHILDREN_FIELD=t.CHILDREN_FIELD=t.DISABLED_FIELD=t.TEXT_FIELD=t.EXPAND_FIELD=void 0,t.EXPAND_FIELD="expanded",t.TEXT_FIELD="text",t.DISABLED_FIELD="disabled",t.CHILDREN_FIELD="items",t.HAS_CHILDREN_FIELD="hasChildren",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=t.getNestedValue=void 0,t.getNestedValue=function(e,t){var i=(e||"").split("."),n=t;return i.forEach((function(e){n=n?n[e]:void 0})),n},t.isArray=function(e){return void 0!==e.length}},function(e,i){e.exports=t},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewItemVue2=t.TreeViewItem=void 0;var o=a(i(0)).h,s=i(1),d=i(2),u=i(3),l=i(19),c=i(4),p=s.kendoThemeMaps.sizeMap,h={name:"KendoTreeViewItem",props:{item:Object,itemId:String,treeGuid:String,animate:Boolean,focusedItemId:String,tabbableItemId:String,fieldsService:Object,itemUI:Object,ariaMultiSelectable:Boolean,expandIcons:Boolean,checkboxes:Boolean,onFocusDomElNeeded:Object,draggable:Boolean,size:{type:String,default:"medium",validator:function(e){return[null,"small","medium","large"].includes(e)}}},computed:{fieldsSvc:function(){return this.$props.fieldsService},currentTabIndex:function(){return(this.$props.focusedItemId||this.$props.tabbableItemId)===this.itemId?0:-1},ariaExpanded:function(){return this.fieldsSvc.hasChildren(this.item)||u.hasChildren(this.item,this.fieldsSvc.getChildrenField())?Boolean(this.fieldsSvc.expanded(this.item)):void 0},ariaChecked:function(){return this.$props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},ariaSelected:function(){return!!this.fieldsSvc.selected(this.item)||(this.$props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)}},created:function(){this.itemGuid=s.guid(),this.prevFocusedItemId=this.focusedItemId,this.prevFieldsService=this.fieldsService,this.prevItem=this.item},watch:{focusedItemId:function(e,t){this.prevFocusedItemId=t},fieldsService:function(e,t){this.prevFieldsService=t},item:function(e,t){this.prevItem=t}},mounted:function(){var e=this.$props.focusedItemId,t=this.itemId;e&&e===t&&this.$emit("focusdomelneeded",this.$el),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},updated:function(){var e=this.$props.focusedItemId;if(e&&e!==this.prevFocusedItemId&&e===this.itemId&&this.$emit("focusdomelneeded",this.$el),this.checkboxElement){var t=this.fieldsSvc.checkIndeterminate(this.item);t!==this.prevFieldsService.checkIndeterminate(this.prevItem)&&(this.checkboxElement.indeterminate=t)}},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){var t=this,i=o||e,n=function(){return u.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?i("ul",{class:"k-treeview-group",role:"group",attrs:this.v3?void 0:{role:"group"}},[this.fieldsSvc.children(this.item).map((function(e,t){return i(f,{item:e,attrs:this.v3?void 0:{item:e,itemId:d.createId(t,this.itemId),treeGuid:this.$props.treeGuid,animate:this.$props.animate,focusedItemId:this.$props.focusedItemId,tabbableItemId:this.$props.tabbableItemId,fieldsService:this.$props.fieldsService,itemUI:this.$props.itemUI,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.$props.ariaMultiSelectable,draggable:this.$props.draggable,expandIcons:this.$props.expandIcons,size:this.$props.size},itemId:d.createId(t,this.itemId),treeGuid:this.$props.treeGuid,animate:this.$props.animate,focusedItemId:this.$props.focusedItemId,tabbableItemId:this.$props.tabbableItemId,fieldsService:this.$props.fieldsService,itemUI:this.$props.itemUI,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.$props.ariaMultiSelectable,onItemclick:this.handleItemClick,on:this.v3?void 0:{itemclick:this.handleItemClick,focusdomelneeded:this.handleFocusDomElNeeded,press:this.handlePress,drag:this.handleDrag,release:this.handleRelease,expandchange:this.handleExpandChange,checkchange:this.handleCheckChange},onFocusdomelneeded:this.handleFocusDomElNeeded,draggable:this.$props.draggable,onPress:this.handlePress,onDrag:this.handleDrag,onRelease:this.handleRelease,expandIcons:this.$props.expandIcons,onExpandchange:this.handleExpandChange,onCheckchange:this.handleCheckChange,key:t,size:this.$props.size})}),this)]):void 0},r=function(){return i("span",{class:this.getContentClassName(),style:{touchAction:"none"},onClick:this.handleItemClick,on:this.v3?void 0:{click:this.handleItemClick}},[i("span",{class:"k-treeview-leaf-text"},[this.$props.itemUI?i(this.$props.itemUI,{item:this.item,attrs:this.v3?void 0:{item:this.item,itemHierarchicalIndex:this.itemId},itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item)])])};return i("li",{class:this.getRootClassName(),tabIndex:this.currentTabIndex,attrs:this.v3?void 0:{tabIndex:this.currentTabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0},role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0},[i("div",{class:"k-treeview-mid",ref:this.assignDraggableMeta},[function(){return this.$props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||u.hasChildren(this.item,this.fieldsSvc.getChildrenField()))&&i("span",{class:"k-treeview-toggle"},[i("span",{class:this.getIconClassName(),onClick:this.handleExpandChange,on:this.v3?void 0:{click:this.handleExpandChange}})])}.call(this),function(){var e,t=this;if(this.$props.checkboxes){var n=this.$props.size;return i("div",{class:"k-checkbox-wrap"},[i("input",{type:"checkbox",attrs:this.v3?void 0:{type:"checkbox",id:this.itemGuid,tabIndex:-1},class:s.classNames("k-checkbox k-rounded-md",(e={},e["k-checkbox-"+(p[n]||n)]=n,e)),checked:this.v3?Boolean(this.fieldsSvc.checked(this.item)):null,domProps:this.v3?void 0:{checked:Boolean(this.fieldsSvc.checked(this.item))},id:this.itemGuid,tabIndex:-1,onChange:this.handleCheckChange,on:this.v3?void 0:{change:this.handleCheckChange},ref:function(e){return t.checkboxElement=e}}),i("label",{class:"k-checkbox-label",htmlFor:this.itemGuid,attrs:this.v3?void 0:{htmlFor:this.itemGuid}})])}}.call(this),this.$props.draggable?i(s.Draggable,{onPress:this.handlePress,on:this.v3?void 0:{press:this.handlePress,drag:this.handleDrag,release:this.handleRelease},onDrag:this.handleDrag,onRelease:this.handleRelease},this.v3?function(){return[r.call(t)]}:[r.call(t)]):r.call(this)]),this.$props.animate?i(l.Reveal,{appear:this.ariaExpanded,attrs:this.v3?void 0:{appear:this.ariaExpanded,transitionEnterDuration:200,transitionExitDuration:200},transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"}},this.v3?function(){return[n.call(t)]}:[n.call(t)]):n.call(this)])},methods:{handleCheckChange:function(e,t,i){this.$emit("checkchange",e,t||this.item,i||this.itemId)},handleExpandChange:function(e,t,i){this.$emit("expandchange",e,t||this.item,i||this.itemId)},handleItemClick:function(e,t,i){this.$emit("itemclick",e,t||this.item,i||this.itemId)},handlePress:function(e,t,i){this.$emit("press",e.event,t||this.item,i||this.itemId)},handleDrag:function(e,t,i){this.$emit("drag",e.event,t||this.item,i||this.itemId)},handleRelease:function(e,t,i){this.$emit("release",e.event,t||this.item,i||this.itemId)},handleFocusDomElNeeded:function(e){this.$emit("focusdomelneeded",e)},getIconClassName:function(){var e=this.fieldsSvc.expanded(this.item);return s.classNames("k-icon",{"k-i-expand":!e,"k-i-collapse":e,"k-i-loading":e&&!u.hasChildren(this.item,this.fieldsSvc.getChildrenField())})},getRootClassName:function(){return s.classNames("k-treeview-item",{"k-disabled":this.fieldsSvc.disabled(this.item)})},getContentClassName:function(){return s.classNames("k-treeview-leaf",{"k-focus":this.$props.focusedItemId===this.itemId,"k-selected":this.fieldsSvc.selected(this.item)})},assignDraggableMeta:function(e){e&&(e[c.DOM_KENDO_ITEM_ID_FIELD]=this.$props.itemId,e[c.DOM_KENDO_TREEVIEW_GUID_FIELD]=this.$props.treeGuid)}}};t.TreeViewItemVue2=h;var f=h;t.TreeViewItem=f},function(e,t,i){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragAnalyzer=t.moveTreeViewItem=t.TreeViewDragClue=t.handleTreeViewCheckChange=t.processTreeViewItems=t.TreeView=t.TreeViewItem=void 0;var r=i(9);Object.defineProperty(t,"TreeView",{enumerable:!0,get:function(){return r.TreeView}});var a=n(i(14));t.processTreeViewItems=a.default;var o=n(i(15));t.moveTreeViewItem=o.default;var s=i(16);Object.defineProperty(t,"handleTreeViewCheckChange",{enumerable:!0,get:function(){return s.handleTreeViewCheckChange}});var d=i(17);Object.defineProperty(t,"TreeViewDragClue",{enumerable:!0,get:function(){return d.TreeViewDragClue}});var u=n(i(18));t.TreeViewDragAnalyzer=u.default;var l=i(7);Object.defineProperty(t,"TreeViewItem",{enumerable:!0,get:function(){return l.TreeViewItem}})},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},o=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewVue2=t.TreeView=void 0;var s=a(i(0)).h,d=i(1),u=o(i(10)),l=i(3),c=i(7),p=i(2),h=o(i(12)),f=i(13),m=i(4),v=d.kendoThemeMaps.sizeMap,g={name:"KendoTreeView",props:{dataItems:Array,animate:{type:Boolean,default:!0},tabIndex:Number,focusIdField:String,getFocusHierarchicalIndex:Function,expandField:{type:String,default:m.EXPAND_FIELD},selectField:{type:String,default:m.SELECT_FIELD},childrenField:{type:String,default:m.CHILDREN_FIELD},hasChildrenField:{type:String,default:m.HAS_CHILDREN_FIELD},expandIcons:Boolean,checkboxes:Boolean,textField:{type:String,default:m.TEXT_FIELD},disableField:{type:String,default:m.DISABLED_FIELD},checkField:{type:String,default:m.CHECK_FIELD},checkIndeterminateField:{type:String,default:m.CHECK_INDETERMINATE_FIELD},item:[Object,String,Function],ariaMultiSelectable:[String,Boolean],ariaLabel:String,ariaLabelledby:String,size:{type:String,default:"medium",validator:function(e){return[null,"small","medium","large"].includes(e)}}},data:function(){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:p.ZERO_LEVEL_ZERO_NODE_ID}},created:function(){d.validatePackage(f.packageMetadata),this.allowExplicitFocus=!1,this.treeGuid=d.guid()},updated:function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t,i=s||e;this.fieldsSvc=new h.default(this.$props);var n=this.$props.size;return i("div",{class:d.classNames("k-treeview",(t={},t["k-treeview-"+(v[n]||n)]=n,t)),onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,role:"tree",attrs:this.v3?void 0:{role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.$props["aria-label"],"aria-labelledby":this.$props["aria-labelledby"],tabIndex:this.$props.tabIndex},"aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.$props["aria-label"],"aria-labelledby":this.$props["aria-labelledby"],tabIndex:this.$props.tabIndex},[i("ul",{class:"k-treeview-lines k-treeview-group",role:"group",attrs:this.v3?void 0:{role:"group"}},[this.dataItems.map((function(e,t){return i(c.TreeViewItem,{item:e,attrs:this.v3?void 0:{item:e,itemId:t.toString(),treeGuid:this.treeGuid,animate:this.$props.animate,focusedItemId:this.focusedItemId,tabbableItemId:this.tabbableItemId,fieldsService:this.fieldsSvc,itemUI:this.$props.item,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.ariaMultiSelectable,draggable:this.$props.draggable,expandIcons:this.$props.expandIcons,size:n},itemId:t.toString(),treeGuid:this.treeGuid,animate:this.$props.animate,focusedItemId:this.focusedItemId,tabbableItemId:this.tabbableItemId,fieldsService:this.fieldsSvc,itemUI:this.$props.item,checkboxes:this.$props.checkboxes,ariaMultiSelectable:this.ariaMultiSelectable,onItemclick:this.onItemClick,on:this.v3?void 0:{itemclick:this.onItemClick,focusdomelneeded:this.onFocusDomElNeeded,press:this.onPress,drag:this.onDrag,release:this.onRelease,expandchange:this.onExpandChange,checkchange:this.onCheckChange},onFocusdomelneeded:this.onFocusDomElNeeded,draggable:this.$props.draggable,onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease,expandIcons:this.$props.expandIcons,onExpandchange:this.onExpandChange,onCheckchange:this.onCheckChange,key:t,size:n})}),this)])])},methods:{onFocusDomElNeeded:function(e){this.allowExplicitFocus&&this.focusDomItem(e)},onCheckChange:function(e,t,i){this.setFocus(i),this.dispatchCheckChange(e,t,i)},onExpandChange:function(e,t,i){this.setFocus(i),this.dispatchExpandChange(e,t,i)},onPress:function(e,t,i){this.$props.onItemDragStart&&this.$props.onItemDragStart.call(void 0,{target:this,item:t,itemHierarchicalIndex:i})},onDrag:function(e,t,i){var n=e.pageX,r=e.pageY,a=e.clientX,o=e.clientY;this.$props.onItemDragOver&&this.$props.onItemDragOver.call(void 0,{target:this,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:a,clientY:o})},onRelease:function(e,t,i){var n=e.pageX,r=e.pageY,a=e.clientX,o=e.clientY;this.$props.onItemDragEnd&&this.$props.onItemDragEnd.call(void 0,{target:this,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:a,clientY:o})},onItemClick:function(e,t,i){this.setFocus(i),this.dispatchItemClick(e,t,i)},onFocus:function(){clearTimeout(this.blurRequest),void 0===this.focusedItemId&&this.dataItems.length&&this.setFocus(this.tabbableItemId)},onBlur:function(){var e=this;clearTimeout(this.blurRequest),this.blurRequest=window.setTimeout((function(){return e.setFocus(void 0)}),0)},onKeyDown:function(e){var t=this.getFocusedItem();if(t){var i=u.default(t,this.focusedItemId,this.dataItems,e.keyCode,this.fieldsSvc);i!==this.focusedItemId&&(e.preventDefault(),this.allowExplicitFocus=!0,this.setFocus(i)),this.dispatchEventsOnKeyDown(e,t)}},dispatchEventsOnKeyDown:function(e,t){var i=this,n=function(){return l.isEnabledAndAllParentsEnabled(i.focusedItemId,i.dataItems,i.fieldsSvc)};e.keyCode===d.Keys.left&&this.fieldsSvc.expanded(t)&&n()||e.keyCode===d.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||l.hasChildren(t,this.$props.childrenField))&&n()?this.dispatchExpandChange(e,t,this.focusedItemId):e.keyCode===d.Keys.enter&&n()?this.dispatchItemClick(e,t,this.focusedItemId):e.keyCode===d.Keys.space&&n()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.focusedItemId))},setFocus:function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.focusedItemId=e,this.focusedItemPublicId=this.fieldsSvc.focusId(t)}else this.focusedItemId=e;else this.focusedItemId=void 0,this.focusedItemPublicId=void 0,this.tabbableItemId=this.focusedItemId},getFocusedItem:function(){return this.focusedItemId?this.getItemById(this.focusedItemId):void 0},getItemById:function(e){return p.getItemById(e,this.dataItems,this.$props.childrenField||m.CHILDREN_FIELD)},dispatchCheckChange:function(e,t,i){this.$emit("checkchange",{item:t,itemHierarchicalIndex:i})},dispatchExpandChange:function(e,t,i){this.$emit("expandchange",{item:t,itemHierarchicalIndex:i})},dispatchItemClick:function(e,t,i){this.$emit("itemclick",{item:t,itemHierarchicalIndex:i})},refocusDueToFocusIdField:function(){if(this.fieldsSvc.focusIdField){var e=this.focusedItemPublicId;if(e){var t=this.$props.getFocusHierarchicalIndex?this.$props.getFocusHierarchicalIndex(e):l.resolveItemId(e,this.fieldsSvc.focusIdField,this.dataItems,this.$props.childrenField);t!==this.focusedItemId&&(this.allowExplicitFocus=!0,this.focusedItemId=t)}}},focusDomItem:function(e){e.focus()},guid:function(){return this.treeGuid}}};t.TreeViewVue2=g;var I=g;t.TreeView=I},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var o=i(1),s=a(i(2)),d=i(3);t.default=function(e,t,i,n,r){switch(n){case o.Keys.left:return s.isIdZeroLevel(t)||r.expanded(e)&&d.isEnabledAndAllParentsEnabled(t,i,r)?t:s.getDirectParentId(t);case o.Keys.right:return d.isItemExpandedAndWithChildren(e,r)?s.getFirstChildId(t):t;case o.Keys.up:return a=Number(s.getShortId(t)),u=s.getDirectParentId(t),a?function e(t,i,n){var r=s.getItemById(t,i,n.getChildrenField());return d.isItemExpandedAndWithChildren(r,n)?e(s.createId(r[n.getChildrenField()].length-1,t),i,n):t}(s.createId(a-1,u),i,r):s.isIdZeroLevel(t)?t:u;case o.Keys.down:return d.isItemExpandedAndWithChildren(e,r)?s.getFirstChildId(t):function e(t,i,n){var r=s.getDirectParentId(t),a=r?s.getItemById(r,i,n.getChildrenField()):void 0,o=a?a[n.getChildrenField()]:i,d=Number(s.getShortId(t));return d<o.length-1?s.createId(d+1,r):a?e(r,i,n):void 0}(t,i,r)||t;case o.Keys.home:return s.ZERO_LEVEL_ZERO_NODE_ID;case o.Keys.end:return function(){var e,t=(i.length-1).toString(),n=i[i.length-1];for(;d.isItemExpandedAndWithChildren(n,r);)e=n[r.getChildrenField()],t=s.createId(e.length-1,t),n=e[e.length-1];return t}();default:return t}var a,u}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,i=0;i<e.length;i++)i%5e4==0&&(t={},this.objects.push(t)),t[e[i]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}();t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(5),r=function(){function e(e){this.expandField=e.expandField,this.selectField=e.selectField,this.hasChildrenField=e.hasChildrenField,this.childrenField=e.childrenField,this.textField=e.textField,this.disableField=e.disableField,this.checkField=e.checkField,this.checkIndeterminateField=e.checkIndeterminateField,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return n.getNestedValue(this.expandField,e)},e.prototype.selected=function(e){return n.getNestedValue(this.selectField,e)},e.prototype.text=function(e){return n.getNestedValue(this.textField,e)},e.prototype.disabled=function(e){return n.getNestedValue(this.disableField,e)},e.prototype.hasChildren=function(e){return n.getNestedValue(this.hasChildrenField,e)},e.prototype.children=function(e){var t=n.getNestedValue(this.childrenField,e);return t||[]},e.prototype.checked=function(e){return n.getNestedValue(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return n.getNestedValue(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&n.getNestedValue(this.focusIdField,e)},e.prototype.getChildrenField=function(){return this.childrenField},e}();t.default=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-treeview",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1650291464,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),a=i(4),o=i(5);function s(e,t,i,n,a){if(i){var s=d(i,t),l=s.ids,c=s.field;return function(e,t,i,n,a){var o=e;return t.forEach((function(e){o=r.updateItem(o,e,(function(e){return u(i,e)}),n,a)})),o}(e,!o.isArray(i)&&i.idField?r.resolveItemsIds(l,i.idField,e,a):l,c,n,a)}return e}function d(e,t){var i,n;return o.isArray(e)?(i=e,n=t):(i=e.ids||[],n=e.operationField||t),{ids:i,field:n}}function u(e,t){for(var i=(e||"").split("."),r=t,a=0;a<i.length;a++){var o=i[a];if(a===i.length-1)r[o]=!0;else{if(void 0===r[o])return;r[o]=n({},r[o]),r=r[o]}}}function l(e,t,i,n,r){for(var a=!1,s=0;s<e.length;s++){var d=e[s];if(o.getNestedValue(n,d)){if(!a)for(var c=0;c<t.length;c++)u(r,t[c]);a=!0,d[i]&&l(d[i],[],i,n,r)}else d[i]&&l(d[i],a?[d]:t.concat([d]),i,n,r)}}t.default=function(e,t){if(!e||!e.length)return[];var i=e,n=t.cloneField||"cloned",r=t.expandField||a.EXPAND_FIELD,u=t.selectField||a.SELECT_FIELD,c=t.checkField||a.CHECK_FIELD,p=t.childrenField||a.CHILDREN_FIELD;return i=s(i,r,t.expand,n,p),i=s(i,u,t.select,n,p),function(e,t,i){if(i&&!o.isArray(i)&&i.applyCheckIndeterminate)for(var n=d(i,a.CHECK_FIELD).field,r=i.checkIndeterminateField||a.CHECK_INDETERMINATE_FIELD,s=0;s<e.length;s++){var u=e[s],c=u[t];c&&l(c,o.getNestedValue(n,u)?[]:[u],t,n,r)}}(i=s(i,c,t.check,n,p),p,t.check),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3),r=i(2),a=i(4);t.default=function(e,t,i,o,s,d){var u=d||a.CHILDREN_FIELD;if(!function(){if(!(t&&t.length&&e&&o))return!1;if(s&&!s.length)return!1;var i=s&&s!==t?s:t;if(!r.getItemById(o,i,u))return!1;return!0}())return h();var l=r.getItemById(e,t,u);if(!l)return h();if(s&&s!==t)return{sourceData:n.removeItem(e,u,t),targetData:n.addItem(l,i,u,o,s)};if((o+"_").startsWith(e+"_"))return h();var c=n.removeItem(e,u,t),p=n.addItem(l,i,u,r.getDecrementedItemIdAfterRemoval(e,o),c);return s?{sourceData:p,targetData:p}:p;function h(){return s?{sourceData:t,targetData:s}:t}}},function(e,t,i){"use strict";var n=function(e,t){var i,n,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(r=2&a[0]?n.return:a[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;switch(n=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{i=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.handleTreeViewCheckChange=void 0;var r=i(3),a=i(2),o=i(5),s=i(4);t.handleTreeViewCheckChange=function(e,t,i,d,u){if(void 0===d&&(d={}),!i||!i.length)return[];var l,c=function(e){var t,i=void 0;o.isArray(e)?t=e:(t=e.ids||[],i=e.idField);return{ids:t,idField:i}}(t),p=c.ids,h=c.idField,f=h?o.getNestedValue(h,e.item):e.itemHierarchicalIndex,m=p.indexOf(f),v=-1===m,g=u||s.CHILDREN_FIELD;return d.singleMode?l=v?[f]:[]:(l=p.slice(),v?l.push(f):l.splice(m,1),d.checkChildren&&function(e,t,i,n,a,o){r.getAllDirectIndirectChildrenIds(e,t,a,n).forEach((function(e){i&&-1===o.indexOf(e)?o.push(e):!i&&o.indexOf(e)>-1&&o.splice(o.indexOf(e),1)}))}(e.item,e.itemHierarchicalIndex,v,h,g,l),d.checkParents&&function(e,t,i,s,d,u){var l=function(){var d,l,c;return n(this,(function(n){switch(n.label){case 0:if(!i)return[3,5];d=r.getAllParents(e,s,u),l=d.length-1,n.label=1;case 1:return l>-1?[4,{id:o.getNestedValue(i,d[l]),item:t?d[l]:void 0}]:[3,4];case 2:n.sent(),n.label=3;case 3:return l--,[3,1];case 4:return[3,8];case 5:c=a.getDirectParentId(e),n.label=6;case 6:return c?[4,{id:c,item:t?a.getItemById(c,u,s):void 0}]:[3,8];case 7:return n.sent(),c=a.getDirectParentId(c),[3,6];case 8:return[2]}}))}(),c=l.next();t?function(){for(;!c.done;){var e=c.value,t=e.id,n=e.item;if(-1!==d.indexOf(t)||!r.areAllDirectChildrenChecked(n,t,i,s,d))break;d.push(t),c=l.next()}}():function(){for(;!c.done;){var e=c.value.id,t=d.indexOf(e);if(!(t>-1))break;d.splice(t,1),c=l.next()}}()}(e.itemHierarchicalIndex,v,h,g,l,i)),o.isArray(t)?l:Object.assign({},t,{ids:l})}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TreeViewDragClueVue2=t.TreeViewDragClue=void 0;var s=o(i(0)).h,d=i(1),u={name:"KendoTreeViewDragClue",props:{},data:function(){return{visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i={top:this.top+"px",left:this.left+"px"};return this.visible&&t("div",{class:"k-header k-drag-clue",style:n(n({},{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}),i)},[t("span",{class:d.classNames("k-icon k-drag-status k-icon-with-modifier",this.operationClassName)},[t("span",{class:"k-icon k-icon-modifier"})]),this.text])},methods:{show:function(e,t,i,n){this.visible=!0,this.top=e,this.left=t,this.text=i,this.operationClassName=n},hide:function(){this.visible=!1}}};t.TreeViewDragClueVue2=u;var l=u;t.TreeViewDragClue=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=function(){function e(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid}return e.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(e.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!1,configurable:!0}),e.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},e.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[n.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[n.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[n.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[n.DOM_KENDO_TREEVIEW_GUID_FIELD])},e}();t.default=r},function(e,t,i){"use strict";i.r(t),i.d(t,"Animation",(function(){return y})),i.d(t,"AnimationVue2",(function(){return b})),i.d(t,"AnimationChild",(function(){return v})),i.d(t,"AnimationChildVue2",(function(){return m})),i.d(t,"Fade",(function(){return _})),i.d(t,"FadeVue2",(function(){return k})),i.d(t,"Expand",(function(){return $})),i.d(t,"ExpandVue2",(function(){return S})),i.d(t,"Push",(function(){return P})),i.d(t,"PushVue2",(function(){return N})),i.d(t,"Slide",(function(){return A})),i.d(t,"SlideVue2",(function(){return L})),i.d(t,"Zoom",(function(){return B})),i.d(t,"ZoomVue2",(function(){return R})),i.d(t,"Reveal",(function(){return G})),i.d(t,"RevealVue2",(function(){return W})),i.d(t,"animate",(function(){return U})),i.d(t,"cancelAnimation",(function(){return Y}));var n=i(0),r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop),n=parseFloat(t.marginBottom);return e.offsetHeight+i+n},a=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginLeft),n=parseFloat(t.marginRight);return e.offsetWidth+i+n},o={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},s=i(1),d=function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},l=n,c=l.h,p=l.ref,h=l.Transition,f=o,m={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:c?function(){return{v3:!!c,elementRef:p(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(e){this.$emit("beforeenter",{animatedElement:e,target:this})},onEnter:function(e){this.animationStep="entering",this.$emit("entering",{animatedElement:e,target:this})},onAfterEnter:function(e){this.animationStep="entered",this.$emit("entered",{animatedElement:e,target:this})},onBeforeLeave:function(e){this.$emit("exit",{animatedElement:e,target:this})},onLeave:function(e){this.animationStep="exiting",this.$emit("exiting",{animatedElement:e,target:this})},onAfterLeave:function(e){this.animationStep="exited",this.$emit("exited",{animatedElement:e,target:this})}},render:function(e){var t=this,i=c||e,n=this.$props,r=n.appear,a=n.enter,o=n.exit,l=n.transitionName,p=n.transitionEnterDuration,m=n.transitionExitDuration,v=(n.className,n.componentChildClassName),g=(n.mountOnEnter,n.unmountOnExit,n.animationEnteringStyle),I=n.animationEnteredStyle,E=n.animationExitingStyle,x=n.animationExitedStyle,b=(u(n,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(s.getDefaultSlots)(this)),y=this.v3?r:!!b,D=this.v3?h:"transition",k=[v,f["child-animation-container"]],_=a?p:0,C=o?m:0,O=[d({transitionDelay:"0ms",transitionDuration:y?_+"ms":C+"ms"},this.$props.transitionStyle),{entering:d({transitionDuration:_+"ms"},g),entered:d({},I),exiting:d({transitionDuration:C+"ms"},E),exited:d({},x)}[this.animationStep]],S={enter:_,leave:C},$=[y?i("div",{style:O,class:k,ref:this.v3?function(e){t.elementRef=e}:"element"},[b]):null];return i(D,{duration:S,attrs:this.v3?null:{duration:S,name:l,appear:r,appearClass:f[l+"-appear"]||l+"-appear",appearToClass:f[l+"-appear-active"]||l+"-appear-active",enterClass:f[l+"-enter"]||l+"-enter",enterToClass:f[l+"-enter-active"]||l+"-enter-active",leaveClass:f[l+"-exit"]||l+"-exit",leaveToClass:f[l+"-exit-active"]||l+"-exit-active"},name:l,appear:r,appearFromClass:f[l+"-appear"]||l+"-appear",enterFromClass:f[l+"-enter"]||l+"-enter",leaveFromClass:f[l+"-exit"]||l+"-exit",appearToClass:f[l+"-appear-active"]||l+"-appear-active",enterToClass:f[l+"-enter-active"]||l+"-enter-active",leaveToClass:f[l+"-exit-active"]||l+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return $}:$)}},v=m,g={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1650290879,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},I=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},E=n.h,x=o,b={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:E?function(){return{v3:!!E}}:void 0,created:function(){Object(s.validatePackage)(g)},render:function(e){var t=E||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.id,n.tag,n.className),a=(n.childFactory,n.stackChildren,n.componentChildStyle,n.componentChildClassName,I(n,["id","tag","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[x["animation-container"],x["animation-container-relative"],r]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:a},[t(v,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])])}},y=b,D=n.h,k={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:500},transitionExitDuration:{type:Number,default:500},childFactory:Object,className:String,tag:String,id:String},setup:D?function(){return{v3:!!D}}:void 0,render:function(e){var t=D||e,i=Object(s.getDefaultSlots)(this);return t(y,{transitionName:"fade",attrs:this.v3?void 0:{transitionName:"fade",appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},_=k,C=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},O=n.h,S={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},setup:O?function(){return{v3:!!O}}:void 0,render:function(e){var t=O||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,C(n,["direction"]),"expand-"+this.$props.direction);return t(y,{transitionName:r,attrs:this.v3?void 0:{transitionName:r,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},$=S,w=n.h,F={position:"absolute",top:"0",left:"0"},N={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"right"},tag:String,id:String},setup:w?function(){return{v3:!!w}}:void 0,render:function(e){var t=w||e,i=Object(s.getDefaultSlots)(this),n="push-"+this.$props.direction;return t(y,{transitionName:n,attrs:this.v3?void 0:{transitionName:n,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?F:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?F:void 0},this.v3?function(){return[i]}:[i])}},P=N,T=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},j=n.h,L={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:j?function(){return{v3:!!j}}:void 0,render:function(e){var t=j||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.id),a=(T(n,["direction","id"]),"slide-"+this.$props.direction);return t(y,{id:r,attrs:this.v3?void 0:{id:r,transitionName:a,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:a,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},A=L,V=n.h,M={position:"absolute",top:"0",left:"0"},R={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},stackChildren:{type:Boolean,default:!1},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"out"},tag:String,id:String},setup:V?function(){return{v3:!!V}}:void 0,render:function(e){var t=V||e,i=Object(s.getDefaultSlots)(this),n="zoom-"+this.$props.direction;return t(y,{transitionName:n,attrs:this.v3?void 0:{transitionName:n,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?M:void 0},appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationExitingStyle:this.$props.stackChildren?M:void 0},this.v3?function(){return[i]}:[i])}},B=R,z=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},H=n.h,K=function(){},W={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},childFactory:Object,className:String,direction:{type:String,default:"vertical"},tag:String,id:String},data:function(){return{maxHeight:"",maxWidth:""}},methods:{componentWillEnter:function(e){var t=this.$props.onEnter;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},componentIsEntering:function(e){var t=this.$props.onEntering;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},componentWillExit:function(e){var t=this.$props.onExit;this.updateContainerDimensions(e.animatedElement,(function(){t&&t.call(void 0,e)}))},updateContainerDimensions:function(e,t){void 0===t&&(t=K);var i=e?e.firstElementChild:null;if(i){var n=r(i),o=a(i);this.$data.maxHeight=n,this.$data.maxWidth=o,t()}}},computed:{animationEnteringStyle:{get:function(){var e;return{maxHeight:(e="vertical"===this.$props.direction?{maxHeight:this.maxHeight?this.maxHeight+"px":null}:{maxWidth:this.maxWidth?this.maxWidth+"px":null}).maxHeight,maxWidth:e.maxWidth}}}},setup:H?function(){return{v3:!!H}}:void 0,render:function(e){var t=H||e,i=Object(s.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.childFactory,z(n,["direction","childFactory"]),"reveal-"+this.$props.direction);return t(y,{appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration,onEnter:this.componentWillEnter,on:this.v3?void 0:{enter:this.componentWillEnter,entering:this.componentIsEntering,exit:this.componentWillExit},onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:this.animationEnteringStyle,transitionName:r},this.v3?function(){return[i]}:[i])}},G=W,U=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=0);var n,r=e.duration,a=t&&1-t;e.onStart&&e.onStart();return i=window.requestAnimationFrame((function o(s){n||(n=s);var d=(s-n+1)/r+a;d<=1?(e.onUpdate&&e.onUpdate(d),i=window.requestAnimationFrame(o),t=d):(e.onEnd&&e.onEnd(1),t=0)}))},Y=function(e){e&&window.cancelAnimationFrame(e)}}])}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The props of the ItemRender component ([see example]({% slug rendering_treeview %})).
|
|
3
|
+
*/
|
|
4
|
+
export interface ItemRenderProps {
|
|
5
|
+
/**
|
|
6
|
+
* The item that is rendered.
|
|
7
|
+
*/
|
|
8
|
+
item: any;
|
|
9
|
+
/**
|
|
10
|
+
* The hierarchical index of the item. The indices are zero-based. The first root item has a `0` (zero) index. If the first root item has children, the first child acquires a `0_0` index and the second acquires a `0_1` index.
|
|
11
|
+
*/
|
|
12
|
+
itemHierarchicalIndex: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DefineComponent } from './additionalTypes';
|
|
2
|
+
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
3
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
|
+
declare type DefaultMethods<V> = {
|
|
5
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
6
|
+
};
|
|
7
|
+
import { TreeViewProps } from './TreeViewProps';
|
|
8
|
+
import FieldsService from './utils/FieldsService';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface TreeViewState {
|
|
13
|
+
blurRequest: any;
|
|
14
|
+
fieldsSvc: FieldsService;
|
|
15
|
+
treeGuid: string;
|
|
16
|
+
allowExplicitFocus: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export interface TreeViewComputed {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export interface TreeViewMethods {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export interface TreeViewData {
|
|
34
|
+
focusedItemId?: string;
|
|
35
|
+
focusedItemPublicId?: any;
|
|
36
|
+
tabbableItemId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export interface TreeViewAll extends Vue, TreeViewMethods, TreeViewData, TreeViewComputed, TreeViewState {
|
|
42
|
+
}
|
|
43
|
+
declare let TreeViewVue2: ComponentOptions<TreeViewAll, DefaultData<TreeViewData>, DefaultMethods<TreeViewAll>, TreeViewComputed, RecordPropsDefinition<TreeViewProps>>;
|
|
44
|
+
declare const TreeView: DefineComponent<TreeViewProps, any, TreeViewData, TreeViewComputed, TreeViewMethods, {}, {}, {}, string, TreeViewProps, TreeViewProps, {}>;
|
|
45
|
+
export { TreeView, TreeViewVue2 };
|