@cocoar/vue-ui 1.15.0 → 1.17.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -842,7 +842,7 @@ var Z = /* @__PURE__ */ X(/* @__PURE__ */ d({
842
842
  }, null, 8, ["name"])])) : a("", !0)
843
843
  ], 10, Ge));
844
844
  }
845
- }), [["__scopeId", "data-v-213e5e5c"]]);
845
+ }), [["__scopeId", "data-v-805cd707"]]);
846
846
  //#endregion
847
847
  //#region src/components/icon/icon-plugin.ts
848
848
  function et(e) {
@@ -5497,7 +5497,7 @@ var Ls = ["id", "aria-label"], Rs = {
5497
5497
  class: y(["coar-select-arrow", { "coar-select-arrow--open": L(x) }])
5498
5498
  }, null, 8, ["class"])])], 42, Ws)])], 2));
5499
5499
  }
5500
- }), [["__scopeId", "data-v-07e49eb8"]]), Ys = ["id"], Xs = { class: "coar-tooltip-text" }, Zs = /* @__PURE__ */ X(/* @__PURE__ */ d({
5500
+ }), [["__scopeId", "data-v-e3362523"]]), Ys = ["id"], Xs = { class: "coar-tooltip-text" }, Zs = /* @__PURE__ */ X(/* @__PURE__ */ d({
5501
5501
  __name: "CoarTooltipPanel",
5502
5502
  props: {
5503
5503
  content: {},
@@ -7847,7 +7847,7 @@ var zl = ["role"], Bl = { class: "coar-popover-content" }, Vl = /* @__PURE__ */
7847
7847
  onClick: k
7848
7848
  }, [A(t.$slots, "default", {}, void 0, !0)], 8, Hl)], 32));
7849
7849
  }
7850
- }), [["__scopeId", "data-v-1cd63b12"]]), Gl = ["aria-label", "aria-labelledby"], Kl = {
7850
+ }), [["__scopeId", "data-v-6355d814"]]), Gl = ["aria-label", "aria-labelledby"], Kl = {
7851
7851
  key: 0,
7852
7852
  class: "coar-dialog-header"
7853
7853
  }, ql = ["aria-label"], Jl = { class: "coar-dialog-body" }, Yl = { key: 0 }, Xl = {
@@ -8667,7 +8667,7 @@ var Du = /* @__PURE__ */ X(wu, [["render", Eu], ["__scopeId", "data-v-a0d5d1e3"]
8667
8667
  })
8668
8668
  ], 42, Ru)]));
8669
8669
  }
8670
- }), [["__scopeId", "data-v-c4b9da7c"]]), Hu = /* @__PURE__ */ d({
8670
+ }), [["__scopeId", "data-v-3235d400"]]), Hu = /* @__PURE__ */ d({
8671
8671
  __name: "CoarContextMenuPanel",
8672
8672
  props: {
8673
8673
  renderContent: {
@@ -8883,7 +8883,73 @@ var Gu = /* @__PURE__ */ d({
8883
8883
  hidden: h.value !== e.id
8884
8884
  }, [_(e) ? (w(), i(j(() => e.contentSlot), { key: 0 })) : a("", !0)], 10, Qu))), 128))])]));
8885
8885
  }
8886
- }), [["__scopeId", "data-v-b93fdeed"]]), ed = ["aria-label"], td = { class: "coar-breadcrumb-list" }, nd = /* @__PURE__ */ X(/* @__PURE__ */ d({
8886
+ }), [["__scopeId", "data-v-b93fdeed"]]), ed = ["aria-label", "aria-disabled"], td = [
8887
+ "disabled",
8888
+ "aria-pressed",
8889
+ "aria-label",
8890
+ "onClick"
8891
+ ], nd = {
8892
+ key: 1,
8893
+ class: "coar-segmented-control__label"
8894
+ }, rd = /* @__PURE__ */ X(/* @__PURE__ */ d({
8895
+ __name: "CoarSegmentedControl",
8896
+ props: /* @__PURE__ */ g({
8897
+ options: {},
8898
+ size: { default: "s" },
8899
+ disabled: {
8900
+ type: Boolean,
8901
+ default: !1
8902
+ },
8903
+ fullWidth: {
8904
+ type: Boolean,
8905
+ default: !1
8906
+ },
8907
+ ariaLabel: { default: void 0 }
8908
+ }, {
8909
+ modelValue: { required: !0 },
8910
+ modelModifiers: {}
8911
+ }),
8912
+ emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
8913
+ setup(t, { emit: n }) {
8914
+ let s = t, c = z(t, "modelValue"), l = n;
8915
+ function u(e) {
8916
+ return c.value === e.value;
8917
+ }
8918
+ function d(e) {
8919
+ s.disabled || e.disabled || c.value !== e.value && (c.value = e.value, l("change", e.value, e));
8920
+ }
8921
+ let f = r(() => [
8922
+ "coar-segmented-control",
8923
+ `coar-segmented-control--${s.size}`,
8924
+ {
8925
+ "coar-segmented-control--full-width": s.fullWidth,
8926
+ "coar-segmented-control--disabled": s.disabled
8927
+ }
8928
+ ]);
8929
+ return (n, r) => (w(), o("div", {
8930
+ class: y(f.value),
8931
+ role: "group",
8932
+ "aria-label": t.ariaLabel,
8933
+ "aria-disabled": t.disabled ? "true" : void 0
8934
+ }, [(w(!0), o(e, null, k(t.options, (e) => (w(), o("button", {
8935
+ key: String(e.value),
8936
+ type: "button",
8937
+ class: y(["coar-segmented-control__segment", {
8938
+ "coar-segmented-control__segment--active": u(e),
8939
+ "coar-segmented-control__segment--disabled": e.disabled
8940
+ }]),
8941
+ disabled: t.disabled || e.disabled,
8942
+ "aria-pressed": u(e),
8943
+ "aria-label": e.ariaLabel ?? (e.icon && !e.label ? e.label : void 0),
8944
+ onClick: (t) => d(e)
8945
+ }, [e.icon ? (w(), i(Z, {
8946
+ key: 0,
8947
+ name: e.icon,
8948
+ size: "auto",
8949
+ class: "coar-segmented-control__icon"
8950
+ }, null, 8, ["name"])) : a("", !0), e.label ? (w(), o("span", nd, P(e.label), 1)) : a("", !0)], 10, td))), 128))], 10, ed));
8951
+ }
8952
+ }), [["__scopeId", "data-v-72983826"]]), id = ["aria-label"], ad = { class: "coar-breadcrumb-list" }, od = /* @__PURE__ */ X(/* @__PURE__ */ d({
8887
8953
  __name: "CoarBreadcrumb",
8888
8954
  props: {
8889
8955
  separator: { default: "/" },
@@ -8895,23 +8961,23 @@ var Gu = /* @__PURE__ */ d({
8895
8961
  class: "coar-breadcrumb",
8896
8962
  "aria-label": e.ariaLabel,
8897
8963
  style: x({ "--coar-breadcrumb-separator": n.value })
8898
- }, [s("ol", td, [A(t.$slots, "default", {}, void 0, !0)])], 12, ed));
8964
+ }, [s("ol", ad, [A(t.$slots, "default", {}, void 0, !0)])], 12, id));
8899
8965
  }
8900
- }), [["__scopeId", "data-v-e7a867c8"]]), rd = ["aria-current"], id = /* @__PURE__ */ X(/* @__PURE__ */ d({
8966
+ }), [["__scopeId", "data-v-e7a867c8"]]), sd = ["aria-current"], cd = /* @__PURE__ */ X(/* @__PURE__ */ d({
8901
8967
  __name: "CoarBreadcrumbItem",
8902
8968
  props: { active: { type: Boolean } },
8903
8969
  setup(e) {
8904
8970
  return (t, n) => (w(), o("li", {
8905
8971
  class: y(["coar-breadcrumb-item", { "coar-breadcrumb-item--active": e.active }]),
8906
8972
  "aria-current": e.active ? "page" : void 0
8907
- }, [A(t.$slots, "default", {}, void 0, !0)], 10, rd));
8973
+ }, [A(t.$slots, "default", {}, void 0, !0)], 10, sd));
8908
8974
  }
8909
- }), [["__scopeId", "data-v-35575ef1"]]), ad = ["aria-label"], od = { class: "coar-pagination-nav" }, sd = ["disabled", "aria-label"], cd = ["disabled", "aria-label"], ld = ["aria-label"], ud = [
8975
+ }), [["__scopeId", "data-v-35575ef1"]]), ld = ["aria-label"], ud = { class: "coar-pagination-nav" }, dd = ["disabled", "aria-label"], fd = ["disabled", "aria-label"], pd = ["aria-label"], md = [
8910
8976
  "disabled",
8911
8977
  "aria-current",
8912
8978
  "aria-label",
8913
8979
  "onClick"
8914
- ], dd = ["disabled", "aria-label"], fd = ["disabled", "aria-label"], pd = /* @__PURE__ */ X(/* @__PURE__ */ d({
8980
+ ], hd = ["disabled", "aria-label"], gd = ["disabled", "aria-label"], _d = /* @__PURE__ */ X(/* @__PURE__ */ d({
8915
8981
  __name: "CoarPagination",
8916
8982
  props: /* @__PURE__ */ g({
8917
8983
  totalItems: {},
@@ -8960,7 +9026,7 @@ var Gu = /* @__PURE__ */ d({
8960
9026
  return (n, r) => (w(), o("nav", {
8961
9027
  class: y(["coar-pagination", { "coar-pagination--disabled": t.disabled }]),
8962
9028
  "aria-label": L(c)("coar.ui.pagination.nav", void 0, "Pagination")
8963
- }, [s("div", od, [
9029
+ }, [s("div", ud, [
8964
9030
  t.showFirstLast ? (w(), o("button", {
8965
9031
  key: 0,
8966
9032
  type: "button",
@@ -8971,7 +9037,7 @@ var Gu = /* @__PURE__ */ d({
8971
9037
  }, [u(Z, {
8972
9038
  name: "chevrons-left",
8973
9039
  size: "s"
8974
- })], 8, sd)) : a("", !0),
9040
+ })], 8, dd)) : a("", !0),
8975
9041
  s("button", {
8976
9042
  type: "button",
8977
9043
  class: "coar-pagination-button coar-pagination-button--nav",
@@ -8981,13 +9047,13 @@ var Gu = /* @__PURE__ */ d({
8981
9047
  }, [u(Z, {
8982
9048
  name: "chevron-left",
8983
9049
  size: "s"
8984
- })], 8, cd),
9050
+ })], 8, fd),
8985
9051
  (w(!0), o(e, null, k(h.value, (n, r) => (w(), o(e, { key: _(r, n) }, [n.type === "ellipsis" ? (w(), o("span", {
8986
9052
  key: 0,
8987
9053
  class: "coar-pagination-ellipsis",
8988
9054
  role: "separator",
8989
9055
  "aria-label": L(c)("coar.ui.pagination.morePage", void 0, "More pages")
8990
- }, "...", 8, ld)) : (w(), o("button", {
9056
+ }, "...", 8, pd)) : (w(), o("button", {
8991
9057
  key: 1,
8992
9058
  type: "button",
8993
9059
  class: y(["coar-pagination-button coar-pagination-button--page", { "coar-pagination-button--active": n.page === l.value }]),
@@ -8995,7 +9061,7 @@ var Gu = /* @__PURE__ */ d({
8995
9061
  "aria-current": n.page === l.value ? "page" : void 0,
8996
9062
  "aria-label": L(c)("coar.ui.pagination.goToPage", { page: n.page }, "Go to page " + n.page),
8997
9063
  onClick: (e) => g(n.page)
8998
- }, P(n.page), 11, ud))], 64))), 128)),
9064
+ }, P(n.page), 11, md))], 64))), 128)),
8999
9065
  s("button", {
9000
9066
  type: "button",
9001
9067
  class: "coar-pagination-button coar-pagination-button--nav",
@@ -9005,7 +9071,7 @@ var Gu = /* @__PURE__ */ d({
9005
9071
  }, [u(Z, {
9006
9072
  name: "chevron-right",
9007
9073
  size: "s"
9008
- })], 8, dd),
9074
+ })], 8, hd),
9009
9075
  t.showFirstLast ? (w(), o("button", {
9010
9076
  key: 1,
9011
9077
  type: "button",
@@ -9016,22 +9082,22 @@ var Gu = /* @__PURE__ */ d({
9016
9082
  }, [u(Z, {
9017
9083
  name: "chevrons-right",
9018
9084
  size: "s"
9019
- })], 8, fd)) : a("", !0)
9020
- ])], 10, ad));
9085
+ })], 8, gd)) : a("", !0)
9086
+ ])], 10, ld));
9021
9087
  }
9022
9088
  }), [["__scopeId", "data-v-9e40bd44"]]);
9023
9089
  //#endregion
9024
9090
  //#region src/components/sidebar/sidebar-context.ts
