@stlhorizon/vue-ui 3.22.3 → 3.23.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
@@ -12874,71 +12874,72 @@ const ac = {
12874
12874
  ], 2);
12875
12875
  };
12876
12876
  }
12877
- }, Sg = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, zg = { class: "flex items-center" }, Ag = {
12878
- key: 0,
12879
- class: "mr-4 flex-shrink-0 bg-gradient-to-r from-blue-50 to-indigo-50 px-3 py-2 rounded-lg border border-blue-100 flex items-center gap-3 relative"
12880
- }, Vg = {
12877
+ }, Sg = { class: "flex items-center justify-between h-16 px-4 md:px-6" }, zg = { class: "flex items-center gap-4 min-w-0 flex-1" }, Ag = {
12881
12878
  key: 0,
12882
12879
  class: "flex-shrink-0"
12883
- }, Mg = ["src"], Fg = {
12880
+ }, Vg = ["src"], Mg = {
12884
12881
  key: 1,
12882
+ class: "h-8 w-px bg-gray-300 flex-shrink-0"
12883
+ }, Fg = {
12884
+ key: 2,
12885
+ class: "flex-shrink-0 bg-gradient-to-r from-blue-50 via-indigo-50 to-purple-50 px-4 py-2 rounded-xl border border-blue-200 shadow-sm flex items-center gap-3 relative hover:shadow-md transition-shadow"
12886
+ }, Bg = {
12887
+ key: 0,
12885
12888
  class: "flex-shrink-0"
12886
- }, Bg = ["src", "alt"], Tg = { class: "min-w-0" }, Pg = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, jg = {
12889
+ }, Tg = { class: "relative" }, Pg = ["src", "alt"], jg = { class: "min-w-0" }, Og = { class: "text-sm font-bold text-blue-900 truncate max-w-[180px] group-hover:text-blue-700" }, Dg = { class: "flex items-center gap-1.5 mt-0.5" }, Ig = {
12887
12890
  key: 0,
12888
- class: "text-xs text-blue-600 truncate font-medium"
12889
- }, Og = {
12890
- class: "w-4 h-4 text-blue-600 flex-shrink-0",
12891
- fill: "none",
12892
- stroke: "currentColor",
12893
- viewBox: "0 0 24 24"
12894
- }, Dg = ["d"], Ig = {
12895
- key: 3,
12891
+ class: "text-xs text-blue-700 truncate font-medium"
12892
+ }, Lg = {
12893
+ key: 2,
12896
12894
  class: "min-w-0"
12897
- }, Lg = { class: "text-lg font-bold text-blue-900 truncate max-w-[200px]" }, Eg = {
12895
+ }, Eg = { class: "text-sm font-bold text-blue-900 truncate max-w-[180px]" }, Ng = { class: "flex items-center gap-1.5 mt-0.5" }, _g = {
12898
12896
  key: 0,
12899
- class: "text-xs text-blue-600 truncate font-medium"
12900
- }, Ng = {
12897
+ class: "text-xs text-blue-700 truncate font-medium"
12898
+ }, Rg = {
12901
12899
  key: 0,
12902
- class: "absolute top-full left-0 mt-2 w-80 bg-white rounded-lg shadow-lg border border-gray-200 z-50 max-h-96 overflow-y-auto"
12903
- }, _g = { class: "p-3 border-b border-gray-200" }, Rg = { class: "text-sm font-semibold text-gray-900" }, Ug = { class: "text-xs text-gray-500 mt-1" }, qg = { class: "py-2" }, Hg = ["onClick"], Wg = {
12900
+ class: "absolute top-full left-0 mt-2 w-80 bg-white rounded-xl shadow-xl border border-gray-200 z-50 max-h-96 overflow-hidden"
12901
+ }, Ug = { class: "p-4 border-b border-gray-200 bg-gradient-to-r from-blue-50 to-indigo-50" }, qg = { class: "text-sm font-bold text-gray-900 flex items-center gap-2" }, Hg = { class: "text-xs text-gray-600 mt-1" }, Wg = { class: "py-2 max-h-80 overflow-y-auto" }, Yg = ["onClick"], Gg = {
12904
12902
  key: 0,
12905
12903
  class: "flex-shrink-0 mr-3"
12906
- }, Yg = ["src", "alt"], Gg = { class: "flex-1 text-left min-w-0" }, Kg = { class: "font-medium truncate" }, Xg = {
12904
+ }, Kg = ["src", "alt"], Xg = {
12907
12905
  key: 1,
12908
- class: "w-4 h-4 text-blue-500 flex-shrink-0 ml-2",
12906
+ class: "w-8 h-8 rounded-lg bg-gradient-to-br from-gray-200 to-gray-300 flex items-center justify-center mr-3 flex-shrink-0"
12907
+ }, Qg = { class: "flex-1 text-left min-w-0" }, Jg = { class: "font-semibold truncate" }, Zg = {
12908
+ key: 0,
12909
+ class: "text-xs text-gray-500 truncate"
12910
+ }, ev = {
12911
+ key: 2,
12912
+ class: "w-5 h-5 text-blue-600 flex-shrink-0 ml-2",
12909
12913
  fill: "currentColor",
12910
12914
  viewBox: "0 0 20 20"
12911
- }, Qg = {
12912
- key: 1,
12913
- class: "mr-4 flex-shrink-0"
12914
- }, Jg = ["src"], Zg = {
12915
- key: 2,
12916
- class: "hidden md:flex items-center space-x-2 text-sm truncate"
12917
- }, ev = { class: "text-gray-500 truncate" }, tv = { class: "text-gray-900 font-medium truncate" }, av = { class: "flex items-center space-x-3 md:space-x-4" }, nv = {
12915
+ }, tv = {
12916
+ key: 3,
12917
+ class: "hidden lg:flex items-center space-x-2 text-sm truncate"
12918
+ }, av = { class: "text-gray-500 truncate" }, nv = { class: "text-gray-900 font-semibold truncate" }, rv = { class: "flex items-center space-x-2 md:space-x-3" }, sv = {
12918
12919
  key: 1,
12919
12920
  class: "relative"
12920
- }, rv = ["placeholder"], sv = {
12921
+ }, lv = ["placeholder"], ov = {
12921
12922
  key: 0,
12922
- class: "absolute -top-1 -right-1 w-4 h-4 bg-red-500 text-white text-xs rounded-full flex items-center justify-center"
12923
- }, lv = {
12923
+ class: "absolute -top-1 -right-1 min-w-[18px] h-[18px] bg-red-500 text-white text-xs rounded-full flex items-center justify-center font-semibold px-1"
12924
+ }, iv = {
12924
12925
  key: 0,
12925
- class: "absolute right-4 md:right-6 top-16 mt-2 w-72 md:w-80 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
12926
- }, ov = { class: "p-4 border-b border-gray-200" }, iv = { class: "text-lg font-semibold text-gray-900" }, uv = { class: "max-h-96 overflow-y-auto" }, dv = {
12926
+ class: "absolute right-4 md:right-6 top-16 mt-2 w-72 md:w-80 bg-white rounded-xl shadow-xl border border-gray-200 z-50"
12927
+ }, uv = { class: "p-4 border-b border-gray-200 bg-gradient-to-r from-blue-50 to-indigo-50" }, dv = { class: "text-base font-bold text-gray-900" }, cv = { class: "max-h-96 overflow-y-auto" }, fv = {
12927
12928
  key: 0,
12928
12929
  class: "p-8 text-center"
12929
- }, cv = ["onClick"], fv = { class: "flex items-start space-x-3" }, mv = { class: "flex-1" }, gv = { class: "text-sm text-gray-900" }, vv = { class: "text-xs text-gray-500 mt-1" }, hv = {
12930
+ }, mv = ["onClick"], gv = { class: "flex items-start space-x-3" }, vv = { class: "flex-1" }, hv = { class: "text-sm font-medium text-gray-900" }, bv = { class: "text-xs text-gray-500 mt-1" }, pv = {
12930
12931
  key: 0,
12931
- class: "p-4 text-center"
12932
- }, bv = { class: "relative" }, pv = { class: "w-8 h-8 bg-gradient-to-br from-blue-100 to-indigo-100 rounded-full flex items-center justify-center transition-colors shadow-sm" }, yv = { class: "text-blue-700 text-sm font-medium" }, xv = {
12932
+ class: "p-3 text-center border-t border-gray-200"
12933
+ }, yv = { class: "relative" }, xv = { class: "w-8 h-8 bg-gradient-to-br from-blue-100 to-indigo-100 rounded-full flex items-center justify-center transition-colors shadow-sm" }, wv = { class: "text-blue-700 text-sm font-medium" }, kv = {
12933
12934
  key: 0,
12934
12935
  class: "hidden md:block text-left max-w-[160px] truncate"
12935
- }, wv = { class: "text-sm font-medium text-gray-900 truncate" }, kv = { class: "text-xs text-gray-500 truncate leading-tight" }, $v = {
12936
+ }, $v = { class: "text-sm font-medium text-gray-900 truncate" }, Cv = { class: "text-xs text-gray-500 truncate leading-tight" }, Sv = {
12936
12937
  key: 0,
12937
12938
  class: "absolute right-0 mt-2 w-58 bg-white rounded-lg shadow-lg border border-gray-200 z-50"
12938
- }, Cv = { class: "p-4 border-b border-gray-200" }, Sv = { class: "text-sm font-medium text-gray-900" }, zv = { class: "text-xs text-gray-500" }, Av = { class: "py-2" }, Vv = {
12939
+ }, zv = { class: "p-4 border-b border-gray-200" }, Av = { class: "text-sm font-medium text-gray-900" }, Vv = { class: "text-xs text-gray-500" }, Mv = { class: "py-2" }, Fv = {
12939
12940
  key: 0,
12940
12941
  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"
12941
- }, Mv = ["onClick"], Fv = { class: "flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2 bg-gray-100 text-gray-600 group-hover:bg-gray-200" }, Bv = { class: "flex-1 truncate font-semibold text-gray-700" }, Tv = {
12942
+ }, Bv = ["onClick"], Tv = { class: "flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2 bg-gray-100 text-gray-600 group-hover:bg-gray-200" }, Pv = { class: "flex-1 truncate font-semibold text-gray-700" }, jv = {
12942
12943
  __name: "Header",
12943
12944
  props: {
12944
12945
  sidebarWidth: { type: Number, default: 256 },
@@ -12966,9 +12967,7 @@ const ac = {
12966
12967
  notificationsTitle: { type: String, default: "Notifications" },
12967
12968
  organisationSwitcherTitle: { type: String, default: "Switch Organisation" },
12968
12969
  organisationSwitcherDescription: { type: String, default: "Select an organisation to view its data" },
12969
- // Allow custom user initials logic
12970
12970
  userInitialsOverride: { type: String, default: "" },
12971
- // Allow custom user role display
12972
12971
  userRoleDisplayOverride: { type: String, default: "" }
12973
12972
  },
12974
12973
  emits: [
@@ -13029,41 +13028,76 @@ const ac = {
13029
13028
  }, [
13030
13029
  l("div", Sg, [
13031
13030
  l("div", zg, [
13032
- e.showOrganisationInfo && e.currentOrganisation ? (r(), i("div", Ag, [
13033
- e.companyLogo ? (r(), i("div", Vg, [
13034
- l("img", {
13035
- src: e.companyLogo,
13036
- alt: "Company logo",
13037
- class: "w-12 h-12 object-contain rounded"
13038
- }, null, 8, Mg)
13039
- ])) : h("", !0),
13040
- e.organisationLogo ? (r(), i("div", Fg, [
13041
- l("img", {
13042
- src: e.organisationLogo,
13043
- alt: `${e.currentOrganisation.organisation_name} logo`,
13044
- class: "w-12 h-12 object-contain rounded border border-blue-200"
13045
- }, null, 8, Bg)
13031
+ e.companyLogo && e.showHeaderLogo ? (r(), i("div", Ag, [
13032
+ l("img", {
13033
+ src: e.companyLogo,
13034
+ alt: "Company logo",
13035
+ class: "w-10 h-10 object-contain rounded-lg shadow-sm"
13036
+ }, null, 8, Vg)
13037
+ ])) : h("", !0),
13038
+ e.companyLogo && e.showOrganisationInfo && e.currentOrganisation ? (r(), i("div", Mg)) : h("", !0),
13039
+ e.showOrganisationInfo && e.currentOrganisation ? (r(), i("div", Fg, [
13040
+ e.organisationLogo ? (r(), i("div", Bg, [
13041
+ l("div", Tg, [
13042
+ l("img", {
13043
+ src: e.organisationLogo,
13044
+ alt: `${e.currentOrganisation.organisation_name} logo`,
13045
+ class: "w-10 h-10 object-contain rounded-lg bg-white p-1 border border-blue-200 shadow-sm"
13046
+ }, null, 8, Pg),
13047
+ f[4] || (f[4] = l("div", { class: "absolute -bottom-0.5 -right-0.5 w-3 h-3 bg-green-500 border-2 border-white rounded-full" }, null, -1))
13048
+ ])
13046
13049
  ])) : h("", !0),
13047
13050
  e.organisations.length > 1 ? (r(), i("button", {
13048
- key: 2,
13049
- class: "flex items-center gap-2 min-w-0 cursor-pointer hover:bg-blue-100/50 rounded-md px-2 py-1 transition-colors",
13051
+ key: 1,
13052
+ class: "flex items-center gap-2 min-w-0 cursor-pointer hover:bg-white/50 rounded-lg px-2 py-1.5 transition-all group",
13050
13053
  onClick: S
13051
13054
  }, [
13052
- l("div", Tg, [
13053
- l("p", Pg, w(e.currentOrganisation.organisation_name), 1),
13054
- T.value ? (r(), i("p", jg, w(T.value), 1)) : h("", !0)
13055
+ l("div", jg, [
13056
+ l("p", Og, w(e.currentOrganisation.organisation_name), 1),
13057
+ l("div", Dg, [
13058
+ f[5] || (f[5] = l("svg", {
13059
+ class: "w-3 h-3 text-blue-600 flex-shrink-0",
13060
+ fill: "currentColor",
13061
+ viewBox: "0 0 20 20"
13062
+ }, [
13063
+ l("path", {
13064
+ "fill-rule": "evenodd",
13065
+ d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
13066
+ "clip-rule": "evenodd"
13067
+ })
13068
+ ], -1)),
13069
+ T.value ? (r(), i("p", Ig, w(T.value), 1)) : h("", !0)
13070
+ ])
13055
13071
  ]),
13056
- (r(), i("svg", Og, [
13072
+ (r(), i("svg", {
13073
+ class: g(["w-4 h-4 text-blue-600 flex-shrink-0 group-hover:text-blue-700 transition-transform", { "rotate-180": z.value }]),
13074
+ fill: "none",
13075
+ stroke: "currentColor",
13076
+ viewBox: "0 0 24 24"
13077
+ }, [...f[6] || (f[6] = [
13057
13078
  l("path", {
13058
13079
  "stroke-linecap": "round",
13059
13080
  "stroke-linejoin": "round",
13060
13081
  "stroke-width": "2",
13061
- d: z.value ? "m5 15 7-7 7 7" : "m19 9-7 7-7-7"
13062
- }, null, 8, Dg)
13063
- ]))
13064
- ])) : (r(), i("div", Ig, [
13065
- l("p", Lg, w(e.currentOrganisation.organisation_name), 1),
13066
- T.value ? (r(), i("p", Eg, w(T.value), 1)) : h("", !0)
13082
+ d: "m19 9-7 7-7-7"
13083
+ }, null, -1)
13084
+ ])], 2))
13085
+ ])) : (r(), i("div", Lg, [
13086
+ l("p", Eg, w(e.currentOrganisation.organisation_name), 1),
13087
+ l("div", Ng, [
13088
+ f[7] || (f[7] = l("svg", {
13089
+ class: "w-3 h-3 text-blue-600 flex-shrink-0",
13090
+ fill: "currentColor",
13091
+ viewBox: "0 0 20 20"
13092
+ }, [
13093
+ l("path", {
13094
+ "fill-rule": "evenodd",
13095
+ d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
13096
+ "clip-rule": "evenodd"
13097
+ })
13098
+ ], -1)),
13099
+ T.value ? (r(), i("p", _g, w(T.value), 1)) : h("", !0)
13100
+ ])
13067
13101
  ])),
13068
13102
  j(ke, {
13069
13103
  "enter-active-class": "transition-all duration-200 ease-out",
@@ -13074,54 +13108,75 @@ const ac = {
13074
13108
  "leave-to-class": "opacity-0 translate-y-2 scale-95"
13075
13109
  }, {
13076
13110
  default: K(() => [
13077
- z.value ? (r(), i("div", Ng, [
13078
- l("div", _g, [
13079
- l("h3", Rg, w(e.organisationSwitcherTitle), 1),
13080
- l("p", Ug, w(e.organisationSwitcherDescription), 1)
13111
+ z.value ? (r(), i("div", Rg, [
13112
+ l("div", Ug, [
13113
+ l("h3", qg, [
13114
+ f[8] || (f[8] = l("svg", {
13115
+ class: "w-4 h-4 text-blue-600",
13116
+ fill: "none",
13117
+ stroke: "currentColor",
13118
+ viewBox: "0 0 24 24"
13119
+ }, [
13120
+ l("path", {
13121
+ "stroke-linecap": "round",
13122
+ "stroke-linejoin": "round",
13123
+ "stroke-width": "2",
13124
+ d: "M8 7h12M8 12h12m-12 5h12M4 7h.01M4 12h.01M4 17h.01"
13125
+ })
13126
+ ], -1)),
13127
+ ie(" " + w(e.organisationSwitcherTitle), 1)
13128
+ ]),
13129
+ l("p", Hg, w(e.organisationSwitcherDescription), 1)
13081
13130
  ]),
13082
- l("div", qg, [
13131
+ l("div", Wg, [
13083
13132
  (r(!0), i(te, null, ae(e.organisations, (m) => (r(), i("button", {
13084
13133
  key: m.org_id || m.organisation_name,
13085
13134
  class: g(q(O)(
13086
- "flex items-center w-full px-3 py-2.5 text-sm transition-colors",
13087
- m.org_id === e.currentOrganisation?.org_id ? "bg-blue-50 text-blue-700 border-l-4 border-blue-500" : "text-gray-700 hover:bg-gray-50"
13135
+ "flex items-center w-full px-4 py-3 text-sm transition-all group",
13136
+ m.org_id === e.currentOrganisation?.org_id ? "bg-gradient-to-r from-blue-50 to-indigo-50 text-blue-700 border-l-4 border-blue-500" : "text-gray-700 hover:bg-gray-50 border-l-4 border-transparent"
13088
13137
  )),
13089
13138
  onClick: (N) => B(m)
13090
13139
  }, [
13091
- m.logo ? (r(), i("div", Wg, [
13140
+ m.logo ? (r(), i("div", Gg, [
13092
13141
  l("img", {
13093
13142
  src: m.logo,
13094
13143
  alt: `${m.organisation_name} logo`,
13095
- class: "w-6 h-6 object-contain rounded"
13096
- }, null, 8, Yg)
13097
- ])) : h("", !0),
13098
- l("div", Gg, [
13099
- l("p", Kg, w(m.organisation_name), 1)
13144
+ class: "w-8 h-8 object-contain rounded-lg bg-white p-1 border border-gray-200 group-hover:border-blue-200 transition-colors"
13145
+ }, null, 8, Kg)
13146
+ ])) : (r(), i("div", Xg, [...f[9] || (f[9] = [
13147
+ l("svg", {
13148
+ class: "w-4 h-4 text-gray-500",
13149
+ fill: "currentColor",
13150
+ viewBox: "0 0 20 20"
13151
+ }, [
13152
+ l("path", {
13153
+ "fill-rule": "evenodd",
13154
+ d: "M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-4h2v2h-2V5zm2 4h-2v2h2V9z",
13155
+ "clip-rule": "evenodd"
13156
+ })
13157
+ ], -1)
13158
+ ])])),
13159
+ l("div", Qg, [
13160
+ l("p", Jg, w(m.organisation_name), 1),
13161
+ m.type ? (r(), i("p", Zg, w(m.type.name), 1)) : h("", !0)
13100
13162
  ]),
13101
- m.org_id === e.currentOrganisation?.org_id ? (r(), i("svg", Xg, [...f[4] || (f[4] = [
13163
+ m.org_id === e.currentOrganisation?.org_id ? (r(), i("svg", ev, [...f[10] || (f[10] = [
13102
13164
  l("path", {
13103
13165
  "fill-rule": "evenodd",
13104
- d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 01 1.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
13166
+ d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
13105
13167
  "clip-rule": "evenodd"
13106
13168
  }, null, -1)
13107
13169
  ])])) : h("", !0)
13108
- ], 10, Hg))), 128))
13170
+ ], 10, Yg))), 128))
13109
13171
  ])
13110
13172
  ])) : h("", !0)
13111
13173
  ]),
13112
13174
  _: 1
13113
13175
  })
13114
13176
  ])) : h("", !0),
13115
- e.showHeaderLogo ? (r(), i("div", Qg, [
13116
- l("img", {
13117
- src: e.headerLogo,
13118
- alt: "Company Logo",
13119
- class: "w-8 h-8 object-contain"
13120
- }, null, 8, Jg)
13121
- ])) : h("", !0),
13122
- e.showBreadcrumb ? (r(), i("nav", Zg, [
13123
- l("span", ev, w(e.currentSection), 1),
13124
- f[5] || (f[5] = l("svg", {
13177
+ e.showBreadcrumb ? (r(), i("nav", tv, [
13178
+ l("span", av, w(e.currentSection), 1),
13179
+ f[11] || (f[11] = l("svg", {
13125
13180
  class: "w-4 h-4 text-gray-400 flex-shrink-0",
13126
13181
  fill: "none",
13127
13182
  stroke: "currentColor",
@@ -13134,15 +13189,15 @@ const ac = {
13134
13189
  d: "M9 5l7 7-7 7"
13135
13190
  })
13136
13191
  ], -1)),
13137
- l("span", tv, w(e.currentPage), 1)
13192
+ l("span", nv, w(e.currentPage), 1)
13138
13193
  ])) : h("", !0)
13139
13194
  ]),
13140
- l("div", av, [
13195
+ l("div", rv, [
13141
13196
  p.value ? (r(), i("button", {
13142
13197
  key: 0,
13143
13198
  class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
13144
13199
  onClick: f[0] || (f[0] = (m) => n("toggle-mobile-sidebar"))
13145
- }, [...f[6] || (f[6] = [
13200
+ }, [...f[12] || (f[12] = [
13146
13201
  l("svg", {
13147
13202
  class: "w-5 h-5",
13148
13203
  fill: "none",
@@ -13157,8 +13212,8 @@ const ac = {
13157
13212
  })
13158
13213
  ], -1)
13159
13214
  ])])) : h("", !0),
13160
- e.showSearch && (!p.value || c.value) ? (r(), i("div", nv, [
13161
- f[7] || (f[7] = l("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
13215
+ e.showSearch && (!p.value || c.value) ? (r(), i("div", sv, [
13216
+ f[13] || (f[13] = l("div", { class: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none" }, [
13162
13217
  l("svg", {
13163
13218
  class: "w-4 h-4 text-gray-400",
13164
13219
  fill: "none",
@@ -13177,8 +13232,8 @@ const ac = {
13177
13232
  "onUpdate:modelValue": f[1] || (f[1] = (m) => s.value = m),
13178
13233
  type: "text",
13179
13234
  placeholder: e.searchPlaceholder,
13180
- class: "pl-10 pr-4 py-2 w-48 md:w-64 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none"
13181
- }, null, 8, rv), [
13235
+ class: "pl-10 pr-4 py-2 w-48 md:w-64 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition-all"
13236
+ }, null, 8, lv), [
13182
13237
  [rt, s.value]
13183
13238
  ]),
13184
13239
  p.value ? (r(), i("button", {
@@ -13190,7 +13245,7 @@ const ac = {
13190
13245
  key: 2,
13191
13246
  class: "p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
13192
13247
  onClick: f[3] || (f[3] = (m) => c.value = !0)
13193
- }, [...f[8] || (f[8] = [
13248
+ }, [...f[14] || (f[14] = [
13194
13249
  l("svg", {
13195
13250
  class: "w-5 h-5",
13196
13251
  fill: "none",
@@ -13210,7 +13265,7 @@ const ac = {
13210
13265
  class: "relative p-2 text-gray-400 hover:text-gray-600 rounded-lg hover:bg-gray-50 transition-colors",
13211
13266
  onClick: F
13212
13267
  }, [
13213
- f[9] || (f[9] = l("svg", {
13268
+ f[15] || (f[15] = l("svg", {
13214
13269
  class: "w-5 h-5",
13215
13270
  fill: "none",
13216
13271
  stroke: "currentColor",
@@ -13223,7 +13278,7 @@ const ac = {
13223
13278
  d: "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"
13224
13279
  })
13225
13280
  ], -1)),
13226
- d.value > 0 ? (r(), i("span", sv, w(d.value > 9 ? "9+" : d.value), 1)) : h("", !0)
13281
+ d.value > 0 ? (r(), i("span", ov, w(d.value > 9 ? "9+" : d.value), 1)) : h("", !0)
13227
13282
  ])) : h("", !0),
13228
13283
  j(ke, {
13229
13284
  "enter-active-class": "transition-all duration-300 ease-out",
@@ -13234,12 +13289,12 @@ const ac = {
13234
13289
  "leave-to-class": "opacity-0 translate-y-2 scale-95"
13235
13290
  }, {
13236
13291
  default: K(() => [
13237
- o.value ? (r(), i("div", lv, [
13238
- l("div", ov, [
13239
- l("h3", iv, w(e.notificationsTitle), 1)
13240
- ]),
13292
+ o.value ? (r(), i("div", iv, [
13241
13293
  l("div", uv, [
13242
- e.notifications.length === 0 ? (r(), i("div", dv, [...f[10] || (f[10] = [
13294
+ l("h3", dv, w(e.notificationsTitle), 1)
13295
+ ]),
13296
+ l("div", cv, [
13297
+ e.notifications.length === 0 ? (r(), i("div", fv, [...f[16] || (f[16] = [
13243
13298
  l("svg", {
13244
13299
  class: "w-12 h-12 mx-auto text-gray-300 mb-2",
13245
13300
  fill: "none",
@@ -13256,21 +13311,21 @@ const ac = {
13256
13311
  l("p", { class: "text-sm text-gray-500" }, " No notifications ", -1)
13257
13312
  ])])) : (r(!0), i(te, { key: 1 }, ae(e.notifications, (m) => (r(), i("div", {
13258
13313
  key: m.id,
13259
- class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer",
13314
+ class: "p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer transition-colors",
13260
13315
  onClick: (N) => L(m)
13261
13316
  }, [
13262
- l("div", fv, [
13263
- f[11] || (f[11] = l("div", { class: "flex-shrink-0 w-2 h-2 mt-2 bg-blue-500 rounded-full" }, null, -1)),
13264
- l("div", mv, [
13265
- l("p", gv, w(m.title), 1),
13266
- l("p", vv, w(m.time), 1)
13317
+ l("div", gv, [
13318
+ f[17] || (f[17] = l("div", { class: "flex-shrink-0 w-2 h-2 mt-2 bg-blue-500 rounded-full" }, null, -1)),
13319
+ l("div", vv, [
13320
+ l("p", hv, w(m.title), 1),
13321
+ l("p", bv, w(m.time), 1)
13267
13322
  ])
13268
13323
  ])
13269
- ], 8, cv))), 128))
13324
+ ], 8, mv))), 128))
13270
13325
  ]),
13271
- e.notifications.length > 0 ? (r(), i("div", hv, [
13326
+ e.notifications.length > 0 ? (r(), i("div", pv, [
13272
13327
  l("button", {
13273
- class: "text-sm text-blue-600 hover:text-blue-800",
13328
+ class: "text-sm font-medium text-blue-600 hover:text-blue-700 transition-colors",
13274
13329
  onClick: X
13275
13330
  }, " View all notifications ")
13276
13331
  ])) : h("", !0)
@@ -13278,19 +13333,19 @@ const ac = {
13278
13333
  ]),
13279
13334
  _: 1
13280
13335
  }),
13281
- l("div", bv, [
13336
+ l("div", yv, [
13282
13337
  l("button", {
13283
13338
  class: "flex items-center space-x-2 md:space-x-3 p-2 rounded-lg hover:bg-gray-50 transition-colors",
13284
13339
  onClick: V
13285
13340
  }, [
13286
- l("div", pv, [
13287
- l("span", yv, w(M.value), 1)
13341
+ l("div", xv, [
13342
+ l("span", wv, w(M.value), 1)
13288
13343
  ]),
13289
- e.showUserDetails ? (r(), i("div", xv, [
13290
- l("p", wv, w(e.user.name), 1),
13291
- l("p", kv, w(D.value), 1)
13344
+ e.showUserDetails ? (r(), i("div", kv, [
13345
+ l("p", $v, w(e.user.name), 1),
13346
+ l("p", Cv, w(D.value), 1)
13292
13347
  ])) : h("", !0),
13293
- f[12] || (f[12] = l("svg", {
13348
+ f[18] || (f[18] = l("svg", {
13294
13349
  class: "w-4 h-4 text-gray-400",
13295
13350
  fill: "none",
13296
13351
  stroke: "currentColor",
@@ -13313,12 +13368,12 @@ const ac = {
13313
13368
  "leave-to-class": "opacity-0 translate-y-2 scale-95"
13314
13369
  }, {
13315
13370
  default: K(() => [
13316
- u.value ? (r(), i("div", $v, [
13317
- l("div", Cv, [
13318
- l("p", Sv, w(e.user.name), 1),
13319
- l("p", zv, w(e.user.email), 1)
13371
+ u.value ? (r(), i("div", Sv, [
13372
+ l("div", zv, [
13373
+ l("p", Av, w(e.user.name), 1),
13374
+ l("p", Vv, w(e.user.email), 1)
13320
13375
  ]),
13321
- l("div", Av, [
13376
+ l("div", Mv, [
13322
13377
  (r(!0), i(te, null, ae(e.profileMenuItems, (m) => (r(), i(te, {
13323
13378
  key: m.name
13324
13379
  }, [
@@ -13332,7 +13387,7 @@ const ac = {
13332
13387
  onClick: (N) => k(m)
13333
13388
  }, {
13334
13389
  default: K(() => [
13335
- $(m) ? (r(), i("div", Vv)) : h("", !0),
13390
+ $(m) ? (r(), i("div", Fv)) : h("", !0),
13336
13391
  l("div", {
13337
13392
  class: g(q(O)(
13338
13393
  "flex items-center justify-center w-8 h-8 rounded-lg mr-3 flex-shrink-0 transition-colors ml-2",
@@ -13358,22 +13413,22 @@ const ac = {
13358
13413
  class: "flex items-center w-full px-3 py-2.5 rounded-lg text-sm font-medium transition-all duration-200 group relative text-gray-700 hover:bg-gray-50 hover:text-gray-900 border border-transparent",
13359
13414
  onClick: (N) => A(m)
13360
13415
  }, [
13361
- l("div", Fv, [
13416
+ l("div", Tv, [
13362
13417
  m.icon ? (r(), Y(le, {
13363
13418
  key: 0,
13364
13419
  icon: m.icon,
13365
13420
  class: "w-4 h-4"
13366
13421
  }, null, 8, ["icon"])) : h("", !0)
13367
13422
  ]),
13368
- l("span", Bv, w(m.label), 1)
13369
- ], 8, Mv))
13423
+ l("span", Pv, w(m.label), 1)
13424
+ ], 8, Bv))
13370
13425
  ], 64))), 128))
13371
13426
  ]),
13372
13427
  l("div", { class: "border-t border-gray-200 py-2" }, [
13373
13428
  l("button", {
13374
13429
  class: "flex items-center w-full px-3 py-2.5 rounded-lg text-sm font-medium transition-all duration-200 group relative text-red-600 hover:bg-red-50 border border-transparent",
13375
13430
  onClick: I
13376
- }, [...f[13] || (f[13] = [
13431
+ }, [...f[19] || (f[19] = [
13377
13432
  l("div", { class: "flex items-center justify-center w-8 h-8 rounded-lg mr-1 flex-shrink-0 transition-colors ml-2 bg-red-100 text-red-600 group-hover:bg-red-200" }, [
13378
13433
  l("svg", {
13379
13434
  class: "w-4 h-4",
@@ -13402,16 +13457,16 @@ const ac = {
13402
13457
  ], 2);
13403
13458
  };
13404
13459
  }
13405
- }, Pv = { class: "relative" }, jv = ["id", "disabled"], Ov = {
13460
+ }, Ov = { class: "relative" }, Dv = ["id", "disabled"], Iv = {
13406
13461
  key: 0,
13407
13462
  class: "text-gray-500"
13408
- }, Dv = {
13463
+ }, Lv = {
13409
13464
  key: 1,
13410
13465
  class: "flex flex-wrap gap-1.5"
13411
- }, Iv = { class: "px-3 py-2.5 border-b border-gray-200 bg-gray-50" }, Lv = {
13466
+ }, Ev = { class: "px-3 py-2.5 border-b border-gray-200 bg-gray-50" }, Nv = {
13412
13467
  key: 0,
13413
13468
  class: "max-h-52 overflow-y-auto py-1"
13414
- }, Ev = ["onClick"], Nv = { class: "flex items-center gap-3" }, _v = ["checked"], Rv = {
13469
+ }, _v = ["onClick"], Rv = { class: "flex items-center gap-3" }, Uv = ["checked"], qv = {
13415
13470
  key: 1,
13416
13471
  class: "px-4 py-6 text-sm text-gray-500 text-center"
13417
13472
  }, _r = {
@@ -13492,7 +13547,7 @@ const ac = {
13492
13547
  d.value = [...k];
13493
13548
  }, { immediate: !0 }), ye(s, (k) => {
13494
13549
  k && M();
13495
- }), (k, $) => (r(), i("div", Pv, [
13550
+ }), (k, $) => (r(), i("div", Ov, [
13496
13551
  l("button", {
13497
13552
  id: e.id,
13498
13553
  ref_key: "buttonRef",
@@ -13507,7 +13562,7 @@ const ac = {
13507
13562
  onClick: D,
13508
13563
  onKeydown: V
13509
13564
  }, [
13510
- z.value.length === 0 ? (r(), i("div", Ov, w(e.placeholder || "Select options"), 1)) : (r(), i("div", Dv, [
13565
+ z.value.length === 0 ? (r(), i("div", Iv, w(e.placeholder || "Select options"), 1)) : (r(), i("div", Lv, [
13511
13566
  (r(!0), i(te, null, ae(z.value, (A) => (r(), Y(Tr, {
13512
13567
  key: A,
13513
13568
  variant: "primary",
@@ -13530,7 +13585,7 @@ const ac = {
13530
13585
  "clip-rule": "evenodd"
13531
13586
  }, null, -1)
13532
13587
  ])], 2))
13533
- ], 42, jv),
13588
+ ], 42, Dv),
13534
13589
  (r(), Y(mt, { to: "body" }, [
13535
13590
  j(ke, {
13536
13591
  "enter-active-class": "transition ease-out duration-100",
@@ -13547,7 +13602,7 @@ const ac = {
13547
13602
  "data-multiselect-dropdown": "",
13548
13603
  class: "bg-white shadow-lg max-h-72 rounded-md text-base ring-1 ring-black ring-opacity-5 overflow-hidden focus:outline-none"
13549
13604
  }, [
13550
- l("div", Iv, [
13605
+ l("div", Ev, [
13551
13606
  Ge(l("input", {
13552
13607
  ref_key: "searchInput",
13553
13608
  ref: u,
@@ -13562,27 +13617,27 @@ const ac = {
13562
13617
  [rt, o.value]
13563
13618
  ])
13564
13619
  ]),
13565
- d.value.length > 0 ? (r(), i("div", Lv, [
13620
+ d.value.length > 0 ? (r(), i("div", Nv, [
13566
13621
  (r(!0), i(te, null, ae(d.value, (A) => (r(), i("button", {
13567
13622
  key: A.value,
13568
13623
  type: "button",
13569
13624
  class: g(["cursor-pointer select-none relative py-2.5 pl-3 pr-9 w-full text-left hover:bg-blue-50 focus:bg-blue-50 focus:outline-none transition-colors duration-150", { "bg-blue-50": e.modelValue.includes(A.value) }]),
13570
13625
  onClick: (I) => T(A.value)
13571
13626
  }, [
13572
- l("div", Nv, [
13627
+ l("div", Rv, [
13573
13628
  l("input", {
13574
13629
  type: "checkbox",
13575
13630
  checked: e.modelValue.includes(A.value),
13576
13631
  class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded cursor-pointer pointer-events-none",
13577
13632
  readonly: "",
13578
13633
  tabindex: "-1"
13579
- }, null, 8, _v),
13634
+ }, null, 8, Uv),
13580
13635
  l("span", {
13581
13636
  class: g(["block font-normal truncate", { "text-blue-900 font-medium": e.modelValue.includes(A.value) }])
13582
13637
  }, w(A.label), 3)
13583
13638
  ])
13584
- ], 10, Ev))), 128))
13585
- ])) : (r(), i("div", Rv, " No options found "))
13639
+ ], 10, _v))), 128))
13640
+ ])) : (r(), i("div", qv, " No options found "))
13586
13641
  ], 4)) : h("", !0)
13587
13642
  ]),
13588
13643
  _: 1
@@ -13590,31 +13645,31 @@ const ac = {
13590
13645
  ]))
13591
13646
  ]));
13592
13647
  }
13593
- }, Uv = { class: "mb-6" }, qv = { class: "text-xl font-semibold text-gray-900" }, Hv = { class: "text-sm text-gray-600 mt-1" }, Wv = ["value"], Yv = {
13648
+ }, Hv = { class: "mb-6" }, Wv = { class: "text-xl font-semibold text-gray-900" }, Yv = { class: "text-sm text-gray-600 mt-1" }, Gv = ["value"], Kv = {
13594
13649
  key: 5,
13595
13650
  class: "flex items-center"
13596
- }, Gv = {
13651
+ }, Xv = {
13597
13652
  key: 6,
13598
13653
  class: "flex items-center"
13599
- }, Kv = ["id", "aria-checked", "disabled", "onClick"], Xv = {
13654
+ }, Qv = ["id", "aria-checked", "disabled", "onClick"], Jv = {
13600
13655
  key: 7,
13601
13656
  class: "space-y-2"
13602
- }, Qv = {
13657
+ }, Zv = {
13603
13658
  key: 8,
13604
13659
  class: "w-full"
13605
- }, Jv = {
13660
+ }, eh = {
13606
13661
  key: 0,
13607
13662
  class: "mt-2 text-xs text-gray-500"
13608
- }, Zv = {
13663
+ }, th = {
13609
13664
  key: 9,
13610
13665
  class: "w-full"
13611
- }, eh = {
13666
+ }, ah = {
13612
13667
  key: 0,
13613
13668
  class: "mt-2 text-xs text-gray-500"
13614
- }, th = {
13669
+ }, nh = {
13615
13670
  key: 11,
13616
13671
  class: "space-y-2"
13617
- }, ah = { class: "flex items-center gap-4" }, nh = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, rh = { class: "flex justify-end gap-3 pt-6" }, sh = {
13672
+ }, rh = { class: "flex items-center gap-4" }, sh = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, lh = { class: "flex justify-end gap-3 pt-6" }, oh = {
13618
13673
  __name: "ReusableFormModal",
13619
13674
  props: {
13620
13675
  modelValue: {
@@ -13841,9 +13896,9 @@ const ac = {
13841
13896
  onClose: I
13842
13897
  }, {
13843
13898
  default: K(() => [
13844
- l("div", Uv, [
13845
- l("h2", qv, w(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
13846
- l("p", Hv, w(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
13899
+ l("div", Hv, [
13900
+ l("h2", Wv, w(e.modalType === "create" ? `Add New ${e.entityName}` : `Edit ${e.entityName}`), 1),
13901
+ l("p", Yv, w(e.modalType === "create" ? `Fill in the details to create a new ${e.entityName.toLowerCase()}.` : `Update the ${e.entityName.toLowerCase()} information below.`), 1)
13847
13902
  ]),
13848
13903
  l("form", {
13849
13904
  class: "space-y-6 overflow-y-auto",
@@ -13856,7 +13911,7 @@ const ac = {
13856
13911
  key: 0,
13857
13912
  value: B(m.name),
13858
13913
  type: "hidden"
13859
- }, null, 8, Wv)) : (r(), Y(Na, {
13914
+ }, null, 8, Gv)) : (r(), Y(Na, {
13860
13915
  key: 1,
13861
13916
  id: `form-${e.entityName}-${m.name}-${Math.random().toString(36).slice(2, 5)}`,
13862
13917
  label: m.label,
@@ -13920,7 +13975,7 @@ const ac = {
13920
13975
  "aria-describedby": y,
13921
13976
  "allow-create": m.allowCreate,
13922
13977
  "onUpdate:modelValue": (x) => k(m, x)
13923
- }, null, 8, ["id", "model-value", "options", "placeholder", "disabled", "has-error", "aria-describedby", "allow-create", "onUpdate:modelValue"])) : m.type === "checkbox" ? (r(), i("div", Yv, [
13978
+ }, null, 8, ["id", "model-value", "options", "placeholder", "disabled", "has-error", "aria-describedby", "allow-create", "onUpdate:modelValue"])) : m.type === "checkbox" ? (r(), i("div", Kv, [
13924
13979
  j(Ae, {
13925
13980
  id: N,
13926
13981
  "model-value": B(m.name),
@@ -13939,7 +13994,7 @@ const ac = {
13939
13994
  ]),
13940
13995
  _: 2
13941
13996
  }, 1032, ["for"])
13942
- ])) : m.type === "switch" ? (r(), i("div", Gv, [
13997
+ ])) : m.type === "switch" ? (r(), i("div", Xv, [
13943
13998
  l("button", {
13944
13999
  id: N,
13945
14000
  type: "button",
@@ -13959,7 +14014,7 @@ const ac = {
13959
14014
  B(m.name) ? "translate-x-6" : "translate-x-1"
13960
14015
  ])
13961
14016
  }, null, 2)
13962
- ], 10, Kv),
14017
+ ], 10, Qv),
13963
14018
  j(Je, {
13964
14019
  for: N,
13965
14020
  class: "ml-3 text-sm text-gray-700"
@@ -13969,7 +14024,7 @@ const ac = {
13969
14024
  ]),
13970
14025
  _: 2
13971
14026
  }, 1032, ["for"])
13972
- ])) : m.type === "radio" ? (r(), i("div", Xv, [
14027
+ ])) : m.type === "radio" ? (r(), i("div", Jv, [
13973
14028
  (r(!0), i(te, null, ae(m.options, (x) => (r(), i("div", {
13974
14029
  key: x.value,
13975
14030
  class: "flex items-center"
@@ -13994,7 +14049,7 @@ const ac = {
13994
14049
  _: 2
13995
14050
  }, 1032, ["for"])
13996
14051
  ]))), 128))
13997
- ])) : m.type === "file" ? (r(), i("div", Qv, [
14052
+ ])) : m.type === "file" ? (r(), i("div", Zv, [
13998
14053
  j(_t, {
13999
14054
  multiple: !1,
14000
14055
  accept: m.accept,
@@ -14003,8 +14058,8 @@ const ac = {
14003
14058
  onFilesSelected: (x) => X(m, x),
14004
14059
  onFileRemoved: (x) => de(m, x)
14005
14060
  }, null, 8, ["accept", "max-size", "variant", "onFilesSelected", "onFileRemoved"]),
14006
- m.helpText ? (r(), i("p", Jv, w(m.helpText), 1)) : h("", !0)
14007
- ])) : m.type === "multifile" ? (r(), i("div", Zv, [
14061
+ m.helpText ? (r(), i("p", eh, w(m.helpText), 1)) : h("", !0)
14062
+ ])) : m.type === "multifile" ? (r(), i("div", th, [
14008
14063
  j(_t, {
14009
14064
  multiple: m.multiple !== !1,
14010
14065
  accept: m.accept,
@@ -14014,7 +14069,7 @@ const ac = {
14014
14069
  onFilesSelected: (x) => Z(m, x),
14015
14070
  onFileRemoved: (x) => P(m, x)
14016
14071
  }, null, 8, ["multiple", "accept", "max-size", "max-files", "variant", "onFilesSelected", "onFileRemoved"]),
14017
- m.helpText ? (r(), i("p", eh, w(m.helpText), 1)) : h("", !0)
14072
+ m.helpText ? (r(), i("p", ah, w(m.helpText), 1)) : h("", !0)
14018
14073
  ])) : m.type === "slider" ? (r(), Y(Ra, {
14019
14074
  key: 10,
14020
14075
  "model-value": B(m.name),
@@ -14023,8 +14078,8 @@ const ac = {
14023
14078
  step: m.step,
14024
14079
  disabled: o.value || m.disabled,
14025
14080
  "onUpdate:modelValue": (x) => $(m, x)
14026
- }, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : m.type === "range" ? (r(), i("div", th, [
14027
- l("div", ah, [
14081
+ }, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : m.type === "range" ? (r(), i("div", nh, [
14082
+ l("div", rh, [
14028
14083
  j(Ae, {
14029
14084
  id: N,
14030
14085
  "model-value": B(m.name),
@@ -14037,7 +14092,7 @@ const ac = {
14037
14092
  "aria-describedby": y,
14038
14093
  "onUpdate:modelValue": (x) => L(m.name, x)
14039
14094
  }, null, 8, ["id", "model-value", "min", "max", "step", "disabled", "aria-describedby", "onUpdate:modelValue"]),
14040
- l("span", nh, w(B(m.name)), 1)
14095
+ l("span", sh, w(B(m.name)), 1)
14041
14096
  ])
14042
14097
  ])) : m.type === "date" ? (r(), Y(Yt, {
14043
14098
  key: 12,
@@ -14095,7 +14150,7 @@ const ac = {
14095
14150
  _: 2
14096
14151
  }, 1032, ["id", "label", "required", "error", "error-message"]))
14097
14152
  ]))), 128)),
14098
- l("div", rh, [
14153
+ l("div", lh, [
14099
14154
  j(Ce, {
14100
14155
  type: "button",
14101
14156
  variant: "outline",
@@ -14124,72 +14179,72 @@ const ac = {
14124
14179
  _: 1
14125
14180
  }, 8, ["modelValue", "size", "class", "resizable"]));
14126
14181
  }
14127
- }, lh = { class: "w-full p-2" }, oh = {
14182
+ }, ih = { class: "w-full p-2" }, uh = {
14128
14183
  key: 0,
14129
14184
  class: "mb-6"
14130
- }, ih = { class: "text-xl font-semibold text-gray-900" }, uh = {
14185
+ }, dh = { class: "text-xl font-semibold text-gray-900" }, ch = {
14131
14186
  key: 0,
14132
14187
  class: "text-sm text-gray-600 mt-1"
14133
- }, dh = ["onUpdate:modelValue"], ch = {
14188
+ }, fh = ["onUpdate:modelValue"], mh = {
14134
14189
  key: 4,
14135
14190
  class: "flex items-center"
14136
- }, fh = {
14191
+ }, gh = {
14137
14192
  key: 5,
14138
14193
  class: "flex items-center"
14139
- }, mh = ["id", "aria-checked", "disabled", "onClick"], gh = {
14194
+ }, vh = ["id", "aria-checked", "disabled", "onClick"], hh = {
14140
14195
  key: 6,
14141
14196
  class: "space-y-2"
14142
- }, vh = {
14197
+ }, bh = {
14143
14198
  key: 7,
14144
14199
  class: "space-y-2"
14145
- }, hh = {
14200
+ }, ph = {
14146
14201
  key: 0,
14147
14202
  class: "text-xs text-gray-500"
14148
- }, bh = {
14203
+ }, yh = {
14149
14204
  key: 8,
14150
14205
  class: "space-y-3"
14151
- }, ph = ["onDrop", "onDragenter", "onDragleave", "onClick"], yh = ["multiple", "accept", "disabled", "onChange"], xh = { class: "flex items-center justify-center px-4 py-4" }, wh = { class: "flex flex-col" }, kh = { class: "text-xs text-gray-500" }, $h = {
14206
+ }, xh = ["onDrop", "onDragenter", "onDragleave", "onClick"], wh = ["multiple", "accept", "disabled", "onChange"], kh = { class: "flex items-center justify-center px-4 py-4" }, $h = { class: "flex flex-col" }, Ch = { class: "text-xs text-gray-500" }, Sh = {
14152
14207
  key: 0,
14153
14208
  class: "ml-1"
14154
- }, Ch = {
14209
+ }, zh = {
14155
14210
  key: 1,
14156
14211
  class: "ml-1"
14157
- }, Sh = {
14212
+ }, Ah = {
14158
14213
  key: 0,
14159
14214
  class: "text-xs text-gray-500"
14160
- }, zh = {
14215
+ }, Vh = {
14161
14216
  key: 1,
14162
14217
  class: "space-y-2"
14163
- }, Ah = { class: "flex items-center space-x-3 flex-1 min-w-0" }, Vh = { class: "relative h-10 w-10 flex-shrink-0" }, Mh = {
14218
+ }, Mh = { class: "flex items-center space-x-3 flex-1 min-w-0" }, Fh = { class: "relative h-10 w-10 flex-shrink-0" }, Bh = {
14164
14219
  class: "h-10 w-10 text-gray-300",
14165
14220
  viewBox: "0 0 36 36"
14166
- }, Fh = ["stroke-dasharray"], Bh = { class: "absolute inset-0 flex items-center justify-center text-xs font-medium text-gray-700" }, Th = { class: "flex flex-col min-w-0" }, Ph = { class: "text-sm font-medium text-gray-900 truncate" }, jh = ["onClick"], Oh = {
14221
+ }, Th = ["stroke-dasharray"], Ph = { class: "absolute inset-0 flex items-center justify-center text-xs font-medium text-gray-700" }, jh = { class: "flex flex-col min-w-0" }, Oh = { class: "text-sm font-medium text-gray-900 truncate" }, Dh = ["onClick"], Ih = {
14167
14222
  key: 2,
14168
14223
  class: "space-y-2"
14169
- }, Dh = { class: "flex items-center space-x-3 flex-1 min-w-0" }, Ih = {
14224
+ }, Lh = { class: "flex items-center space-x-3 flex-1 min-w-0" }, Eh = {
14170
14225
  class: "h-5 w-5",
14171
14226
  xmlns: "http://www.w3.org/2000/svg",
14172
14227
  fill: "none",
14173
14228
  viewBox: "0 0 24 24",
14174
14229
  "stroke-width": "1.5",
14175
14230
  stroke: "currentColor"
14176
- }, Lh = {
14231
+ }, Nh = {
14177
14232
  key: 0,
14178
14233
  "stroke-linecap": "round",
14179
14234
  "stroke-linejoin": "round",
14180
14235
  d: "M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"
14181
- }, Eh = {
14236
+ }, _h = {
14182
14237
  key: 1,
14183
14238
  "stroke-linecap": "round",
14184
14239
  "stroke-linejoin": "round",
14185
14240
  d: "M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"
14186
- }, Nh = { class: "flex flex-col min-w-0" }, _h = { class: "text-sm font-medium text-gray-900 truncate" }, Rh = { class: "text-xs text-gray-500" }, Uh = ["disabled", "onClick"], qh = {
14241
+ }, Rh = { class: "flex flex-col min-w-0" }, Uh = { class: "text-sm font-medium text-gray-900 truncate" }, qh = { class: "text-xs text-gray-500" }, Hh = ["disabled", "onClick"], Wh = {
14187
14242
  key: 3,
14188
14243
  class: "text-xs text-blue-600 font-medium"
14189
- }, Hh = { key: 0 }, Wh = {
14244
+ }, Yh = { key: 0 }, Gh = {
14190
14245
  key: 10,
14191
14246
  class: "space-y-2"
14192
- }, Yh = { class: "flex items-center gap-4" }, Gh = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, Kh = { class: "flex justify-end gap-3 pt-6" }, Xh = {
14247
+ }, Kh = { class: "flex items-center gap-4" }, Xh = { class: "text-sm font-medium text-gray-700 min-w-[3rem] text-right" }, Qh = { class: "flex justify-end gap-3 pt-6" }, Jh = {
14193
14248
  __name: "ReusableForm",
14194
14249
  props: {
14195
14250
  title: {
@@ -14428,10 +14483,10 @@ const ac = {
14428
14483
  }, H = () => {
14429
14484
  n("cancel");
14430
14485
  };
14431
- return (y, x) => (r(), i("div", lh, [
14432
- e.title ? (r(), i("div", oh, [
14433
- l("h2", ih, w(e.title), 1),
14434
- e.description ? (r(), i("p", uh, w(e.description), 1)) : h("", !0)
14486
+ return (y, x) => (r(), i("div", ih, [
14487
+ e.title ? (r(), i("div", uh, [
14488
+ l("h2", dh, w(e.title), 1),
14489
+ e.description ? (r(), i("p", ch, w(e.description), 1)) : h("", !0)
14435
14490
  ])) : h("", !0),
14436
14491
  l("form", {
14437
14492
  class: "space-y-6",
@@ -14444,7 +14499,7 @@ const ac = {
14444
14499
  key: 0,
14445
14500
  "onUpdate:modelValue": (Q) => o.value[v.name] = Q,
14446
14501
  type: "hidden"
14447
- }, null, 8, dh)), [
14502
+ }, null, 8, fh)), [
14448
14503
  [rt, o.value[v.name]]
14449
14504
  ]) : (r(), Y(Na, {
14450
14505
  key: 1,
@@ -14499,7 +14554,7 @@ const ac = {
14499
14554
  "has-error": se,
14500
14555
  "aria-describedby": ce,
14501
14556
  "onUpdate:modelValue": (ee) => o.value[v.name] = ee
14502
- }, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : v.type === "checkbox" ? (r(), i("div", ch, [
14557
+ }, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : v.type === "checkbox" ? (r(), i("div", mh, [
14503
14558
  j(Ae, {
14504
14559
  id: Q,
14505
14560
  modelValue: o.value[v.name],
@@ -14518,7 +14573,7 @@ const ac = {
14518
14573
  ]),
14519
14574
  _: 2
14520
14575
  }, 1032, ["for"])
14521
- ])) : v.type === "switch" ? (r(), i("div", fh, [
14576
+ ])) : v.type === "switch" ? (r(), i("div", gh, [
14522
14577
  l("button", {
14523
14578
  id: Q,
14524
14579
  type: "button",
@@ -14538,7 +14593,7 @@ const ac = {
14538
14593
  o.value[v.name] ? "translate-x-6" : "translate-x-1"
14539
14594
  ])
14540
14595
  }, null, 2)
14541
- ], 10, mh),
14596
+ ], 10, vh),
14542
14597
  j(Je, {
14543
14598
  for: Q,
14544
14599
  class: "ml-3 text-sm text-gray-700"
@@ -14548,7 +14603,7 @@ const ac = {
14548
14603
  ]),
14549
14604
  _: 2
14550
14605
  }, 1032, ["for"])
14551
- ])) : v.type === "radio" ? (r(), i("div", gh, [
14606
+ ])) : v.type === "radio" ? (r(), i("div", hh, [
14552
14607
  (r(!0), i(te, null, ae(v.options, (ee) => (r(), i("div", {
14553
14608
  key: ee.value,
14554
14609
  class: "flex items-center"
@@ -14573,7 +14628,7 @@ const ac = {
14573
14628
  _: 2
14574
14629
  }, 1032, ["for"])
14575
14630
  ]))), 128))
14576
- ])) : v.type === "file" ? (r(), i("div", vh, [
14631
+ ])) : v.type === "file" ? (r(), i("div", bh, [
14577
14632
  j(Ae, {
14578
14633
  id: Q,
14579
14634
  type: "file",
@@ -14586,8 +14641,8 @@ const ac = {
14586
14641
  "aria-describedby": ce,
14587
14642
  onChange: (ee) => k(v, ee)
14588
14643
  }, null, 8, ["id", "accept", "disabled", "class", "aria-describedby", "onChange"]),
14589
- v.helpText ? (r(), i("p", hh, w(v.helpText), 1)) : h("", !0)
14590
- ])) : v.type === "multifile" ? (r(), i("div", bh, [
14644
+ v.helpText ? (r(), i("p", ph, w(v.helpText), 1)) : h("", !0)
14645
+ ])) : v.type === "multifile" ? (r(), i("div", yh, [
14591
14646
  l("div", {
14592
14647
  class: g([
14593
14648
  "border-2 border-dashed rounded-xl cursor-pointer transition-all duration-200",
@@ -14609,8 +14664,8 @@ const ac = {
14609
14664
  class: "hidden",
14610
14665
  disabled: s.value || v.disabled,
14611
14666
  onChange: (ee) => L(v, ee)
14612
- }, null, 40, yh),
14613
- l("div", xh, [
14667
+ }, null, 40, wh),
14668
+ l("div", kh, [
14614
14669
  x[1] || (x[1] = l("div", { class: "bg-gray-100 rounded-full p-2.5 mr-3" }, [
14615
14670
  l("svg", {
14616
14671
  class: "h-6 w-6 text-gray-600",
@@ -14627,28 +14682,28 @@ const ac = {
14627
14682
  })
14628
14683
  ])
14629
14684
  ], -1)),
14630
- l("div", wh, [
14685
+ l("div", $h, [
14631
14686
  x[0] || (x[0] = l("p", { class: "text-sm font-medium text-gray-700" }, [
14632
14687
  l("span", { class: "text-blue-600 font-semibold" }, "Click to upload"),
14633
14688
  ie(" or drag and drop ")
14634
14689
  ], -1)),
14635
- l("p", kh, [
14690
+ l("p", Ch, [
14636
14691
  ie(w(v.maxSize ? `Up to ${P(v.maxSize)}` : "No size limit") + " ", 1),
14637
- v.accept ? (r(), i("span", $h, "• " + w(v.accept), 1)) : h("", !0),
14638
- v.maxFiles ? (r(), i("span", Ch, "• Max " + w(v.maxFiles) + " files", 1)) : h("", !0)
14692
+ v.accept ? (r(), i("span", Sh, "• " + w(v.accept), 1)) : h("", !0),
14693
+ v.maxFiles ? (r(), i("span", zh, "• Max " + w(v.maxFiles) + " files", 1)) : h("", !0)
14639
14694
  ])
14640
14695
  ])
14641
14696
  ])
14642
- ], 42, ph),
14643
- v.helpText ? (r(), i("p", Sh, w(v.helpText), 1)) : h("", !0),
14644
- c.value[v.name]?.length > 0 ? (r(), i("div", zh, [
14697
+ ], 42, xh),
14698
+ v.helpText ? (r(), i("p", Ah, w(v.helpText), 1)) : h("", !0),
14699
+ c.value[v.name]?.length > 0 ? (r(), i("div", Vh, [
14645
14700
  (r(!0), i(te, null, ae(c.value[v.name], (ee) => (r(), i("div", {
14646
14701
  key: ee.id,
14647
14702
  class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg"
14648
14703
  }, [
14649
- l("div", Ah, [
14650
- l("div", Vh, [
14651
- (r(), i("svg", Mh, [
14704
+ l("div", Mh, [
14705
+ l("div", Fh, [
14706
+ (r(), i("svg", Bh, [
14652
14707
  x[2] || (x[2] = l("circle", {
14653
14708
  cx: "18",
14654
14709
  cy: "18",
@@ -14667,12 +14722,12 @@ const ac = {
14667
14722
  "stroke-linecap": "round",
14668
14723
  "stroke-dasharray": `${ee.progress} 100`,
14669
14724
  transform: "rotate(-90 18 18)"
14670
- }, null, 8, Fh)
14725
+ }, null, 8, Th)
14671
14726
  ])),
14672
- l("span", Bh, w(Math.round(ee.progress)) + "% ", 1)
14727
+ l("span", Ph, w(Math.round(ee.progress)) + "% ", 1)
14673
14728
  ]),
14674
- l("div", Th, [
14675
- l("span", Ph, w(ee.file.name), 1),
14729
+ l("div", jh, [
14730
+ l("span", Oh, w(ee.file.name), 1),
14676
14731
  x[3] || (x[3] = l("span", { class: "text-xs text-gray-500" }, "Uploading...", -1))
14677
14732
  ])
14678
14733
  ]),
@@ -14695,28 +14750,28 @@ const ac = {
14695
14750
  d: "M6 18L18 6M6 6l12 12"
14696
14751
  })
14697
14752
  ], -1)
14698
- ])], 8, jh)
14753
+ ])], 8, Dh)
14699
14754
  ]))), 128))
14700
14755
  ])) : h("", !0),
14701
- o.value[v.name]?.length > 0 ? (r(), i("div", Oh, [
14756
+ o.value[v.name]?.length > 0 ? (r(), i("div", Ih, [
14702
14757
  (r(!0), i(te, null, ae(o.value[v.name], (ee, xe) => (r(), i("div", {
14703
14758
  key: `uploaded-${xe}`,
14704
14759
  class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg hover:shadow-sm transition-shadow"
14705
14760
  }, [
14706
- l("div", Dh, [
14761
+ l("div", Lh, [
14707
14762
  l("div", {
14708
14763
  class: g([
14709
14764
  "rounded-lg p-2 flex-shrink-0",
14710
14765
  C(ee)
14711
14766
  ])
14712
14767
  }, [
14713
- (r(), i("svg", Ih, [
14714
- f(ee) === "image" ? (r(), i("path", Lh)) : (r(), i("path", Eh))
14768
+ (r(), i("svg", Eh, [
14769
+ f(ee) === "image" ? (r(), i("path", Nh)) : (r(), i("path", _h))
14715
14770
  ]))
14716
14771
  ], 2),
14717
- l("div", Nh, [
14718
- l("span", _h, w(ee.name), 1),
14719
- l("span", Rh, w(P(ee.size)), 1)
14772
+ l("div", Rh, [
14773
+ l("span", Uh, w(ee.name), 1),
14774
+ l("span", qh, w(P(ee.size)), 1)
14720
14775
  ])
14721
14776
  ]),
14722
14777
  l("button", {
@@ -14739,12 +14794,12 @@ const ac = {
14739
14794
  d: "M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"
14740
14795
  })
14741
14796
  ], -1)
14742
- ])], 8, Uh)
14797
+ ])], 8, Hh)
14743
14798
  ]))), 128))
14744
14799
  ])) : h("", !0),
14745
- o.value[v.name]?.length > 0 ? (r(), i("p", qh, [
14800
+ o.value[v.name]?.length > 0 ? (r(), i("p", Wh, [
14746
14801
  ie(w(o.value[v.name].length) + " file(s) uploaded ", 1),
14747
- v.maxFiles ? (r(), i("span", Hh, " of " + w(v.maxFiles) + " max", 1)) : h("", !0)
14802
+ v.maxFiles ? (r(), i("span", Yh, " of " + w(v.maxFiles) + " max", 1)) : h("", !0)
14748
14803
  ])) : h("", !0)
14749
14804
  ])) : v.type === "slider" ? (r(), Y(Ra, {
14750
14805
  key: 9,
@@ -14754,8 +14809,8 @@ const ac = {
14754
14809
  step: v.step,
14755
14810
  disabled: s.value || v.disabled,
14756
14811
  "onUpdate:modelValue": (ee) => S(v, ee)
14757
- }, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : v.type === "range" ? (r(), i("div", Wh, [
14758
- l("div", Yh, [
14812
+ }, null, 8, ["model-value", "min", "max", "step", "disabled", "onUpdate:modelValue"])) : v.type === "range" ? (r(), i("div", Gh, [
14813
+ l("div", Kh, [
14759
14814
  j(Ae, {
14760
14815
  id: Q,
14761
14816
  modelValue: o.value[v.name],
@@ -14768,7 +14823,7 @@ const ac = {
14768
14823
  class: "flex-1",
14769
14824
  "aria-describedby": ce
14770
14825
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "min", "max", "step", "disabled", "aria-describedby"]),
14771
- l("span", Gh, w(o.value[v.name]), 1)
14826
+ l("span", Xh, w(o.value[v.name]), 1)
14772
14827
  ])
14773
14828
  ])) : v.type === "date" ? (r(), Y(Yt, {
14774
14829
  key: 11,
@@ -14826,7 +14881,7 @@ const ac = {
14826
14881
  _: 2
14827
14882
  }, 1032, ["id", "label", "required", "error", "error-message"]))
14828
14883
  ]))), 128)),
14829
- l("div", Kh, [
14884
+ l("div", Qh, [
14830
14885
  e.showReset ? (r(), Y(Ce, {
14831
14886
  key: 0,
14832
14887
  type: "button",
@@ -14866,49 +14921,49 @@ const ac = {
14866
14921
  ], 32)
14867
14922
  ]));
14868
14923
  }
14869
- }, Qh = {
14924
+ }, Zh = {
14870
14925
  key: 0,
14871
14926
  class: "flex items-center justify-between p-4 border-b border-gray-200 flex-shrink-0 lg:hidden"
14872
- }, Jh = { class: "text-lg font-bold text-gray-900" }, Zh = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, eb = { class: "space-y-2" }, tb = { key: 0 }, ab = {
14927
+ }, eb = { class: "text-lg font-bold text-gray-900" }, tb = { class: "flex-1 overflow-y-auto overflow-x-hidden p-4" }, ab = { class: "space-y-2" }, nb = { key: 0 }, rb = {
14873
14928
  key: 0,
14874
14929
  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"
14875
- }, nb = ["onClick"], rb = {
14930
+ }, sb = ["onClick"], lb = {
14876
14931
  key: 0,
14877
14932
  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"
14878
- }, sb = {
14933
+ }, ob = {
14879
14934
  key: 1,
14880
14935
  class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
14881
- }, lb = {
14936
+ }, ib = {
14882
14937
  key: 1,
14883
14938
  class: "border-t border-gray-200 p-4 flex-shrink-0"
14884
- }, ob = {
14939
+ }, ub = {
14885
14940
  key: 0,
14886
14941
  class: "absolute top-1.5 right-1.5 w-2 h-2 bg-blue-500 rounded-full"
14887
- }, ib = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, ub = { class: "flex items-center justify-between p-4" }, db = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, cb = {
14942
+ }, db = { class: "sticky top-0 bg-white border-b border-gray-200 z-10" }, cb = { class: "flex items-center justify-between p-4" }, fb = { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, mb = {
14888
14943
  key: 0,
14889
14944
  class: "px-4 pb-3"
14890
- }, fb = { class: "relative" }, mb = ["placeholder"], gb = { class: "absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" }, vb = {
14945
+ }, gb = { class: "relative" }, vb = ["placeholder"], hb = { class: "absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" }, bb = {
14891
14946
  key: 0,
14892
14947
  class: "mt-2 text-xs text-gray-500 px-1"
14893
- }, hb = { class: "p-3" }, bb = {
14948
+ }, pb = { class: "p-3" }, yb = {
14894
14949
  key: 0,
14895
14950
  class: "px-3 py-8 text-center"
14896
- }, pb = {
14951
+ }, xb = {
14897
14952
  key: 1,
14898
14953
  class: "space-y-1"
14899
- }, yb = {
14954
+ }, wb = {
14900
14955
  key: 0,
14901
14956
  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"
14902
- }, xb = {
14957
+ }, kb = {
14903
14958
  key: 1,
14904
14959
  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"
14905
- }, wb = { class: "p-3" }, kb = { class: "space-y-1" }, $b = {
14960
+ }, $b = { class: "p-3" }, Cb = { class: "space-y-1" }, Sb = {
14906
14961
  key: 0,
14907
14962
  class: "px-3 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider"
14908
- }, Cb = {
14963
+ }, zb = {
14909
14964
  key: 0,
14910
14965
  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"
14911
- }, Sb = {
14966
+ }, Ab = {
14912
14967
  __name: "Sidebar",
14913
14968
  props: {
14914
14969
  sidebarWidth: {
@@ -15065,8 +15120,8 @@ const ac = {
15065
15120
  )),
15066
15121
  style: be({ width: e.sidebarWidth + "px", top: o.value ? "0px" : "4rem" })
15067
15122
  }, [
15068
- o.value ? (r(), i("div", Qh, [
15069
- l("h2", Jh, w(e.header?.title), 1),
15123
+ o.value ? (r(), i("div", Zh, [
15124
+ l("h2", eb, w(e.header?.title), 1),
15070
15125
  l("button", {
15071
15126
  class: "p-2 rounded-lg text-gray-500 hover:text-gray-900 hover:bg-gray-100 transition-colors",
15072
15127
  "aria-label": "Close sidebar",
@@ -15087,12 +15142,12 @@ const ac = {
15087
15142
  ], -1)
15088
15143
  ])])
15089
15144
  ])) : h("", !0),
15090
- l("nav", Zh, [
15091
- l("div", eb, [
15145
+ l("nav", tb, [
15146
+ l("div", ab, [
15092
15147
  (r(!0), i(te, null, ae(e.navigationItems, (v) => (r(), i(te, {
15093
15148
  key: v.name || v.label
15094
15149
  }, [
15095
- v.type === "link" ? (r(), i("div", tb, [
15150
+ v.type === "link" ? (r(), i("div", nb, [
15096
15151
  $(v) ? (r(), i("div", {
15097
15152
  key: 1,
15098
15153
  class: g(q(O)(
@@ -15119,9 +15174,9 @@ const ac = {
15119
15174
  C(v) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
15120
15175
  ))
15121
15176
  }, w(v.label), 3),
15122
- v.badge ? (r(), i("span", rb, w(v.badge), 1)) : h("", !0),
15123
- C(v) && $(v) ? (r(), i("div", sb)) : h("", !0)
15124
- ], 10, nb)) : (r(), Y(x, {
15177
+ v.badge ? (r(), i("span", lb, w(v.badge), 1)) : h("", !0),
15178
+ C(v) && $(v) ? (r(), i("div", ob)) : h("", !0)
15179
+ ], 10, sb)) : (r(), Y(x, {
15125
15180
  key: 0,
15126
15181
  to: v.route,
15127
15182
  class: g(q(O)(
@@ -15149,7 +15204,7 @@ const ac = {
15149
15204
  C(v) ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
15150
15205
  ))
15151
15206
  }, w(v.label), 3),
15152
- v.badge ? (r(), i("span", ab, w(v.badge), 1)) : h("", !0)
15207
+ v.badge ? (r(), i("span", rb, w(v.badge), 1)) : h("", !0)
15153
15208
  ]),
15154
15209
  _: 2
15155
15210
  }, 1032, ["to", "class", "onClick"]))
@@ -15157,7 +15212,7 @@ const ac = {
15157
15212
  ], 64))), 128))
15158
15213
  ])
15159
15214
  ]),
15160
- e.showManagementSettings ? (r(), i("div", lb, [
15215
+ e.showManagementSettings ? (r(), i("div", ib, [
15161
15216
  l("div", {
15162
15217
  class: g(q(O)(
15163
15218
  "flex flex-col items-center justify-center rounded-xl transition-all duration-200 cursor-pointer group relative py-4 px-3",
@@ -15183,7 +15238,7 @@ const ac = {
15183
15238
  e.isManagementSettingsActive ? "text-blue-700 font-semibold" : "text-gray-500 group-hover:text-gray-900"
15184
15239
  ))
15185
15240
  }, " Settings ", 2),
15186
- e.isManagementSettingsActive ? (r(), i("div", ob)) : h("", !0)
15241
+ e.isManagementSettingsActive ? (r(), i("div", ub)) : h("", !0)
15187
15242
  ], 2)
15188
15243
  ])) : h("", !0)
15189
15244
  ], 6),
@@ -15206,8 +15261,8 @@ const ac = {
15206
15261
  ),
15207
15262
  style: be(M.value)
15208
15263
  }, [
15209
- l("div", ib, [
15210
- l("div", ub, [
15264
+ l("div", db, [
15265
+ l("div", cb, [
15211
15266
  l("button", {
15212
15267
  class: "p-2 -ml-2 rounded-lg text-gray-500 hover:text-gray-700 hover:bg-gray-100 transition-colors",
15213
15268
  "aria-label": "Close submenu",
@@ -15227,20 +15282,20 @@ const ac = {
15227
15282
  })
15228
15283
  ], -1)
15229
15284
  ])]),
15230
- l("h3", db, w(d.value?.label), 1)
15285
+ l("h3", fb, w(d.value?.label), 1)
15231
15286
  ]),
15232
- T.value ? (r(), i("div", cb, [
15233
- l("div", fb, [
15287
+ T.value ? (r(), i("div", mb, [
15288
+ l("div", gb, [
15234
15289
  Ge(l("input", {
15235
15290
  "onUpdate:modelValue": y[0] || (y[0] = (v) => p.value = v),
15236
15291
  type: "text",
15237
15292
  placeholder: e.searchPlaceholder,
15238
15293
  class: "w-full px-3 py-2 pl-9 pr-9 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all",
15239
15294
  onInput: y[1] || (y[1] = (v) => P(p.value))
15240
- }, null, 40, mb), [
15295
+ }, null, 40, vb), [
15241
15296
  [rt, p.value]
15242
15297
  ]),
15243
- l("div", gb, [
15298
+ l("div", hb, [
15244
15299
  j(le, {
15245
15300
  icon: "search",
15246
15301
  class: "w-4 h-4"
@@ -15257,18 +15312,18 @@ const ac = {
15257
15312
  })
15258
15313
  ])) : h("", !0)
15259
15314
  ]),
15260
- p.value ? (r(), i("div", vb, w(F.value.length) + " result" + w(F.value.length !== 1 ? "s" : "") + " found ", 1)) : h("", !0)
15315
+ p.value ? (r(), i("div", bb, w(F.value.length) + " result" + w(F.value.length !== 1 ? "s" : "") + " found ", 1)) : h("", !0)
15261
15316
  ])) : h("", !0)
15262
15317
  ]),
15263
- l("nav", hb, [
15264
- T.value && p.value && F.value.length === 0 ? (r(), i("div", bb, [
15318
+ l("nav", pb, [
15319
+ T.value && p.value && F.value.length === 0 ? (r(), i("div", yb, [
15265
15320
  j(le, {
15266
15321
  icon: "search",
15267
15322
  class: "w-12 h-12 mx-auto text-gray-300 mb-3"
15268
15323
  }),
15269
15324
  y[4] || (y[4] = l("p", { class: "text-sm text-gray-500 mb-1" }, " No results found ", -1)),
15270
15325
  y[5] || (y[5] = l("p", { class: "text-xs text-gray-400" }, " Try a different search term ", -1))
15271
- ])) : (r(), i("div", pb, [
15326
+ ])) : (r(), i("div", xb, [
15272
15327
  (r(!0), i(te, null, ae(F.value, (v) => (r(), Y(x, {
15273
15328
  key: v.name,
15274
15329
  to: v.route,
@@ -15281,7 +15336,7 @@ const ac = {
15281
15336
  onClick: (Q) => de(v)
15282
15337
  }, {
15283
15338
  default: K(() => [
15284
- C(v) ? (r(), i("div", yb)) : h("", !0),
15339
+ C(v) ? (r(), i("div", wb)) : h("", !0),
15285
15340
  l("div", {
15286
15341
  class: g(
15287
15342
  q(O)(
@@ -15302,7 +15357,7 @@ const ac = {
15302
15357
  C(v) ? "text-blue-700" : "text-gray-700"
15303
15358
  ))
15304
15359
  }, w(v.label), 3),
15305
- v.badge ? (r(), i("span", xb, w(v.badge), 1)) : h("", !0)
15360
+ v.badge ? (r(), i("span", kb, w(v.badge), 1)) : h("", !0)
15306
15361
  ]),
15307
15362
  _: 2
15308
15363
  }, 1032, ["to", "class", "onClick"]))), 128))
@@ -15355,12 +15410,12 @@ const ac = {
15355
15410
  y[7] || (y[7] = l("h3", { class: "flex-1 text-sm font-bold text-gray-900 ml-2" }, " Management Settings ", -1))
15356
15411
  ])
15357
15412
  ]),
15358
- l("nav", wb, [
15359
- l("div", kb, [
15413
+ l("nav", $b, [
15414
+ l("div", Cb, [
15360
15415
  (r(!0), i(te, null, ae(e.managementSettings, (v) => (r(), i(te, {
15361
15416
  key: v.name
15362
15417
  }, [
15363
- v.type === "section" ? (r(), i("div", $b, w(v.label), 1)) : v.route ? (r(), Y(x, {
15418
+ v.type === "section" ? (r(), i("div", Sb, w(v.label), 1)) : v.route ? (r(), Y(x, {
15364
15419
  key: 1,
15365
15420
  to: v.route,
15366
15421
  class: g(
@@ -15372,7 +15427,7 @@ const ac = {
15372
15427
  onClick: (Q) => Z(v)
15373
15428
  }, {
15374
15429
  default: K(() => [
15375
- C(v) ? (r(), i("div", Cb)) : h("", !0),
15430
+ C(v) ? (r(), i("div", zb)) : h("", !0),
15376
15431
  l("div", {
15377
15432
  class: g(
15378
15433
  q(O)(
@@ -15423,7 +15478,7 @@ const ac = {
15423
15478
  ]);
15424
15479
  };
15425
15480
  }
15426
- }, zb = {
15481
+ }, Vb = {
15427
15482
  __name: "Timeline",
15428
15483
  props: {
15429
15484
  orientation: {
@@ -15442,13 +15497,13 @@ const ac = {
15442
15497
  U(a.$slots, "default")
15443
15498
  ], 2));
15444
15499
  }
15445
- }, Ab = {
15500
+ }, Mb = {
15446
15501
  key: 0,
15447
15502
  class: "absolute left-3 top-0 w-0.5 h-full bg-slate-200"
15448
- }, Vb = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, Mb = { class: "text-slate-900 font-medium" }, Fb = {
15503
+ }, Fb = { class: "z-10 flex items-center justify-center w-6 h-6 rounded-full border-2 border-blue-500 bg-white text-blue-500" }, Bb = { class: "text-slate-900 font-medium" }, Tb = {
15449
15504
  key: 0,
15450
15505
  class: "text-slate-500 text-sm"
15451
- }, Bb = { class: "mt-2 text-slate-600 text-sm" }, Tb = {
15506
+ }, Pb = { class: "mt-2 text-slate-600 text-sm" }, jb = {
15452
15507
  __name: "TimelineItem",
15453
15508
  props: {
15454
15509
  title: {
@@ -15472,8 +15527,8 @@ const ac = {
15472
15527
  e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
15473
15528
  ])
15474
15529
  }, [
15475
- e.orientation === "vertical" ? (r(), i("div", Ab)) : h("", !0),
15476
- l("div", Vb, [
15530
+ e.orientation === "vertical" ? (r(), i("div", Mb)) : h("", !0),
15531
+ l("div", Fb, [
15477
15532
  U(a.$slots, "icon", {}, () => [
15478
15533
  t[0] || (t[0] = l("div", { class: "w-2 h-2 rounded-full bg-blue-500" }, null, -1))
15479
15534
  ])
@@ -15484,23 +15539,23 @@ const ac = {
15484
15539
  e.orientation === "horizontal" ? "mt-2 text-center" : ""
15485
15540
  ])
15486
15541
  }, [
15487
- l("h3", Mb, [
15542
+ l("h3", Bb, [
15488
15543
  U(a.$slots, "title", {}, () => [
15489
15544
  ie(w(e.title), 1)
15490
15545
  ])
15491
15546
  ]),
15492
- e.subtitle ? (r(), i("p", Fb, [
15547
+ e.subtitle ? (r(), i("p", Tb, [
15493
15548
  U(a.$slots, "subtitle", {}, () => [
15494
15549
  ie(w(e.subtitle), 1)
15495
15550
  ])
15496
15551
  ])) : h("", !0),
15497
- l("div", Bb, [
15552
+ l("div", Pb, [
15498
15553
  U(a.$slots, "default")
15499
15554
  ])
15500
15555
  ], 2)
15501
15556
  ], 2));
15502
15557
  }
15503
- }, Pb = {
15558
+ }, Ob = {
15504
15559
  name: "AuthLayout",
15505
15560
  props: {
15506
15561
  title: {
@@ -15589,20 +15644,20 @@ const ac = {
15589
15644
  currentYear: b(() => (/* @__PURE__ */ new Date()).getFullYear())
15590
15645
  };
15591
15646
  }
15592
- }, jb = { class: "container mx-auto px-4 relative z-10" }, Ob = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, Db = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Ib = { class: "mb-6" }, Lb = { class: "text-4xl lg:text-6xl font-bold mb-2" }, Eb = { class: "text-white" }, Nb = { class: "flex items-center justify-center lg:justify-start mb-6" }, _b = { class: "text-3xl lg:text-4xl font-bold text-white" }, Rb = { class: "lg:col-span-4" }, Ub = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, qb = {
15647
+ }, Db = { class: "container mx-auto px-4 relative z-10" }, Ib = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, Lb = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Eb = { class: "mb-6" }, Nb = { class: "text-4xl lg:text-6xl font-bold mb-2" }, _b = { class: "text-white" }, Rb = { class: "flex items-center justify-center lg:justify-start mb-6" }, Ub = { class: "text-3xl lg:text-4xl font-bold text-white" }, qb = { class: "lg:col-span-4" }, Hb = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, Wb = {
15593
15648
  key: 0,
15594
15649
  class: "mb-6"
15595
- }, Hb = { class: "text-center" }, Wb = { class: "text-2xl font-bold text-gray-900" }, Yb = {
15650
+ }, Yb = { class: "text-center" }, Gb = { class: "text-2xl font-bold text-gray-900" }, Kb = {
15596
15651
  key: 0,
15597
15652
  class: "text-gray-600 mt-2"
15598
- }, Gb = { class: "space-y-6" }, Kb = {
15653
+ }, Xb = { class: "space-y-6" }, Qb = {
15599
15654
  key: 1,
15600
15655
  class: "mt-6"
15601
- }, Xb = {
15656
+ }, Jb = {
15602
15657
  key: 0,
15603
15658
  class: "mt-6 text-center"
15604
- }, Qb = { class: "absolute bottom-4 right-4 text-right" }, Jb = { class: "flex items-end justify-end mb-2" }, Zb = { class: "text-right mr-3" }, ep = { class: "text-red-500 font-bold text-xs" }, tp = { class: "text-white text-xs" }, ap = { class: "text-white/70 text-xs" }, np = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, rp = { class: "text-white/70 text-xs" }, sp = { class: "absolute bottom-4 left-4 flex gap-2" }, lp = ["href"];
15605
- function op(e, a, t, n, s, o) {
15659
+ }, Zb = { class: "absolute bottom-4 right-4 text-right" }, ep = { class: "flex items-end justify-end mb-2" }, tp = { class: "text-right mr-3" }, ap = { class: "text-red-500 font-bold text-xs" }, np = { class: "text-white text-xs" }, rp = { class: "text-white/70 text-xs" }, sp = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, lp = { class: "text-white/70 text-xs" }, op = { class: "absolute bottom-4 left-4 flex gap-2" }, ip = ["href"];
15660
+ function up(e, a, t, n, s, o) {
15606
15661
  const u = $e("router-view"), d = $e("font-awesome-icon");
15607
15662
  return r(), i("div", {
15608
15663
  class: "min-h-screen relative flex items-center justify-center",
@@ -15615,70 +15670,70 @@ function op(e, a, t, n, s, o) {
15615
15670
  opacity: t.backgroundOpacity
15616
15671
  })
15617
15672
  }, null, 4),
15618
- l("div", jb, [
15619
- l("div", Ob, [
15620
- l("div", Db, [
15621
- l("div", Ib, [
15622
- l("div", Lb, [
15673
+ l("div", Db, [
15674
+ l("div", Ib, [
15675
+ l("div", Lb, [
15676
+ l("div", Eb, [
15677
+ l("div", Nb, [
15623
15678
  l("span", {
15624
15679
  style: be({ color: t.primaryColor })
15625
15680
  }, w(t.primaryLogoPrefix), 5),
15626
- l("span", Eb, w(t.primaryLogoText), 1)
15681
+ l("span", _b, w(t.primaryLogoText), 1)
15627
15682
  ]),
15628
15683
  l("div", {
15629
15684
  class: "h-0.5 w-30 mx-auto lg:mx-0",
15630
15685
  style: be({ backgroundColor: t.primaryColor })
15631
15686
  }, null, 4)
15632
15687
  ]),
15633
- l("div", Nb, [
15688
+ l("div", Rb, [
15634
15689
  l("div", {
15635
15690
  class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
15636
15691
  style: be({ backgroundColor: t.primaryColor })
15637
15692
  }, w(t.secondaryLogoPrefix), 5),
15638
- l("span", _b, w(t.secondaryLogoText), 1)
15693
+ l("span", Ub, w(t.secondaryLogoText), 1)
15639
15694
  ]),
15640
15695
  a[0] || (a[0] = l("div", { class: "max-w-md mx-auto lg:mx-0" }, [
15641
15696
  l("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
15642
15697
  ], -1))
15643
15698
  ]),
15644
- l("div", Rb, [
15645
- l("div", Ub, [
15646
- e.$slots["card-header"] || t.title ? (r(), i("div", qb, [
15699
+ l("div", qb, [
15700
+ l("div", Hb, [
15701
+ e.$slots["card-header"] || t.title ? (r(), i("div", Wb, [
15647
15702
  U(e.$slots, "card-header", {}, () => [
15648
- l("div", Hb, [
15649
- l("h1", Wb, w(t.title), 1),
15650
- t.subtitle ? (r(), i("p", Yb, w(t.subtitle), 1)) : h("", !0)
15703
+ l("div", Yb, [
15704
+ l("h1", Gb, w(t.title), 1),
15705
+ t.subtitle ? (r(), i("p", Kb, w(t.subtitle), 1)) : h("", !0)
15651
15706
  ])
15652
15707
  ])
15653
15708
  ])) : h("", !0),
15654
- l("div", Gb, [
15709
+ l("div", Xb, [
15655
15710
  j(u)
15656
15711
  ]),
15657
- e.$slots["card-footer"] ? (r(), i("div", Kb, [
15712
+ e.$slots["card-footer"] ? (r(), i("div", Qb, [
15658
15713
  U(e.$slots, "card-footer")
15659
15714
  ])) : h("", !0)
15660
15715
  ]),
15661
- e.$slots.links ? (r(), i("div", Xb, [
15716
+ e.$slots.links ? (r(), i("div", Jb, [
15662
15717
  U(e.$slots, "links")
15663
15718
  ])) : h("", !0)
15664
15719
  ])
15665
15720
  ])
15666
15721
  ]),
15667
- l("div", Qb, [
15668
- l("div", Jb, [
15669
- l("div", Zb, [
15670
- l("div", ep, w(t.companyName), 1),
15671
- l("div", tp, w(t.companyType), 1),
15672
- l("div", ap, w(t.companyTagline), 1)
15722
+ l("div", Zb, [
15723
+ l("div", ep, [
15724
+ l("div", tp, [
15725
+ l("div", ap, w(t.companyName), 1),
15726
+ l("div", np, w(t.companyType), 1),
15727
+ l("div", rp, w(t.companyTagline), 1)
15673
15728
  ]),
15674
- l("div", np, w(t.companyInitials), 1)
15729
+ l("div", sp, w(t.companyInitials), 1)
15675
15730
  ]),
15676
- l("div", rp, [
15731
+ l("div", lp, [
15677
15732
  l("div", null, w(t.appName) + " (" + w(t.appVersion) + ")", 1),
15678
15733
  l("div", null, w(t.copyright), 1)
15679
15734
  ])
15680
15735
  ]),
15681
- l("div", sp, [
15736
+ l("div", op, [
15682
15737
  (r(!0), i(te, null, ae(t.socialLinks, (c) => (r(), i("a", {
15683
15738
  key: c.name,
15684
15739
  href: c.url,
@@ -15690,14 +15745,14 @@ function op(e, a, t, n, s, o) {
15690
15745
  j(d, {
15691
15746
  icon: ["fab", c.icon]
15692
15747
  }, null, 8, ["icon"])
15693
- ], 10, lp))), 128))
15748
+ ], 10, ip))), 128))
15694
15749
  ])
15695
15750
  ], 4);
15696
15751
  }
15697
- const ip = /* @__PURE__ */ Gt(Pb, [["render", op]]), up = { class: "min-h-screen bg-gray-50" }, dp = { class: "flex-1" }, cp = {
15752
+ const dp = /* @__PURE__ */ Gt(Ob, [["render", up]]), cp = { class: "min-h-screen bg-gray-50" }, fp = { class: "flex-1" }, mp = {
15698
15753
  key: 0,
15699
15754
  class: "bg-white border-b border-gray-200"
15700
- }, fp = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, mp = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, gp = {
15755
+ }, gp = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, vp = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, hp = {
15701
15756
  __name: "DefaultLayout",
15702
15757
  props: {
15703
15758
  navigationItems: {
@@ -15721,7 +15776,7 @@ const ip = /* @__PURE__ */ Gt(Pb, [["render", op]]), up = { class: "min-h-screen
15721
15776
  setup(e) {
15722
15777
  return (a, t) => {
15723
15778
  const n = $e("Logo"), s = $e("MainNavigation"), o = $e("Button"), u = $e("Header"), d = $e("Breadcrumb"), c = $e("Text"), p = $e("Footer");
15724
- return r(), i("div", up, [
15779
+ return r(), i("div", cp, [
15725
15780
  j(u, null, {
15726
15781
  logo: K(() => [
15727
15782
  U(a.$slots, "logo", {}, () => [
@@ -15754,15 +15809,15 @@ const ip = /* @__PURE__ */ Gt(Pb, [["render", op]]), up = { class: "min-h-screen
15754
15809
  ]),
15755
15810
  _: 3
15756
15811
  }),
15757
- l("main", dp, [
15758
- e.showBreadcrumb ? (r(), i("div", cp, [
15759
- l("div", fp, [
15812
+ l("main", fp, [
15813
+ e.showBreadcrumb ? (r(), i("div", mp, [
15814
+ l("div", gp, [
15760
15815
  U(a.$slots, "breadcrumb", {}, () => [
15761
15816
  j(d, { items: e.breadcrumbItems }, null, 8, ["items"])
15762
15817
  ])
15763
15818
  ])
15764
15819
  ])) : h("", !0),
15765
- l("div", mp, [
15820
+ l("div", vp, [
15766
15821
  U(a.$slots, "default")
15767
15822
  ])
15768
15823
  ]),
@@ -15783,7 +15838,7 @@ const ip = /* @__PURE__ */ Gt(Pb, [["render", op]]), up = { class: "min-h-screen
15783
15838
  ]);
15784
15839
  };
15785
15840
  }
15786
- }, vp = {
15841
+ }, bp = {
15787
15842
  name: "ErrorLayout",
15788
15843
  props: {
15789
15844
  errorType: {
@@ -16049,20 +16104,20 @@ const ip = /* @__PURE__ */ Gt(Pb, [["render", op]]), up = { class: "min-h-screen
16049
16104
  helpClasses: y
16050
16105
  };
16051
16106
  }
16052
- }, hp = { class: "flex justify-center" }, bp = { class: "flex items-center gap-3" }, pp = { class: "text-2xl font-bold text-slate-900" }, yp = {
16107
+ }, pp = { class: "flex justify-center" }, yp = { class: "flex items-center gap-3" }, xp = { class: "text-2xl font-bold text-slate-900" }, wp = {
16053
16108
  key: 1,
16054
16109
  class: "bg-red-100 border border-red-200 rounded-lg p-4 mx-auto max-w-md mb-6"
16055
- }, xp = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, wp = ["disabled"], kp = {
16110
+ }, kp = { class: "flex flex-col sm:flex-row gap-4 justify-center" }, $p = ["disabled"], Cp = {
16056
16111
  key: 0,
16057
16112
  class: "animate-spin"
16058
- }, $p = { key: 1 }, Cp = ["disabled"], Sp = { key: 0 }, zp = { key: 1 }, Ap = {
16113
+ }, Sp = { key: 1 }, zp = ["disabled"], Ap = { key: 0 }, Vp = { key: 1 }, Mp = {
16059
16114
  key: 0,
16060
16115
  class: "mt-8 max-w-md mx-auto"
16061
- }, Vp = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, Mp = { class: "text-lg font-semibold text-slate-900 mb-4" }, Fp = { class: "space-y-3" }, Bp = { class: "text-sm text-slate-600" }, Tp = ["href"], Pp = {
16116
+ }, Fp = { class: "bg-white rounded-lg border border-slate-200 shadow-sm p-6" }, Bp = { class: "text-lg font-semibold text-slate-900 mb-4" }, Tp = { class: "space-y-3" }, Pp = { class: "text-sm text-slate-600" }, jp = ["href"], Op = {
16062
16117
  key: 5,
16063
16118
  class: "text-xs text-slate-400 font-mono mt-4"
16064
16119
  };
16065
- function jp(e, a, t, n, s, o) {
16120
+ function Dp(e, a, t, n, s, o) {
16066
16121
  return r(), i("div", {
16067
16122
  class: g(n.layoutClasses)
16068
16123
  }, [
@@ -16082,13 +16137,13 @@ function jp(e, a, t, n, s, o) {
16082
16137
  class: g(n.headerClasses)
16083
16138
  }, [
16084
16139
  U(e.$slots, "header", {}, () => [
16085
- l("div", hp, [
16140
+ l("div", pp, [
16086
16141
  U(e.$slots, "logo", {}, () => [
16087
- l("div", bp, [
16142
+ l("div", yp, [
16088
16143
  a[5] || (a[5] = l("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
16089
16144
  l("span", { class: "text-white font-bold text-lg" }, "STL")
16090
16145
  ], -1)),
16091
- l("span", pp, w(t.brandName), 1)
16146
+ l("span", xp, w(t.brandName), 1)
16092
16147
  ])
16093
16148
  ])
16094
16149
  ])
@@ -16134,7 +16189,7 @@ function jp(e, a, t, n, s, o) {
16134
16189
  ])
16135
16190
  ], 2)
16136
16191
  ], 2),
16137
- n.isOnline ? h("", !0) : (r(), i("div", yp, [...a[6] || (a[6] = [
16192
+ n.isOnline ? h("", !0) : (r(), i("div", wp, [...a[6] || (a[6] = [
16138
16193
  l("div", { class: "flex items-center justify-center gap-2 text-red-700" }, [
16139
16194
  l("span", { class: "w-3 h-3 bg-red-500 rounded-full animate-pulse" }),
16140
16195
  l("span", { class: "font-medium" }, "No Internet Connection")
@@ -16145,7 +16200,7 @@ function jp(e, a, t, n, s, o) {
16145
16200
  class: g(n.actionsClasses)
16146
16201
  }, [
16147
16202
  U(e.$slots, "actions", {}, () => [
16148
- l("div", xp, [
16203
+ l("div", kp, [
16149
16204
  t.showHomeButton ? (r(), i("button", {
16150
16205
  key: 0,
16151
16206
  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",
@@ -16168,18 +16223,18 @@ function jp(e, a, t, n, s, o) {
16168
16223
  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",
16169
16224
  onClick: a[2] || (a[2] = (...u) => n.retry && n.retry(...u))
16170
16225
  }, [
16171
- n.isRetrying ? (r(), i("span", kp, "↻")) : (r(), i("span", $p, "🔄")),
16226
+ n.isRetrying ? (r(), i("span", Cp, "↻")) : (r(), i("span", Sp, "🔄")),
16172
16227
  ie(" " + w(n.isRetrying ? "Retrying..." : t.retryButtonText), 1)
16173
- ], 8, wp)) : h("", !0),
16228
+ ], 8, $p)) : h("", !0),
16174
16229
  t.showSupportButton ? (r(), i("button", {
16175
16230
  key: 3,
16176
16231
  disabled: n.reportSent,
16177
16232
  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",
16178
16233
  onClick: a[3] || (a[3] = (u) => e.$emit("contact-support"))
16179
16234
  }, [
16180
- n.reportSent ? (r(), i("span", Sp, "✓")) : (r(), i("span", zp, "📝")),
16235
+ n.reportSent ? (r(), i("span", Ap, "✓")) : (r(), i("span", Vp, "📝")),
16181
16236
  ie(" " + w(n.reportSent ? "Report Sent" : "Contact Support"), 1)
16182
- ], 8, Cp)) : h("", !0)
16237
+ ], 8, zp)) : h("", !0)
16183
16238
  ])
16184
16239
  ])
16185
16240
  ], 2)) : h("", !0),
@@ -16188,10 +16243,10 @@ function jp(e, a, t, n, s, o) {
16188
16243
  class: g(n.additionalInfoClasses)
16189
16244
  }, [
16190
16245
  U(e.$slots, "additional-info", {}, () => [
16191
- n.additionalInfoConfig ? (r(), i("div", Ap, [
16192
- l("div", Vp, [
16193
- l("h3", Mp, w(n.additionalInfoConfig.title), 1),
16194
- l("ul", Fp, [
16246
+ n.additionalInfoConfig ? (r(), i("div", Mp, [
16247
+ l("div", Fp, [
16248
+ l("h3", Bp, w(n.additionalInfoConfig.title), 1),
16249
+ l("ul", Tp, [
16195
16250
  (r(!0), i(te, null, ae(n.additionalInfoConfig.items, (u, d) => (r(), i("li", {
16196
16251
  key: d,
16197
16252
  class: "flex items-start gap-3 text-sm text-slate-600"
@@ -16211,7 +16266,7 @@ function jp(e, a, t, n, s, o) {
16211
16266
  class: g(n.helpClasses)
16212
16267
  }, [
16213
16268
  U(e.$slots, "help", {}, () => [
16214
- l("p", Bp, [
16269
+ l("p", Pp, [
16215
16270
  ie(w(t.helpText) + " ", 1),
16216
16271
  t.supportUrl ? (r(), i("a", {
16217
16272
  key: 0,
@@ -16220,19 +16275,19 @@ function jp(e, a, t, n, s, o) {
16220
16275
  }, [...a[8] || (a[8] = [
16221
16276
  l("span", { class: "inline-block w-4 h-4 mr-1" }, "❓", -1),
16222
16277
  ie(" Get Help ", -1)
16223
- ])], 8, Tp)) : h("", !0)
16278
+ ])], 8, jp)) : h("", !0)
16224
16279
  ])
16225
16280
  ])
16226
16281
  ], 2)) : h("", !0),
16227
- n.isDev ? (r(), i("div", Pp, " Error ID: " + w(n.errorId), 1)) : h("", !0)
16282
+ n.isDev ? (r(), i("div", Op, " Error ID: " + w(n.errorId), 1)) : h("", !0)
16228
16283
  ], 2)
16229
16284
  ], 2)
16230
16285
  ], 2);
16231
16286
  }
16232
- const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-full relative" }, Ip = {
16287
+ const Ip = /* @__PURE__ */ Gt(bp, [["render", Dp]]), Lp = { class: "w-full h-full relative" }, Ep = {
16233
16288
  key: 0,
16234
16289
  class: "w-full h-full flex items-center justify-center"
16235
- }, Lp = ["width", "height", "viewBox"], Ep = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], Np = ["cx", "cy", "r", "fill"], _p = { key: 1 }, Rp = ["x", "y"], Up = ["x", "y"], qp = { key: 2 }, Hp = ["x", "y"], Wp = { key: 3 }, Yp = ["transform"], Gp = ["fill"], Kp = { class: "bg-slate-900 text-white px-4 py-3 rounded-lg shadow-2xl border border-slate-700 min-w-[180px]" }, Xp = { class: "flex items-center gap-2 mb-1.5" }, Qp = { class: "font-semibold text-sm" }, Jp = { class: "flex items-baseline gap-2 ml-5" }, Zp = { class: "text-2xl font-bold" }, ey = { class: "mt-1 ml-5" }, ty = { class: "text-xs text-slate-300" }, kn = {
16290
+ }, Np = ["width", "height", "viewBox"], _p = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onClick"], Rp = ["cx", "cy", "r", "fill"], Up = { key: 1 }, qp = ["x", "y"], Hp = ["x", "y"], Wp = { key: 2 }, Yp = ["x", "y"], Gp = { key: 3 }, Kp = ["transform"], Xp = ["fill"], Qp = { class: "bg-slate-900 text-white px-4 py-3 rounded-lg shadow-2xl border border-slate-700 min-w-[180px]" }, Jp = { class: "flex items-center gap-2 mb-1.5" }, Zp = { class: "font-semibold text-sm" }, ey = { class: "flex items-baseline gap-2 ml-5" }, ty = { class: "text-2xl font-bold" }, ay = { class: "mt-1 ml-5" }, ny = { class: "text-xs text-slate-300" }, kn = {
16236
16291
  __name: "PieChart",
16237
16292
  props: {
16238
16293
  data: {
@@ -16400,7 +16455,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16400
16455
  percentage: A.percentage
16401
16456
  });
16402
16457
  };
16403
- return (A, I) => (r(), i("div", Dp, [
16458
+ return (A, I) => (r(), i("div", Lp, [
16404
16459
  u.value ? (r(), i("svg", {
16405
16460
  key: 1,
16406
16461
  width: e.width,
@@ -16419,7 +16474,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16419
16474
  onMouseenter: (X) => S(X, B, L),
16420
16475
  onMouseleave: k,
16421
16476
  onClick: (X) => $(B, L)
16422
- }, null, 42, Ep))), 128))
16477
+ }, null, 42, _p))), 128))
16423
16478
  ]),
16424
16479
  e.doughnut ? (r(), i("circle", {
16425
16480
  key: 0,
@@ -16427,24 +16482,24 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16427
16482
  cy: c.value,
16428
16483
  r: z.value,
16429
16484
  fill: e.centerFill
16430
- }, null, 8, Np)) : h("", !0),
16431
- e.doughnut && e.showCenterText ? (r(), i("g", _p, [
16485
+ }, null, 8, Rp)) : h("", !0),
16486
+ e.doughnut && e.showCenterText ? (r(), i("g", Up, [
16432
16487
  l("text", {
16433
16488
  x: d.value,
16434
16489
  y: c.value - 5,
16435
16490
  class: g(e.centerTextClasses),
16436
16491
  "text-anchor": "middle",
16437
16492
  "dominant-baseline": "middle"
16438
- }, w(o.value), 11, Rp),
16493
+ }, w(o.value), 11, qp),
16439
16494
  l("text", {
16440
16495
  x: d.value,
16441
16496
  y: c.value + 15,
16442
16497
  class: g(e.centerLabelClasses),
16443
16498
  "text-anchor": "middle",
16444
16499
  "dominant-baseline": "middle"
16445
- }, " Total ", 10, Up)
16500
+ }, " Total ", 10, Hp)
16446
16501
  ])) : h("", !0),
16447
- e.showValues ? (r(), i("g", qp, [
16502
+ e.showValues ? (r(), i("g", Wp, [
16448
16503
  (r(!0), i(te, null, ae(M.value, (B, L) => (r(), i("text", {
16449
16504
  key: `value-${L}`,
16450
16505
  x: B.labelX,
@@ -16452,9 +16507,9 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16452
16507
  class: g(e.valueLabelClasses),
16453
16508
  "text-anchor": "middle",
16454
16509
  "dominant-baseline": "middle"
16455
- }, w(e.showPercentages ? `${B.percentage}%` : B.value), 11, Hp))), 128))
16510
+ }, w(e.showPercentages ? `${B.percentage}%` : B.value), 11, Yp))), 128))
16456
16511
  ])) : h("", !0),
16457
- e.showLegend ? (r(), i("g", Wp, [
16512
+ e.showLegend ? (r(), i("g", Gp, [
16458
16513
  (r(!0), i(te, null, ae(M.value, (B, L) => (r(), i("g", {
16459
16514
  key: `legend-${L}`,
16460
16515
  transform: `translate(${F(L)}, ${V(L)})`
@@ -16464,15 +16519,15 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16464
16519
  height: 12,
16465
16520
  fill: T(L),
16466
16521
  rx: "2"
16467
- }, null, 8, Gp),
16522
+ }, null, 8, Xp),
16468
16523
  l("text", {
16469
16524
  x: 18,
16470
16525
  y: 10,
16471
16526
  class: g(e.legendTextClasses)
16472
16527
  }, w(B.label), 3)
16473
- ], 8, Yp))), 128))
16528
+ ], 8, Kp))), 128))
16474
16529
  ])) : h("", !0)
16475
- ], 8, Lp)) : (r(), i("div", Ip, [...I[0] || (I[0] = [
16530
+ ], 8, Np)) : (r(), i("div", Ep, [...I[0] || (I[0] = [
16476
16531
  Fn('<div class="text-center"><div class="text-slate-300 mb-2"><svg class="w-16 h-16 mx-auto" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"></path></svg></div><p class="text-sm text-slate-500"> No data available </p></div>', 1)
16477
16532
  ])])),
16478
16533
  s.value.visible ? (r(), i("div", {
@@ -16487,42 +16542,42 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16487
16542
  }),
16488
16543
  class: "animate-in fade-in duration-200"
16489
16544
  }, [
16490
- l("div", Kp, [
16491
- l("div", Xp, [
16545
+ l("div", Qp, [
16546
+ l("div", Jp, [
16492
16547
  l("div", {
16493
16548
  style: be({ backgroundColor: s.value.color }),
16494
16549
  class: "w-3 h-3 rounded-full shadow-sm"
16495
16550
  }, null, 4),
16496
- l("p", Qp, w(s.value.label), 1)
16551
+ l("p", Zp, w(s.value.label), 1)
16497
16552
  ]),
16498
- l("div", Jp, [
16499
- l("span", Zp, w(s.value.value), 1),
16553
+ l("div", ey, [
16554
+ l("span", ty, w(s.value.value), 1),
16500
16555
  I[1] || (I[1] = l("span", { class: "text-xs text-slate-400" }, "tasks", -1))
16501
16556
  ]),
16502
- l("div", ey, [
16503
- l("span", ty, w(s.value.percentage) + "% of total", 1)
16557
+ l("div", ay, [
16558
+ l("span", ny, w(s.value.percentage) + "% of total", 1)
16504
16559
  ]),
16505
16560
  I[2] || (I[2] = l("div", { class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 translate-y-1/2 rotate-45 w-2 h-2 bg-slate-900 border-r border-b border-slate-700" }, null, -1))
16506
16561
  ])
16507
16562
  ], 4)) : h("", !0)
16508
16563
  ]));
16509
16564
  }
16510
- }, ay = {
16565
+ }, ry = {
16511
16566
  key: 0,
16512
16567
  class: "flex items-center justify-between px-6 py-4 border-b border-slate-200 bg-gradient-to-r from-slate-50 to-slate-100 flex-shrink-0"
16513
- }, ny = { class: "flex items-center gap-3" }, ry = { class: "font-semibold text-lg text-slate-900" }, sy = { class: "flex items-center gap-2" }, ly = ["disabled"], oy = {
16568
+ }, sy = { class: "flex items-center gap-3" }, ly = { class: "font-semibold text-lg text-slate-900" }, oy = { class: "flex items-center gap-2" }, iy = ["disabled"], uy = {
16514
16569
  key: 1,
16515
16570
  class: "absolute top-16 right-4 z-20 bg-white rounded-lg shadow-xl border border-slate-200 p-4 min-w-[250px]"
16516
- }, iy = { class: "flex items-center justify-between mb-3" }, uy = { class: "space-y-3" }, dy = ["for"], cy = ["id", "onClick"], fy = {
16571
+ }, dy = { class: "flex items-center justify-between mb-3" }, cy = { class: "space-y-3" }, fy = ["for"], my = ["id", "onClick"], gy = {
16517
16572
  key: 2,
16518
16573
  class: "absolute top-16 right-4 z-20 bg-white rounded-lg shadow-xl border border-slate-200 p-4 min-w-[280px]"
16519
- }, my = { class: "flex items-center justify-between mb-3" }, gy = { class: "space-y-2" }, vy = { class: "text-slate-700" }, hy = { class: "px-2 py-1 bg-slate-100 border border-slate-300 rounded text-xs font-mono" }, by = { class: "relative flex-1 overflow-hidden" }, py = {
16574
+ }, vy = { class: "flex items-center justify-between mb-3" }, hy = { class: "space-y-2" }, by = { class: "text-slate-700" }, py = { class: "px-2 py-1 bg-slate-100 border border-slate-300 rounded text-xs font-mono" }, yy = { class: "relative flex-1 overflow-hidden" }, xy = {
16520
16575
  key: 0,
16521
16576
  class: "absolute inset-0 bg-white/90 backdrop-blur-sm z-10 flex items-center justify-center"
16522
- }, yy = { class: "w-full h-full flex items-center justify-center" }, xy = {
16577
+ }, wy = { class: "w-full h-full flex items-center justify-center" }, ky = {
16523
16578
  key: 3,
16524
16579
  class: "border-t border-slate-200 px-6 py-3 bg-slate-50 flex-shrink-0"
16525
- }, wy = {
16580
+ }, $y = {
16526
16581
  __name: "DashboardWidget",
16527
16582
  props: {
16528
16583
  id: { type: String, required: !0 },
@@ -16664,16 +16719,16 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16664
16719
  onFocus: F,
16665
16720
  onBlur: V
16666
16721
  }, [
16667
- e.showHeader ? (r(), i("div", ay, [
16668
- l("div", ny, [
16722
+ e.showHeader ? (r(), i("div", ry, [
16723
+ l("div", sy, [
16669
16724
  e.icon ? (r(), Y(le, {
16670
16725
  key: 0,
16671
16726
  icon: e.icon,
16672
16727
  class: "w-5 h-5 text-slate-700"
16673
16728
  }, null, 8, ["icon"])) : h("", !0),
16674
- l("h3", ry, w(e.title), 1)
16729
+ l("h3", ly, w(e.title), 1)
16675
16730
  ]),
16676
- l("div", sy, [
16731
+ l("div", oy, [
16677
16732
  U(P.$slots, "header-actions"),
16678
16733
  l("button", {
16679
16734
  class: "p-2 rounded-lg hover:bg-white/80 transition-all duration-200 hover:scale-105 active:scale-95",
@@ -16710,11 +16765,11 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16710
16765
  { "animate-spin": e.loading }
16711
16766
  ])
16712
16767
  }, null, 8, ["class"])
16713
- ], 8, ly)) : h("", !0)
16768
+ ], 8, iy)) : h("", !0)
16714
16769
  ])
16715
16770
  ])) : h("", !0),
16716
- d.value ? (r(), i("div", oy, [
16717
- l("div", iy, [
16771
+ d.value ? (r(), i("div", uy, [
16772
+ l("div", dy, [
16718
16773
  f[4] || (f[4] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Customize Widget ", -1)),
16719
16774
  l("button", {
16720
16775
  class: "p-1 rounded hover:bg-slate-100",
@@ -16726,7 +16781,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16726
16781
  })
16727
16782
  ])
16728
16783
  ]),
16729
- l("div", uy, [
16784
+ l("div", cy, [
16730
16785
  (r(!0), i(te, null, ae(e.customizationOptions, (C) => (r(), i("div", {
16731
16786
  key: C.id,
16732
16787
  class: "flex items-center justify-between"
@@ -16734,7 +16789,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16734
16789
  l("label", {
16735
16790
  for: `setting-${C.id}`,
16736
16791
  class: "text-sm text-slate-700 cursor-pointer"
16737
- }, w(C.label), 9, dy),
16792
+ }, w(C.label), 9, fy),
16738
16793
  l("button", {
16739
16794
  id: `setting-${C.id}`,
16740
16795
  class: g([
@@ -16749,12 +16804,12 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16749
16804
  c.value[C.id] ? "translate-x-6" : "translate-x-1"
16750
16805
  ])
16751
16806
  }, null, 2)
16752
- ], 10, cy)
16807
+ ], 10, my)
16753
16808
  ]))), 128))
16754
16809
  ])
16755
16810
  ])) : h("", !0),
16756
- S.value ? (r(), i("div", fy, [
16757
- l("div", my, [
16811
+ S.value ? (r(), i("div", gy, [
16812
+ l("div", vy, [
16758
16813
  f[5] || (f[5] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Keyboard Shortcuts ", -1)),
16759
16814
  l("button", {
16760
16815
  class: "p-1 rounded hover:bg-slate-100",
@@ -16766,18 +16821,18 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16766
16821
  })
16767
16822
  ])
16768
16823
  ]),
16769
- l("div", gy, [
16824
+ l("div", hy, [
16770
16825
  (r(), i(te, null, ae(k, (C) => l("div", {
16771
16826
  key: C.key,
16772
16827
  class: "flex items-center justify-between text-sm"
16773
16828
  }, [
16774
- l("span", vy, w(C.description), 1),
16775
- l("kbd", hy, w(C.key), 1)
16829
+ l("span", by, w(C.description), 1),
16830
+ l("kbd", py, w(C.key), 1)
16776
16831
  ])), 64))
16777
16832
  ])
16778
16833
  ])) : h("", !0),
16779
- l("div", by, [
16780
- e.loading ? (r(), i("div", py, [
16834
+ l("div", yy, [
16835
+ e.loading ? (r(), i("div", xy, [
16781
16836
  j(kt, {
16782
16837
  type: "spin",
16783
16838
  size: "medium",
@@ -16788,7 +16843,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16788
16843
  key: 1,
16789
16844
  class: g(["w-full h-full flex items-center justify-center p-4", u[e.padding]])
16790
16845
  }, [
16791
- l("div", yy, [
16846
+ l("div", wy, [
16792
16847
  (r(), Y(Pe(de.value), St(X.value, { doughnut: Z.value }), null, 16, ["doughnut"]))
16793
16848
  ])
16794
16849
  ], 2)) : (r(), i("div", {
@@ -16798,7 +16853,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16798
16853
  U(P.$slots, "default")
16799
16854
  ], 2))
16800
16855
  ]),
16801
- P.$slots.footer ? (r(), i("div", xy, [
16856
+ P.$slots.footer ? (r(), i("div", ky, [
16802
16857
  U(P.$slots, "footer")
16803
16858
  ])) : h("", !0)
16804
16859
  ], 38)) : h("", !0);
@@ -16914,19 +16969,19 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
16914
16969
  unmounted(e) {
16915
16970
  e._tooltipEl && e._tooltipEl.parentNode && document.body.removeChild(e._tooltipEl), e._tooltipShowFn && e.removeEventListener("mouseenter", e._tooltipShowFn), e._tooltipHideFn && (e.removeEventListener("mouseleave", e._tooltipHideFn), e.removeEventListener("click", e._tooltipHideFn)), e._tooltipRepositionFn && (window.removeEventListener("scroll", e._tooltipRepositionFn, !0), window.removeEventListener("resize", e._tooltipRepositionFn));
16916
16971
  }
16917
- }, ky = { class: "flex items-center justify-between mb-4" }, $y = { class: "text-lg font-semibold text-gray-900" }, Cy = { class: "grid grid-cols-7 mb-2" }, Sy = { class: "grid grid-cols-7 gap-1" }, zy = ["onClick"], Ay = {
16972
+ }, Cy = { class: "flex items-center justify-between mb-4" }, Sy = { class: "text-lg font-semibold text-gray-900" }, zy = { class: "grid grid-cols-7 mb-2" }, Ay = { class: "grid grid-cols-7 gap-1" }, Vy = ["onClick"], My = {
16918
16973
  key: 0,
16919
16974
  class: "flex gap-0.5 mt-1 justify-center flex-wrap max-w-full px-1"
16920
- }, Vy = ["title"], My = ["title"], Fy = {
16975
+ }, Fy = ["title"], By = ["title"], Ty = {
16921
16976
  key: 0,
16922
16977
  class: "mt-4 border-t pt-4"
16923
- }, By = { class: "text-sm font-semibold text-gray-700 mb-2" }, Ty = { class: "space-y-2" }, Py = ["onClick"], jy = { class: "flex items-center gap-2" }, Oy = { class: "font-medium" }, Dy = {
16978
+ }, Py = { class: "text-sm font-semibold text-gray-700 mb-2" }, jy = { class: "space-y-2" }, Oy = ["onClick"], Dy = { class: "flex items-center gap-2" }, Iy = { class: "font-medium" }, Ly = {
16924
16979
  key: 0,
16925
16980
  class: "text-xs text-gray-500 mt-1 ml-5"
16926
- }, Iy = {
16981
+ }, Ey = {
16927
16982
  key: 1,
16928
16983
  class: "mt-4 pt-4 border-t flex items-center justify-center gap-6"
16929
- }, Ly = {
16984
+ }, Ny = {
16930
16985
  __name: "EventsCalendar",
16931
16986
  props: {
16932
16987
  events: {
@@ -17152,7 +17207,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17152
17207
  return (X, de) => (r(), i("div", {
17153
17208
  class: g(q(s)({ size: e.size }))
17154
17209
  }, [
17155
- l("div", ky, [
17210
+ l("div", Cy, [
17156
17211
  l("button", {
17157
17212
  class: g(q(o)({ variant: "ghost" })),
17158
17213
  onClick: A
@@ -17162,7 +17217,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17162
17217
  class: "w-5 h-5"
17163
17218
  })
17164
17219
  ], 2),
17165
- l("h2", $y, w(D.value), 1),
17220
+ l("h2", Sy, w(D.value), 1),
17166
17221
  l("button", {
17167
17222
  class: g(q(o)({ variant: "ghost" })),
17168
17223
  onClick: I
@@ -17173,13 +17228,13 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17173
17228
  })
17174
17229
  ], 2)
17175
17230
  ]),
17176
- l("div", Cy, [
17231
+ l("div", zy, [
17177
17232
  (r(), i(te, null, ae(M, (Z) => l("div", {
17178
17233
  key: Z,
17179
17234
  class: "text-center text-sm font-medium text-gray-500 py-2"
17180
17235
  }, w(Z), 1)), 64))
17181
17236
  ]),
17182
- l("div", Sy, [
17237
+ l("div", Ay, [
17183
17238
  (r(!0), i(te, null, ae(T.value, (Z, P) => (r(), i("div", {
17184
17239
  key: P,
17185
17240
  class: g(q(u)({
@@ -17197,17 +17252,17 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17197
17252
  e.size === "full" || e.size === "xl" ? "text-base" : ""
17198
17253
  ])
17199
17254
  }, w(Z.dayNumber), 3),
17200
- Z.events.length > 0 ? (r(), i("div", Ay, [
17255
+ Z.events.length > 0 ? (r(), i("div", My, [
17201
17256
  (r(!0), i(te, null, ae(Z.events.slice(0, 3), (f, C) => (r(), i("span", {
17202
17257
  key: C,
17203
17258
  class: g(q(d)({ color: f.color, size: S.value })),
17204
17259
  title: f.title
17205
- }, null, 10, Vy))), 128)),
17260
+ }, null, 10, Fy))), 128)),
17206
17261
  Z.events.length > 3 ? (r(), i("span", {
17207
17262
  key: 0,
17208
17263
  class: "text-xs text-gray-400 font-medium",
17209
17264
  title: `${Z.events.length} total events`
17210
- }, " +" + w(Z.events.length - 3), 9, My)) : h("", !0)
17265
+ }, " +" + w(Z.events.length - 3), 9, By)) : h("", !0)
17211
17266
  ])) : h("", !0),
17212
17267
  Z.events.length > 0 && (e.size === "full" || e.size === "xl") ? (r(), i("div", {
17213
17268
  key: 1,
@@ -17215,27 +17270,27 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17215
17270
  Z.events[0].color === "green" ? "bg-green-100 text-green-700" : Z.events[0].color === "orange" ? "bg-orange-100 text-orange-700" : "bg-gray-100 text-gray-700"
17216
17271
  ]])
17217
17272
  }, w(Z.events.length) + " " + w(Z.events.length === 1 ? "event" : "events"), 3)) : h("", !0)
17218
- ], 10, zy))), 128))
17273
+ ], 10, Vy))), 128))
17219
17274
  ]),
17220
- F.value.length > 0 ? (r(), i("div", Fy, [
17221
- l("h3", By, " Events for " + w(V.value), 1),
17222
- l("div", Ty, [
17275
+ F.value.length > 0 ? (r(), i("div", Ty, [
17276
+ l("h3", Py, " Events for " + w(V.value), 1),
17277
+ l("div", jy, [
17223
17278
  (r(!0), i(te, null, ae(F.value, (Z) => (r(), i("div", {
17224
17279
  key: Z.id,
17225
17280
  class: g(q(c)({ color: Z.color })),
17226
17281
  onClick: (P) => L(Z)
17227
17282
  }, [
17228
- l("div", jy, [
17283
+ l("div", Dy, [
17229
17284
  l("span", {
17230
17285
  class: g(q(d)({ color: Z.color, size: "lg" }))
17231
17286
  }, null, 2),
17232
- l("span", Oy, w(Z.title), 1)
17287
+ l("span", Iy, w(Z.title), 1)
17233
17288
  ]),
17234
- Z.time ? (r(), i("p", Dy, w(Z.time), 1)) : h("", !0)
17235
- ], 10, Py))), 128))
17289
+ Z.time ? (r(), i("p", Ly, w(Z.time), 1)) : h("", !0)
17290
+ ], 10, Oy))), 128))
17236
17291
  ])
17237
17292
  ])) : h("", !0),
17238
- e.size === "full" || e.size === "xl" ? (r(), i("div", Iy, [...de[0] || (de[0] = [
17293
+ e.size === "full" || e.size === "xl" ? (r(), i("div", Ey, [...de[0] || (de[0] = [
17239
17294
  Fn('<div class="flex items-center gap-2"><span class="w-3 h-3 rounded-full bg-green-500"></span><span class="text-xs text-gray-600 font-medium">Complied</span></div><div class="flex items-center gap-2"><span class="w-3 h-3 rounded-full bg-orange-500"></span><span class="text-xs text-gray-600 font-medium">Pending</span></div>', 2)
17240
17295
  ])])) : h("", !0)
17241
17296
  ], 2));
@@ -17301,7 +17356,7 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17301
17356
  AccordionItem: Jc,
17302
17357
  Graph: vf,
17303
17358
  Calendar: uf,
17304
- EventsCalendar: Ly,
17359
+ EventsCalendar: Ny,
17305
17360
  DataTable: l0,
17306
17361
  DataTableHeader: Er,
17307
17362
  DataTableRow: o0,
@@ -17310,17 +17365,17 @@ const Op = /* @__PURE__ */ Gt(vp, [["render", jp]]), Dp = { class: "w-full h-ful
17310
17365
  DataTableFilters: eg,
17311
17366
  DataTableToolBar: hg,
17312
17367
  Footer: Cg,
17313
- Header: Tv,
17314
- ReusableFormModal: sh,
17315
- ReusableForm: Xh,
17316
- Sidebar: Sb,
17317
- Timeline: zb,
17318
- TimelineItem: Tb,
17319
- AuthLayout: ip,
17320
- DefaultLayout: gp,
17321
- ErrorLayout: Op,
17322
- DashboardWidget: wy
17323
- }, Ry = {
17368
+ Header: jv,
17369
+ ReusableFormModal: oh,
17370
+ ReusableForm: Jh,
17371
+ Sidebar: Ab,
17372
+ Timeline: Vb,
17373
+ TimelineItem: jb,
17374
+ AuthLayout: dp,
17375
+ DefaultLayout: hp,
17376
+ ErrorLayout: Ip,
17377
+ DashboardWidget: $y
17378
+ }, qy = {
17324
17379
  install(e, a = {}) {
17325
17380
  const { prefix: t = "" } = a;
17326
17381
  Object.keys(Cn).forEach((n) => {
@@ -17333,7 +17388,7 @@ export {
17333
17388
  Qc as Accordion,
17334
17389
  Jc as AccordionItem,
17335
17390
  $u as Alert,
17336
- ip as AuthLayout,
17391
+ dp as AuthLayout,
17337
17392
  bi as Avatar,
17338
17393
  Tr as Badge,
17339
17394
  Ir as BarChart,
@@ -17349,7 +17404,7 @@ export {
17349
17404
  Yu as CardTitle,
17350
17405
  Nt as Checkbox,
17351
17406
  jr as CircularProgress,
17352
- wy as DashboardWidget,
17407
+ $y as DashboardWidget,
17353
17408
  l0 as DataTable,
17354
17409
  i0 as DataTableCell,
17355
17410
  eg as DataTableFilters,
@@ -17358,18 +17413,18 @@ export {
17358
17413
  o0 as DataTableRow,
17359
17414
  hg as DataTableToolBar,
17360
17415
  Yt as DatePicker,
17361
- gp as DefaultLayout,
17416
+ hp as DefaultLayout,
17362
17417
  Ai as Divider,
17363
17418
  rd as Dropdown,
17364
17419
  ld as DropdownItem,
17365
- Op as ErrorLayout,
17366
- Ly as EventsCalendar,
17420
+ Ip as ErrorLayout,
17421
+ Ny as EventsCalendar,
17367
17422
  _t as FileUpload,
17368
17423
  Cg as Footer,
17369
17424
  Na as FormField,
17370
17425
  vf as Graph,
17371
17426
  cm as GraphFilters,
17372
- Tv as Header,
17427
+ jv as Header,
17373
17428
  le as Icon,
17374
17429
  Bi as Image,
17375
17430
  Ae as Input,
@@ -17390,11 +17445,11 @@ export {
17390
17445
  Ui as Progress,
17391
17446
  Hi as ProgressBar,
17392
17447
  Ji as Radio,
17393
- Xh as ReusableForm,
17394
- sh as ReusableFormModal,
17448
+ Jh as ReusableForm,
17449
+ oh as ReusableFormModal,
17395
17450
  Ac as Search,
17396
17451
  He as Select,
17397
- Sb as Sidebar,
17452
+ Ab as Sidebar,
17398
17453
  Ra as Slider,
17399
17454
  La as Spinner,
17400
17455
  Tc as Stepper,
@@ -17404,13 +17459,13 @@ export {
17404
17459
  Hc as TabPanel,
17405
17460
  gu as Text,
17406
17461
  Ea as Textarea,
17407
- zb as Timeline,
17408
- Tb as TimelineItem,
17462
+ Vb as Timeline,
17463
+ jb as TimelineItem,
17409
17464
  fc as Toast,
17410
17465
  Or as Tooltip,
17411
17466
  ka as Typography,
17412
17467
  O as cn,
17413
- Ry as default,
17468
+ qy as default,
17414
17469
  Ve as toast,
17415
17470
  $n as tooltip,
17416
17471
  rc as useToaster