@simsustech/quasar-components 0.11.9 → 0.11.11

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/LocaleSelect.vue_vue_type_script_setup_true_lang-Du4fNbTV.js +573 -0
  3. package/dist/authentication.js +218 -106
  4. package/dist/form.js +164 -305
  5. package/dist/general.js +51 -95
  6. package/dist/md3.js +435 -0
  7. package/dist/{nl-BTgHOvpQ.js → nl-BJwNz421.js} +70 -0
  8. package/dist/{nl-jHKPHlmh.js → nl-CneFq5NZ.js} +4 -0
  9. package/dist/nl-NLgZUAKl.js +6 -0
  10. package/dist/types/ui/authentication/AccountsTable.vue.d.ts +5 -0
  11. package/dist/types/ui/authentication/ConsentList.vue.d.ts +3 -0
  12. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +2 -2
  13. package/dist/types/ui/authentication/LoginButton.vue.d.ts +1 -1
  14. package/dist/types/ui/authentication/LoginForm.vue.d.ts +6 -2
  15. package/dist/types/ui/authentication/LogoutButton.vue.d.ts +12 -0
  16. package/dist/types/ui/authentication/LogoutForm.vue.d.ts +18 -0
  17. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +10 -2
  18. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +10 -2
  19. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +2 -2
  20. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +4 -1
  21. package/dist/types/ui/authentication/index.d.ts +2 -0
  22. package/dist/types/ui/authentication/lang/index.d.ts +12 -0
  23. package/dist/types/ui/form/DateInput.vue.d.ts +19 -1
  24. package/dist/types/ui/form/FormInput.vue.d.ts +2 -15
  25. package/dist/types/ui/form/FormItem.vue.d.ts +2 -19
  26. package/dist/types/ui/form/LocaleSelect.vue.d.ts +6 -4
  27. package/dist/types/ui/form/lang/index.d.ts +1131 -0
  28. package/dist/types/ui/general/QDrawerList.vue.d.ts +2 -7
  29. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +7 -4
  30. package/dist/types/ui/general/QStyledCard.vue.d.ts +9 -5
  31. package/dist/types/ui/general/QStyledLayout.vue.d.ts +1 -1
  32. package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
  33. package/dist/types/ui/general/ResourcePage.vue.d.ts +17 -5
  34. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +9 -4
  35. package/dist/types/ui/md3/Md3Layout.vue.d.ts +31 -0
  36. package/dist/types/ui/md3/NavigationRailFabs.vue.d.ts +14 -0
  37. package/dist/types/ui/md3/index.d.ts +3 -0
  38. package/dist/types/ui/md3/lang/en-US.d.ts +3 -0
  39. package/dist/types/ui/md3/lang/index.d.ts +12 -0
  40. package/dist/types/ui/md3/lang/nl.d.ts +3 -0
  41. package/package.json +21 -14
  42. package/src/ui/authentication/AccountsTable.vue +18 -9
  43. package/src/ui/authentication/ConsentList.vue +13 -18
  44. package/src/ui/authentication/LoginForm.vue +12 -3
  45. package/src/ui/authentication/LogoutButton.vue +31 -0
  46. package/src/ui/authentication/LogoutForm.vue +49 -0
  47. package/src/ui/authentication/PasswordChangeForm.vue +11 -3
  48. package/src/ui/authentication/RegisterForm.vue +11 -3
  49. package/src/ui/authentication/UserMenuButton.vue +9 -3
  50. package/src/ui/authentication/index.ts +2 -0
  51. package/src/ui/authentication/lang/en-US.ts +4 -0
  52. package/src/ui/authentication/lang/index.ts +4 -0
  53. package/src/ui/authentication/lang/nl.ts +4 -0
  54. package/src/ui/form/DateInput.vue +53 -26
  55. package/src/ui/form/LocaleSelect.vue +29 -43
  56. package/src/ui/form/lang/en-US.ts +377 -0
  57. package/src/ui/form/lang/index.ts +377 -0
  58. package/src/ui/form/lang/nl.ts +377 -0
  59. package/src/ui/general/QLanguageSelect.vue +30 -105
  60. package/src/ui/general/QLanguageSelectBtn.vue.bak +99 -0
  61. package/src/ui/general/QStyledCard.vue +2 -2
  62. package/src/ui/general/ResourcePage.vue +13 -5
  63. package/src/ui/general/ResponsiveDialog.vue +23 -6
  64. package/src/ui/general/index.ts +1 -0
  65. package/src/ui/md3/Md3Layout.vue +139 -0
  66. package/src/ui/md3/NavigationRailFabs.vue +68 -0
  67. package/src/ui/md3/index.ts +3 -0
  68. package/src/ui/md3/lang/en-US.ts +7 -0
  69. package/src/ui/md3/lang/index.ts +41 -0
  70. package/src/ui/md3/lang/nl.ts +7 -0
  71. package/vite.config.ts +4 -73
  72. package/dist/flags.js +0 -255
  73. package/dist/icons.js +0 -25
  74. package/dist/index-DnmJt2wP.js +0 -7921
  75. package/dist/nl-BL9hHEHL.js +0 -76
package/dist/form.js CHANGED
@@ -1,109 +1,8 @@
1
- import { ref, defineComponent, useAttrs, withAsyncContext, watch, createBlock, openBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, toRefs, computed, useSlots, createCommentVNode, renderSlot, createSlots, renderList, resolveDirective, createElementVNode, withDirectives, createElementBlock, Fragment, resolveDynamicComponent } from "vue";
1
+ import { defineComponent, useAttrs, withAsyncContext, watch, ref, createBlock, openBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, toRefs, computed, useSlots, createCommentVNode, renderSlot, createSlots, renderList, resolveDirective, createElementVNode, withDirectives, createElementBlock, Fragment, resolveDynamicComponent } from "vue";
2
2
  import { useQuasar, QSelect, QItem, QItemSection, QItemLabel, QInput, QField, QIcon, QTooltip, QPopupProxy, QDate, QBtn, QEditor } from "quasar";
