@reinosoft-ui/core 0.1.45 → 0.1.47
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
|
@@ -2818,6 +2818,10 @@ const K2 = {
|
|
|
2818
2818
|
W(
|
|
2819
2819
|
() => t.value,
|
|
2820
2820
|
() => ee()
|
|
2821
|
+
), W(
|
|
2822
|
+
() => a.options,
|
|
2823
|
+
() => ee(),
|
|
2824
|
+
{ deep: !0 }
|
|
2821
2825
|
);
|
|
2822
2826
|
const R = (Z) => {
|
|
2823
2827
|
l.value = !0, n("focus", Z);
|
|
@@ -2964,7 +2968,7 @@ const K2 = {
|
|
|
2964
2968
|
}, null, 8, ["invalid", "errorMessage"])
|
|
2965
2969
|
], 2));
|
|
2966
2970
|
}
|
|
2967
|
-
}), rl = /* @__PURE__ */ K(ya, [["__scopeId", "data-v-
|
|
2971
|
+
}), rl = /* @__PURE__ */ K(ya, [["__scopeId", "data-v-f83fcb41"]]), ba = ["aria-label"], ka = ["onKeydown"], wa = {
|
|
2968
2972
|
key: 1,
|
|
2969
2973
|
class: "rs-gallery-thumbs"
|
|
2970
2974
|
}, Ma = ["aria-selected"], xa = ["onClick"], La = /* @__PURE__ */ T({
|
|
@@ -4346,7 +4350,7 @@ const pl = {
|
|
|
4346
4350
|
title: {},
|
|
4347
4351
|
status: {},
|
|
4348
4352
|
icon: {},
|
|
4349
|
-
size: {}
|
|
4353
|
+
size: { default: "sm" }
|
|
4350
4354
|
},
|
|
4351
4355
|
setup(e) {
|
|
4352
4356
|
const o = e, t = se("StepsContext");
|
|
@@ -4380,13 +4384,13 @@ const pl = {
|
|
|
4380
4384
|
}), m = I(() => o.size ?? t.size ?? "sm"), B = I(() => {
|
|
4381
4385
|
switch (u.value) {
|
|
4382
4386
|
case "completed":
|
|
4383
|
-
return
|
|
4387
|
+
return t.tagTitles.completed;
|
|
4384
4388
|
case "active":
|
|
4385
|
-
return
|
|
4389
|
+
return t.tagTitles.active;
|
|
4386
4390
|
case "error":
|
|
4387
|
-
return
|
|
4391
|
+
return t.tagTitles.error;
|
|
4388
4392
|
default:
|
|
4389
|
-
return
|
|
4393
|
+
return t.tagTitles.pending;
|
|
4390
4394
|
}
|
|
4391
4395
|
});
|
|
4392
4396
|
W(
|
|
@@ -4503,7 +4507,7 @@ const pl = {
|
|
|
4503
4507
|
])
|
|
4504
4508
|
], 42, Ko));
|
|
4505
4509
|
}
|
|
4506
|
-
}), yl = /* @__PURE__ */ K(Qo, [["__scopeId", "data-v-
|
|
4510
|
+
}), yl = /* @__PURE__ */ K(Qo, [["__scopeId", "data-v-22b83230"]]), en = /* @__PURE__ */ T({
|
|
4507
4511
|
__name: "StepsItem",
|
|
4508
4512
|
props: {
|
|
4509
4513
|
index: {}
|
|
@@ -4520,7 +4524,13 @@ const pl = {
|
|
|
4520
4524
|
props: /* @__PURE__ */ te({
|
|
4521
4525
|
orientation: { default: "horizontal" },
|
|
4522
4526
|
icons: {},
|
|
4523
|
-
size: { default: "sm" }
|
|
4527
|
+
size: { default: "sm" },
|
|
4528
|
+
tagTitles: { default: () => ({
|
|
4529
|
+
completed: "Completed",
|
|
4530
|
+
active: "In Progress",
|
|
4531
|
+
error: "Error",
|
|
4532
|
+
pending: "Pending"
|
|
4533
|
+
}) }
|
|
4524
4534
|
}, {
|
|
4525
4535
|
modelValue: {
|
|
4526
4536
|
type: Number,
|
|
@@ -4606,7 +4616,8 @@ const pl = {
|
|
|
4606
4616
|
focusNext: x,
|
|
4607
4617
|
focusPrev: _,
|
|
4608
4618
|
focusFirst: R,
|
|
4609
|
-
focusLast: V
|
|
4619
|
+
focusLast: V,
|
|
4620
|
+
tagTitles: o.tagTitles
|
|
4610
4621
|
}), (D, $) => (v(), p(ae, null, [
|
|
4611
4622
|
M("ol", {
|
|
4612
4623
|
ref_key: "stepsRef",
|
|
@@ -4646,7 +4657,7 @@ const pl = {
|
|
|
4646
4657
|
M("div", on, " Step " + N(l.value + 1) + " of " + N(t.value) + ": " + N(k.value), 1)
|
|
4647
4658
|
], 64));
|
|
4648
4659
|
}
|
|
4649
|
-
}), bl = /* @__PURE__ */ K(nn, [["__scopeId", "data-v-
|
|
4660
|
+
}), bl = /* @__PURE__ */ K(nn, [["__scopeId", "data-v-2fa0f578"]]), ln = ["data-align"], rn = /* @__PURE__ */ T({
|
|
4650
4661
|
__name: "Timeline",
|
|
4651
4662
|
props: {
|
|
4652
4663
|
align: { default: "left" }
|