@controleonline/ui-default 1.0.263 → 1.0.265

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 (61) hide show
  1. package/AGENTS.md +47 -45
  2. package/package.json +20 -20
  3. package/src/react/components/errors/DefaultErrors.js +307 -325
  4. package/src/react/components/files/DefaultFile.js +46 -46
  5. package/src/react/components/filters/CompactFilterSelector.js +78 -24
  6. package/src/react/components/filters/CompactFilterSelector.styles.js +17 -5
  7. package/src/react/components/filters/DefaultColumnFilter.js +191 -57
  8. package/src/react/components/filters/DefaultExternalFilters.js +245 -182
  9. package/src/react/components/filters/DefaultSearch.js +131 -92
  10. package/src/react/components/filters/DefaultSearch.styles.js +65 -70
  11. package/src/react/components/form/DefaultForm.js +172 -151
  12. package/src/react/components/form/DefaultForm.styles.js +71 -66
  13. package/src/react/components/help/DefaultTooltip.js +87 -87
  14. package/src/react/components/help/DefaultTooltip.styles.js +61 -61
  15. package/src/react/components/inputs/DefaultDateInput.js +150 -0
  16. package/src/react/components/inputs/DefaultInput.js +162 -127
  17. package/src/react/components/inputs/DefaultInput.styles.js +6 -0
  18. package/src/react/components/inputs/DefaultSelect.js +320 -152
  19. package/src/react/components/inputs/defaultInputUtils.js +40 -19
  20. package/src/react/components/map/DefaultGoogleMap.styles.js +115 -9
  21. package/src/react/components/map/DefaultGoogleMap.web.js +560 -446
  22. package/src/react/components/map/DefaultMap.native.js +73 -71
  23. package/src/react/components/map/DefaultMap.styles.js +16 -16
  24. package/src/react/components/map/DefaultMap.web.js +68 -66
  25. package/src/react/components/map/DefaultNativeMap.native.js +307 -183
  26. package/src/react/components/map/DefaultNativeMap.shared.js +439 -340
  27. package/src/react/components/map/DefaultNativeMap.styles.js +156 -122
  28. package/src/react/components/table/DefaultColumnMenu.js +108 -0
  29. package/src/react/components/table/DefaultDebug.js +233 -0
  30. package/src/react/components/table/DefaultFiltersModal.js +142 -0
  31. package/src/react/components/table/DefaultModalButton.js +18 -0
  32. package/src/react/components/table/DefaultSearchModal.js +49 -0
  33. package/src/react/components/table/DefaultTable.js +345 -1846
  34. package/src/react/components/table/DefaultTable.styles.js +247 -136
  35. package/src/react/components/table/DefaultTable.utils.js +502 -0
  36. package/src/react/components/table/DefaultTableBody.js +26 -0
  37. package/src/react/components/table/DefaultTableCards.js +171 -0
  38. package/src/react/components/table/DefaultTableControls.js +208 -0
  39. package/src/react/components/table/DefaultTableEmptyState.js +22 -0
  40. package/src/react/components/table/DefaultTableFooter.js +172 -0
  41. package/src/react/components/table/DefaultTableInput.js +145 -0
  42. package/src/react/components/table/DefaultTableRows.js +340 -0
  43. package/src/react/components/table/DefaultTableSearch.js +100 -0
  44. package/src/react/components/table/DefaultTableToolbar.js +98 -0
  45. package/src/react/components/table/DefaultToolbarAction.js +56 -0
  46. package/src/react/components/table/useDefaultTablePagination.js +370 -0
  47. package/src/react/components/table/useDefaultTableSorting.js +126 -0
  48. package/src/react/components/table/useDefaultTableTheme.js +58 -0
  49. package/src/react/index.js +10 -10
  50. package/src/react/utils/tableVisibleColumnsPreferences.js +239 -211
  51. package/src/store/default/actions.js +51 -13
  52. package/src/store/default/getters.js +10 -8
  53. package/src/store/default/mutation_types.js +4 -2
  54. package/src/store/default/mutations.js +10 -1
  55. package/src/tests/react/components/errors/DefaultErrors.test.js +162 -162
  56. package/src/tests/react/components/files/DefaultFile.test.js +80 -80
  57. package/src/tests/react/components/form/DefaultForm.test.js +81 -0
  58. package/src/tests/react/components/inputs/DefaultSelect.test.js +185 -0
  59. package/src/tests/react/components/table/DefaultTable.test.js +1183 -0
  60. package/src/tests/react/store/defaultActions.test.js +59 -0
  61. package/src/tests/react/utils/tableVisibleColumnsPreferences.test.js +247 -168
