Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6004701
TempAccountsOnboardingStepper.vue
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
TempAccountsOnboardingStepper.vue
View Options
<template>
<div class="ext-checkuser-temp-account-onboarding-dialog-stepper">
<span class="ext-checkuser-temp-account-onboarding-dialog-stepper__label">
{{ stepperLabelText }}
</span>
<div class="ext-checkuser-temp-account-onboarding-dialog-stepper__dots">
<div
v-for="step in [ ...Array( totalSteps ).keys() ]"
:key="step"
class="ext-checkuser-temp-account-onboarding-dialog-stepper__dots__dot"
:class="{
'ext-checkuser-temp-account-onboarding-dialog-stepper__dots__dot--active':
step === ( modelValue - 1 )
}"
></div>
</div>
</div>
</template>
<script>
// @vue/component
module.exports = exports = {
name: 'TempAccountsOnboardingStepper',
props: {
/** The current step (starts from 1) */
modelValue: { type: Number, required: true },
/** The total number of steps */
totalSteps: { type: Number, required: true }
},
computed: {
/**
* @return {string} The label shown next to the stepper icons describing
* the current step and total steps
*/
stepperLabelText() {
return this.$i18n(
'checkuser-temporary-accounts-onboarding-dialog-stepper-label',
mw.language.convertNumber( this.modelValue ),
mw.language.convertNumber( this.totalSteps )
).text();
}
}
};
</script>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Oct 4 2026, 07:40 (5 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d4/05/1ae091d9045ec708e9eaae3f5ec1
Default Alt Text
TempAccountsOnboardingStepper.vue (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment