@devgateway/dvz-ui-react 1.6.20 → 1.7.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 (150) hide show
  1. package/dist/cjs/_virtual/_commonjsHelpers.js +1 -0
  2. package/dist/cjs/_virtual/debounce.js +1 -0
  3. package/dist/cjs/embeddable/big-filter/BigNumberGroup.js +1 -0
  4. package/dist/cjs/embeddable/big-filter/BigNumberItem.js +1 -0
  5. package/dist/cjs/embeddable/big-filter/DataProvider.js +1 -0
  6. package/dist/cjs/embeddable/big-filter/index.js +1 -0
  7. package/dist/cjs/embeddable/big-number/index.js +1 -1
  8. package/dist/cjs/embeddable/big-number-trend/Alternative.js +1 -0
  9. package/dist/cjs/embeddable/big-number-trend/Classic.js +1 -0
  10. package/dist/cjs/embeddable/big-number-trend/index.js +1 -1
  11. package/dist/cjs/embeddable/chart/Bar.js +1 -1
  12. package/dist/cjs/embeddable/chart/Line.js +1 -1
  13. package/dist/cjs/embeddable/chart/data/Bar.js +1 -1
  14. package/dist/cjs/embeddable/chart/index.js +1 -1
  15. package/dist/cjs/embeddable/d3Map/BaseLayer.js +1 -1
  16. package/dist/cjs/embeddable/d3Map/BreaksStyles.js +1 -1
  17. package/dist/cjs/embeddable/d3Map/DataLayer.js +1 -1
  18. package/dist/cjs/embeddable/d3Map/FlowLayer.js +1 -1
  19. package/dist/cjs/embeddable/d3Map/GradientColors.js +1 -1
  20. package/dist/cjs/embeddable/d3Map/LatLongLayer.js +1 -1
  21. package/dist/cjs/embeddable/d3Map/Layer.js +1 -1
  22. package/dist/cjs/embeddable/d3Map/Legends.js +1 -1
  23. package/dist/cjs/embeddable/d3Map/ProjectedContainer.js +1 -1
  24. package/dist/cjs/embeddable/d3Map/Utils.js +1 -1
  25. package/dist/cjs/embeddable/d3Map/ZoomControl.js +1 -1
  26. package/dist/cjs/embeddable/d3Map/index.js +1 -1
  27. package/dist/cjs/embeddable/data/CategoriesProvider.js +1 -1
  28. package/dist/cjs/embeddable/data/D3MapDataConsumer.js +1 -0
  29. package/dist/cjs/embeddable/data/D3MapDataProvider.js +1 -0
  30. package/dist/cjs/embeddable/data/DataContext.js +1 -1
  31. package/dist/cjs/embeddable/data/DataProvider.js +1 -1
  32. package/dist/cjs/embeddable/data-paragraph/index.js +1 -0
  33. package/dist/cjs/embeddable/download/dom-to-image.js +2 -2
  34. package/dist/cjs/embeddable/download/index.js +5 -5
  35. package/dist/cjs/embeddable/filter/index.js +1 -1
  36. package/dist/cjs/embeddable/grouped-bars/GroupedBars.js +1 -0
  37. package/dist/cjs/embeddable/grouped-bars/index.js +1 -0
  38. package/dist/cjs/embeddable/index.js +1 -1
  39. package/dist/cjs/embeddable/posts-filter/CategoricalFilter.js +1 -1
  40. package/dist/cjs/embeddable/reducers/data-api.js +1 -1
  41. package/dist/cjs/embeddable/reducers/data.js +1 -1
  42. package/dist/cjs/embeddable/utils/common.js +1 -1
  43. package/dist/cjs/index.js +1 -1
  44. package/dist/cjs/layout/Customizer.js +1 -1
  45. package/dist/cjs/layout/containers/SlugPostContainer.js +1 -1
  46. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +1 -0
  47. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +1 -0
  48. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js +1 -0
  49. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +1 -0
  50. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +1 -0
  51. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +1 -0
  52. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +1 -0
  53. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js +1 -0
  54. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js +1 -0
  55. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +1 -0
  56. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +1 -0
  57. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +1 -0
  58. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js +1 -0
  59. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js +1 -0
  60. package/dist/cjs/styles.css +1 -1
  61. package/dist/esm/_virtual/_commonjsHelpers.js +8 -0
  62. package/dist/esm/_virtual/debounce.js +7 -0
  63. package/dist/esm/embeddable/big-filter/BigNumberGroup.js +129 -0
  64. package/dist/esm/embeddable/big-filter/BigNumberItem.js +107 -0
  65. package/dist/esm/embeddable/big-filter/DataProvider.js +53 -0
  66. package/dist/esm/embeddable/big-filter/index.js +130 -0
  67. package/dist/esm/embeddable/big-number/index.js +154 -102
  68. package/dist/esm/embeddable/big-number-trend/Alternative.js +227 -0
  69. package/dist/esm/embeddable/big-number-trend/Classic.js +190 -0
  70. package/dist/esm/embeddable/big-number-trend/index.js +12 -147
  71. package/dist/esm/embeddable/chart/Bar.js +450 -395
  72. package/dist/esm/embeddable/chart/Line.js +216 -184
  73. package/dist/esm/embeddable/chart/data/Bar.js +16 -18
  74. package/dist/esm/embeddable/chart/index.js +168 -162
  75. package/dist/esm/embeddable/d3Map/BaseLayer.js +25 -28
  76. package/dist/esm/embeddable/d3Map/BreaksStyles.js +17 -10
  77. package/dist/esm/embeddable/d3Map/DataLayer.js +290 -289
  78. package/dist/esm/embeddable/d3Map/FlowLayer.js +122 -136
  79. package/dist/esm/embeddable/d3Map/GradientColors.js +27 -20
  80. package/dist/esm/embeddable/d3Map/LatLongLayer.js +62 -62
  81. package/dist/esm/embeddable/d3Map/Layer.js +31 -27
  82. package/dist/esm/embeddable/d3Map/Legends.js +204 -190
  83. package/dist/esm/embeddable/d3Map/ProjectedContainer.js +1 -3
  84. package/dist/esm/embeddable/d3Map/Utils.js +12 -8
  85. package/dist/esm/embeddable/d3Map/ZoomControl.js +41 -41
  86. package/dist/esm/embeddable/d3Map/index.js +135 -117
  87. package/dist/esm/embeddable/data/CategoriesProvider.js +39 -26
  88. package/dist/esm/embeddable/data/D3MapDataConsumer.js +7 -0
  89. package/dist/esm/embeddable/data/D3MapDataProvider.js +83 -0
  90. package/dist/esm/embeddable/data/DataContext.js +2 -2
  91. package/dist/esm/embeddable/data/DataProvider.js +124 -55
  92. package/dist/esm/embeddable/data-paragraph/index.js +168 -0
  93. package/dist/esm/embeddable/download/dom-to-image.js +163 -148
  94. package/dist/esm/embeddable/download/index.js +102 -76
  95. package/dist/esm/embeddable/filter/index.js +335 -298
  96. package/dist/esm/embeddable/grouped-bars/GroupedBars.js +549 -0
  97. package/dist/esm/embeddable/grouped-bars/index.js +16 -0
  98. package/dist/esm/embeddable/index.js +33 -30
  99. package/dist/esm/embeddable/posts-filter/CategoricalFilter.js +18 -18
  100. package/dist/esm/embeddable/reducers/data-api.js +39 -35
  101. package/dist/esm/embeddable/reducers/data.js +141 -182
  102. package/dist/esm/embeddable/utils/common.js +3 -3
  103. package/dist/esm/index.js +111 -94
  104. package/dist/esm/layout/Customizer.js +10 -9
  105. package/dist/esm/layout/containers/SlugPostContainer.js +9 -8
  106. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +11 -0
  107. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +16 -0
  108. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js +14 -0
  109. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +11 -0
  110. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +21 -0
  111. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +13 -0
  112. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +11 -0
  113. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js +15 -0
  114. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/debounce.js +60 -0
  115. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +13 -0
  116. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +12 -0
  117. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +15 -0
  118. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js +13 -0
  119. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js +28 -0
  120. package/dist/esm/styles.css +1 -1
  121. package/dist/types/embeddable/big-filter/BigNumberGroup.d.ts +3 -0
  122. package/dist/types/embeddable/big-filter/BigNumberItem.d.ts +2 -0
  123. package/dist/types/embeddable/big-filter/DataProvider.d.ts +7 -0
  124. package/dist/types/embeddable/big-filter/index.d.ts +5 -0
  125. package/dist/types/embeddable/big-number-trend/Alternative.d.ts +5 -0
  126. package/dist/types/embeddable/big-number-trend/Classic.d.ts +5 -0
  127. package/dist/types/embeddable/big-number-trend/index.d.ts +2 -4
  128. package/dist/types/embeddable/chart/Bar.d.ts +3 -0
  129. package/dist/types/embeddable/chart/Line.d.ts +6 -0
  130. package/dist/types/embeddable/d3Map/GradientColors.d.ts +6 -2
  131. package/dist/types/embeddable/d3Map/Layer.d.ts +1 -1
  132. package/dist/types/embeddable/d3Map/Utils.d.ts +1 -1
  133. package/dist/types/embeddable/data/D3MapDataProvider.d.ts +7 -0
  134. package/dist/types/embeddable/data/index.d.ts +6 -0
  135. package/dist/types/embeddable/data-paragraph/index.d.ts +5 -0
  136. package/dist/types/embeddable/filter/index.d.ts +13 -1
  137. package/dist/types/embeddable/grouped-bars/GroupedBars.d.ts +5 -0
  138. package/dist/types/embeddable/grouped-bars/index.d.ts +3 -0
  139. package/dist/types/embeddable/reducers/data-api.d.ts +5 -0
  140. package/dist/types/embeddable/reducers/data.d.ts +16 -9
  141. package/dist/types/embeddable/utils/index.d.ts +1 -0
  142. package/dist/types/embeddable/utils/parseUtils.d.ts +0 -6
  143. package/dist/types/index.d.ts +6 -0
  144. package/dist/types/layout/Customizer.d.ts +1 -0
  145. package/dist/types/layout/containers/PageContainer.d.ts +8 -0
  146. package/dist/types/layout/containers/PostContainer.d.ts +0 -0
  147. package/dist/types/layout/index.d.ts +1 -0
  148. package/dist/types/utils/Logger.d.ts +1 -0
  149. package/package.json +3 -2
  150. /package/dist/types/embeddable/data/{DataConsumerMap.d.ts → D3MapDataConsumer.d.ts} +0 -0
