UNPKG

@progress/kendo-vue-inputs

Version:
9 lines (8 loc) 918 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a=(r=>(r[r.Literal=0]="Literal",r[r.Mask=1]="Mask",r[r.Undefined=2]="Undefined",r))(a||{});class s{constructor(t,e,i=2){this.value=t,this.rest=e,this.type=i}map(t){return new s(t(this.value),this.rest)}chain(t){return t(this.value,this.rest)}fold(t){return t(this.value,this.rest)}concat(t){return this.map((e,i)=>t.chain((n,h)=>e.concat([n])))}toString(){return`Result({ value: '${this.value}', rest: ${this.rest} })`}}exports.Result=s;exports.ResultType=a;