meixioacomponent 0.3.77 → 0.3.80

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.
@@ -11208,1183 +11208,6 @@ module.exports = function isCancel(value) {
11208
11208
  };
11209
11209
 
11210
11210
 
11211
- /***/ }),
11212
-
11213
- /***/ "2f62":
11214
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
11215
-
11216
- "use strict";
11217
- /* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export Store */
11218
- /* unused harmony export createLogger */
11219
- /* unused harmony export createNamespacedHelpers */
11220
- /* unused harmony export install */
11221
- /* unused harmony export mapActions */
11222
- /* unused harmony export mapGetters */
11223
- /* unused harmony export mapMutations */
11224
- /* unused harmony export mapState */
11225
- /*!
11226
- * vuex v3.6.2
11227
- * (c) 2021 Evan You
11228
- * @license MIT
11229
- */
11230
- function applyMixin (Vue) {
11231
- var version = Number(Vue.version.split('.')[0]);
11232
-
11233
- if (version >= 2) {
11234
- Vue.mixin({ beforeCreate: vuexInit });
11235
- } else {
11236
- // override init and inject vuex init procedure
11237
- // for 1.x backwards compatibility.
11238
- var _init = Vue.prototype._init;
11239
- Vue.prototype._init = function (options) {
11240
- if ( options === void 0 ) options = {};
11241
-
11242
- options.init = options.init
11243
- ? [vuexInit].concat(options.init)
11244
- : vuexInit;
11245
- _init.call(this, options);
11246
- };
11247
- }
11248
-
11249
- /**
11250
- * Vuex init hook, injected into each instances init hooks list.
11251
- */
11252
-
11253
- function vuexInit () {
11254
- var options = this.$options;
11255
- // store injection
11256
- if (options.store) {
11257
- this.$store = typeof options.store === 'function'
11258
- ? options.store()
11259
- : options.store;
11260
- } else if (options.parent && options.parent.$store) {
11261
- this.$store = options.parent.$store;
11262
- }
11263
- }
11264
- }
11265
-
11266
- var target = typeof window !== 'undefined'
11267
- ? window
11268
- : typeof global !== 'undefined'
11269
- ? global
11270
- : {};
11271
- var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
11272
-
11273
- function devtoolPlugin (store) {
11274
- if (!devtoolHook) { return }
11275
-
11276
- store._devtoolHook = devtoolHook;
11277
-
11278
- devtoolHook.emit('vuex:init', store);
11279
-
11280
- devtoolHook.on('vuex:travel-to-state', function (targetState) {
11281
- store.replaceState(targetState);
11282
- });
11283
-
11284
- store.subscribe(function (mutation, state) {
11285
- devtoolHook.emit('vuex:mutation', mutation, state);
11286
- }, { prepend: true });
11287
-
11288
- store.subscribeAction(function (action, state) {
11289
- devtoolHook.emit('vuex:action', action, state);
11290
- }, { prepend: true });
11291
- }
11292
-
11293
- /**
11294
- * Get the first item that pass the test
11295
- * by second argument function
11296
- *
11297
- * @param {Array} list
11298
- * @param {Function} f
11299
- * @return {*}
11300
- */
11301
- function find (list, f) {
11302
- return list.filter(f)[0]
11303
- }
11304
-
11305
- /**
11306
- * Deep copy the given object considering circular structure.
11307
- * This function caches all nested objects and its copies.
11308
- * If it detects circular structure, use cached copy to avoid infinite loop.
11309
- *
11310
- * @param {*} obj
11311
- * @param {Array<Object>} cache
11312
- * @return {*}
11313
- */
11314
- function deepCopy (obj, cache) {
11315
- if ( cache === void 0 ) cache = [];
11316
-
11317
- // just return if obj is immutable value
11318
- if (obj === null || typeof obj !== 'object') {
11319
- return obj
11320
- }
11321
-
11322
- // if obj is hit, it is in circular structure
11323
- var hit = find(cache, function (c) { return c.original === obj; });
11324
- if (hit) {
11325
- return hit.copy
11326
- }
11327
-
11328
- var copy = Array.isArray(obj) ? [] : {};
11329
- // put the copy into cache at first
11330
- // because we want to refer it in recursive deepCopy
11331
- cache.push({
11332
- original: obj,
11333
- copy: copy
11334
- });
11335
-
11336
- Object.keys(obj).forEach(function (key) {
11337
- copy[key] = deepCopy(obj[key], cache);
11338
- });
11339
-
11340
- return copy
11341
- }
11342
-
11343
- /**
11344
- * forEach for object
11345
- */
11346
- function forEachValue (obj, fn) {
11347
- Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
11348
- }
11349
-
11350
- function isObject (obj) {
11351
- return obj !== null && typeof obj === 'object'
11352
- }
11353
-
11354
- function isPromise (val) {
11355
- return val && typeof val.then === 'function'
11356
- }
11357
-
11358
- function assert (condition, msg) {
11359
- if (!condition) { throw new Error(("[vuex] " + msg)) }
11360
- }
11361
-
11362
- function partial (fn, arg) {
11363
- return function () {
11364
- return fn(arg)
11365
- }
11366
- }
11367
-
11368
- // Base data struct for store's module, package with some attribute and method
11369
- var Module = function Module (rawModule, runtime) {
11370
- this.runtime = runtime;
11371
- // Store some children item
11372
- this._children = Object.create(null);
11373
- // Store the origin module object which passed by programmer
11374
- this._rawModule = rawModule;
11375
- var rawState = rawModule.state;
11376
-
11377
- // Store the origin module's state
11378
- this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
11379
- };
11380
-
11381
- var prototypeAccessors = { namespaced: { configurable: true } };
11382
-
11383
- prototypeAccessors.namespaced.get = function () {
11384
- return !!this._rawModule.namespaced
11385
- };
11386
-
11387
- Module.prototype.addChild = function addChild (key, module) {
11388
- this._children[key] = module;
11389
- };
11390
-
11391
- Module.prototype.removeChild = function removeChild (key) {
11392
- delete this._children[key];
11393
- };
11394
-
11395
- Module.prototype.getChild = function getChild (key) {
11396
- return this._children[key]
11397
- };
11398
-
11399
- Module.prototype.hasChild = function hasChild (key) {
11400
- return key in this._children
11401
- };
11402
-
11403
- Module.prototype.update = function update (rawModule) {
11404
- this._rawModule.namespaced = rawModule.namespaced;
11405
- if (rawModule.actions) {
11406
- this._rawModule.actions = rawModule.actions;
11407
- }
11408
- if (rawModule.mutations) {
11409
- this._rawModule.mutations = rawModule.mutations;
11410
- }
11411
- if (rawModule.getters) {
11412
- this._rawModule.getters = rawModule.getters;
11413
- }
11414
- };
11415
-
11416
- Module.prototype.forEachChild = function forEachChild (fn) {
11417
- forEachValue(this._children, fn);
11418
- };
11419
-
11420
- Module.prototype.forEachGetter = function forEachGetter (fn) {
11421
- if (this._rawModule.getters) {
11422
- forEachValue(this._rawModule.getters, fn);
11423
- }
11424
- };
11425
-
11426
- Module.prototype.forEachAction = function forEachAction (fn) {
11427
- if (this._rawModule.actions) {
11428
- forEachValue(this._rawModule.actions, fn);
11429
- }
11430
- };
11431
-
11432
- Module.prototype.forEachMutation = function forEachMutation (fn) {
11433
- if (this._rawModule.mutations) {
11434
- forEachValue(this._rawModule.mutations, fn);
11435
- }
11436
- };
11437
-
11438
- Object.defineProperties( Module.prototype, prototypeAccessors );
11439
-
11440
- var ModuleCollection = function ModuleCollection (rawRootModule) {
11441
- // register root module (Vuex.Store options)
11442
- this.register([], rawRootModule, false);
11443
- };
11444
-
11445
- ModuleCollection.prototype.get = function get (path) {
11446
- return path.reduce(function (module, key) {
11447
- return module.getChild(key)
11448
- }, this.root)
11449
- };
11450
-
11451
- ModuleCollection.prototype.getNamespace = function getNamespace (path) {
11452
- var module = this.root;
11453
- return path.reduce(function (namespace, key) {
11454
- module = module.getChild(key);
11455
- return namespace + (module.namespaced ? key + '/' : '')
11456
- }, '')
11457
- };
11458
-
11459
- ModuleCollection.prototype.update = function update$1 (rawRootModule) {
11460
- update([], this.root, rawRootModule);
11461
- };
11462
-
11463
- ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
11464
- var this$1 = this;
11465
- if ( runtime === void 0 ) runtime = true;
11466
-
11467
- if ((false)) {}
11468
-
11469
- var newModule = new Module(rawModule, runtime);
11470
- if (path.length === 0) {
11471
- this.root = newModule;
11472
- } else {
11473
- var parent = this.get(path.slice(0, -1));
11474
- parent.addChild(path[path.length - 1], newModule);
11475
- }
11476
-
11477
- // register nested modules
11478
- if (rawModule.modules) {
11479
- forEachValue(rawModule.modules, function (rawChildModule, key) {
11480
- this$1.register(path.concat(key), rawChildModule, runtime);
11481
- });
11482
- }
11483
- };
11484
-
11485
- ModuleCollection.prototype.unregister = function unregister (path) {
11486
- var parent = this.get(path.slice(0, -1));
11487
- var key = path[path.length - 1];
11488
- var child = parent.getChild(key);
11489
-
11490
- if (!child) {
11491
- if ((false)) {}
11492
- return
11493
- }
11494
-
11495
- if (!child.runtime) {
11496
- return
11497
- }
11498
-
11499
- parent.removeChild(key);
11500
- };
11501
-
11502
- ModuleCollection.prototype.isRegistered = function isRegistered (path) {
11503
- var parent = this.get(path.slice(0, -1));
11504
- var key = path[path.length - 1];
11505
-
11506
- if (parent) {
11507
- return parent.hasChild(key)
11508
- }
11509
-
11510
- return false
11511
- };
11512
-
11513
- function update (path, targetModule, newModule) {
11514
- if ((false)) {}
11515
-
11516
- // update target module
11517
- targetModule.update(newModule);
11518
-
11519
- // update nested modules
11520
- if (newModule.modules) {
11521
- for (var key in newModule.modules) {
11522
- if (!targetModule.getChild(key)) {
11523
- if ((false)) {}
11524
- return
11525
- }
11526
- update(
11527
- path.concat(key),
11528
- targetModule.getChild(key),
11529
- newModule.modules[key]
11530
- );
11531
- }
11532
- }
11533
- }
11534
-
11535
- var functionAssert = {
11536
- assert: function (value) { return typeof value === 'function'; },
11537
- expected: 'function'
11538
- };
11539
-
11540
- var objectAssert = {
11541
- assert: function (value) { return typeof value === 'function' ||
11542
- (typeof value === 'object' && typeof value.handler === 'function'); },
11543
- expected: 'function or object with "handler" function'
11544
- };
11545
-
11546
- var assertTypes = {
11547
- getters: functionAssert,
11548
- mutations: functionAssert,
11549
- actions: objectAssert
11550
- };
11551
-
11552
- function assertRawModule (path, rawModule) {
11553
- Object.keys(assertTypes).forEach(function (key) {
11554
- if (!rawModule[key]) { return }
11555
-
11556
- var assertOptions = assertTypes[key];
11557
-
11558
- forEachValue(rawModule[key], function (value, type) {
11559
- assert(
11560
- assertOptions.assert(value),
11561
- makeAssertionMessage(path, key, type, value, assertOptions.expected)
11562
- );
11563
- });
11564
- });
11565
- }
11566
-
11567
- function makeAssertionMessage (path, key, type, value, expected) {
11568
- var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
11569
- if (path.length > 0) {
11570
- buf += " in module \"" + (path.join('.')) + "\"";
11571
- }
11572
- buf += " is " + (JSON.stringify(value)) + ".";
11573
- return buf
11574
- }
11575
-
11576
- var Vue; // bind on install
11577
-
11578
- var Store = function Store (options) {
11579
- var this$1 = this;
11580
- if ( options === void 0 ) options = {};
11581
-
11582
- // Auto install if it is not done yet and `window` has `Vue`.
11583
- // To allow users to avoid auto-installation in some cases,
11584
- // this code should be placed here. See #731
11585
- if (!Vue && typeof window !== 'undefined' && window.Vue) {
11586
- install(window.Vue);
11587
- }
11588
-
11589
- if ((false)) {}
11590
-
11591
- var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
11592
- var strict = options.strict; if ( strict === void 0 ) strict = false;
11593
-
11594
- // store internal state
11595
- this._committing = false;
11596
- this._actions = Object.create(null);
11597
- this._actionSubscribers = [];
11598
- this._mutations = Object.create(null);
11599
- this._wrappedGetters = Object.create(null);
11600
- this._modules = new ModuleCollection(options);
11601
- this._modulesNamespaceMap = Object.create(null);
11602
- this._subscribers = [];
11603
- this._watcherVM = new Vue();
11604
- this._makeLocalGettersCache = Object.create(null);
11605
-
11606
- // bind commit and dispatch to self
11607
- var store = this;
11608
- var ref = this;
11609
- var dispatch = ref.dispatch;
11610
- var commit = ref.commit;
11611
- this.dispatch = function boundDispatch (type, payload) {
11612
- return dispatch.call(store, type, payload)
11613
- };
11614
- this.commit = function boundCommit (type, payload, options) {
11615
- return commit.call(store, type, payload, options)
11616
- };
11617
-
11618
- // strict mode
11619
- this.strict = strict;
11620
-
11621
- var state = this._modules.root.state;
11622
-
11623
- // init root module.
11624
- // this also recursively registers all sub-modules
11625
- // and collects all module getters inside this._wrappedGetters
11626
- installModule(this, state, [], this._modules.root);
11627
-
11628
- // initialize the store vm, which is responsible for the reactivity
11629
- // (also registers _wrappedGetters as computed properties)
11630
- resetStoreVM(this, state);
11631
-
11632
- // apply plugins
11633
- plugins.forEach(function (plugin) { return plugin(this$1); });
11634
-
11635
- var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
11636
- if (useDevtools) {
11637
- devtoolPlugin(this);
11638
- }
11639
- };
11640
-
11641
- var prototypeAccessors$1 = { state: { configurable: true } };
11642
-
11643
- prototypeAccessors$1.state.get = function () {
11644
- return this._vm._data.$$state
11645
- };
11646
-
11647
- prototypeAccessors$1.state.set = function (v) {
11648
- if ((false)) {}
11649
- };
11650
-
11651
- Store.prototype.commit = function commit (_type, _payload, _options) {
11652
- var this$1 = this;
11653
-
11654
- // check object-style commit
11655
- var ref = unifyObjectStyle(_type, _payload, _options);
11656
- var type = ref.type;
11657
- var payload = ref.payload;
11658
- var options = ref.options;
11659
-
11660
- var mutation = { type: type, payload: payload };
11661
- var entry = this._mutations[type];
11662
- if (!entry) {
11663
- if ((false)) {}
11664
- return
11665
- }
11666
- this._withCommit(function () {
11667
- entry.forEach(function commitIterator (handler) {
11668
- handler(payload);
11669
- });
11670
- });
11671
-
11672
- this._subscribers
11673
- .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
11674
- .forEach(function (sub) { return sub(mutation, this$1.state); });
11675
-
11676
- if (
11677
- false
11678
- ) {}
11679
- };
11680
-
11681
- Store.prototype.dispatch = function dispatch (_type, _payload) {
11682
- var this$1 = this;
11683
-
11684
- // check object-style dispatch
11685
- var ref = unifyObjectStyle(_type, _payload);
11686
- var type = ref.type;
11687
- var payload = ref.payload;
11688
-
11689
- var action = { type: type, payload: payload };
11690
- var entry = this._actions[type];
11691
- if (!entry) {
11692
- if ((false)) {}
11693
- return
11694
- }
11695
-
11696
- try {
11697
- this._actionSubscribers
11698
- .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
11699
- .filter(function (sub) { return sub.before; })
11700
- .forEach(function (sub) { return sub.before(action, this$1.state); });
11701
- } catch (e) {
11702
- if ((false)) {}
11703
- }
11704
-
11705
- var result = entry.length > 1
11706
- ? Promise.all(entry.map(function (handler) { return handler(payload); }))
11707
- : entry[0](payload);
11708
-
11709
- return new Promise(function (resolve, reject) {
11710
- result.then(function (res) {
11711
- try {
11712
- this$1._actionSubscribers
11713
- .filter(function (sub) { return sub.after; })
11714
- .forEach(function (sub) { return sub.after(action, this$1.state); });
11715
- } catch (e) {
11716
- if ((false)) {}
11717
- }
11718
- resolve(res);
11719
- }, function (error) {
11720
- try {
11721
- this$1._actionSubscribers
11722
- .filter(function (sub) { return sub.error; })
11723
- .forEach(function (sub) { return sub.error(action, this$1.state, error); });
11724
- } catch (e) {
11725
- if ((false)) {}
11726
- }
11727
- reject(error);
11728
- });
11729
- })
11730
- };
11731
-
11732
- Store.prototype.subscribe = function subscribe (fn, options) {
11733
- return genericSubscribe(fn, this._subscribers, options)
11734
- };
11735
-
11736
- Store.prototype.subscribeAction = function subscribeAction (fn, options) {
11737
- var subs = typeof fn === 'function' ? { before: fn } : fn;
11738
- return genericSubscribe(subs, this._actionSubscribers, options)
11739
- };
11740
-
11741
- Store.prototype.watch = function watch (getter, cb, options) {
11742
- var this$1 = this;
11743
-
11744
- if ((false)) {}
11745
- return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
11746
- };
11747
-
11748
- Store.prototype.replaceState = function replaceState (state) {
11749
- var this$1 = this;
11750
-
11751
- this._withCommit(function () {
11752
- this$1._vm._data.$$state = state;
11753
- });
11754
- };
11755
-
11756
- Store.prototype.registerModule = function registerModule (path, rawModule, options) {
11757
- if ( options === void 0 ) options = {};
11758
-
11759
- if (typeof path === 'string') { path = [path]; }
11760
-
11761
- if ((false)) {}
11762
-
11763
- this._modules.register(path, rawModule);
11764
- installModule(this, this.state, path, this._modules.get(path), options.preserveState);
11765
- // reset store to update getters...
11766
- resetStoreVM(this, this.state);
11767
- };
11768
-
11769
- Store.prototype.unregisterModule = function unregisterModule (path) {
11770
- var this$1 = this;
11771
-
11772
- if (typeof path === 'string') { path = [path]; }
11773
-
11774
- if ((false)) {}
11775
-
11776
- this._modules.unregister(path);
11777
- this._withCommit(function () {
11778
- var parentState = getNestedState(this$1.state, path.slice(0, -1));
11779
- Vue.delete(parentState, path[path.length - 1]);
11780
- });
11781
- resetStore(this);
11782
- };
11783
-
11784
- Store.prototype.hasModule = function hasModule (path) {
11785
- if (typeof path === 'string') { path = [path]; }
11786
-
11787
- if ((false)) {}
11788
-
11789
- return this._modules.isRegistered(path)
11790
- };
11791
-
11792
- Store.prototype.hotUpdate = function hotUpdate (newOptions) {
11793
- this._modules.update(newOptions);
11794
- resetStore(this, true);
11795
- };
11796
-
11797
- Store.prototype._withCommit = function _withCommit (fn) {
11798
- var committing = this._committing;
11799
- this._committing = true;
11800
- fn();
11801
- this._committing = committing;
11802
- };
11803
-
11804
- Object.defineProperties( Store.prototype, prototypeAccessors$1 );
11805
-
11806
- function genericSubscribe (fn, subs, options) {
11807
- if (subs.indexOf(fn) < 0) {
11808
- options && options.prepend
11809
- ? subs.unshift(fn)
11810
- : subs.push(fn);
11811
- }
11812
- return function () {
11813
- var i = subs.indexOf(fn);
11814
- if (i > -1) {
11815
- subs.splice(i, 1);
11816
- }
11817
- }
11818
- }
11819
-
11820
- function resetStore (store, hot) {
11821
- store._actions = Object.create(null);
11822
- store._mutations = Object.create(null);
11823
- store._wrappedGetters = Object.create(null);
11824
- store._modulesNamespaceMap = Object.create(null);
11825
- var state = store.state;
11826
- // init all modules
11827
- installModule(store, state, [], store._modules.root, true);
11828
- // reset vm
11829
- resetStoreVM(store, state, hot);
11830
- }
11831
-
11832
- function resetStoreVM (store, state, hot) {
11833
- var oldVm = store._vm;
11834
-
11835
- // bind store public getters
11836
- store.getters = {};
11837
- // reset local getters cache
11838
- store._makeLocalGettersCache = Object.create(null);
11839
- var wrappedGetters = store._wrappedGetters;
11840
- var computed = {};
11841
- forEachValue(wrappedGetters, function (fn, key) {
11842
- // use computed to leverage its lazy-caching mechanism
11843
- // direct inline function use will lead to closure preserving oldVm.
11844
- // using partial to return function with only arguments preserved in closure environment.
11845
- computed[key] = partial(fn, store);
11846
- Object.defineProperty(store.getters, key, {
11847
- get: function () { return store._vm[key]; },
11848
- enumerable: true // for local getters
11849
- });
11850
- });
11851
-
11852
- // use a Vue instance to store the state tree
11853
- // suppress warnings just in case the user has added
11854
- // some funky global mixins
11855
- var silent = Vue.config.silent;
11856
- Vue.config.silent = true;
11857
- store._vm = new Vue({
11858
- data: {
11859
- $$state: state
11860
- },
11861
- computed: computed
11862
- });
11863
- Vue.config.silent = silent;
11864
-
11865
- // enable strict mode for new vm
11866
- if (store.strict) {
11867
- enableStrictMode(store);
11868
- }
11869
-
11870
- if (oldVm) {
11871
- if (hot) {
11872
- // dispatch changes in all subscribed watchers
11873
- // to force getter re-evaluation for hot reloading.
11874
- store._withCommit(function () {
11875
- oldVm._data.$$state = null;
11876
- });
11877
- }
11878
- Vue.nextTick(function () { return oldVm.$destroy(); });
11879
- }
11880
- }
11881
-
11882
- function installModule (store, rootState, path, module, hot) {
11883
- var isRoot = !path.length;
11884
- var namespace = store._modules.getNamespace(path);
11885
-
11886
- // register in namespace map
11887
- if (module.namespaced) {
11888
- if (store._modulesNamespaceMap[namespace] && ("production" !== 'production')) {
11889
- console.error(("[vuex] duplicate namespace " + namespace + " for the namespaced module " + (path.join('/'))));
11890
- }
11891
- store._modulesNamespaceMap[namespace] = module;
11892
- }
11893
-
11894
- // set state
11895
- if (!isRoot && !hot) {
11896
- var parentState = getNestedState(rootState, path.slice(0, -1));
11897
- var moduleName = path[path.length - 1];
11898
- store._withCommit(function () {
11899
- if ((false)) {}
11900
- Vue.set(parentState, moduleName, module.state);
11901
- });
11902
- }
11903
-
11904
- var local = module.context = makeLocalContext(store, namespace, path);
11905
-
11906
- module.forEachMutation(function (mutation, key) {
11907
- var namespacedType = namespace + key;
11908
- registerMutation(store, namespacedType, mutation, local);
11909
- });
11910
-
11911
- module.forEachAction(function (action, key) {
11912
- var type = action.root ? key : namespace + key;
11913
- var handler = action.handler || action;
11914
- registerAction(store, type, handler, local);
11915
- });
11916
-
11917
- module.forEachGetter(function (getter, key) {
11918
- var namespacedType = namespace + key;
11919
- registerGetter(store, namespacedType, getter, local);
11920
- });
11921
-
11922
- module.forEachChild(function (child, key) {
11923
- installModule(store, rootState, path.concat(key), child, hot);
11924
- });
11925
- }
11926
-
11927
- /**
11928
- * make localized dispatch, commit, getters and state
11929
- * if there is no namespace, just use root ones
11930
- */
11931
- function makeLocalContext (store, namespace, path) {
11932
- var noNamespace = namespace === '';
11933
-
11934
- var local = {
11935
- dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
11936
- var args = unifyObjectStyle(_type, _payload, _options);
11937
- var payload = args.payload;
11938
- var options = args.options;
11939
- var type = args.type;
11940
-
11941
- if (!options || !options.root) {
11942
- type = namespace + type;
11943
- if (false) {}
11944
- }
11945
-
11946
- return store.dispatch(type, payload)
11947
- },
11948
-
11949
- commit: noNamespace ? store.commit : function (_type, _payload, _options) {
11950
- var args = unifyObjectStyle(_type, _payload, _options);
11951
- var payload = args.payload;
11952
- var options = args.options;
11953
- var type = args.type;
11954
-
11955
- if (!options || !options.root) {
11956
- type = namespace + type;
11957
- if (false) {}
11958
- }
11959
-
11960
- store.commit(type, payload, options);
11961
- }
11962
- };
11963
-
11964
- // getters and state object must be gotten lazily
11965
- // because they will be changed by vm update
11966
- Object.defineProperties(local, {
11967
- getters: {
11968
- get: noNamespace
11969
- ? function () { return store.getters; }
11970
- : function () { return makeLocalGetters(store, namespace); }
11971
- },
11972
- state: {
11973
- get: function () { return getNestedState(store.state, path); }
11974
- }
11975
- });
11976
-
11977
- return local
11978
- }
11979
-
11980
- function makeLocalGetters (store, namespace) {
11981
- if (!store._makeLocalGettersCache[namespace]) {
11982
- var gettersProxy = {};
11983
- var splitPos = namespace.length;
11984
- Object.keys(store.getters).forEach(function (type) {
11985
- // skip if the target getter is not match this namespace
11986
- if (type.slice(0, splitPos) !== namespace) { return }
11987
-
11988
- // extract local getter type
11989
- var localType = type.slice(splitPos);
11990
-
11991
- // Add a port to the getters proxy.
11992
- // Define as getter property because
11993
- // we do not want to evaluate the getters in this time.
11994
- Object.defineProperty(gettersProxy, localType, {
11995
- get: function () { return store.getters[type]; },
11996
- enumerable: true
11997
- });
11998
- });
11999
- store._makeLocalGettersCache[namespace] = gettersProxy;
12000
- }
12001
-
12002
- return store._makeLocalGettersCache[namespace]
12003
- }
12004
-
12005
- function registerMutation (store, type, handler, local) {
12006
- var entry = store._mutations[type] || (store._mutations[type] = []);
12007
- entry.push(function wrappedMutationHandler (payload) {
12008
- handler.call(store, local.state, payload);
12009
- });
12010
- }
12011
-
12012
- function registerAction (store, type, handler, local) {
12013
- var entry = store._actions[type] || (store._actions[type] = []);
12014
- entry.push(function wrappedActionHandler (payload) {
12015
- var res = handler.call(store, {
12016
- dispatch: local.dispatch,
12017
- commit: local.commit,
12018
- getters: local.getters,
12019
- state: local.state,
12020
- rootGetters: store.getters,
12021
- rootState: store.state
12022
- }, payload);
12023
- if (!isPromise(res)) {
12024
- res = Promise.resolve(res);
12025
- }
12026
- if (store._devtoolHook) {
12027
- return res.catch(function (err) {
12028
- store._devtoolHook.emit('vuex:error', err);
12029
- throw err
12030
- })
12031
- } else {
12032
- return res
12033
- }
12034
- });
12035
- }
12036
-
12037
- function registerGetter (store, type, rawGetter, local) {
12038
- if (store._wrappedGetters[type]) {
12039
- if ((false)) {}
12040
- return
12041
- }
12042
- store._wrappedGetters[type] = function wrappedGetter (store) {
12043
- return rawGetter(
12044
- local.state, // local state
12045
- local.getters, // local getters
12046
- store.state, // root state
12047
- store.getters // root getters
12048
- )
12049
- };
12050
- }
12051
-
12052
- function enableStrictMode (store) {
12053
- store._vm.$watch(function () { return this._data.$$state }, function () {
12054
- if ((false)) {}
12055
- }, { deep: true, sync: true });
12056
- }
12057
-
12058
- function getNestedState (state, path) {
12059
- return path.reduce(function (state, key) { return state[key]; }, state)
12060
- }
12061
-
12062
- function unifyObjectStyle (type, payload, options) {
12063
- if (isObject(type) && type.type) {
12064
- options = payload;
12065
- payload = type;
12066
- type = type.type;
12067
- }
12068
-
12069
- if ((false)) {}
12070
-
12071
- return { type: type, payload: payload, options: options }
12072
- }
12073
-
12074
- function install (_Vue) {
12075
- if (Vue && _Vue === Vue) {
12076
- if ((false)) {}
12077
- return
12078
- }
12079
- Vue = _Vue;
12080
- applyMixin(Vue);
12081
- }
12082
-
12083
- /**
12084
- * Reduce the code which written in Vue.js for getting the state.
12085
- * @param {String} [namespace] - Module's namespace
12086
- * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.
12087
- * @param {Object}
12088
- */
12089
- var mapState = normalizeNamespace(function (namespace, states) {
12090
- var res = {};
12091
- if (false) {}
12092
- normalizeMap(states).forEach(function (ref) {
12093
- var key = ref.key;
12094
- var val = ref.val;
12095
-
12096
- res[key] = function mappedState () {
12097
- var state = this.$store.state;
12098
- var getters = this.$store.getters;
12099
- if (namespace) {
12100
- var module = getModuleByNamespace(this.$store, 'mapState', namespace);
12101
- if (!module) {
12102
- return
12103
- }
12104
- state = module.context.state;
12105
- getters = module.context.getters;
12106
- }
12107
- return typeof val === 'function'
12108
- ? val.call(this, state, getters)
12109
- : state[val]
12110
- };
12111
- // mark vuex getter for devtools
12112
- res[key].vuex = true;
12113
- });
12114
- return res
12115
- });
12116
-
12117
- /**
12118
- * Reduce the code which written in Vue.js for committing the mutation
12119
- * @param {String} [namespace] - Module's namespace
12120
- * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
12121
- * @return {Object}
12122
- */
12123
- var mapMutations = normalizeNamespace(function (namespace, mutations) {
12124
- var res = {};
12125
- if (false) {}
12126
- normalizeMap(mutations).forEach(function (ref) {
12127
- var key = ref.key;
12128
- var val = ref.val;
12129
-
12130
- res[key] = function mappedMutation () {
12131
- var args = [], len = arguments.length;
12132
- while ( len-- ) args[ len ] = arguments[ len ];
12133
-
12134
- // Get the commit method from store
12135
- var commit = this.$store.commit;
12136
- if (namespace) {
12137
- var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
12138
- if (!module) {
12139
- return
12140
- }
12141
- commit = module.context.commit;
12142
- }
12143
- return typeof val === 'function'
12144
- ? val.apply(this, [commit].concat(args))
12145
- : commit.apply(this.$store, [val].concat(args))
12146
- };
12147
- });
12148
- return res
12149
- });
12150
-
12151
- /**
12152
- * Reduce the code which written in Vue.js for getting the getters
12153
- * @param {String} [namespace] - Module's namespace
12154
- * @param {Object|Array} getters
12155
- * @return {Object}
12156
- */
12157
- var mapGetters = normalizeNamespace(function (namespace, getters) {
12158
- var res = {};
12159
- if (false) {}
12160
- normalizeMap(getters).forEach(function (ref) {
12161
- var key = ref.key;
12162
- var val = ref.val;
12163
-
12164
- // The namespace has been mutated by normalizeNamespace
12165
- val = namespace + val;
12166
- res[key] = function mappedGetter () {
12167
- if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
12168
- return
12169
- }
12170
- if (false) {}
12171
- return this.$store.getters[val]
12172
- };
12173
- // mark vuex getter for devtools
12174
- res[key].vuex = true;
12175
- });
12176
- return res
12177
- });
12178
-
12179
- /**
12180
- * Reduce the code which written in Vue.js for dispatch the action
12181
- * @param {String} [namespace] - Module's namespace
12182
- * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.
12183
- * @return {Object}
12184
- */
12185
- var mapActions = normalizeNamespace(function (namespace, actions) {
12186
- var res = {};
12187
- if (false) {}
12188
- normalizeMap(actions).forEach(function (ref) {
12189
- var key = ref.key;
12190
- var val = ref.val;
12191
-
12192
- res[key] = function mappedAction () {
12193
- var args = [], len = arguments.length;
12194
- while ( len-- ) args[ len ] = arguments[ len ];
12195
-
12196
- // get dispatch function from store
12197
- var dispatch = this.$store.dispatch;
12198
- if (namespace) {
12199
- var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
12200
- if (!module) {
12201
- return
12202
- }
12203
- dispatch = module.context.dispatch;
12204
- }
12205
- return typeof val === 'function'
12206
- ? val.apply(this, [dispatch].concat(args))
12207
- : dispatch.apply(this.$store, [val].concat(args))
12208
- };
12209
- });
12210
- return res
12211
- });
12212
-
12213
- /**
12214
- * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
12215
- * @param {String} namespace
12216
- * @return {Object}
12217
- */
12218
- var createNamespacedHelpers = function (namespace) { return ({
12219
- mapState: mapState.bind(null, namespace),
12220
- mapGetters: mapGetters.bind(null, namespace),
12221
- mapMutations: mapMutations.bind(null, namespace),
12222
- mapActions: mapActions.bind(null, namespace)
12223
- }); };
12224
-
12225
- /**
12226
- * Normalize the map
12227
- * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
12228
- * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
12229
- * @param {Array|Object} map
12230
- * @return {Object}
12231
- */
12232
- function normalizeMap (map) {
12233
- if (!isValidMap(map)) {
12234
- return []
12235
- }
12236
- return Array.isArray(map)
12237
- ? map.map(function (key) { return ({ key: key, val: key }); })
12238
- : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
12239
- }
12240
-
12241
- /**
12242
- * Validate whether given map is valid or not
12243
- * @param {*} map
12244
- * @return {Boolean}
12245
- */
12246
- function isValidMap (map) {
12247
- return Array.isArray(map) || isObject(map)
12248
- }
12249
-
12250
- /**
12251
- * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.
12252
- * @param {Function} fn
12253
- * @return {Function}
12254
- */
12255
- function normalizeNamespace (fn) {
12256
- return function (namespace, map) {
12257
- if (typeof namespace !== 'string') {
12258
- map = namespace;
12259
- namespace = '';
12260
- } else if (namespace.charAt(namespace.length - 1) !== '/') {
12261
- namespace += '/';
12262
- }
12263
- return fn(namespace, map)
12264
- }
12265
- }
12266
-
12267
- /**
12268
- * Search a special module from store by namespace. if module not exist, print error message.
12269
- * @param {Object} store
12270
- * @param {String} helper
12271
- * @param {String} namespace
12272
- * @return {Object}
12273
- */
12274
- function getModuleByNamespace (store, helper, namespace) {
12275
- var module = store._modulesNamespaceMap[namespace];
12276
- if (false) {}
12277
- return module
12278
- }
12279
-
12280
- // Credits: borrowed code from fcomb/redux-logger
12281
-
12282
- function createLogger (ref) {
12283
- if ( ref === void 0 ) ref = {};
12284
- var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
12285
- var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
12286
- var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
12287
- var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
12288
- var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
12289
- var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
12290
- var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
12291
- var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
12292
- var logger = ref.logger; if ( logger === void 0 ) logger = console;
12293
-
12294
- return function (store) {
12295
- var prevState = deepCopy(store.state);
12296
-
12297
- if (typeof logger === 'undefined') {
12298
- return
12299
- }
12300
-
12301
- if (logMutations) {
12302
- store.subscribe(function (mutation, state) {
12303
- var nextState = deepCopy(state);
12304
-
12305
- if (filter(mutation, prevState, nextState)) {
12306
- var formattedTime = getFormattedTime();
12307
- var formattedMutation = mutationTransformer(mutation);
12308
- var message = "mutation " + (mutation.type) + formattedTime;
12309
-
12310
- startMessage(logger, message, collapsed);
12311
- logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
12312
- logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
12313
- logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
12314
- endMessage(logger);
12315
- }
12316
-
12317
- prevState = nextState;
12318
- });
12319
- }
12320
-
12321
- if (logActions) {
12322
- store.subscribeAction(function (action, state) {
12323
- if (actionFilter(action, state)) {
12324
- var formattedTime = getFormattedTime();
12325
- var formattedAction = actionTransformer(action);
12326
- var message = "action " + (action.type) + formattedTime;
12327
-
12328
- startMessage(logger, message, collapsed);
12329
- logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
12330
- endMessage(logger);
12331
- }
12332
- });
12333
- }
12334
- }
12335
- }
12336
-
12337
- function startMessage (logger, message, collapsed) {
12338
- var startMessage = collapsed
12339
- ? logger.groupCollapsed
12340
- : logger.group;
12341
-
12342
- // render
12343
- try {
12344
- startMessage.call(logger, message);
12345
- } catch (e) {
12346
- logger.log(message);
12347
- }
12348
- }
12349
-
12350
- function endMessage (logger) {
12351
- try {
12352
- logger.groupEnd();
12353
- } catch (e) {
12354
- logger.log('—— log end ——');
12355
- }
12356
- }
12357
-
12358
- function getFormattedTime () {
12359
- var time = new Date();
12360
- return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
12361
- }
12362
-
12363
- function repeat (str, times) {
12364
- return (new Array(times + 1)).join(str)
12365
- }
12366
-
12367
- function pad (num, maxLength) {
12368
- return repeat('0', maxLength - num.toString().length) + num
12369
- }
12370
-
12371
- var index = {
12372
- Store: Store,
12373
- install: install,
12374
- version: '3.6.2',
12375
- mapState: mapState,
12376
- mapMutations: mapMutations,
12377
- mapGetters: mapGetters,
12378
- mapActions: mapActions,
12379
- createNamespacedHelpers: createNamespacedHelpers,
12380
- createLogger: createLogger
12381
- };
12382
-
12383
- /* harmony default export */ __webpack_exports__["a"] = (index);
12384
-
12385
-
12386
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
12387
-
12388
11211
  /***/ }),
