sprintify-ui 0.12.17 → 0.12.18
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 +222 -221
- package/package.json +1 -1
- package/src/components/BaseSignature.vue +34 -37
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -13635,7 +13635,7 @@ function _E(n) {
|
|
|
13635
13635
|
function VE(n, t = "data:application/octet-stream") {
|
|
13636
13636
|
return n.match(/^data:.*\/.*;base64,/) || (n = `${t};base64,${n}`), n;
|
|
13637
13637
|
}
|
|
13638
|
-
async function
|
|
13638
|
+
async function DF(n, t = "data:application/octet-stream") {
|
|
13639
13639
|
return n = VE(n, t), (await fetch(n)).blob();
|
|
13640
13640
|
}
|
|
13641
13641
|
function Ed(n) {
|
|
@@ -44798,12 +44798,12 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
44798
44798
|
}
|
|
44799
44799
|
}), o4 = ["aria-label", "aria-disabled"], i4 = {
|
|
44800
44800
|
key: 0,
|
|
44801
|
-
class: "
|
|
44801
|
+
class: "btn-group w-full"
|
|
44802
44802
|
}, s4 = {
|
|
44803
|
-
key:
|
|
44803
|
+
key: 1,
|
|
44804
44804
|
role: "alert",
|
|
44805
|
-
class: "
|
|
44806
|
-
},
|
|
44805
|
+
class: "text-sm mt-1 leading-tight text-red-600"
|
|
44806
|
+
}, oa = 0.08, Bg = 2048, l4 = /* @__PURE__ */ oe({
|
|
44807
44807
|
__name: "BaseSignature",
|
|
44808
44808
|
props: {
|
|
44809
44809
|
modelValue: { default: null },
|
|
@@ -45070,48 +45070,49 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45070
45070
|
onLostpointercapture: Ee
|
|
45071
45071
|
}, null, 40, o4)
|
|
45072
45072
|
], 6),
|
|
45073
|
-
E.value || n.showClearButton
|
|
45074
|
-
|
|
45075
|
-
|
|
45076
|
-
|
|
45077
|
-
|
|
45078
|
-
|
|
45079
|
-
|
|
45080
|
-
|
|
45081
|
-
|
|
45082
|
-
|
|
45083
|
-
|
|
45084
|
-
|
|
45085
|
-
|
|
45086
|
-
|
|
45087
|
-
|
|
45088
|
-
|
|
45089
|
-
|
|
45090
|
-
|
|
45091
|
-
|
|
45092
|
-
|
|
45093
|
-
|
|
45094
|
-
|
|
45095
|
-
|
|
45096
|
-
|
|
45097
|
-
|
|
45098
|
-
|
|
45099
|
-
|
|
45100
|
-
|
|
45101
|
-
|
|
45102
|
-
|
|
45103
|
-
|
|
45104
|
-
])
|
|
45105
|
-
])) : te("", !0)
|
|
45073
|
+
E.value || n.showClearButton ? (k(), $("div", i4, [
|
|
45074
|
+
E.value ? (k(), re(g(qn), {
|
|
45075
|
+
key: 0,
|
|
45076
|
+
type: "button",
|
|
45077
|
+
size: "sm",
|
|
45078
|
+
class: "w-full",
|
|
45079
|
+
color: "slate-100-outline",
|
|
45080
|
+
icon: "ph:signature-light",
|
|
45081
|
+
disabled: n.disabled || c.value,
|
|
45082
|
+
loading: c.value,
|
|
45083
|
+
onClick: O
|
|
45084
|
+
}, {
|
|
45085
|
+
default: Q(() => [
|
|
45086
|
+
Gt(se(g(ve)("sui.apply_signature")), 1)
|
|
45087
|
+
]),
|
|
45088
|
+
_: 1
|
|
45089
|
+
}, 8, ["disabled", "loading"])) : te("", !0),
|
|
45090
|
+
n.showClearButton ? (k(), re(g(qn), {
|
|
45091
|
+
key: 1,
|
|
45092
|
+
type: "button",
|
|
45093
|
+
size: "sm",
|
|
45094
|
+
class: "w-full",
|
|
45095
|
+
icon: "mdi:remove",
|
|
45096
|
+
color: "slate-100-outline",
|
|
45097
|
+
disabled: n.disabled || !D.value,
|
|
45098
|
+
onClick: ie
|
|
45099
|
+
}, {
|
|
45100
|
+
default: Q(() => [
|
|
45101
|
+
Gt(se(g(ve)("sui.clear")), 1)
|
|
45102
|
+
]),
|
|
45103
|
+
_: 1
|
|
45104
|
+
}, 8, ["disabled"])) : te("", !0)
|
|
45105
|
+
])) : te("", !0),
|
|
45106
|
+
a.value ? (k(), $("p", s4, se(a.value), 1)) : te("", !0)
|
|
45106
45107
|
], 4));
|
|
45107
45108
|
}
|
|
45108
|
-
}),
|
|
45109
|
+
}), a4 = { class: "whitespace-pre-line p-4" }, u4 = { class: "text-md font-semibold" }, c4 = {
|
|
45109
45110
|
key: 0,
|
|
45110
45111
|
class: "mt-1 mb-3 whitespace-pre-line text-sm text-slate-500 line-clamp-2"
|
|
45111
|
-
},
|
|
45112
|
+
}, d4 = {
|
|
45112
45113
|
key: 1,
|
|
45113
45114
|
class: "flex items-center justify-start text-sm font-medium"
|
|
45114
|
-
},
|
|
45115
|
+
}, f4 = { class: "mr-1 leading-none" }, h4 = /* @__PURE__ */ oe({
|
|
45115
45116
|
__name: "BaseShortcut",
|
|
45116
45117
|
props: {
|
|
45117
45118
|
to: {
|
|
@@ -45171,7 +45172,7 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45171
45172
|
class: "block w-full"
|
|
45172
45173
|
}, {
|
|
45173
45174
|
default: Q(() => [
|
|
45174
|
-
A("section",
|
|
45175
|
+
A("section", a4, [
|
|
45175
45176
|
A("div", {
|
|
45176
45177
|
class: "mb-2.5 inline-flex items-center rounded p-2",
|
|
45177
45178
|
style: Le(g(e))
|
|
@@ -45182,10 +45183,10 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45182
45183
|
class: j(g(r))
|
|
45183
45184
|
}, null, 8, ["icon", "class"])) : te("", !0)
|
|
45184
45185
|
], 4),
|
|
45185
|
-
A("div",
|
|
45186
|
-
n.description ? (k(), $("div",
|
|
45187
|
-
n.linkText ? (k(), $("div",
|
|
45188
|
-
A("div",
|
|
45186
|
+
A("div", u4, se(n.title), 1),
|
|
45187
|
+
n.description ? (k(), $("div", c4, se(n.description), 1)) : te("", !0),
|
|
45188
|
+
n.linkText ? (k(), $("div", d4, [
|
|
45189
|
+
A("div", f4, se(n.linkText), 1),
|
|
45189
45190
|
A("div", null, [
|
|
45190
45191
|
ne(g(Ge), {
|
|
45191
45192
|
icon: "heroicons:arrow-right-20-solid",
|
|
@@ -45201,13 +45202,13 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45201
45202
|
_: 1
|
|
45202
45203
|
}));
|
|
45203
45204
|
}
|
|
45204
|
-
}),
|
|
45205
|
+
}), p4 = {
|
|
45205
45206
|
"aria-label": "Sidebar",
|
|
45206
45207
|
class: "relative"
|
|
45207
|
-
},
|
|
45208
|
+
}, m4 = {
|
|
45208
45209
|
class: "relative overflow-x-auto overflow-y-hidden",
|
|
45209
45210
|
"data-scroll-lock-scrollable": ""
|
|
45210
|
-
},
|
|
45211
|
+
}, g4 = { class: "space-y-0" }, v4 = /* @__PURE__ */ oe({
|
|
45211
45212
|
__name: "BaseSideNavigation",
|
|
45212
45213
|
props: {
|
|
45213
45214
|
size: { default: "md" },
|
|
@@ -45221,18 +45222,18 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45221
45222
|
), qe(
|
|
45222
45223
|
"sideNavigation:orientation",
|
|
45223
45224
|
S(() => t.orientation)
|
|
45224
|
-
), (e, r) => (k(), $("nav",
|
|
45225
|
+
), (e, r) => (k(), $("nav", p4, [
|
|
45225
45226
|
A("div", {
|
|
45226
45227
|
class: j(["absolute bottom-0 h-full w-px bg-slate-300", [n.orientation == "left" ? "left-0" : "right-0"]])
|
|
45227
45228
|
}, null, 2),
|
|
45228
|
-
A("div",
|
|
45229
|
-
A("div",
|
|
45229
|
+
A("div", m4, [
|
|
45230
|
+
A("div", g4, [
|
|
45230
45231
|
de(e.$slots, "default")
|
|
45231
45232
|
])
|
|
45232
45233
|
])
|
|
45233
45234
|
]));
|
|
45234
45235
|
}
|
|
45235
|
-
}),
|
|
45236
|
+
}), y4 = ["href", "disabled", "onClick"], b4 = /* @__PURE__ */ oe({
|
|
45236
45237
|
__name: "BaseSideNavigationItem",
|
|
45237
45238
|
props: {
|
|
45238
45239
|
to: {},
|
|
@@ -45311,13 +45312,13 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45311
45312
|
active: i(h, p)
|
|
45312
45313
|
})
|
|
45313
45314
|
], 2)
|
|
45314
|
-
], 10,
|
|
45315
|
+
], 10, y4)
|
|
45315
45316
|
]),
|
|
45316
45317
|
_: 3
|
|
45317
45318
|
}, 8, ["to"]);
|
|
45318
45319
|
};
|
|
45319
45320
|
}
|
|
45320
|
-
}),
|
|
45321
|
+
}), w4 = oe({
|
|
45321
45322
|
components: { BaseIcon: Ge },
|
|
45322
45323
|
props: {
|
|
45323
45324
|
label: {
|
|
@@ -45355,36 +45356,36 @@ const qz = { class: "px-1 py-1 border-b flex flex-wrap items-center" }, Uz = { c
|
|
|
45355
45356
|
return "items-center";
|
|
45356
45357
|
}
|
|
45357
45358
|
}
|
|
45358
|
-
}),
|
|
45359
|
-
function
|
|
45359
|
+
}), x4 = { class: "mb-1 text-sm font-medium" }, k4 = { class: "flex items-center mb-1" }, S4 = { class: "text-2xl font-semibold leading-tight" }, C4 = { key: 0 }, M4 = { class: "text-xs font-medium" }, E4 = { class: "text-xs text-slate-500" };
|
|
45360
|
+
function T4(n, t, e, r, o, i) {
|
|
45360
45361
|
const s = $t("BaseIcon");
|
|
45361
45362
|
return k(), $("section", null, [
|
|
45362
|
-
A("header",
|
|
45363
|
-
A("div",
|
|
45364
|
-
A("div",
|
|
45363
|
+
A("header", x4, se(n.label), 1),
|
|
45364
|
+
A("div", k4, [
|
|
45365
|
+
A("div", S4, se(n.primaryValue), 1),
|
|
45365
45366
|
n.secondaryValue ? (k(), $("div", {
|
|
45366
45367
|
key: 0,
|
|
45367
45368
|
class: j(["ml-2 flex rounded-full px-1.5", [n.backgroundClass, n.textClass, n.centerClass]])
|
|
45368
45369
|
}, [
|
|
45369
|
-
n.trend ? (k(), $("div",
|
|
45370
|
+
n.trend ? (k(), $("div", C4, [
|
|
45370
45371
|
ne(s, {
|
|
45371
45372
|
icon: n.icon,
|
|
45372
45373
|
class: "w-3 h-3"
|
|
45373
45374
|
}, null, 8, ["icon"])
|
|
45374
45375
|
])) : te("", !0),
|
|
45375
|
-
A("div",
|
|
45376
|
+
A("div", M4, se(n.secondaryValue), 1)
|
|
45376
45377
|
], 2)) : te("", !0)
|
|
45377
45378
|
]),
|
|
45378
|
-
A("footer",
|
|
45379
|
+
A("footer", E4, se(n.caption), 1)
|
|
45379
45380
|
]);
|
|
45380
45381
|
}
|
|
45381
|
-
const
|
|
45382
|
+
const A4 = /* @__PURE__ */ Zi(w4, [["render", T4]]), I4 = { class: "flex-shrink-0" }, D4 = { class: "flex h-10 w-10 items-center justify-center rounded-full bg-indigo-600" }, O4 = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, B4 = { class: "mb-0.5 text-left text-sm font-medium leading-tight" }, R4 = {
|
|
45382
45383
|
key: 0,
|
|
45383
45384
|
class: "text-left text-sm font-normal leading-snug text-slate-500"
|
|
45384
|
-
},
|
|
45385
|
+
}, N4 = { class: "flex-shrink-0" }, $4 = { class: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-indigo-600" }, L4 = { class: "text-indigo-600" }, z4 = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, P4 = { class: "mb-0.5 text-left text-sm font-medium leading-tight text-indigo-600" }, F4 = {
|
|
45385
45386
|
key: 0,
|
|
45386
45387
|
class: "text-left text-sm font-normal leading-snug text-slate-500"
|
|
45387
|
-
},
|
|
45388
|
+
}, _4 = { class: "flex-shrink-0" }, V4 = { class: "flex h-10 w-10 items-center justify-center rounded-full border-2 border-slate-300" }, j4 = { class: "text-slate-500" }, H4 = { class: "mt-0.5 ml-4 flex min-w-0 flex-col items-start" }, W4 = { class: "mb-0.5 text-left text-sm font-medium leading-tight text-slate-600" }, q4 = {
|
|
45388
45389
|
key: 0,
|
|
45389
45390
|
class: "text-left text-sm font-normal leading-snug text-slate-500"
|
|
45390
45391
|
}, j1 = /* @__PURE__ */ oe({
|
|
@@ -45430,8 +45431,8 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45430
45431
|
"flex items-start px-6 py-5 text-sm font-medium"
|
|
45431
45432
|
])
|
|
45432
45433
|
}, [
|
|
45433
|
-
A("span",
|
|
45434
|
-
A("span",
|
|
45434
|
+
A("span", I4, [
|
|
45435
|
+
A("span", D4, [
|
|
45435
45436
|
ne(g(Ge), {
|
|
45436
45437
|
icon: "mdi-check",
|
|
45437
45438
|
class: "h-6 w-6 text-white",
|
|
@@ -45439,9 +45440,9 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45439
45440
|
})
|
|
45440
45441
|
])
|
|
45441
45442
|
]),
|
|
45442
|
-
A("span",
|
|
45443
|
-
A("span",
|
|
45444
|
-
n.description ? (k(), $("span",
|
|
45443
|
+
A("span", O4, [
|
|
45444
|
+
A("span", B4, se(n.title), 1),
|
|
45445
|
+
n.description ? (k(), $("span", R4, se(n.description), 1)) : te("", !0)
|
|
45445
45446
|
])
|
|
45446
45447
|
], 2)
|
|
45447
45448
|
])) : n.status === "current" ? (k(), $("button", {
|
|
@@ -45460,14 +45461,14 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45460
45461
|
"flex items-start px-6 py-5 text-sm font-medium"
|
|
45461
45462
|
])
|
|
45462
45463
|
}, [
|
|
45463
|
-
A("span",
|
|
45464
|
-
A("span",
|
|
45465
|
-
A("span",
|
|
45464
|
+
A("span", N4, [
|
|
45465
|
+
A("span", $4, [
|
|
45466
|
+
A("span", L4, se(n.stepNumber), 1)
|
|
45466
45467
|
])
|
|
45467
45468
|
]),
|
|
45468
|
-
A("span",
|
|
45469
|
-
A("span",
|
|
45470
|
-
n.description ? (k(), $("span",
|
|
45469
|
+
A("span", z4, [
|
|
45470
|
+
A("span", P4, se(n.title), 1),
|
|
45471
|
+
n.description ? (k(), $("span", F4, se(n.description), 1)) : te("", !0)
|
|
45471
45472
|
])
|
|
45472
45473
|
], 2)
|
|
45473
45474
|
])) : n.status == "pending" ? (k(), $("button", {
|
|
@@ -45486,29 +45487,29 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45486
45487
|
"flex items-start px-6 py-5 text-sm font-medium"
|
|
45487
45488
|
])
|
|
45488
45489
|
}, [
|
|
45489
|
-
A("span",
|
|
45490
|
-
A("span",
|
|
45491
|
-
A("span",
|
|
45490
|
+
A("span", _4, [
|
|
45491
|
+
A("span", V4, [
|
|
45492
|
+
A("span", j4, se(n.stepNumber), 1)
|
|
45492
45493
|
])
|
|
45493
45494
|
]),
|
|
45494
|
-
A("span",
|
|
45495
|
-
A("span",
|
|
45496
|
-
n.description ? (k(), $("span",
|
|
45495
|
+
A("span", H4, [
|
|
45496
|
+
A("span", W4, se(n.title), 1),
|
|
45497
|
+
n.description ? (k(), $("span", q4, se(n.description), 1)) : te("", !0)
|
|
45497
45498
|
])
|
|
45498
45499
|
], 2)
|
|
45499
45500
|
])) : te("", !0);
|
|
45500
45501
|
}
|
|
45501
|
-
}),
|
|
45502
|
+
}), U4 = { class: "lg:border-t lg:border-b lg:border-gray-200" }, K4 = {
|
|
45502
45503
|
class: "px-4 mx-auto max-w-7xl sm:px-6 lg:px-8",
|
|
45503
45504
|
"aria-label": "Progress"
|
|
45504
|
-
},
|
|
45505
|
+
}, Y4 = {
|
|
45505
45506
|
role: "list",
|
|
45506
45507
|
class: "overflow-hidden rounded-md lg:flex lg:rounded-none lg:border-l lg:border-r lg:border-gray-200"
|
|
45507
|
-
},
|
|
45508
|
+
}, G4 = {
|
|
45508
45509
|
key: 0,
|
|
45509
45510
|
class: "absolute inset-0 top-0 left-0 hidden w-3 lg:block",
|
|
45510
45511
|
"aria-hidden": "true"
|
|
45511
|
-
},
|
|
45512
|
+
}, J4 = /* @__PURE__ */ oe({
|
|
45512
45513
|
__name: "BaseStepper",
|
|
45513
45514
|
props: {
|
|
45514
45515
|
items: {
|
|
@@ -45518,9 +45519,9 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45518
45519
|
},
|
|
45519
45520
|
emits: ["click"],
|
|
45520
45521
|
setup(n) {
|
|
45521
|
-
return (t, e) => (k(), $("div",
|
|
45522
|
-
A("nav",
|
|
45523
|
-
A("ol",
|
|
45522
|
+
return (t, e) => (k(), $("div", U4, [
|
|
45523
|
+
A("nav", K4, [
|
|
45524
|
+
A("ol", Y4, [
|
|
45524
45525
|
(k(!0), $(Oe, null, Ye(n.items, (r, o) => (k(), $("li", {
|
|
45525
45526
|
key: o,
|
|
45526
45527
|
class: "relative overflow-hidden lg:flex-1"
|
|
@@ -45540,7 +45541,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45540
45541
|
index: o,
|
|
45541
45542
|
onClick: (i) => t.$emit("click", o)
|
|
45542
45543
|
}, null, 8, ["title", "description", "step-number", "status", "index", "onClick"]),
|
|
45543
|
-
o !== 0 ? (k(), $("div",
|
|
45544
|
+
o !== 0 ? (k(), $("div", G4, [...e[0] || (e[0] = [
|
|
45544
45545
|
A("svg", {
|
|
45545
45546
|
class: "w-full h-full text-gray-300",
|
|
45546
45547
|
viewBox: "0 0 12 82",
|
|
@@ -45560,7 +45561,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45560
45561
|
])
|
|
45561
45562
|
]));
|
|
45562
45563
|
}
|
|
45563
|
-
}),
|
|
45564
|
+
}), X4 = { class: "inline-flex items-center space-x-3" }, Q4 = /* @__PURE__ */ oe({
|
|
45564
45565
|
__name: "BaseSwitch",
|
|
45565
45566
|
props: {
|
|
45566
45567
|
modelValue: {
|
|
@@ -45616,7 +45617,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45616
45617
|
const M = $t("BaseIcon");
|
|
45617
45618
|
return k(), re(g(uk), null, {
|
|
45618
45619
|
default: Q(() => [
|
|
45619
|
-
A("div",
|
|
45620
|
+
A("div", X4, [
|
|
45620
45621
|
ne(g(ck), {
|
|
45621
45622
|
"model-value": g(s),
|
|
45622
45623
|
class: j([
|
|
@@ -45667,7 +45668,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45667
45668
|
});
|
|
45668
45669
|
};
|
|
45669
45670
|
}
|
|
45670
|
-
}),
|
|
45671
|
+
}), Z4 = { class: "relative" }, eP = { class: "max-w-4xl" }, tP = {
|
|
45671
45672
|
key: 0,
|
|
45672
45673
|
class: "absolute top-0 right-0 p-3"
|
|
45673
45674
|
}, Kh = /* @__PURE__ */ oe({
|
|
@@ -45699,7 +45700,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45699
45700
|
const i = S(() => e.to ? "RouterLink" : e.action ? "button" : "div"), s = S(() => e.color == "info" ? "bg-blue-500 text-white" : e.color == "success" ? "bg-green-600 text-white" : e.color == "danger" ? "bg-red-600 text-white" : e.color == "warning" ? "bg-yellow-400 text-yellow-900" : "bg-slate-900 text-white");
|
|
45700
45701
|
return (l, a) => {
|
|
45701
45702
|
const u = $t("BaseIcon");
|
|
45702
|
-
return k(), $("div",
|
|
45703
|
+
return k(), $("div", Z4, [
|
|
45703
45704
|
(k(), re(Ln(g(i)), {
|
|
45704
45705
|
type: g(i) == "button" ? "button" : void 0,
|
|
45705
45706
|
to: g(i) == "RouterLink" ? n.to : void 0,
|
|
@@ -45710,14 +45711,14 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45710
45711
|
A("div", {
|
|
45711
45712
|
class: j(["py-4 text-sm leading-tight", [n.closable ? "pr-10 pl-3" : "px-3"]])
|
|
45712
45713
|
}, [
|
|
45713
|
-
A("div",
|
|
45714
|
+
A("div", eP, [
|
|
45714
45715
|
de(l.$slots, "default")
|
|
45715
45716
|
])
|
|
45716
45717
|
], 2)
|
|
45717
45718
|
]),
|
|
45718
45719
|
_: 3
|
|
45719
45720
|
}, 8, ["type", "to", "class"])),
|
|
45720
|
-
n.closable ? (k(), $("div",
|
|
45721
|
+
n.closable ? (k(), $("div", tP, [
|
|
45721
45722
|
A("button", {
|
|
45722
45723
|
type: "button",
|
|
45723
45724
|
class: "rounded-full bg-black bg-opacity-50 p-1 text-white",
|
|
@@ -45729,7 +45730,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45729
45730
|
]);
|
|
45730
45731
|
};
|
|
45731
45732
|
}
|
|
45732
|
-
}),
|
|
45733
|
+
}), nP = { class: "base-tabs relative" }, rP = { class: "flex text-center" }, oP = /* @__PURE__ */ oe({
|
|
45733
45734
|
__name: "BaseTabs",
|
|
45734
45735
|
props: {
|
|
45735
45736
|
modelValue: { default: null },
|
|
@@ -45825,7 +45826,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45825
45826
|
}
|
|
45826
45827
|
) : (c.value.style.transform = T, c.value.style.width = M);
|
|
45827
45828
|
}
|
|
45828
|
-
return (f, h) => (k(), $("div",
|
|
45829
|
+
return (f, h) => (k(), $("div", nP, [
|
|
45829
45830
|
h[0] || (h[0] = A("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1)),
|
|
45830
45831
|
A("div", {
|
|
45831
45832
|
ref_key: "scrollable",
|
|
@@ -45838,7 +45839,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45838
45839
|
}]),
|
|
45839
45840
|
"data-scroll-lock-scrollable": ""
|
|
45840
45841
|
}, [
|
|
45841
|
-
A("ul",
|
|
45842
|
+
A("ul", rP, [
|
|
45842
45843
|
A("div", {
|
|
45843
45844
|
ref_key: "lineRef",
|
|
45844
45845
|
ref: c,
|
|
@@ -45850,7 +45851,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45850
45851
|
], 2)
|
|
45851
45852
|
]));
|
|
45852
45853
|
}
|
|
45853
|
-
}),
|
|
45854
|
+
}), iP = ["href", "disabled", "onClick"], sP = { class: "relative flex py-1" }, lP = { class: "base-tab-item-slot" }, aP = ["disabled"], uP = { class: "relative flex py-1" }, cP = { class: "base-tab-item-slot" }, dP = /* @__PURE__ */ oe({
|
|
45854
45855
|
__name: "BaseTabItem",
|
|
45855
45856
|
props: {
|
|
45856
45857
|
id: { default: void 0 },
|
|
@@ -45928,21 +45929,21 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45928
45929
|
]]),
|
|
45929
45930
|
onClick: Nn((y) => l(D), ["prevent"])
|
|
45930
45931
|
}, [
|
|
45931
|
-
A("div",
|
|
45932
|
+
A("div", sP, [
|
|
45932
45933
|
A("div", {
|
|
45933
45934
|
class: j([
|
|
45934
45935
|
"whitespace-nowrap rounded-md group-hover:bg-black group-hover:bg-opacity-5",
|
|
45935
45936
|
g(m)
|
|
45936
45937
|
])
|
|
45937
45938
|
}, [
|
|
45938
|
-
A("div",
|
|
45939
|
+
A("div", lP, [
|
|
45939
45940
|
de(v.$slots, "default", {
|
|
45940
45941
|
active: a(B, E)
|
|
45941
45942
|
})
|
|
45942
45943
|
])
|
|
45943
45944
|
], 2)
|
|
45944
45945
|
])
|
|
45945
|
-
], 10,
|
|
45946
|
+
], 10, iP)
|
|
45946
45947
|
]),
|
|
45947
45948
|
_: 3
|
|
45948
45949
|
}, 8, ["to"])) : (k(), $("button", {
|
|
@@ -45955,23 +45956,23 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
45955
45956
|
]]),
|
|
45956
45957
|
onClick: w[0] || (w[0] = (M) => l())
|
|
45957
45958
|
}, [
|
|
45958
|
-
A("div",
|
|
45959
|
+
A("div", uP, [
|
|
45959
45960
|
A("div", {
|
|
45960
45961
|
class: j([
|
|
45961
45962
|
"whitespace-nowrap rounded-md group-hover:bg-black group-hover:bg-opacity-5",
|
|
45962
45963
|
g(m)
|
|
45963
45964
|
])
|
|
45964
45965
|
}, [
|
|
45965
|
-
A("div",
|
|
45966
|
+
A("div", cP, [
|
|
45966
45967
|
de(v.$slots, "default")
|
|
45967
45968
|
])
|
|
45968
45969
|
], 2)
|
|
45969
45970
|
])
|
|
45970
|
-
], 10,
|
|
45971
|
+
], 10, aP))
|
|
45971
45972
|
], 512);
|
|
45972
45973
|
};
|
|
45973
45974
|
}
|
|
45974
|
-
}),
|
|
45975
|
+
}), fP = ["value", "name", "placeholder", "disabled", "required", "rows"], Rg = "1 / 1 / 2 / 2", hP = "attr(data-replicated-value) ' '", pP = /* @__PURE__ */ oe({
|
|
45975
45976
|
__name: "BaseTextareaAutoresize",
|
|
45976
45977
|
props: {
|
|
45977
45978
|
modelValue: {
|
|
@@ -46096,24 +46097,24 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46096
46097
|
onKeyup: p,
|
|
46097
46098
|
onKeydown: h,
|
|
46098
46099
|
onFocus: m
|
|
46099
|
-
}, null, 46,
|
|
46100
|
+
}, null, 46, fP),
|
|
46100
46101
|
A("div", {
|
|
46101
46102
|
class: j(["invisible whitespace-pre-wrap", g(v)]),
|
|
46102
46103
|
style: Le({
|
|
46103
|
-
content:
|
|
46104
|
+
content: hP,
|
|
46104
46105
|
maxHeight: n.maxHeight + "px",
|
|
46105
46106
|
gridArea: Rg
|
|
46106
46107
|
})
|
|
46107
46108
|
}, se(n.modelValue) + " " + se(" "), 7)
|
|
46108
46109
|
], 4));
|
|
46109
46110
|
}
|
|
46110
|
-
}),
|
|
46111
|
+
}), mP = { class: "relative group flex space-x-3" }, gP = { class: "text-sm leading-tight text-slate-900" }, vP = {
|
|
46111
46112
|
key: 0,
|
|
46112
46113
|
class: "mt-1 text-xs leading-tight text-slate-500"
|
|
46113
|
-
},
|
|
46114
|
+
}, yP = { class: "empty:hidden" }, bP = {
|
|
46114
46115
|
key: 0,
|
|
46115
46116
|
class: "whitespace-nowrap text-right text-xs text-slate-500"
|
|
46116
|
-
},
|
|
46117
|
+
}, wP = ["datetime"], H1 = /* @__PURE__ */ oe({
|
|
46117
46118
|
__name: "BaseTimelineItem",
|
|
46118
46119
|
props: {
|
|
46119
46120
|
item: {
|
|
@@ -46132,7 +46133,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46132
46133
|
borderStyle: "solid"
|
|
46133
46134
|
};
|
|
46134
46135
|
});
|
|
46135
|
-
return (r, o) => (k(), $("div",
|
|
46136
|
+
return (r, o) => (k(), $("div", mP, [
|
|
46136
46137
|
A("div", null, [
|
|
46137
46138
|
A("span", {
|
|
46138
46139
|
class: j([
|
|
@@ -46151,9 +46152,9 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46151
46152
|
class: j(["flex min-w-0 flex-1 justify-between space-x-4", { "pt-1.5": !n.item.description }])
|
|
46152
46153
|
}, [
|
|
46153
46154
|
A("div", null, [
|
|
46154
|
-
A("p",
|
|
46155
|
-
n.item.description ? (k(), $("p",
|
|
46156
|
-
A("p",
|
|
46155
|
+
A("p", gP, se(n.item.title), 1),
|
|
46156
|
+
n.item.description ? (k(), $("p", vP, se(n.item.description), 1)) : te("", !0),
|
|
46157
|
+
A("p", yP, [
|
|
46157
46158
|
n.item.onEdit ? (k(), $("button", {
|
|
46158
46159
|
key: 0,
|
|
46159
46160
|
type: "button",
|
|
@@ -46170,22 +46171,22 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46170
46171
|
}, se(g(ve)("sui.delete")), 1)) : te("", !0)
|
|
46171
46172
|
])
|
|
46172
46173
|
]),
|
|
46173
|
-
n.item.date ? (k(), $("div",
|
|
46174
|
+
n.item.date ? (k(), $("div", bP, [
|
|
46174
46175
|
A("time", {
|
|
46175
46176
|
datetime: n.item.date
|
|
46176
|
-
}, se(n.item.date), 9,
|
|
46177
|
+
}, se(n.item.date), 9, wP)
|
|
46177
46178
|
])) : te("", !0)
|
|
46178
46179
|
], 2)
|
|
46179
46180
|
]));
|
|
46180
46181
|
}
|
|
46181
|
-
}),
|
|
46182
|
+
}), xP = { class: "flow-root" }, kP = {
|
|
46182
46183
|
role: "list",
|
|
46183
46184
|
class: "-mb-8"
|
|
46184
|
-
},
|
|
46185
|
+
}, SP = {
|
|
46185
46186
|
key: 0,
|
|
46186
46187
|
class: "absolute top-4 left-4 -ml-px h-full w-0.5 bg-slate-300",
|
|
46187
46188
|
"aria-hidden": "true"
|
|
46188
|
-
},
|
|
46189
|
+
}, CP = /* @__PURE__ */ oe({
|
|
46189
46190
|
__name: "BaseTimeline",
|
|
46190
46191
|
props: {
|
|
46191
46192
|
items: {
|
|
@@ -46194,20 +46195,20 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46194
46195
|
}
|
|
46195
46196
|
},
|
|
46196
46197
|
setup(n) {
|
|
46197
|
-
return (t, e) => (k(), $("div",
|
|
46198
|
-
A("ul",
|
|
46198
|
+
return (t, e) => (k(), $("div", xP, [
|
|
46199
|
+
A("ul", kP, [
|
|
46199
46200
|
(k(!0), $(Oe, null, Ye(n.items, (r, o) => (k(), $("li", { key: o }, [
|
|
46200
46201
|
A("div", {
|
|
46201
46202
|
class: j(["relative", [!r.onEdit && !r.onDelete ? "pb-8" : "pb-3"]])
|
|
46202
46203
|
}, [
|
|
46203
|
-
o != n.items.length - 1 ? (k(), $("span",
|
|
46204
|
+
o != n.items.length - 1 ? (k(), $("span", SP)) : te("", !0),
|
|
46204
46205
|
ne(H1, { item: r }, null, 8, ["item"])
|
|
46205
46206
|
], 2)
|
|
46206
46207
|
]))), 128))
|
|
46207
46208
|
])
|
|
46208
46209
|
]));
|
|
46209
46210
|
}
|
|
46210
|
-
}),
|
|
46211
|
+
}), MP = ["onMouseenter", "onClick"], ad = /* @__PURE__ */ oe({
|
|
46211
46212
|
__name: "BaseScrollColumn",
|
|
46212
46213
|
props: {
|
|
46213
46214
|
value: {
|
|
@@ -46264,9 +46265,9 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46264
46265
|
onMouseenter: (m) => o.value = `${n.type}-${p}`,
|
|
46265
46266
|
onMouseleave: h[0] || (h[0] = (m) => o.value = null),
|
|
46266
46267
|
onClick: (m) => c(`${n.type}-${p}`, n.type, p)
|
|
46267
|
-
}, se(p), 43,
|
|
46268
|
+
}, se(p), 43, MP))), 128));
|
|
46268
46269
|
}
|
|
46269
|
-
}),
|
|
46270
|
+
}), EP = { class: "relative" }, TP = ["name", "disabled", "placeholder"], AP = { class: "inline-block w-[200px] overflow-hidden input-rounded ring-1 ring-black ring-opacity-10 bg-white py-2 shadow-2xl" }, IP = { class: "text-sm font-normal" }, DP = { class: "flex base-time-picker" }, OP = { class: "flex justify-between items-center gap-2 pt-2 mt-1 px-2 border-t" }, BP = ["onClick"], RP = ["onClick"], NP = /* @__PURE__ */ oe({
|
|
46270
46271
|
__name: "BaseTimePicker",
|
|
46271
46272
|
props: {
|
|
46272
46273
|
modelValue: {
|
|
@@ -46409,7 +46410,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46409
46410
|
placement: "bottom-end"
|
|
46410
46411
|
}, {
|
|
46411
46412
|
button: Q(() => [
|
|
46412
|
-
A("div",
|
|
46413
|
+
A("div", EP, [
|
|
46413
46414
|
A("div", {
|
|
46414
46415
|
class: j(g(f))
|
|
46415
46416
|
}, [
|
|
@@ -46425,7 +46426,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46425
46426
|
disabled: n.disabled,
|
|
46426
46427
|
class: j(["w-full block", g(c)]),
|
|
46427
46428
|
placeholder: n.placeholder
|
|
46428
|
-
}, null, 10,
|
|
46429
|
+
}, null, 10, TP), [
|
|
46429
46430
|
[qs, g(u)]
|
|
46430
46431
|
]),
|
|
46431
46432
|
g(u) && !n.disabled ? (k(), $("div", {
|
|
@@ -46446,9 +46447,9 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46446
46447
|
])
|
|
46447
46448
|
]),
|
|
46448
46449
|
dropdown: Q(({ close: Y }) => [
|
|
46449
|
-
A("div",
|
|
46450
|
-
A("div",
|
|
46451
|
-
A("div",
|
|
46450
|
+
A("div", AP, [
|
|
46451
|
+
A("div", IP, [
|
|
46452
|
+
A("div", DP, [
|
|
46452
46453
|
A("div", {
|
|
46453
46454
|
ref_key: "hoursContainer",
|
|
46454
46455
|
ref: m,
|
|
@@ -46496,16 +46497,16 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46496
46497
|
G[4] || (G[4] = A("div", { class: "h-40" }, null, -1))
|
|
46497
46498
|
], 512))
|
|
46498
46499
|
]),
|
|
46499
|
-
A("div",
|
|
46500
|
+
A("div", OP, [
|
|
46500
46501
|
n.showNowButton ? (k(), $("button", {
|
|
46501
46502
|
key: 0,
|
|
46502
46503
|
class: "btn btn-slate btn-sm block",
|
|
46503
46504
|
onClick: (W) => O(Y)
|
|
46504
|
-
}, se(g(ve)("sui.now")), 9,
|
|
46505
|
+
}, se(g(ve)("sui.now")), 9, BP)) : te("", !0),
|
|
46505
46506
|
A("button", {
|
|
46506
46507
|
class: "btn btn-primary btn-sm block",
|
|
46507
46508
|
onClick: (W) => C(Y)
|
|
46508
|
-
}, se(g(ve)("sui.ok")), 9,
|
|
46509
|
+
}, se(g(ve)("sui.ok")), 9, RP)
|
|
46509
46510
|
])
|
|
46510
46511
|
])
|
|
46511
46512
|
])
|
|
@@ -46513,7 +46514,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46513
46514
|
_: 1
|
|
46514
46515
|
}));
|
|
46515
46516
|
}
|
|
46516
|
-
}),
|
|
46517
|
+
}), $P = ["value", "pattern", "inputmode", "autocomplete", "disabled", "onInput", "onPaste", "onKeydown"], LP = /* @__PURE__ */ oe({
|
|
46517
46518
|
__name: "BaseUniqueCode",
|
|
46518
46519
|
props: {
|
|
46519
46520
|
modelValue: {
|
|
@@ -46677,7 +46678,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46677
46678
|
onPaste: (P) => M(O - 1, P),
|
|
46678
46679
|
onKeydown: (P) => T(O - 1, P),
|
|
46679
46680
|
onFocus: C[0] || (C[0] = (P) => B(P))
|
|
46680
|
-
}, null, 42,
|
|
46681
|
+
}, null, 42, $P))), 128))
|
|
46681
46682
|
], 2));
|
|
46682
46683
|
}
|
|
46683
46684
|
}), W1 = Tu("systemAlerts", {
|
|
@@ -46752,7 +46753,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46752
46753
|
])
|
|
46753
46754
|
], 64));
|
|
46754
46755
|
}
|
|
46755
|
-
}),
|
|
46756
|
+
}), zP = { class: "flex items-start gap-2" }, PP = { class: "min-w-0 flex-1" }, FP = ["innerHTML"], _P = { class: "mt-1 text-xs text-slate-500" }, Ng = /* @__PURE__ */ oe({
|
|
46756
46757
|
__name: "BaseLayoutNotificationItemContent",
|
|
46757
46758
|
props: {
|
|
46758
46759
|
active: { type: Boolean },
|
|
@@ -46763,22 +46764,22 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46763
46764
|
return (r, o) => (k(), $("div", {
|
|
46764
46765
|
class: j(["px-3 py-2 rounded", [n.active ? "bg-slate-100" : ""]])
|
|
46765
46766
|
}, [
|
|
46766
|
-
A("div",
|
|
46767
|
+
A("div", zP, [
|
|
46767
46768
|
A("span", {
|
|
46768
46769
|
class: j(["mt-1.5 inline-block h-2 w-2 shrink-0 rounded-full bg-red-500", [n.notification.read ? "invisible" : ""]])
|
|
46769
46770
|
}, null, 2),
|
|
46770
|
-
A("div",
|
|
46771
|
+
A("div", PP, [
|
|
46771
46772
|
A("div", {
|
|
46772
46773
|
class: j(["text-sm leading-tight", g(e)]),
|
|
46773
46774
|
innerHTML: n.notification.text
|
|
46774
|
-
}, null, 10,
|
|
46775
|
+
}, null, 10, FP),
|
|
46775
46776
|
n.notification.created_at ? (k(), re(ny, {
|
|
46776
46777
|
key: 0,
|
|
46777
46778
|
tooltip: !1,
|
|
46778
46779
|
value: n.notification.created_at
|
|
46779
46780
|
}, {
|
|
46780
46781
|
default: Q(({ readableDate: i }) => [
|
|
46781
|
-
A("p",
|
|
46782
|
+
A("p", _P, se(i), 1)
|
|
46782
46783
|
]),
|
|
46783
46784
|
_: 1
|
|
46784
46785
|
}, 8, ["value"])) : te("", !0)
|
|
@@ -46786,7 +46787,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46786
46787
|
])
|
|
46787
46788
|
], 2));
|
|
46788
46789
|
}
|
|
46789
|
-
}),
|
|
46790
|
+
}), VP = { key: 1 }, jP = /* @__PURE__ */ oe({
|
|
46790
46791
|
__name: "BaseLayoutNotificationItem",
|
|
46791
46792
|
props: {
|
|
46792
46793
|
notification: {
|
|
@@ -46818,7 +46819,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46818
46819
|
}, 1032, ["to", "onMouseup"])
|
|
46819
46820
|
]),
|
|
46820
46821
|
_: 1
|
|
46821
|
-
})) : (k(), $("div",
|
|
46822
|
+
})) : (k(), $("div", VP, [
|
|
46822
46823
|
ne(g(Oi), {
|
|
46823
46824
|
as: "button",
|
|
46824
46825
|
class: "w-full text-left"
|
|
@@ -46835,10 +46836,10 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46835
46836
|
]));
|
|
46836
46837
|
};
|
|
46837
46838
|
}
|
|
46838
|
-
}),
|
|
46839
|
+
}), HP = {
|
|
46839
46840
|
key: 0,
|
|
46840
46841
|
class: "flex items-center justify-center p-6"
|
|
46841
|
-
},
|
|
46842
|
+
}, WP = { class: "" }, qP = { class: "text-center text-sm text-slate-700" }, UP = {
|
|
46842
46843
|
key: 1,
|
|
46843
46844
|
class: "mt-1 border-t border-slate-200 pt-1"
|
|
46844
46845
|
}, U1 = /* @__PURE__ */ oe({
|
|
@@ -46898,21 +46899,21 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46898
46899
|
], 2)
|
|
46899
46900
|
]),
|
|
46900
46901
|
items: Q(() => [
|
|
46901
|
-
(k(!0), $(Oe, null, Ye(n.notificationsConfig.items.slice(0, 4), (p) => (k(), re(
|
|
46902
|
+
(k(!0), $(Oe, null, Ye(n.notificationsConfig.items.slice(0, 4), (p) => (k(), re(jP, {
|
|
46902
46903
|
key: p.id + "link",
|
|
46903
46904
|
notification: p,
|
|
46904
46905
|
onClick: l
|
|
46905
46906
|
}, null, 8, ["notification"]))), 128)),
|
|
46906
|
-
n.notificationsConfig.items.length == 0 ? (k(), $("div",
|
|
46907
|
-
A("div",
|
|
46907
|
+
n.notificationsConfig.items.length == 0 ? (k(), $("div", HP, [
|
|
46908
|
+
A("div", WP, [
|
|
46908
46909
|
ne(g(Ge), {
|
|
46909
46910
|
icon: "heroicons:inbox-stack",
|
|
46910
46911
|
class: "mx-auto mb-2 h-8 w-8 text-slate-400"
|
|
46911
46912
|
}),
|
|
46912
|
-
A("p",
|
|
46913
|
+
A("p", qP, se(g(ve)("sui.notifications_empty")), 1)
|
|
46913
46914
|
])
|
|
46914
46915
|
])) : te("", !0),
|
|
46915
|
-
n.notificationsConfig.footerTo ? (k(), $("div",
|
|
46916
|
+
n.notificationsConfig.footerTo ? (k(), $("div", UP, [
|
|
46916
46917
|
ne(g(Oi), null, {
|
|
46917
46918
|
default: Q(({ active: p, close: m }) => [
|
|
46918
46919
|
ne(h, {
|
|
@@ -46935,7 +46936,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46935
46936
|
}, 8, ["width"]);
|
|
46936
46937
|
};
|
|
46937
46938
|
}
|
|
46938
|
-
}),
|
|
46939
|
+
}), KP = { class: "flex w-full justify-between" }, YP = { class: "flex grow" }, GP = ["src", "alt"], JP = { class: "space-y-0.5 p-2" }, XP = { class: "p-2 pb-6" }, QP = { class: "mt-4 space-y-1" }, ZP = /* @__PURE__ */ oe({
|
|
46939
46940
|
__name: "BaseLayoutStackedConfigurable",
|
|
46940
46941
|
props: {
|
|
46941
46942
|
appName: {
|
|
@@ -46996,8 +46997,8 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
46996
46997
|
navbar: n.navbar
|
|
46997
46998
|
}, {
|
|
46998
46999
|
navbar: Q(({ mobile: a }) => [
|
|
46999
|
-
A("div",
|
|
47000
|
-
A("div",
|
|
47000
|
+
A("div", KP, [
|
|
47001
|
+
A("div", YP, [
|
|
47001
47002
|
n.logoUrl ? (k(), re(l, {
|
|
47002
47003
|
key: 0,
|
|
47003
47004
|
to: n.logoTo,
|
|
@@ -47012,7 +47013,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47012
47013
|
class: "block h-8 w-auto",
|
|
47013
47014
|
src: n.logoUrl,
|
|
47014
47015
|
alt: n.appName
|
|
47015
|
-
}, null, 8,
|
|
47016
|
+
}, null, 8, GP)
|
|
47016
47017
|
]),
|
|
47017
47018
|
_: 1
|
|
47018
47019
|
}, 8, ["to", "class"])) : te("", !0),
|
|
@@ -47065,7 +47066,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47065
47066
|
])
|
|
47066
47067
|
]),
|
|
47067
47068
|
mobile: Q(() => [
|
|
47068
|
-
A("div",
|
|
47069
|
+
A("div", JP, [
|
|
47069
47070
|
(k(!0), $(Oe, null, Ye(n.menu, (a) => (k(), re(Zs, {
|
|
47070
47071
|
key: a.label,
|
|
47071
47072
|
item: a,
|
|
@@ -47076,14 +47077,14 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47076
47077
|
A("hr", {
|
|
47077
47078
|
class: j(["mb-4 mt-2", [n.dark ? "border-slate-700" : "border-slate-200"]])
|
|
47078
47079
|
}, null, 2),
|
|
47079
|
-
A("div",
|
|
47080
|
+
A("div", XP, [
|
|
47080
47081
|
ne(Js, {
|
|
47081
47082
|
user: n.user,
|
|
47082
47083
|
"show-details": "",
|
|
47083
47084
|
size: "base",
|
|
47084
47085
|
class: j(["px-3", n.dark ? "text-white" : ""])
|
|
47085
47086
|
}, null, 8, ["user", "class"]),
|
|
47086
|
-
A("div",
|
|
47087
|
+
A("div", QP, [
|
|
47087
47088
|
(k(!0), $(Oe, null, Ye(n.userMenu, (a) => (k(), re(Zs, {
|
|
47088
47089
|
key: a.label,
|
|
47089
47090
|
item: a,
|
|
@@ -47100,10 +47101,10 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47100
47101
|
}, 8, ["size", "dark", "navbar"]);
|
|
47101
47102
|
};
|
|
47102
47103
|
}
|
|
47103
|
-
}),
|
|
47104
|
+
}), eF = { class: "min-h-full base-layout-sidebar" }, tF = { class: "fixed inset-0 z-40 flex" }, nF = { class: "absolute top-0 right-0 pt-2 -mr-12" }, rF = ["src", "alt"], oF = {
|
|
47104
47105
|
"data-scroll-lock-scrollable": "",
|
|
47105
47106
|
class: "flex-1 h-0 mt-5 overflow-y-auto"
|
|
47106
|
-
},
|
|
47107
|
+
}, iF = { class: "sticky top-0 left-0 z-10 shadow shrink-0 || print:hidden" }, sF = { class: "flex flex-1" }, lF = { class: "relative flex-1 min-h-full" }, aF = ["src", "alt"], uF = { class: "flex flex-1" }, cF = { class: "flex-1" }, dF = "base_layout_sidebar.", K1 = /* @__PURE__ */ oe({
|
|
47107
47108
|
__name: "BaseLayoutSidebar",
|
|
47108
47109
|
props: {
|
|
47109
47110
|
appName: {
|
|
@@ -47138,7 +47139,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47138
47139
|
function l() {
|
|
47139
47140
|
o.value = !1;
|
|
47140
47141
|
}
|
|
47141
|
-
const a = Dt.settingsStorage, u = `${
|
|
47142
|
+
const a = Dt.settingsStorage, u = `${dF}.collapsed`, c = V(!1);
|
|
47142
47143
|
et(async () => {
|
|
47143
47144
|
c.value = await a.get(u) == 1;
|
|
47144
47145
|
});
|
|
@@ -47148,7 +47149,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47148
47149
|
const f = S(() => t.size === "xs" ? 50 : t.size === "sm" ? 54 : 64);
|
|
47149
47150
|
return qe("toggleMenu", i), qe("openMenu", s), qe("closeMenu", l), (h, p) => {
|
|
47150
47151
|
const m = $t("RouterLink");
|
|
47151
|
-
return k(), $("div",
|
|
47152
|
+
return k(), $("div", eF, [
|
|
47152
47153
|
ne(g(Iv), {
|
|
47153
47154
|
as: "template",
|
|
47154
47155
|
show: o.value
|
|
@@ -47174,7 +47175,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47174
47175
|
])]),
|
|
47175
47176
|
_: 1
|
|
47176
47177
|
}),
|
|
47177
|
-
A("div",
|
|
47178
|
+
A("div", tF, [
|
|
47178
47179
|
ne(g(sa), {
|
|
47179
47180
|
as: "template",
|
|
47180
47181
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -47199,7 +47200,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47199
47200
|
"leave-to": "opacity-0"
|
|
47200
47201
|
}, {
|
|
47201
47202
|
default: Q(() => [
|
|
47202
|
-
A("div",
|
|
47203
|
+
A("div", nF, [
|
|
47203
47204
|
A("button", {
|
|
47204
47205
|
type: "button",
|
|
47205
47206
|
class: "flex items-center justify-center w-10 h-10 ml-1 rounded-full",
|
|
@@ -47226,11 +47227,11 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47226
47227
|
class: "block w-auto h-8",
|
|
47227
47228
|
src: n.logoUrl,
|
|
47228
47229
|
alt: n.appName
|
|
47229
|
-
}, null, 8,
|
|
47230
|
+
}, null, 8, rF)
|
|
47230
47231
|
]),
|
|
47231
47232
|
_: 1
|
|
47232
47233
|
}, 8, ["to"]),
|
|
47233
|
-
A("div",
|
|
47234
|
+
A("div", oF, [
|
|
47234
47235
|
A("nav", null, [
|
|
47235
47236
|
de(h.$slots, "menu")
|
|
47236
47237
|
])
|
|
@@ -47255,7 +47256,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47255
47256
|
A("div", {
|
|
47256
47257
|
class: j(["flex flex-col min-h-full || xl:print:pl-0", [c.value ? "xl:pl-14" : "xl:pl-64"]])
|
|
47257
47258
|
}, [
|
|
47258
|
-
A("div",
|
|
47259
|
+
A("div", iF, [
|
|
47259
47260
|
(k(!0), $(Oe, null, Ye(g(r), (v) => (k(), re(Kh, {
|
|
47260
47261
|
key: v.id,
|
|
47261
47262
|
color: v.color,
|
|
@@ -47285,12 +47286,12 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47285
47286
|
"aria-hidden": "true"
|
|
47286
47287
|
})
|
|
47287
47288
|
]),
|
|
47288
|
-
A("div",
|
|
47289
|
+
A("div", sF, [
|
|
47289
47290
|
de(h.$slots, "navbar")
|
|
47290
47291
|
])
|
|
47291
47292
|
], 4)
|
|
47292
47293
|
]),
|
|
47293
|
-
A("main",
|
|
47294
|
+
A("main", lF, [
|
|
47294
47295
|
de(h.$slots, "default")
|
|
47295
47296
|
])
|
|
47296
47297
|
], 2),
|
|
@@ -47316,7 +47317,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47316
47317
|
class: "block w-auto h-8",
|
|
47317
47318
|
src: n.logoUrl,
|
|
47318
47319
|
alt: n.appName
|
|
47319
|
-
}, null, 8,
|
|
47320
|
+
}, null, 8, aF)
|
|
47320
47321
|
]),
|
|
47321
47322
|
_: 1
|
|
47322
47323
|
}, 8, ["to"])),
|
|
@@ -47334,8 +47335,8 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47334
47335
|
})
|
|
47335
47336
|
], 2)
|
|
47336
47337
|
], 6),
|
|
47337
|
-
A("div",
|
|
47338
|
-
A("nav",
|
|
47338
|
+
A("div", uF, [
|
|
47339
|
+
A("nav", cF, [
|
|
47339
47340
|
de(h.$slots, "menu", { collapsed: c.value })
|
|
47340
47341
|
])
|
|
47341
47342
|
])
|
|
@@ -47344,10 +47345,10 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47344
47345
|
]);
|
|
47345
47346
|
};
|
|
47346
47347
|
}
|
|
47347
|
-
}),
|
|
47348
|
+
}), fF = {
|
|
47348
47349
|
key: 1,
|
|
47349
47350
|
class: "px-4"
|
|
47350
|
-
},
|
|
47351
|
+
}, hF = { class: "flex flex-1 justify-between px-4" }, pF = { class: "flex grow" }, mF = { class: "ml-4 flex items-center md:ml-6" }, gF = /* @__PURE__ */ oe({
|
|
47351
47352
|
__name: "BaseLayoutSidebarConfigurable",
|
|
47352
47353
|
props: {
|
|
47353
47354
|
appName: {
|
|
@@ -47420,7 +47421,7 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47420
47421
|
d.label && !d.href && !d.to && !d.action ? (k(), $("div", {
|
|
47421
47422
|
key: d.label
|
|
47422
47423
|
}, [
|
|
47423
|
-
c ? (k(), $("div",
|
|
47424
|
+
c ? (k(), $("div", fF, [...u[0] || (u[0] = [
|
|
47424
47425
|
A("hr", { class: "my-2 border-slate-600" }, null, -1)
|
|
47425
47426
|
])])) : (k(), $("h2", {
|
|
47426
47427
|
key: 0,
|
|
@@ -47453,11 +47454,11 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47453
47454
|
], 2)
|
|
47454
47455
|
]),
|
|
47455
47456
|
navbar: Q(() => [
|
|
47456
|
-
A("div",
|
|
47457
|
-
A("div",
|
|
47457
|
+
A("div", hF, [
|
|
47458
|
+
A("div", pF, [
|
|
47458
47459
|
de(a.$slots, "navbar")
|
|
47459
47460
|
]),
|
|
47460
|
-
A("div",
|
|
47461
|
+
A("div", mF, [
|
|
47461
47462
|
n.notifications ? (k(), re(U1, {
|
|
47462
47463
|
key: 0,
|
|
47463
47464
|
"notifications-config": n.notifications,
|
|
@@ -47560,9 +47561,9 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47560
47561
|
BaseInputPercent: HD,
|
|
47561
47562
|
BaseJsonReader: JD,
|
|
47562
47563
|
BaseLayoutSidebar: K1,
|
|
47563
|
-
BaseLayoutSidebarConfigurable:
|
|
47564
|
+
BaseLayoutSidebarConfigurable: gF,
|
|
47564
47565
|
BaseLayoutStacked: q1,
|
|
47565
|
-
BaseLayoutStackedConfigurable:
|
|
47566
|
+
BaseLayoutStackedConfigurable: ZP,
|
|
47566
47567
|
BaseLazy: QD,
|
|
47567
47568
|
BaseLoadingCover: rh,
|
|
47568
47569
|
BaseMediaItem: cO,
|
|
@@ -47584,17 +47585,17 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47584
47585
|
BaseReadMore: T3,
|
|
47585
47586
|
BaseRichText: r4,
|
|
47586
47587
|
BaseSelect: Jo,
|
|
47587
|
-
BaseShortcut:
|
|
47588
|
-
BaseSideNavigation:
|
|
47589
|
-
BaseSideNavigationItem:
|
|
47590
|
-
BaseSignature:
|
|
47588
|
+
BaseShortcut: h4,
|
|
47589
|
+
BaseSideNavigation: v4,
|
|
47590
|
+
BaseSideNavigationItem: b4,
|
|
47591
|
+
BaseSignature: l4,
|
|
47591
47592
|
BaseSkeleton: da,
|
|
47592
|
-
BaseStatistic:
|
|
47593
|
-
BaseStepper:
|
|
47593
|
+
BaseStatistic: A4,
|
|
47594
|
+
BaseStepper: J4,
|
|
47594
47595
|
BaseStepperItem: j1,
|
|
47595
|
-
BaseSwitch:
|
|
47596
|
+
BaseSwitch: Q4,
|
|
47596
47597
|
BaseSystemAlert: Kh,
|
|
47597
|
-
BaseTabItem:
|
|
47598
|
+
BaseTabItem: dP,
|
|
47598
47599
|
BaseTable: G0,
|
|
47599
47600
|
BaseTableBody: Q0,
|
|
47600
47601
|
BaseTableCell: va,
|
|
@@ -47602,18 +47603,18 @@ const D4 = /* @__PURE__ */ Zi(k4, [["render", I4]]), O4 = { class: "flex-shrink-
|
|
|
47602
47603
|
BaseTableHead: J0,
|
|
47603
47604
|
BaseTableHeader: X0,
|
|
47604
47605
|
BaseTableRow: vs,
|
|
47605
|
-
BaseTabs:
|
|
47606
|
+
BaseTabs: oP,
|
|
47606
47607
|
BaseTagAutocomplete: Ku,
|
|
47607
47608
|
BaseTagAutocompleteFetch: th,
|
|
47608
47609
|
BaseTextarea: Aa,
|
|
47609
|
-
BaseTextareaAutoresize:
|
|
47610
|
-
BaseTimePicker:
|
|
47611
|
-
BaseTimeline:
|
|
47610
|
+
BaseTextareaAutoresize: pP,
|
|
47611
|
+
BaseTimePicker: NP,
|
|
47612
|
+
BaseTimeline: CP,
|
|
47612
47613
|
BaseTimelineItem: H1,
|
|
47613
47614
|
BaseTooltip: Qi,
|
|
47614
|
-
BaseUniqueCode:
|
|
47615
|
+
BaseUniqueCode: LP
|
|
47615
47616
|
}, Symbol.toStringTag, { value: "Module" })), Lg = "sui.";
|
|
47616
|
-
class
|
|
47617
|
+
class vF {
|
|
47617
47618
|
constructor(t, e) {
|
|
47618
47619
|
Yn(this, "getFunction");
|
|
47619
47620
|
Yn(this, "setFunction");
|
|
@@ -47627,10 +47628,10 @@ class bF {
|
|
|
47627
47628
|
return this.setFunction(t, e);
|
|
47628
47629
|
}
|
|
47629
47630
|
}
|
|
47630
|
-
const
|
|
47631
|
+
const yF = 100, BF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47631
47632
|
__proto__: null,
|
|
47632
|
-
MAGIC_NUM:
|
|
47633
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
47633
|
+
MAGIC_NUM: yF
|
|
47634
|
+
}, Symbol.toStringTag, { value: "Module" })), RF = { en: l0, fr: a0 }, Dt = {
|
|
47634
47635
|
http: dw.create(),
|
|
47635
47636
|
locales: {
|
|
47636
47637
|
en: "English",
|
|
@@ -47650,14 +47651,14 @@ const wF = 100, NF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
47650
47651
|
//comma: true,
|
|
47651
47652
|
});
|
|
47652
47653
|
},
|
|
47653
|
-
settingsStorage: new
|
|
47654
|
+
settingsStorage: new vF(),
|
|
47654
47655
|
countries: [],
|
|
47655
47656
|
regions: [],
|
|
47656
47657
|
props: {
|
|
47657
47658
|
size: "md"
|
|
47658
47659
|
}
|
|
47659
47660
|
};
|
|
47660
|
-
function
|
|
47661
|
+
function bF(n, t) {
|
|
47661
47662
|
for (const e in $g)
|
|
47662
47663
|
n.component(e, $g[e]);
|
|
47663
47664
|
t != null && t.http && (Dt.http = t.http), t != null && t.locales && (Dt.locales = t.locales), t != null && t.upload_url && (Dt.upload_url = t.upload_url), t != null && t.formatQueryString && (Dt.formatQueryString = t.formatQueryString), t != null && t.parseQueryString && (Dt.parseQueryString = t.parseQueryString), t != null && t.settingsStorage && (Dt.settingsStorage = t.settingsStorage), t != null && t.countries && (Dt.countries = t.countries), t != null && t.regions && (Dt.regions = t.regions), t != null && t.props && (Dt.props = t.props), n.config.globalProperties.$i18n && _e(
|
|
@@ -47668,7 +47669,7 @@ function xF(n, t) {
|
|
|
47668
47669
|
{ immediate: !0 }
|
|
47669
47670
|
);
|
|
47670
47671
|
}
|
|
47671
|
-
const
|
|
47672
|
+
const NF = { install: bF };
|
|
47672
47673
|
export {
|
|
47673
47674
|
$f as BaseActionButtons,
|
|
47674
47675
|
yo as BaseActionItem,
|
|
@@ -47728,9 +47729,9 @@ export {
|
|
|
47728
47729
|
HD as BaseInputPercent,
|
|
47729
47730
|
JD as BaseJsonReader,
|
|
47730
47731
|
K1 as BaseLayoutSidebar,
|
|
47731
|
-
|
|
47732
|
+
gF as BaseLayoutSidebarConfigurable,
|
|
47732
47733
|
q1 as BaseLayoutStacked,
|
|
47733
|
-
|
|
47734
|
+
ZP as BaseLayoutStackedConfigurable,
|
|
47734
47735
|
QD as BaseLazy,
|
|
47735
47736
|
rh as BaseLoadingCover,
|
|
47736
47737
|
cO as BaseMediaItem,
|
|
@@ -47752,17 +47753,17 @@ export {
|
|
|
47752
47753
|
T3 as BaseReadMore,
|
|
47753
47754
|
r4 as BaseRichText,
|
|
47754
47755
|
Jo as BaseSelect,
|
|
47755
|
-
|
|
47756
|
-
|
|
47757
|
-
|
|
47758
|
-
|
|
47756
|
+
h4 as BaseShortcut,
|
|
47757
|
+
v4 as BaseSideNavigation,
|
|
47758
|
+
b4 as BaseSideNavigationItem,
|
|
47759
|
+
l4 as BaseSignature,
|
|
47759
47760
|
da as BaseSkeleton,
|
|
47760
|
-
|
|
47761
|
-
|
|
47761
|
+
A4 as BaseStatistic,
|
|
47762
|
+
J4 as BaseStepper,
|
|
47762
47763
|
j1 as BaseStepperItem,
|
|
47763
|
-
|
|
47764
|
+
Q4 as BaseSwitch,
|
|
47764
47765
|
Kh as BaseSystemAlert,
|
|
47765
|
-
|
|
47766
|
+
dP as BaseTabItem,
|
|
47766
47767
|
G0 as BaseTable,
|
|
47767
47768
|
Q0 as BaseTableBody,
|
|
47768
47769
|
va as BaseTableCell,
|
|
@@ -47770,22 +47771,22 @@ export {
|
|
|
47770
47771
|
J0 as BaseTableHead,
|
|
47771
47772
|
X0 as BaseTableHeader,
|
|
47772
47773
|
vs as BaseTableRow,
|
|
47773
|
-
|
|
47774
|
+
oP as BaseTabs,
|
|
47774
47775
|
Ku as BaseTagAutocomplete,
|
|
47775
47776
|
th as BaseTagAutocompleteFetch,
|
|
47776
47777
|
Aa as BaseTextarea,
|
|
47777
|
-
|
|
47778
|
-
|
|
47779
|
-
|
|
47778
|
+
pP as BaseTextareaAutoresize,
|
|
47779
|
+
NP as BaseTimePicker,
|
|
47780
|
+
CP as BaseTimeline,
|
|
47780
47781
|
H1 as BaseTimelineItem,
|
|
47781
47782
|
Qi as BaseTooltip,
|
|
47782
|
-
|
|
47783
|
-
|
|
47784
|
-
|
|
47785
|
-
|
|
47783
|
+
LP as BaseUniqueCode,
|
|
47784
|
+
BF as MyConstants,
|
|
47785
|
+
vF as SettingsStorage,
|
|
47786
|
+
DF as base64ToBlob,
|
|
47786
47787
|
_E as blobToBase64,
|
|
47787
47788
|
Dt as config,
|
|
47788
|
-
|
|
47789
|
+
NF as default,
|
|
47789
47790
|
Hf as disableScroll,
|
|
47790
47791
|
Wf as enableScroll,
|
|
47791
47792
|
qu as fileSizeFormat,
|
|
@@ -47793,7 +47794,7 @@ export {
|
|
|
47793
47794
|
Sl as getColorConfig,
|
|
47794
47795
|
UM as getInitials,
|
|
47795
47796
|
Ed as isEmpty,
|
|
47796
|
-
|
|
47797
|
+
RF as messages,
|
|
47797
47798
|
k0 as resizeImageForUpload,
|
|
47798
47799
|
OE as resizeImageFromURI,
|
|
47799
47800
|
DE as toHumanList,
|
package/package.json
CHANGED
|
@@ -24,45 +24,42 @@
|
|
|
24
24
|
/>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
<div
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
<div v-if="showApplySignatureButton || showClearButton" class="btn-group w-full">
|
|
28
|
+
<BaseButton
|
|
29
|
+
v-if="showApplySignatureButton"
|
|
30
|
+
type="button"
|
|
31
|
+
size="sm"
|
|
32
|
+
class="w-full"
|
|
33
|
+
color="slate-100-outline"
|
|
34
|
+
icon="ph:signature-light"
|
|
35
|
+
:disabled="disabled || applyingTextSignature"
|
|
36
|
+
:loading="applyingTextSignature"
|
|
37
|
+
@click="applyTextSignature"
|
|
38
|
+
>
|
|
39
|
+
{{ t('sui.apply_signature') }}
|
|
40
|
+
</BaseButton>
|
|
41
|
+
|
|
42
|
+
<BaseButton
|
|
43
|
+
v-if="showClearButton"
|
|
44
|
+
type="button"
|
|
45
|
+
size="sm"
|
|
46
|
+
class="w-full"
|
|
47
|
+
icon="mdi:remove"
|
|
48
|
+
color="slate-100-outline"
|
|
49
|
+
:disabled="disabled || !canClear"
|
|
50
|
+
@click="clear"
|
|
35
51
|
>
|
|
36
|
-
{{
|
|
37
|
-
</
|
|
38
|
-
<span v-else />
|
|
39
|
-
|
|
40
|
-
<div class="flex flex-wrap justify-end gap-2">
|
|
41
|
-
<BaseButton
|
|
42
|
-
v-if="showApplySignatureButton"
|
|
43
|
-
type="button"
|
|
44
|
-
size="sm"
|
|
45
|
-
color="secondary-outline"
|
|
46
|
-
:disabled="disabled || applyingTextSignature"
|
|
47
|
-
:loading="applyingTextSignature"
|
|
48
|
-
@click="applyTextSignature"
|
|
49
|
-
>
|
|
50
|
-
{{ t('sui.apply_signature') }}
|
|
51
|
-
</BaseButton>
|
|
52
|
-
|
|
53
|
-
<BaseButton
|
|
54
|
-
v-if="showClearButton"
|
|
55
|
-
type="button"
|
|
56
|
-
size="sm"
|
|
57
|
-
color="secondary-outline"
|
|
58
|
-
icon="heroicons:trash"
|
|
59
|
-
:disabled="disabled || !canClear"
|
|
60
|
-
@click="clear"
|
|
61
|
-
>
|
|
62
|
-
{{ t('sui.clear') }}
|
|
63
|
-
</BaseButton>
|
|
64
|
-
</div>
|
|
52
|
+
{{ t('sui.clear') }}
|
|
53
|
+
</BaseButton>
|
|
65
54
|
</div>
|
|
55
|
+
|
|
56
|
+
<p
|
|
57
|
+
v-if="errorMessage"
|
|
58
|
+
role="alert"
|
|
59
|
+
class="text-sm mt-1 leading-tight text-red-600"
|
|
60
|
+
>
|
|
61
|
+
{{ errorMessage }}
|
|
62
|
+
</p>
|
|
66
63
|
</div>
|
|
67
64
|
</template>
|
|
68
65
|
|