its_ui_vite 1.0.13 → 1.0.14
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/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
class="c-datepicker__inp"
|
|
15
15
|
size="sm"
|
|
16
16
|
:width="width"
|
|
17
|
-
:placeholder="
|
|
17
|
+
:placeholder="datePlaceholder"
|
|
18
18
|
:disabled="true"
|
|
19
19
|
>
|
|
20
20
|
<template #customIcon>
|
|
@@ -330,7 +330,12 @@ const text = computed(() => {
|
|
|
330
330
|
};
|
|
331
331
|
|
|
332
332
|
return lang[props.locale]
|
|
333
|
-
})
|
|
333
|
+
});
|
|
334
|
+
|
|
335
|
+
const datePlaceholder = computed(() => {
|
|
336
|
+
const currentDateISO = activeDate.value.toISO();
|
|
337
|
+
return DateTime.fromISO(currentDateISO).setLocale(props.locale).toFormat('dd LLLL yyyy')
|
|
338
|
+
});
|
|
334
339
|
|
|
335
340
|
const monthsOption = computed(() => {
|
|
336
341
|
let options: TSelectOption[] = [];
|
|
@@ -645,7 +650,7 @@ defineExpose({
|
|
|
645
650
|
|
|
646
651
|
<style lang="scss">
|
|
647
652
|
|
|
648
|
-
$timeWidth:
|
|
653
|
+
$timeWidth: 54px;
|
|
649
654
|
|
|
650
655
|
.c-datepicker {
|
|
651
656
|
display: flex;
|
|
@@ -654,6 +659,11 @@ $timeWidth: 60px;
|
|
|
654
659
|
gap: 15px;
|
|
655
660
|
|
|
656
661
|
&__inp {
|
|
662
|
+
|
|
663
|
+
.c-input {
|
|
664
|
+
padding: 7px 10px;
|
|
665
|
+
}
|
|
666
|
+
|
|
657
667
|
&_wrap {
|
|
658
668
|
position: relative;
|
|
659
669
|
|
|
@@ -736,7 +746,7 @@ $timeWidth: 60px;
|
|
|
736
746
|
width: $timeWidth;
|
|
737
747
|
height: 32px;
|
|
738
748
|
|
|
739
|
-
border: 1px solid var(--
|
|
749
|
+
border: 1px solid var(--green-medium);
|
|
740
750
|
border-radius: 5px;
|
|
741
751
|
|
|
742
752
|
background: var(--black-dark);
|
|
@@ -782,7 +792,7 @@ $timeWidth: 60px;
|
|
|
782
792
|
|
|
783
793
|
width: $timeWidth;
|
|
784
794
|
max-height: var(--max-height);
|
|
785
|
-
padding: 6px;
|
|
795
|
+
padding: 6px 0px;
|
|
786
796
|
|
|
787
797
|
border: 1px solid var(--green-dark);
|
|
788
798
|
border-radius: 5px;
|
|
@@ -832,7 +842,7 @@ $timeWidth: 60px;
|
|
|
832
842
|
width: 1px;
|
|
833
843
|
height: var(--scroll-height);
|
|
834
844
|
|
|
835
|
-
margin:
|
|
845
|
+
margin: 0px;
|
|
836
846
|
|
|
837
847
|
background: var(--green-dark);
|
|
838
848
|
}
|
|
@@ -842,7 +852,7 @@ $timeWidth: 60px;
|
|
|
842
852
|
justify-content: center;
|
|
843
853
|
align-items: center;
|
|
844
854
|
|
|
845
|
-
width:
|
|
855
|
+
width: 26px;
|
|
846
856
|
height: 20px;
|
|
847
857
|
|
|
848
858
|
font-size: 14px;
|