@everchron/ec-shards 19.11.7 → 19.11.8

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/dist/ec-shards.js CHANGED
@@ -12814,6 +12814,10 @@ var op = /*#__PURE__*/ V(ip, [["render", ap], ["__scopeId", "data-v-d87a8075"]])
12814
12814
  type: Boolean,
12815
12815
  default: !1
12816
12816
  },
12817
+ searchPlaceholder: {
12818
+ type: String,
12819
+ default: "Search for folders..."
12820
+ },
12817
12821
  refreshable: {
12818
12822
  type: Boolean,
12819
12823
  default: !1
@@ -12846,6 +12850,9 @@ var op = /*#__PURE__*/ V(ip, [["render", ap], ["__scopeId", "data-v-d87a8075"]])
12846
12850
  data() {
12847
12851
  return { searchInputValue: "" };
12848
12852
  },
12853
+ watch: { searchInputValue(e) {
12854
+ this.$emit("search", e);
12855
+ } },
12849
12856
  computed: {
12850
12857
  showClear() {
12851
12858
  return this.searchInputValue.length > 0;
@@ -12863,9 +12870,6 @@ var op = /*#__PURE__*/ V(ip, [["render", ap], ["__scopeId", "data-v-d87a8075"]])
12863
12870
  }
12864
12871
  },
12865
12872
  methods: {
12866
- searchInput(e) {
12867
- this.$emit("search", this.searchInputValue);
12868
- },
12869
12873
  handleRefresh() {
12870
12874
  this.$emit("refresh");
12871
12875
  },
@@ -12897,15 +12901,14 @@ function up(e, t, n, r, i, a) {
12897
12901
  key: 1,
12898
12902
  modelValue: i.searchInputValue,
12899
12903
  "onUpdate:modelValue": t[0] ||= (e) => i.searchInputValue = e,
12900
- onInput: a.searchInput,
12901
12904
  type: "naked",
12902
12905
  "show-clear": a.showClear,
12903
12906
  class: "ecs-folder-selector-search",
12904
- placeholder: "Search for folders..."
12907
+ placeholder: n.searchPlaceholder
12905
12908
  }, null, 8, [
12906
12909
  "modelValue",
12907
- "onInput",
12908
- "show-clear"
12910
+ "show-clear",
12911
+ "placeholder"
12909
12912
  ])) : s("", !0),
12910
12913
  n.refreshable ? (T(), o(p, {
12911
12914
  key: 2,
@@ -12939,7 +12942,7 @@ function up(e, t, n, r, i, a) {
12939
12942
  _: 3
12940
12943
  }, 8, ["style", "padding"])], 6);
12941
12944
  }
12942
- var dp = /*#__PURE__*/ V(sp, [["render", up], ["__scopeId", "data-v-e8fd70d2"]]), fp = {
12945
+ var dp = /*#__PURE__*/ V(sp, [["render", up], ["__scopeId", "data-v-82248421"]]), fp = {
12943
12946
  name: "ecs-form-group",
12944
12947
  components: { EcsTextV2: br },
12945
12948
  props: {