@keymanapp/common-types 18.0.8-alpha → 18.0.10-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/import/45/cldr_info.json +5 -0
- package/build/src/import/{techpreview → 45}/keys-Zyyy-currency.xml +2 -9
- package/build/src/import/{techpreview → 45}/keys-Zyyy-punctuation.xml +3 -4
- package/build/src/kmx/kmx-builder.js +1 -1
- package/build/src/kmx/kmx-plus-builder/build-vars.js +3 -3
- package/build/src/kmx/kmx-plus-builder/build-vars.js.map +1 -1
- package/build/src/kmx/kmx-plus.d.ts +1 -1
- package/build/src/kmx/kmx-plus.d.ts.map +1 -1
- package/build/src/kmx/kmx-plus.js +7 -7
- package/build/src/kmx/kmx-plus.js.map +1 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js +5 -5
- package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js.map +1 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts +3 -3
- package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts.map +1 -1
- package/build/src/ldml-keyboard/ldml-keyboard-xml.js +3 -3
- package/build/src/ldml-keyboard/ldml-keyboard-xml.js.map +1 -1
- package/build/src/main.d.ts +1 -2
- package/build/src/main.d.ts.map +1 -1
- package/build/src/main.js +3 -4
- package/build/src/main.js.map +1 -1
- package/build/src/package/kps-file.d.ts +2 -2
- package/build/src/schemas/keyman-touch-layout.spec.js +3 -3
- package/build/src/schemas/keyman-touch-layout.spec.js.map +1 -1
- package/build/src/schemas/keyman-touch-layout.spec.validator.mjs +8 -8
- package/build/src/schemas/keyman-touch-layout.spec.validator.mjs.map +1 -1
- package/build/src/schemas/ldml-keyboard3.schema.d.ts +5 -2
- package/build/src/schemas/ldml-keyboard3.schema.d.ts.map +1 -1
- package/build/src/schemas/ldml-keyboard3.schema.js +11 -8
- package/build/src/schemas/ldml-keyboard3.schema.js.map +1 -1
- package/build/src/schemas/ldml-keyboard3.schema.validator.mjs +28 -15
- package/build/src/schemas/ldml-keyboard3.schema.validator.mjs.map +1 -1
- package/build/src/schemas/ldml-keyboardtest3.schema.d.ts +3 -0
- package/build/src/schemas/ldml-keyboardtest3.schema.d.ts.map +1 -1
- package/build/src/schemas/ldml-keyboardtest3.schema.js +6 -3
- package/build/src/schemas/ldml-keyboardtest3.schema.js.map +1 -1
- package/build/src/schemas/ldml-keyboardtest3.schema.validator.mjs +17 -4
- package/build/src/schemas/ldml-keyboardtest3.schema.validator.mjs.map +1 -1
- package/build/src/schemas.d.ts +8 -2
- package/build/src/schemas.d.ts.map +1 -1
- package/build/src/util/common-events.d.ts +7 -7
- package/build/src/util/common-events.d.ts.map +1 -1
- package/build/src/util/common-events.js +10 -10
- package/build/src/util/common-events.js.map +1 -1
- package/build/src/util/compiler-interfaces.d.ts +12 -7
- package/build/src/util/compiler-interfaces.d.ts.map +1 -1
- package/build/src/util/compiler-interfaces.js +16 -13
- package/build/src/util/compiler-interfaces.js.map +1 -1
- package/package.json +2 -2
- package/build/src/import/techpreview/cldr_info.json +0 -5
- package/build/src/osk/osk.d.ts +0 -23
- package/build/src/osk/osk.d.ts.map +0 -1
- package/build/src/osk/osk.js +0 -86
- package/build/src/osk/osk.js.map +0 -1
- /package/build/src/import/{techpreview → 45}/keys-Latn-implied.xml +0 -0
- /package/build/src/import/{techpreview → 45}/scanCodes-implied.xml +0 -0
|
@@ -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]="6c8c4e7f-6156-57ee-a9fa-873d38bb7dd5")}catch(e){}}();
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
@@ -8,10 +8,10 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
8
8
|
"obj/schemas/ldml-keyboard3.schema.validator.cjs"(exports, module) {
|
|
9
9
|
module.exports = validate20;
|
|
10
10
|
module.exports.default = validate20;
|
|
11
|
-
var schema22 = { "$schema": "http://json-schema.org/schema#", "additionalProperties": false, "definitions": { "any": { "type": "string" }, "display": { "additionalProperties": false, "properties": { "display": { "type": "string" }, "keyId": { "type": "string" }, "output": { "type": "string" } }, "required": ["display"], "type": "object" }, "displayOptions": { "additionalProperties": false, "properties": { "baseCharacter": { "type": "string" } }, "type": "object" }, "displays": { "additionalProperties": false, "properties": { "display": { "items": { "$ref": "#/definitions/display" }, "type": "array" }, "displayOptions": { "$ref": "#/definitions/displayOptions" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "flick": { "additionalProperties": false, "properties": { "flickSegment": { "items": { "$ref": "#/definitions/flickSegment" }, "minItems": 1, "type": "array" }, "id": { "type": "string" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["flickSegment", "id"], "type": "object" }, "flickSegment": { "additionalProperties": false, "properties": { "directions": { "type": "string" }, "keyId": { "type": "string" } }, "required": ["directions", "keyId"], "type": "object" }, "flicks": { "additionalProperties": false, "properties": { "flick": { "items": { "$ref": "#/definitions/flick" }, "type": "array" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "form": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "scanCodes": { "items": { "$ref": "#/definitions/scanCodes" }, "minItems": 1, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["scanCodes"], "type": "object" }, "forms": { "additionalProperties": false, "properties": { "form": { "items": { "$ref": "#/definitions/form" }, "type": "array" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "import": { "additionalProperties": false, "properties": { "base": { "enum": ["cldr"], "type": "string" }, "path": { "type": "string" } }, "required": ["path"], "type": "object" }, "info": { "additionalProperties": false, "properties": { "author": { "type": "string" }, "indicator": { "type": "string" }, "layout": { "type": "string" }, "name": { "type": "string" } }, "required": ["name"], "type": "object" }, "key": { "additionalProperties": false, "properties": { "flickId": { "type": "string" }, "gap": { "enum": ["true"], "type": "string" }, "id": { "type": "string" }, "layerId": { "type": "string" }, "longPressDefaultKeyId": { "type": "string" }, "longPressKeyIds": { "type": "string" }, "multiTapKeyIds": { "type": "string" }, "output": { "type": "string" }, "stretch": { "enum": ["true"], "type": "string" }, "width": { "type": "string" } }, "required": ["id"], "type": "object" }, "keys": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "key": { "items": { "$ref": "#/definitions/key" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "layer": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "modifiers": { "type": "string" }, "row": { "items": { "$ref": "#/definitions/row" }, "minItems": 1, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["row"], "type": "object" }, "layers": { "additionalProperties": false, "properties": { "formId": { "type": "string" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "layer": { "items": { "$ref": "#/definitions/layer" }, "type": "array" }, "minDeviceWidth": { "type": "string" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["formId"], "type": "object" }, "locale": { "additionalProperties": false, "properties": { "id": { "type": "string" } }, "required": ["id"], "type": "object" }, "locales": { "additionalProperties": false, "properties": { "locale": { "items": { "$ref": "#/definitions/locale" }, "type": "array" } }, "type": "object" }, "reorder": { "additionalProperties": false, "properties": { "before": { "type": "string" }, "from": { "type": "string" }, "order": { "type": "string" }, "preBase": { "type": "string" }, "tertiary": { "type": "string" }, "tertiaryBase": { "type": "string" } }, "required": ["from"], "type": "object" }, "row": { "additionalProperties": false, "properties": { "keys": { "type": "string" } }, "required": ["keys"], "type": "object" }, "scanCodes": { "additionalProperties": false, "properties": { "codes": { "type": "string" } }, "required": ["codes"], "type": "object" }, "set": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "value": { "type": "string" } }, "required": ["id", "value"], "type": "object" }, "settings": { "additionalProperties": false, "properties": { "normalization": { "enum": ["disabled"], "type": "string" } }, "type": "object" }, "special": { "$ref": "#/definitions/any" }, "stringVariable": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "value": { "type": "string" } }, "required": ["id", "value"], "type": "object" }, "transform": { "additionalProperties": false, "properties": { "from": { "type": "string" }, "to": { "type": "string" } }, "required": ["from"], "type": "object" }, "transformGroup": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "reorder": { "items": { "$ref": "#/definitions/reorder" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" }, "transform": { "items": { "$ref": "#/definitions/transform" }, "type": "array" } }, "type": "object" }, "transforms": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" }, "transformGroup": { "items": { "$ref": "#/definitions/transformGroup" }, "type": "array" }, "type": { "enum": ["simple", "backspace"], "type": "string" } }, "required": ["type"], "type": "object" }, "
|
|
11
|
+
var schema22 = { "$schema": "http://json-schema.org/schema#", "additionalProperties": false, "definitions": { "any": { "type": "string" }, "display": { "additionalProperties": false, "properties": { "display": { "type": "string" }, "keyId": { "type": "string" }, "output": { "type": "string" } }, "required": ["display"], "type": "object" }, "displayOptions": { "additionalProperties": false, "properties": { "baseCharacter": { "type": "string" } }, "type": "object" }, "displays": { "additionalProperties": false, "properties": { "display": { "items": { "$ref": "#/definitions/display" }, "type": "array" }, "displayOptions": { "$ref": "#/definitions/displayOptions" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "flick": { "additionalProperties": false, "properties": { "flickSegment": { "items": { "$ref": "#/definitions/flickSegment" }, "minItems": 1, "type": "array" }, "id": { "type": "string" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["flickSegment", "id"], "type": "object" }, "flickSegment": { "additionalProperties": false, "properties": { "directions": { "type": "string" }, "keyId": { "type": "string" } }, "required": ["directions", "keyId"], "type": "object" }, "flicks": { "additionalProperties": false, "properties": { "flick": { "items": { "$ref": "#/definitions/flick" }, "type": "array" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "form": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "scanCodes": { "items": { "$ref": "#/definitions/scanCodes" }, "minItems": 1, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["scanCodes"], "type": "object" }, "forms": { "additionalProperties": false, "properties": { "form": { "items": { "$ref": "#/definitions/form" }, "type": "array" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "import": { "additionalProperties": false, "properties": { "base": { "enum": ["cldr"], "type": "string" }, "path": { "type": "string" } }, "required": ["path"], "type": "object" }, "info": { "additionalProperties": false, "properties": { "author": { "type": "string" }, "indicator": { "type": "string" }, "layout": { "type": "string" }, "name": { "type": "string" } }, "required": ["name"], "type": "object" }, "key": { "additionalProperties": false, "properties": { "flickId": { "type": "string" }, "gap": { "enum": ["true"], "type": "string" }, "id": { "type": "string" }, "layerId": { "type": "string" }, "longPressDefaultKeyId": { "type": "string" }, "longPressKeyIds": { "type": "string" }, "multiTapKeyIds": { "type": "string" }, "output": { "type": "string" }, "stretch": { "enum": ["true"], "type": "string" }, "width": { "type": "string" } }, "required": ["id"], "type": "object" }, "keys": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "key": { "items": { "$ref": "#/definitions/key" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "type": "object" }, "layer": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "modifiers": { "type": "string" }, "row": { "items": { "$ref": "#/definitions/row" }, "minItems": 1, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["row"], "type": "object" }, "layers": { "additionalProperties": false, "properties": { "formId": { "type": "string" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "layer": { "items": { "$ref": "#/definitions/layer" }, "type": "array" }, "minDeviceWidth": { "type": "string" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" } }, "required": ["formId"], "type": "object" }, "locale": { "additionalProperties": false, "properties": { "id": { "type": "string" } }, "required": ["id"], "type": "object" }, "locales": { "additionalProperties": false, "properties": { "locale": { "items": { "$ref": "#/definitions/locale" }, "type": "array" } }, "type": "object" }, "reorder": { "additionalProperties": false, "properties": { "before": { "type": "string" }, "from": { "type": "string" }, "order": { "type": "string" }, "preBase": { "type": "string" }, "tertiary": { "type": "string" }, "tertiaryBase": { "type": "string" } }, "required": ["from"], "type": "object" }, "row": { "additionalProperties": false, "properties": { "keys": { "type": "string" } }, "required": ["keys"], "type": "object" }, "scanCodes": { "additionalProperties": false, "properties": { "codes": { "type": "string" } }, "required": ["codes"], "type": "object" }, "set": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "value": { "type": "string" } }, "required": ["id", "value"], "type": "object" }, "settings": { "additionalProperties": false, "properties": { "normalization": { "enum": ["disabled"], "type": "string" } }, "type": "object" }, "special": { "$ref": "#/definitions/any" }, "stringVariable": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "value": { "type": "string" } }, "required": ["id", "value"], "type": "object" }, "transform": { "additionalProperties": false, "properties": { "from": { "type": "string" }, "to": { "type": "string" } }, "required": ["from"], "type": "object" }, "transformGroup": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "reorder": { "items": { "$ref": "#/definitions/reorder" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" }, "transform": { "items": { "$ref": "#/definitions/transform" }, "type": "array" } }, "type": "object" }, "transforms": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" }, "transformGroup": { "items": { "$ref": "#/definitions/transformGroup" }, "type": "array" }, "type": { "enum": ["simple", "backspace"], "type": "string" } }, "required": ["type"], "type": "object" }, "uset": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "value": { "type": "string" } }, "required": ["id", "value"], "type": "object" }, "variables": { "additionalProperties": false, "properties": { "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "set": { "items": { "$ref": "#/definitions/set" }, "type": "array" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" }, "string": { "items": { "$ref": "#/definitions/stringVariable" }, "type": "array" }, "uset": { "items": { "$ref": "#/definitions/uset" }, "type": "array" } }, "type": "object" }, "version": { "additionalProperties": false, "properties": { "cldrVersion": { "enum": ["45"], "type": "string" }, "number": { "type": "string" } }, "type": "object" } }, "properties": { "keyboard3": { "additionalProperties": false, "properties": { "conformsTo": { "enum": ["45"], "type": "string" }, "displays": { "$ref": "#/definitions/displays" }, "flicks": { "$ref": "#/definitions/flicks" }, "forms": { "$ref": "#/definitions/forms" }, "import": { "items": { "$ref": "#/definitions/import" }, "type": "array" }, "info": { "$ref": "#/definitions/info" }, "keys": { "$ref": "#/definitions/keys" }, "layers": { "items": { "$ref": "#/definitions/layers" }, "type": "array" }, "locale": { "type": "string" }, "locales": { "$ref": "#/definitions/locales" }, "settings": { "$ref": "#/definitions/settings" }, "special": { "items": { "$ref": "#/definitions/special" }, "type": "array" }, "transforms": { "items": { "$ref": "#/definitions/transforms" }, "type": "array" }, "variables": { "$ref": "#/definitions/variables" }, "version": { "$ref": "#/definitions/version" }, "xmlns": { "type": "string" } }, "required": ["info", "locale", "conformsTo"], "type": "object" } }, "required": ["keyboard3"], "title": "45/dtd/ldmlKeyboard3.xsd", "type": "object" };
|
|
12
12
|
var schema26 = { "additionalProperties": false, "properties": { "base": { "enum": ["cldr"], "type": "string" }, "path": { "type": "string" } }, "required": ["path"], "type": "object" };
|
|
13
13
|
var schema54 = { "additionalProperties": false, "properties": { "normalization": { "enum": ["disabled"], "type": "string" } }, "type": "object" };
|
|
14
|
-
var schema70 = { "additionalProperties": false, "properties": { "cldrVersion": { "enum": ["
|
|
14
|
+
var schema70 = { "additionalProperties": false, "properties": { "cldrVersion": { "enum": ["45"], "type": "string" }, "number": { "type": "string" } }, "type": "object" };
|
|
15
15
|
var func4 = Object.prototype.hasOwnProperty;
|
|
16
16
|
function validate21(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
17
17
|
let vErrors = null;
|
|
@@ -2208,7 +2208,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2208
2208
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
2209
2209
|
const _errs1 = errors;
|
|
2210
2210
|
for (const key0 in data) {
|
|
2211
|
-
if (!(key0 === "import" || key0 === "set" || key0 === "special" || key0 === "string" || key0 === "
|
|
2211
|
+
if (!(key0 === "import" || key0 === "set" || key0 === "special" || key0 === "string" || key0 === "uset")) {
|
|
2212
2212
|
validate43.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
|
|
2213
2213
|
return false;
|
|
2214
2214
|
break;
|
|
@@ -2481,8 +2481,8 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2481
2481
|
var valid0 = true;
|
|
2482
2482
|
}
|
|
2483
2483
|
if (valid0) {
|
|
2484
|
-
if (data.
|
|
2485
|
-
let data14 = data.
|
|
2484
|
+
if (data.uset !== void 0) {
|
|
2485
|
+
let data14 = data.uset;
|
|
2486
2486
|
const _errs37 = errors;
|
|
2487
2487
|
if (errors === _errs37) {
|
|
2488
2488
|
if (Array.isArray(data14)) {
|
|
@@ -2496,14 +2496,14 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2496
2496
|
if (data15 && typeof data15 == "object" && !Array.isArray(data15)) {
|
|
2497
2497
|
let missing3;
|
|
2498
2498
|
if (data15.id === void 0 && (missing3 = "id") || data15.value === void 0 && (missing3 = "value")) {
|
|
2499
|
-
validate43.errors = [{ instancePath: instancePath + "/
|
|
2499
|
+
validate43.errors = [{ instancePath: instancePath + "/uset/" + i4, schemaPath: "#/definitions/uset/required", keyword: "required", params: { missingProperty: missing3 }, message: "must have required property '" + missing3 + "'" }];
|
|
2500
2500
|
return false;
|
|
2501
2501
|
}
|
|
2502
2502
|
else {
|
|
2503
2503
|
const _errs42 = errors;
|
|
2504
2504
|
for (const key4 in data15) {
|
|
2505
2505
|
if (!(key4 === "id" || key4 === "value")) {
|
|
2506
|
-
validate43.errors = [{ instancePath: instancePath + "/
|
|
2506
|
+
validate43.errors = [{ instancePath: instancePath + "/uset/" + i4, schemaPath: "#/definitions/uset/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key4 }, message: "must NOT have additional properties" }];
|
|
2507
2507
|
return false;
|
|
2508
2508
|
break;
|
|
2509
2509
|
}
|
|
@@ -2512,7 +2512,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2512
2512
|
if (data15.id !== void 0) {
|
|
2513
2513
|
const _errs43 = errors;
|
|
2514
2514
|
if (typeof data15.id !== "string") {
|
|
2515
|
-
validate43.errors = [{ instancePath: instancePath + "/
|
|
2515
|
+
validate43.errors = [{ instancePath: instancePath + "/uset/" + i4 + "/id", schemaPath: "#/definitions/uset/properties/id/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2516
2516
|
return false;
|
|
2517
2517
|
}
|
|
2518
2518
|
var valid14 = _errs43 === errors;
|
|
@@ -2524,7 +2524,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2524
2524
|
if (data15.value !== void 0) {
|
|
2525
2525
|
const _errs45 = errors;
|
|
2526
2526
|
if (typeof data15.value !== "string") {
|
|
2527
|
-
validate43.errors = [{ instancePath: instancePath + "/
|
|
2527
|
+
validate43.errors = [{ instancePath: instancePath + "/uset/" + i4 + "/value", schemaPath: "#/definitions/uset/properties/value/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2528
2528
|
return false;
|
|
2529
2529
|
}
|
|
2530
2530
|
var valid14 = _errs45 === errors;
|
|
@@ -2537,7 +2537,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
2539
2539
|
else {
|
|
2540
|
-
validate43.errors = [{ instancePath: instancePath + "/
|
|
2540
|
+
validate43.errors = [{ instancePath: instancePath + "/uset/" + i4, schemaPath: "#/definitions/uset/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
|
|
2541
2541
|
return false;
|
|
2542
2542
|
}
|
|
2543
2543
|
}
|
|
@@ -2548,7 +2548,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2548
2548
|
}
|
|
2549
2549
|
}
|
|
2550
2550
|
else {
|
|
2551
|
-
validate43.errors = [{ instancePath: instancePath + "/
|
|
2551
|
+
validate43.errors = [{ instancePath: instancePath + "/uset", schemaPath: "#/properties/uset/type", keyword: "type", params: { type: "array" }, message: "must be array" }];
|
|
2552
2552
|
return false;
|
|
2553
2553
|
}
|
|
2554
2554
|
}
|
|
@@ -2618,7 +2618,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
2618
2618
|
validate20.errors = [{ instancePath: instancePath + "/keyboard3/conformsTo", schemaPath: "#/properties/keyboard3/properties/conformsTo/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
2619
2619
|
return false;
|
|
2620
2620
|
}
|
|
2621
|
-
if (!(data1 === "
|
|
2621
|
+
if (!(data1 === "45")) {
|
|
2622
2622
|
validate20.errors = [{ instancePath: instancePath + "/keyboard3/conformsTo", schemaPath: "#/properties/keyboard3/properties/conformsTo/enum", keyword: "enum", params: { allowedValues: schema22.properties.keyboard3.properties.conformsTo.enum }, message: "must be equal to one of the allowed values" }];
|
|
2623
2623
|
return false;
|
|
2624
2624
|
}
|
|
@@ -3030,7 +3030,7 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
3030
3030
|
validate20.errors = [{ instancePath: instancePath + "/keyboard3/version/cldrVersion", schemaPath: "#/definitions/version/properties/cldrVersion/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
3031
3031
|
return false;
|
|
3032
3032
|
}
|
|
3033
|
-
if (!(data27 === "
|
|
3033
|
+
if (!(data27 === "45")) {
|
|
3034
3034
|
validate20.errors = [{ instancePath: instancePath + "/keyboard3/version/cldrVersion", schemaPath: "#/definitions/version/properties/cldrVersion/enum", keyword: "enum", params: { allowedValues: schema70.properties.cldrVersion.enum }, message: "must be equal to one of the allowed values" }];
|
|
3035
3035
|
return false;
|
|
3036
3036
|
}
|
|
@@ -3064,6 +3064,19 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
3064
3064
|
else {
|
|
3065
3065
|
var valid1 = true;
|
|
3066
3066
|
}
|
|
3067
|
+
if (valid1) {
|
|
3068
|
+
if (data0.xmlns !== void 0) {
|
|
3069
|
+
const _errs62 = errors;
|
|
3070
|
+
if (typeof data0.xmlns !== "string") {
|
|
3071
|
+
validate20.errors = [{ instancePath: instancePath + "/keyboard3/xmlns", schemaPath: "#/properties/keyboard3/properties/xmlns/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
|
|
3072
|
+
return false;
|
|
3073
|
+
}
|
|
3074
|
+
var valid1 = _errs62 === errors;
|
|
3075
|
+
}
|
|
3076
|
+
else {
|
|
3077
|
+
var valid1 = true;
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3067
3080
|
}
|
|
3068
3081
|
}
|
|
3069
3082
|
}
|
|
@@ -3101,5 +3114,5 @@ var require_ldml_keyboard3_schema_validator = __commonJS({
|
|
|
3101
3114
|
}
|
|
3102
3115
|
});
|
|
3103
3116
|
export default require_ldml_keyboard3_schema_validator();
|
|
3104
|
-
//# debugId=
|
|
3117
|
+
//# debugId=6c8c4e7f-6156-57ee-a9fa-873d38bb7dd5
|
|
3105
3118
|
//# sourceMappingURL=ldml-keyboard3.schema.validator.mjs.map
|