9025
- function md(e) {
9091
+ function vd(e) {
9026
9092
  return e === "top" || e === "bottom" ? "horizontal" : "vertical";
9027
9093
  }
9028
- var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Symbol("sidebar-side"), vd = Symbol("sidebar-flyout-icon-only"), yd = Symbol("sidebar-flyout-parent"), bd = ["aria-label"], xd = {
9094
+ var yd = Symbol("sidebar-collapsed"), bd = Symbol("sidebar-icon-size"), xd = Symbol("sidebar-side"), Sd = Symbol("sidebar-flyout-icon-only"), Cd = Symbol("sidebar-flyout-parent"), wd = ["aria-label"], Td = {
9029
9095
  key: 0,
9030
9096
  class: "coar-sidebar__header"
9031
- }, Sd = { class: "coar-sidebar__content" }, Cd = {
9097
+ }, Ed = { class: "coar-sidebar__content" }, Dd = {
9032
9098
  key: 1,
9033
9099
  class: "coar-sidebar__footer"
9034
- }, wd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9100
+ }, Od = /* @__PURE__ */ X(/* @__PURE__ */ d({
9035
9101
  __name: "CoarSidebar",
9036
9102
  props: {
9037
9103
  side: { default: void 0 },
@@ -9054,8 +9120,8 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9054
9120
  },
9055
9121
  emits: ["update:collapsed"],
9056
9122
  setup(e) {
9057
- let t = e, n = r(() => t.side ?? t.position ?? "left"), i = r(() => md(n.value)), s = F(t, "collapsed"), c = F(t, "size");
9058
- T(hd, s), T(gd, c), T(_d, n);
9123
+ let t = e, n = r(() => t.side ?? t.position ?? "left"), i = r(() => vd(n.value)), s = F(t, "collapsed"), c = F(t, "size");
9124
+ T(yd, s), T(bd, c), T(xd, n);
9059
9125
  let l = r(() => ({
9060
9126
  "coar-sidebar": !0,
9061
9127
  [`coar-sidebar--${t.variant}`]: !0,
@@ -9079,19 +9145,19 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9079
9145
  "aria-label": e.ariaLabel || "Sidebar",
9080
9146
  class: y(l.value)
9081
9147
  }, [
9082
- n.$slots.header ? (w(), o("div", xd, [A(n.$slots, "header", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0),
9083
- K((w(), o("div", Sd, [A(n.$slots, "default", { collapsed: t.collapsed }, void 0, !0)])), [[L(Fs), u.value]]),
9084
- n.$slots.footer ? (w(), o("div", Cd, [A(n.$slots, "footer", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0)
9085
- ], 10, bd));
9148
+ n.$slots.header ? (w(), o("div", Td, [A(n.$slots, "header", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0),
9149
+ K((w(), o("div", Ed, [A(n.$slots, "default", { collapsed: t.collapsed }, void 0, !0)])), [[L(Fs), u.value]]),
9150
+ n.$slots.footer ? (w(), o("div", Dd, [A(n.$slots, "footer", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0)
9151
+ ], 10, wd));
9086
9152
  }
9087
- }), [["__scopeId", "data-v-656c121e"]]), Td = [
9153
+ }), [["__scopeId", "data-v-656c121e"]]), kd = [
9088
9154
  "aria-disabled",
9089
9155
  "aria-current",
9090
9156
  "tabindex"
9091
- ], Ed = {
9157
+ ], Ad = {
9092
9158
  class: "coar-sidebar-item__icon",
9093
9159
  "aria-hidden": "true"
9094
- }, Dd = { class: "coar-sidebar-item__label" }, Od = /* @__PURE__ */ X(/* @__PURE__ */ d({
9160
+ }, jd = { class: "coar-sidebar-item__label" }, Md = /* @__PURE__ */ X(/* @__PURE__ */ d({
9095
9161
  __name: "CoarSidebarItem",
9096
9162
  props: {
9097
9163
  label: {},
@@ -9107,7 +9173,7 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9107
9173
  },
9108
9174
  emits: ["click"],
9109
9175
  setup(e, { emit: t }) {
9110
- let n = e, i = t, a = m(hd, O(!1)), c = m(gd, O("m")), l = m(_d, O("left")), d = m(vd, O(!1)), f = r(() => {
9176
+ let n = e, i = t, a = m(yd, O(!1)), c = m(bd, O("m")), l = m(xd, O("left")), d = m(Sd, O(!1)), f = r(() => {
9111
9177
  switch (l.value) {
9112
9178
  case "right": return "left";
9113
9179
  case "top": return "bottom";
@@ -9122,7 +9188,7 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9122
9188
  content: n.label,
9123
9189
  placement: f.value,
9124
9190
  openDelay: 200
9125
- } : !1), h = r(() => md(l.value));
9191
+ } : !1), h = r(() => vd(l.value));
9126
9192
  function g(e) {
9127
9193
  if (n.disabled) {
9128
9194
  e.preventDefault();
@@ -9149,12 +9215,12 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9149
9215
  tabindex: n.disabled ? -1 : 0,
9150
9216
  onClick: g,
9151
9217
  onKeydown: _
9152
- }, [s("span", Ed, [u(Z, {
9218
+ }, [s("span", Ad, [u(Z, {
9153
9219
  name: n.icon || "square-dashed",
9154
9220
  size: L(c)
9155
- }, null, 8, ["name", "size"])]), s("span", Dd, P(n.label), 1)], 42, Td)), [[L(uc), p.value]]);
9221
+ }, null, 8, ["name", "size"])]), s("span", jd, P(n.label), 1)], 42, kd)), [[L(uc), p.value]]);
9156
9222
  }
9157
- }), [["__scopeId", "data-v-33cbb961"]]), kd = /* @__PURE__ */ d({
9223
+ }), [["__scopeId", "data-v-33cbb961"]]), Nd = /* @__PURE__ */ d({
9158
9224
  __name: "SidebarFlyoutProvider",
9159
9225
  props: {
9160
9226
  iconOnly: { type: Boolean },
@@ -9162,12 +9228,12 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9162
9228
  },
9163
9229
  setup(e) {
9164
9230
  let t = e;
9165
- return T(vd, F(t, "iconOnly")), T(yd, t.parentControl), (e, t) => A(e.$slots, "default");
9231
+ return T(Sd, F(t, "iconOnly")), T(Cd, t.parentControl), (e, t) => A(e.$slots, "default");
9166
9232
  }
9167
- }), Ad = ["id"], jd = {
9233
+ }), Pd = ["id"], Fd = {
9168
9234
  key: 0,
9169
9235
  class: "coar-sidebar-flyout__header"
9170
- }, Md = { class: "coar-sidebar-flyout__items" }, Nd = /* @__PURE__ */ d({
9236
+ }, Id = { class: "coar-sidebar-flyout__items" }, Ld = /* @__PURE__ */ d({
9171
9237
  __name: "CoarSidebarFlyoutPanel",
9172
9238
  props: {
9173
9239
  id: {
@@ -9193,7 +9259,7 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9193
9259
  },
9194
9260
  emits: ["flyoutEnter", "flyoutLeave"],
9195
9261
  setup(e) {
9196
- return (t, n) => (w(), i(kd, {
9262
+ return (t, n) => (w(), i(Nd, {
9197
9263
  "icon-only": e.iconOnly,
9198
9264
  "parent-control": e.parentControl
9199
9265
  }, {
@@ -9203,19 +9269,19 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9203
9269
  role: "menu",
9204
9270
  onMouseenter: n[0] ||= (e) => t.$emit("flyoutEnter"),
9205
9271
  onMouseleave: n[1] ||= (e) => t.$emit("flyoutLeave")
9206
- }, [e.iconOnly ? a("", !0) : (w(), o("div", jd, P(e.label), 1)), s("div", Md, [(w(), i(j({ render: e.renderContent })))])], 42, Ad)]),
9272
+ }, [e.iconOnly ? a("", !0) : (w(), o("div", Fd, P(e.label), 1)), s("div", Id, [(w(), i(j({ render: e.renderContent })))])], 42, Pd)]),
9207
9273
  _: 1
9208
9274
  }, 8, ["icon-only", "parent-control"]));
9209
9275
  }
9210
- }), Pd = [
9276
+ }), Rd = [
9211
9277
  "aria-expanded",
9212
9278
  "aria-disabled",
9213
9279
  "tabindex",
9214
9280
  "onKeydown"
9215
- ], Fd = {
9281
+ ], zd = {
9216
9282
  class: "coar-sidebar-group__icon",
9217
9283
  "aria-hidden": "true"
9218
- }, Id = { class: "coar-sidebar-group__caret" }, Ld = { class: "coar-sidebar-group__label" }, Rd = ["aria-hidden"], zd = { class: "coar-sidebar-group__panel-inner" }, Bd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9284
+ }, Bd = { class: "coar-sidebar-group__caret" }, Vd = { class: "coar-sidebar-group__label" }, Hd = ["aria-hidden"], Ud = { class: "coar-sidebar-group__panel-inner" }, Wd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9219
9285
  __name: "CoarSidebarGroup",
9220
9286
  props: /* @__PURE__ */ g({
9221
9287
  label: {},
@@ -9242,7 +9308,7 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9242
9308
  }),
9243
9309
  emits: ["update:open"],
9244
9310
  setup(e) {
9245
- let t = `coar-sidebar-group-${R()}`, n = e, i = z(e, "open"), c = m(hd, O(!1)), l = m(gd, O("m")), d = m(_d, O("left")), f = r(() => md(d.value)), p = m(vd, O(!1)), g = r(() => n.iconOnly ?? p.value), _ = r(() => i.value), v = r(() => n.mode === "flyout"), b = B(), x = O(!1), C = O(null), T = null, E = null, D = null, k = m(yd, null), j = {
9311
+ let t = `coar-sidebar-group-${R()}`, n = e, i = z(e, "open"), c = m(yd, O(!1)), l = m(bd, O("m")), d = m(xd, O("left")), f = r(() => vd(d.value)), p = m(Sd, O(!1)), g = r(() => n.iconOnly ?? p.value), _ = r(() => i.value), v = r(() => n.mode === "flyout"), b = B(), x = O(!1), C = O(null), T = null, E = null, D = null, k = m(Cd, null), j = {
9246
9312
  cancelClose: () => {
9247
9313
  ae(), k?.cancelClose();
9248
9314
  },
@@ -9325,7 +9391,7 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9325
9391
  },
9326
9392
  content: {
9327
9393
  kind: "component",
9328
- component: h(Nd)
9394
+ component: h(Ld)
9329
9395
  },
9330
9396
  inputs: {
9331
9397
  id: t,
@@ -9392,52 +9458,52 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9392
9458
  onMouseenter: Y,
9393
9459
  onMouseleave: ce
9394
9460
  }, [
9395
- s("span", Fd, [u(Z, {
9461
+ s("span", zd, [u(Z, {
9396
9462
  name: n.icon || "square-dashed",
9397
9463
  size: L(l)
9398
- }, null, 8, ["name", "size"]), s("span", Id, [u(Z, {
9464
+ }, null, 8, ["name", "size"]), s("span", Bd, [u(Z, {
9399
9465
  name: v.value ? x.value ? V.value : I.value : _.value ? "minus" : "plus",
9400
9466
  size: "xs"
9401
9467
  }, null, 8, ["name"])])]),
9402
- s("span", Ld, P(n.label), 1),
9468
+ s("span", Vd, P(n.label), 1),
9403
9469
  u(Z, {
9404
9470
  name: v.value ? x.value ? V.value : I.value : _.value ? "minus" : "plus",
9405
9471
  size: "xs",
9406
9472
  class: "coar-sidebar-group__chevron",
9407
9473
  "aria-hidden": "true"
9408
9474
  }, null, 8, ["name"])
9409
- ], 42, Pd)), [[L(uc), F.value]]), v.value ? a("", !0) : (w(), o("div", {
9475
+ ], 42, Rd)), [[L(uc), F.value]]), v.value ? a("", !0) : (w(), o("div", {
9410
9476
  key: 0,
9411
9477
  id: t,
9412
9478
  class: y(["coar-sidebar-group__panel", { "coar-sidebar-group__panel--open": _.value }]),
9413
9479
  "aria-hidden": !_.value || void 0,
9414
9480
  role: "group"
9415
- }, [s("div", zd, [A(e.$slots, "default", {}, void 0, !0)])], 10, Rd))], 2));
9481
+ }, [s("div", Ud, [A(e.$slots, "default", {}, void 0, !0)])], 10, Hd))], 2));
9416
9482
  }
9417
- }), [["__scopeId", "data-v-fc4f23cf"]]), Vd = {
9483
+ }), [["__scopeId", "data-v-2eaf7f0e"]]), Gd = {
9418
9484
  key: 0,
9419
9485
  class: "coar-sidebar-heading__text"
9420
- }, Hd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9486
+ }, Kd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9421
9487
  __name: "CoarSidebarHeading",
9422
9488
  props: { label: {} },
9423
9489
  setup(e) {
9424
- let t = e, n = m(hd, O(!1));
9490
+ let t = e, n = m(yd, O(!1));
9425
9491
  return (e, r) => (w(), o("div", {
9426
9492
  class: y(["coar-sidebar-heading", { "coar-sidebar-heading--collapsed": L(n) }]),
9427
9493
  role: "heading",
9428
9494
  "aria-level": "3"
9429
- }, [L(n) ? a("", !0) : (w(), o("span", Vd, P(t.label), 1))], 2));
9495
+ }, [L(n) ? a("", !0) : (w(), o("span", Gd, P(t.label), 1))], 2));
9430
9496
  }
9431
- }), [["__scopeId", "data-v-99fb2c2f"]]), Ud = /* @__PURE__ */ X(/* @__PURE__ */ d({
9497
+ }), [["__scopeId", "data-v-99fb2c2f"]]), qd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9432
9498
  __name: "CoarSidebarDivider",
9433
9499
  setup(e) {
9434
- let t = m(hd, O(!1));
9500
+ let t = m(yd, O(!1));
9435
9501
  return (e, n) => (w(), o("div", {
9436
9502
  class: y(["coar-sidebar-divider", { "coar-sidebar-divider--collapsed": L(t) }]),
9437
9503
  role: "separator"
9438
9504
  }, null, 2));
9439
9505
  }
9440
- }), [["__scopeId", "data-v-c70a1b23"]]), Wd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9506
+ }), [["__scopeId", "data-v-c70a1b23"]]), Jd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9441
9507
  __name: "CoarSidebarSpacer",
9442
9508
  props: {
9443
9509
  height: { default: void 0 },
@@ -9454,16 +9520,16 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9454
9520
  "aria-hidden": "true"
9455
9521
  }, null, 6));
9456
9522
  }
9457
- }), [["__scopeId", "data-v-502139f5"]]), Gd = {
9523
+ }), [["__scopeId", "data-v-502139f5"]]), Yd = {
9458
9524
  key: 0,
9459
9525
  class: "coar-navbar__start"
9460
- }, Kd = {
9526
+ }, Xd = {
9461
9527
  key: 1,
9462
9528
  class: "coar-navbar__center"
9463
- }, qd = {
9529
+ }, Zd = {
9464
9530
  key: 2,
9465
9531
  class: "coar-navbar__end"
9466
- }, Jd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9532
+ }, Qd = /* @__PURE__ */ X(/* @__PURE__ */ d({
9467
9533
  __name: "CoarNavbar",
9468
9534
  props: {
9469
9535
  elevated: {
@@ -9483,17 +9549,17 @@ var hd = Symbol("sidebar-collapsed"), gd = Symbol("sidebar-icon-size"), _d = Sym
9483
9549
  }]),
9484
9550
  role: "banner"
9485
9551
  }, [
9486
- t.$slots.start ? (w(), o("div", Gd, [A(t.$slots, "start", {}, void 0, !0)])) : a("", !0),
9552
+ t.$slots.start ? (w(), o("div", Yd, [A(t.$slots, "start", {}, void 0, !0)])) : a("", !0),
9487
9553
  n[0] ||= s("div", { class: "coar-navbar__spacer" }, null, -1),
9488
- t.$slots.center ? (w(), o("div", Kd, [A(t.$slots, "center", {}, void 0, !0)])) : a("", !0),
9554
+ t.$slots.center ? (w(), o("div", Xd, [A(t.$slots, "center", {}, void 0, !0)])) : a("", !0),
9489
9555
  n[1] ||= s("div", { class: "coar-navbar__spacer" }, null, -1),
9490
- t.$slots.end ? (w(), o("div", qd, [A(t.$slots, "end", {}, void 0, !0)])) : a("", !0)
9556
+ t.$slots.end ? (w(), o("div", Zd, [A(t.$slots, "end", {}, void 0, !0)])) : a("", !0)
9491
9557
  ], 2));
9492
9558
  }
9493
9559
  }), [["__scopeId", "data-v-c7eb4106"]]);
9494
9560
  //#endregion
9495
9561
  //#region src/components/date-time/_shared/time-helpers.ts
