@dative-gpi/foundation-core-components 1.0.15 → 1.0.17

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.
@@ -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 { CustomPropertyInfos} from "../../../foundation-core-domain/models";
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 { PropType } from 'vue';
31
- import { defineComponent } from 'vue';
30
+ import { defineComponent, type PropType } from "vue";
32
31
 
33
- import type { CustomPropertyInfos } from '@dative-gpi/foundation-core-domain/models';
32
+ import { type CustomPropertyInfos } from "@dative-gpi/foundation-core-domain/models";
34
33
 
35
- import FSText from '@dative-gpi/foundation-shared-components/components/FSText.vue';
34
+ import FSText from "@dative-gpi/foundation-shared-components/components/FSText.vue";
36
35
 
37
- import FSMetaField from './FSMetaField.vue';
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 { FSGridItem } from "@dative-gpi/foundation-shared-components/models";
43
+ import { type FSGridItem } from "@dative-gpi/foundation-shared-components/models";
44
44
 
45
- import type { CustomPropertyInfos } from "../../../foundation-core-domain/models";
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>{{ epochToLongTimeFormat(customPropertyValue.timestamp) }}</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 { PropType} from 'vue';
37
- import { defineComponent, ref, watch } from 'vue';
38
- import _ from 'lodash';
38
+ import { defineComponent, type PropType, ref, watch } from "vue";
39
+ import _ from "lodash";
39
40
 
40
- import { useAppTimeZone } from '@dative-gpi/foundation-shared-services/composables';
41
+ import { useAppTimeZone } from "@dative-gpi/foundation-shared-services/composables";
41
42
 
42
- import FSDialog from "@dative-gpi/foundation-shared-components/components/FSDialog.vue";
43
- import FSButton from "@dative-gpi/foundation-shared-components/components/FSButton.vue";
43
+ import { type CustomPropertyInfos, type PropertyEntity } from "../../../foundation-core-domain/models";
44
+ import { useCustomPropertyValues } from "../../../foundation-core-services/composables";
44
45
 
45
- import type { CustomPropertyInfos, PropertyEntity } from '../../../foundation-core-domain/models';
46
- import { useCustomPropertyValues } from '../../../foundation-core-services/composables';
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 './FSMetaValue.vue';
49
+ import FSMetaValue from "./FSMetaValue.vue";
49
50
 
50
51
  export default defineComponent({
51
- name: 'FSMetaHistory',
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 { PropType} from "vue";
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 { CustomPropertyInfos} from "../../../foundation-core-domain/models";
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.15",
4
+ "version": "1.0.17",
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.15",
14
- "@dative-gpi/foundation-core-services": "1.0.15",
15
- "@dative-gpi/foundation-shared-components": "1.0.15",
16
- "@dative-gpi/foundation-shared-domain": "1.0.15",
17
- "@dative-gpi/foundation-shared-services": "1.0.15"
13
+ "@dative-gpi/foundation-core-domain": "1.0.17",
14
+ "@dative-gpi/foundation-core-services": "1.0.17",
15
+ "@dative-gpi/foundation-shared-components": "1.0.17",
16
+ "@dative-gpi/foundation-shared-domain": "1.0.17",
17
+ "@dative-gpi/foundation-shared-services": "1.0.17"
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": "0d954dc13c1fbf94cbaae8c75b8f10b474baa9e4"
29
+ "gitHead": "83f8eb02faf9ad8eb20422e4f02a5da6ec46e2d2"
30
30
  }