@citruslime/ui 4.1.0-beta.10 → 4.1.0-beta.11
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 +19 -10
- 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
|
}, [
|
|
@@ -9726,7 +9730,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9726
9730
|
placeholder: { default: null },
|
|
9727
9731
|
initialDate: { default: null },
|
|
9728
9732
|
quickDateScope: { default: null },
|
|
9729
|
-
dateFormatLocale: { default: null }
|
|
9733
|
+
dateFormatLocale: { default: null },
|
|
9734
|
+
showWeekNumbers: { type: Boolean, default: true }
|
|
9730
9735
|
},
|
|
9731
9736
|
emits: ["update:date"],
|
|
9732
9737
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -9851,6 +9856,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9851
9856
|
"min-date": _ctx.min,
|
|
9852
9857
|
"max-date": _ctx.max,
|
|
9853
9858
|
"initial-page": currentInitialDate.value,
|
|
9859
|
+
"show-weeknumbers": _ctx.showWeekNumbers,
|
|
9854
9860
|
onDayclick: _cache[4] || (_cache[4] = ($event) => currentQuickDate.value = null)
|
|
9855
9861
|
}, {
|
|
9856
9862
|
default: withCtx(({ togglePopover }) => [
|
|
@@ -9881,7 +9887,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9881
9887
|
}, null, 8, ["scope", "selected-quick-date", "current-date-range"])) : createCommentVNode("", true)
|
|
9882
9888
|
]),
|
|
9883
9889
|
_: 1
|
|
9884
|
-
}, 8, ["modelValue", "locale", "is24hr", "timezone", "columns", "popover", "min-date", "max-date", "initial-page"])) : (openBlock(), createBlock(unref(DatePicker), {
|
|
9890
|
+
}, 8, ["modelValue", "locale", "is24hr", "timezone", "columns", "popover", "min-date", "max-date", "initial-page", "show-weeknumbers"])) : (openBlock(), createBlock(unref(DatePicker), {
|
|
9885
9891
|
key: 2,
|
|
9886
9892
|
modelValue: currentDate.value,
|
|
9887
9893
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => currentDate.value = $event),
|
|
@@ -9896,6 +9902,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9896
9902
|
"update-on-input": false,
|
|
9897
9903
|
masks: { L: mask.value, inputDateTime: [mask.value], inputDateTime24hr: [mask.value] },
|
|
9898
9904
|
color: "primary",
|
|
9905
|
+
"show-weeknumbers": _ctx.showWeekNumbers,
|
|
9899
9906
|
"title-position": "left",
|
|
9900
9907
|
"hide-time-header": "",
|
|
9901
9908
|
popover: popover.value
|
|
@@ -9915,7 +9922,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
9915
9922
|
}), null, 16, ["date", "events", "type", "placeholder", "required", "disabled"])
|
|
9916
9923
|
]),
|
|
9917
9924
|
_: 1
|
|
9918
|
-
}, 8, ["modelValue", "locale", "is24hr", "timezone", "mode", "min-date", "max-date", "initial-page", "is-required", "masks", "popover"]));
|
|
9925
|
+
}, 8, ["modelValue", "locale", "is24hr", "timezone", "mode", "min-date", "max-date", "initial-page", "is-required", "masks", "show-weeknumbers", "popover"]));
|
|
9919
9926
|
};
|
|
9920
9927
|
}
|
|
9921
9928
|
});
|
|
@@ -10280,7 +10287,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10280
10287
|
initialDate: { default: null },
|
|
10281
10288
|
quickDateScope: { default: null },
|
|
10282
10289
|
dateFormatLocale: { default: null },
|
|
10283
|
-
currencyOptions: { default: void 0 }
|
|
10290
|
+
currencyOptions: { default: void 0 },
|
|
10291
|
+
showWeekNumbers: { type: Boolean, default: true }
|
|
10284
10292
|
},
|
|
10285
10293
|
emits: ["update:model-value", "click", "focus", "input", "change", "validated"],
|
|
10286
10294
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -10614,9 +10622,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10614
10622
|
"initial-date": _ctx.initialDate,
|
|
10615
10623
|
"quick-date-scope": _ctx.quickDateScope,
|
|
10616
10624
|
"date-format-locale": _ctx.dateFormatLocale,
|
|
10625
|
+
"show-week-numbers": _ctx.showWeekNumbers,
|
|
10617
10626
|
onBlur: onLostFocus,
|
|
10618
10627
|
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, [
|
|
10628
|
+
}), 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
10629
|
createVNode(unref(clUiSlider), {
|
|
10621
10630
|
ref_key: "inputElement",
|
|
10622
10631
|
ref: inputElement,
|
|
@@ -10639,7 +10648,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
10639
10648
|
};
|
|
10640
10649
|
}
|
|
10641
10650
|
});
|
|
10642
|
-
const clUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
10651
|
+
const clUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-833e892c"]]);
|
|
10643
10652
|
const inputTypes = [
|
|
10644
10653
|
"button",
|
|
10645
10654
|
"checkbox",
|