tsv2-library 0.3.79 → 0.3.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/v2/Tree/Tree.vue.d.ts +6 -0
- package/dist/src/components/v2/Tree/helpers/filterNodeKeys.helper.d.ts +9 -5
- package/dist/src/presets/index.js +175 -124
- package/dist/tsv2-library.es.js +2632 -2628
- package/dist/tsv2-library.umd.js +8 -8
- package/package.json +141 -142
- package/src/components/v2/Tree/Tree.vue.d.ts +6 -0
|
@@ -95,6 +95,12 @@ export interface TreeProps {
|
|
|
95
95
|
* Disable node 'All' selection
|
|
96
96
|
*/
|
|
97
97
|
disableNodeAll?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Include node All key (-1) on Checkbox Selection
|
|
100
|
+
*
|
|
101
|
+
* @default false - (-1) is excluded
|
|
102
|
+
*/
|
|
103
|
+
includeNodeAllKey?: boolean;
|
|
98
104
|
disableKeys?: number[];
|
|
99
105
|
exactDisableKey?: number;
|
|
100
106
|
/**
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { TreeSelectionKeys } from '../../../../../node_modules/primevue/tree';
|
|
2
2
|
/**
|
|
3
3
|
* Parse selection keys into array of keys.
|
|
4
|
+
*
|
|
5
|
+
* @param nodeKeys - A collection of selected node keys.
|
|
6
|
+
* @param includeNodeAllKey - Whether to include the "-1" key (representing "All").
|
|
4
7
|
*/
|
|
5
|
-
export declare const parseNodeKeys: (nodeKeys: TreeSelectionKeys) => number[];
|
|
8
|
+
export declare const parseNodeKeys: (nodeKeys: TreeSelectionKeys, includeNodeAllKey?: boolean) => number[];
|
|
6
9
|
/**
|
|
7
|
-
*
|
|
8
|
-
* Keys with partialChecked true should not be included.
|
|
10
|
+
* Filters a collection of selected node keys based on specific criteria.
|
|
9
11
|
*
|
|
10
|
-
*
|
|
12
|
+
* @param nodeKeys - A collection of selected node keys.
|
|
13
|
+
* @param includeNodeAllKey - Whether to include the "-1" key (representing "All").
|
|
14
|
+
* @returns A new collection of filtered node keys.
|
|
11
15
|
*/
|
|
12
|
-
export declare const filterNodeKeys: (nodeKeys: TreeSelectionKeys) => TreeSelectionKeys;
|
|
16
|
+
export declare const filterNodeKeys: (nodeKeys: TreeSelectionKeys, includeNodeAllKey?: boolean) => TreeSelectionKeys;
|
|
@@ -1,128 +1,179 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
import accordion from './accordion';
|
|
2
|
+
import autocomplete from './autocomplete';
|
|
3
|
+
import avatar from './avatar';
|
|
4
|
+
import avatargroup from './avatargroup';
|
|
5
|
+
import badge from './badge';
|
|
6
|
+
import badgedirective from './badgedirective';
|
|
7
|
+
import breadcrumb from './breadcrumb';
|
|
8
|
+
import button from './button';
|
|
9
|
+
import calendar from './calendar';
|
|
10
|
+
import card from './card';
|
|
11
|
+
import carousel from './carousel';
|
|
12
|
+
import cascadeselect from './cascadeselect';
|
|
13
|
+
import checkbox from './checkbox';
|
|
14
|
+
import chip from './chip';
|
|
15
|
+
import chips from './chips';
|
|
16
|
+
import colorpicker from './colorpicker';
|
|
17
|
+
import confirmpopup from './confirmpopup';
|
|
18
|
+
import contextmenu from './contextmenu';
|
|
19
|
+
import datatable from './datatable';
|
|
20
|
+
import dataview from './dataview';
|
|
21
|
+
import dataviewlayoutoptions from './dataviewlayoutoptions';
|
|
22
|
+
import dialog from './dialog';
|
|
23
|
+
import divider from './divider';
|
|
24
|
+
import dock from './dock';
|
|
25
|
+
import dropdown from './dropdown';
|
|
26
|
+
import fieldset from './fieldset';
|
|
27
|
+
import global from './global';
|
|
28
|
+
import image from './image';
|
|
29
|
+
import inlinemessage from './inlinemessage';
|
|
30
|
+
import inputgroup from './inputgroup';
|
|
31
|
+
import inputgroupaddon from './inputgroupaddon';
|
|
32
|
+
import inputmask from './inputmask';
|
|
33
|
+
import inputnumber from './inputnumber';
|
|
34
|
+
import inputotp from './inputotp';
|
|
35
|
+
import inputswitch from './inputswitch';
|
|
36
|
+
import inputtext from './inputtext';
|
|
37
|
+
import knob from './knob';
|
|
38
|
+
import listbox from './listbox';
|
|
39
|
+
import megamenu from './megamenu';
|
|
40
|
+
import menu from './menu';
|
|
41
|
+
import menubar from './menubar';
|
|
42
|
+
import message from './message';
|
|
43
|
+
import multiselect from './multiselect';
|
|
44
|
+
import orderlist from './orderlist';
|
|
45
|
+
import organizationchart from './organizationchart';
|
|
46
|
+
import overlaypanel from './overlaypanel';
|
|
47
|
+
import paginator from './paginator';
|
|
48
|
+
import panel from './panel';
|
|
49
|
+
import panelmenu from './panelmenu';
|
|
50
|
+
import password from './password';
|
|
51
|
+
import picklist from './picklist';
|
|
52
|
+
import progressbar from './progressbar';
|
|
53
|
+
import radiobutton from './radiobutton';
|
|
54
|
+
import rating from './rating';
|
|
55
|
+
import ripple from './ripple';
|
|
56
|
+
import scrollpanel from './scrollpanel';
|
|
57
|
+
import scrolltop from './scrolltop';
|
|
58
|
+
import selectbutton from './selectbutton';
|
|
59
|
+
import sidebar from './sidebar';
|
|
60
|
+
import skeleton from './skeleton';
|
|
61
|
+
import slider from './slider';
|
|
62
|
+
import splitbutton from './splitbutton';
|
|
63
|
+
import steps from './steps';
|
|
64
|
+
import tabmenu from './tabmenu';
|
|
65
|
+
import tabview from './tabview';
|
|
66
|
+
import tag from './tag';
|
|
67
|
+
import terminal from './terminal';
|
|
68
|
+
import textarea from './textarea';
|
|
69
|
+
import tieredmenu from './tieredmenu';
|
|
70
|
+
import timeline from './timeline';
|
|
71
|
+
import toast from './toast';
|
|
72
|
+
import togglebutton from './togglebutton';
|
|
73
|
+
import toolbar from './toolbar';
|
|
74
|
+
import tooltip from './tooltip';
|
|
75
|
+
import tree from './tree';
|
|
76
|
+
import treeselect from './treeselect';
|
|
77
|
+
import treetable from './treetable';
|
|
78
|
+
import tristatecheckbox from './tristatecheckbox';
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
'p-0',
|
|
77
|
-
'm-0',
|
|
78
|
-
|
|
79
|
-
// Shape
|
|
80
|
-
'rounded',
|
|
81
|
-
'border',
|
|
82
|
-
|
|
83
|
-
// Shape
|
|
84
|
-
'opacity-0',
|
|
85
|
-
'rounded-md',
|
|
86
|
-
'outline-none',
|
|
87
|
-
'border-2 border-surface-300 dark:border-surface-700',
|
|
88
|
-
|
|
89
|
-
// Misc
|
|
90
|
-
'appareance-none',
|
|
91
|
-
'cursor-pointer',
|
|
92
|
-
],
|
|
93
|
-
},
|
|
94
|
-
checkicon: {
|
|
95
|
-
class: [
|
|
96
|
-
// Font
|
|
97
|
-
'text-normal',
|
|
98
|
-
|
|
99
|
-
// Size
|
|
100
|
-
'w-3',
|
|
101
|
-
'h-3',
|
|
102
|
-
|
|
103
|
-
// Colors
|
|
104
|
-
'text-surface-0 dark:text-surface-0',
|
|
105
|
-
|
|
106
|
-
// Transitions
|
|
107
|
-
'transition-all',
|
|
108
|
-
'duration-200',
|
|
109
|
-
],
|
|
80
|
+
export default {
|
|
81
|
+
global,
|
|
82
|
+
directives: {
|
|
83
|
+
badge: badgedirective,
|
|
84
|
+
ripple,
|
|
85
|
+
tooltip,
|
|
110
86
|
},
|
|
111
|
-
uncheckicon: {
|
|
112
|
-
class: [
|
|
113
|
-
// Font
|
|
114
|
-
'text-normal',
|
|
115
87
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
88
|
+
//Forms
|
|
89
|
+
autocomplete,
|
|
90
|
+
dropdown,
|
|
91
|
+
inputnumber,
|
|
92
|
+
inputotp,
|
|
93
|
+
inputtext,
|
|
94
|
+
calendar,
|
|
95
|
+
checkbox,
|
|
96
|
+
radiobutton,
|
|
97
|
+
inputswitch,
|
|
98
|
+
selectbutton,
|
|
99
|
+
slider,
|
|
100
|
+
chips,
|
|
101
|
+
rating,
|
|
102
|
+
multiselect,
|
|
103
|
+
togglebutton,
|
|
104
|
+
cascadeselect,
|
|
105
|
+
listbox,
|
|
106
|
+
colorpicker,
|
|
107
|
+
inputgroup,
|
|
108
|
+
inputgroupaddon,
|
|
109
|
+
inputmask,
|
|
110
|
+
knob,
|
|
111
|
+
treeselect,
|
|
112
|
+
tristatecheckbox,
|
|
113
|
+
textarea,
|
|
114
|
+
password,
|
|
115
|
+
|
|
116
|
+
//Buttons
|
|
117
|
+
button,
|
|
118
|
+
splitbutton,
|
|
119
|
+
|
|
120
|
+
//Data
|
|
121
|
+
paginator,
|
|
122
|
+
datatable,
|
|
123
|
+
tree,
|
|
124
|
+
dataview,
|
|
125
|
+
dataviewlayoutoptions,
|
|
126
|
+
organizationchart,
|
|
127
|
+
orderlist,
|
|
128
|
+
picklist,
|
|
129
|
+
treetable,
|
|
130
|
+
timeline,
|
|
131
|
+
|
|
132
|
+
//Panels
|
|
133
|
+
accordion,
|
|
134
|
+
panel,
|
|
135
|
+
fieldset,
|
|
136
|
+
card,
|
|
137
|
+
tabview,
|
|
138
|
+
divider,
|
|
139
|
+
toolbar,
|
|
140
|
+
scrollpanel,
|
|
141
|
+
|
|
142
|
+
//Menu
|
|
143
|
+
contextmenu,
|
|
144
|
+
menu,
|
|
145
|
+
menubar,
|
|
146
|
+
steps,
|
|
147
|
+
tieredmenu,
|
|
148
|
+
breadcrumb,
|
|
149
|
+
panelmenu,
|
|
150
|
+
megamenu,
|
|
151
|
+
dock,
|
|
152
|
+
tabmenu,
|
|
153
|
+
|
|
154
|
+
//Overlays
|
|
155
|
+
dialog,
|
|
156
|
+
overlaypanel,
|
|
157
|
+
sidebar,
|
|
158
|
+
confirmpopup,
|
|
159
|
+
|
|
160
|
+
//Messages
|
|
161
|
+
message,
|
|
162
|
+
inlinemessage,
|
|
163
|
+
toast,
|
|
164
|
+
|
|
165
|
+
//Media
|
|
166
|
+
carousel,
|
|
167
|
+
|
|
168
|
+
//Misc
|
|
169
|
+
badge,
|
|
170
|
+
avatar,
|
|
171
|
+
avatargroup,
|
|
172
|
+
tag,
|
|
173
|
+
chip,
|
|
174
|
+
progressbar,
|
|
175
|
+
skeleton,
|
|
176
|
+
scrolltop,
|
|
177
|
+
terminal,
|
|
178
|
+
image,
|
|
128
179
|
};
|