-
Notifications
You must be signed in to change notification settings - Fork 5
Feat/display license type #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
isabeleliassen
merged 7 commits into
csg-org:development
from
InspiringApps:feat/display-license-type
Feb 21, 2025
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,6 @@ | ||
// | ||
// LicenseIcon.less | ||
// CompactConnect | ||
// | ||
// Created by InspiringApps on 2/16/2025. | ||
// |
19 changes: 19 additions & 0 deletions
19
webroot/src/components/Icons/LicenseIcon/LicenseIcon.spec.ts
This file contains hidden or 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,19 @@ | ||
// | ||
// LicenseIcon.spec.ts | ||
// CompactConnect | ||
// | ||
// Created by InspiringApps on 2/16/2025. | ||
// | ||
|
||
import { expect } from 'chai'; | ||
import { mountShallow } from '@tests/helpers/setup'; | ||
import LicenseIcon from '@components/Icons/LicenseIcon/LicenseIcon.vue'; | ||
|
||
describe('LicenseIcon component', async () => { | ||
it('should mount the component', async () => { | ||
const wrapper = await mountShallow(LicenseIcon); | ||
|
||
expect(wrapper.exists()).to.equal(true); | ||
expect(wrapper.findComponent(LicenseIcon).exists()).to.equal(true); | ||
}); | ||
}); |
This file contains hidden or 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,21 @@ | ||
// | ||
// LicenseIcon.ts | ||
// CompactConnect | ||
// | ||
// Created by InspiringApps on 2/16/2025. | ||
// | ||
|
||
import { | ||
Component, | ||
Vue, | ||
toNative | ||
} from 'vue-facing-decorator'; | ||
|
||
@Component({ | ||
name: 'LicenseIcon', | ||
}) | ||
class LicenseIcon extends Vue {} | ||
|
||
export default toNative(LicenseIcon); | ||
|
||
// export default LicenseIcon; |
This file contains hidden or 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,28 @@ | ||
<!-- | ||
LicenseIcon.vue | ||
CompactConnect | ||
|
||
Created by InspiringApps on 2/16/2025. | ||
--> | ||
|
||
<template> | ||
<svg class="license" viewBox="0 0 19 16" xmlns="http://www.w3.org/2000/svg"> | ||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.4436 15.6226C1.47711 15.6226 0.693604 14.8391 | ||
0.693604 13.8726L0.693604 2.16699C0.693604 1.20049 1.47711 0.416993 2.4436 0.416993L17.2284 | ||
0.416992C18.1949 0.416992 18.9784 1.20049 18.9784 2.16699V13.8726C18.9784 14.8391 18.1949 | ||
15.6226 17.2284 15.6226H2.4436ZM2.1936 13.8726C2.1936 14.0106 2.30553 14.1226 2.4436 14.1226H17.2284C17.3665 | ||
14.1226 17.4784 14.0106 17.4784 13.8726V2.16699C17.4784 2.02892 17.3665 1.91699 17.2284 1.91699L2.4436 | ||
1.91699C2.30553 1.91699 2.1936 2.02892 2.1936 2.16699L2.1936 13.8726ZM6.13233 4.79297C6.13233 4.37876 6.46811 | ||
4.04297 6.88233 4.04297L12.7897 4.04297C13.2039 4.04297 13.5397 4.37875 13.5397 4.79297C13.5397 5.20718 13.2039 | ||
5.54297 12.7897 5.54297L6.88233 5.54297C6.46811 5.54297 6.13233 5.20718 6.13233 4.79297ZM7.4834 10.8101C7.4834 | ||
10.3958 7.81919 10.0601 8.2334 10.0601H11.4388C11.853 10.0601 12.1888 10.3958 12.1888 10.8101C12.1888 11.2243 | ||
11.853 11.5601 11.4388 11.5601H8.2334C7.81919 11.5601 7.4834 11.2243 7.4834 10.8101ZM5.26563 6.98047C4.85141 | ||
6.98047 4.51563 7.31626 4.51563 7.73047C4.51563 8.14468 4.85141 8.48047 5.26563 8.48047L14.4065 8.48047C14.8207 | ||
8.48047 15.1565 8.14468 15.1565 7.73047C15.1565 7.31625 14.8207 6.98047 14.4065 6.98047L5.26563 6.98047ZM4.8523 | ||
13.1323C5.72508 13.1323 6.43262 12.4248 6.43262 11.552C6.43262 10.6792 5.72508 9.97168 4.8523 9.97168C3.97951 | ||
9.97168 3.27197 10.6792 3.27197 11.552C3.27197 12.4248 3.97951 13.1323 4.8523 13.1323Z" /> | ||
</svg> | ||
</template> | ||
|
||
<script lang="ts" src="./LicenseIcon.ts"></script> | ||
<style scoped lang="less" src="./LicenseIcon.less"></style> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.