@live-change/frontend-auto-form 0.9.97 → 0.9.98

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.
@@ -6,7 +6,7 @@
6
6
  <i v-if="part.icon" :class="[part.icon, 'mr-2']" style="font-size: 0.9em;"></i>
7
7
  <span :class="{ 'mr-2': index < identificationParts.length - 1 }">
8
8
  <span v-if="part.isObject">
9
- <InjectedObjectIndentification :type="part.type" :object="part.value" />
9
+ <InjectedObjectIndentification :type="part.type" :object="part.value" link="" />
10
10
  </span>
11
11
  <span v-else-if="part.field">
12
12
  {{ part.value }}
@@ -6,7 +6,15 @@
6
6
  <pre>selectedPaths = {{ selectedPaths }}</pre>
7
7
  <pre>selectedPathWithElements = {{ selectedPathWithElements }}</pre> -->
8
8
  <div v-for="path in selectedPathsWithElements" :key="path">
9
- <Breadcrumb :model="more ? [...path, 'dupa'] : path">
9
+ <Breadcrumb :model="more ? [...path, 'dupa'] : path"
10
+ :pt="{
11
+ list: {
12
+ class: 'text-sm flex flex-row flex-wrap gap-2 first:negative-margin-left pl-[1.5rem]'
13
+ },
14
+ item: {
15
+ class: 'first:ml-[-1.5rem]'
16
+ }
17
+ }">
10
18
  <template #item="{ item }">
11
19
  <div>
12
20
  <slot v-if="typeof item === 'string'" name="more">
@@ -6,8 +6,8 @@ export function propertiesValidationErrors(rootValue, parameters, definition, la
6
6
  ...rootValue,
7
7
  }
8
8
 
9
- console.log("propertiesValidationErrors", rootValue, parameters, definition,
10
- lastData, propertiesServerErrors, appContext)
9
+ /* console.log("propertiesValidationErrors", rootValue, parameters, definition,
10
+ lastData, propertiesServerErrors, appContext) */
11
11
 
12
12
  const validationResult = validateData(definition, currentValue, 'validation', appContext,
13
13
  '', rootValue, true)
@@ -17,7 +17,7 @@ export function propertiesValidationErrors(rootValue, parameters, definition, la
17
17
 
18
18
  const serverValidationResult = {}
19
19
  if(propertiesServerErrors) {
20
- console.log("propertiesServerErrors", propertiesServerErrors, lastData, rootValue)
20
+ //console.log("propertiesServerErrors", propertiesServerErrors, lastData, rootValue)
21
21
  for(const propPathString in propertiesServerErrors) {
22
22
  const propPath = propPathString.split('.')
23
23
  let last = lastData
@@ -32,9 +32,9 @@ export function propertiesValidationErrors(rootValue, parameters, definition, la
32
32
  }
33
33
  }
34
34
 
35
- console.log("currentValue", currentValue)
35
+ /* console.log("currentValue", currentValue)
36
36
  console.log("validationResult", validationResult, softValidationResult)
37
- console.log("serverValidationResult", serverValidationResult)
37
+ console.log("serverValidationResult", serverValidationResult) */
38
38
 
39
39
  return {
40
40
  ...softValidationResult?.propertyErrors,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-auto-form",
3
- "version": "0.9.97",
3
+ "version": "0.9.98",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -22,16 +22,16 @@
22
22
  "type": "module",
23
23
  "dependencies": {
24
24
  "@fortawesome/fontawesome-free": "^6.7.2",
25
- "@live-change/cli": "^0.9.97",
26
- "@live-change/dao": "^0.9.97",
27
- "@live-change/dao-vue3": "^0.9.97",
28
- "@live-change/dao-websocket": "^0.9.97",
29
- "@live-change/framework": "^0.9.97",
30
- "@live-change/image-frontend": "^0.9.97",
31
- "@live-change/image-service": "^0.9.97",
32
- "@live-change/session-service": "^0.9.97",
33
- "@live-change/vue3-components": "^0.9.97",
34
- "@live-change/vue3-ssr": "^0.9.97",
25
+ "@live-change/cli": "^0.9.98",
26
+ "@live-change/dao": "^0.9.98",
27
+ "@live-change/dao-vue3": "^0.9.98",
28
+ "@live-change/dao-websocket": "^0.9.98",
29
+ "@live-change/framework": "^0.9.98",
30
+ "@live-change/image-frontend": "^0.9.98",
31
+ "@live-change/image-service": "^0.9.98",
32
+ "@live-change/session-service": "^0.9.98",
33
+ "@live-change/vue3-components": "^0.9.98",
34
+ "@live-change/vue3-ssr": "^0.9.98",
35
35
  "@vueuse/core": "^12.3.0",
36
36
  "codeceptjs-assert": "^0.0.5",
37
37
  "compression": "^1.7.5",
@@ -52,7 +52,7 @@
52
52
  "vue3-scroll-border": "0.1.7"
53
53
  },
54
54
  "devDependencies": {
55
- "@live-change/codeceptjs-helper": "^0.9.97",
55
+ "@live-change/codeceptjs-helper": "^0.9.98",
56
56
  "codeceptjs": "^3.6.10",
57
57
  "generate-password": "1.7.1",
58
58
  "playwright": "1.49.1",
@@ -63,5 +63,5 @@
63
63
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
64
64
  "license": "ISC",
65
65
  "description": "",
66
- "gitHead": "10ec914fe91a9fe10464d68c6d145e152bb1073e"
66
+ "gitHead": "a0e25c0ac835707d27763e56a2c20bd75d978583"
67
67
  }