3
- import { u as useLang$1, f as flags } from "./index-DnmJt2wP.js";
4
- const lang$1 = {
5
- isoName: "en-US",
6
- yes: "Yes",
7
- no: "No",
8
- selectMultiple: "Select one or multiple",
9
- noResultsAvailable: "No results available.",
10
- buttons: {
11
- close: "Close"
12
- },
13
- email: {
14
- subject: "Subject"
15
- },
16
- fields: {
17
- name: "Name",
18
- firstName: "First name",
19
- lastName: "Last name",
20
- address: "Address",
21
- postalCode: "Postal code",
22
- city: "City",
23
- telephoneNumber: "Telephone number"
24
- },
25
- validations: {
26
- fieldRequired: "Field is required."
27
- },
28
- gender: {
29
- gender: "Gender",
30
- male: "Male",
31
- female: "Female",
32
- other: "Other"
33
- },
34
- postalCode: {
35
- postalCode: "Postal code",
36
- validations: {
37
- invalidPostalCode: "Invalid postal code"
38
- }
39
- },
40
- datePicker: {
41
- date: "Date",
42
- placeholder: "YYYY/MM/DD",
43
- YYYY: "YYYY",
44
- MM: "MM",
45
- DD: "DD",
46
- validations: {
47
- unavailableRange: "The selected period contains unavailable dates."
48
- }
49
- },
50
- currency: {
51
- currency: "Currency",
52
- EUR: "Euro",
53
- USD: "USD"
54
- },
55
- locale: {
56
- locale: "Locale"
57
- },
58
- cron: {
59
- name: "Repeat",
60
- minute: "Minute",
61
- hour: "Hour",
62
- dayOfMonth: "Day of month",
63
- month: "Month",
64
- dayOfWeek: "Day of week",
65
- every: {
66
- minute: "Every minute",
67
- hour: "Every hour",
68
- dayOfMonth: "Every day",
69
- month: "Every month",
70
- dayOfWeek: "Every day of the week"
71
- },
72
- validations: {
73
- invalidCron: "Cron rule is invalid."
74
- }
75
- }
76
- };
77
- const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
78
- __proto__: null,
79
- default: lang$1
80
- }, Symbol.toStringTag, { value: "Module" }));
81
- const lang = ref(lang$1);
82
- const locales = /* @__PURE__ */ Object.assign({
83
- "./en-US.ts": () => Promise.resolve().then(() => enUS),
84
- "./nl.ts": () => import("./nl-BL9hHEHL.js")
85
- });
86
- const useLang = () => {
87
- return lang;
88
- };
89
- let loadingLanguage = false;
90
- const loadLang = async (isoName) => {
91
- if (!loadingLanguage) {
92
- loadingLanguage = true;
93
- try {
94
- const data = (await locales[`./${isoName}.ts`]()).default;
95
- if (data) {
96
- lang.value = data;
97
- }
98
- } catch (e) {
99
- throw new Error(
100
- `[quasar-components] Failed to load ${isoName} language file.`
101
- );
102
- }
103
- loadingLanguage = false;
104
- }
105
- };
106
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
3
+ import { u as useLang, l as loadLang } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-Du4fNbTV.js";
4
+ import { _ } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-Du4fNbTV.js";
5
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
107
6
  __name: "GenderSelect",
108
7
  props: {
109
8
  modelValue: {},
@@ -115,39 +14,39 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
115
14
  let __temp, __restore;
116
15
  const props = __props;
117
16
  const attrs = useAttrs();
118
- const lang2 = useLang();
17
+ const lang = useLang();
119
18
  const $q = useQuasar();
120
- if (lang2.value.isoName !== $q.lang.isoName) [__temp, __restore] = withAsyncContext(() => loadLang($q.lang.isoName)), await __temp, __restore();
19
+ if (lang.value.isoName !== $q.lang.isoName) [__temp, __restore] = withAsyncContext(() => loadLang($q.lang.isoName)), await __temp, __restore();
121
20
  watch($q.lang, () => {
122
21
  loadLang($q.lang.isoName);
123
22
  });
124
23
  const genderOptions = ref([
125
24
  {
126
- label: lang2.value.gender.male,
25
+ label: lang.value.gender.male,
127
26
  value: "male"
128
27
  },
129
28
  {
130
- label: lang2.value.gender.female,
29
+ label: lang.value.gender.female,
131
30
  value: "female"
132
31
  }
133
32
  ]);
134
33
  if (!props.disableOther) {
135
34
  genderOptions.value.push({
136
- label: lang2.value.gender.other,
35
+ label: lang.value.gender.other,
137
36
  value: "other"
138
37
  });
139
38
  }
140
39
  const validations = ref([]);
141
40
  if (props.required)
142
41
  validations.value.push(
143
- (val) => !!val || lang2.value.validations.fieldRequired
42
+ (val) => !!val || lang.value.validations.fieldRequired
144
43
  );
145
44
  return (_ctx, _cache) => {
146
45
  return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
147
46
  rules: validations.value,
148
47
  "model-value": _ctx.modelValue,
149
48
  options: genderOptions.value,
150
- label: `${unref(lang2).gender.gender}${_ctx.required ? "*" : ""}`,
49
+ label: `${unref(lang).gender.gender}${_ctx.required ? "*" : ""}`,
151
50
  "emit-value": "",
152
51
  "map-options": "",
153
52
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
@@ -155,16 +54,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
155
54
  };
156
55
  }
157
56
  });
158
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
57
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
159
58
  __name: "GenderItem",
160
59
  props: {
161
60
  modelValue: {}
162
61
  },
163
62
  setup(__props) {
164
63
  const attrs = useAttrs();
165
- const lang2 = useLang();
64
+ const lang = useLang();
166
65
  const $q = useQuasar();
167
- if (lang2.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
66
+ if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
168
67
  watch($q.lang, () => {
169
68
  loadLang($q.lang.isoName);
170
69
  });
@@ -175,13 +74,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
175
74
  default: withCtx(() => [
176
75
  createVNode(unref(QItemLabel), { overline: "" }, {
177
76
  default: withCtx(() => [
178
- createTextVNode(toDisplayString(unref(lang2).gender.gender), 1)
77
+ createTextVNode(toDisplayString(unref(lang).gender.gender), 1)
179
78
  ]),
180
79
  _: 1
181
80
  }),
182
81
  createVNode(unref(QItemLabel), null, {
183
82
  default: withCtx(() => [
184
- createTextVNode(toDisplayString(_ctx.modelValue ? unref(lang2).gender[_ctx.modelValue] : ""), 1)
83
+ createTextVNode(toDisplayString(_ctx.modelValue ? unref(lang).gender[_ctx.modelValue] : ""), 1)
185
84
  ]),
186
85
  _: 1
187
86
  })
@@ -194,7 +93,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
194
93
  };
195
94
  }
196
95
  });
197
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
96
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
198
97
  __name: "PostalCodeInput",
199
98
  props: {
200
99
  modelValue: {},
@@ -204,7 +103,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
204
103
  emits: ["update:modelValue"],
205
104
  setup(__props) {
206
105
  const props = __props;
207
- const lang2 = useLang();
106
+ const lang = useLang();
208
107
  const attrs = useAttrs();
209
108
  const { country } = toRefs(props);
210
109
  const masks = ref({
@@ -213,7 +112,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
213
112
  const validations = ref({
214
113
  NL: [
215
114
  (val) => !val || // Do not check an empty string
216
- /^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(val) || lang2.value.postalCode.validations.invalidPostalCode
115
+ /^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(val) || lang.value.postalCode.validations.invalidPostalCode
217
116
  ]
218
117
  });
219
118
  const computedMask = computed(() => {
@@ -226,7 +125,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
226
125
  if (country.value && validations.value[country.value])
227
126
  val.push(...validations.value[country.value]);
228
127
  if (props.required)
229
- val.push((val2) => !!val2 || lang2.value.validations.fieldRequired);
128
+ val.push((val2) => !!val2 || lang.value.validations.fieldRequired);
230
129
  return val;
231
130
  });
232
131
  return (_ctx, _cache) => {
@@ -234,13 +133,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
234
133
  mask: computedMask.value,
235
134
  rules: computedValidations.value,
236
135
  "model-value": _ctx.modelValue,
237
- label: `${unref(lang2).postalCode.postalCode}${_ctx.required ? "*" : ""}`,
136
+ label: `${unref(lang).postalCode.postalCode}${_ctx.required ? "*" : ""}`,
238
137
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
239
138
  }), null, 16, ["mask", "rules", "model-value", "label"]);
240
139
  };
241
140
  }
242
141
  });
243
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
142
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
244
143
  __name: "FormItem",
