@gisce/react-ooui 1.5.1 → 1.5.2-alpha.1
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 +73 -42
- package/src/actionbar/FormActionBar.tsx +1 -1
- package/src/actionbar/TreeActionBar.tsx +1 -1
- package/src/common/DatePicker.tsx +2 -2
- package/src/common/SelectAllRecordsRow.tsx +4 -5
- package/src/context/ContentRootContext.tsx +61 -54
- package/src/context/TabManagerContext.tsx +3 -4
- package/src/helpers/dynamicColumnsHelper.ts +1 -1
- package/src/helpers/filesHelper.ts +7 -7
- package/src/helpers/formHelper.ts +23 -24
- package/src/helpers/one2manyHelper.ts +6 -6
- package/src/helpers/searchHelper.ts +8 -5
- package/src/helpers/treeHelper.ts +7 -7
- package/src/helpers/viewHelper.ts +2 -2
- package/src/hooks/useExport.ts +2 -3
- package/src/hooks/useSearch.ts +8 -8
- package/src/index.ts +4 -0
- package/src/stories/Binary.stories.tsx +0 -3
- package/src/stories/Boolean.stories.tsx +0 -3
- package/src/stories/Button.stories.tsx +8 -14
- package/src/stories/Char.stories.tsx +0 -3
- package/src/stories/FiberGrid.stories.tsx +0 -3
- package/src/stories/Float.stories.tsx +0 -3
- package/src/stories/FloatTime.stories.tsx +0 -3
- package/src/stories/Image.stories.tsx +0 -3
- package/src/stories/Integer.stories.tsx +0 -3
- package/src/stories/Label.stories.tsx +0 -3
- package/src/stories/Many2one.stories.tsx +0 -3
- package/src/stories/One2many.stories.tsx +4 -11
- package/src/stories/ProgressBar.stories.tsx +0 -3
- package/src/stories/Reference.stories.tsx +0 -3
- package/src/stories/Selection.stories.tsx +0 -3
- package/src/stories/Separator.stories.tsx +3 -7
- package/src/stories/Text.stories.tsx +0 -3
- package/src/stories/containers/Group.stories.tsx +0 -5
- package/src/stories/containers/NewLine.stories.tsx +0 -4
- package/src/stories/containers/Notebook.stories.tsx +0 -5
- package/src/stories/custom/Avatar.stories.tsx +0 -1
- package/src/stories/custom/ButtonGroup.stories.tsx +36 -23
- package/src/stories/custom/CodeEditor.stories.tsx +1 -4
- package/src/stories/custom/Indicator.stories.tsx +3 -11
- package/src/stories/custom/Markdown.stories.tsx +2 -6
- package/src/stories/custom/MultiCheckbox.stories.tsx +20 -15
- package/src/stories/custom/Radio.stories.tsx +13 -16
- package/src/stories/custom/Steps.stories.tsx +7 -5
- package/src/stories/custom/Switch.stories.tsx +0 -3
- package/src/stories/custom/Tag.stories.tsx +17 -11
- package/src/stories/custom/Tags.stories.tsx +20 -16
- package/src/stories/forms/PreferencesForm.stories.tsx +0 -4
- package/src/stories/ui/ActionBar.stories.tsx +0 -3
- package/src/stories/ui/FavouriteButton.stories.tsx +0 -3
- package/src/stories/ui/GoToResourceModal.stories.tsx +0 -3
- package/src/stories/views/SearchTree.stories.tsx +43 -89
- package/src/stories/views/Tab.stories.tsx +0 -3
- package/src/stories/views/TabsAndContent.stories.tsx +0 -3
- package/src/stories/views/Tree.stories.jsx +0 -4
- package/src/stories/views/searchFilter/DateRangePicker.stories.tsx +0 -3
- package/src/stories/views/searchFilter/DateTimeRangePicker.stories.tsx +0 -3
- package/src/stories/views/searchFilter/PairFields.stories.tsx +0 -3
- package/src/stories/views/searchFilter/SearchFilter.stories.tsx +0 -4
- package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +0 -4
- package/src/types/index.ts +94 -43
- package/src/ui/FavouriteButton.tsx +2 -3
- package/src/views/ActionView.tsx +12 -11
- package/src/views/RootView.tsx +5 -6
- package/src/widgets/base/Binary.tsx +2 -2
- package/src/widgets/base/Boolean.tsx +1 -2
- package/src/widgets/base/Float.tsx +1 -1
- package/src/widgets/base/Integer.tsx +2 -2
- package/src/widgets/base/Label.tsx +9 -9
- package/src/widgets/base/LinkInput.tsx +6 -1
- package/src/widgets/base/MultiSelection.tsx +1 -2
- package/src/widgets/base/Selection.tsx +11 -5
- package/src/widgets/base/Time.tsx +13 -12
- package/src/widgets/base/many2one/Many2one.tsx +7 -8
- package/src/widgets/base/many2one/Many2oneSuffix.tsx +23 -12
- package/src/widgets/base/one2many/One2manyInput.tsx +13 -14
- package/src/widgets/containers/Notebook.tsx +9 -2
- package/src/widgets/custom/ButtonGroup.tsx +13 -10
- package/src/widgets/custom/CodeEditor.tsx +7 -3
- package/src/widgets/custom/Comments.tsx +76 -70
- package/src/widgets/custom/Indicator.tsx +1 -2
- package/src/widgets/custom/MultiCheckbox.tsx +2 -2
- package/src/widgets/custom/Tag.tsx +20 -16
- package/src/widgets/custom/Tags.tsx +3 -3
- package/src/widgets/custom/Timeline.tsx +6 -6
- package/src/widgets/views/Dashboard/DashboardTree.tsx +2 -2
- package/src/widgets/views/DashboardGrid/DashboardGrid.types.ts +1 -1
- package/src/widgets/views/Form.tsx +9 -10
- package/src/widgets/views/Graph/GraphIndicator.tsx +7 -7
- package/src/widgets/views/SearchTree.tsx +2 -2
- package/src/widgets/views/Tree.tsx +15 -16
- package/src/widgets/views/searchFilter/DateTimeRangePicker.tsx +1 -3
- package/dist/ConnectionProvider.d.ts +0 -7
- package/dist/ConnectionProvider.d.ts.map +0 -1
- package/dist/actionbar/ActionButton.d.ts +0 -13
- package/dist/actionbar/ActionButton.d.ts.map +0 -1
- package/dist/actionbar/AttachmentsButton.d.ts +0 -12
- package/dist/actionbar/AttachmentsButton.d.ts.map +0 -1
- package/dist/actionbar/AttachmentsButtonWrapper.d.ts +0 -19
- package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +0 -1
- package/dist/actionbar/ButtonWithBadge.d.ts +0 -8
- package/dist/actionbar/ButtonWithBadge.d.ts.map +0 -1
- package/dist/actionbar/ChangeViewButton.d.ts +0 -13
- package/dist/actionbar/ChangeViewButton.d.ts.map +0 -1
- package/dist/actionbar/DashboardActionBar.d.ts +0 -4
- package/dist/actionbar/DashboardActionBar.d.ts.map +0 -1
- package/dist/actionbar/DropdownButton.d.ts +0 -12
- package/dist/actionbar/DropdownButton.d.ts.map +0 -1
- package/dist/actionbar/FormActionBar.d.ts +0 -6
- package/dist/actionbar/FormActionBar.d.ts.map +0 -1
- package/dist/actionbar/GraphActionBar.d.ts +0 -6
- package/dist/actionbar/GraphActionBar.d.ts.map +0 -1
- package/dist/actionbar/NewButton.d.ts +0 -7
- package/dist/actionbar/NewButton.d.ts.map +0 -1
- package/dist/actionbar/SearchBar.d.ts +0 -9
- package/dist/actionbar/SearchBar.d.ts.map +0 -1
- package/dist/actionbar/TreeActionBar.d.ts +0 -9
- package/dist/actionbar/TreeActionBar.d.ts.map +0 -1
- package/dist/common/ButtonWithTooltip.d.ts +0 -8
- package/dist/common/ButtonWithTooltip.d.ts.map +0 -1
- package/dist/common/DatePicker.d.ts +0 -20
- package/dist/common/DatePicker.d.ts.map +0 -1
- package/dist/common/Field.d.ts +0 -14
- package/dist/common/Field.d.ts.map +0 -1
- package/dist/common/SelectAllRecordsRow.d.ts +0 -10
- package/dist/common/SelectAllRecordsRow.d.ts.map +0 -1
- package/dist/context/ActionViewContext.d.ts +0 -65
- package/dist/context/ActionViewContext.d.ts.map +0 -1
- package/dist/context/ConfigContext.d.ts +0 -7
- package/dist/context/ConfigContext.d.ts.map +0 -1
- package/dist/context/ContentRootContext.d.ts +0 -19
- package/dist/context/ContentRootContext.d.ts.map +0 -1
- package/dist/context/DashboardActionContext.d.ts +0 -19
- package/dist/context/DashboardActionContext.d.ts.map +0 -1
- package/dist/context/FormContext.d.ts +0 -35
- package/dist/context/FormContext.d.ts.map +0 -1
- package/dist/context/FormModalContext.d.ts +0 -11
- package/dist/context/FormModalContext.d.ts.map +0 -1
- package/dist/context/LocaleContext.d.ts +0 -14
- package/dist/context/LocaleContext.d.ts.map +0 -1
- package/dist/context/One2manyContext.d.ts +0 -17
- package/dist/context/One2manyContext.d.ts.map +0 -1
- package/dist/context/TabManagerContext.d.ts +0 -50
- package/dist/context/TabManagerContext.d.ts.map +0 -1
- package/dist/helpers/containerHelper.d.ts +0 -22
- package/dist/helpers/containerHelper.d.ts.map +0 -1
- package/dist/helpers/dynamicColumnsHelper.d.ts +0 -8
- package/dist/helpers/dynamicColumnsHelper.d.ts.map +0 -1
- package/dist/helpers/errorHelper.d.ts +0 -6
- package/dist/helpers/errorHelper.d.ts.map +0 -1
- package/dist/helpers/filesHelper.d.ts +0 -8
- package/dist/helpers/filesHelper.d.ts.map +0 -1
- package/dist/helpers/formHelper.d.ts +0 -36
- package/dist/helpers/formHelper.d.ts.map +0 -1
- package/dist/helpers/iconMapper.d.ts +0 -13
- package/dist/helpers/iconMapper.d.ts.map +0 -1
- package/dist/helpers/logInfoHelper.d.ts +0 -3
- package/dist/helpers/logInfoHelper.d.ts.map +0 -1
- package/dist/helpers/one2manyHelper.d.ts +0 -37
- package/dist/helpers/one2manyHelper.d.ts.map +0 -1
- package/dist/helpers/searchHelper.d.ts +0 -6
- package/dist/helpers/searchHelper.d.ts.map +0 -1
- package/dist/helpers/timeHelper.d.ts +0 -4
- package/dist/helpers/timeHelper.d.ts.map +0 -1
- package/dist/helpers/treeHelper.d.ts +0 -23
- package/dist/helpers/treeHelper.d.ts.map +0 -1
- package/dist/helpers/viewHelper.d.ts +0 -10
- package/dist/helpers/viewHelper.d.ts.map +0 -1
- package/dist/hooks/useExport.d.ts +0 -44
- package/dist/hooks/useExport.d.ts.map +0 -1
- package/dist/hooks/useSearch.d.ts +0 -56
- package/dist/hooks/useSearch.d.ts.map +0 -1
- package/dist/hooks/useWindowDimensions.d.ts +0 -7
- package/dist/hooks/useWindowDimensions.d.ts.map +0 -1
- package/dist/index.d.ts +0 -57
- package/dist/index.d.ts.map +0 -1
- package/dist/locales/ca_ES.d.ts +0 -93
- package/dist/locales/ca_ES.d.ts.map +0 -1
- package/dist/locales/en_US.d.ts +0 -93
- package/dist/locales/en_US.d.ts.map +0 -1
- package/dist/locales/es_ES.d.ts +0 -93
- package/dist/locales/es_ES.d.ts.map +0 -1
- package/dist/react-ooui.es.js +0 -11763
- package/dist/react-ooui.es.js.map +0 -1
- package/dist/react-ooui.umd.js +0 -42
- package/dist/react-ooui.umd.js.map +0 -1
- package/dist/style.css +0 -1
- package/dist/types/index.d.ts +0 -256
- package/dist/types/index.d.ts.map +0 -1
- package/dist/ui/ActionErrorDialog.d.ts +0 -3
- package/dist/ui/ActionErrorDialog.d.ts.map +0 -1
- package/dist/ui/ConfirmDialog.d.ts +0 -7
- package/dist/ui/ConfirmDialog.d.ts.map +0 -1
- package/dist/ui/ErrorAlert.d.ts +0 -6
- package/dist/ui/ErrorAlert.d.ts.map +0 -1
- package/dist/ui/FavouriteButton.d.ts +0 -26
- package/dist/ui/FavouriteButton.d.ts.map +0 -1
- package/dist/ui/FormErrorsDialog.d.ts +0 -3
- package/dist/ui/FormErrorsDialog.d.ts.map +0 -1
- package/dist/ui/GenericErrorDialog.d.ts +0 -3
- package/dist/ui/GenericErrorDialog.d.ts.map +0 -1
- package/dist/ui/GoToResourceModal.d.ts +0 -10
- package/dist/ui/GoToResourceModal.d.ts.map +0 -1
- package/dist/ui/InfoDialog.d.ts +0 -3
- package/dist/ui/InfoDialog.d.ts.map +0 -1
- package/dist/ui/RefreshItemDialog.d.ts +0 -7
- package/dist/ui/RefreshItemDialog.d.ts.map +0 -1
- package/dist/ui/RemoveItemDialog.d.ts +0 -6
- package/dist/ui/RemoveItemDialog.d.ts.map +0 -1
- package/dist/ui/TitleHeader.d.ts +0 -8
- package/dist/ui/TitleHeader.d.ts.map +0 -1
- package/dist/ui/UnlinkItemDialog.d.ts +0 -6
- package/dist/ui/UnlinkItemDialog.d.ts.map +0 -1
- package/dist/ui/UnsavedChangesDialog.d.ts +0 -7
- package/dist/ui/UnsavedChangesDialog.d.ts.map +0 -1
- package/dist/ui/WarningDialog.d.ts +0 -3
- package/dist/ui/WarningDialog.d.ts.map +0 -1
- package/dist/views/ActionView.d.ts +0 -22
- package/dist/views/ActionView.d.ts.map +0 -1
- package/dist/views/CurrentTabContent.d.ts +0 -4
- package/dist/views/CurrentTabContent.d.ts.map +0 -1
- package/dist/views/RootView.d.ts +0 -14
- package/dist/views/RootView.d.ts.map +0 -1
- package/dist/views/TabContent.d.ts +0 -8
- package/dist/views/TabContent.d.ts.map +0 -1
- package/dist/views/TabSelector.d.ts +0 -4
- package/dist/views/TabSelector.d.ts.map +0 -1
- package/dist/views/Welcome.d.ts +0 -4
- package/dist/views/Welcome.d.ts.map +0 -1
- package/dist/views/actionViews/DashboardActionView.d.ts +0 -7
- package/dist/views/actionViews/DashboardActionView.d.ts.map +0 -1
- package/dist/views/actionViews/FormActionView.d.ts +0 -18
- package/dist/views/actionViews/FormActionView.d.ts.map +0 -1
- package/dist/views/actionViews/GraphActionView.d.ts +0 -13
- package/dist/views/actionViews/GraphActionView.d.ts.map +0 -1
- package/dist/views/actionViews/TreeActionView.d.ts +0 -20
- package/dist/views/actionViews/TreeActionView.d.ts.map +0 -1
- package/dist/views/tabs/Tab.d.ts +0 -11
- package/dist/views/tabs/Tab.d.ts.map +0 -1
- package/dist/widgets/WidgetFactory.d.ts +0 -4
- package/dist/widgets/WidgetFactory.d.ts.map +0 -1
- package/dist/widgets/base/Binary.d.ts +0 -14
- package/dist/widgets/base/Binary.d.ts.map +0 -1
- package/dist/widgets/base/Boolean.d.ts +0 -4
- package/dist/widgets/base/Boolean.d.ts.map +0 -1
- package/dist/widgets/base/Button.d.ts +0 -8
- package/dist/widgets/base/Button.d.ts.map +0 -1
- package/dist/widgets/base/Char.d.ts +0 -8
- package/dist/widgets/base/Char.d.ts.map +0 -1
- package/dist/widgets/base/Date.d.ts +0 -5
- package/dist/widgets/base/Date.d.ts.map +0 -1
- package/dist/widgets/base/DateTime.d.ts +0 -5
- package/dist/widgets/base/DateTime.d.ts.map +0 -1
- package/dist/widgets/base/Email.d.ts +0 -4
- package/dist/widgets/base/Email.d.ts.map +0 -1
- package/dist/widgets/base/Float.d.ts +0 -4
- package/dist/widgets/base/Float.d.ts.map +0 -1
- package/dist/widgets/base/FloatTime.d.ts +0 -12
- package/dist/widgets/base/FloatTime.d.ts.map +0 -1
- package/dist/widgets/base/Image.d.ts +0 -14
- package/dist/widgets/base/Image.d.ts.map +0 -1
- package/dist/widgets/base/Integer.d.ts +0 -8
- package/dist/widgets/base/Integer.d.ts.map +0 -1
- package/dist/widgets/base/Label.d.ts +0 -9
- package/dist/widgets/base/Label.d.ts.map +0 -1
- package/dist/widgets/base/LinkInput.d.ts +0 -12
- package/dist/widgets/base/LinkInput.d.ts.map +0 -1
- package/dist/widgets/base/MultiSelection.d.ts +0 -10
- package/dist/widgets/base/MultiSelection.d.ts.map +0 -1
- package/dist/widgets/base/ProgressBar.d.ts +0 -7
- package/dist/widgets/base/ProgressBar.d.ts.map +0 -1
- package/dist/widgets/base/Reference.d.ts +0 -16
- package/dist/widgets/base/Reference.d.ts.map +0 -1
- package/dist/widgets/base/ReferenceTree.d.ts +0 -8
- package/dist/widgets/base/ReferenceTree.d.ts.map +0 -1
- package/dist/widgets/base/Selection.d.ts +0 -10
- package/dist/widgets/base/Selection.d.ts.map +0 -1
- package/dist/widgets/base/Separator.d.ts +0 -8
- package/dist/widgets/base/Separator.d.ts.map +0 -1
- package/dist/widgets/base/Text.d.ts +0 -8
- package/dist/widgets/base/Text.d.ts.map +0 -1
- package/dist/widgets/base/Time.d.ts +0 -12
- package/dist/widgets/base/Time.d.ts.map +0 -1
- package/dist/widgets/base/Url.d.ts +0 -4
- package/dist/widgets/base/Url.d.ts.map +0 -1
- package/dist/widgets/base/many2one/Many2one.d.ts +0 -16
- package/dist/widgets/base/many2one/Many2one.d.ts.map +0 -1
- package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +0 -9
- package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +0 -1
- package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +0 -10
- package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +0 -1
- package/dist/widgets/base/many2one/Many2oneTree.d.ts +0 -6
- package/dist/widgets/base/many2one/Many2oneTree.d.ts.map +0 -1
- package/dist/widgets/base/one2many/One2many.d.ts +0 -8
- package/dist/widgets/base/one2many/One2many.d.ts.map +0 -1
- package/dist/widgets/base/one2many/One2manyInput.d.ts +0 -23
- package/dist/widgets/base/one2many/One2manyInput.d.ts.map +0 -1
- package/dist/widgets/base/one2many/One2manyTopBar.d.ts +0 -23
- package/dist/widgets/base/one2many/One2manyTopBar.d.ts.map +0 -1
- package/dist/widgets/containers/Container.d.ts +0 -9
- package/dist/widgets/containers/Container.d.ts.map +0 -1
- package/dist/widgets/containers/Group.d.ts +0 -10
- package/dist/widgets/containers/Group.d.ts.map +0 -1
- package/dist/widgets/containers/Notebook.d.ts +0 -9
- package/dist/widgets/containers/Notebook.d.ts.map +0 -1
- package/dist/widgets/custom/Avatar.d.ts +0 -10
- package/dist/widgets/custom/Avatar.d.ts.map +0 -1
- package/dist/widgets/custom/ButtonGroup.d.ts +0 -8
- package/dist/widgets/custom/ButtonGroup.d.ts.map +0 -1
- package/dist/widgets/custom/CodeEditor.d.ts +0 -9
- package/dist/widgets/custom/CodeEditor.d.ts.map +0 -1
- package/dist/widgets/custom/Comments.d.ts +0 -35
- package/dist/widgets/custom/Comments.d.ts.map +0 -1
- package/dist/widgets/custom/FiberGrid.d.ts +0 -10
- package/dist/widgets/custom/FiberGrid.d.ts.map +0 -1
- package/dist/widgets/custom/Indicator.d.ts +0 -10
- package/dist/widgets/custom/Indicator.d.ts.map +0 -1
- package/dist/widgets/custom/Markdown.d.ts +0 -5
- package/dist/widgets/custom/Markdown.d.ts.map +0 -1
- package/dist/widgets/custom/MultiCheckbox.d.ts +0 -14
- package/dist/widgets/custom/MultiCheckbox.d.ts.map +0 -1
- package/dist/widgets/custom/Radio.d.ts +0 -10
- package/dist/widgets/custom/Radio.d.ts.map +0 -1
- package/dist/widgets/custom/Steps.d.ts +0 -13
- package/dist/widgets/custom/Steps.d.ts.map +0 -1
- package/dist/widgets/custom/Switch.d.ts +0 -4
- package/dist/widgets/custom/Switch.d.ts.map +0 -1
- package/dist/widgets/custom/Tag.d.ts +0 -7
- package/dist/widgets/custom/Tag.d.ts.map +0 -1
- package/dist/widgets/custom/Tags.d.ts +0 -15
- package/dist/widgets/custom/Tags.d.ts.map +0 -1
- package/dist/widgets/custom/Timeline.d.ts +0 -16
- package/dist/widgets/custom/Timeline.d.ts.map +0 -1
- package/dist/widgets/modals/ExportModal.d.ts +0 -15
- package/dist/widgets/modals/ExportModal.d.ts.map +0 -1
- package/dist/widgets/modals/FormModal.d.ts +0 -12
- package/dist/widgets/modals/FormModal.d.ts.map +0 -1
- package/dist/widgets/modals/SearchModal.d.ts +0 -13
- package/dist/widgets/modals/SearchModal.d.ts.map +0 -1
- package/dist/widgets/modals/TranslationModal.d.ts +0 -12
- package/dist/widgets/modals/TranslationModal.d.ts.map +0 -1
- package/dist/widgets/views/Dashboard/Dashboard.d.ts +0 -5
- package/dist/widgets/views/Dashboard/Dashboard.d.ts.map +0 -1
- package/dist/widgets/views/Dashboard/DashboardForm.d.ts +0 -4
- package/dist/widgets/views/Dashboard/DashboardForm.d.ts.map +0 -1
- package/dist/widgets/views/Dashboard/DashboardTree.d.ts +0 -19
- package/dist/widgets/views/Dashboard/DashboardTree.d.ts.map +0 -1
- package/dist/widgets/views/Dashboard/dashboardHelper.d.ts +0 -6
- package/dist/widgets/views/Dashboard/dashboardHelper.d.ts.map +0 -1
- package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts +0 -4
- package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts.map +0 -1
- package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts +0 -6
- package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts.map +0 -1
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts +0 -4
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts.map +0 -1
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts +0 -11
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts.map +0 -1
- package/dist/widgets/views/DashboardGrid/index.d.ts +0 -5
- package/dist/widgets/views/DashboardGrid/index.d.ts.map +0 -1
- package/dist/widgets/views/Form.d.ts +0 -29
- package/dist/widgets/views/Form.d.ts.map +0 -1
- package/dist/widgets/views/Graph/Graph.d.ts +0 -11
- package/dist/widgets/views/Graph/Graph.d.ts.map +0 -1
- package/dist/widgets/views/Graph/GraphChart.d.ts +0 -11
- package/dist/widgets/views/Graph/GraphChart.d.ts.map +0 -1
- package/dist/widgets/views/Graph/GraphDefaults.d.ts +0 -83
- package/dist/widgets/views/Graph/GraphDefaults.d.ts.map +0 -1
- package/dist/widgets/views/Graph/GraphIndicator.d.ts +0 -17
- package/dist/widgets/views/Graph/GraphIndicator.d.ts.map +0 -1
- package/dist/widgets/views/Graph/useGraphData.d.ts +0 -20
- package/dist/widgets/views/Graph/useGraphData.d.ts.map +0 -1
- package/dist/widgets/views/SearchTree.d.ts +0 -24
- package/dist/widgets/views/SearchTree.d.ts.map +0 -1
- package/dist/widgets/views/Tree.d.ts +0 -32
- package/dist/widgets/views/Tree.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts +0 -4
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts +0 -4
- package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/PairFields.d.ts +0 -4
- package/dist/widgets/views/searchFilter/PairFields.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts +0 -10
- package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/SearchField.d.ts +0 -8
- package/dist/widgets/views/searchFilter/SearchField.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/SearchFilter.d.ts +0 -20
- package/dist/widgets/views/searchFilter/SearchFilter.d.ts.map +0 -1
- package/dist/widgets/views/searchFilter/SearchParams.d.ts +0 -7
- package/dist/widgets/views/searchFilter/SearchParams.d.ts.map +0 -1
- package/src/tailwind.css +0 -8
- package/src/tailwind.generated.css +0 -168533
|
@@ -3,9 +3,6 @@ import React from "react";
|
|
|
3
3
|
import { CodeEditor } from "../../widgets/custom/CodeEditor";
|
|
4
4
|
import { CodeEditor as CodeEditorOoui } from "@gisce/ooui";
|
|
5
5
|
|
|
6
|
-
// import "antd/dist/antd.css";
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
import LocaleProvider from "../../context/LocaleContext";
|
|
10
7
|
|
|
11
8
|
export default {
|
|
@@ -17,7 +14,7 @@ export const Default = (): React.ReactElement => {
|
|
|
17
14
|
name: "code",
|
|
18
15
|
string: "Code",
|
|
19
16
|
height: 400,
|
|
20
|
-
widget_props: "{'lang': 'xml'}"
|
|
17
|
+
widget_props: "{'lang': 'xml'}",
|
|
21
18
|
});
|
|
22
19
|
|
|
23
20
|
return (
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import React, {useState} from "react";
|
|
1
|
+
import React, { useState } from "react";
|
|
2
2
|
|
|
3
|
-
import {Indicator} from "../../widgets/custom/Indicator";
|
|
3
|
+
import { Indicator } from "../../widgets/custom/Indicator";
|
|
4
4
|
import { Indicator as IndicatorOoui } from "@gisce/ooui";
|
|
5
5
|
|
|
6
|
-
// import "antd/dist/antd.css";
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
import LocaleProvider from "../../context/LocaleContext";
|
|
10
7
|
|
|
11
8
|
export default {
|
|
@@ -24,7 +21,6 @@ export const Default = (): React.ReactElement => {
|
|
|
24
21
|
);
|
|
25
22
|
};
|
|
26
23
|
|
|
27
|
-
|
|
28
24
|
export const WithIconAndSuffix = (): React.ReactElement => {
|
|
29
25
|
const ooui = new IndicatorOoui({
|
|
30
26
|
name: "test",
|
|
@@ -34,11 +30,7 @@ export const WithIconAndSuffix = (): React.ReactElement => {
|
|
|
34
30
|
|
|
35
31
|
return (
|
|
36
32
|
<LocaleProvider lang="en_US">
|
|
37
|
-
<Indicator ooui={ooui} value={300}/>
|
|
33
|
+
<Indicator ooui={ooui} value={300} />
|
|
38
34
|
</LocaleProvider>
|
|
39
35
|
);
|
|
40
36
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Markdown as MarkdownOOui } from "@gisce/ooui";
|
|
3
3
|
|
|
4
|
-
// import "antd/dist/antd.css";
|
|
5
|
-
|
|
6
|
-
|
|
7
4
|
import LocaleProvider from "../../context/LocaleContext";
|
|
8
5
|
import { MarkdownInput } from "../../widgets/custom/Markdown";
|
|
9
6
|
|
|
@@ -11,14 +8,13 @@ export default {
|
|
|
11
8
|
title: "Components/Widgets/Custom/Markdown",
|
|
12
9
|
};
|
|
13
10
|
|
|
14
|
-
|
|
15
11
|
export const Default = (): React.ReactElement => {
|
|
16
12
|
const ooui = new MarkdownOOui({
|
|
17
13
|
name: "enabled",
|
|
18
14
|
string: "Lorem ipsum",
|
|
19
15
|
});
|
|
20
16
|
|
|
21
|
-
|
|
17
|
+
const markdown = `A paragraph with *emphasis* and **strong importance**.
|
|
22
18
|
|
|
23
19
|
> A block quote with ~strikethrough~ and a URL: https://reactjs.org.
|
|
24
20
|
|
|
@@ -32,7 +28,7 @@ A table:
|
|
|
32
28
|
|
|
33
29
|
| a | b |
|
|
34
30
|
| - | - |
|
|
35
|
-
|
|
31
|
+
`;
|
|
36
32
|
|
|
37
33
|
return (
|
|
38
34
|
<LocaleProvider lang="en_US">
|
|
@@ -4,9 +4,6 @@ import { MultiCheckboxInput } from "../../widgets/custom/MultiCheckbox";
|
|
|
4
4
|
import { Checkbox, Space, Row, Col } from "antd";
|
|
5
5
|
import { MultiCheckbox as MultiCheckboxOoui } from "@gisce/ooui";
|
|
6
6
|
|
|
7
|
-
// import "antd/dist/antd.css";
|
|
8
|
-
|
|
9
|
-
|
|
10
7
|
import LocaleProvider from "../../context/LocaleContext";
|
|
11
8
|
|
|
12
9
|
export default {
|
|
@@ -18,16 +15,20 @@ export const Default = (): React.ReactElement => {
|
|
|
18
15
|
name: "button_field",
|
|
19
16
|
string: "Lorem ipsum",
|
|
20
17
|
field: "name",
|
|
21
|
-
relation: "res.partner.category"
|
|
18
|
+
relation: "res.partner.category",
|
|
22
19
|
});
|
|
23
20
|
|
|
24
21
|
return (
|
|
25
22
|
<LocaleProvider lang="en_US">
|
|
26
|
-
<MultiCheckboxInput
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
<MultiCheckboxInput
|
|
24
|
+
ooui={ooui}
|
|
25
|
+
value={{
|
|
26
|
+
items: [
|
|
27
|
+
{ id: 1, operation: "original" },
|
|
28
|
+
{ id: 2, operation: "original" },
|
|
29
|
+
{ id: 3, operation: "pendingRemove" },
|
|
30
|
+
],
|
|
31
|
+
}}
|
|
31
32
|
/>
|
|
32
33
|
</LocaleProvider>
|
|
33
34
|
);
|
|
@@ -44,12 +45,16 @@ export const Readonly = (): React.ReactElement => {
|
|
|
44
45
|
|
|
45
46
|
return (
|
|
46
47
|
<LocaleProvider lang="en_US">
|
|
47
|
-
<MultiCheckboxInput
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
<MultiCheckboxInput
|
|
49
|
+
ooui={ooui}
|
|
50
|
+
value={{
|
|
51
|
+
items: [
|
|
52
|
+
{ id: 1, operation: "original" },
|
|
53
|
+
{ id: 2, operation: "original" },
|
|
54
|
+
{ id: 3, operation: "pendingRemove" },
|
|
55
|
+
],
|
|
56
|
+
}}
|
|
52
57
|
/>
|
|
53
58
|
</LocaleProvider>
|
|
54
59
|
);
|
|
55
|
-
};
|
|
60
|
+
};
|
|
@@ -3,9 +3,6 @@ import React from "react";
|
|
|
3
3
|
import { Radio } from "../../widgets/custom/Radio";
|
|
4
4
|
import { Radio as RadioOoui } from "@gisce/ooui";
|
|
5
5
|
|
|
6
|
-
// import "antd/dist/antd.css";
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
import LocaleProvider from "../../context/LocaleContext";
|
|
10
7
|
|
|
11
8
|
export default {
|
|
@@ -18,10 +15,10 @@ export const Default = (): React.ReactElement => {
|
|
|
18
15
|
string: "Level",
|
|
19
16
|
required: true,
|
|
20
17
|
selection: [
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
]
|
|
18
|
+
["easy", "Easy"],
|
|
19
|
+
["medium", "Medium"],
|
|
20
|
+
["hard", "Hard"],
|
|
21
|
+
],
|
|
25
22
|
});
|
|
26
23
|
|
|
27
24
|
return (
|
|
@@ -37,10 +34,10 @@ export const Readonly = (): React.ReactElement => {
|
|
|
37
34
|
string: "Level",
|
|
38
35
|
readonly: true,
|
|
39
36
|
selection: [
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
]
|
|
37
|
+
["easy", "Easy"],
|
|
38
|
+
["medium", "Medium"],
|
|
39
|
+
["hard", "Hard"],
|
|
40
|
+
],
|
|
44
41
|
});
|
|
45
42
|
|
|
46
43
|
return (
|
|
@@ -56,11 +53,11 @@ export const RadioVertical = (): React.ReactElement => {
|
|
|
56
53
|
string: "Level",
|
|
57
54
|
readonly: true,
|
|
58
55
|
selection: [
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
56
|
+
["easy", "Easy"],
|
|
57
|
+
["medium", "Medium"],
|
|
58
|
+
["hard", "Hard"],
|
|
62
59
|
],
|
|
63
|
-
widget_props: "{'direction': 'vertical'}"
|
|
60
|
+
widget_props: "{'direction': 'vertical'}",
|
|
64
61
|
});
|
|
65
62
|
|
|
66
63
|
return (
|
|
@@ -68,4 +65,4 @@ export const RadioVertical = (): React.ReactElement => {
|
|
|
68
65
|
<Radio ooui={ooui} />
|
|
69
66
|
</LocaleProvider>
|
|
70
67
|
);
|
|
71
|
-
};
|
|
68
|
+
};
|
|
@@ -3,9 +3,6 @@ import React from "react";
|
|
|
3
3
|
import { Steps, StepsInput } from "../../widgets/custom/Steps";
|
|
4
4
|
import { Steps as StepsOoui } from "@gisce/ooui";
|
|
5
5
|
|
|
6
|
-
// import "antd/dist/antd.css";
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
import LocaleProvider from "../../context/LocaleContext";
|
|
10
7
|
|
|
11
8
|
export default {
|
|
@@ -16,7 +13,12 @@ export const Default = (): React.ReactElement => {
|
|
|
16
13
|
const ooui = new StepsOoui({
|
|
17
14
|
name: "enabled",
|
|
18
15
|
string: "Lorem ipsum",
|
|
19
|
-
selection: [
|
|
16
|
+
selection: [
|
|
17
|
+
["init", "Start"],
|
|
18
|
+
["second", "Second"],
|
|
19
|
+
["third", "Third"],
|
|
20
|
+
["end", "End"],
|
|
21
|
+
],
|
|
20
22
|
});
|
|
21
23
|
|
|
22
24
|
return (
|
|
@@ -38,4 +40,4 @@ export const Many2One = (): React.ReactElement => {
|
|
|
38
40
|
<StepsInput ooui={ooui} value="third" />
|
|
39
41
|
</LocaleProvider>
|
|
40
42
|
);
|
|
41
|
-
};
|
|
43
|
+
};
|
|
@@ -2,9 +2,6 @@ import React from "react";
|
|
|
2
2
|
|
|
3
3
|
import { Tag as TagOoui } from "@gisce/ooui";
|
|
4
4
|
|
|
5
|
-
// import "antd/dist/antd.css";
|
|
6
|
-
|
|
7
|
-
|
|
8
5
|
import LocaleProvider from "../../context/LocaleContext";
|
|
9
6
|
import { TagInput } from "../../widgets/custom/Tag";
|
|
10
7
|
|
|
@@ -17,13 +14,16 @@ export const Default = (): React.ReactElement => {
|
|
|
17
14
|
name: "status",
|
|
18
15
|
string: "Status",
|
|
19
16
|
field: "status",
|
|
20
|
-
selection: [
|
|
21
|
-
|
|
17
|
+
selection: [
|
|
18
|
+
["draft", "Draft"],
|
|
19
|
+
["open", "Open"],
|
|
20
|
+
],
|
|
21
|
+
widget_props: '{"colors": {"draft": "blue", "open": "green"}}',
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
25
|
<LocaleProvider lang="en_US">
|
|
26
|
-
|
|
26
|
+
<TagInput value="draft" ooui={ooui} />
|
|
27
27
|
</LocaleProvider>
|
|
28
28
|
);
|
|
29
29
|
};
|
|
@@ -33,12 +33,15 @@ export const WithoutColor = (): React.ReactElement => {
|
|
|
33
33
|
name: "status",
|
|
34
34
|
string: "Status",
|
|
35
35
|
field: "status",
|
|
36
|
-
selection: [
|
|
36
|
+
selection: [
|
|
37
|
+
["draft", "Draft"],
|
|
38
|
+
["open", "Open"],
|
|
39
|
+
],
|
|
37
40
|
});
|
|
38
41
|
|
|
39
42
|
return (
|
|
40
43
|
<LocaleProvider lang="en_US">
|
|
41
|
-
|
|
44
|
+
<TagInput value="draft" ooui={ooui} />
|
|
42
45
|
</LocaleProvider>
|
|
43
46
|
);
|
|
44
47
|
};
|
|
@@ -48,13 +51,16 @@ export const WithColorAuto = (): React.ReactElement => {
|
|
|
48
51
|
name: "status",
|
|
49
52
|
string: "Status",
|
|
50
53
|
field: "status",
|
|
51
|
-
selection: [
|
|
52
|
-
|
|
54
|
+
selection: [
|
|
55
|
+
["draft", "Draft"],
|
|
56
|
+
["open", "Open"],
|
|
57
|
+
],
|
|
58
|
+
widget_props: '{"colors": "auto"}',
|
|
53
59
|
});
|
|
54
60
|
|
|
55
61
|
return (
|
|
56
62
|
<LocaleProvider lang="en_US">
|
|
57
|
-
|
|
63
|
+
<TagInput value="draft" ooui={ooui} />
|
|
58
64
|
</LocaleProvider>
|
|
59
65
|
);
|
|
60
66
|
};
|
|
@@ -3,9 +3,6 @@ import React from "react";
|
|
|
3
3
|
import { TagsInput, Tags } from "../../widgets/custom/Tags";
|
|
4
4
|
import { Tags as TagsOoui } from "@gisce/ooui";
|
|
5
5
|
|
|
6
|
-
// import "antd/dist/antd.css";
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
import LocaleProvider from "../../context/LocaleContext";
|
|
10
7
|
|
|
11
8
|
export default {
|
|
@@ -17,16 +14,20 @@ export const Default = (): React.ReactElement => {
|
|
|
17
14
|
name: "button_field",
|
|
18
15
|
string: "Lorem ipsum",
|
|
19
16
|
field: "name",
|
|
20
|
-
relation: "res.partner.category"
|
|
17
|
+
relation: "res.partner.category",
|
|
21
18
|
});
|
|
22
19
|
|
|
23
20
|
return (
|
|
24
21
|
<LocaleProvider lang="en_US">
|
|
25
|
-
<TagsInput
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
<TagsInput
|
|
23
|
+
ooui={ooui}
|
|
24
|
+
value={{
|
|
25
|
+
items: [
|
|
26
|
+
{ id: 1, operation: "original" },
|
|
27
|
+
{ id: 2, operation: "original" },
|
|
28
|
+
{ id: 3, operation: "pendingRemove" },
|
|
29
|
+
],
|
|
30
|
+
}}
|
|
30
31
|
/>
|
|
31
32
|
</LocaleProvider>
|
|
32
33
|
);
|
|
@@ -43,17 +44,20 @@ export const Readonly = (): React.ReactElement => {
|
|
|
43
44
|
|
|
44
45
|
return (
|
|
45
46
|
<LocaleProvider lang="en_US">
|
|
46
|
-
<TagsInput
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
<TagsInput
|
|
48
|
+
ooui={ooui}
|
|
49
|
+
value={{
|
|
50
|
+
items: [
|
|
51
|
+
{ id: 1, operation: "original" },
|
|
52
|
+
{ id: 2, operation: "original" },
|
|
53
|
+
{ id: 3, operation: "pendingRemove" },
|
|
54
|
+
],
|
|
55
|
+
}}
|
|
51
56
|
/>
|
|
52
57
|
</LocaleProvider>
|
|
53
58
|
);
|
|
54
59
|
};
|
|
55
60
|
|
|
56
|
-
|
|
57
61
|
export const TagsLabel = (): React.ReactElement => {
|
|
58
62
|
const ooui = new TagsOoui({
|
|
59
63
|
name: "button_field",
|
|
@@ -64,7 +68,7 @@ export const TagsLabel = (): React.ReactElement => {
|
|
|
64
68
|
|
|
65
69
|
return (
|
|
66
70
|
<LocaleProvider lang="en_US">
|
|
67
|
-
<Tags ooui={ooui} showLabel/>
|
|
71
|
+
<Tags ooui={ooui} showLabel />
|
|
68
72
|
</LocaleProvider>
|
|
69
73
|
);
|
|
70
74
|
};
|
|
@@ -3,9 +3,6 @@ import React from "react";
|
|
|
3
3
|
import { GoToResourceModal } from "../../ui/GoToResourceModal";
|
|
4
4
|
import LocaleProvider from "../../context/LocaleContext";
|
|
5
5
|
|
|
6
|
-
// import "antd/dist/antd.css";
|
|
7
|
-
|
|
8
|
-
|
|
9
6
|
export default {
|
|
10
7
|
title: "Components/Widgets/UI/GoToResourceModal",
|
|
11
8
|
};
|