@luminati-io/uikit 6.2.8-beta.1 → 6.2.8-beta.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/umd/uikit.development.js +234 -135
- package/dist/umd/uikit.development.js.map +1 -1
- package/dist/umd/uikit.production.min.js +24 -24
- package/package.json +14 -13
@@ -33892,47 +33892,48 @@ __webpack_require__.r(__webpack_exports__);
|
|
33892
33892
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
33893
33893
|
/* harmony export */ Code: () => (/* binding */ Code)
|
33894
33894
|
/* harmony export */ });
|
33895
|
-
/* harmony import */ var
|
33896
|
-
/* harmony import */ var
|
33897
|
-
/* harmony import */ var
|
33898
|
-
/* harmony import */ var
|
33899
|
-
/* harmony import */ var
|
33900
|
-
/* harmony import */ var
|
33901
|
-
/* harmony import */ var
|
33902
|
-
/* harmony import */ var
|
33903
|
-
/* harmony import */ var
|
33904
|
-
/* harmony import */ var
|
33905
|
-
/* harmony import */ var
|
33906
|
-
/* harmony import */ var
|
33907
|
-
/* harmony import */ var
|
33908
|
-
/* harmony import */ var
|
33909
|
-
/* harmony import */ var
|
33910
|
-
/* harmony import */ var
|
33911
|
-
/* harmony import */ var
|
33912
|
-
/* harmony import */ var
|
33913
|
-
/* harmony import */ var
|
33914
|
-
/* harmony import */ var
|
33915
|
-
/* harmony import */ var
|
33916
|
-
/* harmony import */ var
|
33917
|
-
/* harmony import */ var
|
33918
|
-
/* harmony import */ var
|
33919
|
-
/* harmony import */ var
|
33920
|
-
/* harmony import */ var
|
33921
|
-
/* harmony import */ var
|
33922
|
-
/* harmony import */ var
|
33923
|
-
/* harmony import */ var
|
33924
|
-
/* harmony import */ var
|
33925
|
-
/* harmony import */ var
|
33926
|
-
/* harmony import */ var
|
33927
|
-
/* harmony import */ var
|
33928
|
-
/* harmony import */ var
|
33929
|
-
/* harmony import */ var
|
33930
|
-
/* harmony import */ var
|
33931
|
-
/* harmony import */ var
|
33932
|
-
/* harmony import */ var
|
33933
|
-
/* harmony import */ var
|
33934
|
-
/* harmony import */ var
|
33935
|
-
/* harmony import */ var
|
33895
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
|
33896
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
|
33897
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
33898
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
33899
|
+
/* harmony import */ var prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prismjs/components/prism-core */ "./node_modules/prismjs/components/prism-core.js");
|
33900
|
+
/* harmony import */ var prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_2__);
|
33901
|
+
/* harmony import */ var prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prismjs/components/prism-clike */ "./node_modules/prismjs/components/prism-clike.js");
|
33902
|
+
/* harmony import */ var prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_clike__WEBPACK_IMPORTED_MODULE_3__);
|
33903
|
+
/* harmony import */ var prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prismjs/components/prism-markup */ "./node_modules/prismjs/components/prism-markup.js");
|
33904
|
+
/* harmony import */ var prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_markup__WEBPACK_IMPORTED_MODULE_4__);
|
33905
|
+
/* harmony import */ var prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! prismjs/components/prism-javascript */ "./node_modules/prismjs/components/prism-javascript.js");
|
33906
|
+
/* harmony import */ var prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_javascript__WEBPACK_IMPORTED_MODULE_5__);
|
33907
|
+
/* harmony import */ var prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! prismjs/components/prism-css */ "./node_modules/prismjs/components/prism-css.js");
|
33908
|
+
/* harmony import */ var prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_css__WEBPACK_IMPORTED_MODULE_6__);
|
33909
|
+
/* harmony import */ var prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prismjs/components/prism-bash */ "./node_modules/prismjs/components/prism-bash.js");
|
33910
|
+
/* harmony import */ var prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_bash__WEBPACK_IMPORTED_MODULE_7__);
|
33911
|
+
/* harmony import */ var prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! prismjs/components/prism-java */ "./node_modules/prismjs/components/prism-java.js");
|
33912
|
+
/* harmony import */ var prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_java__WEBPACK_IMPORTED_MODULE_8__);
|
33913
|
+
/* harmony import */ var prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prismjs/components/prism-csharp */ "./node_modules/prismjs/components/prism-csharp.js");
|
33914
|
+
/* harmony import */ var prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_csharp__WEBPACK_IMPORTED_MODULE_9__);
|
33915
|
+
/* harmony import */ var prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! prismjs/components/prism-basic */ "./node_modules/prismjs/components/prism-basic.js");
|
33916
|
+
/* harmony import */ var prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_basic__WEBPACK_IMPORTED_MODULE_10__);
|
33917
|
+
/* harmony import */ var prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! prismjs/components/prism-vbnet */ "./node_modules/prismjs/components/prism-vbnet.js");
|
33918
|
+
/* harmony import */ var prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_vbnet__WEBPACK_IMPORTED_MODULE_11__);
|
33919
|
+
/* harmony import */ var prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! prismjs/components/prism-markup-templating */ "./node_modules/prismjs/components/prism-markup-templating.js");
|
33920
|
+
/* harmony import */ var prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_markup_templating__WEBPACK_IMPORTED_MODULE_12__);
|
33921
|
+
/* harmony import */ var prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prismjs/components/prism-php */ "./node_modules/prismjs/components/prism-php.js");
|
33922
|
+
/* harmony import */ var prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_php__WEBPACK_IMPORTED_MODULE_13__);
|
33923
|
+
/* harmony import */ var prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! prismjs/components/prism-ruby */ "./node_modules/prismjs/components/prism-ruby.js");
|
33924
|
+
/* harmony import */ var prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_ruby__WEBPACK_IMPORTED_MODULE_14__);
|
33925
|
+
/* harmony import */ var prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! prismjs/components/prism-perl */ "./node_modules/prismjs/components/prism-perl.js");
|
33926
|
+
/* harmony import */ var prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_perl__WEBPACK_IMPORTED_MODULE_15__);
|
33927
|
+
/* harmony import */ var prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! prismjs/components/prism-python */ "./node_modules/prismjs/components/prism-python.js");
|
33928
|
+
/* harmony import */ var prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_python__WEBPACK_IMPORTED_MODULE_16__);
|
33929
|
+
/* harmony import */ var prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! prismjs/components/prism-json */ "./node_modules/prismjs/components/prism-json.js");
|
33930
|
+
/* harmony import */ var prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(prismjs_components_prism_json__WEBPACK_IMPORTED_MODULE_17__);
|
33931
|
+
/* harmony import */ var prismjs_plugins_line_numbers_prism_line_numbers__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! prismjs/plugins/line-numbers/prism-line-numbers */ "./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js");
|
33932
|
+
/* harmony import */ var prismjs_plugins_line_numbers_prism_line_numbers__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(prismjs_plugins_line_numbers_prism_line_numbers__WEBPACK_IMPORTED_MODULE_18__);
|
33933
|
+
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
|
33934
|
+
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_19__);
|
33935
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! styled-components */ "styled-components");
|
33936
|
+
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_20__);
|
33936
33937
|
// LICENSE_CODE ZON
|
33937
33938
|
|
33938
33939
|
|
@@ -33958,38 +33959,43 @@ __webpack_require__.r(__webpack_exports__);
|
|
33958
33959
|
|
33959
33960
|
|
33960
33961
|
|
33961
|
-
(
|
33962
|
+
(prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_2___default().manual) = true;
|
33962
33963
|
|
33963
33964
|
// import 'prismjs/plugins/line-numbers/prism-line-numbers';
|
33964
33965
|
|
33965
|
-
var Code = /*#__PURE__*/(0,
|
33966
|
+
var Code = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (_ref, ref) {
|
33966
33967
|
var className = _ref.className,
|
33967
33968
|
code = _ref.code,
|
33968
33969
|
lang = _ref.lang,
|
33969
33970
|
lineNumbers = _ref.lineNumbers,
|
33970
33971
|
_ref$variant = _ref.variant,
|
33971
|
-
variant = _ref$variant === void 0 ? 'white' : _ref$variant
|
33972
|
-
|
33973
|
-
|
33972
|
+
variant = _ref$variant === void 0 ? 'white' : _ref$variant,
|
33973
|
+
wrap = _ref.wrap;
|
33974
|
+
(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
|
33975
|
+
prismjs_components_prism_core__WEBPACK_IMPORTED_MODULE_2___default().highlightAll();
|
33974
33976
|
}, [code, lang, lineNumbers]);
|
33975
|
-
return /*#__PURE__*/
|
33977
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CodeWrapper, {
|
33976
33978
|
ref: ref,
|
33977
|
-
className: (
|
33978
|
-
|
33979
|
+
className: classnames__WEBPACK_IMPORTED_MODULE_19___default()(className, variant, {
|
33980
|
+
wrap: wrap,
|
33981
|
+
'line-numbers': lineNumbers
|
33982
|
+
})
|
33983
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("code", {
|
33979
33984
|
className: "language-".concat(lang, " content")
|
33980
33985
|
}, code));
|
33981
33986
|
});
|
33982
33987
|
Code.displayName = 'Code';
|
33983
33988
|
Code.propTypes = {
|
33984
|
-
code: (
|
33985
|
-
lang:
|
33986
|
-
variant:
|
33987
|
-
lineNumbers: (
|
33989
|
+
code: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),
|
33990
|
+
lang: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['js', 'javascript', 'css', 'markup', 'shell', 'java', 'csharp', 'vbnet', 'php', 'ruby', 'perl', 'python', 'json']),
|
33991
|
+
variant: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['black', 'white']),
|
33992
|
+
lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
33993
|
+
wrap: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
33988
33994
|
};
|
33989
|
-
var CodeWrapper =
|
33995
|
+
var CodeWrapper = styled_components__WEBPACK_IMPORTED_MODULE_20___default().pre.withConfig({
|
33990
33996
|
displayName: "CodeWrapper",
|
33991
33997
|
componentId: "sc-1kleg7y-0"
|
33992
|
-
})(["&&&{margin:0;border:none;background-color:transparent;width:100%;white-space:pre
|
33998
|
+
})(["&&&{margin:0;border:none;background-color:transparent;width:100%;white-space:pre;tab-size:4;text-align:left;word-spacing:normal;word-break:break-word;word-wrap:normal;hyphens:none;max-height:none !important;&.wrap{white-space:pre-wrap !important;}code.content{all:inherit;margin:0;padding:0;border:none;background-color:transparent;text-shadow:none;}&.line-numbers{position:relative;padding-left:3.8rem;counter-reset:linenumber;& > code{position:relative;white-space:inherit;}.line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3.8rem;width:3rem;letter-spacing:-1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;& > span{display:block;counter-increment:linenumber;&:before{content:counter(linenumber);display:block;padding-right:0.8rem;text-align:right;}}}}&.black .line-numbers{color:", ";}&.white .line-numbers{color:", ";}&.black{code[class*=\"language-\"],pre[class*=\"language-\"]{color:", ";background:none;text-shadow:0 1px ", ";font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;}pre[class*=\"language-\"]{padding:1em;margin:.5em 0;overflow:auto;border-radius:0.3em;}:not(pre) > code[class*=\"language-\"],pre[class*=\"language-\"]{background:#272822;}:not(pre) > code[class*=\"language-\"]{padding:.1em;border-radius:.3em;white-space:normal;}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#8292a2;}.token.punctuation{color:#f8f8f2;}.token.namespace{opacity:.7;}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672;}.token.boolean,.token.number{color:#ae81ff;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2;}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#e6db74;}.token.keyword{color:#66d9ef;}.token.regex,.token.important{color:#fd971f;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}}&.white{code[class*=\"language-\"],pre[class*=\"language-\"]{color:", ";background:none;text-shadow:0 1px ", ";font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;}pre[class*=\"language-\"]::-moz-selection,pre[class*=\"language-\"] ::-moz-selection,code[class*=\"language-\"]::-moz-selection,code[class*=\"language-\"] ::-moz-selection{text-shadow:none;background:#b3d4fc;}pre[class*=\"language-\"]::selection,pre[class*=\"language-\"] ::selection,code[class*=\"language-\"]::selection,code[class*=\"language-\"] ::selection{text-shadow:none;background:#b3d4fc;}@media print{code[class*=\"language-\"],pre[class*=\"language-\"]{text-shadow:none;}}pre[class*=\"language-\"]{padding:1em;margin:.5em 0;overflow:auto;}:not(pre) > code[class*=\"language-\"],pre[class*=\"language-\"]{background:#f5f2f0;}:not(pre) > code[class*=\"language-\"]{padding:.1em;border-radius:.3em;white-space:normal;}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.token.namespace{opacity:.7;}.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#905;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#690;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#9a6e3a;background:hsla(0,0%,100%,.5);}.token.atrule,.token.attr-value,.token.keyword{color:#07a;}.token.function,.token.class-name{color:#DD4A68;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}}}"], function (_ref2) {
|
33993
33999
|
var color = _ref2.theme.color;
|
33994
34000
|
return color.text_white;
|
33995
34001
|
}, function (_ref3) {
|
@@ -34054,7 +34060,8 @@ var CodeBlock = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
34054
34060
|
onCopy = props.onCopy,
|
34055
34061
|
_props$variant = props.variant,
|
34056
34062
|
variant = _props$variant === void 0 ? 'black' : _props$variant,
|
34057
|
-
loading = props.loading
|
34063
|
+
loading = props.loading,
|
34064
|
+
wrap = props.wrap;
|
34058
34065
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CodeBlockWrapper, _extends({
|
34059
34066
|
ref: ref,
|
34060
34067
|
"data-testid": "code_block"
|
@@ -34080,7 +34087,8 @@ var CodeBlock = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
34080
34087
|
copyButton: true
|
34081
34088
|
}),
|
34082
34089
|
onCopy: onCopy,
|
34083
|
-
loading: loading
|
34090
|
+
loading: loading,
|
34091
|
+
wrap: wrap
|
34084
34092
|
}));
|
34085
34093
|
});
|
34086
34094
|
CodeBlock.displayName = 'CodeBlock';
|
@@ -34095,7 +34103,8 @@ CodeBlock.propTypes = {
|
|
34095
34103
|
lineNumbers: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34096
34104
|
copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34097
34105
|
loading: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
34098
|
-
onCopy: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
34106
|
+
onCopy: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
34107
|
+
wrap: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
34099
34108
|
};
|
34100
34109
|
var CodeBlockWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
34101
34110
|
displayName: "CodeBlockWrapper",
|
@@ -34151,9 +34160,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
34151
34160
|
|
34152
34161
|
|
34153
34162
|
/*jslint react:true*/
|
34154
|
-
var _excluded = ["code", "lang", "className", "lineNumbers", "copyButton", "loading", "onCopy", "variant", "copyButtonClassName"];
|
34155
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
34156
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
34157
34163
|
|
34158
34164
|
|
34159
34165
|
|
@@ -34172,9 +34178,9 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
34172
34178
|
_ref$variant = _ref.variant,
|
34173
34179
|
variant = _ref$variant === void 0 ? 'black' : _ref$variant,
|
34174
34180
|
copyButtonClassName = _ref.copyButtonClassName,
|
34175
|
-
|
34181
|
+
maxHeight = _ref.maxHeight,
|
34182
|
+
wrap = _ref.wrap;
|
34176
34183
|
var codeRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
|
34177
|
-
var maxHeight = rest.maxHeight || rest.max_height;
|
34178
34184
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CodeBlockBody, {
|
34179
34185
|
ref: ref,
|
34180
34186
|
className: (0,_util__WEBPACK_IMPORTED_MODULE_3__.classNames)(null, {}, className, variant),
|
@@ -34186,7 +34192,8 @@ var CodeSnippet = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)
|
|
34186
34192
|
lang: lang,
|
34187
34193
|
code: code,
|
34188
34194
|
variant: variant,
|
34189
|
-
lineNumbers: lineNumbers
|
34195
|
+
lineNumbers: lineNumbers,
|
34196
|
+
wrap: wrap
|
34190
34197
|
}), !!copyButton && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_copy_button__WEBPACK_IMPORTED_MODULE_5__.CopyButton, {
|
34191
34198
|
className: copyButtonClassName,
|
34192
34199
|
code: code,
|
@@ -34208,12 +34215,13 @@ CodeSnippet.propTypes = {
|
|
34208
34215
|
copyButton: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
|
34209
34216
|
copyButtonClassName: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
34210
34217
|
loading: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool),
|
34211
|
-
onCopy: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func)
|
34218
|
+
onCopy: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().func),
|
34219
|
+
wrap: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().bool)
|
34212
34220
|
};
|
34213
34221
|
var CodeBlockBody = styled_components__WEBPACK_IMPORTED_MODULE_1___default().div.withConfig({
|
34214
34222
|
displayName: "CodeBlockBody",
|
34215
34223
|
componentId: "sc-13u859f-0"
|
34216
|
-
})(["position:relative;
|
34224
|
+
})(["position:relative;overflow-y:auto;min-height:60px;gap:", ";padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";", " &.black{background-color:", ";}&.white{background-color:", ";}"], function (_ref2) {
|
34217
34225
|
var spacing = _ref2.theme.spacing;
|
34218
34226
|
return spacing['03'];
|
34219
34227
|
}, function (_ref3) {
|
@@ -34900,18 +34908,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
34900
34908
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
34901
34909
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "react-dom");
|
34902
34910
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);
|
34903
|
-
/* harmony import */ var
|
34911
|
+
/* harmony import */ var react_popper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react-popper */ "./node_modules/react-popper/lib/esm/usePopper.js");
|
34904
34912
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
34905
34913
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
34906
34914
|
/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.js");
|
34907
34915
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
34908
|
-
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*!
|
34916
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
34917
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./util */ "./src/hoc/util.js");
|
34909
34918
|
// LICENSE_CODE ZON
|
34910
34919
|
|
34911
34920
|
|
34912
34921
|
/*jslint react:true*/
|
34913
34922
|
var _excluded = ["popoverProps", "onOpenChange"],
|
34914
|
-
_excluded2 = ["portalTarget"];
|
34923
|
+
_excluded2 = ["portalTarget", "ref"];
|
34915
34924
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
34916
34925
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
34917
34926
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
@@ -34928,6 +34937,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
34928
34937
|
|
34929
34938
|
|
34930
34939
|
|
34940
|
+
|
34931
34941
|
var assign = Object.assign;
|
34932
34942
|
var DEFAULT_CLOSE_DELAY = 200;
|
34933
34943
|
var withPopover = function withPopover(Comp, PopoverComp) {
|
@@ -34938,6 +34948,7 @@ var withPopover = function withPopover(Comp, PopoverComp) {
|
|
34938
34948
|
onOpenChange = props.onOpenChange,
|
34939
34949
|
compProps = _objectWithoutProperties(props, _excluded);
|
34940
34950
|
var portalTarget = popoverProps.portalTarget,
|
34951
|
+
popoverRef = popoverProps.ref,
|
34941
34952
|
restPopoverProps = _objectWithoutProperties(popoverProps, _excluded2);
|
34942
34953
|
var placement = popoverOptions.placement,
|
34943
34954
|
zIndex = popoverOptions.zIndex,
|
@@ -34955,6 +34966,10 @@ var withPopover = function withPopover(Comp, PopoverComp) {
|
|
34955
34966
|
_useState4 = _slicedToArray(_useState3, 2),
|
34956
34967
|
popperElement = _useState4[0],
|
34957
34968
|
setPopperElement = _useState4[1];
|
34969
|
+
var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),
|
34970
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
34971
|
+
popoverCompElement = _useState6[0],
|
34972
|
+
setPopoverCompElement = _useState6[1];
|
34958
34973
|
var _useStateWithCallback = useStateWithCallback(false, onOpenChange),
|
34959
34974
|
_useStateWithCallback2 = _slicedToArray(_useStateWithCallback, 2),
|
34960
34975
|
isOpen = _useStateWithCallback2[0],
|
@@ -34978,7 +34993,7 @@ var withPopover = function withPopover(Comp, PopoverComp) {
|
|
34978
34993
|
return !v;
|
34979
34994
|
});
|
34980
34995
|
}, []);
|
34981
|
-
var _usePopper = (0,
|
34996
|
+
var _usePopper = (0,react_popper__WEBPACK_IMPORTED_MODULE_7__.usePopper)(referenceElement, popperElement, {
|
34982
34997
|
placement: placement,
|
34983
34998
|
modifiers: [{
|
34984
34999
|
name: 'offset',
|
@@ -35017,7 +35032,7 @@ var withPopover = function withPopover(Comp, PopoverComp) {
|
|
35017
35032
|
if (interactive) hidePopover();
|
35018
35033
|
(_compProps$onPointerL = compProps.onPointerLeave) === null || _compProps$onPointerL === void 0 || _compProps$onPointerL.call(compProps, evt);
|
35019
35034
|
}, [interactive, hidePopover, compProps.onPointerLeave]);
|
35020
|
-
(0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useOutsideClick)([referenceElement, popperElement], hideAndStopEvt);
|
35035
|
+
(0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useOutsideClick)([referenceElement, popperElement, popoverCompElement], hideAndStopEvt);
|
35021
35036
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(RefCompContainer, {
|
35022
35037
|
ref: setReferenceElement,
|
35023
35038
|
className: wrapperClassName,
|
@@ -35032,18 +35047,20 @@ var withPopover = function withPopover(Comp, PopoverComp) {
|
|
35032
35047
|
}))), isOpen && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverContainer, {
|
35033
35048
|
ref: setPopperElement,
|
35034
35049
|
className: popoverClassName,
|
35035
|
-
style: assign({},
|
35050
|
+
style: assign({}, styles.popper, popoverStyle),
|
35036
35051
|
attributes: attributes.popper,
|
35037
35052
|
visible: isOpen,
|
35038
35053
|
portalTarget: portalTarget,
|
35039
35054
|
zIndex: zIndex
|
35040
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverComp, _extends({
|
35055
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(PopoverComp, _extends({
|
35056
|
+
ref: (0,_util__WEBPACK_IMPORTED_MODULE_5__.mergeRefs)(popoverRef, setPopoverCompElement)
|
35057
|
+
}, restPopoverProps, {
|
35041
35058
|
onPointerEnter: showPopover,
|
35042
35059
|
onPointerLeave: hidePopover,
|
35043
35060
|
popover: popoverApi
|
35044
35061
|
}))));
|
35045
35062
|
});
|
35046
|
-
WithPopover.displayName = "WithPopover(".concat((0,
|
35063
|
+
WithPopover.displayName = "WithPopover(".concat((0,_util__WEBPACK_IMPORTED_MODULE_6__.getDisplayName)(Comp), ")");
|
35047
35064
|
return WithPopover;
|
35048
35065
|
};
|
35049
35066
|
var PopoverContainer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
|
@@ -35069,10 +35086,10 @@ var RefCompContainer = styled_components__WEBPACK_IMPORTED_MODULE_2___default().
|
|
35069
35086
|
componentId: "sc-1hvrlux-0"
|
35070
35087
|
})(["width:fit-content;"]);
|
35071
35088
|
var useStateWithCallback = function useStateWithCallback(initialValue, callback) {
|
35072
|
-
var
|
35073
|
-
|
35074
|
-
value =
|
35075
|
-
setValue =
|
35089
|
+
var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(initialValue),
|
35090
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
35091
|
+
value = _useState8[0],
|
35092
|
+
setValue = _useState8[1];
|
35076
35093
|
var prev = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(value);
|
35077
35094
|
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
35078
35095
|
if (value === prev.current) return;
|
@@ -42569,15 +42586,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
42569
42586
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
42570
42587
|
/* harmony import */ var rc_util_lib_React_render__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/lib/React/render */ "./node_modules/rc-util/lib/React/render.js");
|
42571
42588
|
/* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../themes */ "./src/themes/index.js");
|
42572
|
-
/* harmony import */ var
|
42573
|
-
/* harmony import */ var
|
42574
|
-
/* harmony import */ var
|
42575
|
-
/* harmony import */ var
|
42589
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
42590
|
+
/* harmony import */ var _global_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../global_config */ "./src/global_config.js");
|
42591
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
42592
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
42593
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
42594
|
+
/* harmony import */ var _modal2__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modal2 */ "./src/modal/modal2.js");
|
42576
42595
|
// LICENSE_CODE ZON
|
42577
42596
|
|
42578
42597
|
|
42579
42598
|
/*jslint react:true*/
|
42599
|
+
var _excluded = ["className", "classNamePrefix", "closeOnOutsideClick", "zIndex", "show", "afterClose", "closable", "onClose", "onConfirm", "okLabel", "cancelLabel", "okProps", "cancelProps", "size", "content", "type"];
|
42580
42600
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
42601
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
42602
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
42581
42603
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
42582
42604
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
42583
42605
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
@@ -42596,6 +42618,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
42596
42618
|
|
42597
42619
|
|
42598
42620
|
|
42621
|
+
|
42622
|
+
|
42599
42623
|
var destroyFns = [];
|
42600
42624
|
var withWarn = function withWarn(props) {
|
42601
42625
|
return _objectSpread(_objectSpread({}, props), {}, {
|
@@ -42650,7 +42674,7 @@ var confirm = function confirm(config) {
|
|
42650
42674
|
var render = function render(props) {
|
42651
42675
|
clearTimeout(timeoutId);
|
42652
42676
|
timeoutId = setTimeout(function () {
|
42653
|
-
var _globalConfig = (0,
|
42677
|
+
var _globalConfig = (0,_global_config__WEBPACK_IMPORTED_MODULE_4__.globalConfig)(),
|
42654
42678
|
themeName = _globalConfig.themeName;
|
42655
42679
|
(0,rc_util_lib_React_render__WEBPACK_IMPORTED_MODULE_1__.render)(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_themes__WEBPACK_IMPORTED_MODULE_2__.ThemeProvider, {
|
42656
42680
|
theme: themeName
|
@@ -42698,10 +42722,19 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
42698
42722
|
onConfirm = _ref.onConfirm,
|
42699
42723
|
okLabel = _ref.okLabel,
|
42700
42724
|
cancelLabel = _ref.cancelLabel,
|
42725
|
+
okProps = _ref.okProps,
|
42726
|
+
cancelProps = _ref.cancelProps,
|
42701
42727
|
_ref$size = _ref.size,
|
42702
42728
|
size = _ref$size === void 0 ? 'sm' : _ref$size,
|
42703
|
-
content = _ref.content
|
42704
|
-
|
42729
|
+
content = _ref.content,
|
42730
|
+
type = _ref.type,
|
42731
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
42732
|
+
var icon = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(rest.icon, getIconByType(type));
|
42733
|
+
var title = rest.title && icon ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_7__.Flex, {
|
42734
|
+
gap: "03",
|
42735
|
+
align_items: "center"
|
42736
|
+
}, icon, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, rest.title)) : rest.title;
|
42737
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_8__.Modal2, {
|
42705
42738
|
className: className,
|
42706
42739
|
classNamePrefix: classNamePrefix,
|
42707
42740
|
onClose: function onClose() {
|
@@ -42711,20 +42744,12 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
42711
42744
|
onConfirm === null || onConfirm === void 0 || onConfirm(false);
|
42712
42745
|
},
|
42713
42746
|
show: show,
|
42714
|
-
title:
|
42747
|
+
title: title,
|
42715
42748
|
closeOnOutsideClick: closeOnOutsideClick,
|
42716
42749
|
size: size,
|
42717
42750
|
zIndex: zIndex,
|
42718
42751
|
closable: closable,
|
42719
42752
|
afterClose: afterClose,
|
42720
|
-
footer: null
|
42721
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, {
|
42722
|
-
flex_direction: "column",
|
42723
|
-
gap: "07"
|
42724
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
42725
|
-
variant: "lg",
|
42726
|
-
color: "text"
|
42727
|
-
}, content), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_6__.ModalFooter, {
|
42728
42753
|
okLabel: okLabel,
|
42729
42754
|
cancelLabel: cancelLabel,
|
42730
42755
|
onOk: function onOk() {
|
@@ -42736,8 +42761,39 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
42736
42761
|
onCancel: function onCancel() {
|
42737
42762
|
_onClose === null || _onClose === void 0 || _onClose();
|
42738
42763
|
onConfirm === null || onConfirm === void 0 || onConfirm(false);
|
42739
|
-
}
|
42740
|
-
|
42764
|
+
},
|
42765
|
+
okProps: okProps,
|
42766
|
+
cancelProps: cancelProps
|
42767
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Paragraph, {
|
42768
|
+
variant: "sm"
|
42769
|
+
}, content));
|
42770
|
+
};
|
42771
|
+
var getIconByType = function getIconByType(type) {
|
42772
|
+
if (type == 'warning') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
|
42773
|
+
size: "sm",
|
42774
|
+
name: "Warning",
|
42775
|
+
color: "icon_warning"
|
42776
|
+
});
|
42777
|
+
if (type == 'info') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
|
42778
|
+
size: "sm",
|
42779
|
+
name: "Info",
|
42780
|
+
color: "icon_primary"
|
42781
|
+
});
|
42782
|
+
if (type == 'success') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
|
42783
|
+
size: "sm",
|
42784
|
+
name: "CheckCircle",
|
42785
|
+
color: "icon_success"
|
42786
|
+
});
|
42787
|
+
if (type == 'error') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
|
42788
|
+
size: "sm",
|
42789
|
+
name: "Warning",
|
42790
|
+
color: "icon_error"
|
42791
|
+
});
|
42792
|
+
if (type == 'confirm') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
|
42793
|
+
size: "sm",
|
42794
|
+
name: "Question",
|
42795
|
+
color: "icon_primary"
|
42796
|
+
});
|
42741
42797
|
};
|
42742
42798
|
|
42743
42799
|
/***/ }),
|
@@ -42781,6 +42837,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
42781
42837
|
|
42782
42838
|
|
42783
42839
|
_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.Button = _modal_button__WEBPACK_IMPORTED_MODULE_2__.ModalButton;
|
42840
|
+
_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.warn = function warnFn(props) {
|
42841
|
+
return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withWarn)(props));
|
42842
|
+
};
|
42843
|
+
_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.info = function infoFn(props) {
|
42844
|
+
return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withInfo)(props));
|
42845
|
+
};
|
42846
|
+
_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.success = function successFn(props) {
|
42847
|
+
return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withSuccess)(props));
|
42848
|
+
};
|
42849
|
+
_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.error = function errorFn(props) {
|
42850
|
+
return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withError)(props));
|
42851
|
+
};
|
42784
42852
|
_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.confirm = function confirmFn(props) {
|
42785
42853
|
return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withConfirm)(props));
|
42786
42854
|
};
|
@@ -42932,7 +43000,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
42932
43000
|
var Modal2 = function Modal2(_ref) {
|
42933
43001
|
var className = _ref.className,
|
42934
43002
|
_ref$classNamePrefix = _ref.classNamePrefix,
|
42935
|
-
classNamePrefix = _ref$classNamePrefix === void 0 ? '
|
43003
|
+
classNamePrefix = _ref$classNamePrefix === void 0 ? 'uikit_modal' : _ref$classNamePrefix,
|
42936
43004
|
_ref$size = _ref.size,
|
42937
43005
|
size = _ref$size === void 0 ? 'md' : _ref$size,
|
42938
43006
|
_ref$footerVariant = _ref.footerVariant,
|
@@ -42966,7 +43034,8 @@ var Modal2 = function Modal2(_ref) {
|
|
42966
43034
|
var dialogTitle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Header, {
|
42967
43035
|
color: "text"
|
42968
43036
|
}, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
|
42969
|
-
padding_right: "04"
|
43037
|
+
padding_right: "04",
|
43038
|
+
color: "text_tertiary"
|
42970
43039
|
}, subtitle));
|
42971
43040
|
var dialogFooter = footer !== null ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ModalFooter, {
|
42972
43041
|
onOk: onOk,
|
@@ -42978,12 +43047,6 @@ var Modal2 = function Modal2(_ref) {
|
|
42978
43047
|
variant: footerVariant,
|
42979
43048
|
footer: footer
|
42980
43049
|
}) : null;
|
42981
|
-
var closeIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_js__WEBPACK_IMPORTED_MODULE_5__.Icon, {
|
42982
|
-
name: "CloseSmall",
|
42983
|
-
size: "xs",
|
42984
|
-
color: "icon",
|
42985
|
-
"data-testid": "modal_header_close_button"
|
42986
|
-
});
|
42987
43050
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Modal2Style, {
|
42988
43051
|
$prefixCls: classNamePrefix,
|
42989
43052
|
$theme: theme
|
@@ -42994,7 +43057,7 @@ var Modal2 = function Modal2(_ref) {
|
|
42994
43057
|
className: className,
|
42995
43058
|
prefixCls: classNamePrefix,
|
42996
43059
|
closable: closable,
|
42997
|
-
closeIcon:
|
43060
|
+
closeIcon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CloseIcon, null),
|
42998
43061
|
size: size,
|
42999
43062
|
maskClosable: closeOnOutsideClick && onClose,
|
43000
43063
|
title: dialogTitle,
|
@@ -43034,7 +43097,7 @@ Modal2.propTypes = {
|
|
43034
43097
|
minHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
43035
43098
|
afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
43036
43099
|
};
|
43037
|
-
var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{&-root{div[role=\"dialog\"]{margin:10vh auto 0;}}&-mask{position:fixed;inset:0;height:100%;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:none;&-hidden{display:none;}}&-fade-enter,&-fade-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active{animation-name:rcDialogFadeIn;animation-play-state:running;}&-fade-leave&-fade-leave-active{animation-name:rcDialogFadeOut;animation-play-state:running;}@keyframes rcDialogFadeIn{0%{opacity:0;}100%{opacity:1;}}@keyframes rcDialogFadeOut{0%{opacity:1;}100%{opacity:0;}}&-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;}&-content{position:relative;display:flex;flex-direction:column;box-sizing:border-box;padding-top:", ";background-color:", ";border-radius:", ";font-family:", ";box-shadow:", ";pointer-events:auto;}&-close{position:absolute;top:", ";inset-inline-end:", ";z-index:1;padding:0;text-decoration:none;background:transparent;border-radius:4px;width:32px;height:32px;border:0;outline:0;cursor:pointer;}&-header{display:flex;flex-direction:column;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";gap:", ";}&-body{overflow-y:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcDialogZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcDialogZoomOut;animation-play-state:running;}@keyframes rcDialogZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcDialogZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (_ref2) {
|
43100
|
+
var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{&-root{div[role=\"dialog\"]{margin:10vh auto 0;}}&-mask{position:fixed;inset:0;height:100%;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:none;&-hidden{display:none;}}&-fade-enter,&-fade-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active{animation-name:rcDialogFadeIn;animation-play-state:running;}&-fade-leave&-fade-leave-active{animation-name:rcDialogFadeOut;animation-play-state:running;}@keyframes rcDialogFadeIn{0%{opacity:0;}100%{opacity:1;}}@keyframes rcDialogFadeOut{0%{opacity:1;}100%{opacity:0;}}&-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;}&-content{position:relative;display:flex;flex-direction:column;box-sizing:border-box;padding-top:", ";background-color:", ";border-radius:", ";font-family:", ";box-shadow:", ";pointer-events:auto;}&-close{position:absolute;top:", ";inset-inline-end:", ";z-index:1;padding:0;text-decoration:none;background:transparent;border-radius:4px;width:32px;height:32px;border:0;outline:0;cursor:pointer;}&-header{display:flex;flex-direction:column;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";gap:", ";}&-title{display:flex;flex-direction:column;gap:", ";}&-body{overflow-y:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";color:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcDialogZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcDialogZoomOut;animation-play-state:running;}@keyframes rcDialogZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcDialogZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (_ref2) {
|
43038
43101
|
var $prefixCls = _ref2.$prefixCls;
|
43039
43102
|
return $prefixCls;
|
43040
43103
|
}, function (_ref3) {
|
@@ -43081,25 +43144,25 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
|
|
43081
43144
|
return $theme.spacing['03'];
|
43082
43145
|
}, function (_ref17) {
|
43083
43146
|
var $theme = _ref17.$theme;
|
43084
|
-
return $theme.spacing['
|
43147
|
+
return $theme.spacing['03'];
|
43085
43148
|
}, function (_ref18) {
|
43086
43149
|
var $theme = _ref18.$theme;
|
43087
|
-
return $theme.spacing['
|
43150
|
+
return $theme.spacing['06'];
|
43088
43151
|
}, function (_ref19) {
|
43089
43152
|
var $theme = _ref19.$theme;
|
43090
|
-
return $theme.spacing['
|
43153
|
+
return $theme.spacing['07'];
|
43091
43154
|
}, function (_ref20) {
|
43092
43155
|
var $theme = _ref20.$theme;
|
43093
|
-
return $theme.spacing['
|
43156
|
+
return $theme.spacing['08'];
|
43094
43157
|
}, function (_ref21) {
|
43095
43158
|
var $theme = _ref21.$theme;
|
43096
|
-
return $theme.
|
43159
|
+
return $theme.spacing['07'];
|
43097
43160
|
}, function (_ref22) {
|
43098
43161
|
var $theme = _ref22.$theme;
|
43099
|
-
return $theme.
|
43162
|
+
return $theme.color.text_secondary;
|
43100
43163
|
}, function (_ref23) {
|
43101
43164
|
var $theme = _ref23.$theme;
|
43102
|
-
return $theme.
|
43165
|
+
return $theme.scrollbars.thin;
|
43103
43166
|
}, function (_ref24) {
|
43104
43167
|
var $theme = _ref24.$theme;
|
43105
43168
|
return $theme.spacing['04'];
|
@@ -43108,17 +43171,23 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
|
|
43108
43171
|
return $theme.spacing['07'];
|
43109
43172
|
}, function (_ref26) {
|
43110
43173
|
var $theme = _ref26.$theme;
|
43174
|
+
return $theme.spacing['04'];
|
43175
|
+
}, function (_ref27) {
|
43176
|
+
var $theme = _ref27.$theme;
|
43177
|
+
return $theme.spacing['07'];
|
43178
|
+
}, function (_ref28) {
|
43179
|
+
var $theme = _ref28.$theme;
|
43111
43180
|
return $theme.color.border_secondary;
|
43112
43181
|
});
|
43113
|
-
var ModalFooter = function ModalFooter(
|
43114
|
-
var onOk =
|
43115
|
-
onCancel =
|
43116
|
-
okLabel =
|
43117
|
-
cancelLabel =
|
43118
|
-
okProps =
|
43119
|
-
cancelProps =
|
43120
|
-
variant =
|
43121
|
-
footer =
|
43182
|
+
var ModalFooter = function ModalFooter(_ref29) {
|
43183
|
+
var onOk = _ref29.onOk,
|
43184
|
+
onCancel = _ref29.onCancel,
|
43185
|
+
okLabel = _ref29.okLabel,
|
43186
|
+
cancelLabel = _ref29.cancelLabel,
|
43187
|
+
okProps = _ref29.okProps,
|
43188
|
+
cancelProps = _ref29.cancelProps,
|
43189
|
+
variant = _ref29.variant,
|
43190
|
+
footer = _ref29.footer;
|
43122
43191
|
var renderCancel = !footer && !!(onCancel && cancelLabel);
|
43123
43192
|
var renderOk = !footer && !!(onOk && okLabel);
|
43124
43193
|
var renderFooter = !!footer || renderOk || renderCancel;
|
@@ -43173,6 +43242,26 @@ var footerLayout = {
|
|
43173
43242
|
horizontal_full: FooterFullHorizontal,
|
43174
43243
|
vertical: FooterVertical
|
43175
43244
|
};
|
43245
|
+
var CloseIcon = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_js__WEBPACK_IMPORTED_MODULE_5__.Icon).attrs({
|
43246
|
+
name: 'CloseSmall',
|
43247
|
+
size: 'xs',
|
43248
|
+
'data-testid': 'modal_header_close_button'
|
43249
|
+
}).withConfig({
|
43250
|
+
displayName: "CloseIcon",
|
43251
|
+
componentId: "sc-1p3wums-3"
|
43252
|
+
})(["background-color:", ";color:", ";&:hover{background-color:", ";color:", ";}"], function (_ref30) {
|
43253
|
+
var color = _ref30.theme.color;
|
43254
|
+
return color.icon_button_bg;
|
43255
|
+
}, function (_ref31) {
|
43256
|
+
var color = _ref31.theme.color;
|
43257
|
+
return color.icon_button_icon_default;
|
43258
|
+
}, function (_ref32) {
|
43259
|
+
var color = _ref32.theme.color;
|
43260
|
+
return color.icon_button_bg_hover;
|
43261
|
+
}, function (_ref33) {
|
43262
|
+
var color = _ref33.theme.color;
|
43263
|
+
return color.icon_button_icon_hover;
|
43264
|
+
});
|
43176
43265
|
|
43177
43266
|
/***/ }),
|
43178
43267
|
|
@@ -43218,7 +43307,7 @@ var ModalButton = function ModalButton(_ref) {
|
|
43218
43307
|
(_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 || _document$activeEleme.blur();
|
43219
43308
|
if (!hotKey) return;
|
43220
43309
|
var handle_key_press = function handle_key_press(e) {
|
43221
|
-
if (e.key.toLowerCase() == hotKey.toLowerCase()) onClick === null || onClick === void 0 || onClick(e);
|
43310
|
+
if (e.key && e.key.toLowerCase() == hotKey.toLowerCase()) onClick === null || onClick === void 0 || onClick(e);
|
43222
43311
|
};
|
43223
43312
|
window.addEventListener('keydown', handle_key_press);
|
43224
43313
|
return function () {
|
@@ -44766,14 +44855,10 @@ var DroppableBody = function DroppableBody(props) {
|
|
44766
44855
|
var _useRowHoverActions = (0,_row_hover_actions__WEBPACK_IMPORTED_MODULE_2__.useRowHoverActions)(),
|
44767
44856
|
renderHoverActions = _useRowHoverActions.renderHoverActions,
|
44768
44857
|
rowHoverEvents = _useRowHoverActions.rowHoverEvents;
|
44769
|
-
|
44770
|
-
return
|
44771
|
-
|
44772
|
-
|
44773
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DraggableWrapper, {
|
44774
|
-
key: row.id,
|
44775
|
-
row: row,
|
44776
|
-
index: index,
|
44858
|
+
var prepared_rows = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(function () {
|
44859
|
+
return rows.map(function (row, index) {
|
44860
|
+
return {
|
44861
|
+
original: row,
|
44777
44862
|
render: function render(wrapperProps, dragHandleProps) {
|
44778
44863
|
return renderRow({
|
44779
44864
|
row: row,
|
@@ -44785,6 +44870,20 @@ var DroppableBody = function DroppableBody(props) {
|
|
44785
44870
|
})
|
44786
44871
|
});
|
44787
44872
|
}
|
44873
|
+
};
|
44874
|
+
});
|
44875
|
+
}, [rows]);
|
44876
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_3__.Droppable, droppableProps, function (provided) {
|
44877
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
|
44878
|
+
ref: provided.innerRef
|
44879
|
+
}, provided.droppableProps), prepared_rows.map(function (_ref, index) {
|
44880
|
+
var row = _ref.original,
|
44881
|
+
render = _ref.render;
|
44882
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DraggableWrapper, {
|
44883
|
+
key: row.id,
|
44884
|
+
row: row,
|
44885
|
+
index: index,
|
44886
|
+
render: render
|
44788
44887
|
});
|
44789
44888
|
}), provided.placeholder), renderHoverActions());
|
44790
44889
|
});
|
@@ -49568,7 +49667,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
49568
49667
|
|
49569
49668
|
|
49570
49669
|
|
49571
|
-
var PT_TRIGGER = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'click', 'focus']);
|
49670
|
+
var PT_TRIGGER = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'click', 'focus', 'contextMenu']);
|
49572
49671
|
var _Tooltip = function Tooltip2(_ref) {
|
49573
49672
|
var id = _ref.id,
|
49574
49673
|
className = _ref.className,
|
@@ -49628,9 +49727,9 @@ _Tooltip.propTypes = {
|
|
49628
49727
|
onVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
49629
49728
|
afterVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
|
49630
49729
|
};
|
49631
|
-
_Tooltip.showDelay = 0;
|
49730
|
+
_Tooltip.showDelay = 0.1;
|
49632
49731
|
_Tooltip.hideDelay = 0.1;
|
49633
|
-
var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlobalStyle)([".", "{&_white,&_black{position:absolute;display:block;visibility:visible;font-family:", ";font-size:", ";font-weight:", ";line-height:", ";padding:1px;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-inner{padding:8px 10px;text-align:left;text-decoration:none;border-radius:", ";box-shadow:", ";min-height:", ";}&-arrow,&-arrow-inner{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{bottom:1px;margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow{left:50%;}&-placement-topLeft &-arrow{left:15%;}&-placement-topRight &-arrow{right:15%;}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;transform:translateX(calc(-100% + 1px));}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;}&-placement-right &-arrow{top:50%;}&-placement-rightTop &-arrow{top:15%;margin-top:0;}&-placement-rightBottom &-arrow{bottom:15%;}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;transform:translateX(calc(100% - 1px));}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;}&-placement-left &-arrow{top:50%;}&-placement-leftTop &-arrow{top:15%;margin-top:0;}&-placement-leftBottom &-arrow{bottom:15%;}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{top:1px;margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow{left:50%;}&-placement-bottomLeft &-arrow{left:15%;}&-placement-bottomRight &-arrow{right:15%;}&&-zoom-appear,&&-zoom-enter{opacity:0;}&&-zoom-enter,&&-zoom-leave{display:block;}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.
|
49732
|
+
var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlobalStyle)([".", "{&_white,&_black{position:absolute;display:block;visibility:visible;font-family:", ";font-size:", ";font-weight:", ";line-height:", ";padding:1px;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-inner{padding:8px 10px;text-align:left;text-decoration:none;border-radius:", ";box-shadow:", ";min-height:", ";}&-arrow,&-arrow-inner{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{bottom:1px;margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow{left:50%;}&-placement-topLeft &-arrow{left:15%;}&-placement-topRight &-arrow{right:15%;}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;transform:translateX(calc(-100% + 1px));}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;}&-placement-right &-arrow{top:50%;}&-placement-rightTop &-arrow{top:15%;margin-top:0;}&-placement-rightBottom &-arrow{bottom:15%;}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;transform:translateX(calc(100% - 1px));}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;}&-placement-left &-arrow{top:50%;}&-placement-leftTop &-arrow{top:15%;margin-top:0;}&-placement-leftBottom &-arrow{bottom:15%;}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{top:1px;margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow{left:50%;}&-placement-bottomLeft &-arrow{left:15%;}&-placement-bottomRight &-arrow{right:15%;}&&-zoom-appear,&&-zoom-enter{opacity:0;}&&-zoom-enter,&&-zoom-leave{display:block;}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running;}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}100%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}}}&_white{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{border-bottom-color:", ";}}&_black{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{border-bottom-color:", ";}}}"], function (_ref2) {
|
49634
49733
|
var $prefixCls = _ref2.$prefixCls;
|
49635
49734
|
return $prefixCls;
|
49636
49735
|
}, function (_ref3) {
|
@@ -49641,7 +49740,7 @@ var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlob
|
|
49641
49740
|
return $theme.font_size.sm;
|
49642
49741
|
}, function (_ref5) {
|
49643
49742
|
var $theme = _ref5.$theme;
|
49644
|
-
return $theme.font_weight.
|
49743
|
+
return $theme.font_weight.regular;
|
49645
49744
|
}, function (_ref6) {
|
49646
49745
|
var $theme = _ref6.$theme;
|
49647
49746
|
return $theme.line_height.none;
|