245
144
  props: {
246
145
  modelValue: {},
@@ -250,9 +149,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
250
149
  setup(__props) {
251
150
  const attrs = useAttrs();
252
151
  const slots = useSlots();
253
- const lang2 = useLang();
152
+ const lang = useLang();
254
153
  const $q = useQuasar();
255
- if (lang2.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
154
+ if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
256
155
  watch($q.lang, () => {
257
156
  loadLang($q.lang.isoName);
258
157
  });
@@ -272,7 +171,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
272
171
  default: withCtx(() => [
273
172
  createVNode(unref(QItemLabel), { overline: "" }, {
274
173
  default: withCtx(() => [
275
- createTextVNode(toDisplayString(_ctx.label ? _ctx.label : _ctx.field ? unref(lang2).fields[_ctx.field] : ""), 1)
174
+ createTextVNode(toDisplayString(_ctx.label ? _ctx.label : _ctx.field ? unref(lang).fields[_ctx.field] : ""), 1)
276
175
  ]),
277
176
  _: 1
278
177
  }),
@@ -300,7 +199,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
300
199
  };
301
200
  }
302
201
  });
303
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
202
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
304
203
  __name: "FormInput",
305
204
  props: {
306
205
  modelValue: {},
@@ -311,25 +210,25 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
311
210
  setup(__props) {
312
211
  const props = __props;
313
212
  const attrs = useAttrs();
314
- const lang2 = useLang();
213
+ const lang = useLang();
315
214
  const $q = useQuasar();
316
- if (lang2.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
215
+ if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
317
216
  watch($q.lang, () => {
318
217
  loadLang($q.lang.isoName);
319
218
  });
320
219
  const validations = ref([]);
321
220
  if (props.required)
322
221
  validations.value.push(
323
- (val) => !!val || lang2.value.validations.fieldRequired
222
+ (val) => !!val || lang.value.validations.fieldRequired
324
223
  );
325
224
  return (_ctx, _cache) => {
326
225
  return openBlock(), createBlock(unref(QInput), mergeProps(unref(attrs), {
327
226
  rules: validations.value,
328
227
  "model-value": _ctx.modelValue,
329
- label: `${_ctx.field ? unref(lang2).fields[_ctx.field] : _ctx.label ? _ctx.label : ""}${_ctx.required ? "*" : ""}`,
228
+ label: `${_ctx.field ? unref(lang).fields[_ctx.field] : _ctx.label ? _ctx.label : ""}${_ctx.required ? "*" : ""}`,
330
229
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
331
230
  }), createSlots({ _: 2 }, [
332
- renderList(_ctx.$slots, (_, slot) => {
231
+ renderList(_ctx.$slots, (_2, slot) => {
333
232
  return {
334
233
  name: slot,
335
234
  fn: withCtx((scope) => [
@@ -341,7 +240,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
341
240
  };
342
241
  }
343
242
  });
344
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
243
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
345
244
  __name: "TelephoneNumberInput",
346
245
  props: {
347
246
  modelValue: {},
@@ -350,29 +249,30 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
350
249
  emits: ["update:modelValue"],
351
250
  setup(__props) {
352
251
  const props = __props;
353
- const lang2 = useLang();
252
+ const lang = useLang();
354
253
  const attrs = useAttrs();
355
254
  const validations = ref([]);
356
255
  if (props.required)
357
256
  validations.value.push(
358
- (val) => !!val || lang2.value.validations.fieldRequired
257
+ (val) => !!val || lang.value.validations.fieldRequired
359
258
  );
360
259
  return (_ctx, _cache) => {
361
260
  return openBlock(), createBlock(unref(QInput), mergeProps(unref(attrs), {
362
261
  rules: validations.value,
363
262
  "model-value": _ctx.modelValue,
364
- label: `${unref(lang2).fields.telephoneNumber}${_ctx.required ? "*" : ""}`,
263
+ label: `${unref(lang).fields.telephoneNumber}${_ctx.required ? "*" : ""}`,
365
264
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
366
265
  }), null, 16, ["rules", "model-value", "label"]);
367
266
  };
368
267
  }
369
268
  });
370
- const _hoisted_1$1 = {
269
+ const _hoisted_1 = { class: "row" };
270
+ const _hoisted_2 = {
371
271
  key: 0,
372
- style: { "margin-left": "-0.75em", "margin-top": "0.75em" }
272
+ style: { "margin-top": "1em", "width": "1ch" }
373
273
  };
374
- const _hoisted_2 = { class: "row items-center justify-end" };
375
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
274
+ const _hoisted_3 = { class: "row items-center justify-end" };
275
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
376
276
  __name: "DateInput",
377
277
  props: {
378
278
  modelValue: {},
@@ -381,13 +281,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
381
281
  label: { default: "" },
382
282
  required: { type: Boolean },
383
283
  clearable: { type: Boolean },
384
- date: { default: () => ({}) }
284
+ date: { default: () => ({}) },
285
+ icons: { default: () => ({
286
+ event: "event",
287
+ clear: "clear"
288
+ }) }
385
289
  },
386
290
  emits: ["update:modelValue"],
387
291
  setup(__props, { emit: __emit }) {
388
292
  const props = __props;
389
293
  const emit = __emit;
390
- const lang2 = useLang();
294
+ const lang = useLang();
391
295
  const { modelValue, format, locale } = toRefs(props);
392
296
  const year = ref();
393
297
  const month = ref();
@@ -463,40 +367,49 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
463
367
  const dateProps = computed(() => ({
464
368
  YYYY: {
465
369
  modelValue: year.value,
466
- placeholder: lang2.value.datePicker.YYYY,
370
+ placeholder: lang.value.datePicker.YYYY,
467
371
  style: {
468
- width: format.value === "YYYY-MM-DD" ? "8ch" : "6ch",
469
- "margin-top": "-2em",
470
- "margin-bottom": "-0.5em"
372
+ "max-width": format.value === "YYYY-MM-DD" ? "8ch" : "7ch",
373
+ "margin-top": "-1.75em",
374
+ "margin-bottom": "-0.5em",
375
+ background: "transparent",
376
+ border: 0
471
377
  },
472
378
  // suffix: format.value === 'YYYY-MM-DD' ? '-' : undefined,
473
379
  class: format.value !== "YYYY-MM-DD" ? "q-mb-none q-ml-none" : void 0,
380
+ inputClass: "text-center",
474
381
  "onUpdate:modelValue": setYear,
475
382
  onKeydown: goToNextElement
476
383
  },
477
384
  MM: {
478
385
  modelValue: month.value ? String(month.value).padStart(2, "0") : "",
479
- placeholder: lang2.value.datePicker.MM,
386
+ placeholder: lang.value.datePicker.MM,
480
387
  style: {
481
- width: "6ch",
482
- "margin-top": "-2em",
483
- "margin-bottom": "-0.5em"
388
+ "max-width": "7ch",
389
+ "margin-top": "-1.75em",
390
+ "margin-bottom": "-0.5em",
391
+ background: "transparent",
392
+ border: 0
484
393
  },
485
394
  // suffix: '-',
486
395
  class: "q-ml-none",
396
+ inputClass: "text-center",
487
397
  "onUpdate:modelValue": setMonth,
488
398
  onKeydown: goToNextElement
489
399
  },
490
400
  DD: {
491
401
  modelValue: day.value ? String(day.value).padStart(2, "0") : "",
492
- placeholder: lang2.value.datePicker.DD,
402
+ placeholder: lang.value.datePicker.DD,
493
403
  style: {
494
- width: format.value === "DD-MM-YYYY" ? "6ch" : "4ch",
495
- "margin-top": "-2em",
496
- "margin-bottom": "-0.5em"
404
+ "max-width": format.value === "DD-MM-YYYY" ? "7ch" : "4ch",
405
+ "margin-top": "-1.75em",
406
+ "margin-bottom": "-0.5em",
407
+ background: "transparent",
408
+ border: 0
497
409
  },
498
410
  // suffix: format.value === 'DD-MM-YYYY' ? '-' : undefined,
499
411
  class: format.value === "YYYY-MM-DD" ? "q-ml-none" : void 0,
412
+ inputClass: "text-center",
500
413
  "onUpdate:modelValue": setDay,
501
414
  onKeydown: goToNextElement
502
415
  }
@@ -510,7 +423,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
510
423
  ]);
511
424
  if (props.required)
512
425
  validations.value.push(
513
- (val) => !!val || lang2.value.validations.fieldRequired
426
+ (val) => !!val || lang.value.validations.fieldRequired
514
427
  );
515
428
  return (_ctx, _cache) => {
516
429
  const _component_q_icon = QIcon;
@@ -525,30 +438,40 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
525
438
  rules: validations.value,
526
439
  label: `${_ctx.label}${_ctx.required ? "*" : ""}`,
527
440
  "stack-label": ""
528
- }, {
441
+ }, createSlots({
529
442
  control: withCtx(() => [
530
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(format).split("-"), (part, index) => {
531
- return openBlock(), createBlock(resolveDynamicComponent(unref(QInput)), mergeProps({
532
- key: part,
533
- borderless: "",
534
- ref_for: true
535
- }, dateProps.value[part], { inputmode: "numeric" }), {
536
- after: withCtx(() => [
537
- index < 2 ? (openBlock(), createElementBlock("a", _hoisted_1$1, "-")) : createCommentVNode("", true)
538
- ]),
539
- _: 2
540
- }, 1040);
541
- }), 128))
443
+ createElementVNode("div", _hoisted_1, [
444
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(format).split("-"), (part, index) => {
445
+ return openBlock(), createBlock(resolveDynamicComponent(unref(QInput)), mergeProps({
446
+ key: part,
447
+ class: "col-auto",
448
+ borderless: "",
449
+ filled: false,
450
+ outlined: false,
451
+ standout: false,
452
+ rounded: false,
453
+ ref_for: true
454
+ }, dateProps.value[part], {
455
+ inputmode: "numeric",
456
+ dense: ""
457
+ }), {
458
+ after: withCtx(() => [
459
+ index < 2 ? (openBlock(), createElementBlock("a", _hoisted_2, "-")) : createCommentVNode("", true)
460
+ ]),
461
+ _: 2
462
+ }, 1040);
463
+ }), 128))
464
+ ])
542
465
  ]),
543
466
  append: withCtx(() => [
544
467
  _ctx.clearable ? (openBlock(), createBlock(_component_q_icon, {
545
468
  key: 0,
546
- name: "clear",
469
+ name: _ctx.icons.clear,
547
470
  class: "cursor-pointer",
548
471
  onClick: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", null))
549
- })) : createCommentVNode("", true),
472
+ }, null, 8, ["name"])) : createCommentVNode("", true),
550
473
  createVNode(_component_q_icon, {
551
- name: "event",
474
+ name: _ctx.icons.event,
552
475
  class: "cursor-pointer"
553
476
  }, {
554
477
  default: withCtx(() => [
@@ -571,9 +494,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
571
494
  "onUpdate:modelValue": setDate
572
495
  }), {
573
496
  default: withCtx(() => [
574
- createElementVNode("div", _hoisted_2, [
497
+ createElementVNode("div", _hoisted_3, [
575
498
  withDirectives(createVNode(_component_q_btn, {
576
- label: unref(lang2).buttons.close,
499
+ label: unref(lang).buttons.close,
577
500
  color: "primary",
578
501
  flat: ""
579
502
  }, null, 8, ["label"]), [
@@ -589,14 +512,23 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
589
512
  })
590
513
  ]),
591
514
  _: 1
592
- })
515
+ }, 8, ["name"])
593
516
  ]),
594
- _: 1
595
- }, 8, ["model-value", "rules", "label"]);
517
+ _: 2
518
+ }, [
519
+ renderList(_ctx.$slots, (_2, slot) => {
520
+ return {
521
+ name: slot,
522
+ fn: withCtx((scope) => [
523
+ renderSlot(_ctx.$slots, slot, normalizeProps(guardReactiveProps(scope || {})))
524
+ ])
525
+ };
526
+ })
527
+ ]), 1032, ["model-value", "rules", "label"]);
596
528
  };
597
529
  }
598
530
  });
