@simsustech/quasar-components 0.11.17 → 0.11.19

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,19 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.11.19
4
+
5
+ ### Patch Changes
6
+
7
+ - 989f4c0: feat(components): add data-testid to AccountsTable search button
8
+ - b109c88: fix(components): remove flat from AccountsTable search button
9
+ - 3253b20: chore: update dependencies
10
+
11
+ ## 0.11.18
12
+
13
+ ### Patch Changes
14
+
15
+ - 4012069: fix(components): fix Md3Layout fab button slot min height
16
+
3
17
  ## 0.11.17
4
18
 
5
19
  ### Patch Changes
@@ -139,22 +139,9 @@ const loadLang = async (isoName) => {
139
139
  loadingLanguage = false;
140
140
  }
141
141
  };
142
- function _typeof$1(o) {
143
- "@babel/helpers - typeof";
144
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
145
- return typeof o2;
146
- } : function(o2) {
147
- return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
148
- }, _typeof$1(o);
149
- }
150
142
  function assertString(input) {
151
- var isString = typeof input === "string" || input instanceof String;
152
- if (!isString) {
153
- var invalidType = _typeof$1(input);
154
- if (input === null) invalidType = "null";
155
- else if (invalidType === "object") invalidType = input.constructor.name;
156
- throw new TypeError("Expected a string but received a ".concat(invalidType));
157
- }
143
+ if (input === void 0 || input === null) throw new TypeError("Expected a string but received a ".concat(input));
144
+ if (input.constructor.name !== "String") throw new TypeError("Expected a string but received a ".concat(input.constructor.name));
158
145
  }
159
146
  function isRegExp(obj) {
160
147
  return Object.prototype.toString.call(obj) === "[object RegExp]";
@@ -168,19 +155,19 @@ function checkHost(host, matches) {
168
155
  }
169
156
  return false;
170
157
  }
171
- function _typeof(o) {
158
+ function _typeof$1(o) {
172
159
  "@babel/helpers - typeof";
173
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
160
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
174
161
  return typeof o2;
175
162
  } : function(o2) {
176
163
  return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
177
- }, _typeof(o);
164
+ }, _typeof$1(o);
178
165
  }
179
166
  function isByteLength(str, options) {
180
167
  assertString(str);
181
168
  var min;
182
169
  var max;
183
- if (_typeof(options) === "object") {
170
+ if (_typeof$1(options) === "object") {
184
171
  min = options.min || 0;
185
172
  max = options.max;
186
173
  } else {
@@ -252,23 +239,35 @@ function isFQDN(str, options) {
252
239
  return true;
253
240
  });
254
241
  }
242
+ function _typeof(o) {
243
+ "@babel/helpers - typeof";
244
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
245
+ return typeof o2;
246
+ } : function(o2) {
247
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
248
+ }, _typeof(o);
249
+ }
255
250
  var IPv4SegmentFormat = "(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])";
256
251
  var IPv4AddressFormat = "(".concat(IPv4SegmentFormat, "[.]){3}").concat(IPv4SegmentFormat);
257
252
  var IPv4AddressRegExp = new RegExp("^".concat(IPv4AddressFormat, "$"));
258
253
  var IPv6SegmentFormat = "(?:[0-9a-fA-F]{1,4})";
