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