599
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
531
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
600
532
  __name: "BooleanSelect",
601
533
  props: {
602
534
  modelValue: { type: [Boolean, null] },
@@ -607,26 +539,26 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
607
539
  setup(__props) {
608
540
  const props = __props;
609
541
  const attrs = useAttrs();
610
- const lang2 = useLang();
542
+ const lang = useLang();
611
543
  const $q = useQuasar();
612
- if (lang2.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
544
+ if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
613
545
  watch($q.lang, () => {
614
546
  loadLang($q.lang.isoName);
615
547
  });
616
548
  const booleanOptions = ref([
617
549
  {
618
- label: lang2.value.yes,
550
+ label: lang.value.yes,
619
551
  value: true
620
552
  },
621
553
  {
622
- label: lang2.value.no,
554
+ label: lang.value.no,
623
555
  value: false
624
556
  }
625
557
  ]);
626
558
  const validations = ref([]);
627
559
  if (props.required)
628
560
  validations.value.push(
629
- (val) => val !== null || lang2.value.validations.fieldRequired
561
+ (val) => val !== null || lang.value.validations.fieldRequired
630
562
  );
631
563
  return (_ctx, _cache) => {
632
564
  return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
@@ -641,7 +573,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
641
573
  };
642
574
  }
643
575
  });
644
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
576
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
645
577
  __name: "BooleanItem",
646
578
  props: {
647
579
  modelValue: { type: [Boolean, null] },
@@ -649,9 +581,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
649
581
  },
650
582
  setup(__props) {
651
583
  const attrs = useAttrs();
652
- const lang2 = useLang();
584
+ const lang = useLang();
653
585
  const $q = useQuasar();
654
- if (lang2.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
586
+ if (lang.value.isoName !== $q.lang.isoName) loadLang($q.lang.isoName);
655
587
  watch($q.lang, () => {
656
588
  loadLang($q.lang.isoName);
657
589
  });
@@ -668,7 +600,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
668
600
  }),
669
601
  createVNode(unref(QItemLabel), null, {
670
602
  default: withCtx(() => [
671
- createTextVNode(toDisplayString(_ctx.modelValue === null ? "-" : _ctx.modelValue ? unref(lang2).yes : unref(lang2).no), 1)
603
+ createTextVNode(toDisplayString(_ctx.modelValue === null ? "-" : _ctx.modelValue ? unref(lang).yes : unref(lang).no), 1)
672
604
  ]),
673
605
  _: 1
674
606
  })
@@ -684,7 +616,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
684
616
  const __default__ = {
685
617
  name: "EmailInput"
686
618
  };
687
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
619
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
688
620
  ...__default__,