@@ -1,9 +1,115 @@
1
- import {StyleSheet} from 'react-native';
2
-
3
- export default StyleSheet.create({
4
- mapViewport: {
5
- width: '100%',
6
- height: '100%',
7
- backgroundColor: '#E5EEF5',
8
- },
9
- });
1
+ import {StyleSheet} from 'react-native';
2
+
3
+ export default StyleSheet.create({
4
+ mapRoot: {
5
+ flex: 1,
6
+ position: 'relative',
7
+ },
8
+ mapViewport: {
9
+ flex: 1,
10
+ backgroundColor: '#E5EEF5',
11
+ },
12
+ popupOverlay: {
13
+ ...StyleSheet.absoluteFillObject,
14
+ alignItems: 'center',
15
+ justifyContent: 'center',
16
+ paddingHorizontal: 16,
17
+ paddingVertical: 16,
18
+ },
19
+ popupCard: {
20
+ width: '100%',
21
+ maxWidth: 420,
22
+ borderRadius: 24,
23
+ paddingHorizontal: 20,
24
+ paddingTop: 18,
25
+ paddingBottom: 20,
26
+ shadowOffset: {
27
+ width: 0,
28
+ height: 18,
29
+ },
30
+ shadowOpacity: 0.18,
31
+ shadowRadius: 28,
32
+ elevation: 12,
33
+ },
34
+ popupHeaderRow: {
35
+ flexDirection: 'row',
36
+ alignItems: 'center',
37
+ marginBottom: 14,
38
+ },
39
+ popupLogoWrap: {
40
+ width: 58,
41
+ height: 58,
42
+ borderRadius: 16,
43
+ overflow: 'hidden',
44
+ borderWidth: 1,
45
+ alignItems: 'center',
46
+ justifyContent: 'center',
47
+ backgroundColor: '#FFFFFF',
48
+ flexShrink: 0,
49
+ marginRight: 12,
50
+ },
51
+ popupLogoImage: {
52
+ width: '100%',
53
+ height: '100%',
54
+ },
55
+ popupTitleWrap: {
56
+ flex: 1,
57
+ minWidth: 0,
58
+ marginRight: 8,
59
+ },
60
+ popupTitle: {
61
+ fontSize: 18,
62
+ lineHeight: 22,
63
+ fontWeight: '800',
64
+ },
65
+ popupCloseButton: {
66
+ width: 40,
67
+ height: 40,
68
+ borderRadius: 20,
69
+ alignItems: 'center',
70
+ justifyContent: 'center',
71
+ flexShrink: 0,
72
+ },
73
+ popupCloseText: {
74
+ fontSize: 28,
75
+ lineHeight: 30,
76
+ fontWeight: '400',
77
+ },
78
+ popupLine: {
79
+ fontSize: 15,
80
+ lineHeight: 22,
81
+ fontWeight: '600',
82
+ marginBottom: 4,
83
+ },
84
+ popupInfoCard: {
85
+ borderWidth: 1,
86
+ borderRadius: 18,
87
+ paddingHorizontal: 16,
88
+ paddingVertical: 14,
89
+ },
90
+ popupSummary: {
91
+ marginTop: 10,
92
+ fontSize: 14,
93
+ lineHeight: 20,
94
+ fontWeight: '700',
95
+ },
96
+ popupActionsRow: {
97
+ flexDirection: 'row',
98
+ marginTop: 18,
99
+ marginHorizontal: -5,
100
+ },
101
+ popupActionButton: {
102
+ flex: 1,
103
+ minHeight: 52,
104
+ borderRadius: 999,
105
+ alignItems: 'center',
106
+ justifyContent: 'center',
107
+ paddingHorizontal: 16,
108
+ marginHorizontal: 5,
109
+ },
110
+ popupActionText: {
111
+ fontSize: 16,
112
+ lineHeight: 20,
113
+ fontWeight: '800',
114
+ },
115
+ });