@cck-ui/core 0.12.2 → 0.13.1
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/cjs/components/flex/flex-props.cjs +36 -0
- package/cjs/components/flex/flex-props.cjs.map +1 -0
- package/cjs/components/flex/flex.cjs +478 -0
- package/cjs/components/flex/flex.cjs.map +1 -0
- package/cjs/components/flex/flex.module.cjs +7 -0
- package/cjs/components/flex/flex.module.cjs.map +1 -0
- package/cjs/components/flex/index.cjs +13 -0
- package/cjs/components/flex/index.cjs.map +1 -0
- package/cjs/core/box/box.cjs +1 -9
- package/cjs/core/box/box.cjs.map +1 -1
- package/cjs/index.cjs +28 -25
- package/cjs/index.cjs.map +1 -1
- package/esm/components/flex/flex-props.mjs +36 -0
- package/esm/components/flex/flex-props.mjs.map +1 -0
- package/esm/components/flex/flex.mjs +478 -0
- package/esm/components/flex/flex.mjs.map +1 -0
- package/esm/components/flex/flex.module.mjs +7 -0
- package/esm/components/flex/flex.module.mjs.map +1 -0
- package/esm/components/flex/index.mjs +10 -0
- package/esm/components/flex/index.mjs.map +1 -0
- package/esm/core/box/box.mjs +1 -9
- package/esm/core/box/box.mjs.map +1 -1
- package/esm/index.mjs +3 -1
- package/esm/index.mjs.map +1 -1
- package/lib/components/flex/flex-props.d.ts +2 -0
- package/lib/components/flex/flex.types.d.ts +39 -0
- package/lib/components/flex/index.d.ts +6 -0
- package/lib/components/index.d.ts +1 -0
- package/package.json +1 -1
- package/styles/flex.css +3 -0
- package/styles/flex.layer.css +4 -0
- package/styles.css +4 -0
- package/styles.layer.css +4 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region packages/@cck-ui/core/src/components/flex/flex-props.ts
|
|
3
|
+
const FLEX_STYLE_PROPS_DATA = {
|
|
4
|
+
gap: {
|
|
5
|
+
type: "spacing",
|
|
6
|
+
property: "gap"
|
|
7
|
+
},
|
|
8
|
+
rowGap: {
|
|
9
|
+
type: "spacing",
|
|
10
|
+
property: "rowGap"
|
|
11
|
+
},
|
|
12
|
+
columnGap: {
|
|
13
|
+
type: "spacing",
|
|
14
|
+
property: "columnGap"
|
|
15
|
+
},
|
|
16
|
+
align: {
|
|
17
|
+
type: "identity",
|
|
18
|
+
property: "alignItems"
|
|
19
|
+
},
|
|
20
|
+
justify: {
|
|
21
|
+
type: "identity",
|
|
22
|
+
property: "justifyContent"
|
|
23
|
+
},
|
|
24
|
+
wrap: {
|
|
25
|
+
type: "identity",
|
|
26
|
+
property: "flexWrap"
|
|
27
|
+
},
|
|
28
|
+
direction: {
|
|
29
|
+
type: "identity",
|
|
30
|
+
property: "flexDirection"
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.FLEX_STYLE_PROPS_DATA = FLEX_STYLE_PROPS_DATA;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=flex-props.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex-props.cjs","names":[],"sources":["../../../src/components/flex/flex-props.ts"],"sourcesContent":["import { SystemPropData } from '../../core'\n\nexport const FLEX_STYLE_PROPS_DATA: Record<string, SystemPropData> = {\n gap: { type: 'spacing', property: 'gap' },\n rowGap: { type: 'spacing', property: 'rowGap' },\n columnGap: { type: 'spacing', property: 'columnGap' },\n\n align: { type: 'identity', property: 'alignItems' },\n justify: { type: 'identity', property: 'justifyContent' },\n wrap: { type: 'identity', property: 'flexWrap' },\n direction: { type: 'identity', property: 'flexDirection' },\n}\n"],"mappings":";;AAEA,MAAa,wBAAwD;CACnE,KAAK;EAAE,MAAM;EAAW,UAAU;CAAM;CACxC,QAAQ;EAAE,MAAM;EAAW,UAAU;CAAS;CAC9C,WAAW;EAAE,MAAM;EAAW,UAAU;CAAY;CAEpD,OAAO;EAAE,MAAM;EAAY,UAAU;CAAa;CAClD,SAAS;EAAE,MAAM;EAAY,UAAU;CAAiB;CACxD,MAAM;EAAE,MAAM;EAAY,UAAU;CAAW;CAC/C,WAAW;EAAE,MAAM;EAAY,UAAU;CAAgB;AAC3D"}
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const require_filter_props = require("../../core/utils/filter-props/filter-props.cjs");
|
|
3
|
+
const require_config_provider_context = require("../../core/config-provider/config-provider.context.cjs");
|
|
4
|
+
const require_export_helper = require("../../_virtual/_/plugin-vue/export-helper.cjs");
|
|
5
|
+
const require_use_component_props = require("../../core/config-provider/use-component-props/use-component-props.cjs");
|
|
6
|
+
const require_parse_style_props = require("../../core/box/style-props/parse-style-props/parse-style-props.cjs");
|
|
7
|
+
const require_responsive_style_manager = require("../../core/responsive-style-manager/responsive-style-manager.cjs");
|
|
8
|
+
const require_hash_styles = require("../../core/responsive-style-manager/hash-styles.cjs");
|
|
9
|
+
const require_styles_to_string = require("../../core/responsive-style-manager/styles-to-string/styles-to-string.cjs");
|
|
10
|
+
const require_use_random_classname = require("../../core/box/use-random-classname/use-random-classname.cjs");
|
|
11
|
+
const require_index = require("../../core/box/index.cjs");
|
|
12
|
+
const require_use_styles = require("../../core/styles-api/use-styles/use-styles.cjs");
|
|
13
|
+
const require_flex_module = require("./flex.module.cjs");
|
|
14
|
+
const require_flex_props = require("./flex-props.cjs");
|
|
15
|
+
let vue = require("vue");
|
|
16
|
+
//#region packages/@cck-ui/core/src/components/flex/flex.vue
|
|
17
|
+
const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
18
|
+
name: "CFlex",
|
|
19
|
+
__name: "flex",
|
|
20
|
+
props: {
|
|
21
|
+
gap: {
|
|
22
|
+
type: null,
|
|
23
|
+
required: false
|
|
24
|
+
},
|
|
25
|
+
rowGap: {
|
|
26
|
+
type: null,
|
|
27
|
+
required: false
|
|
28
|
+
},
|
|
29
|
+
columnGap: {
|
|
30
|
+
type: null,
|
|
31
|
+
required: false
|
|
32
|
+
},
|
|
33
|
+
align: {
|
|
34
|
+
type: null,
|
|
35
|
+
required: false
|
|
36
|
+
},
|
|
37
|
+
justify: {
|
|
38
|
+
type: null,
|
|
39
|
+
required: false
|
|
40
|
+
},
|
|
41
|
+
wrap: {
|
|
42
|
+
type: null,
|
|
43
|
+
required: false
|
|
44
|
+
},
|
|
45
|
+
direction: {
|
|
46
|
+
type: null,
|
|
47
|
+
required: false
|
|
48
|
+
},
|
|
49
|
+
className: {
|
|
50
|
+
type: String,
|
|
51
|
+
required: false
|
|
52
|
+
},
|
|
53
|
+
style: {
|
|
54
|
+
type: [
|
|
55
|
+
Object,
|
|
56
|
+
Function,
|
|
57
|
+
Array
|
|
58
|
+
],
|
|
59
|
+
required: false,
|
|
60
|
+
skipCheck: true
|
|
61
|
+
},
|
|
62
|
+
__vars: {
|
|
63
|
+
type: null,
|
|
64
|
+
required: false
|
|
65
|
+
},
|
|
66
|
+
__size: {
|
|
67
|
+
type: String,
|
|
68
|
+
required: false
|
|
69
|
+
},
|
|
70
|
+
hiddenFrom: {
|
|
71
|
+
type: null,
|
|
72
|
+
required: false
|
|
73
|
+
},
|
|
74
|
+
visibleFrom: {
|
|
75
|
+
type: null,
|
|
76
|
+
required: false
|
|
77
|
+
},
|
|
78
|
+
lightHidden: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
required: false
|
|
81
|
+
},
|
|
82
|
+
darkHidden: {
|
|
83
|
+
type: Boolean,
|
|
84
|
+
required: false
|
|
85
|
+
},
|
|
86
|
+
mod: {
|
|
87
|
+
type: [
|
|
88
|
+
Object,
|
|
89
|
+
String,
|
|
90
|
+
Array
|
|
91
|
+
],
|
|
92
|
+
required: false
|
|
93
|
+
},
|
|
94
|
+
m: {
|
|
95
|
+
type: null,
|
|
96
|
+
required: false
|
|
97
|
+
},
|
|
98
|
+
my: {
|
|
99
|
+
type: null,
|
|
100
|
+
required: false
|
|
101
|
+
},
|
|
102
|
+
mx: {
|
|
103
|
+
type: null,
|
|
104
|
+
required: false
|
|
105
|
+
},
|
|
106
|
+
mt: {
|
|
107
|
+
type: null,
|
|
108
|
+
required: false
|
|
109
|
+
},
|
|
110
|
+
mb: {
|
|
111
|
+
type: null,
|
|
112
|
+
required: false
|
|
113
|
+
},
|
|
114
|
+
ms: {
|
|
115
|
+
type: null,
|
|
116
|
+
required: false
|
|
117
|
+
},
|
|
118
|
+
me: {
|
|
119
|
+
type: null,
|
|
120
|
+
required: false
|
|
121
|
+
},
|
|
122
|
+
mis: {
|
|
123
|
+
type: null,
|
|
124
|
+
required: false
|
|
125
|
+
},
|
|
126
|
+
mie: {
|
|
127
|
+
type: null,
|
|
128
|
+
required: false
|
|
129
|
+
},
|
|
130
|
+
ml: {
|
|
131
|
+
type: null,
|
|
132
|
+
required: false
|
|
133
|
+
},
|
|
134
|
+
mr: {
|
|
135
|
+
type: null,
|
|
136
|
+
required: false
|
|
137
|
+
},
|
|
138
|
+
p: {
|
|
139
|
+
type: null,
|
|
140
|
+
required: false
|
|
141
|
+
},
|
|
142
|
+
py: {
|
|
143
|
+
type: null,
|
|
144
|
+
required: false
|
|
145
|
+
},
|
|
146
|
+
px: {
|
|
147
|
+
type: null,
|
|
148
|
+
required: false
|
|
149
|
+
},
|
|
150
|
+
pt: {
|
|
151
|
+
type: null,
|
|
152
|
+
required: false
|
|
153
|
+
},
|
|
154
|
+
pb: {
|
|
155
|
+
type: null,
|
|
156
|
+
required: false
|
|
157
|
+
},
|
|
158
|
+
ps: {
|
|
159
|
+
type: null,
|
|
160
|
+
required: false
|
|
161
|
+
},
|
|
162
|
+
pe: {
|
|
163
|
+
type: null,
|
|
164
|
+
required: false
|
|
165
|
+
},
|
|
166
|
+
pis: {
|
|
167
|
+
type: null,
|
|
168
|
+
required: false
|
|
169
|
+
},
|
|
170
|
+
pie: {
|
|
171
|
+
type: null,
|
|
172
|
+
required: false
|
|
173
|
+
},
|
|
174
|
+
pl: {
|
|
175
|
+
type: null,
|
|
176
|
+
required: false
|
|
177
|
+
},
|
|
178
|
+
pr: {
|
|
179
|
+
type: null,
|
|
180
|
+
required: false
|
|
181
|
+
},
|
|
182
|
+
bd: {
|
|
183
|
+
type: null,
|
|
184
|
+
required: false
|
|
185
|
+
},
|
|
186
|
+
bdrs: {
|
|
187
|
+
type: null,
|
|
188
|
+
required: false
|
|
189
|
+
},
|
|
190
|
+
bg: {
|
|
191
|
+
type: null,
|
|
192
|
+
required: false
|
|
193
|
+
},
|
|
194
|
+
c: {
|
|
195
|
+
type: null,
|
|
196
|
+
required: false
|
|
197
|
+
},
|
|
198
|
+
opacity: {
|
|
199
|
+
type: [
|
|
200
|
+
String,
|
|
201
|
+
Object,
|
|
202
|
+
Number
|
|
203
|
+
],
|
|
204
|
+
required: false
|
|
205
|
+
},
|
|
206
|
+
ff: {
|
|
207
|
+
type: [String, Object],
|
|
208
|
+
required: false
|
|
209
|
+
},
|
|
210
|
+
fz: {
|
|
211
|
+
type: null,
|
|
212
|
+
required: false
|
|
213
|
+
},
|
|
214
|
+
fw: {
|
|
215
|
+
type: null,
|
|
216
|
+
required: false
|
|
217
|
+
},
|
|
218
|
+
lts: {
|
|
219
|
+
type: null,
|
|
220
|
+
required: false
|
|
221
|
+
},
|
|
222
|
+
ta: {
|
|
223
|
+
type: [String, Object],
|
|
224
|
+
required: false
|
|
225
|
+
},
|
|
226
|
+
lh: {
|
|
227
|
+
type: null,
|
|
228
|
+
required: false
|
|
229
|
+
},
|
|
230
|
+
fs: {
|
|
231
|
+
type: null,
|
|
232
|
+
required: false
|
|
233
|
+
},
|
|
234
|
+
tt: {
|
|
235
|
+
type: [String, Object],
|
|
236
|
+
required: false
|
|
237
|
+
},
|
|
238
|
+
td: {
|
|
239
|
+
type: null,
|
|
240
|
+
required: false
|
|
241
|
+
},
|
|
242
|
+
w: {
|
|
243
|
+
type: null,
|
|
244
|
+
required: false
|
|
245
|
+
},
|
|
246
|
+
miw: {
|
|
247
|
+
type: null,
|
|
248
|
+
required: false
|
|
249
|
+
},
|
|
250
|
+
maw: {
|
|
251
|
+
type: null,
|
|
252
|
+
required: false
|
|
253
|
+
},
|
|
254
|
+
h: {
|
|
255
|
+
type: null,
|
|
256
|
+
required: false
|
|
257
|
+
},
|
|
258
|
+
mih: {
|
|
259
|
+
type: null,
|
|
260
|
+
required: false
|
|
261
|
+
},
|
|
262
|
+
mah: {
|
|
263
|
+
type: null,
|
|
264
|
+
required: false
|
|
265
|
+
},
|
|
266
|
+
bgsz: {
|
|
267
|
+
type: null,
|
|
268
|
+
required: false
|
|
269
|
+
},
|
|
270
|
+
bgp: {
|
|
271
|
+
type: null,
|
|
272
|
+
required: false
|
|
273
|
+
},
|
|
274
|
+
bgr: {
|
|
275
|
+
type: null,
|
|
276
|
+
required: false
|
|
277
|
+
},
|
|
278
|
+
bga: {
|
|
279
|
+
type: null,
|
|
280
|
+
required: false
|
|
281
|
+
},
|
|
282
|
+
pos: {
|
|
283
|
+
type: [String, Object],
|
|
284
|
+
required: false
|
|
285
|
+
},
|
|
286
|
+
top: {
|
|
287
|
+
type: null,
|
|
288
|
+
required: false
|
|
289
|
+
},
|
|
290
|
+
left: {
|
|
291
|
+
type: null,
|
|
292
|
+
required: false
|
|
293
|
+
},
|
|
294
|
+
bottom: {
|
|
295
|
+
type: null,
|
|
296
|
+
required: false
|
|
297
|
+
},
|
|
298
|
+
right: {
|
|
299
|
+
type: null,
|
|
300
|
+
required: false
|
|
301
|
+
},
|
|
302
|
+
inset: {
|
|
303
|
+
type: null,
|
|
304
|
+
required: false
|
|
305
|
+
},
|
|
306
|
+
display: {
|
|
307
|
+
type: null,
|
|
308
|
+
required: false
|
|
309
|
+
},
|
|
310
|
+
flex: {
|
|
311
|
+
type: null,
|
|
312
|
+
required: false
|
|
313
|
+
},
|
|
314
|
+
unstyled: {
|
|
315
|
+
type: Boolean,
|
|
316
|
+
required: false
|
|
317
|
+
},
|
|
318
|
+
variant: {
|
|
319
|
+
type: null,
|
|
320
|
+
required: false
|
|
321
|
+
},
|
|
322
|
+
classNames: {
|
|
323
|
+
type: null,
|
|
324
|
+
required: false
|
|
325
|
+
},
|
|
326
|
+
styles: {
|
|
327
|
+
type: null,
|
|
328
|
+
required: false
|
|
329
|
+
},
|
|
330
|
+
vars: {
|
|
331
|
+
type: Function,
|
|
332
|
+
required: false
|
|
333
|
+
},
|
|
334
|
+
attributes: {
|
|
335
|
+
type: null,
|
|
336
|
+
required: false
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
setup(__props, { expose: __expose }) {
|
|
340
|
+
const _root = (0, vue.ref)(null);
|
|
341
|
+
const attrs = (0, vue.useAttrs)();
|
|
342
|
+
const rawProps = __props;
|
|
343
|
+
const props = require_use_component_props.useComponentProps({
|
|
344
|
+
component: "CFlex",
|
|
345
|
+
defaultProps: {},
|
|
346
|
+
props: rawProps
|
|
347
|
+
});
|
|
348
|
+
const knownProps = [
|
|
349
|
+
"classNames",
|
|
350
|
+
"className",
|
|
351
|
+
"style",
|
|
352
|
+
"styles",
|
|
353
|
+
"unstyled",
|
|
354
|
+
"vars",
|
|
355
|
+
"gap",
|
|
356
|
+
"rowGap",
|
|
357
|
+
"columnGap",
|
|
358
|
+
"align",
|
|
359
|
+
"justify",
|
|
360
|
+
"wrap",
|
|
361
|
+
"direction",
|
|
362
|
+
"attributes"
|
|
363
|
+
];
|
|
364
|
+
const getStyles = require_use_styles.useStyles({
|
|
365
|
+
name: "Flex",
|
|
366
|
+
classes: require_flex_module.default,
|
|
367
|
+
props: {
|
|
368
|
+
...props.value,
|
|
369
|
+
...attrs
|
|
370
|
+
},
|
|
371
|
+
className: props.value.className,
|
|
372
|
+
style: props.value.style,
|
|
373
|
+
classNames: props.value.classNames,
|
|
374
|
+
styles: props.value.styles,
|
|
375
|
+
unstyled: props.value.unstyled,
|
|
376
|
+
attributes: props.value.attributes,
|
|
377
|
+
vars: props.value.vars
|
|
378
|
+
});
|
|
379
|
+
const theme = require_config_provider_context.useCckTheme();
|
|
380
|
+
const randomClassName = require_use_random_classname.useRandomClassName();
|
|
381
|
+
const parsedStyleProps = require_parse_style_props.parseStyleProps({
|
|
382
|
+
styleProps: {
|
|
383
|
+
gap: props.value.gap,
|
|
384
|
+
rowGap: props.value.rowGap,
|
|
385
|
+
columnGap: props.value.columnGap,
|
|
386
|
+
align: props.value.align,
|
|
387
|
+
justify: props.value.justify,
|
|
388
|
+
wrap: props.value.wrap,
|
|
389
|
+
direction: props.value.direction
|
|
390
|
+
},
|
|
391
|
+
theme: theme.value,
|
|
392
|
+
data: require_flex_props.FLEX_STYLE_PROPS_DATA
|
|
393
|
+
});
|
|
394
|
+
const responsiveClassName = parsedStyleProps.hasResponsiveStyles ? require_hash_styles.hashStyleProps(parsedStyleProps.styles, parsedStyleProps.media) : randomClassName;
|
|
395
|
+
const rootAttrs = (0, vue.computed)(() => getStyles("root", { className: responsiveClassName }));
|
|
396
|
+
const mergedStyle = (0, vue.computed)(() => {
|
|
397
|
+
const rootStyle = rootAttrs.value.style || {};
|
|
398
|
+
const inlineStyles = require_filter_props.filterProps(parsedStyleProps.inlineStyles);
|
|
399
|
+
return {
|
|
400
|
+
...rootStyle,
|
|
401
|
+
...inlineStyles
|
|
402
|
+
};
|
|
403
|
+
});
|
|
404
|
+
const mergedAttrs = (0, vue.computed)(() => {
|
|
405
|
+
const others = {};
|
|
406
|
+
const propsValue = props.value;
|
|
407
|
+
Object.keys(propsValue).forEach((key) => {
|
|
408
|
+
if (!knownProps.includes(key)) others[key] = propsValue[key];
|
|
409
|
+
});
|
|
410
|
+
const userMod = props.value.mod;
|
|
411
|
+
const mergedMod = [...Array.isArray(userMod) ? userMod : [userMod].filter(Boolean)];
|
|
412
|
+
return {
|
|
413
|
+
...others,
|
|
414
|
+
mod: mergedMod,
|
|
415
|
+
...rootAttrs.value,
|
|
416
|
+
style: mergedStyle.value
|
|
417
|
+
};
|
|
418
|
+
});
|
|
419
|
+
const queryStyles = {
|
|
420
|
+
styles: parsedStyleProps.styles,
|
|
421
|
+
media: parsedStyleProps.media,
|
|
422
|
+
selector: responsiveClassName
|
|
423
|
+
};
|
|
424
|
+
const queryStylesString = require_styles_to_string.stylesToString(queryStyles);
|
|
425
|
+
const currentStyleKey = (0, vue.ref)(null);
|
|
426
|
+
(0, vue.watchEffect)(() => {
|
|
427
|
+
if (queryStylesString) {
|
|
428
|
+
const newKey = require_responsive_style_manager.responsiveStyleManager.register(queryStylesString);
|
|
429
|
+
if (currentStyleKey.value && currentStyleKey.value !== newKey) require_responsive_style_manager.responsiveStyleManager.unregister(currentStyleKey.value);
|
|
430
|
+
currentStyleKey.value = newKey;
|
|
431
|
+
} else if (currentStyleKey.value) {
|
|
432
|
+
require_responsive_style_manager.responsiveStyleManager.unregister(currentStyleKey.value);
|
|
433
|
+
currentStyleKey.value = null;
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
(0, vue.onUnmounted)(() => {
|
|
437
|
+
if (currentStyleKey.value) require_responsive_style_manager.responsiveStyleManager.unregister(currentStyleKey.value);
|
|
438
|
+
});
|
|
439
|
+
__expose({ root: (0, vue.computed)(() => _root.value?.root ?? null) });
|
|
440
|
+
const __returned__ = {
|
|
441
|
+
_root,
|
|
442
|
+
attrs,
|
|
443
|
+
rawProps,
|
|
444
|
+
props,
|
|
445
|
+
knownProps,
|
|
446
|
+
getStyles,
|
|
447
|
+
theme,
|
|
448
|
+
randomClassName,
|
|
449
|
+
parsedStyleProps,
|
|
450
|
+
responsiveClassName,
|
|
451
|
+
rootAttrs,
|
|
452
|
+
mergedStyle,
|
|
453
|
+
mergedAttrs,
|
|
454
|
+
queryStyles,
|
|
455
|
+
queryStylesString,
|
|
456
|
+
currentStyleKey,
|
|
457
|
+
get CBox() {
|
|
458
|
+
return require_index.CBox;
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
462
|
+
enumerable: false,
|
|
463
|
+
value: true
|
|
464
|
+
});
|
|
465
|
+
return __returned__;
|
|
466
|
+
}
|
|
467
|
+
});
|
|
468
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
469
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)($setup["CBox"], (0, vue.mergeProps)({ ref: "_root" }, $setup.mergedAttrs), {
|
|
470
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
471
|
+
_: 3
|
|
472
|
+
}, 16);
|
|
473
|
+
}
|
|
474
|
+
var flex_default = /*#__PURE__*/ require_export_helper.default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/cck-ui/cck-ui/packages/@cck-ui/core/src/components/flex/flex.vue"]]);
|
|
475
|
+
//#endregion
|
|
476
|
+
exports.default = flex_default;
|
|
477
|
+
|
|
478
|
+
//# sourceMappingURL=flex.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex.cjs","names":[],"sources":["../../../src/components/flex/flex.vue"],"sourcesContent":["<template>\n <c-box ref=\"_root\" v-bind=\"mergedAttrs\">\n <slot />\n </c-box>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, onUnmounted, ref, useAttrs, watchEffect } from 'vue'\nimport {\n CBox,\n filterProps,\n hashStyleProps,\n parseStyleProps,\n responsiveStyleManager,\n stylesToString,\n useCckTheme,\n useComponentProps,\n useRandomClassName,\n useStyles,\n} from '../../core'\nimport classes from './flex.module.css'\nimport { FlexFactory, FlexProps } from './flex.types'\nimport { FLEX_STYLE_PROPS_DATA } from './flex-props'\n\ndefineOptions({\n name: 'CFlex',\n})\n\nconst _root = ref<InstanceType<typeof CBox> | null>(null)\n\nconst attrs = useAttrs()\n\nconst rawProps = defineProps<FlexProps>()\n\nconst props = useComponentProps({\n component: 'CFlex',\n defaultProps: {},\n props: rawProps,\n})\n\nconst knownProps = [\n 'classNames',\n 'className',\n 'style',\n 'styles',\n 'unstyled',\n 'vars',\n 'gap',\n 'rowGap',\n 'columnGap',\n 'align',\n 'justify',\n 'wrap',\n 'direction',\n 'attributes',\n]\n\nconst getStyles = useStyles<FlexFactory>({\n name: 'Flex',\n classes,\n props: { ...props.value, ...attrs } as FlexProps,\n className: props.value.className,\n style: props.value.style,\n classNames: props.value.classNames,\n styles: props.value.styles,\n unstyled: props.value.unstyled,\n attributes: props.value.attributes,\n vars: props.value.vars,\n})\n\nconst theme = useCckTheme()\nconst randomClassName = useRandomClassName()\n\nconst parsedStyleProps = parseStyleProps({\n styleProps: {\n gap: props.value.gap,\n rowGap: props.value.rowGap,\n columnGap: props.value.columnGap,\n align: props.value.align,\n justify: props.value.justify,\n wrap: props.value.wrap,\n direction: props.value.direction,\n },\n theme: theme.value,\n data: FLEX_STYLE_PROPS_DATA,\n})\n\nconst responsiveClassName = parsedStyleProps.hasResponsiveStyles\n ? hashStyleProps(parsedStyleProps.styles, parsedStyleProps.media)\n : randomClassName\n\nconst rootAttrs = computed(() => getStyles('root', { className: responsiveClassName }))\n\nconst mergedStyle = computed(() => {\n const rootStyle = rootAttrs.value.style || {}\n const inlineStyles = filterProps(parsedStyleProps.inlineStyles)\n return { ...rootStyle, ...inlineStyles }\n})\n\nconst mergedAttrs = computed(() => {\n const others: Record<string, any> = {}\n const propsValue = props.value\n Object.keys(propsValue).forEach((key) => {\n if (!knownProps.includes(key)) {\n others[key] = propsValue[key as keyof typeof propsValue]\n }\n })\n const userMod = props.value.mod\n const mergedMod = [...(Array.isArray(userMod) ? userMod : [userMod].filter(Boolean))]\n return {\n ...others,\n mod: mergedMod,\n ...rootAttrs.value,\n style: mergedStyle.value,\n }\n})\n\nconst queryStyles = {\n styles: parsedStyleProps.styles,\n media: parsedStyleProps.media,\n selector: responsiveClassName,\n}\n\nconst queryStylesString = stylesToString(queryStyles)\n\nconst currentStyleKey = ref<string | null>(null)\nwatchEffect(() => {\n if (queryStylesString) {\n const newKey = responsiveStyleManager.register(queryStylesString)\n if (currentStyleKey.value && currentStyleKey.value !== newKey) {\n responsiveStyleManager.unregister(currentStyleKey.value)\n }\n currentStyleKey.value = newKey\n } else if (currentStyleKey.value) {\n responsiveStyleManager.unregister(currentStyleKey.value)\n currentStyleKey.value = null\n }\n})\nonUnmounted(() => {\n if (currentStyleKey.value) {\n responsiveStyleManager.unregister(currentStyleKey.value)\n }\n})\n\ndefineExpose({\n root: computed(() => _root.value?.root ?? null),\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BA,MAAM,SAAA,GAAA,IAAA,IAAA,CAA8C,IAAI;EAExD,MAAM,SAAA,GAAA,IAAA,SAAA,CAAiB;EAEvB,MAAM,WAAW;EAEjB,MAAM,QAAQ,4BAAA,kBAAkB;GAC9B,WAAW;GACX,cAAc,CAAC;GACf,OAAO;EACT,CAAC;EAED,MAAM,aAAa;GACjB;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;EAEA,MAAM,YAAY,mBAAA,UAAuB;GACvC,MAAM;GACN,SAAA,oBAAA;GACA,OAAO;IAAE,GAAG,MAAM;IAAO,GAAG;GAAM;GAClC,WAAW,MAAM,MAAM;GACvB,OAAO,MAAM,MAAM;GACnB,YAAY,MAAM,MAAM;GACxB,QAAQ,MAAM,MAAM;GACpB,UAAU,MAAM,MAAM;GACtB,YAAY,MAAM,MAAM;GACxB,MAAM,MAAM,MAAM;EACpB,CAAC;EAED,MAAM,QAAQ,gCAAA,YAAY;EAC1B,MAAM,kBAAkB,6BAAA,mBAAmB;EAE3C,MAAM,mBAAmB,0BAAA,gBAAg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OAAkB;GAChB,IAAI,mBAAmB;IACrB,MAAM,SAAS,iCAAA,uBAAuB,SAAS,iBAAiB;IAChE,IAAI,gBAAgB,SAAS,gBAAgB,UAAU,QACrD,iCAAA,uBAAuB,WAAW,gBAAgB,KAAK;IAEzD,gBAAgB,QAAQ;GAC1B,OAAO,IAAI,gBAAgB,OAAO;IAChC,iCAAA,uBAAuB,WAAW,gBAAgB,KAAK;IACvD,gBAAgB,QAAQ;GAC1B;EACF,CAAC;EACD,CAAA,GAAA,IAAA,YAAA,OAAkB;GAChB,IAAI,gBAAgB,OAClB,iCAAA,uBAAuB,WAAW,gBAAgB,KAAK;EAE3D,CAAC;EAED,SAAa,EACX,OAAA,GAAA,IAAA,SAAA,OAAqB,MAAM,OAAO,QAAQ,IAAI,EAChD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDA/IS,OAAA,UAAA,GAAA,IAAA,WAAA,CAAA,EAFD,KAAI,QAAO,GAAS,OAAA,WAAW,GAAA;kCAC5B,EAAA,GAAA,IAAA,WAAA,CAAA,KAAA,QAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex.module.cjs","names":[],"sources":["../../../src/components/flex/flex.module.css"],"sourcesContent":[".root {\n display: flex;\n}\n"],"mappings":";;AAAA,IAAA,sBAAe,EAAC,QAAO,aAAY"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const require_install = require("../../core/utils/vue/install.cjs");
|
|
3
|
+
const require_statics = require("../../core/utils/vue/statics.cjs");
|
|
4
|
+
const require_flex_module = require("./flex.module.cjs");
|
|
5
|
+
const require_flex = require("./flex.cjs");
|
|
6
|
+
//#region packages/@cck-ui/core/src/components/flex/index.ts
|
|
7
|
+
const FlexWithStatic = require_statics.withPropsFactory(require_statics.withExtend(require_statics.withClasses(require_flex.default, require_flex_module.default)));
|
|
8
|
+
const CFlex = require_install.withInstall(FlexWithStatic);
|
|
9
|
+
//#endregion
|
|
10
|
+
exports.CFlex = CFlex;
|
|
11
|
+
exports.default = CFlex;
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["withPropsFactory","withExtend","withClasses","Flex","classes","withInstall"],"sources":["../../../src/components/flex/index.ts"],"sourcesContent":["import {\n SFCWithInstallAndClasses,\n withClasses,\n withExtend,\n withInstall,\n withPropsFactory,\n} from '../../core'\nimport Flex from './flex.vue'\nimport classes from './flex.module.css'\n\nconst FlexWithStatic = withPropsFactory(withExtend(withClasses(Flex, classes)))\n\nexport const CFlex: SFCWithInstallAndClasses<typeof Flex, typeof classes> =\n withInstall(FlexWithStatic)\n\nexport default CFlex\n\nexport * from './flex.types'\n"],"mappings":";;;;;;AAUA,MAAM,iBAAiBA,gBAAAA,iBAAiBC,gBAAAA,WAAWC,gBAAAA,YAAYC,aAAAA,SAAMC,oBAAAA,OAAO,CAAC,CAAC;AAE9E,MAAa,QACXC,gBAAAA,YAAY,cAAc"}
|
package/cjs/core/box/box.cjs
CHANGED
|
@@ -320,13 +320,6 @@ const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
|
320
320
|
const hasResponsive = (0, vue.computed)(() => parsedStyleProps.value.hasResponsiveStyles);
|
|
321
321
|
const responsiveClassName = (0, vue.ref)(null);
|
|
322
322
|
let currentStyleKey = null;
|
|
323
|
-
function buildMediaQueriesFromObject(mediaObj) {
|
|
324
|
-
if (!mediaObj) return [];
|
|
325
|
-
return Object.entries(mediaObj).map(([query, styles]) => ({
|
|
326
|
-
query,
|
|
327
|
-
styles
|
|
328
|
-
}));
|
|
329
|
-
}
|
|
330
323
|
function updateResponsiveStyles() {
|
|
331
324
|
if (currentStyleKey) {
|
|
332
325
|
require_responsive_style_manager.responsiveStyleManager.unregister(currentStyleKey);
|
|
@@ -334,7 +327,7 @@ const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
|
334
327
|
responsiveClassName.value = null;
|
|
335
328
|
}
|
|
336
329
|
if (!hasResponsive) return;
|
|
337
|
-
const mediaArray =
|
|
330
|
+
const mediaArray = parsedStyleProps.value.media || [];
|
|
338
331
|
const className = require_hash_styles.hashStyleProps(parsedStyleProps.value.styles, mediaArray);
|
|
339
332
|
const cssText = require_styles_to_string.stylesToString({
|
|
340
333
|
selector: className,
|
|
@@ -397,7 +390,6 @@ const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
|
397
390
|
set currentStyleKey(v) {
|
|
398
391
|
currentStyleKey = v;
|
|
399
392
|
},
|
|
400
|
-
buildMediaQueriesFromObject,
|
|
401
393
|
updateResponsiveStyles,
|
|
402
394
|
_props,
|
|
403
395
|
rootTag
|
package/cjs/core/box/box.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.cjs","names":[],"sources":["../../../src/core/box/box.vue"],"sourcesContent":["<template>\n <component ref=\"_root\" :is=\"rootTag\" v-bind=\"_props\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\nimport cx from 'clsx'\nimport { computed, onBeforeUnmount, ref, watch } from 'vue'\nimport { isNumberLike } from '../utils'\nimport type { BoxComponentProps } from './box.types'\nimport { useCckTheme } from '../config-provider'\nimport { extractStyleProps, parseStyleProps, STYLE_PROPS_DATA } from './style-props'\nimport { getBoxStyle } from './get-box-style/get-box-style'\nimport {\n hashStyleProps,\n responsiveStyleManager,\n StylesMediaQuery,\n stylesToString,\n} from '../responsive-style-manager'\nimport { getBoxMod } from './get-box-mod/get-box-mod'\n\ndefineOptions({\n name: 'CBox',\n})\n\nconst _root = ref<HTMLElement | null>(null)\n\nconst props = withDefaults(\n defineProps<\n BoxComponentProps & {\n className: string\n renderRoot?: (props: Record<string, any>) => any\n tag?: any\n }\n >(),\n {\n tag: 'div',\n }\n)\n\nconst theme = useCckTheme()\n\nconst parsedStyleProps = computed(() => {\n const { styleProps, rest } = extractStyleProps(props)\n return {\n ...parseStyleProps({\n styleProps,\n theme: theme.value,\n data: STYLE_PROPS_DATA,\n }),\n rest,\n }\n})\n\nconst hasResponsive = computed(() => parsedStyleProps.value.hasResponsiveStyles)\nconst responsiveClassName = ref<string | null>(null)\nlet currentStyleKey: string | null = null\n\nfunction
|
|
1
|
+
{"version":3,"file":"box.cjs","names":[],"sources":["../../../src/core/box/box.vue"],"sourcesContent":["<template>\n <component ref=\"_root\" :is=\"rootTag\" v-bind=\"_props\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\nimport cx from 'clsx'\nimport { computed, onBeforeUnmount, ref, watch } from 'vue'\nimport { isNumberLike } from '../utils'\nimport type { BoxComponentProps } from './box.types'\nimport { useCckTheme } from '../config-provider'\nimport { extractStyleProps, parseStyleProps, STYLE_PROPS_DATA } from './style-props'\nimport { getBoxStyle } from './get-box-style/get-box-style'\nimport {\n hashStyleProps,\n responsiveStyleManager,\n StylesMediaQuery,\n stylesToString,\n} from '../responsive-style-manager'\nimport { getBoxMod } from './get-box-mod/get-box-mod'\n\ndefineOptions({\n name: 'CBox',\n})\n\nconst _root = ref<HTMLElement | null>(null)\n\nconst props = withDefaults(\n defineProps<\n BoxComponentProps & {\n className: string\n renderRoot?: (props: Record<string, any>) => any\n tag?: any\n }\n >(),\n {\n tag: 'div',\n }\n)\n\nconst theme = useCckTheme()\n\nconst parsedStyleProps = computed(() => {\n const { styleProps, rest } = extractStyleProps(props)\n return {\n ...parseStyleProps({\n styleProps,\n theme: theme.value,\n data: STYLE_PROPS_DATA,\n }),\n rest,\n }\n})\n\nconst hasResponsive = computed(() => parsedStyleProps.value.hasResponsiveStyles)\nconst responsiveClassName = ref<string | null>(null)\nlet currentStyleKey: string | null = null\n\nfunction updateResponsiveStyles() {\n if (currentStyleKey) {\n responsiveStyleManager.unregister(currentStyleKey)\n currentStyleKey = null\n responsiveClassName.value = null\n }\n\n if (!hasResponsive) {\n return\n }\n\n const mediaArray = parsedStyleProps.value.media || []\n const hash = hashStyleProps(parsedStyleProps.value.styles, mediaArray)\n const className = hash\n\n const cssText = stylesToString({\n selector: className,\n styles: parsedStyleProps.value.styles,\n media: mediaArray,\n })\n\n const registeredKey = responsiveStyleManager.register(cssText, className)\n currentStyleKey = registeredKey\n responsiveClassName.value = className\n}\n\nupdateResponsiveStyles()\n\nwatch(\n () => [parsedStyleProps.value.styles, parsedStyleProps.value.media],\n () => {\n updateResponsiveStyles()\n },\n { deep: true, immediate: false }\n)\n\nonBeforeUnmount(() => {\n if (currentStyleKey) {\n responsiveStyleManager.unregister(currentStyleKey)\n }\n})\n\nconst _props = computed(() => {\n const { rest, inlineStyles } = parsedStyleProps.value\n\n const finalStyle = getBoxStyle({\n theme: theme.value,\n style: props.style,\n vars: props.__vars,\n styleProps: inlineStyles,\n })\n\n const finalClassName = cx(props.className, responsiveClassName.value, {\n 'c-light-hidden': props.lightHidden,\n 'c-dark-hidden': props.darkHidden,\n [`c-hidden-from-${props.hiddenFrom}`]: props.hiddenFrom,\n [`c-visible-from-${props.visibleFrom}`]: props.visibleFrom,\n })\n\n const {\n tag,\n style,\n __vars,\n className,\n variant,\n mod,\n size,\n hiddenFrom,\n visibleFrom,\n lightHidden,\n darkHidden,\n __size,\n ...restProps\n } = rest || {}\n\n return {\n ...restProps,\n style: finalStyle,\n className: finalClassName,\n 'data-variant': props.variant,\n 'data-size': isNumberLike(props.size) ? undefined : props.size || undefined,\n size: props.__size,\n ...getBoxMod(props.mod),\n }\n})\n\nconst rootTag = computed(() => {\n if (props.renderRoot) {\n return (p: Record<string, any>) => p.renderRoot(p)\n }\n\n return props.tag\n})\n\ndefineExpose({\n root: _root,\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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