689
621
  props: {
690
622
  subject: {},
@@ -693,7 +625,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
693
625
  emits: ["update:subject", "update:body"],
694
626
  setup(__props, { expose: __expose, emit: __emit }) {
695
627
  const emit = __emit;
696
- const lang2 = useLang();
628
+ const lang = useLang();
697
629
  const variables = ref({
698
630
  // header: lang.value.some.nested.prop
699
631
  });
@@ -708,7 +640,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
708
640
  return openBlock(), createElementBlock(Fragment, null, [
709
641
  createVNode(unref(QInput), {
710
642
  outlined: "",
711
- placeholder: unref(lang2).email.subject,
643
+ placeholder: unref(lang).email.subject,
712
644
  "model-value": _ctx.subject,
713
645
  type: "text",
714
646
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:subject", $event))
@@ -727,7 +659,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
727
659
  };
728
660
  }
729
661
  });
730
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
662
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
731
663
  __name: "DatePicker",
732
664
  props: {
733
665
  modelValue: {},
@@ -741,7 +673,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
741
673
  const attrs = useAttrs();
742
674
  const emit = __emit;
743
675
  const $q = useQuasar();
744
- const lang2 = useLang();
676
+ const lang = useLang();
745
677
  const { periods, range, options: parentOptions } = toRefs(props);
746
678
  const update = (val) => {
747
679
  var _a;
@@ -755,7 +687,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
755
687
  for (const period of unavailablePeriods) {
756
688
  if (parsedFrom <= period.startDate && parsedTo >= period.endDate) {
757
689
  return $q.notify({
758
- message: lang2.value.datePicker.validations.unavailableRange,
690
+ message: lang.value.datePicker.validations.unavailableRange,
759
691
  color: "red"
760
692
  });
761
693
  }
@@ -792,7 +724,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
792
724
  };
793
725
  }
794
726
  });
795
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
727
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
796
728
  __name: "CurrencySelect",
797
729
  props: {
798
730
  modelValue: {},
@@ -802,28 +734,28 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
802
734
  setup(__props) {
803
735
  const props = __props;
804
736
  const attrs = useAttrs();
805
- const lang2 = useLang();
737
+ const lang = useLang();
806
738
  const currencyOptions = ref([
807
739
  {
808
- label: lang2.value.currency.EUR,
740
+ label: lang.value.currency.EUR,
809
741
  value: "EUR"
810
742
  },
811
743
  {
812
- label: lang2.value.currency.USD,
744
+ label: lang.value.currency.USD,
813
745
  value: "USD"
814
746
  }
815
747
  ]);
816
748
  const validations = ref([]);
817
749
  if (props.required)
818
750
  validations.value.push(
819
- (val) => !!val || lang2.value.validations.fieldRequired
751
+ (val) => !!val || lang.value.validations.fieldRequired
820
752
  );
821
753
  return (_ctx, _cache) => {
822
754
  return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
823
755
  rules: validations.value,
824
756
  "model-value": _ctx.modelValue,
825
757
  options: currencyOptions.value,
826
- label: `${unref(lang2).currency.currency}${_ctx.required ? "*" : ""}`,
758
+ label: `${unref(lang).currency.currency}${_ctx.required ? "*" : ""}`,
827
759
  "emit-value": "",
828
760
  "map-options": "",
829
761
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event))
@@ -831,79 +763,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
831
763
  };
832
764
  }
833
765
  });
834
- const _hoisted_1 = { key: 0 };
835
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
836
- __name: "LocaleSelect",
837
- props: {
838
- modelValue: {},
839
- required: { type: Boolean },
840
- allowedCodes: { default: () => ["en-US", "nl"] }
841
- },
842
- setup(__props) {
843
- const attrs = useAttrs();
844
- const lang2 = useLang();
845
- const flagsLang = useLang$1();
846
- const languageOptions = computed(() => {
847
- var _a;
848
- const options = [];
849
- for (let lang22 of Object.keys(flagsLang.value.languages)) {
850
- if (!((_a = __props.allowedCodes) == null ? void 0 : _a.length) || __props.allowedCodes.includes(lang22)) {
851
- options.push({
852
- label: flagsLang.value.languages[lang22],
853
- value: lang22
854
- });
855
- }
856
- }
857
- return options;
858
- });
859
- return (_ctx, _cache) => {
860
- const _component_q_item_section = QItemSection;
861
- const _component_q_item_label = QItemLabel;
862
- const _component_q_item = QItem;
863
- return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
864
- options: languageOptions.value,
865
- "model-value": _ctx.modelValue,
866
- label: `${unref(lang2).locale.locale}${_ctx.required ? "*" : ""}`,
867
- "emit-value": "",
868
- "map-options": ""
869
- }), {
870
- selected: withCtx(() => [
871
- _ctx.modelValue ? (openBlock(), createElementBlock("div", _hoisted_1, [
872
- (openBlock(), createBlock(resolveDynamicComponent(flags[_ctx.modelValue.slice(-2).toLowerCase()]))),
873
- createTextVNode(" " + toDisplayString(unref(flagsLang).languages[_ctx.modelValue]), 1)
874
- ])) : createCommentVNode("", true)
875
- ]),
876
- option: withCtx((scope) => [
877
- createVNode(_component_q_item, normalizeProps(guardReactiveProps(scope.itemProps)), {
878
- default: withCtx(() => [
879
- createVNode(_component_q_item_section, { avatar: "" }, {
880
- default: withCtx(() => [
881
- (openBlock(), createBlock(resolveDynamicComponent(
882
- flags[scope.opt.value.slice(-2).toLowerCase()]
883
- )))
884
- ]),
885
- _: 2
886
- }, 1024),
887
- createVNode(_component_q_item_section, null, {
888
- default: withCtx(() => [
889
- createVNode(_component_q_item_label, null, {
890
- default: withCtx(() => [
891
- createTextVNode(toDisplayString(scope.opt.label), 1)
892
- ]),
893
- _: 2
894
- }, 1024)
895
- ]),
896
- _: 2
897
- }, 1024)
898
- ]),
899
- _: 2
900
- }, 1040)
901
- ]),
902
- _: 1
903
- }, 16, ["options", "model-value", "label"]);
904
- };
905
- }
906
- });
907
766
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
908
767
  __name: "FilteredModelSelect",
