@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.
Files changed (107) hide show
  1. package/dist/index-AdvancedMarker.js +235 -0
  2. package/dist/index-Autocomplete.js +62 -62
  3. package/dist/index-ControlledValuePlugin.js +1 -1
  4. package/dist/index-CsvContentValidator.js +30 -0
  5. package/dist/index-DateRange.js +1 -1
  6. package/dist/index-DefaultValuePlugin.js +1 -1
  7. package/dist/index-Document.types.js +3 -3
  8. package/dist/index-DocumentContentProcessor.js +42 -0
  9. package/dist/index-DocumentUpload.js +103 -109
  10. package/dist/index-GoogleMaps.js +42 -36
  11. package/dist/index-GoogleMapsAdvancedMarker.js +64 -0
  12. package/dist/index-GoogleMapsAdvancedMarkerContent.js +41 -0
  13. package/dist/index-HyperlinkPlugin.js +1 -1
  14. package/dist/index-KeywordNode.js +1 -1
  15. package/dist/index-KeywordPlugin.js +1 -1
  16. package/dist/index-ModalService.js +3 -1
  17. package/dist/index-OnChangeContentPlugin.js +1 -1
  18. package/dist/index-OnFocusOnBlurPlugin.js +1 -1
  19. package/dist/index-Select2.js +1 -1
  20. package/dist/index-SelectInput.js +478 -26
  21. package/dist/index-_virtual10.js +2 -3
  22. package/dist/index-_virtual21.js +2 -2
  23. package/dist/index-_virtual22.js +2 -2
  24. package/dist/index-_virtual23.js +3 -2
  25. package/dist/index-_virtual24.js +2 -2
  26. package/dist/index-_virtual25.js +2 -2
  27. package/dist/index-_virtual26.js +2 -2
  28. package/dist/index-_virtual27.js +2 -2
  29. package/dist/index-_virtual28.js +2 -2
  30. package/dist/index-_virtual29.js +2 -2
  31. package/dist/index-_virtual31.js +2 -2
  32. package/dist/index-_virtual32.js +2 -2
  33. package/dist/index-_virtual33.js +2 -2
  34. package/dist/index-_virtual34.js +2 -3
  35. package/dist/index-_virtual63.js +2 -2
  36. package/dist/index-_virtual64.js +2 -2
  37. package/dist/index-_virtual77.js +4 -2
  38. package/dist/index-_virtual78.js +1 -1
  39. package/dist/index-_virtual79.js +1 -1
  40. package/dist/index-_virtual80.js +1 -1
  41. package/dist/index-_virtual81.js +1 -1
  42. package/dist/index-_virtual82.js +1 -1
  43. package/dist/index-_virtual83.js +1 -1
  44. package/dist/index-_virtual84.js +1 -1
  45. package/dist/index-_virtual85.js +2 -4
  46. package/dist/index-_virtual9.js +3 -2
  47. package/dist/index-applyInternationalSeparatorStyle.js +1 -1
  48. package/dist/index-cjs.js +1 -1
  49. package/dist/index-colorManipulator3.js +2 -2
  50. package/dist/index-constants.js +1 -1
  51. package/dist/index-constants2.js +8 -2
  52. package/dist/index-constants3.js +2 -8
  53. package/dist/index-createExtensionPattern.js +1 -1
  54. package/dist/index-createStyled2.js +6 -6
  55. package/dist/index-dist3.js +1 -1
  56. package/dist/index-dist5.js +1 -1
  57. package/dist/index-exenv.js +1 -1
  58. package/dist/index-extractCountryCallingCode.js +1 -1
  59. package/dist/index-extractPhoneContext.js +1 -1
  60. package/dist/index-isViablePhoneNumber.js +1 -1
  61. package/dist/index-keycode.js +1 -1
  62. package/dist/index-lib2.js +1 -1
  63. package/dist/index-lib3.js +1 -1
  64. package/dist/index-lib4.js +1 -1
  65. package/dist/index-lib5.js +1 -1
  66. package/dist/index-map-context.js +12 -0
  67. package/dist/index-map-helper.js +38 -0
  68. package/dist/index-mpd-parser.es.js +1 -1
  69. package/dist/index-parse2.js +1 -1
  70. package/dist/index-stripIddPrefix.js +1 -1
  71. package/dist/index-style-to-object.js +1 -1
  72. package/dist/index-tiny-invariant.js +12 -0
  73. package/dist/index-useHyperlinkEditor.js +1 -1
  74. package/dist/index-useLexicalToolbar.js +1 -1
  75. package/dist/index-useThemeWithoutDefault3.js +1 -1
  76. package/dist/index.js +427 -418
  77. package/dist/types/core/Autocomplete/stories/WithMultiple.story.d.ts +0 -4
  78. package/dist/types/core/Documents/Document.types.d.ts +2 -1
  79. package/dist/types/core/Documents/DocumentUpload/stories/WithCustomDimensions.story.d.ts +2 -0
  80. package/dist/types/core/Documents/DocumentUpload/stories/WithDocumentName.story.d.ts +2 -0
  81. package/dist/types/core/Documents/DocumentUpload/stories/_DocumentUpload.default.d.ts +2 -2
  82. package/dist/types/core/FileSelect/MediaItemProcessors/DocumentContentProcessor.d.ts +9 -0
  83. package/dist/types/core/FileSelect/MediaItemValidators/CsvContentValidator.d.ts +15 -0
  84. package/dist/types/core/FileSelect/index.d.ts +2 -1
  85. package/dist/types/core/FileSelect/stories/WithCsvValidator.story.d.ts +2 -0
  86. package/dist/types/core/FileSelect/stories/WithDocumentContentProcessor.story.d.ts +2 -0
  87. package/dist/types/core/GoogleMaps/GoogleMaps.d.ts +2 -1
  88. package/dist/types/core/GoogleMaps/GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarker.d.ts +55 -0
  89. package/dist/types/core/GoogleMaps/GoogleMapsAdvancedMarker/GoogleMapsAdvancedMarkerContent.d.ts +41 -0
  90. package/dist/types/core/GoogleMaps/index.d.ts +6 -0
  91. package/dist/types/core/GoogleMaps/map-context.d.ts +1 -1
  92. package/dist/types/core/GoogleMaps/stories/WithAdvancedMarker.story.d.ts +2 -0
  93. package/dist/types/core/GoogleMaps/stories/WithAdvancedMarkerCustomIcon.story.d.ts +2 -0
  94. package/dist/types/core/GoogleMaps/stories/WithAdvancedMarkerHTML.story.d.ts +2 -0
  95. package/dist/types/core/GoogleMaps/stories/WithMapIdAndMarkers.story.d.ts +2 -0
  96. package/dist/types/core/GoogleMaps/stories/WithMarkerInfoBox.story.d.ts +2 -0
  97. package/dist/types/core/GoogleMaps/stories/WithMultipleAdvancedMarkers.story.d.ts +2 -0
  98. package/dist/types/core/GoogleMaps/stories/WithMultipleMarkers.story.d.ts +2 -0
  99. package/dist/types/core/GoogleMaps/stories/WithSingleMarker.story.d.ts +2 -0
  100. package/dist/types/core/Modal/stories/CloseConfirmModalViaHeader.story.d.ts +2 -0
  101. package/dist/types/core/Modal/stories/CloseViaHeaderButtonWithResponse.story.d.ts +2 -0
  102. package/dist/types/index.d.ts +8 -1
  103. package/dist/vanguard-asset-analysis.json +1 -1
  104. package/dist-wordpress/index.js +396 -394
  105. package/package.json +1 -1
  106. package/dist/index-SelectInput2.js +0 -484
  107. package/dist/types/core/FileSelect/SelectInput.d.ts +0 -11
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-createTheme3.js";
2
+ import * as r from "./index-styleFunctionSx2.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-styleFunctionSx2.js";
2
+ import * as r from "./index-formatMuiErrorMessage2.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-formatMuiErrorMessage2.js";
2
+ import * as r from "./index-clamp.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-clamp.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var e = { exports: {} };
4
2
  export {
5
- m as default
3
+ e as __module
6
4
  };
@@ -1,4 +1,5 @@
1
- var r = {};
1
+ import { __require as r } from "./index-dist4.js";
2
+ var i = r();
2
3
  export {
3
- r as __exports
4
+ i as d
4
5
  };
@@ -1,4 +1,4 @@
1
- import { VALID_PUNCTUATION as e } from "./index-constants3.js";
1
+ import { VALID_PUNCTUATION as e } from "./index-constants2.js";
2
2
  function a(t) {
3
3
  return t.replace(new RegExp("[".concat(e, "]+"), "g"), " ").trim();
4
4
  }
package/dist/index-cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index-_virtual63.js";
1
+ import { __exports as e } from "./index-_virtual66.js";
2
2
  import { __require as c } from "./index-style-to-object.js";
3
3
  import { __require as q } from "./index-utilities4.js";
4
4
  var o;
@@ -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-_virtual84.js";
4
- import z from "./index-_virtual85.js";
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;
@@ -1,4 +1,4 @@
1
- import { __exports as e } from "./index-constants2.js";
1
+ import { __exports as e } from "./index-constants3.js";
2
2
  var f;
3
3
  function n() {
4
4
  return f ? e : (f = 1, e.CASE_SENSITIVE_TAG_NAMES = [
@@ -1,4 +1,10 @@
1
- var s = {};
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
- s as __exports
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
  };
@@ -1,10 +1,4 @@
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 = "++";
1
+ var s = {};
2
2
  export {
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
3
+ s as __exports
10
4
  };
@@ -1,4 +1,4 @@
1
- import { VALID_DIGITS as A } from "./index-constants3.js";
1
+ import { VALID_DIGITS as A } from "./index-constants2.js";
2
2
  var g = ";ext=", t = function(a) {
3
3
  return "([".concat(A, "]{1,").concat(a, "})");
4
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-_virtual78.js";
6
- import ae from "./index-_virtual79.js";
7
- import le from "./index-_virtual80.js";
8
- import fe from "./index-_virtual81.js";
9
- import de from "./index-_virtual82.js";
10
- import ce from "./index-_virtual83.js";
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;
@@ -1,4 +1,4 @@
1
- import { __exports as t } from "./index-_virtual9.js";
1
+ import { __exports as t } from "./index-_virtual10.js";
2
2
  import { __require as c } from "./index-normalizeText.js";
3
3
  import { __require as i } from "./index-impl.js";
4
4
  var a;
@@ -1,4 +1,4 @@
1
- import { __exports as a } from "./index-_virtual65.js";
1
+ import { __exports as a } from "./index-_virtual64.js";
2
2
  import q from "react";
3
3
  import { __require as g } from "./index-prop-types.js";
4
4
  import { __require as w } from "./index-spin.js";
@@ -1,4 +1,4 @@
1
- import { __module as n } from "./index-_virtual64.js";
1
+ import { __module as n } from "./index-_virtual63.js";
2
2
  var o;
3
3
  function s() {
4
4
  return o ? n.exports : (o = 1, (function(r) {
@@ -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-constants3.js";
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-constants3.js";
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-constants3.js";
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(
@@ -1,4 +1,4 @@
1
- import { __module as d } from "./index-_virtual32.js";
1
+ import { __module as d } from "./index-_virtual21.js";
2
2
  var p;
3
3
  function g() {
4
4
  return p ? d.exports : (p = 1, (function(i, f) {
@@ -1,4 +1,4 @@
1
- import { __exports as a } from "./index-_virtual21.js";
1
+ import { __exports as a } from "./index-_virtual34.js";
2
2
  import { __require as H } from "./index-possibleStandardNamesOptimized.js";
3
3
  var _;
4
4
  function U() {
@@ -1,4 +1,4 @@
1
- import { __exports as a } from "./index-_virtual31.js";
1
+ import { __exports as a } from "./index-_virtual33.js";
2
2
  var e;
3
3
  function D() {
4
4
  return e ? a : (e = 1, (function(i) {
@@ -1,4 +1,4 @@
1
- import { __module as v } from "./index-_virtual33.js";
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";
@@ -1,4 +1,4 @@
1
- import { __exports as r } from "./index-_virtual66.js";
1
+ import { __exports as r } from "./index-_virtual65.js";
2
2
  import { __require as a } from "./index-dom.js";
3
3
  import { __require as o } from "./index-dom-parser.js";
4
4
  var i;
@@ -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-_virtual34.js";
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() {
@@ -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-constants3.js";
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";
@@ -1,5 +1,5 @@
1
1
  import I from "./index-metadata.js";
2
- import { VALID_DIGITS as l } from "./index-constants3.js";
2
+ import { VALID_DIGITS as l } from "./index-constants2.js";
3
3
  var c = new RegExp("([" + l + "])");
4
4
  function D(t, r, f, n) {
5
5
  if (r) {
@@ -1,4 +1,4 @@
1
- import { __module as o } from "./index-_virtual77.js";
1
+ import { __module as o } from "./index-_virtual85.js";
2
2
  import { __require as y } from "./index-inline-style-parser.js";
3
3
  var f;
4
4
  function m() {
@@ -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-_virtual23.js";
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-_virtual22.js";
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";
@@ -1,6 +1,6 @@
1
1
  import { __exports as u } from "./index-useThemeWithoutDefault4.js";
2
2
  import h from "react";
3
- import m from "./index-_virtual78.js";
3
+ import m from "./index-_virtual77.js";
4
4
  var f;
5
5
  function b() {
6
6
  if (f) return u;