@yuneta/gobj-ui 7.32.4 → 7.32.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.
@@ -10310,6 +10310,25 @@ function svg_mask_url(svg) {
10310
10310
  return `url("data:image/svg+xml,${encodeURIComponent(svg)}")`;
10311
10311
  }
10312
10312
  /************************************************************
10313
+ * The width of the box of an icon, in em: 1, or more for a
10314
+ * drawing wider than tall, so that it is 1em TALL like every
10315
+ * icon (yui_icons.css, "THE BOX"). Its viewBox says the ratio.
10316
+ *
10317
+ * Capped at 1.25em, the widest icon of Font Awesome: a wider
10318
+ * drawing is a logo or a banner, and a box any wider would
10319
+ * push the controls of its row aside. It is drawn smaller.
10320
+ ************************************************************/
10321
+ var USER_ICON_MAX_WIDTH = 1.25;
10322
+ function svg_icon_width(svg) {
10323
+ let m = /viewBox="([^"]*)"/.exec(String(svg || ""));
10324
+ if (!m) return 1;
10325
+ let parts = m[1].trim().split(/[\s,]+/).map(Number);
10326
+ let w = parts[2];
10327
+ let h = parts[3];
10328
+ if (!(w > 0 && h > 0) || w <= h) return 1;
10329
+ return Math.round(Math.min(w / h, USER_ICON_MAX_WIDTH) * 1e3) / 1e3;
10330
+ }
10331
+ /************************************************************
10313
10332
  * An element that shows an svg as an icon, before it is
10314
10333
  * registered (a form preview, a cell of __icons__ itself).
10315
10334
  * Return {element} or {error}.
@@ -10322,6 +10341,8 @@ function yui_svg_icon_element(svg_text) {
10322
10341
  let mask = svg_mask_url(clean.svg);
10323
10342
  el.style.setProperty("-webkit-mask-image", mask);
10324
10343
  el.style.setProperty("mask-image", mask);
10344
+ let width = svg_icon_width(clean.svg);
10345
+ if (width > 1) el.style.setProperty("width", `${width}em`);
10325
10346
  return {
10326
10347
  element: el,
10327
10348
  dropped: clean.dropped
@@ -10332,7 +10353,10 @@ function yui_svg_icon_element(svg_text) {
10332
10353
  ************************************************************/
