@simsustech/quasar-components 0.1.3 → 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 (64) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang.1d0c06eb.js → QSubmitButton.vue_vue_type_script_setup_true_lang.65d6ac94.js} +6 -2
  3. package/dist/authentication.js +3 -3
  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/form/BooleanItem.vue.d.ts +57 -0
  13. package/dist/types/ui/form/BooleanSelect.vue.d.ts +66 -0
  14. package/dist/types/ui/form/DateInput.vue.d.ts +61 -0
  15. package/dist/types/ui/form/FormInput.vue.d.ts +60 -0
  16. package/dist/types/ui/form/FormItem.vue.d.ts +64 -0
  17. package/dist/types/ui/form/GenderItem.vue.d.ts +57 -0
  18. package/dist/types/ui/form/GenderSelect.vue.d.ts +66 -0
  19. package/dist/types/ui/form/PostalCodeInput.vue.d.ts +67 -0
  20. package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +65 -0
  21. package/dist/types/ui/form/index.d.ts +9 -0
  22. package/dist/types/ui/form/lang/en-US.d.ts +3 -0
  23. package/dist/types/ui/form/lang/index.d.ts +68 -0
  24. package/dist/types/ui/form/lang/nl.d.ts +3 -0
  25. package/dist/types/ui/general/QLanguageSelect.vue.d.ts +58 -0
  26. package/dist/types/ui/general/QSubmitButton.vue.d.ts +21 -1
  27. package/dist/types/ui/general/ResourcePage.vue.d.ts +159 -0
  28. package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +108 -0
  29. package/dist/types/ui/general/index.d.ts +3 -0
  30. package/dist/types/virtualModules.d.ts +1 -0
  31. package/dist/virtualModules.d.ts +1 -0
  32. package/dist/virtualModules.js +3 -2
  33. package/dist/vite-plugin.js +26 -5
  34. package/package.json +6 -1
  35. package/src/ui/authentication/lang/en-US.ts +1 -2
  36. package/src/ui/authentication/lang/nl.ts +1 -2
  37. package/src/ui/flags/README.md +1 -1
  38. package/src/ui/form/BooleanItem.vue +34 -0
  39. package/src/ui/form/BooleanSelect.vue +55 -0
  40. package/src/ui/form/DateInput.vue +70 -0
  41. package/src/ui/form/FormInput.vue +44 -0
  42. package/src/ui/form/FormItem.vue +50 -0
  43. package/src/ui/form/GenderItem.vue +35 -0
  44. package/src/ui/form/GenderSelect.vue +59 -0
  45. package/src/ui/form/PostalCodeInput.vue +47 -0
  46. package/src/ui/form/TelephoneNumberInput.vue +35 -0
  47. package/src/ui/form/index.ts +9 -0
  48. package/src/ui/form/lang/en-US.ts +36 -0
  49. package/src/ui/form/lang/index.ts +70 -0
  50. package/src/ui/form/lang/nl.ts +36 -0
  51. package/src/ui/general/QLanguageSelect.vue +86 -0
  52. package/src/ui/general/QStyledCard.vue +1 -1
  53. package/src/ui/general/QSubmitButton.vue +6 -1
  54. package/src/ui/general/ResourcePage.vue +121 -0
  55. package/src/ui/general/ResponsiveDialog.vue +94 -0
  56. package/src/ui/general/index.ts +3 -0
  57. package/src/ui/icons/README.md +2 -0
  58. package/src/virtualModules.ts +48 -5
  59. package/src/vite-plugin.ts +26 -6
  60. package/vite.config.ts +30 -30
  61. package/dist/types/ui/index.d.ts +0 -1
  62. package/src/ui/index.ts +0 -1
  63. /package/dist/types/ui/icons/{icons.d.ts → labels.d.ts} +0 -0
  64. /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.1d0c06eb.js";
2
- import { _ } from "./QSubmitButton.vue_vue_type_script_setup_true_lang.1d0c06eb.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
  }
