@cyberpunk-vue/components 1.1.2 → 1.2.0
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/dist/container/index.d.ts +151 -15
- package/dist/container/index.d.ts.map +1 -1
- package/dist/container/src/aside.vue.d.ts +37 -3
- package/dist/container/src/aside.vue.d.ts.map +1 -1
- package/dist/container/src/container.d.ts +38 -0
- package/dist/container/src/container.d.ts.map +1 -1
- package/dist/container/src/footer.vue.d.ts +12 -3
- package/dist/container/src/footer.vue.d.ts.map +1 -1
- package/dist/container/src/header.vue.d.ts +12 -3
- package/dist/container/src/header.vue.d.ts.map +1 -1
- package/dist/container/src/main.vue.d.ts +39 -2
- package/dist/container/src/main.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2429 -2312
- package/package.json +4 -4
|
@@ -72,12 +72,17 @@ export declare const CpHeader: import('../utils').SFCWithInstall<{
|
|
|
72
72
|
readonly type: StringConstructor;
|
|
73
73
|
readonly default: "60px";
|
|
74
74
|
};
|
|
75
|
-
}>> & Readonly<{}>, {
|
|
75
|
+
}>> & Readonly<{}>, {
|
|
76
|
+
headerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
77
|
+
getHeight: () => number;
|
|
78
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
76
79
|
readonly height: string;
|
|
77
80
|
readonly dividerColor: string;
|
|
78
81
|
readonly dividerType: import('.').LayoutDividerType;
|
|
79
82
|
readonly dividerVariant: import('.').LayoutDividerVariant;
|
|
80
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
83
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
84
|
+
headerRef: HTMLElement;
|
|
85
|
+
}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
81
86
|
P: {};
|
|
82
87
|
B: {};
|
|
83
88
|
D: {};
|
|
@@ -101,7 +106,10 @@ export declare const CpHeader: import('../utils').SFCWithInstall<{
|
|
|
101
106
|
readonly type: StringConstructor;
|
|
102
107
|
readonly default: "60px";
|
|
103
108
|
};
|
|
104
|
-
}>> & Readonly<{}>, {
|
|
109
|
+
}>> & Readonly<{}>, {
|
|
110
|
+
headerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
111
|
+
getHeight: () => number;
|
|
112
|
+
}, {}, {}, {}, {
|
|
105
113
|
readonly height: string;
|
|
106
114
|
readonly dividerColor: string;
|
|
107
115
|
readonly dividerType: import('.').LayoutDividerType;
|
|
@@ -127,7 +135,10 @@ export declare const CpHeader: import('../utils').SFCWithInstall<{
|
|
|
127
135
|
readonly type: StringConstructor;
|
|
128
136
|
readonly default: "60px";
|
|
129
137
|
};
|
|
130
|
-
}>> & Readonly<{}>, {
|
|
138
|
+
}>> & Readonly<{}>, {
|
|
139
|
+
headerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
140
|
+
getHeight: () => number;
|
|
141
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
131
142
|
readonly height: string;
|
|
132
143
|
readonly dividerColor: string;
|
|
133
144
|
readonly dividerType: import('.').LayoutDividerType;
|
|
@@ -155,12 +166,17 @@ export declare const CpFooter: import('../utils').SFCWithInstall<{
|
|
|
155
166
|
readonly type: StringConstructor;
|
|
156
167
|
readonly default: "60px";
|
|
157
168
|
};
|
|
158
|
-
}>> & Readonly<{}>, {
|
|
169
|
+
}>> & Readonly<{}>, {
|
|
170
|
+
footerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
171
|
+
getHeight: () => number;
|
|
172
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
159
173
|
readonly height: string;
|
|
160
174
|
readonly dividerColor: string;
|
|
161
175
|
readonly dividerType: import('.').LayoutDividerType;
|
|
162
176
|
readonly dividerVariant: import('.').LayoutDividerVariant;
|
|
163
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
177
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
178
|
+
footerRef: HTMLElement;
|
|
179
|
+
}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
164
180
|
P: {};
|
|
165
181
|
B: {};
|
|
166
182
|
D: {};
|
|
@@ -184,7 +200,10 @@ export declare const CpFooter: import('../utils').SFCWithInstall<{
|
|
|
184
200
|
readonly type: StringConstructor;
|
|
185
201
|
readonly default: "60px";
|
|
186
202
|
};
|
|
187
|
-
}>> & Readonly<{}>, {
|
|
203
|
+
}>> & Readonly<{}>, {
|
|
204
|
+
footerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
205
|
+
getHeight: () => number;
|
|
206
|
+
}, {}, {}, {}, {
|
|
188
207
|
readonly height: string;
|
|
189
208
|
readonly dividerColor: string;
|
|
190
209
|
readonly dividerType: import('.').LayoutDividerType;
|
|
@@ -210,7 +229,10 @@ export declare const CpFooter: import('../utils').SFCWithInstall<{
|
|
|
210
229
|
readonly type: StringConstructor;
|
|
211
230
|
readonly default: "60px";
|
|
212
231
|
};
|
|
213
|
-
}>> & Readonly<{}>, {
|
|
232
|
+
}>> & Readonly<{}>, {
|
|
233
|
+
footerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
234
|
+
getHeight: () => number;
|
|
235
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
214
236
|
readonly height: string;
|
|
215
237
|
readonly dividerColor: string;
|
|
216
238
|
readonly dividerType: import('.').LayoutDividerType;
|
|
@@ -221,18 +243,78 @@ export declare const CpFooter: import('../utils').SFCWithInstall<{
|
|
|
221
243
|
};
|
|
222
244
|
})>;
|
|
223
245
|
export declare const CpMain: import('../utils').SFCWithInstall<{
|
|
224
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
246
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
247
|
+
readonly scrollUnderHeader: {
|
|
248
|
+
readonly type: BooleanConstructor;
|
|
249
|
+
readonly default: false;
|
|
250
|
+
};
|
|
251
|
+
readonly scrollUnderFooter: {
|
|
252
|
+
readonly type: BooleanConstructor;
|
|
253
|
+
readonly default: false;
|
|
254
|
+
};
|
|
255
|
+
}>> & Readonly<{}>, {
|
|
256
|
+
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
257
|
+
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
258
|
+
getPlaceholderHeights: () => {
|
|
259
|
+
header: number;
|
|
260
|
+
footer: number;
|
|
261
|
+
};
|
|
262
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
263
|
+
readonly scrollUnderHeader: boolean;
|
|
264
|
+
readonly scrollUnderFooter: boolean;
|
|
265
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
266
|
+
bodyHeaderPlaceholderRef: HTMLDivElement;
|
|
267
|
+
bodyFooterPlaceholderRef: HTMLDivElement;
|
|
268
|
+
}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
225
269
|
P: {};
|
|
226
270
|
B: {};
|
|
227
271
|
D: {};
|
|
228
272
|
C: {};
|
|
229
273
|
M: {};
|
|
230
274
|
Defaults: {};
|
|
231
|
-
}, Readonly<
|
|
275
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
276
|
+
readonly scrollUnderHeader: {
|
|
277
|
+
readonly type: BooleanConstructor;
|
|
278
|
+
readonly default: false;
|
|
279
|
+
};
|
|
280
|
+
readonly scrollUnderFooter: {
|
|
281
|
+
readonly type: BooleanConstructor;
|
|
282
|
+
readonly default: false;
|
|
283
|
+
};
|
|
284
|
+
}>> & Readonly<{}>, {
|
|
285
|
+
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
286
|
+
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
287
|
+
getPlaceholderHeights: () => {
|
|
288
|
+
header: number;
|
|
289
|
+
footer: number;
|
|
290
|
+
};
|
|
291
|
+
}, {}, {}, {}, {
|
|
292
|
+
readonly scrollUnderHeader: boolean;
|
|
293
|
+
readonly scrollUnderFooter: boolean;
|
|
294
|
+
}>;
|
|
232
295
|
__isFragment?: never;
|
|
233
296
|
__isTeleport?: never;
|
|
234
297
|
__isSuspense?: never;
|
|
235
|
-
} & import('vue').ComponentOptionsBase<Readonly<
|
|
298
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
299
|
+
readonly scrollUnderHeader: {
|
|
300
|
+
readonly type: BooleanConstructor;
|
|
301
|
+
readonly default: false;
|
|
302
|
+
};
|
|
303
|
+
readonly scrollUnderFooter: {
|
|
304
|
+
readonly type: BooleanConstructor;
|
|
305
|
+
readonly default: false;
|
|
306
|
+
};
|
|
307
|
+
}>> & Readonly<{}>, {
|
|
308
|
+
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
309
|
+
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
310
|
+
getPlaceholderHeights: () => {
|
|
311
|
+
header: number;
|
|
312
|
+
footer: number;
|
|
313
|
+
};
|
|
314
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
315
|
+
readonly scrollUnderHeader: boolean;
|
|
316
|
+
readonly scrollUnderFooter: boolean;
|
|
317
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
236
318
|
$slots: {
|
|
237
319
|
default?(_: {}): any;
|
|
238
320
|
};
|
|
@@ -251,6 +333,14 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
251
333
|
readonly type: import('vue').PropType<import('.').LayoutDividerVariant>;
|
|
252
334
|
readonly default: "solid";
|
|
253
335
|
};
|
|
336
|
+
readonly scrollUnderHeader: {
|
|
337
|
+
readonly type: BooleanConstructor;
|
|
338
|
+
readonly default: false;
|
|
339
|
+
};
|
|
340
|
+
readonly scrollUnderFooter: {
|
|
341
|
+
readonly type: BooleanConstructor;
|
|
342
|
+
readonly default: false;
|
|
343
|
+
};
|
|
254
344
|
readonly width: {
|
|
255
345
|
readonly type: StringConstructor;
|
|
256
346
|
readonly default: "300px";
|
|
@@ -259,13 +349,25 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
259
349
|
readonly type: import('vue').PropType<"left" | "right">;
|
|
260
350
|
readonly default: "left";
|
|
261
351
|
};
|
|
262
|
-
}>> & Readonly<{}>, {
|
|
352
|
+
}>> & Readonly<{}>, {
|
|
353
|
+
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
354
|
+
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
355
|
+
getPlaceholderHeights: () => {
|
|
356
|
+
header: number;
|
|
357
|
+
footer: number;
|
|
358
|
+
};
|
|
359
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
263
360
|
readonly width: string;
|
|
264
361
|
readonly position: "right" | "left";
|
|
265
362
|
readonly dividerColor: string;
|
|
266
363
|
readonly dividerType: import('.').LayoutDividerType;
|
|
267
364
|
readonly dividerVariant: import('.').LayoutDividerVariant;
|
|
268
|
-
|
|
365
|
+
readonly scrollUnderHeader: boolean;
|
|
366
|
+
readonly scrollUnderFooter: boolean;
|
|
367
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
368
|
+
sidebarHeaderPlaceholderRef: HTMLDivElement;
|
|
369
|
+
sidebarFooterPlaceholderRef: HTMLDivElement;
|
|
370
|
+
}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
269
371
|
P: {};
|
|
270
372
|
B: {};
|
|
271
373
|
D: {};
|
|
@@ -285,6 +387,14 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
285
387
|
readonly type: import('vue').PropType<import('.').LayoutDividerVariant>;
|
|
286
388
|
readonly default: "solid";
|
|
287
389
|
};
|
|
390
|
+
readonly scrollUnderHeader: {
|
|
391
|
+
readonly type: BooleanConstructor;
|
|
392
|
+
readonly default: false;
|
|
393
|
+
};
|
|
394
|
+
readonly scrollUnderFooter: {
|
|
395
|
+
readonly type: BooleanConstructor;
|
|
396
|
+
readonly default: false;
|
|
397
|
+
};
|
|
288
398
|
readonly width: {
|
|
289
399
|
readonly type: StringConstructor;
|
|
290
400
|
readonly default: "300px";
|
|
@@ -293,12 +403,21 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
293
403
|
readonly type: import('vue').PropType<"left" | "right">;
|
|
294
404
|
readonly default: "left";
|
|
295
405
|
};
|
|
296
|
-
}>> & Readonly<{}>, {
|
|
406
|
+
}>> & Readonly<{}>, {
|
|
407
|
+
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
408
|
+
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
409
|
+
getPlaceholderHeights: () => {
|
|
410
|
+
header: number;
|
|
411
|
+
footer: number;
|
|
412
|
+
};
|
|
413
|
+
}, {}, {}, {}, {
|
|
297
414
|
readonly width: string;
|
|
298
415
|
readonly position: "right" | "left";
|
|
299
416
|
readonly dividerColor: string;
|
|
300
417
|
readonly dividerType: import('.').LayoutDividerType;
|
|
301
418
|
readonly dividerVariant: import('.').LayoutDividerVariant;
|
|
419
|
+
readonly scrollUnderHeader: boolean;
|
|
420
|
+
readonly scrollUnderFooter: boolean;
|
|
302
421
|
}>;
|
|
303
422
|
__isFragment?: never;
|
|
304
423
|
__isTeleport?: never;
|
|
@@ -316,6 +435,14 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
316
435
|
readonly type: import('vue').PropType<import('.').LayoutDividerVariant>;
|
|
317
436
|
readonly default: "solid";
|
|
318
437
|
};
|
|
438
|
+
readonly scrollUnderHeader: {
|
|
439
|
+
readonly type: BooleanConstructor;
|
|
440
|
+
readonly default: false;
|
|
441
|
+
};
|
|
442
|
+
readonly scrollUnderFooter: {
|
|
443
|
+
readonly type: BooleanConstructor;
|
|
444
|
+
readonly default: false;
|
|
445
|
+
};
|
|
319
446
|
readonly width: {
|
|
320
447
|
readonly type: StringConstructor;
|
|
321
448
|
readonly default: "300px";
|
|
@@ -324,12 +451,21 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
324
451
|
readonly type: import('vue').PropType<"left" | "right">;
|
|
325
452
|
readonly default: "left";
|
|
326
453
|
};
|
|
327
|
-
}>> & Readonly<{}>, {
|
|
454
|
+
}>> & Readonly<{}>, {
|
|
455
|
+
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
456
|
+
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
457
|
+
getPlaceholderHeights: () => {
|
|
458
|
+
header: number;
|
|
459
|
+
footer: number;
|
|
460
|
+
};
|
|
461
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
328
462
|
readonly width: string;
|
|
329
463
|
readonly position: "right" | "left";
|
|
330
464
|
readonly dividerColor: string;
|
|
331
465
|
readonly dividerType: import('.').LayoutDividerType;
|
|
332
466
|
readonly dividerVariant: import('.').LayoutDividerVariant;
|
|
467
|
+
readonly scrollUnderHeader: boolean;
|
|
468
|
+
readonly scrollUnderFooter: boolean;
|
|
333
469
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
334
470
|
$slots: {
|
|
335
471
|
default?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../container/index.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyB,CAAA;AACjD,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../container/index.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyB,CAAA;AACjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAA;AACvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqB,CAAA;AAEzC,eAAe,WAAW,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,YAAY,EACR,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,eAAe,GAClB,MAAM,gBAAgB,CAAA"}
|
|
@@ -3,7 +3,10 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
6
|
+
refs: {
|
|
7
|
+
sidebarHeaderPlaceholderRef: HTMLDivElement;
|
|
8
|
+
sidebarFooterPlaceholderRef: HTMLDivElement;
|
|
9
|
+
};
|
|
7
10
|
rootEl: HTMLElement;
|
|
8
11
|
};
|
|
9
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -20,6 +23,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
20
23
|
readonly type: import('vue').PropType<import('./container').LayoutDividerVariant>;
|
|
21
24
|
readonly default: "solid";
|
|
22
25
|
};
|
|
26
|
+
readonly scrollUnderHeader: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: false;
|
|
29
|
+
};
|
|
30
|
+
readonly scrollUnderFooter: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly default: false;
|
|
33
|
+
};
|
|
23
34
|
readonly width: {
|
|
24
35
|
readonly type: StringConstructor;
|
|
25
36
|
readonly default: "300px";
|
|
@@ -28,7 +39,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
39
|
readonly type: import('vue').PropType<"left" | "right">;
|
|
29
40
|
readonly default: "left";
|
|
30
41
|
};
|
|
31
|
-
}>, {
|
|
42
|
+
}>, {
|
|
43
|
+
/** @description sidebar 顶部占位块元素 */
|
|
44
|
+
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
45
|
+
/** @description sidebar 底部占位块元素 */
|
|
46
|
+
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
47
|
+
/** @description 获取 sidebar 占位块高度(px) */
|
|
48
|
+
getPlaceholderHeights: () => {
|
|
49
|
+
header: number;
|
|
50
|
+
footer: number;
|
|
51
|
+
};
|
|
52
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
53
|
readonly dividerType: {
|
|
33
54
|
readonly type: import('vue').PropType<import('./container').LayoutDividerType>;
|
|
34
55
|
readonly default: "default";
|
|
@@ -41,6 +62,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
41
62
|
readonly type: import('vue').PropType<import('./container').LayoutDividerVariant>;
|
|
42
63
|
readonly default: "solid";
|
|
43
64
|
};
|
|
65
|
+
readonly scrollUnderHeader: {
|
|
66
|
+
readonly type: BooleanConstructor;
|
|
67
|
+
readonly default: false;
|
|
68
|
+
};
|
|
69
|
+
readonly scrollUnderFooter: {
|
|
70
|
+
readonly type: BooleanConstructor;
|
|
71
|
+
readonly default: false;
|
|
72
|
+
};
|
|
44
73
|
readonly width: {
|
|
45
74
|
readonly type: StringConstructor;
|
|
46
75
|
readonly default: "300px";
|
|
@@ -55,7 +84,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
55
84
|
readonly dividerColor: string;
|
|
56
85
|
readonly dividerType: import('./container').LayoutDividerType;
|
|
57
86
|
readonly dividerVariant: import('./container').LayoutDividerVariant;
|
|
58
|
-
|
|
87
|
+
readonly scrollUnderHeader: boolean;
|
|
88
|
+
readonly scrollUnderFooter: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
90
|
+
sidebarHeaderPlaceholderRef: HTMLDivElement;
|
|
91
|
+
sidebarFooterPlaceholderRef: HTMLDivElement;
|
|
92
|
+
}, HTMLElement>;
|
|
59
93
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
60
94
|
export default _default;
|
|
61
95
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aside.vue.d.ts","sourceRoot":"","sources":["../../../container/src/aside.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aside.vue.d.ts","sourceRoot":"","sources":["../../../container/src/aside.vue"],"names":[],"mappings":"AAmJA,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAlHnB,mCAAmC;;IAEnC,mCAAmC;;IAEnC,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAuHxC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -115,6 +115,28 @@ export declare const footerProps: {
|
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
117
|
export type FooterProps = ExtractPropTypes<typeof footerProps>;
|
|
118
|
+
/**
|
|
119
|
+
* CpMain 组件 Props
|
|
120
|
+
*/
|
|
121
|
+
export declare const mainProps: {
|
|
122
|
+
/**
|
|
123
|
+
* 允许内容滚动到 Header 背后
|
|
124
|
+
* @default false
|
|
125
|
+
*/
|
|
126
|
+
readonly scrollUnderHeader: {
|
|
127
|
+
readonly type: BooleanConstructor;
|
|
128
|
+
readonly default: false;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* 允许内容滚动到 Footer 背后
|
|
132
|
+
* @default false
|
|
133
|
+
*/
|
|
134
|
+
readonly scrollUnderFooter: {
|
|
135
|
+
readonly type: BooleanConstructor;
|
|
136
|
+
readonly default: false;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export type MainProps = ExtractPropTypes<typeof mainProps>;
|
|
118
140
|
/**
|
|
119
141
|
* CpAside 组件 Props
|
|
120
142
|
*/
|
|
@@ -143,6 +165,22 @@ export declare const asideProps: {
|
|
|
143
165
|
readonly type: PropType<LayoutDividerVariant>;
|
|
144
166
|
readonly default: "solid";
|
|
145
167
|
};
|
|
168
|
+
/**
|
|
169
|
+
* 允许内容滚动到 Header 背后
|
|
170
|
+
* @default false
|
|
171
|
+
*/
|
|
172
|
+
readonly scrollUnderHeader: {
|
|
173
|
+
readonly type: BooleanConstructor;
|
|
174
|
+
readonly default: false;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* 允许内容滚动到 Footer 背后
|
|
178
|
+
* @default false
|
|
179
|
+
*/
|
|
180
|
+
readonly scrollUnderFooter: {
|
|
181
|
+
readonly type: BooleanConstructor;
|
|
182
|
+
readonly default: false;
|
|
183
|
+
};
|
|
146
184
|
/**
|
|
147
185
|
* 侧边栏宽度
|
|
148
186
|
* @default '300px'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../container/src/container.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAA;AAE1D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAEhG;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../container/src/container.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,UAAU,CAAA;AAE1D;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAEhG;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CAAA;AAsDhE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc;IACvB;;;OAGG;;uBAEiB,QAAQ,CAAC,kBAAkB,CAAC;;;CAG1C,CAAA;AAEV,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpE;;GAEG;AACH,eAAO,MAAM,WAAW;IAzDpB;;;OAGG;;uBAEiB,QAAQ,CAAC,iBAAiB,CAAC;;;IAG/C;;;OAGG;;;;;IAKH;;;OAGG;;uBAEiB,QAAQ,CAAC,oBAAoB,CAAC;;;IAqClD;;;OAGG;;;;;CAMG,CAAA;AAEV,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,WAAW,CAAC,CAAA;AAE9D;;GAEG;AACH,eAAO,MAAM,WAAW;IA1EpB;;;OAGG;;uBAEiB,QAAQ,CAAC,iBAAiB,CAAC;;;IAG/C;;;OAGG;;;;;IAKH;;;OAGG;;uBAEiB,QAAQ,CAAC,oBAAoB,CAAC;;;IAsDlD;;;OAGG;;;;;CAMG,CAAA;AAEV,MAAM,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,WAAW,CAAC,CAAA;AAE9D;;GAEG;AACH,eAAO,MAAM,SAAS;IAjHlB;;;OAGG;;;;;IAKH;;;OAGG;;;;;CAwGG,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC,OAAO,SAAS,CAAC,CAAA;AAE1D;;GAEG;AACH,eAAO,MAAM,UAAU;IApGnB;;;OAGG;;uBAEiB,QAAQ,CAAC,iBAAiB,CAAC;;;IAG/C;;;OAGG;;;;;IAKH;;;OAGG;;uBAEiB,QAAQ,CAAC,oBAAoB,CAAC;;;IA3ClD;;;OAGG;;;;;IAKH;;;OAGG;;;;;IAgHH;;;OAGG;;;;;IAKH;;;OAGG;;uBAEiB,QAAQ,CAAC,MAAM,GAAG,OAAO,CAAC;;;CAKxC,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC,OAAO,UAAU,CAAC,CAAA"}
|
|
@@ -3,7 +3,9 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
6
|
+
refs: {
|
|
7
|
+
footerRef: HTMLElement;
|
|
8
|
+
};
|
|
7
9
|
rootEl: HTMLElement;
|
|
8
10
|
};
|
|
9
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -24,7 +26,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
24
26
|
readonly type: StringConstructor;
|
|
25
27
|
readonly default: "60px";
|
|
26
28
|
};
|
|
27
|
-
}>, {
|
|
29
|
+
}>, {
|
|
30
|
+
/** @description footer 元素 */
|
|
31
|
+
footerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
|
+
/** @description 获取当前 footer 高度(px) */
|
|
33
|
+
getHeight: () => number;
|
|
34
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
35
|
readonly dividerType: {
|
|
29
36
|
readonly type: import('vue').PropType<import('./container').LayoutDividerType>;
|
|
30
37
|
readonly default: "default";
|
|
@@ -46,7 +53,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
46
53
|
readonly dividerColor: string;
|
|
47
54
|
readonly dividerType: import('./container').LayoutDividerType;
|
|
48
55
|
readonly dividerVariant: import('./container').LayoutDividerVariant;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
57
|
+
footerRef: HTMLElement;
|
|
58
|
+
}, HTMLElement>;
|
|
50
59
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
60
|
export default _default;
|
|
52
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.vue.d.ts","sourceRoot":"","sources":["../../../container/src/footer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"footer.vue.d.ts","sourceRoot":"","sources":["../../../container/src/footer.vue"],"names":[],"mappings":"AAsHA,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;IAxEnB,6BAA6B;;IAE7B,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;eA+EtC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -3,7 +3,9 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
6
|
+
refs: {
|
|
7
|
+
headerRef: HTMLElement;
|
|
8
|
+
};
|
|
7
9
|
rootEl: HTMLElement;
|
|
8
10
|
};
|
|
9
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -24,7 +26,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
24
26
|
readonly type: StringConstructor;
|
|
25
27
|
readonly default: "60px";
|
|
26
28
|
};
|
|
27
|
-
}>, {
|
|
29
|
+
}>, {
|
|
30
|
+
/** @description header 元素 */
|
|
31
|
+
headerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
|
+
/** @description 获取当前 header 高度(px) */
|
|
33
|
+
getHeight: () => number;
|
|
34
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
35
|
readonly dividerType: {
|
|
29
36
|
readonly type: import('vue').PropType<import('./container').LayoutDividerType>;
|
|
30
37
|
readonly default: "default";
|
|
@@ -46,7 +53,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
46
53
|
readonly dividerColor: string;
|
|
47
54
|
readonly dividerType: import('./container').LayoutDividerType;
|
|
48
55
|
readonly dividerVariant: import('./container').LayoutDividerVariant;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
57
|
+
headerRef: HTMLElement;
|
|
58
|
+
}, HTMLElement>;
|
|
50
59
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
60
|
export default _default;
|
|
52
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.vue.d.ts","sourceRoot":"","sources":["../../../container/src/header.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"header.vue.d.ts","sourceRoot":"","sources":["../../../container/src/header.vue"],"names":[],"mappings":"AAsHA,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;IAxEnB,6BAA6B;;IAE7B,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;eA+EtC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -3,11 +3,48 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
6
|
+
refs: {
|
|
7
|
+
bodyHeaderPlaceholderRef: HTMLDivElement;
|
|
8
|
+
bodyFooterPlaceholderRef: HTMLDivElement;
|
|
9
|
+
};
|
|
7
10
|
rootEl: HTMLElement;
|
|
8
11
|
};
|
|
9
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
readonly scrollUnderHeader: {
|
|
15
|
+
readonly type: BooleanConstructor;
|
|
16
|
+
readonly default: false;
|
|
17
|
+
};
|
|
18
|
+
readonly scrollUnderFooter: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
/** @description body 顶部占位块元素 */
|
|
24
|
+
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
25
|
+
/** @description body 底部占位块元素 */
|
|
26
|
+
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
27
|
+
/** @description 获取 body 占位块高度(px) */
|
|
28
|
+
getPlaceholderHeights: () => {
|
|
29
|
+
header: number;
|
|
30
|
+
footer: number;
|
|
31
|
+
};
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
readonly scrollUnderHeader: {
|
|
34
|
+
readonly type: BooleanConstructor;
|
|
35
|
+
readonly default: false;
|
|
36
|
+
};
|
|
37
|
+
readonly scrollUnderFooter: {
|
|
38
|
+
readonly type: BooleanConstructor;
|
|
39
|
+
readonly default: false;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
readonly scrollUnderHeader: boolean;
|
|
43
|
+
readonly scrollUnderFooter: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
45
|
+
bodyHeaderPlaceholderRef: HTMLDivElement;
|
|
46
|
+
bodyFooterPlaceholderRef: HTMLDivElement;
|
|
47
|
+
}, HTMLElement>;
|
|
11
48
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
49
|
export default _default;
|
|
13
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.vue.d.ts","sourceRoot":"","sources":["../../../container/src/main.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.vue.d.ts","sourceRoot":"","sources":["../../../container/src/main.vue"],"names":[],"mappings":"AAuGA,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;IA/EnB,gCAAgC;;IAEhC,gCAAgC;;IAEhC,qCAAqC;;;;;;;;;;;;;;;;;;;;eAoFrC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|