diff --git a/components/lib/treeselect/BaseTreeSelect.vue b/components/lib/treeselect/BaseTreeSelect.vue
new file mode 100644
index 000000000..fe42ddd1c
--- /dev/null
+++ b/components/lib/treeselect/BaseTreeSelect.vue
@@ -0,0 +1,187 @@
+
diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts
index b55d0ce25..7736e7a60 100644
--- a/components/lib/treeselect/TreeSelect.d.ts
+++ b/components/lib/treeselect/TreeSelect.d.ts
@@ -196,6 +196,11 @@ export interface TreeSelectProps {
* @type {TreeSelectPassThroughOptions}
*/
pt?: TreeSelectPassThroughOptions;
+ /**
+ * When enabled, it removes component related styles in the core.
+ * @defaultValue false
+ */
+ unstyled?: boolean;
}
/**
@@ -256,7 +261,12 @@ export interface TreeSelectSlots {
/**
* Custom indicator template.
*/
- triggericon(): VNode[];
+ triggericon(scope: {
+ /**
+ * Style class of the icon.
+ */
+ class: string;
+ }): VNode[];
/**
* Custom item toggler icon template.
* @param {Object} scope - item toggler icon slot's params.
diff --git a/components/lib/treeselect/TreeSelect.vue b/components/lib/treeselect/TreeSelect.vue
index 4e1659505..02c101f4b 100644
--- a/components/lib/treeselect/TreeSelect.vue
+++ b/components/lib/treeselect/TreeSelect.vue
@@ -1,6 +1,6 @@
-
-
+
+
-
-
+
+
{{ label || 'empty' }}
-
-
{{ node.label }}
+
+ {{ node.label }}
{{ placeholder || 'empty' }}
-
-
-
+
+
+
-
+
-
+
@@ -71,7 +72,7 @@
-
@@ -83,90 +84,18 @@
-
-