diff --git a/components/lib/organizationchart/OrganizationChart.d.ts b/components/lib/organizationchart/OrganizationChart.d.ts index 8668268556..4d88dd5e6c 100755 --- a/components/lib/organizationchart/OrganizationChart.d.ts +++ b/components/lib/organizationchart/OrganizationChart.d.ts @@ -132,29 +132,37 @@ export interface OrganizationChartPassThroughOptions { */ node?: OrganizationChartPassThroughOptionType; /** - * Used to pass attributes to the nodeToggler's DOM element. + * Used to pass attributes to the node toggle button's DOM element. */ - nodeToggler?: OrganizationChartPassThroughOptionType; + nodeToggleButton?: OrganizationChartPassThroughOptionType; /** - * Used to pass attributes to the nodeTogglerIcon's DOM element. + * Used to pass attributes to the node toggle button icon's DOM element. */ - nodeTogglerIcon?: OrganizationChartPassThroughOptionType; + nodeToggleButtonIcon?: OrganizationChartPassThroughOptionType; /** - * Used to pass attributes to the lines's DOM element. + * Used to pass attributes to the connectors's DOM element. */ - lines?: OrganizationChartPassThroughOptionType; + connectors?: OrganizationChartPassThroughOptionType; /** * Used to pass attributes to the lineCell's DOM element. */ lineCell?: OrganizationChartPassThroughOptionType; /** - * Used to pass attributes to the lineDown's DOM element. + * Used to pass attributes to the connector down's DOM element. */ - lineDown?: OrganizationChartPassThroughOptionType; + connectorDown?: OrganizationChartPassThroughOptionType; /** - * Used to pass attributes to the nodes's DOM element. + * Used to pass attributes to the connector left's DOM element. */ - nodes?: OrganizationChartPassThroughOptionType; + connectorLeft?: OrganizationChartPassThroughOptionType; + /** + * Used to pass attributes to the connector right's DOM element. + */ + connectorRight?: OrganizationChartPassThroughOptionType; + /** + * Used to pass attributes to the node children's DOM element. + */ + nodeChildren?: OrganizationChartPassThroughOptionType; /** * Used to pass attributes to the nodeCell's DOM element. */ diff --git a/components/lib/organizationchart/OrganizationChartNode.vue b/components/lib/organizationchart/OrganizationChartNode.vue index abc6c38164..b8fc71ee0e 100755 --- a/components/lib/organizationchart/OrganizationChartNode.vue +++ b/components/lib/organizationchart/OrganizationChartNode.vue @@ -5,32 +5,32 @@
- - - + + +
- + -
+
- + - + ['p-organizationchart-node', { 'p-organizationchart-node-selectable': instance.selectable, 'p-highlight': instance.selected }], - nodeToggler: 'p-organizationchart-node-toggle-button', - nodeTogglerIcon: 'p-organizationchart-node-toggle-button-icon', - lines: 'p-organizationchart-connectors', - lineDown: 'p-organizationchart-connector-down', - lineLeft: ({ index }) => ['p-organizationchart-connector-left', { 'p-organizationchart-connector-top': !(index === 0) }], - lineRight: ({ props, index }) => ['p-organizationchart-connector-right', { 'p-organizationchart-connector-top': !(index === props.node.children.length - 1) }], - nodes: 'p-organizationchart-node-children' + nodeToggleButton: 'p-organizationchart-node-toggle-button', + nodeToggleButtonIcon: 'p-organizationchart-node-toggle-button-icon', + connectors: 'p-organizationchart-connectors', + connectorDown: 'p-organizationchart-connector-down', + connectorLeft: ({ index }) => ['p-organizationchart-connector-left', { 'p-organizationchart-connector-top': !(index === 0) }], + connectorRight: ({ props, index }) => ['p-organizationchart-connector-right', { 'p-organizationchart-connector-top': !(index === props.node.children.length - 1) }], + nodeChildren: 'p-organizationchart-node-children' }; export default BaseStyle.extend({ diff --git a/components/lib/paginator/FirstPageLink.vue b/components/lib/paginator/FirstPageLink.vue index ae204d77a4..ff463da4d1 100755 --- a/components/lib/paginator/FirstPageLink.vue +++ b/components/lib/paginator/FirstPageLink.vue @@ -1,6 +1,6 @@ diff --git a/components/lib/paginator/LastPageLink.vue b/components/lib/paginator/LastPageLink.vue index 4e1a8c8cbf..b5af10c404 100755 --- a/components/lib/paginator/LastPageLink.vue +++ b/components/lib/paginator/LastPageLink.vue @@ -1,6 +1,6 @@ diff --git a/components/lib/paginator/NextPageLink.vue b/components/lib/paginator/NextPageLink.vue index e6e82ad23f..b4d6c30b70 100755 --- a/components/lib/paginator/NextPageLink.vue +++ b/components/lib/paginator/NextPageLink.vue @@ -1,6 +1,6 @@ diff --git a/components/lib/paginator/PageLinks.vue b/components/lib/paginator/PageLinks.vue index ade23189a0..150866d370 100755 --- a/components/lib/paginator/PageLinks.vue +++ b/components/lib/paginator/PageLinks.vue @@ -4,12 +4,12 @@ v-for="pageLink of value" :key="pageLink" v-ripple - :class="cx('pageButton', { pageLink })" + :class="cx('page', { pageLink })" type="button" :aria-label="ariaPageLabel(pageLink)" :aria-current="pageLink - 1 === page ? 'page' : undefined" @click="onPageLinkClick($event, pageLink)" - v-bind="getPTOptions(pageLink - 1, 'pageButton')" + v-bind="getPTOptions(pageLink - 1, 'page')" :data-p-highlight="pageLink - 1 === page" > {{ pageLink }} diff --git a/components/lib/paginator/Paginator.d.ts b/components/lib/paginator/Paginator.d.ts index db1090ac56..644276fa91 100755 --- a/components/lib/paginator/Paginator.d.ts +++ b/components/lib/paginator/Paginator.d.ts @@ -74,41 +74,41 @@ export interface PaginatorPassThroughOptions { */ root?: PaginatorPassThroughOptionType; /** - * Used to pass attributes to the start's DOM element. + * Used to pass attributes to the content start's DOM element. */ - start?: PaginatorPassThroughOptionType; + contentStart?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the first page button's DOM element. */ - firstPageButton?: PaginatorPassThroughOptionType; + first?: PaginatorPassThroughOptionType; /** - * Used to pass attributes to the first page icon's DOM element. + * Used to pass attributes to the first icon's DOM element. */ - firstPageIcon?: PaginatorPassThroughOptionType; + firstIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the prev page button's DOM element. */ - previousPageButton?: PaginatorPassThroughOptionType; + prev?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the prev page icon's DOM element. */ - previousPageIcon?: PaginatorPassThroughOptionType; + prevIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the next page button's DOM element. */ - nextPageButton?: PaginatorPassThroughOptionType; + next?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the next page icon's DOM element. */ - nextPageIcon?: PaginatorPassThroughOptionType; + nextIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the last page button's DOM element. */ - lastPageButton?: PaginatorPassThroughOptionType; + last?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the last page icon's DOM element. */ - lastPageIcon?: PaginatorPassThroughOptionType; + lastIcon?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the pages's DOM element. */ @@ -116,7 +116,7 @@ export interface PaginatorPassThroughOptions { /** * Used to pass attributes to the page button's DOM element. */ - pageButton?: PaginatorPassThroughOptionType; + page?: PaginatorPassThroughOptionType; /** * Used to pass attributes to the current's DOM element. */ @@ -137,9 +137,9 @@ export interface PaginatorPassThroughOptions { */ jumpToPageInput?: InputNumberPassThroughOptions; /** - * Used to pass attributes to the end's DOM element. + * Used to pass attributes to the content end's DOM element. */ - end?: PaginatorPassThroughOptionType; + contentEnd?: PaginatorPassThroughOptionType; /** * Used to manage all lifecycle hooks. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/paginator/Paginator.vue b/components/lib/paginator/Paginator.vue index 93eb8e214f..8bc47861b1 100755 --- a/components/lib/paginator/Paginator.vue +++ b/components/lib/paginator/Paginator.vue @@ -1,7 +1,7 @@