@evercam/ui 1.0.0-preview-addingGateReportAutomation-f0815e7bc → 1.0.0-preview-addingGateReportAutomation-62c375ada

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/index.mjs CHANGED
@@ -16886,7 +16886,7 @@ const Su = wu.exports, Tu = F.extend({
16886
16886
  },
16887
16887
  computed: {
16888
16888
  customLabel() {
16889
- return this.multiple && Array.isArray(this.value) && this.value.length === 0 || !this.multiple && (this.value === null || this.value === void 0) ? this.label : this.multiple && this.customSelectionLabel.length > 0 ? this.customSelectionLabel : this.localLabel || this.label;
16889
+ return this.multiple && Array.isArray(this.value) && this.value.length === 0 ? this.searchPlaceholder : this.multiple && this.customSelectionLabel.length > 0 ? this.customSelectionLabel : this.localLabel || this.label;
16890
16890
  },
16891
16891
  filteredOptions() {
16892
16892
  if (!this.searchQuery)
@@ -16942,11 +16942,11 @@ var ku = function() {
16942
16942
  i.stopPropagation();
16943
16943
  }, input: function(i) {
16944
16944
  i.target.composing || (e.searchQuery = i.target.value);
16945
- } } })]) : [e.multiple && e.selectedOption.length === 0 || !e.selectedOption ? e._t("label", function() {
16946
- return [e.customLabel && !e.searchable ? r("span", { staticClass: "e-select-label e-text-sm" }, [e._v(e._s(e.customLabel))]) : r("span", { staticClass: "e-select-label e-text-sm e-text-gray-400" }, [e._v(e._s(e.searchPlaceholder))])];
16947
- }) : e._t("selection", function() {
16948
- return [r("span", { staticClass: "e-capitalize e-select__trigger-button-text e-truncate" }, [e._v(" " + e._s(e.customLabel) + " ")])];
16949
- })], e.showSearchClearButton ? r("button", { staticClass: "e-select__clean-search-button e-flex e-bg-transparent e-z-[2] e-absolute e-right-10 e-cursor-pointer e-border-none e-items-center e-justify-center e-w-5 e-h-5", on: { click: function(i) {
16945
+ } } })]) : [e._t("selection", function() {
16946
+ return [r("span", { staticClass: "e-capitalize e-select__trigger-button-text e-truncate", class: {
16947
+ "e-text-gray-400": e.multiple && e.selectedOption.length === 0
16948
+ } }, [e._v(" " + e._s(e.customLabel) + " ")])];
16949
+ }, { isEmpty: e.multiple ? e.selectedOption.length === 0 : !e.selectedOption, value: e.value })], e.showSearchClearButton ? r("button", { staticClass: "e-select__clean-search-button e-flex e-bg-transparent e-z-[2] e-absolute e-right-10 e-cursor-pointer e-border-none e-items-center e-justify-center e-w-5 e-h-5", on: { click: function(i) {
16950
16950
  return i.stopPropagation(), e.clearSearch.apply(null, arguments);
16951
16951
  } } }, [r("EIcon", { attrs: { color: "e-text-gray-400 hover:e-text-[#1976d2]", icon: "far fa-xmark", size: "lg" } })], 1) : e._e(), e._t("pre-append-icon", function() {
16952
16952
  return [r("span", { staticClass: "e-select__trigger-button-icon e-absolute e-inset-y-0 e-right-0 e-flex e-items-center e-justify-end e-px-3 e-pr-4 e-bg-transparent e-border-transparent e-text-gray-400" }, [r("EIcon", { attrs: { icon: n ? "fas fa-sort-up e-mt-2.5" : "fas fa-sort-down e-mb-1.5" } })], 1)];