12389
11212
 
12390
11213
  /***/ "2f9a":
@@ -26013,6 +24836,22 @@ var update = add("6a79d46e", content, true, {"sourceMap":false,"shadowMode":fals
26013
24836
 
26014
24837
  /***/ }),
26015
24838
 
24839
+ /***/ "5024":
24840
+ /***/ (function(module, exports, __webpack_require__) {
24841
+
24842
+ // style-loader: Adds some css to the DOM by adding a <style> tag
24843
+
24844
+ // load the styles
24845
+ var content = __webpack_require__("aeb3");
24846
+ if(content.__esModule) content = content.default;
24847
+ if(typeof content === 'string') content = [[module.i, content, '']];
24848
+ if(content.locals) module.exports = content.locals;
24849
+ // add the styles to the DOM
24850
+ var add = __webpack_require__("499e").default
24851
+ var update = add("4b1408cc", content, true, {"sourceMap":false,"shadowMode":false});
24852
+
24853
+ /***/ }),
24854
+
26016
24855
  /***/ "50c4":
26017
24856
  /***/ (function(module, exports, __webpack_require__) {
26018
24857
 
@@ -28157,22 +26996,6 @@ module.exports = function (argument) {
28157
26996
  };
28158
26997
 
28159
26998
 
28160
- /***/ }),
28161
-
28162
- /***/ "592c":
28163
- /***/ (function(module, exports, __webpack_require__) {
28164
-
28165
- // style-loader: Adds some css to the DOM by adding a <style> tag
28166
-
28167
- // load the styles
28168
- var content = __webpack_require__("9f10");
28169
- if(content.__esModule) content = content.default;
28170
- if(typeof content === 'string') content = [[module.i, content, '']];
28171
- if(content.locals) module.exports = content.locals;
28172
- // add the styles to the DOM
28173
- var add = __webpack_require__("499e").default
28174
- var update = add("6e34b00e", content, true, {"sourceMap":false,"shadowMode":false});
28175
-
28176
26999
  /***/ }),
