k3-plugin-api 1.6.0 → 2.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/dist/index.d.cts +2 -6
- package/dist/index.d.ts +2 -6
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -143,8 +143,6 @@ interface K3PluginDescriptor {
|
|
|
143
143
|
settings: unknown;
|
|
144
144
|
onSave: (settings: unknown) => void;
|
|
145
145
|
}>;
|
|
146
|
-
/** @deprecated Use viewer.models instead. */
|
|
147
|
-
dynamicModels?: DynamicModel[];
|
|
148
146
|
}
|
|
149
147
|
interface K3UIExtensions {
|
|
150
148
|
/** Override layout shell components. */
|
|
@@ -449,7 +447,7 @@ interface K3ViewerExtensions {
|
|
|
449
447
|
* Components receive {@link CustomLayoutComponentProps} with BOM and total price data.
|
|
450
448
|
*/
|
|
451
449
|
customLayoutComponents?: Record<string, React.ComponentType<CustomLayoutComponentProps>>;
|
|
452
|
-
/** Dynamic 3D model definitions contributed by this plugin.
|
|
450
|
+
/** Dynamic 3D model definitions contributed by this plugin. */
|
|
453
451
|
models?: DynamicModel[];
|
|
454
452
|
/** Override the label / hotspot overlay components rendered on the 3D canvas. */
|
|
455
453
|
labels?: {
|
|
@@ -913,7 +911,5 @@ interface PluginModelContext {
|
|
|
913
911
|
/** The unique ID of the model action this instance is rendered for. */
|
|
914
912
|
modelActionId?: string;
|
|
915
913
|
}
|
|
916
|
-
/** @deprecated Use K3PluginDescriptor */
|
|
917
|
-
type K3Plugin = Pick<K3PluginDescriptor, "dynamicModels">;
|
|
918
914
|
//#endregion
|
|
919
|
-
export { CallbackWithDescription, CustomLayoutComponentProps, DynamicModel, DynamicModelComponentProps, HOC, HOCWithDescription, K3ARExportContext, K3ARPlatform, K3AppInfo, K3BomEntry, K3Camera, K3CameraScope, K3ComponentInstanceVariables, K3Configuration, K3ConfigurationSavedEvent, K3ConfigurationVariableEntry, K3ConfigurationVariables, K3Coordinates, K3DialogExtensions, K3FullApp, K3InputExtensions, K3LayoutExtensions, K3LogicExtensions, K3NewConfiguration, K3OrderDialogExtensions, K3OrthographicCamera, K3PerspectiveCamera,
|
|
915
|
+
export { CallbackWithDescription, CustomLayoutComponentProps, DynamicModel, DynamicModelComponentProps, HOC, HOCWithDescription, K3ARExportContext, K3ARPlatform, K3AppInfo, K3BomEntry, K3Camera, K3CameraScope, K3ComponentInstanceVariables, K3Configuration, K3ConfigurationSavedEvent, K3ConfigurationVariableEntry, K3ConfigurationVariables, K3Coordinates, K3DialogExtensions, K3FullApp, K3InputExtensions, K3LayoutExtensions, K3LogicExtensions, K3NewConfiguration, K3OrderDialogExtensions, K3OrthographicCamera, K3PerspectiveCamera, K3PluginDescriptor, K3SaveResult, K3Scene, K3ScreenshotDimensions, K3Selection, K3SimplifiedValue, K3UIExtensions, K3UploadFile, K3VariableComponentProps, K3ViewerExtensions, K3WarningExtensions, LocalizedString, ModelProp, ModelPropDefault, PluginModelContext, SlotDefinition, SlotModelInstance, Value, VariableType, VariableTypes, VariableVisualisation, getSettings, init, useApp, useBOM, useConfigurationVariable, useConfigurationVariables, useFormattedTotalPrice, useK3PluginSettings, useTotalPrice };
|
package/dist/index.d.ts
CHANGED
|
@@ -143,8 +143,6 @@ interface K3PluginDescriptor {
|
|
|
143
143
|
settings: unknown;
|
|
144
144
|
onSave: (settings: unknown) => void;
|
|
145
145
|
}>;
|
|
146
|
-
/** @deprecated Use viewer.models instead. */
|
|
147
|
-
dynamicModels?: DynamicModel[];
|
|
148
146
|
}
|
|
149
147
|
interface K3UIExtensions {
|
|
150
148
|
/** Override layout shell components. */
|
|
@@ -449,7 +447,7 @@ interface K3ViewerExtensions {
|
|
|
449
447
|
* Components receive {@link CustomLayoutComponentProps} with BOM and total price data.
|
|
450
448
|
*/
|
|
451
449
|
customLayoutComponents?: Record<string, React.ComponentType<CustomLayoutComponentProps>>;
|
|
452
|
-
/** Dynamic 3D model definitions contributed by this plugin.
|
|
450
|
+
/** Dynamic 3D model definitions contributed by this plugin. */
|
|
453
451
|
models?: DynamicModel[];
|
|
454
452
|
/** Override the label / hotspot overlay components rendered on the 3D canvas. */
|
|
455
453
|
labels?: {
|
|
@@ -913,7 +911,5 @@ interface PluginModelContext {
|
|
|
913
911
|
/** The unique ID of the model action this instance is rendered for. */
|
|
914
912
|
modelActionId?: string;
|
|
915
913
|
}
|
|
916
|
-
/** @deprecated Use K3PluginDescriptor */
|
|
917
|
-
type K3Plugin = Pick<K3PluginDescriptor, "dynamicModels">;
|
|
918
914
|
//#endregion
|
|
919
|
-
export { CallbackWithDescription, CustomLayoutComponentProps, DynamicModel, DynamicModelComponentProps, HOC, HOCWithDescription, K3ARExportContext, K3ARPlatform, K3AppInfo, K3BomEntry, K3Camera, K3CameraScope, K3ComponentInstanceVariables, K3Configuration, K3ConfigurationSavedEvent, K3ConfigurationVariableEntry, K3ConfigurationVariables, K3Coordinates, K3DialogExtensions, K3FullApp, K3InputExtensions, K3LayoutExtensions, K3LogicExtensions, K3NewConfiguration, K3OrderDialogExtensions, K3OrthographicCamera, K3PerspectiveCamera,
|
|
915
|
+
export { CallbackWithDescription, CustomLayoutComponentProps, DynamicModel, DynamicModelComponentProps, HOC, HOCWithDescription, K3ARExportContext, K3ARPlatform, K3AppInfo, K3BomEntry, K3Camera, K3CameraScope, K3ComponentInstanceVariables, K3Configuration, K3ConfigurationSavedEvent, K3ConfigurationVariableEntry, K3ConfigurationVariables, K3Coordinates, K3DialogExtensions, K3FullApp, K3InputExtensions, K3LayoutExtensions, K3LogicExtensions, K3NewConfiguration, K3OrderDialogExtensions, K3OrthographicCamera, K3PerspectiveCamera, K3PluginDescriptor, K3SaveResult, K3Scene, K3ScreenshotDimensions, K3Selection, K3SimplifiedValue, K3UIExtensions, K3UploadFile, K3VariableComponentProps, K3ViewerExtensions, K3WarningExtensions, LocalizedString, ModelProp, ModelPropDefault, PluginModelContext, SlotDefinition, SlotModelInstance, Value, VariableType, VariableTypes, VariableVisualisation, getSettings, init, useApp, useBOM, useConfigurationVariable, useConfigurationVariables, useFormattedTotalPrice, useK3PluginSettings, useTotalPrice };
|