@cnamts/synapse-bridge
Advanced tools
Comparing version 1.1.8-alpha.0 to 1.1.9-alpha.0
import { ActionMethod } from 'vuex'; | ||
import type { AllLanguagesChar } from './types'; | ||
import { AllowedComponentProps } from 'vue'; | ||
import { ChipItem } from './types'; | ||
import { ComponentCustomProps } from 'vue'; | ||
import { ComponentOptionsMixin } from 'vue'; | ||
@@ -26,7 +24,11 @@ import { Computed } from 'vuex'; | ||
import { MenuItem } from './types'; | ||
import { Module } from 'vuex'; | ||
import { NavigationItem } from './types'; | ||
import { NotificationState } from './types'; | ||
import { Options } from './types'; | ||
import { Preferences } from './types'; | ||
import { PropType } from 'vue'; | ||
import { PublicProps } from 'vue'; | ||
import { Ref } from 'vue'; | ||
import { RootState } from '../'; | ||
import { RouteLocationRaw } from 'vue-router'; | ||
@@ -39,3 +41,2 @@ import { RouteRecordRaw } from 'vue-router'; | ||
import { ValidationRule } from '../../rules/types'; | ||
import { VNodeProps } from 'vue'; | ||
@@ -78,3 +79,3 @@ declare enum A11yComplianceEnum { | ||
dismissAlert(): void; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
type: { | ||
@@ -113,3 +114,3 @@ type: PropType<AlertTypeEnum>; | ||
}; | ||
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
hideBackIcon: { | ||
@@ -124,4 +125,4 @@ type: BooleanConstructor; | ||
}>>, { | ||
dark: boolean; | ||
hideBackIcon: boolean; | ||
dark: boolean; | ||
}, {}>; | ||
@@ -135,7 +136,7 @@ | ||
nudgeRight: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
type: (NumberConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
nudgeBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
type: (NumberConstructor | StringConstructor)[]; | ||
default: string; | ||
@@ -162,3 +163,3 @@ }; | ||
scrollToTop(): void; | ||
}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
threshold: { | ||
@@ -169,7 +170,7 @@ type: NumberConstructor; | ||
nudgeRight: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
type: (NumberConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
nudgeBottom: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
type: (NumberConstructor | StringConstructor)[]; | ||
default: string; | ||
@@ -211,3 +212,3 @@ }; | ||
emitResetEvent(): void; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
items: { | ||
@@ -237,3 +238,3 @@ type: PropType<ChipItem[]>; | ||
setHash(hash: string): void; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes<{ | ||
modelValue: { | ||
@@ -250,4 +251,4 @@ type: StringConstructor; | ||
}, { | ||
modelValue: string; | ||
items: MenuItem[]; | ||
modelValue: string; | ||
}, {}>; | ||
@@ -280,3 +281,3 @@ | ||
accept(): void; | ||
}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
cookiesRoute: { | ||
@@ -312,3 +313,3 @@ type: PropType<string | RouteRecordRaw>; | ||
submitForm(): Promise<void>; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", PublicProps, Readonly<ExtractPropTypes<{ | ||
items: { | ||
@@ -347,3 +348,3 @@ type: PropType<CookiesPageItems>; | ||
copy(): void; | ||
}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
label: { | ||
@@ -431,3 +432,3 @@ type: StringConstructor; | ||
widthStyles(): IndexedObject<string | undefined>; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
maxWidth: { | ||
@@ -449,3 +450,3 @@ type: NumberOrNumberString; | ||
width: string | number | undefined; | ||
}, {}>, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}>, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
items: { | ||
@@ -526,3 +527,3 @@ type: PropType<DataListItem[]>; | ||
emitItemAction(dataListIndex: number, itemIndex: number): void; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "click:list-item"[], "click:list-item", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "click:list-item"[], "click:list-item", PublicProps, Readonly<ExtractPropTypes<{ | ||
items: { | ||
@@ -598,3 +599,3 @@ type: PropType<DataListGroupItems>; | ||
setEventListeners(): Promise<void>; | ||
}, Customizable, ComponentOptionsMixin, ("update:modelValue" | "cancel" | "confirm")[], "update:modelValue" | "cancel" | "confirm", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, ("update:modelValue" | "cancel" | "confirm")[], "update:modelValue" | "cancel" | "confirm", PublicProps, Readonly<ExtractPropTypes<{ | ||
modelValue: { | ||
@@ -634,4 +635,4 @@ type: BooleanConstructor; | ||
title: string; | ||
modelValue: boolean; | ||
width: string; | ||
modelValue: boolean; | ||
persistent: boolean; | ||
@@ -687,3 +688,3 @@ cancelBtnText: string; | ||
mobileVersion(): boolean; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
pageTitle: { | ||
@@ -833,3 +834,3 @@ type: StringConstructor; | ||
scrollToTop(): void; | ||
}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
a11yCompliance: { | ||
@@ -929,3 +930,3 @@ type: PropType<A11yComplianceEnum>; | ||
export declare const FooterWrapper: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>; | ||
export declare const FooterWrapper: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>; | ||
@@ -951,3 +952,3 @@ export declare const FranceConnectBtn: DefineComponent<{ | ||
infoLinkUrl(): string; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
href: { | ||
@@ -1045,3 +1046,3 @@ type: StringConstructor; | ||
onScroll(event: MouseEvent): void; | ||
}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
theme: { | ||
@@ -1130,3 +1131,3 @@ type: PropType<ThemeEnum>; | ||
}; | ||
}, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
width: { | ||
@@ -1172,3 +1173,3 @@ type: StringConstructor; | ||
updateLang(lang: string): void; | ||
}, Customizable, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes<{ | ||
availableLanguages: { | ||
@@ -1243,3 +1244,3 @@ type: PropType<string[] | "*">; | ||
label(): string; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
hideSignature: { | ||
@@ -1355,3 +1356,3 @@ type: BooleanConstructor; | ||
logoSize(): LogoSizeEnum; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
theme: { | ||
@@ -1411,3 +1412,3 @@ type: PropType<ThemeEnum>; | ||
}; | ||
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>; | ||
}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>; | ||
@@ -1427,4 +1428,6 @@ export declare const NotFoundPage: DefineComponent<{}, {}, { | ||
supportId(): string | null; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{}>>, {}, {}>; | ||
export declare const notification: Module<NotificationState, RootState>; | ||
export declare const NotificationBar: DefineComponent<{ | ||
@@ -1458,3 +1461,3 @@ closeBtnText: { | ||
dispatchClearNotification: ActionMethod; | ||
}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
closeBtnText: { | ||
@@ -1498,3 +1501,3 @@ type: StringConstructor; | ||
containerSize(): number; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
size: { | ||
@@ -1551,3 +1554,3 @@ type: StringConstructor; | ||
emitChangeEvent(): void; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", PublicProps, Readonly<ExtractPropTypes<{ | ||
modelValue: { | ||
@@ -1569,7 +1572,92 @@ type: StringConstructor; | ||
}, { | ||
modelValue: string; | ||
outlined: boolean; | ||
modelValue: string; | ||
required: boolean; | ||
}, {}>; | ||
export declare const RatingPicker: DefineComponent<{ | ||
type: { | ||
type: StringConstructor; | ||
required: true; | ||
validator: (value: string) => boolean; | ||
}; | ||
label: { | ||
type: PropType<string | null>; | ||
default: null; | ||
}; | ||
readonly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
itemLabels: { | ||
type: PropType<string[]>; | ||
default: null; | ||
}; | ||
twoEmotions: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
hideAlert: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
modelValue: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
}, unknown, { | ||
locales: { | ||
thanks: string; | ||
}; | ||
AlertTypeEnum: typeof AlertTypeEnum; | ||
internalValue: number; | ||
displayAdditionalContent: boolean; | ||
}, { | ||
ratingComponent(): string; | ||
length(): number | undefined; | ||
hasAnswered(): boolean; | ||
}, { | ||
showAdditionalContent(value: number): void; | ||
setValue(value: number): void; | ||
}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes<{ | ||
type: { | ||
type: StringConstructor; | ||
required: true; | ||
validator: (value: string) => boolean; | ||
}; | ||
label: { | ||
type: PropType<string | null>; | ||
default: null; | ||
}; | ||
readonly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
itemLabels: { | ||
type: PropType<string[]>; | ||
default: null; | ||
}; | ||
twoEmotions: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
hideAlert: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
modelValue: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
label: string | null; | ||
modelValue: number; | ||
readonly: boolean; | ||
itemLabels: string[]; | ||
twoEmotions: boolean; | ||
hideAlert: boolean; | ||
}, {}>; | ||
export declare const SelectBtnField: DefineComponent<{ | ||
@@ -1623,3 +1711,3 @@ modelValue: { | ||
toggleItem(item: SelectBtnItem): void; | ||
}, Customizable, ComponentOptionsMixin, ("update:modelValue" | "update:error" | "update:error-messages")[], "update:modelValue" | "update:error" | "update:error-messages", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, Customizable, ComponentOptionsMixin, ("update:modelValue" | "update:error" | "update:error-messages")[], "update:modelValue" | "update:error" | "update:error-messages", PublicProps, Readonly<ExtractPropTypes<{ | ||
modelValue: { | ||
@@ -1667,10 +1755,10 @@ type: PropType<SelectBtnValue>; | ||
label: string; | ||
modelValue: SelectBtnValue; | ||
items: SelectBtnItem[]; | ||
modelValue: SelectBtnValue; | ||
readonly: boolean; | ||
multiple: boolean; | ||
inline: boolean; | ||
hint: string; | ||
error: boolean; | ||
multiple: boolean; | ||
errorMessages: string[]; | ||
hint: string; | ||
inline: boolean; | ||
readonly: boolean; | ||
}, {}>; | ||
@@ -1694,3 +1782,3 @@ | ||
}; | ||
}, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, unknown, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
label: { | ||
@@ -1762,3 +1850,3 @@ type: StringConstructor; | ||
widthStyles(): IndexedObject<string | undefined>; | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
maxWidth: { | ||
@@ -1780,3 +1868,3 @@ type: NumberOrNumberString; | ||
width: string | number | undefined; | ||
}, {}>, ComponentOptionsMixin, ("click:list-item" | "back")[], "click:list-item" | "back", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}>, ComponentOptionsMixin, ("click:list-item" | "back")[], "click:list-item" | "back", PublicProps, Readonly<ExtractPropTypes<{ | ||
hideBackBtn: { | ||
@@ -1871,3 +1959,3 @@ type: BooleanConstructor; | ||
isMobileWithIcon(): boolean; | ||
}, {}, Customizable, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ | ||
}, {}, Customizable, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{ | ||
fullName: { | ||
@@ -1874,0 +1962,0 @@ type: StringConstructor; |
{ | ||
"name": "@cnamts/synapse-bridge", | ||
"version": "1.1.8-alpha.0", | ||
"version": "1.1.9-alpha.0", | ||
"description": "Portage of our components to Vue 3 without breaking changes", | ||
@@ -70,3 +70,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "6d80af79673fa3022e73edf6f8036b89f2cb3959" | ||
"gitHead": "0eef47322e67100ee753316314ebb563c407f2b4" | ||
} |
export * from './elements' | ||
export * from './patterns' | ||
export * from './templates' | ||
export { notification } from './modules/notification' |
@@ -6,2 +6,3 @@ export { default as AlertWrapper } from './AlertWrapper' | ||
export { default as FooterBar } from './FooterBar' | ||
export { default as RatingPicker } from './RatingPicker' | ||
export { default as FooterWrapper } from './FooterWrapper' | ||
@@ -8,0 +9,0 @@ export { default as HeaderBar } from './HeaderBar' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2096914
324
16308