@farm-investimentos/front-mfe-components 15.14.16 → 15.14.17
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/front-mfe-components.common.js +141 -132
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +141 -132
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ContextMenu/ContextMenu.vue +1 -1
- package/src/components/RangeDatePicker/RangeDatePicker.vue +11 -1
package/package.json
CHANGED
|
@@ -116,7 +116,7 @@ export default defineComponent({
|
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
const closeAllHandler = (event: CustomEvent) => {
|
|
119
|
-
if (event.detail
|
|
119
|
+
if (event.detail && event.detail.exceptId !== instanceContextId && inputValue.value) {
|
|
120
120
|
inputValue.value = false;
|
|
121
121
|
emit('input', false);
|
|
122
122
|
}
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
v-model="menuField"
|
|
5
5
|
ref="contextmenu"
|
|
6
6
|
maxHeight="auto"
|
|
7
|
-
bottom
|
|
7
|
+
:bottom="position === 'bottom'"
|
|
8
|
+
:top="position === 'top'"
|
|
9
|
+
:fixedCentered="position === 'fixed-centered'"
|
|
8
10
|
popup-width="320"
|
|
9
11
|
>
|
|
10
12
|
<v-date-picker
|
|
@@ -137,6 +139,14 @@ export default defineComponent({
|
|
|
137
139
|
type: String,
|
|
138
140
|
default: 'A data selecionada deve ser entre {min} e {max}',
|
|
139
141
|
},
|
|
142
|
+
/**
|
|
143
|
+
* Posição do datepicker (top, bottom, fixed-centered)
|
|
144
|
+
*/
|
|
145
|
+
position: {
|
|
146
|
+
type: String,
|
|
147
|
+
default: 'bottom',
|
|
148
|
+
validator: value => ['top', 'bottom', 'fixed-centered'].includes(value),
|
|
149
|
+
},
|
|
140
150
|
},
|
|
141
151
|
data() {
|
|
142
152
|
const s = this.formatDateRange(this.value);
|