fds-vue-core 8.14.0 → 8.14.1

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,5 +1,6 @@
1
1
  import { FdsAppVersionProps } from './types';
2
2
  declare const __VLS_export: import('vue').DefineComponent<FdsAppVersionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FdsAppVersionProps> & Readonly<{}>, {
3
+ name: string;
3
4
  dataTestid: string;
4
5
  to: string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric;
5
6
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes } from 'vue';
2
2
  import { RouteLocationRaw } from 'vue-router';
3
3
  export interface FdsAppVersionProps extends /* @vue-ignore */ HTMLAttributes {
4
- name: string;
4
+ name?: string;
5
5
  version: string;
6
6
  to?: RouteLocationRaw;
7
7
  dataTestid?: string;
@@ -20,8 +20,8 @@ var en_exports = /* @__PURE__ */ __exportAll({ default: () => en_default });
20
20
  var en_default = {
21
21
  "App.treeViewTest": "FDS Tree View Test",
22
22
  "common.plus": "+",
23
- "FdsAppVersion.name": "{name} •",
24
- "FdsAppVersion.version": "Version {version}",
23
+ "FdsAppVersion.name": "{name} • ",
24
+ "FdsAppVersion.version": "v{version}",
25
25
  "FdsBankId.cancel": "Cancel sign in",
26
26
  "FdsBankId.logoAlt": "BankID",
27
27
  "FdsBankId.otherDevice": "Use BankID on another device",
@@ -169,8 +169,8 @@ var sv_exports = /* @__PURE__ */ __exportAll({ default: () => sv_default });
169
169
  var sv_default = {
170
170
  "App.treeViewTest": "FDS Tree View Test",
171
171
  "common.plus": "+",
172
- "FdsAppVersion.name": "{name} •",
173
- "FdsAppVersion.version": "Version {version}",
172
+ "FdsAppVersion.name": "{name} • ",
173
+ "FdsAppVersion.version": "v{version}",
174
174
  "FdsBankId.cancel": "Avbryt inloggning",
175
175
  "FdsBankId.logoAlt": "BankID",
176
176
  "FdsBankId.otherDevice": "Använd BankID på annan enhet",
@@ -413,7 +413,7 @@ var FdsMeta_default = /* @__PURE__ */ (0, vue.defineComponent)({
413
413
  var FdsAppVersion_default = /* @__PURE__ */ (0, vue.defineComponent)({
414
414
  __name: "FdsAppVersion",
415
415
  props: {
416
- name: {},
416
+ name: { default: void 0 },
417
417
  version: {},
418
418
  to: { default: void 0 },
419
419
  dataTestid: { default: void 0 }
@@ -424,14 +424,14 @@ var FdsAppVersion_default = /* @__PURE__ */ (0, vue.defineComponent)({
424
424
  return (_ctx, _cache) => {
425
425
  const _component_router_link = (0, vue.resolveComponent)("router-link");
426
426
  return (0, vue.openBlock)(), (0, vue.createBlock)(FdsMeta_default, { "data-testid": props.dataTestid }, {
427
- default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("FdsAppVersion.name", { name: props.name })) + " ", 1), props.to ? ((0, vue.openBlock)(), (0, vue.createBlock)(_component_router_link, {
428
- key: 0,
427
+ default: (0, vue.withCtx)(() => [props.name ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("FdsAppVersion.name", { name: props.name })), 1)], 64)) : (0, vue.createCommentVNode)("", true), props.to ? ((0, vue.openBlock)(), (0, vue.createBlock)(_component_router_link, {
428
+ key: 1,
429
429
  to: props.to,
430
430
  class: "link"
431
431
  }, {
432
432
  default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("FdsAppVersion.version", { version: props.version })), 1)]),
433
433
  _: 1
434
- }, 8, ["to"])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("FdsAppVersion.version", { version: props.version })), 1)], 64))]),
434
+ }, 8, ["to"])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("FdsAppVersion.version", { version: props.version })), 1)], 64))]),
435
435
  _: 1
436
436
  }, 8, ["data-testid"]);
437
437
  };