@progress/kendo-vue-common 5.3.0-dev.202410141143 → 5.3.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/Draggable.js +8 -0
- package/Draggable.mjs +50 -0
- package/browser-support.service.js +8 -0
- package/browser-support.service.mjs +21 -0
- package/canUseDOM.js +8 -0
- package/canUseDOM.mjs +12 -0
- package/classNames.js +8 -0
- package/classNames.mjs +12 -0
- package/clone.js +8 -0
- package/clone.mjs +41 -0
- package/constants/main.js +8 -0
- package/constants/main.mjs +11 -0
- package/defaultSlots.js +8 -0
- package/defaultSlots.mjs +14 -0
- package/dist/cdn/js/kendo-vue-common.js +8 -1
- package/focus.js +8 -0
- package/focus.mjs +56 -0
- package/getActiveElement.js +8 -0
- package/getActiveElement.mjs +18 -0
- package/getTabIndex.js +8 -0
- package/getTabIndex.mjs +15 -0
- package/getter.js +8 -0
- package/getter.mjs +27 -0
- package/guid.js +8 -0
- package/guid.mjs +16 -0
- package/hasRelativeStackingContext.js +8 -0
- package/hasRelativeStackingContext.mjs +24 -0
- package/icons/FontIcon.js +8 -0
- package/icons/FontIcon.mjs +75 -0
- package/icons/Icon.js +8 -0
- package/icons/Icon.mjs +89 -0
- package/icons/SvgIcon.js +8 -0
- package/icons/SvgIcon.mjs +97 -0
- package/icons/constants.js +8 -0
- package/icons/constants.mjs +20 -0
- package/icons/getIconName.js +8 -0
- package/icons/getIconName.mjs +13 -0
- package/index.d.mts +966 -0
- package/index.d.ts +966 -0
- package/index.js +8 -0
- package/index.mjs +90 -0
- package/isObject.js +8 -0
- package/isObject.mjs +11 -0
- package/isRtl.js +8 -0
- package/isRtl.mjs +23 -0
- package/keys.js +8 -0
- package/keys.mjs +27 -0
- package/listeners.js +8 -0
- package/listeners.mjs +26 -0
- package/navigation.js +8 -0
- package/navigation.mjs +66 -0
- package/noop.js +8 -0
- package/noop.mjs +12 -0
- package/package.json +28 -29
- package/refs.js +8 -0
- package/refs.mjs +19 -0
- package/scrollbarWidth.js +8 -0
- package/scrollbarWidth.mjs +19 -0
- package/setter.js +8 -0
- package/setter.mjs +27 -0
- package/templateRendering.js +8 -0
- package/templateRendering.mjs +70 -0
- package/theme.js +8 -0
- package/theme.mjs +22 -0
- package/treeDataOperations.js +8 -0
- package/treeDataOperations.mjs +52 -0
- package/validate-package.js +11 -0
- package/validate-package.mjs +30 -0
- package/watermark/WatermarkOverlay.js +8 -0
- package/watermark/WatermarkOverlay.mjs +135 -0
- package/dist/es/Draggable.d.ts +0 -64
- package/dist/es/Draggable.js +0 -85
- package/dist/es/FormComponent.d.ts +0 -81
- package/dist/es/FormComponent.js +0 -1
- package/dist/es/additionalTypes.ts +0 -21
- package/dist/es/browser-support.service.d.ts +0 -7
- package/dist/es/browser-support.service.js +0 -29
- package/dist/es/canUseDOM.d.ts +0 -5
- package/dist/es/canUseDOM.js +0 -9
- package/dist/es/classNames.d.ts +0 -4
- package/dist/es/classNames.js +0 -24
- package/dist/es/clone.d.ts +0 -20
- package/dist/es/clone.js +0 -49
- package/dist/es/constants/main.d.ts +0 -4
- package/dist/es/constants/main.js +0 -4
- package/dist/es/defaultSlots.d.ts +0 -4
- package/dist/es/defaultSlots.js +0 -7
- package/dist/es/focus.d.ts +0 -20
- package/dist/es/focus.js +0 -84
- package/dist/es/getActiveElement.d.ts +0 -8
- package/dist/es/getActiveElement.js +0 -23
- package/dist/es/getTabIndex.d.ts +0 -4
- package/dist/es/getTabIndex.js +0 -22
- package/dist/es/getter.d.ts +0 -4
- package/dist/es/getter.js +0 -23
- package/dist/es/guid.d.ts +0 -5
- package/dist/es/guid.js +0 -18
- package/dist/es/hasRelativeStackingContext.d.ts +0 -2
- package/dist/es/hasRelativeStackingContext.js +0 -25
- package/dist/es/icons/BaseIconProps.d.ts +0 -77
- package/dist/es/icons/BaseIconProps.js +0 -1
- package/dist/es/icons/FontIcon.d.ts +0 -51
- package/dist/es/icons/FontIcon.js +0 -91
- package/dist/es/icons/Icon.d.ts +0 -49
- package/dist/es/icons/Icon.js +0 -129
- package/dist/es/icons/SvgIcon.d.ts +0 -99
- package/dist/es/icons/SvgIcon.js +0 -128
- package/dist/es/icons/constants.d.ts +0 -13
- package/dist/es/icons/constants.js +0 -13
- package/dist/es/icons/getIconName.d.ts +0 -2
- package/dist/es/icons/getIconName.js +0 -6
- package/dist/es/icons/models/flip.d.ts +0 -11
- package/dist/es/icons/models/flip.js +0 -1
- package/dist/es/icons/models/size.d.ts +0 -15
- package/dist/es/icons/models/size.js +0 -1
- package/dist/es/icons/models/theme-color.d.ts +0 -21
- package/dist/es/icons/models/theme-color.js +0 -1
- package/dist/es/isObject.d.ts +0 -4
- package/dist/es/isObject.js +0 -6
- package/dist/es/isRtl.d.ts +0 -8
- package/dist/es/isRtl.js +0 -21
- package/dist/es/keys.d.ts +0 -21
- package/dist/es/keys.js +0 -21
- package/dist/es/listeners.d.ts +0 -8
- package/dist/es/listeners.js +0 -41
- package/dist/es/main.d.ts +0 -35
- package/dist/es/main.js +0 -34
- package/dist/es/navigation.d.ts +0 -46
- package/dist/es/navigation.js +0 -106
- package/dist/es/noop.d.ts +0 -5
- package/dist/es/noop.js +0 -5
- package/dist/es/refs.d.ts +0 -8
- package/dist/es/refs.js +0 -14
- package/dist/es/scrollbarWidth.d.ts +0 -8
- package/dist/es/scrollbarWidth.js +0 -22
- package/dist/es/setter.d.ts +0 -4
- package/dist/es/setter.js +0 -24
- package/dist/es/templateRendering.d.ts +0 -19
- package/dist/es/templateRendering.js +0 -111
- package/dist/es/theme.d.ts +0 -7
- package/dist/es/theme.js +0 -13
- package/dist/es/treeDataOperations.d.ts +0 -43
- package/dist/es/treeDataOperations.js +0 -116
- package/dist/es/validate-package.d.ts +0 -8
- package/dist/es/validate-package.js +0 -27
- package/dist/es/watermark/WatermarkOverlay.d.ts +0 -11
- package/dist/es/watermark/WatermarkOverlay.js +0 -200
- package/dist/esm/Draggable.d.ts +0 -64
- package/dist/esm/Draggable.js +0 -85
- package/dist/esm/FormComponent.d.ts +0 -81
- package/dist/esm/FormComponent.js +0 -1
- package/dist/esm/additionalTypes.ts +0 -21
- package/dist/esm/browser-support.service.d.ts +0 -7
- package/dist/esm/browser-support.service.js +0 -29
- package/dist/esm/canUseDOM.d.ts +0 -5
- package/dist/esm/canUseDOM.js +0 -9
- package/dist/esm/classNames.d.ts +0 -4
- package/dist/esm/classNames.js +0 -24
- package/dist/esm/clone.d.ts +0 -20
- package/dist/esm/clone.js +0 -49
- package/dist/esm/constants/main.d.ts +0 -4
- package/dist/esm/constants/main.js +0 -4
- package/dist/esm/defaultSlots.d.ts +0 -4
- package/dist/esm/defaultSlots.js +0 -7
- package/dist/esm/focus.d.ts +0 -20
- package/dist/esm/focus.js +0 -84
- package/dist/esm/getActiveElement.d.ts +0 -8
- package/dist/esm/getActiveElement.js +0 -23
- package/dist/esm/getTabIndex.d.ts +0 -4
- package/dist/esm/getTabIndex.js +0 -22
- package/dist/esm/getter.d.ts +0 -4
- package/dist/esm/getter.js +0 -23
- package/dist/esm/guid.d.ts +0 -5
- package/dist/esm/guid.js +0 -18
- package/dist/esm/hasRelativeStackingContext.d.ts +0 -2
- package/dist/esm/hasRelativeStackingContext.js +0 -25
- package/dist/esm/icons/BaseIconProps.d.ts +0 -77
- package/dist/esm/icons/BaseIconProps.js +0 -1
- package/dist/esm/icons/FontIcon.d.ts +0 -51
- package/dist/esm/icons/FontIcon.js +0 -91
- package/dist/esm/icons/Icon.d.ts +0 -49
- package/dist/esm/icons/Icon.js +0 -129
- package/dist/esm/icons/SvgIcon.d.ts +0 -99
- package/dist/esm/icons/SvgIcon.js +0 -128
- package/dist/esm/icons/constants.d.ts +0 -13
- package/dist/esm/icons/constants.js +0 -13
- package/dist/esm/icons/getIconName.d.ts +0 -2
- package/dist/esm/icons/getIconName.js +0 -6
- package/dist/esm/icons/models/flip.d.ts +0 -11
- package/dist/esm/icons/models/flip.js +0 -1
- package/dist/esm/icons/models/size.d.ts +0 -15
- package/dist/esm/icons/models/size.js +0 -1
- package/dist/esm/icons/models/theme-color.d.ts +0 -21
- package/dist/esm/icons/models/theme-color.js +0 -1
- package/dist/esm/isObject.d.ts +0 -4
- package/dist/esm/isObject.js +0 -6
- package/dist/esm/isRtl.d.ts +0 -8
- package/dist/esm/isRtl.js +0 -21
- package/dist/esm/keys.d.ts +0 -21
- package/dist/esm/keys.js +0 -21
- package/dist/esm/listeners.d.ts +0 -8
- package/dist/esm/listeners.js +0 -41
- package/dist/esm/main.d.ts +0 -35
- package/dist/esm/main.js +0 -34
- package/dist/esm/navigation.d.ts +0 -46
- package/dist/esm/navigation.js +0 -106
- package/dist/esm/noop.d.ts +0 -5
- package/dist/esm/noop.js +0 -5
- package/dist/esm/package.json +0 -3
- package/dist/esm/refs.d.ts +0 -8
- package/dist/esm/refs.js +0 -14
- package/dist/esm/scrollbarWidth.d.ts +0 -8
- package/dist/esm/scrollbarWidth.js +0 -22
- package/dist/esm/setter.d.ts +0 -4
- package/dist/esm/setter.js +0 -24
- package/dist/esm/templateRendering.d.ts +0 -19
- package/dist/esm/templateRendering.js +0 -111
- package/dist/esm/theme.d.ts +0 -7
- package/dist/esm/theme.js +0 -13
- package/dist/esm/treeDataOperations.d.ts +0 -43
- package/dist/esm/treeDataOperations.js +0 -116
- package/dist/esm/validate-package.d.ts +0 -8
- package/dist/esm/validate-package.js +0 -27
- package/dist/esm/watermark/WatermarkOverlay.d.ts +0 -11
- package/dist/esm/watermark/WatermarkOverlay.js +0 -200
- package/dist/npm/Draggable.d.ts +0 -64
- package/dist/npm/Draggable.js +0 -92
- package/dist/npm/FormComponent.d.ts +0 -81
- package/dist/npm/FormComponent.js +0 -5
- package/dist/npm/additionalTypes.ts +0 -21
- package/dist/npm/browser-support.service.d.ts +0 -7
- package/dist/npm/browser-support.service.js +0 -32
- package/dist/npm/canUseDOM.d.ts +0 -5
- package/dist/npm/canUseDOM.js +0 -12
- package/dist/npm/classNames.d.ts +0 -4
- package/dist/npm/classNames.js +0 -28
- package/dist/npm/clone.d.ts +0 -20
- package/dist/npm/clone.js +0 -57
- package/dist/npm/constants/main.d.ts +0 -4
- package/dist/npm/constants/main.js +0 -7
- package/dist/npm/defaultSlots.d.ts +0 -4
- package/dist/npm/defaultSlots.js +0 -11
- package/dist/npm/focus.d.ts +0 -20
- package/dist/npm/focus.js +0 -92
- package/dist/npm/getActiveElement.d.ts +0 -8
- package/dist/npm/getActiveElement.js +0 -28
- package/dist/npm/getTabIndex.d.ts +0 -4
- package/dist/npm/getTabIndex.js +0 -26
- package/dist/npm/getter.d.ts +0 -4
- package/dist/npm/getter.js +0 -27
- package/dist/npm/guid.d.ts +0 -5
- package/dist/npm/guid.js +0 -21
- package/dist/npm/hasRelativeStackingContext.d.ts +0 -2
- package/dist/npm/hasRelativeStackingContext.js +0 -29
- package/dist/npm/icons/BaseIconProps.d.ts +0 -77
- package/dist/npm/icons/BaseIconProps.js +0 -2
- package/dist/npm/icons/FontIcon.d.ts +0 -51
- package/dist/npm/icons/FontIcon.js +0 -98
- package/dist/npm/icons/Icon.d.ts +0 -49
- package/dist/npm/icons/Icon.js +0 -136
- package/dist/npm/icons/SvgIcon.d.ts +0 -99
- package/dist/npm/icons/SvgIcon.js +0 -135
- package/dist/npm/icons/constants.d.ts +0 -13
- package/dist/npm/icons/constants.js +0 -16
- package/dist/npm/icons/getIconName.d.ts +0 -2
- package/dist/npm/icons/getIconName.js +0 -9
- package/dist/npm/icons/models/flip.d.ts +0 -11
- package/dist/npm/icons/models/flip.js +0 -2
- package/dist/npm/icons/models/size.d.ts +0 -15
- package/dist/npm/icons/models/size.js +0 -2
- package/dist/npm/icons/models/theme-color.d.ts +0 -21
- package/dist/npm/icons/models/theme-color.js +0 -2
- package/dist/npm/isObject.d.ts +0 -4
- package/dist/npm/isObject.js +0 -10
- package/dist/npm/isRtl.d.ts +0 -8
- package/dist/npm/isRtl.js +0 -26
- package/dist/npm/keys.d.ts +0 -21
- package/dist/npm/keys.js +0 -24
- package/dist/npm/listeners.d.ts +0 -8
- package/dist/npm/listeners.js +0 -46
- package/dist/npm/main.d.ts +0 -35
- package/dist/npm/main.js +0 -82
- package/dist/npm/navigation.d.ts +0 -46
- package/dist/npm/navigation.js +0 -109
- package/dist/npm/noop.d.ts +0 -5
- package/dist/npm/noop.js +0 -8
- package/dist/npm/refs.d.ts +0 -8
- package/dist/npm/refs.js +0 -19
- package/dist/npm/scrollbarWidth.d.ts +0 -8
- package/dist/npm/scrollbarWidth.js +0 -27
- package/dist/npm/setter.d.ts +0 -4
- package/dist/npm/setter.js +0 -28
- package/dist/npm/templateRendering.d.ts +0 -19
- package/dist/npm/templateRendering.js +0 -117
- package/dist/npm/theme.d.ts +0 -7
- package/dist/npm/theme.js +0 -16
- package/dist/npm/treeDataOperations.d.ts +0 -43
- package/dist/npm/treeDataOperations.js +0 -124
- package/dist/npm/validate-package.d.ts +0 -8
- package/dist/npm/validate-package.js +0 -32
- package/dist/npm/watermark/WatermarkOverlay.d.ts +0 -11
- package/dist/npm/watermark/WatermarkOverlay.js +0 -207
package/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 g=require("./classNames.js"),d=require("./guid.js"),m=require("./keys.js"),q=require("./canUseDOM.js"),o=require("./refs.js"),e=require("./focus.js"),b=require("./Draggable.js"),t=require("./clone.js"),h=require("./isObject.js"),S=require("./noop.js"),I=require("./getter.js"),p=require("./setter.js"),n=require("./listeners.js"),a=require("./templateRendering.js"),v=require("./getTabIndex.js"),f=require("./defaultSlots.js"),s=require("./isRtl.js"),i=require("./validate-package.js"),D=require("./theme.js"),r=require("./treeDataOperations.js"),C=require("./browser-support.service.js"),c=require("./scrollbarWidth.js"),F=require("./hasRelativeStackingContext.js"),O=require("./icons/Icon.js"),T=require("./icons/FontIcon.js"),E=require("./icons/SvgIcon.js"),R=require("./icons/getIconName.js"),l=require("./navigation.js"),u=require("./getActiveElement.js"),k=require("./watermark/WatermarkOverlay.js");exports.classNames=g.classNames;exports.guid=d.guid;exports.Keys=m.Keys;exports.canUseDOM=q.canUseDOM;exports.getRef=o.getRef;exports.setRef=o.setRef;exports.firstFocusableChild=e.firstFocusableChild;exports.focusContainer=e.focusContainer;exports.focusFirstFocusableChild=e.focusFirstFocusableChild;exports.focusLastFocusableChild=e.focusLastFocusableChild;exports.lastFocusableChild=e.lastFocusableChild;exports.Draggable=b.Draggable;exports.clone=t.clone;exports.cloneArray=t.cloneArray;exports.cloneDate=t.cloneDate;exports.cloneObject=t.cloneObject;exports.cloneValue=t.cloneValue;exports.isObject=h.isObject;exports.noop=S.noop;exports.getter=I.getter;exports.setter=p.setter;exports.getListeners=n.getListeners;exports.hasListener=n.hasListener;exports.getTemplate=a.getTemplate;exports.templateDefinition=a.templateDefinition;exports.templateRendering=a.templateRendering;exports.getTabIndex=v.getTabIndex;exports.getDefaultSlots=f.getDefaultSlots;exports.getDir=s.getDir;exports.isRtl=s.isRtl;exports.shouldShowValidationUI=i.shouldShowValidationUI;exports.validatePackage=i.validatePackage;exports.kendoThemeMaps=D.kendoThemeMaps;exports.extendDataItem=r.extendDataItem;exports.getItemPath=r.getItemPath;exports.getNestedValue=r.getNestedValue;exports.mapTree=r.mapTree;exports.mapTreeItem=r.mapTreeItem;exports.BrowserSupportService=C.BrowserSupportService;exports.getScrollbarWidth=c.getScrollbarWidth;exports.setScrollbarWidth=c.setScrollbarWidth;exports.hasRelativeStackingContext=F.hasRelativeStackingContext;exports.Icon=O.Icon;exports.FontIcon=T.FontIcon;exports.SvgIcon=E.SvgIcon;exports.getIconName=R.getIconName;exports.FOCUSABLE_ELEMENTS=l.FOCUSABLE_ELEMENTS;exports.Navigation=l.Navigation;exports.getActiveElement=u.getActiveElement;exports.getInnerActiveElement=u.getInnerActiveElement;exports.WatermarkOverlay=k.WatermarkOverlay;
|
package/index.mjs
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 { classNames as t } from "./classNames.mjs";
|
|
9
|
+
import { guid as a } from "./guid.mjs";
|
|
10
|
+
import { Keys as p } from "./keys.mjs";
|
|
11
|
+
import { canUseDOM as l } from "./canUseDOM.mjs";
|
|
12
|
+
import { getRef as n, setRef as s } from "./refs.mjs";
|
|
13
|
+
import { firstFocusableChild as c, focusContainer as g, focusFirstFocusableChild as d, focusLastFocusableChild as u, lastFocusableChild as h } from "./focus.mjs";
|
|
14
|
+
import { Draggable as I } from "./Draggable.mjs";
|
|
15
|
+
import { clone as v, cloneArray as C, cloneDate as D, cloneObject as F, cloneValue as E } from "./clone.mjs";
|
|
16
|
+
import { isObject as L } from "./isObject.mjs";
|
|
17
|
+
import { noop as O } from "./noop.mjs";
|
|
18
|
+
import { getter as k } from "./getter.mjs";
|
|
19
|
+
import { setter as y } from "./setter.mjs";
|
|
20
|
+
import { getListeners as U, hasListener as V } from "./listeners.mjs";
|
|
21
|
+
import { getTemplate as j, templateDefinition as w, templateRendering as B } from "./templateRendering.mjs";
|
|
22
|
+
import { getTabIndex as K } from "./getTabIndex.mjs";
|
|
23
|
+
import { getDefaultSlots as q } from "./defaultSlots.mjs";
|
|
24
|
+
import { getDir as G, isRtl as H } from "./isRtl.mjs";
|
|
25
|
+
import { shouldShowValidationUI as Q, validatePackage as X } from "./validate-package.mjs";
|
|
26
|
+
import { kendoThemeMaps as Z } from "./theme.mjs";
|
|
27
|
+
import { extendDataItem as ee, getItemPath as oe, getNestedValue as te, mapTree as re, mapTreeItem as ae } from "./treeDataOperations.mjs";
|
|
28
|
+
import { BrowserSupportService as pe } from "./browser-support.service.mjs";
|
|
29
|
+
import { getScrollbarWidth as le, setScrollbarWidth as xe } from "./scrollbarWidth.mjs";
|
|
30
|
+
import { hasRelativeStackingContext as se } from "./hasRelativeStackingContext.mjs";
|
|
31
|
+
import { Icon as ce } from "./icons/Icon.mjs";
|
|
32
|
+
import { FontIcon as de } from "./icons/FontIcon.mjs";
|
|
33
|
+
import { SvgIcon as he } from "./icons/SvgIcon.mjs";
|
|
34
|
+
import { getIconName as Ie } from "./icons/getIconName.mjs";
|
|
35
|
+
import { FOCUSABLE_ELEMENTS as ve, Navigation as Ce } from "./navigation.mjs";
|
|
36
|
+
import { getActiveElement as Fe, getInnerActiveElement as Ee } from "./getActiveElement.mjs";
|
|
37
|
+
import { WatermarkOverlay as Le } from "./watermark/WatermarkOverlay.mjs";
|
|
38
|
+
export {
|
|
39
|
+
pe as BrowserSupportService,
|
|
40
|
+
I as Draggable,
|
|
41
|
+
ve as FOCUSABLE_ELEMENTS,
|
|
42
|
+
de as FontIcon,
|
|
43
|
+
ce as Icon,
|
|
44
|
+
p as Keys,
|
|
45
|
+
Ce as Navigation,
|
|
46
|
+
he as SvgIcon,
|
|
47
|
+
Le as WatermarkOverlay,
|
|
48
|
+
l as canUseDOM,
|
|
49
|
+
t as classNames,
|
|
50
|
+
v as clone,
|
|
51
|
+
C as cloneArray,
|
|
52
|
+
D as cloneDate,
|
|
53
|
+
F as cloneObject,
|
|
54
|
+
E as cloneValue,
|
|
55
|
+
ee as extendDataItem,
|
|
56
|
+
c as firstFocusableChild,
|
|
57
|
+
g as focusContainer,
|
|
58
|
+
d as focusFirstFocusableChild,
|
|
59
|
+
u as focusLastFocusableChild,
|
|
60
|
+
Fe as getActiveElement,
|
|
61
|
+
q as getDefaultSlots,
|
|
62
|
+
G as getDir,
|
|
63
|
+
Ie as getIconName,
|
|
64
|
+
Ee as getInnerActiveElement,
|
|
65
|
+
oe as getItemPath,
|
|
66
|
+
U as getListeners,
|
|
67
|
+
te as getNestedValue,
|
|
68
|
+
n as getRef,
|
|
69
|
+
le as getScrollbarWidth,
|
|
70
|
+
K as getTabIndex,
|
|
71
|
+
j as getTemplate,
|
|
72
|
+
k as getter,
|
|
73
|
+
a as guid,
|
|
74
|
+
V as hasListener,
|
|
75
|
+
se as hasRelativeStackingContext,
|
|
76
|
+
L as isObject,
|
|
77
|
+
H as isRtl,
|
|
78
|
+
Z as kendoThemeMaps,
|
|
79
|
+
h as lastFocusableChild,
|
|
80
|
+
re as mapTree,
|
|
81
|
+
ae as mapTreeItem,
|
|
82
|
+
O as noop,
|
|
83
|
+
s as setRef,
|
|
84
|
+
xe as setScrollbarWidth,
|
|
85
|
+
y as setter,
|
|
86
|
+
Q as shouldShowValidationUI,
|
|
87
|
+
w as templateDefinition,
|
|
88
|
+
B as templateRendering,
|
|
89
|
+
X as validatePackage
|
|
90
|
+
};
|
package/isObject.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 t=e=>typeof e=="object";exports.isObject=t;
|
package/isObject.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 e = (t) => typeof t == "object";
|
|
9
|
+
export {
|
|
10
|
+
e as isObject
|
|
11
|
+
};
|
package/isRtl.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 n=require("./canUseDOM.js");function o(t){return!!(n.canUseDOM&&t&&getComputedStyle(t).direction==="rtl")}function i(t,e){if(!e&&n.canUseDOM&&t){const r=window.getComputedStyle(t).direction;if(r)return r}return e}exports.getDir=i;exports.isRtl=o;
|
package/isRtl.mjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 { canUseDOM as n } from "./canUseDOM.mjs";
|
|
9
|
+
function i(t) {
|
|
10
|
+
return !!(n && t && getComputedStyle(t).direction === "rtl");
|
|
11
|
+
}
|
|
12
|
+
function d(t, o) {
|
|
13
|
+
if (!o && n && t) {
|
|
14
|
+
const r = window.getComputedStyle(t).direction;
|
|
15
|
+
if (r)
|
|
16
|
+
return r;
|
|
17
|
+
}
|
|
18
|
+
return o;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
d as getDir,
|
|
22
|
+
i as isRtl
|
|
23
|
+
};
|
package/keys.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 e={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46};exports.Keys=e;
|
package/keys.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 e = {
|
|
9
|
+
backspace: 8,
|
|
10
|
+
tab: 9,
|
|
11
|
+
enter: 13,
|
|
12
|
+
shift: 16,
|
|
13
|
+
esc: 27,
|
|
14
|
+
space: 32,
|
|
15
|
+
pageUp: 33,
|
|
16
|
+
pageDown: 34,
|
|
17
|
+
end: 35,
|
|
18
|
+
home: 36,
|
|
19
|
+
left: 37,
|
|
20
|
+
up: 38,
|
|
21
|
+
right: 39,
|
|
22
|
+
down: 40,
|
|
23
|
+
delete: 46
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
e as Keys
|
|
27
|
+
};
|
package/listeners.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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"});function i(s){const t=Object.keys(this.$attrs).map(e=>e.toLowerCase()).some(e=>e.endsWith(s.toLowerCase())),n=Object.entries(this.$props).some(([e,o])=>{const r=e.toLowerCase();return o!==void 0&&r.startsWith("on")&&r.endsWith(s.toLowerCase())});return t||n}function a(){const s={};for(const t in this.$attrs)t.startsWith("on")&&(s[t]=this.$attrs[t]);for(const t in this.$props)t.startsWith("on")&&(s[t]=this.$props[t]);return s}exports.getListeners=a;exports.hasListener=i;
|
package/listeners.mjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
function i(s) {
|
|
9
|
+
const t = Object.keys(this.$attrs).map((e) => e.toLowerCase()).some((e) => e.endsWith(s.toLowerCase())), n = Object.entries(this.$props).some(([e, r]) => {
|
|
10
|
+
const o = e.toLowerCase();
|
|
11
|
+
return r !== void 0 && o.startsWith("on") && o.endsWith(s.toLowerCase());
|
|
12
|
+
});
|
|
13
|
+
return t || n;
|
|
14
|
+
}
|
|
15
|
+
function h() {
|
|
16
|
+
const s = {};
|
|
17
|
+
for (const t in this.$attrs)
|
|
18
|
+
t.startsWith("on") && (s[t] = this.$attrs[t]);
|
|
19
|
+
for (const t in this.$props)
|
|
20
|
+
t.startsWith("on") && (s[t] = this.$props[t]);
|
|
21
|
+
return s;
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
h as getListeners,
|
|
25
|
+
i as hasListener
|
|
26
|
+
};
|
package/navigation.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 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;
|
package/navigation.mjs
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 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 {
|
|
24
|
+
constructor(t) {
|
|
25
|
+
this.rovingTabIndex = !0, this.update = () => {
|
|
26
|
+
}, this.focusNextIndex = (e, n) => {
|
|
27
|
+
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);
|
|
30
|
+
}, 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
|
+
}
|
|
32
|
+
get elements() {
|
|
33
|
+
return this.root ? Array.from(this.root.querySelectorAll(this.selectors.join(","))) : [];
|
|
34
|
+
}
|
|
35
|
+
get first() {
|
|
36
|
+
return this.root && this.root.querySelector(this.selectors.join(",")) || null;
|
|
37
|
+
}
|
|
38
|
+
get last() {
|
|
39
|
+
const t = this.elements;
|
|
40
|
+
return t[t.length - 1] || null;
|
|
41
|
+
}
|
|
42
|
+
get current() {
|
|
43
|
+
return this.elements.find((t) => t.matches(":focus")) || null;
|
|
44
|
+
}
|
|
45
|
+
focusNext(t) {
|
|
46
|
+
this.focusNextIndex(t, 1);
|
|
47
|
+
}
|
|
48
|
+
focusPrevious(t) {
|
|
49
|
+
this.focusNextIndex(t, -1);
|
|
50
|
+
}
|
|
51
|
+
triggerKeyboardEvent(t) {
|
|
52
|
+
const e = t.target instanceof Element && t.target.closest(this.selectors.join(",")), n = t.key === " " ? "Space" : t.key, s = t.type;
|
|
53
|
+
e && this.keyboardEvents[s][n] && this.keyboardEvents[s][n].call(void 0, e, this, t);
|
|
54
|
+
}
|
|
55
|
+
triggerMouseEvent(t) {
|
|
56
|
+
const e = t.target instanceof Element && t.target.closest(this.selectors.join(",")), n = t.type;
|
|
57
|
+
e && this.mouseEvents[n].call(void 0, e, this, t);
|
|
58
|
+
}
|
|
59
|
+
focusElement(t, e) {
|
|
60
|
+
t && (e && (this.rovingTabIndex && e.removeAttribute("tabindex"), e.classList.remove("k-focus")), this.rovingTabIndex && t.setAttribute("tabindex", String(this.tabIndex)), t.focus({ preventScroll: !0 }));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
i as FOCUSABLE_ELEMENTS,
|
|
65
|
+
a as Navigation
|
|
66
|
+
};
|
package/noop.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 o=function(){};exports.noop=o;
|
package/noop.mjs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 o = function() {
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
o as noop
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-common",
|
|
3
|
+
"version": "5.3.0-develop.2",
|
|
3
4
|
"description": "Kendo UI for Vue Common Utilities package",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"types": "dist/npm/main.d.ts",
|
|
11
|
-
"module": "dist/es/main.js",
|
|
12
|
-
"jsnext:main": "dist/es/main.js",
|
|
5
|
+
"author": "Progress",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-vue-ui",
|
|
8
|
+
"main": "./index.js",
|
|
9
|
+
"module": "./index.mjs",
|
|
10
|
+
"types": "./index.d.ts",
|
|
13
11
|
"exports": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
".": {
|
|
13
|
+
"import": {
|
|
14
|
+
"types": "./index.d.mts",
|
|
15
|
+
"default": "./index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./index.d.ts",
|
|
19
|
+
"default": "./index.js"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
18
22
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@progress/kendo-licensing": "^1.3.0",
|
|
26
|
+
"vue": "^2.6.12 || ^3.0.2"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@progress/kendo-draggable": "^3.0.1"
|
|
23
30
|
},
|
|
24
31
|
"keywords": [
|
|
25
32
|
"Kendo UI",
|
|
@@ -31,19 +38,11 @@
|
|
|
31
38
|
"friendlyName": "Common",
|
|
32
39
|
"framework": "Kendo UI for Vue"
|
|
33
40
|
},
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@progress/kendo-draggable": "^3.0.1"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"@progress/kendo-licensing": "^1.3.0"
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git+https://github.com/telerik/kendo-vue.git"
|
|
43
44
|
},
|
|
44
|
-
"author": "Progress",
|
|
45
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
46
45
|
"publishConfig": {
|
|
47
46
|
"access": "public"
|
|
48
47
|
}
|
|
49
|
-
}
|
|
48
|
+
}
|
package/refs.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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"});function n(e,t){return e[`${t}Ref`]}function r(e,t){return f=>{e[`${t}Ref`]=f}}exports.getRef=n;exports.setRef=r;
|
package/refs.mjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
function n(e, t) {
|
|
9
|
+
return e[`${t}Ref`];
|
|
10
|
+
}
|
|
11
|
+
function r(e, t) {
|
|
12
|
+
return (f) => {
|
|
13
|
+
e[`${t}Ref`] = f;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
n as getRef,
|
|
18
|
+
r as setRef
|
|
19
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 e=require("./browser-support.service.js"),t=require("./canUseDOM.js"),o=()=>!t.canUseDOM||!document.body?!1:new e.BrowserSupportService().scrollbarWidth,c=()=>{if(!t.canUseDOM||!document.body)return!1;const r=new e.BrowserSupportService().scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",`${r}px`)};exports.getScrollbarWidth=o;exports.setScrollbarWidth=c;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 { BrowserSupportService as o } from "./browser-support.service.mjs";
|
|
9
|
+
import { canUseDOM as t } from "./canUseDOM.mjs";
|
|
10
|
+
const c = () => !t || !document.body ? !1 : new o().scrollbarWidth, s = () => {
|
|
11
|
+
if (!t || !document.body)
|
|
12
|
+
return !1;
|
|
13
|
+
const r = new o().scrollbarWidth;
|
|
14
|
+
document.body.style.setProperty("--kendo-scrollbar-width", `${r}px`);
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
c as getScrollbarWidth,
|
|
18
|
+
s as setScrollbarWidth
|
|
19
|
+
};
|
package/setter.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 i=require("./constants/main.js"),r={};r.undefined=t=>t;function a(t){if(r[t])return r[t];const n=[];return t.replace(i.FIELD_REGEX,function(u,o,e,c){n.push(o!==void 0?o:e||c)}),r[t]=function(u,o){let e=u;const c=n.length-1;for(let s=0;s<c&&e;s++)e=e[n[s]]=e[n[s]]||{};e[n[c]]=o},r[t]}exports.setter=a;
|
package/setter.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 { FIELD_REGEX as h } from "./constants/main.mjs";
|
|
9
|
+
const e = {};
|
|
10
|
+
e.undefined = (t) => t;
|
|
11
|
+
function f(t) {
|
|
12
|
+
if (e[t])
|
|
13
|
+
return e[t];
|
|
14
|
+
const o = [];
|
|
15
|
+
return t.replace(h, function(u, r, n, c) {
|
|
16
|
+
o.push(r !== void 0 ? r : n || c);
|
|
17
|
+
}), e[t] = function(u, r) {
|
|
18
|
+
let n = u;
|
|
19
|
+
const c = o.length - 1;
|
|
20
|
+
for (let s = 0; s < c && n; s++)
|
|
21
|
+
n = n[o[s]] = n[o[s]] || {};
|
|
22
|
+
n[o[c]] = r;
|
|
23
|
+
}, e[t];
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
f as setter
|
|
27
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 p=require("./isObject.js"),b={type:[String,Function,Object,Boolean],default:function(){}};function g(r,n){if(!r&&r!==!1)return;if(r.kt)return r;const o=this.$slots[r]||(r.toLowerCase?this.$slots[r.toLowerCase()]:null);return typeof r=="string"&&o?{kt:!0,type:"slot",render:o,listeners:n}:typeof r=="string"||p.isObject(r)||typeof r=="function"&&r.component?{kt:!0,type:"component",render:r,listeners:n}:{kt:!0,type:"renderFunction",render:r,listeners:n}}function v({h:r,template:n,defaultRendering:o,defaultSlots:e,additionalProps:t,additionalListeners:u,swapDefaultSlots:f}){if(!n||n&&n.render===!0)return o;const y=o?o.props:{},s={...n.listeners,...c(u)},i={...y,...t,...s},d={...i,...s};return n.type==="slot"?n.render({props:i,listeners:s,methods:s,defaultSlots:e}):n.type==="renderFunction"?f?n.render?n.render(r,o,e,i,s):void 0:n.render?n.render(r,o,i,s,e):void 0:r(n.render,d,()=>[e])}function c(r){if(!r)return r;const n={},o=Object.keys(r);for(let e=0;e<o.length;e++){const t=o[e];n["on"+t.charAt(0).toUpperCase()+t.slice(1)]=r[t]}return n}exports.getTemplate=v;exports.templateDefinition=b;exports.templateRendering=g;exports.transformListeners=c;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 { isObject as d } from "./isObject.mjs";
|
|
9
|
+
const L = {
|
|
10
|
+
type: [String, Function, Object, Boolean],
|
|
11
|
+
default: function() {
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
function O(r, n) {
|
|
15
|
+
if (!r && r !== !1)
|
|
16
|
+
return;
|
|
17
|
+
if (r.kt)
|
|
18
|
+
return r;
|
|
19
|
+
const o = this.$slots[r] || (r.toLowerCase ? this.$slots[r.toLowerCase()] : null);
|
|
20
|
+
return typeof r == "string" && o ? { kt: !0, type: "slot", render: o, listeners: n } : typeof r == "string" || d(r) || typeof r == "function" && r.component ? { kt: !0, type: "component", render: r, listeners: n } : { kt: !0, type: "renderFunction", render: r, listeners: n };
|
|
21
|
+
}
|
|
22
|
+
function b({
|
|
23
|
+
h: r,
|
|
24
|
+
template: n,
|
|
25
|
+
defaultRendering: o,
|
|
26
|
+
defaultSlots: s,
|
|
27
|
+
additionalProps: i,
|
|
28
|
+
additionalListeners: c,
|
|
29
|
+
swapDefaultSlots: u
|
|
30
|
+
}) {
|
|
31
|
+
if (!n || n && n.render === !0)
|
|
32
|
+
return o;
|
|
33
|
+
const f = o ? o.props : {}, e = {
|
|
34
|
+
...n.listeners,
|
|
35
|
+
...k(c)
|
|
36
|
+
}, t = {
|
|
37
|
+
...f,
|
|
38
|
+
...i,
|
|
39
|
+
...e
|
|
40
|
+
}, y = {
|
|
41
|
+
...t,
|
|
42
|
+
...e
|
|
43
|
+
};
|
|
44
|
+
return n.type === "slot" ? n.render({
|
|
45
|
+
props: t,
|
|
46
|
+
listeners: e,
|
|
47
|
+
methods: e,
|
|
48
|
+
defaultSlots: s
|
|
49
|
+
}) : n.type === "renderFunction" ? u ? n.render ? n.render(r, o, s, t, e) : void 0 : n.render ? n.render(r, o, t, e, s) : void 0 : r(
|
|
50
|
+
n.render,
|
|
51
|
+
y,
|
|
52
|
+
() => [s]
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
function k(r) {
|
|
56
|
+
if (!r)
|
|
57
|
+
return r;
|
|
58
|
+
const n = {}, o = Object.keys(r);
|
|
59
|
+
for (let s = 0; s < o.length; s++) {
|
|
60
|
+
const i = o[s];
|
|
61
|
+
n["on" + i.charAt(0).toUpperCase() + i.slice(1)] = r[i];
|
|
62
|
+
}
|
|
63
|
+
return n;
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
b as getTemplate,
|
|
67
|
+
L as templateDefinition,
|
|
68
|
+
O as templateRendering,
|
|
69
|
+
k as transformListeners
|
|
70
|
+
};
|
package/theme.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 e={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}};exports.kendoThemeMaps=e;
|
package/theme.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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 m = {
|
|
9
|
+
sizeMap: {
|
|
10
|
+
small: "sm",
|
|
11
|
+
medium: "md",
|
|
12
|
+
large: "lg"
|
|
13
|
+
},
|
|
14
|
+
roundedMap: {
|
|
15
|
+
small: "sm",
|
|
16
|
+
medium: "md",
|
|
17
|
+
large: "lg"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
m as kendoThemeMaps
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 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"});function g(e,t,n){return n?{...e,[t]:n.length?[...n]:void 0}:e&&e[t]?[...e[t]]:[]}function s(e,t,n){if(e[t]){const o=g(e,t).map(r=>s(r,t,n));return n(g(e,t,o))}return n(e)}const f=(e,t,n)=>[...e.map(o=>s(o,t,n))],i=(e,t,n,o)=>{let r=e;const c=[];for(let a=0;a<t.length;a++)r=r[t[a]],r=Array.isArray(r)?r:r[n],c.push(r);const h=c.length>1?c[c.length-2]:e,p=t[t.length-1],u=o(h[p]);h.splice(p,1,u)},l=(e,t,n)=>Object.assign({},e,e[t]?{[t]:e[t].slice()}:{},n||{}),T=(e,t,n)=>{const o=[],r=[...t];if(r.length){let c=e[r.shift()||0];for(o.push(c);r.length&&n;)c=c[n][r.shift()||0],o.push(c)}return o};function y(e,t){const n=e.split(".");let o=t;return n.forEach(r=>{o=o?o[r]:void 0}),o}exports.extendDataItem=l;exports.getItemPath=T;exports.getNestedValue=y;exports.mapTree=f;exports.mapTreeItem=i;
|