Ver código fonte

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

hanchaobo 2 anos atrás
pai
commit
bc8d7f4363
100 arquivos alterados com 424 adições e 10859 exclusões
  1. 16
    6
      .gitignore
  2. 30
    17
      App.vue
  3. 1
    1
      LICENSE
  4. 51
    1
      README.md
  5. 59
    0
      api/login.js
  6. 41
    0
      api/system/user.js
  7. 167
    0
      components/uni-section/uni-section.vue
  8. 26
    0
      config.js
  9. 0
    20
      index.html
  10. 9
    16
      main.js
  11. 24
    27
      manifest.json
  12. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/api/api.js
  13. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/api/app.js
  14. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/api/component.js
  15. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/api/context.js
  16. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/api/hooks.js
  17. 0
    22
      node_modules/@vue/devtools-api/lib/cjs/api/index.js
  18. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/api/util.js
  19. 0
    5
      node_modules/@vue/devtools-api/lib/cjs/const.js
  20. 0
    17
      node_modules/@vue/devtools-api/lib/cjs/env.js
  21. 0
    44
      node_modules/@vue/devtools-api/lib/cjs/index.js
  22. 0
    2
      node_modules/@vue/devtools-api/lib/cjs/plugin.js
  23. 0
    111
      node_modules/@vue/devtools-api/lib/cjs/proxy.js
  24. 0
    28
      node_modules/@vue/devtools-api/lib/cjs/time.js
  25. 0
    108
      node_modules/@vue/devtools-api/lib/esm/api/api.d.ts
  26. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/api.js
  27. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/app.d.ts
  28. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/app.js
  29. 0
    78
      node_modules/@vue/devtools-api/lib/esm/api/component.d.ts
  30. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/component.js
  31. 0
    5
      node_modules/@vue/devtools-api/lib/esm/api/context.d.ts
  32. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/context.js
  33. 0
    180
      node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts
  34. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/hooks.js
  35. 0
    6
      node_modules/@vue/devtools-api/lib/esm/api/index.d.ts
  36. 0
    6
      node_modules/@vue/devtools-api/lib/esm/api/index.js
  37. 0
    4
      node_modules/@vue/devtools-api/lib/esm/api/util.d.ts
  38. 0
    1
      node_modules/@vue/devtools-api/lib/esm/api/util.js
  39. 0
    2
      node_modules/@vue/devtools-api/lib/esm/const.d.ts
  40. 0
    2
      node_modules/@vue/devtools-api/lib/esm/const.js
  41. 0
    15
      node_modules/@vue/devtools-api/lib/esm/env.d.ts
  42. 0
    12
      node_modules/@vue/devtools-api/lib/esm/env.js
  43. 0
    18
      node_modules/@vue/devtools-api/lib/esm/index.d.ts
  44. 0
    26
      node_modules/@vue/devtools-api/lib/esm/index.js
  45. 0
    47
      node_modules/@vue/devtools-api/lib/esm/plugin.d.ts
  46. 0
    1
      node_modules/@vue/devtools-api/lib/esm/plugin.js
  47. 0
    20
      node_modules/@vue/devtools-api/lib/esm/proxy.d.ts
  48. 0
    107
      node_modules/@vue/devtools-api/lib/esm/proxy.js
  49. 0
    2
      node_modules/@vue/devtools-api/lib/esm/time.d.ts
  50. 0
    23
      node_modules/@vue/devtools-api/lib/esm/time.js
  51. 0
    67
      node_modules/@vue/devtools-api/package.json
  52. 0
    7
      node_modules/deepmerge/.editorconfig
  53. 0
    1
      node_modules/deepmerge/.eslintcache
  54. 0
    167
      node_modules/deepmerge/changelog.md
  55. 0
    133
      node_modules/deepmerge/dist/cjs.js
  56. 0
    139
      node_modules/deepmerge/dist/umd.js
  57. 0
    20
      node_modules/deepmerge/index.d.ts
  58. 0
    106
      node_modules/deepmerge/index.js
  59. 0
    21
      node_modules/deepmerge/license.txt
  60. 0
    70
      node_modules/deepmerge/package.json
  61. 0
    264
      node_modules/deepmerge/readme.md
  62. 0
    22
      node_modules/deepmerge/rollup.config.js
  63. 0
    4
      node_modules/shvl/CHANGELOG.md
  64. 0
    21
      node_modules/shvl/LICENSE
  65. 0
    86
      node_modules/shvl/README.md
  66. 0
    2
      node_modules/shvl/dist/shvl.js
  67. 0
    1
      node_modules/shvl/dist/shvl.js.map
  68. 0
    2
      node_modules/shvl/dist/shvl.mjs
  69. 0
    1
      node_modules/shvl/dist/shvl.mjs.map
  70. 0
    2
      node_modules/shvl/dist/shvl.modern.js
  71. 0
    1
      node_modules/shvl/dist/shvl.modern.js.map
  72. 0
    2
      node_modules/shvl/dist/shvl.umd.js
  73. 0
    1
      node_modules/shvl/dist/shvl.umd.js.map
  74. 0
    2
      node_modules/shvl/index.d.ts
  75. 0
    11
      node_modules/shvl/index.js
  76. 0
    86
      node_modules/shvl/package.json
  77. 0
    4
      node_modules/vuex-persistedstate/CHANGELOG.md
  78. 0
    326
      node_modules/vuex-persistedstate/README.md
  79. 0
    23
      node_modules/vuex-persistedstate/dist/index.d.ts
  80. 0
    2
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js
  81. 0
    1
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js.map
  82. 0
    2
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.js
  83. 0
    1
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.js.map
  84. 0
    2
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js
  85. 0
    1
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js.map
  86. 0
    2
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js
  87. 0
    1
      node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js.map
  88. 0
    111
      node_modules/vuex-persistedstate/package.json
  89. 0
    119
      node_modules/vuex-persistedstate/src/index.ts
  90. 0
    617
      node_modules/vuex/CHANGELOG.md
  91. 0
    21
      node_modules/vuex/LICENSE
  92. 0
    59
      node_modules/vuex/README.md
  93. 0
    1486
      node_modules/vuex/dist/vuex.cjs.js
  94. 0
    1484
      node_modules/vuex/dist/vuex.esm-browser.js
  95. 0
    1323
      node_modules/vuex/dist/vuex.esm-browser.prod.js
  96. 0
    1485
      node_modules/vuex/dist/vuex.esm-bundler.js
  97. 0
    1514
      node_modules/vuex/dist/vuex.global.js
  98. 0
    6
      node_modules/vuex/dist/vuex.global.prod.js
  99. 0
    32
      node_modules/vuex/dist/vuex.mjs
  100. 0
    0
      node_modules/vuex/package.json

