@primevue/mcp 4.5.5 → 5.0.0-rc.2
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 +45 -21
- package/README.md +48 -250
- package/data/components.json +47269 -0
- package/data/llms/components/accordion.md +629 -0
- package/data/llms/components/animateonscroll.md +165 -0
- package/data/llms/components/autocomplete.md +995 -0
- package/data/llms/components/avatar.md +264 -0
- package/data/llms/components/badge.md +200 -0
- package/data/llms/components/blockui.md +99 -0
- package/data/llms/components/breadcrumb.md +269 -0
- package/data/llms/components/button.md +902 -0
- package/data/llms/components/card.md +209 -0
- package/data/llms/components/carousel.md +506 -0
- package/data/llms/components/cascadeselect.md +1207 -0
- package/data/llms/components/chart.md +1022 -0
- package/data/llms/components/checkbox.md +401 -0
- package/data/llms/components/chip.md +206 -0
- package/data/llms/components/colorpicker.md +213 -0
- package/data/llms/components/commandmenu.md +660 -0
- package/data/llms/components/compare.md +407 -0
- package/data/llms/components/confirmdialog.md +343 -0
- package/data/llms/components/confirmpopup.md +252 -0
- package/data/llms/components/contextmenu.md +522 -0
- package/data/llms/components/datatable.md +5266 -0
- package/data/llms/components/dataview.md +569 -0
- package/data/llms/components/datepicker.md +964 -0
- package/data/llms/components/deferredcontent.md +96 -0
- package/data/llms/components/dialog.md +702 -0
- package/data/llms/components/divider.md +152 -0
- package/data/llms/components/dock.md +488 -0
- package/data/llms/components/drawer.md +469 -0
- package/data/llms/components/dynamicdialog.md +214 -0
- package/data/llms/components/editor.md +205 -0
- package/data/llms/components/fieldset.md +253 -0
- package/data/llms/components/fileupload.md +459 -0
- package/data/llms/components/floatlabel.md +144 -0
- package/data/llms/components/fluid.md +104 -0
- package/data/llms/components/focustrap.md +59 -0
- package/data/llms/components/forms.md +344 -0
- package/data/llms/components/galleria.md +1119 -0
- package/data/llms/components/gallery.md +1003 -0
- package/data/llms/components/iconfield.md +283 -0
- package/data/llms/components/iftalabel.md +96 -0
- package/data/llms/components/image.md +179 -0
- package/data/llms/components/imagecompare.md +108 -0
- package/data/llms/components/inplace.md +183 -0
- package/data/llms/components/inputcolor.md +869 -0
- package/data/llms/components/inputgroup.md +419 -0
- package/data/llms/components/inputmask.md +345 -0
- package/data/llms/components/inputnumber.md +551 -0
- package/data/llms/components/inputotp.md +345 -0
- package/data/llms/components/inputpassword.md +738 -0
- package/data/llms/components/inputtags.md +432 -0
- package/data/llms/components/inputtext.md +569 -0
- package/data/llms/components/installation.md +1 -0
- package/data/llms/components/keyfilter.md +116 -0
- package/data/llms/components/knob.md +318 -0
- package/data/llms/components/label.md +151 -0
- package/data/llms/components/laravel.md +53 -0
- package/data/llms/components/listbox.md +636 -0
- package/data/llms/components/mask.md +203 -0
- package/data/llms/components/mcp.md +39 -0
- package/data/llms/components/megamenu.md +563 -0
- package/data/llms/components/menu.md +651 -0
- package/data/llms/components/menubar.md +446 -0
- package/data/llms/components/message.md +497 -0
- package/data/llms/components/metergroup.md +281 -0
- package/data/llms/components/multiselect.md +752 -0
- package/data/llms/components/orderlist.md +224 -0
- package/data/llms/components/organizationchart.md +418 -0
- package/data/llms/components/paginator.md +221 -0
- package/data/llms/components/panel.md +321 -0
- package/data/llms/components/panelmenu.md +703 -0
- package/data/llms/components/password.md +657 -0
- package/data/llms/components/picklist.md +286 -0
- package/data/llms/components/popover.md +145 -0
- package/data/llms/components/progressbar.md +242 -0
- package/data/llms/components/progressspinner.md +104 -0
- package/data/llms/components/radiobutton.md +427 -0
- package/data/llms/components/rating.md +312 -0
- package/data/llms/components/ripple.md +91 -0
- package/data/llms/components/scrollarea.md +700 -0
- package/data/llms/components/scrollpanel.md +131 -0
- package/data/llms/components/scrolltop.md +87 -0
- package/data/llms/components/select.md +1251 -0
- package/data/llms/components/selectbutton.md +268 -0
- package/data/llms/components/sidebar.md +2232 -0
- package/data/llms/components/skeleton.md +302 -0
- package/data/llms/components/slider.md +416 -0
- package/data/llms/components/speeddial.md +402 -0
- package/data/llms/components/splitbutton.md +840 -0
- package/data/llms/components/splitter.md +447 -0
- package/data/llms/components/stepper.md +551 -0
- package/data/llms/components/styleclass.md +226 -0
- package/data/llms/components/tabs.md +609 -0
- package/data/llms/components/tag.md +178 -0
- package/data/llms/components/terminal.md +123 -0
- package/data/llms/components/textarea.md +519 -0
- package/data/llms/components/tieredmenu.md +578 -0
- package/data/llms/components/timeline.md +494 -0
- package/data/llms/components/toast.md +472 -0
- package/data/llms/components/togglebutton.md +276 -0
- package/data/llms/components/toggleswitch.md +271 -0
- package/data/llms/components/toolbar.md +140 -0
- package/data/llms/components/tooltip.md +160 -0
- package/data/llms/components/tree.md +1076 -0
- package/data/llms/components/treeselect.md +660 -0
- package/data/llms/components/treetable.md +2493 -0
- package/data/llms/components/virtualscroller.md +265 -0
- package/data/llms/guides/autoimport.md +28 -0
- package/data/llms/guides/cdn.md +72 -0
- package/data/llms/guides/configuration.md +158 -0
- package/data/llms/guides/customicons.md +67 -0
- package/data/llms/guides/guides/accessibility.md +27 -0
- package/data/llms/guides/guides/animations.md +119 -0
- package/data/llms/guides/guides/rtl.md +7 -0
- package/data/llms/guides/icons.md +136 -0
- package/data/llms/guides/installation.md +3 -0
- package/data/llms/guides/laravel.md +66 -0
- package/data/llms/guides/llms.md +15 -0
- package/data/llms/guides/mcp.md +104 -0
- package/data/llms/guides/migration/v4.md +15 -0
- package/data/llms/guides/migration/v5.md +15 -0
- package/data/llms/guides/nuxt.md +141 -0
- package/data/llms/guides/passthrough.md +137 -0
- package/data/llms/guides/primeclt.md +43 -0
- package/data/llms/guides/tailwind.md +151 -0
- package/data/llms/guides/theming/styled.md +497 -0
- package/data/llms/guides/theming/unstyled.md +57 -0
- package/data/llms/guides/uikit.md +3 -0
- package/data/llms/guides/vite.md +90 -0
- package/data/llms/llms-full.txt +54465 -0
- package/data/llms/llms.txt +132 -0
- package/data/llms/pages/accessibility.md +27 -0
- package/data/llms/pages/animations.md +119 -0
- package/data/llms/pages/autoimport.md +28 -0
- package/data/llms/pages/cdn.md +72 -0
- package/data/llms/pages/configuration.md +158 -0
- package/data/llms/pages/contribution.md +31 -0
- package/data/llms/pages/customicons.md +67 -0
- package/data/llms/pages/designer.md +79 -0
- package/data/llms/pages/dynamicimports.md +7 -0
- package/data/llms/pages/forms.md +63 -0
- package/data/llms/pages/guides/accessibility.md +27 -0
- package/data/llms/pages/guides/animations.md +119 -0
- package/data/llms/pages/guides/rtl.md +7 -0
- package/data/llms/pages/icons.md +136 -0
- package/data/llms/pages/installation.md +3 -0
- package/data/llms/pages/introduction.md +23 -0
- package/data/llms/pages/laravel.md +66 -0
- package/data/llms/pages/llms.md +15 -0
- package/data/llms/pages/mcp.md +104 -0
- package/data/llms/pages/migration/v4.md +15 -0
- package/data/llms/pages/migration/v5.md +15 -0
- package/data/llms/pages/nuxt.md +141 -0
- package/data/llms/pages/passthrough.md +137 -0
- package/data/llms/pages/primeclt.md +43 -0
- package/data/llms/pages/rtl.md +7 -0
- package/data/llms/pages/setup.md +3 -0
- package/data/llms/pages/styled.md +497 -0
- package/data/llms/pages/tailwind.md +151 -0
- package/data/llms/pages/theming/styled.md +497 -0
- package/data/llms/pages/theming/unstyled.md +57 -0
- package/data/llms/pages/uikit.md +3 -0
- package/data/llms/pages/unstyled.md +57 -0
- package/data/llms/pages/v4.md +15 -0
- package/data/llms/pages/v5.md +15 -0
- package/data/llms/pages/vite.md +90 -0
- package/data/manifest.json +11117 -0
- package/data/mcp-data.json +55940 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +66066 -72541
- package/package.json +10 -12
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# OrderList
|
|
2
|
+
|
|
3
|
+
OrderList is used to sort a collection.
|
|
4
|
+
|
|
5
|
+
## Basic
|
|
6
|
+
|
|
7
|
+
Selection-based reordering with move buttons. Click to select items, then use the buttons to move them up, down, to top, or to bottom.
|
|
8
|
+
|
|
9
|
+
```vue
|
|
10
|
+
<template>
|
|
11
|
+
<div class="flex justify-center">
|
|
12
|
+
<OrderList v-model="movies" breakpoint="575px">
|
|
13
|
+
<template #option="{ option, index }">
|
|
14
|
+
<div class="flex items-center gap-3 w-full min-w-0">
|
|
15
|
+
<span class="opacity-70 text-sm tabular-nums w-4 text-right shrink-0">{{ index + 1 }}</span>
|
|
16
|
+
<span class="text-sm truncate">{{ option.title }}</span>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
</OrderList>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script setup>
|
|
24
|
+
import { ref } from 'vue';
|
|
25
|
+
|
|
26
|
+
const movies = ref([
|
|
27
|
+
{ title: 'The Shawshank Redemption' },
|
|
28
|
+
{ title: 'Inception' },
|
|
29
|
+
{ title: 'Interstellar' },
|
|
30
|
+
{ title: 'The Dark Knight' },
|
|
31
|
+
{ title: 'Pulp Fiction' },
|
|
32
|
+
{ title: 'Baby Driver' },
|
|
33
|
+
{ title: 'Whiplash' },
|
|
34
|
+
{ title: 'Eternal Sunshine of the Spotless Mind' },
|
|
35
|
+
{ title: 'La La Land' },
|
|
36
|
+
{ title: 'Parasite' }
|
|
37
|
+
]);
|
|
38
|
+
<\/script>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Checkbox
|
|
42
|
+
|
|
43
|
+
Combine with Checkbox for a visual multi-select experience alongside drag-and-drop reordering.
|
|
44
|
+
|
|
45
|
+
```vue
|
|
46
|
+
<template>
|
|
47
|
+
<div class="flex justify-center">
|
|
48
|
+
<OrderList v-model="movies" dataKey="title" breakpoint="575px" scrollHeight="20rem">
|
|
49
|
+
<template #option="{ option, selected }">
|
|
50
|
+
<div class="flex items-center gap-2 w-full min-w-0">
|
|
51
|
+
<Checkbox :modelValue="selected" binary readonly :tabindex="-1" />
|
|
52
|
+
<span class="truncate">{{ option.title }}</span>
|
|
53
|
+
</div>
|
|
54
|
+
</template>
|
|
55
|
+
</OrderList>
|
|
56
|
+
</div>
|
|
57
|
+
</template>
|
|
58
|
+
|
|
59
|
+
<script setup>
|
|
60
|
+
import { ref } from 'vue';
|
|
61
|
+
|
|
62
|
+
const movies = ref([
|
|
63
|
+
{ title: 'The Shawshank Redemption' },
|
|
64
|
+
{ title: 'Inception' },
|
|
65
|
+
{ title: 'Interstellar' },
|
|
66
|
+
{ title: 'The Dark Knight' },
|
|
67
|
+
{ title: 'Pulp Fiction' },
|
|
68
|
+
{ title: 'Baby Driver' },
|
|
69
|
+
{ title: 'Whiplash' },
|
|
70
|
+
{ title: 'Eternal Sunshine of the Spotless Mind' },
|
|
71
|
+
{ title: 'La La Land' },
|
|
72
|
+
{ title: 'Parasite' }
|
|
73
|
+
]);
|
|
74
|
+
<\/script>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Filter
|
|
78
|
+
|
|
79
|
+
Enable the filter property and define the searchable properties with filterFields to filter the list against a property such as name .
|
|
80
|
+
|
|
81
|
+
```vue
|
|
82
|
+
<template>
|
|
83
|
+
<div class="sm:flex sm:justify-center">
|
|
84
|
+
<OrderList v-model="products" filter filterPlaceholder="Filter by name" :filterFields="['name']" dataKey="id" breakpoint="575px" scrollHeight="20rem" class="sm:min-w-96">
|
|
85
|
+
<template #option="{ option, selected }">
|
|
86
|
+
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
87
|
+
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + option.image" :alt="option.name" />
|
|
88
|
+
<div class="flex-1 flex flex-col">
|
|
89
|
+
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
90
|
+
<span :class="['text-sm', { 'text-surface-500 dark:text-surface-400': !selected, 'text-inherit': selected }]">{{ option.category }}</span>
|
|
91
|
+
</div>
|
|
92
|
+
<span class="font-bold sm:ml-8">\${{ option.price }}</span>
|
|
93
|
+
</div>
|
|
94
|
+
</template>
|
|
95
|
+
</OrderList>
|
|
96
|
+
</div>
|
|
97
|
+
</template>
|
|
98
|
+
|
|
99
|
+
<script setup>
|
|
100
|
+
import { ref, onMounted } from 'vue';
|
|
101
|
+
import { ProductService } from '@/service/ProductService';
|
|
102
|
+
|
|
103
|
+
const products = ref(null);
|
|
104
|
+
|
|
105
|
+
onMounted(() => {
|
|
106
|
+
ProductService.getProductsSmall().then((data) => (products.value = data));
|
|
107
|
+
});
|
|
108
|
+
<\/script>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Template
|
|
112
|
+
|
|
113
|
+
For custom content support define an option template that gets the item instance as a parameter. In addition header slot is provided for further customization.
|
|
114
|
+
|
|
115
|
+
```vue
|
|
116
|
+
<template>
|
|
117
|
+
<div class="sm:flex sm:justify-center">
|
|
118
|
+
<OrderList v-model="products" dataKey="id" breakpoint="575px" scrollHeight="20rem" :buttonProps="{ size: 'sm', severity: 'secondary', iconOnly: true }" :pt="{ controls: 'justify-start!' }">
|
|
119
|
+
<template #option="{ option , selected }">
|
|
120
|
+
<div class="flex flex-wrap p-1 items-center gap-4 w-full">
|
|
121
|
+
<img class="w-12 shrink-0 rounded" :src="'https://primefaces.org/cdn/primevue/images/product/' + option.image" :alt="option.name" />
|
|
122
|
+
<div class="flex-1 flex flex-col">
|
|
123
|
+
<span class="font-medium text-sm">{{ option.name }}</span>
|
|
124
|
+
<span :class="['text-sm', { 'text-surface-500 dark:text-surface-400': !selected, 'text-inherit': selected }]">{{ option.category }}</span>
|
|
125
|
+
</div>
|
|
126
|
+
<span class="font-bold sm:ml-8">\${{ option.price }}</span>
|
|
127
|
+
</div>
|
|
128
|
+
</template>
|
|
129
|
+
</OrderList>
|
|
130
|
+
</div>
|
|
131
|
+
</template>
|
|
132
|
+
|
|
133
|
+
<script setup>
|
|
134
|
+
import { ref, onMounted } from 'vue';
|
|
135
|
+
import { ProductService } from '@/service/ProductService'
|
|
136
|
+
|
|
137
|
+
const products = ref(null);
|
|
138
|
+
|
|
139
|
+
onMounted(() => {
|
|
140
|
+
ProductService.getProductsSmall().then((data) => (products.value = data));
|
|
141
|
+
});
|
|
142
|
+
<\/script>
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Accessibility
|
|
146
|
+
|
|
147
|
+
Screen Reader Value to describe the listbox can be provided with listProps by passing aria-labelledby or aria-label props. The list element has a listbox role with the aria-multiselectable attribute. Each list item has an option role with aria-selected and aria-disabled as their attributes. Controls buttons are button elements with an aria-label that refers to the aria.moveTop , aria.moveUp , aria.moveDown and aria.moveBottom properties of the locale API by default, alternatively you may use moveTopButtonProps , moveUpButtonProps , moveDownButtonProps and moveBottomButtonProps to customize the buttons like overriding the default aria-label attributes. ListBox Keyboard Support Key Function tab Moves focus to the first selected option, if there is none then first option receives the focus. up arrow Moves focus to the previous option. down arrow Moves focus to the next option. enter Toggles the selected state of the focused option. space Toggles the selected state of the focused option. home Moves focus to the first option. end Moves focus to the last option. shift + down arrow Moves focus to the next option and toggles the selection state. shift + up arrow Moves focus to the previous option and toggles the selection state. shift + space Selects the items between the most recently selected option and the focused option. control + shift + home Selects the focused options and all the options up to the first one. control + shift + end Selects the focused options and all the options down to the first one. control + a Selects all options. Buttons Keyboard Support Key Function enter Executes button action. space Executes button action.
|
|
148
|
+
|
|
149
|
+
```vue
|
|
150
|
+
<template>
|
|
151
|
+
<span id="lb">Options</span>
|
|
152
|
+
<OrderList aria-labelledby="lb" />
|
|
153
|
+
|
|
154
|
+
<OrderList aria-label="City" />
|
|
155
|
+
</template>
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## Order List API
|
|
159
|
+
|
|
160
|
+
### Props
|
|
161
|
+
|
|
162
|
+
| Name |Type |Default |Description |
|
|
163
|
+
| --- | --- | --- | --- |
|
|
164
|
+
| modelValue | any[] | - | Value of the component. |
|
|
165
|
+
| dataKey | string | - | Name of the field that uniquely identifies the a record in the data. |
|
|
166
|
+
| selection | any[] | - | Selected items in the list. |
|
|
167
|
+
| metaKeySelection | boolean | false | Defines whether metaKey is required or not for the selection. When true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. |
|
|
168
|
+
| autoOptionFocus | boolean | true | Whether to focus on the first visible or selected element. |
|
|
169
|
+
| focusOnHover | boolean | true | When enabled, the focus is placed on the hovered option. |
|
|
170
|
+
| listStyle | any | - | Inline style of the the list element. |
|
|
171
|
+
| responsive | boolean | true | Whether the list optimizes layout based on screen size. |
|
|
172
|
+
| breakpoint | string | 960px | The breakpoint to define the maximum width boundary when responsiveness is enabled. |
|
|
173
|
+
| striped | boolean | false | Whether to displays rows with alternating colors. |
|
|
174
|
+
| tabindex | string \| number | - | Index of the element in tabbing order. |
|
|
175
|
+
| scrollHeight | string | 14rem | Height of the viewport, a scrollbar is defined if height of list exceeds this value. |
|
|
176
|
+
| filter | boolean | false | When specified, displays a filter input at header. |
|
|
177
|
+
| filterPlaceholder | string | - | Placeholder text to show when filter input is empty. |
|
|
178
|
+
| filterLocale | string | - | Locale to use in filtering. The default locale is the host environment's current locale. |
|
|
179
|
+
| filterMatchMode | "startsWith" \| "contains" \| "endsWith" | contains | Defines the filtering algorithm to use when searching the options. |
|
|
180
|
+
| filterFields | any[] | - | Fields used when filtering the options, defaults to optionLabel. |
|
|
181
|
+
| filterMessage | string | - | Text to be displayed in hidden accessible field when filtering returns any results. |
|
|
182
|
+
| emptyFilterMessage | string | - | Text to be displayed when filtering does not return any results. |
|
|
183
|
+
| emptyMessage | string | - | Text to be displayed when there are no options available. |
|
|
184
|
+
| buttonProps | object | - | Used to pass all properties of the ButtonProps to the button inside the component. |
|
|
185
|
+
| moveUpButtonProps | object | - | Used to pass all properties of the ButtonProps to the move up button inside the component. |
|
|
186
|
+
| moveTopButtonProps | object | - | Used to pass all properties of the ButtonProps to the move top button inside the component. |
|
|
187
|
+
| moveDownButtonProps | object | - | Used to pass all properties of the ButtonProps to the move down button inside the component. |
|
|
188
|
+
| moveBottomButtonProps | object | - | Used to pass all properties of the ButtonProps to the move bottom button inside the component. |
|
|
189
|
+
| ariaLabel | string | - | Defines a string value that labels an interactive list element. |
|
|
190
|
+
| ariaLabelledby | string | - | Identifier of the underlying list element. |
|
|
191
|
+
| dt | any | - | It generates scoped CSS variables using design tokens for the component. |
|
|
192
|
+
| pt | PassThrough<OrderListPassThroughOptions> | - | Used to pass attributes to DOM elements inside the component. |
|
|
193
|
+
| ptOptions | any | - | Used to configure passthrough(pt) options of the component. |
|
|
194
|
+
| unstyled | boolean | false | When enabled, it removes component related styles in the core. |
|
|
195
|
+
|
|
196
|
+
### Pass Through Options
|
|
197
|
+
|
|
198
|
+
| Name |Type |Description |
|
|
199
|
+
| --- | --- | --- |
|
|
200
|
+
| root | OrderListPassThroughOptionType | Used to pass attributes to the root's DOM element. |
|
|
201
|
+
| controls | OrderListPassThroughOptionType | Used to pass attributes to the controls' DOM element. |
|
|
202
|
+
| pcMoveUpButton | any | Used to pass attributes to the Button component. |
|
|
203
|
+
| pcMoveTopButton | any | Used to pass attributes to the Button component. |
|
|
204
|
+
| pcMoveDownButton | any | Used to pass attributes to the Button component. |
|
|
205
|
+
| pcMoveBottomButton | any | Used to pass attributes to the Button component. |
|
|
206
|
+
| pcListbox | any | Used to pass attributes to the Listbox component. |
|
|
207
|
+
| hooks | any | Used to manage all lifecycle hooks. |
|
|
208
|
+
| transition | OrderListPassThroughTransitionType | Used to control Vue Transition API. |
|
|
209
|
+
|
|
210
|
+
### Theming
|
|
211
|
+
|
|
212
|
+
### CSS Classes
|
|
213
|
+
|
|
214
|
+
| Class |Description |
|
|
215
|
+
| --- | --- |
|
|
216
|
+
| p-orderlist | Class name of the root element |
|
|
217
|
+
| p-orderlist-controls | Class name of the controls element |
|
|
218
|
+
|
|
219
|
+
### Design Tokens
|
|
220
|
+
|
|
221
|
+
| Token |CSS Variable |Description |
|
|
222
|
+
| --- | --- | --- |
|
|
223
|
+
| orderlist.gap | --p-orderlist-gap | Gap of root |
|
|
224
|
+
| orderlist.controls.gap | --p-orderlist-controls-gap | Gap of controls |
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
# OrganizationChart
|
|
2
|
+
|
|
3
|
+
OrganizationChart visualizes hierarchical organization data.
|
|
4
|
+
|
|
5
|
+
## Basic
|
|
6
|
+
|
|
7
|
+
Displays a hierarchy from the value collection.
|
|
8
|
+
|
|
9
|
+
```vue
|
|
10
|
+
<template>
|
|
11
|
+
<div class="flex items-center justify-center overflow-x-auto">
|
|
12
|
+
<OrganizationChart :value="data" />
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup>
|
|
17
|
+
import { ref } from 'vue';
|
|
18
|
+
|
|
19
|
+
const data = ref([
|
|
20
|
+
{
|
|
21
|
+
key: '0',
|
|
22
|
+
label: 'Founder',
|
|
23
|
+
children: [
|
|
24
|
+
{
|
|
25
|
+
key: '0-0',
|
|
26
|
+
label: 'Product Lead',
|
|
27
|
+
children: [
|
|
28
|
+
{ key: '0-0-0', label: 'UX/UI Designer' },
|
|
29
|
+
{ key: '0-0-1', label: 'Product Manager' }
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: '0-1',
|
|
34
|
+
label: 'Engineering Lead',
|
|
35
|
+
children: [
|
|
36
|
+
{ key: '0-1-0', label: 'Frontend Developer' },
|
|
37
|
+
{ key: '0-1-1', label: 'Backend Developer' }
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]);
|
|
43
|
+
<\/script>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Collapsible
|
|
47
|
+
|
|
48
|
+
Use the collapsible prop to make nodes collapsible.
|
|
49
|
+
|
|
50
|
+
```vue
|
|
51
|
+
<template>
|
|
52
|
+
<OrganizationChart :value="data" collapsible />
|
|
53
|
+
</template>
|
|
54
|
+
|
|
55
|
+
<script setup>
|
|
56
|
+
import { ref } from 'vue';
|
|
57
|
+
|
|
58
|
+
const data = ref([
|
|
59
|
+
{
|
|
60
|
+
key: '0',
|
|
61
|
+
label: 'Founder',
|
|
62
|
+
children: [
|
|
63
|
+
{
|
|
64
|
+
key: '0-0',
|
|
65
|
+
label: 'Product Lead',
|
|
66
|
+
children: [
|
|
67
|
+
{ key: '0-0-0', label: 'UX/UI Designer' },
|
|
68
|
+
{ key: '0-0-1', label: 'Product Manager' }
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
key: '0-1',
|
|
73
|
+
label: 'Engineering Lead',
|
|
74
|
+
children: [
|
|
75
|
+
{ key: '0-1-0', label: 'Frontend Developer' },
|
|
76
|
+
{ key: '0-1-1', label: 'Backend Developer' }
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
]);
|
|
82
|
+
<\/script>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Controlled
|
|
86
|
+
|
|
87
|
+
Control the collapsed state with v-model:collapsedKeys . A key present with true is collapsed; absent keys stay expanded.
|
|
88
|
+
|
|
89
|
+
```vue
|
|
90
|
+
<template>
|
|
91
|
+
<Button label="Expand all" @click="expandAll" />
|
|
92
|
+
<Button label="Collapse all" @click="collapseAll" />
|
|
93
|
+
<OrganizationChart v-model:collapsedKeys="collapsedKeys" :value="data" collapsible>
|
|
94
|
+
<template #toggleicon="{ collapsed }">
|
|
95
|
+
<Plus v-if="collapsed" />
|
|
96
|
+
<Minus v-else />
|
|
97
|
+
</template>
|
|
98
|
+
</OrganizationChart>
|
|
99
|
+
</template>
|
|
100
|
+
|
|
101
|
+
<script setup>
|
|
102
|
+
import Minus from '@primeicons/vue/minus';
|
|
103
|
+
import Plus from '@primeicons/vue/plus';
|
|
104
|
+
import { ref } from 'vue';
|
|
105
|
+
|
|
106
|
+
const data = ref([
|
|
107
|
+
{
|
|
108
|
+
key: '0',
|
|
109
|
+
label: 'Founder',
|
|
110
|
+
children: [
|
|
111
|
+
{
|
|
112
|
+
key: '0-0',
|
|
113
|
+
label: 'Product Lead',
|
|
114
|
+
children: [
|
|
115
|
+
{ key: '0-0-0', label: 'UX/UI Designer' },
|
|
116
|
+
{ key: '0-0-1', label: 'Product Manager' }
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
key: '0-1',
|
|
121
|
+
label: 'Engineering Lead',
|
|
122
|
+
children: [
|
|
123
|
+
{ key: '0-1-0', label: 'Frontend Developer' },
|
|
124
|
+
{ key: '0-1-1', label: 'Backend Developer' }
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
]);
|
|
130
|
+
const collapsedKeys = ref({});
|
|
131
|
+
const expandAll = () => (collapsedKeys.value = {});
|
|
132
|
+
const collapseAll = () => (collapsedKeys.value = { '0': true });
|
|
133
|
+
<\/script>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Content
|
|
137
|
+
|
|
138
|
+
The #default slot customizes the node content. OrganizationChart still renders its own structure around it — the content is placed inside .p-organizationchart-node-content , and the built-in collapse button is preserved. The slot scope exposes node , icon , selected , partialSelected , collapsed , toggleSelection and labelClass . The collapse indicator is customized with the #toggleicon slot, which receives the current collapsed state — shown here with the Plus and Minus icons.
|
|
139
|
+
|
|
140
|
+
```vue
|
|
141
|
+
<template>
|
|
142
|
+
<OrganizationChart v-model:collapsedKeys="collapsedKeys" :value="data">
|
|
143
|
+
<template #default="{ node }">
|
|
144
|
+
<div class="flex items-center gap-2">
|
|
145
|
+
<component :is="node.icon" :size="16" />
|
|
146
|
+
<div><div>{{ node.label }}</div><small>{{ node.description }}</small></div>
|
|
147
|
+
</div>
|
|
148
|
+
</template>
|
|
149
|
+
</OrganizationChart>
|
|
150
|
+
</template>
|
|
151
|
+
|
|
152
|
+
<script setup>
|
|
153
|
+
import Cloud from '@primeicons/vue/cloud';
|
|
154
|
+
import { ref } from 'vue';
|
|
155
|
+
|
|
156
|
+
const collapsedKeys = ref({});
|
|
157
|
+
const data = ref([
|
|
158
|
+
{
|
|
159
|
+
key: '0',
|
|
160
|
+
label: 'AWS Cloud',
|
|
161
|
+
description: 'us-east-1',
|
|
162
|
+
icon: markRaw(Cloud),
|
|
163
|
+
accent: 'bg-orange-500/10 text-orange-500',
|
|
164
|
+
children: [
|
|
165
|
+
{
|
|
166
|
+
key: '0_0',
|
|
167
|
+
label: 'Compute',
|
|
168
|
+
description: 'Workloads & runtime',
|
|
169
|
+
icon: markRaw(Server),
|
|
170
|
+
accent: 'bg-sky-500/10 text-sky-500',
|
|
171
|
+
children: [
|
|
172
|
+
{ key: '0_0_0', label: 'EC2', description: 'Virtual servers', icon: markRaw(Server), accent: 'bg-sky-500/10 text-sky-500' },
|
|
173
|
+
{ key: '0_0_1', label: 'Lambda', description: 'Serverless functions', icon: markRaw(Bolt), accent: 'bg-sky-500/10 text-sky-500' }
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
key: '0_1',
|
|
178
|
+
label: 'Storage',
|
|
179
|
+
description: 'Data persistence',
|
|
180
|
+
icon: markRaw(Database),
|
|
181
|
+
accent: 'bg-emerald-500/10 text-emerald-500',
|
|
182
|
+
children: [
|
|
183
|
+
{ key: '0_1_0', label: 'S3', description: 'Object storage', icon: markRaw(Box), accent: 'bg-emerald-500/10 text-emerald-500' },
|
|
184
|
+
{ key: '0_1_1', label: 'RDS', description: 'Managed databases', icon: markRaw(Database), accent: 'bg-emerald-500/10 text-emerald-500' }
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
key: '0_2',
|
|
189
|
+
label: 'Networking',
|
|
190
|
+
description: 'Edge & access',
|
|
191
|
+
icon: markRaw(Globe),
|
|
192
|
+
accent: 'bg-violet-500/10 text-violet-500',
|
|
193
|
+
children: [
|
|
194
|
+
{ key: '0_2_0', label: 'CloudFront', description: 'Global CDN', icon: markRaw(Globe), accent: 'bg-violet-500/10 text-violet-500' },
|
|
195
|
+
{ key: '0_2_1', label: 'IAM', description: 'Access policies', icon: markRaw(Shield), accent: 'bg-violet-500/10 text-violet-500' }
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
]);
|
|
201
|
+
<\/script>
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Single Selection
|
|
205
|
+
|
|
206
|
+
Set selectionMode to single to keep one node selected. Bind the selection with v-model:selectionKeys .
|
|
207
|
+
|
|
208
|
+
```vue
|
|
209
|
+
<template>
|
|
210
|
+
<span>Selected: {{ selectedKeys.join(', ') || '-' }}</span>
|
|
211
|
+
<OrganizationChart v-model:selectionKeys="selectionKeys" :value="data" selectionMode="single" />
|
|
212
|
+
</template>
|
|
213
|
+
|
|
214
|
+
<script setup>
|
|
215
|
+
import { computed, ref } from 'vue';
|
|
216
|
+
|
|
217
|
+
const selectionKeys = ref({});
|
|
218
|
+
const selectedKeys = computed(() => Object.keys(selectionKeys.value).filter((key) => selectionKeys.value[key]));
|
|
219
|
+
const data = ref([
|
|
220
|
+
{
|
|
221
|
+
key: '0',
|
|
222
|
+
label: 'Founder',
|
|
223
|
+
children: [
|
|
224
|
+
{
|
|
225
|
+
key: '0-0',
|
|
226
|
+
label: 'Product Lead',
|
|
227
|
+
children: [
|
|
228
|
+
{ key: '0-0-0', label: 'UX/UI Designer' },
|
|
229
|
+
{ key: '0-0-1', label: 'Product Manager' }
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
key: '0-1',
|
|
234
|
+
label: 'Engineering Lead',
|
|
235
|
+
children: [
|
|
236
|
+
{ key: '0-1-0', label: 'Frontend Developer' },
|
|
237
|
+
{ key: '0-1-1', label: 'Backend Developer' }
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
]);
|
|
243
|
+
<\/script>
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
## Multiple Selection
|
|
247
|
+
|
|
248
|
+
With multiple , each node toggles independently.
|
|
249
|
+
|
|
250
|
+
```vue
|
|
251
|
+
<template>
|
|
252
|
+
<span>Selected: {{ selectedKeys.join(', ') || '-' }}</span>
|
|
253
|
+
<OrganizationChart v-model:selectionKeys="selectionKeys" :value="data" selectionMode="multiple" />
|
|
254
|
+
</template>
|
|
255
|
+
|
|
256
|
+
<script setup>
|
|
257
|
+
import { computed, ref } from 'vue';
|
|
258
|
+
|
|
259
|
+
const selectionKeys = ref({});
|
|
260
|
+
const selectedKeys = computed(() => Object.keys(selectionKeys.value).filter((key) => selectionKeys.value[key]));
|
|
261
|
+
const data = ref([
|
|
262
|
+
{
|
|
263
|
+
key: '0',
|
|
264
|
+
label: 'Founder',
|
|
265
|
+
children: [
|
|
266
|
+
{
|
|
267
|
+
key: '0-0',
|
|
268
|
+
label: 'Product Lead',
|
|
269
|
+
children: [
|
|
270
|
+
{ key: '0-0-0', label: 'UX/UI Designer' },
|
|
271
|
+
{ key: '0-0-1', label: 'Product Manager' }
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
key: '0-1',
|
|
276
|
+
label: 'Engineering Lead',
|
|
277
|
+
children: [
|
|
278
|
+
{ key: '0-1-0', label: 'Frontend Developer' },
|
|
279
|
+
{ key: '0-1-1', label: 'Backend Developer' }
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
]);
|
|
285
|
+
<\/script>
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
## Checkbox Selection
|
|
289
|
+
|
|
290
|
+
Checkbox selection cascades to descendants and reflects partial selection on ancestors.
|
|
291
|
+
|
|
292
|
+
```vue
|
|
293
|
+
<template>
|
|
294
|
+
<OrganizationChart v-model:selectionKeys="selectionKeys" :value="data" selectionMode="checkbox" />
|
|
295
|
+
</template>
|
|
296
|
+
|
|
297
|
+
<script setup>
|
|
298
|
+
import { ref } from 'vue';
|
|
299
|
+
|
|
300
|
+
const selectionKeys = ref({});
|
|
301
|
+
const data = ref([
|
|
302
|
+
{
|
|
303
|
+
key: '0',
|
|
304
|
+
label: 'Founder',
|
|
305
|
+
children: [
|
|
306
|
+
{
|
|
307
|
+
key: '0-0',
|
|
308
|
+
label: 'Product Lead',
|
|
309
|
+
children: [
|
|
310
|
+
{ key: '0-0-0', label: 'UX/UI Designer' },
|
|
311
|
+
{ key: '0-0-1', label: 'Product Manager' }
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
key: '0-1',
|
|
316
|
+
label: 'Engineering Lead',
|
|
317
|
+
children: [
|
|
318
|
+
{ key: '0-1-0', label: 'Frontend Developer' },
|
|
319
|
+
{ key: '0-1-1', label: 'Backend Developer' }
|
|
320
|
+
]
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
]);
|
|
325
|
+
<\/script>
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
## Accessibility
|
|
329
|
+
|
|
330
|
+
Screen Reader Component uses ARIA roles and attributes for screen reader accessibility. The root element has role="tree" with aria-multiselectable for multiple selection support. Each tree item uses role="treeitem" with aria-level for hierarchy, aria-expanded for collapse state, and aria-selected for selection state. Child nodes are grouped with role="group" . Keyboard Support Node Key Function tab Moves focus through the focusable nodes within the chart. enter Toggles the selection state of a node. space Toggles the selection state of a node. Collapse Button Key Function tab Moves focus through the focusable elements within the chart. enter Toggles the expanded state of a node. space Toggles the expanded state of a node.
|
|
331
|
+
|
|
332
|
+
## Organization Chart API
|
|
333
|
+
|
|
334
|
+
### Props
|
|
335
|
+
|
|
336
|
+
| Name |Type |Default |Description |
|
|
337
|
+
| --- | --- | --- | --- |
|
|
338
|
+
| value | OrganizationChartNode \| OrganizationChartNode[] | - | Value of the component. Accepts a single root node or an array of root nodes. |
|
|
339
|
+
| selectionKeys | OrganizationChartSelectionKeys | - | A map of keys to control the selection state. |
|
|
340
|
+
| selectionMode | HintedString<"single" \| "multiple" \| "checkbox"> | - | Type of the selection. When unset, selection is disabled and nodes are not focusable. |
|
|
341
|
+
| collapsible | boolean | false | Whether nodes with children render an expand/collapse toggle. |
|
|
342
|
+
| collapsedKeys | OrganizationChartCollapsedKeys | - | A map of keys to represent the collapsed state in controlled mode. A key with `true` is collapsed; absent keys are expanded. |
|
|
343
|
+
| selectable | boolean | true | Whether the nodes are selectable when a selection mode is set. Individual nodes can still opt out via `node.selectable = false` . |
|
|
344
|
+
| gap | number \| number[] | [40, 56] | Horizontal and vertical spacing between nodes, in pixels. A single number applies to both axes. |
|
|
345
|
+
| dt | any | - | It generates scoped CSS variables using design tokens for the component. |
|
|
346
|
+
| pt | PassThrough<OrganizationChartPassThroughOptions> | - | Used to pass attributes to DOM elements inside the component. |
|
|
347
|
+
| ptOptions | any | - | Used to configure passthrough(pt) options of the component. |
|
|
348
|
+
| unstyled | boolean | false | When enabled, it removes component related styles in the core. |
|
|
349
|
+
|
|
350
|
+
### Pass Through Options
|
|
351
|
+
|
|
352
|
+
| Name |Type |Description |
|
|
353
|
+
| --- | --- | --- |
|
|
354
|
+
| root | OrganizationChartPassThroughOptionType | Used to pass attributes to the root's DOM element. |
|
|
355
|
+
| subtree | OrganizationChartPassThroughOptionType | Used to pass attributes to the subtree `ul` 's DOM element (appears on both the root subtree and every nested subtree). |
|
|
356
|
+
| tree | OrganizationChartPassThroughOptionType | Used to pass attributes to the tree `li` 's DOM element. |
|
|
357
|
+
| node | OrganizationChartPassThroughOptionType | Used to pass attributes to the node's DOM element. |
|
|
358
|
+
| content | OrganizationChartPassThroughOptionType | Used to pass attributes to the node content's DOM element. |
|
|
359
|
+
| pcCheckbox | OrganizationChartPassThroughOptionType | Used to pass attributes to the Checkbox component in checkbox selection mode. |
|
|
360
|
+
| label | OrganizationChartPassThroughOptionType | Used to pass attributes to the fallback node label's DOM element. |
|
|
361
|
+
| toggle | OrganizationChartPassThroughOptionType | Used to pass attributes to the node toggle button's DOM element. |
|
|
362
|
+
| toggleIndicator | OrganizationChartPassThroughOptionType | Used to pass attributes to the fallback node toggle indicator's DOM element. |
|
|
363
|
+
| hooks | any | Used to manage all lifecycle hooks. |
|
|
364
|
+
|
|
365
|
+
### Theming
|
|
366
|
+
|
|
367
|
+
### CSS Classes
|
|
368
|
+
|
|
369
|
+
| Class |Description |
|
|
370
|
+
| --- | --- |
|
|
371
|
+
| p-organizationchart | Class name of the root element |
|
|
372
|
+
| p-organizationchart-subtree | Class name of the subtree ( `ul` ) element. The top-level subtree also carries `p-organizationchart-subtree-root` . |
|
|
373
|
+
| p-organizationchart-tree | Class name of the tree item ( `li` ) element |
|
|
374
|
+
| p-organizationchart-node | Class name of the node element |
|
|
375
|
+
| p-organizationchart-node-content | Class name of the node content element |
|
|
376
|
+
| p-organizationchart-node-label | Class name of the node label element |
|
|
377
|
+
| p-organizationchart-node-toggle-button | Class name of the node toggle button element |
|
|
378
|
+
| p-organizationchart-node-toggle-button-icon | Class name of the node toggle indicator element |
|
|
379
|
+
|
|
380
|
+
### Design Tokens
|
|
381
|
+
|
|
382
|
+
| Token |CSS Variable |Description |
|
|
383
|
+
| --- | --- | --- |
|
|
384
|
+
| organizationchart.gutter | --p-organizationchart-gutter | Gutter of root |
|
|
385
|
+
| organizationchart.transition.duration | --p-organizationchart-transition-duration | Transition duration of root |
|
|
386
|
+
| organizationchart.node.background | --p-organizationchart-node-background | Background of node |
|
|
387
|
+
| organizationchart.node.hover.background | --p-organizationchart-node-hover-background | Hover background of node |
|
|
388
|
+
| organizationchart.node.selected.background | --p-organizationchart-node-selected-background | Selected background of node |
|
|
389
|
+
| organizationchart.node.border.color | --p-organizationchart-node-border-color | Border color of node |
|
|
390
|
+
| organizationchart.node.color | --p-organizationchart-node-color | Color of node |
|
|
391
|
+
| organizationchart.node.selected.color | --p-organizationchart-node-selected-color | Selected color of node |
|
|
392
|
+
| organizationchart.node.hover.color | --p-organizationchart-node-hover-color | Hover color of node |
|
|
393
|
+
| organizationchart.node.padding | --p-organizationchart-node-padding | Padding of node |
|
|
394
|
+
| organizationchart.node.toggleable.padding | --p-organizationchart-node-toggleable-padding | Toggleable padding of node |
|
|
395
|
+
| organizationchart.node.border.radius | --p-organizationchart-node-border-radius | Border radius of node |
|
|
396
|
+
| organizationchart.node.font.size | --p-organizationchart-node-font-size | Font size of node |
|
|
397
|
+
| organizationchart.node.font.weight | --p-organizationchart-node-font-weight | Font weight of node |
|
|
398
|
+
| organizationchart.node.focus.ring.width | --p-organizationchart-node-focus-ring-width | Focus ring width of node |
|
|
399
|
+
| organizationchart.node.focus.ring.style | --p-organizationchart-node-focus-ring-style | Focus ring style of node |
|
|
400
|
+
| organizationchart.node.focus.ring.color | --p-organizationchart-node-focus-ring-color | Focus ring color of node |
|
|
401
|
+
| organizationchart.node.focus.ring.offset | --p-organizationchart-node-focus-ring-offset | Focus ring offset of node |
|
|
402
|
+
| organizationchart.node.focus.ring.shadow | --p-organizationchart-node-focus-ring-shadow | Focus ring shadow of node |
|
|
403
|
+
| organizationchart.node.toggle.button.background | --p-organizationchart-node-toggle-button-background | Background of node toggle button |
|
|
404
|
+
| organizationchart.node.toggle.button.hover.background | --p-organizationchart-node-toggle-button-hover-background | Hover background of node toggle button |
|
|
405
|
+
| organizationchart.node.toggle.button.border.color | --p-organizationchart-node-toggle-button-border-color | Border color of node toggle button |
|
|
406
|
+
| organizationchart.node.toggle.button.color | --p-organizationchart-node-toggle-button-color | Color of node toggle button |
|
|
407
|
+
| organizationchart.node.toggle.button.hover.color | --p-organizationchart-node-toggle-button-hover-color | Hover color of node toggle button |
|
|
408
|
+
| organizationchart.node.toggle.button.size | --p-organizationchart-node-toggle-button-size | Size of node toggle button |
|
|
409
|
+
| organizationchart.node.toggle.button.border.radius | --p-organizationchart-node-toggle-button-border-radius | Border radius of node toggle button |
|
|
410
|
+
| organizationchart.node.toggle.button.focus.ring.width | --p-organizationchart-node-toggle-button-focus-ring-width | Focus ring width of node toggle button |
|
|
411
|
+
| organizationchart.node.toggle.button.focus.ring.style | --p-organizationchart-node-toggle-button-focus-ring-style | Focus ring style of node toggle button |
|
|
412
|
+
| organizationchart.node.toggle.button.focus.ring.color | --p-organizationchart-node-toggle-button-focus-ring-color | Focus ring color of node toggle button |
|
|
413
|
+
| organizationchart.node.toggle.button.focus.ring.offset | --p-organizationchart-node-toggle-button-focus-ring-offset | Focus ring offset of node toggle button |
|
|
414
|
+
| organizationchart.node.toggle.button.focus.ring.shadow | --p-organizationchart-node-toggle-button-focus-ring-shadow | Focus ring shadow of node toggle button |
|
|
415
|
+
| organizationchart.node.toggle.button.icon.size | --p-organizationchart-node-toggle-button-icon-size | Icon size of node toggle button |
|
|
416
|
+
| organizationchart.connector.color | --p-organizationchart-connector-color | Color of connector |
|
|
417
|
+
| organizationchart.connector.border.radius | --p-organizationchart-connector-border-radius | Border radius of connector |
|
|
418
|
+
| organizationchart.connector.height | --p-organizationchart-connector-height | Height of connector |
|