@progress/kendo-react-common 16.2.0-develop.9 → 16.2.1-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/index.mjs CHANGED
@@ -10,269 +10,273 @@ import { ZIndexContext as t, useZIndexContext as p } from "./contexts/ZIndexCont
10
10
  import { AdaptiveModeContext as a, defaultValue as n, useAdaptiveModeContext as m } from "./contexts/AdaptiveModeContext.mjs";
11
11
  import { BrowserSupportService as x } from "./browser-support.service.mjs";
12
12
  import { canUseDOM as d } from "./canUseDOM.mjs";
13
- import { canUseRef as l } from "./canUseRef.mjs";
13
+ import { canUseRef as u } from "./canUseRef.mjs";
14
14
  import { classNames as I, strippedClassNames as C } from "./classNames.mjs";
15
- import { clone as g, cloneArray as P, cloneDate as b, cloneObject as A, cloneValue as h } from "./clone.mjs";
15
+ import { clone as E, cloneArray as P, cloneDate as b, cloneObject as A, cloneValue as h } from "./clone.mjs";
16
16
  import { applyTrappedFocus as M, disableNavigatableContainer as T, enableNavigatableContainer as v, firstFocusableChild as S, focusFirstFocusableChild as B, focusLastFocusableChild as L, focusableChildren as F, keepFocusInContainer as N, lastFocusableChild as y } from "./trappedFocus.mjs";
17
17
  import { FormComponent as O } from "./FormComponent.mjs";
18
- import { getTabIndex as _ } from "./getTabIndex.mjs";
19
- import { getter as U } from "./getter.mjs";
18
+ import { getTabIndex as U } from "./getTabIndex.mjs";
19
+ import { getter as k } from "./getter.mjs";
20
20
  import { guid as W } from "./guid.mjs";
21
21
  import { KEYS as G, Keys as H } from "./keys.mjs";
22
- import { noop as Z } from "./noop.mjs";
22
+ import { noop as z } from "./noop.mjs";
23
23
  import { getScrollbarWidth as X, setScrollbarWidth as Y } from "./scrollbarWidth.mjs";
