ducjs 2.3.0 → 3.0.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 +2 -2
- package/dist/enums.d.ts +135 -0
- package/dist/enums.js +155 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.js +8 -4
- package/dist/lazy-files.d.ts +44 -0
- package/dist/lazy-files.js +129 -0
- package/dist/parse.d.ts +21 -55
- package/dist/parse.js +58 -1445
- package/dist/restore/index.d.ts +0 -1
- package/dist/restore/index.js +0 -1
- package/dist/restore/restoreDataState.d.ts +6 -10
- package/dist/restore/restoreDataState.js +117 -127
- package/dist/restore/restoreElements.d.ts +1 -1
- package/dist/restore/restoreElements.js +37 -494
- package/dist/serialize.d.ts +11 -4
- package/dist/serialize.js +58 -2545
- package/dist/technical/index.d.ts +0 -1
- package/dist/technical/index.js +0 -1
- package/dist/technical/scopes.d.ts +1 -1
- package/dist/technical/scopes.js +1 -1
- package/dist/transform.d.ts +12 -0
- package/dist/transform.js +442 -0
- package/dist/types/elements/index.d.ts +120 -693
- package/dist/types/elements/typeChecks.d.ts +6 -3
- package/dist/types/elements/typeChecks.js +9 -8
- package/dist/types/geometryTypes.d.ts +1 -1
- package/dist/types/index.d.ts +38 -305
- package/dist/utils/constants.d.ts +21 -100
- package/dist/utils/constants.js +29 -212
- package/dist/utils/elements/freedrawElement.d.ts +6 -0
- package/dist/utils/elements/freedrawElement.js +28 -11
- package/dist/utils/elements/index.d.ts +3 -14
- package/dist/utils/elements/index.js +7 -99
- package/dist/utils/elements/linearElement.d.ts +2 -2
- package/dist/utils/elements/newElement.d.ts +2 -12
- package/dist/utils/elements/newElement.js +32 -52
- package/dist/utils/elements/textElement.d.ts +3 -3
- package/dist/utils/elements/textElement.js +44 -17
- package/dist/utils/math/index.d.ts +5 -4
- package/dist/utils/math/index.js +3 -3
- package/dist/utils/shape.js +2 -2
- package/dist/utils/state/index.d.ts +0 -1
- package/dist/utils/state/index.js +5 -71
- package/dist/utils/traverse.d.ts +8 -0
- package/dist/utils/traverse.js +37 -0
- package/dist/version-control.d.ts +61 -0
- package/dist/version-control.js +84 -0
- package/dist/wasm.d.ts +20 -0
- package/dist/wasm.js +52 -0
- package/package.json +2 -2
- package/dist/flatbuffers/duc/alternate-units.d.ts +0 -21
- package/dist/flatbuffers/duc/alternate-units.js +0 -66
- package/dist/flatbuffers/duc/angular-unit-system.d.ts +0 -17
- package/dist/flatbuffers/duc/angular-unit-system.js +0 -50
- package/dist/flatbuffers/duc/angular-units-format.d.ts +0 -7
- package/dist/flatbuffers/duc/angular-units-format.js +0 -10
- package/dist/flatbuffers/duc/axis.d.ts +0 -5
- package/dist/flatbuffers/duc/axis.js +0 -8
- package/dist/flatbuffers/duc/bezier-mirroring.d.ts +0 -5
- package/dist/flatbuffers/duc/bezier-mirroring.js +0 -8
- package/dist/flatbuffers/duc/blending.d.ts +0 -9
- package/dist/flatbuffers/duc/blending.js +0 -12
- package/dist/flatbuffers/duc/block-attachment.d.ts +0 -4
- package/dist/flatbuffers/duc/block-attachment.js +0 -7
- package/dist/flatbuffers/duc/boolean-operation.d.ts +0 -6
- package/dist/flatbuffers/duc/boolean-operation.js +0 -9
- package/dist/flatbuffers/duc/bound-element.d.ts +0 -17
- package/dist/flatbuffers/duc/bound-element.js +0 -48
- package/dist/flatbuffers/duc/checkpoint.d.ts +0 -22
- package/dist/flatbuffers/duc/checkpoint.js +0 -75
- package/dist/flatbuffers/duc/column-layout.d.ts +0 -22
- package/dist/flatbuffers/duc/column-layout.js +0 -72
- package/dist/flatbuffers/duc/column-type.d.ts +0 -5
- package/dist/flatbuffers/duc/column-type.js +0 -8
- package/dist/flatbuffers/duc/custom-hatch-pattern.d.ts +0 -23
- package/dist/flatbuffers/duc/custom-hatch-pattern.js +0 -71
- package/dist/flatbuffers/duc/datum-bracket-style.d.ts +0 -5
- package/dist/flatbuffers/duc/datum-bracket-style.js +0 -8
- package/dist/flatbuffers/duc/datum-reference.d.ts +0 -17
- package/dist/flatbuffers/duc/datum-reference.js +0 -49
- package/dist/flatbuffers/duc/datum-target-type.d.ts +0 -6
- package/dist/flatbuffers/duc/datum-target-type.js +0 -9
- package/dist/flatbuffers/duc/decimal-separator.d.ts +0 -4
- package/dist/flatbuffers/duc/decimal-separator.js +0 -7
- package/dist/flatbuffers/duc/delta.d.ts +0 -22
- package/dist/flatbuffers/duc/delta.js +0 -75
- package/dist/flatbuffers/duc/dictionary-entry.d.ts +0 -17
- package/dist/flatbuffers/duc/dictionary-entry.js +0 -49
- package/dist/flatbuffers/duc/dimension-baseline-data.d.ts +0 -14
- package/dist/flatbuffers/duc/dimension-baseline-data.js +0 -40
- package/dist/flatbuffers/duc/dimension-bindings.d.ts +0 -17
- package/dist/flatbuffers/duc/dimension-bindings.js +0 -50
- package/dist/flatbuffers/duc/dimension-continue-data.d.ts +0 -14
- package/dist/flatbuffers/duc/dimension-continue-data.js +0 -40
- package/dist/flatbuffers/duc/dimension-definition-points.d.ts +0 -21
- package/dist/flatbuffers/duc/dimension-definition-points.js +0 -64
- package/dist/flatbuffers/duc/dimension-ext-line-style.d.ts +0 -18
- package/dist/flatbuffers/duc/dimension-ext-line-style.js +0 -57
- package/dist/flatbuffers/duc/dimension-fit-rule.d.ts +0 -6
- package/dist/flatbuffers/duc/dimension-fit-rule.js +0 -9
- package/dist/flatbuffers/duc/dimension-fit-style.d.ts +0 -19
- package/dist/flatbuffers/duc/dimension-fit-style.js +0 -58
- package/dist/flatbuffers/duc/dimension-line-style.d.ts +0 -16
- package/dist/flatbuffers/duc/dimension-line-style.js +0 -49
- package/dist/flatbuffers/duc/dimension-symbol-style.d.ts +0 -22
- package/dist/flatbuffers/duc/dimension-symbol-style.js +0 -72
- package/dist/flatbuffers/duc/dimension-text-placement.d.ts +0 -5
- package/dist/flatbuffers/duc/dimension-text-placement.js +0 -8
- package/dist/flatbuffers/duc/dimension-tolerance-style.d.ts +0 -24
- package/dist/flatbuffers/duc/dimension-tolerance-style.js +0 -71
- package/dist/flatbuffers/duc/dimension-type.d.ts +0 -15
- package/dist/flatbuffers/duc/dimension-type.js +0 -18
- package/dist/flatbuffers/duc/dimension-units-format.d.ts +0 -7
- package/dist/flatbuffers/duc/dimension-units-format.js +0 -10
- package/dist/flatbuffers/duc/dimension-validation-rules.d.ts +0 -25
- package/dist/flatbuffers/duc/dimension-validation-rules.js +0 -74
- package/dist/flatbuffers/duc/document-grid-align-items.d.ts +0 -5
- package/dist/flatbuffers/duc/document-grid-align-items.js +0 -8
- package/dist/flatbuffers/duc/document-grid-config.d.ts +0 -22
- package/dist/flatbuffers/duc/document-grid-config.js +0 -73
- package/dist/flatbuffers/duc/duc-arrow-element.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-arrow-element.js +0 -49
- package/dist/flatbuffers/duc/duc-block-attribute-definition-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-block-attribute-definition-entry.js +0 -44
- package/dist/flatbuffers/duc/duc-block-attribute-definition.d.ts +0 -22
- package/dist/flatbuffers/duc/duc-block-attribute-definition.js +0 -64
- package/dist/flatbuffers/duc/duc-block-collection-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-block-collection-entry.js +0 -48
- package/dist/flatbuffers/duc/duc-block-collection.d.ts +0 -31
- package/dist/flatbuffers/duc/duc-block-collection.js +0 -97
- package/dist/flatbuffers/duc/duc-block-duplication-array.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-block-duplication-array.js +0 -64
- package/dist/flatbuffers/duc/duc-block-instance-element.d.ts +0 -10
- package/dist/flatbuffers/duc/duc-block-instance-element.js +0 -28
- package/dist/flatbuffers/duc/duc-block-instance.d.ts +0 -32
- package/dist/flatbuffers/duc/duc-block-instance.js +0 -100
- package/dist/flatbuffers/duc/duc-block-metadata.d.ts +0 -26
- package/dist/flatbuffers/duc/duc-block-metadata.js +0 -90
- package/dist/flatbuffers/duc/duc-block.d.ts +0 -36
- package/dist/flatbuffers/duc/duc-block.js +0 -112
- package/dist/flatbuffers/duc/duc-common-style.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-common-style.js +0 -44
- package/dist/flatbuffers/duc/duc-dimension-element.d.ts +0 -45
- package/dist/flatbuffers/duc/duc-dimension-element.js +0 -120
- package/dist/flatbuffers/duc/duc-dimension-style.d.ts +0 -28
- package/dist/flatbuffers/duc/duc-dimension-style.js +0 -76
- package/dist/flatbuffers/duc/duc-doc-element.d.ts +0 -39
- package/dist/flatbuffers/duc/duc-doc-element.js +0 -110
- package/dist/flatbuffers/duc/duc-doc-style.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-doc-style.js +0 -52
- package/dist/flatbuffers/duc/duc-element-base.d.ts +0 -100
- package/dist/flatbuffers/duc/duc-element-base.js +0 -315
- package/dist/flatbuffers/duc/duc-element-styles-base.d.ts +0 -30
- package/dist/flatbuffers/duc/duc-element-styles-base.js +0 -103
- package/dist/flatbuffers/duc/duc-ellipse-element.d.ts +0 -22
- package/dist/flatbuffers/duc/duc-ellipse-element.js +0 -73
- package/dist/flatbuffers/duc/duc-embeddable-element.d.ts +0 -14
- package/dist/flatbuffers/duc/duc-embeddable-element.js +0 -41
- package/dist/flatbuffers/duc/duc-external-file-data.d.ts +0 -27
- package/dist/flatbuffers/duc/duc-external-file-data.js +0 -92
- package/dist/flatbuffers/duc/duc-external-file-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-external-file-entry.js +0 -44
- package/dist/flatbuffers/duc/duc-feature-control-frame-element.d.ts +0 -31
- package/dist/flatbuffers/duc/duc-feature-control-frame-element.js +0 -89
- package/dist/flatbuffers/duc/duc-feature-control-frame-style.d.ts +0 -22
- package/dist/flatbuffers/duc/duc-feature-control-frame-style.js +0 -60
- package/dist/flatbuffers/duc/duc-frame-element.d.ts +0 -14
- package/dist/flatbuffers/duc/duc-frame-element.js +0 -41
- package/dist/flatbuffers/duc/duc-free-draw-element.d.ts +0 -52
- package/dist/flatbuffers/duc/duc-free-draw-element.js +0 -154
- package/dist/flatbuffers/duc/duc-free-draw-ends.d.ts +0 -18
- package/dist/flatbuffers/duc/duc-free-draw-ends.js +0 -56
- package/dist/flatbuffers/duc/duc-global-state.d.ts +0 -37
- package/dist/flatbuffers/duc/duc-global-state.js +0 -121
- package/dist/flatbuffers/duc/duc-group.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-group.js +0 -44
- package/dist/flatbuffers/duc/duc-hatch-style.d.ts +0 -28
- package/dist/flatbuffers/duc/duc-hatch-style.js +0 -79
- package/dist/flatbuffers/duc/duc-head.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-head.js +0 -57
- package/dist/flatbuffers/duc/duc-image-element.d.ts +0 -35
- package/dist/flatbuffers/duc/duc-image-element.js +0 -91
- package/dist/flatbuffers/duc/duc-image-filter.d.ts +0 -15
- package/dist/flatbuffers/duc/duc-image-filter.js +0 -48
- package/dist/flatbuffers/duc/duc-layer-overrides.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-layer-overrides.js +0 -44
- package/dist/flatbuffers/duc/duc-layer.d.ts +0 -21
- package/dist/flatbuffers/duc/duc-layer.js +0 -59
- package/dist/flatbuffers/duc/duc-leader-element.d.ts +0 -22
- package/dist/flatbuffers/duc/duc-leader-element.js +0 -60
- package/dist/flatbuffers/duc/duc-leader-style.d.ts +0 -27
- package/dist/flatbuffers/duc/duc-leader-style.js +0 -79
- package/dist/flatbuffers/duc/duc-line-reference.d.ts +0 -15
- package/dist/flatbuffers/duc/duc-line-reference.js +0 -43
- package/dist/flatbuffers/duc/duc-line.d.ts +0 -15
- package/dist/flatbuffers/duc/duc-line.js +0 -43
- package/dist/flatbuffers/duc/duc-linear-element-base.d.ts +0 -38
- package/dist/flatbuffers/duc/duc-linear-element-base.js +0 -124
- package/dist/flatbuffers/duc/duc-linear-element.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-linear-element.js +0 -49
- package/dist/flatbuffers/duc/duc-local-state.d.ts +0 -68
- package/dist/flatbuffers/duc/duc-local-state.js +0 -206
- package/dist/flatbuffers/duc/duc-mermaid-element.d.ts +0 -23
- package/dist/flatbuffers/duc/duc-mermaid-element.js +0 -65
- package/dist/flatbuffers/duc/duc-model-element.d.ts +0 -26
- package/dist/flatbuffers/duc/duc-model-element.js +0 -79
- package/dist/flatbuffers/duc/duc-parametric-element.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-parametric-element.js +0 -44
- package/dist/flatbuffers/duc/duc-path.d.ts +0 -26
- package/dist/flatbuffers/duc/duc-path.js +0 -69
- package/dist/flatbuffers/duc/duc-pdf-element.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-pdf-element.js +0 -51
- package/dist/flatbuffers/duc/duc-plot-element.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-plot-element.js +0 -52
- package/dist/flatbuffers/duc/duc-plot-style.d.ts +0 -11
- package/dist/flatbuffers/duc/duc-plot-style.js +0 -32
- package/dist/flatbuffers/duc/duc-point-binding.d.ts +0 -26
- package/dist/flatbuffers/duc/duc-point-binding.js +0 -73
- package/dist/flatbuffers/duc/duc-point.d.ts +0 -18
- package/dist/flatbuffers/duc/duc-point.js +0 -57
- package/dist/flatbuffers/duc/duc-polygon-element.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-polygon-element.js +0 -49
- package/dist/flatbuffers/duc/duc-rectangle-element.d.ts +0 -14
- package/dist/flatbuffers/duc/duc-rectangle-element.js +0 -41
- package/dist/flatbuffers/duc/duc-region.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-region.js +0 -51
- package/dist/flatbuffers/duc/duc-stack-base.d.ts +0 -27
- package/dist/flatbuffers/duc/duc-stack-base.js +0 -78
- package/dist/flatbuffers/duc/duc-stack-element-base.d.ts +0 -23
- package/dist/flatbuffers/duc/duc-stack-element-base.js +0 -65
- package/dist/flatbuffers/duc/duc-stack-like-styles.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-stack-like-styles.js +0 -48
- package/dist/flatbuffers/duc/duc-table-auto-size.d.ts +0 -15
- package/dist/flatbuffers/duc/duc-table-auto-size.js +0 -48
- package/dist/flatbuffers/duc/duc-table-cell-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-table-cell-entry.js +0 -44
- package/dist/flatbuffers/duc/duc-table-cell-span.d.ts +0 -15
- package/dist/flatbuffers/duc/duc-table-cell-span.js +0 -48
- package/dist/flatbuffers/duc/duc-table-cell-style.d.ts +0 -22
- package/dist/flatbuffers/duc/duc-table-cell-style.js +0 -59
- package/dist/flatbuffers/duc/duc-table-cell.d.ts +0 -27
- package/dist/flatbuffers/duc/duc-table-cell.js +0 -72
- package/dist/flatbuffers/duc/duc-table-column-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-table-column-entry.js +0 -44
- package/dist/flatbuffers/duc/duc-table-column.d.ts +0 -18
- package/dist/flatbuffers/duc/duc-table-column.js +0 -51
- package/dist/flatbuffers/duc/duc-table-element.d.ts +0 -51
- package/dist/flatbuffers/duc/duc-table-element.js +0 -167
- package/dist/flatbuffers/duc/duc-table-row-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-table-row-entry.js +0 -44
- package/dist/flatbuffers/duc/duc-table-row.d.ts +0 -18
- package/dist/flatbuffers/duc/duc-table-row.js +0 -51
- package/dist/flatbuffers/duc/duc-table-style.d.ts +0 -20
- package/dist/flatbuffers/duc/duc-table-style.js +0 -57
- package/dist/flatbuffers/duc/duc-text-dynamic-dictionary-source.d.ts +0 -14
- package/dist/flatbuffers/duc/duc-text-dynamic-dictionary-source.js +0 -40
- package/dist/flatbuffers/duc/duc-text-dynamic-element-source.d.ts +0 -17
- package/dist/flatbuffers/duc/duc-text-dynamic-element-source.js +0 -49
- package/dist/flatbuffers/duc/duc-text-dynamic-part.d.ts +0 -22
- package/dist/flatbuffers/duc/duc-text-dynamic-part.js +0 -58
- package/dist/flatbuffers/duc/duc-text-dynamic-source-data.d.ts +0 -9
- package/dist/flatbuffers/duc/duc-text-dynamic-source-data.js +0 -26
- package/dist/flatbuffers/duc/duc-text-dynamic-source.d.ts +0 -19
- package/dist/flatbuffers/duc/duc-text-dynamic-source.js +0 -58
- package/dist/flatbuffers/duc/duc-text-element.d.ts +0 -33
- package/dist/flatbuffers/duc/duc-text-element.js +0 -94
- package/dist/flatbuffers/duc/duc-text-style.d.ts +0 -41
- package/dist/flatbuffers/duc/duc-text-style.js +0 -120
- package/dist/flatbuffers/duc/duc-ucs.d.ts +0 -16
- package/dist/flatbuffers/duc/duc-ucs.js +0 -49
- package/dist/flatbuffers/duc/duc-view.d.ts +0 -24
- package/dist/flatbuffers/duc/duc-view.js +0 -71
- package/dist/flatbuffers/duc/duc-viewport-element.d.ts +0 -36
- package/dist/flatbuffers/duc/duc-viewport-element.js +0 -102
- package/dist/flatbuffers/duc/duc-viewport-style.d.ts +0 -13
- package/dist/flatbuffers/duc/duc-viewport-style.js +0 -40
- package/dist/flatbuffers/duc/duc-xray-element.d.ts +0 -23
- package/dist/flatbuffers/duc/duc-xray-element.js +0 -66
- package/dist/flatbuffers/duc/duc-xray-style.d.ts +0 -14
- package/dist/flatbuffers/duc/duc-xray-style.js +0 -40
- package/dist/flatbuffers/duc/dynamic-snap-settings.d.ts +0 -17
- package/dist/flatbuffers/duc/dynamic-snap-settings.js +0 -56
- package/dist/flatbuffers/duc/element-background.d.ts +0 -14
- package/dist/flatbuffers/duc/element-background.js +0 -41
- package/dist/flatbuffers/duc/element-content-base.d.ts +0 -29
- package/dist/flatbuffers/duc/element-content-base.js +0 -80
- package/dist/flatbuffers/duc/element-content-preference.d.ts +0 -8
- package/dist/flatbuffers/duc/element-content-preference.js +0 -11
- package/dist/flatbuffers/duc/element-stroke.d.ts +0 -24
- package/dist/flatbuffers/duc/element-stroke.js +0 -66
- package/dist/flatbuffers/duc/element-wrapper.d.ts +0 -16
- package/dist/flatbuffers/duc/element-wrapper.js +0 -49
- package/dist/flatbuffers/duc/element.d.ts +0 -51
- package/dist/flatbuffers/duc/element.js +0 -110
- package/dist/flatbuffers/duc/exported-data-state.d.ts +0 -102
- package/dist/flatbuffers/duc/exported-data-state.js +0 -341
- package/dist/flatbuffers/duc/fcfbetween-modifier.d.ts +0 -17
- package/dist/flatbuffers/duc/fcfbetween-modifier.js +0 -48
- package/dist/flatbuffers/duc/fcfdatum-definition.d.ts +0 -16
- package/dist/flatbuffers/duc/fcfdatum-definition.js +0 -43
- package/dist/flatbuffers/duc/fcfdatum-style.d.ts +0 -14
- package/dist/flatbuffers/duc/fcfdatum-style.js +0 -41
- package/dist/flatbuffers/duc/fcfframe-modifiers.d.ts +0 -22
- package/dist/flatbuffers/duc/fcfframe-modifiers.js +0 -65
- package/dist/flatbuffers/duc/fcflayout-style.d.ts +0 -17
- package/dist/flatbuffers/duc/fcflayout-style.js +0 -56
- package/dist/flatbuffers/duc/fcfprojected-zone-modifier.d.ts +0 -13
- package/dist/flatbuffers/duc/fcfprojected-zone-modifier.js +0 -40
- package/dist/flatbuffers/duc/fcfsegment-row.d.ts +0 -17
- package/dist/flatbuffers/duc/fcfsegment-row.js +0 -55
- package/dist/flatbuffers/duc/fcfsymbol-style.d.ts +0 -13
- package/dist/flatbuffers/duc/fcfsymbol-style.js +0 -40
- package/dist/flatbuffers/duc/feature-control-frame-segment.d.ts +0 -22
- package/dist/flatbuffers/duc/feature-control-frame-segment.js +0 -65
- package/dist/flatbuffers/duc/feature-modifier.d.ts +0 -18
- package/dist/flatbuffers/duc/feature-modifier.js +0 -21
- package/dist/flatbuffers/duc/gdt-symbol.d.ts +0 -22
- package/dist/flatbuffers/duc/gdt-symbol.js +0 -25
- package/dist/flatbuffers/duc/geometric-point.d.ts +0 -10
- package/dist/flatbuffers/duc/geometric-point.js +0 -27
- package/dist/flatbuffers/duc/grid-display-type.d.ts +0 -6
- package/dist/flatbuffers/duc/grid-display-type.js +0 -9
- package/dist/flatbuffers/duc/grid-settings.d.ts +0 -54
- package/dist/flatbuffers/duc/grid-settings.js +0 -165
- package/dist/flatbuffers/duc/grid-style.d.ts +0 -26
- package/dist/flatbuffers/duc/grid-style.js +0 -74
- package/dist/flatbuffers/duc/grid-type.d.ts +0 -7
- package/dist/flatbuffers/duc/grid-type.js +0 -10
- package/dist/flatbuffers/duc/handle-type.d.ts +0 -4
- package/dist/flatbuffers/duc/handle-type.js +0 -7
- package/dist/flatbuffers/duc/hatch-pattern-line.d.ts +0 -35
- package/dist/flatbuffers/duc/hatch-pattern-line.js +0 -93
- package/dist/flatbuffers/duc/hatch-style.d.ts +0 -5
- package/dist/flatbuffers/duc/hatch-style.js +0 -8
- package/dist/flatbuffers/duc/identified-common-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-common-style.js +0 -44
- package/dist/flatbuffers/duc/identified-dimension-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-dimension-style.js +0 -44
- package/dist/flatbuffers/duc/identified-doc-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-doc-style.js +0 -44
- package/dist/flatbuffers/duc/identified-fcfstyle.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-fcfstyle.js +0 -44
- package/dist/flatbuffers/duc/identified-grid-settings.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-grid-settings.js +0 -44
- package/dist/flatbuffers/duc/identified-hatch-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-hatch-style.js +0 -44
- package/dist/flatbuffers/duc/identified-leader-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-leader-style.js +0 -44
- package/dist/flatbuffers/duc/identified-snap-settings.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-snap-settings.js +0 -44
- package/dist/flatbuffers/duc/identified-stack-like-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-stack-like-style.js +0 -44
- package/dist/flatbuffers/duc/identified-table-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-table-style.js +0 -44
- package/dist/flatbuffers/duc/identified-text-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-text-style.js +0 -44
- package/dist/flatbuffers/duc/identified-ucs.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-ucs.js +0 -44
- package/dist/flatbuffers/duc/identified-view.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-view.js +0 -44
- package/dist/flatbuffers/duc/identified-viewport-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-viewport-style.js +0 -44
- package/dist/flatbuffers/duc/identified-xray-style.d.ts +0 -16
- package/dist/flatbuffers/duc/identified-xray-style.js +0 -44
- package/dist/flatbuffers/duc/identifier.d.ts +0 -20
- package/dist/flatbuffers/duc/identifier.js +0 -57
- package/dist/flatbuffers/duc/image-crop.d.ts +0 -23
- package/dist/flatbuffers/duc/image-crop.js +0 -80
- package/dist/flatbuffers/duc/image-status.d.ts +0 -5
- package/dist/flatbuffers/duc/image-status.js +0 -8
- package/dist/flatbuffers/duc/isometric-grid-settings.d.ts +0 -15
- package/dist/flatbuffers/duc/isometric-grid-settings.js +0 -48
- package/dist/flatbuffers/duc/jsonpatch-operation.d.ts +0 -23
- package/dist/flatbuffers/duc/jsonpatch-operation.js +0 -64
- package/dist/flatbuffers/duc/layer-snap-filters.d.ts +0 -23
- package/dist/flatbuffers/duc/layer-snap-filters.js +0 -76
- package/dist/flatbuffers/duc/layer-validation-rules.d.ts +0 -17
- package/dist/flatbuffers/duc/layer-validation-rules.js +0 -54
- package/dist/flatbuffers/duc/leader-block-content.d.ts +0 -25
- package/dist/flatbuffers/duc/leader-block-content.js +0 -85
- package/dist/flatbuffers/duc/leader-content-data.d.ts +0 -9
- package/dist/flatbuffers/duc/leader-content-data.js +0 -26
- package/dist/flatbuffers/duc/leader-content-type.d.ts +0 -4
- package/dist/flatbuffers/duc/leader-content-type.js +0 -7
- package/dist/flatbuffers/duc/leader-content.d.ts +0 -19
- package/dist/flatbuffers/duc/leader-content.js +0 -58
- package/dist/flatbuffers/duc/leader-text-block-content.d.ts +0 -14
- package/dist/flatbuffers/duc/leader-text-block-content.js +0 -40
- package/dist/flatbuffers/duc/line-head.d.ts +0 -17
- package/dist/flatbuffers/duc/line-head.js +0 -20
- package/dist/flatbuffers/duc/line-spacing-type.d.ts +0 -5
- package/dist/flatbuffers/duc/line-spacing-type.js +0 -8
- package/dist/flatbuffers/duc/line-spacing.d.ts +0 -16
- package/dist/flatbuffers/duc/line-spacing.js +0 -49
- package/dist/flatbuffers/duc/linear-unit-system.d.ts +0 -24
- package/dist/flatbuffers/duc/linear-unit-system.js +0 -75
- package/dist/flatbuffers/duc/margins.d.ts +0 -19
- package/dist/flatbuffers/duc/margins.js +0 -64
- package/dist/flatbuffers/duc/mark-ellipse-center.d.ts +0 -4
- package/dist/flatbuffers/duc/mark-ellipse-center.js +0 -7
- package/dist/flatbuffers/duc/material-condition.d.ts +0 -5
- package/dist/flatbuffers/duc/material-condition.js +0 -8
- package/dist/flatbuffers/duc/object-snap-mode.d.ts +0 -22
- package/dist/flatbuffers/duc/object-snap-mode.js +0 -25
- package/dist/flatbuffers/duc/paragraph-formatting.d.ts +0 -33
- package/dist/flatbuffers/duc/paragraph-formatting.js +0 -106
- package/dist/flatbuffers/duc/parametric-source-type.d.ts +0 -4
- package/dist/flatbuffers/duc/parametric-source-type.js +0 -7
- package/dist/flatbuffers/duc/parametric-source.d.ts +0 -20
- package/dist/flatbuffers/duc/parametric-source.js +0 -57
- package/dist/flatbuffers/duc/plot-layout.d.ts +0 -14
- package/dist/flatbuffers/duc/plot-layout.js +0 -41
- package/dist/flatbuffers/duc/point-binding-point.d.ts +0 -15
- package/dist/flatbuffers/duc/point-binding-point.js +0 -48
- package/dist/flatbuffers/duc/polar-grid-settings.d.ts +0 -17
- package/dist/flatbuffers/duc/polar-grid-settings.js +0 -56
- package/dist/flatbuffers/duc/polar-tracking-settings.d.ts +0 -29
- package/dist/flatbuffers/duc/polar-tracking-settings.js +0 -90
- package/dist/flatbuffers/duc/primary-units.d.ts +0 -16
- package/dist/flatbuffers/duc/primary-units.js +0 -44
- package/dist/flatbuffers/duc/pruning-level.d.ts +0 -5
- package/dist/flatbuffers/duc/pruning-level.js +0 -8
- package/dist/flatbuffers/duc/snap-marker-settings.d.ts +0 -23
- package/dist/flatbuffers/duc/snap-marker-settings.js +0 -79
- package/dist/flatbuffers/duc/snap-marker-shape.d.ts +0 -6
- package/dist/flatbuffers/duc/snap-marker-shape.js +0 -9
- package/dist/flatbuffers/duc/snap-marker-style-entry.d.ts +0 -16
- package/dist/flatbuffers/duc/snap-marker-style-entry.js +0 -43
- package/dist/flatbuffers/duc/snap-marker-style.d.ts +0 -17
- package/dist/flatbuffers/duc/snap-marker-style.js +0 -49
- package/dist/flatbuffers/duc/snap-mode.d.ts +0 -4
- package/dist/flatbuffers/duc/snap-mode.js +0 -7
- package/dist/flatbuffers/duc/snap-override-behavior.d.ts +0 -5
- package/dist/flatbuffers/duc/snap-override-behavior.js +0 -8
- package/dist/flatbuffers/duc/snap-override.d.ts +0 -17
- package/dist/flatbuffers/duc/snap-override.js +0 -49
- package/dist/flatbuffers/duc/snap-settings.d.ts +0 -75
- package/dist/flatbuffers/duc/snap-settings.js +0 -245
- package/dist/flatbuffers/duc/stack-format-properties.d.ts +0 -18
- package/dist/flatbuffers/duc/stack-format-properties.js +0 -57
- package/dist/flatbuffers/duc/stack-format.d.ts +0 -21
- package/dist/flatbuffers/duc/stack-format.js +0 -64
- package/dist/flatbuffers/duc/stacked-text-align.d.ts +0 -5
- package/dist/flatbuffers/duc/stacked-text-align.js +0 -8
- package/dist/flatbuffers/duc/standard-overrides.d.ts +0 -63
- package/dist/flatbuffers/duc/standard-overrides.js +0 -162
- package/dist/flatbuffers/duc/standard-styles.d.ts +0 -77
- package/dist/flatbuffers/duc/standard-styles.js +0 -285
- package/dist/flatbuffers/duc/standard-units.d.ts +0 -16
- package/dist/flatbuffers/duc/standard-units.js +0 -44
- package/dist/flatbuffers/duc/standard-validation.d.ts +0 -16
- package/dist/flatbuffers/duc/standard-validation.js +0 -44
- package/dist/flatbuffers/duc/standard-view-settings.d.ts +0 -35
- package/dist/flatbuffers/duc/standard-view-settings.js +0 -124
- package/dist/flatbuffers/duc/standard.d.ts +0 -33
- package/dist/flatbuffers/duc/standard.js +0 -90
- package/dist/flatbuffers/duc/string-value-entry.d.ts +0 -17
- package/dist/flatbuffers/duc/string-value-entry.js +0 -49
- package/dist/flatbuffers/duc/stroke-cap.d.ts +0 -5
- package/dist/flatbuffers/duc/stroke-cap.js +0 -8
- package/dist/flatbuffers/duc/stroke-join.d.ts +0 -5
- package/dist/flatbuffers/duc/stroke-join.js +0 -8
- package/dist/flatbuffers/duc/stroke-placement.d.ts +0 -5
- package/dist/flatbuffers/duc/stroke-placement.js +0 -8
- package/dist/flatbuffers/duc/stroke-preference.d.ts +0 -6
- package/dist/flatbuffers/duc/stroke-preference.js +0 -9
- package/dist/flatbuffers/duc/stroke-side-preference.d.ts +0 -8
- package/dist/flatbuffers/duc/stroke-side-preference.js +0 -11
- package/dist/flatbuffers/duc/stroke-sides.d.ts +0 -24
- package/dist/flatbuffers/duc/stroke-sides.js +0 -67
- package/dist/flatbuffers/duc/stroke-style.d.ts +0 -37
- package/dist/flatbuffers/duc/stroke-style.js +0 -111
- package/dist/flatbuffers/duc/stroke-width.d.ts +0 -5
- package/dist/flatbuffers/duc/stroke-width.js +0 -8
- package/dist/flatbuffers/duc/table-cell-alignment.d.ts +0 -11
- package/dist/flatbuffers/duc/table-cell-alignment.js +0 -14
- package/dist/flatbuffers/duc/table-flow-direction.d.ts +0 -4
- package/dist/flatbuffers/duc/table-flow-direction.js +0 -7
- package/dist/flatbuffers/duc/text-align.d.ts +0 -5
- package/dist/flatbuffers/duc/text-align.js +0 -8
- package/dist/flatbuffers/duc/text-column.d.ts +0 -15
- package/dist/flatbuffers/duc/text-column.js +0 -48
- package/dist/flatbuffers/duc/text-field-source-property.d.ts +0 -13
- package/dist/flatbuffers/duc/text-field-source-property.js +0 -16
- package/dist/flatbuffers/duc/text-field-source-type.d.ts +0 -4
- package/dist/flatbuffers/duc/text-field-source-type.js +0 -7
- package/dist/flatbuffers/duc/text-flow-direction.d.ts +0 -6
- package/dist/flatbuffers/duc/text-flow-direction.js +0 -9
- package/dist/flatbuffers/duc/tiling-properties.d.ts +0 -21
- package/dist/flatbuffers/duc/tiling-properties.js +0 -75
- package/dist/flatbuffers/duc/tolerance-clause.d.ts +0 -27
- package/dist/flatbuffers/duc/tolerance-clause.js +0 -84
- package/dist/flatbuffers/duc/tolerance-display.d.ts +0 -7
- package/dist/flatbuffers/duc/tolerance-display.js +0 -10
- package/dist/flatbuffers/duc/tolerance-type.d.ts +0 -5
- package/dist/flatbuffers/duc/tolerance-type.js +0 -8
- package/dist/flatbuffers/duc/tolerance-zone-type.d.ts +0 -7
- package/dist/flatbuffers/duc/tolerance-zone-type.js +0 -10
- package/dist/flatbuffers/duc/tracking-line-style.d.ts +0 -26
- package/dist/flatbuffers/duc/tracking-line-style.js +0 -74
- package/dist/flatbuffers/duc/unit-precision.d.ts +0 -19
- package/dist/flatbuffers/duc/unit-precision.js +0 -64
- package/dist/flatbuffers/duc/unit-system-base.d.ts +0 -20
- package/dist/flatbuffers/duc/unit-system-base.js +0 -65
- package/dist/flatbuffers/duc/unit-system.d.ts +0 -4
- package/dist/flatbuffers/duc/unit-system.js +0 -7
- package/dist/flatbuffers/duc/version-base.d.ts +0 -27
- package/dist/flatbuffers/duc/version-base.js +0 -80
- package/dist/flatbuffers/duc/version-graph-metadata.d.ts +0 -15
- package/dist/flatbuffers/duc/version-graph-metadata.js +0 -48
- package/dist/flatbuffers/duc/version-graph.d.ts +0 -31
- package/dist/flatbuffers/duc/version-graph.js +0 -94
- package/dist/flatbuffers/duc/vertical-align.d.ts +0 -5
- package/dist/flatbuffers/duc/vertical-align.js +0 -8
- package/dist/flatbuffers/duc/viewport-shade-plot.d.ts +0 -6
- package/dist/flatbuffers/duc/viewport-shade-plot.js +0 -9
- package/dist/flatbuffers/duc/youtube-states.d.ts +0 -8
- package/dist/flatbuffers/duc/youtube-states.js +0 -11
- package/dist/flatbuffers/duc.d.ts +0 -234
- package/dist/flatbuffers/duc.js +0 -236
- package/dist/restore/restoreStandards.d.ts +0 -8
- package/dist/restore/restoreStandards.js +0 -224
- package/dist/technical/standards.d.ts +0 -124
- package/dist/technical/standards.js +0 -10
- package/dist/utils/elements/viewportElement.d.ts +0 -6
- package/dist/utils/elements/viewportElement.js +0 -9
- package/dist/utils/state/grid.d.ts +0 -7
- package/dist/utils/state/grid.js +0 -25
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
import { TextColumn } from '../duc/text-column';
|
|
5
|
-
export class ColumnLayout {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.bb = null;
|
|
8
|
-
this.bb_pos = 0;
|
|
9
|
-
}
|
|
10
|
-
__init(i, bb) {
|
|
11
|
-
this.bb_pos = i;
|
|
12
|
-
this.bb = bb;
|
|
13
|
-
return this;
|
|
14
|
-
}
|
|
15
|
-
static getRootAsColumnLayout(bb, obj) {
|
|
16
|
-
return (obj || new ColumnLayout()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsColumnLayout(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new ColumnLayout()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
type() {
|
|
23
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
24
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
|
|
25
|
-
}
|
|
26
|
-
definitions(index, obj) {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
28
|
-
return offset ? (obj || new TextColumn()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
|
|
29
|
-
}
|
|
30
|
-
definitionsLength() {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
32
|
-
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
|
33
|
-
}
|
|
34
|
-
autoHeight() {
|
|
35
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
36
|
-
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
|
|
37
|
-
}
|
|
38
|
-
static startColumnLayout(builder) {
|
|
39
|
-
builder.startObject(3);
|
|
40
|
-
}
|
|
41
|
-
static addType(builder, type) {
|
|
42
|
-
builder.addFieldInt8(0, type, null);
|
|
43
|
-
}
|
|
44
|
-
static addDefinitions(builder, definitionsOffset) {
|
|
45
|
-
builder.addFieldOffset(1, definitionsOffset, 0);
|
|
46
|
-
}
|
|
47
|
-
static createDefinitionsVector(builder, data) {
|
|
48
|
-
builder.startVector(4, data.length, 4);
|
|
49
|
-
for (let i = data.length - 1; i >= 0; i--) {
|
|
50
|
-
builder.addOffset(data[i]);
|
|
51
|
-
}
|
|
52
|
-
return builder.endVector();
|
|
53
|
-
}
|
|
54
|
-
static startDefinitionsVector(builder, numElems) {
|
|
55
|
-
builder.startVector(4, numElems, 4);
|
|
56
|
-
}
|
|
57
|
-
static addAutoHeight(builder, autoHeight) {
|
|
58
|
-
builder.addFieldInt8(2, +autoHeight, +false);
|
|
59
|
-
}
|
|
60
|
-
static endColumnLayout(builder) {
|
|
61
|
-
const offset = builder.endObject();
|
|
62
|
-
return offset;
|
|
63
|
-
}
|
|
64
|
-
static createColumnLayout(builder, type, definitionsOffset, autoHeight) {
|
|
65
|
-
ColumnLayout.startColumnLayout(builder);
|
|
66
|
-
if (type !== null)
|
|
67
|
-
ColumnLayout.addType(builder, type);
|
|
68
|
-
ColumnLayout.addDefinitions(builder, definitionsOffset);
|
|
69
|
-
ColumnLayout.addAutoHeight(builder, autoHeight);
|
|
70
|
-
return ColumnLayout.endColumnLayout(builder);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
export var COLUMN_TYPE;
|
|
4
|
-
(function (COLUMN_TYPE) {
|
|
5
|
-
COLUMN_TYPE[COLUMN_TYPE["NO_COLUMNS"] = 10] = "NO_COLUMNS";
|
|
6
|
-
COLUMN_TYPE[COLUMN_TYPE["STATIC_COLUMNS"] = 11] = "STATIC_COLUMNS";
|
|
7
|
-
COLUMN_TYPE[COLUMN_TYPE["DYNAMIC_COLUMNS"] = 12] = "DYNAMIC_COLUMNS";
|
|
8
|
-
})(COLUMN_TYPE || (COLUMN_TYPE = {}));
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { HatchPatternLine } from '../duc/hatch-pattern-line';
|
|
3
|
-
export declare class CustomHatchPattern {
|
|
4
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
-
bb_pos: number;
|
|
6
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): CustomHatchPattern;
|
|
7
|
-
static getRootAsCustomHatchPattern(bb: flatbuffers.ByteBuffer, obj?: CustomHatchPattern): CustomHatchPattern;
|
|
8
|
-
static getSizePrefixedRootAsCustomHatchPattern(bb: flatbuffers.ByteBuffer, obj?: CustomHatchPattern): CustomHatchPattern;
|
|
9
|
-
name(): string | null;
|
|
10
|
-
name(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
11
|
-
description(): string | null;
|
|
12
|
-
description(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
13
|
-
lines(index: number, obj?: HatchPatternLine): HatchPatternLine | null;
|
|
14
|
-
linesLength(): number;
|
|
15
|
-
static startCustomHatchPattern(builder: flatbuffers.Builder): void;
|
|
16
|
-
static addName(builder: flatbuffers.Builder, nameOffset: flatbuffers.Offset): void;
|
|
17
|
-
static addDescription(builder: flatbuffers.Builder, descriptionOffset: flatbuffers.Offset): void;
|
|
18
|
-
static addLines(builder: flatbuffers.Builder, linesOffset: flatbuffers.Offset): void;
|
|
19
|
-
static createLinesVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
|
|
20
|
-
static startLinesVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
21
|
-
static endCustomHatchPattern(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
22
|
-
static createCustomHatchPattern(builder: flatbuffers.Builder, nameOffset: flatbuffers.Offset, descriptionOffset: flatbuffers.Offset, linesOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
23
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
import { HatchPatternLine } from '../duc/hatch-pattern-line';
|
|
5
|
-
export class CustomHatchPattern {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.bb = null;
|
|
8
|
-
this.bb_pos = 0;
|
|
9
|
-
}
|
|
10
|
-
__init(i, bb) {
|
|
11
|
-
this.bb_pos = i;
|
|
12
|
-
this.bb = bb;
|
|
13
|
-
return this;
|
|
14
|
-
}
|
|
15
|
-
static getRootAsCustomHatchPattern(bb, obj) {
|
|
16
|
-
return (obj || new CustomHatchPattern()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsCustomHatchPattern(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new CustomHatchPattern()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
name(optionalEncoding) {
|
|
23
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
24
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
25
|
-
}
|
|
26
|
-
description(optionalEncoding) {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
28
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
29
|
-
}
|
|
30
|
-
lines(index, obj) {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
32
|
-
return offset ? (obj || new HatchPatternLine()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
|
|
33
|
-
}
|
|
34
|
-
linesLength() {
|
|
35
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
36
|
-
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
|
37
|
-
}
|
|
38
|
-
static startCustomHatchPattern(builder) {
|
|
39
|
-
builder.startObject(3);
|
|
40
|
-
}
|
|
41
|
-
static addName(builder, nameOffset) {
|
|
42
|
-
builder.addFieldOffset(0, nameOffset, 0);
|
|
43
|
-
}
|
|
44
|
-
static addDescription(builder, descriptionOffset) {
|
|
45
|
-
builder.addFieldOffset(1, descriptionOffset, 0);
|
|
46
|
-
}
|
|
47
|
-
static addLines(builder, linesOffset) {
|
|
48
|
-
builder.addFieldOffset(2, linesOffset, 0);
|
|
49
|
-
}
|
|
50
|
-
static createLinesVector(builder, data) {
|
|
51
|
-
builder.startVector(4, data.length, 4);
|
|
52
|
-
for (let i = data.length - 1; i >= 0; i--) {
|
|
53
|
-
builder.addOffset(data[i]);
|
|
54
|
-
}
|
|
55
|
-
return builder.endVector();
|
|
56
|
-
}
|
|
57
|
-
static startLinesVector(builder, numElems) {
|
|
58
|
-
builder.startVector(4, numElems, 4);
|
|
59
|
-
}
|
|
60
|
-
static endCustomHatchPattern(builder) {
|
|
61
|
-
const offset = builder.endObject();
|
|
62
|
-
return offset;
|
|
63
|
-
}
|
|
64
|
-
static createCustomHatchPattern(builder, nameOffset, descriptionOffset, linesOffset) {
|
|
65
|
-
CustomHatchPattern.startCustomHatchPattern(builder);
|
|
66
|
-
CustomHatchPattern.addName(builder, nameOffset);
|
|
67
|
-
CustomHatchPattern.addDescription(builder, descriptionOffset);
|
|
68
|
-
CustomHatchPattern.addLines(builder, linesOffset);
|
|
69
|
-
return CustomHatchPattern.endCustomHatchPattern(builder);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
export var DATUM_BRACKET_STYLE;
|
|
4
|
-
(function (DATUM_BRACKET_STYLE) {
|
|
5
|
-
DATUM_BRACKET_STYLE[DATUM_BRACKET_STYLE["SQUARE"] = 10] = "SQUARE";
|
|
6
|
-
DATUM_BRACKET_STYLE[DATUM_BRACKET_STYLE["ROUND"] = 11] = "ROUND";
|
|
7
|
-
DATUM_BRACKET_STYLE[DATUM_BRACKET_STYLE["NONE"] = 12] = "NONE";
|
|
8
|
-
})(DATUM_BRACKET_STYLE || (DATUM_BRACKET_STYLE = {}));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { MATERIAL_CONDITION } from '../duc/material-condition';
|
|
3
|
-
export declare class DatumReference {
|
|
4
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
-
bb_pos: number;
|
|
6
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): DatumReference;
|
|
7
|
-
static getRootAsDatumReference(bb: flatbuffers.ByteBuffer, obj?: DatumReference): DatumReference;
|
|
8
|
-
static getSizePrefixedRootAsDatumReference(bb: flatbuffers.ByteBuffer, obj?: DatumReference): DatumReference;
|
|
9
|
-
letters(): string | null;
|
|
10
|
-
letters(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
11
|
-
modifier(): MATERIAL_CONDITION | null;
|
|
12
|
-
static startDatumReference(builder: flatbuffers.Builder): void;
|
|
13
|
-
static addLetters(builder: flatbuffers.Builder, lettersOffset: flatbuffers.Offset): void;
|
|
14
|
-
static addModifier(builder: flatbuffers.Builder, modifier: MATERIAL_CONDITION): void;
|
|
15
|
-
static endDatumReference(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
16
|
-
static createDatumReference(builder: flatbuffers.Builder, lettersOffset: flatbuffers.Offset, modifier: MATERIAL_CONDITION | null): flatbuffers.Offset;
|
|
17
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
export class DatumReference {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.bb = null;
|
|
7
|
-
this.bb_pos = 0;
|
|
8
|
-
}
|
|
9
|
-
__init(i, bb) {
|
|
10
|
-
this.bb_pos = i;
|
|
11
|
-
this.bb = bb;
|
|
12
|
-
return this;
|
|
13
|
-
}
|
|
14
|
-
static getRootAsDatumReference(bb, obj) {
|
|
15
|
-
return (obj || new DatumReference()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsDatumReference(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new DatumReference()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
letters(optionalEncoding) {
|
|
22
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
23
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
24
|
-
}
|
|
25
|
-
modifier() {
|
|
26
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
27
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
|
|
28
|
-
}
|
|
29
|
-
static startDatumReference(builder) {
|
|
30
|
-
builder.startObject(2);
|
|
31
|
-
}
|
|
32
|
-
static addLetters(builder, lettersOffset) {
|
|
33
|
-
builder.addFieldOffset(0, lettersOffset, 0);
|
|
34
|
-
}
|
|
35
|
-
static addModifier(builder, modifier) {
|
|
36
|
-
builder.addFieldInt8(1, modifier, null);
|
|
37
|
-
}
|
|
38
|
-
static endDatumReference(builder) {
|
|
39
|
-
const offset = builder.endObject();
|
|
40
|
-
return offset;
|
|
41
|
-
}
|
|
42
|
-
static createDatumReference(builder, lettersOffset, modifier) {
|
|
43
|
-
DatumReference.startDatumReference(builder);
|
|
44
|
-
DatumReference.addLetters(builder, lettersOffset);
|
|
45
|
-
if (modifier !== null)
|
|
46
|
-
DatumReference.addModifier(builder, modifier);
|
|
47
|
-
return DatumReference.endDatumReference(builder);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
export var DATUM_TARGET_TYPE;
|
|
4
|
-
(function (DATUM_TARGET_TYPE) {
|
|
5
|
-
DATUM_TARGET_TYPE[DATUM_TARGET_TYPE["POINT"] = 10] = "POINT";
|
|
6
|
-
DATUM_TARGET_TYPE[DATUM_TARGET_TYPE["LINE"] = 11] = "LINE";
|
|
7
|
-
DATUM_TARGET_TYPE[DATUM_TARGET_TYPE["AREA"] = 12] = "AREA";
|
|
8
|
-
DATUM_TARGET_TYPE[DATUM_TARGET_TYPE["MOVABLE"] = 13] = "MOVABLE";
|
|
9
|
-
})(DATUM_TARGET_TYPE || (DATUM_TARGET_TYPE = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
export var DECIMAL_SEPARATOR;
|
|
4
|
-
(function (DECIMAL_SEPARATOR) {
|
|
5
|
-
DECIMAL_SEPARATOR[DECIMAL_SEPARATOR["DOT"] = 10] = "DOT";
|
|
6
|
-
DECIMAL_SEPARATOR[DECIMAL_SEPARATOR["COMMA"] = 11] = "COMMA";
|
|
7
|
-
})(DECIMAL_SEPARATOR || (DECIMAL_SEPARATOR = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { VersionBase } from '../duc/version-base';
|
|
3
|
-
export declare class Delta {
|
|
4
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
-
bb_pos: number;
|
|
6
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): Delta;
|
|
7
|
-
static getRootAsDelta(bb: flatbuffers.ByteBuffer, obj?: Delta): Delta;
|
|
8
|
-
static getSizePrefixedRootAsDelta(bb: flatbuffers.ByteBuffer, obj?: Delta): Delta;
|
|
9
|
-
base(obj?: VersionBase): VersionBase | null;
|
|
10
|
-
sizeBytes(): bigint;
|
|
11
|
-
patch(index: number): number | null;
|
|
12
|
-
patchLength(): number;
|
|
13
|
-
patchArray(): Uint8Array | null;
|
|
14
|
-
static startDelta(builder: flatbuffers.Builder): void;
|
|
15
|
-
static addBase(builder: flatbuffers.Builder, baseOffset: flatbuffers.Offset): void;
|
|
16
|
-
static addSizeBytes(builder: flatbuffers.Builder, sizeBytes: bigint): void;
|
|
17
|
-
static addPatch(builder: flatbuffers.Builder, patchOffset: flatbuffers.Offset): void;
|
|
18
|
-
static createPatchVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffers.Offset;
|
|
19
|
-
static startPatchVector(builder: flatbuffers.Builder, numElems: number): void;
|
|
20
|
-
static endDelta(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
21
|
-
static createDelta(builder: flatbuffers.Builder, baseOffset: flatbuffers.Offset, sizeBytes: bigint, patchOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
22
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
import { VersionBase } from '../duc/version-base';
|
|
5
|
-
export class Delta {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.bb = null;
|
|
8
|
-
this.bb_pos = 0;
|
|
9
|
-
}
|
|
10
|
-
__init(i, bb) {
|
|
11
|
-
this.bb_pos = i;
|
|
12
|
-
this.bb = bb;
|
|
13
|
-
return this;
|
|
14
|
-
}
|
|
15
|
-
static getRootAsDelta(bb, obj) {
|
|
16
|
-
return (obj || new Delta()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsDelta(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new Delta()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
base(obj) {
|
|
23
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
24
|
-
return offset ? (obj || new VersionBase()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
25
|
-
}
|
|
26
|
-
sizeBytes() {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
28
|
-
return offset ? this.bb.readInt64(this.bb_pos + offset) : BigInt('0');
|
|
29
|
-
}
|
|
30
|
-
patch(index) {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
32
|
-
return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
|
|
33
|
-
}
|
|
34
|
-
patchLength() {
|
|
35
|
-
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
36
|
-
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
|
37
|
-
}
|
|
38
|
-
patchArray() {
|
|
39
|
-
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
40
|
-
return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null;
|
|
41
|
-
}
|
|
42
|
-
static startDelta(builder) {
|
|
43
|
-
builder.startObject(4);
|
|
44
|
-
}
|
|
45
|
-
static addBase(builder, baseOffset) {
|
|
46
|
-
builder.addFieldOffset(0, baseOffset, 0);
|
|
47
|
-
}
|
|
48
|
-
static addSizeBytes(builder, sizeBytes) {
|
|
49
|
-
builder.addFieldInt64(2, sizeBytes, BigInt('0'));
|
|
50
|
-
}
|
|
51
|
-
static addPatch(builder, patchOffset) {
|
|
52
|
-
builder.addFieldOffset(3, patchOffset, 0);
|
|
53
|
-
}
|
|
54
|
-
static createPatchVector(builder, data) {
|
|
55
|
-
builder.startVector(1, data.length, 1);
|
|
56
|
-
for (let i = data.length - 1; i >= 0; i--) {
|
|
57
|
-
builder.addInt8(data[i]);
|
|
58
|
-
}
|
|
59
|
-
return builder.endVector();
|
|
60
|
-
}
|
|
61
|
-
static startPatchVector(builder, numElems) {
|
|
62
|
-
builder.startVector(1, numElems, 1);
|
|
63
|
-
}
|
|
64
|
-
static endDelta(builder) {
|
|
65
|
-
const offset = builder.endObject();
|
|
66
|
-
return offset;
|
|
67
|
-
}
|
|
68
|
-
static createDelta(builder, baseOffset, sizeBytes, patchOffset) {
|
|
69
|
-
Delta.startDelta(builder);
|
|
70
|
-
Delta.addBase(builder, baseOffset);
|
|
71
|
-
Delta.addSizeBytes(builder, sizeBytes);
|
|
72
|
-
Delta.addPatch(builder, patchOffset);
|
|
73
|
-
return Delta.endDelta(builder);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class DictionaryEntry {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): DictionaryEntry;
|
|
6
|
-
static getRootAsDictionaryEntry(bb: flatbuffers.ByteBuffer, obj?: DictionaryEntry): DictionaryEntry;
|
|
7
|
-
static getSizePrefixedRootAsDictionaryEntry(bb: flatbuffers.ByteBuffer, obj?: DictionaryEntry): DictionaryEntry;
|
|
8
|
-
key(): string | null;
|
|
9
|
-
key(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
-
value(): string | null;
|
|
11
|
-
value(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
12
|
-
static startDictionaryEntry(builder: flatbuffers.Builder): void;
|
|
13
|
-
static addKey(builder: flatbuffers.Builder, keyOffset: flatbuffers.Offset): void;
|
|
14
|
-
static addValue(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): void;
|
|
15
|
-
static endDictionaryEntry(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
16
|
-
static createDictionaryEntry(builder: flatbuffers.Builder, keyOffset: flatbuffers.Offset, valueOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
17
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
export class DictionaryEntry {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.bb = null;
|
|
7
|
-
this.bb_pos = 0;
|
|
8
|
-
}
|
|
9
|
-
__init(i, bb) {
|
|
10
|
-
this.bb_pos = i;
|
|
11
|
-
this.bb = bb;
|
|
12
|
-
return this;
|
|
13
|
-
}
|
|
14
|
-
static getRootAsDictionaryEntry(bb, obj) {
|
|
15
|
-
return (obj || new DictionaryEntry()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsDictionaryEntry(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new DictionaryEntry()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
key(optionalEncoding) {
|
|
22
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
23
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
24
|
-
}
|
|
25
|
-
value(optionalEncoding) {
|
|
26
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
27
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
28
|
-
}
|
|
29
|
-
static startDictionaryEntry(builder) {
|
|
30
|
-
builder.startObject(2);
|
|
31
|
-
}
|
|
32
|
-
static addKey(builder, keyOffset) {
|
|
33
|
-
builder.addFieldOffset(0, keyOffset, 0);
|
|
34
|
-
}
|
|
35
|
-
static addValue(builder, valueOffset) {
|
|
36
|
-
builder.addFieldOffset(1, valueOffset, 0);
|
|
37
|
-
}
|
|
38
|
-
static endDictionaryEntry(builder) {
|
|
39
|
-
const offset = builder.endObject();
|
|
40
|
-
builder.requiredField(offset, 4); // key
|
|
41
|
-
return offset;
|
|
42
|
-
}
|
|
43
|
-
static createDictionaryEntry(builder, keyOffset, valueOffset) {
|
|
44
|
-
DictionaryEntry.startDictionaryEntry(builder);
|
|
45
|
-
DictionaryEntry.addKey(builder, keyOffset);
|
|
46
|
-
DictionaryEntry.addValue(builder, valueOffset);
|
|
47
|
-
return DictionaryEntry.endDictionaryEntry(builder);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class DimensionBaselineData {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): DimensionBaselineData;
|
|
6
|
-
static getRootAsDimensionBaselineData(bb: flatbuffers.ByteBuffer, obj?: DimensionBaselineData): DimensionBaselineData;
|
|
7
|
-
static getSizePrefixedRootAsDimensionBaselineData(bb: flatbuffers.ByteBuffer, obj?: DimensionBaselineData): DimensionBaselineData;
|
|
8
|
-
baseDimensionId(): string | null;
|
|
9
|
-
baseDimensionId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
-
static startDimensionBaselineData(builder: flatbuffers.Builder): void;
|
|
11
|
-
static addBaseDimensionId(builder: flatbuffers.Builder, baseDimensionIdOffset: flatbuffers.Offset): void;
|
|
12
|
-
static endDimensionBaselineData(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
13
|
-
static createDimensionBaselineData(builder: flatbuffers.Builder, baseDimensionIdOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
14
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
export class DimensionBaselineData {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.bb = null;
|
|
7
|
-
this.bb_pos = 0;
|
|
8
|
-
}
|
|
9
|
-
__init(i, bb) {
|
|
10
|
-
this.bb_pos = i;
|
|
11
|
-
this.bb = bb;
|
|
12
|
-
return this;
|
|
13
|
-
}
|
|
14
|
-
static getRootAsDimensionBaselineData(bb, obj) {
|
|
15
|
-
return (obj || new DimensionBaselineData()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsDimensionBaselineData(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new DimensionBaselineData()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
baseDimensionId(optionalEncoding) {
|
|
22
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
23
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
24
|
-
}
|
|
25
|
-
static startDimensionBaselineData(builder) {
|
|
26
|
-
builder.startObject(1);
|
|
27
|
-
}
|
|
28
|
-
static addBaseDimensionId(builder, baseDimensionIdOffset) {
|
|
29
|
-
builder.addFieldOffset(0, baseDimensionIdOffset, 0);
|
|
30
|
-
}
|
|
31
|
-
static endDimensionBaselineData(builder) {
|
|
32
|
-
const offset = builder.endObject();
|
|
33
|
-
return offset;
|
|
34
|
-
}
|
|
35
|
-
static createDimensionBaselineData(builder, baseDimensionIdOffset) {
|
|
36
|
-
DimensionBaselineData.startDimensionBaselineData(builder);
|
|
37
|
-
DimensionBaselineData.addBaseDimensionId(builder, baseDimensionIdOffset);
|
|
38
|
-
return DimensionBaselineData.endDimensionBaselineData(builder);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { DucPointBinding } from '../duc/duc-point-binding';
|
|
3
|
-
export declare class DimensionBindings {
|
|
4
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
-
bb_pos: number;
|
|
6
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): DimensionBindings;
|
|
7
|
-
static getRootAsDimensionBindings(bb: flatbuffers.ByteBuffer, obj?: DimensionBindings): DimensionBindings;
|
|
8
|
-
static getSizePrefixedRootAsDimensionBindings(bb: flatbuffers.ByteBuffer, obj?: DimensionBindings): DimensionBindings;
|
|
9
|
-
origin1(obj?: DucPointBinding): DucPointBinding | null;
|
|
10
|
-
origin2(obj?: DucPointBinding): DucPointBinding | null;
|
|
11
|
-
center(obj?: DucPointBinding): DucPointBinding | null;
|
|
12
|
-
static startDimensionBindings(builder: flatbuffers.Builder): void;
|
|
13
|
-
static addOrigin1(builder: flatbuffers.Builder, origin1Offset: flatbuffers.Offset): void;
|
|
14
|
-
static addOrigin2(builder: flatbuffers.Builder, origin2Offset: flatbuffers.Offset): void;
|
|
15
|
-
static addCenter(builder: flatbuffers.Builder, centerOffset: flatbuffers.Offset): void;
|
|
16
|
-
static endDimensionBindings(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
17
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
import { DucPointBinding } from '../duc/duc-point-binding';
|
|
5
|
-
export class DimensionBindings {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.bb = null;
|
|
8
|
-
this.bb_pos = 0;
|
|
9
|
-
}
|
|
10
|
-
__init(i, bb) {
|
|
11
|
-
this.bb_pos = i;
|
|
12
|
-
this.bb = bb;
|
|
13
|
-
return this;
|
|
14
|
-
}
|
|
15
|
-
static getRootAsDimensionBindings(bb, obj) {
|
|
16
|
-
return (obj || new DimensionBindings()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsDimensionBindings(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new DimensionBindings()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
origin1(obj) {
|
|
23
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
24
|
-
return offset ? (obj || new DucPointBinding()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
25
|
-
}
|
|
26
|
-
origin2(obj) {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
28
|
-
return offset ? (obj || new DucPointBinding()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
29
|
-
}
|
|
30
|
-
center(obj) {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
32
|
-
return offset ? (obj || new DucPointBinding()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
33
|
-
}
|
|
34
|
-
static startDimensionBindings(builder) {
|
|
35
|
-
builder.startObject(3);
|
|
36
|
-
}
|
|
37
|
-
static addOrigin1(builder, origin1Offset) {
|
|
38
|
-
builder.addFieldOffset(0, origin1Offset, 0);
|
|
39
|
-
}
|
|
40
|
-
static addOrigin2(builder, origin2Offset) {
|
|
41
|
-
builder.addFieldOffset(1, origin2Offset, 0);
|
|
42
|
-
}
|
|
43
|
-
static addCenter(builder, centerOffset) {
|
|
44
|
-
builder.addFieldOffset(2, centerOffset, 0);
|
|
45
|
-
}
|
|
46
|
-
static endDimensionBindings(builder) {
|
|
47
|
-
const offset = builder.endObject();
|
|
48
|
-
return offset;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class DimensionContinueData {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): DimensionContinueData;
|
|
6
|
-
static getRootAsDimensionContinueData(bb: flatbuffers.ByteBuffer, obj?: DimensionContinueData): DimensionContinueData;
|
|
7
|
-
static getSizePrefixedRootAsDimensionContinueData(bb: flatbuffers.ByteBuffer, obj?: DimensionContinueData): DimensionContinueData;
|
|
8
|
-
continueFromDimensionId(): string | null;
|
|
9
|
-
continueFromDimensionId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
-
static startDimensionContinueData(builder: flatbuffers.Builder): void;
|
|
11
|
-
static addContinueFromDimensionId(builder: flatbuffers.Builder, continueFromDimensionIdOffset: flatbuffers.Offset): void;
|
|
12
|
-
static endDimensionContinueData(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
13
|
-
static createDimensionContinueData(builder: flatbuffers.Builder, continueFromDimensionIdOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
14
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
3
|
-
import * as flatbuffers from 'flatbuffers';
|
|
4
|
-
export class DimensionContinueData {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.bb = null;
|
|
7
|
-
this.bb_pos = 0;
|
|
8
|
-
}
|
|
9
|
-
__init(i, bb) {
|
|
10
|
-
this.bb_pos = i;
|
|
11
|
-
this.bb = bb;
|
|
12
|
-
return this;
|
|
13
|
-
}
|
|
14
|
-
static getRootAsDimensionContinueData(bb, obj) {
|
|
15
|
-
return (obj || new DimensionContinueData()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsDimensionContinueData(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new DimensionContinueData()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
continueFromDimensionId(optionalEncoding) {
|
|
22
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
23
|
-
return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
24
|
-
}
|
|
25
|
-
static startDimensionContinueData(builder) {
|
|
26
|
-
builder.startObject(1);
|
|
27
|
-
}
|
|
28
|
-
static addContinueFromDimensionId(builder, continueFromDimensionIdOffset) {
|
|
29
|
-
builder.addFieldOffset(0, continueFromDimensionIdOffset, 0);
|
|
30
|
-
}
|
|
31
|
-
static endDimensionContinueData(builder) {
|
|
32
|
-
const offset = builder.endObject();
|
|
33
|
-
return offset;
|
|
34
|
-
}
|
|
35
|
-
static createDimensionContinueData(builder, continueFromDimensionIdOffset) {
|
|
36
|
-
DimensionContinueData.startDimensionContinueData(builder);
|
|
37
|
-
DimensionContinueData.addContinueFromDimensionId(builder, continueFromDimensionIdOffset);
|
|
38
|
-
return DimensionContinueData.endDimensionContinueData(builder);
|
|
39
|
-
}
|
|
40
|
-
}
|