UNPKG

@progress/kendo-vue-common

Version:

Kendo UI for Vue Common Utilities package

93 lines (92 loc) 3 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { base as i, animationStyles as e, directionMap as t, popup as c, containers as l, states as f } from "./json-classes.mjs"; const r = { animationContainer: `${i.prefix}-${e.prefix}-${l.container}`, animationContainerShown: `${i.prefix}-${e.prefix}-${l.container}-${f.shown}`, animationChild: `${i.prefix}-${e.child}-${e.prefix}-${l.container}`, popup: `${i.prefix}-${c.prefix}`, slide: { up: { enter: `${i.prefix}-${e.slide}-${t.up}-${e.enter}`, exit: `${i.prefix}-${e.slide}-${t.up}-${e.exit}` }, down: { enter: `${i.prefix}-${e.slide}-${t.down}-${e.enter}`, exit: `${i.prefix}-${e.slide}-${t.down}-${e.exit}` }, left: { enter: `${i.prefix}-${e.slide}-${t.left}-${e.enter}`, exit: `${i.prefix}-${e.slide}-${t.left}-${e.exit}` }, right: { enter: `${i.prefix}-${e.slide}-${t.right}-${e.enter}`, exit: `${i.prefix}-${e.slide}-${t.right}-${e.exit}` } }, slideActive: { up: { enter: `${i.prefix}-${e.slide}-${t.up}-${e.enter}-${e.active}`, exit: `${i.prefix}-${e.slide}-${t.up}-${e.exit}-${e.active}` }, down: { enter: `${i.prefix}-${e.slide}-${t.down}-${e.enter}-${e.active}`, exit: `${i.prefix}-${e.slide}-${t.down}-${e.exit}-${e.active}` }, left: { enter: `${i.prefix}-${e.slide}-${t.left}-${e.enter}-${e.active}`, exit: `${i.prefix}-${e.slide}-${t.left}-${e.exit}-${e.active}` }, right: { enter: `${i.prefix}-${e.slide}-${t.right}-${e.enter}-${e.active}`, exit: `${i.prefix}-${e.slide}-${t.right}-${e.exit}-${e.active}` } } }, h = { animationContainer: (n) => { const { c: $ = r } = n; return { [$.animationContainer]: !0 }; }, animationContainerShown: (n) => { const { c: $ = r } = n; return { [$.animationContainerShown]: !0 }; }, animationChild: (n) => { const { c: $ = r } = n; return { [$.animationChild]: !0 }; }, popup: (n) => { const { c: $ = r } = n; return { [$.popup]: !0 }; }, slide: (n) => { var a, s, x, d; const { direction: $, type: p, c: o = r } = n; return { [(s = (a = o.slide) == null ? void 0 : a[$]) == null ? void 0 : s[p]]: (d = (x = o.slide) == null ? void 0 : x[$]) == null ? void 0 : d[p] }; }, slideActive: (n) => { var a, s, x, d; const { direction: $, type: p, c: o = r } = n; return { [(s = (a = o.slideActive) == null ? void 0 : a[$]) == null ? void 0 : s[p]]: (d = (x = o.slideActive) == null ? void 0 : x[$]) == null ? void 0 : d[p] }; } }; export { h as uPopup };