@citruslime/ui 4.1.0-beta.24 → 4.1.0-beta.26

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.
@@ -5418,6 +5418,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5418
5418
  setup(__props, { emit: __emit }) {
5419
5419
  const props = __props;
5420
5420
  const emit = __emit;
5421
+ const dateFormatLocale = inject(gridDateFormatLocaleOverride);
5421
5422
  const { t: t2, locale: locale2 } = useI18n();
5422
5423
  function getDefaultFilterOperation() {
5423
5424
  return isListColumn.value && props.column.listMode === "multi" ? FilterOperation.OR_EQUAL : props.column.type === "string" || props.column.slotType === "string" ? FilterOperation.CONTAINS : props.column.type === "datetime" || props.column.slotType === "datetime" || props.column.type === "date" || props.column.slotType === "date" ? FilterOperation.LESS_THAN : FilterOperation.EQUAL;
@@ -5810,13 +5811,13 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5810
5811
  id: `${unref(gridId)}-${_ctx.column.name}`,
5811
5812
  "model-value": currentDateFilterValue.value,
5812
5813
  "time-zone": _ctx.timeZone,
5814
+ "date-format-locale": unref(dateFormatLocale),
5813
5815
  type: _ctx.column.type === "slot" ? _ctx.column.slotType : _ctx.column.type,
5814
5816
  class: "cl:border-none cl:h-[2rem]! cl:lg:text-base! cl:mb-0 cl:pb-1 cl:text-xs cl:w-full readonly-filter",
5815
5817
  readonly: _ctx.loading,
5816
5818
  "popover-placement": "bottom-start",
5817
- placeholder: "",
5818
5819
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => setFilter(null, $event ?? ""))
5819
- }, null, 8, ["id", "model-value", "time-zone", "type", "readonly"])
5820
+ }, null, 8, ["id", "model-value", "time-zone", "date-format-locale", "type", "readonly"])
5820
5821
  ])) : isDateRangeColumn.value ? (openBlock(), createElementBlock("div", {
5821
5822
  key: 2,
5822
5823
  class: "cl:w-full",
@@ -5829,9 +5830,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5829
5830
  "time-zone": _ctx.headerDisplayTimezone,
5830
5831
  "quick-date-scope": _ctx.quickDateScope,
5831
5832
  "manual-date-selection": true,
5833
+ "date-format-locale": unref(dateFormatLocale),
5832
5834
  "popover-placement": "bottom-start",
5833
5835
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => setDateRangeFilter($event))
5834
- }, null, 8, ["id", "model-value", "time-zone", "quick-date-scope"])
5836
+ }, null, 8, ["id", "model-value", "time-zone", "quick-date-scope", "date-format-locale"])
5835
5837
  ], 8, _hoisted_2$o)) : _ctx.column.type === "number" || _ctx.column.type === "slot" && _ctx.column.slotType === "number" ? (openBlock(), createElementBlock("div", _hoisted_3$g, [
5836
5838
  createVNode(_sfc_main$U, {
5837
5839
  id: `${unref(gridId)}-${_ctx.column.name}`,
@@ -5913,7 +5915,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5913
5915
  };
5914
5916
  }
5915
5917
  });
5916
- const clUiGridFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c5ef8bbf"]]);
5918
+ const clUiGridFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-6d8e9d5c"]]);
5917
5919
  const _hoisted_1$y = { key: 1 };
5918
5920
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
5919
5921
  __name: "cl-ui-grid-filter",