UNPKG

ideaz-element

Version:

<p align="center"> <a href="" target="_blank" rel="noopener noreferrer"> <img src="./docs/public/logo.svg" alt="Ideaz Element" width="180" style="width: 180px;" /> </a> </p>

24 lines (23 loc) 823 B
import "../node_modules/.pnpm/lodash-unified@1.0.3_@types_lodash-es@4.17.12_lodash-es@4.17.21_lodash@4.17.21/node_modules/lodash-unified/import.mjs"; import "../utils/index.mjs"; import { zInputProps as p } from "../element/input/src/input.mjs"; import { selectProps as i } from "../element/select/src/props.mjs"; import c from "../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs"; import { isFunction as s } from "../utils/is.mjs"; const n = { ...p, ...i }, m = Object.keys(n).filter((e) => { const t = n[e]; return !(t && t.type && t.type === Function); }); function F(e, t) { const o = c(e); return Object.keys(o).forEach((r) => { s(o[r]) && m.includes(r) && (o[r] = o[r](t)); }), o; } export { F as getDynamicAttributes }; //# sourceMappingURL=getDynamicAttributes.mjs.map