@simsustech/quasar-components 0.11.10 → 0.11.12

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 (69) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/LocaleSelect.vue_vue_type_script_setup_true_lang-Du4fNbTV.js +573 -0
  3. package/dist/authentication.js +152 -66
  4. package/dist/form.js +155 -300
  5. package/dist/general.js +44 -195
  6. package/dist/md3.js +459 -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/EmailChangeForm.vue.d.ts +2 -2
  11. package/dist/types/ui/authentication/LoginButton.vue.d.ts +1 -1
  12. package/dist/types/ui/authentication/LoginForm.vue.d.ts +2 -2
  13. package/dist/types/ui/authentication/LogoutButton.vue.d.ts +12 -0
  14. package/dist/types/ui/authentication/LogoutForm.vue.d.ts +18 -0
  15. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +2 -2
  16. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +2 -2
  17. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +2 -2
  18. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +1 -1
  19. package/dist/types/ui/authentication/index.d.ts +2 -0
  20. package/dist/types/ui/authentication/lang/index.d.ts +12 -0
  21. package/dist/types/ui/form/DateInput.vue.d.ts +11 -1
  22. package/dist/types/ui/form/FormInput.vue.d.ts +2 -15
  23. package/dist/types/ui/form/FormItem.vue.d.ts +2 -19
  24. package/dist/types/ui/form/LocaleSelect.vue.d.ts +6 -4
  25. package/dist/types/ui/form/lang/index.d.ts +1131 -0
  26. package/dist/types/ui/general/QDrawerList.vue.d.ts +2 -7
  27. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +7 -4
  28. package/dist/types/ui/general/QStyledCard.vue.d.ts +9 -5
  29. package/dist/types/ui/general/QStyledLayout.vue.d.ts +1 -1
  30. package/dist/types/ui/general/QSubmitButton.vue.d.ts +1 -1
  31. package/dist/types/ui/general/ResourcePage.vue.d.ts +9 -5
  32. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +3 -2
  33. package/dist/types/ui/general/index.d.ts +0 -1
  34. package/dist/types/ui/md3/Md3Layout.vue.d.ts +31 -0
  35. package/dist/types/ui/md3/NavigationRailFabs.vue.d.ts +15 -0
  36. package/dist/types/ui/md3/index.d.ts +3 -0
  37. package/dist/types/ui/md3/lang/en-US.d.ts +3 -0
  38. package/dist/types/ui/md3/lang/index.d.ts +12 -0
  39. package/dist/types/ui/md3/lang/nl.d.ts +3 -0
  40. package/package.json +21 -14
  41. package/src/ui/authentication/LogoutButton.vue +31 -0
  42. package/src/ui/authentication/LogoutForm.vue +49 -0
  43. package/src/ui/authentication/UserMenuButton.vue +1 -1
  44. package/src/ui/authentication/index.ts +2 -0
  45. package/src/ui/authentication/lang/en-US.ts +4 -0
  46. package/src/ui/authentication/lang/index.ts +4 -0
  47. package/src/ui/authentication/lang/nl.ts +4 -0
  48. package/src/ui/form/DateInput.vue +42 -23
  49. package/src/ui/form/LocaleSelect.vue +29 -43
  50. package/src/ui/form/lang/en-US.ts +377 -0
  51. package/src/ui/form/lang/index.ts +377 -0
  52. package/src/ui/form/lang/nl.ts +377 -0
  53. package/src/ui/general/QLanguageSelect.vue +30 -106
  54. package/src/ui/general/{QLanguageSelectBtn.vue → QLanguageSelectBtn.vue.bak} +1 -1
  55. package/src/ui/general/QStyledCard.vue +2 -2
  56. package/src/ui/general/ResponsiveDialog.vue +14 -4
  57. package/src/ui/general/index.ts +1 -1
  58. package/src/ui/md3/Md3Layout.vue +142 -0
  59. package/src/ui/md3/NavigationRailFabs.vue +89 -0
  60. package/src/ui/md3/index.ts +3 -0
  61. package/src/ui/md3/lang/en-US.ts +7 -0
  62. package/src/ui/md3/lang/index.ts +41 -0
  63. package/src/ui/md3/lang/nl.ts +7 -0
  64. package/vite.config.ts +4 -3
  65. package/dist/flags.js +0 -255
  66. package/dist/icons.js +0 -25
  67. package/dist/index-DnmJt2wP.js +0 -7921
  68. package/dist/nl-BL9hHEHL.js +0 -76
  69. package/dist/types/ui/general/QLanguageSelectBtn.vue.d.ts +0 -11
