Quellcode durchsuchen

Merge branch 'hcb' of SH-Arbitrate/miniapp into master

hanchaobo vor 2 Jahren
Ursprung
Commit
665c0b7b5d
100 geänderte Dateien mit 11358 neuen und 0 gelöschten Zeilen
  1. 16
    0
      .hbuilderx/launch.json
  2. 21
    0
      App.vue
  3. 20
    0
      index.html
  4. 24
    0
      main.js
  5. 72
    0
      manifest.json
  6. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/api/api.js
  7. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/api/app.js
  8. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/api/component.js
  9. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/api/context.js
  10. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/api/hooks.js
  11. 22
    0
      node_modules/@vue/devtools-api/lib/cjs/api/index.js
  12. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/api/util.js
  13. 5
    0
      node_modules/@vue/devtools-api/lib/cjs/const.js
  14. 17
    0
      node_modules/@vue/devtools-api/lib/cjs/env.js
  15. 44
    0
      node_modules/@vue/devtools-api/lib/cjs/index.js
  16. 2
    0
      node_modules/@vue/devtools-api/lib/cjs/plugin.js
  17. 111
    0
      node_modules/@vue/devtools-api/lib/cjs/proxy.js
  18. 28
    0
      node_modules/@vue/devtools-api/lib/cjs/time.js
  19. 108
    0
      node_modules/@vue/devtools-api/lib/esm/api/api.d.ts
  20. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/api.js
  21. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/app.d.ts
  22. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/app.js
  23. 78
    0
      node_modules/@vue/devtools-api/lib/esm/api/component.d.ts
  24. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/component.js
  25. 5
    0
      node_modules/@vue/devtools-api/lib/esm/api/context.d.ts
  26. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/context.js
  27. 180
    0
      node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts
  28. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/hooks.js
  29. 6
    0
      node_modules/@vue/devtools-api/lib/esm/api/index.d.ts
  30. 6
    0
      node_modules/@vue/devtools-api/lib/esm/api/index.js
  31. 4
    0
      node_modules/@vue/devtools-api/lib/esm/api/util.d.ts
  32. 1
    0
      node_modules/@vue/devtools-api/lib/esm/api/util.js
  33. 2
    0
      node_modules/@vue/devtools-api/lib/esm/const.d.ts
  34. 2
    0
      node_modules/@vue/devtools-api/lib/esm/const.js
  35. 15
    0
      node_modules/@vue/devtools-api/lib/esm/env.d.ts
  36. 12
    0
      node_modules/@vue/devtools-api/lib/esm/env.js
  37. 18
    0
      node_modules/@vue/devtools-api/lib/esm/index.d.ts
  38. 26
    0
      node_modules/@vue/devtools-api/lib/esm/index.js
  39. 47
    0
      node_modules/@vue/devtools-api/lib/esm/plugin.d.ts
  40. 1
    0
      node_modules/@vue/devtools-api/lib/esm/plugin.js
  41. 20
    0
      node_modules/@vue/devtools-api/lib/esm/proxy.d.ts
  42. 107
    0
      node_modules/@vue/devtools-api/lib/esm/proxy.js
  43. 2
    0
      node_modules/@vue/devtools-api/lib/esm/time.d.ts
  44. 23
    0
      node_modules/@vue/devtools-api/lib/esm/time.js
  45. 67
    0
      node_modules/@vue/devtools-api/package.json
  46. 7
    0
      node_modules/deepmerge/.editorconfig
  47. 1
    0
      node_modules/deepmerge/.eslintcache
  48. 167
    0
      node_modules/deepmerge/changelog.md
  49. 133
    0
      node_modules/deepmerge/dist/cjs.js
  50. 139
    0
      node_modules/deepmerge/dist/umd.js
  51. 20
    0
      node_modules/deepmerge/index.d.ts
  52. 106
    0
      node_modules/deepmerge/index.js
  53. 21
    0
      node_modules/deepmerge/license.txt
  54. 70
    0
      node_modules/deepmerge/package.json
  55. 264
    0
      node_modules/deepmerge/readme.md
  56. 22
    0
      node_modules/deepmerge/rollup.config.js
  57. 4
    0
      node_modules/shvl/CHANGELOG.md
  58. 21
    0
      node_modules/shvl/LICENSE
  59. 86
    0
      node_modules/shvl/README.md
  60. 2
    0
      node_modules/shvl/dist/shvl.js
  61. 1
    0
      node_modules/shvl/dist/shvl.js.map
  62. 2
    0
      node_modules/shvl/dist/shvl.mjs
  63. 1
    0
      node_modules/shvl/dist/shvl.mjs.map
  64. 2
    0
      node_modules/shvl/dist/shvl.modern.js
  65. 1
    0
      node_modules/shvl/dist/shvl.modern.js.map
  66. 2
    0
      node_modules/shvl/dist/shvl.umd.js
  67. 1
    0
      node_modules/shvl/dist/shvl.umd.js.map
  68. 2
    0
      node_modules/shvl/index.d.ts
  69. 11
    0
      node_modules/shvl/index.js
  70. 86
    0
      node_modules/shvl/package.json
  71. 4
    0
      node_modules/vuex-persistedstate/CHANGELOG.md
  72. 21
    0
      node_modules/vuex-persistedstate/LICENSE
  73. 326
    0
      node_modules/vuex-persistedstate/README.md
  74. 23
    0
      node_modules/vuex-persistedstate/dist/index.d.ts
  75. 2
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js
  76. 1
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js.map
  77. 2
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.js
  78. 1
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.js.map
  79. 2
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js
  80. 1
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js.map
  81. 2
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js
  82. 1
    0
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js.map
  83. 111
    0
      node_modules/vuex-persistedstate/package.json
  84. 119
    0
      node_modules/vuex-persistedstate/src/index.ts
  85. 617
    0
      node_modules/vuex/CHANGELOG.md
  86. 21
    0
      node_modules/vuex/LICENSE
  87. 59
    0
      node_modules/vuex/README.md
  88. 1486
    0
      node_modules/vuex/dist/vuex.cjs.js
  89. 1484
    0
      node_modules/vuex/dist/vuex.esm-browser.js
  90. 1323
    0
      node_modules/vuex/dist/vuex.esm-browser.prod.js
  91. 1485
    0
      node_modules/vuex/dist/vuex.esm-bundler.js
  92. 1514
    0
      node_modules/vuex/dist/vuex.global.js
  93. 6
    0
      node_modules/vuex/dist/vuex.global.prod.js
  94. 32
    0
      node_modules/vuex/dist/vuex.mjs
  95. 128
    0
      node_modules/vuex/package.json
  96. 86
    0
      node_modules/vuex/types/helpers.d.ts
  97. 167
    0
      node_modules/vuex/types/index.d.ts
  98. 20
    0
      node_modules/vuex/types/logger.d.ts
  99. 12
    0
      node_modules/vuex/types/vue.d.ts
  100. 0
    0
      package-lock.json

+ 16
- 0
.hbuilderx/launch.json Datei anzeigen

@@ -0,0 +1,16 @@
1
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
2
+  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
3
+    "version": "0.0",
4
+    "configurations": [{
5
+     	"default" : 
6
+     	{
7
+     		"launchtype" : "local"
8
+     	},
9
+     	"mp-weixin" : 
10
+     	{
11
+     		"launchtype" : "local"
12
+     	},
13
+     	"type" : "uniCloud"
14
+     }
15
+    ]
16
+}

+ 21
- 0
App.vue Datei anzeigen

@@ -0,0 +1,21 @@
1
+<script>
2
+	export default {
3
+		onLaunch: function() {
4
+			console.log('App Launch')
5
+		},
6
+		onShow: function() {
7
+			console.log('App Show')
8
+		},
9
+		onHide: function() {
10
+			console.log('App Hide')
11
+		}
12
+	}
13
+</script>
14
+
15
+<style>
16
+	/*每个页面公共css */
17
+	uni-page-body,page{
18
+		height: 100%;
19
+		background-color: #ECEDF4;
20
+	}
21
+</style>

+ 20
- 0
index.html Datei anzeigen

@@ -0,0 +1,20 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+  <head>
4
+    <meta charset="UTF-8" />
5
+    <script>
6
+      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
7
+        CSS.supports('top: constant(a)'))
8
+      document.write(
9
+        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
10
+        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
11
+    </script>
12
+    <title></title>
13
+    <!--preload-links-->
14
+    <!--app-context-->
15
+  </head>
16
+  <body>
17
+    <div id="app"><!--app-html--></div>
18
+    <script type="module" src="/main.js"></script>
19
+  </body>
20
+</html>

+ 24
- 0
main.js Datei anzeigen

@@ -0,0 +1,24 @@
1
+import App from './App'
2
+import store from './store/index.js'
3
+
4
+// #ifndef VUE3
5
+import Vue from 'vue'
6
+import './uni.promisify.adaptor'
7
+Vue.config.productionTip = false
8
+App.mpType = 'app'
9
+const app = new Vue({
10
+	store,
11
+  ...App
12
+})
13
+app.$mount()
14
+// #endif
15
+
16
+// #ifdef VUE3
17
+import { createSSRApp } from 'vue'
18
+export function createApp() {
19
+  const app = createSSRApp(App)
20
+  return {
21
+    app
22
+  }
23
+}
24
+// #endif

+ 72
- 0
manifest.json Datei anzeigen

@@ -0,0 +1,72 @@
1
+{
2
+    "name" : "legalAffairs-app",
3
+    "appid" : "__UNI__6B7438C",
4
+    "description" : "",
5
+    "versionName" : "1.0.0",
6
+    "versionCode" : "100",
7
+    "transformPx" : false,
8
+    /* 5+App特有相关 */
9
+    "app-plus" : {
10
+        "usingComponents" : true,
11
+        "nvueStyleCompiler" : "uni-app",
12
+        "compilerVersion" : 3,
13
+        "splashscreen" : {
14
+            "alwaysShowBeforeRender" : true,
15
+            "waiting" : true,
16
+            "autoclose" : true,
17
+            "delay" : 0
18
+        },
19
+        /* 模块配置 */
20
+        "modules" : {},
21
+        /* 应用发布信息 */
22
+        "distribute" : {
23
+            /* android打包配置 */
24
+            "android" : {
25
+                "permissions" : [
26
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
27
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
28
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
29
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
30
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
31
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
32
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
33
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
34
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
35
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
36
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
37
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
38
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
39
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
40
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
41
+                ]
42
+            },
43
+            /* ios打包配置 */
44
+            "ios" : {},
45
+            /* SDK配置 */
46
+            "sdkConfigs" : {}
47
+        }
48
+    },
49
+    /* 快应用特有相关 */
50
+    "quickapp" : {},
51
+    /* 小程序特有相关 */
52
+    "mp-weixin" : {
53
+        "appid" : "wx6d65ec24cf6b13af",
54
+        "setting" : {
55
+            "urlCheck" : false
56
+        },
57
+        "usingComponents" : true
58
+    },
59
+    "mp-alipay" : {
60
+        "usingComponents" : true
61
+    },
62
+    "mp-baidu" : {
63
+        "usingComponents" : true
64
+    },
65
+    "mp-toutiao" : {
66
+        "usingComponents" : true
67
+    },
68
+    "uniStatistics" : {
69
+        "enable" : false
70
+    },
71
+    "vueVersion" : "2"
72
+}

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/api/api.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/api/app.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/api/component.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/api/context.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/api/hooks.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 22
- 0
node_modules/@vue/devtools-api/lib/cjs/api/index.js Datei anzeigen

@@ -0,0 +1,22 @@
1
+"use strict";
2
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+    if (k2 === undefined) k2 = k;
4
+    var desc = Object.getOwnPropertyDescriptor(m, k);
5
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+      desc = { enumerable: true, get: function() { return m[k]; } };
7
+    }
8
+    Object.defineProperty(o, k2, desc);
9
+}) : (function(o, m, k, k2) {
10
+    if (k2 === undefined) k2 = k;
11
+    o[k2] = m[k];
12
+}));
13
+var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+};
16
+Object.defineProperty(exports, "__esModule", { value: true });
17
+__exportStar(require("./api.js"), exports);
18
+__exportStar(require("./app.js"), exports);
19
+__exportStar(require("./component.js"), exports);
20
+__exportStar(require("./context.js"), exports);
21
+__exportStar(require("./hooks.js"), exports);
22
+__exportStar(require("./util.js"), exports);

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/api/util.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 5
- 0
node_modules/@vue/devtools-api/lib/cjs/const.js Datei anzeigen

@@ -0,0 +1,5 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });
3
+exports.HOOK_PLUGIN_SETTINGS_SET = exports.HOOK_SETUP = void 0;
4
+exports.HOOK_SETUP = 'devtools-plugin:setup';
5
+exports.HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';

+ 17
- 0
node_modules/@vue/devtools-api/lib/cjs/env.js Datei anzeigen

@@ -0,0 +1,17 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });
3
+exports.isProxyAvailable = exports.getTarget = exports.getDevtoolsGlobalHook = void 0;
4
+function getDevtoolsGlobalHook() {
5
+    return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
6
+}
7
+exports.getDevtoolsGlobalHook = getDevtoolsGlobalHook;
8
+function getTarget() {
9
+    // @ts-ignore
10
+    return (typeof navigator !== 'undefined' && typeof window !== 'undefined')
11
+        ? window
12
+        : typeof global !== 'undefined'
13
+            ? global
14
+            : {};
15
+}
16
+exports.getTarget = getTarget;
17
+exports.isProxyAvailable = typeof Proxy === 'function';

+ 44
- 0
node_modules/@vue/devtools-api/lib/cjs/index.js Datei anzeigen

@@ -0,0 +1,44 @@
1
+"use strict";
2
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+    if (k2 === undefined) k2 = k;
4
+    var desc = Object.getOwnPropertyDescriptor(m, k);
5
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+      desc = { enumerable: true, get: function() { return m[k]; } };
7
+    }
8
+    Object.defineProperty(o, k2, desc);
9
+}) : (function(o, m, k, k2) {
10
+    if (k2 === undefined) k2 = k;
11
+    o[k2] = m[k];
12
+}));
13
+var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+};
16
+Object.defineProperty(exports, "__esModule", { value: true });
17
+exports.setupDevtoolsPlugin = void 0;
18
+const env_js_1 = require("./env.js");
19
+const const_js_1 = require("./const.js");
20
+const proxy_js_1 = require("./proxy.js");
21
+__exportStar(require("./api/index.js"), exports);
22
+__exportStar(require("./plugin.js"), exports);
23
+__exportStar(require("./time.js"), exports);
24
+function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
25
+    const descriptor = pluginDescriptor;
26
+    const target = (0, env_js_1.getTarget)();
27
+    const hook = (0, env_js_1.getDevtoolsGlobalHook)();
28
+    const enableProxy = env_js_1.isProxyAvailable && descriptor.enableEarlyProxy;
29
+    if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {
30
+        hook.emit(const_js_1.HOOK_SETUP, pluginDescriptor, setupFn);
31
+    }
32
+    else {
33
+        const proxy = enableProxy ? new proxy_js_1.ApiProxy(descriptor, hook) : null;
34
+        const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];
35
+        list.push({
36
+            pluginDescriptor: descriptor,
37
+            setupFn,
38
+            proxy,
39
+        });
40
+        if (proxy)
41
+            setupFn(proxy.proxiedTarget);
42
+    }
43
+}
44
+exports.setupDevtoolsPlugin = setupDevtoolsPlugin;

+ 2
- 0
node_modules/@vue/devtools-api/lib/cjs/plugin.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });

+ 111
- 0
node_modules/@vue/devtools-api/lib/cjs/proxy.js Datei anzeigen

