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,85 +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 { StringValueEntry } from '../duc/string-value-entry';
|
|
5
|
-
export class LeaderBlockContent {
|
|
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 getRootAsLeaderBlockContent(bb, obj) {
|
|
16
|
-
return (obj || new LeaderBlockContent()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsLeaderBlockContent(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new LeaderBlockContent()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
blockId(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
|
-
attributeValues(index, obj) {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
28
|
-
return offset ? (obj || new StringValueEntry()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
|
|
29
|
-
}
|
|
30
|
-
attributeValuesLength() {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
32
|
-
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
|
33
|
-
}
|
|
34
|
-
elementOverrides(index, obj) {
|
|
35
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
36
|
-
return offset ? (obj || new StringValueEntry()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + offset) + index * 4), this.bb) : null;
|
|
37
|
-
}
|
|
38
|
-
elementOverridesLength() {
|
|
39
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
40
|
-
return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
|
|
41
|
-
}
|
|
42
|
-
static startLeaderBlockContent(builder) {
|
|
43
|
-
builder.startObject(3);
|
|
44
|
-
}
|
|
45
|
-
static addBlockId(builder, blockIdOffset) {
|
|
46
|
-
builder.addFieldOffset(0, blockIdOffset, 0);
|
|
47
|
-
}
|
|
48
|
-
static addAttributeValues(builder, attributeValuesOffset) {
|
|
49
|
-
builder.addFieldOffset(1, attributeValuesOffset, 0);
|
|
50
|
-
}
|
|
51
|
-
static createAttributeValuesVector(builder, data) {
|
|
52
|
-
builder.startVector(4, data.length, 4);
|
|
53
|
-
for (let i = data.length - 1; i >= 0; i--) {
|
|
54
|
-
builder.addOffset(data[i]);
|
|
55
|
-
}
|
|
56
|
-
return builder.endVector();
|
|
57
|
-
}
|
|
58
|
-
static startAttributeValuesVector(builder, numElems) {
|
|
59
|
-
builder.startVector(4, numElems, 4);
|
|
60
|
-
}
|
|
61
|
-
static addElementOverrides(builder, elementOverridesOffset) {
|
|
62
|
-
builder.addFieldOffset(2, elementOverridesOffset, 0);
|
|
63
|
-
}
|
|
64
|
-
static createElementOverridesVector(builder, data) {
|
|
65
|
-
builder.startVector(4, data.length, 4);
|
|
66
|
-
for (let i = data.length - 1; i >= 0; i--) {
|
|
67
|
-
builder.addOffset(data[i]);
|
|
68
|
-
}
|
|
69
|
-
return builder.endVector();
|
|
70
|
-
}
|
|
71
|
-
static startElementOverridesVector(builder, numElems) {
|
|
72
|
-
builder.startVector(4, numElems, 4);
|
|
73
|
-
}
|
|
74
|
-
static endLeaderBlockContent(builder) {
|
|
75
|
-
const offset = builder.endObject();
|
|
76
|
-
return offset;
|
|
77
|
-
}
|
|
78
|
-
static createLeaderBlockContent(builder, blockIdOffset, attributeValuesOffset, elementOverridesOffset) {
|
|
79
|
-
LeaderBlockContent.startLeaderBlockContent(builder);
|
|
80
|
-
LeaderBlockContent.addBlockId(builder, blockIdOffset);
|
|
81
|
-
LeaderBlockContent.addAttributeValues(builder, attributeValuesOffset);
|
|
82
|
-
LeaderBlockContent.addElementOverrides(builder, elementOverridesOffset);
|
|
83
|
-
return LeaderBlockContent.endLeaderBlockContent(builder);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LeaderBlockContent } from '../duc/leader-block-content';
|
|
2
|
-
import { LeaderTextBlockContent } from '../duc/leader-text-block-content';
|
|
3
|
-
export declare enum LeaderContentData {
|
|
4
|
-
NONE = 0,
|
|
5
|
-
LeaderTextBlockContent = 1,
|
|
6
|
-
LeaderBlockContent = 2
|
|
7
|
-
}
|
|
8
|
-
export declare function unionToLeaderContentData(type: LeaderContentData, accessor: (obj: LeaderBlockContent | LeaderTextBlockContent) => LeaderBlockContent | LeaderTextBlockContent | null): LeaderBlockContent | LeaderTextBlockContent | null;
|
|
9
|
-
export declare function unionListToLeaderContentData(type: LeaderContentData, accessor: (index: number, obj: LeaderBlockContent | LeaderTextBlockContent) => LeaderBlockContent | LeaderTextBlockContent | null, index: number): LeaderBlockContent | LeaderTextBlockContent | null;
|
|
@@ -1,26 +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 { LeaderBlockContent } from '../duc/leader-block-content';
|
|
4
|
-
import { LeaderTextBlockContent } from '../duc/leader-text-block-content';
|
|
5
|
-
export var LeaderContentData;
|
|
6
|
-
(function (LeaderContentData) {
|
|
7
|
-
LeaderContentData[LeaderContentData["NONE"] = 0] = "NONE";
|
|
8
|
-
LeaderContentData[LeaderContentData["LeaderTextBlockContent"] = 1] = "LeaderTextBlockContent";
|
|
9
|
-
LeaderContentData[LeaderContentData["LeaderBlockContent"] = 2] = "LeaderBlockContent";
|
|
10
|
-
})(LeaderContentData || (LeaderContentData = {}));
|
|
11
|
-
export function unionToLeaderContentData(type, accessor) {
|
|
12
|
-
switch (LeaderContentData[type]) {
|
|
13
|
-
case 'NONE': return null;
|
|
14
|
-
case 'LeaderTextBlockContent': return accessor(new LeaderTextBlockContent());
|
|
15
|
-
case 'LeaderBlockContent': return accessor(new LeaderBlockContent());
|
|
16
|
-
default: return null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export function unionListToLeaderContentData(type, accessor, index) {
|
|
20
|
-
switch (LeaderContentData[type]) {
|
|
21
|
-
case 'NONE': return null;
|
|
22
|
-
case 'LeaderTextBlockContent': return accessor(index, new LeaderTextBlockContent());
|
|
23
|
-
case 'LeaderBlockContent': return accessor(index, new LeaderBlockContent());
|
|
24
|
-
default: return null;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -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 LEADER_CONTENT_TYPE;
|
|
4
|
-
(function (LEADER_CONTENT_TYPE) {
|
|
5
|
-
LEADER_CONTENT_TYPE[LEADER_CONTENT_TYPE["TEXT"] = 10] = "TEXT";
|
|
6
|
-
LEADER_CONTENT_TYPE[LEADER_CONTENT_TYPE["BLOCK"] = 11] = "BLOCK";
|
|
7
|
-
})(LEADER_CONTENT_TYPE || (LEADER_CONTENT_TYPE = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { LEADER_CONTENT_TYPE } from '../duc/leader-content-type';
|
|
3
|
-
import { LeaderContentData } from '../duc/leader-content-data';
|
|
4
|
-
export declare class LeaderContent {
|
|
5
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
6
|
-
bb_pos: number;
|
|
7
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): LeaderContent;
|
|
8
|
-
static getRootAsLeaderContent(bb: flatbuffers.ByteBuffer, obj?: LeaderContent): LeaderContent;
|
|
9
|
-
static getSizePrefixedRootAsLeaderContent(bb: flatbuffers.ByteBuffer, obj?: LeaderContent): LeaderContent;
|
|
10
|
-
leaderContentType(): LEADER_CONTENT_TYPE | null;
|
|
11
|
-
contentType(): LeaderContentData;
|
|
12
|
-
content<T extends flatbuffers.Table>(obj: any): any | null;
|
|
13
|
-
static startLeaderContent(builder: flatbuffers.Builder): void;
|
|
14
|
-
static addLeaderContentType(builder: flatbuffers.Builder, leaderContentType: LEADER_CONTENT_TYPE): void;
|
|
15
|
-
static addContentType(builder: flatbuffers.Builder, contentType: LeaderContentData): void;
|
|
16
|
-
static addContent(builder: flatbuffers.Builder, contentOffset: flatbuffers.Offset): void;
|
|
17
|
-
static endLeaderContent(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
18
|
-
static createLeaderContent(builder: flatbuffers.Builder, leaderContentType: LEADER_CONTENT_TYPE | null, contentType: LeaderContentData, contentOffset: flatbuffers.Offset): flatbuffers.Offset;
|
|
19
|
-
}
|
|
@@ -1,58 +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 { LeaderContentData } from '../duc/leader-content-data';
|
|
5
|
-
export class LeaderContent {
|
|
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 getRootAsLeaderContent(bb, obj) {
|
|
16
|
-
return (obj || new LeaderContent()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsLeaderContent(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new LeaderContent()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
leaderContentType() {
|
|
23
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
24
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
|
|
25
|
-
}
|
|
26
|
-
contentType() {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
28
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : LeaderContentData.NONE;
|
|
29
|
-
}
|
|
30
|
-
content(obj) {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
32
|
-
return offset ? this.bb.__union(obj, this.bb_pos + offset) : null;
|
|
33
|
-
}
|
|
34
|
-
static startLeaderContent(builder) {
|
|
35
|
-
builder.startObject(3);
|
|
36
|
-
}
|
|
37
|
-
static addLeaderContentType(builder, leaderContentType) {
|
|
38
|
-
builder.addFieldInt8(0, leaderContentType, null);
|
|
39
|
-
}
|
|
40
|
-
static addContentType(builder, contentType) {
|
|
41
|
-
builder.addFieldInt8(1, contentType, LeaderContentData.NONE);
|
|
42
|
-
}
|
|
43
|
-
static addContent(builder, contentOffset) {
|
|
44
|
-
builder.addFieldOffset(2, contentOffset, 0);
|
|
45
|
-
}
|
|
46
|
-
static endLeaderContent(builder) {
|
|
47
|
-
const offset = builder.endObject();
|
|
48
|
-
return offset;
|
|
49
|
-
}
|
|
50
|
-
static createLeaderContent(builder, leaderContentType, contentType, contentOffset) {
|
|
51
|
-
LeaderContent.startLeaderContent(builder);
|
|
52
|
-
if (leaderContentType !== null)
|
|
53
|
-
LeaderContent.addLeaderContentType(builder, leaderContentType);
|
|
54
|
-
LeaderContent.addContentType(builder, contentType);
|
|
55
|
-
LeaderContent.addContent(builder, contentOffset);
|
|
56
|
-
return LeaderContent.endLeaderContent(builder);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class LeaderTextBlockContent {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): LeaderTextBlockContent;
|
|
6
|
-
static getRootAsLeaderTextBlockContent(bb: flatbuffers.ByteBuffer, obj?: LeaderTextBlockContent): LeaderTextBlockContent;
|
|
7
|
-
static getSizePrefixedRootAsLeaderTextBlockContent(bb: flatbuffers.ByteBuffer, obj?: LeaderTextBlockContent): LeaderTextBlockContent;
|
|
8
|
-
text(): string | null;
|
|
9
|
-
text(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
-
static startLeaderTextBlockContent(builder: flatbuffers.Builder): void;
|
|
11
|
-
static addText(builder: flatbuffers.Builder, textOffset: flatbuffers.Offset): void;
|
|
12
|
-
static endLeaderTextBlockContent(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
13
|
-
static createLeaderTextBlockContent(builder: flatbuffers.Builder, textOffset: 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 LeaderTextBlockContent {
|
|
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 getRootAsLeaderTextBlockContent(bb, obj) {
|
|
15
|
-
return (obj || new LeaderTextBlockContent()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsLeaderTextBlockContent(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new LeaderTextBlockContent()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
text(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 startLeaderTextBlockContent(builder) {
|
|
26
|
-
builder.startObject(1);
|
|
27
|
-
}
|
|
28
|
-
static addText(builder, textOffset) {
|
|
29
|
-
builder.addFieldOffset(0, textOffset, 0);
|
|
30
|
-
}
|
|
31
|
-
static endLeaderTextBlockContent(builder) {
|
|
32
|
-
const offset = builder.endObject();
|
|
33
|
-
return offset;
|
|
34
|
-
}
|
|
35
|
-
static createLeaderTextBlockContent(builder, textOffset) {
|
|
36
|
-
LeaderTextBlockContent.startLeaderTextBlockContent(builder);
|
|
37
|
-
LeaderTextBlockContent.addText(builder, textOffset);
|
|
38
|
-
return LeaderTextBlockContent.endLeaderTextBlockContent(builder);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare enum LINE_HEAD {
|
|
2
|
-
ARROW = 10,
|
|
3
|
-
BAR = 11,
|
|
4
|
-
CIRCLE = 12,
|
|
5
|
-
CIRCLE_OUTLINED = 13,
|
|
6
|
-
TRIANGLE = 14,
|
|
7
|
-
TRIANGLE_OUTLINED = 15,
|
|
8
|
-
DIAMOND = 16,
|
|
9
|
-
DIAMOND_OUTLINED = 17,
|
|
10
|
-
CROSS = 18,
|
|
11
|
-
OPEN_ARROW = 19,
|
|
12
|
-
REVERSED_ARROW = 20,
|
|
13
|
-
REVERSED_TRIANGLE = 21,
|
|
14
|
-
REVERSED_TRIANGLE_OUTLINED = 22,
|
|
15
|
-
CONE = 23,
|
|
16
|
-
HALF_CONE = 24
|
|
17
|
-
}
|
|
@@ -1,20 +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 LINE_HEAD;
|
|
4
|
-
(function (LINE_HEAD) {
|
|
5
|
-
LINE_HEAD[LINE_HEAD["ARROW"] = 10] = "ARROW";
|
|
6
|
-
LINE_HEAD[LINE_HEAD["BAR"] = 11] = "BAR";
|
|
7
|
-
LINE_HEAD[LINE_HEAD["CIRCLE"] = 12] = "CIRCLE";
|
|
8
|
-
LINE_HEAD[LINE_HEAD["CIRCLE_OUTLINED"] = 13] = "CIRCLE_OUTLINED";
|
|
9
|
-
LINE_HEAD[LINE_HEAD["TRIANGLE"] = 14] = "TRIANGLE";
|
|
10
|
-
LINE_HEAD[LINE_HEAD["TRIANGLE_OUTLINED"] = 15] = "TRIANGLE_OUTLINED";
|
|
11
|
-
LINE_HEAD[LINE_HEAD["DIAMOND"] = 16] = "DIAMOND";
|
|
12
|
-
LINE_HEAD[LINE_HEAD["DIAMOND_OUTLINED"] = 17] = "DIAMOND_OUTLINED";
|
|
13
|
-
LINE_HEAD[LINE_HEAD["CROSS"] = 18] = "CROSS";
|
|
14
|
-
LINE_HEAD[LINE_HEAD["OPEN_ARROW"] = 19] = "OPEN_ARROW";
|
|
15
|
-
LINE_HEAD[LINE_HEAD["REVERSED_ARROW"] = 20] = "REVERSED_ARROW";
|
|
16
|
-
LINE_HEAD[LINE_HEAD["REVERSED_TRIANGLE"] = 21] = "REVERSED_TRIANGLE";
|
|
17
|
-
LINE_HEAD[LINE_HEAD["REVERSED_TRIANGLE_OUTLINED"] = 22] = "REVERSED_TRIANGLE_OUTLINED";
|
|
18
|
-
LINE_HEAD[LINE_HEAD["CONE"] = 23] = "CONE";
|
|
19
|
-
LINE_HEAD[LINE_HEAD["HALF_CONE"] = 24] = "HALF_CONE";
|
|
20
|
-
})(LINE_HEAD || (LINE_HEAD = {}));
|
|
@@ -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 LINE_SPACING_TYPE;
|
|
4
|
-
(function (LINE_SPACING_TYPE) {
|
|
5
|
-
LINE_SPACING_TYPE[LINE_SPACING_TYPE["AT_LEAST"] = 10] = "AT_LEAST";
|
|
6
|
-
LINE_SPACING_TYPE[LINE_SPACING_TYPE["EXACTLY"] = 11] = "EXACTLY";
|
|
7
|
-
LINE_SPACING_TYPE[LINE_SPACING_TYPE["MULTIPLE"] = 12] = "MULTIPLE";
|
|
8
|
-
})(LINE_SPACING_TYPE || (LINE_SPACING_TYPE = {}));
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { LINE_SPACING_TYPE } from '../duc/line-spacing-type';
|
|
3
|
-
export declare class LineSpacing {
|
|
4
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
5
|
-
bb_pos: number;
|
|
6
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): LineSpacing;
|
|
7
|
-
static getRootAsLineSpacing(bb: flatbuffers.ByteBuffer, obj?: LineSpacing): LineSpacing;
|
|
8
|
-
static getSizePrefixedRootAsLineSpacing(bb: flatbuffers.ByteBuffer, obj?: LineSpacing): LineSpacing;
|
|
9
|
-
value(): number;
|
|
10
|
-
type(): LINE_SPACING_TYPE | null;
|
|
11
|
-
static startLineSpacing(builder: flatbuffers.Builder): void;
|
|
12
|
-
static addValue(builder: flatbuffers.Builder, value: number): void;
|
|
13
|
-
static addType(builder: flatbuffers.Builder, type: LINE_SPACING_TYPE): void;
|
|
14
|
-
static endLineSpacing(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
15
|
-
static createLineSpacing(builder: flatbuffers.Builder, value: number, type: LINE_SPACING_TYPE | null): flatbuffers.Offset;
|
|
16
|
-
}
|
|
@@ -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 LineSpacing {
|
|
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 getRootAsLineSpacing(bb, obj) {
|
|
15
|
-
return (obj || new LineSpacing()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsLineSpacing(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new LineSpacing()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
value() {
|
|
22
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
23
|
-
return offset ? this.bb.readFloat64(this.bb_pos + offset) : 0.0;
|
|
24
|
-
}
|
|
25
|
-
type() {
|
|
26
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
27
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
|
|
28
|
-
}
|
|
29
|
-
static startLineSpacing(builder) {
|
|
30
|
-
builder.startObject(2);
|
|
31
|
-
}
|
|
32
|
-
static addValue(builder, value) {
|
|
33
|
-
builder.addFieldFloat64(0, value, 0.0);
|
|
34
|
-
}
|
|
35
|
-
static addType(builder, type) {
|
|
36
|
-
builder.addFieldInt8(1, type, null);
|
|
37
|
-
}
|
|
38
|
-
static endLineSpacing(builder) {
|
|
39
|
-
const offset = builder.endObject();
|
|
40
|
-
return offset;
|
|
41
|
-
}
|
|
42
|
-
static createLineSpacing(builder, value, type) {
|
|
43
|
-
LineSpacing.startLineSpacing(builder);
|
|
44
|
-
LineSpacing.addValue(builder, value);
|
|
45
|
-
if (type !== null)
|
|
46
|
-
LineSpacing.addType(builder, type);
|
|
47
|
-
return LineSpacing.endLineSpacing(builder);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
import { DECIMAL_SEPARATOR } from '../duc/decimal-separator';
|
|
3
|
-
import { DIMENSION_UNITS_FORMAT } from '../duc/dimension-units-format';
|
|
4
|
-
import { _UnitSystemBase } from '../duc/unit-system-base';
|
|
5
|
-
export declare class LinearUnitSystem {
|
|
6
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
7
|
-
bb_pos: number;
|
|
8
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): LinearUnitSystem;
|
|
9
|
-
static getRootAsLinearUnitSystem(bb: flatbuffers.ByteBuffer, obj?: LinearUnitSystem): LinearUnitSystem;
|
|
10
|
-
static getSizePrefixedRootAsLinearUnitSystem(bb: flatbuffers.ByteBuffer, obj?: LinearUnitSystem): LinearUnitSystem;
|
|
11
|
-
base(obj?: _UnitSystemBase): _UnitSystemBase | null;
|
|
12
|
-
format(): DIMENSION_UNITS_FORMAT | null;
|
|
13
|
-
decimalSeparator(): DECIMAL_SEPARATOR | null;
|
|
14
|
-
suppressZeroFeet(): boolean;
|
|
15
|
-
suppressZeroInches(): boolean;
|
|
16
|
-
static startLinearUnitSystem(builder: flatbuffers.Builder): void;
|
|
17
|
-
static addBase(builder: flatbuffers.Builder, baseOffset: flatbuffers.Offset): void;
|
|
18
|
-
static addFormat(builder: flatbuffers.Builder, format: DIMENSION_UNITS_FORMAT): void;
|
|
19
|
-
static addDecimalSeparator(builder: flatbuffers.Builder, decimalSeparator: DECIMAL_SEPARATOR): void;
|
|
20
|
-
static addSuppressZeroFeet(builder: flatbuffers.Builder, suppressZeroFeet: boolean): void;
|
|
21
|
-
static addSuppressZeroInches(builder: flatbuffers.Builder, suppressZeroInches: boolean): void;
|
|
22
|
-
static endLinearUnitSystem(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
23
|
-
static createLinearUnitSystem(builder: flatbuffers.Builder, baseOffset: flatbuffers.Offset, format: DIMENSION_UNITS_FORMAT | null, decimalSeparator: DECIMAL_SEPARATOR | null, suppressZeroFeet: boolean, suppressZeroInches: boolean): flatbuffers.Offset;
|
|
24
|
-
}
|
|
@@ -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 { _UnitSystemBase } from '../duc/unit-system-base';
|
|
5
|
-
export class LinearUnitSystem {
|
|
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 getRootAsLinearUnitSystem(bb, obj) {
|
|
16
|
-
return (obj || new LinearUnitSystem()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
17
|
-
}
|
|
18
|
-
static getSizePrefixedRootAsLinearUnitSystem(bb, obj) {
|
|
19
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
20
|
-
return (obj || new LinearUnitSystem()).__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 _UnitSystemBase()).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
|
|
25
|
-
}
|
|
26
|
-
format() {
|
|
27
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
28
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
|
|
29
|
-
}
|
|
30
|
-
decimalSeparator() {
|
|
31
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
32
|
-
return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
|
|
33
|
-
}
|
|
34
|
-
suppressZeroFeet() {
|
|
35
|
-
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
36
|
-
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
|
|
37
|
-
}
|
|
38
|
-
suppressZeroInches() {
|
|
39
|
-
const offset = this.bb.__offset(this.bb_pos, 12);
|
|
40
|
-
return offset ? !!this.bb.readInt8(this.bb_pos + offset) : false;
|
|
41
|
-
}
|
|
42
|
-
static startLinearUnitSystem(builder) {
|
|
43
|
-
builder.startObject(5);
|
|
44
|
-
}
|
|
45
|
-
static addBase(builder, baseOffset) {
|
|
46
|
-
builder.addFieldOffset(0, baseOffset, 0);
|
|
47
|
-
}
|
|
48
|
-
static addFormat(builder, format) {
|
|
49
|
-
builder.addFieldInt8(1, format, null);
|
|
50
|
-
}
|
|
51
|
-
static addDecimalSeparator(builder, decimalSeparator) {
|
|
52
|
-
builder.addFieldInt8(2, decimalSeparator, null);
|
|
53
|
-
}
|
|
54
|
-
static addSuppressZeroFeet(builder, suppressZeroFeet) {
|
|
55
|
-
builder.addFieldInt8(3, +suppressZeroFeet, +false);
|
|
56
|
-
}
|
|
57
|
-
static addSuppressZeroInches(builder, suppressZeroInches) {
|
|
58
|
-
builder.addFieldInt8(4, +suppressZeroInches, +false);
|
|
59
|
-
}
|
|
60
|
-
static endLinearUnitSystem(builder) {
|
|
61
|
-
const offset = builder.endObject();
|
|
62
|
-
return offset;
|
|
63
|
-
}
|
|
64
|
-
static createLinearUnitSystem(builder, baseOffset, format, decimalSeparator, suppressZeroFeet, suppressZeroInches) {
|
|
65
|
-
LinearUnitSystem.startLinearUnitSystem(builder);
|
|
66
|
-
LinearUnitSystem.addBase(builder, baseOffset);
|
|
67
|
-
if (format !== null)
|
|
68
|
-
LinearUnitSystem.addFormat(builder, format);
|
|
69
|
-
if (decimalSeparator !== null)
|
|
70
|
-
LinearUnitSystem.addDecimalSeparator(builder, decimalSeparator);
|
|
71
|
-
LinearUnitSystem.addSuppressZeroFeet(builder, suppressZeroFeet);
|
|
72
|
-
LinearUnitSystem.addSuppressZeroInches(builder, suppressZeroInches);
|
|
73
|
-
return LinearUnitSystem.endLinearUnitSystem(builder);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as flatbuffers from 'flatbuffers';
|
|
2
|
-
export declare class Margins {
|
|
3
|
-
bb: flatbuffers.ByteBuffer | null;
|
|
4
|
-
bb_pos: number;
|
|
5
|
-
__init(i: number, bb: flatbuffers.ByteBuffer): Margins;
|
|
6
|
-
static getRootAsMargins(bb: flatbuffers.ByteBuffer, obj?: Margins): Margins;
|
|
7
|
-
static getSizePrefixedRootAsMargins(bb: flatbuffers.ByteBuffer, obj?: Margins): Margins;
|
|
8
|
-
top(): number;
|
|
9
|
-
right(): number;
|
|
10
|
-
bottom(): number;
|
|
11
|
-
left(): number;
|
|
12
|
-
static startMargins(builder: flatbuffers.Builder): void;
|
|
13
|
-
static addTop(builder: flatbuffers.Builder, top: number): void;
|
|
14
|
-
static addRight(builder: flatbuffers.Builder, right: number): void;
|
|
15
|
-
static addBottom(builder: flatbuffers.Builder, bottom: number): void;
|
|
16
|
-
static addLeft(builder: flatbuffers.Builder, left: number): void;
|
|
17
|
-
static endMargins(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
18
|
-
static createMargins(builder: flatbuffers.Builder, top: number, right: number, bottom: number, left: number): flatbuffers.Offset;
|
|
19
|
-
}
|
|
@@ -1,64 +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 Margins {
|
|
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 getRootAsMargins(bb, obj) {
|
|
15
|
-
return (obj || new Margins()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
16
|
-
}
|
|
17
|
-
static getSizePrefixedRootAsMargins(bb, obj) {
|
|
18
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
19
|
-
return (obj || new Margins()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
20
|
-
}
|
|
21
|
-
top() {
|
|
22
|
-
const offset = this.bb.__offset(this.bb_pos, 4);
|
|
23
|
-
return offset ? this.bb.readFloat64(this.bb_pos + offset) : 0.0;
|
|
24
|
-
}
|
|
25
|
-
right() {
|
|
26
|
-
const offset = this.bb.__offset(this.bb_pos, 6);
|
|
27
|
-
return offset ? this.bb.readFloat64(this.bb_pos + offset) : 0.0;
|
|
28
|
-
}
|
|
29
|
-
bottom() {
|
|
30
|
-
const offset = this.bb.__offset(this.bb_pos, 8);
|
|
31
|
-
return offset ? this.bb.readFloat64(this.bb_pos + offset) : 0.0;
|
|
32
|
-
}
|
|
33
|
-
left() {
|
|
34
|
-
const offset = this.bb.__offset(this.bb_pos, 10);
|
|
35
|
-
return offset ? this.bb.readFloat64(this.bb_pos + offset) : 0.0;
|
|
36
|
-
}
|
|
37
|
-
static startMargins(builder) {
|
|
38
|
-
builder.startObject(4);
|
|
39
|
-
}
|
|
40
|
-
static addTop(builder, top) {
|
|
41
|
-
builder.addFieldFloat64(0, top, 0.0);
|
|
42
|
-
}
|
|
43
|
-
static addRight(builder, right) {
|
|
44
|
-
builder.addFieldFloat64(1, right, 0.0);
|
|
45
|
-
}
|
|
46
|
-
static addBottom(builder, bottom) {
|
|
47
|
-
builder.addFieldFloat64(2, bottom, 0.0);
|
|
48
|
-
}
|
|
49
|
-
static addLeft(builder, left) {
|
|
50
|
-
builder.addFieldFloat64(3, left, 0.0);
|
|
51
|
-
}
|
|
52
|
-
static endMargins(builder) {
|
|
53
|
-
const offset = builder.endObject();
|
|
54
|
-
return offset;
|
|
55
|
-
}
|
|
56
|
-
static createMargins(builder, top, right, bottom, left) {
|
|
57
|
-
Margins.startMargins(builder);
|
|
58
|
-
Margins.addTop(builder, top);
|
|
59
|
-
Margins.addRight(builder, right);
|
|
60
|
-
Margins.addBottom(builder, bottom);
|
|
61
|
-
Margins.addLeft(builder, left);
|
|
62
|
-
return Margins.endMargins(builder);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -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 MARK_ELLIPSE_CENTER;
|
|
4
|
-
(function (MARK_ELLIPSE_CENTER) {
|
|
5
|
-
MARK_ELLIPSE_CENTER[MARK_ELLIPSE_CENTER["MARK"] = 10] = "MARK";
|
|
6
|
-
MARK_ELLIPSE_CENTER[MARK_ELLIPSE_CENTER["LINE"] = 11] = "LINE";
|
|
7
|
-
})(MARK_ELLIPSE_CENTER || (MARK_ELLIPSE_CENTER = {}));
|
|
@@ -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 MATERIAL_CONDITION;
|
|
4
|
-
(function (MATERIAL_CONDITION) {
|
|
5
|
-
MATERIAL_CONDITION[MATERIAL_CONDITION["MAXIMUM"] = 10] = "MAXIMUM";
|
|
6
|
-
MATERIAL_CONDITION[MATERIAL_CONDITION["LEAST"] = 11] = "LEAST";
|
|
7
|
-
MATERIAL_CONDITION[MATERIAL_CONDITION["REGARDLESS"] = 12] = "REGARDLESS";
|
|
8
|
-
})(MATERIAL_CONDITION || (MATERIAL_CONDITION = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare enum OBJECT_SNAP_MODE {
|
|
2
|
-
NONE = 0,
|
|
3
|
-
ENDPOINT = 10,
|
|
4
|
-
MIDPOINT = 11,
|
|
5
|
-
CENTER = 12,
|
|
6
|
-
QUADRANT = 13,
|
|
7
|
-
INTERSECTION = 14,
|
|
8
|
-
EXTENSION = 15,
|
|
9
|
-
PERPENDICULAR = 16,
|
|
10
|
-
TANGENT = 17,
|
|
11
|
-
NEAREST = 18,
|
|
12
|
-
NODE = 19,
|
|
13
|
-
INSERT = 20,
|
|
14
|
-
PARALLEL = 21,
|
|
15
|
-
APPARENT = 22,
|
|
16
|
-
FROM = 23,
|
|
17
|
-
POINT_FILTER = 24,
|
|
18
|
-
TEMPORARY = 25,
|
|
19
|
-
BETWEEN_TWO_POINTS = 26,
|
|
20
|
-
POINT_ON_CURVE = 27,
|
|
21
|
-
GEOMETRIC = 28
|
|
22
|
-
}
|