rb-document-form-constructor 0.8.63 → 0.8.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rb-document-form-constructor",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.64",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/rb-document-form-constructor.ssr.js",
|
|
6
6
|
"browser": "dist/rb-document-form-constructor.esm.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"bootstrap-vue": "^2.15.0",
|
|
25
25
|
"debounce": "^1.2.1",
|
|
26
26
|
"jquery": "^3.6.0",
|
|
27
|
+
"nanoid": "^4.0.2",
|
|
27
28
|
"notevil": "^1.3.3",
|
|
28
29
|
"sass": "^1.32.0",
|
|
29
30
|
"sass-loader": "^10.1.0",
|
|
30
31
|
"typeof": "^1.0.0",
|
|
31
|
-
"uuid": "^9.0.0",
|
|
32
32
|
"vuedraggable": "^2.24.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
|
|
134
134
|
<script>
|
|
135
135
|
import FieldRuleFormModal from "./FieldRuleFormModal";
|
|
136
|
-
import {
|
|
136
|
+
import { nanoid } from 'nanoid';
|
|
137
137
|
import {UtFormConstructor} from "../utils/UtFormConstructor";
|
|
138
138
|
|
|
139
139
|
export default {
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
rule: {},
|
|
161
161
|
mode: 'ins',
|
|
162
162
|
},
|
|
163
|
-
rulesHash:
|
|
163
|
+
rulesHash: nanoid(),
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
computed: {
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
this.field.rules.push({
|
|
253
253
|
...rule
|
|
254
254
|
});
|
|
255
|
-
this.rulesHash =
|
|
255
|
+
this.rulesHash = nanoid();
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
this.$bvModal.show(this.modalId);
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
if (index >= 0) {
|
|
278
278
|
this.field.rules.splice(index, 1);
|
|
279
279
|
}
|
|
280
|
-
this.rulesHash =
|
|
280
|
+
this.rulesHash = nanoid();
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
created() {
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
|
|
136
136
|
<script>
|
|
137
137
|
import {UtFormConfig} from "../utils/UtFormConfig";
|
|
138
|
-
import {
|
|
138
|
+
import { nanoid } from 'nanoid'
|
|
139
139
|
import {UtFormConstructor} from "../utils/UtFormConstructor";
|
|
140
140
|
import DocForm from "./DocForm";
|
|
141
141
|
|
|
@@ -230,7 +230,7 @@ export default {
|
|
|
230
230
|
},
|
|
231
231
|
getDefaultRule() {
|
|
232
232
|
return {
|
|
233
|
-
id:
|
|
233
|
+
id: nanoid(),
|
|
234
234
|
name: null,
|
|
235
235
|
event: null,
|
|
236
236
|
script: null,
|