@natoora-libs/core 0.2.30 → 0.2.31-dev-package-upgrades
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.
|
@@ -79,6 +79,7 @@ type BaseAddressFormFields = {
|
|
|
79
79
|
};
|
|
80
80
|
type AddressFormFieldsProps = {
|
|
81
81
|
form: UseFormReturn<BaseAddressFormFields>;
|
|
82
|
+
hidePrimaryPhoneNumberField?: boolean;
|
|
82
83
|
countriesSelectProps: {
|
|
83
84
|
countries: AddressCountry[];
|
|
84
85
|
isCountriesFetching: boolean;
|
|
@@ -90,7 +91,7 @@ type AddressFormFieldsProps = {
|
|
|
90
91
|
};
|
|
91
92
|
googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
|
|
92
93
|
};
|
|
93
|
-
declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
95
|
|
|
95
96
|
interface AlertDialogProps {
|
|
96
97
|
open: boolean;
|
|
@@ -79,6 +79,7 @@ type BaseAddressFormFields = {
|
|
|
79
79
|
};
|
|
80
80
|
type AddressFormFieldsProps = {
|
|
81
81
|
form: UseFormReturn<BaseAddressFormFields>;
|
|
82
|
+
hidePrimaryPhoneNumberField?: boolean;
|
|
82
83
|
countriesSelectProps: {
|
|
83
84
|
countries: AddressCountry[];
|
|
84
85
|
isCountriesFetching: boolean;
|
|
@@ -90,7 +91,7 @@ type AddressFormFieldsProps = {
|
|
|
90
91
|
};
|
|
91
92
|
googlePlacesAutocompleteProps?: GooglePlacesAddressAutocompleteProps;
|
|
92
93
|
};
|
|
93
|
-
declare const AddressFormFields: ({ form, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
|
+
declare const AddressFormFields: ({ form, hidePrimaryPhoneNumberField, countriesSelectProps: { countries, isCountriesFetching, refetchCountries }, statesSelectProps: { addressStates, isAddressStatesFetching }, googlePlacesAutocompleteProps, }: AddressFormFieldsProps) => react_jsx_runtime.JSX.Element;
|
|
94
95
|
|
|
95
96
|
interface AlertDialogProps {
|
|
96
97
|
open: boolean;
|
package/dist/components/index.js
CHANGED
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
__toESM
|
|
16
16
|
} from "../chunk-5WRI5ZAA.js";
|
|
17
17
|
|
|
18
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
18
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js
|
|
19
19
|
var require_isObject = __commonJS({
|
|
20
|
-
"../node_modules/.pnpm/lodash@4.
|
|
20
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js"(exports, module) {
|
|
21
21
|
function isObject(value) {
|
|
22
22
|
var type = typeof value;
|
|
23
23
|
return value != null && (type == "object" || type == "function");
|
|
@@ -26,17 +26,17 @@ var require_isObject = __commonJS({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
29
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js
|
|
30
30
|
var require_freeGlobal = __commonJS({
|
|
31
|
-
"../node_modules/.pnpm/lodash@4.
|
|
31
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js"(exports, module) {
|
|
32
32
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
33
33
|
module.exports = freeGlobal;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
37
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js
|
|
38
38
|
var require_root = __commonJS({
|
|
39
|
-
"../node_modules/.pnpm/lodash@4.
|
|
39
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js"(exports, module) {
|
|
40
40
|
var freeGlobal = require_freeGlobal();
|
|
41
41
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
42
42
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
@@ -44,9 +44,9 @@ var require_root = __commonJS({
|
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
47
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js
|
|
48
48
|
var require_now = __commonJS({
|
|
49
|
-
"../node_modules/.pnpm/lodash@4.
|
|
49
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js"(exports, module) {
|
|
50
50
|
var root = require_root();
|
|
51
51
|
var now = function() {
|
|
52
52
|
return root.Date.now();
|
|
@@ -55,9 +55,9 @@ var require_now = __commonJS({
|
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
|
|
58
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
58
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js
|
|
59
59
|
var require_trimmedEndIndex = __commonJS({
|
|
60
|
-
"../node_modules/.pnpm/lodash@4.
|
|
60
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
|
|
61
61
|
var reWhitespace = /\s/;
|
|
62
62
|
function trimmedEndIndex(string) {
|
|
63
63
|
var index = string.length;
|
|
@@ -69,9 +69,9 @@ var require_trimmedEndIndex = __commonJS({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
72
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js
|
|
73
73
|
var require_baseTrim = __commonJS({
|
|
74
|
-
"../node_modules/.pnpm/lodash@4.
|
|
74
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js"(exports, module) {
|
|
75
75
|
var trimmedEndIndex = require_trimmedEndIndex();
|
|
76
76
|
var reTrimStart = /^\s+/;
|
|
77
77
|
function baseTrim(string) {
|
|
@@ -81,18 +81,18 @@ var require_baseTrim = __commonJS({
|
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
84
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js
|
|
85
85
|
var require_Symbol = __commonJS({
|
|
86
|
-
"../node_modules/.pnpm/lodash@4.
|
|
86
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js"(exports, module) {
|
|
87
87
|
var root = require_root();
|
|
88
88
|
var Symbol = root.Symbol;
|
|
89
89
|
module.exports = Symbol;
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
93
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js
|
|
94
94
|
var require_getRawTag = __commonJS({
|
|
95
|
-
"../node_modules/.pnpm/lodash@4.
|
|
95
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js"(exports, module) {
|
|
96
96
|
var Symbol = require_Symbol();
|
|
97
97
|
var objectProto = Object.prototype;
|
|
98
98
|
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
@@ -119,9 +119,9 @@ var require_getRawTag = __commonJS({
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
122
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js
|
|
123
123
|
var require_objectToString = __commonJS({
|
|
124
|
-
"../node_modules/.pnpm/lodash@4.
|
|
124
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js"(exports, module) {
|
|
125
125
|
var objectProto = Object.prototype;
|
|
126
126
|
var nativeObjectToString = objectProto.toString;
|
|
127
127
|
function objectToString(value) {
|
|
@@ -131,9 +131,9 @@ var require_objectToString = __commonJS({
|
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
134
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js
|
|
135
135
|
var require_baseGetTag = __commonJS({
|
|
136
|
-
"../node_modules/.pnpm/lodash@4.
|
|
136
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js"(exports, module) {
|
|
137
137
|
var Symbol = require_Symbol();
|
|
138
138
|
var getRawTag = require_getRawTag();
|
|
139
139
|
var objectToString = require_objectToString();
|
|
@@ -150,9 +150,9 @@ var require_baseGetTag = __commonJS({
|
|
|
150
150
|
}
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
153
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js
|
|
154
154
|
var require_isObjectLike = __commonJS({
|
|
155
|
-
"../node_modules/.pnpm/lodash@4.
|
|
155
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js"(exports, module) {
|
|
156
156
|
function isObjectLike(value) {
|
|
157
157
|
return value != null && typeof value == "object";
|
|
158
158
|
}
|
|
@@ -160,9 +160,9 @@ var require_isObjectLike = __commonJS({
|
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
163
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js
|
|
164
164
|
var require_isSymbol = __commonJS({
|
|
165
|
-
"../node_modules/.pnpm/lodash@4.
|
|
165
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js"(exports, module) {
|
|
166
166
|
var baseGetTag = require_baseGetTag();
|
|
167
167
|
var isObjectLike = require_isObjectLike();
|
|
168
168
|
var symbolTag = "[object Symbol]";
|
|
@@ -173,9 +173,9 @@ var require_isSymbol = __commonJS({
|
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
176
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js
|
|
177
177
|
var require_toNumber = __commonJS({
|
|
178
|
-
"../node_modules/.pnpm/lodash@4.
|
|
178
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js"(exports, module) {
|
|
179
179
|
var baseTrim = require_baseTrim();
|
|
180
180
|
var isObject = require_isObject();
|
|
181
181
|
var isSymbol = require_isSymbol();
|
|
@@ -206,9 +206,9 @@ var require_toNumber = __commonJS({
|
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
|
|
209
|
-
// ../node_modules/.pnpm/lodash@4.
|
|
209
|
+
// ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js
|
|
210
210
|
var require_debounce = __commonJS({
|
|
211
|
-
"../node_modules/.pnpm/lodash@4.
|
|
211
|
+
"../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js"(exports, module) {
|
|
212
212
|
var isObject = require_isObject();
|
|
213
213
|
var now = require_now();
|
|
214
214
|
var toNumber = require_toNumber();
|
|
@@ -302,7 +302,7 @@ var require_debounce = __commonJS({
|
|
|
302
302
|
|
|
303
303
|
// src/components/ActiveFiltersIconButton/ActiveFiltersIconButton.tsx
|
|
304
304
|
import { memo } from "react";
|
|
305
|
-
import
|
|
305
|
+
import FilterList from "@mui/icons-material/FilterList";
|
|
306
306
|
import { Typography, Chip, IconButton } from "@mui/material";
|
|
307
307
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
308
308
|
var ActiveFiltersIconButton = memo(
|
|
@@ -850,6 +850,7 @@ var ADDRESS_FORM_FIELDS = [
|
|
|
850
850
|
];
|
|
851
851
|
var AddressFormFields = ({
|
|
852
852
|
form,
|
|
853
|
+
hidePrimaryPhoneNumberField = false,
|
|
853
854
|
countriesSelectProps: { countries, isCountriesFetching, refetchCountries },
|
|
854
855
|
statesSelectProps: { addressStates, isAddressStatesFetching },
|
|
855
856
|
googlePlacesAutocompleteProps
|
|
@@ -914,7 +915,7 @@ var AddressFormFields = ({
|
|
|
914
915
|
helperText: "Name this address for easier reference (e.g. Office, Home, etc.)."
|
|
915
916
|
}
|
|
916
917
|
),
|
|
917
|
-
/* @__PURE__ */ jsx6(
|
|
918
|
+
!hidePrimaryPhoneNumberField && /* @__PURE__ */ jsx6(
|
|
918
919
|
Controller2,
|
|
919
920
|
{
|
|
920
921
|
control,
|
|
@@ -2333,7 +2334,8 @@ var ImageButton = (props) => {
|
|
|
2333
2334
|
var ImageButton_default = memo6(ImageButton);
|
|
2334
2335
|
|
|
2335
2336
|
// src/components/Buttons/SquareButton/SquareButton.tsx
|
|
2336
|
-
import
|
|
2337
|
+
import Add2 from "@mui/icons-material/Add";
|
|
2338
|
+
import ChevronRight from "@mui/icons-material/ChevronRight";
|
|
2337
2339
|
import { Typography as Typography9, Button as Button10 } from "@mui/material";
|
|
2338
2340
|
import { makeStyles as makeStyles10 } from "tss-react/mui";
|
|
2339
2341
|
import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
@@ -5365,7 +5367,7 @@ var DeliveryInstructionsFormFields = ({
|
|
|
5365
5367
|
};
|
|
5366
5368
|
|
|
5367
5369
|
// src/components/FileCard/FileCard.tsx
|
|
5368
|
-
import
|
|
5370
|
+
import DescriptionIcon from "@mui/icons-material/Description";
|
|
5369
5371
|
import { Typography as Typography16, Box as Box25 } from "@mui/material";
|
|
5370
5372
|
import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
5371
5373
|
var getFileMetadata = (file) => {
|
|
@@ -10100,7 +10102,7 @@ var TableDesktopToolbar = ({
|
|
|
10100
10102
|
|
|
10101
10103
|
// src/components/TableHeader/TableHeader.tsx
|
|
10102
10104
|
import { memo as memo21, useEffect as useEffect16, useState as useState26 } from "react";
|
|
10103
|
-
import
|
|
10105
|
+
import ImportExportIcon from "@mui/icons-material/ImportExport";
|
|
10104
10106
|
import { TableCell as TableCell7, TableHead as TableHead3, TableRow as TableRow6, TableSortLabel as TableSortLabel3 } from "@mui/material";
|
|
10105
10107
|
import { makeStyles as makeStyles46 } from "tss-react/mui";
|
|
10106
10108
|
import { jsx as jsx140 } from "react/jsx-runtime";
|