28177
27000
 
28178
27001
  /***/ "597f":
@@ -43357,17 +42180,6 @@ function simpleEnd(buf) {
43357
42180
  return buf && buf.length ? this.write(buf) : '';
43358
42181
  }
43359
42182
 
43360
- /***/ }),
43361
-
43362
- /***/ "7d729":
43363
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
43364
-
43365
- "use strict";
43366
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_14b83910_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("592c");
43367
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_14b83910_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_14b83910_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
43368
- /* unused harmony reexport * */
43369
-
43370
-
43371
42183
  /***/ }),
43372
42184
 
43373
42185
  /***/ "7db9":
@@ -54866,20 +53678,6 @@ exports.push([module.i, ".table-header{width:100%;height:40px;display:flex;backg
54866
53678
  module.exports = exports;
54867
53679
 
54868
53680
 
54869
- /***/ }),
54870
-
54871
- /***/ "9f10":
54872
- /***/ (function(module, exports, __webpack_require__) {
54873
-
54874
- // Imports
54875
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
54876
- exports = ___CSS_LOADER_API_IMPORT___(false);
54877
- // Module
54878
- exports.push([module.i, ".dialog-cache-wrap[data-v-14b83910]{top:56px;left:0;z-index:4;width:100vw;height:auto;position:fixed;box-sizing:border-box;background:var(--bg-white);padding:calc(var(--padding-4)*2);box-shadow:0 2px 12px 0 rgba(0,0,0,.3)}.dialog-cache-wrap .dialog-no-cache[data-v-14b83910]{width:100%;height:auto;display:flex;align-items:center;flex-flow:row nowrap;justify-content:center}", ""]);
54879
- // Exports
54880
- module.exports = exports;
54881
-
54882
-
54883
53681
  /***/ }),
