@stlhorizon/vue-ui 3.6.0 → 3.7.0

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/index.esm.js CHANGED
@@ -13231,28 +13231,28 @@ const Dd = {
13231
13231
  _: 1
13232
13232
  }, 8, ["modelValue", "size", "class", "resizable"]));
13233
13233
  }
13234
- }, Xv = { class: "w-full" }, Qv = {
13234
+ }, Xv = {
13235
13235
  key: 0,
13236
13236
  class: "mb-6"
13237
- }, Jv = { class: "text-xl font-semibold text-gray-900" }, Zv = ["onUpdate:modelValue"], e0 = {
13237
+ }, Qv = { class: "text-xl font-semibold text-gray-900" }, Jv = ["onUpdate:modelValue"], Zv = {
13238
13238
  key: 4,
13239
13239
  class: "flex items-center"
13240
- }, t0 = {
13240
+ }, e0 = {
13241
13241
  key: 5,
13242
13242
  class: "flex items-center"
13243
- }, a0 = ["id", "aria-checked", "disabled", "onClick"], n0 = {
13243
+ }, t0 = ["id", "aria-checked", "disabled", "onClick"], a0 = {
13244
13244
  key: 6,
13245
13245
  class: "space-y-2"
13246
- }, r0 = {
13246
+ }, n0 = {
13247
13247
  key: 7,
13248
13248
  class: "space-y-2"
13249
- }, s0 = {
13249
+ }, r0 = {
13250
13250
  key: 0,
13251
13251
  class: "text-xs text-gray-500"
13252
- }, l0 = {
13252
+ }, s0 = {
13253
13253
  key: 9,
13254
13254
  class: "space-y-2"
13255
- }, o0 = { class: "flex items-center gap-4" }, i0 = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, u0 = { class: "flex justify-end gap-3 pt-6" }, d0 = {
13255
+ }, l0 = { class: "flex items-center gap-4" }, o0 = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, i0 = { class: "flex justify-end gap-3 pt-6" }, u0 = {
13256
13256
  __name: "ReusableForm",
13257
13257
  props: {
13258
13258
  title: {
@@ -13263,6 +13263,15 @@ const Dd = {
13263
13263
  type: String,
13264
13264
  default: "Item"
13265
13265
  },
13266
+ formSize: {
13267
+ type: String,
13268
+ default: "4xl",
13269
+ validator: (e) => ["sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "7xl", "8xl", "full"].includes(e)
13270
+ },
13271
+ formHeight: {
13272
+ type: String,
13273
+ default: "auto"
13274
+ },
13266
13275
  fields: {
13267
13276
  type: Array,
13268
13277
  required: !0,
@@ -13407,12 +13416,14 @@ const Dd = {
13407
13416
  }, C = () => {
13408
13417
  l.value = g(), o.value = {}, m.value = !1, n("reset");
13409
13418
  };
13410
- return (v, f) => (s(), c("div", Xv, [
13411
- e.title ? (s(), c("div", Qv, [
13412
- d("h2", Jv, x(e.title), 1)
13419
+ return (v, f) => (s(), c("div", {
13420
+ class: b(e.formHeight === "auto" ? "" : e.formHeight)
13421
+ }, [
13422
+ e.title ? (s(), c("div", Xv, [
13423
+ d("h2", Qv, x(e.title), 1)
13413
13424
  ])) : p("", !0),
13414
13425
  d("form", {
13415
- class: "space-y-6",
13426
+ class: "space-y-6 overflow-y-auto",
13416
13427
  onSubmit: Ce(S, ["prevent"])
13417
13428
  }, [
13418
13429
  (s(!0), c(G, null, X(e.fields, (i) => (s(), c("div", {
@@ -13422,7 +13433,7 @@ const Dd = {
13422
13433
  key: 0,
13423
13434
  "onUpdate:modelValue": (u) => l.value[i.name] = u,
13424
13435
  type: "hidden"
13425
- }, null, 8, Zv)), [
13436
+ }, null, 8, Jv)), [
13426
13437
  [We, l.value[i.name]]
13427
13438
  ]) : (s(), L(Ba, {
13428
13439
  key: 1,
@@ -13477,7 +13488,7 @@ const Dd = {
13477
13488
  "has-error": w,
13478
13489
  "aria-describedby": V,
13479
13490
  "onUpdate:modelValue": (z) => l.value[i.name] = z
13480
- }, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : i.type === "checkbox" ? (s(), c("div", e0, [
13491
+ }, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : i.type === "checkbox" ? (s(), c("div", Zv, [
13481
13492
  P(ge, {
13482
13493
  id: u,
13483
13494
  modelValue: l.value[i.name],
@@ -13496,7 +13507,7 @@ const Dd = {
13496
13507
  ]),
13497
13508
  _: 2
13498
13509
  }, 1032, ["for"])
13499
- ])) : i.type === "switch" ? (s(), c("div", t0, [
13510
+ ])) : i.type === "switch" ? (s(), c("div", e0, [
13500
13511
  d("button", {
13501
13512
  id: u,
13502
13513
  type: "button",
@@ -13516,7 +13527,7 @@ const Dd = {
13516
13527
  l.value[i.name] ? "translate-x-6" : "translate-x-1"
13517
13528
  ])
13518
13529
  }, null, 2)
13519
- ], 10, a0),
13530
+ ], 10, t0),
13520
13531
  P(De, {
13521
13532
  for: u,
13522
13533
  class: "ml-3 text-sm text-gray-700"
@@ -13526,7 +13537,7 @@ const Dd = {
13526
13537
  ]),
13527
13538
  _: 2
13528
13539
  }, 1032, ["for"])
13529
- ])) : i.type === "radio" ? (s(), c("div", n0, [
13540
+ ])) : i.type === "radio" ? (s(), c("div", a0, [
13530
13541
  (s(!0), c(G, null, X(i.options, (z) => (s(), c("div", {
13531
13542
  key: z.value,
13532
13543
  class: "flex items-center"
@@ -13551,7 +13562,7 @@ const Dd = {
13551
13562
  _: 2
13552
13563
  }, 1032, ["for"])
13553
13564
  ]))), 128))
13554
- ])) : i.type === "file" ? (s(), c("div", r0, [
13565
+ ])) : i.type === "file" ? (s(), c("div", n0, [
13555
13566
  P(ge, {
13556
13567
  id: u,
13557
13568
  type: "file",
@@ -13564,7 +13575,7 @@ const Dd = {
13564
13575
  "aria-describedby": V,
13565
13576
  onChange: (z) => I(i, z)
13566
13577
  }, null, 8, ["id", "accept", "disabled", "class", "aria-describedby", "onChange"]),
13567
- i.helpText ? (s(), c("p", s0, x(i.helpText), 1)) : p("", !0)
13578
+ i.helpText ? (s(), c("p", r0, x(i.helpText), 1)) : p("", !0)
13568
13579
  ])) : i.type === "slider" ? (s(), L(Pa, {
13569
13580
  key: 8,
13570
13581
  "model-value": l.value[i.name],
@@ -13573,8 +13584,8 @@ const Dd = {
13573
13584
  step: i.step,
13574
13585
  disabled: r.value || i.disabled,
13575
13586
  "onUpdate:modelValue": (z) => $(i, z)
13576
- }, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : i.type === "range" ? (s(), c("div", l0, [
13577
- d("div", o0, [
13587
+ }, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : i.type === "range" ? (s(), c("div", s0, [
13588
+ d("div", l0, [
13578
13589
  P(ge, {
13579
13590
  id: u,
13580
13591
  modelValue: l.value[i.name],
@@ -13587,7 +13598,7 @@ const Dd = {
13587
13598
  class: "flex-1",
13588
13599
  "aria-describedby": V
13589
13600
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "aria-describedby"]),
13590
- d("span", i0, x(l.value[i.name]), 1)
13601
+ d("span", o0, x(l.value[i.name]), 1)
13591
13602
  ])
13592
13603
  ])) : i.type === "date" ? (s(), L(Ot, {
13593
13604
  key: 10,
@@ -13645,7 +13656,7 @@ const Dd = {
13645
13656
  _: 2
13646
13657
  }, 1032, ["id", "label", "required", "error", "error-message"]))
13647
13658
  ]))), 128)),
13648
- d("div", u0, [
13659
+ d("div", i0, [
13649
13660
  P(ye, {
13650
13661
  type: "button",
13651
13662
  variant: "outline",
@@ -13670,39 +13681,39 @@ const Dd = {
13670
13681
  }, 8, ["disabled", "loading"])
13671
13682
  ])
13672
13683
  ], 32)
13673
- ]));
13684
+ ], 2));
13674
13685
  }
13675
- }, c0 = {
13686
+ }, d0 = {
13676
13687
  key: 0,
13677
13688
  class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
13678
- }, f0 = { class: "text-lg font-bold text-gray-900" }, m0 = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, g0 = { class: "space-y-2" }, v0 = { key: 0 }, b0 = {
13689
+ }, c0 = { class: "text-lg font-bold text-gray-900" }, f0 = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, m0 = { class: "space-y-2" }, g0 = { key: 0 }, v0 = {
13679
13690
  key: 0,
13680
13691
  class: "absolute top-2 right-2 inline-flex items-center justify-center w-5 h-5 text-xs font-bold rounded-full bg-red-500 text-white"
13681
- }, h0 = ["onClick"], p0 = {
13692
+ }, b0 = ["onClick"], h0 = {
13682
13693
  key: 0,
13683
13694
  class: "absolute top-2 right-2 inline-flex items-center justify-center w-5 h-5 text-xs font-bold rounded-full bg-red-500 text-white"
13684
- }, y0 = {
13695
+ }, p0 = {
13685
13696
  key: 1,
13686
13697
  class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
13687
- }, x0 = {
13698
+ }, y0 = {
13688
13699
  key: 1,
13689
13700
  class: "border-t border-gray-200 p-4 flex-shrink-0"
13690
- }, w0 = {
13701
+ }, x0 = {
13691
13702
  key: 0,
13692
13703
  class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
13693
- }, k0 = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, $0 = { class: "flex items-center justify-between p-4" }, S0 = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, C0 = { class: "p-3" }, z0 = { class: "space-y-1" }, A0 = {
13704
+ }, w0 = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, k0 = { class: "flex items-center justify-between p-4" }, $0 = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, S0 = { class: "p-3" }, C0 = { class: "space-y-1" }, z0 = {
13694
13705
  key: 0,
13695
13706
  class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-gradient-to-b from-blue-500 to-blue-600 rounded-r-full"
13696
- }, V0 = {
13707
+ }, A0 = {
13697
13708
  key: 1,
13698
13709
  class: "ml-2 inline-flex items-center justify-center px-2 py-0.5 text-xs font-bold rounded-full bg-red-500 text-white"
13699
- }, B0 = { class: "p-3" }, P0 = { class: "space-y-1" }, T0 = {
13710
+ }, V0 = { class: "p-3" }, B0 = { class: "space-y-1" }, P0 = {
13700
13711
  key: 0,
13701
13712
  class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
13702
- }, j0 = {
13713
+ }, T0 = {
13703
13714
  key: 0,
13704
13715
  class: "absolute left-0 top-1/2 transform -translate-y-1/2 w-1 h-8 bg-gradient-to-b from-blue-500 to-blue-600 rounded-r-full"
13705
- }, I0 = {
13716
+ }, j0 = {
13706
13717
  __name: "Sidebar",
13707
13718
  props: {
13708
13719
  sidebarWidth: {
@@ -13825,8 +13836,8 @@ const Dd = {
13825
13836
  )),
13826
13837
  style: fe({ width: e.sidebarWidth + "px", top: l.value ? "0px" : "4rem" })
13827
13838
  }, [
13828
- l.value ? (s(), c("div", c0, [
13829
- d("h2", f0, x(e.header?.title), 1),
13839
+ l.value ? (s(), c("div", d0, [
13840
+ d("h2", c0, x(e.header?.title), 1),
13830
13841
  d("button", {
13831
13842
  class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
13832
13843
  "aria-label": "Close sidebar",
@@ -13847,12 +13858,12 @@ const Dd = {
13847
13858
  ], -1)
13848
13859
  ])])
13849
13860
  ])) : p("", !0),
13850
- d("nav", m0, [
13851
- d("div", g0, [
13861
+ d("nav", f0, [
13862
+ d("div", m0, [
13852
13863
  (s(!0), c(G, null, X(e.navigationItems, (B) => (s(), c(G, {
13853
13864
  key: B.name || B.label
13854
13865
  }, [
13855
- B.type === "link" ? (s(), c("div", v0, [
13866
+ B.type === "link" ? (s(), c("div", g0, [
13856
13867
  v(B) ? (s(), c("div", {
13857
13868
  key: 1,
13858
13869
  class: b(_(A)(
@@ -13879,9 +13890,9 @@ const Dd = {
13879
13890
  K(B) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
13880
13891
  ))
13881
13892
  }, x(B.label), 3),
13882
- B.badge ? (s(), c("span", p0, x(B.badge), 1)) : p("", !0),
13883
- K(B) && v(B) ? (s(), c("div", y0)) : p("", !0)
13884
- ], 10, h0)) : (s(), L(J, {
13893
+ B.badge ? (s(), c("span", h0, x(B.badge), 1)) : p("", !0),
13894
+ K(B) && v(B) ? (s(), c("div", p0)) : p("", !0)
13895
+ ], 10, b0)) : (s(), L(J, {
13885
13896
  key: 0,
13886
13897
  to: B.route,
13887
13898
  class: b(_(A)(
@@ -13909,7 +13920,7 @@ const Dd = {
13909
13920
  K(B) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
13910
13921
  ))
13911
13922
  }, x(B.label), 3),
13912
- B.badge ? (s(), c("span", b0, x(B.badge), 1)) : p("", !0)
13923
+ B.badge ? (s(), c("span", v0, x(B.badge), 1)) : p("", !0)
13913
13924
  ]),
13914
13925
  _: 2
13915
13926
  }, 1032, ["to", "class", "onClick"]))
@@ -13917,7 +13928,7 @@ const Dd = {
13917
13928
  ], 64))), 128))
13918
13929
  ])
13919
13930
  ]),
13920
- e.showManagementSettings ? (s(), c("div", x0, [
13931
+ e.showManagementSettings ? (s(), c("div", y0, [
13921
13932
  d("div", {
13922
13933
  class: b(_(A)(
13923
13934
  "flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
@@ -13943,7 +13954,7 @@ const Dd = {
13943
13954
  e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
13944
13955
  ))
13945
13956
  }, " Settings ", 2),
13946
- e.isManagementSettingsActive ? (s(), c("div", w0)) : p("", !0)
13957
+ e.isManagementSettingsActive ? (s(), c("div", x0)) : p("", !0)
13947
13958
  ], 2)
13948
13959
  ])) : p("", !0)
13949
13960
  ], 6),
@@ -13966,8 +13977,8 @@ const Dd = {
13966
13977
  ),
13967
13978
  style: fe(k.value)
13968
13979
  }, [
13969
- d("div", k0, [
13970
- d("div", $0, [
13980
+ d("div", w0, [
13981
+ d("div", k0, [
13971
13982
  d("button", {
13972
13983
  class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
13973
13984
  "aria-label": "Close submenu",
@@ -13987,11 +13998,11 @@ const Dd = {
13987
13998
  })
13988
13999
  ], -1)
13989
14000
  ])]),
13990
- d("h3", S0, x(m.value?.label), 1)
14001
+ d("h3", $0, x(m.value?.label), 1)
13991
14002
  ])
13992
14003
  ]),
13993
- d("nav", C0, [
13994
- d("div", z0, [
14004
+ d("nav", S0, [
14005
+ d("div", C0, [
13995
14006
  (s(!0), c(G, null, X(m.value?.subItems, (B) => (s(), L(J, {
13996
14007
  key: B.name,
13997
14008
  to: B.route,
@@ -14004,7 +14015,7 @@ const Dd = {
14004
14015
  onClick: (F) => z(B)
14005
14016
  }, {
14006
14017
  default: E(() => [
14007
- K(B) ? (s(), c("div", A0)) : p("", !0),
14018
+ K(B) ? (s(), c("div", z0)) : p("", !0),
14008
14019
  d("div", {
14009
14020
  class: b(
14010
14021
  _(A)(
@@ -14025,7 +14036,7 @@ const Dd = {
14025
14036
  K(B) ? "text-blue-700" : "text-gray-700"
14026
14037
  ))
14027
14038
  }, x(B.label), 3),
14028
- B.badge ? (s(), c("span", V0, x(B.badge), 1)) : p("", !0)
14039
+ B.badge ? (s(), c("span", A0, x(B.badge), 1)) : p("", !0)
14029
14040
  ]),
14030
14041
  _: 2
14031
14042
  }, 1032, ["to", "class", "onClick"]))), 128))
@@ -14078,12 +14089,12 @@ const Dd = {
14078
14089
  ee[3] || (ee[3] = d("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
14079
14090
  ])
14080
14091
  ]),
14081
- d("nav", B0, [
14082
- d("div", P0, [
14092
+ d("nav", V0, [
14093
+ d("div", B0, [
14083
14094
  (s(!0), c(G, null, X(e.managementSettings, (B) => (s(), c(G, {
14084
14095
  key: B.name
14085
14096
  }, [
14086
- B.type === "section" ? (s(), c("div", T0, x(B.label), 1)) : B.route ? (s(), L(J, {
14097
+ B.type === "section" ? (s(), c("div", P0, x(B.label), 1)) : B.route ? (s(), L(J, {
14087
14098
  key: 1,
14088
14099
  to: B.route,
14089
14100
  class: b(
@@ -14095,7 +14106,7 @@ const Dd = {
14095
14106
  onClick: (F) => W(B)
14096
14107
  }, {
14097
14108
  default: E(() => [
14098
- K(B) ? (s(), c("div", j0)) : p("", !0),
14109
+ K(B) ? (s(), c("div", T0)) : p("", !0),
14099
14110
  d("div", {
14100
14111
  class: b(
14101
14112
  _(A)(
@@ -14146,7 +14157,7 @@ const Dd = {
14146
14157
  ]);
14147
14158
  };
14148
14159
  }
14149
- }, O0 = {
14160
+ }, I0 = {
14150
14161
  __name: "Timeline",
14151
14162
  props: {
14152
14163
  orientation: {
@@ -14165,13 +14176,13 @@ const Dd = {
14165
14176
  M(a.$slots, "default")
14166
14177
  ], 2));
14167
14178
  }
14168
- }, M0 = {
14179
+ }, O0 = {
14169
14180
  key: 0,
14170
14181
  class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
14171
- }, F0 = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, L0 = { class: "text-slate-900 font-medium" }, E0 = {
14182
+ }, M0 = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, F0 = { class: "text-slate-900 font-medium" }, L0 = {
14172
14183
  key: 0,
14173
14184
  class: "text-slate-500 text-sm"
14174
- }, N0 = { class: "mt-2 text-slate-600 text-sm" }, D0 = {
14185
+ }, E0 = { class: "mt-2 text-slate-600 text-sm" }, N0 = {
14175
14186
  __name: "TimelineItem",
14176
14187
  props: {
14177
14188
  title: {
@@ -14195,8 +14206,8 @@ const Dd = {
14195
14206
  e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
14196
14207
  ])
14197
14208
  }, [
14198
- e.orientation === "vertical" ? (s(), c("div", M0)) : p("", !0),
14199
- d("div", F0, [
14209
+ e.orientation === "vertical" ? (s(), c("div", O0)) : p("", !0),
14210
+ d("div", M0, [
14200
14211
  M(a.$slots, "icon", {}, () => [
14201
14212
  t[0] || (t[0] = d("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
14202
14213
  ])
@@ -14207,23 +14218,23 @@ const Dd = {
14207
14218
  e.orientation === "horizontal" ? "mt-2 text-center" : ""
14208
14219
  ])
14209
14220
  }, [
14210
- d("h3", L0, [
14221
+ d("h3", F0, [
14211
14222
  M(a.$slots, "title", {}, () => [
14212
14223
  Q(x(e.title), 1)
14213
14224
  ])
14214
14225
  ]),
14215
- e.subtitle ? (s(), c("p", E0, [
14226
+ e.subtitle ? (s(), c("p", L0, [
14216
14227
  M(a.$slots, "subtitle", {}, () => [
14217
14228
  Q(x(e.subtitle), 1)
14218
14229
  ])
14219
14230
  ])) : p("", !0),
14220
- d("div", N0, [
14231
+ d("div", E0, [
14221
14232
  M(a.$slots, "default")
14222
14233
  ])
14223
14234
  ], 2)
14224
14235
  ], 2));
14225
14236
  }
14226
- }, R0 = {
14237
+ }, D0 = {
14227
14238
  name: "AuthLayout",
14228
14239
  props: {
14229
14240
  title: {
@@ -14312,20 +14323,20 @@ const Dd = {
14312
14323
  currentYear: h(() => (/* @__PURE__ */ new Date()).getFullYear())
14313
14324
  };
14314
14325
  }
14315
- }, _0 = { class: "container mx-auto px-4 relative z-10" }, U0 = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, q0 = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, H0 = { class: "mb-6" }, W0 = { class: "text-4xl lg:text-6xl font-bold mb-2" }, Y0 = { class: "text-white" }, G0 = { class: "flex items-center justify-center lg:justify-start mb-6" }, K0 = { class: "text-3xl lg:text-4xl font-bold text-white" }, X0 = { class: "lg:col-span-4" }, Q0 = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, J0 = {
14326
+ }, R0 = { class: "container mx-auto px-4 relative z-10" }, _0 = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, U0 = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, q0 = { class: "mb-6" }, H0 = { class: "text-4xl lg:text-6xl font-bold mb-2" }, W0 = { class: "text-white" }, Y0 = { class: "flex items-center justify-center lg:justify-start mb-6" }, G0 = { class: "text-3xl lg:text-4xl font-bold text-white" }, K0 = { class: "lg:col-span-4" }, X0 = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, Q0 = {
14316
14327
  key: 0,
14317
14328
  class: "mb-6"
14318
- }, Z0 = { class: "text-center" }, eb = { class: "text-2xl font-bold text-gray-900" }, tb = {
14329
+ }, J0 = { class: "text-center" }, Z0 = { class: "text-2xl font-bold text-gray-900" }, eb = {
14319
14330
  key: 0,
14320
14331
  class: "text-gray-600 mt-2"
14321
- }, ab = { class: "space-y-6" }, nb = {
14332
+ }, tb = { class: "space-y-6" }, ab = {
14322
14333
  key: 1,
14323
14334
  class: "mt-6"
14324
- }, rb = {
14335
+ }, nb = {
14325
14336
  key: 0,
14326
14337
  class: "mt-6 text-center"
14327
- }, sb = { class: "absolute bottom-4 right-4 text-right" }, lb = { class: "flex items-end justify-end mb-2" }, ob = { class: "text-right mr-3" }, ib = { class: "text-red-500 font-bold text-xs" }, ub = { class: "text-white text-xs" }, db = { class: "text-white/70 text-xs" }, cb = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, fb = { class: "text-white/70 text-xs" }, mb = { class: "absolute bottom-4 left-4 flex gap-2" }, gb = ["href"];
14328
- function vb(e, a, t, n, r, l) {
14338
+ }, rb = { class: "absolute bottom-4 right-4 text-right" }, sb = { class: "flex items-end justify-end mb-2" }, lb = { class: "text-right mr-3" }, ob = { class: "text-red-500 font-bold text-xs" }, ib = { class: "text-white text-xs" }, ub = { class: "text-white/70 text-xs" }, db = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, cb = { class: "text-white/70 text-xs" }, fb = { class: "absolute bottom-4 left-4 flex gap-2" }, mb = ["href"];
14339
+ function gb(e, a, t, n, r, l) {
14329
14340
  const o = ve("router-view"), m = ve("font-awesome-icon");
14330
14341
  return s(), c("div", {
14331
14342
  class: "min-h-screen relative flex items-center justify-center",
@@ -14338,70 +14349,70 @@ function vb(e, a, t, n, r, l) {
14338
14349
  opacity: t.backgroundOpacity
14339
14350
  })
14340
14351
  }, null, 4),
14341
- d("div", _0, [
14342
- d("div", U0, [
14343
- d("div", q0, [
14344
- d("div", H0, [
14345
- d("div", W0, [
14352
+ d("div", R0, [
14353
+ d("div", _0, [
14354
+ d("div", U0, [
14355
+ d("div", q0, [
14356
+ d("div", H0, [
14346
14357
  d("span", {
14347
14358
  style: fe({ color: t.primaryColor })
14348
14359
  }, x(t.primaryLogoPrefix), 5),
14349
- d("span", Y0, x(t.primaryLogoText), 1)
14360
+ d("span", W0, x(t.primaryLogoText), 1)
14350
14361
  ]),
14351
14362
  d("div", {
14352
14363
  class: "h-0.5 w-30 mx-auto lg:mx-0",
14353
14364
  style: fe({ backgroundColor: t.primaryColor })
14354
14365
  }, null, 4)
14355
14366
  ]),
14356
- d("div", G0, [
14367
+ d("div", Y0, [
14357
14368
  d("div", {
14358
14369
  class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
14359
14370
  style: fe({ backgroundColor: t.primaryColor })
14360
14371
  }, x(t.secondaryLogoPrefix), 5),
14361
- d("span", K0, x(t.secondaryLogoText), 1)
14372
+ d("span", G0, x(t.secondaryLogoText), 1)
14362
14373
  ]),
14363
14374
  a[0] || (a[0] = d("div", { class: "max-w-md mx-auto lg:mx-0" }, [
14364
14375
  d("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
14365
14376
  ], -1))
14366
14377
  ]),
14367
- d("div", X0, [
14368
- d("div", Q0, [
14369
- e.$slots["card-header"] || t.title ? (s(), c("div", J0, [
14378
+ d("div", K0, [
14379
+ d("div", X0, [
14380
+ e.$slots["card-header"] || t.title ? (s(), c("div", Q0, [
14370
14381
  M(e.$slots, "card-header", {}, () => [
14371
- d("div", Z0, [
14372
- d("h1", eb, x(t.title), 1),
14373
- t.subtitle ? (s(), c("p", tb, x(t.subtitle), 1)) : p("", !0)
14382
+ d("div", J0, [
14383
+ d("h1", Z0, x(t.title), 1),
14384
+ t.subtitle ? (s(), c("p", eb, x(t.subtitle), 1)) : p("", !0)
14374
14385
  ])
14375
14386
  ])
14376
14387
  ])) : p("", !0),
14377
- d("div", ab, [
14388
+ d("div", tb, [
14378
14389
  P(o)
14379
14390
  ]),
14380
- e.$slots["card-footer"] ? (s(), c("div", nb, [
14391
+ e.$slots["card-footer"] ? (s(), c("div", ab, [
14381
14392
  M(e.$slots, "card-footer")
14382
14393
  ])) : p("", !0)
14383
14394
  ]),
14384
- e.$slots.links ? (s(), c("div", rb, [
14395
+ e.$slots.links ? (s(), c("div", nb, [
14385
14396
  M(e.$slots, "links")
14386
14397
  ])) : p("", !0)
14387
14398
  ])
14388
14399
  ])
14389
14400
  ]),
14390
- d("div", sb, [
14391
- d("div", lb, [
14392
- d("div", ob, [
14393
- d("div", ib, x(t.companyName), 1),
14394
- d("div", ub, x(t.companyType), 1),
14395
- d("div", db, x(t.companyTagline), 1)
14401
+ d("div", rb, [
14402
+ d("div", sb, [
14403
+ d("div", lb, [
14404
+ d("div", ob, x(t.companyName), 1),
14405
+ d("div", ib, x(t.companyType), 1),
14406
+ d("div", ub, x(t.companyTagline), 1)
14396
14407
  ]),
14397
- d("div", cb, x(t.companyInitials), 1)
14408
+ d("div", db, x(t.companyInitials), 1)
14398
14409
  ]),
14399
- d("div", fb, [
14410
+ d("div", cb, [
14400
14411
  d("div", null, x(t.appName) + " (" + x(t.appVersion) + ")", 1),
14401
14412
  d("div", null, x(t.copyright), 1)
14402
14413
  ])
14403
14414
  ]),
14404
- d("div", mb, [
14415
+ d("div", fb, [
14405
14416
  (s(!0), c(G, null, X(t.socialLinks, (g) => (s(), c("a", {
14406
14417
  key: g.name,
14407
14418
  href: g.url,
@@ -14413,14 +14424,14 @@ function vb(e, a, t, n, r, l) {
14413
14424
  P(m, {
14414
14425
  icon: ["fab", g.icon]
14415
14426
  }, null, 8, ["icon"])
14416
- ], 10, gb))), 128))
14427
+ ], 10, mb))), 128))
14417
14428
  ])
14418
14429
  ], 4);
14419
14430
  }
14420
- const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen bg-gray-50" }, pb = { class: "flex-1" }, yb = {
14431
+ const vb = /* @__PURE__ */ Mt(D0, [["render", gb]]), bb = { class: "min-h-screen bg-gray-50" }, hb = { class: "flex-1" }, pb = {
14421
14432
  key: 0,
14422
14433
  class: "bg-white border-b border-gray-200"
14423
- }, xb = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, wb = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, kb = {
14434
+ }, yb = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, xb = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, wb = {
14424
14435
  __name: "DefaultLayout",
14425
14436
  props: {
14426
14437
  navigationItems: {
@@ -14444,7 +14455,7 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
14444
14455
  setup(e) {
14445
14456
  return (a, t) => {
14446
14457
  const n = ve("Logo"), r = ve("MainNavigation"), l = ve("Button"), o = ve("Header"), m = ve("Breadcrumb"), g = ve("Text"), y = ve("Footer");
14447
- return s(), c("div", hb, [
14458
+ return s(), c("div", bb, [
14448
14459
  P(o, null, {
14449
14460
  logo: E(() => [
14450
14461
  M(a.$slots, "logo", {}, () => [
@@ -14477,15 +14488,15 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
14477
14488
  ]),
14478
14489
  _: 3
14479
14490
  }),
14480
- d("main", pb, [
14481
- e.showBreadcrumb ? (s(), c("div", yb, [
14482
- d("div", xb, [
14491
+ d("main", hb, [
14492
+ e.showBreadcrumb ? (s(), c("div", pb, [
14493
+ d("div", yb, [
14483
14494
  M(a.$slots, "breadcrumb", {}, () => [
14484
14495
  P(m, { items: e.breadcrumbItems }, null, 8, ["items"])
14485
14496
  ])
14486
14497
  ])
14487
14498
  ])) : p("", !0),
14488
- d("div", wb, [
14499
+ d("div", xb, [
14489
14500
  M(a.$slots, "default")
14490
14501
  ])
14491
14502
  ]),
@@ -14506,7 +14517,7 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
14506
14517
  ]);
14507
14518
  };
14508
14519
  }
14509
- }, $b = {
14520
+ }, kb = {
14510
14521
  name: "ErrorLayout",
14511
14522
  props: {
14512
14523
  errorType: {
@@ -14772,20 +14783,20 @@ const bb = /* @__PURE__ */ Mt(R0, [["render", vb]]), hb = { class: "min-h-screen
14772
14783
  helpClasses: oe
14773
14784
  };
14774
14785
  }
14775
- }, Sb = { class: "flex justify-center" }, Cb = { class: "flex items-center gap-3" }, zb = { class: "text-2xl font-bold text-slate-900" }, Ab = {
14786
+ }, $b = { class: "flex justify-center" }, Sb = { class: "flex items-center gap-3" }, Cb = { class: "text-2xl font-bold text-slate-900" }, zb = {
14776
14787
  key: 1,
14777
14788
  class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
14778
- }, Vb = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Bb = ["disabled"], Pb = {
14789
+ }, Ab = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, Vb = ["disabled"], Bb = {
14779
14790
  key: 0,
14780
14791
  class: "animate-spin"
14781
- }, Tb = { key: 1 }, jb = ["disabled"], Ib = { key: 0 }, Ob = { key: 1 }, Mb = {
14792
+ }, Pb = { key: 1 }, Tb = ["disabled"], jb = { key: 0 }, Ib = { key: 1 }, Ob = {
14782
14793
  key: 0,
14783
14794
  class: "mt-8 max-w-md mx-auto"
14784
- }, Fb = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, Lb = { class: "text-lg font-semibold text-slate-900 mb-4" }, Eb = { class: "space-y-3" }, Nb = { class: "text-sm text-slate-600" }, Db = ["href"], Rb = {
14795
+ }, Mb = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, Fb = { class: "text-lg font-semibold text-slate-900 mb-4" }, Lb = { class: "space-y-3" }, Eb = { class: "text-sm text-slate-600" }, Nb = ["href"], Db = {
14785
14796
  key: 5,
14786
14797
  class: "text-xs text-slate-400 font-mono mt-4"
14787
14798
  };
14788
- function _b(e, a, t, n, r, l) {
14799
+ function Rb(e, a, t, n, r, l) {
14789
14800
  return s(), c("div", {
14790
14801
  class: b(n.layoutClasses)
14791
14802
  }, [
@@ -14805,13 +14816,13 @@ function _b(e, a, t, n, r, l) {
14805
14816
  class: b(n.headerClasses)
14806
14817
  }, [
14807
14818
  M(e.$slots, "header", {}, () => [
14808
- d("div", Sb, [
14819
+ d("div", $b, [
14809
14820
  M(e.$slots, "logo", {}, () => [
14810
- d("div", Cb, [
14821
+ d("div", Sb, [
14811
14822
  a[5] || (a[5] = d("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
14812
14823
  d("span", { class: "text-white font-bold text-lg" }, "STL")
14813
14824
  ], -1)),
14814
- d("span", zb, x(t.brandName), 1)
14825
+ d("span", Cb, x(t.brandName), 1)
14815
14826
  ])
14816
14827
  ])
14817
14828
  ])
@@ -14857,7 +14868,7 @@ function _b(e, a, t, n, r, l) {
14857
14868
  ])
14858
14869
  ], 2)
14859
14870
  ], 2),
14860
- n.isOnline ? p("", !0) : (s(), c("div", Ab, [...a[6] || (a[6] = [
14871
+ n.isOnline ? p("", !0) : (s(), c("div", zb, [...a[6] || (a[6] = [
14861
14872
  d("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
14862
14873
  d("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
14863
14874
  d("span", { class: "font-medium" }, "No Internet Connection")
@@ -14868,7 +14879,7 @@ function _b(e, a, t, n, r, l) {
14868
14879
  class: b(n.actionsClasses)
14869
14880
  }, [
14870
14881
  M(e.$slots, "actions", {}, () => [
14871
- d("div", Vb, [
14882
+ d("div", Ab, [
14872
14883
  t.showHomeButton ? (s(), c("button", {
14873
14884
  key: 0,
14874
14885
  class: "bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors flex items-center justify-center gap-2",
@@ -14891,18 +14902,18 @@ function _b(e, a, t, n, r, l) {
14891
14902
  class: "border border-slate-300 text-slate-700 px-6 py-3 rounded-lg font-medium hover:bg-slate-50 transition-colors flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed",
14892
14903
  onClick: a[2] || (a[2] = (...o) => n.retry && n.retry(...o))
14893
14904
  }, [
14894
- n.isRetrying ? (s(), c("span", Pb, "↻")) : (s(), c("span", Tb, "🔄")),
14905
+ n.isRetrying ? (s(), c("span", Bb, "↻")) : (s(), c("span", Pb, "🔄")),
14895
14906
  Q(" " + x(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
14896
- ], 8, Bb)) : p("", !0),
14907
+ ], 8, Vb)) : p("", !0),
14897
14908
  t.showSupportButton ? (s(), c("button", {
14898
14909
  key: 3,
14899
14910
  disabled: n.reportSent,
14900
14911
  class: "bg-slate-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-slate-700 transition-colors flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed",
14901
14912
  onClick: a[3] || (a[3] = (o) => e.$emit("contact-support"))
14902
14913
  }, [
14903
- n.reportSent ? (s(), c("span", Ib, "✓")) : (s(), c("span", Ob, "📝")),
14914
+ n.reportSent ? (s(), c("span", jb, "✓")) : (s(), c("span", Ib, "📝")),
14904
14915
  Q(" " + x(n.reportSent ? "Report Sent" : "Contact Support"), 1)
14905
- ], 8, jb)) : p("", !0)
14916
+ ], 8, Tb)) : p("", !0)
14906
14917
  ])
14907
14918
  ])
14908
14919
  ], 2)) : p("", !0),
@@ -14911,10 +14922,10 @@ function _b(e, a, t, n, r, l) {
14911
14922
  class: b(n.additionalInfoClasses)
14912
14923
  }, [
14913
14924
  M(e.$slots, "additional-info", {}, () => [
14914
- n.additionalInfoConfig ? (s(), c("div", Mb, [
14915
- d("div", Fb, [
14916
- d("h3", Lb, x(n.additionalInfoConfig.title), 1),
14917
- d("ul", Eb, [
14925
+ n.additionalInfoConfig ? (s(), c("div", Ob, [
14926
+ d("div", Mb, [
14927
+ d("h3", Fb, x(n.additionalInfoConfig.title), 1),
14928
+ d("ul", Lb, [
14918
14929
  (s(!0), c(G, null, X(n.additionalInfoConfig.items, (o, m) => (s(), c("li", {
14919
14930
  key: m,
14920
14931
  class: "flex items-start gap-3 text-sm text-slate-600"
@@ -14934,7 +14945,7 @@ function _b(e, a, t, n, r, l) {
14934
14945
  class: b(n.helpClasses)
14935
14946
  }, [
14936
14947
  M(e.$slots, "help", {}, () => [
14937
- d("p", Nb, [
14948
+ d("p", Eb, [
14938
14949
  Q(x(t.helpText) + " ", 1),
14939
14950
  t.supportUrl ? (s(), c("a", {
14940
14951
  key: 0,
@@ -14943,16 +14954,16 @@ function _b(e, a, t, n, r, l) {
14943
14954
  }, [...a[8] || (a[8] = [
14944
14955
  d("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
14945
14956
  Q(" Get Help ", -1)
14946
- ])], 8, Db)) : p("", !0)
14957
+ ])], 8, Nb)) : p("", !0)
14947
14958
  ])
14948
14959
  ])
14949
14960
  ], 2)) : p("", !0),
14950
- n.isDev ? (s(), c("div", Rb, " Error ID: " + x(n.errorId), 1)) : p("", !0)
14961
+ n.isDev ? (s(), c("div", Db, " Error ID: " + x(n.errorId), 1)) : p("", !0)
14951
14962
  ], 2)
14952
14963
  ], 2)
14953
14964
  ], 2);
14954
14965
  }
14955
- const Ub = /* @__PURE__ */ Mt($b, [["render", _b]]), fn = {
14966
+ const _b = /* @__PURE__ */ Mt(kb, [["render", Rb]]), fn = {
14956
14967
  mounted(e, a) {
14957
14968
  if (!a.value) return;
14958
14969
  const t = Object.keys(a.modifiers)[0] || "top", n = document.createElement("div");
@@ -15134,14 +15145,14 @@ const Ub = /* @__PURE__ */ Mt($b, [["render", _b]]), fn = {
15134
15145
  Footer: Hg,
15135
15146
  Header: Sv,
15136
15147
  ReusableFormModal: Kv,
15137
- ReusableForm: d0,
15138
- Sidebar: I0,
15139
- Timeline: O0,
15140
- TimelineItem: D0,
15141
- AuthLayout: bb,
15142
- DefaultLayout: kb,
15143
- ErrorLayout: Ub
15144
- }, Yb = {
15148
+ ReusableForm: u0,
15149
+ Sidebar: j0,
15150
+ Timeline: I0,
15151
+ TimelineItem: N0,
15152
+ AuthLayout: vb,
15153
+ DefaultLayout: wb,
15154
+ ErrorLayout: _b
15155
+ }, Wb = {
15145
15156
  install(e, a = {}) {
15146
15157
  const { prefix: t = "" } = a;
15147
15158
  Object.keys(mn).forEach((n) => {
@@ -15154,7 +15165,7 @@ export {
15154
15165
  Mc as Accordion,
15155
15166
  Fc as AccordionItem,
15156
15167
  mu as Alert,
15157
- bb as AuthLayout,
15168
+ vb as AuthLayout,
15158
15169
  oi as Avatar,
15159
15170
  xr as Badge,
15160
15171
  ff as BarChart,
@@ -15178,11 +15189,11 @@ export {
15178
15189
  zr as DataTableRow,
15179
15190
  Lg as DataTableToolBar,
15180
15191
  Ot as DatePicker,
15181
- kb as DefaultLayout,
15192
+ wb as DefaultLayout,
15182
15193
  pi as Divider,
15183
15194
  Ku as Dropdown,
15184
15195
  Qu as DropdownItem,
15185
- Ub as ErrorLayout,
15196
+ _b as ErrorLayout,
15186
15197
  od as FileUpload,
15187
15198
  Hg as Footer,
15188
15199
  Ba as FormField,
@@ -15209,11 +15220,11 @@ export {
15209
15220
  Oi as Progress,
15210
15221
  Fi as ProgressBar,
15211
15222
  qi as Radio,
15212
- d0 as ReusableForm,
15223
+ u0 as ReusableForm,
15213
15224
  Kv as ReusableFormModal,
15214
15225
  cc as Search,
15215
15226
  Me as Select,
15216
- I0 as Sidebar,
15227
+ j0 as Sidebar,
15217
15228
  Pa as Slider,
15218
15229
  Aa as Spinner,
15219
15230
  bc as Stepper,
@@ -15223,13 +15234,13 @@ export {
15223
15234
  Bc as TabPanel,
15224
15235
  ru as Text,
15225
15236
  Va as Textarea,
15226
- O0 as Timeline,
15227
- D0 as TimelineItem,
15237
+ I0 as Timeline,
15238
+ N0 as TimelineItem,
15228
15239
  Xd as Toast,
15229
15240
  kr as Tooltip,
15230
15241
  da as Typography,
15231
15242
  A as cn,
15232
- Yb as default,
15243
+ Wb as default,
15233
15244
  Se as toast,
15234
15245
  fn as tooltip,
15235
15246
  _d as useToaster