@pnkx-lib/ui 1.9.525 → 1.9.527

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.
@@ -1,7 +1,7 @@
1
1
  import { a as _unsupportedIterableToArray, b as _defineProperty, _ as _typeof } from './defineProperty-CTLrw71t.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { createContext, useContext, useEffect } from 'react';
4
- import { c as classNames } from './index-BLRvgOFN.js';
4
+ import { c as classNames } from './index-xdC7i8zM.js';
5
5
 
6
6
  var IconContext = /*#__PURE__*/createContext({});
7
7
 
@@ -779,7 +779,6 @@ var magenta = ["#fff0f6", "#ffd6e7", "#ffadd2", "#ff85c0", "#f759ab", "#eb2f96",
779
779
  magenta.primary = magenta[5];
780
780
  var grey = ["#a6a6a6", "#999999", "#8c8c8c", "#808080", "#737373", "#666666", "#404040", "#1a1a1a", "#000000", "#000000"];
781
781
  grey.primary = grey[5];
782
- var gray = grey;
783
782
  var presetPalettes = {
784
783
  red: red,
785
784
  volcano: volcano,
@@ -795,47 +794,6 @@ var presetPalettes = {
795
794
  magenta: magenta,
796
795
  grey: grey
797
796
  };
798
- var redDark = ["#2a1215", "#431418", "#58181c", "#791a1f", "#a61d24", "#d32029", "#e84749", "#f37370", "#f89f9a", "#fac8c3"];
799
- redDark.primary = redDark[5];
800
- var volcanoDark = ["#2b1611", "#441d12", "#592716", "#7c3118", "#aa3e19", "#d84a1b", "#e87040", "#f3956a", "#f8b692", "#fad4bc"];
801
- volcanoDark.primary = volcanoDark[5];
802
- var orangeDark = ["#2b1d11", "#442a11", "#593815", "#7c4a15", "#aa6215", "#d87a16", "#e89a3c", "#f3b765", "#f8cf8d", "#fae3b7"];
803
- orangeDark.primary = orangeDark[5];
804
- var goldDark = ["#2b2111", "#443111", "#594214", "#7c5914", "#aa7714", "#d89614", "#e8b339", "#f3cc62", "#f8df8b", "#faedb5"];
805
- goldDark.primary = goldDark[5];
806
- var yellowDark = ["#2b2611", "#443b11", "#595014", "#7c6e14", "#aa9514", "#d8bd14", "#e8d639", "#f3ea62", "#f8f48b", "#fafab5"];
807
- yellowDark.primary = yellowDark[5];
808
- var limeDark = ["#1f2611", "#2e3c10", "#3e4f13", "#536d13", "#6f9412", "#8bbb11", "#a9d134", "#c9e75d", "#e4f88b", "#f0fab5"];
809
- limeDark.primary = limeDark[5];
810
- var greenDark = ["#162312", "#1d3712", "#274916", "#306317", "#3c8618", "#49aa19", "#6abe39", "#8fd460", "#b2e58b", "#d5f2bb"];
811
- greenDark.primary = greenDark[5];
812
- var cyanDark = ["#112123", "#113536", "#144848", "#146262", "#138585", "#13a8a8", "#33bcb7", "#58d1c9", "#84e2d8", "#b2f1e8"];
813
- cyanDark.primary = cyanDark[5];
814
- var blueDark = ["#111a2c", "#112545", "#15325b", "#15417e", "#1554ad", "#1668dc", "#3c89e8", "#65a9f3", "#8dc5f8", "#b7dcfa"];
815
- blueDark.primary = blueDark[5];
816
- var geekblueDark = ["#131629", "#161d40", "#1c2755", "#203175", "#263ea0", "#2b4acb", "#5273e0", "#7f9ef3", "#a8c1f8", "#d2e0fa"];
817
- geekblueDark.primary = geekblueDark[5];
818
- var purpleDark = ["#1a1325", "#24163a", "#301c4d", "#3e2069", "#51258f", "#642ab5", "#854eca", "#ab7ae0", "#cda8f0", "#ebd7fa"];
819
- purpleDark.primary = purpleDark[5];
820
- var magentaDark = ["#291321", "#40162f", "#551c3b", "#75204f", "#a02669", "#cb2b83", "#e0529c", "#f37fb7", "#f8a8cc", "#fad2e3"];
821
- magentaDark.primary = magentaDark[5];
822
- var greyDark = ["#151515", "#1f1f1f", "#2d2d2d", "#393939", "#494949", "#5a5a5a", "#6a6a6a", "#7b7b7b", "#888888", "#969696"];
823
- greyDark.primary = greyDark[5];
824
- var presetDarkPalettes = {
825
- red: redDark,
826
- volcano: volcanoDark,
827
- orange: orangeDark,
828
- gold: goldDark,
829
- yellow: yellowDark,
830
- lime: limeDark,
831
- green: greenDark,
832
- cyan: cyanDark,
833
- blue: blueDark,
834
- geekblue: geekblueDark,
835
- purple: purpleDark,
836
- magenta: magentaDark,
837
- grey: greyDark
838
- };
839
797
 
840
798
  function ownKeys(e, r) {
841
799
  var t = Object.keys(e);
@@ -1315,4 +1273,4 @@ Icon.displayName = 'AntdIcon';
1315
1273
  Icon.getTwoToneColor = getTwoToneColor;
1316
1274
  Icon.setTwoToneColor = setTwoToneColor;
1317
1275
 
1318
- export { greenDark as A, grey as B, greyDark as C, lime as D, limeDark as E, FastColor as F, magenta as G, magentaDark as H, Icon as I, orange as J, orangeDark as K, presetDarkPalettes as L, purple as M, purpleDark as N, red as O, redDark as P, volcano as Q, volcanoDark as R, yellow as S, yellowDark as T, _extends as _, _objectWithoutProperties as a, _objectSpread2 as b, _slicedToArray as c, warning$1 as d, canUseDom as e, _arrayWithHoles as f, _nonIterableRest as g, resetWarned as h, generate$1 as i, presetPalettes as j, IconContext as k, getShadowRoot as l, blue as m, blueDark as n, cyan as o, presetPrimaryColors as p, cyanDark as q, removeCSS as r, geekblue as s, geekblueDark as t, updateCSS as u, gold as v, warningOnce as w, goldDark as x, gray as y, green as z };
1276
+ export { FastColor as F, Icon as I, _extends as _, _slicedToArray as a, warning$1 as b, canUseDom as c, _objectSpread2 as d, _arrayWithHoles as e, _nonIterableRest as f, resetWarned as g, generate$1 as h, presetPalettes as i, _objectWithoutProperties as j, IconContext as k, blue as l, getShadowRoot as m, presetPrimaryColors as p, removeCSS as r, updateCSS as u, warningOnce as w };
@@ -1,4 +1,4 @@
1
- import { I as Icon, _ as _extends } from './AntdIcon-Bve8mGNz.js';
1
+ import { I as Icon, _ as _extends } from './AntdIcon-KP2HuB_x.js';
2
2
  import * as React from 'react';
3
3
 
4
4
  // This icon file is generated automatically.
@@ -1,4 +1,4 @@
1
- import { I as Icon, _ as _extends } from './AntdIcon-Bve8mGNz.js';
1
+ import { I as Icon, _ as _extends } from './AntdIcon-KP2HuB_x.js';
2
2
  import * as React from 'react';
3
3
 
4
4
  // This icon file is generated automatically.
@@ -1,4 +1,4 @@
1
- import { I as Icon, _ as _extends } from './AntdIcon-Bve8mGNz.js';
1
+ import { I as Icon, _ as _extends } from './AntdIcon-KP2HuB_x.js';
2
2
  import * as React from 'react';
3
3
 
4
4
  // This icon file is generated automatically.
@@ -1,4 +1,4 @@
1
- import { I as Icon, _ as _extends } from './AntdIcon-Bve8mGNz.js';
1
+ import { I as Icon, _ as _extends } from './AntdIcon-KP2HuB_x.js';
2
2
  import * as React from 'react';
3
3
 
4
4
  // This icon file is generated automatically.
@@ -1,4 +1,4 @@
1
- import { I as Icon, _ as _extends } from './AntdIcon-Bve8mGNz.js';
1
+ import { I as Icon, _ as _extends } from './AntdIcon-KP2HuB_x.js';
2
2
  import * as React from 'react';
3
3
 
4
4
  // This icon file is generated automatically.
@@ -74,4 +74,4 @@ function _createSuper(t) {
74
74
  };
75
75
  }
76
76
 
77
- export { _createClass as _, _classCallCheck as a, _inherits as b, _createSuper as c, _assertThisInitialized as d, _isNativeReflectConstruct as e, _setPrototypeOf as f, _getPrototypeOf as g };
77
+ export { _createClass as _, _classCallCheck as a, _inherits as b, _createSuper as c, _assertThisInitialized as d };
@@ -87,4 +87,4 @@ function requireClassnames () {
87
87
  var classnamesExports = /*@__PURE__*/ requireClassnames();
88
88
  const classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
89
89
 
90
- export { classNames as c, requireClassnames as r };
90
+ export { classNames as c };
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useContext, createContext } from 'react';
3
3
  import { _ as _typeof, c as _arrayLikeToArray, a as _unsupportedIterableToArray, b as _defineProperty } from './defineProperty-CTLrw71t.js';
4
- import { w as warningOnce, a as _objectWithoutProperties, b as _objectSpread2, c as _slicedToArray, d as warning$2, e as canUseDom, u as updateCSS, r as removeCSS, _ as _extends, f as _arrayWithHoles, g as _nonIterableRest, h as resetWarned$1, F as FastColor, i as generate, p as presetPrimaryColors, j as presetPalettes, k as IconContext } from './AntdIcon-Bve8mGNz.js';
5
- import { _ as _createClass, a as _classCallCheck, b as _inherits, c as _createSuper, d as _assertThisInitialized } from './createSuper-C9_dQ5Zr.js';
4
+ import { w as warningOnce, a as _slicedToArray, b as warning$2, c as canUseDom, d as _objectSpread2, u as updateCSS, _ as _extends, r as removeCSS, e as _arrayWithHoles, f as _nonIterableRest, g as resetWarned$1, F as FastColor, h as generate, p as presetPrimaryColors, i as presetPalettes, j as _objectWithoutProperties, k as IconContext } from './AntdIcon-KP2HuB_x.js';
5
+ import { _ as _createClass, a as _classCallCheck, b as _inherits, c as _createSuper, d as _assertThisInitialized } from './createSuper-CnOp-EUR.js';
6
6
 
7
7
  function useMemo(getValue, condition, shouldUpdate) {
8
8
  var cacheRef = React.useRef({});
@@ -213,7 +213,6 @@ var Entity = /*#__PURE__*/function () {
213
213
  return Entity;
214
214
  }();
215
215
 
216
- var _excluded$1 = ["children"];
217
216
  var ATTR_TOKEN = 'data-token-hash';
218
217
  var ATTR_MARK = 'data-css-hash';
219
218
  var ATTR_CACHE_PATH = 'data-cache-path';
@@ -258,29 +257,6 @@ var StyleContext = /*#__PURE__*/React.createContext({
258
257
  cache: createCache(),
259
258
  defaultCache: true
260
259
  });
261
- var StyleProvider = function StyleProvider(props) {
262
- var children = props.children,
263
- restProps = _objectWithoutProperties(props, _excluded$1);
264
- var parentContext = React.useContext(StyleContext);
265
- var context = useMemo(function () {
266
- var mergedContext = _objectSpread2({}, parentContext);
267
- Object.keys(restProps).forEach(function (key) {
268
- var value = restProps[key];
269
- if (restProps[key] !== undefined) {
270
- mergedContext[key] = value;
271
- }
272
- });
273
- var cache = restProps.cache;
274
- mergedContext.cache = mergedContext.cache || createCache();
275
- mergedContext.defaultCache = !cache && parentContext.defaultCache;
276
- return mergedContext;
277
- }, [parentContext, restProps], function (prev, next) {
278
- return !isEqual(prev[0], next[0], true) || !isEqual(prev[1], next[1], true);
279
- });
280
- return /*#__PURE__*/React.createElement(StyleContext.Provider, {
281
- value: context
282
- }, children);
283
- };
284
260
 
285
261
  // ================================== Cache ==================================
286
262
 
@@ -522,51 +498,6 @@ function flattenToken(token) {
522
498
  function token2key(token, salt) {
523
499
  return murmur2("".concat(salt, "_").concat(flattenToken(token)));
524
500
  }
525
- var randomSelectorKey = "random-".concat(Date.now(), "-").concat(Math.random()).replace(/\./g, '');
526
-
527
- // Magic `content` for detect selector support
528
- var checkContent = '_bAmBoO_';
529
- function supportSelector(styleStr, handleElement, supportCheck) {
530
- if (canUseDom()) {
531
- var _getComputedStyle$con, _ele$parentNode;
532
- updateCSS(styleStr, randomSelectorKey);
533
- var _ele = document.createElement('div');
534
- _ele.style.position = 'fixed';
535
- _ele.style.left = '0';
536
- _ele.style.top = '0';
537
- handleElement === null || handleElement === void 0 || handleElement(_ele);
538
- document.body.appendChild(_ele);
539
- if (process.env.NODE_ENV !== 'production') {
540
- _ele.innerHTML = 'Test';
541
- _ele.style.zIndex = '9999999';
542
- }
543
- var support = supportCheck ? supportCheck(_ele) : (_getComputedStyle$con = getComputedStyle(_ele).content) === null || _getComputedStyle$con === void 0 ? void 0 : _getComputedStyle$con.includes(checkContent);
544
- (_ele$parentNode = _ele.parentNode) === null || _ele$parentNode === void 0 || _ele$parentNode.removeChild(_ele);
545
- removeCSS(randomSelectorKey);
546
- return support;
547
- }
548
- return false;
549
- }
550
- var canWhere = undefined;
551
- function supportWhere() {
552
- if (canWhere === undefined) {
553
- canWhere = supportSelector(":where(.".concat(randomSelectorKey, ") { content: \"").concat(checkContent, "\"!important; }"), function (ele) {
554
- ele.className = randomSelectorKey;
555
- });
556
- }
557
- return canWhere;
558
- }
559
- var canLogic = undefined;
560
- function supportLogicProps() {
561
- if (canLogic === undefined) {
562
- canLogic = supportSelector(".".concat(randomSelectorKey, " { inset-block: 93px !important; }"), function (ele) {
563
- ele.className = randomSelectorKey;
564
- }, function (ele) {
565
- return getComputedStyle(ele).bottom === '93px';
566
- });
567
- }
568
- return canLogic;
569
- }
570
501
  var isClientSide = canUseDom();
571
502
  function unit$1(num) {
572
503
  if (typeof num === 'number') {
@@ -574,22 +505,6 @@ function unit$1(num) {
574
505
  }
575
506
  return num;
576
507
  }
577
- function toStyleStr(style, tokenKey, styleId) {
578
- var _objectSpread2$1;
579
- var customizeAttrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
580
- var plain = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
581
- if (plain) {
582
- return style;
583
- }
584
- var attrs = _objectSpread2(_objectSpread2({}, customizeAttrs), {}, (_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, ATTR_TOKEN, tokenKey), _defineProperty(_objectSpread2$1, ATTR_MARK, styleId), _objectSpread2$1));
585
- var attrStr = Object.keys(attrs).map(function (attr) {
586
- var val = attrs[attr];
587
- return val ? "".concat(attr, "=\"").concat(val, "\"") : null;
588
- }).filter(function (v) {
589
- return v;
590
- }).join(' ');
591
- return "<style ".concat(attrStr, ">").concat(style, "</style>");
592
- }
593
508
 
594
509
  var token2CSSVar = function token2CSSVar(token) {
595
510
  var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
@@ -972,28 +887,6 @@ function useCacheToken(theme, tokens) {
972
887
  });
973
888
  return cachedToken;
974
889
  }
975
- var extract$2 = function extract(cache, effectStyles, options) {
976
- var _cache = _slicedToArray(cache, 5),
977
- realToken = _cache[2],
978
- styleStr = _cache[3],
979
- cssVarKey = _cache[4];
980
- var _ref3 = options || {},
981
- plain = _ref3.plain;
982
- if (!styleStr) {
983
- return null;
984
- }
985
- var styleId = realToken._tokenKey;
986
- var order = -999;
987
-
988
- // ====================== Style ======================
989
- // Used for rc-util
990
- var sharedAttrs = {
991
- 'data-rc-order': 'prependQueue',
992
- 'data-rc-priority': "".concat(order)
993
- };
994
- var styleText = toStyleStr(styleStr, cssVarKey, styleId, sharedAttrs, plain);
995
- return [order, styleId, styleText];
996
- };
997
890
 
998
891
  var unitlessKeys = {
999
892
  animationIterationCount: 1,
@@ -1552,7 +1445,7 @@ function declaration (value, root, parent, length, siblings) {
1552
1445
  * @param {function} callback
1553
1446
  * @return {string}
1554
1447
  */
1555
- function serialize$1 (children, callback) {
1448
+ function serialize (children, callback) {
1556
1449
  var output = '';
1557
1450
 
1558
1451
  for (var i = 0; i < children.length; i++)
@@ -1573,11 +1466,11 @@ function stringify (element, index, children, callback) {
1573
1466
  case LAYER: if (element.children.length) break
1574
1467
  case IMPORT: case NAMESPACE: case DECLARATION: return element.return = element.return || element.value
1575
1468
  case COMMENT: return ''
1576
- case KEYFRAMES: return element.return = element.value + '{' + serialize$1(element.children, callback) + '}'
1469
+ case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
1577
1470
  case RULESET: if (!strlen(element.value = element.props.join(','))) return ''
1578
1471
  }
1579
1472
 
1580
- return strlen(children = serialize$1(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
1473
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''
1581
1474
  }
1582
1475
 
1583
1476
  function lintWarning(message, info) {
@@ -1612,12 +1505,6 @@ var ATTR_CACHE_MAP = 'data-ant-cssinjs-cache-path';
1612
1505
  * Which means not exist in `<style />` tag.
1613
1506
  */
1614
1507
  var CSS_FILE_STYLE = '_FILE_STYLE__';
1615
- function serialize(cachePathMap) {
1616
- return Object.keys(cachePathMap).map(function (path) {
1617
- var hash = cachePathMap[path];
1618
- return "".concat(path, ":").concat(hash);
1619
- }).join(';');
1620
- }
1621
1508
  var cachePathMap;
1622
1509
  var fromCSSFile = true;
1623
1510
  function prepare() {
@@ -1683,7 +1570,7 @@ var MULTI_VALUE = '_multi_value_';
1683
1570
  // ============================================================================
1684
1571
  // Preprocessor style content to browser support one
1685
1572
  function normalizeStyle(styleStr) {
1686
- var serialized = serialize$1(compile(styleStr), stringify);
1573
+ var serialized = serialize(compile(styleStr), stringify);
1687
1574
  return serialized.replace(/\{%%%\:[^;];}/g, ';');
1688
1575
  }
1689
1576
  function isCompoundCSSProperty(value) {
@@ -2037,51 +1924,6 @@ function useStyleRegister(info, styleFn) {
2037
1924
  return /*#__PURE__*/React.createElement(React.Fragment, null, styleNode, node);
2038
1925
  };
2039
1926
  }
2040
- var extract$1 = function extract(cache, effectStyles, options) {
2041
- var _cache = _slicedToArray(cache, 6),
2042
- styleStr = _cache[0],
2043
- tokenKey = _cache[1],
2044
- styleId = _cache[2],
2045
- effectStyle = _cache[3],
2046
- clientOnly = _cache[4],
2047
- order = _cache[5];
2048
- var _ref7 = options || {},
2049
- plain = _ref7.plain;
2050
-
2051
- // Skip client only style
2052
- if (clientOnly) {
2053
- return null;
2054
- }
2055
- var keyStyleText = styleStr;
2056
-
2057
- // ====================== Share ======================
2058
- // Used for rc-util
2059
- var sharedAttrs = {
2060
- 'data-rc-order': 'prependQueue',
2061
- 'data-rc-priority': "".concat(order)
2062
- };
2063
-
2064
- // ====================== Style ======================
2065
- keyStyleText = toStyleStr(styleStr, tokenKey, styleId, sharedAttrs, plain);
2066
-
2067
- // =============== Create effect style ===============
2068
- if (effectStyle) {
2069
- Object.keys(effectStyle).forEach(function (effectKey) {
2070
- // Effect style can be reused
2071
- if (!effectStyles[effectKey]) {
2072
- effectStyles[effectKey] = true;
2073
- var effectStyleStr = normalizeStyle(effectStyle[effectKey]);
2074
- var effectStyleHTML = toStyleStr(effectStyleStr, tokenKey, "_effect-".concat(effectKey), sharedAttrs, plain);
2075
- if (effectKey.startsWith('@layer')) {
2076
- keyStyleText = effectStyleHTML + keyStyleText;
2077
- } else {
2078
- keyStyleText += effectStyleHTML;
2079
- }
2080
- }
2081
- });
2082
- }
2083
- return [order, styleId, keyStyleText];
2084
- };
2085
1927
 
2086
1928
  var CSS_VAR_PREFIX = 'cssVar';
2087
1929
  var useCSSVarRegister = function useCSSVarRegister(config, fn) {
@@ -2138,27 +1980,6 @@ var useCSSVarRegister = function useCSSVarRegister(config, fn) {
2138
1980
  });
2139
1981
  return cache;
2140
1982
  };
2141
- var extract = function extract(cache, effectStyles, options) {
2142
- var _cache = _slicedToArray(cache, 4),
2143
- styleStr = _cache[1],
2144
- styleId = _cache[2],
2145
- cssVarKey = _cache[3];
2146
- var _ref5 = options || {},
2147
- plain = _ref5.plain;
2148
- if (!styleStr) {
2149
- return null;
2150
- }
2151
- var order = -999;
2152
-
2153
- // ====================== Style ======================
2154
- // Used for rc-util
2155
- var sharedAttrs = {
2156
- 'data-rc-order': 'prependQueue',
2157
- 'data-rc-priority': "".concat(order)
2158
- };
2159
- var styleText = toStyleStr(styleStr, cssVarKey, styleId, sharedAttrs, plain);
2160
- return [order, styleId, styleText];
2161
- };
2162
1983
 
2163
1984
  function _toArray(r) {
2164
1985
  return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
@@ -4750,4 +4571,4 @@ function toArray(children) {
4750
4571
  return ret;
4751
4572
  }
4752
4573
 
4753
- export { genCalc as $, toStyleStr as A, ATTR_CACHE_MAP as B, ConfigContext as C, DisabledContext as D, serialize as E, extract$1 as F, STYLE_PREFIX as G, extract$2 as H, extract as I, CSS_VAR_PREFIX as J, unitlessKeys as K, LocaleContext as L, supportWhere as M, supportLogicProps as N, StyleContext as O, StyleProvider as P, Theme as Q, createCache as R, SizeContext as S, TOKEN_PREFIX as T, createTheme as U, getComputedToken$1 as V, token2CSSVar as W, useCSSVarRegister as X, useCacheToken as Y, useStyleRegister as Z, _toConsumableArray as _, useComponentConfig as a, genStyleUtils as a0, statistic as a1, statisticToken as a2, MotionProvider as a3, merge$1 as a4, get as a5, set as a6, isEqual as a7, useMemo as b, useLayoutUpdateEffect as c, Context as d, useLayoutEffect as e, clearFix as f, genStyleHooks as g, textEllipsis as h, isFragment as i, defaultPrefixCls as j, genComponentStyleHook as k, localeValues as l, merge as m, useToken as n, omit as o, devUseWarning as p, getAlphaColor as q, resetComponent as r, getLineHeight as s, toArray as t, unit$1 as u, genFocusStyle as v, warning$1 as w, resetIcon as x, genSubStyleComponent as y, lintWarning as z };
4574
+ export { ConfigContext as C, DisabledContext as D, LocaleContext as L, SizeContext as S, _toConsumableArray as _, useComponentConfig as a, useMemo as b, useLayoutUpdateEffect as c, Context as d, clearFix as e, textEllipsis as f, genStyleHooks as g, defaultPrefixCls as h, isFragment as i, genComponentStyleHook as j, useToken as k, localeValues as l, merge as m, devUseWarning as n, omit as o, getAlphaColor as p, getLineHeight as q, resetComponent as r, genFocusStyle as s, toArray as t, unit$1 as u, resetIcon as v, warning$1 as w, genSubStyleComponent as x, useLayoutEffect as y };
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { createElement, Component, createRef, useRef } from 'react';
4
- import { c as classNames } from '../chunks/index-BLRvgOFN.js';
4
+ import { c as classNames } from '../chunks/index-xdC7i8zM.js';
5
5
  import { _ as _typeof, a as _unsupportedIterableToArray, b as _defineProperty } from '../chunks/defineProperty-CTLrw71t.js';
6
- import { b as _inherits, c as _createSuper, a as _classCallCheck, d as _assertThisInitialized$1, _ as _createClass } from '../chunks/createSuper-C9_dQ5Zr.js';
6
+ import { b as _inherits, c as _createSuper, a as _classCallCheck, d as _assertThisInitialized$1, _ as _createClass } from '../chunks/createSuper-CnOp-EUR.js';
7
7
  import * as ReactDOM from 'react-dom';
8
8
  import ReactDOM__default, { findDOMNode } from 'react-dom';
9
9
  import { g as getDefaultExportFromCjs } from '../chunks/_commonjsHelpers-D5KtpA0t.js';
@@ -4,8 +4,8 @@ import { g as get } from '../chunks/get-DPccfEM4.js';
4
4
  import { ErrorMessage } from '../ui/ErrorMessage.js';
5
5
  import { Label } from '../ui/Label.js';
6
6
  import { t as twMerge } from '../chunks/bundle-mjs-BBFHkixS.js';
7
- import { R as RefIcon } from '../chunks/CloseOutlined-CZUJ_3tW.js';
8
- import { R as RefIcon$1 } from '../chunks/DownOutlined-O2mPkovb.js';
7
+ import { R as RefIcon } from '../chunks/CloseOutlined-DdLJZQvZ.js';
8
+ import { R as RefIcon$1 } from '../chunks/DownOutlined-Cl95zPIN.js';
9
9
  import { useRef } from 'react';
10
10
  import { w as wrapWithTooltip } from '../chunks/wapper-Bk3PQCcg.js';
11
11
  import { M as MAX_TAG_TEXT_LENGTH, a as MAX_TAG_COUNT } from '../chunks/common-BcURBmQ-.js';
@@ -5,7 +5,7 @@ import { Upload, Image } from 'antd';
5
5
  import { g as get } from '../chunks/get-DPccfEM4.js';
6
6
  import { ErrorMessage } from '../ui/ErrorMessage.js';
7
7
  import { Label } from '../ui/Label.js';
8
- import { I as Icon, _ as _extends } from '../chunks/AntdIcon-Bve8mGNz.js';
8
+ import { I as Icon, _ as _extends } from '../chunks/AntdIcon-KP2HuB_x.js';
9
9
 
10
10
  // This icon file is generated automatically.
11
11
  var PlusOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
package/es/index.js CHANGED
@@ -66,7 +66,7 @@ export { ViewPdf } from './ui/ViewPdf.js';
66
66
  export { Sidebar } from './ui/Sidebar/index.js';
67
67
  export { SelectTable } from './ui/SelectTable.js';
68
68
  export { SelectSingleTable } from './ui/SelectSingleTable.js';
69
- export { G as GenericUploadModal } from './chunks/GenericUploadModal-CkhTggnS.js';
69
+ export { GenericUploadModal } from './ui/GenericUploadModal.js';
70
70
  export { Descriptions } from './ui/Descriptions.js';
71
71
  export { Input } from './fields/Input.js';
72
72
  export { PnkxField } from './fields/PnkxField.js';
@@ -1,5 +1,5 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { c as classNames } from '../chunks/index-BLRvgOFN.js';
2
+ import { c as classNames } from '../chunks/index-xdC7i8zM.js';
3
3
  import { Breadcrumb } from './Breadcrumb.js';
4
4
  import { u as useBreadcrumb } from '../chunks/useBreadcrumb-DEKhv1-Z.js';
5
5
 
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import { Spin } from './Spin.js';
3
- import { R as RefIcon$1 } from '../chunks/LoadingOutlined-DCtDXz9K.js';
3
+ import { R as RefIcon$1 } from '../chunks/LoadingOutlined-C5-PNVpb.js';
4
4
  import { PnkxField } from '../fields/PnkxField.js';
5
5
  import { RadioGroup } from '../fields/Radio.js';
6
- import { I as Icon, _ as _extends } from '../chunks/AntdIcon-Bve8mGNz.js';
6
+ import { I as Icon, _ as _extends } from '../chunks/AntdIcon-KP2HuB_x.js';
7
7
  import * as React from 'react';
8
8
 
9
9
  // This icon file is generated automatically.