activeModuleId
activeModuleId: null | string
activeViewId
activeViewId: null | string
addPricingRule
addPricingRule: ((rule?: any) => string)
addShapeSvgAsset
addShapeSvgAsset: ((payload: {
id?: string;
name: string;
svgText: string;
}) => string)
addView
addView: ((payload?: string | Partial<Pick<AsukaView, | "width" | "height" | "name" | "unit" | "dpi" | "physicalSize" | "engine" | "scene3d">>) => string) backModuleOverlay
backModuleOverlay: (() => void)
beginPlaceFixedSlot
beginPlaceFixedSlot: ((payload: { bringToFront?: boolean; color?: string; constraints?: FixedSlotConstraints; label?: string; targetHeight?: number; targetWidth?: number; type: FixedSlotType; }) => void) bootReady
bootReady: boolean
bootStatus
bootStatus: string
bumpI18nVersion
bumpI18nVersion: (() => void)
cancelPlaceFixedSlot
cancelPlaceFixedSlot: (() => void)
cancelPlaceShape
cancelPlaceShape: (() => void)
canUseLicenseFeature
canUseLicenseFeature: ((feature: string) => boolean)
clearPendingOpenCreateViewModal
clearPendingOpenCreateViewModal: (() => void)
clearPermissionsForView
clearPermissionsForView: ((viewId: string) => void)
clearUploadedAssets
clearUploadedAssets: (() => void)
closeElementEditor
closeElementEditor: (() => void)
closeElementVariationPicker
closeElementVariationPicker: (() => void)
closeMenu
closeMenu: (() => void)
closeModule
closeModule: (() => void)
closeSelectionMenu
closeSelectionMenu: (() => void)
defaults
defaults: {
priceFormat: {
code: string;
decimalSeparator: string;
precision: number;
priceFormat: string;
symbol: string;
thousandSeparator: string;
trimZeros: boolean;
};
uiScaling: {
baseControlSize: number;
baseTouchControlSize: number;
keepControlsReadable: boolean;
keepHelpersReadable: boolean;
maxCompensationMultiplier: number;
minHelperStrokeWidth: number;
};
}
documentFabricHistoryByView
documentHistoryInfoByView
documentObjectsByView
documentObjectsByView: Record<string, any[]>
draggedBlockId
draggedBlockId: null | string
duplicatePricingRule
duplicatePricingRule: ((id: string) => string)
editElement
editElement: ((name: string,
patch: Partial<AsukaElement>) => void) elementEditor
elementEditor: null | { initialValues?: Partial<AsukaElement>; mode: "add" | "edit"; } elementVariationPicker
elementVariationPicker: null | {
elementId?: string;
elementName: string;
focusOnOpen?: boolean;
objectId: string;
objectSrc?: string;
partId?: string;
partLabel?: string;
partMaterialId?: string;
partMeshId?: string;
source?: string;
variationId?: string;
}
endDraggingBlock
endDraggingBlock: (() => void)
exitingModules
exitingModules: Partial<Record<string, true>>
exportRuntime
exportRuntime: any
finalizeModuleExit
finalizeModuleExit: ((id: string) => void)
findElementVariation
findElementVariation: ((name: string,
variationId: string) => null | ElementVariation) fixedSlotActiveId
fixedSlotActiveId: null | string
fixedSlotsPlacing
fixedSlotsPlacing: null | { bringToFront?: boolean; color?: string; constraints: FixedSlotConstraints; label?: string; targetHeight?: number; targetWidth?: number; type: FixedSlotType; } hiddenModules
hiddenModules: Partial<Record<string, true>>
i18nVersion
i18nVersion: number
initializeLayoutFromConfig
initializeLayoutFromConfig: ((config: any) => void)
magnifierActive
magnifierActive: boolean
magnifierEnabled
magnifierEnabled: boolean
magnifierSize
magnifierSize: number
magnifierX
magnifierX: number
magnifierY
magnifierY: number
magnifierZoom
magnifierZoom: number
markerEditorState
markerEditorState: null | {
mode: "edit" | "create";
slotId: null | string;
}
markFontState
markFontState: ((id: string,
patch: Partial<Pick<AsukaRegisteredFont, "loading" | "loaded" | "error">>) => void) moduleDisplayModeOverrides
moduleMountTargetOverrides
moduleMountTargetOverrides: Partial<Record<string, string>>
moduleOverlayAnchorBox
moduleOverlayAnchorBox: null | {
height: number;
left: number;
top: number;
width: number;
}
moduleOverlayStack
moduleOverlayStack: string[]
moduleOverlayType
moduleOverlayType:
| "floating"
| "popover"
| "panel-left"
| "panel-right"
| "panel-bottom"
| "panel-top"
| "modal"
| "drawer"
mountedModules
mountedModules: Partial<Record<string, true>>
moveBlock
moveBlock: ((blockId: string,
targetZone: LayoutZoneId,
targetIndex?: number) => void) movePricingRule
movePricingRule: ((id: string, delta: number) => void)
openElementEditor
openElementEditor: ((mode: "add" | "edit",
initialValues?: Partial<AsukaElement>) => void) openElementVariationPicker
openElementVariationPicker: ((payload: {
elementId?: string;
elementName: string;
focusOnOpen?: boolean;
objectId: string;
objectSrc?: string;
partId?: string;
partLabel?: string;
partMaterialId?: string;
partMeshId?: string;
source?: string;
variationId?: string;
}) => void)
openMenu
openMenu: ((id: string) => void)
openModule
openModule: ((id: string) => void)
openSelectionMenu
openSelectionMenu: (() => void)
pendingOpenCreateViewModal
pendingOpenCreateViewModal: boolean
pendingRestoreSelectionMenu
pendingRestoreSelectionMenu: boolean
pricingRules
pricingRules: any[]
pricingTotals
pricingTotals: {
base: number;
rules: number;
standard: number;
total: number;
updatedAt: number;
}
pushModuleOverlay
pushModuleOverlay: ((id: string) => void)
removeElement
removeElement: ((name: string) => void)
removeFixedSlot
removeFixedSlot: ((slotId: string) => void)
removeFont
removeFont: ((id: string) => void)
removePricingRule
removePricingRule: ((id: string) => void)
removeShapeSvgAsset
removeShapeSvgAsset: ((id: string) => void)
removeUploadedAsset
removeUploadedAsset: ((id: string) => void)
removeView
removeView: ((id: string) => void)
renderEngineOptionsByKind
requestOpenCreateViewModal
requestOpenCreateViewModal: (() => void)
resetSelectionMenuNav
resetSelectionMenuNav: (() => void)
responsiveWidth
responsiveWidth: number
rulerEnabled
rulerEnabled: boolean
selectionMenuAnchorBox
selectionMenuAnchorBox: null | {
height: number;
left: number;
top: number;
width: number;
}
selectionMenuBack
selectionMenuBack: (() => void)
selectionMenuItems
selectionMenuItems: string[]
selectionMenuOpen
selectionMenuOpen: boolean
selectionMenuStack
selectionMenuStack: string[]
setActiveRenderEngineKind
setActiveView
setActiveView: ((id: string) => void)
setAiRuntime
setAiRuntime: ((runtime: any) => void)
setBlockCollapsed
setBlockCollapsed: ((blockId: string, value: boolean) => void)
setBlockCollapsible
setBlockCollapsible: ((blockId: string, value: boolean) => void)
setBootReady
setBootReady: ((ready: boolean) => void)
setBootStatus
setBootStatus: ((status: string) => void)
setColors
setColors: ((colors: any[]) => void)
setDefaultRenderEngineKind
setDefaults
setDefaults: ((patch: Partial<{
priceFormat: {
code: string;
decimalSeparator: string;
precision: number;
priceFormat: string;
symbol: string;
thousandSeparator: string;
trimZeros: boolean;
};
uiScaling: {
baseControlSize: number;
baseTouchControlSize: number;
keepControlsReadable: boolean;
keepHelpersReadable: boolean;
maxCompensationMultiplier: number;
minHelperStrokeWidth: number;
};
}>) => void)
setDocument3dCameraForView
setDocument3dCameraForView: ((viewId: string, camera: undefined | null | {
alpha?: number;
beta?: number;
fov?: number;
position?: [number, number, number];
radius?: number;
target?: [number, number, number];
}) => void)
setDocument3dHistoryForView
setDocument3dSceneForView
setDocument3dSceneForView: ((viewId: string,
scene: undefined | null | Asuka3DSceneState) => void) setDocumentFabricHistoryForView
setDocumentObjectsForView
setDocumentObjectsForView: ((viewId: string, objects: any[]) => void)
setDocumentViewportForView
setDocumentViews
setDocumentViews: ((views: AsukaView[]) => void) setElementActiveVariation
setElementActiveVariation: ((name: string, variationId: string) => void)
setElementVariationCamera
setElementVariationCamera: ((elementId: string,
variationId: string,
camera: null | Partial<AsukaCameraView>) => boolean) setExportRuntime
setExportRuntime: ((runtime: any) => void)
setFixedSlotActive
setFixedSlotActive: ((slotId: null | string) => void)
setFixedSlotPosition
setFixedSlotPosition: ((slotId: string, x: number, y: number) => void)
setListenersEnabled
setListenersEnabled: ((patch: Partial<Record<AsukaListenerId, boolean>>) => void) setMagnifierActive
setMagnifierActive: ((active: boolean) => void)
setMagnifierEnabled
setMagnifierEnabled: ((enabled: boolean) => void)
setMagnifierPosition
setMagnifierPosition: ((x: number, y: number) => void)
setMagnifierSize
setMagnifierSize: ((size: number) => void)
setMagnifierZoom
setMagnifierZoom: ((zoom: number) => void)
setMarkerEditorState
setMarkerEditorState: ((state: null | {
mode: "edit" | "create";
slotId: null | string;
}) => void)
setModuleDisplayModeOverride
setModuleMountTargetOverride
setModuleMountTargetOverride: ((id: string, target: null | string) => void)
setModuleOverlayAnchorBox
setModuleOverlayAnchorBox: ((box: null | {
height: number;
left: number;
top: number;
width: number;
}) => void)
setPendingRestoreSelectionMenu
setPendingRestoreSelectionMenu: ((value: boolean) => void)
setPermissionsForView
setPermissionsForView: ((viewId: string,
patch: Partial<AsukaPermissions>) => void) setPrice
setPrice: ((price: string | number) => void)
setPricingRules
setPricingRules: ((rules: any[]) => void)
setPricingTotals
setPricingTotals: ((totals: Partial<{
base: number;
rules: number;
standard: number;
total: number;
updatedAt: number;
}> & {
updatedAt?: number;
}) => void)
setProductPartActiveVariation
setProductPartActiveVariation: ((name: string, partId: string, variationId: string) => void)
setRenderEngineOptionsByKind
setResponsiveMetrics
setResponsiveMetrics: ((width: number) => void)
setRulerDpi
setRulerDpi: ((dpi: number) => void)
setRulerEnabled
setRulerEnabled: ((enabled: boolean) => void)
setSelectionMenuAnchorBox
setSelectionMenuAnchorBox: ((box: null | {
height: number;
left: number;
top: number;
width: number;
}) => void)
setSelectionMenuItems
setSelectionMenuItems: ((items: string[]) => void)
setShapeEditDefaults
setShapeEditDefaults: ((patch: Partial<{
rectRadius: number;
starInnerRatio: number;
starSpikes: number;
}>) => void)
setShapeStyle
setShapeStyle: ((patch: Partial<{
fill: string;
opacity: number;
stroke: string;
strokeWidth: number;
}>) => void)
setViewThumbnail
setViewThumbnail: ((viewId: string, dataUrl: string) => void)
setZoneCollapsed
setZoneCollapsed: ((zone: LayoutZoneId,
value: boolean) => void) setZoneCollapsible
setZoneCollapsible: ((zone: LayoutZoneId,
value: boolean) => void) setZoneType
setZoneType: ((zone: LayoutZoneId,
type: "panels" | "default" | "inline") => void) shapeEditDefaults
shapeEditDefaults: {
rectRadius: number;
starInnerRatio: number;
starSpikes: number;
}
Type declaration
rectRadius: number
starInnerRatio: number
starSpikes: number
shapeStyle
shapeStyle: {
fill: string;
opacity: number;
stroke: string;
strokeWidth: number;
}
Type declaration
fill: string
opacity: number
stroke: string
strokeWidth: number
startDraggingBlock
startDraggingBlock: ((blockId: string) => void)
toggleBlockCollapsed
toggleBlockCollapsed: ((blockId: string) => void)
toggleMenu
toggleMenu: ((id: string) => void)
togglePricingRule
togglePricingRule: ((id: string) => void)
toggleRuler
toggleRuler: (() => void)
updateFixedSlot
updateFixedSlot: ((slotId: string,
patch: Partial<FixedSlot>) => void) updatePricingRule
updatePricingRule: ((id: string, patch: any) => void)
updateUploadedAsset
updateUploadedAsset: ((id: string,
patch: Partial<UploadedAsset>) => void) updateView
updateView: ((id: string,
patch: Partial<Pick<AsukaView, | "width" | "height" | "name" | "unit" | "dpi" | "physicalSize" | "engine" | "scene3d">>) => void) viewThumbnails
viewThumbnails: Record<string, string>
zoneType
zoneType: Record<LayoutZoneId, "panels" | "default" | "inline">
Apply a variation through the active designer runtime. Product-part variation calls may include partId.