24
- import { setter as J } from "./setter.mjs";
25
- import { ADAPTIVE_MEDIUM_BREAKPOINT as $, ADAPTIVE_SMALL_BREAKPOINT as ee, FIELD_REGEX as oe, FOCUSABLE_ELEMENTS as re, FOCUSABLE_ELEMENTS_BASE as te, TABBABLE_ELEMENTS as pe } from "./constants/main.mjs";
26
- import { extendDataItem as ae, getItemPath as ne, mapTree as me, mapTreeItem as ie } from "./treeDataOperations.mjs";
27
- import { getLicenseMessage as fe, hasValidLicense as de, validatePackage as ue } from "./validate-package.mjs";
28
- import { hasRelativeStackingContext as ce } from "./hasRelativeStackingContext.mjs";
29
- import { WatermarkOverlay as Ce } from "./watermark/WatermarkOverlay.mjs";
30
- import { applyDefaultProps as ge } from "./apply-default-props.mjs";
31
- import { dispatchEvent as be } from "./events/dispatchEvent.mjs";
32
- import { AsyncFocusBlur as he } from "./hocs/AsyncFocusBlur.mjs";
33
- import { createPropsContext as Me, withPropsContext as Te } from "./hocs/withPropsContext.mjs";
34
- import { withIdHOC as Se } from "./hocs/use-id-hoc.mjs";
35
- import { withUnstyledHOC as Le } from "./hocs/use-unstyled-hoc.mjs";
36
- import { withAdaptiveModeContext as Ne } from "./hocs/use-adaptive-mode-hoc.mjs";
37
- import { withZIndexContext as we } from "./hocs/withzIndexContext.mjs";
38
- import { useDir as Re } from "./hooks/useDir.mjs";
39
- import { useAsyncFocusBlur as ke } from "./hooks/useAsyncFocusBlur.mjs";
40
- import { useRtl as Ke } from "./hooks/useRtl.mjs";
41
- import { useMouse as Ve } from "./hooks/useMouse.mjs";
42
- import { useCustomComponent as He } from "./hooks/useCustomComponent.mjs";
43
- import { usePropsContext as Ze } from "./hooks/usePropsContext.mjs";
44
- import { COLLECTION_ACTION as Xe, useCollection as Ye } from "./hooks/useCollection.mjs";
45
- import { useDocument as Je } from "./hooks/useDocument.mjs";
46
- import { useWindow as $e } from "./hooks/useWindow.mjs";
47
- import { useId as oo } from "./hooks/use-id.mjs";
48
- import { useIsomorphicLayoutEffect as to } from "./hooks/use-isomorphic-layout-effect.mjs";
49
- import { useImmediateInheritState as so } from "./hooks/use-immediate-inherit-state.mjs";
50
- import { usePaidChildrenWatermark as no } from "./hooks/usePaidChildrenWatermark.mjs";
51
- import { useMergedRef as io } from "./hooks/useMergedRef.mjs";
52
- import { Icon as fo } from "./icons/Icon.mjs";
53
- import { SvgIcon as lo } from "./icons/SvgIcon.mjs";
54
- import { IconWrap as Io } from "./icons/IconWrap.mjs";
55
- import { IconsContext as Eo } from "./icons/IconsContext.mjs";
56
- import { svgIconPropType as Po, toIconClass as bo, toIconName as Ao } from "./icons/utils.mjs";
57
- import { Typography as Do } from "./typography/Typography.mjs";
58
- import { DragAndDrop as To } from "./drag-n-drop/index.mjs";
59
- import { Draggable as So } from "./Draggable.mjs";
60
- import { Droppable as Lo } from "./Droppable.mjs";
61
- import { useDraggable as No } from "./hooks/useDraggable.mjs";
62
- import { useDroppable as wo } from "./hooks/useDroppable.mjs";
63
- import { kendoThemeMaps as Ro } from "./theme.mjs";
64
- import { memoizeOne as ko } from "./memoize.mjs";
65
- import { Navigation as Ko } from "./navigation.mjs";
66
- import { getActiveElement as Vo, getInnerActiveElement as Go } from "./getActiveElement.mjs";
67
- import { getFileExtensionIcon as jo } from "./fileExtensionIcon.mjs";
68
- import { TreeFieldsService as zo } from "./tree-utils/FieldsService.mjs";
69
- import { SortedPublicItemIds as Yo } from "./tree-utils/SortedPublicItemIds.mjs";
70
- import { addItem as Jo, areAllDirectChildrenChecked as Qo, getAllDirectIndirectChildrenIds as $o, getAllParents as er, hasChildren as or, isEnabledAndAllParentsEnabled as rr, isItemExpandedAndWithChildren as tr, removeItem as pr, resolveItemId as sr, resolveItemsIds as ar, updateItem as nr } from "./tree-utils/itemUtils.mjs";
71
- import { getAbsoluteVirtualRowIndex as ir } from "./virtualRow.mjs";
72
- import { getNestedValue as fr, isArray as dr } from "./tree-utils/misc.mjs";
73
- import { RowHeightService as lr } from "./rowHeightService.mjs";
74
- import { deepMerge as Ir, isObject as Cr, isPromise as Er } from "./deep-merge.mjs";
75
- import { WebMcpContext as Pr, WebMcpProvider as br, getModelContext as Ar, useWebMcpRegister as hr } from "./WebMcpProvider.mjs";
76
- import { KENDO_PASTE_EVENT_NAME as Mr, createKendoPasteEvent as Tr, dispatchKendoPasteEvent as vr, getKendoPasteEventTarget as Sr } from "./kendopaste/KendoPasteEvent.mjs";
77
- import { UnstyledContext as Lr, useUnstyled as Fr } from "./unstyled/unstyled-context.mjs";
78
- import { actions as yr, animationStyles as wr, base as Or, buttonPrefix as Rr, calendarPrefix as _r, comboBoxPrefix as kr, components as Ur, containers as Kr, cssUtils as Wr, dateInputs as Vr, ddbPrefix as Gr, dimensions as Hr, directionMap as jr, dropDownListPrefix as Zr, elements as zr, fillModeMap as Xr, forms as Yr, grid as qr, gridPrefix as Jr, gridRowReorder as Qr, icon as $r, inputPrefix as et, inputs as ot, jsonTheme as rt, labels as tt, maskedPrefix as pt, orientationMap as st, pickerPrefix as at, popup as nt, radioPrefix as mt, roundedMap as it, sizeMap as xt, states as ft, themeColorMap as dt } from "./unstyled/json-classes.mjs";
79
- import { radioButtonClasses as lt, radioGroupClasses as ct, uInput as It, uMaskedTextBox as Ct, uRadioButton as Et, uRadioGroup as gt, uTextBox as Pt } from "./unstyled/inputs.mjs";
80
- import { subscribeToKendoPaste as At, useKendoPaste as ht } from "./kendopaste/useKendoPaste.mjs";
81
- import { uAnimation as Mt } from "./unstyled/animations.mjs";
82
- import { uButton as vt, uButtonGroup as St, uDropDownButton as Bt } from "./unstyled/buttons.mjs";
83
- import { uCalendar as Ft, uDateInput as Nt, uDateTimePicker as yt, uTime as wt, uTimePicker as Ot } from "./unstyled/dateinputs.mjs";
84
- import { uComboBox as _t, uDropDownList as kt, uDropDownsActionSheet as Ut, uDropDownsBase as Kt } from "./unstyled/dropdowns.mjs";
85
- import { uError as Vt, uFloatingLabel as Gt, uHint as Ht, uLabel as jt } from "./unstyled/labels.mjs";
86
- import { uForm as zt } from "./unstyled/form.mjs";
87
- import { uGrid as Yt } from "./unstyled/grid.mjs";
88
- import { uPopup as Jt } from "./unstyled/popup.mjs";
89
- import { uSvgIcon as $t } from "./unstyled/icons.mjs";
24
+ import { isSafeImageUrl as J, isSafeUrl as Q, sanitizeUrl as $ } from "./sanitizeUrl.mjs";
25
+ import { setter as oe } from "./setter.mjs";
26
+ import { ADAPTIVE_MEDIUM_BREAKPOINT as te, ADAPTIVE_SMALL_BREAKPOINT as pe, FIELD_REGEX as se, FOCUSABLE_ELEMENTS as ae, FOCUSABLE_ELEMENTS_BASE as ne, TABBABLE_ELEMENTS as me } from "./constants/main.mjs";
27
+ import { extendDataItem as xe, getItemPath as fe, mapTree as de, mapTreeItem as le } from "./treeDataOperations.mjs";
28
+ import { getLicenseMessage as ce, hasValidLicense as Ie, validatePackage as Ce } from "./validate-package.mjs";
29
+ import { hasRelativeStackingContext as Ee } from "./hasRelativeStackingContext.mjs";
30
+ import { WatermarkOverlay as be } from "./watermark/WatermarkOverlay.mjs";
31
+ import { applyDefaultProps as he } from "./apply-default-props.mjs";
32
+ import { dispatchEvent as Me } from "./events/dispatchEvent.mjs";
33
+ import { AsyncFocusBlur as ve } from "./hocs/AsyncFocusBlur.mjs";
34
+ import { createPropsContext as Be, withPropsContext as Le } from "./hocs/withPropsContext.mjs";
35
+ import { withIdHOC as Ne } from "./hocs/use-id-hoc.mjs";
36
+ import { withUnstyledHOC as we } from "./hocs/use-unstyled-hoc.mjs";
37
+ import { withAdaptiveModeContext as Re } from "./hocs/use-adaptive-mode-hoc.mjs";
38
+ import { withZIndexContext as _e } from "./hocs/withzIndexContext.mjs";
39
+ import { useDir as Ke } from "./hooks/useDir.mjs";
40
+ import { useAsyncFocusBlur as Ve } from "./hooks/useAsyncFocusBlur.mjs";
41
+ import { useRtl as He } from "./hooks/useRtl.mjs";
42
+ import { useMouse as ze } from "./hooks/useMouse.mjs";
43
+ import { useCustomComponent as Xe } from "./hooks/useCustomComponent.mjs";
44
+ import { usePropsContext as qe } from "./hooks/usePropsContext.mjs";
45
+ import { COLLECTION_ACTION as Qe, useCollection as $e } from "./hooks/useCollection.mjs";
46
+ import { useDocument as oo } from "./hooks/useDocument.mjs";
47
+ import { useWindow as to } from "./hooks/useWindow.mjs";
48
+ import { useId as so } from "./hooks/use-id.mjs";
49
+ import { useIsomorphicLayoutEffect as no } from "./hooks/use-isomorphic-layout-effect.mjs";
50
+ import { useImmediateInheritState as io } from "./hooks/use-immediate-inherit-state.mjs";
51
+ import { usePaidChildrenWatermark as fo } from "./hooks/usePaidChildrenWatermark.mjs";
52
+ import { useMergedRef as uo } from "./hooks/useMergedRef.mjs";
53
+ import { Icon as Io } from "./icons/Icon.mjs";
54
+ import { SvgIcon as go } from "./icons/SvgIcon.mjs";
55
+ import { IconWrap as Po } from "./icons/IconWrap.mjs";
56
+ import { IconsContext as Ao } from "./icons/IconsContext.mjs";
57
+ import { svgIconPropType as Do, toIconClass as Mo, toIconName as To } from "./icons/utils.mjs";
58
+ import { Typography as So } from "./typography/Typography.mjs";
59
+ import { DragAndDrop as Lo } from "./drag-n-drop/index.mjs";
60
+ import { Draggable as No } from "./Draggable.mjs";
61
+ import { Droppable as wo } from "./Droppable.mjs";
62
+ import { useDraggable as Ro } from "./hooks/useDraggable.mjs";
63
+ import { useDroppable as _o } from "./hooks/useDroppable.mjs";
64
+ import { kendoThemeMaps as Ko } from "./theme.mjs";
65
+ import { memoizeOne as Vo } from "./memoize.mjs";
66
+ import { Navigation as Ho } from "./navigation.mjs";
67
+ import { getActiveElement as zo, getInnerActiveElement as Zo } from "./getActiveElement.mjs";
68
+ import { getFileExtensionIcon as Yo } from "./fileExtensionIcon.mjs";
69
+ import { TreeFieldsService as Jo } from "./tree-utils/FieldsService.mjs";
70
+ import { SortedPublicItemIds as $o } from "./tree-utils/SortedPublicItemIds.mjs";
71
+ import { addItem as or, areAllDirectChildrenChecked as rr, getAllDirectIndirectChildrenIds as tr, getAllParents as pr, hasChildren as sr, isEnabledAndAllParentsEnabled as ar, isItemExpandedAndWithChildren as nr, removeItem as mr, resolveItemId as ir, resolveItemsIds as xr, updateItem as fr } from "./tree-utils/itemUtils.mjs";
72
+ import { getAbsoluteVirtualRowIndex as lr } from "./virtualRow.mjs";
73
+ import { getNestedValue as cr, isArray as Ir } from "./tree-utils/misc.mjs";
74
+ import { RowHeightService as gr } from "./rowHeightService.mjs";
75
+ import { deepMerge as Pr, isObject as br, isPromise as Ar } from "./deep-merge.mjs";
76
+ import { WebMcpContext as Dr, WebMcpProvider as Mr, getModelContext as Tr, useWebMcpRegister as vr } from "./WebMcpProvider.mjs";
77
+ import { KENDO_PASTE_EVENT_NAME as Br, createKendoPasteEvent as Lr, dispatchKendoPasteEvent as Fr, getKendoPasteEventTarget as Nr } from "./kendopaste/KendoPasteEvent.mjs";
78
+ import { UnstyledContext as wr, useUnstyled as Or } from "./unstyled/unstyled-context.mjs";
79
+ import { actions as Ur, animationStyles as _r, base as kr, buttonPrefix as Kr, calendarPrefix as Wr, comboBoxPrefix as Vr, components as Gr, containers as Hr, cssUtils as jr, dateInputs as zr, ddbPrefix as Zr, dimensions as Xr, directionMap as Yr, dropDownListPrefix as qr, elements as Jr, fillModeMap as Qr, forms as $r, grid as et, gridPrefix as ot, gridRowReorder as rt, icon as tt, inputPrefix as pt, inputs as st, jsonTheme as at, labels as nt, maskedPrefix as mt, orientationMap as it, pickerPrefix as xt, popup as ft, radioPrefix as dt, roundedMap as lt, sizeMap as ut, states as ct, themeColorMap as It } from "./unstyled/json-classes.mjs";
80
+ import { radioButtonClasses as gt, radioGroupClasses as Et, uInput as Pt, uMaskedTextBox as bt, uRadioButton as At, uRadioGroup as ht, uTextBox as Dt } from "./unstyled/inputs.mjs";
81
+ import { subscribeToKendoPaste as Tt, useKendoPaste as vt } from "./kendopaste/useKendoPaste.mjs";
82
+ import { uAnimation as Bt } from "./unstyled/animations.mjs";
83
+ import { uButton as Ft, uButtonGroup as Nt, uDropDownButton as yt } from "./unstyled/buttons.mjs";
84
+ import { uCalendar as Ot, uDateInput as Rt, uDateTimePicker as Ut, uTime as _t, uTimePicker as kt } from "./unstyled/dateinputs.mjs";
85
+ import { uComboBox as Wt, uDropDownList as Vt, uDropDownsActionSheet as Gt, uDropDownsBase as Ht } from "./unstyled/dropdowns.mjs";
86
+ import { uError as zt, uFloatingLabel as Zt, uHint as Xt, uLabel as Yt } from "./unstyled/labels.mjs";
87
+ import { uForm as Jt } from "./unstyled/form.mjs";
88
+ import { uGrid as $t } from "./unstyled/grid.mjs";
89
+ import { uPopup as op } from "./unstyled/popup.mjs";
90
+ import { uSvgIcon as tp } from "./unstyled/icons.mjs";
90
91
  export {
91
- $ as ADAPTIVE_MEDIUM_BREAKPOINT,
92
- ee as ADAPTIVE_SMALL_BREAKPOINT,
92
+ te as ADAPTIVE_MEDIUM_BREAKPOINT,
93
+ pe as ADAPTIVE_SMALL_BREAKPOINT,
93
94
  a as AdaptiveModeContext,
94
- he as AsyncFocusBlur,
95
+ ve as AsyncFocusBlur,
95
96
  x as BrowserSupportService,
96
- Xe as COLLECTION_ACTION,
97
- To as DragAndDrop,
98
- So as Draggable,
99
- Lo as Droppable,
100
- oe as FIELD_REGEX,
101
- re as FOCUSABLE_ELEMENTS,
102
- te as FOCUSABLE_ELEMENTS_BASE,
97
+ Qe as COLLECTION_ACTION,
98
+ Lo as DragAndDrop,
99
+ No as Draggable,
100
+ wo as Droppable,
101
+ se as FIELD_REGEX,
102
+ ae as FOCUSABLE_ELEMENTS,
103
+ ne as FOCUSABLE_ELEMENTS_BASE,
103
104
  O as FormComponent,
104
- fo as Icon,
105
- Io as IconWrap,
106
- Eo as IconsContext,
107
- Mr as KENDO_PASTE_EVENT_NAME,
105
+ Io as Icon,
106
+ Po as IconWrap,
107
+ Ao as IconsContext,
108
+ Br as KENDO_PASTE_EVENT_NAME,
108
109
  G as KEYS,
109
110
  H as Keys,
110
- Ko as Navigation,
111
- lr as RowHeightService,
112
- Yo as SortedPublicItemIds,
113
- lo as SvgIcon,
114
- pe as TABBABLE_ELEMENTS,
115
- zo as TreeFieldsService,
116
- Do as Typography,
117
- Lr as UnstyledContext,
118
- Ce as WatermarkOverlay,
119
- Pr as WebMcpContext,
120
- br as WebMcpProvider,
111
+ Ho as Navigation,
112
+ gr as RowHeightService,
113
+ $o as SortedPublicItemIds,
114
+ go as SvgIcon,
115
+ me as TABBABLE_ELEMENTS,
116
+ Jo as TreeFieldsService,
117
+ So as Typography,
118
+ wr as UnstyledContext,
119
+ be as WatermarkOverlay,
120
+ Dr as WebMcpContext,
121
+ Mr as WebMcpProvider,
121
122
  t as ZIndexContext,
122
- yr as actions,
123
- Jo as addItem,
124
- wr as animationStyles,
125
- ge as applyDefaultProps,
123
+ Ur as actions,
124
+ or as addItem,
125
+ _r as animationStyles,
126
+ he as applyDefaultProps,
126
127
  M as applyTrappedFocus,
127
- Qo as areAllDirectChildrenChecked,
128
- Or as base,
129
- Rr as buttonPrefix,
130
- _r as calendarPrefix,
128
+ rr as areAllDirectChildrenChecked,
129
+ kr as base,
130
+ Kr as buttonPrefix,
131
+ Wr as calendarPrefix,
131
132
  d as canUseDOM,
132
- l as canUseRef,
133
+ u as canUseRef,
133
134
  I as classNames,
134
- g as clone,
135
+ E as clone,
135
136
  P as cloneArray,
136
137
  b as cloneDate,
137
138
  A as cloneObject,
138
139
  h as cloneValue,
139
- kr as comboBoxPrefix,
140
- Ur as components,
141
- Kr as containers,
142
- Tr as createKendoPasteEvent,
143
- Me as createPropsContext,
144
- Wr as cssUtils,
145
- Vr as dateInputs,
146
- Gr as ddbPrefix,
147
- Ir as deepMerge,
140
+ Vr as comboBoxPrefix,
141
+ Gr as components,
142
+ Hr as containers,
143
+ Lr as createKendoPasteEvent,
144
+ Be as createPropsContext,
145
+ jr as cssUtils,
146
+ zr as dateInputs,
147
+ Zr as ddbPrefix,
148
+ Pr as deepMerge,
148
149
  n as defaultValue,
149
- Hr as dimensions,
150
- jr as directionMap,
150
+ Xr as dimensions,
151
+ Yr as directionMap,
151
152
  T as disableNavigatableContainer,
152
- be as dispatchEvent,
153
- vr as dispatchKendoPasteEvent,
154
- Zr as dropDownListPrefix,
155
- zr as elements,
153
+ Me as dispatchEvent,
154
+ Fr as dispatchKendoPasteEvent,
155
+ qr as dropDownListPrefix,
156
+ Jr as elements,
156
157
  v as enableNavigatableContainer,
157
- ae as extendDataItem,
158
- Xr as fillModeMap,
158
+ xe as extendDataItem,
159
+ Qr as fillModeMap,
159
160
  S as firstFocusableChild,
160
161
  B as focusFirstFocusableChild,
161
162
  L as focusLastFocusableChild,
162
163
  F as focusableChildren,
163
- Yr as forms,
164
- ir as getAbsoluteVirtualRowIndex,
165
- Vo as getActiveElement,
166
- $o as getAllDirectIndirectChildrenIds,
167
- er as getAllParents,
168
- jo as getFileExtensionIcon,
169
- Go as getInnerActiveElement,
170
- ne as getItemPath,
171
- Sr as getKendoPasteEventTarget,
172
- fe as getLicenseMessage,
173
- Ar as getModelContext,
174
- fr as getNestedValue,
164
+ $r as forms,
165
+ lr as getAbsoluteVirtualRowIndex,
166
+ zo as getActiveElement,
167
+ tr as getAllDirectIndirectChildrenIds,
168
+ pr as getAllParents,
169
+ Yo as getFileExtensionIcon,
170
+ Zo as getInnerActiveElement,
171
+ fe as getItemPath,
172
+ Nr as getKendoPasteEventTarget,
173
+ ce as getLicenseMessage,
174
+ Tr as getModelContext,
175
+ cr as getNestedValue,
175
176
  X as getScrollbarWidth,
176
- _ as getTabIndex,
177
- U as getter,
178
- qr as grid,
179
- Jr as gridPrefix,
180
- Qr as gridRowReorder,
177
+ U as getTabIndex,
178
+ k as getter,
179
+ et as grid,
180
+ ot as gridPrefix,
181
+ rt as gridRowReorder,
181
182
  W as guid,
182
- or as hasChildren,
183
- ce as hasRelativeStackingContext,
184
- de as hasValidLicense,
185
- $r as icon,
186
- et as inputPrefix,
187
- ot as inputs,
188
- dr as isArray,
189
- rr as isEnabledAndAllParentsEnabled,
190
- tr as isItemExpandedAndWithChildren,
191
- Cr as isObject,
192
- Er as isPromise,
193
- rt as jsonTheme,
183
+ sr as hasChildren,
184
+ Ee as hasRelativeStackingContext,
185
+ Ie as hasValidLicense,
186
+ tt as icon,
187
+ pt as inputPrefix,
188
+ st as inputs,
189
+ Ir as isArray,
190
+ ar as isEnabledAndAllParentsEnabled,
191
+ nr as isItemExpandedAndWithChildren,
192
+ br as isObject,
193
+ Ar as isPromise,
194
+ J as isSafeImageUrl,
195
+ Q as isSafeUrl,
196
+ at as jsonTheme,
194
197
  N as keepFocusInContainer,
195
- Ro as kendoThemeMaps,
196
- tt as labels,
198
+ Ko as kendoThemeMaps,
199
+ nt as labels,
197
200
  y as lastFocusableChild,
198
- me as mapTree,
199
- ie as mapTreeItem,
200
- pt as maskedPrefix,
201
- ko as memoizeOne,
202
- Z as noop,
203
- st as orientationMap,
204
- at as pickerPrefix,
205
- nt as popup,
206
- lt as radioButtonClasses,
207
- ct as radioGroupClasses,
208
- mt as radioPrefix,
209
- pr as removeItem,
210
- sr as resolveItemId,
211
- ar as resolveItemsIds,
212
- it as roundedMap,
201
+ de as mapTree,
202
+ le as mapTreeItem,
203
+ mt as maskedPrefix,
204
+ Vo as memoizeOne,
205
+ z as noop,
206
+ it as orientationMap,
207
+ xt as pickerPrefix,
208
+ ft as popup,
209
+ gt as radioButtonClasses,
210
+ Et as radioGroupClasses,
211
+ dt as radioPrefix,
212
+ mr as removeItem,
213
+ ir as resolveItemId,
214
+ xr as resolveItemsIds,
215
+ lt as roundedMap,
216
+ $ as sanitizeUrl,
213
217
  Y as setScrollbarWidth,
214
- J as setter,
215
- xt as sizeMap,
216
- ft as states,
218
+ oe as setter,
219
+ ut as sizeMap,
220
+ ct as states,
217
221
  C as strippedClassNames,
218
- At as subscribeToKendoPaste,
219
- Po as svgIconPropType,
220
- dt as themeColorMap,
221
- bo as toIconClass,
222
- Ao as toIconName,
222
+ Tt as subscribeToKendoPaste,
223
+ Do as svgIconPropType,
224
+ It as themeColorMap,
225
+ Mo as toIconClass,
226
+ To as toIconName,
223
227
  e as treeIdUtils,
224
- Mt as uAnimation,
225
- vt as uButton,
226
- St as uButtonGroup,
227
- Ft as uCalendar,
228
- _t as uComboBox,
229
- Nt as uDateInput,
230
- yt as uDateTimePicker,
231
- Bt as uDropDownButton,
232
- kt as uDropDownList,
233
- Ut as uDropDownsActionSheet,
234
- Kt as uDropDownsBase,
235
- Vt as uError,
236
- Gt as uFloatingLabel,
237
- zt as uForm,
238
- Yt as uGrid,
239
- Ht as uHint,
240
- It as uInput,
241
- jt as uLabel,
242
- Ct as uMaskedTextBox,
243
- Jt as uPopup,
244
- Et as uRadioButton,
245
- gt as uRadioGroup,
246
- $t as uSvgIcon,
247
- Pt as uTextBox,
248
- wt as uTime,
249
- Ot as uTimePicker,
250
- nr as updateItem,
228
+ Bt as uAnimation,
229
+ Ft as uButton,
230
+ Nt as uButtonGroup,
231
+ Ot as uCalendar,
232
+ Wt as uComboBox,
233
+ Rt as uDateInput,
234
+ Ut as uDateTimePicker,
235
+ yt as uDropDownButton,
236
+ Vt as uDropDownList,
237
+ Gt as uDropDownsActionSheet,
238
+ Ht as uDropDownsBase,
239
+ zt as uError,
240
+ Zt as uFloatingLabel,
241
+ Jt as uForm,
242
+ $t as uGrid,
243
+ Xt as uHint,
244
+ Pt as uInput,
245
+ Yt as uLabel,
246
+ bt as uMaskedTextBox,
247
+ op as uPopup,
248
+ At as uRadioButton,
249
+ ht as uRadioGroup,
250
+ tp as uSvgIcon,
251
+ Dt as uTextBox,
252
+ _t as uTime,
253
+ kt as uTimePicker,
254
+ fr as updateItem,
251
255
  m as useAdaptiveModeContext,
252
- ke as useAsyncFocusBlur,
253
- Ye as useCollection,
254
- He as useCustomComponent,
255
- Re as useDir,
256
- Je as useDocument,
257
- No as useDraggable,
258
- wo as useDroppable,
259
- oo as useId,
260
- so as useImmediateInheritState,
261
- to as useIsomorphicLayoutEffect,
262
- ht as useKendoPaste,
263
- io as useMergedRef,
264
- Ve as useMouse,
265
- no as usePaidChildrenWatermark,
266
- Ze as usePropsContext,
267
- Ke as useRtl,
268
- Fr as useUnstyled,
269
- hr as useWebMcpRegister,
270
- $e as useWindow,
256
+ Ve as useAsyncFocusBlur,
257
+ $e as useCollection,
258
+ Xe as useCustomComponent,
259
+ Ke as useDir,
260
+ oo as useDocument,
261
+ Ro as useDraggable,
262
+ _o as useDroppable,
263
+ so as useId,
264
+ io as useImmediateInheritState,
265
+ no as useIsomorphicLayoutEffect,
266
+ vt as useKendoPaste,
267
+ uo as useMergedRef,
268
+ ze as useMouse,
269
+ fo as usePaidChildrenWatermark,
270
+ qe as usePropsContext,
271
+ He as useRtl,
272
+ Or as useUnstyled,
273
+ vr as useWebMcpRegister,
274
+ to as useWindow,
271
275
  p as useZIndexContext,
272
- ue as validatePackage,
273
- Ne as withAdaptiveModeContext,
274
- Se as withIdHOC,
275
- Te as withPropsContext,
276
- Le as withUnstyledHOC,
277
- we as withZIndexContext
276
+ Ce as validatePackage,
277
+ Re as withAdaptiveModeContext,
278
+ Ne as withIdHOC,
279
+ Le as withPropsContext,
280
+ we as withUnstyledHOC,
281
+ _e as withZIndexContext
278
282
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-common",
3
- "version": "16.2.0-develop.9",
3
+ "version": "16.2.1-develop.1",
4
4
  "description": "React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -82,10 +82,5 @@
82
82
  },
