@gisce/react-ooui 2.0.0-rc.9 → 2.0.0

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.
Files changed (528) hide show
  1. package/dist/ConnectionProvider.d.ts +1 -1
  2. package/dist/ConnectionProvider.d.ts.map +1 -1
  3. package/dist/actionbar/ActionButton.d.ts +2 -3
  4. package/dist/actionbar/ActionButton.d.ts.map +1 -1
  5. package/dist/actionbar/AttachmentsButton.d.ts +2 -3
  6. package/dist/actionbar/AttachmentsButton.d.ts.map +1 -1
  7. package/dist/actionbar/AttachmentsButtonWrapper.d.ts +3 -4
  8. package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +1 -1
  9. package/dist/actionbar/ButtonWithBadge.d.ts +3 -4
  10. package/dist/actionbar/ButtonWithBadge.d.ts.map +1 -1
  11. package/dist/actionbar/ChangeViewButton.d.ts +3 -4
  12. package/dist/actionbar/ChangeViewButton.d.ts.map +1 -1
  13. package/dist/actionbar/DashboardActionBar.d.ts +1 -2
  14. package/dist/actionbar/DashboardActionBar.d.ts.map +1 -1
  15. package/dist/actionbar/DropdownButton.d.ts +4 -3
  16. package/dist/actionbar/DropdownButton.d.ts.map +1 -1
  17. package/dist/actionbar/FormActionBar.d.ts +1 -2
  18. package/dist/actionbar/FormActionBar.d.ts.map +1 -1
  19. package/dist/actionbar/GraphActionBar.d.ts +1 -2
  20. package/dist/actionbar/GraphActionBar.d.ts.map +1 -1
  21. package/dist/actionbar/NewButton.d.ts +2 -3
  22. package/dist/actionbar/NewButton.d.ts.map +1 -1
  23. package/dist/actionbar/SearchBar.d.ts +2 -3
  24. package/dist/actionbar/SearchBar.d.ts.map +1 -1
  25. package/dist/actionbar/TreeActionBar.d.ts +2 -3
  26. package/dist/actionbar/TreeActionBar.d.ts.map +1 -1
  27. package/dist/common/ButtonWithTooltip.d.ts +2 -3
  28. package/dist/common/ButtonWithTooltip.d.ts.map +1 -1
  29. package/dist/common/DatePicker.d.ts +3 -4
  30. package/dist/common/DatePicker.d.ts.map +1 -1
  31. package/dist/common/Field.d.ts +1 -1
  32. package/dist/common/Field.d.ts.map +1 -1
  33. package/dist/common/SelectAllRecordsRow.d.ts +9 -0
  34. package/dist/common/SelectAllRecordsRow.d.ts.map +1 -0
  35. package/dist/common/TimePicker.d.ts +10 -0
  36. package/dist/common/TimePicker.d.ts.map +1 -0
  37. package/dist/context/ActionViewContext.d.ts +4 -4
  38. package/dist/context/ActionViewContext.d.ts.map +1 -1
  39. package/dist/context/ConfigContext.d.ts +9 -1
  40. package/dist/context/ConfigContext.d.ts.map +1 -1
  41. package/dist/context/ContentRootContext.d.ts +2 -2
  42. package/dist/context/ContentRootContext.d.ts.map +1 -1
  43. package/dist/context/DashboardActionContext.d.ts +3 -3
  44. package/dist/context/DashboardActionContext.d.ts.map +1 -1
  45. package/dist/context/FormContext.d.ts +2 -2
  46. package/dist/context/FormContext.d.ts.map +1 -1
  47. package/dist/context/FormModalContext.d.ts +2 -2
  48. package/dist/context/FormModalContext.d.ts.map +1 -1
  49. package/dist/context/LocaleContext.d.ts +2 -2
  50. package/dist/context/LocaleContext.d.ts.map +1 -1
  51. package/dist/context/One2manyContext.d.ts +2 -2
  52. package/dist/context/One2manyContext.d.ts.map +1 -1
  53. package/dist/context/TabManagerContext.d.ts +5 -5
  54. package/dist/context/TabManagerContext.d.ts.map +1 -1
  55. package/dist/helpers/containerHelper.d.ts.map +1 -1
  56. package/dist/helpers/dayjs.d.ts +3 -0
  57. package/dist/helpers/dayjs.d.ts.map +1 -0
  58. package/dist/helpers/dynamicColumnsHelper.d.ts.map +1 -1
  59. package/dist/helpers/errorHelper.d.ts.map +1 -1
  60. package/dist/helpers/filesHelper.d.ts +1 -1
  61. package/dist/helpers/filesHelper.d.ts.map +1 -1
  62. package/dist/helpers/formHelper.d.ts.map +1 -1
  63. package/dist/helpers/iconMapper.d.ts +2 -2
  64. package/dist/helpers/iconMapper.d.ts.map +1 -1
  65. package/dist/helpers/logInfoHelper.d.ts.map +1 -1
  66. package/dist/helpers/one2manyHelper.d.ts +5 -5
  67. package/dist/helpers/one2manyHelper.d.ts.map +1 -1
  68. package/dist/helpers/searchHelper.d.ts.map +1 -1
  69. package/dist/helpers/timeHelper.d.ts.map +1 -1
  70. package/dist/helpers/treeHelper.d.ts +3 -3
  71. package/dist/helpers/treeHelper.d.ts.map +1 -1
  72. package/dist/helpers/viewHelper.d.ts +3 -3
  73. package/dist/helpers/viewHelper.d.ts.map +1 -1
  74. package/dist/hooks/useEffectDebugger.d.ts +3 -0
  75. package/dist/hooks/useEffectDebugger.d.ts.map +1 -0
  76. package/dist/hooks/useExport.d.ts.map +1 -1
  77. package/dist/hooks/useFetchViews.d.ts +1 -0
  78. package/dist/hooks/useFetchViews.d.ts.map +1 -0
  79. package/dist/hooks/useSearch.d.ts +3 -3
  80. package/dist/hooks/useSearch.d.ts.map +1 -1
  81. package/dist/hooks/useWindowDimensions.d.ts.map +1 -1
  82. package/dist/index.d.ts +47 -47
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/locales/ca_ES.d.ts +1 -0
  85. package/dist/locales/ca_ES.d.ts.map +1 -1
  86. package/dist/locales/en_US.d.ts +1 -0
  87. package/dist/locales/en_US.d.ts.map +1 -1
  88. package/dist/locales/es_ES.d.ts +1 -0
  89. package/dist/locales/es_ES.d.ts.map +1 -1
  90. package/dist/react-ooui.es.js +7247 -8856
  91. package/dist/react-ooui.es.js.map +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/index.d.ts +47 -46
  94. package/dist/types/index.d.ts.map +1 -1
  95. package/dist/ui/ActionErrorDialog.d.ts.map +1 -1
  96. package/dist/ui/ConfirmDialog.d.ts +1 -1
  97. package/dist/ui/ConfirmDialog.d.ts.map +1 -1
  98. package/dist/ui/ErrorAlert.d.ts +1 -2
  99. package/dist/ui/ErrorAlert.d.ts.map +1 -1
  100. package/dist/ui/FavouriteButton.d.ts +4 -5
  101. package/dist/ui/FavouriteButton.d.ts.map +1 -1
  102. package/dist/ui/FormErrorsDialog.d.ts.map +1 -1
  103. package/dist/ui/GenericErrorDialog.d.ts.map +1 -1
  104. package/dist/ui/GoToResourceModal.d.ts +3 -4
  105. package/dist/ui/GoToResourceModal.d.ts.map +1 -1
  106. package/dist/ui/InfoDialog.d.ts.map +1 -1
  107. package/dist/ui/RefreshItemDialog.d.ts.map +1 -1
  108. package/dist/ui/RemoveItemDialog.d.ts.map +1 -1
  109. package/dist/ui/TitleHeader.d.ts +2 -3
  110. package/dist/ui/TitleHeader.d.ts.map +1 -1
  111. package/dist/ui/UnlinkItemDialog.d.ts.map +1 -1
  112. package/dist/ui/UnsavedChangesDialog.d.ts.map +1 -1
  113. package/dist/ui/WarningDialog.d.ts +1 -1
  114. package/dist/ui/WarningDialog.d.ts.map +1 -1
  115. package/dist/views/ActionView.d.ts +2 -2
  116. package/dist/views/ActionView.d.ts.map +1 -1
  117. package/dist/views/CurrentTabContent.d.ts +1 -2
  118. package/dist/views/CurrentTabContent.d.ts.map +1 -1
  119. package/dist/views/RootView.d.ts +2 -2
  120. package/dist/views/RootView.d.ts.map +1 -1
  121. package/dist/views/TabContent.d.ts +2 -2
  122. package/dist/views/TabContent.d.ts.map +1 -1
  123. package/dist/views/TabSelector.d.ts +1 -2
  124. package/dist/views/TabSelector.d.ts.map +1 -1
  125. package/dist/views/Welcome.d.ts.map +1 -1
  126. package/dist/views/actionViews/DashboardActionView.d.ts +4 -4
  127. package/dist/views/actionViews/DashboardActionView.d.ts.map +1 -1
  128. package/dist/views/actionViews/FormActionView.d.ts +3 -4
  129. package/dist/views/actionViews/FormActionView.d.ts.map +1 -1
  130. package/dist/views/actionViews/GraphActionView.d.ts +3 -4
  131. package/dist/views/actionViews/GraphActionView.d.ts.map +1 -1
  132. package/dist/views/actionViews/TreeActionView.d.ts +3 -4
  133. package/dist/views/actionViews/TreeActionView.d.ts.map +1 -1
  134. package/dist/views/tabs/Tab.d.ts +2 -3
  135. package/dist/views/tabs/Tab.d.ts.map +1 -1
  136. package/dist/widgets/WidgetFactory.d.ts.map +1 -1
  137. package/dist/widgets/base/Binary.d.ts +3 -4
  138. package/dist/widgets/base/Binary.d.ts.map +1 -1
  139. package/dist/widgets/base/Boolean.d.ts +2 -3
  140. package/dist/widgets/base/Boolean.d.ts.map +1 -1
  141. package/dist/widgets/base/Button.d.ts +2 -3
  142. package/dist/widgets/base/Button.d.ts.map +1 -1
  143. package/dist/widgets/base/Char.d.ts +3 -4
  144. package/dist/widgets/base/Char.d.ts.map +1 -1
  145. package/dist/widgets/base/Date.d.ts +2 -3
  146. package/dist/widgets/base/Date.d.ts.map +1 -1
  147. package/dist/widgets/base/DateTime.d.ts +2 -3
  148. package/dist/widgets/base/DateTime.d.ts.map +1 -1
  149. package/dist/widgets/base/Email.d.ts +2 -3
  150. package/dist/widgets/base/Email.d.ts.map +1 -1
  151. package/dist/widgets/base/Float.d.ts +2 -3
  152. package/dist/widgets/base/Float.d.ts.map +1 -1
  153. package/dist/widgets/base/FloatTime.d.ts +2 -2
  154. package/dist/widgets/base/FloatTime.d.ts.map +1 -1
  155. package/dist/widgets/base/Image.d.ts +3 -4
  156. package/dist/widgets/base/Image.d.ts.map +1 -1
  157. package/dist/widgets/base/Integer.d.ts +3 -4
  158. package/dist/widgets/base/Integer.d.ts.map +1 -1
  159. package/dist/widgets/base/Label.d.ts +3 -4
  160. package/dist/widgets/base/Label.d.ts.map +1 -1
  161. package/dist/widgets/base/LinkInput.d.ts +1 -2
  162. package/dist/widgets/base/LinkInput.d.ts.map +1 -1
  163. package/dist/widgets/base/MultiSelection.d.ts +4 -5
  164. package/dist/widgets/base/MultiSelection.d.ts.map +1 -1
  165. package/dist/widgets/base/ProgressBar.d.ts +3 -4
  166. package/dist/widgets/base/ProgressBar.d.ts.map +1 -1
  167. package/dist/widgets/base/Reference.d.ts +2 -2
  168. package/dist/widgets/base/Reference.d.ts.map +1 -1
  169. package/dist/widgets/base/ReferenceTree.d.ts +1 -1
  170. package/dist/widgets/base/ReferenceTree.d.ts.map +1 -1
  171. package/dist/widgets/base/Selection.d.ts +4 -5
  172. package/dist/widgets/base/Selection.d.ts.map +1 -1
  173. package/dist/widgets/base/Separator.d.ts +2 -3
  174. package/dist/widgets/base/Separator.d.ts.map +1 -1
  175. package/dist/widgets/base/Text.d.ts +2 -3
  176. package/dist/widgets/base/Text.d.ts.map +1 -1
  177. package/dist/widgets/base/Time.d.ts +4 -5
  178. package/dist/widgets/base/Time.d.ts.map +1 -1
  179. package/dist/widgets/base/Url.d.ts +2 -3
  180. package/dist/widgets/base/Url.d.ts.map +1 -1
  181. package/dist/widgets/base/many2one/Many2one.d.ts +2 -2
  182. package/dist/widgets/base/many2one/Many2one.d.ts.map +1 -1
  183. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +2 -3
  184. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +1 -1
  185. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +2 -3
  186. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +1 -1
  187. package/dist/widgets/base/many2one/Many2oneTree.d.ts +1 -1
  188. package/dist/widgets/base/many2one/Many2oneTree.d.ts.map +1 -1
  189. package/dist/widgets/base/one2many/One2many.d.ts +2 -3
  190. package/dist/widgets/base/one2many/One2many.d.ts.map +1 -1
  191. package/dist/widgets/base/one2many/One2manyInput.d.ts +4 -4
  192. package/dist/widgets/base/one2many/One2manyInput.d.ts.map +1 -1
  193. package/dist/widgets/base/one2many/One2manyTopBar.d.ts +3 -4
  194. package/dist/widgets/base/one2many/One2manyTopBar.d.ts.map +1 -1
  195. package/dist/widgets/containers/Container.d.ts +1 -1
  196. package/dist/widgets/containers/Container.d.ts.map +1 -1
  197. package/dist/widgets/containers/Group.d.ts +1 -1
  198. package/dist/widgets/containers/Group.d.ts.map +1 -1
  199. package/dist/widgets/containers/Notebook.d.ts +1 -1
  200. package/dist/widgets/containers/Notebook.d.ts.map +1 -1
  201. package/dist/widgets/custom/Avatar.d.ts +2 -2
  202. package/dist/widgets/custom/Avatar.d.ts.map +1 -1
  203. package/dist/widgets/custom/ButtonGroup.d.ts +2 -3
  204. package/dist/widgets/custom/ButtonGroup.d.ts.map +1 -1
  205. package/dist/widgets/custom/CodeEditor.d.ts +3 -4
  206. package/dist/widgets/custom/CodeEditor.d.ts.map +1 -1
  207. package/dist/widgets/custom/Comments.d.ts +11 -12
  208. package/dist/widgets/custom/Comments.d.ts.map +1 -1
  209. package/dist/widgets/custom/FiberGrid.d.ts +3 -4
  210. package/dist/widgets/custom/FiberGrid.d.ts.map +1 -1
  211. package/dist/widgets/custom/Indicator.d.ts +3 -4
  212. package/dist/widgets/custom/Indicator.d.ts.map +1 -1
  213. package/dist/widgets/custom/Markdown.d.ts +3 -4
  214. package/dist/widgets/custom/Markdown.d.ts.map +1 -1
  215. package/dist/widgets/custom/MultiCheckbox.d.ts +4 -5
  216. package/dist/widgets/custom/MultiCheckbox.d.ts.map +1 -1
  217. package/dist/widgets/custom/Radio.d.ts +4 -5
  218. package/dist/widgets/custom/Radio.d.ts.map +1 -1
  219. package/dist/widgets/custom/Steps.d.ts +4 -5
  220. package/dist/widgets/custom/Steps.d.ts.map +1 -1
  221. package/dist/widgets/custom/Switch.d.ts +2 -3
  222. package/dist/widgets/custom/Switch.d.ts.map +1 -1
  223. package/dist/widgets/custom/Tag.d.ts +5 -6
  224. package/dist/widgets/custom/Tag.d.ts.map +1 -1
  225. package/dist/widgets/custom/Tags.d.ts +5 -6
  226. package/dist/widgets/custom/Tags.d.ts.map +1 -1
  227. package/dist/widgets/custom/Timeline.d.ts +5 -6
  228. package/dist/widgets/custom/Timeline.d.ts.map +1 -1
  229. package/dist/widgets/modals/ExportModal.d.ts +2 -3
  230. package/dist/widgets/modals/ExportModal.d.ts.map +1 -1
  231. package/dist/widgets/modals/FormModal.d.ts +3 -4
  232. package/dist/widgets/modals/FormModal.d.ts.map +1 -1
  233. package/dist/widgets/modals/SearchModal.d.ts +2 -3
  234. package/dist/widgets/modals/SearchModal.d.ts.map +1 -1
  235. package/dist/widgets/modals/TranslationModal.d.ts +2 -3
  236. package/dist/widgets/modals/TranslationModal.d.ts.map +1 -1
  237. package/dist/widgets/views/Dashboard/Dashboard.d.ts +1 -1
  238. package/dist/widgets/views/Dashboard/Dashboard.d.ts.map +1 -1
  239. package/dist/widgets/views/Dashboard/DashboardForm.d.ts +1 -2
  240. package/dist/widgets/views/Dashboard/DashboardForm.d.ts.map +1 -1
  241. package/dist/widgets/views/Dashboard/DashboardTree.d.ts +4 -5
  242. package/dist/widgets/views/Dashboard/DashboardTree.d.ts.map +1 -1
  243. package/dist/widgets/views/Dashboard/dashboardHelper.d.ts.map +1 -1
  244. package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts +1 -2
  245. package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts.map +1 -1
  246. package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts +2 -2
  247. package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts.map +1 -1
  248. package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts +1 -2
  249. package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts.map +1 -1
  250. package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts +2 -2
  251. package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts.map +1 -1
  252. package/dist/widgets/views/DashboardGrid/index.d.ts.map +1 -1
  253. package/dist/widgets/views/Form.d.ts +2 -2
  254. package/dist/widgets/views/Form.d.ts.map +1 -1
  255. package/dist/widgets/views/Graph/Graph.d.ts +1 -1
  256. package/dist/widgets/views/Graph/Graph.d.ts.map +1 -1
  257. package/dist/widgets/views/Graph/GraphChart.d.ts +2 -3
  258. package/dist/widgets/views/Graph/GraphChart.d.ts.map +1 -1
  259. package/dist/widgets/views/Graph/GraphDefaults.d.ts.map +1 -1
  260. package/dist/widgets/views/Graph/GraphIndicator.d.ts +2 -3
  261. package/dist/widgets/views/Graph/GraphIndicator.d.ts.map +1 -1
  262. package/dist/widgets/views/Graph/useGraphData.d.ts +2 -2
  263. package/dist/widgets/views/Graph/useGraphData.d.ts.map +1 -1
  264. package/dist/widgets/views/SearchTree.d.ts +5 -5
  265. package/dist/widgets/views/SearchTree.d.ts.map +1 -1
  266. package/dist/widgets/views/{Tree.d.ts → Tree/Tree.d.ts} +8 -7
  267. package/dist/widgets/views/Tree/Tree.d.ts.map +1 -0
  268. package/dist/widgets/views/Tree/index.d.ts +2 -0
  269. package/dist/widgets/views/Tree/index.d.ts.map +1 -0
  270. package/dist/widgets/views/Tree/treeComponents.d.ts +131 -0
  271. package/dist/widgets/views/Tree/treeComponents.d.ts.map +1 -0
  272. package/dist/widgets/views/searchFilter/DateRangePicker.d.ts +2 -3
  273. package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +1 -1
  274. package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts +2 -3
  275. package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts.map +1 -1
  276. package/dist/widgets/views/searchFilter/PairFields.d.ts +1 -1
  277. package/dist/widgets/views/searchFilter/PairFields.d.ts.map +1 -1
  278. package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts +3 -3
  279. package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts.map +1 -1
  280. package/dist/widgets/views/searchFilter/SearchField.d.ts +2 -3
  281. package/dist/widgets/views/searchFilter/SearchField.d.ts.map +1 -1
  282. package/dist/widgets/views/searchFilter/SearchFilter.d.ts +3 -4
  283. package/dist/widgets/views/searchFilter/SearchFilter.d.ts.map +1 -1
  284. package/dist/widgets/views/searchFilter/SearchParams.d.ts +1 -1
  285. package/dist/widgets/views/searchFilter/SearchParams.d.ts.map +1 -1
  286. package/package.json +108 -56
  287. package/dist/react-ooui.umd.js +0 -38
  288. package/dist/react-ooui.umd.js.map +0 -1
  289. package/dist/widgets/views/Tree.d.ts.map +0 -1
  290. package/src/ConnectionProvider.ts +0 -16
  291. package/src/__tests__/iconMapper.test.ts +0 -30
  292. package/src/__tests__/searchFilterHelper.spec.ts +0 -386
  293. package/src/actionbar/ActionButton.tsx +0 -40
  294. package/src/actionbar/AttachmentsButton.tsx +0 -130
  295. package/src/actionbar/AttachmentsButtonWrapper.tsx +0 -157
  296. package/src/actionbar/ButtonWithBadge.tsx +0 -42
  297. package/src/actionbar/ChangeViewButton.tsx +0 -137
  298. package/src/actionbar/DashboardActionBar.tsx +0 -67
  299. package/src/actionbar/DropdownButton.tsx +0 -61
  300. package/src/actionbar/FormActionBar.tsx +0 -485
  301. package/src/actionbar/GraphActionBar.tsx +0 -67
  302. package/src/actionbar/NewButton.tsx +0 -46
  303. package/src/actionbar/SearchBar.tsx +0 -73
  304. package/src/actionbar/TreeActionBar.tsx +0 -376
  305. package/src/common/ButtonWithTooltip.tsx +0 -18
  306. package/src/common/DatePicker.tsx +0 -99
  307. package/src/common/Field.tsx +0 -92
  308. package/src/context/ActionViewContext.tsx +0 -209
  309. package/src/context/ConfigContext.tsx +0 -9
  310. package/src/context/ContentRootContext.tsx +0 -454
  311. package/src/context/DashboardActionContext.tsx +0 -45
  312. package/src/context/FormContext.tsx +0 -79
  313. package/src/context/FormModalContext.tsx +0 -29
  314. package/src/context/LocaleContext.tsx +0 -50
  315. package/src/context/One2manyContext.tsx +0 -46
  316. package/src/context/TabManagerContext.tsx +0 -118
  317. package/src/helpers/containerHelper.ts +0 -145
  318. package/src/helpers/dynamicColumnsHelper.ts +0 -73
  319. package/src/helpers/errorHelper.ts +0 -27
  320. package/src/helpers/filesHelper.ts +0 -41
  321. package/src/helpers/formHelper.ts +0 -302
  322. package/src/helpers/iconMapper.ts +0 -164
  323. package/src/helpers/logInfoHelper.tsx +0 -28
  324. package/src/helpers/one2manyHelper.ts +0 -194
  325. package/src/helpers/searchHelper.ts +0 -193
  326. package/src/helpers/timeHelper.ts +0 -58
  327. package/src/helpers/treeHelper.ts +0 -204
  328. package/src/helpers/viewHelper.ts +0 -23
  329. package/src/hooks/useEffectDebugger.ts +0 -43
  330. package/src/hooks/useExport.ts +0 -438
  331. package/src/hooks/useFetchViews.ts +0 -0
  332. package/src/hooks/useSearch.ts +0 -434
  333. package/src/hooks/useWindowDimensions.ts +0 -33
  334. package/src/index.ts +0 -168
  335. package/src/locales/ca_ES.tsx +0 -98
  336. package/src/locales/en_US.tsx +0 -95
  337. package/src/locales/es_ES.tsx +0 -99
  338. package/src/stories/Binary.stories.tsx +0 -26
  339. package/src/stories/Boolean.stories.tsx +0 -25
  340. package/src/stories/Button.stories.tsx +0 -136
  341. package/src/stories/Char.stories.tsx +0 -52
  342. package/src/stories/FiberGrid.stories.tsx +0 -112
  343. package/src/stories/Float.stories.tsx +0 -25
  344. package/src/stories/FloatTime.stories.tsx +0 -35
  345. package/src/stories/Image.stories.tsx +0 -28
  346. package/src/stories/Integer.stories.tsx +0 -25
  347. package/src/stories/Label.stories.tsx +0 -103
  348. package/src/stories/Many2one.stories.tsx +0 -34
  349. package/src/stories/One2many.stories.tsx +0 -295
  350. package/src/stories/ProgressBar.stories.tsx +0 -25
  351. package/src/stories/Reference.stories.tsx +0 -46
  352. package/src/stories/Selection.stories.tsx +0 -37
  353. package/src/stories/Separator.stories.tsx +0 -57
  354. package/src/stories/Text.stories.tsx +0 -38
  355. package/src/stories/Time.stories.tsx +0 -32
  356. package/src/stories/Utils.stories.tsx +0 -16
  357. package/src/stories/containers/Group.stories.tsx +0 -90
  358. package/src/stories/containers/NewLine.stories.tsx +0 -56
  359. package/src/stories/containers/Notebook.stories.tsx +0 -199
  360. package/src/stories/custom/Avatar.stories.tsx +0 -27
  361. package/src/stories/custom/ButtonGroup.stories.tsx +0 -61
  362. package/src/stories/custom/CodeEditor.stories.tsx +0 -28
  363. package/src/stories/custom/Comments.stories.tsx +0 -190
  364. package/src/stories/custom/Indicator.stories.tsx +0 -44
  365. package/src/stories/custom/Markdown.stories.tsx +0 -42
  366. package/src/stories/custom/MultiCheckbox.stories.tsx +0 -55
  367. package/src/stories/custom/Radio.stories.tsx +0 -71
  368. package/src/stories/custom/Steps.stories.tsx +0 -41
  369. package/src/stories/custom/Switch.stories.tsx +0 -26
  370. package/src/stories/custom/Tag.stories.tsx +0 -60
  371. package/src/stories/custom/Tags.stories.tsx +0 -70
  372. package/src/stories/dashboard/Dashboard.stories.tsx +0 -23
  373. package/src/stories/dashboard/DashboardGrid.stories.tsx +0 -43
  374. package/src/stories/forms/ActivacioContracteForm.stories.tsx +0 -25
  375. package/src/stories/forms/Attachment.stories.tsx +0 -24
  376. package/src/stories/forms/CUPSForm.stories.tsx +0 -25
  377. package/src/stories/forms/Company.stories.tsx +0 -25
  378. package/src/stories/forms/CrmCaseForm.stories.tsx +0 -25
  379. package/src/stories/forms/Documents.stories.tsx +0 -25
  380. package/src/stories/forms/FormWithGridFiber.stories.tsx +0 -25
  381. package/src/stories/forms/FormWithLinks.stories.tsx +0 -31
  382. package/src/stories/forms/Lead.stories.tsx +0 -25
  383. package/src/stories/forms/ModContractForm.stories.tsx +0 -25
  384. package/src/stories/forms/PartnersForm.stories.tsx +0 -25
  385. package/src/stories/forms/PolissaForm.stories.tsx +0 -25
  386. package/src/stories/forms/PreferencesForm.stories.tsx +0 -696
  387. package/src/stories/forms/Signatures.stories.tsx +0 -25
  388. package/src/stories/forms/Switching.stories.tsx +0 -25
  389. package/src/stories/graphs/GraphIndicator.stories.tsx +0 -20
  390. package/src/stories/graphs/PieGraph.stories.tsx +0 -78
  391. package/src/stories/mocks/index.ts +0 -46
  392. package/src/stories/mocks/mockProvider.ts +0 -186
  393. package/src/stories/mocks/models/activacioContracte.ts +0 -112
  394. package/src/stories/mocks/models/attachment.ts +0 -1327
  395. package/src/stories/mocks/models/butlleti.ts +0 -344
  396. package/src/stories/mocks/models/company.ts +0 -137
  397. package/src/stories/mocks/models/crm_case.ts +0 -595
  398. package/src/stories/mocks/models/cups.ts +0 -920
  399. package/src/stories/mocks/models/document.ts +0 -225
  400. package/src/stories/mocks/models/factura.ts +0 -2727
  401. package/src/stories/mocks/models/form_with_gridfiber.ts +0 -143
  402. package/src/stories/mocks/models/hist_autoconsum.ts +0 -148
  403. package/src/stories/mocks/models/lead.ts +0 -2109
  404. package/src/stories/mocks/models/modcontractual.ts +0 -806
  405. package/src/stories/mocks/models/partner.ts +0 -1360
  406. package/src/stories/mocks/models/polissa.ts +0 -3133
  407. package/src/stories/mocks/models/res_partner_category.ts +0 -15
  408. package/src/stories/mocks/models/signatura.ts +0 -618
  409. package/src/stories/mocks/models/switching.ts +0 -769
  410. package/src/stories/modals/FormModal.stories.tsx +0 -36
  411. package/src/stories/modals/SearchModal.stories.tsx +0 -37
  412. package/src/stories/trees/FacturesTree.stories.tsx +0 -16
  413. package/src/stories/ui/ActionBar.stories.tsx +0 -24
  414. package/src/stories/ui/FavouriteButton.stories.tsx +0 -19
  415. package/src/stories/ui/GoToResourceModal.stories.tsx +0 -27
  416. package/src/stories/views/ActionView.stories.tsx +0 -28
  417. package/src/stories/views/SearchTree.stories.tsx +0 -1110
  418. package/src/stories/views/Tab.stories.tsx +0 -96
  419. package/src/stories/views/TabsAndContent.stories.tsx +0 -91
  420. package/src/stories/views/Tree.stories.jsx +0 -184
  421. package/src/stories/views/searchFilter/DateRangePicker.stories.tsx +0 -25
  422. package/src/stories/views/searchFilter/DateTimeRangePicker.stories.tsx +0 -26
  423. package/src/stories/views/searchFilter/PairFields.stories.tsx +0 -26
  424. package/src/stories/views/searchFilter/SearchFilter.stories.tsx +0 -169
  425. package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +0 -428
  426. package/src/tailwind.css +0 -8
  427. package/src/tailwind.generated.css +0 -168533
  428. package/src/types/index.ts +0 -391
  429. package/src/ui/ActionErrorDialog.tsx +0 -24
  430. package/src/ui/ConfirmDialog.tsx +0 -28
  431. package/src/ui/ErrorAlert.tsx +0 -37
  432. package/src/ui/FavouriteButton.tsx +0 -272
  433. package/src/ui/FormErrorsDialog.tsx +0 -17
  434. package/src/ui/GenericErrorDialog.tsx +0 -16
  435. package/src/ui/GoToResourceModal.tsx +0 -75
  436. package/src/ui/InfoDialog.tsx +0 -13
  437. package/src/ui/RefreshItemDialog.tsx +0 -29
  438. package/src/ui/RemoveItemDialog.tsx +0 -20
  439. package/src/ui/TitleHeader.tsx +0 -110
  440. package/src/ui/UnlinkItemDialog.tsx +0 -20
  441. package/src/ui/UnsavedChangesDialog.tsx +0 -29
  442. package/src/ui/WarningDialog.tsx +0 -17
  443. package/src/views/ActionView.tsx +0 -514
  444. package/src/views/CurrentTabContent.tsx +0 -21
  445. package/src/views/RootView.tsx +0 -510
  446. package/src/views/TabContent.tsx +0 -31
  447. package/src/views/TabSelector.tsx +0 -31
  448. package/src/views/Welcome.tsx +0 -18
  449. package/src/views/actionViews/DashboardActionView.tsx +0 -47
  450. package/src/views/actionViews/FormActionView.tsx +0 -70
  451. package/src/views/actionViews/GraphActionView.tsx +0 -152
  452. package/src/views/actionViews/TreeActionView.tsx +0 -87
  453. package/src/views/tabs/Tab.tsx +0 -82
  454. package/src/widgets/WidgetFactory.tsx +0 -142
  455. package/src/widgets/base/Binary.tsx +0 -145
  456. package/src/widgets/base/Boolean.tsx +0 -45
  457. package/src/widgets/base/Button.tsx +0 -77
  458. package/src/widgets/base/Char.tsx +0 -157
  459. package/src/widgets/base/Date.tsx +0 -12
  460. package/src/widgets/base/DateTime.tsx +0 -12
  461. package/src/widgets/base/Email.tsx +0 -27
  462. package/src/widgets/base/Float.tsx +0 -39
  463. package/src/widgets/base/FloatTime.tsx +0 -73
  464. package/src/widgets/base/Image.tsx +0 -120
  465. package/src/widgets/base/Integer.tsx +0 -56
  466. package/src/widgets/base/Label.tsx +0 -56
  467. package/src/widgets/base/LinkInput.tsx +0 -101
  468. package/src/widgets/base/MultiSelection.tsx +0 -91
  469. package/src/widgets/base/ProgressBar.tsx +0 -38
  470. package/src/widgets/base/Reference.tsx +0 -115
  471. package/src/widgets/base/ReferenceTree.tsx +0 -62
  472. package/src/widgets/base/Selection.tsx +0 -65
  473. package/src/widgets/base/Separator.tsx +0 -26
  474. package/src/widgets/base/Text.tsx +0 -162
  475. package/src/widgets/base/Time.tsx +0 -41
  476. package/src/widgets/base/Url.tsx +0 -26
  477. package/src/widgets/base/many2one/Many2one.tsx +0 -323
  478. package/src/widgets/base/many2one/Many2oneSuffix.tsx +0 -221
  479. package/src/widgets/base/many2one/Many2oneSuffixModal.tsx +0 -42
  480. package/src/widgets/base/many2one/Many2oneTree.tsx +0 -18
  481. package/src/widgets/base/one2many/One2many.tsx +0 -100
  482. package/src/widgets/base/one2many/One2manyInput.tsx +0 -724
  483. package/src/widgets/base/one2many/One2manyTopBar.tsx +0 -158
  484. package/src/widgets/containers/Container.tsx +0 -99
  485. package/src/widgets/containers/Group.tsx +0 -37
  486. package/src/widgets/containers/Notebook.tsx +0 -45
  487. package/src/widgets/custom/Avatar.tsx +0 -32
  488. package/src/widgets/custom/ButtonGroup.tsx +0 -166
  489. package/src/widgets/custom/CodeEditor.tsx +0 -28
  490. package/src/widgets/custom/Comments.tsx +0 -144
  491. package/src/widgets/custom/FiberGrid.tsx +0 -48
  492. package/src/widgets/custom/Indicator.tsx +0 -67
  493. package/src/widgets/custom/Markdown.tsx +0 -22
  494. package/src/widgets/custom/MultiCheckbox.tsx +0 -165
  495. package/src/widgets/custom/Radio.tsx +0 -49
  496. package/src/widgets/custom/Steps.tsx +0 -55
  497. package/src/widgets/custom/Switch.tsx +0 -30
  498. package/src/widgets/custom/Tag.tsx +0 -49
  499. package/src/widgets/custom/Tags.tsx +0 -164
  500. package/src/widgets/custom/Timeline.tsx +0 -196
  501. package/src/widgets/modals/ExportModal.tsx +0 -75
  502. package/src/widgets/modals/FormModal.tsx +0 -122
  503. package/src/widgets/modals/SearchModal.tsx +0 -130
  504. package/src/widgets/modals/TranslationModal.tsx +0 -202
  505. package/src/widgets/views/Dashboard/Dashboard.tsx +0 -381
  506. package/src/widgets/views/Dashboard/DashboardForm.tsx +0 -30
  507. package/src/widgets/views/Dashboard/DashboardTree.tsx +0 -236
  508. package/src/widgets/views/Dashboard/dashboardHelper.ts +0 -79
  509. package/src/widgets/views/DashboardGrid/DashboardGrid.tsx +0 -53
  510. package/src/widgets/views/DashboardGrid/DashboardGrid.types.ts +0 -4
  511. package/src/widgets/views/DashboardGrid/DashboardGridItem.tsx +0 -62
  512. package/src/widgets/views/DashboardGrid/DashboardGridItem.types.ts +0 -10
  513. package/src/widgets/views/DashboardGrid/index.ts +0 -4
  514. package/src/widgets/views/Form.tsx +0 -1153
  515. package/src/widgets/views/Graph/Graph.tsx +0 -145
  516. package/src/widgets/views/Graph/GraphChart.tsx +0 -113
  517. package/src/widgets/views/Graph/GraphDefaults.ts +0 -170
  518. package/src/widgets/views/Graph/GraphIndicator.tsx +0 -421
  519. package/src/widgets/views/Graph/useGraphData.tsx +0 -176
  520. package/src/widgets/views/SearchTree.tsx +0 -357
  521. package/src/widgets/views/Tree.tsx +0 -400
  522. package/src/widgets/views/searchFilter/DateRangePicker.tsx +0 -16
  523. package/src/widgets/views/searchFilter/DateTimeRangePicker.tsx +0 -63
  524. package/src/widgets/views/searchFilter/PairFields.tsx +0 -56
  525. package/src/widgets/views/searchFilter/SearchBottomBar.tsx +0 -58
  526. package/src/widgets/views/searchFilter/SearchField.tsx +0 -59
  527. package/src/widgets/views/searchFilter/SearchFilter.tsx +0 -159
  528. package/src/widgets/views/searchFilter/SearchParams.tsx +0 -32
