@simsustech/quasar-components 0.4.2 → 0.4.4

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - a14c1d9: fix(components): fix nl telephone number translation
8
+
9
+ ## 0.4.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 17dbf94: refactor(components): change class attribute of ResponsiveDialog; fix(components): fix BooleanSelect validation
14
+
3
15
  ## 0.4.2
4
16
 
5
17
  ### Patch Changes
package/dist/form.js CHANGED
@@ -48,7 +48,7 @@ const enUS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
48
48
  const lang = ref(lang$1);
49
49
  const locales = /* @__PURE__ */ Object.assign({
50
50
  "./en-US.ts": () => Promise.resolve().then(() => enUS),
51
- "./nl.ts": () => import("./nl-75035f8a.js")
51
+ "./nl.ts": () => import("./nl-fa466587.js")
52
52
  });
53
53
  const useLang = () => {
54
54
  return lang;
@@ -456,7 +456,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
456
456
  const validations = ref([]);
457
457
  if (props.required)
458
458
  validations.value.push(
459
- (val) => val !== void 0 || lang2.value.validations.fieldRequired
459
+ (val) => val !== null || lang2.value.validations.fieldRequired
460
460
  );
461
461
  return (_ctx, _cache) => {
462
462
  return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
package/dist/general.js CHANGED
@@ -148,7 +148,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
148
148
  createVNode(_component_q_layout, {
149
149
  view: "LHh lpR fff",
150
150
  container: "",
151
- class: normalizeClass({ "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }),
151
+ class: normalizeClass(unref($q).dark.isActive ? "bg-dark" : "bg-white"),
152
152
  style: { "min-width": "85vw" }
153
153
  }, {
154
154
  default: withCtx(() => [
@@ -15,7 +15,7 @@ const lang = {
15
15
  address: "Adres",
16
16
  postalCode: "Postcode",
17
17
  city: "Woonplaats",
18
- telephoneNumber: "Telefoonnumer"
18
+ telephoneNumber: "Telefoonnummer"
19
19
  },
20
20
  validations: {
21
21
  fieldRequired: "Veld is vereist."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@ const validations = ref<ValidationRule[]>([])
49
49
  if (props.required)
50
50
  validations.value.push(
51
51
  (val: { label: string; value: string }) =>
52
- val !== void 0 || lang.value.validations.fieldRequired
52
+ val !== null || lang.value.validations.fieldRequired
53
53
  )
54
54
  defineEmits(['update:modelValue'])
55
55
  </script>
@@ -17,7 +17,7 @@ const lang: Language = {
17
17
  address: 'Adres',
18
18
  postalCode: 'Postcode',
19
19
  city: 'Woonplaats',
20
- telephoneNumber: 'Telefoonnumer'
20
+ telephoneNumber: 'Telefoonnummer'
21
21
  },
22
22
  validations: {
23
23
  fieldRequired: 'Veld is vereist.'
@@ -3,7 +3,7 @@
3
3
  <q-layout
4
4
  view="LHh lpR fff"
5
5
  container
6
- :class="{ 'bg-dark': $q.dark.isActive, 'bg-white': !$q.dark.isActive }"
6
+ :class="$q.dark.isActive ? 'bg-dark' : 'bg-white'"
7
7
  style="min-width: 85vw"
8
8
  >
9
9
  <q-header class="bg-primary">