disabledClick(); } public function type(string | Closure | null $type): static { $this->type = $type; return $this; } public function getType(): string { return $this->evaluate($this->type) ?? 'text'; } public function mask(string | RawJs | Closure | null $mask): static { $this->mask = $mask; return $this; } public function getMask(): string | RawJs | null { return $this->evaluate($this->mask); } }