@capillarytech/blaze-ui 1.2.8-beta.2 → 2.0.3
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/README.md +60 -198
- package/dist/CapAlert/CapAlert.d.ts +7 -0
- package/dist/CapAlert/CapAlert.d.ts.map +1 -1
- package/dist/CapAlert/__snapshots__/CapAlert.test.tsx.snap +265 -0
- package/dist/CapAlert/index.js +8 -3
- package/dist/CapAlert/index.js.map +1 -1
- package/dist/CapButton/CapButton.d.ts +1 -1
- package/dist/CapButton/CapButton.d.ts.map +1 -1
- package/dist/CapButton/__snapshots__/CapButton.test.tsx.snap +199 -0
- package/dist/CapButton/index.js +25 -25
- package/dist/CapButton/index.js.map +1 -1
- package/dist/CapCard/__snapshots__/CapCard.test.tsx.snap +122 -0
- package/dist/CapCheckbox/__snapshots__/CapCheckbox.test.tsx.snap +275 -0
- package/dist/CapColumn/__snapshots__/CapColumn.test.tsx.snap +83 -0
- package/dist/CapDivider/CapDivider.d.ts +14 -1
- package/dist/CapDivider/CapDivider.d.ts.map +1 -1
- package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +172 -0
- package/dist/CapDivider/index.js +19 -489
- package/dist/CapDivider/index.js.map +1 -1
- package/dist/CapDropdown/CapDropdown.d.ts +31 -6
- package/dist/CapDropdown/CapDropdown.d.ts.map +1 -1
- package/dist/CapDropdown/__snapshots__/CapDropdown.test.tsx.snap +52 -0
- package/dist/CapDropdown/index.js +77 -19
- package/dist/CapDropdown/index.js.map +1 -1
- package/dist/CapForm/__snapshots__/CapForm.test.tsx.snap +103 -0
- package/dist/CapFormItem/__snapshots__/CapFormItem.test.tsx.snap +368 -0
- package/dist/CapHeading/CapHeading.d.ts +37 -0
- package/dist/CapHeading/CapHeading.d.ts.map +1 -0
- package/dist/CapHeading/CapHeading.test.d.ts +2 -0
- package/dist/CapHeading/CapHeading.test.d.ts.map +1 -0
- package/dist/CapHeading/README.md +220 -0
- package/dist/CapHeading/__snapshots__/CapHeading.test.tsx.snap +263 -0
- package/dist/CapHeading/index.d.ts +3 -0
- package/dist/CapHeading/index.d.ts.map +1 -0
- package/dist/CapHeading/index.js +740 -0
- package/dist/CapHeading/index.js.map +1 -0
- package/dist/CapIcon/__snapshots__/CapIcon.test.tsx.snap +366 -0
- package/dist/CapInput/Number.d.ts +1 -2
- package/dist/CapInput/Number.d.ts.map +1 -1
- package/dist/CapInput/__snapshots__/CapInput.test.tsx.snap +156 -0
- package/dist/CapInput/__snapshots__/Number.test.tsx.snap +557 -0
- package/dist/CapInput/__snapshots__/Search.test.tsx.snap +284 -0
- package/dist/CapInput/__snapshots__/TextArea.test.tsx.snap +100 -0
- package/dist/CapInput/index.js +1 -1
- package/dist/CapInput/index.js.map +1 -1
- package/dist/CapLabel/__snapshots__/CapLabel.test.tsx.snap +135 -0
- package/dist/CapMenu/__snapshots__/CapMenu.test.tsx.snap +653 -0
- package/dist/CapRadio/__snapshots__/CapRadio.test.tsx.snap +387 -0
- package/dist/CapRow/__snapshots__/CapRow.test.tsx.snap +149 -0
- package/dist/CapSkeleton/__snapshots__/CapSkeleton.test.tsx.snap +212 -0
- package/dist/CapSpin/__snapshots__/CapSpin.test.tsx.snap +245 -0
- package/dist/CapSwitch/CapSwitch.d.ts.map +1 -1
- package/dist/CapSwitch/__snapshots__/CapSwitch.test.tsx.snap +178 -0
- package/dist/CapSwitch/index.js +7 -489
- package/dist/CapSwitch/index.js.map +1 -1
- package/dist/CapTab/CapTab.d.ts +11 -1
- package/dist/CapTab/CapTab.d.ts.map +1 -1
- package/dist/CapTab/__snapshots__/CapTab.test.tsx.snap +1508 -0
- package/dist/CapTab/index.js +29 -19
- package/dist/CapTab/index.js.map +1 -1
- package/dist/CapTable/__snapshots__/CapTable.test.tsx.snap +993 -0
- package/dist/CapTooltip/CapTooltip.d.ts +32 -1
- package/dist/CapTooltip/CapTooltip.d.ts.map +1 -1
- package/dist/CapTooltip/__snapshots__/CapTooltip.test.tsx.snap +121 -0
- package/dist/CapTooltip/index.js +25 -7
- package/dist/CapTooltip/index.js.map +1 -1
- package/dist/CapTooltipWithInfo/__snapshots__/CapTooltipWithInfo.test.tsx.snap +388 -0
- package/dist/CapTooltipWithInfo/index.js +25 -7
- package/dist/CapTooltipWithInfo/index.js.map +1 -1
- package/dist/CapUnifiedSelect/__snapshots__/CapUnifiedSelect.test.tsx.snap +898 -0
- package/dist/CapUnifiedSelect/index.js +28 -8
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +264 -274
- package/dist/index.js.map +1 -1
- package/dist/utils/fonts.d.ts +8 -8
- package/dist/utils/fonts.d.ts.map +1 -1
- package/dist/utils/getCapThemeConfig.d.ts +7 -0
- package/dist/utils/getCapThemeConfig.d.ts.map +1 -1
- package/dist/utils/index.d.ts +10 -10
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +17391 -214
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/styles.d.ts +2 -2
- package/package.json +8 -3
package/dist/CapDivider/index.js
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/ 540:
|
|
5
|
-
/***/ ((module) => {
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* istanbul ignore next */
|
|
11
|
-
function insertStyleElement(options) {
|
|
12
|
-
var element = document.createElement("style");
|
|
13
|
-
options.setAttributes(element, options.attributes);
|
|
14
|
-
options.insert(element, options.options);
|
|
15
|
-
return element;
|
|
16
|
-
}
|
|
17
|
-
module.exports = insertStyleElement;
|
|
18
|
-
|
|
19
|
-
/***/ }),
|
|
20
|
-
|
|
21
4
|
/***/ 1020:
|
|
22
5
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
23
6
|
|
|
@@ -35,18 +18,6 @@ var f=__webpack_require__(9206),k=Symbol.for("react.element"),l=Symbol.for("reac
|
|
|
35
18
|
function 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;
|
|
36
19
|
|
|
37
20
|
|
|
38
|
-
/***/ }),
|
|
39
|
-
|
|
40
|
-
/***/ 1601:
|
|
41
|
-
/***/ ((module) => {
|
|
42
|
-
|
|
43
|
-
"use strict";
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
module.exports = function (i) {
|
|
47
|
-
return i[1];
|
|
48
|
-
};
|
|
49
|
-
|
|
50
21
|
/***/ }),
|
|
51
22
|
|
|
52
23
|
/***/ 4273:
|
|
@@ -55,151 +26,6 @@ module.exports = function (i) {
|
|
|
55
26
|
"use strict";
|
|
56
27
|
module.exports = require("antd-v5");
|
|
57
28
|
|
|
58
|
-
/***/ }),
|
|
59
|
-
|
|
60
|
-
/***/ 4284:
|
|
61
|
-
/***/ ((module) => {
|
|
62
|
-
|
|
63
|
-
"use strict";
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
/* istanbul ignore next */
|
|
67
|
-
var replaceText = function replaceText() {
|
|
68
|
-
var textStore = [];
|
|
69
|
-
return function replace(index, replacement) {
|
|
70
|
-
textStore[index] = replacement;
|
|
71
|
-
return textStore.filter(Boolean).join("\n");
|
|
72
|
-
};
|
|
73
|
-
}();
|
|
74
|
-
|
|
75
|
-
/* istanbul ignore next */
|
|
76
|
-
function apply(styleElement, index, remove, obj) {
|
|
77
|
-
var css;
|
|
78
|
-
if (remove) {
|
|
79
|
-
css = "";
|
|
80
|
-
} else {
|
|
81
|
-
css = "";
|
|
82
|
-
if (obj.supports) {
|
|
83
|
-
css += "@supports (".concat(obj.supports, ") {");
|
|
84
|
-
}
|
|
85
|
-
if (obj.media) {
|
|
86
|
-
css += "@media ".concat(obj.media, " {");
|
|
87
|
-
}
|
|
88
|
-
var needLayer = typeof obj.layer !== "undefined";
|
|
89
|
-
if (needLayer) {
|
|
90
|
-
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
91
|
-
}
|
|
92
|
-
css += obj.css;
|
|
93
|
-
if (needLayer) {
|
|
94
|
-
css += "}";
|
|
95
|
-
}
|
|
96
|
-
if (obj.media) {
|
|
97
|
-
css += "}";
|
|
98
|
-
}
|
|
99
|
-
if (obj.supports) {
|
|
100
|
-
css += "}";
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// For old IE
|
|
105
|
-
/* istanbul ignore if */
|
|
106
|
-
if (styleElement.styleSheet) {
|
|
107
|
-
styleElement.styleSheet.cssText = replaceText(index, css);
|
|
108
|
-
} else {
|
|
109
|
-
var cssNode = document.createTextNode(css);
|
|
110
|
-
var childNodes = styleElement.childNodes;
|
|
111
|
-
if (childNodes[index]) {
|
|
112
|
-
styleElement.removeChild(childNodes[index]);
|
|
113
|
-
}
|
|
114
|
-
if (childNodes.length) {
|
|
115
|
-
styleElement.insertBefore(cssNode, childNodes[index]);
|
|
116
|
-
} else {
|
|
117
|
-
styleElement.appendChild(cssNode);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
var singletonData = {
|
|
122
|
-
singleton: null,
|
|
123
|
-
singletonCounter: 0
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
/* istanbul ignore next */
|
|
127
|
-
function domAPI(options) {
|
|
128
|
-
if (typeof document === "undefined") return {
|
|
129
|
-
update: function update() {},
|
|
130
|
-
remove: function remove() {}
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
// eslint-disable-next-line no-undef,no-use-before-define
|
|
134
|
-
var styleIndex = singletonData.singletonCounter++;
|
|
135
|
-
var styleElement =
|
|
136
|
-
// eslint-disable-next-line no-undef,no-use-before-define
|
|
137
|
-
singletonData.singleton || (
|
|
138
|
-
// eslint-disable-next-line no-undef,no-use-before-define
|
|
139
|
-
singletonData.singleton = options.insertStyleElement(options));
|
|
140
|
-
return {
|
|
141
|
-
update: function update(obj) {
|
|
142
|
-
apply(styleElement, styleIndex, false, obj);
|
|
143
|
-
},
|
|
144
|
-
remove: function remove(obj) {
|
|
145
|
-
apply(styleElement, styleIndex, true, obj);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
module.exports = domAPI;
|
|
150
|
-
|
|
151
|
-
/***/ }),
|
|
152
|
-
|
|
153
|
-
/***/ 4770:
|
|
154
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
155
|
-
|
|
156
|
-
"use strict";
|
|
157
|
-
__webpack_require__.r(__webpack_exports__);
|
|
158
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
159
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
160
|
-
/* harmony export */ });
|
|
161
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
162
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
163
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
164
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
165
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
166
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
167
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
168
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
169
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
170
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
171
|
-
/* harmony import */ var _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__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5521);
|
|
172
|
-
/* harmony import */ var _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__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_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__WEBPACK_IMPORTED_MODULE_5__);
|
|
173
|
-
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
174
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _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__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _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__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
|
|
175
|
-
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
var options = {};
|
|
188
|
-
|
|
189
|
-
;
|
|
190
|
-
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
191
|
-
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
192
|
-
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
193
|
-
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
194
|
-
|
|
195
|
-
var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_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__WEBPACK_IMPORTED_MODULE_5___default()), options);
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_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__WEBPACK_IMPORTED_MODULE_5___default()) && (_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__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_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__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
|
|
201
|
-
|
|
202
|
-
|
|
203
29
|
/***/ }),
|
|
204
30
|
|
|
205
31
|
/***/ 4795:
|
|
@@ -213,26 +39,33 @@ exports["default"] = void 0;
|
|
|
213
39
|
var _antdV = __webpack_require__(4273);
|
|
214
40
|
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
215
41
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
216
|
-
var _styles = _interopRequireDefault(__webpack_require__(4770));
|
|
217
42
|
var _jsxRuntime = __webpack_require__(4848);
|
|
218
|
-
const _excluded = ["className", "orientation"];
|
|
43
|
+
const _excluded = ["className", "orientation", "type"]; // Legacy alignment values that need mapping
|
|
44
|
+
// Valid Ant Design v6 title placement values
|
|
219
45
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
220
46
|
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); }
|
|
221
47
|
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; }
|
|
222
|
-
|
|
48
|
+
// Map legacy alignment values to Ant Design v6 titlePlacement values
|
|
49
|
+
const mapTitlePlacement = value => {
|
|
50
|
+
if (value === 'left') return 'start';
|
|
51
|
+
if (value === 'right') return 'end';
|
|
52
|
+
if (value === 'center' || value === 'start' || value === 'end') {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return undefined;
|
|
56
|
+
};
|
|
223
57
|
const CapDivider = _ref => {
|
|
224
58
|
let {
|
|
225
59
|
className,
|
|
226
|
-
orientation
|
|
60
|
+
orientation,
|
|
61
|
+
type = 'horizontal'
|
|
227
62
|
} = _ref,
|
|
228
63
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
229
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
230
|
-
className:
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}, rest))
|
|
235
|
-
});
|
|
64
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Divider, _extends({
|
|
65
|
+
className: (0, _classnames.default)('cap-divider-v2', className),
|
|
66
|
+
orientation: type,
|
|
67
|
+
titlePlacement: mapTitlePlacement(orientation)
|
|
68
|
+
}, rest));
|
|
236
69
|
};
|
|
237
70
|
var _default = exports["default"] = CapDivider;
|
|
238
71
|
|
|
@@ -250,222 +83,6 @@ if (true) {
|
|
|
250
83
|
{}
|
|
251
84
|
|
|
252
85
|
|
|
253
|
-
/***/ }),
|
|
254
|
-
|
|
255
|
-
/***/ 5056:
|
|
256
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
257
|
-
|
|
258
|
-
"use strict";
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
/* istanbul ignore next */
|
|
262
|
-
function setAttributesWithoutAttributes(styleElement) {
|
|
263
|
-
var nonce = true ? __webpack_require__.nc : 0;
|
|
264
|
-
if (nonce) {
|
|
265
|
-
styleElement.setAttribute("nonce", nonce);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
module.exports = setAttributesWithoutAttributes;
|
|
269
|
-
|
|
270
|
-
/***/ }),
|
|
271
|
-
|
|
272
|
-
/***/ 5072:
|
|
273
|
-
/***/ ((module) => {
|
|
274
|
-
|
|
275
|
-
"use strict";
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
var stylesInDOM = [];
|
|
279
|
-
function getIndexByIdentifier(identifier) {
|
|
280
|
-
var result = -1;
|
|
281
|
-
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
282
|
-
if (stylesInDOM[i].identifier === identifier) {
|
|
283
|
-
result = i;
|
|
284
|
-
break;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
return result;
|
|
288
|
-
}
|
|
289
|
-
function modulesToDom(list, options) {
|
|
290
|
-
var idCountMap = {};
|
|
291
|
-
var identifiers = [];
|
|
292
|
-
for (var i = 0; i < list.length; i++) {
|
|
293
|
-
var item = list[i];
|
|
294
|
-
var id = options.base ? item[0] + options.base : item[0];
|
|
295
|
-
var count = idCountMap[id] || 0;
|
|
296
|
-
var identifier = "".concat(id, " ").concat(count);
|
|
297
|
-
idCountMap[id] = count + 1;
|
|
298
|
-
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
299
|
-
var obj = {
|
|
300
|
-
css: item[1],
|
|
301
|
-
media: item[2],
|
|
302
|
-
sourceMap: item[3],
|
|
303
|
-
supports: item[4],
|
|
304
|
-
layer: item[5]
|
|
305
|
-
};
|
|
306
|
-
if (indexByIdentifier !== -1) {
|
|
307
|
-
stylesInDOM[indexByIdentifier].references++;
|
|
308
|
-
stylesInDOM[indexByIdentifier].updater(obj);
|
|
309
|
-
} else {
|
|
310
|
-
var updater = addElementStyle(obj, options);
|
|
311
|
-
options.byIndex = i;
|
|
312
|
-
stylesInDOM.splice(i, 0, {
|
|
313
|
-
identifier: identifier,
|
|
314
|
-
updater: updater,
|
|
315
|
-
references: 1
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
identifiers.push(identifier);
|
|
319
|
-
}
|
|
320
|
-
return identifiers;
|
|
321
|
-
}
|
|
322
|
-
function addElementStyle(obj, options) {
|
|
323
|
-
var api = options.domAPI(options);
|
|
324
|
-
api.update(obj);
|
|
325
|
-
var updater = function updater(newObj) {
|
|
326
|
-
if (newObj) {
|
|
327
|
-
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
api.update(obj = newObj);
|
|
331
|
-
} else {
|
|
332
|
-
api.remove();
|
|
333
|
-
}
|
|
334
|
-
};
|
|
335
|
-
return updater;
|
|
336
|
-
}
|
|
337
|
-
module.exports = function (list, options) {
|
|
338
|
-
options = options || {};
|
|
339
|
-
list = list || [];
|
|
340
|
-
var lastIdentifiers = modulesToDom(list, options);
|
|
341
|
-
return function update(newList) {
|
|
342
|
-
newList = newList || [];
|
|
343
|
-
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
344
|
-
var identifier = lastIdentifiers[i];
|
|
345
|
-
var index = getIndexByIdentifier(identifier);
|
|
346
|
-
stylesInDOM[index].references--;
|
|
347
|
-
}
|
|
348
|
-
var newLastIdentifiers = modulesToDom(newList, options);
|
|
349
|
-
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
350
|
-
var _identifier = lastIdentifiers[_i];
|
|
351
|
-
var _index = getIndexByIdentifier(_identifier);
|
|
352
|
-
if (stylesInDOM[_index].references === 0) {
|
|
353
|
-
stylesInDOM[_index].updater();
|
|
354
|
-
stylesInDOM.splice(_index, 1);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
lastIdentifiers = newLastIdentifiers;
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
/***/ }),
|
|
362
|
-
|
|
363
|
-
/***/ 5521:
|
|
364
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
365
|
-
|
|
366
|
-
// Imports
|
|
367
|
-
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
368
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
369
|
-
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
370
|
-
// Module
|
|
371
|
-
___CSS_LOADER_EXPORT___.push([module.id, ``, ""]);
|
|
372
|
-
// Exports
|
|
373
|
-
___CSS_LOADER_EXPORT___.locals = {};
|
|
374
|
-
module.exports = ___CSS_LOADER_EXPORT___;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
/***/ }),
|
|
378
|
-
|
|
379
|
-
/***/ 6314:
|
|
380
|
-
/***/ ((module) => {
|
|
381
|
-
|
|
382
|
-
"use strict";
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
/*
|
|
386
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
387
|
-
Author Tobias Koppers @sokra
|
|
388
|
-
*/
|
|
389
|
-
module.exports = function (cssWithMappingToString) {
|
|
390
|
-
var list = [];
|
|
391
|
-
|
|
392
|
-
// return the list of modules as css string
|
|
393
|
-
list.toString = function toString() {
|
|
394
|
-
return this.map(function (item) {
|
|
395
|
-
var content = "";
|
|
396
|
-
var needLayer = typeof item[5] !== "undefined";
|
|
397
|
-
if (item[4]) {
|
|
398
|
-
content += "@supports (".concat(item[4], ") {");
|
|
399
|
-
}
|
|
400
|
-
if (item[2]) {
|
|
401
|
-
content += "@media ".concat(item[2], " {");
|
|
402
|
-
}
|
|
403
|
-
if (needLayer) {
|
|
404
|
-
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
405
|
-
}
|
|
406
|
-
content += cssWithMappingToString(item);
|
|
407
|
-
if (needLayer) {
|
|
408
|
-
content += "}";
|
|
409
|
-
}
|
|
410
|
-
if (item[2]) {
|
|
411
|
-
content += "}";
|
|
412
|
-
}
|
|
413
|
-
if (item[4]) {
|
|
414
|
-
content += "}";
|
|
415
|
-
}
|
|
416
|
-
return content;
|
|
417
|
-
}).join("");
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
// import a list of modules into the list
|
|
421
|
-
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
422
|
-
if (typeof modules === "string") {
|
|
423
|
-
modules = [[null, modules, undefined]];
|
|
424
|
-
}
|
|
425
|
-
var alreadyImportedModules = {};
|
|
426
|
-
if (dedupe) {
|
|
427
|
-
for (var k = 0; k < this.length; k++) {
|
|
428
|
-
var id = this[k][0];
|
|
429
|
-
if (id != null) {
|
|
430
|
-
alreadyImportedModules[id] = true;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
for (var _k = 0; _k < modules.length; _k++) {
|
|
435
|
-
var item = [].concat(modules[_k]);
|
|
436
|
-
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
437
|
-
continue;
|
|
438
|
-
}
|
|
439
|
-
if (typeof layer !== "undefined") {
|
|
440
|
-
if (typeof item[5] === "undefined") {
|
|
441
|
-
item[5] = layer;
|
|
442
|
-
} else {
|
|
443
|
-
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
444
|
-
item[5] = layer;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
if (media) {
|
|
448
|
-
if (!item[2]) {
|
|
449
|
-
item[2] = media;
|
|
450
|
-
} else {
|
|
451
|
-
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
452
|
-
item[2] = media;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
if (supports) {
|
|
456
|
-
if (!item[4]) {
|
|
457
|
-
item[4] = "".concat(supports);
|
|
458
|
-
} else {
|
|
459
|
-
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
460
|
-
item[4] = supports;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
list.push(item);
|
|
464
|
-
}
|
|
465
|
-
};
|
|
466
|
-
return list;
|
|
467
|
-
};
|
|
468
|
-
|
|
469
86
|
/***/ }),
|
|
470
87
|
|
|
471
88
|
/***/ 6942:
|
|
@@ -550,47 +167,6 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
550
167
|
}());
|
|
551
168
|
|
|
552
169
|
|
|
553
|
-
/***/ }),
|
|
554
|
-
|
|
555
|
-
/***/ 7659:
|
|
556
|
-
/***/ ((module) => {
|
|
557
|
-
|
|
558
|
-
"use strict";
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
var memo = {};
|
|
562
|
-
|
|
563
|
-
/* istanbul ignore next */
|
|
564
|
-
function getTarget(target) {
|
|
565
|
-
if (typeof memo[target] === "undefined") {
|
|
566
|
-
var styleTarget = document.querySelector(target);
|
|
567
|
-
|
|
568
|
-
// Special case to return head of iframe instead of iframe itself
|
|
569
|
-
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
570
|
-
try {
|
|
571
|
-
// This will throw an exception if access to iframe is blocked
|
|
572
|
-
// due to cross-origin restrictions
|
|
573
|
-
styleTarget = styleTarget.contentDocument.head;
|
|
574
|
-
} catch (e) {
|
|
575
|
-
// istanbul ignore next
|
|
576
|
-
styleTarget = null;
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
memo[target] = styleTarget;
|
|
580
|
-
}
|
|
581
|
-
return memo[target];
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/* istanbul ignore next */
|
|
585
|
-
function insertBySelector(insert, style) {
|
|
586
|
-
var target = getTarget(insert);
|
|
587
|
-
if (!target) {
|
|
588
|
-
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
589
|
-
}
|
|
590
|
-
target.appendChild(style);
|
|
591
|
-
}
|
|
592
|
-
module.exports = insertBySelector;
|
|
593
|
-
|
|
594
170
|
/***/ }),
|
|
595
171
|
|
|
596
172
|
/***/ 9206:
|
|
@@ -615,7 +191,7 @@ module.exports = require("react");
|
|
|
615
191
|
/******/ }
|
|
616
192
|
/******/ // Create a new module (and put it into the cache)
|
|
617
193
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
618
|
-
/******/ id
|
|
194
|
+
/******/ // no module.id needed
|
|
619
195
|
/******/ // no module.loaded needed
|
|
620
196
|
/******/ exports: {}
|
|
621
197
|
/******/ };
|
|
@@ -628,52 +204,6 @@ module.exports = require("react");
|
|
|
628
204
|
/******/ }
|
|
629
205
|
/******/
|
|
630
206
|
/************************************************************************/
|
|
631
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
632
|
-
/******/ (() => {
|
|
633
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
634
|
-
/******/ __webpack_require__.n = (module) => {
|
|
635
|
-
/******/ var getter = module && module.__esModule ?
|
|
636
|
-
/******/ () => (module['default']) :
|
|
637
|
-
/******/ () => (module);
|
|
638
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
639
|
-
/******/ return getter;
|
|
640
|
-
/******/ };
|
|
641
|
-
/******/ })();
|
|
642
|
-
/******/
|
|
643
|
-
/******/ /* webpack/runtime/define property getters */
|
|
644
|
-
/******/ (() => {
|
|
645
|
-
/******/ // define getter functions for harmony exports
|
|
646
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
647
|
-
/******/ for(var key in definition) {
|
|
648
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
649
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
650
|
-
/******/ }
|
|
651
|
-
/******/ }
|
|
652
|
-
/******/ };
|
|
653
|
-
/******/ })();
|
|
654
|
-
/******/
|
|
655
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
656
|
-
/******/ (() => {
|
|
657
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
658
|
-
/******/ })();
|
|
659
|
-
/******/
|
|
660
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
661
|
-
/******/ (() => {
|
|
662
|
-
/******/ // define __esModule on exports
|
|
663
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
664
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
665
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
666
|
-
/******/ }
|
|
667
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
668
|
-
/******/ };
|
|
669
|
-
/******/ })();
|
|
670
|
-
/******/
|
|
671
|
-
/******/ /* webpack/runtime/nonce */
|
|
672
|
-
/******/ (() => {
|
|
673
|
-
/******/ __webpack_require__.nc = undefined;
|
|
674
|
-
/******/ })();
|
|
675
|
-
/******/
|
|
676
|
-
/************************************************************************/
|
|
677
207
|
var __webpack_exports__ = {};
|
|
678
208
|
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
679
209
|
(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapDivider/index.js","mappings":"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EaX,UAAU,C;;;;;;;;AC3BZ;;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;AACA,+CAA+C,mBAAO,CAAC,IAA4D;AACnH,kCAAkC,mBAAO,CAAC,IAAmD;AAC7F;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACRa;;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;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,IAAAY,WAAA,GAAAnC,sBAAA,CAAAF,mBAAA;AAAuCoC,kBAAA,GAAAC,WAAA,CAAA5B,OAAA;AAAA,SAAAP,uBAAAK,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/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/./components/CapDivider/styles.scss?c17e","webpack://@capillarytech/blaze-ui/./components/CapDivider/CapDivider.tsx","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/CapDivider/styles.scss","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","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/CapDivider/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};","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;","\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","import { Divider } from 'antd-v5';\nimport type { DividerProps } from 'antd-v5';\nimport classNames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\nconst clsPrefix = 'cap-divider-v2';\n\nexport interface CapDividerProps extends DividerProps {\n className?: string;\n}\n\nconst CapDivider: React.FC<CapDividerProps> = ({\n className,\n orientation = 'horizontal',\n ...rest\n}) => (\n <div className={styles['cap-divider-wrapper']}>\n <Divider\n className={classNames(styles[clsPrefix], className)}\n orientation={orientation}\n {...rest}\n />\n </div>\n);\n\nexport default CapDivider;\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","\"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, ``, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {};\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};","/*!\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 './CapDivider';\nexport type { CapDividerProps } from './CapDivider';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_styles","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","clsPrefix","CapDivider","_ref","className","orientation","rest","jsx","styles","children","Divider","classNames","_default","exports","_CapDivider"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapDivider/index.js","mappings":"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","sources":["webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./components/CapDivider/CapDivider.tsx","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.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/./components/CapDivider/index.ts"],"sourcesContent":["/**\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","module.exports = require(\"antd-v5\");","import { Divider } from 'antd-v5';\nimport type { DividerProps } from 'antd-v5';\nimport classNames from 'classnames';\nimport React from 'react';\n\n// Legacy alignment values that need mapping\ntype LegacyAlignment = 'left' | 'right';\n// Valid Ant Design v6 title placement values\ntype TitlePlacement = 'start' | 'center' | 'end';\n\n// Map legacy alignment values to Ant Design v6 titlePlacement values\nconst mapTitlePlacement = (\n value: LegacyAlignment | TitlePlacement | undefined\n): DividerProps['titlePlacement'] => {\n if (value === 'left') return 'start';\n if (value === 'right') return 'end';\n if (value === 'center' || value === 'start' || value === 'end') {\n return value;\n }\n return undefined;\n};\n\nexport interface CapDividerProps extends Omit<DividerProps, 'titlePlacement' | 'orientation'> {\n className?: string;\n /**\n * Text alignment placement for the divider title.\n * v6 API: 'start' | 'center' | 'end' (maps to titlePlacement prop)\n * Legacy values 'left' and 'right' are automatically mapped to 'start' and 'end'\n */\n orientation?: LegacyAlignment | TitlePlacement;\n /**\n * Direction of the divider.\n * Maps to Ant Design's orientation prop: 'horizontal' | 'vertical'\n */\n type?: 'horizontal' | 'vertical';\n}\n\nconst CapDivider: React.FC<CapDividerProps> = ({\n className,\n orientation,\n type = 'horizontal',\n ...rest\n}) => (\n <Divider\n className={classNames('cap-divider-v2', className)}\n orientation={type}\n titlePlacement={mapTitlePlacement(orientation)}\n {...rest}\n />\n);\n\nexport default CapDivider;\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\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","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\t// no module.id needed\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","export { default } from './CapDivider';\nexport type { CapDividerProps } from './CapDivider';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","mapTitlePlacement","value","undefined","CapDivider","_ref","className","orientation","type","rest","jsx","Divider","classNames","titlePlacement","_default","exports","_CapDivider"],"sourceRoot":""}
|