@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,284 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`CapInputSearch Snapshots should match snapshot when disabled 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-large css-dev-only-do-not-override-dbp7pc"
|
|
7
|
+
>
|
|
8
|
+
<input
|
|
9
|
+
class="ant-input ant-input-disabled ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
10
|
+
disabled=""
|
|
11
|
+
placeholder="Search"
|
|
12
|
+
type="search"
|
|
13
|
+
value=""
|
|
14
|
+
/>
|
|
15
|
+
<button
|
|
16
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-btn-lg ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
17
|
+
disabled=""
|
|
18
|
+
type="button"
|
|
19
|
+
>
|
|
20
|
+
<span
|
|
21
|
+
class="ant-btn-icon"
|
|
22
|
+
>
|
|
23
|
+
<span
|
|
24
|
+
aria-label="search"
|
|
25
|
+
class="anticon anticon-search"
|
|
26
|
+
role="img"
|
|
27
|
+
>
|
|
28
|
+
<svg
|
|
29
|
+
aria-hidden="true"
|
|
30
|
+
data-icon="search"
|
|
31
|
+
fill="currentColor"
|
|
32
|
+
focusable="false"
|
|
33
|
+
height="1em"
|
|
34
|
+
viewBox="64 64 896 896"
|
|
35
|
+
width="1em"
|
|
36
|
+
>
|
|
37
|
+
<path
|
|
38
|
+
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
|
41
|
+
</span>
|
|
42
|
+
</span>
|
|
43
|
+
</button>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
`;
|
|
47
|
+
|
|
48
|
+
exports[`CapInputSearch Snapshots should match snapshot with default props 1`] = `
|
|
49
|
+
<div>
|
|
50
|
+
<div
|
|
51
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-large css-dev-only-do-not-override-dbp7pc"
|
|
52
|
+
>
|
|
53
|
+
<input
|
|
54
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
55
|
+
placeholder="Search..."
|
|
56
|
+
type="search"
|
|
57
|
+
value=""
|
|
58
|
+
/>
|
|
59
|
+
<button
|
|
60
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-btn-lg ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
61
|
+
type="button"
|
|
62
|
+
>
|
|
63
|
+
<span
|
|
64
|
+
class="ant-btn-icon"
|
|
65
|
+
>
|
|
66
|
+
<span
|
|
67
|
+
aria-label="search"
|
|
68
|
+
class="anticon anticon-search"
|
|
69
|
+
role="img"
|
|
70
|
+
>
|
|
71
|
+
<svg
|
|
72
|
+
aria-hidden="true"
|
|
73
|
+
data-icon="search"
|
|
74
|
+
fill="currentColor"
|
|
75
|
+
focusable="false"
|
|
76
|
+
height="1em"
|
|
77
|
+
viewBox="64 64 896 896"
|
|
78
|
+
width="1em"
|
|
79
|
+
>
|
|
80
|
+
<path
|
|
81
|
+
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
82
|
+
/>
|
|
83
|
+
</svg>
|
|
84
|
+
</span>
|
|
85
|
+
</span>
|
|
86
|
+
</button>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
`;
|
|
90
|
+
|
|
91
|
+
exports[`CapInputSearch Snapshots should match snapshot with enterButton 1`] = `
|
|
92
|
+
<div>
|
|
93
|
+
<div
|
|
94
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-large ant-input-search-with-button css-dev-only-do-not-override-dbp7pc"
|
|
95
|
+
>
|
|
96
|
+
<input
|
|
97
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
98
|
+
placeholder="Search"
|
|
99
|
+
type="search"
|
|
100
|
+
value=""
|
|
101
|
+
/>
|
|
102
|
+
<button
|
|
103
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-primary ant-btn-variant-solid ant-btn-lg ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
104
|
+
type="button"
|
|
105
|
+
>
|
|
106
|
+
<span>
|
|
107
|
+
Search
|
|
108
|
+
</span>
|
|
109
|
+
</button>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
`;
|
|
113
|
+
|
|
114
|
+
exports[`CapInputSearch Snapshots should match snapshot with loading 1`] = `
|
|
115
|
+
<div>
|
|
116
|
+
<div
|
|
117
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-large css-dev-only-do-not-override-dbp7pc"
|
|
118
|
+
>
|
|
119
|
+
<input
|
|
120
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
121
|
+
placeholder="Search"
|
|
122
|
+
type="search"
|
|
123
|
+
value=""
|
|
124
|
+
/>
|
|
125
|
+
<button
|
|
126
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-btn-lg ant-btn-icon-only ant-btn-loading ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
127
|
+
type="button"
|
|
128
|
+
>
|
|
129
|
+
<span
|
|
130
|
+
class="ant-btn-icon ant-btn-loading-icon"
|
|
131
|
+
>
|
|
132
|
+
<span
|
|
133
|
+
aria-label="loading"
|
|
134
|
+
class="anticon anticon-loading anticon-spin"
|
|
135
|
+
role="img"
|
|
136
|
+
>
|
|
137
|
+
<svg
|
|
138
|
+
aria-hidden="true"
|
|
139
|
+
data-icon="loading"
|
|
140
|
+
fill="currentColor"
|
|
141
|
+
focusable="false"
|
|
142
|
+
height="1em"
|
|
143
|
+
viewBox="0 0 1024 1024"
|
|
144
|
+
width="1em"
|
|
145
|
+
>
|
|
146
|
+
<path
|
|
147
|
+
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"
|
|
148
|
+
/>
|
|
149
|
+
</svg>
|
|
150
|
+
</span>
|
|
151
|
+
</span>
|
|
152
|
+
</button>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
`;
|
|
156
|
+
|
|
157
|
+
exports[`CapInputSearch Snapshots should match snapshot with middle size 1`] = `
|
|
158
|
+
<div>
|
|
159
|
+
<div
|
|
160
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-middle css-dev-only-do-not-override-dbp7pc"
|
|
161
|
+
>
|
|
162
|
+
<input
|
|
163
|
+
class="ant-input css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
164
|
+
placeholder="Search"
|
|
165
|
+
type="search"
|
|
166
|
+
value=""
|
|
167
|
+
/>
|
|
168
|
+
<button
|
|
169
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
170
|
+
type="button"
|
|
171
|
+
>
|
|
172
|
+
<span
|
|
173
|
+
class="ant-btn-icon"
|
|
174
|
+
>
|
|
175
|
+
<span
|
|
176
|
+
aria-label="search"
|
|
177
|
+
class="anticon anticon-search"
|
|
178
|
+
role="img"
|
|
179
|
+
>
|
|
180
|
+
<svg
|
|
181
|
+
aria-hidden="true"
|
|
182
|
+
data-icon="search"
|
|
183
|
+
fill="currentColor"
|
|
184
|
+
focusable="false"
|
|
185
|
+
height="1em"
|
|
186
|
+
viewBox="64 64 896 896"
|
|
187
|
+
width="1em"
|
|
188
|
+
>
|
|
189
|
+
<path
|
|
190
|
+
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
191
|
+
/>
|
|
192
|
+
</svg>
|
|
193
|
+
</span>
|
|
194
|
+
</span>
|
|
195
|
+
</button>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
`;
|
|
199
|
+
|
|
200
|
+
exports[`CapInputSearch Snapshots should match snapshot with small size 1`] = `
|
|
201
|
+
<div>
|
|
202
|
+
<div
|
|
203
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-small css-dev-only-do-not-override-dbp7pc"
|
|
204
|
+
>
|
|
205
|
+
<input
|
|
206
|
+
class="ant-input ant-input-sm css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
207
|
+
placeholder="Search"
|
|
208
|
+
type="search"
|
|
209
|
+
value=""
|
|
210
|
+
/>
|
|
211
|
+
<button
|
|
212
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-btn-sm ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
213
|
+
type="button"
|
|
214
|
+
>
|
|
215
|
+
<span
|
|
216
|
+
class="ant-btn-icon"
|
|
217
|
+
>
|
|
218
|
+
<span
|
|
219
|
+
aria-label="search"
|
|
220
|
+
class="anticon anticon-search"
|
|
221
|
+
role="img"
|
|
222
|
+
>
|
|
223
|
+
<svg
|
|
224
|
+
aria-hidden="true"
|
|
225
|
+
data-icon="search"
|
|
226
|
+
fill="currentColor"
|
|
227
|
+
focusable="false"
|
|
228
|
+
height="1em"
|
|
229
|
+
viewBox="64 64 896 896"
|
|
230
|
+
width="1em"
|
|
231
|
+
>
|
|
232
|
+
<path
|
|
233
|
+
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
234
|
+
/>
|
|
235
|
+
</svg>
|
|
236
|
+
</span>
|
|
237
|
+
</span>
|
|
238
|
+
</button>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
`;
|
|
242
|
+
|
|
243
|
+
exports[`CapInputSearch Snapshots should match snapshot with value 1`] = `
|
|
244
|
+
<div>
|
|
245
|
+
<div
|
|
246
|
+
class="ant-space-compact css-dev-only-do-not-override-dbp7pc ant-input-search css-var-root ant-input-search-large css-dev-only-do-not-override-dbp7pc"
|
|
247
|
+
>
|
|
248
|
+
<input
|
|
249
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-compact-item ant-input-compact-first-item"
|
|
250
|
+
placeholder="Search"
|
|
251
|
+
type="search"
|
|
252
|
+
value="test query"
|
|
253
|
+
/>
|
|
254
|
+
<button
|
|
255
|
+
class="ant-btn css-dev-only-do-not-override-dbp7pc css-var-root ant-btn-default ant-btn-color-default ant-btn-variant-outlined ant-btn-lg ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-input-search-btn"
|
|
256
|
+
type="button"
|
|
257
|
+
>
|
|
258
|
+
<span
|
|
259
|
+
class="ant-btn-icon"
|
|
260
|
+
>
|
|
261
|
+
<span
|
|
262
|
+
aria-label="search"
|
|
263
|
+
class="anticon anticon-search"
|
|
264
|
+
role="img"
|
|
265
|
+
>
|
|
266
|
+
<svg
|
|
267
|
+
aria-hidden="true"
|
|
268
|
+
data-icon="search"
|
|
269
|
+
fill="currentColor"
|
|
270
|
+
focusable="false"
|
|
271
|
+
height="1em"
|
|
272
|
+
viewBox="64 64 896 896"
|
|
273
|
+
width="1em"
|
|
274
|
+
>
|
|
275
|
+
<path
|
|
276
|
+
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
277
|
+
/>
|
|
278
|
+
</svg>
|
|
279
|
+
</span>
|
|
280
|
+
</span>
|
|
281
|
+
</button>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
`;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`CapInputTextArea Snapshots should match snapshot when disabled 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<textarea
|
|
6
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var ant-input-disabled"
|
|
7
|
+
disabled=""
|
|
8
|
+
placeholder="Disabled"
|
|
9
|
+
rows="4"
|
|
10
|
+
/>
|
|
11
|
+
</div>
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
exports[`CapInputTextArea Snapshots should match snapshot with autoSize 1`] = `
|
|
15
|
+
<div>
|
|
16
|
+
<textarea
|
|
17
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
|
|
18
|
+
placeholder="Auto size"
|
|
19
|
+
rows="4"
|
|
20
|
+
style="overflow-y: hidden; resize: none;"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
exports[`CapInputTextArea Snapshots should match snapshot with custom rows 1`] = `
|
|
26
|
+
<div>
|
|
27
|
+
<textarea
|
|
28
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
|
|
29
|
+
placeholder="Text"
|
|
30
|
+
rows="8"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
`;
|
|
34
|
+
|
|
35
|
+
exports[`CapInputTextArea Snapshots should match snapshot with default props 1`] = `
|
|
36
|
+
<div>
|
|
37
|
+
<textarea
|
|
38
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
|
|
39
|
+
placeholder="Enter description..."
|
|
40
|
+
rows="4"
|
|
41
|
+
/>
|
|
42
|
+
</div>
|
|
43
|
+
`;
|
|
44
|
+
|
|
45
|
+
exports[`CapInputTextArea Snapshots should match snapshot with maxLength 1`] = `
|
|
46
|
+
<div>
|
|
47
|
+
<span
|
|
48
|
+
class="ant-input-affix-wrapper ant-input-textarea-affix-wrapper ant-input-affix-wrapper-lg ant-input-textarea-show-count css-dev-only-do-not-override-dbp7pc ant-input-show-count ant-input-outlined css-var-root ant-input-css-var"
|
|
49
|
+
data-count="0 / 100"
|
|
50
|
+
>
|
|
51
|
+
<textarea
|
|
52
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc"
|
|
53
|
+
maxlength="100"
|
|
54
|
+
placeholder="Text"
|
|
55
|
+
rows="4"
|
|
56
|
+
/>
|
|
57
|
+
<span
|
|
58
|
+
class="ant-input-suffix"
|
|
59
|
+
>
|
|
60
|
+
<span
|
|
61
|
+
class="ant-input-data-count"
|
|
62
|
+
>
|
|
63
|
+
0 / 100
|
|
64
|
+
</span>
|
|
65
|
+
</span>
|
|
66
|
+
</span>
|
|
67
|
+
</div>
|
|
68
|
+
`;
|
|
69
|
+
|
|
70
|
+
exports[`CapInputTextArea Snapshots should match snapshot with middle size 1`] = `
|
|
71
|
+
<div>
|
|
72
|
+
<textarea
|
|
73
|
+
class="ant-input css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
|
|
74
|
+
placeholder="Text"
|
|
75
|
+
rows="4"
|
|
76
|
+
/>
|
|
77
|
+
</div>
|
|
78
|
+
`;
|
|
79
|
+
|
|
80
|
+
exports[`CapInputTextArea Snapshots should match snapshot with small size 1`] = `
|
|
81
|
+
<div>
|
|
82
|
+
<textarea
|
|
83
|
+
class="ant-input ant-input-sm css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
|
|
84
|
+
placeholder="Text"
|
|
85
|
+
rows="4"
|
|
86
|
+
/>
|
|
87
|
+
</div>
|
|
88
|
+
`;
|
|
89
|
+
|
|
90
|
+
exports[`CapInputTextArea Snapshots should match snapshot with value 1`] = `
|
|
91
|
+
<div>
|
|
92
|
+
<textarea
|
|
93
|
+
class="ant-input ant-input-lg css-dev-only-do-not-override-dbp7pc ant-input-outlined css-var-root ant-input-css-var"
|
|
94
|
+
placeholder="Text"
|
|
95
|
+
rows="4"
|
|
96
|
+
>
|
|
97
|
+
Sample text content
|
|
98
|
+
</textarea>
|
|
99
|
+
</div>
|
|
100
|
+
`;
|
package/dist/CapInput/index.js
CHANGED
|
@@ -393,12 +393,9 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
|
393
393
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
394
394
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
395
395
|
// Module
|
|
396
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.ant-input-affix-wrapper .ant-input{height:auto}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-input-textarea{font-family:"Roboto",sans-serif;border-radius:.286rem;transition:all .3s ease;font-size:1rem;height:2.286rem}.ant-input:
|
|
396
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.ant-input-affix-wrapper .ant-input{height:auto}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-input-textarea{font-family:"Roboto",sans-serif;border-radius:.286rem;transition:all .3s ease;font-size:1rem;height:2.286rem}.ant-input:focus,.ant-input.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper.ant-input-affix-wrapper-focused,.ant-input-number:focus,.ant-input-number.ant-input-affix-wrapper-focused,.ant-input-textarea:focus,.ant-input-textarea.ant-input-affix-wrapper-focused{box-shadow:none}.ant-input.ant-input-disabled,.ant-input.ant-input-affix-wrapper-disabled,.ant-input-affix-wrapper.ant-input-disabled,.ant-input-affix-wrapper.ant-input-affix-wrapper-disabled,.ant-input-number.ant-input-disabled,.ant-input-number.ant-input-affix-wrapper-disabled,.ant-input-textarea.ant-input-disabled,.ant-input-textarea.ant-input-affix-wrapper-disabled{cursor:not-allowed}.ant-input-textarea .ant-input{font-family:"Roboto",sans-serif}.ant-input-number{width:100%}.ant-input-number .ant-input-number-handler-wrap{opacity:1}.ant-input-search .ant-input-search-btn{height:2.286rem}`, ""]);
|
|
397
397
|
// Exports
|
|
398
|
-
___CSS_LOADER_EXPORT___.locals = {
|
|
399
|
-
"cap-input-icon-error": `blaze-ui-cap-input-icon-error`,
|
|
400
|
-
"cap-input-icon-success": `blaze-ui-cap-input-icon-success`
|
|
401
|
-
};
|
|
398
|
+
___CSS_LOADER_EXPORT___.locals = {};
|
|
402
399
|
module.exports = ___CSS_LOADER_EXPORT___;
|
|
403
400
|
|
|
404
401
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapInput/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACRA,MAAkG;AAClG,MAAiG;AACjG,MAA+F;AAC/F,MAAkH;AAClH,MAA2G;AAC3G;AACA,MAA2M;AAC3M;AACA;;AAEA;;AAEA;AACA,wBAAwB,kHAAa;AACrC,iBAAiB,uGAAa;AAC9B,iBAAiB,wGAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,8KAAO;;;;AAIqJ;AAC7K,OAAO,iEAAe,8KAAO,IAAI,qLAAc,GAAG,qLAAc,YAAY,EAAC;;;;;;;;;ACxB7E;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;AACA,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFA,iD;;;;;;;;ACAa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;ACnFA;AACA,+CAA+C,mBAAO,CAAC,IAA4D;AACnH,kCAAkC,mBAAO,CAAC,IAAmD;AAC7F;AACA;AACA,8EAA8E,YAAY,0EAA0E,gCAAgC,sBAAsB,wBAAwB,eAAe,gBAAgB,kGAAkG,qBAAqB,4SAA4S,qBAAqB,gBAAgB,skBAAskB,qBAAqB,8oBAA8oB,qBAAqB,olDAAolD,qBAAqB,gBAAgB,oWAAoW,yBAAyB,mBAAmB,+BAA+B,gCAAgC,kBAAkB,WAAW,iDAAiD,UAAU,2CAA2C,yBAAyB,qBAAqB,gBAAgB,iDAAiD,yBAAyB,qBAAqB,+BAA+B,cAAc,iCAAiC,cAAc;AAC35I;AACA;AACA;A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nD,oBAAO,IAAAD,WAAA,CAAA+C,GAAA,EAACmB,WAAW,EAAA7C,QAAA,KAAKmB,IAAI;IAAEP,GAAG,EAAEA,GAAI;IAACM,IAAI,EAAEA,IAAK;IAAC6B,IAAI,EAAEA;EAAK,EAAE,CAAC;AACpE,CAAC,CAAC;AAEFD,gBAAgB,CAACX,WAAW,GAAG,kBAAkB;AAAC,IAAAC,QAAA,GAAAC,kBAAA,GAEnCS,gBAAgB,C;;;;;;UClB/B;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACAA,IAAAE,SAAA,GAAAtE,sBAAA,CAAAL,mBAAA;AAAqCgE,kBAAA,GAAAW,SAAA,CAAAjE,OAAA;AAErC,IAAAkE,OAAA,GAAAvE,sBAAA,CAAAL,mBAAA;AAAqDgE,sBAAA,GAAAY,OAAA,CAAAlE,OAAA;AAErD,IAAAmE,OAAA,GAAAxE,sBAAA,CAAAL,mBAAA;AAAqDgE,sBAAA,GAAAa,OAAA,CAAAnE,OAAA;AAErD,IAAAoE,SAAA,GAAAzE,sBAAA,CAAAL,mBAAA;AAAyDgE,wBAAA,GAAAc,SAAA,CAAApE,OAAA;AAAA,SAAAL,uBAAAG,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/./components/CapInput/styles.scss?69ac","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/CapInput/CapInput.tsx","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapInput/styles.scss","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapInput/Number.tsx","webpack://@capillarytech/blaze-ui/./components/CapInput/Search.tsx","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/./components/CapInput/TextArea.tsx","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/CapInput/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 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 * @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 { WarningOutlined, CheckCircleOutlined } from '@ant-design-v5/icons';\nimport { Input } from 'antd-v5';\nimport type { InputProps, InputRef } from 'antd-v5';\nimport React, { useRef, useEffect } from 'react';\n\nimport styles from './styles.scss';\n\nexport interface CapInputProps extends InputProps {\n alwaysShowFocus?: boolean;\n errorMessage?: React.ReactNode;\n isVerified?: boolean;\n showSuffix?: boolean;\n}\n\nconst CapInput = React.forwardRef<InputRef, CapInputProps>((props, ref) => {\n const {\n alwaysShowFocus,\n errorMessage,\n isVerified,\n suffix,\n showSuffix = true,\n size = 'large',\n ...rest\n } = props;\n\n const inputRef = useRef<InputRef>(null);\n\n useEffect(() => {\n if (alwaysShowFocus && inputRef.current) {\n inputRef.current.focus();\n }\n }, [alwaysShowFocus]);\n\n const inputSuffix =\n (errorMessage && (\n <span className={styles['cap-input-icon-error']}>\n <WarningOutlined />\n </span>\n )) ||\n (isVerified && (\n <span className={styles['cap-input-icon-success']}>\n <CheckCircleOutlined />\n </span>\n )) ||\n suffix ||\n null;\n\n return (\n <Input\n {...rest}\n size={size}\n ref={ref || inputRef}\n suffix={showSuffix === false ? null : inputSuffix}\n status={errorMessage ? 'error' : undefined}\n />\n );\n});\n\nCapInput.displayName = 'CapInput';\n\nexport default CapInput;\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};","// 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, `.ant-input-affix-wrapper .ant-input{height:auto}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-input-textarea{font-family:\"Roboto\",sans-serif;border-radius:.286rem;transition:all .3s ease;font-size:1rem;height:2.286rem}.ant-input:hover,.ant-input-affix-wrapper:hover,.ant-input-number:hover,.ant-input-textarea:hover{border-color:#7a869a}.ant-input:focus,.ant-input.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper.ant-input-affix-wrapper-focused,.ant-input-number:focus,.ant-input-number.ant-input-affix-wrapper-focused,.ant-input-textarea:focus,.ant-input-textarea.ant-input-affix-wrapper-focused{border-color:#091e42;box-shadow:none}.ant-input.ant-input-status-error,.ant-input.ant-input-affix-wrapper-status-error,.ant-input.ant-input-number-status-error,.ant-input-affix-wrapper.ant-input-status-error,.ant-input-affix-wrapper.ant-input-affix-wrapper-status-error,.ant-input-affix-wrapper.ant-input-number-status-error,.ant-input-number.ant-input-status-error,.ant-input-number.ant-input-affix-wrapper-status-error,.ant-input-number.ant-input-number-status-error,.ant-input-textarea.ant-input-status-error,.ant-input-textarea.ant-input-affix-wrapper-status-error,.ant-input-textarea.ant-input-number-status-error{border-color:#ea213a}.ant-input.ant-input-status-error:hover,.ant-input.ant-input-affix-wrapper-status-error:hover,.ant-input.ant-input-number-status-error:hover,.ant-input-affix-wrapper.ant-input-status-error:hover,.ant-input-affix-wrapper.ant-input-affix-wrapper-status-error:hover,.ant-input-affix-wrapper.ant-input-number-status-error:hover,.ant-input-number.ant-input-status-error:hover,.ant-input-number.ant-input-affix-wrapper-status-error:hover,.ant-input-number.ant-input-number-status-error:hover,.ant-input-textarea.ant-input-status-error:hover,.ant-input-textarea.ant-input-affix-wrapper-status-error:hover,.ant-input-textarea.ant-input-number-status-error:hover{border-color:#ea213a}.ant-input.ant-input-status-error:focus,.ant-input.ant-input-status-error.ant-input-affix-wrapper-focused,.ant-input.ant-input-affix-wrapper-status-error:focus,.ant-input.ant-input-affix-wrapper-status-error.ant-input-affix-wrapper-focused,.ant-input.ant-input-number-status-error:focus,.ant-input.ant-input-number-status-error.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper.ant-input-status-error:focus,.ant-input-affix-wrapper.ant-input-status-error.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper.ant-input-affix-wrapper-status-error:focus,.ant-input-affix-wrapper.ant-input-affix-wrapper-status-error.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper.ant-input-number-status-error:focus,.ant-input-affix-wrapper.ant-input-number-status-error.ant-input-affix-wrapper-focused,.ant-input-number.ant-input-status-error:focus,.ant-input-number.ant-input-status-error.ant-input-affix-wrapper-focused,.ant-input-number.ant-input-affix-wrapper-status-error:focus,.ant-input-number.ant-input-affix-wrapper-status-error.ant-input-affix-wrapper-focused,.ant-input-number.ant-input-number-status-error:focus,.ant-input-number.ant-input-number-status-error.ant-input-affix-wrapper-focused,.ant-input-textarea.ant-input-status-error:focus,.ant-input-textarea.ant-input-status-error.ant-input-affix-wrapper-focused,.ant-input-textarea.ant-input-affix-wrapper-status-error:focus,.ant-input-textarea.ant-input-affix-wrapper-status-error.ant-input-affix-wrapper-focused,.ant-input-textarea.ant-input-number-status-error:focus,.ant-input-textarea.ant-input-number-status-error.ant-input-affix-wrapper-focused{border-color:#ea213a;box-shadow:none}.ant-input.ant-input-disabled,.ant-input.ant-input-affix-wrapper-disabled,.ant-input-affix-wrapper.ant-input-disabled,.ant-input-affix-wrapper.ant-input-affix-wrapper-disabled,.ant-input-number.ant-input-disabled,.ant-input-number.ant-input-affix-wrapper-disabled,.ant-input-textarea.ant-input-disabled,.ant-input-textarea.ant-input-affix-wrapper-disabled{background-color:#ebecf0;cursor:not-allowed}.ant-input-textarea .ant-input{font-family:\"Roboto\",sans-serif}.ant-input-number{width:100%}.ant-input-number .ant-input-number-handler-wrap{opacity:1}.ant-input-search .ant-input-search-button{background-color:#47af46;border-color:#47af46;height:2.286rem}.ant-input-search .ant-input-search-button:hover{background-color:#1f9a1d;border-color:#1f9a1d}.blaze-ui-cap-input-icon-error{color:#ea213a}.blaze-ui-cap-input-icon-success{color:#47af46}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-input-icon-error\": `blaze-ui-cap-input-icon-error`,\n\t\"cap-input-icon-success\": `blaze-ui-cap-input-icon-success`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","import { InputNumber } from 'antd-v5';\nimport type { InputNumberProps } from 'antd-v5';\nimport type { InputNumberRef } from 'rc-input-number';\nimport React from 'react';\n\nexport interface CapInputNumberProps extends Omit<InputNumberProps, 'size'> {\n size?: 'large' | 'middle' | 'small';\n}\n\nconst CapInputNumber = React.forwardRef<InputNumberRef, CapInputNumberProps>((props, ref) => {\n const { size = 'large', keyboard = true, ...rest } = props;\n\n return <InputNumber {...rest} ref={ref} size={size} keyboard={keyboard} />;\n});\n\nCapInputNumber.displayName = 'CapInputNumber';\n\nexport default CapInputNumber;\n","import { Input } from 'antd-v5';\nimport type { InputRef } from 'antd-v5';\nimport React from 'react';\n\nconst { Search: AntSearch } = Input;\n\nexport interface CapInputSearchProps extends React.ComponentProps<typeof AntSearch> {\n size?: 'large' | 'middle' | 'small';\n}\n\nconst CapInputSearch = React.forwardRef<InputRef, CapInputSearchProps>((props, ref) => {\n const { size = 'large', ...rest } = props;\n\n return <AntSearch {...rest} ref={ref} size={size} />;\n});\n\nCapInputSearch.displayName = 'CapInputSearch';\n\nexport default CapInputSearch;\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\");","import { Input } from 'antd-v5';\nimport type { InputRef } from 'antd-v5';\nimport React from 'react';\n\nconst { TextArea: AntTextArea } = Input;\n\nexport interface CapInputTextAreaProps extends React.ComponentProps<typeof AntTextArea> {\n size?: 'large' | 'middle' | 'small';\n}\n\nconst CapInputTextArea = React.forwardRef<InputRef, CapInputTextAreaProps>((props, ref) => {\n const { size = 'large', rows = 4, ...rest } = props;\n\n return <AntTextArea {...rest} ref={ref} size={size} rows={rows} />;\n});\n\nCapInputTextArea.displayName = 'CapInputTextArea';\n\nexport default CapInputTextArea;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapInput';\nexport type { CapInputProps } from './CapInput';\nexport { default as CapInputSearch } from './Search';\nexport type { CapInputSearchProps } from './Search';\nexport { default as CapInputNumber } from './Number';\nexport type { CapInputNumberProps } from './Number';\nexport { default as CapInputTextArea } from './TextArea';\nexport type { CapInputTextAreaProps } from './TextArea';\n"],"names":["_icons","require","_antdV","_react","_interopRequireWildcard","_styles","_interopRequireDefault","_jsxRuntime","_excluded","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","_objectWithoutPropertiesLoose","indexOf","CapInput","React","forwardRef","props","ref","alwaysShowFocus","errorMessage","isVerified","suffix","showSuffix","size","rest","inputRef","useRef","useEffect","current","focus","inputSuffix","jsx","className","styles","children","WarningOutlined","CheckCircleOutlined","Input","status","undefined","displayName","_default","exports","CapInputNumber","keyboard","InputNumber","Search","AntSearch","CapInputSearch","TextArea","AntTextArea","CapInputTextArea","rows","_CapInput","_Search","_Number","_TextArea"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"CapInput/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACRA,MAAkG;AAClG,MAAiG;AACjG,MAA+F;A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EAC5C,CAAC;AAEN,CAAC,CAAC;AAEF1B,QAAQ,CAAC2B,WAAW,GAAG,UAAU;AAAC,IAAAC,QAAA,GAAAC,kBAAA,GAEnB7B,QAAQ,C;;;;;;;;AC5DvB,oC;;;;;;;;ACAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,oDAAoD;AACpD;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFA,iD;;;;;;;;ACAa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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D,IAAAmE,OAAA,GAAAxE,sBAAA,CAAAL,mBAAA;AAAqDgE,sBAAA,GAAAa,OAAA,CAAAnE,OAAA;AAErD,IAAAoE,SAAA,GAAAzE,sBAAA,CAAAL,mBAAA;AAAyDgE,wBAAA,GAAAc,SAAA,CAAApE,OAAA;AAAA,SAAAL,uBAAAG,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/./components/CapInput/styles.scss?69ac","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/CapInput/CapInput.tsx","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"@ant-design-v5/icons\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapInput/styles.scss","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./components/CapInput/Number.tsx","webpack://@capillarytech/blaze-ui/./components/CapInput/Search.tsx","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/./components/CapInput/TextArea.tsx","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/CapInput/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 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 * @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 { WarningOutlined, CheckCircleOutlined } from '@ant-design-v5/icons';\nimport { Input } from 'antd-v5';\nimport type { InputProps, InputRef } from 'antd-v5';\nimport React, { useRef, useEffect } from 'react';\n\nimport styles from './styles.scss';\n\nexport interface CapInputProps extends InputProps {\n alwaysShowFocus?: boolean;\n errorMessage?: React.ReactNode;\n isVerified?: boolean;\n showSuffix?: boolean;\n}\n\nconst CapInput = React.forwardRef<InputRef, CapInputProps>((props, ref) => {\n const {\n alwaysShowFocus,\n errorMessage,\n isVerified,\n suffix,\n showSuffix = true,\n size = 'large',\n ...rest\n } = props;\n\n const inputRef = useRef<InputRef>(null);\n\n useEffect(() => {\n if (alwaysShowFocus && inputRef.current) {\n inputRef.current.focus();\n }\n }, [alwaysShowFocus]);\n\n const inputSuffix =\n (errorMessage && (\n <span className={styles['cap-input-icon-error']}>\n <WarningOutlined />\n </span>\n )) ||\n (isVerified && (\n <span className={styles['cap-input-icon-success']}>\n <CheckCircleOutlined />\n </span>\n )) ||\n suffix ||\n null;\n\n return (\n <Input\n {...rest}\n size={size}\n ref={ref || inputRef}\n suffix={showSuffix === false ? null : inputSuffix}\n status={errorMessage ? 'error' : undefined}\n />\n );\n});\n\nCapInput.displayName = 'CapInput';\n\nexport default CapInput;\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};","// 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, `.ant-input-affix-wrapper .ant-input{height:auto}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-input-textarea{font-family:\"Roboto\",sans-serif;border-radius:.286rem;transition:all .3s ease;font-size:1rem;height:2.286rem}.ant-input:focus,.ant-input.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper.ant-input-affix-wrapper-focused,.ant-input-number:focus,.ant-input-number.ant-input-affix-wrapper-focused,.ant-input-textarea:focus,.ant-input-textarea.ant-input-affix-wrapper-focused{box-shadow:none}.ant-input.ant-input-disabled,.ant-input.ant-input-affix-wrapper-disabled,.ant-input-affix-wrapper.ant-input-disabled,.ant-input-affix-wrapper.ant-input-affix-wrapper-disabled,.ant-input-number.ant-input-disabled,.ant-input-number.ant-input-affix-wrapper-disabled,.ant-input-textarea.ant-input-disabled,.ant-input-textarea.ant-input-affix-wrapper-disabled{cursor:not-allowed}.ant-input-textarea .ant-input{font-family:\"Roboto\",sans-serif}.ant-input-number{width:100%}.ant-input-number .ant-input-number-handler-wrap{opacity:1}.ant-input-search .ant-input-search-btn{height:2.286rem}`, \"\"]);\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};","import { InputNumber } from 'antd-v5';\nimport type { InputNumberProps } from 'antd-v5';\nimport type { InputNumberRef } from 'rc-input-number';\nimport React from 'react';\n\nexport interface CapInputNumberProps extends Omit<InputNumberProps, 'size'> {\n size?: 'large' | 'middle' | 'small';\n}\n\nconst CapInputNumber = React.forwardRef<InputNumberRef, CapInputNumberProps>((props, ref) => {\n const { size = 'large', keyboard = true, ...rest } = props;\n\n return <InputNumber {...rest} ref={ref} size={size} keyboard={keyboard} />;\n});\n\nCapInputNumber.displayName = 'CapInputNumber';\n\nexport default CapInputNumber;\n","import { Input } from 'antd-v5';\nimport type { InputRef } from 'antd-v5';\nimport React from 'react';\n\nconst { Search: AntSearch } = Input;\n\nexport interface CapInputSearchProps extends React.ComponentProps<typeof AntSearch> {\n size?: 'large' | 'middle' | 'small';\n}\n\nconst CapInputSearch = React.forwardRef<InputRef, CapInputSearchProps>((props, ref) => {\n const { size = 'large', ...rest } = props;\n\n return <AntSearch {...rest} ref={ref} size={size} />;\n});\n\nCapInputSearch.displayName = 'CapInputSearch';\n\nexport default CapInputSearch;\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\");","import { Input } from 'antd-v5';\nimport type { InputRef } from 'antd-v5';\nimport React from 'react';\n\nconst { TextArea: AntTextArea } = Input;\n\nexport interface CapInputTextAreaProps extends React.ComponentProps<typeof AntTextArea> {\n size?: 'large' | 'middle' | 'small';\n}\n\nconst CapInputTextArea = React.forwardRef<InputRef, CapInputTextAreaProps>((props, ref) => {\n const { size = 'large', rows = 4, ...rest } = props;\n\n return <AntTextArea {...rest} ref={ref} size={size} rows={rows} />;\n});\n\nCapInputTextArea.displayName = 'CapInputTextArea';\n\nexport default CapInputTextArea;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapInput';\nexport type { CapInputProps } from './CapInput';\nexport { default as CapInputSearch } from './Search';\nexport type { CapInputSearchProps } from './Search';\nexport { default as CapInputNumber } from './Number';\nexport type { CapInputNumberProps } from './Number';\nexport { default as CapInputTextArea } from './TextArea';\nexport type { CapInputTextAreaProps } from './TextArea';\n"],"names":["_icons","require","_antdV","_react","_interopRequireWildcard","_styles","_interopRequireDefault","_jsxRuntime","_excluded","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","_objectWithoutPropertiesLoose","indexOf","CapInput","React","forwardRef","props","ref","alwaysShowFocus","errorMessage","isVerified","suffix","showSuffix","size","rest","inputRef","useRef","useEffect","current","focus","inputSuffix","jsx","className","styles","children","WarningOutlined","CheckCircleOutlined","Input","status","undefined","displayName","_default","exports","CapInputNumber","keyboard","InputNumber","Search","AntSearch","CapInputSearch","TextArea","AntTextArea","CapInputTextArea","rows","_CapInput","_Search","_Number","_TextArea"],"sourceRoot":""}
|
|
@@ -15,8 +15,8 @@ export interface CapLabelInlineProps extends React.HTMLAttributes<HTMLSpanElemen
|
|
|
15
15
|
fontWeight?: string | number;
|
|
16
16
|
lineHeight?: string;
|
|
17
17
|
}
|
|
18
|
-
interface CapLabelType extends React.
|
|
19
|
-
CapLabelInline: React.
|
|
18
|
+
interface CapLabelType extends React.ForwardRefExoticComponent<CapLabelProps & React.RefAttributes<HTMLDivElement>> {
|
|
19
|
+
CapLabelInline: React.ForwardRefExoticComponent<CapLabelInlineProps & React.RefAttributes<HTMLSpanElement>>;
|
|
20
20
|
}
|
|
21
21
|
declare const CapLabelWithStatic: CapLabelType;
|
|
22
22
|
export default CapLabelWithStatic;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapLabel.d.ts","sourceRoot":"","sources":["../../components/CapLabel/CapLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;
|
|
1
|
+
{"version":3,"file":"CapLabel.d.ts","sourceRoot":"","sources":["../../components/CapLabel/CapLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAkCD,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAChF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAkCD,UAAU,YACR,SAAQ,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