@capillarytech/blaze-ui 0.3.4-beta.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CapButton/CapButton.d.ts +1 -1
- package/dist/CapButton/CapButton.d.ts.map +1 -1
- package/dist/CapButton/index.js +31 -24
- package/dist/CapButton/index.js.map +1 -1
- package/dist/CapCard/index.js +1 -1
- package/dist/CapCard/index.js.map +1 -1
- package/dist/CapCheckbox/index.js +1 -1
- package/dist/CapCheckbox/index.js.map +1 -1
- package/dist/CapIcon/CapIcon.d.ts +2 -1
- package/dist/CapIcon/CapIcon.d.ts.map +1 -1
- package/dist/CapIcon/index.js +26 -9
- package/dist/CapIcon/index.js.map +1 -1
- package/dist/CapMenu/CapMenu.d.ts +2 -2
- package/dist/CapMenu/CapMenu.d.ts.map +1 -1
- package/dist/CapMenu/index.js +2 -2
- package/dist/CapMenu/index.js.map +1 -1
- package/dist/CapRow/CapRow.d.ts +1 -1
- package/dist/CapRow/CapRow.d.ts.map +1 -1
- package/dist/CapRow/index.js +1 -1
- package/dist/CapRow/index.js.map +1 -1
- package/dist/CapTab/CapTab.d.ts +1 -1
- package/dist/CapTab/CapTab.d.ts.map +1 -1
- package/dist/CapTab/index.js.map +1 -1
- package/dist/CapTable/CapTable.d.ts +1 -1
- package/dist/CapTable/CapTable.d.ts.map +1 -1
- package/dist/CapTable/index.js +4 -3
- package/dist/CapTable/index.js.map +1 -1
- package/dist/CapTooltipWithInfo/CapTooltipWithInfo.d.ts +2 -2
- package/dist/CapTooltipWithInfo/CapTooltipWithInfo.d.ts.map +1 -1
- package/dist/CapTooltipWithInfo/index.js +26 -9
- package/dist/CapTooltipWithInfo/index.js.map +1 -1
- package/dist/CapUnifiedSelect/CapUnifiedSelect.d.ts +1 -1
- package/dist/CapUnifiedSelect/CapUnifiedSelect.d.ts.map +1 -1
- package/dist/CapUnifiedSelect/index.js +31 -14
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/LocaleHoc/index.d.ts +1 -1
- package/dist/LocaleHoc/index.d.ts.map +1 -1
- package/dist/LocaleHoc/index.js +1 -1
- package/dist/LocaleHoc/index.js.map +1 -1
- package/dist/index.js +44 -50
- package/dist/index.js.map +1 -1
- package/dist/utils/fonts.d.ts.map +1 -1
- package/dist/utils/index.js +0 -14
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapCheckbox/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,WAAA,GAAAC,sBAAA,CAAAC,mBAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,mBAAA;AAEA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,mBAAA;AAAmC,IAAAG,WAAA,GAAAH,mBAAA;AAAA,MAAAI,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,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAA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AAqB,qCAAqC,kBAAkB,cAAc,gBAAgB,oBAAoB,qCAAqC,kBAAkB,cAAc,gBAAgB,qBAAqB,qCAAqC,kBAAkB,WAAW,gBAAgB,qBAAqB,0EAA0E,kBAAkB,WAAW,gBAAgB,oBAAoB,qCAAqC,kBAAkB,cAAc,gBAAgB,qBAAqB,qCAAqC,eAAe,WAAW,gBAAgB,qBAAqB,qCAAqC,eAAe,cAAc,gBAAgB,qBAAqB,iDAAiD,gCAAgC,SAAS,UAAU;AACj9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7Ca;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;ACpFA;AACA,+CAA+C,mBAAO,CAAC,IAA4D;AACnH,kCAAkC,mBAAO,CAAC,IAAmD;AAC7F;AACA;AACA,yEAAyE,gCAAgC,+CAA+C,qBAAqB,wD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ACA;;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,IAAAE,YAAA,GAAAvD,sBAAA,CAAAC,mBAAA;AAAwCwC,kBAAA,GAAAc,YAAA,CAAA9C,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/CapLabel/CapLabel.tsx","webpack://@capillarytech/blaze-ui/./components/CapLabel/index.ts","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/./components/CapCheckbox/CapCheckbox.tsx","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./components/CapLabel/styles.scss?2606","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/CapLabel/styles.scss","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapCheckbox/styles.scss","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/./components/CapCheckbox/styles.scss?9db3","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/CapCheckbox/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 classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\nexport interface CapLabelProps extends React.HTMLAttributes<HTMLDivElement> {\n children?: React.ReactNode;\n type?: string;\n className?: string;\n style?: React.CSSProperties;\n fontWeight?: string | number;\n lineHeight?: string;\n}\n\nconst CapLabel: React.FC<CapLabelProps> = ({\n children,\n type = 'label1',\n className = '',\n style = {},\n fontWeight,\n lineHeight,\n ...rest\n}) => {\n const labelStyle: React.CSSProperties = {\n ...(fontWeight ? { fontWeight } : {}),\n ...(lineHeight ? { lineHeight } : {}),\n ...style,\n };\n\n return (\n <div\n className={classnames(styles['cap-label'], styles['cap-label-div'], styles[type], className)}\n style={labelStyle}\n {...rest}\n >\n {children}\n </div>\n );\n};\n\n// Static method for inline label\nexport interface CapLabelInlineProps extends React.HTMLAttributes<HTMLSpanElement> {\n children?: React.ReactNode;\n type?: string;\n className?: string;\n style?: React.CSSProperties;\n fontWeight?: string | number;\n lineHeight?: string;\n}\n\nconst CapLabelInline: React.FC<CapLabelInlineProps> = ({\n children,\n type = 'label1',\n className = '',\n style = {},\n fontWeight,\n lineHeight,\n ...rest\n}) => {\n const labelStyle: React.CSSProperties = {\n ...(fontWeight ? { fontWeight } : {}),\n ...(lineHeight ? { lineHeight } : {}),\n ...style,\n };\n\n return (\n <span\n className={classnames(styles['cap-label'], styles['cap-label-span'], styles[type], className)}\n style={labelStyle}\n {...rest}\n >\n {children}\n </span>\n );\n};\n\n// Extend the component type to include the static property\ninterface CapLabelType extends React.FC<CapLabelProps> {\n CapLabelInline: React.FC<CapLabelInlineProps>;\n}\n\nconst CapLabelWithStatic = CapLabel as CapLabelType;\nCapLabelWithStatic.CapLabelInline = CapLabelInline;\n\nexport default CapLabelWithStatic;\n","export { default } from './CapLabel';\nexport type { CapLabelProps, CapLabelInlineProps } from './CapLabel';\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;","import { Checkbox } from 'antd-v5';\nimport type { CheckboxProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapLabel from '../CapLabel';\n\nimport styles from './styles.scss';\n\nconst clsPrefix = 'cap-checkbox-v2';\n\nexport interface CapCheckboxProps extends Omit<CheckboxProps, 'children'> {\n className?: string;\n children?: React.ReactNode;\n errorMessage?: string;\n inductiveText?: string;\n suffix?: React.ReactNode;\n labelType?: string;\n}\n\nconst CapCheckbox: React.FC<CapCheckboxProps> = ({\n className,\n children,\n errorMessage,\n inductiveText,\n suffix,\n labelType = 'h4',\n ...rest\n}) => {\n return (\n <div className={styles['cap-checkbox-wrapper']}>\n <div className={classnames(styles[clsPrefix], className)}>\n <Checkbox {...rest}>\n <CapLabel.CapLabelInline\n className={classnames(styles.title, { [styles['has-suffix']]: suffix })}\n type={labelType}\n >\n {children}\n </CapLabel.CapLabelInline>\n {suffix}\n {inductiveText && (\n <CapLabel className={styles['inductive-text']} type=\"label3\">\n {inductiveText}\n </CapLabel>\n )}\n </Checkbox>\n {className && className.indexOf('error') > -1 && errorMessage && (\n <div className={styles['error-message']}>{errorMessage}</div>\n )}\n </div>\n </div>\n );\n};\n\n// Extend the component type to include static properties\ninterface CapCheckboxType extends React.FC<CapCheckboxProps> {\n Group: typeof Checkbox.Group;\n}\n\nconst CapCheckboxWithStatic = CapCheckbox as CapCheckboxType;\nCapCheckboxWithStatic.Group = Checkbox.Group;\n\nexport default CapCheckboxWithStatic;\n","'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","\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","\"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};","// 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-label{font-family:\"Roboto\",sans-serif}.blaze-ui-cap-label.blaze-ui-label1{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label2{font-size:.857rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label3{font-size:.857rem;color:#97a0af;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label4{font-size:.857rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label5{font-size:.714rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label6{font-size:.857rem;color:#b3bac5;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label7{font-size:1rem;color:#5e6c84;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label8{font-size:.857rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label9{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label10{font-size:.857rem;color:#fff;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label11{font-size:.714rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label12{font-size:.857rem;color:#fff;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label13{font-size:.714rem;color:#97a0af;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label14{font-size:1rem;color:#676e7c;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label15{font-size:1rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label16{font-size:1rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label17{font-size:1.143rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label18{font-size:1rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label19{font-size:.857rem;color:rgba(0,0,0,.8705882353);font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label20{font-size:1rem;color:#2466eb;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label21{font-size:.857rem;color:#2466eb;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label22{font-size:1.714rem;color:#5e6c84;font-weight:400;line-height:2rem}.blaze-ui-cap-label.blaze-ui-label23{font-size:1rem;color:#fff;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label24{font-size:1rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label25{font-size:1rem;color:#5e6c84;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label26{font-size:.714rem;color:#091e42;font-weight:400;line-height:.857rem}.blaze-ui-cap-label.blaze-ui-label27{font-size:.857rem;color:#2466eb;font-weight:500;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label28{font-size:.857rem;color:#fff;font-weight:500;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label29,.blaze-ui-cap-label.blaze-ui-label30{font-size:.714rem;color:#fff;font-weight:400;line-height:.857rem}.blaze-ui-cap-label.blaze-ui-label31{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label32{font-size:1rem;color:#fff;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label33{font-size:1rem;color:#2466eb;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label-div,.blaze-ui-cap-label-span{font-family:\"Roboto\",sans-serif;margin:0;padding:0}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-label\": `blaze-ui-cap-label`,\n\t\"label1\": `blaze-ui-label1`,\n\t\"label2\": `blaze-ui-label2`,\n\t\"label3\": `blaze-ui-label3`,\n\t\"label4\": `blaze-ui-label4`,\n\t\"label5\": `blaze-ui-label5`,\n\t\"label6\": `blaze-ui-label6`,\n\t\"label7\": `blaze-ui-label7`,\n\t\"label8\": `blaze-ui-label8`,\n\t\"label9\": `blaze-ui-label9`,\n\t\"label10\": `blaze-ui-label10`,\n\t\"label11\": `blaze-ui-label11`,\n\t\"label12\": `blaze-ui-label12`,\n\t\"label13\": `blaze-ui-label13`,\n\t\"label14\": `blaze-ui-label14`,\n\t\"label15\": `blaze-ui-label15`,\n\t\"label16\": `blaze-ui-label16`,\n\t\"label17\": `blaze-ui-label17`,\n\t\"label18\": `blaze-ui-label18`,\n\t\"label19\": `blaze-ui-label19`,\n\t\"label20\": `blaze-ui-label20`,\n\t\"label21\": `blaze-ui-label21`,\n\t\"label22\": `blaze-ui-label22`,\n\t\"label23\": `blaze-ui-label23`,\n\t\"label24\": `blaze-ui-label24`,\n\t\"label25\": `blaze-ui-label25`,\n\t\"label26\": `blaze-ui-label26`,\n\t\"label27\": `blaze-ui-label27`,\n\t\"label28\": `blaze-ui-label28`,\n\t\"label29\": `blaze-ui-label29`,\n\t\"label30\": `blaze-ui-label30`,\n\t\"label31\": `blaze-ui-label31`,\n\t\"label32\": `blaze-ui-label32`,\n\t\"label33\": `blaze-ui-label33`,\n\t\"cap-label-div\": `blaze-ui-cap-label-div`,\n\t\"cap-label-span\": `blaze-ui-cap-label-span`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\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};","// 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-checkbox-wrapper{font-family:\"Roboto\",sans-serif}.blaze-ui-cap-checkbox-wrapper .blaze-ui-title{padding-left:.286rem}.blaze-ui-cap-checkbox-wrapper .blaze-ui-inductive-text{padding-left:2.857rem}.blaze-ui-cap-checkbox-wrapper .blaze-ui-title.blaze-ui-has-suffix{margin-right:.571rem}.blaze-ui-cap-checkbox-wrapper .blaze-ui-error-message{color:#ff4d4f;font-size:.857rem;margin-top:.286rem}.blaze-ui-cap-checkbox-wrapper .ant-checkbox-wrapper-disabled{opacity:.5}.blaze-ui-cap-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{width:1.428rem;height:1.428rem;border:.143rem solid #5e6c84}.blaze-ui-cap-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:#47af46;border-color:#47af46}.blaze-ui-cap-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after{left:23%}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-checkbox-wrapper\": `blaze-ui-cap-checkbox-wrapper`,\n\t\"title\": `blaze-ui-title`,\n\t\"inductive-text\": `blaze-ui-inductive-text`,\n\t\"has-suffix\": `blaze-ui-has-suffix`,\n\t\"error-message\": `blaze-ui-error-message`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\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;","\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","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 './CapCheckbox';\nexport type { CapCheckboxProps } from './CapCheckbox';\n"],"names":["_classnames","_interopRequireDefault","require","_react","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","CapLabel","_ref","children","type","className","style","fontWeight","lineHeight","rest","labelStyle","jsx","classnames","styles","CapLabelInline","_ref2","CapLabelWithStatic","_default","exports","_CapLabel","_antdV","clsPrefix","CapCheckbox","errorMessage","inductiveText","suffix","labelType","jsxs","Checkbox","title","CapCheckboxWithStatic","Group","_CapCheckbox"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapCheckbox/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,WAAA,GAAAC,sBAAA,CAAAC,mBAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,mBAAA;AAEA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,mBAAA;AAAmC,IAAAG,WAAA,GAAAH,mBAAA;AAAA,MAAAI,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,YAAAW,CAAA,IA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B,qBAAqB,qCAAqC,eAAe,cAAc,gBAAgB,qBAAqB,qCAAqC,kBAAkB,cAAc,gBAAgB,oBAAoB,qCAAqC,kBAAkB,cAAc,gBAAgB,qBAAqB,qCAAqC,kBAAkB,WAAW,gBAAgB,qBAAqB,0EAA0E,kBAAkB,WAAW,gBAAgB,oBAAoB,qCAAqC,kBAAkB,cAAc,gBAAgB,qBAAqB,qCAAqC,eAAe,WAAW,gBAAgB,qBAAqB,qCAAqC,eAAe,cAAc,gBAAgB,qBAAqB,iDAAiD,gCAAgC,SAAS,UAAU;AACj9G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7Ca;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;ACpFA;AACA,+CAA+C,mBAAO,CAAC,IAA4D;AACnH,kCAAkC,mBAAO,CAAC,IAAmD;AAC7F;AACA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qLAAc,GAAG,qLAAc,YAAY,EAAC;;;;;;;;;ACxB7E,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,IAAAE,YAAA,GAAAvD,sBAAA,CAAAC,mBAAA;AAAwCwC,kBAAA,GAAAc,YAAA,CAAA9C,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/CapLabel/CapLabel.tsx","webpack://@capillarytech/blaze-ui/./components/CapLabel/index.ts","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/./components/CapCheckbox/CapCheckbox.tsx","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./components/CapLabel/styles.scss?2606","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/CapLabel/styles.scss","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapCheckbox/styles.scss","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/./components/CapCheckbox/styles.scss?9db3","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/CapCheckbox/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 classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\nexport interface CapLabelProps extends React.HTMLAttributes<HTMLDivElement> {\n children?: React.ReactNode;\n type?: string;\n className?: string;\n style?: React.CSSProperties;\n fontWeight?: string | number;\n lineHeight?: string;\n}\n\nconst CapLabel: React.FC<CapLabelProps> = ({\n children,\n type = 'label1',\n className = '',\n style = {},\n fontWeight,\n lineHeight,\n ...rest\n}) => {\n const labelStyle: React.CSSProperties = {\n ...(fontWeight ? { fontWeight } : {}),\n ...(lineHeight ? { lineHeight } : {}),\n ...style,\n };\n\n return (\n <div\n className={classnames(styles['cap-label'], styles['cap-label-div'], styles[type], className)}\n style={labelStyle}\n {...rest}\n >\n {children}\n </div>\n );\n};\n\n// Static method for inline label\nexport interface CapLabelInlineProps extends React.HTMLAttributes<HTMLSpanElement> {\n children?: React.ReactNode;\n type?: string;\n className?: string;\n style?: React.CSSProperties;\n fontWeight?: string | number;\n lineHeight?: string;\n}\n\nconst CapLabelInline: React.FC<CapLabelInlineProps> = ({\n children,\n type = 'label1',\n className = '',\n style = {},\n fontWeight,\n lineHeight,\n ...rest\n}) => {\n const labelStyle: React.CSSProperties = {\n ...(fontWeight ? { fontWeight } : {}),\n ...(lineHeight ? { lineHeight } : {}),\n ...style,\n };\n\n return (\n <span\n className={classnames(styles['cap-label'], styles['cap-label-span'], styles[type], className)}\n style={labelStyle}\n {...rest}\n >\n {children}\n </span>\n );\n};\n\n// Extend the component type to include the static property\ninterface CapLabelType extends React.FC<CapLabelProps> {\n CapLabelInline: React.FC<CapLabelInlineProps>;\n}\n\nconst CapLabelWithStatic = CapLabel as CapLabelType;\nCapLabelWithStatic.CapLabelInline = CapLabelInline;\n\nexport default CapLabelWithStatic;\n","export { default } from './CapLabel';\nexport type { CapLabelProps, CapLabelInlineProps } from './CapLabel';\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;","import { Checkbox } from 'antd-v5';\nimport type { CheckboxProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapLabel from '../CapLabel';\n\nimport styles from './styles.scss';\n\nconst clsPrefix = 'cap-checkbox-v2';\n\nexport interface CapCheckboxProps extends Omit<CheckboxProps, 'children'> {\n className?: string;\n children?: React.ReactNode;\n errorMessage?: string;\n inductiveText?: string;\n suffix?: React.ReactNode;\n labelType?: string;\n}\n\nconst CapCheckbox: React.FC<CapCheckboxProps> = ({\n className,\n children,\n errorMessage,\n inductiveText,\n suffix,\n labelType = 'h4',\n ...rest\n}) => {\n return (\n <div className={styles['cap-checkbox-wrapper']}>\n <div className={classnames(styles[clsPrefix], className)}>\n <Checkbox {...rest}>\n <CapLabel.CapLabelInline\n className={classnames(styles.title, { [styles['has-suffix']]: suffix })}\n type={labelType}\n >\n {children}\n </CapLabel.CapLabelInline>\n {suffix}\n {inductiveText && (\n <CapLabel className={styles['inductive-text']} type=\"label3\">\n {inductiveText}\n </CapLabel>\n )}\n </Checkbox>\n {className && className.indexOf('error') > -1 && errorMessage && (\n <div className={styles['error-message']}>{errorMessage}</div>\n )}\n </div>\n </div>\n );\n};\n\n// Extend the component type to include static properties\ninterface CapCheckboxType extends React.FC<CapCheckboxProps> {\n Group: typeof Checkbox.Group;\n}\n\nconst CapCheckboxWithStatic = CapCheckbox as CapCheckboxType;\nCapCheckboxWithStatic.Group = Checkbox.Group;\n\nexport default CapCheckboxWithStatic;\n","'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","\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","\"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};","// 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-label{font-family:\"Roboto\",sans-serif}.blaze-ui-cap-label.blaze-ui-label1{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label2{font-size:.857rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label3{font-size:.857rem;color:#97a0af;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label4{font-size:.857rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label5{font-size:.714rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label6{font-size:.857rem;color:#b3bac5;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label7{font-size:1rem;color:#5e6c84;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label8{font-size:.857rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label9{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label10{font-size:.857rem;color:#fff;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label11{font-size:.714rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label12{font-size:.857rem;color:#fff;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label13{font-size:.714rem;color:#97a0af;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label14{font-size:1rem;color:#676e7c;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label15{font-size:1rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label16{font-size:1rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label17{font-size:1.143rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label18{font-size:1rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label19{font-size:.857rem;color:rgba(0,0,0,.8705882353);font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label20{font-size:1rem;color:#2466eb;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label21{font-size:.857rem;color:#2466eb;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label22{font-size:1.714rem;color:#5e6c84;font-weight:400;line-height:2rem}.blaze-ui-cap-label.blaze-ui-label23{font-size:1rem;color:#fff;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label24{font-size:1rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label25{font-size:1rem;color:#5e6c84;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label26{font-size:.714rem;color:#091e42;font-weight:400;line-height:.857rem}.blaze-ui-cap-label.blaze-ui-label27{font-size:.857rem;color:#2466eb;font-weight:500;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label28{font-size:.857rem;color:#fff;font-weight:500;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label29,.blaze-ui-cap-label.blaze-ui-label30{font-size:.714rem;color:#fff;font-weight:400;line-height:.857rem}.blaze-ui-cap-label.blaze-ui-label31{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label32{font-size:1rem;color:#fff;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label33{font-size:1rem;color:#2466eb;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label-div,.blaze-ui-cap-label-span{font-family:\"Roboto\",sans-serif;margin:0;padding:0}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-label\": `blaze-ui-cap-label`,\n\t\"label1\": `blaze-ui-label1`,\n\t\"label2\": `blaze-ui-label2`,\n\t\"label3\": `blaze-ui-label3`,\n\t\"label4\": `blaze-ui-label4`,\n\t\"label5\": `blaze-ui-label5`,\n\t\"label6\": `blaze-ui-label6`,\n\t\"label7\": `blaze-ui-label7`,\n\t\"label8\": `blaze-ui-label8`,\n\t\"label9\": `blaze-ui-label9`,\n\t\"label10\": `blaze-ui-label10`,\n\t\"label11\": `blaze-ui-label11`,\n\t\"label12\": `blaze-ui-label12`,\n\t\"label13\": `blaze-ui-label13`,\n\t\"label14\": `blaze-ui-label14`,\n\t\"label15\": `blaze-ui-label15`,\n\t\"label16\": `blaze-ui-label16`,\n\t\"label17\": `blaze-ui-label17`,\n\t\"label18\": `blaze-ui-label18`,\n\t\"label19\": `blaze-ui-label19`,\n\t\"label20\": `blaze-ui-label20`,\n\t\"label21\": `blaze-ui-label21`,\n\t\"label22\": `blaze-ui-label22`,\n\t\"label23\": `blaze-ui-label23`,\n\t\"label24\": `blaze-ui-label24`,\n\t\"label25\": `blaze-ui-label25`,\n\t\"label26\": `blaze-ui-label26`,\n\t\"label27\": `blaze-ui-label27`,\n\t\"label28\": `blaze-ui-label28`,\n\t\"label29\": `blaze-ui-label29`,\n\t\"label30\": `blaze-ui-label30`,\n\t\"label31\": `blaze-ui-label31`,\n\t\"label32\": `blaze-ui-label32`,\n\t\"label33\": `blaze-ui-label33`,\n\t\"cap-label-div\": `blaze-ui-cap-label-div`,\n\t\"cap-label-span\": `blaze-ui-cap-label-span`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\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};","// 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-checkbox-wrapper{font-family:\"Roboto\",sans-serif}.blaze-ui-cap-checkbox-wrapper .blaze-ui-title{padding-left:.286rem}.blaze-ui-cap-checkbox-wrapper .blaze-ui-inductive-text{padding-left:2.857rem}.blaze-ui-cap-checkbox-wrapper .blaze-ui-title.blaze-ui-has-suffix{margin-right:.571rem}.blaze-ui-cap-checkbox-wrapper .blaze-ui-error-message{color:#ff4d4f;font-size:.857rem;margin-top:.286rem}.blaze-ui-cap-checkbox-wrapper .ant-checkbox-wrapper-disabled{opacity:.5}.blaze-ui-cap-checkbox-wrapper .ant-checkbox-wrapper-disabled .ant-checkbox-checked.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f4f5f7;border-color:#5e6c84 !important}.blaze-ui-cap-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{width:1.428rem;height:1.428rem;border:.143rem solid #5e6c84}.blaze-ui-cap-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:#47af46;border-color:#47af46}.blaze-ui-cap-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner::after{left:23%}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-checkbox-wrapper\": `blaze-ui-cap-checkbox-wrapper`,\n\t\"title\": `blaze-ui-title`,\n\t\"inductive-text\": `blaze-ui-inductive-text`,\n\t\"has-suffix\": `blaze-ui-has-suffix`,\n\t\"error-message\": `blaze-ui-error-message`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\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;","\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","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 './CapCheckbox';\nexport type { CapCheckboxProps } from './CapCheckbox';\n"],"names":["_classnames","_interopRequireDefault","require","_react","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","CapLabel","_ref","children","type","className","style","fontWeight","lineHeight","rest","labelStyle","jsx","classnames","styles","CapLabelInline","_ref2","CapLabelWithStatic","_default","exports","_CapLabel","_antdV","clsPrefix","CapCheckbox","errorMessage","inductiveText","suffix","labelType","jsxs","Checkbox","title","CapCheckboxWithStatic","Group","_CapCheckbox"],"sourceRoot":""}
|
|
@@ -17,10 +17,11 @@ export interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
17
17
|
component?: React.ReactNode;
|
|
18
18
|
svgProps?: SvgIconProps;
|
|
19
19
|
allowSvg?: boolean;
|
|
20
|
+
color?: string;
|
|
20
21
|
}
|
|
21
22
|
interface AntIconProps {
|
|
22
23
|
className?: string;
|
|
23
|
-
[key: string]:
|
|
24
|
+
[key: string]: unknown;
|
|
24
25
|
}
|
|
25
26
|
interface CapIconType extends React.FC<CapIconProps> {
|
|
26
27
|
AntIcon: React.FC<AntIconProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapIcon.d.ts","sourceRoot":"","sources":["../../components/CapIcon/CapIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,YAAY;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;
|
|
1
|
+
{"version":3,"file":"CapIcon.d.ts","sourceRoot":"","sources":["../../components/CapIcon/CapIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU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__(6942));
|
|
|
285
285
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
286
286
|
var _styles = _interopRequireDefault(__webpack_require__(6426));
|
|
287
287
|
var _jsxRuntime = __webpack_require__(4848);
|
|
288
|
-
const _excluded = ["type", "size", "style", "className", "disabled", "spin", "rotate", "withBackground", "backgroundProps", "onClick", "textLabel", "component", "svgProps", "allowSvg"],
|
|
288
|
+
const _excluded = ["type", "size", "style", "className", "disabled", "spin", "rotate", "withBackground", "backgroundProps", "onClick", "textLabel", "component", "svgProps", "allowSvg", "color"],
|
|
289
289
|
_excluded2 = ["className"];
|
|
290
290
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
291
291
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
292
292
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
293
293
|
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); }
|
|
294
|
+
// Special mappings for common icon names
|
|
295
|
+
const iconMapping = {
|
|
296
|
+
add: 'plus'
|
|
297
|
+
};
|
|
294
298
|
const getSvgIcon = function (type, svgProps) {
|
|
295
299
|
if (svgProps === void 0) {
|
|
296
300
|
svgProps = {};
|
|
@@ -303,15 +307,18 @@ const getSvgIcon = function (type, svgProps) {
|
|
|
303
307
|
};
|
|
304
308
|
const getAntIcon = type => {
|
|
305
309
|
if (!type) return null;
|
|
310
|
+
// Use mapped name if available, otherwise use original type
|
|
311
|
+
const mappedType = iconMapping[type.toLowerCase()] || type;
|
|
306
312
|
|
|
307
313
|
// Convert kebab-case to PascalCase for Ant Design icon naming
|
|
308
|
-
const pascalCase =
|
|
314
|
+
const pascalCase = mappedType.split('-').map(part => part.charAt(0).toUpperCase() + part.slice(1)).join('');
|
|
309
315
|
|
|
310
316
|
// Try different naming conventions
|
|
311
317
|
const iconName = pascalCase + "Outlined";
|
|
312
318
|
const iconNameFilled = pascalCase + "Filled";
|
|
313
319
|
const iconNameTwoTone = pascalCase + "TwoTone";
|
|
314
|
-
|
|
320
|
+
const iconsRecord = AntdIcons;
|
|
321
|
+
return iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null;
|
|
315
322
|
};
|
|
316
323
|
const CapIcon = _ref => {
|
|
317
324
|
let {
|
|
@@ -328,7 +335,8 @@ const CapIcon = _ref => {
|
|
|
328
335
|
textLabel,
|
|
329
336
|
component,
|
|
330
337
|
svgProps = {},
|
|
331
|
-
allowSvg = true
|
|
338
|
+
allowSvg = true,
|
|
339
|
+
color
|
|
332
340
|
} = _ref,
|
|
333
341
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
334
342
|
const handleClick = e => {
|
|
@@ -356,15 +364,18 @@ const CapIcon = _ref => {
|
|
|
356
364
|
|
|
357
365
|
// If SVG icon exists and allowSvg is true, use it
|
|
358
366
|
if (svgIcon) {
|
|
367
|
+
const iconStyle = _extends({}, style, {
|
|
368
|
+
transform: rotate ? "rotate(" + rotate + "deg)" : undefined
|
|
369
|
+
}, color ? {
|
|
370
|
+
color
|
|
371
|
+
} : {});
|
|
359
372
|
const iconComponent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
|
|
360
373
|
className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
|
|
361
374
|
[_styles.default.spin]: spin,
|
|
362
375
|
[_styles.default.disabled]: disabled,
|
|
363
376
|
[_styles.default['with-text-label']]: textLabel
|
|
364
377
|
}, className),
|
|
365
|
-
style:
|
|
366
|
-
transform: rotate ? "rotate(" + rotate + "deg)" : undefined
|
|
367
|
-
}),
|
|
378
|
+
style: iconStyle,
|
|
368
379
|
onClick: handleClick
|
|
369
380
|
}, rest, {
|
|
370
381
|
children: [svgIcon, textLabel]
|
|
@@ -379,17 +390,23 @@ const CapIcon = _ref => {
|
|
|
379
390
|
// Try to get Ant Design icon
|
|
380
391
|
const AntIcon = type ? getAntIcon(type) : null;
|
|
381
392
|
if (AntIcon) {
|
|
393
|
+
const iconStyle = color ? _extends({
|
|
394
|
+
color
|
|
395
|
+
}, style) : style;
|
|
382
396
|
const iconComponent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
|
|
383
397
|
className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
|
|
384
398
|
[_styles.default.disabled]: disabled,
|
|
385
399
|
[_styles.default['with-text-label']]: textLabel
|
|
386
400
|
}, className),
|
|
387
|
-
style:
|
|
401
|
+
style: iconStyle,
|
|
388
402
|
onClick: handleClick
|
|
389
403
|
}, rest, {
|
|
390
404
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AntIcon, {
|
|
391
405
|
spin: spin,
|
|
392
|
-
rotate: rotate
|
|
406
|
+
rotate: rotate,
|
|
407
|
+
style: color ? {
|
|
408
|
+
color
|
|
409
|
+
} : undefined
|
|
393
410
|
}), textLabel]
|
|
394
411
|
}));
|
|
395
412
|
return withBackground ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapIcon/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;;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;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0BAA0B;AAC12C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB;;AAEhB;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK;AAAA,EAEN;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;;;;;;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,IAAAG,QAAA,GAAAnF,sBAAA,CAAAF,mBAAA;AAAoCoF,kBAAA,GAAAC,QAAA,CAAA3E,OAAA;AAAA,SAAAR,uBAAAM,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/./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/./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/CapIcon/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};","\"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\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<any>> = {\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<any> | null => {\n if (!type) return null;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = type\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 return (\n (AntdIcons as any)[iconName] ||\n (AntdIcons as any)[iconNameFilled] ||\n (AntdIcons as any)[iconNameTwoTone] ||\n 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}\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 ...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 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={{\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n }}\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 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={style}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} />\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]: any;\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\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 './CapIcon';\nexport type { CapIconProps } from './CapIcon';\n"],"names":["AntdIcons","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_react","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_objectWithoutPropertiesLoose","indexOf","_extends","assign","bind","arguments","length","apply","getSvgIcon","type","svgProps","icons","IconComponent","jsx","getAntIcon","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","CapIcon","_ref","size","style","className","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","rest","handleClick","jsxs","classnames","styles","children","svgIcon","iconComponent","transform","undefined","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_default","exports","_CapIcon"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapIcon/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;;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;;;;;;;;;;;;ACnFA,IAAAA,SAAA,GAAAC,uBAAA,CAAAC,mBAAA;AACA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,mBAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,mBAAA;AAEA,IAAAI,OAAA,GAAAF,sBAAA,CAAAF,mBAAA;AAAmC,IAAAK,WAAA,GAAAL,mBAAA;AAAA,MAAAM,SAAA;EAAAC,UAAA;AAAA,SAAAL,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,E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sBAAsB;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK;AAAA,EAEN;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;;;;;;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,IAAAG,QAAA,GAAA1F,sBAAA,CAAAF,mBAAA;AAAoC2F,kBAAA,GAAAC,QAAA,CAAAlF,OAAA;AAAA,SAAAR,uBAAAM,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/./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/./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/CapIcon/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};","\"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\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 './CapIcon';\nexport type { CapIconProps } from './CapIcon';\n"],"names":["AntdIcons","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_react","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_objectWithoutPropertiesLoose","indexOf","_extends","assign","bind","arguments","length","apply","iconMapping","add","getSvgIcon","type","svgProps","icons","IconComponent","jsx","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","_ref","size","style","className","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","rest","handleClick","jsxs","classnames","styles","children","svgIcon","iconStyle","transform","undefined","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_default","exports","_CapIcon"],"sourceRoot":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MenuProps } from 'antd-v5';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
declare const SubMenu: React.FC<import("antd-v5").SubMenuProps>, ItemGroup: React.ForwardRefExoticComponent<Omit<import("rc-menu").MenuItemGroupProps, "ref"> & React.RefAttributes<HTMLLIElement>>, Divider: React.FC<import("antd-v5/es/menu").MenuDividerProps>;
|
|
3
|
+
declare const Item: Omit<React.FunctionComponent<import("antd-v5").MenuItemProps>, ""> & (<T extends import("antd-v5").MenuItemProps>(props: T extends infer U extends import("antd-v5").MenuItemProps ? unknown extends U ? import("antd-v5").MenuItemProps : U : import("antd-v5").MenuItemProps, deprecatedLegacyContext?: any) => ReturnType<React.FunctionComponent<import("antd-v5").MenuItemProps>>), SubMenu: React.FC<import("antd-v5").SubMenuProps>, ItemGroup: React.ForwardRefExoticComponent<Omit<import("rc-menu").MenuItemGroupProps, "ref"> & React.RefAttributes<HTMLLIElement>>, Divider: React.FC<import("antd-v5/es/menu").MenuDividerProps>;
|
|
4
4
|
export interface CapMenuProps extends MenuProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
mode?: 'horizontal' | 'vertical' | 'inline';
|
|
@@ -15,7 +15,7 @@ export interface CapMenuProps extends MenuProps {
|
|
|
15
15
|
}) => void;
|
|
16
16
|
onOpenChange?: (openKeys: string[]) => void;
|
|
17
17
|
}
|
|
18
|
-
declare const withItemHOC: React.FC<
|
|
18
|
+
declare const withItemHOC: React.FC<React.ComponentProps<typeof Item>>;
|
|
19
19
|
interface CapMenuType extends React.FC<CapMenuProps> {
|
|
20
20
|
Item: typeof withItemHOC;
|
|
21
21
|
SubMenu: typeof SubMenu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapMenu.d.ts","sourceRoot":"","sources":["../../components/CapMenu/CapMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,QAAA,
|
|
1
|
+
{"version":3,"file":"CapMenu.d.ts","sourceRoot":"","sources":["../../components/CapMenu/CapMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,QAAA,MAAQ,IAAI,2XAAE,OAAO,4CAAE,SAAS,2HAAE,OAAO,sDAAS,CAAC;AAInD,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC5C,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,EAAE,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC7C;AAuBD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,CAE5D,CAAC;AAGF,UAAU,WAAY,SAAQ,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC;IAClD,IAAI,EAAE,OAAO,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,SAAS,CAAC;IAC5B,OAAO,EAAE,OAAO,OAAO,CAAC;CACzB;AAED,QAAA,MAAM,OAAO,EAAuB,WAAW,CAAC;AAMhD,eAAe,OAAO,CAAC"}
|
package/dist/CapMenu/index.js
CHANGED
|
@@ -608,9 +608,9 @@ const CapMenuComponent = _ref => {
|
|
|
608
608
|
const initialize = () => {};
|
|
609
609
|
|
|
610
610
|
// fixing antd issue: default value of onItemHover is not defined.
|
|
611
|
-
const withItemHOC = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(Item, _extends({}, props, {
|
|
611
|
+
const withItemHOC = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(Item, _extends({}, _extends({}, props, {
|
|
612
612
|
onItemHover: initialize
|
|
613
|
-
}));
|
|
613
|
+
})));
|
|
614
614
|
|
|
615
615
|
// Extend the component type to include static properties
|
|
616
616
|
|