@@ -0,0 +1,111 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });
3
+exports.ApiProxy = void 0;
4
+const const_js_1 = require("./const.js");
5
+const time_js_1 = require("./time.js");
6
+class ApiProxy {
7
+    constructor(plugin, hook) {
8
+        this.target = null;
9
+        this.targetQueue = [];
10
+        this.onQueue = [];
11
+        this.plugin = plugin;
12
+        this.hook = hook;
13
+        const defaultSettings = {};
14
+        if (plugin.settings) {
15
+            for (const id in plugin.settings) {
16
+                const item = plugin.settings[id];
17
+                defaultSettings[id] = item.defaultValue;
18
+            }
19
+        }
20
+        const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`;
21
+        let currentSettings = Object.assign({}, defaultSettings);
22
+        try {
23
+            const raw = localStorage.getItem(localSettingsSaveId);
24
+            const data = JSON.parse(raw);
25
+            Object.assign(currentSettings, data);
26
+        }
27
+        catch (e) {
28
+            // noop
29
+        }
30
+        this.fallbacks = {
31
+            getSettings() {
32
+                return currentSettings;
33
+            },
34
+            setSettings(value) {
35
+                try {
36
+                    localStorage.setItem(localSettingsSaveId, JSON.stringify(value));
37
+                }
38
+                catch (e) {
39
+                    // noop
40
+                }
41
+                currentSettings = value;
42
+            },
43
+            now() {
44
+                return (0, time_js_1.now)();
45
+            },
46
+        };
47
+        if (hook) {
48
+            hook.on(const_js_1.HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
49
+                if (pluginId === this.plugin.id) {
50
+                    this.fallbacks.setSettings(value);
51
+                }
52
+            });
53
+        }
54
+        this.proxiedOn = new Proxy({}, {
55
+            get: (_target, prop) => {
56
+                if (this.target) {
57
+                    return this.target.on[prop];
58
+                }
59
+                else {
60
+                    return (...args) => {
61
+                        this.onQueue.push({
62
+                            method: prop,
63
+                            args,
64
+                        });
65
+                    };
66
+                }
67
+            },
68
+        });
69
+        this.proxiedTarget = new Proxy({}, {
70
+            get: (_target, prop) => {
71
+                if (this.target) {
72
+                    return this.target[prop];
73
+                }
74
+                else if (prop === 'on') {
75
+                    return this.proxiedOn;
76
+                }
77
+                else if (Object.keys(this.fallbacks).includes(prop)) {
78
+                    return (...args) => {
79
+                        this.targetQueue.push({
80
+                            method: prop,
81
+                            args,
82
+                            resolve: () => { },
83
+                        });
84
+                        return this.fallbacks[prop](...args);
85
+                    };
86
+                }
87
+                else {
88
+                    return (...args) => {
89
+                        return new Promise(resolve => {
90
+                            this.targetQueue.push({
91
+                                method: prop,
92
+                                args,
93
+                                resolve,
94
+                            });
95
+                        });
96
+                    };
97
+                }
98
+            },
99
+        });
100
+    }
101
+    async setRealTarget(target) {
102
+        this.target = target;
103
+        for (const item of this.onQueue) {
104
+            this.target.on[item.method](...item.args);
105
+        }
106
+        for (const item of this.targetQueue) {
107
+            item.resolve(await this.target[item.method](...item.args));
108
+        }
109
+    }
110
+}
111
+exports.ApiProxy = ApiProxy;

+ 28
- 0
node_modules/@vue/devtools-api/lib/cjs/time.js Datei anzeigen

@@ -0,0 +1,28 @@
1
+"use strict";
2
+Object.defineProperty(exports, "__esModule", { value: true });
3
+exports.now = exports.isPerformanceSupported = void 0;
4
+let supported;
5
+let perf;
6
+function isPerformanceSupported() {
7
+    var _a;
8
+    if (supported !== undefined) {
9
+        return supported;
10
+    }
11
+    if (typeof window !== 'undefined' && window.performance) {
12
+        supported = true;
13
+        perf = window.performance;
14
+    }
15
+    else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
16
+        supported = true;
17
+        perf = global.perf_hooks.performance;
18
+    }
19
+    else {
20
+        supported = false;
21
+    }
22
+    return supported;
23
+}
24
+exports.isPerformanceSupported = isPerformanceSupported;
25
+function now() {
26
+    return isPerformanceSupported() ? perf.now() : Date.now();
27
+}
28
+exports.now = now;

+ 108
- 0
node_modules/@vue/devtools-api/lib/esm/api/api.d.ts Datei anzeigen

@@ -0,0 +1,108 @@
1
+import type { ComponentBounds, Hookable } from './hooks.js';
2
+import type { Context } from './context.js';
3
+import type { ComponentInstance, ComponentState, StateBase } from './component.js';
4
+import type { App } from './app.js';
5
+import type { ID } from './util.js';
6
+export interface DevtoolsPluginApi<TSettings> {
7
+    on: Hookable<Context>;
8
+    notifyComponentUpdate(instance?: ComponentInstance): void;
9
+    addTimelineLayer(options: TimelineLayerOptions): void;
10
+    addTimelineEvent(options: TimelineEventOptions): void;
11
+    addInspector(options: CustomInspectorOptions): void;
12
+    sendInspectorTree(inspectorId: string): void;
13
+    sendInspectorState(inspectorId: string): void;
14
+    selectInspectorNode(inspectorId: string, nodeId: string): void;
15
+    getComponentBounds(instance: ComponentInstance): Promise<ComponentBounds>;
16
+    getComponentName(instance: ComponentInstance): Promise<string>;
17
+    getComponentInstances(app: App): Promise<ComponentInstance[]>;
18
+    highlightElement(instance: ComponentInstance): void;
19
+    unhighlightElement(): void;
20
+    getSettings(pluginId?: string): TSettings;
21
+    now(): number;
22
+    /**
23
+     * @private Not implemented yet
24
+     */
25
+    setSettings(values: TSettings): void;
26
+}
27
+export interface AppRecord {
28
+    id: string;
29
+    name: string;
30
+    instanceMap: Map<string, ComponentInstance>;
31
+    rootInstance: ComponentInstance;
32
+}
33
+export interface TimelineLayerOptions<TData = any, TMeta = any> {
34
+    id: string;
35
+    label: string;
36
+    color: number;
37
+    skipScreenshots?: boolean;
38
+    groupsOnly?: boolean;
39
+    ignoreNoDurationGroups?: boolean;
40
+    screenshotOverlayRender?: (event: TimelineEvent<TData, TMeta> & ScreenshotOverlayEvent, ctx: ScreenshotOverlayRenderContext) => ScreenshotOverlayRenderResult | Promise<ScreenshotOverlayRenderResult>;
41
+}
42
+export interface ScreenshotOverlayEvent {
43
+    layerId: string;
44
+    renderMeta: any;
45
+}
46
+export interface ScreenshotOverlayRenderContext<TData = any, TMeta = any> {
47
+    screenshot: ScreenshotData;
48
+    events: (TimelineEvent<TData, TMeta> & ScreenshotOverlayEvent)[];
49
+    index: number;
50
+}
51
+export declare type ScreenshotOverlayRenderResult = HTMLElement | string | false;
52
+export interface ScreenshotData {
53
+    time: number;
54
+}
55
+export interface TimelineEventOptions {
56
+    layerId: string;
57
+    event: TimelineEvent;
58
+    all?: boolean;
59
+}
60
+export interface TimelineEvent<TData = any, TMeta = any> {
61
+    time: number;
62
+    data: TData;
63
+    logType?: 'default' | 'warning' | 'error';
64
+    meta?: TMeta;
65
+    groupId?: ID;
66
+    title?: string;
67
+    subtitle?: string;
68
+}
69
+export interface TimelineMarkerOptions {
70
+    id: string;
71
+    time: number;
72
+    color: number;
73
+    label: string;
74
+    all?: boolean;
75
+}
76
+export interface CustomInspectorOptions {
77
+    id: string;
78
+    label: string;
79
+    icon?: string;
80
+    treeFilterPlaceholder?: string;
81
+    stateFilterPlaceholder?: string;
82
+    noSelectionText?: string;
83
+    actions?: {
84
+        icon: string;
85
+        tooltip?: string;
86
+        action: () => void | Promise<void>;
87
+    }[];
88
+    nodeActions?: {
89
+        icon: string;
90
+        tooltip?: string;
91
+        action: (nodeId: string) => void | Promise<void>;
92
+    }[];
93
+}
94
+export interface CustomInspectorNode {
95
+    id: string;
96
+    label: string;
97
+    children?: CustomInspectorNode[];
98
+    tags?: InspectorNodeTag[];
99
+}
100
+export interface InspectorNodeTag {
101
+    label: string;
102
+    textColor: number;
103
+    backgroundColor: number;
104
+    tooltip?: string;
105
+}
106
+export interface CustomInspectorState {
107
+    [key: string]: (StateBase | Omit<ComponentState, 'type'>)[];
108
+}

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/api.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/app.d.ts Datei anzeigen

@@ -0,0 +1 @@
1
+export declare type App = any;

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/app.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 78
- 0
node_modules/@vue/devtools-api/lib/esm/api/component.d.ts Datei anzeigen

@@ -0,0 +1,78 @@
1
+import type { InspectorNodeTag } from './api.js';
2
+import type { ID } from './util.js';
3
+export declare type ComponentInstance = any;
4
+export interface ComponentTreeNode {
5
+    uid: ID;
6
+    id: string;
7
+    name: string;
8
+    renderKey: string | number;
9
+    inactive: boolean;
10
+    isFragment: boolean;
11
+    hasChildren: boolean;
12
+    children: ComponentTreeNode[];
13
+    domOrder?: number[];
14
+    consoleId?: string;
15
+    isRouterView?: boolean;
16
+    macthedRouteSegment?: string;
17
+    tags: InspectorNodeTag[];
18
+    autoOpen: boolean;
19
+    meta?: any;
20
+}
21
+export interface InspectedComponentData {
22
+    id: string;
23
+    name: string;
24
+    file: string;
25
+    state: ComponentState[];
26
+    functional?: boolean;
27
+}
28
+export interface StateBase {
29
+    key: string;
30
+    value: any;
31
+    editable?: boolean;
32
+    objectType?: 'ref' | 'reactive' | 'computed' | 'other';
33
+    raw?: string;
34
+}
35
+export interface ComponentStateBase extends StateBase {
36
+    type: string;
37
+}
38
+export interface ComponentPropState extends ComponentStateBase {
39
+    meta?: {
40
+        type: string;
41
+        required: boolean;
42
+        /** Vue 1 only */
43
+        mode?: 'default' | 'sync' | 'once';
44
+    };
45
+}
46
+export declare type ComponentBuiltinCustomStateTypes = 'function' | 'map' | 'set' | 'reference' | 'component' | 'component-definition' | 'router' | 'store';
47
+export interface ComponentCustomState extends ComponentStateBase {
48
+    value: CustomState;
49
+}
50
+export declare type CustomState = {
51
+    _custom: {
52
+        type: ComponentBuiltinCustomStateTypes | string;
53
+        objectType?: string;
54
+        display?: string;
55
+        tooltip?: string;
56
+        value?: any;
57
+        abstract?: boolean;
58
+        file?: string;
59
+        uid?: number;
60
+        readOnly?: boolean;
61
+        /** Configure immediate child fields */
62
+        fields?: {
63
+            abstract?: boolean;
64
+        };
65
+        id?: any;
66
+        actions?: {
67
+            icon: string;
68
+            tooltip?: string;
69
+            action: () => void | Promise<void>;
70
+        }[];
71
+        /** internal */
72
+        _reviveId?: number;
73
+    };
74
+};
75
+export declare type ComponentState = ComponentStateBase | ComponentPropState | ComponentCustomState;
76
+export interface ComponentDevtoolsOptions {
77
+    hide?: boolean;
78
+}

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/component.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 5
- 0
node_modules/@vue/devtools-api/lib/esm/api/context.d.ts Datei anzeigen

@@ -0,0 +1,5 @@
1
+import type { AppRecord } from './api.js';
2
+export interface Context {
3
+    currentTab: string;
4
+    currentAppRecord: AppRecord;
5
+}

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/context.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 180
- 0
node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts Datei anzeigen

@@ -0,0 +1,180 @@
1
+import type { ComponentTreeNode, InspectedComponentData, ComponentInstance, ComponentDevtoolsOptions } from './component.js';
2
+import type { App } from './app.js';
3
+import type { CustomInspectorNode, CustomInspectorState, TimelineEvent } from './api.js';
4
+export declare const enum Hooks {
5
+    TRANSFORM_CALL = "transformCall",
6
+    GET_APP_RECORD_NAME = "getAppRecordName",
7
+    GET_APP_ROOT_INSTANCE = "getAppRootInstance",
8
+    REGISTER_APPLICATION = "registerApplication",
9
+    WALK_COMPONENT_TREE = "walkComponentTree",
10
+    VISIT_COMPONENT_TREE = "visitComponentTree",
11
+    WALK_COMPONENT_PARENTS = "walkComponentParents",
12
+    INSPECT_COMPONENT = "inspectComponent",
13
+    GET_COMPONENT_BOUNDS = "getComponentBounds",
14
+    GET_COMPONENT_NAME = "getComponentName",
15
+    GET_COMPONENT_INSTANCES = "getComponentInstances",
16
+    GET_ELEMENT_COMPONENT = "getElementComponent",
17
+    GET_COMPONENT_ROOT_ELEMENTS = "getComponentRootElements",
18
+    EDIT_COMPONENT_STATE = "editComponentState",
19
+    GET_COMPONENT_DEVTOOLS_OPTIONS = "getAppDevtoolsOptions",
20
+    GET_COMPONENT_RENDER_CODE = "getComponentRenderCode",
21
+    INSPECT_TIMELINE_EVENT = "inspectTimelineEvent",
22
+    TIMELINE_CLEARED = "timelineCleared",
23
+    GET_INSPECTOR_TREE = "getInspectorTree",
24
+    GET_INSPECTOR_STATE = "getInspectorState",
25
+    EDIT_INSPECTOR_STATE = "editInspectorState",
26
+    SET_PLUGIN_SETTINGS = "setPluginSettings"
27
+}
28
+export interface ComponentBounds {
29
+    left: number;
30
+    top: number;
31
+    width: number;
32
+    height: number;
33
+}
34
+export declare type HookPayloads = {
35
+    [Hooks.TRANSFORM_CALL]: {
36
+        callName: string;
37
+        inArgs: any[];
38
+        outArgs: any[];
39
+    };
40
+    [Hooks.GET_APP_RECORD_NAME]: {
41
+        app: App;
42
+        name: string;
43
+    };
44
+    [Hooks.GET_APP_ROOT_INSTANCE]: {
45
+        app: App;
46
+        root: ComponentInstance;
47
+    };
48
+    [Hooks.REGISTER_APPLICATION]: {
49
+        app: App;
50
+    };
51
+    [Hooks.WALK_COMPONENT_TREE]: {
52
+        componentInstance: ComponentInstance;
53
+        componentTreeData: ComponentTreeNode[];
54
+        maxDepth: number;
55
+        filter: string;
56
+        recursively: boolean;
57
+    };
58
+    [Hooks.VISIT_COMPONENT_TREE]: {
59
+        app: App;
60
+        componentInstance: ComponentInstance;
61
+        treeNode: ComponentTreeNode;
62
+        filter: string;
63
+    };
64
+    [Hooks.WALK_COMPONENT_PARENTS]: {
65
+        componentInstance: ComponentInstance;
66
+        parentInstances: ComponentInstance[];
67
+    };
68
+    [Hooks.INSPECT_COMPONENT]: {
69
+        app: App;
70
+        componentInstance: ComponentInstance;
71
+        instanceData: InspectedComponentData;
72
+    };
73
+    [Hooks.GET_COMPONENT_BOUNDS]: {
74
+        componentInstance: ComponentInstance;
75
+        bounds: ComponentBounds;
76
+    };
77
+    [Hooks.GET_COMPONENT_NAME]: {
78
+        componentInstance: ComponentInstance;
79
+        name: string;
80
+    };
81
+    [Hooks.GET_COMPONENT_INSTANCES]: {
82
+        app: App;
83
+        componentInstances: ComponentInstance[];
84
+    };
85
+    [Hooks.GET_ELEMENT_COMPONENT]: {
86
+        element: HTMLElement | any;
87
+        componentInstance: ComponentInstance;
88
+    };
89
+    [Hooks.GET_COMPONENT_ROOT_ELEMENTS]: {
90
+        componentInstance: ComponentInstance;
91
+        rootElements: (HTMLElement | any)[];
92
+    };
93
+    [Hooks.EDIT_COMPONENT_STATE]: {
94
+        app: App;
95
+        componentInstance: ComponentInstance;
96
+        path: string[];
97
+        type: string;
98
+        state: EditStatePayload;
99
+        set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
100
+    };
101
+    [Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS]: {
102
+        componentInstance: ComponentInstance;
103
+        options: ComponentDevtoolsOptions;
104
+    };
105
+    [Hooks.GET_COMPONENT_RENDER_CODE]: {
106
+        componentInstance: ComponentInstance;
107
+        code: string;
108
+    };
109
+    [Hooks.INSPECT_TIMELINE_EVENT]: {
110
+        app: App;
111
+        layerId: string;
112
+        event: TimelineEvent;
113
+        all?: boolean;
114
+        data: any;
115
+    };
116
+    [Hooks.TIMELINE_CLEARED]: Record<string, never>;
117
+    [Hooks.GET_INSPECTOR_TREE]: {
118
+        app: App;
119
+        inspectorId: string;
120
+        filter: string;
121
+        rootNodes: CustomInspectorNode[];
122
+    };
123
+    [Hooks.GET_INSPECTOR_STATE]: {
124
+        app: App;
125
+        inspectorId: string;
126
+        nodeId: string;
127
+        state: CustomInspectorState;
128
+    };
129
+    [Hooks.EDIT_INSPECTOR_STATE]: {
130
+        app: App;
131
+        inspectorId: string;
132
+        nodeId: string;
133
+        path: string[];
134
+        type: string;
135
+        state: EditStatePayload;
136
+        set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void;
137
+    };
138
+    [Hooks.SET_PLUGIN_SETTINGS]: {
139
+        app: App;
140
+        pluginId: string;
141
+        key: string;
142
+        newValue: any;
143
+        oldValue: any;
144
+        settings: any;
145
+    };
146
+};
147
+export declare type EditStatePayload = {
148
+    value: any;
149
+    newKey?: string | null;
150
+    remove?: undefined | false;
151
+} | {
152
+    value?: undefined;
153
+    newKey?: undefined;
154
+    remove: true;
155
+};
156
+export declare type HookHandler<TPayload, TContext> = (payload: TPayload, ctx: TContext) => void | Promise<void>;
157
+export interface Hookable<TContext> {
158
+    transformCall(handler: HookHandler<HookPayloads[Hooks.TRANSFORM_CALL], TContext>): any;
159
+    getAppRecordName(handler: HookHandler<HookPayloads[Hooks.GET_APP_RECORD_NAME], TContext>): any;
160
+    getAppRootInstance(handler: HookHandler<HookPayloads[Hooks.GET_APP_ROOT_INSTANCE], TContext>): any;
161
+    registerApplication(handler: HookHandler<HookPayloads[Hooks.REGISTER_APPLICATION], TContext>): any;
162
+    walkComponentTree(handler: HookHandler<HookPayloads[Hooks.WALK_COMPONENT_TREE], TContext>): any;
163
+    visitComponentTree(handler: HookHandler<HookPayloads[Hooks.VISIT_COMPONENT_TREE], TContext>): any;
164
+    walkComponentParents(handler: HookHandler<HookPayloads[Hooks.WALK_COMPONENT_PARENTS], TContext>): any;
165
+    inspectComponent(handler: HookHandler<HookPayloads[Hooks.INSPECT_COMPONENT], TContext>): any;
166
+    getComponentBounds(handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_BOUNDS], TContext>): any;
167
+    getComponentName(handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_NAME], TContext>): any;
168
+    getComponentInstances(handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_INSTANCES], TContext>): any;
169
+    getElementComponent(handler: HookHandler<HookPayloads[Hooks.GET_ELEMENT_COMPONENT], TContext>): any;
170
+    getComponentRootElements(handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_ROOT_ELEMENTS], TContext>): any;
171
+    editComponentState(handler: HookHandler<HookPayloads[Hooks.EDIT_COMPONENT_STATE], TContext>): any;
172
+    getComponentDevtoolsOptions(handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS], TContext>): any;
173
+    getComponentRenderCode(handler: HookHandler<HookPayloads[Hooks.GET_COMPONENT_RENDER_CODE], TContext>): any;
174
+    inspectTimelineEvent(handler: HookHandler<HookPayloads[Hooks.INSPECT_TIMELINE_EVENT], TContext>): any;
175
+    timelineCleared(handler: HookHandler<HookPayloads[Hooks.TIMELINE_CLEARED], TContext>): any;
176
+    getInspectorTree(handler: HookHandler<HookPayloads[Hooks.GET_INSPECTOR_TREE], TContext>): any;
177
+    getInspectorState(handler: HookHandler<HookPayloads[Hooks.GET_INSPECTOR_STATE], TContext>): any;
178
+    editInspectorState(handler: HookHandler<HookPayloads[Hooks.EDIT_INSPECTOR_STATE], TContext>): any;
179
+    setPluginSettings(handler: HookHandler<HookPayloads[Hooks.SET_PLUGIN_SETTINGS], TContext>): any;
180
+}

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/hooks.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 6
- 0
node_modules/@vue/devtools-api/lib/esm/api/index.d.ts Datei anzeigen

@@ -0,0 +1,6 @@
1
+export * from './api.js';
2
+export * from './app.js';
3
+export * from './component.js';
4
+export * from './context.js';
5
+export * from './hooks.js';
6
+export * from './util.js';

+ 6
- 0
node_modules/@vue/devtools-api/lib/esm/api/index.js Datei anzeigen

@@ -0,0 +1,6 @@
1
+export * from './api.js';
2
+export * from './app.js';
3
+export * from './component.js';
4
+export * from './context.js';
5
+export * from './hooks.js';
6
+export * from './util.js';

+ 4
- 0
node_modules/@vue/devtools-api/lib/esm/api/util.d.ts Datei anzeigen

@@ -0,0 +1,4 @@
1
+export declare type ID = number | string;
2
+export interface WithId {
3
+    id: ID;
4
+}

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/api/util.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 2
- 0
node_modules/@vue/devtools-api/lib/esm/const.d.ts Datei anzeigen

@@ -0,0 +1,2 @@
1
+export declare const HOOK_SETUP = "devtools-plugin:setup";
2
+export declare const HOOK_PLUGIN_SETTINGS_SET = "plugin:settings:set";

+ 2
- 0
node_modules/@vue/devtools-api/lib/esm/const.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+export const HOOK_SETUP = 'devtools-plugin:setup';
2
+export const HOOK_PLUGIN_SETTINGS_SET = 'plugin:settings:set';

+ 15
- 0
node_modules/@vue/devtools-api/lib/esm/env.d.ts Datei anzeigen

@@ -0,0 +1,15 @@
1
+import type { PluginDescriptor, SetupFunction } from './index.js';
2
+import type { ApiProxy } from './proxy.js';
3
+export interface PluginQueueItem {
4
+    pluginDescriptor: PluginDescriptor;
5
+    setupFn: SetupFunction;
6
+    proxy?: ApiProxy;
7
+}
8
+interface GlobalTarget {
9
+    __VUE_DEVTOOLS_PLUGINS__?: PluginQueueItem[];
10
+    __VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__?: boolean;
11
+}
12
+export declare function getDevtoolsGlobalHook(): any;
13
+export declare function getTarget(): GlobalTarget;
14
+export declare const isProxyAvailable: boolean;
15
+export {};

+ 12
- 0
node_modules/@vue/devtools-api/lib/esm/env.js Datei anzeigen

@@ -0,0 +1,12 @@
1
+export function getDevtoolsGlobalHook() {
2
+    return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
3
+}
4
+export function getTarget() {
5
+    // @ts-ignore
6
+    return (typeof navigator !== 'undefined' && typeof window !== 'undefined')
7
+        ? window
8
+        : typeof global !== 'undefined'
9
+            ? global
10
+            : {};
11
+}
12
+export const isProxyAvailable = typeof Proxy === 'function';

+ 18
- 0
node_modules/@vue/devtools-api/lib/esm/index.d.ts Datei anzeigen

@@ -0,0 +1,18 @@
1
+import type { DevtoolsPluginApi } from './api/index.js';
2
+import type { PluginDescriptor, ExtractSettingsTypes, PluginSettingsItem } from './plugin.js';
3
+export * from './api/index.js';
4
+export * from './plugin.js';
5
+export * from './time.js';
6
+export { PluginQueueItem } from './env.js';
7
+declare type Cast<A, B> = A extends B ? A : B;
8
+declare type Narrowable = string | number | bigint | boolean;
9
+declare type Narrow<A> = Cast<A, [] | (A extends Narrowable ? A : never) | ({
10
+    [K in keyof A]: Narrow<A[K]>;
11
+})>;
12
+declare type Exact<C, T> = {
13
+    [K in keyof C]: K extends keyof T ? T[K] : never;
14
+};
15
+export declare type SetupFunction<TSettings = any> = (api: DevtoolsPluginApi<TSettings>) => void;
16
+export declare function setupDevtoolsPlugin<TDescriptor extends Exact<TDescriptor, PluginDescriptor>, TSettings = ExtractSettingsTypes<TDescriptor extends {
17
+    settings: infer S;
18
+} ? S extends Record<string, PluginSettingsItem> ? S : Record<string, PluginSettingsItem> : Record<string, PluginSettingsItem>>>(pluginDescriptor: Narrow<TDescriptor>, setupFn: SetupFunction<TSettings>): void;

+ 26
- 0
node_modules/@vue/devtools-api/lib/esm/index.js Datei anzeigen

@@ -0,0 +1,26 @@
1
+import { getTarget, getDevtoolsGlobalHook, isProxyAvailable } from './env.js';
2
+import { HOOK_SETUP } from './const.js';
3
+import { ApiProxy } from './proxy.js';
4
+export * from './api/index.js';
5
+export * from './plugin.js';
6
+export * from './time.js';
7
+export function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
8
+    const descriptor = pluginDescriptor;
9
+    const target = getTarget();
10
+    const hook = getDevtoolsGlobalHook();
11
+    const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;
12
+    if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {
13
+        hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);
14
+    }
15
+    else {
16
+        const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;
17
+        const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];
18
+        list.push({
19
+            pluginDescriptor: descriptor,
20
+            setupFn,
21
+            proxy,
22
+        });
23
+        if (proxy)
24
+            setupFn(proxy.proxiedTarget);
25
+    }
26
+}

+ 47
- 0
node_modules/@vue/devtools-api/lib/esm/plugin.d.ts Datei anzeigen

@@ -0,0 +1,47 @@
1
+import type { App } from './api/index.js';
2
+export interface PluginDescriptor {
3
+    id: string;
4
+    label: string;
5
+    app: App;
6
+    packageName?: string;
7
+    homepage?: string;
8
+    componentStateTypes?: string[];
9
+    logo?: string;
10
+    disableAppScope?: boolean;
11
+    disablePluginScope?: boolean;
12
+    /**
13
+     * Run the plugin setup and expose the api even if the devtools is not opened yet.
14
+     * Useful to record timeline events early.
15
+     */
16
+    enableEarlyProxy?: boolean;
17
+    settings?: Record<string, PluginSettingsItem>;
18
+}
19
+export declare type PluginSettingsItem = {
20
+    label: string;
21
+    description?: string;
22
+} & ({
23
+    type: 'boolean';
24
+    defaultValue: boolean;
25
+} | {
26
+    type: 'choice';
27
+    defaultValue: string | number;
28
+    options: {
29
+        value: string | number;
30
+        label: string;
31
+    }[];
32
+    component?: 'select' | 'button-group';
33
+} | {
34
+    type: 'text';
35
+    defaultValue: string;
36
+});
37
+declare type InferSettingsType<T extends PluginSettingsItem> = [T] extends [{
38
+    type: 'boolean';
39
+}] ? boolean : [T] extends [{
40
+    type: 'choice';
41
+}] ? T['options'][number]['value'] : [T] extends [{
42
+    type: 'text';
43
+}] ? string : unknown;
44
+export declare type ExtractSettingsTypes<O extends Record<string, PluginSettingsItem>> = {
45
+    [K in keyof O]: InferSettingsType<O[K]>;
46
+};
47
+export {};

+ 1
- 0
node_modules/@vue/devtools-api/lib/esm/plugin.js Datei anzeigen

@@ -0,0 +1 @@
1
+export {};

+ 20
- 0
node_modules/@vue/devtools-api/lib/esm/proxy.d.ts Datei anzeigen

@@ -0,0 +1,20 @@
1
+import type { Context, DevtoolsPluginApi, Hookable } from './api/index.js';
2
+import type { PluginDescriptor } from './plugin.js';
3
+interface QueueItem {
4
+    method: string;
5
+    args: any[];
6
+    resolve?: (value?: any) => void;
7
+}
8
+export declare class ApiProxy<TTarget extends DevtoolsPluginApi<any> = DevtoolsPluginApi<any>> {
9
+    target: TTarget | null;
10
+    targetQueue: QueueItem[];
11
+    proxiedTarget: TTarget;
12
+    onQueue: QueueItem[];
13
+    proxiedOn: Hookable<Context>;
14
+    plugin: PluginDescriptor;
15
+    hook: any;
16
+    fallbacks: Record<string, any>;
17
+    constructor(plugin: PluginDescriptor, hook: any);
18
+    setRealTarget(target: TTarget): Promise<void>;
19
+}
20
+export {};

+ 107
- 0
node_modules/@vue/devtools-api/lib/esm/proxy.js Datei anzeigen

@@ -0,0 +1,107 @@
1
+import { HOOK_PLUGIN_SETTINGS_SET } from './const.js';
2
+import { now } from './time.js';
3
+export class ApiProxy {
4
+    constructor(plugin, hook) {
5
+        this.target = null;
6
+        this.targetQueue = [];
7
+        this.onQueue = [];
8
+        this.plugin = plugin;
9
+        this.hook = hook;
10
+        const defaultSettings = {};
11
+        if (plugin.settings) {
12
+            for (const id in plugin.settings) {
13
+                const item = plugin.settings[id];
14
+                defaultSettings[id] = item.defaultValue;
15
+            }
16
+        }
17
+        const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`;
18
+        let currentSettings = Object.assign({}, defaultSettings);
19
+        try {
20
+            const raw = localStorage.getItem(localSettingsSaveId);
21
+            const data = JSON.parse(raw);
22
+            Object.assign(currentSettings, data);
23
+        }
24
+        catch (e) {
25
+            // noop
26
+        }
27
+        this.fallbacks = {
28
+            getSettings() {
29
+                return currentSettings;
30
+            },
31
+            setSettings(value) {
32
+                try {
33
+                    localStorage.setItem(localSettingsSaveId, JSON.stringify(value));
34
+                }
35
+                catch (e) {
36
+                    // noop
37
+                }
38
+                currentSettings = value;
39
+            },
40
+            now() {
41
+                return now();
42
+            },
43
+        };
44
+        if (hook) {
45
+            hook.on(HOOK_PLUGIN_SETTINGS_SET, (pluginId, value) => {
46
+                if (pluginId === this.plugin.id) {
47
+                    this.fallbacks.setSettings(value);
48
+                }
49
+            });
50
+        }
51
+        this.proxiedOn = new Proxy({}, {
52
+            get: (_target, prop) => {
53
+                if (this.target) {
54
+                    return this.target.on[prop];
55
+                }
56
+                else {
57
+                    return (...args) => {
58
+                        this.onQueue.push({
59
+                            method: prop,
60
+                            args,
61
+                        });
62
+                    };
63
+                }
64
+            },
65
+        });
66
+        this.proxiedTarget = new Proxy({}, {
67
+            get: (_target, prop) => {
68
+                if (this.target) {
69
+                    return this.target[prop];
70
+                }
71
+                else if (prop === 'on') {
72
+                    return this.proxiedOn;
73
+                }
74
+                else if (Object.keys(this.fallbacks).includes(prop)) {
75
+                    return (...args) => {
76
+                        this.targetQueue.push({
77
+                            method: prop,
78
+                            args,
79
+                            resolve: () => { },
80
+                        });
81
+                        return this.fallbacks[prop](...args);
82
+                    };
83
+                }
84
+                else {
85
+                    return (...args) => {
86
+                        return new Promise(resolve => {
87
+                            this.targetQueue.push({
88
+                                method: prop,
89
+                                args,
90
+                                resolve,
91
+                            });
92
+                        });
93
+                    };
94
+                }
95
+            },
96
+        });
97
+    }
98
+    async setRealTarget(target) {
99
+        this.target = target;
100
+        for (const item of this.onQueue) {
101
+            this.target.on[item.method](...item.args);
102
+        }
103
+        for (const item of this.targetQueue) {
104
+            item.resolve(await this.target[item.method](...item.args));
105
+        }
106
+    }
107
+}

+ 2
- 0
node_modules/@vue/devtools-api/lib/esm/time.d.ts Datei anzeigen

@@ -0,0 +1,2 @@
1
+export declare function isPerformanceSupported(): boolean;
2
+export declare function now(): number;

+ 23
- 0
node_modules/@vue/devtools-api/lib/esm/time.js Datei anzeigen

@@ -0,0 +1,23 @@
1
+let supported;
2
+let perf;
3
+export function isPerformanceSupported() {
4
+    var _a;
5
+    if (supported !== undefined) {
6
+        return supported;
7
+    }
8
+    if (typeof window !== 'undefined' && window.performance) {
9
+        supported = true;
10
+        perf = window.performance;
11
+    }
12
+    else if (typeof global !== 'undefined' && ((_a = global.perf_hooks) === null || _a === void 0 ? void 0 : _a.performance)) {
13
+        supported = true;
14
+        perf = global.perf_hooks.performance;
15
+    }
16
+    else {
17
+        supported = false;
18
+    }
19
+    return supported;
20
+}
21
+export function now() {
22
+    return isPerformanceSupported() ? perf.now() : Date.now();
23
+}

+ 67
- 0
node_modules/@vue/devtools-api/package.json Datei anzeigen

@@ -0,0 +1,67 @@
1
+{
2
+  "_from": "@vue/devtools-api@^6.0.0-beta.11",
3
+  "_id": "@vue/devtools-api@6.5.0",
4
+  "_inBundle": false,
5
+  "_integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==",
6
+  "_location": "/@vue/devtools-api",
7
+  "_phantomChildren": {},
8
+  "_requested": {
9
+    "type": "range",
10
+    "registry": true,
11
+    "raw": "@vue/devtools-api@^6.0.0-beta.11",
12
+    "name": "@vue/devtools-api",
13
+    "escapedName": "@vue%2fdevtools-api",
14
+    "scope": "@vue",
15
+    "rawSpec": "^6.0.0-beta.11",
16
+    "saveSpec": null,
17
+    "fetchSpec": "^6.0.0-beta.11"
18
+  },
19
+  "_requiredBy": [
20
+    "/vuex"
21
+  ],
22
+  "_resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz",
23
+  "_shasum": "98b99425edee70b4c992692628fa1ea2c1e57d07",
24
+  "_spec": "@vue/devtools-api@^6.0.0-beta.11",
25
+  "_where": "D:\\work\\云美\\legalAffairs-app\\node_modules\\vuex",
26
+  "author": {
27
+    "name": "Guillaume Chau"
28
+  },
29
+  "browser": "lib/esm/index.js",
30
+  "bugs": {
31
+    "url": "https://github.com/vuejs/vue-devtools/issues"
32
+  },
33
+  "bundleDependencies": false,
34
+  "deprecated": false,
35
+  "description": "Interact with the Vue devtools from the page",
36
+  "devDependencies": {
37
+    "@types/node": "^13.9.1",
38
+    "@types/webpack-env": "^1.15.1",
39
+    "typescript": "^4.5.2"
40
+  },
41
+  "files": [
42
+    "lib/esm",
43
+    "lib/cjs"
44
+  ],
45
+  "homepage": "https://github.com/vuejs/vue-devtools#readme",
46
+  "license": "MIT",
47
+  "main": "lib/cjs/index.js",
48
+  "module": "lib/esm/index.js",
49
+  "name": "@vue/devtools-api",
50
+  "publishConfig": {
51
+    "access": "public"
52
+  },
53
+  "repository": {
54
+    "url": "git+https://github.com/vuejs/vue-devtools.git",
55
+    "type": "git",
56
+    "directory": "packages/api"
57
+  },
58
+  "scripts": {
59
+    "build": "rimraf lib && yarn build:esm && yarn build:cjs",
60
+    "build:cjs": "tsc --module commonjs --outDir lib/cjs",
61
+    "build:esm": "tsc --module es2015 --outDir lib/esm -d",
62
+    "build:watch": "yarn tsc --module es2015 --outDir lib/esm -d -w --sourceMap"
63
+  },
64
+  "sideEffects": false,
65
+  "types": "lib/esm/index.d.ts",
66
+  "version": "6.5.0"
67
+}

