ducjs 3.4.1 → 3.4.3
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/dist/ducjs_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -162,7 +162,10 @@ export type DucElementSelectableField = keyof DucElement | keyof Extract<DucElem
|
|
|
162
162
|
}> | keyof Extract<DucElement, {
|
|
163
163
|
type: "embeddable";
|
|
164
164
|
}>;
|
|
165
|
-
export declare const DUC_ELEMENT_SELECTABLE_FIELDS: readonly ["id", "type", "label", "x", "y", "width", "height", "angle", "opacity", "isDeleted", "isVisible", "groupIds", "frameId", "scope", "layerId", "zIndex", "description", "customData", "roundness", "blending", "background", "stroke", "boundElements", "link", "locked", "regionIds", "blockIds", "instanceId", "index", "updated", "version", "versionNonce", "seed", "modelType", "fileIds", "code", "thumbnail", "viewerState", "text", "autoResize", "containerId", "originalText", "isLtr", "fontFamily", "bigFontFamily", "fontSize", "textAlign", "verticalAlign", "lineHeight", "lineSpacing", "obliqueAngle", "widthFactor", "isUpsideDown", "isBackwards", "points", "fileId", "status", "scaleFlip", "crop", "filter", "elbowed", "wipeoutBelow", "clip", "labelVisible", "layout", "gridConfig", "referencedFileIds", "sides", "ratio", "startAngle", "endAngle", "showAuxCrosshair", "size", "thinning", "smoothing", "streamline", "easing", "start", "end", "pressures", "simulatePressure", "lastCommittedPoint", "lines", "pathOverrides", "startBinding", "endBinding", "svgPath"];
|
|
165
|
+
export declare const DUC_ELEMENT_SELECTABLE_FIELDS: readonly ["id", "type", "label", "x", "y", "width", "height", "angle", "opacity", "isDeleted", "isVisible", "groupIds", "frameId", "scope", "layerId", "zIndex", "description", "customData", "roundness", "blending", "background", "stroke", "boundElements", "link", "locked", "regionIds", "blockIds", "instanceId", "index", "updated", "version", "versionNonce", "seed", "modelType", "fileIds", "code", "thumbnail", "viewerState", "text", "autoResize", "containerId", "originalText", "isLtr", "fontFamily", "bigFontFamily", "fontSize", "textAlign", "verticalAlign", "lineHeight", "lineSpacing", "obliqueAngle", "widthFactor", "isUpsideDown", "isBackwards", "points", "fileId", "status", "scaleFlip", "crop", "filter", "elbowed", "wipeoutBelow", "clip", "labelVisible", "layout", "gridConfig", "referencedFileIds", "sides", "ratio", "startAngle", "endAngle", "showAuxCrosshair", "size", "thinning", "smoothing", "streamline", "easing", "start", "end", "pressures", "simulatePressure", "lastCommittedPoint", "lines", "pathOverrides", "startBinding", "endBinding", "svgPath", "isPlot", "isCollapsed"];
|
|
166
|
+
export declare const DUC_ELEMENT_COMMUNICATION_DENY_FIELDS: readonly ["seed", "versionNonce", "thumbnail", "svgPath", "originalText"];
|
|
167
|
+
export type DucElementCommunicationDenyField = typeof DUC_ELEMENT_COMMUNICATION_DENY_FIELDS[number];
|
|
168
|
+
export declare const DUC_ELEMENT_COMMUNICATION_DENY_FIELD_SET: ReadonlySet<string>;
|
|
166
169
|
export declare const DUC_ELEMENT_TYPE_VALUES: readonly ["rectangle", "polygon", "ellipse", "line", "arrow", "freedraw", "text", "image", "frame", "embeddable", "table", "model", "pdf", "doc", "plot"];
|
|
167
170
|
export type NonDeleted<TElement extends DucElement> = TElement & {
|
|
168
171
|
isDeleted: boolean;
|
|
@@ -87,7 +87,18 @@ export const DUC_ELEMENT_SELECTABLE_FIELDS = [
|
|
|
87
87
|
"startBinding",
|
|
88
88
|
"endBinding",
|
|
89
89
|
"svgPath",
|
|
90
|
+
"isPlot",
|
|
91
|
+
"isCollapsed",
|
|
90
92
|
];
|
|
93
|
+
const _fieldCoverage = true;
|
|
94
|
+
export const DUC_ELEMENT_COMMUNICATION_DENY_FIELDS = [
|
|
95
|
+
"seed",
|
|
96
|
+
"versionNonce",
|
|
97
|
+
"thumbnail",
|
|
98
|
+
"svgPath",
|
|
99
|
+
"originalText",
|
|
100
|
+
];
|
|
101
|
+
export const DUC_ELEMENT_COMMUNICATION_DENY_FIELD_SET = new Set(DUC_ELEMENT_COMMUNICATION_DENY_FIELDS);
|
|
91
102
|
export const DUC_ELEMENT_TYPE_VALUES = [
|
|
92
103
|
"rectangle",
|
|
93
104
|
"polygon",
|
|
@@ -105,3 +116,4 @@ export const DUC_ELEMENT_TYPE_VALUES = [
|
|
|
105
116
|
"doc",
|
|
106
117
|
"plot",
|
|
107
118
|
];
|
|
119
|
+
const _typeCoverage = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ducjs",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.3",
|
|
4
4
|
"description": "The duc 2D CAD file format is a cornerstone of our advanced design system, conceived to cater to professionals seeking precision and efficiency in their design work.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|