Refactor #5681
parent
fd76fe68a1
commit
d7a42ed9c3
|
@ -132,6 +132,10 @@ export interface CascadeSelectPassThroughOptions {
|
|||
* Used to pass attributes to the group icon's DOM element.
|
||||
*/
|
||||
groupIcon?: CascadeSelectPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden input container's DOM element.
|
||||
*/
|
||||
hiddenInputContainer?: CascadeSelectPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden selected message's DOM element.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div ref="container" :class="cx('root')" :style="sx('root')" @click="onContainerClick($event)" v-bind="ptmi('root')">
|
||||
<div class="p-hidden-accessible" v-bind="ptm('hiddenInputWrapper')" :data-p-hidden-accessible="true">
|
||||
<div class="p-hidden-accessible" v-bind="ptm('hiddenInputContainer')" :data-p-hidden-accessible="true">
|
||||
<input
|
||||
ref="focusInput"
|
||||
:id="inputId"
|
||||
|
|
|
@ -209,9 +209,9 @@ export interface MultiSelectPassThroughOptions {
|
|||
*/
|
||||
emptyMessage?: MultiSelectPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden input's DOM element.
|
||||
* Used to pass attributes to the hidden input container's DOM element.
|
||||
*/
|
||||
hiddenInput?: MultiSelectPassThroughOptionType;
|
||||
hiddenInputContainer?: MultiSelectPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden first focusable element's DOM element.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div ref="container" :class="cx('root')" :style="sx('root')" @click="onContainerClick" v-bind="ptmi('root')">
|
||||
<div class="p-hidden-accessible" v-bind="ptm('hiddenInputWrapper')" :data-p-hidden-accessible="true">
|
||||
<div class="p-hidden-accessible" v-bind="ptm('hiddenInputContainer')" :data-p-hidden-accessible="true">
|
||||
<input
|
||||
ref="focusInput"
|
||||
:id="inputId"
|
||||
|
|
|
@ -66,9 +66,9 @@ export interface PaginatorSharedPassThroughMethodOptions {
|
|||
*/
|
||||
export interface PaginatorPassThroughOptions<T = any> {
|
||||
/**
|
||||
* Used to pass attributes to the paginator wrapper's DOM element.
|
||||
* Used to pass attributes to the paginator container's DOM element.
|
||||
*/
|
||||
paginatorWrapper?: PaginatorPassThroughOptionType<T> | any;
|
||||
paginatorContainer?: PaginatorPassThroughOptionType<T> | any;
|
||||
/**
|
||||
* Used to pass attributes to the root's DOM element.
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<nav v-if="alwaysShow ? true : pageLinks && pageLinks.length > 1" v-bind="ptmi('paginatorWrapper')">
|
||||
<nav v-if="alwaysShow ? true : pageLinks && pageLinks.length > 1" v-bind="ptmi('paginatorContainer')">
|
||||
<div v-for="(value, key) in templateItems" :key="key" ref="paginator" :class="cx('paginator', { key })" v-bind="ptm('root')">
|
||||
<div v-if="$slots.start" :class="cx('contentStart')" v-bind="ptm('contentStart')">
|
||||
<slot name="start" :state="currentState"></slot>
|
||||
|
|
|
@ -70,9 +70,9 @@ export interface RatingPassThroughOptions {
|
|||
*/
|
||||
offIcon?: RatingPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden option input wrapper's DOM element.
|
||||
* Used to pass attributes to the hidden option input container's DOM element.
|
||||
*/
|
||||
hiddenOptionInputWrapper?: RatingPassThroughOptionType;
|
||||
hiddenOptionInputContainer?: RatingPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden option input's DOM element.
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div :class="cx('root')" v-bind="ptmi('root')">
|
||||
<template v-for="value in stars" :key="value">
|
||||
<div :class="cx('option', { value })" @click="onOptionClick($event, value)" v-bind="getPTOptions('option', value)" :data-p-active="value <= modelValue" :data-p-focused="value === focusedOptionIndex">
|
||||
<span class="p-hidden-accessible" v-bind="ptm('hiddenOptionInputWrapper')" :data-p-hidden-accessible="true">
|
||||
<span class="p-hidden-accessible" v-bind="ptm('hiddenOptionInputContainer')" :data-p-hidden-accessible="true">
|
||||
<input
|
||||
type="radio"
|
||||
:value="value"
|
||||
|
|
|
@ -112,7 +112,7 @@ export interface TreePassThroughOptions<T = any> {
|
|||
* Used to pass attributes to the input's DOM element.
|
||||
* @see {@link InputTextPassThroughOptions}
|
||||
*/
|
||||
pcFilterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>;
|
||||
filterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the filter icon's DOM element.
|
||||
*/
|
||||
|
|
|
@ -115,9 +115,9 @@ export interface TreeSelectPassThroughOptions {
|
|||
*/
|
||||
emptyMessage?: TreeSelectPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden input wrapper's DOM element.
|
||||
* Used to pass attributes to the hidden input container's DOM element.
|
||||
*/
|
||||
hiddenInputWrapper?: TreeSelectPassThroughOptionType;
|
||||
hiddenInputContainer?: TreeSelectPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the hidden input's DOM element.
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div ref="container" :class="cx('root')" :style="sx('root')" @click="onClick" v-bind="ptmi('root')">
|
||||
<div class="p-hidden-accessible" v-bind="ptm('hiddenInputWrapper')" :data-p-hidden-accessible="true">
|
||||
<div class="p-hidden-accessible" v-bind="ptm('hiddenInputContainer')" :data-p-hidden-accessible="true">
|
||||
<input
|
||||
ref="focusInput"
|
||||
:id="inputId"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue