@reinosoft-ui/core 0.1.45 → 0.1.46
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.
|
@@ -13,7 +13,9 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
} & {
|
|
14
14
|
default?: (props: typeof __VLS_14) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
size: "sm" | "md" | "lg";
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
20
|
declare const _default: typeof __VLS_export;
|
|
19
21
|
export default _default;
|
|
@@ -3,6 +3,12 @@ type __VLS_Props = {
|
|
|
3
3
|
orientation?: 'horizontal' | 'vertical';
|
|
4
4
|
icons?: StepIcons;
|
|
5
5
|
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
tagTitles?: {
|
|
7
|
+
completed?: string;
|
|
8
|
+
active?: string;
|
|
9
|
+
error?: string;
|
|
10
|
+
pending?: string;
|
|
11
|
+
};
|
|
6
12
|
};
|
|
7
13
|
type __VLS_ModelProps = {
|
|
8
14
|
modelValue?: number;
|
|
@@ -15,6 +21,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
15
21
|
}>, {
|
|
16
22
|
size: "sm" | "md" | "lg";
|
|
17
23
|
orientation: "horizontal" | "vertical";
|
|
24
|
+
tagTitles: {
|
|
25
|
+
completed?: string;
|
|
26
|
+
active?: string;
|
|
27
|
+
error?: string;
|
|
28
|
+
pending?: string;
|
|
29
|
+
};
|
|
18
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
31
|
declare const _default: typeof __VLS_export;
|
|
20
32
|
export default _default;
|
package/dist/reinosoft-ui.es.js
CHANGED
|
@@ -4346,7 +4346,7 @@ const pl = {
|
|
|
4346
4346
|
title: {},
|
|
4347
4347
|
status: {},
|
|
4348
4348
|
icon: {},
|
|
4349
|
-
size: {}
|
|
4349
|
+
size: { default: "sm" }
|
|
4350
4350
|
},
|
|
4351
4351
|
setup(e) {
|
|
4352
4352
|
const o = e, t = se("StepsContext");
|
|
@@ -4380,13 +4380,13 @@ const pl = {
|
|
|
4380
4380
|
}), m = I(() => o.size ?? t.size ?? "sm"), B = I(() => {
|
|
4381
4381
|
switch (u.value) {
|
|
4382
4382
|
case "completed":
|
|
4383
|
-
return
|
|
4383
|
+
return t.tagTitles.completed;
|
|
4384
4384
|
case "active":
|
|
4385
|
-
return
|
|
4385
|
+
return t.tagTitles.active;
|
|
4386
4386
|
case "error":
|
|
4387
|
-
return
|
|
4387
|
+
return t.tagTitles.error;
|
|
4388
4388
|
default:
|
|
4389
|
-
return
|
|
4389
|
+
return t.tagTitles.pending;
|
|
4390
4390
|
}
|
|
4391
4391
|
});
|
|
4392
4392
|
W(
|
|
@@ -4503,7 +4503,7 @@ const pl = {
|
|
|
4503
4503
|
])
|
|
4504
4504
|
], 42, Ko));
|
|
4505
4505
|
}
|
|
4506
|
-
}), yl = /* @__PURE__ */ K(Qo, [["__scopeId", "data-v-
|
|
4506
|
+
}), yl = /* @__PURE__ */ K(Qo, [["__scopeId", "data-v-22b83230"]]), en = /* @__PURE__ */ T({
|
|
4507
4507
|
__name: "StepsItem",
|
|
4508
4508
|
props: {
|
|
4509
4509
|
index: {}
|
|
@@ -4520,7 +4520,13 @@ const pl = {
|
|
|
4520
4520
|
props: /* @__PURE__ */ te({
|
|
4521
4521
|
orientation: { default: "horizontal" },
|
|
4522
4522
|
icons: {},
|
|
4523
|
-
size: { default: "sm" }
|
|
4523
|
+
size: { default: "sm" },
|
|
4524
|
+
tagTitles: { default: () => ({
|
|
4525
|
+
completed: "Completed",
|
|
4526
|
+
active: "In Progress",
|
|
4527
|
+
error: "Error",
|
|
4528
|
+
pending: "Pending"
|
|
4529
|
+
}) }
|
|
4524
4530
|
}, {
|
|
4525
4531
|
modelValue: {
|
|
4526
4532
|
type: Number,
|
|
@@ -4606,7 +4612,8 @@ const pl = {
|
|
|
4606
4612
|
focusNext: x,
|
|
4607
4613
|
focusPrev: _,
|
|
4608
4614
|
focusFirst: R,
|
|
4609
|
-
focusLast: V
|
|
4615
|
+
focusLast: V,
|
|
4616
|
+
tagTitles: o.tagTitles
|
|
4610
4617
|
}), (D, $) => (v(), p(ae, null, [
|
|
4611
4618
|
M("ol", {
|
|
4612
4619
|
ref_key: "stepsRef",
|
|
@@ -4646,7 +4653,7 @@ const pl = {
|
|
|
4646
4653
|
M("div", on, " Step " + N(l.value + 1) + " of " + N(t.value) + ": " + N(k.value), 1)
|
|
4647
4654
|
], 64));
|
|
4648
4655
|
}
|
|
4649
|
-
}), bl = /* @__PURE__ */ K(nn, [["__scopeId", "data-v-
|
|
4656
|
+
}), bl = /* @__PURE__ */ K(nn, [["__scopeId", "data-v-2fa0f578"]]), ln = ["data-align"], rn = /* @__PURE__ */ T({
|
|
4650
4657
|
__name: "Timeline",
|
|
4651
4658
|
props: {
|
|
4652
4659
|
align: { default: "left" }
|