@simsustech/quasar-components 0.1.2 → 0.2.0

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 (89) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang.fe90878f.js → QSubmitButton.vue_vue_type_script_setup_true_lang.65d6ac94.js} +7 -3
  3. package/dist/authentication.js +26 -8
  4. package/dist/en-US.d5751f99.js +217 -0
  5. package/dist/flags.js +5 -215
  6. package/dist/form.js +492 -0
  7. package/dist/general.js +341 -12
  8. package/dist/icons.js +2 -2
  9. package/dist/{nl.6b0aedb7.js → nl.1df15493.js} +1 -1
  10. package/dist/nl.7a710ba4.js +35 -0
  11. package/dist/style.css +2 -2
  12. package/dist/types/ui/authentication/ConsentList.vue.d.ts +2 -2
  13. package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +3 -3
  14. package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +2 -2
  15. package/dist/types/ui/authentication/LoginButton.vue.d.ts +2 -2
  16. package/dist/types/ui/authentication/LoginForm.vue.d.ts +3 -3
  17. package/dist/types/ui/authentication/OtpInput.vue.d.ts +2 -2
  18. package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +10 -10
  19. package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +2 -2
  20. package/dist/types/ui/authentication/RegisterForm.vue.d.ts +10 -10
  21. package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +3 -3
  22. package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +2 -2
  23. package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +2 -2
  24. package/dist/types/ui/form/BooleanItem.vue.d.ts +57 -0
  25. package/dist/types/ui/form/BooleanSelect.vue.d.ts +66 -0
  26. package/dist/types/ui/form/DateInput.vue.d.ts +61 -0
  27. package/dist/types/ui/form/FormInput.vue.d.ts +60 -0
  28. package/dist/types/ui/form/FormItem.vue.d.ts +64 -0
  29. package/dist/types/ui/form/GenderItem.vue.d.ts +57 -0
  30. package/dist/types/ui/form/GenderSelect.vue.d.ts +66 -0
  31. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +67 -0
  32. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +65 -0
  33. package/dist/types/ui/form/index.d.ts +9 -0
  34. package/dist/types/ui/form/lang/en-US.d.ts +3 -0
  35. package/dist/types/ui/form/lang/index.d.ts +68 -0
  36. package/dist/types/ui/form/lang/nl.d.ts +3 -0
  37. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +58 -0
  38. package/dist/types/ui/general/QStyledCard.vue.d.ts +2 -2
  39. package/dist/types/ui/general/QStyledLayout.vue.d.ts +2 -2
  40. package/dist/types/ui/general/QSubmitButton.vue.d.ts +21 -1
  41. package/dist/types/ui/general/ResourcePage.vue.d.ts +159 -0
  42. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +108 -0
  43. package/dist/types/ui/general/index.d.ts +3 -0
  44. package/dist/types/virtualModules.d.ts +3 -0
  45. package/dist/types/vite-plugin.d.ts +3 -1
  46. package/dist/virtualModules.d.ts +3 -0
  47. package/dist/virtualModules.js +3 -0
  48. package/dist/vite-plugin.d.ts +3 -1
  49. package/dist/vite-plugin.js +61 -25
  50. package/package.json +13 -5
  51. package/src/ui/authentication/EmailChangeForm.vue +7 -2
  52. package/src/ui/authentication/EmailChangeStepper.vue +4 -0
  53. package/src/ui/authentication/LoginForm.vue +7 -2
  54. package/src/ui/authentication/PasswordChangeForm.vue +7 -2
  55. package/src/ui/authentication/PasswordChangeStepper.vue +4 -0
  56. package/src/ui/authentication/RegisterForm.vue +7 -2
  57. package/src/ui/authentication/RequestOtpForm.vue +2 -2
  58. package/src/ui/authentication/lang/en-US.ts +1 -2
  59. package/src/ui/authentication/lang/nl.ts +1 -2
  60. package/src/ui/flags/README.md +1 -1
  61. package/src/ui/form/BooleanItem.vue +34 -0
  62. package/src/ui/form/BooleanSelect.vue +55 -0
  63. package/src/ui/form/DateInput.vue +70 -0
  64. package/src/ui/form/FormInput.vue +44 -0
  65. package/src/ui/form/FormItem.vue +50 -0
  66. package/src/ui/form/GenderItem.vue +35 -0
  67. package/src/ui/form/GenderSelect.vue +59 -0
  68. package/src/ui/form/PostalCodeInput.vue +47 -0
  69. package/src/ui/form/TelephoneNumberInput.vue +35 -0
  70. package/src/ui/form/index.ts +9 -0
  71. package/src/ui/form/lang/en-US.ts +36 -0
  72. package/src/ui/form/lang/index.ts +70 -0
  73. package/src/ui/form/lang/nl.ts +36 -0
  74. package/src/ui/general/QLanguageSelect.vue +86 -0
  75. package/src/ui/general/QStyledCard.vue +1 -1
  76. package/src/ui/general/QSubmitButton.vue +7 -2
  77. package/src/ui/general/ResourcePage.vue +121 -0
  78. package/src/ui/general/ResponsiveDialog.vue +94 -0
  79. package/src/ui/general/index.ts +3 -0
  80. package/src/ui/icons/README.md +2 -0
  81. package/src/virtualModules.ts +113 -0
  82. package/src/vite-plugin.ts +60 -17
  83. package/tsconfig.build.plugin.json +1 -1
  84. package/tsconfig.node.json +1 -1
  85. package/vite.config.ts +93 -93
  86. package/dist/types/ui/index.d.ts +0 -2
  87. package/src/ui/index.ts +0 -2
  88. /package/dist/types/ui/icons/{icons.d.ts → labels.d.ts} +0 -0
  89. /package/src/ui/icons/{icons.ts → labels.ts} +0 -0