909
768
  props: {
@@ -924,7 +783,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
924
783
  const props = __props;
925
784
  const attrs = useAttrs();
926
785
  const emit = __emit;
927
- const lang2 = useLang();
786
+ const lang = useLang();
928
787
  const {
929
788
  modelValue,
930
789
  onFilter,
@@ -957,7 +816,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
957
816
  return [];
958
817
  });
959
818
  const requiredValidation = ref(
960
- (val) => (Array.isArray(val) ? !!val.length : !!val) || lang2.value.validations.fieldRequired
819
+ (val) => (Array.isArray(val) ? !!val.length : !!val) || lang.value.validations.fieldRequired
961
820
  );
962
821
  const selectedIds = computed(() => {
963
822
  if (Array.isArray(modelValue.value)) {
@@ -998,7 +857,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
998
857
  "model-value": unref(modelValue),
999
858
  options: options.value,
1000
859
  label: `${_ctx.label}${_ctx.required ? "*" : ""}`,
1001
- hint: _ctx.multiple ? unref(lang2).selectMultiple : void 0,
860
+ hint: _ctx.multiple ? unref(lang).selectMultiple : void 0,
1002
861
  "emit-value": "",
1003
862
  "map-options": "",
1004
863
  "fill-input": !_ctx.multiple,
@@ -1019,7 +878,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1019
878
  default: withCtx(() => [
1020
879
  createVNode(_component_q_item_section, { class: "text-italic text-grey" }, {
1021
880
  default: withCtx(() => [
1022
- createTextVNode(toDisplayString(unref(lang2).noResultsAvailable), 1)
881
+ createTextVNode(toDisplayString(unref(lang).noResultsAvailable), 1)
1023
882
  ]),
1024
883
  _: 1
1025
884
  })
@@ -1029,7 +888,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1029
888
  ]),
1030
889
  _: 2
1031
890
  }, [
1032
- renderList(_ctx.$slots, (_, slot) => {
891
+ renderList(_ctx.$slots, (_2, slot) => {
1033
892
  return {
1034
893
  name: slot,
1035
894
  fn: withCtx((scope) => [
@@ -1056,11 +915,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1056
915
  const emit = __emit;
1057
916
  const { modelValue } = toRefs(props);
1058
917
  const $q = useQuasar();
1059
- const lang2 = useLang();
918
+ const lang = useLang();
1060
919
  const cronregex = new RegExp(
1061
920
  /(@(annually|yearly|monthly|weekly|daily|hourly|reboot))|(@every (\d+(ns|us|µs|ms|s|m|h))+)|((((\d+,)+\d+|(\d+(\/|-)\d+)|\d+|\*) ?){5,7})/
1062
921
  );
1063
- const label = lang2.value.cron.name;
922
+ const label = lang.value.cron.name;
1064
923
  const minute = ref(["0"]);
1065
924
  const hour = ref(["0"]);
1066
925
  const dayOfMonth = ref(["1"]);
@@ -1069,12 +928,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1069
928
  const minuteOptions = ref([...Array(59).keys()].map(String));
1070
929
  const hourOptions = ref([...Array(24).keys()].map(String));
1071
930
  const dayOfMonthOptions = ref(
1072
- Array.from({ length: 31 }, (_, i) => i + 1).map(
931
+ Array.from({ length: 31 }, (_2, i) => i + 1).map(
1073
932
  (dayOfMonth2) => String(dayOfMonth2)
1074
933
  )
1075
934
  );
1076
935
  const monthOptions = ref([
1077
- ...Array.from({ length: 12 }, (_, i) => i + 1).map((month2) => ({
936
+ ...Array.from({ length: 12 }, (_2, i) => i + 1).map((month2) => ({
1078
937
  label: $q.lang.date.months[month2 - 1],
1079
938
  value: String(month2)
1080
939
  }))
@@ -1086,7 +945,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1086
945
  }))
1087
946
  );
1088
947
  const validations = ref([
1089
- (val) => cronregex.test(val) || lang2.value.cron.validations.invalidCron
948
+ (val) => cronregex.test(val) || lang.value.cron.validations.invalidCron
1090
949
  ]);
1091
950
  watch([minute, hour, dayOfMonth, month, dayOfWeek], () => {
1092
951
  const cron = `${minute.value.join(",") || "*"} ${hour.value.join(",") || "*"} ${dayOfMonth.value.join(",") || "*"} ${month.value.join(",") || "*"} ${dayOfWeek.value.join(",") || "*"}`;
@@ -1129,7 +988,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1129
988
  modelValue: hour.value,
1130
989
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hour.value = $event),
1131
990
  options: hourOptions.value,
1132
- hint: unref(lang2).cron.hour,
991
+ hint: unref(lang).cron.hour,
1133
992
  "bottom-slots": "",
1134
993
  style: {
1135
994
  width: "10ch",
@@ -1141,7 +1000,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1141
1000
  multiple: ""
1142
1001
  }, {
1143
1002
  selected: withCtx(() => [
1144
- createTextVNode(toDisplayString(hour.value.length ? hour.value.join(",") : unref(lang2).cron.every.hour), 1)
1003
+ createTextVNode(toDisplayString(hour.value.length ? hour.value.join(",") : unref(lang).cron.every.hour), 1)
1145
1004
  ]),
1146
1005
  _: 1
1147
1006
  }, 8, ["modelValue", "options", "hint"])) : createCommentVNode("", true),
@@ -1150,7 +1009,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1150
1009
  modelValue: minute.value,
1151
1010
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => minute.value = $event),
1152
1011
  options: minuteOptions.value,
1153
- hint: unref(lang2).cron.minute,
1012
+ hint: unref(lang).cron.minute,
1154
1013
  "bottom-slots": "",
1155
1014
  style: {
1156
1015
  width: "10ch",
@@ -1162,7 +1021,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1162
1021
  multiple: ""
1163
1022
  }, {
1164
1023
  selected: withCtx(() => [
1165
- createTextVNode(toDisplayString(minute.value.length ? minute.value.join(",") : unref(lang2).cron.every.minute), 1)
1024
+ createTextVNode(toDisplayString(minute.value.length ? minute.value.join(",") : unref(lang).cron.every.minute), 1)
1166
1025
  ]),
1167
1026
  _: 1
1168
1027
  }, 8, ["modelValue", "options", "hint"])) : createCommentVNode("", true),
@@ -1170,7 +1029,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1170
1029
  modelValue: dayOfMonth.value,
1171
1030
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dayOfMonth.value = $event),
1172
1031
  options: dayOfMonthOptions.value,
1173
- hint: unref(lang2).cron.dayOfMonth,
1032
+ hint: unref(lang).cron.dayOfMonth,
1174
1033
  "bottom-slots": "",
1175
1034
  style: {
1176
1035
  width: "10ch",
@@ -1182,7 +1041,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1182
1041
  multiple: ""
1183
1042
  }, {
1184
1043
  selected: withCtx(() => [
1185
- createTextVNode(toDisplayString(dayOfMonth.value.length ? dayOfMonth.value.join(",") : unref(lang2).cron.every.dayOfMonth), 1)
1044
+ createTextVNode(toDisplayString(dayOfMonth.value.length ? dayOfMonth.value.join(",") : unref(lang).cron.every.dayOfMonth), 1)
1186
1045
  ]),
1187
1046
  _: 1
1188
1047
  }, 8, ["modelValue", "options", "hint"]),
@@ -1190,8 +1049,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1190
1049
  modelValue: month.value,
1191
1050
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => month.value = $event),
1192
1051
  options: monthOptions.value,
1193
- hint: unref(lang2).cron.month,
1194
- placeholder: unref(lang2).cron.month,
1052
+ hint: unref(lang).cron.month,
1053
+ placeholder: unref(lang).cron.month,
1195
1054
  "bottom-slots": "",
1196
1055
  style: {
1197
1056
  width: "16ch",
@@ -1203,7 +1062,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1203
1062
  multiple: ""
1204
1063
  }, {
1205
1064
  selected: withCtx(() => [
1206
- createTextVNode(toDisplayString(month.value.length ? month.value.map((val) => unref($q).lang.date.months[Number(val) - 1]).join(",") : unref(lang2).cron.every.month), 1)
1065
+ createTextVNode(toDisplayString(month.value.length ? month.value.map((val) => unref($q).lang.date.months[Number(val) - 1]).join(",") : unref(lang).cron.every.month), 1)
1207
1066
  ]),
1208
1067
  _: 1
1209
1068
  }, 8, ["modelValue", "options", "hint", "placeholder"]),
@@ -1212,7 +1071,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1212
1071
  modelValue: dayOfWeek.value,
1213
1072
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => dayOfWeek.value = $event),
1214
1073
  options: dayOfWeekOptions.value,
1215
- placeholder: unref(lang2).cron.dayOfWeek,
1074
+ placeholder: unref(lang).cron.dayOfWeek,
1216
1075
  style: {
1217
1076
  width: "16ch",
1218
1077
  "margin-top": "-2em",
@@ -1223,7 +1082,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1223
1082
  multiple: ""
1224
1083
  }, {
1225
1084
  selected: withCtx(() => [
1226
- createTextVNode(toDisplayString(dayOfWeek.value.length ? dayOfWeek.value.map((val) => unref($q).lang.date.days[Number(val)]).join(",") : unref(lang2).cron.every.dayOfWeek), 1)
1085
+ createTextVNode(toDisplayString(dayOfWeek.value.length ? dayOfWeek.value.map((val) => unref($q).lang.date.days[Number(val)]).join(",") : unref(lang).cron.every.dayOfWeek), 1)
1227
1086
  ]),
1228
1087
  _: 1
1229
1088
  }, 8, ["modelValue", "options", "placeholder"])) : createCommentVNode("", true)
@@ -1234,21 +1093,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1234
1093
  }
