@progress/kendo-vue-common 7.0.3-develop.1 → 7.1.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-vue-common.js +1 -1
- package/index.d.mts +2054 -5
- package/index.d.ts +2054 -5
- package/index.js +1 -1
- package/index.mjs +147 -73
- package/package.json +1 -1
- package/unstyled/animations.js +8 -0
- package/unstyled/animations.mjs +184 -0
- package/unstyled/buttons.js +8 -0
- package/unstyled/buttons.mjs +263 -0
- package/unstyled/common.js +8 -0
- package/unstyled/common.mjs +16 -0
- package/unstyled/dateinputs.js +8 -0
- package/unstyled/dateinputs.mjs +523 -0
- package/unstyled/dropdowns.js +8 -0
- package/unstyled/dropdowns.mjs +350 -0
- package/unstyled/form.js +8 -0
- package/unstyled/form.mjs +84 -0
- package/unstyled/grid.js +8 -0
- package/unstyled/grid.mjs +339 -0
- package/unstyled/icons.js +8 -0
- package/unstyled/icons.mjs +68 -0
- package/unstyled/inputs.js +8 -0
- package/unstyled/inputs.mjs +219 -0
- package/unstyled/json-classes.js +8 -0
- package/unstyled/json-classes.mjs +334 -0
- package/unstyled/labels.js +8 -0
- package/unstyled/labels.mjs +106 -0
- package/unstyled/popup.js +8 -0
- package/unstyled/popup.mjs +92 -0
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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("./classNames.js"),q=require("./guid.js"),P=require("./keys.js"),x=require("./canUseDOM.js"),p=require("./refs.js"),o=require("./focus.js"),M=require("./Draggable.js"),r=require("./clone.js"),S=require("./isObject.js"),T=require("./noop.js"),h=require("./getter.js"),v=require("./setter.js"),g=require("./listeners.js"),u=require("./templateRendering.js"),E=require("./getTabIndex.js"),A=require("./defaultSlots.js"),m=require("./isRtl.js"),c=require("./validate-package.js"),B=require("./providers/AdaptiveModeProvider.js"),l=require("./constants/main.js"),R=require("./theme.js"),i=require("./treeDataOperations.js"),C=require("./browser-support.service.js"),D=require("./scrollbarWidth.js"),L=require("./hasRelativeStackingContext.js"),k=require("./icons/Icon.js"),F=require("./icons/FontIcon.js"),O=require("./icons/SvgIcon.js"),w=require("./icons/getIconName.js"),b=require("./navigation.js"),f=require("./getActiveElement.js"),N=require("./watermark/WatermarkOverlay.js"),_=require("./unstyled/animations.js"),y=require("./unstyled/icons.js"),d=require("./unstyled/buttons.js"),s=require("./unstyled/dropdowns.js"),n=require("./unstyled/dateinputs.js"),t=require("./unstyled/inputs.js"),a=require("./unstyled/labels.js"),U=require("./unstyled/form.js"),G=require("./unstyled/popup.js"),V=require("./unstyled/grid.js"),e=require("./unstyled/json-classes.js");exports.classNames=I.classNames;exports.guid=q.guid;exports.Keys=P.Keys;exports.canUseDOM=x.canUseDOM;exports.getRef=p.getRef;exports.setRef=p.setRef;exports.firstFocusableChild=o.firstFocusableChild;exports.focusContainer=o.focusContainer;exports.focusFirstFocusableChild=o.focusFirstFocusableChild;exports.focusLastFocusableChild=o.focusLastFocusableChild;exports.lastFocusableChild=o.lastFocusableChild;exports.Draggable=M.Draggable;exports.clone=r.clone;exports.cloneArray=r.cloneArray;exports.cloneDate=r.cloneDate;exports.cloneObject=r.cloneObject;exports.cloneValue=r.cloneValue;exports.isObject=S.isObject;exports.noop=T.noop;exports.getter=h.getter;exports.setter=v.setter;exports.getListeners=g.getListeners;exports.hasListener=g.hasListener;exports.getTemplate=u.getTemplate;exports.templateDefinition=u.templateDefinition;exports.templateRendering=u.templateRendering;exports.getTabIndex=E.getTabIndex;exports.getDefaultSlots=A.getDefaultSlots;exports.getDir=m.getDir;exports.isRtl=m.isRtl;exports.getLicenseMessage=c.getLicenseMessage;exports.shouldShowValidationUI=c.shouldShowValidationUI;exports.validatePackage=c.validatePackage;exports.AdaptiveModeProvider=B.AdaptiveModeProvider;exports.ADAPTIVE_MEDIUM_BREAKPOINT=l.ADAPTIVE_MEDIUM_BREAKPOINT;exports.ADAPTIVE_SMALL_BREAKPOINT=l.ADAPTIVE_SMALL_BREAKPOINT;exports.FIELD_REGEX=l.FIELD_REGEX;exports.kendoThemeMaps=R.kendoThemeMaps;exports.extendDataItem=i.extendDataItem;exports.getItemPath=i.getItemPath;exports.getNestedValue=i.getNestedValue;exports.mapTree=i.mapTree;exports.mapTreeItem=i.mapTreeItem;exports.BrowserSupportService=C.BrowserSupportService;exports.getScrollbarWidth=D.getScrollbarWidth;exports.setScrollbarWidth=D.setScrollbarWidth;exports.hasRelativeStackingContext=L.hasRelativeStackingContext;exports.Icon=k.Icon;exports.FontIcon=F.FontIcon;exports.SvgIcon=O.SvgIcon;exports.getIconName=w.getIconName;exports.FOCUSABLE_ELEMENTS=b.FOCUSABLE_ELEMENTS;exports.Navigation=b.Navigation;exports.getActiveElement=f.getActiveElement;exports.getInnerActiveElement=f.getInnerActiveElement;exports.WatermarkOverlay=N.WatermarkOverlay;exports.uAnimation=_.uAnimation;exports.uSvgIcon=y.uSvgIcon;exports.uButton=d.uButton;exports.uButtonGroup=d.uButtonGroup;exports.uDropDownButton=d.uDropDownButton;exports.uComboBox=s.uComboBox;exports.uDropDownList=s.uDropDownList;exports.uDropDownsActionSheet=s.uDropDownsActionSheet;exports.uDropDownsBase=s.uDropDownsBase;exports.uCalendar=n.uCalendar;exports.uDateInput=n.uDateInput;exports.uDateTimePicker=n.uDateTimePicker;exports.uTime=n.uTime;exports.uTimePicker=n.uTimePicker;exports.radioButtonClasses=t.radioButtonClasses;exports.radioGroupClasses=t.radioGroupClasses;exports.uInput=t.uInput;exports.uMaskedTextBox=t.uMaskedTextBox;exports.uRadioButton=t.uRadioButton;exports.uRadioGroup=t.uRadioGroup;exports.uTextBox=t.uTextBox;exports.uError=a.uError;exports.uFloatingLabel=a.uFloatingLabel;exports.uHint=a.uHint;exports.uLabel=a.uLabel;exports.uForm=U.uForm;exports.uPopup=G.uPopup;exports.uGrid=V.uGrid;exports.actions=e.actions;exports.animationStyles=e.animationStyles;exports.base=e.base;exports.buttonPrefix=e.buttonPrefix;exports.calendarPrefix=e.calendarPrefix;exports.comboBoxPrefix=e.comboBoxPrefix;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.gridRowReorder=e.gridRowReorder;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
|
@@ -5,93 +5,167 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { classNames as
|
|
8
|
+
import { classNames as r } from "./classNames.mjs";
|
|
9
9
|
import { guid as a } from "./guid.mjs";
|
|
10
10
|
import { Keys as p } from "./keys.mjs";
|
|
11
|
-
import { canUseDOM as
|
|
12
|
-
import { getRef as
|
|
13
|
-
import { firstFocusableChild as
|
|
14
|
-
import { Draggable as
|
|
15
|
-
import { clone as
|
|
16
|
-
import { isObject as
|
|
17
|
-
import { noop as
|
|
18
|
-
import { getter as
|
|
19
|
-
import { setter as
|
|
20
|
-
import { getListeners as
|
|
21
|
-
import { getTemplate as
|
|
11
|
+
import { canUseDOM as n } from "./canUseDOM.mjs";
|
|
12
|
+
import { getRef as f, setRef as x } from "./refs.mjs";
|
|
13
|
+
import { firstFocusableChild as l, focusContainer as c, focusFirstFocusableChild as d, focusLastFocusableChild as g, lastFocusableChild as D } from "./focus.mjs";
|
|
14
|
+
import { Draggable as P } from "./Draggable.mjs";
|
|
15
|
+
import { clone as M, cloneArray as T, cloneDate as h, cloneObject as E, cloneValue as A } from "./clone.mjs";
|
|
16
|
+
import { isObject as S } from "./isObject.mjs";
|
|
17
|
+
import { noop as C } from "./noop.mjs";
|
|
18
|
+
import { getter as v } from "./getter.mjs";
|
|
19
|
+
import { setter as k } from "./setter.mjs";
|
|
20
|
+
import { getListeners as N, hasListener as O } from "./listeners.mjs";
|
|
21
|
+
import { getTemplate as G, templateDefinition as U, templateRendering as V } from "./templateRendering.mjs";
|
|
22
22
|
import { getTabIndex as j } from "./getTabIndex.mjs";
|
|
23
|
-
import { getDefaultSlots as
|
|
24
|
-
import { getDir as
|
|
23
|
+
import { getDefaultSlots as W } from "./defaultSlots.mjs";
|
|
24
|
+
import { getDir as H, isRtl as X } from "./isRtl.mjs";
|
|
25
25
|
import { getLicenseMessage as J, shouldShowValidationUI as Q, validatePackage as Y } from "./validate-package.mjs";
|
|
26
26
|
import { AdaptiveModeProvider as $ } from "./providers/AdaptiveModeProvider.mjs";
|
|
27
|
-
import { ADAPTIVE_MEDIUM_BREAKPOINT as oe, ADAPTIVE_SMALL_BREAKPOINT as
|
|
28
|
-
import { kendoThemeMaps as
|
|
29
|
-
import { extendDataItem as
|
|
30
|
-
import { BrowserSupportService as
|
|
31
|
-
import { getScrollbarWidth as de, setScrollbarWidth as
|
|
32
|
-
import { hasRelativeStackingContext as
|
|
33
|
-
import { Icon as
|
|
34
|
-
import { FontIcon as
|
|
35
|
-
import { SvgIcon as
|
|
36
|
-
import { getIconName as
|
|
37
|
-
import { FOCUSABLE_ELEMENTS as
|
|
38
|
-
import { getActiveElement as
|
|
39
|
-
import { WatermarkOverlay as
|
|
27
|
+
import { ADAPTIVE_MEDIUM_BREAKPOINT as oe, ADAPTIVE_SMALL_BREAKPOINT as re, FIELD_REGEX as te } from "./constants/main.mjs";
|
|
28
|
+
import { kendoThemeMaps as ie } from "./theme.mjs";
|
|
29
|
+
import { extendDataItem as me, getItemPath as ne, getNestedValue as se, mapTree as fe, mapTreeItem as xe } from "./treeDataOperations.mjs";
|
|
30
|
+
import { BrowserSupportService as le } from "./browser-support.service.mjs";
|
|
31
|
+
import { getScrollbarWidth as de, setScrollbarWidth as ge } from "./scrollbarWidth.mjs";
|
|
32
|
+
import { hasRelativeStackingContext as Ie } from "./hasRelativeStackingContext.mjs";
|
|
33
|
+
import { Icon as be } from "./icons/Icon.mjs";
|
|
34
|
+
import { FontIcon as Te } from "./icons/FontIcon.mjs";
|
|
35
|
+
import { SvgIcon as Ee } from "./icons/SvgIcon.mjs";
|
|
36
|
+
import { getIconName as Be } from "./icons/getIconName.mjs";
|
|
37
|
+
import { FOCUSABLE_ELEMENTS as Le, Navigation as Ce } from "./navigation.mjs";
|
|
38
|
+
import { getActiveElement as ve, getInnerActiveElement as Fe } from "./getActiveElement.mjs";
|
|
39
|
+
import { WatermarkOverlay as we } from "./watermark/WatermarkOverlay.mjs";
|
|
40
|
+
import { uAnimation as Oe } from "./unstyled/animations.mjs";
|
|
41
|
+
import { uSvgIcon as Ge } from "./unstyled/icons.mjs";
|
|
42
|
+
import { uButton as Ve, uButtonGroup as ye, uDropDownButton as je } from "./unstyled/buttons.mjs";
|
|
43
|
+
import { uComboBox as We, uDropDownList as ze, uDropDownsActionSheet as He, uDropDownsBase as Xe } from "./unstyled/dropdowns.mjs";
|
|
44
|
+
import { uCalendar as Je, uDateInput as Qe, uDateTimePicker as Ye, uTime as Ze, uTimePicker as $e } from "./unstyled/dateinputs.mjs";
|
|
45
|
+
import { radioButtonClasses as oo, radioGroupClasses as ro, uInput as to, uMaskedTextBox as ao, uRadioButton as io, uRadioGroup as po, uTextBox as mo } from "./unstyled/inputs.mjs";
|
|
46
|
+
import { uError as so, uFloatingLabel as fo, uHint as xo, uLabel as uo } from "./unstyled/labels.mjs";
|
|
47
|
+
import { uForm as co } from "./unstyled/form.mjs";
|
|
48
|
+
import { uPopup as Do } from "./unstyled/popup.mjs";
|
|
49
|
+
import { uGrid as Po } from "./unstyled/grid.mjs";
|
|
50
|
+
import { actions as Mo, animationStyles as To, base as ho, buttonPrefix as Eo, calendarPrefix as Ao, comboBoxPrefix as Bo, components as So, containers as Lo, cssUtils as Co, cursor as Ro, dateInputs as vo, ddbPrefix as Fo, dimensions as ko, directionMap as wo, dropDownListPrefix as No, elements as Oo, fillModeMap as _o, forms as Go, grid as Uo, gridPrefix as Vo, gridRowReorder as yo, icon as jo, inputPrefix as Ko, inputs as Wo, jsonTheme as zo, labels as Ho, maskedPrefix as Xo, orientationMap as qo, pickerPrefix as Jo, popup as Qo, radioPrefix as Yo, roundedMap as Zo, sizeMap as $o, states as er, themeColorMap as or } from "./unstyled/json-classes.mjs";
|
|
40
51
|
export {
|
|
41
52
|
oe as ADAPTIVE_MEDIUM_BREAKPOINT,
|
|
42
|
-
|
|
53
|
+
re as ADAPTIVE_SMALL_BREAKPOINT,
|
|
43
54
|
$ as AdaptiveModeProvider,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
55
|
+
le as BrowserSupportService,
|
|
56
|
+
P as Draggable,
|
|
57
|
+
te as FIELD_REGEX,
|
|
58
|
+
Le as FOCUSABLE_ELEMENTS,
|
|
59
|
+
Te as FontIcon,
|
|
60
|
+
be as Icon,
|
|
50
61
|
p as Keys,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
Ce as Navigation,
|
|
63
|
+
Ee as SvgIcon,
|
|
64
|
+
we as WatermarkOverlay,
|
|
65
|
+
Mo as actions,
|
|
66
|
+
To as animationStyles,
|
|
67
|
+
ho as base,
|
|
68
|
+
Eo as buttonPrefix,
|
|
69
|
+
Ao as calendarPrefix,
|
|
70
|
+
n as canUseDOM,
|
|
71
|
+
r as classNames,
|
|
72
|
+
M as clone,
|
|
73
|
+
T as cloneArray,
|
|
74
|
+
h as cloneDate,
|
|
75
|
+
E as cloneObject,
|
|
76
|
+
A as cloneValue,
|
|
77
|
+
Bo as comboBoxPrefix,
|
|
78
|
+
So as components,
|
|
79
|
+
Lo as containers,
|
|
80
|
+
Co as cssUtils,
|
|
81
|
+
Ro as cursor,
|
|
82
|
+
vo as dateInputs,
|
|
83
|
+
Fo as ddbPrefix,
|
|
84
|
+
ko as dimensions,
|
|
85
|
+
wo as directionMap,
|
|
86
|
+
No as dropDownListPrefix,
|
|
87
|
+
Oo as elements,
|
|
88
|
+
me as extendDataItem,
|
|
89
|
+
_o as fillModeMap,
|
|
90
|
+
l as firstFocusableChild,
|
|
91
|
+
c as focusContainer,
|
|
64
92
|
d as focusFirstFocusableChild,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
93
|
+
g as focusLastFocusableChild,
|
|
94
|
+
Go as forms,
|
|
95
|
+
ve as getActiveElement,
|
|
96
|
+
W as getDefaultSlots,
|
|
97
|
+
H as getDir,
|
|
98
|
+
Be as getIconName,
|
|
99
|
+
Fe as getInnerActiveElement,
|
|
100
|
+
ne as getItemPath,
|
|
72
101
|
J as getLicenseMessage,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
102
|
+
N as getListeners,
|
|
103
|
+
se as getNestedValue,
|
|
104
|
+
f as getRef,
|
|
76
105
|
de as getScrollbarWidth,
|
|
77
106
|
j as getTabIndex,
|
|
78
|
-
|
|
79
|
-
|
|
107
|
+
G as getTemplate,
|
|
108
|
+
v as getter,
|
|
109
|
+
Uo as grid,
|
|
110
|
+
Vo as gridPrefix,
|
|
111
|
+
yo as gridRowReorder,
|
|
80
112
|
a as guid,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
113
|
+
O as hasListener,
|
|
114
|
+
Ie as hasRelativeStackingContext,
|
|
115
|
+
jo as icon,
|
|
116
|
+
Ko as inputPrefix,
|
|
117
|
+
Wo as inputs,
|
|
118
|
+
S as isObject,
|
|
119
|
+
X as isRtl,
|
|
120
|
+
zo as jsonTheme,
|
|
121
|
+
ie as kendoThemeMaps,
|
|
122
|
+
Ho as labels,
|
|
123
|
+
D as lastFocusableChild,
|
|
124
|
+
fe as mapTree,
|
|
125
|
+
xe as mapTreeItem,
|
|
126
|
+
Xo as maskedPrefix,
|
|
127
|
+
C as noop,
|
|
128
|
+
qo as orientationMap,
|
|
129
|
+
Jo as pickerPrefix,
|
|
130
|
+
Qo as popup,
|
|
131
|
+
oo as radioButtonClasses,
|
|
132
|
+
ro as radioGroupClasses,
|
|
133
|
+
Yo as radioPrefix,
|
|
134
|
+
Zo as roundedMap,
|
|
135
|
+
x as setRef,
|
|
136
|
+
ge as setScrollbarWidth,
|
|
137
|
+
k as setter,
|
|
93
138
|
Q as shouldShowValidationUI,
|
|
94
|
-
|
|
95
|
-
|
|
139
|
+
$o as sizeMap,
|
|
140
|
+
er as states,
|
|
141
|
+
U as templateDefinition,
|
|
142
|
+
V as templateRendering,
|
|
143
|
+
or as themeColorMap,
|
|
144
|
+
Oe as uAnimation,
|
|
145
|
+
Ve as uButton,
|
|
146
|
+
ye as uButtonGroup,
|
|
147
|
+
Je as uCalendar,
|
|
148
|
+
We as uComboBox,
|
|
149
|
+
Qe as uDateInput,
|
|
150
|
+
Ye as uDateTimePicker,
|
|
151
|
+
je as uDropDownButton,
|
|
152
|
+
ze as uDropDownList,
|
|
153
|
+
He as uDropDownsActionSheet,
|
|
154
|
+
Xe as uDropDownsBase,
|
|
155
|
+
so as uError,
|
|
156
|
+
fo as uFloatingLabel,
|
|
157
|
+
co as uForm,
|
|
158
|
+
Po as uGrid,
|
|
159
|
+
xo as uHint,
|
|
160
|
+
to as uInput,
|
|
161
|
+
uo as uLabel,
|
|
162
|
+
ao as uMaskedTextBox,
|
|
163
|
+
Do as uPopup,
|
|
164
|
+
io as uRadioButton,
|
|
165
|
+
po as uRadioGroup,
|
|
166
|
+
Ge as uSvgIcon,
|
|
167
|
+
mo as uTextBox,
|
|
168
|
+
Ze as uTime,
|
|
169
|
+
$e as uTimePicker,
|
|
96
170
|
Y as validatePackage
|
|
97
171
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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("./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,184 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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 { base as i, animationStyles as e, containers as a } from "./json-classes.mjs";
|
|
9
|
+
const p = {
|
|
10
|
+
child: {
|
|
11
|
+
container: `${i.prefix}-${e[e.prefix + "-" + a.container]}`,
|
|
12
|
+
relative: `${i.prefix}-${e[e.prefix + "-" + a.container + "-" + e.relative]}`
|
|
13
|
+
},
|
|
14
|
+
childContainer: {
|
|
15
|
+
container: `${i.prefix}-${e[e.child + "-" + e.prefix + "-" + a.container]}`
|
|
16
|
+
},
|
|
17
|
+
appear: {
|
|
18
|
+
"push-right": `${i.prefix}-${e.pushRight}-${e.appear}`,
|
|
19
|
+
"push-left": `${i.prefix}-${e.pushLeft}-${e.appear}`,
|
|
20
|
+
"push-down": `${i.prefix}-${e.pushDown}-${e.appear}`,
|
|
21
|
+
"push-up": `${i.prefix}-${e.pushUp}-${e.appear}`,
|
|
22
|
+
"expand-vertical": `${i.prefix}-${e.expandVertical}-${e.appear}`,
|
|
23
|
+
"expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.appear}`,
|
|
24
|
+
fade: `${i.prefix}-${e.fade}-${e.appear}`,
|
|
25
|
+
"zoom-in": `${i.prefix}-${e.zoomIn}-${e.appear}`,
|
|
26
|
+
"zoom-out": `${i.prefix}-${e.zoomOut}-${e.appear}`,
|
|
27
|
+
"slide-in": `${i.prefix}-${e.slideIn}-${e.appear}`,
|
|
28
|
+
"slide-down": `${i.prefix}-${e.slideDown}-${e.appear}`,
|
|
29
|
+
"slide-up": `${i.prefix}-${e.slideUp}-${e.appear}`,
|
|
30
|
+
"slide-right": `${i.prefix}-${e.slideRight}-${e.appear}`,
|
|
31
|
+
"slide-left": `${i.prefix}-${e.slideLeft}-${e.appear}`,
|
|
32
|
+
"reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.appear}`,
|
|
33
|
+
"reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.appear}`
|
|
34
|
+
},
|
|
35
|
+
appearActive: {
|
|
36
|
+
"push-right": `${i.prefix}-${e.pushRight}-${e.appear}-${e.active}`,
|
|
37
|
+
"push-left": `${i.prefix}-${e.pushLeft}-${e.appear}-${e.active}`,
|
|
38
|
+
"push-down": `${i.prefix}-${e.pushDown}-${e.appear}-${e.active}`,
|
|
39
|
+
"push-up": `${i.prefix}-${e.pushUp}-${e.appear}-${e.active}`,
|
|
40
|
+
"expand-vertical": `${i.prefix}-${e.expandVertical}-${e.appear}-${e.active}`,
|
|
41
|
+
"expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.appear}-${e.active}`,
|
|
42
|
+
fade: `${i.prefix}-${e.fade}-${e.appear}-${e.active}`,
|
|
43
|
+
"zoom-in": `${i.prefix}-${e.zoomIn}-${e.appear}-${e.active}`,
|
|
44
|
+
"zoom-out": `${i.prefix}-${e.zoomOut}-${e.appear}-${e.active}`,
|
|
45
|
+
"slide-in": `${i.prefix}-${e.slideIn}-${e.appear}-${e.active}`,
|
|
46
|
+
"slide-down": `${i.prefix}-${e.slideDown}-${e.appear}-${e.active}`,
|
|
47
|
+
"slide-up": `${i.prefix}-${e.slideUp}-${e.appear}-${e.active}`,
|
|
48
|
+
"slide-right": `${i.prefix}-${e.slideRight}-${e.appear}-${e.active}`,
|
|
49
|
+
"slide-left": `${i.prefix}-${e.slideLeft}-${e.appear}-${e.active}`,
|
|
50
|
+
"reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.appear}-${e.active}`,
|
|
51
|
+
"reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.appear}-${e.active}`
|
|
52
|
+
},
|
|
53
|
+
enter: {
|
|
54
|
+
"push-right": `${i.prefix}-${e.pushRight}-${e.enter}`,
|
|
55
|
+
"push-left": `${i.prefix}-${e.pushLeft}-${e.enter}`,
|
|
56
|
+
"push-down": `${i.prefix}-${e.pushDown}-${e.enter}`,
|
|
57
|
+
"push-up": `${i.prefix}-${e.pushUp}-${e.enter}`,
|
|
58
|
+
"expand-vertical": `${i.prefix}-${e.expandVertical}-${e.enter}`,
|
|
59
|
+
"expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.enter}`,
|
|
60
|
+
fade: `${i.prefix}-${e.fade}-${e.enter}`,
|
|
61
|
+
"zoom-in": `${i.prefix}-${e.zoomIn}-${e.enter}`,
|
|
62
|
+
"zoom-out": `${i.prefix}-${e.zoomOut}-${e.enter}`,
|
|
63
|
+
"slide-in": `${i.prefix}-${e.slideIn}-${e.enter}`,
|
|
64
|
+
"slide-down": `${i.prefix}-${e.slideDown}-${e.enter}`,
|
|
65
|
+
"slide-up": `${i.prefix}-${e.slideUp}-${e.enter}`,
|
|
66
|
+
"slide-right": `${i.prefix}-${e.slideRight}-${e.enter}`,
|
|
67
|
+
"slide-left": `${i.prefix}-${e.slideLeft}-${e.enter}`,
|
|
68
|
+
"reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.enter}`,
|
|
69
|
+
"reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.enter}`
|
|
70
|
+
},
|
|
71
|
+
enterActive: {
|
|
72
|
+
"push-right": `${i.prefix}-${e.pushRight}-${e.enter}-${e.active}`,
|
|
73
|
+
"push-left": `${i.prefix}-${e.pushLeft}-${e.enter}-${e.active}`,
|
|
74
|
+
"push-down": `${i.prefix}-${e.pushDown}-${e.enter}-${e.active}`,
|
|
75
|
+
"push-up": `${i.prefix}-${e.pushUp}-${e.enter}-${e.active}`,
|
|
76
|
+
"expand-vertical": `${i.prefix}-${e.expandVertical}-${e.enter}-${e.active}`,
|
|
77
|
+
"expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.enter}-${e.active}`,
|
|
78
|
+
fade: `${i.prefix}-${e.fade}-${e.enter}-${e.active}`,
|
|
79
|
+
"zoom-in": `${i.prefix}-${e.zoomIn}-${e.enter}-${e.active}`,
|
|
80
|
+
"zoom-out": `${i.prefix}-${e.zoomOut}-${e.enter}-${e.active}`,
|
|
81
|
+
"slide-in": `${i.prefix}-${e.slideIn}-${e.enter}-${e.active}`,
|
|
82
|
+
"slide-down": `${i.prefix}-${e.slideDown}-${e.enter}-${e.active}`,
|
|
83
|
+
"slide-up": `${i.prefix}-${e.slideUp}-${e.enter}-${e.active}`,
|
|
84
|
+
"slide-right": `${i.prefix}-${e.slideRight}-${e.enter}-${e.active}`,
|
|
85
|
+
"slide-left": `${i.prefix}-${e.slideLeft}-${e.enter}-${e.active}`,
|
|
86
|
+
"reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.enter}-${e.active}`,
|
|
87
|
+
"reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.enter}-${e.active}`
|
|
88
|
+
},
|
|
89
|
+
exit: {
|
|
90
|
+
"push-right": `${i.prefix}-${e.pushRight}-${e.exit}`,
|
|
91
|
+
"push-left": `${i.prefix}-${e.pushLeft}-${e.exit}`,
|
|
92
|
+
"push-down": `${i.prefix}-${e.pushDown}-${e.exit}`,
|
|
93
|
+
"push-up": `${i.prefix}-${e.pushUp}-${e.exit}`,
|
|
94
|
+
"expand-vertical": `${i.prefix}-${e.expandVertical}-${e.exit}`,
|
|
95
|
+
"expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.exit}`,
|
|
96
|
+
fade: `${i.prefix}-${e.fade}-${e.exit}`,
|
|
97
|
+
"zoom-in": `${i.prefix}-${e.zoomIn}-${e.exit}`,
|
|
98
|
+
"zoom-out": `${i.prefix}-${e.zoomOut}-${e.exit}`,
|
|
99
|
+
"slide-in": `${i.prefix}-${e.slideIn}-${e.exit}`,
|
|
100
|
+
"slide-down": `${i.prefix}-${e.slideDown}-${e.exit}`,
|
|
101
|
+
"slide-up": `${i.prefix}-${e.slideUp}-${e.exit}`,
|
|
102
|
+
"slide-right": `${i.prefix}-${e.slideRight}-${e.exit}`,
|
|
103
|
+
"slide-left": `${i.prefix}-${e.slideLeft}-${e.exit}`,
|
|
104
|
+
"reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.exit}`,
|
|
105
|
+
"reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.exit}`
|
|
106
|
+
},
|
|
107
|
+
exitActive: {
|
|
108
|
+
"push-right": `${i.prefix}-${e.pushRight}-${e.exit}-${e.active}`,
|
|
109
|
+
"push-left": `${i.prefix}-${e.pushLeft}-${e.exit}-${e.active}`,
|
|
110
|
+
"push-down": `${i.prefix}-${e.pushDown}-${e.exit}-${e.active}`,
|
|
111
|
+
"push-up": `${i.prefix}-${e.pushUp}-${e.exit}-${e.active}`,
|
|
112
|
+
"expand-vertical": `${i.prefix}-${e.expandVertical}-${e.exit}-${e.active}`,
|
|
113
|
+
"expand-horizontal": `${i.prefix}-${e.expandHorizontal}-${e.exit}-${e.active}`,
|
|
114
|
+
fade: `${i.prefix}-${e.fade}-${e.exit}-${e.active}`,
|
|
115
|
+
"zoom-in": `${i.prefix}-${e.zoomIn}-${e.exit}-${e.active}`,
|
|
116
|
+
"zoom-out": `${i.prefix}-${e.zoomOut}-${e.exit}-${e.active}`,
|
|
117
|
+
"slide-in": `${i.prefix}-${e.slideIn}-${e.exit}-${e.active}`,
|
|
118
|
+
"slide-down": `${i.prefix}-${e.slideDown}-${e.exit}-${e.active}`,
|
|
119
|
+
"slide-up": `${i.prefix}-${e.slideUp}-${e.exit}-${e.active}`,
|
|
120
|
+
"slide-right": `${i.prefix}-${e.slideRight}-${e.exit}-${e.active}`,
|
|
121
|
+
"slide-left": `${i.prefix}-${e.slideLeft}-${e.exit}-${e.active}`,
|
|
122
|
+
"reveal-vertical": `${i.prefix}-${e.revealVertical}-${e.exit}-${e.active}`,
|
|
123
|
+
"reveal-horizontal": `${i.prefix}-${e.revealHorizontal}-${e.exit}-${e.active}`
|
|
124
|
+
}
|
|
125
|
+
}, x = {
|
|
126
|
+
child: (t) => {
|
|
127
|
+
const { c: r = p } = t;
|
|
128
|
+
return {
|
|
129
|
+
[r.child.container]: !0,
|
|
130
|
+
[r.child.relative]: !0
|
|
131
|
+
};
|
|
132
|
+
},
|
|
133
|
+
childContainer: (t) => {
|
|
134
|
+
const { c: r = p } = t;
|
|
135
|
+
return {
|
|
136
|
+
[r.childContainer.container]: !0
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
appear: (t) => {
|
|
140
|
+
const { c: r = p, transitionName: $ } = t;
|
|
141
|
+
return {
|
|
142
|
+
[`${r.appear[$]}`]: r.appear[$],
|
|
143
|
+
[`${$}-${e.appear}`]: !r.appear[$]
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
appearActive: (t) => {
|
|
147
|
+
const { c: r = p, transitionName: $ } = t;
|
|
148
|
+
return {
|
|
149
|
+
[`${r.appearActive[$]}`]: r.appearActive[$],
|
|
150
|
+
[`${$}-${e.appear}-${e.active}`]: !r.appearActive[$]
|
|
151
|
+
};
|
|
152
|
+
},
|
|
153
|
+
enter: (t) => {
|
|
154
|
+
const { c: r = p, transitionName: $ } = t;
|
|
155
|
+
return {
|
|
156
|
+
[`${r.enter[$]}`]: r.enter[$],
|
|
157
|
+
[`${$}-${e.enter}`]: !r.enter[$]
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
enterActive: (t) => {
|
|
161
|
+
const { c: r = p, transitionName: $ } = t;
|
|
162
|
+
return {
|
|
163
|
+
[`${r.enterActive[$]}`]: r.enterActive[$],
|
|
164
|
+
[`${$}-${e.enter}-${e.active}`]: !r.enterActive[$]
|
|
165
|
+
};
|
|
166
|
+
},
|
|
167
|
+
exit: (t) => {
|
|
168
|
+
const { c: r = p, transitionName: $ } = t;
|
|
169
|
+
return {
|
|
170
|
+
[`${r.exit[$]}`]: r.exit[$],
|
|
171
|
+
[`${$}-${e.exit}`]: !r.exit[$]
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
exitActive: (t) => {
|
|
175
|
+
const { c: r = p, transitionName: $ } = t;
|
|
176
|
+
return {
|
|
177
|
+
[`${r.exitActive[$]}`]: r.exitActive[$],
|
|
178
|
+
[`${$}-${e.exit}-${e.active}`]: !r.exitActive[$]
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
export {
|
|
183
|
+
x as uAnimation
|
|
184
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 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 h=require("./common.js"),e=require("./json-classes.js"),f={wrapper:{main:e.buttonPrefix,size:{small:`${e.buttonPrefix}-${e.sizeMap.small}`,medium:`${e.buttonPrefix}-${e.sizeMap.medium}`,large:`${e.buttonPrefix}-${e.sizeMap.large}`},fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}`},themeColor:{base:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.base}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.base}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.base}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.base}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.base}`}},primary:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.primary}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.primary}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.primary}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.primary}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.primary}`}},secondary:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.secondary}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.secondary}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.secondary}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.secondary}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.secondary}`}},tertiary:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.tertiary}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.tertiary}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.tertiary}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.tertiary}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.tertiary}`}},info:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.info}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.info}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.info}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.info}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.info}`}},success:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.success}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.success}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.success}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.success}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.success}`}},warning:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.warning}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.warning}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.warning}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.warning}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.warning}`}},error:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.error}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.error}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.error}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.error}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.error}`}},dark:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.dark}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.dark}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.dark}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.dark}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.dark}`}},light:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.light}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.light}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.light}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.light}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.light}`}},inverse:{fillMode:{solid:`${e.buttonPrefix}-${e.fillModeMap.solid}-${e.themeColorMap.inverse}`,outline:`${e.buttonPrefix}-${e.fillModeMap.outline}-${e.themeColorMap.inverse}`,flat:`${e.buttonPrefix}-${e.fillModeMap.flat}-${e.themeColorMap.inverse}`,link:`${e.buttonPrefix}-${e.fillModeMap.link}-${e.themeColorMap.inverse}`,clear:`${e.buttonPrefix}-${e.fillModeMap.clear}-${e.themeColorMap.inverse}`}}},rounded:{small:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.small}`,medium:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.medium}`,large:`${e.base.prefix}-${e.base.rounded}-${e.roundedMap.large}`},iconButton:`${e.base.prefix}-${e.elements.icon}-${e.elements.button}`,disabled:`${e.base.prefix}-${e.states.disabled}`,selected:`${e.base.prefix}-${e.states.selected}`,isRtl:`${e.base.prefix}-${e.base.rtl}`},text:`${e.buttonPrefix}-${e.elements.text}`,icon:`${e.buttonPrefix}-${e.elements.icon}`},w={wrapper:i=>{var M,u,b,c,m,x,P;const{isRtl:t,selected:a,disabled:l,size:o,fillMode:$,rounded:d,themeColor:k,iconButton:g,c:y=f}=i,n=y.wrapper,r=(M=n.themeColor)==null?void 0:M[k],p=(u=r==null?void 0:r.fillMode)==null?void 0:u[$];return{[n.main]:!0,[n.size[o]]:(b=n.size)==null?void 0:b[o],[`${e.buttonPrefix}-${o}`]:o&&!((c=n.size)!=null&&c[o]),[n.fillMode[$]]:(m=n.fillMode)==null?void 0:m[$],[p]:p,[n.rounded[d]]:(x=n.rounded)==null?void 0:x[d],[`${e.base.prefix}-${e.base.rounded}-${d}`]:d&&!((P=n.rounded)!=null&&P[d]),[n.iconButton]:g,[r==null?void 0:r.disabled]:l&&(r==null?void 0:r.disabled),[r==null?void 0:r.selected]:a&&(r==null?void 0:r.selected),[n.disabled]:l,[n.selected]:a,[n.isRtl]:t}},text:i=>{const{c:t=f}=i;return{[t.text]:!0}},icon:i=>{const{c:t=f}=i;return{[t.icon]:!0}}},C={wrapper:{main:`${e.buttonPrefix}-${e.containers.group}`,stretched:`${e.buttonPrefix}-${e.containers.group}-${e.states.stretched}`,disabled:`${e.base.prefix}-${e.states.disabled}`},position:{start:`${e.base.prefix}-${e.containers.group}-${e.directionMap.start}`,end:`${e.base.prefix}-${e.containers.group}-${e.directionMap.end}`}},z={wrapper:i=>{const{stretched:t,disabled:a,c:l=C}=i,o=l.wrapper;return{[o.main]:!0,[o.stretched]:t,[o.disabled]:a}},position:i=>{const{start:t,end:a,c:l=C}=i,o=l.position;return{[o.start]:t,[o.end]:a}}},s={wrapper:{main:`${e.ddbPrefix}-${e.elements.button}`,focus:`${e.base.prefix}-${e.states.focus}`,disabled:`${e.base.prefix}-${e.states.disabled}`},ul:{group:`${e.ddbPrefix}-${e.containers.group}`,size:{small:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.small}`,medium:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.medium}`,large:`${e.ddbPrefix}-${e.containers.group}-${e.sizeMap.large}`}},li:{item:`${e.base.prefix}-${e.containers.item}`,focus:`${e.base.prefix}-${e.states.focus}`},item:`${e.ddbPrefix}-${e.containers.item}`,link:{main:`${e.base.prefix}-${e.elements.link}`,link:`${e.ddbPrefix}-${e.elements.link}`,selected:`${e.base.prefix}-${e.states.selected}`,disabled:`${e.base.prefix}-${e.states.disabled}`},popup:`${e.ddbPrefix}-${e.containers.popup}`},B={wrapper:i=>{const{focused:t,disabled:a,c:l=s}=i,o=l.wrapper;return{[o.main]:!0,[o.focus]:t,[o.disabled]:a}},ul:i=>{var o,$;const{size:t,c:a=s}=i,l=a.ul;return{[l.group]:!0,[l.size[t]]:(o=l.size)==null?void 0:o[t],[`${e.ddbPrefix}-${e.containers.group}-${t}`]:t&&!(($=l.size)!=null&&$[t])}},li:i=>{const{focused:t,c:a=s}=i,l=a.li;return{[l.item]:!0,[l.focus]:t}},item:h.getClassByName(s,"item"),link:i=>{const{selected:t,disabled:a,c:l=s}=i,o=l.link;return{[o.main]:!0,[o.link]:!0,[o.selected]:t,[o.disabled]:a}},popup:h.getClassByName(s,"popup")};exports.uButton=w;exports.uButtonGroup=z;exports.uDropDownButton=B;
|