@kubohiroya/turbowarp-extension-data-editor 0.2.0 → 0.2.1
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 +9 -6
- package/dist/build-info.json +4 -4
- package/dist/fixed-input-branches.d.ts +12 -0
- package/dist/fixed-input-branches.js +180 -0
- package/dist/fixed-input-editor.d.ts +39 -0
- package/dist/fixed-input-editor.js +538 -0
- package/dist/fixed-input-schema.d.ts +15 -0
- package/dist/fixed-input-schema.js +21 -0
- package/dist/fixed-input-snapshot.d.ts +7 -0
- package/dist/fixed-input-snapshot.js +180 -0
- package/dist/fixed-input-types.d.ts +138 -0
- package/dist/fixed-input-types.js +23 -0
- package/dist/fixed-input-view.d.ts +14 -0
- package/dist/fixed-input-view.js +168 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/react.css +42 -0
- package/dist/react.d.ts +3 -0
- package/dist/react.js +10 -1
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +45 -7
- package/dist/rjsf.d.ts +24 -1
- package/dist/rjsf.js +22 -2
- package/dist/schema.d.ts +2 -0
- package/dist/schema.js +1 -0
- package/dist/session.d.ts +3 -1
- package/dist/session.js +205 -7
- package/dist/turbowarp/bridge.d.ts +2 -1
- package/dist/turbowarp/bridge.js +34 -5
- package/dist/turbowarp/fixed-fields.d.ts +82 -0
- package/dist/turbowarp/fixed-fields.js +311 -0
- package/dist/turbowarp/fixed-transaction.d.ts +18 -0
- package/dist/turbowarp/fixed-transaction.js +460 -0
- package/dist/turbowarp/host.d.ts +3 -8
- package/dist/turbowarp/host.js +68 -1
- package/dist/turbowarp.d.ts +4 -0
- package/dist/turbowarp.js +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/view.js +4 -0
- package/dist/webpack4/index.js +22 -5
- package/dist/webpack4/metafile.json +588 -319
- package/dist/webpack4/react.js +9 -1
- package/dist/webpack4/react.js.map +2 -2
- package/dist/webpack4/rjsf.js +249 -34
- package/dist/webpack4/rjsf.js.map +4 -4
- package/dist/webpack4/schema.js +6 -3
- package/dist/webpack4/{shared-KQOUMWJ4.js → shared-75QIWLZY.js} +1129 -1244
- package/dist/webpack4/{shared-KQOUMWJ4.js.map → shared-75QIWLZY.js.map} +4 -4
- package/dist/webpack4/shared-FYUILHED.js +1 -0
- package/dist/webpack4/shared-GQLPPRT2.js +210 -0
- package/dist/webpack4/shared-GQLPPRT2.js.map +7 -0
- package/dist/webpack4/shared-P2JBRZFP.js +2206 -0
- package/dist/webpack4/shared-P2JBRZFP.js.map +7 -0
- package/dist/webpack4/turbowarp.js +910 -9
- package/dist/webpack4/turbowarp.js.map +4 -4
- package/docs/fixed-input-contracts.md +77 -0
- package/docs/stage-2-publication.ja.md +6 -0
- package/package.json +8 -1
- package/dist/webpack4/shared-CQB3NG2A.js +0 -1
- package/dist/webpack4/shared-MRPGBJIH.js +0 -75
- package/dist/webpack4/shared-MRPGBJIH.js.map +0 -7
- package/dist/webpack4/shared-N6YQE2X6.js +0 -1029
- package/dist/webpack4/shared-N6YQE2X6.js.map +0 -7
- /package/dist/webpack4/{shared-CQB3NG2A.js.map → shared-FYUILHED.js.map} +0 -0
package/dist/view.js
CHANGED
|
@@ -36,6 +36,10 @@ export class EditorView {
|
|
|
36
36
|
};
|
|
37
37
|
const context = Object.freeze({
|
|
38
38
|
getDraft: () => owner.getDraft(),
|
|
39
|
+
...(owner.getFixedInputView ? { getFixedInputView: () => {
|
|
40
|
+
assertMounted();
|
|
41
|
+
return owner.getFixedInputView();
|
|
42
|
+
} } : {}),
|
|
39
43
|
setDraft: (draft) => { assertMounted(); owner.setDraft(draft); },
|
|
40
44
|
setValidationIssues: (issues) => {
|
|
41
45
|
assertMounted();
|
package/dist/webpack4/index.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import "./shared-
|
|
1
|
+
import "./shared-FYUILHED.js";
|
|
2
2
|
import {
|
|
3
3
|
DescendantSession,
|
|
4
4
|
EditorRegistry,
|
|
5
|
-
EditorSession
|
|
6
|
-
|
|
5
|
+
EditorSession,
|
|
6
|
+
FIXED_INPUTS_CAPABILITY,
|
|
7
|
+
captureFixedInputDeclaration,
|
|
8
|
+
captureFixedSnapshot,
|
|
9
|
+
createFixedInputEditor,
|
|
10
|
+
sameFixedSnapshot,
|
|
11
|
+
supportsFixedInputEditing,
|
|
12
|
+
supportsFixedInputs
|
|
13
|
+
} from "./shared-P2JBRZFP.js";
|
|
7
14
|
import {
|
|
8
15
|
BlockEditorConflictError,
|
|
9
16
|
BlockEditorStructureError,
|
|
@@ -13,7 +20,9 @@ import {
|
|
|
13
20
|
EDITOR_API_VERSION,
|
|
14
21
|
supportsDescendantEditing
|
|
15
22
|
} from "./shared-BKTRZUZH.js";
|
|
16
|
-
import
|
|
23
|
+
import {
|
|
24
|
+
parseFixedNumberInput
|
|
25
|
+
} from "./shared-75QIWLZY.js";
|
|
17
26
|
import "./shared-RN7GOT65.js";
|
|
18
27
|
export {
|
|
19
28
|
BlockEditorConflictError,
|
|
@@ -25,6 +34,14 @@ export {
|
|
|
25
34
|
EDITOR_API_VERSION,
|
|
26
35
|
EditorRegistry,
|
|
27
36
|
EditorSession,
|
|
28
|
-
|
|
37
|
+
FIXED_INPUTS_CAPABILITY,
|
|
38
|
+
captureFixedInputDeclaration,
|
|
39
|
+
captureFixedSnapshot,
|
|
40
|
+
createFixedInputEditor,
|
|
41
|
+
parseFixedNumberInput,
|
|
42
|
+
sameFixedSnapshot,
|
|
43
|
+
supportsDescendantEditing,
|
|
44
|
+
supportsFixedInputEditing,
|
|
45
|
+
supportsFixedInputs
|
|
29
46
|
};
|
|
30
47
|
//# sourceMappingURL=index.js.map
|