+ 16
- 6
.gitignore Ver arquivo

@@ -1,6 +1,16 @@
1
-unpackage/cache
2
-unpackage/dist
3
-.hbuilderx
4
-node_modules
5
-test/
6
-.DS_Store
1
+######################################################################
2
+# Build Tools
3
+
4
+/unpackage/*
5
+/node_modules/*
6
+
7
+######################################################################
8
+# Development Tools
9
+
10
+/.idea/*
11
+/.vscode/*
12
+/.hbuilderx/*
13
+
14
+package-lock.json
15
+yarn.lock
16
+

+ 30
- 17
App.vue Ver arquivo

@@ -1,21 +1,34 @@
1 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
-	}
2
+  import config from './config'
3
+  import store from '@/store'
4
+  import { getToken } from '@/utils/auth'
5
+
6
+  export default {
7
+    onLaunch: function() {
8
+      this.initApp()
9
+    },
10
+    methods: {
11
+      // 初始化应用
12
+      initApp() {
13
+        // 初始化应用配置
14
+        this.initConfig()
15
+        // 检查用户登录状态
16
+        //#ifdef H5
17
+        this.checkLogin()
18
+        //#endif
19
+      },
20
+      initConfig() {
21
+        this.globalData.config = config
22
+      },
23
+      checkLogin() {
24
+        if (!getToken()) {
25
+          this.$tab.reLaunch('/pages/login') 
26
+        }
27
+      }
28
+    }
29
+  }
13 30
 </script>
14 31
 
15
-<style>
16
-	/*每个页面公共css */
17
-	uni-page-body,page{
18
-		height: 100%;
19
-		background-color: #ECEDF4;
20
-	}
32
+<style lang="scss">
33
+  @import '@/static/scss/index.scss'
21 34
 </style>

