@processandtools/rp-article-designer 1.0.38 → 1.0.39
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/article_designer/helpers/DoorSensor.d.ts +1 -1
- package/dist/components/article_designer/helpers/DrawerAnimator.d.ts +14 -0
- package/dist/components/article_designer/helpers/DrawerSensor.d.ts +10 -0
- package/dist/components/article_designer/helpers/ScanNeighbors.d.ts +5 -2
- package/dist/components/article_designer/helpers/ScanNeighbors.old.d.ts +19 -0
- package/dist/components/article_designer/helpers/calculateHitOversize.d.ts +3 -0
- package/dist/components/article_designer/zoneElems/Bottom.d.ts +4 -1
- package/dist/components/article_designer/zoneElems/Drawer.d.ts +10 -0
- package/dist/components/article_designer/zoneElems/DrawerItem.d.ts +15 -0
- package/dist/components/article_designer/zoneElems/Top.d.ts +4 -1
- package/dist/components/article_designer/zoneElems/drawerElems/DrBack.d.ts +2 -0
- package/dist/components/article_designer/zoneElems/drawerElems/DrBottom.d.ts +2 -0
- package/dist/components/article_designer/zoneElems/drawerElems/DrFront.d.ts +2 -0
- package/dist/components/article_designer/zoneElems/drawerElems/DrLeft.d.ts +2 -0
- package/dist/components/article_designer/zoneElems/drawerElems/DrRight.d.ts +2 -0
- package/dist/components/article_designer/zoneElems/drawerElems/DrZone.d.ts +2 -0
- package/dist/components/article_designer/zoneElems/drawerElems/types/drawer-elem.types.d.ts +10 -0
- package/dist/components/elements_manager/PD_3D.d.ts +5 -1
- package/dist/construction_principle/cabBack/CabBackHelper.d.ts +2 -1
- package/dist/construction_principle/cabin/CabinHelper.d.ts +2 -1
- package/dist/construction_principle/door/DoorHelper.d.ts +2 -1
- package/dist/construction_principle/drawer/DrawerHelper.d.ts +16 -0
- package/dist/construction_principle/drawer/dto/drawer.types.d.ts +3 -0
- package/dist/construction_principle/dto/angl-type-config.d.ts +7 -5
- package/dist/construction_principle/dto/cp-dispatcher.types.d.ts +15 -0
- package/dist/construction_principle/kms/KmsHelper.d.ts +2 -1
- package/dist/construction_principle/material/MatHelper.d.ts +2 -1
- package/dist/construction_principle/side_panel/CSideHelper.d.ts +2 -1
- package/dist/construction_principle/surface/SurfHelper.d.ts +2 -1
- package/dist/contexts/article-hover/ArticleHoverContext.d.ts +5 -0
- package/dist/contexts/article-hover/ArticleHoverProvider.d.ts +6 -0
- package/dist/contexts/article-hover/useArticleHover.d.ts +2 -0
- package/dist/data/articles.d.ts +22 -2
- package/dist/helpers/GroupWrapper.d.ts +3 -0
- package/dist/helpers/ZoneCalculations.d.ts +2 -2
- package/dist/helpers/row_data/UseDrawerZoneHelper.d.ts +2 -0
- package/dist/helpers/{angls → row_data}/UseElemHelper.d.ts +2 -1
- package/dist/helpers/row_data/UseZoneHelper.d.ts +86 -0
- package/dist/helpers/tools/computeTrimTool.d.ts +2 -1
- package/dist/helpers/useCpDispatcher.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/data.types.d.ts +41 -0
- package/dist/types/helper.types.d.ts +2 -2
- package/dist/types/zone.types.d.ts +3 -2
- package/package.json +1 -1
- package/dist/helpers/CpDispatcher.d.ts +0 -6
- package/dist/helpers/angls/UseZoneHelper.d.ts +0 -10
- /package/dist/helpers/{angls → row_data}/UseClieHelper.d.ts +0 -0
- /package/dist/helpers/{angls → row_data}/UseGrtxHelper.d.ts +0 -0
- /package/dist/helpers/{angls → row_data}/UsePrimHelper.d.ts +0 -0
|
@@ -68,15 +68,50 @@ export interface AnglGrtx {
|
|
|
68
68
|
NUM: number;
|
|
69
69
|
TEXT: string;
|
|
70
70
|
}
|
|
71
|
+
export interface DrawerZoneTypes {
|
|
72
|
+
NAME: string;
|
|
73
|
+
ZONE_ID: string;
|
|
74
|
+
DIVISION: string;
|
|
75
|
+
ONSET: boolean;
|
|
76
|
+
}
|
|
77
|
+
export interface DrawerSingTypes {
|
|
78
|
+
NAME: string;
|
|
79
|
+
ZONE_ID: string;
|
|
80
|
+
SEQ: number;
|
|
81
|
+
DRAWER: string;
|
|
82
|
+
}
|
|
83
|
+
export interface DrawerZoneDataTypes extends DrawerZoneTypes {
|
|
84
|
+
sings: DrawerSingTypes[];
|
|
85
|
+
}
|
|
86
|
+
export interface DranglzoneType {
|
|
87
|
+
NAME: string;
|
|
88
|
+
DIVTYPE: string;
|
|
89
|
+
BOTSHELF: string;
|
|
90
|
+
}
|
|
91
|
+
export interface DrFrontTypes {
|
|
92
|
+
NAME: string;
|
|
93
|
+
PART_DEF: string;
|
|
94
|
+
}
|
|
95
|
+
export interface DranglelemType {
|
|
96
|
+
NAME: string;
|
|
97
|
+
TREEID: string;
|
|
98
|
+
CPNAME: string;
|
|
99
|
+
}
|
|
100
|
+
export interface DrawerDataTypes extends DranglzoneType {
|
|
101
|
+
elems: DranglelemType[];
|
|
102
|
+
front?: DrFrontTypes;
|
|
103
|
+
}
|
|
71
104
|
export interface DataContextType {
|
|
72
105
|
anglElems: AngleElem[];
|
|
73
106
|
anglZones: AnglZone[];
|
|
74
107
|
anglPrims: AnglPrim[];
|
|
75
108
|
anglClies: AnglClie[];
|
|
76
109
|
anglGrtxs: AnglGrtx[];
|
|
110
|
+
drawerZones: DrawerZoneDataTypes[];
|
|
77
111
|
cabins: CabinTypes[];
|
|
78
112
|
csides: CsideTypes[];
|
|
79
113
|
doors: DoorTypes[];
|
|
114
|
+
drawers: DrawerDataTypes[];
|
|
80
115
|
cabbacks: CabbackTypes[];
|
|
81
116
|
kmsList: KmsTypes[];
|
|
82
117
|
variables: ImosVariable[];
|
|
@@ -98,6 +133,8 @@ export interface DataContextType {
|
|
|
98
133
|
cabins: CabinTypes[];
|
|
99
134
|
csides: CsideTypes[];
|
|
100
135
|
doors: DoorTypes[];
|
|
136
|
+
drawers: DrawerDataTypes[];
|
|
137
|
+
drawerZones: DrawerZoneDataTypes[];
|
|
101
138
|
cabbacks: CabbackTypes[];
|
|
102
139
|
variables: ImosVariable[];
|
|
103
140
|
};
|
|
@@ -107,9 +144,11 @@ export interface DataContextType {
|
|
|
107
144
|
anglprim: AnglPrim[];
|
|
108
145
|
anglclie: AnglClie[];
|
|
109
146
|
anglgrtx: AnglGrtx[];
|
|
147
|
+
drawerZone: DrawerZoneDataTypes[];
|
|
110
148
|
cabin: CabinTypes[];
|
|
111
149
|
cside: CsideTypes[];
|
|
112
150
|
door: DoorTypes[];
|
|
151
|
+
drawers: DrawerDataTypes[];
|
|
113
152
|
cabback: CabbackTypes[];
|
|
114
153
|
kms: KmsTypes[];
|
|
115
154
|
};
|
|
@@ -120,11 +159,13 @@ export interface ArticleData {
|
|
|
120
159
|
anglprim: AnglPrim[];
|
|
121
160
|
anglclie: AnglClie[];
|
|
122
161
|
anglgrtx: AnglGrtx[];
|
|
162
|
+
drawerZone: DrawerZoneDataTypes[];
|
|
123
163
|
descriptors: DescriptorResponse[];
|
|
124
164
|
variables: ImosVariable[];
|
|
125
165
|
cabin?: CabinTypes[];
|
|
126
166
|
cside?: CsideTypes[];
|
|
127
167
|
door?: DoorTypes[];
|
|
168
|
+
drawers: DrawerDataTypes[];
|
|
128
169
|
cabback?: CabbackTypes[];
|
|
129
170
|
kms?: KmsTypes[];
|
|
130
171
|
materials?: MaterialTypes[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useElemHelper } from '../helpers/
|
|
2
|
-
import { useZoneHelper } from '../helpers/
|
|
1
|
+
import { useElemHelper } from '../helpers/row_data/UseElemHelper';
|
|
2
|
+
import { useZoneHelper } from '../helpers/row_data/UseZoneHelper';
|
|
3
3
|
export type ElemHelperType = ReturnType<typeof useElemHelper>;
|
|
4
4
|
export type ZoneHelperType = ReturnType<typeof useZoneHelper>;
|
|
@@ -31,11 +31,12 @@ export interface DividerPosition {
|
|
|
31
31
|
}
|
|
32
32
|
export interface PositionHelperResult {
|
|
33
33
|
childPositions: PositionedChild[];
|
|
34
|
-
dividerType:
|
|
34
|
+
dividerType: divisionType;
|
|
35
35
|
}
|
|
36
|
+
export type divisionType = 'width' | 'depth' | 'height' | 'article' | 'independent';
|
|
36
37
|
export interface ChildrenDimsResult {
|
|
37
38
|
isReversed?: boolean;
|
|
38
|
-
divisionType:
|
|
39
|
+
divisionType: divisionType;
|
|
39
40
|
zone_dimensions: DimensionProps[];
|
|
40
41
|
divided_length_list: number[];
|
|
41
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DataContextType } from '../types/data.types';
|
|
2
|
-
import { DividerType } from '../types/divider.types';
|
|
3
|
-
import { ElemPartType } from '../types/Elem.types';
|
|
4
|
-
import { PartTypeSource } from '../construction_principle/dto/angl-type-config';
|
|
5
|
-
import { CpDispatcherResult } from '../construction_principle/dto/cp-dispatcher.types';
|
|
6
|
-
export default function CpDispatcher(articleData: DataContextType, cpName: string, cpType: ElemPartType | DividerType, source: PartTypeSource): CpDispatcherResult | undefined;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DividerType } from '../../types/divider.types';
|
|
2
|
-
export declare function useZoneHelper(articleName: string, TREEID: string): {
|
|
3
|
-
currentZone: import('../../types/data.types.tsx').AnglZone;
|
|
4
|
-
children: import('../../types/data.types.tsx').AnglZone[];
|
|
5
|
-
readonly topShelfCP: import('../../construction_principle/dto/cp-dispatcher.types.ts').CpDispatcherResult | undefined;
|
|
6
|
-
readonly bottomShelfCP: import('../../construction_principle/dto/cp-dispatcher.types.ts').CpDispatcherResult | undefined;
|
|
7
|
-
readonly DividerCP: import('../../construction_principle/dto/cp-dispatcher.types.ts').CpDispatcherResult | undefined;
|
|
8
|
-
zoneInfo(): Map<string, string> | undefined;
|
|
9
|
-
getThk(TREEID: string, TAGNAME: string, CPNAME: string, cpType: DividerType): number;
|
|
10
|
-
} | null;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|