-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ba9fa6
commit 61224d0
Showing
461 changed files
with
5,544 additions
and
5,544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { createRouter, createWebHistory } from "vue-router"; | ||
import { createRouter, createWebHistory } from 'vue-router'; | ||
|
||
export const router = createRouter({ | ||
history: createWebHistory(), | ||
routes: [ | ||
{ | ||
name: "home", | ||
path: "/", | ||
component: () => import("./Playground.vue"), | ||
name: 'home', | ||
path: '/', | ||
component: () => import('./Playground.vue'), | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,50 @@ | ||
import a11y from "eslint-plugin-vuejs-accessibility"; | ||
import antfu from "@antfu/eslint-config"; | ||
import a11y from 'eslint-plugin-vuejs-accessibility'; | ||
import antfu from '@antfu/eslint-config'; | ||
|
||
export default antfu({ | ||
plugins: { | ||
"vuejs-accessibility": a11y, | ||
'vuejs-accessibility': a11y, | ||
}, | ||
ignores: [ | ||
"src/elements/Logo/*", | ||
"src/elements/CustomIcon/mixins/themeIcon.ts", | ||
"src/assets/locales/*.json", | ||
"src/assets/locales/*.json/**", | ||
"public/**/*", | ||
'src/elements/Logo/*', | ||
'src/elements/CustomIcon/mixins/themeIcon.ts', | ||
'src/assets/locales/*.json', | ||
'src/assets/locales/*.json/**', | ||
'public/**/*', | ||
], | ||
rules: { | ||
...a11y.configs.recommended.rules, | ||
"ts/semi": "off", | ||
"curly": ["error", "all"], | ||
"no-console": "error", | ||
"no-alert": "off", | ||
"no-shadow": "off", | ||
"vue/html-self-closing": "off", | ||
"vue/no-template-shadow": "off", | ||
"@typescript-eslint/no-shadow": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"style/max-len": ["error", { code: 120, tabWidth: 4 }], | ||
"style/semi": ["error", "always"], | ||
"style/indent": "off", | ||
"style/quotes": ["error", "double"], | ||
"style/no-tabs": "off", | ||
"vuejs-accessibility/label-has-for": ["error", { required: { every: ["nesting"] } }], | ||
"vuejs-accessibility/anchor-has-content": "off", | ||
'ts/semi': 'off', | ||
'curly': ['error', 'all'], | ||
'no-console': 'error', | ||
'no-alert': 'off', | ||
'no-shadow': 'off', | ||
'vue/custom-event-name-casing': 'off', | ||
'vue/html-self-closing': 'off', | ||
'vue/no-template-shadow': 'off', | ||
'@typescript-eslint/no-shadow': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'style/max-len': ['error', { code: 120, tabWidth: 4 }], | ||
'style/semi': ['error', 'always'], | ||
'style/indent': 'off', | ||
'style/quotes': ['error', 'single'], | ||
'style/no-tabs': 'off', | ||
'vuejs-accessibility/label-has-for': ['error', { required: { every: ['nesting'] } }], | ||
'vuejs-accessibility/anchor-has-content': 'off', | ||
}, | ||
}, { | ||
ignores: ["public/**/*"], | ||
ignores: ['public/**/*'], | ||
}, { | ||
files: ["**/*.json", "**/*.md", "**/*.spec.ts"], | ||
ignores: ["public/**/*.json"], | ||
files: ['**/*.json', '**/*.md', '**/*.spec.ts'], | ||
ignores: ['public/**/*.json'], | ||
rules: { | ||
"style/max-len": ["error", { code: 600, tabWidth: 2 }], | ||
'style/max-len': ['error', { code: 600, tabWidth: 4 }], | ||
}, | ||
|
||
}, { | ||
files: ["src/elements/FranceConnectBtn/FranceConnectBtn.vue", "src/elements/FilePreview/FilePreview.vue"], | ||
files: ['src/elements/FranceConnectBtn/FranceConnectBtn.vue', 'src/elements/FilePreview/FilePreview.vue'], | ||
rules: { | ||
"style/max-len": "off", | ||
'style/max-len': 'off', | ||
}, | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
const config = { | ||
trailingComma: "es5", | ||
trailingComma: 'es5', | ||
tabWidth: 4, | ||
semi: false, | ||
singleQuote: true, | ||
htmlWhitespaceSensitivity: "ignore", | ||
htmlWhitespaceSensitivity: 'ignore', | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
export enum StateEnum { | ||
IDLE = "idle", | ||
PENDING = "pending", | ||
REJECTED = "rejected", | ||
RESOLVED = "resolved", | ||
IDLE = 'idle', | ||
PENDING = 'pending', | ||
REJECTED = 'rejected', | ||
RESOLVED = 'resolved', | ||
} | ||
|
||
/** @deprecated Use StateEnum instead */ | ||
export enum STATE_ENUM { | ||
idle = "idle", | ||
pending = "pending", | ||
rejected = "rejected", | ||
resolved = "resolved", | ||
idle = 'idle', | ||
pending = 'pending', | ||
rejected = 'rejected', | ||
resolved = 'resolved', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
export enum ThemeEnum { | ||
AMELI = "ameli", | ||
AMELI_PRO = "ameli-pro", | ||
CNAM = "cnam", | ||
COMPTE_AMELI = "compte-ameli", | ||
COMPTE_ENTREPRISE = "compte-entreprise", | ||
DEFAULT = "default", | ||
RISQUE_PRO = "risque-pro", | ||
AMELI = 'ameli', | ||
AMELI_PRO = 'ameli-pro', | ||
CNAM = 'cnam', | ||
COMPTE_AMELI = 'compte-ameli', | ||
COMPTE_ENTREPRISE = 'compte-entreprise', | ||
DEFAULT = 'default', | ||
RISQUE_PRO = 'risque-pro', | ||
} | ||
|
||
export const THEME_ENUM_VALUES = Object.values(ThemeEnum); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import BackBtn from "./BackBtn.vue"; | ||
import BackBtn from './BackBtn.vue'; | ||
|
||
export default BackBtn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const locales = { | ||
label: "Retour", | ||
label: 'Retour', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
packages/synapse-bridge/src/elements/BackToTopBtn/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export const config = { | ||
btn: { | ||
position: "fixed", | ||
variant: "outlined", | ||
color: "primary", | ||
class: "text-wrap px-0 px-md-4", | ||
position: 'fixed', | ||
variant: 'outlined', | ||
color: 'primary', | ||
class: 'text-wrap px-0 px-md-4', | ||
}, | ||
icon: { | ||
color: "primary", | ||
size: "small", | ||
class: "ml-0 ml-md-1", | ||
color: 'primary', | ||
size: 'small', | ||
class: 'ml-0 ml-md-1', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import BackToTopBtn from "./BackToTopBtn.vue"; | ||
import BackToTopBtn from './BackToTopBtn.vue'; | ||
|
||
export default BackToTopBtn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const locales = { | ||
label: "Retour en haut", | ||
label: 'Retour en haut', | ||
}; |
Oops, something went wrong.