node_modules/vuex-persistedstate/LICENSE → LICENSE Ver arquivo

@@ -1,6 +1,6 @@
1 1
 MIT License
2 2
 
3
-Copyright (c) Robin van der Vleuten <robin@webstronauts.co>
3
+Copyright (c) 2022 若依
4 4
 
5 5
 Permission is hereby granted, free of charge, to any person obtaining a copy
6 6
 of this software and associated documentation files (the "Software"), to deal

+ 51
- 1
README.md Ver arquivo

@@ -1,2 +1,52 @@
1
-# miniapp
1
+<p align="center">
2
+	<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-43e3941654fa3054c9684bf53d1b1d356a1.png">
3
+</p>
4
+<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi v1.1.0</h1>
5
+<h4 align="center">基于UniApp开发的轻量级移动端框架</h4>
6
+<p align="center">
7
+	<a href="https://gitee.com/y_project/RuoYi-App/stargazers"><img src="https://gitee.com/y_project/RuoYi-App/badge/star.svg?theme=dark"></a>
8
+	<a href="https://gitee.com/y_project/RuoYi-App"><img src="https://img.shields.io/badge/RuoYi-v1.1.0-brightgreen.svg"></a>
9
+	<a href="https://gitee.com/y_project/RuoYi-App/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a>
10
+</p>
2 11
 
12
+## 平台简介
13
+
14
+RuoYi App 移动解决方案,采用uniapp框架,一份代码多终端适配,同时支持APP、小程序、H5!实现了与[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue)、[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud)完美对接的移动解决方案!目前已经实现登录、我的、工作台、编辑资料、头像修改、密码修改、常见问题、关于我们等基础功能。
15
+
16
+* 配套后端代码仓库地址[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue) 或 [RuoYi-Cloud](https://github.com/yangzongzhuan/RuoYi-Cloud) 版本。
17
+* 应用框架基于[uniapp](https://uniapp.dcloud.net.cn/),支持小程序、H5、Android和IOS。
18
+* 前端组件采用[uni-ui](https://github.com/dcloudio/uni-ui),全端兼容的高性能UI框架。
19
+* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)&nbsp;&nbsp;
20
+* 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link),腾讯云优惠券:[点我领取](https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console)&nbsp;&nbsp;
21
+
22
+
23
+## 技术文档
24
+
25
+- 官网网站:[http://ruoyi.vip](http://ruoyi.vip)
26
+- 文档地址:[http://doc.ruoyi.vip](http://doc.ruoyi.vip)
27
+- H5页体验:[http://h5.ruoyi.vip](http://h5.ruoyi.vip)
28
+- QQ交流群: ①133713780(满)、②146013835
29
+- 小程序体验
30
+
31
+<img src="https://oscimg.oschina.net/oscnet/up-26c76dc90b92acdbd9ac8cd5252f07c8ad9.jpg" alt="小程序演示"/>
32
+ 
33
+
34
+## 演示图
35
+
36
+<table>
37
+    <tr>
38
+        <td><img src="https://oscimg.oschina.net/oscnet/up-3ea20e447ac621a161e395fb53ccc683d84.png"/></td>
39
+        <td><img src="https://oscimg.oschina.net/oscnet/up-a6f23cf9a371a30165e135eff6d9ae89a9d.png"/></td>
40
+		<td><img src="https://oscimg.oschina.net/oscnet/up-ff5f62016bf6624c1ff27eee57499dccd44.png"/></td>
41
+    </tr>
42
+	<tr>
43
+        <td><img src="https://oscimg.oschina.net/oscnet/up-b9a582fdb26ec69d407fabd044d2c8494df.png"/></td>
44
+        <td><img src="https://oscimg.oschina.net/oscnet/up-96427ee08fca29d77934cfc8d1b1a637cef.png"/></td>
45
+		<td><img src="https://oscimg.oschina.net/oscnet/up-5fdadc582d24cccd7727030d397b63185a3.png"/></td>
46
+    </tr>
47
+	<tr>
48
+        <td><img src="https://oscimg.oschina.net/oscnet/up-0a36797b6bcc50c36d40c3c782665b89efc.png"/></td>
49
+        <td><img src="https://oscimg.oschina.net/oscnet/up-d77995cc00687cedd00d5ac7d68a07ea276.png"/></td>
50
+		<td><img src="https://oscimg.oschina.net/oscnet/up-fa8f5ab20becf59b4b38c1b92a9989e7109.png"/></td>
51
+    </tr>
52
+</table>

+ 59
- 0
api/login.js Ver arquivo

@@ -0,0 +1,59 @@
1
+import request from '@/utils/request'
2
+
3
+// 登录方法
4
+export function login(username, password, code, uuid) {
5
+  const data = {
6
+    username,
7
+    password,
8
+    code,
9
+    uuid
10
+  }
11
+  return request({
12
+    'url': '/login',
13
+    headers: {
14
+      isToken: false
15
+    },
16
+    'method': 'post',
17
+    'data': data
18
+  })
19
+}
20
+
21
+// 注册方法
22
+export function register(data) {
23
+  return request({
24
+    url: '/register',
25
+    headers: {
26
+      isToken: false
27
+    },
28
+    method: 'post',
29
+    data: data
30
+  })
31
+}
32
+
33
+// 获取用户详细信息
34
+export function getInfo() {
35
+  return request({
36
+    'url': '/getInfo',
37
+    'method': 'get'
38
+  })
39
+}
40
+
41
+// 退出方法
42
+export function logout() {
43
+  return request({
44
+    'url': '/logout',
45
+    'method': 'post'
46
+  })
47
+}
48
+
49
+// 获取验证码
50
+export function getCodeImg() {
51
+  return request({
52
+    'url': '/captchaImage',
53
+    headers: {
54
+      isToken: false
55
+    },
56
+    method: 'get',
57
+    timeout: 20000
58
+  })
59
+}

+ 41
- 0
api/system/user.js Ver arquivo

@@ -0,0 +1,41 @@
1
+import upload from '@/utils/upload'
2
+import request from '@/utils/request'
3
+
4
+// 用户密码重置
5
+export function updateUserPwd(oldPassword, newPassword) {
6
+  const data = {
7
+    oldPassword,
8
+    newPassword
9
+  }
10
+  return request({
11
+    url: '/system/user/profile/updatePwd',
12
+    method: 'put',
13
+    params: data
14
+  })
15
+}
16
+
17
+// 查询用户个人信息
18
+export function getUserProfile() {
19
+  return request({
20
+    url: '/system/user/profile',
21
+    method: 'get'
22
+  })
23
+}
24
+
25
+// 修改用户个人信息
26
+export function updateUserProfile(data) {
27
+  return request({
28
+    url: '/system/user/profile',
29
+    method: 'put',
30
+    data: data
31
+  })
32
+}
33
+
34
+// 用户头像上传
35
+export function uploadAvatar(data) {
36
+  return upload({
37
+    url: '/system/user/profile/avatar',
38
+    name: data.name,
39
+    filePath: data.filePath
40
+  })
41
+}

+ 167
- 0
components/uni-section/uni-section.vue Ver arquivo

@@ -0,0 +1,167 @@
1
+<template>
2
+	<view class="uni-section">
3
+		<view class="uni-section-header" @click="onClick">
4
+				<view class="uni-section-header__decoration" v-if="type" :class="type" />
5
+        <slot v-else name="decoration"></slot>
6
+
7
+        <view class="uni-section-header__content">
8
+          <text :style="{'font-size':titleFontSize,'color':titleColor}" class="uni-section__content-title" :class="{'distraction':!subTitle}">{{ title }}</text>
9
+          <text v-if="subTitle" :style="{'font-size':subTitleFontSize,'color':subTitleColor}" class="uni-section-header__content-sub">{{ subTitle }}</text>
10
+        </view>
11
+
12
+        <view class="uni-section-header__slot-right">
13
+          <slot name="right"></slot>
14
+        </view>
15
+		</view>
16
+
17
+		<view class="uni-section-content" :style="{padding: _padding}">
18
+			<slot />
19
+		</view>
20
+	</view>
21
+</template>
22
+
23
+<script>
24
+
25
+	/**
26
+	 * Section 标题栏
27
+	 * @description 标题栏
28
+	 * @property {String} type = [line|circle|square] 标题装饰类型
29
+	 * 	@value line 竖线
30
+	 * 	@value circle 圆形
31
+	 * 	@value square 正方形
32
+	 * @property {String} title 主标题
33
+	 * @property {String} titleFontSize 主标题字体大小
34
+	 * @property {String} titleColor 主标题字体颜色
35
+	 * @property {String} subTitle 副标题
36
+	 * @property {String} subTitleFontSize 副标题字体大小
37
+	 * @property {String} subTitleColor 副标题字体颜色
38
+	 * @property {String} padding 默认插槽 padding
39
+	 */
40
+
41
+	export default {
42
+		name: 'UniSection',
43
+    emits:['click'],
44
+		props: {
45
+			type: {
46
+				type: String,
47
+				default: ''
48
+			},
49
+			title: {
50
+				type: String,
51
+				required: true,
52
+				default: ''
53
+			},
54
+      titleFontSize: {
55
+        type: String,
56
+        default: '14px'
57
+      },
58
+			titleColor:{
59
+				type: String,
60
+				default: '#333'
61
+			},
62
+			subTitle: {
63
+				type: String,
64
+				default: ''
65
+			},
66
+      subTitleFontSize: {
67
+        type: String,
68
+        default: '12px'
69
+      },
70
+      subTitleColor: {
71
+        type: String,
72
+        default: '#999'
73
+      },
74
+			padding: {
75
+				type: [Boolean, String],
76
+				default: false
77
+			}
78
+		},
79
+    computed:{
80
+      _padding(){
81
+        if(typeof this.padding === 'string'){
82
+          return this.padding
83
+        }
84
+
85
+        return this.padding?'10px':''
86
+      }
87
+    },
88
+		watch: {
89
+			title(newVal) {
90
+				if (uni.report && newVal !== '') {
91
+					uni.report('title', newVal)
92
+				}
93
+			}
94
+		},
95
+    methods: {
96
+			onClick() {
97
+				this.$emit('click')
98
+			}
99
+		}
100
+	}
101
+</script>
102
+<style lang="scss" >
103
+	$uni-primary: #2979ff !default;
104
+
105
+	.uni-section {
106
+		background-color: #fff;
107
+    .uni-section-header {
108
+      position: relative;
109
+      /* #ifndef APP-NVUE */
110
+      display: flex;
111
+      /* #endif */
112
+      flex-direction: row;
113
+      align-items: center;
114
+      padding: 12px 10px;
115
+      font-weight: normal;
116
+
117
+      &__decoration{
118
+        margin-right: 6px;
119
+        background-color: $uni-primary;
120
+        &.line {
121
+          width: 4px;
122
+          height: 12px;
123
+          border-radius: 10px;
124
+        }
125
+
126
+        &.circle {
127
+          width: 8px;
128
+          height: 8px;
129
+          border-top-right-radius: 50px;
130
+          border-top-left-radius: 50px;
131
+          border-bottom-left-radius: 50px;
132
+          border-bottom-right-radius: 50px;
133
+        }
134
+
135
+        &.square {
136
+          width: 8px;
137
+          height: 8px;
138
+        }
139
+      }
140
+
141
+      &__content {
142
+        /* #ifndef APP-NVUE */
143
+        display: flex;
144
+        /* #endif */
145
+        flex-direction: column;
146
+        flex: 1;
147
+        color: #333;
148
+
149
+        .distraction {
150
+          flex-direction: row;
151
+          align-items: center;
152
+        }
153
+        &-sub {
154
+          margin-top: 2px;
155
+        }
156
+      }
157
+
158
+      &__slot-right{
159
+        font-size: 14px;
160
+      }
161
+    }
162
+
163
+    .uni-section-content{
164
+      font-size: 14px;
165
+    }
166
+	}
167
+</style>

+ 26
- 0
config.js Ver arquivo

@@ -0,0 +1,26 @@
1
+// 应用全局配置
2
+module.exports = {
3
+  baseUrl: 'http://192.168.3.77:8080',
4
+  // baseUrl: 'http://localhost:8080',
5
+  // 应用信息
6
+  appInfo: {
7
+    // 应用名称
8
+    name: "ruoyi-app",
9
+    // 应用版本
10
+    version: "1.1.0",
11
+    // 应用logo
12
+    logo: "/static/chuizi.png",
13
+    // 官方网站
14
+    site_url: "http://ruoyi.vip",
15
+    // 政策协议
16
+    agreements: [{
17
+        title: "隐私政策",
18
+        url: "https://ruoyi.vip/protocol.html"
19
+      },
20
+      {
21
+        title: "用户服务协议",
22
+        url: "https://ruoyi.vip/protocol.html"
23
+      }
24
+    ]
25
+  }
26
+}

+ 0
- 20
index.html Ver arquivo

@@ -1,20 +0,0 @@
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>

+ 9
- 16
main.js Ver arquivo

@@ -1,24 +1,17 @@
1
+import Vue from 'vue'
1 2
 import App from './App'
2
-import store from './store/index.js'
3
+import store from './store' // store
4
+import plugins from './plugins' // plugins
5
+import './permission' // permission
6
+Vue.use(plugins)
3 7
 
4
-// #ifndef VUE3
5
-import Vue from 'vue'
6
-import './uni.promisify.adaptor'
7 8
 Vue.config.productionTip = false
9
+Vue.prototype.$store = store
10
+
8 11
 App.mpType = 'app'
12
+
9 13
 const app = new Vue({
10
-	store,
11 14
   ...App
12 15
 })
13
-app.$mount()
14
-// #endif
15 16
 
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
17
+app.$mount()

+ 24
- 27
manifest.json Ver arquivo

@@ -1,26 +1,21 @@
1 1
 {
2
-    "name" : "legalAffairs-app",
3
-    "appid" : "__UNI__6B7438C",
2
+    "name" : "若依移动端",
3
+    "appid" : "__UNI__25A9D80",
4 4
     "description" : "",
5
-    "versionName" : "1.0.0",
5
+    "versionName" : "1.1.0",
6 6
     "versionCode" : "100",
7 7
     "transformPx" : false,
8
-    /* 5+App特有相关 */
9 8
     "app-plus" : {
10 9
         "usingComponents" : true,
11
-        "nvueStyleCompiler" : "uni-app",
12
-        "compilerVersion" : 3,
10
+        "nvueCompiler" : "uni-app",
13 11
         "splashscreen" : {
14 12
             "alwaysShowBeforeRender" : true,
15 13
             "waiting" : true,
16 14
             "autoclose" : true,
17 15
             "delay" : 0
18 16
         },
19
-        /* 模块配置 */
20 17
         "modules" : {},
21
-        /* 应用发布信息 */
22 18
         "distribute" : {
23
-            /* android打包配置 */
24 19
             "android" : {
25 20
                 "permissions" : [
26 21
                     "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
@@ -40,33 +35,35 @@
40 35
                     "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
41 36
                 ]
42 37
             },
43
-            /* ios打包配置 */
44 38
             "ios" : {},
45
-            /* SDK配置 */
46 39
             "sdkConfigs" : {}
47 40
         }
48 41
     },
49
-    /* 快应用特有相关 */
50 42
     "quickapp" : {},
51
-    /* 小程序特有相关 */
52 43
     "mp-weixin" : {
53 44
         "appid" : "wx6d65ec24cf6b13af",
54 45
         "setting" : {
55
-            "urlCheck" : false
46
+            "urlCheck" : false,
47
+            "es6" : false,
48
+            "minified" : true,
49
+            "postcss" : true
50
+        },
51
+        "optimization" : {
52
+            "subPackages" : true
56 53
         },
57 54
         "usingComponents" : true
58 55
     },
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"
56
+    "vueVersion" : "2",
57
+    "h5" : {
58
+        "template" : "static/index.html",
59
+        "devServer" : {
60
+            "port" : 9090,
61
+            "https" : false
62
+        },
63
+        "title" : "RuoYi-App",
64
+        "router" : {
65
+            "mode" : "hash",
66
+            "base" : "./"
67
+        }
68
+    }
72 69
 }

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/api/api.js Ver arquivo

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

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/api/app.js Ver arquivo

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

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/api/component.js Ver arquivo

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

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/api/context.js Ver arquivo

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

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/api/hooks.js Ver arquivo

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

+ 0
- 22
node_modules/@vue/devtools-api/lib/cjs/api/index.js Ver arquivo

@@ -1,22 +0,0 @@
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);

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/api/util.js Ver arquivo

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

+ 0
- 5
node_modules/@vue/devtools-api/lib/cjs/const.js Ver arquivo

@@ -1,5 +0,0 @@
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';

+ 0
- 17
node_modules/@vue/devtools-api/lib/cjs/env.js Ver arquivo

@@ -1,17 +0,0 @@
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';

+ 0
- 44
node_modules/@vue/devtools-api/lib/cjs/index.js Ver arquivo

@@ -1,44 +0,0 @@
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;

+ 0
- 2
node_modules/@vue/devtools-api/lib/cjs/plugin.js Ver arquivo

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

+ 0
- 111
node_modules/@vue/devtools-api/lib/cjs/proxy.js Ver arquivo

@@ -1,111 +0,0 @@
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;

+ 0
- 28
node_modules/@vue/devtools-api/lib/cjs/time.js Ver arquivo

@@ -1,28 +0,0 @@
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;

+ 0
- 108
node_modules/@vue/devtools-api/lib/esm/api/api.d.ts Ver arquivo

@@ -1,108 +0,0 @@
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
-}

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/api/api.js Ver arquivo

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

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

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

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/api/app.js Ver arquivo

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

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

@@ -1,78 +0,0 @@
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
-}

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/api/component.js Ver arquivo

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

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

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

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/api/context.js Ver arquivo

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

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

@@ -1,180 +0,0 @@
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
-}

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/api/hooks.js Ver arquivo

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

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

