@rankingcoach/vanguard 1.12.3 → 1.14.0
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/index-AdvancedMarker.js +235 -0
- package/dist/index-Autocomplete.js +62 -62
- package/dist/index-ControlledValuePlugin.js +1 -1
- package/dist/index-CsvContentValidator.js +30 -0
- package/dist/index-DateRange.js +1 -1
- package/dist/index-DefaultValuePlugin.js +1 -1
- package/dist/index-Document.types.js +3 -3
- package/dist/index-DocumentContentProcessor.js +42 -0
- package/dist/index-DocumentUpload.js +103 -109
- package/dist/index-GoogleMaps.js +42 -36
- package/dist/index-GoogleMapsAdvancedMarker.js +64 -0
- package/dist/index-GoogleMapsAdvancedMarkerContent.js +41 -0
- package/dist/index-HyperlinkPlugin.js +1 -1
- package/dist/index-KeywordNode.js +1 -1
- package/dist/index-KeywordPlugin.js +1 -1
- package/dist/index-ModalService.js +3 -1
- package/dist/index-OnChangeContentPlugin.js +1 -1
- package/dist/index-OnFocusOnBlurPlugin.js +1 -1
- package/dist/index-Select2.js +1 -1
- package/dist/index-SelectInput.js +478 -26
- package/dist/index-_virtual10.js +2 -3
- package/dist/index-_virtual21.js +2 -2
- package/dist/index-_virtual22.js +2 -2
- package/dist/index-_virtual23.js +3 -2
- package/dist/index-_virtual24.js +2 -2
- package/dist/index-_virtual25.js +2 -2
- package/dist/index-_virtual26.js +2 -2
- package/dist/index-_virtual27.js +2 -2
- package/dist/index-_virtual28.js +2 -2
- package/dist/index-_virtual29.js +2 -2
- package/dist/index-_virtual31.js +2 -2
- package/dist/index-_virtual32.js +2 -2
- package/dist/index-_virtual33.js +2 -2
- package/dist/index-_virtual34.js +2 -3
- package/dist/index-_virtual63.js +2 -2
- package/dist/index-_virtual64.js +2 -2
- package/dist/index-_virtual77.js +4 -2
- package/dist/index-_virtual78.js +1 -1
- package/dist/index-_virtual79.js +1 -1
- package/dist/index-_virtual80.js +1 -1
- package/dist/index-_virtual81.js +1 -1
- package/dist/index-_virtual82.js +1 -1
- package/dist/index-_virtual83.js +1 -1
- package/dist/index-_virtual84.js +1 -1
- package/dist/index-_virtual85.js +2 -4
- package/dist/index-_virtual9.js +3 -2
- package/dist/index-applyInternationalSeparatorStyle.js +1 -1
- package/dist/index-cjs.js +1 -1
- package/dist/index-colorManipulator3.js +2 -2
- package/dist/index-constants.js +1 -1
- package/dist/index-constants2.js +8 -2
- package/dist/index-constants3.js +2 -8
- package/dist/index-createExtensionPattern.js +1 -1
- package/dist/index-createStyled2.js +6 -6
- package/dist/index-dist3.js +1 -1
- package/dist/index-dist5.js +1 -1
- package/dist/index-exenv.js +1 -1
- package/dist/index-extractCountryCallingCode.js +1 -1
- package/dist/index-extractPhoneContext.js +1 -1
- package/dist/index-isViablePhoneNumber.js +1 -1
- package/dist/index-keycode.js +1 -1
- package/dist/index-lib2.js +1 -1
- package/dist/index-lib3.js +1 -1
- package/dist/index-lib4.js +1 -1
- package/dist/index-lib5.js +1 -1
- package/dist/index-map-context.js +12 -0
- package/dist/index-map-helper.js +38 -0
- package/dist/index-mpd-parser.es.js +1 -1
- package/dist/index-parse2.js +1 -1
- package/dist/index-stripIddPrefix.js +1 -1
- package/dist/index-style-to-object.js +1 -1
- package/dist/index-tiny-invariant.js +12 -0
- package/dist/index-useHyperlinkEditor.js +1 -1
- package/dist/index-useLexicalToolbar.js +1 -1
- package/dist/index-useThemeWithoutDefault3.js +1 -1
- package/dist/index.js +427 -418
- package/dist/types/core/Autocomplete/stories/WithMultiple.story.d.ts +0 -4
- package/dist/types/core/Documents/Document.types.d.ts +2 -1
- package/dist/types/core/Documents/DocumentUpload/stories/WithCustomDimensions.story.d.ts +2 -0
- package/dist/types/core/Documents/DocumentUpload/stories/WithDocumentName.story.d.ts +2 -0
- package/dist/types/core/Documents/DocumentUpload/stories/_DocumentUpload.default.d.ts +2 -2
- package/dist/types/core/FileSelect/MediaItemProcessors/DocumentContentProcessor.d.ts +9 -0
- package/dist/types/core/FileSelect/MediaItemValidators/CsvContentValidator.d.ts +15 -0
- package/dist/types/core/FileSelect/index.d.ts +2 -1
- package/dist/types/core/FileSelect/stories/WithCsvValidator.story.d.ts +2 -0
- package/dist/types/core/FileSelect/stories/WithDocumentContentProcessor.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/GoogleMaps.d.ts +2 -1
- package/dist/types/core/GoogleMaps/GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarker.d.ts +55 -0
- package/dist/types/core/GoogleMaps/GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarkerContent.d.ts +41 -0
- package/dist/types/core/GoogleMaps/index.d.ts +6 -0
- package/dist/types/core/GoogleMaps/map-context.d.ts +1 -1
- package/dist/types/core/GoogleMaps/stories/WithAdvancedMarker.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithAdvancedMarkerCustomIcon.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithAdvancedMarkerHTML.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithMapIdAndMarkers.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithMarkerInfoBox.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithMultipleAdvancedMarkers.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithMultipleMarkers.story.d.ts +2 -0
- package/dist/types/core/GoogleMaps/stories/WithSingleMarker.story.d.ts +2 -0
- package/dist/types/core/Modal/stories/CloseConfirmModalViaHeader.story.d.ts +2 -0
- package/dist/types/core/Modal/stories/CloseViaHeaderButtonWithResponse.story.d.ts +2 -0
- package/dist/types/index.d.ts +8 -1
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist-wordpress/index.js +396 -394
- package/package.json +1 -1
- package/dist/index-SelectInput2.js +0 -484
- package/dist/types/core/FileSelect/SelectInput.d.ts +0 -11
package/dist/index-_virtual82.js
CHANGED
package/dist/index-_virtual83.js
CHANGED
package/dist/index-_virtual84.js
CHANGED
package/dist/index-_virtual85.js
CHANGED
package/dist/index-_virtual9.js
CHANGED
package/dist/index-cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exports as a } from "./index-colorManipulator4.js";
|
|
2
2
|
import { __require as k } from "./index-interopRequireDefault.js";
|
|
3
|
-
import A from "./index-
|
|
4
|
-
import z from "./index-
|
|
3
|
+
import A from "./index-_virtual83.js";
|
|
4
|
+
import z from "./index-_virtual84.js";
|
|
5
5
|
var C;
|
|
6
6
|
function F() {
|
|
7
7
|
if (C) return a;
|
package/dist/index-constants.js
CHANGED
package/dist/index-constants2.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
var
|
|
1
|
+
var v = 2, A = 17, E = 3, _ = "0-90-9٠-٩۰-۹", F = "-‐-―−ー-", u = "//", a = "..", S = " ", r = "()()[]\\[\\]", c = "~⁓∼~", N = "".concat(F).concat(u).concat(a).concat(S).concat(r).concat(c), T = "++";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
E as MAX_LENGTH_COUNTRY_CODE,
|
|
4
|
+
A as MAX_LENGTH_FOR_NSN,
|
|
5
|
+
v as MIN_LENGTH_FOR_NSN,
|
|
6
|
+
T as PLUS_CHARS,
|
|
7
|
+
_ as VALID_DIGITS,
|
|
8
|
+
N as VALID_PUNCTUATION,
|
|
9
|
+
S as WHITESPACE
|
|
4
10
|
};
|
package/dist/index-constants3.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var s = {};
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
A as MAX_LENGTH_FOR_NSN,
|
|
5
|
-
v as MIN_LENGTH_FOR_NSN,
|
|
6
|
-
T as PLUS_CHARS,
|
|
7
|
-
_ as VALID_DIGITS,
|
|
8
|
-
N as VALID_PUNCTUATION,
|
|
9
|
-
S as WHITESPACE
|
|
3
|
+
s as __exports
|
|
10
4
|
};
|
|
@@ -2,12 +2,12 @@ import { __exports as y } from "./index-createStyled3.js";
|
|
|
2
2
|
import { __require as ne } from "./index-interopRequireDefault.js";
|
|
3
3
|
import { __require as ie } from "./index-extends2.js";
|
|
4
4
|
import { __require as se } from "./index-objectWithoutPropertiesLoose2.js";
|
|
5
|
-
import ue from "./index-
|
|
6
|
-
import ae from "./index-
|
|
7
|
-
import le from "./index-
|
|
8
|
-
import fe from "./index-
|
|
9
|
-
import de from "./index-
|
|
10
|
-
import ce from "./index-
|
|
5
|
+
import ue from "./index-_virtual77.js";
|
|
6
|
+
import ae from "./index-_virtual78.js";
|
|
7
|
+
import le from "./index-_virtual79.js";
|
|
8
|
+
import fe from "./index-_virtual80.js";
|
|
9
|
+
import de from "./index-_virtual81.js";
|
|
10
|
+
import ce from "./index-_virtual82.js";
|
|
11
11
|
var W;
|
|
12
12
|
function $e() {
|
|
13
13
|
if (W) return y;
|
package/dist/index-dist3.js
CHANGED
package/dist/index-dist5.js
CHANGED
package/dist/index-exenv.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import s from "./index-stripIddPrefix.js";
|
|
2
2
|
import M from "./index-extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js";
|
|
3
3
|
import u from "./index-metadata.js";
|
|
4
|
-
import { MAX_LENGTH_COUNTRY_CODE as I } from "./index-
|
|
4
|
+
import { MAX_LENGTH_COUNTRY_CODE as I } from "./index-constants2.js";
|
|
5
5
|
function p(r, o, f, i) {
|
|
6
6
|
if (!r)
|
|
7
7
|
return {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VALID_DIGITS as n } from "./index-
|
|
1
|
+
import { VALID_DIGITS as n } from "./index-constants2.js";
|
|
2
2
|
var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
|
|
3
3
|
function D(_) {
|
|
4
4
|
var t = _.indexOf(a);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MIN_LENGTH_FOR_NSN as e, VALID_DIGITS as _, PLUS_CHARS as t, VALID_PUNCTUATION as E } from "./index-
|
|
1
|
+
import { MIN_LENGTH_FOR_NSN as e, VALID_DIGITS as _, PLUS_CHARS as t, VALID_PUNCTUATION as E } from "./index-constants2.js";
|
|
2
2
|
import r from "./index-createExtensionPattern.js";
|
|
3
3
|
var n = "[" + _ + "]{" + e + "}", I = "[" + t + "]{0,1}(?:[" + E + "]*[" + _ + "]){3,}[" + E + _ + "]*", P = new RegExp("^[" + t + "]{0,1}(?:[" + E + "]*[" + _ + "]){1,2}$", "i"), R = I + // Phone number extensions
|
|
4
4
|
"(?:" + r() + ")?", T = new RegExp(
|
package/dist/index-keycode.js
CHANGED
package/dist/index-lib2.js
CHANGED
package/dist/index-lib3.js
CHANGED
package/dist/index-lib4.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as v } from "./index-
|
|
1
|
+
import { __module as v } from "./index-_virtual22.js";
|
|
2
2
|
import { __require as O } from "./index-window2.js";
|
|
3
3
|
import { __require as j } from "./index-extends2.js";
|
|
4
4
|
import { __require as S } from "./index-is-function.js";
|
package/dist/index-lib5.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createContext as a, useContext as o } from "react";
|
|
2
|
+
import t from "./index-tiny-invariant.js";
|
|
3
|
+
const n = a(null);
|
|
4
|
+
function p() {
|
|
5
|
+
t(!!o, "useGoogleMap is React hook and requires React version 16.8+");
|
|
6
|
+
const e = o(n);
|
|
7
|
+
return t(!!e, "useGoogleMap needs a GoogleMap available up in the tree"), e;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
n as MapContext,
|
|
11
|
+
p as useGoogleMap
|
|
12
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
function f(e, n, r) {
|
|
2
|
+
return Object.keys(e).reduce((s, t) => n(s, e[t], t), r);
|
|
3
|
+
}
|
|
4
|
+
function g(e, n) {
|
|
5
|
+
Object.keys(e).forEach((r) => n(e[r], r));
|
|
6
|
+
}
|
|
7
|
+
function p(e, n, r, s) {
|
|
8
|
+
const t = {};
|
|
9
|
+
return g(e, (o, u) => {
|
|
10
|
+
const c = r[u];
|
|
11
|
+
c !== n[u] && (t[u] = c, o(s, c));
|
|
12
|
+
}), t;
|
|
13
|
+
}
|
|
14
|
+
function d(e, n, r) {
|
|
15
|
+
return f(r, (t, i, o) => (typeof e[o] == "function" && t.push(google.maps.event.addListener(n, i, e[o])), t), []);
|
|
16
|
+
}
|
|
17
|
+
function a(e) {
|
|
18
|
+
google.maps.event.removeListener(e);
|
|
19
|
+
}
|
|
20
|
+
function v(e = []) {
|
|
21
|
+
e.forEach(a);
|
|
22
|
+
}
|
|
23
|
+
function E({
|
|
24
|
+
updaterMap: e,
|
|
25
|
+
eventMap: n,
|
|
26
|
+
prevProps: r,
|
|
27
|
+
nextProps: s,
|
|
28
|
+
instance: t
|
|
29
|
+
}) {
|
|
30
|
+
const i = d(s, t, n);
|
|
31
|
+
return p(e, r, s, t), i;
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
p as applyUpdaterToNextProps,
|
|
35
|
+
E as applyUpdatersToPropsAndRegisterEvents,
|
|
36
|
+
d as registerEvents,
|
|
37
|
+
v as unregisterEvents
|
|
38
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import C from "./index-resolve-url.js";
|
|
2
2
|
import K from "./index-window.js";
|
|
3
3
|
import X from "./index-decode-b64-to-uint8-array.js";
|
|
4
|
-
import { l as q } from "./index-
|
|
4
|
+
import { l as q } from "./index-_virtual23.js";
|
|
5
5
|
var w = function(e) {
|
|
6
6
|
return !!e && typeof e == "object";
|
|
7
7
|
}, S = function o() {
|
package/dist/index-parse2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MIN_LENGTH_FOR_NSN as h, MAX_LENGTH_FOR_NSN as T, PLUS_CHARS as d, VALID_DIGITS as g } from "./index-
|
|
1
|
+
import { MIN_LENGTH_FOR_NSN as h, MAX_LENGTH_FOR_NSN as T, PLUS_CHARS as d, VALID_DIGITS as g } from "./index-constants2.js";
|
|
2
2
|
import m from "./index-ParseError.js";
|
|
3
3
|
import O, { getCountryCallingCode as P } from "./index-metadata.js";
|
|
4
4
|
import v, { isViablePhoneNumberStart as s } from "./index-isViablePhoneNumber.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var a = process.env.NODE_ENV === "production", n = "Invariant failed";
|
|
2
|
+
function c(t, r) {
|
|
3
|
+
if (!t) {
|
|
4
|
+
if (a)
|
|
5
|
+
throw new Error(n);
|
|
6
|
+
var o = typeof r == "function" ? r() : r, i = o ? "".concat(n, ": ").concat(o) : n;
|
|
7
|
+
throw new Error(i);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
c as default
|
|
12
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as o } from "./index-
|
|
1
|
+
import { __exports as o } from "./index-_virtual25.js";
|
|
2
2
|
import { __require as I } from "./index-LexicalLink2.js";
|
|
3
3
|
import { __require as q } from "./index-LexicalUtils.js";
|
|
4
4
|
import { __require as C } from "./index-Lexical.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as C } from "./index-
|
|
1
|
+
import { __exports as C } from "./index-_virtual24.js";
|
|
2
2
|
import { __require as ke } from "./index-LexicalCode2.js";
|
|
3
3
|
import { __require as Ie } from "./index-LexicalLink2.js";
|
|
4
4
|
import { __require as De } from "./index-LexicalList2.js";
|