vueless 0.0.547 → 0.0.548
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
|
@@ -86,10 +86,11 @@ const currentLocale = computed(() => merge(defaultConfig.i18n, i18nGlobal, props
|
|
|
86
86
|
|
|
87
87
|
const elementId = props.id || useId();
|
|
88
88
|
|
|
89
|
-
const { config,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
const { config, datepickerInputAttrs, datepickerInputActiveAttrs, calendarAttrs, wrapperAttrs } =
|
|
90
|
+
useAttrs(props, {
|
|
91
|
+
isTop,
|
|
92
|
+
isRight,
|
|
93
|
+
});
|
|
93
94
|
|
|
94
95
|
function activate() {
|
|
95
96
|
isShownCalendar.value = true;
|
|
@@ -195,7 +196,7 @@ defineExpose({
|
|
|
195
196
|
:size="size"
|
|
196
197
|
:left-icon="leftIcon"
|
|
197
198
|
:right-icon="rightIcon"
|
|
198
|
-
v-bind="isShownCalendar ?
|
|
199
|
+
v-bind="isShownCalendar ? datepickerInputActiveAttrs : datepickerInputAttrs"
|
|
199
200
|
@focus="activate"
|
|
200
201
|
>
|
|
201
202
|
<template #left>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
wrapper: "relative",
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
datepickerInput: "{UInput}",
|
|
4
|
+
datepickerInputActive: {
|
|
5
5
|
component: "{UInput}",
|
|
6
6
|
wrapper: "ring-dynamic rounded-dynamic ring-offset-dynamic ring-brand-700/15 border-brand-500 hover:border-brand-500",
|
|
7
7
|
},
|
|
@@ -134,14 +134,14 @@ const {
|
|
|
134
134
|
config,
|
|
135
135
|
wrapperAttrs,
|
|
136
136
|
calendarAttrs,
|
|
137
|
-
|
|
137
|
+
datepickerInputAttrs,
|
|
138
138
|
menuAttrs,
|
|
139
139
|
buttonWrapperAttrs,
|
|
140
140
|
buttonAttrs,
|
|
141
141
|
shiftRangeButtonAttrs,
|
|
142
142
|
rangeInputWrapperAttrs,
|
|
143
143
|
rangeInputErrorAttrs,
|
|
144
|
-
|
|
144
|
+
datepickerActiveInputAttrs,
|
|
145
145
|
rangeInputFirstAttrs,
|
|
146
146
|
rangeInputLastAttrs,
|
|
147
147
|
periodRowAttrs,
|
|
@@ -570,7 +570,7 @@ function onInputCalendar(value: RangeDate) {
|
|
|
570
570
|
readonly
|
|
571
571
|
:left-icon="leftIcon"
|
|
572
572
|
:right-icon="rightIcon"
|
|
573
|
-
v-bind="isShownMenu ?
|
|
573
|
+
v-bind="isShownMenu ? datepickerActiveInputAttrs : datepickerInputAttrs"
|
|
574
574
|
@focus="activate"
|
|
575
575
|
>
|
|
576
576
|
<template #left>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
wrapper: "relative",
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
datepickerInput: "{UInput}",
|
|
4
|
+
datepickerInputActive: {
|
|
5
5
|
component: "{UInput}",
|
|
6
6
|
wrapper: {
|
|
7
7
|
base: "ring-dynamic rounded-dynamic ring-offset-dynamic ring-brand-700/15 border-brand-500 hover:border-brand-500",
|