@@ -1,6 +0,0 @@
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';

+ 0
- 6
node_modules/@vue/devtools-api/lib/esm/api/index.js Ver arquivo

@@ -1,6 +0,0 @@
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';

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

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

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/api/util.js Ver arquivo

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

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

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

+ 0
- 2
node_modules/@vue/devtools-api/lib/esm/const.js Ver arquivo

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

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

@@ -1,15 +0,0 @@
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 {};

+ 0
- 12
node_modules/@vue/devtools-api/lib/esm/env.js Ver arquivo

@@ -1,12 +0,0 @@
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';

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

@@ -1,18 +0,0 @@
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;

+ 0
- 26
node_modules/@vue/devtools-api/lib/esm/index.js Ver arquivo

@@ -1,26 +0,0 @@
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
-}

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

@@ -1,47 +0,0 @@
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 {};

+ 0
- 1
node_modules/@vue/devtools-api/lib/esm/plugin.js Ver arquivo

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

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

@@ -1,20 +0,0 @@
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 {};

+ 0
- 107
node_modules/@vue/devtools-api/lib/esm/proxy.js Ver arquivo

@@ -1,107 +0,0 @@
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
-}

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

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

+ 0
- 23
node_modules/@vue/devtools-api/lib/esm/time.js Ver arquivo

