@belife/belife-bim-air 1.6.1-za.87.patch.2 → 1.6.1-za.87.patch.6

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.
@@ -14017,9 +14017,9 @@ __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "./node_module
14017
14017
 
14018
14018
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;__webpack_require__(/*! core-js/modules/es.array.concat.js */ "./node_modules/core-js/modules/es.array.concat.js");
14019
14019
  __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "./node_modules/core-js/modules/es.object.to-string.js");
14020
- __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/core-js/modules/es.promise.js");
14021
14020
  __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./node_modules/core-js/modules/web.dom-collections.for-each.js");
14022
14021
  __webpack_require__(/*! core-js/modules/es.array.push.js */ "./node_modules/core-js/modules/es.array.push.js");
14022
+ __webpack_require__(/*! core-js/modules/es.promise.js */ "./node_modules/core-js/modules/es.promise.js");
14023
14023
  __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/core-js/modules/es.function.name.js");
14024
14024
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, exports, __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"), __webpack_require__(/*! ../api/http */ "./packages/bimAir/src/gsDevFx/api/http.ts"), __webpack_require__(/*! gs-longan/managers/viewerManagerBase */ "./packages/longan/src/managers/viewerManagerBase.ts")], __WEBPACK_AMD_DEFINE_RESULT__ = (function (require, exports, tslib_1, http_1, viewerManagerBase_1) {
14025
14025
  "use strict";
@@ -14043,8 +14043,6 @@ __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/c
14043
14043
  _this.opGroup = [];
14044
14044
  _this.modelId = "";
14045
14045
  _this.componentId = "";
14046
- _this.lastModelId = "";
14047
- _this.lastComponentId = "";
14048
14046
  _this.currentProperties = [];
14049
14047
  _this._viewer = viewer;
14050
14048
  return _this;
@@ -14075,14 +14073,6 @@ __webpack_require__(/*! core-js/modules/es.function.name.js */ "./node_modules/c
14075
14073
  segmentObject = this.getParentProperties(segmentObject.treeNodeObject.parent.segmentObject);
14076
14074
  this.componentId = segmentObject.componentId;
14077
14075
  }
14078
- if (this.lastModelId === this.modelId && this.lastComponentId === this.componentId) {
14079
- return new Promise(function (resolve) {
14080
- resolve(_this.currentProperties);
14081
- });
14082
- } else {
14083
- this.lastModelId = this.modelId;
14084
- this.lastComponentId = this.componentId;
14085
- }
14086
14076
  segmentObject.segment.property;
14087
14077
  var properties = [];
14088
14078
  if (segmentObject.segment.property) {
@@ -18384,19 +18374,18 @@ __webpack_require__(/*! core-js/modules/es.number.constructor.js */ "./node_modu
18384
18374
  rectPadding = 5;
18385
18375
  fontSize = 24;
18386
18376
  strokeWidth = 3;
18387
- } else if (this.width == svgDraw_1.PenSize.Middle) {
18388
- rectWidth = 150;
18389
- rectHeight = 36;
18390
- rectPadding = 4;
18391
- fontSize = 20;
18392
- strokeWidth = 3;
18393
- }
18394
- if (this.width == svgDraw_1.PenSize.Small) {
18377
+ } else if (this.width == svgDraw_1.PenSize.Small) {
18395
18378
  rectWidth = 150;
18396
18379
  rectHeight = 30;
18397
18380
  rectPadding = 3;
18398
18381
  fontSize = 16;
18399
18382
  strokeWidth = 2;
18383
+ } else {
18384
+ rectWidth = 150;
18385
+ rectHeight = 36;
18386
+ rectPadding = 4;
18387
+ fontSize = 20;
18388
+ strokeWidth = 3;
18400
18389
  }
18401
18390
  return {
18402
18391
  rectWidth: rectWidth,
@@ -31740,9 +31729,9 @@ __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "./no
31740
31729
  Longan = tslib_1.__importStar(Longan);
31741
31730
  var PenSize;
31742
31731
  (function (PenSize) {
31743
- PenSize[PenSize["Small"] = 2] = "Small";
31744
- PenSize[PenSize["Middle"] = 4] = "Middle";
31745
- PenSize[PenSize["Large"] = 6] = "Large";
31732
+ PenSize[PenSize["Small"] = 16] = "Small";
31733
+ PenSize[PenSize["Middle"] = 20] = "Middle";
31734
+ PenSize[PenSize["Large"] = 24] = "Large";
31746
31735
  })(PenSize = exports.PenSize || (exports.PenSize = {}));
31747
31736
  var SvgDraw = function (_super) {
31748
31737
  tslib_1.__extends(SvgDraw, _super);
@@ -166067,7 +166056,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
166067
166056
  /***/ (function(module) {
166068
166057
 
166069
166058
  "use strict";
166070
- module.exports = JSON.parse('{"name":"@belife/belife-bim-air","version":"1.6.1-za.87","description":"发布的基于gs-longan的图形显示控件","main":"lib/BimAir.umd.min.js","types":"types/index.d.ts","author":"","license":"ISC","scripts":{"publish":"npm publish --registry=https://registry.npmjs.org --tag=za","publishAlpha":"npm publish --tag=alpha","publishBeta":"npm publish --tag=beta","publishBeta2":"npm publish --tag=beta2","typedoc":"typedoc --plugin typedoc-plugin-markdown"},"dependencies":{},"devDependencies":{}}');
166059
+ module.exports = JSON.parse('{"name":"@belife/belife-bim-air","version":"1.6.1-za.87.patch.6","description":"发布的基于gs-longan的图形显示控件","main":"lib/BimAir.umd.min.js","types":"types/index.d.ts","author":"","license":"ISC","scripts":{"publish":"npm publish --registry=https://registry.npmjs.org --tag=za","publishAlpha":"npm publish --tag=alpha","publishBeta":"npm publish --tag=beta","publishBeta2":"npm publish --tag=beta2","typedoc":"typedoc --plugin typedoc-plugin-markdown"},"dependencies":{},"devDependencies":{}}');
166071
166060
 
166072
166061
  /***/ }),
166073
166062
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@belife/belife-bim-air",
3
- "version": "1.6.1-za.87.patch.2",
3
+ "version": "1.6.1-za.87.patch.6",
4
4
  "description": "发布的基于gs-longan的图形显示控件",
5
5
  "main": "lib/BimAir.umd.min.js",
6
6
  "types": "types/index.d.ts",