@volverjs/ui-vue 0.0.9-beta.20 → 0.0.9-beta.21
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/components/VvAccordion/VvAccordion.es.js +8 -7
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +8 -7
- package/dist/components/VvAction/VvAction.es.js +8 -7
- package/dist/components/VvAlert/VvAlert.es.js +8 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +8 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +3 -3
- package/dist/components/VvAlertGroup/index.d.ts +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +8 -7
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +8 -7
- package/dist/components/VvBadge/VvBadge.es.js +8 -7
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +8 -7
- package/dist/components/VvButton/VvButton.es.js +8 -7
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +8 -7
- package/dist/components/VvCard/VvCard.es.js +8 -7
- package/dist/components/VvCheckbox/VvCheckbox.es.js +8 -7
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +8 -7
- package/dist/components/VvCombobox/VvCombobox.es.js +14 -13
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +7 -7
- package/dist/components/VvCombobox/index.d.ts +4 -6
- package/dist/components/VvDialog/VvDialog.es.js +8 -7
- package/dist/components/VvDropdown/VvDropdown.es.js +14 -13
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +10 -9
- package/dist/components/VvDropdown/index.d.ts +3 -3
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +8 -7
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +8 -7
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +8 -7
- package/dist/components/VvInputText/VvInputText.es.js +8 -7
- package/dist/components/VvInputText/index.d.ts +2 -10
- package/dist/components/VvNav/VvNav.es.js +8 -7
- package/dist/components/VvProgress/VvProgress.es.js +8 -7
- package/dist/components/VvRadio/VvRadio.es.js +8 -7
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +8 -7
- package/dist/components/VvSelect/VvSelect.es.js +8 -7
- package/dist/components/VvTab/VvTab.es.js +8 -7
- package/dist/components/VvTextarea/VvTextarea.es.js +8 -7
- package/dist/components/VvTooltip/VvTooltip.es.js +8 -7
- package/dist/components/index.es.js +14 -13
- package/dist/components/index.umd.js +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/directives/index.es.js +8 -7
- package/dist/directives/v-tooltip.es.js +8 -7
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvDropdown/VvDropdown.vue +11 -10
- package/src/constants.ts +5 -0
- package/src/props/index.ts +7 -11
|
@@ -221,6 +221,11 @@ const VvIconProps = {
|
|
|
221
221
|
type: [String, Array]
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
225
|
+
Strategy2["absolute"] = "absolute";
|
|
226
|
+
Strategy2["fixed"] = "fixed";
|
|
227
|
+
return Strategy2;
|
|
228
|
+
})(Strategy || {});
|
|
224
229
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
225
230
|
Side2["left"] = "left";
|
|
226
231
|
Side2["right"] = "right";
|
|
@@ -537,19 +542,15 @@ const IdProps = {
|
|
|
537
542
|
placement: {
|
|
538
543
|
type: String,
|
|
539
544
|
default: Side.bottom,
|
|
540
|
-
validator: (value) =>
|
|
541
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
542
|
-
}
|
|
545
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
543
546
|
},
|
|
544
547
|
/**
|
|
545
548
|
* Dropdown strategy
|
|
546
549
|
*/
|
|
547
550
|
strategy: {
|
|
548
551
|
type: String,
|
|
549
|
-
default:
|
|
550
|
-
validator: (value) =>
|
|
551
|
-
return ["fixed", "absolute"].includes(value);
|
|
552
|
-
}
|
|
552
|
+
default: void 0,
|
|
553
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
553
554
|
},
|
|
554
555
|
/**
|
|
555
556
|
* Dropdown show / hide transition name
|
|
@@ -194,20 +194,12 @@ export declare const VvInputTextProps: {
|
|
|
194
194
|
default: boolean;
|
|
195
195
|
validator: (value: string) => boolean;
|
|
196
196
|
};
|
|
197
|
-
modifiers: PropType<string | string[]>;
|
|
198
|
-
* Pattern the value must match to be valid
|
|
199
|
-
* Available for input types: text, search, url, tel, email and password
|
|
200
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#pattern
|
|
201
|
-
*/
|
|
197
|
+
modifiers: PropType<string | string[]>;
|
|
202
198
|
loading: BooleanConstructor;
|
|
203
199
|
loadingLabel: {
|
|
204
200
|
type: StringConstructor;
|
|
205
201
|
default: string;
|
|
206
|
-
};
|
|
207
|
-
* Minimum value
|
|
208
|
-
* Available for input types: date, month, week, time, datetime-local, number, range.
|
|
209
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min
|
|
210
|
-
*/
|
|
202
|
+
};
|
|
211
203
|
hintLabel: {
|
|
212
204
|
type: StringConstructor;
|
|
213
205
|
default: string;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { inject, defineComponent, ref, watch, computed, openBlock, createBlock, resolveDynamicComponent, unref, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, toRefs, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createVNode, toHandlers } from "vue";
|
|
2
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
3
|
+
Strategy2["absolute"] = "absolute";
|
|
4
|
+
Strategy2["fixed"] = "fixed";
|
|
5
|
+
return Strategy2;
|
|
6
|
+
})(Strategy || {});
|
|
2
7
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
3
8
|
Side2["left"] = "left";
|
|
4
9
|
Side2["right"] = "right";
|
|
@@ -128,19 +133,15 @@ const ModifiersProps = {
|
|
|
128
133
|
placement: {
|
|
129
134
|
type: String,
|
|
130
135
|
default: Side.bottom,
|
|
131
|
-
validator: (value) =>
|
|
132
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
133
|
-
}
|
|
136
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
134
137
|
},
|
|
135
138
|
/**
|
|
136
139
|
* Dropdown strategy
|
|
137
140
|
*/
|
|
138
141
|
strategy: {
|
|
139
142
|
type: String,
|
|
140
|
-
default:
|
|
141
|
-
validator: (value) =>
|
|
142
|
-
return ["fixed", "absolute"].includes(value);
|
|
143
|
-
}
|
|
143
|
+
default: void 0,
|
|
144
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
144
145
|
},
|
|
145
146
|
/**
|
|
146
147
|
* Dropdown show / hide transition name
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { computed, unref, defineComponent, toRefs, openBlock, createElementBlock, mergeProps } from "vue";
|
|
2
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
3
|
+
Strategy2["absolute"] = "absolute";
|
|
4
|
+
Strategy2["fixed"] = "fixed";
|
|
5
|
+
return Strategy2;
|
|
6
|
+
})(Strategy || {});
|
|
2
7
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
3
8
|
Side2["left"] = "left";
|
|
4
9
|
Side2["right"] = "right";
|
|
@@ -114,19 +119,15 @@ const ModifiersProps = {
|
|
|
114
119
|
placement: {
|
|
115
120
|
type: String,
|
|
116
121
|
default: Side.bottom,
|
|
117
|
-
validator: (value) =>
|
|
118
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
119
|
-
}
|
|
122
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
120
123
|
},
|
|
121
124
|
/**
|
|
122
125
|
* Dropdown strategy
|
|
123
126
|
*/
|
|
124
127
|
strategy: {
|
|
125
128
|
type: String,
|
|
126
|
-
default:
|
|
127
|
-
validator: (value) =>
|
|
128
|
-
return ["fixed", "absolute"].includes(value);
|
|
129
|
-
}
|
|
129
|
+
default: void 0,
|
|
130
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
130
131
|
},
|
|
131
132
|
/**
|
|
132
133
|
* Dropdown show / hide transition name
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { unref, inject, computed, toRef, toRefs, isRef, defineComponent, h, useSlots, ref, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vModelRadio, renderSlot, createTextVNode, toDisplayString, createVNode, createSlots, withCtx, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { nanoid } from "nanoid";
|
|
3
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
4
|
+
Strategy2["absolute"] = "absolute";
|
|
5
|
+
Strategy2["fixed"] = "fixed";
|
|
6
|
+
return Strategy2;
|
|
7
|
+
})(Strategy || {});
|
|
3
8
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
4
9
|
Side2["left"] = "left";
|
|
5
10
|
Side2["right"] = "right";
|
|
@@ -173,19 +178,15 @@ const IdProps = {
|
|
|
173
178
|
placement: {
|
|
174
179
|
type: String,
|
|
175
180
|
default: Side.bottom,
|
|
176
|
-
validator: (value) =>
|
|
177
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
178
|
-
}
|
|
181
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
179
182
|
},
|
|
180
183
|
/**
|
|
181
184
|
* Dropdown strategy
|
|
182
185
|
*/
|
|
183
186
|
strategy: {
|
|
184
187
|
type: String,
|
|
185
|
-
default:
|
|
186
|
-
validator: (value) =>
|
|
187
|
-
return ["fixed", "absolute"].includes(value);
|
|
188
|
-
}
|
|
188
|
+
default: void 0,
|
|
189
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
189
190
|
},
|
|
190
191
|
/**
|
|
191
192
|
* Dropdown show / hide transition name
|
|
@@ -2,6 +2,11 @@ import { unref, computed, isRef, defineComponent, h, inject, toRef, toRefs, useS
|
|
|
2
2
|
import { nanoid } from "nanoid";
|
|
3
3
|
import { useVModel } from "@vueuse/core";
|
|
4
4
|
import { get } from "ts-dot-prop";
|
|
5
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
6
|
+
Strategy2["absolute"] = "absolute";
|
|
7
|
+
Strategy2["fixed"] = "fixed";
|
|
8
|
+
return Strategy2;
|
|
9
|
+
})(Strategy || {});
|
|
5
10
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
6
11
|
Side2["left"] = "left";
|
|
7
12
|
Side2["right"] = "right";
|
|
@@ -399,19 +404,15 @@ const IdProps = {
|
|
|
399
404
|
placement: {
|
|
400
405
|
type: String,
|
|
401
406
|
default: Side.bottom,
|
|
402
|
-
validator: (value) =>
|
|
403
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
404
|
-
}
|
|
407
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
405
408
|
},
|
|
406
409
|
/**
|
|
407
410
|
* Dropdown strategy
|
|
408
411
|
*/
|
|
409
412
|
strategy: {
|
|
410
413
|
type: String,
|
|
411
|
-
default:
|
|
412
|
-
validator: (value) =>
|
|
413
|
-
return ["fixed", "absolute"].includes(value);
|
|
414
|
-
}
|
|
414
|
+
default: void 0,
|
|
415
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
415
416
|
},
|
|
416
417
|
/**
|
|
417
418
|
* Dropdown show / hide transition name
|
|
@@ -97,6 +97,11 @@ const VvIconProps = {
|
|
|
97
97
|
type: [String, Array]
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
101
|
+
Strategy2["absolute"] = "absolute";
|
|
102
|
+
Strategy2["fixed"] = "fixed";
|
|
103
|
+
return Strategy2;
|
|
104
|
+
})(Strategy || {});
|
|
100
105
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
101
106
|
Side2["left"] = "left";
|
|
102
107
|
Side2["right"] = "right";
|
|
@@ -548,19 +553,15 @@ const IdProps = {
|
|
|
548
553
|
placement: {
|
|
549
554
|
type: String,
|
|
550
555
|
default: Side.bottom,
|
|
551
|
-
validator: (value) =>
|
|
552
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
553
|
-
}
|
|
556
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
554
557
|
},
|
|
555
558
|
/**
|
|
556
559
|
* Dropdown strategy
|
|
557
560
|
*/
|
|
558
561
|
strategy: {
|
|
559
562
|
type: String,
|
|
560
|
-
default:
|
|
561
|
-
validator: (value) =>
|
|
562
|
-
return ["fixed", "absolute"].includes(value);
|
|
563
|
-
}
|
|
563
|
+
default: void 0,
|
|
564
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
564
565
|
},
|
|
565
566
|
/**
|
|
566
567
|
* Dropdown show / hide transition name
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { inject, defineComponent, ref, watch, computed, openBlock, createBlock, resolveDynamicComponent, unref, mergeProps, withCtx, renderSlot, createTextVNode, toDisplayString, toRefs, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, createVNode, toHandlers } from "vue";
|
|
2
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
3
|
+
Strategy2["absolute"] = "absolute";
|
|
4
|
+
Strategy2["fixed"] = "fixed";
|
|
5
|
+
return Strategy2;
|
|
6
|
+
})(Strategy || {});
|
|
2
7
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
3
8
|
Side2["left"] = "left";
|
|
4
9
|
Side2["right"] = "right";
|
|
@@ -128,19 +133,15 @@ const ModifiersProps = {
|
|
|
128
133
|
placement: {
|
|
129
134
|
type: String,
|
|
130
135
|
default: Side.bottom,
|
|
131
|
-
validator: (value) =>
|
|
132
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
133
|
-
}
|
|
136
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
134
137
|
},
|
|
135
138
|
/**
|
|
136
139
|
* Dropdown strategy
|
|
137
140
|
*/
|
|
138
141
|
strategy: {
|
|
139
142
|
type: String,
|
|
140
|
-
default:
|
|
141
|
-
validator: (value) =>
|
|
142
|
-
return ["fixed", "absolute"].includes(value);
|
|
143
|
-
}
|
|
143
|
+
default: void 0,
|
|
144
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
144
145
|
},
|
|
145
146
|
/**
|
|
146
147
|
* Dropdown show / hide transition name
|
|
@@ -220,6 +220,11 @@ const VvIconProps = {
|
|
|
220
220
|
type: [String, Array]
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
224
|
+
Strategy2["absolute"] = "absolute";
|
|
225
|
+
Strategy2["fixed"] = "fixed";
|
|
226
|
+
return Strategy2;
|
|
227
|
+
})(Strategy || {});
|
|
223
228
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
224
229
|
Side2["left"] = "left";
|
|
225
230
|
Side2["right"] = "right";
|
|
@@ -536,19 +541,15 @@ const IdProps = {
|
|
|
536
541
|
placement: {
|
|
537
542
|
type: String,
|
|
538
543
|
default: Side.bottom,
|
|
539
|
-
validator: (value) =>
|
|
540
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
541
|
-
}
|
|
544
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
542
545
|
},
|
|
543
546
|
/**
|
|
544
547
|
* Dropdown strategy
|
|
545
548
|
*/
|
|
546
549
|
strategy: {
|
|
547
550
|
type: String,
|
|
548
|
-
default:
|
|
549
|
-
validator: (value) =>
|
|
550
|
-
return ["fixed", "absolute"].includes(value);
|
|
551
|
-
}
|
|
551
|
+
default: void 0,
|
|
552
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
552
553
|
},
|
|
553
554
|
/**
|
|
554
555
|
* Dropdown show / hide transition name
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { computed, unref, defineComponent, toRefs, openBlock, createElementBlock, normalizeClass, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
3
|
+
Strategy2["absolute"] = "absolute";
|
|
4
|
+
Strategy2["fixed"] = "fixed";
|
|
5
|
+
return Strategy2;
|
|
6
|
+
})(Strategy || {});
|
|
2
7
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
3
8
|
Side2["left"] = "left";
|
|
4
9
|
Side2["right"] = "right";
|
|
@@ -114,19 +119,15 @@ const ModifiersProps = {
|
|
|
114
119
|
placement: {
|
|
115
120
|
type: String,
|
|
116
121
|
default: Side.bottom,
|
|
117
|
-
validator: (value) =>
|
|
118
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
119
|
-
}
|
|
122
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
120
123
|
},
|
|
121
124
|
/**
|
|
122
125
|
* Dropdown strategy
|
|
123
126
|
*/
|
|
124
127
|
strategy: {
|
|
125
128
|
type: String,
|
|
126
|
-
default:
|
|
127
|
-
validator: (value) =>
|
|
128
|
-
return ["fixed", "absolute"].includes(value);
|
|
129
|
-
}
|
|
129
|
+
default: void 0,
|
|
130
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
130
131
|
},
|
|
131
132
|
/**
|
|
132
133
|
* Dropdown show / hide transition name
|
|
@@ -6,6 +6,11 @@ import { get } from "ts-dot-prop";
|
|
|
6
6
|
import { autoPlacement, flip, shift, size, offset, arrow, useFloating, autoUpdate } from "@floating-ui/vue";
|
|
7
7
|
import mitt from "mitt";
|
|
8
8
|
import { useIMask } from "vue-imask";
|
|
9
|
+
var Strategy = /* @__PURE__ */ ((Strategy2) => {
|
|
10
|
+
Strategy2["absolute"] = "absolute";
|
|
11
|
+
Strategy2["fixed"] = "fixed";
|
|
12
|
+
return Strategy2;
|
|
13
|
+
})(Strategy || {});
|
|
9
14
|
var Side = /* @__PURE__ */ ((Side2) => {
|
|
10
15
|
Side2["left"] = "left";
|
|
11
16
|
Side2["right"] = "right";
|
|
@@ -272,19 +277,15 @@ const DropdownProps = {
|
|
|
272
277
|
placement: {
|
|
273
278
|
type: String,
|
|
274
279
|
default: Side.bottom,
|
|
275
|
-
validator: (value) =>
|
|
276
|
-
return Object.values(Side).includes(value) || Object.values(Placement).includes(value);
|
|
277
|
-
}
|
|
280
|
+
validator: (value) => Object.values(Side).includes(value) || Object.values(Placement).includes(value)
|
|
278
281
|
},
|
|
279
282
|
/**
|
|
280
283
|
* Dropdown strategy
|
|
281
284
|
*/
|
|
282
285
|
strategy: {
|
|
283
286
|
type: String,
|
|
284
|
-
default:
|
|
285
|
-
validator: (value) =>
|
|
286
|
-
return ["fixed", "absolute"].includes(value);
|
|
287
|
-
}
|
|
287
|
+
default: void 0,
|
|
288
|
+
validator: (value) => Object.values(Strategy).includes(value)
|
|
288
289
|
},
|
|
289
290
|
/**
|
|
290
291
|
* Dropdown show / hide transition name
|
|
@@ -2843,13 +2844,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2843
2844
|
}
|
|
2844
2845
|
return toReturn;
|
|
2845
2846
|
});
|
|
2846
|
-
const { x, y,
|
|
2847
|
+
const { x, y, middlewareData, placement, strategy } = useFloating(
|
|
2847
2848
|
referenceEl,
|
|
2848
2849
|
floatingEl,
|
|
2849
2850
|
{
|
|
2850
2851
|
whileElementsMounted: (...args) => {
|
|
2851
2852
|
return autoUpdate(...args, {
|
|
2852
|
-
animationFrame: props.strategy ===
|
|
2853
|
+
animationFrame: props.strategy === Strategy.fixed
|
|
2853
2854
|
});
|
|
2854
2855
|
},
|
|
2855
2856
|
placement: computed(() => props.placement),
|
|
@@ -2881,10 +2882,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2881
2882
|
return void 0;
|
|
2882
2883
|
}
|
|
2883
2884
|
const staticSide = {
|
|
2884
|
-
top:
|
|
2885
|
-
right:
|
|
2886
|
-
bottom:
|
|
2887
|
-
left:
|
|
2885
|
+
[Side.top]: Side.bottom,
|
|
2886
|
+
[Side.right]: Side.left,
|
|
2887
|
+
[Side.bottom]: Side.top,
|
|
2888
|
+
[Side.left]: Side.right
|
|
2888
2889
|
}[side.value];
|
|
2889
2890
|
return {
|
|
2890
2891
|
left: ((_a = middlewareData.value.arrow) == null ? void 0 : _a.x) !== void 0 ? `${(_b = middlewareData.value.arrow) == null ? void 0 : _b.x}px` : void 0,
|