hyper-html-api 0.14.0 → 0.15.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/conformance/MANIFEST.json +2 -2
- package/conformance/cases/codec-form-nested.error.json +5 -0
- package/conformance/cases/codec-form-nested.html +4 -0
- package/conformance/cases/codec-form-nested.meta +6 -0
- package/conformance/cases/codec-form-nested.parsed.json +5 -0
- package/conformance/cases/codec-form-star.error.json +5 -0
- package/conformance/cases/codec-form-star.html +4 -0
- package/conformance/cases/codec-form-star.meta +6 -0
- package/conformance/cases/codec-form-star.parsed.json +3 -0
- package/conformance/cases/codec-form-under-v1.error.json +5 -0
- package/conformance/cases/codec-form-under-v1.html +4 -0
- package/conformance/cases/codec-form-under-v1.meta +6 -0
- package/conformance/cases/codec-form-under-v1.parsed.json +3 -0
- package/conformance/cases/codec-unknown-name.error.json +5 -0
- package/conformance/cases/codec-unknown-name.html +4 -0
- package/conformance/cases/codec-unknown-name.meta +6 -0
- package/conformance/cases/codec-unknown-name.parsed.json +3 -0
- package/conformance/cases/tag-version-2-plain.expected.json +7 -0
- package/conformance/cases/tag-version-2-plain.html +5 -0
- package/conformance/cases/tag-version-2-plain.meta +6 -0
- package/conformance/cases/tag-version-2-plain.parsed.json +4 -0
- package/conformance/cases/tag-wrong-version.error.json +1 -1
- package/conformance/cases/tag-wrong-version.html +1 -1
- package/conformance/sheet/body-data-write.body.json +3 -0
- package/conformance/sheet/body-data-write.data.json +3 -0
- package/conformance/sheet/body-data-write.html +25 -0
- package/conformance/sheet/body-data-write.meta +5 -0
- package/conformance/sheet/body-patch-key-in-rules.body.json +3 -0
- package/conformance/sheet/body-patch-key-in-rules.data.json +13 -0
- package/conformance/sheet/body-patch-key-in-rules.html +18 -0
- package/conformance/sheet/body-patch-key-in-rules.meta +5 -0
- package/conformance/sheet/body-patch-not-array.body.json +3 -0
- package/conformance/sheet/body-patch-not-array.data.json +3 -0
- package/conformance/sheet/body-patch-not-array.html +25 -0
- package/conformance/sheet/body-patch-not-array.meta +5 -0
- package/conformance/sheet/body-patch-on-sheet.body.json +3 -0
- package/conformance/sheet/body-patch-on-sheet.data.json +14 -0
- package/conformance/sheet/body-patch-on-sheet.html +25 -0
- package/conformance/sheet/body-patch-on-sheet.meta +5 -0
- package/conformance/sheet/body-patch-version-1.body.json +3 -0
- package/conformance/sheet/body-patch-version-1.data.json +13 -0
- package/conformance/sheet/body-patch-version-1.html +4 -0
- package/conformance/sheet/body-patch-version-1.meta +5 -0
- package/conformance/sheet/body-patch-with-other-key.body.json +3 -0
- package/conformance/sheet/body-patch-with-other-key.data.json +14 -0
- package/conformance/sheet/body-patch-with-other-key.html +25 -0
- package/conformance/sheet/body-patch-with-other-key.meta +5 -0
- package/conformance/sheet/body-patch-without-operation-id.body.json +3 -0
- package/conformance/sheet/body-patch-without-operation-id.data.json +13 -0
- package/conformance/sheet/body-patch-without-operation-id.html +25 -0
- package/conformance/sheet/body-patch-without-operation-id.meta +5 -0
- package/conformance/sheet/params-bad-range.error.json +6 -0
- package/conformance/sheet/params-bad-range.html +25 -0
- package/conformance/sheet/params-bad-range.meta +6 -0
- package/conformance/sheet/params-bad-render.error.json +6 -0
- package/conformance/sheet/params-bad-render.html +25 -0
- package/conformance/sheet/params-bad-render.meta +6 -0
- package/conformance/sheet/params-bad-shape.error.json +6 -0
- package/conformance/sheet/params-bad-shape.html +25 -0
- package/conformance/sheet/params-bad-shape.meta +6 -0
- package/conformance/sheet/params-cache-buster.expected.json +128 -0
- package/conformance/sheet/params-cache-buster.html +25 -0
- package/conformance/sheet/params-cache-buster.meta +6 -0
- package/conformance/sheet/params-data-alone.expected.json +128 -0
- package/conformance/sheet/params-data-alone.html +25 -0
- package/conformance/sheet/params-data-alone.meta +6 -0
- package/conformance/sheet/params-empty.error.json +6 -0
- package/conformance/sheet/params-empty.html +25 -0
- package/conformance/sheet/params-empty.meta +6 -0
- package/conformance/sheet/params-index.expected.json +19 -0
- package/conformance/sheet/params-index.html +25 -0
- package/conformance/sheet/params-index.meta +6 -0
- package/conformance/sheet/params-none.expected.json +128 -0
- package/conformance/sheet/params-none.html +25 -0
- package/conformance/sheet/params-none.meta +6 -0
- package/conformance/sheet/params-range.expected.json +17 -0
- package/conformance/sheet/params-range.html +25 -0
- package/conformance/sheet/params-range.meta +6 -0
- package/conformance/sheet/params-render-without-range.error.json +6 -0
- package/conformance/sheet/params-render-without-range.html +25 -0
- package/conformance/sheet/params-render-without-range.meta +6 -0
- package/conformance/sheet/params-repeated.error.json +6 -0
- package/conformance/sheet/params-repeated.html +25 -0
- package/conformance/sheet/params-repeated.meta +6 -0
- package/conformance/sheet/params-unknown-sheet.error.json +6 -0
- package/conformance/sheet/params-unknown-sheet.html +25 -0
- package/conformance/sheet/params-unknown-sheet.meta +6 -0
- package/conformance/sheet/params-with-data.error.json +6 -0
- package/conformance/sheet/params-with-data.html +25 -0
- package/conformance/sheet/params-with-data.meta +6 -0
- package/conformance/sheet/sheet-contract-cells.expected.json +57 -0
- package/conformance/sheet/sheet-contract-cells.html +10 -0
- package/conformance/sheet/sheet-contract-cells.meta +6 -0
- package/conformance/sheet/sheet-contract-formulas.expected.json +29 -0
- package/conformance/sheet/sheet-contract-formulas.html +10 -0
- package/conformance/sheet/sheet-contract-formulas.meta +6 -0
- package/conformance/sheet/sheet-contract-values.expected.json +29 -0
- package/conformance/sheet/sheet-contract-values.html +10 -0
- package/conformance/sheet/sheet-contract-values.meta +6 -0
- package/conformance/sheet/sheet-contract-whole.expected.json +59 -0
- package/conformance/sheet/sheet-contract-whole.html +10 -0
- package/conformance/sheet/sheet-contract-whole.meta +5 -0
- package/conformance/sheet/sheet-hostile-01.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-01.html +6 -0
- package/conformance/sheet/sheet-hostile-01.meta +5 -0
- package/conformance/sheet/sheet-hostile-02.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-02.html +6 -0
- package/conformance/sheet/sheet-hostile-02.meta +5 -0
- package/conformance/sheet/sheet-hostile-03.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-03.html +6 -0
- package/conformance/sheet/sheet-hostile-03.meta +5 -0
- package/conformance/sheet/sheet-hostile-04.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-04.html +6 -0
- package/conformance/sheet/sheet-hostile-04.meta +5 -0
- package/conformance/sheet/sheet-hostile-05.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-05.html +6 -0
- package/conformance/sheet/sheet-hostile-05.meta +5 -0
- package/conformance/sheet/sheet-hostile-06.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-06.html +6 -0
- package/conformance/sheet/sheet-hostile-06.meta +5 -0
- package/conformance/sheet/sheet-hostile-07.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-07.html +6 -0
- package/conformance/sheet/sheet-hostile-07.meta +5 -0
- package/conformance/sheet/sheet-hostile-08.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-08.html +6 -0
- package/conformance/sheet/sheet-hostile-08.meta +5 -0
- package/conformance/sheet/sheet-hostile-09.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-09.html +6 -0
- package/conformance/sheet/sheet-hostile-09.meta +5 -0
- package/conformance/sheet/sheet-hostile-10.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-10.html +6 -0
- package/conformance/sheet/sheet-hostile-10.meta +5 -0
- package/conformance/sheet/sheet-hostile-11.expected.json +22 -0
- package/conformance/sheet/sheet-hostile-11.html +6 -0
- package/conformance/sheet/sheet-hostile-11.meta +5 -0
- package/conformance/sheet/sheet-hostile-12.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-12.html +6 -0
- package/conformance/sheet/sheet-hostile-12.meta +5 -0
- package/conformance/sheet/sheet-hostile-13.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-13.html +6 -0
- package/conformance/sheet/sheet-hostile-13.meta +5 -0
- package/conformance/sheet/sheet-hostile-14.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-14.html +6 -0
- package/conformance/sheet/sheet-hostile-14.meta +5 -0
- package/conformance/sheet/sheet-hostile-15.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-15.html +0 -0
- package/conformance/sheet/sheet-hostile-15.meta +5 -0
- package/conformance/sheet/sheet-hostile-16.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-16.html +6 -0
- package/conformance/sheet/sheet-hostile-16.meta +5 -0
- package/conformance/sheet/sheet-hostile-17.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-17.html +6 -0
- package/conformance/sheet/sheet-hostile-17.meta +5 -0
- package/conformance/sheet/sheet-hostile-18.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-18.html +6 -0
- package/conformance/sheet/sheet-hostile-18.meta +5 -0
- package/conformance/sheet/sheet-hostile-19.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-19.html +6 -0
- package/conformance/sheet/sheet-hostile-19.meta +5 -0
- package/conformance/sheet/sheet-hostile-20.expected.json +16 -0
- package/conformance/sheet/sheet-hostile-20.html +6 -0
- package/conformance/sheet/sheet-hostile-20.meta +5 -0
- package/conformance/sheet/sheet-hostile-21.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-21.html +6 -0
- package/conformance/sheet/sheet-hostile-21.meta +5 -0
- package/conformance/sheet/sheet-hostile-22.expected.json +21 -0
- package/conformance/sheet/sheet-hostile-22.html +6 -0
- package/conformance/sheet/sheet-hostile-22.meta +5 -0
- package/conformance/sheet/sheet-hostile-23.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-23.html +6 -0
- package/conformance/sheet/sheet-hostile-23.meta +5 -0
- package/conformance/sheet/sheet-hostile-24.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-24.html +6 -0
- package/conformance/sheet/sheet-hostile-24.meta +5 -0
- package/conformance/sheet/sheet-hostile-25.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-25.html +6 -0
- package/conformance/sheet/sheet-hostile-25.meta +5 -0
- package/conformance/sheet/sheet-hostile-26.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-26.html +6 -0
- package/conformance/sheet/sheet-hostile-26.meta +5 -0
- package/conformance/sheet/sheet-hostile-27.expected.json +24 -0
- package/conformance/sheet/sheet-hostile-27.html +7 -0
- package/conformance/sheet/sheet-hostile-27.meta +5 -0
- package/conformance/sheet/sheet-hostile-28.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-28.html +6 -0
- package/conformance/sheet/sheet-hostile-28.meta +5 -0
- package/conformance/sheet/sheet-hostile-29.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-29.html +6 -0
- package/conformance/sheet/sheet-hostile-29.meta +5 -0
- package/conformance/sheet/sheet-hostile-30.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-30.html +6 -0
- package/conformance/sheet/sheet-hostile-30.meta +5 -0
- package/conformance/sheet/sheet-hostile-31.expected.json +19 -0
- package/conformance/sheet/sheet-hostile-31.html +6 -0
- package/conformance/sheet/sheet-hostile-31.meta +5 -0
- package/conformance/sheet/sheet-hostile-32.expected.json +24 -0
- package/conformance/sheet/sheet-hostile-32.html +6 -0
- package/conformance/sheet/sheet-hostile-32.meta +5 -0
- package/conformance/sheet/sheet-hostile-33.expected.json +18 -0
- package/conformance/sheet/sheet-hostile-33.html +6 -0
- package/conformance/sheet/sheet-hostile-33.meta +5 -0
- package/conformance/sheet/sheet-hostile-34.expected.json +24 -0
- package/conformance/sheet/sheet-hostile-34.html +8 -0
- package/conformance/sheet/sheet-hostile-34.meta +5 -0
- package/conformance/sheet/sheet-hostile-35.expected.json +24 -0
- package/conformance/sheet/sheet-hostile-35.html +8 -0
- package/conformance/sheet/sheet-hostile-35.meta +5 -0
- package/conformance/sheet/sheet-patch-append.after.html +27 -0
- package/conformance/sheet/sheet-patch-append.after.json +143 -0
- package/conformance/sheet/sheet-patch-append.data.json +15 -0
- package/conformance/sheet/sheet-patch-append.html +25 -0
- package/conformance/sheet/sheet-patch-append.meta +5 -0
- package/conformance/sheet/sheet-patch-append.write.json +7 -0
- package/conformance/sheet/sheet-patch-bad-range.data.json +11 -0
- package/conformance/sheet/sheet-patch-bad-range.error.json +6 -0
- package/conformance/sheet/sheet-patch-bad-range.html +25 -0
- package/conformance/sheet/sheet-patch-bad-range.meta +5 -0
- package/conformance/sheet/sheet-patch-bad-value.data.json +13 -0
- package/conformance/sheet/sheet-patch-bad-value.error.json +6 -0
- package/conformance/sheet/sheet-patch-bad-value.html +25 -0
- package/conformance/sheet/sheet-patch-bad-value.meta +5 -0
- package/conformance/sheet/sheet-patch-clean-tab-beside-edited.after.html +25 -0
- package/conformance/sheet/sheet-patch-clean-tab-beside-edited.after.json +129 -0
- package/conformance/sheet/sheet-patch-clean-tab-beside-edited.data.json +11 -0
- package/conformance/sheet/sheet-patch-clean-tab-beside-edited.html +25 -0
- package/conformance/sheet/sheet-patch-clean-tab-beside-edited.meta +5 -0
- package/conformance/sheet/sheet-patch-clean-tab-beside-edited.write.json +7 -0
- package/conformance/sheet/sheet-patch-covered-cell.data.json +10 -0
- package/conformance/sheet/sheet-patch-covered-cell.error.json +6 -0
- package/conformance/sheet/sheet-patch-covered-cell.html +10 -0
- package/conformance/sheet/sheet-patch-covered-cell.meta +5 -0
- package/conformance/sheet/sheet-patch-empty.data.json +1 -0
- package/conformance/sheet/sheet-patch-empty.error.json +6 -0
- package/conformance/sheet/sheet-patch-empty.html +25 -0
- package/conformance/sheet/sheet-patch-empty.meta +5 -0
- package/conformance/sheet/sheet-patch-fallback-route.after.html +24 -0
- package/conformance/sheet/sheet-patch-fallback-route.after.json +86 -0
- package/conformance/sheet/sheet-patch-fallback-route.data.json +10 -0
- package/conformance/sheet/sheet-patch-fallback-route.html +24 -0
- package/conformance/sheet/sheet-patch-fallback-route.meta +5 -0
- package/conformance/sheet/sheet-patch-fallback-route.write.json +7 -0
- package/conformance/sheet/sheet-patch-first-tab.after.html +25 -0
- package/conformance/sheet/sheet-patch-first-tab.after.json +129 -0
- package/conformance/sheet/sheet-patch-first-tab.data.json +10 -0
- package/conformance/sheet/sheet-patch-first-tab.html +25 -0
- package/conformance/sheet/sheet-patch-first-tab.meta +5 -0
- package/conformance/sheet/sheet-patch-first-tab.write.json +7 -0
- package/conformance/sheet/sheet-patch-formula.after.html +25 -0
- package/conformance/sheet/sheet-patch-formula.after.json +128 -0
- package/conformance/sheet/sheet-patch-formula.data.json +11 -0
- package/conformance/sheet/sheet-patch-formula.html +25 -0
- package/conformance/sheet/sheet-patch-formula.meta +5 -0
- package/conformance/sheet/sheet-patch-formula.write.json +7 -0
- package/conformance/sheet/sheet-patch-no-sheet-rule.data.json +10 -0
- package/conformance/sheet/sheet-patch-no-sheet-rule.error.json +6 -0
- package/conformance/sheet/sheet-patch-no-sheet-rule.html +18 -0
- package/conformance/sheet/sheet-patch-no-sheet-rule.meta +5 -0
- package/conformance/sheet/sheet-patch-no-values.data.json +6 -0
- package/conformance/sheet/sheet-patch-no-values.error.json +6 -0
- package/conformance/sheet/sheet-patch-no-values.html +25 -0
- package/conformance/sheet/sheet-patch-no-values.meta +5 -0
- package/conformance/sheet/sheet-patch-not-canonical.data.json +11 -0
- package/conformance/sheet/sheet-patch-not-canonical.error.json +6 -0
- package/conformance/sheet/sheet-patch-not-canonical.html +25 -0
- package/conformance/sheet/sheet-patch-not-canonical.meta +5 -0
- package/conformance/sheet/sheet-patch-outside-sheet.data.json +11 -0
- package/conformance/sheet/sheet-patch-outside-sheet.error.json +6 -0
- package/conformance/sheet/sheet-patch-outside-sheet.html +25 -0
- package/conformance/sheet/sheet-patch-outside-sheet.meta +5 -0
- package/conformance/sheet/sheet-patch-range.after.html +25 -0
- package/conformance/sheet/sheet-patch-range.after.json +126 -0
- package/conformance/sheet/sheet-patch-range.data.json +11 -0
- package/conformance/sheet/sheet-patch-range.html +25 -0
- package/conformance/sheet/sheet-patch-range.meta +5 -0
- package/conformance/sheet/sheet-patch-range.write.json +7 -0
- package/conformance/sheet/sheet-patch-two-tabs.after.html +25 -0
- package/conformance/sheet/sheet-patch-two-tabs.after.json +130 -0
- package/conformance/sheet/sheet-patch-two-tabs.data.json +20 -0
- package/conformance/sheet/sheet-patch-two-tabs.html +25 -0
- package/conformance/sheet/sheet-patch-two-tabs.meta +5 -0
- package/conformance/sheet/sheet-patch-two-tabs.write.json +7 -0
- package/conformance/sheet/sheet-patch-typed.after.html +25 -0
- package/conformance/sheet/sheet-patch-typed.after.json +121 -0
- package/conformance/sheet/sheet-patch-typed.data.json +13 -0
- package/conformance/sheet/sheet-patch-typed.html +25 -0
- package/conformance/sheet/sheet-patch-typed.meta +5 -0
- package/conformance/sheet/sheet-patch-typed.write.json +7 -0
- package/conformance/sheet/sheet-patch-unknown-sheet.data.json +11 -0
- package/conformance/sheet/sheet-patch-unknown-sheet.error.json +6 -0
- package/conformance/sheet/sheet-patch-unknown-sheet.html +25 -0
- package/conformance/sheet/sheet-patch-unknown-sheet.meta +5 -0
- package/conformance/sheet/sheet-read-bad-range.error.json +6 -0
- package/conformance/sheet/sheet-read-bad-range.html +25 -0
- package/conformance/sheet/sheet-read-bad-range.meta +6 -0
- package/conformance/sheet/sheet-read-bad-render.error.json +6 -0
- package/conformance/sheet/sheet-read-bad-render.html +25 -0
- package/conformance/sheet/sheet-read-bad-render.meta +6 -0
- package/conformance/sheet/sheet-read-digest.expected.json +91 -0
- package/conformance/sheet/sheet-read-digest.html +25 -0
- package/conformance/sheet/sheet-read-digest.meta +6 -0
- package/conformance/sheet/sheet-read-empty.expected.json +11 -0
- package/conformance/sheet/sheet-read-empty.html +6 -0
- package/conformance/sheet/sheet-read-empty.meta +5 -0
- package/conformance/sheet/sheet-read-escapes.expected.json +108 -0
- package/conformance/sheet/sheet-read-escapes.html +22 -0
- package/conformance/sheet/sheet-read-escapes.meta +5 -0
- package/conformance/sheet/sheet-read-formulas-formatted.expected.json +298 -0
- package/conformance/sheet/sheet-read-formulas-formatted.html +16 -0
- package/conformance/sheet/sheet-read-formulas-formatted.meta +5 -0
- package/conformance/sheet/sheet-read-grid-in-comment.expected.json +85 -0
- package/conformance/sheet/sheet-read-grid-in-comment.html +24 -0
- package/conformance/sheet/sheet-read-grid-in-comment.meta +5 -0
- package/conformance/sheet/sheet-read-grid-in-script.expected.json +85 -0
- package/conformance/sheet/sheet-read-grid-in-script.html +24 -0
- package/conformance/sheet/sheet-read-grid-in-script.meta +5 -0
- package/conformance/sheet/sheet-read-grid-in-template.expected.json +85 -0
- package/conformance/sheet/sheet-read-grid-in-template.html +24 -0
- package/conformance/sheet/sheet-read-grid-in-template.meta +5 -0
- package/conformance/sheet/sheet-read-grid-in-textarea.expected.json +85 -0
- package/conformance/sheet/sheet-read-grid-in-textarea.html +24 -0
- package/conformance/sheet/sheet-read-grid-in-textarea.meta +5 -0
- package/conformance/sheet/sheet-read-grid-outside-read-by-rule.expected.json +94 -0
- package/conformance/sheet/sheet-read-grid-outside-read-by-rule.html +24 -0
- package/conformance/sheet/sheet-read-grid-outside-read-by-rule.meta +5 -0
- package/conformance/sheet/sheet-read-grid-outside-sheet.expected.json +85 -0
- package/conformance/sheet/sheet-read-grid-outside-sheet.html +24 -0
- package/conformance/sheet/sheet-read-grid-outside-sheet.meta +5 -0
- package/conformance/sheet/sheet-read-hand-edited.expected.json +85 -0
- package/conformance/sheet/sheet-read-hand-edited.html +18 -0
- package/conformance/sheet/sheet-read-hand-edited.meta +5 -0
- package/conformance/sheet/sheet-read-index.expected.json +19 -0
- package/conformance/sheet/sheet-read-index.html +25 -0
- package/conformance/sheet/sheet-read-index.meta +6 -0
- package/conformance/sheet/sheet-read-merged.expected.json +59 -0
- package/conformance/sheet/sheet-read-merged.html +10 -0
- package/conformance/sheet/sheet-read-merged.meta +5 -0
- package/conformance/sheet/sheet-read-no-tag.error.json +5 -0
- package/conformance/sheet/sheet-read-no-tag.html +18 -0
- package/conformance/sheet/sheet-read-no-tag.meta +5 -0
- package/conformance/sheet/sheet-read-padded-name-index.expected.json +19 -0
- package/conformance/sheet/sheet-read-padded-name-index.html +25 -0
- package/conformance/sheet/sheet-read-padded-name-index.meta +6 -0
- package/conformance/sheet/sheet-read-padded-name-lookup.expected.json +83 -0
- package/conformance/sheet/sheet-read-padded-name-lookup.html +25 -0
- package/conformance/sheet/sheet-read-padded-name-lookup.meta +6 -0
- package/conformance/sheet/sheet-read-padded-name-trimmed-lookup.error.json +6 -0
- package/conformance/sheet/sheet-read-padded-name-trimmed-lookup.html +25 -0
- package/conformance/sheet/sheet-read-padded-name-trimmed-lookup.meta +6 -0
- package/conformance/sheet/sheet-read-padded-name.expected.json +128 -0
- package/conformance/sheet/sheet-read-padded-name.html +25 -0
- package/conformance/sheet/sheet-read-padded-name.meta +5 -0
- package/conformance/sheet/sheet-read-range-cells.expected.json +55 -0
- package/conformance/sheet/sheet-read-range-cells.html +25 -0
- package/conformance/sheet/sheet-read-range-cells.meta +6 -0
- package/conformance/sheet/sheet-read-range-first-tab.expected.json +12 -0
- package/conformance/sheet/sheet-read-range-first-tab.html +25 -0
- package/conformance/sheet/sheet-read-range-first-tab.meta +6 -0
- package/conformance/sheet/sheet-read-range-formulas.expected.json +24 -0
- package/conformance/sheet/sheet-read-range-formulas.html +25 -0
- package/conformance/sheet/sheet-read-range-formulas.meta +6 -0
- package/conformance/sheet/sheet-read-range-values.expected.json +24 -0
- package/conformance/sheet/sheet-read-range-values.html +25 -0
- package/conformance/sheet/sheet-read-range-values.meta +6 -0
- package/conformance/sheet/sheet-read-sheet-by-id.expected.json +46 -0
- package/conformance/sheet/sheet-read-sheet-by-id.html +25 -0
- package/conformance/sheet/sheet-read-sheet-by-id.meta +6 -0
- package/conformance/sheet/sheet-read-sheet-by-name.expected.json +46 -0
- package/conformance/sheet/sheet-read-sheet-by-name.html +25 -0
- package/conformance/sheet/sheet-read-sheet-by-name.meta +6 -0
- package/conformance/sheet/sheet-read-styled.expected.json +48 -0
- package/conformance/sheet/sheet-read-styled.html +10 -0
- package/conformance/sheet/sheet-read-styled.meta +5 -0
- package/conformance/sheet/sheet-read-tiny.expected.json +85 -0
- package/conformance/sheet/sheet-read-tiny.html +18 -0
- package/conformance/sheet/sheet-read-tiny.meta +5 -0
- package/conformance/sheet/sheet-read-two-tabs.expected.json +128 -0
- package/conformance/sheet/sheet-read-two-tabs.html +25 -0
- package/conformance/sheet/sheet-read-two-tabs.meta +5 -0
- package/conformance/sheet/sheet-read-unknown-sheet.error.json +6 -0
- package/conformance/sheet/sheet-read-unknown-sheet.html +25 -0
- package/conformance/sheet/sheet-read-unknown-sheet.meta +6 -0
- package/conformance/sheet/sheet-read-version-1-codec.error.json +5 -0
- package/conformance/sheet/sheet-read-version-1-codec.html +25 -0
- package/conformance/sheet/sheet-read-version-1-codec.meta +5 -0
- package/conformance/sheet/sheet-write-whole-refused.data.json +6 -0
- package/conformance/sheet/sheet-write-whole-refused.error.json +7 -0
- package/conformance/sheet/sheet-write-whole-refused.html +25 -0
- package/conformance/sheet/sheet-write-whole-refused.meta +5 -0
- package/conformance/sheet-guard-extraction.json +616 -0
- package/conformance/sheet-guard.json +32362 -0
- package/conformance/sheet-read-shapes.json +1 -0
- package/dist/hyper-html-api.engine.esm.js +1 -1
- package/dist/hyper-html-api.engine.min.js +1 -1
- package/dist/hyper-html-api.min.js +7 -7
- package/dist/hyper-html-api.upgrade.min.js +2 -2
- package/package.json +5 -3
- package/src/codecs/sheet.js +127 -0
- package/src/codecs/sheet.vendor.js +887 -0
- package/src/dom-api.js +20 -11
- package/src/engine/apply.js +12 -1
- package/src/engine/codecs.js +80 -0
- package/src/engine/errors.js +20 -1
- package/src/engine/extract.js +11 -0
- package/src/engine/index.js +9 -5
- package/src/engine/round-trip.js +16 -10
- package/src/engine/rule-syntax.js +16 -0
- package/src/engine/rules-tag.js +3 -2
- package/src/engine/write-plan.js +2 -0
- package/src/patch-document.js +122 -0
- package/src/read.js +163 -0
- package/src/upgrade/codec-carry.js +23 -0
- package/src/upgrade/extract-all.js +12 -3
- package/src/upgrade/migrate.js +30 -3
- package/src/upgrade/rules-tags.js +4 -4
- package/src/write.js +44 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "CodecRefused",
|
|
3
|
+
"message": "A sheet cannot be replaced as a whole value yet: send patch operations instead, for example [{ \"sheet\": \"Budget\", \"range\": \"B3\", \"values\": [[450]] }].",
|
|
4
|
+
"status": 409,
|
|
5
|
+
"details": null,
|
|
6
|
+
"code": "sheet-write-unavailable"
|
|
7
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html><head><script type="application/json" data-rules-name="api" data-rules-version="2">{"title":"h1","sheets":"[items=sheets]@codec(sheet)"}</script></head><body><h1>Book</h1><main sap data-rev="12"><div items="sheets">
|
|
3
|
+
<section item data-id="s1" data-pos="V"><h2 bind="name">Budget</h2><table grid freeze-cols="1"><colgroup><col data-id="ca" data-pos="G" style="width:180px"><col data-id="cb" data-pos="V" fmt="$#,##0.00"><col data-id="cc" data-pos="l" fmt="0%"></colgroup>
|
|
4
|
+
<thead>
|
|
5
|
+
<tr data-id="r1" data-pos="8"><td style="font-weight:bold">Item</td><td>Cost</td><td>Share</td></tr>
|
|
6
|
+
</thead><tbody>
|
|
7
|
+
<tr data-id="r2" data-pos="G"><td>Rent</td><td n v="1200">$1,200.00</td><td n f="=B2/B$5" v="0.8">80%</td></tr>
|
|
8
|
+
<tr data-id="r3" data-pos="O"><td>Food</td><td n v="300">$300.00</td><td n f="=B3/B$5" v="0.2">20%</td></tr>
|
|
9
|
+
<tr data-id="r4" data-pos="V"></tr>
|
|
10
|
+
<tr data-id="r5" data-pos="d"><td style="font-weight:bold">Total</td><td n f="=SUM(B2:B3)" v="1500">$1,500.00</td></tr>
|
|
11
|
+
<tr data-id="r6" data-pos="l"><td colspan="3" style="text-align:center">Prices as of November</td><td hidden></td><td hidden></td></tr>
|
|
12
|
+
</tbody></table>
|
|
13
|
+
<table grid><colgroup><col data-id="cd" data-pos="G"><col data-id="ce" data-pos="V"></colgroup>
|
|
14
|
+
<tbody>
|
|
15
|
+
<tr data-id="r7" data-pos="G"><td>Lisbon</td><td n v="46095" fmt="mmm d, yyyy">Mar 14, 2026</td></tr>
|
|
16
|
+
<tr data-id="r8" data-pos="V"><td>Budget left</td><td n f="=5000-Budget!B5" v="3500" fmt="$#,##0.00">$3,500.00</td></tr>
|
|
17
|
+
</tbody></table></section>
|
|
18
|
+
<section item data-id="s2" data-pos="V"><h2 bind="name">Styled</h2><table grid freeze-cols="2"><colgroup><col data-id="st-c0" data-pos="G" style="width:120px"><col data-id="st-c1" data-pos="V" fmt="0.0%"><col data-id="st-c2" data-pos="l"></colgroup>
|
|
19
|
+
<thead>
|
|
20
|
+
<tr data-id="st-r1" data-pos="G" style="font-weight:bold;background:#eef"><td>Name</td><td>Share</td><td>Note</td></tr>
|
|
21
|
+
</thead><tbody>
|
|
22
|
+
<tr data-id="st-r2" data-pos="V"><td style="color:#c00">Red</td><td n v="0.125" style="text-align:right;font-style:italic">12.5%</td><td style="text-decoration:underline;white-space:nowrap">underlined</td></tr>
|
|
23
|
+
<tr data-id="st-r3" data-pos="l" style="border-bottom:1px solid #999"><td>last</td></tr>
|
|
24
|
+
</tbody></table></section>
|
|
25
|
+
</div></main></body></html>
|
|
@@ -0,0 +1,616 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": 1,
|
|
3
|
+
"cases": [
|
|
4
|
+
{
|
|
5
|
+
"name": "pure",
|
|
6
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
7
|
+
"island": {
|
|
8
|
+
"api": {
|
|
9
|
+
"sheets": [
|
|
10
|
+
{
|
|
11
|
+
"id": "s1",
|
|
12
|
+
"name": "Budget",
|
|
13
|
+
"cols": [
|
|
14
|
+
"c1"
|
|
15
|
+
],
|
|
16
|
+
"rows": [
|
|
17
|
+
[
|
|
18
|
+
"r1",
|
|
19
|
+
1,
|
|
20
|
+
10,
|
|
21
|
+
"1c5fbd80",
|
|
22
|
+
"8829dfd9",
|
|
23
|
+
"1"
|
|
24
|
+
]
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"@codecs": {
|
|
30
|
+
"api": {
|
|
31
|
+
"sheets": "sheet"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"@form": "stored"
|
|
35
|
+
},
|
|
36
|
+
"data": {
|
|
37
|
+
"sheets": [
|
|
38
|
+
{
|
|
39
|
+
"id": "s1",
|
|
40
|
+
"name": "Budget",
|
|
41
|
+
"cols": [
|
|
42
|
+
"c1"
|
|
43
|
+
],
|
|
44
|
+
"rows": [
|
|
45
|
+
{
|
|
46
|
+
"id": "r1",
|
|
47
|
+
"cells": [
|
|
48
|
+
"Saved cell"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "overlap",
|
|
58
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"content\":\"body@innerHTML\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
59
|
+
"island": {
|
|
60
|
+
"api": {
|
|
61
|
+
"sheets": [
|
|
62
|
+
{
|
|
63
|
+
"id": "s1",
|
|
64
|
+
"name": "Budget",
|
|
65
|
+
"cols": [
|
|
66
|
+
"c1"
|
|
67
|
+
],
|
|
68
|
+
"rows": [
|
|
69
|
+
[
|
|
70
|
+
"r1",
|
|
71
|
+
1,
|
|
72
|
+
10,
|
|
73
|
+
"1c5fbd80",
|
|
74
|
+
"8829dfd9",
|
|
75
|
+
"1"
|
|
76
|
+
]
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"content": "<div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid=\"\"><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div>"
|
|
81
|
+
},
|
|
82
|
+
"@codecs": {
|
|
83
|
+
"api": {
|
|
84
|
+
"sheets": "sheet"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"@form": "stored"
|
|
88
|
+
},
|
|
89
|
+
"data": {
|
|
90
|
+
"sheets": [
|
|
91
|
+
{
|
|
92
|
+
"id": "s1",
|
|
93
|
+
"name": "Budget",
|
|
94
|
+
"cols": [
|
|
95
|
+
"c1"
|
|
96
|
+
],
|
|
97
|
+
"rows": [
|
|
98
|
+
{
|
|
99
|
+
"id": "r1",
|
|
100
|
+
"cells": [
|
|
101
|
+
"Saved cell"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"content": "<div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid=\"\"><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div>"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "cell",
|
|
112
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"first\":\"td\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
113
|
+
"island": {
|
|
114
|
+
"api": {
|
|
115
|
+
"sheets": [
|
|
116
|
+
{
|
|
117
|
+
"id": "s1",
|
|
118
|
+
"name": "Budget",
|
|
119
|
+
"cols": [
|
|
120
|
+
"c1"
|
|
121
|
+
],
|
|
122
|
+
"rows": [
|
|
123
|
+
[
|
|
124
|
+
"r1",
|
|
125
|
+
1,
|
|
126
|
+
10,
|
|
127
|
+
"1c5fbd80",
|
|
128
|
+
"8829dfd9",
|
|
129
|
+
"1"
|
|
130
|
+
]
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"first": "Saved cell"
|
|
135
|
+
},
|
|
136
|
+
"@codecs": {
|
|
137
|
+
"api": {
|
|
138
|
+
"sheets": "sheet"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"@form": "stored"
|
|
142
|
+
},
|
|
143
|
+
"data": {
|
|
144
|
+
"sheets": [
|
|
145
|
+
{
|
|
146
|
+
"id": "s1",
|
|
147
|
+
"name": "Budget",
|
|
148
|
+
"cols": [
|
|
149
|
+
"c1"
|
|
150
|
+
],
|
|
151
|
+
"rows": [
|
|
152
|
+
{
|
|
153
|
+
"id": "r1",
|
|
154
|
+
"cells": [
|
|
155
|
+
"Saved cell"
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"first": "Saved cell"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "nested-table",
|
|
166
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Before <table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table> after</td></tr></tbody></table></section></div></body></html>",
|
|
167
|
+
"data": {
|
|
168
|
+
"sheets": [
|
|
169
|
+
{
|
|
170
|
+
"id": "s1",
|
|
171
|
+
"name": "Budget",
|
|
172
|
+
"cols": [
|
|
173
|
+
"c1"
|
|
174
|
+
],
|
|
175
|
+
"rows": [
|
|
176
|
+
{
|
|
177
|
+
"id": "r1",
|
|
178
|
+
"cells": [
|
|
179
|
+
"Before Saved cell after"
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"island": {
|
|
187
|
+
"api": {
|
|
188
|
+
"sheets": [
|
|
189
|
+
{
|
|
190
|
+
"id": "s1",
|
|
191
|
+
"name": "Budget",
|
|
192
|
+
"cols": [
|
|
193
|
+
"c1"
|
|
194
|
+
],
|
|
195
|
+
"rows": [
|
|
196
|
+
[
|
|
197
|
+
"r1",
|
|
198
|
+
1,
|
|
199
|
+
23,
|
|
200
|
+
"f6702c9b",
|
|
201
|
+
"8829dfd9",
|
|
202
|
+
"1"
|
|
203
|
+
]
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"@codecs": {
|
|
209
|
+
"api": {
|
|
210
|
+
"sheets": "sheet"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"@form": "stored"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "nested-uppercase-table",
|
|
218
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><TABLE GRID><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Before <table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table> after</td></tr></tbody></table></section></div></body></html>",
|
|
219
|
+
"data": {
|
|
220
|
+
"sheets": [
|
|
221
|
+
{
|
|
222
|
+
"id": "s1",
|
|
223
|
+
"name": "Budget",
|
|
224
|
+
"cols": [
|
|
225
|
+
"c1"
|
|
226
|
+
],
|
|
227
|
+
"rows": [
|
|
228
|
+
{
|
|
229
|
+
"id": "r1",
|
|
230
|
+
"cells": [
|
|
231
|
+
"Before Saved cell after"
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"island": {
|
|
239
|
+
"api": {
|
|
240
|
+
"sheets": [
|
|
241
|
+
{
|
|
242
|
+
"id": "s1",
|
|
243
|
+
"name": "Budget",
|
|
244
|
+
"cols": [
|
|
245
|
+
"c1"
|
|
246
|
+
],
|
|
247
|
+
"rows": [
|
|
248
|
+
[
|
|
249
|
+
"r1",
|
|
250
|
+
1,
|
|
251
|
+
23,
|
|
252
|
+
"f6702c9b",
|
|
253
|
+
"8829dfd9",
|
|
254
|
+
"1"
|
|
255
|
+
]
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"@codecs": {
|
|
261
|
+
"api": {
|
|
262
|
+
"sheets": "sheet"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"@form": "stored"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "conditional-codec",
|
|
270
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"filled\":\"[items=sheets]:has(td)@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
271
|
+
"data": {
|
|
272
|
+
"sheets": [
|
|
273
|
+
{
|
|
274
|
+
"id": "s1",
|
|
275
|
+
"name": "Budget",
|
|
276
|
+
"cols": [
|
|
277
|
+
"c1"
|
|
278
|
+
],
|
|
279
|
+
"rows": [
|
|
280
|
+
{
|
|
281
|
+
"id": "r1",
|
|
282
|
+
"cells": [
|
|
283
|
+
"Saved cell"
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"filled": [
|
|
290
|
+
{
|
|
291
|
+
"id": "s1",
|
|
292
|
+
"name": "Budget",
|
|
293
|
+
"cols": [
|
|
294
|
+
"c1"
|
|
295
|
+
],
|
|
296
|
+
"rows": [
|
|
297
|
+
{
|
|
298
|
+
"id": "r1",
|
|
299
|
+
"cells": [
|
|
300
|
+
"Saved cell"
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"island": {
|
|
308
|
+
"api": {
|
|
309
|
+
"sheets": [
|
|
310
|
+
{
|
|
311
|
+
"id": "s1",
|
|
312
|
+
"name": "Budget",
|
|
313
|
+
"cols": [
|
|
314
|
+
"c1"
|
|
315
|
+
],
|
|
316
|
+
"rows": [
|
|
317
|
+
[
|
|
318
|
+
"r1",
|
|
319
|
+
1,
|
|
320
|
+
10,
|
|
321
|
+
"1c5fbd80",
|
|
322
|
+
"8829dfd9",
|
|
323
|
+
"1"
|
|
324
|
+
]
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"filled": [
|
|
329
|
+
{
|
|
330
|
+
"id": "s1",
|
|
331
|
+
"name": "Budget",
|
|
332
|
+
"cols": [
|
|
333
|
+
"c1"
|
|
334
|
+
],
|
|
335
|
+
"rows": [
|
|
336
|
+
[
|
|
337
|
+
"r1",
|
|
338
|
+
1,
|
|
339
|
+
10,
|
|
340
|
+
"1c5fbd80",
|
|
341
|
+
"8829dfd9",
|
|
342
|
+
"1"
|
|
343
|
+
]
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
"@codecs": {
|
|
349
|
+
"api": {
|
|
350
|
+
"sheets": "sheet",
|
|
351
|
+
"filled": "sheet"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"@form": "stored"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "cell-codec",
|
|
359
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"cell\":\"td@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
360
|
+
"data": {
|
|
361
|
+
"sheets": [
|
|
362
|
+
{
|
|
363
|
+
"id": "s1",
|
|
364
|
+
"name": "Budget",
|
|
365
|
+
"cols": [
|
|
366
|
+
"c1"
|
|
367
|
+
],
|
|
368
|
+
"rows": [
|
|
369
|
+
{
|
|
370
|
+
"id": "r1",
|
|
371
|
+
"cells": [
|
|
372
|
+
"Saved cell"
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"cell": []
|
|
379
|
+
},
|
|
380
|
+
"island": {
|
|
381
|
+
"api": {
|
|
382
|
+
"sheets": [
|
|
383
|
+
{
|
|
384
|
+
"id": "s1",
|
|
385
|
+
"name": "Budget",
|
|
386
|
+
"cols": [
|
|
387
|
+
"c1"
|
|
388
|
+
],
|
|
389
|
+
"rows": [
|
|
390
|
+
[
|
|
391
|
+
"r1",
|
|
392
|
+
1,
|
|
393
|
+
10,
|
|
394
|
+
"1c5fbd80",
|
|
395
|
+
"8829dfd9",
|
|
396
|
+
"1"
|
|
397
|
+
]
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"cell": []
|
|
402
|
+
},
|
|
403
|
+
"@codecs": {
|
|
404
|
+
"api": {
|
|
405
|
+
"sheets": "sheet",
|
|
406
|
+
"cell": "sheet"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"@form": "stored"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "row-codec",
|
|
414
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"row\":\"[data-id=r1]@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
415
|
+
"data": {
|
|
416
|
+
"sheets": [
|
|
417
|
+
{
|
|
418
|
+
"id": "s1",
|
|
419
|
+
"name": "Budget",
|
|
420
|
+
"cols": [
|
|
421
|
+
"c1"
|
|
422
|
+
],
|
|
423
|
+
"rows": [
|
|
424
|
+
{
|
|
425
|
+
"id": "r1",
|
|
426
|
+
"cells": [
|
|
427
|
+
"Saved cell"
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"row": []
|
|
434
|
+
},
|
|
435
|
+
"island": {
|
|
436
|
+
"api": {
|
|
437
|
+
"sheets": [
|
|
438
|
+
{
|
|
439
|
+
"id": "s1",
|
|
440
|
+
"name": "Budget",
|
|
441
|
+
"cols": [
|
|
442
|
+
"c1"
|
|
443
|
+
],
|
|
444
|
+
"rows": [
|
|
445
|
+
[
|
|
446
|
+
"r1",
|
|
447
|
+
1,
|
|
448
|
+
10,
|
|
449
|
+
"1c5fbd80",
|
|
450
|
+
"8829dfd9",
|
|
451
|
+
"1"
|
|
452
|
+
]
|
|
453
|
+
]
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"row": []
|
|
457
|
+
},
|
|
458
|
+
"@codecs": {
|
|
459
|
+
"api": {
|
|
460
|
+
"sheets": "sheet",
|
|
461
|
+
"row": "sheet"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"@form": "stored"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "conditional-ordinary",
|
|
469
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"filled\":\"[items=sheets]:has(td)@textContent\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
470
|
+
"data": {
|
|
471
|
+
"sheets": [
|
|
472
|
+
{
|
|
473
|
+
"id": "s1",
|
|
474
|
+
"name": "Budget",
|
|
475
|
+
"cols": [
|
|
476
|
+
"c1"
|
|
477
|
+
],
|
|
478
|
+
"rows": [
|
|
479
|
+
{
|
|
480
|
+
"id": "r1",
|
|
481
|
+
"cells": [
|
|
482
|
+
"Saved cell"
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"filled": "BudgetSaved cell"
|
|
489
|
+
},
|
|
490
|
+
"island": {
|
|
491
|
+
"api": {
|
|
492
|
+
"sheets": [
|
|
493
|
+
{
|
|
494
|
+
"id": "s1",
|
|
495
|
+
"name": "Budget",
|
|
496
|
+
"cols": [
|
|
497
|
+
"c1"
|
|
498
|
+
],
|
|
499
|
+
"rows": [
|
|
500
|
+
[
|
|
501
|
+
"r1",
|
|
502
|
+
1,
|
|
503
|
+
10,
|
|
504
|
+
"1c5fbd80",
|
|
505
|
+
"8829dfd9",
|
|
506
|
+
"1"
|
|
507
|
+
]
|
|
508
|
+
]
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"filled": "BudgetSaved cell"
|
|
512
|
+
},
|
|
513
|
+
"@codecs": {
|
|
514
|
+
"api": {
|
|
515
|
+
"sheets": "sheet"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"@form": "stored"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"name": "ordinary-nested-list",
|
|
523
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\",\"cells\":[\"td\",{\"value\":\".\"}]}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget</h2><table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
524
|
+
"data": {
|
|
525
|
+
"sheets": [
|
|
526
|
+
{
|
|
527
|
+
"id": "s1",
|
|
528
|
+
"name": "Budget",
|
|
529
|
+
"cols": [
|
|
530
|
+
"c1"
|
|
531
|
+
],
|
|
532
|
+
"rows": [
|
|
533
|
+
{
|
|
534
|
+
"id": "r1",
|
|
535
|
+
"cells": [
|
|
536
|
+
"Saved cell"
|
|
537
|
+
]
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"cells": [
|
|
543
|
+
{
|
|
544
|
+
"value": "Saved cell"
|
|
545
|
+
}
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
"island": {
|
|
549
|
+
"api": {
|
|
550
|
+
"sheets": [
|
|
551
|
+
{
|
|
552
|
+
"id": "s1",
|
|
553
|
+
"name": "Budget",
|
|
554
|
+
"cols": [
|
|
555
|
+
"c1"
|
|
556
|
+
],
|
|
557
|
+
"rows": [
|
|
558
|
+
[
|
|
559
|
+
"r1",
|
|
560
|
+
1,
|
|
561
|
+
10,
|
|
562
|
+
"1c5fbd80",
|
|
563
|
+
"8829dfd9",
|
|
564
|
+
"1"
|
|
565
|
+
]
|
|
566
|
+
]
|
|
567
|
+
}
|
|
568
|
+
],
|
|
569
|
+
"cells": [
|
|
570
|
+
{
|
|
571
|
+
"value": "Saved cell"
|
|
572
|
+
}
|
|
573
|
+
]
|
|
574
|
+
},
|
|
575
|
+
"@codecs": {
|
|
576
|
+
"api": {
|
|
577
|
+
"sheets": "sheet"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"@form": "stored"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "unclosed-heading",
|
|
585
|
+
"html": "<!doctype html><html><head><script data-rules-name=\"api\" data-rules-version=\"2\">{\"sheets\":\"[items=sheets]@codec(sheet)\"}</script></head><body><div items=\"sheets\"><section item=\"\" data-id=\"s1\"><h2 bind=\"name\">Budget<table grid><colgroup><col data-id=\"c1\" data-pos=\"V\"></colgroup><tbody><tr data-id=\"r1\" data-pos=\"V\"><td>Saved cell</td></tr></tbody></table></section></div></body></html>",
|
|
586
|
+
"data": {
|
|
587
|
+
"sheets": [
|
|
588
|
+
{
|
|
589
|
+
"id": "s1",
|
|
590
|
+
"name": "BudgetSaved cell",
|
|
591
|
+
"cols": [],
|
|
592
|
+
"rows": []
|
|
593
|
+
}
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
"island": {
|
|
597
|
+
"api": {
|
|
598
|
+
"sheets": [
|
|
599
|
+
{
|
|
600
|
+
"id": "s1",
|
|
601
|
+
"name": "BudgetSaved cell",
|
|
602
|
+
"cols": [],
|
|
603
|
+
"rows": []
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
"@codecs": {
|
|
608
|
+
"api": {
|
|
609
|
+
"sheets": "sheet"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"@form": "stored"
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
}
|