ExposedApi.Internal.SdkConnectorPlanner
Embedding API Reference / Modules / exposed-api / <internal> / SdkConnectorPlanner
Class: SdkConnectorPlanner
exposed-api.<internal>.SdkConnectorPlanner
Hierarchy
↳
SdkConnectorPlanner
Table of contents
Constructors
Accessors
Methods
Constructors
constructor
• new SdkConnectorPlanner(store
, analytics?
, eventEmitter?
): SdkConnectorPlanner
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
| |
|
|
Returns
Overrides
Accessors
api
• get
api(): Promise
<default
>
Returns
Promise
<default
>
Overrides
Connector.api
Methods
addCallback
▸ addCallback<K
>(key
, fun
, allowMultiple?
): Promise
<void
>
Type parameters
Name | Type |
---|---|
| extends |
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
Returns
Promise
<void
>
Inherited from
cancelSelection
▸ cancelSelection(): Promise
<void
>
Returns
Promise
<void
>
confirmRoom
▸ confirmRoom(switchTo2D
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
getObjects
▸ getObjects(): Promise
<UiPlanObject
[]>
Returns
Promise
<UiPlanObject
[]>
init
▸ init(sdkWrapper
, element
, initData
): Promise
<void
>
Parameters
Name | Type |
---|---|
| |
|
|
|
Returns
Promise
<void
>
Overrides
initPlanner
▸ initPlanner(planner
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
loadPlan
▸ loadPlan(id
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
loadPlanBasedOnObjectId
▸ loadPlanBasedOnObjectId(id
): Promise
<number
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<number
>
onPlanElementChanged
▸ onPlanElementChanged(changeType
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
onSelectionCancel
▸ onSelectionCancel(reason
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
onSelectionChange
▸ onSelectionChange(_mode
, objectType
, payload
, payloadPromise
, planElementViewModel
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
Returns
void
preparePartListData
▸ preparePartListData(selectedItemPayload
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
Returns
Promise
<void
>
saveCurrentPlan
▸ saveCurrentPlan(): Promise
<Nullable
<RapiPlanSnapshotGetData
| RapiPlan
>>
Returns
Promise
<Nullable
<RapiPlanSnapshotGetData
| RapiPlan
>>
savePlanToIdb
▸ savePlanToIdb(): Promise
<void
>
Returns
Promise
<void
>
switch2D
▸ switch2D(): Promise
<void
>
Returns
Promise
<void
>
switch3D
▸ switch3D(): Promise
<void
>
Returns
Promise
<void
>
switchFp
▸ switchFp(): Promise
<void
>
Returns
Promise
<void
>
updateProductList
▸ updateProductList(): Promise
<void
>
Returns
Promise
<void
>
Last updated