package/dist/md3.js ADDED
@@ -0,0 +1,459 @@
1
+ import { QBtn, QPageSticky, useQuasar, debounce, QLayout, QHeader, QToolbar, QDrawer, QFooter, QPageContainer } from "quasar";
2
+ import { defineComponent, toRefs, inject, createElementBlock, openBlock, Fragment, createCommentVNode, createBlock, unref, normalizeClass, withCtx, watch, getCurrentScope, onScopeDispose, computed, toValue, ref, onMounted, resolveComponent, withDirectives, createElementVNode, createVNode, renderSlot, vShow } from "vue";
3
+ const _hoisted_1$1 = { key: 0 };
4
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
+ __name: "NavigationRailFabs",
6
+ props: {
7
+ type: {},
8
+ showSticky: { type: Boolean },
9
+ seekAttention: { type: Boolean },
10
+ busEmits: {},
11
+ icons: {}
12
+ },
13
+ setup(__props) {
14
+ var _a, _b;
15
+ const props = __props;
16
+ const { type, icons } = toRefs(props);
17
+ if (!type.value) type.value = "add";
18
+ const bus = inject("bus");
19
+ if (!bus)
20
+ throw new Error(
21
+ "Event bus not initialized (https://quasar.dev/quasar-utils/event-bus-util)"
22
+ );
23
+ const addIcon = ((_a = icons.value) == null ? void 0 : _a.add) ?? "add";
24
+ const editIcon = ((_b = icons.value) == null ? void 0 : _b.edit) ?? "edit";
25
+ return (_ctx, _cache) => {
26
+ const _component_q_btn = QBtn;
27
+ const _component_q_page_sticky = QPageSticky;
28
+ return openBlock(), createElementBlock(Fragment, null, [
29
+ !_ctx.showSticky ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
30
+ _ctx.busEmits.add && unref(type) === "add" ? (openBlock(), createBlock(_component_q_btn, {
31
+ key: 0,
32
+ id: "fabAdd",
33
+ class: normalizeClass({
34
+ "gt-sm": true,
35
+ animated: !!_ctx.seekAttention,
36
+ "animated-tada": !!_ctx.seekAttention,
37
+ "animated-infinite": !!_ctx.seekAttention
38
+ }),
39
+ fab: "",
40
+ icon: unref(addIcon),
41
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(bus).emit(_ctx.busEmits.add))
42
+ }, null, 8, ["class", "icon"])) : createCommentVNode("", true),
43
+ _ctx.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
44
+ key: 1,
45
+ id: "fabEdit",
46
+ class: normalizeClass({
47
+ "gt-sm": true,
48
+ animated: !!_ctx.seekAttention,
49
+ "animated-tada": !!_ctx.seekAttention,
50
+ "animated-infinite": !!_ctx.seekAttention
51
+ }),
52
+ fab: "",
53
+ icon: unref(editIcon),
54
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(bus).emit(_ctx.busEmits.edit))
55
+ }, null, 8, ["class", "icon"])) : createCommentVNode("", true)
56
+ ])) : createCommentVNode("", true),
57
+ _ctx.showSticky ? (openBlock(), createBlock(_component_q_page_sticky, {
58
+ key: 1,
59
+ position: "bottom-right",
60
+ offset: [18, 18]
61
+ }, {
62
+ default: withCtx(() => [
63
+ _ctx.busEmits.add && unref(type) === "add" ? (openBlock(), createBlock(_component_q_btn, {
64
+ key: 0,
65
+ class: normalizeClass({
66
+ "lt-md": true,
67
+ animated: !!_ctx.seekAttention,
68
+ "animated-tada": !!_ctx.seekAttention,
69
+ "animated-infinite": !!_ctx.seekAttention
70
+ }),
71
+ fab: "",
72
+ icon: unref(addIcon),
73
+ onClick: _cache[2] || (_cache[2] = ($event) => unref(bus).emit(_ctx.busEmits.add))
74
+ }, null, 8, ["class", "icon"])) : createCommentVNode("", true),
75
+ _ctx.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
76
+ key: 1,
77
+ class: normalizeClass({
78
+ "lt-md": true,
79
+ animated: !!_ctx.seekAttention,
80
+ "animated-tada": !!_ctx.seekAttention,
81
+ "animated-infinite": !!_ctx.seekAttention
82
+ }),
83
+ fab: "",
84
+ icon: unref(editIcon),
85
+ onClick: _cache[3] || (_cache[3] = ($event) => unref(bus).emit(_ctx.busEmits.edit))
86
+ }, null, 8, ["class", "icon"])) : createCommentVNode("", true)
87
+ ]),
88
+ _: 1
89
+ })) : createCommentVNode("", true)
90
+ ], 64);
91
+ };
92
+ }
93
+ });
94
+ function tryOnScopeDispose(fn) {
95
+ if (getCurrentScope()) {
96
+ onScopeDispose(fn);
97
+ return true;
98
+ }
99
+ return false;
100
+ }
101
+ const isClient = typeof window !== "undefined" && typeof document !== "undefined";
102
+ typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
103
+ const toString = Object.prototype.toString;
104
+ const isObject = (val) => toString.call(val) === "[object Object]";
105
+ const noop = () => {
106
+ };
107
+ const isIOS = /* @__PURE__ */ getIsIOS();
108
+ function getIsIOS() {
109
+ var _a, _b;
110
+ return isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((_b = window == null ? void 0 : window.navigator) == null ? void 0 : _b.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
111
+ }
112
+ function toArray(value) {
113
+ return Array.isArray(value) ? value : [value];
114
+ }
115
+ function watchImmediate(source, cb, options) {
116
+ return watch(
117
+ source,
118
+ cb,
119
+ {
120
+ ...options,
121
+ immediate: true
122
+ }
123
+ );
124
+ }
125
+ const defaultWindow = isClient ? window : void 0;
126
+ function unrefElement(elRef) {
127
+ var _a;
128
+ const plain = toValue(elRef);
129
+ return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
130
+ }
131
+ function useEventListener(...args) {
132
+ const cleanups = [];
133
+ const cleanup = () => {
134
+ cleanups.forEach((fn) => fn());
135
+ cleanups.length = 0;
136
+ };
137
+ const register = (el, event, listener, options) => {
138
+ el.addEventListener(event, listener, options);
139
+ return () => el.removeEventListener(event, listener, options);
140
+ };
141
+ const firstParamTargets = computed(() => {
142
+ const test = toArray(toValue(args[0])).filter((e) => e != null);
143
+ return test.every((e) => typeof e !== "string") ? test : void 0;
144
+ });
145
+ const stopWatch = watchImmediate(
146
+ () => {
147
+ var _a, _b;
148
+ return [
149
+ (_b = (_a = firstParamTargets.value) == null ? void 0 : _a.map((e) => unrefElement(e))) != null ? _b : [defaultWindow].filter((e) => e != null),
150
+ toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
151
+ toArray(unref(firstParamTargets.value ? args[2] : args[1])),
152
+ // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
153
+ toValue(firstParamTargets.value ? args[3] : args[2])
154
+ ];
155
+ },
156
+ ([raw_targets, raw_events, raw_listeners, raw_options]) => {
157
+ cleanup();
158
+ if (!(raw_targets == null ? void 0 : raw_targets.length) || !(raw_events == null ? void 0 : raw_events.length) || !(raw_listeners == null ? void 0 : raw_listeners.length))
159
+ return;
160
+ const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
161
+ cleanups.push(
162
+ ...raw_targets.flatMap(
163
+ (el) => raw_events.flatMap(
164
+ (event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))
165
+ )
166
+ )
167
+ );
168
+ },
169
+ { flush: "post" }
170
+ );
171
+ const stop = () => {
172
+ stopWatch();
173
+ cleanup();
174
+ };
175
+ tryOnScopeDispose(cleanup);
176
+ return stop;
177
+ }
178
+ let _iOSWorkaround = false;
179
+ function onClickOutside(target, handler, options = {}) {
180
+ const { window: window2 = defaultWindow, ignore = [], capture = true, detectIframe = false, controls = false } = options;
181
+ if (!window2) {
182
+ return controls ? { stop: noop, cancel: noop, trigger: noop } : noop;
183
+ }
184
+ if (isIOS && !_iOSWorkaround) {
185
+ _iOSWorkaround = true;
186
+ const listenerOptions = { passive: true };
187
+ Array.from(window2.document.body.children).forEach((el) => useEventListener(el, "click", noop, listenerOptions));
188
+ useEventListener(window2.document.documentElement, "click", noop, listenerOptions);
189
+ }
190
+ let shouldListen = true;
191
+ const shouldIgnore = (event) => {
192
+ return toValue(ignore).some((target2) => {
193
+ if (typeof target2 === "string") {
194
+ return Array.from(window2.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
195
+ } else {
196
+ const el = unrefElement(target2);
197
+ return el && (event.target === el || event.composedPath().includes(el));
198
+ }
199
+ });
200
+ };
201
+ function hasMultipleRoots(target2) {
202
+ const vm = toValue(target2);
203
+ return vm && vm.$.subTree.shapeFlag === 16;
204
+ }
205
+ function checkMultipleRoots(target2, event) {
206
+ const vm = toValue(target2);
207
+ const children = vm.$.subTree && vm.$.subTree.children;
208
+ if (children == null || !Array.isArray(children))
209
+ return false;
210
+ return children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
211
+ }
212
+ const listener = (event) => {
213
+ const el = unrefElement(target);
214
+ if (event.target == null)
215
+ return;
216
+ if (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event))
217
+ return;
218
+ if (!el || el === event.target || event.composedPath().includes(el))
219
+ return;
220
+ if ("detail" in event && event.detail === 0)
221
+ shouldListen = !shouldIgnore(event);
222
+ if (!shouldListen) {
223
+ shouldListen = true;
224
+ return;
225
+ }
226
+ handler(event);
227
+ };
228
+ let isProcessingClick = false;
229
+ const cleanup = [
230
+ useEventListener(window2, "click", (event) => {
231
+ if (!isProcessingClick) {
232
+ isProcessingClick = true;
233
+ setTimeout(() => {
234
+ isProcessingClick = false;
235
+ }, 0);
236
+ listener(event);
237
+ }
238
+ }, { passive: true, capture }),
239
+ useEventListener(window2, "pointerdown", (e) => {
240
+ const el = unrefElement(target);
241
+ shouldListen = !shouldIgnore(e) && !!(el && !e.composedPath().includes(el));
242
+ }, { passive: true }),
243
+ detectIframe && useEventListener(window2, "blur", (event) => {
244
+ setTimeout(() => {
245
+ var _a;
246
+ const el = unrefElement(target);
247
+ if (((_a = window2.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window2.document.activeElement))) {
248
+ handler(event);
249
+ }
250
+ }, 0);
251
+ }, { passive: true })
252
+ ].filter(Boolean);
253
+ const stop = () => cleanup.forEach((fn) => fn());
254
+ if (controls) {
255
+ return {
256
+ stop,
257
+ cancel: () => {
258
+ shouldListen = false;
259
+ },
260
+ trigger: (event) => {
261
+ shouldListen = true;
262
+ listener(event);
263
+ shouldListen = false;
264
+ }
265
+ };
266
+ }
267
+ return stop;
268
+ }
269
+ const _hoisted_1 = {
270
+ id: "fabs",
271
+ class: "q-mb-md"
272
+ };
273
+ const _sfc_main = /* @__PURE__ */ defineComponent({
274
+ __name: "Md3Layout",
275
+ props: {
276
+ ready: { type: Boolean, default: true }
277
+ },
278
+ setup(__props) {
279
+ const $q = useQuasar();
280
+ const drawerRef = ref();
281
+ const leftDrawerOpen = ref(false);
282
+ const miniState = ref(false);
283
+ watch(
284
+ () => $q.screen.height,
285
+ () => {
286
+ toggleLeftDrawer(false);
287
+ if ($q.screen.gt.sm) {
288
+ miniState.value = true;
289
+ } else {
290
+ miniState.value = false;
291
+ }
292
+ }
293
+ );
294
+ const toggleLeftDrawer = (val) => {
295
+ leftDrawerOpen.value = val ?? $q.screen.gt.sm;
296
+ if ($q.screen.gt.sm) {
297
+ leftDrawerOpen.value = val ?? $q.screen.gt.sm;
298
+ miniState.value = !miniState.value;
299
+ } else {
300
+ leftDrawerOpen.value = val ?? !leftDrawerOpen.value;
301
+ miniState.value = false;
302
+ }
303
+ };
304
+ const toggleMiniState = (val) => {
305
+ if ($q.screen.gt.sm) {
306
+ leftDrawerOpen.value = true;
307
+ miniState.value = val ?? !miniState.value;
308
+ }
309
+ };
310
+ const onDrawerHide = () => {
311
+ if ($q.screen.gt.sm) {
312
+ miniState.value = true;
313
+ leftDrawerOpen.value = true;
314
+ }
315
+ };
316
+ const debouncedToggleMiniState = debounce(toggleMiniState, 500);
317
+ onClickOutside(drawerRef, () => toggleMiniState(true));
318
+ onMounted(() => {
319
+ console.log($q.screen);
320
+ if ($q.screen.gt.sm) {
321
+ toggleMiniState(true);
322
+ }
323
+ });
324
+ return (_ctx, _cache) => {
325
+ const _component_q_btn = QBtn;
326
+ const _component_q_toolbar = QToolbar;
327
+ const _component_q_header = QHeader;
328
+ const _component_q_footer = QFooter;
329
+ const _component_router_view = resolveComponent("router-view");
330
+ const _component_q_page_container = QPageContainer;
331
+ const _component_q_layout = QLayout;
332
+ return openBlock(), createBlock(_component_q_layout, { view: "lHh Lpr lFf" }, {
333
+ default: withCtx(() => [
334
+ withDirectives(createElementVNode("div", null, [
335
+ createVNode(_component_q_header, null, {
336
+ default: withCtx(() => [
337
+ createVNode(_component_q_toolbar, null, {
338
+ default: withCtx(() => [
339
+ !miniState.value ? (openBlock(), createBlock(_component_q_btn, {
340
+ key: 0,
341
+ flat: "",
342
+ dense: "",
343
+ round: "",
344
+ "aria-label": "Menu",
345
+ icon: "i-mdi-menu",
346
+ onClick: _cache[0] || (_cache[0] = ($event) => toggleLeftDrawer())
347
+ })) : createCommentVNode("", true),
348
+ renderSlot(_ctx.$slots, "header-toolbar")
349
+ ]),
350
+ _: 3
351
+ })
352
+ ]),
353
+ _: 3
354
+ }),
355
+ createVNode(unref(QDrawer), {
356
+ ref_key: "drawerRef",
357
+ ref: drawerRef,
358
+ "model-value": leftDrawerOpen.value,
359
+ width: 360,
360
+ "mini-width": 80,
361
+ mini: miniState.value,
362
+ "show-if-above": "",
363
+ bordered: "",
364
+ onHide: onDrawerHide,
365
+ "onUpdate:modelValue": toggleLeftDrawer,
366
+ onMouseleave: _cache[2] || (_cache[2] = ($event) => unref(debouncedToggleMiniState)(true))
367
+ }, {
368
+ mini: withCtx(() => [
369
+ createElementVNode("div", {
370
+ class: normalizeClass({
371
+ column: true,
372
+ "items-center": miniState.value,
373
+ "pr-0": true
374
+ })
375
+ }, [
376
+ createVNode(_component_q_btn, {
377
+ flat: "",
378
+ dense: "",
379
+ round: "",
380
+ "aria-label": "Menu",
381
+ icon: "i-mdi-menu",
382
+ class: "q-mb-md",
383
+ onClick: _cache[1] || (_cache[1] = ($event) => toggleLeftDrawer())
384
+ }),
385
+ createElementVNode("div", _hoisted_1, [
386
+ renderSlot(_ctx.$slots, "fabs", { showSticky: false })
387
+ ]),
388
+ _cache[3] || (_cache[3] = createElementVNode("div", {
389
+ id: "spacing",
390
+ class: "gt-md min-h-32px"
391
+ }, null, -1)),
392
+ renderSlot(_ctx.$slots, "drawer-mini-navigation")
393
+ ], 2)
394
+ ]),
395
+ default: withCtx(() => [
396
+ renderSlot(_ctx.$slots, "drawer")
397
+ ]),
398
+ _: 3
399
+ }, 8, ["model-value", "mini"]),
400
+ createVNode(_component_q_footer, { class: "h-80px lt-md" }, {
401
+ default: withCtx(() => [
402
+ renderSlot(_ctx.$slots, "footer")
403
+ ]),
404
+ _: 3
405
+ }),
406
+ createVNode(_component_q_page_container, null, {
407
+ default: withCtx(() => [
408
+ createVNode(_component_router_view),
409
+ renderSlot(_ctx.$slots, "fabs", { showSticky: true })
410
+ ]),
411
+ _: 3
412
+ })
413
+ ], 512), [
414
+ [vShow, _ctx.ready]
415
+ ])
416
+ ]),
417
+ _: 3
418
+ });
419
+ };
420
+ }
421
+ });
422
+ const lang$1 = {
423
+ isoName: "en-US"
424
+ };
425
+ const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
426
+ __proto__: null,
427
+ default: lang$1
428
+ }, Symbol.toStringTag, { value: "Module" }));
429
+ const lang = ref(lang$1);
430
+ const locales = /* @__PURE__ */ Object.assign({
431
+ "./en-US.ts": () => Promise.resolve().then(() => enUS),
432
+ "./nl.ts": () => import("./nl-NLgZUAKl.js")
433
+ });
434
+ const useLang = () => {
435
+ return lang;
436
+ };
437
+ let loadingLanguage = false;
438
+ const loadLang = async (isoName) => {
439
+ if (!loadingLanguage) {
440
+ loadingLanguage = true;
441
+ try {
442
+ const data = (await locales[`./${isoName}.ts`]()).default;
443
+ if (data) {
444
+ lang.value = data;
445
+ }
446
+ } catch (e) {
447
+ throw new Error(
448
+ `[quasar-components] Failed to load ${isoName} language file.`
449
+ );
450
+ }
451
+ loadingLanguage = false;
452
+ }
453
+ };
454
+ export {
455
+ _sfc_main as Md3Layout,
456
+ _sfc_main$1 as NavigationRailFabs,
457
+ loadLang,
458
+ useLang
459
+ };
@@ -1,5 +1,75 @@
1
1
  const lang = {
2
2
  isoName: "nl",
3
+ yes: "Ja",
4
+ no: "Nee",
5
+ selectMultiple: "Selecteer één of meerdere",
6
+ noResultsAvailable: "Geen resultaten beschikbaar.",
7
+ buttons: {
8
+ close: "Sluiten"
9
+ },
10
+ email: {
11
+ subject: "Onderwerp"
12
+ },
13
+ fields: {
14
+ name: "Naam",
15
+ firstName: "Voornaam",
16
+ lastName: "Achternaam",
17
+ address: "Adres",
18
+ postalCode: "Postcode",
19
+ city: "Woonplaats",
20
+ telephoneNumber: "Telefoonnummer"
21
+ },
22
+ validations: {
23
+ fieldRequired: "Veld is vereist."
24
+ },
25
+ gender: {
26
+ gender: "Geslacht",
27
+ male: "Mannelijk",
28
+ female: "Vrouwelijk",
29
+ other: "Anders"
30
+ },
31
+ postalCode: {
32
+ postalCode: "Postcode",
33
+ validations: {
34
+ invalidPostalCode: "Ongeldige postcode"
35
+ }
36
+ },
37
+ datePicker: {
38
+ date: "Datum",
39
+ placeholder: "JJJJ/MM/DD",
40
+ YYYY: "JJJJ",
41
+ MM: "MM",
42
+ DD: "DD",
43
+ validations: {
44
+ unavailableRange: "De geselecteerde periode bevat ongeschikbare datums."
45
+ }
46
+ },
47
+ currency: {
48
+ currency: "Valuta",
49
+ EUR: "Euro",
50
+ USD: "USD"
51
+ },
52
+ locale: {
53
+ locale: "Regio"
54
+ },
55
+ cron: {
56
+ name: "Herhaling",
57
+ minute: "Minuut",
58
+ hour: "Uur",
59
+ dayOfMonth: "Dag van maand",
60
+ month: "Maand",
61
+ dayOfWeek: "Dag van week",
62
+ every: {
63
+ minute: "Iedere minuut",
64
+ hour: "Ieder uur",
65
+ dayOfMonth: "Iedere dag",
66
+ month: "Iedere maand",
67
+ dayOfWeek: "Iedere dag van de week"
68
+ },
69
+ validations: {
70
+ invalidCron: "Cron regel is ongeldig."
71
+ }
72
+ },
3
73
  countries: {
4
74
  "ar-TN": "العربية (تونس)",
5
75
  ar: "العربية",
@@ -101,6 +101,10 @@ const lang = {
101
101
  addRole: ({ email }) => `Selecteer de rol die u wilt toevoegen aan ${email}.`,
102
102
  removeRole: ({ email }) => `Selecteer de rol die u wilt verwijderen van ${email}.`
103
103
  }
104
+ },
105
+ logout: {
106
+ confirmation: "Weet u zeker dat u wilt uitloggen?",
107
+ logout: "Log uit"
104
108
  }
105
109
  };