1235
1094
  });
1236
1095
  export {
1237
- _sfc_main$6 as BooleanItem,
1238
- _sfc_main$7 as BooleanSelect,
1096
+ _sfc_main$5 as BooleanItem,
1097
+ _sfc_main$6 as BooleanSelect,
1239
1098
  _sfc_main as CronScheduleInput,
1240
- _sfc_main$3 as CurrencySelect,
1241
- _sfc_main$8 as DateInput,
1242
- _sfc_main$4 as DatePicker,
1243
- _sfc_main$5 as EmailInput,
1099
+ _sfc_main$2 as CurrencySelect,
1100
+ _sfc_main$7 as DateInput,
1101
+ _sfc_main$3 as DatePicker,
1102
+ _sfc_main$4 as EmailInput,
1244
1103
  _sfc_main$1 as FilteredModelSelect,
1245
- _sfc_main$a as FormInput,
1246
- _sfc_main$b as FormItem,
1247
- _sfc_main$d as GenderItem,
1248
- _sfc_main$e as GenderSelect,
1249
- _sfc_main$2 as LocaleSelect,
1250
- _sfc_main$c as PostalCodeInput,
1251
- _sfc_main$9 as TelephoneNumberInput,
1104
+ _sfc_main$9 as FormInput,
1105
+ _sfc_main$a as FormItem,
1106
+ _sfc_main$c as GenderItem,
1107
+ _sfc_main$d as GenderSelect,
1108
+ _ as LocaleSelect,
1109
+ _sfc_main$b as PostalCodeInput,
1110
+ _sfc_main$8 as TelephoneNumberInput,
1252
1111
  loadLang,
1253
1112
  useLang
1254
1113
  };