10333
10354
  function rebuild_user_icons_stylesheet() {
10334
10355
  let css = "";
10335
- for (const [id, icon] of __user_icons__) css += `.${yui_user_icon_class(id)}::before {-webkit-mask-image: ${icon.mask}; mask-image: ${icon.mask};}\n`;
10356
+ for (const [id, icon] of __user_icons__) {
10357
+ let width = icon.width > 1 ? ` width: ${icon.width}em;` : "";
10358
+ css += `.${yui_user_icon_class(id)}::before {-webkit-mask-image: ${icon.mask}; mask-image: ${icon.mask};${width}}\n`;
10359
+ }
10336
10360
  try {
10337
10361
  let el = document.getElementById(USER_ICONS_STYLE_ID);
10338
10362
  if (!el) {
@@ -10363,7 +10387,8 @@ function user_icon_entry(node) {
10363
10387
  }
10364
10388
  return {
10365
10389
  svg: clean.svg,
10366
- mask: svg_mask_url(clean.svg)
10390
+ mask: svg_mask_url(clean.svg),
10391
+ width: svg_icon_width(clean.svg)
10367
10392
  };
10368
10393
  }
10369
10394
  /************************************************************
@@ -17222,7 +17247,7 @@ async function yui_graph_center_on(graph, node_id) {
17222
17247
  function yui_graph_refresh_item(gobj, wide) {
17223
17248
  return camera_button(gobj, "yi-arrows-rotate", "EV_REFRESH", "refresh", wide);
17224
17249
  }
17225
- // node_modules/@babel/runtime/helpers/esm/typeof.js
17250
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/typeof.js
17226
17251
  function _typeof(o) {
17227
17252
  "@babel/helpers - typeof";
17228
17253
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -17231,7 +17256,7 @@ function _typeof(o) {
17231
17256
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
17232
17257
  }, _typeof(o);
17233
17258
  }
17234
- // node_modules/@babel/runtime/helpers/esm/toPrimitive.js
17259
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
17235
17260
  function toPrimitive(t, e) {
17236
17261
  if ("object" != _typeof(t) || !t) return t;
17237
17262
  var r;
@@ -17242,12 +17267,12 @@ function toPrimitive(t, e) {
17242
17267
  }
17243
17268
  return ("string" === e ? String : Number)(t);
17244
17269
  }
17245
- // node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
17270
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
17246
17271
  function toPropertyKey(t) {
17247
17272
  var i = toPrimitive(t, "string");
17248
17273
  return "symbol" == _typeof(i) ? i : i + "";
17249
17274
  }
17250
- // node_modules/@babel/runtime/helpers/esm/defineProperty.js
17275
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/defineProperty.js
17251
17276
  function _defineProperty(e, r, t) {
17252
17277
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
17253
17278
  value: t,
@@ -17256,7 +17281,7 @@ function _defineProperty(e, r, t) {
17256
17281
  writable: !0
17257
17282
  }) : e[r] = t, e;
17258
17283
  }
17259
- // node_modules/@babel/runtime/helpers/esm/objectSpread2.js
17284
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
17260
17285
  function ownKeys(e, r) {
17261
17286
  var t = Object.keys(e);
17262
17287
  if (Object.getOwnPropertySymbols) {
@@ -17278,11 +17303,11 @@ function _objectSpread2(e) {
17278
17303
  }
17279
17304
  return e;
17280
17305
  }
17281
- // node_modules/@babel/runtime/helpers/esm/classCallCheck.js
17306
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
17282
17307
  function _classCallCheck(a, n) {
17283
17308
  if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
17284
17309
  }
17285
- // node_modules/@babel/runtime/helpers/esm/createClass.js
17310
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/createClass.js
17286
17311
  function _defineProperties(e, r) {
17287
17312
  for (var t = 0; t < r.length; t++) {
17288
17313
  var o = r[t];
@@ -17292,21 +17317,21 @@ function _defineProperties(e, r) {
17292
17317
  function _createClass(e, r, t) {
17293
17318
  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
17294
17319
  }
17295
- // node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
17320
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
17296
17321
  function _arrayLikeToArray(r, a) {
17297
17322
  (null == a || a > r.length) && (a = r.length);
17298
17323
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
17299
17324
  return n;
17300
17325
  }
17301
- // node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
17326
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
17302
17327
  function _arrayWithoutHoles(r) {
17303
17328
  if (Array.isArray(r)) return _arrayLikeToArray(r);
17304
17329
  }
17305
- // node_modules/@babel/runtime/helpers/esm/iterableToArray.js
17330
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
17306
17331
  function _iterableToArray(r) {
17307
17332
  if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
17308
17333
  }
17309
- // node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
17334
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
17310
17335
  function _unsupportedIterableToArray(r, a) {
17311
17336
  if (r) {
17312
17337
  if ("string" == typeof r) return _arrayLikeToArray(r, a);
@@ -17314,21 +17339,21 @@ function _unsupportedIterableToArray(r, a) {
17314
17339
  return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
17315
17340
  }
17316
17341
  }
17317
- // node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
17342
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
17318
17343
  function _nonIterableSpread() {
17319
17344
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17320
17345
  }
17321
- // node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
17346
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
17322
17347
  function _toConsumableArray(r) {
17323
17348
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
17324
17349
  }
17325
- // node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
17350
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
17326
17351
  function _getPrototypeOf(t) {
17327
17352
  return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
17328
17353
  return t.__proto__ || Object.getPrototypeOf(t);
17329
17354
  }, _getPrototypeOf(t);
17330
17355
  }
17331
- // node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
17356
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
17332
17357
  function _isNativeReflectConstruct() {
17333
17358
  try {
17334
17359
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
@@ -17337,28 +17362,28 @@ function _isNativeReflectConstruct() {
17337
17362
  return !!t;
17338
17363
  })();
17339
17364
  }
17340
- // node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
17365
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
17341
17366
  function _assertThisInitialized(e) {
17342
17367
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
17343
17368
  return e;
17344
17369
  }
17345
- // node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
17370
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
17346
17371
  function _possibleConstructorReturn(t, e) {
17347
17372
  if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
17348
17373
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
17349
17374
  return _assertThisInitialized(t);
17350
17375
  }
17351
- // node_modules/@babel/runtime/helpers/esm/callSuper.js
17376
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/callSuper.js
17352
17377
  function _callSuper(t, o, e) {
17353
17378
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
17354
17379
  }
17355
- // node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
17380
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
17356
17381
  function _setPrototypeOf(t, e) {
17357
17382
  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
17358
17383
  return t.__proto__ = e, t;
17359
17384
  }, _setPrototypeOf(t, e);
17360
17385
  }
17361
- // node_modules/@babel/runtime/helpers/esm/inherits.js
17386
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/inherits.js
17362
17387
  function _inherits(t, e) {
17363
17388
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
17364
17389
  t.prototype = Object.create(e && e.prototype, { constructor: {
@@ -17367,11 +17392,11 @@ function _inherits(t, e) {
17367
17392
  configurable: !0
17368
17393
  } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e);
17369
17394
  }
17370
- // node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
17395
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
17371
17396
  function _arrayWithHoles(r) {
17372
17397
  if (Array.isArray(r)) return r;
17373
17398
  }
17374
- // node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17399
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17375
17400
  function _iterableToArrayLimit(r, l) {
17376
17401
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
17377
17402
  if (null != t) {
@@ -17393,11 +17418,11 @@ function _iterableToArrayLimit(r, l) {
17393
17418
  return a;
17394
17419
  }
17395
17420
  }
17396
- // node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
17421
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
17397
17422
  function _nonIterableRest() {
17398
17423
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17399
17424
  }
17400
- // node_modules/@babel/runtime/helpers/esm/slicedToArray.js
17425
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
17401
17426
  function _slicedToArray(r, e) {
17402
17427
  return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
17403
17428
  }
@@ -17636,7 +17661,7 @@ var eventemitter3_default = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJS
17636
17661
  if ("undefined" !== typeof module) module.exports = EventEmitter;
17637
17662
  })))(), 1)).default;
17638
17663
  var ARRAY_TYPE = typeof Float32Array !== "undefined" ? Float32Array : Array;
17639
- // node_modules/gl-matrix/esm/mat3.js
17664
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/mat3.js
17640
17665
  /**
17641
17666
  * 3x3 Matrix
17642
17667
  * @module mat3
@@ -17707,7 +17732,7 @@ function fromValues$4(m00, m01, m02, m10, m11, m12, m20, m21, m22) {
17707
17732
  out[8] = m22;
17708
17733
  return out;
17709
17734
  }
17710
- // node_modules/gl-matrix/esm/mat4.js
17735
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/mat4.js
17711
17736
  var mat4_exports = /* @__PURE__ */ __exportAll({
17712
17737
  add: () => add$1,
17713
17738
  adjoint: () => adjoint,
@@ -19514,7 +19539,7 @@ var mul$1 = multiply$2;
19514
19539
  * @function
19515
19540
  */
19516
19541
  var sub$1 = subtract$1;
19517
- // node_modules/gl-matrix/esm/vec3.js
19542
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/vec3.js
19518
19543
  /**
19519
19544
  * 3 Dimensional Vector
19520
19545
  * @module vec3
@@ -19863,7 +19888,7 @@ var len = length;
19863
19888
  return a;
19864
19889
  };
19865
19890
  })();
19866
- // node_modules/gl-matrix/esm/vec4.js
19891
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/vec4.js
19867
19892
  /**
19868
19893
  * 4 Dimensional Vector
19869
19894
  * @module vec4
@@ -19989,7 +20014,7 @@ function transformMat4(out, a, m) {
19989
20014
  return a;
19990
20015
  };
19991
20016
  })();
19992
- // node_modules/gl-matrix/esm/quat.js
20017
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/quat.js
19993
20018
  /**
19994
20019
  * Quaternion in the format XYZW
19995
20020
  * @module quat
@@ -20295,7 +20320,7 @@ var normalize$1 = normalize$2;
20295
20320
  return normalize$1(out, fromMat3(out, matr));
20296
20321
  };
20297
20322
  })();
20298
- // node_modules/gl-matrix/esm/vec2.js
20323
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/gl-matrix/esm/vec2.js
20299
20324
  /**
20300
20325
  * 2 Dimensional Vector
20301
20326
  * @module vec2
@@ -20356,7 +20381,7 @@ function set(out, x, y) {
20356
20381
  return a;
20357
20382
  };
20358
20383
  })();
20359
- // node_modules/@antv/util/esm/lodash/is-function.js
20384
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-function.js
20360
20385
  /**
20361
20386
  * 判断值是否为函数
20362
20387
  * @return 是否为函数
@@ -20364,7 +20389,7 @@ function set(out, x, y) {
20364
20389
  function isFunction(value) {
20365
20390
  return typeof value === "function";
20366
20391
  }
20367
- // node_modules/@antv/util/esm/lodash/is-nil.js
20392
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-nil.js
20368
20393
  /**
20369
20394
  * 判断值是否为 null 或 undefined
20370
20395
  * @return 是否为 null 或 undefined
@@ -20372,7 +20397,7 @@ function isFunction(value) {
20372
20397
  function isNil(value) {
20373
20398
  return value === null || value === void 0;
20374
20399
  }
20375
- // node_modules/@antv/util/esm/lodash/is-array.js
20400
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-array.js
20376
20401
  /**
20377
20402
  * 判断值是否为数组
20378
20403
  * @return 是否为数组
@@ -20380,7 +20405,7 @@ function isNil(value) {
20380
20405
  function isArray(value) {
20381
20406
  return Array.isArray(value);
20382
20407
  }
20383
- // node_modules/@antv/util/esm/lodash/is-object.js
20408
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-object.js
20384
20409
  var is_object_default = (function(value) {
20385
20410
  /**
20386
20411
  * isObject({}) => true
@@ -20391,12 +20416,12 @@ var is_object_default = (function(value) {
20391
20416
  var type = typeof value;
20392
20417
  return value !== null && type === "object" || type === "function";
20393
20418
  });
20394
- // node_modules/@antv/util/esm/lodash/is-type.js
20419
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-type.js
20395
20420
  var toString = {}.toString;
20396
20421
  var isType = function(value, type) {
20397
20422
  return toString.call(value) === "[object " + type + "]";
20398
20423
  };
20399
- // node_modules/@antv/util/esm/lodash/max.js
20424
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/max.js
20400
20425
  /**
20401
20426
  * 计算数组的最大值
20402
20427
  * @param arr 数组
@@ -20410,7 +20435,7 @@ function max(arr) {
20410
20435
  for (var i = 1; i < length; i++) max = Math.max(max, arr[i]);
20411
20436
  return max;
20412
20437
  }
20413
- // node_modules/@antv/util/esm/lodash/min.js
20438
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/min.js
20414
20439
  /**
20415
20440
  * @param {Array} arr The array to iterate over.
20416
20441
  * @return {*} Returns the minimum value.
@@ -20434,7 +20459,7 @@ var min_default = (function(arr) {
20434
20459
  return Math.min(prev, curr);
20435
20460
  }, arr[0]);
20436
20461
  });
20437
- // node_modules/@antv/util/esm/lodash/is-string.js
20462
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-string.js
20438
20463
  /**
20439
20464
  * 判断值是否为字符串
20440
20465
  * @return 是否为字符串
@@ -20442,13 +20467,13 @@ var min_default = (function(arr) {
20442
20467
  function isString(value) {
20443
20468
  return typeof value === "string";
20444
20469
  }
20445
- // node_modules/@antv/util/esm/lodash/clamp.js
20470
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/clamp.js
20446
20471
  var clamp = function(a, min, max) {
20447
20472
  if (a < min) return min;
20448
20473
  else if (a > max) return max;
20449
20474
  return a;
20450
20475
  };
20451
- // node_modules/@antv/util/esm/lodash/is-number.js
20476
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-number.js
20452
20477
  /**
20453
20478
  * 判断值是否为数字
20454
20479
  * @return 是否为数字
@@ -20456,7 +20481,7 @@ var clamp = function(a, min, max) {
20456
20481
  function isNumber(value) {
20457
20482
  return typeof value === "number";
20458
20483
  }
20459
- // node_modules/@antv/util/esm/lodash/is-number-equal.js
20484
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-number-equal.js
20460
20485
  var PRECISION = 1e-5;
20461
20486
  /**
20462
20487
  * 判断两个数是否相等
@@ -20466,11 +20491,11 @@ function isNumberEqual(a, b, precision) {
20466
20491
  if (precision === void 0) precision = PRECISION;
20467
20492
  return a === b || Math.abs(a - b) < precision;
20468
20493
  }
20469
- // node_modules/@antv/util/esm/lodash/mod.js
20494
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/mod.js
20470
20495
  var mod = function(n, m) {
20471
20496
  return (n % m + m) % m;
20472
20497
  };
20473
- // node_modules/@antv/util/esm/lodash/is-boolean.js
20498
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-boolean.js
20474
20499
  /**
20475
20500
  * 是否是布尔类型
20476
20501
  *
@@ -20480,11 +20505,11 @@ var mod = function(n, m) {
20480
20505
  var isBoolean = function(value) {
20481
20506
  return isType(value, "Boolean");
20482
20507
  };
20483
- // node_modules/@antv/util/esm/lodash/is-undefined.js
20508
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/lodash/is-undefined.js
20484
20509
  var isUndefined = function(value) {
20485
20510
  return value === void 0;
20486
20511
  };
20487
- // node_modules/tslib/tslib.es6.mjs
20512
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/tslib/tslib.es6.mjs
20488
20513
  var __assign = function() {
20489
20514
  __assign = Object.assign || function __assign(t) {
20490
20515
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -20504,7 +20529,7 @@ function __spreadArray(to, from, pack) {
20504
20529
  }
20505
20530
  return to.concat(ar || Array.prototype.slice.call(from));
20506
20531
  }
20507
- // node_modules/@antv/util/esm/path/parser/params-parser.js
20532
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/params-parser.js
20508
20533
  var paramsParser = {
20509
20534
  x1: 0,
20510
20535
  y1: 0,
@@ -20515,7 +20540,7 @@ var paramsParser = {
20515
20540
  qx: null,
20516
20541
  qy: null
20517
20542
  };
20518
- // node_modules/@antv/util/esm/path/process/fix-arc.js
20543
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/fix-arc.js
20519
20544
  function fixArc(pathArray, allPathCommands, i) {
20520
20545
  if (pathArray[i].length > 7) {
20521
20546
  pathArray[i].shift();
@@ -20528,7 +20553,7 @@ function fixArc(pathArray, allPathCommands, i) {
20528
20553
  pathArray.splice(i, 1);
20529
20554
  }
20530
20555
  }
20531
- // node_modules/@antv/util/esm/path/parser/params-count.js
20556
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/params-count.js
20532
20557
  var paramsCount = {
20533
20558
  a: 7,
20534
20559
  c: 6,
@@ -20542,7 +20567,7 @@ var paramsCount = {
20542
20567
  v: 1,
20543
20568
  z: 0
20544
20569
  };
20545
- // node_modules/@antv/util/esm/path/util/is-path-array.js
20570
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-path-array.js
20546
20571
  /**
20547
20572
  * Iterates an array to check if it's an actual `PathArray`.
20548
20573
  */
@@ -20552,7 +20577,7 @@ function isPathArray(path) {
20552
20577
  return paramsCount[lk] === seg.length - 1 && "achlmqstvz".includes(lk);
20553
20578
  });
20554
20579
  }
20555
- // node_modules/@antv/util/esm/path/util/is-absolute-array.js
20580
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-absolute-array.js
20556
20581
  /**
20557
20582
  * Iterates an array to check if it's a `PathArray`
20558
20583
  * with all absolute values.
@@ -20563,7 +20588,7 @@ function isAbsoluteArray(path) {
20563
20588
  return x === x.toUpperCase();
20564
20589
  });
20565
20590
  }
20566
- // node_modules/@antv/util/esm/path/util/is-normalized-array.js
20591
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-normalized-array.js
20567
20592
  /**
20568
20593
  * Iterates an array to check if it's a `PathArray`
20569
20594
  * with all segments are in non-shorthand notation
@@ -20575,7 +20600,7 @@ function isNormalizedArray(path) {
20575
20600
  return "ACLMQZ".includes(pc);
20576
20601
  });
20577
20602
  }
20578
- // node_modules/@antv/util/esm/path/parser/finalize-segment.js
20603
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/finalize-segment.js
20579
20604
  /**
20580
20605
  * Breaks the parsing of a pathString once a segment is finalized.
20581
20606
  */
@@ -20592,7 +20617,7 @@ function finalizeSegment(path) {
20592
20617
  if (!paramsCount[LK]) break;
20593
20618
  }
20594
20619
  }
20595
- // node_modules/@antv/util/esm/path/parser/scan-flag.js
20620
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/scan-flag.js
20596
20621
  /**
20597
20622
  * Validates an A (arc-to) specific path command value.
20598
20623
  * Usually a `large-arc-flag` or `sweep-flag`.
@@ -20612,7 +20637,7 @@ function scanFlag(path) {
20612
20637
  }
20613
20638
  path.err = "[path-util]: invalid Arc flag \"".concat(pathValue[index], "\", expecting 0 or 1 at index ").concat(index);
20614
20639
  }
20615
- // node_modules/@antv/util/esm/path/parser/is-digit-start.js
20640
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-digit-start.js
20616
20641
  /**
20617
20642
  * Checks if the character is or belongs to a number.
20618
20643
  * [0-9]|+|-|.
@@ -20623,7 +20648,7 @@ function isDigitStart(code) {
20623
20648
  function isDigit(code) {
20624
20649
  return code >= 48 && code <= 57;
20625
20650
  }
20626
- // node_modules/@antv/util/esm/path/parser/scan-param.js
20651
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/scan-param.js
20627
20652
  /**
20628
20653
  * Validates every character of the path string,
20629
20654
  * every path command, negative numbers or floating point numbers.
@@ -20691,7 +20716,7 @@ function scanParam(path) {
20691
20716
  path.index = index;
20692
20717
  path.param = +path.pathValue.slice(start, index);
20693
20718
  }
20694
- // node_modules/@antv/util/esm/path/parser/is-space.js
20719
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-space.js
20695
20720
  /**
20696
20721
  * Checks if the character is a space.
20697
20722
  */
@@ -20717,7 +20742,7 @@ function isSpace(ch) {
20717
20742
  65279
20718
20743
  ].includes(ch);
20719
20744
  }
