Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22396652
password.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
738 B
Referenced Files
None
Subscribers
None
password.ts
View Options
import
{
ExtractedFieldInfo
}
from
"../../utils/extract-fields-from-collection.js"
;
import
{
wrapAttribute
,
wrapKeyName
}
from
"../../utils/wrap-attributes.js"
;
import
{
TextBasedSimpleField
}
from
"./simple-form-field.js"
;
export
class
Password
<
Required
extends
boolean
,
>
extends
TextBasedSimpleField
<
Required
>
{
constructor
(
required
:
Required
)
{
super
(
required
,
"password"
);
}
async
sealiousValueToForm
()
:
Promise
<
undefined
>
{
return
undefined
;
}
generateInitialValue
(
field_info
:
ExtractedFieldInfo
,
vars
:
{
form_field_types
:
string
;
form_fields
:
string
;
}
)
:
string
{
return
`
${
wrapKeyName
(
field_info
.
name
)
}
: await
${
vars
.
form_fields
}${
wrapAttribute
(
field_info
.
name
)
}
.sealiousValueToForm()`
;
}
}
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Fri, Nov 27, 16:54 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1200157
Default Alt Text
password.ts (738 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline