@deanwu/vue-component-library 1.0.18 → 1.0.19

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.
@@ -1599,6 +1599,18 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1599
1599
  /******/ }
1600
1600
  /******/
1601
1601
  /************************************************************************/
1602
+ /******/ /* webpack/runtime/compat get default export */
1603
+ /******/ !function() {
1604
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
1605
+ /******/ __webpack_require__.n = function(module) {
1606
+ /******/ var getter = module && module.__esModule ?
1607
+ /******/ function() { return module['default']; } :
1608
+ /******/ function() { return module; };
1609
+ /******/ __webpack_require__.d(getter, { a: getter });
1610
+ /******/ return getter;
1611
+ /******/ };
1612
+ /******/ }();
1613
+ /******/
1602
1614
  /******/ /* webpack/runtime/define property getters */
1603
1615
  /******/ !function() {
1604
1616
  /******/ // define getter functions for harmony exports
@@ -2244,32 +2256,29 @@ var radiovue_type_template_id_07d956d7_scoped_true_render = function render() {
2244
2256
  };
2245
2257
  var radiovue_type_template_id_07d956d7_scoped_true_staticRenderFns = [];
2246
2258
 
2259
+ ;// CONCATENATED MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
2260
+ var external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject = require("vue");
2261
+ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject);
2247
2262
  ;// CONCATENATED MODULE: ./src/components/createStore.js
2248
- // import Vue from 'vue'
2249
2263
 
2250
2264
  function createStore(data) {
2251
- return {
2252
- commit: function () {}
2253
- };
2254
- // return new (Vue.extend({
2255
- // data() {
2256
- // return data
2257
- // },
2258
-
2259
- // methods: {
2260
- // commit(key, data) {
2261
- // this[key] = data;
2262
- // }
2263
- // }
2264
- // }))
2265
+ return new (external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
2266
+ data() {
2267
+ return data;
2268
+ },
2269
+ methods: {
2270
+ commit(key, data) {
2271
+ this[key] = data;
2272
+ }
2273
+ }
2274
+ }))();
2265
2275
  }
2266
-
2267
2276
  function mapState(data) {
2268
2277
  const res = {};
2269
2278
  data.forEach(key => {
2270
2279
  res[key] = {
2271
2280
  get() {
2272
- return '';
2281
+ return this.store[key];
2273
2282
  },
2274
2283
  set() {}
2275
2284
  };
@@ -4201,7 +4210,6 @@ var preview_component = normalizeComponent(
4201
4210
 
4202
4211
 
4203
4212
 
4204
-
4205
4213
  // import Editor from './unit/editor.vue'
4206
4214
 
4207
4215