54884
53682
 
54885
53683
  /***/ "9f8a":
@@ -58994,6 +57792,17 @@ module.exports = function (METHOD_NAME, argument) {
58994
57792
  /* unused harmony reexport * */
58995
57793
 
58996
57794
 
57795
+ /***/ }),
57796
+
57797
+ /***/ "a6ff":
57798
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
57799
+
57800
+ "use strict";
57801
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_28874b7a_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5024");
57802
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_28874b7a_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_28874b7a_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
57803
+ /* unused harmony reexport * */
57804
+
57805
+
58997
57806
  /***/ }),
58998
57807
 
58999
57808
  /***/ "a742":
@@ -68986,6 +67795,20 @@ function _defineProperty(obj, key, value) {
68986
67795
  return obj;
68987
67796
  }
68988
67797
 
67798
+ /***/ }),
67799
+
67800
+ /***/ "aeb3":
67801
+ /***/ (function(module, exports, __webpack_require__) {
67802
+
67803
+ // Imports
67804
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
67805
+ exports = ___CSS_LOADER_API_IMPORT___(false);
67806
+ // Module
67807
+ exports.push([module.i, ".dialog-cache-wrap[data-v-28874b7a]{top:56px;left:0;z-index:4;width:100vw;height:auto;position:fixed;box-sizing:border-box;background:var(--bg-white);padding:calc(var(--padding-4)*2);box-shadow:0 2px 12px 0 rgba(0,0,0,.3)}.dialog-cache-wrap .dialog-no-cache[data-v-28874b7a]{width:100%;height:auto;display:flex;align-items:center;flex-flow:row nowrap;justify-content:center}", ""]);
67808
+ // Exports
67809
+ module.exports = exports;
67810
+
67811
+
68989
67812
  /***/ }),
