@capillarytech/blaze-ui 1.2.8-beta.1 → 2.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/README.md +48 -5
- 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 +217 -0
- package/dist/CapAlert/index.js +9 -4
- 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/CapCheckbox/index.js +9 -5
- package/dist/CapCheckbox/index.js.map +1 -1
- package/dist/CapColumn/__snapshots__/CapColumn.test.tsx.snap +83 -0
- package/dist/CapDivider/CapDivider.d.ts +8 -2
- package/dist/CapDivider/CapDivider.d.ts.map +1 -1
- package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +109 -0
- package/dist/CapDivider/index.js +15 -491
- 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/__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 +2 -5
- package/dist/CapInput/index.js.map +1 -1
- package/dist/CapLabel/CapLabel.d.ts +2 -2
- package/dist/CapLabel/CapLabel.d.ts.map +1 -1
- package/dist/CapLabel/__snapshots__/CapLabel.test.tsx.snap +135 -0
- package/dist/CapLabel/index.js +8 -4
- package/dist/CapLabel/index.js.map +1 -1
- package/dist/CapMenu/CapMenu.d.ts +1 -1
- package/dist/CapMenu/CapMenu.d.ts.map +1 -1
- package/dist/CapMenu/__snapshots__/CapMenu.test.tsx.snap +653 -0
- package/dist/CapRadio/__snapshots__/CapRadio.test.tsx.snap +387 -0
- package/dist/CapRadio/index.js +9 -5
- package/dist/CapRadio/index.js.map +1 -1
- 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 -491
- 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 +30 -20
- package/dist/CapTab/index.js.map +1 -1
- package/dist/CapTable/__snapshots__/CapTable.test.tsx.snap +993 -0
- package/dist/CapTable/index.js +1 -1
- package/dist/CapTable/index.js.map +1 -1
- 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 +26 -12
- package/dist/CapTooltip/index.js.map +1 -1
- package/dist/CapTooltipWithInfo/__snapshots__/CapTooltipWithInfo.test.tsx.snap +388 -0
- package/dist/CapTooltipWithInfo/index.js +26 -12
- 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/CustomDropdown.d.ts.map +1 -1
- package/dist/CapUnifiedSelect/__snapshots__/CapUnifiedSelect.test.tsx.snap +898 -0
- package/dist/CapUnifiedSelect/index.js +33210 -39860
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47880 -54269
- package/dist/index.js.map +1 -1
- package/dist/utils/getCapThemeConfig.d.ts +23 -0
- package/dist/utils/getCapThemeConfig.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +523 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +10 -8
- package/dist/CapTestSelect/CapTestSelect.d.ts +0 -24
- package/dist/CapTestSelect/CapTestSelect.d.ts.map +0 -1
- package/dist/CapTestSelect/CapTestSelect.test.d.ts +0 -2
- package/dist/CapTestSelect/CapTestSelect.test.d.ts.map +0 -1
- package/dist/CapTestSelect/index.d.ts +0 -3
- package/dist/CapTestSelect/index.d.ts.map +0 -1
- package/dist/CapTestSelect/index.js +0 -130
- package/dist/CapTestSelect/index.js.map +0 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`CapButton Snapshots should match snapshot with default props 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<button
|
|
6
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid cap-button-v2"
|
|
7
|
+
type="button"
|
|
8
|
+
>
|
|
9
|
+
<span>
|
|
10
|
+
Default Button
|
|
11
|
+
</span>
|
|
12
|
+
</button>
|
|
13
|
+
</div>
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`CapButton Snapshots should match snapshot with disabled state 1`] = `
|
|
17
|
+
<div>
|
|
18
|
+
<button
|
|
19
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid cap-button-v2"
|
|
20
|
+
disabled=""
|
|
21
|
+
type="button"
|
|
22
|
+
>
|
|
23
|
+
<span>
|
|
24
|
+
Disabled Button
|
|
25
|
+
</span>
|
|
26
|
+
</button>
|
|
27
|
+
</div>
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
exports[`CapButton Snapshots should match snapshot with flat type 1`] = `
|
|
31
|
+
<div>
|
|
32
|
+
<button
|
|
33
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined cap-button-v2 flat-btn"
|
|
34
|
+
type="button"
|
|
35
|
+
>
|
|
36
|
+
<span>
|
|
37
|
+
Flat Button
|
|
38
|
+
</span>
|
|
39
|
+
</button>
|
|
40
|
+
</div>
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
exports[`CapButton Snapshots should match snapshot with isAddBtn 1`] = `
|
|
44
|
+
<div>
|
|
45
|
+
<button
|
|
46
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid cap-button-v2 add-btn has-icon"
|
|
47
|
+
type="button"
|
|
48
|
+
>
|
|
49
|
+
<div
|
|
50
|
+
class="cap-button-v2-prefix"
|
|
51
|
+
>
|
|
52
|
+
<span
|
|
53
|
+
class="cap-icon-wrapper cap-icon s"
|
|
54
|
+
>
|
|
55
|
+
<span
|
|
56
|
+
aria-label="plus"
|
|
57
|
+
class="anticon anticon-plus"
|
|
58
|
+
role="img"
|
|
59
|
+
>
|
|
60
|
+
<svg
|
|
61
|
+
aria-hidden="true"
|
|
62
|
+
data-icon="plus"
|
|
63
|
+
fill="currentColor"
|
|
64
|
+
focusable="false"
|
|
65
|
+
height="1em"
|
|
66
|
+
viewBox="64 64 896 896"
|
|
67
|
+
width="1em"
|
|
68
|
+
>
|
|
69
|
+
<path
|
|
70
|
+
d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"
|
|
71
|
+
/>
|
|
72
|
+
<path
|
|
73
|
+
d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"
|
|
74
|
+
/>
|
|
75
|
+
</svg>
|
|
76
|
+
</span>
|
|
77
|
+
</span>
|
|
78
|
+
</div>
|
|
79
|
+
<span>
|
|
80
|
+
Add Item
|
|
81
|
+
</span>
|
|
82
|
+
</button>
|
|
83
|
+
</div>
|
|
84
|
+
`;
|
|
85
|
+
|
|
86
|
+
exports[`CapButton Snapshots should match snapshot with loading state 1`] = `
|
|
87
|
+
<div>
|
|
88
|
+
<button
|
|
89
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid ant-btn-loading cap-button-v2"
|
|
90
|
+
type="button"
|
|
91
|
+
>
|
|
92
|
+
<span
|
|
93
|
+
class="ant-btn-icon ant-btn-loading-icon"
|
|
94
|
+
>
|
|
95
|
+
<span
|
|
96
|
+
aria-label="loading"
|
|
97
|
+
class="anticon anticon-loading anticon-spin"
|
|
98
|
+
role="img"
|
|
99
|
+
>
|
|
100
|
+
<svg
|
|
101
|
+
aria-hidden="true"
|
|
102
|
+
data-icon="loading"
|
|
103
|
+
fill="currentColor"
|
|
104
|
+
focusable="false"
|
|
105
|
+
height="1em"
|
|
106
|
+
viewBox="0 0 1024 1024"
|
|
107
|
+
width="1em"
|
|
108
|
+
>
|
|
109
|
+
<path
|
|
110
|
+
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
111
|
+
/>
|
|
112
|
+
</svg>
|
|
113
|
+
</span>
|
|
114
|
+
</span>
|
|
115
|
+
<span>
|
|
116
|
+
Loading Button
|
|
117
|
+
</span>
|
|
118
|
+
</button>
|
|
119
|
+
</div>
|
|
120
|
+
`;
|
|
121
|
+
|
|
122
|
+
exports[`CapButton Snapshots should match snapshot with oval type 1`] = `
|
|
123
|
+
<div>
|
|
124
|
+
<button
|
|
125
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined cap-button-v2 oval-btn"
|
|
126
|
+
type="button"
|
|
127
|
+
>
|
|
128
|
+
<span>
|
|
129
|
+
Oval Button
|
|
130
|
+
</span>
|
|
131
|
+
</button>
|
|
132
|
+
</div>
|
|
133
|
+
`;
|
|
134
|
+
|
|
135
|
+
exports[`CapButton Snapshots should match snapshot with prefix 1`] = `
|
|
136
|
+
<div>
|
|
137
|
+
<button
|
|
138
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid cap-button-v2 has-icon"
|
|
139
|
+
type="button"
|
|
140
|
+
>
|
|
141
|
+
<div
|
|
142
|
+
class="cap-button-v2-prefix"
|
|
143
|
+
>
|
|
144
|
+
<span>
|
|
145
|
+
★
|
|
146
|
+
</span>
|
|
147
|
+
</div>
|
|
148
|
+
<span>
|
|
149
|
+
With Prefix
|
|
150
|
+
</span>
|
|
151
|
+
</button>
|
|
152
|
+
</div>
|
|
153
|
+
`;
|
|
154
|
+
|
|
155
|
+
exports[`CapButton Snapshots should match snapshot with primary type 1`] = `
|
|
156
|
+
<div>
|
|
157
|
+
<button
|
|
158
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid cap-button-v2"
|
|
159
|
+
type="button"
|
|
160
|
+
>
|
|
161
|
+
<span>
|
|
162
|
+
Primary Button
|
|
163
|
+
</span>
|
|
164
|
+
</button>
|
|
165
|
+
</div>
|
|
166
|
+
`;
|
|
167
|
+
|
|
168
|
+
exports[`CapButton Snapshots should match snapshot with secondary type 1`] = `
|
|
169
|
+
<div>
|
|
170
|
+
<button
|
|
171
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined cap-button-v2 secondary-btn"
|
|
172
|
+
type="button"
|
|
173
|
+
>
|
|
174
|
+
<span>
|
|
175
|
+
Secondary Button
|
|
176
|
+
</span>
|
|
177
|
+
</button>
|
|
178
|
+
</div>
|
|
179
|
+
`;
|
|
180
|
+
|
|
181
|
+
exports[`CapButton Snapshots should match snapshot with suffix 1`] = `
|
|
182
|
+
<div>
|
|
183
|
+
<button
|
|
184
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-primary ant-btn-color-primary ant-btn-variant-solid cap-button-v2 has-icon"
|
|
185
|
+
type="button"
|
|
186
|
+
>
|
|
187
|
+
<span>
|
|
188
|
+
With Suffix
|
|
189
|
+
</span>
|
|
190
|
+
<span
|
|
191
|
+
class="cap-button-v2-suffix"
|
|
192
|
+
>
|
|
193
|
+
<span>
|
|
194
|
+
→
|
|
195
|
+
</span>
|
|
196
|
+
</span>
|
|
197
|
+
</button>
|
|
198
|
+
</div>
|
|
199
|
+
`;
|
package/dist/CapButton/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const btnTypeClassMapping = {
|
|
|
73
73
|
flat: 'flat-btn',
|
|
74
74
|
oval: 'oval-btn'
|
|
75
75
|
};
|
|
76
|
-
const CapButton = _ref => {
|
|
76
|
+
const CapButton = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
77
77
|
let {
|
|
78
78
|
className,
|
|
79
79
|
children,
|
|
@@ -83,28 +83,28 @@ const CapButton = _ref => {
|
|
|
83
83
|
suffix
|
|
84
84
|
} = _ref,
|
|
85
85
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
86
|
-
return /*#__PURE__*/(0, _jsxRuntime.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
86
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antdV.Button, _extends({
|
|
87
|
+
ref: ref
|
|
88
|
+
}, rest, {
|
|
89
|
+
type: type === 'primary' || type === 'default' || type === 'dashed' || type === 'link' || type === 'text' ? type : undefined,
|
|
90
|
+
className: (0, _classnames.default)(_styles.default[classPrefix], btnTypeClassMapping[type] ? _styles.default[btnTypeClassMapping[type]] : undefined, className, {
|
|
91
|
+
[_styles.default['add-btn']]: isAddBtn
|
|
92
|
+
}, {
|
|
93
|
+
[_styles.default['has-icon']]: isAddBtn || suffix || prefix
|
|
94
|
+
}),
|
|
95
|
+
children: [(isAddBtn || prefix) && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
96
|
+
className: _styles.default[classPrefix + "-prefix"],
|
|
97
|
+
children: isAddBtn ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
98
|
+
size: "s",
|
|
99
|
+
type: "add"
|
|
100
|
+
}) : prefix
|
|
101
|
+
}), children, suffix && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
102
|
+
className: _styles.default[classPrefix + "-suffix"],
|
|
103
|
+
children: suffix
|
|
104
|
+
})]
|
|
105
|
+
}));
|
|
106
|
+
});
|
|
107
|
+
CapButton.displayName = 'CapButton';
|
|
108
108
|
var _default = exports["default"] = CapButton;
|
|
109
109
|
|
|
110
110
|
/***/ }),
|
|
@@ -117,10 +117,10 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
|
117
117
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
118
118
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
119
119
|
// Module
|
|
120
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-
|
|
120
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-v2{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-family:"Roboto",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;border:none;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-v2-prefix+span,span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-secondary-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-secondary-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-secondary-btn:disabled,.blaze-ui-secondary-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-flat-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-flat-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-flat-btn:disabled,.blaze-ui-flat-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-add-btn{color:#2466ea}.blaze-ui-add-btn:disabled,.blaze-ui-add-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-oval-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-oval-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-oval-btn:disabled,.blaze-ui-oval-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, ""]);
|
|
121
121
|
// Exports
|
|
122
122
|
___CSS_LOADER_EXPORT___.locals = {
|
|
123
|
-
"cap-button-
|
|
123
|
+
"cap-button-v2": `blaze-ui-cap-button-v2`,
|
|
124
124
|
"cap-button-v2-prefix": `blaze-ui-cap-button-v2-prefix`,
|
|
125
125
|
"cap-button-v2-suffix": `blaze-ui-cap-button-v2-suffix`,
|
|
126
126
|
"has-icon": `blaze-ui-has-icon`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapButton/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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6BAA6B,8DAA8D,oCAAoC,gCAAgC,yBAAyB,0IAA0I,yBAAyB,qBAAqB,cAAc,mBAAmB;AAC3iH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA,oC;;;;;;;;ACAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,oDAAoD;AACpD;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFA,iD;;;;;;;;ACAa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AAC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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,IAAAC,UAAA,GAAAvG,sBAAA,CAAAF,mBAAA;AAAsC+C,kBAAA,GAAA0D,UAAA,CAAA/F,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/./components/CapButton/CapButton.tsx","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/CapIcon.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss?4b2a","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss?b320","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapButton/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import { Button } from 'antd-v5';\nimport type { ButtonProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapIcon from '../CapIcon/CapIcon';\n\nimport styles from './styles.scss';\n\nconst classPrefix = 'cap-button-v2';\n\nconst btnTypeClassMapping: Record<string, string> = {\n secondary: 'secondary-btn',\n flat: 'flat-btn',\n oval: 'oval-btn',\n};\n\nexport interface CapButtonProps extends Omit<ButtonProps, 'type' | 'prefix' | 'suffix'> {\n type?: 'primary' | 'secondary' | 'flat' | 'default' | 'dashed' | 'link' | 'text' | 'oval';\n isAddBtn?: boolean;\n prefix?: React.ReactNode;\n suffix?: React.ReactNode;\n}\n\nconst CapButton: React.FC<CapButtonProps> = ({\n className,\n children,\n type = 'primary',\n isAddBtn = false,\n prefix,\n suffix,\n ...rest\n}) => {\n return (\n <div className={styles['cap-button-wrapper']}>\n <Button\n {...rest}\n type={\n type === 'primary' ||\n type === 'default' ||\n type === 'dashed' ||\n type === 'link' ||\n type === 'text'\n ? (type as ButtonProps['type'])\n : undefined\n }\n className={classnames(\n styles[classPrefix],\n btnTypeClassMapping[type] ? styles[btnTypeClassMapping[type]] : undefined,\n className,\n { [styles['add-btn']]: isAddBtn },\n { [styles['has-icon']]: isAddBtn || suffix || prefix }\n )}\n >\n {(isAddBtn || prefix) && (\n <div className={styles[`${classPrefix}-prefix`]}>\n {isAddBtn ? <CapIcon size=\"s\" type=\"add\" /> : prefix}\n </div>\n )}\n {children}\n {suffix && <span className={styles[`${classPrefix}-suffix`]}>{suffix}</span>}\n </Button>\n </div>\n );\n};\n\nexport default CapButton;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-wrapper{display:inline-block}.blaze-ui-cap-button-wrapper .blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-wrapper .blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-wrapper .blaze-ui-cap-button-v2-prefix+span,.blaze-ui-cap-button-wrapper span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-cap-button-wrapper .blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-cap-button-wrapper .ant-btn{font-family:\"Roboto\",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;border:none;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-wrapper .ant-btn:hover{color:#091e42}.blaze-ui-cap-button-wrapper .ant-btn-primary{background-color:#47af46;border-color:#47af46;color:#fff}.blaze-ui-cap-button-wrapper .ant-btn-primary:hover{background-color:#1f9a1d !important;border-color:#1f9a1d !important}.blaze-ui-cap-button-wrapper .ant-btn-primary:disabled,.blaze-ui-cap-button-wrapper .ant-btn-primary.ant-btn-disabled{background-color:#a1d8a0;border-color:#a1d8a0;color:#fff;cursor:not-allowed;opacity:.6}.blaze-ui-cap-button-wrapper .ant-btn-primary:disabled:hover,.blaze-ui-cap-button-wrapper .ant-btn-primary.ant-btn-disabled:hover{color:#fff}.blaze-ui-cap-button-wrapper .ant-btn-dashed{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;border:1px dashed #b3bac5}.blaze-ui-cap-button-wrapper .ant-btn-dashed:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-cap-button-wrapper .ant-btn-dashed:disabled,.blaze-ui-cap-button-wrapper .ant-btn-dashed.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-secondary-btn.ant-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-flat-btn.ant-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-cap-button-wrapper .blaze-ui-add-btn.ant-btn{color:#2466ea}.blaze-ui-cap-button-wrapper .blaze-ui-add-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-add-btn.ant-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn:disabled,.blaze-ui-cap-button-wrapper .blaze-ui-oval-btn.ant-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-button-wrapper\": `blaze-ui-cap-button-wrapper`,\n\t\"cap-button-v2-prefix\": `blaze-ui-cap-button-v2-prefix`,\n\t\"cap-button-v2-suffix\": `blaze-ui-cap-button-v2-suffix`,\n\t\"has-icon\": `blaze-ui-has-icon`,\n\t\"secondary-btn\": `blaze-ui-secondary-btn`,\n\t\"flat-btn\": `blaze-ui-flat-btn`,\n\t\"add-btn\": `blaze-ui-add-btn`,\n\t\"oval-btn\": `blaze-ui-oval-btn`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","module.exports = require(\"@ant-design-v5/icons\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import * as AntdIcons from '@ant-design-v5/icons';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\n// Special mappings for common icon names\nconst iconMapping: Record<string, string> = {\n add: 'plus',\n};\n\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<Record<string, unknown>>> = {\n // Add your SVG icons here if needed\n };\n\n const IconComponent = type ? icons[type] : null;\n return IconComponent ? <IconComponent {...svgProps} /> : null;\n};\n\nconst getAntIcon = (type?: string): React.ComponentType<Record<string, unknown>> | null => {\n if (!type) return null;\n // Use mapped name if available, otherwise use original type\n const mappedType = iconMapping[type.toLowerCase()] || type;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = mappedType\n .split('-')\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\n .join('');\n\n // Try different naming conventions\n const iconName = `${pascalCase}Outlined`;\n const iconNameFilled = `${pascalCase}Filled`;\n const iconNameTwoTone = `${pascalCase}TwoTone`;\n\n const iconsRecord = AntdIcons as unknown as Record<\n string,\n React.ComponentType<Record<string, unknown>>\n >;\n return (\n iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null\n );\n};\n\nexport interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {\n type?: string;\n size?: 'xs' | 's' | 'm' | 'l';\n style?: React.CSSProperties;\n className?: string;\n disabled?: boolean;\n spin?: boolean;\n rotate?: number;\n withBackground?: boolean;\n backgroundProps?: React.HTMLAttributes<HTMLSpanElement>;\n onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;\n textLabel?: React.ReactNode;\n component?: React.ReactNode;\n svgProps?: SvgIconProps;\n allowSvg?: boolean;\n color?: string;\n}\n\nconst CapIcon: React.FC<CapIconProps> = ({\n type,\n size = 'm',\n style = {},\n className = '',\n disabled = false,\n spin = false,\n rotate,\n withBackground = false,\n backgroundProps = {},\n onClick,\n textLabel,\n component,\n svgProps = {},\n allowSvg = true,\n color,\n ...rest\n}) => {\n const handleClick = (e: React.MouseEvent<HTMLSpanElement>) => {\n if (!disabled && onClick) {\n onClick(e);\n }\n };\n\n // Render custom component if provided\n if (component) {\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles['with-text-label']]: textLabel, [styles.disabled]: disabled },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {component}\n {textLabel}\n </span>\n );\n }\n\n // Try to get SVG icon if allowSvg is true\n const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;\n\n // If SVG icon exists and allowSvg is true, use it\n if (svgIcon) {\n const iconStyle = {\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n ...(color ? { color } : {}),\n };\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n {\n [styles.spin]: spin,\n [styles.disabled]: disabled,\n [styles['with-text-label']]: textLabel,\n },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n {svgIcon}\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Try to get Ant Design icon\n const AntIcon = type ? getAntIcon(type) : null;\n\n if (AntIcon) {\n const iconStyle = color ? { color, ...style } : style;\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} style={color ? { color } : undefined} />\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Fallback: render an empty icon container\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {textLabel}\n </span>\n );\n};\n\n// Create AntIcon subcomponent for backward compatibility\ninterface AntIconProps {\n className?: string;\n [key: string]: unknown;\n}\n\nconst AntIcon: React.FC<AntIconProps> = ({ className, ...rest }) => (\n <i\n className={classnames(styles['cap-icon-ant-icon'], className)}\n style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}\n {...rest}\n />\n);\n\n// Extend the component type to include the static property\ninterface CapIconType extends React.FC<CapIconProps> {\n AntIcon: React.FC<AntIconProps>;\n}\n\nconst CapIconWithStatic = CapIcon as CapIconType;\nCapIconWithStatic.AntIcon = AntIcon;\n\nexport default CapIconWithStatic;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-icon-wrapper\": `blaze-ui-cap-icon-wrapper`,\n\t\"disabled\": `blaze-ui-disabled`,\n\t\"xs\": `blaze-ui-xs`,\n\t\"s\": `blaze-ui-s`,\n\t\"m\": `blaze-ui-m`,\n\t\"l\": `blaze-ui-l`,\n\t\"with-text-label\": `blaze-ui-with-text-label`,\n\t\"cap-icon-background-wrapper\": `blaze-ui-cap-icon-background-wrapper`,\n\t\"cap-icon\": `blaze-ui-cap-icon`,\n\t\"anticon\": `blaze-ui-anticon`,\n\t\"spin\": `blaze-ui-spin`,\n\t\"rotate\": `blaze-ui-rotate`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapButton';\nexport type { CapButtonProps } from './CapButton';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_CapIcon","_styles","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","classPrefix","btnTypeClassMapping","secondary","flat","oval","CapButton","_ref","className","children","type","isAddBtn","prefix","suffix","rest","jsx","styles","jsxs","Button","undefined","classnames","size","_default","exports","AntdIcons","_interopRequireWildcard","_excluded2","WeakMap","o","i","f","__proto__","has","get","set","defineProperty","getOwnPropertyDescriptor","iconMapping","add","getSvgIcon","svgProps","icons","IconComponent","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","style","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","handleClick","svgIcon","iconStyle","transform","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_CapButton"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapButton/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACa,MAAM,mBAAO,CAAC,IAAO,6KAA6K;AAC/M,kBAAkB,UAAU,eAAe,qBAAqB,6BAA6B,0BAA0B,0DAA0D,4EAA4E,OAAO,wDAAwD,gBAAgB,GAAG,WAAW,GAAG,YAAY;;;;;;;;;ACV5V;;AAEb;AACA;AACA,E;;;;;;;;;;;;ACJA,IAAAA,MAAA,GAAAC,mBAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,mBAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,mBAAA;AAEA,IAAAI,QAAA,GAAAF,sBAAA,CAAAF,mBAAA;AAEA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,mBAAA;AAAmC,IAAAM,WAAA,GAAAN,mBAAA;AAAA,MAAAO,SAAA;AAAA,SAAAL,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAA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EAAAF,CAAA,K","sources":["webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@capillarytech/blaze-ui/./components/CapButton/CapButton.tsx","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/CapIcon.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss?4b2a","webpack://@capillarytech/blaze-ui/./components/CapIcon/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapButton/styles.scss?b320","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapButton/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","import { Button } from 'antd-v5';\nimport type { ButtonProps } from 'antd-v5';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport CapIcon from '../CapIcon/CapIcon';\n\nimport styles from './styles.scss';\n\nconst classPrefix = 'cap-button-v2';\n\nconst btnTypeClassMapping: Record<string, string> = {\n secondary: 'secondary-btn',\n flat: 'flat-btn',\n oval: 'oval-btn',\n};\n\nexport interface CapButtonProps extends Omit<ButtonProps, 'type' | 'prefix' | 'suffix'> {\n type?: 'primary' | 'secondary' | 'flat' | 'default' | 'dashed' | 'link' | 'text' | 'oval';\n isAddBtn?: boolean;\n prefix?: React.ReactNode;\n suffix?: React.ReactNode;\n}\n\nconst CapButton = React.forwardRef<HTMLButtonElement, CapButtonProps>(\n ({ className, children, type = 'primary', isAddBtn = false, prefix, suffix, ...rest }, ref) => {\n return (\n <Button\n ref={ref}\n {...rest}\n type={\n type === 'primary' ||\n type === 'default' ||\n type === 'dashed' ||\n type === 'link' ||\n type === 'text'\n ? (type as ButtonProps['type'])\n : undefined\n }\n className={classnames(\n styles[classPrefix],\n btnTypeClassMapping[type] ? styles[btnTypeClassMapping[type]] : undefined,\n className,\n { [styles['add-btn']]: isAddBtn },\n { [styles['has-icon']]: isAddBtn || suffix || prefix }\n )}\n >\n {(isAddBtn || prefix) && (\n <div className={styles[`${classPrefix}-prefix`]}>\n {isAddBtn ? <CapIcon size=\"s\" type=\"add\" /> : prefix}\n </div>\n )}\n {children}\n {suffix && <span className={styles[`${classPrefix}-suffix`]}>{suffix}</span>}\n </Button>\n );\n }\n);\n\nCapButton.displayName = 'CapButton';\n\nexport default CapButton;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-v2{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-family:\"Roboto\",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;border:none;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-v2-prefix+span,span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-secondary-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-secondary-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-secondary-btn:disabled,.blaze-ui-secondary-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-flat-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-flat-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-flat-btn:disabled,.blaze-ui-flat-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-add-btn{color:#2466ea}.blaze-ui-add-btn:disabled,.blaze-ui-add-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-oval-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-oval-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-oval-btn:disabled,.blaze-ui-oval-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-button-v2\": `blaze-ui-cap-button-v2`,\n\t\"cap-button-v2-prefix\": `blaze-ui-cap-button-v2-prefix`,\n\t\"cap-button-v2-suffix\": `blaze-ui-cap-button-v2-suffix`,\n\t\"has-icon\": `blaze-ui-has-icon`,\n\t\"secondary-btn\": `blaze-ui-secondary-btn`,\n\t\"flat-btn\": `blaze-ui-flat-btn`,\n\t\"add-btn\": `blaze-ui-add-btn`,\n\t\"oval-btn\": `blaze-ui-oval-btn`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","module.exports = require(\"@ant-design-v5/icons\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import * as AntdIcons from '@ant-design-v5/icons';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\ninterface SvgIconProps {\n [key: string]: unknown;\n}\n\n// Special mappings for common icon names\nconst iconMapping: Record<string, string> = {\n add: 'plus',\n};\n\nconst getSvgIcon = (type?: string, svgProps: SvgIconProps = {}): React.ReactElement | null => {\n const icons: Record<string, React.ComponentType<Record<string, unknown>>> = {\n // Add your SVG icons here if needed\n };\n\n const IconComponent = type ? icons[type] : null;\n return IconComponent ? <IconComponent {...svgProps} /> : null;\n};\n\nconst getAntIcon = (type?: string): React.ComponentType<Record<string, unknown>> | null => {\n if (!type) return null;\n // Use mapped name if available, otherwise use original type\n const mappedType = iconMapping[type.toLowerCase()] || type;\n\n // Convert kebab-case to PascalCase for Ant Design icon naming\n const pascalCase = mappedType\n .split('-')\n .map((part) => part.charAt(0).toUpperCase() + part.slice(1))\n .join('');\n\n // Try different naming conventions\n const iconName = `${pascalCase}Outlined`;\n const iconNameFilled = `${pascalCase}Filled`;\n const iconNameTwoTone = `${pascalCase}TwoTone`;\n\n const iconsRecord = AntdIcons as unknown as Record<\n string,\n React.ComponentType<Record<string, unknown>>\n >;\n return (\n iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null\n );\n};\n\nexport interface CapIconProps extends React.HTMLAttributes<HTMLSpanElement> {\n type?: string;\n size?: 'xs' | 's' | 'm' | 'l';\n style?: React.CSSProperties;\n className?: string;\n disabled?: boolean;\n spin?: boolean;\n rotate?: number;\n withBackground?: boolean;\n backgroundProps?: React.HTMLAttributes<HTMLSpanElement>;\n onClick?: (e: React.MouseEvent<HTMLSpanElement>) => void;\n textLabel?: React.ReactNode;\n component?: React.ReactNode;\n svgProps?: SvgIconProps;\n allowSvg?: boolean;\n color?: string;\n}\n\nconst CapIcon: React.FC<CapIconProps> = ({\n type,\n size = 'm',\n style = {},\n className = '',\n disabled = false,\n spin = false,\n rotate,\n withBackground = false,\n backgroundProps = {},\n onClick,\n textLabel,\n component,\n svgProps = {},\n allowSvg = true,\n color,\n ...rest\n}) => {\n const handleClick = (e: React.MouseEvent<HTMLSpanElement>) => {\n if (!disabled && onClick) {\n onClick(e);\n }\n };\n\n // Render custom component if provided\n if (component) {\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles['with-text-label']]: textLabel, [styles.disabled]: disabled },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {component}\n {textLabel}\n </span>\n );\n }\n\n // Try to get SVG icon if allowSvg is true\n const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;\n\n // If SVG icon exists and allowSvg is true, use it\n if (svgIcon) {\n const iconStyle = {\n ...style,\n transform: rotate ? `rotate(${rotate}deg)` : undefined,\n ...(color ? { color } : {}),\n };\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n {\n [styles.spin]: spin,\n [styles.disabled]: disabled,\n [styles['with-text-label']]: textLabel,\n },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n {svgIcon}\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Try to get Ant Design icon\n const AntIcon = type ? getAntIcon(type) : null;\n\n if (AntIcon) {\n const iconStyle = color ? { color, ...style } : style;\n const iconComponent = (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={iconStyle}\n onClick={handleClick}\n {...rest}\n >\n <AntIcon spin={spin} rotate={rotate} style={color ? { color } : undefined} />\n {textLabel}\n </span>\n );\n\n return withBackground ? (\n <span\n className={classnames(styles['cap-icon-background-wrapper'], styles[size])}\n {...backgroundProps}\n >\n {iconComponent}\n </span>\n ) : (\n iconComponent\n );\n }\n\n // Fallback: render an empty icon container\n return (\n <span\n className={classnames(\n styles['cap-icon-wrapper'],\n styles['cap-icon'],\n styles[size],\n { [styles.disabled]: disabled, [styles['with-text-label']]: textLabel },\n className\n )}\n style={style}\n onClick={handleClick}\n {...rest}\n >\n {textLabel}\n </span>\n );\n};\n\n// Create AntIcon subcomponent for backward compatibility\ninterface AntIconProps {\n className?: string;\n [key: string]: unknown;\n}\n\nconst AntIcon: React.FC<AntIconProps> = ({ className, ...rest }) => (\n <i\n className={classnames(styles['cap-icon-ant-icon'], className)}\n style={{ display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }}\n {...rest}\n />\n);\n\n// Extend the component type to include the static property\ninterface CapIconType extends React.FC<CapIconProps> {\n AntIcon: React.FC<AntIconProps>;\n}\n\nconst CapIconWithStatic = CapIcon as CapIconType;\nCapIconWithStatic.AntIcon = AntIcon;\n\nexport default CapIconWithStatic;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-icon-wrapper\": `blaze-ui-cap-icon-wrapper`,\n\t\"disabled\": `blaze-ui-disabled`,\n\t\"xs\": `blaze-ui-xs`,\n\t\"s\": `blaze-ui-s`,\n\t\"m\": `blaze-ui-m`,\n\t\"l\": `blaze-ui-l`,\n\t\"with-text-label\": `blaze-ui-with-text-label`,\n\t\"cap-icon-background-wrapper\": `blaze-ui-cap-icon-background-wrapper`,\n\t\"cap-icon\": `blaze-ui-cap-icon`,\n\t\"anticon\": `blaze-ui-anticon`,\n\t\"spin\": `blaze-ui-spin`,\n\t\"rotate\": `blaze-ui-rotate`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./styles.scss\";\n export default content && content.locals ? content.locals : undefined;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapButton';\nexport type { CapButtonProps } from './CapButton';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_CapIcon","_styles","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","classPrefix","btnTypeClassMapping","secondary","flat","oval","CapButton","React","forwardRef","_ref","ref","className","children","type","isAddBtn","prefix","suffix","rest","jsxs","Button","undefined","classnames","styles","jsx","size","displayName","_default","exports","AntdIcons","_interopRequireWildcard","_excluded2","WeakMap","o","i","f","__proto__","has","get","set","defineProperty","getOwnPropertyDescriptor","iconMapping","add","getSvgIcon","svgProps","icons","IconComponent","getAntIcon","mappedType","toLowerCase","pascalCase","split","map","part","charAt","toUpperCase","slice","join","iconName","iconNameFilled","iconNameTwoTone","iconsRecord","CapIcon","style","disabled","spin","rotate","withBackground","backgroundProps","onClick","textLabel","component","allowSvg","color","handleClick","svgIcon","iconStyle","transform","iconComponent","AntIcon","_ref2","display","alignItems","justifyContent","CapIconWithStatic","_CapButton"],"sourceRoot":""}
|