@simsustech/quasar-components 0.1.3 → 0.3.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.
- package/CHANGELOG.md +17 -0
- package/dist/{QSubmitButton.vue_vue_type_script_setup_true_lang.1d0c06eb.js → QSubmitButton.vue_vue_type_script_setup_true_lang-b5f452c6.js} +11 -4
- package/dist/authentication.js +53 -27
- package/dist/en-US-6cc72154.js +226 -0
- package/dist/flags.js +5 -215
- package/dist/form.js +543 -0
- package/dist/general.js +364 -14
- package/dist/icons.js +5 -3
- package/dist/nl-38cb2607.js +134 -0
- package/dist/{nl.6b0aedb7.js → nl-710ec15d.js} +1 -1
- package/dist/nl-ea9ab282.js +38 -0
- package/dist/style.css +2 -2
- package/dist/types/ui/authentication/ConsentList.vue.d.ts +2 -58
- package/dist/types/ui/authentication/EmailChangeForm.vue.d.ts +20 -112
- package/dist/types/ui/authentication/EmailChangeStepper.vue.d.ts +13 -131
- package/dist/types/ui/authentication/LoginButton.vue.d.ts +9 -54
- package/dist/types/ui/authentication/LoginForm.vue.d.ts +20 -118
- package/dist/types/ui/authentication/OtpInput.vue.d.ts +4 -56
- package/dist/types/ui/authentication/PasswordChangeForm.vue.d.ts +31 -140
- package/dist/types/ui/authentication/PasswordChangeStepper.vue.d.ts +13 -131
- package/dist/types/ui/authentication/RegisterForm.vue.d.ts +33 -167
- package/dist/types/ui/authentication/RequestOtpForm.vue.d.ts +18 -100
- package/dist/types/ui/authentication/UserMenuButton.vue.d.ts +11 -64
- package/dist/types/ui/authentication/VerificationSlider.vue.d.ts +4 -60
- package/dist/types/ui/form/BooleanItem.vue.d.ts +15 -0
- package/dist/types/ui/form/BooleanSelect.vue.d.ts +18 -0
- package/dist/types/ui/form/DateInput.vue.d.ts +19 -0
- package/dist/types/ui/form/EmailInput.vue.d.ts +24 -0
- package/dist/types/ui/form/FormInput.vue.d.ts +18 -0
- package/dist/types/ui/form/FormItem.vue.d.ts +25 -0
- package/dist/types/ui/form/GenderItem.vue.d.ts +15 -0
- package/dist/types/ui/form/GenderSelect.vue.d.ts +18 -0
- package/dist/types/ui/form/PostalCodeInput.vue.d.ts +19 -0
- package/dist/types/ui/form/TelephoneNumberInput.vue.d.ts +17 -0
- package/dist/types/ui/form/index.d.ts +10 -0
- package/dist/types/ui/form/lang/en-US.d.ts +3 -0
- package/dist/types/ui/form/lang/index.d.ts +74 -0
- package/dist/types/ui/form/lang/nl.d.ts +3 -0
- package/dist/types/ui/general/QLanguageSelect.vue.d.ts +16 -0
- package/dist/types/ui/general/QStyledCard.vue.d.ts +13 -58
- package/dist/types/ui/general/QStyledLayout.vue.d.ts +9 -54
- package/dist/types/ui/general/QSubmitButton.vue.d.ts +29 -114
- package/dist/types/ui/general/ResourcePage.vue.d.ts +61 -0
- package/dist/types/ui/general/ResponsiveDialog.vue.d.ts +37 -0
- package/dist/types/ui/general/index.d.ts +3 -0
- package/dist/types/virtualModules.d.ts +1 -0
- package/dist/virtualModules.d.ts +1 -0
- package/dist/virtualModules.js +3 -2
- package/dist/vite-plugin.js +26 -5
- package/package.json +28 -23
- package/src/ui/authentication/EmailChangeStepper.vue +2 -2
- package/src/ui/authentication/PasswordChangeStepper.vue +2 -2
- package/src/ui/authentication/lang/en-US.ts +1 -2
- package/src/ui/authentication/lang/nl.ts +1 -2
- package/src/ui/flags/README.md +1 -1
- package/src/ui/form/BooleanItem.vue +34 -0
- package/src/ui/form/BooleanSelect.vue +55 -0
- package/src/ui/form/DateInput.vue +70 -0
- package/src/ui/form/EmailInput.vue +50 -0
- package/src/ui/form/FormInput.vue +44 -0
- package/src/ui/form/FormItem.vue +50 -0
- package/src/ui/form/GenderItem.vue +35 -0
- package/src/ui/form/GenderSelect.vue +59 -0
- package/src/ui/form/PostalCodeInput.vue +47 -0
- package/src/ui/form/TelephoneNumberInput.vue +35 -0
- package/src/ui/form/index.ts +10 -0
- package/src/ui/form/lang/en-US.ts +39 -0
- package/src/ui/form/lang/index.ts +73 -0
- package/src/ui/form/lang/nl.ts +39 -0
- package/src/ui/general/QLanguageSelect.vue +86 -0
- package/src/ui/general/QStyledCard.vue +1 -1
- package/src/ui/general/QSubmitButton.vue +6 -1
- package/src/ui/general/ResourcePage.vue +121 -0
- package/src/ui/general/ResponsiveDialog.vue +94 -0
- package/src/ui/general/index.ts +3 -0
- package/src/ui/icons/README.md +2 -0
- package/src/virtualModules.ts +48 -5
- package/src/vite-plugin.ts +26 -6
- package/vite.config.ts +30 -30
- package/dist/nl.b1ad9de9.js +0 -134
- package/dist/types/ui/index.d.ts +0 -1
- package/src/ui/index.ts +0 -1
- /package/dist/{nl.7787ff31.js → nl-022c8c63.js} +0 -0
- /package/dist/types/ui/icons/{icons.d.ts → labels.d.ts} +0 -0
- /package/src/ui/icons/{icons.ts → labels.ts} +0 -0
package/dist/general.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { l as loadLang, u as useLang } from "./QSubmitButton.vue_vue_type_script_setup_true_lang.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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-b5f452c6.js";
|
|
2
|
+
import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QBtn, QToolbarTitle, QToolbar, QHeader, QPage, QPageContainer, QLayout, QSpace, QPageSticky, QSelect, QItemSection, QItemLabel, QItem } from "quasar";
|
|
3
|
+
import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, normalizeClass, createCommentVNode, toRefs, useAttrs, computed, mergeProps, createTextVNode, toDisplayString } from "vue";
|
|
4
|
+
import { e as enUs, n as nl } from "./en-US-6cc72154.js";
|
|
5
|
+
const _hoisted_1$1 = { class: "text-h6" };
|
|
6
6
|
const _hoisted_2 = { class: "text-subtitle2" };
|
|
7
|
-
const __default__ = {
|
|
7
|
+
const __default__$2 = {
|
|
8
8
|
name: "QStyledCard"
|
|
9
9
|
};
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
...__default__,
|
|
10
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
11
|
+
...__default__$2,
|
|
12
12
|
props: {
|
|
13
13
|
actions: null
|
|
14
14
|
},
|
|
@@ -21,8 +21,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
loadLang($q.lang.isoName);
|
|
22
22
|
});
|
|
23
23
|
const qCardRef = ref();
|
|
24
|
-
const variables = ref({
|
|
25
|
-
|
|
24
|
+
const variables = ref({
|
|
25
|
+
// header: lang.value.some.nested.prop
|
|
26
|
+
});
|
|
27
|
+
const functions = ref({
|
|
28
|
+
// submit
|
|
29
|
+
});
|
|
26
30
|
expose({
|
|
27
31
|
variables,
|
|
28
32
|
functions
|
|
@@ -39,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
43
|
renderSlot(_ctx.$slots, "image", {}, void 0, true),
|
|
40
44
|
createVNode(_component_q_card_section, null, {
|
|
41
45
|
default: withCtx(() => [
|
|
42
|
-
createElementVNode("div", _hoisted_1, [
|
|
46
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
43
47
|
renderSlot(_ctx.$slots, "title", {}, void 0, true)
|
|
44
48
|
]),
|
|
45
49
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -66,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
70
|
};
|
|
67
71
|
}
|
|
68
72
|
});
|
|
69
|
-
const
|
|
73
|
+
const QStyledCard_vue_vue_type_style_index_0_scoped_302df27a_lang = "";
|
|
70
74
|
const _export_sfc = (sfc, props) => {
|
|
71
75
|
const target = sfc.__vccOpts || sfc;
|
|
72
76
|
for (const [key, val] of props) {
|
|
@@ -74,8 +78,354 @@ const _export_sfc = (sfc, props) => {
|
|
|
74
78
|
}
|
|
75
79
|
return target;
|
|
76
80
|
};
|
|
77
|
-
const QStyledCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
81
|
+
const QStyledCard = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-302df27a"]]);
|
|
82
|
+
const __default__$1 = {
|
|
83
|
+
name: "ResponsiveDialog"
|
|
84
|
+
};
|
|
85
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
86
|
+
...__default__$1,
|
|
87
|
+
props: {
|
|
88
|
+
display: { type: Boolean }
|
|
89
|
+
},
|
|
90
|
+
emits: ["submit"],
|
|
91
|
+
setup(__props, { expose, emit }) {
|
|
92
|
+
ref(false);
|
|
93
|
+
const $q = useQuasar();
|
|
94
|
+
const lang = useLang();
|
|
95
|
+
if (lang.value.isoName !== $q.lang.isoName)
|
|
96
|
+
loadLang($q.lang.isoName);
|
|
97
|
+
watch($q.lang, (val) => {
|
|
98
|
+
loadLang($q.lang.isoName);
|
|
99
|
+
});
|
|
100
|
+
const submit = (evt) => {
|
|
101
|
+
emit("submit", {
|
|
102
|
+
done: (success = true) => {
|
|
103
|
+
var _a;
|
|
104
|
+
evt.done();
|
|
105
|
+
if (success)
|
|
106
|
+
(_a = dialogRef.value) == null ? void 0 : _a.hide();
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
const dialogRef = ref();
|
|
111
|
+
const open = () => {
|
|
112
|
+
var _a;
|
|
113
|
+
return (_a = dialogRef.value) == null ? void 0 : _a.show();
|
|
114
|
+
};
|
|
115
|
+
const close = () => {
|
|
116
|
+
var _a;
|
|
117
|
+
return (_a = dialogRef.value) == null ? void 0 : _a.hide();
|
|
118
|
+
};
|
|
119
|
+
const toggle = () => {
|
|
120
|
+
var _a;
|
|
121
|
+
return (_a = dialogRef.value) == null ? void 0 : _a.toggle();
|
|
122
|
+
};
|
|
123
|
+
const variables = ref({
|
|
124
|
+
// header: lang.value.some.nested.prop
|
|
125
|
+
});
|
|
126
|
+
const functions = ref({
|
|
127
|
+
open,
|
|
128
|
+
close,
|
|
129
|
+
toggle
|
|
130
|
+
});
|
|
131
|
+
expose({
|
|
132
|
+
variables,
|
|
133
|
+
functions
|
|
134
|
+
});
|
|
135
|
+
return (_ctx, _cache) => {
|
|
136
|
+
const _component_q_btn = QBtn;
|
|
137
|
+
const _component_q_toolbar_title = QToolbarTitle;
|
|
138
|
+
const _component_q_toolbar = QToolbar;
|
|
139
|
+
const _component_q_header = QHeader;
|
|
140
|
+
const _component_q_page = QPage;
|
|
141
|
+
const _component_q_page_container = QPageContainer;
|
|
142
|
+
const _component_q_layout = QLayout;
|
|
143
|
+
return openBlock(), createBlock(unref(QDialog), {
|
|
144
|
+
ref_key: "dialogRef",
|
|
145
|
+
ref: dialogRef,
|
|
146
|
+
maximized: unref($q).screen.lt.md
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [
|
|
149
|
+
createVNode(_component_q_layout, {
|
|
150
|
+
view: "LHh lpR fff",
|
|
151
|
+
container: "",
|
|
152
|
+
class: normalizeClass({ "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }),
|
|
153
|
+
style: { "min-width": "85vw" }
|
|
154
|
+
}, {
|
|
155
|
+
default: withCtx(() => [
|
|
156
|
+
createVNode(_component_q_header, { class: "bg-primary" }, {
|
|
157
|
+
default: withCtx(() => [
|
|
158
|
+
createVNode(_component_q_toolbar, null, {
|
|
159
|
+
default: withCtx(() => [
|
|
160
|
+
createVNode(_component_q_btn, {
|
|
161
|
+
icon: "close",
|
|
162
|
+
flat: "",
|
|
163
|
+
round: "",
|
|
164
|
+
dense: "",
|
|
165
|
+
onClick: close
|
|
166
|
+
}),
|
|
167
|
+
createVNode(_component_q_toolbar_title, null, {
|
|
168
|
+
default: withCtx(() => [
|
|
169
|
+
renderSlot(_ctx.$slots, "title")
|
|
170
|
+
]),
|
|
171
|
+
_: 3
|
|
172
|
+
}),
|
|
173
|
+
!__props.display ? (openBlock(), createBlock(_sfc_main$4, {
|
|
174
|
+
key: 0,
|
|
175
|
+
color: "accent",
|
|
176
|
+
onSubmit: submit
|
|
177
|
+
})) : createCommentVNode("", true)
|
|
178
|
+
]),
|
|
179
|
+
_: 3
|
|
180
|
+
})
|
|
181
|
+
]),
|
|
182
|
+
_: 3
|
|
183
|
+
}),
|
|
184
|
+
createVNode(_component_q_page_container, { style: { "padding-bottom": "-50px" } }, {
|
|
185
|
+
default: withCtx(() => [
|
|
186
|
+
createVNode(_component_q_page, { class: "q-pa-md q-pb-xl" }, {
|
|
187
|
+
default: withCtx(() => [
|
|
188
|
+
renderSlot(_ctx.$slots, "default")
|
|
189
|
+
]),
|
|
190
|
+
_: 3
|
|
191
|
+
})
|
|
192
|
+
]),
|
|
193
|
+
_: 3
|
|
194
|
+
})
|
|
195
|
+
]),
|
|
196
|
+
_: 3
|
|
197
|
+
}, 8, ["class"])
|
|
198
|
+
]),
|
|
199
|
+
_: 3
|
|
200
|
+
}, 8, ["maximized"]);
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
const _hoisted_1 = { style: { "margin-top": "80px" } };
|
|
205
|
+
const __default__ = {
|
|
206
|
+
name: "ResourcePage"
|
|
207
|
+
};
|
|
208
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
209
|
+
...__default__,
|
|
210
|
+
props: {
|
|
211
|
+
type: { default: "create" },
|
|
212
|
+
disabled: { type: Boolean, default: false }
|
|
213
|
+
},
|
|
214
|
+
emits: ["create", "update"],
|
|
215
|
+
setup(__props, { expose, emit }) {
|
|
216
|
+
const props = __props;
|
|
217
|
+
const $q = useQuasar();
|
|
218
|
+
const lang = useLang();
|
|
219
|
+
if (lang.value.isoName !== $q.lang.isoName)
|
|
220
|
+
loadLang($q.lang.isoName);
|
|
221
|
+
watch($q.lang, (val) => {
|
|
222
|
+
loadLang($q.lang.isoName);
|
|
223
|
+
});
|
|
224
|
+
const { disabled } = toRefs(props);
|
|
225
|
+
const done = () => "";
|
|
226
|
+
const create = (evt) => disabled.value ? () => {
|
|
227
|
+
} : emit("create", { done });
|
|
228
|
+
const update = (evt) => disabled.value ? () => {
|
|
229
|
+
} : emit("update", { done });
|
|
230
|
+
const variables = ref({
|
|
231
|
+
// header: lang.value.some.nested.prop
|
|
232
|
+
});
|
|
233
|
+
const functions = ref({
|
|
234
|
+
// submit
|
|
235
|
+
});
|
|
236
|
+
expose({
|
|
237
|
+
variables,
|
|
238
|
+
functions
|
|
239
|
+
});
|
|
240
|
+
return (_ctx, _cache) => {
|
|
241
|
+
const _component_q_btn = QBtn;
|
|
242
|
+
const _component_q_toolbar_title = QToolbarTitle;
|
|
243
|
+
const _component_q_space = QSpace;
|
|
244
|
+
const _component_q_toolbar = QToolbar;
|
|
245
|
+
const _component_q_page_sticky = QPageSticky;
|
|
246
|
+
const _component_q_page = QPage;
|
|
247
|
+
return openBlock(), createBlock(_component_q_page, { class: "q-ma-md" }, {
|
|
248
|
+
default: withCtx(() => [
|
|
249
|
+
createElementVNode("div", _hoisted_1, [
|
|
250
|
+
renderSlot(_ctx.$slots, "default")
|
|
251
|
+
]),
|
|
252
|
+
createVNode(_component_q_page_sticky, {
|
|
253
|
+
expand: "",
|
|
254
|
+
position: "top"
|
|
255
|
+
}, {
|
|
256
|
+
default: withCtx(() => [
|
|
257
|
+
createVNode(_component_q_toolbar, {
|
|
258
|
+
class: normalizeClass(["shadow-2", { "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }])
|
|
259
|
+
}, {
|
|
260
|
+
default: withCtx(() => [
|
|
261
|
+
__props.type === "create" ? (openBlock(), createBlock(_component_q_btn, {
|
|
262
|
+
key: 0,
|
|
263
|
+
disable: unref(disabled),
|
|
264
|
+
flat: "",
|
|
265
|
+
style: { "margin-bottom": "-50px", "z-index": "5" },
|
|
266
|
+
round: "",
|
|
267
|
+
size: "lg",
|
|
268
|
+
dense: "",
|
|
269
|
+
icon: "add",
|
|
270
|
+
class: "q-mr-sm bg-primary text-white",
|
|
271
|
+
onClick: create
|
|
272
|
+
}, null, 8, ["disable"])) : (openBlock(), createBlock(_component_q_btn, {
|
|
273
|
+
key: 1,
|
|
274
|
+
disable: unref(disabled),
|
|
275
|
+
flat: "",
|
|
276
|
+
style: { "margin-bottom": "-50px", "z-index": "5" },
|
|
277
|
+
round: "",
|
|
278
|
+
size: "lg",
|
|
279
|
+
dense: "",
|
|
280
|
+
icon: "edit",
|
|
281
|
+
class: "q-mr-sm bg-primary text-white",
|
|
282
|
+
onClick: update
|
|
283
|
+
}, null, 8, ["disable"])),
|
|
284
|
+
createVNode(_component_q_toolbar_title, { shrink: "" }, {
|
|
285
|
+
default: withCtx(() => [
|
|
286
|
+
renderSlot(_ctx.$slots, "header")
|
|
287
|
+
]),
|
|
288
|
+
_: 3
|
|
289
|
+
}),
|
|
290
|
+
createVNode(_component_q_space)
|
|
291
|
+
]),
|
|
292
|
+
_: 3
|
|
293
|
+
}, 8, ["class"])
|
|
294
|
+
]),
|
|
295
|
+
_: 3
|
|
296
|
+
})
|
|
297
|
+
]),
|
|
298
|
+
_: 3
|
|
299
|
+
});
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
304
|
+
__name: "QLanguageSelect",
|
|
305
|
+
props: {
|
|
306
|
+
modelValue: null,
|
|
307
|
+
languageImports: null
|
|
308
|
+
},
|
|
309
|
+
setup(__props) {
|
|
310
|
+
const props = __props;
|
|
311
|
+
const $q = useQuasar();
|
|
312
|
+
const { modelValue } = toRefs(props);
|
|
313
|
+
const attrs = useAttrs();
|
|
314
|
+
const nlRef = ref();
|
|
315
|
+
computed(() => {
|
|
316
|
+
var _a;
|
|
317
|
+
return (_a = nlRef.value) == null ? void 0 : _a.variables.country;
|
|
318
|
+
});
|
|
319
|
+
const nlLanguage = computed(() => {
|
|
320
|
+
var _a;
|
|
321
|
+
return (_a = nlRef.value) == null ? void 0 : _a.variables.language;
|
|
322
|
+
});
|
|
323
|
+
const enUsRef = ref();
|
|
324
|
+
computed(() => {
|
|
325
|
+
var _a;
|
|
326
|
+
return (_a = enUsRef.value) == null ? void 0 : _a.variables.country;
|
|
327
|
+
});
|
|
328
|
+
const enUsLanguage = computed(() => {
|
|
329
|
+
var _a;
|
|
330
|
+
return (_a = enUsRef.value) == null ? void 0 : _a.variables.language;
|
|
331
|
+
});
|
|
332
|
+
const languageOptions = [
|
|
333
|
+
{
|
|
334
|
+
label: enUsLanguage.value,
|
|
335
|
+
value: "en-US"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
label: nlLanguage.value,
|
|
339
|
+
value: "nl"
|
|
340
|
+
}
|
|
341
|
+
];
|
|
342
|
+
watch(modelValue, (langIso) => {
|
|
343
|
+
try {
|
|
344
|
+
props.languageImports[langIso]().then(
|
|
345
|
+
// langList[`../../../node_modules/quasar/lang/${langIso}.mjs`]().then(
|
|
346
|
+
(lang) => {
|
|
347
|
+
$q.lang.set(lang.default);
|
|
348
|
+
}
|
|
349
|
+
);
|
|
350
|
+
} catch (e) {
|
|
351
|
+
console.error(e);
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
return (_ctx, _cache) => {
|
|
355
|
+
const _component_q_item_section = QItemSection;
|
|
356
|
+
const _component_q_item_label = QItemLabel;
|
|
357
|
+
const _component_q_item = QItem;
|
|
358
|
+
return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
|
|
359
|
+
options: languageOptions,
|
|
360
|
+
"model-value": unref(modelValue),
|
|
361
|
+
"emit-value": "",
|
|
362
|
+
"map-options": ""
|
|
363
|
+
}), {
|
|
364
|
+
selected: withCtx(() => [
|
|
365
|
+
unref(modelValue) === "en-US" ? (openBlock(), createBlock(unref(enUs), { key: 0 })) : createCommentVNode("", true),
|
|
366
|
+
unref(modelValue) === "nl" ? (openBlock(), createBlock(unref(nl), { key: 1 })) : createCommentVNode("", true)
|
|
367
|
+
]),
|
|
368
|
+
option: withCtx((scope) => [
|
|
369
|
+
scope.opt.value === "en-US" ? (openBlock(), createBlock(_component_q_item, normalizeProps(mergeProps({ key: 0 }, scope.itemProps)), {
|
|
370
|
+
default: withCtx(() => [
|
|
371
|
+
createVNode(_component_q_item_section, { avatar: "" }, {
|
|
372
|
+
default: withCtx(() => [
|
|
373
|
+
createVNode(unref(enUs), {
|
|
374
|
+
ref_key: "enUsRef",
|
|
375
|
+
ref: enUsRef
|
|
376
|
+
}, null, 512)
|
|
377
|
+
]),
|
|
378
|
+
_: 1
|
|
379
|
+
}),
|
|
380
|
+
createVNode(_component_q_item_section, null, {
|
|
381
|
+
default: withCtx(() => [
|
|
382
|
+
createVNode(_component_q_item_label, null, {
|
|
383
|
+
default: withCtx(() => [
|
|
384
|
+
createTextVNode(toDisplayString(unref(enUsLanguage)), 1)
|
|
385
|
+
]),
|
|
386
|
+
_: 1
|
|
387
|
+
})
|
|
388
|
+
]),
|
|
389
|
+
_: 1
|
|
390
|
+
})
|
|
391
|
+
]),
|
|
392
|
+
_: 2
|
|
393
|
+
}, 1040)) : createCommentVNode("", true),
|
|
394
|
+
scope.opt.value === "nl" ? (openBlock(), createBlock(_component_q_item, normalizeProps(mergeProps({ key: 1 }, scope.itemProps)), {
|
|
395
|
+
default: withCtx(() => [
|
|
396
|
+
createVNode(_component_q_item_section, { avatar: "" }, {
|
|
397
|
+
default: withCtx(() => [
|
|
398
|
+
createVNode(unref(nl), {
|
|
399
|
+
ref_key: "nlRef",
|
|
400
|
+
ref: nlRef
|
|
401
|
+
}, null, 512)
|
|
402
|
+
]),
|
|
403
|
+
_: 1
|
|
404
|
+
}),
|
|
405
|
+
createVNode(_component_q_item_section, null, {
|
|
406
|
+
default: withCtx(() => [
|
|
407
|
+
createVNode(_component_q_item_label, null, {
|
|
408
|
+
default: withCtx(() => [
|
|
409
|
+
createTextVNode(toDisplayString(unref(nlLanguage)), 1)
|
|
410
|
+
]),
|
|
411
|
+
_: 1
|
|
412
|
+
})
|
|
413
|
+
]),
|
|
414
|
+
_: 1
|
|
415
|
+
})
|
|
416
|
+
]),
|
|
417
|
+
_: 2
|
|
418
|
+
}, 1040)) : createCommentVNode("", true)
|
|
419
|
+
]),
|
|
420
|
+
_: 1
|
|
421
|
+
}, 16, ["model-value"]);
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
});
|
|
78
425
|
export {
|
|
426
|
+
_sfc_main as QLanguageSelect,
|
|
79
427
|
QStyledCard,
|
|
80
|
-
|
|
428
|
+
_sfc_main$4 as QSubmitButton,
|
|
429
|
+
_sfc_main$1 as ResourcePage,
|
|
430
|
+
_sfc_main$2 as ResponsiveDialog
|
|
81
431
|
};
|
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
|
|
4
|
+
const labels = {
|
|
5
5
|
microsoft: {
|
|
6
6
|
name: "Microsoft"
|
|
7
7
|
}
|
|
@@ -9,8 +9,10 @@ const icons = {
|
|
|
9
9
|
const microsoft = {
|
|
10
10
|
setup(props, context) {
|
|
11
11
|
useQuasar();
|
|
12
|
-
const variables = ref(
|
|
13
|
-
const functions = ref({
|
|
12
|
+
const variables = ref(labels["microsoft"]);
|
|
13
|
+
const functions = ref({
|
|
14
|
+
// submit
|
|
15
|
+
});
|
|
14
16
|
context.expose({
|
|
15
17
|
variables,
|
|
16
18
|
functions
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
const lang = {
|
|
2
|
+
isoName: "nl",
|
|
3
|
+
countries: {
|
|
4
|
+
"ar-TN": "العربية (تونس)",
|
|
5
|
+
ar: "العربية",
|
|
6
|
+
"az-Latn": "Azerbaijan",
|
|
7
|
+
bg: "български език",
|
|
8
|
+
bn: "বাংলা",
|
|
9
|
+
ca: "Català",
|
|
10
|
+
cs: "Čeština",
|
|
11
|
+
da: "Denemarken",
|
|
12
|
+
de: "Duitsland",
|
|
13
|
+
el: "ελληνικά",
|
|
14
|
+
"en-GB": "Verenigd koninkrijk",
|
|
15
|
+
"en-US": "Verenigde staten van Amerika",
|
|
16
|
+
eo: "Esperanto",
|
|
17
|
+
es: "Spanje",
|
|
18
|
+
et: "Eesti",
|
|
19
|
+
eu: "Euskara",
|
|
20
|
+
"fa-IR": "فارسی",
|
|
21
|
+
fa: "فارسی",
|
|
22
|
+
fi: "Suomi",
|
|
23
|
+
fr: "Frankrijk",
|
|
24
|
+
gn: "Avañe'ẽ",
|
|
25
|
+
he: "עברית",
|
|
26
|
+
hr: "Hrvatski jezik",
|
|
27
|
+
hu: "Magyar",
|
|
28
|
+
id: "Bahasa Indonesia",
|
|
29
|
+
is: "Íslenska",
|
|
30
|
+
it: "Italië",
|
|
31
|
+
ja: "Japan",
|
|
32
|
+
km: "ខ្មែរ",
|
|
33
|
+
"ko-KR": "한국어",
|
|
34
|
+
"kur-CKB": "کوردی سۆرانی",
|
|
35
|
+
kz: "Қазақша",
|
|
36
|
+
lt: "Lithuanian",
|
|
37
|
+
lu: "Kiluba",
|
|
38
|
+
lv: "Latviešu valoda",
|
|
39
|
+
ml: "മലയാളം",
|
|
40
|
+
mm: "မြန်မာ(ဗမာ)",
|
|
41
|
+
ms: "Bahasa Melayu",
|
|
42
|
+
my: "Malaysia",
|
|
43
|
+
"nb-NO": "Norsk",
|
|
44
|
+
nl: "Nederland",
|
|
45
|
+
pl: "Polen",
|
|
46
|
+
"pt-BR": "Portugal",
|
|
47
|
+
pt: "Portugal",
|
|
48
|
+
ro: "Roemenië",
|
|
49
|
+
ru: "Rusland",
|
|
50
|
+
sk: "Slovenčina",
|
|
51
|
+
sl: "Slovenski Jezik",
|
|
52
|
+
sm: "Fa'asāmoa",
|
|
53
|
+
"sr-CYR": "српски језик",
|
|
54
|
+
sr: "srpski jezik",
|
|
55
|
+
sv: "Zweden",
|
|
56
|
+
ta: "தமிழ்",
|
|
57
|
+
th: "ไทย",
|
|
58
|
+
tr: "Turkijke",
|
|
59
|
+
ug: "ئۇيغۇرچە",
|
|
60
|
+
uk: "Українська",
|
|
61
|
+
"uz-Cyrl": "Ўзбекча (Кирил)",
|
|
62
|
+
"uz-Latn": "O'zbekcha (Lotin)",
|
|
63
|
+
vi: "Vietnam",
|
|
64
|
+
"zh-CN": "中文(简体)",
|
|
65
|
+
"zh-TW": "中文(繁體)"
|
|
66
|
+
},
|
|
67
|
+
languages: {
|
|
68
|
+
"ar-TN": "العربية (تونس)",
|
|
69
|
+
ar: "العربية",
|
|
70
|
+
"az-Latn": "Azerbaijani (latin)",
|
|
71
|
+
bg: "български език",
|
|
72
|
+
bn: "বাংলা",
|
|
73
|
+
ca: "Català",
|
|
74
|
+
cs: "Čeština",
|
|
75
|
+
da: "Dansk",
|
|
76
|
+
de: "Deutsch",
|
|
77
|
+
el: "ελληνικά",
|
|
78
|
+
"en-GB": "English (UK)",
|
|
79
|
+
"en-US": "English (US)",
|
|
80
|
+
eo: "Esperanto",
|
|
81
|
+
es: "Español",
|
|
82
|
+
et: "Eesti",
|
|
83
|
+
eu: "Euskara",
|
|
84
|
+
"fa-IR": "فارسی",
|
|
85
|
+
fa: "فارسی",
|
|
86
|
+
fi: "Suomi",
|
|
87
|
+
fr: "Français",
|
|
88
|
+
gn: "Avañe'ẽ",
|
|
89
|
+
he: "עברית",
|
|
90
|
+
hr: "Hrvatski jezik",
|
|
91
|
+
hu: "Magyar",
|
|
92
|
+
id: "Bahasa Indonesia",
|
|
93
|
+
is: "Íslenska",
|
|
94
|
+
it: "Italiano",
|
|
95
|
+
ja: "日本語 (にほんご)",
|
|
96
|
+
km: "ខ្មែរ",
|
|
97
|
+
"ko-KR": "한국어",
|
|
98
|
+
"kur-CKB": "کوردی سۆرانی",
|
|
99
|
+
kz: "Қазақша",
|
|
100
|
+
lt: "Lithuanian",
|
|
101
|
+
lu: "Kiluba",
|
|
102
|
+
lv: "Latviešu valoda",
|
|
103
|
+
ml: "മലയാളം",
|
|
104
|
+
mm: "မြန်မာ(ဗမာ)",
|
|
105
|
+
ms: "Bahasa Melayu",
|
|
106
|
+
my: "Malaysia",
|
|
107
|
+
"nb-NO": "Norsk",
|
|
108
|
+
nl: "Nederlands",
|
|
109
|
+
pl: "Polski",
|
|
110
|
+
"pt-BR": "Português (BR)",
|
|
111
|
+
pt: "Português",
|
|
112
|
+
ro: "Română",
|
|
113
|
+
ru: "русский",
|
|
114
|
+
sk: "Slovenčina",
|
|
115
|
+
sl: "Slovenski Jezik",
|
|
116
|
+
sm: "Fa'asāmoa",
|
|
117
|
+
"sr-CYR": "српски језик",
|
|
118
|
+
sr: "srpski jezik",
|
|
119
|
+
sv: "Svenska",
|
|
120
|
+
ta: "தமிழ்",
|
|
121
|
+
th: "ไทย",
|
|
122
|
+
tr: "Türkçe",
|
|
123
|
+
ug: "ئۇيغۇرچە",
|
|
124
|
+
uk: "Українська",
|
|
125
|
+
"uz-Cyrl": "Ўзбекча (Кирил)",
|
|
126
|
+
"uz-Latn": "O'zbekcha (Lotin)",
|
|
127
|
+
vi: "Tiếng Việt",
|
|
128
|
+
"zh-CN": "中文(简体)",
|
|
129
|
+
"zh-TW": "中文(繁體)"
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
export {
|
|
133
|
+
lang as default
|
|
134
|
+
};
|
|
@@ -81,7 +81,7 @@ const lang = {
|
|
|
81
81
|
alreadyRegistered: "Email adres is al geregistreerd."
|
|
82
82
|
},
|
|
83
83
|
verification: {
|
|
84
|
-
slider: "
|
|
84
|
+
slider: "Sleep a.u.b. het onderstaande bolletje helemaal naar rechts."
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
export {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const lang = {
|
|
2
|
+
isoName: "nl",
|
|
3
|
+
yes: "Ja",
|
|
4
|
+
no: "Nee",
|
|
5
|
+
buttons: {
|
|
6
|
+
close: "Sluiten"
|
|
7
|
+
},
|
|
8
|
+
email: {
|
|
9
|
+
subject: "Onderwerp"
|
|
10
|
+
},
|
|
11
|
+
fields: {
|
|
12
|
+
name: "Naam",
|
|
13
|
+
firstName: "Voornaam",
|
|
14
|
+
lastName: "Achternaam",
|
|
15
|
+
address: "Adres",
|
|
16
|
+
postalCode: "Postcode",
|
|
17
|
+
city: "Woonplaats",
|
|
18
|
+
telephoneNumber: "Telefoonnumer"
|
|
19
|
+
},
|
|
20
|
+
validations: {
|
|
21
|
+
fieldRequired: "Veld is vereist."
|
|
22
|
+
},
|
|
23
|
+
gender: {
|
|
24
|
+
gender: "Geslacht",
|
|
25
|
+
male: "Man",
|
|
26
|
+
female: "Vrouw",
|
|
27
|
+
other: "Anders"
|
|
28
|
+
},
|
|
29
|
+
postalCode: {
|
|
30
|
+
postalCode: "Postcode",
|
|
31
|
+
validations: {
|
|
32
|
+
invalidPostalCode: "Ongeldige postcode"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
lang as default
|
|
38
|
+
};
|
package/dist/style.css
CHANGED