@jnrs/lingshu-smart 2.2.16 → 2.2.18
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/index.js +1938 -25942
- package/dist/index-dTS3WIch.js +24123 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15 -25
- package/dist/types/app.types.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,28 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
function r(O) {
|
|
3
|
-
return O?.className === N.MACHINE_TOOL;
|
|
4
|
-
}
|
|
5
|
-
function I(O) {
|
|
6
|
-
return O?.className === N.MACHINE_TOOL || O?.className === N.MARKING_MACHINE || O?.className === N.CLEANING_MACHINE || O?.className === N.LOADING_STATION;
|
|
7
|
-
}
|
|
8
|
-
function A(O) {
|
|
9
|
-
return O?.className === N.RESOURCE_STORE || O?.className === N.SINGLE_JOINT_ROBOT;
|
|
10
|
-
}
|
|
11
|
-
function i(O) {
|
|
12
|
-
return O?.className === N.SINGLE_JOINT_ROBOT || O?.className === N.DOUBLE_JOINT_ROBOT;
|
|
13
|
-
}
|
|
14
|
-
function o(O) {
|
|
15
|
-
return O?.className === N.RAIL;
|
|
16
|
-
}
|
|
1
|
+
import { c as e, b as n, d as o, E as t, a as r, f as i, h as u, i as l, g as m, e as p, l as c, n as h, j as E, t as S, k as T } from "./index-dTS3WIch.js";
|
|
17
2
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
3
|
+
e as EnumComponent,
|
|
4
|
+
n as EnumModel,
|
|
5
|
+
o as EnumResourceType,
|
|
6
|
+
t as EnumStepType,
|
|
7
|
+
r as EnumTag,
|
|
23
8
|
i as hasFixtureChange,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
9
|
+
u as hasStationSlotGroup,
|
|
10
|
+
l as isMachineTool,
|
|
11
|
+
m as isRail,
|
|
12
|
+
p as isStationSlotGroupBoth,
|
|
13
|
+
c as linearIncrease,
|
|
14
|
+
h as numberLoopGenerator,
|
|
15
|
+
E as transFraction,
|
|
16
|
+
S as transPercentAndPixel,
|
|
17
|
+
T as transRuntimeToPixel
|
|
28
18
|
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -33,3 +33,4 @@ export declare const linearIncrease: (x: number | undefined, y: number | undefin
|
|
|
33
33
|
*/
|
|
34
34
|
export declare function transPercentAndPixel(val?: number, size?: number, precision?: number, getPercent?: boolean): number;
|
|
35
35
|
export declare function transFraction(val?: number, size?: number): number;
|
|
36
|
+
export declare function transRuntimeToPixel(val: number, precision?: number, type?: 'width' | 'height'): number;
|