diff --git a/components/lib/organizationchart/BaseOrganizationChart.vue b/components/lib/organizationchart/BaseOrganizationChart.vue new file mode 100644 index 000000000..61c707d8e --- /dev/null +++ b/components/lib/organizationchart/BaseOrganizationChart.vue @@ -0,0 +1,111 @@ + diff --git a/components/lib/organizationchart/OrganizationChart.d.ts b/components/lib/organizationchart/OrganizationChart.d.ts index 5196bb04a..b07d26e92 100755 --- a/components/lib/organizationchart/OrganizationChart.d.ts +++ b/components/lib/organizationchart/OrganizationChart.d.ts @@ -218,6 +218,11 @@ export interface OrganizationChartProps { * @type {OrganizationChartPassThroughOptions} */ pt?: OrganizationChartPassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; } /** diff --git a/components/lib/organizationchart/OrganizationChart.vue b/components/lib/organizationchart/OrganizationChart.vue index 2393b0673..777d51a71 100755 --- a/components/lib/organizationchart/OrganizationChart.vue +++ b/components/lib/organizationchart/OrganizationChart.vue @@ -1,5 +1,5 @@ - - diff --git a/components/lib/organizationchart/OrganizationChartNode.vue b/components/lib/organizationchart/OrganizationChartNode.vue index 959d94681..04bb4bbaf 100755 --- a/components/lib/organizationchart/OrganizationChartNode.vue +++ b/components/lib/organizationchart/OrganizationChartNode.vue @@ -1,36 +1,58 @@