Refactor #3797 - Use camelcase for pt

pull/3892/head
Tuğçe Küçükoğlu 2023-04-19 11:00:52 +03:00
parent ebd8e6283b
commit afda38b1eb
9 changed files with 30 additions and 30 deletions

View File

@ -37,19 +37,19 @@ export interface AccordionTabPassThroughOptions {
/**
* Uses to pass attributes to the headeraction's DOM element.
*/
headeraction?: AccordionTabPassThroughOptionType;
headerAction?: AccordionTabPassThroughOptionType;
/**
* Uses to pass attributes to the headericon's DOM element.
*/
headericon?: AccordionTabPassThroughOptionType;
headerIcon?: AccordionTabPassThroughOptionType;
/**
* Uses to pass attributes to the headertitle's DOM element.
*/
headertitle?: AccordionTabPassThroughOptionType;
headerTitle?: AccordionTabPassThroughOptionType;
/**
* Uses to pass attributes to the toggleablecontent's DOM element.
*/
toggleablecontent?: AccordionTabPassThroughOptionType;
toggleableContent?: AccordionTabPassThroughOptionType;
/**
* Uses to pass attributes to the content's DOM element.
*/

View File

@ -55,15 +55,15 @@ export interface FieldsetPassThroughOptions {
/**
* Uses to pass attributes to the toggler icon's DOM element.
*/
togglericon?: FieldsetPassThroughOptionType;
togglerIcon?: FieldsetPassThroughOptionType;
/**
* Uses to pass attributes to the legend title's DOM element.
*/
legendtitle?: FieldsetPassThroughOptionType;
legendTitle?: FieldsetPassThroughOptionType;
/**
* Uses to pass attributes to the toggleable content's DOM element.
*/
toggleablecontent?: FieldsetPassThroughOptionType;
toggleableContent?: FieldsetPassThroughOptionType;
/**
* Uses to pass attributes to the content's DOM element.
*/

View File

@ -63,11 +63,11 @@ export interface PanelPassThroughOptions {
/**
* Uses to pass attributes to the togglericon's DOM element.
*/
togglericon?: PanelPassThroughOptionType;
togglerIcon?: PanelPassThroughOptionType;
/**
* Uses to pass attributes to the toggleablecontent's DOM element.
*/
toggleablecontent?: PanelPassThroughOptionType;
toggleableContent?: PanelPassThroughOptionType;
/**
* Uses to pass attributes to the content's DOM element.
*/

View File

@ -40,11 +40,11 @@ export interface ScrollPanelPassThroughOptions {
/**
* Uses to pass attributes to the horizontal panel's DOM element.
*/
barx?: ScrollPanelPassThroughOptionType;
barX?: ScrollPanelPassThroughOptionType;
/**
* Uses to pass attributes to the vertical panel's DOM element.
*/
bary?: ScrollPanelPassThroughOptionType;
barY?: ScrollPanelPassThroughOptionType;
}
/**

View File

@ -66,7 +66,7 @@ export interface SplitterPassThroughOptions {
/**
* Uses to pass attributes to the gutter handler's DOM element.
*/
gutterhandler?: SplitterPassThroughOptionType;
gutterHandler?: SplitterPassThroughOptionType;
}
/**

View File

@ -37,11 +37,11 @@ export interface TabPanelPassThroughOptions {
/**
* Uses to pass attributes to the header action's DOM element.
*/
headeraction?: TabPanelPassThroughOptionType;
headerAction?: TabPanelPassThroughOptionType;
/**
* Uses to pass attributes to the title's DOM element.
*/
headertitle?: TabPanelPassThroughOptionType;
headerTitle?: TabPanelPassThroughOptionType;
/**
* Uses to pass attributes to the list's DOM element.
*/

View File

@ -46,11 +46,11 @@ export interface TabViewPassThroughOptions {
/**
* Uses to pass attributes to the nav container's DOM element.
*/
navcontainer?: TabViewPassThroughOptionType;
navContainer?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to the nav content's DOM element.
*/
navcontent?: TabViewPassThroughOptionType;
navContent?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to the list's DOM element.
*/
@ -62,23 +62,23 @@ export interface TabViewPassThroughOptions {
/**
* Uses to pass attributes to the previous button's DOM element.
*/
prevbutton?: TabViewPassThroughOptionType;
previousButton?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to the previous button icon's DOM element.
*/
previcon?: TabViewPassThroughOptionType;
previousIcon?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to the nex button's DOM element.
*/
nextbutton?: TabViewPassThroughOptionType;
nextButton?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to the next button icon's DOM element.
*/
nexticon?: TabViewPassThroughOptionType;
nextIcon?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to the panel's DOM element.
*/
panelcontainer?: TabViewPassThroughOptionType;
panelContainer?: TabViewPassThroughOptionType;
}
/**

View File

@ -29,17 +29,17 @@ export interface ToolbarPassThroughOptions {
*/
root?: ToolbarPassThroughOptionType;
/**
* Uses to pass attributes to the groupstart's DOM element.
* Uses to pass attributes to the start's DOM element.
*/
groupStart?: ToolbarPassThroughOptionType;
start?: ToolbarPassThroughOptionType;
/**
* Uses to pass attributes to the groupcenter's DOM element.
* Uses to pass attributes to the center's DOM element.
*/
groupCenter?: ToolbarPassThroughOptionType;
center?: ToolbarPassThroughOptionType;
/**
* Uses to pass attributes to the groupright's DOM element.
* Uses to pass attributes to the right's DOM element.
*/
groupEnd?: ToolbarPassThroughOptionType;
end?: ToolbarPassThroughOptionType;
}
/**

View File

@ -1,12 +1,12 @@
<template>
<div class="p-toolbar p-component" role="toolbar" :aria-labelledby="ariaLabelledby" v-bind="ptm('root')">
<div class="p-toolbar-group-start p-toolbar-group-left" v-bind="ptm('groupstart')">
<div class="p-toolbar-group-start p-toolbar-group-left" v-bind="ptm('start')">
<slot name="start"></slot>
</div>
<div class="p-toolbar-group-center" v-bind="ptm('groupcenter')">
<div class="p-toolbar-group-center" v-bind="ptm('center')">
<slot name="center"></slot>
</div>
<div class="p-toolbar-group-end p-toolbar-group-right" v-bind="ptm('groupend')">
<div class="p-toolbar-group-end p-toolbar-group-right" v-bind="ptm('end')">
<slot name="end"></slot>
</div>
</div>