@agendize/vue-tools 1.0.1 → 1.0.3

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.
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { ref, onMounted, onUnmounted, readonly, h as h$1, getCurrentInstance, effectScope, inject, shallowRef, computed, onBeforeMount, watch, Fragment, isRef, createVNode, Text, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString as toDisplayString$1, normalizeStyle, unref } from "vue";
7
+ import { ref, onMounted, onUnmounted, readonly, h as h$1, getCurrentInstance, effectScope, inject, shallowRef, computed, onBeforeMount, watch, Fragment, isRef, createVNode, Text, defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString as toDisplayString$1, normalizeStyle, unref, createCommentVNode } from "vue";
8
8
  function useBlocState(bloc) {
9
9
  const state = ref(bloc.state);
10
10
  const stateSubscription = (newState) => {
@@ -5842,7 +5842,7 @@ const e = {
5842
5842
  field: {
5843
5843
  "mandatory-not-filled": "Mandatory field(s) not filled in"
5844
5844
  }
5845
- }, t = {
5845
+ }, a = {
5846
5846
  appointment: {
5847
5847
  new: "New",
5848
5848
  "new-aria-label": "Add a new element",
@@ -6004,7 +6004,7 @@ Would you like to continue this action?`,
6004
6004
  title: "Others agendas",
6005
6005
  add: "Add agenda"
6006
6006
  }
6007
- }, a = {
6007
+ }, t = {
6008
6008
  submit: "Submit form"
6009
6009
  }, o = {
6010
6010
  title: "Queue",
@@ -6058,8 +6058,8 @@ Would you like to continue this action?`,
6058
6058
  }
6059
6059
  }, n = {
6060
6060
  common: e,
6061
- agenda: t,
6062
- form: a,
6061
+ agenda: a,
6062
+ form: t,
6063
6063
  queue: o,
6064
6064
  settings: r
6065
6065
  }, i = {
@@ -7512,7 +7512,48 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
7512
7512
  description: "Vous pouvez modifier votre mot de passe"
7513
7513
  },
7514
7514
  "change-success": "Votre profile a bien \xE9t\xE9 modifi\xE9",
7515
- "change-error": "Votre profile n'a p\xFB \xEAtre modifi\xE9"
7515
+ "change-error": "Votre profile n'a p\xFB \xEAtre modifi\xE9",
7516
+ default_account: "Organisation par d\xE9faut",
7517
+ language: {
7518
+ title: "Langue et r\xE9gion",
7519
+ description: "G\xE9rez la langue et la timezone utilis\xE9e pour personnaliser votre exp\xE9rience Agendize.",
7520
+ label: "Langue"
7521
+ },
7522
+ timezone: "Zone horaire"
7523
+ },
7524
+ calendar: {
7525
+ title: "Param\xE9trage",
7526
+ subTitle: "Param\xE9trez et personnalisez l\u2019interface de votre calendrier.",
7527
+ back: "@:common.action.back",
7528
+ save: "@:common.action.save",
7529
+ displaySettings: {
7530
+ title: "Options d\u2019affichage",
7531
+ subTitle: "Les options d\u2019affichage vous permettent de personnaliser votre calendrier en fonction de vos besoins et de votre activit\xE9.",
7532
+ days: {
7533
+ label: "Jours de la semaine",
7534
+ helper: "Vous pouvez s\xE9lectionner les jours de la semaine \xE0 afficher dans votre calendrier."
7535
+ },
7536
+ limit: {
7537
+ min: "Borne de d\xE9but",
7538
+ max: "Borne de fin",
7539
+ helper: "Le calendrier affichera uniquement les rendez-vous entre ces deux bornes."
7540
+ },
7541
+ color: {
7542
+ label: "Couleur du cr\xE9neau",
7543
+ helper: "Ce param\xE8tre sera appliqu\xE9 uniquement lorsque le calendrier d\u2019un seul collaborateur sera affich\xE9.",
7544
+ values: {
7545
+ staff: "Couleur du collaborateur",
7546
+ service: "Couleur du service",
7547
+ "service-group": "Couleur du groupe de service"
7548
+ }
7549
+ }
7550
+ },
7551
+ action: {
7552
+ save: {
7553
+ success: "Le param\xE8trage a bien \xE9t\xE9 enregistr\xE9",
7554
+ error: "Echec lors de l'enregistrement du param\xE8trage"
7555
+ }
7556
+ }
7516
7557
  },
7517
7558
  "company-details": {
7518
7559
  title: "Informations g\xE9n\xE9rales",
@@ -8332,7 +8373,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8332
8373
  dotsColor: null,
8333
8374
  value: null,
8334
8375
  outlineValue: null,
8335
- locale: null
8376
+ locale: null,
8377
+ download: { type: Boolean, default: true }
8336
8378
  },
8337
8379
  setup(__props) {
8338
8380
  var _a, _b, _c, _d;
@@ -8397,15 +8439,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8397
8439
  ], 4),
8398
8440
  createElementVNode("div", _hoisted_5, toDisplayString$1(__props.outlineValue), 1)
8399
8441
  ]),
8400
- createElementVNode("button", {
8442
+ __props.download ? (openBlock(), createElementBlock("button", {
8443
+ key: 0,
8401
8444
  class: "az-btn az-btn-color-neutral az-font-roboto az-font-medium az-btn-size-stretch",
8402
8445
  onClick: downloadQrCode
8403
- }, toDisplayString$1(unref(i18n$1).global.t("common.action.download")), 1)
8446
+ }, toDisplayString$1(unref(i18n$1).global.t("common.action.download")), 1)) : createCommentVNode("", true)
8404
8447
  ]);
8405
8448
  };
8406
8449
  }
8407
8450
  });
8408
- var View = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f5dabb8e"]]);
8451
+ var View = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1ef76a60"]]);
8409
8452
  class Bloc {
8410
8453
  constructor(initialState) {
8411
8454
  __publicField(this, "internalState");