@majoo-ui/react 1.62.7 → 1.63.0-rc.2
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.esm.js
CHANGED
|
@@ -412,14 +412,14 @@ function requireReactPropTypesSecret () {
|
|
|
412
412
|
return ReactPropTypesSecret_1;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
var has$
|
|
415
|
+
var has$9;
|
|
416
416
|
var hasRequiredHas;
|
|
417
417
|
|
|
418
418
|
function requireHas () {
|
|
419
|
-
if (hasRequiredHas) return has$
|
|
419
|
+
if (hasRequiredHas) return has$9;
|
|
420
420
|
hasRequiredHas = 1;
|
|
421
|
-
has$
|
|
422
|
-
return has$
|
|
421
|
+
has$9 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
422
|
+
return has$9;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
/**
|
|
@@ -1282,7 +1282,7 @@ var globalThis_1 =
|
|
|
1282
1282
|
|
|
1283
1283
|
var objectGetOwnPropertyDescriptor = {};
|
|
1284
1284
|
|
|
1285
|
-
var fails$
|
|
1285
|
+
var fails$j = function (exec) {
|
|
1286
1286
|
try {
|
|
1287
1287
|
return !!exec();
|
|
1288
1288
|
} catch (error) {
|
|
@@ -1290,19 +1290,19 @@ var fails$i = function (exec) {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
};
|
|
1292
1292
|
|
|
1293
|
-
var fails$
|
|
1293
|
+
var fails$i = fails$j;
|
|
1294
1294
|
|
|
1295
1295
|
// Detect IE8's incomplete defineProperty implementation
|
|
1296
|
-
var descriptors = !fails$
|
|
1296
|
+
var descriptors = !fails$i(function () {
|
|
1297
1297
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1298
1298
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
1299
1299
|
});
|
|
1300
1300
|
|
|
1301
|
-
var fails$
|
|
1301
|
+
var fails$h = fails$j;
|
|
1302
1302
|
|
|
1303
|
-
var functionBindNative = !fails$
|
|
1303
|
+
var functionBindNative = !fails$h(function () {
|
|
1304
1304
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
1305
|
-
var test =
|
|
1305
|
+
var test = function () { /* empty */ }.bind();
|
|
1306
1306
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1307
1307
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
1308
1308
|
});
|
|
@@ -1363,14 +1363,14 @@ var classofRaw$2 = function (it) {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
|
|
1365
1365
|
var uncurryThis$k = functionUncurryThis;
|
|
1366
|
-
var fails$
|
|
1366
|
+
var fails$g = fails$j;
|
|
1367
1367
|
var classof$5 = classofRaw$2;
|
|
1368
1368
|
|
|
1369
1369
|
var $Object$4 = Object;
|
|
1370
1370
|
var split = uncurryThis$k(''.split);
|
|
1371
1371
|
|
|
1372
1372
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
1373
|
-
var indexedObject = fails$
|
|
1373
|
+
var indexedObject = fails$g(function () {
|
|
1374
1374
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
1375
1375
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1376
1376
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -1473,13 +1473,13 @@ var environmentV8Version = version;
|
|
|
1473
1473
|
|
|
1474
1474
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
1475
1475
|
var V8_VERSION = environmentV8Version;
|
|
1476
|
-
var fails$
|
|
1476
|
+
var fails$f = fails$j;
|
|
1477
1477
|
var globalThis$b = globalThis_1;
|
|
1478
1478
|
|
|
1479
1479
|
var $String$5 = globalThis$b.String;
|
|
1480
1480
|
|
|
1481
1481
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1482
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
1482
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {
|
|
1483
1483
|
var symbol = Symbol('symbol detection');
|
|
1484
1484
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1485
1485
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -1565,11 +1565,11 @@ var isPure = false;
|
|
|
1565
1565
|
var globalThis$a = globalThis_1;
|
|
1566
1566
|
|
|
1567
1567
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1568
|
-
var defineProperty$
|
|
1568
|
+
var defineProperty$3 = Object.defineProperty;
|
|
1569
1569
|
|
|
1570
1570
|
var defineGlobalProperty$3 = function (key, value) {
|
|
1571
1571
|
try {
|
|
1572
|
-
defineProperty$
|
|
1572
|
+
defineProperty$3(globalThis$a, key, { value: value, configurable: true, writable: true });
|
|
1573
1573
|
} catch (error) {
|
|
1574
1574
|
globalThis$a[key] = value;
|
|
1575
1575
|
} return value;
|
|
@@ -1582,10 +1582,10 @@ var SHARED = '__core-js_shared__';
|
|
|
1582
1582
|
var store$3 = sharedStore.exports = globalThis$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
1583
1583
|
|
|
1584
1584
|
(store$3.versions || (store$3.versions = [])).push({
|
|
1585
|
-
version: '3.
|
|
1585
|
+
version: '3.49.0',
|
|
1586
1586
|
mode: 'global',
|
|
1587
1587
|
copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
|
|
1588
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
1588
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
|
|
1589
1589
|
source: 'https://github.com/zloirock/core-js'
|
|
1590
1590
|
});
|
|
1591
1591
|
|
|
@@ -1640,7 +1640,7 @@ var Symbol$5 = globalThis$8.Symbol;
|
|
|
1640
1640
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
1641
1641
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$5['for'] || Symbol$5 : Symbol$5 && Symbol$5.withoutSetter || uid$2;
|
|
1642
1642
|
|
|
1643
|
-
var wellKnownSymbol$
|
|
1643
|
+
var wellKnownSymbol$9 = function (name) {
|
|
1644
1644
|
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
1645
1645
|
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$a(Symbol$5, name)
|
|
1646
1646
|
? Symbol$5[name]
|
|
@@ -1653,10 +1653,10 @@ var isObject$9 = isObject$b;
|
|
|
1653
1653
|
var isSymbol$6 = isSymbol$7;
|
|
1654
1654
|
var getMethod$3 = getMethod$4;
|
|
1655
1655
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
1656
|
-
var wellKnownSymbol$
|
|
1656
|
+
var wellKnownSymbol$8 = wellKnownSymbol$9;
|
|
1657
1657
|
|
|
1658
1658
|
var $TypeError$b = TypeError;
|
|
1659
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
1659
|
+
var TO_PRIMITIVE = wellKnownSymbol$8('toPrimitive');
|
|
1660
1660
|
|
|
1661
1661
|
// `ToPrimitive` abstract operation
|
|
1662
1662
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
@@ -1696,11 +1696,11 @@ var documentCreateElement$1 = function (it) {
|
|
|
1696
1696
|
};
|
|
1697
1697
|
|
|
1698
1698
|
var DESCRIPTORS$c = descriptors;
|
|
1699
|
-
var fails$
|
|
1699
|
+
var fails$e = fails$j;
|
|
1700
1700
|
var createElement = documentCreateElement$1;
|
|
1701
1701
|
|
|
1702
1702
|
// Thanks to IE8 for its funny defineProperty
|
|
1703
|
-
var ie8DomDefine = !DESCRIPTORS$c && !fails$
|
|
1703
|
+
var ie8DomDefine = !DESCRIPTORS$c && !fails$e(function () {
|
|
1704
1704
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1705
1705
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1706
1706
|
get: function () { return 7; }
|
|
@@ -1733,11 +1733,11 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 :
|
|
|
1733
1733
|
var objectDefineProperty = {};
|
|
1734
1734
|
|
|
1735
1735
|
var DESCRIPTORS$a = descriptors;
|
|
1736
|
-
var fails$
|
|
1736
|
+
var fails$d = fails$j;
|
|
1737
1737
|
|
|
1738
1738
|
// V8 ~ Chrome 36-
|
|
1739
1739
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1740
|
-
var v8PrototypeDefineBug = DESCRIPTORS$a && fails$
|
|
1740
|
+
var v8PrototypeDefineBug = DESCRIPTORS$a && fails$d(function () {
|
|
1741
1741
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1742
1742
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1743
1743
|
value: 42,
|
|
@@ -1872,10 +1872,10 @@ var hiddenKeys$3 = hiddenKeys$4;
|
|
|
1872
1872
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1873
1873
|
var TypeError$1 = globalThis$5.TypeError;
|
|
1874
1874
|
var WeakMap = globalThis$5.WeakMap;
|
|
1875
|
-
var set$2, get$4, has$
|
|
1875
|
+
var set$2, get$4, has$8;
|
|
1876
1876
|
|
|
1877
1877
|
var enforce = function (it) {
|
|
1878
|
-
return has$
|
|
1878
|
+
return has$8(it) ? get$4(it) : set$2(it, {});
|
|
1879
1879
|
};
|
|
1880
1880
|
|
|
1881
1881
|
var getterFor = function (TYPE) {
|
|
@@ -1903,7 +1903,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
1903
1903
|
get$4 = function (it) {
|
|
1904
1904
|
return store.get(it) || {};
|
|
1905
1905
|
};
|
|
1906
|
-
has$
|
|
1906
|
+
has$8 = function (it) {
|
|
1907
1907
|
return store.has(it);
|
|
1908
1908
|
};
|
|
1909
1909
|
} else {
|
|
@@ -1918,7 +1918,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
1918
1918
|
get$4 = function (it) {
|
|
1919
1919
|
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
1920
1920
|
};
|
|
1921
|
-
has$
|
|
1921
|
+
has$8 = function (it) {
|
|
1922
1922
|
return hasOwn$7(it, STATE);
|
|
1923
1923
|
};
|
|
1924
1924
|
}
|
|
@@ -1926,13 +1926,13 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
1926
1926
|
var internalState = {
|
|
1927
1927
|
set: set$2,
|
|
1928
1928
|
get: get$4,
|
|
1929
|
-
has: has$
|
|
1929
|
+
has: has$8,
|
|
1930
1930
|
enforce: enforce,
|
|
1931
1931
|
getterFor: getterFor
|
|
1932
1932
|
};
|
|
1933
1933
|
|
|
1934
1934
|
var uncurryThis$f = functionUncurryThis;
|
|
1935
|
-
var fails$
|
|
1935
|
+
var fails$c = fails$j;
|
|
1936
1936
|
var isCallable$8 = isCallable$g;
|
|
1937
1937
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1938
1938
|
var DESCRIPTORS$6 = descriptors;
|
|
@@ -1944,13 +1944,13 @@ var enforceInternalState = InternalStateModule$1.enforce;
|
|
|
1944
1944
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
1945
1945
|
var $String$2 = String;
|
|
1946
1946
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1947
|
-
var defineProperty$
|
|
1947
|
+
var defineProperty$2 = Object.defineProperty;
|
|
1948
1948
|
var stringSlice = uncurryThis$f(''.slice);
|
|
1949
1949
|
var replace$1 = uncurryThis$f(''.replace);
|
|
1950
1950
|
var join = uncurryThis$f([].join);
|
|
1951
1951
|
|
|
1952
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$
|
|
1953
|
-
return defineProperty$
|
|
1952
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$c(function () {
|
|
1953
|
+
return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1954
1954
|
});
|
|
1955
1955
|
|
|
1956
1956
|
var TEMPLATE = String(String).split('String');
|
|
@@ -1962,15 +1962,15 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1962
1962
|
if (options && options.getter) name = 'get ' + name;
|
|
1963
1963
|
if (options && options.setter) name = 'set ' + name;
|
|
1964
1964
|
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1965
|
-
if (DESCRIPTORS$6) defineProperty$
|
|
1965
|
+
if (DESCRIPTORS$6) defineProperty$2(value, 'name', { value: name, configurable: true });
|
|
1966
1966
|
else value.name = name;
|
|
1967
1967
|
}
|
|
1968
1968
|
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
1969
|
-
defineProperty$
|
|
1969
|
+
defineProperty$2(value, 'length', { value: options.arity });
|
|
1970
1970
|
}
|
|
1971
1971
|
try {
|
|
1972
1972
|
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
1973
|
-
if (DESCRIPTORS$6) defineProperty$
|
|
1973
|
+
if (DESCRIPTORS$6) defineProperty$2(value, 'prototype', { writable: false });
|
|
1974
1974
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1975
1975
|
} else if (value.prototype) value.prototype = undefined;
|
|
1976
1976
|
} catch (error) { /* empty */ }
|
|
@@ -2097,6 +2097,9 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
2097
2097
|
};
|
|
2098
2098
|
|
|
2099
2099
|
var arrayIncludes = {
|
|
2100
|
+
// `Array.prototype.includes` method
|
|
2101
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2102
|
+
includes: createMethod(true),
|
|
2100
2103
|
// `Array.prototype.indexOf` method
|
|
2101
2104
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
2102
2105
|
indexOf: createMethod(false)
|
|
@@ -2183,7 +2186,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
2183
2186
|
}
|
|
2184
2187
|
};
|
|
2185
2188
|
|
|
2186
|
-
var fails$
|
|
2189
|
+
var fails$b = fails$j;
|
|
2187
2190
|
var isCallable$6 = isCallable$g;
|
|
2188
2191
|
|
|
2189
2192
|
var replacement = /#|\.prototype\./;
|
|
@@ -2192,7 +2195,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
2192
2195
|
var value = data[normalize$1(feature)];
|
|
2193
2196
|
return value === POLYFILL ? true
|
|
2194
2197
|
: value === NATIVE ? false
|
|
2195
|
-
: isCallable$6(detection) ? fails$
|
|
2198
|
+
: isCallable$6(detection) ? fails$b(detection)
|
|
2196
2199
|
: !!detection;
|
|
2197
2200
|
};
|
|
2198
2201
|
|
|
@@ -2270,9 +2273,9 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
2270
2273
|
throw new $TypeError$8('Incorrect invocation');
|
|
2271
2274
|
};
|
|
2272
2275
|
|
|
2273
|
-
var fails$
|
|
2276
|
+
var fails$a = fails$j;
|
|
2274
2277
|
|
|
2275
|
-
var correctPrototypeGetter = !fails$
|
|
2278
|
+
var correctPrototypeGetter = !fails$a(function () {
|
|
2276
2279
|
function F() { /* empty */ }
|
|
2277
2280
|
F.prototype.constructor = null;
|
|
2278
2281
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -2302,12 +2305,12 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
2302
2305
|
};
|
|
2303
2306
|
|
|
2304
2307
|
var makeBuiltIn = makeBuiltInExports;
|
|
2305
|
-
var defineProperty = objectDefineProperty;
|
|
2308
|
+
var defineProperty$1 = objectDefineProperty;
|
|
2306
2309
|
|
|
2307
2310
|
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
2308
2311
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2309
2312
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2310
|
-
return defineProperty.f(target, name, descriptor);
|
|
2313
|
+
return defineProperty$1.f(target, name, descriptor);
|
|
2311
2314
|
};
|
|
2312
2315
|
|
|
2313
2316
|
var DESCRIPTORS$5 = descriptors;
|
|
@@ -2441,14 +2444,14 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2441
2444
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
2442
2445
|
};
|
|
2443
2446
|
|
|
2444
|
-
var fails$
|
|
2447
|
+
var fails$9 = fails$j;
|
|
2445
2448
|
var isCallable$4 = isCallable$g;
|
|
2446
2449
|
var isObject$5 = isObject$b;
|
|
2447
2450
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2448
2451
|
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
2449
|
-
var wellKnownSymbol$
|
|
2452
|
+
var wellKnownSymbol$7 = wellKnownSymbol$9;
|
|
2450
2453
|
|
|
2451
|
-
var ITERATOR$3 = wellKnownSymbol$
|
|
2454
|
+
var ITERATOR$3 = wellKnownSymbol$7('iterator');
|
|
2452
2455
|
|
|
2453
2456
|
// `%IteratorPrototype%` object
|
|
2454
2457
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
@@ -2465,7 +2468,7 @@ if ([].keys) {
|
|
|
2465
2468
|
}
|
|
2466
2469
|
}
|
|
2467
2470
|
|
|
2468
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$
|
|
2471
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$9(function () {
|
|
2469
2472
|
var test = {};
|
|
2470
2473
|
// FF44- legacy iterators case
|
|
2471
2474
|
return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
|
|
@@ -2484,7 +2487,7 @@ if (!isCallable$4(IteratorPrototype$2[ITERATOR$3])) {
|
|
|
2484
2487
|
var iteratorsCore = {
|
|
2485
2488
|
IteratorPrototype: IteratorPrototype$2};
|
|
2486
2489
|
|
|
2487
|
-
var $$
|
|
2490
|
+
var $$l = _export;
|
|
2488
2491
|
var globalThis$3 = globalThis_1;
|
|
2489
2492
|
var anInstance = anInstance$1;
|
|
2490
2493
|
var anObject$d = anObject$i;
|
|
@@ -2492,15 +2495,15 @@ var isCallable$3 = isCallable$g;
|
|
|
2492
2495
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
2493
2496
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
2494
2497
|
var createProperty$2 = createProperty$3;
|
|
2495
|
-
var fails$
|
|
2498
|
+
var fails$8 = fails$j;
|
|
2496
2499
|
var hasOwn$2 = hasOwnProperty_1;
|
|
2497
|
-
var wellKnownSymbol$
|
|
2500
|
+
var wellKnownSymbol$6 = wellKnownSymbol$9;
|
|
2498
2501
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
2499
2502
|
var DESCRIPTORS$3 = descriptors;
|
|
2500
2503
|
|
|
2501
2504
|
var CONSTRUCTOR = 'constructor';
|
|
2502
2505
|
var ITERATOR$2 = 'Iterator';
|
|
2503
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$
|
|
2506
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$6('toStringTag');
|
|
2504
2507
|
|
|
2505
2508
|
var $TypeError$7 = TypeError;
|
|
2506
2509
|
var NativeIterator = globalThis$3[ITERATOR$2];
|
|
@@ -2509,7 +2512,7 @@ var NativeIterator = globalThis$3[ITERATOR$2];
|
|
|
2509
2512
|
var FORCED$6 = !isCallable$3(NativeIterator)
|
|
2510
2513
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
2511
2514
|
// FF44- non-standard `Iterator` passes previous tests
|
|
2512
|
-
|| !fails$
|
|
2515
|
+
|| !fails$8(function () { NativeIterator({}); });
|
|
2513
2516
|
|
|
2514
2517
|
var IteratorConstructor = function Iterator() {
|
|
2515
2518
|
anInstance(this, IteratorPrototype$1);
|
|
@@ -2543,7 +2546,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
2543
2546
|
|
|
2544
2547
|
// `Iterator` constructor
|
|
2545
2548
|
// https://tc39.es/ecma262/#sec-iterator
|
|
2546
|
-
$$
|
|
2549
|
+
$$l({ global: true, constructor: true, forced: FORCED$6 }, {
|
|
2547
2550
|
Iterator: IteratorConstructor
|
|
2548
2551
|
});
|
|
2549
2552
|
|
|
@@ -2611,10 +2614,10 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
2611
2614
|
};
|
|
2612
2615
|
|
|
2613
2616
|
var call$d = functionCall;
|
|
2614
|
-
var create = objectCreate;
|
|
2617
|
+
var create$1 = objectCreate;
|
|
2615
2618
|
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
2616
2619
|
var defineBuiltIns = defineBuiltIns$1;
|
|
2617
|
-
var wellKnownSymbol$
|
|
2620
|
+
var wellKnownSymbol$5 = wellKnownSymbol$9;
|
|
2618
2621
|
var InternalStateModule = internalState;
|
|
2619
2622
|
var getMethod$1 = getMethod$4;
|
|
2620
2623
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
@@ -2622,7 +2625,7 @@ var createIterResultObject = createIterResultObject$1;
|
|
|
2622
2625
|
var iteratorClose$b = iteratorClose$d;
|
|
2623
2626
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
2624
2627
|
|
|
2625
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
2628
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$5('toStringTag');
|
|
2626
2629
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
2627
2630
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
2628
2631
|
var NORMAL = 'normal';
|
|
@@ -2632,7 +2635,7 @@ var setInternalState = InternalStateModule.set;
|
|
|
2632
2635
|
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
2633
2636
|
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
2634
2637
|
|
|
2635
|
-
return defineBuiltIns(create(IteratorPrototype), {
|
|
2638
|
+
return defineBuiltIns(create$1(IteratorPrototype), {
|
|
2636
2639
|
next: function next() {
|
|
2637
2640
|
var state = getInternalState(this);
|
|
2638
2641
|
// for simplification:
|
|
@@ -2651,11 +2654,13 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
2651
2654
|
'return': function () {
|
|
2652
2655
|
var state = getInternalState(this);
|
|
2653
2656
|
var iterator = state.iterator;
|
|
2657
|
+
var done = state.done;
|
|
2654
2658
|
state.done = true;
|
|
2655
2659
|
if (IS_ITERATOR) {
|
|
2656
2660
|
var returnMethod = getMethod$1(iterator, 'return');
|
|
2657
2661
|
return returnMethod ? call$d(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2658
2662
|
}
|
|
2663
|
+
if (done) return createIterResultObject(undefined, true);
|
|
2659
2664
|
if (state.inner) try {
|
|
2660
2665
|
iteratorClose$b(state.inner.iterator, NORMAL);
|
|
2661
2666
|
} catch (error) {
|
|
@@ -2664,7 +2669,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
2664
2669
|
if (state.openIters) try {
|
|
2665
2670
|
iteratorCloseAll(state.openIters, NORMAL);
|
|
2666
2671
|
} catch (error) {
|
|
2667
|
-
return iteratorClose$b(iterator, THROW, error);
|
|
2672
|
+
if (iterator) return iteratorClose$b(iterator, THROW, error);
|
|
2673
|
+
throw error;
|
|
2668
2674
|
}
|
|
2669
2675
|
if (iterator) iteratorClose$b(iterator, NORMAL);
|
|
2670
2676
|
return createIterResultObject(undefined, true);
|
|
@@ -2743,7 +2749,7 @@ var iteratorHelperWithoutClosingOnEarlyError$7 = function (METHOD_NAME, Expected
|
|
|
2743
2749
|
if (!CLOSED) return method;
|
|
2744
2750
|
};
|
|
2745
2751
|
|
|
2746
|
-
var $$
|
|
2752
|
+
var $$k = _export;
|
|
2747
2753
|
var call$c = functionCall;
|
|
2748
2754
|
var aCallable$b = aCallable$d;
|
|
2749
2755
|
var anObject$a = anObject$i;
|
|
@@ -2776,7 +2782,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
2776
2782
|
|
|
2777
2783
|
// `Iterator.prototype.filter` method
|
|
2778
2784
|
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
|
2779
|
-
$$
|
|
2785
|
+
$$k({ target: 'Iterator', proto: true, real: true, forced: FORCED$5 }, {
|
|
2780
2786
|
filter: function filter(predicate) {
|
|
2781
2787
|
anObject$a(this);
|
|
2782
2788
|
try {
|
|
@@ -2819,20 +2825,20 @@ var functionBindContext = function (fn, that) {
|
|
|
2819
2825
|
|
|
2820
2826
|
var iterators = {};
|
|
2821
2827
|
|
|
2822
|
-
var wellKnownSymbol$
|
|
2828
|
+
var wellKnownSymbol$4 = wellKnownSymbol$9;
|
|
2823
2829
|
var Iterators$1 = iterators;
|
|
2824
2830
|
|
|
2825
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
2826
|
-
var ArrayPrototype = Array.prototype;
|
|
2831
|
+
var ITERATOR$1 = wellKnownSymbol$4('iterator');
|
|
2832
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
2827
2833
|
|
|
2828
2834
|
// check on default Array iterator
|
|
2829
2835
|
var isArrayIteratorMethod$1 = function (it) {
|
|
2830
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
2836
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype$1[ITERATOR$1] === it);
|
|
2831
2837
|
};
|
|
2832
2838
|
|
|
2833
|
-
var wellKnownSymbol$
|
|
2839
|
+
var wellKnownSymbol$3 = wellKnownSymbol$9;
|
|
2834
2840
|
|
|
2835
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
2841
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
2836
2842
|
var test = {};
|
|
2837
2843
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2838
2844
|
test[TO_STRING_TAG$1] = 'z';
|
|
@@ -2842,9 +2848,9 @@ var toStringTagSupport = String(test) === '[object z]';
|
|
|
2842
2848
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2843
2849
|
var isCallable$2 = isCallable$g;
|
|
2844
2850
|
var classofRaw = classofRaw$2;
|
|
2845
|
-
var wellKnownSymbol$
|
|
2851
|
+
var wellKnownSymbol$2 = wellKnownSymbol$9;
|
|
2846
2852
|
|
|
2847
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
2853
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
2848
2854
|
var $Object = Object;
|
|
2849
2855
|
|
|
2850
2856
|
// ES3 wrong here
|
|
@@ -2873,9 +2879,9 @@ var classof$3 = classof$4;
|
|
|
2873
2879
|
var getMethod = getMethod$4;
|
|
2874
2880
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
2875
2881
|
var Iterators = iterators;
|
|
2876
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
2882
|
+
var wellKnownSymbol$1 = wellKnownSymbol$9;
|
|
2877
2883
|
|
|
2878
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
2884
|
+
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
2879
2885
|
|
|
2880
2886
|
var getIteratorMethod$2 = function (it) {
|
|
2881
2887
|
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
@@ -2927,7 +2933,9 @@ var iterate$8 = function (iterable, unboundFunction, options) {
|
|
|
2927
2933
|
var iterator, iterFn, index, length, result, next, step;
|
|
2928
2934
|
|
|
2929
2935
|
var stop = function (condition) {
|
|
2930
|
-
|
|
2936
|
+
var $iterator = iterator;
|
|
2937
|
+
iterator = undefined;
|
|
2938
|
+
if ($iterator) iteratorClose$8($iterator, 'normal');
|
|
2931
2939
|
return new Result(true, condition);
|
|
2932
2940
|
};
|
|
2933
2941
|
|
|
@@ -2957,16 +2965,19 @@ var iterate$8 = function (iterable, unboundFunction, options) {
|
|
|
2957
2965
|
|
|
2958
2966
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2959
2967
|
while (!(step = call$a(next, iterator)).done) {
|
|
2968
|
+
// `IteratorValue` errors should propagate without closing the iterator
|
|
2969
|
+
var value = step.value;
|
|
2960
2970
|
try {
|
|
2961
|
-
result = callFn(
|
|
2971
|
+
result = callFn(value);
|
|
2962
2972
|
} catch (error) {
|
|
2963
|
-
iteratorClose$8(iterator, 'throw', error);
|
|
2973
|
+
if (iterator) iteratorClose$8(iterator, 'throw', error);
|
|
2974
|
+
else throw error;
|
|
2964
2975
|
}
|
|
2965
2976
|
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
2966
2977
|
} return new Result(false);
|
|
2967
2978
|
};
|
|
2968
2979
|
|
|
2969
|
-
var $$
|
|
2980
|
+
var $$j = _export;
|
|
2970
2981
|
var call$9 = functionCall;
|
|
2971
2982
|
var iterate$7 = iterate$8;
|
|
2972
2983
|
var aCallable$8 = aCallable$d;
|
|
@@ -2979,7 +2990,7 @@ var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError
|
|
|
2979
2990
|
|
|
2980
2991
|
// `Iterator.prototype.forEach` method
|
|
2981
2992
|
// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
|
|
2982
|
-
$$
|
|
2993
|
+
$$j({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
|
|
2983
2994
|
forEach: function forEach(fn) {
|
|
2984
2995
|
anObject$7(this);
|
|
2985
2996
|
try {
|
|
@@ -2998,7 +3009,7 @@ $$i({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosing
|
|
|
2998
3009
|
}
|
|
2999
3010
|
});
|
|
3000
3011
|
|
|
3001
|
-
var $$
|
|
3012
|
+
var $$i = _export;
|
|
3002
3013
|
var call$8 = functionCall;
|
|
3003
3014
|
var aCallable$7 = aCallable$d;
|
|
3004
3015
|
var anObject$6 = anObject$i;
|
|
@@ -3024,7 +3035,7 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
3024
3035
|
|
|
3025
3036
|
// `Iterator.prototype.map` method
|
|
3026
3037
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
3027
|
-
$$
|
|
3038
|
+
$$i({ target: 'Iterator', proto: true, real: true, forced: FORCED$4 }, {
|
|
3028
3039
|
map: function map(mapper) {
|
|
3029
3040
|
anObject$6(this);
|
|
3030
3041
|
try {
|
|
@@ -3055,11 +3066,11 @@ var setHelpers = {
|
|
|
3055
3066
|
proto: SetPrototype$1
|
|
3056
3067
|
};
|
|
3057
3068
|
|
|
3058
|
-
var has$
|
|
3069
|
+
var has$7 = setHelpers.has;
|
|
3059
3070
|
|
|
3060
3071
|
// Perform ? RequireInternalSlot(M, [[SetData]])
|
|
3061
3072
|
var aSet$7 = function (it) {
|
|
3062
|
-
has$
|
|
3073
|
+
has$7(it);
|
|
3063
3074
|
return it;
|
|
3064
3075
|
};
|
|
3065
3076
|
|
|
@@ -3168,7 +3179,7 @@ var getSetRecord$6 = getSetRecord$7;
|
|
|
3168
3179
|
var iterateSet$2 = setIterate;
|
|
3169
3180
|
var iterateSimple$5 = iterateSimple$7;
|
|
3170
3181
|
|
|
3171
|
-
var has$
|
|
3182
|
+
var has$6 = SetHelpers$2.has;
|
|
3172
3183
|
var remove$1 = SetHelpers$2.remove;
|
|
3173
3184
|
|
|
3174
3185
|
// `Set.prototype.difference` method
|
|
@@ -3177,11 +3188,11 @@ var setDifference = function difference(other) {
|
|
|
3177
3188
|
var O = aSet$6(this);
|
|
3178
3189
|
var otherRec = getSetRecord$6(other);
|
|
3179
3190
|
var result = clone$2(O);
|
|
3180
|
-
if (size$4(
|
|
3191
|
+
if (size$4(result) <= otherRec.size) iterateSet$2(result, function (e) {
|
|
3181
3192
|
if (otherRec.includes(e)) remove$1(result, e);
|
|
3182
3193
|
});
|
|
3183
3194
|
else iterateSimple$5(otherRec.getIterator(), function (e) {
|
|
3184
|
-
if (has$
|
|
3195
|
+
if (has$6(result, e)) remove$1(result, e);
|
|
3185
3196
|
});
|
|
3186
3197
|
return result;
|
|
3187
3198
|
};
|
|
@@ -3244,16 +3255,16 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
3244
3255
|
}
|
|
3245
3256
|
};
|
|
3246
3257
|
|
|
3247
|
-
var $$
|
|
3258
|
+
var $$h = _export;
|
|
3248
3259
|
var difference = setDifference;
|
|
3249
|
-
var fails$
|
|
3260
|
+
var fails$7 = fails$j;
|
|
3250
3261
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
3251
3262
|
|
|
3252
3263
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
3253
3264
|
return result.size === 0;
|
|
3254
3265
|
});
|
|
3255
3266
|
|
|
3256
|
-
var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$
|
|
3267
|
+
var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$7(function () {
|
|
3257
3268
|
// https://bugs.webkit.org/show_bug.cgi?id=288595
|
|
3258
3269
|
var setLike = {
|
|
3259
3270
|
size: 1,
|
|
@@ -3277,7 +3288,7 @@ var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$6(function () {
|
|
|
3277
3288
|
|
|
3278
3289
|
// `Set.prototype.difference` method
|
|
3279
3290
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
3280
|
-
$$
|
|
3291
|
+
$$h({ target: 'Set', proto: true, real: true, forced: FORCED$3 }, {
|
|
3281
3292
|
difference: difference
|
|
3282
3293
|
});
|
|
3283
3294
|
|
|
@@ -3290,7 +3301,7 @@ var iterateSimple$4 = iterateSimple$7;
|
|
|
3290
3301
|
|
|
3291
3302
|
var Set$1 = SetHelpers$1.Set;
|
|
3292
3303
|
var add$2 = SetHelpers$1.add;
|
|
3293
|
-
var has$
|
|
3304
|
+
var has$5 = SetHelpers$1.has;
|
|
3294
3305
|
|
|
3295
3306
|
// `Set.prototype.intersection` method
|
|
3296
3307
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
@@ -3301,7 +3312,7 @@ var setIntersection = function intersection(other) {
|
|
|
3301
3312
|
|
|
3302
3313
|
if (size$3(O) > otherRec.size) {
|
|
3303
3314
|
iterateSimple$4(otherRec.getIterator(), function (e) {
|
|
3304
|
-
if (has$
|
|
3315
|
+
if (has$5(O, e)) add$2(result, e);
|
|
3305
3316
|
});
|
|
3306
3317
|
} else {
|
|
3307
3318
|
iterateSet$1(O, function (e) {
|
|
@@ -3312,26 +3323,26 @@ var setIntersection = function intersection(other) {
|
|
|
3312
3323
|
return result;
|
|
3313
3324
|
};
|
|
3314
3325
|
|
|
3315
|
-
var $$
|
|
3316
|
-
var fails$
|
|
3326
|
+
var $$g = _export;
|
|
3327
|
+
var fails$6 = fails$j;
|
|
3317
3328
|
var intersection = setIntersection;
|
|
3318
3329
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
3319
3330
|
|
|
3320
3331
|
var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
3321
3332
|
return result.size === 2 && result.has(1) && result.has(2);
|
|
3322
|
-
}) || fails$
|
|
3333
|
+
}) || fails$6(function () {
|
|
3323
3334
|
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
3324
3335
|
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
3325
3336
|
});
|
|
3326
3337
|
|
|
3327
3338
|
// `Set.prototype.intersection` method
|
|
3328
3339
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
3329
|
-
$$
|
|
3340
|
+
$$g({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
3330
3341
|
intersection: intersection
|
|
3331
3342
|
});
|
|
3332
3343
|
|
|
3333
3344
|
var aSet$4 = aSet$7;
|
|
3334
|
-
var has$
|
|
3345
|
+
var has$4 = setHelpers.has;
|
|
3335
3346
|
var size$2 = setSize;
|
|
3336
3347
|
var getSetRecord$4 = getSetRecord$7;
|
|
3337
3348
|
var iterateSet = setIterate;
|
|
@@ -3348,11 +3359,11 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
3348
3359
|
}, true) !== false;
|
|
3349
3360
|
var iterator = otherRec.getIterator();
|
|
3350
3361
|
return iterateSimple$3(iterator, function (e) {
|
|
3351
|
-
if (has$
|
|
3362
|
+
if (has$4(O, e)) return iteratorClose$5(iterator.iterator, 'normal', false);
|
|
3352
3363
|
}) !== false;
|
|
3353
3364
|
};
|
|
3354
3365
|
|
|
3355
|
-
var $$
|
|
3366
|
+
var $$f = _export;
|
|
3356
3367
|
var isDisjointFrom = setIsDisjointFrom;
|
|
3357
3368
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
3358
3369
|
|
|
@@ -3362,7 +3373,7 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
3362
3373
|
|
|
3363
3374
|
// `Set.prototype.isDisjointFrom` method
|
|
3364
3375
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
3365
|
-
$$
|
|
3376
|
+
$$f({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
3366
3377
|
isDisjointFrom: isDisjointFrom
|
|
3367
3378
|
});
|
|
3368
3379
|
|
|
@@ -3382,7 +3393,7 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
3382
3393
|
}, true) !== false;
|
|
3383
3394
|
};
|
|
3384
3395
|
|
|
3385
|
-
var $$
|
|
3396
|
+
var $$e = _export;
|
|
3386
3397
|
var isSubsetOf = setIsSubsetOf;
|
|
3387
3398
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
3388
3399
|
|
|
@@ -3392,12 +3403,12 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
3392
3403
|
|
|
3393
3404
|
// `Set.prototype.isSubsetOf` method
|
|
3394
3405
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
3395
|
-
$$
|
|
3406
|
+
$$e({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
3396
3407
|
isSubsetOf: isSubsetOf
|
|
3397
3408
|
});
|
|
3398
3409
|
|
|
3399
3410
|
var aSet$2 = aSet$7;
|
|
3400
|
-
var has$
|
|
3411
|
+
var has$3 = setHelpers.has;
|
|
3401
3412
|
var size = setSize;
|
|
3402
3413
|
var getSetRecord$2 = getSetRecord$7;
|
|
3403
3414
|
var iterateSimple$2 = iterateSimple$7;
|
|
@@ -3411,11 +3422,11 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
3411
3422
|
if (size(O) < otherRec.size) return false;
|
|
3412
3423
|
var iterator = otherRec.getIterator();
|
|
3413
3424
|
return iterateSimple$2(iterator, function (e) {
|
|
3414
|
-
if (!has$
|
|
3425
|
+
if (!has$3(O, e)) return iteratorClose$4(iterator.iterator, 'normal', false);
|
|
3415
3426
|
}) !== false;
|
|
3416
3427
|
};
|
|
3417
3428
|
|
|
3418
|
-
var $$
|
|
3429
|
+
var $$d = _export;
|
|
3419
3430
|
var isSupersetOf = setIsSupersetOf;
|
|
3420
3431
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
3421
3432
|
|
|
@@ -3425,7 +3436,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
3425
3436
|
|
|
3426
3437
|
// `Set.prototype.isSupersetOf` method
|
|
3427
3438
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
3428
|
-
$$
|
|
3439
|
+
$$d({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
3429
3440
|
isSupersetOf: isSupersetOf
|
|
3430
3441
|
});
|
|
3431
3442
|
|
|
@@ -3436,7 +3447,7 @@ var getSetRecord$1 = getSetRecord$7;
|
|
|
3436
3447
|
var iterateSimple$1 = iterateSimple$7;
|
|
3437
3448
|
|
|
3438
3449
|
var add$1 = SetHelpers.add;
|
|
3439
|
-
var has$
|
|
3450
|
+
var has$2 = SetHelpers.has;
|
|
3440
3451
|
var remove = SetHelpers.remove;
|
|
3441
3452
|
|
|
3442
3453
|
// `Set.prototype.symmetricDifference` method
|
|
@@ -3446,7 +3457,7 @@ var setSymmetricDifference = function symmetricDifference(other) {
|
|
|
3446
3457
|
var keysIter = getSetRecord$1(other).getIterator();
|
|
3447
3458
|
var result = clone$1(O);
|
|
3448
3459
|
iterateSimple$1(keysIter, function (e) {
|
|
3449
|
-
if (has$
|
|
3460
|
+
if (has$2(O, e)) remove(result, e);
|
|
3450
3461
|
else add$1(result, e);
|
|
3451
3462
|
});
|
|
3452
3463
|
return result;
|
|
@@ -3482,7 +3493,7 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
3482
3493
|
}
|
|
3483
3494
|
};
|
|
3484
3495
|
|
|
3485
|
-
var $$
|
|
3496
|
+
var $$c = _export;
|
|
3486
3497
|
var symmetricDifference = setSymmetricDifference;
|
|
3487
3498
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
3488
3499
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
@@ -3491,7 +3502,7 @@ var FORCED$2 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGet
|
|
|
3491
3502
|
|
|
3492
3503
|
// `Set.prototype.symmetricDifference` method
|
|
3493
3504
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
3494
|
-
$$
|
|
3505
|
+
$$c({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
|
|
3495
3506
|
symmetricDifference: symmetricDifference
|
|
3496
3507
|
});
|
|
3497
3508
|
|
|
@@ -3513,7 +3524,7 @@ var setUnion = function union(other) {
|
|
|
3513
3524
|
return result;
|
|
3514
3525
|
};
|
|
3515
3526
|
|
|
3516
|
-
var $$
|
|
3527
|
+
var $$b = _export;
|
|
3517
3528
|
var union = setUnion;
|
|
3518
3529
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
3519
3530
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
@@ -3522,7 +3533,7 @@ var FORCED$1 = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeClonin
|
|
|
3522
3533
|
|
|
3523
3534
|
// `Set.prototype.union` method
|
|
3524
3535
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
3525
|
-
$$
|
|
3536
|
+
$$b({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
|
|
3526
3537
|
union: union
|
|
3527
3538
|
});
|
|
3528
3539
|
|
|
@@ -3542,6 +3553,7 @@ const {
|
|
|
3542
3553
|
shadows: Object.assign({}, foundations.shadows),
|
|
3543
3554
|
fontSizes: Object.assign({}, foundations.fontSizes),
|
|
3544
3555
|
fonts: Object.assign({}, foundations.fonts),
|
|
3556
|
+
fontWeights: Object.assign({}, foundations.fontWeights),
|
|
3545
3557
|
lineHeights: Object.assign({}, foundations.lineHeights),
|
|
3546
3558
|
letterSpacings: Object.assign({}, foundations.letterSpacings),
|
|
3547
3559
|
radii: Object.assign({}, foundations.radii),
|
|
@@ -3607,7 +3619,99 @@ createTheme({
|
|
|
3607
3619
|
bgBorder: '#004a49'
|
|
3608
3620
|
}
|
|
3609
3621
|
});
|
|
3610
|
-
|
|
3622
|
+
createTheme({
|
|
3623
|
+
colors: {
|
|
3624
|
+
btnPrimary: '#124FE3',
|
|
3625
|
+
btnHoverPrimary: '#124FE3',
|
|
3626
|
+
btnActivePrimary: '#183B90',
|
|
3627
|
+
textBrand: '#124FE3',
|
|
3628
|
+
primary50: '#EDF2FD',
|
|
3629
|
+
primary100: '#D1DDFA',
|
|
3630
|
+
primary200: '#A3BBF6',
|
|
3631
|
+
primary300: '#6B93F0',
|
|
3632
|
+
primary400: '#3A70EE',
|
|
3633
|
+
primary500: '#124FE3',
|
|
3634
|
+
primary600: '#0D41BA',
|
|
3635
|
+
primary700: '#093395',
|
|
3636
|
+
primary800: '#09276C',
|
|
3637
|
+
primary900: '#081A45',
|
|
3638
|
+
btnNegative: '#D50B3E',
|
|
3639
|
+
btnHoverNegative: '#AF0932',
|
|
3640
|
+
btnActiveNegative: '#880727',
|
|
3641
|
+
textRed: '#D50B3E',
|
|
3642
|
+
btnHoverSecondary: '#EDF2FD',
|
|
3643
|
+
btnActiveSecondary: '#D1DDFA',
|
|
3644
|
+
btnHoverNegativeSecondary: '#FCE9EA',
|
|
3645
|
+
btnActiveNegativeSecondary: '#F5BCC0',
|
|
3646
|
+
gray50: '#F6F8FA',
|
|
3647
|
+
gray100: '#ECEFF5',
|
|
3648
|
+
gray150: '#D6DCE3',
|
|
3649
|
+
gray200: '#D6DCE3',
|
|
3650
|
+
gray300: '#AFBECB',
|
|
3651
|
+
gray400: '#819CB0',
|
|
3652
|
+
gray500: '#627F95',
|
|
3653
|
+
gray600: '#4C677B',
|
|
3654
|
+
gray700: '#3F5264',
|
|
3655
|
+
gray800: '#384655',
|
|
3656
|
+
gray900: '#323C49',
|
|
3657
|
+
textDisable: '#819BAF',
|
|
3658
|
+
bgBorder: '#EBEFF3',
|
|
3659
|
+
textPrimary: '#29323C',
|
|
3660
|
+
textSecondary: '#3F5265',
|
|
3661
|
+
borderFocus: '#BBDDFF',
|
|
3662
|
+
iconBrand: '#124FE3',
|
|
3663
|
+
iconAccent: '#8DC8FF',
|
|
3664
|
+
bgBrand: '#124FE3',
|
|
3665
|
+
iconGreen: '#9BE9D8',
|
|
3666
|
+
borderActive: '#29323C',
|
|
3667
|
+
red50: '#FEF0F3',
|
|
3668
|
+
red100: '#FCD8DE',
|
|
3669
|
+
red200: '#F9A8B4',
|
|
3670
|
+
red300: '#F47689',
|
|
3671
|
+
red400: '#E83D57',
|
|
3672
|
+
red500: '#D50B3E',
|
|
3673
|
+
red600: '#AF0932',
|
|
3674
|
+
red700: '#880727',
|
|
3675
|
+
red800: '#62051C',
|
|
3676
|
+
red900: '#3B0311',
|
|
3677
|
+
red1000: '#1F0209',
|
|
3678
|
+
bgGray: '#F6F8F9',
|
|
3679
|
+
bgSuccess: '#EEFBF4',
|
|
3680
|
+
bgFailed: '#FEF0F4',
|
|
3681
|
+
bgInactive: '#F7F7F8',
|
|
3682
|
+
textGreen: '#17663A',
|
|
3683
|
+
hlFailed: '#D50B3E',
|
|
3684
|
+
hlSuccess: '#56B35F',
|
|
3685
|
+
hlPending: '#F07167',
|
|
3686
|
+
hlNews: '#124FE3',
|
|
3687
|
+
textBlue: '#0075AD',
|
|
3688
|
+
cardBorder: '#EBEFF3',
|
|
3689
|
+
bgSelectedLight: '#EFF7FF',
|
|
3690
|
+
btnSelect: '#29323C',
|
|
3691
|
+
chartBrand: '#124FE3',
|
|
3692
|
+
chartLightBrand: '#EBEFF3'
|
|
3693
|
+
},
|
|
3694
|
+
shadows: {
|
|
3695
|
+
card: 'none'
|
|
3696
|
+
},
|
|
3697
|
+
sizes: {
|
|
3698
|
+
cardLineHeight: '0px'
|
|
3699
|
+
},
|
|
3700
|
+
fontWeights: {
|
|
3701
|
+
cardLabel: '400',
|
|
3702
|
+
cardLabelMd: '400',
|
|
3703
|
+
cardDesc: '700'
|
|
3704
|
+
},
|
|
3705
|
+
fontSizes: {
|
|
3706
|
+
cardLabelMd: '12px',
|
|
3707
|
+
cardDescMd: '14px'
|
|
3708
|
+
},
|
|
3709
|
+
lineHeights: {
|
|
3710
|
+
cardLabelMd: '16px',
|
|
3711
|
+
cardDescMd: '20px'
|
|
3712
|
+
}
|
|
3713
|
+
});
|
|
3714
|
+
const colors$7 = theme.colors;
|
|
3611
3715
|
|
|
3612
3716
|
const normalize = {
|
|
3613
3717
|
'*,::before,::after': {
|
|
@@ -3846,10 +3950,13 @@ const applyGlobalStyles = (additionaStyles, theme) => {
|
|
|
3846
3950
|
const globalStyles = globalCss({
|
|
3847
3951
|
...normalize
|
|
3848
3952
|
}, {
|
|
3953
|
+
// Use raw font value from theme if available, so consumer themes
|
|
3954
|
+
// (created via createTheme) correctly override the default font.
|
|
3955
|
+
// Falling back to '$main' token for the default theme.
|
|
3849
3956
|
'html,body,#root': {
|
|
3850
3957
|
width: '100%',
|
|
3851
3958
|
height: '100%',
|
|
3852
|
-
fontFamily: '$main'
|
|
3959
|
+
fontFamily: theme?.fonts?.main?.value || '$main'
|
|
3853
3960
|
},
|
|
3854
3961
|
'h1,h2,h3,h4,h5,h6,p': {
|
|
3855
3962
|
margin: '0'
|
|
@@ -4574,7 +4681,8 @@ const Colors$1 = props => {
|
|
|
4574
4681
|
backgroundColor: `${i.hex}`
|
|
4575
4682
|
}
|
|
4576
4683
|
}), /*#__PURE__*/React__default.createElement(StyledFlex, {
|
|
4577
|
-
justify: "between"
|
|
4684
|
+
justify: "between",
|
|
4685
|
+
wrap: "wrap"
|
|
4578
4686
|
}, /*#__PURE__*/React__default.createElement(StyledParagraph, {
|
|
4579
4687
|
onClick: onClick(i.name)
|
|
4580
4688
|
}, i.name), /*#__PURE__*/React__default.createElement(StyledParagraph, {
|
|
@@ -4657,6 +4765,9 @@ const Text$1 = styled('p', {
|
|
|
4657
4765
|
},
|
|
4658
4766
|
white: {
|
|
4659
4767
|
color: '$textWhite'
|
|
4768
|
+
},
|
|
4769
|
+
brand: {
|
|
4770
|
+
color: '$textBrand'
|
|
4660
4771
|
}
|
|
4661
4772
|
},
|
|
4662
4773
|
uppercase: {
|
|
@@ -4875,7 +4986,7 @@ const StyledLink = styled('a', {
|
|
|
4875
4986
|
*/
|
|
4876
4987
|
color: {
|
|
4877
4988
|
success: {
|
|
4878
|
-
color: '$
|
|
4989
|
+
color: '$textGreen'
|
|
4879
4990
|
},
|
|
4880
4991
|
info: {
|
|
4881
4992
|
color: '$hlNews'
|
|
@@ -4884,7 +4995,7 @@ const StyledLink = styled('a', {
|
|
|
4884
4995
|
color: '$hlProcess'
|
|
4885
4996
|
},
|
|
4886
4997
|
failed: {
|
|
4887
|
-
color: '$
|
|
4998
|
+
color: '$textRed'
|
|
4888
4999
|
},
|
|
4889
5000
|
pending: {
|
|
4890
5001
|
color: '$hlPending'
|
|
@@ -5228,40 +5339,40 @@ const ButtonPrimary = {
|
|
|
5228
5339
|
color: '$textWhite',
|
|
5229
5340
|
border: 'none',
|
|
5230
5341
|
'&:hover': {
|
|
5231
|
-
backgroundColor: '$
|
|
5342
|
+
backgroundColor: '$btnHoverPrimary'
|
|
5232
5343
|
},
|
|
5233
5344
|
'&:active': {
|
|
5234
|
-
backgroundColor: '$
|
|
5345
|
+
backgroundColor: '$btnActivePrimary'
|
|
5235
5346
|
}
|
|
5236
5347
|
};
|
|
5237
5348
|
const PrimarySecondary = {
|
|
5238
5349
|
backgroundColor: '$btnSecondary',
|
|
5239
5350
|
border: '1px solid $btnPrimary',
|
|
5240
|
-
color: '$
|
|
5351
|
+
color: '$textBrand',
|
|
5241
5352
|
'&:hover': {
|
|
5242
|
-
backgroundColor: '$
|
|
5353
|
+
backgroundColor: '$btnHoverSecondary',
|
|
5243
5354
|
border: '1px solid $btnPrimary',
|
|
5244
|
-
color: '$
|
|
5355
|
+
color: '$textBrand'
|
|
5245
5356
|
},
|
|
5246
5357
|
'&:active': {
|
|
5247
|
-
backgroundColor: '$
|
|
5358
|
+
backgroundColor: '$btnActiveSecondary',
|
|
5248
5359
|
border: '1px solid $btnPrimary'
|
|
5249
5360
|
}
|
|
5250
5361
|
};
|
|
5251
5362
|
const GhostButton = {
|
|
5252
5363
|
backgroundColor: '$btnSecondary',
|
|
5253
|
-
color: '$
|
|
5364
|
+
color: '$textBrand',
|
|
5254
5365
|
border: 'none',
|
|
5255
5366
|
'&:focus': {
|
|
5256
5367
|
outline: 'none'
|
|
5257
5368
|
},
|
|
5258
5369
|
'&:hover': {
|
|
5259
|
-
backgroundColor: '$
|
|
5260
|
-
outline: '1px solid $
|
|
5261
|
-
color: '$
|
|
5370
|
+
backgroundColor: '$btnHoverSecondary',
|
|
5371
|
+
outline: '1px solid $btnHoverSecondary',
|
|
5372
|
+
color: '$textBrand'
|
|
5262
5373
|
},
|
|
5263
5374
|
'&:active': {
|
|
5264
|
-
backgroundColor: '$
|
|
5375
|
+
backgroundColor: '$btnActiveSecondary',
|
|
5265
5376
|
outline: '1px solid $btnPrimary'
|
|
5266
5377
|
}
|
|
5267
5378
|
};
|
|
@@ -5270,10 +5381,10 @@ const ButtonNegative = {
|
|
|
5270
5381
|
color: '$textWhite',
|
|
5271
5382
|
border: 'none',
|
|
5272
5383
|
'&:hover': {
|
|
5273
|
-
backgroundColor: '$
|
|
5384
|
+
backgroundColor: '$btnHoverNegative'
|
|
5274
5385
|
},
|
|
5275
5386
|
'&:active': {
|
|
5276
|
-
backgroundColor: '$
|
|
5387
|
+
backgroundColor: '$btnActiveNegative'
|
|
5277
5388
|
}
|
|
5278
5389
|
};
|
|
5279
5390
|
const ButtonNegativeSecondary = {
|
|
@@ -5281,11 +5392,11 @@ const ButtonNegativeSecondary = {
|
|
|
5281
5392
|
border: '1px solid $btnNegative',
|
|
5282
5393
|
color: '$textRed',
|
|
5283
5394
|
'&:hover': {
|
|
5284
|
-
backgroundColor: '$
|
|
5395
|
+
backgroundColor: '$btnHoverNegativeSecondary',
|
|
5285
5396
|
border: '1px solid $textRed'
|
|
5286
5397
|
},
|
|
5287
5398
|
'&:active': {
|
|
5288
|
-
backgroundColor: '$
|
|
5399
|
+
backgroundColor: '$btnActiveNegativeSecondary',
|
|
5289
5400
|
border: '1px solid $textRed'
|
|
5290
5401
|
}
|
|
5291
5402
|
};
|
|
@@ -5294,12 +5405,12 @@ const ButtonNegativeGhost = {
|
|
|
5294
5405
|
color: '$textRed',
|
|
5295
5406
|
border: 'none',
|
|
5296
5407
|
'&:hover': {
|
|
5297
|
-
backgroundColor: '$
|
|
5298
|
-
outline: '1px solid $
|
|
5408
|
+
backgroundColor: '$btnHoverNegativeSecondary',
|
|
5409
|
+
outline: '1px solid $btnHoverNegativeSecondary',
|
|
5299
5410
|
color: '$textRed'
|
|
5300
5411
|
},
|
|
5301
5412
|
'&:active': {
|
|
5302
|
-
backgroundColor: '$
|
|
5413
|
+
backgroundColor: '$btnActiveNegativeSecondary',
|
|
5303
5414
|
outline: '1px solid $btnNegative'
|
|
5304
5415
|
}
|
|
5305
5416
|
};
|
|
@@ -5384,7 +5495,7 @@ const ButtonPrimitive = styled('button', {
|
|
|
5384
5495
|
position: 'relative',
|
|
5385
5496
|
whiteSpace: 'nowrap',
|
|
5386
5497
|
'&:focus': {
|
|
5387
|
-
outline: '2px solid
|
|
5498
|
+
outline: '2px solid $borderFocus'
|
|
5388
5499
|
},
|
|
5389
5500
|
'&:disabled': {
|
|
5390
5501
|
border: '1px solid $btnDisable',
|
|
@@ -5555,17 +5666,18 @@ const CardComponent = styled('div', {
|
|
|
5555
5666
|
borderRadius: '$lg',
|
|
5556
5667
|
position: 'relative',
|
|
5557
5668
|
backgroundColor: '$white',
|
|
5669
|
+
border: '1px solid $cardBorder',
|
|
5558
5670
|
variants: {
|
|
5559
5671
|
shadow: {
|
|
5560
5672
|
true: {
|
|
5561
|
-
boxShadow: '
|
|
5673
|
+
boxShadow: '$card'
|
|
5562
5674
|
}
|
|
5563
5675
|
},
|
|
5564
5676
|
isTemplateFormat: {
|
|
5565
5677
|
true: {
|
|
5566
5678
|
padding: '$spacing-03 $spacing-03 14px !important',
|
|
5567
5679
|
'@md': {
|
|
5568
|
-
padding: '$spacing-03 $spacing-
|
|
5680
|
+
padding: '$spacing-03 $spacing-05 14px !important'
|
|
5569
5681
|
}
|
|
5570
5682
|
}
|
|
5571
5683
|
},
|
|
@@ -5588,7 +5700,7 @@ const CardComponent = styled('div', {
|
|
|
5588
5700
|
});
|
|
5589
5701
|
const CardLineColor = styled('span', {
|
|
5590
5702
|
width: '100%',
|
|
5591
|
-
height: '
|
|
5703
|
+
height: '$cardLineHeight',
|
|
5592
5704
|
borderRadius: '0px 0px $lg $lg',
|
|
5593
5705
|
position: 'absolute',
|
|
5594
5706
|
bottom: 0,
|
|
@@ -5695,27 +5807,27 @@ const StyledIcon$1 = styled('span', {
|
|
|
5695
5807
|
});
|
|
5696
5808
|
const StyledLabel$2 = styled('h3', {
|
|
5697
5809
|
color: '$textSecondary',
|
|
5698
|
-
fontWeight:
|
|
5810
|
+
fontWeight: '$cardLabel',
|
|
5699
5811
|
fontSize: '$label',
|
|
5700
5812
|
lineHeight: '$label',
|
|
5701
5813
|
letterSpacing: '$label',
|
|
5702
5814
|
marginTop: 0,
|
|
5703
5815
|
marginBottom: 8,
|
|
5704
5816
|
'@md': {
|
|
5705
|
-
fontWeight:
|
|
5706
|
-
fontSize: '$
|
|
5707
|
-
lineHeight: '$
|
|
5817
|
+
fontWeight: '$cardLabelMd',
|
|
5818
|
+
fontSize: '$cardLabelMd',
|
|
5819
|
+
lineHeight: '$cardLabelMd'
|
|
5708
5820
|
}
|
|
5709
5821
|
});
|
|
5710
5822
|
const StyledDescription$3 = styled('p', {
|
|
5711
5823
|
color: '$textPrimary',
|
|
5712
|
-
fontWeight:
|
|
5824
|
+
fontWeight: '$cardDesc',
|
|
5713
5825
|
fontSize: '$short-content-bold',
|
|
5714
5826
|
lineHeight: '$short-content-bold',
|
|
5715
5827
|
marginBottom: 0,
|
|
5716
5828
|
'@md': {
|
|
5717
|
-
fontSize: '$
|
|
5718
|
-
lineHeight: '$
|
|
5829
|
+
fontSize: '$cardDescMd',
|
|
5830
|
+
lineHeight: '$cardDescMd'
|
|
5719
5831
|
}
|
|
5720
5832
|
});
|
|
5721
5833
|
const Card = _a => {
|
|
@@ -5784,7 +5896,7 @@ const BreadcrumbStyle = styled('nav', {
|
|
|
5784
5896
|
marginInline: '0.5rem',
|
|
5785
5897
|
content: '/',
|
|
5786
5898
|
fontSize: 12,
|
|
5787
|
-
color: '$
|
|
5899
|
+
color: '$textBrand'
|
|
5788
5900
|
},
|
|
5789
5901
|
'& li:last-child:before': {
|
|
5790
5902
|
color: '$textSecondary'
|
|
@@ -5802,7 +5914,7 @@ const BreadcrumbLinkStyle = styled(Text$1, {
|
|
|
5802
5914
|
'&:hover': {
|
|
5803
5915
|
textDecoration: 'underline'
|
|
5804
5916
|
},
|
|
5805
|
-
color: '$
|
|
5917
|
+
color: '$textBrand',
|
|
5806
5918
|
variants: {
|
|
5807
5919
|
isCurrentPage: {
|
|
5808
5920
|
true: {
|
|
@@ -5928,7 +6040,7 @@ const Badge = styled(Text$1, {
|
|
|
5928
6040
|
colorScheme: 'primary',
|
|
5929
6041
|
badgeVariant: 'outline',
|
|
5930
6042
|
css: {
|
|
5931
|
-
color: '$
|
|
6043
|
+
color: '$bgBrand'
|
|
5932
6044
|
}
|
|
5933
6045
|
}, {
|
|
5934
6046
|
colorScheme: 'secondary',
|
|
@@ -5966,6 +6078,12 @@ const Badge = styled(Text$1, {
|
|
|
5966
6078
|
css: {
|
|
5967
6079
|
color: '$green500'
|
|
5968
6080
|
}
|
|
6081
|
+
}, {
|
|
6082
|
+
colorScheme: 'dark',
|
|
6083
|
+
badgeVariant: 'outline',
|
|
6084
|
+
css: {
|
|
6085
|
+
color: '$borderActive'
|
|
6086
|
+
}
|
|
5969
6087
|
}, {
|
|
5970
6088
|
colorScheme: 'gray',
|
|
5971
6089
|
badgeVariant: 'solid',
|
|
@@ -5976,7 +6094,7 @@ const Badge = styled(Text$1, {
|
|
|
5976
6094
|
colorScheme: 'primary',
|
|
5977
6095
|
badgeVariant: 'solid',
|
|
5978
6096
|
css: {
|
|
5979
|
-
backgroundColor: '$
|
|
6097
|
+
backgroundColor: '$bgBrand'
|
|
5980
6098
|
}
|
|
5981
6099
|
}, {
|
|
5982
6100
|
colorScheme: 'secondary',
|
|
@@ -6014,53 +6132,65 @@ const Badge = styled(Text$1, {
|
|
|
6014
6132
|
css: {
|
|
6015
6133
|
backgroundColor: '$green500'
|
|
6016
6134
|
}
|
|
6135
|
+
}, {
|
|
6136
|
+
colorScheme: 'dark',
|
|
6137
|
+
badgeVariant: 'solid',
|
|
6138
|
+
css: {
|
|
6139
|
+
backgroundColor: '$borderActive'
|
|
6140
|
+
}
|
|
6017
6141
|
}, {
|
|
6018
6142
|
colorScheme: 'gray',
|
|
6019
6143
|
badgeVariant: 'alpha',
|
|
6020
6144
|
css: {
|
|
6021
|
-
backgroundColor: '
|
|
6145
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-gray500) 50%, transparent)'
|
|
6022
6146
|
}
|
|
6023
6147
|
}, {
|
|
6024
6148
|
colorScheme: 'primary',
|
|
6025
6149
|
badgeVariant: 'alpha',
|
|
6026
6150
|
css: {
|
|
6027
|
-
backgroundColor: '
|
|
6151
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-bgBrand) 50%, transparent)'
|
|
6028
6152
|
}
|
|
6029
6153
|
}, {
|
|
6030
6154
|
colorScheme: 'secondary',
|
|
6031
6155
|
badgeVariant: 'alpha',
|
|
6032
6156
|
css: {
|
|
6033
|
-
backgroundColor: '
|
|
6157
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-secondary500) 50%, transparent)'
|
|
6034
6158
|
}
|
|
6035
6159
|
}, {
|
|
6036
6160
|
colorScheme: 'blue',
|
|
6037
6161
|
badgeVariant: 'alpha',
|
|
6038
6162
|
css: {
|
|
6039
|
-
backgroundColor: '
|
|
6163
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-blue500) 50%, transparent)'
|
|
6040
6164
|
}
|
|
6041
6165
|
}, {
|
|
6042
6166
|
colorScheme: 'orange',
|
|
6043
6167
|
badgeVariant: 'alpha',
|
|
6044
6168
|
css: {
|
|
6045
|
-
backgroundColor: '
|
|
6169
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-orange500) 50%, transparent)'
|
|
6046
6170
|
}
|
|
6047
6171
|
}, {
|
|
6048
6172
|
colorScheme: 'red',
|
|
6049
6173
|
badgeVariant: 'alpha',
|
|
6050
6174
|
css: {
|
|
6051
|
-
backgroundColor: '
|
|
6175
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-red500) 50%, transparent)'
|
|
6052
6176
|
}
|
|
6053
6177
|
}, {
|
|
6054
6178
|
colorScheme: 'purple',
|
|
6055
6179
|
badgeVariant: 'alpha',
|
|
6056
6180
|
css: {
|
|
6057
|
-
backgroundColor: '
|
|
6181
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-purple500) 50%, transparent)'
|
|
6058
6182
|
}
|
|
6059
6183
|
}, {
|
|
6060
6184
|
colorScheme: 'green',
|
|
6061
6185
|
badgeVariant: 'alpha',
|
|
6062
6186
|
css: {
|
|
6063
|
-
backgroundColor: '
|
|
6187
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-green500) 50%, transparent)'
|
|
6188
|
+
}
|
|
6189
|
+
}, {
|
|
6190
|
+
colorScheme: 'dark',
|
|
6191
|
+
badgeVariant: 'alpha',
|
|
6192
|
+
css: {
|
|
6193
|
+
backgroundColor: 'color-mix(in srgb, var(--colors-borderActive) 50%, transparent)'
|
|
6064
6194
|
}
|
|
6065
6195
|
}],
|
|
6066
6196
|
defaultVariants: {
|
|
@@ -6433,7 +6563,7 @@ Tooltip$1.defaultProps = {
|
|
|
6433
6563
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
6434
6564
|
position: 'relative',
|
|
6435
6565
|
overflow: 'hidden',
|
|
6436
|
-
background: '$
|
|
6566
|
+
background: '$chartLightBrand',
|
|
6437
6567
|
width: 'auto',
|
|
6438
6568
|
height: '12px',
|
|
6439
6569
|
variants: {
|
|
@@ -6463,6 +6593,9 @@ const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
|
6463
6593
|
},
|
|
6464
6594
|
dark: {
|
|
6465
6595
|
backgroundColor: '$chartLightGray'
|
|
6596
|
+
},
|
|
6597
|
+
brand: {
|
|
6598
|
+
backgroundColor: '$chartLightBrand'
|
|
6466
6599
|
}
|
|
6467
6600
|
},
|
|
6468
6601
|
size: {
|
|
@@ -6485,7 +6618,7 @@ const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
|
6485
6618
|
}
|
|
6486
6619
|
});
|
|
6487
6620
|
const StyledIndicator$3 = styled$1(ProgressPrimitive.Indicator, {
|
|
6488
|
-
backgroundColor: '$
|
|
6621
|
+
backgroundColor: '$chartBrand',
|
|
6489
6622
|
height: '60%',
|
|
6490
6623
|
transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
|
|
6491
6624
|
variants: {
|
|
@@ -6515,6 +6648,9 @@ const StyledIndicator$3 = styled$1(ProgressPrimitive.Indicator, {
|
|
|
6515
6648
|
},
|
|
6516
6649
|
dark: {
|
|
6517
6650
|
backgroundColor: '$chartDark'
|
|
6651
|
+
},
|
|
6652
|
+
brand: {
|
|
6653
|
+
backgroundColor: '$chartBrand'
|
|
6518
6654
|
}
|
|
6519
6655
|
},
|
|
6520
6656
|
size: {
|
|
@@ -6580,12 +6716,12 @@ Progress$1.propTypes = {
|
|
|
6580
6716
|
};
|
|
6581
6717
|
Progress$1.defaultProps = {
|
|
6582
6718
|
max: 100,
|
|
6583
|
-
color: '
|
|
6719
|
+
color: 'brand',
|
|
6584
6720
|
size: 'm',
|
|
6585
6721
|
rounded: true
|
|
6586
6722
|
};
|
|
6587
6723
|
|
|
6588
|
-
var $$
|
|
6724
|
+
var $$a = _export;
|
|
6589
6725
|
var call$5 = functionCall;
|
|
6590
6726
|
var iterate$4 = iterate$8;
|
|
6591
6727
|
var aCallable$4 = aCallable$d;
|
|
@@ -6598,7 +6734,7 @@ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3(
|
|
|
6598
6734
|
|
|
6599
6735
|
// `Iterator.prototype.some` method
|
|
6600
6736
|
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
6601
|
-
$$
|
|
6737
|
+
$$a({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
6602
6738
|
some: function some(predicate) {
|
|
6603
6739
|
anObject$4(this);
|
|
6604
6740
|
try {
|
|
@@ -6617,6 +6753,55 @@ $$9({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnE
|
|
|
6617
6753
|
}
|
|
6618
6754
|
});
|
|
6619
6755
|
|
|
6756
|
+
var wellKnownSymbol = wellKnownSymbol$9;
|
|
6757
|
+
var create = objectCreate;
|
|
6758
|
+
var defineProperty = objectDefineProperty.f;
|
|
6759
|
+
|
|
6760
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
6761
|
+
var ArrayPrototype = Array.prototype;
|
|
6762
|
+
|
|
6763
|
+
// Array.prototype[@@unscopables]
|
|
6764
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6765
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
6766
|
+
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
6767
|
+
configurable: true,
|
|
6768
|
+
value: create(null)
|
|
6769
|
+
});
|
|
6770
|
+
}
|
|
6771
|
+
|
|
6772
|
+
// add a key to Array.prototype[@@unscopables]
|
|
6773
|
+
var addToUnscopables$1 = function (key) {
|
|
6774
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
6775
|
+
};
|
|
6776
|
+
|
|
6777
|
+
var $$9 = _export;
|
|
6778
|
+
var $includes = arrayIncludes.includes;
|
|
6779
|
+
var fails$5 = fails$j;
|
|
6780
|
+
var addToUnscopables = addToUnscopables$1;
|
|
6781
|
+
|
|
6782
|
+
// FF99+ bug
|
|
6783
|
+
var BROKEN_ON_SPARSE = fails$5(function () {
|
|
6784
|
+
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
6785
|
+
return !Array(1).includes();
|
|
6786
|
+
});
|
|
6787
|
+
|
|
6788
|
+
// Safari 26.4- bug
|
|
6789
|
+
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$5(function () {
|
|
6790
|
+
// eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
|
|
6791
|
+
return [, 1].includes(undefined, 1);
|
|
6792
|
+
});
|
|
6793
|
+
|
|
6794
|
+
// `Array.prototype.includes` method
|
|
6795
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
6796
|
+
$$9({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
|
|
6797
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
6798
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
6799
|
+
}
|
|
6800
|
+
});
|
|
6801
|
+
|
|
6802
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6803
|
+
addToUnscopables('includes');
|
|
6804
|
+
|
|
6620
6805
|
function useMediaQuery(query) {
|
|
6621
6806
|
const [matches, setMatches] = useState(false);
|
|
6622
6807
|
useEffect(() => {
|
|
@@ -6999,7 +7184,7 @@ var getIteratorDirect$3 = getIteratorDirect$9;
|
|
|
6999
7184
|
var iteratorClose$2 = iteratorClose$d;
|
|
7000
7185
|
var iteratorHelperWithoutClosingOnEarlyError$2 = iteratorHelperWithoutClosingOnEarlyError$7;
|
|
7001
7186
|
var apply$1 = functionApply;
|
|
7002
|
-
var fails$4 = fails$
|
|
7187
|
+
var fails$4 = fails$j;
|
|
7003
7188
|
|
|
7004
7189
|
var $TypeError$3 = TypeError;
|
|
7005
7190
|
|
|
@@ -8585,7 +8770,7 @@ var $TypeError$1 = TypeError;
|
|
|
8585
8770
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
8586
8771
|
|
|
8587
8772
|
var doesNotExceedSafeInteger$1 = function (it) {
|
|
8588
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');
|
|
8773
|
+
if (it > MAX_SAFE_INTEGER) throw new $TypeError$1('Maximum allowed index exceeded');
|
|
8589
8774
|
return it;
|
|
8590
8775
|
};
|
|
8591
8776
|
|
|
@@ -8594,7 +8779,7 @@ var toObject = toObject$3;
|
|
|
8594
8779
|
var lengthOfArrayLike$1 = lengthOfArrayLike$4;
|
|
8595
8780
|
var setArrayLength = arraySetLength;
|
|
8596
8781
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
8597
|
-
var fails$3 = fails$
|
|
8782
|
+
var fails$3 = fails$j;
|
|
8598
8783
|
|
|
8599
8784
|
var INCORRECT_TO_LENGTH = fails$3(function () {
|
|
8600
8785
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
@@ -10198,7 +10383,7 @@ const TagWrapper$4 = styled('div', {
|
|
|
10198
10383
|
},
|
|
10199
10384
|
varian: {
|
|
10200
10385
|
background: '$bgWhite',
|
|
10201
|
-
color: '$
|
|
10386
|
+
color: '$textBrand',
|
|
10202
10387
|
border: '1px solid $bgBorder'
|
|
10203
10388
|
}
|
|
10204
10389
|
}
|
|
@@ -10572,7 +10757,7 @@ const StyledSwitch$1 = styled(SwitchPrimitive.Root, {
|
|
|
10572
10757
|
right: '$spacing-03'
|
|
10573
10758
|
},
|
|
10574
10759
|
'&[data-state="checked"]': {
|
|
10575
|
-
backgroundColor: '$
|
|
10760
|
+
backgroundColor: '$bgBrand',
|
|
10576
10761
|
'&::before': {
|
|
10577
10762
|
display: 'block',
|
|
10578
10763
|
content: 'attr(dataOnLabel)',
|
|
@@ -12280,7 +12465,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
12280
12465
|
} : {
|
|
12281
12466
|
backgroundColor: highlightedIndex === index ? '$bgGray' : 'white',
|
|
12282
12467
|
fontWeight: 'normal',
|
|
12283
|
-
color: selectedItem && selectedItem.value === item.value ? '$
|
|
12468
|
+
color: selectedItem && selectedItem.value === item.value ? '$textBrand' : '$textPrimary'
|
|
12284
12469
|
} : {
|
|
12285
12470
|
backgroundColor: 'unset',
|
|
12286
12471
|
cursor: 'default'
|
|
@@ -12434,7 +12619,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
12434
12619
|
} : {
|
|
12435
12620
|
backgroundColor: highlightedIndex === index ? '$bgGray' : 'white',
|
|
12436
12621
|
fontWeight: 'normal',
|
|
12437
|
-
color: selectedItem && selectedItem.value === item.value ? '$
|
|
12622
|
+
color: selectedItem && selectedItem.value === item.value ? '$textBrand' : '$textPrimary'
|
|
12438
12623
|
} : {
|
|
12439
12624
|
backgroundColor: 'unset',
|
|
12440
12625
|
cursor: 'default'
|
|
@@ -12549,7 +12734,7 @@ var parseJsonString = function (source, i) {
|
|
|
12549
12734
|
};
|
|
12550
12735
|
|
|
12551
12736
|
/* eslint-disable es/no-json -- safe */
|
|
12552
|
-
var fails$2 = fails$
|
|
12737
|
+
var fails$2 = fails$j;
|
|
12553
12738
|
|
|
12554
12739
|
var nativeRawJson = !fails$2(function () {
|
|
12555
12740
|
var unsafeInt = '9007199254740993';
|
|
@@ -12564,7 +12749,7 @@ var getBuiltIn$1 = getBuiltIn$6;
|
|
|
12564
12749
|
var apply = functionApply;
|
|
12565
12750
|
var call$2 = functionCall;
|
|
12566
12751
|
var uncurryThis$5 = functionUncurryThis;
|
|
12567
|
-
var fails$1 = fails$
|
|
12752
|
+
var fails$1 = fails$j;
|
|
12568
12753
|
var isArray$6 = isArray$8;
|
|
12569
12754
|
var isCallable$1 = isCallable$g;
|
|
12570
12755
|
var isRawJSON = isRawJson;
|
|
@@ -12588,8 +12773,8 @@ var push$2 = uncurryThis$5([].push);
|
|
|
12588
12773
|
var numberToString = uncurryThis$5(1.1.toString);
|
|
12589
12774
|
|
|
12590
12775
|
var surrogates = /[\uD800-\uDFFF]/g;
|
|
12591
|
-
var
|
|
12592
|
-
var
|
|
12776
|
+
var leadingSurrogates = /^[\uD800-\uDBFF]$/;
|
|
12777
|
+
var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
|
|
12593
12778
|
|
|
12594
12779
|
var MARK = uid();
|
|
12595
12780
|
var MARK_LENGTH = MARK.length;
|
|
@@ -12625,7 +12810,10 @@ var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (
|
|
|
12625
12810
|
var fixIllFormedJSON = function (match, offset, string) {
|
|
12626
12811
|
var prev = charAt(string, offset - 1);
|
|
12627
12812
|
var next = charAt(string, offset + 1);
|
|
12628
|
-
if (
|
|
12813
|
+
if (
|
|
12814
|
+
(exec$1(leadingSurrogates, match) && !exec$1(trailingSurrogates, next)) ||
|
|
12815
|
+
(exec$1(trailingSurrogates, match) && !exec$1(leadingSurrogates, prev))
|
|
12816
|
+
) {
|
|
12629
12817
|
return '\\u' + numberToString(charCodeAt(match, 0), 16);
|
|
12630
12818
|
} return match;
|
|
12631
12819
|
};
|
|
@@ -12702,16 +12890,7 @@ var mapHelpers = {
|
|
|
12702
12890
|
has: uncurryThis$4(MapPrototype.has),
|
|
12703
12891
|
remove: uncurryThis$4(MapPrototype['delete'])};
|
|
12704
12892
|
|
|
12705
|
-
var has$2 = mapHelpers.has;
|
|
12706
|
-
|
|
12707
|
-
// Perform ? RequireInternalSlot(M, [[MapData]])
|
|
12708
|
-
var aMap$2 = function (it) {
|
|
12709
|
-
has$2(it);
|
|
12710
|
-
return it;
|
|
12711
|
-
};
|
|
12712
|
-
|
|
12713
12893
|
var $$3 = _export;
|
|
12714
|
-
var aMap$1 = aMap$2;
|
|
12715
12894
|
var MapHelpers$1 = mapHelpers;
|
|
12716
12895
|
var IS_PURE$1 = isPure;
|
|
12717
12896
|
|
|
@@ -12720,10 +12899,10 @@ var has$1 = MapHelpers$1.has;
|
|
|
12720
12899
|
var set$1 = MapHelpers$1.set;
|
|
12721
12900
|
|
|
12722
12901
|
// `Map.prototype.getOrInsert` method
|
|
12723
|
-
// https://
|
|
12902
|
+
// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
|
|
12724
12903
|
$$3({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
12725
12904
|
getOrInsert: function getOrInsert(key, value) {
|
|
12726
|
-
if (has$1(
|
|
12905
|
+
if (has$1(this, key)) return get$3(this, key);
|
|
12727
12906
|
set$1(this, key, value);
|
|
12728
12907
|
return value;
|
|
12729
12908
|
}
|
|
@@ -12731,7 +12910,6 @@ $$3({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
|
12731
12910
|
|
|
12732
12911
|
var $$2 = _export;
|
|
12733
12912
|
var aCallable$1 = aCallable$d;
|
|
12734
|
-
var aMap = aMap$2;
|
|
12735
12913
|
var MapHelpers = mapHelpers;
|
|
12736
12914
|
var IS_PURE = isPure;
|
|
12737
12915
|
|
|
@@ -12740,12 +12918,12 @@ var has = MapHelpers.has;
|
|
|
12740
12918
|
var set = MapHelpers.set;
|
|
12741
12919
|
|
|
12742
12920
|
// `Map.prototype.getOrInsertComputed` method
|
|
12743
|
-
// https://
|
|
12921
|
+
// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
|
|
12744
12922
|
$$2({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
|
|
12745
12923
|
getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
|
|
12746
|
-
|
|
12924
|
+
var hasKey = has(this, key);
|
|
12747
12925
|
aCallable$1(callbackfn);
|
|
12748
|
-
if (
|
|
12926
|
+
if (hasKey) return get$2(this, key);
|
|
12749
12927
|
// CanonicalizeKeyedCollectionKey
|
|
12750
12928
|
if (key === 0 && 1 / key === -Infinity) key = 0;
|
|
12751
12929
|
var value = callbackfn(key);
|
|
@@ -13732,8 +13910,8 @@ const InputSelectCheck = /*#__PURE__*/forwardRef(({
|
|
|
13732
13910
|
}, !item?.hideCheck && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
13733
13911
|
color: colors$7.iconDisable
|
|
13734
13912
|
}) : selectedValueSet.has(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
13735
|
-
color: colors$7.
|
|
13736
|
-
})), isShowSelectAll && item?.id === '!all' && selectedValue?.length && selectedValue?.length < itemsLength ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, null, "-") : /*#__PURE__*/React__default.createElement("div", null)), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
13913
|
+
color: colors$7.iconBrand
|
|
13914
|
+
})), isShowSelectAll && item?.id === '!all' && selectedValue?.length && selectedValue?.length < itemsLength && !selectedValueSet.has('!all') ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, null, "-") : /*#__PURE__*/React__default.createElement("div", null)), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
13737
13915
|
css: {
|
|
13738
13916
|
backgroundColor: 'unset',
|
|
13739
13917
|
width: '100%'
|
|
@@ -13770,7 +13948,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef(({
|
|
|
13770
13948
|
}, !item?.hideCheck && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
13771
13949
|
color: colors$7.iconDisable
|
|
13772
13950
|
}) : filterSelectedChild?.length === item?.children?.filter(e => !e.isDisabled)?.length ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
13773
|
-
color: colors$7.
|
|
13951
|
+
color: colors$7.iconBrand
|
|
13774
13952
|
}) : filterSelectedChild?.length > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, null, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
13775
13953
|
css: {
|
|
13776
13954
|
backgroundColor: 'unset',
|
|
@@ -13902,13 +14080,13 @@ const InputSelectCheck = /*#__PURE__*/forwardRef(({
|
|
|
13902
14080
|
css: {
|
|
13903
14081
|
fontSize: '$label'
|
|
13904
14082
|
},
|
|
13905
|
-
color: "
|
|
14083
|
+
color: "brand"
|
|
13906
14084
|
}, `${totalOptions ? totalOptions : selectedItems?.filter(item => item?.id !== '!all')?.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`))), showCounter && !isShowTagSelectAll && Boolean(selectedItems?.length) && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
13907
14085
|
css: {
|
|
13908
14086
|
fontSize: '$label',
|
|
13909
14087
|
marginTop: '$spacing-01'
|
|
13910
14088
|
},
|
|
13911
|
-
color: "
|
|
14089
|
+
color: "brand"
|
|
13912
14090
|
}, `${totalOptions ? totalOptions : selectedItems?.filter(item => item?.id !== '!all')?.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
|
|
13913
14091
|
placement: placement,
|
|
13914
14092
|
css: {
|
|
@@ -14008,7 +14186,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef(({
|
|
|
14008
14186
|
}, !item?.hideCheck && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
14009
14187
|
color: colors$7.iconDisable
|
|
14010
14188
|
}) : item?.children?.filter(e => selectedValueSet.has(e.id) && !e.isDisabled)?.length === item?.children?.filter(e => !e.isDisabled)?.length ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
14011
|
-
color: colors$7.
|
|
14189
|
+
color: colors$7.iconBrand
|
|
14012
14190
|
}) : item?.children?.filter(e => selectedValueSet.has(e.id) && !e.isDisabled)?.length > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, null, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
14013
14191
|
css: {
|
|
14014
14192
|
backgroundColor: 'unset',
|
|
@@ -14296,7 +14474,7 @@ const ItemWrapper = styled('div', {
|
|
|
14296
14474
|
marginLeft: '10px',
|
|
14297
14475
|
fontSize: '$content-button',
|
|
14298
14476
|
fontWeight: 600,
|
|
14299
|
-
color: '$
|
|
14477
|
+
color: '$textBrand',
|
|
14300
14478
|
height: '100%'
|
|
14301
14479
|
});
|
|
14302
14480
|
const Item$1 = styled('div', {
|
|
@@ -14352,7 +14530,7 @@ function InputCreatable({
|
|
|
14352
14530
|
display: isOpen ? 'block' : 'none'
|
|
14353
14531
|
}
|
|
14354
14532
|
}, /*#__PURE__*/React__default.createElement(ItemWrapper, null, /*#__PURE__*/React__default.createElement(CirclePlusOutline, {
|
|
14355
|
-
color: colors$7.
|
|
14533
|
+
color: colors$7.iconBrand
|
|
14356
14534
|
}), /*#__PURE__*/React__default.createElement(Item$1, {
|
|
14357
14535
|
onClick: () => {
|
|
14358
14536
|
if (onClickItem) onClickItem();
|
|
@@ -14551,7 +14729,7 @@ function InputResourceList({
|
|
|
14551
14729
|
type: "varian",
|
|
14552
14730
|
size: "lg",
|
|
14553
14731
|
css: {
|
|
14554
|
-
color: disabled || isDisabled ? '$textDisable' : '$
|
|
14732
|
+
color: disabled || isDisabled ? '$textDisable' : '$textBrand'
|
|
14555
14733
|
}
|
|
14556
14734
|
}, {}, {
|
|
14557
14735
|
children: variant
|
|
@@ -14767,7 +14945,7 @@ function InputResourceList({
|
|
|
14767
14945
|
},
|
|
14768
14946
|
children: jsx(Text$1, {
|
|
14769
14947
|
variant: "helper",
|
|
14770
|
-
color: disabled ? 'disable' : '
|
|
14948
|
+
color: disabled ? 'disable' : 'brand',
|
|
14771
14949
|
children: `${checkedItems.length} ${counterFooterText || t('counterFooterText', 'kategori dipilih')}`
|
|
14772
14950
|
})
|
|
14773
14951
|
})]
|
|
@@ -14788,7 +14966,7 @@ function InputResourceList({
|
|
|
14788
14966
|
onClick: handleCheckedAllExpandable,
|
|
14789
14967
|
border: !isAllSelected && !isIndeterminate,
|
|
14790
14968
|
children: isAllSelected ? jsx(CheckOutline, {
|
|
14791
|
-
color: colors$7.
|
|
14969
|
+
color: colors$7.iconBrand
|
|
14792
14970
|
}) : isIndeterminate ? jsx(IndeterminateFilled, {
|
|
14793
14971
|
children: "-"
|
|
14794
14972
|
}) : ''
|
|
@@ -15005,7 +15183,7 @@ function ResendOTP(props) {
|
|
|
15005
15183
|
}
|
|
15006
15184
|
}
|
|
15007
15185
|
return jsx(Paragraph, {
|
|
15008
|
-
color: "
|
|
15186
|
+
color: "brand",
|
|
15009
15187
|
css: {
|
|
15010
15188
|
cursor: time > 0 ? 'not-allowed' : 'pointer',
|
|
15011
15189
|
userSelect: 'none'
|
|
@@ -15615,19 +15793,19 @@ const GroupItemComponent = styled(ToggleGroupPrimitive.Item, {
|
|
|
15615
15793
|
margin: '0 $spacing-02',
|
|
15616
15794
|
cursor: 'pointer',
|
|
15617
15795
|
'&:hover': {
|
|
15618
|
-
backgroundColor: '$
|
|
15619
|
-
color: '$
|
|
15796
|
+
backgroundColor: '$btnHoverSecondary',
|
|
15797
|
+
color: '$textBrand'
|
|
15620
15798
|
},
|
|
15621
15799
|
'&:active': {
|
|
15622
|
-
border: '1px solid
|
|
15800
|
+
border: '1px solid $borderFocus'
|
|
15623
15801
|
},
|
|
15624
15802
|
'&:focus': {
|
|
15625
|
-
backgroundColor: '$
|
|
15803
|
+
backgroundColor: '$btnPrimary',
|
|
15626
15804
|
color: '$textWhite',
|
|
15627
15805
|
border: 'none'
|
|
15628
15806
|
},
|
|
15629
15807
|
'&[data-state=on]': {
|
|
15630
|
-
backgroundColor: '$
|
|
15808
|
+
backgroundColor: '$btnPrimary',
|
|
15631
15809
|
color: '$textWhite',
|
|
15632
15810
|
border: 'none'
|
|
15633
15811
|
},
|
|
@@ -15890,8 +16068,8 @@ const DateNumber = styled('div', {
|
|
|
15890
16068
|
variant: {
|
|
15891
16069
|
default: {
|
|
15892
16070
|
'&:hover': {
|
|
15893
|
-
backgroundColor: '$
|
|
15894
|
-
color: '$
|
|
16071
|
+
backgroundColor: '$bgSelectedLight',
|
|
16072
|
+
color: '$textBrand'
|
|
15895
16073
|
}
|
|
15896
16074
|
},
|
|
15897
16075
|
disabled: {
|
|
@@ -15903,7 +16081,7 @@ const DateNumber = styled('div', {
|
|
|
15903
16081
|
color: "$gray400"
|
|
15904
16082
|
},
|
|
15905
16083
|
selected: {
|
|
15906
|
-
backgroundColor: '$
|
|
16084
|
+
backgroundColor: '$bgBrand',
|
|
15907
16085
|
color: '$white',
|
|
15908
16086
|
borderRadius: '$round',
|
|
15909
16087
|
width: 30,
|
|
@@ -15912,24 +16090,24 @@ const DateNumber = styled('div', {
|
|
|
15912
16090
|
},
|
|
15913
16091
|
defaultv2: {
|
|
15914
16092
|
'&:hover': {
|
|
15915
|
-
backgroundColor: '$
|
|
16093
|
+
backgroundColor: '$bgSelectedLight'
|
|
15916
16094
|
}
|
|
15917
16095
|
},
|
|
15918
16096
|
selectedv2: {
|
|
15919
|
-
backgroundColor: '$
|
|
16097
|
+
backgroundColor: '$bgSelectedLight'
|
|
15920
16098
|
},
|
|
15921
16099
|
start: {
|
|
15922
|
-
backgroundColor: '$
|
|
16100
|
+
backgroundColor: '$bgBrand',
|
|
15923
16101
|
borderRadius: '42px 0px 0px 42px',
|
|
15924
16102
|
color: '$white'
|
|
15925
16103
|
},
|
|
15926
16104
|
end: {
|
|
15927
|
-
backgroundColor: '$
|
|
16105
|
+
backgroundColor: '$bgBrand',
|
|
15928
16106
|
borderRadius: '0px 42px 42px 0px',
|
|
15929
16107
|
color: '$white'
|
|
15930
16108
|
},
|
|
15931
16109
|
road: {
|
|
15932
|
-
backgroundColor: '$
|
|
16110
|
+
backgroundColor: '$bgSelectedLight'
|
|
15933
16111
|
}
|
|
15934
16112
|
},
|
|
15935
16113
|
size: {
|
|
@@ -16038,7 +16216,7 @@ const IconUp = styled(ChevronUpOutline, {
|
|
|
16038
16216
|
cursor: 'pointer',
|
|
16039
16217
|
borderRadius: 6,
|
|
16040
16218
|
'&:hover': {
|
|
16041
|
-
background: '$
|
|
16219
|
+
background: '$bgSelectedLight'
|
|
16042
16220
|
},
|
|
16043
16221
|
variants: {
|
|
16044
16222
|
disabled: {
|
|
@@ -16056,7 +16234,7 @@ const IconDown = styled(ChevronDownOutline, {
|
|
|
16056
16234
|
cursor: 'pointer',
|
|
16057
16235
|
borderRadius: 6,
|
|
16058
16236
|
'&:hover': {
|
|
16059
|
-
background: '$
|
|
16237
|
+
background: '$bgSelectedLight'
|
|
16060
16238
|
},
|
|
16061
16239
|
variants: {
|
|
16062
16240
|
disabled: {
|
|
@@ -16776,11 +16954,11 @@ const ArrowButton$2 = styled('button', {
|
|
|
16776
16954
|
justifyContent: 'center',
|
|
16777
16955
|
color: '$iconPrimary',
|
|
16778
16956
|
'&:hover': {
|
|
16779
|
-
backgroundColor: '$
|
|
16780
|
-
color: '$
|
|
16957
|
+
backgroundColor: '$bgSelectedLight',
|
|
16958
|
+
color: '$textBrand'
|
|
16781
16959
|
},
|
|
16782
16960
|
'&:active': {
|
|
16783
|
-
backgroundColor: '$
|
|
16961
|
+
backgroundColor: '$bgBrand',
|
|
16784
16962
|
color: '$bgWhite'
|
|
16785
16963
|
},
|
|
16786
16964
|
cursor: 'pointer',
|
|
@@ -16832,11 +17010,11 @@ const TitleButton$2 = styled('p', {
|
|
|
16832
17010
|
fontSize: 16,
|
|
16833
17011
|
color: '$textPrimary',
|
|
16834
17012
|
'&:hover': {
|
|
16835
|
-
backgroundColor: '$
|
|
16836
|
-
color: '$
|
|
17013
|
+
backgroundColor: '$bgSelectedLight',
|
|
17014
|
+
color: '$textBrand'
|
|
16837
17015
|
},
|
|
16838
17016
|
'&:active': {
|
|
16839
|
-
backgroundColor: '$
|
|
17017
|
+
backgroundColor: '$bgBrand',
|
|
16840
17018
|
color: '$bgWhite'
|
|
16841
17019
|
},
|
|
16842
17020
|
cursor: 'pointer',
|
|
@@ -16865,11 +17043,11 @@ const MonthButton$2 = styled(Text$1, {
|
|
|
16865
17043
|
fontWeight: '400',
|
|
16866
17044
|
color: '$textPrimary',
|
|
16867
17045
|
'&:hover': {
|
|
16868
|
-
backgroundColor: '$
|
|
16869
|
-
color: '$
|
|
17046
|
+
backgroundColor: '$bgSelectedLight',
|
|
17047
|
+
color: '$textBrand'
|
|
16870
17048
|
},
|
|
16871
17049
|
'&:active': {
|
|
16872
|
-
backgroundColor: '$
|
|
17050
|
+
backgroundColor: '$bgBrand',
|
|
16873
17051
|
color: '$bgWhite'
|
|
16874
17052
|
},
|
|
16875
17053
|
'&:disabled': {
|
|
@@ -16880,7 +17058,7 @@ const MonthButton$2 = styled(Text$1, {
|
|
|
16880
17058
|
variants: {
|
|
16881
17059
|
isSelected: {
|
|
16882
17060
|
true: {
|
|
16883
|
-
backgroundColor: '$
|
|
17061
|
+
backgroundColor: '$bgBrand',
|
|
16884
17062
|
color: '$bgWhite'
|
|
16885
17063
|
}
|
|
16886
17064
|
}
|
|
@@ -16902,8 +17080,8 @@ styled('button', {
|
|
|
16902
17080
|
borderRadius: 2,
|
|
16903
17081
|
color: '$textPrimary',
|
|
16904
17082
|
'&:hover': {
|
|
16905
|
-
background: '$
|
|
16906
|
-
color: '$
|
|
17083
|
+
background: '$bgSelectedLight',
|
|
17084
|
+
color: '$textBrand'
|
|
16907
17085
|
},
|
|
16908
17086
|
variants: {
|
|
16909
17087
|
disabled: {
|
|
@@ -17409,11 +17587,11 @@ const ArrowButton$1 = styled('button', {
|
|
|
17409
17587
|
justifyContent: 'center',
|
|
17410
17588
|
color: '$iconPrimary',
|
|
17411
17589
|
'&:hover': {
|
|
17412
|
-
backgroundColor: '$
|
|
17413
|
-
color: '$
|
|
17590
|
+
backgroundColor: '$bgSelectedLight',
|
|
17591
|
+
color: '$textBrand'
|
|
17414
17592
|
},
|
|
17415
17593
|
'&:active': {
|
|
17416
|
-
backgroundColor: '$
|
|
17594
|
+
backgroundColor: '$bgBrand',
|
|
17417
17595
|
color: '$white'
|
|
17418
17596
|
},
|
|
17419
17597
|
cursor: 'pointer',
|
|
@@ -17485,11 +17663,11 @@ const TitleButton$1 = styled(Heading, {
|
|
|
17485
17663
|
padding: '2px $spacing-04',
|
|
17486
17664
|
color: '$textPrimary',
|
|
17487
17665
|
'&:hover': {
|
|
17488
|
-
backgroundColor: '$
|
|
17489
|
-
color: '$
|
|
17666
|
+
backgroundColor: '$bgSelectedLight',
|
|
17667
|
+
color: '$textBrand'
|
|
17490
17668
|
},
|
|
17491
17669
|
'&:active': {
|
|
17492
|
-
backgroundColor: '$
|
|
17670
|
+
backgroundColor: '$bgBrand',
|
|
17493
17671
|
color: '$white'
|
|
17494
17672
|
},
|
|
17495
17673
|
cursor: 'pointer',
|
|
@@ -17518,11 +17696,11 @@ const MonthButton$1 = styled(Text$1, {
|
|
|
17518
17696
|
fontWeight: '400',
|
|
17519
17697
|
color: '$textPrimary',
|
|
17520
17698
|
'&:hover': {
|
|
17521
|
-
backgroundColor: '$
|
|
17522
|
-
color: '$
|
|
17699
|
+
backgroundColor: '$bgSelectedLight',
|
|
17700
|
+
color: '$textBrand'
|
|
17523
17701
|
},
|
|
17524
17702
|
'&:active': {
|
|
17525
|
-
backgroundColor: '$
|
|
17703
|
+
backgroundColor: '$bgBrand',
|
|
17526
17704
|
color: '$white'
|
|
17527
17705
|
},
|
|
17528
17706
|
'&:disabled': {
|
|
@@ -17533,7 +17711,7 @@ const MonthButton$1 = styled(Text$1, {
|
|
|
17533
17711
|
variants: {
|
|
17534
17712
|
isSelected: {
|
|
17535
17713
|
true: {
|
|
17536
|
-
backgroundColor: '$
|
|
17714
|
+
backgroundColor: '$bgBrand',
|
|
17537
17715
|
color: '$white'
|
|
17538
17716
|
}
|
|
17539
17717
|
}
|
|
@@ -17901,11 +18079,11 @@ const ArrowButton = styled('button', {
|
|
|
17901
18079
|
justifyContent: 'center',
|
|
17902
18080
|
color: '$iconPrimary',
|
|
17903
18081
|
'&:hover': {
|
|
17904
|
-
backgroundColor: '$
|
|
17905
|
-
color: '$
|
|
18082
|
+
backgroundColor: '$bgSelectedLight',
|
|
18083
|
+
color: '$textBrand'
|
|
17906
18084
|
},
|
|
17907
18085
|
'&:active': {
|
|
17908
|
-
backgroundColor: '$
|
|
18086
|
+
backgroundColor: '$bgBrand',
|
|
17909
18087
|
color: '$bgWhite'
|
|
17910
18088
|
},
|
|
17911
18089
|
cursor: 'pointer',
|
|
@@ -17937,11 +18115,11 @@ const TitleButton = styled('p', {
|
|
|
17937
18115
|
fontSize: 16,
|
|
17938
18116
|
color: '$textPrimary',
|
|
17939
18117
|
'&:hover': {
|
|
17940
|
-
backgroundColor: '$
|
|
17941
|
-
color: '$
|
|
18118
|
+
backgroundColor: '$bgSelectedLight',
|
|
18119
|
+
color: '$textBrand'
|
|
17942
18120
|
},
|
|
17943
18121
|
'&:active': {
|
|
17944
|
-
backgroundColor: '$
|
|
18122
|
+
backgroundColor: '$bgBrand',
|
|
17945
18123
|
color: '$bgWhite'
|
|
17946
18124
|
},
|
|
17947
18125
|
cursor: 'pointer',
|
|
@@ -17970,11 +18148,11 @@ const MonthButton = styled(Text$1, {
|
|
|
17970
18148
|
fontWeight: '400',
|
|
17971
18149
|
color: '$textPrimary',
|
|
17972
18150
|
'&:hover': {
|
|
17973
|
-
backgroundColor: '$
|
|
17974
|
-
color: '$
|
|
18151
|
+
backgroundColor: '$bgSelectedLight',
|
|
18152
|
+
color: '$textBrand'
|
|
17975
18153
|
},
|
|
17976
18154
|
'&:active': {
|
|
17977
|
-
backgroundColor: '$
|
|
18155
|
+
backgroundColor: '$bgBrand',
|
|
17978
18156
|
color: '$bgWhite'
|
|
17979
18157
|
},
|
|
17980
18158
|
'&:disabled': {
|
|
@@ -17985,7 +18163,7 @@ const MonthButton = styled(Text$1, {
|
|
|
17985
18163
|
variants: {
|
|
17986
18164
|
isSelected: {
|
|
17987
18165
|
true: {
|
|
17988
|
-
backgroundColor: '$
|
|
18166
|
+
backgroundColor: '$bgBrand',
|
|
17989
18167
|
color: '$bgWhite'
|
|
17990
18168
|
}
|
|
17991
18169
|
}
|
|
@@ -18850,11 +19028,11 @@ const IconStateFull$1 = props => {
|
|
|
18850
19028
|
setIsHover(false);
|
|
18851
19029
|
}
|
|
18852
19030
|
return props.type === 'next' ? jsx(ChevronRightOutline, Object.assign({}, props, {
|
|
18853
|
-
color: isHover && !props.disabled ?
|
|
19031
|
+
color: isHover && !props.disabled ? colors$7.primary400 : colors$7.iconPrimary,
|
|
18854
19032
|
onMouseEnter: handleHover,
|
|
18855
19033
|
onMouseLeave: handleUnHover
|
|
18856
19034
|
})) : jsx(ChevronLeftOutline, Object.assign({}, props, {
|
|
18857
|
-
color: isHover && !props.disabled ?
|
|
19035
|
+
color: isHover && !props.disabled ? colors$7.primary400 : colors$7.iconPrimary,
|
|
18858
19036
|
onMouseEnter: handleHover,
|
|
18859
19037
|
onMouseLeave: handleUnHover
|
|
18860
19038
|
}));
|
|
@@ -19482,7 +19660,7 @@ const SignatureContainer = styled$1(Flex$1, {
|
|
|
19482
19660
|
background: '$bgGray',
|
|
19483
19661
|
'&:hover': {
|
|
19484
19662
|
border: '2px dashed $primary400',
|
|
19485
|
-
background: '$
|
|
19663
|
+
background: '$bgSelectedLight'
|
|
19486
19664
|
},
|
|
19487
19665
|
variants: {
|
|
19488
19666
|
hasContent: {
|
|
@@ -19599,9 +19777,9 @@ const StyledTrack = styled$1(SliderPrimitive.Track, {
|
|
|
19599
19777
|
position: 'relative',
|
|
19600
19778
|
flexGrow: 1,
|
|
19601
19779
|
borderRadius: '9999px',
|
|
19602
|
-
backgroundColor: '$
|
|
19780
|
+
backgroundColor: '$chartLightBrand',
|
|
19603
19781
|
'&:hover': {
|
|
19604
|
-
backgroundColor: '$
|
|
19782
|
+
backgroundColor: '$bgSelectedLight'
|
|
19605
19783
|
},
|
|
19606
19784
|
'&[data-orientation="horizontal"]': {
|
|
19607
19785
|
height: 4
|
|
@@ -19678,6 +19856,12 @@ const StyledTrack = styled$1(SliderPrimitive.Track, {
|
|
|
19678
19856
|
'&:hover': {
|
|
19679
19857
|
backgroundColor: '$gray200'
|
|
19680
19858
|
}
|
|
19859
|
+
},
|
|
19860
|
+
brand: {
|
|
19861
|
+
backgroundColor: '$chartLightBrand',
|
|
19862
|
+
'&:hover': {
|
|
19863
|
+
backgroundColor: '$bgSelectedLight'
|
|
19864
|
+
}
|
|
19681
19865
|
}
|
|
19682
19866
|
}
|
|
19683
19867
|
}
|
|
@@ -19735,6 +19919,12 @@ const StyledRange = styled$1(SliderPrimitive.Range, {
|
|
|
19735
19919
|
'&:hover': {
|
|
19736
19920
|
backgroundColor: '$gray900'
|
|
19737
19921
|
}
|
|
19922
|
+
},
|
|
19923
|
+
brand: {
|
|
19924
|
+
backgroundColor: '$chartBrand',
|
|
19925
|
+
'&:hover': {
|
|
19926
|
+
backgroundColor: '$primary600'
|
|
19927
|
+
}
|
|
19738
19928
|
}
|
|
19739
19929
|
}
|
|
19740
19930
|
}
|
|
@@ -19746,11 +19936,11 @@ const StyledThumb = styled$1(SliderPrimitive.Thumb, {
|
|
|
19746
19936
|
height: 17,
|
|
19747
19937
|
borderRadius: '50%',
|
|
19748
19938
|
backgroundColor: '$white',
|
|
19749
|
-
border: '1px solid $
|
|
19939
|
+
border: '1px solid $chartLightBrand',
|
|
19750
19940
|
$$shadowColor: '$colors$gray200',
|
|
19751
19941
|
boxShadow: '0px 2px 10px $$shadowColor',
|
|
19752
19942
|
'&:hover': {
|
|
19753
|
-
backgroundColor: '$
|
|
19943
|
+
backgroundColor: '$chartBrand'
|
|
19754
19944
|
},
|
|
19755
19945
|
'&:focus': {
|
|
19756
19946
|
boxShadow: '0 0 0 3px $$shadowColor'
|
|
@@ -19812,6 +20002,12 @@ const StyledThumb = styled$1(SliderPrimitive.Thumb, {
|
|
|
19812
20002
|
'&:hover': {
|
|
19813
20003
|
backgroundColor: '$chartLightGray'
|
|
19814
20004
|
}
|
|
20005
|
+
},
|
|
20006
|
+
brand: {
|
|
20007
|
+
border: '1px solid $chartBrand',
|
|
20008
|
+
'&:hover': {
|
|
20009
|
+
backgroundColor: '$chartLightBrand'
|
|
20010
|
+
}
|
|
19815
20011
|
}
|
|
19816
20012
|
}
|
|
19817
20013
|
}
|
|
@@ -19890,7 +20086,7 @@ Slider.defaultProps = {
|
|
|
19890
20086
|
max: 100,
|
|
19891
20087
|
step: 1,
|
|
19892
20088
|
minStepsBetweenThumbs: 0,
|
|
19893
|
-
color: '
|
|
20089
|
+
color: 'brand',
|
|
19894
20090
|
size: 'm'
|
|
19895
20091
|
};
|
|
19896
20092
|
|
|
@@ -20081,18 +20277,22 @@ const StyledTrigger$1 = styled(TabsPrimitive.Trigger, {
|
|
|
20081
20277
|
lineHeight: '$short-content-bold',
|
|
20082
20278
|
letterSpacing: '$header-tabs',
|
|
20083
20279
|
fontWeight: 500,
|
|
20084
|
-
color: '$
|
|
20280
|
+
color: '$textSecondary',
|
|
20085
20281
|
userSelect: 'none',
|
|
20086
20282
|
cursor: 'pointer',
|
|
20087
20283
|
position: 'relative',
|
|
20284
|
+
'&:hover': {
|
|
20285
|
+
backgroundColor: '$btnHoverSecondary'
|
|
20286
|
+
},
|
|
20088
20287
|
'&[data-state="active"]': {
|
|
20288
|
+
color: '$textBrand',
|
|
20089
20289
|
'&::after': {
|
|
20090
20290
|
content: '',
|
|
20091
20291
|
position: 'absolute',
|
|
20092
20292
|
bottom: 0,
|
|
20093
20293
|
left: 0,
|
|
20094
20294
|
right: 0,
|
|
20095
|
-
background: '$
|
|
20295
|
+
background: '$bgBrand',
|
|
20096
20296
|
height: '4px',
|
|
20097
20297
|
borderRadius: '1px'
|
|
20098
20298
|
}
|
|
@@ -20227,7 +20427,7 @@ const TabsList$1 = ({
|
|
|
20227
20427
|
icon: true,
|
|
20228
20428
|
onClick: () => listContainerRef.current.scrollLeft -= scrollAreaWidth / 2
|
|
20229
20429
|
}, /*#__PURE__*/React__default.createElement(ChevronLgLeftOutline, {
|
|
20230
|
-
color: colors$7.
|
|
20430
|
+
color: colors$7.iconBrand
|
|
20231
20431
|
}))), listContainerScrollPosition < scrollAreaWidth - 10 && /*#__PURE__*/React__default.createElement(ScrollButtonContainer, {
|
|
20232
20432
|
position: "right"
|
|
20233
20433
|
}, /*#__PURE__*/React__default.createElement(ScrollButton, {
|
|
@@ -20238,7 +20438,7 @@ const TabsList$1 = ({
|
|
|
20238
20438
|
icon: true,
|
|
20239
20439
|
onClick: () => listContainerRef.current.scrollLeft += scrollAreaWidth / 2
|
|
20240
20440
|
}, /*#__PURE__*/React__default.createElement(ChevronLgRightOutline, {
|
|
20241
|
-
color: colors$7.
|
|
20441
|
+
color: colors$7.iconBrand
|
|
20242
20442
|
}))));
|
|
20243
20443
|
};
|
|
20244
20444
|
const TabsTrigger$1 = ({
|
|
@@ -20266,7 +20466,7 @@ const TabsTrigger$1 = ({
|
|
|
20266
20466
|
whiteSpace: 'nowrap'
|
|
20267
20467
|
}
|
|
20268
20468
|
}, icon && /*#__PURE__*/React__default.cloneElement(icon, {
|
|
20269
|
-
color: activeTabs === value || isIconHovered ? colors$7.
|
|
20469
|
+
color: activeTabs === value || isIconHovered ? colors$7.iconBrand : colors$7.iconDisable
|
|
20270
20470
|
}), (!icon || activeTabs === value) && children)));
|
|
20271
20471
|
};
|
|
20272
20472
|
TabsTrigger$1.propTypes = {
|
|
@@ -20442,23 +20642,23 @@ const IconButton = styled('button', {
|
|
|
20442
20642
|
variants: {
|
|
20443
20643
|
buttonType: {
|
|
20444
20644
|
primary: {
|
|
20445
|
-
backgroundColor: '$
|
|
20645
|
+
backgroundColor: '$btnPrimary',
|
|
20446
20646
|
'&:hover': {
|
|
20447
|
-
backgroundColor: '$
|
|
20448
|
-
color: '$
|
|
20647
|
+
backgroundColor: '$btnHoverPrimary',
|
|
20648
|
+
color: '$textBrand'
|
|
20449
20649
|
},
|
|
20450
20650
|
'&:active': {
|
|
20451
|
-
backgroundColor: '$
|
|
20651
|
+
backgroundColor: '$btnActivePrimary'
|
|
20452
20652
|
}
|
|
20453
20653
|
},
|
|
20454
20654
|
secondary: {
|
|
20455
20655
|
backgroundColor: 'transparent',
|
|
20456
20656
|
'&:hover': {
|
|
20457
|
-
backgroundColor: '$
|
|
20458
|
-
color: '$
|
|
20657
|
+
backgroundColor: '$btnHoverSecondary',
|
|
20658
|
+
color: '$textBrand'
|
|
20459
20659
|
},
|
|
20460
20660
|
'&:active': {
|
|
20461
|
-
backgroundColor: '$
|
|
20661
|
+
backgroundColor: '$btnActiveSecondary'
|
|
20462
20662
|
}
|
|
20463
20663
|
}
|
|
20464
20664
|
},
|
|
@@ -20600,7 +20800,7 @@ var hasOwn = hasOwnProperty_1;
|
|
|
20600
20800
|
var toString$4 = toString$6;
|
|
20601
20801
|
var lengthOfArrayLike = lengthOfArrayLike$4;
|
|
20602
20802
|
var createProperty = createProperty$3;
|
|
20603
|
-
var fails = fails$
|
|
20803
|
+
var fails = fails$j;
|
|
20604
20804
|
var parseJSONString = parseJsonString;
|
|
20605
20805
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
20606
20806
|
|
|
@@ -20718,10 +20918,12 @@ Context$1.prototype = {
|
|
|
20718
20918
|
var expectKeypair = false;
|
|
20719
20919
|
var object = {};
|
|
20720
20920
|
var nodes = {};
|
|
20921
|
+
var closed = false;
|
|
20721
20922
|
while (i < source.length) {
|
|
20722
20923
|
i = this.until(['"', '}'], i);
|
|
20723
20924
|
if (at(source, i) === '}' && !expectKeypair) {
|
|
20724
20925
|
i++;
|
|
20926
|
+
closed = true;
|
|
20725
20927
|
break;
|
|
20726
20928
|
}
|
|
20727
20929
|
// Parsing the key
|
|
@@ -20741,9 +20943,11 @@ Context$1.prototype = {
|
|
|
20741
20943
|
i++;
|
|
20742
20944
|
} else if (chr === '}') {
|
|
20743
20945
|
i++;
|
|
20946
|
+
closed = true;
|
|
20744
20947
|
break;
|
|
20745
20948
|
}
|
|
20746
20949
|
}
|
|
20950
|
+
if (!closed) throw new SyntaxError$1('Unterminated object at: ' + i);
|
|
20747
20951
|
return this.node(OBJECT, object, this.index, i, nodes);
|
|
20748
20952
|
},
|
|
20749
20953
|
array: function () {
|
|
@@ -20752,10 +20956,12 @@ Context$1.prototype = {
|
|
|
20752
20956
|
var expectElement = false;
|
|
20753
20957
|
var array = [];
|
|
20754
20958
|
var nodes = [];
|
|
20959
|
+
var closed = false;
|
|
20755
20960
|
while (i < source.length) {
|
|
20756
20961
|
i = this.skip(IS_WHITESPACE, i);
|
|
20757
20962
|
if (at(source, i) === ']' && !expectElement) {
|
|
20758
20963
|
i++;
|
|
20964
|
+
closed = true;
|
|
20759
20965
|
break;
|
|
20760
20966
|
}
|
|
20761
20967
|
var result = this.fork(i).parse();
|
|
@@ -20767,9 +20973,11 @@ Context$1.prototype = {
|
|
|
20767
20973
|
i++;
|
|
20768
20974
|
} else if (at(source, i) === ']') {
|
|
20769
20975
|
i++;
|
|
20976
|
+
closed = true;
|
|
20770
20977
|
break;
|
|
20771
20978
|
}
|
|
20772
20979
|
}
|
|
20980
|
+
if (!closed) throw new SyntaxError$1('Unterminated array at: ' + i);
|
|
20773
20981
|
return this.node(OBJECT, array, this.index, i, nodes);
|
|
20774
20982
|
},
|
|
20775
20983
|
string: function () {
|
|
@@ -20785,7 +20993,11 @@ Context$1.prototype = {
|
|
|
20785
20993
|
if (at(source, i) === '0') i++;
|
|
20786
20994
|
else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, i + 1);
|
|
20787
20995
|
else throw new SyntaxError$1('Failed to parse number at: ' + i);
|
|
20788
|
-
if (at(source, i) === '.')
|
|
20996
|
+
if (at(source, i) === '.') {
|
|
20997
|
+
var fractionStartIndex = i + 1;
|
|
20998
|
+
i = this.skip(IS_DIGIT, fractionStartIndex);
|
|
20999
|
+
if (fractionStartIndex === i) throw new SyntaxError$1("Failed to parse number's fraction at: " + i);
|
|
21000
|
+
}
|
|
20789
21001
|
if (at(source, i) === 'e' || at(source, i) === 'E') {
|
|
20790
21002
|
i++;
|
|
20791
21003
|
if (at(source, i) === '+' || at(source, i) === '-') i++;
|
|
@@ -21231,6 +21443,7 @@ function PaginationInfo({
|
|
|
21231
21443
|
padding: '$spacing-04 0px'
|
|
21232
21444
|
}
|
|
21233
21445
|
}, limits?.map(limit => /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
21446
|
+
key: limit,
|
|
21234
21447
|
css: {
|
|
21235
21448
|
height: 44,
|
|
21236
21449
|
width: '100%',
|
|
@@ -22721,14 +22934,14 @@ function HeaderMenuOption(props) {
|
|
|
22721
22934
|
onChange: onChange,
|
|
22722
22935
|
defaultValue: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id),
|
|
22723
22936
|
value: items.length > 0 ? items : visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id),
|
|
22724
|
-
children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(Fragment, {
|
|
22937
|
+
children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(React.Fragment, {
|
|
22725
22938
|
children: [jsx(InputCheckbox, {
|
|
22726
22939
|
id: `idx-${index}`,
|
|
22727
22940
|
label: item.Header,
|
|
22728
22941
|
value: item.id,
|
|
22729
22942
|
disabled: index === 0
|
|
22730
22943
|
}, index), row.length !== index + 1 && jsx(Separator$2, {})]
|
|
22731
|
-
}))
|
|
22944
|
+
}, index))
|
|
22732
22945
|
})
|
|
22733
22946
|
})
|
|
22734
22947
|
})]
|
|
@@ -22762,14 +22975,14 @@ function HeaderMenuOption(props) {
|
|
|
22762
22975
|
onChange: onChange,
|
|
22763
22976
|
defaultValue: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id),
|
|
22764
22977
|
value: items.length > 0 ? items : visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.map(item => item.id),
|
|
22765
|
-
children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(Fragment, {
|
|
22978
|
+
children: visibleHeaders === null || visibleHeaders === void 0 ? void 0 : visibleHeaders.filter(val => typeof val.Header === 'string').map((item, index, row) => jsxs(React.Fragment, {
|
|
22766
22979
|
children: [jsx(InputCheckbox, {
|
|
22767
22980
|
id: `idx-${index}`,
|
|
22768
22981
|
label: item.Header,
|
|
22769
22982
|
value: item.id,
|
|
22770
22983
|
disabled: index === 0
|
|
22771
|
-
}
|
|
22772
|
-
}))
|
|
22984
|
+
}), row.length !== index + 1 && jsx(Separator$2, {})]
|
|
22985
|
+
}, index))
|
|
22773
22986
|
})
|
|
22774
22987
|
})
|
|
22775
22988
|
})]
|
|
@@ -24261,7 +24474,7 @@ const contentShow = keyframes({
|
|
|
24261
24474
|
});
|
|
24262
24475
|
const StyledOverlay = styled(ADialog.Overlay, {
|
|
24263
24476
|
zIndex: 1,
|
|
24264
|
-
backgroundColor:
|
|
24477
|
+
backgroundColor: '$bgDimmer',
|
|
24265
24478
|
position: 'fixed',
|
|
24266
24479
|
inset: 0,
|
|
24267
24480
|
'@media (prefers-reduced-motion: no-preference)': {
|
|
@@ -24294,14 +24507,14 @@ const StyledTitle = styled(ADialog.Title, {
|
|
|
24294
24507
|
display: 'flex',
|
|
24295
24508
|
flexDirection: 'row',
|
|
24296
24509
|
justifyContent: 'space-between',
|
|
24297
|
-
color:
|
|
24510
|
+
color: '$gray900',
|
|
24298
24511
|
fontSize: 17,
|
|
24299
24512
|
fontWeight: 500
|
|
24300
24513
|
});
|
|
24301
24514
|
const StyledDescription$1 = styled('div', {
|
|
24302
24515
|
mx: 24,
|
|
24303
24516
|
my: 20,
|
|
24304
|
-
color:
|
|
24517
|
+
color: '$gray900',
|
|
24305
24518
|
fontSize: 15,
|
|
24306
24519
|
lineHeight: 1.5
|
|
24307
24520
|
});
|
|
@@ -24558,8 +24771,8 @@ function AlertDialog(props) {
|
|
|
24558
24771
|
}, props?.actionButtonProps), props.labelConfirm ? props.labelConfirm : t('label.continue', 'Ya, Lanjutkan'))))))));
|
|
24559
24772
|
}
|
|
24560
24773
|
TemplateAlertFunction.propTypes = {
|
|
24561
|
-
title: PropTypes.string.isRequired,
|
|
24562
|
-
description: PropTypes.oneOfType([PropTypes.string, PropTypes.
|
|
24774
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
|
|
24775
|
+
description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
|
|
24563
24776
|
btnSize: PropTypes.string,
|
|
24564
24777
|
dialogType: PropTypes.string,
|
|
24565
24778
|
onCancel: PropTypes.func,
|
|
@@ -24579,8 +24792,8 @@ TemplateAlertFunction.defaultProps = {
|
|
|
24579
24792
|
hideCloseButton: false
|
|
24580
24793
|
};
|
|
24581
24794
|
AlertDialog.propTypes = {
|
|
24582
|
-
title: PropTypes.string.isRequired,
|
|
24583
|
-
description: PropTypes.string.isRequired,
|
|
24795
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
|
|
24796
|
+
description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
|
|
24584
24797
|
btnSize: PropTypes.string,
|
|
24585
24798
|
dialogType: PropTypes.string,
|
|
24586
24799
|
onCancel: PropTypes.func,
|
|
@@ -24907,19 +25120,16 @@ if (params$1 + '' !== 'a=2') {
|
|
|
24907
25120
|
var key = toString$3(name);
|
|
24908
25121
|
var value = toString$3($value);
|
|
24909
25122
|
var index = 0;
|
|
24910
|
-
var dindex = 0;
|
|
24911
|
-
var found = false;
|
|
24912
25123
|
var entriesLength = entries.length;
|
|
24913
25124
|
var entry;
|
|
24914
25125
|
while (index < entriesLength) {
|
|
24915
|
-
entry = entries[index
|
|
24916
|
-
|
|
24917
|
-
|
|
24918
|
-
$delete(this, entry.key);
|
|
24919
|
-
} else dindex++;
|
|
25126
|
+
entry = entries[index];
|
|
25127
|
+
$delete(this, entry.key);
|
|
25128
|
+
index++;
|
|
24920
25129
|
}
|
|
24921
|
-
|
|
24922
|
-
|
|
25130
|
+
index = 0;
|
|
25131
|
+
while (index < entriesLength) {
|
|
25132
|
+
entry = entries[index++];
|
|
24923
25133
|
if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
|
|
24924
25134
|
}
|
|
24925
25135
|
}, { enumerable: true, unsafe: true });
|
|
@@ -25083,7 +25293,7 @@ const ButtonText = styled('button', {
|
|
|
25083
25293
|
padding: '$spacing-02 $spacing-04 $spacing-02 $spacing-04',
|
|
25084
25294
|
borderRadius: 4,
|
|
25085
25295
|
'&:hover': {
|
|
25086
|
-
background: '$
|
|
25296
|
+
background: '$bgSelectedLight'
|
|
25087
25297
|
}
|
|
25088
25298
|
});
|
|
25089
25299
|
const CloseIcon = styled(CloseFilled, {
|
|
@@ -25112,13 +25322,13 @@ const IconStateFull = ({
|
|
|
25112
25322
|
setIsHover(false);
|
|
25113
25323
|
}
|
|
25114
25324
|
return props.type === 'close' ? /*#__PURE__*/React__default.createElement(CloseIcon, _extends({}, props, {
|
|
25115
|
-
color: isHover ?
|
|
25325
|
+
color: isHover ? colors$7.red400 : colors$7.red500,
|
|
25116
25326
|
onMouseEnter: handleEnter,
|
|
25117
25327
|
onMouseLeave: handleLeave
|
|
25118
25328
|
})) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, customPreviewIcon ? (/*#__PURE__*/React__default.cloneElement(customPreviewIcon, {
|
|
25119
25329
|
...customPreviewIcon.props,
|
|
25120
25330
|
...props,
|
|
25121
|
-
color: isHover ?
|
|
25331
|
+
color: isHover ? colors$7.iconBrand : customPreviewIcon.props.color,
|
|
25122
25332
|
onMouseEnter: handleEnter,
|
|
25123
25333
|
onMouseLeave: handleLeave,
|
|
25124
25334
|
style: {
|
|
@@ -25131,7 +25341,7 @@ const IconStateFull = ({
|
|
|
25131
25341
|
...customPreviewIcon.props.style
|
|
25132
25342
|
}
|
|
25133
25343
|
})) : /*#__PURE__*/React__default.createElement(EyeIcon, _extends({}, props, {
|
|
25134
|
-
color: isHover ?
|
|
25344
|
+
color: isHover ? colors$7.iconBrand : colors$7.gray400,
|
|
25135
25345
|
onMouseEnter: handleEnter,
|
|
25136
25346
|
onMouseLeave: handleLeave
|
|
25137
25347
|
})));
|
|
@@ -25226,7 +25436,7 @@ const Upload = ({
|
|
|
25226
25436
|
alignItems: 'center',
|
|
25227
25437
|
'&:hover': {
|
|
25228
25438
|
border: '2px dashed $primary400',
|
|
25229
|
-
background: '$
|
|
25439
|
+
background: '$bgSelectedLight'
|
|
25230
25440
|
},
|
|
25231
25441
|
variants: {
|
|
25232
25442
|
showError: {
|
|
@@ -25786,7 +25996,7 @@ const Upload = ({
|
|
|
25786
25996
|
justify: "center",
|
|
25787
25997
|
align: "center"
|
|
25788
25998
|
}, /*#__PURE__*/React__default.createElement(UploadOutline, {
|
|
25789
|
-
color: disabled ?
|
|
25999
|
+
color: disabled ? colors$7.gray300 : colors$7.gray800
|
|
25790
26000
|
})), /*#__PURE__*/React__default.createElement(Text, {
|
|
25791
26001
|
css: {
|
|
25792
26002
|
margin: '$spacing-04 $spacing-05 0 $spacing-05'
|
|
@@ -25850,7 +26060,7 @@ const Upload = ({
|
|
|
25850
26060
|
style: {
|
|
25851
26061
|
cursor: 'pointer'
|
|
25852
26062
|
},
|
|
25853
|
-
color: aspect ?
|
|
26063
|
+
color: aspect ? colors$7.iconBrand : colors$7.iconPrimary,
|
|
25854
26064
|
onClick: toggleAspect
|
|
25855
26065
|
})), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
25856
26066
|
gap: 4
|
|
@@ -26473,7 +26683,7 @@ const Device = props => {
|
|
|
26473
26683
|
height: 32,
|
|
26474
26684
|
width: 32,
|
|
26475
26685
|
color: '$textWhite',
|
|
26476
|
-
backgroundColor: '$
|
|
26686
|
+
backgroundColor: '$bgBrand',
|
|
26477
26687
|
justifyContent: 'center',
|
|
26478
26688
|
alignItems: 'center',
|
|
26479
26689
|
marginLeft: 8
|
|
@@ -26570,7 +26780,7 @@ const Device = props => {
|
|
|
26570
26780
|
children: [content === null || content === void 0 ? void 0 : content.icon, jsx(Paragraph, {
|
|
26571
26781
|
css: {
|
|
26572
26782
|
fontSize: 8,
|
|
26573
|
-
color: '$
|
|
26783
|
+
color: '$textPrimary'
|
|
26574
26784
|
},
|
|
26575
26785
|
children: typeof (content === null || content === void 0 ? void 0 : content.sender) === 'string' ? content === null || content === void 0 ? void 0 : content.sender : (_h = content === null || content === void 0 ? void 0 : content.sender) === null || _h === void 0 ? void 0 : _h.call(content)
|
|
26576
26786
|
}), jsx(Paragraph, {
|
|
@@ -28288,7 +28498,7 @@ function ColorPicker({
|
|
|
28288
28498
|
fontSize: 12,
|
|
28289
28499
|
fontWeight: 600
|
|
28290
28500
|
}
|
|
28291
|
-
}, "Saved colors:"), onAddColor && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
28501
|
+
}, "Saved colors:"), !!onAddColor && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
28292
28502
|
css: {
|
|
28293
28503
|
fontSize: 12,
|
|
28294
28504
|
fontWeight: 600,
|
|
@@ -28299,7 +28509,7 @@ function ColorPicker({
|
|
|
28299
28509
|
color: '$gray400'
|
|
28300
28510
|
}
|
|
28301
28511
|
},
|
|
28302
|
-
onClick: onAddColor
|
|
28512
|
+
onClick: onAddColor
|
|
28303
28513
|
}, "+ Add")), /*#__PURE__*/React__default.createElement(Colors, {
|
|
28304
28514
|
wrap: "wrap",
|
|
28305
28515
|
gap: 3
|
|
@@ -28554,7 +28764,7 @@ const Navigation = props => {
|
|
|
28554
28764
|
!isMobile ? stepItems.push(/*#__PURE__*/React__default.createElement(StepperItem, {
|
|
28555
28765
|
css: {
|
|
28556
28766
|
opacity: data[i - 1].hidden ? 0 : undefined,
|
|
28557
|
-
color: isActive ? '$
|
|
28767
|
+
color: isActive ? '$textBrand' : isComplete ? '$gray900' : isAdditional ? '$textPrimary' : '$textDisable',
|
|
28558
28768
|
cursor: props.totalSteps !== props.currentStep ? 'pointer' : 'auto'
|
|
28559
28769
|
},
|
|
28560
28770
|
align: "center",
|
|
@@ -28567,14 +28777,14 @@ const Navigation = props => {
|
|
|
28567
28777
|
}
|
|
28568
28778
|
}, /*#__PURE__*/React__default.createElement(Span, {
|
|
28569
28779
|
css: {
|
|
28570
|
-
backgroundColor: isActive ? '$
|
|
28780
|
+
backgroundColor: isActive ? '$bgBrand' : '$bgBorder'
|
|
28571
28781
|
}
|
|
28572
28782
|
}), isComplete && !hideCheckedIcon && /*#__PURE__*/React__default.createElement(StyledCheckFiled, {
|
|
28573
28783
|
css: {
|
|
28574
28784
|
marginRight: 9
|
|
28575
28785
|
},
|
|
28576
28786
|
size: "24",
|
|
28577
|
-
color: colors$7.
|
|
28787
|
+
color: colors$7.bgBrand
|
|
28578
28788
|
}), typeof data[i - 1].title === 'string' ? data[i - 1].title : data[i - 1].title?.(), data[i - 1]?.withTolltip && /*#__PURE__*/React__default.createElement(Tooltip$1, {
|
|
28579
28789
|
align: "center",
|
|
28580
28790
|
label: data[i - 1]?.tooltipsContents
|
|
@@ -28604,7 +28814,7 @@ const Navigation = props => {
|
|
|
28604
28814
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
28605
28815
|
css: {
|
|
28606
28816
|
width: 'max-content',
|
|
28607
|
-
color: '$
|
|
28817
|
+
color: '$textBrand',
|
|
28608
28818
|
fontWeight: 600
|
|
28609
28819
|
}
|
|
28610
28820
|
}, typeof data[i - 1].title === 'string' ? data[i - 1].title : data[i - 1].title?.()), data[i - 1]?.withTolltip && /*#__PURE__*/React__default.createElement(Tooltip$1, {
|
|
@@ -28922,7 +29132,7 @@ const Title$1 = styled('a', {
|
|
|
28922
29132
|
variants: {
|
|
28923
29133
|
active: {
|
|
28924
29134
|
true: {
|
|
28925
|
-
color: '$
|
|
29135
|
+
color: '$textBrand !important'
|
|
28926
29136
|
}
|
|
28927
29137
|
}
|
|
28928
29138
|
}
|
|
@@ -29520,7 +29730,7 @@ lodash.exports;
|
|
|
29520
29730
|
var undefined$1;
|
|
29521
29731
|
|
|
29522
29732
|
/** Used as the semantic version number. */
|
|
29523
|
-
var VERSION = '4.
|
|
29733
|
+
var VERSION = '4.18.1';
|
|
29524
29734
|
|
|
29525
29735
|
/** Used as the size to enable large array optimizations. */
|
|
29526
29736
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -29528,7 +29738,8 @@ lodash.exports;
|
|
|
29528
29738
|
/** Error message constants. */
|
|
29529
29739
|
var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
|
|
29530
29740
|
FUNC_ERROR_TEXT = 'Expected a function',
|
|
29531
|
-
INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`'
|
|
29741
|
+
INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`',
|
|
29742
|
+
INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`';
|
|
29532
29743
|
|
|
29533
29744
|
/** Used to stand-in for `undefined` hash values. */
|
|
29534
29745
|
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
@@ -31260,6 +31471,10 @@ lodash.exports;
|
|
|
31260
31471
|
* embedded Ruby (ERB) as well as ES2015 template strings. Change the
|
|
31261
31472
|
* following template settings to use alternative delimiters.
|
|
31262
31473
|
*
|
|
31474
|
+
* **Security:** See
|
|
31475
|
+
* [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
|
|
31476
|
+
* — `_.template` is insecure and will be removed in v5.
|
|
31477
|
+
*
|
|
31263
31478
|
* @static
|
|
31264
31479
|
* @memberOf _
|
|
31265
31480
|
* @type {Object}
|
|
@@ -31808,7 +32023,7 @@ lodash.exports;
|
|
|
31808
32023
|
* @name has
|
|
31809
32024
|
* @memberOf SetCache
|
|
31810
32025
|
* @param {*} value The value to search for.
|
|
31811
|
-
* @returns {
|
|
32026
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
31812
32027
|
*/
|
|
31813
32028
|
function setCacheHas(value) {
|
|
31814
32029
|
return this.__data__.has(value);
|
|
@@ -33879,7 +34094,9 @@ lodash.exports;
|
|
|
33879
34094
|
function baseUnset(object, path) {
|
|
33880
34095
|
path = castPath(path, object);
|
|
33881
34096
|
|
|
33882
|
-
// Prevent prototype pollution
|
|
34097
|
+
// Prevent prototype pollution:
|
|
34098
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
34099
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
33883
34100
|
var index = -1,
|
|
33884
34101
|
length = path.length;
|
|
33885
34102
|
|
|
@@ -33887,32 +34104,17 @@ lodash.exports;
|
|
|
33887
34104
|
return true;
|
|
33888
34105
|
}
|
|
33889
34106
|
|
|
33890
|
-
var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
|
|
33891
|
-
|
|
33892
34107
|
while (++index < length) {
|
|
33893
|
-
var key = path[index];
|
|
33894
|
-
|
|
33895
|
-
// skip non-string keys (e.g., Symbols, numbers)
|
|
33896
|
-
if (typeof key !== 'string') {
|
|
33897
|
-
continue;
|
|
33898
|
-
}
|
|
34108
|
+
var key = toKey(path[index]);
|
|
33899
34109
|
|
|
33900
34110
|
// Always block "__proto__" anywhere in the path if it's not expected
|
|
33901
34111
|
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
33902
34112
|
return false;
|
|
33903
34113
|
}
|
|
33904
34114
|
|
|
33905
|
-
// Block
|
|
33906
|
-
|
|
33907
|
-
|
|
33908
|
-
typeof path[index + 1] === 'string' &&
|
|
33909
|
-
path[index + 1] === 'prototype') {
|
|
33910
|
-
|
|
33911
|
-
// Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
|
|
33912
|
-
if (isRootPrimitive && index === 0) {
|
|
33913
|
-
continue;
|
|
33914
|
-
}
|
|
33915
|
-
|
|
34115
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
34116
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
34117
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
33916
34118
|
return false;
|
|
33917
34119
|
}
|
|
33918
34120
|
}
|
|
@@ -36469,7 +36671,7 @@ lodash.exports;
|
|
|
36469
36671
|
|
|
36470
36672
|
/**
|
|
36471
36673
|
* Creates an array with all falsey values removed. The values `false`, `null`,
|
|
36472
|
-
* `0`, `""`, `undefined`, and `NaN` are
|
|
36674
|
+
* `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
|
|
36473
36675
|
*
|
|
36474
36676
|
* @static
|
|
36475
36677
|
* @memberOf _
|
|
@@ -37008,7 +37210,7 @@ lodash.exports;
|
|
|
37008
37210
|
|
|
37009
37211
|
while (++index < length) {
|
|
37010
37212
|
var pair = pairs[index];
|
|
37011
|
-
result
|
|
37213
|
+
baseAssignValue(result, pair[0], pair[1]);
|
|
37012
37214
|
}
|
|
37013
37215
|
return result;
|
|
37014
37216
|
}
|
|
@@ -43668,6 +43870,8 @@ lodash.exports;
|
|
|
43668
43870
|
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
|
43669
43871
|
* floating-point values which can produce unexpected results.
|
|
43670
43872
|
*
|
|
43873
|
+
* **Note:** If `lower` is greater than `upper`, the values are swapped.
|
|
43874
|
+
*
|
|
43671
43875
|
* @static
|
|
43672
43876
|
* @memberOf _
|
|
43673
43877
|
* @since 0.7.0
|
|
@@ -43681,9 +43885,16 @@ lodash.exports;
|
|
|
43681
43885
|
* _.random(0, 5);
|
|
43682
43886
|
* // => an integer between 0 and 5
|
|
43683
43887
|
*
|
|
43888
|
+
* // when lower is greater than upper the values are swapped
|
|
43889
|
+
* _.random(5, 0);
|
|
43890
|
+
* // => an integer between 0 and 5
|
|
43891
|
+
*
|
|
43684
43892
|
* _.random(5);
|
|
43685
43893
|
* // => also an integer between 0 and 5
|
|
43686
43894
|
*
|
|
43895
|
+
* _.random(-5);
|
|
43896
|
+
* // => an integer between -5 and 0
|
|
43897
|
+
*
|
|
43687
43898
|
* _.random(5, true);
|
|
43688
43899
|
* // => a floating-point number between 0 and 5
|
|
43689
43900
|
*
|
|
@@ -44285,6 +44496,10 @@ lodash.exports;
|
|
|
44285
44496
|
* properties may be accessed as free variables in the template. If a setting
|
|
44286
44497
|
* object is given, it takes precedence over `_.templateSettings` values.
|
|
44287
44498
|
*
|
|
44499
|
+
* **Security:** `_.template` is insecure and should not be used. It will be
|
|
44500
|
+
* removed in Lodash v5. Avoid untrusted input. See
|
|
44501
|
+
* [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
|
|
44502
|
+
*
|
|
44288
44503
|
* **Note:** In the development build `_.template` utilizes
|
|
44289
44504
|
* [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
|
|
44290
44505
|
* for easier debugging.
|
|
@@ -44392,12 +44607,18 @@ lodash.exports;
|
|
|
44392
44607
|
options = undefined$1;
|
|
44393
44608
|
}
|
|
44394
44609
|
string = toString(string);
|
|
44395
|
-
options =
|
|
44610
|
+
options = assignWith({}, options, settings, customDefaultsAssignIn);
|
|
44396
44611
|
|
|
44397
|
-
var imports =
|
|
44612
|
+
var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn),
|
|
44398
44613
|
importsKeys = keys(imports),
|
|
44399
44614
|
importsValues = baseValues(imports, importsKeys);
|
|
44400
44615
|
|
|
44616
|
+
arrayEach(importsKeys, function(key) {
|
|
44617
|
+
if (reForbiddenIdentifierChars.test(key)) {
|
|
44618
|
+
throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
|
|
44619
|
+
}
|
|
44620
|
+
});
|
|
44621
|
+
|
|
44401
44622
|
var isEscaping,
|
|
44402
44623
|
isEvaluating,
|
|
44403
44624
|
index = 0,
|
|
@@ -47009,7 +47230,7 @@ function Remove(props) {
|
|
|
47009
47230
|
css: props === null || props === void 0 ? void 0 : props.css,
|
|
47010
47231
|
position: props === null || props === void 0 ? void 0 : props.position,
|
|
47011
47232
|
onClick: props === null || props === void 0 ? void 0 : props.onRemove,
|
|
47012
|
-
color: isHover ?
|
|
47233
|
+
color: isHover ? colors$7.red400 : colors$7.gray400,
|
|
47013
47234
|
onMouseEnter: onEnter,
|
|
47014
47235
|
onMouseLeave: onLeave
|
|
47015
47236
|
});
|
|
@@ -48027,7 +48248,7 @@ function ButtonSelect({
|
|
|
48027
48248
|
align: "center",
|
|
48028
48249
|
gap: 3,
|
|
48029
48250
|
css: {
|
|
48030
|
-
backgroundColor: '$
|
|
48251
|
+
backgroundColor: '$btnSelect',
|
|
48031
48252
|
borderRadius: 6,
|
|
48032
48253
|
fontSize: 16,
|
|
48033
48254
|
fontWeight: 600,
|
|
@@ -48108,7 +48329,9 @@ function MarkerSvg() {
|
|
|
48108
48329
|
});
|
|
48109
48330
|
}
|
|
48110
48331
|
|
|
48111
|
-
function MarkerIcon(
|
|
48332
|
+
function MarkerIcon({
|
|
48333
|
+
marker
|
|
48334
|
+
}) {
|
|
48112
48335
|
return jsx(Box, {
|
|
48113
48336
|
css: {
|
|
48114
48337
|
position: 'absolute',
|
|
@@ -48119,7 +48342,7 @@ function MarkerIcon() {
|
|
|
48119
48342
|
left: '47%'
|
|
48120
48343
|
}
|
|
48121
48344
|
},
|
|
48122
|
-
children: jsx(MarkerSvg, {})
|
|
48345
|
+
children: marker !== null && marker !== void 0 ? marker : jsx(MarkerSvg, {})
|
|
48123
48346
|
});
|
|
48124
48347
|
}
|
|
48125
48348
|
|
|
@@ -48140,13 +48363,13 @@ function ZoomControls({
|
|
|
48140
48363
|
onClick: onZoomIn,
|
|
48141
48364
|
children: jsx(PlusOutline, {
|
|
48142
48365
|
size: 20,
|
|
48143
|
-
color:
|
|
48366
|
+
color: colors$7.iconBrand
|
|
48144
48367
|
})
|
|
48145
48368
|
}), jsx(ZoomControlButton, {
|
|
48146
48369
|
onClick: onZoomOut,
|
|
48147
48370
|
children: jsx(MinusOutline, {
|
|
48148
48371
|
size: 20,
|
|
48149
|
-
color:
|
|
48372
|
+
color: colors$7.iconBrand
|
|
48150
48373
|
})
|
|
48151
48374
|
})]
|
|
48152
48375
|
});
|
|
@@ -48198,7 +48421,8 @@ function MapPicker(props) {
|
|
|
48198
48421
|
onChange,
|
|
48199
48422
|
selectLocationText,
|
|
48200
48423
|
searchPlaceholder,
|
|
48201
|
-
header
|
|
48424
|
+
header,
|
|
48425
|
+
marker
|
|
48202
48426
|
} = props;
|
|
48203
48427
|
const [zoom, setZoom] = useState(16);
|
|
48204
48428
|
const isDesktop = useMediaQuery('(min-width: 767px)');
|
|
@@ -48251,15 +48475,17 @@ function MapPicker(props) {
|
|
|
48251
48475
|
center: [center === null || center === void 0 ? void 0 : center.lat, center === null || center === void 0 ? void 0 : center.lng],
|
|
48252
48476
|
radius: radius,
|
|
48253
48477
|
pathOptions: {
|
|
48254
|
-
color: colors$7.
|
|
48255
|
-
fillColor: colors$7.
|
|
48478
|
+
color: colors$7.bgBrand,
|
|
48479
|
+
fillColor: colors$7.bgBrand
|
|
48256
48480
|
}
|
|
48257
48481
|
}), jsx(TileLayer, {
|
|
48258
48482
|
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
48259
48483
|
}), showSelectButton && jsx(ButtonSelect, {
|
|
48260
48484
|
onClick: handleMarkerClick,
|
|
48261
48485
|
label: selectLocationText
|
|
48262
|
-
}), jsx(MarkerIcon, {
|
|
48486
|
+
}), jsx(MarkerIcon, {
|
|
48487
|
+
marker: marker
|
|
48488
|
+
}), jsx(ChangeView, {
|
|
48263
48489
|
center: [center === null || center === void 0 ? void 0 : center.lat, center === null || center === void 0 ? void 0 : center.lng],
|
|
48264
48490
|
readOnly: readOnly,
|
|
48265
48491
|
onDragEnd: handleSearchLatLng
|
|
@@ -48308,7 +48534,8 @@ function InputMapPicker(props) {
|
|
|
48308
48534
|
readOnly,
|
|
48309
48535
|
onChange,
|
|
48310
48536
|
customInputValue,
|
|
48311
|
-
header
|
|
48537
|
+
header,
|
|
48538
|
+
marker
|
|
48312
48539
|
} = props;
|
|
48313
48540
|
const modalTrigger = React__default.useRef(null);
|
|
48314
48541
|
const [inputValue, setInputValue] = useState(placeholder);
|
|
@@ -48425,7 +48652,8 @@ function InputMapPicker(props) {
|
|
|
48425
48652
|
radius: radius,
|
|
48426
48653
|
showSelectButton: showSelectButton,
|
|
48427
48654
|
readOnly: readOnly,
|
|
48428
|
-
header: header
|
|
48655
|
+
header: header,
|
|
48656
|
+
marker: marker
|
|
48429
48657
|
})
|
|
48430
48658
|
})]
|
|
48431
48659
|
})]
|
|
@@ -50100,7 +50328,7 @@ function TagList({
|
|
|
50100
50328
|
}), jsx(Separator$2, {})]
|
|
50101
50329
|
}), jsxs(Text$1, {
|
|
50102
50330
|
variant: "helper",
|
|
50103
|
-
color: "
|
|
50331
|
+
color: "brand",
|
|
50104
50332
|
css: {
|
|
50105
50333
|
marginTop: '$spacing-03 !important'
|
|
50106
50334
|
},
|