mautourco-components 0.2.133 → 0.2.135

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.
@@ -98,10 +98,8 @@ var DateTimePicker = function (_a) {
98
98
  }
99
99
  }, [onValueChange, selectionMode]);
100
100
  useEffect(function () {
101
- var _a;
102
101
  setValue(parseDefaultValue.value);
103
102
  setSelectedDateRange(parseDefaultValue.dateRange);
104
- setDefaultMonth((_a = parseDefaultValue.dateRange) === null || _a === void 0 ? void 0 : _a.from);
105
103
  }, [parseDefaultValue]);
106
104
  // Scroll to input when calendar opens (if scrollOnOpen is true)
107
105
  useEffect(function () {
@@ -28,7 +28,7 @@ export var quotationColumns = function (_a) {
28
28
  },
29
29
  {
30
30
  header: 'Client name',
31
- key: 'agency_name',
31
+ key: 'created_by',
32
32
  width: 150,
33
33
  cell: function (value, _raw, _index, childIndex) {
34
34
  if (value === void 0) { value = ''; }
@@ -75,7 +75,7 @@ export var quotationColumns = function (_a) {
75
75
  },
76
76
  {
77
77
  header: 'Created by',
78
- key: 'created_by',
78
+ key: 'agency_name',
79
79
  width: 160,
80
80
  cell: function (value, raw) { return (_jsxs(_Fragment, { children: [_jsxs(Text, { variant: "medium", size: "sm", leading: "4", children: [raw.file_name, ","] }), _jsx(Text, { variant: "bold", size: "sm", leading: "4", children: value })] })); },
81
81
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mautourco-components",
3
- "version": "0.2.133",
3
+ "version": "0.2.135",
4
4
  "private": false,
5
5
  "description": "Bibliothèque de composants Mautourco pour le redesign",
6
6
  "main": "dist/index.js",
@@ -150,7 +150,6 @@ const DateTimePicker: React.FC<DateTimePickerProps> = ({
150
150
  useEffect(() => {
151
151
  setValue(parseDefaultValue.value);
152
152
  setSelectedDateRange(parseDefaultValue.dateRange);
153
- setDefaultMonth(parseDefaultValue.dateRange?.from);
154
153
  }, [parseDefaultValue]);
155
154
 
156
155
  // Scroll to input when calendar opens (if scrollOnOpen is true)
@@ -54,7 +54,7 @@ export const quotationColumns: (params: {
54
54
  },
55
55
  {
56
56
  header: 'Client name',
57
- key: 'agency_name',
57
+ key: 'created_by',
58
58
  width: 150,
59
59
  cell: (value = '', _raw, _index, childIndex) => {
60
60
  if (childIndex === undefined) {
@@ -136,7 +136,7 @@ export const quotationColumns: (params: {
136
136
  },
137
137
  {
138
138
  header: 'Created by',
139
- key: 'created_by',
139
+ key: 'agency_name',
140
140
  width: 160,
141
141
  cell: (value, raw) => (
142
142
  <>