@keymanapp/common-types 17.0.228-alpha → 17.0.230-alpha
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/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts +22 -3
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts.map +1 -1
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.js +13 -11
- package/build/src/keyman-touch-layout/keyman-touch-layout-file.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="38ff2cda-086e-5fe6-84c2-f12adb63e933")}catch(e){}}();
|
|
2
2
|
export interface TouchLayoutFile {
|
|
3
3
|
tablet?: TouchLayoutPlatform;
|
|
4
4
|
phone?: TouchLayoutPlatform;
|
|
@@ -27,6 +27,10 @@ export interface TouchLayoutRow {
|
|
|
27
27
|
type Key_Type = 'T' | 'K' | 'U' | 't' | 'k' | 'u';
|
|
28
28
|
type Key_Id = string;
|
|
29
29
|
export type TouchLayoutKeyId = `${Key_Type}_${Key_Id}`;
|
|
30
|
+
/**
|
|
31
|
+
* Denotes private-use identifiers that should be considered 'reserved'.
|
|
32
|
+
*/
|
|
33
|
+
export declare const PRIVATE_USE_IDS: readonly ["T_*_MT_SHIFT_TO_CAPS", "T_*_MT_SHIFT_ROTA_TO_DEFAULT"];
|
|
30
34
|
export interface TouchLayoutKey {
|
|
31
35
|
id?: TouchLayoutKeyId;
|
|
32
36
|
text?: string;
|
|
@@ -42,12 +46,27 @@ export interface TouchLayoutKey {
|
|
|
42
46
|
multitap?: TouchLayoutSubKey[];
|
|
43
47
|
hint?: string;
|
|
44
48
|
}
|
|
45
|
-
export declare enum TouchLayoutKeySp {
|
|
49
|
+
export declare const enum TouchLayoutKeySp {
|
|
46
50
|
normal = 0,
|
|
51
|
+
/** A 'frame' key, such as Shift or Enter, which is styled accordingly; uses
|
|
52
|
+
* the 'KeymanwebOsk' font on KeymanWeb */
|
|
47
53
|
special = 1,
|
|
54
|
+
/** A 'frame' key, such as Shift or Enter, which is styled accordingly and is
|
|
55
|
+
* highlighted to indicate it is active, such as the shift key on a shift
|
|
56
|
+
* layer; uses the 'KeymanwebOsk' font on KeymanWeb */
|
|
48
57
|
specialActive = 2,
|
|
58
|
+
/** **KeymanWeb runtime private use:** a variant of `special` with the
|
|
59
|
+
* keyboard font rather than 'KeymanwebOsk' font */
|
|
60
|
+
customSpecial = 3,
|
|
61
|
+
/** **KeymanWeb runtime private use:** a variant of `specialActive` with the
|
|
62
|
+
* keyboard font rather than 'KeymanwebOsk' font. */
|
|
63
|
+
customSpecialActive = 4,
|
|
64
|
+
/** A styling signal to indicate that the key may have 'deadkey' type
|
|
65
|
+
* behaviour. */
|
|
49
66
|
deadkey = 8,
|
|
67
|
+
/** A key which is rendered as a blank keycap, blocks any interaction */
|
|
50
68
|
blank = 9,
|
|
69
|
+
/** Renders the key only as a gap or spacer, blocks any interaction */
|
|
51
70
|
spacer = 10
|
|
52
71
|
}
|
|
53
72
|
export type TouchLayoutKeyPad = number;
|
|
@@ -75,5 +94,5 @@ export interface TouchLayoutFlick {
|
|
|
75
94
|
sw?: TouchLayoutSubKey;
|
|
76
95
|
}
|
|
77
96
|
export {};
|
|
78
|
-
//# debugId=
|
|
97
|
+
//# debugId=38ff2cda-086e-5fe6-84c2-f12adb63e933
|
|
79
98
|
//# sourceMappingURL=keyman-touch-layout-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"debug_id":"
|
|
1
|
+
{"debug_id":"38ff2cda-086e-5fe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B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,CAAC,EAAE,iBAAiB,CAAC;IACtB,CAAC,CAAC,EAAE,iBAAiB,CAAC;IACtB,CAAC,CAAC,EAAE,iBAAiB,CAAC;IACtB,CAAC,CAAC,EAAE,iBAAiB,CAAC;IACtB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;IACvB,EAAE,CAAC,EAAE,iBAAiB,CAAC;CACxB","names":[],"sourceRoot":"","sources":["../../../src/keyman-touch-layout/keyman-touch-layout-file.ts"],"version":3}
|
|
@@ -6,23 +6,25 @@
|
|
|
6
6
|
// /common/schemas/keyman-touch-layout/keyman-touch-layout.clean.spec.json for
|
|
7
7
|
// writing
|
|
8
8
|
//
|
|
9
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
9
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8b5485ab-d70c-590a-979b-65e9bb0f6882")}catch(e){}}();
|
|
10
10
|
;
|
|
11
11
|
;
|
|
12
12
|
;
|
|
13
13
|
;
|
|
14
|
+
/**
|
|
15
|
+
* Denotes private-use identifiers that should be considered 'reserved'.
|
|
16
|
+
*/
|
|
17
|
+
export const PRIVATE_USE_IDS = [
|
|
18
|
+
/**
|
|
19
|
+
* Private-use identifiers used by KeymanWeb for the default multitap-into-caps-layer key
|
|
20
|
+
* for keyboards with a caps layer while not defining multitaps on shift.
|
|
21
|
+
*/
|
|
22
|
+
'T_*_MT_SHIFT_TO_CAPS',
|
|
23
|
+
'T_*_MT_SHIFT_ROTA_TO_DEFAULT'
|
|
24
|
+
];
|
|
14
25
|
;
|
|
15
|
-
export var TouchLayoutKeySp;
|
|
16
|
-
(function (TouchLayoutKeySp) {
|
|
17
|
-
TouchLayoutKeySp[TouchLayoutKeySp["normal"] = 0] = "normal";
|
|
18
|
-
TouchLayoutKeySp[TouchLayoutKeySp["special"] = 1] = "special";
|
|
19
|
-
TouchLayoutKeySp[TouchLayoutKeySp["specialActive"] = 2] = "specialActive";
|
|
20
|
-
TouchLayoutKeySp[TouchLayoutKeySp["deadkey"] = 8] = "deadkey";
|
|
21
|
-
TouchLayoutKeySp[TouchLayoutKeySp["blank"] = 9] = "blank";
|
|
22
|
-
TouchLayoutKeySp[TouchLayoutKeySp["spacer"] = 10] = "spacer";
|
|
23
|
-
})(TouchLayoutKeySp || (TouchLayoutKeySp = {}));
|
|
24
26
|
;
|
|
25
27
|
;
|
|
26
28
|
;
|
|
27
|
-
//# debugId=
|
|
29
|
+
//# debugId=8b5485ab-d70c-590a-979b-65e9bb0f6882
|
|
28
30
|
//# sourceMappingURL=keyman-touch-layout-file.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"debug_id":"
|
|
1
|
+
{"debug_id":"8b5485ab-d70c-590a-979b-65e9bb0f6882","file":"keyman-touch-layout-file.js","mappings":";AAAA,EAAE;AACF,mCAAmC;AACnC,EAAE;AACF,gFAAgF;AAChF,cAAc;AACd,8EAA8E;AAC9E,UAAU;AACV,EAAE;AAMD,CAAC;AAYD,CAAC;AAOD,CAAC;AAOD,CAAC;AAOF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;;;OAGG;IACH,sBAAsB;IACtB,8BAA8B;CACtB,CAAC;AAqBV,CAAC;AAwBD,CAAC;AAgBD,CAAC;AAWD,CAAC","names":[],"sourceRoot":"","sources":["../../../src/keyman-touch-layout/keyman-touch-layout-file.ts"],"version":3}
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"url": "https://github.com/keymanapp/keyman/issues"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@keymanapp/keyman-version": "17.0.
|
|
29
|
+
"@keymanapp/keyman-version": "17.0.230-alpha",
|
|
30
30
|
"restructure": "git+https://github.com/keymanapp/dependency-restructure.git#7a188a1e26f8f36a175d95b67ffece8702363dfc",
|
|
31
31
|
"semver": "^7.5.2",
|
|
32
32
|
"xml2js": "git+https://github.com/keymanapp/dependency-node-xml2js#535fe732dc408d697e0f847c944cc45f0baf0829"
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"test/"
|
|
81
81
|
]
|
|
82
82
|
},
|
|
83
|
-
"version": "17.0.
|
|
83
|
+
"version": "17.0.230-alpha"
|
|
84
84
|
}
|