UNPKG

@progress/kendo-vue-common

Version:

Kendo UI for Vue Common Utilities package

28 lines (27 loc) 774 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { FIELD_REGEX as i } from "./constants/main.mjs"; const n = {}; n.undefined = () => { }; function f(r) { if (n[r]) return n[r]; const o = []; return r.replace(i, function(u, t, e, c) { o.push(t !== void 0 ? t : e || c); }), n[r] = function(u) { let t = u; for (let e = 0; e < o.length && t; e++) t = t[o[e]]; return t; }, n[r]; } export { f as getter };