@progress/kendo-vue-popup 3.6.4-dev.202210071340 → 3.6.5-dev.202210181442
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/cdn/js/kendo-vue-popup.js +1 -1
- package/dist/es/Popup.js +19 -53
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/util.js +4 -48
- package/dist/esm/Popup.js +19 -53
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/util.js +4 -48
- package/dist/npm/Popup.js +21 -64
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/util.js +4 -61
- package/package.json +3 -3
package/dist/es/util.js
CHANGED
|
@@ -2,7 +2,6 @@ import { parents, siblingContainer } from '@progress/kendo-popup-common';
|
|
|
2
2
|
/**
|
|
3
3
|
* @hidden
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
5
|
export var eitherRect = function eitherRect(rect, offset) {
|
|
7
6
|
if (!rect) {
|
|
8
7
|
return {
|
|
@@ -12,18 +11,15 @@ export var eitherRect = function eitherRect(rect, offset) {
|
|
|
12
11
|
width: 0
|
|
13
12
|
};
|
|
14
13
|
}
|
|
15
|
-
|
|
16
14
|
return rect;
|
|
17
15
|
};
|
|
18
16
|
/**
|
|
19
17
|
* @hidden
|
|
20
18
|
*/
|
|
21
|
-
|
|
22
19
|
export var replaceOffset = function replaceOffset(rect, offset) {
|
|
23
20
|
if (!offset) {
|
|
24
21
|
return rect;
|
|
25
22
|
}
|
|
26
|
-
|
|
27
23
|
var result = {
|
|
28
24
|
height: rect.height,
|
|
29
25
|
left: offset.left,
|
|
@@ -35,12 +31,10 @@ export var replaceOffset = function replaceOffset(rect, offset) {
|
|
|
35
31
|
/**
|
|
36
32
|
* @hidden
|
|
37
33
|
*/
|
|
38
|
-
|
|
39
34
|
export var removeStackingOffset = function removeStackingOffset(rect, stackingOffset) {
|
|
40
35
|
if (!stackingOffset) {
|
|
41
36
|
return rect;
|
|
42
37
|
}
|
|
43
|
-
|
|
44
38
|
var result = {
|
|
45
39
|
height: rect.height,
|
|
46
40
|
left: rect.left - stackingOffset.left,
|
|
@@ -52,44 +46,38 @@ export var removeStackingOffset = function removeStackingOffset(rect, stackingOf
|
|
|
52
46
|
/**
|
|
53
47
|
* @hidden
|
|
54
48
|
*/
|
|
55
|
-
|
|
56
49
|
export var isDifferentOffset = function isDifferentOffset(oldOffset, newOffset) {
|
|
57
50
|
var oldLeft = oldOffset.left,
|
|
58
|
-
|
|
51
|
+
oldTop = oldOffset.top;
|
|
59
52
|
var newLeft = newOffset.left,
|
|
60
|
-
|
|
53
|
+
newTop = newOffset.top;
|
|
61
54
|
return Math.abs(oldLeft - newLeft) >= 1 || Math.abs(oldTop - newTop) >= 1;
|
|
62
55
|
};
|
|
63
56
|
/**
|
|
64
57
|
* @hidden
|
|
65
58
|
*/
|
|
66
|
-
|
|
67
59
|
export var isDocumentAvailable = function isDocumentAvailable() {
|
|
68
60
|
return typeof document !== 'undefined' && !!document.body;
|
|
69
61
|
};
|
|
70
62
|
/**
|
|
71
63
|
* @hidden
|
|
72
64
|
*/
|
|
73
|
-
|
|
74
65
|
export var isWindowAvailable = function isWindowAvailable() {
|
|
75
66
|
return typeof window !== 'undefined';
|
|
76
67
|
};
|
|
77
68
|
/**
|
|
78
69
|
* @hidden
|
|
79
70
|
*/
|
|
80
|
-
|
|
81
71
|
export var hasBoundingRect = function hasBoundingRect(elem) {
|
|
82
72
|
return !!elem.getBoundingClientRect;
|
|
83
73
|
};
|
|
84
74
|
/**
|
|
85
75
|
* @hidden
|
|
86
76
|
*/
|
|
87
|
-
|
|
88
77
|
export var OVERFLOW_REGEXP = /auto|scroll/;
|
|
89
78
|
/**
|
|
90
79
|
* @hidden
|
|
91
80
|
*/
|
|
92
|
-
|
|
93
81
|
var overflowStyle = function overflowStyle(element) {
|
|
94
82
|
var styles = window.getComputedStyle(element);
|
|
95
83
|
return "".concat(styles.overflow).concat(styles.overflowX).concat(styles.overflowY);
|
|
@@ -97,55 +85,42 @@ var overflowStyle = function overflowStyle(element) {
|
|
|
97
85
|
/**
|
|
98
86
|
* @hidden
|
|
99
87
|
*/
|
|
100
|
-
|
|
101
|
-
|
|
102
88
|
export var scrollableParents = function scrollableParents(element) {
|
|
103
89
|
var parentElements = [];
|
|
104
|
-
|
|
105
90
|
if (!isDocumentAvailable() || !isWindowAvailable()) {
|
|
106
91
|
return parentElements;
|
|
107
92
|
}
|
|
108
|
-
|
|
109
93
|
var parent = element.parentElement;
|
|
110
|
-
|
|
111
94
|
while (parent) {
|
|
112
95
|
if (OVERFLOW_REGEXP.test(overflowStyle(parent))) {
|
|
113
96
|
parentElements.push(parent);
|
|
114
97
|
}
|
|
115
|
-
|
|
116
98
|
parent = parent.parentElement;
|
|
117
99
|
}
|
|
118
|
-
|
|
119
100
|
parentElements.push(window);
|
|
120
101
|
return parentElements;
|
|
121
102
|
};
|
|
122
103
|
/**
|
|
123
104
|
* @hidden
|
|
124
105
|
*/
|
|
125
|
-
|
|
126
106
|
export var FRAME_DURATION = 1000 / 60; // 1000ms divided by 60fps
|
|
127
|
-
|
|
128
107
|
/**
|
|
129
108
|
* @hidden
|
|
130
109
|
*/
|
|
131
|
-
|
|
132
110
|
export var hasRelativeStackingContext = function hasRelativeStackingContext() {
|
|
133
111
|
if (!isDocumentAvailable()) {
|
|
134
112
|
return false;
|
|
135
113
|
}
|
|
136
|
-
|
|
137
114
|
var top = 10;
|
|
138
115
|
var parent = document.createElement('div');
|
|
139
116
|
parent.style.transform = 'matrix(10, 0, 0, 10, 0, 0)';
|
|
140
117
|
parent.innerHTML = "<div>child</div>";
|
|
141
118
|
document.body.appendChild(parent);
|
|
142
|
-
|
|
143
119
|
if (parent && parent.firstChild) {
|
|
144
120
|
var firstChild = parent.firstChild;
|
|
145
121
|
firstChild.style.position = 'fixed';
|
|
146
122
|
firstChild.style.top = "".concat(top, "px");
|
|
147
123
|
}
|
|
148
|
-
|
|
149
124
|
var isDifferent = parent.children[0].getBoundingClientRect().top !== top;
|
|
150
125
|
document.body.removeChild(parent);
|
|
151
126
|
return isDifferent;
|
|
@@ -153,23 +128,18 @@ export var hasRelativeStackingContext = function hasRelativeStackingContext() {
|
|
|
153
128
|
/**
|
|
154
129
|
* @hidden
|
|
155
130
|
*/
|
|
156
|
-
|
|
157
131
|
export var HAS_RELATIVE_STACKING_CONTEXT = hasRelativeStackingContext();
|
|
158
132
|
/**
|
|
159
133
|
* @hidden
|
|
160
134
|
*/
|
|
161
|
-
|
|
162
135
|
export var zIndex = function zIndex(anchor, container) {
|
|
163
136
|
if (!anchor || !isDocumentAvailable() || !isWindowAvailable()) {
|
|
164
137
|
return null;
|
|
165
138
|
}
|
|
166
|
-
|
|
167
139
|
var sibling = siblingContainer(anchor, container);
|
|
168
|
-
|
|
169
140
|
if (!sibling) {
|
|
170
141
|
return null;
|
|
171
142
|
}
|
|
172
|
-
|
|
173
143
|
var result = [anchor].concat(parents(anchor, sibling)).reduce(function (index, p) {
|
|
174
144
|
var zIndexStyle = p.style.zIndex || window.getComputedStyle(p).zIndex;
|
|
175
145
|
var current = parseInt(zIndexStyle, 10);
|
|
@@ -180,7 +150,6 @@ export var zIndex = function zIndex(anchor, container) {
|
|
|
180
150
|
/**
|
|
181
151
|
* @hidden
|
|
182
152
|
*/
|
|
183
|
-
|
|
184
153
|
export var CollisionType = {
|
|
185
154
|
fit: 'fit',
|
|
186
155
|
flip: 'flip'
|
|
@@ -188,7 +157,6 @@ export var CollisionType = {
|
|
|
188
157
|
/**
|
|
189
158
|
* @hidden
|
|
190
159
|
*/
|
|
191
|
-
|
|
192
160
|
export var AlignPoint = {
|
|
193
161
|
left: 'left',
|
|
194
162
|
center: 'center',
|
|
@@ -199,56 +167,44 @@ export var AlignPoint = {
|
|
|
199
167
|
/**
|
|
200
168
|
* @hidden
|
|
201
169
|
*/
|
|
202
|
-
|
|
203
170
|
export var throttle = function throttle(func, wait, options) {
|
|
204
171
|
if (options === void 0) {
|
|
205
172
|
options = {};
|
|
206
173
|
}
|
|
207
|
-
|
|
208
174
|
var timeout, context, args, result;
|
|
209
175
|
var previous = 0;
|
|
210
176
|
options = options || {};
|
|
211
|
-
|
|
212
177
|
var later = function later() {
|
|
213
178
|
previous = options.leading === false ? 0 : new Date().getTime();
|
|
214
179
|
timeout = null;
|
|
215
180
|
result = func.apply(context, args);
|
|
216
|
-
|
|
217
181
|
if (!timeout) {
|
|
218
182
|
context = args = null;
|
|
219
183
|
}
|
|
220
184
|
};
|
|
221
|
-
|
|
222
185
|
var throttled = function throttled() {
|
|
223
186
|
var now = new Date().getTime();
|
|
224
|
-
|
|
225
187
|
if (!previous && options.leading === false) {
|
|
226
188
|
previous = now;
|
|
227
189
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
190
|
+
var remaining = wait - (now - previous);
|
|
191
|
+
// @ts-ignore
|
|
231
192
|
context = this;
|
|
232
193
|
args = arguments;
|
|
233
|
-
|
|
234
194
|
if (remaining <= 0 || remaining > wait) {
|
|
235
195
|
if (timeout) {
|
|
236
196
|
clearTimeout(timeout);
|
|
237
197
|
timeout = null;
|
|
238
198
|
}
|
|
239
|
-
|
|
240
199
|
previous = now;
|
|
241
200
|
result = func.apply(context, args);
|
|
242
|
-
|
|
243
201
|
if (!timeout) {
|
|
244
202
|
context = args = null;
|
|
245
203
|
}
|
|
246
204
|
} else if (!timeout && options.trailing !== false) {
|
|
247
205
|
timeout = setTimeout(later, remaining);
|
|
248
206
|
}
|
|
249
|
-
|
|
250
207
|
return result;
|
|
251
208
|
};
|
|
252
|
-
|
|
253
209
|
return throttled;
|
|
254
210
|
};
|
package/dist/esm/Popup.js
CHANGED
|
@@ -22,7 +22,6 @@ var K_POPUP = 'k-popup';
|
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
25
|
-
|
|
26
25
|
var PopupVue2 = {
|
|
27
26
|
name: 'Popup',
|
|
28
27
|
props: {
|
|
@@ -127,7 +126,6 @@ var PopupVue2 = {
|
|
|
127
126
|
this.mountedAppendTo = this.appendTo ? this.getParentRef(this.appendTo) : document.body;
|
|
128
127
|
this.mountedAnchor = this.anchor ? this.getParentRef(this.anchor, true) : document.body;
|
|
129
128
|
}
|
|
130
|
-
|
|
131
129
|
this._parentElement = this.$el.parentElement;
|
|
132
130
|
this._clonedElement = this.$el.cloneNode(true);
|
|
133
131
|
this.hasMounted = true;
|
|
@@ -157,11 +155,9 @@ var PopupVue2 = {
|
|
|
157
155
|
methods: {
|
|
158
156
|
onOpened: function onOpened() {
|
|
159
157
|
var element = this.$el;
|
|
160
|
-
|
|
161
158
|
if (this.$props.show) {
|
|
162
159
|
element.classList.add(ANIMATION_CONTAINER_SHOWN);
|
|
163
160
|
}
|
|
164
|
-
|
|
165
161
|
this.attachRepositionHandlers(element);
|
|
166
162
|
this.$emit('open', {
|
|
167
163
|
target: this
|
|
@@ -172,7 +168,6 @@ var PopupVue2 = {
|
|
|
172
168
|
var element = this.$el;
|
|
173
169
|
element.classList.remove(ANIMATION_CONTAINER_SHOWN);
|
|
174
170
|
}
|
|
175
|
-
|
|
176
171
|
this.detachRepositionHandlers();
|
|
177
172
|
},
|
|
178
173
|
onClosed: function onClosed() {
|
|
@@ -180,7 +175,6 @@ var PopupVue2 = {
|
|
|
180
175
|
this._exitingAnimation = false;
|
|
181
176
|
this.$forceUpdate();
|
|
182
177
|
}
|
|
183
|
-
|
|
184
178
|
this.$emit('close', {
|
|
185
179
|
target: this
|
|
186
180
|
});
|
|
@@ -189,7 +183,6 @@ var PopupVue2 = {
|
|
|
189
183
|
var animate = this.$props.animate;
|
|
190
184
|
var transitionEnterDuration = 0;
|
|
191
185
|
var transitionExitDuration = 0;
|
|
192
|
-
|
|
193
186
|
if (animate) {
|
|
194
187
|
if (animate === true) {
|
|
195
188
|
// Inherit the default duration of the Animation component.
|
|
@@ -199,7 +192,6 @@ var PopupVue2 = {
|
|
|
199
192
|
transitionExitDuration = animate.closeDuration;
|
|
200
193
|
}
|
|
201
194
|
}
|
|
202
|
-
|
|
203
195
|
return {
|
|
204
196
|
transitionEnterDuration: transitionEnterDuration,
|
|
205
197
|
transitionExitDuration: transitionExitDuration
|
|
@@ -208,32 +200,27 @@ var PopupVue2 = {
|
|
|
208
200
|
getParentRef: function getParentRef(anchor, isAnchor) {
|
|
209
201
|
// @ts-ignore
|
|
210
202
|
var parent = this.$parent;
|
|
211
|
-
|
|
212
203
|
while (!parent.$refs[anchor]) {
|
|
213
204
|
// @ts-ignore
|
|
214
205
|
if (parent && parent.kendoAnchorRef && isAnchor) {
|
|
215
206
|
// @ts-ignore
|
|
216
207
|
return parent.kendoAnchorRef;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
208
|
+
}
|
|
209
|
+
// @ts-ignore
|
|
220
210
|
parent = parent.$parent;
|
|
221
|
-
|
|
222
211
|
if (!parent && canUseDOM) {
|
|
223
212
|
return document.getElementById(anchor) || document.body;
|
|
224
213
|
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
214
|
+
}
|
|
215
|
+
// @ts-ignore
|
|
228
216
|
return parent.$refs[anchor].$el || parent.$refs[anchor];
|
|
229
217
|
},
|
|
230
218
|
position: function position(settings, element, anchor) {
|
|
231
219
|
var anchorAlign = settings.anchorAlign,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
220
|
+
popupAlign = settings.popupAlign,
|
|
221
|
+
collision = settings.collision,
|
|
222
|
+
offset = settings.offset;
|
|
235
223
|
var anchorElement = anchor ? this.v3 ? this.mountedAnchor : this.getParentRef(anchor, true) : document.body;
|
|
236
|
-
|
|
237
224
|
var alignedOffset = this._alignService.alignElement({
|
|
238
225
|
anchor: anchor ? anchorElement : undefined,
|
|
239
226
|
element: element,
|
|
@@ -241,7 +228,6 @@ var PopupVue2 = {
|
|
|
241
228
|
anchorAlign: anchorAlign,
|
|
242
229
|
offset: offset
|
|
243
230
|
});
|
|
244
|
-
|
|
245
231
|
var result = this._positionService.positionElement({
|
|
246
232
|
anchor: anchorElement,
|
|
247
233
|
anchorAlign: anchorAlign,
|
|
@@ -250,7 +236,6 @@ var PopupVue2 = {
|
|
|
250
236
|
currentLocation: alignedOffset,
|
|
251
237
|
elementAlign: popupAlign
|
|
252
238
|
});
|
|
253
|
-
|
|
254
239
|
return result;
|
|
255
240
|
},
|
|
256
241
|
calculatePosition: function calculatePosition($props, appendToElement) {
|
|
@@ -260,24 +245,20 @@ var PopupVue2 = {
|
|
|
260
245
|
offset: $props.offset
|
|
261
246
|
};
|
|
262
247
|
}
|
|
263
|
-
|
|
264
248
|
var defaultSlot = getDefaultSlots(this);
|
|
265
249
|
var root = document.createElement('div');
|
|
266
250
|
var contentElement = this.$el && this.$el.firstChild ? this.$el.firstChild.firstChild ? this.$el.firstChild.firstChild.cloneNode(true) : null : null;
|
|
267
251
|
var divWrapper = contentElement && contentElement.getBoundingClientRect ? contentElement : this._clonedElement;
|
|
268
|
-
|
|
269
252
|
if (divWrapper) {
|
|
270
253
|
root.appendChild(divWrapper);
|
|
271
254
|
} else {
|
|
272
255
|
// @ts-ignore
|
|
273
|
-
var internalClass = this.v3 ? defaultSlot && defaultSlot[0].props ? defaultSlot[0].props.class : '' : defaultSlot && defaultSlot[0].data ? defaultSlot[0].data.staticClass : '';
|
|
274
|
-
|
|
256
|
+
var internalClass = this.v3 ? defaultSlot && defaultSlot[0].props ? defaultSlot[0].props.class : '' : defaultSlot && defaultSlot[0].data ? defaultSlot[0].data.staticClass : '';
|
|
257
|
+
// @ts-ignore
|
|
275
258
|
var domClass = this.v3 ? this.$props.popupClass ? this.$props.popupClass : '' : defaultSlot && defaultSlot[0].data ? defaultSlot[0].data.class : '';
|
|
276
259
|
root.innerHTML = "<div class=\"k-animation-container k-animation-container-relative\">\t\n <div class=\"k-popup k-animation-container k-animation-container-relative\">\n <div class=\"".concat(internalClass, " ").concat(domClass, "\" >\n </div>\t\n </div>\t\n </div>");
|
|
277
260
|
}
|
|
278
|
-
|
|
279
261
|
appendToElement.appendChild(root);
|
|
280
|
-
|
|
281
262
|
if (root && root.firstChild) {
|
|
282
263
|
var firstChild = root.firstChild;
|
|
283
264
|
firstChild.style.position = 'absolute';
|
|
@@ -286,44 +267,36 @@ var PopupVue2 = {
|
|
|
286
267
|
firstChild.style.left = '-1000';
|
|
287
268
|
firstChild.style.top = '0';
|
|
288
269
|
var inlineStyles = this.v3 ? defaultSlot && defaultSlot[0].props ? defaultSlot[0].props.style : {} : defaultSlot[0].data ? defaultSlot[0].data.style : {};
|
|
289
|
-
|
|
290
270
|
if (inlineStyles) {
|
|
291
271
|
for (var _i = 0, _a = Object.entries(inlineStyles); _i < _a.length; _i++) {
|
|
292
272
|
var _b = _a[_i],
|
|
293
|
-
|
|
294
|
-
|
|
273
|
+
key = _b[0],
|
|
274
|
+
value = _b[1];
|
|
295
275
|
firstChild.style[key] = value;
|
|
296
276
|
}
|
|
297
277
|
}
|
|
298
278
|
}
|
|
299
|
-
|
|
300
279
|
var newPosition = this.position($props, root.firstChild, this.$props.anchor);
|
|
301
280
|
root.parentNode.removeChild(root);
|
|
302
281
|
return newPosition;
|
|
303
282
|
},
|
|
304
283
|
attachRepositionHandlers: function attachRepositionHandlers(element) {
|
|
305
284
|
var _this = this;
|
|
306
|
-
|
|
307
285
|
this.detachRepositionHandlers();
|
|
308
286
|
this._scrollableParents = this._domService.scrollableParents(this.$props.anchor ? this.mountedAnchor : element);
|
|
309
|
-
|
|
310
287
|
this._scrollableParents.map(function (p) {
|
|
311
288
|
return p.addEventListener('scroll', _this.reposition);
|
|
312
289
|
});
|
|
313
|
-
|
|
314
290
|
window.addEventListener('resize', this.reposition);
|
|
315
291
|
},
|
|
316
292
|
detachRepositionHandlers: function detachRepositionHandlers() {
|
|
317
293
|
var _this = this;
|
|
318
|
-
|
|
319
294
|
if (this._scrollableParents) {
|
|
320
295
|
this._scrollableParents.map(function (p) {
|
|
321
296
|
return p.removeEventListener('scroll', _this.reposition);
|
|
322
297
|
});
|
|
323
|
-
|
|
324
298
|
this._scrollableParents = undefined;
|
|
325
299
|
}
|
|
326
|
-
|
|
327
300
|
window.removeEventListener('resize', this.reposition);
|
|
328
301
|
},
|
|
329
302
|
reposition: function reposition() {
|
|
@@ -338,30 +311,25 @@ var PopupVue2 = {
|
|
|
338
311
|
render: function render(createElement) {
|
|
339
312
|
var h = gh || createElement;
|
|
340
313
|
var _a = this.$props,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
314
|
+
className = _a.className,
|
|
315
|
+
popupClass = _a.popupClass,
|
|
316
|
+
show = _a.show,
|
|
317
|
+
id = _a.id;
|
|
345
318
|
var defaultSlots = getDefaultSlots(this);
|
|
346
319
|
var defaultSlot = this.v3 ? defaultSlots : show ? defaultSlots : null;
|
|
347
320
|
var defaultAppentTo = isWindowAvailable() ? this.$props.appendTo ? this.mountedAppendTo || this.getParentRef(this.$props.appendTo) : document.body : undefined;
|
|
348
|
-
|
|
349
321
|
if (this.$props.show) {
|
|
350
322
|
var newPosition = this.calculatePosition(this.$props, defaultAppentTo);
|
|
351
323
|
this._offsetLeft = newPosition.offset.left;
|
|
352
324
|
this._offsetTop = newPosition.offset.top;
|
|
353
325
|
this._flipped = !!newPosition.flipped;
|
|
354
326
|
}
|
|
355
|
-
|
|
356
327
|
var direction = this._flipped ? 'up' : 'down';
|
|
357
|
-
|
|
358
328
|
var _b = this.transitionDuration(),
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
329
|
+
transitionEnterDuration = _b.transitionEnterDuration,
|
|
330
|
+
transitionExitDuration = _b.transitionExitDuration;
|
|
362
331
|
var currentZIndex = this.getCurrentZIndex();
|
|
363
332
|
this._exitingAnimation = this._exitingAnimation || this._prevShow && !show;
|
|
364
|
-
|
|
365
333
|
if (!this.hasMounted) {
|
|
366
334
|
return h("div", {
|
|
367
335
|
style: {
|
|
@@ -372,9 +340,9 @@ var PopupVue2 = {
|
|
|
372
340
|
"class": [popupClass, K_POPUP]
|
|
373
341
|
}, [defaultSlots])]);
|
|
374
342
|
}
|
|
375
|
-
|
|
376
343
|
if (show || this._exitingAnimation && defaultAppentTo) {
|
|
377
|
-
var popup =
|
|
344
|
+
var popup =
|
|
345
|
+
// @ts-ignore function children
|
|
378
346
|
h(Slide, {
|
|
379
347
|
id: id,
|
|
380
348
|
attrs: this.v3 ? undefined : {
|
|
@@ -413,13 +381,11 @@ var PopupVue2 = {
|
|
|
413
381
|
} : [defaultSlot]);
|
|
414
382
|
return popup;
|
|
415
383
|
}
|
|
416
|
-
|
|
417
384
|
return null;
|
|
418
385
|
}
|
|
419
386
|
};
|
|
420
387
|
/**
|
|
421
388
|
* @hidden
|
|
422
389
|
*/
|
|
423
|
-
|
|
424
390
|
var Popup = PopupVue2;
|
|
425
391
|
export { Popup, PopupVue2 };
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-popup',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1666103222,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|