Merge branch 'primefaces:master' into master
commit
c78d2e2a4a
|
@ -1117,7 +1117,7 @@ export interface DataTableProps {
|
||||||
/**
|
/**
|
||||||
* Inline style of the table element.
|
* Inline style of the table element.
|
||||||
*/
|
*/
|
||||||
tableStyle?: object | undefined;
|
tableStyle?: string | object | undefined;
|
||||||
/**
|
/**
|
||||||
* Style class of the table element.
|
* Style class of the table element.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -186,7 +186,7 @@ export interface ImageProps {
|
||||||
imageClass?: any;
|
imageClass?: any;
|
||||||
/**
|
/**
|
||||||
* Custom indicator icon.
|
* Custom indicator icon.
|
||||||
* @deprecated since v3.27.0. Use 'indicator' slot.
|
* @deprecated since v3.27.0. Use 'indicatoricon' slot.
|
||||||
*/
|
*/
|
||||||
indicatorIcon?: string;
|
indicatorIcon?: string;
|
||||||
/**
|
/**
|
||||||
|
@ -223,7 +223,7 @@ export interface ImageSlots {
|
||||||
/**
|
/**
|
||||||
* Custom indicator template.
|
* Custom indicator template.
|
||||||
*/
|
*/
|
||||||
indicator(): VNode[];
|
indicatoricon(): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom refresh template.
|
* Custom refresh template.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -188,7 +188,7 @@ export default {
|
||||||
if (paste.length) {
|
if (paste.length) {
|
||||||
let pastedCode = paste.substring(0, this.length + 1);
|
let pastedCode = paste.substring(0, this.length + 1);
|
||||||
|
|
||||||
if (!this.isIntegerOnly || !isNaN(pastedCode)) {
|
if (!this.integerOnly || !isNaN(pastedCode)) {
|
||||||
this.tokens = pastedCode.split('');
|
this.tokens = pastedCode.split('');
|
||||||
this.updateModel(event);
|
this.updateModel(event);
|
||||||
}
|
}
|
||||||
|
@ -199,7 +199,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
inputMode() {
|
inputMode() {
|
||||||
return this.integerOnly ? 'number' : 'text';
|
return this.integerOnly ? 'numeric' : 'text';
|
||||||
},
|
},
|
||||||
inputType() {
|
inputType() {
|
||||||
return this.mask ? 'password' : 'text';
|
return this.mask ? 'password' : 'text';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div ref="container" :class="cx('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('hiddenInputWrapper')" :data-p-hidden-accessible="true">
|
||||||
<input
|
<input
|
||||||
ref="focusInput"
|
ref="focusInput"
|
||||||
|
|
|
@ -44,7 +44,7 @@ export default {
|
||||||
this.$refs.input.focus();
|
this.$refs.input.focus();
|
||||||
},
|
},
|
||||||
onKeydown(event) {
|
onKeydown(event) {
|
||||||
if ((event.code === 'Enter' || event.code === 'NumpadEnter') && this.commandText) {
|
if (event.key === 'Enter' && this.commandText) {
|
||||||
this.commands.push({ text: this.commandText });
|
this.commands.push({ text: this.commandText });
|
||||||
TerminalService.emit('command', this.commandText);
|
TerminalService.emit('command', this.commandText);
|
||||||
this.commandText = '';
|
this.commandText = '';
|
||||||
|
|
|
@ -20407,7 +20407,7 @@
|
||||||
"name": "tableStyle",
|
"name": "tableStyle",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "object",
|
"type": "string | object",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Inline style of the table element."
|
"description": "Inline style of the table element."
|
||||||
},
|
},
|
||||||
|
@ -29376,7 +29376,7 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Custom indicator icon.",
|
"description": "Custom indicator icon.",
|
||||||
"deprecated": "since v3.27.0. Use 'indicator' slot."
|
"deprecated": "since v3.27.0. Use 'indicatoricon' slot."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "zoomInDisabled",
|
"name": "zoomInDisabled",
|
||||||
|
@ -29427,7 +29427,7 @@
|
||||||
"props": [],
|
"props": [],
|
||||||
"methods": [
|
"methods": [
|
||||||
{
|
{
|
||||||
"name": "indicator",
|
"name": "indicatoricon",
|
||||||
"parameters": [],
|
"parameters": [],
|
||||||
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
|
"returnType": "VNode<RendererNode, RendererElement, Object>[]",
|
||||||
"description": "Custom indicator template."
|
"description": "Custom indicator template."
|
||||||
|
|
Loading…
Reference in New Issue