diff --git a/apps/showcase/doc/autocomplete/TemplateDoc.vue b/apps/showcase/doc/autocomplete/TemplateDoc.vue
index 37017e554..d8dd18698 100644
--- a/apps/showcase/doc/autocomplete/TemplateDoc.vue
+++ b/apps/showcase/doc/autocomplete/TemplateDoc.vue
@@ -1,9 +1,6 @@
-
- Item template allows displaying custom content inside the suggestions panel. The slotProps variable passed to the template provides an item property to represent an item in the suggestions collection. In addition optiongroup ,
- chip , header and footer slots are provided for further customization
-
+ AutoComplete offers multiple slots for customization through templating.
@@ -13,6 +10,14 @@
{{ slotProps.option.name }}
+
+ Available Items
+
+
+
+
+
+
@@ -35,6 +40,14 @@ export default {
{{ slotProps.option.name }}
+
+ Available Items
+
+
+
+
+
+
`,
options: `
@@ -47,6 +60,14 @@ export default {
{{ slotProps.option.name }}
+
+ Available Items
+
+
+
+
+
+
@@ -91,6 +112,14 @@ export default {
{{ slotProps.option.name }}
+
+ Available Items
+
+
+
+
+
+
diff --git a/apps/showcase/doc/cascadeselect/TemplateDoc.vue b/apps/showcase/doc/cascadeselect/TemplateDoc.vue
index 83f3173d3..4e90b8077 100644
--- a/apps/showcase/doc/cascadeselect/TemplateDoc.vue
+++ b/apps/showcase/doc/cascadeselect/TemplateDoc.vue
@@ -1,9 +1,6 @@
-
- Label of an option is used as the display text of an item by default, for custom content support define an option template that gets the option instance as a parameter. In addition value , dropdownicon ,
- loadingicon , and optiongroupicon slots are provided for further customization.
-
+ CascadeSelect offers multiple slots for customization through templating.
@@ -16,7 +13,15 @@
-
+
+
+
+ Available Countries
+
+
+
+
+
@@ -115,7 +120,15 @@ export default {
-
+
+
+
+ Available Countries
+
+
+
+
+
`,
@@ -133,7 +146,15 @@ export default {
-
+
+
+
+ Available Countries
+
+
+
+
+
@@ -237,7 +258,15 @@ export default {
-
+
+
+
+ Available Countries
+
+
+
+
+
diff --git a/apps/showcase/doc/multiselect/TemplateDoc.vue b/apps/showcase/doc/multiselect/TemplateDoc.vue
index 908e67214..1665410e5 100644
--- a/apps/showcase/doc/multiselect/TemplateDoc.vue
+++ b/apps/showcase/doc/multiselect/TemplateDoc.vue
@@ -1,9 +1,6 @@
-
- Label of an option is used as the display text of an item by default, for custom content support define an option template that gets the option instance as a parameter. In addition value , optiongroup , chip ,
- header , footer , emptyfilter and empty slots are provided for further customization.
-
+ MultiSelect offers multiple slots for customization through templating.
@@ -13,9 +10,19 @@
{{ slotProps.option.name }}
+
+
+
+
+
+
+
+ Available Countries
+
-
-
{{ selectedCountries ? selectedCountries.length : 0 }} item{{ (selectedCountries ? selectedCountries.length : 0) > 1 ? 's' : '' }} selected.
+
+
+
@@ -49,9 +56,19 @@ export default {
{{ slotProps.option.name }}
+
+
+
+
+
+
+
+ Available Countries
+
-
-
{{ selectedCountries ? selectedCountries.length : 0 }} item{{ (selectedCountries ? selectedCountries.length : 0) > 1 ? 's' : '' }} selected.
+
+
+
@@ -66,9 +83,19 @@ export default {
{{ slotProps.option.name }}
+
+
+
+
+
+
+
+ Available Countries
+
-
-
{{ selectedCountries ? selectedCountries.length : 0 }} item{{ (selectedCountries ? selectedCountries.length : 0) > 1 ? 's' : '' }} selected.
+
+
+
@@ -107,9 +134,19 @@ export default {
{{ slotProps.option.name }}
+
+
+
+
+
+
+
+ Available Countries
+
-
-
{{ selectedCountries ? selectedCountries.length : 0 }} item{{ (selectedCountries ? selectedCountries.length : 0) > 1 ? 's' : '' }} selected.
+
+
+
diff --git a/apps/showcase/doc/select/TemplateDoc.vue b/apps/showcase/doc/select/TemplateDoc.vue
index 2c05429ae..c58fc6d9f 100644
--- a/apps/showcase/doc/select/TemplateDoc.vue
+++ b/apps/showcase/doc/select/TemplateDoc.vue
@@ -1,6 +1,6 @@
- Options and the selected option display support templating with option and value respectively.
+ Select offers multiple slots for customization through templating.
@@ -19,6 +19,17 @@
{{ slotProps.option.name }}
+
+
+
+
+ Available Countries
+
+
+
+
+
+
@@ -59,6 +70,17 @@ export default {
{{ slotProps.option.name }}
+
+
+
+
+ Available Countries
+
+
+
+
+
+
`,
options: `
@@ -80,6 +102,17 @@ export default {
{{ slotProps.option.name }}
+
+
+
+
+ Available Countries
+
+
+
+
+
+
@@ -125,6 +158,17 @@ export default {
{{ slotProps.option.name }}
+
+
+
+
+ Available Countries
+
+
+
+
+
+
diff --git a/apps/showcase/doc/treeselect/TemplateDoc.vue b/apps/showcase/doc/treeselect/TemplateDoc.vue
new file mode 100644
index 000000000..786851b70
--- /dev/null
+++ b/apps/showcase/doc/treeselect/TemplateDoc.vue
@@ -0,0 +1,151 @@
+
+
+ TreeSelect offers multiple slots for customization through templating.
+
+
+
+
+
+
+
+ Available Files
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/showcase/pages/treeselect/index.vue b/apps/showcase/pages/treeselect/index.vue
index bde6487ab..82c0e1102 100644
--- a/apps/showcase/pages/treeselect/index.vue
+++ b/apps/showcase/pages/treeselect/index.vue
@@ -14,16 +14,17 @@
import AccessibilityDoc from '@/doc/treeselect/AccessibilityDoc.vue';
import BasicDoc from '@/doc/treeselect/BasicDoc.vue';
import CheckboxDoc from '@/doc/treeselect/CheckboxDoc.vue';
-import FilterDoc from '@/doc/treeselect/FilterDoc.vue';
import DisabledDoc from '@/doc/treeselect/DisabledDoc.vue';
import FilledDoc from '@/doc/treeselect/FilledDoc.vue';
+import FilterDoc from '@/doc/treeselect/FilterDoc.vue';
import FloatLabelDoc from '@/doc/treeselect/FloatLabelDoc.vue';
-import LazyDoc from '@/doc/treeselect/LazyDoc.vue';
import IftaLabelDoc from '@/doc/treeselect/IftaLabelDoc.vue';
import ImportDoc from '@/doc/treeselect/ImportDoc.vue';
import InvalidDoc from '@/doc/treeselect/InvalidDoc.vue';
+import LazyDoc from '@/doc/treeselect/LazyDoc.vue';
import MultipleDoc from '@/doc/treeselect/MultipleDoc.vue';
import PTComponent from '@/doc/treeselect/pt/index.vue';
+import TemplateDoc from '@/doc/treeselect/TemplateDoc.vue';
import ThemingDoc from '@/doc/treeselect/theming/index.vue';
export default {
@@ -60,6 +61,11 @@ export default {
label: 'Filter',
component: FilterDoc
},
+ {
+ id: 'template',
+ label: 'Template',
+ component: TemplateDoc
+ },
{
id: 'filled',
label: 'Filled',