@@ -1,23 +0,0 @@
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
-}

+ 0
- 67
node_modules/@vue/devtools-api/package.json Ver arquivo

@@ -1,67 +0,0 @@
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
-}

+ 0
- 7
node_modules/deepmerge/.editorconfig Ver arquivo

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

+ 0
- 1
node_modules/deepmerge/.eslintcache Ver arquivo

@@ -1 +0,0 @@
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",[],[]]

+ 0
- 167
node_modules/deepmerge/changelog.md Ver arquivo

@@ -1,167 +0,0 @@
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)

+ 0
- 133
node_modules/deepmerge/dist/cjs.js Ver arquivo

@@ -1,133 +0,0 @@
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;

+ 0
- 139
node_modules/deepmerge/dist/umd.js Ver arquivo

@@ -1,139 +0,0 @@
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
-}));

+ 0
- 20
node_modules/deepmerge/index.d.ts Ver arquivo

@@ -1,20 +0,0 @@
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;

+ 0
- 106
node_modules/deepmerge/index.js Ver arquivo

@@ -1,106 +0,0 @@
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

+ 0
- 21
node_modules/deepmerge/license.txt Ver arquivo

@@ -1,21 +0,0 @@
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.

+ 0
- 70
node_modules/deepmerge/package.json Ver arquivo

