@pinuts/bsr-uikit-relaunch 0.2.10 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -134
- package/dist/{main.js.LICENSE.txt → index.js.LICENSE.txt} +2 -2
- package/dist/items/BSRAddressSelector/BSRAddressSelector.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRAddressSelector.js +1 -2
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.d.ts.map +1 -1
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.js +1 -2
- package/dist/items/NumberInputField/NumberInputField.d.ts.map +1 -1
- package/dist/items/NumberInputField/NumberInputField.js +21 -13
- package/dist/styles/_form.scss +17 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +4 -4
- package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +2 -2
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/node_modules/@babel/runtime/helpers/superPropGet.js +4 -4
- package/node_modules/@babel/runtime/helpers/superPropSet.js +2 -2
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/cs/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/de/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/es/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/fr/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/it/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/ja/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/ko/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.decorators.d.ts +15 -13
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.dom.d.ts +219 -1115
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.core.d.ts +9 -9
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.iterable.d.ts +27 -90
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.symbol.wellknown.d.ts +10 -10
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2016.array.include.d.ts +9 -9
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2016.intl.d.ts +1 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.d.ts +2 -3
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.sharedmemory.d.ts +14 -14
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.typedarrays.d.ts +9 -9
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.bigint.d.ts +50 -54
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.intl.d.ts +36 -36
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.sharedmemory.d.ts +11 -13
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.string.d.ts +0 -2
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2021.intl.d.ts +17 -17
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2021.weakref.d.ts +0 -2
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.array.d.ts +11 -11
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.d.ts +2 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.error.d.ts +0 -2
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.intl.d.ts +9 -9
- package/node_modules/{typescript/lib/lib.es2024.sharedmemory.d.ts → @pinuts/form-builder/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts} +0 -29
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2023.array.d.ts +99 -99
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es5.d.ts +252 -252
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.array.d.ts +1 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.collection.d.ts +11 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.d.ts +5 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.webworker.d.ts +34 -311
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/pl/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/pt-br/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/ru/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/tr/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript/lib/_tsc.js → @pinuts/form-builder/node_modules/typescript/lib/tsc.js} +1863 -3484
- package/node_modules/{typescript/lib/_tsserver.js → @pinuts/form-builder/node_modules/typescript/lib/tsserver.js} +1 -1
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/typesMap.json +497 -497
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/typescript.d.ts +22 -82
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/typescript.js +2998 -5593
- package/node_modules/{typescript/lib/_typingsInstaller.js → @pinuts/form-builder/node_modules/typescript/lib/typingsInstaller.js} +16 -2
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/zh-cn/diagnosticMessages.generated.json +5 -17
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/zh-tw/diagnosticMessages.generated.json +4 -16
- package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/package.json +23 -22
- package/node_modules/@types/hoist-non-react-statics/README.md +13 -13
- package/node_modules/@types/hoist-non-react-statics/index.d.ts +12 -12
- package/node_modules/@types/hoist-non-react-statics/package.json +3 -4
- package/node_modules/@types/prop-types/LICENSE +21 -0
- package/node_modules/@types/prop-types/README.md +15 -0
- package/node_modules/@types/prop-types/index.d.ts +114 -0
- package/node_modules/@types/prop-types/package.json +35 -0
- package/node_modules/@types/react/README.md +3 -3
- package/node_modules/@types/react/canary.d.ts +118 -3
- package/node_modules/@types/react/experimental.d.ts +4 -89
- package/node_modules/@types/react/index.d.ts +772 -435
- package/node_modules/@types/react/package.json +9 -9
- package/node_modules/@types/react/ts5.0/canary.d.ts +118 -3
- package/node_modules/@types/react/ts5.0/experimental.d.ts +4 -89
- package/node_modules/@types/react/ts5.0/index.d.ts +768 -431
- package/node_modules/hoist-non-react-statics/CHANGELOG.md +37 -0
- package/node_modules/tslib/modules/index.d.ts +0 -1
- package/node_modules/tslib/modules/index.js +0 -2
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +0 -7
- package/node_modules/tslib/tslib.es6.js +1 -24
- package/node_modules/tslib/tslib.es6.mjs +1 -24
- package/node_modules/tslib/tslib.js +1 -56
- package/package.json +4 -5
- package/webpack.config.js +99 -109
- package/.nvmrc +0 -1
- package/dist/main.css +0 -3
- package/dist/main.js +0 -2
- package/dist/styles.css +0 -1
- package/dist/styles.js +0 -0
- package/node_modules/@types/react/compiler-runtime.d.ts +0 -4
- package/node_modules/@types/react/ts5.0/v18/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/v18/index.d.ts +0 -4543
- package/node_modules/@types/react/ts5.0/v18/jsx-dev-runtime.d.ts +0 -45
- package/node_modules/@types/react/ts5.0/v18/jsx-runtime.d.ts +0 -36
- package/node_modules/@types/react/ts5.0/v18/ts5.0/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/v18/ts5.0/index.d.ts +0 -4530
- package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-dev-runtime.d.ts +0 -44
- package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-runtime.d.ts +0 -35
- package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
- package/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
- package/node_modules/typescript/lib/tsc.js +0 -8
- package/node_modules/typescript/lib/tsserver.js +0 -8
- package/node_modules/typescript/lib/typingsInstaller.js +0 -8
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/LICENSE.txt +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/README.md +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/SECURITY.md +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/ThirdPartyNoticeText.txt +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/bin/tsc +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/bin/tsserver +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/cancellationToken.js +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.decorators.legacy.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.dom.asynciterable.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.dom.iterable.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.collection.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.generator.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.promise.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.proxy.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.reflect.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2015.symbol.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2016.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2016.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.date.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.intl.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.object.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2017.string.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.asyncgenerator.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.asynciterable.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.intl.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.promise.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2018.regexp.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.array.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.intl.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.object.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.string.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2019.symbol.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.date.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.number.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.promise.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2020.symbol.wellknown.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2021.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2021.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2021.promise.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2021.string.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.object.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.regexp.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2022.string.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2023.collection.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2023.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2023.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es2023.intl.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.es6.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.decorators.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.disposable.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.full.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.intl.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.esnext.iterator.d.ts +0 -0
- /package/node_modules/{typescript/lib/lib.es2024.object.d.ts → @pinuts/form-builder/node_modules/typescript/lib/lib.esnext.object.d.ts} +0 -0
- /package/node_modules/{typescript/lib/lib.es2024.promise.d.ts → @pinuts/form-builder/node_modules/typescript/lib/lib.esnext.promise.d.ts} +0 -0
- /package/node_modules/{typescript/lib/lib.es2024.regexp.d.ts → @pinuts/form-builder/node_modules/typescript/lib/lib.esnext.regexp.d.ts} +0 -0
- /package/node_modules/{typescript/lib/lib.es2024.string.d.ts → @pinuts/form-builder/node_modules/typescript/lib/lib.esnext.string.d.ts} +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.scripthost.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.webworker.asynciterable.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.webworker.importscripts.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/lib.webworker.iterable.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/tsserverlibrary.d.ts +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/tsserverlibrary.js +0 -0
- /package/node_modules/{typescript → @pinuts/form-builder/node_modules/typescript}/lib/watchGuard.js +0 -0
- /package/node_modules/{@babel/runtime/node_modules/regenerator-runtime → regenerator-runtime}/LICENSE +0 -0
- /package/node_modules/{@babel/runtime/node_modules/regenerator-runtime → regenerator-runtime}/README.md +0 -0
- /package/node_modules/{@babel/runtime/node_modules/regenerator-runtime → regenerator-runtime}/package.json +0 -0
- /package/node_modules/{@babel/runtime/node_modules/regenerator-runtime → regenerator-runtime}/path.js +0 -0
- /package/node_modules/{@babel/runtime/node_modules/regenerator-runtime → regenerator-runtime}/runtime.js +0 -0
|
@@ -20,7 +20,7 @@ and limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
interface BigIntToLocaleStringOptions {
|
|
22
22
|
/**
|
|
23
|
-
* The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.
|
|
23
|
+
* The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.
|
|
24
24
|
*/
|
|
25
25
|
localeMatcher?: string;
|
|
26
26
|
/**
|
|
@@ -146,12 +146,12 @@ declare var BigInt: BigIntConstructor;
|
|
|
146
146
|
* A typed array of 64-bit signed integer values. The contents are initialized to 0. If the
|
|
147
147
|
* requested number of bytes could not be allocated, an exception is raised.
|
|
148
148
|
*/
|
|
149
|
-
interface BigInt64Array
|
|
149
|
+
interface BigInt64Array {
|
|
150
150
|
/** The size in bytes of each element in the array. */
|
|
151
151
|
readonly BYTES_PER_ELEMENT: number;
|
|
152
152
|
|
|
153
153
|
/** The ArrayBuffer instance referenced by the array. */
|
|
154
|
-
readonly buffer:
|
|
154
|
+
readonly buffer: ArrayBufferLike;
|
|
155
155
|
|
|
156
156
|
/** The length in bytes of the array. */
|
|
157
157
|
readonly byteLength: number;
|
|
@@ -181,7 +181,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
181
181
|
* @param thisArg An object to which the this keyword can refer in the predicate function.
|
|
182
182
|
* If thisArg is omitted, undefined is used as the this value.
|
|
183
183
|
*/
|
|
184
|
-
every(predicate: (value: bigint, index: number, array: BigInt64Array
|
|
184
|
+
every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
|
|
@@ -200,7 +200,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
200
200
|
* @param thisArg An object to which the this keyword can refer in the predicate function.
|
|
201
201
|
* If thisArg is omitted, undefined is used as the this value.
|
|
202
202
|
*/
|
|
203
|
-
filter(predicate: (value: bigint, index: number, array: BigInt64Array
|
|
203
|
+
filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* Returns the value of the first element in the array where predicate is true, and undefined
|
|
@@ -211,7 +211,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
211
211
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
|
212
212
|
* predicate. If it is not provided, undefined is used instead.
|
|
213
213
|
*/
|
|
214
|
-
find(predicate: (value: bigint, index: number, array: BigInt64Array
|
|
214
|
+
find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Returns the index of the first element in the array where predicate is true, and -1
|
|
@@ -222,7 +222,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
222
222
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
|
223
223
|
* predicate. If it is not provided, undefined is used instead.
|
|
224
224
|
*/
|
|
225
|
-
findIndex(predicate: (value: bigint, index: number, array: BigInt64Array
|
|
225
|
+
findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Performs the specified action for each element in an array.
|
|
@@ -231,7 +231,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
231
231
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
|
232
232
|
* If thisArg is omitted, undefined is used as the this value.
|
|
233
233
|
*/
|
|
234
|
-
forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array
|
|
234
|
+
forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
237
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
@@ -277,7 +277,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
277
277
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
|
278
278
|
* If thisArg is omitted, undefined is used as the this value.
|
|
279
279
|
*/
|
|
280
|
-
map(callbackfn: (value: bigint, index: number, array: BigInt64Array
|
|
280
|
+
map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* Calls the specified callback function for all the elements in an array. The return value of
|
|
@@ -289,7 +289,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
289
289
|
* the accumulation. The first call to the callbackfn function provides this value as an argument
|
|
290
290
|
* instead of an array value.
|
|
291
291
|
*/
|
|
292
|
-
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array
|
|
292
|
+
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* Calls the specified callback function for all the elements in an array. The return value of
|
|
@@ -301,7 +301,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
301
301
|
* the accumulation. The first call to the callbackfn function provides this value as an argument
|
|
302
302
|
* instead of an array value.
|
|
303
303
|
*/
|
|
304
|
-
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array
|
|
304
|
+
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Calls the specified callback function for all the elements in an array, in descending order.
|
|
@@ -313,7 +313,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
313
313
|
* the accumulation. The first call to the callbackfn function provides this value as an
|
|
314
314
|
* argument instead of an array value.
|
|
315
315
|
*/
|
|
316
|
-
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array
|
|
316
|
+
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint;
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* Calls the specified callback function for all the elements in an array, in descending order.
|
|
@@ -325,7 +325,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
325
325
|
* the accumulation. The first call to the callbackfn function provides this value as an argument
|
|
326
326
|
* instead of an array value.
|
|
327
327
|
*/
|
|
328
|
-
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array
|
|
328
|
+
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U;
|
|
329
329
|
|
|
330
330
|
/** Reverses the elements in the array. */
|
|
331
331
|
reverse(): this;
|
|
@@ -342,7 +342,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
342
342
|
* @param start The beginning of the specified portion of the array.
|
|
343
343
|
* @param end The end of the specified portion of the array.
|
|
344
344
|
*/
|
|
345
|
-
slice(start?: number, end?: number): BigInt64Array
|
|
345
|
+
slice(start?: number, end?: number): BigInt64Array;
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
348
|
* Determines whether the specified callback function returns true for any element of an array.
|
|
@@ -352,7 +352,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
352
352
|
* @param thisArg An object to which the this keyword can refer in the predicate function.
|
|
353
353
|
* If thisArg is omitted, undefined is used as the this value.
|
|
354
354
|
*/
|
|
355
|
-
some(predicate: (value: bigint, index: number, array: BigInt64Array
|
|
355
|
+
some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
358
|
* Sorts the array.
|
|
@@ -366,7 +366,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
366
366
|
* @param begin The index of the beginning of the array.
|
|
367
367
|
* @param end The index of the end of the array.
|
|
368
368
|
*/
|
|
369
|
-
subarray(begin?: number, end?: number): BigInt64Array
|
|
369
|
+
subarray(begin?: number, end?: number): BigInt64Array;
|
|
370
370
|
|
|
371
371
|
/** Converts the array to a string by using the current locale. */
|
|
372
372
|
toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
@@ -375,7 +375,7 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
375
375
|
toString(): string;
|
|
376
376
|
|
|
377
377
|
/** Returns the primitive value of the specified object. */
|
|
378
|
-
valueOf(): BigInt64Array
|
|
378
|
+
valueOf(): BigInt64Array;
|
|
379
379
|
|
|
380
380
|
/** Yields each value in the array. */
|
|
381
381
|
values(): ArrayIterator<bigint>;
|
|
@@ -386,12 +386,12 @@ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
386
386
|
|
|
387
387
|
[index: number]: bigint;
|
|
388
388
|
}
|
|
389
|
+
|
|
389
390
|
interface BigInt64ArrayConstructor {
|
|
390
|
-
readonly prototype: BigInt64Array
|
|
391
|
-
new (length?: number): BigInt64Array
|
|
392
|
-
new (array:
|
|
393
|
-
new
|
|
394
|
-
new (array: ArrayLike<bigint> | ArrayBuffer): BigInt64Array<ArrayBuffer>;
|
|
391
|
+
readonly prototype: BigInt64Array;
|
|
392
|
+
new (length?: number): BigInt64Array;
|
|
393
|
+
new (array: Iterable<bigint>): BigInt64Array;
|
|
394
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array;
|
|
395
395
|
|
|
396
396
|
/** The size in bytes of each element in the array. */
|
|
397
397
|
readonly BYTES_PER_ELEMENT: number;
|
|
@@ -400,7 +400,7 @@ interface BigInt64ArrayConstructor {
|
|
|
400
400
|
* Returns a new array from a set of elements.
|
|
401
401
|
* @param items A set of elements to include in the new array object.
|
|
402
402
|
*/
|
|
403
|
-
of(...items: bigint[]): BigInt64Array
|
|
403
|
+
of(...items: bigint[]): BigInt64Array;
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* Creates an array from an array-like or iterable object.
|
|
@@ -408,27 +408,22 @@ interface BigInt64ArrayConstructor {
|
|
|
408
408
|
* @param mapfn A mapping function to call on every element of the array.
|
|
409
409
|
* @param thisArg Value of 'this' used to invoke the mapfn.
|
|
410
410
|
*/
|
|
411
|
-
from(arrayLike: ArrayLike<bigint>): BigInt64Array
|
|
412
|
-
|
|
413
|
-
* Creates an array from an array-like or iterable object.
|
|
414
|
-
* @param arrayLike An array-like or iterable object to convert to an array.
|
|
415
|
-
* @param mapfn A mapping function to call on every element of the array.
|
|
416
|
-
* @param thisArg Value of 'this' used to invoke the mapfn.
|
|
417
|
-
*/
|
|
418
|
-
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
|
|
411
|
+
from(arrayLike: ArrayLike<bigint>): BigInt64Array;
|
|
412
|
+
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;
|
|
419
413
|
}
|
|
414
|
+
|
|
420
415
|
declare var BigInt64Array: BigInt64ArrayConstructor;
|
|
421
416
|
|
|
422
417
|
/**
|
|
423
418
|
* A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the
|
|
424
419
|
* requested number of bytes could not be allocated, an exception is raised.
|
|
425
420
|
*/
|
|
426
|
-
interface BigUint64Array
|
|
421
|
+
interface BigUint64Array {
|
|
427
422
|
/** The size in bytes of each element in the array. */
|
|
428
423
|
readonly BYTES_PER_ELEMENT: number;
|
|
429
424
|
|
|
430
425
|
/** The ArrayBuffer instance referenced by the array. */
|
|
431
|
-
readonly buffer:
|
|
426
|
+
readonly buffer: ArrayBufferLike;
|
|
432
427
|
|
|
433
428
|
/** The length in bytes of the array. */
|
|
434
429
|
readonly byteLength: number;
|
|
@@ -458,7 +453,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
458
453
|
* @param thisArg An object to which the this keyword can refer in the predicate function.
|
|
459
454
|
* If thisArg is omitted, undefined is used as the this value.
|
|
460
455
|
*/
|
|
461
|
-
every(predicate: (value: bigint, index: number, array: BigUint64Array
|
|
456
|
+
every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
|
|
462
457
|
|
|
463
458
|
/**
|
|
464
459
|
* Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
|
|
@@ -477,7 +472,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
477
472
|
* @param thisArg An object to which the this keyword can refer in the predicate function.
|
|
478
473
|
* If thisArg is omitted, undefined is used as the this value.
|
|
479
474
|
*/
|
|
480
|
-
filter(predicate: (value: bigint, index: number, array: BigUint64Array
|
|
475
|
+
filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;
|
|
481
476
|
|
|
482
477
|
/**
|
|
483
478
|
* Returns the value of the first element in the array where predicate is true, and undefined
|
|
@@ -488,7 +483,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
488
483
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
|
489
484
|
* predicate. If it is not provided, undefined is used instead.
|
|
490
485
|
*/
|
|
491
|
-
find(predicate: (value: bigint, index: number, array: BigUint64Array
|
|
486
|
+
find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined;
|
|
492
487
|
|
|
493
488
|
/**
|
|
494
489
|
* Returns the index of the first element in the array where predicate is true, and -1
|
|
@@ -499,7 +494,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
499
494
|
* @param thisArg If provided, it will be used as the this value for each invocation of
|
|
500
495
|
* predicate. If it is not provided, undefined is used instead.
|
|
501
496
|
*/
|
|
502
|
-
findIndex(predicate: (value: bigint, index: number, array: BigUint64Array
|
|
497
|
+
findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number;
|
|
503
498
|
|
|
504
499
|
/**
|
|
505
500
|
* Performs the specified action for each element in an array.
|
|
@@ -508,7 +503,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
508
503
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
|
509
504
|
* If thisArg is omitted, undefined is used as the this value.
|
|
510
505
|
*/
|
|
511
|
-
forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array
|
|
506
|
+
forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void;
|
|
512
507
|
|
|
513
508
|
/**
|
|
514
509
|
* Determines whether an array includes a certain element, returning true or false as appropriate.
|
|
@@ -554,7 +549,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
554
549
|
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
|
|
555
550
|
* If thisArg is omitted, undefined is used as the this value.
|
|
556
551
|
*/
|
|
557
|
-
map(callbackfn: (value: bigint, index: number, array: BigUint64Array
|
|
552
|
+
map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array;
|
|
558
553
|
|
|
559
554
|
/**
|
|
560
555
|
* Calls the specified callback function for all the elements in an array. The return value of
|
|
@@ -566,7 +561,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
566
561
|
* the accumulation. The first call to the callbackfn function provides this value as an argument
|
|
567
562
|
* instead of an array value.
|
|
568
563
|
*/
|
|
569
|
-
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array
|
|
564
|
+
reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;
|
|
570
565
|
|
|
571
566
|
/**
|
|
572
567
|
* Calls the specified callback function for all the elements in an array. The return value of
|
|
@@ -578,7 +573,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
578
573
|
* the accumulation. The first call to the callbackfn function provides this value as an argument
|
|
579
574
|
* instead of an array value.
|
|
580
575
|
*/
|
|
581
|
-
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array
|
|
576
|
+
reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;
|
|
582
577
|
|
|
583
578
|
/**
|
|
584
579
|
* Calls the specified callback function for all the elements in an array, in descending order.
|
|
@@ -590,7 +585,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
590
585
|
* the accumulation. The first call to the callbackfn function provides this value as an
|
|
591
586
|
* argument instead of an array value.
|
|
592
587
|
*/
|
|
593
|
-
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array
|
|
588
|
+
reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint;
|
|
594
589
|
|
|
595
590
|
/**
|
|
596
591
|
* Calls the specified callback function for all the elements in an array, in descending order.
|
|
@@ -602,7 +597,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
602
597
|
* the accumulation. The first call to the callbackfn function provides this value as an argument
|
|
603
598
|
* instead of an array value.
|
|
604
599
|
*/
|
|
605
|
-
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array
|
|
600
|
+
reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U;
|
|
606
601
|
|
|
607
602
|
/** Reverses the elements in the array. */
|
|
608
603
|
reverse(): this;
|
|
@@ -619,7 +614,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
619
614
|
* @param start The beginning of the specified portion of the array.
|
|
620
615
|
* @param end The end of the specified portion of the array.
|
|
621
616
|
*/
|
|
622
|
-
slice(start?: number, end?: number): BigUint64Array
|
|
617
|
+
slice(start?: number, end?: number): BigUint64Array;
|
|
623
618
|
|
|
624
619
|
/**
|
|
625
620
|
* Determines whether the specified callback function returns true for any element of an array.
|
|
@@ -629,7 +624,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
629
624
|
* @param thisArg An object to which the this keyword can refer in the predicate function.
|
|
630
625
|
* If thisArg is omitted, undefined is used as the this value.
|
|
631
626
|
*/
|
|
632
|
-
some(predicate: (value: bigint, index: number, array: BigUint64Array
|
|
627
|
+
some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
|
|
633
628
|
|
|
634
629
|
/**
|
|
635
630
|
* Sorts the array.
|
|
@@ -643,7 +638,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
643
638
|
* @param begin The index of the beginning of the array.
|
|
644
639
|
* @param end The index of the end of the array.
|
|
645
640
|
*/
|
|
646
|
-
subarray(begin?: number, end?: number): BigUint64Array
|
|
641
|
+
subarray(begin?: number, end?: number): BigUint64Array;
|
|
647
642
|
|
|
648
643
|
/** Converts the array to a string by using the current locale. */
|
|
649
644
|
toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
@@ -652,7 +647,7 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
652
647
|
toString(): string;
|
|
653
648
|
|
|
654
649
|
/** Returns the primitive value of the specified object. */
|
|
655
|
-
valueOf(): BigUint64Array
|
|
650
|
+
valueOf(): BigUint64Array;
|
|
656
651
|
|
|
657
652
|
/** Yields each value in the array. */
|
|
658
653
|
values(): ArrayIterator<bigint>;
|
|
@@ -663,12 +658,12 @@ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike>
|
|
|
663
658
|
|
|
664
659
|
[index: number]: bigint;
|
|
665
660
|
}
|
|
661
|
+
|
|
666
662
|
interface BigUint64ArrayConstructor {
|
|
667
|
-
readonly prototype: BigUint64Array
|
|
668
|
-
new (length?: number): BigUint64Array
|
|
669
|
-
new (array:
|
|
670
|
-
new
|
|
671
|
-
new (array: ArrayLike<bigint> | ArrayBuffer): BigUint64Array<ArrayBuffer>;
|
|
663
|
+
readonly prototype: BigUint64Array;
|
|
664
|
+
new (length?: number): BigUint64Array;
|
|
665
|
+
new (array: Iterable<bigint>): BigUint64Array;
|
|
666
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array;
|
|
672
667
|
|
|
673
668
|
/** The size in bytes of each element in the array. */
|
|
674
669
|
readonly BYTES_PER_ELEMENT: number;
|
|
@@ -677,7 +672,7 @@ interface BigUint64ArrayConstructor {
|
|
|
677
672
|
* Returns a new array from a set of elements.
|
|
678
673
|
* @param items A set of elements to include in the new array object.
|
|
679
674
|
*/
|
|
680
|
-
of(...items: bigint[]): BigUint64Array
|
|
675
|
+
of(...items: bigint[]): BigUint64Array;
|
|
681
676
|
|
|
682
677
|
/**
|
|
683
678
|
* Creates an array from an array-like or iterable object.
|
|
@@ -688,9 +683,10 @@ interface BigUint64ArrayConstructor {
|
|
|
688
683
|
from(arrayLike: ArrayLike<bigint>): BigUint64Array;
|
|
689
684
|
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;
|
|
690
685
|
}
|
|
686
|
+
|
|
691
687
|
declare var BigUint64Array: BigUint64ArrayConstructor;
|
|
692
688
|
|
|
693
|
-
interface DataView
|
|
689
|
+
interface DataView {
|
|
694
690
|
/**
|
|
695
691
|
* Gets the BigInt64 value at the specified byte offset from the start of the view. There is
|
|
696
692
|
* no alignment constraint; multi-byte values may be fetched from any offset.
|
|
@@ -23,14 +23,14 @@ declare namespace Intl {
|
|
|
23
23
|
*
|
|
24
24
|
* For example: "fa", "es-MX", "zh-Hant-TW".
|
|
25
25
|
*
|
|
26
|
-
* See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
|
26
|
+
* See [MDN - Intl - locales argument](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
|
27
27
|
*/
|
|
28
28
|
type UnicodeBCP47LocaleIdentifier = string;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Unit to use in the relative time internationalized message.
|
|
32
32
|
*
|
|
33
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).
|
|
33
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).
|
|
34
34
|
*/
|
|
35
35
|
type RelativeTimeFormatUnit =
|
|
36
36
|
| "year"
|
|
@@ -57,7 +57,7 @@ declare namespace Intl {
|
|
|
57
57
|
* but `formatToParts` only outputs singular (e.g. "day") not plural (e.g.
|
|
58
58
|
* "days").
|
|
59
59
|
*
|
|
60
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
|
60
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
|
61
61
|
*/
|
|
62
62
|
type RelativeTimeFormatUnitSingular =
|
|
63
63
|
| "year"
|
|
@@ -79,21 +79,21 @@ declare namespace Intl {
|
|
|
79
79
|
/**
|
|
80
80
|
* The format of output message.
|
|
81
81
|
*
|
|
82
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
|
82
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
|
83
83
|
*/
|
|
84
84
|
type RelativeTimeFormatNumeric = "always" | "auto";
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* The length of the internationalized message.
|
|
88
88
|
*
|
|
89
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
|
89
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
|
90
90
|
*/
|
|
91
91
|
type RelativeTimeFormatStyle = "long" | "short" | "narrow";
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* The locale or locales to use
|
|
95
95
|
*
|
|
96
|
-
* See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
|
96
|
+
* See [MDN - Intl - locales argument](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
|
97
97
|
*/
|
|
98
98
|
type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined;
|
|
99
99
|
|
|
@@ -101,7 +101,7 @@ declare namespace Intl {
|
|
|
101
101
|
* An object with some or all of properties of `options` parameter
|
|
102
102
|
* of `Intl.RelativeTimeFormat` constructor.
|
|
103
103
|
*
|
|
104
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
|
104
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
|
|
105
105
|
*/
|
|
106
106
|
interface RelativeTimeFormatOptions {
|
|
107
107
|
/** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
|
|
@@ -117,7 +117,7 @@ declare namespace Intl {
|
|
|
117
117
|
* and formatting options computed during initialization
|
|
118
118
|
* of the `Intl.RelativeTimeFormat` object
|
|
119
119
|
*
|
|
120
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).
|
|
120
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).
|
|
121
121
|
*/
|
|
122
122
|
interface ResolvedRelativeTimeFormatOptions {
|
|
123
123
|
locale: UnicodeBCP47LocaleIdentifier;
|
|
@@ -130,7 +130,7 @@ declare namespace Intl {
|
|
|
130
130
|
* An object representing the relative time format in parts
|
|
131
131
|
* that can be used for custom locale-aware formatting.
|
|
132
132
|
*
|
|
133
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
|
133
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
|
|
134
134
|
*/
|
|
135
135
|
type RelativeTimeFormatPart =
|
|
136
136
|
| {
|
|
@@ -166,7 +166,7 @@ declare namespace Intl {
|
|
|
166
166
|
*
|
|
167
167
|
* @returns {string} Internationalized relative time message as string
|
|
168
168
|
*
|
|
169
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).
|
|
169
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).
|
|
170
170
|
*/
|
|
171
171
|
format(value: number, unit: RelativeTimeFormatUnit): string;
|
|
172
172
|
|
|
@@ -179,14 +179,14 @@ declare namespace Intl {
|
|
|
179
179
|
*
|
|
180
180
|
* @throws `RangeError` if `unit` was given something other than `unit` possible values
|
|
181
181
|
*
|
|
182
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).
|
|
182
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).
|
|
183
183
|
*/
|
|
184
184
|
formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.
|
|
188
188
|
*
|
|
189
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).
|
|
189
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).
|
|
190
190
|
*/
|
|
191
191
|
resolvedOptions(): ResolvedRelativeTimeFormatOptions;
|
|
192
192
|
}
|
|
@@ -195,22 +195,22 @@ declare namespace Intl {
|
|
|
195
195
|
* The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
|
|
196
196
|
* object is a constructor for objects that enable language-sensitive relative time formatting.
|
|
197
197
|
*
|
|
198
|
-
* [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).
|
|
198
|
+
* [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).
|
|
199
199
|
*/
|
|
200
200
|
const RelativeTimeFormat: {
|
|
201
201
|
/**
|
|
202
|
-
* Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects
|
|
202
|
+
* Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects
|
|
203
203
|
*
|
|
204
204
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
|
205
205
|
* For the general form and interpretation of the locales argument,
|
|
206
|
-
* see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
206
|
+
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
207
207
|
*
|
|
208
|
-
* @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
|
208
|
+
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
|
209
209
|
* with some or all of options of `RelativeTimeFormatOptions`.
|
|
210
210
|
*
|
|
211
|
-
* @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.
|
|
211
|
+
* @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.
|
|
212
212
|
*
|
|
213
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).
|
|
213
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).
|
|
214
214
|
*/
|
|
215
215
|
new (
|
|
216
216
|
locales?: LocalesArgument,
|
|
@@ -224,16 +224,16 @@ declare namespace Intl {
|
|
|
224
224
|
*
|
|
225
225
|
* @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
|
|
226
226
|
* For the general form and interpretation of the locales argument,
|
|
227
|
-
* see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
227
|
+
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
228
228
|
*
|
|
229
|
-
* @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
|
229
|
+
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
|
|
230
230
|
* with some or all of options of the formatting.
|
|
231
231
|
*
|
|
232
232
|
* @returns An array containing those of the provided locales
|
|
233
233
|
* that are supported in date and time formatting
|
|
234
234
|
* without having to fall back to the runtime's default locale.
|
|
235
235
|
*
|
|
236
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).
|
|
236
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).
|
|
237
237
|
*/
|
|
238
238
|
supportedLocalesOf(
|
|
239
239
|
locales?: LocalesArgument,
|
|
@@ -336,18 +336,18 @@ declare namespace Intl {
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
|
-
* Constructor creates [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)
|
|
339
|
+
* Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)
|
|
340
340
|
* objects
|
|
341
341
|
*
|
|
342
342
|
* @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).
|
|
343
343
|
* For the general form and interpretation of the locales argument,
|
|
344
|
-
* see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
344
|
+
* see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
|
|
345
345
|
*
|
|
346
|
-
* @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.
|
|
346
|
+
* @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.
|
|
347
347
|
*
|
|
348
|
-
* @returns [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.
|
|
348
|
+
* @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.
|
|
349
349
|
*
|
|
350
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).
|
|
350
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).
|
|
351
351
|
*/
|
|
352
352
|
const Locale: {
|
|
353
353
|
new (tag: UnicodeBCP47LocaleIdentifier | Locale, options?: LocaleOptions): Locale;
|
|
@@ -388,7 +388,7 @@ declare namespace Intl {
|
|
|
388
388
|
interface DisplayNames {
|
|
389
389
|
/**
|
|
390
390
|
* Receives a code and returns a string based on the locale and options provided when instantiating
|
|
391
|
-
* [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
|
391
|
+
* [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
|
392
392
|
*
|
|
393
393
|
* @param code The `code` to provide depends on the `type` passed to display name during creation:
|
|
394
394
|
* - If the type is `"region"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),
|
|
@@ -399,35 +399,35 @@ declare namespace Intl {
|
|
|
399
399
|
* `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.
|
|
400
400
|
* - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).
|
|
401
401
|
*
|
|
402
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
|
|
402
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
|
|
403
403
|
*/
|
|
404
404
|
of(code: string): string | undefined;
|
|
405
405
|
/**
|
|
406
406
|
* Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
|
|
407
|
-
* [`Intl/DisplayNames`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
|
|
407
|
+
* [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
|
|
408
408
|
*
|
|
409
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).
|
|
409
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).
|
|
410
410
|
*/
|
|
411
411
|
resolvedOptions(): ResolvedDisplayNamesOptions;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
|
-
* The [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
|
415
|
+
* The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
|
|
416
416
|
* object enables the consistent translation of language, region and script display names.
|
|
417
417
|
*
|
|
418
|
-
* [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).
|
|
418
|
+
* [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).
|
|
419
419
|
*/
|
|
420
420
|
const DisplayNames: {
|
|
421
421
|
prototype: DisplayNames;
|
|
422
422
|
|
|
423
423
|
/**
|
|
424
424
|
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
|
425
|
-
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
|
425
|
+
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
|
426
426
|
* page.
|
|
427
427
|
*
|
|
428
428
|
* @param options An object for setting up a display name.
|
|
429
429
|
*
|
|
430
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).
|
|
430
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).
|
|
431
431
|
*/
|
|
432
432
|
new (locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames;
|
|
433
433
|
|
|
@@ -435,14 +435,14 @@ declare namespace Intl {
|
|
|
435
435
|
* Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.
|
|
436
436
|
*
|
|
437
437
|
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
|
438
|
-
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
|
438
|
+
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
|
439
439
|
* page.
|
|
440
440
|
*
|
|
441
441
|
* @param options An object with a locale matcher.
|
|
442
442
|
*
|
|
443
443
|
* @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
|
|
444
444
|
*
|
|
445
|
-
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).
|
|
445
|
+
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).
|
|
446
446
|
*/
|
|
447
447
|
supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[];
|
|
448
448
|
};
|