68990
67813
 
68991
67814
  /***/ "aeca":
@@ -116639,26 +115462,13 @@ const dialogCacheStore = {
116639
115462
  }
116640
115463
  };
116641
115464
  /* harmony default export */ var storeModule_dialogCacheStore = (dialogCacheStore);
116642
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"693bc1e9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/dialogCache/index.vue?vue&type=template&id=14b83910&scoped=true&
116643
- var dialogCachevue_type_template_id_14b83910_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.getRenderShow),expression:"getRenderShow"}],ref:"dialogCacheWrapRef",staticClass:"dialog-cache-wrap",attrs:{"tabindex":"-1"},on:{"blur":_vm.dialogCacheWrapOnBlue}},[(_vm.getCacheList && _vm.getCacheList.length <= 0)?_c('div',{staticClass:"dialog-no-cache"},[_c('baseDefaultSvg',{attrs:{"width":100,"height":100,"svgName":"404","text":"暂无缓存表单"}})],1):_c('div',{staticClass:"dialog-cache-content"},_vm._l((_vm.getCacheList),function(item,index){return _c('el-button',{key:index,attrs:{"type":"info","size":"medium","icon":"el-icon-tickets"},on:{"click":function($event){return _vm.openDialogCache(index)}}},[_vm._v(" "+_vm._s(item.title)+" ")])}),1)])}
116644
- var dialogCachevue_type_template_id_14b83910_scoped_true_staticRenderFns = []
116645
-
116646
-
116647
- // CONCATENATED MODULE: ./packages/components/dialogCache/index.vue?vue&type=template&id=14b83910&scoped=true&
116648
-
116649
- // EXTERNAL MODULE: ./node_modules/vuex/dist/vuex.esm.js
116650
- var vuex_esm = __webpack_require__("2f62");
115465
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"693bc1e9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/dialogCache/index.vue?vue&type=template&id=28874b7a&scoped=true&
115466
+ var dialogCachevue_type_template_id_28874b7a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.getRenderShow),expression:"getRenderShow"},{name:"clickOutside",rawName:"v-clickOutside",value:(_vm.dialogCacheWrapOnBlue),expression:"dialogCacheWrapOnBlue"}],ref:"dialogCacheWrapRef",staticClass:"dialog-cache-wrap"},[(_vm.getCacheList && _vm.getCacheList.length <= 0)?_c('div',{staticClass:"dialog-no-cache"},[_c('baseDefaultSvg',{attrs:{"width":100,"height":100,"text":"暂无缓存表单","svgName":"no-content"}})],1):_c('div',{staticClass:"dialog-cache-content"},_vm._l((_vm.getCacheList),function(item,index){return _c('el-button',{key:index,attrs:{"type":"info","size":"medium","icon":"el-icon-tickets"},on:{"click":function($event){return _vm.openDialogCache(index)}}},[_vm._v(" "+_vm._s(item.title)+" ")])}),1)])}
115467
+ var dialogCachevue_type_template_id_28874b7a_scoped_true_staticRenderFns = []
116651
115468
 
