@tachybase/components 0.23.8

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.
Files changed (174) hide show
  1. package/.turbo/turbo-build.log +9 -0
  2. package/LICENSE +201 -0
  3. package/lib/__builtins__/dayjs.d.ts +4 -0
  4. package/lib/__builtins__/dayjs.js +95 -0
  5. package/lib/__builtins__/hooks/index.d.ts +4 -0
  6. package/lib/__builtins__/hooks/index.js +27 -0
  7. package/lib/__builtins__/hooks/useClickAway.d.ts +5 -0
  8. package/lib/__builtins__/hooks/useClickAway.js +64 -0
  9. package/lib/__builtins__/hooks/useConfig.d.ts +1 -0
  10. package/lib/__builtins__/hooks/useConfig.js +31 -0
  11. package/lib/__builtins__/hooks/usePrefixCls.d.ts +3 -0
  12. package/lib/__builtins__/hooks/usePrefixCls.js +38 -0
  13. package/lib/__builtins__/hooks/useToken.d.ts +6 -0
  14. package/lib/__builtins__/hooks/useToken.js +28 -0
  15. package/lib/__builtins__/index.d.ts +7 -0
  16. package/lib/__builtins__/index.js +33 -0
  17. package/lib/__builtins__/loading.d.ts +1 -0
  18. package/lib/__builtins__/loading.js +40 -0
  19. package/lib/__builtins__/pickDataProps.d.ts +1 -0
  20. package/lib/__builtins__/pickDataProps.js +36 -0
  21. package/lib/__builtins__/portal.d.ts +10 -0
  22. package/lib/__builtins__/portal.js +89 -0
  23. package/lib/__builtins__/render.d.ts +9 -0
  24. package/lib/__builtins__/render.js +99 -0
  25. package/lib/__builtins__/sort.d.ts +73 -0
  26. package/lib/__builtins__/sort.js +126 -0
  27. package/lib/__builtins__/style.d.ts +23 -0
  28. package/lib/__builtins__/style.js +88 -0
  29. package/lib/array-base/index.d.ts +64 -0
  30. package/lib/array-base/index.js +345 -0
  31. package/lib/array-base/style.d.ts +2 -0
  32. package/lib/array-base/style.js +68 -0
  33. package/lib/array-cards/index.d.ts +5 -0
  34. package/lib/array-cards/index.js +166 -0
  35. package/lib/array-cards/style.d.ts +2 -0
  36. package/lib/array-cards/style.js +37 -0
  37. package/lib/array-collapse/index.d.ts +10 -0
  38. package/lib/array-collapse/index.js +199 -0
  39. package/lib/array-collapse/style.d.ts +2 -0
  40. package/lib/array-collapse/style.js +33 -0
  41. package/lib/array-items/index.d.ts +8 -0
  42. package/lib/array-items/index.js +122 -0
  43. package/lib/array-items/style.d.ts +2 -0
  44. package/lib/array-items/style.js +82 -0
  45. package/lib/array-table/index.d.ts +9 -0
  46. package/lib/array-table/index.js +376 -0
  47. package/lib/array-table/style.d.ts +2 -0
  48. package/lib/array-table/style.js +71 -0
  49. package/lib/array-tabs/index.d.ts +4 -0
  50. package/lib/array-tabs/index.js +102 -0
  51. package/lib/cascader/index.d.ts +12 -0
  52. package/lib/cascader/index.js +58 -0
  53. package/lib/checkbox/index.d.ts +5 -0
  54. package/lib/checkbox/index.js +51 -0
  55. package/lib/code-mirror/index.d.ts +3 -0
  56. package/lib/code-mirror/index.js +91 -0
  57. package/lib/date-picker/index.d.ts +2 -0
  58. package/lib/date-picker/index.js +70 -0
  59. package/lib/date-picker/style.d.ts +1 -0
  60. package/lib/date-picker/style.js +1 -0
  61. package/lib/editable/index.d.ts +8 -0
  62. package/lib/editable/index.js +181 -0
  63. package/lib/editable/style.d.ts +2 -0
  64. package/lib/editable/style.js +69 -0
  65. package/lib/form/index.d.ts +12 -0
  66. package/lib/form/index.js +71 -0
  67. package/lib/form-button-group/index.d.ts +27 -0
  68. package/lib/form-button-group/index.js +148 -0
  69. package/lib/form-button-group/style.d.ts +2 -0
  70. package/lib/form-button-group/style.js +41 -0
  71. package/lib/form-collapse/index.d.ts +28 -0
  72. package/lib/form-collapse/index.js +150 -0
  73. package/lib/form-dialog/index.d.ts +26 -0
  74. package/lib/form-dialog/index.js +194 -0
  75. package/lib/form-drawer/index.d.ts +25 -0
  76. package/lib/form-drawer/index.js +187 -0
  77. package/lib/form-grid/index.d.ts +34 -0
  78. package/lib/form-grid/index.js +108 -0
  79. package/lib/form-grid/style.d.ts +2 -0
  80. package/lib/form-grid/style.js +31 -0
  81. package/lib/form-item/hooks/index.d.ts +2 -0
  82. package/lib/form-item/hooks/index.js +23 -0
  83. package/lib/form-item/hooks/useFormItemLayout.d.ts +37 -0
  84. package/lib/form-item/hooks/useFormItemLayout.js +66 -0
  85. package/lib/form-item/hooks/useOverflow.d.ts +5 -0
  86. package/lib/form-item/hooks/useOverflow.js +55 -0
  87. package/lib/form-item/index.d.ts +11 -0
  88. package/lib/form-item/index.js +303 -0
  89. package/lib/form-item/style/animation.d.ts +2 -0
  90. package/lib/form-item/style/animation.js +57 -0
  91. package/lib/form-item/style/grid.d.ts +2 -0
  92. package/lib/form-item/style/grid.js +50 -0
  93. package/lib/form-item/style/index.d.ts +2 -0
  94. package/lib/form-item/style/index.js +387 -0
  95. package/lib/form-item/style/other.d.ts +2 -0
  96. package/lib/form-item/style/other.js +490 -0
  97. package/lib/form-item/types.d.ts +35 -0
  98. package/lib/form-item/types.js +15 -0
  99. package/lib/form-layout/index.d.ts +74 -0
  100. package/lib/form-layout/index.js +96 -0
  101. package/lib/form-layout/useResponsiveFormLayout.d.ts +17 -0
  102. package/lib/form-layout/useResponsiveFormLayout.js +89 -0
  103. package/lib/form-step/index.d.ts +27 -0
  104. package/lib/form-step/index.js +154 -0
  105. package/lib/form-tab/index.d.ts +19 -0
  106. package/lib/form-tab/index.js +150 -0
  107. package/lib/index.d.ts +38 -0
  108. package/lib/index.js +95 -0
  109. package/lib/input/index.d.ts +7 -0
  110. package/lib/input/index.js +57 -0
  111. package/lib/lightbox/constant.d.ts +21 -0
  112. package/lib/lightbox/constant.js +79 -0
  113. package/lib/lightbox/index.d.ts +2 -0
  114. package/lib/lightbox/index.js +37 -0
  115. package/lib/lightbox/interface.d.ts +43 -0
  116. package/lib/lightbox/interface.js +15 -0
  117. package/lib/lightbox/react-image-lightbox.d.ts +197 -0
  118. package/lib/lightbox/react-image-lightbox.js +1431 -0
  119. package/lib/lightbox/style.css +305 -0
  120. package/lib/lightbox/util.d.ts +7 -0
  121. package/lib/lightbox/util.js +71 -0
  122. package/lib/number-picker/index.d.ts +4 -0
  123. package/lib/number-picker/index.js +32 -0
  124. package/lib/password/PasswordStrength.d.ts +9 -0
  125. package/lib/password/PasswordStrength.js +188 -0
  126. package/lib/password/index.d.ts +7 -0
  127. package/lib/password/index.js +85 -0
  128. package/lib/preview-text/index.d.ts +12 -0
  129. package/lib/preview-text/index.js +263 -0
  130. package/lib/preview-text/style.d.ts +2 -0
  131. package/lib/preview-text/style.js +37 -0
  132. package/lib/radio/index.d.ts +8 -0
  133. package/lib/radio/index.js +51 -0
  134. package/lib/reset/index.d.ts +10 -0
  135. package/lib/reset/index.js +67 -0
  136. package/lib/select/index.d.ts +4 -0
  137. package/lib/select/index.js +59 -0
  138. package/lib/select-table/hooks/index.d.ts +5 -0
  139. package/lib/select-table/hooks/index.js +29 -0
  140. package/lib/select-table/hooks/useCheckSlackly.d.ts +16 -0
  141. package/lib/select-table/hooks/useCheckSlackly.js +57 -0
  142. package/lib/select-table/hooks/useFilterOptions.d.ts +3 -0
  143. package/lib/select-table/hooks/useFilterOptions.js +97 -0
  144. package/lib/select-table/hooks/useFlatOptions.d.ts +3 -0
  145. package/lib/select-table/hooks/useFlatOptions.js +46 -0
  146. package/lib/select-table/hooks/useSize.d.ts +9 -0
  147. package/lib/select-table/hooks/useSize.js +48 -0
  148. package/lib/select-table/hooks/useTitleAddon.d.ts +7 -0
  149. package/lib/select-table/hooks/useTitleAddon.js +90 -0
  150. package/lib/select-table/index.d.ts +27 -0
  151. package/lib/select-table/index.js +339 -0
  152. package/lib/select-table/style.d.ts +2 -0
  153. package/lib/select-table/style.js +33 -0
  154. package/lib/select-table/utils.d.ts +78 -0
  155. package/lib/select-table/utils.js +166 -0
  156. package/lib/space/index.d.ts +4 -0
  157. package/lib/space/index.js +49 -0
  158. package/lib/submit/index.d.ts +11 -0
  159. package/lib/submit/index.js +67 -0
  160. package/lib/switch/index.d.ts +2 -0
  161. package/lib/switch/index.js +44 -0
  162. package/lib/time-picker/index.d.ts +2 -0
  163. package/lib/time-picker/index.js +60 -0
  164. package/lib/time-picker/style.d.ts +1 -0
  165. package/lib/time-picker/style.js +1 -0
  166. package/lib/transfer/index.d.ts +2 -0
  167. package/lib/transfer/index.js +56 -0
  168. package/lib/tree-select/index.d.ts +2 -0
  169. package/lib/tree-select/index.js +58 -0
  170. package/lib/upload/index.d.ts +18 -0
  171. package/lib/upload/index.js +159 -0
  172. package/lib/upload/placeholder.d.ts +4 -0
  173. package/lib/upload/placeholder.js +88 -0
  174. package/package.json +31 -0
