@processandtools/rp-article-designer 1.0.97 → 1.0.99
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/components/spec-kms-render/SpecialFrontConfig.d.ts +1 -0
- package/dist/constants/Constants.d.ts +2 -1
- package/dist/construction_principle/kms/spec-kms/special.kms.d.ts +2 -0
- package/dist/contexts/article-interaction/ArticleInteractionContext.d.ts +1 -0
- package/dist/contexts/article-interaction/ArticleInteractionProvider.d.ts +2 -1
- package/dist/data/articles.d.ts +7 -5
- package/dist/images/WACA_LY_D.svg +8 -0
- package/dist/images/test.html +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/article-group.types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export declare const EXTRA_SLOT: {
|
|
|
13
13
|
readonly SRF_01: "main";
|
|
14
14
|
readonly SRF_02: "extra_01";
|
|
15
15
|
readonly SRF_03: "extra_02";
|
|
16
|
+
readonly SRF_04: "extra_03";
|
|
16
17
|
};
|
|
17
18
|
export type ExtraSlotKey = typeof EXTRA_SLOT[keyof typeof EXTRA_SLOT];
|
|
18
19
|
type ExtraVars = Partial<Record<ExtraSlotKey, string>>;
|
|
@@ -40,7 +40,8 @@ export declare const clieTags: {
|
|
|
40
40
|
};
|
|
41
41
|
export declare const DIM_NORM = 1000;
|
|
42
42
|
export declare const texture_url_builder: (render_mat: string) => string;
|
|
43
|
-
export declare const
|
|
43
|
+
export declare const MEDIA_BASE_URL = "https://media.tecnibo.com/aYYmWUcv7lRhpLdU4ojPsA";
|
|
44
|
+
export declare const TEXTURE_FOLDER = "IVIS";
|
|
44
45
|
export declare const TEXTURE_URL_SUFFIX = "/public";
|
|
45
46
|
export declare const TEXTURE_EXTENSION = ".jpg";
|
|
46
47
|
export declare const DEFAULT_TEXTURE = "/textures/default.jpg";
|
|
@@ -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;
|
|
@@ -8,5 +8,6 @@ export interface ArticleInteractionContextValue {
|
|
|
8
8
|
isContrasted: boolean;
|
|
9
9
|
isDimensioned: boolean;
|
|
10
10
|
isShadowed: boolean;
|
|
11
|
+
hasDoor: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare const ArticleInteractionContext: import('react').Context<ArticleInteractionContextValue | undefined>;
|
|
@@ -5,6 +5,7 @@ interface ArticleHoverProviderProps {
|
|
|
5
5
|
isContrasted?: boolean;
|
|
6
6
|
isDimensioned?: boolean;
|
|
7
7
|
isShadowed?: boolean;
|
|
8
|
+
hasDoor?: boolean;
|
|
8
9
|
}
|
|
9
|
-
export declare function ArticleInteractionProvider({ children, isDoorOpen, isContrasted, isDimensioned, isShadowed }: ArticleHoverProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function ArticleInteractionProvider({ children, isDoorOpen, isContrasted, isDimensioned, isShadowed, hasDoor }: ArticleHoverProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export {};
|
package/dist/data/articles.d.ts
CHANGED
|
@@ -5,11 +5,13 @@ export declare const articleList: {
|
|
|
5
5
|
height: number;
|
|
6
6
|
depth: number;
|
|
7
7
|
};
|
|
8
|
+
isDimensioned: boolean;
|
|
9
|
+
isDoorOpen: boolean;
|
|
10
|
+
isContrasted: boolean;
|
|
8
11
|
variables: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Z21_IS_BI_R: number;
|
|
12
|
+
PULL_GLB: string;
|
|
13
|
+
Door_Name: string;
|
|
14
|
+
ZF_CNT: number;
|
|
15
|
+
ZONE_H: number;
|
|
14
16
|
};
|
|
15
17
|
}[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 200' width='200' height='200'>
|
|
2
|
+
<rect x='9' y='9' width='62' height='184' rx='3' fill='#f0f0f0' stroke='#555' stroke-width='1.5'/><!-- subzone top -->
|
|
3
|
+
<rect x='15' y='15' width='50' height='82' rx='2' fill='none' stroke='#aaa' stroke-width='1' stroke-dasharray='4 3'/><!-- subzone bottom -->
|
|
4
|
+
<rect x='15' y='103' width='50' height='84' rx='2' fill='none' stroke='#aaa' stroke-width='1' stroke-dasharray='4 3'/><!-- inner divider -->
|
|
5
|
+
<rect x='8' y='50' width='5' height='10' rx='1.5' fill='#555' opacity='0.6'/>
|
|
6
|
+
<rect x='8' y='138' width='5' height='10' rx='1.5' fill='#555' opacity='0.6'/>
|
|
7
|
+
<rect x='66' y='92' width='5' height='20' rx='2' fill='#555' opacity='0.5'/>
|
|
8
|
+
</svg>
|
|
File without changes
|