9496
- function Yd(e) {
9562
+ function $d(e) {
9497
9563
  try {
9498
9564
  return new Intl.DateTimeFormat(e, {
9499
9565
  hour: "numeric",
@@ -9503,13 +9569,13 @@ function Yd(e) {
9503
9569
  return !1;
9504
9570
  }
9505
9571
  }
9506
- function Xd(e, t, n) {
9572
+ function ef(e, t, n) {
9507
9573
  let r = String(t).padStart(2, "0");
9508
9574
  if (n) return `${String(e).padStart(2, "0")}:${r}`;
9509
9575
  let i = e >= 12 ? "PM" : "AM", a = e % 12;
9510
9576
  return a === 0 && (a = 12), `${a}:${r} ${i}`;
9511
9577
  }
9512
- function Zd(e) {
9578
+ function tf(e) {
9513
9579
  if (!e || typeof e != "string") return null;
9514
9580
  let t = e.trim().toUpperCase(), n = t.match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/);
9515
9581
  if (n) {
@@ -9529,41 +9595,41 @@ function Zd(e) {
9529
9595
  }
9530
9596
  return null;
9531
9597
  }
9532
- function Qd(e) {
9598
+ function nf(e) {
9533
9599
  let t = e >= 12 ? "PM" : "AM", n = e % 12;
9534
9600
  return n === 0 && (n = 12), {
9535
9601
  hours: n,
9536
9602
  period: t
9537
9603
  };
9538
9604
  }
9539
- function $d(e, t) {
9605
+ function rf(e, t) {
9540
9606
  return t === "AM" ? e === 12 ? 0 : e : e === 12 ? 12 : e + 12;
9541
9607
  }
9542
- function ef(e, t) {
9608
+ function af(e, t) {
9543
9609
  let n = (e + t) % 24;
9544
9610
  return n < 0 ? n + 24 : n;
9545
9611
  }
9546
- function tf(e, t, n = 1) {
9612
+ function of(e, t, n = 1) {
9547
9613
  let r = e + t * n, i = 0, a = r;
9548
9614
  return r >= 60 ? (i = Math.floor(r / 60), a = r % 60) : r < 0 && (i = Math.floor(r / 60), a = (r % 60 + 60) % 60), {
9549
9615
  minutes: a,
9550
9616
  hourDelta: i
9551
9617
  };
9552
9618
  }
9553
- function nf(e, t) {
9619
+ function sf(e, t) {
9554
9620
  return Math.round(e / t) * t;
9555
9621
  }
9556
9622
  //#endregion
9557
9623
  //#region src/components/date-time/time-picker/CoarTimePicker.vue?vue&type=script&setup=true&lang.ts
9558
- var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-picker__hours" }, of = ["disabled", "aria-label"], sf = [
9624
+ var cf = ["aria-label"], lf = { class: "coar-time-picker__spinner coar-time-picker__hours" }, uf = ["disabled", "aria-label"], df = [
9559
9625
  "aria-valuenow",
9560
9626
  "aria-valuemin",
9561
9627
  "aria-valuemax",
9562
9628
  "aria-label"
9563
- ], cf = ["disabled", "aria-label"], lf = { class: "coar-time-picker__spinner coar-time-picker__minutes" }, uf = ["disabled", "aria-label"], df = ["aria-valuenow", "aria-label"], ff = ["disabled", "aria-label"], pf = {
9629
+ ], ff = ["disabled", "aria-label"], pf = { class: "coar-time-picker__spinner coar-time-picker__minutes" }, mf = ["disabled", "aria-label"], hf = ["aria-valuenow", "aria-label"], gf = ["disabled", "aria-label"], _f = {
9564
9630
  key: 0,
9565
9631
  class: "coar-time-picker__spinner coar-time-picker__period"
9566
- }, mf = ["disabled"], hf = ["aria-valuenow", "aria-valuetext"], gf = ["disabled"], _f = /* @__PURE__ */ X(/* @__PURE__ */ d({
9632
+ }, vf = ["disabled"], yf = ["aria-valuenow", "aria-valuetext"], bf = ["disabled"], xf = /* @__PURE__ */ X(/* @__PURE__ */ d({
9567
9633
  __name: "CoarTimePicker",
9568
9634
  props: /* @__PURE__ */ g({
9569
9635
  size: { default: "m" },
@@ -9592,9 +9658,9 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9592
9658
  setup(e) {
9593
9659
  let t = e, n = z(e, "modelValue"), { t: i } = q(), c = J(), l = r(() => t.locale ?? c?.language.value ?? navigator.language), d = O(9), f = O(0), p = O("AM");
9594
9660
  U(n, (e) => {
9595
- e && (d.value = e.hours, f.value = nf(e.minutes, t.minuteStep), p.value = e.hours >= 12 ? "PM" : "AM");
9661
+ e && (d.value = e.hours, f.value = sf(e.minutes, t.minuteStep), p.value = e.hours >= 12 ? "PM" : "AM");
9596
9662
  }, { immediate: !0 });
9597
- let m = r(() => t.use24Hour === !0 ? !1 : t.use24Hour === !1 ? !0 : Yd(l.value)), h = r(() => m.value ? Qd(d.value).hours : d.value), g = r(() => f.value), _ = r(() => +!!m.value), v = r(() => m.value ? 12 : 23), b = r(() => t.size === "xs" ? "xs" : "s");
9663
+ let m = r(() => t.use24Hour === !0 ? !1 : t.use24Hour === !1 ? !0 : $d(l.value)), h = r(() => m.value ? nf(d.value).hours : d.value), g = r(() => f.value), _ = r(() => +!!m.value), v = r(() => m.value ? 12 : 23), b = r(() => t.size === "xs" ? "xs" : "s");
9598
9664
  function x(e) {
9599
9665
  return e.hours * 60 + e.minutes;
9600
9666
  }
@@ -9629,11 +9695,11 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9629
9695
  if (!(t.disabled || t.readonly || S.value)) {
9630
9696
  if (m.value) {
9631
9697
  let e = h.value, t = e + 1;
9632
- if (t > 12 && (t = 1), d.value = $d(t, p.value), e === 11) {
9698
+ if (t > 12 && (t = 1), d.value = rf(t, p.value), e === 11) {
9633
9699
  I();
9634
9700
  return;
9635
9701
  }
9636
- } else d.value = ef(d.value, 1);
9702
+ } else d.value = af(d.value, 1);
9637
9703
  A();
9638
9704
  }
9639
9705
  }
@@ -9641,28 +9707,28 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9641
9707
  if (!(t.disabled || t.readonly || C.value)) {
9642
9708
  if (m.value) {
9643
9709
  let e = h.value, t = e - 1;
9644
- if (t < 1 && (t = 12), d.value = $d(t, p.value), e === 12) {
9710
+ if (t < 1 && (t = 12), d.value = rf(t, p.value), e === 12) {
9645
9711
  I();
9646
9712
  return;
9647
9713
  }
9648
- } else d.value = ef(d.value, -1);
9714
+ } else d.value = af(d.value, -1);
9649
9715
  A();
9650
9716
  }
9651
9717
  }
9652
9718
  function N() {
9653
9719
  if (t.disabled || t.readonly || T.value) return;
9654
- let { minutes: e, hourDelta: n } = tf(f.value, 1, t.minuteStep);
9655
- f.value = e, n !== 0 && (d.value = ef(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
9720
+ let { minutes: e, hourDelta: n } = of(f.value, 1, t.minuteStep);
9721
+ f.value = e, n !== 0 && (d.value = af(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
9656
9722
  }
9657
9723
  function F() {
9658
9724
  if (t.disabled || t.readonly || E.value) return;
9659
- let { minutes: e, hourDelta: n } = tf(f.value, -1, t.minuteStep);
9660
- f.value = e, n !== 0 && (d.value = ef(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
9725
+ let { minutes: e, hourDelta: n } = of(f.value, -1, t.minuteStep);
9726
+ f.value = e, n !== 0 && (d.value = af(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
9661
9727
  }
9662
9728
  function I() {
9663
9729
  if (t.disabled || t.readonly || !m.value) return;
9664
9730
  let e = p.value === "AM" ? "PM" : "AM";
9665
- e === "AM" && D.value || e === "PM" && k.value || (p.value = e, d.value = $d(h.value, e), A());
9731
+ e === "AM" && D.value || e === "PM" && k.value || (p.value = e, d.value = rf(h.value, e), A());
9666
9732
  }
9667
9733
  function R(e) {
9668
9734
  t.disabled || t.readonly || (e.key === "ArrowUp" ? (e.preventDefault(), j()) : e.key === "ArrowDown" && (e.preventDefault(), M()));
@@ -9686,7 +9752,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9686
9752
  role: "group",
9687
9753
  "aria-label": e.ariaLabel
9688
9754
  }, [
9689
- s("div", af, [
9755
+ s("div", lf, [
9690
9756
  s("button", {
9691
9757
  type: "button",
9692
9758
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -9697,7 +9763,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9697
9763
  }, [u(Z, {
9698
9764
  name: "chevron-up",
9699
9765
  size: b.value
9700
- }, null, 8, ["size"])], 8, of),
9766
+ }, null, 8, ["size"])], 8, uf),
9701
9767
  s("div", {
9702
9768
  class: "coar-time-picker__value",
9703
9769
  role: "spinbutton",
@@ -9707,7 +9773,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9707
9773
  "aria-valuemax": v.value,
9708
9774
  "aria-label": L(i)("coar.ui.timePicker.hours", void 0, "Hours"),
9709
9775
  onKeydown: R
9710
- }, P(h.value.toString().padStart(2, "0")), 41, sf),
9776
+ }, P(h.value.toString().padStart(2, "0")), 41, df),
9711
9777
  s("button", {
9712
9778
  type: "button",
9713
9779
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -9718,13 +9784,13 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9718
9784
  }, [u(Z, {
9719
9785
  name: "chevron-down",
9720
9786
  size: b.value
9721
- }, null, 8, ["size"])], 8, cf)
9787
+ }, null, 8, ["size"])], 8, ff)
9722
9788
  ]),
9723
9789
  n[0] ||= s("span", {
9724
9790
  class: "coar-time-picker__separator",
9725
9791
  "aria-hidden": "true"
9726
9792
  }, ":", -1),
9727
- s("div", lf, [
9793
+ s("div", pf, [
9728
9794
  s("button", {
9729
9795
  type: "button",
9730
9796
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -9735,7 +9801,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9735
9801
  }, [u(Z, {
9736
9802
  name: "chevron-up",
9737
9803
  size: b.value
9738
- }, null, 8, ["size"])], 8, uf),
9804
+ }, null, 8, ["size"])], 8, mf),
9739
9805
  s("div", {
9740
9806
  class: "coar-time-picker__value",
9741
9807
  role: "spinbutton",
@@ -9745,7 +9811,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9745
9811
  "aria-valuemax": "59",
9746
9812
  "aria-label": L(i)("coar.ui.timePicker.minutes", void 0, "Minutes"),
9747
9813
  onKeydown: B
9748
- }, P(g.value.toString().padStart(2, "0")), 41, df),
9814
+ }, P(g.value.toString().padStart(2, "0")), 41, hf),
9749
9815
  s("button", {
9750
9816
  type: "button",
9751
9817
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -9756,9 +9822,9 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9756
9822
  }, [u(Z, {
9757
9823
  name: "chevron-down",
9758
9824
  size: b.value
9759
- }, null, 8, ["size"])], 8, ff)
9825
+ }, null, 8, ["size"])], 8, gf)
9760
9826
  ]),
9761
- m.value ? (w(), o("div", pf, [
9827
+ m.value ? (w(), o("div", _f, [
9762
9828
  s("button", {
9763
9829
  type: "button",
9764
9830
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -9769,7 +9835,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9769
9835
  }, [u(Z, {
9770
9836
  name: "chevron-up",
9771
9837
  size: b.value
9772
- }, null, 8, ["size"])], 8, mf),
9838
+ }, null, 8, ["size"])], 8, vf),
9773
9839
  s("div", {
9774
9840
  class: "coar-time-picker__value coar-time-picker__period-value",
9775
9841
  role: "spinbutton",
@@ -9780,7 +9846,7 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9780
9846
  "aria-valuetext": p.value,
9781
9847
  "aria-label": "AM/PM",
9782
9848
  onKeydown: V
9783
- }, P(p.value), 41, hf),
9849
+ }, P(p.value), 41, yf),
9784
9850
  s("button", {
9785
9851
  type: "button",
9786
9852
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -9791,14 +9857,14 @@ var rf = ["aria-label"], af = { class: "coar-time-picker__spinner coar-time-pick
9791
9857
  }, [u(Z, {
9792
9858
  name: "chevron-down",
9793
9859
  size: b.value
9794
- }, null, 8, ["size"])], 8, gf)
9860
+ }, null, 8, ["size"])], 8, bf)
9795
9861
  ])) : a("", !0)
9796
- ], 8, rf)], 2));
9862
+ ], 8, cf)], 2));
9797
9863
  }
9798
- }), [["__scopeId", "data-v-50fceac2"]]);
9864
+ }), [["__scopeId", "data-v-a5cd4780"]]);
9799
9865
  //#endregion
9800
9866
  //#region src/components/date-time/_shared/date-helpers.ts
9801
- function vf(e) {
9867
+ function Sf(e) {
9802
9868
  try {
9803
9869
  let t = new Intl.DateTimeFormat(e).formatToParts(new Date(2024, 0, 15)), n = t.findIndex((e) => e.type === "day"), r = t.findIndex((e) => e.type === "month"), i = t.findIndex((e) => e.type === "year");
9804
9870
  return n === -1 || r === -1 || i === -1 ? null : n < r && r < i ? "dd.mm.yyyy" : r < n && n < i ? "mm/dd/yyyy" : i < r && r < n ? "yyyy-mm-dd" : null;
@@ -9806,7 +9872,7 @@ function vf(e) {
9806
9872
  return null;
9807
9873
  }
9808
9874
  }
9809
- function yf(e) {
9875
+ function Cf(e) {
9810
9876
  try {
9811
9877
  let t = new Intl.Locale(e);
9812
9878
  return (t.getWeekInfo?.() ?? t.weekInfo)?.firstDay === 7 ? 7 : 1;
@@ -9814,10 +9880,10 @@ function yf(e) {
9814
9880
  return 1;
9815
9881
  }
9816
9882
  }
9817
- function bf(e) {
9883
+ function wf(e) {
9818
9884
  return e.includes(".") ? "." : e.includes("/") ? "/" : "-";
9819
9885
  }
9820
- function xf(e, t) {
9886
+ function Tf(e, t) {
9821
9887
  let n = new Intl.DateTimeFormat(e, { weekday: "short" }), r = [];
9822
9888
  for (let e = 0; e < 7; e++) {
9823
9889
  let t = new Date(2024, 0, 1 + e);
@@ -9829,8 +9895,8 @@ function xf(e, t) {
9829
9895
  }
9830
9896
  return r;
9831
9897
  }
9832
- function Sf(e, t) {
9833
- let n = bf(t), r = String(e.day).padStart(2, "0"), i = String(e.month).padStart(2, "0"), a = String(e.year);
9898
+ function Ef(e, t) {
9899
+ let n = wf(t), r = String(e.day).padStart(2, "0"), i = String(e.month).padStart(2, "0"), a = String(e.year);
9834
9900
  switch (t) {
9835
9901
  case "dd.mm.yyyy":
9836
9902
  case "dd/mm/yyyy": return `${r}${n}${i}${n}${a}`;
@@ -9839,9 +9905,9 @@ function Sf(e, t) {
9839
9905
  default: return `${r}${n}${i}${n}${a}`;
9840
9906
  }
9841
9907
  }
9842
- function Cf(e, t, n) {
9908
+ function Df(e, t, n) {
9843
9909
  if (!e) return null;
9844
- let r = bf(t), i = e.split(r);
9910
+ let r = wf(t), i = e.split(r);
9845
9911
  if (i.length !== 3 || i.some((e) => e.length === 0 || !/^\d+$/.test(e))) return null;
9846
9912
  let a, o, s;
9847
9913
  try {
@@ -9869,19 +9935,19 @@ function Cf(e, t, n) {
9869
9935
  return null;
9870
9936
  }
9871
9937
  }
9872
- function wf(e) {
9938
+ function Of(e) {
9873
9939
  return new Date(e.year, e.month - 1, e.day);
9874
9940
  }
9875
- function Tf(e) {
9876
- let t = wf(e), n = t.getDay() || 7;
9941
+ function kf(e) {
9942
+ let t = Of(e), n = t.getDay() || 7;
9877
9943
  t.setDate(t.getDate() + 4 - n);
9878
9944
  let r = new Date(t.getFullYear(), 0, 1);
9879
9945
  return Math.ceil(((t.getTime() - r.getTime()) / 864e5 + 1) / 7);
9880
9946
  }
9881
- function Ef(e, t) {
9947
+ function Af(e, t) {
9882
9948
  return t?.min && Y.PlainDate.compare(e, t.min) < 0 ? t.min : t?.max && Y.PlainDate.compare(e, t.max) > 0 ? t.max : e;
9883
9949
  }
9884
- function Df(e, t) {
9950
+ function jf(e, t) {
9885
9951
  let n = e.toPlainDate({ day: 1 }), r = e.daysInMonth, i = n.dayOfWeek, a;
9886
9952
  a = t === 1 ? (i - 1 + 7) % 7 : i % 7;
9887
9953
  let o = [];
@@ -9905,20 +9971,20 @@ function Df(e, t) {
9905
9971
  }
9906
9972
  //#endregion
9907
9973
  //#region src/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue?vue&type=script&setup=true&lang.ts
9908
- var Of = {
9974
+ var Mf = {
9909
9975
  key: 0,
9910
9976
  class: "coar-scrollable-calendar__week-spacer"
9911
- }, kf = ["id", "data-year-month"], Af = { class: "coar-scrollable-calendar__month-name" }, jf = { class: "coar-scrollable-calendar__month-year" }, Mf = {
9977
+ }, Nf = ["id", "data-year-month"], Pf = { class: "coar-scrollable-calendar__month-name" }, Ff = { class: "coar-scrollable-calendar__month-year" }, If = {
9912
9978
  key: 0,
9913
9979
  class: "coar-scrollable-calendar__week-number"
9914
- }, Nf = [
9980
+ }, Lf = [
9915
9981
  "disabled",
9916
9982
  "tabindex",
9917
9983
  "data-date",
9918
9984
  "aria-selected",
9919
9985
  "aria-current",
9920
9986
  "onClick"
9921
- ], Pf = 12, Ff = 12, If = 6, Lf = 25, Rf = /* @__PURE__ */ X(/* @__PURE__ */ d({
9987
+ ], Rf = 12, zf = 12, Bf = 6, Vf = 25, Hf = /* @__PURE__ */ X(/* @__PURE__ */ d({
9922
9988
  __name: "CoarScrollableCalendar",
9923
9989
  props: /* @__PURE__ */ g({
9924
9990
  min: { default: null },
@@ -9944,13 +10010,13 @@ var Of = {
9944
10010
  setup(t, { emit: n }) {
9945
10011
  let i = t, c = z(t, "modelValue"), l = z(t, "activeMonth"), u = n, d = J(), f = r(() => i.locale ?? d?.language.value ?? navigator.language), p = r(() => {
9946
10012
  if (i.dateFormatConfig) return i.dateFormatConfig;
9947
- let e = vf(f.value), t = yf(f.value);
10013
+ let e = Sf(f.value), t = Cf(f.value);
9948
10014
  return {
9949
10015
  pattern: e ?? "dd.mm.yyyy",
9950
10016
  firstDayOfWeek: t
9951
10017
  };
9952
10018
  }), m = r(() => p.value.firstDayOfWeek), h = r(() => Y.Now.plainDateISO()), g = r(() => {
9953
- let e = xf(f.value, m.value), t = m.value;
10019
+ let e = Tf(f.value, m.value), t = m.value;
9954
10020
  return e.map((e, n) => {
9955
10021
  let r;
9956
10022
  return r = t === 1 ? n + 1 : n === 0 ? 7 : n, {
@@ -9958,7 +10024,7 @@ var Of = {
9958
10024
  isWeekend: r === 6 || r === 7
9959
10025
  };
9960
10026
  });
9961
- }), _ = O(Y.Now.plainDateISO().toPlainYearMonth().subtract({ months: Pf })), b = O(Y.Now.plainDateISO().toPlainYearMonth().add({ months: Ff })), x = O(null), T = O(null), E = O(!1), D = !1, A = !1, j = !1;
10027
+ }), _ = O(Y.Now.plainDateISO().toPlainYearMonth().subtract({ months: Rf })), b = O(Y.Now.plainDateISO().toPlainYearMonth().add({ months: zf })), x = O(null), T = O(null), E = O(!1), D = !1, A = !1, j = !1;
9962
10028
  function M() {
9963
10029
  let e = T.value;
9964
10030
  return e ? e.querySelector("[data-overlayscrollbars-viewport]") ?? e : null;
@@ -9985,8 +10051,8 @@ var Of = {
9985
10051
  };
9986
10052
  }
9987
10053
  function I(e) {
9988
- let t = f.value, n = new Intl.DateTimeFormat(t, { month: "long" }).format(new Date(e.year, e.month - 1, 1)), r = Df(e, m.value), i = r.map((e) => F(e.date, e.isOutsideMonth)), a = [];
9989
- for (let e = 0; e < 6; e++) a.push(Tf(r[e * 7].date));
10054
+ let t = f.value, n = new Intl.DateTimeFormat(t, { month: "long" }).format(new Date(e.year, e.month - 1, 1)), r = jf(e, m.value), i = r.map((e) => F(e.date, e.isOutsideMonth)), a = [];
10055
+ for (let e = 0; e < 6; e++) a.push(kf(r[e * 7].date));
9990
10056
  return {
9991
10057
  yearMonth: e,
9992
10058
  monthName: n,
@@ -10077,7 +10143,7 @@ var Of = {
10077
10143
  if (j) return;
10078
10144
  j = !0;
10079
10145
  let e = M(), t = e?.scrollHeight ?? 0, n = i.min?.toPlainYearMonth() ?? null, r = _.value, a = [];
10080
- for (let e = 0; e < If; e++) {
10146
+ for (let e = 0; e < Bf; e++) {
10081
10147
  let e = r.subtract({ months: 1 });
10082
10148
  if (n && Y.PlainYearMonth.compare(e, n) < 0) break;
10083
10149
  r = e, a.unshift(I(r));
@@ -10098,7 +10164,7 @@ var Of = {
10098
10164
  if (j) return;
10099
10165
  j = !0;
10100
10166
  let e = i.max?.toPlainYearMonth() ?? null, t = b.value, n = [];
10101
- for (let r = 0; r < If; r++) {
10167
+ for (let r = 0; r < Bf; r++) {
10102
10168
  let r = t.add({ months: 1 });
10103
10169
  if (e && Y.PlainYearMonth.compare(r, e) > 0) break;
10104
10170
  t = r, n.push(I(t));
@@ -10113,14 +10179,14 @@ var Of = {
10113
10179
  }
10114
10180
  function re() {
10115
10181
  let e = B.value;
10116
- if (e.length <= Lf) return;
10117
- let t = e.slice(0, Lf);
10182
+ if (e.length <= Vf) return;
10183
+ let t = e.slice(0, Vf);
10118
10184
  B.value = t, b.value = t[t.length - 1].yearMonth;
10119
10185
  }
10120
10186
  function ie() {
10121
10187
  let e = B.value;
10122
- if (e.length <= Lf) return;
10123
- let t = e.length - Lf, n = e.slice(t);
10188
+ if (e.length <= Vf) return;
10189
+ let t = e.length - Vf, n = e.slice(t);
10124
10190
  B.value = n, _.value = n[0].yearMonth;
10125
10191
  }
10126
10192
  function ae(e) {
@@ -10139,7 +10205,7 @@ var Of = {
10139
10205
  r = n.add({ years: e });
10140
10206
  break;
10141
10207
  }
10142
- r = Ef(r, {
10208
+ r = Af(r, {
10143
10209
  min: i.min,
10144
10210
  max: i.max
10145
10211
  }), x.value = r;
@@ -10203,7 +10269,7 @@ var Of = {
10203
10269
  }), (n, r) => (w(), o("div", {
10204
10270
  class: "coar-scrollable-calendar",
10205
10271
  onKeydown: se
10206
- }, [s("div", { class: y(["coar-scrollable-calendar__weekdays", { "coar-scrollable-calendar__weekdays--with-weeks": t.showWeekNumbers }]) }, [t.showWeekNumbers ? (w(), o("span", Of)) : a("", !0), (w(!0), o(e, null, k(g.value, (e) => (w(), o("span", {
10272
+ }, [s("div", { class: y(["coar-scrollable-calendar__weekdays", { "coar-scrollable-calendar__weekdays--with-weeks": t.showWeekNumbers }]) }, [t.showWeekNumbers ? (w(), o("span", Mf)) : a("", !0), (w(!0), o(e, null, k(g.value, (e) => (w(), o("span", {
10207
10273
  key: e.name,
10208
10274
  class: y(["coar-scrollable-calendar__weekday", { "coar-scrollable-calendar__weekday--weekend": t.highlightWeekends && e.isWeekend }])
10209
10275
  }, P(e.name), 3))), 128))], 2), s("div", { class: y(["coar-scrollable-calendar__months-wrapper", { "coar-scrollable-calendar__months-wrapper--ready": E.value }]) }, [K((w(), o("div", {
@@ -10215,10 +10281,10 @@ var Of = {
10215
10281
  key: n.yearMonth.toString(),
10216
10282
  "data-year-month": n.yearMonth.toString(),
10217
10283
  class: "coar-scrollable-calendar__month"
10218
- }, [s("div", { class: y(["coar-scrollable-calendar__month-header", { "coar-scrollable-calendar__month-header--with-weeks": t.showWeekNumbers }]) }, [s("span", Af, P(n.monthName), 1), s("span", jf, P(n.year), 1)], 2), s("div", {
10284
+ }, [s("div", { class: y(["coar-scrollable-calendar__month-header", { "coar-scrollable-calendar__month-header--with-weeks": t.showWeekNumbers }]) }, [s("span", Pf, P(n.monthName), 1), s("span", Ff, P(n.year), 1)], 2), s("div", {
10219
10285
  class: y(["coar-scrollable-calendar__grid", { "coar-scrollable-calendar__grid--with-weeks": t.showWeekNumbers }]),
10220
10286
  role: "grid"
10221
- }, [(w(!0), o(e, null, k(n.days, (r, i) => (w(), o(e, { key: r.date.toString() }, [t.showWeekNumbers && i % 7 == 0 ? (w(), o("span", Mf, P(n.weekNumbers[i / 7]), 1)) : a("", !0), s("button", {
10287
+ }, [(w(!0), o(e, null, k(n.days, (r, i) => (w(), o(e, { key: r.date.toString() }, [t.showWeekNumbers && i % 7 == 0 ? (w(), o("span", If, P(n.weekNumbers[i / 7]), 1)) : a("", !0), s("button", {
10222
10288
  type: "button",
10223
10289
  class: y(["coar-scrollable-calendar__day", [r.markerCssClass, {
10224
10290
  "coar-scrollable-calendar__day--outside": r.isOutsideMonth,
@@ -10235,12 +10301,12 @@ var Of = {
10235
10301
  "aria-selected": r.isSelected,
10236
10302
  "aria-current": r.isToday ? "date" : void 0,
10237
10303
  onClick: (e) => ae(r.date)
10238
- }, P(r.day), 11, Nf)], 64))), 128))], 2)], 8, kf))), 128))])), [[L(Fs), {
10304
+ }, P(r.day), 11, Lf)], 64))), 128))], 2)], 8, Nf))), 128))])), [[L(Fs), {
10239
10305
  overflowX: "hidden",
10240
10306
  autoHide: "leave"
10241
10307
  }]])], 2)], 32));
10242
10308
  }
10243
- }), [["__scopeId", "data-v-e9dd37f6"]]), zf = { class: "coar-month-list-host" }, Bf = { class: "coar-month-list" }, Vf = { class: "coar-month-list__year-stepper" }, Hf = ["disabled", "aria-label"], Uf = { class: "coar-month-list__year" }, Wf = ["disabled", "aria-label"], Gf = ["aria-label"], Kf = ["aria-selected", "onClick"], qf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10309
+ }), [["__scopeId", "data-v-e9dd37f6"]]), Uf = { class: "coar-month-list-host" }, Wf = { class: "coar-month-list" }, Gf = { class: "coar-month-list__year-stepper" }, Kf = ["disabled", "aria-label"], qf = { class: "coar-month-list__year" }, Jf = ["disabled", "aria-label"], Yf = ["aria-label"], Xf = ["aria-selected", "onClick"], Zf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10244
10310
  __name: "CoarMonthList",
10245
10311
  props: /* @__PURE__ */ g({
10246
10312
  locale: { default: void 0 },
@@ -10297,7 +10363,7 @@ var Of = {
10297
10363
  v(() => E());
10298
10364
  }), C(() => {
10299
10365
  setTimeout(() => E(), 50);
10300
- }), (t, n) => (w(), o("div", zf, [s("div", Bf, [s("div", Vf, [
10366
+ }), (t, n) => (w(), o("div", Uf, [s("div", Wf, [s("div", Gf, [
10301
10367
  s("button", {
10302
10368
  type: "button",
10303
10369
  class: "coar-month-list__year-btn",
@@ -10307,8 +10373,8 @@ var Of = {
10307
10373
  }, [u(Z, {
10308
10374
  name: "chevron-left",
10309
10375
  size: "s"
10310
- })], 8, Hf),
10311
- s("span", Uf, P(p.value), 1),
10376
+ })], 8, Kf),
10377
+ s("span", qf, P(p.value), 1),
10312
10378
  s("button", {
10313
10379
  type: "button",
10314
10380
  class: "coar-month-list__year-btn",
@@ -10318,7 +10384,7 @@ var Of = {
10318
10384
  }, [u(Z, {
10319
10385
  name: "chevron-right",
10320
10386
  size: "s"
10321
- })], 8, Wf)
10387
+ })], 8, Jf)
10322
10388
  ]), K((w(), o("div", {
10323
10389
  ref_key: "monthsContainerRef",
10324
10390
  ref: T,
@@ -10332,29 +10398,29 @@ var Of = {
10332
10398
  role: "option",
10333
10399
  "aria-selected": e.isActive,
10334
10400
  onClick: (t) => S(e.yearMonth)
10335
- }, P(e.name), 11, Kf))), 128))], 8, Gf)), [[L(Fs), {
10401
+ }, P(e.name), 11, Xf))), 128))], 8, Yf)), [[L(Fs), {
10336
10402
  overflowX: "hidden",
10337
10403
  autoHide: "leave"
10338
10404
  }]])])]));
10339
10405
  }
10340
- }), [["__scopeId", "data-v-11c8cf34"]]), Jf = {
10406
+ }), [["__scopeId", "data-v-11c8cf34"]]), Qf = {
10341
10407
  pattern: "dd.mm.yyyy",
10342
10408
  firstDayOfWeek: 1
10343
10409
  };
10344
- function Yf(e) {
10410
+ function $f(e) {
10345
10411
  let t = J(), n = ne(), i = r(() => e.locale?.value ? e.locale.value : t.language.value || navigator.language || "en"), a = r(() => {
10346
10412
  if (e.dateFormat?.value) return e.dateFormat.value;
10347
10413
  let n = t.localeData.value;
10348
- if (n?.date) return {
10414
+ if (n?.date && n.date.pattern !== "yyyy/mm/dd") return {
10349
10415
  pattern: n.date.pattern,
10350
10416
  firstDayOfWeek: n.date.firstDayOfWeek === 0 ? 7 : n.date.firstDayOfWeek
10351
10417
  };
10352
- let r = vf(i.value), a = yf(i.value);
10418
+ let r = Sf(i.value), a = Cf(i.value);
10353
10419
  return r ? {
10354
10420
  pattern: r,
10355
10421
  firstDayOfWeek: a
10356
10422
  } : {
10357
- ...Jf,
10423
+ ...Qf,
10358
10424
  firstDayOfWeek: a
10359
10425
  };
10360
10426
  }), o = r(() => {
@@ -10383,10 +10449,10 @@ function Yf(e) {
10383
10449
  }
10384
10450
  //#endregion
10385
10451
  //#region src/components/date-time/_shared/types.ts
10386
- var Xf = {
10452
+ var ep = {
10387
10453
  use24Hour: "auto",
10388
10454
  minuteStep: 5
10389
- }, Zf = {
10455
+ }, tp = {
10390
10456
  "dd.mm.yyyy": "dd/mm/yyyy",
10391
10457
  "dd/mm/yyyy": "dd/mm/yyyy",
10392
10458
  "mm/dd/yyyy": "mm/dd/yyyy",
@@ -10394,28 +10460,28 @@ var Xf = {
10394
10460
  };
10395
10461
  //#endregion
10396
10462
  //#region src/components/date-time/_shared/maskito-config.ts
10397
- function Qf(e) {
10463
+ function np(e) {
10398
10464
  return ae({
10399
- mode: Zf[e],
10400
- separator: bf(e)
10465
+ mode: tp[e],
10466
+ separator: wf(e)
10401
10467
  });
10402
10468
  }
10403
- function $f(e, t) {
10469
+ function rp(e, t) {
10404
10470
  return oe({
10405
- dateMode: Zf[e],
10406
- dateSeparator: bf(e),
10471
+ dateMode: tp[e],
10472
+ dateSeparator: wf(e),
10407
10473
  timeMode: t ? "HH:MM AA" : "HH:MM"
10408
10474
  });
10409
10475
  }
10410
10476
  //#endregion
10411
10477
  //#region src/components/date-time/plain-date-picker/CoarPlainDatePickerPanel.vue?vue&type=script&setup=true&lang.ts
10412
- var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"], np = { class: "coar-plain-date-picker-side-column" }, rp = { class: "coar-plain-date-picker-year-stepper" }, ip = ["disabled", "aria-label"], ap = { class: "coar-plain-date-picker-year" }, op = ["disabled", "aria-label"], sp = { class: "coar-plain-date-picker-month-list-wrapper" }, cp = ["aria-label"], lp = { class: "coar-plain-date-picker-month-list-content" }, up = ["aria-selected", "onClick"], dp = {
10478
+ var ip = { class: "coar-plain-date-picker-calendar-column" }, ap = ["aria-label"], op = { class: "coar-plain-date-picker-side-column" }, sp = { class: "coar-plain-date-picker-year-stepper" }, cp = ["disabled", "aria-label"], lp = { class: "coar-plain-date-picker-year" }, up = ["disabled", "aria-label"], dp = { class: "coar-plain-date-picker-month-list-wrapper" }, fp = ["aria-label"], pp = { class: "coar-plain-date-picker-month-list-content" }, mp = ["aria-selected", "onClick"], hp = {
10413
10479
  key: 0,
10414
10480
  class: "coar-plain-date-picker-events"
10415
- }, fp = { class: "coar-plain-date-picker-events-list" }, pp = { class: "coar-plain-date-picker-events-content" }, mp = { class: "coar-plain-date-picker-event-details" }, hp = { class: "coar-plain-date-picker-event-text" }, gp = {
10481
+ }, gp = { class: "coar-plain-date-picker-events-list" }, _p = { class: "coar-plain-date-picker-events-content" }, vp = { class: "coar-plain-date-picker-event-details" }, yp = { class: "coar-plain-date-picker-event-text" }, bp = {
10416
10482
  key: 0,
10417
10483
  class: "coar-plain-date-picker-event-dates"
10418
- }, _p = /* @__PURE__ */ d({
10484
+ }, xp = /* @__PURE__ */ d({
10419
10485
  __name: "CoarPlainDatePickerPanel",
10420
10486
  props: {
10421
10487
  modelValue: {},
@@ -10458,7 +10524,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10458
10524
  return n && r;
10459
10525
  }) : [];
10460
10526
  });
10461
- return (n, r) => (w(), o("div", { class: y(["coar-plain-date-picker-panel", { "coar-plain-date-picker-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", ep, [u(Rf, {
10527
+ return (n, r) => (w(), o("div", { class: y(["coar-plain-date-picker-panel", { "coar-plain-date-picker-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", ip, [u(Hf, {
10462
10528
  "model-value": t.modelValue,
10463
10529
  "active-month": t.activeMonth,
10464
10530
  min: t.min ?? void 0,
@@ -10491,8 +10557,8 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10491
10557
  }, [u(Z, {
10492
10558
  name: h.value === "up" ? "chevron-up" : "chevron-down",
10493
10559
  size: "xs"
10494
- }, null, 8, ["name"])], 8, tp)) : a("", !0)]), s("div", np, [
10495
- s("div", rp, [
10560
+ }, null, 8, ["name"])], 8, ap)) : a("", !0)]), s("div", op, [
10561
+ s("div", sp, [
10496
10562
  s("button", {
10497
10563
  type: "button",
10498
10564
  class: "coar-plain-date-picker-year-btn",
@@ -10502,8 +10568,8 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10502
10568
  }, [u(Z, {
10503
10569
  name: "chevron-left",
10504
10570
  size: "s"
10505
- })], 8, ip),
10506
- s("span", ap, P(c.value), 1),
10571
+ })], 8, cp),
10572
+ s("span", lp, P(c.value), 1),
10507
10573
  s("button", {
10508
10574
  type: "button",
10509
10575
  class: "coar-plain-date-picker-year-btn",
@@ -10513,31 +10579,31 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10513
10579
  }, [u(Z, {
10514
10580
  name: "chevron-right",
10515
10581
  size: "s"
10516
- })], 8, op)
10582
+ })], 8, up)
10517
10583
  ]),
10518
- s("div", sp, [s("div", {
10584
+ s("div", dp, [s("div", {
10519
10585
  class: "coar-plain-date-picker-month-list",
10520
10586
  role: "listbox",
10521
10587
  "aria-label": L(i)("coar.ui.datePicker.months", void 0, "Months")
10522
- }, [s("div", lp, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
10588
+ }, [s("div", pp, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
10523
10589
  key: e.month,
10524
10590
  type: "button",
10525
10591
  class: y(["coar-plain-date-picker-month-item", { "coar-plain-date-picker-month-item--active": e.isActive }]),
10526
10592
  role: "option",
10527
10593
  "aria-selected": e.isActive,
10528
10594
  onClick: (n) => t.onSelectMonth(e.yearMonth)
10529
- }, P(e.name), 11, up))), 128))])], 8, cp)]),
10530
- _.value.length > 0 ? (w(), o("div", dp, [s("div", fp, [s("div", pp, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
10595
+ }, P(e.name), 11, mp))), 128))])], 8, fp)]),
10596
+ _.value.length > 0 ? (w(), o("div", hp, [s("div", gp, [s("div", _p, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
10531
10597
  key: e.description,
10532
10598
  class: "coar-plain-date-picker-event-item"
10533
- }, [r[3] ||= s("span", { class: "coar-plain-date-picker-event-dot" }, null, -1), s("div", mp, [s("span", hp, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", gp, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
10599
+ }, [r[3] ||= s("span", { class: "coar-plain-date-picker-event-dot" }, null, -1), s("div", vp, [s("span", yp, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", bp, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
10534
10600
  ])], 2));
10535
10601
  }
10536
- }), vp = {
10602
+ }), Sp = {
10537
10603
  key: 0,
10538
10604
  class: "coar-plain-date-picker-required",
10539
10605
  "aria-hidden": "true"
10540
- }, yp = ["aria-expanded", "aria-controls"], bp = ["aria-label"], xp = [
10606
+ }, Cp = ["aria-expanded", "aria-controls"], wp = ["aria-label"], Tp = [
10541
10607
  "value",
10542
10608
  "placeholder",
10543
10609
  "disabled",
@@ -10545,7 +10611,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10545
10611
  "aria-labelledby",
10546
10612
  "aria-invalid",
10547
10613
  "aria-describedby"
10548
- ], Sp = ["aria-label", "disabled"], Cp = ["title"], wp = /* @__PURE__ */ X(/* @__PURE__ */ d({
10614
+ ], Ep = ["aria-label", "disabled"], Dp = ["title"], Op = /* @__PURE__ */ X(/* @__PURE__ */ d({
10549
10615
  __name: "CoarPlainDatePicker",
10550
10616
  props: /* @__PURE__ */ g({
10551
10617
  label: { default: "" },
@@ -10596,17 +10662,17 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10596
10662
  }),
10597
10663
  emits: /* @__PURE__ */ g(["opened", "closed"], ["update:modelValue"]),
10598
10664
  setup(e, { emit: t }) {
10599
- let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Yf({
10665
+ let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = $f({
10600
10666
  locale: r(() => n.locale),
10601
10667
  dateFormat: r(() => n.dateFormat)
10602
10668
  }), p = O(i.value?.toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = `coar-plain-date-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, g = `${m}-label`, _ = `${m}-input`, b = `${m}-panel`, x = `${m}-message`, T = O(null), D = O(null), k = null, A = O(""), j;
10603
10669
  function M() {
10604
10670
  if (j?.destroy(), !D.value) return;
10605
- let e = Qf(f.effectiveDateFormat.value.pattern);
10671
+ let e = np(f.effectiveDateFormat.value.pattern);
10606
10672
  j = new ie(D.value, e);
10607
10673
  }
10608
10674
  U(i, (e) => {
10609
- e ? A.value = Sf(e, f.effectiveDateFormat.value.pattern) : A.value = "";
10675
+ e ? A.value = Ef(e, f.effectiveDateFormat.value.pattern) : A.value = "";
10610
10676
  }, { immediate: !0 }), U([D, () => f.effectiveDateFormat.value], () => {
10611
10677
  v(() => M());
10612
10678
  }), S(() => {
@@ -10682,7 +10748,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10682
10748
  },
10683
10749
  content: {
10684
10750
  kind: "component",
10685
- component: h(_p)
10751
+ component: h(xp)
10686
10752
  },
10687
10753
  inputs: t
10688
10754
  }), f.open(), c("opened"), k.afterClosed.then(() => {
@@ -10707,7 +10773,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10707
10773
  function ne(e) {
10708
10774
  let t = e.target;
10709
10775
  A.value = t.value;
10710
- let r = Cf(t.value, f.effectiveDateFormat.value.pattern, {
10776
+ let r = Df(t.value, f.effectiveDateFormat.value.pattern, {
10711
10777
  min: n.min,
10712
10778
  max: n.max
10713
10779
  });
@@ -10715,10 +10781,10 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10715
10781
  }
10716
10782
  function re() {
10717
10783
  let e = A.value;
10718
- !Cf(e, f.effectiveDateFormat.value.pattern, {
10784
+ !Df(e, f.effectiveDateFormat.value.pattern, {
10719
10785
  min: n.min,
10720
10786
  max: n.max
10721
- }) && e.length > 0 && (i.value ? A.value = Sf(i.value, f.effectiveDateFormat.value.pattern) : A.value = "");
10787
+ }) && e.length > 0 && (i.value ? A.value = Ef(i.value, f.effectiveDateFormat.value.pattern) : A.value = "");
10722
10788
  }
10723
10789
  return (t, n) => (w(), o("div", { class: y(["coar-plain-date-picker-wrapper", [`coar-plain-date-picker--${e.size}`, {
10724
10790
  "coar-plain-date-picker--disabled": I.value,
@@ -10730,7 +10796,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10730
10796
  key: 0,
10731
10797
  id: g,
10732
10798
  class: "coar-plain-date-picker-label"
10733
- }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", vp, "*")) : a("", !0)])) : a("", !0),
10799
+ }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Sp, "*")) : a("", !0)])) : a("", !0),
10734
10800
  s("div", {
10735
10801
  ref_key: "triggerRef",
10736
10802
  ref: T,
@@ -10754,7 +10820,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10754
10820
  }, [u(Z, {
10755
10821
  name: "x",
10756
10822
  size: "auto"
10757
- })], 10, bp),
10823
+ })], 10, wp),
10758
10824
  s("input", {
10759
10825
  id: _,
10760
10826
  ref_key: "dateInputRef",
@@ -10772,7 +10838,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10772
10838
  onInput: ne,
10773
10839
  onBlur: re,
10774
10840
  onKeydown: te
10775
- }, null, 40, xp),
10841
+ }, null, 40, Tp),
10776
10842
  s("button", {
10777
10843
  type: "button",
10778
10844
  class: "coar-plain-date-picker-btn",
@@ -10783,23 +10849,23 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10783
10849
  }, [u(Z, {
10784
10850
  name: "calendar",
10785
10851
  size: "s"
10786
- })], 8, Sp)
10787
- ], 10, yp),
10852
+ })], 8, Ep)
10853
+ ], 10, Cp),
10788
10854
  F.value ? (w(), o("div", {
10789
10855
  key: 1,
10790
10856
  id: x,
10791
10857
  class: y(["coar-form-field-message", { "coar-form-field-message--error": N.value }]),
10792
10858
  title: F.value
10793
- }, P(F.value), 11, Cp)) : a("", !0)
10859
+ }, P(F.value), 11, Dp)) : a("", !0)
10794
10860
  ], 2));
10795
10861
  }
10796
- }), [["__scopeId", "data-v-49bcfd20"]]), Tp = { class: "coar-pdtp-calendar-column" }, Ep = ["aria-label"], Dp = { class: "coar-pdtp-side-column" }, Op = { class: "coar-pdtp-year-stepper" }, kp = ["disabled", "aria-label"], Ap = { class: "coar-pdtp-year" }, jp = ["disabled", "aria-label"], Mp = { class: "coar-pdtp-month-list-wrapper" }, Np = ["aria-label"], Pp = { class: "coar-pdtp-month-list-content" }, Fp = ["aria-selected", "onClick"], Ip = { class: "coar-pdtp-time-section" }, Lp = {
10862
+ }), [["__scopeId", "data-v-2c8a34e4"]]), kp = { class: "coar-pdtp-calendar-column" }, Ap = ["aria-label"], jp = { class: "coar-pdtp-side-column" }, Mp = { class: "coar-pdtp-year-stepper" }, Np = ["disabled", "aria-label"], Pp = { class: "coar-pdtp-year" }, Fp = ["disabled", "aria-label"], Ip = { class: "coar-pdtp-month-list-wrapper" }, Lp = ["aria-label"], Rp = { class: "coar-pdtp-month-list-content" }, zp = ["aria-selected", "onClick"], Bp = { class: "coar-pdtp-time-section" }, Vp = {
10797
10863
  key: 0,
10798
10864
  class: "coar-pdtp-events"
10799
- }, Rp = { class: "coar-pdtp-events-list" }, zp = { class: "coar-pdtp-events-content" }, Bp = { class: "coar-pdtp-event-details" }, Vp = { class: "coar-pdtp-event-text" }, Hp = {
10865
+ }, Hp = { class: "coar-pdtp-events-list" }, Up = { class: "coar-pdtp-events-content" }, Wp = { class: "coar-pdtp-event-details" }, Gp = { class: "coar-pdtp-event-text" }, Kp = {
10800
10866
  key: 0,
10801
10867
  class: "coar-pdtp-event-dates"
10802
- }, Up = /* @__PURE__ */ d({
10868
+ }, qp = /* @__PURE__ */ d({
10803
10869
  __name: "CoarPlainDateTimePickerPanel",
10804
10870
  props: {
10805
10871
  modelValue: {},
@@ -10850,7 +10916,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10850
10916
  return n && r;
10851
10917
  }) : [];
10852
10918
  });
10853
- return (n, r) => (w(), o("div", { class: y(["coar-pdtp-panel", { "coar-pdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Tp, [u(Rf, {
10919
+ return (n, r) => (w(), o("div", { class: y(["coar-pdtp-panel", { "coar-pdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", kp, [u(Hf, {
10854
10920
  "model-value": t.modelValue,
10855
10921
  "active-month": t.activeMonth,
10856
10922
  min: t.min ?? void 0,
@@ -10883,8 +10949,8 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10883
10949
  }, [u(Z, {
10884
10950
  name: h.value === "up" ? "chevron-up" : "chevron-down",
10885
10951
  size: "xs"
10886
- }, null, 8, ["name"])], 8, Ep)) : a("", !0)]), s("div", Dp, [
10887
- s("div", Op, [
10952
+ }, null, 8, ["name"])], 8, Ap)) : a("", !0)]), s("div", jp, [
10953
+ s("div", Mp, [
10888
10954
  s("button", {
10889
10955
  type: "button",
10890
10956
  class: "coar-pdtp-year-btn",
@@ -10894,8 +10960,8 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10894
10960
  }, [u(Z, {
10895
10961
  name: "chevron-left",
10896
10962
  size: "s"
10897
- })], 8, kp),
10898
- s("span", Ap, P(c.value), 1),
10963
+ })], 8, Np),
10964
+ s("span", Pp, P(c.value), 1),
10899
10965
  s("button", {
10900
10966
  type: "button",
10901
10967
  class: "coar-pdtp-year-btn",
@@ -10905,21 +10971,21 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10905
10971
  }, [u(Z, {
10906
10972
  name: "chevron-right",
10907
10973
  size: "s"
10908
- })], 8, jp)
10974
+ })], 8, Fp)
10909
10975
  ]),
10910
- s("div", Mp, [s("div", {
10976
+ s("div", Ip, [s("div", {
10911
10977
  class: "coar-pdtp-month-list",
10912
10978
  role: "listbox",
10913
10979
  "aria-label": L(i)("coar.ui.datePicker.months", void 0, "Months")
10914
- }, [s("div", Pp, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
10980
+ }, [s("div", Rp, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
10915
10981
  key: e.month,
10916
10982
  type: "button",
10917
10983
  class: y(["coar-pdtp-month-item", { "coar-pdtp-month-item--active": e.isActive }]),
10918
10984
  role: "option",
10919
10985
  "aria-selected": e.isActive,
10920
10986
  onClick: (n) => t.onSelectMonth(e.yearMonth)
10921
- }, P(e.name), 11, Fp))), 128))])], 8, Np)]),
10922
- s("div", Ip, [u(_f, {
10987
+ }, P(e.name), 11, zp))), 128))])], 8, Lp)]),
10988
+ s("div", Bp, [u(xf, {
10923
10989
  "model-value": t.selectedTime,
10924
10990
  "use24-hour": t.use24Hour,
10925
10991
  "minute-step": t.minuteStep,
@@ -10941,17 +11007,17 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10941
11007
  "max-time",
10942
11008
  "onUpdate:modelValue"
10943
11009
  ])]),
10944
- _.value.length > 0 ? (w(), o("div", Lp, [s("div", Rp, [s("div", zp, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
11010
+ _.value.length > 0 ? (w(), o("div", Vp, [s("div", Hp, [s("div", Up, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
10945
11011
  key: e.description,
10946
11012
  class: "coar-pdtp-event-item"
10947
- }, [r[3] ||= s("span", { class: "coar-pdtp-event-dot" }, null, -1), s("div", Bp, [s("span", Vp, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", Hp, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
11013
+ }, [r[3] ||= s("span", { class: "coar-pdtp-event-dot" }, null, -1), s("div", Wp, [s("span", Gp, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", Kp, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
10948
11014
  ])], 2));
10949
11015
  }
10950
- }), Wp = {
11016
+ }), Jp = {
10951
11017
  key: 0,
10952
11018
  class: "coar-pdtp-required",
10953
11019
  "aria-hidden": "true"
10954
- }, Gp = ["aria-expanded", "aria-controls"], Kp = ["aria-label"], qp = [
11020
+ }, Yp = ["aria-expanded", "aria-controls"], Xp = ["aria-label"], Zp = [
10955
11021
  "value",
10956
11022
  "placeholder",
10957
11023
  "disabled",
@@ -10959,7 +11025,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
10959
11025
  "aria-labelledby",
10960
11026
  "aria-invalid",
10961
11027
  "aria-describedby"
10962
- ], Jp = ["aria-label", "disabled"], Yp = ["title"], Xp = /* @__PURE__ */ X(/* @__PURE__ */ d({
11028
+ ], Qp = ["aria-label", "disabled"], $p = ["title"], em = /* @__PURE__ */ X(/* @__PURE__ */ d({
10963
11029
  __name: "CoarPlainDateTimePicker",
10964
11030
  props: /* @__PURE__ */ g({
10965
11031
  label: { default: "" },
@@ -11015,17 +11081,17 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11015
11081
  }),
11016
11082
  emits: /* @__PURE__ */ g(["opened", "closed"], ["update:modelValue"]),
11017
11083
  setup(e, { emit: t }) {
11018
- let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Yf({
11084
+ let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = $f({
11019
11085
  locale: r(() => n.locale),
11020
11086
  dateFormat: r(() => n.dateFormat)
11021
- }), p = O(i.value?.toPlainDate().toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = O(null), g = `coar-plain-dt-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, _ = `${g}-label`, b = `${g}-input`, x = `${g}-panel`, T = `${g}-message`, D = O(null), k = O(null), A = null, j = O(""), M = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !Yd(f.effectiveLocale.value)), N;
11087
+ }), p = O(i.value?.toPlainDate().toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = O(null), g = `coar-plain-dt-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, _ = `${g}-label`, b = `${g}-input`, x = `${g}-panel`, T = `${g}-message`, D = O(null), k = O(null), A = null, j = O(""), M = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !$d(f.effectiveLocale.value)), N;
11022
11088
  function F() {
11023
11089
  if (N?.destroy(), !k.value) return;
11024
- let e = $f(f.effectiveDateFormat.value.pattern, !M.value);
11090
+ let e = rp(f.effectiveDateFormat.value.pattern, !M.value);
11025
11091
  N = new ie(k.value, e);
11026
11092
  }
11027
11093
  function I(e) {
11028
- return `${Sf(e.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${Xd(e.hour, e.minute, M.value)}`;
11094
+ return `${Ef(e.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${ef(e.hour, e.minute, M.value)}`;
11029
11095
  }
11030
11096
  U(i, (e) => {
11031
11097
  j.value = e ? I(e) : "";
@@ -11077,7 +11143,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11077
11143
  onDateSelected: (e) => {
11078
11144
  let t = K.value ?? n.defaultTime, r = e.toPlainDateTime({
11079
11145
  hour: t.hours,
11080
- minute: nf(t.minutes, n.minuteStep)
11146
+ minute: sf(t.minutes, n.minuteStep)
11081
11147
  });
11082
11148
  r = se(r), i.value = r;
11083
11149
  },
@@ -11154,7 +11220,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11154
11220
  },
11155
11221
  content: {
11156
11222
  kind: "component",
11157
- component: h(Up)
11223
+ component: h(qp)
11158
11224
  },
11159
11225
  inputs: t
11160
11226
  }), f.open(), c("opened"), A.afterClosed.then(() => {
@@ -11190,12 +11256,12 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11190
11256
  if (!e) return null;
11191
11257
  let t = e.split(" ");
11192
11258
  if (t.length < 2) return null;
11193
- let n = Cf(t[0], f.effectiveDateFormat.value.pattern, {
11259
+ let n = Df(t[0], f.effectiveDateFormat.value.pattern, {
11194
11260
  min: ee.value,
11195
11261
  max: te.value
11196
11262
  });
11197
11263
  if (!n) return null;
11198
- let r = Zd(t.slice(1).join(" "));
11264
+ let r = tf(t.slice(1).join(" "));
11199
11265
  return r ? n.toPlainDateTime({
11200
11266
  hour: r.hours,
11201
11267
  minute: r.minutes
@@ -11211,7 +11277,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11211
11277
  key: 0,
11212
11278
  id: _,
11213
11279
  class: "coar-pdtp-label"
11214
- }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Wp, "*")) : a("", !0)])) : a("", !0),
11280
+ }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Jp, "*")) : a("", !0)])) : a("", !0),
11215
11281
  s("div", {
11216
11282
  ref_key: "triggerRef",
11217
11283
  ref: D,
@@ -11235,7 +11301,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11235
11301
  }, [u(Z, {
11236
11302
  name: "x",
11237
11303
  size: "auto"
11238
- })], 10, Kp),
11304
+ })], 10, Xp),
11239
11305
  s("input", {
11240
11306
  id: b,
11241
11307
  ref_key: "dateInputRef",
@@ -11253,7 +11319,7 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11253
11319
  onInput: pe,
11254
11320
  onBlur: me,
11255
11321
  onKeydown: de
11256
- }, null, 40, qp),
11322
+ }, null, 40, Zp),
11257
11323
  s("button", {
11258
11324
  type: "button",
11259
11325
  class: "coar-pdtp-btn",
@@ -11264,32 +11330,32 @@ var ep = { class: "coar-plain-date-picker-calendar-column" }, tp = ["aria-label"
11264
11330
  }, [u(Z, {
11265
11331
  name: "calendar",
11266
11332
  size: "s"
11267
- })], 8, Jp)
11268
- ], 10, Gp),
11333
+ })], 8, Qp)
11334
+ ], 10, Yp),
11269
11335
  B.value ? (w(), o("div", {
11270
11336
  key: 1,
11271
11337
  id: T,
11272
11338
  class: y(["coar-form-field-message", { "coar-form-field-message--error": R.value }]),
11273
11339
  title: B.value
11274
- }, P(B.value), 11, Yp)) : a("", !0)
11340
+ }, P(B.value), 11, $p)) : a("", !0)
11275
11341
  ], 2));
11276
11342
  }
11277
- }), [["__scopeId", "data-v-a4951fe2"]]);
11343
+ }), [["__scopeId", "data-v-55dfa9b2"]]);
11278
11344
  //#endregion
11279
11345
  //#region src/components/date-time/_shared/timezone-helpers.ts
11280
- function Zp() {
11346
+ function tm() {
11281
11347
  try {
11282
11348
  return ["UTC", ...Intl.supportedValuesOf("timeZone")];
11283
11349
  } catch {
11284
11350
  return ["UTC"];
11285
11351
  }
11286
11352
  }
11287
- function Qp(e, t) {
11353
+ function nm(e, t) {
11288
11354
  let n = t ?? Y.Now.instant();
11289
11355
  try {
11290
11356
  let t = n.toZonedDateTimeISO(e).offsetNanoseconds, r = Math.round(t / 6e10);
11291
11357
  return {
11292
- offset: $p(r),
11358
+ offset: rm(r),
11293
11359
  offsetMinutes: r
11294
11360
  };
11295
11361
  } catch {
@@ -11299,21 +11365,21 @@ function Qp(e, t) {
11299
11365
  };
11300
11366
  }
11301
11367
  }
11302
- function $p(e) {
11368
+ function rm(e) {
11303
11369
  if (e === 0) return "UTC";
11304
11370
  let t = e >= 0 ? "+" : "-", n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
11305
11371
  return i === 0 ? `UTC${t}${r}` : `UTC${t}${r}:${String(i).padStart(2, "0")}`;
11306
11372
  }
11307
- function em(e) {
11373
+ function im(e) {
11308
11374
  if (e === "UTC") return "UTC";
11309
11375
  let t = e.split("/");
11310
11376
  return t[t.length - 1].replace(/_/g, " ");
11311
11377
  }
11312
- function tm(e, t) {
11313
- let n = em(e), { offset: r } = Qp(e, t);
11378
+ function am(e, t) {
11379
+ let n = im(e), { offset: r } = nm(e, t);
11314
11380
  return `${n} (${r})`;
11315
11381
  }
11316
- function nm(e, t) {
11382
+ function om(e, t) {
11317
11383
  if (!t || t.length === 0) return e;
11318
11384
  let n = t.map((e) => {
11319
11385
  let t = e.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
@@ -11321,19 +11387,19 @@ function nm(e, t) {
11321
11387
  });
11322
11388
  return e.filter((e) => n.some((t) => t.test(e)));
11323
11389
  }
11324
- function rm(e, t) {
11325
- let { offset: n, offsetMinutes: r } = Qp(e, t);
11390
+ function sm(e, t) {
11391
+ let { offset: n, offsetMinutes: r } = nm(e, t);
11326
11392
  return {
11327
11393
  id: e,
11328
- city: em(e),
11394
+ city: im(e),
11329
11395
  offset: n,
11330
11396
  offsetMinutes: r
11331
11397
  };
11332
11398
  }
11333
- function im(e, t, n) {
11399
+ function cm(e, t, n) {
11334
11400
  let r = t?.trim().toLowerCase(), i = /* @__PURE__ */ new Map();
11335
11401
  for (let t of e) {
11336
- let e = rm(t, n);
11402
+ let e = sm(t, n);
11337
11403
  if (r && r.length > 0) {
11338
11404
  let n = e.city.toLowerCase().includes(r), i = t.toLowerCase().includes(r);
11339
11405
  if (!n && !i) continue;
@@ -11353,25 +11419,25 @@ function im(e, t, n) {
11353
11419
  }
11354
11420
  //#endregion
11355
11421
  //#region src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue?vue&type=script&setup=true&lang.ts
11356
- var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column" }, sm = ["aria-label"], cm = { class: "coar-zdtp-side-column" }, lm = {
11422
+ var lm = { class: "coar-zdtp-body" }, um = { class: "coar-zdtp-calendar-column" }, dm = ["aria-label"], fm = { class: "coar-zdtp-side-column" }, pm = {
11357
11423
  key: 0,
11358
11424
  class: "coar-zdtp-side-header"
11359
- }, um = ["disabled", "aria-label"], dm = { class: "coar-zdtp-year" }, fm = ["disabled", "aria-label"], pm = {
11425
+ }, mm = ["disabled", "aria-label"], hm = { class: "coar-zdtp-year" }, gm = ["disabled", "aria-label"], _m = {
11360
11426
  key: 1,
11361
11427
  class: "coar-zdtp-side-header coar-zdtp-side-header--search"
11362
- }, mm = ["placeholder", "onKeydown"], hm = ["aria-label"], gm = { class: "coar-zdtp-tz-group-header" }, _m = ["onClick"], vm = { class: "coar-zdtp-tz-picker-item-city" }, ym = { class: "coar-zdtp-tz-picker-item-offset" }, bm = ["aria-label"], xm = ["aria-selected", "onClick"], Sm = { class: "coar-zdtp-time-section" }, Cm = { class: "coar-zdtp-display-tz-label" }, wm = { class: "coar-zdtp-display-tz-btn-label" }, Tm = {
11428
+ }, vm = ["placeholder", "onKeydown"], ym = ["aria-label"], bm = { class: "coar-zdtp-tz-group-header" }, xm = ["onClick"], Sm = { class: "coar-zdtp-tz-picker-item-city" }, Cm = { class: "coar-zdtp-tz-picker-item-offset" }, wm = ["aria-label"], Tm = ["aria-selected", "onClick"], Em = { class: "coar-zdtp-time-section" }, Dm = { class: "coar-zdtp-display-tz-label" }, Om = { class: "coar-zdtp-display-tz-btn-label" }, km = {
11363
11429
  key: 0,
11364
11430
  class: "coar-zdtp-events"
11365
- }, Em = {
11431
+ }, Am = {
11366
11432
  key: 0,
11367
11433
  class: "coar-zdtp-footer-placeholder"
11368
- }, Dm = {
11434
+ }, jm = {
11369
11435
  key: 1,
11370
11436
  class: "coar-zdtp-footer-edit"
11371
- }, Om = ["aria-label"], km = {
11437
+ }, Mm = ["aria-label"], Nm = {
11372
11438
  key: 2,
11373
11439
  class: "coar-zdtp-footer-display"
11374
- }, Am = { class: "coar-zdtp-footer-tz-name" }, jm = { class: "coar-zdtp-footer-tz-value" }, Mm = ["aria-label"], Nm = /* @__PURE__ */ d({
11440
+ }, Pm = { class: "coar-zdtp-footer-tz-name" }, Fm = { class: "coar-zdtp-footer-tz-value" }, Im = ["aria-label"], Lm = /* @__PURE__ */ d({
11375
11441
  __name: "CoarZonedDateTimePickerPanel",
11376
11442
  props: {
11377
11443
  modelValue: {},
@@ -11429,9 +11495,9 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11429
11495
  let n = Y.PlainDate.compare(e, t.startDate) >= 0, r = t.endDate ? Y.PlainDate.compare(e, t.endDate) <= 0 : Y.PlainDate.compare(e, t.startDate) === 0;
11430
11496
  return n && r;
11431
11497
  }) : [];
11432
- }), E = r(() => nm(n.allTimezones, n.timezoneFilter)), D = r(() => im(E.value, d.value)), A = r(() => E.value.map((e) => ({
11498
+ }), E = r(() => om(n.allTimezones, n.timezoneFilter)), D = r(() => cm(E.value, d.value)), A = r(() => E.value.map((e) => ({
11433
11499
  value: e,
11434
- label: tm(e)
11500
+ label: am(e)
11435
11501
  })));
11436
11502
  function j() {
11437
11503
  c.value = !0, d.value = "", v(() => {
@@ -11458,7 +11524,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11458
11524
  function R() {
11459
11525
  l.value = !1;
11460
11526
  }
11461
- return (n, r) => (w(), o("div", { class: y(["coar-zdtp-panel", { "coar-zdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", am, [s("div", om, [u(Rf, {
11527
+ return (n, r) => (w(), o("div", { class: y(["coar-zdtp-panel", { "coar-zdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", lm, [s("div", um, [u(Hf, {
11462
11528
  "model-value": t.modelValue,
11463
11529
  "active-month": t.activeMonth,
11464
11530
  min: t.min ?? void 0,
@@ -11491,8 +11557,8 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11491
11557
  }, [u(Z, {
11492
11558
  name: S.value === "up" ? "chevron-up" : "chevron-down",
11493
11559
  size: "xs"
11494
- }, null, 8, ["name"])], 8, sm)) : a("", !0)]), s("div", cm, [
11495
- c.value ? (w(), o("div", pm, [K(s("input", {
11560
+ }, null, 8, ["name"])], 8, dm)) : a("", !0)]), s("div", fm, [
11561
+ c.value ? (w(), o("div", _m, [K(s("input", {
11496
11562
  ref_key: "tzSearchInputRef",
11497
11563
  ref: f,
11498
11564
  "onUpdate:modelValue": r[3] ||= (e) => d.value = e,
@@ -11500,7 +11566,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11500
11566
  class: "coar-zdtp-tz-search-input",
11501
11567
  placeholder: L(i)("coar.ui.zonedDateTimePicker.searchTimezone", void 0, "Search timezone..."),
11502
11568
  onKeydown: ee(te(M, ["stop"]), ["escape"])
11503
- }, null, 40, mm), [[H, d.value]]), s("button", {
11569
+ }, null, 40, vm), [[H, d.value]]), s("button", {
11504
11570
  type: "button",
11505
11571
  class: "coar-zdtp-tz-search-close",
11506
11572
  "aria-label": L(i)("coar.ui.zonedDateTimePicker.closeTimezoneSearch", void 0, "Close timezone search"),
@@ -11508,7 +11574,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11508
11574
  }, [u(Z, {
11509
11575
  name: "x",
11510
11576
  size: "xs"
11511
- })], 8, hm)])) : (w(), o("div", lm, [
11577
+ })], 8, ym)])) : (w(), o("div", pm, [
11512
11578
  s("button", {
11513
11579
  type: "button",
11514
11580
  class: "coar-zdtp-year-btn",
@@ -11518,8 +11584,8 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11518
11584
  }, [u(Z, {
11519
11585
  name: "chevron-left",
11520
11586
  size: "s"
11521
- })], 8, um),
11522
- s("span", dm, P(m.value), 1),
11587
+ })], 8, mm),
11588
+ s("span", hm, P(m.value), 1),
11523
11589
  s("button", {
11524
11590
  type: "button",
11525
11591
  class: "coar-zdtp-year-btn",
@@ -11529,7 +11595,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11529
11595
  }, [u(Z, {
11530
11596
  name: "chevron-right",
11531
11597
  size: "s"
11532
- })], 8, fm)
11598
+ })], 8, gm)
11533
11599
  ])),
11534
11600
  c.value ? K((w(), o("div", {
11535
11601
  key: 2,
@@ -11539,12 +11605,12 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11539
11605
  }, [(w(!0), o(e, null, k(D.value, (n) => (w(), o("div", {
11540
11606
  key: n.name,
11541
11607
  class: "coar-zdtp-tz-group"
11542
- }, [s("div", gm, P(n.name), 1), (w(!0), o(e, null, k(n.items, (e) => (w(), o("button", {
11608
+ }, [s("div", bm, P(n.name), 1), (w(!0), o(e, null, k(n.items, (e) => (w(), o("button", {
11543
11609
  key: e.id,
11544
11610
  type: "button",
11545
11611
  class: y(["coar-zdtp-tz-picker-item", { "coar-zdtp-tz-picker-item--active": e.id === t.effectiveDisplayTimeZone }]),
11546
11612
  onClick: (t) => N(e.id)
11547
- }, [s("span", vm, P(e.city), 1), s("span", ym, P(e.offset), 1)], 10, _m))), 128))]))), 128))])), [[L(Fs), {
11613
+ }, [s("span", Sm, P(e.city), 1), s("span", Cm, P(e.offset), 1)], 10, xm))), 128))]))), 128))])), [[L(Fs), {
11548
11614
  overflowX: "hidden",
11549
11615
  autoHide: "leave"
11550
11616
  }]]) : a("", !0),
@@ -11560,8 +11626,8 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11560
11626
  role: "option",
11561
11627
  "aria-selected": e.isActive,
11562
11628
  onClick: (n) => t.onSelectMonth(e.yearMonth)
11563
- }, P(e.name), 11, xm))), 128))], 8, bm),
11564
- s("div", Sm, [u(_f, {
11629
+ }, P(e.name), 11, Tm))), 128))], 8, wm),
11630
+ s("div", Em, [u(xf, {
11565
11631
  "model-value": t.selectedTime ?? void 0,
11566
11632
  "use24-hour": t.use24Hour,
11567
11633
  "minute-step": t.minuteStep,
@@ -11577,16 +11643,16 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11577
11643
  "max",
11578
11644
  "onUpdate:modelValue"
11579
11645
  ])]),
11580
- s("div", Cm, P(L(i)("coar.ui.zonedDateTimePicker.displayTimezone", void 0, "Display Timezone")), 1),
11646
+ s("div", Dm, P(L(i)("coar.ui.zonedDateTimePicker.displayTimezone", void 0, "Display Timezone")), 1),
11581
11647
  s("button", {
11582
11648
  type: "button",
11583
11649
  class: "coar-zdtp-display-tz-btn",
11584
11650
  onClick: j
11585
- }, [s("span", wm, P(L(tm)(t.effectiveDisplayTimeZone)), 1), u(Z, {
11651
+ }, [s("span", Om, P(L(am)(t.effectiveDisplayTimeZone)), 1), u(Z, {
11586
11652
  name: "chevron-down",
11587
11653
  size: "xs"
11588
11654
  })]),
11589
- T.value.length > 0 ? K((w(), o("div", Tm, [(w(!0), o(e, null, k(T.value, (e, t) => (w(), o("div", {
11655
+ T.value.length > 0 ? K((w(), o("div", km, [(w(!0), o(e, null, k(T.value, (e, t) => (w(), o("div", {
11590
11656
  key: t,
11591
11657
  class: y(["coar-zdtp-event-item", e.cssClass])
11592
11658
  }, P(e.description), 3))), 128))])), [[L(Fs), {
@@ -11594,7 +11660,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11594
11660
  autoHide: "leave"
11595
11661
  }]]) : a("", !0)
11596
11662
  ], 64))
11597
- ])]), s("div", { class: y(["coar-zdtp-footer", { "coar-zdtp-footer--differs": t.timeZonesDiffer }]) }, [t.hasValue ? l.value ? (w(), o("div", Dm, [u(Js, {
11663
+ ])]), s("div", { class: y(["coar-zdtp-footer", { "coar-zdtp-footer--differs": t.timeZonesDiffer }]) }, [t.hasValue ? l.value ? (w(), o("div", jm, [u(Js, {
11598
11664
  "model-value": t.valueTimeZone,
11599
11665
  options: A.value,
11600
11666
  appearance: "inline",
@@ -11602,7 +11668,9 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11602
11668
  searchable: "",
11603
11669
  "search-placeholder": L(i)("coar.ui.zonedDateTimePicker.searchTimezone", void 0, "Search timezone..."),
11604
11670
  class: "coar-zdtp-footer-tz-select",
11605
- "onUpdate:modelValue": r[4] ||= (e) => I(e)
11671
+ "onUpdate:modelValue": r[4] ||= (e) => {
11672
+ e !== null && I(e);
11673
+ }
11606
11674
  }, null, 8, [
11607
11675
  "model-value",
11608
11676
  "options",
@@ -11615,14 +11683,14 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11615
11683
  }, [u(Z, {
11616
11684
  name: "x",
11617
11685
  size: "xs"
11618
- })], 8, Om)])) : (w(), o("div", km, [
11686
+ })], 8, Mm)])) : (w(), o("div", Nm, [
11619
11687
  u(Z, {
11620
11688
  name: "map-pin",
11621
11689
  size: "xs",
11622
11690
  class: "coar-zdtp-footer-icon"
11623
11691
  }),
11624
- s("span", Am, P(t.valueTimeZoneLabel), 1),
11625
- s("span", jm, P(t.formatValueInValueTz), 1),
11692
+ s("span", Pm, P(t.valueTimeZoneLabel), 1),
11693
+ s("span", Fm, P(t.formatValueInValueTz), 1),
11626
11694
  s("button", {
11627
11695
  type: "button",
11628
11696
  class: "coar-zdtp-footer-lock",
@@ -11631,28 +11699,28 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11631
11699
  }, [u(Z, {
11632
11700
  name: "settings",
11633
11701
  size: "xs"
11634
- })], 8, Mm)
11635
- ])) : (w(), o("span", Em, [u(Z, {
11702
+ })], 8, Im)
11703
+ ])) : (w(), o("span", Am, [u(Z, {
11636
11704
  name: "map-pin",
11637
11705
  size: "xs"
11638
11706
  }), s("span", null, P(L(i)("coar.ui.zonedDateTimePicker.eventTimezone", void 0, "Event timezone")), 1)]))], 2)], 2));
11639
11707
  }
11640
- }), Pm = {
11708
+ }), Rm = {
11641
11709
  key: 0,
11642
11710
  class: "coar-zdtp-required",
11643
11711
  "aria-hidden": "true"
11644
- }, Fm = [
11712
+ }, zm = [
11645
11713
  "aria-expanded",
11646
11714
  "aria-controls",
11647
11715
  "aria-labelledby",
11648
11716
  "aria-invalid"
11649
- ], Im = ["aria-label", "disabled"], Lm = [
11717
+ ], Bm = ["aria-label", "disabled"], Vm = [
11650
11718
  "placeholder",
11651
11719
  "value",
11652
11720
  "disabled",
11653
11721
  "readonly",
11654
11722
  "aria-describedby"
11655
- ], Rm = ["title"], zm = ["aria-label", "disabled"], Bm = ["disabled", "aria-label"], Vm = /* @__PURE__ */ X(/* @__PURE__ */ d({
11723
+ ], Hm = ["title"], Um = ["aria-label", "disabled"], Wm = ["disabled", "aria-label"], Gm = /* @__PURE__ */ X(/* @__PURE__ */ d({
11656
11724
  __name: "CoarZonedDateTimePicker",
11657
11725
  props: /* @__PURE__ */ g({
11658
11726
  label: { default: "" },
@@ -11710,34 +11778,34 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11710
11778
  }),
11711
11779
  emits: /* @__PURE__ */ g(["opened", "closed"], ["update:modelValue"]),
11712
11780
  setup(e, { emit: t }) {
11713
- let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Yf({
11781
+ let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = $f({
11714
11782
  locale: r(() => n.locale),
11715
11783
  dateFormat: r(() => n.dateFormat)
11716
11784
  }), p = O(i.value?.toPlainDateTime().toPlainDate().toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = O(null), g = O(null), _ = `coar-zdtp-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, b = `${_}-label`, x = `${_}-input`, T = `${_}-panel`, D = `${_}-message`, k = O(null), A = O(null), j = null, M = O(""), N = r(() => f.timezone.value || Intl.DateTimeFormat().resolvedOptions().timeZone || "UTC"), F = r(() => i.value?.timeZoneId ?? null), I = r(() => g.value ?? N.value), R = r(() => n.timeZone ?? N.value), B = r(() => F.value != null && F.value !== N.value), V = r(() => F.value != null && I.value !== F.value), H = r(() => {
11717
11785
  let e = I.value, t = N.value, n = F.value;
11718
11786
  return e === t ? "home" : n && e === n ? "location" : "world";
11719
- }), W = r(() => B.value || H.value !== "home"), G = r(() => tm(I.value)), K = r(() => {
11787
+ }), W = r(() => B.value || H.value !== "home"), G = r(() => am(I.value)), K = r(() => {
11720
11788
  let e = F.value;
11721
- return e ? tm(e) : "";
11722
- }), ee = Zp(), J = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !Yd(f.effectiveLocale.value)), ne;
11789
+ return e ? am(e) : "";
11790
+ }), ee = tm(), J = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !$d(f.effectiveLocale.value)), ne;
11723
11791
  function re() {
11724
11792
  if (ne?.destroy(), !A.value) return;
11725
- let e = $f(f.effectiveDateFormat.value.pattern, !J.value);
11793
+ let e = rp(f.effectiveDateFormat.value.pattern, !J.value);
11726
11794
  ne = new ie(A.value, e);
11727
11795
  }
11728
11796
  function ae(e) {
11729
11797
  let t = I.value, n = e.withTimeZone(t);
11730
- return `${Sf(n.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${Xd(n.hour, n.minute, J.value)}`;
11798
+ return `${Ef(n.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${ef(n.hour, n.minute, J.value)}`;
11731
11799
  }
11732
11800
  function oe() {
11733
- return i.value ? `${Sf(i.value.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${Xd(i.value.hour, i.value.minute, J.value)}` : "";
11801
+ return i.value ? `${Ef(i.value.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${ef(i.value.hour, i.value.minute, J.value)}` : "";
11734
11802
  }
11735
11803
  function se(e) {
11736
11804
  let t = e.trim().split(/\s+/);
11737
11805
  if (t.length < 2) return null;
11738
- let n = t[0], r = t.slice(1).join(" "), i = Cf(n, f.effectiveDateFormat.value.pattern);
11806
+ let n = t[0], r = t.slice(1).join(" "), i = Df(n, f.effectiveDateFormat.value.pattern);
11739
11807
  if (!i) return null;
11740
- let a = Zd(r);
11808
+ let a = tf(r);
11741
11809
  if (!a) return null;
11742
11810
  let o = i.toPlainDateTime({
11743
11811
  hour: a.hours,
@@ -11813,7 +11881,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11813
11881
  onDateSelected: (e) => {
11814
11882
  let t = ge.value ?? n.defaultTime, r = e.toPlainDateTime({
11815
11883
  hour: t.hours,
11816
- minute: nf(t.minutes, n.minuteStep)
11884
+ minute: sf(t.minutes, n.minuteStep)
11817
11885
  }), a = F.value ?? R.value, o;
11818
11886
  o = pe.value === a ? r.toZonedDateTime(a) : r.toZonedDateTime(pe.value).withTimeZone(a), o = we(o), i.value = o;
11819
11887
  },
@@ -11904,7 +11972,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11904
11972
  },
11905
11973
  content: {
11906
11974
  kind: "component",
11907
- component: h(Nm)
11975
+ component: h(Lm)
11908
11976
  },
11909
11977
  inputs: t
11910
11978
  }), f.open(), c("opened"), j.afterClosed.then(() => {
@@ -11953,7 +12021,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11953
12021
  id: b,
11954
12022
  class: "coar-zdtp-label",
11955
12023
  for: x
11956
- }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Pm, "*")) : a("", !0)])) : a("", !0),
12024
+ }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Rm, "*")) : a("", !0)])) : a("", !0),
11957
12025
  s("div", {
11958
12026
  ref_key: "triggerRef",
11959
12027
  ref: k,
@@ -11980,8 +12048,8 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11980
12048
  onClick: Oe
11981
12049
  }, [u(Z, {
11982
12050
  name: "x",
11983
- size: "xs"
11984
- })], 10, Im),
12051
+ size: "auto"
12052
+ })], 10, Bm),
11985
12053
  s("input", {
11986
12054
  id: x,
11987
12055
  ref_key: "dateInputRef",
@@ -11996,12 +12064,12 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
11996
12064
  autocomplete: "off",
11997
12065
  onInput: ke,
11998
12066
  onBlur: Ae
11999
- }, null, 40, Lm),
12067
+ }, null, 40, Vm),
12000
12068
  i.value ? (w(), o("span", {
12001
12069
  key: 0,
12002
12070
  class: "coar-zdtp-tz-inline",
12003
12071
  title: G.value
12004
- }, P(G.value), 9, Rm)) : a("", !0),
12072
+ }, P(G.value), 9, Hm)) : a("", !0),
12005
12073
  s("button", {
12006
12074
  type: "button",
12007
12075
  class: y(["coar-zdtp-tz-indicator", {
@@ -12015,7 +12083,7 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
12015
12083
  }, [u(Z, {
12016
12084
  name: Me.value,
12017
12085
  size: "xs"
12018
- }, null, 8, ["name"])], 10, zm),
12086
+ }, null, 8, ["name"])], 10, Um),
12019
12087
  s("button", {
12020
12088
  type: "button",
12021
12089
  class: "coar-zdtp-btn",
@@ -12026,8 +12094,8 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
12026
12094
  }, [u(Z, {
12027
12095
  name: "calendar",
12028
12096
  size: "s"
12029
- })], 8, Bm)
12030
- ], 42, Fm),
12097
+ })], 8, Wm)
12098
+ ], 42, zm),
12031
12099
  le.value ? (w(), o("div", {
12032
12100
  key: 1,
12033
12101
  id: D,
@@ -12036,6 +12104,6 @@ var am = { class: "coar-zdtp-body" }, om = { class: "coar-zdtp-calendar-column"
12036
12104
  }, P(le.value), 3)) : a("", !0)
12037
12105
  ], 2));
