-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ofmcc 658 add request single facility (#48)
* Updated facility logic. Moved isFormComplete flag out of request. Added new component for labels. * Fixed attributes. * Added Select All. --------- Co-authored-by: weskubo-cgi <[email protected]>
- Loading branch information
1 parent
0eecc35
commit 7f997b8
Showing
3 changed files
with
105 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<template> | ||
<label :class="labelClass"> | ||
<slot></slot> | ||
</label> | ||
</template> | ||
<script> | ||
export default { | ||
inheritAttrs: true, | ||
props: { | ||
variant: { | ||
// plain/modal | ||
type: String, | ||
default: 'plain', | ||
}, | ||
}, | ||
computed: { | ||
labelClass() { | ||
return { | ||
'modal-label': this.variant === 'modal', | ||
'plain-label': this.variant === 'plain', | ||
} | ||
}, | ||
}, | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.plain-label { | ||
color: #000000; | ||
font-size: 1.1em; | ||
font-weight: 800; | ||
} | ||
.modal-label { | ||
color: #003366; | ||
font-size: 1.1em; | ||
font-weight: 800; | ||
} | ||
</style> |