@capillarytech/blaze-ui 2.1.0 → 2.1.1-beta.1
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/dist/CapButton/index.js +43 -1
- package/dist/CapButton/index.js.map +1 -1
- package/dist/CapIcon/CapIcon.d.ts.map +1 -1
- package/dist/CapIcon/index.js +43 -1
- package/dist/CapIcon/index.js.map +1 -1
- package/dist/CapImage/CapImage.d.ts +0 -1
- package/dist/CapImage/CapImage.d.ts.map +1 -1
- package/dist/CapImage/index.js +2 -2
- package/dist/CapImage/index.js.map +1 -1
- package/dist/CapSlideBox/CapSlideBox.d.ts +5 -0
- package/dist/CapSlideBox/CapSlideBox.d.ts.map +1 -0
- package/dist/CapSlideBox/CapSlideBox.interfaces.d.ts +15 -0
- package/dist/CapSlideBox/CapSlideBox.interfaces.d.ts.map +1 -0
- package/dist/CapSlideBox/README.md +68 -0
- package/dist/CapSlideBox/index.d.ts +3 -0
- package/dist/CapSlideBox/index.d.ts.map +1 -0
- package/dist/CapSlideBox/index.js +18456 -0
- package/dist/CapSlideBox/index.js.map +1 -0
- package/dist/CapSlideBox/tests/CapSlideBox.mockData.d.ts +16 -0
- package/dist/CapSlideBox/tests/CapSlideBox.mockData.d.ts.map +1 -0
- package/dist/CapSlideBox/tests/CapSlideBox.test.d.ts +2 -0
- package/dist/CapSlideBox/tests/CapSlideBox.test.d.ts.map +1 -0
- package/dist/CapSlideBox/tests/__snapshots__/CapSlideBox.test.tsx.snap +637 -0
- package/dist/CapTooltipWithInfo/index.js +43 -1
- package/dist/CapTooltipWithInfo/index.js.map +1 -1
- package/dist/CapUnifiedSelect/index.js +43 -1
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/assets/Icons/Back.d.ts +7 -0
- package/dist/assets/Icons/Back.d.ts.map +1 -0
- package/dist/assets/Icons/index.d.ts +2 -0
- package/dist/assets/Icons/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +472 -4
- package/dist/index.js.map +1 -1
- package/dist/styled/variables.scss +2 -0
- package/package.json +6 -1
package/dist/CapButton/index.js
CHANGED
|
@@ -177,6 +177,33 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
177
177
|
module.exports = ___CSS_LOADER_EXPORT___;
|
|
178
178
|
|
|
179
179
|
|
|
180
|
+
/***/ }),
|
|
181
|
+
|
|
182
|
+
/***/ 2680:
|
|
183
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
184
|
+
|
|
185
|
+
"use strict";
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
exports.__esModule = true;
|
|
189
|
+
exports["default"] = void 0;
|
|
190
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
191
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
192
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
193
|
+
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); }
|
|
194
|
+
const BackIcon = props => /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _extends({
|
|
195
|
+
width: "1em",
|
|
196
|
+
height: "1em",
|
|
197
|
+
viewBox: "0 0 24 24",
|
|
198
|
+
fill: "currentColor"
|
|
199
|
+
}, props, {
|
|
200
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
201
|
+
d: "M20 12a1 1 0 0 1-1 1H8l4.79 4.79a1.004 1.004 0 1 1-1.42 1.42l-6.503-6.503a1 1 0 0 1 0-1.414L11.37 4.79a1.004 1.004 0 1 1 1.42 1.42L8 11h11a1 1 0 0 1 1 1z",
|
|
202
|
+
id: "Back_svg__a"
|
|
203
|
+
})
|
|
204
|
+
}));
|
|
205
|
+
var _default = exports["default"] = BackIcon;
|
|
206
|
+
|
|
180
207
|
/***/ }),
|
|
181
208
|
|
|
182
209
|
/***/ 4273:
|
|
@@ -421,6 +448,7 @@ exports["default"] = void 0;
|
|
|
421
448
|
var AntdIcons = _interopRequireWildcard(__webpack_require__(4627));
|
|
422
449
|
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
423
450
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
451
|
+
var _Icons = __webpack_require__(9319);
|
|
424
452
|
var _styles = _interopRequireDefault(__webpack_require__(6426));
|
|
425
453
|
var _jsxRuntime = __webpack_require__(4848);
|
|
426
454
|
const _excluded = ["type", "size", "style", "className", "disabled", "spin", "rotate", "withBackground", "backgroundProps", "onClick", "textLabel", "component", "svgProps", "allowSvg", "color"],
|
|
@@ -438,7 +466,7 @@ const getSvgIcon = function (type, svgProps) {
|
|
|
438
466
|
svgProps = {};
|
|
439
467
|
}
|
|
440
468
|
const icons = {
|
|
441
|
-
|
|
469
|
+
back: _Icons.BackIcon
|
|
442
470
|
};
|
|
443
471
|
const IconComponent = type ? icons[type] : null;
|
|
444
472
|
return IconComponent ? /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, _extends({}, svgProps)) : null;
|
|
@@ -948,6 +976,20 @@ module.exports = insertBySelector;
|
|
|
948
976
|
"use strict";
|
|
949
977
|
module.exports = require("react");
|
|
950
978
|
|
|
979
|
+
/***/ }),
|
|
980
|
+
|
|
981
|
+
/***/ 9319:
|
|
982
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
983
|
+
|
|
984
|
+
"use strict";
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
exports.__esModule = true;
|
|
988
|
+
exports.BackIcon = void 0;
|
|
989
|
+
var _Back = _interopRequireDefault(__webpack_require__(2680));
|
|
990
|
+
exports.BackIcon = _Back.default;
|
|
991
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
992
|
+
|
|
951
993
|
/***/ })
|
|
952
994
|
|
|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ACA;AACA;AACA;;;;;;;;;ACjBA,oC;;;;;;;;ACAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,oDAAoD;AACpD;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFA,iD;;;;;;;;ACAa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;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AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACjCA,kC;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACAA,IAAAC,UAAA,GAAAxH,sBAAA,CAAAF,mBAAA;AAAsCiE,kBAAA,GAAAyD,UAAA,CAAA/G,OAAA;AAAA,SAAAT,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA,K","sources":["webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@capillarytech/blaze-ui/./components/CapButton/CapButton.tsx","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/CapIcon.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss?4b2a","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss?b320","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapButton/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import { Button } from 'antd-v5';\nimport type { ButtonProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapIcon from '../CapIcon/CapIcon';\n\nimport styles from './styles.scss';\n\nconst classPrefix = 'cap-button-v2';\n\nconst btnTypeClassMapping: Record<string, string> = {\n secondary: 'secondary-btn',\n flat: 'flat-btn',\n oval: 'oval-btn',\n};\n\nexport interface CapButtonProps extends Omit<ButtonProps, 'type' | 'prefix' | 'suffix'> {\n type?:\n | 'primary'\n | 'secondary'\n | 'flat'\n | 'default'\n | 'dashed'\n | 'link'\n | 'text'\n | 'oval'\n | 'danger';\n isAddBtn?: boolean;\n prefix?: React.ReactNode;\n suffix?: React.ReactNode;\n icon?: React.ReactNode;\n // Backward compatibility: support danger as type prop (maps to danger boolean prop)\n danger?: boolean;\n}\n\nconst CapButton = React.forwardRef<HTMLButtonElement, CapButtonProps>(\n (\n {\n className,\n children,\n type = 'primary',\n isAddBtn = false,\n prefix,\n suffix,\n icon,\n danger: dangerProp,\n ...rest\n },\n ref\n ) => {\n // Handle icon prop - convert string to CapIcon component\n const iconElement = React.useMemo(() => {\n if (!icon) return undefined;\n if (typeof icon === 'string') {\n return <CapIcon type={icon} />;\n }\n return icon;\n }, [icon]);\n\n // Handle danger: if type is 'danger', convert to danger boolean prop\n // According to Ant Design v6 API: danger is a boolean prop, not a type\n const isDanger = dangerProp !== undefined ? dangerProp : type === 'danger';\n\n // Handle dashed: In Ant Design v6, 'dashed' can be used as both type and variant\n // When type='dashed' is passed, use it directly as type (Ant Design v6 supports this)\n // When variant='dashed' is passed, use variant='dashed' with type='default'\n const variantFromProps = rest.variant;\n const isDashedFromVariant = variantFromProps === 'dashed';\n\n // Determine the variant to use\n // If variant is explicitly passed, use it; otherwise, if type='dashed', don't set variant (let type handle it)\n const variant =\n variantFromProps !== undefined\n ? variantFromProps // Use variant from props if provided\n : undefined; // Don't set variant when using type='dashed' - let Ant Design handle it\n\n // Determine the button type\n // If type='dashed', pass it directly to Ant Design (it supports type='dashed')\n // If variant='dashed' is passed, use type='default'\n const buttonType =\n type === 'danger'\n ? 'primary' // Default danger buttons to primary type\n : isDashedFromVariant\n ? 'default' // If variant='dashed' is passed, use type='default'\n : type; // Otherwise, pass type as-is (including 'dashed')\n\n // Use icon prop if provided, otherwise use prefix\n const effectivePrefix = iconElement || prefix;\n const hasIcon = isAddBtn || suffix || effectivePrefix;\n\n // Remove variant from rest to avoid passing it twice\n const { variant: _, ...restWithoutVariant } = rest;\n\n return (\n <Button\n ref={ref}\n {...restWithoutVariant}\n type={\n buttonType === 'primary' ||\n buttonType === 'default' ||\n buttonType === 'dashed' ||\n buttonType === 'link' ||\n buttonType === 'text'\n ? (buttonType as ButtonProps['type'])\n : undefined\n }\n variant={variant || undefined}\n danger={isDanger}\n icon={iconElement}\n className={classnames(\n styles[classPrefix],\n btnTypeClassMapping[type] ? styles[btnTypeClassMapping[type]] : undefined,\n className,\n { [styles['add-btn']]: isAddBtn },\n { [styles['has-icon']]: hasIcon }\n )}\n >\n {(isAddBtn || prefix) && !iconElement && (\n <div className={styles[`${classPrefix}-prefix`]}>\n {isAddBtn ? <CapIcon size=\"s\" type=\"add\" /> : prefix}\n </div>\n )}\n {children}\n {suffix && <span className={styles[`${classPrefix}-suffix`]}>{suffix}</span>}\n </Button>\n );\n }\n);\n\nCapButton.displayName = 'CapButton';\n\nexport default CapButton;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-v2{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-family:\"Roboto\",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-v2-prefix+span,span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-secondary-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-secondary-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-secondary-btn:disabled,.blaze-ui-secondary-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-flat-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-flat-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-flat-btn:disabled,.blaze-ui-flat-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-add-btn{color:#2466ea}.blaze-ui-add-btn:disabled,.blaze-ui-add-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-oval-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-oval-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-oval-btn:disabled,.blaze-ui-oval-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-button-v2\": `blaze-ui-cap-button-v2`,\n\t\"cap-button-v2-prefix\": `blaze-ui-cap-button-v2-prefix`,\n\t\"cap-button-v2-suffix\": `blaze-ui-cap-button-v2-suffix`,\n\t\"has-icon\": `blaze-ui-has-icon`,\n\t\"secondary-btn\": `blaze-ui-secondary-btn`,\n\t\"flat-btn\": `blaze-ui-flat-btn`,\n\t\"add-btn\": `blaze-ui-add-btn`,\n\t\"oval-btn\": `blaze-ui-oval-btn`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","module.exports = require(\"@ant-design-v5/icons\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import * as AntdIcons from '@ant-design-v5/icons';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\n// Special mappings for common icon names\nconst iconMapping: Record<string, string> = {\n add: 'plus',\n};\n\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<Record<string, unknown>>> = {\n // Add your SVG icons here if needed\n };\n\n const IconComponent = type ? icons[type] : null;\n return IconComponent ? <IconComponent {...svgProps} /> : null;\n};\n\nconst getAntIcon = (type?: string): React.ComponentType<Record<string, unknown>> | null => {\n if (!type) return null;\n // Use mapped name if available, otherwise use original type\n const mappedType = iconMapping[type.toLowerCase()] || type;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = mappedType\n .split('-')\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\n .join('');\n\n // Try different naming conventions\n const iconName = `${pascalCase}Outlined`;\n const iconNameFilled = `${pascalCase}Filled`;\n const iconNameTwoTone = `${pascalCase}TwoTone`;\n\n const iconsRecord = AntdIcons as unknown as Record<\n string,\n React.ComponentType<Record<string, unknown>>\n >;\n return (\n iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null\n );\n};\n\nexport interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {\n type?: string;\n size?: 'xs' | 's' | 'm' | 'l';\n style?: React.CSSProperties;\n className?: string;\n disabled?: boolean;\n spin?: boolean;\n rotate?: number;\n withBackground?: boolean;\n backgroundProps?: React.HTMLAttributes<HTMLSpanElement>;\n onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;\n textLabel?: React.ReactNode;\n component?: React.ReactNode;\n svgProps?: SvgIconProps;\n allowSvg?: boolean;\n color?: string;\n}\n\nconst CapIcon: React.FC<CapIconProps> = ({\n type,\n size = 'm',\n style = {},\n className = '',\n disabled = false,\n spin = false,\n rotate,\n withBackground = false,\n backgroundProps = {},\n onClick,\n textLabel,\n component,\n svgProps = {},\n allowSvg = true,\n color,\n ...rest\n}) => {\n const handleClick = (e: React.MouseEvent<HTMLSpanElement>) => {\n if (!disabled && onClick) {\n onClick(e);\n }\n };\n\n // Render custom component if provided\n if (component) {\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles['with-text-label']]: textLabel, [styles.disabled]: disabled },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {component}\n {textLabel}\n </span>\n );\n }\n\n // Try to get SVG icon if allowSvg is true\n const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;\n\n // If SVG icon exists and allowSvg is true, use it\n if (svgIcon) {\n const iconStyle = {\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n ...(color ? { color } : {}),\n };\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n {\n [styles.spin]: spin,\n [styles.disabled]: disabled,\n [styles['with-text-label']]: textLabel,\n },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n {svgIcon}\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Try to get Ant Design icon\n const AntIcon = type ? getAntIcon(type) : null;\n\n if (AntIcon) {\n const iconStyle = color ? { color, ...style } : style;\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} style={color ? { color } : undefined} />\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Fallback: render an empty icon container\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {textLabel}\n </span>\n );\n};\n\n// Create AntIcon subcomponent for backward compatibility\ninterface AntIconProps {\n className?: string;\n [key: string]: unknown;\n}\n\nconst AntIcon: React.FC<AntIconProps> = ({ className, ...rest }) => (\n <i\n className={classnames(styles['cap-icon-ant-icon'], className)}\n style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}\n {...rest}\n />\n);\n\n// Extend the component type to include the static property\ninterface CapIconType extends React.FC<CapIconProps> {\n AntIcon: React.FC<AntIconProps>;\n}\n\nconst CapIconWithStatic = CapIcon as CapIconType;\nCapIconWithStatic.AntIcon = AntIcon;\n\nexport default CapIconWithStatic;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-icon-wrapper\": `blaze-ui-cap-icon-wrapper`,\n\t\"disabled\": `blaze-ui-disabled`,\n\t\"xs\": `blaze-ui-xs`,\n\t\"s\": `blaze-ui-s`,\n\t\"m\": `blaze-ui-m`,\n\t\"l\": `blaze-ui-l`,\n\t\"with-text-label\": `blaze-ui-with-text-label`,\n\t\"cap-icon-background-wrapper\": `blaze-ui-cap-icon-background-wrapper`,\n\t\"cap-icon\": `blaze-ui-cap-icon`,\n\t\"anticon\": `blaze-ui-anticon`,\n\t\"spin\": `blaze-ui-spin`,\n\t\"rotate\": `blaze-ui-rotate`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapButton';\nexport type { CapButtonProps } from './CapButton';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_CapIcon","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","classPrefix","btnTypeClassMapping","secondary","flat","oval","CapButton","React","forwardRef","_ref","ref","className","children","type","isAddBtn","prefix","suffix","icon","danger","dangerProp","rest","iconElement","useMemo","undefined","jsx","isDanger","variantFromProps","variant","isDashedFromVariant","buttonType","effectivePrefix","hasIcon","restWithoutVariant","jsxs","Button","classnames","styles","size","displayName","_default","exports","AntdIcons","_interopRequireWildcard","WeakMap","o","i","f","__proto__","has","get","set","defineProperty","getOwnPropertyDescriptor","iconMapping","add","getSvgIcon","svgProps","icons","IconComponent","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","style","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","handleClick","svgIcon","iconStyle","transform","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_CapButton"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapButton/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACa,MAAM,mBAAO,CAAC,IAAO,6KAA6K;AAC/M,kBAAkB,UAAU,eAAe,qBAAqB,6BAA6B,0BAA0B,0DAA0D,4EAA4E,OAAO,wDAAwD,gBAAgB,GAAG,WAAW,GAAG,YAAY;;;;;;;;;ACV5V;;AAEb;AACA;AACA,E;;;;;;;;;;;;ACJA,IAAAA,MAAA,GAAAC,mBAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,mBAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,mBAAA;AAEA,IAAAI,QAAA,GAAAF,sBAAA,CAAAF,mBAAA;AAEA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,mBAAA;AAAmC,IAAAM,WAAA,GAAAN,mBAAA;AAAA,MAAAO,SAAA;EAAAC,UAAA;AAAA,SAAAN,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,Y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ACfvB,oC;;;;;;;;ACAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,oDAAoD;AACpD;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFA,iD;;;;;;;;ACAa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;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EN;AACF,CAAC;;;;;;;;;AC5EY;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;;ACjCA,kC;;;;;;;;;;;;ACAA,IAAAC,KAAA,GAAAlI,sBAAA,CAAAF,mBAAA;AAA6CiE,gBAAA,GAAAmE,KAAA,CAAAzH,OAAA;AAAA,SAAAT,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA,K;;;;;;UCA7C;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACAA,IAAA4H,UAAA,GAAAnI,sBAAA,CAAAF,mBAAA;AAAsCiE,kBAAA,GAAAoE,UAAA,CAAA1H,OAAA;AAAA,SAAAT,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA,K","sources":["webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@capillarytech/blaze-ui/./components/CapButton/CapButton.tsx","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss","webpack://@capillarytech/blaze-ui/./components/assets/Icons/Back.tsx","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/CapIcon.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss?4b2a","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss?b320","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/./components/assets/Icons/index.ts","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapButton/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import { Button } from 'antd-v5';\nimport type { ButtonProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapIcon from '../CapIcon/CapIcon';\n\nimport styles from './styles.scss';\n\nconst classPrefix = 'cap-button-v2';\n\nconst btnTypeClassMapping: Record<string, string> = {\n secondary: 'secondary-btn',\n flat: 'flat-btn',\n oval: 'oval-btn',\n};\n\nexport interface CapButtonProps extends Omit<ButtonProps, 'type' | 'prefix' | 'suffix'> {\n type?:\n | 'primary'\n | 'secondary'\n | 'flat'\n | 'default'\n | 'dashed'\n | 'link'\n | 'text'\n | 'oval'\n | 'danger';\n isAddBtn?: boolean;\n prefix?: React.ReactNode;\n suffix?: React.ReactNode;\n icon?: React.ReactNode;\n // Backward compatibility: support danger as type prop (maps to danger boolean prop)\n danger?: boolean;\n}\n\nconst CapButton = React.forwardRef<HTMLButtonElement, CapButtonProps>(\n (\n {\n className,\n children,\n type = 'primary',\n isAddBtn = false,\n prefix,\n suffix,\n icon,\n danger: dangerProp,\n ...rest\n },\n ref\n ) => {\n // Handle icon prop - convert string to CapIcon component\n const iconElement = React.useMemo(() => {\n if (!icon) return undefined;\n if (typeof icon === 'string') {\n return <CapIcon type={icon} />;\n }\n return icon;\n }, [icon]);\n\n // Handle danger: if type is 'danger', convert to danger boolean prop\n // According to Ant Design v6 API: danger is a boolean prop, not a type\n const isDanger = dangerProp !== undefined ? dangerProp : type === 'danger';\n\n // Handle dashed: In Ant Design v6, 'dashed' can be used as both type and variant\n // When type='dashed' is passed, use it directly as type (Ant Design v6 supports this)\n // When variant='dashed' is passed, use variant='dashed' with type='default'\n const variantFromProps = rest.variant;\n const isDashedFromVariant = variantFromProps === 'dashed';\n\n // Determine the variant to use\n // If variant is explicitly passed, use it; otherwise, if type='dashed', don't set variant (let type handle it)\n const variant =\n variantFromProps !== undefined\n ? variantFromProps // Use variant from props if provided\n : undefined; // Don't set variant when using type='dashed' - let Ant Design handle it\n\n // Determine the button type\n // If type='dashed', pass it directly to Ant Design (it supports type='dashed')\n // If variant='dashed' is passed, use type='default'\n const buttonType =\n type === 'danger'\n ? 'primary' // Default danger buttons to primary type\n : isDashedFromVariant\n ? 'default' // If variant='dashed' is passed, use type='default'\n : type; // Otherwise, pass type as-is (including 'dashed')\n\n // Use icon prop if provided, otherwise use prefix\n const effectivePrefix = iconElement || prefix;\n const hasIcon = isAddBtn || suffix || effectivePrefix;\n\n // Remove variant from rest to avoid passing it twice\n const { variant: _, ...restWithoutVariant } = rest;\n\n return (\n <Button\n ref={ref}\n {...restWithoutVariant}\n type={\n buttonType === 'primary' ||\n buttonType === 'default' ||\n buttonType === 'dashed' ||\n buttonType === 'link' ||\n buttonType === 'text'\n ? (buttonType as ButtonProps['type'])\n : undefined\n }\n variant={variant || undefined}\n danger={isDanger}\n icon={iconElement}\n className={classnames(\n styles[classPrefix],\n btnTypeClassMapping[type] ? styles[btnTypeClassMapping[type]] : undefined,\n className,\n { [styles['add-btn']]: isAddBtn },\n { [styles['has-icon']]: hasIcon }\n )}\n >\n {(isAddBtn || prefix) && !iconElement && (\n <div className={styles[`${classPrefix}-prefix`]}>\n {isAddBtn ? <CapIcon size=\"s\" type=\"add\" /> : prefix}\n </div>\n )}\n {children}\n {suffix && <span className={styles[`${classPrefix}-suffix`]}>{suffix}</span>}\n </Button>\n );\n }\n);\n\nCapButton.displayName = 'CapButton';\n\nexport default CapButton;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-v2{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-family:\"Roboto\",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-v2-prefix+span,span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-secondary-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-secondary-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-secondary-btn:disabled,.blaze-ui-secondary-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-flat-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-flat-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-flat-btn:disabled,.blaze-ui-flat-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-add-btn{color:#2466ea}.blaze-ui-add-btn:disabled,.blaze-ui-add-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-oval-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-oval-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-oval-btn:disabled,.blaze-ui-oval-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-button-v2\": `blaze-ui-cap-button-v2`,\n\t\"cap-button-v2-prefix\": `blaze-ui-cap-button-v2-prefix`,\n\t\"cap-button-v2-suffix\": `blaze-ui-cap-button-v2-suffix`,\n\t\"has-icon\": `blaze-ui-has-icon`,\n\t\"secondary-btn\": `blaze-ui-secondary-btn`,\n\t\"flat-btn\": `blaze-ui-flat-btn`,\n\t\"add-btn\": `blaze-ui-add-btn`,\n\t\"oval-btn\": `blaze-ui-oval-btn`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","import React from 'react';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\nconst BackIcon: React.FC<SvgIconProps> = (props) => (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"currentColor\" {...props}>\n <path\n d=\"M20 12a1 1 0 0 1-1 1H8l4.79 4.79a1.004 1.004 0 1 1-1.42 1.42l-6.503-6.503a1 1 0 0 1 0-1.414L11.37 4.79a1.004 1.004 0 1 1 1.42 1.42L8 11h11a1 1 0 0 1 1 1z\"\n id=\"Back_svg__a\"\n />\n </svg>\n);\n\nexport default BackIcon;\n","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","module.exports = require(\"@ant-design-v5/icons\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import * as AntdIcons from '@ant-design-v5/icons';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport { BackIcon } from '../assets/Icons';\nimport styles from './styles.scss';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\n// Special mappings for common icon names\nconst iconMapping: Record<string, string> = {\n add: 'plus',\n};\n\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<Record<string, unknown>>> = {\n back: BackIcon,\n };\n\n const IconComponent = type ? icons[type] : null;\n return IconComponent ? <IconComponent {...svgProps} /> : null;\n};\n\nconst getAntIcon = (type?: string): React.ComponentType<Record<string, unknown>> | null => {\n if (!type) return null;\n // Use mapped name if available, otherwise use original type\n const mappedType = iconMapping[type.toLowerCase()] || type;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = mappedType\n .split('-')\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\n .join('');\n\n // Try different naming conventions\n const iconName = `${pascalCase}Outlined`;\n const iconNameFilled = `${pascalCase}Filled`;\n const iconNameTwoTone = `${pascalCase}TwoTone`;\n\n const iconsRecord = AntdIcons as unknown as Record<\n string,\n React.ComponentType<Record<string, unknown>>\n >;\n return (\n iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null\n );\n};\n\nexport interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {\n type?: string;\n size?: 'xs' | 's' | 'm' | 'l';\n style?: React.CSSProperties;\n className?: string;\n disabled?: boolean;\n spin?: boolean;\n rotate?: number;\n withBackground?: boolean;\n backgroundProps?: React.HTMLAttributes<HTMLSpanElement>;\n onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;\n textLabel?: React.ReactNode;\n component?: React.ReactNode;\n svgProps?: SvgIconProps;\n allowSvg?: boolean;\n color?: string;\n}\n\nconst CapIcon: React.FC<CapIconProps> = ({\n type,\n size = 'm',\n style = {},\n className = '',\n disabled = false,\n spin = false,\n rotate,\n withBackground = false,\n backgroundProps = {},\n onClick,\n textLabel,\n component,\n svgProps = {},\n allowSvg = true,\n color,\n ...rest\n}) => {\n const handleClick = (e: React.MouseEvent<HTMLSpanElement>) => {\n if (!disabled && onClick) {\n onClick(e);\n }\n };\n\n // Render custom component if provided\n if (component) {\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles['with-text-label']]: textLabel, [styles.disabled]: disabled },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {component}\n {textLabel}\n </span>\n );\n }\n\n // Try to get SVG icon if allowSvg is true\n const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;\n\n // If SVG icon exists and allowSvg is true, use it\n if (svgIcon) {\n const iconStyle = {\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n ...(color ? { color } : {}),\n };\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n {\n [styles.spin]: spin,\n [styles.disabled]: disabled,\n [styles['with-text-label']]: textLabel,\n },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n {svgIcon}\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Try to get Ant Design icon\n const AntIcon = type ? getAntIcon(type) : null;\n\n if (AntIcon) {\n const iconStyle = color ? { color, ...style } : style;\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} style={color ? { color } : undefined} />\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Fallback: render an empty icon container\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {textLabel}\n </span>\n );\n};\n\n// Create AntIcon subcomponent for backward compatibility\ninterface AntIconProps {\n className?: string;\n [key: string]: unknown;\n}\n\nconst AntIcon: React.FC<AntIconProps> = ({ className, ...rest }) => (\n <i\n className={classnames(styles['cap-icon-ant-icon'], className)}\n style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}\n {...rest}\n />\n);\n\n// Extend the component type to include the static property\ninterface CapIconType extends React.FC<CapIconProps> {\n AntIcon: React.FC<AntIconProps>;\n}\n\nconst CapIconWithStatic = CapIcon as CapIconType;\nCapIconWithStatic.AntIcon = AntIcon;\n\nexport default CapIconWithStatic;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-icon-wrapper\": `blaze-ui-cap-icon-wrapper`,\n\t\"disabled\": `blaze-ui-disabled`,\n\t\"xs\": `blaze-ui-xs`,\n\t\"s\": `blaze-ui-s`,\n\t\"m\": `blaze-ui-m`,\n\t\"l\": `blaze-ui-l`,\n\t\"with-text-label\": `blaze-ui-with-text-label`,\n\t\"cap-icon-background-wrapper\": `blaze-ui-cap-icon-background-wrapper`,\n\t\"cap-icon\": `blaze-ui-cap-icon`,\n\t\"anticon\": `blaze-ui-anticon`,\n\t\"spin\": `blaze-ui-spin`,\n\t\"rotate\": `blaze-ui-rotate`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","module.exports = require(\"react\");","export { default as BackIcon } from './Back';\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapButton';\nexport type { CapButtonProps } from './CapButton';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_CapIcon","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","classPrefix","btnTypeClassMapping","secondary","flat","oval","CapButton","React","forwardRef","_ref","ref","className","children","type","isAddBtn","prefix","suffix","icon","danger","dangerProp","rest","iconElement","useMemo","undefined","jsx","isDanger","variantFromProps","variant","isDashedFromVariant","buttonType","effectivePrefix","hasIcon","restWithoutVariant","jsxs","Button","classnames","styles","size","displayName","_default","exports","BackIcon","props","width","height","viewBox","fill","d","id","AntdIcons","_interopRequireWildcard","_Icons","WeakMap","o","i","f","__proto__","has","get","set","defineProperty","getOwnPropertyDescriptor","iconMapping","add","getSvgIcon","svgProps","icons","back","IconComponent","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","style","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","handleClick","svgIcon","iconStyle","transform","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_Back","_CapButton"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapIcon.d.ts","sourceRoot":"","sources":["../../components/CapIcon/CapIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CapIcon.d.ts","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jD,eAAe,iBAAiB,CAAC"}
|
package/dist/CapIcon/index.js
CHANGED
|
@@ -49,6 +49,33 @@ module.exports = function (i) {
|
|
|
49
49
|
|
|
50
50
|
/***/ }),
|
|
51
51
|
|
|
52
|
+
/***/ 2680:
|
|
53
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
54
|
+
|
|
55
|
+
"use strict";
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
exports.__esModule = true;
|
|
59
|
+
exports["default"] = void 0;
|
|
60
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
61
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
62
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
63
|
+
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); }
|
|
64
|
+
const BackIcon = props => /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _extends({
|
|
65
|
+
width: "1em",
|
|
66
|
+
height: "1em",
|
|
67
|
+
viewBox: "0 0 24 24",
|
|
68
|
+
fill: "currentColor"
|
|
69
|
+
}, props, {
|
|
70
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
71
|
+
d: "M20 12a1 1 0 0 1-1 1H8l4.79 4.79a1.004 1.004 0 1 1-1.42 1.42l-6.503-6.503a1 1 0 0 1 0-1.414L11.37 4.79a1.004 1.004 0 1 1 1.42 1.42L8 11h11a1 1 0 0 1 1 1z",
|
|
72
|
+
id: "Back_svg__a"
|
|
73
|
+
})
|
|
74
|
+
}));
|
|
75
|
+
var _default = exports["default"] = BackIcon;
|
|
76
|
+
|
|
77
|
+
/***/ }),
|
|
78
|
+
|
|
52
79
|
/***/ 4284:
|
|
53
80
|
/***/ ((module) => {
|
|
54
81
|
|
|
@@ -283,6 +310,7 @@ exports["default"] = void 0;
|
|
|
283
310
|
var AntdIcons = _interopRequireWildcard(__webpack_require__(4627));
|
|
284
311
|
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
285
312
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
313
|
+
var _Icons = __webpack_require__(9319);
|
|
286
314
|
var _styles = _interopRequireDefault(__webpack_require__(6426));
|
|
287
315
|
var _jsxRuntime = __webpack_require__(4848);
|
|
288
316
|
const _excluded = ["type", "size", "style", "className", "disabled", "spin", "rotate", "withBackground", "backgroundProps", "onClick", "textLabel", "component", "svgProps", "allowSvg", "color"],
|
|
@@ -300,7 +328,7 @@ const getSvgIcon = function (type, svgProps) {
|
|
|
300
328
|
svgProps = {};
|
|
301
329
|
}
|
|
302
330
|
const icons = {
|
|
303
|
-
|
|
331
|
+
back: _Icons.BackIcon
|
|
304
332
|
};
|
|
305
333
|
const IconComponent = type ? icons[type] : null;
|
|
306
334
|
return IconComponent ? /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, _extends({}, svgProps)) : null;
|
|
@@ -758,6 +786,20 @@ module.exports = insertBySelector;
|
|
|
758
786
|
"use strict";
|
|
759
787
|
module.exports = require("react");
|
|
760
788
|
|
|
789
|
+
/***/ }),
|
|
790
|
+
|
|
791
|
+
/***/ 9319:
|
|
792
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
793
|
+
|
|
794
|
+
"use strict";
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
exports.__esModule = true;
|
|
798
|
+
exports.BackIcon = void 0;
|
|
799
|
+
var _Back = _interopRequireDefault(__webpack_require__(2680));
|
|
800
|
+
exports.BackIcon = _Back.default;
|
|
801
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
802
|
+
|
|
761
803
|
/***/ })
|
|
762
804
|
|
|
763
805
|
/******/ });
|