20720
- // node_modules/@antv/util/esm/path/parser/skip-spaces.js
20745
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/skip-spaces.js
20721
20746
  /**
20722
20747
  * Points the parser to the next character in the
20723
20748
  * path string every time it encounters any kind of
@@ -20727,7 +20752,7 @@ function skipSpaces(path) {
20727
20752
  var pathValue = path.pathValue, max = path.max;
20728
20753
  while (path.index < max && isSpace(pathValue.charCodeAt(path.index))) path.index += 1;
20729
20754
  }
20730
- // node_modules/@antv/util/esm/path/parser/is-path-command.js
20755
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-path-command.js
20731
20756
  /**
20732
20757
  * Checks if the character is a path command.
20733
20758
  */
@@ -20746,14 +20771,14 @@ function isPathCommand(code) {
20746
20771
  default: return false;
20747
20772
  }
20748
20773
  }
20749
- // node_modules/@antv/util/esm/path/parser/is-arc-command.js
20774
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/is-arc-command.js
20750
20775
  /**
20751
20776
  * Checks if the character is an A (arc-to) path command.
20752
20777
  */
20753
20778
  function isArcCommand(code) {
20754
20779
  return (code | 32) === 97;
20755
20780
  }
20756
- // node_modules/@antv/util/esm/path/parser/scan-segment.js
20781
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/scan-segment.js
20757
20782
  /**
20758
20783
  * Scans every character in the path string to determine
20759
20784
  * where a segment starts and where it ends.
@@ -20791,7 +20816,7 @@ function scanSegment(path) {
20791
20816
  }
20792
20817
  finalizeSegment(path);
20793
20818
  }
20794
- // node_modules/@antv/util/esm/path/parser/path-parser.js
20819
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/path-parser.js
20795
20820
  /**
20796
20821
  * The `PathParser` is used by the `parsePathString` static method
20797
20822
  * to generate a `pathArray`.
@@ -20809,7 +20834,7 @@ var PathParser = function() {
20809
20834
  }
20810
20835
  return PathParser;
20811
20836
  }();
20812
- // node_modules/@antv/util/esm/path/parser/parse-path-string.js
20837
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/parser/parse-path-string.js
20813
20838
  /**
20814
20839
  * Parses a path string value and returns an array
20815
20840
  * of segments we like to call `pathArray`.
@@ -20821,7 +20846,7 @@ function parsePathString(pathInput) {
20821
20846
  while (path.index < path.max && !path.err.length) scanSegment(path);
20822
20847
  return path.err ? path.err : path.segments;
20823
20848
  }
20824
- // node_modules/@antv/util/esm/path/convert/path-2-absolute.js
20849
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/convert/path-2-absolute.js
20825
20850
  /**
20826
20851
  * Converts a `PathArray` to an `AbsoluteArray`.
20827
20852
  */
@@ -20896,7 +20921,7 @@ function path2Absolute(pathInput) {
20896
20921
  return absoluteSegment;
20897
20922
  });
20898
20923
  }
20899
- // node_modules/@antv/util/esm/path/process/normalize-segment.js
20924
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/normalize-segment.js
20900
20925
  /**
20901
20926
  * Normalizes a single segment of a `PathArray` object.
20902
20927
  * eg. H/V -> L, T -> Q
@@ -20947,7 +20972,7 @@ function normalizeSegment(segment, params) {
20947
20972
  }
20948
20973
  return result;
20949
20974
  }
20950
- // node_modules/@antv/util/esm/path/process/normalize-path.js
20975
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/normalize-path.js
20951
20976
  /**
20952
20977
  * @example
20953
20978
  * const path = 'M0 0 H50';
@@ -20969,7 +20994,7 @@ function normalizePath(pathInput) {
20969
20994
  }
20970
20995
  return path;
20971
20996
  }
20972
- // node_modules/@antv/util/esm/path/util/is-curve-array.js
20997
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/is-curve-array.js
20973
20998
  /**
20974
20999
  * Iterates an array to check if it's a `PathArray`
20975
21000
  * with all C (cubic bezier) segments.
@@ -20983,14 +21008,14 @@ function isCurveArray(path) {
20983
21008
  return "MC".includes(pc);
20984
21009
  });
20985
21010
  }
20986
- // node_modules/@antv/util/esm/path/util/rotate-vector.js
21011
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/rotate-vector.js
20987
21012
  function rotateVector(x, y, rad) {
20988
21013
  return {
20989
21014
  x: x * Math.cos(rad) - y * Math.sin(rad),
20990
21015
  y: x * Math.sin(rad) + y * Math.cos(rad)
20991
21016
  };
20992
21017
  }
20993
- // node_modules/@antv/util/esm/path/process/arc-2-cubic.js
21018
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/arc-2-cubic.js
20994
21019
  /**
20995
21020
  * Converts A (arc-to) segments to C (cubic-bezier-to).
20996
21021
  *
@@ -21077,7 +21102,7 @@ function arcToCubic(X1, Y1, RX, RY, angle, LAF, SF, X2, Y2, recursive) {
21077
21102
  for (var i = 0, ii = res.length; i < ii; i += 1) newres[i] = i % 2 ? rotateVector(res[i - 1], res[i], rad).y : rotateVector(res[i], res[i + 1], rad).x;
21078
21103
  return newres;
21079
21104
  }
21080
- // node_modules/@antv/util/esm/path/process/quad-2-cubic.js
21105
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/quad-2-cubic.js
21081
21106
  function quadToCubic(x1, y1, qx, qy, x2, y2) {
21082
21107
  var r13 = 1 / 3;
21083
21108
  var r23 = 2 / 3;
@@ -21090,7 +21115,7 @@ function quadToCubic(x1, y1, qx, qy, x2, y2) {
21090
21115
  y2
21091
21116
  ];
21092
21117
  }
21093
- // node_modules/@antv/util/esm/path/util/mid-point.js
21118
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/mid-point.js
21094
21119
  function midPoint(a, b, t) {
21095
21120
  var ax = a[0];
21096
21121
  var ay = a[1];
@@ -21098,7 +21123,7 @@ function midPoint(a, b, t) {
21098
21123
  var by = b[1];
21099
21124
  return [ax + (bx - ax) * t, ay + (by - ay) * t];
21100
21125
  }
21101
- // node_modules/@antv/util/esm/path/process/line-2-cubic.js
21126
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/line-2-cubic.js
21102
21127
  var lineToCubic = function(x1, y1, x2, y2) {
21103
21128
  return __spreadArray(__spreadArray([], midPoint([x1, y1], [x2, y2], .5), true), [
21104
21129
  x2,
@@ -21107,7 +21132,7 @@ var lineToCubic = function(x1, y1, x2, y2) {
21107
21132
  y2
21108
21133
  ], false);
21109
21134
  };
21110
- // node_modules/@antv/util/esm/path/process/segment-2-cubic.js
21135
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/segment-2-cubic.js
21111
21136
  function segmentToCubic(segment, params) {
21112
21137
  var pathCommand = segment[0];
21113
21138
  var values = segment.slice(1).map(Number);
@@ -21146,7 +21171,7 @@ function segmentToCubic(segment, params) {
21146
21171
  }
21147
21172
  return segment;
21148
21173
  }
21149
- // node_modules/@antv/util/esm/path/convert/path-2-curve.js
21174
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/convert/path-2-curve.js
21150
21175
  function path2Curve(pathInput, needZCommandIndexes) {
21151
21176
  if (needZCommandIndexes === void 0) needZCommandIndexes = false;
21152
21177
  if (isCurveArray(pathInput)) {
@@ -21180,13 +21205,13 @@ function path2Curve(pathInput, needZCommandIndexes) {
21180
21205
  if (needZCommandIndexes) return [path, zCommandIndexes];
21181
21206
  else return path;
21182
21207
  }
21183
- // node_modules/@antv/util/esm/path/process/clone-path.js
21208
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/clone-path.js
21184
21209
  function clonePath(path) {
21185
21210
  return path.map(function(x) {
21186
21211
  return Array.isArray(x) ? [].concat(x) : x;
21187
21212
  });
21188
21213
  }
21189
- // node_modules/@antv/util/esm/path/process/reverse-curve.js
21214
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/process/reverse-curve.js
21190
21215
  function reverseCurve(pathArray) {
21191
21216
  var rotatedCurve = pathArray.slice(1).map(function(x, i, curveOnly) {
21192
21217
  return !i ? pathArray[0].slice(1).concat(x.slice(1)) : curveOnly[i - 1].slice(-2).concat(x.slice(1));
@@ -21199,11 +21224,11 @@ function reverseCurve(pathArray) {
21199
21224
  return ["C"].concat(x.slice(2));
21200
21225
  }));
21201
21226
  }
21202
- // node_modules/@antv/util/esm/path/util/distance-square-root.js
21227
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/distance-square-root.js
21203
21228
  function distanceSquareRoot(a, b) {
21204
21229
  return Math.sqrt((a[0] - b[0]) * (a[0] - b[0]) + (a[1] - b[1]) * (a[1] - b[1]));
21205
21230
  }
21206
- // node_modules/@antv/util/esm/path/util/segment-line-factory.js
21231
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-line-factory.js
21207
21232
  /**
21208
21233
  * Returns a {x,y} point at a given length, the total length and
21209
21234
  * the minimum and maximum {x,y} coordinates of a line (L,V,H,Z) segment.
@@ -21244,7 +21269,7 @@ function segmentLineFactory(x1, y1, x2, y2, distance) {
21244
21269
  }
21245
21270
  };
21246
21271
  }
21247
- // node_modules/@antv/util/esm/path/util/segment-arc-factory.js
21272
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-arc-factory.js
21248
21273
  function angleBetween$1(v0, v1) {
21249
21274
  var v0x = v0.x, v0y = v0.y;
21250
21275
  var v1x = v1.x, v1y = v1.y;
@@ -21391,7 +21416,7 @@ function segmentArcFactory(X1, Y1, RX, RY, angle, LAF, SF, X2, Y2, distance, opt
21391
21416
  }
21392
21417
  };
21393
21418
  }
21394
- // node_modules/@antv/util/esm/path/util/segment-cubic-factory.js
21419
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-cubic-factory.js
21395
21420
  /**
21396
21421
  * Returns a {x,y} point at a given length, the total length and
21397
21422
  * the minimum and maximum {x,y} coordinates of a C (cubic-bezier) segment.
@@ -21480,7 +21505,7 @@ function segmentCubicFactory(x1, y1, c1x, c1y, c2x, c2y, x2, y2, distance, optio
21480
21505
  }
21481
21506
  };
21482
21507
  }
21483
- // node_modules/@antv/util/esm/path/util/segment-quad-factory.js
21508
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/segment-quad-factory.js
21484
21509
  /**
21485
21510
  * Returns the {x,y} coordinates of a point at a
21486
21511
  * given length of a quadratic-bezier segment.
@@ -21572,7 +21597,7 @@ function segmentQuadFactory(x1, y1, qx, qy, x2, y2, distance, options) {
21572
21597
  }
21573
21598
  };
21574
21599
  }
21575
- // node_modules/@antv/util/esm/path/util/path-length-factory.js
21600
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/path-length-factory.js
21576
21601
  /**
21577
21602
  * Returns a {x,y} point at a given length
21578
21603
  * of a shape, the shape total length and
@@ -21660,7 +21685,7 @@ function pathLengthFactory(pathInput, distance, options) {
21660
21685
  }
21661
21686
  };
21662
21687
  }
21663
- // node_modules/@antv/util/esm/path/util/get-total-length.js
21688
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-total-length.js
21664
21689
  /**
21665
21690
  * Returns the shape total length, or the equivalent to `shape.getTotalLength()`.
21666
21691
  *
@@ -21673,7 +21698,7 @@ function getTotalLength(pathInput, options) {
21673
21698
  length: true
21674
21699
  })).length;
21675
21700
  }
21676
- // node_modules/@antv/util/esm/path/util/get-rotated-curve.js
21701
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-rotated-curve.js
21677
21702
  function getRotations(a) {
21678
21703
  var segCount = a.length;
21679
21704
  var pointCount = segCount - 1;
@@ -21706,7 +21731,7 @@ function getRotatedCurve(a, b) {
21706
21731
  computedIndex = lineLengths.indexOf(Math.min.apply(null, lineLengths));
21707
21732
  return rotations[computedIndex];
21708
21733
  }
21709
- // node_modules/@antv/util/esm/path/util/get-path-area.js
21734
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-path-area.js
21710
21735
  /**
21711
21736
  * Returns the area of a single cubic-bezier segment.
21712
21737
  *
@@ -21741,11 +21766,11 @@ function getPathArea(path) {
21741
21766
  return a + b;
21742
21767
  }, 0);
21743
21768
  }
21744
- // node_modules/@antv/util/esm/path/util/get-draw-direction.js
21769
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-draw-direction.js
21745
21770
  function getDrawDirection(pathArray) {
21746
21771
  return getPathArea(pathArray) >= 0;
21747
21772
  }
21748
- // node_modules/@antv/util/esm/path/util/get-point-at-length.js
21773
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/get-point-at-length.js
21749
21774
  /**
21750
21775
  * Returns [x,y] coordinates of a point at a given length of a shape.
21751
21776
  */
@@ -21755,7 +21780,7 @@ function getPointAtLength(pathInput, distance, options) {
21755
21780
  length: true
21756
21781
  })).point;
21757
21782
  }
21758
- // node_modules/@antv/util/esm/path/util/equalize-segments.js
21783
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/util/esm/path/util/equalize-segments.js
21759
21784
  var MAX_RECURSION_DEPTH = 50;
21760
21785
  function splitCubic(pts, t) {
21761
21786
  if (t === void 0) t = .5;
@@ -21826,12 +21851,12 @@ function equalizeSegments(path1, path2, TL, depth) {
21826
21851
  });
21827
21852
  return result[0].length === result[1].length ? result : equalizeSegments(result[0], result[1], tl, depth + 1);
21828
21853
  }
21829
- // node_modules/@babel/runtime/helpers/esm/superPropBase.js
21854
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/superPropBase.js
21830
21855
  function _superPropBase(t, o) {
21831
21856
  for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t)););
21832
21857
  return t;
21833
21858
  }
21834
- // node_modules/@babel/runtime/helpers/esm/get.js
21859
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/get.js
21835
21860
  function _get() {
21836
21861
  return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(e, t, r) {
21837
21862
  var p = _superPropBase(e, t);
@@ -21841,14 +21866,14 @@ function _get() {
21841
21866
  }
21842
21867
  }, _get.apply(null, arguments);
21843
21868
  }
21844
- // node_modules/@babel/runtime/helpers/esm/superPropGet.js
21869
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/superPropGet.js
21845
21870
  function _superPropGet(t, o, e, r) {
21846
21871
  var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e);
21847
21872
  return 2 & r && "function" == typeof p ? function(t) {
21848
21873
  return p.apply(e, t);
21849
21874
  } : p;
21850
21875
  }
21851
- // node_modules/@antv/g-math/dist/index.esm.js
21876
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/g-math/dist/index.esm.js
21852
21877
  /*!
21853
21878
  * @antv/g-math
21854
21879
  * @description Geometry util
@@ -22005,11 +22030,11 @@ function box(x1, y1, x2, y2, x3, y3) {
22005
22030
  if (yExtrema !== void 0) yArr.push(quadraticAt(y1, y2, y3, yExtrema));
22006
22031
  return getBBoxByArray(xArr, yArr);
22007
22032
  }
22008
- // node_modules/@babel/runtime/helpers/esm/OverloadYield.js
22033
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/OverloadYield.js
22009
22034
  function _OverloadYield(e, d) {
22010
22035
  this.v = e, this.k = d;
22011
22036
  }
22012
- // node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
22037
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js
22013
22038
  function _regeneratorDefine(e, r, n, t) {
22014
22039
  var i = Object.defineProperty;
22015
22040
  try {
@@ -22031,7 +22056,7 @@ function _regeneratorDefine(e, r, n, t) {
22031
22056
  }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
22032
22057
  }, _regeneratorDefine(e, r, n, t);
22033
22058
  }
22034
- // node_modules/@babel/runtime/helpers/esm/regenerator.js
22059
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regenerator.js
22035
22060
  function _regenerator() {
22036
22061
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
22037
22062
  var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag";
@@ -22104,7 +22129,7 @@ function _regenerator() {
22104
22129
  };
22105
22130
  })();
22106
22131
  }
22107
- // node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js
22132
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js
22108
22133
  function AsyncIterator$1(t, e) {
22109
22134
  function n(r, o, i, f) {
22110
22135
  try {
@@ -22134,18 +22159,18 @@ function AsyncIterator$1(t, e) {
22134
22159
  return r = r ? r.then(f, f) : f();
22135
22160
  }, !0);
22136
22161
  }
22137
- // node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js
22162
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js
22138
22163
  function _regeneratorAsyncGen(r, e, t, o, n) {
22139
22164
  return new AsyncIterator$1(_regenerator().w(r, e, t, o), n || Promise);
22140
22165
  }
22141
- // node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js
22166
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js
22142
22167
  function _regeneratorAsync(n, e, r, t, o) {
22143
22168
  var a = _regeneratorAsyncGen(n, e, r, t, o);
22144
22169
  return a.next().then(function(n) {
22145
22170
  return n.done ? n.value : a.next();
22146
22171
  });
22147
22172
  }
22148
- // node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js
22173
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js
22149
22174
  function _regeneratorKeys(e) {
22150
22175
  var n = Object(e), r = [];
22151
22176
  for (var t in n) r.unshift(t);
@@ -22154,7 +22179,7 @@ function _regeneratorKeys(e) {
22154
22179
  return e.done = !0, e;
22155
22180
  };
22156
22181
  }
22157
- // node_modules/@babel/runtime/helpers/esm/regeneratorValues.js
22182
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js
22158
22183
  function _regeneratorValues(e) {
22159
22184
  if (null != e) {
22160
22185
  var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], r = 0;
@@ -22169,7 +22194,7 @@ function _regeneratorValues(e) {
22169
22194
  }
22170
22195
  throw new TypeError(_typeof(e) + " is not iterable");
22171
22196
  }
22172
- // node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
22197
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
22173
22198
  function _regeneratorRuntime() {
22174
22199
  "use strict";
22175
22200
  var r = _regenerator(), e = r.m(_regeneratorRuntime), t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
@@ -22236,7 +22261,7 @@ function _regeneratorRuntime() {
22236
22261
  };
22237
22262
  })();
22238
22263
  }
22239
- // node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
22264
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
22240
22265
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
22241
22266
  try {
22242
22267
  var i = n[a](c), u = i.value;
@@ -22261,7 +22286,7 @@ function _asyncToGenerator(n) {
22261
22286
  });
22262
22287
  };
22263
22288
  }
22264
- // node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
22289
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
22265
22290
  function _createForOfIteratorHelper(r, e) {
22266
22291
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
22267
22292
  if (!t) {
@@ -22305,7 +22330,7 @@ function _createForOfIteratorHelper(r, e) {
22305
22330
  }
22306
22331
  };
22307
22332
  }
22308
- // node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
22333
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
22309
22334
  function _objectWithoutPropertiesLoose(r, e) {
22310
22335
  if (null == r) return {};
22311
22336
  var t = {};
@@ -22315,7 +22340,7 @@ function _objectWithoutPropertiesLoose(r, e) {
22315
22340
  }
22316
22341
  return t;
22317
22342
  }
22318
- // node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
22343
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
22319
22344
  function _objectWithoutProperties(e, t) {
22320
22345
  if (null == e) return {};
22321
22346
  var o, r, i = _objectWithoutPropertiesLoose(e, t);
@@ -22325,7 +22350,7 @@ function _objectWithoutProperties(e, t) {
22325
22350
  }
22326
22351
  return i;
22327
22352
  }
22328
- // node_modules/@antv/g-lite/dist/index.esm.js
22353
+ // ../../../../../../yuneta/development/yunetas/kernel/js/gobj-ui/node_modules/@antv/g-lite/dist/index.esm.js
22329
22354
  /*!
22330
22355
  * @antv/g-lite
22331
22356
  * @description A core module for rendering engine implements DOM API.
@@ -62499,8 +62524,8 @@ function create_tabulator(gobj) {
62499
62524
  } catch (e) {
62500
62525
  total = n;
62501
62526
  }
62502
- if (typeof total === "number" && total > n) $rc.textContent = `${n} / ${total} ${t("rows")}`;
62503
- else $rc.textContent = `${n} ${t("rows")}`;
62527
+ if (typeof total === "number" && total > n) $rc.textContent = `${n} / ${total} ${t("rows", { count: total })}`;
62528
+ else $rc.textContent = `${n} ${t("rows", { count: n })}`;
62504
62529
  }
62505
62530
  tabulator.on("columnsLoaded", function() {
62506
62531
  yui_tabulator_name_filters(tabulator, t);