@@ -1,70 +0,0 @@
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
-}

+ 0
- 264
node_modules/deepmerge/readme.md Ver arquivo

@@ -1,264 +0,0 @@
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

+ 0
- 22
node_modules/deepmerge/rollup.config.js Ver arquivo

@@ -1,22 +0,0 @@
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
-}

+ 0
- 4
node_modules/shvl/CHANGELOG.md Ver arquivo

@@ -1,4 +0,0 @@
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.

+ 0
- 21
node_modules/shvl/LICENSE Ver arquivo

@@ -1,21 +0,0 @@
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.

+ 0
- 86
node_modules/shvl/README.md Ver arquivo

@@ -1,86 +0,0 @@
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.

+ 0
- 2
node_modules/shvl/dist/shvl.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/shvl/dist/shvl.js.map Ver arquivo

@@ -1 +0,0 @@
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"}

+ 0
- 2
node_modules/shvl/dist/shvl.mjs Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/shvl/dist/shvl.mjs.map Ver arquivo

@@ -1 +0,0 @@
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"}

+ 0
- 2
node_modules/shvl/dist/shvl.modern.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/shvl/dist/shvl.modern.js.map Ver arquivo

@@ -1 +0,0 @@
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"}

+ 0
- 2
node_modules/shvl/dist/shvl.umd.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/shvl/dist/shvl.umd.js.map Ver arquivo

