lkt-step-process 2.0.2 → 2.0.3
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/build.d.ts +3 -3
- package/dist/build.js +137 -100
- package/dist/components/ButtonNav.vue.d.ts +9 -0
- package/dist/config/ButtonNavProps.d.ts +8 -0
- package/dist/lib-components/LktStepProcess.vue.d.ts +1751 -367
- package/package.json +1 -1
- package/src/components/ButtonNav.vue +29 -0
- package/src/lib-components/LktStepProcess.vue +34 -16
package/dist/build.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
declare namespace
|
|
3
|
-
function install(e: any,
|
|
1
|
+
export { dt as default };
|
|
2
|
+
declare namespace dt {
|
|
3
|
+
function install(e: any, r?: {}): void;
|
|
4
4
|
}
|
package/dist/build.js
CHANGED
|
@@ -1,54 +1,93 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as
|
|
1
|
+
var K = Object.defineProperty;
|
|
2
|
+
var Q = (e, r, o) => r in e ? K(e, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[r] = o;
|
|
3
|
+
var i = (e, r, o) => Q(e, typeof r != "symbol" ? r + "" : r, o);
|
|
4
|
+
import { defineComponent as R, resolveComponent as S, createElementBlock as L, openBlock as d, withDirectives as N, createCommentVNode as y, createBlock as B, mergeProps as C, vShow as A, mergeDefaults as J, useSlots as W, ref as g, watch as P, computed as u, onMounted as Y, normalizeClass as Z, normalizeProps as ee, createElementVNode as te, Fragment as ae, renderList as re, renderSlot as ne } from "vue";
|
|
5
5
|
import "lkt-string-tools";
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import "lkt-data-state";
|
|
7
|
+
var oe = ((e) => (e.Button = "button", e.Submit = "submit", e.Reset = "reset", e.Anchor = "anchor", e.Content = "content", e.Switch = "switch", e.HiddenSwitch = "hidden-switch", e.Split = "split", e.SplitLazy = "split-lazy", e.SplitEver = "split-ever", e.Tooltip = "tooltip", e.TooltipLazy = "tooltip-lazy", e.TooltipEver = "tooltip-ever", e.FileUpload = "file-upload", e.ImageUpload = "image-upload", e))(oe || {}), le = ((e) => (e.Text = "text", e.Email = "email", e.Tel = "tel", e.Password = "password", e.Search = "search", e.Number = "number", e.Color = "color", e.Range = "range", e.Textarea = "textarea", e.Html = "html", e.Date = "date", e.Time = "time", e.DateTime = "datetime", e.File = "file", e.Image = "image", e.Select = "select", e.Check = "check", e.Switch = "switch", e.Calc = "calc", e.Card = "card", e.Table = "table", e.Radio = "radio", e.ToggleButtonGroup = "toggle-button-group", e))(le || {}), ie = ["lktDateProps", "lktStrictItem", "lktExcludedProps"], s, ue = (s = class {
|
|
8
|
+
constructor(r) {
|
|
8
9
|
}
|
|
9
|
-
feed(
|
|
10
|
-
if (typeof
|
|
10
|
+
feed(r = {}, o = this) {
|
|
11
|
+
if (typeof r == "object") for (let [a, f] of Object.entries(r)) o.assignProp(a, f);
|
|
11
12
|
}
|
|
12
|
-
assignProp(
|
|
13
|
-
if (!(
|
|
14
|
-
if (
|
|
15
|
-
this[
|
|
13
|
+
assignProp(r, o) {
|
|
14
|
+
if (!(ie.includes(r) || s.lktExcludedProps.includes(r))) {
|
|
15
|
+
if (s.lktDateProps.includes(r)) {
|
|
16
|
+
this[r] = new Date(o);
|
|
16
17
|
return;
|
|
17
18
|
}
|
|
18
|
-
this[
|
|
19
|
+
this[r] = o;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
},
|
|
22
|
-
constructor(
|
|
22
|
+
}, i(s, "lktAllowUndefinedProps", []), i(s, "lktExcludedProps", []), i(s, "lktDateProps", []), i(s, "lktStrictItem", !1), i(s, "lktDefaultValues", []), s), se = ((e) => (e.Auto = "auto", e.Always = "always", e.Lazy = "lazy", e.Ever = "ever", e))(se || {}), de = ((e) => (e.Transform = "transform", e.Height = "height", e.Display = "display", e))(de || {}), ve = ((e) => (e.Href = "href", e.RouterLink = "router-link", e.RouterLinkBack = "router-link-back", e.Mail = "mail", e.Tel = "tel", e.Tab = "tab", e.Download = "download", e.Action = "action", e.Legacy = "", e))(ve || {}), ce = ((e) => (e.Static = "static", e.Parallax = "parallax", e))(ce || {}), pe = ((e) => (e.None = "", e.Field = "field", e.Button = "button", e.Anchor = "anchor", e.InlineDrop = "inline-drop", e.ColumnIndex = "column-index", e))(pe || {}), me = ((e) => (e.Date = "date", e.Number = "number", e.Timer = "timer", e))(me || {}), fe = ((e) => (e.A0 = "a0", e.A1 = "a1", e.A2 = "a2", e.A3 = "a3", e.A4 = "a4", e.A5 = "a5", e.A6 = "a6", e.A7 = "a7", e.A8 = "a8", e.A9 = "a9", e))(fe || {}), he = ((e) => (e.List = "list", e.Inline = "inline", e.Count = "count", e.Table = "table", e))(he || {}), ke = ((e) => (e.HTTPResponse = "http-response", e.MinStringLength = "min-str", e.MinNumber = "min-num", e.MaxStringLength = "max-str", e.MaxNumber = "max-num", e.Email = "email", e.Empty = "empty", e.EqualTo = "equal-to", e.MinNumbers = "min-numbers", e.MaxNumbers = "max-numbers", e.MinChars = "min-chars", e.MaxChars = "max-chars", e.MinUpperChars = "min-upper-chars", e.MaxUpperChars = "max-upper-chars", e.MinLowerChars = "min-lower-chars", e.MaxLowerChars = "max-lower-chars", e.MinSpecialChars = "min-special-chars", e.MaxSpecialChars = "max-special-chars", e))(ke || {}), xe = ((e) => (e.Ok = "ok", e.Ko = "ko", e.Info = "info", e))(xe || {}), ye = ((e) => (e.StorageUnit = "unit", e.Directory = "dir", e.Image = "img", e.Video = "vid", e.File = "file", e))(ye || {}), be = ((e) => (e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e))(be || {}), Be = ((e) => (e.NotDefined = "", e.Button = "button", e))(Be || {}), ge = ((e) => (e.Start = "start", e.End = "end", e))(ge || {}), Le = ((e) => (e.Create = "create", e.Update = "update", e.Read = "read", e))(Le || {}), Ce = ((e) => (e.Inline = "inline", e.Modal = "modal", e))(Ce || {}), D = ((e) => (e.Top = "top", e.Bottom = "bottom", e))(D || {}), H = ((e) => (e.Changed = "changed", e.Always = "always", e.Never = "never", e))(H || {}), Pe = ((e) => (e.Manual = "manual", e.Auto = "auto", e.Delay = "delay", e))(Pe || {}), we = ((e) => (e.Toast = "toast", e.Inline = "inline", e))(we || {}), Se = ((e) => (e.Current = "current", e.Modifications = "modifications", e.SplitView = "split-view", e.Differences = "differences", e))(Se || {}), Ne = ((e) => (e.Anchor = "anchor", e.Button = "button", e.Header = "header", e.Entry = "entry", e))(Ne || {}), Ae = ((e) => (e.Modal = "modal", e.Confirm = "confirm", e))(Ae || {}), De = ((e) => (e.Pages = "pages", e.PrevNext = "prev-next", e.PagesPrevNext = "pages-prev-next", e.PagesPrevNextFirstLast = "pages-prev-next-first-last", e.LoadMore = "load-more", e.Infinite = "infinite", e))(De || {}), He = ((e) => (e.None = "", e.Incremental = "incremental", e.Decremental = "decremental", e))(He || {}), Ie = ((e) => (e.NotDefined = "", e.Hidden = "hidden", e.Integer = "integer", e.Decimal = "decimal", e.Auto = "auto", e))(Ie || {}), w, Me = (w = class extends ue {
|
|
23
|
+
constructor(r = {}) {
|
|
23
24
|
super();
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
this
|
|
25
|
+
i(this, "modelValue", "");
|
|
26
|
+
i(this, "loading", !1);
|
|
27
|
+
i(this, "steps", []);
|
|
28
|
+
i(this, "header", {});
|
|
29
|
+
i(this, "nextButton", {});
|
|
30
|
+
i(this, "prevButton", {});
|
|
31
|
+
i(this, "buttonNavPosition", "top");
|
|
32
|
+
i(this, "buttonNavVisibility", "always");
|
|
33
|
+
this.feed(r);
|
|
31
34
|
}
|
|
32
|
-
},
|
|
33
|
-
function
|
|
34
|
-
let
|
|
35
|
+
}, i(w, "lktDefaultValues", ["modelValue", "loading", "steps", "header"]), w), Te = ((e) => (e.Table = "table", e.Item = "item", e.Ul = "ul", e.Ol = "ol", e.Carousel = "carousel", e.Accordion = "accordion", e))(Te || {}), Ee = ((e) => (e[e.Auto = 0] = "Auto", e[e.PreferItem = 1] = "PreferItem", e[e.PreferCustomItem = 2] = "PreferCustomItem", e[e.PreferColumns = 3] = "PreferColumns", e))(Ee || {}), Re = ((e) => (e.NotDefined = "", e.ActionIcon = "action-icon", e))(Re || {}), Ve = ((e) => (e.Message = "message", e.Button = "button", e))(Ve || {}), Fe = ((e) => (e.Left = "left", e.Center = "center", e.Right = "right", e))(Fe || {}), Xe = ((e) => (e.Fixed = "fixed", e.Absolute = "absolute", e))(Xe || {}), _e = ((e) => (e.Top = "top", e.Bottom = "bottom", e.Center = "center", e.ReferrerCenter = "referrer-center", e))(_e || {}), je = ((e) => (e.Left = "left", e.Right = "right", e.Center = "center", e.LeftCorner = "left-corner", e.RightCorner = "right-corner", e))(je || {}), ze = ((e) => (e.LktAnchor = "lkt-anchor", e.LktLayoutAccordion = "lkt-layout-accordion", e.LktTextAccordion = "lkt-text-accordion", e.LktLayoutBox = "lkt-layout-box", e.LktTextBox = "lkt-text-box", e.LktLayoutBanner = "lkt-layout-banner", e.LktTextBanner = "lkt-text-banner", e.LktButton = "lkt-button", e.LktLayout = "lkt-layout", e.LktHeader = "lkt-header", e.LktIcon = "lkt-icon", e.LktIcons = "lkt-icons", e.LktImage = "lkt-image", e.LktText = "lkt-text", e))(ze || {}), Oe = ((e) => (e.Grid = "grid", e.FlexRow = "flex-row", e.FlexRows = "flex-rows", e.FlexColumn = "flex-column", e))(Oe || {}), Ue = ((e) => (e.Draft = "draft", e.Public = "public", e.Scheduled = "scheduled", e))(Ue || {}), $e = ((e) => (e[e.XXS = 1] = "XXS", e[e.XS = 2] = "XS", e[e.SM = 3] = "SM", e[e.MD = 4] = "MD", e[e.LG = 5] = "LG", e[e.XL = 6] = "XL", e[e.XXL = 7] = "XXL", e))($e || {}), Ge = ((e) => (e.None = "", e.Focus = "focus", e.Blur = "blur", e.Always = "always", e))(Ge || {}), qe = ((e) => (e.Message = "message", e.Inline = "inline", e))(qe || {}), Ke = ((e) => (e.Auto = "auto", e.Local = "local", e.Remote = "remote", e))(Ke || {}), Qe = ((e) => (e.Refresh = "refresh", e.Close = "close", e.ReOpen = "reOpen", e.Exec = "exec", e.Open = "open", e))(Qe || {}), Je = ((e) => (e.Asc = "asc", e.Desc = "desc", e))(Je || {}), We = ((e) => (e.Create = "create", e.Update = "update", e.Edit = "edit", e.Drop = "drop", e.Sort = "sort", e.SwitchEditMode = "switch-edit-mode", e.InlineEdit = "inline-edit", e.InlineCreate = "inline-create", e.ModalCreate = "modal-create", e.InlineCreateEver = "inline-create-ever", e))(We || {}), Ye = ((e) => (e.Lazy = "lazy", e.Ever = "ever", e))(Ye || {}), Ze = ((e) => (e.Page = "page", e.Element = "element", e))(Ze || {}), et = ((e) => (e.Quick = "quick", e.Full = "full", e))(et || {});
|
|
36
|
+
function tt(e) {
|
|
37
|
+
let r = new e(), o = {};
|
|
35
38
|
if (!Array.isArray(e.lktDefaultValues)) throw new Error("lktDefaultValues must be a keys array.");
|
|
36
|
-
for (let
|
|
39
|
+
for (let a of e.lktDefaultValues) a in r && (o[a] = r[a]);
|
|
37
40
|
return o;
|
|
38
41
|
}
|
|
39
|
-
const
|
|
40
|
-
|
|
42
|
+
const at = { class: "lkt-step-process-buttons" }, E = /* @__PURE__ */ R({
|
|
43
|
+
__name: "ButtonNav",
|
|
44
|
+
props: {
|
|
45
|
+
prevButton: { type: [Object, Boolean] },
|
|
46
|
+
nextButton: { type: [Object, Boolean] },
|
|
47
|
+
isLoading: { type: Boolean },
|
|
48
|
+
prevHidden: { type: Boolean },
|
|
49
|
+
nextHidden: { type: Boolean }
|
|
50
|
+
},
|
|
51
|
+
emits: ["prev", "next"],
|
|
52
|
+
setup(e, { emit: r }) {
|
|
53
|
+
const o = r;
|
|
54
|
+
return (a, f) => {
|
|
55
|
+
const h = S("lkt-button");
|
|
56
|
+
return d(), L("div", at, [
|
|
57
|
+
a.prevButton ? N((d(), B(h, C({
|
|
58
|
+
key: 0,
|
|
59
|
+
ref: "prevButtonRef"
|
|
60
|
+
}, a.prevButton, {
|
|
61
|
+
onClick: f[0] || (f[0] = (m) => o("prev"))
|
|
62
|
+
}), null, 16)), [
|
|
63
|
+
[A, !a.isLoading && !a.prevHidden]
|
|
64
|
+
]) : y("", !0),
|
|
65
|
+
a.nextButton ? N((d(), B(h, C({
|
|
66
|
+
key: 1,
|
|
67
|
+
ref: "nextButtonRef"
|
|
68
|
+
}, a.nextButton, {
|
|
69
|
+
onClick: f[1] || (f[1] = (m) => o("next"))
|
|
70
|
+
}), null, 16)), [
|
|
71
|
+
[A, !a.isLoading && !a.nextHidden]
|
|
72
|
+
]) : y("", !0)
|
|
73
|
+
]);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}), rt = {
|
|
77
|
+
key: 2,
|
|
41
78
|
class: "lkt-step-process_content"
|
|
42
|
-
},
|
|
79
|
+
}, nt = { class: "lkt-grid-1" }, ot = /* @__PURE__ */ R({
|
|
43
80
|
__name: "LktStepProcess",
|
|
44
|
-
props: /* @__PURE__ */
|
|
81
|
+
props: /* @__PURE__ */ J({
|
|
45
82
|
modelValue: {},
|
|
46
83
|
loading: { type: Boolean },
|
|
47
84
|
steps: {},
|
|
48
85
|
header: {},
|
|
49
86
|
nextButton: {},
|
|
50
|
-
prevButton: {}
|
|
51
|
-
|
|
87
|
+
prevButton: {},
|
|
88
|
+
buttonNavPosition: {},
|
|
89
|
+
buttonNavVisibility: {}
|
|
90
|
+
}, tt(Me)),
|
|
52
91
|
emits: [
|
|
53
92
|
"next",
|
|
54
93
|
"prev",
|
|
@@ -56,96 +95,94 @@ const Qe = { class: "lkt-step-process-buttons" }, We = {
|
|
|
56
95
|
"update:modelValue",
|
|
57
96
|
"update:loading"
|
|
58
97
|
],
|
|
59
|
-
setup(e, { expose:
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
const
|
|
98
|
+
setup(e, { expose: r, emit: o }) {
|
|
99
|
+
const a = e, f = W(), h = o, m = g(a.loading), v = g(a.modelValue), c = g(a.steps), V = g(null), F = g(null);
|
|
100
|
+
P(() => a.loading, (t) => m.value = t), P(() => a.modelValue, (t) => v.value = t), P(m, (t) => h("update:loading", t)), P(v, (t) => h("update:modelValue", t));
|
|
101
|
+
const X = u(() => {
|
|
63
102
|
let t = [];
|
|
64
|
-
for (let l in
|
|
103
|
+
for (let l in f) l.indexOf("step-") !== -1 && t.push(l.substring(5));
|
|
65
104
|
return t;
|
|
66
|
-
}),
|
|
67
|
-
var l,
|
|
68
|
-
if (((l =
|
|
105
|
+
}), b = u(() => c.value.findIndex((t) => t.key === v.value)), n = u(() => c.value[b.value]), _ = u(() => b.value === 0), j = u(() => {
|
|
106
|
+
var l, p, x, k;
|
|
107
|
+
if (((l = n.value) == null ? void 0 : l.prevButton) === !1 || a.prevButton === !1 && !((p = n.value) != null && p.prevButton))
|
|
69
108
|
return !1;
|
|
70
|
-
let t = { ...
|
|
71
|
-
return typeof ((
|
|
72
|
-
}),
|
|
73
|
-
var l,
|
|
74
|
-
if (((l =
|
|
109
|
+
let t = { ...a.prevButton };
|
|
110
|
+
return typeof ((x = n.value) == null ? void 0 : x.prevButton) == "object" && (t = { ...t, ...(k = n.value) == null ? void 0 : k.prevButton }), typeof t.disabled > "u" && (t.disabled = _.value), t;
|
|
111
|
+
}), z = u(() => {
|
|
112
|
+
var l, p, x, k;
|
|
113
|
+
if (((l = n.value) == null ? void 0 : l.nextButton) === !1 || a.nextButton === !1 && !((p = n.value) != null && p.nextButton))
|
|
75
114
|
return !1;
|
|
76
|
-
let t = { ...
|
|
77
|
-
return typeof ((
|
|
78
|
-
}),
|
|
115
|
+
let t = { ...a.nextButton };
|
|
116
|
+
return typeof ((x = n.value) == null ? void 0 : x.nextButton) == "object" && (t = { ...t, ...(k = n.value) == null ? void 0 : k.nextButton }), t;
|
|
117
|
+
}), O = u(() => {
|
|
79
118
|
var t, l;
|
|
80
|
-
if (typeof
|
|
81
|
-
if (typeof ((t =
|
|
82
|
-
return
|
|
83
|
-
if (typeof ((l =
|
|
84
|
-
return
|
|
119
|
+
if (typeof n.value == "object") {
|
|
120
|
+
if (typeof ((t = n.value) == null ? void 0 : t.prevHidden) == "function")
|
|
121
|
+
return n.value.prevHidden(n.value, c.value);
|
|
122
|
+
if (typeof ((l = n.value) == null ? void 0 : l.prevHidden) == "boolean")
|
|
123
|
+
return n.value.prevHidden;
|
|
85
124
|
}
|
|
86
|
-
return
|
|
87
|
-
}),
|
|
88
|
-
var t, l,
|
|
89
|
-
return typeof
|
|
90
|
-
}),
|
|
125
|
+
return b.value === 0;
|
|
126
|
+
}), U = u(() => {
|
|
127
|
+
var t, l, p;
|
|
128
|
+
return typeof n.value == "object" ? typeof ((t = n.value) == null ? void 0 : t.nextHidden) == "function" ? n.value.nextHidden(n.value, c.value) : typeof ((l = n.value) == null ? void 0 : l.nextHidden) == "boolean" ? n.value.nextHidden : ((p = n.value) == null ? void 0 : p.nextButton) === !1 : !0;
|
|
129
|
+
}), $ = u(() => {
|
|
91
130
|
const t = [];
|
|
92
|
-
return
|
|
93
|
-
}),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
131
|
+
return v.value && t.push(`step-${v.value}`), t.join(" ");
|
|
132
|
+
}), G = u(() => a.buttonNavVisibility === H.Never ? !1 : !a.buttonNavPosition || a.buttonNavPosition === D.Top), q = u(() => a.buttonNavVisibility === H.Never ? !1 : a.buttonNavPosition === D.Bottom), I = u(() => ({
|
|
133
|
+
isLoading: m.value,
|
|
134
|
+
prevHidden: O.value,
|
|
135
|
+
nextHidden: U.value,
|
|
136
|
+
prevButton: j.value,
|
|
137
|
+
nextButton: z.value
|
|
138
|
+
})), M = (t) => {
|
|
139
|
+
v.value = c.value[b.value + 1].key, b.value === c.value.length - 1 ? h("finish", t) : h("next", t);
|
|
140
|
+
}, T = (t) => {
|
|
141
|
+
v.value = c.value[b.value - 1].key, h("prev", t);
|
|
97
142
|
};
|
|
98
|
-
return
|
|
143
|
+
return r({
|
|
99
144
|
goNext: () => {
|
|
100
|
-
|
|
145
|
+
F.value.click();
|
|
101
146
|
},
|
|
102
147
|
goPrev: () => {
|
|
103
|
-
|
|
148
|
+
V.value.click();
|
|
104
149
|
},
|
|
105
|
-
startLoader: () =>
|
|
106
|
-
stopLoader: () =>
|
|
107
|
-
}),
|
|
108
|
-
!
|
|
150
|
+
startLoader: () => m.value = !0,
|
|
151
|
+
stopLoader: () => m.value = !1
|
|
152
|
+
}), Y(() => {
|
|
153
|
+
!v.value && c.value.length > 0 && (v.value = c.value[0].key);
|
|
109
154
|
}), (t, l) => {
|
|
110
|
-
const
|
|
111
|
-
return
|
|
112
|
-
class:
|
|
155
|
+
const p = S("lkt-header"), x = S("lkt-loader");
|
|
156
|
+
return d(), L("article", {
|
|
157
|
+
class: Z(["lkt-step-process", $.value])
|
|
113
158
|
}, [
|
|
114
|
-
t.header && Object.keys(t.header).length > 0 ? (
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
M.value ? P((f(), B(m, A({
|
|
124
|
-
key: 1,
|
|
125
|
-
ref_key: "nextButtonRef",
|
|
126
|
-
ref: E
|
|
127
|
-
}, M.value, { onClick: U }), null, 16)), [
|
|
128
|
-
[S, !p.value && !F.value]
|
|
129
|
-
]) : y("", !0)
|
|
130
|
-
]),
|
|
131
|
-
p.value ? y("", !0) : (f(), L("div", We, [
|
|
132
|
-
T("div", Xe, [
|
|
133
|
-
(f(!0), L(Y, null, Z(R.value, (N) => P((f(), L("div", null, [
|
|
134
|
-
J(t.$slots, "step-" + N, { config: c.value })
|
|
159
|
+
t.header && Object.keys(t.header).length > 0 ? (d(), B(p, ee(C({ key: 0 }, t.header)), null, 16)) : y("", !0),
|
|
160
|
+
G.value ? (d(), B(E, C({ key: 1 }, I.value, {
|
|
161
|
+
onPrev: T,
|
|
162
|
+
onNext: M
|
|
163
|
+
}), null, 16)) : y("", !0),
|
|
164
|
+
m.value ? y("", !0) : (d(), L("div", rt, [
|
|
165
|
+
te("div", nt, [
|
|
166
|
+
(d(!0), L(ae, null, re(X.value, (k) => N((d(), L("div", null, [
|
|
167
|
+
ne(t.$slots, "step-" + k, { config: c.value })
|
|
135
168
|
], 512)), [
|
|
136
|
-
[
|
|
169
|
+
[A, k === v.value]
|
|
137
170
|
])), 256))
|
|
138
171
|
])
|
|
139
172
|
])),
|
|
140
|
-
|
|
173
|
+
m.value ? (d(), B(x, { key: 3 })) : y("", !0),
|
|
174
|
+
q.value ? (d(), B(E, C({ key: 4 }, I.value, {
|
|
175
|
+
onPrev: T,
|
|
176
|
+
onNext: M
|
|
177
|
+
}), null, 16)) : y("", !0)
|
|
141
178
|
], 2);
|
|
142
179
|
};
|
|
143
180
|
}
|
|
144
|
-
}),
|
|
145
|
-
install: (e,
|
|
146
|
-
e.component("lkt-step-process",
|
|
181
|
+
}), dt = {
|
|
182
|
+
install: (e, r = {}) => {
|
|
183
|
+
e.component("lkt-step-process", ot);
|
|
147
184
|
}
|
|
148
185
|
};
|
|
149
186
|
export {
|
|
150
|
-
|
|
187
|
+
dt as default
|
|
151
188
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ButtonNavProps } from '../config/ButtonNavProps';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<ButtonNavProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
next: (...args: any[]) => void;
|
|
4
|
+
prev: (...args: any[]) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<ButtonNavProps> & Readonly<{
|
|
6
|
+
onNext?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onPrev?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|