1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | import * as reduxForCreateStore from './React/redux'
|
12 | export { reduxForCreateStore }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export { default as extend } from "__KOOT_HOC_EXTEND__"
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export { default as pageinfo } from "__KOOT_HOC_PAGEINFO__"
|
25 |
|
26 |
|
27 | export const localeId = (() => {
|
28 | if (__CLIENT__)
|
29 | return window.LocaleId || ''
|
30 | if (__SERVER__) {
|
31 | if (typeof LocaleId === 'undefined')
|
32 | return ''
|
33 | return LocaleId || ''
|
34 | }
|
35 | })()
|
36 | export const store = (() => {
|
37 | if (__CLIENT__)
|
38 | return window.Store
|
39 | if (__SERVER__) {
|
40 | if (typeof Store === 'undefined')
|
41 | return ''
|
42 | return Store
|
43 | }
|
44 | })()
|
45 | export const history = (() => {
|
46 | if (__CLIENT__)
|
47 | return window.History
|
48 | if (__SERVER__) {
|
49 | if (typeof History === 'undefined')
|
50 | return ''
|
51 | return History
|
52 | }
|
53 | })()
|