@itwin/appui-abstract 4.2.0-dev.3 → 4.2.0-dev.31
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/CHANGELOG.md +64 -1
- package/lib/cjs/appui-abstract/UiAdmin.d.ts +21 -15
- package/lib/cjs/appui-abstract/UiAdmin.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/UiAdmin.js +3 -1
- package/lib/cjs/appui-abstract/UiAdmin.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/PointProps.d.ts +1 -1
- package/lib/cjs/appui-abstract/utils/PointProps.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEvent.d.ts +1 -0
- package/lib/cjs/appui-abstract/utils/UiEvent.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEvent.js +1 -0
- package/lib/cjs/appui-abstract/utils/UiEvent.js.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.d.ts +5 -2
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.d.ts.map +1 -1
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js +7 -3
- package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
- package/lib/cjs/appui-abstract.d.ts +0 -1
- package/lib/cjs/appui-abstract.d.ts.map +1 -1
- package/lib/cjs/appui-abstract.js +0 -1
- package/lib/cjs/appui-abstract.js.map +1 -1
- package/lib/esm/appui-abstract/UiAdmin.d.ts +21 -15
- package/lib/esm/appui-abstract/UiAdmin.d.ts.map +1 -1
- package/lib/esm/appui-abstract/UiAdmin.js +3 -1
- package/lib/esm/appui-abstract/UiAdmin.js.map +1 -1
- package/lib/esm/appui-abstract/utils/PointProps.d.ts +1 -1
- package/lib/esm/appui-abstract/utils/PointProps.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEvent.d.ts +1 -0
- package/lib/esm/appui-abstract/utils/UiEvent.d.ts.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEvent.js +1 -0
- package/lib/esm/appui-abstract/utils/UiEvent.js.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.d.ts +5 -2
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.d.ts.map +1 -1
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.js +7 -3
- package/lib/esm/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
- package/lib/esm/appui-abstract.d.ts +0 -1
- package/lib/esm/appui-abstract.d.ts.map +1 -1
- package/lib/esm/appui-abstract.js +0 -1
- package/lib/esm/appui-abstract.js.map +1 -1
- package/package.json +6 -6
- package/lib/cjs/appui-abstract/utils/isLetter.d.ts +0 -10
- package/lib/cjs/appui-abstract/utils/isLetter.d.ts.map +0 -1
- package/lib/cjs/appui-abstract/utils/isLetter.js +0 -20
- package/lib/cjs/appui-abstract/utils/isLetter.js.map +0 -1
- package/lib/esm/appui-abstract/utils/isLetter.d.ts +0 -10
- package/lib/esm/appui-abstract/utils/isLetter.d.ts.map +0 -1
- package/lib/esm/appui-abstract/utils/isLetter.js +0 -16
- package/lib/esm/appui-abstract/utils/isLetter.js.map +0 -1
@@ -1,10 +0,0 @@
|
|
1
|
-
/** @packageDocumentation
|
2
|
-
* @module Utilities
|
3
|
-
*/
|
4
|
-
/** Uses ECMAScript case transformation (toLowerCase() and toUpperCase()) to check whether or not a given character is a letter.
|
5
|
-
* Beyond the English alphabet, this solution will also work for most Greek, Armenian, Cyrillic, and Latin characters.
|
6
|
-
* But, it will not work for Chinese or Japanese characters since those languages do not have uppercase and lowercase letters.
|
7
|
-
* @alpha
|
8
|
-
*/
|
9
|
-
export declare function isLetter(char: string): boolean;
|
10
|
-
//# sourceMappingURL=isLetter.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"isLetter.d.ts","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/isLetter.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE9C"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
5
|
-
/** @packageDocumentation
|
6
|
-
* @module Utilities
|
7
|
-
*/
|
8
|
-
/** Uses ECMAScript case transformation (toLowerCase() and toUpperCase()) to check whether or not a given character is a letter.
|
9
|
-
* Beyond the English alphabet, this solution will also work for most Greek, Armenian, Cyrillic, and Latin characters.
|
10
|
-
* But, it will not work for Chinese or Japanese characters since those languages do not have uppercase and lowercase letters.
|
11
|
-
* @alpha
|
12
|
-
*/
|
13
|
-
export function isLetter(char) {
|
14
|
-
return char.length === 1 && char.toLowerCase() !== char.toUpperCase();
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=isLetter.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"isLetter.js","sourceRoot":"","sources":["../../../../src/appui-abstract/utils/isLetter.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAY;IACnC,OAAO,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;AACxE,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Utilities\r\n */\r\n\r\n/** Uses ECMAScript case transformation (toLowerCase() and toUpperCase()) to check whether or not a given character is a letter.\r\n * Beyond the English alphabet, this solution will also work for most Greek, Armenian, Cyrillic, and Latin characters.\r\n * But, it will not work for Chinese or Japanese characters since those languages do not have uppercase and lowercase letters.\r\n * @alpha\r\n */\r\nexport function isLetter(char: string): boolean {\r\n return char.length === 1 && char.toLowerCase() !== char.toUpperCase();\r\n}\r\n"]}
|