@omniaz/vue-component-library 0.2.12 → 0.2.13

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.
@@ -31,6 +31,16 @@ declare const _default: import("vue").DefineComponent<{
31
31
  enableTimePicker: {
32
32
  type: import("vue").PropType<boolean>;
33
33
  };
34
+ presetDates: {
35
+ type: import("vue").PropType<{
36
+ label: string;
37
+ value: string | string[] | Date | Date[];
38
+ style?: Record<string, string>;
39
+ slot?: string;
40
+ noTz?: boolean;
41
+ }[]>;
42
+ default: any;
43
+ };
34
44
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
45
  modelValue: import("vue").PropType<string | string[]>;
36
46
  format: {
@@ -63,11 +73,28 @@ declare const _default: import("vue").DefineComponent<{
63
73
  enableTimePicker: {
64
74
  type: import("vue").PropType<boolean>;
65
75
  };
76
+ presetDates: {
77
+ type: import("vue").PropType<{
78
+ label: string;
79
+ value: string | string[] | Date | Date[];
80
+ style?: Record<string, string>;
81
+ slot?: string;
82
+ noTz?: boolean;
83
+ }[]>;
84
+ default: any;
85
+ };
66
86
  }>>, {
67
87
  format: string;
68
88
  mode: "range" | "single";
69
89
  outputFormat: string;
70
90
  selectText: string;
71
91
  cancelText: string;
92
+ presetDates: {
93
+ label: string;
94
+ value: string | string[] | Date | Date[];
95
+ style?: Record<string, string>;
96
+ slot?: string;
97
+ noTz?: boolean;
98
+ }[];
72
99
  }, {}>;
73
100
  export default _default;
@@ -13411,7 +13411,8 @@ const PMe = /* @__PURE__ */ pn({
13411
13411
  selectText: { default: void 0 },
13412
13412
  cancelText: { default: void 0 },
13413
13413
  enableTimePicker: { type: Boolean },
13414
- darkMode: { type: Boolean }
13414
+ darkMode: { type: Boolean },
13415
+ presetDates: { default: void 0 }
13415
13416
  }, {
13416
13417
  modelValue: {}
13417
13418
  }),
@@ -13422,6 +13423,7 @@ const PMe = /* @__PURE__ */ pn({
13422
13423
  modelValue: e.value,
13423
13424
  "onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o),
13424
13425
  range: n.mode === "range",
13426
+ "preset-dates": n.presetDates ?? [],
13425
13427
  "partial-range": !1,
13426
13428
  format: n.format || "dd.MM.yyyy HH:mm",
13427
13429
  dark: n.darkMode,
@@ -13430,7 +13432,7 @@ const PMe = /* @__PURE__ */ pn({
13430
13432
  "select-text": n.selectText,
13431
13433
  "cancel-text": n.cancelText,
13432
13434
  "enable-time-picker": n.enableTimePicker
13433
- }, null, 8, ["modelValue", "range", "format", "dark", "model-type", "locale", "select-text", "cancel-text", "enable-time-picker"]));
13435
+ }, null, 8, ["modelValue", "range", "preset-dates", "format", "dark", "model-type", "locale", "select-text", "cancel-text", "enable-time-picker"]));
13434
13436
  }
13435
13437
  });
13436
13438
  const $ne = /* @__PURE__ */ pn({