@omniumretail/component-library 1.2.69 → 1.2.71
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/component-library.umd.js +1154 -0
- package/dist/components/AnalyticsBar/AnalyticsBar.stories.d.ts +5 -0
- package/dist/{types/components → components}/AnalyticsBar/helpers/codeMutation.d.ts +2 -2
- package/dist/{types/components → components}/AnalyticsBar/index.d.ts +2 -1
- package/dist/components/BellNotifications/BellNotifications.stories.d.ts +5 -0
- package/dist/components/Button/Button.stories.d.ts +6 -0
- package/dist/{types/components → components}/Button/index.d.ts +2 -1
- package/dist/components/Category/Category.stories.d.ts +3 -0
- package/dist/{types/components → components}/Category/index.d.ts +2 -1
- package/dist/components/CategoryReadOnly/CategoryReadOnly.stories.d.ts +3 -0
- package/dist/{types/components → components}/CategoryReadOnly/index.d.ts +2 -1
- package/dist/components/CategoryResponse/CategoryResponse.stories.d.ts +3 -0
- package/dist/{types/components → components}/CategoryResponse/index.d.ts +3 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts +5 -0
- package/dist/{types/components → components}/DatePicker/index.d.ts +2 -1
- package/dist/components/DatePickerTag/DatePickerTag.stories.d.ts +5 -0
- package/dist/{types/components → components}/DatePickerTag/index.d.ts +2 -1
- package/dist/components/DropdownButton/DropdownButton.stories.d.ts +5 -0
- package/dist/{types/components → components}/DropdownButton/index.d.ts +3 -2
- package/dist/components/ExportTableData/ExportTableData.stories.d.ts +3 -0
- package/dist/components/Footer/Footer.stories.d.ts +5 -0
- package/dist/components/Footer2/Footer.stories.d.ts +6 -0
- package/dist/{types/components → components}/Footer2/index.d.ts +2 -1
- package/dist/{types/components → components}/Header/Header.data.d.ts +2 -1
- package/dist/components/Header/Header.stories.d.ts +5 -0
- package/dist/{types/components → components}/Header/Header.types.d.ts +2 -1
- package/dist/{types/components → components}/Header/index.d.ts +2 -1
- package/dist/components/Input/Input.stories.d.ts +5 -0
- package/dist/{types/components → components}/Input/index.d.ts +2 -1
- package/dist/{types/components → components}/InputCountryCode/index.d.ts +2 -1
- package/dist/components/InputCountryCode/inputCountryCode.stories.d.ts +5 -0
- package/dist/components/Label/Label.stories.d.ts +6 -0
- package/dist/components/Link/Link.stories.d.ts +7 -0
- package/dist/{types/components → components}/Link/index.d.ts +2 -1
- package/dist/components/Menu/Menu.stories.d.ts +5 -0
- package/dist/{types/components → components}/Menu/helpers/codeMutation.d.ts +2 -2
- package/dist/{types/components → components}/Menu/index.d.ts +2 -1
- package/dist/components/MobileTable/MobileTable.stories.d.ts +5 -0
- package/dist/{types/components → components}/MobileTable/index.d.ts +2 -1
- package/dist/components/ModalConfirmation/ModalConfirmation.stories.d.ts +5 -0
- package/dist/components/ModalWithTable/ModalWithTable.stories.d.ts +5 -0
- package/dist/{types/components → components}/ModalWithTable/index.d.ts +2 -1
- package/dist/components/Navigation/Navigation.stories.d.ts +5 -0
- package/dist/components/Notification/Notification.stories.d.ts +5 -0
- package/dist/{types/components → components}/Notification/index.d.ts +2 -1
- package/dist/components/Questions/Questions.stories.d.ts +3 -0
- package/dist/components/Radio/Radio.stories.d.ts +5 -0
- package/dist/{types/components → components}/Radio/index.d.ts +3 -2
- package/dist/components/ResponseType/ResponseType.stories.d.ts +3 -0
- package/dist/components/ResponsiveTable/ResponsiveTable.stories.d.ts +9 -0
- package/dist/{types/components → components}/ResponsiveTable/index.d.ts +2 -1
- package/dist/components/Select/Select.stories.d.ts +6 -0
- package/dist/{types/components → components}/Select/index.d.ts +2 -1
- package/dist/components/Separator/Separator.stories.d.ts +6 -0
- package/dist/components/Sidebar/Sidebar.stories.d.ts +6 -0
- package/dist/components/Switch/Switch.stories.d.ts +5 -0
- package/dist/{types/components → components}/Switch/index.d.ts +2 -1
- package/dist/components/Table/Table.stories.d.ts +9 -0
- package/dist/{types/components → components}/Table/index.d.ts +2 -1
- package/dist/components/Tag/Tag.stories.d.ts +5 -0
- package/dist/{types/components → components}/Tag/index.d.ts +3 -2
- package/dist/components/Upload/Upload.stories.d.ts +3 -0
- package/dist/{types/components → components}/Upload/index.d.ts +3 -2
- package/dist/components/UserInfo/UserInfo.stories.d.ts +3 -0
- package/dist/components/WebCam/WebCam.stories.d.ts +3 -0
- package/dist/{types/components → components}/WebCam/index.d.ts +2 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.ts +0 -0
- package/dist/locales/en.json.d.ts +144 -0
- package/dist/locales/es.json.d.ts +144 -0
- package/dist/locales/pt.json.d.ts +145 -0
- package/dist/types/index.d.ts +2 -3
- package/package.json +24 -120
- package/src/components/AnalyticsBar/AnalyticsBar.stories.tsx +2 -2
- package/src/components/BellNotifications/BellNotifications.stories.tsx +2 -2
- package/src/components/Button/Button.stories.tsx +2 -2
- package/src/components/Category/Category.stories.tsx +2 -2
- package/src/components/CategoryReadOnly/CategoryReadOnly.stories.tsx +3 -3
- package/src/components/CategoryResponse/CategoryResponse.stories.tsx +4 -5
- package/src/components/DatePicker/DatePicker.stories.tsx +2 -2
- package/src/components/DatePickerTag/DatePickerTag.stories.tsx +2 -2
- package/src/components/DatePickerTag/index.tsx +3 -3
- package/src/components/DropdownButton/DropdownButton.stories.tsx +2 -2
- package/src/components/ExportTableData/ExportTableData.stories.tsx +2 -2
- package/src/components/Footer/Footer.stories.tsx +2 -2
- package/src/components/Footer/index.tsx +6 -6
- package/src/components/Footer2/Footer.stories.tsx +4 -4
- package/src/components/Footer2/index.tsx +6 -6
- package/src/components/Header/Header.stories.tsx +2 -2
- package/src/components/Header/Header.types.ts +1 -1
- package/src/components/Input/Input.stories.tsx +2 -2
- package/src/components/InputCountryCode/inputCountryCode.stories.tsx +2 -2
- package/src/components/Label/Label.stories.tsx +2 -2
- package/src/components/Link/Link.stories.tsx +2 -2
- package/src/components/Menu/Menu.stories.tsx +2 -2
- package/src/components/MobileTable/MobileTable.stories.tsx +2 -2
- package/src/components/ModalConfirmation/ModalConfirmation.stories.tsx +2 -2
- package/src/components/ModalWithTable/ModalWithTable.stories.tsx +2 -2
- package/src/components/Navigation/Navigation.stories.tsx +2 -2
- package/src/components/Notification/Notification.stories.tsx +3 -3
- package/src/components/Questions/Questions.stories.tsx +2 -2
- package/src/components/Questions/index.tsx +1 -1
- package/src/components/Radio/Radio.stories.tsx +2 -2
- package/src/components/ResponseType/ResponseType.stories.tsx +2 -2
- package/src/components/ResponsiveTable/ResponsiveTable.stories.tsx +2 -2
- package/src/components/Select/Select.stories.tsx +2 -2
- package/src/components/Separator/Separator.stories.tsx +2 -2
- package/src/components/Sidebar/Sidebar.stories.tsx +2 -2
- package/src/components/Switch/Switch.stories.tsx +2 -2
- package/src/components/Table/Table.stories.tsx +2 -2
- package/src/components/Tag/Tag.stories.tsx +2 -2
- package/src/components/Upload/Upload.stories.tsx +3 -3
- package/src/components/UserInfo/UserInfo.stories.tsx +2 -2
- package/src/components/WebCam/WebCam.stories.tsx +2 -2
- package/src/constants/i18n.ts +1 -1
- package/tsconfig.json +11 -16
- package/vite.config.js +51 -0
- package/dist/780.bundle.js +0 -1
- package/dist/838.bundle.js +0 -2
- package/dist/838.bundle.js.LICENSE.txt +0 -1
- package/dist/bundle.js +0 -2
- package/dist/bundle.js.LICENSE.txt +0 -461
- package/dist/main.css +0 -36
- package/dist/types/components/AnalyticsBar/AnalyticsBar.stories.d.ts +0 -5
- package/dist/types/components/BellNotifications/BellNotifications.stories.d.ts +0 -5
- package/dist/types/components/Button/Button.stories.d.ts +0 -6
- package/dist/types/components/Category/Category.stories.d.ts +0 -4
- package/dist/types/components/CategoryReadOnly/CategoryReadOnly.stories.d.ts +0 -4
- package/dist/types/components/CategoryResponse/CategoryResponse.stories.d.ts +0 -4
- package/dist/types/components/DatePicker/DatePicker.stories.d.ts +0 -5
- package/dist/types/components/DatePickerTag/DatePickerTag.stories.d.ts +0 -5
- package/dist/types/components/DropdownButton/DropdownButton.stories.d.ts +0 -5
- package/dist/types/components/ExportTableData/ExportTableData.stories.d.ts +0 -4
- package/dist/types/components/Footer/Footer.stories.d.ts +0 -5
- package/dist/types/components/Footer2/Footer.stories.d.ts +0 -6
- package/dist/types/components/Header/Header.stories.d.ts +0 -5
- package/dist/types/components/Input/Input.stories.d.ts +0 -5
- package/dist/types/components/InputCountryCode/inputCountryCode.stories.d.ts +0 -5
- package/dist/types/components/Label/Label.stories.d.ts +0 -6
- package/dist/types/components/Link/Link.stories.d.ts +0 -7
- package/dist/types/components/Menu/Menu.stories.d.ts +0 -5
- package/dist/types/components/MobileTable/MobileTable.stories.d.ts +0 -5
- package/dist/types/components/MobileTable/UserInfoTable/index.d.ts +0 -21
- package/dist/types/components/ModalConfirmation/ModalConfirmation.stories.d.ts +0 -5
- package/dist/types/components/ModalWithTable/ModalWithTable.stories.d.ts +0 -5
- package/dist/types/components/Navigation/Navigation.stories.d.ts +0 -5
- package/dist/types/components/Notification/Notification.stories.d.ts +0 -5
- package/dist/types/components/Questions/Questions.stories.d.ts +0 -4
- package/dist/types/components/Radio/Radio.stories.d.ts +0 -5
- package/dist/types/components/ResponseType/Category.stories.d.ts +0 -4
- package/dist/types/components/ResponseType/ResponseType.stories.d.ts +0 -4
- package/dist/types/components/ResponsiveTable/ResponsiveTable.stories.d.ts +0 -9
- package/dist/types/components/Select/Select.stories.d.ts +0 -6
- package/dist/types/components/Separator/Separator.stories.d.ts +0 -6
- package/dist/types/components/Sidebar/Sidebar.stories.d.ts +0 -6
- package/dist/types/components/Switch/Switch.stories.d.ts +0 -5
- package/dist/types/components/Table/Table.stories.d.ts +0 -9
- package/dist/types/components/Tag/Tag.stories.d.ts +0 -5
- package/dist/types/components/Upload/Upload.stories.d.ts +0 -4
- package/dist/types/components/UserInfo/UserInfo.stories.d.ts +0 -4
- package/dist/types/components/WebCam/WebCam.stories.d.ts +0 -4
- package/webpack.config.js +0 -51
- /package/dist/{types/components → components}/AnalyticsBar/interfaces/analyticsBar.d.ts +0 -0
- /package/dist/{types/components → components}/BellNotifications/index.d.ts +0 -0
- /package/dist/{types/components → components}/Category/CategoryContent/index.d.ts +0 -0
- /package/dist/{types/components → components}/Category/CategorySidebar/index.d.ts +0 -0
- /package/dist/{types/components → components}/CategoryReadOnly/evaluationOptions.d.ts +0 -0
- /package/dist/{types/components → components}/CategoryResponse/evaluationOptions.d.ts +0 -0
- /package/dist/{types/components → components}/ExportTableData/index.d.ts +0 -0
- /package/dist/{types/components → components}/Footer/index.d.ts +0 -0
- /package/dist/{types/components → components}/Label/index.d.ts +0 -0
- /package/dist/{types/components → components}/ModalConfirmation/ModalStatusList.d.ts +0 -0
- /package/dist/{types/components → components}/ModalConfirmation/index.d.ts +0 -0
- /package/dist/{types/components → components}/Navigation/index.d.ts +0 -0
- /package/dist/{types/components → components}/Questions/SingleQuestion/index.d.ts +0 -0
- /package/dist/{types/components → components}/Questions/index.d.ts +0 -0
- /package/dist/{types/components → components}/ResponseType/index.d.ts +0 -0
- /package/dist/{types/components → components}/Separator/index.d.ts +0 -0
- /package/dist/{types/components → components}/Sidebar/index.d.ts +0 -0
- /package/dist/{types/components → components}/UserInfo/index.d.ts +0 -0
- /package/dist/{types/components → components}/index.d.ts +0 -0
- /package/dist/{types/constants → constants}/i18n.d.ts +0 -0
- /package/dist/{types/constants → constants}/logoCompanyHelper.d.ts +0 -0
- /package/dist/{types/constants → constants}/translationHelper.d.ts +0 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"tableHeadings": {
|
|
3
|
+
"key": "Key",
|
|
4
|
+
"name": "Name",
|
|
5
|
+
"mecanographicNumber": "Employee Code",
|
|
6
|
+
"store": "Store",
|
|
7
|
+
"role": "Role",
|
|
8
|
+
"type": "Type",
|
|
9
|
+
"id": "ID",
|
|
10
|
+
"action": "Action"
|
|
11
|
+
},
|
|
12
|
+
"userInfoColumn": {
|
|
13
|
+
"Date": "Date",
|
|
14
|
+
"Store": "Store",
|
|
15
|
+
"Team": "Team",
|
|
16
|
+
"Supervisor": "Supervisor",
|
|
17
|
+
"TypeOfContract": "Contract Type",
|
|
18
|
+
"Nationality": "Nationality",
|
|
19
|
+
"CivilStatus": "Civil Status",
|
|
20
|
+
"IdentificationDocument": "Identification Document",
|
|
21
|
+
"NTaxpayer": "Taxpayer Number",
|
|
22
|
+
"NIB": "NIB",
|
|
23
|
+
"SocialSecurity": "Social Security",
|
|
24
|
+
"NChildren": "Number of Children",
|
|
25
|
+
"Workload": "Workload",
|
|
26
|
+
"Description": "Description",
|
|
27
|
+
"Comments": "Comments"
|
|
28
|
+
},
|
|
29
|
+
"navigation": {
|
|
30
|
+
"back": "Back",
|
|
31
|
+
"logout": "Logout",
|
|
32
|
+
"home": "Home",
|
|
33
|
+
"profile": "Profile",
|
|
34
|
+
"notifications": "Notifications",
|
|
35
|
+
"create": "Create",
|
|
36
|
+
"delete": "Delete",
|
|
37
|
+
"edit": "Edit",
|
|
38
|
+
"export": "Export",
|
|
39
|
+
"print": "Print",
|
|
40
|
+
"update": "Update"
|
|
41
|
+
},
|
|
42
|
+
"actions": {
|
|
43
|
+
"one": "One",
|
|
44
|
+
"two": "Two"
|
|
45
|
+
},
|
|
46
|
+
"components": {
|
|
47
|
+
"category": {
|
|
48
|
+
"addQuestion": "Add Question",
|
|
49
|
+
"placeholderInfo": "Marker Information",
|
|
50
|
+
"errorInfo": "Information Error",
|
|
51
|
+
"placeholderQuestion": "Question",
|
|
52
|
+
"placeholderResponse": "Answer",
|
|
53
|
+
"errorQuestion": "Error/Missing Question",
|
|
54
|
+
"placeholderGrade": "Grade",
|
|
55
|
+
"errorGrade": "Error/Missing Grade",
|
|
56
|
+
"newCategory": "New Category",
|
|
57
|
+
"mandatoryAnswer": "Mandatory answer",
|
|
58
|
+
"emphasisAnswer": "Highlight",
|
|
59
|
+
"responseType": "Response Type",
|
|
60
|
+
"errorResponseType": "Response type missing",
|
|
61
|
+
"header": "Header",
|
|
62
|
+
"color": "Assigned colour",
|
|
63
|
+
"flagged": "Emphasise",
|
|
64
|
+
"multipleChoise": "Multiple selection",
|
|
65
|
+
"placeholderScore": "Score",
|
|
66
|
+
"answerNameIsMissing": "Missing name",
|
|
67
|
+
"typeResponseNameIsMissing": "Name of the missing answer type",
|
|
68
|
+
"responseTypeName": "Name of response type",
|
|
69
|
+
"store": "Store",
|
|
70
|
+
"date": "Date",
|
|
71
|
+
"author": "Author"
|
|
72
|
+
},
|
|
73
|
+
"categorySidBar": {
|
|
74
|
+
"addCategory": "Add Category",
|
|
75
|
+
"removeCategory": "Remove Category",
|
|
76
|
+
"categories": "Categories"
|
|
77
|
+
},
|
|
78
|
+
"categoryContent": {
|
|
79
|
+
"message": "Please select a category in the sidebar",
|
|
80
|
+
"categoryName": "Category Name",
|
|
81
|
+
"tamplateName": "Template Name",
|
|
82
|
+
"editCategory": "Edit Category",
|
|
83
|
+
"categoryNameError": "Error/Missing Category Name",
|
|
84
|
+
"templateNameError": "Error/Missing Template Name",
|
|
85
|
+
"weighting": "Weighting",
|
|
86
|
+
"openAnswer": "Open Answer",
|
|
87
|
+
"yesNoAnswer": "Yes/No Answer",
|
|
88
|
+
"answerOption": "Answer Option",
|
|
89
|
+
"answers": "Answers"
|
|
90
|
+
},
|
|
91
|
+
"categoryResponse": {
|
|
92
|
+
"notApplicable": "Not Applicable",
|
|
93
|
+
"answer": "Answer",
|
|
94
|
+
"yes": "Yes",
|
|
95
|
+
"no": "No",
|
|
96
|
+
"note": "Note",
|
|
97
|
+
"actions": "Actions",
|
|
98
|
+
"editNote": "Edit Note",
|
|
99
|
+
"addNote": "Add Note",
|
|
100
|
+
"createAction": "Action",
|
|
101
|
+
"loadFile": "Media",
|
|
102
|
+
"placeholderForMultiple": "Select one or more options",
|
|
103
|
+
"placeholderForSingular": "Select an option"
|
|
104
|
+
},
|
|
105
|
+
"categoryReadOnly": {
|
|
106
|
+
"categories": "Categories",
|
|
107
|
+
"categoryAverage": "Category Average",
|
|
108
|
+
"userResponse": "User Response:",
|
|
109
|
+
"supervisorResponse": "Supervisor Response:"
|
|
110
|
+
},
|
|
111
|
+
"analyticsBar": {
|
|
112
|
+
"desc": "Descending",
|
|
113
|
+
"asc": "Ascending"
|
|
114
|
+
},
|
|
115
|
+
"tag": {
|
|
116
|
+
"search": "Search",
|
|
117
|
+
"advancedFields": "Advanced Filters",
|
|
118
|
+
"State": "State",
|
|
119
|
+
"inactiveSwitch": "Include inactives"
|
|
120
|
+
},
|
|
121
|
+
"table": {
|
|
122
|
+
"selectAll": "Select All",
|
|
123
|
+
"deselectAll": "Deselect All"
|
|
124
|
+
},
|
|
125
|
+
"datePickerTag": {
|
|
126
|
+
"placeholder": "Select Date"
|
|
127
|
+
},
|
|
128
|
+
"webCam": {
|
|
129
|
+
"takePhoto": "Take Photo",
|
|
130
|
+
"confirm": "Confirm",
|
|
131
|
+
"takeAgain": "Take Again"
|
|
132
|
+
},
|
|
133
|
+
"upload": {
|
|
134
|
+
"loadFile": "Upload file"
|
|
135
|
+
},
|
|
136
|
+
"bellNotifications": {
|
|
137
|
+
"noNotifications": "No notifications",
|
|
138
|
+
"onlyShowNoRead": "Only show unread",
|
|
139
|
+
"markAllAsRead": "Mark all as read"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export default _default;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"tableHeadings": {
|
|
3
|
+
"key": "Clave",
|
|
4
|
+
"name": "Nombre",
|
|
5
|
+
"mecanographicNumber": "Código de Empleado",
|
|
6
|
+
"store": "Tienda",
|
|
7
|
+
"role": "Rol",
|
|
8
|
+
"type": "Tipo",
|
|
9
|
+
"id": "ID",
|
|
10
|
+
"action": "Acción"
|
|
11
|
+
},
|
|
12
|
+
"userInfoColumn": {
|
|
13
|
+
"Date": "Fecha",
|
|
14
|
+
"Store": "Tienda",
|
|
15
|
+
"Team": "Equipo",
|
|
16
|
+
"Supervisor": "Supervisor",
|
|
17
|
+
"TypeOfContract": "Tipo de Contrato",
|
|
18
|
+
"Nationality": "Nacionalidad",
|
|
19
|
+
"CivilStatus": "Estado Civil",
|
|
20
|
+
"IdentificationDocument": "Documento de Identificación",
|
|
21
|
+
"NTaxpayer": "Número de Contribuyente",
|
|
22
|
+
"NIB": "NIB",
|
|
23
|
+
"SocialSecurity": "Seguro Social",
|
|
24
|
+
"NChildren": "Número de Hijos",
|
|
25
|
+
"Workload": "Carga de Trabajo",
|
|
26
|
+
"Description": "Descripción",
|
|
27
|
+
"Comments": "Comentarios"
|
|
28
|
+
},
|
|
29
|
+
"navigation": {
|
|
30
|
+
"back": "Atrás",
|
|
31
|
+
"logout": "Cerrar Sesión",
|
|
32
|
+
"home": "Inicio",
|
|
33
|
+
"profile": "Perfil",
|
|
34
|
+
"notifications": "Notificaciones",
|
|
35
|
+
"create": "Crear",
|
|
36
|
+
"delete": "Eliminar",
|
|
37
|
+
"edit": "Editar",
|
|
38
|
+
"export": "Exportar",
|
|
39
|
+
"print": "Imprimir",
|
|
40
|
+
"update": "Actualizar"
|
|
41
|
+
},
|
|
42
|
+
"actions": {
|
|
43
|
+
"one": "Uno",
|
|
44
|
+
"two": "Dos"
|
|
45
|
+
},
|
|
46
|
+
"components": {
|
|
47
|
+
"category": {
|
|
48
|
+
"addQuestion": "Agregar Pregunta",
|
|
49
|
+
"placeholderInfo": "Información de Marcador",
|
|
50
|
+
"errorInfo": "Error de Información",
|
|
51
|
+
"placeholderQuestion": "Pregunta",
|
|
52
|
+
"errorQuestion": "Error/Pregunta Faltante",
|
|
53
|
+
"placeholderResponse": "Respuesta",
|
|
54
|
+
"placeholderGrade": "Calificación",
|
|
55
|
+
"errorGrade": "Error/Calificación Faltante",
|
|
56
|
+
"newCategory": "Nueva Categoría",
|
|
57
|
+
"mandatoryAnswer": "Respuesta obligatoria",
|
|
58
|
+
"emphasisAnswer": "Resaltar",
|
|
59
|
+
"responseType": "Tipo de respuesta",
|
|
60
|
+
"errorResponseType": "Tipo de respuesta faltante",
|
|
61
|
+
"header": "Cabecera",
|
|
62
|
+
"color": "Color asignado",
|
|
63
|
+
"flagged": "Destacar",
|
|
64
|
+
"multipleChoise": "Selección múltiple",
|
|
65
|
+
"placeholderScore": "Puntuación",
|
|
66
|
+
"answerNameIsMissing": "Falta el nombre",
|
|
67
|
+
"typeResponseNameIsMissing": "Nombre del tipo de respuesta que falta",
|
|
68
|
+
"responseTypeName": "Nombre del tipo de respuesta",
|
|
69
|
+
"store": "Tienda",
|
|
70
|
+
"date": "Fecha",
|
|
71
|
+
"author": "Autor"
|
|
72
|
+
},
|
|
73
|
+
"categorySidBar": {
|
|
74
|
+
"addCategory": "Agregar Categoría",
|
|
75
|
+
"removeCategory": "Eliminar Categoría",
|
|
76
|
+
"categories": "Categorías"
|
|
77
|
+
},
|
|
78
|
+
"categoryContent": {
|
|
79
|
+
"message": "Por favor, seleccione una categoría en la barra lateral",
|
|
80
|
+
"categoryName": "Nombre de la Categoría",
|
|
81
|
+
"tamplateName": "Nome de la plantilla",
|
|
82
|
+
"editCategory": "Editar Categoría",
|
|
83
|
+
"categoryNameError": "Error/Nombre de Categoría Faltante",
|
|
84
|
+
"templateNameError": "Error/Nombre de la plantilla",
|
|
85
|
+
"weighting": "Ponderación",
|
|
86
|
+
"openAnswer": "Respuesta Abierta",
|
|
87
|
+
"yesNoAnswer": "Respuesta Si/No",
|
|
88
|
+
"answerOption": "Opción de Respuesta",
|
|
89
|
+
"answers": "Respuestas"
|
|
90
|
+
},
|
|
91
|
+
"categoryResponse": {
|
|
92
|
+
"notApplicable": "No Aplicable",
|
|
93
|
+
"answer": "Respuesta",
|
|
94
|
+
"yes": "Si",
|
|
95
|
+
"no": "No",
|
|
96
|
+
"note": "Nota",
|
|
97
|
+
"actions": "Acciones",
|
|
98
|
+
"editNote": "Editar Nota",
|
|
99
|
+
"addNote": "Agregar Nota",
|
|
100
|
+
"createAction": "Acción",
|
|
101
|
+
"loadFile": "Media",
|
|
102
|
+
"placeholderForMultiple": "Seleccione una o más opciones",
|
|
103
|
+
"placeholderForSingular": "Seleccione una opción"
|
|
104
|
+
},
|
|
105
|
+
"categoryReadOnly": {
|
|
106
|
+
"categories": "Categorías",
|
|
107
|
+
"categoryAverage": "Promedio de la Categoría",
|
|
108
|
+
"userResponse": "Respuesta del Usuario:",
|
|
109
|
+
"supervisorResponse": "Respuesta del Supervisor:"
|
|
110
|
+
},
|
|
111
|
+
"analyticsBar": {
|
|
112
|
+
"desc": "Descendente",
|
|
113
|
+
"asc": "Ascendente"
|
|
114
|
+
},
|
|
115
|
+
"tag": {
|
|
116
|
+
"search": "Buscar",
|
|
117
|
+
"advancedFields": "Filtros Avanzados",
|
|
118
|
+
"State": "Estado",
|
|
119
|
+
"inactiveSwitch": "Incluir inactivos"
|
|
120
|
+
},
|
|
121
|
+
"table": {
|
|
122
|
+
"selectAll": "Seleccionar Todo",
|
|
123
|
+
"deselectAll": "Deseleccionar Todo"
|
|
124
|
+
},
|
|
125
|
+
"datePickerTag": {
|
|
126
|
+
"placeholder": "Seleccionar Fecha"
|
|
127
|
+
},
|
|
128
|
+
"webCam": {
|
|
129
|
+
"takePhoto": "Tomar foto",
|
|
130
|
+
"confirm": "Confirme",
|
|
131
|
+
"takeAgain": "Tomar de nuevo"
|
|
132
|
+
},
|
|
133
|
+
"upload": {
|
|
134
|
+
"loadFile": "Cargar archivo"
|
|
135
|
+
},
|
|
136
|
+
"bellNotifications": {
|
|
137
|
+
"noNotifications": "Sin notificaciones",
|
|
138
|
+
"onlyShowNoRead": "Mostrar sólo no leídas",
|
|
139
|
+
"markAllAsRead": "Marcar todo como leído"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export default _default;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"tableHeadings": {
|
|
3
|
+
"key": "Chave",
|
|
4
|
+
"name": "Nome",
|
|
5
|
+
"mecanographicNumber": "Número Mecanográfico",
|
|
6
|
+
"store": "Loja",
|
|
7
|
+
"role": "Posição",
|
|
8
|
+
"type": "Tipo",
|
|
9
|
+
"id": "Id",
|
|
10
|
+
"action": "Ações"
|
|
11
|
+
},
|
|
12
|
+
"userInfoColumn": {
|
|
13
|
+
"Date": "Data",
|
|
14
|
+
"Store": "Loja",
|
|
15
|
+
"Team": "Equipa em Gestão",
|
|
16
|
+
"Supervisor": "Supervisor",
|
|
17
|
+
"TypeOfContract": "Tipo de contrato",
|
|
18
|
+
"Nationality": "Nacionalidade",
|
|
19
|
+
"CivilStatus": "Estado Civil",
|
|
20
|
+
"IdentificationDocument": "Doc.Identificação",
|
|
21
|
+
"NTaxpayer": "Nº Contribuinte",
|
|
22
|
+
"NIB": "NIB",
|
|
23
|
+
"SocialSecurity": "Nr Segurança Social",
|
|
24
|
+
"NChildren": "Nº Filhos",
|
|
25
|
+
"Workload": "Carga horária",
|
|
26
|
+
"Description": "Descrição",
|
|
27
|
+
"Comments": "Comentários"
|
|
28
|
+
},
|
|
29
|
+
"navigation": {
|
|
30
|
+
"back": "Voltar",
|
|
31
|
+
"logout": "Terminar Sessão",
|
|
32
|
+
"home": "Início",
|
|
33
|
+
"profile": "Perfil",
|
|
34
|
+
"notifications": "Notificações",
|
|
35
|
+
"create": "Criar",
|
|
36
|
+
"delete": "Apagar",
|
|
37
|
+
"edit": "Editar",
|
|
38
|
+
"export": "Exportar",
|
|
39
|
+
"print": "Imprimir",
|
|
40
|
+
"update": "Atualizar"
|
|
41
|
+
},
|
|
42
|
+
"actions": {
|
|
43
|
+
"one": "um",
|
|
44
|
+
"two": "dois"
|
|
45
|
+
},
|
|
46
|
+
"components": {
|
|
47
|
+
"category": {
|
|
48
|
+
"addQuestion": "Adicionar questão",
|
|
49
|
+
"placeholderInfo": "Informação da questão",
|
|
50
|
+
"errorInfo": "Informação da questão em falta",
|
|
51
|
+
"placeholderQuestion": "Questão",
|
|
52
|
+
"placeholderResponse": "Resposta",
|
|
53
|
+
"errorQuestion": "Questão em falta",
|
|
54
|
+
"placeholderGrade": "Ponderação",
|
|
55
|
+
"errorGrade": "Ponderação em falta",
|
|
56
|
+
"newCategory": "Nova categoria",
|
|
57
|
+
"mandatoryAnswer": "Resposta obrigatória",
|
|
58
|
+
"emphasisAnswer": "Destaque",
|
|
59
|
+
"responseType": "Tipo de resposta",
|
|
60
|
+
"errorResponseType": "Tipo de resposta em falta",
|
|
61
|
+
"answerNameIsMissing": "Nome em falta",
|
|
62
|
+
"header": "Cabeçalho",
|
|
63
|
+
"color": "Cor atribuída",
|
|
64
|
+
"flagged": "Destacar",
|
|
65
|
+
"multipleChoise": "Seleção múltipla",
|
|
66
|
+
"placeholderScore": "Pontuação",
|
|
67
|
+
"typeResponseNameIsMissing": "Nome do tipo de resposta em falta",
|
|
68
|
+
"responseTypeName": "Nome do tipo de resposta",
|
|
69
|
+
"store": "Loja",
|
|
70
|
+
"date": "Data",
|
|
71
|
+
"author": "Autor"
|
|
72
|
+
},
|
|
73
|
+
"categorySidBar": {
|
|
74
|
+
"addCategory": "Adicionar categoria",
|
|
75
|
+
"removeCategory": "Remover categoria",
|
|
76
|
+
"categories": "Categorias"
|
|
77
|
+
},
|
|
78
|
+
"categoryContent": {
|
|
79
|
+
"message": "Por favor selecione uma categoria na barra lateral",
|
|
80
|
+
"categoryName": "Nome da categoria",
|
|
81
|
+
"tamplateName": "Nome do template",
|
|
82
|
+
"editCategory": "Editar Categoria",
|
|
83
|
+
"categoryNameError": "Nome categoria em falta",
|
|
84
|
+
"templateNameError": "Nome da template em falta",
|
|
85
|
+
"weighting": "Ponderação",
|
|
86
|
+
"openAnswer": "Resposta aberta",
|
|
87
|
+
"yesNoAnswer": "Resposta Sim/Não",
|
|
88
|
+
"answerOption": "Opção de resposta",
|
|
89
|
+
"answers": "Questões"
|
|
90
|
+
},
|
|
91
|
+
"categoryResponse": {
|
|
92
|
+
"notApplicable": "Não Aplicável",
|
|
93
|
+
"answer": "Resposta",
|
|
94
|
+
"yes": "Sim",
|
|
95
|
+
"no": "Não",
|
|
96
|
+
"note": "Nota",
|
|
97
|
+
"actions": "Ações",
|
|
98
|
+
"editNote": "Editar Nota",
|
|
99
|
+
"addNote": "Adicionar Nota",
|
|
100
|
+
"createAction": "Ação",
|
|
101
|
+
"loadFile": "Media",
|
|
102
|
+
"placeholderForMultiple": "Selecione uma ou mais opções",
|
|
103
|
+
"placeholderForSingular": "Selecione uma opção"
|
|
104
|
+
},
|
|
105
|
+
"categoryReadOnly": {
|
|
106
|
+
"categories": "Categorias",
|
|
107
|
+
"categoryAverage": "Ponderação da categoria",
|
|
108
|
+
"userResponse": "Resposta Utilizador:",
|
|
109
|
+
"supervisorResponse": "Resposta Supervisor:"
|
|
110
|
+
},
|
|
111
|
+
"analyticsBar": {
|
|
112
|
+
"desc": "Decrescente",
|
|
113
|
+
"asc": "Crescente"
|
|
114
|
+
},
|
|
115
|
+
"tag": {
|
|
116
|
+
"search": "Procurar",
|
|
117
|
+
"advancedFields": "Filtros avançados",
|
|
118
|
+
"State": "Estado",
|
|
119
|
+
"inactiveSwitch": "Incluir inativos"
|
|
120
|
+
},
|
|
121
|
+
"table": {
|
|
122
|
+
"selectAll": "Selecionar todos",
|
|
123
|
+
"deselectAll": "Desselecionar Todos"
|
|
124
|
+
},
|
|
125
|
+
"datePickerTag": {
|
|
126
|
+
"placeholder": "Selecionar Data"
|
|
127
|
+
},
|
|
128
|
+
"webCam": {
|
|
129
|
+
"takePhoto": "Tirar Foto",
|
|
130
|
+
"confirm": "Confirmar",
|
|
131
|
+
"takeAgain": "Tirar Novamente"
|
|
132
|
+
},
|
|
133
|
+
"upload": {
|
|
134
|
+
"loadFile": "Carregar ficheiro"
|
|
135
|
+
},
|
|
136
|
+
"bellNotifications": {
|
|
137
|
+
"noNotifications": "Sem notificações",
|
|
138
|
+
"onlyShowNoRead": "Mostrar apenas não lidas",
|
|
139
|
+
"markAllAsRead": "Marcar todas como lidas"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
;
|
|
144
|
+
|
|
145
|
+
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export
|
|
3
|
-
export * from './constants/logoCompanyHelper';
|
|
1
|
+
export * from '../index'
|
|
2
|
+
export {}
|
package/package.json
CHANGED
|
@@ -1,41 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omniumretail/component-library",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.71",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"
|
|
5
|
+
"main": "dist/component-library.umd.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@ant-design/icons": "^4.8.0",
|
|
9
|
-
"@
|
|
10
|
-
"@testing-library/jest-dom": "^5.14.1",
|
|
9
|
+
"@hello-pangea/dnd": "^18.0.1",
|
|
11
10
|
"@testing-library/react": "^13.0.0",
|
|
12
11
|
"@testing-library/user-event": "^13.2.1",
|
|
13
|
-
"@types/jest": "^29.2.4",
|
|
14
12
|
"@types/node": "^18.11.11",
|
|
15
13
|
"@types/react": "^18.0.26",
|
|
16
14
|
"@types/react-beautiful-dnd": "^13.1.3",
|
|
17
15
|
"@types/react-dom": "^18.0.9",
|
|
18
16
|
"antd": "^5.18.3",
|
|
19
17
|
"antd-img-crop": "^4.10.2",
|
|
20
|
-
"babel-jest": "^27.4.2",
|
|
21
|
-
"babel-loader": "^8.2.3",
|
|
22
|
-
"babel-plugin-named-asset-import": "^0.3.8",
|
|
23
|
-
"babel-preset-react-app": "^10.0.1",
|
|
24
18
|
"browser-image-compression": "^2.0.2",
|
|
25
19
|
"browserslist": "^4.18.1",
|
|
26
20
|
"camelcase": "^6.2.1",
|
|
27
|
-
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
28
21
|
"classnames": "^2.3.2",
|
|
29
|
-
"
|
|
30
|
-
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
22
|
+
"dayjs": "^1.11.10",
|
|
31
23
|
"dotenv": "^10.0.0",
|
|
32
24
|
"dotenv-expand": "^5.1.0",
|
|
33
25
|
"eslint": "^8.3.0",
|
|
34
26
|
"eslint-config-react-app": "^7.0.1",
|
|
35
|
-
"eslint-webpack-plugin": "^3.1.1",
|
|
36
|
-
"file-loader": "^6.2.0",
|
|
37
27
|
"fs-extra": "^10.0.0",
|
|
38
|
-
"html-webpack-plugin": "^5.5.0",
|
|
39
28
|
"html2canvas": "^1.4.1",
|
|
40
29
|
"i18next": "^22.4.9",
|
|
41
30
|
"i18next-browser-languagedetector": "^7.0.1",
|
|
@@ -46,53 +35,30 @@
|
|
|
46
35
|
"jest-watch-typeahead": "^1.0.0",
|
|
47
36
|
"jspdf": "^2.5.2",
|
|
48
37
|
"lodash.merge": "^4.6.2",
|
|
49
|
-
"mini-css-extract-plugin": "^2.7.2",
|
|
50
|
-
"moment": "^2.29.4",
|
|
51
38
|
"postcss": "^8.4.4",
|
|
52
|
-
"postcss-loader": "^6.2.1",
|
|
53
39
|
"prompts": "^2.4.2",
|
|
54
40
|
"rc-tween-one": "^3.0.6",
|
|
55
41
|
"react": "^18.2.0",
|
|
56
42
|
"react-app-polyfill": "^3.0.0",
|
|
57
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
58
|
-
"react-dev-utils": "^12.0.1",
|
|
59
43
|
"react-dom": "^18.2.0",
|
|
60
44
|
"react-easy-crop": "^4.7.4",
|
|
61
45
|
"react-i18next": "^12.1.4",
|
|
62
46
|
"react-webcam": "^7.1.1",
|
|
63
47
|
"sass": "^1.56.1",
|
|
64
48
|
"sass-loader": "^12.3.0",
|
|
65
|
-
"style-loader": "^3.3.1",
|
|
66
|
-
"terser-webpack-plugin": "^5.2.5",
|
|
67
49
|
"typescript": "^4.9.3",
|
|
68
|
-
"url-loader": "^4.1.1",
|
|
69
50
|
"web-vitals": "^2.1.0",
|
|
70
51
|
"xlsx": "^0.18.5"
|
|
71
52
|
},
|
|
72
53
|
"scripts": {
|
|
73
|
-
"prepublish": "
|
|
74
|
-
"
|
|
75
|
-
"build": "
|
|
76
|
-
"
|
|
77
|
-
"storybook": "
|
|
78
|
-
"build-storybook": "
|
|
79
|
-
"deploy": "aws s3 sync storybook-static/ s3://changeToBucketName"
|
|
80
|
-
|
|
81
|
-
"eslintConfig": {
|
|
82
|
-
"extends": [
|
|
83
|
-
"react-app",
|
|
84
|
-
"react-app/jest"
|
|
85
|
-
],
|
|
86
|
-
"overrides": [
|
|
87
|
-
{
|
|
88
|
-
"files": [
|
|
89
|
-
"**/*.stories.*"
|
|
90
|
-
],
|
|
91
|
-
"rules": {
|
|
92
|
-
"import/no-anonymous-default-export": "off"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
54
|
+
"prepublish": "rd /s /q .\\dist && yarn build",
|
|
55
|
+
"dev": "vite",
|
|
56
|
+
"build": "vite build",
|
|
57
|
+
"preview": "vite preview",
|
|
58
|
+
"storybook": "storybook dev -p 6006",
|
|
59
|
+
"build-storybook": "storybook build",
|
|
60
|
+
"deploy": "aws s3 sync storybook-static/ s3://changeToBucketName",
|
|
61
|
+
"analyze": "webpack --json > stats.json && webpack-bundle-analyzer stats.json"
|
|
96
62
|
},
|
|
97
63
|
"browserslist": {
|
|
98
64
|
"production": [
|
|
@@ -107,80 +73,18 @@
|
|
|
107
73
|
]
|
|
108
74
|
},
|
|
109
75
|
"devDependencies": {
|
|
110
|
-
"@storybook/addon-
|
|
111
|
-
"@storybook/addon-
|
|
112
|
-
"@storybook/
|
|
113
|
-
"@storybook/
|
|
114
|
-
"@storybook/
|
|
115
|
-
"@
|
|
116
|
-
"@
|
|
117
|
-
"@storybook/preset-create-react-app": "^4.1.2",
|
|
118
|
-
"@storybook/react": "^6.5.14",
|
|
119
|
-
"@storybook/testing-library": "^0.0.13",
|
|
76
|
+
"@storybook/addon-docs": "9.1.2",
|
|
77
|
+
"@storybook/addon-links": "^9.1.2",
|
|
78
|
+
"@storybook/cli": "^9.1.2",
|
|
79
|
+
"@storybook/react-vite": "^9.1.2",
|
|
80
|
+
"@storybook/test": "^8.6.14",
|
|
81
|
+
"@types/lodash.merge": "^4.6.9",
|
|
82
|
+
"@vitejs/plugin-react": "^5.0.1",
|
|
120
83
|
"prop-types": "^15.8.1",
|
|
121
|
-
"react-scripts": "^5.0.1",
|
|
122
|
-
"storybook-addon-sass-postcss": "^0.1.3",
|
|
123
84
|
"storybook-css-modules": "^1.0.8",
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
"jest": {
|
|
129
|
-
"roots": [
|
|
130
|
-
"<rootDir>/src"
|
|
131
|
-
],
|
|
132
|
-
"collectCoverageFrom": [
|
|
133
|
-
"src/**/*.{js,jsx,ts,tsx}",
|
|
134
|
-
"!src/**/*.d.ts"
|
|
135
|
-
],
|
|
136
|
-
"setupFiles": [
|
|
137
|
-
"react-app-polyfill/jsdom"
|
|
138
|
-
],
|
|
139
|
-
"setupFilesAfterEnv": [
|
|
140
|
-
"<rootDir>/src/setupTests.ts"
|
|
141
|
-
],
|
|
142
|
-
"testMatch": [
|
|
143
|
-
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
|
144
|
-
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
145
|
-
],
|
|
146
|
-
"testEnvironment": "jsdom",
|
|
147
|
-
"transform": {
|
|
148
|
-
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
|
|
149
|
-
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
150
|
-
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
151
|
-
},
|
|
152
|
-
"transformIgnorePatterns": [
|
|
153
|
-
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
|
|
154
|
-
"^.+\\.module\\.(css|sass|scss)$"
|
|
155
|
-
],
|
|
156
|
-
"modulePaths": [
|
|
157
|
-
"/Users/carlossoares/Workplace/Sitoo/components-lib-omnium/component-library/src"
|
|
158
|
-
],
|
|
159
|
-
"moduleNameMapper": {
|
|
160
|
-
"^react-native$": "react-native-web",
|
|
161
|
-
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
|
162
|
-
},
|
|
163
|
-
"moduleFileExtensions": [
|
|
164
|
-
"web.js",
|
|
165
|
-
"js",
|
|
166
|
-
"web.ts",
|
|
167
|
-
"ts",
|
|
168
|
-
"web.tsx",
|
|
169
|
-
"tsx",
|
|
170
|
-
"json",
|
|
171
|
-
"web.jsx",
|
|
172
|
-
"jsx",
|
|
173
|
-
"node"
|
|
174
|
-
],
|
|
175
|
-
"watchPlugins": [
|
|
176
|
-
"jest-watch-typeahead/filename",
|
|
177
|
-
"jest-watch-typeahead/testname"
|
|
178
|
-
],
|
|
179
|
-
"resetMocks": true
|
|
180
|
-
},
|
|
181
|
-
"babel": {
|
|
182
|
-
"presets": [
|
|
183
|
-
"react-app"
|
|
184
|
-
]
|
|
85
|
+
"tsconfig-paths": "^4.2.0",
|
|
86
|
+
"vite": "^7.1.3",
|
|
87
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
88
|
+
"vite-plugin-dts": "^4.5.4"
|
|
185
89
|
}
|
|
186
90
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta,
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/react-vite";
|
|
2
2
|
import { AnalyticsBar } from '.';
|
|
3
3
|
import { AnalyticsBarProps } from './interfaces/analyticsBar';
|
|
4
4
|
import { getItem } from './helpers/codeMutation';
|
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
component: AnalyticsBar,
|
|
10
10
|
} as Meta;
|
|
11
11
|
|
|
12
|
-
const Template:
|
|
12
|
+
const Template: StoryFn<AnalyticsBarProps> = (args: any) => {
|
|
13
13
|
const [sortedBy, setSortedBy] = useState<any>('');
|
|
14
14
|
const [optionInUse, setOptionInUse] = useState<any>();
|
|
15
15
|
const [activeListItem, setActiveListItem] = useState<any>();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta,
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/react-vite";
|
|
2
2
|
import { BellNotifications, BellNotificationsProps } from '.';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
component: BellNotifications,
|
|
7
7
|
} as Meta;
|
|
8
8
|
|
|
9
|
-
const Template:
|
|
9
|
+
const Template: StoryFn<BellNotificationsProps> = (args: any) => <BellNotifications {...args}></BellNotifications>;
|
|
10
10
|
|
|
11
11
|
const notifications = [
|
|
12
12
|
{
|