@dative-gpi/foundation-core-components 1.0.122 → 1.0.124

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.
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.chart.label', 'Chart')"
3
+ :label="$props.label ?? $tr('ui.common.chart', 'Chart')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.dashboard.label', 'Dashboard')"
3
+ :label="$props.label ?? $tr('ui.common.dashboard', 'Dashboard')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.dashboard.label', 'Dashboard')"
3
+ :label="$props.label ?? $tr('ui.common.dashboard', 'Dashboard')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :items="dashboardOrganisations"
6
6
  :multiple="$props.multiple"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.data-category.label', 'Data category')"
3
+ :label="$props.label ?? $tr('ui.common.data-category', 'Data category')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.data-definition.label', 'Data')"
3
+ :label="$props.label ?? $tr('ui.common.data-definition', 'Data')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.group.label', 'Group')"
3
+ :label="$props.label ?? $tr('ui.common.group', 'Group')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.location.label', 'Location')"
3
+ :label="$props.label ?? $tr('ui.common.location', 'Location')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.manufacturer.label', 'Manufacturer')"
3
+ :label="$props.label ?? $tr('ui.common.manufacturer', 'Manufacturer')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.model.label', 'Model')"
3
+ :label="$props.label ?? $tr('ui.common.model', 'Model')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.organisation-type.label', 'Organisation type')"
3
+ :label="$props.label ?? $tr('ui.common.organisation-type', 'Organisation type')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.role.label', 'Role')"
3
+ :label="$props.label ?? $tr('ui.common.role', 'Role')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :multiple="$props.multiple"
6
6
  :placeholder="placeholder"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
- :label="$props.label ?? $tr('autocomplete.service-account-role.label', 'Service account role')"
3
+ :label="$props.label ?? $tr('ui.common.service-account-role', 'Service account role')"
4
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
5
  :items="serviceAccountRoleOrganisations"
6
6
  :multiple="$props.multiple"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
3
  itemTitle="name"
4
- :label="$props.label ?? $tr('autocomplete.user.label', 'User')"
4
+ :label="$props.label ?? $tr('ui.common.user', 'User')"
5
5
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
6
6
  :multiple="$props.multiple"
7
7
  :placeholder="placeholder"
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-history"
4
- :label="$tr('ui.custom-property.history', 'History')"
4
+ :label="$tr('ui.common.history', 'History')"
5
5
  @click="dialog = !dialog"
6
6
  />
7
7
  <FSDialog
8
8
  width="500px"
9
- :label="$tr('ui.custom-property.history', 'History')"
9
+ :label="$tr('ui.common.history', 'History')"
10
10
  v-model="dialog"
11
11
  >
12
12
  <template
@@ -128,7 +128,7 @@ export default defineComponent({
128
128
  if(props.showAssociation){
129
129
  return [{
130
130
  columnId: "association",
131
- text: $tr("ui.common.association", ""),
131
+ text: $tr("ui.common.association", "Association"),
132
132
  value: "association",
133
133
  sortable: false,
134
134
  filterable: false,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSTreeViewField
3
- :label="$props.label ?? $tr('tree-view.group.label', 'Group')"
3
+ :label="$props.label ?? $tr('ui.common.group', 'Group')"
4
4
  :multiple="$props.multiple"
5
5
  :loading="fetchingGroups"
6
6
  :items="groups"
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.122",
4
+ "version": "1.0.124",
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.122",
14
- "@dative-gpi/foundation-core-services": "1.0.122",
15
- "@dative-gpi/foundation-shared-components": "1.0.122",
16
- "@dative-gpi/foundation-shared-domain": "1.0.122",
17
- "@dative-gpi/foundation-shared-services": "1.0.122"
13
+ "@dative-gpi/foundation-core-domain": "1.0.124",
14
+ "@dative-gpi/foundation-core-services": "1.0.124",
15
+ "@dative-gpi/foundation-shared-components": "1.0.124",
16
+ "@dative-gpi/foundation-shared-domain": "1.0.124",
17
+ "@dative-gpi/foundation-shared-services": "1.0.124"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -26,5 +26,5 @@
26
26
  "sass": "1.71.1",
27
27
  "sass-loader": "13.3.2"
28
28
  },
29
- "gitHead": "f560913fe361a3fbce48afbd4f06a85917bb39c7"
29
+ "gitHead": "dbe55d5165ef715e8debfa3e459c0d76da412f2d"
30
30
  }
@@ -7,10 +7,10 @@ const { $tr } = useTranslationsProvider();
7
7
 
8
8
  export const dashboardTypeLabel = (type: DashboardType): string => {
9
9
  switch (type) {
10
- case DashboardType.None: return $tr("ui.dashboard-type.none", "None");
10
+ case DashboardType.None: return $tr("ui.common.none", "None");
11
11
  case DashboardType.Organisation:
12
- case DashboardType.Shallow: return $tr("ui.dashboard-type.organisation", "Custom");
13
- case DashboardType.OrganisationType: return $tr("ui.dashboard-type.organisation-type", "Shared");
12
+ case DashboardType.Shallow: return $tr("ui.common.custom", "Custom");
13
+ case DashboardType.OrganisationType: return $tr("ui.common.shared", "Shared");
14
14
  }
15
15
  };
16
16
 
package/utils/roles.ts CHANGED
@@ -6,9 +6,9 @@ const { $tr } = useTranslationsProvider();
6
6
 
7
7
  export const roleTypeLabel = (type: RoleType): string => {
8
8
  switch (type) {
9
- case RoleType.None: return $tr("ui.role-type.none", "None");
10
- case RoleType.Organisation: return $tr("ui.role-type.organisation", "Custom");
11
- case RoleType.OrganisationType: return $tr("ui.role-type.organisation-type", "Shared");
9
+ case RoleType.None: return $tr("ui.common.none", "None");
10
+ case RoleType.Organisation: return $tr("ui.common.custom", "Custom");
11
+ case RoleType.OrganisationType: return $tr("ui.common.shared", "Shared");
12
12
  }
13
13
  };
14
14
 
package/utils/users.ts CHANGED
@@ -5,9 +5,9 @@ const { $tr } = useTranslationsProvider();
5
5
 
6
6
  export const userTypeLabel = (type: UserType): string => {
7
7
  switch (type) {
8
- case UserType.User: return $tr("ui.user-type.user", "User");
9
- case UserType.ServiceAccount: return $tr("ui.user-type.service-account", "Service account");
10
- case UserType.Extension: return $tr("ui.user-type.extension", "Extension");
8
+ case UserType.User: return $tr("ui.common.user", "User");
9
+ case UserType.ServiceAccount: return $tr("ui.common.service-account", "Service account");
10
+ case UserType.Extension: return $tr("ui.common.extension", "Extension");
11
11
  default: return "";
12
12
  }
13
13
  };