@@ -1 +0,0 @@
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"}

+ 0
- 2
node_modules/shvl/index.d.ts Ver arquivo

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

+ 0
- 11
node_modules/shvl/index.js Ver arquivo

@@ -1,11 +0,0 @@
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
-};

+ 0
- 86
node_modules/shvl/package.json Ver arquivo

@@ -1,86 +0,0 @@
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
-}

+ 0
- 4
node_modules/vuex-persistedstate/CHANGELOG.md Ver arquivo

@@ -1,4 +0,0 @@
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.

+ 0
- 326
node_modules/vuex-persistedstate/README.md Ver arquivo

@@ -1,326 +0,0 @@
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.

+ 0
- 23
node_modules/vuex-persistedstate/dist/index.d.ts Ver arquivo

@@ -1,23 +0,0 @@
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 {};

+ 0
- 2
node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js.map
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 2
node_modules/vuex-persistedstate/dist/vuex-persistedstate.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/vuex-persistedstate/dist/vuex-persistedstate.js.map
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 2
node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/vuex-persistedstate/dist/vuex-persistedstate.modern.js.map
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 2
node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js Ver arquivo

@@ -1,2 +0,0 @@
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

+ 0
- 1
node_modules/vuex-persistedstate/dist/vuex-persistedstate.umd.js.map
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 111
node_modules/vuex-persistedstate/package.json Ver arquivo

@@ -1,111 +0,0 @@
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
-}

+ 0
- 119
node_modules/vuex-persistedstate/src/index.ts Ver arquivo

@@ -1,119 +0,0 @@
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
-}

+ 0
- 617
node_modules/vuex/CHANGELOG.md Ver arquivo

@@ -1,617 +0,0 @@
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
-

+ 0
- 21
node_modules/vuex/LICENSE Ver arquivo

@@ -1,21 +0,0 @@
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.

+ 0
- 59
node_modules/vuex/README.md Ver arquivo

@@ -1,59 +0,0 @@
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

+ 0
- 1486
node_modules/vuex/dist/vuex.cjs.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 1484
node_modules/vuex/dist/vuex.esm-browser.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 1323
node_modules/vuex/dist/vuex.esm-browser.prod.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 1485
node_modules/vuex/dist/vuex.esm-bundler.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 1514
node_modules/vuex/dist/vuex.global.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 6
node_modules/vuex/dist/vuex.global.prod.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 32
node_modules/vuex/dist/vuex.mjs Ver arquivo

@@ -1,32 +0,0 @@
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
-}

+ 0
- 0
node_modules/vuex/package.json Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff