@progress/kendo-react-common 8.2.1-develop.5 → 8.3.0-develop.10

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.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./tree-utils/itemIdUtils.js"),i=require("./contexts/ZIndexContext.js"),C=require("./browser-support.service.js"),g=require("./canUseDOM.js"),h=require("./canUseRef.js"),q=require("./classNames.js"),r=require("./clone.js"),t=require("./trappedFocus.js"),E=require("./FormComponent.js"),b=require("./getTabIndex.js"),v=require("./getter.js"),S=require("./guid.js"),a=require("./keys.js"),A=require("./noop.js"),c=require("./scrollbarWidth.js"),D=require("./setter.js"),o=require("./constants/main.js"),s=require("./treeDataOperations.js"),u=require("./validate-package.js"),F=require("./hasRelativeStackingContext.js"),x=require("./watermark/WatermarkOverlay.js"),y=require("./events/dispatchEvent.js"),T=require("./hocs/AsyncFocusBlur.js"),l=require("./hocs/withPropsContext.js"),O=require("./hocs/use-id-hoc.js"),L=require("./hooks/useDir.js"),N=require("./hooks/useAsyncFocusBlur.js"),P=require("./hooks/useRtl.js"),B=require("./hooks/useMouse.js"),f=require("./hooks/useCustomComponent.js"),k=require("./hooks/usePropsContext.js"),d=require("./hooks/useCollection.js"),w=require("./hooks/useDocument.js"),W=require("./hooks/useWindow.js"),M=require("./hooks/use-id.js"),U=require("./hooks/use-isomorphic-layout-effect.js"),R=require("./icons/Icon.js"),_=require("./icons/SvgIcon.js"),H=require("./icons/IconWrap.js"),V=require("./icons/IconsContext.js"),n=require("./icons/utils.js"),Z=require("./typography/Typography.js"),K=require("./drag-n-drop/index.js"),j=require("./Draggable.js"),z=require("./Droppable.js"),G=require("./hooks/useDraggable.js"),X=require("./hooks/useDroppable.js"),Y=require("./theme.js"),J=require("./memoize.js"),Q=require("./navigation.js"),I=require("./getActiveElement.js"),$=require("./tree-utils/FieldsService.js"),ee=require("./tree-utils/SortedPublicItemIds.js"),e=require("./tree-utils/itemUtils.js"),p=require("./tree-utils/misc.js"),te=require("./rowHeightService.js");exports.treeIdUtils=m;exports.ZIndexContext=i.ZIndexContext;exports.useZIndexContext=i.useZIndexContext;exports.BrowserSupportService=C.BrowserSupportService;exports.canUseDOM=g.canUseDOM;exports.canUseRef=h.canUseRef;exports.classNames=q.classNames;exports.clone=r.clone;exports.cloneArray=r.cloneArray;exports.cloneDate=r.cloneDate;exports.cloneObject=r.cloneObject;exports.cloneValue=r.cloneValue;exports.applyTrappedFocus=t.applyTrappedFocus;exports.disableNavigatableContainer=t.disableNavigatableContainer;exports.enableNavigatableContainer=t.enableNavigatableContainer;exports.firstFocusableChild=t.firstFocusableChild;exports.focusFirstFocusableChild=t.focusFirstFocusableChild;exports.focusLastFocusableChild=t.focusLastFocusableChild;exports.focusableChildren=t.focusableChildren;exports.keepFocusInContainer=t.keepFocusInContainer;exports.lastFocusableChild=t.lastFocusableChild;exports.FormComponent=E.FormComponent;exports.getTabIndex=b.getTabIndex;exports.getter=v.getter;exports.guid=S.guid;exports.KEYS=a.KEYS;exports.Keys=a.Keys;exports.noop=A.noop;exports.getScrollbarWidth=c.getScrollbarWidth;exports.setScrollbarWidth=c.setScrollbarWidth;exports.setter=D.setter;exports.FIELD_REGEX=o.FIELD_REGEX;exports.FOCUSABLE_ELEMENTS=o.FOCUSABLE_ELEMENTS;exports.FOCUSABLE_ELEMENTS_BASE=o.FOCUSABLE_ELEMENTS_BASE;exports.TABBABLE_ELEMENTS=o.TABBABLE_ELEMENTS;exports.extendDataItem=s.extendDataItem;exports.getItemPath=s.getItemPath;exports.mapTree=s.mapTree;exports.mapTreeItem=s.mapTreeItem;exports.shouldShowValidationUI=u.shouldShowValidationUI;exports.validatePackage=u.validatePackage;exports.hasRelativeStackingContext=F.hasRelativeStackingContext;exports.WatermarkOverlay=x.WatermarkOverlay;exports.dispatchEvent=y.dispatchEvent;exports.AsyncFocusBlur=T.AsyncFocusBlur;exports.createPropsContext=l.createPropsContext;exports.withPropsContext=l.withPropsContext;exports.withIdHOC=O.withIdHOC;exports.useDir=L.useDir;exports.useAsyncFocusBlur=N.useAsyncFocusBlur;exports.useRtl=P.useRtl;exports.useMouse=B.useMouse;exports.useCustomComponent=f.useCustomComponent;exports.usePropsContext=k.usePropsContext;exports.COLLECTION_ACTION=d.COLLECTION_ACTION;exports.useCollection=d.useCollection;exports.useDocument=w.useDocument;exports.useWindow=W.useWindow;exports.useId=M.useId;exports.useIsomorphicLayoutEffect=U.useIsomorphicLayoutEffect;exports.Icon=R.Icon;exports.SvgIcon=_.SvgIcon;exports.IconWrap=H.IconWrap;exports.IconsContext=V.IconsContext;exports.svgIconPropType=n.svgIconPropType;exports.toIconClass=n.toIconClass;exports.toIconName=n.toIconName;exports.Typography=Z.Typography;exports.DragAndDrop=K.DragAndDrop;exports.Draggable=j.Draggable;exports.Droppable=z.Droppable;exports.useDraggable=G.useDraggable;exports.useDroppable=X.useDroppable;exports.kendoThemeMaps=Y.kendoThemeMaps;exports.memoizeOne=J.memoizeOne;exports.Navigation=Q.Navigation;exports.getActiveElement=I.getActiveElement;exports.getInnerActiveElement=I.getInnerActiveElement;exports.TreeFieldsService=$.TreeFieldsService;exports.SortedPublicItemIds=ee.SortedPublicItemIds;exports.addItem=e.addItem;exports.areAllDirectChildrenChecked=e.areAllDirectChildrenChecked;exports.getAllDirectIndirectChildrenIds=e.getAllDirectIndirectChildrenIds;exports.getAllParents=e.getAllParents;exports.hasChildren=e.hasChildren;exports.isEnabledAndAllParentsEnabled=e.isEnabledAndAllParentsEnabled;exports.isItemExpandedAndWithChildren=e.isItemExpandedAndWithChildren;exports.removeItem=e.removeItem;exports.resolveItemId=e.resolveItemId;exports.resolveItemsIds=e.resolveItemsIds;exports.updateItem=e.updateItem;exports.getNestedValue=p.getNestedValue;exports.isArray=p.isArray;exports.RowHeightService=te.RowHeightService;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./tree-utils/itemIdUtils.js"),d=require("./contexts/ZIndexContext.js"),S=require("./browser-support.service.js"),v=require("./canUseDOM.js"),P=require("./canUseRef.js"),A=require("./classNames.js"),s=require("./clone.js"),r=require("./trappedFocus.js"),T=require("./FormComponent.js"),f=require("./getTabIndex.js"),F=require("./getter.js"),y=require("./guid.js"),p=require("./keys.js"),B=require("./noop.js"),m=require("./scrollbarWidth.js"),L=require("./setter.js"),i=require("./constants/main.js"),u=require("./treeDataOperations.js"),I=require("./validate-package.js"),M=require("./hasRelativeStackingContext.js"),w=require("./watermark/WatermarkOverlay.js"),k=require("./events/dispatchEvent.js"),O=require("./hocs/AsyncFocusBlur.js"),C=require("./hocs/withPropsContext.js"),U=require("./hocs/use-id-hoc.js"),N=require("./hocs/use-unstyled-hoc.js"),R=require("./hooks/useDir.js"),W=require("./hooks/useAsyncFocusBlur.js"),_=require("./hooks/useRtl.js"),H=require("./hooks/useMouse.js"),G=require("./hooks/useCustomComponent.js"),j=require("./hooks/usePropsContext.js"),g=require("./hooks/useCollection.js"),V=require("./hooks/useDocument.js"),z=require("./hooks/useWindow.js"),Z=require("./hooks/use-id.js"),K=require("./hooks/use-isomorphic-layout-effect.js"),X=require("./icons/Icon.js"),Y=require("./icons/SvgIcon.js"),$=require("./icons/IconWrap.js"),J=require("./icons/IconsContext.js"),c=require("./icons/utils.js"),Q=require("./typography/Typography.js"),ee=require("./drag-n-drop/index.js"),te=require("./Draggable.js"),re=require("./Droppable.js"),oe=require("./hooks/useDraggable.js"),se=require("./hooks/useDroppable.js"),ne=require("./theme.js"),ie=require("./memoize.js"),ue=require("./navigation.js"),q=require("./getActiveElement.js"),ae=require("./tree-utils/FieldsService.js"),ce=require("./tree-utils/SortedPublicItemIds.js"),t=require("./tree-utils/itemUtils.js"),h=require("./tree-utils/misc.js"),le=require("./rowHeightService.js"),b=require("./unstyled/main.js"),de=require("./unstyled/animations.js"),pe=require("./unstyled/icons.js"),x=require("./unstyled/buttons.js"),l=require("./unstyled/dropdowns.js"),n=require("./unstyled/dateinputs.js"),o=require("./unstyled/inputs.js"),a=require("./unstyled/labels.js"),D=require("./unstyled/form.js"),me=require("./unstyled/popup.js"),Ie=require("./unstyled/grid.js"),e=require("./unstyled/json-classes.js");exports.treeIdUtils=E;exports.ZIndexContext=d.ZIndexContext;exports.useZIndexContext=d.useZIndexContext;exports.BrowserSupportService=S.BrowserSupportService;exports.canUseDOM=v.canUseDOM;exports.canUseRef=P.canUseRef;exports.classNames=A.classNames;exports.clone=s.clone;exports.cloneArray=s.cloneArray;exports.cloneDate=s.cloneDate;exports.cloneObject=s.cloneObject;exports.cloneValue=s.cloneValue;exports.applyTrappedFocus=r.applyTrappedFocus;exports.disableNavigatableContainer=r.disableNavigatableContainer;exports.enableNavigatableContainer=r.enableNavigatableContainer;exports.firstFocusableChild=r.firstFocusableChild;exports.focusFirstFocusableChild=r.focusFirstFocusableChild;exports.focusLastFocusableChild=r.focusLastFocusableChild;exports.focusableChildren=r.focusableChildren;exports.keepFocusInContainer=r.keepFocusInContainer;exports.lastFocusableChild=r.lastFocusableChild;exports.FormComponent=T.FormComponent;exports.getTabIndex=f.getTabIndex;exports.getter=F.getter;exports.guid=y.guid;exports.KEYS=p.KEYS;exports.Keys=p.Keys;exports.noop=B.noop;exports.getScrollbarWidth=m.getScrollbarWidth;exports.setScrollbarWidth=m.setScrollbarWidth;exports.setter=L.setter;exports.FIELD_REGEX=i.FIELD_REGEX;exports.FOCUSABLE_ELEMENTS=i.FOCUSABLE_ELEMENTS;exports.FOCUSABLE_ELEMENTS_BASE=i.FOCUSABLE_ELEMENTS_BASE;exports.TABBABLE_ELEMENTS=i.TABBABLE_ELEMENTS;exports.extendDataItem=u.extendDataItem;exports.getItemPath=u.getItemPath;exports.mapTree=u.mapTree;exports.mapTreeItem=u.mapTreeItem;exports.shouldShowValidationUI=I.shouldShowValidationUI;exports.validatePackage=I.validatePackage;exports.hasRelativeStackingContext=M.hasRelativeStackingContext;exports.WatermarkOverlay=w.WatermarkOverlay;exports.dispatchEvent=k.dispatchEvent;exports.AsyncFocusBlur=O.AsyncFocusBlur;exports.createPropsContext=C.createPropsContext;exports.withPropsContext=C.withPropsContext;exports.withIdHOC=U.withIdHOC;exports.withUnstyledHOC=N.withUnstyledHOC;exports.useDir=R.useDir;exports.useAsyncFocusBlur=W.useAsyncFocusBlur;exports.useRtl=_.useRtl;exports.useMouse=H.useMouse;exports.useCustomComponent=G.useCustomComponent;exports.usePropsContext=j.usePropsContext;exports.COLLECTION_ACTION=g.COLLECTION_ACTION;exports.useCollection=g.useCollection;exports.useDocument=V.useDocument;exports.useWindow=z.useWindow;exports.useId=Z.useId;exports.useIsomorphicLayoutEffect=K.useIsomorphicLayoutEffect;exports.Icon=X.Icon;exports.SvgIcon=Y.SvgIcon;exports.IconWrap=$.IconWrap;exports.IconsContext=J.IconsContext;exports.svgIconPropType=c.svgIconPropType;exports.toIconClass=c.toIconClass;exports.toIconName=c.toIconName;exports.Typography=Q.Typography;exports.DragAndDrop=ee.DragAndDrop;exports.Draggable=te.Draggable;exports.Droppable=re.Droppable;exports.useDraggable=oe.useDraggable;exports.useDroppable=se.useDroppable;exports.kendoThemeMaps=ne.kendoThemeMaps;exports.memoizeOne=ie.memoizeOne;exports.Navigation=ue.Navigation;exports.getActiveElement=q.getActiveElement;exports.getInnerActiveElement=q.getInnerActiveElement;exports.TreeFieldsService=ae.TreeFieldsService;exports.SortedPublicItemIds=ce.SortedPublicItemIds;exports.addItem=t.addItem;exports.areAllDirectChildrenChecked=t.areAllDirectChildrenChecked;exports.getAllDirectIndirectChildrenIds=t.getAllDirectIndirectChildrenIds;exports.getAllParents=t.getAllParents;exports.hasChildren=t.hasChildren;exports.isEnabledAndAllParentsEnabled=t.isEnabledAndAllParentsEnabled;exports.isItemExpandedAndWithChildren=t.isItemExpandedAndWithChildren;exports.removeItem=t.removeItem;exports.resolveItemId=t.resolveItemId;exports.resolveItemsIds=t.resolveItemsIds;exports.updateItem=t.updateItem;exports.getNestedValue=h.getNestedValue;exports.isArray=h.isArray;exports.RowHeightService=le.RowHeightService;exports.UnstyledContext=b.UnstyledContext;exports.useUnstyled=b.useUnstyled;exports.uAnimation=de.uAnimation;exports.uSvgIcon=pe.uSvgIcon;exports.uButton=x.uButton;exports.uDropDownButton=x.uDropDownButton;exports.uDropDownList=l.uDropDownList;exports.uDropDownsActionSheet=l.uDropDownsActionSheet;exports.uDropDownsBase=l.uDropDownsBase;exports.uCalendar=n.uCalendar;exports.uDateInput=n.uDateInput;exports.uDateTimePicker=n.uDateTimePicker;exports.uTime=n.uTime;exports.uTimePicker=n.uTimePicker;exports.radioButtonClasses=o.radioButtonClasses;exports.radioGroupClasses=o.radioGroupClasses;exports.uInput=o.uInput;exports.uMaskedTextBox=o.uMaskedTextBox;exports.uRadioButton=o.uRadioButton;exports.uRadioGroup=o.uRadioGroup;exports.uTextBox=o.uTextBox;exports.uError=a.uError;exports.uFloatingLabel=a.uFloatingLabel;exports.uHint=a.uHint;exports.uLabel=a.uLabel;exports.uForm=D.uForm;exports.uFormField=D.uFormField;exports.uPopup=me.uPopup;exports.uGrid=Ie.uGrid;exports.actions=e.actions;exports.animationStyles=e.animationStyles;exports.base=e.base;exports.buttonPrefix=e.buttonPrefix;exports.calendarPrefix=e.calendarPrefix;exports.components=e.components;exports.containers=e.containers;exports.cssUtils=e.cssUtils;exports.cursor=e.cursor;exports.dateInputs=e.dateInputs;exports.ddbPrefix=e.ddbPrefix;exports.dimensions=e.dimensions;exports.directionMap=e.directionMap;exports.dropDownListPrefix=e.dropDownListPrefix;exports.elements=e.elements;exports.fillModeMap=e.fillModeMap;exports.forms=e.forms;exports.grid=e.grid;exports.gridPrefix=e.gridPrefix;exports.icon=e.icon;exports.inputPrefix=e.inputPrefix;exports.inputs=e.inputs;exports.jsonTheme=e.jsonTheme;exports.labels=e.labels;exports.maskedPrefix=e.maskedPrefix;exports.orientationMap=e.orientationMap;exports.pickerPrefix=e.pickerPrefix;exports.popup=e.popup;exports.radioPrefix=e.radioPrefix;exports.roundedMap=e.roundedMap;exports.sizeMap=e.sizeMap;exports.states=e.states;exports.themeColorMap=e.themeColorMap;
package/index.mjs CHANGED
@@ -8,153 +8,229 @@
8
8
  "use client";
9
9
  import * as e from "./tree-utils/itemIdUtils.mjs";
10
10
  import { ZIndexContext as t, useZIndexContext as p } from "./contexts/ZIndexContext.mjs";
11
- import { BrowserSupportService as a } from "./browser-support.service.mjs";
12
- import { canUseDOM as n } from "./canUseDOM.mjs";
13
- import { canUseRef as l } from "./canUseRef.mjs";
14
- import { classNames as i } from "./classNames.mjs";
15
- import { clone as d, cloneArray as u, cloneDate as I, cloneObject as C, cloneValue as h } from "./clone.mjs";
16
- import { applyTrappedFocus as g, disableNavigatableContainer as b, enableNavigatableContainer as A, firstFocusableChild as v, focusFirstFocusableChild as S, focusLastFocusableChild as D, focusableChildren as F, keepFocusInContainer as T, lastFocusableChild as y } from "./trappedFocus.mjs";
17
- import { FormComponent as N } from "./FormComponent.mjs";
18
- import { getTabIndex as B } from "./getTabIndex.mjs";
19
- import { getter as U } from "./getter.mjs";
20
- import { guid as w } from "./guid.mjs";
21
- import { KEYS as W, Keys as _ } from "./keys.mjs";
22
- import { noop as V } from "./noop.mjs";
23
- import { getScrollbarWidth as K, setScrollbarWidth as Z } from "./scrollbarWidth.mjs";
24
- import { setter as z } from "./setter.mjs";
11
+ import { BrowserSupportService as m } from "./browser-support.service.mjs";
12
+ import { canUseDOM as s } from "./canUseDOM.mjs";
13
+ import { canUseRef as x } from "./canUseRef.mjs";
14
+ import { classNames as l } from "./classNames.mjs";
15
+ import { clone as d, cloneArray as c, cloneDate as I, cloneObject as C, cloneValue as h } from "./clone.mjs";
16
+ import { applyTrappedFocus as b, disableNavigatableContainer as E, enableNavigatableContainer as D, firstFocusableChild as A, focusFirstFocusableChild as P, focusLastFocusableChild as S, focusableChildren as T, keepFocusInContainer as v, lastFocusableChild as F } from "./trappedFocus.mjs";
17
+ import { FormComponent as y } from "./FormComponent.mjs";
18
+ import { getTabIndex as M } from "./getTabIndex.mjs";
19
+ import { getter as k } from "./getter.mjs";
20
+ import { guid as O } from "./guid.mjs";
21
+ import { KEYS as R, Keys as W } from "./keys.mjs";
22
+ import { noop as G } from "./noop.mjs";
23
+ import { getScrollbarWidth as V, setScrollbarWidth as j } from "./scrollbarWidth.mjs";
24
+ import { setter as K } from "./setter.mjs";
25
25
  import { FIELD_REGEX as X, FOCUSABLE_ELEMENTS as Y, FOCUSABLE_ELEMENTS_BASE as q, TABBABLE_ELEMENTS as J } from "./constants/main.mjs";
26
26
  import { extendDataItem as $, getItemPath as ee, mapTree as oe, mapTreeItem as re } from "./treeDataOperations.mjs";
27
- import { shouldShowValidationUI as pe, validatePackage as me } from "./validate-package.mjs";
28
- import { hasRelativeStackingContext as se } from "./hasRelativeStackingContext.mjs";
29
- import { WatermarkOverlay as xe } from "./watermark/WatermarkOverlay.mjs";
27
+ import { shouldShowValidationUI as pe, validatePackage as ae } from "./validate-package.mjs";
28
+ import { hasRelativeStackingContext as ne } from "./hasRelativeStackingContext.mjs";
29
+ import { WatermarkOverlay as ie } from "./watermark/WatermarkOverlay.mjs";
30
30
  import { dispatchEvent as fe } from "./events/dispatchEvent.mjs";
31
- import { AsyncFocusBlur as ce } from "./hocs/AsyncFocusBlur.mjs";
32
- import { createPropsContext as ue, withPropsContext as Ie } from "./hocs/withPropsContext.mjs";
31
+ import { AsyncFocusBlur as ue } from "./hocs/AsyncFocusBlur.mjs";
32
+ import { createPropsContext as ce, withPropsContext as Ie } from "./hocs/withPropsContext.mjs";
33
33
  import { withIdHOC as he } from "./hocs/use-id-hoc.mjs";
34
- import { useDir as ge } from "./hooks/useDir.mjs";
35
- import { useAsyncFocusBlur as Ae } from "./hooks/useAsyncFocusBlur.mjs";
36
- import { useRtl as Se } from "./hooks/useRtl.mjs";
34
+ import { withUnstyledHOC as be } from "./hocs/use-unstyled-hoc.mjs";
35
+ import { useDir as De } from "./hooks/useDir.mjs";
36
+ import { useAsyncFocusBlur as Pe } from "./hooks/useAsyncFocusBlur.mjs";
37
+ import { useRtl as Te } from "./hooks/useRtl.mjs";
37
38
  import { useMouse as Fe } from "./hooks/useMouse.mjs";
38
39
  import { useCustomComponent as ye } from "./hooks/useCustomComponent.mjs";
39
- import { usePropsContext as Ne } from "./hooks/usePropsContext.mjs";
40
- import { COLLECTION_ACTION as Be, useCollection as Pe } from "./hooks/useCollection.mjs";
41
- import { useDocument as ke } from "./hooks/useDocument.mjs";
42
- import { useWindow as Me } from "./hooks/useWindow.mjs";
43
- import { useId as _e } from "./hooks/use-id.mjs";
40
+ import { usePropsContext as Me } from "./hooks/usePropsContext.mjs";
41
+ import { COLLECTION_ACTION as ke, useCollection as Ne } from "./hooks/useCollection.mjs";
42
+ import { useDocument as Ue } from "./hooks/useDocument.mjs";
43
+ import { useWindow as We } from "./hooks/useWindow.mjs";
44
+ import { useId as Ge } from "./hooks/use-id.mjs";
44
45
  import { useIsomorphicLayoutEffect as Ve } from "./hooks/use-isomorphic-layout-effect.mjs";
45
- import { Icon as Ke } from "./icons/Icon.mjs";
46
- import { SvgIcon as je } from "./icons/SvgIcon.mjs";
47
- import { IconWrap as Ge } from "./icons/IconWrap.mjs";
48
- import { IconsContext as Ye } from "./icons/IconsContext.mjs";
49
- import { svgIconPropType as Je, toIconClass as Qe, toIconName as $e } from "./icons/utils.mjs";
50
- import { Typography as oo } from "./typography/Typography.mjs";
51
- import { DragAndDrop as to } from "./drag-n-drop/index.mjs";
52
- import { Draggable as mo } from "./Draggable.mjs";
53
- import { Droppable as so } from "./Droppable.mjs";
54
- import { useDraggable as xo } from "./hooks/useDraggable.mjs";
55
- import { useDroppable as fo } from "./hooks/useDroppable.mjs";
56
- import { kendoThemeMaps as co } from "./theme.mjs";
57
- import { memoizeOne as Io } from "./memoize.mjs";
58
- import { Navigation as ho } from "./navigation.mjs";
59
- import { getActiveElement as go, getInnerActiveElement as bo } from "./getActiveElement.mjs";
60
- import { TreeFieldsService as vo } from "./tree-utils/FieldsService.mjs";
61
- import { SortedPublicItemIds as Do } from "./tree-utils/SortedPublicItemIds.mjs";
62
- import { addItem as To, areAllDirectChildrenChecked as yo, getAllDirectIndirectChildrenIds as Lo, getAllParents as No, hasChildren as Oo, isEnabledAndAllParentsEnabled as Bo, isItemExpandedAndWithChildren as Po, removeItem as Uo, resolveItemId as ko, resolveItemsIds as wo, updateItem as Mo } from "./tree-utils/itemUtils.mjs";
63
- import { getNestedValue as _o, isArray as Ro } from "./tree-utils/misc.mjs";
64
- import { RowHeightService as Ho } from "./rowHeightService.mjs";
46
+ import { Icon as ze } from "./icons/Icon.mjs";
47
+ import { SvgIcon as Ze } from "./icons/SvgIcon.mjs";
48
+ import { IconWrap as Ye } from "./icons/IconWrap.mjs";
49
+ import { IconsContext as Je } from "./icons/IconsContext.mjs";
50
+ import { svgIconPropType as $e, toIconClass as eo, toIconName as oo } from "./icons/utils.mjs";
51
+ import { Typography as to } from "./typography/Typography.mjs";
52
+ import { DragAndDrop as ao } from "./drag-n-drop/index.mjs";
53
+ import { Draggable as no } from "./Draggable.mjs";
54
+ import { Droppable as io } from "./Droppable.mjs";
55
+ import { useDraggable as fo } from "./hooks/useDraggable.mjs";
56
+ import { useDroppable as uo } from "./hooks/useDroppable.mjs";
57
+ import { kendoThemeMaps as Io } from "./theme.mjs";
58
+ import { memoizeOne as ho } from "./memoize.mjs";
59
+ import { Navigation as bo } from "./navigation.mjs";
60
+ import { getActiveElement as Do, getInnerActiveElement as Ao } from "./getActiveElement.mjs";
61
+ import { TreeFieldsService as So } from "./tree-utils/FieldsService.mjs";
62
+ import { SortedPublicItemIds as vo } from "./tree-utils/SortedPublicItemIds.mjs";
63
+ import { addItem as Bo, areAllDirectChildrenChecked as yo, getAllDirectIndirectChildrenIds as Lo, getAllParents as Mo, hasChildren as wo, isEnabledAndAllParentsEnabled as ko, isItemExpandedAndWithChildren as No, removeItem as Oo, resolveItemId as Uo, resolveItemsIds as Ro, updateItem as Wo } from "./tree-utils/itemUtils.mjs";
64
+ import { getNestedValue as Go, isArray as Ho } from "./tree-utils/misc.mjs";
65
+ import { RowHeightService as jo } from "./rowHeightService.mjs";
66
+ import { UnstyledContext as Ko, useUnstyled as Zo } from "./unstyled/main.mjs";
67
+ import { uAnimation as Yo } from "./unstyled/animations.mjs";
68
+ import { uSvgIcon as Jo } from "./unstyled/icons.mjs";
69
+ import { uButton as $o, uDropDownButton as er } from "./unstyled/buttons.mjs";
70
+ import { uDropDownList as rr, uDropDownsActionSheet as tr, uDropDownsBase as pr } from "./unstyled/dropdowns.mjs";
71
+ import { uCalendar as mr, uDateInput as nr, uDateTimePicker as sr, uTime as ir, uTimePicker as xr } from "./unstyled/dateinputs.mjs";
72
+ import { radioButtonClasses as lr, radioGroupClasses as ur, uInput as dr, uMaskedTextBox as cr, uRadioButton as Ir, uRadioGroup as Cr, uTextBox as hr } from "./unstyled/inputs.mjs";
73
+ import { uError as br, uFloatingLabel as Er, uHint as Dr, uLabel as Ar } from "./unstyled/labels.mjs";
74
+ import { uForm as Sr, uFormField as Tr } from "./unstyled/form.mjs";
75
+ import { uPopup as Fr } from "./unstyled/popup.mjs";
76
+ import { uGrid as yr } from "./unstyled/grid.mjs";
77
+ import { actions as Mr, animationStyles as wr, base as kr, buttonPrefix as Nr, calendarPrefix as Or, components as Ur, containers as Rr, cssUtils as Wr, cursor as _r, dateInputs as Gr, ddbPrefix as Hr, dimensions as Vr, directionMap as jr, dropDownListPrefix as zr, elements as Kr, fillModeMap as Zr, forms as Xr, grid as Yr, gridPrefix as qr, icon as Jr, inputPrefix as Qr, inputs as $r, jsonTheme as et, labels as ot, maskedPrefix as rt, orientationMap as tt, pickerPrefix as pt, popup as at, radioPrefix as mt, roundedMap as nt, sizeMap as st, states as it, themeColorMap as xt } from "./unstyled/json-classes.mjs";
65
78
  export {
66
- ce as AsyncFocusBlur,
67
- a as BrowserSupportService,
68
- Be as COLLECTION_ACTION,
69
- to as DragAndDrop,
70
- mo as Draggable,
71
- so as Droppable,
79
+ ue as AsyncFocusBlur,
80
+ m as BrowserSupportService,
81
+ ke as COLLECTION_ACTION,
82
+ ao as DragAndDrop,
83
+ no as Draggable,
84
+ io as Droppable,
72
85
  X as FIELD_REGEX,
73
86
  Y as FOCUSABLE_ELEMENTS,
74
87
  q as FOCUSABLE_ELEMENTS_BASE,
75
- N as FormComponent,
76
- Ke as Icon,
77
- Ge as IconWrap,
78
- Ye as IconsContext,
79
- W as KEYS,
80
- _ as Keys,
81
- ho as Navigation,
82
- Ho as RowHeightService,
83
- Do as SortedPublicItemIds,
84
- je as SvgIcon,
88
+ y as FormComponent,
89
+ ze as Icon,
90
+ Ye as IconWrap,
91
+ Je as IconsContext,
92
+ R as KEYS,
93
+ W as Keys,
94
+ bo as Navigation,
95
+ jo as RowHeightService,
96
+ vo as SortedPublicItemIds,
97
+ Ze as SvgIcon,
85
98
  J as TABBABLE_ELEMENTS,
86
- vo as TreeFieldsService,
87
- oo as Typography,
88
- xe as WatermarkOverlay,
99
+ So as TreeFieldsService,
100
+ to as Typography,
101
+ Ko as UnstyledContext,
102
+ ie as WatermarkOverlay,
89
103
  t as ZIndexContext,
90
- To as addItem,
91
- g as applyTrappedFocus,
104
+ Mr as actions,
105
+ Bo as addItem,
106
+ wr as animationStyles,
107
+ b as applyTrappedFocus,
92
108
  yo as areAllDirectChildrenChecked,
93
- n as canUseDOM,
94
- l as canUseRef,
95
- i as classNames,
109
+ kr as base,
110
+ Nr as buttonPrefix,
111
+ Or as calendarPrefix,
112
+ s as canUseDOM,
113
+ x as canUseRef,
114
+ l as classNames,
96
115
  d as clone,
97
- u as cloneArray,
116
+ c as cloneArray,
98
117
  I as cloneDate,
99
118
  C as cloneObject,
100
119
  h as cloneValue,
101
- ue as createPropsContext,
102
- b as disableNavigatableContainer,
120
+ Ur as components,
121
+ Rr as containers,
122
+ ce as createPropsContext,
123
+ Wr as cssUtils,
124
+ _r as cursor,
125
+ Gr as dateInputs,
126
+ Hr as ddbPrefix,
127
+ Vr as dimensions,
128
+ jr as directionMap,
129
+ E as disableNavigatableContainer,
103
130
  fe as dispatchEvent,
104
- A as enableNavigatableContainer,
131
+ zr as dropDownListPrefix,
132
+ Kr as elements,
133
+ D as enableNavigatableContainer,
105
134
  $ as extendDataItem,
106
- v as firstFocusableChild,
107
- S as focusFirstFocusableChild,
108
- D as focusLastFocusableChild,
109
- F as focusableChildren,
110
- go as getActiveElement,
135
+ Zr as fillModeMap,
136
+ A as firstFocusableChild,
137
+ P as focusFirstFocusableChild,
138
+ S as focusLastFocusableChild,
139
+ T as focusableChildren,
140
+ Xr as forms,
141
+ Do as getActiveElement,
111
142
  Lo as getAllDirectIndirectChildrenIds,
112
- No as getAllParents,
113
- bo as getInnerActiveElement,
143
+ Mo as getAllParents,
144
+ Ao as getInnerActiveElement,
114
145
  ee as getItemPath,
115
- _o as getNestedValue,
116
- K as getScrollbarWidth,
117
- B as getTabIndex,
118
- U as getter,
119
- w as guid,
120
- Oo as hasChildren,
121
- se as hasRelativeStackingContext,
122
- Ro as isArray,
123
- Bo as isEnabledAndAllParentsEnabled,
124
- Po as isItemExpandedAndWithChildren,
125
- T as keepFocusInContainer,
126
- co as kendoThemeMaps,
127
- y as lastFocusableChild,
146
+ Go as getNestedValue,
147
+ V as getScrollbarWidth,
148
+ M as getTabIndex,
149
+ k as getter,
150
+ Yr as grid,
151
+ qr as gridPrefix,
152
+ O as guid,
153
+ wo as hasChildren,
154
+ ne as hasRelativeStackingContext,
155
+ Jr as icon,
156
+ Qr as inputPrefix,
157
+ $r as inputs,
158
+ Ho as isArray,
159
+ ko as isEnabledAndAllParentsEnabled,
160
+ No as isItemExpandedAndWithChildren,
161
+ et as jsonTheme,
162
+ v as keepFocusInContainer,
163
+ Io as kendoThemeMaps,
164
+ ot as labels,
165
+ F as lastFocusableChild,
128
166
  oe as mapTree,
129
167
  re as mapTreeItem,
130
- Io as memoizeOne,
131
- V as noop,
132
- Uo as removeItem,
133
- ko as resolveItemId,
134
- wo as resolveItemsIds,
135
- Z as setScrollbarWidth,
136
- z as setter,
168
+ rt as maskedPrefix,
169
+ ho as memoizeOne,
170
+ G as noop,
171
+ tt as orientationMap,
172
+ pt as pickerPrefix,
173
+ at as popup,
174
+ lr as radioButtonClasses,
175
+ ur as radioGroupClasses,
176
+ mt as radioPrefix,
177
+ Oo as removeItem,
178
+ Uo as resolveItemId,
179
+ Ro as resolveItemsIds,
180
+ nt as roundedMap,
181
+ j as setScrollbarWidth,
182
+ K as setter,
137
183
  pe as shouldShowValidationUI,
138
- Je as svgIconPropType,
139
- Qe as toIconClass,
140
- $e as toIconName,
184
+ st as sizeMap,
185
+ it as states,
186
+ $e as svgIconPropType,
187
+ xt as themeColorMap,
188
+ eo as toIconClass,
189
+ oo as toIconName,
141
190
  e as treeIdUtils,
142
- Mo as updateItem,
143
- Ae as useAsyncFocusBlur,
144
- Pe as useCollection,
191
+ Yo as uAnimation,
192
+ $o as uButton,
193
+ mr as uCalendar,
194
+ nr as uDateInput,
195
+ sr as uDateTimePicker,
196
+ er as uDropDownButton,
197
+ rr as uDropDownList,
198
+ tr as uDropDownsActionSheet,
199
+ pr as uDropDownsBase,
200
+ br as uError,
201
+ Er as uFloatingLabel,
202
+ Sr as uForm,
203
+ Tr as uFormField,
204
+ yr as uGrid,
205
+ Dr as uHint,
206
+ dr as uInput,
207
+ Ar as uLabel,
208
+ cr as uMaskedTextBox,
209
+ Fr as uPopup,
210
+ Ir as uRadioButton,
211
+ Cr as uRadioGroup,
212
+ Jo as uSvgIcon,
213
+ hr as uTextBox,
214
+ ir as uTime,
215
+ xr as uTimePicker,
216
+ Wo as updateItem,
217
+ Pe as useAsyncFocusBlur,
218
+ Ne as useCollection,
145
219
  ye as useCustomComponent,
146
- ge as useDir,
147
- ke as useDocument,
148
- xo as useDraggable,
149
- fo as useDroppable,
150
- _e as useId,
220
+ De as useDir,
221
+ Ue as useDocument,
222
+ fo as useDraggable,
223
+ uo as useDroppable,
224
+ Ge as useId,
151
225
  Ve as useIsomorphicLayoutEffect,
152
226
  Fe as useMouse,
153
- Ne as usePropsContext,
154
- Se as useRtl,
155
- Me as useWindow,
227
+ Me as usePropsContext,
228
+ Te as useRtl,
229
+ Zo as useUnstyled,
230
+ We as useWindow,
156
231
  p as useZIndexContext,
157
- me as validatePackage,
232
+ ae as validatePackage,
158
233
  he as withIdHOC,
159
- Ie as withPropsContext
234
+ Ie as withPropsContext,
235
+ be as withUnstyledHOC
160
236
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-common",
3
- "version": "8.2.1-develop.5",
3
+ "version": "8.3.0-develop.10",
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",
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./json-classes.js"),n={child:{container:`${e.base.prefix}-${e.animationStyles[`${e.animationStyles.prefix}-${e.containers.container}`]}`,relative:`${e.base.prefix}-${e.animationStyles[`${e.animationStyles.prefix}-${e.containers.container}-${e.animationStyles.relative}`]}`},childContainer:{container:`${e.base.prefix}-${e.animationStyles[`${e.animationStyles.child}-${e.animationStyles.prefix}-${e.containers.container}`]}`},appear:{"push-right":`${e.base.prefix}-${e.animationStyles.pushRight}-${e.animationStyles.appear}`,"push-left":`${e.base.prefix}-${e.animationStyles.pushLeft}-${e.animationStyles.appear}`,"push-down":`${e.base.prefix}-${e.animationStyles.pushDown}-${e.animationStyles.appear}`,"push-up":`${e.base.prefix}-${e.animationStyles.pushUp}-${e.animationStyles.appear}`,"expand-vertical":`${e.base.prefix}-${e.animationStyles.expandVertical}-${e.animationStyles.appear}`,"expand-horizontal":`${e.base.prefix}-${e.animationStyles.expandHorizontal}-${e.animationStyles.appear}`,fade:`${e.base.prefix}-${e.animationStyles.fade}-${e.animationStyles.appear}`,"zoom-in":`${e.base.prefix}-${e.animationStyles.zoomIn}-${e.animationStyles.appear}`,"zoom-out":`${e.base.prefix}-${e.animationStyles.zoomOut}-${e.animationStyles.appear}`,"slide-in":`${e.base.prefix}-${e.animationStyles.slideIn}-${e.animationStyles.appear}`,"slide-down":`${e.base.prefix}-${e.animationStyles.slideDown}-${e.animationStyles.appear}`,"slide-up":`${e.base.prefix}-${e.animationStyles.slideUp}-${e.animationStyles.appear}`,"slide-right":`${e.base.prefix}-${e.animationStyles.slideRight}-${e.animationStyles.appear}`,"slide-left":`${e.base.prefix}-${e.animationStyles.slideLeft}-${e.animationStyles.appear}`,"reveal-vertical":`${e.base.prefix}-${e.animationStyles.revealVertical}-${e.animationStyles.appear}`,"reveal-horizontal":`${e.base.prefix}-${e.animationStyles.revealHorizontal}-${e.animationStyles.appear}`},appearActive:{"push-right":`${e.base.prefix}-${e.animationStyles.pushRight}-${e.animationStyles.appear}-${e.animationStyles.active}`,"push-left":`${e.base.prefix}-${e.animationStyles.pushLeft}-${e.animationStyles.appear}-${e.animationStyles.active}`,"push-down":`${e.base.prefix}-${e.animationStyles.pushDown}-${e.animationStyles.appear}-${e.animationStyles.active}`,"push-up":`${e.base.prefix}-${e.animationStyles.pushUp}-${e.animationStyles.appear}-${e.animationStyles.active}`,"expand-vertical":`${e.base.prefix}-${e.animationStyles.expandVertical}-${e.animationStyles.appear}-${e.animationStyles.active}`,"expand-horizontal":`${e.base.prefix}-${e.animationStyles.expandHorizontal}-${e.animationStyles.appear}-${e.animationStyles.active}`,fade:`${e.base.prefix}-${e.animationStyles.fade}-${e.animationStyles.appear}-${e.animationStyles.active}`,"zoom-in":`${e.base.prefix}-${e.animationStyles.zoomIn}-${e.animationStyles.appear}-${e.animationStyles.active}`,"zoom-out":`${e.base.prefix}-${e.animationStyles.zoomOut}-${e.animationStyles.appear}-${e.animationStyles.active}`,"slide-in":`${e.base.prefix}-${e.animationStyles.slideIn}-${e.animationStyles.appear}-${e.animationStyles.active}`,"slide-down":`${e.base.prefix}-${e.animationStyles.slideDown}-${e.animationStyles.appear}-${e.animationStyles.active}`,"slide-up":`${e.base.prefix}-${e.animationStyles.slideUp}-${e.animationStyles.appear}-${e.animationStyles.active}`,"slide-right":`${e.base.prefix}-${e.animationStyles.slideRight}-${e.animationStyles.appear}-${e.animationStyles.active}`,"slide-left":`${e.base.prefix}-${e.animationStyles.slideLeft}-${e.animationStyles.appear}-${e.animationStyles.active}`,"reveal-vertical":`${e.base.prefix}-${e.animationStyles.revealVertical}-${e.animationStyles.appear}-${e.animationStyles.active}`,"reveal-horizontal":`${e.base.prefix}-${e.animationStyles.revealHorizontal}-${e.animationStyles.appear}-${e.animationStyles.active}`},enter:{"push-right":`${e.base.prefix}-${e.animationStyles.pushRight}-${e.animationStyles.enter}`,"push-left":`${e.base.prefix}-${e.animationStyles.pushLeft}-${e.animationStyles.enter}`,"push-down":`${e.base.prefix}-${e.animationStyles.pushDown}-${e.animationStyles.enter}`,"push-up":`${e.base.prefix}-${e.animationStyles.pushUp}-${e.animationStyles.enter}`,"expand-vertical":`${e.base.prefix}-${e.animationStyles.expandVertical}-${e.animationStyles.enter}`,"expand-horizontal":`${e.base.prefix}-${e.animationStyles.expandHorizontal}-${e.animationStyles.enter}`,fade:`${e.base.prefix}-${e.animationStyles.fade}-${e.animationStyles.enter}`,"zoom-in":`${e.base.prefix}-${e.animationStyles.zoomIn}-${e.animationStyles.enter}`,"zoom-out":`${e.base.prefix}-${e.animationStyles.zoomOut}-${e.animationStyles.enter}`,"slide-in":`${e.base.prefix}-${e.animationStyles.slideIn}-${e.animationStyles.enter}`,"slide-down":`${e.base.prefix}-${e.animationStyles.slideDown}-${e.animationStyles.enter}`,"slide-up":`${e.base.prefix}-${e.animationStyles.slideUp}-${e.animationStyles.enter}`,"slide-right":`${e.base.prefix}-${e.animationStyles.slideRight}-${e.animationStyles.enter}`,"slide-left":`${e.base.prefix}-${e.animationStyles.slideLeft}-${e.animationStyles.enter}`,"reveal-vertical":`${e.base.prefix}-${e.animationStyles.revealVertical}-${e.animationStyles.enter}`,"reveal-horizontal":`${e.base.prefix}-${e.animationStyles.revealHorizontal}-${e.animationStyles.enter}`},enterActive:{"push-right":`${e.base.prefix}-${e.animationStyles.pushRight}-${e.animationStyles.enter}-${e.animationStyles.active}`,"push-left":`${e.base.prefix}-${e.animationStyles.pushLeft}-${e.animationStyles.enter}-${e.animationStyles.active}`,"push-down":`${e.base.prefix}-${e.animationStyles.pushDown}-${e.animationStyles.enter}-${e.animationStyles.active}`,"push-up":`${e.base.prefix}-${e.animationStyles.pushUp}-${e.animationStyles.enter}-${e.animationStyles.active}`,"expand-vertical":`${e.base.prefix}-${e.animationStyles.expandVertical}-${e.animationStyles.enter}-${e.animationStyles.active}`,"expand-horizontal":`${e.base.prefix}-${e.animationStyles.expandHorizontal}-${e.animationStyles.enter}-${e.animationStyles.active}`,fade:`${e.base.prefix}-${e.animationStyles.fade}-${e.animationStyles.enter}-${e.animationStyles.active}`,"zoom-in":`${e.base.prefix}-${e.animationStyles.zoomIn}-${e.animationStyles.enter}-${e.animationStyles.active}`,"zoom-out":`${e.base.prefix}-${e.animationStyles.zoomOut}-${e.animationStyles.enter}-${e.animationStyles.active}`,"slide-in":`${e.base.prefix}-${e.animationStyles.slideIn}-${e.animationStyles.enter}-${e.animationStyles.active}`,"slide-down":`${e.base.prefix}-${e.animationStyles.slideDown}-${e.animationStyles.enter}-${e.animationStyles.active}`,"slide-up":`${e.base.prefix}-${e.animationStyles.slideUp}-${e.animationStyles.enter}-${e.animationStyles.active}`,"slide-right":`${e.base.prefix}-${e.animationStyles.slideRight}-${e.animationStyles.enter}-${e.animationStyles.active}`,"slide-left":`${e.base.prefix}-${e.animationStyles.slideLeft}-${e.animationStyles.enter}-${e.animationStyles.active}`,"reveal-vertical":`${e.base.prefix}-${e.animationStyles.revealVertical}-${e.animationStyles.enter}-${e.animationStyles.active}`,"reveal-horizontal":`${e.base.prefix}-${e.animationStyles.revealHorizontal}-${e.animationStyles.enter}-${e.animationStyles.active}`},exit:{"push-right":`${e.base.prefix}-${e.animationStyles.pushRight}-${e.animationStyles.exit}`,"push-left":`${e.base.prefix}-${e.animationStyles.pushLeft}-${e.animationStyles.exit}`,"push-down":`${e.base.prefix}-${e.animationStyles.pushDown}-${e.animationStyles.exit}`,"push-up":`${e.base.prefix}-${e.animationStyles.pushUp}-${e.animationStyles.exit}`,"expand-vertical":`${e.base.prefix}-${e.animationStyles.expandVertical}-${e.animationStyles.exit}`,"expand-horizontal":`${e.base.prefix}-${e.animationStyles.expandHorizontal}-${e.animationStyles.exit}`,fade:`${e.base.prefix}-${e.animationStyles.fade}-${e.animationStyles.exit}`,"zoom-in":`${e.base.prefix}-${e.animationStyles.zoomIn}-${e.animationStyles.exit}`,"zoom-out":`${e.base.prefix}-${e.animationStyles.zoomOut}-${e.animationStyles.exit}`,"slide-in":`${e.base.prefix}-${e.animationStyles.slideIn}-${e.animationStyles.exit}`,"slide-down":`${e.base.prefix}-${e.animationStyles.slideDown}-${e.animationStyles.exit}`,"slide-up":`${e.base.prefix}-${e.animationStyles.slideUp}-${e.animationStyles.exit}`,"slide-right":`${e.base.prefix}-${e.animationStyles.slideRight}-${e.animationStyles.exit}`,"slide-left":`${e.base.prefix}-${e.animationStyles.slideLeft}-${e.animationStyles.exit}`,"reveal-vertical":`${e.base.prefix}-${e.animationStyles.revealVertical}-${e.animationStyles.exit}`,"reveal-horizontal":`${e.base.prefix}-${e.animationStyles.revealHorizontal}-${e.animationStyles.exit}`},exitActive:{"push-right":`${e.base.prefix}-${e.animationStyles.pushRight}-${e.animationStyles.exit}-${e.animationStyles.active}`,"push-left":`${e.base.prefix}-${e.animationStyles.pushLeft}-${e.animationStyles.exit}-${e.animationStyles.active}`,"push-down":`${e.base.prefix}-${e.animationStyles.pushDown}-${e.animationStyles.exit}-${e.animationStyles.active}`,"push-up":`${e.base.prefix}-${e.animationStyles.pushUp}-${e.animationStyles.exit}-${e.animationStyles.active}`,"expand-vertical":`${e.base.prefix}-${e.animationStyles.expandVertical}-${e.animationStyles.exit}-${e.animationStyles.active}`,"expand-horizontal":`${e.base.prefix}-${e.animationStyles.expandHorizontal}-${e.animationStyles.exit}-${e.animationStyles.active}`,fade:`${e.base.prefix}-${e.animationStyles.fade}-${e.animationStyles.exit}-${e.animationStyles.active}`,"zoom-in":`${e.base.prefix}-${e.animationStyles.zoomIn}-${e.animationStyles.exit}-${e.animationStyles.active}`,"zoom-out":`${e.base.prefix}-${e.animationStyles.zoomOut}-${e.animationStyles.exit}-${e.animationStyles.active}`,"slide-in":`${e.base.prefix}-${e.animationStyles.slideIn}-${e.animationStyles.exit}-${e.animationStyles.active}`,"slide-down":`${e.base.prefix}-${e.animationStyles.slideDown}-${e.animationStyles.exit}-${e.animationStyles.active}`,"slide-up":`${e.base.prefix}-${e.animationStyles.slideUp}-${e.animationStyles.exit}-${e.animationStyles.active}`,"slide-right":`${e.base.prefix}-${e.animationStyles.slideRight}-${e.animationStyles.exit}-${e.animationStyles.active}`,"slide-left":`${e.base.prefix}-${e.animationStyles.slideLeft}-${e.animationStyles.exit}-${e.animationStyles.active}`,"reveal-vertical":`${e.base.prefix}-${e.animationStyles.revealVertical}-${e.animationStyles.exit}-${e.animationStyles.active}`,"reveal-horizontal":`${e.base.prefix}-${e.animationStyles.revealHorizontal}-${e.animationStyles.exit}-${e.animationStyles.active}`}},s={child:t=>{const{c:a=n}=t;return{[a.child.container]:!0,[a.child.relative]:!0}},childContainer:t=>{const{c:a=n}=t;return{[a.childContainer.container]:!0}},appear:t=>{const{c:a=n,transitionName:i}=t;return{[`${a.appear[i]}`]:a.appear[i],[`${i}-${e.animationStyles.appear}`]:!a.appear[i]}},appearActive:t=>{const{c:a=n,transitionName:i}=t;return{[`${a.appearActive[i]}`]:a.appearActive[i],[`${i}-${e.animationStyles.appear}-${e.animationStyles.active}`]:!a.appearActive[i]}},enter:t=>{const{c:a=n,transitionName:i}=t;return{[`${a.enter[i]}`]:a.enter[i],[`${i}-${e.animationStyles.enter}`]:!a.enter[i]}},enterActive:t=>{const{c:a=n,transitionName:i}=t;return{[`${a.enterActive[i]}`]:a.enterActive[i],[`${i}-${e.animationStyles.enter}-${e.animationStyles.active}`]:!a.enterActive[i]}},exit:t=>{const{c:a=n,transitionName:i}=t;return{[`${a.exit[i]}`]:a.exit[i],[`${i}-${e.animationStyles.exit}`]:!a.exit[i]}},exitActive:t=>{const{c:a=n,transitionName:i}=t;return{[`${a.exitActive[i]}`]:a.exitActive[i],[`${i}-${e.animationStyles.exit}-${e.animationStyles.active}`]:!a.exitActive[i]}}};exports.uAnimation=s;
@@ -0,0 +1,185 @@
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 client";
9
+ import { base as i, animationStyles as e, containers as a } from "./json-classes.mjs";
10
+ const p = {
11
+ child: {
12
+ container: `${i.prefix}-${e[`${e.prefix}-${a.container}`]}`,
13
+ relative: `${i.prefix}-${e[`${e.prefix}-${a.container}-${e.relative}`]}`
14
+ },
15
+ childContainer: {
16
+ container: `${i.prefix}-${e[`${e.child}-${e.prefix}-${a.container}`]}`
17
+ },
18
+ appear: {
19
+ "push-right": `${i.prefix}-${e.pushRight}-${e.appear}`,
20
+ "push-left": `${i.prefix}-${e.pushLeft}-${e.appear}`,
21
+ "push-down": `${i.prefix}-${e.pushDown}-${e.appear}`,
22
+ "push-up": `${i.prefix}-${e.pushUp}-${e.appear}`,
23
+ "expand-vertical": `${i.prefix}-${e.expandVertical}-${e.appear}`,
24
+ "expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.appear}`,
25
+ fade: `${i.prefix}-${e.fade}-${e.appear}`,
26
+ "zoom-in": `${i.prefix}-${e.zoomIn}-${e.appear}`,
27
+ "zoom-out": `${i.prefix}-${e.zoomOut}-${e.appear}`,
28
+ "slide-in": `${i.prefix}-${e.slideIn}-${e.appear}`,
29
+ "slide-down": `${i.prefix}-${e.slideDown}-${e.appear}`,
30
+ "slide-up": `${i.prefix}-${e.slideUp}-${e.appear}`,
31
+ "slide-right": `${i.prefix}-${e.slideRight}-${e.appear}`,
32
+ "slide-left": `${i.prefix}-${e.slideLeft}-${e.appear}`,
33
+ "reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.appear}`,
34
+ "reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.appear}`
35
+ },
36
+ appearActive: {
37
+ "push-right": `${i.prefix}-${e.pushRight}-${e.appear}-${e.active}`,
38
+ "push-left": `${i.prefix}-${e.pushLeft}-${e.appear}-${e.active}`,
39
+ "push-down": `${i.prefix}-${e.pushDown}-${e.appear}-${e.active}`,
40
+ "push-up": `${i.prefix}-${e.pushUp}-${e.appear}-${e.active}`,
41
+ "expand-vertical": `${i.prefix}-${e.expandVertical}-${e.appear}-${e.active}`,
42
+ "expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.appear}-${e.active}`,
43
+ fade: `${i.prefix}-${e.fade}-${e.appear}-${e.active}`,
44
+ "zoom-in": `${i.prefix}-${e.zoomIn}-${e.appear}-${e.active}`,
45
+ "zoom-out": `${i.prefix}-${e.zoomOut}-${e.appear}-${e.active}`,
46
+ "slide-in": `${i.prefix}-${e.slideIn}-${e.appear}-${e.active}`,
47
+ "slide-down": `${i.prefix}-${e.slideDown}-${e.appear}-${e.active}`,
48
+ "slide-up": `${i.prefix}-${e.slideUp}-${e.appear}-${e.active}`,
49
+ "slide-right": `${i.prefix}-${e.slideRight}-${e.appear}-${e.active}`,
50
+ "slide-left": `${i.prefix}-${e.slideLeft}-${e.appear}-${e.active}`,
51
+ "reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.appear}-${e.active}`,
52
+ "reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.appear}-${e.active}`
53
+ },
54
+ enter: {
55
+ "push-right": `${i.prefix}-${e.pushRight}-${e.enter}`,
56
+ "push-left": `${i.prefix}-${e.pushLeft}-${e.enter}`,
57
+ "push-down": `${i.prefix}-${e.pushDown}-${e.enter}`,
58
+ "push-up": `${i.prefix}-${e.pushUp}-${e.enter}`,
59
+ "expand-vertical": `${i.prefix}-${e.expandVertical}-${e.enter}`,
60
+ "expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.enter}`,
61
+ fade: `${i.prefix}-${e.fade}-${e.enter}`,
62
+ "zoom-in": `${i.prefix}-${e.zoomIn}-${e.enter}`,
63
+ "zoom-out": `${i.prefix}-${e.zoomOut}-${e.enter}`,
64
+ "slide-in": `${i.prefix}-${e.slideIn}-${e.enter}`,
65
+ "slide-down": `${i.prefix}-${e.slideDown}-${e.enter}`,
66
+ "slide-up": `${i.prefix}-${e.slideUp}-${e.enter}`,
67
+ "slide-right": `${i.prefix}-${e.slideRight}-${e.enter}`,
68
+ "slide-left": `${i.prefix}-${e.slideLeft}-${e.enter}`,
69
+ "reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.enter}`,
70
+ "reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.enter}`
71
+ },
72
+ enterActive: {
73
+ "push-right": `${i.prefix}-${e.pushRight}-${e.enter}-${e.active}`,
74
+ "push-left": `${i.prefix}-${e.pushLeft}-${e.enter}-${e.active}`,
75
+ "push-down": `${i.prefix}-${e.pushDown}-${e.enter}-${e.active}`,
76
+ "push-up": `${i.prefix}-${e.pushUp}-${e.enter}-${e.active}`,
77
+ "expand-vertical": `${i.prefix}-${e.expandVertical}-${e.enter}-${e.active}`,
78
+ "expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.enter}-${e.active}`,
79
+ fade: `${i.prefix}-${e.fade}-${e.enter}-${e.active}`,
80
+ "zoom-in": `${i.prefix}-${e.zoomIn}-${e.enter}-${e.active}`,
81
+ "zoom-out": `${i.prefix}-${e.zoomOut}-${e.enter}-${e.active}`,
82
+ "slide-in": `${i.prefix}-${e.slideIn}-${e.enter}-${e.active}`,
83
+ "slide-down": `${i.prefix}-${e.slideDown}-${e.enter}-${e.active}`,
84
+ "slide-up": `${i.prefix}-${e.slideUp}-${e.enter}-${e.active}`,
85
+ "slide-right": `${i.prefix}-${e.slideRight}-${e.enter}-${e.active}`,
86
+ "slide-left": `${i.prefix}-${e.slideLeft}-${e.enter}-${e.active}`,
87
+ "reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.enter}-${e.active}`,
88
+ "reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.enter}-${e.active}`
89
+ },
90
+ exit: {
91
+ "push-right": `${i.prefix}-${e.pushRight}-${e.exit}`,
92
+ "push-left": `${i.prefix}-${e.pushLeft}-${e.exit}`,
93
+ "push-down": `${i.prefix}-${e.pushDown}-${e.exit}`,
94
+ "push-up": `${i.prefix}-${e.pushUp}-${e.exit}`,
95
+ "expand-vertical": `${i.prefix}-${e.expandVertical}-${e.exit}`,
96
+ "expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.exit}`,
97
+ fade: `${i.prefix}-${e.fade}-${e.exit}`,
98
+ "zoom-in": `${i.prefix}-${e.zoomIn}-${e.exit}`,
99
+ "zoom-out": `${i.prefix}-${e.zoomOut}-${e.exit}`,
100
+ "slide-in": `${i.prefix}-${e.slideIn}-${e.exit}`,
101
+ "slide-down": `${i.prefix}-${e.slideDown}-${e.exit}`,
102
+ "slide-up": `${i.prefix}-${e.slideUp}-${e.exit}`,
103
+ "slide-right": `${i.prefix}-${e.slideRight}-${e.exit}`,
104
+ "slide-left": `${i.prefix}-${e.slideLeft}-${e.exit}`,
105
+ "reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.exit}`,
106
+ "reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.exit}`
107
+ },
108
+ exitActive: {
109
+ "push-right": `${i.prefix}-${e.pushRight}-${e.exit}-${e.active}`,
110
+ "push-left": `${i.prefix}-${e.pushLeft}-${e.exit}-${e.active}`,
111
+ "push-down": `${i.prefix}-${e.pushDown}-${e.exit}-${e.active}`,
112
+ "push-up": `${i.prefix}-${e.pushUp}-${e.exit}-${e.active}`,
113
+ "expand-vertical": `${i.prefix}-${e.expandVertical}-${e.exit}-${e.active}`,
114
+ "expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.exit}-${e.active}`,
115
+ fade: `${i.prefix}-${e.fade}-${e.exit}-${e.active}`,
116
+ "zoom-in": `${i.prefix}-${e.zoomIn}-${e.exit}-${e.active}`,
117
+ "zoom-out": `${i.prefix}-${e.zoomOut}-${e.exit}-${e.active}`,
118
+ "slide-in": `${i.prefix}-${e.slideIn}-${e.exit}-${e.active}`,
119
+ "slide-down": `${i.prefix}-${e.slideDown}-${e.exit}-${e.active}`,
120
+ "slide-up": `${i.prefix}-${e.slideUp}-${e.exit}-${e.active}`,
121
+ "slide-right": `${i.prefix}-${e.slideRight}-${e.exit}-${e.active}`,
122
+ "slide-left": `${i.prefix}-${e.slideLeft}-${e.exit}-${e.active}`,
123
+ "reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.exit}-${e.active}`,
124
+ "reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.exit}-${e.active}`
125
+ }
126
+ }, x = {
127
+ child: (t) => {
128
+ const { c: r = p } = t;
129
+ return {
130
+ [r.child.container]: !0,
131
+ [r.child.relative]: !0
132
+ };
133
+ },
134
+ childContainer: (t) => {
135
+ const { c: r = p } = t;
136
+ return {
137
+ [r.childContainer.container]: !0
138
+ };
139
+ },
140
+ appear: (t) => {
141
+ const { c: r = p, transitionName: $ } = t;
142
+ return {
143
+ [`${r.appear[$]}`]: r.appear[$],
144
+ [`${$}-${e.appear}`]: !r.appear[$]
145
+ };
146
+ },
147
+ appearActive: (t) => {
148
+ const { c: r = p, transitionName: $ } = t;
149
+ return {
150
+ [`${r.appearActive[$]}`]: r.appearActive[$],
151
+ [`${$}-${e.appear}-${e.active}`]: !r.appearActive[$]
152
+ };
153
+ },
154
+ enter: (t) => {
155
+ const { c: r = p, transitionName: $ } = t;
156
+ return {
157
+ [`${r.enter[$]}`]: r.enter[$],
158
+ [`${$}-${e.enter}`]: !r.enter[$]
159
+ };
160
+ },
161
+ enterActive: (t) => {
162
+ const { c: r = p, transitionName: $ } = t;
163
+ return {
164
+ [`${r.enterActive[$]}`]: r.enterActive[$],
165
+ [`${$}-${e.enter}-${e.active}`]: !r.enterActive[$]
166
+ };
167
+ },
168
+ exit: (t) => {
169
+ const { c: r = p, transitionName: $ } = t;
170
+ return {
171
+ [`${r.exit[$]}`]: r.exit[$],
172
+ [`${$}-${e.exit}`]: !r.exit[$]
173
+ };
174
+ },
175
+ exitActive: (t) => {
176
+ const { c: r = p, transitionName: $ } = t;
177
+ return {
178
+ [`${r.exitActive[$]}`]: r.exitActive[$],
179
+ [`${$}-${e.exit}-${e.active}`]: !r.exitActive[$]
180
+ };
181
+ }
182
+ };
183
+ export {
184
+ x as uAnimation
185
+ };