83
83
  "publishConfig": {
84
84
  "access": "public"
85
- },
86
- "peerDependenciesMeta": {
87
- "@progress/kendo-svg-icons": {
88
- "optional": true
89
- }
90
85
  }
91
86
  }
@@ -0,0 +1,23 @@
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
+ * Returns `true` for relative references and URLs using an allow-listed scheme.
11
+ * Callers can pass additional scheme names without a trailing colon.
12
+ */
13
+ export declare const isSafeUrl: (url: string | null | undefined, extraSchemes?: readonly string[]) => boolean;
14
+ /**
15
+ * @hidden
16
+ * Same as {@link isSafeUrl}, but also accepts raster image data URLs and rejects SVG data URLs.
17
+ */
18
+ export declare const isSafeImageUrl: (url: string | null | undefined) => boolean;
19
+ /**
20
+ * @hidden
21
+ * Removes potentially unsafe URL schemes and preserves relative URLs and fragments.
22
+ */
23
+ export declare const sanitizeUrl: (url?: string | null) => string;
package/sanitizeUrl.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 c=new Set(["http:","https:","ftp:","ftps:","mailto:","tel:","sms:"]),u=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/g,f=/^([a-zA-Z][a-zA-Z\d+.-]*):/,l=/^[a-z][a-z\d+.-]*$/i,E=/^data:image\/([a-z0-9.+-]+)(?:;[^,]*)?,/i,S=new Set(["png","jpeg","gif","webp","bmp","tiff","avif","x-icon","vnd.microsoft.icon"]),i=t=>String(t).replace(u,"").trim(),r=(t,e)=>{var s;const n=f.exec(t);if(!n)return!0;const o=n[1].toLowerCase();return c.has(`${o}:`)?!0:(s=e==null?void 0:e.some(a=>l.test(a)&&a.toLowerCase()===o))!=null?s:!1},d=(t,e)=>t==null?!0:r(i(t),e),g=t=>{if(t==null)return!0;const e=i(t),n=E.exec(e);return n?S.has(n[1].toLowerCase()):r(e)},m=t=>{if(!t)return"";const e=i(t);return e===""?"":r(e)?e:""};exports.isSafeImageUrl=g;exports.isSafeUrl=d;exports.sanitizeUrl=m;
@@ -0,0 +1,30 @@
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 = /* @__PURE__ */ new Set(["http:", "https:", "ftp:", "ftps:", "mailto:", "tel:", "sms:"]), u = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/g, f = /^([a-zA-Z][a-zA-Z\d+.-]*):/, E = /^[a-z][a-z\d+.-]*$/i, l = /^data:image\/([a-z0-9.+-]+)(?:;[^,]*)?,/i, p = /* @__PURE__ */ new Set(["png", "jpeg", "gif", "webp", "bmp", "tiff", "avif", "x-icon", "vnd.microsoft.icon"]), o = (t) => String(t).replace(u, "").trim(), r = (t, n) => {
9
+ var s;
10
+ const e = f.exec(t);
11
+ if (!e)
12
+ return !0;
13
+ const i = e[1].toLowerCase();
14
+ return c.has(`${i}:`) ? !0 : (s = n == null ? void 0 : n.some((a) => E.test(a) && a.toLowerCase() === i)) != null ? s : !1;
15
+ }, z = (t, n) => t == null ? !0 : r(o(t), n), A = (t) => {
16
+ if (t == null)
17
+ return !0;
18
+ const n = o(t), e = l.exec(n);
19
+ return e ? p.has(e[1].toLowerCase()) : r(n);
20
+ }, d = (t) => {
21
+ if (!t)
22
+ return "";
23
+ const n = o(t);
24
+ return n === "" ? "" : r(n) ? n : "";
25
+ };
26
+ export {
27
+ A as isSafeImageUrl,
28
+ z as isSafeUrl,
29
+ d as sanitizeUrl
30
+ };