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