package/dist/general.js CHANGED
@@ -1,14 +1,15 @@
1
- import { l as loadLang, u as useLang } from "./QSubmitButton.vue_vue_type_script_setup_true_lang.fe90878f.js";
2
- import { _ } from "./QSubmitButton.vue_vue_type_script_setup_true_lang.fe90878f.js";
3
- import { useQuasar, QCard, QCardSection, QCardActions } from "quasar";
4
- import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps } from "vue";
5
- const _hoisted_1 = { class: "text-h6" };
1
+ import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang.65d6ac94.js";
2
+ import { _ } from "./QSubmitButton.vue_vue_type_script_setup_true_lang.65d6ac94.js";
3
+ import { useQuasar, QCard, QCardSection, QCardActions, QBtn, QToolbarTitle, QToolbar, QHeader, QPage, QPageContainer, QLayout, QDialog, QSpace, QPageSticky, QSelect, QItemSection, QItemLabel, QItem } from "quasar";
4
+ import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, normalizeClass, createCommentVNode, toRefs, useAttrs, computed, mergeProps, createTextVNode, toDisplayString } from "vue";
5
+ import { e as enUs, n as nl } from "./en-US.d5751f99.js";
6
+ const _hoisted_1$1 = { class: "text-h6" };
6
7
  const _hoisted_2 = { class: "text-subtitle2" };
