@simsustech/quasar-components 0.5.3 → 0.5.5
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 +12 -0
- package/dist/authentication.js +3 -1
- package/dist/{en-US-Duo_j_eL.js → en-US-BEeILC7o.js} +3 -1
- package/dist/flags.js +4 -2
- package/dist/form.js +7 -5
- package/dist/general.js +4 -2
- package/dist/style.css +1 -22
- package/dist/types/ui/authentication/index.d.ts +1 -0
- package/dist/types/ui/flags/index.d.ts +1 -0
- package/dist/types/ui/form/index.d.ts +1 -0
- package/dist/types/ui/general/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/ui/authentication/index.ts +1 -0
- package/src/ui/flags/index.ts +1 -0
- package/src/ui/form/DateInput.vue +7 -29
- package/src/ui/form/index.ts +1 -0
- package/src/ui/general/index.ts +1 -0
package/CHANGELOG.md
CHANGED
package/dist/authentication.js
CHANGED
package/dist/flags.js
CHANGED
package/dist/form.js
CHANGED
|
@@ -329,7 +329,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
329
329
|
});
|
|
330
330
|
const _hoisted_1 = {
|
|
331
331
|
key: 0,
|
|
332
|
-
style: { "
|
|
332
|
+
style: { "margin-left": "-0.5em", "margin-top": "0.75em" }
|
|
333
333
|
};
|
|
334
334
|
const _hoisted_2 = { class: "row items-center justify-end" };
|
|
335
335
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
@@ -431,7 +431,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
431
431
|
YYYY: {
|
|
432
432
|
modelValue: year.value,
|
|
433
433
|
placeholder: lang2.value.datePicker.YYYY,
|
|
434
|
-
style: "
|
|
434
|
+
style: "width: 7ch; margin-top: -2em; margin-bottom: -0.5em",
|
|
435
435
|
// suffix: format.value === 'YYYY-MM-DD' ? '-' : undefined,
|
|
436
436
|
class: format.value !== "YYYY-MM-DD" ? "q-mb-none q-ml-xs" : void 0,
|
|
437
437
|
"onUpdate:modelValue": setYear,
|
|
@@ -440,7 +440,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
440
440
|
MM: {
|
|
441
441
|
modelValue: month.value ? String(month.value).padStart(2, "0") : "",
|
|
442
442
|
placeholder: lang2.value.datePicker.MM,
|
|
443
|
-
style: "
|
|
443
|
+
style: "width: 6ch; margin-top: -2em; margin-bottom: -0.5em",
|
|
444
444
|
// suffix: '-',
|
|
445
445
|
class: "q-ml-xs",
|
|
446
446
|
"onUpdate:modelValue": setMonth,
|
|
@@ -449,7 +449,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
449
449
|
DD: {
|
|
450
450
|
modelValue: day.value ? String(day.value).padStart(2, "0") : "",
|
|
451
451
|
placeholder: lang2.value.datePicker.DD,
|
|
452
|
-
style: "
|
|
452
|
+
style: "width: 6ch; margin-top: -2em; margin-bottom: -0.5em",
|
|
453
453
|
// suffix: format.value === 'DD-MM-YYYY' ? '-' : undefined,
|
|
454
454
|
class: format.value === "YYYY-MM-DD" ? "q-ml-xs" : void 0,
|
|
455
455
|
"onUpdate:modelValue": setDay,
|
|
@@ -754,5 +754,7 @@ export {
|
|
|
754
754
|
_sfc_main$9 as GenderItem,
|
|
755
755
|
_sfc_main$a as GenderSelect,
|
|
756
756
|
_sfc_main$8 as PostalCodeInput,
|
|
757
|
-
_sfc_main$5 as TelephoneNumberInput
|
|
757
|
+
_sfc_main$5 as TelephoneNumberInput,
|
|
758
|
+
loadLang,
|
|
759
|
+
useLang
|
|
758
760
|
};
|
package/dist/general.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as loadLang, u as useLang, _ as _sfc_main$4 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-DAnZaTMl.js";
|
|
2
2
|
import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QBtn, QToolbarTitle, QToolbar, QHeader, QPage, QPageContainer, QLayout, QSpace, QPageSticky, QSelect, QItemSection, QItemLabel, QItem } from "quasar";
|
|
3
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-
|
|
4
|
+
import { e as enUs, n as nl } from "./en-US-BEeILC7o.js";
|
|
5
5
|
const _hoisted_1$1 = { class: "text-h6" };
|
|
6
6
|
const _hoisted_2 = { class: "text-subtitle2" };
|
|
7
7
|
const __default__$2 = {
|
|
@@ -419,5 +419,7 @@ export {
|
|
|
419
419
|
QStyledCard,
|
|
420
420
|
_sfc_main$4 as QSubmitButton,
|
|
421
421
|
_sfc_main$1 as ResourcePage,
|
|
422
|
-
_sfc_main$2 as ResponsiveDialog
|
|
422
|
+
_sfc_main$2 as ResponsiveDialog,
|
|
423
|
+
loadLang,
|
|
424
|
+
useLang
|
|
423
425
|
};
|
package/dist/style.css
CHANGED
|
@@ -1,25 +1,4 @@
|
|
|
1
1
|
.card[data-v-302df27a] {
|
|
2
2
|
width: 100%;
|
|
3
3
|
max-width: 300px;
|
|
4
|
-
}
|
|
5
|
-
.q-field--auto-height .q-field__control,
|
|
6
|
-
.q-field--auto-height .q-field__native {
|
|
7
|
-
min-height: 1em;
|
|
8
|
-
}
|
|
9
|
-
.q-field--borderless .q-field__bottom,
|
|
10
|
-
.q-field--borderless.q-field--dense .q-field__control,
|
|
11
|
-
.q-field--standard .q-field__bottom,
|
|
12
|
-
.q-field--standard.q-field--dense .q-field__control {
|
|
13
|
-
padding-top: 0;
|
|
14
|
-
}
|
|
15
|
-
.q-field--auto-height.q-field--labeled .q-field__control-container {
|
|
16
|
-
padding-top: 13px;
|
|
17
|
-
}
|
|
18
|
-
.q-field--auto-height.q-field--labeled .q-field__native {
|
|
19
|
-
padding-bottom: 0px;
|
|
20
|
-
}
|
|
21
|
-
.q-field__after {
|
|
22
|
-
height: 1em;
|
|
23
|
-
margin-top: 0.5em;
|
|
24
|
-
margin-left: -8px;
|
|
25
|
-
}
|
|
4
|
+
}
|
|
@@ -10,3 +10,4 @@ export { default as VerificationSlider } from './VerificationSlider.vue';
|
|
|
10
10
|
export { default as ConsentList } from './ConsentList.vue';
|
|
11
11
|
export { default as UserMenuButton } from './UserMenuButton.vue';
|
|
12
12
|
export { default as LoginButton } from './LoginButton.vue';
|
|
13
|
+
export { useLang, loadLang } from './lang/index.js';
|
|
@@ -9,3 +9,4 @@ export { default as BooleanSelect } from './BooleanSelect.vue';
|
|
|
9
9
|
export { default as BooleanItem } from './BooleanItem.vue';
|
|
10
10
|
export { default as EmailInput } from './EmailInput.vue';
|
|
11
11
|
export { default as DatePicker } from './DatePicker.vue';
|
|
12
|
+
export { useLang, loadLang } from './lang/index.js';
|
|
@@ -3,3 +3,4 @@ export { default as QStyledCard } from './QStyledCard.vue';
|
|
|
3
3
|
export { default as ResponsiveDialog } from './ResponsiveDialog.vue';
|
|
4
4
|
export { default as ResourcePage } from './ResourcePage.vue';
|
|
5
5
|
export { default as QLanguageSelect } from './QLanguageSelect.vue';
|
|
6
|
+
export { useLang, loadLang } from './lang/index.js';
|
package/package.json
CHANGED
|
@@ -10,3 +10,4 @@ export { default as VerificationSlider } from './VerificationSlider.vue'
|
|
|
10
10
|
export { default as ConsentList } from './ConsentList.vue'
|
|
11
11
|
export { default as UserMenuButton } from './UserMenuButton.vue'
|
|
12
12
|
export { default as LoginButton } from './LoginButton.vue'
|
|
13
|
+
export { useLang, loadLang } from './lang/index.js'
|
package/src/ui/flags/index.ts
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
v-bind="dateProps[part]"
|
|
16
16
|
>
|
|
17
17
|
<template #after>
|
|
18
|
-
<a v-if="index < 2" style="
|
|
18
|
+
<a v-if="index < 2" style="margin-left: -0.5em; margin-top: 0.75em"
|
|
19
19
|
>-</a
|
|
20
20
|
>
|
|
21
|
-
</template
|
|
22
|
-
>
|
|
21
|
+
</template>
|
|
22
|
+
</component>
|
|
23
23
|
</template>
|
|
24
24
|
|
|
25
25
|
<template #append>
|
|
@@ -185,7 +185,7 @@ const dateProps = computed<Record<string, QInputProps>>(() => ({
|
|
|
185
185
|
YYYY: {
|
|
186
186
|
modelValue: year.value,
|
|
187
187
|
placeholder: lang.value.datePicker.YYYY,
|
|
188
|
-
style: '
|
|
188
|
+
style: 'width: 7ch; margin-top: -2em; margin-bottom: -0.5em',
|
|
189
189
|
// suffix: format.value === 'YYYY-MM-DD' ? '-' : undefined,
|
|
190
190
|
class: format.value !== 'YYYY-MM-DD' ? 'q-mb-none q-ml-xs' : undefined,
|
|
191
191
|
'onUpdate:modelValue': setYear,
|
|
@@ -194,7 +194,7 @@ const dateProps = computed<Record<string, QInputProps>>(() => ({
|
|
|
194
194
|
MM: {
|
|
195
195
|
modelValue: month.value ? String(month.value).padStart(2, '0') : '',
|
|
196
196
|
placeholder: lang.value.datePicker.MM,
|
|
197
|
-
style: '
|
|
197
|
+
style: 'width: 6ch; margin-top: -2em; margin-bottom: -0.5em',
|
|
198
198
|
// suffix: '-',
|
|
199
199
|
class: 'q-ml-xs',
|
|
200
200
|
'onUpdate:modelValue': setMonth,
|
|
@@ -203,7 +203,7 @@ const dateProps = computed<Record<string, QInputProps>>(() => ({
|
|
|
203
203
|
DD: {
|
|
204
204
|
modelValue: day.value ? String(day.value).padStart(2, '0') : '',
|
|
205
205
|
placeholder: lang.value.datePicker.DD,
|
|
206
|
-
style: '
|
|
206
|
+
style: 'width: 6ch; margin-top: -2em; margin-bottom: -0.5em',
|
|
207
207
|
// suffix: format.value === 'DD-MM-YYYY' ? '-' : undefined,
|
|
208
208
|
class: format.value === 'YYYY-MM-DD' ? 'q-ml-xs' : undefined,
|
|
209
209
|
'onUpdate:modelValue': setDay,
|
|
@@ -226,26 +226,4 @@ if (props.required)
|
|
|
226
226
|
)
|
|
227
227
|
</script>
|
|
228
228
|
|
|
229
|
-
<style>
|
|
230
|
-
.q-field--auto-height .q-field__control,
|
|
231
|
-
.q-field--auto-height .q-field__native {
|
|
232
|
-
min-height: 1em;
|
|
233
|
-
}
|
|
234
|
-
.q-field--borderless .q-field__bottom,
|
|
235
|
-
.q-field--borderless.q-field--dense .q-field__control,
|
|
236
|
-
.q-field--standard .q-field__bottom,
|
|
237
|
-
.q-field--standard.q-field--dense .q-field__control {
|
|
238
|
-
padding-top: 0;
|
|
239
|
-
}
|
|
240
|
-
.q-field--auto-height.q-field--labeled .q-field__control-container {
|
|
241
|
-
padding-top: 13px;
|
|
242
|
-
}
|
|
243
|
-
.q-field--auto-height.q-field--labeled .q-field__native {
|
|
244
|
-
padding-bottom: 0px;
|
|
245
|
-
}
|
|
246
|
-
.q-field__after {
|
|
247
|
-
height: 1em;
|
|
248
|
-
margin-top: 0.5em;
|
|
249
|
-
margin-left: -8px;
|
|
250
|
-
}
|
|
251
|
-
</style>
|
|
229
|
+
<style></style>
|
package/src/ui/form/index.ts
CHANGED
|
@@ -9,3 +9,4 @@ export { default as BooleanSelect } from './BooleanSelect.vue'
|
|
|
9
9
|
export { default as BooleanItem } from './BooleanItem.vue'
|
|
10
10
|
export { default as EmailInput } from './EmailInput.vue'
|
|
11
11
|
export { default as DatePicker } from './DatePicker.vue'
|
|
12
|
+
export { useLang, loadLang } from './lang/index.js'
|
package/src/ui/general/index.ts
CHANGED
|
@@ -3,3 +3,4 @@ export { default as QStyledCard } from './QStyledCard.vue'
|
|
|
3
3
|
export { default as ResponsiveDialog } from './ResponsiveDialog.vue'
|
|
4
4
|
export { default as ResourcePage } from './ResourcePage.vue'
|
|
5
5
|
export { default as QLanguageSelect } from './QLanguageSelect.vue'
|
|
6
|
+
export { useLang, loadLang } from './lang/index.js'
|