@processandtools/rp-article-designer 1.0.80 → 1.0.82

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.
@@ -0,0 +1,3 @@
1
+ import { SpecialKmsProps } from '../../construction_principle/kms/spec-kms/special.kms';
2
+ declare function DR_SPECIAL({ length, width, thk, handlePosition, cpName, materialLoaderResult, kms }: SpecialKmsProps): import("react/jsx-runtime").JSX.Element;
3
+ export default DR_SPECIAL;
@@ -0,0 +1,11 @@
1
+ export type SpecialCpProps = {
2
+ cpid?: string;
3
+ handleName: string;
4
+ offsetX?: number;
5
+ offsetY?: number;
6
+ handleHeight?: number;
7
+ rotation?: number;
8
+ thk: number;
9
+ };
10
+ export declare function getSpecialFrontConfig(cpName: string): SpecialCpProps | undefined;
11
+ export declare const SPECIAL_KMS_EXTRA_VARS: Record<string, Record<string, string>>;
@@ -2,6 +2,7 @@ import { KmsResult } from '../KmsHelper';
2
2
  import { FC, RefObject } from 'react';
3
3
  import { PartTypeSource } from '../../dto/angl-type-config';
4
4
  import { MaterialLoaderResult } from '../../../contexts/mat-surf/useMaterialLoader';
5
+ import { CpDispatcherResult } from '../../dto/cp-dispatcher.types';
5
6
  export interface SpecialKmsProps {
6
7
  kms: KmsResult;
7
8
  length: number;
@@ -22,6 +23,7 @@ export interface SpecialKmsProps {
22
23
  handleHeight?: number;
23
24
  materialLoaderResult: MaterialLoaderResult;
24
25
  cpName?: string;
26
+ cp?: CpDispatcherResult;
25
27
  }
26
28
  export declare function registerSpecialKms(name: string, component: FC<SpecialKmsProps>): void;
27
29
  export declare function registerSpecialCp(name: string, component: FC<SpecialKmsProps>): void;
@@ -1,17 +1,27 @@
1
- export declare const articleList: {
1
+ export declare const articleList: ({
2
2
  name: string;
3
3
  visibility: boolean;
4
4
  isDoorOpen: boolean;
5
- isDimensioned: boolean;
6
5
  dimensions: {
7
6
  width: number;
8
7
  height: number;
9
8
  depth: number;
10
9
  };
11
10
  variables: {
12
- SRF_FR_1_TOP: string;
13
- SRF_FR_1_BOT: string;
14
- SRF_RS_1_EXT: string;
15
- SRF_LS_1_EXT: string;
11
+ Door_Name: string;
12
+ Hinge_Side_nbr?: undefined;
16
13
  };
17
- }[];
14
+ } | {
15
+ name: string;
16
+ visibility: boolean;
17
+ isDoorOpen: boolean;
18
+ dimensions: {
19
+ width: number;
20
+ height: number;
21
+ depth: number;
22
+ };
23
+ variables: {
24
+ Door_Name: string;
25
+ Hinge_Side_nbr: number;
26
+ };
27
+ })[];