@@ -0,0 +1,387 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var style_exports = {};
20
+ __export(style_exports, {
21
+ default: () => style_default
22
+ });
23
+ module.exports = __toCommonJS(style_exports);
24
+ var import_builtins = require("../../__builtins__");
25
+ var import_animation = require("./animation");
26
+ var import_grid = require("./grid");
27
+ var import_other = require("./other");
28
+ const genSmallStyle = /* @__PURE__ */ __name((token) => {
29
+ const { componentCls, antCls, controlHeightSM, marginLG, fontSizeSM, lineHeightSM } = token;
30
+ return {
31
+ fontSize: fontSizeSM,
32
+ lineHeight: controlHeightSM,
33
+ [`${componentCls}-label`]: {
34
+ lineHeight: `${controlHeightSM}px`,
35
+ minHeight: controlHeightSM - 4,
36
+ "> label": {
37
+ height: controlHeightSM - 2
38
+ }
39
+ },
40
+ [`${componentCls}-control-content`]: {
41
+ " &-component": {
42
+ minHeight: controlHeightSM - 4,
43
+ lineHeight: lineHeightSM
44
+ }
45
+ },
46
+ [`${componentCls}-help,
47
+ ${componentCls}-extra`]: {
48
+ minHeight: controlHeightSM - 4,
49
+ lineHeight: `${controlHeightSM - 4}px`
50
+ },
51
+ [`${componentCls}-control-content`]: {
52
+ minHeight: controlHeightSM - 4
53
+ },
54
+ [`${antCls}-input-affix-wrapper,
55
+ ${antCls}-input-number,
56
+ ${antCls}-picker`]: {
57
+ padding: `0px 11px`,
58
+ input: {
59
+ height: controlHeightSM - 4,
60
+ fontSize: fontSizeSM
61
+ }
62
+ },
63
+ [`${antCls}-cascader-picker`]: {
64
+ height: controlHeightSM - 4,
65
+ input: {
66
+ padding: "0 7px",
67
+ height: controlHeightSM - 4,
68
+ fontSize: fontSizeSM
69
+ }
70
+ },
71
+ [`${antCls}-select-single:not(${antCls}-select-customize-input) ${antCls}-select-selector`]: {
72
+ padding: `0px 11px`,
73
+ height: controlHeightSM - 4,
74
+ fontSize: fontSizeSM,
75
+ lineHeight: `${controlHeightSM}px`,
76
+ [`${antCls}-select-selection-search`]: {
77
+ height: controlHeightSM,
78
+ lineHeight: `${controlHeightSM - 4}px`,
79
+ "&-input": {
80
+ height: controlHeightSM - 4,
81
+ lineHeight: `${controlHeightSM - 4}px`
82
+ }
83
+ },
84
+ [`${antCls}-select-selection-placeholder`]: {
85
+ height: controlHeightSM,
86
+ lineHeight: `${controlHeightSM - 4}px`
87
+ },
88
+ [`${antCls}-select-selection-item`]: {
89
+ height: controlHeightSM,
90
+ lineHeight: `${controlHeightSM - 4}px`
91
+ },
92
+ [`${antCls}-select-multiple:not(${antCls}-select-customize-input)
93
+ ${antCls}-select-selector`]: {
94
+ padding: "0px 2px",
95
+ height: controlHeightSM - 4,
96
+ fontSize: fontSizeSM,
97
+ lineHeight: `${controlHeightSM}px`,
98
+ "&::after": {
99
+ height: controlHeightSM - 8,
100
+ lineHeight: `${controlHeightSM - 8}px`
101
+ },
102
+ [`${antCls}-select-selection-search`]: {
103
+ height: controlHeightSM - 8,
104
+ lineHeight: `${controlHeightSM - 8}px`,
105
+ marginInlineStart: 0,
106
+ "&-input": {
107
+ height: controlHeightSM,
108
+ lineHeight: `${controlHeightSM - 4}px`
109
+ }
110
+ },
111
+ [`${antCls}-select-selection-placeholder`]: {
112
+ height: controlHeightSM - 4,
113
+ lineHeight: `${controlHeightSM}px`,
114
+ marginInlineStart: 4
115
+ },
116
+ [`${antCls}-select-selection-overflow-item`]: {
117
+ alignSelf: "flex-start",
118
+ [`${antCls}-select-selection-item`]: {
119
+ lineHeight: `${controlHeightSM - 10}px`,
120
+ height: controlHeightSM - 8
121
+ }
122
+ }
123
+ },
124
+ [`&${componentCls}-feedback-layout-terse`]: {
125
+ marginBottom: 8,
126
+ [`&${componentCls}-feedback-has-text:not(${componentCls}-inset)`]: {
127
+ marginBottom: 0
128
+ }
129
+ },
130
+ [`&${componentCls}-feedback-layout-loose`]: {
131
+ marginBottom: marginLG,
132
+ [`&${componentCls}-feedback-has-text:not(${componentCls}-inset)`]: {
133
+ marginBottom: 0
134
+ }
135
+ }
136
+ }
137
+ };
138
+ }, "genSmallStyle");
139
+ const genLargeStyle = /* @__PURE__ */ __name((token) => {
140
+ const { componentCls, antCls, fontSizeLG, controlHeightLG, controlHeightSM, marginLG, lineHeightLG } = token;
141
+ return {
142
+ fontSize: fontSizeLG,
143
+ lineHeight: `${controlHeightLG}px`,
144
+ [`${componentCls}-label`]: {
145
+ lineHeight: `${controlHeightLG}px`,
146
+ minHeight: controlHeightLG - 2,
147
+ "> label": {
148
+ height: controlHeightLG
149
+ }
150
+ },
151
+ [`${componentCls}-control-content`]: {
152
+ " &-component": {
153
+ minHeight: controlHeightLG - 2,
154
+ lineHeight: lineHeightLG
155
+ }
156
+ },
157
+ [`${componentCls}-help,
158
+ ${componentCls}-extra`]: {
159
+ minHeight: controlHeightSM,
160
+ lineHeight: `${controlHeightSM}px`
161
+ },
162
+ [`${componentCls}-control-content`]: {
163
+ minHeight: controlHeightLG - 2
164
+ },
165
+ [`${antCls}-input`]: {
166
+ fontSize: fontSizeLG
167
+ },
168
+ [`${antCls}-input-number`]: {
169
+ fontSize: fontSizeLG,
170
+ input: {
171
+ height: controlHeightLG - 2
172
+ }
173
+ },
174
+ [`${antCls}-input-affix-wrapper,
175
+ ${antCls}-picker`]: {
176
+ padding: `0px 11px`,
177
+ lineHeight: `${controlHeightLG - 2}px`,
178
+ input: {
179
+ height: controlHeightLG - 2,
180
+ fontSize: fontSizeLG
181
+ }
182
+ },
183
+ [`${antCls}-btn`]: {
184
+ height: controlHeightLG,
185
+ padding: "0 8px"
186
+ },
187
+ [`${antCls}-radio-button-wrapper`]: {
188
+ height: controlHeightLG,
189
+ lineHeight: `${controlHeightLG}px`
190
+ },
191
+ [`${antCls}-cascader-picker`]: {
192
+ height: controlHeightLG - 2,
193
+ input: {
194
+ padding: "0 11px",
195
+ height: controlHeightLG - 2,
196
+ fontSize: fontSizeLG
197
+ }
198
+ },
199
+ [`${antCls}-select-single:not(${antCls}-select-customize-input) ${antCls}-select-selector`]: {
200
+ padding: `0px 11px`,
201
+ height: controlHeightLG,
202
+ fontSize: fontSizeLG,
203
+ lineHeight: `${controlHeightLG}px`,
204
+ [`${antCls}-select-selection-search`]: {
205
+ height: controlHeightLG,
206
+ lineHeight: `${controlHeightLG - 2}px`,
207
+ "&-input": {
208
+ height: controlHeightLG,
209
+ lineHeight: `${controlHeightLG - 2}px`
210
+ }
211
+ },
212
+ [`${antCls}-select-selection-placeholder`]: {
213
+ height: controlHeightLG,
214
+ lineHeight: `${controlHeightLG}px`
215
+ },
216
+ [`${antCls}-select-selection-item`]: {
217
+ height: controlHeightLG,
218
+ lineHeight: `${controlHeightLG}px`
219
+ },
220
+ [`${antCls}-select-multiple:not(${antCls}-select-customize-input)
221
+ ${antCls}-select-selector`]: {
222
+ padding: "0px 2px",
223
+ height: controlHeightLG - 2,
224
+ fontSize: fontSizeLG,
225
+ lineHeight: `${controlHeightLG}px`,
226
+ "&::after": {
227
+ height: controlHeightLG - 8,
228
+ lineHeight: `${controlHeightLG - 8}px`
229
+ },
230
+ [`${antCls}-select-selection-search`]: {
231
+ height: controlHeightLG - 8,
232
+ lineHeight: `${controlHeightLG - 8}px`,
233
+ "&-input": {
234
+ height: controlHeightLG - 12,
235
+ lineHeight: `${controlHeightLG - 12}px`
236
+ }
237
+ },
238
+ [`${antCls}-select-selection-placeholder`]: {
239
+ height: controlHeightLG - 8,
240
+ lineHeight: `${controlHeightLG - 8}px`
241
+ },
242
+ [`${antCls}-select-selection-overflow-item`]: {
243
+ alignSelf: "flex-start",
244
+ [`${antCls}-select-selection-item`]: {
245
+ lineHeight: `${controlHeightLG - 10}px`,
246
+ height: controlHeightLG - 8
247
+ }
248
+ }
249
+ },
250
+ [`&${componentCls}-feedback-layout-terse`]: {
251
+ marginBottom: 8,
252
+ [`&${componentCls}-feedback-has-text:not(${componentCls}-inset)`]: {
253
+ marginBottom: 0
254
+ }
255
+ },
256
+ [`&${componentCls}-feedback-layout-loose`]: {
257
+ marginBottom: marginLG,
258
+ [`&${componentCls}-feedback-has-text:not(${componentCls}-inset)`]: {
259
+ marginBottom: 0
260
+ }
261
+ }
262
+ }
263
+ };
264
+ }, "genLargeStyle");
265
+ const genLabelStyle = /* @__PURE__ */ __name((token) => {
266
+ const { componentCls, controlHeight, controlHeightSM, marginLG, marginSM, lineHeight } = token;
267
+ return {
268
+ lineHeight: `${controlHeight}px`,
269
+ minHeight: controlHeight - 2,
270
+ position: "relative",
271
+ display: "flex",
272
+ color: token.colorTextHeading,
273
+ label: {
274
+ cursor: "text"
275
+ },
276
+ "&-content": {
277
+ overflow: "hidden",
278
+ textOverflow: "ellipsis",
279
+ whiteSpace: "nowrap",
280
+ label: {
281
+ whiteSpace: "nowrap"
282
+ }
283
+ },
284
+ "&-tooltip": {
285
+ cursor: "help",
286
+ "*": {
287
+ cursor: "help"
288
+ },
289
+ label: {
290
+ borderBottom: "1px dashed currentColor"
291
+ }
292
+ },
293
+ "&-feedback-layout": {
294
+ "&-terse": {
295
+ marginBottom: marginSM
296
+ },
297
+ "&-loose": {
298
+ marginBottom: marginLG
299
+ },
300
+ "&-none": {
301
+ marginBottom: 0
302
+ },
303
+ "&-terse, &-loosee, &-none": {
304
+ [`&.${componentCls}-feedback-has-text:not(${componentCls}-inset)`]: {
305
+ marginBottom: 0
306
+ }
307
+ }
308
+ },
309
+ "&-control": {
310
+ flex: 1,
311
+ maxWidth: "100%",
312
+ [`&.${componentCls}-control-content`]: {
313
+ display: "flex",
314
+ "&-component": {
315
+ width: "100%",
316
+ minHeight: controlHeight - 2,
317
+ lineHeight,
318
+ "&-has-feedback-icon": {
319
+ flex: 1,
320
+ position: "relative",
321
+ display: "flex",
322
+ alignItems: "center"
323
+ }
324
+ },
325
+ [`${componentCls}-addon`]: {
326
+ "&-before": {
327
+ marginInlineEnd: marginSM
328
+ },
329
+ "&-after": {
330
+ marginInlineEnd: marginSM
331
+ },
332
+ "&-before, &-after": {
333
+ display: "inline-flex",
334
+ alignItems: "center",
335
+ minHeight: controlHeight,
336
+ flexShrink: 0
337
+ }
338
+ }
339
+ },
340
+ [`${componentCls}-help,
341
+ ${componentCls}-extra`]: {
342
+ minHeight: controlHeightSM,
343
+ lineHeight: `${controlHeightSM}px`,
344
+ color: token.colorTextSecondary
345
+ }
346
+ }
347
+ };
348
+ }, "genLabelStyle");
349
+ const genFormItemStyle = /* @__PURE__ */ __name((token) => {
350
+ const { componentCls, fontSize, marginLG } = token;
351
+ return {
352
+ [componentCls]: {
353
+ display: "flex",
354
+ position: "relative",
355
+ marginBottom: marginLG,
356
+ fontSize,
357
+ [`${componentCls}-label`]: genLabelStyle(token),
358
+ [`&${componentCls}-size-small`]: genSmallStyle(token),
359
+ [`&${componentCls}-size-large`]: genLargeStyle(token),
360
+ "&-label": {
361
+ "&-align": {
362
+ [`&-left`]: {
363
+ [`> ${componentCls}-label`]: {
364
+ justifyContent: "flex-start"
365
+ }
366
+ },
367
+ [`&-right`]: {
368
+ [`> ${componentCls}-label`]: {
369
+ justifyContent: "flex-end"
370
+ }
371
+ }
372
+ },
373
+ ["&-wrap"]: {
374
+ [`${componentCls}-label`]: {
375
+ label: {
376
+ whiteSpace: "pre-line",
377
+ wordBreak: "break-all"
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ };
384
+ }, "genFormItemStyle");
385
+ var style_default = (0, import_builtins.genStyleHook)("Form", (token) => {
386
+ return [genFormItemStyle(token), (0, import_animation.getAnimationStyle)(token), (0, import_other.genOtherStyle)(token), (0, import_grid.getGridStyle)(token)];
387
+ });
@@ -0,0 +1,2 @@
1
+ import { GenerateStyle } from '../../__builtins__';
2
+ export declare const genOtherStyle: GenerateStyle;