@@ -0,0 +1,57 @@
1
+ export interface Props {
2
+ modelValue: boolean;
3
+ label: string;
4
+ }
5
+ declare const _default: {
6
+ new (...args: any[]): {
7
+ $: import("vue").ComponentInternalInstance;
8
+ $data: {};
9
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
10
+ $attrs: {
11
+ [x: string]: unknown;
12
+ };
13
+ $refs: {
14
+ [x: string]: unknown;
15
+ };
16
+ $slots: Readonly<{
17
+ [name: string]: import("vue").Slot | undefined;
18
+ }>;
19
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
20
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
21
+ $emit: (event: string, ...args: any[]) => void;
22
+ $el: any;
23
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
24
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
25
+ created?: ((() => void) | (() => void)[]) | undefined;
26
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
27
+ mounted?: ((() => void) | (() => void)[]) | undefined;
28
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
29
+ updated?: ((() => void) | (() => void)[]) | undefined;
30
+ activated?: ((() => void) | (() => void)[]) | undefined;
31
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
32
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
33
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
34
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
35
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
36
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
37
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
38
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
39
+ };
40
+ $forceUpdate: () => void;
41
+ $nextTick: typeof import("vue").nextTick;
42
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
43
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
44
+ __isFragment?: undefined;
45
+ __isTeleport?: undefined;
46
+ __isSuspense?: undefined;
47
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
48
+ export default _default;
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToRuntimeProps<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
@@ -0,0 +1,66 @@
1
+ export interface Props {
2
+ modelValue: boolean;
3
+ label?: string;
4
+ required?: boolean;
5
+ }
6
+ declare const _default: {
7
+ new (...args: any[]): {
8
+ $: import("vue").ComponentInternalInstance;
9
+ $data: {};
10
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
11
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
13
+ $attrs: {
14
+ [x: string]: unknown;
15
+ };
16
+ $refs: {
17
+ [x: string]: unknown;
18
+ };
19
+ $slots: Readonly<{
20
+ [name: string]: import("vue").Slot | undefined;
21
+ }>;
22
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
23
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
24
+ $emit: (event: "update:modelValue", ...args: any[]) => void;
25
+ $el: any;
26
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
27
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], string, {}, {}, string> & {
29
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
30
+ created?: ((() => void) | (() => void)[]) | undefined;
31
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
32
+ mounted?: ((() => void) | (() => void)[]) | undefined;
33
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
34
+ updated?: ((() => void) | (() => void)[]) | undefined;
35
+ activated?: ((() => void) | (() => void)[]) | undefined;
36
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
37
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
38
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
39
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
40
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
41
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
42
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
43
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
44
+ };
45
+ $forceUpdate: () => void;
46
+ $nextTick: typeof import("vue").nextTick;
47
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
48
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
49
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
51
+ __isFragment?: undefined;
52
+ __isTeleport?: undefined;
53
+ __isSuspense?: undefined;
54
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
55
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
57
+ export default _default;
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
+ type __VLS_TypePropsToRuntimeProps<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
+ } : {
63
+ type: import('vue').PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
@@ -0,0 +1,61 @@
1
+ import { QDateProps } from 'quasar';
2
+ export interface Props {
3
+ modelValue?: string | null;
4
+ label?: string;
5
+ required?: boolean;
6
+ clearable?: boolean;
7
+ date?: Partial<QDateProps>;
8
+ }
9
+ declare const _default: {
10
+ new (...args: any[]): {
11
+ $: import("vue").ComponentInternalInstance;
12
+ $data: {};
13
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
14
+ $attrs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $refs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $slots: Readonly<{
21
+ [name: string]: import("vue").Slot | undefined;
22
+ }>;
23
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
24
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
25
+ $emit: (event: string, ...args: any[]) => void;
26
+ $el: any;
27
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
28
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
29
+ created?: ((() => void) | (() => void)[]) | undefined;
30
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
31
+ mounted?: ((() => void) | (() => void)[]) | undefined;
32
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
33
+ updated?: ((() => void) | (() => void)[]) | undefined;
34
+ activated?: ((() => void) | (() => void)[]) | undefined;
35
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
37
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
38
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
39
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
40
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
41
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
42
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
43
+ };
44
+ $forceUpdate: () => void;
45
+ $nextTick: typeof import("vue").nextTick;
46
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
47
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
48
+ __isFragment?: undefined;
49
+ __isTeleport?: undefined;
50
+ __isSuspense?: undefined;
51
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
52
+ export default _default;
53
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ type __VLS_TypePropsToRuntimeProps<T> = {
55
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
+ } : {
58
+ type: import('vue').PropType<T[K]>;
59
+ required: true;
60
+ };
61
+ };