8 | You just got a new Mycroft device. Congratulations! Pairing your device with
9 | Mycroft's servers provides you with instant access to software updates, speech
10 | transcription, weather, answers to general queries, and other services.
11 |
8 | Mycroft devices include pre-installed essential Skills like Timers, Alarms and News.
9 | There are many other Skills available built by the Mycroft team or our developer
10 | community. Skills can be fun (ISS Tracker), informational (National Parks), or
11 | useful (Home Assistant).
12 |
13 | Visit the Marketplace for a list of Mycroft-approved Skills. To install,
14 | say "Hey Mycroft, install" followed by the Skill name.
15 |
16 |
17 |
18 | SKILL MARKETPLACE
19 |
20 |
21 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/components/dashboard-marketplace/dashboard-marketplace.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "components/cards" as cards;
20 |
21 | mat-card {
22 | @include cards.selene-card;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/components/dashboard-membership/dashboard-membership.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "components/cards" as cards;
20 |
21 | mat-card {
22 | @include cards.selene-card;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/components/dashboard-privacy/dashboard-privacy.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Your Privacy is Our Policy
5 |
6 |
7 |
8 | Mycroft only collects the personally identifiable information (PII) necessary to deliver
9 | a quality user experience when interacting with the voice assistant. Any PII we collect
10 | is stored securely on our servers. It is not shared with anyone.
11 |
12 |
13 | We continually investigate solutions to further minimize the PII we collect. We
14 | also strive to be transparent about the data we do collect and why it is collected.
15 | To learn more about the go to My Data.
16 |
17 |
18 |
19 | MY DATA
20 |
21 |
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/components/dashboard-privacy/dashboard-privacy.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 | @use "components/cards" as cards;
19 |
20 | mat-card {
21 | @include cards.selene-card;
22 | max-width: 800px;
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/components/dashboard-skill/dashboard-skill.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Configure Skills
5 |
6 |
7 |
8 | Some Skills include settings that can change how the Skill behaves. To change the
9 | settings of your Skills, for instance the sound of your alarm, go to Skill Settings.
10 |
11 |
12 |
13 |
14 | SKILL SETTINGS
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/components/dashboard-skill/dashboard-skill.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 | @use "components/cards" as cards;
19 |
20 | mat-card {
21 | @include cards.selene-card;
22 | }
23 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/dashboard.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/dashboard/dashboard.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | #dashboard {
20 | max-width: 1200px;
21 | margin-left: auto;
22 | margin-right: auto;
23 | margin-top: 32px;
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/add-complete/add-complete.component.html:
--------------------------------------------------------------------------------
1 |
2 | Your device is ready!
3 |
4 |
Here are some example questions and commands:
5 |
{{wakeWord}}...
6 |
Who is Abraham Lincoln?
7 |
What is the latest news?
8 |
Set a timer for ten minutes.
9 |
Set an alarm for eight o'clock tomorrow morning.
10 |
11 |
12 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/defaults-card/defaults-card.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Setup Device Defaults
4 | Manage Device Defaults
5 |
6 |
7 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/defaults-card/defaults-card.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "components/cards" as cards;
21 | @use "mycroft-theme" as theme;
22 |
23 | mat-card {
24 | @include cards.section-card;
25 | margin-top: 32px;
26 | max-width: 700px;
27 |
28 | mat-card-title {
29 | color: mat.get-color-from-palette(theme.$mycroft-primary, 500)
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/geography-card/geography-card.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .mat-h3 {
20 | font-weight: bold;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/preferences-card/preferences-card.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Setup Device Preferences
4 | Manage Device Preferences
5 |
6 |
7 |
8 | Preferences are applied to all your devices to present information
9 | in a manner you are accustomed to.
10 |
5 | The software release running on this device is no longer supported. Select one of
6 | the options below to update your device to a supported release.
7 |
8 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/software-release-card/software-release-card.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .mat-h3 {
20 | font-weight: bold;
21 | }
22 |
23 | .mat-body {
24 | margin-left: 16px;
25 | }
26 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/software-update-card/software-update-card.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Automatic Updates
4 |
10 | Enable automatic install of software updates when available
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/software-update-card/software-update-card.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .mat-h3 {
20 | font-weight: bold;
21 | }
22 |
23 | mat-slide-toggle {
24 | padding-left: 32px;
25 | }
26 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/ssh-card/ssh-card.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | a {
20 | margin-left: 16px;
21 | }
22 | .mat-h3 {
23 | font-weight: bold;
24 | }
25 |
26 | .mat-body {
27 | margin-left: 16px;
28 | }
29 |
30 | mat-form-field {
31 | margin-top: 16px;
32 | margin-left: 32px;
33 | width: 90%;
34 | textarea {
35 | height: 150px;
36 | }
37 | }
38 |
39 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/voice-card/voice-card.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/card/wake-word-card/wake-word-card.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/account/src/app/modules/device/components/card/wake-word-card/wake-word-card.component.scss
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/city-input/city-input.component.html:
--------------------------------------------------------------------------------
1 |
2 | City
3 |
10 |
11 |
12 | {{city.name}}
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/city-input/city-input.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | mat-form-field {
20 | margin-left: 16px;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/country-input/country-input.component.html:
--------------------------------------------------------------------------------
1 |
2 | Country
3 |
10 |
11 |
12 | {{country.name}}
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/country-input/country-input.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | mat-form-field {
20 | margin-left: 16px;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/region-input/region-input.component.html:
--------------------------------------------------------------------------------
1 |
2 | Region
3 |
10 |
11 |
12 | {{region.name}}
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/region-input/region-input.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | mat-form-field {
20 | margin-left: 16px;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/timezone-input/timezone-input.component.html:
--------------------------------------------------------------------------------
1 |
2 | Time Zone
3 |
10 |
11 |
12 | {{timezone.name}}
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/input/timezone-input/timezone-input.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | mat-form-field {
20 | margin-left: 16px;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/modal/remove-device-dialog/remove-device-dialog.component.html:
--------------------------------------------------------------------------------
1 |
2 | Remove Device?
3 |
4 |
5 |
6 | Just double checking. Device removal cannot be undone.
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/components/modal/remove-device-dialog/remove-device-dialog.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use 'components/buttons' as buttons;
20 |
21 | mat-card {
22 | padding: 0;
23 |
24 | mat-card-actions {
25 | margin-top: 16px;
26 | }
27 | }
28 | .mat-body{
29 | margin-bottom: 16px;
30 | width: 250px;
31 | }
32 |
33 | #device-remove-button {
34 | @include buttons.action-button-warn;
35 | }
36 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/device.component.html:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/device.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | nav {
20 | margin-bottom: 32px;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/device.component.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { Component, OnInit } from '@angular/core';
20 |
21 | @Component({
22 | selector: 'account-device',
23 | templateUrl: './device.component.html',
24 | styleUrls: ['./device.component.scss']
25 | })
26 | export class DeviceComponent implements OnInit {
27 |
28 | constructor() {
29 | }
30 |
31 | ngOnInit() {
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/pages/defaults/defaults.component.html:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/pages/defaults/defaults.component.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/account/src/app/modules/device/pages/defaults/defaults.component.scss
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/pages/device-edit/device-edit.component.html:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/pages/device-edit/device-edit.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "components/buttons" as buttons;
21 | @use "components/cards" as cards;
22 | @use "mycroft-theme" as theme;
23 |
24 | #edit-device {
25 | margin-top: 32px;
26 | margin-bottom: 32px;
27 | }
28 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/pages/preferences/preferences.component.html:
--------------------------------------------------------------------------------
1 |
2 | Manage your device preferences
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/device/pages/preferences/preferences.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "components/buttons" as buttons;
21 | @use "mycroft-theme" as theme;
22 |
23 | mat-card-title {
24 | color: mat.get-color-from-palette(theme.$mycroft-primary, 500)
25 | }
26 |
27 | button {
28 | @include buttons.action-button-primary;
29 | margin: 16px;
30 | }
31 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/cards/agreements/agreements.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Agreements
5 |
6 |
7 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/cards/agreements/agreements.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "components/cards";
20 |
21 | mat-card {
22 | @include cards.selene-card;
23 | margin-left: auto;
24 | margin-right: auto;
25 | max-width: 800px;
26 |
27 | mat-card-subtitle {
28 | margin-bottom: 0;
29 | }
30 | .mat-body {
31 | margin-top: 4px;
32 | margin-bottom: 16px;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/cards/delete/delete.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Delete Account
5 |
6 |
7 |
18 | * Your email address uniquely identifies your account. It will be used to send
19 | messages related to actions taken on your account, such as a password change request.
20 |
4 | You know how this goes. You click a button, we make sure you meant to do it.
5 | Deleting your account is nasty business with no "undo" button.
6 |
7 |
8 | We'd hate to lose you so we hope you are seeing this as a result of an unintended mouse
9 | click (those buttons can be touchy!). If so, click the "cancel" button below to continue
10 | enjoying your Mycroft experience.
11 |
12 |
13 | If you really do want to delete your account, that's a bummer. We hope to see you back some
14 | time. Click the "confirm" button below and all data related to your account will
15 | be sent to the great bit bucket in the sky.
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/modals/delete-confirm/delete-confirm.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "components/buttons" as buttons;
21 | @use "mycroft-theme" as theme;
22 |
23 | .mat-h2 {
24 | color: mat.get-color-from-palette(theme.$mycroft-warn, 400);
25 | }
26 |
27 | #confirm-button {
28 | @include buttons.action-button-warn;
29 | }
30 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/modals/membership-cancel-confirm/membership-cancel-confirm.component.html:
--------------------------------------------------------------------------------
1 |
Are you sure?
2 |
3 |
4 | You know how this goes. You click a red button, we make sure you meant to do it.
5 |
6 |
7 | Your membership supports continued development of an open, privacy focused voice assistant.
8 | We hope you are seeing this as a result of an unintended mouse click (those buttons can be
9 | touchy!). If so, click the "cancel" button below.
10 |
11 |
12 | If you really do want to cancel your membership, that's a bummer. You can re-activate your
13 | membership at any time. Click the "confirm" button below and we will cancel your
14 | subscription immediately.
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/modals/membership-cancel-confirm/membership-cancel-confirm.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "components/buttons" as buttons;
21 | @use "mycroft-theme" as theme;
22 |
23 | h1 {
24 | color: mat.get-color-from-palette(theme.$mycroft-warn, 400);
25 | }
26 |
27 | #confirm-button {
28 | @include buttons.action-button-warn;
29 | }
30 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/modals/membership-cancel-confirm/membership-cancel-confirm.component.ts:
--------------------------------------------------------------------------------
1 | import { Component, OnInit } from '@angular/core';
2 | import { MatDialogRef } from '@angular/material/dialog';
3 |
4 | @Component({
5 | selector: 'account-membership-cancel-confirm',
6 | templateUrl: './membership-cancel-confirm.component.html',
7 | styleUrls: ['./membership-cancel-confirm.component.scss']
8 | })
9 | export class MembershipCancelConfirmComponent implements OnInit {
10 |
11 | constructor(
12 | public confirmDialogRef: MatDialogRef,
13 | ) {
14 | }
15 |
16 | ngOnInit() {
17 | }
18 |
19 | onCancel(): void {
20 | this.confirmDialogRef.close(false);
21 | }
22 |
23 | onConfirm(): void {
24 | this.confirmDialogRef.close(true);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/views/change-password/change-password.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Enter your new password
4 |
5 |
6 |
7 | New Password
8 |
9 |
10 | Password is required
11 |
12 |
13 |
16 |
17 |
18 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/views/membership-step/membership-step.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Become a Member
4 |
5 |
4 | Your membership directly helps to improve Mycroft's technology and user experience.
5 |
6 |
7 | Please enter your payment information below. Your credit card information is
8 | sent to the payment service and not stored on Mycroft's servers.
9 |
5 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/views/payment/verify-card-dialog.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .mat-subheading-2 {
20 | margin: 0;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/views/payment/verify-card-dialog.component.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { Component } from '@angular/core';
20 |
21 |
22 | @Component({
23 | selector: 'account-verify-card-dialog',
24 | templateUrl: './verify-card-dialog.component.html',
25 | styleUrls: ['./verify-card-dialog.component.scss']
26 | })
27 | export class VerifyCardDialogComponent {
28 | constructor() {}
29 | }
30 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/components/views/username-step/username-step.component.html:
--------------------------------------------------------------------------------
1 |
2 | What should we call you?
3 |
4 |
13 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/pages/edit/edit.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | #profile {
20 | max-width: 1200px;
21 | margin-left: auto;
22 | margin-right: auto;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/pages/new/new.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "components/buttons" as buttons;
21 | @use "mycroft-theme" as theme;
22 |
23 | .mat-button {
24 | @include buttons.action-button-primary;
25 | }
26 |
27 | mat-horizontal-stepper {
28 | margin-left: auto;
29 | margin-right: auto;
30 | margin-top: 32px;
31 | max-width: 1200px;
32 | }
33 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/pages/verify-email/verify-email.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Email address verification
5 |
6 |
7 |
{{verificationMessage}}
8 |
9 |
10 |
18 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/profile/pages/verify-email/verify-email.component.scss:
--------------------------------------------------------------------------------
1 | @use 'components/cards' as cards;
2 |
3 | mat-card {
4 | @include cards.selene-card;
5 | margin-left: auto;
6 | margin-right: auto;
7 | }
8 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/skill/setting-field/setting-field.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "components/buttons" as buttons;
20 |
21 | mat-checkbox {
22 | margin-top: 8px
23 | }
24 |
25 | mat-form-field {
26 | margin-top: 8px;
27 | }
28 |
29 | button {
30 | @include buttons.action-button-primary
31 | }
32 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/skill/setting-section/setting-section.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
{{sectionDefinition.name}}
4 |
5 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/skill/setting-section/setting-section.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use "mycroft-theme" as theme;
21 |
22 | .mat-h2 {
23 | color: mat.get-color-from-palette(theme.$mycroft-primary, 500);
24 | font-weight: bold;
25 | }
26 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/skill/skill-panel/skill-panel.component.html:
--------------------------------------------------------------------------------
1 |
2 |
8 | {{skill.name}}
9 |
10 |
11 |
12 |
13 |
20 | SKILL DETAILS
21 |
22 |
23 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/projects/account/src/app/modules/skill/skill.component.html:
--------------------------------------------------------------------------------
1 |
2 |
8 |
12 |
13 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/components/display-field/display-field.component.html:
--------------------------------------------------------------------------------
1 |
2 | {{label}}
3 |
4 |
5 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/components/display-field/display-field.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "@angular/material" as mat;
20 | @use 'mycroft-theme' as theme;
21 |
22 | mat-label {
23 | color: mat.get-color-from-palette(theme.$mycroft-primary, 500);
24 | }
25 | mat-form-field {
26 | width: 160px;
27 | }
28 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/components/option-btn/option-btn.component.html:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/components/option-btn/option-btn.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "components/buttons" as buttons;
20 |
21 | .mat-subheading-2 {
22 | margin-bottom: 8px;
23 | margin-top: 16px;
24 | }
25 |
26 | mat-button-toggle-group {
27 | @include buttons.options-button-group;
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/components/option-buttons/option-buttons.component.html:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/components/option-buttons/option-buttons.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 | @use "components/buttons" as buttons;
19 |
20 | .mat-subheading-2 {
21 | margin-bottom: 8px;
22 | margin-top: 16px;
23 | }
24 |
25 | mat-button-toggle-group {
26 | @include buttons.options-button-group;
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/account-agreement.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface AccountAgreement {
20 | type: string;
21 | acceptDate: string;
22 | }
23 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/account-membership.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface AccountMembership {
20 | type: string;
21 | duration?: string;
22 | paymentAccountId?: string;
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/account.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { AccountAgreement } from '@account/models/account-agreement.model';
20 | import { AccountMembership } from '@account/models/account-membership.model';
21 |
22 | export interface Account {
23 | id: string;
24 | emailAddress: string;
25 | username: string;
26 | membership: AccountMembership;
27 | agreements: AccountAgreement[];
28 | }
29 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/agreement.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface Agreement {
20 | type: string;
21 | version: string;
22 | content: string;
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/city.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface City {
20 | id: string;
21 | latitude: string;
22 | longitude: string;
23 | name: string;
24 | timezone: string;
25 | }
26 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/country.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface Country {
20 | id: string;
21 | isoCode: string;
22 | name: string;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/deviceAttribute.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface DeviceAttribute {
20 | id?: string;
21 | name: string;
22 | userDefined: boolean;
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/membership-update.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface MembershipUpdate {
20 | action: string;
21 | membershipType?: string;
22 | paymentMethod?: string;
23 | paymentToken?: string;
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/membership.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface MembershipType {
20 | type: string;
21 | rate: string;
22 | ratePeriod: string;
23 | stripePlan: string;
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/option-buttons-config.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface OptionButtonsConfig {
20 | options: string[];
21 | buttonWidth: string;
22 | label?: string;
23 | labelWidth?: string;
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/pantacor-config.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface PantacorConfig {
20 | autoUpdate: boolean;
21 | ipAddress: string;
22 | pantacorId: string;
23 | deploymentId: string;
24 | sshPublicKey: string;
25 | releaseChannel: string;
26 | }
27 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/preferences.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface AccountPreferences {
20 | id: string;
21 | dateFormat: string;
22 | measurementSystem: string;
23 | timeFormat: string;
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/region.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface Region {
20 | id: string;
21 | region_code: string;
22 | name: string;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/setting-change.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface SettingChange {
20 | name: string;
21 | value: string | boolean | number;
22 | }
23 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/setting-field.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface SelectOptions {
20 | display: string;
21 | value: string;
22 | }
23 |
24 | export interface SettingField {
25 | name: string;
26 | type: string;
27 | label: string;
28 | options?: SelectOptions[];
29 | value?: string | boolean | number;
30 | }
31 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/setting-section.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { SettingField } from '@account/models/setting-field.model';
20 |
21 | export interface SettingSection {
22 | name: string;
23 | fields: SettingField[];
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/settings-display.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import {SettingSection } from '@account/models/setting-section.model';
20 |
21 | export interface SettingsDisplay {
22 | sections: SettingSection[];
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/skill-settings.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { SettingsDisplay } from '@account/models/settings-display.model';
20 |
21 | export interface SkillSettings {
22 | settingsDisplay: SettingsDisplay;
23 | settingsValues: any;
24 | deviceNames: string[];
25 | }
26 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/skill_family.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface SkillFamily {
20 | familyName: string;
21 | name: string;
22 | hasSettings: boolean;
23 | marketId: string;
24 | skillIds: string[];
25 | }
26 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/timezone.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface Timezone {
20 | id: string;
21 | name: string;
22 | gmtOffset: string;
23 | dstOffset: string;
24 | }
25 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/voice.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface Voice {
20 | id: string;
21 | displayName: string;
22 | settingName: string;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/app/shared/models/wake-word.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface WakeWord {
20 | id: string;
21 | engine: string;
22 | name: string;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/account/src/assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/account/src/assets/.gitkeep
--------------------------------------------------------------------------------
/projects/account/src/assets/facebook_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/account/src/assets/facebook_logo.png
--------------------------------------------------------------------------------
/projects/account/src/assets/generic-device-icon-blue.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
--------------------------------------------------------------------------------
/projects/account/src/assets/generic-device-icon-white.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
--------------------------------------------------------------------------------
/projects/account/src/assets/google-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/account/src/assets/google-logo.png
--------------------------------------------------------------------------------
/projects/account/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/account/src/favicon.ico
--------------------------------------------------------------------------------
/projects/account/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Account
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/projects/account/src/main.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { enableProdMode } from '@angular/core';
20 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21 |
22 | import { AppModule } from './app/app.module';
23 | import { environment } from './environments/environment';
24 |
25 | if (environment.production) {
26 | enableProdMode();
27 | }
28 |
29 | platformBrowserDynamic().bootstrapModule(AppModule)
30 | .catch(err => console.error(err));
31 |
--------------------------------------------------------------------------------
/projects/account/src/styles.scss:
--------------------------------------------------------------------------------
1 | /* You can add global styles to this file, and also import other style files */
2 |
--------------------------------------------------------------------------------
/projects/account/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "projects/account/src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/account/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "**/*.spec.ts",
16 | "**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/account/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "account",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "account",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/globalnav/karma.conf.js:
--------------------------------------------------------------------------------
1 | // Karma configuration file, see link for more information
2 | // https://karma-runner.github.io/1.0/config/configuration-file.html
3 |
4 | module.exports = function (config) {
5 | config.set({
6 | basePath: '',
7 | frameworks: ['jasmine', '@angular-devkit/build-angular'],
8 | plugins: [
9 | require('karma-jasmine'),
10 | require('karma-chrome-launcher'),
11 | require('karma-jasmine-html-reporter'),
12 | require('karma-coverage-istanbul-reporter'),
13 | require('@angular-devkit/build-angular/plugins/karma')
14 | ],
15 | client: {
16 | clearContext: false // leave Jasmine Spec Runner output visible in browser
17 | },
18 | coverageIstanbulReporter: {
19 | dir: require('path').join(__dirname, '../../coverage'),
20 | reports: ['html', 'lcovonly'],
21 | fixWebpackSourcePaths: true
22 | },
23 | reporters: ['progress', 'kjhtml'],
24 | port: 9876,
25 | colors: true,
26 | logLevel: config.LOG_INFO,
27 | autoWatch: true,
28 | browsers: ['Chrome'],
29 | singleRun: false
30 | });
31 | };
32 |
--------------------------------------------------------------------------------
/projects/globalnav/ng-package.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3 | "dest": "../../dist/globalnav",
4 | "lib": {
5 | "entryFile": "src/public_api.ts",
6 | "cssUrl": "inline"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/projects/globalnav/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "globalnav",
3 | "version": "0.0.1",
4 | "dependencies": {
5 | "tslib": "^2.0.0"
6 | },
7 | "peerDependencies": {
8 | "@angular/common": "^14.1.0",
9 | "@angular/core": "^14.1.0",
10 | "@angular/flex-layout": "^14.0.0-beta.40"
11 |
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/projects/globalnav/src/lib/account-menu/account-menu.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .account-button {
20 | color: #fee255;
21 | font-size: 20px;
22 | margin-right: -16px;
23 | }
24 |
25 | .menu-item-icon {
26 | color: #22a7f0;
27 | margin-right: 8px;
28 | }
29 |
30 | .menu-item-text {
31 | color: #2c3e50;
32 | }
33 |
34 | .menu-divider {
35 | margin-left: auto;
36 | margin-right: auto;
37 | width: 80%;
38 | }
39 |
--------------------------------------------------------------------------------
/projects/globalnav/src/lib/footer/footer.component.html:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/projects/globalnav/src/lib/nav-item/nav-item.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{item.text}}
4 |
5 |
6 |
--------------------------------------------------------------------------------
/projects/globalnav/src/lib/nav-item/nav-item.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .mat-list-item {
20 | height: 30px;
21 | }
22 |
23 | .mat-body-1 {
24 | color: #6c7a89;
25 | margin-left: 30px;
26 | }
27 |
28 |
--------------------------------------------------------------------------------
/projects/globalnav/src/lib/primary-nav-item/primary-nav-item.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {{primaryNavItem.text}}
9 |
10 |
11 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/projects/globalnav/src/lib/primary-nav-item/primary-nav-item.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | .nav-item {
20 | color: #2c3e50;
21 | height: 40px;
22 | }
23 | .nav-item:hover {
24 | background-color: #e4f1fe;
25 | }
26 |
27 | .nav-item-icon {
28 | margin-right: 10px;
29 | text-align: center;
30 | width: 20px;
31 | fa-icon {
32 | color: #22a7f0
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/projects/globalnav/src/public_api.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | /*
20 | * Public API Surface of globalnav
21 | */
22 |
23 | export * from './lib/globalnav.service';
24 | export * from './lib/globalnav.component';
25 | export * from './lib/globalnav.module';
26 |
--------------------------------------------------------------------------------
/projects/globalnav/tsconfig.lib.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/lib",
5 | "declarationMap": true,
6 | "target": "es2020",
7 | "module": "es2015",
8 | "moduleResolution": "node",
9 | "declaration": true,
10 | "sourceMap": true,
11 | "inlineSources": true,
12 | "experimentalDecorators": true,
13 | "importHelpers": true,
14 | "types": [],
15 | "lib": [
16 | "dom",
17 | "es2018"
18 | ]
19 | },
20 | "angularCompilerOptions": {
21 | "skipTemplateCodegen": true,
22 | "strictMetadataEmit": true,
23 | "fullTemplateTypeCheck": true,
24 | "strictInjectionParameters": true,
25 | "enableResourceInlining": true
26 | },
27 | "exclude": [
28 | "src/test.ts",
29 | "**/*.spec.ts"
30 | ]
31 | }
32 |
--------------------------------------------------------------------------------
/projects/globalnav/tsconfig.lib.prod.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.lib.json",
3 | "compilerOptions": {
4 | "declarationMap": false
5 | },
6 | "angularCompilerOptions": {
7 | "compilationMode": "partial"
8 | }
9 | }
--------------------------------------------------------------------------------
/projects/globalnav/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts"
12 | ],
13 | "include": [
14 | "**/*.spec.ts",
15 | "**/*.d.ts"
16 | ]
17 | }
18 |
--------------------------------------------------------------------------------
/projects/globalnav/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "globalnav",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "globalnav",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/projects/market-e2e/protractor.conf.js:
--------------------------------------------------------------------------------
1 | // Protractor configuration file, see link for more information
2 | // https://github.com/angular/protractor/blob/master/lib/config.ts
3 |
4 | const { SpecReporter } = require('jasmine-spec-reporter');
5 |
6 | exports.config = {
7 | allScriptsTimeout: 11000,
8 | specs: [
9 | './src/**/*.e2e-spec.ts'
10 | ],
11 | capabilities: {
12 | 'browserName': 'chrome'
13 | },
14 | directConnect: true,
15 | baseUrl: 'http://localhost:4200/',
16 | framework: 'jasmine',
17 | jasmineNodeOpts: {
18 | showColors: true,
19 | defaultTimeoutInterval: 30000,
20 | print: function() {}
21 | },
22 | onPrepare() {
23 | require('ts-node').register({
24 | project: require('path').join(__dirname, './tsconfig.e2e.json')
25 | });
26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
27 | }
28 | };
--------------------------------------------------------------------------------
/projects/market-e2e/src/app.e2e-spec.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { AppPage } from './app.po';
20 |
21 | describe('workspace-project App', () => {
22 | let page: AppPage;
23 |
24 | beforeEach(() => {
25 | page = new AppPage();
26 | });
27 |
28 | it('should display welcome message', () => {
29 | page.navigateTo();
30 | expect(page.getParagraphText()).toEqual('Welcome to market!');
31 | });
32 | });
33 |
--------------------------------------------------------------------------------
/projects/market-e2e/src/app.po.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { browser, by, element } from 'protractor';
20 |
21 | export class AppPage {
22 | navigateTo() {
23 | return browser.get('/');
24 | }
25 |
26 | getParagraphText() {
27 | return element(by.css('market-root h1')).getText();
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/projects/market-e2e/tsconfig.e2e.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "module": "commonjs",
6 | "target": "es5",
7 | "types": [
8 | "jasmine",
9 | "jasminewd2",
10 | "node"
11 | ]
12 | }
13 | }
--------------------------------------------------------------------------------
/projects/market/.browserslistrc:
--------------------------------------------------------------------------------
1 | # This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
2 | # For additional information regarding the format and rule options, please see:
3 | # https://github.com/browserslist/browserslist#queries
4 | #
5 | # For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
6 |
7 | > 0.5%
8 | last 2 versions
9 | Firefox ESR
10 | not dead
11 | not IE 9-11
--------------------------------------------------------------------------------
/projects/market/karma.conf.js:
--------------------------------------------------------------------------------
1 | // Karma configuration file, see link for more information
2 | // https://karma-runner.github.io/1.0/config/configuration-file.html
3 |
4 | module.exports = function (config) {
5 | config.set({
6 | basePath: '',
7 | frameworks: ['jasmine', '@angular-devkit/build-angular'],
8 | plugins: [
9 | require('karma-jasmine'),
10 | require('karma-chrome-launcher'),
11 | require('karma-jasmine-html-reporter'),
12 | require('karma-coverage-istanbul-reporter'),
13 | require('@angular-devkit/build-angular/plugins/karma')
14 | ],
15 | client: {
16 | clearContext: false // leave Jasmine Spec Runner output visible in browser
17 | },
18 | coverageIstanbulReporter: {
19 | dir: require('path').join(__dirname, '../../coverage'),
20 | reports: ['html', 'lcovonly'],
21 | fixWebpackSourcePaths: true
22 | },
23 | reporters: ['progress', 'kjhtml'],
24 | port: 9876,
25 | colors: true,
26 | logLevel: config.LOG_INFO,
27 | autoWatch: true,
28 | browsers: ['Chrome'],
29 | singleRun: false
30 | });
31 | };
--------------------------------------------------------------------------------
/projects/market/proxy.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "/api/*": {
3 | "target": "http://localhost:5002",
4 | "secure": false,
5 | "logLevel": "debug",
6 | "changeOrigin": true
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/projects/market/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/projects/market/src/app/app.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | img {
20 | height: 20px;
21 | margin-top: -7px;
22 | }
23 |
--------------------------------------------------------------------------------
/projects/market/src/app/skills/skill-detail/skill-detail.component.html:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/projects/shared/src/lib/maintenance-page/maintenance-page.component.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { Component, OnInit } from '@angular/core';
20 |
21 | @Component({
22 | selector: 'shared-maintenance-page',
23 | templateUrl: './maintenance-page.component.html',
24 | styleUrls: ['./maintenance-page.component.scss']
25 | })
26 | export class MaintenancePageComponent implements OnInit {
27 |
28 | constructor() { }
29 |
30 | ngOnInit() {
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/projects/shared/src/lib/page-not-found/page-not-found.component.html:
--------------------------------------------------------------------------------
1 |
2 |
404
3 |
4 |
5 |
--------------------------------------------------------------------------------
/projects/shared/src/lib/page-not-found/page-not-found.component.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { Component} from '@angular/core';
20 |
21 | @Component({
22 | selector: 'shared-page-not-found',
23 | templateUrl: './page-not-found.component.html',
24 | styleUrls: ['./page-not-found.component.scss']
25 | })
26 | export class PageNotFoundComponent {
27 |
28 | constructor() { }
29 |
30 | navigateBack() {
31 | window.history.back();
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/projects/shared/src/lib/shared.component.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { Component, OnInit } from '@angular/core';
20 |
21 | @Component({
22 | selector: 'shared-base',
23 | template: `
24 |
4 | A message containing password reset instructions will be sent to the email address entered below:
5 |
6 |
7 |
8 |
9 |
10 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/sso/src/app/modules/logout/logout.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LOGGING OUT
5 |
6 |
7 |
--------------------------------------------------------------------------------
/projects/sso/src/app/modules/new-account/agreement-step/agreement-step.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Now for the legal stuff...
4 |
5 |
6 | We value your privacy!
7 |
8 |
9 |
10 |
13 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/projects/sso/src/app/modules/new-account/authentication-step/authentication-step.component.scss:
--------------------------------------------------------------------------------
1 | @use "@angular/material" as mat;
2 | @use "mycroft-theme" as theme;
3 |
4 | mat-card {
5 | margin-left: auto;
6 | margin-right: auto;
7 | max-width: 800px;
8 |
9 | mat-card-title {
10 | color: mat.get-color-from-palette(theme.$mycroft-primary, 500);
11 | }
12 |
13 | mat-card {
14 | height: 300px;
15 | max-width: 400px;
16 |
17 | .mat-h2 {
18 | color: mat.get-color-from-palette(theme.$mycroft-accent, A700);
19 | font-size: 20px;
20 | }
21 | #federated-error {
22 | color: mat.get-color-from-palette(theme.$mycroft-warn, 500);
23 | }
24 | }
25 |
26 | .mat-h1 {
27 | color: mat.get-color-from-palette(theme.$mycroft-primary, 500);
28 | padding: 32px;
29 | }
30 | }
31 |
32 |
33 |
--------------------------------------------------------------------------------
/projects/sso/src/app/modules/new-account/new-account.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | @use "components/buttons" as buttons;
20 |
21 | .mat-button {
22 | @include buttons.action-button-primary;
23 | }
24 |
25 | mat-horizontal-stepper {
26 | margin-left: auto;
27 | margin-right: auto;
28 | margin-top: 32px;
29 | max-width: 1000px;
30 | }
31 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/email-input/email-input.component.html:
--------------------------------------------------------------------------------
1 |
2 | Email
3 |
10 |
11 | {{getEmailError()}}
12 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/email-input/email-input.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | mat-form-field {
20 | width: 100%;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/facebook-button/facebook-button.component.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/github-button/github-button.component.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/google-button/google-button.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/google-button/google-button.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | asl-google-signin-button {
20 | border-radius: 4px;
21 | color: white;
22 | font-weight: normal;
23 | margin-bottom: 8px;
24 | text-align: left;
25 | }
26 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/password-input/password-input.component.html:
--------------------------------------------------------------------------------
1 |
2 | Password
3 |
10 |
11 | Password is required
12 |
13 |
14 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/components/password-input/password-input.component.scss:
--------------------------------------------------------------------------------
1 | // *****************************************************************************
2 | // SPDX-License-Identifier: Apache-2.0
3 | //
4 | //
5 | // Copyright (c) Mycroft AI Inc. All rights reserved.
6 | // Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | // this file except in compliance with the License. You may obtain a copy of the
8 | // License at http://www.apache.org/licenses/LICENSE-2.0
9 | //
10 | // THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | // WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | // MERCHANTABLITY OR NON-INFRINGEMENT.
14 | //
15 | // See the Apache Version 2.0 License for specific language governing permissions
16 | // and limitations under the License.
17 | // *****************************************************************************
18 |
19 | mat-form-field {
20 | width: 100%;
21 | }
22 |
--------------------------------------------------------------------------------
/projects/sso/src/app/shared/models/password-change-account.model.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | export interface PasswordChangeAccount {
20 | accountId: string;
21 | tokenExpired: boolean;
22 | tokenInvalid: boolean;
23 | }
24 |
--------------------------------------------------------------------------------
/projects/sso/src/assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/sso/src/assets/.gitkeep
--------------------------------------------------------------------------------
/projects/sso/src/assets/facebook_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/sso/src/assets/facebook_logo.png
--------------------------------------------------------------------------------
/projects/sso/src/assets/google-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/sso/src/assets/google-logo.png
--------------------------------------------------------------------------------
/projects/sso/src/assets/google-signin-button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/sso/src/assets/google-signin-button.png
--------------------------------------------------------------------------------
/projects/sso/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/sso/src/favicon.ico
--------------------------------------------------------------------------------
/projects/sso/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Mycroft AI Single Sign On
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/projects/sso/src/main.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { enableProdMode } from '@angular/core';
20 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21 |
22 | import { AppModule } from './app/app.module';
23 | import { environment } from './environments/environment';
24 |
25 | if (environment.production) {
26 | enableProdMode();
27 | }
28 |
29 | platformBrowserDynamic().bootstrapModule(AppModule)
30 | .catch(err => console.error(err));
31 |
--------------------------------------------------------------------------------
/projects/sso/src/styles.scss:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MycroftAI/selene-ui/cd2e4248b5e86a22898faf28221f5ac0463a580c/projects/sso/src/styles.scss
--------------------------------------------------------------------------------
/projects/sso/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/app",
5 | "types": []
6 | },
7 | "files": [
8 | "src/main.ts",
9 | "src/polyfills.ts"
10 | ],
11 | "include": [
12 | "projects/sso/src/**/*.d.ts"
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/projects/sso/tsconfig.spec.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "../../out-tsc/spec",
5 | "types": [
6 | "jasmine",
7 | "node"
8 | ]
9 | },
10 | "files": [
11 | "src/test.ts",
12 | "src/polyfills.ts"
13 | ],
14 | "include": [
15 | "**/*.spec.ts",
16 | "**/*.d.ts"
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/projects/sso/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "../../tslint.json",
3 | "rules": {
4 | "directive-selector": [
5 | true,
6 | "attribute",
7 | "sso",
8 | "camelCase"
9 | ],
10 | "component-selector": [
11 | true,
12 | "element",
13 | "sso",
14 | "kebab-case"
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/app/app-routing.module.ts:
--------------------------------------------------------------------------------
1 | /*! *****************************************************************************
2 | SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | Copyright (c) Mycroft AI Inc. All rights reserved.
6 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7 | this file except in compliance with the License. You may obtain a copy of the
8 | License at http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 | KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
12 | WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
13 | MERCHANTABLITY OR NON-INFRINGEMENT.
14 |
15 | See the Apache Version 2.0 License for specific language governing permissions
16 | and limitations under the License.
17 | ***************************************************************************** */
18 |
19 | import { NgModule } from '@angular/core';
20 | import { Routes, RouterModule } from '@angular/router';
21 |
22 | const routes: Routes = [];
23 |
24 | @NgModule({
25 | imports: [RouterModule.forRoot(routes)],
26 | exports: [RouterModule]
27 | })
28 | export class AppRoutingModule { }
29 |
--------------------------------------------------------------------------------
/src/app/app.component.html:
--------------------------------------------------------------------------------
1 |
2 |