pull/5701/head
tugcekucukoglu 2024-05-06 18:32:04 +03:00
parent fd76fe68a1
commit d7a42ed9c3
12 changed files with 255 additions and 157 deletions

View File

@ -132,6 +132,10 @@ export interface CascadeSelectPassThroughOptions {
* Used to pass attributes to the group icon's DOM element. * Used to pass attributes to the group icon's DOM element.
*/ */
groupIcon?: CascadeSelectPassThroughOptionType; 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. * Used to pass attributes to the hidden selected message's DOM element.
*/ */

View File

@ -1,6 +1,6 @@
<template> <template>
<div ref="container" :class="cx('root')" :style="sx('root')" @click="onContainerClick($event)" v-bind="ptmi('root')"> <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 <input
ref="focusInput" ref="focusInput"
:id="inputId" :id="inputId"

View File

@ -209,9 +209,9 @@ export interface MultiSelectPassThroughOptions {
*/ */
emptyMessage?: MultiSelectPassThroughOptionType; 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. * Used to pass attributes to the hidden first focusable element's DOM element.
*/ */

View File

@ -1,6 +1,6 @@
<template> <template>
<div ref="container" :class="cx('root')" :style="sx('root')" @click="onContainerClick" v-bind="ptmi('root')"> <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 <input
ref="focusInput" ref="focusInput"
:id="inputId" :id="inputId"

View File

@ -66,9 +66,9 @@ export interface PaginatorSharedPassThroughMethodOptions {
*/ */
export interface PaginatorPassThroughOptions<T = any> { 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. * Used to pass attributes to the root's DOM element.
*/ */

View File

@ -1,5 +1,5 @@
<template> <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-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')"> <div v-if="$slots.start" :class="cx('contentStart')" v-bind="ptm('contentStart')">
<slot name="start" :state="currentState"></slot> <slot name="start" :state="currentState"></slot>

View File

@ -70,9 +70,9 @@ export interface RatingPassThroughOptions {
*/ */
offIcon?: RatingPassThroughOptionType; 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. * Used to pass attributes to the hidden option input's DOM element.
*/ */

View File

@ -2,7 +2,7 @@
<div :class="cx('root')" v-bind="ptmi('root')"> <div :class="cx('root')" v-bind="ptmi('root')">
<template v-for="value in stars" :key="value"> <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"> <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 <input
type="radio" type="radio"
:value="value" :value="value"

View File

@ -112,7 +112,7 @@ export interface TreePassThroughOptions<T = any> {
* Used to pass attributes to the input's DOM element. * Used to pass attributes to the input's DOM element.
* @see {@link InputTextPassThroughOptions} * @see {@link InputTextPassThroughOptions}
*/ */
pcFilterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>; filterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>;
/** /**
* Used to pass attributes to the filter icon's DOM element. * Used to pass attributes to the filter icon's DOM element.
*/ */

View File

@ -115,9 +115,9 @@ export interface TreeSelectPassThroughOptions {
*/ */
emptyMessage?: TreeSelectPassThroughOptionType; 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. * Used to pass attributes to the hidden input's DOM element.
*/ */

View File

@ -1,6 +1,6 @@
<template> <template>
<div ref="container" :class="cx('root')" :style="sx('root')" @click="onClick" v-bind="ptmi('root')"> <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 <input
ref="focusInput" ref="focusInput"
:id="inputId" :id="inputId"

File diff suppressed because it is too large Load Diff