@rebilly/revel 6.29.1 → 6.29.2

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/CHANGELOG.md CHANGED
@@ -1 +1,6 @@
1
- ## [6.29.1](https://github.com/Rebilly/rebilly/compare/revel-v6.29.0...revel-v6.29.1) (2024-06-17)
1
+ ## [6.29.2](https://github.com/Rebilly/rebilly/compare/revel-v6.29.1...revel-v6.29.2) (2024-06-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **recomm:** Add masks props to `r-date-input` ([#5801](https://github.com/Rebilly/rebilly/issues/5801)) ([908572d](https://github.com/Rebilly/rebilly/commit/908572d69fd380dba315fb945cb86fb7e98fe6cd))
@@ -44,6 +44,13 @@ declare const _default: import("vue").DefineComponent<{
44
44
  type: ObjectConstructor;
45
45
  default: null;
46
46
  };
47
+ /**
48
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
49
+ */
50
+ masks: {
51
+ type: ObjectConstructor;
52
+ default: () => void;
53
+ };
47
54
  }, {
48
55
  themeStyles: {
49
56
  wrapper: {
@@ -90,7 +97,9 @@ declare const _default: import("vue").DefineComponent<{
90
97
  borderLeft: string;
91
98
  };
92
99
  bars: {
93
- backgroundColor: string;
100
+ backgroundColor: string; /**
101
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
102
+ */
94
103
  };
95
104
  tintColor: string;
96
105
  };
@@ -141,6 +150,13 @@ declare const _default: import("vue").DefineComponent<{
141
150
  type: ObjectConstructor;
142
151
  default: null;
143
152
  };
153
+ /**
154
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
155
+ */
156
+ masks: {
157
+ type: ObjectConstructor;
158
+ default: () => void;
159
+ };
144
160
  }>> & {
145
161
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
146
162
  }, {
@@ -148,6 +164,7 @@ declare const _default: import("vue").DefineComponent<{
148
164
  disabled: boolean;
149
165
  modelValue: string | Date;
150
166
  validate: ValidationState;
167
+ masks: Record<string, any>;
151
168
  timezone: string;
152
169
  modelConfig: Record<string, any>;
153
170
  }>;
@@ -124,6 +124,13 @@ declare const _default: import("vue").DefineComponent<{
124
124
  type: StringConstructor;
125
125
  default: null;
126
126
  };
127
+ /**
128
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
129
+ */
130
+ masks: {
131
+ type: ObjectConstructor;
132
+ default: () => void;
133
+ };
127
134
  }, unknown, unknown, {
128
135
  isInvalid(): boolean;
129
136
  isDateRange(): boolean;
@@ -273,6 +280,13 @@ declare const _default: import("vue").DefineComponent<{
273
280
  type: StringConstructor;
274
281
  default: null;
275
282
  };
283
+ /**
284
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
285
+ */
286
+ masks: {
287
+ type: ObjectConstructor;
288
+ default: () => void;
289
+ };
276
290
  }>> & {
277
291
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
278
292
  }, {
@@ -285,6 +299,7 @@ declare const _default: import("vue").DefineComponent<{
285
299
  validate: ValidationState;
286
300
  placement: string;
287
301
  is24hr: boolean;
302
+ masks: Record<string, any>;
288
303
  locale: string;
289
304
  timezone: string;
290
305
  minDate: string | Record<string, any> | Date;
package/dist/revel.mjs CHANGED
@@ -9658,6 +9658,14 @@ const mN = /* @__PURE__ */ s0(WN, [["render", LN]]), Me = {
9658
9658
  modelConfig: {
9659
9659
  type: Object,
9660
9660
  default: null
9661
+ },
9662
+ /**
9663
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
9664
+ */
9665
+ masks: {
9666
+ type: Object,
9667
+ default: () => {
9668
+ }
9661
9669
  }
9662
9670
  },
9663
9671
  emits: ["update:modelValue"],
@@ -9692,6 +9700,7 @@ function NN(M, b, z, p, o, O) {
9692
9700
  timezone: M.timezone,
9693
9701
  "model-config": M.computedModelConfig,
9694
9702
  "model-value": M.modelValue,
9703
+ masks: M.masks,
9695
9704
  "onUpdate:modelValue": M.onDateInput
9696
9705
  }), {
9697
9706
  default: J(({ inputValue: t, inputEvents: A }) => [
@@ -9704,7 +9713,7 @@ function NN(M, b, z, p, o, O) {
9704
9713
  }, null, 8, ["value", "input-events", "disabled", "placeholder"])
9705
9714
  ]),
9706
9715
  _: 1
9707
- }, 16, ["mode", "popover", "theme-styles", "timezone", "model-config", "model-value", "onUpdate:modelValue"])
9716
+ }, 16, ["mode", "popover", "theme-styles", "timezone", "model-config", "model-value", "masks", "onUpdate:modelValue"])
9708
9717
  ]);
9709
9718
  }
9710
9719
  const yN = /* @__PURE__ */ s0(gN, [["render", NN]]), N0 = {
@@ -10343,6 +10352,14 @@ const jN = /* @__PURE__ */ s0(xN, [["render", FN]]), YN = G({
10343
10352
  locale: {
10344
10353
  type: String,
10345
10354
  default: null
10355
+ },
10356
+ /**
10357
+ * Masks are used to properly format and parse different sections of the calendar and date picker components.
10358
+ */
10359
+ masks: {
10360
+ type: Object,
10361
+ default: () => {
10362
+ }
10346
10363
  }
10347
10364
  },
10348
10365
  emits: ["update:modelValue"],
@@ -10408,8 +10425,9 @@ function GN(M, b, z, p, o, O) {
10408
10425
  "model-value": M.modelValue,
10409
10426
  "model-config": M.modelConfig,
10410
10427
  type: M.type,
10428
+ masks: M.masks,
10411
10429
  "onUpdate:modelValue": M.onValueUpdate
10412
- }), null, 16, ["model-value", "model-config", "type", "onUpdate:modelValue"])),
10430
+ }), null, 16, ["model-value", "model-config", "type", "masks", "onUpdate:modelValue"])),
10413
10431
  M.caption ? (i(), l("span", KN, P(M.caption), 1)) : C("", !0)
10414
10432
  ], 2);
10415
10433
  }