@ebay/muse-lib-react 1.3.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 (94) hide show
  1. package/README.md +19 -0
  2. package/build/dev/asset-manifest.json +11 -0
  3. package/build/dev/favicon.png +0 -0
  4. package/build/dev/lib-manifest.json +3374 -0
  5. package/build/dev/main.js +75839 -0
  6. package/build/dev/main.js.map +1 -0
  7. package/build/dev/muse.d.ts +170 -0
  8. package/build/dev/static/media/logo.b23b880b0dac2229042c.png +0 -0
  9. package/build/dev/static/media/subAppLoading2.bf08007b83457287ade1cedb71bc70f7.svg +7 -0
  10. package/build/dist/asset-manifest.json +11 -0
  11. package/build/dist/favicon.png +0 -0
  12. package/build/dist/lib-manifest.json +3603 -0
  13. package/build/dist/main.js +3 -0
  14. package/build/dist/main.js.LICENSE.txt +134 -0
  15. package/build/dist/main.js.map +1 -0
  16. package/build/dist/muse.d.ts +170 -0
  17. package/build/dist/static/media/logo.b23b880b0dac2229042c.png +0 -0
  18. package/build/dist/static/media/subAppLoading2.bf08007b83457287ade1cedb71bc70f7.svg +7 -0
  19. package/build/test/asset-manifest.json +11 -0
  20. package/build/test/favicon.png +0 -0
  21. package/build/test/lib-manifest.json +3587 -0
  22. package/build/test/main.js +3 -0
  23. package/build/test/main.js.LICENSE.txt +134 -0
  24. package/build/test/main.js.map +1 -0
  25. package/build/test/muse.d.ts +170 -0
  26. package/build/test/static/media/logo.b23b880b0dac2229042c.png +0 -0
  27. package/build/test/static/media/subAppLoading2.bf08007b83457287ade1cedb71bc70f7.svg +7 -0
  28. package/package.json +88 -0
  29. package/src/Root.js +195 -0
  30. package/src/common/configStore.js +40 -0
  31. package/src/common/history.js +25 -0
  32. package/src/common/rootReducer.js +40 -0
  33. package/src/common/routeConfig.js +135 -0
  34. package/src/common/store.js +21 -0
  35. package/src/features/common/ErrorBoundary.js +24 -0
  36. package/src/features/common/ErrorBoundary.less +6 -0
  37. package/src/features/common/Nodes.js +20 -0
  38. package/src/features/common/PageNotFound.js +3 -0
  39. package/src/features/common/PageNotFound.less +6 -0
  40. package/src/features/common/index.js +4 -0
  41. package/src/features/common/redux/actions.js +0 -0
  42. package/src/features/common/redux/constants.js +0 -0
  43. package/src/features/common/redux/initialState.js +12 -0
  44. package/src/features/common/redux/reducer.js +24 -0
  45. package/src/features/common/route.js +9 -0
  46. package/src/features/common/style.less +3 -0
  47. package/src/features/common/useExtPoint.js +28 -0
  48. package/src/features/common/utils.js +20 -0
  49. package/src/features/home/App.js +33 -0
  50. package/src/features/home/App.less +11 -0
  51. package/src/features/home/Homepage.js +46 -0
  52. package/src/features/home/Homepage.less +63 -0
  53. package/src/features/home/index.js +2 -0
  54. package/src/features/home/redux/actions.js +0 -0
  55. package/src/features/home/redux/constants.js +0 -0
  56. package/src/features/home/redux/initialState.js +4 -0
  57. package/src/features/home/redux/reducer.js +16 -0
  58. package/src/features/home/route.js +6 -0
  59. package/src/features/home/style.less +3 -0
  60. package/src/features/sub-app/C2SProxyFailed.js +10 -0
  61. package/src/features/sub-app/C2SProxyFailed.less +19 -0
  62. package/src/features/sub-app/FixedSubAppContainer.js +142 -0
  63. package/src/features/sub-app/FixedSubAppContainer.less +12 -0
  64. package/src/features/sub-app/LoadingSkeleton.js +21 -0
  65. package/src/features/sub-app/LoadingSkeleton.less +20 -0
  66. package/src/features/sub-app/SubAppContainer.js +203 -0
  67. package/src/features/sub-app/SubAppContainer.less +29 -0
  68. package/src/features/sub-app/SubAppContext.js +4 -0
  69. package/src/features/sub-app/hooks/useParentRouteChange.js +23 -0
  70. package/src/features/sub-app/index.js +5 -0
  71. package/src/features/sub-app/redux/actions.js +1 -0
  72. package/src/features/sub-app/redux/constants.js +2 -0
  73. package/src/features/sub-app/redux/hooks.js +1 -0
  74. package/src/features/sub-app/redux/initialState.js +12 -0
  75. package/src/features/sub-app/redux/reducer.js +25 -0
  76. package/src/features/sub-app/redux/setSubAppState.js +43 -0
  77. package/src/features/sub-app/route.js +43 -0
  78. package/src/features/sub-app/style.less +5 -0
  79. package/src/features/sub-app/subAppLoading.svg +7 -0
  80. package/src/features/sub-app/subAppLoading2.html +83 -0
  81. package/src/features/sub-app/subAppLoading2.svg +7 -0
  82. package/src/features/sub-app/subAppLoading3.svg +7 -0
  83. package/src/features/sub-app/subAppLoading4.svg +7 -0
  84. package/src/features/sub-app/urlUtils.js +101 -0
  85. package/src/images/logo.png +0 -0
  86. package/src/index.css +3 -0
  87. package/src/index.js +41 -0
  88. package/src/muse-ext.d.ts +1 -0
  89. package/src/muse.d.ts +163 -0
  90. package/src/react-app-env.d.ts +1 -0
  91. package/src/styles/global.less +9 -0
  92. package/src/styles/index.less +5 -0
  93. package/src/styles/mixins.less +0 -0
  94. package/src/utils.js +26 -0
