@weni/unnnic-system 2.32.1-alpha.2 → 2.33.1-alpha.0

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
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 2.33.0 (2025-05-12)
9
+
10
+ ### Added
11
+
12
+ - Added SelectSmart `enableSearchByValue` prop. This allows you to search for items by the value field
13
+
8
14
  ## 2.32.0 (2025-04-30)
9
15
 
10
16
  ### Added
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-a84c3e6a.mjs";
1
+ import { h as n } from "./index-a7b6ee28.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Spanish [es]
@@ -15595,7 +15595,7 @@ const zY = {
15595
15595
  default: !1
15596
15596
  }
15597
15597
  },
15598
- emits: ["update:model-value"],
15598
+ emits: ["update:model-value", "selectDate"],
15599
15599
  data() {
15600
15600
  return {
15601
15601
  showCalendarFilter: !1
@@ -15625,6 +15625,13 @@ const zY = {
15625
15625
  window.document.body.removeEventListener("click", this.mouseout);
15626
15626
  },
15627
15627
  methods: {
15628
+ emitSelectDate(e) {
15629
+ const { startDate: i, endDate: n } = e, a = {
15630
+ start: oe(i, "MM-DD-YYYY").format(this.format),
15631
+ end: oe(n, "MM-DD-YYYY").format(this.format)
15632
+ };
15633
+ this.$emit("selectDate", a);
15634
+ },
15628
15635
  mouseout(e) {
15629
15636
  var i;
15630
15637
  (i = this.$refs.dropdown) != null && i.contains(e.target) || (this.showCalendarFilter = !1);
@@ -15674,12 +15681,13 @@ function IY(e, i, n, a, r, o) {
15674
15681
  minDate: n.minDate,
15675
15682
  maxDate: n.maxDate,
15676
15683
  disableClear: n.disableClear,
15684
+ onChange: o.emitSelectDate,
15677
15685
  onSubmit: o.changeDate
15678
- }, null, 8, ["type", "clearLabel", "actionLabel", "months", "days", "options", "initialStartDate", "initialEndDate", "minDate", "maxDate", "disableClear", "onSubmit"])) : N("", !0)
15686
+ }, null, 8, ["type", "clearLabel", "actionLabel", "months", "days", "options", "initialStartDate", "initialEndDate", "minDate", "maxDate", "disableClear", "onChange", "onSubmit"])) : N("", !0)
15679
15687
  ], 4)
15680
15688
  ], 2);
15681
15689
  }
15682
- const BY = /* @__PURE__ */ k(zY, [["render", IY], ["__scopeId", "data-v-d48b0741"]]);
15690
+ const BY = /* @__PURE__ */ k(zY, [["render", IY], ["__scopeId", "data-v-cf22f1fe"]]);
15683
15691
  const OY = {
15684
15692
  components: {
15685
15693
  UnnnicIcon: ce
@@ -22886,8 +22894,8 @@ function Eee(e, i, n, a, r, o) {
22886
22894
  });
22887
22895
  }
22888
22896
  const zee = /* @__PURE__ */ k(Nee, [["render", Eee], ["__scopeId", "data-v-9b793da0"]]);
22889
- import("./es-9c882140.mjs");
22890
- import("./pt-br-72caa663.mjs");
22897
+ import("./es-e2f34883.mjs");
22898
+ import("./pt-br-22fa10b1.mjs");
22891
22899
  const To = {
22892
22900
  name: "ChatsContact",
22893
22901
  components: {
@@ -1,4 +1,4 @@
1
- import { h as e } from "./index-a84c3e6a.mjs";
1
+ import { h as e } from "./index-a7b6ee28.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Portuguese (Brazil) [pt-br]