@citruslime/ui 4.1.0-beta.10 → 4.1.0-beta.12
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 +23 -11
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +2 -0
- package/dist/components/input/cl-ui-input.vue.d.ts +2 -0
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +2 -0
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +2 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -4153,7 +4153,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4153
4153
|
placeholder: { default: null },
|
|
4154
4154
|
popoverPlacement: { default: "auto" },
|
|
4155
4155
|
showPopover: { type: Boolean, default: void 0 },
|
|
4156
|
-
forceIconDisplay: { type: Boolean, default: false }
|
|
4156
|
+
forceIconDisplay: { type: Boolean, default: false },
|
|
4157
|
+
showWeekNumbers: { type: Boolean, default: true }
|
|
4157
4158
|
}, {
|
|
4158
4159
|
"modelValue": { required: true },
|
|
4159
4160
|
"modelModifiers": {}
|
|
@@ -4310,6 +4311,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4310
4311
|
color: "primary",
|
|
4311
4312
|
"title-position": "left",
|
|
4312
4313
|
"hide-time-header": "",
|
|
4314
|
+
"show-weeknumbers": _ctx.showWeekNumbers,
|
|
4313
4315
|
popover: popover.value
|
|
4314
4316
|
}, {
|
|
4315
4317
|
default: withCtx(({ inputValue, inputEvents }) => [
|
|
@@ -4338,7 +4340,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4338
4340
|
])) : createCommentVNode("", true)
|
|
4339
4341
|
]),
|
|
4340
4342
|
_: 1
|
|
4341
|
-
}, 8, ["modelValue", "locale", "is24hr", "timezone", "mode", "min-date", "max-date", "initial-page", "is-required", "masks", "popover"]))
|
|
4343
|
+
}, 8, ["modelValue", "locale", "is24hr", "timezone", "mode", "min-date", "max-date", "initial-page", "is-required", "masks", "show-weeknumbers", "popover"]))
|
|
4342
4344
|
]),
|
|
4343
4345
|
_: 2
|
|
4344
4346
|
}, [
|
|
@@ -4374,7 +4376,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
4374
4376
|
required: { type: Boolean, default: false },
|
|
4375
4377
|
quickDateScope: { default: null },
|
|
4376
4378
|
popoverPlacement: { default: "auto" },
|
|
4377
|
-
manualDateSelection: { type: Boolean, default: true }
|
|
4379
|
+
manualDateSelection: { type: Boolean, default: true },
|
|
4380
|
+
showWeekNumbers: { type: Boolean, default: true }
|
|
4378
4381
|
}, {
|
|
4379
4382
|
"modelValue": { required: true },
|
|
4380
4383
|
"modelModifiers": {}
|
|
@@ -4495,6 +4498,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
4495
4498
|
mode: "date",
|
|
4496
4499
|
color: "primary",
|
|
4497
4500
|
"title-position": "left",
|
|
4501
|
+
"show-weeknumbers": _ctx.showWeekNumbers,
|
|
4498
4502
|
locale: internalLocale.value,
|
|
4499
4503
|
timezone: internalTimeZone.value,
|
|
4500
4504
|
columns: dateRangeColumnCount.value,
|
|
@@ -4583,7 +4587,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
4583
4587
|
])) : createCommentVNode("", true)
|
|
4584
4588
|
]),
|
|
4585
4589
|
_: 1
|
|
4586
|
-
}, 8, ["modelValue", "locale", "timezone", "columns", "popover", "min-date", "max-date", "initial-page"])
|
|
4590
|
+
}, 8, ["modelValue", "show-weeknumbers", "locale", "timezone", "columns", "popover", "min-date", "max-date", "initial-page"])
|
|
4587
4591
|
]),
|
|
4588
4592
|
_: 2
|
|
4589
4593
|
}, [
|
|
@@ -5560,6 +5564,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
5560
5564
|
if (hasNextValue === false && hasPreviousValue) {
|
|
5561
5565
|
nextValue = "";
|
|
5562
5566
|
}
|
|
5567
|
+
if (nextValue === previousValue) {
|
|
5568
|
+
return;
|
|
5569
|
+
}
|
|
5563
5570
|
const updateFilter = hasNextValue || hasPreviousValue;
|
|
5564
5571
|
if (updateFilter) {
|
|
5565
5572
|
if (internalFilter.value) {
|
|
@@ -5788,7 +5795,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
5788
5795
|
};
|
|
5789
5796
|
}
|
|
5790
5797
|
});
|
|
5791
|
-
const clUiGridFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
5798
|
+
const clUiGridFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1ea3b374"]]);
|
|
5792
5799
|
const _hoisted_1$y = { key: 1 };
|
|
5793
5800
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
5794
5801
|
__name: "cl-ui-grid-filter",
|
|
@@ -9726,7 +9733,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9726
9733
|
placeholder: { default: null },
|
|
9727
9734
|
initialDate: { default: null },
|
|
9728
9735
|
quickDateScope: { default: null },
|
|
9729
|
-
dateFormatLocale: { default: null }
|
|
9736
|
+
dateFormatLocale: { default: null },
|
|
9737
|
+
showWeekNumbers: { type: Boolean, default: true }
|
|
9730
9738
|
},
|
|
9731
9739
|
emits: ["update:date"],
|
|
9732
9740
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -9851,6 +9859,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9851
9859
|
"min-date": _ctx.min,
|
|
9852
9860
|
"max-date": _ctx.max,
|
|
9853
9861
|
"initial-page": currentInitialDate.value,
|
|
9862
|
+
"show-weeknumbers": _ctx.showWeekNumbers,
|
|
9854
9863
|
onDayclick: _cache[4] || (_cache[4] = ($event) => currentQuickDate.value = null)
|
|
9855
9864
|
}, {
|
|
9856
9865
|
default: withCtx(({ togglePopover }) => [
|
|
@@ -9881,7 +9890,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9881
9890
|
}, null, 8, ["scope", "selected-quick-date", "current-date-range"])) : createCommentVNode("", true)
|
|
9882
9891
|
]),
|
|
9883
9892
|
_: 1
|
|
9884
|
-
}, 8, ["modelValue", "locale", "is24hr", "timezone", "columns", "popover", "min-date", "max-date", "initial-page"])) : (openBlock(), createBlock(unref(DatePicker), {
|
|
9893
|
+
}, 8, ["modelValue", "locale", "is24hr", "timezone", "columns", "popover", "min-date", "max-date", "initial-page", "show-weeknumbers"])) : (openBlock(), createBlock(unref(DatePicker), {
|
|
9885
9894
|
key: 2,
|
|
9886
9895
|
modelValue: currentDate.value,
|
|
9887
9896
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => currentDate.value = $event),
|
|
@@ -9896,6 +9905,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9896
9905
|
"update-on-input": false,
|
|
9897
9906
|
masks: { L: mask.value, inputDateTime: [mask.value], inputDateTime24hr: [mask.value] },
|
|
9898
9907
|
color: "primary",
|
|
9908
|
+
"show-weeknumbers": _ctx.showWeekNumbers,
|
|
9899
9909
|
"title-position": "left",
|
|
9900
9910
|
"hide-time-header": "",
|
|
9901
9911
|
popover: popover.value
|
|
@@ -9915,7 +9925,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9915
9925
|
}), null, 16, ["date", "events", "type", "placeholder", "required", "disabled"])
|
|
9916
9926
|
]),
|
|
9917
9927
|
_: 1
|
|
9918
|
-
}, 8, ["modelValue", "locale", "is24hr", "timezone", "mode", "min-date", "max-date", "initial-page", "is-required", "masks", "popover"]));
|
|
9928
|
+
}, 8, ["modelValue", "locale", "is24hr", "timezone", "mode", "min-date", "max-date", "initial-page", "is-required", "masks", "show-weeknumbers", "popover"]));
|
|
9919
9929
|
};
|
|
9920
9930
|
}
|
|
9921
9931
|
});
|
|
@@ -10280,7 +10290,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10280
10290
|
initialDate: { default: null },
|
|
10281
10291
|
quickDateScope: { default: null },
|
|
10282
10292
|
dateFormatLocale: { default: null },
|
|
10283
|
-
currencyOptions: { default: void 0 }
|
|
10293
|
+
currencyOptions: { default: void 0 },
|
|
10294
|
+
showWeekNumbers: { type: Boolean, default: true }
|
|
10284
10295
|
},
|
|
10285
10296
|
emits: ["update:model-value", "click", "focus", "input", "change", "validated"],
|
|
10286
10297
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10614,9 +10625,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10614
10625
|
"initial-date": _ctx.initialDate,
|
|
10615
10626
|
"quick-date-scope": _ctx.quickDateScope,
|
|
10616
10627
|
"date-format-locale": _ctx.dateFormatLocale,
|
|
10628
|
+
"show-week-numbers": _ctx.showWeekNumbers,
|
|
10617
10629
|
onBlur: onLostFocus,
|
|
10618
10630
|
onFocus: _cache[10] || (_cache[10] = ($event) => emit("focus"))
|
|
10619
|
-
}), null, 16, ["date", "class", "disabled", "required", "type", "time-zone", "min", "max", "placeholder", "initial-date", "quick-date-scope", "date-format-locale"])) : _ctx.inputType === "range" && typeof currentValue.value === "number" ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
10631
|
+
}), null, 16, ["date", "class", "disabled", "required", "type", "time-zone", "min", "max", "placeholder", "initial-date", "quick-date-scope", "date-format-locale", "show-week-numbers"])) : _ctx.inputType === "range" && typeof currentValue.value === "number" ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
10620
10632
|
createVNode(unref(clUiSlider), {
|
|
10621
10633
|
ref_key: "inputElement",
|
|
10622
10634
|
ref: inputElement,
|
|
@@ -10639,7 +10651,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10639
10651
|
};
|
|
10640
10652
|
}
|
|
10641
10653
|
});
|
|
10642
|
-
const clUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
10654
|
+
const clUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-833e892c"]]);
|
|
10643
10655
|
const inputTypes = [
|
|
10644
10656
|
"button",
|
|
10645
10657
|
"checkbox",
|