116652
- // CONCATENATED MODULE: ./src/store/index.js
116653
115469
 
115470
+ // CONCATENATED MODULE: ./packages/components/dialogCache/index.vue?vue&type=template&id=28874b7a&scoped=true&
116654
115471
 
116655
- external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* default */]);
116656
- /* harmony default export */ var store = (new vuex_esm["a" /* default */].Store({
116657
- state: {},
116658
- mutations: {},
116659
- actions: {},
116660
- modules: {}
116661
- }));
116662
115472
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/dialogCache/index.vue?vue&type=script&lang=js&
116663
115473
  //
116664
115474
  //
@@ -116693,8 +115503,6 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
116693
115503
  //
116694
115504
  //
116695
115505
  //
116696
- //
116697
-
116698
115506
 
116699
115507
  /* harmony default export */ var dialogCachevue_type_script_lang_js_ = ({
116700
115508
  data() {
@@ -116707,11 +115515,11 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
116707
115515
 
116708
115516
  computed: {
116709
115517
  getCacheList() {
116710
- return store.getters['dialogCacheStore/getCacheList'];
115518
+ return this.$store.getters['dialogCacheStore/getCacheList'];
116711
115519
  },
116712
115520
 
116713
115521
  getRenderShow() {
116714
- return store.getters['dialogCacheStore/getRenderShow'];
115522
+ return this.$store.getters['dialogCacheStore/getRenderShow'];
116715
115523
  }
116716
115524
 
116717
115525
  },
@@ -116720,7 +115528,7 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
116720
115528
  },
116721
115529
  methods: {
116722
115530
  openDialogCache(index) {
116723
- store.commit('dialogCacheStore/OPEN_DIALOG_CACHE', index);
115531
+ this.$store.commit('dialogCacheStore/OPEN_DIALOG_CACHE', index);
116724
115532
  },
116725
115533
 
116726
115534
  dialogCacheWrapOnBlue() {
@@ -116730,19 +115538,15 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vuex_esm["a" /* defau
116730
115538
  },
116731
115539
  watch: {
116732
115540
  getRenderShow(newVal, oldVal) {
116733
- if (newVal) {
116734
- this.$nextTick(() => {
116735
- this.$refs.dialogCacheWrapRef.focus();
116736
- });
116737
- }
115541
+ console.log(newVal);
116738
115542
  }
116739
115543
 
116740
115544
  }
116741
115545
  });
116742
115546
  // CONCATENATED MODULE: ./packages/components/dialogCache/index.vue?vue&type=script&lang=js&
116743
115547
  /* harmony default export */ var components_dialogCachevue_type_script_lang_js_ = (dialogCachevue_type_script_lang_js_);
116744
- // EXTERNAL MODULE: ./packages/components/dialogCache/index.vue?vue&type=style&index=0&id=14b83910&lang=less&scoped=true&
116745
- var dialogCachevue_type_style_index_0_id_14b83910_lang_less_scoped_true_ = __webpack_require__("7d729");
115548
+ // EXTERNAL MODULE: ./packages/components/dialogCache/index.vue?vue&type=style&index=0&id=28874b7a&lang=less&scoped=true&
115549
+ var dialogCachevue_type_style_index_0_id_28874b7a_lang_less_scoped_true_ = __webpack_require__("a6ff");
116746
115550
 
116747
115551
  // CONCATENATED MODULE: ./packages/components/dialogCache/index.vue
116748
115552
 
@@ -116755,11 +115559,11 @@ var dialogCachevue_type_style_index_0_id_14b83910_lang_less_scoped_true_ = __web
116755
115559
 
116756
115560
  var dialogCache_component = Object(componentNormalizer["a" /* default */])(
116757
115561
  components_dialogCachevue_type_script_lang_js_,
116758
- dialogCachevue_type_template_id_14b83910_scoped_true_render,
116759
- dialogCachevue_type_template_id_14b83910_scoped_true_staticRenderFns,
115562
+ dialogCachevue_type_template_id_28874b7a_scoped_true_render,
115563
+ dialogCachevue_type_template_id_28874b7a_scoped_true_staticRenderFns,
116760
115564
  false,
116761
115565
  null,
116762
- "14b83910",
115566
+ "28874b7a",
116763
115567
  null
116764
115568
 
116765
115569
  )