@dative-gpi/foundation-core-components 1.0.15 → 1.0.16
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/components/customProperties/FSMetaField.vue +1 -2
- package/components/customProperties/FSMetaFormContent.vue +4 -5
- package/components/customProperties/FSMetaGrid.vue +2 -2
- package/components/customProperties/FSMetaHistory.vue +15 -14
- package/components/customProperties/FSMetaValue.vue +2 -4
- package/package.json +7 -7
|
@@ -93,8 +93,7 @@ import { computed, defineComponent, type PropType } from "vue";
|
|
|
93
93
|
|
|
94
94
|
import { useAppTimeZone } from "@dative-gpi/foundation-shared-services/composables";
|
|
95
95
|
|
|
96
|
-
import type
|
|
97
|
-
import { PropertyDataType } from "../../../foundation-core-domain/models";
|
|
96
|
+
import { type CustomPropertyInfos, PropertyDataType } from "../../../foundation-core-domain/models";
|
|
98
97
|
|
|
99
98
|
import FSDateTimeField from "@dative-gpi/foundation-shared-components/components/fields/FSDateTimeField.vue";
|
|
100
99
|
import FSNumberField from "@dative-gpi/foundation-shared-components/components/fields/FSNumberField.vue";
|
|
@@ -27,14 +27,13 @@
|
|
|
27
27
|
</template>
|
|
28
28
|
|
|
29
29
|
<script lang="ts">
|
|
30
|
-
import type
|
|
31
|
-
import { defineComponent } from 'vue';
|
|
30
|
+
import { defineComponent, type PropType } from "vue";
|
|
32
31
|
|
|
33
|
-
import type
|
|
32
|
+
import { type CustomPropertyInfos } from "@dative-gpi/foundation-core-domain/models";
|
|
34
33
|
|
|
35
|
-
import FSText from
|
|
34
|
+
import FSText from "@dative-gpi/foundation-shared-components/components/FSText.vue";
|
|
36
35
|
|
|
37
|
-
import FSMetaField from
|
|
36
|
+
import FSMetaField from "./FSMetaField.vue";
|
|
38
37
|
|
|
39
38
|
export default defineComponent({
|
|
40
39
|
name: "FSMetaFormContent",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
<script lang="ts">
|
|
41
41
|
import { computed, defineComponent, type PropType } from "vue";
|
|
42
42
|
|
|
43
|
-
import type
|
|
43
|
+
import { type FSGridItem } from "@dative-gpi/foundation-shared-components/models";
|
|
44
44
|
|
|
45
|
-
import type
|
|
45
|
+
import { type CustomPropertyInfos } from "../../../foundation-core-domain/models";
|
|
46
46
|
|
|
47
47
|
import FSGrid from "@dative-gpi/foundation-shared-components/components/FSGrid.vue";
|
|
48
48
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FSButton
|
|
3
3
|
prependIcon="mdi-history"
|
|
4
|
-
label="history"
|
|
4
|
+
:label="$tr('entity.custom-property.history', 'History')"
|
|
5
5
|
@click="dialog = !dialog"
|
|
6
6
|
/>
|
|
7
7
|
<FSDialog
|
|
8
|
-
title="History"
|
|
9
8
|
width="500px"
|
|
9
|
+
:label="$tr('entity.custom-property.history', 'History')"
|
|
10
10
|
v-model="dialog"
|
|
11
11
|
>
|
|
12
12
|
<template
|
|
@@ -17,14 +17,16 @@
|
|
|
17
17
|
v-for="(customPropertyValue, index) in customPropertyValues"
|
|
18
18
|
:key="index"
|
|
19
19
|
>
|
|
20
|
-
<FSText>
|
|
20
|
+
<FSText>
|
|
21
|
+
{{ epochToLongTimeFormat(customPropertyValue.timestamp) }}
|
|
22
|
+
</FSText>
|
|
21
23
|
<FSCol
|
|
22
24
|
padding="0 8px 0 0"
|
|
23
25
|
align="center-right"
|
|
24
26
|
>
|
|
25
27
|
<FSMetaValue
|
|
26
|
-
:customProperty="$props.customProperty"
|
|
27
28
|
:meta="{ code: customPropertyValue.value }"
|
|
29
|
+
:customProperty="$props.customProperty"
|
|
28
30
|
/>
|
|
29
31
|
</FSCol>
|
|
30
32
|
</FSRow>
|
|
@@ -33,22 +35,21 @@
|
|
|
33
35
|
</FSDialog>
|
|
34
36
|
</template>
|
|
35
37
|
<script lang="ts">
|
|
36
|
-
import type
|
|
37
|
-
import
|
|
38
|
-
import _ from 'lodash';
|
|
38
|
+
import { defineComponent, type PropType, ref, watch } from "vue";
|
|
39
|
+
import _ from "lodash";
|
|
39
40
|
|
|
40
|
-
import { useAppTimeZone } from
|
|
41
|
+
import { useAppTimeZone } from "@dative-gpi/foundation-shared-services/composables";
|
|
41
42
|
|
|
42
|
-
import
|
|
43
|
-
import
|
|
43
|
+
import { type CustomPropertyInfos, type PropertyEntity } from "../../../foundation-core-domain/models";
|
|
44
|
+
import { useCustomPropertyValues } from "../../../foundation-core-services/composables";
|
|
44
45
|
|
|
45
|
-
import
|
|
46
|
-
import
|
|
46
|
+
import FSButton from "@dative-gpi/foundation-shared-components/components/FSButton.vue";
|
|
47
|
+
import FSDialog from "@dative-gpi/foundation-shared-components/components/FSDialog.vue";
|
|
47
48
|
|
|
48
|
-
import FSMetaValue from
|
|
49
|
+
import FSMetaValue from "./FSMetaValue.vue";
|
|
49
50
|
|
|
50
51
|
export default defineComponent({
|
|
51
|
-
name:
|
|
52
|
+
name: "FSMetaHistory",
|
|
52
53
|
components: {
|
|
53
54
|
FSMetaValue,
|
|
54
55
|
FSButton,
|
|
@@ -28,13 +28,11 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
|
|
30
30
|
<script lang="ts">
|
|
31
|
-
import type
|
|
32
|
-
import { computed, defineComponent } from "vue";
|
|
31
|
+
import { computed, defineComponent, type PropType } from "vue";
|
|
33
32
|
|
|
34
33
|
import { useAppTimeZone } from "@dative-gpi/foundation-shared-services/composables";
|
|
35
34
|
|
|
36
|
-
import type
|
|
37
|
-
import { PropertyDataType } from "../../../foundation-core-domain/models";
|
|
35
|
+
import { type CustomPropertyInfos, PropertyDataType } from "../../../foundation-core-domain/models";
|
|
38
36
|
import { getColor } from "./helpers";
|
|
39
37
|
|
|
40
38
|
import FSIconCheck from "@dative-gpi/foundation-shared-components/components/FSIconCheck.vue";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.16",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-core-domain": "1.0.
|
|
14
|
-
"@dative-gpi/foundation-core-services": "1.0.
|
|
15
|
-
"@dative-gpi/foundation-shared-components": "1.0.
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "1.0.
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "1.0.
|
|
13
|
+
"@dative-gpi/foundation-core-domain": "1.0.16",
|
|
14
|
+
"@dative-gpi/foundation-core-services": "1.0.16",
|
|
15
|
+
"@dative-gpi/foundation-shared-components": "1.0.16",
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "1.0.16",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "1.0.16"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@dative-gpi/bones-ui": "^0.0.75",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"sass": "1.71.1",
|
|
27
27
|
"sass-loader": "13.3.2"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "ed54fe2f03db8e7af8bbf5fcc585a2b4cd52f52e"
|
|
30
30
|
}
|