259
- var IPv6AddressRegExp = new RegExp("^(" + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ")(%[0-9a-zA-Z-.:]{1,})?$");
260
- function isIP(str) {
261
- var version = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
262
- assertString(str);
263
- version = String(version);
254
+ var IPv6AddressRegExp = new RegExp("^(" + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ")(%[0-9a-zA-Z.]{1,})?$");
255
+ function isIP(ipAddress) {
256
+ var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
257
+ assertString(ipAddress);
258
+ var version = (_typeof(options) === "object" ? options.version : arguments[1]) || "";
264
259
  if (!version) {
265
- return isIP(str, 4) || isIP(str, 6);
260
+ return isIP(ipAddress, {
261
+ version: 4
262
+ }) || isIP(ipAddress, {
263
+ version: 6
264
+ });
266
265
  }
267
- if (version === "4") {
268
- return IPv4AddressRegExp.test(str);
266
+ if (version.toString() === "4") {
267
+ return IPv4AddressRegExp.test(ipAddress);
269
268
  }
270
- if (version === "6") {
271
- return IPv6AddressRegExp.test(str);
269
+ if (version.toString() === "6") {
270
+ return IPv6AddressRegExp.test(ipAddress);
272
271
  }
273
272
  return false;
274
273
  }
@@ -1866,7 +1865,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1866
1865
  "top-right": withCtx(() => [
1867
1866
  createVNode(_component_q_btn, {
1868
1867
  icon: unref(searchIcon),
1869
- flat: ""
1868
+ "data-testid": "search-button"
1870
1869
  }, {
1871
1870
  default: withCtx(() => [
1872
1871
  createVNode(_component_q_menu, null, {
package/dist/form.js CHANGED
@@ -449,9 +449,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
449
449
  filled: false,
450
450
  outlined: false,
451
451
  standout: false,
452
- rounded: false,
453
- ref_for: true
454
- }, dateProps.value[part], {
452
+ rounded: false
453
+ }, { ref_for: true }, dateProps.value[part], {
455
454
  inputmode: "numeric",
456
455
  dense: ""
457
456
  }), {
package/dist/md3.js CHANGED
@@ -184,8 +184,8 @@ function onClickOutside(target, handler, options = {}) {
184
184
  if (isIOS && !_iOSWorkaround) {
185
185
  _iOSWorkaround = true;
186
186
  const listenerOptions = { passive: true };
187
- Array.from(window2.document.body.children).forEach((el) => useEventListener(el, "click", noop, listenerOptions));
188
- useEventListener(window2.document.documentElement, "click", noop, listenerOptions);
187
+ Array.from(window2.document.body.children).forEach((el) => el.addEventListener("click", noop, listenerOptions));
188
+ window2.document.documentElement.addEventListener("click", noop, listenerOptions);
189
189
  }
190
190
  let shouldListen = true;
191
191
  const shouldIgnore = (event) => {
@@ -268,7 +268,7 @@ function onClickOutside(target, handler, options = {}) {
268
268
  }
269
269
  const _hoisted_1 = {
270
270
  id: "fabs",
271
- class: "q-mb-md"
271
+ class: "q-mb-md min-h-56px"
272
272
  };
273
273
  const _sfc_main = /* @__PURE__ */ defineComponent({
274
274
  __name: "Md3Layout",
@@ -384,10 +384,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
384
384
  createElementVNode("div", _hoisted_1, [
385
385
  renderSlot(_ctx.$slots, "fabs", { showSticky: false })
386
386
  ]),
387
- _cache[3] || (_cache[3] = createElementVNode("div", {
388
- id: "spacing",
389
- class: "gt-md min-h-32px"
390
- }, null, -1)),
391
387
  renderSlot(_ctx.$slots, "drawer-mini-navigation")
392
388
  ], 2)
393
389
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.11.17",
3
+ "version": "0.11.19",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -51,24 +51,24 @@
51
51
  },
52
52
  "bugs": "https://github.com/simsusech/quasar-components/issues",
53
53
  "dependencies": {
54
- "@vueuse/core": "^13.1.0",
55
- "validator": "^13.15.0"
54
+ "@vueuse/core": "^13.3.0",
55
+ "validator": "^13.15.15"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "quasar": "^2.18.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@iconify-json/flagpack": "^1.2.2",
62
- "@types/node": "^22.15.17",
63
- "@types/validator": "^13.15.0",
62
+ "@types/node": "^22.15.29",
63
+ "@types/validator": "^13.15.1",
64
64
  "@types/ws": "^8.18.1",
65
- "@typescript-eslint/eslint-plugin": "^8.32.1",
66
- "@typescript-eslint/parser": "^8.32.1",
65
+ "@typescript-eslint/eslint-plugin": "^8.33.0",
66
+ "@typescript-eslint/parser": "^8.33.0",
67
67
  "@vitejs/plugin-vue": "^5.2.4",
68
- "@vue/server-renderer": "^3.5.13",
69
- "eslint": "^9.26.0",
68
+ "@vue/server-renderer": "^3.5.16",
69
+ "eslint": "^9.28.0",
70
70
  "eslint-config-prettier": "^10.1.5",
71
- "eslint-plugin-prettier": "^5.4.0",
71
+ "eslint-plugin-prettier": "^5.4.1",
72
72
  "eslint-plugin-prettier-vue": "^5.0.0",
73
73
  "eslint-plugin-vue": "^10.1.0",
74
74
  "glob": "^11.0.2",
@@ -77,10 +77,10 @@
77
77
  "quasar": "^2.18.1",
78
78
  "rimraf": "^6.0.1",
79
79
  "typescript": "5.8.3",
80
- "typescript-eslint": "^8.32.1",
81
- "unplugin-vue-components": "^28.5.0",
80
+ "typescript-eslint": "^8.33.0",
81
+ "unplugin-vue-components": "^28.7.0",
82
82
  "vite": "^6.3.5",
83
- "vue": "^3.5.13",
83
+ "vue": "^3.5.16",
84
84
  "vue-eslint-parser": "^10.1.3",
85
85
  "vue-router": "^4.5.1",
86
86
  "vue-tsc": "^2.2.10"
@@ -17,7 +17,7 @@
17
17
  </q-tr>
18
18
  </template>
19
19
  <template #top-right>
20
- <q-btn :icon="searchIcon" flat>
20
+ <q-btn :icon="searchIcon" data-testid="search-button">
21
21
  <q-menu>
22
22
  <div class="q-pa-sm">
23
23
  <q-input v-model="name" :label="lang.account.fields.name">
@@ -47,12 +47,10 @@
47
47
  @click="toggleLeftDrawer()"
48
48
  >
49
49
  </q-btn>
50
- <div id="fabs" class="q-mb-md">
50
+ <div id="fabs" class="q-mb-md min-h-56px">
51
51
  <slot name="fabs" :show-sticky="false" />
52
52
  </div>
53
53
 
54
- <div id="spacing" class="gt-md min-h-32px" />
55
-
56
54
  <slot name="drawer-mini-navigation" />
57
55
  </div>
58
56
  </template>