@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.es.js
CHANGED
|
@@ -2816,7 +2816,7 @@ var followCursor = {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
2818
2818
|
__name(onMouseMove, "onMouseMove");
|
|
2819
|
-
function
|
|
2819
|
+
function create5() {
|
|
2820
2820
|
if (instance.props.followCursor) {
|
|
2821
2821
|
activeInstances.push({
|
|
2822
2822
|
instance,
|
|
@@ -2825,7 +2825,7 @@ var followCursor = {
|
|
|
2825
2825
|
addMouseCoordsListener(doc);
|
|
2826
2826
|
}
|
|
2827
2827
|
}
|
|
2828
|
-
__name(
|
|
2828
|
+
__name(create5, "create");
|
|
2829
2829
|
function destroy2() {
|
|
2830
2830
|
activeInstances = activeInstances.filter(function(data) {
|
|
2831
2831
|
return data.instance !== instance;
|
|
@@ -2838,7 +2838,7 @@ var followCursor = {
|
|
|
2838
2838
|
}
|
|
2839
2839
|
__name(destroy2, "destroy");
|
|
2840
2840
|
return {
|
|
2841
|
-
onCreate:
|
|
2841
|
+
onCreate: create5,
|
|
2842
2842
|
onDestroy: destroy2,
|
|
2843
2843
|
onBeforeUpdate: /* @__PURE__ */ __name(function onBeforeUpdate2() {
|
|
2844
2844
|
prevProps = instance.props;
|
|
@@ -2851,7 +2851,7 @@ var followCursor = {
|
|
|
2851
2851
|
if (followCursor2 !== void 0 && prevProps.followCursor !== followCursor2) {
|
|
2852
2852
|
destroy2();
|
|
2853
2853
|
if (followCursor2) {
|
|
2854
|
-
|
|
2854
|
+
create5();
|
|
2855
2855
|
if (instance.state.isMounted && !wasFocusEvent && !getIsInitialBehavior()) {
|
|
2856
2856
|
addListener();
|
|
2857
2857
|
}
|
|
@@ -14077,10 +14077,10 @@ var _propertyDesc = /* @__PURE__ */ __name(function(bitmap, value) {
|
|
|
14077
14077
|
value
|
|
14078
14078
|
};
|
|
14079
14079
|
}, "_propertyDesc");
|
|
14080
|
-
var dP$
|
|
14080
|
+
var dP$1 = require_objectDp();
|
|
14081
14081
|
var createDesc$3 = _propertyDesc;
|
|
14082
14082
|
var _hide = require_descriptors() ? function(object2, key, value) {
|
|
14083
|
-
return dP$
|
|
14083
|
+
return dP$1.f(object2, key, createDesc$3(1, value));
|
|
14084
14084
|
} : function(object2, key, value) {
|
|
14085
14085
|
object2[key] = value;
|
|
14086
14086
|
return object2;
|
|
@@ -14094,7 +14094,7 @@ var core$3 = _coreExports;
|
|
|
14094
14094
|
var ctx$1 = _ctx;
|
|
14095
14095
|
var hide$2 = _hide;
|
|
14096
14096
|
var has$b = _has;
|
|
14097
|
-
var PROTOTYPE$
|
|
14097
|
+
var PROTOTYPE$1 = "prototype";
|
|
14098
14098
|
var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
14099
14099
|
var IS_FORCED = type2 & $export$8.F;
|
|
14100
14100
|
var IS_GLOBAL = type2 & $export$8.G;
|
|
@@ -14103,8 +14103,8 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
|
14103
14103
|
var IS_BIND = type2 & $export$8.B;
|
|
14104
14104
|
var IS_WRAP = type2 & $export$8.W;
|
|
14105
14105
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name] || (core$3[name] = {});
|
|
14106
|
-
var expProto = exports2[PROTOTYPE$
|
|
14107
|
-
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$
|
|
14106
|
+
var expProto = exports2[PROTOTYPE$1];
|
|
14107
|
+
var target = IS_GLOBAL ? global$4 : IS_STATIC ? global$4[name] : (global$4[name] || {})[PROTOTYPE$1];
|
|
14108
14108
|
var key, own2, out;
|
|
14109
14109
|
if (IS_GLOBAL)
|
|
14110
14110
|
source = name;
|
|
@@ -14128,7 +14128,7 @@ var $export$8 = /* @__PURE__ */ __name(function(type2, name, source) {
|
|
|
14128
14128
|
}
|
|
14129
14129
|
return C.apply(this, arguments);
|
|
14130
14130
|
}, "F");
|
|
14131
|
-
F[PROTOTYPE$
|
|
14131
|
+
F[PROTOTYPE$1] = C[PROTOTYPE$1];
|
|
14132
14132
|
return F;
|
|
14133
14133
|
}(out) : IS_PROTO && typeof out == "function" ? ctx$1(Function.call, out) : out;
|
|
14134
14134
|
if (IS_PROTO) {
|
|
@@ -14242,14 +14242,14 @@ var _sharedKey = /* @__PURE__ */ __name(function(key) {
|
|
|
14242
14242
|
var has$a = _has;
|
|
14243
14243
|
var toIObject$4 = _toIobject;
|
|
14244
14244
|
var arrayIndexOf = _arrayIncludes(false);
|
|
14245
|
-
var IE_PROTO$
|
|
14245
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
|
14246
14246
|
var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
14247
14247
|
var O2 = toIObject$4(object2);
|
|
14248
14248
|
var i = 0;
|
|
14249
14249
|
var result = [];
|
|
14250
14250
|
var key;
|
|
14251
14251
|
for (key in O2)
|
|
14252
|
-
if (key != IE_PROTO$
|
|
14252
|
+
if (key != IE_PROTO$1)
|
|
14253
14253
|
has$a(O2, key) && result.push(key);
|
|
14254
14254
|
while (names2.length > i)
|
|
14255
14255
|
if (has$a(O2, key = names2[i++])) {
|
|
@@ -14259,9 +14259,9 @@ var _objectKeysInternal = /* @__PURE__ */ __name(function(object2, names2) {
|
|
|
14259
14259
|
}, "_objectKeysInternal");
|
|
14260
14260
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
14261
14261
|
var $keys$3 = _objectKeysInternal;
|
|
14262
|
-
var enumBugKeys
|
|
14262
|
+
var enumBugKeys = _enumBugKeys;
|
|
14263
14263
|
var _objectKeys = Object.keys || /* @__PURE__ */ __name(function keys(O2) {
|
|
14264
|
-
return $keys$3(O2, enumBugKeys
|
|
14264
|
+
return $keys$3(O2, enumBugKeys);
|
|
14265
14265
|
}, "keys");
|
|
14266
14266
|
var _objectGops = {};
|
|
14267
14267
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
@@ -14351,19 +14351,28 @@ var _iterStep = /* @__PURE__ */ __name(function(done, value) {
|
|
|
14351
14351
|
}, "_iterStep");
|
|
14352
14352
|
var _iterators = {};
|
|
14353
14353
|
var _redefine = _hide;
|
|
14354
|
-
var
|
|
14355
|
-
var
|
|
14356
|
-
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
var
|
|
14361
|
-
var
|
|
14362
|
-
var
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14354
|
+
var _objectDps;
|
|
14355
|
+
var hasRequired_objectDps;
|
|
14356
|
+
function require_objectDps() {
|
|
14357
|
+
if (hasRequired_objectDps)
|
|
14358
|
+
return _objectDps;
|
|
14359
|
+
hasRequired_objectDps = 1;
|
|
14360
|
+
var dP2 = require_objectDp();
|
|
14361
|
+
var anObject2 = _anObject;
|
|
14362
|
+
var getKeys2 = _objectKeys;
|
|
14363
|
+
_objectDps = require_descriptors() ? Object.defineProperties : /* @__PURE__ */ __name(function defineProperties2(O2, Properties) {
|
|
14364
|
+
anObject2(O2);
|
|
14365
|
+
var keys3 = getKeys2(Properties);
|
|
14366
|
+
var length = keys3.length;
|
|
14367
|
+
var i = 0;
|
|
14368
|
+
var P2;
|
|
14369
|
+
while (length > i)
|
|
14370
|
+
dP2.f(O2, P2 = keys3[i++], Properties[P2]);
|
|
14371
|
+
return O2;
|
|
14372
|
+
}, "defineProperties");
|
|
14373
|
+
return _objectDps;
|
|
14374
|
+
}
|
|
14375
|
+
__name(require_objectDps, "require_objectDps");
|
|
14367
14376
|
var _html;
|
|
14368
14377
|
var hasRequired_html;
|
|
14369
14378
|
function require_html() {
|
|
@@ -14375,42 +14384,51 @@ function require_html() {
|
|
|
14375
14384
|
return _html;
|
|
14376
14385
|
}
|
|
14377
14386
|
__name(require_html, "require_html");
|
|
14378
|
-
var
|
|
14379
|
-
var
|
|
14380
|
-
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
var
|
|
14385
|
-
var
|
|
14386
|
-
var
|
|
14387
|
-
var
|
|
14388
|
-
var
|
|
14389
|
-
|
|
14390
|
-
var
|
|
14391
|
-
|
|
14392
|
-
|
|
14393
|
-
|
|
14394
|
-
|
|
14395
|
-
|
|
14396
|
-
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
|
|
14400
|
-
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14387
|
+
var _objectCreate;
|
|
14388
|
+
var hasRequired_objectCreate;
|
|
14389
|
+
function require_objectCreate() {
|
|
14390
|
+
if (hasRequired_objectCreate)
|
|
14391
|
+
return _objectCreate;
|
|
14392
|
+
hasRequired_objectCreate = 1;
|
|
14393
|
+
var anObject2 = _anObject;
|
|
14394
|
+
var dPs = require_objectDps();
|
|
14395
|
+
var enumBugKeys2 = _enumBugKeys;
|
|
14396
|
+
var IE_PROTO2 = _sharedKey("IE_PROTO");
|
|
14397
|
+
var Empty = /* @__PURE__ */ __name(function() {
|
|
14398
|
+
}, "Empty");
|
|
14399
|
+
var PROTOTYPE2 = "prototype";
|
|
14400
|
+
var createDict = /* @__PURE__ */ __name(function() {
|
|
14401
|
+
var iframe = require_domCreate()("iframe");
|
|
14402
|
+
var i = enumBugKeys2.length;
|
|
14403
|
+
var lt = "<";
|
|
14404
|
+
var gt = ">";
|
|
14405
|
+
var iframeDocument;
|
|
14406
|
+
iframe.style.display = "none";
|
|
14407
|
+
require_html().appendChild(iframe);
|
|
14408
|
+
iframe.src = "javascript:";
|
|
14409
|
+
iframeDocument = iframe.contentWindow.document;
|
|
14410
|
+
iframeDocument.open();
|
|
14411
|
+
iframeDocument.write(lt + "script" + gt + "document.F=Object" + lt + "/script" + gt);
|
|
14412
|
+
iframeDocument.close();
|
|
14413
|
+
createDict = iframeDocument.F;
|
|
14414
|
+
while (i--)
|
|
14415
|
+
delete createDict[PROTOTYPE2][enumBugKeys2[i]];
|
|
14416
|
+
return createDict();
|
|
14417
|
+
}, "createDict");
|
|
14418
|
+
_objectCreate = Object.create || /* @__PURE__ */ __name(function create5(O2, Properties) {
|
|
14419
|
+
var result;
|
|
14420
|
+
if (O2 !== null) {
|
|
14421
|
+
Empty[PROTOTYPE2] = anObject2(O2);
|
|
14422
|
+
result = new Empty();
|
|
14423
|
+
Empty[PROTOTYPE2] = null;
|
|
14424
|
+
result[IE_PROTO2] = O2;
|
|
14425
|
+
} else
|
|
14426
|
+
result = createDict();
|
|
14427
|
+
return Properties === void 0 ? result : dPs(result, Properties);
|
|
14428
|
+
}, "create");
|
|
14429
|
+
return _objectCreate;
|
|
14430
|
+
}
|
|
14431
|
+
__name(require_objectCreate, "require_objectCreate");
|
|
14414
14432
|
var _wks = { exports: {} };
|
|
14415
14433
|
var store = _sharedExports("wks");
|
|
14416
14434
|
var uid$1 = _uid;
|
|
@@ -14428,7 +14446,7 @@ var _setToStringTag = /* @__PURE__ */ __name(function(it, tag, stat) {
|
|
|
14428
14446
|
if (it && !has$9(it = stat ? it : it.prototype, TAG$1))
|
|
14429
14447
|
def(it, TAG$1, { configurable: true, value: tag });
|
|
14430
14448
|
}, "_setToStringTag");
|
|
14431
|
-
var create$3 =
|
|
14449
|
+
var create$3 = require_objectCreate();
|
|
14432
14450
|
var descriptor = _propertyDesc;
|
|
14433
14451
|
var setToStringTag$2 = _setToStringTag;
|
|
14434
14452
|
var IteratorPrototype = {};
|
|
@@ -14836,7 +14854,7 @@ function _interopRequireDefault$e(obj) {
|
|
|
14836
14854
|
}
|
|
14837
14855
|
__name(_interopRequireDefault$e, "_interopRequireDefault$e");
|
|
14838
14856
|
var _default$7 = /* @__PURE__ */ function() {
|
|
14839
|
-
function
|
|
14857
|
+
function defineProperties2(target, props) {
|
|
14840
14858
|
for (var i = 0; i < props.length; i++) {
|
|
14841
14859
|
var descriptor2 = props[i];
|
|
14842
14860
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -14846,12 +14864,12 @@ var _default$7 = /* @__PURE__ */ function() {
|
|
|
14846
14864
|
(0, _defineProperty2.default)(target, descriptor2.key, descriptor2);
|
|
14847
14865
|
}
|
|
14848
14866
|
}
|
|
14849
|
-
__name(
|
|
14867
|
+
__name(defineProperties2, "defineProperties");
|
|
14850
14868
|
return function(Constructor, protoProps, staticProps) {
|
|
14851
14869
|
if (protoProps)
|
|
14852
|
-
|
|
14870
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
14853
14871
|
if (staticProps)
|
|
14854
|
-
|
|
14872
|
+
defineProperties2(Constructor, staticProps);
|
|
14855
14873
|
return Constructor;
|
|
14856
14874
|
};
|
|
14857
14875
|
}();
|
|
@@ -14880,23 +14898,23 @@ var setMeta = /* @__PURE__ */ __name(function(it) {
|
|
|
14880
14898
|
// weak collections IDs
|
|
14881
14899
|
} });
|
|
14882
14900
|
}, "setMeta");
|
|
14883
|
-
var fastKey = /* @__PURE__ */ __name(function(it,
|
|
14901
|
+
var fastKey = /* @__PURE__ */ __name(function(it, create5) {
|
|
14884
14902
|
if (!isObject$b(it))
|
|
14885
14903
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
|
14886
14904
|
if (!has$7(it, META$1)) {
|
|
14887
14905
|
if (!isExtensible(it))
|
|
14888
14906
|
return "F";
|
|
14889
|
-
if (!
|
|
14907
|
+
if (!create5)
|
|
14890
14908
|
return "E";
|
|
14891
14909
|
setMeta(it);
|
|
14892
14910
|
}
|
|
14893
14911
|
return it[META$1].i;
|
|
14894
14912
|
}, "fastKey");
|
|
14895
|
-
var getWeak = /* @__PURE__ */ __name(function(it,
|
|
14913
|
+
var getWeak = /* @__PURE__ */ __name(function(it, create5) {
|
|
14896
14914
|
if (!has$7(it, META$1)) {
|
|
14897
14915
|
if (!isExtensible(it))
|
|
14898
14916
|
return true;
|
|
14899
|
-
if (!
|
|
14917
|
+
if (!create5)
|
|
14900
14918
|
return false;
|
|
14901
14919
|
setMeta(it);
|
|
14902
14920
|
}
|
|
@@ -15005,7 +15023,7 @@ var toObject$1 = _toObject;
|
|
|
15005
15023
|
var toIObject = _toIobject;
|
|
15006
15024
|
var toPrimitive = _toPrimitive;
|
|
15007
15025
|
var createDesc = _propertyDesc;
|
|
15008
|
-
var _create$1 =
|
|
15026
|
+
var _create$1 = require_objectCreate();
|
|
15009
15027
|
var gOPNExt = _objectGopnExt;
|
|
15010
15028
|
var $GOPD = _objectGopd;
|
|
15011
15029
|
var $GOPS = _objectGops;
|
|
@@ -15072,7 +15090,7 @@ var $defineProperty$2 = /* @__PURE__ */ __name(function defineProperty3(it, key,
|
|
|
15072
15090
|
}
|
|
15073
15091
|
return dP(it, key, D2);
|
|
15074
15092
|
}, "defineProperty");
|
|
15075
|
-
var $defineProperties = /* @__PURE__ */ __name(function
|
|
15093
|
+
var $defineProperties = /* @__PURE__ */ __name(function defineProperties(it, P2) {
|
|
15076
15094
|
anObject(it);
|
|
15077
15095
|
var keys3 = enumKeys(P2 = toIObject(P2));
|
|
15078
15096
|
var i = 0;
|
|
@@ -15082,7 +15100,7 @@ var $defineProperties = /* @__PURE__ */ __name(function defineProperties2(it, P2
|
|
|
15082
15100
|
$defineProperty$2(it, key = keys3[i++], P2[key]);
|
|
15083
15101
|
return it;
|
|
15084
15102
|
}, "defineProperties");
|
|
15085
|
-
var $create = /* @__PURE__ */ __name(function
|
|
15103
|
+
var $create = /* @__PURE__ */ __name(function create(it, P2) {
|
|
15086
15104
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
|
15087
15105
|
}, "create");
|
|
15088
15106
|
var $propertyIsEnumerable = /* @__PURE__ */ __name(function propertyIsEnumerable(key) {
|
|
@@ -15312,9 +15330,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
|
15312
15330
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf;
|
|
15313
15331
|
var setPrototypeOf = { "default": setPrototypeOf$1, __esModule: true };
|
|
15314
15332
|
var $export = _export;
|
|
15315
|
-
$export($export.S, "Object", { create:
|
|
15333
|
+
$export($export.S, "Object", { create: require_objectCreate() });
|
|
15316
15334
|
var $Object$1 = _coreExports.Object;
|
|
15317
|
-
var create$2 = /* @__PURE__ */ __name(function
|
|
15335
|
+
var create$2 = /* @__PURE__ */ __name(function create2(P2, D2) {
|
|
15318
15336
|
return $Object$1.create(P2, D2);
|
|
15319
15337
|
}, "create");
|
|
15320
15338
|
var create$1 = { "default": create$2, __esModule: true };
|
|
@@ -19399,7 +19417,7 @@ function normalizeComponent(Comp) {
|
|
|
19399
19417
|
}
|
|
19400
19418
|
__name(normalizeComponent, "normalizeComponent");
|
|
19401
19419
|
var _createClass$c = /* @__PURE__ */ function() {
|
|
19402
|
-
function
|
|
19420
|
+
function defineProperties2(target, props) {
|
|
19403
19421
|
for (var i = 0; i < props.length; i++) {
|
|
19404
19422
|
var descriptor2 = props[i];
|
|
19405
19423
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19409,12 +19427,12 @@ var _createClass$c = /* @__PURE__ */ function() {
|
|
|
19409
19427
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19410
19428
|
}
|
|
19411
19429
|
}
|
|
19412
|
-
__name(
|
|
19430
|
+
__name(defineProperties2, "defineProperties");
|
|
19413
19431
|
return function(Constructor, protoProps, staticProps) {
|
|
19414
19432
|
if (protoProps)
|
|
19415
|
-
|
|
19433
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
19416
19434
|
if (staticProps)
|
|
19417
|
-
|
|
19435
|
+
defineProperties2(Constructor, staticProps);
|
|
19418
19436
|
return Constructor;
|
|
19419
19437
|
};
|
|
19420
19438
|
}();
|
|
@@ -19575,7 +19593,7 @@ var _extends$l = Object.assign || function(target) {
|
|
|
19575
19593
|
return target;
|
|
19576
19594
|
};
|
|
19577
19595
|
var _createClass$b = /* @__PURE__ */ function() {
|
|
19578
|
-
function
|
|
19596
|
+
function defineProperties2(target, props) {
|
|
19579
19597
|
for (var i = 0; i < props.length; i++) {
|
|
19580
19598
|
var descriptor2 = props[i];
|
|
19581
19599
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -19585,12 +19603,12 @@ var _createClass$b = /* @__PURE__ */ function() {
|
|
|
19585
19603
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
19586
19604
|
}
|
|
19587
19605
|
}
|
|
19588
|
-
__name(
|
|
19606
|
+
__name(defineProperties2, "defineProperties");
|
|
19589
19607
|
return function(Constructor, protoProps, staticProps) {
|
|
19590
19608
|
if (protoProps)
|
|
19591
|
-
|
|
19609
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
19592
19610
|
if (staticProps)
|
|
19593
|
-
|
|
19611
|
+
defineProperties2(Constructor, staticProps);
|
|
19594
19612
|
return Constructor;
|
|
19595
19613
|
};
|
|
19596
19614
|
}();
|
|
@@ -20181,7 +20199,7 @@ const Methods = /* @__PURE__ */ __name(function(Base) {
|
|
|
20181
20199
|
}(Base);
|
|
20182
20200
|
}, "Methods");
|
|
20183
20201
|
var _createClass$a = /* @__PURE__ */ function() {
|
|
20184
|
-
function
|
|
20202
|
+
function defineProperties2(target, props) {
|
|
20185
20203
|
for (var i = 0; i < props.length; i++) {
|
|
20186
20204
|
var descriptor2 = props[i];
|
|
20187
20205
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20191,12 +20209,12 @@ var _createClass$a = /* @__PURE__ */ function() {
|
|
|
20191
20209
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20192
20210
|
}
|
|
20193
20211
|
}
|
|
20194
|
-
__name(
|
|
20212
|
+
__name(defineProperties2, "defineProperties");
|
|
20195
20213
|
return function(Constructor, protoProps, staticProps) {
|
|
20196
20214
|
if (protoProps)
|
|
20197
|
-
|
|
20215
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
20198
20216
|
if (staticProps)
|
|
20199
|
-
|
|
20217
|
+
defineProperties2(Constructor, staticProps);
|
|
20200
20218
|
return Constructor;
|
|
20201
20219
|
};
|
|
20202
20220
|
}();
|
|
@@ -20968,7 +20986,7 @@ var _extends$i = Object.assign || function(target) {
|
|
|
20968
20986
|
return target;
|
|
20969
20987
|
};
|
|
20970
20988
|
var _createClass$9 = /* @__PURE__ */ function() {
|
|
20971
|
-
function
|
|
20989
|
+
function defineProperties2(target, props) {
|
|
20972
20990
|
for (var i = 0; i < props.length; i++) {
|
|
20973
20991
|
var descriptor2 = props[i];
|
|
20974
20992
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -20978,12 +20996,12 @@ var _createClass$9 = /* @__PURE__ */ function() {
|
|
|
20978
20996
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
20979
20997
|
}
|
|
20980
20998
|
}
|
|
20981
|
-
__name(
|
|
20999
|
+
__name(defineProperties2, "defineProperties");
|
|
20982
21000
|
return function(Constructor, protoProps, staticProps) {
|
|
20983
21001
|
if (protoProps)
|
|
20984
|
-
|
|
21002
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
20985
21003
|
if (staticProps)
|
|
20986
|
-
|
|
21004
|
+
defineProperties2(Constructor, staticProps);
|
|
20987
21005
|
return Constructor;
|
|
20988
21006
|
};
|
|
20989
21007
|
}();
|
|
@@ -27307,21 +27325,21 @@ function parse$5(options) {
|
|
|
27307
27325
|
defined: [],
|
|
27308
27326
|
lazy: {},
|
|
27309
27327
|
constructs: constructs2,
|
|
27310
|
-
content:
|
|
27311
|
-
document:
|
|
27312
|
-
flow:
|
|
27313
|
-
string:
|
|
27314
|
-
text:
|
|
27328
|
+
content: create5(content$1),
|
|
27329
|
+
document: create5(document$2),
|
|
27330
|
+
flow: create5(flow$1),
|
|
27331
|
+
string: create5(string$1),
|
|
27332
|
+
text: create5(text$3)
|
|
27315
27333
|
};
|
|
27316
27334
|
return parser;
|
|
27317
|
-
function
|
|
27335
|
+
function create5(initial) {
|
|
27318
27336
|
return creator;
|
|
27319
27337
|
function creator(from3) {
|
|
27320
27338
|
return createTokenizer(parser, initial, from3);
|
|
27321
27339
|
}
|
|
27322
27340
|
__name(creator, "creator");
|
|
27323
27341
|
}
|
|
27324
|
-
__name(
|
|
27342
|
+
__name(create5, "create");
|
|
27325
27343
|
}
|
|
27326
27344
|
__name(parse$5, "parse$5");
|
|
27327
27345
|
const search$1 = /[\0\t\n\r]/g;
|
|
@@ -27732,10 +27750,10 @@ function compiler(options) {
|
|
|
27732
27750
|
return data[key];
|
|
27733
27751
|
}
|
|
27734
27752
|
__name(getData, "getData");
|
|
27735
|
-
function opener(
|
|
27753
|
+
function opener(create5, and) {
|
|
27736
27754
|
return open2;
|
|
27737
27755
|
function open2(token) {
|
|
27738
|
-
enter.call(this,
|
|
27756
|
+
enter.call(this, create5(token), token);
|
|
27739
27757
|
if (and)
|
|
27740
27758
|
and.call(this, token);
|
|
27741
27759
|
}
|
|
@@ -29496,7 +29514,7 @@ function mark(values2, key, value) {
|
|
|
29496
29514
|
}
|
|
29497
29515
|
__name(mark, "mark");
|
|
29498
29516
|
const own$3 = {}.hasOwnProperty;
|
|
29499
|
-
function
|
|
29517
|
+
function create3(definition2) {
|
|
29500
29518
|
const property2 = {};
|
|
29501
29519
|
const normal = {};
|
|
29502
29520
|
let prop;
|
|
@@ -29519,8 +29537,8 @@ function create4(definition2) {
|
|
|
29519
29537
|
}
|
|
29520
29538
|
return new Schema(property2, normal, definition2.space);
|
|
29521
29539
|
}
|
|
29522
|
-
__name(
|
|
29523
|
-
const xlink =
|
|
29540
|
+
__name(create3, "create");
|
|
29541
|
+
const xlink = create3({
|
|
29524
29542
|
space: "xlink",
|
|
29525
29543
|
transform(_2, prop) {
|
|
29526
29544
|
return "xlink:" + prop.slice(5).toLowerCase();
|
|
@@ -29535,7 +29553,7 @@ const xlink = create4({
|
|
|
29535
29553
|
xLinkType: null
|
|
29536
29554
|
}
|
|
29537
29555
|
});
|
|
29538
|
-
const xml =
|
|
29556
|
+
const xml = create3({
|
|
29539
29557
|
space: "xml",
|
|
29540
29558
|
transform(_2, prop) {
|
|
29541
29559
|
return "xml:" + prop.slice(3).toLowerCase();
|
|
@@ -29550,13 +29568,13 @@ function caseInsensitiveTransform(attributes, property2) {
|
|
|
29550
29568
|
return caseSensitiveTransform(attributes, property2.toLowerCase());
|
|
29551
29569
|
}
|
|
29552
29570
|
__name(caseInsensitiveTransform, "caseInsensitiveTransform");
|
|
29553
|
-
const xmlns =
|
|
29571
|
+
const xmlns = create3({
|
|
29554
29572
|
space: "xmlns",
|
|
29555
29573
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
29556
29574
|
transform: caseInsensitiveTransform,
|
|
29557
29575
|
properties: { xmlns: null, xmlnsXLink: null }
|
|
29558
29576
|
});
|
|
29559
|
-
const aria =
|
|
29577
|
+
const aria = create3({
|
|
29560
29578
|
transform(_2, prop) {
|
|
29561
29579
|
return prop === "role" ? prop : "aria-" + prop.slice(4).toLowerCase();
|
|
29562
29580
|
},
|
|
@@ -29612,7 +29630,7 @@ const aria = create4({
|
|
|
29612
29630
|
role: null
|
|
29613
29631
|
}
|
|
29614
29632
|
});
|
|
29615
|
-
const html$1 =
|
|
29633
|
+
const html$1 = create3({
|
|
29616
29634
|
space: "html",
|
|
29617
29635
|
attributes: {
|
|
29618
29636
|
acceptcharset: "accept-charset",
|
|
@@ -29972,7 +29990,7 @@ const html$1 = create4({
|
|
|
29972
29990
|
unselectable: null
|
|
29973
29991
|
}
|
|
29974
29992
|
});
|
|
29975
|
-
const svg$1 =
|
|
29993
|
+
const svg$1 = create3({
|
|
29976
29994
|
space: "svg",
|
|
29977
29995
|
attributes: {
|
|
29978
29996
|
accentHeight: "accent-height",
|
|
@@ -35933,6 +35951,7 @@ const _TgSelect = class _TgSelect extends React__default.Component {
|
|
|
35933
35951
|
};
|
|
35934
35952
|
}
|
|
35935
35953
|
render() {
|
|
35954
|
+
var _b2;
|
|
35936
35955
|
const _a2 = this.props, {
|
|
35937
35956
|
multi,
|
|
35938
35957
|
options,
|
|
@@ -35943,6 +35962,7 @@ const _TgSelect = class _TgSelect extends React__default.Component {
|
|
|
35943
35962
|
tagInputProps: tagInputProps,
|
|
35944
35963
|
autoFocus,
|
|
35945
35964
|
autoOpen,
|
|
35965
|
+
mustHaveQueryToOpen,
|
|
35946
35966
|
noResultsText,
|
|
35947
35967
|
noResults: _noResults,
|
|
35948
35968
|
inputProps,
|
|
@@ -35966,6 +35986,7 @@ const _TgSelect = class _TgSelect extends React__default.Component {
|
|
|
35966
35986
|
"tagInputProps",
|
|
35967
35987
|
"autoFocus",
|
|
35968
35988
|
"autoOpen",
|
|
35989
|
+
"mustHaveQueryToOpen",
|
|
35969
35990
|
"noResultsText",
|
|
35970
35991
|
"noResults",
|
|
35971
35992
|
"inputProps",
|
|
@@ -35982,6 +36003,7 @@ const _TgSelect = class _TgSelect extends React__default.Component {
|
|
|
35982
36003
|
let noResults = _noResults;
|
|
35983
36004
|
if (noResults === void 0)
|
|
35984
36005
|
noResults = noResultsDefault;
|
|
36006
|
+
const hasQuery = ((_b2 = this.state.query) == null ? void 0 : _b2.length) > 0;
|
|
35985
36007
|
const hasValue = Array.isArray(value) ? value.length > 0 : !!value || value === 0;
|
|
35986
36008
|
const rightElement = isLoading ? /* @__PURE__ */ React__default.createElement(Button, { loading: true, minimal: true }) : /* @__PURE__ */ React__default.createElement("span", null, additionalRightEl, hasValue && !disallowClear && !disabled && /* @__PURE__ */ React__default.createElement(
|
|
35987
36009
|
Button,
|
|
@@ -36034,7 +36056,7 @@ const _TgSelect = class _TgSelect extends React__default.Component {
|
|
|
36034
36056
|
wrapperTagName: "div",
|
|
36035
36057
|
canEscapeKeyClose: true,
|
|
36036
36058
|
onInteraction: this.onInteraction,
|
|
36037
|
-
isOpen: this.state.isOpen,
|
|
36059
|
+
isOpen: mustHaveQueryToOpen ? hasQuery && this.state.isOpen : this.state.isOpen,
|
|
36038
36060
|
modifiers: popoverOverflowModifiers
|
|
36039
36061
|
}, popoverProps),
|
|
36040
36062
|
onItemSelect: this.handleItemSelect,
|
|
@@ -36727,11 +36749,11 @@ var implementation$1 = /* @__PURE__ */ __name(function bind(that) {
|
|
|
36727
36749
|
}
|
|
36728
36750
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
36729
36751
|
if (target.prototype) {
|
|
36730
|
-
var
|
|
36752
|
+
var Empty = /* @__PURE__ */ __name(function Empty2() {
|
|
36731
36753
|
}, "Empty");
|
|
36732
|
-
|
|
36733
|
-
bound.prototype = new
|
|
36734
|
-
|
|
36754
|
+
Empty.prototype = target.prototype;
|
|
36755
|
+
bound.prototype = new Empty();
|
|
36756
|
+
Empty.prototype = null;
|
|
36735
36757
|
}
|
|
36736
36758
|
return bound;
|
|
36737
36759
|
}, "bind");
|
|
@@ -41091,7 +41113,7 @@ var _extends$c = Object.assign || function(target) {
|
|
|
41091
41113
|
return target;
|
|
41092
41114
|
};
|
|
41093
41115
|
var _createClass$8 = /* @__PURE__ */ function() {
|
|
41094
|
-
function
|
|
41116
|
+
function defineProperties2(target, props) {
|
|
41095
41117
|
for (var i = 0; i < props.length; i++) {
|
|
41096
41118
|
var descriptor2 = props[i];
|
|
41097
41119
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41101,12 +41123,12 @@ var _createClass$8 = /* @__PURE__ */ function() {
|
|
|
41101
41123
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41102
41124
|
}
|
|
41103
41125
|
}
|
|
41104
|
-
__name(
|
|
41126
|
+
__name(defineProperties2, "defineProperties");
|
|
41105
41127
|
return function(Constructor, protoProps, staticProps) {
|
|
41106
41128
|
if (protoProps)
|
|
41107
|
-
|
|
41129
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41108
41130
|
if (staticProps)
|
|
41109
|
-
|
|
41131
|
+
defineProperties2(Constructor, staticProps);
|
|
41110
41132
|
return Constructor;
|
|
41111
41133
|
};
|
|
41112
41134
|
}();
|
|
@@ -41248,7 +41270,7 @@ var Alpha = function(_ref) {
|
|
|
41248
41270
|
return Alpha2;
|
|
41249
41271
|
}(PureComponent || Component);
|
|
41250
41272
|
var _createClass$7 = /* @__PURE__ */ function() {
|
|
41251
|
-
function
|
|
41273
|
+
function defineProperties2(target, props) {
|
|
41252
41274
|
for (var i = 0; i < props.length; i++) {
|
|
41253
41275
|
var descriptor2 = props[i];
|
|
41254
41276
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41258,12 +41280,12 @@ var _createClass$7 = /* @__PURE__ */ function() {
|
|
|
41258
41280
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41259
41281
|
}
|
|
41260
41282
|
}
|
|
41261
|
-
__name(
|
|
41283
|
+
__name(defineProperties2, "defineProperties");
|
|
41262
41284
|
return function(Constructor, protoProps, staticProps) {
|
|
41263
41285
|
if (protoProps)
|
|
41264
|
-
|
|
41286
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41265
41287
|
if (staticProps)
|
|
41266
|
-
|
|
41288
|
+
defineProperties2(Constructor, staticProps);
|
|
41267
41289
|
return Constructor;
|
|
41268
41290
|
};
|
|
41269
41291
|
}();
|
|
@@ -41496,7 +41518,7 @@ var calculateChange$1 = /* @__PURE__ */ __name(function calculateChange2(e2, dir
|
|
|
41496
41518
|
return null;
|
|
41497
41519
|
}, "calculateChange");
|
|
41498
41520
|
var _createClass$6 = /* @__PURE__ */ function() {
|
|
41499
|
-
function
|
|
41521
|
+
function defineProperties2(target, props) {
|
|
41500
41522
|
for (var i = 0; i < props.length; i++) {
|
|
41501
41523
|
var descriptor2 = props[i];
|
|
41502
41524
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41506,12 +41528,12 @@ var _createClass$6 = /* @__PURE__ */ function() {
|
|
|
41506
41528
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41507
41529
|
}
|
|
41508
41530
|
}
|
|
41509
|
-
__name(
|
|
41531
|
+
__name(defineProperties2, "defineProperties");
|
|
41510
41532
|
return function(Constructor, protoProps, staticProps) {
|
|
41511
41533
|
if (protoProps)
|
|
41512
|
-
|
|
41534
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41513
41535
|
if (staticProps)
|
|
41514
|
-
|
|
41536
|
+
defineProperties2(Constructor, staticProps);
|
|
41515
41537
|
return Constructor;
|
|
41516
41538
|
};
|
|
41517
41539
|
}();
|
|
@@ -41748,7 +41770,7 @@ var calculateChange3 = /* @__PURE__ */ __name(function calculateChange4(e2, hsl,
|
|
|
41748
41770
|
};
|
|
41749
41771
|
}, "calculateChange");
|
|
41750
41772
|
var _createClass$5 = /* @__PURE__ */ function() {
|
|
41751
|
-
function
|
|
41773
|
+
function defineProperties2(target, props) {
|
|
41752
41774
|
for (var i = 0; i < props.length; i++) {
|
|
41753
41775
|
var descriptor2 = props[i];
|
|
41754
41776
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -41758,12 +41780,12 @@ var _createClass$5 = /* @__PURE__ */ function() {
|
|
|
41758
41780
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
41759
41781
|
}
|
|
41760
41782
|
}
|
|
41761
|
-
__name(
|
|
41783
|
+
__name(defineProperties2, "defineProperties");
|
|
41762
41784
|
return function(Constructor, protoProps, staticProps) {
|
|
41763
41785
|
if (protoProps)
|
|
41764
|
-
|
|
41786
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
41765
41787
|
if (staticProps)
|
|
41766
|
-
|
|
41788
|
+
defineProperties2(Constructor, staticProps);
|
|
41767
41789
|
return Constructor;
|
|
41768
41790
|
};
|
|
41769
41791
|
}();
|
|
@@ -43001,7 +43023,7 @@ var _extends$b = Object.assign || function(target) {
|
|
|
43001
43023
|
return target;
|
|
43002
43024
|
};
|
|
43003
43025
|
var _createClass$4 = /* @__PURE__ */ function() {
|
|
43004
|
-
function
|
|
43026
|
+
function defineProperties2(target, props) {
|
|
43005
43027
|
for (var i = 0; i < props.length; i++) {
|
|
43006
43028
|
var descriptor2 = props[i];
|
|
43007
43029
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43011,12 +43033,12 @@ var _createClass$4 = /* @__PURE__ */ function() {
|
|
|
43011
43033
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43012
43034
|
}
|
|
43013
43035
|
}
|
|
43014
|
-
__name(
|
|
43036
|
+
__name(defineProperties2, "defineProperties");
|
|
43015
43037
|
return function(Constructor, protoProps, staticProps) {
|
|
43016
43038
|
if (protoProps)
|
|
43017
|
-
|
|
43039
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43018
43040
|
if (staticProps)
|
|
43019
|
-
|
|
43041
|
+
defineProperties2(Constructor, staticProps);
|
|
43020
43042
|
return Constructor;
|
|
43021
43043
|
};
|
|
43022
43044
|
}();
|
|
@@ -43113,7 +43135,7 @@ var _extends$a = Object.assign || function(target) {
|
|
|
43113
43135
|
return target;
|
|
43114
43136
|
};
|
|
43115
43137
|
var _createClass$3 = /* @__PURE__ */ function() {
|
|
43116
|
-
function
|
|
43138
|
+
function defineProperties2(target, props) {
|
|
43117
43139
|
for (var i = 0; i < props.length; i++) {
|
|
43118
43140
|
var descriptor2 = props[i];
|
|
43119
43141
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43123,12 +43145,12 @@ var _createClass$3 = /* @__PURE__ */ function() {
|
|
|
43123
43145
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43124
43146
|
}
|
|
43125
43147
|
}
|
|
43126
|
-
__name(
|
|
43148
|
+
__name(defineProperties2, "defineProperties");
|
|
43127
43149
|
return function(Constructor, protoProps, staticProps) {
|
|
43128
43150
|
if (protoProps)
|
|
43129
|
-
|
|
43151
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43130
43152
|
if (staticProps)
|
|
43131
|
-
|
|
43153
|
+
defineProperties2(Constructor, staticProps);
|
|
43132
43154
|
return Constructor;
|
|
43133
43155
|
};
|
|
43134
43156
|
}();
|
|
@@ -43609,7 +43631,7 @@ var _default$3 = UnfoldMoreHorizontalIcon.default = function(_ref) {
|
|
|
43609
43631
|
);
|
|
43610
43632
|
};
|
|
43611
43633
|
var _createClass$2 = /* @__PURE__ */ function() {
|
|
43612
|
-
function
|
|
43634
|
+
function defineProperties2(target, props) {
|
|
43613
43635
|
for (var i = 0; i < props.length; i++) {
|
|
43614
43636
|
var descriptor2 = props[i];
|
|
43615
43637
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -43619,12 +43641,12 @@ var _createClass$2 = /* @__PURE__ */ function() {
|
|
|
43619
43641
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
43620
43642
|
}
|
|
43621
43643
|
}
|
|
43622
|
-
__name(
|
|
43644
|
+
__name(defineProperties2, "defineProperties");
|
|
43623
43645
|
return function(Constructor, protoProps, staticProps) {
|
|
43624
43646
|
if (protoProps)
|
|
43625
|
-
|
|
43647
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
43626
43648
|
if (staticProps)
|
|
43627
|
-
|
|
43649
|
+
defineProperties2(Constructor, staticProps);
|
|
43628
43650
|
return Constructor;
|
|
43629
43651
|
};
|
|
43630
43652
|
}();
|
|
@@ -45034,7 +45056,7 @@ var PhotoshopPreviews = /* @__PURE__ */ __name(function PhotoshopPreviews2(_ref)
|
|
|
45034
45056
|
);
|
|
45035
45057
|
}, "PhotoshopPreviews");
|
|
45036
45058
|
var _createClass$1 = /* @__PURE__ */ function() {
|
|
45037
|
-
function
|
|
45059
|
+
function defineProperties2(target, props) {
|
|
45038
45060
|
for (var i = 0; i < props.length; i++) {
|
|
45039
45061
|
var descriptor2 = props[i];
|
|
45040
45062
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
|
@@ -45044,12 +45066,12 @@ var _createClass$1 = /* @__PURE__ */ function() {
|
|
|
45044
45066
|
Object.defineProperty(target, descriptor2.key, descriptor2);
|
|
45045
45067
|
}
|
|
45046
45068
|
}
|
|
45047
|
-
__name(
|
|
45069
|
+
__name(defineProperties2, "defineProperties");
|
|
45048
45070
|
return function(Constructor, protoProps, staticProps) {
|
|
45049
45071
|
if (protoProps)
|
|
45050
|
-
|
|
45072
|
+
defineProperties2(Constructor.prototype, protoProps);
|
|
45051
45073
|
if (staticProps)
|
|
45052
|
-
|
|
45074
|
+
defineProperties2(Constructor, staticProps);
|
|
45053
45075
|
return Constructor;
|
|
45054
45076
|
};
|
|
45055
45077
|
}();
|
|
@@ -69599,7 +69621,7 @@ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
|
69599
69621
|
this.cache[key] = value;
|
|
69600
69622
|
};
|
|
69601
69623
|
var cacheDefault = {
|
|
69602
|
-
create: /* @__PURE__ */ __name(function
|
|
69624
|
+
create: /* @__PURE__ */ __name(function create4() {
|
|
69603
69625
|
return new ObjectWithoutPrototypeCache();
|
|
69604
69626
|
}, "create")
|
|
69605
69627
|
};
|
|
@@ -70926,11 +70948,22 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React_
|
|
|
70926
70948
|
};
|
|
70927
70949
|
__name(_ResizableDraggableDialog, "ResizableDraggableDialog");
|
|
70928
70950
|
let ResizableDraggableDialog = _ResizableDraggableDialog;
|
|
70929
|
-
function MenuItemLink({ text: text2, onClick, icon, navTo }) {
|
|
70951
|
+
function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3 }) {
|
|
70930
70952
|
const handleLinkClick = /* @__PURE__ */ __name((e2) => {
|
|
70931
70953
|
e2.target.closest(`.${Classes.POPOVER_DISMISS}`).click();
|
|
70932
70954
|
}, "handleLinkClick");
|
|
70933
|
-
return /* @__PURE__ */ React__default.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default.createElement(
|
|
70955
|
+
return /* @__PURE__ */ React__default.createElement("li", { className: Classes.POPOVER_DISMISS, onClick }, /* @__PURE__ */ React__default.createElement(
|
|
70956
|
+
Link,
|
|
70957
|
+
{
|
|
70958
|
+
onClick: handleLinkClick,
|
|
70959
|
+
to: navTo,
|
|
70960
|
+
className: classNames(Classes.MENU_ITEM, {
|
|
70961
|
+
[Classes.ACTIVE]: active3
|
|
70962
|
+
})
|
|
70963
|
+
},
|
|
70964
|
+
icon && /* @__PURE__ */ React__default.createElement(Icon, { icon }),
|
|
70965
|
+
/* @__PURE__ */ React__default.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)
|
|
70966
|
+
));
|
|
70934
70967
|
}
|
|
70935
70968
|
__name(MenuItemLink, "MenuItemLink");
|
|
70936
70969
|
const EnhancedMenuItem = compose(
|