@natoora-libs/core 0.2.27-dev-doug-2 → 0.2.28
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/dist/chunk-N3IUZVB7.js +21 -0
- package/dist/chunk-N3IUZVB7.js.map +1 -0
- package/dist/components/index.cjs +29 -91
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +31 -47
- package/dist/components/index.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/utils/index.cjs +2 -49
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +1 -13
- package/dist/utils/index.d.ts +1 -13
- package/dist/utils/index.js +3 -5
- package/package.json +3 -3
- package/dist/chunk-3UDYWCV6.js +0 -67
- package/dist/chunk-3UDYWCV6.js.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -7,17 +7,16 @@ import {
|
|
|
7
7
|
isDarkModeEnabled
|
|
8
8
|
} from "../chunk-CKW5LT7K.js";
|
|
9
9
|
import {
|
|
10
|
-
getFlattenedFiltersLabels
|
|
11
|
-
|
|
12
|
-
} from "../chunk-3UDYWCV6.js";
|
|
10
|
+
getFlattenedFiltersLabels
|
|
11
|
+
} from "../chunk-N3IUZVB7.js";
|
|
13
12
|
import {
|
|
14
13
|
__commonJS,
|
|
15
14
|
__toESM
|
|
16
15
|
} from "../chunk-5WRI5ZAA.js";
|
|
17
16
|
|
|
18
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
17
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js
|
|
19
18
|
var require_isObject = __commonJS({
|
|
20
|
-
"../node_modules/.pnpm/lodash@4.
|
|
19
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js"(exports, module) {
|
|
21
20
|
function isObject(value) {
|
|
22
21
|
var type = typeof value;
|
|
23
22
|
return value != null && (type == "object" || type == "function");
|
|
@@ -26,17 +25,17 @@ var require_isObject = __commonJS({
|
|
|
26
25
|
}
|
|
27
26
|
});
|
|
28
27
|
|
|
29
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
28
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js
|
|
30
29
|
var require_freeGlobal = __commonJS({
|
|
31
|
-
"../node_modules/.pnpm/lodash@4.
|
|
30
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js"(exports, module) {
|
|
32
31
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
33
32
|
module.exports = freeGlobal;
|
|
34
33
|
}
|
|
35
34
|
});
|
|
36
35
|
|
|
37
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
36
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js
|
|
38
37
|
var require_root = __commonJS({
|
|
39
|
-
"../node_modules/.pnpm/lodash@4.
|
|
38
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js"(exports, module) {
|
|
40
39
|
var freeGlobal = require_freeGlobal();
|
|
41
40
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
42
41
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -44,9 +43,9 @@ var require_root = __commonJS({
|
|
|
44
43
|
}
|
|
45
44
|
});
|
|
46
45
|
|
|
47
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
46
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js
|
|
48
47
|
var require_now = __commonJS({
|
|
49
|
-
"../node_modules/.pnpm/lodash@4.
|
|
48
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js"(exports, module) {
|
|
50
49
|
var root = require_root();
|
|
51
50
|
var now = function() {
|
|
52
51
|
return root.Date.now();
|
|
@@ -55,9 +54,9 @@ var require_now = __commonJS({
|
|
|
55
54
|
}
|
|
56
55
|
});
|
|
57
56
|
|
|
58
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
57
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js
|
|
59
58
|
var require_trimmedEndIndex = __commonJS({
|
|
60
|
-
"../node_modules/.pnpm/lodash@4.
|
|
59
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
|
|
61
60
|
var reWhitespace = /\s/;
|
|
62
61
|
function trimmedEndIndex(string) {
|
|
63
62
|
var index = string.length;
|
|
@@ -69,9 +68,9 @@ var require_trimmedEndIndex = __commonJS({
|
|
|
69
68
|
}
|
|
70
69
|
});
|
|
71
70
|
|
|
72
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
71
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js
|
|
73
72
|
var require_baseTrim = __commonJS({
|
|
74
|
-
"../node_modules/.pnpm/lodash@4.
|
|
73
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js"(exports, module) {
|
|
75
74
|
var trimmedEndIndex = require_trimmedEndIndex();
|
|
76
75
|
var reTrimStart = /^\s+/;
|
|
77
76
|
function baseTrim(string) {
|
|
@@ -81,18 +80,18 @@ var require_baseTrim = __commonJS({
|
|
|
81
80
|
}
|
|
82
81
|
});
|
|
83
82
|
|
|
84
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
83
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js
|
|
85
84
|
var require_Symbol = __commonJS({
|
|
86
|
-
"../node_modules/.pnpm/lodash@4.
|
|
85
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js"(exports, module) {
|
|
87
86
|
var root = require_root();
|
|
88
87
|
var Symbol = root.Symbol;
|
|
89
88
|
module.exports = Symbol;
|
|
90
89
|
}
|
|
91
90
|
});
|
|
92
91
|
|
|
93
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
92
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js
|
|
94
93
|
var require_getRawTag = __commonJS({
|
|
95
|
-
"../node_modules/.pnpm/lodash@4.
|
|
94
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js"(exports, module) {
|
|
96
95
|
var Symbol = require_Symbol();
|
|
97
96
|
var objectProto = Object.prototype;
|
|
98
97
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -119,9 +118,9 @@ var require_getRawTag = __commonJS({
|
|
|
119
118
|
}
|
|
120
119
|
});
|
|
121
120
|
|
|
122
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
121
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js
|
|
123
122
|
var require_objectToString = __commonJS({
|
|
124
|
-
"../node_modules/.pnpm/lodash@4.
|
|
123
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js"(exports, module) {
|
|
125
124
|
var objectProto = Object.prototype;
|
|
126
125
|
var nativeObjectToString = objectProto.toString;
|
|
127
126
|
function objectToString(value) {
|
|
@@ -131,9 +130,9 @@ var require_objectToString = __commonJS({
|
|
|
131
130
|
}
|
|
132
131
|
});
|
|
133
132
|
|
|
134
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
133
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js
|
|
135
134
|
var require_baseGetTag = __commonJS({
|
|
136
|
-
"../node_modules/.pnpm/lodash@4.
|
|
135
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js"(exports, module) {
|
|
137
136
|
var Symbol = require_Symbol();
|
|
138
137
|
var getRawTag = require_getRawTag();
|
|
139
138
|
var objectToString = require_objectToString();
|
|
@@ -150,9 +149,9 @@ var require_baseGetTag = __commonJS({
|
|
|
150
149
|
}
|
|
151
150
|
});
|
|
152
151
|
|
|
153
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
152
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js
|
|
154
153
|
var require_isObjectLike = __commonJS({
|
|
155
|
-
"../node_modules/.pnpm/lodash@4.
|
|
154
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js"(exports, module) {
|
|
156
155
|
function isObjectLike(value) {
|
|
157
156
|
return value != null && typeof value == "object";
|
|
158
157
|
}
|
|
@@ -160,9 +159,9 @@ var require_isObjectLike = __commonJS({
|
|
|
160
159
|
}
|
|
161
160
|
});
|
|
162
161
|
|
|
163
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
162
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js
|
|
164
163
|
var require_isSymbol = __commonJS({
|
|
165
|
-
"../node_modules/.pnpm/lodash@4.
|
|
164
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js"(exports, module) {
|
|
166
165
|
var baseGetTag = require_baseGetTag();
|
|
167
166
|
var isObjectLike = require_isObjectLike();
|
|
168
167
|
var symbolTag = "[object Symbol]";
|
|
@@ -173,9 +172,9 @@ var require_isSymbol = __commonJS({
|
|
|
173
172
|
}
|
|
174
173
|
});
|
|
175
174
|
|
|
176
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
175
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js
|
|
177
176
|
var require_toNumber = __commonJS({
|
|
178
|
-
"../node_modules/.pnpm/lodash@4.
|
|
177
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js"(exports, module) {
|
|
179
178
|
var baseTrim = require_baseTrim();
|
|
180
179
|
var isObject = require_isObject();
|
|
181
180
|
var isSymbol = require_isSymbol();
|
|
@@ -206,9 +205,9 @@ var require_toNumber = __commonJS({
|
|
|
206
205
|
}
|
|
207
206
|
});
|
|
208
207
|
|
|
209
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
208
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js
|
|
210
209
|
var require_debounce = __commonJS({
|
|
211
|
-
"../node_modules/.pnpm/lodash@4.
|
|
210
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js"(exports, module) {
|
|
212
211
|
var isObject = require_isObject();
|
|
213
212
|
var now = require_now();
|
|
214
213
|
var toNumber = require_toNumber();
|
|
@@ -737,20 +736,6 @@ var SmartSelect = forwardRef(
|
|
|
737
736
|
onChange(selectedOption);
|
|
738
737
|
}
|
|
739
738
|
};
|
|
740
|
-
const handleKeyDown = (event) => {
|
|
741
|
-
if (event.ctrlKey || event.altKey || event.metaKey) {
|
|
742
|
-
return;
|
|
743
|
-
}
|
|
744
|
-
const nextOption = getSelectOptionFromKeyPress({
|
|
745
|
-
key: event.key,
|
|
746
|
-
options: visibleOptions,
|
|
747
|
-
currentValue: value
|
|
748
|
-
});
|
|
749
|
-
if (nextOption) {
|
|
750
|
-
event.preventDefault();
|
|
751
|
-
onChange(nextOption);
|
|
752
|
-
}
|
|
753
|
-
};
|
|
754
739
|
const renderMenuContent = () => {
|
|
755
740
|
if (isFetching) {
|
|
756
741
|
return [
|
|
@@ -823,7 +808,6 @@ var SmartSelect = forwardRef(
|
|
|
823
808
|
value: value ?? "",
|
|
824
809
|
onChange: handleChange,
|
|
825
810
|
onOpen: handleOpen,
|
|
826
|
-
onKeyDown: handleKeyDown,
|
|
827
811
|
label: inputLabel,
|
|
828
812
|
MenuProps: menuProps,
|
|
829
813
|
children: renderMenuContent()
|
|
@@ -1405,7 +1389,7 @@ import {
|
|
|
1405
1389
|
Typography as Typography6
|
|
1406
1390
|
} from "@mui/material";
|
|
1407
1391
|
|
|
1408
|
-
// src/utils/resolveObjectType
|
|
1392
|
+
// src/utils/resolveObjectType.ts
|
|
1409
1393
|
var resolveObjectType = (object, fieldName) => {
|
|
1410
1394
|
if (!object || typeof object !== "object") {
|
|
1411
1395
|
return object;
|