@progress/kendo-vue-common 8.0.3-develop.4 → 8.1.0-develop.2

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
@@ -8,166 +8,175 @@
8
8
  import { classNames as r } from "./classNames.mjs";
9
9
  import { guid as a } from "./guid.mjs";
10
10
  import { Keys as p } from "./keys.mjs";
11
- import { canUseDOM as n } from "./canUseDOM.mjs";
12
- import { getRef as f, setRef as x } from "./refs.mjs";
13
- import { firstFocusableChild as l, focusContainer as c, focusFirstFocusableChild as d, focusLastFocusableChild as g, lastFocusableChild as D } from "./focus.mjs";
14
- import { Draggable as P } from "./Draggable.mjs";
15
- import { clone as h, cloneArray as M, cloneDate as T, cloneObject as E, cloneValue as S } from "./clone.mjs";
16
- import { isObject as B } from "./isObject.mjs";
17
- import { noop as R } from "./noop.mjs";
18
- import { getter as C } from "./getter.mjs";
19
- import { setter as k } from "./setter.mjs";
20
- import { getListeners as N, hasListener as O } from "./listeners.mjs";
21
- import { getTemplate as G, templateDefinition as U, templateRendering as V } from "./templateRendering.mjs";
22
- import { getTabIndex as j } from "./getTabIndex.mjs";
23
- import { getDefaultSlots as W } from "./defaultSlots.mjs";
24
- import { getDir as z, isRtl as X } from "./isRtl.mjs";
25
- import { getLicenseMessage as J, shouldShowValidationUI as Q, validatePackage as Y } from "./validate-package.mjs";
26
- import { AdaptiveModeProvider as $ } from "./providers/AdaptiveModeProvider.mjs";
27
- import { ADAPTIVE_MEDIUM_BREAKPOINT as oe, ADAPTIVE_SMALL_BREAKPOINT as re, FIELD_REGEX as te } from "./constants/main.mjs";
28
- import { kendoThemeMaps as ie } from "./theme.mjs";
29
- import { extendDataItem as me, getItemPath as ne, getNestedValue as se, mapTree as fe, mapTreeItem as xe } from "./treeDataOperations.mjs";
30
- import { BrowserSupportService as le } from "./browser-support.service.mjs";
31
- import { getScrollbarWidth as de, setScrollbarWidth as ge } from "./scrollbarWidth.mjs";
32
- import { hasRelativeStackingContext as Ie } from "./hasRelativeStackingContext.mjs";
33
- import { Icon as be } from "./icons/Icon.mjs";
34
- import { FontIcon as Me } from "./icons/FontIcon.mjs";
35
- import { SvgIcon as Ee } from "./icons/SvgIcon.mjs";
36
- import { getIconName as Ae } from "./icons/getIconName.mjs";
37
- import { FOCUSABLE_ELEMENTS as Le, Navigation as Re } from "./navigation.mjs";
38
- import { getActiveElement as Ce, getInnerActiveElement as Fe } from "./getActiveElement.mjs";
39
- import { WatermarkOverlay as we } from "./watermark/WatermarkOverlay.mjs";
40
- import { RowHeightService as Oe } from "./rowHeightService.mjs";
41
- import { actions as Ge, animationStyles as Ue, base as Ve, buttonPrefix as ye, calendarPrefix as je, comboBoxPrefix as Ke, components as We, containers as He, cssUtils as ze, cursor as Xe, dateInputs as qe, ddbPrefix as Je, dimensions as Qe, directionMap as Ye, dropDownListPrefix as Ze, elements as $e, fillModeMap as eo, forms as oo, grid as ro, gridPrefix as to, gridRowReorder as ao, icon as io, inputPrefix as po, inputs as mo, jsonTheme as no, labels as so, maskedPrefix as fo, orientationMap as xo, pickerPrefix as uo, popup as lo, radioPrefix as co, roundedMap as go, sizeMap as Do, states as Io, themeColorMap as Po } from "./unstyled/json-classes.mjs";
42
- import { radioButtonClasses as ho, radioGroupClasses as Mo, uInput as To, uMaskedTextBox as Eo, uRadioButton as So, uRadioGroup as Ao, uTextBox as Bo } from "./unstyled/inputs.mjs";
43
- import { uAnimation as Ro } from "./unstyled/animations.mjs";
44
- import { uButton as Co, uButtonGroup as Fo, uDropDownButton as ko } from "./unstyled/buttons.mjs";
45
- import { uCalendar as No, uDateInput as Oo, uDateTimePicker as _o, uTime as Go, uTimePicker as Uo } from "./unstyled/dateinputs.mjs";
46
- import { uComboBox as yo, uDropDownList as jo, uDropDownsActionSheet as Ko, uDropDownsBase as Wo } from "./unstyled/dropdowns.mjs";
47
- import { uError as zo, uFloatingLabel as Xo, uHint as qo, uLabel as Jo } from "./unstyled/labels.mjs";
48
- import { uForm as Yo } from "./unstyled/form.mjs";
49
- import { uGrid as $o } from "./unstyled/grid.mjs";
50
- import { uPopup as or } from "./unstyled/popup.mjs";
51
- import { uSvgIcon as tr } from "./unstyled/icons.mjs";
11
+ import { canUseDOM as m } from "./canUseDOM.mjs";
12
+ import { getComponentElementRef as f, getRef as x, setRef as u } from "./refs.mjs";
13
+ import { firstFocusableChild as c, focusContainer as d, focusFirstFocusableChild as g, focusLastFocusableChild as E, lastFocusableChild as b } from "./focus.mjs";
14
+ import { Draggable as I } from "./Draggable.mjs";
15
+ import { clone as T, cloneArray as B, cloneDate as S, cloneObject as A, cloneValue as C } from "./clone.mjs";
16
+ import { applyTrappedFocus as h, disableNavigatableContainer as L, enableNavigatableContainer as v, focusableChildren as R, keepFocusInContainer as F } from "./trappedFocus.mjs";
17
+ import { isObject as k } from "./isObject.mjs";
18
+ import { noop as _ } from "./noop.mjs";
19
+ import { getter as U } from "./getter.mjs";
20
+ import { setter as G } from "./setter.mjs";
21
+ import { getListeners as j, hasListener as K } from "./listeners.mjs";
22
+ import { getTemplate as H, templateDefinition as z, templateRendering as X } from "./templateRendering.mjs";
23
+ import { getTabIndex as J } from "./getTabIndex.mjs";
24
+ import { getDefaultSlots as Y } from "./defaultSlots.mjs";
25
+ import { getDir as $, isRtl as ee } from "./isRtl.mjs";
26
+ import { getLicenseMessage as re, shouldShowValidationUI as te, validatePackage as ae } from "./validate-package.mjs";
27
+ import { AdaptiveModeProvider as pe } from "./providers/AdaptiveModeProvider.mjs";
28
+ import { ADAPTIVE_MEDIUM_BREAKPOINT as me, ADAPTIVE_SMALL_BREAKPOINT as se, FIELD_REGEX as fe, FOCUSABLE_ELEMENTS as xe, FOCUSABLE_ELEMENTS_BASE as ue, TABBABLE_ELEMENTS as le } from "./constants/main.mjs";
29
+ import { kendoThemeMaps as de } from "./theme.mjs";
30
+ import { extendDataItem as Ee, getItemPath as be, getNestedValue as De, mapTree as Ie, mapTreeItem as Pe } from "./treeDataOperations.mjs";
31
+ import { BrowserSupportService as Be } from "./browser-support.service.mjs";
32
+ import { getScrollbarWidth as Ae, setScrollbarWidth as Ce } from "./scrollbarWidth.mjs";
33
+ import { hasRelativeStackingContext as he } from "./hasRelativeStackingContext.mjs";
34
+ import { Icon as ve } from "./icons/Icon.mjs";
35
+ import { FontIcon as Fe } from "./icons/FontIcon.mjs";
36
+ import { SvgIcon as ke } from "./icons/SvgIcon.mjs";
37
+ import { getIconName as _e } from "./icons/getIconName.mjs";
38
+ import { Navigation as Ue } from "./navigation.mjs";
39
+ import { getActiveElement as Ge, getInnerActiveElement as Ve } from "./getActiveElement.mjs";
40
+ import { WatermarkOverlay as Ke } from "./watermark/WatermarkOverlay.mjs";
41
+ import { RowHeightService as He } from "./rowHeightService.mjs";
42
+ import { actions as Xe, animationStyles as qe, base as Je, buttonPrefix as Qe, calendarPrefix as Ye, comboBoxPrefix as Ze, components as $e, containers as eo, cssUtils as oo, cursor as ro, dateInputs as to, ddbPrefix as ao, dimensions as io, directionMap as po, dropDownListPrefix as no, elements as mo, fillModeMap as so, forms as fo, grid as xo, gridPrefix as uo, gridRowReorder as lo, icon as co, inputPrefix as go, inputs as Eo, jsonTheme as bo, labels as Do, maskedPrefix as Io, orientationMap as Po, pickerPrefix as To, popup as Bo, radioPrefix as So, roundedMap as Ao, sizeMap as Co, states as Mo, themeColorMap as ho } from "./unstyled/json-classes.mjs";
43
+ import { radioButtonClasses as vo, radioGroupClasses as Ro, uInput as Fo, uMaskedTextBox as No, uRadioButton as ko, uRadioGroup as wo, uTextBox as _o } from "./unstyled/inputs.mjs";
44
+ import { uAnimation as Uo } from "./unstyled/animations.mjs";
45
+ import { uButton as Go, uButtonGroup as Vo, uDropDownButton as jo } from "./unstyled/buttons.mjs";
46
+ import { uCalendar as Wo, uDateInput as Ho, uDateTimePicker as zo, uTime as Xo, uTimePicker as qo } from "./unstyled/dateinputs.mjs";
47
+ import { uComboBox as Qo, uDropDownList as Yo, uDropDownsActionSheet as Zo, uDropDownsBase as $o } from "./unstyled/dropdowns.mjs";
48
+ import { uError as or, uFloatingLabel as rr, uHint as tr, uLabel as ar } from "./unstyled/labels.mjs";
49
+ import { uForm as pr } from "./unstyled/form.mjs";
50
+ import { uGrid as mr } from "./unstyled/grid.mjs";
51
+ import { uPopup as fr } from "./unstyled/popup.mjs";
52
+ import { uSvgIcon as ur } from "./unstyled/icons.mjs";
52
53
  export {
53
- oe as ADAPTIVE_MEDIUM_BREAKPOINT,
54
- re as ADAPTIVE_SMALL_BREAKPOINT,
55
- $ as AdaptiveModeProvider,
56
- le as BrowserSupportService,
57
- P as Draggable,
58
- te as FIELD_REGEX,
59
- Le as FOCUSABLE_ELEMENTS,
60
- Me as FontIcon,
61
- be as Icon,
54
+ me as ADAPTIVE_MEDIUM_BREAKPOINT,
55
+ se as ADAPTIVE_SMALL_BREAKPOINT,
56
+ pe as AdaptiveModeProvider,
57
+ Be as BrowserSupportService,
58
+ I as Draggable,
59
+ fe as FIELD_REGEX,
60
+ xe as FOCUSABLE_ELEMENTS,
61
+ ue as FOCUSABLE_ELEMENTS_BASE,
62
+ Fe as FontIcon,
63
+ ve as Icon,
62
64
  p as Keys,
63
- Re as Navigation,
64
- Oe as RowHeightService,
65
- Ee as SvgIcon,
66
- we as WatermarkOverlay,
67
- Ge as actions,
68
- Ue as animationStyles,
69
- Ve as base,
70
- ye as buttonPrefix,
71
- je as calendarPrefix,
72
- n as canUseDOM,
65
+ Ue as Navigation,
66
+ He as RowHeightService,
67
+ ke as SvgIcon,
68
+ le as TABBABLE_ELEMENTS,
69
+ Ke as WatermarkOverlay,
70
+ Xe as actions,
71
+ qe as animationStyles,
72
+ h as applyTrappedFocus,
73
+ Je as base,
74
+ Qe as buttonPrefix,
75
+ Ye as calendarPrefix,
76
+ m as canUseDOM,
73
77
  r as classNames,
74
- h as clone,
75
- M as cloneArray,
76
- T as cloneDate,
77
- E as cloneObject,
78
- S as cloneValue,
79
- Ke as comboBoxPrefix,
80
- We as components,
81
- He as containers,
82
- ze as cssUtils,
83
- Xe as cursor,
84
- qe as dateInputs,
85
- Je as ddbPrefix,
86
- Qe as dimensions,
87
- Ye as directionMap,
88
- Ze as dropDownListPrefix,
89
- $e as elements,
90
- me as extendDataItem,
91
- eo as fillModeMap,
92
- l as firstFocusableChild,
93
- c as focusContainer,
94
- d as focusFirstFocusableChild,
95
- g as focusLastFocusableChild,
96
- oo as forms,
97
- Ce as getActiveElement,
98
- W as getDefaultSlots,
99
- z as getDir,
100
- Ae as getIconName,
101
- Fe as getInnerActiveElement,
102
- ne as getItemPath,
103
- J as getLicenseMessage,
104
- N as getListeners,
105
- se as getNestedValue,
106
- f as getRef,
107
- de as getScrollbarWidth,
108
- j as getTabIndex,
109
- G as getTemplate,
110
- C as getter,
111
- ro as grid,
112
- to as gridPrefix,
113
- ao as gridRowReorder,
78
+ T as clone,
79
+ B as cloneArray,
80
+ S as cloneDate,
81
+ A as cloneObject,
82
+ C as cloneValue,
83
+ Ze as comboBoxPrefix,
84
+ $e as components,
85
+ eo as containers,
86
+ oo as cssUtils,
87
+ ro as cursor,
88
+ to as dateInputs,
89
+ ao as ddbPrefix,
90
+ io as dimensions,
91
+ po as directionMap,
92
+ L as disableNavigatableContainer,
93
+ no as dropDownListPrefix,
94
+ mo as elements,
95
+ v as enableNavigatableContainer,
96
+ Ee as extendDataItem,
97
+ so as fillModeMap,
98
+ c as firstFocusableChild,
99
+ d as focusContainer,
100
+ g as focusFirstFocusableChild,
101
+ E as focusLastFocusableChild,
102
+ R as focusableChildren,
103
+ fo as forms,
104
+ Ge as getActiveElement,
105
+ f as getComponentElementRef,
106
+ Y as getDefaultSlots,
107
+ $ as getDir,
108
+ _e as getIconName,
109
+ Ve as getInnerActiveElement,
110
+ be as getItemPath,
111
+ re as getLicenseMessage,
112
+ j as getListeners,
113
+ De as getNestedValue,
114
+ x as getRef,
115
+ Ae as getScrollbarWidth,
116
+ J as getTabIndex,
117
+ H as getTemplate,
118
+ U as getter,
119
+ xo as grid,
120
+ uo as gridPrefix,
121
+ lo as gridRowReorder,
114
122
  a as guid,
115
- O as hasListener,
116
- Ie as hasRelativeStackingContext,
117
- io as icon,
118
- po as inputPrefix,
119
- mo as inputs,
120
- B as isObject,
121
- X as isRtl,
122
- no as jsonTheme,
123
- ie as kendoThemeMaps,
124
- so as labels,
125
- D as lastFocusableChild,
126
- fe as mapTree,
127
- xe as mapTreeItem,
128
- fo as maskedPrefix,
129
- R as noop,
130
- xo as orientationMap,
131
- uo as pickerPrefix,
132
- lo as popup,
133
- ho as radioButtonClasses,
134
- Mo as radioGroupClasses,
135
- co as radioPrefix,
136
- go as roundedMap,
137
- x as setRef,
138
- ge as setScrollbarWidth,
139
- k as setter,
140
- Q as shouldShowValidationUI,
141
- Do as sizeMap,
142
- Io as states,
143
- U as templateDefinition,
144
- V as templateRendering,
145
- Po as themeColorMap,
146
- Ro as uAnimation,
147
- Co as uButton,
148
- Fo as uButtonGroup,
149
- No as uCalendar,
150
- yo as uComboBox,
151
- Oo as uDateInput,
152
- _o as uDateTimePicker,
153
- ko as uDropDownButton,
154
- jo as uDropDownList,
155
- Ko as uDropDownsActionSheet,
156
- Wo as uDropDownsBase,
157
- zo as uError,
158
- Xo as uFloatingLabel,
159
- Yo as uForm,
160
- $o as uGrid,
161
- qo as uHint,
162
- To as uInput,
163
- Jo as uLabel,
164
- Eo as uMaskedTextBox,
165
- or as uPopup,
166
- So as uRadioButton,
167
- Ao as uRadioGroup,
168
- tr as uSvgIcon,
169
- Bo as uTextBox,
170
- Go as uTime,
171
- Uo as uTimePicker,
172
- Y as validatePackage
123
+ K as hasListener,
124
+ he as hasRelativeStackingContext,
125
+ co as icon,
126
+ go as inputPrefix,
127
+ Eo as inputs,
128
+ k as isObject,
129
+ ee as isRtl,
130
+ bo as jsonTheme,
131
+ F as keepFocusInContainer,
132
+ de as kendoThemeMaps,
133
+ Do as labels,
134
+ b as lastFocusableChild,
135
+ Ie as mapTree,
136
+ Pe as mapTreeItem,
137
+ Io as maskedPrefix,
138
+ _ as noop,
139
+ Po as orientationMap,
140
+ To as pickerPrefix,
141
+ Bo as popup,
142
+ vo as radioButtonClasses,
143
+ Ro as radioGroupClasses,
144
+ So as radioPrefix,
145
+ Ao as roundedMap,
146
+ u as setRef,
147
+ Ce as setScrollbarWidth,
148
+ G as setter,
149
+ te as shouldShowValidationUI,
150
+ Co as sizeMap,
151
+ Mo as states,
152
+ z as templateDefinition,
153
+ X as templateRendering,
154
+ ho as themeColorMap,
155
+ Uo as uAnimation,
156
+ Go as uButton,
157
+ Vo as uButtonGroup,
158
+ Wo as uCalendar,
159
+ Qo as uComboBox,
160
+ Ho as uDateInput,
161
+ zo as uDateTimePicker,
162
+ jo as uDropDownButton,
163
+ Yo as uDropDownList,
164
+ Zo as uDropDownsActionSheet,
165
+ $o as uDropDownsBase,
166
+ or as uError,
167
+ rr as uFloatingLabel,
168
+ pr as uForm,
169
+ mr as uGrid,
170
+ tr as uHint,
171
+ Fo as uInput,
172
+ ar as uLabel,
173
+ No as uMaskedTextBox,
174
+ fr as uPopup,
175
+ ko as uRadioButton,
176
+ wo as uRadioGroup,
177
+ ur as uSvgIcon,
178
+ _o as uTextBox,
179
+ Xo as uTime,
180
+ qo as uTimePicker,
181
+ ae as validatePackage
173
182
  };
