@omnic/widget-locations 1.0.89 → 1.0.91
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/lib/widget.cjs.js +102 -0
- package/dist/lib/{widget.es.js → widget.esm.js} +16 -19
- package/package.json +14 -14
- package/dist/lib/widget.umd.js +0 -102
|
@@ -41,7 +41,7 @@ function ah(t) {
|
|
|
41
41
|
if (typeof (t == null ? void 0 : t.message) == "string")
|
|
42
42
|
return t.message;
|
|
43
43
|
}
|
|
44
|
-
const lh = (t, e) => fetch(t, e), gu = (t = lh) => (e, n) => t(e, Object.assign(Object.assign({}, n), { headers: Object.assign({ "X-Tolgee-SDK-Type": "JS", "X-Tolgee-SDK-Version": "5.13.
|
|
44
|
+
const lh = (t, e) => fetch(t, e), gu = (t = lh) => (e, n) => t(e, Object.assign(Object.assign({}, n), { headers: Object.assign({ "X-Tolgee-SDK-Type": "JS", "X-Tolgee-SDK-Version": "5.13.2" }, n == null ? void 0 : n.headers) }));
|
|
45
45
|
function hn(t) {
|
|
46
46
|
let e = [];
|
|
47
47
|
return Object.freeze({
|
|
@@ -1238,7 +1238,7 @@ Jh() && (Au = () => (t) => {
|
|
|
1238
1238
|
apiKey: t.getInitialOptions().apiKey || ""
|
|
1239
1239
|
}
|
|
1240
1240
|
}), r = async () => {
|
|
1241
|
-
const o = await Kh("5.13.
|
|
1241
|
+
const o = await Kh("5.13.2");
|
|
1242
1242
|
return (s) => {
|
|
1243
1243
|
const a = Ya();
|
|
1244
1244
|
return s.addPlugin(o({ credentials: a })), s;
|
|
@@ -15028,37 +15028,34 @@ const _w = (t) => {
|
|
|
15028
15028
|
), UC = "TextArea-module__root__l-RDfr", HC = {
|
|
15029
15029
|
root: UC
|
|
15030
15030
|
}, $c = mi(
|
|
15031
|
-
({ className: t, inputRef: e, onChange: n, onBlur: r,
|
|
15032
|
-
const
|
|
15031
|
+
({ className: t, inputRef: e, onChange: n, onBlur: r, onFocus: i, ...o }, s) => {
|
|
15032
|
+
const a = ie(null);
|
|
15033
15033
|
wr(
|
|
15034
|
-
|
|
15034
|
+
s,
|
|
15035
15035
|
() => ({
|
|
15036
15036
|
focus: () => {
|
|
15037
|
-
var
|
|
15038
|
-
(
|
|
15037
|
+
var c, u;
|
|
15038
|
+
(c = a.current) == null || c.focus(), i && i({ target: { value: (u = a.current) == null ? void 0 : u.value } });
|
|
15039
15039
|
},
|
|
15040
15040
|
blur: () => {
|
|
15041
|
-
var
|
|
15042
|
-
(
|
|
15041
|
+
var c, u;
|
|
15042
|
+
(c = a.current) == null || c.blur(), r && r({ target: { value: (u = a.current) == null ? void 0 : u.value } });
|
|
15043
15043
|
},
|
|
15044
|
-
setValue: (
|
|
15045
|
-
|
|
15046
|
-
n({ target: { value: l } });
|
|
15047
|
-
return;
|
|
15048
|
-
}
|
|
15049
|
-
r && r({ target: { value: l } }), s.current && (s.current.value = l);
|
|
15044
|
+
setValue: (c) => {
|
|
15045
|
+
n && n({ target: { value: c } }), a.current && (a.current.value = c);
|
|
15050
15046
|
}
|
|
15051
15047
|
}),
|
|
15052
|
-
[r, n]
|
|
15048
|
+
[r, n, i]
|
|
15053
15049
|
);
|
|
15054
|
-
const
|
|
15050
|
+
const l = zf(e, a);
|
|
15055
15051
|
return /* @__PURE__ */ P(
|
|
15056
15052
|
"textarea",
|
|
15057
15053
|
{
|
|
15058
|
-
...
|
|
15059
|
-
ref:
|
|
15054
|
+
...o,
|
|
15055
|
+
ref: l,
|
|
15060
15056
|
className: xe(HC.root, t),
|
|
15061
15057
|
onBlur: r,
|
|
15058
|
+
onFocus: i,
|
|
15062
15059
|
onChange: n
|
|
15063
15060
|
}
|
|
15064
15061
|
);
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnic/widget-locations",
|
|
3
3
|
"description": "Simple map widget for Omnic Delivery applications",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.91",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/lib/widget.
|
|
7
|
-
"module": "./dist/lib/widget.
|
|
6
|
+
"main": "./dist/lib/widget.cjs.js",
|
|
7
|
+
"module": "./dist/lib/widget.esm.js",
|
|
8
8
|
"types": "./dist/lib/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"@types",
|
|
11
|
+
"dist/lib"
|
|
12
12
|
],
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "David Arutiunian",
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@changesets/cli": "^2.26.2",
|
|
44
|
-
"@omnic/widget-config": "0.1.
|
|
45
|
-
"@types/node": "^20.8.
|
|
46
|
-
"sass": "^1.69.
|
|
44
|
+
"@omnic/widget-config": "0.1.25",
|
|
45
|
+
"@types/node": "^20.8.7",
|
|
46
|
+
"sass": "^1.69.4"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@pbe/react-yandex-maps": "^1.2.5",
|
|
50
50
|
"@react-google-maps/api": "^2.19.2",
|
|
51
|
-
"@tolgee/react": "^5.13.
|
|
51
|
+
"@tolgee/react": "^5.13.2",
|
|
52
52
|
"@types/classnames": "^2.3.1",
|
|
53
|
-
"@types/react": "^18.2.
|
|
54
|
-
"@types/react-dom": "^18.2.
|
|
55
|
-
"@types/react-geocode": "^0.2.
|
|
56
|
-
"@types/uuid": "^9.0.
|
|
53
|
+
"@types/react": "^18.2.31",
|
|
54
|
+
"@types/react-dom": "^18.2.14",
|
|
55
|
+
"@types/react-geocode": "^0.2.3",
|
|
56
|
+
"@types/uuid": "^9.0.6",
|
|
57
57
|
"axios": "^1.5.1",
|
|
58
58
|
"classnames": "^2.3.2",
|
|
59
59
|
"on-change": "^4.0.2",
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
"react-spring-bottom-sheet": "^3.4.1",
|
|
65
65
|
"uuid": "^9.0.1",
|
|
66
66
|
"yandex-maps": "^0.0.1",
|
|
67
|
-
"zustand": "^4.4.
|
|
67
|
+
"zustand": "^4.4.4"
|
|
68
68
|
}
|
|
69
69
|
}
|