@selfeesas/shared-components 0.4.30 → 0.4.31

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.
@@ -667,6 +667,10 @@ export declare const DateRange: DefineComponent<ExtractPropTypes<__VLS_WithDefau
667
667
  idCy: string;
668
668
  }>>, {
669
669
  resetDate: () => void;
670
+ setDateRange: (dateRange: {
671
+ from: string;
672
+ to: string;
673
+ }) => void;
670
674
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
671
675
  "update:dateRange": (value: {
672
676
  from: string;
@@ -8564,7 +8564,13 @@ const Qr = {
8564
8564
  d !== f.value.to && (f.value.to = d);
8565
8565
  }
8566
8566
  ), B({
8567
- resetDate: i
8567
+ resetDate: i,
8568
+ setDateRange: (d) => {
8569
+ f.value = {
8570
+ from: d.from,
8571
+ to: d.to
8572
+ };
8573
+ }
8568
8574
  }), (d, h) => (Ge(), kt("div", Qc, [
8569
8575
  rt("div", Kc, [
8570
8576
  Ze(vn, ar(d.$attrs, {