ebta-workflow-prod 4.0.23 → 4.1.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/build/activitypack.json +1 -1
- package/build/main.js +11 -6
- package/ebta-workflow-prod-4.0.24.tgz +0 -0
- package/eslint.config.js +12 -0
- package/package.json +54 -46
- package/src/activities/DrapGeometry.ts +3 -3
- package/src/elements/AttributeFilter.tsx +69 -75
- package/src/elements/CsColorPicker.tsx +3 -3
- package/src/elements/ItemSearcher.tsx +1 -1
- package/src/elements/ItemSearcher_v2.tsx +1 -1
- package/src/elements/Viewer360.tsx +154 -59
- package/src/elements/modules/AttributeFilterEasyComp.tsx +33 -63
- package/tsconfig.json +2 -0
- /package/{uuid.js → uuid.cjs} +0 -0
|
@@ -4,11 +4,11 @@ import InputBase from '@mui/material/InputBase';
|
|
|
4
4
|
import Badge, { BadgeProps } from '@mui/material/Badge';
|
|
5
5
|
import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip';
|
|
6
6
|
import { createTheme } from "@mui/material/styles";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from '@mui/base/Unstable_NumberInput';
|
|
7
|
+
// import {
|
|
8
|
+
// Unstable_NumberInput as BaseNumberInput,
|
|
9
|
+
// NumberInputProps,
|
|
10
|
+
// numberInputClasses,
|
|
11
|
+
// } from '@mui/base/Unstable_NumberInput';
|
|
12
12
|
|
|
13
13
|
const Search =styled('div')(({ theme }) => ({
|
|
14
14
|
position: 'relative',
|
|
@@ -107,38 +107,8 @@ const StyledButton = styled('button')(
|
|
|
107
107
|
color: #FFF;
|
|
108
108
|
background: var(--accentIconForeground) !important;
|
|
109
109
|
border-color: var(--accentIconBorder) !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&.${numberInputClasses.incrementButton} {
|
|
113
|
-
grid-column: 2/3;
|
|
114
|
-
grid-row: 1/2;
|
|
115
|
-
border-top-left-radius: 4px;
|
|
116
|
-
border-top-right-radius: 4px;
|
|
117
|
-
border: 1px solid;
|
|
118
|
-
border-bottom: 0;
|
|
119
|
-
border-color: ${theme.palette.mode === 'dark' ? grey[700] : grey[200]};
|
|
120
|
-
background: ${theme.palette.mode === 'dark' ? grey[900] : grey[50]};
|
|
121
|
-
color: ${theme.palette.mode === 'dark' ? grey[200] : grey[900]};
|
|
122
|
-
|
|
123
|
-
&:hover {
|
|
124
|
-
cursor: pointer;
|
|
125
|
-
color: #FFF;
|
|
126
|
-
background: var(--accentIconForeground) !important;
|
|
127
|
-
border-color: var(--accentIconBorder);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&.${numberInputClasses.decrementButton} {
|
|
132
|
-
grid-column: 2/3;
|
|
133
|
-
grid-row: 2/3;
|
|
134
|
-
border-bottom-left-radius: 4px;
|
|
135
|
-
border-bottom-right-radius: 4px;
|
|
136
|
-
border: 1px solid;
|
|
137
|
-
border-color: ${theme.palette.mode === 'dark' ? grey[700] : grey[200]};
|
|
138
|
-
background: ${theme.palette.mode === 'dark' ? grey[900] : grey[50]};
|
|
139
|
-
color: ${theme.palette.mode === 'dark' ? grey[200] : grey[900]};
|
|
140
|
-
}
|
|
141
|
-
|
|
110
|
+
};
|
|
111
|
+
|
|
142
112
|
& .arrow {
|
|
143
113
|
transform: translateY(-1px);
|
|
144
114
|
}
|
|
@@ -173,31 +143,31 @@ const defaultTheme = createTheme({
|
|
|
173
143
|
},
|
|
174
144
|
});
|
|
175
145
|
|
|
176
|
-
const CustomNumberInput =React.forwardRef(function CustomNumberInputfunction(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
) {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
})
|
|
146
|
+
// const CustomNumberInput =React.forwardRef(function CustomNumberInputfunction(
|
|
147
|
+
// props: NumberInputProps,
|
|
148
|
+
// ref: React.ForwardedRef<HTMLDivElement>,
|
|
149
|
+
// ) {
|
|
150
|
+
// return (
|
|
151
|
+
// <BaseNumberInput
|
|
152
|
+
// slots={{
|
|
153
|
+
// root: StyledInputRoot,
|
|
154
|
+
// input: StyledInputElement,
|
|
155
|
+
// incrementButton: StyledButton,
|
|
156
|
+
// decrementButton: StyledButton,
|
|
157
|
+
// }}
|
|
158
|
+
// slotProps={{
|
|
159
|
+
// incrementButton: {
|
|
160
|
+
// children: '▴',
|
|
161
|
+
// },
|
|
162
|
+
// decrementButton: {
|
|
163
|
+
// children: '▾',
|
|
164
|
+
// },
|
|
165
|
+
// }}
|
|
166
|
+
// {...props}
|
|
167
|
+
// ref={ref}
|
|
168
|
+
// />
|
|
169
|
+
// );
|
|
170
|
+
// })
|
|
201
171
|
|
|
202
172
|
const StyledInputElement = styled('input')(
|
|
203
173
|
() => `
|
|
@@ -250,4 +220,4 @@ const CustomNumberInput =React.forwardRef(function CustomNumberInputfunction(
|
|
|
250
220
|
`,
|
|
251
221
|
);
|
|
252
222
|
|
|
253
|
-
export default {Search,SearchIconWrapper,StyledInputBase,StyledBadge,StyledInputRoot,StyledInputElement,StyledButton,
|
|
223
|
+
export default {Search,SearchIconWrapper,StyledInputBase,StyledBadge,StyledInputRoot,StyledInputElement,StyledButton,defaultTheme,LightTooltip}
|
package/tsconfig.json
CHANGED
/package/{uuid.js → uuid.cjs}
RENAMED
|
File without changes
|