mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Merge branch 'primefaces:master' into master
This commit is contained in:
commit
c78d2e2a4a
6 changed files with 10 additions and 10 deletions
2
components/lib/datatable/DataTable.d.ts
vendored
2
components/lib/datatable/DataTable.d.ts
vendored
|
@ -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.
|
||||
*/
|
||||
|
|
4
components/lib/image/Image.d.ts
vendored
4
components/lib/image/Image.d.ts
vendored
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue