@teselagen/ui 0.4.5 → 0.4.7
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/index.cjs.js +183 -150
- package/index.es.js +183 -150
- package/package.json +1 -3
- package/src/DataTable/DisplayOptions.js +2 -2
- package/src/DataTable/PagingTool.js +2 -2
- package/src/DataTable/dataTableEnhancer.js +2 -2
- package/src/DataTable/utils/rowClick.js +2 -2
- package/src/TgSelect/index.js +5 -1
- package/src/style.css +6 -0
- package/src/utils/menuUtils.js +9 -3
- package/style.css +6 -1
package/index.cjs.js
CHANGED
|
@@ -2834,7 +2834,7 @@ var followCursor = {
|
|
|
2834
2834
|
}
|
|
2835
2835
|
}
|
|
2836
2836
|
__name(onMouseMove, "onMouseMove");
|
|
2837
|
-
function
|
|
2837
|
+
function create5() {
|
|
2838
2838
|
if (instance.props.followCursor) {
|
|
2839
2839
|
activeInstances.push({
|
|
2840
2840
|
instance,
|
|
@@ -2843,7 +2843,7 @@ var followCursor = {
|
|
|
2843
2843
|
addMouseCoordsListener(doc);
|
|
2844
2844
|
}
|
|
2845
2845
|
}
|
|
2846
|
-
__name(
|
|
2846
|
+
__name(create5, "create");
|
|
2847
2847
|
function destroy() {
|
|
2848
2848
|
activeInstances = activeInstances.filter(function(data) {
|
|
2849
2849
|
return data.instance !== instance;
|
|
@@ -2856,7 +2856,7 @@ var followCursor = {
|
|
|
2856
2856
|
}
|
|
2857
2857
|
__name(destroy, "destroy");
|
|
2858
2858
|
return {
|
|
2859
|
-
onCreate:
|
|
2859
|
+
onCreate: create5,
|
|
2860
2860
|
onDestroy: destroy,
|
|
2861
2861
|
onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
|
|
2862
2862
|
prevProps = instance.props;
|
|
@@ -2869,7 +2869,7 @@ var followCursor = {
|
|
|
2869
2869
|
if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
|
|
2870
2870
|
destroy();
|
|
2871
2871
|
if (followCursor2) {
|
|
2872
|
-
|
|
2872
|
+
create5();
|
|
2873
2873
|
if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
|
|
2874
2874
|
addListener();
|
|
2875
2875
|
}
|
|
@@ -14095,10 +14095,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
14095
14095
|
value
|
|
14096
14096
|
};
|
|
14097
14097
|
}, "_propertyDesc");
|
|
14098
|
-
var dP$
|
|
14098
|
+
var dP$1 = require_objectDp();
|
|
14099
14099
|
var createDesc$3 = _propertyDesc;
|
|
14100
14100
|
var _hide = require_descriptors() ? function(object2, key, value) {
|
|
14101
|
-
return dP$
|
|
14101
|
+
return dP$1.f(object2, key, createDesc$3(1, value));
|
|
14102
14102
|
} : function(object2, key, value) {
|
|
14103
14103
|
object2[key] = value;
|
|
14104
14104
|
return object2;
|
|
@@ -14112,7 +14112,7 @@ var core$3 = _coreExports;
|
|
|
14112
14112
|
var ctx$1 = _ctx;
|
|
14113
14113
|
var hide$2 = _hide;
|
|
14114
14114
|
var has$b = _has;
|
|
14115
|
-
var PROTOTYPE$
|
|
14115
|
+
var PROTOTYPE$1 = "prototype";
|
|
14116
14116
|
var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
14117
14117
|
var IS_FORCED = type2 & $export$8.F;
|
|
14118
14118
|
var IS_GLOBAL = type2 & $export$8.G;
|
|
@@ -14121,8 +14121,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
|
14121
14121
|
var IS_BIND = type2 & $export$8.B;
|
|
14122
14122
|
var IS_WRAP = type2 & $export$8.W;
|
|
14123
14123
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
|
|
14124
|
-
var expProto = exports2[PROTOTYPE$
|
|
14125
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$
|
|
14124
|
+
var expProto = exports2[PROTOTYPE$1];
|
|
14125
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$1];
|
|
14126
14126
|
var key, own2, out;
|
|
14127
14127
|
if (IS_GLOBAL)
|
|
14128
14128
|
source = name;
|
|
@@ -14146,7 +14146,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
|
14146
14146
|
}
|
|
14147
14147
|
return C.apply(this, arguments);
|
|
14148
14148
|
}, "F");
|
|
14149
|
-
F[PROTOTYPE$
|
|
14149
|
+
F[PROTOTYPE$1] = C[PROTOTYPE$1];
|
|
14150
14150
|
return F;
|
|
14151
14151
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
14152
14152
|
if (IS_PROTO) {
|
|
@@ -14260,14 +14260,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
|
|
|
14260
14260
|
var has$a = _has;
|
|
14261
14261
|
var toIObject$4 = _toIobject;
|
|
14262
14262
|
var arrayIndexOf = _arrayIncludes(false);
|
|
14263
|
-
var IE_PROTO$
|
|
14263
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
14264
14264
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
14265
14265
|
var O2 = toIObject$4(object2);
|
|
14266
14266
|
var i = 0;
|
|
14267
14267
|
var result = [];
|
|
14268
14268
|
var key;
|
|
14269
14269
|
for (key in O2)
|
|
14270
|
-
if (key != IE_PROTO$
|
|
14270
|
+
if (key != IE_PROTO$1)
|
|
14271
14271
|
has$a(O2, key) && result.push(key);
|
|
14272
14272
|
while (names2.length > i)
|
|
14273
14273
|
if (has$a(O2, key = names2[i++])) {
|
|
@@ -14277,9 +14277,9 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
|
14277
14277
|
}, "_objectKeysInternal");
|
|
14278
14278
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
14279
14279
|
var $keys$3 = _objectKeysInternal;
|
|
14280
|
-
var enumBugKeys
|
|
14280
|
+
var enumBugKeys = _enumBugKeys;
|
|
14281
14281
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
14282
|
-
return $keys$3(O2, enumBugKeys
|
|
14282
|
+
return $keys$3(O2, enumBugKeys);
|
|
14283
14283
|
}, "keys");
|
|
14284
14284
|
var _objectGops = {};
|
|
14285
14285
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -14369,19 +14369,28 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
14369
14369
|
}, "_iterStep");
|
|
14370
14370
|
var _iterators = {};
|
|
14371
14371
|
var _redefine = _hide;
|
|
14372
|
-
var
|
|
14373
|
-
var
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
var
|
|
14379
|
-
var
|
|
14380
|
-
var
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14372
|
+
var _objectDps;
|
|
14373
|
+
var hasRequired_objectDps;
|
|
14374
|
+
function require_objectDps() {
|
|
14375
|
+
if (hasRequired_objectDps)
|
|
14376
|
+
return _objectDps;
|
|
14377
|
+
hasRequired_objectDps = 1;
|
|
14378
|
+
var dP2 = require_objectDp();
|
|
14379
|
+
var anObject2 = _anObject;
|
|
14380
|
+
var getKeys2 = _objectKeys;
|
|
14381
|
+
_objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties) {
|
|
14382
|
+
anObject2(O2);
|
|
14383
|
+
var keys3 = getKeys2(Properties);
|
|
14384
|
+
var length = keys3.length;
|
|
14385
|
+
var i = 0;
|
|
14386
|
+
var P2;
|
|
14387
|
+
while (length > i)
|
|
14388
|
+
dP2.f(O2, P2 = keys3[i++], Properties[P2]);
|
|
14389
|
+
return O2;
|
|
14390
|
+
}, "defineProperties");
|
|
14391
|
+
return _objectDps;
|
|
14392
|
+
}
|
|
14393
|
+
__name(require_objectDps, "require_objectDps");
|
|
14385
14394
|
var _html;
|
|
14386
14395
|
var hasRequired_html;
|
|
14387
14396
|
function require_html() {
|
|
@@ -14393,42 +14402,51 @@ function require_html() {
|
|
|
14393
14402
|
return _html;
|
|
14394
14403
|
}
|
|
14395
14404
|
__name(require_html, "require_html");
|
|
14396
|
-
var
|
|
14397
|
-
var
|
|
14398
|
-
|
|
14399
|
-
|
|
14400
|
-
|
|
14401
|
-
|
|
14402
|
-
var
|
|
14403
|
-
var
|
|
14404
|
-
var
|
|
14405
|
-
var
|
|
14406
|
-
var
|
|
14407
|
-
|
|
14408
|
-
var
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14414
|
-
|
|
14415
|
-
|
|
14416
|
-
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14425
|
-
|
|
14426
|
-
|
|
14427
|
-
|
|
14428
|
-
|
|
14429
|
-
|
|
14430
|
-
|
|
14431
|
-
|
|
14405
|
+
var _objectCreate;
|
|
14406
|
+
var hasRequired_objectCreate;
|
|
14407
|
+
function require_objectCreate() {
|
|
14408
|
+
if (hasRequired_objectCreate)
|
|
14409
|
+
return _objectCreate;
|
|
14410
|
+
hasRequired_objectCreate = 1;
|
|
14411
|
+
var anObject2 = _anObject;
|
|
14412
|
+
var dPs = require_objectDps();
|
|
14413
|
+
var enumBugKeys2 = _enumBugKeys;
|
|
14414
|
+
var IE_PROTO2 = _sharedKey("IE_PROTO");
|
|
14415
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
14416
|
+
}, "Empty");
|
|
14417
|
+
var PROTOTYPE2 = "prototype";
|
|
14418
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
14419
|
+
var iframe = require_domCreate()("iframe");
|
|
14420
|
+
var i = enumBugKeys2.length;
|
|
14421
|
+
var lt = "<";
|
|
14422
|
+
var gt = ">";
|
|
14423
|
+
var iframeDocument;
|
|
14424
|
+
iframe.style.display = "none";
|
|
14425
|
+
require_html().appendChild(iframe);
|
|
14426
|
+
iframe.src = "javascript:";
|
|
14427
|
+
iframeDocument = iframe.contentWindow.document;
|
|
14428
|
+
iframeDocument.open();
|
|
14429
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
14430
|
+
iframeDocument.close();
|
|
14431
|
+
createDict = iframeDocument.F;
|
|
14432
|
+
while (i--)
|
|
14433
|
+
delete createDict[PROTOTYPE2][enumBugKeys2[i]];
|
|
14434
|
+
return createDict();
|
|
14435
|
+
}, "createDict");
|
|
14436
|
+
_objectCreate = Object.create || /* @__PURE__ */ __name(function create5(O2, Properties) {
|
|
14437
|
+
var result;
|
|
14438
|
+
if (O2 !== null) {
|
|
14439
|
+
Empty[PROTOTYPE2] = anObject2(O2);
|
|
14440
|
+
result = new Empty();
|
|
14441
|
+
Empty[PROTOTYPE2] = null;
|
|
14442
|
+
result[IE_PROTO2] = O2;
|
|
14443
|
+
} else
|
|
14444
|
+
result = createDict();
|
|
14445
|
+
return Properties === void 0 ? result : dPs(result, Properties);
|
|
14446
|
+
}, "create");
|
|
14447
|
+
return _objectCreate;
|
|
14448
|
+
}
|
|
14449
|
+
__name(require_objectCreate, "require_objectCreate");
|
|
14432
14450
|
var _wks = { exports: {} };
|
|
14433
14451
|
var store = _sharedExports("wks");
|
|
14434
14452
|
var uid$1 = _uid;
|
|
@@ -14446,7 +14464,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
|
14446
14464
|
if (it && !has$9(it = stat ? it : it.prototype, TAG$1))
|
|
14447
14465
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
14448
14466
|
}, "_setToStringTag");
|
|
14449
|
-
var create$3 =
|
|
14467
|
+
var create$3 = require_objectCreate();
|
|
14450
14468
|
var descriptor = _propertyDesc;
|
|
14451
14469
|
var setToStringTag$2 = _setToStringTag;
|
|
14452
14470
|
var IteratorPrototype = {};
|
|
@@ -14854,7 +14872,7 @@ function _interopRequireDefault$e(obj) {
|
|
|
14854
14872
|
}
|
|
14855
14873
|
__name(_interopRequireDefault$e, "_interopRequireDefault$e");
|
|
14856
14874
|
var _default$7 = /* @__PURE__ */ function() {
|
|
14857
|
-
function
|
|
14875
|
+
function defineProperties2(target, props) {
|
|
14858
14876
|
for (var i = 0; i < props.length; i++) {
|
|
14859
14877
|
var descriptor2 = props[i];
|
|
14860
14878
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -14864,12 +14882,12 @@ var _default$7 = /* @__PURE__ */ function() {
|
|
|
14864
14882
|
(0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
|
|
14865
14883
|
}
|
|
14866
14884
|
}
|
|
14867
|
-
__name(
|
|
14885
|
+
__name(defineProperties2, "defineProperties");
|
|
14868
14886
|
return function(Constructor, protoProps, staticProps) {
|
|
14869
14887
|
if (protoProps)
|
|
14870
|
-
|
|
14888
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
14871
14889
|
if (staticProps)
|
|
14872
|
-
|
|
14890
|
+
defineProperties2(Constructor, staticProps);
|
|
14873
14891
|
return Constructor;
|
|
14874
14892
|
};
|
|
14875
14893
|
}();
|
|
@@ -14898,23 +14916,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
14898
14916
|
// weak collections IDs
|
|
14899
14917
|
} });
|
|
14900
14918
|
}, "setMeta");
|
|
14901
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
14919
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create5) {
|
|
14902
14920
|
if (!isObject$b(it))
|
|
14903
14921
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
14904
14922
|
if (!has$7(it, META$1)) {
|
|
14905
14923
|
if (!isExtensible(it))
|
|
14906
14924
|
return "F";
|
|
14907
|
-
if (!
|
|
14925
|
+
if (!create5)
|
|
14908
14926
|
return "E";
|
|
14909
14927
|
setMeta(it);
|
|
14910
14928
|
}
|
|
14911
14929
|
return it[META$1].i;
|
|
14912
14930
|
}, "fastKey");
|
|
14913
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
14931
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create5) {
|
|
14914
14932
|
if (!has$7(it, META$1)) {
|
|
14915
14933
|
if (!isExtensible(it))
|
|
14916
14934
|
return true;
|
|
14917
|
-
if (!
|
|
14935
|
+
if (!create5)
|
|
14918
14936
|
return false;
|
|
14919
14937
|
setMeta(it);
|
|
14920
14938
|
}
|
|
@@ -15023,7 +15041,7 @@ var toObject$1 = _toObject;
|
|
|
15023
15041
|
var toIObject = _toIobject;
|
|
15024
15042
|
var toPrimitive = _toPrimitive;
|
|
15025
15043
|
var createDesc = _propertyDesc;
|
|
15026
|
-
var _create$1 =
|
|
15044
|
+
var _create$1 = require_objectCreate();
|
|
15027
15045
|
var gOPNExt = _objectGopnExt;
|
|
15028
15046
|
var $GOPD = _objectGopd;
|
|
15029
15047
|
var $GOPS = _objectGops;
|
|
@@ -15090,7 +15108,7 @@ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key,
|
|
|
15090
15108
|
}
|
|
15091
15109
|
return dP(it, key, D2);
|
|
15092
15110
|
}, "defineProperty");
|
|
15093
|
-
var $defineProperties = /* @__PURE__ */ __name(function
|
|
15111
|
+
var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2) {
|
|
15094
15112
|
anObject(it);
|
|
15095
15113
|
var keys3 = enumKeys(P2 = toIObject(P2));
|
|
15096
15114
|
var i = 0;
|
|
@@ -15100,7 +15118,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2
|
|
|
15100
15118
|
$defineProperty$2(it, key = keys3[i++], P2[key]);
|
|
15101
15119
|
return it;
|
|
15102
15120
|
}, "defineProperties");
|
|
15103
|
-
var $create = /* @__PURE__ */ __name(function
|
|
15121
|
+
var $create = /* @__PURE__ */ __name(function create(it, P2) {
|
|
15104
15122
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
15105
15123
|
}, "create");
|
|
15106
15124
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -15330,9 +15348,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
|
15330
15348
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
15331
15349
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
15332
15350
|
var $export = _export;
|
|
15333
|
-
$export($export.S, "Object", { create:
|
|
15351
|
+
$export($export.S, "Object", { create: require_objectCreate() });
|
|
15334
15352
|
var $Object$1 = _coreExports.Object;
|
|
15335
|
-
var create$2 = /* @__PURE__ */ __name(function
|
|
15353
|
+
var create$2 = /* @__PURE__ */ __name(function create2(P2, D2) {
|
|
15336
15354
|
return $Object$1.create(P2, D2);
|
|
15337
15355
|
}, "create");
|
|
15338
15356
|
var create$1 = { "default": create$2, __esModule: true };
|
|
@@ -19417,7 +19435,7 @@ function normalizeComponent(Comp) {
|
|
|
19417
19435
|
}
|
|
19418
19436
|
__name(normalizeComponent, "normalizeComponent");
|
|
19419
19437
|
var _createClass$c = /* @__PURE__ */ function() {
|
|
19420
|
-
function
|
|
19438
|
+
function defineProperties2(target, props) {
|
|
19421
19439
|
for (var i = 0; i < props.length; i++) {
|
|
19422
19440
|
var descriptor2 = props[i];
|
|
19423
19441
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19427,12 +19445,12 @@ var _createClass$c = /* @__PURE__ */ function() {
|
|
|
19427
19445
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19428
19446
|
}
|
|
19429
19447
|
}
|
|
19430
|
-
__name(
|
|
19448
|
+
__name(defineProperties2, "defineProperties");
|
|
19431
19449
|
return function(Constructor, protoProps, staticProps) {
|
|
19432
19450
|
if (protoProps)
|
|
19433
|
-
|
|
19451
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
19434
19452
|
if (staticProps)
|
|
19435
|
-
|
|
19453
|
+
defineProperties2(Constructor, staticProps);
|
|
19436
19454
|
return Constructor;
|
|
19437
19455
|
};
|
|
19438
19456
|
}();
|
|
@@ -19593,7 +19611,7 @@ var _extends$l = Object.assign || function(target) {
|
|
|
19593
19611
|
return target;
|
|
19594
19612
|
};
|
|
19595
19613
|
var _createClass$b = /* @__PURE__ */ function() {
|
|
19596
|
-
function
|
|
19614
|
+
function defineProperties2(target, props) {
|
|
19597
19615
|
for (var i = 0; i < props.length; i++) {
|
|
19598
19616
|
var descriptor2 = props[i];
|
|
19599
19617
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19603,12 +19621,12 @@ var _createClass$b = /* @__PURE__ */ function() {
|
|
|
19603
19621
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19604
19622
|
}
|
|
19605
19623
|
}
|
|
19606
|
-
__name(
|
|
19624
|
+
__name(defineProperties2, "defineProperties");
|
|
19607
19625
|
return function(Constructor, protoProps, staticProps) {
|
|
19608
19626
|
if (protoProps)
|
|
19609
|
-
|
|
19627
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
19610
19628
|
if (staticProps)
|
|
19611
|
-
|
|
19629
|
+
defineProperties2(Constructor, staticProps);
|
|
19612
19630
|
return Constructor;
|
|
19613
19631
|
};
|
|
19614
19632
|
}();
|
|
@@ -20199,7 +20217,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
|
|
|
20199
20217
|
}(Base);
|
|
20200
20218
|
}, "Methods");
|
|
20201
20219
|
var _createClass$a = /* @__PURE__ */ function() {
|
|
20202
|
-
function
|
|
20220
|
+
function defineProperties2(target, props) {
|
|
20203
20221
|
for (var i = 0; i < props.length; i++) {
|
|
20204
20222
|
var descriptor2 = props[i];
|
|
20205
20223
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20209,12 +20227,12 @@ var _createClass$a = /* @__PURE__ */ function() {
|
|
|
20209
20227
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20210
20228
|
}
|
|
20211
20229
|
}
|
|
20212
|
-
__name(
|
|
20230
|
+
__name(defineProperties2, "defineProperties");
|
|
20213
20231
|
return function(Constructor, protoProps, staticProps) {
|
|
20214
20232
|
if (protoProps)
|
|
20215
|
-
|
|
20233
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
20216
20234
|
if (staticProps)
|
|
20217
|
-
|
|
20235
|
+
defineProperties2(Constructor, staticProps);
|
|
20218
20236
|
return Constructor;
|
|
20219
20237
|
};
|
|
20220
20238
|
}();
|
|
@@ -20986,7 +21004,7 @@ var _extends$i = Object.assign || function(target) {
|
|
|
20986
21004
|
return target;
|
|
20987
21005
|
};
|
|
20988
21006
|
var _createClass$9 = /* @__PURE__ */ function() {
|
|
20989
|
-
function
|
|
21007
|
+
function defineProperties2(target, props) {
|
|
20990
21008
|
for (var i = 0; i < props.length; i++) {
|
|
20991
21009
|
var descriptor2 = props[i];
|
|
20992
21010
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20996,12 +21014,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
|
|
|
20996
21014
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20997
21015
|
}
|
|
20998
21016
|
}
|
|
20999
|
-
__name(
|
|
21017
|
+
__name(defineProperties2, "defineProperties");
|
|
21000
21018
|
return function(Constructor, protoProps, staticProps) {
|
|
21001
21019
|
if (protoProps)
|
|
21002
|
-
|
|
21020
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
21003
21021
|
if (staticProps)
|
|
21004
|
-
|
|
21022
|
+
defineProperties2(Constructor, staticProps);
|
|
21005
21023
|
return Constructor;
|
|
21006
21024
|
};
|
|
21007
21025
|
}();
|
|
@@ -27325,21 +27343,21 @@ function parse$5(options) {
|
|
|
27325
27343
|
defined: [],
|
|
27326
27344
|
lazy: {},
|
|
27327
27345
|
constructs: constructs2,
|
|
27328
|
-
content:
|
|
27329
|
-
document:
|
|
27330
|
-
flow:
|
|
27331
|
-
string:
|
|
27332
|
-
text:
|
|
27346
|
+
content: create5(content$1),
|
|
27347
|
+
document: create5(document$2),
|
|
27348
|
+
flow: create5(flow$1),
|
|
27349
|
+
string: create5(string$1),
|
|
27350
|
+
text: create5(text$3)
|
|
27333
27351
|
};
|
|
27334
27352
|
return parser;
|
|
27335
|
-
function
|
|
27353
|
+
function create5(initial) {
|
|
27336
27354
|
return creator;
|
|
27337
27355
|
function creator(from3) {
|
|
27338
27356
|
return createTokenizer(parser, initial, from3);
|
|
27339
27357
|
}
|
|
27340
27358
|
__name(creator, "creator");
|
|
27341
27359
|
}
|
|
27342
|
-
__name(
|
|
27360
|
+
__name(create5, "create");
|
|
27343
27361
|
}
|
|
27344
27362
|
__name(parse$5, "parse$5");
|
|
27345
27363
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -27750,10 +27768,10 @@ function compiler(options) {
|
|
|
27750
27768
|
return data[key];
|
|
27751
27769
|
}
|
|
27752
27770
|
__name(getData, "getData");
|
|
27753
|
-
function opener(
|
|
27771
|
+
function opener(create5, and) {
|
|
27754
27772
|
return open2;
|
|
27755
27773
|
function open2(token) {
|
|
27756
|
-
enter.call(this,
|
|
27774
|
+
enter.call(this, create5(token), token);
|
|
27757
27775
|
if (and)
|
|
27758
27776
|
and.call(this, token);
|
|
27759
27777
|
}
|
|
@@ -29514,7 +29532,7 @@ function mark(values2, key, value) {
|
|
|
29514
29532
|
}
|
|
29515
29533
|
__name(mark, "mark");
|
|
29516
29534
|
const own$3 = {}.hasOwnProperty;
|
|
29517
|
-
function
|
|
29535
|
+
function create3(definition2) {
|
|
29518
29536
|
const property2 = {};
|
|
29519
29537
|
const normal = {};
|
|
29520
29538
|
let prop;
|
|
@@ -29537,8 +29555,8 @@ function create4(definition2) {
|
|
|
29537
29555
|
}
|
|
29538
29556
|
return new Schema(property2, normal, definition2.space);
|
|
29539
29557
|
}
|
|
29540
|
-
__name(
|
|
29541
|
-
const xlink =
|
|
29558
|
+
__name(create3, "create");
|
|
29559
|
+
const xlink = create3({
|
|
29542
29560
|
space: "xlink",
|
|
29543
29561
|
transform(_2, prop) {
|
|
29544
29562
|
return "xlink:" + prop.slice(5).toLowerCase();
|
|
@@ -29553,7 +29571,7 @@ const xlink = create4({
|
|
|
29553
29571
|
xLinkType: null
|
|
29554
29572
|
}
|
|
29555
29573
|
});
|
|
29556
|
-
const xml =
|
|
29574
|
+
const xml = create3({
|
|
29557
29575
|
space: "xml",
|
|
29558
29576
|
transform(_2, prop) {
|
|
29559
29577
|
return "xml:" + prop.slice(3).toLowerCase();
|
|
@@ -29568,13 +29586,13 @@ function caseInsensitiveTransform(attributes, property2) {
|
|
|
29568
29586
|
return caseSensitiveTransform(attributes, property2.toLowerCase());
|
|
29569
29587
|
}
|
|
29570
29588
|
__name(caseInsensitiveTransform, "caseInsensitiveTransform");
|
|
29571
|
-
const xmlns =
|
|
29589
|
+
const xmlns = create3({
|
|
29572
29590
|
space: "xmlns",
|
|
29573
29591
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
29574
29592
|
transform: caseInsensitiveTransform,
|
|
29575
29593
|
properties: { xmlns: null, xmlnsXLink: null }
|
|
29576
29594
|
});
|
|
29577
|
-
const aria =
|
|
29595
|
+
const aria = create3({
|
|
29578
29596
|
transform(_2, prop) {
|
|
29579
29597
|
return prop === "role" ? prop : "aria-" + prop.slice(4).toLowerCase();
|
|
29580
29598
|
},
|
|
@@ -29630,7 +29648,7 @@ const aria = create4({
|
|
|
29630
29648
|
role: null
|
|
29631
29649
|
}
|
|
29632
29650
|
});
|
|
29633
|
-
const html$1 =
|
|
29651
|
+
const html$1 = create3({
|
|
29634
29652
|
space: "html",
|
|
29635
29653
|
attributes: {
|
|
29636
29654
|
acceptcharset: "accept-charset",
|
|
@@ -29990,7 +30008,7 @@ const html$1 = create4({
|
|
|
29990
30008
|
unselectable: null
|
|
29991
30009
|
}
|
|
29992
30010
|
});
|
|
29993
|
-
const svg$1 =
|
|
30011
|
+
const svg$1 = create3({
|
|
29994
30012
|
space: "svg",
|
|
29995
30013
|
attributes: {
|
|
29996
30014
|
accentHeight: "accent-height",
|
|
@@ -35951,6 +35969,7 @@ const _TgSelect = class _TgSelect extends React$1.Component {
|
|
|
35951
35969
|
};
|
|
35952
35970
|
}
|
|
35953
35971
|
render() {
|
|
35972
|
+
var _b2;
|
|
35954
35973
|
const _a2 = this.props, {
|
|
35955
35974
|
multi,
|
|
35956
35975
|
options,
|
|
@@ -35961,6 +35980,7 @@ const _TgSelect = class _TgSelect extends React$1.Component {
|
|
|
35961
35980
|
tagInputProps: tagInputProps,
|
|
35962
35981
|
autoFocus,
|
|
35963
35982
|
autoOpen,
|
|
35983
|
+
mustHaveQueryToOpen,
|
|
35964
35984
|
noResultsText,
|
|
35965
35985
|
noResults: _noResults,
|
|
35966
35986
|
inputProps,
|
|
@@ -35984,6 +36004,7 @@ const _TgSelect = class _TgSelect extends React$1.Component {
|
|
|
35984
36004
|
"tagInputProps",
|
|
35985
36005
|
"autoFocus",
|
|
35986
36006
|
"autoOpen",
|
|
36007
|
+
"mustHaveQueryToOpen",
|
|
35987
36008
|
"noResultsText",
|
|
35988
36009
|
"noResults",
|
|
35989
36010
|
"inputProps",
|
|
@@ -36000,6 +36021,7 @@ const _TgSelect = class _TgSelect extends React$1.Component {
|
|
|
36000
36021
|
let noResults = _noResults;
|
|
36001
36022
|
if (noResults === void 0)
|
|
36002
36023
|
noResults = noResultsDefault;
|
|
36024
|
+
const hasQuery = ((_b2 = this.state.query) == null ? void 0 : _b2.length) > 0;
|
|
36003
36025
|
const hasValue = Array.isArray(value) ? value.length > 0 : !!value || value === 0;
|
|
36004
36026
|
const rightElement = isLoading ? /* @__PURE__ */ React$1.createElement(core$5.Button, { loading: true, minimal: true }) : /* @__PURE__ */ React$1.createElement("span", null, additionalRightEl, hasValue && !disallowClear && !disabled && /* @__PURE__ */ React$1.createElement(
|
|
36005
36027
|
core$5.Button,
|
|
@@ -36052,7 +36074,7 @@ const _TgSelect = class _TgSelect extends React$1.Component {
|
|
|
36052
36074
|
wrapperTagName: "div",
|
|
36053
36075
|
canEscapeKeyClose: true,
|
|
36054
36076
|
onInteraction: this.onInteraction,
|
|
36055
|
-
isOpen: this.state.isOpen,
|
|
36077
|
+
isOpen: mustHaveQueryToOpen ? hasQuery && this.state.isOpen : this.state.isOpen,
|
|
36056
36078
|
modifiers: popoverOverflowModifiers
|
|
36057
36079
|
}, popoverProps),
|
|
36058
36080
|
onItemSelect: this.handleItemSelect,
|
|
@@ -36745,11 +36767,11 @@ var implementation$1 = /* @__PURE__ */ __name(function bind(that) {
|
|
|
36745
36767
|
}
|
|
36746
36768
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
36747
36769
|
if (target.prototype) {
|
|
36748
|
-
var
|
|
36770
|
+
var Empty = /* @__PURE__ */ __name(function Empty2() {
|
|
36749
36771
|
}, "Empty");
|
|
36750
|
-
|
|
36751
|
-
bound.prototype = new
|
|
36752
|
-
|
|
36772
|
+
Empty.prototype = target.prototype;
|
|
36773
|
+
bound.prototype = new Empty();
|
|
36774
|
+
Empty.prototype = null;
|
|
36753
36775
|
}
|
|
36754
36776
|
return bound;
|
|
36755
36777
|
}, "bind");
|
|
@@ -41109,7 +41131,7 @@ var _extends$c = Object.assign || function(target) {
|
|
|
41109
41131
|
return target;
|
|
41110
41132
|
};
|
|
41111
41133
|
var _createClass$8 = /* @__PURE__ */ function() {
|
|
41112
|
-
function
|
|
41134
|
+
function defineProperties2(target, props) {
|
|
41113
41135
|
for (var i = 0; i < props.length; i++) {
|
|
41114
41136
|
var descriptor2 = props[i];
|
|
41115
41137
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41119,12 +41141,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
|
|
|
41119
41141
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41120
41142
|
}
|
|
41121
41143
|
}
|
|
41122
|
-
__name(
|
|
41144
|
+
__name(defineProperties2, "defineProperties");
|
|
41123
41145
|
return function(Constructor, protoProps, staticProps) {
|
|
41124
41146
|
if (protoProps)
|
|
41125
|
-
|
|
41147
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41126
41148
|
if (staticProps)
|
|
41127
|
-
|
|
41149
|
+
defineProperties2(Constructor, staticProps);
|
|
41128
41150
|
return Constructor;
|
|
41129
41151
|
};
|
|
41130
41152
|
}();
|
|
@@ -41266,7 +41288,7 @@ var Alpha = function(_ref) {
|
|
|
41266
41288
|
return Alpha2;
|
|
41267
41289
|
}(React$1.PureComponent || React$1.Component);
|
|
41268
41290
|
var _createClass$7 = /* @__PURE__ */ function() {
|
|
41269
|
-
function
|
|
41291
|
+
function defineProperties2(target, props) {
|
|
41270
41292
|
for (var i = 0; i < props.length; i++) {
|
|
41271
41293
|
var descriptor2 = props[i];
|
|
41272
41294
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41276,12 +41298,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
|
|
|
41276
41298
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41277
41299
|
}
|
|
41278
41300
|
}
|
|
41279
|
-
__name(
|
|
41301
|
+
__name(defineProperties2, "defineProperties");
|
|
41280
41302
|
return function(Constructor, protoProps, staticProps) {
|
|
41281
41303
|
if (protoProps)
|
|
41282
|
-
|
|
41304
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41283
41305
|
if (staticProps)
|
|
41284
|
-
|
|
41306
|
+
defineProperties2(Constructor, staticProps);
|
|
41285
41307
|
return Constructor;
|
|
41286
41308
|
};
|
|
41287
41309
|
}();
|
|
@@ -41514,7 +41536,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
|
|
|
41514
41536
|
return null;
|
|
41515
41537
|
}, "calculateChange");
|
|
41516
41538
|
var _createClass$6 = /* @__PURE__ */ function() {
|
|
41517
|
-
function
|
|
41539
|
+
function defineProperties2(target, props) {
|
|
41518
41540
|
for (var i = 0; i < props.length; i++) {
|
|
41519
41541
|
var descriptor2 = props[i];
|
|
41520
41542
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41524,12 +41546,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
|
|
|
41524
41546
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41525
41547
|
}
|
|
41526
41548
|
}
|
|
41527
|
-
__name(
|
|
41549
|
+
__name(defineProperties2, "defineProperties");
|
|
41528
41550
|
return function(Constructor, protoProps, staticProps) {
|
|
41529
41551
|
if (protoProps)
|
|
41530
|
-
|
|
41552
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41531
41553
|
if (staticProps)
|
|
41532
|
-
|
|
41554
|
+
defineProperties2(Constructor, staticProps);
|
|
41533
41555
|
return Constructor;
|
|
41534
41556
|
};
|
|
41535
41557
|
}();
|
|
@@ -41766,7 +41788,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
|
|
|
41766
41788
|
};
|
|
41767
41789
|
}, "calculateChange");
|
|
41768
41790
|
var _createClass$5 = /* @__PURE__ */ function() {
|
|
41769
|
-
function
|
|
41791
|
+
function defineProperties2(target, props) {
|
|
41770
41792
|
for (var i = 0; i < props.length; i++) {
|
|
41771
41793
|
var descriptor2 = props[i];
|
|
41772
41794
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41776,12 +41798,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
|
|
|
41776
41798
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41777
41799
|
}
|
|
41778
41800
|
}
|
|
41779
|
-
__name(
|
|
41801
|
+
__name(defineProperties2, "defineProperties");
|
|
41780
41802
|
return function(Constructor, protoProps, staticProps) {
|
|
41781
41803
|
if (protoProps)
|
|
41782
|
-
|
|
41804
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41783
41805
|
if (staticProps)
|
|
41784
|
-
|
|
41806
|
+
defineProperties2(Constructor, staticProps);
|
|
41785
41807
|
return Constructor;
|
|
41786
41808
|
};
|
|
41787
41809
|
}();
|
|
@@ -43019,7 +43041,7 @@ var _extends$b = Object.assign || function(target) {
|
|
|
43019
43041
|
return target;
|
|
43020
43042
|
};
|
|
43021
43043
|
var _createClass$4 = /* @__PURE__ */ function() {
|
|
43022
|
-
function
|
|
43044
|
+
function defineProperties2(target, props) {
|
|
43023
43045
|
for (var i = 0; i < props.length; i++) {
|
|
43024
43046
|
var descriptor2 = props[i];
|
|
43025
43047
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43029,12 +43051,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
|
|
|
43029
43051
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43030
43052
|
}
|
|
43031
43053
|
}
|
|
43032
|
-
__name(
|
|
43054
|
+
__name(defineProperties2, "defineProperties");
|
|
43033
43055
|
return function(Constructor, protoProps, staticProps) {
|
|
43034
43056
|
if (protoProps)
|
|
43035
|
-
|
|
43057
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43036
43058
|
if (staticProps)
|
|
43037
|
-
|
|
43059
|
+
defineProperties2(Constructor, staticProps);
|
|
43038
43060
|
return Constructor;
|
|
43039
43061
|
};
|
|
43040
43062
|
}();
|
|
@@ -43131,7 +43153,7 @@ var _extends$a = Object.assign || function(target) {
|
|
|
43131
43153
|
return target;
|
|
43132
43154
|
};
|
|
43133
43155
|
var _createClass$3 = /* @__PURE__ */ function() {
|
|
43134
|
-
function
|
|
43156
|
+
function defineProperties2(target, props) {
|
|
43135
43157
|
for (var i = 0; i < props.length; i++) {
|
|
43136
43158
|
var descriptor2 = props[i];
|
|
43137
43159
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43141,12 +43163,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
|
|
|
43141
43163
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43142
43164
|
}
|
|
43143
43165
|
}
|
|
43144
|
-
__name(
|
|
43166
|
+
__name(defineProperties2, "defineProperties");
|
|
43145
43167
|
return function(Constructor, protoProps, staticProps) {
|
|
43146
43168
|
if (protoProps)
|
|
43147
|
-
|
|
43169
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43148
43170
|
if (staticProps)
|
|
43149
|
-
|
|
43171
|
+
defineProperties2(Constructor, staticProps);
|
|
43150
43172
|
return Constructor;
|
|
43151
43173
|
};
|
|
43152
43174
|
}();
|
|
@@ -43627,7 +43649,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
|
|
|
43627
43649
|
);
|
|
43628
43650
|
};
|
|
43629
43651
|
var _createClass$2 = /* @__PURE__ */ function() {
|
|
43630
|
-
function
|
|
43652
|
+
function defineProperties2(target, props) {
|
|
43631
43653
|
for (var i = 0; i < props.length; i++) {
|
|
43632
43654
|
var descriptor2 = props[i];
|
|
43633
43655
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43637,12 +43659,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
|
|
|
43637
43659
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43638
43660
|
}
|
|
43639
43661
|
}
|
|
43640
|
-
__name(
|
|
43662
|
+
__name(defineProperties2, "defineProperties");
|
|
43641
43663
|
return function(Constructor, protoProps, staticProps) {
|
|
43642
43664
|
if (protoProps)
|
|
43643
|
-
|
|
43665
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43644
43666
|
if (staticProps)
|
|
43645
|
-
|
|
43667
|
+
defineProperties2(Constructor, staticProps);
|
|
43646
43668
|
return Constructor;
|
|
43647
43669
|
};
|
|
43648
43670
|
}();
|
|
@@ -45052,7 +45074,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
|
|
|
45052
45074
|
);
|
|
45053
45075
|
}, "PhotoshopPreviews");
|
|
45054
45076
|
var _createClass$1 = /* @__PURE__ */ function() {
|
|
45055
|
-
function
|
|
45077
|
+
function defineProperties2(target, props) {
|
|
45056
45078
|
for (var i = 0; i < props.length; i++) {
|
|
45057
45079
|
var descriptor2 = props[i];
|
|
45058
45080
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -45062,12 +45084,12 @@ var _createClass$1 = /* @__PURE__ */ function() {
|
|
|
45062
45084
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
45063
45085
|
}
|
|
45064
45086
|
}
|
|
45065
|
-
__name(
|
|
45087
|
+
__name(defineProperties2, "defineProperties");
|
|
45066
45088
|
return function(Constructor, protoProps, staticProps) {
|
|
45067
45089
|
if (protoProps)
|
|
45068
|
-
|
|
45090
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
45069
45091
|
if (staticProps)
|
|
45070
|
-
|
|
45092
|
+
defineProperties2(Constructor, staticProps);
|
|
45071
45093
|
return Constructor;
|
|
45072
45094
|
};
|
|
45073
45095
|
}();
|
|
@@ -69617,7 +69639,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
69617
69639
|
this.cache[key] = value;
|
|
69618
69640
|
};
|
|
69619
69641
|
var cacheDefault = {
|
|
69620
|
-
create: /* @__PURE__ */ __name(function
|
|
69642
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
69621
69643
|
return new ObjectWithoutPrototypeCache();
|
|
69622
69644
|
}, "create")
|
|
69623
69645
|
};
|
|
@@ -70944,11 +70966,22 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React$
|
|
|
70944
70966
|
};
|
|
70945
70967
|
__name(_ResizableDraggableDialog, "ResizableDraggableDialog");
|
|
70946
70968
|
let ResizableDraggableDialog = _ResizableDraggableDialog;
|
|
70947
|
-
function MenuItemLink({ text: text2, onClick, icon, navTo }) {
|
|
70969
|
+
function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
|
|
70948
70970
|
const handleLinkClick = /* @__PURE__ */ __name((e2) => {
|
|
70949
70971
|
e2.target.closest(`.${core$5.Classes.POPOVER_DISMISS}`).click();
|
|
70950
70972
|
}, "handleLinkClick");
|
|
70951
|
-
return /* @__PURE__ */ React$1.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$1.createElement(
|
|
70973
|
+
return /* @__PURE__ */ React$1.createElement("li", { className: core$5.Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$1.createElement(
|
|
70974
|
+
Link,
|
|
70975
|
+
{
|
|
70976
|
+
onClick: handleLinkClick,
|
|
70977
|
+
to: navTo,
|
|
70978
|
+
className: classNames(core$5.Classes.MENU_ITEM, {
|
|
70979
|
+
[core$5.Classes.ACTIVE]: active3
|
|
70980
|
+
})
|
|
70981
|
+
},
|
|
70982
|
+
icon && /* @__PURE__ */ React$1.createElement(core$5.Icon, { icon }),
|
|
70983
|
+
/* @__PURE__ */ React$1.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)
|
|
70984
|
+
));
|
|
70952
70985
|
}
|
|
70953
70986
|
__name(MenuItemLink, "MenuItemLink");
|
|
70954
70987
|
const EnhancedMenuItem = compose(
|