@citruslime/ui 4.1.0-beta.18 → 4.1.0-beta.19
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/citrus-lime-ui.es.js +6 -5
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -4199,8 +4199,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4199
4199
|
const internalLocale = computed(() => props.dateFormatLocale ?? locale2.value);
|
|
4200
4200
|
const todayButtonVisible = ref(true);
|
|
4201
4201
|
const internalPlaceholder = computed(() => {
|
|
4202
|
-
if (props.placeholder) {
|
|
4203
|
-
return props.placeholder;
|
|
4202
|
+
if (props.placeholder !== null) {
|
|
4203
|
+
return props.placeholder || null;
|
|
4204
4204
|
} else {
|
|
4205
4205
|
const formatPlaceholderDateOptions = {
|
|
4206
4206
|
year: "numeric",
|
|
@@ -4211,14 +4211,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4211
4211
|
hour: "2-digit",
|
|
4212
4212
|
minute: "2-digit"
|
|
4213
4213
|
};
|
|
4214
|
-
const meridiems = Info.meridiems().join(", ");
|
|
4214
|
+
const meridiems = Info.meridiems().join(", ").toUpperCase();
|
|
4215
4215
|
const displayString = DateTime.parseFormatForOpts({
|
|
4216
4216
|
...props.type === "time" ? void 0 : formatPlaceholderDateOptions,
|
|
4217
4217
|
...props.type === "date" ? void 0 : formatPlaceholderTimeOptions
|
|
4218
4218
|
}, {
|
|
4219
4219
|
locale: internalLocale.value
|
|
4220
4220
|
});
|
|
4221
|
-
return displayString?.replace("
|
|
4221
|
+
return displayString?.toUpperCase().replace("YYYYYY", "YYYY").replace("YYYYY", "YYYY").replace("A", `(${meridiems})`) ?? null;
|
|
4222
4222
|
}
|
|
4223
4223
|
});
|
|
4224
4224
|
const showPopoverComputed = computed(() => {
|
|
@@ -5773,6 +5773,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
5773
5773
|
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",
|
|
5774
5774
|
readonly: _ctx.loading,
|
|
5775
5775
|
"popover-placement": "bottom-start",
|
|
5776
|
+
placeholder: "",
|
|
5776
5777
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => setFilter(null, $event ?? ""))
|
|
5777
5778
|
}, null, 8, ["id", "model-value", "time-zone", "type", "readonly"])
|
|
5778
5779
|
])) : isDateRangeColumn.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -5871,7 +5872,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
5871
5872
|
};
|
|
5872
5873
|
}
|
|
5873
5874
|
});
|
|
5874
|
-
const clUiGridFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
5875
|
+
const clUiGridFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c5ef8bbf"]]);
|
|
5875
5876
|
const _hoisted_1$y = { key: 1 };
|
|
5876
5877
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
5877
5878
|
__name: "cl-ui-grid-filter",
|