package/navigation.d.ts CHANGED
@@ -5,10 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- /**
9
- * @hidden
10
- */
11
- export declare const FOCUSABLE_ELEMENTS: string[];
12
8
  /**
13
9
  * @hidden
14
10
  */
package/navigation.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];class r{constructor(t){this.rovingTabIndex=!0,this.update=()=>{},this.focusNextIndex=(e,n)=>{const s=this.elements;let o=s.indexOf(e)+n;o=o<0?s.length-1:o,this.focusElement(s[o%s.length],e)},this.tabIndex=t.tabIndex||0,this.root=t.root,this.selectors=t.selectors,this.rovingTabIndex=t.rovingTabIndex!==void 0?t.rovingTabIndex:!0,this.mouseEvents=t.mouseEvents||{},this.keyboardEvents=t.keyboardEvents||{}}get elements(){return this.root?Array.from(this.root.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root&&this.root.querySelector(this.selectors.join(","))||null}get last(){const t=this.elements;return t[t.length-1]||null}get current(){return this.elements.find(t=>t.matches(":focus"))||null}focusNext(t){this.focusNextIndex(t,1)}focusPrevious(t){this.focusNextIndex(t,-1)}triggerKeyboardEvent(t){const e=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),n=t.key===" "?"Space":t.key,s=t.type;e&&this.keyboardEvents[s][n]&&this.keyboardEvents[s][n].call(void 0,e,this,t)}triggerMouseEvent(t){const e=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),n=t.type;e&&this.mouseEvents[n].call(void 0,e,this,t)}focusElement(t,e){t&&(e&&(this.rovingTabIndex&&e.removeAttribute("tabindex"),e.classList.remove("k-focus")),this.rovingTabIndex&&t.setAttribute("tabindex",String(this.tabIndex)),t.focus({preventScroll:!0}))}}exports.FOCUSABLE_ELEMENTS=i;exports.Navigation=r;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class i{constructor(t){this.rovingTabIndex=!0,this.update=()=>{},this.focusNextIndex=(e,n)=>{const s=this.elements;let r=s.indexOf(e)+n;r=r<0?s.length-1:r,this.focusElement(s[r%s.length],e)},this.tabIndex=t.tabIndex||0,this.root=t.root,this.selectors=t.selectors,this.rovingTabIndex=t.rovingTabIndex!==void 0?t.rovingTabIndex:!0,this.mouseEvents=t.mouseEvents||{},this.keyboardEvents=t.keyboardEvents||{}}get elements(){return this.root?Array.from(this.root.querySelectorAll(this.selectors.join(","))):[]}get first(){return this.root&&this.root.querySelector(this.selectors.join(","))||null}get last(){const t=this.elements;return t[t.length-1]||null}get current(){return this.elements.find(t=>t.matches(":focus"))||null}focusNext(t){this.focusNextIndex(t,1)}focusPrevious(t){this.focusNextIndex(t,-1)}triggerKeyboardEvent(t){const e=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),n=t.key===" "?"Space":t.key,s=t.type;e&&this.keyboardEvents[s][n]&&this.keyboardEvents[s][n].call(void 0,e,this,t)}triggerMouseEvent(t){const e=t.target instanceof Element&&t.target.closest(this.selectors.join(",")),n=t.type;e&&this.mouseEvents[n].call(void 0,e,this,t)}focusElement(t,e){t&&(e&&(this.rovingTabIndex&&e.removeAttribute("tabindex"),e.classList.remove("k-focus")),this.rovingTabIndex&&t.setAttribute("tabindex",String(this.tabIndex)),t.focus({preventScroll:!0}))}}exports.Navigation=i;
package/navigation.mjs CHANGED
@@ -5,28 +5,13 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- const i = [
9
- "input:not([disabled]):not([type=hidden])",
10
- "select:not([disabled])",
11
- "textarea:not([disabled])",
12
- "button:not([disabled])",
13
- "a[href]",
14
- "area[href]",
15
- "summary",
16
- "iframe",
17
- "object",
18
- "embed",
19
- "audio[controls]",
20
- "video[controls]",
21
- "[contenteditable]"
22
- ];
23
- class a {
8
+ class o {
24
9
  constructor(t) {
25
10
  this.rovingTabIndex = !0, this.update = () => {
26
11
  }, this.focusNextIndex = (e, n) => {
27
12
  const s = this.elements;
28
- let o = s.indexOf(e) + n;
29
- o = o < 0 ? s.length - 1 : o, this.focusElement(s[o % s.length], e);
13
+ let r = s.indexOf(e) + n;
14
+ r = r < 0 ? s.length - 1 : r, this.focusElement(s[r % s.length], e);
30
15
  }, this.tabIndex = t.tabIndex || 0, this.root = t.root, this.selectors = t.selectors, this.rovingTabIndex = t.rovingTabIndex !== void 0 ? t.rovingTabIndex : !0, this.mouseEvents = t.mouseEvents || {}, this.keyboardEvents = t.keyboardEvents || {};
31
16
  }
32
17
  get elements() {
@@ -61,6 +46,5 @@ class a {
61
46
  }
62
47
  }
63
48
  export {
64
- i as FOCUSABLE_ELEMENTS,
65
- a as Navigation
49
+ o as Navigation
66
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-common",
3
- "version": "8.0.3-develop.4",
3
+ "version": "8.1.0-develop.2",
4
4
  "description": "Kendo UI for Vue Common Utilities package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
package/refs.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare function getComponentElementRef(comp: any, refName: string): any;
8
12
  /**
9
13
  * @hidden
10
14
  */
package/refs.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(e,t){return e[`${t}Ref`]}function r(e,t){return f=>{e[`${t}Ref`]=f}}exports.getRef=n;exports.setRef=r;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function f(t,n){var o;const e=(o=t[`${n}Ref`])==null?void 0:o.$el;return e&&(e.nodeType===3||e.nodeType===8)?e.nextElementSibling:e}function r(t,n){return t[`${n}Ref`]}function l(t,n){return e=>{t[`${n}Ref`]=e}}exports.getComponentElementRef=f;exports.getRef=r;exports.setRef=l;
package/refs.mjs CHANGED
@@ -5,15 +5,21 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- function n(e, t) {
9
- return e[`${t}Ref`];
8
+ function f(n, t) {
9
+ var o;
10
+ const e = (o = n[`${t}Ref`]) == null ? void 0 : o.$el;
11
+ return e && (e.nodeType === 3 || e.nodeType === 8) ? e.nextElementSibling : e;
10
12
  }
11
- function r(e, t) {
12
- return (f) => {
13
- e[`${t}Ref`] = f;
13
+ function r(n, t) {
14
+ return n[`${t}Ref`];
15
+ }
16
+ function u(n, t) {
17
+ return (e) => {
18
+ n[`${t}Ref`] = e;
14
19
  };
15
20
  }
16
21
  export {
17
- n as getRef,
18
- r as setRef
22
+ f as getComponentElementRef,
23
+ r as getRef,
24
+ u as setRef
19
25
  };
@@ -0,0 +1,44 @@
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 focusableChildren: (element: HTMLElement, elementsSelectors?: string[]) => HTMLElement[] | [
12
+ ];
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const firstFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => HTMLElement | undefined;
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const lastFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => HTMLElement | undefined;
21
+ /**
22
+ * @hidden
23
+ */
24
+ export declare const focusFirstFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => void;
25
+ /**
26
+ * @hidden
27
+ */
28
+ export declare const focusLastFocusableChild: (element: HTMLElement, elementsSelectors?: string[]) => void;
29
+ /**
30
+ * @hidden
31
+ */
32
+ export declare const keepFocusInContainer: (e: KeyboardEvent, containerElement?: HTMLElement | null, elementsSelectors?: string[]) => void;
33
+ /**
34
+ * @hidden
35
+ */
36
+ export declare const applyTrappedFocus: (e: KeyboardEvent, containerElement: HTMLElement, updateFocusedState?: (isContainerFocused: boolean) => void, elementsSelectors?: string[]) => void;
37
+ /**
38
+ * @hidden
39
+ */
40
+ export declare const enableNavigatableContainer: (containerElement: HTMLElement, elementsSelectors?: string[]) => void;
41
+ /**
42
+ * @hidden
43
+ */
44
+ export declare const disableNavigatableContainer: (containerElement: HTMLElement, elementsSelectors?: string[]) => void;
@@ -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 a=require("./keys.js"),f=require("./constants/main.js"),e=(s,i=f.FOCUSABLE_ELEMENTS)=>s.querySelectorAll(i.join(",")),l=(s,i=f.FOCUSABLE_ELEMENTS)=>{if(s){const t=e(s,i);if(t.length&&t[0].focus)return t[0]}},n=(s,i=f.FOCUSABLE_ELEMENTS)=>{if(s){const t=e(s,i);if(t.length&&t[t.length-1].focus)return t[t.length-1]}},u=(s,i)=>{if(s){const t=l(s,i);t&&t.focus()}},c=(s,i,t)=>{if(!(!i||s.keyCode!==a.Keys.tab)&&i){const o=l(i,t),r=n(i,t);o&&r&&!s.shiftKey&&s.target===r&&(s.preventDefault(),o.focus()),o&&r&&s.shiftKey&&s.target===o&&(s.preventDefault(),r.focus()),o||s.preventDefault()}},C=(s,i,t,o)=>{let r=!0;if(s.keyCode!==a.Keys.enter&&s.target===i){t&&t(!1);return}s.keyCode===a.Keys.enter&&s.target===i?setTimeout(()=>{u(i,o)},1):s.keyCode===a.Keys.esc?i.focus():c(s,i,o),t&&t(r)},b=(s,i)=>{const t=e(s,i);t==null||t.forEach(o=>{o.tabIndex=0})},d=(s,i)=>{const t=e(s,i);t==null||t.forEach(o=>{o.tabIndex=-1})};exports.applyTrappedFocus=C;exports.disableNavigatableContainer=d;exports.enableNavigatableContainer=b;exports.firstFocusableChild=l;exports.focusFirstFocusableChild=u;exports.focusableChildren=e;exports.keepFocusInContainer=c;exports.lastFocusableChild=n;
@@ -0,0 +1,63 @@
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
+ import { Keys as r } from "./keys.mjs";
9
+ import { FOCUSABLE_ELEMENTS as u } from "./constants/main.mjs";
10
+ const c = (t, s = u) => t.querySelectorAll(s.join(",")), a = (t, s = u) => {
11
+ if (t) {
12
+ const f = c(t, s);
13
+ if (f.length && f[0].focus)
14
+ return f[0];
15
+ }
16
+ }, n = (t, s = u) => {
17
+ if (t) {
18
+ const f = c(t, s);
19
+ if (f.length && f[f.length - 1].focus)
20
+ return f[f.length - 1];
21
+ }
22
+ }, l = (t, s) => {
23
+ if (t) {
24
+ const f = a(t, s);
25
+ f && f.focus();
26
+ }
27
+ }, h = (t, s, f) => {
28
+ if (!(!s || t.keyCode !== r.tab) && s) {
29
+ const o = a(s, f), i = n(s, f);
30
+ o && i && !t.shiftKey && t.target === i && (t.preventDefault(), o.focus()), o && i && t.shiftKey && t.target === o && (t.preventDefault(), i.focus()), o || t.preventDefault();
31
+ }
32
+ }, d = (t, s, f, o) => {
33
+ let i = !0;
34
+ if (t.keyCode !== r.enter && // NOSONAR
35
+ t.target === s) {
36
+ f && f(!1);
37
+ return;
38
+ }
39
+ t.keyCode === r.enter && // NOSONAR
40
+ t.target === s ? setTimeout(() => {
41
+ l(s, o);
42
+ }, 1) : t.keyCode === r.esc ? s.focus() : h(t, s, o), f && f(i);
43
+ }, g = (t, s) => {
44
+ const f = c(t, s);
45
+ f == null || f.forEach((o) => {
46
+ o.tabIndex = 0;
47
+ });
48
+ }, b = (t, s) => {
49
+ const f = c(t, s);
50
+ f == null || f.forEach((o) => {
51
+ o.tabIndex = -1;
52
+ });
53
+ };
54
+ export {
55
+ d as applyTrappedFocus,
56
+ b as disableNavigatableContainer,
57
+ g as enableNavigatableContainer,
58
+ a as firstFocusableChild,
59
+ l as focusFirstFocusableChild,
60
+ c as focusableChildren,
61
+ h as keepFocusInContainer,
62
+ n as lastFocusableChild
63
+ };
@@ -5,6 +5,16 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export interface LicenseMessage {
12
+ code?: string;
13
+ licenseType?: string;
14
+ version?: string;
15
+ productName?: string;
16
+ expiration?: string;
17
+ }
8
18
  /**
9
19
  * @hidden
10
20
  */
@@ -18,4 +28,4 @@ export declare function shouldShowValidationUI(packageMetadata: any): boolean;
18
28
  *
19
29
  * Returns the notification message to display, if any.
20
30
  */
21
- export declare const getLicenseMessage: (e: any) => string | undefined;
31
+ export declare const getLicenseMessage: (e: any) => LicenseMessage | undefined;
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@progress/kendo-licensing");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const s=l(c),r=["telerik.com","progress.com","stackblitz.io","csb.app","webcontainer.io"],a=s,o=typeof a!="undefined"&&a.validatePackage?a:a.default;function d(e){if(o&&o.validatePackage)o.validatePackage(e);else{let t=`License activation failed for ${e.name}
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@progress/kendo-licensing");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=l(c),r=["telerik.com","progress.com","stackblitz.io","csb.app","webcontainer.io"],s=i,o=typeof s!="undefined"&&s.validatePackage?s:s.default;function g(e){if(o&&o.validatePackage)o.validatePackage(e);else{let t=`License activation failed for ${e.name}
9
9
  `;t+=`The @progress/kendo-licensing script is not loaded.
10
10
  `,t+=`See ${e.licensingDocsUrl} for more information.
11
- `,console.warn(t)}}function g(e){return!r.some(n=>{var i;return(i=globalThis.document)==null?void 0:i.location.hostname.endsWith(n)})&&!(o&&o.validatePackage&&o.validatePackage(e))}const u=e=>{const t=s.getLicenseStatus(e).message;return t==null?void 0:t.notificationMessage};exports.getLicenseMessage=u;exports.shouldShowValidationUI=g;exports.validatePackage=d;
11
+ `,console.warn(t)}}function d(e){return!r.some(n=>{var a;return(a=globalThis.document)==null?void 0:a.location.hostname.endsWith(n)})&&!(o&&o.validatePackage&&o.validatePackage(e))}const u=e=>i.getLicenseStatus(e).message;exports.getLicenseMessage=u;exports.shouldShowValidationUI=d;exports.validatePackage=g;