ywana-core8 0.0.282 → 0.0.283

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.
@@ -4438,6 +4438,10 @@ var CreateContentDialog = function CreateContentDialog(_ref) {
4438
4438
  }));
4439
4439
  };
4440
4440
 
4441
+ /**
4442
+ * Collection Page
4443
+ */
4444
+
4441
4445
  function _catch$1(body, recover) {
4442
4446
  try {
4443
4447
  var result = body();
@@ -4451,12 +4455,11 @@ function _catch$1(body, recover) {
4451
4455
 
4452
4456
  return result;
4453
4457
  }
4454
-
4455
- var http = HTTPClient(window.API || process.env.REACT_APP_API, Session);
4456
4458
  /**
4457
- * Collection Page
4459
+ * Collection List
4458
4460
  */
4459
4461
 
4462
+
4460
4463
  var CollectionPage = function CollectionPage(props) {
4461
4464
  var reload = function reload() {
4462
4465
  try {
@@ -4566,9 +4569,6 @@ var CollectionPage = function CollectionPage(props) {
4566
4569
  delay: delay
4567
4570
  })));
4568
4571
  };
4569
- /**
4570
- * Collection List
4571
- */
4572
4572
 
4573
4573
  var CollectionList = function CollectionList(props) {
4574
4574
  var select = function select(id) {
@@ -4818,7 +4818,7 @@ var CollectionEditor = function CollectionEditor(props) {
4818
4818
  */
4819
4819
 
4820
4820
 
4821
- var CollectionContext = function CollectionContext(url, field) {
4821
+ var CollectionContext = function CollectionContext(url, field, host) {
4822
4822
  var API = CollectionAPI(url);
4823
4823
  return {
4824
4824
  all: [],
@@ -4941,6 +4941,7 @@ var CollectionContext = function CollectionContext(url, field) {
4941
4941
  */
4942
4942
 
4943
4943
  var CollectionAPI = function CollectionAPI(url) {
4944
+ var http = HTTPClient(host || window.API || process.env.REACT_APP_API, Session);
4944
4945
  return {
4945
4946
  all: function all(filters) {
4946
4947
  var queryParams = "?";