@cnamts/synapse 0.0.11-alpha → 0.0.12-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-system-v3.js +3878 -3189
- package/dist/design-system-v3.umd.cjs +1 -1
- package/dist/src/components/Amelipro/types/languages.d.ts +6 -0
- package/dist/src/components/Amelipro/types/types.d.ts +65 -0
- package/dist/src/components/CookieBanner/CookieBanner.d.ts +1 -1
- package/dist/src/components/Customs/SyInputSelect/SyInputSelect.d.ts +2 -0
- package/dist/src/components/Customs/SyTextField/SyTextField.d.ts +29 -23
- package/dist/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +70 -59
- package/dist/src/components/DatePicker/DateTextInput.d.ts +67 -56
- package/dist/src/components/ErrorPage/ErrorPage.d.ts +1 -1
- package/dist/src/components/FileList/FileList.d.ts +1 -0
- package/dist/src/components/FileList/UploadItem/UploadItem.d.ts +1 -1
- package/dist/src/components/FilterSideBar/FilterSideBar.d.ts +31 -0
- package/dist/src/components/FilterSideBar/locales.d.ts +7 -0
- package/dist/src/components/FilterSideBar/tests/FilterSideBar.spec.d.ts +1 -0
- package/dist/src/components/LangBtn/LangBtn.d.ts +2 -2
- package/dist/src/components/NirField/NirField.d.ts +940 -0
- package/dist/src/components/NotificationBar/NotificationBar.d.ts +1 -1
- package/dist/src/components/PasswordField/PasswordField.d.ts +40 -8
- package/dist/src/components/PeriodField/PeriodField.d.ts +142 -120
- package/dist/src/components/PhoneField/PhoneField.d.ts +11 -2
- package/dist/src/components/RatingPicker/EmotionPicker/EmotionPicker.d.ts +1 -1
- package/dist/src/components/RatingPicker/NumberPicker/NumberPicker.d.ts +1 -1
- package/dist/src/components/RatingPicker/StarsPicker/StarsPicker.d.ts +1 -1
- package/dist/src/components/UploadWorkflow/config.d.ts +29 -0
- package/dist/src/components/UploadWorkflow/locales.d.ts +7 -0
- package/dist/src/components/UploadWorkflow/tests/UploadWorkflow.spec.d.ts +1 -0
- package/dist/src/components/UploadWorkflow/types.d.ts +19 -0
- package/dist/src/components/UploadWorkflow/useFileList.d.ts +10 -0
- package/dist/src/components/UploadWorkflow/useFileUploadJourney.d.ts +9 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/composables/rules/useFieldValidation.d.ts +1 -0
- package/dist/src/composables/validation/tests/useValidation.spec.d.ts +1 -0
- package/dist/src/composables/validation/useValidation.d.ts +39 -0
- package/dist/src/designTokens/index.d.ts +3 -1
- package/dist/src/vuetifyConfig.d.ts +81 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/assets/_elevations.scss +89 -0
- package/src/assets/_fonts.scss +6 -0
- package/src/assets/_radius.scss +86 -0
- package/src/assets/_spacers.scss +149 -0
- package/src/assets/settings.scss +7 -3
- package/src/assets/tokens.scss +32 -29
- package/src/components/Amelipro/types/languages.d.ts +6 -0
- package/src/components/Amelipro/types/types.d.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.stories.ts +65 -0
- package/src/components/Customs/SyInputSelect/SyInputSelect.vue +13 -3
- package/src/components/Customs/SySelect/SySelect.stories.ts +88 -5
- package/src/components/Customs/SySelect/SySelect.vue +36 -10
- package/src/components/Customs/SySelect/tests/SySelect.spec.ts +135 -2
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +576 -85
- package/src/components/Customs/SyTextField/SyTextField.vue +132 -104
- package/src/components/Customs/SyTextField/tests/SyTextField.spec.ts +190 -38
- package/src/components/Customs/SyTextField/types.d.ts +1 -0
- package/src/components/DatePicker/DatePicker.vue +405 -137
- package/src/components/DatePicker/DateTextInput.vue +15 -0
- package/src/components/DatePicker/tests/DatePicker.spec.ts +8 -15
- package/src/components/FileList/FileList.vue +2 -1
- package/src/components/FileList/UploadItem/UploadItem.vue +10 -0
- package/src/components/FileUpload/FileUpload.stories.ts +84 -0
- package/src/components/FileUpload/FileUpload.vue +1 -0
- package/src/components/FileUpload/tests/FileUpload.spec.ts +4 -4
- package/src/components/FilterInline/FilterInline.mdx +180 -34
- package/src/components/FilterInline/FilterInline.stories.ts +363 -6
- package/src/components/FilterSideBar/FilterSideBar.mdx +237 -0
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +798 -0
- package/src/components/FilterSideBar/FilterSideBar.vue +193 -0
- package/src/components/FilterSideBar/locales.ts +8 -0
- package/src/components/FilterSideBar/tests/FilterSideBar.spec.ts +305 -0
- package/src/components/FilterSideBar/tests/__snapshots__/FilterSideBar.spec.ts.snap +39 -0
- package/src/components/HeaderBar/Usages.mdx +1 -1
- package/src/components/NirField/NirField.stories.ts +573 -29
- package/src/components/NirField/NirField.vue +397 -359
- package/src/components/NirField/tests/NirField.spec.ts +88 -52
- package/src/components/NirField/tests//342/200/257dataset/342/200/257.md +12 -0
- package/src/components/NotificationBar/Accessibilite.stories.ts +4 -0
- package/src/components/NotificationBar/NotificationBar.stories.ts +18 -13
- package/src/components/PasswordField/PasswordField.mdx +129 -47
- package/src/components/PasswordField/PasswordField.stories.ts +924 -120
- package/src/components/PasswordField/PasswordField.vue +209 -99
- package/src/components/PasswordField/tests/PasswordField.spec.ts +138 -9
- package/src/components/PeriodField/PeriodField.vue +55 -54
- package/src/components/PhoneField/PhoneField.stories.ts +69 -0
- package/src/components/PhoneField/PhoneField.vue +3 -0
- package/src/components/PhoneField/indicatifs.ts +1 -1
- package/src/components/UploadWorkflow/UploadWorkflow.mdx +75 -0
- package/src/components/UploadWorkflow/UploadWorkflow.stories.ts +943 -0
- package/src/components/UploadWorkflow/UploadWorkflow.vue +230 -0
- package/src/components/UploadWorkflow/config.ts +29 -0
- package/src/components/UploadWorkflow/locales.ts +8 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +257 -0
- package/src/components/UploadWorkflow/tests/__snapshots__/UploadWorkflow.spec.ts.snap +54 -0
- package/src/components/UploadWorkflow/types.ts +21 -0
- package/src/components/UploadWorkflow/useFileList.ts +84 -0
- package/src/components/UploadWorkflow/useFileUploadJourney.ts +18 -0
- package/src/components/index.ts +2 -0
- package/src/composables/rules/useFieldValidation.ts +5 -2
- package/src/composables/validation/tests/useValidation.spec.ts +154 -0
- package/src/composables/validation/useValidation.ts +165 -0
- package/src/designTokens/index.ts +4 -0
- package/src/stories/Demarrer/Accueil.mdx +1 -1
- package/src/stories/DesignTokens/ThemePA.mdx +4 -30
- package/src/stories/GuideDuDev/UtiliserLesRules.mdx +319 -76
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +1 -1
- package/src/vuetifyConfig.ts +61 -0
- package/src/composables/useFilterable/__snapshots__/useFilterable.spec.ts.snap +0 -3
|
@@ -23,8 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
23
23
|
smallCloseBtn: import('vue').ComputedRef<boolean>;
|
|
24
24
|
isVertical: import('vue').ComputedRef<boolean>;
|
|
25
25
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
-
rounded: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xl" | "lg" | "sm" | "xs" | "shaped";
|
|
27
26
|
bottom: boolean;
|
|
27
|
+
rounded: true | 0 | 1 | 2 | 3 | 4 | "circle" | "pill" | "xl" | "lg" | "sm" | "xs" | "shaped";
|
|
28
28
|
closeBtnText: string;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
30
30
|
action?(_: {}): any;
|
|
@@ -1,25 +1,57 @@
|
|
|
1
|
+
import { ValidationRule } from '../../composables/validation/useValidation';
|
|
1
2
|
import { CustomizableOptions } from '../../composables/useCustomizableOptions';
|
|
3
|
+
import { ColorType } from '../Customs/SyTextField/types';
|
|
2
4
|
type __VLS_Props = {
|
|
3
5
|
modelValue?: string | null;
|
|
4
|
-
|
|
6
|
+
variantStyle?: 'outlined' | 'underlined';
|
|
7
|
+
color?: ColorType;
|
|
8
|
+
label?: string;
|
|
5
9
|
required?: boolean;
|
|
10
|
+
errorMessages?: string[] | null;
|
|
11
|
+
warningMessages?: string[] | null;
|
|
12
|
+
successMessages?: string[] | null;
|
|
13
|
+
isReadOnly?: boolean;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
customRules?: ValidationRule[];
|
|
17
|
+
customWarningRules?: ValidationRule[];
|
|
18
|
+
customSuccessRules?: ValidationRule[];
|
|
19
|
+
showSuccessMessages?: boolean;
|
|
20
|
+
displayAsterisk?: boolean;
|
|
6
21
|
isValidateOnBlur?: boolean;
|
|
7
|
-
customRules?: any;
|
|
8
22
|
} & CustomizableOptions;
|
|
9
|
-
declare function validateOnSubmit(): boolean;
|
|
10
23
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
-
|
|
24
|
+
showEyeIcon: import('vue').Ref<boolean, boolean>;
|
|
25
|
+
errors: import('vue').Ref<string[], string[]>;
|
|
26
|
+
warnings: import('vue').Ref<string[], string[]>;
|
|
27
|
+
successes: import('vue').Ref<string[], string[]>;
|
|
28
|
+
hasError: import('vue').ComputedRef<boolean>;
|
|
29
|
+
hasWarning: import('vue').ComputedRef<boolean>;
|
|
30
|
+
hasSuccess: import('vue').ComputedRef<boolean>;
|
|
31
|
+
validateOnSubmit: () => boolean;
|
|
12
32
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
submit: (...args: any[]) => void;
|
|
14
33
|
"update:modelValue": (...args: any[]) => void;
|
|
34
|
+
submit: (...args: any[]) => void;
|
|
15
35
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
17
36
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
18
38
|
}>, {
|
|
19
39
|
required: boolean;
|
|
20
|
-
outlined: boolean;
|
|
21
40
|
modelValue: string | null;
|
|
22
|
-
|
|
41
|
+
variantStyle: "outlined" | "underlined";
|
|
42
|
+
color: ColorType;
|
|
43
|
+
label: string;
|
|
44
|
+
errorMessages: string[] | null;
|
|
45
|
+
warningMessages: string[] | null;
|
|
46
|
+
successMessages: string[] | null;
|
|
47
|
+
isReadOnly: boolean;
|
|
48
|
+
isDisabled: boolean;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
displayAsterisk: boolean;
|
|
51
|
+
customRules: ValidationRule[];
|
|
52
|
+
customWarningRules: ValidationRule[];
|
|
53
|
+
customSuccessRules: ValidationRule[];
|
|
54
|
+
showSuccessMessages: boolean;
|
|
23
55
|
isValidateOnBlur: boolean;
|
|
24
56
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
57
|
export default _default;
|