12038
12106
  }
12039
- }), [["__scopeId", "data-v-1605cce9"]]);
12107
+ }), [["__scopeId", "data-v-c6c2a031"]]);
12040
12108
  //#endregion
12041
- export { Fe as COAR_BUILTIN_ICON_SOURCE_KEY, Zf as COAR_DATE_FORMAT_TO_MASKITO_MODE, Xf as COAR_DEFAULT_TIME_FORMAT, Pe as COAR_ICON_SERVICE_KEY, ze as CORE_ICONS, Bt as CoarAvatar, ct as CoarBadge, nd as CoarBreadcrumb, id as CoarBreadcrumbItem, $e as CoarButton, _t as CoarCard, gn as CoarCheckbox, jt as CoarCodeBlock, Me as CoarCollapse, Uu as CoarContextMenu, Ql as CoarDialogShell, rt as CoarDivider, cl as CoarDualListbox, ke as CoarFade, Oe as CoarFormField, Le as CoarHttpIconSource, Z as CoarIcon, Ie as CoarIconMapSource, tt as CoarIconPlugin, Re as CoarIconService, nl as CoarListbox, yu as CoarMenu, Du as CoarMenuDivider, Ou as CoarMenuHeading, Cu as CoarMenuItem, qf as CoarMonthList, Oc as CoarMultiSelect, Jd as CoarNavbar, lt as CoarNote, un as CoarNumberInput, wl as CoarOverlayHost, dl as CoarOverlayOutlet, or as CoarOverlayPlugin, pd as CoarPagination, en as CoarPasswordInput, wp as CoarPlainDatePicker, Xp as CoarPlainDateTimePicker, jl as CoarPopconfirm, Al as CoarPopconfirmPanel, Wl as CoarPopover, pt as CoarProgressBar, wn as CoarRadioButton, bn as CoarRadioGroup, je as CoarScale, Rf as CoarScrollableCalendar, Js as CoarSelect, wd as CoarSidebar, Ud as CoarSidebarDivider, Bd as CoarSidebarGroup, Hd as CoarSidebarHeading, Od as CoarSidebarItem, Wd as CoarSidebarSpacer, Ae as CoarSlide, at as CoarSpinner, Fu as CoarSubExpand, Vu as CoarSubFlyout, Vu as CoarSubmenuItem, On as CoarSwitch, Gu as CoarTab, $u as CoarTabGroup, Vt as CoarTable, Pt as CoarTag, zc as CoarTagSelect, Yt as CoarTextInput, _f as CoarTimePicker, Cl as CoarToastContainer, xl as CoarToastItem, Vm as CoarZonedDateTimePicker, Ce as FORM_FIELD_INJECTION_KEY, cu as MenuCascade, An as OVERLAY_DEFAULTS, nr as OVERLAY_PARENT_KEY, tr as OVERLAY_SERVICE_KEY, Ne as PRESET_SIZES, _n as RADIO_GROUP_INJECTION_KEY, hd as SIDEBAR_COLLAPSED_KEY, gd as SIDEBAR_ICON_SIZE_KEY, Yn as TOAST_SERVICE_KEY, zn as computeOverlayCoordinates, et as createCoarIconService, Kn as createOverlayService, Qn as createToastService, pr as dialogPreset, Fn as getAnchorRect, Nn as getContainerRect, ar as getOverlayService, Rn as getScrollParents, Is as getScrollbarInstance, er as getToastService, Mn as getViewportRect, fr as hoverMenuPreset, ur as menuPreset, lr as modalPreset, yr as popconfirmPreset, fu as provideMenuCascade, mu as provideMenuClose, jn as resolveOverlaySpec, dr as selectPreset, be as setCoarDragImageFromElement, xe as setCoarDragImageFromHtml, cr as tooltipPreset, Wu as useContextMenu, ru as useDialog, ve as useDragDrop, pu as useMenuCascade, hu as useMenuClose, sr as useOverlay, rr as useOverlayParent, Rl as useToast, le as useVirtualList, Fs as vScrollbar, uc as vTooltip };
12109
+ export { Fe as COAR_BUILTIN_ICON_SOURCE_KEY, tp as COAR_DATE_FORMAT_TO_MASKITO_MODE, ep as COAR_DEFAULT_TIME_FORMAT, Pe as COAR_ICON_SERVICE_KEY, ze as CORE_ICONS, Bt as CoarAvatar, ct as CoarBadge, od as CoarBreadcrumb, cd as CoarBreadcrumbItem, $e as CoarButton, _t as CoarCard, gn as CoarCheckbox, jt as CoarCodeBlock, Me as CoarCollapse, Uu as CoarContextMenu, Ql as CoarDialogShell, rt as CoarDivider, cl as CoarDualListbox, ke as CoarFade, Oe as CoarFormField, Le as CoarHttpIconSource, Z as CoarIcon, Ie as CoarIconMapSource, tt as CoarIconPlugin, Re as CoarIconService, nl as CoarListbox, yu as CoarMenu, Du as CoarMenuDivider, Ou as CoarMenuHeading, Cu as CoarMenuItem, Zf as CoarMonthList, Oc as CoarMultiSelect, Qd as CoarNavbar, lt as CoarNote, un as CoarNumberInput, wl as CoarOverlayHost, dl as CoarOverlayOutlet, or as CoarOverlayPlugin, _d as CoarPagination, en as CoarPasswordInput, Op as CoarPlainDatePicker, em as CoarPlainDateTimePicker, jl as CoarPopconfirm, Al as CoarPopconfirmPanel, Wl as CoarPopover, pt as CoarProgressBar, wn as CoarRadioButton, bn as CoarRadioGroup, je as CoarScale, Hf as CoarScrollableCalendar, rd as CoarSegmentedControl, Js as CoarSelect, Od as CoarSidebar, qd as CoarSidebarDivider, Wd as CoarSidebarGroup, Kd as CoarSidebarHeading, Md as CoarSidebarItem, Jd as CoarSidebarSpacer, Ae as CoarSlide, at as CoarSpinner, Fu as CoarSubExpand, Vu as CoarSubFlyout, Vu as CoarSubmenuItem, On as CoarSwitch, Gu as CoarTab, $u as CoarTabGroup, Vt as CoarTable, Pt as CoarTag, zc as CoarTagSelect, Yt as CoarTextInput, xf as CoarTimePicker, Cl as CoarToastContainer, xl as CoarToastItem, Gm as CoarZonedDateTimePicker, Ce as FORM_FIELD_INJECTION_KEY, cu as MenuCascade, An as OVERLAY_DEFAULTS, nr as OVERLAY_PARENT_KEY, tr as OVERLAY_SERVICE_KEY, Ne as PRESET_SIZES, _n as RADIO_GROUP_INJECTION_KEY, yd as SIDEBAR_COLLAPSED_KEY, bd as SIDEBAR_ICON_SIZE_KEY, Yn as TOAST_SERVICE_KEY, zn as computeOverlayCoordinates, et as createCoarIconService, Kn as createOverlayService, Qn as createToastService, pr as dialogPreset, Fn as getAnchorRect, Nn as getContainerRect, ar as getOverlayService, Rn as getScrollParents, Is as getScrollbarInstance, er as getToastService, Mn as getViewportRect, fr as hoverMenuPreset, ur as menuPreset, lr as modalPreset, yr as popconfirmPreset, fu as provideMenuCascade, mu as provideMenuClose, jn as resolveOverlaySpec, dr as selectPreset, be as setCoarDragImageFromElement, xe as setCoarDragImageFromHtml, cr as tooltipPreset, Wu as useContextMenu, ru as useDialog, ve as useDragDrop, pu as useMenuCascade, hu as useMenuClose, sr as useOverlay, rr as useOverlayParent, Rl as useToast, le as useVirtualList, Fs as vScrollbar, uc as vTooltip };