@progress/kendo-vue-common 10.0.1-develop.6 → 10.1.0-develop.1
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/EULA.pdf +0 -0
- package/EULA.rtf +2730 -0
- package/EULA.txt +292 -0
- package/dist/cdn/js/kendo-vue-common.js +1 -1
- package/index.d.mts +2 -1
- package/index.d.ts +2 -1
- package/index.js +1 -1
- package/index.mjs +131 -129
- package/isSafeUrl.d.ts +11 -0
- package/isSafeUrl.js +8 -0
- package/isSafeUrl.mjs +18 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { classNames as r } from "./classNames.mjs";
|
|
9
9
|
import { guid as a } from "./guid.mjs";
|
|
10
|
-
import { Keys as
|
|
10
|
+
import { Keys as n } from "./keys.mjs";
|
|
11
11
|
import { canUseDOM as m } from "./canUseDOM.mjs";
|
|
12
|
-
import { getComponentElementRef as f, getRef as x, setRef as
|
|
12
|
+
import { getComponentElementRef as f, getRef as x, setRef as l } from "./refs.mjs";
|
|
13
13
|
import { firstFocusableChild as c, focusContainer as d, focusFirstFocusableChild as g, focusLastFocusableChild as E, lastFocusableChild as P } from "./focus.mjs";
|
|
14
14
|
import { Draggable as D } from "./Draggable.mjs";
|
|
15
|
-
import { clone as I, cloneArray as
|
|
15
|
+
import { clone as I, cloneArray as S, cloneDate as A, cloneObject as B, cloneValue as M } from "./clone.mjs";
|
|
16
16
|
import { applyTrappedFocus as C, disableNavigatableContainer as v, enableNavigatableContainer as L, focusableChildren as F, keepFocusInContainer as N } from "./trappedFocus.mjs";
|
|
17
17
|
import { isObject as _ } from "./isObject.mjs";
|
|
18
18
|
import { noop as w } from "./noop.mjs";
|
|
@@ -24,166 +24,168 @@ import { getTabIndex as J } from "./getTabIndex.mjs";
|
|
|
24
24
|
import { getDefaultSlots as Y } from "./defaultSlots.mjs";
|
|
25
25
|
import { getDir as $, isRtl as ee } from "./isRtl.mjs";
|
|
26
26
|
import { getLicenseMessage as re, shouldShowValidationUI as te, validatePackage as ae } from "./validate-package.mjs";
|
|
27
|
-
import { AdaptiveModeProvider as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
27
|
+
import { AdaptiveModeProvider as ne } from "./providers/AdaptiveModeProvider.mjs";
|
|
28
|
+
import { isSafeUrl as me } from "./isSafeUrl.mjs";
|
|
29
|
+
import { ADAPTIVE_MEDIUM_BREAKPOINT as fe, ADAPTIVE_SMALL_BREAKPOINT as xe, FIELD_REGEX as le, FOCUSABLE_ELEMENTS as ue, FOCUSABLE_ELEMENTS_BASE as ce, TABBABLE_ELEMENTS as de } from "./constants/main.mjs";
|
|
30
|
+
import { kendoThemeMaps as Ee } from "./theme.mjs";
|
|
31
|
+
import { extendDataItem as be, getItemPath as De, getNestedValue as Te, mapTree as Ie, mapTreeItem as Se } from "./treeDataOperations.mjs";
|
|
32
|
+
import { BrowserSupportService as Be } from "./browser-support.service.mjs";
|
|
33
|
+
import { getScrollbarWidth as he, setScrollbarWidth as Ce } from "./scrollbarWidth.mjs";
|
|
34
|
+
import { hasRelativeStackingContext as Le } from "./hasRelativeStackingContext.mjs";
|
|
35
|
+
import { Icon as Ne } from "./icons/Icon.mjs";
|
|
36
|
+
import { FontIcon as _e } from "./icons/FontIcon.mjs";
|
|
37
|
+
import { SvgIcon as we } from "./icons/SvgIcon.mjs";
|
|
38
|
+
import { getIconName as Ke } from "./icons/getIconName.mjs";
|
|
39
|
+
import { getFileExtensionIcon as Ve } from "./fileExtensionIcon.mjs";
|
|
40
|
+
import { Navigation as Ge } from "./navigation.mjs";
|
|
41
|
+
import { getActiveElement as We, getInnerActiveElement as He } from "./getActiveElement.mjs";
|
|
42
|
+
import { WatermarkOverlay as Xe } from "./watermark/WatermarkOverlay.mjs";
|
|
43
|
+
import { RowHeightService as Je } from "./rowHeightService.mjs";
|
|
44
|
+
import { KENDO_PASTE_EVENT_NAME as Ye, createKendoPasteEvent as Ze, dispatchKendoPasteEvent as $e, getKendoPasteEventTarget as eo } from "./kendopaste/KendoPasteEvent.mjs";
|
|
45
|
+
import { actions as ro, animationStyles as to, base as ao, buttonPrefix as io, calendarPrefix as no, comboBoxPrefix as po, components as mo, containers as so, cssUtils as fo, cursor as xo, dateInputs as lo, ddbPrefix as uo, dimensions as co, directionMap as go, dropDownListPrefix as Eo, elements as Po, fillModeMap as bo, forms as Do, grid as To, gridPrefix as Io, gridRowReorder as So, icon as Ao, inputPrefix as Bo, inputs as Mo, jsonTheme as ho, labels as Co, maskedPrefix as vo, orientationMap as Lo, pickerPrefix as Fo, popup as No, radioPrefix as Ro, roundedMap as _o, sizeMap as ko, states as wo, themeColorMap as Oo } from "./unstyled/json-classes.mjs";
|
|
46
|
+
import { radioButtonClasses as Uo, radioGroupClasses as Vo, uInput as yo, uMaskedTextBox as Go, uRadioButton as jo, uRadioGroup as Wo, uTextBox as Ho } from "./unstyled/inputs.mjs";
|
|
47
|
+
import { uAnimation as Xo } from "./unstyled/animations.mjs";
|
|
48
|
+
import { uButton as Jo, uButtonGroup as Qo, uDropDownButton as Yo } from "./unstyled/buttons.mjs";
|
|
49
|
+
import { uCalendar as $o, uDateInput as er, uDateTimePicker as or, uTime as rr, uTimePicker as tr } from "./unstyled/dateinputs.mjs";
|
|
50
|
+
import { uComboBox as ir, uDropDownList as nr, uDropDownsActionSheet as pr, uDropDownsBase as mr } from "./unstyled/dropdowns.mjs";
|
|
51
|
+
import { uError as fr, uFloatingLabel as xr, uHint as lr, uLabel as ur } from "./unstyled/labels.mjs";
|
|
52
|
+
import { uForm as dr } from "./unstyled/form.mjs";
|
|
53
|
+
import { uGrid as Er } from "./unstyled/grid.mjs";
|
|
54
|
+
import { uPopup as br } from "./unstyled/popup.mjs";
|
|
55
|
+
import { uSvgIcon as Tr } from "./unstyled/icons.mjs";
|
|
55
56
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
fe as ADAPTIVE_MEDIUM_BREAKPOINT,
|
|
58
|
+
xe as ADAPTIVE_SMALL_BREAKPOINT,
|
|
59
|
+
ne as AdaptiveModeProvider,
|
|
60
|
+
Be as BrowserSupportService,
|
|
60
61
|
D as Draggable,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
62
|
+
le as FIELD_REGEX,
|
|
63
|
+
ue as FOCUSABLE_ELEMENTS,
|
|
64
|
+
ce as FOCUSABLE_ELEMENTS_BASE,
|
|
65
|
+
_e as FontIcon,
|
|
66
|
+
Ne as Icon,
|
|
67
|
+
Ye as KENDO_PASTE_EVENT_NAME,
|
|
68
|
+
n as Keys,
|
|
69
|
+
Ge as Navigation,
|
|
70
|
+
Je as RowHeightService,
|
|
71
|
+
we as SvgIcon,
|
|
72
|
+
de as TABBABLE_ELEMENTS,
|
|
73
|
+
Xe as WatermarkOverlay,
|
|
74
|
+
ro as actions,
|
|
75
|
+
to as animationStyles,
|
|
75
76
|
C as applyTrappedFocus,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
ao as base,
|
|
78
|
+
io as buttonPrefix,
|
|
79
|
+
no as calendarPrefix,
|
|
79
80
|
m as canUseDOM,
|
|
80
81
|
r as classNames,
|
|
81
82
|
I as clone,
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
S as cloneArray,
|
|
84
|
+
A as cloneDate,
|
|
84
85
|
B as cloneObject,
|
|
85
86
|
M as cloneValue,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
87
|
+
po as comboBoxPrefix,
|
|
88
|
+
mo as components,
|
|
89
|
+
so as containers,
|
|
90
|
+
Ze as createKendoPasteEvent,
|
|
91
|
+
fo as cssUtils,
|
|
92
|
+
xo as cursor,
|
|
93
|
+
lo as dateInputs,
|
|
94
|
+
uo as ddbPrefix,
|
|
95
|
+
co as dimensions,
|
|
96
|
+
go as directionMap,
|
|
96
97
|
v as disableNavigatableContainer,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
$e as dispatchKendoPasteEvent,
|
|
99
|
+
Eo as dropDownListPrefix,
|
|
100
|
+
Po as elements,
|
|
100
101
|
L as enableNavigatableContainer,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
be as extendDataItem,
|
|
103
|
+
bo as fillModeMap,
|
|
103
104
|
c as firstFocusableChild,
|
|
104
105
|
d as focusContainer,
|
|
105
106
|
g as focusFirstFocusableChild,
|
|
106
107
|
E as focusLastFocusableChild,
|
|
107
108
|
F as focusableChildren,
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
Do as forms,
|
|
110
|
+
We as getActiveElement,
|
|
110
111
|
f as getComponentElementRef,
|
|
111
112
|
Y as getDefaultSlots,
|
|
112
113
|
$ as getDir,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
Ve as getFileExtensionIcon,
|
|
115
|
+
Ke as getIconName,
|
|
116
|
+
He as getInnerActiveElement,
|
|
117
|
+
De as getItemPath,
|
|
118
|
+
eo as getKendoPasteEventTarget,
|
|
118
119
|
re as getLicenseMessage,
|
|
119
120
|
G as getListeners,
|
|
120
|
-
|
|
121
|
+
Te as getNestedValue,
|
|
121
122
|
x as getRef,
|
|
122
|
-
|
|
123
|
+
he as getScrollbarWidth,
|
|
123
124
|
J as getTabIndex,
|
|
124
125
|
H as getTemplate,
|
|
125
126
|
K as getter,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
To as grid,
|
|
128
|
+
Io as gridPrefix,
|
|
129
|
+
So as gridRowReorder,
|
|
129
130
|
a as guid,
|
|
130
131
|
j as hasListener,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
Le as hasRelativeStackingContext,
|
|
133
|
+
Ao as icon,
|
|
134
|
+
Bo as inputPrefix,
|
|
135
|
+
Mo as inputs,
|
|
135
136
|
_ as isObject,
|
|
136
137
|
ee as isRtl,
|
|
137
|
-
|
|
138
|
+
me as isSafeUrl,
|
|
139
|
+
ho as jsonTheme,
|
|
138
140
|
N as keepFocusInContainer,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
Ee as kendoThemeMaps,
|
|
142
|
+
Co as labels,
|
|
141
143
|
P as lastFocusableChild,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
Ie as mapTree,
|
|
145
|
+
Se as mapTreeItem,
|
|
146
|
+
vo as maskedPrefix,
|
|
145
147
|
w as noop,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
148
|
+
Lo as orientationMap,
|
|
149
|
+
Fo as pickerPrefix,
|
|
150
|
+
No as popup,
|
|
151
|
+
Uo as radioButtonClasses,
|
|
152
|
+
Vo as radioGroupClasses,
|
|
153
|
+
Ro as radioPrefix,
|
|
154
|
+
_o as roundedMap,
|
|
155
|
+
l as setRef,
|
|
156
|
+
Ce as setScrollbarWidth,
|
|
155
157
|
V as setter,
|
|
156
158
|
te as shouldShowValidationUI,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
ko as sizeMap,
|
|
160
|
+
wo as states,
|
|
159
161
|
z as templateDefinition,
|
|
160
162
|
X as templateRendering,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
163
|
+
Oo as themeColorMap,
|
|
164
|
+
Xo as uAnimation,
|
|
165
|
+
Jo as uButton,
|
|
166
|
+
Qo as uButtonGroup,
|
|
167
|
+
$o as uCalendar,
|
|
168
|
+
ir as uComboBox,
|
|
169
|
+
er as uDateInput,
|
|
170
|
+
or as uDateTimePicker,
|
|
171
|
+
Yo as uDropDownButton,
|
|
172
|
+
nr as uDropDownList,
|
|
173
|
+
pr as uDropDownsActionSheet,
|
|
174
|
+
mr as uDropDownsBase,
|
|
175
|
+
fr as uError,
|
|
176
|
+
xr as uFloatingLabel,
|
|
177
|
+
dr as uForm,
|
|
178
|
+
Er as uGrid,
|
|
179
|
+
lr as uHint,
|
|
180
|
+
yo as uInput,
|
|
181
|
+
ur as uLabel,
|
|
182
|
+
Go as uMaskedTextBox,
|
|
183
|
+
br as uPopup,
|
|
184
|
+
jo as uRadioButton,
|
|
185
|
+
Wo as uRadioGroup,
|
|
186
|
+
Tr as uSvgIcon,
|
|
187
|
+
Ho as uTextBox,
|
|
188
|
+
rr as uTime,
|
|
189
|
+
tr as uTimePicker,
|
|
188
190
|
ae as validatePackage
|
|
189
191
|
};
|
package/isSafeUrl.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const isSafeUrl: (url: string) => boolean;
|
package/isSafeUrl.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=/^(https?|mailto|tel):/i,s=/^[a-z][a-z\d+.-]*:/i,a=e=>Array.from(e).filter(t=>{var o;const r=(o=t.codePointAt(0))!=null?o:0;return r>31&&r!==127}).join(""),c=e=>{const t=a(e.trim());return!s.test(t)||l.test(t)};exports.isSafeUrl=c;
|
package/isSafeUrl.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
const c = /^(https?|mailto|tel):/i, n = /^[a-z][a-z\d+.-]*:/i, s = (r) => Array.from(r).filter((t) => {
|
|
9
|
+
var o;
|
|
10
|
+
const e = (o = t.codePointAt(0)) != null ? o : 0;
|
|
11
|
+
return e > 31 && e !== 127;
|
|
12
|
+
}).join(""), a = (r) => {
|
|
13
|
+
const t = s(r.trim());
|
|
14
|
+
return !n.test(t) || c.test(t);
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
a as isSafeUrl
|
|
18
|
+
};
|