UNPKG

ant-design-x-vue

Version:

Craft AI-driven interfaces effortlessly

19 lines (18 loc) 338 B
import n from "../../warning.mjs"; let t = 0; class s { constructor(r) { this.derivatives = Array.isArray(r) ? r : [r], this.id = t, r.length === 0 && n( r.length > 0 ), t += 1; } getDerivativeToken(r) { return this.derivatives.reduce( (e, i) => i(r, e), void 0 ); } } export { s as default };