+ 7
- 0
node_modules/deepmerge/.editorconfig Datei anzeigen

@@ -0,0 +1,7 @@
1
+root = true
2
+
3
+[*]
4
+indent_style = tab
5
+end_of_line = lf
6
+trim_trailing_whitespace = true
7
+insert_final_newline = true

+ 1
- 0
node_modules/deepmerge/.eslintcache Datei anzeigen

@@ -0,0 +1 @@
1
+[{"/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js":"1"},{"size":1990,"mtime":1679007485753,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ktjd5k","/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js",[],[]]

+ 167
- 0
node_modules/deepmerge/changelog.md Datei anzeigen

@@ -0,0 +1,167 @@
1
+# [4.3.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.3.1)
2
+
3
+- Fix type definition for arrayMerge options.  [#239](https://github.com/TehShrike/deepmerge/pull/239)
4
+
5
+# [4.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.3.0)
6
+
7
+- Avoid thrown errors if the target doesn't have `propertyIsEnumerable`.  [#252](https://github.com/TehShrike/deepmerge/pull/252)
8
+
9
+# [4.2.2](https://github.com/TehShrike/deepmerge/releases/tag/v4.2.2)
10
+
11
+- `isMergeableObject` is now only called if there are two values that could be merged.  [a34dd4d2](https://github.com/TehShrike/deepmerge/commit/a34dd4d25bf5e250653540a2022bc832c7b00a19)
12
+
13
+# [4.2.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.2.1)
14
+
15
+- Fix: falsey values can now be merged.  [#170](https://github.com/TehShrike/deepmerge/issues/170)
16
+
17
+# [4.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.2.0)
18
+
19
+- Properties are now only overwritten if they exist on the target object and are enumerable.  [#164](https://github.com/TehShrike/deepmerge/pull/164)
20
+
21
+Technically this could probably be a patch release since "which properties get overwritten" wasn't documented and accidentally overwriting a built-in function or some function up the property chain would almost certainly be undesirable, but it feels like a gray area, so here we are with a feature version bump.
22
+
23
+# [4.1.2](https://github.com/TehShrike/deepmerge/releases/tag/v4.1.2)
24
+
25
+- Rolled back #167 since `Object.assign` breaks ES5 support.  [55067352](https://github.com/TehShrike/deepmerge/commit/55067352a92c65a6c44a5165f3387720aae1e192)
26
+
27
+# [4.1.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.1.1)
28
+
29
+- The `options` argument is no longer mutated [#167](https://github.com/TehShrike/deepmerge/pull/167)
30
+
31
+# [4.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.1.0)
32
+
33
+- `cloneUnlessOtherwiseSpecified` is now exposed to the `arrayMerge` function [#165](https://github.com/TehShrike/deepmerge/pull/165)
34
+
35
+# [4.0.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.0.0)
36
+
37
+- The `main` entry point in `package.json` is now a CommonJS module instead of a UMD module [#155](https://github.com/TehShrike/deepmerge/pull/155)
38
+
39
+# [3.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.3.0)
40
+
41
+- Enumerable Symbol properties are now copied [#151](https://github.com/TehShrike/deepmerge/pull/151)
42
+
43
+# [3.2.1](https://github.com/TehShrike/deepmerge/releases/tag/v3.2.1)
44
+
45
+- bumping dev dependency versions to try to shut up bogus security warnings from Github/npm [#149](https://github.com/TehShrike/deepmerge/pull/149)
46
+
47
+# [3.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.2.0)
48
+
49
+- feature: added the [`customMerge`](https://github.com/TehShrike/deepmerge#custommerge) option [#133](https://github.com/TehShrike/deepmerge/pull/133)
50
+
51
+# [3.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.1.0)
52
+
53
+- typescript typing: make the `all` function generic [#129](https://github.com/TehShrike/deepmerge/pull/129)
54
+
55
+# [3.0.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.0.0)
56
+
57
+- drop ES module build [#123](https://github.com/TehShrike/deepmerge/issues/123)
58
+
59
+# [2.2.1](https://github.com/TehShrike/deepmerge/releases/tag/v2.2.1)
60
+
61
+- bug: typescript export type was wrong [#121](https://github.com/TehShrike/deepmerge/pull/121)
62
+
63
+# [2.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v2.2.0)
64
+
65
+- feature: added TypeScript typings [#119](https://github.com/TehShrike/deepmerge/pull/119)
66
+
67
+# [2.1.1](https://github.com/TehShrike/deepmerge/releases/tag/v2.1.1)
68
+
69
+- documentation: Rename "methods" to "api", note ESM syntax [#103](https://github.com/TehShrike/deepmerge/pull/103)
70
+- documentation: Fix grammar [#107](https://github.com/TehShrike/deepmerge/pull/107)
71
+- documentation: Restructure headers for clarity + some wording tweaks [108](https://github.com/TehShrike/deepmerge/pull/108) + [109](https://github.com/TehShrike/deepmerge/pull/109)
72
+
73
+
74
+# [2.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v2.1.0)
75
+
76
+- feature: Support a custom `isMergeableObject` function [#96](https://github.com/TehShrike/deepmerge/pull/96)
77
+- documentation: note a Webpack bug that some users might need to work around [#100](https://github.com/TehShrike/deepmerge/pull/100)
78
+
79
+# [2.0.1](https://github.com/TehShrike/deepmerge/releases/tag/v2.0.1)
80
+
81
+- documentation: fix the old array merge algorithm in the readme.  [#84](https://github.com/TehShrike/deepmerge/pull/84)
82
+
83
+# [2.0.0](https://github.com/TehShrike/deepmerge/releases/tag/v2.0.0)
84
+
85
+- breaking: the array merge algorithm has changed from a complicated thing to `target.concat(source).map(element => cloneUnlessOtherwiseSpecified(element, optionsArgument))`
86
+- breaking: The `clone` option now defaults to `true`
87
+- feature: `merge.all` now accepts an array of any size, even 0 or 1 elements
88
+
89
+See [pull request 77](https://github.com/TehShrike/deepmerge/pull/77).
90
+
91
+# [1.5.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.5.2)
92
+
93
+- fix: no longer attempts to merge React elements [#76](https://github.com/TehShrike/deepmerge/issues/76)
94
+
95
+# [1.5.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.5.1)
96
+
97
+- bower support: officially dropping bower support.  If you use bower, please depend on the [unpkg distribution](https://unpkg.com/deepmerge/dist/umd.js).  See [#63](https://github.com/TehShrike/deepmerge/issues/63)
98
+
99
+# [1.5.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.5.0)
100
+
101
+- bug fix: merging objects into arrays was allowed, and doesn't make any sense. [#65](https://github.com/TehShrike/deepmerge/issues/65) published as a feature release instead of a patch because it is a decent behavior change.
102
+
103
+# [1.4.4](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.4)
104
+
105
+- bower support: updated `main` in bower.json
106
+
107
+# [1.4.3](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.3)
108
+
109
+- bower support: inline is-mergeable-object in a new CommonJS build, so that people using both bower and CommonJS can bundle the library [0b34e6](https://github.com/TehShrike/deepmerge/commit/0b34e6e95f989f2fc8091d25f0d291c08f3d2d24)
110
+
111
+# [1.4.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.2)
112
+
113
+- performance: bump is-mergeable-object dependency version for a slight performance improvement [5906c7](https://github.com/TehShrike/deepmerge/commit/5906c765d691d48e83d76efbb0d4b9ca150dc12c)
114
+
115
+# [1.4.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.1)
116
+
117
+- documentation: fix unpkg link [acc45b](https://github.com/TehShrike/deepmerge/commit/acc45be85519c1df906a72ecb24764b622d18d47)
118
+
119
+# [1.4.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.0)
120
+
121
+- api: instead of only exporting a UMD module, expose a UMD module with `pkg.main`, a CJS module with `pkg.browser`, and an ES module with `pkg.module` [#62](https://github.com/TehShrike/deepmerge/pull/62)
122
+
123
+# [1.3.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.3.2)
124
+
125
+- documentation: note the minified/gzipped file sizes [56](https://github.com/TehShrike/deepmerge/pull/56)
126
+- documentation: make data structures more readable in merge example: pull request [57](https://github.com/TehShrike/deepmerge/pull/57)
127
+
128
+# [1.3.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.3.1)
129
+
130
+- documentation: clarify and test some array merging documentation: pull request [51](https://github.com/TehShrike/deepmerge/pull/51)
131
+
132
+# [1.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.3.0)
133
+
134
+- feature: `merge.all`, a merge function that merges any number of objects: pull request [50](https://github.com/TehShrike/deepmerge/pull/50)
135
+
136
+# [1.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.2.0)
137
+
138
+- fix: an error that would be thrown when an array would be merged onto a truthy non-array value: pull request [46](https://github.com/TehShrike/deepmerge/pull/46)
139
+- feature: the ability to clone: Issue [28](https://github.com/TehShrike/deepmerge/issues/28), pull requests [44](https://github.com/TehShrike/deepmerge/pull/44) and [48](https://github.com/TehShrike/deepmerge/pull/48)
140
+- maintenance: added tests + travis to `.npmignore`: pull request [47](https://github.com/TehShrike/deepmerge/pull/47)
141
+
142
+# [1.1.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.1.1)
143
+
144
+- fix an issue where an error was thrown when merging an array onto a non-array: [Pull request 46](https://github.com/TehShrike/deepmerge/pull/46)
145
+
146
+# [1.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.1.0)
147
+
148
+- allow consumers to specify their own array merging algorithm: [Pull request 37](https://github.com/TehShrike/deepmerge/pull/37)
149
+
150
+# [1.0.3](https://github.com/TehShrike/deepmerge/releases/tag/v1.0.3)
151
+
152
+- adding bower.json back: [Issue 38](https://github.com/TehShrike/deepmerge/pull/38)
153
+- updating keywords and Github links in package.json [bc3898e](https://github.com/TehShrike/deepmerge/commit/bc3898e587a56f74591328f40f656b0152c1d5eb)
154
+
155
+# [1.0.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.0.2)
156
+
157
+- Updating the readme: dropping bower, testing that the example works: [7102fc](https://github.com/TehShrike/deepmerge/commit/7102fcc4ddec11e2d33205866f9f18df14e5aeb5)
158
+
159
+# [1.0.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.0.1)
160
+
161
+- `null`, dates, and regular expressions are now properly merged in arrays: [Issue 18](https://github.com/TehShrike/deepmerge/pull/18), plus commit: [ef1c6b](https://github.com/TehShrike/deepmerge/commit/ef1c6bac8350ba12a24966f0bc7da02560827586)
162
+
163
+# 1.0.0
164
+
165
+- Should only be a patch change, because this module is READY. [Issue 15](https://github.com/TehShrike/deepmerge/issues/15)
166
+- Regular expressions are now treated like primitive values when merging: [Issue 30](https://github.com/TehShrike/deepmerge/pull/30)
167
+- Dates are now treated like primitives when merging: [Issue 31](https://github.com/TehShrike/deepmerge/issues/31)

+ 133
- 0
node_modules/deepmerge/dist/cjs.js Datei anzeigen

@@ -0,0 +1,133 @@
1
+'use strict';
2
+
3
+var isMergeableObject = function isMergeableObject(value) {
4
+	return isNonNullObject(value)
5
+		&& !isSpecial(value)
6
+};
7
+
8
+function isNonNullObject(value) {
9
+	return !!value && typeof value === 'object'
10
+}
11
+
12
+function isSpecial(value) {
13
+	var stringValue = Object.prototype.toString.call(value);
14
+
15
+	return stringValue === '[object RegExp]'
16
+		|| stringValue === '[object Date]'
17
+		|| isReactElement(value)
18
+}
19
+
20
+// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
21
+var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
22
+var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
23
+
24
+function isReactElement(value) {
25
+	return value.$$typeof === REACT_ELEMENT_TYPE
26
+}
27
+
28
+function emptyTarget(val) {
29
+	return Array.isArray(val) ? [] : {}
30
+}
31
+
32
+function cloneUnlessOtherwiseSpecified(value, options) {
33
+	return (options.clone !== false && options.isMergeableObject(value))
34
+		? deepmerge(emptyTarget(value), value, options)
35
+		: value
36
+}
37
+
38
+function defaultArrayMerge(target, source, options) {
39
+	return target.concat(source).map(function(element) {
40
+		return cloneUnlessOtherwiseSpecified(element, options)
41
+	})
42
+}
43
+
44
+function getMergeFunction(key, options) {
45
+	if (!options.customMerge) {
46
+		return deepmerge
47
+	}
48
+	var customMerge = options.customMerge(key);
49
+	return typeof customMerge === 'function' ? customMerge : deepmerge
50
+}
51
+
52
+function getEnumerableOwnPropertySymbols(target) {
53
+	return Object.getOwnPropertySymbols
54
+		? Object.getOwnPropertySymbols(target).filter(function(symbol) {
55
+			return Object.propertyIsEnumerable.call(target, symbol)
56
+		})
57
+		: []
58
+}
59
+
60
+function getKeys(target) {
61
+	return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
62
+}
63
+
64
+function propertyIsOnObject(object, property) {
65
+	try {
66
+		return property in object
67
+	} catch(_) {
68
+		return false
69
+	}
70
+}
71
+
72
+// Protects from prototype poisoning and unexpected merging up the prototype chain.
73
+function propertyIsUnsafe(target, key) {
74
+	return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
75
+		&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
76
+			&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
77
+}
78
+
79
+function mergeObject(target, source, options) {
80
+	var destination = {};
81
+	if (options.isMergeableObject(target)) {
82
+		getKeys(target).forEach(function(key) {
83
+			destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
84
+		});
85
+	}
86
+	getKeys(source).forEach(function(key) {
87
+		if (propertyIsUnsafe(target, key)) {
88
+			return
89
+		}
90
+
91
+		if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
92
+			destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
93
+		} else {
94
+			destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
95
+		}
96
+	});
97
+	return destination
98
+}
99
+
100
+function deepmerge(target, source, options) {
101
+	options = options || {};
102
+	options.arrayMerge = options.arrayMerge || defaultArrayMerge;
103
+	options.isMergeableObject = options.isMergeableObject || isMergeableObject;
104
+	// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
105
+	// implementations can use it. The caller may not replace it.
106
+	options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
107
+
108
+	var sourceIsArray = Array.isArray(source);
109
+	var targetIsArray = Array.isArray(target);
110
+	var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
111
+
112
+	if (!sourceAndTargetTypesMatch) {
113
+		return cloneUnlessOtherwiseSpecified(source, options)
114
+	} else if (sourceIsArray) {
115
+		return options.arrayMerge(target, source, options)
116
+	} else {
117
+		return mergeObject(target, source, options)
118
+	}
119
+}
120
+
121
+deepmerge.all = function deepmergeAll(array, options) {
122
+	if (!Array.isArray(array)) {
123
+		throw new Error('first argument should be an array')
124
+	}
125
+
126
+	return array.reduce(function(prev, next) {
127
+		return deepmerge(prev, next, options)
128
+	}, {})
129
+};
130
+
131
+var deepmerge_1 = deepmerge;
132
+
133
+module.exports = deepmerge_1;

+ 139
- 0
node_modules/deepmerge/dist/umd.js Datei anzeigen

@@ -0,0 +1,139 @@
1
+(function (global, factory) {
2
+	typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
+	typeof define === 'function' && define.amd ? define(factory) :
4
+	(global = global || self, global.deepmerge = factory());
5
+}(this, function () { 'use strict';
6
+
7
+	var isMergeableObject = function isMergeableObject(value) {
8
+		return isNonNullObject(value)
9
+			&& !isSpecial(value)
10
+	};
11
+
12
+	function isNonNullObject(value) {
13
+		return !!value && typeof value === 'object'
14
+	}
15
+
16
+	function isSpecial(value) {
17
+		var stringValue = Object.prototype.toString.call(value);
18
+
19
+		return stringValue === '[object RegExp]'
20
+			|| stringValue === '[object Date]'
21
+			|| isReactElement(value)
22
+	}
23
+
24
+	// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
25
+	var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
26
+	var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
27
+
28
+	function isReactElement(value) {
29
+		return value.$$typeof === REACT_ELEMENT_TYPE
30
+	}
31
+
32
+	function emptyTarget(val) {
33
+		return Array.isArray(val) ? [] : {}
34
+	}
35
+
36
+	function cloneUnlessOtherwiseSpecified(value, options) {
37
+		return (options.clone !== false && options.isMergeableObject(value))
38
+			? deepmerge(emptyTarget(value), value, options)
39
+			: value
40
+	}
41
+
42
+	function defaultArrayMerge(target, source, options) {
43
+		return target.concat(source).map(function(element) {
44
+			return cloneUnlessOtherwiseSpecified(element, options)
45
+		})
46
+	}
47
+
48
+	function getMergeFunction(key, options) {
49
+		if (!options.customMerge) {
50
+			return deepmerge
51
+		}
52
+		var customMerge = options.customMerge(key);
53
+		return typeof customMerge === 'function' ? customMerge : deepmerge
54
+	}
55
+
56
+	function getEnumerableOwnPropertySymbols(target) {
57
+		return Object.getOwnPropertySymbols
58
+			? Object.getOwnPropertySymbols(target).filter(function(symbol) {
59
+				return Object.propertyIsEnumerable.call(target, symbol)
60
+			})
61
+			: []
62
+	}
63
+
64
+	function getKeys(target) {
65
+		return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
66
+	}
67
+
68
+	function propertyIsOnObject(object, property) {
69
+		try {
70
+			return property in object
71
+		} catch(_) {
72
+			return false
73
+		}
74
+	}
75
+
76
+	// Protects from prototype poisoning and unexpected merging up the prototype chain.
77
+	function propertyIsUnsafe(target, key) {
78
+		return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
79
+			&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
80
+				&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
81
+	}
82
+
83
+	function mergeObject(target, source, options) {
84
+		var destination = {};
85
+		if (options.isMergeableObject(target)) {
86
+			getKeys(target).forEach(function(key) {
87
+				destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
88
+			});
89
+		}
90
+		getKeys(source).forEach(function(key) {
91
+			if (propertyIsUnsafe(target, key)) {
92
+				return
93
+			}
94
+
95
+			if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
96
+				destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
97
+			} else {
98
+				destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
99
+			}
100
+		});
101
+		return destination
102
+	}
103
+
104
+	function deepmerge(target, source, options) {
105
+		options = options || {};
106
+		options.arrayMerge = options.arrayMerge || defaultArrayMerge;
107
+		options.isMergeableObject = options.isMergeableObject || isMergeableObject;
108
+		// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
109
+		// implementations can use it. The caller may not replace it.
110
+		options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
111
+
112
+		var sourceIsArray = Array.isArray(source);
113
+		var targetIsArray = Array.isArray(target);
114
+		var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
115
+
116
+		if (!sourceAndTargetTypesMatch) {
117
+			return cloneUnlessOtherwiseSpecified(source, options)
118
+		} else if (sourceIsArray) {
119
+			return options.arrayMerge(target, source, options)
120
+		} else {
121
+			return mergeObject(target, source, options)
122
+		}
123
+	}
124
+
125
+	deepmerge.all = function deepmergeAll(array, options) {
126
+		if (!Array.isArray(array)) {
127
+			throw new Error('first argument should be an array')
128
+		}
129
+
130
+		return array.reduce(function(prev, next) {
131
+			return deepmerge(prev, next, options)
132
+		}, {})
133
+	};
134
+
135
+	var deepmerge_1 = deepmerge;
136
+
137
+	return deepmerge_1;
138
+
139
+}));

+ 20
- 0
node_modules/deepmerge/index.d.ts Datei anzeigen

@@ -0,0 +1,20 @@
1
+declare function deepmerge<T>(x: Partial<T>, y: Partial<T>, options?: deepmerge.Options): T;
2
+declare function deepmerge<T1, T2>(x: Partial<T1>, y: Partial<T2>, options?: deepmerge.Options): T1 & T2;
3
+
4
+declare namespace deepmerge {
5
+	export interface Options {
6
+		arrayMerge?(target: any[], source: any[], options?: ArrayMergeOptions): any[];
7
+		clone?: boolean;
8
+		customMerge?: (key: string, options?: Options) => ((x: any, y: any) => any) | undefined;
9
+		isMergeableObject?(value: object): boolean;
10
+	}
11
+	export interface ArrayMergeOptions {
12
+		isMergeableObject(value: object): boolean;
13
+		cloneUnlessOtherwiseSpecified(value: object, options?: Options): object;
14
+	}
15
+
16
+	export function all (objects: object[], options?: Options): object;
17
+	export function all<T> (objects: Partial<T>[], options?: Options): T;
18
+}
19
+
20
+export = deepmerge;

+ 106
- 0
node_modules/deepmerge/index.js Datei anzeigen

@@ -0,0 +1,106 @@
1
+var defaultIsMergeableObject = require('is-mergeable-object')
2
+
3
+function emptyTarget(val) {
4
+	return Array.isArray(val) ? [] : {}
5
+}
6
+
7
+function cloneUnlessOtherwiseSpecified(value, options) {
8
+	return (options.clone !== false && options.isMergeableObject(value))
9
+		? deepmerge(emptyTarget(value), value, options)
10
+		: value
11
+}
12
+
13
+function defaultArrayMerge(target, source, options) {
14
+	return target.concat(source).map(function(element) {
15
+		return cloneUnlessOtherwiseSpecified(element, options)
16
+	})
17
+}
18
+
19
+function getMergeFunction(key, options) {
20
+	if (!options.customMerge) {
21
+		return deepmerge
22
+	}
23
+	var customMerge = options.customMerge(key)
24
+	return typeof customMerge === 'function' ? customMerge : deepmerge
25
+}
26
+
27
+function getEnumerableOwnPropertySymbols(target) {
28
+	return Object.getOwnPropertySymbols
29
+		? Object.getOwnPropertySymbols(target).filter(function(symbol) {
30
+			return Object.propertyIsEnumerable.call(target, symbol)
31
+		})
32
+		: []
33
+}
34
+
35
+function getKeys(target) {
36
+	return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
37
+}
38
+
39
+function propertyIsOnObject(object, property) {
40
+	try {
41
+		return property in object
42
+	} catch(_) {
43
+		return false
44
+	}
45
+}
46
+
47
+// Protects from prototype poisoning and unexpected merging up the prototype chain.
48
+function propertyIsUnsafe(target, key) {
49
+	return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
50
+		&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
51
+			&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
52
+}
53
+
54
+function mergeObject(target, source, options) {
55
+	var destination = {}
56
+	if (options.isMergeableObject(target)) {
57
+		getKeys(target).forEach(function(key) {
58
+			destination[key] = cloneUnlessOtherwiseSpecified(target[key], options)
59
+		})
60
+	}
61
+	getKeys(source).forEach(function(key) {
62
+		if (propertyIsUnsafe(target, key)) {
63
+			return
64
+		}
65
+
66
+		if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
67
+			destination[key] = getMergeFunction(key, options)(target[key], source[key], options)
68
+		} else {
69
+			destination[key] = cloneUnlessOtherwiseSpecified(source[key], options)
70
+		}
71
+	})
72
+	return destination
73
+}
74
+
75
+function deepmerge(target, source, options) {
76
+	options = options || {}
77
+	options.arrayMerge = options.arrayMerge || defaultArrayMerge
78
+	options.isMergeableObject = options.isMergeableObject || defaultIsMergeableObject
79
+	// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
80
+	// implementations can use it. The caller may not replace it.
81
+	options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified
82
+
83
+	var sourceIsArray = Array.isArray(source)
84
+	var targetIsArray = Array.isArray(target)
85
+	var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray
86
+
87
+	if (!sourceAndTargetTypesMatch) {
88
+		return cloneUnlessOtherwiseSpecified(source, options)
89
+	} else if (sourceIsArray) {
90
+		return options.arrayMerge(target, source, options)
91
+	} else {
92
+		return mergeObject(target, source, options)
93
+	}
94
+}
95
+
96
+deepmerge.all = function deepmergeAll(array, options) {
97
+	if (!Array.isArray(array)) {
98
+		throw new Error('first argument should be an array')
99
+	}
100
+
101
+	return array.reduce(function(prev, next) {
102
+		return deepmerge(prev, next, options)
103
+	}, {})
104
+}
105
+
106
+module.exports = deepmerge

+ 21
- 0
node_modules/deepmerge/license.txt Datei anzeigen

@@ -0,0 +1,21 @@
1
+The MIT License (MIT)
2
+
3
+Copyright (c) 2012 James Halliday, Josh Duff, and other contributors
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in
13
+all copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+THE SOFTWARE.

+ 70
- 0
node_modules/deepmerge/package.json Datei anzeigen

@@ -0,0 +1,70 @@
1
+{
2
+  "_from": "deepmerge@^4.2.2",
3
+  "_id": "deepmerge@4.3.1",
4
+  "_inBundle": false,
5
+  "_integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
6
+  "_location": "/deepmerge",
7
+  "_phantomChildren": {},
8
+  "_requested": {
9
+    "type": "range",
10
+    "registry": true,
11
+    "raw": "deepmerge@^4.2.2",
12
+    "name": "deepmerge",
13
+    "escapedName": "deepmerge",
14
+    "rawSpec": "^4.2.2",
15
+    "saveSpec": null,
16
+    "fetchSpec": "^4.2.2"
17
+  },
18
+  "_requiredBy": [
19
+    "/vuex-persistedstate"
20
+  ],
21
+  "_resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
22
+  "_shasum": "44b5f2147cd3b00d4b56137685966f26fd25dd4a",
23
+  "_spec": "deepmerge@^4.2.2",
24
+  "_where": "D:\\work\\云美\\legalAffairs-app\\node_modules\\vuex-persistedstate",
25
+  "bugs": {
26
+    "url": "https://github.com/TehShrike/deepmerge/issues"
27
+  },
28
+  "bundleDependencies": false,
29
+  "deprecated": false,
30
+  "description": "A library for deep (recursive) merging of Javascript objects",
31
+  "devDependencies": {
32
+    "@types/node": "^8.10.54",
33
+    "is-mergeable-object": "1.1.0",
34
+    "is-plain-object": "^5.0.0",
35
+    "jsmd": "^1.0.2",
36
+    "rollup": "^1.23.1",
37
+    "rollup-plugin-commonjs": "^10.1.0",
38
+    "rollup-plugin-node-resolve": "^5.2.0",
39
+    "tape": "^4.11.0",
40
+    "ts-node": "7.0.1",
41
+    "typescript": "=2.2.2",
42
+    "uglify-js": "^3.6.1"
43
+  },
44
+  "engines": {
45
+    "node": ">=0.10.0"
46
+  },
47
+  "homepage": "https://github.com/TehShrike/deepmerge",
48
+  "keywords": [
49
+    "merge",
50
+    "deep",
51
+    "extend",
52
+    "copy",
53
+    "clone",
54
+    "recursive"
55
+  ],
56
+  "license": "MIT",
57
+  "main": "dist/cjs.js",
58
+  "name": "deepmerge",
59
+  "repository": {
60
+    "type": "git",
61
+    "url": "git://github.com/TehShrike/deepmerge.git"
62
+  },
63
+  "scripts": {
64
+    "build": "rollup -c",
65
+    "size": "npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c",
66
+    "test": "npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript",
67
+    "test:typescript": "tsc --noEmit test/typescript.ts && ts-node test/typescript.ts"
68
+  },
69
+  "version": "4.3.1"
70
+}

+ 264
- 0
node_modules/deepmerge/readme.md Datei anzeigen

@@ -0,0 +1,264 @@
1
+# deepmerge
2
+
3
+Merges the enumerable properties of two or more objects deeply.
4
+
5
+> UMD bundle is 723B minified+gzipped
6
+
7
+## Getting Started
8
+
9
+### Example Usage
10
+<!--js
11
+const merge = require('./')
12
+-->
13
+
14
+```js
15
+const x = {
16
+	foo: { bar: 3 },
17
+	array: [{
18
+		does: 'work',
19
+		too: [ 1, 2, 3 ]
20
+	}]
21
+}
22
+
23
+const y = {
24
+	foo: { baz: 4 },
25
+	quux: 5,
26
+	array: [{
27
+		does: 'work',
28
+		too: [ 4, 5, 6 ]
29
+	}, {
30
+		really: 'yes'
31
+	}]
32
+}
33
+
34
+const output = {
35
+	foo: {
36
+		bar: 3,
37
+		baz: 4
38
+	},
39
+	array: [{
40
+		does: 'work',
41
+		too: [ 1, 2, 3 ]
42
+	}, {
43
+		does: 'work',
44
+		too: [ 4, 5, 6 ]
45
+	}, {
46
+		really: 'yes'
47
+	}],
48
+	quux: 5
49
+}
50
+
51
+merge(x, y) // => output
52
+```
53
+
54
+
55
+### Installation
56
+
57
+With [npm](http://npmjs.org) do:
58
+
59
+```sh
60
+npm install deepmerge
61
+```
62
+
63
+deepmerge can be used directly in the browser without the use of package managers/bundlers as well:  [UMD version from unpkg.com](https://unpkg.com/deepmerge/dist/umd.js).
64
+
65
+
66
+### Include
67
+
68
+deepmerge exposes a CommonJS entry point:
69
+
70
+```
71
+const merge = require('deepmerge')
72
+```
73
+
74
+The ESM entry point was dropped due to a [Webpack bug](https://github.com/webpack/webpack/issues/6584).
75
+
76
+# API
77
+
78
+
79
+## `merge(x, y, [options])`
80
+
81
+Merge two objects `x` and `y` deeply, returning a new merged object with the
82
+elements from both `x` and `y`.
83
+
84
+If an element at the same key is present for both `x` and `y`, the value from
85
+`y` will appear in the result.
86
+
87
+Merging creates a new object, so that neither `x` or `y` is modified.
88
+
89
+**Note:** By default, arrays are merged by concatenating them.
90
+
91
+## `merge.all(arrayOfObjects, [options])`
92
+
93
+Merges any number of objects into a single result object.
94
+
95
+```js
96
+const foobar = { foo: { bar: 3 } }
97
+const foobaz = { foo: { baz: 4 } }
98
+const bar = { bar: 'yay!' }
99
+
100
+merge.all([ foobar, foobaz, bar ]) // => { foo: { bar: 3, baz: 4 }, bar: 'yay!' }
101
+```
102
+
103
+
104
+## Options
105
+
106
+### `arrayMerge`
107
+
108
+There are multiple ways to merge two arrays, below are a few examples but you can also create your own custom function.
109
+
110
+Your `arrayMerge` function will be called with three arguments: a `target` array, the `source` array, and an `options` object with these properties:
111
+
112
+- `isMergeableObject(value)`
113
+- `cloneUnlessOtherwiseSpecified(value, options)`
114
+
115
+#### `arrayMerge` example: overwrite target array
116
+
117
+Overwrites the existing array values completely rather than concatenating them:
118
+
119
+```js
120
+const overwriteMerge = (destinationArray, sourceArray, options) => sourceArray
121
+
122
+merge(
123
+	[1, 2, 3],
124
+	[3, 2, 1],
125
+	{ arrayMerge: overwriteMerge }
126
+) // => [3, 2, 1]
127
+```
128
+
129
+#### `arrayMerge` example: combine arrays
130
+
131
+Combines objects at the same index in the two arrays.
132
+
133
+This was the default array merging algorithm pre-version-2.0.0.
134
+
135
+```js
136
+const combineMerge = (target, source, options) => {
137
+	const destination = target.slice()
138
+
139
+	source.forEach((item, index) => {
140
+		if (typeof destination[index] === 'undefined') {
141
+			destination[index] = options.cloneUnlessOtherwiseSpecified(item, options)
142
+		} else if (options.isMergeableObject(item)) {
143
+			destination[index] = merge(target[index], item, options)
144
+		} else if (target.indexOf(item) === -1) {
145
+			destination.push(item)
146
+		}
147
+	})
148
+	return destination
149
+}
150
+
151
+merge(
152
+	[{ a: true }],
153
+	[{ b: true }, 'ah yup'],
154
+	{ arrayMerge: combineMerge }
155
+) // => [{ a: true, b: true }, 'ah yup']
156
+```
157
+
158
+### `isMergeableObject`
159
+
160
+By default, deepmerge clones every property from almost every kind of object.
161
+
162
+You may not want this, if your objects are of special types, and you want to copy the whole object instead of just copying its properties.
163
+
164
+You can accomplish this by passing in a function for the `isMergeableObject` option.
165
+
166
+If you only want to clone properties of plain objects, and ignore all "special" kinds of instantiated objects, you probably want to drop in [`is-plain-object`](https://github.com/jonschlinkert/is-plain-object).
167
+
168
+```js
169
+const { isPlainObject } = require('is-plain-object')
170
+
171
+function SuperSpecial() {
172
+	this.special = 'oh yeah man totally'
173
+}
174
+
175
+const instantiatedSpecialObject = new SuperSpecial()
176
+
177
+const target = {
178
+	someProperty: {
179
+		cool: 'oh for sure'
180
+	}
181
+}
182
+
183
+const source = {
184
+	someProperty: instantiatedSpecialObject
185
+}
186
+
187
+const defaultOutput = merge(target, source)
188
+
189
+defaultOutput.someProperty.cool // => 'oh for sure'
190
+defaultOutput.someProperty.special // => 'oh yeah man totally'
191
+defaultOutput.someProperty instanceof SuperSpecial // => false
192
+
193
+const customMergeOutput = merge(target, source, {
194
+	isMergeableObject: isPlainObject
195
+})
196
+
197
+customMergeOutput.someProperty.cool // => undefined
198
+customMergeOutput.someProperty.special // => 'oh yeah man totally'
199
+customMergeOutput.someProperty instanceof SuperSpecial // => true
200
+```
201
+
202
+### `customMerge`
203
+
204
+Specifies a function which can be used to override the default merge behavior for a property, based on the property name.
205
+
206
+The `customMerge` function will be passed the key for each property, and should return the function which should be used to merge the values for that property.
207
+
208
+It may also return undefined, in which case the default merge behaviour will be used.
209
+
210
+```js
211
+const alex = {
212
+	name: {
213
+		first: 'Alex',
214
+		last: 'Alexson'
215
+	},
216
+	pets: ['Cat', 'Parrot']
217
+}
218
+
219
+const tony = {
220
+	name: {
221
+		first: 'Tony',
222
+		last: 'Tonison'
223
+	},
224
+	pets: ['Dog']
225
+}
226
+
227
+const mergeNames = (nameA, nameB) => `${nameA.first} and ${nameB.first}`
228
+
229
+const options = {
230
+	customMerge: (key) => {
231
+		if (key === 'name') {
232
+			return mergeNames
233
+		}
234
+	}
235
+}
236
+
237
+const result = merge(alex, tony, options)
238
+
239
+result.name // => 'Alex and Tony'
240
+result.pets // => ['Cat', 'Parrot', 'Dog']
241
+```
242
+
243
+
244
+### `clone`
245
+
246
+*Deprecated.*
247
+
248
+Defaults to `true`.
249
+
250
+If `clone` is `false` then child objects will be copied directly instead of being cloned.  This was the default behavior before version 2.x.
251
+
252
+
253
+# Testing
254
+
255
+With [npm](http://npmjs.org) do:
256
+
257
+```sh
258
+npm test
259
+```
260
+
261
+
262
+# License
263
+
264
+MIT

+ 22
- 0
node_modules/deepmerge/rollup.config.js Datei anzeigen

@@ -0,0 +1,22 @@
1
+import resolve from 'rollup-plugin-node-resolve'
2
+import commonjs from 'rollup-plugin-commonjs'
3
+import pkg from './package.json'
4
+
5
+export default {
6
+	input: `index.js`,
7
+	plugins: [
8
+		commonjs(),
9
+		resolve(),
10
+	],
11
+	output: [
12
+		{
13
+			file: pkg.main,
14
+			format: `cjs`
15
+		},
16
+		{
17
+			name: 'deepmerge',
18
+			file: 'dist/umd.js',
19
+			format: `umd`
20
+		},
21
+	],
22
+}

+ 4
- 0
node_modules/shvl/CHANGELOG.md Datei anzeigen

@@ -0,0 +1,4 @@
1
+# Changelog
2
+
3
+This project adheres to [Semantic Versioning](http://semver.org/).  
4
+Every release is documented on the Github [Releases](https://github.com/robinvdvleuten/shvl/releases) page.

+ 21
- 0
node_modules/shvl/LICENSE Datei anzeigen

@@ -0,0 +1,21 @@
1
+MIT License
2
+
3
+Copyright (c) Robin van der Vleuten <robin@webstronauts.co>
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 86
- 0
node_modules/shvl/README.md Datei anzeigen

@@ -0,0 +1,86 @@
1
+# shvl
2
+
3
+Get and set dot-notated properties within an object.
4
+
5
+<img src="https://media.giphy.com/media/3o85xLDQLoZD1rk07u/giphy-downsized.gif" width="350" />
6
+
7
+<hr />
8
+
9
+[![Build Status](https://img.shields.io/github/workflow/status/robinvdvleuten/shvl/test.svg)](https://github.com/robinvdvleuten/shvl/actions?query=workflow%3Atest)
10
+[![NPM version](https://img.shields.io/npm/v/shvl.svg)](https://www.npmjs.com/package/shvl)
11
+[![NPM downloads](https://img.shields.io/npm/dm/shvl.svg)](https://www.npmjs.com/package/shvl)
12
+[![MIT license](https://img.shields.io/github/license/robinvdvleuten/shvl.svg)](https://github.com/robinvdvleuten/shvl/blob/master/LICENSE)
13
+
14
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
15
+
16
+<a href="https://webstronauts.com/">
17
+	<img src="https://webstronauts.com/badges/sponsored-by-webstronauts.svg" alt="Sponsored by The Webstronauts" width="200" height="65">
18
+</a>
19
+
20
+## Installation
21
+
22
+```
23
+npm install --save shvl
24
+```
25
+
26
+The [UMD](https://github.com/umdjs/umd) build is also available on [unpkg](https://unpkg.com/shvl/dist/shvl.umd.js):
27
+
28
+```
29
+<script src="//unpkg.com/shvl/dist/shvl.umd.js"></script>
30
+```
31
+
32
+This exposes the shlv object as a global.
33
+
34
+## Usage
35
+
36
+```js
37
+import * as shvl from 'shvl';
38
+
39
+let obj = {
40
+	a: {
41
+		b: {
42
+			c: 1
43
+			d: undefined
44
+			e: null
45
+		}
46
+	}
47
+};
48
+
49
+// Use dot notation for keys
50
+shvl.set(obj, 'a.b.c', 2);
51
+shvl.get(obj, 'a.b.c') === 2;
52
+
53
+// Or use an array as key
54
+shvl.get(obj, ['a', 'b', 'c']) === 1;
55
+
56
+// Returns undefined if the path does not exist and no default is specified
57
+shvl.get(obj, 'a.b.c.f') === undefined;
58
+```
59
+
60
+## Changelog
61
+
62
+Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
63
+
64
+## Contributors ✨
65
+
66
+Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
67
+
68
+<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
69
+<!-- prettier-ignore-start -->
70
+<!-- markdownlint-disable -->
71
+<table>
72
+  <tr>
73
+    <td align="center"><a href="https://robinvdvleuten.nl/"><img src="https://avatars3.githubusercontent.com/u/238295?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Robin van der Vleuten</b></sub></a><br /><a href="#question-robinvdvleuten" title="Answering Questions">💬</a> <a href="https://github.com/robinvdvleuten/shvl/commits?author=robinvdvleuten" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/shvl/commits?author=robinvdvleuten" title="Documentation">📖</a> <a href="#example-robinvdvleuten" title="Examples">💡</a> <a href="#ideas-robinvdvleuten" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-robinvdvleuten" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/robinvdvleuten/shvl/pulls?q=is%3Apr+reviewed-by%3Arobinvdvleuten" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/robinvdvleuten/shvl/commits?author=robinvdvleuten" title="Tests">⚠️</a></td>
74
+    <td align="center"><a href="https://github.com/ajenkinski"><img src="https://avatars0.githubusercontent.com/u/20757262?v=4?s=100" width="100px;" alt=""/><br /><sub><b>ajenkinski</b></sub></a><br /><a href="https://github.com/robinvdvleuten/shvl/commits?author=ajenkinski" title="Code">💻</a></td>
75
+  </tr>
76
+</table>
77
+
78
+<!-- markdownlint-enable -->
79
+<!-- prettier-ignore-end -->
80
+<!-- ALL-CONTRIBUTORS-LIST:END -->
81
+
82
+This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
83
+
84
+## License
85
+
86
+The MIT License (MIT). Please see [License File](LICENSE) for more information.

+ 2
- 0
node_modules/shvl/dist/shvl.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+exports.get=function(t,e,r){return void 0===(t=(e.split?e.split("."):e).reduce(function(t,e){return t&&t[e]},t))?r:t},exports.set=function(t,e,r,o){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce(function(t,e){return t[e]=t[e]||{}},t)[e.pop()]=r),t};
2
+//# sourceMappingURL=shvl.js.map

+ 1
- 0
node_modules/shvl/dist/shvl.js.map Datei anzeigen

@@ -0,0 +1 @@
1
+{"version":3,"file":"shvl.js","sources":["../index.js"],"sourcesContent":["export function get (object, path, def) {\n  return (object = (path.split ? path.split('.') : path).reduce(function (obj, p) {\n    return obj && obj[p]\n  }, object)) === undefined ? def : object;\n};\n\nexport function set  (object, path, val, obj) {\n  return !/^(__proto__|constructor|prototype)$/.test(path) && ((path = path.split ? path.split('.') : path.slice(0)).slice(0, -1).reduce(function (obj, p) {\n    return obj[p] = obj[p] || {};\n  }, obj = object)[path.pop()] = val), object;\n};\n"],"names":["object","path","def","undefined","split","reduce","obj","p","val","test","slice","pop"],"mappings":"qBAAqBA,EAAQC,EAAMC,GACjC,YAEgBC,KAFRH,GAAUC,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,GAAMI,OAAO,SAAUC,EAAKC,GAC3E,OAAOD,GAAOA,EAAIC,IACjBP,IAAyBE,EAAMF,wBAGdA,EAAQC,EAAMO,EAAKF,GACvC,OAAQ,sCAAsCG,KAAKR,MAAWA,EAAOA,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,EAAKS,MAAM,IAAIA,MAAM,GAAI,GAAGL,OAAO,SAAUC,EAAKC,GACpJ,OAAOD,EAAIC,GAAKD,EAAIC,IAAM,IACnBP,GAAQC,EAAKU,OAASH,GAAMR"}

+ 2
- 0
node_modules/shvl/dist/shvl.mjs Datei anzeigen

@@ -0,0 +1,2 @@
1
+function t(t,r,e){return void 0===(t=(r.split?r.split("."):r).reduce(function(t,r){return t&&t[r]},t))?e:t}function r(t,r,e,n){return!/^(__proto__|constructor|prototype)$/.test(r)&&((r=r.split?r.split("."):r.slice(0)).slice(0,-1).reduce(function(t,r){return t[r]=t[r]||{}},t)[r.pop()]=e),t}export{t as get,r as set};
2
+//# sourceMappingURL=shvl.mjs.map

+ 1
- 0
node_modules/shvl/dist/shvl.mjs.map Datei anzeigen

@@ -0,0 +1 @@
1
+{"version":3,"file":"shvl.mjs","sources":["../index.js"],"sourcesContent":["export function get (object, path, def) {\n  return (object = (path.split ? path.split('.') : path).reduce(function (obj, p) {\n    return obj && obj[p]\n  }, object)) === undefined ? def : object;\n};\n\nexport function set  (object, path, val, obj) {\n  return !/^(__proto__|constructor|prototype)$/.test(path) && ((path = path.split ? path.split('.') : path.slice(0)).slice(0, -1).reduce(function (obj, p) {\n    return obj[p] = obj[p] || {};\n  }, obj = object)[path.pop()] = val), object;\n};\n"],"names":["get","object","path","def","undefined","split","reduce","obj","p","set","val","test","slice","pop"],"mappings":"SAAgBA,EAAKC,EAAQC,EAAMC,GACjC,YAEgBC,KAFRH,GAAUC,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,GAAMI,OAAO,SAAUC,EAAKC,GAC3E,OAAOD,GAAOA,EAAIC,IACjBP,IAAyBE,EAAMF,WAGpBQ,EAAMR,EAAQC,EAAMQ,EAAKH,GACvC,OAAQ,sCAAsCI,KAAKT,MAAWA,EAAOA,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,EAAKU,MAAM,IAAIA,MAAM,GAAI,GAAGN,OAAO,SAAUC,EAAKC,GACpJ,OAAOD,EAAIC,GAAKD,EAAIC,IAAM,IACnBP,GAAQC,EAAKW,OAASH,GAAMT"}

+ 2
- 0
node_modules/shvl/dist/shvl.modern.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+function t(t,r,e){return void 0===(t=(r.split?r.split("."):r).reduce(function(t,r){return t&&t[r]},t))?e:t}function r(t,r,e,n){return!/^(__proto__|constructor|prototype)$/.test(r)&&((r=r.split?r.split("."):r.slice(0)).slice(0,-1).reduce(function(t,r){return t[r]=t[r]||{}},t)[r.pop()]=e),t}export{t as get,r as set};
2
+//# sourceMappingURL=shvl.modern.js.map

+ 1
- 0
node_modules/shvl/dist/shvl.modern.js.map Datei anzeigen

@@ -0,0 +1 @@
1
+{"version":3,"file":"shvl.modern.js","sources":["../index.js"],"sourcesContent":["export function get (object, path, def) {\n  return (object = (path.split ? path.split('.') : path).reduce(function (obj, p) {\n    return obj && obj[p]\n  }, object)) === undefined ? def : object;\n};\n\nexport function set  (object, path, val, obj) {\n  return !/^(__proto__|constructor|prototype)$/.test(path) && ((path = path.split ? path.split('.') : path.slice(0)).slice(0, -1).reduce(function (obj, p) {\n    return obj[p] = obj[p] || {};\n  }, obj = object)[path.pop()] = val), object;\n};\n"],"names":["get","object","path","def","undefined","split","reduce","obj","p","set","val","test","slice","pop"],"mappings":"SAAgBA,EAAKC,EAAQC,EAAMC,GACjC,YAEgBC,KAFRH,GAAUC,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,GAAMI,OAAO,SAAUC,EAAKC,GAC3E,OAAOD,GAAOA,EAAIC,IACjBP,IAAyBE,EAAMF,WAGpBQ,EAAMR,EAAQC,EAAMQ,EAAKH,GACvC,OAAQ,sCAAsCI,KAAKT,MAAWA,EAAOA,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,EAAKU,MAAM,IAAIA,MAAM,GAAI,GAAGN,OAAO,SAAUC,EAAKC,GACpJ,OAAOD,EAAIC,GAAKD,EAAIC,IAAM,IACnBP,GAAQC,EAAKW,OAASH,GAAMT"}

+ 2
- 0
node_modules/shvl/dist/shvl.umd.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).shvl={})}(this,function(t){t.get=function(t,e,n){return void 0===(t=(e.split?e.split("."):e).reduce(function(t,e){return t&&t[e]},t))?n:t},t.set=function(t,e,n,o){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce(function(t,e){return t[e]=t[e]||{}},t)[e.pop()]=n),t}});
2
+//# sourceMappingURL=shvl.umd.js.map

+ 1
- 0
node_modules/shvl/dist/shvl.umd.js.map Datei anzeigen

@@ -0,0 +1 @@
1
+{"version":3,"file":"shvl.umd.js","sources":["../index.js"],"sourcesContent":["export function get (object, path, def) {\n  return (object = (path.split ? path.split('.') : path).reduce(function (obj, p) {\n    return obj && obj[p]\n  }, object)) === undefined ? def : object;\n};\n\nexport function set  (object, path, val, obj) {\n  return !/^(__proto__|constructor|prototype)$/.test(path) && ((path = path.split ? path.split('.') : path.slice(0)).slice(0, -1).reduce(function (obj, p) {\n    return obj[p] = obj[p] || {};\n  }, obj = object)[path.pop()] = val), object;\n};\n"],"names":["object","path","def","undefined","split","reduce","obj","p","val","test","slice","pop"],"mappings":"mMAAqBA,EAAQC,EAAMC,GACjC,YAEgBC,KAFRH,GAAUC,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,GAAMI,OAAO,SAAUC,EAAKC,GAC3E,OAAOD,GAAOA,EAAIC,IACjBP,IAAyBE,EAAMF,kBAGdA,EAAQC,EAAMO,EAAKF,GACvC,OAAQ,sCAAsCG,KAAKR,MAAWA,EAAOA,EAAKG,MAAQH,EAAKG,MAAM,KAAOH,EAAKS,MAAM,IAAIA,MAAM,GAAI,GAAGL,OAAO,SAAUC,EAAKC,GACpJ,OAAOD,EAAIC,GAAKD,EAAIC,IAAM,IACnBP,GAAQC,EAAKU,OAASH,GAAMR"}

+ 2
- 0
node_modules/shvl/index.d.ts Datei anzeigen

@@ -0,0 +1,2 @@
1
+export function get (object: object, path: string|string[], def?: any): any;
2
+export function set (object: object, path: string|string[], val: any): any;

+ 11
- 0
node_modules/shvl/index.js Datei anzeigen

@@ -0,0 +1,11 @@
1
+export function get (object, path, def) {
2
+  return (object = (path.split ? path.split('.') : path).reduce(function (obj, p) {
3
+    return obj && obj[p]
4
+  }, object)) === undefined ? def : object;
5
+};
6
+
7
+export function set  (object, path, val, obj) {
8
+  return !/^(__proto__|constructor|prototype)$/.test(path) && ((path = path.split ? path.split('.') : path.slice(0)).slice(0, -1).reduce(function (obj, p) {
9
+    return obj[p] = obj[p] || {};
10
+  }, obj = object)[path.pop()] = val), object;
11
+};

+ 86
- 0
node_modules/shvl/package.json Datei anzeigen

@@ -0,0 +1,86 @@
1
+{
2
+  "_from": "shvl@^2.0.3",
3
+  "_id": "shvl@2.0.3",
4
+  "_inBundle": false,
5
+  "_integrity": "sha512-V7C6S9Hlol6SzOJPnQ7qzOVEWUQImt3BNmmzh40wObhla3XOYMe4gGiYzLrJd5TFa+cI2f9LKIRJTTKZSTbWgw==",
6
+  "_location": "/shvl",
7
+  "_phantomChildren": {},
8
+  "_requested": {
9
+    "type": "range",
10
+    "registry": true,
11
+    "raw": "shvl@^2.0.3",
12
+    "name": "shvl",
13
+    "escapedName": "shvl",
14
+    "rawSpec": "^2.0.3",
15
+    "saveSpec": null,
16
+    "fetchSpec": "^2.0.3"
17
+  },
18
+  "_requiredBy": [
19
+    "/vuex-persistedstate"
20
+  ],
21
+  "_resolved": "https://registry.npmjs.org/shvl/-/shvl-2.0.3.tgz",
22
+  "_shasum": "eb4bd37644f5684bba1fc52c3010c96fb5e6afd1",
23
+  "_spec": "shvl@^2.0.3",
24
+  "_where": "D:\\work\\云美\\legalAffairs-app\\node_modules\\vuex-persistedstate",
25
+  "author": {
26
+    "name": "Robin van der Vleuten",
27
+    "email": "robin@webstronauts.co"
28
+  },
29
+  "babel": {
30
+    "presets": [
31
+      "@babel/preset-env"
32
+    ]
33
+  },
34
+  "bugs": {
35
+    "url": "https://github.com/robinvdvleuten/shvl/issues"
36
+  },
37
+  "bundleDependencies": false,
38
+  "bundlesize": [
39
+    {
40
+      "path": "./dist/*.js",
41
+      "threshold": "300b"
42
+    }
43
+  ],
44
+  "deprecated": "older versions vulnerable to prototype pollution",
45
+  "description": "Get and set dot-notated properties within an object",
46
+  "devDependencies": {
47
+    "@babel/core": "^7.0.0",
48
+    "@babel/preset-env": "^7.0.0",
49
+    "babel-jest": "^26.2.2",
50
+    "bundlesize": "^0.18.0",
51
+    "jest": "^26.5.3",
52
+    "jest-in-case": "^1.0.2",
53
+    "microbundle": "^0.13.0",
54
+    "npm-run-all": "^4.1.2"
55
+  },
56
+  "files": [
57
+    "dist",
58
+    "index.d.ts",
59
+    "index.js"
60
+  ],
61
+  "homepage": "https://github.com/robinvdvleuten/shvl#readme",
62
+  "keywords": [
63
+    "path",
64
+    "dot notation",
65
+    "dot"
66
+  ],
67
+  "license": "MIT",
68
+  "main": "dist/shvl.js",
69
+  "module": "dist/shvl.mjs",
70
+  "name": "shvl",
71
+  "repository": {
72
+    "type": "git",
73
+    "url": "git+https://github.com/robinvdvleuten/shvl.git"
74
+  },
75
+  "scripts": {
76
+    "build": "microbundle",
77
+    "prepare": "run-s build",
78
+    "test": "run-p test:**",
79
+    "test:jest": "jest --env=jsdom",
80
+    "test:size": "bundlesize"
81
+  },
82
+  "source": "index.js",
83
+  "typings": "index.d.ts",
84
+  "unpkg": "dist/shvl.umd.js",
85
+  "version": "2.0.3"
86
+}

+ 4
- 0
node_modules/vuex-persistedstate/CHANGELOG.md Datei anzeigen

@@ -0,0 +1,4 @@
1
+# Changelog
2
+
3
+This project adheres to [Semantic Versioning](http://semver.org/).  
4
+Every release is documented on the Github [Releases](https://github.com/robinvdvleuten/vuex-persistedstate/releases) page.

+ 21
- 0
node_modules/vuex-persistedstate/LICENSE Datei anzeigen

@@ -0,0 +1,21 @@
1
+MIT License
2
+
3
+Copyright (c) Robin van der Vleuten <robin@webstronauts.co>
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 326
- 0
node_modules/vuex-persistedstate/README.md Datei anzeigen

@@ -0,0 +1,326 @@
1
+# vuex-persistedstate
2
+
3
+Persist and rehydrate your [Vuex](http://vuex.vuejs.org/) state between page reloads.
4
+
5
+<hr />
6
+
7
+[![Build Status](https://img.shields.io/github/workflow/status/robinvdvleuten/vuex-persistedstate/test.svg)](https://github.com/robinvdvleuten/vuex-persistedstate/actions?query=workflow%3Atest)
8
+[![NPM version](https://img.shields.io/npm/v/vuex-persistedstate.svg)](https://www.npmjs.com/package/vuex-persistedstate)
9
+[![NPM downloads](https://img.shields.io/npm/dm/vuex-persistedstate.svg)](https://www.npmjs.com/package/vuex-persistedstate)
10
+[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
11
+[![MIT license](https://img.shields.io/github/license/robinvdvleuten/vuex-persistedstate.svg)](https://github.com/robinvdvleuten/vuex-persistedstate/blob/master/LICENSE)
12
+
13
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
14
+[![Code Of Conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg)](https://github.com/robinvdvleuten/vuex-persistedstate/blob/master/.github/CODE_OF_CONDUCT.md)
15
+
16
+<a href="https://webstronauts.com/">
17
+    <img src="https://webstronauts.com/badges/sponsored-by-webstronauts.svg" alt="Sponsored by The Webstronauts" width="200" height="65">
18
+</a>
19
+
20
+## Install
21
+
22
+```bash
23
+npm install --save vuex-persistedstate
24
+```
25
+
26
+The [UMD](https://github.com/umdjs/umd) build is also available on [unpkg](https://unpkg.com):
27
+
28
+```html
29
+<script src="https://unpkg.com/vuex-persistedstate/dist/vuex-persistedstate.umd.js"></script>
30
+```
31
+
32
+You can find the library on `window.createPersistedState`.
33
+
34
+## Usage
35
+
36
+```js
37
+import { createStore } from "vuex";
38
+import createPersistedState from "vuex-persistedstate";
39
+
40
+const store = createStore({
41
+  // ...
42
+  plugins: [createPersistedState()],
43
+});
44
+```
45
+
46
+For usage with for Vuex 3 and Vue 2, please see [3.x.x branch](https://github.com/robinvdvleuten/vuex-persistedstate/tree/3.x.x).
47
+
48
+## Examples
49
+
50
+Check out a basic example on [CodeSandbox](https://codesandbox.io).
51
+
52
+[![Edit vuex-persistedstate](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/80k4m2598)
53
+
54
+Or configured to use with [js-cookie](https://github.com/js-cookie/js-cookie).
55
+
56
+[![Edit vuex-persistedstate with js-cookie](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/xl356qvvkz)
57
+
58
+Or configured to use with [secure-ls](https://github.com/softvar/secure-ls)
59
+
60
+[![Edit vuex-persistedstate with secure-ls (encrypted data)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vuex-persistedstate-with-secure-ls-encrypted-data-7l9wb?fontsize=14)
61
+
62
+### Example with Vuex modules
63
+
64
+New plugin instances can be created in separate files, but must be imported and added to plugins object in the main Vuex file.
65
+
66
+```js
67
+/* module.js */
68
+export const dataStore = {
69
+  state: {
70
+    data: []
71
+  }
72
+}
73
+
74
+/* store.js */
75
+import { dataStore } from './module'
76
+
77
+const dataState = createPersistedState({
78
+  paths: ['data']
79
+})
80
+
81
+export new Vuex.Store({
82
+  modules: {
83
+    dataStore
84
+  },
85
+  plugins: [dataState]
86
+})
87
+```
88
+
89
+### Example with Nuxt.js
90
+
91
+It is possible to use vuex-persistedstate with Nuxt.js. It must be included as a NuxtJS plugin:
92
+
93
+#### With local storage (client-side only)
94
+
95
+```javascript
96
+// nuxt.config.js
97
+
98
+...
99
+/*
100
+ * Naming your plugin 'xxx.client.js' will make it execute only on the client-side.
101
+ * https://nuxtjs.org/guide/plugins/#name-conventional-plugin
102
+ */
103
+plugins: [{ src: '~/plugins/persistedState.client.js' }]
104
+...
105
+```
106
+
107
+```javascript
108
+// ~/plugins/persistedState.client.js
109
+
110
+import createPersistedState from 'vuex-persistedstate'
111
+
112
+export default ({store}) => {
113
+  createPersistedState({
114
+    key: 'yourkey',
115
+    paths: [...]
116
+    ...
117
+  })(store)
118
+}
119
+```
120
+
121
+#### Using cookies (universal client + server-side)
122
+
123
+Add `cookie` and `js-cookie`:
124
+
125
+`npm install --save cookie js-cookie`
126
+or `yarn add cookie js-cookie`
127
+
128
+```javascript
129
+// nuxt.config.js
130
+...
131
+plugins: [{ src: '~/plugins/persistedState.js'}]
132
+...
133
+```
134
+
135
+```javascript
136
+// ~/plugins/persistedState.js
137
+
138
+import createPersistedState from 'vuex-persistedstate';
139
+import * as Cookies from 'js-cookie';
140
+import cookie from 'cookie';
141
+
142
+export default ({ store, req }) => {
143
+    createPersistedState({
144
+        paths: [...],
145
+        storage: {
146
+            getItem: (key) => {
147
+                // See https://nuxtjs.org/guide/plugins/#using-process-flags
148
+                if (process.server) {
149
+                    const parsedCookies = cookie.parse(req.headers.cookie);
150
+                    return parsedCookies[key];
151
+                } else {
152
+                    return Cookies.get(key);
153
+                }
154
+            },
155
+            // Please see https://github.com/js-cookie/js-cookie#json, on how to handle JSON.
156
+            setItem: (key, value) =>
157
+                Cookies.set(key, value, { expires: 365, secure: false }),
158
+            removeItem: key => Cookies.remove(key)
159
+        }
160
+    })(store);
161
+};
162
+```
163
+
164
+## API
165
+
166
+### `createPersistedState([options])`
167
+
168
+Creates a new instance of the plugin with the given options. The following options
169
+can be provided to configure the plugin for your specific needs:
170
+
171
+- `key <String>`: The key to store the persisted state under. Defaults to `vuex`.
172
+- `paths <Array>`: An array of any paths to partially persist the state. If no paths are given, the complete state is persisted. If an empty array is given, no state is persisted. Paths must be specified using dot notation. If using modules, include the module name. eg: "auth.user" Defaults to `undefined`.
173
+- `reducer <Function>`: A function that will be called to reduce the state to persist based on the given paths. Defaults to include the values.
174
+- `subscriber <Function>`: A function called to setup mutation subscription. Defaults to `store => handler => store.subscribe(handler)`.
175
+
176
+- `storage <Object>`: Instead of (or in combination with) `getState` and `setState`. Defaults to localStorage.
177
+- `getState <Function>`: A function that will be called to rehydrate a previously persisted state. Defaults to using `storage`.
178
+- `setState <Function>`: A function that will be called to persist the given state. Defaults to using `storage`.
179
+- `filter <Function>`: A function that will be called to filter any mutations which will trigger `setState` on storage eventually. Defaults to `() => true`.
180
+- `overwrite <Boolean>`: When rehydrating, whether to overwrite the existing state with the output from `getState` directly, instead of merging the two objects with `deepmerge`. Defaults to `false`.
181
+- `arrayMerger <Function>`: A function for merging arrays when rehydrating state. Defaults to `function (store, saved) { return saved }` (saved state replaces supplied state).
182
+- `rehydrated <Function>`: A function that will be called when the rehydration is finished. Useful when you are using Nuxt.js, which the rehydration of the persisted state happens asynchronously. Defaults to `store => {}`
183
+- `fetchBeforeUse <Boolean>`: A boolean indicating if the state should be fetched from storage before the plugin is used. Defaults to `false`.
184
+- `assertStorage <Function>`: An overridable function to ensure storage is available, fired on plugins's initialization. Default one is performing a Write-Delete operation on the given Storage instance. Note, default behaviour could throw an error (like `DOMException: QuotaExceededError`).
185
+
186
+## Customize Storage
187
+
188
+If it's not ideal to have the state of the Vuex store inside localstorage. One can easily implement the functionality to use [cookies](https://github.com/js-cookie/js-cookie) for that (or any other you can think of);
189
+
190
+[![Edit vuex-persistedstate with js-cookie](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/xl356qvvkz?autoresize=1)
191
+
192
+```js
193
+import { Store } from "vuex";
194
+import createPersistedState from "vuex-persistedstate";
195
+import * as Cookies from "js-cookie";
196
+
197
+const store = new Store({
198
+  // ...
199
+  plugins: [
200
+    createPersistedState({
201
+      storage: {
202
+        getItem: (key) => Cookies.get(key),
203
+        // Please see https://github.com/js-cookie/js-cookie#json, on how to handle JSON.
204
+        setItem: (key, value) =>
205
+          Cookies.set(key, value, { expires: 3, secure: true }),
206
+        removeItem: (key) => Cookies.remove(key),
207
+      },
208
+    }),
209
+  ],
210
+});
211
+```
212
+
213
+In fact, any object following the Storage protocol (getItem, setItem, removeItem, etc) could be passed:
214
+
215
+```js
216
+createPersistedState({ storage: window.sessionStorage });
217
+```
218
+
219
+This is especially useful when you are using this plugin in combination with server-side rendering, where one could pass an instance of [dom-storage](https://www.npmjs.com/package/dom-storage).
220
+
221
+### 🔐Obfuscate Local Storage
222
+
223
+If you need to use **Local Storage** (or you want to) but want to prevent attackers from easily inspecting the stored data, you can [obfuscate it]('https://github.com/softvar/secure-ls').
224
+
225
+**Important ⚠️** Obfuscating the Vuex store means to prevent attackers from easily gaining access to the data. This is not a secure way of storing sensitive data (like passwords, personal information, etc.), and always needs to be used in conjunction with some other authentication method of keeping the data (such as Firebase or your own server).
226
+
227
+[![Edit vuex-persistedstate with secure-ls (obfuscated data)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vuex-persistedstate-with-secure-ls-encrypted-data-7l9wb?fontsize=14)
228
+
229
+```js
230
+import { Store } from "vuex";
231
+import createPersistedState from "vuex-persistedstate";
232
+import SecureLS from "secure-ls";
233
+var ls = new SecureLS({ isCompression: false });
234
+
235
+// https://github.com/softvar/secure-ls
236
+
237
+const store = new Store({
238
+  // ...
239
+  plugins: [
240
+    createPersistedState({
241
+      storage: {
242
+        getItem: (key) => ls.get(key),
243
+        setItem: (key, value) => ls.set(key, value),
244
+        removeItem: (key) => ls.remove(key),
245
+      },
246
+    }),
247
+  ],
248
+});
249
+```
250
+
251
+### ⚠️ LocalForage ⚠️
252
+
253
+As it maybe seems at first sight, it's not possible to pass a [LocalForage](https://github.com/localForage/localForage) instance as `storage` property. This is due the fact that all getters and setters must be synchronous and [LocalForage's methods](https://github.com/localForage/localForage#callbacks-vs-promises) are asynchronous.
254
+
255
+## Changelog
256
+
257
+Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
258
+
259
+## Contributors ✨
260
+
261
+Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
262
+
263
+<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
264
+<!-- prettier-ignore-start -->
265
+<!-- markdownlint-disable -->
266
+<table>
267
+  <tr>
268
+    <td align="center"><a href="https://robinvdvleuten.nl"><img src="https://avatars3.githubusercontent.com/u/238295?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Robin van der Vleuten</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=robinvdvleuten" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=robinvdvleuten" title="Documentation">📖</a> <a href="#infra-robinvdvleuten" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=robinvdvleuten" title="Tests">⚠️</a></td>
269
+    <td align="center"><a href="https://github.com/zweizeichen"><img src="https://avatars1.githubusercontent.com/u/654071?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sebastian</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=zweizeichen" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=zweizeichen" title="Documentation">📖</a></td>
270
+    <td align="center"><a href="https://github.com/boris-graeff"><img src="https://avatars1.githubusercontent.com/u/3204379?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Boris Graeff</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=boris-graeff" title="Code">💻</a></td>
271
+    <td align="center"><a href="http://ciceropablo.github.io"><img src="https://avatars3.githubusercontent.com/u/174275?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cícero Pablo</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=ciceropablo" title="Documentation">📖</a></td>
272
+    <td align="center"><a href="https://gatwal.com"><img src="https://avatars1.githubusercontent.com/u/7547554?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gurpreet Atwal</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=gurpreetatwal" title="Tests">⚠️</a></td>
273
+    <td align="center"><a href="https://jcubed.me"><img src="https://avatars0.githubusercontent.com/u/43069023?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jakub Koralewski</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=JakubKoralewski" title="Code">💻</a></td>
274
+    <td align="center"><a href="http://jankeesvw.com"><img src="https://avatars0.githubusercontent.com/u/167882?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jankees van Woezik</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=jankeesvw" title="Documentation">📖</a></td>
275
+  </tr>
276
+  <tr>
277
+    <td align="center"><a href="https://randomcodetips.com"><img src="https://avatars2.githubusercontent.com/u/8638243?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jofferson Ramirez Tiquez</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=jofftiquez" title="Documentation">📖</a></td>
278
+    <td align="center"><a href="https://github.com/DevoidCoding"><img src="https://avatars1.githubusercontent.com/u/21159634?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jordan Deprez</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=DevoidCoding" title="Documentation">📖</a></td>
279
+    <td align="center"><a href="https://github.com/juanvillegas"><img src="https://avatars3.githubusercontent.com/u/773149?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Juan Villegas</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=juanvillegas" title="Documentation">📖</a></td>
280
+    <td align="center"><a href="http://jrast.ch"><img src="https://avatars3.githubusercontent.com/u/146369?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jürg Rast</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=jrast" title="Code">💻</a></td>
281
+    <td align="center"><a href="https://github.com/antixrist"><img src="https://avatars3.githubusercontent.com/u/2387592?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kartashov Alexey</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=antixrist" title="Code">💻</a></td>
282
+    <td align="center"><a href="http://twitter.com/LeonardPauli"><img src="https://avatars0.githubusercontent.com/u/1329834?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Leonard Pauli</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=leonardpauli" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=leonardpauli" title="Documentation">📖</a></td>
283
+    <td align="center"><a href="https://github.com/nelsliu9121"><img src="https://avatars2.githubusercontent.com/u/1268682?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nelson Liu</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=nelsliu9121" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=nelsliu9121" title="Documentation">📖</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=nelsliu9121" title="Tests">⚠️</a></td>
284
+  </tr>
285
+  <tr>
286
+    <td align="center"><a href="https://github.com/NLNicoo"><img src="https://avatars2.githubusercontent.com/u/6526666?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nico</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=NLNicoo" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=NLNicoo" title="Tests">⚠️</a></td>
287
+    <td align="center"><a href="https://www.qkdreyer.dev"><img src="https://avatars3.githubusercontent.com/u/717869?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Quentin Dreyer</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=qkdreyer" title="Code">💻</a></td>
288
+    <td align="center"><a href="http://raphaelsaunier.com"><img src="https://avatars2.githubusercontent.com/u/170256?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Raphael Saunier</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=raphaelsaunier" title="Code">💻</a></td>
289
+    <td align="center"><a href="http://rodneyrehm.de"><img src="https://avatars3.githubusercontent.com/u/186837?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rodney Rehm</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=rodneyrehm" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=rodneyrehm" title="Tests">⚠️</a></td>
290
+    <td align="center"><a href="http://wongyouth.github.io"><img src="https://avatars1.githubusercontent.com/u/944583?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ryan Wang</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=wongyouth" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=wongyouth" title="Documentation">📖</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=wongyouth" title="Tests">⚠️</a></td>
291
+    <td align="center"><a href="https://atinux.com"><img src="https://avatars2.githubusercontent.com/u/904724?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sébastien Chopin</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=Atinux" title="Documentation">📖</a></td>
292
+    <td align="center"><a href="https://github.com/zgayjjf"><img src="https://avatars1.githubusercontent.com/u/24718872?v=4?s=100" width="100px;" alt=""/><br /><sub><b>jeffjing</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=zgayjjf" title="Code">💻</a></td>
293
+  </tr>
294
+  <tr>
295
+    <td align="center"><a href="https://github.com/macarthuror"><img src="https://avatars0.githubusercontent.com/u/24395219?v=4?s=100" width="100px;" alt=""/><br /><sub><b>macarthuror</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=macarthuror" title="Documentation">📖</a></td>
296
+    <td align="center"><a href="https://github.com/gangsthub"><img src="https://avatars2.githubusercontent.com/u/6775220?s=460&v=4?s=100" width="100px;" alt=""/><br /><sub><b>Paul Melero</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=gangsthub" title="Documentation">📖</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=gangsthub" title="Code">💻</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=gangsthub" title="Tests">⚠️</a></td>
297
+    <td align="center"><a href="https://github.com/WTDuck"><img src="https://avatars0.githubusercontent.com/u/16686729?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Guillaume da Silva</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=WTDuck" title="Code">💻</a></td>
298
+    <td align="center"><a href="https://github.com/SanterreJo"><img src="https://avatars2.githubusercontent.com/u/6465769?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jonathan Santerre</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=SanterreJo" title="Code">💻</a></td>
299
+    <td align="center"><a href="https://www.linkedin.com/in/fabiofdsantos/"><img src="https://avatars3.githubusercontent.com/u/8303937?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fábio Santos</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=fabiofdsantos" title="Documentation">📖</a></td>
300
+    <td align="center"><a href="https://github.com/robertgr991"><img src="https://avatars0.githubusercontent.com/u/36689800?v=4?s=100" width="100px;" alt=""/><br /><sub><b>robertgr991</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=robertgr991" title="Code">💻</a></td>
301
+    <td align="center"><a href="https://github.com/YuraKolesnikov"><img src="https://avatars3.githubusercontent.com/u/28485518?v=4?s=100" width="100px;" alt=""/><br /><sub><b>JurijsKolesnikovs</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=YuraKolesnikov" title="Documentation">📖</a></td>
302
+  </tr>
303
+  <tr>
304
+    <td align="center"><a href="https://davidsbond.github.io"><img src="https://avatars3.githubusercontent.com/u/6227720?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David Bond</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=davidsbond" title="Documentation">📖</a></td>
305
+    <td align="center"><a href="http://www.freekvanrijt.nl"><img src="https://avatars1.githubusercontent.com/u/417416?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Freek van Rijt</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=FreekVR" title="Documentation">📖</a></td>
306
+    <td align="center"><a href="https://github.com/yachaka"><img src="https://avatars2.githubusercontent.com/u/8074336?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ilyes Hermellin</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=yachaka" title="Code">💻</a></td>
307
+    <td align="center"><a href="http://www.inventage.com"><img src="https://avatars1.githubusercontent.com/u/63866?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Peter Siska</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=peschee" title="Documentation">📖</a></td>
308
+    <td align="center"><a href="http://adm1t.github.io"><img src="https://avatars2.githubusercontent.com/u/26100455?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dmitry Filippov</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=adm1t" title="Documentation">📖</a></td>
309
+    <td align="center"><a href="https://retailify.de"><img src="https://avatars0.githubusercontent.com/u/5236353?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thomas Meitz</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=retailify" title="Documentation">📖</a> <a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=retailify" title="Tests">⚠️</a></td>
310
+    <td align="center"><a href="http://neeron.me"><img src="https://avatars.githubusercontent.com/u/33238007?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Neeron Bhatta</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=NeuronButter" title="Documentation">📖</a></td>
311
+  </tr>
312
+  <tr>
313
+    <td align="center"><a href="https://github.com/joaoaraujo-hotmart"><img src="https://avatars.githubusercontent.com/u/15874735?v=4?s=100" width="100px;" alt=""/><br /><sub><b>joaoaraujo-hotmart</b></sub></a><br /><a href="https://github.com/robinvdvleuten/vuex-persistedstate/commits?author=joaoaraujo-hotmart" title="Code">💻</a></td>
314
+  </tr>
315
+</table>
316
+
317
+<!-- markdownlint-restore -->
318
+<!-- prettier-ignore-end -->
319
+
320
+<!-- ALL-CONTRIBUTORS-LIST:END -->
321
+
322
+This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
323
+
324
+## License
325
+
326
+The MIT License (MIT). Please see [License File](LICENSE) for more information.

+ 23
- 0
node_modules/vuex-persistedstate/dist/index.d.ts Datei anzeigen

@@ -0,0 +1,23 @@
1
+import { Store, MutationPayload } from "vuex";
2
+interface Storage {
3
+    getItem: (key: string) => any;
4
+    setItem: (key: string, value: any) => void;
5
+    removeItem: (key: string) => void;
6
+}
7
+interface Options<State> {
8
+    key?: string;
9
+    paths?: string[];
10
+    reducer?: (state: State, paths: string[]) => object;
11
+    subscriber?: (store: Store<State>) => (handler: (mutation: any, state: State) => void) => void;
12
+    storage?: Storage;
13
+    getState?: (key: string, storage: Storage) => any;
14
+    setState?: (key: string, state: any, storage: Storage) => void;
15
+    filter?: (mutation: MutationPayload) => boolean;
16
+    arrayMerger?: (state: any[], saved: any[]) => any;
17
+    rehydrated?: (store: Store<State>) => void;
18
+    fetchBeforeUse?: boolean;
19
+    overwrite?: boolean;
20
+    assertStorage?: (storage: Storage) => void | Error;
21
+}
22
+export default function <State>(options?: Options<State>): (store: Store<State>) => void;
23
+export {};

+ 2
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+var r=function(r){return function(r){return!!r&&"object"==typeof r}(r)&&!function(r){var t=Object.prototype.toString.call(r);return"[object RegExp]"===t||"[object Date]"===t||function(r){return r.$$typeof===e}(r)}(r)},e="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(r,e){return!1!==e.clone&&e.isMergeableObject(r)?u(Array.isArray(r)?[]:{},r,e):r}function n(r,e,n){return r.concat(e).map(function(r){return t(r,n)})}function o(r){return Object.keys(r).concat(function(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return r.propertyIsEnumerable(e)}):[]}(r))}function c(r,e){try{return e in r}catch(r){return!1}}function u(e,i,a){(a=a||{}).arrayMerge=a.arrayMerge||n,a.isMergeableObject=a.isMergeableObject||r,a.cloneUnlessOtherwiseSpecified=t;var f=Array.isArray(i);return f===Array.isArray(e)?f?a.arrayMerge(e,i,a):function(r,e,n){var i={};return n.isMergeableObject(r)&&o(r).forEach(function(e){i[e]=t(r[e],n)}),o(e).forEach(function(o){(function(r,e){return c(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))})(r,o)||(i[o]=c(r,o)&&n.isMergeableObject(e[o])?function(r,e){if(!e.customMerge)return u;var t=e.customMerge(r);return"function"==typeof t?t:u}(o,n)(r[o],e[o],n):t(e[o],n))}),i}(e,i,a):t(i,a)}u.all=function(r,e){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(r,t){return u(r,t,e)},{})};var i=u;function a(r){var e=(r=r||{}).storage||window&&window.localStorage,t=r.key||"vuex";function n(r,e){var t=e.getItem(r);try{return"string"==typeof t?JSON.parse(t):"object"==typeof t?t:void 0}catch(r){}}function o(){return!0}function c(r,e,t){return t.setItem(r,JSON.stringify(e))}function u(r,e){return Array.isArray(e)?e.reduce(function(e,t){return function(r,e,t,n){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce(function(r,e){return r[e]=r[e]||{}},r)[e.pop()]=t),r}(e,t,(n=r,void 0===(n=((o=t).split?o.split("."):o).reduce(function(r,e){return r&&r[e]},n))?void 0:n));var n,o},{}):r}function a(r){return function(e){return r.subscribe(e)}}(r.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var f,s=function(){return(r.getState||n)(t,e)};return r.fetchBeforeUse&&(f=s()),function(n){r.fetchBeforeUse||(f=s()),"object"==typeof f&&null!==f&&(n.replaceState(r.overwrite?f:i(n.state,f,{arrayMerge:r.arrayMerger||function(r,e){return e},clone:!1})),(r.rehydrated||function(){})(n)),(r.subscriber||a)(n)(function(n,i){(r.filter||o)(n)&&(r.setState||c)(t,(r.reducer||u)(i,r.paths),e)})}}export default a;
2
+//# sourceMappingURL=vuex-persistedstate.es.js.map

+ 1
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 2
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+var r=function(r){return function(r){return!!r&&"object"==typeof r}(r)&&!function(r){var t=Object.prototype.toString.call(r);return"[object RegExp]"===t||"[object Date]"===t||function(r){return r.$$typeof===e}(r)}(r)},e="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(r,e){return!1!==e.clone&&e.isMergeableObject(r)?u(Array.isArray(r)?[]:{},r,e):r}function n(r,e,n){return r.concat(e).map(function(r){return t(r,n)})}function o(r){return Object.keys(r).concat(function(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return r.propertyIsEnumerable(e)}):[]}(r))}function c(r,e){try{return e in r}catch(r){return!1}}function u(e,i,a){(a=a||{}).arrayMerge=a.arrayMerge||n,a.isMergeableObject=a.isMergeableObject||r,a.cloneUnlessOtherwiseSpecified=t;var f=Array.isArray(i);return f===Array.isArray(e)?f?a.arrayMerge(e,i,a):function(r,e,n){var i={};return n.isMergeableObject(r)&&o(r).forEach(function(e){i[e]=t(r[e],n)}),o(e).forEach(function(o){(function(r,e){return c(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))})(r,o)||(i[o]=c(r,o)&&n.isMergeableObject(e[o])?function(r,e){if(!e.customMerge)return u;var t=e.customMerge(r);return"function"==typeof t?t:u}(o,n)(r[o],e[o],n):t(e[o],n))}),i}(e,i,a):t(i,a)}u.all=function(r,e){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(r,t){return u(r,t,e)},{})};var i=u;module.exports=function(r){var e=(r=r||{}).storage||window&&window.localStorage,t=r.key||"vuex";function n(r,e){var t=e.getItem(r);try{return"string"==typeof t?JSON.parse(t):"object"==typeof t?t:void 0}catch(r){}}function o(){return!0}function c(r,e,t){return t.setItem(r,JSON.stringify(e))}function u(r,e){return Array.isArray(e)?e.reduce(function(e,t){return function(r,e,t,n){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce(function(r,e){return r[e]=r[e]||{}},r)[e.pop()]=t),r}(e,t,(n=r,void 0===(n=((o=t).split?o.split("."):o).reduce(function(r,e){return r&&r[e]},n))?void 0:n));var n,o},{}):r}function a(r){return function(e){return r.subscribe(e)}}(r.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var f,s=function(){return(r.getState||n)(t,e)};return r.fetchBeforeUse&&(f=s()),function(n){r.fetchBeforeUse||(f=s()),"object"==typeof f&&null!==f&&(n.replaceState(r.overwrite?f:i(n.state,f,{arrayMerge:r.arrayMerger||function(r,e){return e},clone:!1})),(r.rehydrated||function(){})(n)),(r.subscriber||a)(n)(function(n,i){(r.filter||o)(n)&&(r.setState||c)(t,(r.reducer||u)(i,r.paths),e)})}};
2
+//# sourceMappingURL=vuex-persistedstate.js.map

+ 1
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 2
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+var r=function(r){return function(r){return!!r&&"object"==typeof r}(r)&&!function(r){var t=Object.prototype.toString.call(r);return"[object RegExp]"===t||"[object Date]"===t||function(r){return r.$$typeof===e}(r)}(r)},e="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(r,e){return!1!==e.clone&&e.isMergeableObject(r)?u(Array.isArray(r)?[]:{},r,e):r}function n(r,e,n){return r.concat(e).map(function(r){return t(r,n)})}function o(r){return Object.keys(r).concat(function(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return r.propertyIsEnumerable(e)}):[]}(r))}function c(r,e){try{return e in r}catch(r){return!1}}function u(e,i,a){(a=a||{}).arrayMerge=a.arrayMerge||n,a.isMergeableObject=a.isMergeableObject||r,a.cloneUnlessOtherwiseSpecified=t;var f=Array.isArray(i);return f===Array.isArray(e)?f?a.arrayMerge(e,i,a):function(r,e,n){var i={};return n.isMergeableObject(r)&&o(r).forEach(function(e){i[e]=t(r[e],n)}),o(e).forEach(function(o){(function(r,e){return c(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))})(r,o)||(i[o]=c(r,o)&&n.isMergeableObject(e[o])?function(r,e){if(!e.customMerge)return u;var t=e.customMerge(r);return"function"==typeof t?t:u}(o,n)(r[o],e[o],n):t(e[o],n))}),i}(e,i,a):t(i,a)}u.all=function(r,e){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(r,t){return u(r,t,e)},{})};var i=u;function a(r){const e=(r=r||{}).storage||window&&window.localStorage,t=r.key||"vuex";function n(r,e){const t=e.getItem(r);try{return"string"==typeof t?JSON.parse(t):"object"==typeof t?t:void 0}catch(r){}}function o(){return!0}function c(r,e,t){return t.setItem(r,JSON.stringify(e))}function u(r,e){return Array.isArray(e)?e.reduce(function(e,t){return function(r,e,t,n){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce(function(r,e){return r[e]=r[e]||{}},r)[e.pop()]=t),r}(e,t,(n=r,void 0===(n=((o=t).split?o.split("."):o).reduce(function(r,e){return r&&r[e]},n))?void 0:n));var n,o},{}):r}function a(r){return function(e){return r.subscribe(e)}}(r.assertStorage||(()=>{e.setItem("@@",1),e.removeItem("@@")}))(e);const f=()=>(r.getState||n)(t,e);let s;return r.fetchBeforeUse&&(s=f()),function(n){r.fetchBeforeUse||(s=f()),"object"==typeof s&&null!==s&&(n.replaceState(r.overwrite?s:i(n.state,s,{arrayMerge:r.arrayMerger||function(r,e){return e},clone:!1})),(r.rehydrated||function(){})(n)),(r.subscriber||a)(n)(function(n,i){(r.filter||o)(n)&&(r.setState||c)(t,(r.reducer||u)(i,r.paths),e)})}}export default a;
2
+//# sourceMappingURL=vuex-persistedstate.modern.js.map

+ 1
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 2
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js Datei anzeigen

@@ -0,0 +1,2 @@
1
+!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e||self).createPersistedState=r()}(this,function(){var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(e,r){return!1!==r.clone&&r.isMergeableObject(e)?u(Array.isArray(e)?[]:{},e,r):e}function n(e,r,n){return e.concat(r).map(function(e){return t(e,n)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return e.propertyIsEnumerable(r)}):[]}(e))}function c(e,r){try{return r in e}catch(e){return!1}}function u(r,i,a){(a=a||{}).arrayMerge=a.arrayMerge||n,a.isMergeableObject=a.isMergeableObject||e,a.cloneUnlessOtherwiseSpecified=t;var f=Array.isArray(i);return f===Array.isArray(r)?f?a.arrayMerge(r,i,a):function(e,r,n){var i={};return n.isMergeableObject(e)&&o(e).forEach(function(r){i[r]=t(e[r],n)}),o(r).forEach(function(o){(function(e,r){return c(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))})(e,o)||(i[o]=c(e,o)&&n.isMergeableObject(r[o])?function(e,r){if(!r.customMerge)return u;var t=r.customMerge(e);return"function"==typeof t?t:u}(o,n)(e[o],r[o],n):t(r[o],n))}),i}(r,i,a):t(i,a)}u.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return u(e,t,r)},{})};var i=u;return function(e){var r=(e=e||{}).storage||window&&window.localStorage,t=e.key||"vuex";function n(e,r){var t=r.getItem(e);try{return"string"==typeof t?JSON.parse(t):"object"==typeof t?t:void 0}catch(e){}}function o(){return!0}function c(e,r,t){return t.setItem(e,JSON.stringify(r))}function u(e,r){return Array.isArray(r)?r.reduce(function(r,t){return function(e,r,t,n){return!/^(__proto__|constructor|prototype)$/.test(r)&&((r=r.split?r.split("."):r.slice(0)).slice(0,-1).reduce(function(e,r){return e[r]=e[r]||{}},e)[r.pop()]=t),e}(r,t,(n=e,void 0===(n=((o=t).split?o.split("."):o).reduce(function(e,r){return e&&e[r]},n))?void 0:n));var n,o},{}):e}function a(e){return function(r){return e.subscribe(r)}}(e.assertStorage||function(){r.setItem("@@",1),r.removeItem("@@")})(r);var f,s=function(){return(e.getState||n)(t,r)};return e.fetchBeforeUse&&(f=s()),function(n){e.fetchBeforeUse||(f=s()),"object"==typeof f&&null!==f&&(n.replaceState(e.overwrite?f:i(n.state,f,{arrayMerge:e.arrayMerger||function(e,r){return r},clone:!1})),(e.rehydrated||function(){})(n)),(e.subscriber||a)(n)(function(n,i){(e.filter||o)(n)&&(e.setState||c)(t,(e.reducer||u)(i,e.paths),r)})}}});
2
+//# sourceMappingURL=vuex-persistedstate.umd.js.map

+ 1
- 0
node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js.map
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 111
- 0
node_modules/vuex-persistedstate/package.json Datei anzeigen

@@ -0,0 +1,111 @@
1
+{
2
+  "_from": "vuex-persistedstate",
3
+  "_id": "vuex-persistedstate@4.1.0",
4
+  "_inBundle": false,
5
+  "_integrity": "sha512-3SkEj4NqwM69ikJdFVw6gObeB0NHyspRYMYkR/EbhR0hbvAKyR5gksVhtAfY1UYuWUOCCA0QNGwv9pOwdj+XUQ==",
6
+  "_location": "/vuex-persistedstate",
7
+  "_phantomChildren": {},
8
+  "_requested": {
9
+    "type": "tag",
10
+    "registry": true,
11
+    "raw": "vuex-persistedstate",
12
+    "name": "vuex-persistedstate",
13
+    "escapedName": "vuex-persistedstate",
14
+    "rawSpec": "",
15
+    "saveSpec": null,
16
+    "fetchSpec": "latest"
17
+  },
18
+  "_requiredBy": [
19
+    "#USER",
20
+    "/"
21
+  ],
22
+  "_resolved": "https://registry.npmjs.org/vuex-persistedstate/-/vuex-persistedstate-4.1.0.tgz",
23
+  "_shasum": "127165f85f5b4534fb3170a5d3a8be9811bd2a53",
24
+  "_spec": "vuex-persistedstate",
25
+  "_where": "D:\\work\\云美\\legalAffairs-app",
26
+  "author": {
27
+    "name": "Robin van der Vleuten",
28
+    "email": "robin@webstronauts.co",
29
+    "url": "robinvdvleuten.nl"
30
+  },
31
+  "babel": {
32
+    "presets": [
33
+      "@babel/preset-env"
34
+    ]
35
+  },
36
+  "bugs": {
37
+    "url": "https://github.com/robinvdvleuten/vuex-persistedstate/issues"
38
+  },
39
+  "bundleDependencies": false,
40
+  "bundlesize": [
41
+    {
42
+      "path": "./dist/*.js",
43
+      "threshold": "800b"
44
+    }
45
+  ],
46
+  "dependencies": {
47
+    "deepmerge": "^4.2.2",
48
+    "shvl": "^2.0.3"
49
+  },
50
+  "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",
51
+  "description": "Persist and rehydrate your Vuex state between page reloads.",
52
+  "devDependencies": {
53
+    "@babel/core": "^7.12.10",
54
+    "@babel/preset-env": "^7.12.11",
55
+    "all-contributors-cli": "^6.19.0",
56
+    "babel-core": "^7.0.0-bridge.0",
57
+    "babel-jest": "^27.0.2",
58
+    "bundlesize": "^0.18.1",
59
+    "dom-storage": "^2.0.2",
60
+    "eslint": "^7.17.0",
61
+    "husky": "^7.0.0",
62
+    "jest": "^27.0.6",
63
+    "microbundle": "^0.13.0",
64
+    "npm-run-all": "^4.1.2",
65
+    "prettier": "^2.2.1",
66
+    "pretty-quick": "^3.1.0",
67
+    "rimraf": "^3.0.0",
68
+    "vue": "^3.0.0",
69
+    "vuex": "^4.0.0-rc"
70
+  },
71
+  "files": [
72
+    "dist",
73
+    "src"
74
+  ],
75
+  "homepage": "https://github.com/robinvdvleuten/vuex-persistedstate#readme",
76
+  "husky": {
77
+    "hooks": {
78
+      "pre-commit": "npm run build && pretty-quick --staged"
79
+    }
80
+  },
81
+  "jest": {
82
+    "testURL": "http://localhost/"
83
+  },
84
+  "keywords": [
85
+    "vue",
86
+    "vuex",
87
+    "plugin"
88
+  ],
89
+  "license": "MIT",
90
+  "main": "dist/vuex-persistedstate.js",
91
+  "module": "dist/vuex-persistedstate.es.js",
92
+  "name": "vuex-persistedstate",
93
+  "peerDependencies": {
94
+    "vuex": "^3.0 || ^4.0.0-rc"
95
+  },
96
+  "repository": {
97
+    "type": "git",
98
+    "url": "git+https://github.com/robinvdvleuten/vuex-persistedstate.git"
99
+  },
100
+  "scripts": {
101
+    "build": "rimraf dist && microbundle --external all --name createPersistedState",
102
+    "prepare": "npm run build",
103
+    "test": "npm-run-all test:**",
104
+    "test:jest": "jest --env=jsdom",
105
+    "test:size": "bundlesize"
106
+  },
107
+  "source": "src/index.ts",
108
+  "types": "dist/index.d.ts",
109
+  "unpkg": "dist/vuex-persistedstate.umd.js",
110
+  "version": "4.1.0"
111
+}

+ 119
- 0
node_modules/vuex-persistedstate/src/index.ts Datei anzeigen

@@ -0,0 +1,119 @@
1
+import { Store, MutationPayload } from "vuex";
2
+import merge from "deepmerge";
3
+import * as shvl from "shvl";
4
+
5
+interface Storage {
6
+  getItem: (key: string) => any;
7
+  setItem: (key: string, value: any) => void;
8
+  removeItem: (key: string) => void;
9
+}
10
+
11
+interface Options<State> {
12
+  key?: string;
13
+  paths?: string[];
14
+  reducer?: (state: State, paths: string[]) => object;
15
+  subscriber?: (
16
+    store: Store<State>
17
+    ) => (handler: (mutation: any, state: State) => void) => void;
18
+  storage?: Storage;
19
+  getState?: (key: string, storage: Storage) => any;
20
+  setState?: (key: string, state: any, storage: Storage) => void;
21
+  filter?: (mutation: MutationPayload) => boolean;
22
+  arrayMerger?: (state: any[], saved: any[]) => any;
23
+  rehydrated?: (store: Store<State>) => void;
24
+  fetchBeforeUse?: boolean;
25
+  overwrite?: boolean;
26
+  assertStorage?: (storage: Storage) => void | Error;
27
+}
28
+
29
+export default function <State>(
30
+  options?: Options<State>
31
+): (store: Store<State>) => void {
32
+  options = options || {};
33
+
34
+  const storage = options.storage || (window && window.localStorage);
35
+  const key = options.key || "vuex";
36
+
37
+  function getState(key, storage) {
38
+    const value = storage.getItem(key);
39
+
40
+    try {
41
+      return (typeof value === "string")
42
+        ? JSON.parse(value) : (typeof value === "object")
43
+        ? value : undefined;
44
+    } catch (err) {}
45
+
46
+    return undefined;
47
+  }
48
+
49
+  function filter() {
50
+    return true;
51
+  }
52
+
53
+  function setState(key, state, storage) {
54
+    return storage.setItem(key, JSON.stringify(state));
55
+  }
56
+
57
+  function reducer(state, paths) {
58
+    return Array.isArray(paths)
59
+      ? paths.reduce(function (substate, path) {
60
+          return shvl.set(substate, path, shvl.get(state, path));
61
+        }, {})
62
+      : state;
63
+  }
64
+
65
+  function subscriber(store) {
66
+    return function (handler) {
67
+      return store.subscribe(handler);
68
+    };
69
+  }
70
+
71
+  const assertStorage =
72
+    options.assertStorage ||
73
+    (() => {
74
+      storage.setItem("@@", 1);
75
+      storage.removeItem("@@");
76
+    });
77
+
78
+  assertStorage(storage);
79
+
80
+  const fetchSavedState = () => (options.getState || getState)(key, storage);
81
+
82
+  let savedState;
83
+
84
+  if (options.fetchBeforeUse) {
85
+    savedState = fetchSavedState();
86
+  }
87
+
88
+  return function (store: Store<State>) {
89
+    if (!options.fetchBeforeUse) {
90
+      savedState = fetchSavedState();
91
+    }
92
+
93
+    if (typeof savedState === "object" && savedState !== null) {
94
+      store.replaceState(
95
+        options.overwrite
96
+          ? savedState
97
+          : merge(store.state, savedState, {
98
+              arrayMerge:
99
+                options.arrayMerger ||
100
+                function (store, saved) {
101
+                  return saved;
102
+                },
103
+              clone: false,
104
+            })
105
+      );
106
+      (options.rehydrated || function () {})(store);
107
+    }
108
+
109
+    (options.subscriber || subscriber)(store)(function (mutation, state) {
110
+      if ((options.filter || filter)(mutation)) {
111
+        (options.setState || setState)(
112
+          key,
113
+          (options.reducer || reducer)(state, options.paths),
114
+          storage
115
+        );
116
+      }
117
+    });
118
+  };
119
+}

+ 617
- 0
node_modules/vuex/CHANGELOG.md Datei anzeigen

@@ -0,0 +1,617 @@
1
+# [4.1.0](https://github.com/vuejs/vuex/compare/v4.0.2...v4.1.0) (2022-10-14)
2
+
3
+### Vue Core Version Requirement Change
4
+
5
+**This release contains an important fix (#1883) that relies on the `effectScope` API from Vue core, which is only available in Vue 3.2+.**
6
+
7
+### Bug Fixes
8
+
9
+* **build:** node deprecated warning in export module ([#2048](https://github.com/vuejs/vuex/issues/2048)) ([397e9fb](https://github.com/vuejs/vuex/commit/397e9fba45c8b4ec0c4a33d2578e34829bd348d7))
10
+* getters being destroyed on component destroy ([#1878](https://github.com/vuejs/vuex/issues/1878)) ([#1883](https://github.com/vuejs/vuex/issues/1883)) ([b2f851f](https://github.com/vuejs/vuex/commit/b2f851f427aa872d1e4f5a4774e07c4c69562789))
11
+
12
+
13
+
14
+## [4.0.2](https://github.com/vuejs/vuex/compare/v4.0.1...v4.0.2) (2021-06-17)
15
+
16
+### Bug Fixes
17
+
18
+* **devtools:** fix no getters displayed on root module + better getters inspector ([#1986](https://github.com/vuejs/vuex/issues/1986)) ([bc20295](https://github.com/vuejs/vuex/commit/bc20295331eb2bee40d6ae779d1ada31c542604c))
19
+* **build:** cjs build failing due to `__VUE_PROD_DEVTOOLS__` defined ([#1991](https://github.com/vuejs/vuex/issues/1991)) ([#1992](https://github.com/vuejs/vuex/issues/1992)) ([7151622](https://github.com/vuejs/vuex/commit/7151622d646968686546f1c4c80f7575c9b99176))
20
+
21
+## [4.0.1](https://github.com/vuejs/vuex/compare/v4.0.0...v4.0.1) (2021-05-24)
22
+
23
+### Features
24
+
25
+* dx: add devtools integration ([#1949](https://github.com/vuejs/vuex/pull/1949))
26
+
27
+# [4.0.0](https://github.com/vuejs/vuex/compare/v4.0.0-rc.2...v4.0.0) (2021-02-02)
28
+
29
+This is the official Vuex 4 release.
30
+
31
+The focus for Vuex 4 is compatibility. Vuex 4 supports Vue 3, and it provides the exact same API as Vuex 3, so users can reuse their existing Vuex code with Vue 3.
32
+
33
+There are a few breaking changes described in a later section, so please check them out.
34
+
35
+You can find basic usage with both Option and Composition API in the `example` directory.
36
+
37
+It's still released under `next` tag in NPM package as same as Vue 3. We're planning to remove `next` tag once Vue 3 is ready to remove it.
38
+
39
+There have been a lot of contribution to make Vuex 4 stable. Thank you all for your very much appreciated help. It wouldn't have been possible without this wonderful Vue community!
40
+
41
+## Documentation
42
+
43
+To check out docs, visit [next.vuex.vuejs.org](https://next.vuex.vuejs.org/).
44
+
45
+## Breaking changes
46
+
47
+### Installation process has changed
48
+
49
+To align with the new Vue 3 initialization process, the installation process of Vuex has changed.
50
+
51
+To create a new store instance, users are now encouraged to use the newly introduced `createStore` function.
52
+
53
+```js
54
+import { createStore } from 'vuex'
55
+
56
+export const store = createStore({
57
+  state() {
58
+    return {
59
+      count: 1
60
+    }
61
+  }
62
+})
63
+```
64
+
65
+> Whilst this is not technically a breaking change, you may still use the `new Store(...)` syntax, we recommend this approach to align with Vue 3 and Vue Router Next.
66
+
67
+To install Vuex to a Vue instance, pass the store instance instead of Vuex.
68
+
69
+```js
70
+import { createApp } from 'vue'
71
+import { store } from './store'
72
+import App from './App.vue'
73
+
74
+const app = createApp(App)
75
+
76
+app.use(store)
77
+
78
+app.mount('#app')
79
+```
80
+
81
+### Bundles are now aligned with Vue 3
82
+
83
+The following bundles are generated to align with Vue 3 bundles:
84
+
85
+- `vuex.global(.prod).js`
86
+  - For direct use with `<script src="...">` in the browser. Exposes the Vuex global.
87
+  - Global build is built as IIFE, and not UMD, and is only meant for direct use with `<script src="...">`.
88
+  - Contains hard-coded prod/dev branches and the prod build is pre-minified. Use the `.prod.js` files for production.
89
+- `vuex.esm-browser(.prod).js`
90
+  - For use with native ES module imports (including module supporting browsers via `<script type="module">`.
91
+- `vuex.esm-bundler.js`
92
+  - For use with bundlers such as `webpack`, `rollup` and `parcel`.
93
+  - Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler).
94
+  - Does not ship minified builds (to be done together with the rest of the code after bundling).
95
+- `vuex.cjs.js`
96
+  - For use in Node.js server-side rendering with `require()`.
97
+
98
+### Typings for `ComponentCustomProperties`
99
+
100
+Vuex 4 removes its global typings for `this.$store` within Vue Component to solve [issue #994](https://github.com/vuejs/vuex/issues/994). When used with TypeScript, you must declare your own module augmentation.
101
+
102
+Place the following code in your project to allow `this.$store` to be typed correctly:
103
+
104
+```ts
105
+// vuex-shim.d.ts
106
+
107
+import { ComponentCustomProperties } from 'vue'
108
+import { Store } from 'vuex'
109
+
110
+declare module '@vue/runtime-core' {
111
+  // Declare your own store states.
112
+  interface State {
113
+    count: number
114
+  }
115
+
116
+  interface ComponentCustomProperties {
117
+    $store: Store<State>
118
+  }
119
+}
120
+```
121
+
122
+### `createLogger` function is exported from the core module
123
+
124
+In Vuex 3, `createLogger` function was exported from `vuex/dist/logger` but it's now included in the core package. You should import the function directly from `vuex` package.
125
+
126
+```js
127
+import { createLogger } from 'vuex'
128
+```
129
+
130
+### Bug Fixes Included Since 4.0.0-rc.2
131
+
132
+* export missing `storeKey` ([4ab2947](https://github.com/vuejs/vuex/commit/4ab294793a2c20ea6040f01f316618682df61fff))
133
+* fix tree shaking notworking in webpack bundle ([#1906](https://github.com/vuejs/vuex/issues/1906)) ([#1907](https://github.com/vuejs/vuex/issues/1907)) ([aeddf7a](https://github.com/vuejs/vuex/commit/aeddf7a7c618eda7f316f8a6ace8d21eb96c29ff))
134
+
135
+# [4.0.0-rc.2](https://github.com/vuejs/vuex/compare/v4.0.0-rc.1...v4.0.0-rc.2) (2020-11-25)
136
+
137
+### Bug Fixes
138
+
139
+* fix getters stop working when component is destroyed ([#1884](https://github.com/vuejs/vuex/issues/1884)) ([c3a695e](https://github.com/vuejs/vuex/commit/c3a695e10682ab1b7288e72669861c9ca959df76))
140
+* stop throwing an error on `hasModule` when parent does not exists ([#1850](https://github.com/vuejs/vuex/issues/1850)) ([f76d72d](https://github.com/vuejs/vuex/commit/f76d72d6c1f7cd30de9d459e23c371890c56f463))
141
+
142
+### Features
143
+
144
+* **build:** enable named esm module import on node.js >= 14 ([4f4a909](https://github.com/vuejs/vuex/commit/4f4a9096b46aa61580c32371adb19445157ba80c))
145
+
146
+# [4.0.0-rc.1](https://github.com/vuejs/vuex/compare/v4.0.0-beta.4...v4.0.0-rc.1) (2020-10-30)
147
+
148
+
149
+### Bug Fixes
150
+
151
+* fix getters getting re-evaluated on every access ([#1823](https://github.com/vuejs/vuex/issues/1823)) ([#1860](https://github.com/vuejs/vuex/issues/1860)) ([0006765](https://github.com/vuejs/vuex/commit/0006765ca3c5641ef732bad9df58e01f05c6f19c))
152
+* **types:** add lost argument of useStore ([#1803](https://github.com/vuejs/vuex/issues/1803)) ([657afe3](https://github.com/vuejs/vuex/commit/657afe3db42c8d1d721216955fc2be3132e9fe6c))
153
+
154
+
155
+### Features
156
+
157
+* **types:** adding logger type for logger plugin ([#1853](https://github.com/vuejs/vuex/issues/1853)) ([cb3198d](https://github.com/vuejs/vuex/commit/cb3198d5998bdb11ef05dfa5ef98d5c5fa873089))
158
+
159
+
160
+
161
+## [3.5.1](https://github.com/vuejs/vuex/compare/v4.0.0-beta.3...v3.5.1) (2020-06-29)
162
+
163
+
164
+
165
+# [4.0.0-beta.4](https://github.com/vuejs/vuex/compare/v4.0.0-beta.3...v4.0.0-beta.4) (2020-06-29)
166
+
167
+
168
+### Bug Fixes
169
+
170
+* **types:** add missing `logger.d.ts` file to the package ([#1789](https://github.com/vuejs/vuex/issues/1789)) ([a477334](https://github.com/vuejs/vuex/commit/a477334b909913f6a92bdbedcf4a3016a62eab7a))
171
+* warn when unregistering non existing module ([#1786](https://github.com/vuejs/vuex/issues/1786)) ([7cec79d](https://github.com/vuejs/vuex/commit/7cec79d339b874ec41f35891c891dfd27460c1d3))
172
+
173
+
174
+
175
+# [3.5.0](https://github.com/vuejs/vuex/compare/v4.0.0-beta.2...v3.5.0) (2020-06-29)
176
+
177
+
178
+
179
+# [4.0.0-beta.3](https://github.com/vuejs/vuex/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2020-06-29)
180
+
181
+
182
+### Bug Fixes
183
+
184
+* UMD bundle containing `process.env` flag ([#1749](https://github.com/vuejs/vuex/issues/1749)) ([0fea8c4](https://github.com/vuejs/vuex/commit/0fea8c44060d08b3b421f1ddaa809fdffbc89b00))
185
+
186
+
187
+### Features
188
+
189
+* include `createLogger` function in core export ([afa566d](https://github.com/vuejs/vuex/commit/afa566d7f7b8e516389463b437fbfcb9eafdbd1b))
190
+* include logger plugin to the core export ([#1783](https://github.com/vuejs/vuex/issues/1783)) ([04e2bd8](https://github.com/vuejs/vuex/commit/04e2bd8b3509c67398a6fe73a3d53660069feca8))
191
+
192
+
193
+
194
+# [3.4.0](https://github.com/vuejs/vuex/compare/4.0.0-beta.2...v3.4.0) (2020-05-11)
195
+
196
+
197
+
198
+# [4.0.0-beta.2](https://github.com/vuejs/vuex/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2020-05-11)
199
+
200
+
201
+### Bug Fixes
202
+
203
+- types: add `useStore` function ([#1736](https://github.com/vuejs/vuex/issues/1736)) [#1739](https://github.com/vuejs/vuex/issues/1736)
204
+- build: fix `iife` build containing `process.env`.
205
+
206
+# [4.0.0-beta.1](https://github.com/vuejs/vuex/compare/v3.3.0...v4.0.0-beta.1) (2020-04-25)
207
+
208
+### Features
209
+
210
+- Added TypeScript support.
211
+
212
+### Breaking Changes
213
+
214
+#### Bundles are now aligned with Vue 3
215
+
216
+The bundles are generated as below to align with Vue 3 bundles.
217
+
218
+- `vuex.global(.prod).js`
219
+  - For direct use via `<script src="...">` in the browser. Exposes the Vuex global.
220
+  - Note that global builds are not UMD builds. They are built as IIFEs and is only meant for direct use via `<script src="...">`.
221
+  - Contains hard-coded prod/dev branches, and the prod build is pre-minified. Use the `.prod.js` files for production.
222
+- `vuex.esm-browser(.prod).js`
223
+  - For usage via native ES modules imports (in browser via `<script type="module">`.
224
+- `vuex.esm-bundler.js`
225
+  - For use with bundlers like `webpack`, `rollup` and `parcel`.
226
+  - Leaves prod/dev branches with `process.env.NODE_ENV` guards (must be replaced by bundler).
227
+  - Does not ship minified builds (to be done together with the rest of the code after bundling).
228
+- `vuex.cjs.js`
229
+  - For use in Node.js server-side rendering via `require()`.
230
+
231
+#### Typings for `ComponentCustomProperties`
232
+
233
+Vuex 4 removes its global typings for `this.$store` within Vue Component due to solving [issue #994](https://github.com/vuejs/vuex/issues/994). When using TypeScript, you must provide your own augment declaration.
234
+
235
+Please place the following code in your project to have `this.$store` working.
236
+
237
+```ts
238
+// vuex-shim.d.ts
239
+
240
+declare module "@vue/runtime-core" {
241
+  // Declare your own store states.
242
+  interface State {
243
+    count: number
244
+  }
245
+
246
+  interface ComponentCustomProperties {
247
+    $store: Store<State>;
248
+  }
249
+}
250
+```
251
+
252
+# [4.0.0-alpha.1](https://github.com/vuejs/vuex/compare/v3.1.3...v4.0.0-alpha.1) (2020-03-15)
253
+
254
+
255
+This is the Vue 3 compatible version of Vuex. The focus is compatibility, and it provides the exact same API as Vuex 3, so users can reuse their existing Vuex code for Vue 3.
256
+
257
+## Status: Alpha
258
+
259
+All Vuex 3 feature works. There are a few breaking changes described in a later section, so please check them out. You can find basic usage with both option and composition API at `example` folder.
260
+
261
+Please note that it's still unstable, and there might be bugs. Please provide us feedback if you find anything. You may use [vue-next-webpack-preview](https://github.com/vuejs/vue-next-webpack-preview) to test out Vue 3 with Vuex 4.
262
+
263
+## Breaking changes
264
+
265
+### Installation process has changed
266
+
267
+To align with the new Vue 3 initialization process, the installation process of Vuex has changed as well.
268
+
269
+You should use a new `createStore` function to create a new store instance.
270
+
271
+```js
272
+import { createStore } from 'vuex'
273
+
274
+const store = createStore({
275
+  state () {
276
+    return {
277
+      count: 1
278
+    }
279
+  }
280
+})
281
+```
282
+
283
+> This is technically not a breaking change because you could still use `new Store(...)` syntax. However, to align with Vue 3 and also with Vue Router Next, we recommend users to use `createStore` function instead.
284
+
285
+Then to install Vuex to Vue app instance, pass the store instance instead of Vuex.
286
+
287
+```js
288
+import { createApp } from 'vue'
289
+import store from './store'
290
+import App from './APP.vue'
291
+
292
+const app = createApp(Counter)
293
+
294
+app.use(store)
295
+
296
+app.mount('#app')
297
+```
298
+
299
+## Kown issues
300
+
301
+- The code is kept as close to Vuex 3 code base as possible, and there're plenty of places where we should refactor. However, we are waiting for all of the test cases to pass before doing so (some tests require Vue 3 update).
302
+- TypeScript support is not ready yet. Please use JS environment to test this for now.
303
+
304
+
305
+# [3.4.0](https://github.com/vuejs/vuex/compare/v3.3.0...v3.4.0) (2020-05-11)
306
+
307
+
308
+### Features
309
+
310
+* Allow action subscribers to catch rejections. ([#1740](https://github.com/vuejs/vuex/issues/1740)) ([6ebbe64](https://github.com/vuejs/vuex/commit/6ebbe64c5821d19e55a41dc8b1d81cfce6cbd195)), closes [#1489](https://github.com/vuejs/vuex/issues/1489) [#1558](https://github.com/vuejs/vuex/issues/1558) [#1625](https://github.com/vuejs/vuex/issues/1625)
311
+
312
+
313
+# [3.3.0](https://github.com/vuejs/vuex/compare/v3.2.0...v3.3.0) (2020-04-25)
314
+
315
+
316
+### Bug Fixes
317
+
318
+* Prepend devtool handler ([#1358](https://github.com/vuejs/vuex/issues/1358)) ([a39d076](https://github.com/vuejs/vuex/commit/a39d0767e4041cdd5cf8050774106c01d39024e0)), closes [vuejs/vue-devtools#678](https://github.com/vuejs/vue-devtools/issues/678)
319
+* **types:** Add `devtools` to store options type ([#1478](https://github.com/vuejs/vuex/issues/1478)) ([38c11dc](https://github.com/vuejs/vuex/commit/38c11dcbaea7d7e661a1623cabb5aef7c6e47ba7))
320
+
321
+
322
+### Features
323
+
324
+* Add `prepend` option for `subscribe` and `subscribeAction` ([#1358](https://github.com/vuejs/vuex/issues/1358)) ([a39d076](https://github.com/vuejs/vuex/commit/a39d0767e4041cdd5cf8050774106c01d39024e0))
325
+* **logger:** `createLogger` can optionally log actions ([#987](https://github.com/vuejs/vuex/issues/987)) ([18be128](https://github.com/vuejs/vuex/commit/18be128ad933d1fca6da05c060f7664ce0c819ae))
326
+
327
+
328
+
329
+# [3.2.0](https://github.com/vuejs/vuex/compare/v3.1.3...v3.2.0) (2020-04-19)
330
+
331
+
332
+### Features
333
+
334
+* add Store#hasModule(path) API ([#834](https://github.com/vuejs/vuex/issues/834)) ([d65d142](https://github.com/vuejs/vuex/commit/d65d14276e87aca17cfbd3fbf4af9e8dbb808f24))
335
+
336
+
337
+
338
+## [3.1.3](https://github.com/vuejs/vuex/compare/v3.1.2...v3.1.3) (2020-03-09)
339
+
340
+
341
+### Bug Fixes
342
+
343
+* Prevent invalidating subscription iterator  ([#1438](https://github.com/vuejs/vuex/issues/1438)) ([e012653](https://github.com/vuejs/vuex/commit/e0126533301febf66072f1865cf9a77778cf2176))
344
+
345
+
346
+
347
+## [3.1.2](https://github.com/vuejs/vuex/compare/v3.1.1...v3.1.2) (2019-11-10)
348
+
349
+
350
+### Bug Fixes
351
+
352
+* tweak mapping helper warning message ([#1641](https://github.com/vuejs/vuex/issues/1641)) ([e60bc76](https://github.com/vuejs/vuex/commit/e60bc76154bb05c12b24342617b946d9a6e2f476))
353
+* **types:** avoid broadening vue instance type when using map helpers ([#1639](https://github.com/vuejs/vuex/issues/1639)) ([9a96720](https://github.com/vuejs/vuex/commit/9a9672050bcfee198c379069ec0e1b03ca6cb965))
354
+* add warnings when the different namespaced modules has the same names… ([#1554](https://github.com/vuejs/vuex/issues/1554)) ([91f3e69](https://github.com/vuejs/vuex/commit/91f3e69ed9e290cf91f8885c6d5ae2c97fa7ab81))
355
+* Should vuex mapState print error message [#1093](https://github.com/vuejs/vuex/issues/1093) ([#1297](https://github.com/vuejs/vuex/issues/1297)) ([e5ca2d5](https://github.com/vuejs/vuex/commit/e5ca2d52e89a126bd48bd8a6003be77379960ea9))
356
+* Warn about conflicts between state and module ([#1365](https://github.com/vuejs/vuex/issues/1365)) ([538ee58](https://github.com/vuejs/vuex/commit/538ee5803bbca2fc8077208fb30c8d56d8be5cae))
357
+* **docs:** Clearify state object type ([#1601](https://github.com/vuejs/vuex/issues/1601)) ([de06f76](https://github.com/vuejs/vuex/commit/de06f76380e7429489c0eb15acc8e0b34a383860))
358
+
359
+
360
+### Performance Improvements
361
+
362
+* Implementing a cache for the gettersProxy object creation ([#1546](https://github.com/vuejs/vuex/issues/1546)) ([4003382](https://github.com/vuejs/vuex/commit/40033825b7259c2e9b702bdf94e0b24ed4511d7c))
363
+
364
+
365
+
366
+## [3.1.1](https://github.com/vuejs/vuex/compare/v3.1.0...v3.1.1) (2019-05-08)
367
+
368
+
369
+### Bug Fixes
370
+
371
+* Memory leak happening while using registerModule/u… ([#1508](https://github.com/vuejs/vuex/issues/1508)) ([cb9986a](https://github.com/vuejs/vuex/commit/cb9986ae5a62e002a1d876e881ee5f31dd410888)), closes [issue#1507](https://github.com/issue/issues/1507)
372
+* **types:** Make mutation and action payload optional in definition file ([#1517](https://github.com/vuejs/vuex/issues/1517)) ([0e109e2](https://github.com/vuejs/vuex/commit/0e109e2a38dafdc0c2bd6bd3892bc66cfe252b16)), closes [#1491](https://github.com/vuejs/vuex/issues/1491)
373
+
374
+
375
+### Features
376
+
377
+* **devtool:** allow usage in non-browser environments ([#1404](https://github.com/vuejs/vuex/issues/1404)) ([665455f](https://github.com/vuejs/vuex/commit/665455f8daf8512e7adbf63c2842bc0b1e39efdb))
378
+* **esm build:** build ES modules for browser ([#1533](https://github.com/vuejs/vuex/issues/1533)) ([d7c7f98](https://github.com/vuejs/vuex/commit/d7c7f9844831f98c5c9aaca213746c4ccc5d6929))
379
+
380
+
381
+
382
+# [3.1.0](https://github.com/vuejs/vuex/compare/v3.0.1...v3.1.0) (2019-01-17)
383
+
384
+
385
+### Bug Fixes
386
+
387
+* **types:** add helpers to default export type declaration as in sources ([#1408](https://github.com/vuejs/vuex/issues/1408)) ([404d0de](https://github.com/vuejs/vuex/commit/404d0de9531322a1a462e53dfd858d20f0bd99af))
388
+* **types:** add type annotation for the context of actions ([#1322](https://github.com/vuejs/vuex/issues/1322)) ([d1b5c66](https://github.com/vuejs/vuex/commit/d1b5c66961ab53e0172cbc706ff616227bcb5c77))
389
+* **types:** allow a function type for root `state` option ([#1132](https://github.com/vuejs/vuex/issues/1132)) ([d39791b](https://github.com/vuejs/vuex/commit/d39791bd05830b1889705761ef5779449e35e97f))
390
+* Add key to v-for ([#1369](https://github.com/vuejs/vuex/issues/1369)) ([a9bd047](https://github.com/vuejs/vuex/commit/a9bd047ea147cacfcb4003946aeebccd2c5e1e4e))
391
+* avoid to call root state function twice ([#1034](https://github.com/vuejs/vuex/issues/1034)) ([86677eb](https://github.com/vuejs/vuex/commit/86677ebcbfaecf712f339b73a568150fc9fd5f5e))
392
+* fix [#1032](https://github.com/vuejs/vuex/issues/1032), relax vue typing in helpers ([#1044](https://github.com/vuejs/vuex/issues/1044)) ([7c7ed1d](https://github.com/vuejs/vuex/commit/7c7ed1d37ee8a5058082d763d80529e5fef86a0b))
393
+
394
+
395
+### Features
396
+
397
+* add ability to turn off devtools on vuex by passing an off options ([#1407](https://github.com/vuejs/vuex/issues/1407)) ([be75d41](https://github.com/vuejs/vuex/commit/be75d41cf54d50177a7db7e9218e8d1c820ae830))
398
+* ensure errors in action subscribers do not break actions ([acd7249](https://github.com/vuejs/vuex/commit/acd72492eaffff3661f75860a3d7ab37b73c3906))
399
+
400
+
401
+### Reverts
402
+
403
+* Revert "Update util find (#1205)" (fix #1286) ([273bf86](https://github.com/vuejs/vuex/commit/273bf86b330ee580a73176c300919996b7d9c2c3)), closes [#1286](https://github.com/vuejs/vuex/issues/1286)
404
+
405
+
406
+
407
+## [3.0.1](https://github.com/vuejs/vuex/compare/v3.0.0...v3.0.1) (2017-11-01)
408
+
409
+
410
+
411
+# [3.0.0](https://github.com/vuejs/vuex/compare/v2.5.0...v3.0.0) (2017-10-11)
412
+
413
+
414
+### Features
415
+
416
+* **typings:** adapt to the new Vue typings ([#909](https://github.com/vuejs/vuex/issues/909)) ([65dbfec](https://github.com/vuejs/vuex/commit/65dbfec40d5fe7aac05aab333c7b70768997ca7f))
417
+
418
+
419
+### BREAKING CHANGES
420
+
421
+* **typings:** It is no longer compatible with the old Vue typings
422
+
423
+* chore(package): bump typescript and vue core typings
424
+
425
+* chore: bump vue
426
+
427
+* Update package.json
428
+
429
+
430
+
431
+# [2.5.0](https://github.com/vuejs/vuex/compare/v2.4.1...v2.5.0) (2017-10-11)
432
+
433
+
434
+### Bug Fixes
435
+
436
+* initialize root state as an empty object if state function returns no value ([#927](https://github.com/vuejs/vuex/issues/927)) ([0e9756b](https://github.com/vuejs/vuex/commit/0e9756b93c5de8e03286d93f0b50af5f8dfd3bac))
437
+
438
+
439
+### Features
440
+
441
+* add logger plugin logger config support ([#771](https://github.com/vuejs/vuex/issues/771)) ([804c3bb](https://github.com/vuejs/vuex/commit/804c3bbd2e60f11412f5a7cb7694969f8f6c215c))
442
+* preserve state with registerModule ([#837](https://github.com/vuejs/vuex/issues/837)) ([4c1841e](https://github.com/vuejs/vuex/commit/4c1841e79e63ca0ca95d0cc1b218fde258f23c20))
443
+* root actions in namespaced modules ([#941](https://github.com/vuejs/vuex/issues/941)) ([73189eb](https://github.com/vuejs/vuex/commit/73189eb35509de7d49bd2b577900ad560d37dcb0))
444
+* subscribeAction ([#960](https://github.com/vuejs/vuex/issues/960)) ([a8326b1](https://github.com/vuejs/vuex/commit/a8326b1bd77158e7e5903eed4cc98b52599e3dbd))
445
+
446
+
447
+
448
+## [2.4.1](https://github.com/vuejs/vuex/compare/v2.4.0...v2.4.1) (2017-09-27)
449
+
450
+
451
+### Bug Fixes
452
+
453
+* allow installation on extended Vue copies ([c87b72f](https://github.com/vuejs/vuex/commit/c87b72f2ff7f65e708c4b59a752ef234d0f28d1f))
454
+* link to details of mutations in components ([#930](https://github.com/vuejs/vuex/issues/930)) ([e82782b](https://github.com/vuejs/vuex/commit/e82782ba81c398dd5b78a195257a9d1c3a6d85ef))
455
+* move auto installation code into the store constructor ([#914](https://github.com/vuejs/vuex/issues/914)) ([852ac43](https://github.com/vuejs/vuex/commit/852ac43ea4813ecaeb1e5106c4a29c74e57c2fd7))
456
+
457
+
458
+### Features
459
+
460
+* allow to passing functions in mapActions/mapMutations (fix [#750](https://github.com/vuejs/vuex/issues/750)) ([#924](https://github.com/vuejs/vuex/issues/924)) ([be15f32](https://github.com/vuejs/vuex/commit/be15f32c0077d8fe9bafa38c1b319b655cfd5f86))
461
+
462
+
463
+
464
+# [2.4.0](https://github.com/vuejs/vuex/compare/v2.3.0...v2.4.0) (2017-08-29)
465
+
466
+
467
+### Bug Fixes
468
+
469
+* **typings:** watch() returns an unwatch function ([#922](https://github.com/vuejs/vuex/issues/922)) ([a4bd081](https://github.com/vuejs/vuex/commit/a4bd0816838cc4a843d833363b9aa412c1256e5e))
470
+* add missing typings and docs of createNamespacedHelpers ([#910](https://github.com/vuejs/vuex/issues/910)) ([7ad573b](https://github.com/vuejs/vuex/commit/7ad573bba59d23dbd66e3a25e6614296aeb98d42))
471
+
472
+
473
+### Features
474
+
475
+* **store:** bind mutation and action handlers to store ([#872](https://github.com/vuejs/vuex/issues/872)) ([67da622](https://github.com/vuejs/vuex/commit/67da6225552e46266ed059c7f0d0128294cd08ed))
476
+
477
+
478
+### Performance Improvements
479
+
480
+* do not connect devtools if Vue.config.devtools == false ([#881](https://github.com/vuejs/vuex/issues/881)) ([dd7f817](https://github.com/vuejs/vuex/commit/dd7f8178d93e6121a447c410b9c652f40cd80937))
481
+
482
+
483
+
484
+# [2.3.0](https://github.com/vuejs/vuex/compare/v2.2.1...v2.3.0) (2017-04-13)
485
+
486
+
487
+* Add '-loader' suffix to webpack config (#722) ([84b4634](https://github.com/vuejs/vuex/commit/84b463438ea4133f7f326dc18212e3d4b7b5a177)), closes [#722](https://github.com/vuejs/vuex/issues/722)
488
+
489
+
490
+### BREAKING CHANGES
491
+
492
+* It's no longer allowed to omit the '-loader' suffix when using loaders. You need to specify 'babel-loader' instead of 'babel'.
493
+My version of webpack: 2.2.0-rc.3
494
+Adding the '-loader' suffix fixed the problem.
495
+Not sure though how safe it is to use 'babel-loader' instead of 'babel' with previous webpack versions...
496
+
497
+
498
+
499
+## [2.2.1](https://github.com/vuejs/vuex/compare/v2.2.0...v2.2.1) (2017-02-26)
500
+
501
+
502
+
503
+# [2.2.0](https://github.com/vuejs/vuex/compare/v2.1.2...v2.2.0) (2017-02-26)
504
+
505
+
506
+
507
+## [2.1.2](https://github.com/vuejs/vuex/compare/v2.1.1...v2.1.2) (2017-02-06)
508
+
509
+
510
+### Reverts
511
+
512
+* Revert "Update modules.md (#534)" ([5e145b3](https://github.com/vuejs/vuex/commit/5e145b3a2d45977b52cfff41b3b663f629d67e74)), closes [#534](https://github.com/vuejs/vuex/issues/534)
513
+
514
+
515
+
516
+## [2.1.1](https://github.com/vuejs/vuex/compare/v2.1.0...v2.1.1) (2016-12-17)
517
+
518
+
519
+
520
+# [2.1.0](https://github.com/vuejs/vuex/compare/v2.0.0...v2.1.0) (2016-12-16)
521
+
522
+
523
+
524
+# [2.0.0](https://github.com/vuejs/vuex/compare/v2.0.0-rc.6...v2.0.0) (2016-09-30)
525
+
526
+
527
+
528
+# [2.0.0-rc.6](https://github.com/vuejs/vuex/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2016-09-24)
529
+
530
+
531
+
532
+# [2.0.0-rc.5](https://github.com/vuejs/vuex/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2016-08-15)
533
+
534
+
535
+
536
+# [2.0.0-rc.4](https://github.com/vuejs/vuex/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2016-08-05)
537
+
538
+
539
+
540
+# [2.0.0-rc.3](https://github.com/vuejs/vuex/compare/v2.0.0-rc.1...v2.0.0-rc.3) (2016-07-11)
541
+
542
+
543
+
544
+# [2.0.0-rc.1](https://github.com/vuejs/vuex/compare/v1.0.0-rc...v2.0.0-rc.1) (2016-07-05)
545
+
546
+
547
+
548
+# [1.0.0-rc](https://github.com/vuejs/vuex/compare/v0.8.2...v1.0.0-rc) (2016-07-01)
549
+
550
+
551
+
552
+## [0.8.2](https://github.com/vuejs/vuex/compare/v0.8.1...v0.8.2) (2016-06-28)
553
+
554
+
555
+
556
+## [0.8.1](https://github.com/vuejs/vuex/compare/v0.8.0...v0.8.1) (2016-06-28)
557
+
558
+
559
+
560
+# [0.8.0](https://github.com/vuejs/vuex/compare/v0.7.1...v0.8.0) (2016-06-23)
561
+
562
+
563
+
564
+## [0.7.1](https://github.com/vuejs/vuex/compare/v0.7.0...v0.7.1) (2016-06-22)
565
+
566
+
567
+
568
+# [0.7.0](https://github.com/vuejs/vuex/compare/v0.6.3...v0.7.0) (2016-06-21)
569
+
570
+
571
+
572
+## [0.6.3](https://github.com/vuejs/vuex/compare/v0.6.2...v0.6.3) (2016-04-23)
573
+
574
+
575
+
576
+## [0.6.2](https://github.com/vuejs/vuex/compare/v0.6.1...v0.6.2) (2016-03-08)
577
+
578
+
579
+
580
+## [0.6.1](https://github.com/vuejs/vuex/compare/v0.6.0...v0.6.1) (2016-03-07)
581
+
582
+
583
+
584
+# [0.6.0](https://github.com/vuejs/vuex/compare/v0.5.1...v0.6.0) (2016-03-07)
585
+
586
+
587
+
588
+## [0.5.1](https://github.com/vuejs/vuex/compare/v0.5.0...v0.5.1) (2016-03-04)
589
+
590
+
591
+
592
+# [0.5.0](https://github.com/vuejs/vuex/compare/v0.4.2...v0.5.0) (2016-03-04)
593
+
594
+
595
+
596
+## [0.4.2](https://github.com/vuejs/vuex/compare/v0.4.1...v0.4.2) (2016-03-02)
597
+
598
+
599
+
600
+## [0.4.1](https://github.com/vuejs/vuex/compare/v0.4.0...v0.4.1) (2016-03-01)
601
+
602
+
603
+
604
+# [0.4.0](https://github.com/vuejs/vuex/compare/v0.3.0...v0.4.0) (2016-03-01)
605
+
606
+
607
+
608
+# [0.3.0](https://github.com/vuejs/vuex/compare/4a22523b8cf4a1954ec95a0083ddef6c085f4905...v0.3.0) (2016-02-16)
609
+
610
+
611
+### Bug Fixes
612
+
613
+* **api:** fix typo ([4a22523](https://github.com/vuejs/vuex/commit/4a22523b8cf4a1954ec95a0083ddef6c085f4905))
614
+* **forms:** fix typo ([50094a6](https://github.com/vuejs/vuex/commit/50094a604f32d00ceb784a3fbf07c82c502faca2))
615
+
616
+
617
+

+ 21
- 0
node_modules/vuex/LICENSE Datei anzeigen

@@ -0,0 +1,21 @@
1
+The MIT License (MIT)
2
+
3
+Copyright (c) 2015-present Evan You
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in
13
+all copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+THE SOFTWARE.

+ 59
- 0
node_modules/vuex/README.md Datei anzeigen

@@ -0,0 +1,59 @@
1
+# Vuex
2
+
3
+[![npm](https://img.shields.io/npm/v/vuex.svg)](https://npmjs.com/package/vuex)
4
+[![ci status](https://circleci.com/gh/vuejs/vuex/tree/main.png?style=shield)](https://circleci.com/gh/vuejs/vuex)
5
+
6
+---
7
+
8
+**Pinia is now the new default**
9
+
10
+The official state management library for Vue has changed to [Pinia](https://pinia.vuejs.org). Pinia has almost the exact same or enhanced API as Vuex 5, described in [Vuex 5 RFC](https://github.com/vuejs/rfcs/pull/271). You could simply consider Pinia as Vuex 5 with a different name. Pinia also works with Vue 2.x as well.
11
+
12
+Vuex 3 and 4 will still be maintained. However, it's unlikely to add new functionalities to it. Vuex and Pinia can be installed in the same project. If you're migrating existing Vuex app to Pinia, it might be a suitable option. However, if you're planning to start a new project, we highly recommend using Pinia instead.
13
+
14
+---
15
+
16
+Vuex is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion. It also integrates with Vue's official [devtools extension](https://github.com/vuejs/vue-devtools) to provide advanced features such as zero-config time-travel debugging and state snapshot export / import.
17
+
18
+Learn more about Vuex at "[What is Vuex?](https://vuex.vuejs.org/)", or get started by looking into [full documentation](http://vuex.vuejs.org/).
19
+
20
+## Documentation
21
+
22
+To check out docs, visit [vuex.vuejs.org](https://vuex.vuejs.org/).
23
+
24
+## Examples
25
+
26
+You may find example applications built with Vuex under the `examples` directory.
27
+
28
+Running the examples:
29
+
30
+```bash
31
+$ npm install
32
+$ npm run dev # serve examples at localhost:8080
33
+```
34
+
35
+## Questions
36
+
37
+For questions and support please use the [Discord chat server](https://chat.vuejs.org) or [the official forum](http://forum.vuejs.org). The issue list of this repo is **exclusively** for bug reports and feature requests.
38
+
39
+## Issues
40
+
41
+Please make sure to read the [Issue Reporting Checklist](https://github.com/vuejs/vuex/blob/main/.github/contributing.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
42
+
43
+## Changelog
44
+
45
+Detailed changes for each release are documented in the [release notes](https://github.com/vuejs/vuex/releases).
46
+
47
+## Stay In Touch
48
+
49
+For latest releases and announcements, follow on Twitter: [@vuejs](https://twitter.com/vuejs).
50
+
51
+## Contribution
52
+
53
+Please make sure to read the [Contributing Guide](https://github.com/vuejs/vuex/blob/main/.github/contributing.md) before making a pull request.
54
+
55
+## License
56
+
57
+[MIT](http://opensource.org/licenses/MIT)
58
+
59
+Copyright (c) 2015-present Evan You

+ 1486
- 0
node_modules/vuex/dist/vuex.cjs.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1484
- 0
node_modules/vuex/dist/vuex.esm-browser.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1323
- 0
node_modules/vuex/dist/vuex.esm-browser.prod.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1485
- 0
node_modules/vuex/dist/vuex.esm-bundler.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 1514
- 0
node_modules/vuex/dist/vuex.global.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 6
- 0
node_modules/vuex/dist/vuex.global.prod.js
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 32
- 0
node_modules/vuex/dist/vuex.mjs Datei anzeigen

@@ -0,0 +1,32 @@
1
+import Vuex from '../dist/vuex.cjs.js'
2
+
3
+const {
4
+  version,
5
+  Store,
6
+  storeKey,
7
+  createStore,
8
+  install,
9
+  useStore,
10
+  mapState,
11
+  mapMutations,
12
+  mapGetters,
13
+  mapActions,
14
+  createNamespacedHelpers,
15
+  createLogger
16
+} = Vuex
17
+
18
+export {
19
+  Vuex as default,
20
+  version,
21
+  Store,
22
+  storeKey,
23
+  createStore,
24
+  install,
25
+  useStore,
26
+  mapState,
27
+  mapMutations,
28
+  mapGetters,
29
+  mapActions,
30
+  createNamespacedHelpers,
31
+  createLogger
32
+}

+ 128
- 0
node_modules/vuex/package.json Datei anzeigen

@@ -0,0 +1,128 @@
1
+{
2
+  "_from": "vuex",
3
+  "_id": "vuex@4.1.0",
4
+  "_inBundle": false,
5
+  "_integrity": "sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==",
6
+  "_location": "/vuex",
7
+  "_phantomChildren": {},
8
+  "_requested": {
9
+    "type": "tag",
10
+    "registry": true,
11
+    "raw": "vuex",
12
+    "name": "vuex",
13
+    "escapedName": "vuex",
14
+    "rawSpec": "",
15
+    "saveSpec": null,
16
+    "fetchSpec": "latest"
17
+  },
18
+  "_requiredBy": [
19
+    "#USER",
20
+    "/"
21
+  ],
22
+  "_resolved": "https://registry.npmjs.org/vuex/-/vuex-4.1.0.tgz",
23
+  "_shasum": "aa1b3ea5c7385812b074c86faeeec2217872e36c",
24
+  "_spec": "vuex",
25
+  "_where": "D:\\work\\云美\\legalAffairs-app",
26
+  "author": {
27
+    "name": "Evan You"
28
+  },
29
+  "browser": "dist/vuex.esm-browser.js",
30
+  "bugs": {
31
+    "url": "https://github.com/vuejs/vuex/issues"
32
+  },
33
+  "bundleDependencies": false,
34
+  "dependencies": {
35
+    "@vue/devtools-api": "^6.0.0-beta.11"
36
+  },
37
+  "deprecated": false,
38
+  "description": "state management for Vue.js",
39
+  "devDependencies": {
40
+    "@babel/core": "^7.14.3",
41
+    "@babel/preset-env": "^7.14.2",
42
+    "@rollup/plugin-buble": "^0.21.3",
43
+    "@rollup/plugin-commonjs": "^19.0.0",
44
+    "@rollup/plugin-node-resolve": "^13.0.0",
45
+    "@rollup/plugin-replace": "^2.4.2",
46
+    "@types/node": "^15.6.0",
47
+    "@vue/compiler-sfc": "^3.2.4",
48
+    "babel-jest": "^26.6.3",
49
+    "babel-loader": "^8.2.2",
50
+    "brotli": "^1.3.2",
51
+    "chalk": "^4.1.1",
52
+    "conventional-changelog-cli": "^2.1.1",
53
+    "cross-env": "^7.0.3",
54
+    "css-loader": "^2.1.0",
55
+    "enquirer": "^2.3.5",
56
+    "eslint": "^7.27.0",
57
+    "eslint-plugin-vue-libs": "^4.0.0",
58
+    "execa": "^5.0.0",
59
+    "express": "^4.17.1",
60
+    "fs-extra": "^10.0.0",
61
+    "jest": "^26.6.3",
62
+    "puppeteer": "^9.1.1",
63
+    "regenerator-runtime": "^0.13.5",
64
+    "rollup": "^2.49.0",
65
+    "rollup-plugin-terser": "^7.0.2",
66
+    "semver": "^7.3.5",
67
+    "start-server-and-test": "^1.12.3",
68
+    "todomvc-app-css": "^2.4.1",
69
+    "typescript": "^4.2.4",
70
+    "vitepress": "^0.20.0",
71
+    "vue": "^3.2.4",
72
+    "vue-loader": "^16.5.0",
73
+    "vue-style-loader": "^4.1.3",
74
+    "webpack": "^4.43.0",
75
+    "webpack-dev-middleware": "^3.7.2",
76
+    "webpack-hot-middleware": "^2.25.0"
77
+  },
78
+  "exports": {
79
+    ".": {
80
+      "module": "./dist/vuex.esm-bundler.js",
81
+      "require": "./dist/vuex.cjs.js",
82
+      "import": "./dist/vuex.mjs"
83
+    },
84
+    "./*": "./*",
85
+    "./": "./"
86
+  },
87
+  "files": [
88
+    "dist",
89
+    "types/index.d.ts",
90
+    "types/helpers.d.ts",
91
+    "types/logger.d.ts",
92
+    "types/vue.d.ts"
93
+  ],
94
+  "homepage": "https://github.com/vuejs/vuex#readme",
95
+  "jsdelivr": "dist/vuex.global.js",
96
+  "license": "MIT",
97
+  "main": "dist/vuex.cjs.js",
98
+  "module": "dist/vuex.esm-bundler.js",
99
+  "name": "vuex",
100
+  "peerDependencies": {
101
+    "vue": "^3.2.0"
102
+  },
103
+  "repository": {
104
+    "type": "git",
105
+    "url": "git+https://github.com/vuejs/vuex.git"
106
+  },
107
+  "scripts": {
108
+    "build": "node scripts/build.js",
109
+    "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
110
+    "coverage": "jest --testPathIgnorePatterns test/e2e --coverage",
111
+    "dev": "node examples/server.js",
112
+    "docs": "vitepress dev docs",
113
+    "docs:build": "vitepress build docs",
114
+    "docs:serve": "yarn docs:build && vitepress serve docs",
115
+    "lint": "eslint src test",
116
+    "release": "node scripts/release.js",
117
+    "test": "npm run lint && npm run build && npm run test:types && npm run test:unit && npm run test:ssr && npm run test:e2e && npm run test:esm",
118
+    "test:e2e": "start-server-and-test dev http://localhost:8080 \"jest --testPathIgnorePatterns test/unit\"",
119
+    "test:esm": "node test/esm/esm-test.js",
120
+    "test:ssr": "cross-env VUE_ENV=server jest --testPathIgnorePatterns test/e2e",
121
+    "test:types": "tsc -p types/test",
122
+    "test:unit": "jest --testPathIgnorePatterns test/e2e"
123
+  },
124
+  "sideEffects": false,
125
+  "typings": "types/index.d.ts",
126
+  "unpkg": "dist/vuex.global.js",
127
+  "version": "4.1.0"
128
+}

+ 86
- 0
node_modules/vuex/types/helpers.d.ts Datei anzeigen

@@ -0,0 +1,86 @@
1
+import { ComponentPublicInstance } from 'vue';
2
+import { Dispatch, Commit } from './index';
3
+
4
+type Computed = () => any;
5
+type InlineComputed<T extends Function> = T extends (...args: any[]) => infer R ? () => R : never
6
+type MutationMethod = (...args: any[]) => void;
7
+type ActionMethod = (...args: any[]) => Promise<any>;
8
+type InlineMethod<T extends (fn: any, ...args: any[]) => any> = T extends (fn: any, ...args: infer Args) => infer R ? (...args: Args) => R : never
9
+type CustomVue = ComponentPublicInstance & Record<string, any>;
10
+
11
+interface Mapper<R> {
12
+  <Key extends string>(map: Key[]): { [K in Key]: R };
13
+  <Map extends Record<string, string>>(map: Map): { [K in keyof Map]: R };
14
+}
15
+
16
+interface MapperWithNamespace<R> {
17
+  <Key extends string>(namespace: string, map: Key[]): { [K in Key]: R };
18
+  <Map extends Record<string, string>>(namespace: string, map: Map): { [K in keyof Map]: R };
19
+}
20
+
21
+interface MapperForState {
22
+  <S, Map extends Record<string, (this: CustomVue, state: S, getters: any) => any> = {}>(
23
+    map: Map
24
+  ): { [K in keyof Map]: InlineComputed<Map[K]> };
25
+}
26
+
27
+interface MapperForStateWithNamespace {
28
+  <S, Map extends Record<string, (this: CustomVue, state: S, getters: any) => any> = {}>(
29
+    namespace: string,
30
+    map: Map
31
+  ): { [K in keyof Map]: InlineComputed<Map[K]> };
32
+}
33
+
34
+interface MapperForAction {
35
+  <Map extends Record<string, (this: CustomVue, dispatch: Dispatch, ...args: any[]) => any>>(
36
+    map: Map
37
+  ): { [K in keyof Map]: InlineMethod<Map[K]> };
38
+}
39
+
40
+interface MapperForActionWithNamespace {
41
+  <Map extends Record<string, (this: CustomVue, dispatch: Dispatch, ...args: any[]) => any>>(
42
+    namespace: string,
43
+    map: Map
44
+  ): { [K in keyof Map]: InlineMethod<Map[K]> };
45
+}
46
+
47
+interface MapperForMutation {
48
+  <Map extends Record<string, (this: CustomVue, commit: Commit, ...args: any[]) => any>>(
49
+    map: Map
50
+  ): { [K in keyof Map]: InlineMethod<Map[K]> };
51
+}
52
+
53
+interface MapperForMutationWithNamespace {
54
+  <Map extends Record<string, (this: CustomVue, commit: Commit, ...args: any[]) => any>>(
55
+    namespace: string,
56
+    map: Map
57
+  ): { [K in keyof Map]: InlineMethod<Map[K]> };
58
+}
59
+
60
+
61
+interface NamespacedMappers {
62
+  mapState: Mapper<Computed> & MapperForState;
63
+  mapMutations: Mapper<MutationMethod> & MapperForMutation;
64
+  mapGetters: Mapper<Computed>;
65
+  mapActions: Mapper<ActionMethod> & MapperForAction;
66
+}
67
+
68
+export declare const mapState: Mapper<Computed>
69
+  & MapperWithNamespace<Computed>
70
+  & MapperForState
71
+  & MapperForStateWithNamespace;
72
+
73
+export declare const mapMutations: Mapper<MutationMethod>
74
+  & MapperWithNamespace<MutationMethod>
75
+  & MapperForMutation
76
+  & MapperForMutationWithNamespace;
77
+
78
+export declare const mapGetters: Mapper<Computed>
79
+  & MapperWithNamespace<Computed>;
80
+
81
+export declare const mapActions: Mapper<ActionMethod>
82
+  & MapperWithNamespace<ActionMethod>
83
+  & MapperForAction
84
+  & MapperForActionWithNamespace;
85
+
86
+export declare function createNamespacedHelpers(namespace: string): NamespacedMappers;

+ 167
- 0
node_modules/vuex/types/index.d.ts Datei anzeigen

@@ -0,0 +1,167 @@
1
+import { App, WatchOptions, InjectionKey } from "vue";
2
+
3
+// augment typings of Vue.js
4
+import "./vue";
5
+
6
+import { mapState, mapMutations, mapGetters, mapActions, createNamespacedHelpers } from "./helpers";
7
+import { createLogger } from "./logger";
8
+
9
+export * from "./helpers";
10
+export * from "./logger";
11
+
12
+export declare class Store<S> {
13
+  constructor(options: StoreOptions<S>);
14
+
15
+  readonly state: S;
16
+  readonly getters: any;
17
+
18
+  install(app: App, injectKey?: InjectionKey<Store<any>> | string): void;
19
+
20
+  replaceState(state: S): void;
21
+
22
+  dispatch: Dispatch;
23
+  commit: Commit;
24
+
25
+  subscribe<P extends MutationPayload>(fn: (mutation: P, state: S) => any, options?: SubscribeOptions): () => void;
26
+  subscribeAction<P extends ActionPayload>(fn: SubscribeActionOptions<P, S>, options?: SubscribeOptions): () => void;
27
+  watch<T>(getter: (state: S, getters: any) => T, cb: (value: T, oldValue: T) => void, options?: WatchOptions): () => void;
28
+
29
+  registerModule<T>(path: string, module: Module<T, S>, options?: ModuleOptions): void;
30
+  registerModule<T>(path: string[], module: Module<T, S>, options?: ModuleOptions): void;
31
+
32
+  unregisterModule(path: string): void;
33
+  unregisterModule(path: string[]): void;
34
+
35
+  hasModule(path: string): boolean;
36
+  hasModule(path: string[]): boolean;
37
+
38
+  hotUpdate(options: {
39
+    actions?: ActionTree<S, S>;
40
+    mutations?: MutationTree<S>;
41
+    getters?: GetterTree<S, S>;
42
+    modules?: ModuleTree<S>;
43
+  }): void;
44
+}
45
+
46
+export const storeKey: string;
47
+
48
+export function createStore<S>(options: StoreOptions<S>): Store<S>;
49
+
50
+export function useStore<S = any>(injectKey?: InjectionKey<Store<S>> | string): Store<S>;
51
+
52
+export interface Dispatch {
53
+  (type: string, payload?: any, options?: DispatchOptions): Promise<any>;
54
+  <P extends Payload>(payloadWithType: P, options?: DispatchOptions): Promise<any>;
55
+}
56
+
57
+export interface Commit {
58
+  (type: string, payload?: any, options?: CommitOptions): void;
59
+  <P extends Payload>(payloadWithType: P, options?: CommitOptions): void;
60
+}
61
+
62
+export interface ActionContext<S, R> {
63
+  dispatch: Dispatch;
64
+  commit: Commit;
65
+  state: S;
66
+  getters: any;
67
+  rootState: R;
68
+  rootGetters: any;
69
+}
70
+
71
+export interface Payload {
72
+  type: string;
73
+}
74
+
75
+export interface MutationPayload extends Payload {
76
+  payload: any;
77
+}
78
+
79
+export interface ActionPayload extends Payload {
80
+  payload: any;
81
+}
82
+
83
+export interface SubscribeOptions {
84
+  prepend?: boolean
85
+}
86
+
87
+export type ActionSubscriber<P, S> = (action: P, state: S) => any;
88
+export type ActionErrorSubscriber<P, S> = (action: P, state: S, error: Error) => any;
89
+
90
+export interface ActionSubscribersObject<P, S> {
91
+  before?: ActionSubscriber<P, S>;
92
+  after?: ActionSubscriber<P, S>;
93
+  error?: ActionErrorSubscriber<P, S>;
94
+}
95
+
96
+export type SubscribeActionOptions<P, S> = ActionSubscriber<P, S> | ActionSubscribersObject<P, S>;
97
+
98
+export interface DispatchOptions {
99
+  root?: boolean;
100
+}
101
+
102
+export interface CommitOptions {
103
+  silent?: boolean;
104
+  root?: boolean;
105
+}
106
+
107
+export interface StoreOptions<S> {
108
+  state?: S | (() => S);
109
+  getters?: GetterTree<S, S>;
110
+  actions?: ActionTree<S, S>;
111
+  mutations?: MutationTree<S>;
112
+  modules?: ModuleTree<S>;
113
+  plugins?: Plugin<S>[];
114
+  strict?: boolean;
115
+  devtools?: boolean;
116
+}
117
+
118
+export type ActionHandler<S, R> = (this: Store<R>, injectee: ActionContext<S, R>, payload?: any) => any;
119
+export interface ActionObject<S, R> {
120
+  root?: boolean;
121
+  handler: ActionHandler<S, R>;
122
+}
123
+
124
+export type Getter<S, R> = (state: S, getters: any, rootState: R, rootGetters: any) => any;
125
+export type Action<S, R> = ActionHandler<S, R> | ActionObject<S, R>;
126
+export type Mutation<S> = (state: S, payload?: any) => any;
127
+export type Plugin<S> = (store: Store<S>) => any;
128
+
129
+export interface Module<S, R> {
130
+  namespaced?: boolean;
131
+  state?: S | (() => S);
132
+  getters?: GetterTree<S, R>;
133
+  actions?: ActionTree<S, R>;
134
+  mutations?: MutationTree<S>;
135
+  modules?: ModuleTree<R>;
136
+}
137
+
138
+export interface ModuleOptions {
139
+  preserveState?: boolean;
140
+}
141
+
142
+export interface GetterTree<S, R> {
143
+  [key: string]: Getter<S, R>;
144
+}
145
+
146
+export interface ActionTree<S, R> {
147
+  [key: string]: Action<S, R>;
148
+}
149
+
150
+export interface MutationTree<S> {
151
+  [key: string]: Mutation<S>;
152
+}
153
+
154
+export interface ModuleTree<R> {
155
+  [key: string]: Module<any, R>;
156
+}
157
+
158
+declare const _default: {
159
+  Store: typeof Store;
160
+  mapState: typeof mapState,
161
+  mapMutations: typeof mapMutations,
162
+  mapGetters: typeof mapGetters,
163
+  mapActions: typeof mapActions,
164
+  createNamespacedHelpers: typeof createNamespacedHelpers,
165
+  createLogger: typeof createLogger
166
+};
167
+export default _default;

+ 20
- 0
node_modules/vuex/types/logger.d.ts Datei anzeigen

@@ -0,0 +1,20 @@
1
+import { Payload, Plugin } from "./index";
2
+
3
+interface Logger extends Partial<Pick<Console, 'groupCollapsed' | 'group' | 'groupEnd'>> {
4
+  log(message: string, color: string, payload: any): void;
5
+  log(message: string): void;
6
+}
7
+
8
+export interface LoggerOption<S> {
9
+  collapsed?: boolean;
10
+  filter?: <P extends Payload>(mutation: P, stateBefore: S, stateAfter: S) => boolean;
11
+  transformer?: (state: S) => any;
12
+  mutationTransformer?: <P extends Payload>(mutation: P) => any;
13
+  actionFilter?: <P extends Payload>(action: P, state: S) => boolean;
14
+  actionTransformer?: <P extends Payload>(action: P) => any;
15
+  logMutations?: boolean;
16
+  logActions?: boolean;
17
+  logger?: Logger;
18
+}
19
+
20
+export function createLogger<S>(option?: LoggerOption<S>): Plugin<S>;

+ 12
- 0
node_modules/vuex/types/vue.d.ts Datei anzeigen

@@ -0,0 +1,12 @@
1
+/**
2
+ * Extends interfaces in Vue.js
3
+ */
4
+
5
+import { ComponentCustomOptions } from "vue";
6
+import { Store } from "./index";
7
+
8
+declare module "@vue/runtime-core" {
9
+  interface ComponentCustomOptions {
10
+    store?: Store<any>;
11
+  }
12
+}

+ 0
- 0
package-lock.json Datei anzeigen


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.