@dative-gpi/foundation-core-components 1.1.14 → 1.1.15

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.
@@ -90,7 +90,7 @@
90
90
  <FSSpan
91
91
  font="text-overline"
92
92
  >
93
- {{ epochToShortTimeFormat(item.lastActivity) }}
93
+ {{ epochToLongTimeFormat(item.lastActivity) }}
94
94
  </FSSpan>
95
95
  </template>
96
96
  <template
@@ -113,10 +113,11 @@ import { defineComponent, type PropType, watch } from "vue";
113
113
  import { type RouteLocation } from "vue-router";
114
114
  import _ from "lodash";
115
115
 
116
+ import { useDateFormat } from "@dative-gpi/foundation-shared-services/composables";
117
+
116
118
  import type { UserOrganisationFilters, UserOrganisationInfos } from "@dative-gpi/foundation-core-domain/models";
117
119
  import { userTypeLabel, userValidityLabel } from "@dative-gpi/foundation-core-components/utils";
118
120
  import { useUserOrganisations } from "@dative-gpi/foundation-core-services/composables";
119
- import { useDateFormat } from "@dative-gpi/foundation-shared-services/composables";
120
121
 
121
122
  import FSDataTable from "../FSDataTable.vue";
122
123
 
@@ -166,7 +167,7 @@ export default defineComponent({
166
167
  emits: ["update:modelValue"],
167
168
  setup(props) {
168
169
  const { getMany: fetchUserOrganisations, entities: userOrganisations, fetching: fetchingUserOrganisations } = useUserOrganisations();
169
- const { epochToShortTimeFormat } = useDateFormat();
170
+ const { epochToLongTimeFormat } = useDateFormat();
170
171
 
171
172
  const isSelected = (id: string): boolean => {
172
173
  return props.modelValue.includes(id);
@@ -181,10 +182,10 @@ export default defineComponent({
181
182
  return {
182
183
  fetchingUserOrganisations,
183
184
  userOrganisations,
184
- epochToShortTimeFormat,
185
185
  userValidityLabel,
186
186
  userTypeLabel,
187
- isSelected
187
+ isSelected,
188
+ epochToLongTimeFormat,
188
189
  };
189
190
  }
190
191
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://github.com/Dative-GPI/foundation-shared-ui.git"
5
5
  },
6
6
  "sideEffects": false,
7
- "version": "1.1.14",
7
+ "version": "1.1.15",
8
8
  "description": "",
9
9
  "publishConfig": {
10
10
  "access": "public"
@@ -13,11 +13,11 @@
13
13
  "author": "",
14
14
  "license": "ISC",
15
15
  "dependencies": {
16
- "@dative-gpi/foundation-core-domain": "1.1.14",
17
- "@dative-gpi/foundation-core-services": "1.1.14",
18
- "@dative-gpi/foundation-shared-components": "1.1.14",
19
- "@dative-gpi/foundation-shared-domain": "1.1.14",
20
- "@dative-gpi/foundation-shared-services": "1.1.14"
16
+ "@dative-gpi/foundation-core-domain": "1.1.15",
17
+ "@dative-gpi/foundation-core-services": "1.1.15",
18
+ "@dative-gpi/foundation-shared-components": "1.1.15",
19
+ "@dative-gpi/foundation-shared-domain": "1.1.15",
20
+ "@dative-gpi/foundation-shared-services": "1.1.15"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -29,5 +29,5 @@
29
29
  "sass": "1.71.1",
30
30
  "sass-loader": "13.3.2"
31
31
  },
32
- "gitHead": "efb541c500519dde8bc68c2c5719595986701947"
32
+ "gitHead": "2ede680103cbec86d21636377bb03c9c300cb8c8"
33
33
  }
package/utils/users.ts CHANGED
@@ -29,4 +29,4 @@ export const userValidityLabel = (validity: UserValidityState): string => {
29
29
  case UserValidityState.AccountValidated: return $tr("ui.user-validity.account-validated", "Validated");
30
30
  default: return "";
31
31
  }
32
- }
32
+ }