eservices-core 1.0.466 → 1.0.467

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 (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.466
2
+ * eservices-core v1.0.467
3
3
  * (c) 2023 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -3082,7 +3082,7 @@ function useProvideList(list, defaultConfig) {
3082
3082
  return data;
3083
3083
  if (!list || !defaultConfig)
3084
3084
  throw new Error(`Hook useProvideList has two required params: list and defaultConfig`);
3085
- const reactiveConfig = vue.reactive([]);
3085
+ const reactiveConfig = vue.reactive(defaultConfig);
3086
3086
  const listConfigurator = new ListConfig(defaultConfig);
3087
3087
  listConfigurator.on(ListConfig.EVENT_DATA, (a) => reactiveConfig.splice(0, reactiveConfig.length, ...a));
3088
3088
  function setConfig(newConfig) {
@@ -3092,6 +3092,7 @@ function useProvideList(list, defaultConfig) {
3092
3092
  config: vue.readonly(reactiveConfig), list,
3093
3093
  setConfig
3094
3094
  };
3095
+ vue.provide(PROVIDE_NAME, returnedValues);
3095
3096
  return returnedValues;
3096
3097
  }
3097
3098
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.466",
3
+ "version": "1.0.467",
4
4
  "description": "Core library",
5
5
  "author": "",
6
6
  "scripts": {