@steroidsjs/core 3.1.9 → 3.1.10
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/package.json +3 -2
- package/tests/actions/auth.test.d.ts +0 -1
- package/tests/actions/auth.test.js +0 -136
- package/tests/actions/fields.test.d.ts +0 -1
- package/tests/actions/fields.test.js +0 -44
- package/tests/actions/form.test.d.ts +0 -1
- package/tests/actions/form.test.js +0 -175
- package/tests/actions/list.test.d.ts +0 -1
- package/tests/actions/list.test.js +0 -382
- package/tests/actions/modal.test.d.ts +0 -1
- package/tests/actions/modal.test.js +0 -110
- package/tests/actions/notifications.test.d.ts +0 -1
- package/tests/actions/notifications.test.js +0 -107
- package/tests/actions/router.test.d.ts +0 -1
- package/tests/actions/router.test.js +0 -128
- package/tests/base/enum.test.d.ts +0 -1
- package/tests/base/enum.test.js +0 -112
- package/tests/components/ClientStorageComponent.test.d.ts +0 -1
- package/tests/components/ClientStorageComponent.test.js +0 -164
- package/tests/components/MetricsComponent.test.d.ts +0 -1
- package/tests/components/MetricsComponent.test.js +0 -67
- package/tests/components/StoreComponent.test.d.ts +0 -1
- package/tests/components/StoreComponent.test.js +0 -88
- package/tests/helpers/FormWrapper.d.ts +0 -2
- package/tests/helpers/FormWrapper.js +0 -23
- package/tests/helpers/JSXWrapper.d.ts +0 -2
- package/tests/helpers/JSXWrapper.js +0 -26
- package/tests/helpers/customRender.d.ts +0 -4
- package/tests/helpers/customRender.js +0 -22
- package/tests/helpers/customRenderHook.d.ts +0 -4
- package/tests/helpers/customRenderHook.js +0 -31
- package/tests/helpers/getElementByClassName.d.ts +0 -1
- package/tests/helpers/getElementByClassName.js +0 -8
- package/tests/helpers/getElementByTag.d.ts +0 -1
- package/tests/helpers/getElementByTag.js +0 -8
- package/tests/helpers/index.d.ts +0 -7
- package/tests/helpers/index.js +0 -15
- package/tests/hooks/useAbsolutePositioning.test.d.ts +0 -1
- package/tests/hooks/useAbsolutePositioning.test.js +0 -70
- package/tests/hooks/useAddressBar.test.d.ts +0 -1
- package/tests/hooks/useAddressBar.test.js +0 -418
- package/tests/hooks/useApplication.test.d.ts +0 -1
- package/tests/hooks/useApplication.test.js +0 -204
- package/tests/hooks/useBem.test.d.ts +0 -1
- package/tests/hooks/useBem.test.js +0 -86
- package/tests/hooks/useComponents.test.d.ts +0 -1
- package/tests/hooks/useComponents.test.js +0 -28
- package/tests/hooks/useDataProvider.test.d.ts +0 -1
- package/tests/hooks/useDataProvider.test.js +0 -197
- package/tests/hooks/useDataSelect.test.d.ts +0 -1
- package/tests/hooks/useDataSelect.test.js +0 -323
- package/tests/hooks/useFetch.test.d.ts +0 -1
- package/tests/hooks/useFetch.test.js +0 -517
- package/tests/hooks/useFile.test.d.ts +0 -1
- package/tests/hooks/useFile.test.js +0 -237
- package/tests/hooks/useLayout.test.d.ts +0 -1
- package/tests/hooks/useLayout.test.js +0 -419
- package/tests/hooks/useList.test.d.ts +0 -1
- package/tests/hooks/useList.test.js +0 -445
- package/tests/hooks/useModel.test.d.ts +0 -1
- package/tests/hooks/useModel.test.js +0 -99
- package/tests/hooks/useScreen.test.d.ts +0 -1
- package/tests/hooks/useScreen.test.js +0 -48
- package/tests/hooks/useUniqueId.test.d.ts +0 -1
- package/tests/hooks/useUniqueId.test.js +0 -29
- package/tests/mocks/componentsMock.d.ts +0 -31
- package/tests/mocks/componentsMock.js +0 -31
- package/tests/mocks/mockApplication.d.ts +0 -11
- package/tests/mocks/mockApplication.js +0 -39
- package/tests/mocks/mockLayout.d.ts +0 -2
- package/tests/mocks/mockLayout.js +0 -52
- package/tests/mocks/mountWithApp.d.ts +0 -3
- package/tests/mocks/mountWithApp.js +0 -42
- package/tests/mocks/reducersMock.d.ts +0 -13
- package/tests/mocks/reducersMock.js +0 -35
- package/tests/mocks/renderIconMock.d.ts +0 -9
- package/tests/mocks/renderIconMock.js +0 -27
- package/tests/mocks/storeMiddlewareMock.d.ts +0 -4
- package/tests/mocks/storeMiddlewareMock.js +0 -39
- package/tests/reducers/auth.test.d.ts +0 -1
- package/tests/reducers/auth.test.js +0 -168
- package/tests/reducers/fields/getters.test.d.ts +0 -1
- package/tests/reducers/fields/getters.test.js +0 -108
- package/tests/reducers/fields/reducer.test.d.ts +0 -1
- package/tests/reducers/fields/reducer.test.js +0 -111
- package/tests/reducers/form.test.d.ts +0 -1
- package/tests/reducers/form.test.js +0 -455
- package/tests/reducers/list/getters.test.d.ts +0 -1
- package/tests/reducers/list/getters.test.js +0 -227
- package/tests/reducers/list/reducerMap.test.d.ts +0 -1
- package/tests/reducers/list/reducerMap.test.js +0 -471
- package/tests/reducers/modal.test.d.ts +0 -1
- package/tests/reducers/modal.test.js +0 -229
- package/tests/reducers/notifications.test.d.ts +0 -1
- package/tests/reducers/notifications.test.js +0 -77
- package/tests/reducers/router/getters.test.d.ts +0 -1
- package/tests/reducers/router/getters.test.js +0 -341
- package/tests/reducers/router/helpers.test.d.ts +0 -1
- package/tests/reducers/router/helpers.test.js +0 -367
- package/tests/reducers/router/reducerMap.test.d.ts +0 -1
- package/tests/reducers/router/reducerMap.test.js +0 -146
- package/tests/setup.d.ts +0 -1
- package/tests/setup.js +0 -13
- package/tests/ui/content/Accordion/AccordionItem.test.d.ts +0 -1
- package/tests/ui/content/Accordion/AccordionItem.test.js +0 -62
- package/tests/ui/content/Accordion/AccordionItemMockView.d.ts +0 -3
- package/tests/ui/content/Accordion/AccordionItemMockView.js +0 -83
- package/tests/ui/content/Accordion/AccordionMockView.d.ts +0 -3
- package/tests/ui/content/Accordion/AccordionMockView.js +0 -20
- package/tests/ui/content/Alert/Alert.test.d.ts +0 -1
- package/tests/ui/content/Alert/Alert.test.js +0 -77
- package/tests/ui/content/Alert/AlertMockView.d.ts +0 -3
- package/tests/ui/content/Alert/AlertMockView.js +0 -33
- package/tests/ui/content/Avatar/Avatar.test.d.ts +0 -1
- package/tests/ui/content/Avatar/Avatar.test.js +0 -56
- package/tests/ui/content/Avatar/AvatarMockView.d.ts +0 -7
- package/tests/ui/content/Avatar/AvatarMockView.js +0 -36
- package/tests/ui/content/Badge/Badge.test.d.ts +0 -1
- package/tests/ui/content/Badge/Badge.test.js +0 -83
- package/tests/ui/content/Badge/BadgeMockView.d.ts +0 -3
- package/tests/ui/content/Badge/BadgeMockView.js +0 -31
- package/tests/ui/content/CalendarSystem/AsideCalendars/AsideCalendarsMockView.d.ts +0 -11
- package/tests/ui/content/CalendarSystem/AsideCalendars/AsideCalendarsMockView.js +0 -26
- package/tests/ui/content/CalendarSystem/AsideHeader/AsideHeaderMockView.d.ts +0 -8
- package/tests/ui/content/CalendarSystem/AsideHeader/AsideHeaderMockView.js +0 -26
- package/tests/ui/content/CalendarSystem/CalendarSystem.test.d.ts +0 -1
- package/tests/ui/content/CalendarSystem/CalendarSystem.test.js +0 -41
- package/tests/ui/content/CalendarSystem/CalendarSystemEventGroupModalMockView.d.ts +0 -3
- package/tests/ui/content/CalendarSystem/CalendarSystemEventGroupModalMockView.js +0 -29
- package/tests/ui/content/CalendarSystem/CalendarSystemMockView.d.ts +0 -3
- package/tests/ui/content/CalendarSystem/CalendarSystemMockView.js +0 -41
- package/tests/ui/content/CalendarSystem/CalendarSystemModalMockView.d.ts +0 -3
- package/tests/ui/content/CalendarSystem/CalendarSystemModalMockView.js +0 -41
- package/tests/ui/content/CalendarSystem/ContentHeader/ContentHeaderMockView.d.ts +0 -9
- package/tests/ui/content/CalendarSystem/ContentHeader/ContentHeaderMockView.js +0 -35
- package/tests/ui/content/CalendarSystem/MonthGrid/MonthGridMockView.d.ts +0 -13
- package/tests/ui/content/CalendarSystem/MonthGrid/MonthGridMockView.js +0 -25
- package/tests/ui/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDayMockView.d.ts +0 -12
- package/tests/ui/content/CalendarSystem/MonthGrid/views/MonthDay/MonthDayMockView.js +0 -82
- package/tests/ui/content/CalendarSystem/WeekGrid/WeekGridMockView.d.ts +0 -13
- package/tests/ui/content/CalendarSystem/WeekGrid/WeekGridMockView.js +0 -30
- package/tests/ui/content/CalendarSystem/WeekGrid/views/WeekHour/WeekMockHour.d.ts +0 -13
- package/tests/ui/content/CalendarSystem/WeekGrid/views/WeekHour/WeekMockHour.js +0 -91
- package/tests/ui/content/Card/Card.test.d.ts +0 -1
- package/tests/ui/content/Card/Card.test.js +0 -102
- package/tests/ui/content/Card/CardMockView.d.ts +0 -3
- package/tests/ui/content/Card/CardMockView.js +0 -32
- package/tests/ui/content/Chart/Chart.test.d.ts +0 -1
- package/tests/ui/content/Chart/Chart.test.js +0 -69
- package/tests/ui/content/Chart/ChartMockView.d.ts +0 -3
- package/tests/ui/content/Chart/ChartMockView.js +0 -53
- package/tests/ui/content/Chat/Chat.test.d.ts +0 -1
- package/tests/ui/content/Chat/Chat.test.js +0 -96
- package/tests/ui/content/Chat/mockViews/BubbleMessage/BubbleMessageView.d.ts +0 -14
- package/tests/ui/content/Chat/mockViews/BubbleMessage/BubbleMessageView.js +0 -34
- package/tests/ui/content/Chat/mockViews/BubbleMessage/index.d.ts +0 -2
- package/tests/ui/content/Chat/mockViews/BubbleMessage/index.js +0 -7
- package/tests/ui/content/Chat/mockViews/BubblesDateGroup/BubblesDateGroup.d.ts +0 -11
- package/tests/ui/content/Chat/mockViews/BubblesDateGroup/BubblesDateGroup.js +0 -29
- package/tests/ui/content/Chat/mockViews/BubblesDateGroup/index.d.ts +0 -2
- package/tests/ui/content/Chat/mockViews/BubblesDateGroup/index.js +0 -7
- package/tests/ui/content/Chat/mockViews/ChatFileItem/ChatFileItemMockView.d.ts +0 -9
- package/tests/ui/content/Chat/mockViews/ChatFileItem/ChatFileItemMockView.js +0 -50
- package/tests/ui/content/Chat/mockViews/ChatFileItem/index.d.ts +0 -2
- package/tests/ui/content/Chat/mockViews/ChatFileItem/index.js +0 -7
- package/tests/ui/content/Chat/mockViews/ChatInput/ChatInputMockView.d.ts +0 -3
- package/tests/ui/content/Chat/mockViews/ChatInput/ChatInputMockView.js +0 -35
- package/tests/ui/content/Chat/mockViews/ChatInput/index.d.ts +0 -2
- package/tests/ui/content/Chat/mockViews/ChatInput/index.js +0 -7
- package/tests/ui/content/Chat/mockViews/ChatMockView.d.ts +0 -3
- package/tests/ui/content/Chat/mockViews/ChatMockView.js +0 -30
- package/tests/ui/content/CopyToClipBoard/CopyToClipBoard.test.d.ts +0 -1
- package/tests/ui/content/CopyToClipBoard/CopyToClipBoard.test.js +0 -106
- package/tests/ui/content/CopyToClipBoard/CopyToClipBoardMockView.d.ts +0 -4
- package/tests/ui/content/CopyToClipBoard/CopyToClipBoardMockView.js +0 -28
- package/tests/ui/content/Dashboard/Dashboard.test.d.ts +0 -1
- package/tests/ui/content/Dashboard/Dashboard.test.js +0 -91
- package/tests/ui/content/Dashboard/DashboardItemMockView.d.ts +0 -3
- package/tests/ui/content/Dashboard/DashboardItemMockView.js +0 -22
- package/tests/ui/content/Detail/Detail.test.d.ts +0 -1
- package/tests/ui/content/Detail/Detail.test.js +0 -76
- package/tests/ui/content/Detail/DetailMockView.d.ts +0 -3
- package/tests/ui/content/Detail/DetailMockView.js +0 -40
- package/tests/ui/content/DropDown/DropDown.test.d.ts +0 -1
- package/tests/ui/content/DropDown/DropDown.test.js +0 -63
- package/tests/ui/content/DropDown/DropDownMockView.d.ts +0 -3
- package/tests/ui/content/DropDown/DropDownMockView.js +0 -45
- package/tests/ui/content/Icon/Icon.test.d.ts +0 -1
- package/tests/ui/content/Icon/Icon.test.js +0 -20
- package/tests/ui/content/Icon/IconMockView.d.ts +0 -3
- package/tests/ui/content/Icon/IconMockView.js +0 -25
- package/tests/ui/content/Icon/mockIcon.d.ts +0 -5
- package/tests/ui/content/Icon/mockIcon.js +0 -7
- package/tests/ui/content/Kanban/Kanban.test.d.ts +0 -1
- package/tests/ui/content/Kanban/Kanban.test.js +0 -147
- package/tests/ui/content/Kanban/actions/kanban.test.d.ts +0 -1
- package/tests/ui/content/Kanban/actions/kanban.test.js +0 -118
- package/tests/ui/content/Kanban/mockViews/KanbanColumnMockView.d.ts +0 -3
- package/tests/ui/content/Kanban/mockViews/KanbanColumnMockView.js +0 -25
- package/tests/ui/content/Kanban/mockViews/KanbanMockView.d.ts +0 -3
- package/tests/ui/content/Kanban/mockViews/KanbanMockView.js +0 -24
- package/tests/ui/content/Kanban/mockViews/KanbanModal/KanbanModalMockView.d.ts +0 -3
- package/tests/ui/content/Kanban/mockViews/KanbanModal/KanbanModalMockView.js +0 -46
- package/tests/ui/content/Kanban/mockViews/KanbanModal/index.d.ts +0 -2
- package/tests/ui/content/Kanban/mockViews/KanbanModal/index.js +0 -7
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.d.ts +0 -3
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/CreateOrEditTaskModalContentView.js +0 -54
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/index.d.ts +0 -2
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/index.js +0 -7
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.d.ts +0 -7
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/Label.js +0 -8
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.d.ts +0 -2
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/Label/index.js +0 -7
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.d.ts +0 -8
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/TagsSelector.js +0 -35
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.d.ts +0 -2
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/CreateOrEditTaskModalContent/views/TagsSelector/index.js +0 -7
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.d.ts +0 -3
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/TaskDetailsModalContent/TaskDetailsModalContentView.js +0 -30
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/TaskDetailsModalContent/index.d.ts +0 -2
- package/tests/ui/content/Kanban/mockViews/KanbanModal/views/TaskDetailsModalContent/index.js +0 -7
- package/tests/ui/content/Kanban/mockViews/KanbanTaskMockView.d.ts +0 -3
- package/tests/ui/content/Kanban/mockViews/KanbanTaskMockView.js +0 -31
- package/tests/ui/content/Kanban/mockViews/TaskTags/TaskTags.d.ts +0 -9
- package/tests/ui/content/Kanban/mockViews/TaskTags/TaskTags.js +0 -21
- package/tests/ui/content/Kanban/mockViews/TaskTags/index.d.ts +0 -2
- package/tests/ui/content/Kanban/mockViews/TaskTags/index.js +0 -7
- package/tests/ui/content/Kanban/reducers/getters.test.d.ts +0 -1
- package/tests/ui/content/Kanban/reducers/getters.test.js +0 -134
- package/tests/ui/content/Kanban/reducers/kanban.test.d.ts +0 -1
- package/tests/ui/content/Kanban/reducers/kanban.test.js +0 -288
- package/tests/ui/content/Menu/Menu.test.d.ts +0 -1
- package/tests/ui/content/Menu/Menu.test.js +0 -66
- package/tests/ui/content/Menu/MenuItemMockView.d.ts +0 -3
- package/tests/ui/content/Menu/MenuItemMockView.js +0 -32
- package/tests/ui/content/Menu/MenuMockView.d.ts +0 -3
- package/tests/ui/content/Menu/MenuMockView.js +0 -33
- package/tests/ui/fields.d.ts +0 -9
- package/tests/ui/fields.js +0 -10
- package/tests/ui/form/AutoCompleteField/AutoCompleteField.test.d.ts +0 -1
- package/tests/ui/form/AutoCompleteField/AutoCompleteField.test.js +0 -70
- package/tests/ui/form/AutoCompleteField/AutoCompleteFieldMockView.d.ts +0 -3
- package/tests/ui/form/AutoCompleteField/AutoCompleteFieldMockView.js +0 -79
- package/tests/ui/form/BlankField/BlankField.test.d.ts +0 -1
- package/tests/ui/form/BlankField/BlankField.test.js +0 -37
- package/tests/ui/form/Button/Button.test.d.ts +0 -1
- package/tests/ui/form/Button/Button.test.js +0 -121
- package/tests/ui/form/Button/ButtonMockView.d.ts +0 -3
- package/tests/ui/form/Button/ButtonMockView.js +0 -56
- package/tests/ui/form/CheckboxField/CheckboxField.test.d.ts +0 -1
- package/tests/ui/form/CheckboxField/CheckboxField.test.js +0 -59
- package/tests/ui/form/CheckboxField/CheckboxFieldMockView.d.ts +0 -3
- package/tests/ui/form/CheckboxField/CheckboxFieldMockView.js +0 -33
- package/tests/ui/form/CheckboxListField/CheckboxListField.test.d.ts +0 -1
- package/tests/ui/form/CheckboxListField/CheckboxListField.test.js +0 -35
- package/tests/ui/form/CheckboxListField/CheckboxListFieldMockView.d.ts +0 -3
- package/tests/ui/form/CheckboxListField/CheckboxListFieldMockView.js +0 -42
- package/tests/ui/form/DateField/DateField.test.d.ts +0 -1
- package/tests/ui/form/DateField/DateField.test.js +0 -62
- package/tests/ui/form/DateField/DateFieldMockView.d.ts +0 -3
- package/tests/ui/form/DateField/DateFieldMockView.js +0 -40
- package/tests/ui/form/DateRangeField/DateRangeField.test.d.ts +0 -1
- package/tests/ui/form/DateRangeField/DateRangeField.test.js +0 -56
- package/tests/ui/form/DateRangeField/DateRangeFieldMockView.d.ts +0 -3
- package/tests/ui/form/DateRangeField/DateRangeFieldMockView.js +0 -39
- package/tests/ui/form/DateTimeFIeld/DateTimeField.test.d.ts +0 -1
- package/tests/ui/form/DateTimeFIeld/DateTimeField.test.js +0 -62
- package/tests/ui/form/DateTimeFIeld/DateTimeFieldMockView.d.ts +0 -3
- package/tests/ui/form/DateTimeFIeld/DateTimeFieldMockView.js +0 -42
- package/tests/ui/form/DateTimeRangeField/DateTimeRangeField.test.d.ts +0 -1
- package/tests/ui/form/DateTimeRangeField/DateTimeRangeField.test.js +0 -62
- package/tests/ui/form/DateTimeRangeField/DateTimeRangeFieldMockView.d.ts +0 -3
- package/tests/ui/form/DateTimeRangeField/DateTimeRangeFieldMockView.js +0 -44
- package/tests/ui/form/DropDownField/DropDownField.test.d.ts +0 -1
- package/tests/ui/form/DropDownField/DropDownField.test.js +0 -167
- package/tests/ui/form/DropDownField/DropDownFieldMockView.d.ts +0 -3
- package/tests/ui/form/DropDownField/DropDownFieldMockView.js +0 -65
- package/tests/ui/form/DropDownField/DropDownItemMockView.d.ts +0 -3
- package/tests/ui/form/DropDownField/DropDownItemMockView.js +0 -83
- package/tests/ui/form/Field/Field.test.d.ts +0 -1
- package/tests/ui/form/Field/Field.test.js +0 -35
- package/tests/ui/form/FieldLayout/FieldLayout.test.d.ts +0 -1
- package/tests/ui/form/FieldLayout/FieldLayout.test.js +0 -69
- package/tests/ui/form/FieldLayout/FieldLayoutMockView.d.ts +0 -3
- package/tests/ui/form/FieldLayout/FieldLayoutMockView.js +0 -33
- package/tests/ui/form/FieldList/FieldList.test.d.ts +0 -1
- package/tests/ui/form/FieldList/FieldList.test.js +0 -98
- package/tests/ui/form/FieldList/FieldListItemMockView.d.ts +0 -4
- package/tests/ui/form/FieldList/FieldListItemMockView.js +0 -29
- package/tests/ui/form/FieldList/FieldListMockView.d.ts +0 -3
- package/tests/ui/form/FieldList/FieldListMockView.js +0 -28
- package/tests/ui/form/FieldSet/FieldSet.test.d.ts +0 -1
- package/tests/ui/form/FieldSet/FieldSet.test.js +0 -46
- package/tests/ui/form/FieldSet/FieldSetMockView.d.ts +0 -3
- package/tests/ui/form/FieldSet/FieldSetMockView.js +0 -20
- package/tests/ui/form/FileField/FileField.test.d.ts +0 -1
- package/tests/ui/form/FileField/FileField.test.js +0 -25
- package/tests/ui/form/FileField/FileFieldItemMockView.d.ts +0 -3
- package/tests/ui/form/FileField/FileFieldItemMockView.js +0 -48
- package/tests/ui/form/FileField/FileFieldMockView.d.ts +0 -3
- package/tests/ui/form/FileField/FileFieldMockView.js +0 -31
- package/tests/ui/form/Form/Form.test.d.ts +0 -1
- package/tests/ui/form/Form/Form.test.js +0 -442
- package/tests/ui/form/Form/FormMockView.d.ts +0 -5
- package/tests/ui/form/Form/FormMockView.js +0 -42
- package/tests/ui/form/HtmlField/HtmlField.test.d.ts +0 -1
- package/tests/ui/form/HtmlField/HtmlField.test.js +0 -20
- package/tests/ui/form/HtmlField/HtmlFieldMockView.d.ts +0 -3
- package/tests/ui/form/HtmlField/HtmlFieldMockView.js +0 -14
- package/tests/ui/form/InputField/InputField.test.d.ts +0 -1
- package/tests/ui/form/InputField/InputField.test.js +0 -96
- package/tests/ui/form/InputField/InputFieldMockView.d.ts +0 -3
- package/tests/ui/form/InputField/InputFieldMockView.js +0 -49
- package/tests/ui/form/MaskField/MaskField.test.d.ts +0 -1
- package/tests/ui/form/MaskField/MaskField.test.js +0 -22
- package/tests/ui/form/NumberField/NumberField.test.d.ts +0 -1
- package/tests/ui/form/NumberField/NumberField.test.js +0 -208
- package/tests/ui/form/NumberField/NumberFieldMockView.d.ts +0 -3
- package/tests/ui/form/NumberField/NumberFieldMockView.js +0 -38
- package/tests/ui/form/PasswordField/PasswordField.test.d.ts +0 -1
- package/tests/ui/form/PasswordField/PasswordField.test.js +0 -66
- package/tests/ui/form/PasswordField/PasswordFieldMockView.d.ts +0 -3
- package/tests/ui/form/PasswordField/PasswordFieldMockView.js +0 -31
- package/tests/ui/form/PhoneField/DropDownCountrySelectMockView.d.ts +0 -7
- package/tests/ui/form/PhoneField/DropDownCountrySelectMockView.js +0 -61
- package/tests/ui/form/PhoneField/PhoneField.test.d.ts +0 -1
- package/tests/ui/form/PhoneField/PhoneField.test.js +0 -240
- package/tests/ui/form/PhoneField/PhoneFieldMockView.d.ts +0 -4
- package/tests/ui/form/PhoneField/PhoneFieldMockView.js +0 -35
- package/tests/ui/form/RadioField/RadioField.test.d.ts +0 -1
- package/tests/ui/form/RadioField/RadioField.test.js +0 -28
- package/tests/ui/form/RadioField/RadioFieldMockView.d.ts +0 -3
- package/tests/ui/form/RadioField/RadioFieldMockView.js +0 -32
- package/tests/ui/form/RadioListField/RadioListField.test.d.ts +0 -1
- package/tests/ui/form/RadioListField/RadioListField.test.js +0 -43
- package/tests/ui/form/RadioListField/RadioListFieldMockView.d.ts +0 -3
- package/tests/ui/form/RadioListField/RadioListFieldMockView.js +0 -43
- package/tests/ui/form/RateField/RateField.test.d.ts +0 -1
- package/tests/ui/form/RateField/RateField.test.js +0 -84
- package/tests/ui/form/RateField/RateFieldMockView.d.ts +0 -3
- package/tests/ui/form/RateField/RateFieldMockView.js +0 -38
- package/tests/ui/form/SliderField/SliderField.test.d.ts +0 -1
- package/tests/ui/form/SliderField/SliderField.test.js +0 -78
- package/tests/ui/form/SliderField/SliderFieldMockView.d.ts +0 -3
- package/tests/ui/form/SliderField/SliderFieldMockView.js +0 -71
- package/tests/ui/form/SwitcherField/SwitcherField.test.d.ts +0 -1
- package/tests/ui/form/SwitcherField/SwitcherField.test.js +0 -64
- package/tests/ui/form/SwitcherField/SwitcherFieldMockView.d.ts +0 -3
- package/tests/ui/form/SwitcherField/SwitcherFieldMockView.js +0 -36
- package/tests/ui/form/SwitcherListField/SwitcherListField.test.d.ts +0 -1
- package/tests/ui/form/SwitcherListField/SwitcherListField.test.js +0 -44
- package/tests/ui/form/SwitcherListField/SwitcherListFieldMockView.d.ts +0 -3
- package/tests/ui/form/SwitcherListField/SwitcherListFieldMockView.js +0 -42
- package/tests/ui/form/TextField/TextField.test.d.ts +0 -1
- package/tests/ui/form/TextField/TextField.test.js +0 -102
- package/tests/ui/form/TextField/TextFieldMockView.d.ts +0 -3
- package/tests/ui/form/TextField/TextFieldMockView.js +0 -52
- package/tests/ui/form/TimeField/TimeField.test.d.ts +0 -1
- package/tests/ui/form/TimeField/TimeField.test.js +0 -54
- package/tests/ui/form/TimeField/TimeFieldMockView.d.ts +0 -3
- package/tests/ui/form/TimeField/TimeFieldMockView.js +0 -37
- package/tests/ui/form/TimeField/TimePanelMockView.d.ts +0 -10
- package/tests/ui/form/TimeField/TimePanelMockView.js +0 -69
- package/tests/ui/form/TimeRangeField/TimeRangeField.test.d.ts +0 -1
- package/tests/ui/form/TimeRangeField/TimeRangeField.test.js +0 -60
- package/tests/ui/form/TimeRangeField/TimeRangeFieldMockView.d.ts +0 -3
- package/tests/ui/form/TimeRangeField/TimeRangeFieldMockView.js +0 -37
- package/tests/ui/format/BooleanFormatter.test.d.ts +0 -1
- package/tests/ui/format/BooleanFormatter.test.js +0 -37
- package/tests/ui/format/BooleanFormatterMockView.d.ts +0 -2
- package/tests/ui/format/BooleanFormatterMockView.js +0 -6
- package/tests/ui/format/DateFormatter.test.d.ts +0 -1
- package/tests/ui/format/DateFormatter.test.js +0 -20
- package/tests/ui/format/DateTimeFormatter.test.d.ts +0 -1
- package/tests/ui/format/DateTimeFormatter.test.js +0 -21
- package/tests/ui/format/DefaultFormatterMockView.d.ts +0 -3
- package/tests/ui/format/DefaultFormatterMockView.js +0 -6
- package/tests/ui/format/EnumFormatter.test.d.ts +0 -1
- package/tests/ui/format/EnumFormatter.test.js +0 -26
- package/tests/ui/format/FileSize.test.d.ts +0 -1
- package/tests/ui/format/FileSize.test.js +0 -37
- package/tests/ui/format/Format.test.d.ts +0 -1
- package/tests/ui/format/Format.test.js +0 -19
- package/tests/ui/format/TimeFormatter.test.d.ts +0 -1
- package/tests/ui/format/TimeFormatter.test.js +0 -39
- package/tests/ui/index.d.ts +0 -177
- package/tests/ui/index.js +0 -178
- package/tests/ui/layout/Header/Header.test.d.ts +0 -1
- package/tests/ui/layout/Header/Header.test.js +0 -132
- package/tests/ui/layout/Header/HeaderMockView.d.ts +0 -3
- package/tests/ui/layout/Header/HeaderMockView.js +0 -51
- package/tests/ui/layout/Loader/Loader.test.d.ts +0 -1
- package/tests/ui/layout/Loader/Loader.test.js +0 -29
- package/tests/ui/layout/Loader/LoaderMockView.d.ts +0 -3
- package/tests/ui/layout/Loader/LoaderMockView.js +0 -28
- package/tests/ui/layout/ProgressBar/CircleProgressBarMockView.d.ts +0 -3
- package/tests/ui/layout/ProgressBar/CircleProgressBarMockView.js +0 -41
- package/tests/ui/layout/ProgressBar/LineProgressBarMockView.d.ts +0 -3
- package/tests/ui/layout/ProgressBar/LineProgressBarMockView.js +0 -25
- package/tests/ui/layout/ProgressBar/ProgressBar.test.d.ts +0 -1
- package/tests/ui/layout/ProgressBar/ProgressBar.test.js +0 -101
- package/tests/ui/layout/Sidebar/FooterIconsMockView.d.ts +0 -9
- package/tests/ui/layout/Sidebar/FooterIconsMockView.js +0 -31
- package/tests/ui/layout/Sidebar/Sidebar.test.d.ts +0 -1
- package/tests/ui/layout/Sidebar/Sidebar.test.js +0 -20
- package/tests/ui/layout/Sidebar/SidebarLogoMockView.d.ts +0 -9
- package/tests/ui/layout/Sidebar/SidebarLogoMockView.js +0 -28
- package/tests/ui/layout/Sidebar/SidebarMockView.d.ts +0 -3
- package/tests/ui/layout/Sidebar/SidebarMockView.js +0 -33
- package/tests/ui/layout/Sidebar/SidebarUserMockView.d.ts +0 -10
- package/tests/ui/layout/Sidebar/SidebarUserMockView.js +0 -26
- package/tests/ui/layout/Tooltip/Tooltip.test.d.ts +0 -1
- package/tests/ui/layout/Tooltip/Tooltip.test.js +0 -101
- package/tests/ui/layout/Tooltip/TooltipMockView.d.ts +0 -7
- package/tests/ui/layout/Tooltip/TooltipMockView.js +0 -36
- package/tests/ui/list/Empty/Empty.test.d.ts +0 -1
- package/tests/ui/list/Empty/Empty.test.js +0 -17
- package/tests/ui/list/Empty/EmptyMockView.d.ts +0 -3
- package/tests/ui/list/Empty/EmptyMockView.js +0 -20
- package/tests/ui/list/FlexGrid/FlexGrid.test.d.ts +0 -1
- package/tests/ui/list/FlexGrid/FlexGrid.test.js +0 -51
- package/tests/ui/list/FlexGrid/FlexGridMockView.d.ts +0 -3
- package/tests/ui/list/FlexGrid/FlexGridMockView.js +0 -46
- package/tests/ui/list/Grid/CheckboxColumnMockView.d.ts +0 -4
- package/tests/ui/list/Grid/CheckboxColumnMockView.js +0 -26
- package/tests/ui/list/Grid/ContentColumnMockView.d.ts +0 -3
- package/tests/ui/list/Grid/ContentColumnMockView.js +0 -47
- package/tests/ui/list/Grid/DiagramColumnMockView.d.ts +0 -3
- package/tests/ui/list/Grid/DiagramColumnMockView.js +0 -65
- package/tests/ui/list/Grid/Grid.test.d.ts +0 -1
- package/tests/ui/list/Grid/Grid.test.js +0 -364
- package/tests/ui/list/Grid/GridMockView.d.ts +0 -3
- package/tests/ui/list/Grid/GridMockView.js +0 -61
- package/tests/ui/list/List/List.test.d.ts +0 -1
- package/tests/ui/list/List/List.test.js +0 -94
- package/tests/ui/list/List/ListMockView.d.ts +0 -2
- package/tests/ui/list/List/ListMockView.js +0 -31
- package/tests/ui/list/Pagination/Pagination.test.d.ts +0 -1
- package/tests/ui/list/Pagination/Pagination.test.js +0 -67
- package/tests/ui/list/Pagination/PaginationButtonMockView.d.ts +0 -3
- package/tests/ui/list/Pagination/PaginationButtonMockView.js +0 -56
- package/tests/ui/list/Pagination/PaginationMoreMockView.d.ts +0 -3
- package/tests/ui/list/Pagination/PaginationMoreMockView.js +0 -24
- package/tests/ui/list/TreeTable/TreeColumnMockView.d.ts +0 -3
- package/tests/ui/list/TreeTable/TreeColumnMockView.js +0 -27
- package/tests/ui/list/TreeTable/TreeItemMockView.d.ts +0 -3
- package/tests/ui/list/TreeTable/TreeItemMockView.js +0 -36
- package/tests/ui/list/TreeTable/TreeTable.test.d.ts +0 -1
- package/tests/ui/list/TreeTable/TreeTable.test.js +0 -185
- package/tests/ui/list/TreeTable/TreeTableMock.d.ts +0 -10
- package/tests/ui/list/TreeTable/TreeTableMock.js +0 -60
- package/tests/ui/modal/Modal/Modal.test.d.ts +0 -8
- package/tests/ui/modal/Modal/Modal.test.js +0 -236
- package/tests/ui/modal/Modal/ModalMockView.d.ts +0 -3
- package/tests/ui/modal/Modal/ModalMockView.js +0 -35
- package/tests/ui/nav/Breadcrumbs/Breadcrumbs.test.d.ts +0 -1
- package/tests/ui/nav/Breadcrumbs/Breadcrumbs.test.js +0 -70
- package/tests/ui/nav/Breadcrumbs/BreadcrumbsMockView.d.ts +0 -3
- package/tests/ui/nav/Breadcrumbs/BreadcrumbsMockView.js +0 -38
- package/tests/ui/nav/ButtonGroup/ButtonGroup.test.d.ts +0 -1
- package/tests/ui/nav/ButtonGroup/ButtonGroup.test.js +0 -86
- package/tests/ui/nav/ButtonGroup/ButtonGroupMockView.d.ts +0 -3
- package/tests/ui/nav/ButtonGroup/ButtonGroupMockView.js +0 -29
- package/tests/ui/nav/Controls/Controls.test.d.ts +0 -1
- package/tests/ui/nav/Controls/Controls.test.js +0 -58
- package/tests/ui/nav/Controls/ControlsMockView.d.ts +0 -3
- package/tests/ui/nav/Controls/ControlsMockView.js +0 -30
- package/tests/ui/nav/Link/Link.test.d.ts +0 -1
- package/tests/ui/nav/Link/Link.test.js +0 -21
- package/tests/ui/nav/Nav/Nav.test.d.ts +0 -1
- package/tests/ui/nav/Nav/Nav.test.js +0 -182
- package/tests/ui/nav/Nav/NavBarMockView.d.ts +0 -3
- package/tests/ui/nav/Nav/NavBarMockView.js +0 -29
- package/tests/ui/nav/Nav/NavButtonMockView.d.ts +0 -3
- package/tests/ui/nav/Nav/NavButtonMockView.js +0 -29
- package/tests/ui/nav/Nav/NavIconMockView.d.ts +0 -3
- package/tests/ui/nav/Nav/NavIconMockView.js +0 -27
- package/tests/ui/nav/Nav/NavLinkMockView.d.ts +0 -3
- package/tests/ui/nav/Nav/NavLinkMockView.js +0 -29
- package/tests/ui/nav/Nav/NavListMockView.d.ts +0 -3
- package/tests/ui/nav/Nav/NavListMockView.js +0 -34
- package/tests/ui/nav/Nav/NavTabsMockView.d.ts +0 -3
- package/tests/ui/nav/Nav/NavTabsMockView.js +0 -29
- package/tests/ui/nav/NavButton/NavButtonMockView.d.ts +0 -3
- package/tests/ui/nav/NavButton/NavButtonMockView.js +0 -24
- package/tests/ui/nav/Router/Router.ssr.test.d.ts +0 -1
- package/tests/ui/nav/Router/Router.ssr.test.js +0 -90
- package/tests/ui/nav/Router/Router.test.d.ts +0 -1
- package/tests/ui/nav/Router/Router.test.js +0 -194
- package/tests/ui/nav/Router/helpers.test.d.ts +0 -1
- package/tests/ui/nav/Router/helpers.test.js +0 -416
- package/tests/ui/typography/Text/Text.test.d.ts +0 -1
- package/tests/ui/typography/Text/Text.test.js +0 -78
- package/tests/ui/typography/Text/TextMockView.d.ts +0 -11
- package/tests/ui/typography/Text/TextMockView.js +0 -23
- package/tests/ui/typography/Title/Title.test.d.ts +0 -1
- package/tests/ui/typography/Title/Title.test.js +0 -78
- package/tests/ui/typography/Title/TitleMockView.d.ts +0 -11
- package/tests/ui/typography/Title/TitleMockView.js +0 -27
- package/tests/utils/calculateComponentAbsolutePosition.test.d.ts +0 -1
- package/tests/utils/calculateComponentAbsolutePosition.test.js +0 -544
- package/tests/utils/calendar.test.d.ts +0 -1
- package/tests/utils/calendar.test.js +0 -29
- package/tests/utils/collection.test.d.ts +0 -1
- package/tests/utils/collection.test.js +0 -33
- package/tests/utils/data.test.d.ts +0 -1
- package/tests/utils/data.test.js +0 -196
- package/tests/utils/form.test.d.ts +0 -1
- package/tests/utils/form.test.js +0 -112
- package/tests/utils/text.test.d.ts +0 -1
- package/tests/utils/text.test.js +0 -338
- /package/{src/actions → actions}/auth.d.ts +0 -0
- /package/{src/actions → actions}/auth.js +0 -0
- /package/{src/actions → actions}/fields.d.ts +0 -0
- /package/{src/actions → actions}/fields.js +0 -0
- /package/{src/actions → actions}/form.d.ts +0 -0
- /package/{src/actions → actions}/form.js +0 -0
- /package/{src/actions → actions}/list.d.ts +0 -0
- /package/{src/actions → actions}/list.js +0 -0
- /package/{src/actions → actions}/modal.d.ts +0 -0
- /package/{src/actions → actions}/modal.js +0 -0
- /package/{src/actions → actions}/notifications.d.ts +0 -0
- /package/{src/actions → actions}/notifications.js +0 -0
- /package/{src/actions → actions}/router.d.ts +0 -0
- /package/{src/actions → actions}/router.js +0 -0
- /package/{src/base → base}/Enum.d.ts +0 -0
- /package/{src/base → base}/Enum.js +0 -0
- /package/{src/components → components}/ClientStorageComponent.d.ts +0 -0
- /package/{src/components → components}/ClientStorageComponent.js +0 -0
- /package/{src/components → components}/HtmlComponent.d.ts +0 -0
- /package/{src/components → components}/HtmlComponent.js +0 -0
- /package/{src/components → components}/HttpComponent.d.ts +0 -0
- /package/{src/components → components}/HttpComponent.js +0 -0
- /package/{src/components → components}/JwtHttpComponent.d.ts +0 -0
- /package/{src/components → components}/JwtHttpComponent.js +0 -0
- /package/{src/components → components}/LocaleComponent.d.ts +0 -0
- /package/{src/components → components}/LocaleComponent.js +0 -0
- /package/{src/components → components}/MetaComponent.d.ts +0 -0
- /package/{src/components → components}/MetaComponent.js +0 -0
- /package/{src/components → components}/MetricsComponent.d.ts +0 -0
- /package/{src/components → components}/MetricsComponent.js +0 -0
- /package/{src/components → components}/ResourceComponent.d.ts +0 -0
- /package/{src/components → components}/ResourceComponent.js +0 -0
- /package/{src/components → components}/SocialComponent.d.ts +0 -0
- /package/{src/components → components}/SocialComponent.js +0 -0
- /package/{src/components → components}/StoreComponent.d.ts +0 -0
- /package/{src/components → components}/StoreComponent.js +0 -0
- /package/{src/components → components}/UiComponent.d.ts +0 -0
- /package/{src/components → components}/UiComponent.js +0 -0
- /package/{src/components → components}/WebSocketComponent.d.ts +0 -0
- /package/{src/components → components}/WebSocketComponent.js +0 -0
- /package/{src/components → components}/social/FacebookProvider.d.ts +0 -0
- /package/{src/components → components}/social/FacebookProvider.js +0 -0
- /package/{src/components → components}/social/GitlabProvider.d.ts +0 -0
- /package/{src/components → components}/social/GitlabProvider.js +0 -0
- /package/{src/components → components}/social/GoogleProvider.d.ts +0 -0
- /package/{src/components → components}/social/GoogleProvider.js +0 -0
- /package/{src/components → components}/social/SteamProvider.d.ts +0 -0
- /package/{src/components → components}/social/SteamProvider.js +0 -0
- /package/{src/components → components}/social/VkProvider.d.ts +0 -0
- /package/{src/components → components}/social/VkProvider.js +0 -0
- /package/{src/enums → enums}/FieldEnum.d.ts +0 -0
- /package/{src/enums → enums}/FieldEnum.js +0 -0
- /package/{src/enums → enums}/index.d.ts +0 -0
- /package/{src/enums → enums}/index.js +0 -0
- /package/{src/hooks → hooks}/index.d.ts +0 -0
- /package/{src/hooks → hooks}/index.js +0 -0
- /package/{src/hooks → hooks}/useAbsolutePositioning.d.ts +0 -0
- /package/{src/hooks → hooks}/useAbsolutePositioning.js +0 -0
- /package/{src/hooks → hooks}/useAddressBar.d.ts +0 -0
- /package/{src/hooks → hooks}/useAddressBar.js +0 -0
- /package/{src/hooks → hooks}/useApplication.d.ts +0 -0
- /package/{src/hooks → hooks}/useApplication.js +0 -0
- /package/{src/hooks → hooks}/useBem.d.ts +0 -0
- /package/{src/hooks → hooks}/useBem.js +0 -0
- /package/{src/hooks → hooks}/useComponents.d.ts +0 -0
- /package/{src/hooks → hooks}/useComponents.js +0 -0
- /package/{src/hooks → hooks}/useDataProvider.d.ts +0 -0
- /package/{src/hooks → hooks}/useDataProvider.js +0 -0
- /package/{src/hooks → hooks}/useDataSelect.d.ts +0 -0
- /package/{src/hooks → hooks}/useDataSelect.js +0 -0
- /package/{src/hooks → hooks}/useDispatch.d.ts +0 -0
- /package/{src/hooks → hooks}/useDispatch.js +0 -0
- /package/{src/hooks → hooks}/useFetch.d.ts +0 -0
- /package/{src/hooks → hooks}/useFetch.js +0 -0
- /package/{src/hooks → hooks}/useFile.d.ts +0 -0
- /package/{src/hooks → hooks}/useFile.js +0 -0
- /package/{src/hooks → hooks}/useForm.d.ts +0 -0
- /package/{src/hooks → hooks}/useForm.js +0 -0
- /package/{src/hooks → hooks}/useInitial.d.ts +0 -0
- /package/{src/hooks → hooks}/useInitial.js +0 -0
- /package/{src/hooks → hooks}/useLayout.d.ts +0 -0
- /package/{src/hooks → hooks}/useLayout.js +0 -0
- /package/{src/hooks → hooks}/useList.d.ts +0 -0
- /package/{src/hooks → hooks}/useList.js +0 -0
- /package/{src/hooks → hooks}/useListField.d.ts +0 -0
- /package/{src/hooks → hooks}/useListField.js +0 -0
- /package/{src/hooks → hooks}/useModel.d.ts +0 -0
- /package/{src/hooks → hooks}/useModel.js +0 -0
- /package/{src/hooks → hooks}/useSaveCursorPosition.d.ts +0 -0
- /package/{src/hooks → hooks}/useSaveCursorPosition.js +0 -0
- /package/{src/hooks → hooks}/useScreen.d.ts +0 -0
- /package/{src/hooks → hooks}/useScreen.js +0 -0
- /package/{src/hooks → hooks}/useSelector.d.ts +0 -0
- /package/{src/hooks → hooks}/useSelector.js +0 -0
- /package/{src/hooks → hooks}/useSsr.d.ts +0 -0
- /package/{src/hooks → hooks}/useSsr.js +0 -0
- /package/{src/hooks → hooks}/useTheme.d.ts +0 -0
- /package/{src/hooks → hooks}/useTheme.js +0 -0
- /package/{src/hooks → hooks}/useTree.d.ts +0 -0
- /package/{src/hooks → hooks}/useTree.js +0 -0
- /package/{src/hooks → hooks}/useUniqueId.d.ts +0 -0
- /package/{src/hooks → hooks}/useUniqueId.js +0 -0
- /package/{src/providers → providers}/ComponentsProvider.d.ts +0 -0
- /package/{src/providers → providers}/ComponentsProvider.js +0 -0
- /package/{src/providers → providers}/ScreenProvider.d.ts +0 -0
- /package/{src/providers → providers}/ScreenProvider.js +0 -0
- /package/{src/providers → providers}/SsrProvider.d.ts +0 -0
- /package/{src/providers → providers}/SsrProvider.js +0 -0
- /package/{src/providers → providers}/ThemeProvider.d.ts +0 -0
- /package/{src/providers → providers}/ThemeProvider.js +0 -0
- /package/{src/providers → providers}/index.d.ts +0 -0
- /package/{src/providers → providers}/index.js +0 -0
- /package/{src/reducers → reducers}/auth.d.ts +0 -0
- /package/{src/reducers → reducers}/auth.js +0 -0
- /package/{src/reducers → reducers}/fields.d.ts +0 -0
- /package/{src/reducers → reducers}/fields.js +0 -0
- /package/{src/reducers → reducers}/form.d.ts +0 -0
- /package/{src/reducers → reducers}/form.js +0 -0
- /package/{src/reducers → reducers}/index.d.ts +0 -0
- /package/{src/reducers → reducers}/index.js +0 -0
- /package/{src/reducers → reducers}/list.d.ts +0 -0
- /package/{src/reducers → reducers}/list.js +0 -0
- /package/{src/reducers → reducers}/modal.d.ts +0 -0
- /package/{src/reducers → reducers}/modal.js +0 -0
- /package/{src/reducers → reducers}/notifications.d.ts +0 -0
- /package/{src/reducers → reducers}/notifications.js +0 -0
- /package/{src/reducers → reducers}/router.d.ts +0 -0
- /package/{src/reducers → reducers}/router.js +0 -0
- /package/{src/ui → ui}/content/Accordion/Accordion.d.ts +0 -0
- /package/{src/ui → ui}/content/Accordion/Accordion.js +0 -0
- /package/{src/ui → ui}/content/Accordion/AccordionItem.d.ts +0 -0
- /package/{src/ui → ui}/content/Accordion/AccordionItem.js +0 -0
- /package/{src/ui → ui}/content/Accordion/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Accordion/index.js +0 -0
- /package/{src/ui → ui}/content/Alert/Alert.d.ts +0 -0
- /package/{src/ui → ui}/content/Alert/Alert.js +0 -0
- /package/{src/ui → ui}/content/Alert/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Alert/index.js +0 -0
- /package/{src/ui → ui}/content/Avatar/Avatar.d.ts +0 -0
- /package/{src/ui → ui}/content/Avatar/Avatar.js +0 -0
- /package/{src/ui → ui}/content/Avatar/AvatarGroup.d.ts +0 -0
- /package/{src/ui → ui}/content/Avatar/AvatarGroup.js +0 -0
- /package/{src/ui → ui}/content/Avatar/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Avatar/index.js +0 -0
- /package/{src/ui → ui}/content/Badge/Badge.d.ts +0 -0
- /package/{src/ui → ui}/content/Badge/Badge.js +0 -0
- /package/{src/ui → ui}/content/Badge/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Badge/index.js +0 -0
- /package/{src/ui → ui}/content/Calendar/Calendar.d.ts +0 -0
- /package/{src/ui → ui}/content/Calendar/Calendar.js +0 -0
- /package/{src/ui → ui}/content/Calendar/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Calendar/index.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/CalendarSystem.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/CalendarSystem.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/enums/CalendarType.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/enums/CalendarType.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/enums/DateControlType.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/enums/DateControlType.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/enums/DisplayDateFormatType.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/enums/DisplayDateFormatType.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/helpers/addEventIfMatchDate.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/helpers/addEventIfMatchDate.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarControls.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarControls.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarSystem.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarSystem.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarSystemEventGroupModals.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarSystemEventGroupModals.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarSystemModals.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarSystemModals.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarType.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCalendarType.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCustomViews.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useCustomViews.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useDayGrid.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useDayGrid.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useDisplayDate.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useDisplayDate.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useEventsFromDate.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useEventsFromDate.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useExpandClickAway.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useExpandClickAway.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useMonthGrid.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useMonthGrid.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useWeekGrid.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/hooks/useWeekGrid.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/index.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/index.js +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/utils/utils.d.ts +0 -0
- /package/{src/ui → ui}/content/CalendarSystem/utils/utils.js +0 -0
- /package/{src/ui → ui}/content/Card/Card.d.ts +0 -0
- /package/{src/ui → ui}/content/Card/Card.js +0 -0
- /package/{src/ui → ui}/content/Card/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Card/index.js +0 -0
- /package/{src/ui → ui}/content/Chart/Chart.d.ts +0 -0
- /package/{src/ui → ui}/content/Chart/Chart.js +0 -0
- /package/{src/ui → ui}/content/Chart/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Chart/index.js +0 -0
- /package/{src/ui → ui}/content/Chat/Chat.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/Chat.js +0 -0
- /package/{src/ui → ui}/content/Chat/constants/timeTemplatesAndUnits.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/constants/timeTemplatesAndUnits.js +0 -0
- /package/{src/ui → ui}/content/Chat/hooks/useChat.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/hooks/useChat.js +0 -0
- /package/{src/ui → ui}/content/Chat/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/index.js +0 -0
- /package/{src/ui → ui}/content/Chat/utils/addNewMessageIntoGroupedMessages.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/utils/addNewMessageIntoGroupedMessages.js +0 -0
- /package/{src/ui → ui}/content/Chat/utils/calculateMessageTimeAgo.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/utils/calculateMessageTimeAgo.js +0 -0
- /package/{src/ui → ui}/content/Chat/utils/getMessagesGroupedByDate.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/utils/getMessagesGroupedByDate.js +0 -0
- /package/{src/ui → ui}/content/Chat/utils/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/utils/index.js +0 -0
- /package/{src/ui → ui}/content/Chat/utils/isTodayMessage.d.ts +0 -0
- /package/{src/ui → ui}/content/Chat/utils/isTodayMessage.js +0 -0
- /package/{src/ui → ui}/content/CopyToClipboard/CopyToClipboard.d.ts +0 -0
- /package/{src/ui → ui}/content/CopyToClipboard/CopyToClipboard.js +0 -0
- /package/{src/ui → ui}/content/CopyToClipboard/index.d.ts +0 -0
- /package/{src/ui → ui}/content/CopyToClipboard/index.js +0 -0
- /package/{src/ui → ui}/content/Dashboard/Dashboard.d.ts +0 -0
- /package/{src/ui → ui}/content/Dashboard/Dashboard.js +0 -0
- /package/{src/ui → ui}/content/Dashboard/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Dashboard/index.js +0 -0
- /package/{src/ui → ui}/content/Detail/Detail.d.ts +0 -0
- /package/{src/ui → ui}/content/Detail/Detail.js +0 -0
- /package/{src/ui → ui}/content/Detail/DetailItem.d.ts +0 -0
- /package/{src/ui → ui}/content/Detail/DetailItem.js +0 -0
- /package/{src/ui → ui}/content/Detail/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Detail/index.js +0 -0
- /package/{src/ui → ui}/content/DropDown/DropDown.d.ts +0 -0
- /package/{src/ui → ui}/content/DropDown/DropDown.js +0 -0
- /package/{src/ui → ui}/content/DropDown/index.d.ts +0 -0
- /package/{src/ui → ui}/content/DropDown/index.js +0 -0
- /package/{src/ui → ui}/content/Icon/Icon.d.ts +0 -0
- /package/{src/ui → ui}/content/Icon/Icon.js +0 -0
- /package/{src/ui → ui}/content/Icon/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Icon/index.js +0 -0
- /package/{src/ui → ui}/content/Kanban/Kanban.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/Kanban.js +0 -0
- /package/{src/ui → ui}/content/Kanban/actions/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/actions/index.js +0 -0
- /package/{src/ui → ui}/content/Kanban/actions/kanban.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/actions/kanban.js +0 -0
- /package/{src/ui → ui}/content/Kanban/constants/modalAndFormIds.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/constants/modalAndFormIds.js +0 -0
- /package/{src/ui → ui}/content/Kanban/enums/KanbanModalTypeEnum.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/enums/KanbanModalTypeEnum.js +0 -0
- /package/{src/ui → ui}/content/Kanban/enums/KanbanPrioritiesEnum.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/enums/KanbanPrioritiesEnum.js +0 -0
- /package/{src/ui → ui}/content/Kanban/enums/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/enums/index.js +0 -0
- /package/{src/ui → ui}/content/Kanban/hooks/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/hooks/index.js +0 -0
- /package/{src/ui → ui}/content/Kanban/hooks/useKanban.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/hooks/useKanban.js +0 -0
- /package/{src/ui → ui}/content/Kanban/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/index.js +0 -0
- /package/{src/ui → ui}/content/Kanban/reducers/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/reducers/index.js +0 -0
- /package/{src/ui → ui}/content/Kanban/reducers/kanban.d.ts +0 -0
- /package/{src/ui → ui}/content/Kanban/reducers/kanban.js +0 -0
- /package/{src/ui → ui}/content/Menu/Menu.d.ts +0 -0
- /package/{src/ui → ui}/content/Menu/Menu.js +0 -0
- /package/{src/ui → ui}/content/Menu/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Menu/index.js +0 -0
- /package/{src/ui → ui}/content/Slider/Slider.d.ts +0 -0
- /package/{src/ui → ui}/content/Slider/Slider.js +0 -0
- /package/{src/ui → ui}/content/Slider/index.d.ts +0 -0
- /package/{src/ui → ui}/content/Slider/index.js +0 -0
- /package/{src/ui → ui}/content/index.d.ts +0 -0
- /package/{src/ui → ui}/content/index.js +0 -0
- /package/{src/ui → ui}/crud/Crud/Crud.d.ts +0 -0
- /package/{src/ui → ui}/crud/Crud/Crud.js +0 -0
- /package/{src/ui → ui}/crud/Crud/CrudContent.d.ts +0 -0
- /package/{src/ui → ui}/crud/Crud/CrudContent.js +0 -0
- /package/{src/ui → ui}/crud/Crud/CrudDetail.d.ts +0 -0
- /package/{src/ui → ui}/crud/Crud/CrudDetail.js +0 -0
- /package/{src/ui → ui}/crud/Crud/CrudModal.d.ts +0 -0
- /package/{src/ui → ui}/crud/Crud/CrudModal.js +0 -0
- /package/{src/ui → ui}/crud/Crud/index.d.ts +0 -0
- /package/{src/ui → ui}/crud/Crud/index.js +0 -0
- /package/{src/ui → ui}/crud/Crud/utils.d.ts +0 -0
- /package/{src/ui → ui}/crud/Crud/utils.js +0 -0
- /package/{src/ui → ui}/crud/index.d.ts +0 -0
- /package/{src/ui → ui}/crud/index.js +0 -0
- /package/{src/ui → ui}/form/AutoCompleteField/AutoCompleteField.d.ts +0 -0
- /package/{src/ui → ui}/form/AutoCompleteField/AutoCompleteField.js +0 -0
- /package/{src/ui → ui}/form/AutoCompleteField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/AutoCompleteField/index.js +0 -0
- /package/{src/ui → ui}/form/BlankField/BlankField.d.ts +0 -0
- /package/{src/ui → ui}/form/BlankField/BlankField.js +0 -0
- /package/{src/ui → ui}/form/BlankField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/BlankField/index.js +0 -0
- /package/{src/ui → ui}/form/Button/Button.d.ts +0 -0
- /package/{src/ui → ui}/form/Button/Button.js +0 -0
- /package/{src/ui → ui}/form/Button/index.d.ts +0 -0
- /package/{src/ui → ui}/form/Button/index.js +0 -0
- /package/{src/ui → ui}/form/CheckboxField/CheckboxField.d.ts +0 -0
- /package/{src/ui → ui}/form/CheckboxField/CheckboxField.js +0 -0
- /package/{src/ui → ui}/form/CheckboxField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/CheckboxField/index.js +0 -0
- /package/{src/ui → ui}/form/CheckboxListField/CheckboxListField.d.ts +0 -0
- /package/{src/ui → ui}/form/CheckboxListField/CheckboxListField.js +0 -0
- /package/{src/ui → ui}/form/CheckboxListField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/CheckboxListField/index.js +0 -0
- /package/{src/ui → ui}/form/CheckboxTreeField/CheckboxTreeField.d.ts +0 -0
- /package/{src/ui → ui}/form/CheckboxTreeField/CheckboxTreeField.js +0 -0
- /package/{src/ui → ui}/form/CheckboxTreeField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/CheckboxTreeField/index.js +0 -0
- /package/{src/ui → ui}/form/DateField/DateField.d.ts +0 -0
- /package/{src/ui → ui}/form/DateField/DateField.js +0 -0
- /package/{src/ui → ui}/form/DateField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/DateField/index.js +0 -0
- /package/{src/ui → ui}/form/DateField/useDateInputState.d.ts +0 -0
- /package/{src/ui → ui}/form/DateField/useDateInputState.js +0 -0
- /package/{src/ui → ui}/form/DateField/useDateRange.d.ts +0 -0
- /package/{src/ui → ui}/form/DateField/useDateRange.js +0 -0
- /package/{src/ui → ui}/form/DateField/useDateTime.d.ts +0 -0
- /package/{src/ui → ui}/form/DateField/useDateTime.js +0 -0
- /package/{src/ui → ui}/form/DateRangeField/DateRangeField.d.ts +0 -0
- /package/{src/ui → ui}/form/DateRangeField/DateRangeField.js +0 -0
- /package/{src/ui → ui}/form/DateRangeField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/DateRangeField/index.js +0 -0
- /package/{src/ui → ui}/form/DateRangeField/useOnDayClick.d.ts +0 -0
- /package/{src/ui → ui}/form/DateRangeField/useOnDayClick.js +0 -0
- /package/{src/ui → ui}/form/DateTimeField/DateTimeField.d.ts +0 -0
- /package/{src/ui → ui}/form/DateTimeField/DateTimeField.js +0 -0
- /package/{src/ui → ui}/form/DateTimeField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/DateTimeField/index.js +0 -0
- /package/{src/ui → ui}/form/DateTimeField/utils.d.ts +0 -0
- /package/{src/ui → ui}/form/DateTimeField/utils.js +0 -0
- /package/{src/ui → ui}/form/DateTimeRangeField/DateTimeRangeField.d.ts +0 -0
- /package/{src/ui → ui}/form/DateTimeRangeField/DateTimeRangeField.js +0 -0
- /package/{src/ui → ui}/form/DateTimeRangeField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/DateTimeRangeField/index.js +0 -0
- /package/{src/ui → ui}/form/DropDownField/DropDownField.d.ts +0 -0
- /package/{src/ui → ui}/form/DropDownField/DropDownField.js +0 -0
- /package/{src/ui → ui}/form/DropDownField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/DropDownField/index.js +0 -0
- /package/{src/ui → ui}/form/EmailField/EmailField.d.ts +0 -0
- /package/{src/ui → ui}/form/EmailField/EmailField.js +0 -0
- /package/{src/ui → ui}/form/EmailField/hooks/useInputTypeEmail.d.ts +0 -0
- /package/{src/ui → ui}/form/EmailField/hooks/useInputTypeEmail.js +0 -0
- /package/{src/ui → ui}/form/EmailField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/EmailField/index.js +0 -0
- /package/{src/ui → ui}/form/Field/Field.d.ts +0 -0
- /package/{src/ui → ui}/form/Field/Field.js +0 -0
- /package/{src/ui → ui}/form/Field/fieldWrapper.d.ts +0 -0
- /package/{src/ui → ui}/form/Field/fieldWrapper.js +0 -0
- /package/{src/ui → ui}/form/Field/index.d.ts +0 -0
- /package/{src/ui → ui}/form/Field/index.js +0 -0
- /package/{src/ui → ui}/form/FieldLayout/FieldLayout.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldLayout/FieldLayout.js +0 -0
- /package/{src/ui → ui}/form/FieldLayout/index.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldLayout/index.js +0 -0
- /package/{src/ui → ui}/form/FieldList/FieldList.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldList/FieldList.js +0 -0
- /package/{src/ui → ui}/form/FieldList/index.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldList/index.js +0 -0
- /package/{src/ui → ui}/form/FieldList/tableNavigationHandler.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldList/tableNavigationHandler.js +0 -0
- /package/{src/ui → ui}/form/FieldSet/FieldSet.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldSet/FieldSet.js +0 -0
- /package/{src/ui → ui}/form/FieldSet/index.d.ts +0 -0
- /package/{src/ui → ui}/form/FieldSet/index.js +0 -0
- /package/{src/ui → ui}/form/FileField/FileField.d.ts +0 -0
- /package/{src/ui → ui}/form/FileField/FileField.js +0 -0
- /package/{src/ui → ui}/form/FileField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/FileField/index.js +0 -0
- /package/{src/ui → ui}/form/Form/AutoSaveHelper.d.ts +0 -0
- /package/{src/ui → ui}/form/Form/AutoSaveHelper.js +0 -0
- /package/{src/ui → ui}/form/Form/Form.d.ts +0 -0
- /package/{src/ui → ui}/form/Form/Form.js +0 -0
- /package/{src/ui → ui}/form/Form/index.d.ts +0 -0
- /package/{src/ui → ui}/form/Form/index.js +0 -0
- /package/{src/ui → ui}/form/HtmlField/HtmlField.d.ts +0 -0
- /package/{src/ui → ui}/form/HtmlField/HtmlField.js +0 -0
- /package/{src/ui → ui}/form/HtmlField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/HtmlField/index.js +0 -0
- /package/{src/ui → ui}/form/ImageField/ImageField.d.ts +0 -0
- /package/{src/ui → ui}/form/ImageField/ImageField.js +0 -0
- /package/{src/ui → ui}/form/ImageField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/ImageField/index.js +0 -0
- /package/{src/ui → ui}/form/InputField/InputField.d.ts +0 -0
- /package/{src/ui → ui}/form/InputField/InputField.js +0 -0
- /package/{src/ui → ui}/form/InputField/hooks/useInputFieldWarningByType.d.ts +0 -0
- /package/{src/ui → ui}/form/InputField/hooks/useInputFieldWarningByType.js +0 -0
- /package/{src/ui → ui}/form/InputField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/InputField/index.js +0 -0
- /package/{src/ui → ui}/form/MaskField/MaskField.d.ts +0 -0
- /package/{src/ui → ui}/form/MaskField/MaskField.js +0 -0
- /package/{src/ui → ui}/form/MaskField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/MaskField/index.js +0 -0
- /package/{src/ui → ui}/form/NavField/NavField.d.ts +0 -0
- /package/{src/ui → ui}/form/NavField/NavField.js +0 -0
- /package/{src/ui → ui}/form/NavField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/NavField/index.js +0 -0
- /package/{src/ui → ui}/form/NumberField/NumberField.d.ts +0 -0
- /package/{src/ui → ui}/form/NumberField/NumberField.js +0 -0
- /package/{src/ui → ui}/form/NumberField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/NumberField/index.js +0 -0
- /package/{src/ui → ui}/form/PasswordField/PasswordField.d.ts +0 -0
- /package/{src/ui → ui}/form/PasswordField/PasswordField.js +0 -0
- /package/{src/ui → ui}/form/PasswordField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/PasswordField/index.js +0 -0
- /package/{src/ui → ui}/form/PhoneField/PhoneField.d.ts +0 -0
- /package/{src/ui → ui}/form/PhoneField/PhoneField.js +0 -0
- /package/{src/ui → ui}/form/PhoneField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/PhoneField/index.js +0 -0
- /package/{src/ui → ui}/form/RadioField/RadioField.d.ts +0 -0
- /package/{src/ui → ui}/form/RadioField/RadioField.js +0 -0
- /package/{src/ui → ui}/form/RadioField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/RadioField/index.js +0 -0
- /package/{src/ui → ui}/form/RadioListField/RadioListField.d.ts +0 -0
- /package/{src/ui → ui}/form/RadioListField/RadioListField.js +0 -0
- /package/{src/ui → ui}/form/RadioListField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/RadioListField/index.js +0 -0
- /package/{src/ui → ui}/form/RateField/RateField.d.ts +0 -0
- /package/{src/ui → ui}/form/RateField/RateField.js +0 -0
- /package/{src/ui → ui}/form/RateField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/RateField/index.js +0 -0
- /package/{src/ui → ui}/form/ReCaptchaField/ReCaptchaField.d.ts +0 -0
- /package/{src/ui → ui}/form/ReCaptchaField/ReCaptchaField.js +0 -0
- /package/{src/ui → ui}/form/ReCaptchaField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/ReCaptchaField/index.js +0 -0
- /package/{src/ui → ui}/form/SliderField/SliderField.d.ts +0 -0
- /package/{src/ui → ui}/form/SliderField/SliderField.js +0 -0
- /package/{src/ui → ui}/form/SliderField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/SliderField/index.js +0 -0
- /package/{src/ui → ui}/form/SwitcherField/SwitcherField.d.ts +0 -0
- /package/{src/ui → ui}/form/SwitcherField/SwitcherField.js +0 -0
- /package/{src/ui → ui}/form/SwitcherField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/SwitcherField/index.js +0 -0
- /package/{src/ui → ui}/form/SwitcherListField/SwitcherListField.d.ts +0 -0
- /package/{src/ui → ui}/form/SwitcherListField/SwitcherListField.js +0 -0
- /package/{src/ui → ui}/form/SwitcherListField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/SwitcherListField/index.js +0 -0
- /package/{src/ui → ui}/form/TextField/TextField.d.ts +0 -0
- /package/{src/ui → ui}/form/TextField/TextField.js +0 -0
- /package/{src/ui → ui}/form/TextField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/TextField/index.js +0 -0
- /package/{src/ui → ui}/form/TimeField/TimeField.d.ts +0 -0
- /package/{src/ui → ui}/form/TimeField/TimeField.js +0 -0
- /package/{src/ui → ui}/form/TimeField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/TimeField/index.js +0 -0
- /package/{src/ui → ui}/form/TimeField/utils.d.ts +0 -0
- /package/{src/ui → ui}/form/TimeField/utils.js +0 -0
- /package/{src/ui → ui}/form/TimeRangeField/TimeRangeField.d.ts +0 -0
- /package/{src/ui → ui}/form/TimeRangeField/TimeRangeField.js +0 -0
- /package/{src/ui → ui}/form/TimeRangeField/index.d.ts +0 -0
- /package/{src/ui → ui}/form/TimeRangeField/index.js +0 -0
- /package/{src/ui → ui}/form/WizardForm/WizardForm.d.ts +0 -0
- /package/{src/ui → ui}/form/WizardForm/WizardForm.js +0 -0
- /package/{src/ui → ui}/form/WizardForm/index.d.ts +0 -0
- /package/{src/ui → ui}/form/WizardForm/index.js +0 -0
- /package/{src/ui → ui}/form/WizardForm/utils.d.ts +0 -0
- /package/{src/ui → ui}/form/WizardForm/utils.js +0 -0
- /package/{src/ui → ui}/form/index.d.ts +0 -0
- /package/{src/ui → ui}/form/index.js +0 -0
- /package/{src/ui → ui}/form/validate.d.ts +0 -0
- /package/{src/ui → ui}/form/validate.js +0 -0
- /package/{src/ui → ui}/format/BooleanFormatter/BooleanFormatter.d.ts +0 -0
- /package/{src/ui → ui}/format/BooleanFormatter/BooleanFormatter.js +0 -0
- /package/{src/ui → ui}/format/BooleanFormatter/index.d.ts +0 -0
- /package/{src/ui → ui}/format/BooleanFormatter/index.js +0 -0
- /package/{src/ui → ui}/format/DateFormatter/DateFormatter.d.ts +0 -0
- /package/{src/ui → ui}/format/DateFormatter/DateFormatter.js +0 -0
- /package/{src/ui → ui}/format/DateFormatter/index.d.ts +0 -0
- /package/{src/ui → ui}/format/DateFormatter/index.js +0 -0
- /package/{src/ui → ui}/format/DateTimeFormatter/DateTimeFormatter.d.ts +0 -0
- /package/{src/ui → ui}/format/DateTimeFormatter/DateTimeFormatter.js +0 -0
- /package/{src/ui → ui}/format/DateTimeFormatter/index.d.ts +0 -0
- /package/{src/ui → ui}/format/DateTimeFormatter/index.js +0 -0
- /package/{src/ui → ui}/format/EnumFormatter/EnumFormatter.d.ts +0 -0
- /package/{src/ui → ui}/format/EnumFormatter/EnumFormatter.js +0 -0
- /package/{src/ui → ui}/format/EnumFormatter/index.d.ts +0 -0
- /package/{src/ui → ui}/format/EnumFormatter/index.js +0 -0
- /package/{src/ui → ui}/format/FileSize/FileSize.d.ts +0 -0
- /package/{src/ui → ui}/format/FileSize/FileSize.js +0 -0
- /package/{src/ui → ui}/format/FileSize/index.d.ts +0 -0
- /package/{src/ui → ui}/format/FileSize/index.js +0 -0
- /package/{src/ui → ui}/format/Format/Format.d.ts +0 -0
- /package/{src/ui → ui}/format/Format/Format.js +0 -0
- /package/{src/ui → ui}/format/Format/index.d.ts +0 -0
- /package/{src/ui → ui}/format/Format/index.js +0 -0
- /package/{src/ui → ui}/format/MoneyFormatter/MoneyFormatter.d.ts +0 -0
- /package/{src/ui → ui}/format/MoneyFormatter/MoneyFormatter.js +0 -0
- /package/{src/ui → ui}/format/MoneyFormatter/index.d.ts +0 -0
- /package/{src/ui → ui}/format/MoneyFormatter/index.js +0 -0
- /package/{src/ui → ui}/format/TimeFormatter/TimeFormatter.d.ts +0 -0
- /package/{src/ui → ui}/format/TimeFormatter/TimeFormatter.js +0 -0
- /package/{src/ui → ui}/format/TimeFormatter/index.d.ts +0 -0
- /package/{src/ui → ui}/format/TimeFormatter/index.js +0 -0
- /package/{src/ui → ui}/format/index.d.ts +0 -0
- /package/{src/ui → ui}/format/index.js +0 -0
- /package/{src/ui → ui}/layout/Header/Header.d.ts +0 -0
- /package/{src/ui → ui}/layout/Header/Header.js +0 -0
- /package/{src/ui → ui}/layout/Header/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Header/index.js +0 -0
- /package/{src/ui → ui}/layout/Loader/Loader.d.ts +0 -0
- /package/{src/ui → ui}/layout/Loader/Loader.js +0 -0
- /package/{src/ui → ui}/layout/Loader/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Loader/index.js +0 -0
- /package/{src/ui → ui}/layout/Meta/Meta.d.ts +0 -0
- /package/{src/ui → ui}/layout/Meta/Meta.js +0 -0
- /package/{src/ui → ui}/layout/Meta/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Meta/index.js +0 -0
- /package/{src/ui → ui}/layout/Notifications/Notifications.d.ts +0 -0
- /package/{src/ui → ui}/layout/Notifications/Notifications.js +0 -0
- /package/{src/ui → ui}/layout/Notifications/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Notifications/index.js +0 -0
- /package/{src/ui → ui}/layout/Portal.d.ts +0 -0
- /package/{src/ui → ui}/layout/Portal.js +0 -0
- /package/{src/ui → ui}/layout/ProgressBar/ProgressBar.d.ts +0 -0
- /package/{src/ui → ui}/layout/ProgressBar/ProgressBar.js +0 -0
- /package/{src/ui → ui}/layout/ProgressBar/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/ProgressBar/index.js +0 -0
- /package/{src/ui → ui}/layout/Sidebar/Sidebar.d.ts +0 -0
- /package/{src/ui → ui}/layout/Sidebar/Sidebar.js +0 -0
- /package/{src/ui → ui}/layout/Sidebar/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Sidebar/index.js +0 -0
- /package/{src/ui → ui}/layout/Skeleton/Skeleton.d.ts +0 -0
- /package/{src/ui → ui}/layout/Skeleton/Skeleton.js +0 -0
- /package/{src/ui → ui}/layout/Skeleton/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Skeleton/index.js +0 -0
- /package/{src/ui → ui}/layout/Tooltip/Tooltip.d.ts +0 -0
- /package/{src/ui → ui}/layout/Tooltip/Tooltip.js +0 -0
- /package/{src/ui → ui}/layout/Tooltip/TooltipPortalInner.d.ts +0 -0
- /package/{src/ui → ui}/layout/Tooltip/TooltipPortalInner.js +0 -0
- /package/{src/ui → ui}/layout/Tooltip/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/Tooltip/index.js +0 -0
- /package/{src/ui → ui}/layout/index.d.ts +0 -0
- /package/{src/ui → ui}/layout/index.js +0 -0
- /package/{src/ui → ui}/list/CheckboxColumn/CheckboxColumn.d.ts +0 -0
- /package/{src/ui → ui}/list/CheckboxColumn/CheckboxColumn.js +0 -0
- /package/{src/ui → ui}/list/CheckboxColumn/index.d.ts +0 -0
- /package/{src/ui → ui}/list/CheckboxColumn/index.js +0 -0
- /package/{src/ui → ui}/list/ControlsColumn/ControlsColumn.d.ts +0 -0
- /package/{src/ui → ui}/list/ControlsColumn/ControlsColumn.js +0 -0
- /package/{src/ui → ui}/list/ControlsColumn/index.d.ts +0 -0
- /package/{src/ui → ui}/list/ControlsColumn/index.js +0 -0
- /package/{src/ui → ui}/list/Empty/Empty.d.ts +0 -0
- /package/{src/ui → ui}/list/Empty/Empty.js +0 -0
- /package/{src/ui → ui}/list/Empty/index.d.ts +0 -0
- /package/{src/ui → ui}/list/Empty/index.js +0 -0
- /package/{src/ui → ui}/list/FlexGrid/FlexGrid.d.ts +0 -0
- /package/{src/ui → ui}/list/FlexGrid/FlexGrid.js +0 -0
- /package/{src/ui → ui}/list/FlexGrid/index.d.ts +0 -0
- /package/{src/ui → ui}/list/FlexGrid/index.js +0 -0
- /package/{src/ui → ui}/list/Grid/Grid.d.ts +0 -0
- /package/{src/ui → ui}/list/Grid/Grid.js +0 -0
- /package/{src/ui → ui}/list/Grid/index.d.ts +0 -0
- /package/{src/ui → ui}/list/Grid/index.js +0 -0
- /package/{src/ui → ui}/list/InfiniteScroll/InfiniteScroll.d.ts +0 -0
- /package/{src/ui → ui}/list/InfiniteScroll/InfiniteScroll.js +0 -0
- /package/{src/ui → ui}/list/InfiniteScroll/hooks.d.ts +0 -0
- /package/{src/ui → ui}/list/InfiniteScroll/hooks.js +0 -0
- /package/{src/ui → ui}/list/InfiniteScroll/index.d.ts +0 -0
- /package/{src/ui → ui}/list/InfiniteScroll/index.js +0 -0
- /package/{src/ui → ui}/list/LayoutNames/LayoutNames.d.ts +0 -0
- /package/{src/ui → ui}/list/LayoutNames/LayoutNames.js +0 -0
- /package/{src/ui → ui}/list/LayoutNames/index.d.ts +0 -0
- /package/{src/ui → ui}/list/LayoutNames/index.js +0 -0
- /package/{src/ui → ui}/list/List/List.d.ts +0 -0
- /package/{src/ui → ui}/list/List/List.js +0 -0
- /package/{src/ui → ui}/list/List/index.d.ts +0 -0
- /package/{src/ui → ui}/list/List/index.js +0 -0
- /package/{src/ui → ui}/list/Pagination/Pagination.d.ts +0 -0
- /package/{src/ui → ui}/list/Pagination/Pagination.js +0 -0
- /package/{src/ui → ui}/list/Pagination/index.d.ts +0 -0
- /package/{src/ui → ui}/list/Pagination/index.js +0 -0
- /package/{src/ui → ui}/list/PaginationSize/PaginationSize.d.ts +0 -0
- /package/{src/ui → ui}/list/PaginationSize/PaginationSize.js +0 -0
- /package/{src/ui → ui}/list/PaginationSize/index.d.ts +0 -0
- /package/{src/ui → ui}/list/PaginationSize/index.js +0 -0
- /package/{src/ui → ui}/list/SearchForm/SearchForm.d.ts +0 -0
- /package/{src/ui → ui}/list/SearchForm/SearchForm.js +0 -0
- /package/{src/ui → ui}/list/SearchForm/index.d.ts +0 -0
- /package/{src/ui → ui}/list/SearchForm/index.js +0 -0
- /package/{src/ui → ui}/list/Steps/Steps.d.ts +0 -0
- /package/{src/ui → ui}/list/Steps/Steps.js +0 -0
- /package/{src/ui → ui}/list/Steps/index.d.ts +0 -0
- /package/{src/ui → ui}/list/Steps/index.js +0 -0
- /package/{src/ui → ui}/list/TreeTable/TreeTable.d.ts +0 -0
- /package/{src/ui → ui}/list/TreeTable/TreeTable.js +0 -0
- /package/{src/ui → ui}/list/TreeTable/index.d.ts +0 -0
- /package/{src/ui → ui}/list/TreeTable/index.js +0 -0
- /package/{src/ui → ui}/modal/Modal/Modal.d.ts +0 -0
- /package/{src/ui → ui}/modal/Modal/Modal.js +0 -0
- /package/{src/ui → ui}/modal/Modal/index.d.ts +0 -0
- /package/{src/ui → ui}/modal/Modal/index.js +0 -0
- /package/{src/ui → ui}/modal/ModalPortal/ModalPortal.d.ts +0 -0
- /package/{src/ui → ui}/modal/ModalPortal/ModalPortal.js +0 -0
- /package/{src/ui → ui}/modal/ModalPortal/index.d.ts +0 -0
- /package/{src/ui → ui}/modal/ModalPortal/index.js +0 -0
- /package/{src/ui → ui}/modal/TwoFactorModal/TwoFactorModal.d.ts +0 -0
- /package/{src/ui → ui}/modal/TwoFactorModal/TwoFactorModal.js +0 -0
- /package/{src/ui → ui}/modal/TwoFactorModal/index.d.ts +0 -0
- /package/{src/ui → ui}/modal/TwoFactorModal/index.js +0 -0
- /package/{src/ui → ui}/nav/Breadcrumbs/Breadcrumbs.d.ts +0 -0
- /package/{src/ui → ui}/nav/Breadcrumbs/Breadcrumbs.js +0 -0
- /package/{src/ui → ui}/nav/Breadcrumbs/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/Breadcrumbs/index.js +0 -0
- /package/{src/ui → ui}/nav/ButtonGroup/ButtonGroup.d.ts +0 -0
- /package/{src/ui → ui}/nav/ButtonGroup/ButtonGroup.js +0 -0
- /package/{src/ui → ui}/nav/ButtonGroup/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/ButtonGroup/index.js +0 -0
- /package/{src/ui → ui}/nav/Controls/Controls.d.ts +0 -0
- /package/{src/ui → ui}/nav/Controls/Controls.js +0 -0
- /package/{src/ui → ui}/nav/Controls/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/Controls/index.js +0 -0
- /package/{src/ui → ui}/nav/Link/Link.d.ts +0 -0
- /package/{src/ui → ui}/nav/Link/Link.js +0 -0
- /package/{src/ui → ui}/nav/Link/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/Link/index.js +0 -0
- /package/{src/ui → ui}/nav/Nav/Nav.d.ts +0 -0
- /package/{src/ui → ui}/nav/Nav/Nav.js +0 -0
- /package/{src/ui → ui}/nav/Nav/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/Nav/index.js +0 -0
- /package/{src/ui → ui}/nav/Router/Router.d.ts +0 -0
- /package/{src/ui → ui}/nav/Router/Router.js +0 -0
- /package/{src/ui → ui}/nav/Router/helpers.d.ts +0 -0
- /package/{src/ui → ui}/nav/Router/helpers.js +0 -0
- /package/{src/ui → ui}/nav/Router/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/Router/index.js +0 -0
- /package/{src/ui → ui}/nav/Tree/Tree.d.ts +0 -0
- /package/{src/ui → ui}/nav/Tree/Tree.js +0 -0
- /package/{src/ui → ui}/nav/Tree/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/Tree/index.js +0 -0
- /package/{src/ui → ui}/nav/index.d.ts +0 -0
- /package/{src/ui → ui}/nav/index.js +0 -0
- /package/{src/ui → ui}/typography/Text/Text.d.ts +0 -0
- /package/{src/ui → ui}/typography/Text/Text.js +0 -0
- /package/{src/ui → ui}/typography/Text/index.d.ts +0 -0
- /package/{src/ui → ui}/typography/Text/index.js +0 -0
- /package/{src/ui → ui}/typography/Title/Title.d.ts +0 -0
- /package/{src/ui → ui}/typography/Title/Title.js +0 -0
- /package/{src/ui → ui}/typography/Title/index.d.ts +0 -0
- /package/{src/ui → ui}/typography/Title/index.js +0 -0
- /package/{src/ui → ui}/typography/index.d.ts +0 -0
- /package/{src/ui → ui}/typography/index.js +0 -0
- /package/{src/utils → utils}/calculateComponentAbsolutePosition.d.ts +0 -0
- /package/{src/utils → utils}/calculateComponentAbsolutePosition.js +0 -0
- /package/{src/utils → utils}/calendar.d.ts +0 -0
- /package/{src/utils → utils}/calendar.js +0 -0
- /package/{src/utils → utils}/collection.d.ts +0 -0
- /package/{src/utils → utils}/collection.js +0 -0
- /package/{src/utils → utils}/createAxiosError.d.ts +0 -0
- /package/{src/utils → utils}/createAxiosError.js +0 -0
- /package/{src/utils → utils}/data.d.ts +0 -0
- /package/{src/utils → utils}/data.js +0 -0
- /package/{src/utils → utils}/form.d.ts +0 -0
- /package/{src/utils → utils}/form.js +0 -0
- /package/{src/utils → utils}/text.d.ts +0 -0
- /package/{src/utils → utils}/text.js +0 -0
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
-
function step(op) {
|
|
27
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
-
switch (op[0]) {
|
|
32
|
-
case 0: case 1: t = op; break;
|
|
33
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
-
default:
|
|
37
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
-
if (t[2]) _.ops.pop();
|
|
42
|
-
_.trys.pop(); continue;
|
|
43
|
-
}
|
|
44
|
-
op = body.call(thisArg, _);
|
|
45
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
50
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
51
|
-
};
|
|
52
|
-
exports.__esModule = true;
|
|
53
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
54
|
-
/* eslint-disable max-classes-per-file */
|
|
55
|
-
require("@testing-library/jest-dom");
|
|
56
|
-
var react_1 = require("@testing-library/react");
|
|
57
|
-
var FormMockView_1 = __importDefault(require("./FormMockView"));
|
|
58
|
-
var Form_1 = __importDefault(require("../../../../src/ui/form/Form/Form"));
|
|
59
|
-
var InputField_1 = __importDefault(require("../../../../src/ui/form/InputField/InputField"));
|
|
60
|
-
var helpers_1 = require("../../../helpers");
|
|
61
|
-
jest.mock('../../../../src/actions/form', function () {
|
|
62
|
-
var actual = jest.requireActual('../../../../src/actions/form');
|
|
63
|
-
return __assign(__assign({}, actual), { formDestroy: jest.fn(function (formId) { return ({
|
|
64
|
-
type: actual.FORM_DESTROY,
|
|
65
|
-
formId: formId
|
|
66
|
-
}); }) });
|
|
67
|
-
});
|
|
68
|
-
jest.mock('../../../../src/hooks/useAddressBar', function () { return ({
|
|
69
|
-
__esModule: true,
|
|
70
|
-
"default": jest.fn(function () { return ({
|
|
71
|
-
initialQuery: null,
|
|
72
|
-
updateQuery: jest.fn()
|
|
73
|
-
}); })
|
|
74
|
-
}); });
|
|
75
|
-
jest.mock('../../../../src/components/HttpComponent', function () { return ({
|
|
76
|
-
__esModule: true,
|
|
77
|
-
"default": /** @class */ (function () {
|
|
78
|
-
function MockHttp(components, config) {
|
|
79
|
-
this.send = (config === null || config === void 0 ? void 0 : config.send)
|
|
80
|
-
|| global.__FORM_HTTP_SEND__
|
|
81
|
-
|| jest.fn().mockResolvedValue({
|
|
82
|
-
data: {}
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
return MockHttp;
|
|
86
|
-
}())
|
|
87
|
-
}); });
|
|
88
|
-
jest.mock('../../../../src/components/ClientStorageComponent', function () { return ({
|
|
89
|
-
__esModule: true,
|
|
90
|
-
"default": /** @class */ (function () {
|
|
91
|
-
function MockClientStorageComponent(components, config) {
|
|
92
|
-
var _a, _b, _c, _d;
|
|
93
|
-
this.get = (_a = config === null || config === void 0 ? void 0 : config.get) !== null && _a !== void 0 ? _a : jest.fn().mockReturnValue('');
|
|
94
|
-
this.set = (_c = (_b = config === null || config === void 0 ? void 0 : config.set) !== null && _b !== void 0 ? _b : global.__FORM_CLIENT_STORAGE_SET__) !== null && _c !== void 0 ? _c : jest.fn();
|
|
95
|
-
this.remove = (_d = config === null || config === void 0 ? void 0 : config.remove) !== null && _d !== void 0 ? _d : jest.fn();
|
|
96
|
-
}
|
|
97
|
-
return MockClientStorageComponent;
|
|
98
|
-
}())
|
|
99
|
-
}); });
|
|
100
|
-
describe('Form tests', function () {
|
|
101
|
-
var defaultProps = {
|
|
102
|
-
formId: 'TestForm',
|
|
103
|
-
view: FormMockView_1["default"],
|
|
104
|
-
className: 'form-class-test',
|
|
105
|
-
style: {
|
|
106
|
-
width: '100%'
|
|
107
|
-
},
|
|
108
|
-
submitLabel: 'Отправить',
|
|
109
|
-
fields: [
|
|
110
|
-
{
|
|
111
|
-
attribute: 'email',
|
|
112
|
-
component: InputField_1["default"],
|
|
113
|
-
label: 'Email'
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
attribute: 'name',
|
|
117
|
-
component: InputField_1["default"],
|
|
118
|
-
label: 'Name'
|
|
119
|
-
},
|
|
120
|
-
]
|
|
121
|
-
};
|
|
122
|
-
var expectedFormClass = 'FormView';
|
|
123
|
-
it('should render form in the document', function () {
|
|
124
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps))).container;
|
|
125
|
-
var form = (0, helpers_1.getElementByClassName)(container, expectedFormClass);
|
|
126
|
-
expect(form).toBeInTheDocument();
|
|
127
|
-
});
|
|
128
|
-
it('should have correct className', function () {
|
|
129
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps))).container;
|
|
130
|
-
var form = (0, helpers_1.getElementByClassName)(container, expectedFormClass);
|
|
131
|
-
expect(form).toHaveClass(defaultProps.className);
|
|
132
|
-
});
|
|
133
|
-
it('should have correct style', function () {
|
|
134
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps))).container;
|
|
135
|
-
var form = (0, helpers_1.getElementByClassName)(container, expectedFormClass);
|
|
136
|
-
expect(form).toHaveStyle(defaultProps.style);
|
|
137
|
-
});
|
|
138
|
-
it('should render submit button with correct label', function () {
|
|
139
|
-
var getByText = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps))).getByText;
|
|
140
|
-
expect(getByText(defaultProps.submitLabel)).toBeInTheDocument();
|
|
141
|
-
});
|
|
142
|
-
it('should render fields from props', function () {
|
|
143
|
-
var _a;
|
|
144
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps))).container;
|
|
145
|
-
var form = (0, helpers_1.getElementByClassName)(container, expectedFormClass);
|
|
146
|
-
expect(form).toBeInTheDocument();
|
|
147
|
-
var inputs = container.querySelectorAll('input:not([type=hidden])');
|
|
148
|
-
expect(inputs.length).toBeGreaterThanOrEqual((_a = defaultProps.fields) === null || _a === void 0 ? void 0 : _a.length);
|
|
149
|
-
});
|
|
150
|
-
it('should render children', function () {
|
|
151
|
-
var childrenContent = 'Custom form content';
|
|
152
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { fields: [] }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ "data-testid": "form-children" }, { children: childrenContent })) }))).container;
|
|
153
|
-
var children = container.querySelector('[data-testid="form-children"]');
|
|
154
|
-
expect(children).toBeInTheDocument();
|
|
155
|
-
expect(children).toHaveTextContent(childrenContent);
|
|
156
|
-
});
|
|
157
|
-
it('should call onSubmit when form is submitted', function () {
|
|
158
|
-
var onSubmit = jest.fn();
|
|
159
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { onSubmit: onSubmit }))).container;
|
|
160
|
-
var form = (0, helpers_1.getElementByTag)(container, 'form');
|
|
161
|
-
react_1.fireEvent.submit(form);
|
|
162
|
-
expect(onSubmit).toHaveBeenCalled();
|
|
163
|
-
});
|
|
164
|
-
it('should not render submit button when submitLabel is not passed', function () {
|
|
165
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: "TestFormNoSubmit", view: FormMockView_1["default"], fields: [] })).container;
|
|
166
|
-
var form = (0, helpers_1.getElementByClassName)(container, expectedFormClass);
|
|
167
|
-
expect(form).toBeInTheDocument();
|
|
168
|
-
var button = container.querySelector('button[type="submit"]');
|
|
169
|
-
expect(button).not.toBeInTheDocument();
|
|
170
|
-
});
|
|
171
|
-
it('should render with empty fields when fields prop is empty', function () {
|
|
172
|
-
var _a = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: "TestFormEmpty", view: FormMockView_1["default"], fields: [], submitLabel: "Save" })), container = _a.container, getByText = _a.getByText;
|
|
173
|
-
var form = (0, helpers_1.getElementByClassName)(container, expectedFormClass);
|
|
174
|
-
expect(form).toBeInTheDocument();
|
|
175
|
-
expect(getByText('Save')).toBeInTheDocument();
|
|
176
|
-
});
|
|
177
|
-
it('should render only children when view is false', function () {
|
|
178
|
-
var childContent = 'Only child content';
|
|
179
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({ formId: "TestFormNoView", view: false }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ "data-testid": "form-child" }, { children: childContent })) }))).container;
|
|
180
|
-
expect(container.querySelector('form')).not.toBeInTheDocument();
|
|
181
|
-
var child = container.querySelector('[data-testid="form-child"]');
|
|
182
|
-
expect(child).toBeInTheDocument();
|
|
183
|
-
expect(child).toHaveTextContent(childContent);
|
|
184
|
-
});
|
|
185
|
-
it('should not call onSubmit when onBeforeSubmit returns false', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
186
|
-
var onSubmit, onBeforeSubmit, container, form;
|
|
187
|
-
return __generator(this, function (_a) {
|
|
188
|
-
switch (_a.label) {
|
|
189
|
-
case 0:
|
|
190
|
-
onSubmit = jest.fn();
|
|
191
|
-
onBeforeSubmit = jest.fn().mockReturnValue(false);
|
|
192
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { onSubmit: onSubmit, onBeforeSubmit: onBeforeSubmit }))).container;
|
|
193
|
-
form = (0, helpers_1.getElementByTag)(container, 'form');
|
|
194
|
-
react_1.fireEvent.submit(form);
|
|
195
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
196
|
-
expect(onBeforeSubmit).toHaveBeenCalled();
|
|
197
|
-
})];
|
|
198
|
-
case 1:
|
|
199
|
-
_a.sent();
|
|
200
|
-
expect(onSubmit).not.toHaveBeenCalled();
|
|
201
|
-
return [2 /*return*/];
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
}); });
|
|
205
|
-
it('should call onSubmit with cleaned form values', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
206
|
-
var onSubmit, container, emailInput, form, submittedValues;
|
|
207
|
-
return __generator(this, function (_a) {
|
|
208
|
-
switch (_a.label) {
|
|
209
|
-
case 0:
|
|
210
|
-
onSubmit = jest.fn();
|
|
211
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { onSubmit: onSubmit }))).container;
|
|
212
|
-
emailInput = container.querySelector('input');
|
|
213
|
-
form = (0, helpers_1.getElementByTag)(container, 'form');
|
|
214
|
-
expect(emailInput).toBeInTheDocument();
|
|
215
|
-
react_1.fireEvent.input(emailInput, {
|
|
216
|
-
target: {
|
|
217
|
-
value: 'test@example.com'
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
react_1.fireEvent.submit(form);
|
|
221
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
222
|
-
expect(onSubmit).toHaveBeenCalled();
|
|
223
|
-
})];
|
|
224
|
-
case 1:
|
|
225
|
-
_a.sent();
|
|
226
|
-
submittedValues = onSubmit.mock.calls[0][0];
|
|
227
|
-
expect(submittedValues).not.toBeNull();
|
|
228
|
-
expect(submittedValues).toEqual(expect.any(Object));
|
|
229
|
-
expect(submittedValues).toHaveProperty('email', 'test@example.com');
|
|
230
|
-
return [2 /*return*/];
|
|
231
|
-
}
|
|
232
|
-
});
|
|
233
|
-
}); });
|
|
234
|
-
it('should apply initialValues to form fields', function () {
|
|
235
|
-
var initialValues = {
|
|
236
|
-
email: 'initial@test.com',
|
|
237
|
-
name: 'Initial Name'
|
|
238
|
-
};
|
|
239
|
-
var getByDisplayValue = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { initialValues: initialValues }))).getByDisplayValue;
|
|
240
|
-
expect(getByDisplayValue(initialValues.email)).toBeInTheDocument();
|
|
241
|
-
expect(getByDisplayValue(initialValues.name)).toBeInTheDocument();
|
|
242
|
-
});
|
|
243
|
-
it('should call onChange when form values change', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
244
|
-
var onChange, container, emailInput, lastCallValues;
|
|
245
|
-
return __generator(this, function (_a) {
|
|
246
|
-
switch (_a.label) {
|
|
247
|
-
case 0:
|
|
248
|
-
onChange = jest.fn();
|
|
249
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { onChange: onChange }))).container;
|
|
250
|
-
emailInput = container.querySelector('input');
|
|
251
|
-
expect(emailInput).toBeInTheDocument();
|
|
252
|
-
react_1.fireEvent.input(emailInput, {
|
|
253
|
-
target: {
|
|
254
|
-
value: 'new@mail.com'
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
258
|
-
expect(onChange).toHaveBeenCalled();
|
|
259
|
-
})];
|
|
260
|
-
case 1:
|
|
261
|
-
_a.sent();
|
|
262
|
-
lastCallValues = onChange.mock.calls[onChange.mock.calls.length - 1][0];
|
|
263
|
-
expect(lastCallValues).toHaveProperty('email', 'new@mail.com');
|
|
264
|
-
return [2 /*return*/];
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
}); });
|
|
268
|
-
it('should call preventDefault on submit event', function () {
|
|
269
|
-
var onSubmit = jest.fn();
|
|
270
|
-
var container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { onSubmit: onSubmit }))).container;
|
|
271
|
-
var form = (0, helpers_1.getElementByTag)(container, 'form');
|
|
272
|
-
var event = new Event('submit', {
|
|
273
|
-
bubbles: true,
|
|
274
|
-
cancelable: true
|
|
275
|
-
});
|
|
276
|
-
var preventDefaultSpy = jest.spyOn(event, 'preventDefault');
|
|
277
|
-
(0, react_1.fireEvent)(form, event);
|
|
278
|
-
expect(preventDefaultSpy).toHaveBeenCalled();
|
|
279
|
-
});
|
|
280
|
-
it('should call onBeforeSubmit with values before onSubmit', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
281
|
-
var onSubmit, onBeforeSubmit, container;
|
|
282
|
-
return __generator(this, function (_a) {
|
|
283
|
-
switch (_a.label) {
|
|
284
|
-
case 0:
|
|
285
|
-
onSubmit = jest.fn();
|
|
286
|
-
onBeforeSubmit = jest.fn().mockReturnValue(true);
|
|
287
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { onSubmit: onSubmit, onBeforeSubmit: onBeforeSubmit }))).container;
|
|
288
|
-
react_1.fireEvent.submit((0, helpers_1.getElementByTag)(container, 'form'));
|
|
289
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
290
|
-
expect(onBeforeSubmit).toHaveBeenCalled();
|
|
291
|
-
expect(onSubmit).toHaveBeenCalled();
|
|
292
|
-
})];
|
|
293
|
-
case 1:
|
|
294
|
-
_a.sent();
|
|
295
|
-
expect(onBeforeSubmit).toHaveBeenCalledWith(expect.any(Object));
|
|
296
|
-
return [2 /*return*/];
|
|
297
|
-
}
|
|
298
|
-
});
|
|
299
|
-
}); });
|
|
300
|
-
it('should render additional buttons from buttons prop', function () {
|
|
301
|
-
var extraButtonLabel = 'Доп. кнопка';
|
|
302
|
-
var getByText = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], __assign({}, defaultProps, { buttons: ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button" }, { children: extraButtonLabel }))) }))).getByText;
|
|
303
|
-
expect(getByText(extraButtonLabel)).toBeInTheDocument();
|
|
304
|
-
expect(getByText(defaultProps.submitLabel)).toBeInTheDocument();
|
|
305
|
-
});
|
|
306
|
-
});
|
|
307
|
-
describe('Form tests with HTTP mock', function () {
|
|
308
|
-
beforeEach(function () {
|
|
309
|
-
delete window.SteroidsComponents;
|
|
310
|
-
});
|
|
311
|
-
it('should call onAfterSubmit and onComplete on successful http submit', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
312
|
-
var responseData, mockSend, onAfterSubmit, onComplete, container;
|
|
313
|
-
return __generator(this, function (_a) {
|
|
314
|
-
switch (_a.label) {
|
|
315
|
-
case 0:
|
|
316
|
-
responseData = {
|
|
317
|
-
id: 1,
|
|
318
|
-
success: true
|
|
319
|
-
};
|
|
320
|
-
mockSend = jest.fn().mockResolvedValue({
|
|
321
|
-
data: responseData
|
|
322
|
-
});
|
|
323
|
-
global.__FORM_HTTP_SEND__ = mockSend;
|
|
324
|
-
onAfterSubmit = jest.fn();
|
|
325
|
-
onComplete = jest.fn();
|
|
326
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: "FormHttpSuccess", view: FormMockView_1["default"], action: "/api/submit", fields: [], onAfterSubmit: onAfterSubmit, onComplete: onComplete })).container;
|
|
327
|
-
react_1.fireEvent.submit((0, helpers_1.getElementByTag)(container, 'form'));
|
|
328
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
329
|
-
expect(mockSend).toHaveBeenCalled();
|
|
330
|
-
})];
|
|
331
|
-
case 1:
|
|
332
|
-
_a.sent();
|
|
333
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
334
|
-
expect(onAfterSubmit).toHaveBeenCalledWith(expect.any(Object), responseData, expect.objectContaining({
|
|
335
|
-
data: responseData
|
|
336
|
-
}));
|
|
337
|
-
expect(onComplete).toHaveBeenCalledWith(expect.any(Object), responseData, expect.objectContaining({
|
|
338
|
-
data: responseData
|
|
339
|
-
}));
|
|
340
|
-
})];
|
|
341
|
-
case 2:
|
|
342
|
-
_a.sent();
|
|
343
|
-
delete global.__FORM_HTTP_SEND__;
|
|
344
|
-
return [2 /*return*/];
|
|
345
|
-
}
|
|
346
|
-
});
|
|
347
|
-
}); });
|
|
348
|
-
it('should call onError when http request fails', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
349
|
-
var requestError, mockSend, onError, container;
|
|
350
|
-
return __generator(this, function (_a) {
|
|
351
|
-
switch (_a.label) {
|
|
352
|
-
case 0:
|
|
353
|
-
requestError = new Error('Network error');
|
|
354
|
-
mockSend = jest.fn().mockRejectedValue(requestError);
|
|
355
|
-
global.__FORM_HTTP_SEND__ = mockSend;
|
|
356
|
-
onError = jest.fn();
|
|
357
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: "FormHttpError", view: FormMockView_1["default"], action: "/api/submit", fields: [], onError: onError })).container;
|
|
358
|
-
react_1.fireEvent.submit((0, helpers_1.getElementByTag)(container, 'form'));
|
|
359
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
360
|
-
expect(mockSend).toHaveBeenCalled();
|
|
361
|
-
})];
|
|
362
|
-
case 1:
|
|
363
|
-
_a.sent();
|
|
364
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
365
|
-
expect(onError).toHaveBeenCalledWith(requestError);
|
|
366
|
-
})];
|
|
367
|
-
case 2:
|
|
368
|
-
_a.sent();
|
|
369
|
-
delete global.__FORM_HTTP_SEND__;
|
|
370
|
-
return [2 /*return*/];
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
}); });
|
|
374
|
-
});
|
|
375
|
-
describe('Form autoDestroy', function () {
|
|
376
|
-
var formId = 'FormAutoDestroy';
|
|
377
|
-
var formDestroy = require('../../../../src/actions/form').formDestroy;
|
|
378
|
-
it('should dispatch formDestroy on unmount when autoDestroy is true', function () {
|
|
379
|
-
formDestroy.mockClear();
|
|
380
|
-
var unmount = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: formId, view: FormMockView_1["default"], fields: [], autoDestroy: true })).unmount;
|
|
381
|
-
unmount();
|
|
382
|
-
expect(formDestroy).toHaveBeenCalledWith(formId);
|
|
383
|
-
});
|
|
384
|
-
});
|
|
385
|
-
describe('Form addressBar', function () {
|
|
386
|
-
it('should merge initialQuery from addressBar into initial values', function () {
|
|
387
|
-
var initialQuery = {
|
|
388
|
-
email: 'from-url@test.com'
|
|
389
|
-
};
|
|
390
|
-
var useAddressBarMock = require('../../../../src/hooks/useAddressBar')["default"];
|
|
391
|
-
useAddressBarMock.mockReturnValueOnce({
|
|
392
|
-
initialQuery: initialQuery,
|
|
393
|
-
updateQuery: jest.fn()
|
|
394
|
-
});
|
|
395
|
-
var fields = [
|
|
396
|
-
{
|
|
397
|
-
attribute: 'email',
|
|
398
|
-
component: InputField_1["default"],
|
|
399
|
-
label: 'Email'
|
|
400
|
-
},
|
|
401
|
-
];
|
|
402
|
-
var getByDisplayValue = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: "FormAddressBar", view: FormMockView_1["default"], fields: fields, addressBar: true })).getByDisplayValue;
|
|
403
|
-
expect(getByDisplayValue(initialQuery.email)).toBeInTheDocument();
|
|
404
|
-
});
|
|
405
|
-
});
|
|
406
|
-
describe('Form autoSave', function () {
|
|
407
|
-
beforeEach(function () {
|
|
408
|
-
delete window.SteroidsComponents;
|
|
409
|
-
});
|
|
410
|
-
it('should save form values to clientStorage when autoSave is true', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
411
|
-
var mockSet, fields, container, input;
|
|
412
|
-
return __generator(this, function (_a) {
|
|
413
|
-
switch (_a.label) {
|
|
414
|
-
case 0:
|
|
415
|
-
mockSet = jest.fn();
|
|
416
|
-
global.__FORM_CLIENT_STORAGE_SET__ = mockSet;
|
|
417
|
-
fields = [
|
|
418
|
-
{
|
|
419
|
-
attribute: 'email',
|
|
420
|
-
component: InputField_1["default"],
|
|
421
|
-
label: 'Email'
|
|
422
|
-
},
|
|
423
|
-
];
|
|
424
|
-
container = (0, helpers_1.render)((0, jsx_runtime_1.jsx)(Form_1["default"], { formId: "FormAutoSave", view: FormMockView_1["default"], fields: fields, autoSave: true })).container;
|
|
425
|
-
input = container.querySelector('input');
|
|
426
|
-
react_1.fireEvent.input(input, {
|
|
427
|
-
target: {
|
|
428
|
-
value: 'saved@test.com'
|
|
429
|
-
}
|
|
430
|
-
});
|
|
431
|
-
return [4 /*yield*/, (0, react_1.waitFor)(function () {
|
|
432
|
-
expect(mockSet).toHaveBeenCalled();
|
|
433
|
-
})];
|
|
434
|
-
case 1:
|
|
435
|
-
_a.sent();
|
|
436
|
-
expect(mockSet).toHaveBeenCalledWith('Form_FormAutoSave', expect.stringContaining('saved@test.com'));
|
|
437
|
-
delete global.__FORM_CLIENT_STORAGE_SET__;
|
|
438
|
-
return [2 /*return*/];
|
|
439
|
-
}
|
|
440
|
-
});
|
|
441
|
-
}); });
|
|
442
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IFormViewProps } from '../../../../src/ui/form/Form/Form';
|
|
3
|
-
declare function FormView(props: IFormViewProps): JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof FormView>;
|
|
5
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
exports.__esModule = true;
|
|
17
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
|
-
var isString_1 = __importDefault(require("lodash-es/isString"));
|
|
19
|
-
var react_1 = require("react");
|
|
20
|
-
var react_use_1 = require("react-use");
|
|
21
|
-
var hooks_1 = require("../../../../src/hooks");
|
|
22
|
-
var Button_1 = __importDefault(require("../../../../src/ui/form/Button"));
|
|
23
|
-
var Field_1 = __importDefault(require("../../../../src/ui/form/Field"));
|
|
24
|
-
function FormView(props) {
|
|
25
|
-
var bem = (0, hooks_1.useBem)('FormView');
|
|
26
|
-
var formRef = (0, react_1.useRef)(null);
|
|
27
|
-
// Auto focus
|
|
28
|
-
(0, react_use_1.useMount)(function () {
|
|
29
|
-
if (props.autoFocus) {
|
|
30
|
-
var inputEl_1 = formRef.current.querySelector('input:not([type=hidden])');
|
|
31
|
-
setTimeout(function () {
|
|
32
|
-
if (inputEl_1 && inputEl_1.focus) {
|
|
33
|
-
inputEl_1.focus();
|
|
34
|
-
}
|
|
35
|
-
}, 10);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
return ((0, jsx_runtime_1.jsxs)("form", __assign({ ref: formRef, className: bem(bem.block(), props.className), onSubmit: props.onSubmit, style: props.style }, { children: [props.children, (props.fields || []).map(function (field, index) { return ((0, jsx_runtime_1.jsx)(Field_1["default"], __assign({}, ((0, isString_1["default"])(field) ? {
|
|
39
|
-
attribute: field
|
|
40
|
-
} : field)), index)); }), props.buttons, props.submitLabel && ((0, jsx_runtime_1.jsx)(Button_1["default"], { type: 'submit', label: props.submitLabel }))] })));
|
|
41
|
-
}
|
|
42
|
-
exports["default"] = (0, react_1.memo)(FormView);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
exports.__esModule = true;
|
|
6
|
-
require("@testing-library/jest-dom");
|
|
7
|
-
var HtmlFieldMockView_1 = __importDefault(require("./HtmlFieldMockView"));
|
|
8
|
-
var HtmlField_1 = __importDefault(require("../../../../src/ui/form/HtmlField"));
|
|
9
|
-
var helpers_1 = require("../../../helpers");
|
|
10
|
-
describe('HtmlField tests', function () {
|
|
11
|
-
var props = {
|
|
12
|
-
view: HtmlFieldMockView_1["default"]
|
|
13
|
-
};
|
|
14
|
-
var expectedHtmlFieldClass = 'HtmlFieldView';
|
|
15
|
-
it('should be in the document', function () {
|
|
16
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(HtmlField_1["default"], props)).container;
|
|
17
|
-
var htmlField = (0, helpers_1.getElementByClassName)(container, expectedHtmlFieldClass);
|
|
18
|
-
expect(htmlField).toBeInTheDocument();
|
|
19
|
-
});
|
|
20
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
// import {CKEditor} from '@ckeditor/ckeditor5-react';
|
|
5
|
-
// import ClassicEditor from '@steroidsjs/ckeditor5/packages/ckeditor5-build-classic';
|
|
6
|
-
var hooks_1 = require("../../../../src/hooks");
|
|
7
|
-
function HtmlFieldView(props) {
|
|
8
|
-
var bem = (0, hooks_1.useBem)('HtmlFieldView');
|
|
9
|
-
if (process.env.IS_SSR) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: bem.block() }));
|
|
13
|
-
}
|
|
14
|
-
exports["default"] = HtmlFieldView;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
exports.__esModule = true;
|
|
17
|
-
require("@testing-library/jest-dom");
|
|
18
|
-
var dom_1 = require("@testing-library/dom");
|
|
19
|
-
var react_1 = require("@testing-library/react");
|
|
20
|
-
var InputFieldMockView_1 = __importDefault(require("./InputFieldMockView"));
|
|
21
|
-
var InputField_1 = __importDefault(require("../../../../src/ui/form/InputField/InputField"));
|
|
22
|
-
var helpers_1 = require("../../../helpers");
|
|
23
|
-
describe('InputField tests', function () {
|
|
24
|
-
var props = {
|
|
25
|
-
view: InputFieldMockView_1["default"],
|
|
26
|
-
showClear: true,
|
|
27
|
-
leadIcon: 'mockIcon',
|
|
28
|
-
className: 'externalClass',
|
|
29
|
-
placeholder: 'placeholder',
|
|
30
|
-
size: 'sm',
|
|
31
|
-
inputProps: {
|
|
32
|
-
name: 'inputField-test'
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
var expectedInputFieldClass = 'InputFieldView';
|
|
36
|
-
it('should be in the document', function () {
|
|
37
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], props)).container;
|
|
38
|
-
var inputField = (0, helpers_1.getElementByClassName)(container, expectedInputFieldClass);
|
|
39
|
-
expect(inputField).toBeInTheDocument();
|
|
40
|
-
});
|
|
41
|
-
it('should have correct attributes', function () {
|
|
42
|
-
var _a;
|
|
43
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], props)).container;
|
|
44
|
-
var input = (0, helpers_1.getElementByTag)(container, 'input');
|
|
45
|
-
expect(input).toHaveAttribute('name', (_a = props.inputProps) === null || _a === void 0 ? void 0 : _a.name);
|
|
46
|
-
expect(input).toHaveAttribute('placeholder', props.placeholder);
|
|
47
|
-
});
|
|
48
|
-
it('should have external class', function () {
|
|
49
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], props)).container;
|
|
50
|
-
var inputField = (0, helpers_1.getElementByClassName)(container, expectedInputFieldClass);
|
|
51
|
-
expect(inputField).toHaveClass(props.className);
|
|
52
|
-
});
|
|
53
|
-
it('should have correct classes', function () {
|
|
54
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], props)).container;
|
|
55
|
-
var inputField = (0, helpers_1.getElementByClassName)(container, expectedInputFieldClass);
|
|
56
|
-
expect(inputField).toHaveClass(expectedInputFieldClass);
|
|
57
|
-
expect(inputField).toHaveClass("".concat(expectedInputFieldClass, "_size_sm"));
|
|
58
|
-
expect(inputField).toHaveClass("".concat(expectedInputFieldClass, "_hasLeadIcon"));
|
|
59
|
-
expect(inputField).toHaveClass("".concat(expectedInputFieldClass, "_hasClearIcon"));
|
|
60
|
-
});
|
|
61
|
-
it('should have icons', function () {
|
|
62
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], props)).container;
|
|
63
|
-
var clearIcon = (0, helpers_1.getElementByClassName)(container, "".concat(expectedInputFieldClass, "__icon-clear"));
|
|
64
|
-
var leadIcon = (0, helpers_1.getElementByClassName)(container, "".concat(expectedInputFieldClass, "__lead-icon"));
|
|
65
|
-
expect(clearIcon).toBeInTheDocument();
|
|
66
|
-
expect(leadIcon).toBeInTheDocument();
|
|
67
|
-
});
|
|
68
|
-
it('should have filled class after typing', function () {
|
|
69
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], props)).container;
|
|
70
|
-
var input = (0, helpers_1.getElementByClassName)(container, 'InputFieldView__input');
|
|
71
|
-
dom_1.fireEvent.change(input, {
|
|
72
|
-
target: {
|
|
73
|
-
value: 'test'
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
(0, react_1.waitFor)(function () {
|
|
77
|
-
var inputField = (0, helpers_1.getElementByClassName)(container, expectedInputFieldClass);
|
|
78
|
-
expect(inputField).toHaveClass("".concat(expectedInputFieldClass, "_filled"));
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
it('should be disabled', function () {
|
|
82
|
-
var expectedDisabledInputFieldClassName = 'InputFieldView_disabled';
|
|
83
|
-
var container = (0, helpers_1.render)((0, helpers_1.JSXWrapper)(InputField_1["default"], __assign(__assign({}, props), { disabled: true }))).container;
|
|
84
|
-
var input = (0, helpers_1.getElementByClassName)(container, 'InputFieldView__input');
|
|
85
|
-
expect(input).toHaveAttribute('disabled');
|
|
86
|
-
dom_1.fireEvent.change(input, {
|
|
87
|
-
target: {
|
|
88
|
-
value: 'test'
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
(0, react_1.waitFor)(function () {
|
|
92
|
-
var inputField = (0, helpers_1.getElementByClassName)(container, expectedInputFieldClass);
|
|
93
|
-
expect(inputField).toHaveClass(expectedDisabledInputFieldClassName);
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
});
|