package/dist/esm/index.js CHANGED
@@ -1,104 +1,121 @@
1
- import { components as n, customizer as s, getComponentByNameIgnoreCase as p, reducers as m } from "./embeddable/index.js";
2
- import { Config as l } from "./conf/index.js";
3
- import { default as u } from "./layout/ResponsiveContainer.js";
4
- import { default as c } from "./layout/ScrollTop.js";
5
- import { default as C } from "./layout/containers/PreviewPageContainer.js";
6
- import { default as P } from "./layout/containers/PreviewTypeContainer.js";
7
- import { default as h } from "./layout/containers/SlugContainer.js";
8
- import { default as v } from "./layout/containers/SlugPostContainer.js";
9
- import { CustomizerWrapper as A } from "./layout/Customizer.js";
10
- import { default as R } from "./layout/Layout.js";
11
- import { default as w } from "./layout/PreviewComponent.js";
12
- import { default as F } from "./layout/Favicon.js";
13
- import { default as M } from "./layout/SSRFavicon.js";
14
- import { default as O } from "./layout/Loading.js";
15
- import { default as D } from "./layout/CustomSemanticSearch.js";
16
- import { default as z } from "./layout/Header.js";
17
- import { default as K } from "./layout/SearchControl.js";
18
- import { default as V } from "./layout/LangSwitcher.js";
19
- import { default as _ } from "./layout/Footer.js";
20
- import { default as q } from "./layout/ClassicHeader.js";
21
- import { default as J } from "./layout/FlexWrapDetector.js";
22
- import { default as X } from "./layout/FloatingMenuHeader.js";
23
- import { withTracker as $ } from "./tracker/withGoogleAnalytics.js";
24
- import { clearInternalTrafficCookie as re, isInternalTrafficEnabled as oe, setInternalTrafficCookie as te, validateToken as ae } from "./tracker/internalTrafficUtils.js";
25
- import { default as ne } from "./tracker/InternalTrafficToggle.js";
26
- import { store as pe } from "./redux/store.js";
27
- import { useAppDispatch as ie, useAppSelector as le } from "./redux/hooks.js";
28
- import { UPDATE as ue, initialState as xe, intlReducer as ce, updateIntl as Te } from "./lib/react-intl-redux/index.js";
29
- import { combineReducers as ge } from "./lib/redux-immutable/index.js";
1
+ import { components as i, customizer as l, getComponentByNameIgnoreCase as d, reducers as x } from "./embeddable/index.js";
2
+ import { Config as c } from "./conf/index.js";
3
+ import { default as C } from "./layout/ResponsiveContainer.js";
4
+ import { default as P } from "./layout/ScrollTop.js";
5
+ import { default as h } from "./layout/containers/PreviewPageContainer.js";
6
+ import { default as I } from "./layout/containers/PreviewTypeContainer.js";
7
+ import { default as A } from "./layout/containers/SlugContainer.js";
8
+ import { default as D } from "./layout/containers/SlugPostContainer.js";
9
+ import { CustomizerWrapper as k } from "./layout/Customizer.js";
10
+ import { default as E } from "./layout/Layout.js";
11
+ import { default as L } from "./layout/PreviewComponent.js";
12
+ import { default as N } from "./layout/Favicon.js";
13
+ import { default as b } from "./layout/SSRFavicon.js";
14
+ import { default as z } from "./layout/Loading.js";
15
+ import { default as K } from "./layout/CustomSemanticSearch.js";
16
+ import { default as J } from "./layout/Header.js";
17
+ import { default as Y } from "./layout/SearchControl.js";
18
+ import { default as j } from "./layout/LangSwitcher.js";
19
+ import { default as G } from "./layout/Footer.js";
20
+ import { default as X } from "./layout/ClassicHeader.js";
21
+ import { default as $ } from "./layout/FlexWrapDetector.js";
22
+ import { default as re } from "./layout/FloatingMenuHeader.js";
23
+ import { withTracker as te } from "./tracker/withGoogleAnalytics.js";
24
+ import { clearInternalTrafficCookie as fe, isInternalTrafficEnabled as se, setInternalTrafficCookie as pe, validateToken as me } from "./tracker/internalTrafficUtils.js";
25
+ import { default as ie } from "./tracker/InternalTrafficToggle.js";
26
+ import { store as de } from "./redux/store.js";
27
+ import { useAppDispatch as ue, useAppSelector as ce } from "./redux/hooks.js";
28
+ import { UPDATE as Ce, initialState as ge, intlReducer as Pe, updateIntl as Se } from "./lib/react-intl-redux/index.js";
29
+ import { combineReducers as ve } from "./lib/redux-immutable/index.js";
30
30
  import * as e from "./translations/en.json.js";
