@processandtools/rp-article-designer 1.0.96 → 1.0.98

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.
@@ -9,4 +9,14 @@ export type SpecialCpProps = {
9
9
  frameWidth?: number;
10
10
  };
11
11
  export declare function getSpecialFrontConfig(cpName: string | undefined): SpecialCpProps | undefined;
12
- export declare const SPECIAL_KMS_EXTRA_VARS: Record<string, Record<string, string>>;
12
+ export declare const EXTRA_SLOT: {
13
+ readonly SRF_01: "main";
14
+ readonly SRF_02: "extra_01";
15
+ readonly SRF_03: "extra_02";
16
+ readonly SRF_04: "extra_03";
17
+ };
18
+ export type ExtraSlotKey = typeof EXTRA_SLOT[keyof typeof EXTRA_SLOT];
19
+ type ExtraVars = Partial<Record<ExtraSlotKey, string>>;
20
+ export declare const SPECIAL_KMS_EXTRA_VARS: Record<string, ExtraVars>;
21
+ export declare function getSpecialKmsExtraVars(kmsName: string | undefined): ExtraVars | undefined;
22
+ export {};
@@ -2,12 +2,13 @@ import { MatResult } from '../material/MatHelper';
2
2
  import { SurfResult } from '../surface/SurfHelper';
3
3
  import { DataContextType } from '../../types/data.types';
4
4
  import { MatSurfContextValue } from '../../contexts/mat-surf/MatSurfContext';
5
+ import { ExtraSlotKey } from '../../components/spec-kms-render/SpecialFrontConfig';
5
6
  export interface KmsResult {
6
7
  name: string;
7
8
  material: MatResult | undefined;
8
9
  surfaceTop: SurfResult | undefined;
9
10
  surfaceBot: SurfResult | undefined;
10
- surfaceExtra: Record<string, SurfResult>;
11
+ surfaceExtra: Partial<Record<ExtraSlotKey, SurfResult>>;
11
12
  render: string | undefined;
12
13
  thk: number;
13
14
  }
@@ -2,6 +2,7 @@ import { FC, RefObject } from 'react';
2
2
  import { PartTypeSource } from '../../dto/angl-type-config';
3
3
  import { MaterialLoaderResult } from '../../../contexts/mat-surf/useMaterialLoader';
4
4
  import { CpDispatcherResult } from '../../dto/cp-dispatcher.types';
5
+ import { MeshStandardMaterial } from 'three';
5
6
  export interface SpecialKmsProps {
6
7
  cp?: CpDispatcherResult;
7
8
  length: number;
@@ -22,6 +23,7 @@ export interface SpecialKmsProps {
22
23
  handleHeight?: number;
23
24
  materialLoaderResult: MaterialLoaderResult;
24
25
  hingePosition?: 'left' | 'right' | 'top' | 'bottom' | undefined;
26
+ handleMaterial?: MeshStandardMaterial;
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;
@@ -7,9 +7,6 @@ export declare const articleList: {
7
7
  };
8
8
  variables: {
9
9
  Door_Name: string;
10
- SRF_FR_1_TOP: string;
11
- SRF_FR_2_TOP: string;
12
- SRF_FR_3_TOP: string;
13
- SRF_LS_1_TOP: string;
10
+ SRF_HN_1_TOP: string;
14
11
  };
15
12
  }[];