@reinosoft-ui/core 0.1.32 → 0.1.33

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.
@@ -9,4 +9,5 @@ export interface Props {
9
9
  format?: string;
10
10
  placeholder?: string;
11
11
  firstDayOfWeek?: number;
12
+ disabled?: boolean;
12
13
  }
@@ -5255,7 +5255,7 @@ const In = (e, o) => {
5255
5255
  }, _n = (e) => {
5256
5256
  const o = e.match(g1);
5257
5257
  return o ? o.reduce((t, a) => t + a.length, 0) : 0;
5258
- }, Bn = ["id", "value", "aria-invalid", "placeholder"], Dn = {
5258
+ }, Bn = ["id", "value", "aria-invalid", "disabled", "data-disabled", "placeholder"], Dn = {
5259
5259
  key: 0,
5260
5260
  class: "dp-panel"
5261
5261
  }, Rn = { class: "dp-header" }, An = { class: "month__name" }, Sn = { class: "dp-weekdays" }, Tn = {
@@ -5268,7 +5268,8 @@ const In = (e, o) => {
5268
5268
  locale: { default: "default" },
5269
5269
  format: { default: "YYYY-MM-DD" },
5270
5270
  placeholder: {},
5271
- firstDayOfWeek: { default: 0 }
5271
+ firstDayOfWeek: { default: 0 },
5272
+ disabled: { type: Boolean }
5272
5273
  }, {
5273
5274
  modelValue: {},
5274
5275
  modelModifiers: {}
@@ -5353,6 +5354,8 @@ const In = (e, o) => {
5353
5354
  onKeydown: f,
5354
5355
  onMousedown: T,
5355
5356
  "aria-invalid": !i.value && s.value !== "",
5357
+ disabled: e.disabled ? !0 : void 0,
5358
+ "data-disabled": e.disabled ? !0 : void 0,
5356
5359
  "aria-describedby": "time-help",
5357
5360
  inputmode: "numeric",
5358
5361
  autocomplete: "off",
@@ -5361,13 +5364,14 @@ const In = (e, o) => {
5361
5364
  K(he, {
5362
5365
  type: "button",
5363
5366
  class: "btn-icon",
5364
- onClick: T
5367
+ onClick: T,
5368
+ disabled: e.disabled || void 0
5365
5369
  }, {
5366
5370
  default: G(() => [
5367
5371
  K(de, { name: "calendar" })
5368
5372
  ]),
5369
5373
  _: 1
5370
- }),
5374
+ }, 8, ["disabled"]),
5371
5375
  S[2] || (S[2] = k("small", {
5372
5376
  id: "time-help",
5373
5377
  class: "sr-only"
@@ -5411,7 +5415,7 @@ const In = (e, o) => {
5411
5415
  ])) : O("", !0)
5412
5416
  ], 512));
5413
5417
  }
5414
- }), zn = /* @__PURE__ */ U(En, [["__scopeId", "data-v-d267bf32"]]), On = {
5418
+ }), zn = /* @__PURE__ */ U(En, [["__scopeId", "data-v-857e721d"]]), On = {
5415
5419
  key: 0,
5416
5420
  class: "time-panel",
5417
5421
  role: "group",
@@ -5423,7 +5427,8 @@ const In = (e, o) => {
5423
5427
  locale: { default: "default" },
5424
5428
  format: { default: "YYYY-MM-DD HH:mm" },
5425
5429
  placeholder: {},
5426
- firstDayOfWeek: { default: 0 }
5430
+ firstDayOfWeek: { default: 0 },
5431
+ disabled: { type: Boolean }
5427
5432
  }, {
5428
5433
  modelValue: {
5429
5434
  required: !0