@@ -1,769 +0,0 @@
1
- export default {
2
- model: "giscedata.switching.mod.con.wizard",
3
- exampleValues: {
4
- activacio_cicle: "L",
5
- bank: 101,
6
- change_atr: true,
7
- cnae: 986,
8
- con_name: "Eduard",
9
- con_sur1: "Carreras",
10
- con_sur2: "Nadal",
11
- con_type: "F",
12
- contact: 61,
13
- contract: 19,
14
- cups: "ES0112000000010754DC0F",
15
- delivery_type: "email",
16
- direccio_notificacio: 53,
17
- direccio_pagament: 53,
18
- dt_cie_electronico: "S",
19
- email: "ecarreras@gmail.com",
20
- generate_new_contract: "exists",
21
- mode_facturacio: "atr",
22
- num_periods: 3,
23
- owner: 61,
24
- owner_change_type: "S",
25
- owner_pre: 61,
26
- pagador: 61,
27
- payment_mode_id: 8,
28
- phone_num: "678965432",
29
- phone_pre: "34",
30
- power_invoicing: "1",
31
- power_p1: 5750.0,
32
- power_p2: 5750.0,
33
- proces: "M1",
34
- retail_tariff: 21,
35
- send_ae_measures: true,
36
- state: "init",
37
- tariff: "018",
38
- tipo_pago: 6,
39
- vat: "40351345F",
40
- vat_kind: "NI",
41
- },
42
- form: {
43
- arch:
44
- '<form string="Generar Cas amb Modificacio Contractual" col="2"><field name="change_adm" on_change="onchange_type(change_atr, change_adm, contract, generate_new_contract, new_contract, proces)"/><notebook><page string="Titular" attrs="{\'invisible\': [(\'change_adm\', \'!=\', True)]}">\r\n <group col="4" colspan="4" attrs="{\'invisible\': [(\'change_adm\', \'!=\', True)]}">\r\n <separator string="Titular" colspan="4"/>\r\n <field name="owner_change_type" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="vat" on_change="onchange_vat(vat, contract, owner, contact)" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="vat_kind" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="owner" on_change="onchange_owner(owner, owner_pre, contact, vat, contract)" attrs="{\'required\': [(\'change_adm\',\'=\',True)]}"/>\r\n <field name="owner_pre" invisible="1"/>\r\n </group>\r\n </page>\r\n <page string="Contacte">\r\n <group col="4" colspan="4">\r\n <separator string="Contacte" colspan="4"/>\r\n <field name="contact" on_change="onchange_contact(contact)"/>\r\n <field name="direccio_notificacio" colspan="4" domain="[(\'partner_id\', \'=\', contact)]" on_change="onchange_contact_dir(direccio_notificacio)"/>\r\n <field name="con_type"/>\r\n <field name="con_name" colspan="4" required="1"/>\r\n <field name="con_sur1" attrs="{\'readonly\':[(\'con_type\',\'=\',\'J\')], \'required\':[(\'con_type\',\'=\',\'F\')]}"/>\r\n <field name="con_sur2" attrs="{\'readonly\':[(\'con_type\',\'=\',\'J\')]}"/>\r\n <field name="phone_pre" required="1"/>\r\n <field name="phone_num" required="1"/>\r\n </group>\r\n </page></notebook></form>',
45
- field_parent: false,
46
- fields: {
47
- activacio_cicle: {
48
- required: true,
49
- selection: [
50
- ["A", "La activaci\u00f3n se debe producir cuanto antes"],
51
- [
52
- "L",
53
- "La activaci\u00f3n se debe producir con pr\u00f3xima lectura del ciclo",
54
- ],
55
- [
56
- "F",
57
- "La activaci\u00f3n se producir\u00e1 seg\u00fan la fecha fija solicitada",
58
- ],
59
- ],
60
- string: "Activaci\u00f3",
61
- type: "selection",
62
- views: {},
63
- },
64
- autoconsum: {
65
- selection: [
66
- ["31", "[31] - Sin Excedentes Individual \u2013 Consumo"],
67
- ["32", "[32] - Sin Excedentes Colectivo \u2013 Consumo"],
68
- [
69
- "33",
70
- "[33] - Sin Excedentes Colectivo con acuerdo de compensaci\u00f3n \u2013 Consumo",
71
- ],
72
- [
73
- "41",
74
- "[41] - Con excedentes y compensaci\u00f3n Individual - Consumo",
75
- ],
76
- [
77
- "42",
78
- "[42] - Con excedentes y compensaci\u00f3n Colectivo\u2013 Consumo",
79
- ],
80
- [
81
- "43",
82
- "[43] - Con excedentes y compensaci\u00f3n Colectivo a trav\u00e9s de red\u2013 Consumo",
83
- ],
84
- [
85
- "51",
86
- "[51] - Con excedentes sin compensaci\u00f3n Individual sin cto de SSAA en Red Interior\u2013 Consumo",
87
- ],
88
- [
89
- "52",
90
- "[52] - Con excedentes sin compensaci\u00f3n Colectivo sin cto de SSAA en Red Interior\u2013 Consumo",
91
- ],
92
- [
93
- "53",
94
- "[53] - Con excedentes sin compensaci\u00f3n Individual con cto SSAA en Red Interior\u2013 Consumo",
95
- ],
96
- [
97
- "54",
98
- "[54] - Con excedentes sin compensaci\u00f3n individual con cto SSAA en Red Interior\u2013 SSAA",
99
- ],
100
- [
101
- "55",
102
- "[55] - Con excedentes sin compensaci\u00f3n Colectivo/en Red Interior\u2013 Consumo",
103
- ],
104
- [
105
- "56",
106
- "[56] - Con excedentes sin compensaci\u00f3n Colectivo/en Red Interior - SSAA",
107
- ],
108
- [
109
- "61",
110
- "[61] - Con excedentes sin compensaci\u00f3n Individual con cto SSAA a trav\u00e9s de red \u2013 Consumo",
111
- ],
112
- [
113
- "62",
114
- "[62] - Con excedentes sin compensaci\u00f3n individual con cto SSAA a trav\u00e9s de red \u2013 SSAA",
115
- ],
116
- [
117
- "63",
118
- "[63] - Con excedentes sin compensaci\u00f3n Colectivo a trav\u00e9s de red \u2013 Consumo",
119
- ],
120
- [
121
- "64",
122
- "[64] - Con excedentes sin compensaci\u00f3n Colectivo a trav\u00e9s de red - SSAA",
123
- ],
124
- [
125
- "71",
126
- "[71] - Con excedentes sin compensaci\u00f3n Individual con cto SSAA a trav\u00e9s de red y red interior \u2013 Consumo",
127
- ],
128
- [
129
- "72",
130
- "[72] - Con excedentes sin compensaci\u00f3n individual con cto SSAA a trav\u00e9s de red y red interior \u2013 SSAA",
131
- ],
132
- [
133
- "73",
134
- "[73] - Con excedentes sin compensaci\u00f3n Colectivo con cto de SSAA a trav\u00e9s de red y red interior \u2013 Consumo",
135
- ],
136
- [
137
- "74",
138
- "[74] - Con excedentes sin compensaci\u00f3n Colectivo con cto de SSAA a trav\u00e9s de red y red interior - SSAA",
139
- ],
140
- [false, ""],
141
- ],
142
- string: "Tipus autoconsum",
143
- type: "selection",
144
- views: {},
145
- },
146
- bank: {
147
- context: "",
148
- domain: [],
149
- relation: "res.partner.bank",
150
- size: 64,
151
- string: "Compte bancari",
152
- type: "many2one",
153
- views: {},
154
- },
155
- change_adm: { string: "Canvi Titular", type: "boolean", views: {} },
156
- change_atr: {
157
- string: "Canvi Tarifa/Potencia",
158
- type: "boolean",
159
- views: {},
160
- },
161
- change_retail_tariff: {
162
- string: "Canvia Tarifa Comercialitzadora",
163
- type: "boolean",
164
- views: {},
165
- },
166
- check_introduir_lectures: {
167
- help:
168
- "Introdu\u00efr lectures en data determinada.\nAquestes lectures s'utilitzaran com a lectures finals del contracte antic al activar el M1 de canvi de titular",
169
- string: "Introdu\u00efr Lectures",
170
- type: "boolean",
171
- views: {},
172
- },
173
- cnae: {
174
- context: "",
175
- domain: [],
176
- relation: "giscemisc.cnae",
177
- size: 64,
178
- string: "CNAE",
179
- type: "many2one",
180
- views: {},
181
- },
182
- comments: { size: 120, string: "Comentari", type: "text", views: {} },
183
- con_name: { size: 256, string: "Nom", type: "char", views: {} },
184
- con_sur1: { size: 256, string: "Cognom 1", type: "char", views: {} },
185
- con_sur2: { size: 256, string: "Cognom 2", type: "char", views: {} },
186
- con_type: {
187
- selection: [
188
- ["F", "F\u00edsica"],
189
- ["J", "Jur\u00eddica"],
190
- ],
191
- string: "Tipus",
192
- type: "selection",
193
- views: {},
194
- },
195
- contact: {
196
- context: "",
197
- domain: [],
198
- relation: "res.partner",
199
- size: 64,
200
- string: "Contacte",
201
- type: "many2one",
202
- views: {},
203
- },
204
- contract: {
205
- context: "",
206
- domain: [],
207
- relation: "giscedata.polissa",
208
- size: 64,
209
- string: "Contracte",
210
- type: "many2one",
211
- views: {},
212
- },
213
- cups: { size: 22, string: "CUPS", type: "char", views: {} },
214
- data_accio: {
215
- string: "Data prevista del canvi o alta",
216
- type: "date",
217
- views: {},
218
- },
219
- delivery_type: {
220
- selection: [
221
- ["url", "Codi QR"],
222
- ["email", "Email"],
223
- ],
224
- string: "Forma d'enviament",
225
- type: "selection",
226
- views: {},
227
- },
228
- digital_sign: { string: "Firma digital", type: "boolean", views: {} },
229
- direccio_notificacio: {
230
- context: "",
231
- domain: [],
232
- relation: "res.partner.address",
233
- size: 64,
234
- string: "Adre\u00e7a notificaci\u00f3",
235
- type: "many2one",
236
- views: {},
237
- },
238
- direccio_pagament: {
239
- context: "",
240
- domain: [],
241
- relation: "res.partner.address",
242
- size: 64,
243
- string: "Adre\u00e7a fiscal",
244
- type: "many2one",
245
- views: {},
246
- },
247
- doc_add: { string: "Documents adjunts", type: "boolean", views: {} },
248
- docs_ids: {
249
- context: "",
250
- domain: [["type", "=", "neogeo"]],
251
- relation: "giscedata.switching.document",
252
- string: "Documents adjunts",
253
- type: "many2many",
254
- views: {},
255
- },
256
- dt_add: {
257
- string: "Documentacio T\u00e8cnica",
258
- type: "boolean",
259
- views: {},
260
- },
261
- dt_cie_codigo: {
262
- size: 11,
263
- string: "C\u00f3digo CIE",
264
- type: "char",
265
- views: {},
266
- },
267
- dt_cie_electronico: {
268
- selection: [
269
- ["S", "Si"],
270
- ["N", "No"],
271
- ],
272
- string: "Cie Electronico",
273
- type: "selection",
274
- views: {},
275
- },
276
- dt_cie_papel_data_caducitat: {
277
- string: "Data Caducitat",
278
- type: "date",
279
- views: {},
280
- },
281
- dt_cie_papel_data_emissio: {
282
- string: "Data Emissi\u00f3",
283
- type: "date",
284
- views: {},
285
- },
286
- dt_cie_papel_potenciainstbt: {
287
- string: "Pot\u00e8ncia Instalada",
288
- type: "integer",
289
- views: {},
290
- },
291
- dt_cie_papel_tensio_suministre: {
292
- selection: [
293
- ["01", "1X220"],
294
- ["02", "1X230"],
295
- ["03", "3X380"],
296
- ["04", "3X380/220"],
297
- ["05", "3X400"],
298
- ["06", "3X400/230"],
299
- ["07", "1X127"],
300
- ["08", "1X133"],
301
- ["09", "2X220"],
302
- ["10", "2X230"],
303
- ["11", "3X220"],
304
- ["12", "3X220/127"],
305
- ["13", "3X230"],
306
- ["14", "3X230/133"],
307
- ["15", "5.000"],
308
- ["16", "6.000"],
309
- ["17", "7.200"],
310
- ["18", "8.000"],
311
- ["19", "10.000"],
312
- ["20", "11.000"],
313
- ["21", "12.000"],
314
- ["22", "13.000"],
315
- ["23", "13.200"],
316
- ["24", "15.000"],
317
- ["25", "16.500"],
318
- ["26", "17.000"],
319
- ["27", "20.000"],
320
- ["28", "22.000"],
321
- ["29", "25.000"],
322
- ["30", "26.500"],
323
- ["31", "30.000"],
324
- ["32", "36.000"],
325
- ["33", "44.000"],
326
- ["34", "45.000"],
327
- ["35", "66.000"],
328
- ["36", "110.000"],
329
- ["37", "132.000"],
330
- ["38", "220.000"],
331
- ["39", "400.000"],
332
- ["40", "1200"],
333
- ["41", "2000"],
334
- ["42", "5500"],
335
- ["43", "55000"],
336
- ["44", "130000"],
337
- ["45", "100"],
338
- ["46", "150"],
339
- ["47", "3x100"],
340
- ["48", "3x150/260"],
341
- ["49", "3x260"],
342
- ["99", "Otra tensi\u00f3n obsoleta"],
343
- ],
344
- string: "Tensi\u00f3 suministre",
345
- type: "selection",
346
- views: {},
347
- },
348
- dt_cie_papel_tipus_suministre: {
349
- selection: [
350
- ["AL", "Almac\u00e9n"],
351
- ["AP", "Alumbrado publico"],
352
- ["AS", "Ascensores"],
353
- ["AT", "Antena Telefon\u00eda M\u00f3vil"],
354
- ["BA", "Bater\u00eda de acumuladores"],
355
- ["CM", "Centro de Maniobra y Control"],
356
- ["EA", "Escalera-Ascensor"],
357
- ["ES", "Escalera"],
358
- ["FT", "Fabrica y Talleres sin Riesgo Especifico"],
359
- ["FV", "Inst. Fotovoltaica"],
360
- ["GA", "Garaje"],
361
- ["GB", "Grupo Bombeo, Riego por Goteo"],
362
- ["HP", "Loc.H\u00famedos con Riesgo Corrosi\u00f3n o Polv."],
363
- ["IN", "Nave industrial"],
364
- ["IT", "Instalaci\u00f3n Temporal en Emplazam.Abierto"],
365
- ["KC", "Kioskos / cabinas tfno"],
366
- ["LB", "Locales a Baja Temperatura"],
367
- ["LC", "Local comercial"],
368
- ["OF", "Oficina"],
369
- ["PC", "Publica concurrencia"],
370
- ["RA", "Refugio o Albergue Agr\u00edcola"],
371
- ["RT", "Repetidor de Televisi\u00f3n"],
372
- ["SA", "Servicios Auxiliares"],
373
- ["SC", "Sumtro complementario"],
374
- ["SE", "Sumtro eventual"],
375
- ["SG", "Servicio general vivienda"],
376
- ["SM", "Sem\u00e1foro"],
377
- ["SO", "Sumtro obras"],
378
- ["TL", "Telecomunicaciones"],
379
- ["TR", "Trastero"],
380
- ["UF", "Uso finca"],
381
- ["UV", "Usos Varios"],
382
- ["VI", "Vivienda"],
383
- ],
384
- string: "Tipus Suministre",
385
- type: "selection",
386
- views: {},
387
- },
388
- dt_cie_sello_elec: {
389
- size: 35,
390
- string: "Segell Electr\u00f3nic",
391
- type: "char",
392
- views: {},
393
- },
394
- dt_codi_instalador: {
395
- size: 9,
396
- string: "Codi instal\u00b7lador",
397
- type: "char",
398
- views: {},
399
- },
400
- dt_tipus_codi_instalador: {
401
- selection: [
402
- ["nif", "NIF"],
403
- ["codigo", "C\u00f3digo"],
404
- ],
405
- string: "Tipus codi Instal\u00b7lador",
406
- type: "selection",
407
- views: {},
408
- },
409
- email: { size: 256, string: "E-mail", type: "char", views: {} },
410
- generate_new_contract: {
411
- selection: [
412
- ["create", "Crear nou contracte en borrador"],
413
- ["exists", "Utilitzar contracte existent"],
414
- ],
415
- string: "Contracte nou",
416
- type: "selection",
417
- views: {},
418
- },
419
- info: { string: "Info", type: "text", views: {} },
420
- measure_ae_p1: { string: "Lectura P1", type: "integer", views: {} },
421
- measure_ae_p2: { string: "Lectura P2", type: "integer", views: {} },
422
- measure_ae_p3: { string: "Lectura P3", type: "integer", views: {} },
423
- measure_ae_p4: { string: "Lectura P4", type: "integer", views: {} },
424
- measure_ae_p5: { string: "Lectura P5", type: "integer", views: {} },
425
- measure_ae_p6: { string: "Lectura P6", type: "integer", views: {} },
426
- measure_date: { string: "Data lectures", type: "date", views: {} },
427
- measure_ep_p1: { string: "Exc\u00e9s P1", type: "integer", views: {} },
428
- measure_ep_p2: { string: "Exc\u00e9s P2", type: "integer", views: {} },
429
- measure_ep_p3: { string: "Exc\u00e9s P3", type: "integer", views: {} },
430
- measure_ep_p4: { string: "Exc\u00e9s P4", type: "integer", views: {} },
431
- measure_ep_p5: { string: "Exc\u00e9s P5", type: "integer", views: {} },
432
- measure_ep_p6: { string: "Exc\u00e9s P6", type: "integer", views: {} },
433
- measure_pm_p1: {
434
- string: "Max\u00edmetre P1",
435
- type: "integer",
436
- views: {},
437
- },
438
- measure_pm_p2: {
439
- string: "Max\u00edmetre P2",
440
- type: "integer",
441
- views: {},
442
- },
443
- measure_pm_p3: {
444
- string: "Max\u00edmetre P3",
445
- type: "integer",
446
- views: {},
447
- },
448
- measure_pm_p4: {
449
- string: "Max\u00edmetre P4",
450
- type: "integer",
451
- views: {},
452
- },
453
- measure_pm_p5: {
454
- string: "Max\u00edmetre P5",
455
- type: "integer",
456
- views: {},
457
- },
458
- measure_pm_p6: {
459
- string: "Max\u00edmetre P6",
460
- type: "integer",
461
- views: {},
462
- },
463
- measure_r1_p1: { string: "Reactiva P1", type: "integer", views: {} },
464
- measure_r1_p2: { string: "Reactiva P2", type: "integer", views: {} },
465
- measure_r1_p3: { string: "Reactiva P3", type: "integer", views: {} },
466
- measure_r1_p4: { string: "Reactiva P4", type: "integer", views: {} },
467
- measure_r1_p5: { string: "Reactiva P5", type: "integer", views: {} },
468
- measure_r1_p6: { string: "Reactiva P6", type: "integer", views: {} },
469
- mod_autoconsum: { string: "Modificar", type: "boolean", views: {} },
470
- mode_facturacio: {
471
- selection: [["atr", "ATR"]],
472
- string: "Mode facturaci\u00f3",
473
- type: "selection",
474
- views: {},
475
- },
476
- new_contract: {
477
- context: "",
478
- domain: [],
479
- relation: "giscedata.polissa",
480
- size: 64,
481
- string: "Contracte Nou",
482
- type: "many2one",
483
- views: {},
484
- },
485
- num_periods: { string: "Num. Per\u00edodes", type: "integer", views: {} },
486
- owner: {
487
- context: "",
488
- domain: [],
489
- relation: "res.partner",
490
- size: 64,
491
- string: "Nou Titular",
492
- type: "many2one",
493
- views: {},
494
- },
495
- owner_change_type: {
496
- selection: [
497
- ["T", "Cambio de titular por traspaso"],
498
- ["S", "Cambio de titular por subrogaci\u00f3n"],
499
- [
500
- "A",
501
- "Cambio datos administrativos (excepto cambio de titular y correcci\u00f3n de datos identificativos del cliente)",
502
- ],
503
- ["C", "Correcci\u00f3n datos que identifican al cliente"],
504
- [
505
- "P",
506
- "La solicitud implica cambio en la periodicidad de la facturaci\u00f3n",
507
- ],
508
- [
509
- "R",
510
- "Modificaci\u00f3n acuerdo de reparto de un autoconsumo colectivo",
511
- ],
512
- ],
513
- string: "Tipus de canvi",
514
- type: "selection",
515
- views: {},
516
- },
517
- owner_pre: {
518
- context: "",
519
- domain: [],
520
- relation: "res.partner",
521
- size: 64,
522
- string: "Ultim titular triat",
523
- type: "many2one",
524
- views: {},
525
- },
526
- pagador: {
527
- context: "",
528
- domain: [],
529
- relation: "res.partner",
530
- size: 64,
531
- string: "Ra\u00f3 fiscal",
532
- type: "many2one",
533
- views: {},
534
- },
535
- payment_mode_id: {
536
- context: "",
537
- domain: [],
538
- relation: "payment.mode",
539
- size: 64,
540
- string: "Grup de pagament",
541
- type: "many2one",
542
- views: {},
543
- },
544
- phone_num: { size: 9, string: "Tel\u00e8fon", type: "char", views: {} },
545
- phone_pre: { size: 2, string: "Prefix", type: "char", views: {} },
546
- power_invoicing: {
547
- selection: [
548
- ["1", "ICP"],
549
- ["2", "Max\u00edmetro"],
550
- ],
551
- string: "MCP",
552
- type: "selection",
553
- views: {},
554
- },
555
- power_p1: { string: "P1", type: "integer", views: {} },
556
- power_p2: { string: "P2", type: "integer", views: {} },
557
- power_p3: { string: "P3", type: "integer", views: {} },
558
- power_p4: { string: "P4", type: "integer", views: {} },
559
- power_p5: { string: "P5", type: "integer", views: {} },
560
- power_p6: { string: "P6", type: "integer", views: {} },
561
- proces: {
562
- change_default: true,
563
- selection: [
564
- ["M1", "M1 - Modificaci\u00f3 contractual"],
565
- ["C2", "C2 - Canvi de comercialitzadora amb canvis"],
566
- ],
567
- string: "Cas",
568
- type: "selection",
569
- views: {},
570
- },
571
- retail_tariff: {
572
- context: "",
573
- domain: [["type", "=", "sale"]],
574
- relation: "product.pricelist",
575
- size: 64,
576
- string: "Tarifa Comercializaci\u00f3n",
577
- type: "many2one",
578
- views: {},
579
- },
580
- send_ae_measures: {
581
- help: "Marcar per afegir les lectures d'Activa",
582
- readonly: true,
583
- string: "Amb activa",
584
- type: "boolean",
585
- views: {},
586
- },
587
- send_ep_measures: {
588
- help: "Marcar per afegir les lectures d'Ex\u00e9s",
589
- string: "Amb exc\u00e9s",
590
- type: "boolean",
591
- views: {},
592
- },
593
- send_pm_measures: {
594
- help: "Marcar per afegir les lectures de Max\u00edmetre",
595
- string: "Amb max\u00edmetre",
596
- type: "boolean",
597
- views: {},
598
- },
599
- send_r1_measures: {
600
- help: "Marcar per afegir les lectures de Reactiva",
601
- string: "Amb reactiva",
602
- type: "boolean",
603
- views: {},
604
- },
605
- skip_validations: {
606
- string: "Saltar validacions",
607
- type: "boolean",
608
- views: {},
609
- },
610
- solicitud_tensio: {
611
- selection: [
612
- ["", ""],
613
- ["01", "1X220"],
614
- ["02", "1X230"],
615
- ["03", "3X380"],
616
- ["04", "3X380/220"],
617
- ["05", "3X400"],
618
- ["06", "3X400/230"],
619
- ["07", "1X127"],
620
- ["08", "1X133"],
621
- ["09", "2X220"],
622
- ["10", "2X230"],
623
- ["11", "3X220"],
624
- ["12", "3X220/127"],
625
- ["13", "3X230"],
626
- ["14", "3X230/133"],
627
- ["15", "5.000"],
628
- ["16", "6.000"],
629
- ["17", "7.200"],
630
- ["18", "8.000"],
631
- ["19", "10.000"],
632
- ["20", "11.000"],
633
- ["21", "12.000"],
634
- ["22", "13.000"],
635
- ["23", "13.200"],
636
- ["24", "15.000"],
637
- ["25", "16.500"],
638
- ["26", "17.000"],
639
- ["27", "20.000"],
640
- ["28", "22.000"],
641
- ["29", "25.000"],
642
- ["30", "26.500"],
643
- ["31", "30.000"],
644
- ["32", "36.000"],
645
- ["33", "44.000"],
646
- ["34", "45.000"],
647
- ["35", "66.000"],
648
- ["36", "110.000"],
649
- ["37", "132.000"],
650
- ["38", "220.000"],
651
- ["39", "400.000"],
652
- ["40", "1200"],
653
- ["41", "2000"],
654
- ["42", "5500"],
655
- ["43", "55000"],
656
- ["44", "130000"],
657
- ["45", "100"],
658
- ["46", "150"],
659
- ["47", "3x100"],
660
- ["48", "3x150/260"],
661
- ["49", "3x260"],
662
- ["99", "Otra tensi\u00f3n obsoleta"],
663
- ],
664
- string: "Tensi\u00f3 Sol.licitada",
665
- type: "selection",
666
- views: {},
667
- },
668
- state: {
669
- selection: [
670
- ["init", "Init"],
671
- ["end", "End"],
672
- ],
673
- string: "State",
674
- type: "selection",
675
- views: {},
676
- },
677
- tariff: {
678
- selection: [
679
- ["001", "2.0A"],
680
- ["004", "2.0DHA"],
681
- ["007", "2.0DHS"],
682
- ["018", "2.0TD"],
683
- ["005", "2.1A"],
684
- ["006", "2.1DHA"],
685
- ["008", "2.1DHS"],
686
- ["003", "3.0A"],
687
- ["019", "3.0TD"],
688
- ["024", "3.0TDVE"],
689
- ["011", "3.1A"],
690
- ["012", "6.1A"],
691
- ["017", "6.1B"],
692
- ["020", "6.1TD"],
693
- ["025", "6.1TDVE"],
694
- ["013", "6.2"],
695
- ["021", "6.2TD"],
696
- ["014", "6.3"],
697
- ["022", "6.3TD"],
698
- ["015", "6.4"],
699
- ["023", "6.4TD"],
700
- ["016", "6.5"],
701
- ],
702
- string: "Tarifa ATR",
703
- type: "selection",
704
- views: {},
705
- },
706
- tipo_pago: {
707
- context: "",
708
- domain: [],
709
- relation: "payment.type",
710
- size: 64,
711
- string: "Tipo de pago",
712
- type: "many2one",
713
- views: {},
714
- },
715
- vat: {
716
- size: 11,
717
- string: "N\u00famero de Document",
718
- type: "char",
719
- views: {},
720
- },
721
- vat_kind: {
722
- selection: [
723
- ["NI", "NIF"],
724
- ["NV", "N.I.V.A"],
725
- ["OT", "Otro"],
726
- ["PS", "Pasaporte"],
727
- ["NE", "NIE"],
728
- ],
729
- string: "Tipus de document",
730
- type: "selection",
731
- views: {},
732
- },
733
- },
734
- model: "giscedata.switching.mod.con.wizard",
735
- name: "giscedata.switching.mod.con.wizard.form",
736
- search_fields: { primary: [], secondary: [] },
737
- toolbar: {
738
- action: [],
739
- print: [],
740
- relate: [
741
- {
742
- auto_refresh: 0,
743
- context: "{'active_test': False}",
744
- domain: "[('id', '=', active_id)]",
745
- groups_id: [],
746
- id: -1,
747
- limit: 0,
748
- name: "giscedata.switching.mod.con.wizard",
749
- res_model: "giscedata.switching.mod.con.wizard",
750
- src_model: "giscedata.switching.mod.con.wizard",
751
- string: "giscedata.switching.mod.con.wizard",
752
- target: "current",
753
- type: "ir.actions.act_window",
754
- usage: "",
755
- view_id: false,
756
- view_ids: [],
757
- view_mode: "tree,form",
758
- view_type: "form",
759
- views: [
760
- [false, "tree"],
761
- [false, "form"],
762
- ],
763
- },
764
- ],
765
- },
766
- type: "form",
767
- view_id: 1801,
768
- },
769
- };