@manycore/custom-sdk 3.1.15 → 3.1.17

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.
Files changed (3) hide show
  1. package/index.d.ts +68 -48
  2. package/index.js +21 -21
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -92,6 +92,8 @@ export declare class Application {
92
92
  * ```
93
93
  */
94
94
  start(option?: IApplicationStartOption): Promise<void>;
95
+ private handleFocus;
96
+ private handleBlur;
95
97
  /**
96
98
  * 初始化语言类型(默认不需要处理)
97
99
  *
@@ -344,6 +346,11 @@ export declare enum EAppliedHoleType {
344
346
  AUXILIARY = "AUXILIARY"
345
347
  }
346
348
 
349
+ export declare enum EArcPlane {
350
+ Inner = 0,
351
+ Outer = 1,
352
+ }
353
+
347
354
  /**
348
355
  * 线段类型
349
356
  */
@@ -1431,6 +1438,14 @@ export declare class FittingDesignService extends BaseService {
1431
1438
 
1432
1439
  export declare type IApplicationStartOption = ITerminalConfig;
1433
1440
 
1441
+ export declare interface IArcPlankData extends ISpecialShapedPlankData {
1442
+ /**
1443
+ * 圆弧面
1444
+ * 圆弧板必传
1445
+ */
1446
+ arcPlane: EArcPlane;
1447
+ }
1448
+
1434
1449
  /**
1435
1450
  * 孔槽数据基础示意
1436
1451
  */
@@ -1473,6 +1488,36 @@ export declare class FittingDesignService extends BaseService {
1473
1488
  type: string;
1474
1489
  }
1475
1490
 
1491
+ export declare interface IBaseFittingViewerDataWithId {
1492
+ /**
1493
+ * 关联的模型id
1494
+ */
1495
+ modelId: string;
1496
+ /**
1497
+ * 孔的集合
1498
+ */
1499
+ holes?: Array<IHoleDataV2WithId & Partial<IFittingRenderProperty>>;
1500
+ /**
1501
+ * 槽的集合
1502
+ */
1503
+ grooves?: Array<IGrooveDataV2WithId & Partial<IFittingRenderProperty>>;
1504
+ }
1505
+
1506
+ export declare interface IBaseFittingViewerDataWithOptionalId {
1507
+ /**
1508
+ * 关联的模型id
1509
+ */
1510
+ modelId: string;
1511
+ /**
1512
+ * 孔的集合
1513
+ */
1514
+ holes?: Array<IHoleDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
1515
+ /**
1516
+ * 槽的集合
1517
+ */
1518
+ grooves?: Array<IGrooveDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
1519
+ }
1520
+
1476
1521
  /**
1477
1522
  * 孔/槽的基础数据结构
1478
1523
  */
@@ -1960,55 +2005,15 @@ export declare class FittingDesignService extends BaseService {
1960
2005
  };
1961
2006
  }
1962
2007
 
1963
- export declare interface IFittingViewerDataWithId {
1964
- /**
1965
- * 关联的商品id
1966
- */
1967
- modelId: string;
1968
- /**
1969
- * 孔的集合
1970
- */
1971
- holes?: Array<IHoleDataV2WithId & Partial<IFittingRenderProperty>>;
1972
- /**
1973
- * 槽的集合
1974
- */
1975
- grooves?: Array<IGrooveDataV2WithId & Partial<IFittingRenderProperty>>;
1976
- /**
1977
- * 描述异形板件的轮廓
1978
- * 主要用于BOM
1979
- */
1980
- finishedProfile?: IBomProfile;
1981
- /**
1982
- * 基准建模平面
1983
- * 商品层必填
1984
- */
1985
- referencePlane?: EReferencePlane;
1986
- }
2008
+ export declare type IFittingViewerDataWithId = IBaseFittingViewerDataWithId &
2009
+ Partial<ISpecialShapedPlankData> &
2010
+ Partial<IProductData> &
2011
+ Partial<IArcPlankData>;
1987
2012
 
1988
- export declare interface IFittingViewerDataWithOptionalId {
1989
- /**
1990
- * 关联的模型id
1991
- */
1992
- modelId: string;
1993
- /**
1994
- * 孔的集合
1995
- */
1996
- holes?: Array<IHoleDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
1997
- /**
1998
- * 槽的集合
1999
- */
2000
- grooves?: Array<IGrooveDataV2WithOptionalId & Partial<IFittingRenderProperty>>;
2001
- /**
2002
- * 描述异形板件的轮廓
2003
- * 主要用于BOM
2004
- */
2005
- finishedProfile?: IBomProfile;
2006
- /**
2007
- * 基准建模平面
2008
- * 商品层必填
2009
- */
2010
- referencePlane?: EReferencePlane;
2011
- }
2013
+ export declare type IFittingViewerDataWithOptionalId = IBaseFittingViewerDataWithOptionalId &
2014
+ Partial<ISpecialShapedPlankData> &
2015
+ Partial<IProductData> &
2016
+ Partial<IArcPlankData>;
2012
2017
 
2013
2018
  /** 模型关联户型数据 */
2014
2019
  declare interface IFloorplanRelation {
@@ -3565,6 +3570,14 @@ export declare class FittingDesignService extends BaseService {
3565
3570
  clockwise?: boolean;
3566
3571
  }
3567
3572
 
3573
+ export declare interface IProductData {
3574
+ /**
3575
+ * 基准建模平面
3576
+ * 商品层必填
3577
+ */
3578
+ referencePlane: EReferencePlane;
3579
+ }
3580
+
3568
3581
  /**
3569
3582
  * 槽路径/轮廓
3570
3583
  */
@@ -3774,6 +3787,13 @@ export declare class FittingDesignService extends BaseService {
3774
3787
 
3775
3788
  export declare type ISpecialShapedGrooveDataWithId = ISpecialShapedGrooveData & IGrooveId;
3776
3789
 
3790
+ export declare interface ISpecialShapedPlankData {
3791
+ /**
3792
+ * 描述异形板件的轮廓
3793
+ */
3794
+ finishedProfile: IBomProfile;
3795
+ }
3796
+
3777
3797
  /**
3778
3798
  * 方槽
3779
3799
  */