106
110
  export {
@@ -0,0 +1,6 @@
1
+ const lang = {
2
+ isoName: "nl"
3
+ };
4
+ export {
5
+ lang as default
6
+ };
@@ -45,12 +45,12 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
45
45
  done: () => void;
46
46
  }) => any) | undefined;
47
47
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
48
- default?: ((props: {
48
+ default?: (props: {
49
49
  submit: (args_0: {
50
50
  value?: string;
51
51
  done: () => void;
52
52
  }) => any;
53
- }) => any) | undefined;
53
+ }) => any;
54
54
  }>;
55
55
  export default _default;
56
56
  type __VLS_WithSlots<T, S> = T & {
@@ -2,7 +2,7 @@ export interface Props {
2
2
  withNetwork?: string;
3
3
  }
4
4
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
- icon?: ((props: {}) => any) | undefined;
5
+ icon?: (props: {}) => any;
6
6
  }>;
7
7
  export default _default;
8
8
  type __VLS_WithSlots<T, S> = T & {
@@ -59,12 +59,12 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
59
59
  done: () => void;
60
60
  }) => any) | undefined;
61
61
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
62
- default?: ((props: {
62
+ default?: (props: {
63
63
  submit: (args_0: {
64
64
  value?: string;
65
65
  done: () => void;
66
66
  }) => any;
67
- }) => any) | undefined;
67
+ }) => any;
68
68
  }>;
