sprintify-ui 0.6.56 → 0.6.58
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/sprintify-ui.es.js
CHANGED
|
@@ -44271,7 +44271,7 @@ function Ab(n) {
|
|
|
44271
44271
|
function g5(n) {
|
|
44272
44272
|
return n == "sm" ? "px-1 py-0.5" : n == "md" ? "px-2 py-2" : n == "lg" ? "px-4 py-3" : "";
|
|
44273
44273
|
}
|
|
44274
|
-
const v5 =
|
|
44274
|
+
const v5 = ["align", "colspan"], y5 = /* @__PURE__ */ be({
|
|
44275
44275
|
inheritAttrs: !1,
|
|
44276
44276
|
__name: "BaseTableCell",
|
|
44277
44277
|
props: {
|
|
@@ -44279,6 +44279,8 @@ const v5 = { class: "p-0 border-b border-slate-200" }, y5 = /* @__PURE__ */ be({
|
|
|
44279
44279
|
to: { default: void 0 },
|
|
44280
44280
|
target: { default: void 0 },
|
|
44281
44281
|
title: { default: void 0 },
|
|
44282
|
+
align: { default: void 0 },
|
|
44283
|
+
colspan: { default: void 0 },
|
|
44282
44284
|
class: { type: [Array, String, null, Number, Boolean], default: void 0 }
|
|
44283
44285
|
},
|
|
44284
44286
|
setup(n) {
|
|
@@ -44300,7 +44302,11 @@ const v5 = { class: "p-0 border-b border-slate-200" }, y5 = /* @__PURE__ */ be({
|
|
|
44300
44302
|
t.class
|
|
44301
44303
|
);
|
|
44302
44304
|
});
|
|
44303
|
-
return (c, p) => (B(), K("td",
|
|
44305
|
+
return (c, p) => (B(), K("td", {
|
|
44306
|
+
class: "p-0 border-b border-slate-200",
|
|
44307
|
+
align: c.align,
|
|
44308
|
+
colspan: c.colspan
|
|
44309
|
+
}, [
|
|
44304
44310
|
(B(), De(In(C(s)), {
|
|
44305
44311
|
class: de(C(d)),
|
|
44306
44312
|
to: C(l).to,
|
|
@@ -44313,7 +44319,7 @@ const v5 = { class: "p-0 border-b border-slate-200" }, y5 = /* @__PURE__ */ be({
|
|
|
44313
44319
|
]),
|
|
44314
44320
|
_: 3
|
|
44315
44321
|
}, 8, ["class", "to", "href", "title", "target"]))
|
|
44316
|
-
]));
|
|
44322
|
+
], 8, v5));
|
|
44317
44323
|
}
|
|
44318
44324
|
}), b5 = /* @__PURE__ */ be({
|
|
44319
44325
|
__name: "BaseTableHead",
|
|
@@ -44328,11 +44334,13 @@ const v5 = { class: "p-0 border-b border-slate-200" }, y5 = /* @__PURE__ */ be({
|
|
|
44328
44334
|
Ne(r.$slots, "default")
|
|
44329
44335
|
]));
|
|
44330
44336
|
}
|
|
44331
|
-
}), w5 =
|
|
44337
|
+
}), w5 = ["align", "colspan"], x5 = /* @__PURE__ */ be({
|
|
44332
44338
|
inheritAttrs: !1,
|
|
44333
44339
|
__name: "BaseTableHeader",
|
|
44334
44340
|
props: {
|
|
44335
|
-
class: { type: [Array, String, null, Number, Boolean], default: void 0 }
|
|
44341
|
+
class: { type: [Array, String, null, Number, Boolean], default: void 0 },
|
|
44342
|
+
align: { default: void 0 },
|
|
44343
|
+
colspan: { default: void 0 }
|
|
44336
44344
|
},
|
|
44337
44345
|
setup(n) {
|
|
44338
44346
|
const t = n, e = pt("BaseTable");
|
|
@@ -44353,13 +44361,17 @@ const v5 = { class: "p-0 border-b border-slate-200" }, y5 = /* @__PURE__ */ be({
|
|
|
44353
44361
|
t.class
|
|
44354
44362
|
);
|
|
44355
44363
|
});
|
|
44356
|
-
return (a, l) => (B(), K("th",
|
|
44364
|
+
return (a, l) => (B(), K("th", {
|
|
44365
|
+
class: "p-0 border-b border-slate-200",
|
|
44366
|
+
align: a.align,
|
|
44367
|
+
colspan: a.colspan
|
|
44368
|
+
}, [
|
|
44357
44369
|
j("div", {
|
|
44358
44370
|
class: de(C(o))
|
|
44359
44371
|
}, [
|
|
44360
44372
|
Ne(a.$slots, "default")
|
|
44361
44373
|
], 2)
|
|
44362
|
-
]));
|
|
44374
|
+
], 8, w5));
|
|
44363
44375
|
}
|
|
44364
44376
|
}), E5 = /* @__PURE__ */ be({
|
|
44365
44377
|
__name: "BaseTableRow",
|
|
@@ -21,6 +21,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
21
|
type: import("vue").PropType<string>;
|
|
22
22
|
default: undefined;
|
|
23
23
|
};
|
|
24
|
+
align: {
|
|
25
|
+
type: import("vue").PropType<"left" | "right" | "center">;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
colspan: {
|
|
29
|
+
type: import("vue").PropType<number>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
24
32
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
33
|
class: {
|
|
26
34
|
type: import("vue").PropType<string | false | 0 | ClassNameValue[] | null>;
|
|
@@ -42,12 +50,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
42
50
|
type: import("vue").PropType<string>;
|
|
43
51
|
default: undefined;
|
|
44
52
|
};
|
|
53
|
+
align: {
|
|
54
|
+
type: import("vue").PropType<"left" | "right" | "center">;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
colspan: {
|
|
58
|
+
type: import("vue").PropType<number>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
45
61
|
}>>, {
|
|
46
62
|
class: string | false | 0 | ClassNameValue[] | null;
|
|
47
63
|
title: string;
|
|
48
64
|
to: RouteLocationRaw;
|
|
49
65
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
50
66
|
href: string;
|
|
67
|
+
align: "left" | "right" | "center";
|
|
68
|
+
colspan: number;
|
|
51
69
|
}, {}>, {
|
|
52
70
|
default?(_: {}): any;
|
|
53
71
|
}>;
|
|
@@ -4,13 +4,31 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<string | false | 0 | ClassNameValue[] | null>;
|
|
5
5
|
default: undefined;
|
|
6
6
|
};
|
|
7
|
+
align: {
|
|
8
|
+
type: import("vue").PropType<"left" | "right" | "center">;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
colspan: {
|
|
12
|
+
type: import("vue").PropType<number>;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
7
15
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
16
|
class: {
|
|
9
17
|
type: import("vue").PropType<string | false | 0 | ClassNameValue[] | null>;
|
|
10
18
|
default: undefined;
|
|
11
19
|
};
|
|
20
|
+
align: {
|
|
21
|
+
type: import("vue").PropType<"left" | "right" | "center">;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
colspan: {
|
|
25
|
+
type: import("vue").PropType<number>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
12
28
|
}>>, {
|
|
13
29
|
class: string | false | 0 | ClassNameValue[] | null;
|
|
30
|
+
align: "left" | "right" | "center";
|
|
31
|
+
colspan: number;
|
|
14
32
|
}, {}>, {
|
|
15
33
|
default?(_: {}): any;
|
|
16
34
|
}>;
|
package/package.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<td
|
|
2
|
+
<td
|
|
3
|
+
class="p-0 border-b border-slate-200"
|
|
4
|
+
:align="align"
|
|
5
|
+
:colspan="colspan"
|
|
6
|
+
>
|
|
3
7
|
<component
|
|
4
8
|
:is="componentName"
|
|
5
9
|
:class="classes"
|
|
@@ -40,12 +44,16 @@ const props = withDefaults(defineProps<{
|
|
|
40
44
|
to?: RouteLocationRaw,
|
|
41
45
|
target?: '_blank' | '_self' | '_parent' | '_top',
|
|
42
46
|
title?: string,
|
|
47
|
+
align?: 'left' | 'center' | 'right',
|
|
48
|
+
colspan?: number,
|
|
43
49
|
class?: ClassNameValue,
|
|
44
50
|
}>(), {
|
|
45
51
|
href: undefined,
|
|
46
52
|
to: undefined,
|
|
47
53
|
target: undefined,
|
|
48
54
|
title: undefined,
|
|
55
|
+
align: undefined,
|
|
56
|
+
colspan: undefined,
|
|
49
57
|
class: undefined,
|
|
50
58
|
});
|
|
51
59
|
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<th
|
|
2
|
+
<th
|
|
3
|
+
class="p-0 border-b border-slate-200"
|
|
4
|
+
:align="align"
|
|
5
|
+
:colspan="colspan"
|
|
6
|
+
>
|
|
3
7
|
<div :class="classes">
|
|
4
8
|
<slot />
|
|
5
9
|
</div>
|
|
@@ -25,8 +29,12 @@ defineOptions({
|
|
|
25
29
|
|
|
26
30
|
const props = withDefaults(defineProps<{
|
|
27
31
|
class?: ClassNameValue,
|
|
32
|
+
align?: 'left' | 'center' | 'right',
|
|
33
|
+
colspan?: number,
|
|
28
34
|
}>(), {
|
|
29
35
|
class: undefined,
|
|
36
|
+
align: undefined,
|
|
37
|
+
colspan: undefined,
|
|
30
38
|
});
|
|
31
39
|
|
|
32
40
|
const cellConfig = computed<CellConfig>(() => {
|