@kubohiroya/turbowarp-extension-data-editor 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -3
- package/dist/build-info.json +7 -2
- package/dist/descendants.js +11 -2
- package/dist/index.d.ts +1 -0
- package/dist/json-value.d.ts +4 -0
- package/dist/json-value.js +12 -0
- package/dist/prepared-save.d.ts +5 -0
- package/dist/prepared-save.js +47 -0
- package/dist/prepared-types.d.ts +13 -0
- package/dist/prepared-types.js +1 -0
- package/dist/registry.d.ts +2 -0
- package/dist/registry.js +57 -45
- package/dist/rjsf.d.ts +25 -1
- package/dist/rjsf.js +70 -6
- package/dist/schema-compose.d.ts +6 -0
- package/dist/schema-compose.js +103 -0
- package/dist/schema-engine.d.ts +18 -0
- package/dist/schema-engine.js +298 -0
- package/dist/schema-json.d.ts +10 -0
- package/dist/schema-json.js +68 -0
- package/dist/schema-types.d.ts +161 -0
- package/dist/schema-types.js +2 -0
- package/dist/schema-view.d.ts +7 -0
- package/dist/schema-view.js +102 -0
- package/dist/schema.d.ts +8 -0
- package/dist/schema.js +86 -0
- package/dist/session.d.ts +1 -1
- package/dist/session.js +18 -5
- package/dist/source-document.d.ts +3 -0
- package/dist/source-document.js +415 -0
- package/dist/source-editor.d.ts +13 -0
- package/dist/source-editor.js +235 -0
- package/dist/source-schema-hints.d.ts +3 -0
- package/dist/source-schema-hints.js +13 -0
- package/dist/source-types.d.ts +47 -0
- package/dist/source-types.js +1 -0
- package/dist/source-view.d.ts +3 -0
- package/dist/source-view.js +318 -0
- package/dist/types.d.ts +2 -4
- package/dist/webpack4/index.js +4 -2
- package/dist/webpack4/metafile.json +9551 -8644
- package/dist/webpack4/react.js +2 -1
- package/dist/webpack4/react.js.map +1 -1
- package/dist/webpack4/rjsf.js +15014 -20975
- package/dist/webpack4/rjsf.js.map +4 -4
- package/dist/webpack4/schema.js +17 -0
- package/dist/webpack4/schema.js.map +7 -0
- package/dist/webpack4/shared-BKTRZUZH.js +42 -0
- package/dist/webpack4/{shared-KIFRVTSM.js.map → shared-BKTRZUZH.js.map} +1 -1
- package/dist/webpack4/shared-KQOUMWJ4.js +8490 -0
- package/dist/webpack4/shared-KQOUMWJ4.js.map +7 -0
- package/dist/webpack4/shared-MRPGBJIH.js +75 -0
- package/dist/webpack4/shared-MRPGBJIH.js.map +7 -0
- package/dist/webpack4/{shared-WHOAW2VF.js → shared-N6YQE2X6.js} +116 -44
- package/dist/webpack4/shared-N6YQE2X6.js.map +7 -0
- package/dist/webpack4/{shared-KIFRVTSM.js → shared-RN7GOT65.js} +2 -41
- package/dist/webpack4/shared-RN7GOT65.js.map +7 -0
- package/dist/webpack4/turbowarp.js +4 -2
- package/dist/webpack4/turbowarp.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/block-editor-e2e.md +98 -16
- package/docs/ci-success-gate.md +84 -0
- package/docs/editor/issue-12-public-validation/README.md +61 -0
- package/docs/editor/issue-12-public-validation/dark-invalid.png +0 -0
- package/docs/editor/issue-12-public-validation/dark-styles.json +173 -0
- package/docs/editor/issue-12-public-validation/dark-valid.png +0 -0
- package/docs/editor/issue-12-public-validation/deployment-target.json +5 -0
- package/docs/editor/issue-12-public-validation/deployment-wait.json +7 -0
- package/docs/editor/issue-12-public-validation/light-invalid.png +0 -0
- package/docs/editor/issue-12-public-validation/light-styles.json +173 -0
- package/docs/editor/issue-12-public-validation/light-valid.png +0 -0
- package/docs/editor/issue-12-public-validation/provenance.json +88 -0
- package/docs/editor/issue-12-public-validation/results.json +677 -0
- package/docs/editor/issue-12-public-validation/summary.json +206 -0
- package/docs/github-pages.md +48 -41
- package/docs/package-distribution.md +2 -2
- package/docs/schema-stage1-browser.json +10 -0
- package/docs/schema-stage1-contracts.json +242 -0
- package/docs/schema-stage1-dependencies.json +202 -0
- package/docs/schema-stage1-git-artifact-20261018.ja.md +17 -0
- package/docs/schema-stage1-profile-compat.json +30 -0
- package/docs/schema-stage1-review-fixes-20261018.ja.md +36 -0
- package/docs/schema-stage1-verification.json +541 -0
- package/docs/schema-stage1.ja.md +80 -0
- package/docs/schema.md +43 -0
- package/docs/source-forms.ja.md +19 -0
- package/docs/stage-2-publication.ja.md +29 -0
- package/docs/template-fixture-separation.ja.md +43 -0
- package/package.json +11 -3
- package/webpack4.cjs +1 -1
- package/dist/webpack4/shared-WHOAW2VF.js.map +0 -7
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
compileSchemaBundle,
|
|
3
|
+
jsonValueSchema,
|
|
4
|
+
jsonValueSchemaBundle,
|
|
5
|
+
toValidationIssues,
|
|
6
|
+
validateSchemaInput
|
|
7
|
+
} from "./shared-KQOUMWJ4.js";
|
|
8
|
+
import "./shared-MRPGBJIH.js";
|
|
9
|
+
import "./shared-RN7GOT65.js";
|
|
10
|
+
export {
|
|
11
|
+
compileSchemaBundle,
|
|
12
|
+
jsonValueSchema,
|
|
13
|
+
jsonValueSchemaBundle,
|
|
14
|
+
toValidationIssues,
|
|
15
|
+
validateSchemaInput
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// dist/types.js
|
|
2
|
+
var EDITOR_API_VERSION = 1;
|
|
3
|
+
var BlockEditorConflictError = class extends Error {
|
|
4
|
+
constructor(message = "The block changed or is no longer editable.") {
|
|
5
|
+
super(message);
|
|
6
|
+
this.name = "BlockEditorConflictError";
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
// dist/descendant-types.js
|
|
11
|
+
var DESCENDANT_EDITING_CAPABILITY = "descendant-editing-v1";
|
|
12
|
+
var DEFAULT_DESCENDANT_LIMITS = Object.freeze({ maxDepth: 32, maxNodes: 500 });
|
|
13
|
+
function supportsDescendantEditing(host) {
|
|
14
|
+
const port = host.descendants;
|
|
15
|
+
return (port === null || port === void 0 ? void 0 : port.capability) === DESCENDANT_EDITING_CAPABILITY && typeof port.readSubtree === "function" && typeof port.commitSubtree === "function";
|
|
16
|
+
}
|
|
17
|
+
var BlockEditorStructureError = class extends Error {
|
|
18
|
+
constructor(message, code) {
|
|
19
|
+
super(message);
|
|
20
|
+
this.code = code;
|
|
21
|
+
this.name = "BlockEditorStructureError";
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
var DescendantNodeError = class extends Error {
|
|
25
|
+
constructor(reference, inputPath, cause) {
|
|
26
|
+
super(`Editor callback failed for block ${reference.blockId}.`, { cause });
|
|
27
|
+
this.reference = reference;
|
|
28
|
+
this.inputPath = inputPath;
|
|
29
|
+
this.name = "DescendantNodeError";
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export {
|
|
34
|
+
EDITOR_API_VERSION,
|
|
35
|
+
BlockEditorConflictError,
|
|
36
|
+
DESCENDANT_EDITING_CAPABILITY,
|
|
37
|
+
DEFAULT_DESCENDANT_LIMITS,
|
|
38
|
+
supportsDescendantEditing,
|
|
39
|
+
BlockEditorStructureError,
|
|
40
|
+
DescendantNodeError
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=shared-BKTRZUZH.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../types.js", "../descendant-types.js"],
|
|
4
4
|
"sourcesContent": ["export const EDITOR_API_VERSION = 1;\nexport class BlockEditorConflictError extends Error {\n constructor(message = 'The block changed or is no longer editable.') {\n super(message);\n this.name = 'BlockEditorConflictError';\n }\n}\n", "export const DESCENDANT_EDITING_CAPABILITY = 'descendant-editing-v1';\nexport const DEFAULT_DESCENDANT_LIMITS = Object.freeze({ maxDepth: 32, maxNodes: 500 });\nexport function supportsDescendantEditing(host) {\n const port = host.descendants;\n return (port === null || port === void 0 ? void 0 : port.capability) === DESCENDANT_EDITING_CAPABILITY &&\n typeof port.readSubtree === 'function' && typeof port.commitSubtree === 'function';\n}\nexport class BlockEditorStructureError extends Error {\n constructor(message, code) {\n super(message);\n this.code = code;\n this.name = 'BlockEditorStructureError';\n }\n}\nexport class DescendantNodeError extends Error {\n constructor(reference, inputPath, cause) {\n super(`Editor callback failed for block ${reference.blockId}.`, { cause });\n this.reference = reference;\n this.inputPath = inputPath;\n this.name = 'DescendantNodeError';\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";AAAO,IAAM,qBAAqB;AAC3B,IAAM,2BAAN,cAAuC,MAAM;AAAA,EAChD,YAAY,UAAU,+CAA+C;AACjE,UAAM,OAAO;AACb,SAAK,OAAO;AAAA,EAChB;AACJ;;;ACNO,IAAM,gCAAgC;AACtC,IAAM,4BAA4B,OAAO,OAAO,EAAE,UAAU,IAAI,UAAU,IAAI,CAAC;AAC/E,SAAS,0BAA0B,MAAM;AAC5C,QAAM,OAAO,KAAK;AAClB,UAAQ,SAAS,QAAQ,SAAS,SAAS,SAAS,KAAK,gBAAgB,iCACrE,OAAO,KAAK,gBAAgB,cAAc,OAAO,KAAK,kBAAkB;AAChF;AACO,IAAM,4BAAN,cAAwC,MAAM;AAAA,EACjD,YAAY,SAAS,MAAM;AACvB,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,SAAK,OAAO;AAAA,EAChB;AACJ;AACO,IAAM,sBAAN,cAAkC,MAAM;AAAA,EAC3C,YAAY,WAAW,WAAW,OAAO;AACrC,UAAM,oCAAoC,UAAU,OAAO,KAAK,EAAE,MAAM,CAAC;AACzE,SAAK,YAAY;AACjB,SAAK,YAAY;AACjB,SAAK,OAAO;AAAA,EAChB;AACJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|