From 44c32f89eeb0f61f07823396cb69d46569210ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Tue, 22 Mar 2022 21:07:05 +0100 Subject: [PATCH] API Docs are building --- package-lock.json | 117 +- packages/core/docs/lib.json | 2473 ++++++++++++----- packages/core/lib/types.ts | 2 +- packages/core/package-lock.json | 280 ++ packages/core/package.json | 7 +- packages/core/tsconfig.json | 10 +- packages/docgen/json-to-md.mjs | 2 +- packages/docgen/support/generate-pkg-md.mjs | 2 +- packages/docgen/ts-to-json.mjs | 6 +- packages/docs/lib/api/@schlechtenburg/core.md | 87 +- .../docs/lib/api/@schlechtenburg/heading.md | 52 +- .../docs/lib/api/@schlechtenburg/image.md | 52 +- .../docs/lib/api/@schlechtenburg/layout.md | 51 +- .../docs/lib/api/@schlechtenburg/paragraph.md | 51 +- .../lib/api/@schlechtenburg/standalone.md | 14 +- packages/docs/package.json | 4 +- packages/docs/tsconfig.json | 2 +- packages/heading/docs/lib.json | 1381 ++++++--- packages/heading/package-lock.json | 308 +- packages/heading/package.json | 14 +- packages/heading/tsconfig.json | 10 +- packages/image/docs/lib.json | 898 +++--- packages/image/package-lock.json | 308 +- packages/image/package.json | 14 +- packages/image/tsconfig.json | 10 +- packages/layout/docs/lib.json | 894 +++--- packages/layout/package-lock.json | 308 +- packages/layout/package.json | 14 +- packages/layout/tsconfig.json | 10 +- packages/paragraph/docs/lib.json | 1475 ++++++---- packages/paragraph/package-lock.json | 308 +- packages/paragraph/package.json | 14 +- packages/paragraph/tsconfig.json | 10 +- packages/standalone/docs/lib.json | 306 ++ packages/standalone/lib/vue-app-env.d.ts | 64 - packages/standalone/package-lock.json | 329 ++- packages/standalone/package.json | 11 +- packages/standalone/tsconfig.json | 10 +- tsconfig.json | 8 +- 39 files changed, 7233 insertions(+), 2683 deletions(-) create mode 100644 packages/standalone/docs/lib.json delete mode 100644 packages/standalone/lib/vue-app-env.d.ts diff --git a/package-lock.json b/package-lock.json index 293b0ef..d0d7b05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1373,6 +1373,12 @@ "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", "dev": true }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", @@ -2535,6 +2541,12 @@ "safer-buffer": "^2.1.0" } }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, "encoding": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", @@ -3507,9 +3519,9 @@ } }, "glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "requires": { "is-glob": "^4.0.1" @@ -4209,6 +4221,12 @@ "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", "dev": true }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, "is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", @@ -4364,9 +4382,9 @@ "dev": true }, "json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", "dev": true }, "json-schema-traverse": { @@ -4397,14 +4415,14 @@ "dev": true }, "jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", "dev": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.3.0", - "json-schema": "0.2.3", + "json-schema": "0.4.0", "verror": "1.10.0" } }, @@ -4642,9 +4660,9 @@ }, "dependencies": { "hosted-git-info": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", - "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", + "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -5518,9 +5536,9 @@ "dev": true }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "path-type": { @@ -6495,6 +6513,17 @@ "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==", "dev": true }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "string.prototype.trimend": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", @@ -6532,6 +6561,15 @@ } } }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -6708,9 +6746,9 @@ } }, "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true }, "trim-off-newlines": { @@ -6976,45 +7014,12 @@ "dev": true }, "wide-align": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", - "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", "dev": true, "requires": { - "string-width": "^1.0.2 || 2" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "string-width": "^1.0.2 || 2 || 3 || 4" } }, "windows-release": { diff --git a/packages/core/docs/lib.json b/packages/core/docs/lib.json index a5b2d35..6ad2660 100644 --- a/packages/core/docs/lib.json +++ b/packages/core/docs/lib.json @@ -12,22 +12,10 @@ "kind": 8, "kindString": "Enumeration", "flags": {}, + "comment": { + "shortText": "The mode the Schlechtenburg editor is currently in" + }, "children": [ - { - "id": 3, - "name": "Display", - "kind": 16, - "kindString": "Enumeration member", - "flags": {}, - "sources": [ - { - "fileName": "mode.ts", - "line": 3, - "character": 2 - } - ], - "defaultValue": "\"display\"" - }, { "id": 2, "name": "Edit", @@ -37,11 +25,26 @@ "sources": [ { "fileName": "mode.ts", - "line": 2, + "line": 5, "character": 2 } ], "defaultValue": "\"edit\"" + }, + { + "id": 3, + "name": "View", + "kind": 16, + "kindString": "Enumeration member", + "flags": {}, + "sources": [ + { + "fileName": "mode.ts", + "line": 6, + "character": 2 + } + ], + "defaultValue": "\"view\"" } ], "groups": [ @@ -49,15 +52,15 @@ "title": "Enumeration members", "kind": 16, "children": [ - 3, - 2 + 2, + 3 ] } ], "sources": [ { "fileName": "mode.ts", - "line": 1, + "line": 4, "character": 12 } ] @@ -69,7 +72,7 @@ "kindString": "Interface", "flags": {}, "comment": { - "shortText": "Schlechtenburg inputs and outputs a plain JS Object that can be JSON stringified. This is the\ninterface type for that data structure. will be the data type of the specific block being", + "shortText": "Schlechtenburg inputs and outputs a plain JS Object that can be JSON stringified. This is the\ninterface type for that data structure. `T` will be the data type of the specific block being", "tags": [ { "tag": "see", @@ -187,60 +190,6 @@ ] }, "children": [ - { - "id": 56, - "name": "display", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "types.ts", - "line": 162, - "character": 2 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 41, - "typeArguments": [ - { - "type": "reference", - "id": 57, - "name": "T" - } - ], - "name": "IBlockProps" - }, - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "reference", - "qualifiedName": "ComputedOptions", - "package": "@vue/runtime-core", - "name": "ComputedOptions" - }, - { - "type": "reference", - "qualifiedName": "MethodOptions", - "package": "@vue/runtime-core", - "name": "MethodOptions" - } - ], - "qualifiedName": "Component", - "package": "@vue/runtime-core", - "name": "Component" - } - }, { "id": 55, "name": "edit", @@ -351,6 +300,60 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 56, + "name": "view", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "types.ts", + "line": 162, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 41, + "typeArguments": [ + { + "type": "reference", + "id": 57, + "name": "T" + } + ], + "name": "IBlockProps" + }, + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "reference", + "qualifiedName": "ComputedOptions", + "package": "@vue/runtime-core", + "name": "ComputedOptions" + }, + { + "type": "reference", + "qualifiedName": "MethodOptions", + "package": "@vue/runtime-core", + "name": "MethodOptions" + } + ], + "qualifiedName": "Component", + "package": "@vue/runtime-core", + "name": "Component" + } } ], "groups": [ @@ -358,11 +361,11 @@ "title": "Properties", "kind": 1024, "children": [ - 56, 55, 54, 53, - 52 + 52, + 56 ] } ], @@ -678,6 +681,125 @@ } ] }, + { + "id": 123, + "name": "ISbMainProps", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 124, + "name": "availableBlocks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "components/Main.tsx", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 51, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockDefinition" + } + } + }, + { + "id": 125, + "name": "block", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "components/Main.tsx", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 10, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockData" + } + }, + { + "id": 127, + "name": "mode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "components/Main.tsx", + "line": 36, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "SbMode" + } + }, + { + "id": 126, + "name": "onUpdate", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "components/Main.tsx", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 15, + "name": "OnUpdateBlockCb" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 124, + 125, + 127, + 126 + ] + } + ], + "sources": [ + { + "fileName": "components/Main.tsx", + "line": 32, + "character": 17 + } + ] + }, { "id": 5, "name": "ITreeNode", @@ -1272,32 +1394,7 @@ ] }, { - "id": 4, - "name": "Mode", - "kind": 32, - "kindString": "Variable", - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "mode.ts", - "line": 5, - "character": 13 - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "id": 4, - "name": "Mode" - } - }, - "defaultValue": "..." - }, - { - "id": 162, + "id": 185, "name": "SbBlock", "kind": 32, "kindString": "Variable", @@ -1320,14 +1417,14 @@ { "type": "reflection", "declaration": { - "id": 163, + "id": 186, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 164, + "id": 187, "name": "block", "kind": 1024, "kindString": "Property", @@ -1335,14 +1432,14 @@ "type": { "type": "reflection", "declaration": { - "id": 165, + "id": 188, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 167, + "id": 190, "name": "required", "kind": 1024, "kindString": "Property", @@ -1354,7 +1451,7 @@ "defaultValue": "true" }, { - "id": 166, + "id": 189, "name": "type", "kind": 1024, "kindString": "Property", @@ -1386,8 +1483,8 @@ "title": "Properties", "kind": 1024, "children": [ - 167, - 166 + 190, + 189 ] } ] @@ -1396,7 +1493,7 @@ "defaultValue": "..." }, { - "id": 198, + "id": 221, "name": "onActivateNext", "kind": 1024, "kindString": "Property", @@ -1404,14 +1501,14 @@ "type": { "type": "reflection", "declaration": { - "id": 199, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 201, + "id": 224, "name": "default", "kind": 1024, "kindString": "Property", @@ -1419,14 +1516,14 @@ "type": { "type": "reflection", "declaration": { - "id": 202, + "id": 225, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 203, + "id": 226, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1442,7 +1539,7 @@ "defaultValue": "..." }, { - "id": 200, + "id": 223, "name": "type", "kind": 1024, "kindString": "Property", @@ -1468,8 +1565,8 @@ "title": "Properties", "kind": 1024, "children": [ - 201, - 200 + 224, + 223 ] } ] @@ -1478,7 +1575,7 @@ "defaultValue": "..." }, { - "id": 192, + "id": 215, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", @@ -1486,14 +1583,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 216, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 195, + "id": 218, "name": "default", "kind": 1024, "kindString": "Property", @@ -1501,14 +1598,14 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 197, + "id": 220, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1524,7 +1621,7 @@ "defaultValue": "..." }, { - "id": 194, + "id": 217, "name": "type", "kind": 1024, "kindString": "Property", @@ -1550,8 +1647,8 @@ "title": "Properties", "kind": 1024, "children": [ - 195, - 194 + 218, + 217 ] } ] @@ -1560,7 +1657,7 @@ "defaultValue": "..." }, { - "id": 180, + "id": 203, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", @@ -1568,14 +1665,14 @@ "type": { "type": "reflection", "declaration": { - "id": 181, + "id": 204, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 183, + "id": 206, "name": "default", "kind": 1024, "kindString": "Property", @@ -1583,14 +1680,14 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 208, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1606,7 +1703,7 @@ "defaultValue": "..." }, { - "id": 182, + "id": 205, "name": "type", "kind": 1024, "kindString": "Property", @@ -1632,8 +1729,8 @@ "title": "Properties", "kind": 1024, "children": [ - 183, - 182 + 206, + 205 ] } ] @@ -1642,7 +1739,7 @@ "defaultValue": "..." }, { - "id": 174, + "id": 197, "name": "onPrependBlock", "kind": 1024, "kindString": "Property", @@ -1650,14 +1747,14 @@ "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 177, + "id": 200, "name": "default", "kind": 1024, "kindString": "Property", @@ -1665,14 +1762,14 @@ "type": { "type": "reflection", "declaration": { - "id": 178, + "id": 201, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 179, + "id": 202, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1688,7 +1785,7 @@ "defaultValue": "..." }, { - "id": 176, + "id": 199, "name": "type", "kind": 1024, "kindString": "Property", @@ -1714,8 +1811,8 @@ "title": "Properties", "kind": 1024, "children": [ - 177, - 176 + 200, + 199 ] } ] @@ -1724,7 +1821,7 @@ "defaultValue": "..." }, { - "id": 186, + "id": 209, "name": "onRemoveSelf", "kind": 1024, "kindString": "Property", @@ -1732,14 +1829,14 @@ "type": { "type": "reflection", "declaration": { - "id": 187, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 212, "name": "default", "kind": 1024, "kindString": "Property", @@ -1747,14 +1844,14 @@ "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 213, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 191, + "id": 214, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1770,7 +1867,7 @@ "defaultValue": "..." }, { - "id": 188, + "id": 211, "name": "type", "kind": 1024, "kindString": "Property", @@ -1796,8 +1893,8 @@ "title": "Properties", "kind": 1024, "children": [ - 189, - 188 + 212, + 211 ] } ] @@ -1806,7 +1903,7 @@ "defaultValue": "..." }, { - "id": 168, + "id": 191, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -1814,14 +1911,14 @@ "type": { "type": "reflection", "declaration": { - "id": 169, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 171, + "id": 194, "name": "default", "kind": 1024, "kindString": "Property", @@ -1829,14 +1926,14 @@ "type": { "type": "reflection", "declaration": { - "id": 172, + "id": 195, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 173, + "id": 196, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1852,7 +1949,7 @@ "defaultValue": "..." }, { - "id": 170, + "id": 193, "name": "type", "kind": 1024, "kindString": "Property", @@ -1878,8 +1975,8 @@ "title": "Properties", "kind": 1024, "children": [ - 171, - 170 + 194, + 193 ] } ] @@ -1893,13 +1990,13 @@ "title": "Properties", "kind": 1024, "children": [ - 164, - 198, - 192, - 180, - 174, - 186, - 168 + 187, + 221, + 215, + 203, + 197, + 209, + 191 ] } ] @@ -1908,14 +2005,14 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 227, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 228, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1937,7 +2034,7 @@ { "type": "reflection", "declaration": { - "id": 206, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1947,7 +2044,7 @@ { "type": "reflection", "declaration": { - "id": 207, + "id": 230, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1996,106 +2093,577 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 208, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 232, "name": "block", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 10, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "IBlockData" - } + "type": "reflection", + "declaration": { + "id": 233, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 235, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": true + }, + "defaultValue": "true" + }, + { + "id": 234, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 235, + 234 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 215, + "id": 266, "name": "onActivateNext", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 38, - "name": "OnActivateNextCb" - } + "type": "reflection", + "declaration": { + "id": 267, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 269, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 270, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 271, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 268, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 38, + "name": "OnActivateNextCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 269, + 268 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 214, + "id": 260, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 35, - "name": "OnActivatePreviousCb" - } + "type": "reflection", + "declaration": { + "id": 261, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 263, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 264, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 265, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 262, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 35, + "name": "OnActivatePreviousCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 263, + 262 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 212, + "id": 248, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 28, - "name": "OnAppendBlockCb" - } + "type": "reflection", + "declaration": { + "id": 249, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 251, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 252, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 253, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 250, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 28, + "name": "OnAppendBlockCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 251, + 250 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 211, + "id": 242, "name": "onPrependBlock", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 24, - "name": "OnPrependBlockCb" - } + "type": "reflection", + "declaration": { + "id": 243, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 245, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 246, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 247, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 244, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 24, + "name": "OnPrependBlockCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 245, + 244 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 213, + "id": 254, "name": "onRemoveSelf", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 32, - "name": "OnRemoveSelfCb" - } + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 257, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 258, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 259, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 256, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 32, + "name": "OnRemoveSelfCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 257, + 256 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 210, + "id": 236, "name": "onUpdate", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 15, - "name": "OnUpdateBlockCb" - } + "type": "reflection", + "declaration": { + "id": 237, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 239, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 240, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 241, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 238, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 15, + "name": "OnUpdateBlockCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 239, + 238 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -2103,29 +2671,22 @@ "title": "Properties", "kind": 1024, "children": [ - 209, - 215, - 214, - 212, - 211, - 213, - 210 + 232, + 266, + 260, + 248, + 242, + 254, + 236 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 216, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -2135,14 +2696,14 @@ { "type": "reflection", "declaration": { - "id": 217, + "id": 272, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 223, + "id": 278, "name": "onActivateNext", "kind": 1024, "kindString": "Property", @@ -2154,7 +2715,7 @@ } }, { - "id": 222, + "id": 277, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", @@ -2166,7 +2727,7 @@ } }, { - "id": 220, + "id": 275, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", @@ -2178,7 +2739,7 @@ } }, { - "id": 219, + "id": 274, "name": "onPrependBlock", "kind": 1024, "kindString": "Property", @@ -2190,7 +2751,7 @@ } }, { - "id": 221, + "id": 276, "name": "onRemoveSelf", "kind": 1024, "kindString": "Property", @@ -2202,7 +2763,7 @@ } }, { - "id": 218, + "id": 273, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -2219,12 +2780,12 @@ "title": "Properties", "kind": 1024, "children": [ - 223, - 222, - 220, - 219, - 221, - 218 + 278, + 277, + 275, + 274, + 276, + 273 ] } ] @@ -2238,7 +2799,7 @@ "defaultValue": "..." }, { - "id": 241, + "id": 300, "name": "SbBlockOrdering", "kind": 32, "kindString": "Variable", @@ -2258,14 +2819,14 @@ { "type": "reflection", "declaration": { - "id": 242, + "id": 301, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 253, + "id": 312, "name": "onMoveBackward", "kind": 1024, "kindString": "Property", @@ -2273,14 +2834,14 @@ "type": { "type": "reflection", "declaration": { - "id": 254, + "id": 313, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 256, + "id": 315, "name": "default", "kind": 1024, "kindString": "Property", @@ -2288,14 +2849,14 @@ "type": { "type": "reflection", "declaration": { - "id": 257, + "id": 316, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 258, + "id": 317, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -2311,7 +2872,7 @@ "defaultValue": "..." }, { - "id": 255, + "id": 314, "name": "type", "kind": 1024, "kindString": "Property", @@ -2330,8 +2891,8 @@ "title": "Properties", "kind": 1024, "children": [ - 256, - 255 + 315, + 314 ] } ] @@ -2340,7 +2901,7 @@ "defaultValue": "..." }, { - "id": 259, + "id": 318, "name": "onMoveForward", "kind": 1024, "kindString": "Property", @@ -2348,14 +2909,14 @@ "type": { "type": "reflection", "declaration": { - "id": 260, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 262, + "id": 321, "name": "default", "kind": 1024, "kindString": "Property", @@ -2363,14 +2924,14 @@ "type": { "type": "reflection", "declaration": { - "id": 263, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 264, + "id": 323, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -2386,7 +2947,7 @@ "defaultValue": "..." }, { - "id": 261, + "id": 320, "name": "type", "kind": 1024, "kindString": "Property", @@ -2405,8 +2966,8 @@ "title": "Properties", "kind": 1024, "children": [ - 262, - 261 + 321, + 320 ] } ] @@ -2415,7 +2976,7 @@ "defaultValue": "..." }, { - "id": 247, + "id": 306, "name": "onRemove", "kind": 1024, "kindString": "Property", @@ -2423,14 +2984,14 @@ "type": { "type": "reflection", "declaration": { - "id": 248, + "id": 307, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 309, "name": "default", "kind": 1024, "kindString": "Property", @@ -2438,14 +2999,14 @@ "type": { "type": "reflection", "declaration": { - "id": 251, + "id": 310, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 252, + "id": 311, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -2461,7 +3022,7 @@ "defaultValue": "..." }, { - "id": 249, + "id": 308, "name": "type", "kind": 1024, "kindString": "Property", @@ -2480,8 +3041,8 @@ "title": "Properties", "kind": 1024, "children": [ - 250, - 249 + 309, + 308 ] } ] @@ -2490,7 +3051,7 @@ "defaultValue": "..." }, { - "id": 243, + "id": 302, "name": "orientation", "kind": 1024, "kindString": "Property", @@ -2498,14 +3059,14 @@ "type": { "type": "reflection", "declaration": { - "id": 244, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 246, + "id": 305, "name": "default", "kind": 1024, "kindString": "Property", @@ -2517,7 +3078,7 @@ "defaultValue": "null" }, { - "id": 245, + "id": 304, "name": "type", "kind": 1024, "kindString": "Property", @@ -2536,8 +3097,8 @@ "title": "Properties", "kind": 1024, "children": [ - 246, - 245 + 305, + 304 ] } ] @@ -2551,10 +3112,10 @@ "title": "Properties", "kind": 1024, "children": [ - 253, - 259, - 247, - 243 + 312, + 318, + 306, + 302 ] } ] @@ -2563,14 +3124,14 @@ { "type": "reflection", "declaration": { - "id": 265, + "id": 324, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 266, + "id": 325, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -2592,7 +3153,7 @@ { "type": "reflection", "declaration": { - "id": 267, + "id": 326, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2602,7 +3163,7 @@ { "type": "reflection", "declaration": { - "id": 268, + "id": 327, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2651,66 +3212,297 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 269, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 272, + "id": 339, "name": "onMoveBackward", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } + "type": "reflection", + "declaration": { + "id": 340, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 342, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 343, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 344, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 341, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "FunctionConstructor", + "package": "typescript", + "name": "FunctionConstructor" + }, + "defaultValue": "Function" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 342, + 341 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 273, + "id": 345, "name": "onMoveForward", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } + "type": "reflection", + "declaration": { + "id": 346, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 348, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 349, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 350, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 347, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "FunctionConstructor", + "package": "typescript", + "name": "FunctionConstructor" + }, + "defaultValue": "Function" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 348, + 347 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 271, + "id": 333, "name": "onRemove", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 336, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 337, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 338, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 335, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "FunctionConstructor", + "package": "typescript", + "name": "FunctionConstructor" + }, + "defaultValue": "Function" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 336, + 335 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 270, + "id": 329, "name": "orientation", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reflection", + "declaration": { + "id": 330, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 332, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 331, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "StringConstructor", + "package": "typescript", + "name": "StringConstructor" + }, + "defaultValue": "String" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 332, + 331 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -2718,26 +3510,19 @@ "title": "Properties", "kind": 1024, "children": [ - 272, - 273, - 271, - 270 + 339, + 345, + 333, + 329 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 274, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -2747,14 +3532,14 @@ { "type": "reflection", "declaration": { - "id": 275, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 278, + "id": 354, "name": "onMoveBackward", "kind": 1024, "kindString": "Property", @@ -2767,7 +3552,7 @@ } }, { - "id": 279, + "id": 355, "name": "onMoveForward", "kind": 1024, "kindString": "Property", @@ -2780,7 +3565,7 @@ } }, { - "id": 277, + "id": 353, "name": "onRemove", "kind": 1024, "kindString": "Property", @@ -2793,7 +3578,7 @@ } }, { - "id": 276, + "id": 352, "name": "orientation", "kind": 1024, "kindString": "Property", @@ -2809,10 +3594,10 @@ "title": "Properties", "kind": 1024, "children": [ - 278, - 279, - 277, - 276 + 354, + 355, + 353, + 352 ] } ] @@ -2826,7 +3611,7 @@ "defaultValue": "..." }, { - "id": 224, + "id": 279, "name": "SbBlockPicker", "kind": 32, "kindString": "Variable", @@ -2846,14 +3631,14 @@ { "type": "reflection", "declaration": { - "id": 225, + "id": 280, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 226, + "id": 281, "name": "onPickedBlock", "kind": 1024, "kindString": "Property", @@ -2861,14 +3646,14 @@ "type": { "type": "reflection", "declaration": { - "id": 227, + "id": 282, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 229, + "id": 284, "name": "default", "kind": 1024, "kindString": "Property", @@ -2876,14 +3661,14 @@ "type": { "type": "reflection", "declaration": { - "id": 230, + "id": 285, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 231, + "id": 286, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -2899,7 +3684,7 @@ "defaultValue": "..." }, { - "id": 228, + "id": 283, "name": "type", "kind": 1024, "kindString": "Property", @@ -2918,8 +3703,8 @@ "title": "Properties", "kind": 1024, "children": [ - 229, - 228 + 284, + 283 ] } ] @@ -2933,7 +3718,7 @@ "title": "Properties", "kind": 1024, "children": [ - 226 + 281 ] } ] @@ -2942,14 +3727,14 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 287, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 233, + "id": 288, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -2971,7 +3756,7 @@ { "type": "reflection", "declaration": { - "id": 234, + "id": 289, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2981,7 +3766,7 @@ { "type": "reflection", "declaration": { - "id": 235, + "id": 290, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3030,29 +3815,91 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 236, + "id": 291, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 237, + "id": 292, "name": "onPickedBlock", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } + "type": "reflection", + "declaration": { + "id": 293, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 295, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 296, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 297, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 294, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "FunctionConstructor", + "package": "typescript", + "name": "FunctionConstructor" + }, + "defaultValue": "Function" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 295, + 294 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -3060,23 +3907,16 @@ "title": "Properties", "kind": 1024, "children": [ - 237 + 292 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 238, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -3086,14 +3926,14 @@ { "type": "reflection", "declaration": { - "id": 239, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 240, + "id": 299, "name": "onPickedBlock", "kind": 1024, "kindString": "Property", @@ -3111,7 +3951,7 @@ "title": "Properties", "kind": 1024, "children": [ - 240 + 299 ] } ] @@ -3125,7 +3965,7 @@ "defaultValue": "..." }, { - "id": 280, + "id": 356, "name": "SbBlockPlaceholder", "kind": 32, "kindString": "Variable", @@ -3154,14 +3994,14 @@ { "type": "reflection", "declaration": { - "id": 281, + "id": 357, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 282, + "id": 358, "name": "onInsertBlock", "kind": 1024, "kindString": "Property", @@ -3169,14 +4009,14 @@ "type": { "type": "reflection", "declaration": { - "id": 283, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 285, + "id": 361, "name": "default", "kind": 1024, "kindString": "Property", @@ -3184,14 +4024,14 @@ "type": { "type": "reflection", "declaration": { - "id": 286, + "id": 362, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 287, + "id": 363, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -3207,7 +4047,7 @@ "defaultValue": "..." }, { - "id": 284, + "id": 360, "name": "type", "kind": 1024, "kindString": "Property", @@ -3226,8 +4066,8 @@ "title": "Properties", "kind": 1024, "children": [ - 285, - 284 + 361, + 360 ] } ] @@ -3241,7 +4081,7 @@ "title": "Properties", "kind": 1024, "children": [ - 282 + 358 ] } ] @@ -3250,14 +4090,14 @@ { "type": "reflection", "declaration": { - "id": 288, + "id": 364, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 289, + "id": 365, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -3279,7 +4119,7 @@ { "type": "reflection", "declaration": { - "id": 290, + "id": 366, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3289,7 +4129,7 @@ { "type": "reflection", "declaration": { - "id": 291, + "id": 367, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3338,29 +4178,91 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 292, + "id": 368, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 293, + "id": 369, "name": "onInsertBlock", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } + "type": "reflection", + "declaration": { + "id": 370, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 372, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 374, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 371, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "FunctionConstructor", + "package": "typescript", + "name": "FunctionConstructor" + }, + "defaultValue": "Function" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 372, + 371 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -3368,23 +4270,16 @@ "title": "Properties", "kind": 1024, "children": [ - 293 + 369 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 294, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -3394,14 +4289,14 @@ { "type": "reflection", "declaration": { - "id": 295, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 296, + "id": 376, "name": "onInsertBlock", "kind": 1024, "kindString": "Property", @@ -3419,7 +4314,7 @@ "title": "Properties", "kind": 1024, "children": [ - 296 + 376 ] } ] @@ -3433,7 +4328,7 @@ "defaultValue": "..." }, { - "id": 307, + "id": 386, "name": "SbButton", "kind": 32, "kindString": "Variable", @@ -3462,7 +4357,7 @@ { "type": "reflection", "declaration": { - "id": 308, + "id": 387, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3472,14 +4367,14 @@ { "type": "reflection", "declaration": { - "id": 309, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 310, + "id": 389, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -3497,7 +4392,7 @@ { "type": "reflection", "declaration": { - "id": 311, + "id": 390, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3507,7 +4402,7 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3517,7 +4412,7 @@ { "type": "reflection", "declaration": { - "id": 313, + "id": 392, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3556,29 +4451,22 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 314, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 315, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {} } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -3588,7 +4476,7 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 394, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3603,7 +4491,7 @@ "defaultValue": "..." }, { - "id": 123, + "id": 128, "name": "SbMain", "kind": 32, "kindString": "Variable", @@ -3612,8 +4500,8 @@ }, "sources": [ { - "fileName": "components/Schlechtenburg.tsx", - "line": 32, + "fileName": "components/Main.tsx", + "line": 41, "character": 13 } ], @@ -3623,14 +4511,14 @@ { "type": "reflection", "declaration": { - "id": 124, + "id": 129, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 125, + "id": 130, "name": "availableBlocks", "kind": 1024, "kindString": "Property", @@ -3638,14 +4526,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 131, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 128, + "id": 133, "name": "default", "kind": 1024, "kindString": "Property", @@ -3653,14 +4541,14 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 134, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 130, + "id": 135, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -3679,7 +4567,7 @@ "defaultValue": "..." }, { - "id": 127, + "id": 132, "name": "type", "kind": 1024, "kindString": "Property", @@ -3714,8 +4602,8 @@ "title": "Properties", "kind": 1024, "children": [ - 128, - 127 + 133, + 132 ] } ] @@ -3724,7 +4612,7 @@ "defaultValue": "..." }, { - "id": 131, + "id": 136, "name": "block", "kind": 1024, "kindString": "Property", @@ -3732,14 +4620,14 @@ "type": { "type": "reflection", "declaration": { - "id": 132, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 134, + "id": 139, "name": "required", "kind": 1024, "kindString": "Property", @@ -3751,7 +4639,7 @@ "defaultValue": "true" }, { - "id": 133, + "id": 138, "name": "type", "kind": 1024, "kindString": "Property", @@ -3783,8 +4671,8 @@ "title": "Properties", "kind": 1024, "children": [ - 134, - 133 + 139, + 138 ] } ] @@ -3793,7 +4681,7 @@ "defaultValue": "..." }, { - "id": 141, + "id": 146, "name": "mode", "kind": 1024, "kindString": "Property", @@ -3801,14 +4689,14 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 147, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 147, + "id": 152, "name": "default", "kind": 1024, "kindString": "Property", @@ -3821,7 +4709,7 @@ "defaultValue": "SbMode.Edit" }, { - "id": 143, + "id": 148, "name": "type", "kind": 1024, "kindString": "Property", @@ -3842,28 +4730,28 @@ "defaultValue": "..." }, { - "id": 144, + "id": 149, "name": "validator", "kind": 2048, "kindString": "Method", "flags": {}, "sources": [ { - "fileName": "components/Schlechtenburg.tsx", - "line": 49, + "fileName": "components/Main.tsx", + "line": 64, "character": 6 } ], "signatures": [ { - "id": 145, + "id": 150, "name": "validator", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 146, + "id": 151, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3887,15 +4775,15 @@ "title": "Properties", "kind": 1024, "children": [ - 147, - 143 + 152, + 148 ] }, { "title": "Methods", "kind": 2048, "children": [ - 144 + 149 ] } ] @@ -3904,7 +4792,7 @@ "defaultValue": "..." }, { - "id": 135, + "id": 140, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -3912,14 +4800,14 @@ "type": { "type": "reflection", "declaration": { - "id": 136, + "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 138, + "id": 143, "name": "default", "kind": 1024, "kindString": "Property", @@ -3927,14 +4815,14 @@ "type": { "type": "reflection", "declaration": { - "id": 139, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 140, + "id": 145, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -3950,18 +4838,25 @@ "defaultValue": "..." }, { - "id": 137, + "id": 142, "name": "type", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "qualifiedName": "FunctionConstructor", - "package": "typescript", - "name": "FunctionConstructor" + "typeArguments": [ + { + "type": "reference", + "id": 15, + "name": "OnUpdateBlockCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" }, - "defaultValue": "Function" + "defaultValue": "..." } ], "groups": [ @@ -3969,8 +4864,8 @@ "title": "Properties", "kind": 1024, "children": [ - 138, - 137 + 143, + 142 ] } ] @@ -3984,10 +4879,10 @@ "title": "Properties", "kind": 1024, "children": [ - 125, - 131, - 141, - 135 + 130, + 136, + 146, + 140 ] } ] @@ -3996,14 +4891,14 @@ { "type": "reflection", "declaration": { - "id": 148, + "id": 153, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 149, + "id": 154, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -4025,7 +4920,7 @@ { "type": "reflection", "declaration": { - "id": 150, + "id": 155, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4035,7 +4930,7 @@ { "type": "reflection", "declaration": { - "id": 151, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4084,96 +4979,8 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 152, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 154, - "name": "availableBlocks", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 51, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "IBlockDefinition" - } - } - }, - { - "id": 153, - "name": "block", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 10, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "IBlockData" - } - }, - { - "id": 156, - "name": "mode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 1, - "name": "SbMode" - } - }, - { - "id": 155, - "name": "onUpdate", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 154, - 153, - 156, - 155 - ] - } - ] - } - }, + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { @@ -4181,10 +4988,383 @@ "name": "__type", "kind": 65536, "kindString": "Type literal", - "flags": {} + "flags": {}, + "children": [ + { + "id": 158, + "name": "availableBlocks", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 161, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 162, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 163, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 160, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "id": 51, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockDefinition" + } + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 161, + 160 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 164, + "name": "block", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": true + }, + "defaultValue": "true" + }, + { + "id": 166, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 10, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 167, + 166 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 174, + "name": "mode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 175, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 180, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 1, + "name": "SbMode" + }, + "defaultValue": "SbMode.Edit" + }, + { + "id": 176, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1, + "name": "SbMode" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + }, + { + "id": 177, + "name": "validator", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "components/Main.tsx", + "line": 64, + "character": 6 + } + ], + "signatures": [ + { + "id": 178, + "name": "validator", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 179, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 180, + 176 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 177 + ] + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 168, + "name": "onUpdate", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 171, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 172, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 173, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 170, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 15, + "name": "OnUpdateBlockCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 171, + 170 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 158, + 164, + 174, + 168 + ] + } + ] } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -4194,14 +5374,14 @@ { "type": "reflection", "declaration": { - "id": 158, + "id": 181, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 182, "name": "availableBlocks", "kind": 1024, "kindString": "Property", @@ -4222,7 +5402,7 @@ } }, { - "id": 161, + "id": 184, "name": "mode", "kind": 1024, "kindString": "Property", @@ -4234,16 +5414,15 @@ } }, { - "id": 160, + "id": 183, "name": "onUpdate", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" + "id": 15, + "name": "OnUpdateBlockCb" } } ], @@ -4252,9 +5431,9 @@ "title": "Properties", "kind": 1024, "children": [ - 159, - 161, - 160 + 182, + 184, + 183 ] } ] @@ -4268,7 +5447,7 @@ "defaultValue": "..." }, { - "id": 317, + "id": 395, "name": "SbSelect", "kind": 32, "kindString": "Variable", @@ -4297,7 +5476,7 @@ { "type": "reflection", "declaration": { - "id": 318, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4307,14 +5486,14 @@ { "type": "reflection", "declaration": { - "id": 319, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 320, + "id": 398, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -4332,7 +5511,7 @@ { "type": "reflection", "declaration": { - "id": 321, + "id": 399, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4342,7 +5521,7 @@ { "type": "reflection", "declaration": { - "id": 322, + "id": 400, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4352,7 +5531,7 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 401, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4391,29 +5570,22 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 324, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 325, + "id": 402, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {} } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -4423,7 +5595,7 @@ { "type": "reflection", "declaration": { - "id": 326, + "id": 403, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4438,7 +5610,7 @@ "defaultValue": "..." }, { - "id": 297, + "id": 377, "name": "SbToolbar", "kind": 32, "kindString": "Variable", @@ -4467,7 +5639,7 @@ { "type": "reflection", "declaration": { - "id": 298, + "id": 378, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4477,14 +5649,14 @@ { "type": "reflection", "declaration": { - "id": 299, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 300, + "id": 380, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -4502,7 +5674,7 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 381, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4512,7 +5684,7 @@ { "type": "reflection", "declaration": { - "id": 302, + "id": 382, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4522,7 +5694,7 @@ { "type": "reflection", "declaration": { - "id": 303, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4561,29 +5733,22 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { - "id": 304, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 305, + "id": 384, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {} } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -4593,7 +5758,7 @@ { "type": "reflection", "declaration": { - "id": 306, + "id": 385, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4643,7 +5808,7 @@ "sources": [ { "fileName": "use-resize-observer.ts", - "line": 16, + "line": 17, "character": 13 } ], @@ -4693,7 +5858,7 @@ "sources": [ { "fileName": "use-resize-observer.ts", - "line": 17, + "line": 18, "character": 13 } ], @@ -4707,6 +5872,31 @@ }, "defaultValue": "..." }, + { + "id": 4, + "name": "SymMode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "mode.ts", + "line": 8, + "character": 13 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "id": 4, + "name": "SymMode" + } + }, + "defaultValue": "..." + }, { "id": 73, "name": "blockProps", @@ -5270,7 +6460,7 @@ "sources": [ { "fileName": "use-resize-observer.ts", - "line": 49, + "line": 52, "character": 16 } ], @@ -5499,7 +6689,7 @@ "sources": [ { "fileName": "use-resize-observer.ts", - "line": 18, + "line": 19, "character": 16 } ], @@ -5653,6 +6843,7 @@ 51, 58, 41, + 123, 5 ] }, @@ -5673,19 +6864,19 @@ "title": "Variables", "kind": 32, "children": [ - 4, - 162, - 241, - 224, - 280, - 307, - 123, - 317, - 297, + 185, + 300, + 279, + 356, + 386, + 128, + 395, + 377, 96, 121, 106, 122, + 4, 73, 69 ] diff --git a/packages/core/lib/types.ts b/packages/core/lib/types.ts index 08c7bd9..7373df5 100644 --- a/packages/core/lib/types.ts +++ b/packages/core/lib/types.ts @@ -15,7 +15,7 @@ export interface ITreeNode { /** * Schlechtenburg inputs and outputs a plain JS Object that can be JSON stringified. This is the - * interface type for that data structure. <T> will be the data type of the specific block being + * interface type for that data structure. `T` will be the data type of the specific block being * * @see SbMain */ diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 085ed9d..63c864f 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -469,6 +469,215 @@ "source-map": "^0.6.1" } }, + "@vue/compiler-dom": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz", + "integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==", + "dev": true, + "requires": { + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-sfc": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz", + "integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-ssr": "3.2.31", + "@vue/reactivity-transform": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7", + "postcss": "^8.1.10", + "source-map": "^0.6.1" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-ssr": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz", + "integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.31.tgz", + "integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==", + "dev": true, + "requires": { + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity-transform": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz", + "integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/runtime-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.31.tgz", + "integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==", + "dev": true, + "requires": { + "@vue/reactivity": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/runtime-dom": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz", + "integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==", + "dev": true, + "requires": { + "@vue/runtime-core": "3.2.31", + "@vue/shared": "3.2.31", + "csstype": "^2.6.8" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/server-renderer": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.31.tgz", + "integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==", + "dev": true, + "requires": { + "@vue/compiler-ssr": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, "@vue/shared": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz", @@ -775,6 +984,12 @@ "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", "dev": true }, + "csstype": { + "version": "2.6.20", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.20.tgz", + "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==", + "dev": true + }, "de-indent": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", @@ -962,6 +1177,15 @@ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", "dev": true }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1001,6 +1225,12 @@ "thenify-all": "^1.0.0" } }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true + }, "node-unique-machine-id": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/node-unique-machine-id/-/node-unique-machine-id-1.1.0.tgz", @@ -1047,12 +1277,29 @@ } } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -1098,6 +1345,18 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true + }, "string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -1195,6 +1454,27 @@ "integrity": "sha512-9r2DOv4YMXL/WBTBB6zxde93hmg6AM7thr7GMR6c5LvPxXe/lwD8gsrJGe0tha4CUvoz86ElUieThGVpM+4PLg==", "dev": true }, + "vue": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.31.tgz", + "integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-sfc": "3.2.31", + "@vue/runtime-dom": "3.2.31", + "@vue/server-renderer": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, "wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", diff --git a/packages/core/package.json b/packages/core/package.json index c877ef3..96f6980 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -7,7 +7,7 @@ "license": "GPL-3.0-or-later", "main": "lib/index.ts", "scripts": { - "dev": "json-to-md:watch", + "dev": "npm run json-to-md:watch", "typecheck": "vuedx-typecheck --no-pretty ./lib", "ts-to-json:build": "ts-to-json", "json-to-md:build": "json-to-md build", @@ -34,13 +34,14 @@ "uuid": "^8.3.2" }, "peerDependencies": { - "vue": "^3.0.7" + "vue": "^3.2.31" }, "devDependencies": { "@schlechtenburg/docgen": "^0.0.0", "@types/lodash-es": "^4.17.4", "@types/uuid": "^8.3.0", "@vuedx/typecheck": "^0.6.3", - "@vuedx/typescript-plugin-vue": "^0.6.3" + "@vuedx/typescript-plugin-vue": "^0.6.3", + "vue": "^3.2.31" } } diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index d95e44e..50aca66 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.json", - "typedocOptions": { - "entryPoints": ["lib/index.ts"], - "json": "docs" - } + "include": [ + "lib/**/*.ts", + "lib/**/*.d.ts", + "lib/**/*.tsx", + "lib/**/*.vue" + ] } diff --git a/packages/docgen/json-to-md.mjs b/packages/docgen/json-to-md.mjs index f00cb18..9a0c422 100755 --- a/packages/docgen/json-to-md.mjs +++ b/packages/docgen/json-to-md.mjs @@ -27,6 +27,7 @@ const TS_DOCS_FILE_PATH = join(PKG_DIR, 'docs', 'lib.json'); const apiDocsDir = resolve(PKG_DIR, '..', `docs/lib/api/${pkgSpace}`); const readTransFormAndWriteOut = async () => { + console.log(`Got update for ${pkgName}`); const components = JSON.parse(await readFile(COMPONENT_DOCS_FILE_PATH)); const lib = JSON.parse(await readFile(TS_DOCS_FILE_PATH)); @@ -44,7 +45,6 @@ const TS_DOCS_FILE_PATH = join(PKG_DIR, 'docs', 'lib.json'); const componentWatcher = watch(COMPONENT_DOCS_FILE_PATH); const libWatcher = watch(TS_DOCS_FILE_PATH); for await (const event of combine([componentWatcher, libWatcher])) { - console.log(`Got update for ${pkgName}`); debounce(readTransFormAndWriteOut, 500); } return; diff --git a/packages/docgen/support/generate-pkg-md.mjs b/packages/docgen/support/generate-pkg-md.mjs index 6b20297..3777638 100644 --- a/packages/docgen/support/generate-pkg-md.mjs +++ b/packages/docgen/support/generate-pkg-md.mjs @@ -46,7 +46,7 @@ ${docs.comment?.shortText || ''} - **Members** ${(docs.children || []) - .map((child) => ` - \`${child.name}\`: \`${child.type?.name}\``) + .map((child) => ` - **${child.name}**: \`${child.type?.name}\``) .join('\n')} `; diff --git a/packages/docgen/ts-to-json.mjs b/packages/docgen/ts-to-json.mjs index 70a7ca8..e81a1eb 100755 --- a/packages/docgen/ts-to-json.mjs +++ b/packages/docgen/ts-to-json.mjs @@ -22,8 +22,12 @@ const transformTSDocs = (docs) => { const getTSDocs = async (outputFile) => { const app = new TypeDoc.Application(); app.options.addReader(new TypeDoc.TSConfigReader()); + app.bootstrap({ + entryPoints: ['lib/index.ts'], + json: 'docs', + excludeExternals: true, + }); - app.bootstrap(); const project = app.convert(); await app.generateJson(project, outputFile); const data = JSON.parse(await readFile(outputFile)); diff --git a/packages/docs/lib/api/@schlechtenburg/core.md b/packages/docs/lib/api/@schlechtenburg/core.md index a234f14..d450ebe 100644 --- a/packages/docs/lib/api/@schlechtenburg/core.md +++ b/packages/docs/lib/api/@schlechtenburg/core.md @@ -2,7 +2,7 @@ ## SbMode - +The mode the Schlechtenburg editor is currently in - **Type** ``` @@ -10,13 +10,13 @@ ``` - **Members** - - `Display`: `undefined` - - `Edit`: `undefined` + - **Edit**: `undefined` + - **View**: `undefined` ## IBlockData<T> Schlechtenburg inputs and outputs a plain JS Object that can be JSON stringified. This is the -interface type for that data structure. will be the data type of the specific block being +interface type for that data structure. `T` will be the data type of the specific block being - **Type** ``` @@ -24,9 +24,9 @@ interface type for that data structure. will be the data type of the specifi ``` - **Members** - - `data`: `T` - - `id`: `string` - - `name`: `string` + - **data**: `T` + - **id**: `string` + - **name**: `string` ## IBlockDefinition<T> @@ -38,11 +38,11 @@ Any Block that you create ``` - **Members** - - `display`: `Component` - - `edit`: `Component` - - `getDefaultData`: `T` - - `icon`: `string` - - `name`: `string` + - **edit**: `Component` + - **getDefaultData**: `T` + - **icon**: `string` + - **name**: `string` + - **view**: `Component` ## IBlockLibrary @@ -66,14 +66,29 @@ Any Block that you create ``` - **Members** - - `blockId`: `string` - - `data`: `T` - - `onActivateNext`: `OnActivateNextCb` - - `onActivatePrevious`: `OnActivatePreviousCb` - - `onAppendBlock`: `OnAppendBlockCb` - - `onPrependBlock`: `OnPrependBlockCb` - - `onRemoveSelf`: `OnRemoveSelfCb` - - `onUpdate`: `OnUpdateSelfCb` + - **blockId**: `string` + - **data**: `T` + - **onActivateNext**: `OnActivateNextCb` + - **onActivatePrevious**: `OnActivatePreviousCb` + - **onAppendBlock**: `OnAppendBlockCb` + - **onPrependBlock**: `OnPrependBlockCb` + - **onRemoveSelf**: `OnRemoveSelfCb` + - **onUpdate**: `OnUpdateSelfCb` + +## ISbMainProps + + + +- **Type** + ``` + Interface + ``` + +- **Members** + - **availableBlocks**: `undefined` + - **block**: `IBlockData` + - **mode**: `SbMode` + - **onUpdate**: `OnUpdateBlockCb` ## ITreeNode @@ -86,10 +101,10 @@ This is useful for e.g. the tree select component in the editor header. ``` - **Members** - - `children`: `undefined` - - `icon`: `string` - - `id`: `string` - - `name`: `string` + - **children**: `undefined` + - **icon**: `string` + - **id**: `string` + - **name**: `string` ## OnActivateNextCb @@ -175,18 +190,6 @@ This is useful for e.g. the tree select component in the editor header. - **Members** -## Mode - - - -- **Type** - ``` - Variable - ``` - -- **Members** - - ## SbBlock Displays a Schlechtenburg block either the mode of the schlechtenburg instance. @@ -577,6 +580,18 @@ Toolbar in the schlechtenburg theme +- **Type** + ``` + Variable + ``` + +- **Members** + + +## SymMode + + + - **Type** ``` Variable diff --git a/packages/docs/lib/api/@schlechtenburg/heading.md b/packages/docs/lib/api/@schlechtenburg/heading.md index 404c921..47871e9 100644 --- a/packages/docs/lib/api/@schlechtenburg/heading.md +++ b/packages/docs/lib/api/@schlechtenburg/heading.md @@ -1,6 +1,50 @@ - +# @schlechtenburg/heading - +## IHeadingData + + +- **Type** + ``` + Interface + ``` + +- **Members** + - **align**: `string` + - **level**: `number` + - **value**: `string` + +## default + + + +- **Type** + ``` + Property + ``` + +- **Members** + + +## name + + + +- **Type** + ``` + Variable + ``` + +- **Members** + + +## getDefaultData + + + +- **Type** + ``` + Function + ``` + +- **Members** \ No newline at end of file diff --git a/packages/docs/lib/api/@schlechtenburg/image.md b/packages/docs/lib/api/@schlechtenburg/image.md index 65f1db6..7e01bca 100644 --- a/packages/docs/lib/api/@schlechtenburg/image.md +++ b/packages/docs/lib/api/@schlechtenburg/image.md @@ -1,6 +1,50 @@ - +# @schlechtenburg/image - +## IImageData + + +- **Type** + ``` + Interface + ``` + +- **Members** + - **alt**: `string` + - **description**: `IBlockData` + - **src**: `string` + +## default + + + +- **Type** + ``` + Property + ``` + +- **Members** + + +## name + + + +- **Type** + ``` + Variable + ``` + +- **Members** + + +## getDefaultData + + + +- **Type** + ``` + Function + ``` + +- **Members** \ No newline at end of file diff --git a/packages/docs/lib/api/@schlechtenburg/layout.md b/packages/docs/lib/api/@schlechtenburg/layout.md index ff7e1be..dcd7cd0 100644 --- a/packages/docs/lib/api/@schlechtenburg/layout.md +++ b/packages/docs/lib/api/@schlechtenburg/layout.md @@ -1,6 +1,49 @@ - +# @schlechtenburg/layout - +## ILayoutData + + +- **Type** + ``` + Interface + ``` + +- **Members** + - **children**: `undefined` + - **orientation**: `string` + +## default + + + +- **Type** + ``` + Property + ``` + +- **Members** + + +## name + + + +- **Type** + ``` + Variable + ``` + +- **Members** + + +## getDefaultData + + + +- **Type** + ``` + Function + ``` + +- **Members** \ No newline at end of file diff --git a/packages/docs/lib/api/@schlechtenburg/paragraph.md b/packages/docs/lib/api/@schlechtenburg/paragraph.md index a5d7c0d..2cb8a50 100644 --- a/packages/docs/lib/api/@schlechtenburg/paragraph.md +++ b/packages/docs/lib/api/@schlechtenburg/paragraph.md @@ -1,6 +1,49 @@ - +# @schlechtenburg/paragraph - +## IParagraphData + + +- **Type** + ``` + Interface + ``` + +- **Members** + - **align**: `string` + - **value**: `string` + +## default + + + +- **Type** + ``` + Property + ``` + +- **Members** + + +## name + + + +- **Type** + ``` + Variable + ``` + +- **Members** + + +## getDefaultData + + + +- **Type** + ``` + Function + ``` + +- **Members** \ No newline at end of file diff --git a/packages/docs/lib/api/@schlechtenburg/standalone.md b/packages/docs/lib/api/@schlechtenburg/standalone.md index b001299..936609d 100644 --- a/packages/docs/lib/api/@schlechtenburg/standalone.md +++ b/packages/docs/lib/api/@schlechtenburg/standalone.md @@ -1,6 +1,12 @@ - +# @schlechtenburg/standalone - +## startSchlechtenburg + + +- **Type** + ``` + Function + ``` + +- **Members** \ No newline at end of file diff --git a/packages/docs/package.json b/packages/docs/package.json index a4c82ea..82f8c83 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -23,9 +23,7 @@ "scripts": { "dev": "vitepress dev lib", "build": "vitepress build lib", - "serve": "vitepress serve lib", - "json-to-md:watch": "json-to-md", - "json-to-md:build": "json-to-md" + "serve": "vitepress serve lib" }, "dependencies": { "@schlechtenburg/standalone": "^0.0.0", diff --git a/packages/docs/tsconfig.json b/packages/docs/tsconfig.json index 6f83eb6..4082f16 100644 --- a/packages/docs/tsconfig.json +++ b/packages/docs/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "../../tsconfig.json", + "extends": "../../tsconfig.json" } diff --git a/packages/heading/docs/lib.json b/packages/heading/docs/lib.json index e215427..7c9cf40 100644 --- a/packages/heading/docs/lib.json +++ b/packages/heading/docs/lib.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 90, + "id": 126, "name": "IHeadingData", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 92, + "id": 128, "name": "align", "kind": 1024, "kindString": "Property", @@ -32,7 +32,7 @@ } }, { - "id": 93, + "id": 129, "name": "level", "kind": 1024, "kindString": "Property", @@ -50,7 +50,7 @@ } }, { - "id": 91, + "id": 127, "name": "value", "kind": 1024, "kindString": "Property", @@ -73,9 +73,9 @@ "title": "Properties", "kind": 1024, "children": [ - 92, - 93, - 91 + 128, + 129, + 127 ] } ], @@ -102,349 +102,6 @@ "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 70, - "name": "display", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 71, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 72, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 73, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 75, - "name": "default", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 76, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 77, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "id": 90, - "name": "IHeadingData" - } - } - ] - } - }, - "defaultValue": "getDefaultData" - }, - { - "id": 74, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 90, - "name": "IHeadingData" - } - ], - "qualifiedName": "PropType", - "package": "@vue/runtime-core", - "name": "PropType" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 75, - 74 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 72 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 78, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 79, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "RendererNode", - "package": "@vue/runtime-core", - "name": "RendererNode" - }, - { - "type": "reference", - "qualifiedName": "RendererElement", - "package": "@vue/runtime-core", - "name": "RendererElement" - }, - { - "type": "reflection", - "declaration": { - "id": 80, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 81, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 82, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - ], - "qualifiedName": "VNode", - "package": "@vue/runtime-core", - "name": "VNode" - } - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 83, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 84, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "qualifiedName": "PublicProps", - "package": "@vue/runtime-core", - "name": "PublicProps" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 85, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 86, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 90, - "name": "IHeadingData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 86 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 87, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ], - "qualifiedName": "Readonly", - "package": "typescript", - "name": "Readonly" - }, - { - "type": "reflection", - "declaration": { - "id": 88, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 89, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 90, - "name": "IHeadingData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 89 - ] - } - ] - } - } - ], - "qualifiedName": "DefineComponent", - "package": "@vue/runtime-core", - "name": "DefineComponent" - }, - "defaultValue": "..." - }, { "id": 8, "name": "edit", @@ -557,7 +214,7 @@ "flags": {}, "type": { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } } @@ -577,7 +234,7 @@ "typeArguments": [ { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } ], @@ -986,7 +643,7 @@ "typeArguments": [ { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } ], @@ -1123,8 +780,8 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { @@ -1141,83 +798,549 @@ "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reflection", + "declaration": { + "id": 56, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": true + }, + "defaultValue": "true" + }, + { + "id": 57, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "StringConstructor", + "package": "typescript", + "name": "StringConstructor" + }, + "defaultValue": "String" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 58, + 57 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 56, + "id": 59, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 90, - "name": "IHeadingData" - } + "type": "reflection", + "declaration": { + "id": 60, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 62, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 63, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 64, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 61, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 62, + 61 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 60, + "id": 83, "name": "onActivateNext", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "name": "OnActivateNextCb" - } + "type": "reflection", + "declaration": { + "id": 84, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 86, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 87, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 88, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 85, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "OnActivateNextCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 86, + 85 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 61, + "id": 89, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "name": "OnActivatePreviousCb" - } + "type": "reflection", + "declaration": { + "id": 90, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 92, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 93, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 94, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 91, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "OnActivatePreviousCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 92, + 91 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 58, + "id": 71, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "name": "OnAppendBlockCb" - } + "type": "reflection", + "declaration": { + "id": 72, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 74, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 75, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 76, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 73, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "OnAppendBlockCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 74, + 73 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 59, + "id": 77, "name": "onRemoveSelf", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "name": "OnRemoveSelfCb" - } + "type": "reflection", + "declaration": { + "id": 78, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 80, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 81, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 82, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 79, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "OnRemoveSelfCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 80, + 79 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 57, + "id": 65, "name": "onUpdate", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 90, - "name": "IHeadingData" - } - ], - "name": "OnUpdateSelfCb" - } + "type": "reflection", + "declaration": { + "id": 66, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 68, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 69, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 70, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 67, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + ], + "name": "OnUpdateSelfCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 68, + 67 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -1226,28 +1349,21 @@ "kind": 1024, "children": [ 55, - 56, - 60, - 61, - 58, 59, - 57 + 83, + 89, + 71, + 77, + 65 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 62, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -1257,26 +1373,26 @@ { "type": "reflection", "declaration": { - "id": 63, + "id": 95, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 64, + "id": 96, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } }, { - "id": 68, + "id": 100, "name": "onActivateNext", "kind": 1024, "kindString": "Property", @@ -1287,7 +1403,7 @@ } }, { - "id": 69, + "id": 101, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", @@ -1298,7 +1414,7 @@ } }, { - "id": 66, + "id": 98, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", @@ -1309,7 +1425,7 @@ } }, { - "id": 67, + "id": 99, "name": "onRemoveSelf", "kind": 1024, "kindString": "Property", @@ -1320,7 +1436,7 @@ } }, { - "id": 65, + "id": 97, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -1330,7 +1446,7 @@ "typeArguments": [ { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } ], @@ -1343,12 +1459,12 @@ "title": "Properties", "kind": 1024, "children": [ - 64, - 68, - 69, - 66, - 67, - 65 + 96, + 100, + 101, + 98, + 99, + 97 ] } ] @@ -1384,7 +1500,7 @@ "flags": {}, "type": { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } } @@ -1402,6 +1518,413 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 102, + "name": "view", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 103, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 104, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 105, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 107, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 108, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 109, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 106, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 107, + 106 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 104 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 110, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 111, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "RendererNode", + "package": "@vue/runtime-core", + "name": "RendererNode" + }, + { + "type": "reference", + "qualifiedName": "RendererElement", + "package": "@vue/runtime-core", + "name": "RendererElement" + }, + { + "type": "reflection", + "declaration": { + "id": 112, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 113, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 114, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ], + "qualifiedName": "VNode", + "package": "@vue/runtime-core", + "name": "VNode" + } + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 115, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reflection", + "declaration": { + "id": 116, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "qualifiedName": "PublicProps", + "package": "@vue/runtime-core", + "name": "PublicProps" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 117, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 118, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 119, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 121, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 122, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 123, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 120, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 121, + 120 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 118 + ] + } + ] + } + } + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" + } + ], + "qualifiedName": "Readonly", + "package": "typescript", + "name": "Readonly" + }, + { + "type": "reflection", + "declaration": { + "id": 124, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 125, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 126, + "name": "IHeadingData" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 125 + ] + } + ] + } + } + ], + "qualifiedName": "DefineComponent", + "package": "@vue/runtime-core", + "name": "DefineComponent" + }, + "defaultValue": "..." } ], "groups": [ @@ -1409,10 +1932,10 @@ "title": "Properties", "kind": 1024, "children": [ - 70, 8, 5, - 4 + 4, + 102 ] } ] @@ -1441,7 +1964,7 @@ "defaultValue": "'sb-heading'" }, { - "id": 94, + "id": 130, "name": "getDefaultData", "kind": 64, "kindString": "Function", @@ -1455,14 +1978,14 @@ ], "signatures": [ { - "id": 95, + "id": 131, "name": "getDefaultData", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "reference", - "id": 90, + "id": 126, "name": "IHeadingData" } } @@ -1474,7 +1997,7 @@ "title": "Interfaces", "kind": 256, "children": [ - 90 + 126 ] }, { @@ -1495,7 +2018,7 @@ "title": "Functions", "kind": 64, "children": [ - 94 + 130 ] } ], diff --git a/packages/heading/package-lock.json b/packages/heading/package-lock.json index 8cf0844..b09735c 100644 --- a/packages/heading/package-lock.json +++ b/packages/heading/package-lock.json @@ -134,7 +134,8 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true }, "@babel/highlight": { "version": "7.16.10", @@ -169,7 +170,8 @@ "@babel/parser": { "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.9.tgz", - "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==" + "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==", + "dev": true }, "@babel/template": { "version": "7.16.7", @@ -227,6 +229,7 @@ "version": "7.13.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz", "integrity": "sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -436,6 +439,7 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.7.tgz", "integrity": "sha512-JFohgBXoyUc3mdeI2WxlhjQZ5fakfemJkZHX8Gu/nFbEg3+lKVUZmNKWmmnp9aOzJQZKoj77LjmFxiP+P+7lMQ==", + "dev": true, "requires": { "@babel/parser": "^7.12.0", "@babel/types": "^7.12.0", @@ -445,45 +449,219 @@ } }, "@vue/compiler-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.7.tgz", - "integrity": "sha512-VnIH9EbWQm/Tkcp+8dCaNVsVvhm/vxCrIKWRkXY9215hTqOqQOvejT8IMjd2kc++nIsYMsdQk6H9qqBvoLe/Cw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz", + "integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==", + "dev": true, "requires": { - "@vue/compiler-core": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-sfc": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz", + "integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-ssr": "3.2.31", + "@vue/reactivity-transform": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7", + "postcss": "^8.1.10", + "source-map": "^0.6.1" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-ssr": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz", + "integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/reactivity": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.7.tgz", - "integrity": "sha512-FotWcNNaKhqpFZrdgsUOZ1enlJ5lhTt01CNTtLSyK7jYFgZBTuw8vKsEutZKDYZ1XKotOfoeO8N3pZQqmM6Etw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.31.tgz", + "integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==", + "dev": true, "requires": { - "@vue/shared": "3.0.7" + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity-transform": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz", + "integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-core": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.7.tgz", - "integrity": "sha512-DBAZAwVvdmMXuyd6/9qqj/kYr/GaLTmn1L2/QLxLwP+UfhIboiTSBc/tUUb8MRk7Bb98GzNeAWkkT6AfooS3dQ==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.31.tgz", + "integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==", + "dev": true, "requires": { - "@vue/reactivity": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/reactivity": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.7.tgz", - "integrity": "sha512-Oij4ruOtnpQpCj+/Q3JPzgpTJ1Q7+N67pA53A8KVITEtxfvKL46NN6dhAZ5NGqwX6RWZpYqWQNewITeF0pHr8g==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz", + "integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==", + "dev": true, "requires": { - "@vue/runtime-core": "3.0.7", - "@vue/shared": "3.0.7", + "@vue/runtime-core": "3.2.31", + "@vue/shared": "3.2.31", "csstype": "^2.6.8" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/server-renderer": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.31.tgz", + "integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==", + "dev": true, + "requires": { + "@vue/compiler-ssr": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/shared": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz", - "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==" + "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==", + "dev": true }, "@vuedx/analyze": { "version": "0.6.3", @@ -786,9 +964,10 @@ "dev": true }, "csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.20", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.20.tgz", + "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==", + "dev": true }, "de-indent": { "version": "1.0.2", @@ -826,7 +1005,8 @@ "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true }, "fast-glob": { "version": "3.2.11", @@ -959,7 +1139,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lru-cache": { "version": "6.0.0", @@ -976,6 +1157,15 @@ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", "dev": true }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1015,6 +1205,12 @@ "thenify-all": "^1.0.0" } }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true + }, "node-unique-machine-id": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/node-unique-machine-id/-/node-unique-machine-id-1.1.0.tgz", @@ -1061,12 +1257,29 @@ } } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -1109,7 +1322,20 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true }, "string-width": { "version": "4.2.3", @@ -1161,7 +1387,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -1209,13 +1436,24 @@ "dev": true }, "vue": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.0.7.tgz", - "integrity": "sha512-8h4TikD+JabbMK9aRlBO4laG0AtNHRPHynxYgWZ9sq1YUPfzynd9Jeeb27XNyZytC7aCQRX9xe1+TQJuc181Tw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.31.tgz", + "integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==", + "dev": true, "requires": { - "@vue/compiler-dom": "3.0.7", - "@vue/runtime-dom": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-sfc": "3.2.31", + "@vue/runtime-dom": "3.2.31", + "@vue/server-renderer": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "wrap-ansi": { diff --git a/packages/heading/package.json b/packages/heading/package.json index fd94fae..c714371 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -11,7 +11,8 @@ "test": "__tests__" }, "files": [ - "lib" + "lib", + "docs" ], "publishConfig": { "access": "public" @@ -21,21 +22,24 @@ "url": "git@git.b12f.io:b12f/schlechtenburg.git" }, "scripts": { - "dev": "json-to-md:watch", + "dev": "npm run json-to-md:watch", "typecheck": "vuedx-typecheck --no-pretty ./lib", "ts-to-json:build": "ts-to-json", "json-to-md:build": "json-to-md build", "json-to-md:watch": "json-to-md watch", "test": "echo \"Error: run tests from root\" && exit 1" }, + "peerDependencies": { + "vue": "^3.2.31" + }, "dependencies": { "@schlechtenburg/core": "^0.0.0", - "@schlechtenburg/paragraph": "^0.0.0", - "vue": "^3.0.7" + "@schlechtenburg/paragraph": "^0.0.0" }, "devDependencies": { "@schlechtenburg/docgen": "^0.0.0", "@vuedx/typecheck": "^0.6.3", - "@vuedx/typescript-plugin-vue": "^0.6.3" + "@vuedx/typescript-plugin-vue": "^0.6.3", + "vue": "^3.2.31" } } diff --git a/packages/heading/tsconfig.json b/packages/heading/tsconfig.json index d95e44e..50aca66 100644 --- a/packages/heading/tsconfig.json +++ b/packages/heading/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.json", - "typedocOptions": { - "entryPoints": ["lib/index.ts"], - "json": "docs" - } + "include": [ + "lib/**/*.ts", + "lib/**/*.d.ts", + "lib/**/*.tsx", + "lib/**/*.vue" + ] } diff --git a/packages/image/docs/lib.json b/packages/image/docs/lib.json index bfd6afd..8db6741 100644 --- a/packages/image/docs/lib.json +++ b/packages/image/docs/lib.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 50, + "id": 63, "name": "IImageData", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 52, + "id": 65, "name": "alt", "kind": 1024, "kindString": "Property", @@ -32,7 +32,7 @@ } }, { - "id": 53, + "id": 66, "name": "description", "kind": 1024, "kindString": "Property", @@ -56,7 +56,7 @@ } }, { - "id": 51, + "id": 64, "name": "src", "kind": 1024, "kindString": "Property", @@ -79,9 +79,9 @@ "title": "Properties", "kind": 1024, "children": [ - 52, - 53, - 51 + 65, + 66, + 64 ] } ], @@ -108,302 +108,6 @@ "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 33, - "name": "display", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 34, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 35, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 36, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 38, - "name": "default", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 39, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 40, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "id": 50, - "name": "IImageData" - } - } - ] - } - }, - "defaultValue": "getDefaultData" - }, - { - "id": 37, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 50, - "name": "IImageData" - } - ], - "qualifiedName": "PropType", - "package": "@vue/runtime-core", - "name": "PropType" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 38, - 37 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 35 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 41, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 42, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "global.JSX.Element", - "package": "@vue/runtime-dom", - "name": "Element" - } - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 43, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 44, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "qualifiedName": "PublicProps", - "package": "@vue/runtime-core", - "name": "PublicProps" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 45, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 46, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 50, - "name": "IImageData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 46 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 47, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ], - "qualifiedName": "Readonly", - "package": "typescript", - "name": "Readonly" - }, - { - "type": "reflection", - "declaration": { - "id": 48, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 49, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 50, - "name": "IImageData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 49 - ] - } - ] - } - } - ], - "qualifiedName": "DefineComponent", - "package": "@vue/runtime-core", - "name": "DefineComponent" - }, - "defaultValue": "..." - }, { "id": 8, "name": "edit", @@ -460,7 +164,7 @@ "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } } @@ -480,7 +184,7 @@ "typeArguments": [ { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } ], @@ -565,7 +269,7 @@ "typeArguments": [ { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } ], @@ -697,8 +401,8 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { @@ -709,16 +413,87 @@ "flags": {}, "children": [ { - "id": 28, + "id": 33, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 50, - "name": "IImageData" - } + "type": "reflection", + "declaration": { + "id": 34, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 36, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 38, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "IImageData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 35, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "IImageData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 36, + 35 + ] + } + ] + } + }, + "defaultValue": "..." }, { "id": 27, @@ -727,16 +502,86 @@ "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 50, - "name": "IImageData" - } - ], - "name": "OnUpdateSelfCb" - } + "type": "reflection", + "declaration": { + "id": 28, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 30, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 32, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 29, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "IImageData" + } + ], + "name": "OnUpdateSelfCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 30, + 29 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -744,24 +589,17 @@ "title": "Properties", "kind": 1024, "children": [ - 28, + 33, 27 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 29, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -771,26 +609,26 @@ { "type": "reflection", "declaration": { - "id": 30, + "id": 39, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 32, + "id": 41, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } }, { - "id": 31, + "id": 40, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -800,7 +638,7 @@ "typeArguments": [ { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } ], @@ -813,8 +651,8 @@ "title": "Properties", "kind": 1024, "children": [ - 32, - 31 + 41, + 40 ] } ] @@ -850,7 +688,7 @@ "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } } @@ -868,6 +706,366 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 42, + "name": "view", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 44, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 45, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 47, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 48, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 49, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "IImageData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 46, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "IImageData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 47, + 46 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 44 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 50, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 51, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "global.JSX.Element", + "package": "@vue/runtime-dom", + "name": "Element" + } + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 52, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "qualifiedName": "PublicProps", + "package": "@vue/runtime-core", + "name": "PublicProps" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 54, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 55, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 56, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 60, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "IImageData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 57, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "IImageData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 58, + 57 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 55 + ] + } + ] + } + } + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" + } + ], + "qualifiedName": "Readonly", + "package": "typescript", + "name": "Readonly" + }, + { + "type": "reflection", + "declaration": { + "id": 61, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 62, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "IImageData" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 62 + ] + } + ] + } + } + ], + "qualifiedName": "DefineComponent", + "package": "@vue/runtime-core", + "name": "DefineComponent" + }, + "defaultValue": "..." } ], "groups": [ @@ -875,10 +1073,10 @@ "title": "Properties", "kind": 1024, "children": [ - 33, 8, 5, - 4 + 4, + 42 ] } ] @@ -907,7 +1105,7 @@ "defaultValue": "'sb-image'" }, { - "id": 54, + "id": 67, "name": "getDefaultData", "kind": 64, "kindString": "Function", @@ -921,14 +1119,14 @@ ], "signatures": [ { - "id": 55, + "id": 68, "name": "getDefaultData", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "IImageData" } } @@ -940,7 +1138,7 @@ "title": "Interfaces", "kind": 256, "children": [ - 50 + 63 ] }, { @@ -961,7 +1159,7 @@ "title": "Functions", "kind": 64, "children": [ - 54 + 67 ] } ], diff --git a/packages/image/package-lock.json b/packages/image/package-lock.json index 8fd2a41..e887930 100644 --- a/packages/image/package-lock.json +++ b/packages/image/package-lock.json @@ -134,7 +134,8 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true }, "@babel/highlight": { "version": "7.16.10", @@ -169,7 +170,8 @@ "@babel/parser": { "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.9.tgz", - "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==" + "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==", + "dev": true }, "@babel/template": { "version": "7.16.7", @@ -227,6 +229,7 @@ "version": "7.13.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz", "integrity": "sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -436,6 +439,7 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.7.tgz", "integrity": "sha512-JFohgBXoyUc3mdeI2WxlhjQZ5fakfemJkZHX8Gu/nFbEg3+lKVUZmNKWmmnp9aOzJQZKoj77LjmFxiP+P+7lMQ==", + "dev": true, "requires": { "@babel/parser": "^7.12.0", "@babel/types": "^7.12.0", @@ -445,45 +449,219 @@ } }, "@vue/compiler-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.7.tgz", - "integrity": "sha512-VnIH9EbWQm/Tkcp+8dCaNVsVvhm/vxCrIKWRkXY9215hTqOqQOvejT8IMjd2kc++nIsYMsdQk6H9qqBvoLe/Cw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz", + "integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==", + "dev": true, "requires": { - "@vue/compiler-core": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-sfc": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz", + "integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-ssr": "3.2.31", + "@vue/reactivity-transform": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7", + "postcss": "^8.1.10", + "source-map": "^0.6.1" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-ssr": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz", + "integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/reactivity": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.7.tgz", - "integrity": "sha512-FotWcNNaKhqpFZrdgsUOZ1enlJ5lhTt01CNTtLSyK7jYFgZBTuw8vKsEutZKDYZ1XKotOfoeO8N3pZQqmM6Etw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.31.tgz", + "integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==", + "dev": true, "requires": { - "@vue/shared": "3.0.7" + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity-transform": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz", + "integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-core": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.7.tgz", - "integrity": "sha512-DBAZAwVvdmMXuyd6/9qqj/kYr/GaLTmn1L2/QLxLwP+UfhIboiTSBc/tUUb8MRk7Bb98GzNeAWkkT6AfooS3dQ==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.31.tgz", + "integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==", + "dev": true, "requires": { - "@vue/reactivity": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/reactivity": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.7.tgz", - "integrity": "sha512-Oij4ruOtnpQpCj+/Q3JPzgpTJ1Q7+N67pA53A8KVITEtxfvKL46NN6dhAZ5NGqwX6RWZpYqWQNewITeF0pHr8g==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz", + "integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==", + "dev": true, "requires": { - "@vue/runtime-core": "3.0.7", - "@vue/shared": "3.0.7", + "@vue/runtime-core": "3.2.31", + "@vue/shared": "3.2.31", "csstype": "^2.6.8" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/server-renderer": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.31.tgz", + "integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==", + "dev": true, + "requires": { + "@vue/compiler-ssr": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/shared": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz", - "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==" + "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==", + "dev": true }, "@vuedx/analyze": { "version": "0.6.3", @@ -786,9 +964,10 @@ "dev": true }, "csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.20", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.20.tgz", + "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==", + "dev": true }, "de-indent": { "version": "1.0.2", @@ -826,7 +1005,8 @@ "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true }, "fast-glob": { "version": "3.2.11", @@ -959,7 +1139,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lru-cache": { "version": "6.0.0", @@ -976,6 +1157,15 @@ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", "dev": true }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1015,6 +1205,12 @@ "thenify-all": "^1.0.0" } }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true + }, "node-unique-machine-id": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/node-unique-machine-id/-/node-unique-machine-id-1.1.0.tgz", @@ -1061,12 +1257,29 @@ } } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -1109,7 +1322,20 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true }, "string-width": { "version": "4.2.3", @@ -1161,7 +1387,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -1209,13 +1436,24 @@ "dev": true }, "vue": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.0.7.tgz", - "integrity": "sha512-8h4TikD+JabbMK9aRlBO4laG0AtNHRPHynxYgWZ9sq1YUPfzynd9Jeeb27XNyZytC7aCQRX9xe1+TQJuc181Tw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.31.tgz", + "integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==", + "dev": true, "requires": { - "@vue/compiler-dom": "3.0.7", - "@vue/runtime-dom": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-sfc": "3.2.31", + "@vue/runtime-dom": "3.2.31", + "@vue/server-renderer": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "wrap-ansi": { diff --git a/packages/image/package.json b/packages/image/package.json index b146980..cf20b14 100644 --- a/packages/image/package.json +++ b/packages/image/package.json @@ -11,7 +11,8 @@ "test": "__tests__" }, "files": [ - "lib" + "lib", + "docs" ], "publishConfig": { "access": "public" @@ -21,21 +22,24 @@ "url": "git@git.b12f.io:b12f/schlechtenburg.git" }, "scripts": { - "dev": "json-to-md:watch", + "dev": "npm run json-to-md:watch", "typecheck": "vuedx-typecheck --no-pretty ./lib", "ts-to-json:build": "ts-to-json", "json-to-md:build": "json-to-md build", "json-to-md:watch": "json-to-md watch", "test": "echo \"Error: run tests from root\" && exit 1" }, + "peerDependencies": { + "vue": "^3.2.31" + }, "dependencies": { "@schlechtenburg/core": "^0.0.0", - "@schlechtenburg/paragraph": "^0.0.0", - "vue": "^3.0.7" + "@schlechtenburg/paragraph": "^0.0.0" }, "devDependencies": { "@vuedx/typecheck": "^0.6.3", "@vuedx/typescript-plugin-vue": "^0.6.3", - "@schlechtenburg/docgen": "^0.0.0" + "@schlechtenburg/docgen": "^0.0.0", + "vue": "^3.2.31" } } diff --git a/packages/image/tsconfig.json b/packages/image/tsconfig.json index d95e44e..50aca66 100644 --- a/packages/image/tsconfig.json +++ b/packages/image/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.json", - "typedocOptions": { - "entryPoints": ["lib/index.ts"], - "json": "docs" - } + "include": [ + "lib/**/*.ts", + "lib/**/*.d.ts", + "lib/**/*.tsx", + "lib/**/*.vue" + ] } diff --git a/packages/layout/docs/lib.json b/packages/layout/docs/lib.json index 2f07969..88195ff 100644 --- a/packages/layout/docs/lib.json +++ b/packages/layout/docs/lib.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 50, + "id": 63, "name": "ILayoutData", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 52, + "id": 65, "name": "children", "kind": 1024, "kindString": "Property", @@ -41,7 +41,7 @@ } }, { - "id": 51, + "id": 64, "name": "orientation", "kind": 1024, "kindString": "Property", @@ -64,8 +64,8 @@ "title": "Properties", "kind": 1024, "children": [ - 52, - 51 + 65, + 64 ] } ], @@ -92,302 +92,6 @@ "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 33, - "name": "display", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 34, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 35, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 36, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 38, - "name": "default", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 39, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 40, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "id": 50, - "name": "ILayoutData" - } - } - ] - } - }, - "defaultValue": "getDefaultData" - }, - { - "id": 37, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 50, - "name": "ILayoutData" - } - ], - "qualifiedName": "PropType", - "package": "@vue/runtime-core", - "name": "PropType" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 38, - 37 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 35 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 41, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 42, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "global.JSX.Element", - "package": "@vue/runtime-dom", - "name": "Element" - } - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 43, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 44, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "qualifiedName": "PublicProps", - "package": "@vue/runtime-core", - "name": "PublicProps" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 45, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 46, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 50, - "name": "ILayoutData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 46 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 47, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ], - "qualifiedName": "Readonly", - "package": "typescript", - "name": "Readonly" - }, - { - "type": "reflection", - "declaration": { - "id": 48, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 49, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 50, - "name": "ILayoutData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 49 - ] - } - ] - } - } - ], - "qualifiedName": "DefineComponent", - "package": "@vue/runtime-core", - "name": "DefineComponent" - }, - "defaultValue": "..." - }, { "id": 8, "name": "edit", @@ -444,7 +148,7 @@ "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } } @@ -464,7 +168,7 @@ "typeArguments": [ { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } ], @@ -549,7 +253,7 @@ "typeArguments": [ { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } ], @@ -681,8 +385,8 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { @@ -693,16 +397,87 @@ "flags": {}, "children": [ { - "id": 28, + "id": 33, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 50, - "name": "ILayoutData" - } + "type": "reflection", + "declaration": { + "id": 34, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 36, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 38, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 35, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 36, + 35 + ] + } + ] + } + }, + "defaultValue": "..." }, { "id": 27, @@ -711,16 +486,86 @@ "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 50, - "name": "ILayoutData" - } - ], - "name": "OnUpdateSelfCb" - } + "type": "reflection", + "declaration": { + "id": 28, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 30, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 32, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 29, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + ], + "name": "OnUpdateSelfCb" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 30, + 29 + ] + } + ] + } + }, + "defaultValue": "..." } ], "groups": [ @@ -728,24 +573,17 @@ "title": "Properties", "kind": 1024, "children": [ - 28, + 33, 27 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 29, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -755,26 +593,26 @@ { "type": "reflection", "declaration": { - "id": 30, + "id": 39, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 32, + "id": 41, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } }, { - "id": 31, + "id": 40, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -784,7 +622,7 @@ "typeArguments": [ { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } ], @@ -797,8 +635,8 @@ "title": "Properties", "kind": 1024, "children": [ - 32, - 31 + 41, + 40 ] } ] @@ -834,7 +672,7 @@ "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } } @@ -852,6 +690,366 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 42, + "name": "view", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 44, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 45, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 47, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 48, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 49, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 46, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 47, + 46 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 44 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 50, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 51, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "global.JSX.Element", + "package": "@vue/runtime-dom", + "name": "Element" + } + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 52, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "qualifiedName": "PublicProps", + "package": "@vue/runtime-core", + "name": "PublicProps" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 54, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 55, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 56, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 60, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 57, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 58, + 57 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 55 + ] + } + ] + } + } + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" + } + ], + "qualifiedName": "Readonly", + "package": "typescript", + "name": "Readonly" + }, + { + "type": "reflection", + "declaration": { + "id": 61, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 62, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 63, + "name": "ILayoutData" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 62 + ] + } + ] + } + } + ], + "qualifiedName": "DefineComponent", + "package": "@vue/runtime-core", + "name": "DefineComponent" + }, + "defaultValue": "..." } ], "groups": [ @@ -859,10 +1057,10 @@ "title": "Properties", "kind": 1024, "children": [ - 33, 8, 5, - 4 + 4, + 42 ] } ] @@ -891,7 +1089,7 @@ "defaultValue": "'sb-layout'" }, { - "id": 53, + "id": 66, "name": "getDefaultData", "kind": 64, "kindString": "Function", @@ -905,14 +1103,14 @@ ], "signatures": [ { - "id": 54, + "id": 67, "name": "getDefaultData", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "reference", - "id": 50, + "id": 63, "name": "ILayoutData" } } @@ -924,7 +1122,7 @@ "title": "Interfaces", "kind": 256, "children": [ - 50 + 63 ] }, { @@ -945,7 +1143,7 @@ "title": "Functions", "kind": 64, "children": [ - 53 + 66 ] } ], diff --git a/packages/layout/package-lock.json b/packages/layout/package-lock.json index 01ebae5..97b6ad3 100644 --- a/packages/layout/package-lock.json +++ b/packages/layout/package-lock.json @@ -134,7 +134,8 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true }, "@babel/highlight": { "version": "7.16.10", @@ -169,7 +170,8 @@ "@babel/parser": { "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.9.tgz", - "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==" + "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==", + "dev": true }, "@babel/template": { "version": "7.16.7", @@ -227,6 +229,7 @@ "version": "7.13.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz", "integrity": "sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -436,6 +439,7 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.7.tgz", "integrity": "sha512-JFohgBXoyUc3mdeI2WxlhjQZ5fakfemJkZHX8Gu/nFbEg3+lKVUZmNKWmmnp9aOzJQZKoj77LjmFxiP+P+7lMQ==", + "dev": true, "requires": { "@babel/parser": "^7.12.0", "@babel/types": "^7.12.0", @@ -445,45 +449,219 @@ } }, "@vue/compiler-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.7.tgz", - "integrity": "sha512-VnIH9EbWQm/Tkcp+8dCaNVsVvhm/vxCrIKWRkXY9215hTqOqQOvejT8IMjd2kc++nIsYMsdQk6H9qqBvoLe/Cw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz", + "integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==", + "dev": true, "requires": { - "@vue/compiler-core": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-sfc": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz", + "integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-ssr": "3.2.31", + "@vue/reactivity-transform": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7", + "postcss": "^8.1.10", + "source-map": "^0.6.1" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-ssr": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz", + "integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/reactivity": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.7.tgz", - "integrity": "sha512-FotWcNNaKhqpFZrdgsUOZ1enlJ5lhTt01CNTtLSyK7jYFgZBTuw8vKsEutZKDYZ1XKotOfoeO8N3pZQqmM6Etw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.31.tgz", + "integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==", + "dev": true, "requires": { - "@vue/shared": "3.0.7" + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity-transform": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz", + "integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-core": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.7.tgz", - "integrity": "sha512-DBAZAwVvdmMXuyd6/9qqj/kYr/GaLTmn1L2/QLxLwP+UfhIboiTSBc/tUUb8MRk7Bb98GzNeAWkkT6AfooS3dQ==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.31.tgz", + "integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==", + "dev": true, "requires": { - "@vue/reactivity": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/reactivity": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.7.tgz", - "integrity": "sha512-Oij4ruOtnpQpCj+/Q3JPzgpTJ1Q7+N67pA53A8KVITEtxfvKL46NN6dhAZ5NGqwX6RWZpYqWQNewITeF0pHr8g==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz", + "integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==", + "dev": true, "requires": { - "@vue/runtime-core": "3.0.7", - "@vue/shared": "3.0.7", + "@vue/runtime-core": "3.2.31", + "@vue/shared": "3.2.31", "csstype": "^2.6.8" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/server-renderer": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.31.tgz", + "integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==", + "dev": true, + "requires": { + "@vue/compiler-ssr": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/shared": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz", - "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==" + "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==", + "dev": true }, "@vuedx/analyze": { "version": "0.6.3", @@ -786,9 +964,10 @@ "dev": true }, "csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.20", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.20.tgz", + "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==", + "dev": true }, "de-indent": { "version": "1.0.2", @@ -826,7 +1005,8 @@ "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true }, "fast-glob": { "version": "3.2.11", @@ -959,7 +1139,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lru-cache": { "version": "6.0.0", @@ -976,6 +1157,15 @@ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", "dev": true }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1015,6 +1205,12 @@ "thenify-all": "^1.0.0" } }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true + }, "node-unique-machine-id": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/node-unique-machine-id/-/node-unique-machine-id-1.1.0.tgz", @@ -1061,12 +1257,29 @@ } } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -1109,7 +1322,20 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true }, "string-width": { "version": "4.2.3", @@ -1161,7 +1387,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -1209,13 +1436,24 @@ "dev": true }, "vue": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.0.7.tgz", - "integrity": "sha512-8h4TikD+JabbMK9aRlBO4laG0AtNHRPHynxYgWZ9sq1YUPfzynd9Jeeb27XNyZytC7aCQRX9xe1+TQJuc181Tw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.31.tgz", + "integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==", + "dev": true, "requires": { - "@vue/compiler-dom": "3.0.7", - "@vue/runtime-dom": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-sfc": "3.2.31", + "@vue/runtime-dom": "3.2.31", + "@vue/server-renderer": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "wrap-ansi": { diff --git a/packages/layout/package.json b/packages/layout/package.json index fd56a53..a321706 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -11,7 +11,8 @@ "test": "__tests__" }, "files": [ - "lib" + "lib", + "docs" ], "publishConfig": { "access": "public" @@ -21,20 +22,23 @@ "url": "git@git.b12f.io:b12f/schlechtenburg.git" }, "scripts": { - "dev": "json-to-md:watch", + "dev": "npm run json-to-md:watch", "typecheck": "vuedx-typecheck --no-pretty ./lib", "ts-to-json:build": "ts-to-json", "json-to-md:build": "json-to-md build", "json-to-md:watch": "json-to-md watch", "test": "echo \"Error: run tests from root\" && exit 1" }, + "peerDependencies": { + "vue": "^3.2.31" + }, "dependencies": { - "@schlechtenburg/core": "^0.0.0", - "vue": "^3.0.7" + "@schlechtenburg/core": "^0.0.0" }, "devDependencies": { "@vuedx/typecheck": "^0.6.3", "@vuedx/typescript-plugin-vue": "^0.6.3", - "@schlechtenburg/docgen": "^0.0.0" + "@schlechtenburg/docgen": "^0.0.0", + "vue": "^3.2.31" } } diff --git a/packages/layout/tsconfig.json b/packages/layout/tsconfig.json index d95e44e..50aca66 100644 --- a/packages/layout/tsconfig.json +++ b/packages/layout/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.json", - "typedocOptions": { - "entryPoints": ["lib/index.ts"], - "json": "docs" - } + "include": [ + "lib/**/*.ts", + "lib/**/*.d.ts", + "lib/**/*.tsx", + "lib/**/*.vue" + ] } diff --git a/packages/paragraph/docs/lib.json b/packages/paragraph/docs/lib.json index 467202a..938733f 100644 --- a/packages/paragraph/docs/lib.json +++ b/packages/paragraph/docs/lib.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 123, + "id": 159, "name": "IParagraphData", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 125, + "id": 161, "name": "align", "kind": 1024, "kindString": "Property", @@ -32,7 +32,7 @@ } }, { - "id": 124, + "id": 160, "name": "value", "kind": 1024, "kindString": "Property", @@ -55,8 +55,8 @@ "title": "Properties", "kind": 1024, "children": [ - 125, - 124 + 161, + 160 ] } ], @@ -83,302 +83,6 @@ "kindString": "Type literal", "flags": {}, "children": [ - { - "id": 106, - "name": "display", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 107, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 108, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 109, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 111, - "name": "default", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 112, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 113, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "id": 123, - "name": "IParagraphData" - } - } - ] - } - }, - "defaultValue": "getDefaultData" - }, - { - "id": 110, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 123, - "name": "IParagraphData" - } - ], - "qualifiedName": "PropType", - "package": "@vue/runtime-core", - "name": "PropType" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 111, - 110 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 108 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 114, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 115, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reference", - "qualifiedName": "global.JSX.Element", - "package": "@vue/runtime-dom", - "name": "Element" - } - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 116, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reflection", - "declaration": { - "id": 117, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "qualifiedName": "ComponentOptionsMixin", - "package": "@vue/runtime-core", - "name": "ComponentOptionsMixin" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "qualifiedName": "PublicProps", - "package": "@vue/runtime-core", - "name": "PublicProps" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 118, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 119, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 123, - "name": "IParagraphData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 119 - ] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 120, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - } - ], - "qualifiedName": "Readonly", - "package": "typescript", - "name": "Readonly" - }, - { - "type": "reflection", - "declaration": { - "id": 121, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 122, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reference", - "id": 123, - "name": "IParagraphData" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 122 - ] - } - ] - } - } - ], - "qualifiedName": "DefineComponent", - "package": "@vue/runtime-core", - "name": "DefineComponent" - }, - "defaultValue": "..." - }, { "id": 8, "name": "edit", @@ -491,7 +195,7 @@ "flags": {}, "type": { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } } @@ -511,7 +215,7 @@ "typeArguments": [ { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } ], @@ -1035,7 +739,7 @@ "typeArguments": [ { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } ], @@ -1184,8 +888,8 @@ "type": "reference", "typeArguments": [ { - "type": "intersection", - "types": [ + "type": "reference", + "typeArguments": [ { "type": "reflection", "declaration": { @@ -1202,24 +906,140 @@ "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "string" - } + "type": "reflection", + "declaration": { + "id": 68, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 70, + "name": "required", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "literal", + "value": true + }, + "defaultValue": "true" + }, + { + "id": 69, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "StringConstructor", + "package": "typescript", + "name": "StringConstructor" + }, + "defaultValue": "String" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 70, + 69 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 68, + "id": 71, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "reference", - "id": 123, - "name": "IParagraphData" - } + "type": "reflection", + "declaration": { + "id": 72, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 74, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 75, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 76, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 73, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 74, + 73 + ] + } + ] + } + }, + "defaultValue": "..." }, { - "id": 80, + "id": 103, "name": "onActivateNext", "kind": 1024, "kindString": "Property", @@ -1227,29 +1047,99 @@ "type": { "type": "reflection", "declaration": { - "id": 81, + "id": 104, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, - "signatures": [ + "children": [ { - "id": 82, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 108, + "name": "default", + "kind": 1024, + "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "void" - } + "type": "reflection", + "declaration": { + "id": 109, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 110, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 105, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 106, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 107, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 108, + 105 + ] } ] } - } + }, + "defaultValue": "..." }, { - "id": 83, + "id": 111, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", @@ -1257,29 +1147,99 @@ "type": { "type": "reflection", "declaration": { - "id": 84, + "id": 112, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, - "signatures": [ + "children": [ { - "id": 85, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 116, + "name": "default", + "kind": 1024, + "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "void" - } + "type": "reflection", + "declaration": { + "id": 117, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 118, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 113, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 114, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 115, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 116, + 113 + ] } ] } - } + }, + "defaultValue": "..." }, { - "id": 73, + "id": 86, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", @@ -1287,45 +1247,215 @@ "type": { "type": "reflection", "declaration": { - "id": 74, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, - "signatures": [ + "children": [ { - "id": 75, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "id": 92, + "name": "default", + "kind": 1024, + "kindString": "Property", "flags": {}, - "parameters": [ - { - "id": 76, - "name": "block", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], "type": { - "type": "intrinsic", - "name": "void" - } + "type": "reflection", + "declaration": { + "id": 93, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 94, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 88, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 89, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 90, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 91, + "name": "block", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 92, + 88 + ] } ] } - } + }, + "defaultValue": "..." + }, + { + "id": 95, + "name": "onRemoveSelf", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 96, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 100, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 101, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 102, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 97, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 98, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 99, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 100, + 97 + ] + } + ] + } + }, + "defaultValue": "..." }, { "id": 77, - "name": "onRemoveSelf", + "name": "onUpdate", "kind": 1024, "kindString": "Property", "flags": {}, @@ -1337,75 +1467,115 @@ "kind": 65536, "kindString": "Type literal", "flags": {}, - "signatures": [ + "children": [ + { + "id": 83, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 84, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 85, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "..." + }, { "id": 79, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", + "name": "type", + "kind": 1024, + "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 69, - "name": "onUpdate", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 70, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 71, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 72, - "name": "block", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 123, - "name": "IParagraphData" - } - ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 80, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 81, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 82, + "name": "block", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 83, + 79 + ] } ] } - } + }, + "defaultValue": "..." } ], "groups": [ @@ -1414,28 +1584,21 @@ "kind": 1024, "children": [ 67, - 68, - 80, - 83, - 73, - 77, - 69 + 71, + 103, + 111, + 86, + 95, + 77 ] } ] } - }, - { - "type": "reflection", - "declaration": { - "id": 86, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } } - ] + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" } ], "qualifiedName": "Readonly", @@ -1445,26 +1608,26 @@ { "type": "reflection", "declaration": { - "id": 87, + "id": 119, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 88, + "id": 120, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, "type": { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } }, { - "id": 100, + "id": 132, "name": "onActivateNext", "kind": 1024, "kindString": "Property", @@ -1472,14 +1635,14 @@ "type": { "type": "reflection", "declaration": { - "id": 101, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 102, + "id": 134, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1494,7 +1657,7 @@ } }, { - "id": 103, + "id": 135, "name": "onActivatePrevious", "kind": 1024, "kindString": "Property", @@ -1502,14 +1665,14 @@ "type": { "type": "reflection", "declaration": { - "id": 104, + "id": 136, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 105, + "id": 137, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1524,7 +1687,7 @@ } }, { - "id": 93, + "id": 125, "name": "onAppendBlock", "kind": 1024, "kindString": "Property", @@ -1532,21 +1695,21 @@ "type": { "type": "reflection", "declaration": { - "id": 94, + "id": 126, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 95, + "id": 127, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 96, + "id": 128, "name": "block", "kind": 32768, "kindString": "Parameter", @@ -1569,7 +1732,7 @@ } }, { - "id": 97, + "id": 129, "name": "onRemoveSelf", "kind": 1024, "kindString": "Property", @@ -1577,14 +1740,14 @@ "type": { "type": "reflection", "declaration": { - "id": 98, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 99, + "id": 131, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -1599,7 +1762,7 @@ } }, { - "id": 89, + "id": 121, "name": "onUpdate", "kind": 1024, "kindString": "Property", @@ -1607,21 +1770,21 @@ "type": { "type": "reflection", "declaration": { - "id": 90, + "id": 122, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 91, + "id": 123, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 92, + "id": 124, "name": "block", "kind": 32768, "kindString": "Parameter", @@ -1633,7 +1796,7 @@ "typeArguments": [ { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } ], @@ -1658,12 +1821,12 @@ "title": "Properties", "kind": 1024, "children": [ - 88, - 100, - 103, - 93, - 97, - 89 + 120, + 132, + 135, + 125, + 129, + 121 ] } ] @@ -1699,7 +1862,7 @@ "flags": {}, "type": { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } } @@ -1717,6 +1880,366 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 138, + "name": "view", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 139, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 140, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 143, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 144, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 145, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 142, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 143, + 142 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 140 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 146, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 147, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "global.JSX.Element", + "package": "@vue/runtime-dom", + "name": "Element" + } + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 148, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "qualifiedName": "ComponentOptionsMixin", + "package": "@vue/runtime-core", + "name": "ComponentOptionsMixin" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "qualifiedName": "PublicProps", + "package": "@vue/runtime-core", + "name": "PublicProps" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 150, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 151, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 152, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 154, + "name": "default", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 156, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + } + ] + } + }, + "defaultValue": "getDefaultData" + }, + { + "id": 153, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + ], + "qualifiedName": "PropType", + "package": "@vue/runtime-core", + "name": "PropType" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 154, + 153 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 151 + ] + } + ] + } + } + ], + "qualifiedName": "ExtractPropTypes", + "package": "@vue/runtime-core", + "name": "ExtractPropTypes" + } + ], + "qualifiedName": "Readonly", + "package": "typescript", + "name": "Readonly" + }, + { + "type": "reflection", + "declaration": { + "id": 157, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 158, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "id": 159, + "name": "IParagraphData" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 158 + ] + } + ] + } + } + ], + "qualifiedName": "DefineComponent", + "package": "@vue/runtime-core", + "name": "DefineComponent" + }, + "defaultValue": "..." } ], "groups": [ @@ -1724,10 +2247,10 @@ "title": "Properties", "kind": 1024, "children": [ - 106, 8, 5, - 4 + 4, + 138 ] } ] @@ -1756,7 +2279,7 @@ "defaultValue": "'sb-paragraph'" }, { - "id": 126, + "id": 162, "name": "getDefaultData", "kind": 64, "kindString": "Function", @@ -1770,14 +2293,14 @@ ], "signatures": [ { - "id": 127, + "id": 163, "name": "getDefaultData", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "reference", - "id": 123, + "id": 159, "name": "IParagraphData" } } @@ -1789,7 +2312,7 @@ "title": "Interfaces", "kind": 256, "children": [ - 123 + 159 ] }, { @@ -1810,7 +2333,7 @@ "title": "Functions", "kind": 64, "children": [ - 126 + 162 ] } ], diff --git a/packages/paragraph/package-lock.json b/packages/paragraph/package-lock.json index e83e80b..be39064 100644 --- a/packages/paragraph/package-lock.json +++ b/packages/paragraph/package-lock.json @@ -134,7 +134,8 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true }, "@babel/highlight": { "version": "7.16.10", @@ -169,7 +170,8 @@ "@babel/parser": { "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.9.tgz", - "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==" + "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==", + "dev": true }, "@babel/template": { "version": "7.16.7", @@ -227,6 +229,7 @@ "version": "7.13.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz", "integrity": "sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -436,6 +439,7 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.7.tgz", "integrity": "sha512-JFohgBXoyUc3mdeI2WxlhjQZ5fakfemJkZHX8Gu/nFbEg3+lKVUZmNKWmmnp9aOzJQZKoj77LjmFxiP+P+7lMQ==", + "dev": true, "requires": { "@babel/parser": "^7.12.0", "@babel/types": "^7.12.0", @@ -445,45 +449,219 @@ } }, "@vue/compiler-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.7.tgz", - "integrity": "sha512-VnIH9EbWQm/Tkcp+8dCaNVsVvhm/vxCrIKWRkXY9215hTqOqQOvejT8IMjd2kc++nIsYMsdQk6H9qqBvoLe/Cw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz", + "integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==", + "dev": true, "requires": { - "@vue/compiler-core": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-sfc": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz", + "integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-ssr": "3.2.31", + "@vue/reactivity-transform": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7", + "postcss": "^8.1.10", + "source-map": "^0.6.1" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-ssr": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz", + "integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/reactivity": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.7.tgz", - "integrity": "sha512-FotWcNNaKhqpFZrdgsUOZ1enlJ5lhTt01CNTtLSyK7jYFgZBTuw8vKsEutZKDYZ1XKotOfoeO8N3pZQqmM6Etw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.31.tgz", + "integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==", + "dev": true, "requires": { - "@vue/shared": "3.0.7" + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity-transform": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz", + "integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-core": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.7.tgz", - "integrity": "sha512-DBAZAwVvdmMXuyd6/9qqj/kYr/GaLTmn1L2/QLxLwP+UfhIboiTSBc/tUUb8MRk7Bb98GzNeAWkkT6AfooS3dQ==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.31.tgz", + "integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==", + "dev": true, "requires": { - "@vue/reactivity": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/reactivity": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.7.tgz", - "integrity": "sha512-Oij4ruOtnpQpCj+/Q3JPzgpTJ1Q7+N67pA53A8KVITEtxfvKL46NN6dhAZ5NGqwX6RWZpYqWQNewITeF0pHr8g==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz", + "integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==", + "dev": true, "requires": { - "@vue/runtime-core": "3.0.7", - "@vue/shared": "3.0.7", + "@vue/runtime-core": "3.2.31", + "@vue/shared": "3.2.31", "csstype": "^2.6.8" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/server-renderer": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.31.tgz", + "integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==", + "dev": true, + "requires": { + "@vue/compiler-ssr": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/shared": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz", - "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==" + "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==", + "dev": true }, "@vuedx/analyze": { "version": "0.6.3", @@ -786,9 +964,10 @@ "dev": true }, "csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.20", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.20.tgz", + "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==", + "dev": true }, "de-indent": { "version": "1.0.2", @@ -826,7 +1005,8 @@ "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true }, "fast-glob": { "version": "3.2.11", @@ -959,7 +1139,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lru-cache": { "version": "6.0.0", @@ -976,6 +1157,15 @@ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", "dev": true }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1015,6 +1205,12 @@ "thenify-all": "^1.0.0" } }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true + }, "node-unique-machine-id": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/node-unique-machine-id/-/node-unique-machine-id-1.1.0.tgz", @@ -1061,12 +1257,29 @@ } } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -1109,7 +1322,20 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true }, "string-width": { "version": "4.2.3", @@ -1161,7 +1387,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -1209,13 +1436,24 @@ "dev": true }, "vue": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.0.7.tgz", - "integrity": "sha512-8h4TikD+JabbMK9aRlBO4laG0AtNHRPHynxYgWZ9sq1YUPfzynd9Jeeb27XNyZytC7aCQRX9xe1+TQJuc181Tw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.31.tgz", + "integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==", + "dev": true, "requires": { - "@vue/compiler-dom": "3.0.7", - "@vue/runtime-dom": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-sfc": "3.2.31", + "@vue/runtime-dom": "3.2.31", + "@vue/server-renderer": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "wrap-ansi": { diff --git a/packages/paragraph/package.json b/packages/paragraph/package.json index dc6fa08..6315ff0 100644 --- a/packages/paragraph/package.json +++ b/packages/paragraph/package.json @@ -11,7 +11,8 @@ "test": "__tests__" }, "files": [ - "lib" + "lib", + "docs" ], "publishConfig": { "access": "public" @@ -21,20 +22,23 @@ "url": "git@git.b12f.io:b12f/schlechtenburg.git" }, "scripts": { - "dev": "json-to-md:watch", + "dev": "npm run json-to-md:watch", "typecheck": "vuedx-typecheck --no-pretty ./lib", "ts-to-json:build": "ts-to-json", "json-to-md:build": "json-to-md build", "json-to-md:watch": "json-to-md watch", "test": "echo \"Error: run tests from root\" && exit 1" }, + "peerDependencies": { + "vue": "^3.2.31" + }, "dependencies": { - "@schlechtenburg/core": "^0.0.0", - "vue": "^3.0.7" + "@schlechtenburg/core": "^0.0.0" }, "devDependencies": { "@vuedx/typecheck": "^0.6.3", "@vuedx/typescript-plugin-vue": "^0.6.3", - "@schlechtenburg/docgen": "^0.0.0" + "@schlechtenburg/docgen": "^0.0.0", + "vue": "^3.2.31" } } diff --git a/packages/paragraph/tsconfig.json b/packages/paragraph/tsconfig.json index d95e44e..50aca66 100644 --- a/packages/paragraph/tsconfig.json +++ b/packages/paragraph/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.json", - "typedocOptions": { - "entryPoints": ["lib/index.ts"], - "json": "docs" - } + "include": [ + "lib/**/*.ts", + "lib/**/*.d.ts", + "lib/**/*.tsx", + "lib/**/*.vue" + ] } diff --git a/packages/standalone/docs/lib.json b/packages/standalone/docs/lib.json new file mode 100644 index 0000000..7b20d93 --- /dev/null +++ b/packages/standalone/docs/lib.json @@ -0,0 +1,306 @@ +{ + "id": 0, + "name": "@schlechtenburg/standalone", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "startSchlechtenburg", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "main.ts", + "line": 8, + "character": 13 + } + ], + "signatures": [ + { + "id": 2, + "name": "startSchlechtenburg", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": {}, + "parameters": [ + { + "id": 3, + "name": "el", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "qualifiedName": "HTMLElement", + "package": "typescript", + "name": "HTMLElement" + } + ] + } + }, + { + "id": 4, + "name": "props", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "ISbMainProps" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 6, + "name": "app", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Element", + "package": "typescript", + "name": "Element" + } + ], + "qualifiedName": "App", + "package": "@vue/runtime-core", + "name": "App" + } + }, + { + "id": 7, + "name": "getBlock", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 9, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockData" + } + ] + } + } + ] + } + } + }, + { + "id": 14, + "name": "getMode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 15, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 16, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "name": "SbMode" + } + } + ] + } + } + }, + { + "id": 10, + "name": "setBlock", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 11, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 12, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 13, + "name": "block", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "IBlockData" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 17, + "name": "setMode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 18, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 19, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 20, + "name": "mode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "SbMode" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 6, + 7, + 14, + 10, + 17 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 1 + ] + } + ], + "sources": [ + { + "fileName": "index.ts", + "line": 1, + "character": 0 + } + ] +} \ No newline at end of file diff --git a/packages/standalone/lib/vue-app-env.d.ts b/packages/standalone/lib/vue-app-env.d.ts deleted file mode 100644 index c821793..0000000 --- a/packages/standalone/lib/vue-app-env.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -declare namespace NodeJS { - interface Process{ - env: ProcessEnv - } - interface ProcessEnv { - /** - * By default, there are two modes in Vite: - * - * * `development` is used by vite and vite serve - * * `production` is used by vite build - * - * You can overwrite the default mode used for a command by passing the --mode option flag. - * - */ - readonly NODE_ENV: 'development' | 'production' - } -} - -declare var process: NodeJS.Process - -declare module '*.gif' { - const src: string - export default src -} - -declare module '*.jpg' { - const src: string - export default src -} - -declare module '*.jpeg' { - const src: string - export default src -} - -declare module '*.png' { - const src: string - export default src -} - -declare module '*.webp' { - const src: string - export default src -} - -declare module '*.svg' { - const src: string; - export default src -} - -declare module '*.module.css' { - const classes: { readonly [key: string]: string } - export default classes -} - -declare module '*.module.scss' { - const classes: { readonly [key: string]: string } - export default classes -} - -declare module '*.module.sass' { - const classes: { readonly [key: string]: string } - export default classes -} diff --git a/packages/standalone/package-lock.json b/packages/standalone/package-lock.json index 79ff896..537a4c6 100644 --- a/packages/standalone/package-lock.json +++ b/packages/standalone/package-lock.json @@ -134,7 +134,8 @@ "@babel/helper-validator-identifier": { "version": "7.12.11", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" + "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==", + "dev": true }, "@babel/highlight": { "version": "7.16.10", @@ -169,7 +170,8 @@ "@babel/parser": { "version": "7.13.9", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.9.tgz", - "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==" + "integrity": "sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw==", + "dev": true }, "@babel/template": { "version": "7.16.7", @@ -227,6 +229,7 @@ "version": "7.13.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz", "integrity": "sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==", + "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.12.11", "lodash": "^4.17.19", @@ -423,21 +426,6 @@ "integrity": "sha512-+euflG6ygo4bn0JHtn4pYqcXwRtLvElQ7/nnjDu7iYG56H0+OhCd7d6Ug0IE3WcFpZozBKW2+80FUbv5QGk5AQ==", "dev": true }, - "@types/lodash": { - "version": "4.14.168", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", - "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==", - "dev": true - }, - "@types/lodash-es": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.4.tgz", - "integrity": "sha512-BBz79DCJbD2CVYZH67MBeHZRX++HF+5p8Mo5MzjZi64Wac39S3diedJYHZtScbRVf4DjZyN6LzA0SB0zy+HSSQ==", - "dev": true, - "requires": { - "@types/lodash": "*" - } - }, "@types/micromatch": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/micromatch/-/micromatch-4.0.2.tgz", @@ -447,16 +435,11 @@ "@types/braces": "*" } }, - "@types/uuid": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.0.tgz", - "integrity": "sha512-eQ9qFW/fhfGJF8WKHGEHZEyVWfZxrT+6CLIJGBcZPfxUh/+BnEj+UCGYMlr9qZuX/2AltsvwrGqp0LhEW8D0zQ==", - "dev": true - }, "@vue/compiler-core": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.7.tgz", "integrity": "sha512-JFohgBXoyUc3mdeI2WxlhjQZ5fakfemJkZHX8Gu/nFbEg3+lKVUZmNKWmmnp9aOzJQZKoj77LjmFxiP+P+7lMQ==", + "dev": true, "requires": { "@babel/parser": "^7.12.0", "@babel/types": "^7.12.0", @@ -466,45 +449,219 @@ } }, "@vue/compiler-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.7.tgz", - "integrity": "sha512-VnIH9EbWQm/Tkcp+8dCaNVsVvhm/vxCrIKWRkXY9215hTqOqQOvejT8IMjd2kc++nIsYMsdQk6H9qqBvoLe/Cw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz", + "integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==", + "dev": true, "requires": { - "@vue/compiler-core": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-sfc": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz", + "integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-ssr": "3.2.31", + "@vue/reactivity-transform": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7", + "postcss": "^8.1.10", + "source-map": "^0.6.1" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/compiler-ssr": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz", + "integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==", + "dev": true, + "requires": { + "@vue/compiler-dom": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/reactivity": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.7.tgz", - "integrity": "sha512-FotWcNNaKhqpFZrdgsUOZ1enlJ5lhTt01CNTtLSyK7jYFgZBTuw8vKsEutZKDYZ1XKotOfoeO8N3pZQqmM6Etw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.31.tgz", + "integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==", + "dev": true, "requires": { - "@vue/shared": "3.0.7" + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/reactivity-transform": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz", + "integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/compiler-core": "3.2.31", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "magic-string": "^0.25.7" + }, + "dependencies": { + "@babel/parser": { + "version": "7.17.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.8.tgz", + "integrity": "sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==", + "dev": true + }, + "@vue/compiler-core": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.31.tgz", + "integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==", + "dev": true, + "requires": { + "@babel/parser": "^7.16.4", + "@vue/shared": "3.2.31", + "estree-walker": "^2.0.2", + "source-map": "^0.6.1" + } + }, + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-core": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.7.tgz", - "integrity": "sha512-DBAZAwVvdmMXuyd6/9qqj/kYr/GaLTmn1L2/QLxLwP+UfhIboiTSBc/tUUb8MRk7Bb98GzNeAWkkT6AfooS3dQ==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.31.tgz", + "integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==", + "dev": true, "requires": { - "@vue/reactivity": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/reactivity": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/runtime-dom": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.7.tgz", - "integrity": "sha512-Oij4ruOtnpQpCj+/Q3JPzgpTJ1Q7+N67pA53A8KVITEtxfvKL46NN6dhAZ5NGqwX6RWZpYqWQNewITeF0pHr8g==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz", + "integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==", + "dev": true, "requires": { - "@vue/runtime-core": "3.0.7", - "@vue/shared": "3.0.7", + "@vue/runtime-core": "3.2.31", + "@vue/shared": "3.2.31", "csstype": "^2.6.8" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } + } + }, + "@vue/server-renderer": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.31.tgz", + "integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==", + "dev": true, + "requires": { + "@vue/compiler-ssr": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "@vue/shared": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz", - "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==" + "integrity": "sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg==", + "dev": true }, "@vuedx/analyze": { "version": "0.6.3", @@ -807,9 +964,10 @@ "dev": true }, "csstype": { - "version": "2.6.16", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.16.tgz", - "integrity": "sha512-61FBWoDHp/gRtsoDkq/B1nWrCUG/ok1E3tUrcNbZjsE9Cxd9yzUirjS3+nAATB8U4cTtaQmAHbNndoFz5L6C9Q==" + "version": "2.6.20", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.20.tgz", + "integrity": "sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==", + "dev": true }, "de-indent": { "version": "1.0.2", @@ -847,7 +1005,8 @@ "estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true }, "fast-glob": { "version": "3.2.11", @@ -980,7 +1139,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lru-cache": { "version": "6.0.0", @@ -997,6 +1157,15 @@ "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=", "dev": true }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -1036,6 +1205,12 @@ "thenify-all": "^1.0.0" } }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true + }, "node-unique-machine-id": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/node-unique-machine-id/-/node-unique-machine-id-1.1.0.tgz", @@ -1082,12 +1257,29 @@ } } }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "postcss": { + "version": "8.4.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz", + "integrity": "sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==", + "dev": true, + "requires": { + "nanoid": "^3.3.1", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -1130,7 +1322,20 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true }, "string-width": { "version": "4.2.3", @@ -1182,7 +1387,8 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true }, "to-regex-range": { "version": "5.0.1", @@ -1230,13 +1436,24 @@ "dev": true }, "vue": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.0.7.tgz", - "integrity": "sha512-8h4TikD+JabbMK9aRlBO4laG0AtNHRPHynxYgWZ9sq1YUPfzynd9Jeeb27XNyZytC7aCQRX9xe1+TQJuc181Tw==", + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.31.tgz", + "integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==", + "dev": true, "requires": { - "@vue/compiler-dom": "3.0.7", - "@vue/runtime-dom": "3.0.7", - "@vue/shared": "3.0.7" + "@vue/compiler-dom": "3.2.31", + "@vue/compiler-sfc": "3.2.31", + "@vue/runtime-dom": "3.2.31", + "@vue/server-renderer": "3.2.31", + "@vue/shared": "3.2.31" + }, + "dependencies": { + "@vue/shared": { + "version": "3.2.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.31.tgz", + "integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==", + "dev": true + } } }, "wrap-ansi": { diff --git a/packages/standalone/package.json b/packages/standalone/package.json index e7b729d..d3436fb 100644 --- a/packages/standalone/package.json +++ b/packages/standalone/package.json @@ -7,7 +7,7 @@ "license": "GPL-3.0-or-later", "main": "lib/index.ts", "scripts": { - "dev": "json-to-md:watch", + "dev": "npm run json-to-md:watch", "typecheck": "vuedx-typecheck --no-pretty ./lib", "ts-to-json:build": "ts-to-json", "json-to-md:build": "json-to-md build", @@ -29,15 +29,16 @@ "type": "git", "url": "git@git.b12f.io:b12f/schlechtenburg.git" }, + "peerDependencies": { + "vue": "^3.2.31" + }, "dependencies": { - "@schlechtenburg/core": "^0.0.0", - "vue": "^3.0.7" + "@schlechtenburg/core": "^0.0.0" }, "devDependencies": { "@vuedx/typecheck": "^0.6.3", "@vuedx/typescript-plugin-vue": "^0.6.3", "@schlechtenburg/docgen": "^0.0.0", - "@types/lodash-es": "^4.17.4", - "@types/uuid": "^8.3.0" + "vue": "^3.2.31" } } diff --git a/packages/standalone/tsconfig.json b/packages/standalone/tsconfig.json index d95e44e..50aca66 100644 --- a/packages/standalone/tsconfig.json +++ b/packages/standalone/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.json", - "typedocOptions": { - "entryPoints": ["lib/index.ts"], - "json": "docs" - } + "include": [ + "lib/**/*.ts", + "lib/**/*.d.ts", + "lib/**/*.tsx", + "lib/**/*.vue" + ] } diff --git a/tsconfig.json b/tsconfig.json index d790a67..4b4bbbf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,11 +12,5 @@ // "noErrorTruncation": true, "allowSyntheticDefaultImports": true, "paths": {} - }, - "include": [ - "packages/**/lib/**/*.ts", - "packages/**lib/**/*.d.ts", - "packages/**lib/**/*.tsx", - "packages/**lib/**/*.vue" - ] + } }