7
- const __default__ = {
8
+ const __default__$2 = {
8
9
  name: "QStyledCard"
9
10
  };
10
- const _sfc_main = /* @__PURE__ */ defineComponent({
11
- ...__default__,
11
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12
+ ...__default__$2,
12
13
  props: {
13
14
  actions: null
14
15
  },
@@ -39,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
40
  renderSlot(_ctx.$slots, "image", {}, void 0, true),
40
41
  createVNode(_component_q_card_section, null, {
41
42
  default: withCtx(() => [
42
- createElementVNode("div", _hoisted_1, [
43
+ createElementVNode("div", _hoisted_1$1, [
43
44
  renderSlot(_ctx.$slots, "title", {}, void 0, true)
44
45
  ]),
45
46
  createElementVNode("div", _hoisted_2, [
@@ -66,7 +67,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
67
  };
67
68
  }
68
69
  });
69
- const QStyledCard_vue_vue_type_style_index_0_scoped_110a70fd_lang = "";
70
+ const QStyledCard_vue_vue_type_style_index_0_scoped_302df27a_lang = "";
70
71
  const _export_sfc = (sfc, props) => {
71
72
  const target = sfc.__vccOpts || sfc;
72
73
  for (const [key, val] of props) {
@@ -74,8 +75,336 @@ const _export_sfc = (sfc, props) => {
74
75
  }
75
76
  return target;
76
77
  };
77
- const QStyledCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-110a70fd"]]);
78
+ const QStyledCard = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-302df27a"]]);
79
+ const __default__$1 = {
80
+ name: "ResponsiveDialog"
81
+ };
82
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
83
+ ...__default__$1,
84
+ props: {
85
+ display: { type: Boolean }
86
+ },
87
+ emits: ["submit"],
88
+ setup(__props, { expose, emit }) {
89
+ const modelValue = ref(false);
90
+ const $q = useQuasar();
91
+ const lang = useLang();
92
+ if (lang.value.isoName !== $q.lang.isoName)
93
+ loadLang($q.lang.isoName);
94
+ watch($q.lang, (val) => {
95
+ loadLang($q.lang.isoName);
96
+ });
97
+ const submit = (evt) => {
98
+ emit("submit", {
99
+ done: (success = true) => {
100
+ evt.done();
101
+ if (success)
102
+ modelValue.value = false;
103
+ }
104
+ });
105
+ };
106
+ const open = () => modelValue.value = true;
107
+ const close = () => modelValue.value = false;
108
+ const toggle = () => modelValue.value = !modelValue.value;
109
+ const variables = ref({});
110
+ const functions = ref({
111
+ open,
112
+ close,
113
+ toggle
114
+ });
115
+ expose({
116
+ variables,
117
+ functions
118
+ });
119
+ return (_ctx, _cache) => {
120
+ const _component_q_btn = QBtn;
121
+ const _component_q_toolbar_title = QToolbarTitle;
122
+ const _component_q_toolbar = QToolbar;
123
+ const _component_q_header = QHeader;
124
+ const _component_q_page = QPage;
125
+ const _component_q_page_container = QPageContainer;
126
+ const _component_q_layout = QLayout;
127
+ const _component_q_dialog = QDialog;
128
+ return openBlock(), createBlock(_component_q_dialog, {
129
+ "model-value": modelValue.value,
130
+ maximized: unref($q).screen.lt.md
131
+ }, {
132
+ default: withCtx(() => [
133
+ createVNode(_component_q_layout, {
134
+ view: "LHh lpR fff",
135
+ container: "",
136
+ class: normalizeClass({ "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }),
137
+ style: { "min-width": "85vw" }
138
+ }, {
139
+ default: withCtx(() => [
140
+ createVNode(_component_q_header, { class: "bg-primary" }, {
141
+ default: withCtx(() => [
142
+ createVNode(_component_q_toolbar, null, {
143
+ default: withCtx(() => [
144
+ createVNode(_component_q_btn, {
145
+ icon: "close",
146
+ flat: "",
147
+ round: "",
148
+ dense: "",
149
+ onClick: close
150
+ }),
151
+ createVNode(_component_q_toolbar_title, null, {
152
+ default: withCtx(() => [
153
+ renderSlot(_ctx.$slots, "title")
154
+ ]),
155
+ _: 3
156
+ }),
157
+ !__props.display ? (openBlock(), createBlock(_sfc_main$4, {
158
+ key: 0,
159
+ color: "accent",
160
+ onSubmit: submit
161
+ })) : createCommentVNode("", true)
162
+ ]),
163
+ _: 3
164
+ })
165
+ ]),
166
+ _: 3
167
+ }),
168
+ createVNode(_component_q_page_container, { style: { "padding-bottom": "-50px" } }, {
169
+ default: withCtx(() => [
170
+ createVNode(_component_q_page, { class: "q-pa-md q-pb-xl" }, {
171
+ default: withCtx(() => [
172
+ renderSlot(_ctx.$slots, "default")
173
+ ]),
174
+ _: 3
175
+ })
176
+ ]),
177
+ _: 3
178
+ })
179
+ ]),
180
+ _: 3
181
+ }, 8, ["class"])
182
+ ]),
183
+ _: 3
184
+ }, 8, ["model-value", "maximized"]);
185
+ };
186
+ }
187
+ });
188
+ const _hoisted_1 = { style: { "margin-top": "80px" } };
189
+ const __default__ = {
190
+ name: "ResourcePage"
191
+ };
192
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
193
+ ...__default__,
194
+ props: {
195
+ type: { default: "create" },
196
+ disabled: { type: Boolean, default: false }
197
+ },
198
+ emits: ["create", "update"],
199
+ setup(__props, { expose, emit }) {
200
+ const props = __props;
201
+ const $q = useQuasar();
202
+ const lang = useLang();
203
+ if (lang.value.isoName !== $q.lang.isoName)
204
+ loadLang($q.lang.isoName);
205
+ watch($q.lang, (val) => {
206
+ loadLang($q.lang.isoName);
207
+ });
208
+ const { disabled } = toRefs(props);
209
+ const done = () => "";
210
+ const create = (evt) => disabled.value ? () => {
211
+ } : emit("create", { done });
212
+ const update = (evt) => disabled.value ? () => {
213
+ } : emit("update", { done });
214
+ const variables = ref({});
215
+ const functions = ref({});
216
+ expose({
217
+ variables,
218
+ functions
219
+ });
220
+ return (_ctx, _cache) => {
221
+ const _component_q_btn = QBtn;
222
+ const _component_q_toolbar_title = QToolbarTitle;
223
+ const _component_q_space = QSpace;
224
+ const _component_q_toolbar = QToolbar;
225
+ const _component_q_page_sticky = QPageSticky;
226
+ const _component_q_page = QPage;
227
+ return openBlock(), createBlock(_component_q_page, { class: "q-ma-md" }, {
228
+ default: withCtx(() => [
229
+ createElementVNode("div", _hoisted_1, [
230
+ renderSlot(_ctx.$slots, "default")
231
+ ]),
232
+ createVNode(_component_q_page_sticky, {
233
+ expand: "",
234
+ position: "top"
235
+ }, {
236
+ default: withCtx(() => [
237
+ createVNode(_component_q_toolbar, {
238
+ class: normalizeClass(["shadow-2", { "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }])
239
+ }, {
240
+ default: withCtx(() => [
241
+ __props.type === "create" ? (openBlock(), createBlock(_component_q_btn, {
242
+ key: 0,
243
+ disable: unref(disabled),
244
+ flat: "",
245
+ style: { "margin-bottom": "-50px", "z-index": "5" },
246
+ round: "",
247
+ size: "lg",
248
+ dense: "",
249
+ icon: "add",
250
+ class: "q-mr-sm bg-primary text-white",
251
+ onClick: create
252
+ }, null, 8, ["disable"])) : (openBlock(), createBlock(_component_q_btn, {
253
+ key: 1,
254
+ disable: unref(disabled),
255
+ flat: "",
256
+ style: { "margin-bottom": "-50px", "z-index": "5" },
257
+ round: "",
258
+ size: "lg",
259
+ dense: "",
260
+ icon: "edit",
261
+ class: "q-mr-sm bg-primary text-white",
262
+ onClick: update
263
+ }, null, 8, ["disable"])),
264
+ createVNode(_component_q_toolbar_title, { shrink: "" }, {
265
+ default: withCtx(() => [
266
+ renderSlot(_ctx.$slots, "header")
267
+ ]),
268
+ _: 3
269
+ }),
270
+ createVNode(_component_q_space)
271
+ ]),
272
+ _: 3
273
+ }, 8, ["class"])
274
+ ]),
275
+ _: 3
276
+ })
277
+ ]),
278
+ _: 3
279
+ });
280
+ };
281
+ }
282
+ });
283
+ const _sfc_main = /* @__PURE__ */ defineComponent({
284
+ __name: "QLanguageSelect",
285
+ props: {
286
+ modelValue: null,
287
+ languageImports: null
288
+ },
289
+ setup(__props) {
290
+ const props = __props;
291
+ const $q = useQuasar();
292
+ const { modelValue } = toRefs(props);
293
+ const attrs = useAttrs();
294
+ const nlRef = ref();
295
+ computed(() => {
296
+ var _a;
297
+ return (_a = nlRef.value) == null ? void 0 : _a.variables.country;
298
+ });
299
+ const nlLanguage = computed(() => {
300
+ var _a;
301
+ return (_a = nlRef.value) == null ? void 0 : _a.variables.language;
302
+ });
303
+ const enUsRef = ref();
304
+ computed(() => {
305
+ var _a;
306
+ return (_a = enUsRef.value) == null ? void 0 : _a.variables.country;
307
+ });
308
+ const enUsLanguage = computed(() => {
309
+ var _a;
310
+ return (_a = enUsRef.value) == null ? void 0 : _a.variables.language;
311
+ });
312
+ const languageOptions = [
313
+ {
314
+ label: enUsLanguage.value,
315
+ value: "en-US"
316
+ },
317
+ {
318
+ label: nlLanguage.value,
319
+ value: "nl"
320
+ }
321
+ ];
322
+ watch(modelValue, (langIso) => {
323
+ try {
324
+ props.languageImports[langIso]().then(
325
+ (lang) => {
326
+ $q.lang.set(lang.default);
327
+ }
328
+ );
329
+ } catch (e) {
330
+ console.error(e);
331
+ }
332
+ });
333
+ return (_ctx, _cache) => {
334
+ const _component_q_item_section = QItemSection;
335
+ const _component_q_item_label = QItemLabel;
336
+ const _component_q_item = QItem;
337
+ return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
338
+ options: languageOptions,
339
+ "model-value": unref(modelValue),
340
+ "emit-value": "",
341
+ "map-options": ""
342
+ }), {
343
+ selected: withCtx(() => [
344
+ unref(modelValue) === "en-US" ? (openBlock(), createBlock(unref(enUs), { key: 0 })) : createCommentVNode("", true),
345
+ unref(modelValue) === "nl" ? (openBlock(), createBlock(unref(nl), { key: 1 })) : createCommentVNode("", true)
346
+ ]),
347
+ option: withCtx((scope) => [
348
+ scope.opt.value === "en-US" ? (openBlock(), createBlock(_component_q_item, normalizeProps(mergeProps({ key: 0 }, scope.itemProps)), {
349
+ default: withCtx(() => [
350
+ createVNode(_component_q_item_section, { avatar: "" }, {
351
+ default: withCtx(() => [
352
+ createVNode(unref(enUs), {
353
+ ref_key: "enUsRef",
354
+ ref: enUsRef
355
+ }, null, 512)
356
+ ]),
357
+ _: 1
358
+ }),
359
+ createVNode(_component_q_item_section, null, {
360
+ default: withCtx(() => [
361
+ createVNode(_component_q_item_label, null, {
362
+ default: withCtx(() => [
363
+ createTextVNode(toDisplayString(unref(enUsLanguage)), 1)
364
+ ]),
365
+ _: 1
366
+ })
367
+ ]),
368
+ _: 1
369
+ })
370
+ ]),
371
+ _: 2
372
+ }, 1040)) : createCommentVNode("", true),
373
+ scope.opt.value === "nl" ? (openBlock(), createBlock(_component_q_item, normalizeProps(mergeProps({ key: 1 }, scope.itemProps)), {
374
+ default: withCtx(() => [
375
+ createVNode(_component_q_item_section, { avatar: "" }, {
376
+ default: withCtx(() => [
377
+ createVNode(unref(nl), {
378
+ ref_key: "nlRef",
379
+ ref: nlRef
380
+ }, null, 512)
381
+ ]),
382
+ _: 1
383
+ }),
384
+ createVNode(_component_q_item_section, null, {
385
+ default: withCtx(() => [
386
+ createVNode(_component_q_item_label, null, {
387
+ default: withCtx(() => [
388
+ createTextVNode(toDisplayString(unref(nlLanguage)), 1)
389
+ ]),
390
+ _: 1
391
+ })
392
+ ]),
393
+ _: 1
394
+ })
395
+ ]),
396
+ _: 2
397
+ }, 1040)) : createCommentVNode("", true)
398
+ ]),
399
+ _: 1
400
+ }, 16, ["model-value"]);
401
+ };
402
+ }
403
+ });
78
404
  export {
405
+ _sfc_main as QLanguageSelect,
79
406
  QStyledCard,
80
- _ as QSubmitButton
407
+ _ as QSubmitButton,
408
+ _sfc_main$1 as ResourcePage,
409
+ _sfc_main$2 as ResponsiveDialog
81
410
  };
package/dist/icons.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ref, h } from "vue";
2
2
  import { useQuasar, QIcon } from "quasar";
3
3
  const icon = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCmFyaWEtbGFiZWw9Ik1pY3Jvc29mdCIgcm9sZT0iaW1nIgp2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHJlY3QKd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiCnJ4PSIxNSUiCmZpbGw9IiNmZmYiLz48cGF0aApkPSJNNzUgNzV2MTcxaDE3MXYtMTcxeiIgZmlsbD0iI2YyNTAyMiIvPjxwYXRoCmQ9Ik0yNjYgNzV2MTcxaDE3MXYtMTcxeiIgZmlsbD0iIzdmYmEwMCIvPjxwYXRoCmQ9Ik03NSAyNjZ2MTcxaDE3MXYtMTcxeiIgZmlsbD0iIzAwYTRlZiIvPjxwYXRoCmQ9Ik0yNjYgMjY2djE3MWgxNzF2LTE3MXoiIGZpbGw9IiNmZmI5MDAiLz48L3N2Zz4=";
4
- const icons = {
4
+ const labels = {
5
5
  microsoft: {
6
6
  name: "Microsoft"
7
7
  }
@@ -9,7 +9,7 @@ const icons = {
9
9
  const microsoft = {
10
10
  setup(props, context) {
11
11
  useQuasar();
12
- const variables = ref(icons["microsoft"]);
12
+ const variables = ref(labels["microsoft"]);
13
13
  const functions = ref({});
14
14
  context.expose({
15
15
  variables,
@@ -81,7 +81,7 @@ const lang = {
81
81
  alreadyRegistered: "Email adres is al geregistreerd."
82
82
  },
83
83
  verification: {
84
- slider: "Please drag the slider all the way to the right until it turns green."
84
+ slider: "Sleep a.u.b. het onderstaande bolletje helemaal naar rechts."
85
85
  }
86
86
  };
87
87
  export {
@@ -0,0 +1,35 @@
1
+ const lang = {
2
+ isoName: "nl",
3
+ yes: "Ja",
4
+ no: "Nee",
5
+ buttons: {
6
+ close: "Sluiten"
7
+ },
8
+ fields: {
9
+ name: "Naam",
10
+ firstName: "Voornaam",
11
+ surname: "Achternaam",
12
+ address: "Adres",
13
+ postalCode: "Postcode",
14
+ city: "Woonplaats",
15
+ telephoneNumber: "Telefoonnumer"
16
+ },
17
+ validations: {
18
+ fieldRequired: "Veld is vereist."
19
+ },
20
+ gender: {
21
+ gender: "Geslacht",
22
+ male: "Man",
23
+ female: "Vrouw",
24
+ other: "Anders"
25
+ },
26
+ postalCode: {
27
+ postalCode: "Postcode",
28
+ validations: {
29
+ invalidPostalCode: "Ongeldige postcode"
30
+ }
31
+ }
32
+ };
33
+ export {
34
+ lang as default
35
+ };
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- .card[data-v-110a70fd] {
1
+ .card[data-v-302df27a] {
2
2
  width: 100%;
3
- max-width: 400px;
3
+ max-width: 300px;
4
4
  }
@@ -74,8 +74,8 @@ declare const _default: {
74
74
  functions: import("vue").Ref<{}>;
75
75
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
76
76
  export default _default;
77
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
78
- declare type __VLS_TypePropsToRuntimeProps<T> = {
77
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
78
+ type __VLS_TypePropsToRuntimeProps<T> = {
79
79
  [K in keyof T]-?: {} extends Pick<T, K> ? {
80
80
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
81
81
  } : {
@@ -1,7 +1,7 @@
1
1
  import { QFormProps, QInputProps } from 'quasar';
2
2
  export interface Props {
3
3
  email: string;
4
- form?: QFormProps & HTMLFormElement;
4
+ form?: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
5
5
  input?: Omit<QInputProps, 'id' | 'name' | 'modelValue' | 'label' | 'rules' | 'type' | 'lazy-rules' | 'autofocus' | ('label' & {
6
6
  style?: Partial<CSSStyleDeclaration>;
7
7
  })>;
@@ -136,8 +136,8 @@ declare const _default: {
136
136
  };
137
137
  });
138
138
  export default _default;
139
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
140
- declare type __VLS_TypePropsToRuntimeProps<T> = {
139
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
140
+ type __VLS_TypePropsToRuntimeProps<T> = {
141
141
  [K in keyof T]-?: {} extends Pick<T, K> ? {
142
142
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
143
143
  } : {
@@ -157,8 +157,8 @@ declare const _default: {
157
157
  }) => void;
158
158
  }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
159
159
  export default _default;
160
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
161
- declare type __VLS_TypePropsToRuntimeProps<T> = {
160
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
161
+ type __VLS_TypePropsToRuntimeProps<T> = {
162
162
  [K in keyof T]-?: {} extends Pick<T, K> ? {
163
163
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
164
164
  } : {
@@ -58,8 +58,8 @@ declare const _default: {
58
58
  };
59
59
  });
60
60
  export default _default;
61
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
- declare type __VLS_TypePropsToRuntimeProps<T> = {
61
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
+ type __VLS_TypePropsToRuntimeProps<T> = {
63
63
  [K in keyof T]-?: {} extends Pick<T, K> ? {
64
64
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
65
65
  } : {
@@ -2,7 +2,7 @@ import { QFormProps, QInputProps } from 'quasar';
2
2
  export interface Props {
3
3
  useUsername?: boolean;
4
4
  passwordForgotUrl?: string;
5
- form?: QFormProps & HTMLFormElement;
5
+ form?: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
6
6
  input?: Omit<QInputProps, 'id' | 'name' | 'modelValue' | 'label' | 'rules' | 'type' | 'lazy-rules' | 'autofocus' | ('label' & {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
@@ -146,8 +146,8 @@ declare const _default: {
146
146
  };
147
147
  });
148
148
  export default _default;
149
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
150
- declare type __VLS_TypePropsToRuntimeProps<T> = {
149
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
150
+ type __VLS_TypePropsToRuntimeProps<T> = {
151
151
  [K in keyof T]-?: {} extends Pick<T, K> ? {
152
152
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
153
153
  } : {
@@ -58,8 +58,8 @@ declare const _default: {
58
58
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
59
59
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
60
60
  export default _default;
61
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
- declare type __VLS_TypePropsToRuntimeProps<T> = {
61
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
+ type __VLS_TypePropsToRuntimeProps<T> = {
63
63
  [K in keyof T]-?: {} extends Pick<T, K> ? {
64
64
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
65
65
  } : {
@@ -2,7 +2,7 @@ import { QFormProps, QInputProps } from 'quasar';
2
2
  export interface Props {
3
3
  email: string;
4
4
  minimumPasswordLength?: number;
5
- form?: QFormProps & HTMLFormElement;
5
+ form?: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
6
6
  input?: Omit<QInputProps, 'id' | 'name' | 'modelValue' | 'label' | 'rules' | 'type' | 'lazy-rules' | 'autofocus' | ('label' & {
7
7
  style?: Partial<CSSStyleDeclaration>;
8
8
  })>;
@@ -13,8 +13,8 @@ declare const _default: {
13
13
  $data: {};
14
14
  $props: Partial<{
15
15
  minimumPasswordLength: number;
16
- form: QFormProps & HTMLFormElement;
17
- input: Omit<QInputProps, "label" | "name" | "type" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
16
+ form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
17
+ input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
18
18
  style?: Partial<CSSStyleDeclaration> | undefined;
19
19
  })>;
20
20
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
@@ -77,8 +77,8 @@ declare const _default: {
77
77
  }) => void;
78
78
  }, string, {
79
79
  minimumPasswordLength: number;
80
- form: QFormProps & HTMLFormElement;
81
- input: Omit<QInputProps, "label" | "name" | "type" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
80
+ form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
81
+ input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
82
82
  style?: Partial<CSSStyleDeclaration> | undefined;
83
83
  })>;
84
84
  }, {}, string> & {
@@ -156,8 +156,8 @@ declare const _default: {
156
156
  }) => void;
157
157
  }, string, {
158
158
  minimumPasswordLength: number;
159
- form: QFormProps & HTMLFormElement;
160
- input: Omit<QInputProps, "label" | "name" | "type" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
159
+ form: QFormProps & Partial<HTMLFormElement> & Partial<HTMLDivElement>;
160
+ input: Omit<QInputProps, "name" | "type" | "label" | "modelValue" | "id" | "lazy-rules" | "rules" | "autofocus" | ("label" & {
161
161
  style?: Partial<CSSStyleDeclaration> | undefined;
162
162
  })>;
163
163
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -171,8 +171,8 @@ declare const _default: {
171
171
  };
172
172
  });
173
173
  export default _default;
174
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
175
- declare type __VLS_TypePropsToRuntimeProps<T> = {
174
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
175
+ type __VLS_TypePropsToRuntimeProps<T> = {
176
176
  [K in keyof T]-?: {} extends Pick<T, K> ? {
177
177
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
178
178
  } : {
@@ -180,7 +180,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
180
180
  required: true;
181
181
  };
182
182
  };
183
- declare type __VLS_WithDefaults<P, D> = {
183
+ type __VLS_WithDefaults<P, D> = {
184
184
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
185
185
  default: D[K];
186
186
  } : P[K];
@@ -157,8 +157,8 @@ declare const _default: {
157
157
  }) => void;
158
158
  }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
159
159
  export default _default;
160
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
161
- declare type __VLS_TypePropsToRuntimeProps<T> = {
160
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
161
+ type __VLS_TypePropsToRuntimeProps<T> = {
162
162
  [K in keyof T]-?: {} extends Pick<T, K> ? {
163
163
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
164
164
  } : {