31
31
  import * as r from "./translations/fr.json.js";
32
32
  import * as o from "./translations/af.json.js";
33
33
  import * as t from "./translations/am.json.js";
34
- import { COUNTRY_OPTIONS as Se } from "./countries.js";
35
- import { decodeHtmlEntitiesToHtml as Ie, decodeHtmlEntitiesToText as ve, stringToArray as ye, toBoolean as Ae, toNumber as He, uriStringToArray as Re } from "./utils/data.js";
36
- import { Media as we, MediaContextProvider as Ee, mediaStyle as Fe } from "./utils/AppMedia.js";
37
- import { getUnhandledProps as Me, htmlImageProps as Ne, htmlInputAttrs as Oe, htmlInputEvents as be, htmlInputProps as De, partitionHTMLProps as Ue, useKeyOnly as ze, useValueAndKey as Be } from "./utils/semanticUtils.js";
38
- import { default as We } from "./lib/react-intl-redux/providers/Provider.js";
39
- import { default as Ye } from "./lib/react-intl-redux/providers/IntlProvider.js";
34
+ import { COUNTRY_OPTIONS as ye } from "./countries.js";
35
+ import { decodeHtmlEntitiesToHtml as He, decodeHtmlEntitiesToText as De, stringToArray as Re, toBoolean as ke, toNumber as we, uriStringToArray as Ee } from "./utils/data.js";
36
+ import { Media as Le, MediaContextProvider as Me, mediaStyle as Ne } from "./utils/AppMedia.js";
37
+ import { getUnhandledProps as be, htmlImageProps as Ue, htmlInputAttrs as ze, htmlInputEvents as Be, htmlInputProps as Ke, partitionHTMLProps as We, useKeyOnly as Je, useValueAndKey as Ve } from "./utils/semanticUtils.js";
38
+ import { default as _e } from "./embeddable/data/DataConsumer.js";
39
+ import { default as qe } from "./embeddable/data/DataProvider.js";
40
+ import { CategoriesContext as Qe, DataContext as Xe, PostsContext as Ze } from "./embeddable/data/DataContext.js";
41
+ import "react/jsx-runtime";
42
+ import "react";
43
+ import "./embeddable/data/CategoriesProvider.js";
44
+ import { compareJsonProps as er, decode as rr, parse as or } from "./embeddable/utils/parseUtils.js";
45
+ import * as p from "./embeddable/reducers/data.js";
46
+ import { default as ar } from "./lib/react-intl-redux/providers/Provider.js";
47
+ import { default as sr } from "./lib/react-intl-redux/providers/IntlProvider.js";
40
48
  export {
41
- Se as COUNTRY_OPTIONS,
42
- q as ClassicHeader,
43
- l as Config,
44
- D as CustomSemanticSearch,
45
- A as CustomizerWrapper,
46
- F as Favicon,
47
- J as FlexWrapDetector,
48
- X as FloatingMenuHeader,
49
- _ as Footer,
50
- z as Header,
51
- ne as InternalTrafficToggle,
52
- Ye as IntlProvider,
53
- V as LangSwitcher,
54
- O as Loading,
55
- we as Media,
56
- Ee as MediaContextProvider,
57
- w as PreviewComponent,
58
- C as PreviewPageContainer,
59
- P as PreviewTypeContainer,
60
- We as Provider,
61
- u as ResponsiveContainer,
62
- R as RootLayout,
63
- M as SSRFavicon,
64
- c as ScrollToTop,
65
- K as SearchControl,
66
- h as SlugContainer,
67
- v as SlugPostContainer,
68
- ue as UPDATE,
49
+ ye as COUNTRY_OPTIONS,
50
+ Qe as CategoriesContext,
51
+ X as ClassicHeader,
52
+ c as Config,
53
+ K as CustomSemanticSearch,
54
+ k as CustomizerWrapper,
55
+ _e as DataConsumer,
56
+ Xe as DataContext,
57
+ qe as DataProvider,
58
+ N as Favicon,
59
+ $ as FlexWrapDetector,
60
+ re as FloatingMenuHeader,
61
+ G as Footer,
62
+ J as Header,
63
+ ie as InternalTrafficToggle,
64
+ sr as IntlProvider,
65
+ j as LangSwitcher,
66
+ z as Loading,
67
+ Le as Media,
68
+ Me as MediaContextProvider,
69
+ Ze as PostsContext,
70
+ L as PreviewComponent,
71
+ h as PreviewPageContainer,
72
+ I as PreviewTypeContainer,
73
+ ar as Provider,
74
+ C as ResponsiveContainer,
75
+ E as RootLayout,
76
+ b as SSRFavicon,
77
+ P as ScrollToTop,
78
+ Y as SearchControl,
79
+ A as SlugContainer,
80
+ D as SlugPostContainer,
81
+ Ce as UPDATE,
69
82
  o as afrikaansTranslations,
70
83
  t as amharicTranslations,
71
- re as clearInternalTrafficCookie,
72
- ge as combineReducers,
73
- n as components,
74
- s as customizer,
75
- Ie as decodeHtmlEntitiesToHtml,
76
- ve as decodeHtmlEntitiesToText,
84
+ fe as clearInternalTrafficCookie,
85
+ ve as combineReducers,
86
+ er as compareJsonProps,
87
+ i as components,
88
+ l as customizer,
89
+ rr as decode,
90
+ He as decodeHtmlEntitiesToHtml,
91
+ De as decodeHtmlEntitiesToText,
77
92
  e as englishTranslations,
78
93
  r as frenchTranslations,
79
- p as getComponentByNameIgnoreCase,
80
- Me as getUnhandledProps,
81
- Ne as htmlImageProps,
82
- Oe as htmlInputAttrs,
83
- be as htmlInputEvents,
84
- De as htmlInputProps,
85
- xe as initialState,
86
- ce as intlReducer,
87
- oe as isInternalTrafficEnabled,
88
- Fe as mediaStyle,
89
- Ue as partitionHTMLProps,
90
- m as reducers,
91
- te as setInternalTrafficCookie,
92
- pe as store,
93
- ye as stringToArray,
94
- Ae as toBoolean,
95
- He as toNumber,
96
- Te as updateIntl,
97
- Re as uriStringToArray,
98
- ie as useAppDispatch,
99
- le as useAppSelector,
100
- ze as useKeyOnly,
101
- Be as useValueAndKey,
102
- ae as validateToken,
103
- $ as withTracker
94
+ d as getComponentByNameIgnoreCase,
95
+ be as getUnhandledProps,
96
+ Ue as htmlImageProps,
97
+ ze as htmlInputAttrs,
98
+ Be as htmlInputEvents,
99
+ Ke as htmlInputProps,
100
+ ge as initialState,
101
+ Pe as intlReducer,
102
+ se as isInternalTrafficEnabled,
103
+ Ne as mediaStyle,
104
+ or as parse,
105
+ We as partitionHTMLProps,
106
+ p as reducer,
107
+ x as reducers,
108
+ pe as setInternalTrafficCookie,
109
+ de as store,
110
+ Re as stringToArray,
111
+ ke as toBoolean,
112
+ we as toNumber,
113
+ Se as updateIntl,
114
+ Ee as uriStringToArray,
115
+ ue as useAppDispatch,
116
+ ce as useAppSelector,
117
+ Je as useKeyOnly,
118
+ Ve as useValueAndKey,
119
+ me as validateToken,
120
+ te as withTracker
104
121
  };
@@ -1,23 +1,24 @@
1
- import i, { useState as c, useRef as p, useEffect as g } from "react";
1
+ import i, { useState as c, useRef as l, useEffect as p } from "react";
2
2
  const o = {
3
3
  blogname: "name",
4
4
  custom_logo: "site_logo"
5
- }, d = (n) => {
6
- const [m, u] = c(n.settings), s = p({}), a = (r) => {
5
+ }, d = (s) => {
6
+ const [m, u] = c(s.settings), n = l({}), a = (r) => {
7
7
  const e = r.data;
8
8
  if (e.messageType && e.messageType === "partial-update") {
9
- const t = s.current;
10
- o[e.property] ? t[o[e.property]] = e.value : e.property.indexOf("menu") > -1 && (t.menu_settings || (t.menu_settings = {}), t.menu_settings[e.property] = e.value), s.current = t, u({ ...s.current, random: Math.random() });
9
+ const t = n.current;
10
+ o[e.property] ? t[o[e.property]] = e.value : e.property.indexOf("menu") > -1 && (t.menu_settings || (t.menu_settings = {}), t.menu_settings[e.property] = e.value), n.current = t, u({ ...n.current, random: Math.random() });
11
11
  }
12
12
  };
13
- return g(() => (window.addEventListener("message", a, !1), () => {
13
+ return p(() => (window.addEventListener("message", a, !1), () => {
14
14
  window.removeEventListener("message", a);
15
- }), []), i.Children.map(n.children, (r, e) => i.cloneElement(r, {
16
- ...n,
15
+ }), []), i.Children.map(s.children, (r, e) => i.cloneElement(r, {
16
+ ...s,
17
17
  settings: { ...m },
18
18
  key: `customizer-child-${e}`
19
19
  }));
20
20
  };
21
21
  export {
22
- d as CustomizerWrapper
22
+ d as CustomizerWrapper,
23
+ d as default
23
24
  };
@@ -1,20 +1,21 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useParams as P } from "react-router";
3
- import s from "../ResponsiveContainer.js";
4
- import { Post as i, PostProvider as u, PostConsumer as f } from "@devgateway/wp-react-lib";
3
+ import i from "../ResponsiveContainer.js";
4
+ import { Post as l, PostProvider as p, PostConsumer as u } from "@devgateway/wp-react-lib";
5
5
  const v = ({ header: e, footer: t, posts: r } = {}) => {
6
- const { lan: l, slug: n, parent: a, year: c, month: d, day: m } = P();
7
- return r ? /* @__PURE__ */ o(s, { header: e, footer: t, children: /* @__PURE__ */ o(i, { posts: typeof r == "object" ? [r] : r }) }) : (console.log("SlugPostContainer falling back to PostProvider"), /* @__PURE__ */ o(
8
- u,
6
+ const { lan: a, slug: n, parent: s, year: c, month: d, day: m } = P();
7
+ return r ? /* @__PURE__ */ o(i, { header: e, footer: t, children: /* @__PURE__ */ o(l, { posts: typeof r == "object" ? [r] : r }) }) : (console.log("SlugPostContainer falling back to PostProvider"), /* @__PURE__ */ o(
8
+ p,
9
9
  {
10
+ type: s,
10
11
  slug: n,
11
12
  store: n,
12
- locale: l,
13
- type: a,
13
+ locale: a,
14
+ type: s,
14
15
  year: c,
15
16
  month: d,
16
17
  day: m,
17
- children: /* @__PURE__ */ o(s, { header: e, footer: t, children: /* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(i, {}) }) })
18
+ children: /* @__PURE__ */ o(i, { header: e, footer: t, children: /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(l, {}) }) })
18
19
  }
19
20
  ));
20
21
  };
@@ -0,0 +1,11 @@
1
+ import { __require as u } from "./_root.js";
2
+ var r, e;
3
+ function a() {
4
+ if (e) return r;
5
+ e = 1;
6
+ var o = u(), i = o.Symbol;
7
+ return r = i, r;
8
+ }
9
+ export {
10
+ a as __require
11
+ };
@@ -0,0 +1,16 @@
1
+ import { __require as T } from "./_Symbol.js";
2
+ import { __require as b } from "./_getRawTag.js";
3
+ import { __require as f } from "./_objectToString.js";
4
+ var r, n;
5
+ function q() {
6
+ if (n) return r;
7
+ n = 1;
8
+ var t = T(), a = b(), o = f(), u = "[object Null]", g = "[object Undefined]", i = t ? t.toStringTag : void 0;
9
+ function _(e) {
10
+ return e == null ? e === void 0 ? g : u : i && i in Object(e) ? a(e) : o(e);
11
+ }
12
+ return r = _, r;
13
+ }
14
+ export {
15
+ q as __require
16
+ };
@@ -0,0 +1,14 @@
1
+ import { __require as n } from "./_trimmedEndIndex.js";
2
+ var e, i;
3
+ function _() {
4
+ if (i) return e;
5
+ i = 1;
6
+ var a = n(), m = /^\s+/;
7
+ function u(r) {
8
+ return r && r.slice(0, a(r) + 1).replace(m, "");
9
+ }
10
+ return e = u, e;
11
+ }
12
+ export {
13
+ _ as __require
14
+ };
@@ -0,0 +1,11 @@
1
+ import { commonjsGlobal as e } from "../../../../../_virtual/_commonjsHelpers.js";
2
+ var r, o;
3
+ function t() {
4
+ if (o) return r;
5
+ o = 1;
6
+ var a = typeof e == "object" && e && e.Object === Object && e;
7
+ return r = a, r;
8
+ }
9
+ export {
10
+ t as __require
11
+ };
@@ -0,0 +1,21 @@
1
+ import { __require as _ } from "./_Symbol.js";
2
+ var t, n;
3
+ function d() {
4
+ if (n) return t;
5
+ n = 1;
6
+ var a = _(), i = Object.prototype, o = i.hasOwnProperty, g = i.toString, e = a ? a.toStringTag : void 0;
7
+ function c(r) {
8
+ var s = o.call(r, e), u = r[e];
9
+ try {
10
+ r[e] = void 0;
11
+ var f = !0;
12
+ } catch {
13
+ }
14
+ var T = g.call(r);
15
+ return f && (s ? r[e] = u : delete r[e]), T;
16
+ }
17
+ return t = c, t;
18
+ }
19
+ export {
20
+ d as __require
21
+ };
@@ -0,0 +1,13 @@
1
+ var r, t;
2
+ function c() {
3
+ if (t) return r;
4
+ t = 1;
5
+ var e = Object.prototype, o = e.toString;
6
+ function n(i) {
7
+ return o.call(i);
8
+ }
9
+ return r = n, r;
10
+ }
11
+ export {
12
+ c as __require
13
+ };
@@ -0,0 +1,11 @@
1
+ import { __require as a } from "./_freeGlobal.js";
2
+ var r, e;
3
+ function u() {
4
+ if (e) return r;
5
+ e = 1;
6
+ var o = a(), t = typeof self == "object" && self && self.Object === Object && self, f = o || t || Function("return this")();
7
+ return r = f, r;
8
+ }
9
+ export {
10
+ u as __require
11
+ };
@@ -0,0 +1,15 @@
1
+ var r, d;
2
+ function a() {
3
+ if (d) return r;
4
+ d = 1;
5
+ var t = /\s/;
6
+ function i(n) {
7
+ for (var e = n.length; e-- && t.test(n.charAt(e)); )
8
+ ;
9
+ return e;
10
+ }
11
+ return r = i, r;
12
+ }
13
+ export {
14
+ a as __require
15
+ };
@@ -0,0 +1,60 @@
1
+ import { __require as j } from "./isObject.js";
2
+ import { __require as A } from "./now.js";
3
+ import { __require as D } from "./toNumber.js";
4
+ var h, p;
5
+ function z() {
6
+ if (p) return h;
7
+ p = 1;
8
+ var W = j(), v = A(), b = D(), C = "Expected a function", L = Math.max, M = Math.min;
9
+ function N(q, r, u) {
10
+ var a, o, l, f, n, t, d = 0, x = !1, c = !1, g = !0;
11
+ if (typeof q != "function")
12
+ throw new TypeError(C);
13
+ r = b(r) || 0, W(u) && (x = !!u.leading, c = "maxWait" in u, l = c ? L(b(u.maxWait) || 0, r) : l, g = "trailing" in u ? !!u.trailing : g);
14
+ function T(e) {
15
+ var i = a, m = o;
16
+ return a = o = void 0, d = e, f = q.apply(m, i), f;
17
+ }
18
+ function R(e) {
19
+ return d = e, n = setTimeout(s, r), x ? T(e) : f;
20
+ }
21
+ function S(e) {
22
+ var i = e - t, m = e - d, k = r - i;
23
+ return c ? M(k, l - m) : k;
24
+ }
25
+ function E(e) {
26
+ var i = e - t, m = e - d;
27
+ return t === void 0 || i >= r || i < 0 || c && m >= l;
28
+ }
29
+ function s() {
30
+ var e = v();
31
+ if (E(e))
32
+ return I(e);
33
+ n = setTimeout(s, S(e));
34
+ }
35
+ function I(e) {
36
+ return n = void 0, g && a ? T(e) : (a = o = void 0, f);
37
+ }
38
+ function y() {
39
+ n !== void 0 && clearTimeout(n), d = 0, a = t = o = n = void 0;
40
+ }
41
+ function O() {
42
+ return n === void 0 ? f : I(v());
43
+ }
44
+ function _() {
45
+ var e = v(), i = E(e);
46
+ if (a = arguments, o = this, t = e, i) {
47
+ if (n === void 0)
48
+ return R(t);
49
+ if (c)
50
+ return clearTimeout(n), n = setTimeout(s, r), T(t);
51
+ }
52
+ return n === void 0 && (n = setTimeout(s, r)), f;
53
+ }
54
+ return _.cancel = y, _.flush = O, _;
55
+ }
56
+ return h = N, h;
57
+ }
58
+ export {
59
+ z as __require
60
+ };
@@ -0,0 +1,13 @@
1
+ var e, n;
2
+ function u() {
3
+ if (n) return e;
4
+ n = 1;
5
+ function i(r) {
6
+ var t = typeof r;
7
+ return r != null && (t == "object" || t == "function");
8
+ }
9
+ return e = i, e;
10
+ }
11
+ export {
12
+ u as __require
13
+ };
@@ -0,0 +1,12 @@
1
+ var e, i;
2
+ function n() {
3
+ if (i) return e;
4
+ i = 1;
5
+ function t(r) {
6
+ return r != null && typeof r == "object";
7
+ }
8
+ return e = t, e;
9
+ }
10
+ export {
11
+ n as __require
12
+ };
@@ -0,0 +1,15 @@
1
+ import { __require as a } from "./_baseGetTag.js";
2
+ import { __require as m } from "./isObjectLike.js";
3
+ var e, i;
4
+ function _() {
5
+ if (i) return e;
6
+ i = 1;
7
+ var o = a(), s = m(), t = "[object Symbol]";
8
+ function b(r) {
9
+ return typeof r == "symbol" || s(r) && o(r) == t;
10
+ }
11
+ return e = b, e;
12
+ }
13
+ export {
14
+ _ as __require
15
+ };
@@ -0,0 +1,13 @@
1
+ import { __require as t } from "./_root.js";
2
+ var r, e;
3
+ function i() {
4
+ if (e) return r;
5
+ e = 1;
6
+ var o = t(), n = function() {
7
+ return o.Date.now();
8
+ };
9
+ return r = n, r;
10
+ }
11
+ export {
12
+ i as __require
13
+ };
@@ -0,0 +1,28 @@
1
+ import { __require as c } from "./_baseTrim.js";
2
+ import { __require as u } from "./isObject.js";
3
+ import { __require as y } from "./isSymbol.js";
4
+ var e, n;
5
+ function T() {
6
+ if (n) return e;
7
+ n = 1;
8
+ var o = c(), t = u(), m = y(), s = NaN, b = /^[-+]0x[0-9a-f]+$/i, _ = /^0b[01]+$/i, q = /^0o[0-7]+$/i, a = parseInt;
9
+ function p(r) {
10
+ if (typeof r == "number")
11
+ return r;
12
+ if (m(r))
13
+ return s;
14
+ if (t(r)) {
15
+ var i = typeof r.valueOf == "function" ? r.valueOf() : r;
16
+ r = t(i) ? i + "" : i;
17
+ }
18
+ if (typeof r != "string")
19
+ return r === 0 ? r : +r;
20
+ r = o(r);
21
+ var f = _.test(r);
22
+ return f || q.test(r) ? a(r.slice(2), f ? 2 : 8) : b.test(r) ? s : +r;
23
+ }
24
+ return e = p, e;
25
+ }
26
+ export {
27
+ T as __require
28
+ };