@gisce/react-ooui 1.2.0-rc.9 → 1.2.0-rc.90
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/README.md +0 -6
- package/dist/actionbar/ActionButton.d.ts +2 -2
- package/dist/actionbar/ActionButton.d.ts.map +1 -1
- package/dist/actionbar/AttachmentsButton.d.ts +2 -2
- package/dist/actionbar/AttachmentsButton.d.ts.map +1 -1
- package/dist/actionbar/AttachmentsButtonWrapper.d.ts +2 -2
- package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +1 -1
- package/dist/actionbar/ButtonWithBadge.d.ts +2 -2
- package/dist/actionbar/ButtonWithBadge.d.ts.map +1 -1
- package/dist/actionbar/ChangeViewButton.d.ts +2 -2
- package/dist/actionbar/ChangeViewButton.d.ts.map +1 -1
- package/dist/actionbar/DashboardActionBar.d.ts +2 -2
- package/dist/actionbar/DashboardActionBar.d.ts.map +1 -1
- package/dist/actionbar/DropdownButton.d.ts +2 -2
- package/dist/actionbar/DropdownButton.d.ts.map +1 -1
- package/dist/actionbar/FormActionBar.d.ts +2 -2
- package/dist/actionbar/FormActionBar.d.ts.map +1 -1
- package/dist/actionbar/GraphActionBar.d.ts +2 -2
- package/dist/actionbar/GraphActionBar.d.ts.map +1 -1
- package/dist/actionbar/NewButton.d.ts +2 -2
- package/dist/actionbar/NewButton.d.ts.map +1 -1
- package/dist/actionbar/SearchBar.d.ts +2 -2
- package/dist/actionbar/SearchBar.d.ts.map +1 -1
- package/dist/actionbar/TreeActionBar.d.ts +2 -2
- package/dist/actionbar/TreeActionBar.d.ts.map +1 -1
- package/dist/common/ButtonWithTooltip.d.ts +2 -2
- package/dist/common/ButtonWithTooltip.d.ts.map +1 -1
- package/dist/common/DatePicker.d.ts +14 -2
- package/dist/common/DatePicker.d.ts.map +1 -1
- package/dist/common/Field.d.ts +1 -1
- package/dist/common/Field.d.ts.map +1 -1
- package/dist/context/ActionViewContext.d.ts +5 -1
- package/dist/context/ActionViewContext.d.ts.map +1 -1
- package/dist/context/ConfigContext.d.ts +7 -0
- package/dist/context/ConfigContext.d.ts.map +1 -0
- package/dist/context/ContentRootContext.d.ts.map +1 -1
- package/dist/context/FormContext.d.ts +4 -2
- package/dist/context/FormContext.d.ts.map +1 -1
- package/dist/helpers/errorHelper.d.ts +6 -0
- package/dist/helpers/errorHelper.d.ts.map +1 -0
- package/dist/helpers/filesHelper.d.ts.map +1 -1
- package/dist/helpers/formHelper.d.ts +5 -3
- package/dist/helpers/formHelper.d.ts.map +1 -1
- package/dist/helpers/iconMapper.d.ts +11 -2
- package/dist/helpers/iconMapper.d.ts.map +1 -1
- package/dist/helpers/one2manyHelper.d.ts +12 -4
- package/dist/helpers/one2manyHelper.d.ts.map +1 -1
- package/dist/helpers/searchHelper.d.ts +1 -1
- package/dist/helpers/searchHelper.d.ts.map +1 -1
- package/dist/helpers/treeHelper.d.ts +1 -1
- package/dist/helpers/treeHelper.d.ts.map +1 -1
- package/dist/hooks/useExport.d.ts +44 -0
- package/dist/hooks/useExport.d.ts.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/ca_ES.d.ts +2 -0
- package/dist/locales/ca_ES.d.ts.map +1 -1
- package/dist/locales/en_US.d.ts +2 -0
- package/dist/locales/en_US.d.ts.map +1 -1
- package/dist/locales/es_ES.d.ts +2 -0
- package/dist/locales/es_ES.d.ts.map +1 -1
- package/dist/react-ooui.es.js +9335 -29063
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +16 -265
- package/dist/react-ooui.umd.js.map +1 -1
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/ui/ActionErrorDialog.d.ts.map +1 -1
- package/dist/ui/ErrorAlert.d.ts +6 -0
- package/dist/ui/ErrorAlert.d.ts.map +1 -0
- package/dist/ui/FavouriteButton.d.ts +2 -2
- package/dist/ui/FavouriteButton.d.ts.map +1 -1
- package/dist/ui/GoToResourceModal.d.ts +2 -2
- package/dist/ui/GoToResourceModal.d.ts.map +1 -1
- package/dist/ui/TitleHeader.d.ts +2 -2
- package/dist/ui/TitleHeader.d.ts.map +1 -1
- package/dist/views/ActionView.d.ts.map +1 -1
- package/dist/views/CurrentTabContent.d.ts +2 -2
- package/dist/views/CurrentTabContent.d.ts.map +1 -1
- package/dist/views/RootView.d.ts.map +1 -1
- package/dist/views/TabContent.d.ts +1 -1
- package/dist/views/TabContent.d.ts.map +1 -1
- package/dist/views/TabSelector.d.ts +2 -2
- package/dist/views/TabSelector.d.ts.map +1 -1
- package/dist/views/actionViews/DashboardActionView.d.ts +2 -2
- package/dist/views/actionViews/DashboardActionView.d.ts.map +1 -1
- package/dist/views/actionViews/FormActionView.d.ts +2 -2
- package/dist/views/actionViews/FormActionView.d.ts.map +1 -1
- package/dist/views/actionViews/GraphActionView.d.ts +2 -2
- package/dist/views/actionViews/GraphActionView.d.ts.map +1 -1
- package/dist/views/actionViews/TreeActionView.d.ts +2 -2
- package/dist/views/actionViews/TreeActionView.d.ts.map +1 -1
- package/dist/views/tabs/Tab.d.ts +2 -2
- package/dist/views/tabs/Tab.d.ts.map +1 -1
- package/dist/widgets/WidgetFactory.d.ts.map +1 -1
- package/dist/widgets/base/Binary.d.ts +3 -3
- package/dist/widgets/base/Binary.d.ts.map +1 -1
- package/dist/widgets/base/Boolean.d.ts +2 -2
- package/dist/widgets/base/Boolean.d.ts.map +1 -1
- package/dist/widgets/base/Button.d.ts +2 -2
- package/dist/widgets/base/Button.d.ts.map +1 -1
- package/dist/widgets/base/Char.d.ts +2 -2
- package/dist/widgets/base/Char.d.ts.map +1 -1
- package/dist/widgets/base/Date.d.ts +2 -2
- package/dist/widgets/base/Date.d.ts.map +1 -1
- package/dist/widgets/base/DateTime.d.ts +2 -2
- package/dist/widgets/base/DateTime.d.ts.map +1 -1
- package/dist/widgets/base/Email.d.ts +2 -2
- package/dist/widgets/base/Email.d.ts.map +1 -1
- package/dist/widgets/base/Float.d.ts +2 -2
- package/dist/widgets/base/Float.d.ts.map +1 -1
- package/dist/widgets/base/FloatTime.d.ts +1 -1
- package/dist/widgets/base/FloatTime.d.ts.map +1 -1
- package/dist/widgets/base/Image.d.ts +3 -3
- package/dist/widgets/base/Image.d.ts.map +1 -1
- package/dist/widgets/base/Integer.d.ts +2 -2
- package/dist/widgets/base/Integer.d.ts.map +1 -1
- package/dist/widgets/base/Label.d.ts +2 -2
- package/dist/widgets/base/Label.d.ts.map +1 -1
- package/dist/widgets/base/LinkInput.d.ts +2 -2
- package/dist/widgets/base/LinkInput.d.ts.map +1 -1
- package/dist/widgets/base/MultiSelection.d.ts +3 -3
- package/dist/widgets/base/MultiSelection.d.ts.map +1 -1
- package/dist/widgets/base/ProgressBar.d.ts +3 -3
- package/dist/widgets/base/ProgressBar.d.ts.map +1 -1
- package/dist/widgets/base/Reference.d.ts +1 -1
- package/dist/widgets/base/Reference.d.ts.map +1 -1
- package/dist/widgets/base/ReferenceTree.d.ts +8 -0
- package/dist/widgets/base/ReferenceTree.d.ts.map +1 -0
- package/dist/widgets/base/Selection.d.ts +3 -3
- package/dist/widgets/base/Selection.d.ts.map +1 -1
- package/dist/widgets/base/Separator.d.ts +2 -2
- package/dist/widgets/base/Separator.d.ts.map +1 -1
- package/dist/widgets/base/Text.d.ts +2 -2
- package/dist/widgets/base/Text.d.ts.map +1 -1
- package/dist/widgets/base/Url.d.ts +2 -2
- package/dist/widgets/base/Url.d.ts.map +1 -1
- package/dist/widgets/base/many2one/Many2one.d.ts +1 -1
- package/dist/widgets/base/many2one/Many2one.d.ts.map +1 -1
- package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +2 -2
- package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +1 -1
- package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +2 -2
- package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +1 -1
- package/dist/widgets/base/many2one/Many2oneTree.d.ts +6 -0
- package/dist/widgets/base/many2one/Many2oneTree.d.ts.map +1 -0
- package/dist/widgets/base/one2many/One2many.d.ts +2 -2
- package/dist/widgets/base/one2many/One2many.d.ts.map +1 -1
- package/dist/widgets/base/one2many/One2manyInput.d.ts.map +1 -1
- package/dist/widgets/base/one2many/One2manyTopBar.d.ts +2 -2
- package/dist/widgets/base/one2many/One2manyTopBar.d.ts.map +1 -1
- package/dist/widgets/containers/Group.d.ts.map +1 -1
- package/dist/widgets/custom/ButtonGroup.d.ts +2 -2
- package/dist/widgets/custom/ButtonGroup.d.ts.map +1 -1
- package/dist/widgets/custom/CodeEditor.d.ts +2 -2
- package/dist/widgets/custom/CodeEditor.d.ts.map +1 -1
- package/dist/widgets/custom/FiberGrid.d.ts +3 -3
- package/dist/widgets/custom/FiberGrid.d.ts.map +1 -1
- package/dist/widgets/custom/Indicator.d.ts +2 -2
- package/dist/widgets/custom/Indicator.d.ts.map +1 -1
- package/dist/widgets/custom/Markdown.d.ts +5 -0
- package/dist/widgets/custom/Markdown.d.ts.map +1 -0
- package/dist/widgets/custom/MultiCheckbox.d.ts +3 -3
- package/dist/widgets/custom/MultiCheckbox.d.ts.map +1 -1
- package/dist/widgets/custom/Radio.d.ts +3 -3
- package/dist/widgets/custom/Radio.d.ts.map +1 -1
- package/dist/widgets/custom/Steps.d.ts +3 -3
- package/dist/widgets/custom/Steps.d.ts.map +1 -1
- package/dist/widgets/custom/Switch.d.ts +2 -2
- package/dist/widgets/custom/Switch.d.ts.map +1 -1
- package/dist/widgets/custom/Tag.d.ts +5 -0
- package/dist/widgets/custom/Tag.d.ts.map +1 -0
- package/dist/widgets/custom/Tags.d.ts +3 -3
- package/dist/widgets/custom/Tags.d.ts.map +1 -1
- package/dist/widgets/custom/Timeline.d.ts +3 -3
- package/dist/widgets/custom/Timeline.d.ts.map +1 -1
- package/dist/widgets/modals/ExportModal.d.ts +4 -3
- package/dist/widgets/modals/ExportModal.d.ts.map +1 -1
- package/dist/widgets/modals/FormModal.d.ts +2 -2
- package/dist/widgets/modals/FormModal.d.ts.map +1 -1
- package/dist/widgets/modals/SearchModal.d.ts +2 -2
- package/dist/widgets/modals/SearchModal.d.ts.map +1 -1
- package/dist/widgets/modals/TranslationModal.d.ts +2 -2
- package/dist/widgets/modals/TranslationModal.d.ts.map +1 -1
- package/dist/widgets/views/Dashboard/Dashboard.d.ts.map +1 -1
- package/dist/widgets/views/Dashboard/DashboardForm.d.ts +2 -2
- package/dist/widgets/views/Dashboard/DashboardForm.d.ts.map +1 -1
- package/dist/widgets/views/Dashboard/DashboardTree.d.ts +2 -2
- package/dist/widgets/views/Dashboard/DashboardTree.d.ts.map +1 -1
- package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts +2 -2
- package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts.map +1 -1
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts +2 -2
- package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts.map +1 -1
- package/dist/widgets/views/Form.d.ts.map +1 -1
- package/dist/widgets/views/Graph/GraphChart.d.ts +2 -2
- package/dist/widgets/views/Graph/GraphChart.d.ts.map +1 -1
- package/dist/widgets/views/Graph/GraphDefaults.d.ts +36 -0
- package/dist/widgets/views/Graph/GraphDefaults.d.ts.map +1 -1
- package/dist/widgets/views/Graph/GraphIndicator.d.ts +2 -2
- package/dist/widgets/views/Graph/GraphIndicator.d.ts.map +1 -1
- package/dist/widgets/views/SearchTree.d.ts.map +1 -1
- package/dist/widgets/views/Tree.d.ts +2 -0
- package/dist/widgets/views/Tree.d.ts.map +1 -1
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts +2 -2
- package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +1 -1
- package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts +2 -2
- package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts.map +1 -1
- package/dist/widgets/views/searchFilter/SearchField.d.ts +2 -2
- package/dist/widgets/views/searchFilter/SearchField.d.ts.map +1 -1
- package/dist/widgets/views/searchFilter/SearchFilter.d.ts +3 -2
- package/dist/widgets/views/searchFilter/SearchFilter.d.ts.map +1 -1
- package/package.json +14 -15
- package/src/__tests__/iconMapper.test.ts +20 -5
- package/src/__tests__/searchFilterHelper.spec.ts +7 -7
- package/src/actionbar/AttachmentsButton.tsx +22 -24
- package/src/actionbar/AttachmentsButtonWrapper.tsx +15 -12
- package/src/actionbar/ButtonWithBadge.tsx +5 -2
- package/src/actionbar/ChangeViewButton.tsx +13 -7
- package/src/actionbar/FormActionBar.tsx +73 -11
- package/src/actionbar/SearchBar.tsx +8 -4
- package/src/actionbar/TreeActionBar.tsx +99 -97
- package/src/common/DatePicker.tsx +18 -13
- package/src/context/ActionViewContext.tsx +7 -4
- package/src/context/ConfigContext.tsx +9 -0
- package/src/context/ContentRootContext.tsx +111 -76
- package/src/context/FormContext.tsx +1 -4
- package/src/helpers/errorHelper.ts +27 -0
- package/src/helpers/filesHelper.ts +2 -3
- package/src/helpers/formHelper.ts +26 -5
- package/src/helpers/iconMapper.ts +141 -108
- package/src/helpers/one2manyHelper.ts +94 -39
- package/src/helpers/searchHelper.ts +8 -7
- package/src/helpers/treeHelper.ts +17 -5
- package/src/hooks/useExport.ts +439 -0
- package/src/index.ts +6 -0
- package/src/locales/ca_ES.tsx +2 -0
- package/src/locales/en_US.tsx +2 -0
- package/src/locales/es_ES.tsx +2 -0
- package/src/stories/Binary.stories.tsx +4 -1
- package/src/stories/Boolean.stories.tsx +4 -1
- package/src/stories/Button.stories.tsx +4 -1
- package/src/stories/Char.stories.tsx +4 -1
- package/src/stories/FiberGrid.stories.tsx +4 -1
- package/src/stories/Float.stories.tsx +4 -1
- package/src/stories/FloatTime.stories.tsx +4 -1
- package/src/stories/Image.stories.tsx +4 -1
- package/src/stories/Integer.stories.tsx +4 -1
- package/src/stories/Label.stories.tsx +11 -9
- package/src/stories/Many2one.stories.tsx +4 -1
- package/src/stories/One2many.stories.tsx +4 -1
- package/src/stories/ProgressBar.stories.tsx +4 -1
- package/src/stories/Reference.stories.tsx +4 -1
- package/src/stories/Selection.stories.tsx +4 -1
- package/src/stories/Separator.stories.tsx +37 -1
- package/src/stories/Text.stories.tsx +4 -1
- package/src/stories/containers/Group.stories.tsx +28 -1
- package/src/stories/containers/NewLine.stories.tsx +4 -1
- package/src/stories/containers/Notebook.stories.tsx +31 -1
- package/src/stories/custom/Avatar.stories.tsx +27 -0
- package/src/stories/custom/ButtonGroup.stories.tsx +4 -1
- package/src/stories/custom/CodeEditor.stories.tsx +4 -1
- package/src/stories/custom/Indicator.stories.tsx +4 -1
- package/src/stories/custom/Markdown.stories.tsx +42 -0
- package/src/stories/custom/MultiCheckbox.stories.tsx +4 -1
- package/src/stories/custom/Radio.stories.tsx +4 -1
- package/src/stories/custom/Steps.stories.tsx +4 -1
- package/src/stories/custom/Switch.stories.tsx +4 -1
- package/src/stories/custom/Tag.stories.tsx +60 -0
- package/src/stories/custom/Tags.stories.tsx +4 -1
- package/src/stories/forms/PreferencesForm.stories.tsx +4 -1
- package/src/stories/mocks/models/company.ts +2 -2
- package/src/stories/mocks/models/crm_case.ts +7 -10
- package/src/stories/ui/ActionBar.stories.tsx +2 -1
- package/src/stories/ui/FavouriteButton.stories.tsx +2 -1
- package/src/stories/ui/GoToResourceModal.stories.tsx +2 -1
- package/src/stories/views/SearchTree.stories.tsx +3 -1
- package/src/stories/views/Tab.stories.tsx +3 -1
- package/src/stories/views/TabsAndContent.stories.tsx +3 -1
- package/src/stories/views/Tree.stories.jsx +20 -6
- package/src/stories/views/searchFilter/DateRangePicker.stories.tsx +3 -1
- package/src/stories/views/searchFilter/DateTimeRangePicker.stories.tsx +4 -1
- package/src/stories/views/searchFilter/PairFields.stories.tsx +4 -1
- package/src/stories/views/searchFilter/SearchFilter.stories.tsx +4 -1
- package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +4 -1
- package/src/types/index.ts +1 -0
- package/src/ui/ActionErrorDialog.tsx +4 -21
- package/src/ui/ErrorAlert.tsx +37 -0
- package/src/ui/FavouriteButton.tsx +20 -9
- package/src/ui/GoToResourceModal.tsx +3 -3
- package/src/ui/TitleHeader.tsx +18 -4
- package/src/views/ActionView.tsx +6 -2
- package/src/views/RootView.tsx +7 -1
- package/src/views/actionViews/GraphActionView.tsx +1 -0
- package/src/views/actionViews/TreeActionView.tsx +10 -1
- package/src/views/tabs/Tab.tsx +12 -6
- package/src/widgets/WidgetFactory.tsx +6 -0
- package/src/widgets/base/Binary.tsx +8 -5
- package/src/widgets/base/Boolean.tsx +8 -7
- package/src/widgets/base/Char.tsx +14 -12
- package/src/widgets/base/Float.tsx +11 -5
- package/src/widgets/base/FloatTime.tsx +9 -5
- package/src/widgets/base/Integer.tsx +10 -5
- package/src/widgets/base/Label.tsx +12 -12
- package/src/widgets/base/LinkInput.tsx +11 -6
- package/src/widgets/base/MultiSelection.tsx +6 -2
- package/src/widgets/base/Reference.tsx +13 -3
- package/src/widgets/base/ReferenceTree.tsx +62 -0
- package/src/widgets/base/Selection.tsx +6 -2
- package/src/widgets/base/Separator.tsx +11 -3
- package/src/widgets/base/Text.tsx +14 -12
- package/src/widgets/base/many2one/Many2one.tsx +27 -33
- package/src/widgets/base/many2one/Many2oneSuffixModal.tsx +3 -3
- package/src/widgets/base/many2one/Many2oneTree.tsx +18 -0
- package/src/widgets/base/one2many/One2manyInput.tsx +82 -28
- package/src/widgets/base/one2many/One2manyTopBar.tsx +10 -1
- package/src/widgets/containers/Group.tsx +7 -4
- package/src/widgets/custom/Avatar.tsx +33 -0
- package/src/widgets/custom/ButtonGroup.tsx +31 -21
- package/src/widgets/custom/FiberGrid.tsx +2 -5
- package/src/widgets/custom/Indicator.tsx +16 -15
- package/src/widgets/custom/Markdown.tsx +22 -0
- package/src/widgets/custom/MultiCheckbox.tsx +1 -0
- package/src/widgets/custom/Tag.tsx +24 -0
- package/src/widgets/custom/Tags.tsx +27 -28
- package/src/widgets/custom/Timeline.tsx +9 -3
- package/src/widgets/modals/ExportModal.tsx +33 -134
- package/src/widgets/modals/FormModal.tsx +3 -3
- package/src/widgets/modals/SearchModal.tsx +29 -31
- package/src/widgets/modals/TranslationModal.tsx +3 -3
- package/src/widgets/views/Dashboard/Dashboard.tsx +15 -4
- package/src/widgets/views/Dashboard/DashboardTree.tsx +1 -0
- package/src/widgets/views/DashboardGrid/DashboardGridItem.tsx +10 -6
- package/src/widgets/views/Form.tsx +41 -39
- package/src/widgets/views/Graph/GraphChart.tsx +6 -1
- package/src/widgets/views/Graph/GraphDefaults.ts +113 -0
- package/src/widgets/views/Graph/GraphIndicator.tsx +19 -7
- package/src/widgets/views/SearchTree.tsx +3 -0
- package/src/widgets/views/Tree.tsx +112 -26
- package/src/widgets/views/searchFilter/SearchField.tsx +9 -23
- package/src/widgets/views/searchFilter/SearchFilter.tsx +17 -8
- package/dist/Config.d.ts +0 -6
- package/dist/Config.d.ts.map +0 -1
- package/dist/helpers/icons/antd_icons.d.ts +0 -4
- package/dist/helpers/icons/antd_icons.d.ts.map +0 -1
- package/dist/helpers/icons/tabler_icons.d.ts +0 -4
- package/dist/helpers/icons/tabler_icons.d.ts.map +0 -1
- package/dist/main.css +0 -1
- package/dist/ui/Fieldset.d.ts +0 -8
- package/dist/ui/Fieldset.d.ts.map +0 -1
- package/src/Config.ts +0 -4
- package/src/helpers/icons/antd_icons.ts +0 -1583
- package/src/helpers/icons/tabler_icons.ts +0 -5367
- package/src/ui/Fieldset.tsx +0 -31
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type Props = {
|
|
3
3
|
tooltip: string;
|
|
4
4
|
onClick: any;
|
|
@@ -8,6 +8,6 @@ declare type Props = {
|
|
|
8
8
|
loading?: boolean;
|
|
9
9
|
type?: string;
|
|
10
10
|
};
|
|
11
|
-
declare function ActionButton(props: Props): JSX.Element;
|
|
11
|
+
declare function ActionButton(props: Props): React.JSX.Element;
|
|
12
12
|
export default ActionButton;
|
|
13
13
|
//# sourceMappingURL=ActionButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["ActionButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,iBAAS,YAAY,CAAC,KAAK,EAAE,KAAK,qBAuBjC;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Attachment } from "./AttachmentsButtonWrapper";
|
|
3
3
|
export declare type AttachmentsButtonProps = {
|
|
4
4
|
attachments?: any;
|
|
@@ -7,6 +7,6 @@ export declare type AttachmentsButtonProps = {
|
|
|
7
7
|
onListAllAttachments: () => void;
|
|
8
8
|
onViewAttachmentDetails: (attachment: Attachment) => void;
|
|
9
9
|
};
|
|
10
|
-
declare function AttachmentsButton(props: AttachmentsButtonProps): JSX.Element;
|
|
10
|
+
declare function AttachmentsButton(props: AttachmentsButtonProps): React.JSX.Element;
|
|
11
11
|
export default AttachmentsButton;
|
|
12
12
|
//# sourceMappingURL=AttachmentsButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentsButton.d.ts","sourceRoot":"","sources":["AttachmentsButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AttachmentsButton.d.ts","sourceRoot":"","sources":["AttachmentsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAQ5E,OAAO,EACL,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAIpC,oBAAY,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,uBAAuB,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,qBAwGvD;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
export declare type Attachment = {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -15,5 +15,5 @@ export declare type AttachmentsButtonWrapperProps = {
|
|
|
15
15
|
onopenAttachmentLink: (attachment: Attachment) => void;
|
|
16
16
|
onOpenAttachmentDetail: (attachment: Attachment) => void;
|
|
17
17
|
};
|
|
18
|
-
export declare const AttachmentsButtonWrapper: (props: AttachmentsButtonWrapperProps) => JSX.Element;
|
|
18
|
+
export declare const AttachmentsButtonWrapper: (props: AttachmentsButtonWrapperProps) => React.JSX.Element;
|
|
19
19
|
//# sourceMappingURL=AttachmentsButtonWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentsButtonWrapper.d.ts","sourceRoot":"","sources":["AttachmentsButtonWrapper.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AttachmentsButtonWrapper.d.ts","sourceRoot":"","sources":["AttachmentsButtonWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgBpD,oBAAY,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,6BAA6B,GAAG;IAC1C,WAAW,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACtC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IACvD,sBAAsB,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAC5B,6BAA6B,sBA8BrC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Props as ButtonWithTooltipProps } from '../common/ButtonWithTooltip';
|
|
3
3
|
declare type Props = ButtonWithTooltipProps & {
|
|
4
4
|
badgeNumber?: number;
|
|
5
5
|
};
|
|
6
|
-
declare function ButtonWithBadge(props: Props): JSX.Element;
|
|
6
|
+
declare function ButtonWithBadge(props: Props): React.JSX.Element;
|
|
7
7
|
export default ButtonWithBadge;
|
|
8
8
|
//# sourceMappingURL=ButtonWithBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonWithBadge.d.ts","sourceRoot":"","sources":["ButtonWithBadge.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ButtonWithBadge.d.ts","sourceRoot":"","sources":["ButtonWithBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EAAC,KAAK,IAAI,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAI/F,aAAK,KAAK,GAAG,sBAAsB,GAAG;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,iBAAS,eAAe,CAAC,KAAK,EAAE,KAAK,qBA8BpC;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { View } from '../types';
|
|
3
3
|
declare type Props = {
|
|
4
4
|
onChangeView: (view: View) => void;
|
|
@@ -8,6 +8,6 @@ declare type Props = {
|
|
|
8
8
|
formHasChanges?: boolean;
|
|
9
9
|
previousView?: View;
|
|
10
10
|
};
|
|
11
|
-
declare function ChangeViewButton(props: Props): JSX.Element;
|
|
11
|
+
declare function ChangeViewButton(props: Props): React.JSX.Element;
|
|
12
12
|
export default ChangeViewButton;
|
|
13
13
|
//# sourceMappingURL=ChangeViewButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeViewButton.d.ts","sourceRoot":"","sources":["ChangeViewButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ChangeViewButton.d.ts","sourceRoot":"","sources":["ChangeViewButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAa1C,OAAO,EAAa,IAAI,EAAE,MAAM,SAAS,CAAC;AAE1C,aAAK,KAAK,GAAG;IACX,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,IAAI,CAAC;CACrB,CAAC;AAiBF,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,qBA+FrC;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardActionBar.d.ts","sourceRoot":"","sources":["DashboardActionBar.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DashboardActionBar.d.ts","sourceRoot":"","sources":["DashboardActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAc1C,iBAAS,kBAAkB,sBA8C1B;AAMD,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type Props = {
|
|
3
3
|
onItemClick: (event: any) => void;
|
|
4
4
|
items: any[];
|
|
@@ -7,6 +7,6 @@ declare type Props = {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare function DropdownButton(props: Props): JSX.Element;
|
|
10
|
+
declare function DropdownButton(props: Props): React.JSX.Element;
|
|
11
11
|
export default DropdownButton;
|
|
12
12
|
//# sourceMappingURL=DropdownButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["DropdownButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DropdownButton.d.ts","sourceRoot":"","sources":["DropdownButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,aAAK,KAAK,GAAG;IACX,WAAW,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,iBAAS,cAAc,CAAC,KAAK,EAAE,KAAK,qBA6CnC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormActionBar.d.ts","sourceRoot":"","sources":["FormActionBar.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FormActionBar.d.ts","sourceRoot":"","sources":["FormActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AA0C7D,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,4BAuanD;AAmBD,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare function GraphActionBar({ refreshGraph }: {
|
|
3
3
|
refreshGraph: () => void;
|
|
4
|
-
}): JSX.Element;
|
|
4
|
+
}): React.JSX.Element;
|
|
5
5
|
export default GraphActionBar;
|
|
6
6
|
//# sourceMappingURL=GraphActionBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphActionBar.d.ts","sourceRoot":"","sources":["GraphActionBar.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"GraphActionBar.d.ts","sourceRoot":"","sources":["GraphActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAa1C,iBAAS,cAAc,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,MAAM,IAAI,CAAA;CAAE,qBAmDrE;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type Props = {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare function NewButton(props: Props): JSX.Element;
|
|
5
|
+
declare function NewButton(props: Props): React.JSX.Element;
|
|
6
6
|
export default NewButton;
|
|
7
7
|
//# sourceMappingURL=NewButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewButton.d.ts","sourceRoot":"","sources":["NewButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"NewButton.d.ts","sourceRoot":"","sources":["NewButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAU1C,aAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,iBAAS,SAAS,CAAC,KAAK,EAAE,KAAK,qBA8B9B;AACD,eAAe,SAAS,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type Props = {
|
|
3
3
|
onSearch: (searchValue?: string) => void;
|
|
4
4
|
searchText?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare function SearchBar(props: Props): JSX.Element;
|
|
7
|
+
declare function SearchBar(props: Props): React.JSX.Element;
|
|
8
8
|
export default SearchBar;
|
|
9
9
|
//# sourceMappingURL=SearchBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["SearchBar.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["SearchBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,aAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,iBAAS,SAAS,CAAC,KAAK,EAAE,KAAK,qBA2D9B;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare type Props = {
|
|
3
3
|
parentContext?: any;
|
|
4
4
|
treeExpandable: boolean;
|
|
5
5
|
toolbar: any;
|
|
6
6
|
};
|
|
7
|
-
declare function TreeActionBar(props: Props): JSX.Element;
|
|
7
|
+
declare function TreeActionBar(props: Props): React.JSX.Element;
|
|
8
8
|
export default TreeActionBar;
|
|
9
9
|
//# sourceMappingURL=TreeActionBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["TreeActionBar.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TreeActionBar.d.ts","sourceRoot":"","sources":["TreeActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAkCpD,aAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,iBAAS,aAAa,CAAC,KAAK,EAAE,KAAK,qBAuUlC;AAMD,eAAe,aAAa,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { ButtonProps } from "antd";
|
|
3
3
|
export declare type Props = ButtonProps & {
|
|
4
4
|
tooltip: string;
|
|
5
5
|
};
|
|
6
|
-
declare function ButtonWithTooltip(props: Props): JSX.Element;
|
|
6
|
+
declare function ButtonWithTooltip(props: Props): React.JSX.Element;
|
|
7
7
|
export default ButtonWithTooltip;
|
|
8
8
|
//# sourceMappingURL=ButtonWithTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonWithTooltip.d.ts","sourceRoot":"","sources":["ButtonWithTooltip.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ButtonWithTooltip.d.ts","sourceRoot":"","sources":["ButtonWithTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAmB,WAAW,EAAE,MAAM,MAAM,CAAC;AAEpD,oBAAY,KAAK,GAAG,WAAW,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,iBAAS,iBAAiB,CAAC,KAAK,EAAE,KAAK,qBAQtC;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { WidgetProps } from '../types';
|
|
3
3
|
declare type DatePickerProps = WidgetProps & {
|
|
4
4
|
showTime?: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
export declare const DatePickerConfig: {
|
|
7
|
+
date: {
|
|
8
|
+
placeholder: string;
|
|
9
|
+
dateDisplayFormat: string;
|
|
10
|
+
dateInternalFormat: string;
|
|
11
|
+
};
|
|
12
|
+
time: {
|
|
13
|
+
placeholder: string;
|
|
14
|
+
dateDisplayFormat: string;
|
|
15
|
+
dateInternalFormat: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
declare const DatePicker: (props: DatePickerProps) => React.JSX.Element;
|
|
7
19
|
export default DatePicker;
|
|
8
20
|
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["DatePicker.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["DatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC,aAAK,eAAe,GAAG,WAAW,GAAG;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;CAW5B,CAAC;AAEF,QAAA,MAAM,UAAU,UAAW,eAAe,sBASzC,CAAC;AA8DF,eAAe,UAAU,CAAC"}
|
package/dist/common/Field.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,IAAI,SAAS,EAAsB,MAAM,aAAa,CAAC;AAIrE,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,IAAI,EACJ,QAAQ,EACR,MAAqB,EACrB,aAAa,EACb,SAAiB,EACjB,UAAmB,EACnB,QAAgB,EAChB,IAAI,EACJ,SAAS,GACV,EAAE;IACD,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB,
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,IAAI,SAAS,EAAsB,MAAM,aAAa,CAAC;AAIrE,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,IAAI,EACJ,QAAQ,EACR,MAAqB,EACrB,aAAa,EACb,SAAiB,EACjB,UAAmB,EACnB,QAAgB,EAChB,IAAI,EACJ,SAAS,GACV,EAAE;IACD,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB,qBAiEA"}
|
|
@@ -9,7 +9,10 @@ export declare type ActionViewContextType = {
|
|
|
9
9
|
setFormIsSaving?: (value: boolean) => void;
|
|
10
10
|
formHasChanges?: boolean;
|
|
11
11
|
setFormHasChanges?: (value: boolean) => void;
|
|
12
|
-
onFormSave?: () =>
|
|
12
|
+
onFormSave?: () => Promise<{
|
|
13
|
+
succeed: boolean;
|
|
14
|
+
id: number;
|
|
15
|
+
}>;
|
|
13
16
|
formRef?: any;
|
|
14
17
|
searchTreeRef?: any;
|
|
15
18
|
onNewClicked: () => void;
|
|
@@ -51,6 +54,7 @@ export declare type ActionViewContextType = {
|
|
|
51
54
|
setSearchValues?: (value: any) => void;
|
|
52
55
|
limit?: number;
|
|
53
56
|
setLimit?: (value: number) => void;
|
|
57
|
+
setTitle?: (value: string) => void;
|
|
54
58
|
};
|
|
55
59
|
export declare const ActionViewContext: React.Context<ActionViewContextType | null>;
|
|
56
60
|
declare type ActionViewProviderProps = ActionViewContextType & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionViewContext.d.ts","sourceRoot":"","sources":["ActionViewContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,IAAI,EAAE,CAAC;IACvB,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;I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B,aAAa,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/C,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,iBAAiB,6CAC2B,CAAC;AAE1D,aAAK,uBAAuB,GAAG,qBAAqB,GAAG;IACrD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,KAAG,GA6I5D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigContext.d.ts","sourceRoot":"","sources":["ConfigContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,aAAa,mCAExB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentRootContext.d.ts","sourceRoot":"","sources":["ContentRootContext.tsx"],"names":[],"mappings":"AACA,OAAO,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 +15,13 @@ export declare type FormContextType = {
|
|
|
15
15
|
[key: string]: any;
|
|
16
16
|
};
|
|
17
17
|
getFields: () => Promise<any>;
|
|
18
|
-
setOriginalValue: (field: string, value: any) => void;
|
|
19
18
|
domain: any[];
|
|
20
19
|
submitForm?: (options?: {
|
|
21
20
|
callOnSubmitSucceed?: boolean;
|
|
22
|
-
}) => Promise<
|
|
21
|
+
}) => Promise<{
|
|
22
|
+
succeed: boolean;
|
|
23
|
+
id: number;
|
|
24
|
+
}>;
|
|
23
25
|
fetchValues?: () => void;
|
|
24
26
|
formHasChanges?: () => boolean;
|
|
25
27
|
elementHasLostFocus?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormContext.d.ts","sourceRoot":"","sources":["FormContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAEhD,oBAAY,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACzC,mBAAmB,EAAE,CAAC,EACpB,IAAI,EACJ,MAAM,EACN,OAAO,GACR,EAAE;QACD,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,GAAG,CAAC;KACf,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,UAAU,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9B,cAAc,EAAE,MAAM;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAC7C,SAAS,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC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CAAC;AAE7E,aAAK,iBAAiB,GAAG,eAAe,GAAG;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,YAAY,UAAW,iBAAiB,KAAG,GAyChD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorHelper.d.ts","sourceRoot":"","sources":["errorHelper.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,kBAAmB,MAAM;;;;CA0B/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filesHelper.d.ts","sourceRoot":"","sources":["filesHelper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filesHelper.d.ts","sourceRoot":"","sources":["filesHelper.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,YAAY,EAAE,MAAM,UAI/C;AAED,wBAAsB,WAAW,CAAC,YAAY,EAAE,MAAM;;;GAYrD;AAED,eAAO,MAAM,QAAQ,SAAU,IAAI,KAAG,QAAQ,MAAM,CAMhD,CAAC;AAEL,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,QAUhE"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { Form as FormOoui } from "@gisce/ooui";
|
|
1
2
|
export declare const processValues: (values: any, fields: any) => any;
|
|
2
3
|
export declare const getTouchedValues: ({ source, target, fields, }: {
|
|
3
4
|
source: any;
|
|
4
5
|
target: any;
|
|
5
6
|
fields: any;
|
|
6
7
|
}) => any;
|
|
7
|
-
export declare const checkFieldsType: ({ changedFields,
|
|
8
|
+
export declare const checkFieldsType: ({ changedFields, formOoui, types, }: {
|
|
8
9
|
changedFields: string[];
|
|
9
|
-
|
|
10
|
+
formOoui: FormOoui;
|
|
10
11
|
types: string[];
|
|
11
12
|
}) => boolean;
|
|
12
13
|
export declare const mergeFieldsDomain: ({ fieldsDomain, fields, }: {
|
|
@@ -14,9 +15,10 @@ export declare const mergeFieldsDomain: ({ fieldsDomain, fields, }: {
|
|
|
14
15
|
fields: any;
|
|
15
16
|
}) => any;
|
|
16
17
|
export declare const getValuesForDomain: (domain: any[]) => any;
|
|
17
|
-
export declare const getOnChangePayload: ({ onChangeFieldActionArgs, values, }: {
|
|
18
|
+
export declare const getOnChangePayload: ({ onChangeFieldActionArgs, values, parentValues, }: {
|
|
18
19
|
onChangeFieldActionArgs: any[];
|
|
19
20
|
values: any;
|
|
21
|
+
parentValues?: any;
|
|
20
22
|
}) => any;
|
|
21
23
|
export declare const mergeSearchFields: (searchFields: any[]) => {
|
|
22
24
|
primary: never[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formHelper.d.ts","sourceRoot":"","sources":["formHelper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formHelper.d.ts","sourceRoot":"","sources":["formHelper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AA6B/C,eAAO,MAAM,aAAa,WAAY,GAAG,UAAU,GAAG,QAGrD,CAAC;AAEF,eAAO,MAAM,gBAAgB;YAKnB,GAAG;YACH,GAAG;YACH,GAAG;SAyDZ,CAAC;AAEF,eAAO,MAAM,eAAe;mBAKX,MAAM,EAAE;cACb,QAAQ;WACX,MAAM,EAAE;aAOhB,CAAC;AAEF,eAAO,MAAM,iBAAiB;kBAId,GAAG;YACT,GAAG;SAaZ,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,GAAG,EAAE,QAc/C,CAAC;AAEF,eAAO,MAAM,kBAAkB;6BAKJ,GAAG,EAAE;YACtB,GAAG;mBACI,GAAG;SA8BnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iBAAkB,GAAG,EAAE;;;CAqBpD,CAAC;AAMF,eAAO,MAAM,uBAAuB;YAI1B,GAAG;YACH,GAAG;;;CAqBZ,CAAC;AAGF,eAAO,MAAM,eAAe,SAAU,MAAM,WAW3C,CAAA"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const _default: (key: string
|
|
1
|
+
import React, { CSSProperties } from "react";
|
|
2
|
+
declare const _default: (key: string, props?: {
|
|
3
|
+
className?: any;
|
|
4
|
+
style: CSSProperties;
|
|
5
|
+
} | undefined) => (() => React.CElement<{
|
|
6
|
+
className?: any;
|
|
7
|
+
style?: React.CSSProperties | undefined;
|
|
8
|
+
}, React.Component<{
|
|
9
|
+
className?: any;
|
|
10
|
+
style?: React.CSSProperties | undefined;
|
|
11
|
+
}, any, any>>) | (() => React.FunctionComponentElement<Pick<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "readOnly" | "id" | "children" | "lang" | "type" | "onClick" | "disabled" | "label" | "default" | "max" | "required" | "data" | "high" | "low" | "key" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "form" | "slot" | "span" | "style" | "summary" | "title" | "dir" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "className" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "multiple" | "size" | "manifest" | "wrap" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "autoFocus" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "playsInline" | "poster" | "preload" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "spin" | "component" | "ariaLabel" | "viewBox"> & React.RefAttributes<HTMLSpanElement>>) | undefined;
|
|
3
12
|
export default _default;
|
|
4
13
|
//# sourceMappingURL=iconMapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconMapper.d.ts","sourceRoot":"","sources":["iconMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"iconMapper.d.ts","sourceRoot":"","sources":["iconMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;8BAuGtC,MAAM;gBACW,GAAG;WAAS,aAAa;;;;;;;;AAFjD,wBAcE"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { One2manyItem } from '../widgets/base/one2many/One2manyInput';
|
|
2
|
+
import { ViewType } from '../types';
|
|
2
3
|
declare type ReadObjectValuesOptions = {
|
|
3
4
|
items: One2manyItem[];
|
|
4
5
|
model: string;
|
|
5
|
-
treeFields: any;
|
|
6
|
-
formFields: any;
|
|
7
6
|
context?: any;
|
|
7
|
+
currentView: ViewType;
|
|
8
|
+
formView: {
|
|
9
|
+
fields: any;
|
|
10
|
+
};
|
|
11
|
+
treeView: {
|
|
12
|
+
arch?: string;
|
|
13
|
+
fields: any;
|
|
14
|
+
};
|
|
8
15
|
};
|
|
9
|
-
declare const readObjectValues: (options: ReadObjectValuesOptions) => Promise<One2manyItem[]>;
|
|
16
|
+
declare const readObjectValues: (options: ReadObjectValuesOptions) => Promise<[One2manyItem[], any]>;
|
|
10
17
|
declare type RemoveItemOptions = {
|
|
11
18
|
model: string;
|
|
12
19
|
activeId: number;
|
|
@@ -25,5 +32,6 @@ declare type LinkItemOptions = {
|
|
|
25
32
|
};
|
|
26
33
|
declare const linkItem: (options: LinkItemOptions) => Promise<void>;
|
|
27
34
|
declare const getNextPendingId: (items: One2manyItem[]) => number;
|
|
28
|
-
|
|
35
|
+
declare const convertToPlain2ManyValues: (values: any, fields: any) => any;
|
|
36
|
+
export { readObjectValues, removeItems, linkItem, getNextPendingId, convertToPlain2ManyValues, };
|
|
29
37
|
//# sourceMappingURL=one2manyHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one2manyHelper.d.ts","sourceRoot":"","sources":["one2manyHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"one2manyHelper.d.ts","sourceRoot":"","sources":["one2manyHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAkB,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnD,aAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,WAAW,EAAE,QAAQ,CAAC;IACtB,QAAQ,EAAE;QACR,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;IACF,QAAQ,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,gBAAgB,YACX,uBAAuB,KAC/B,QAAQ,CAAC,YAAY,EAAE,EAAE,GAAG,CAAC,CAqF/B,CAAC;AAEF,aAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,GAAG,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,WAAW,YAAmB,iBAAiB,kBAiBpD,CAAC;AAEF,aAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,QAAA,MAAM,QAAQ,YAAmB,eAAe,kBAY/C,CAAC;AAEF,QAAA,MAAM,gBAAgB,UAAW,YAAY,EAAE,WAS9C,CAAC;AAEF,QAAA,MAAM,yBAAyB,WAAY,GAAG,UAAU,GAAG,QAiB1D,CAAC;AACF,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getParamsForFields: (values: any,
|
|
1
|
+
export declare const getParamsForFields: (values: any, widgetContainer: any) => any[];
|
|
2
2
|
export declare const groupDateTimeValuesIfNeeded: (values: any) => any;
|
|
3
3
|
export declare const removeUndefinedFields: (values: any) => any;
|
|
4
4
|
export declare const getUniqueFieldsForParams: (params: any[]) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchHelper.d.ts","sourceRoot":"","sources":["searchHelper.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,WAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"searchHelper.d.ts","sourceRoot":"","sources":["searchHelper.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,WAAY,GAAG,mBAAmB,GAAG,UAoBnE,CAAC;AA+DF,eAAO,MAAM,2BAA2B,WAAY,GAAG,QAqCtD,CAAC;AAwBF,eAAO,MAAM,qBAAqB,WAAY,GAAG,QAUhD,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAAY,GAAG,EAAE,aAYrD,CAAC;AAEF,eAAO,MAAM,WAAW,iBAAkB,GAAG,EAAE,gBAAgB,GAAG,EAAE,UAenE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tree as TreeOoui } from "@gisce/ooui";
|
|
2
2
|
import { TreeView, Column } from '../types';
|
|
3
3
|
declare const getTree: (treeView: TreeView) => TreeOoui;
|
|
4
|
-
declare const getTableColumns: (tree: TreeOoui, components: any) => Array<Column>;
|
|
4
|
+
declare const getTableColumns: (tree: TreeOoui, components: any, context: any) => Array<Column>;
|
|
5
5
|
declare const getTableItems: (treeOoui: TreeOoui, results: Array<any>) => Array<any>;
|
|
6
6
|
declare function itemHasBooleans({ values, fields }: {
|
|
7
7
|
values: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"treeHelper.d.ts","sourceRoot":"","sources":["treeHelper.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"treeHelper.d.ts","sourceRoot":"","sources":["treeHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,IAAI,QAAQ,EAKjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAE3C,QAAA,MAAM,OAAO,aAAc,QAAQ,KAAG,QAMrC,CAAC;AAEF,QAAA,MAAM,eAAe,SACb,QAAQ,cACF,GAAG,WACN,GAAG,KACX,MAAM,MAAM,CAkCd,CAAC;AAEF,QAAA,MAAM,aAAa,aAAc,QAAQ,WAAW,MAAM,GAAG,CAAC,KAAG,MAAM,GAAG,CAmCzE,CAAC;AAEF,iBAAS,eAAe,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,GAAG,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,WAOxE;AAED,iBAAS,wBAAwB,CAAC,EAChC,MAAM,EACN,MAAM,GACP,EAAE;IACD,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;CACb,OAWA;AAED,iBAAS,WAAW,CAAC,WAAW,EAAE,GAAG,OASpC;AAED,iBAAS,WAAW,CAAC,EACnB,aAAa,EACb,MAAM,EACN,MAAM,GACP,EAAE;IACD,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,GAAG,CAAC;CACb,SA+BA;AAED,OAAO,EACL,eAAe,EACf,aAAa,EACb,OAAO,EACP,wBAAwB,EACxB,eAAe,EACf,WAAW,EACX,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ExportField, ExportOptions, PredefinedExport, PredefinedExportField } from "@gisce/react-formiga-components";
|
|
2
|
+
export declare const useExport: ({ model, context, locale, selectedRegistersToExport, domain, limit, onClose, }: {
|
|
3
|
+
model: string;
|
|
4
|
+
context: any;
|
|
5
|
+
locale: string;
|
|
6
|
+
selectedRegistersToExport?: any[] | undefined;
|
|
7
|
+
domain: any[];
|
|
8
|
+
limit?: number | undefined;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
}) => {
|
|
11
|
+
onGetFields: () => Promise<{
|
|
12
|
+
key: string;
|
|
13
|
+
title: any;
|
|
14
|
+
tooltip: any;
|
|
15
|
+
required: any;
|
|
16
|
+
isLeaf: boolean;
|
|
17
|
+
}[]>;
|
|
18
|
+
onGetFieldChilds: (key: string) => Promise<{
|
|
19
|
+
key: string;
|
|
20
|
+
title: any;
|
|
21
|
+
tooltip: any;
|
|
22
|
+
required: any;
|
|
23
|
+
isLeaf: boolean;
|
|
24
|
+
}[]>;
|
|
25
|
+
onExport: (options: ExportOptions) => Promise<void>;
|
|
26
|
+
onGetPredefinedExports: () => Promise<{
|
|
27
|
+
predefinedExports: {
|
|
28
|
+
fields: any;
|
|
29
|
+
id: any;
|
|
30
|
+
name: any;
|
|
31
|
+
}[];
|
|
32
|
+
keysWithChilds: {
|
|
33
|
+
key: string;
|
|
34
|
+
childs: ExportField[];
|
|
35
|
+
}[];
|
|
36
|
+
}>;
|
|
37
|
+
onSavePredefinedExport: (pExport: PredefinedExport) => Promise<{
|
|
38
|
+
id: any;
|
|
39
|
+
name: string;
|
|
40
|
+
fields: PredefinedExportField[];
|
|
41
|
+
}>;
|
|
42
|
+
onRemovePredefinedExport: (pExport: PredefinedExport) => Promise<void>;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=useExport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExport.d.ts","sourceRoot":"","sources":["useExport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,iCAAiC,CAAC;AAOzC,eAAO,MAAM,SAAS;WASb,MAAM;aACJ,GAAG;YACJ,MAAM;;YAEN,GAAG,EAAE;;aAEJ,MAAM,IAAI;;;;;;;;;4BA2DL,MAAM;;;;;;;wBArDF,aAAa;;;;;;;;;;;;sCAiHb,gBAAgB;;;;;wCAoChB,gBAAgB;CAkCnC,CAAC"}
|