Update API doc

pull/4992/head
GitHub Actions Bot 2023-12-22 00:25:54 +00:00
parent 078a30720c
commit 15debcec4a
4 changed files with 16 additions and 24 deletions

View File

@ -82,17 +82,7 @@ export default {
type: String, type: String,
default: 'halfExpand', default: 'halfExpand',
validator(value) { validator(value) {
return [ return ['ceil', 'floor', 'expand', 'trunc', 'halfCeil', 'halfFloor', 'halfExpand', 'halfTrunc', 'halfEven'].includes(value);
'ceil',
'floor',
'expand',
'trunc',
'halfCeil',
'halfFloor',
'halfExpand',
'halfTrunc',
'halfEven'
].includes(value);
} }
}, },
min: { min: {

View File

@ -14,16 +14,7 @@ import { InputTextPassThroughOptions } from '../inputtext';
import { PassThroughOptions } from '../passthrough'; import { PassThroughOptions } from '../passthrough';
import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
export declare type RoundingMode = export declare type RoundingMode = 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven';
| 'ceil'
| 'floor'
| 'expand'
| 'trunc'
| 'halfCeil'
| 'halfFloor'
| 'halfExpand'
| 'halfTrunc'
| 'halfEven';
export declare type InputNumberPassThroughOptionType<T = any> = InputNumberPassThroughAttributes | ((options: InputNumberPassThroughMethodOptions<T>) => InputNumberPassThroughAttributes | string) | string | null | undefined; export declare type InputNumberPassThroughOptionType<T = any> = InputNumberPassThroughAttributes | ((options: InputNumberPassThroughMethodOptions<T>) => InputNumberPassThroughAttributes | string) | string | null | undefined;

View File

@ -182,7 +182,7 @@ export default {
useGrouping: this.useGrouping, useGrouping: this.useGrouping,
minimumFractionDigits: this.minFractionDigits, minimumFractionDigits: this.minFractionDigits,
maximumFractionDigits: this.maxFractionDigits, maximumFractionDigits: this.maxFractionDigits,
roundingMode: this.roundingMode, roundingMode: this.roundingMode
}; };
}, },
constructParser() { constructParser() {

View File

@ -19747,7 +19747,7 @@
"name": "columnResizeMode", "name": "columnResizeMode",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "\"fit\" | \"expand\"", "type": "\"expand\" | \"fit\"",
"default": "fit", "default": "fit",
"description": "Defines whether the overall table width." "description": "Defines whether the overall table width."
}, },
@ -30407,6 +30407,14 @@
"default": "", "default": "",
"description": "The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3;\nthe default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the [ISO 4217 currency code](https://www.six-group.com/en/products-services/financial-information/data-standards.html#scrollTo=maintenance-agency) list (2 if the list doesn't provide that information)." "description": "The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3;\nthe default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the [ISO 4217 currency code](https://www.six-group.com/en/products-services/financial-information/data-standards.html#scrollTo=maintenance-agency) list (2 if the list doesn't provide that information)."
}, },
{
"name": "roundingMode",
"optional": true,
"readonly": false,
"type": "RoundingMode",
"default": "",
"description": "How decimals should be rounded.\nThe default value is `\"halfExpand\"` , [further information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#roundingmode)."
},
{ {
"name": "min", "name": "min",
"optional": true, "optional": true,
@ -30645,6 +30653,9 @@
"types": { "types": {
"description": "Defines the custom types used by the module.", "description": "Defines the custom types used by the module.",
"values": { "values": {
"RoundingMode": {
"values": "\"ceil\" | \"floor\" | \"expand\" | \"trunc\" | \"halfCeil\" | \"halfFloor\" | \"halfExpand\" | \"halfTrunc\" | \"halfEven\""
},
"InputNumberPassThroughOptionType": { "InputNumberPassThroughOptionType": {
"values": "InputNumberPassThroughAttributes | (options: InputNumberPassThroughMethodOptions) => undefined | string | null | undefined" "values": "InputNumberPassThroughAttributes | (options: InputNumberPassThroughMethodOptions) => undefined | string | null | undefined"
} }
@ -56218,7 +56229,7 @@
"name": "columnResizeMode", "name": "columnResizeMode",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "\"fit\" | \"expand\"", "type": "\"expand\" | \"fit\"",
"default": "fit", "default": "fit",
"description": "Defines whether the overall table width should change on column resize." "description": "Defines whether the overall table width should change on column resize."
}, },