@@ -0,0 +1,134 @@
1
+ /*!
2
+ * JavaScript Cookie v2.2.1
3
+ * https://github.com/js-cookie/js-cookie
4
+ *
5
+ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6
+ * Released under the MIT license
7
+ */
8
+
9
+ /*!
10
+ * screenfull
11
+ * v5.2.0 - 2021-11-03
12
+ * (c) Sindre Sorhus; MIT License
13
+ */
14
+
15
+ /**
16
+ * @license
17
+ * Lodash <https://lodash.com/>
18
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
19
+ * Released under MIT license <https://lodash.com/license>
20
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
21
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
22
+ */
23
+
24
+ /**
25
+ * @license React
26
+ * react-dom.production.min.js
27
+ *
28
+ * Copyright (c) Facebook, Inc. and its affiliates.
29
+ *
30
+ * This source code is licensed under the MIT license found in the
31
+ * LICENSE file in the root directory of this source tree.
32
+ */
33
+
34
+ /**
35
+ * @license React
36
+ * react-is.production.min.js
37
+ *
38
+ * Copyright (c) Facebook, Inc. and its affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */
43
+
44
+ /**
45
+ * @license React
46
+ * react-jsx-runtime.production.min.js
47
+ *
48
+ * Copyright (c) Facebook, Inc. and its affiliates.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ */
53
+
54
+ /**
55
+ * @license React
56
+ * react.production.min.js
57
+ *
58
+ * Copyright (c) Facebook, Inc. and its affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */
63
+
64
+ /**
65
+ * @license React
66
+ * scheduler.production.min.js
67
+ *
68
+ * Copyright (c) Facebook, Inc. and its affiliates.
69
+ *
70
+ * This source code is licensed under the MIT license found in the
71
+ * LICENSE file in the root directory of this source tree.
72
+ */
73
+
74
+ /**
75
+ * @license React
76
+ * use-sync-external-store-shim.production.js
77
+ *
78
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
79
+ *
80
+ * This source code is licensed under the MIT license found in the
81
+ * LICENSE file in the root directory of this source tree.
82
+ */
83
+
84
+ /**
85
+ * @license React
86
+ * use-sync-external-store-shim/with-selector.production.js
87
+ *
88
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ */
93
+
94
+ /**
95
+ * @remix-run/router v1.8.0
96
+ *
97
+ * Copyright (c) Remix Software Inc.
98
+ *
99
+ * This source code is licensed under the MIT license found in the
100
+ * LICENSE.md file in the root directory of this source tree.
101
+ *
102
+ * @license MIT
103
+ */
104
+
105
+ /**
106
+ * React Router DOM v6.15.0
107
+ *
108
+ * Copyright (c) Remix Software Inc.
109
+ *
110
+ * This source code is licensed under the MIT license found in the
111
+ * LICENSE.md file in the root directory of this source tree.
112
+ *
113
+ * @license MIT
114
+ */
115
+
116
+ /**
117
+ * React Router v6.15.0
118
+ *
119
+ * Copyright (c) Remix Software Inc.
120
+ *
121
+ * This source code is licensed under the MIT license found in the
122
+ * LICENSE.md file in the root directory of this source tree.
123
+ *
124
+ * @license MIT
125
+ */
126
+
127
+ /** @license React v16.13.1
128
+ * react-is.production.min.js
129
+ *
130
+ * Copyright (c) Facebook, Inc. and its affiliates.
131
+ *
132
+ * This source code is licensed under the MIT license found in the
133
+ * LICENSE file in the root directory of this source tree.
134
+ */