69
69
  export default _default;
70
70
  type __VLS_WithSlots<T, S> = T & {
@@ -0,0 +1,12 @@
1
+ export interface Props {
2
+ withNetwork?: string;
3
+ }
4
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
+ icon?: (props: {}) => any;
6
+ }>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -0,0 +1,18 @@
1
+ import { QFormProps } from 'quasar';
2
+ export interface Props {
3
+ form?: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
4
+ action: string;
5
+ xsrfSecret: string;
6
+ }
7
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
8
+ variables: import("vue").Ref<{}, {}>;
9
+ functions: import("vue").Ref<{}, {}>;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
11
+ default?: (props: {}) => any;
12
+ }>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -54,12 +54,12 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
54
54
  style?: Partial<CSSStyleDeclaration>;
55
55
  })>;
56
56
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
57
- default?: ((props: {
57
+ default?: (props: {
58
58
  submit: (args_0: {
59
59
  value?: string;
60
60
  done: () => void;
61
61
  }) => any;
62
- }) => any) | undefined;
62
+ }) => any;
63
63
  }>;
64
64
  export default _default;
65
65
  type __VLS_WithSlots<T, S> = T & {
@@ -84,12 +84,12 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
84
84
  rules?: ((val: string) => boolean)[];
85
85
  }[];
86
86
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
87
- default?: ((props: {
87
+ default?: (props: {
88
88
  submit: (args_0: {
89
89
  value?: string;
90
90
  done: () => void;
91
91
  }) => any;
92
- }) => any) | undefined;
92
+ }) => any;
93
93
  }>;
94
94
  export default _default;
95
95
  type __VLS_WithSlots<T, S> = T & {
@@ -34,12 +34,12 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
34
34
  done: () => void;
35
35
  }) => any) | undefined;
36
36
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
37
- default?: ((props: {
37
+ default?: (props: {
38
38
  submit: (args_0: {
39
39
  value?: string;
40
40
  done: () => void;
41
41
  }) => any;
42
- }) => any) | undefined;
42
+ }) => any;
43
43
  }>;
44
44
  export default _default;
45
45
  type __VLS_WithSlots<T, S> = T & {
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
13
13
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
14
14
  onSignOut?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
16
- default?: ((props: {}) => any) | undefined;
16
+ default?: (props: {}) => any;
17
17
  }>;
18
18
  export default _default;
19
19
  type __VLS_WithSlots<T, S> = T & {