quasar 2.17.0 → 2.17.2

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 (143) hide show
  1. package/dist/api/QFile.json +1 -1
  2. package/dist/api/QUploader.json +1 -1
  3. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  4. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  7. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  8. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  9. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  10. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  11. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  12. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  13. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  14. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  15. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  16. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  17. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  18. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  19. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  20. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  21. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  22. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +2 -2
  27. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +2 -2
  36. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +2 -2
  37. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +2 -2
  38. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  41. package/dist/icon-set/themify.umd.prod.js +1 -1
  42. package/dist/lang/ar-TN.umd.prod.js +1 -1
  43. package/dist/lang/ar.umd.prod.js +1 -1
  44. package/dist/lang/az-Latn.umd.prod.js +1 -1
  45. package/dist/lang/bg.umd.prod.js +1 -1
  46. package/dist/lang/bn.umd.prod.js +1 -1
  47. package/dist/lang/bs-BA.umd.prod.js +1 -1
  48. package/dist/lang/ca.umd.prod.js +1 -1
  49. package/dist/lang/cs.umd.prod.js +1 -1
  50. package/dist/lang/da.umd.prod.js +1 -1
  51. package/dist/lang/de-CH.umd.prod.js +1 -1
  52. package/dist/lang/de-DE.umd.prod.js +1 -1
  53. package/dist/lang/de.umd.prod.js +1 -1
  54. package/dist/lang/el.umd.prod.js +1 -1
  55. package/dist/lang/en-GB.umd.prod.js +1 -1
  56. package/dist/lang/en-US.umd.prod.js +1 -1
  57. package/dist/lang/eo.umd.prod.js +1 -1
  58. package/dist/lang/es.umd.prod.js +1 -1
  59. package/dist/lang/et.umd.prod.js +1 -1
  60. package/dist/lang/eu.umd.prod.js +1 -1
  61. package/dist/lang/fa-IR.umd.prod.js +1 -1
  62. package/dist/lang/fa.umd.prod.js +1 -1
  63. package/dist/lang/fi.umd.prod.js +1 -1
  64. package/dist/lang/fr.umd.prod.js +1 -1
  65. package/dist/lang/gn.umd.prod.js +1 -1
  66. package/dist/lang/he.umd.prod.js +1 -1
  67. package/dist/lang/hi.umd.prod.js +1 -1
  68. package/dist/lang/hr.umd.prod.js +1 -1
  69. package/dist/lang/hu.umd.prod.js +1 -1
  70. package/dist/lang/id.umd.prod.js +1 -1
  71. package/dist/lang/is.umd.prod.js +1 -1
  72. package/dist/lang/it.umd.prod.js +1 -1
  73. package/dist/lang/ja.umd.prod.js +1 -1
  74. package/dist/lang/kk.umd.prod.js +1 -1
  75. package/dist/lang/km.umd.prod.js +1 -1
  76. package/dist/lang/ko-KR.umd.prod.js +1 -1
  77. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  78. package/dist/lang/lt.umd.prod.js +1 -1
  79. package/dist/lang/lu.umd.prod.js +1 -1
  80. package/dist/lang/lv.umd.prod.js +1 -1
  81. package/dist/lang/mk.umd.prod.js +1 -1
  82. package/dist/lang/ml.umd.prod.js +1 -1
  83. package/dist/lang/mm.umd.prod.js +1 -1
  84. package/dist/lang/ms-MY.umd.prod.js +1 -1
  85. package/dist/lang/ms.umd.prod.js +1 -1
  86. package/dist/lang/my.umd.prod.js +1 -1
  87. package/dist/lang/nb-NO.umd.prod.js +1 -1
  88. package/dist/lang/nl.umd.prod.js +1 -1
  89. package/dist/lang/pl.umd.prod.js +1 -1
  90. package/dist/lang/pt-BR.umd.prod.js +1 -1
  91. package/dist/lang/pt.umd.prod.js +1 -1
  92. package/dist/lang/ro.umd.prod.js +1 -1
  93. package/dist/lang/ru.umd.prod.js +1 -1
  94. package/dist/lang/sk.umd.prod.js +1 -1
  95. package/dist/lang/sl.umd.prod.js +1 -1
  96. package/dist/lang/sm.umd.prod.js +1 -1
  97. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  98. package/dist/lang/sr.umd.prod.js +1 -1
  99. package/dist/lang/sv.umd.prod.js +1 -1
  100. package/dist/lang/ta.umd.prod.js +1 -1
  101. package/dist/lang/th.umd.prod.js +1 -1
  102. package/dist/lang/tl.umd.prod.js +1 -1
  103. package/dist/lang/tr.umd.prod.js +1 -1
  104. package/dist/lang/ug.umd.prod.js +1 -1
  105. package/dist/lang/uk.umd.prod.js +1 -1
  106. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  107. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  108. package/dist/lang/vi.umd.prod.js +1 -1
  109. package/dist/lang/zh-CN.umd.prod.js +1 -1
  110. package/dist/lang/zh-TW.umd.prod.js +1 -1
  111. package/dist/quasar.client.js +21 -22
  112. package/dist/quasar.sass +58 -58
  113. package/dist/quasar.server.prod.cjs +4 -4
  114. package/dist/quasar.server.prod.js +4 -4
  115. package/dist/quasar.umd.js +21 -22
  116. package/dist/quasar.umd.prod.js +16 -16
  117. package/dist/types/api/qfile.d.ts +2 -0
  118. package/dist/types/api/qtree.d.ts +1 -1
  119. package/dist/types/api/slider.d.ts +2 -1
  120. package/dist/types/extras/icon-set.d.ts +11 -6
  121. package/dist/types/index.d.ts +161 -160
  122. package/dist/types/lang.d.ts +5 -1
  123. package/dist/types/plugin.d.ts +7 -7
  124. package/dist/web-types/web-types.json +1 -1
  125. package/package.json +4 -4
  126. package/src/components/file/QFile.json +2 -1
  127. package/src/components/select/QSelect.js +15 -13
  128. package/src/components/time/QTime.sass +5 -5
  129. package/src/components/uploader/QUploader.json +0 -12
  130. package/src/composables/private.use-file/use-file.json +5 -2
  131. package/src/composables/private.use-key-composition/use-key-composition.js +19 -2
  132. package/src/composables/use-timeout/use-timeout.js +1 -1
  133. package/src/css/core/elevation.sass +6 -4
  134. package/src/css/core/flex.sass +5 -6
  135. package/src/css/core/size.sass +20 -18
  136. package/src/css/core/typography.sass +11 -9
  137. package/src/css/flex-addon.sass +22 -20
  138. package/src/css/helpers/math.sass +1 -1
  139. package/src/css/helpers/string.sass +7 -4
  140. package/src/css/variables.sass +11 -9
  141. package/src/utils/private.config/nodes.js +1 -3
  142. package/wrappers/index.cjs +1 -0
  143. package/wrappers/index.js +1 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -1398,7 +1398,7 @@ function prepareApp(app2, uiOpts, pluginOpts) {
1398
1398
  }
1399
1399
  var install_quasar_default = false ? function(parentApp, opts = {}, ssrContext) {
1400
1400
  const $q = {
1401
- version: "2.17.0",
1401
+ version: "2.17.2",
1402
1402
  config: opts.config || {}
1403
1403
  };
1404
1404
  Object.assign(ssrContext, {
@@ -1428,7 +1428,7 @@ var install_quasar_default = false ? function(parentApp, opts = {}, ssrContext)
1428
1428
  ssrContext
1429
1429
  });
1430
1430
  } : function(parentApp, opts = {}) {
1431
- const $q = { version: "2.17.0" };
1431
+ const $q = { version: "2.17.2" };
1432
1432
  if (globalConfigIsFrozen === false) {
1433
1433
  if (opts.config !== void 0) {
1434
1434
  Object.assign(globalConfig, opts.config);
@@ -3528,9 +3528,7 @@ function removeGlobalNode(el) {
3528
3528
  el.remove();
3529
3529
  }
3530
3530
  function changeGlobalNodesTarget(newTarget) {
3531
- if (newTarget === target) {
3532
- return;
3533
- }
3531
+ if (newTarget === target) return;
3534
3532
  target = newTarget;
3535
3533
  if (target === document.body || portalTypeList.reduce((acc, type) => type === "dialog" ? acc + 1 : acc, 0) < 2) {
3536
3534
  nodesList.forEach((node) => {
@@ -3745,7 +3743,7 @@ function use_timeout_default() {
3745
3743
  return {
3746
3744
  removeTimeout,
3747
3745
  registerTimeout(fn, delay) {
3748
- removeTimeout(timer2);
3746
+ removeTimeout();
3749
3747
  if (vmIsDestroyed(vm2) === false) {
3750
3748
  timer2 = setTimeout(() => {
3751
3749
  timer2 = null;
@@ -16667,14 +16665,21 @@ function use_mask_default(props4, emit, emitValue, inputRef) {
16667
16665
  }
16668
16666
 
16669
16667
  // src/composables/private.use-key-composition/use-key-composition.js
16668
+ var isJapanese = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/;
16669
+ var isChinese = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u;
16670
+ var isKorean = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/;
16671
+ var isPlainText = /[a-z0-9_ -]$/i;
16670
16672
  function use_key_composition_default(onInput) {
16671
16673
  return function onComposition(e) {
16672
16674
  if (e.type === "compositionend" || e.type === "change") {
16673
16675
  if (e.target.qComposing !== true) return;
16674
16676
  e.target.qComposing = false;
16675
16677
  onInput(e);
16676
- } else if (e.type === "compositionstart") {
16677
- e.target.qComposing = true;
16678
+ } else if (e.type === "compositionupdate" && e.target.qComposing !== true && typeof e.data === "string") {
16679
+ const isComposing = client.is.firefox === true ? isPlainText.test(e.data) === false : isJapanese.test(e.data) === true || isChinese.test(e.data) === true || isKorean.test(e.data) === true;
16680
+ if (isComposing === true) {
16681
+ e.target.qComposing = true;
16682
+ }
16678
16683
  }
16679
16684
  };
16680
16685
  }
@@ -20847,7 +20852,7 @@ var QSelect_default = createComponent({
20847
20852
  const menuContentRef = ref54(null);
20848
20853
  const nameProp = useFormInputNameAttr(props4);
20849
20854
  const onComposition = use_key_composition_default(onInput);
20850
- const virtualScrollLength = computed89(() => props4.options.length);
20855
+ const virtualScrollLength = computed89(() => Array.isArray(props4.options) ? props4.options.length : 0);
20851
20856
  const virtualScrollItemSizeComputed = computed89(() => props4.virtualScrollItemSize === void 0 ? props4.optionsDense === true ? 24 : 48 : props4.virtualScrollItemSize);
20852
20857
  const {
20853
20858
  virtualScrollSliceRange,
@@ -20866,7 +20871,7 @@ var QSelect_default = createComponent({
20866
20871
  const state = useFieldState();
20867
20872
  const innerValue = computed89(() => {
20868
20873
  const mapNull = props4.mapOptions === true && props4.multiple !== true, val = props4.modelValue !== void 0 && (props4.modelValue !== null || mapNull === true) ? props4.multiple === true && Array.isArray(props4.modelValue) ? props4.modelValue : [props4.modelValue] : [];
20869
- if (props4.mapOptions === true) {
20874
+ if (props4.mapOptions === true && Array.isArray(props4.options) === true) {
20870
20875
  const cache = props4.mapOptions === true && innerValueCache !== void 0 ? innerValueCache : [];
20871
20876
  const values = val.map((v) => getOption(v, cache));
20872
20877
  return props4.modelValue === null && mapNull === true ? values.filter((v) => v !== null) : values;
@@ -21177,10 +21182,8 @@ var QSelect_default = createComponent({
21177
21182
  if (typeof value2 === "string" && value2.length !== 0) {
21178
21183
  const needle = value2.toLocaleLowerCase();
21179
21184
  const findFn = (extractFn) => {
21180
- const option = props4.options.find((opt) => extractFn.value(opt).toLocaleLowerCase() === needle);
21181
- if (option === void 0) {
21182
- return false;
21183
- }
21185
+ const option = props4.options.find((opt) => String(extractFn.value(opt)).toLocaleLowerCase() === needle);
21186
+ if (option === void 0) return false;
21184
21187
  if (innerValue.value.indexOf(option) === -1) {
21185
21188
  toggleOption(option);
21186
21189
  } else {
@@ -21189,13 +21192,9 @@ var QSelect_default = createComponent({
21189
21192
  return true;
21190
21193
  };
21191
21194
  const fillFn = (afterFilter) => {
21192
- if (findFn(getOptionValue) === true) {
21193
- return;
21194
- }
21195
- if (findFn(getOptionLabel) === true || afterFilter === true) {
21196
- return;
21195
+ if (findFn(getOptionValue) !== true && afterFilter !== true && findFn(getOptionLabel) !== true) {
21196
+ filter(value2, true, () => fillFn(true));
21197
21197
  }
21198
- filter(value2, true, () => fillFn(true));
21199
21198
  };
21200
21199
  fillFn();
21201
21200
  } else {
@@ -30015,7 +30014,7 @@ function runSequentialPromises(sequentialPromises, { threadsNumber = 1, abortOnF
30015
30014
 
30016
30015
  // src/index.dev.js
30017
30016
  var Quasar = {
30018
- version: "2.17.0",
30017
+ version: "2.17.2",
30019
30018
  install: install_quasar_default,
30020
30019
  // TODO: remove in Qv3 (should only be used through the plugin)
30021
30020
  // We provide a deprecated fallback here
package/dist/quasar.sass CHANGED
@@ -1,15 +1,17 @@
1
1
  /*!
2
- * Quasar Framework v2.17.0
2
+ * Quasar Framework v2.17.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
6
- @use 'sass:math'
7
-
6
+ @use 'sass:list'
7
+ @use 'sass:string'
8
+ @use 'sass:math'
9
+ @use 'sass:map'
8
10
  @function str-replace($string, $search, $replace: '')
9
- $index: str-index($string, $search)
11
+ $index: string.index($string, $search)
10
12
  @if $index
11
- $start: str-slice($string, 1, $index - 1)
12
- $end: str-replace(str-slice($string, $index + str-length($search)), $search, $replace)
13
+ $start: string.slice($string, 1, $index - 1)
14
+ $end: str-replace(string.slice($string, $index + string.length($search)), $search, $replace)
13
15
  @return $start + $replace + $end
14
16
  @return $string
15
17
  @function str-fr($selector, $name, $i: '')
@@ -17,8 +19,7 @@
17
19
  @function str-fe($selector, $name, $noProc, $i: '')
18
20
  @if $noProc
19
21
  @return str-fr($selector, $name, $i)
20
- @return join(str-fr($selector, '', $i), str-fr($selector, $name, $i), $separator: comma)
21
-
22
+ @return list.join(str-fr($selector, '', $i), str-fr($selector, $name, $i), $separator: comma)
22
23
  $PI: 3.14159265359
23
24
  @function pow($number, $exp)
24
25
  $value: 1
@@ -36,7 +37,7 @@ $PI: 3.14159265359
36
37
  $value: $value * $i
37
38
  @return $value
38
39
  @function toFixed($number, $power)
39
- @return math.div(round($number * $power), $power)
40
+ @return math.div(math.round($number * $power), $power)
40
41
  @function sin($angle)
41
42
  $sin: 0
42
43
 
@@ -80,14 +81,14 @@ $body-font-size : 14px !default
80
81
  $body-line-height : 1.5 !default
81
82
  $flex-gutter: ('none': 0, 'xs': $flex-gutter-xs, 'sm': $flex-gutter-sm, 'md': $flex-gutter-md, 'lg': $flex-gutter-lg, 'xl': $flex-gutter-xl) !default
82
83
  $sizes: ('xs': 0, 'sm': ($breakpoint-xs + 1), 'md': ($breakpoint-sm + 1), 'lg': ($breakpoint-md + 1), 'xl': ($breakpoint-lg + 1)) !default
83
- $breakpoint-xs-max: (map-get($sizes, "sm") - 0.02) !default
84
- $breakpoint-sm-min: map-get($sizes, "sm") !default
85
- $breakpoint-sm-max: (map-get($sizes, "md") - 0.02) !default
86
- $breakpoint-md-min: map-get($sizes, "md") !default
87
- $breakpoint-md-max: (map-get($sizes, "lg") - 0.02) !default
88
- $breakpoint-lg-min: map-get($sizes, "lg") !default
89
- $breakpoint-lg-max: (map-get($sizes, "xl") - 0.02) !default
90
- $breakpoint-xl-min: map-get($sizes, "xl") !default
84
+ $breakpoint-xs-max: (map.get($sizes, "sm") - 0.02) !default
85
+ $breakpoint-sm-min: map.get($sizes, "sm") !default
86
+ $breakpoint-sm-max: (map.get($sizes, "md") - 0.02) !default
87
+ $breakpoint-md-min: map.get($sizes, "md") !default
88
+ $breakpoint-md-max: (map.get($sizes, "lg") - 0.02) !default
89
+ $breakpoint-lg-min: map.get($sizes, "lg") !default
90
+ $breakpoint-lg-max: (map.get($sizes, "xl") - 0.02) !default
91
+ $breakpoint-xl-min: map.get($sizes, "xl") !default
91
92
  $h1: (size: 6rem, line-height: 6rem, letter-spacing: -.01562em, weight: 300) !default
92
93
  $h2: (size: 3.75rem, line-height: 3.75rem, letter-spacing: -.00833em, weight: 300) !default
93
94
  $h3: (size: 3rem, line-height: 3.125rem, letter-spacing: normal, weight: 400) !default
@@ -101,7 +102,7 @@ $body2: (size: .875rem, line-height: 1.25rem, letter-spacing: .01786em, w
101
102
  $overline: (size: .75rem, line-height: 2rem, letter-spacing: .16667em, weight: 500) !default
102
103
  $caption: (size: .75rem, line-height: 1.25rem, letter-spacing: .03333em, weight: 400) !default
103
104
  $headings: ('h1': $h1, 'h2': $h2, 'h3': $h3, 'h4': $h4, 'h5': $h5, 'h6': $h6, 'subtitle1': $subtitle1, 'subtitle2': $subtitle2, 'body1': $body1, 'body2': $body2, 'overline': $overline, 'caption': $caption) !default
104
- $h-tags: (h1: map-get($headings, "h1"), h2: map-get($headings, "h2"), h3: map-get($headings, "h3"), h4: map-get($headings, "h4"), h5: map-get($headings, "h5"), h6: map-get($headings, "h6")) !default
105
+ $h-tags: (h1: map.get($headings, "h1"), h2: map.get($headings, "h2"), h3: map.get($headings, "h3"), h4: map.get($headings, "h4"), h5: map.get($headings, "h5"), h6: map.get($headings, "h6")) !default
105
106
  $text-weights: (thin: 100, light: 300, regular: 400, medium: 500, bold: 700, bolder: 900) !default
106
107
  $primary : #1976D2 !default
107
108
  $secondary : #26A69A !default
@@ -4664,15 +4665,15 @@ body.desktop .q-table > tbody > tr:not(.q-tr--no-hover):hover > td:not(.q-td--no
4664
4665
  $top: (1 + sin($angle))
4665
4666
  $left: (1 + cos($angle))
4666
4667
  &__clock-pos-#{$pos}
4667
- top: toFixed(percentage($top * 0.5), 100)
4668
- left: toFixed(percentage($left * 0.5), 100) #{"/* rtl:ignore */"}
4668
+ top: toFixed(math.percentage($top * 0.5), 100)
4669
+ left: toFixed(math.percentage($left * 0.5), 100) #{"/* rtl:ignore */"}
4669
4670
  @for $pos from 12 through 23
4670
4671
  $angle: (270 + 30 * $pos)
4671
4672
  $top: (1 + sin($angle))
4672
4673
  $left: (1 + cos($angle))
4673
4674
  &__clock-pos-#{$pos}
4674
- top: toFixed(percentage(.15 + $top * .35), 100)
4675
- left: toFixed(percentage(.15 + $left * .35), 100) #{"/* rtl:ignore */"}
4675
+ top: toFixed(math.percentage(.15 + $top * .35), 100)
4676
+ left: toFixed(math.percentage(.15 + $left * .35), 100) #{"/* rtl:ignore */"}
4676
4677
  &__now-button
4677
4678
  background-color: var(--q-primary)
4678
4679
  color: #fff
@@ -6900,9 +6901,9 @@ body.q-ios-padding .q-notifications__list
6900
6901
  transition: $shadow-transition !important
6901
6902
  @for $z from 1 through 24
6902
6903
  .shadow-#{$z}
6903
- box-shadow: nth($shadows, $z)
6904
+ box-shadow: list.nth($shadows, $z)
6904
6905
  .shadow-up-#{$z}
6905
- box-shadow: nth($shadows-up, $z)
6906
+ box-shadow: list.nth($shadows-up, $z)
6906
6907
  .inset-shadow
6907
6908
  box-shadow: $inset-shadow
6908
6909
  .inset-shadow-down
@@ -6910,9 +6911,9 @@ body.q-ios-padding .q-notifications__list
6910
6911
  body.body--dark
6911
6912
  @for $z from 1 through 24
6912
6913
  .shadow-#{$z}
6913
- box-shadow: nth($dark-shadows, $z)
6914
+ box-shadow: list.nth($dark-shadows, $z)
6914
6915
  .shadow-up-#{$z}
6915
- box-shadow: nth($dark-shadows-up, $z)
6916
+ box-shadow: list.nth($dark-shadows-up, $z)
6916
6917
  .inset-shadow
6917
6918
  box-shadow: $inset-dark-shadow
6918
6919
  .inset-shadow-down
@@ -6927,7 +6928,6 @@ body.body--dark
6927
6928
  z-index: $z-fullscreen
6928
6929
  .z-inherit
6929
6930
  z-index: inherit !important
6930
-
6931
6931
  @mixin fg($name, $size)
6932
6932
  $noProcNotZero: $size > 0
6933
6933
  @media (min-width: $size)
@@ -6950,19 +6950,19 @@ body.body--dark
6950
6950
  &-shrink
6951
6951
  flex: 0 1 auto
6952
6952
  @for $i from 0 through $flex-cols
6953
- $ic: quote('' + $i)
6953
+ $ic: string.quote('' + $i)
6954
6954
  #{str-fe('.col<name>-<i>', $name, $noProcNotZero, $ic)}
6955
6955
  @extend .col#{$name}-auto
6956
6956
  .row
6957
6957
  #{str-fe('> .col<name>-<i>', $name, $noProcNotZero, $ic)}
6958
6958
  height: auto
6959
- width: toFixed(percentage(math.div($i, $flex-cols)), 10000)
6959
+ width: toFixed(math.percentage(math.div($i, $flex-cols)), 10000)
6960
6960
  @if $i != 0 or $name != ''
6961
6961
  #{str-fe('> .offset<name>-<i>', $name, $noProcNotZero, $ic)}
6962
- margin-left: toFixed(percentage(math.div($i, $flex-cols)), 10000)
6962
+ margin-left: toFixed(math.percentage(math.div($i, $flex-cols)), 10000)
6963
6963
  .column
6964
6964
  #{str-fe('> .col<name>-<i>', $name, $noProcNotZero, $ic)}
6965
- height: toFixed(percentage(math.div($i, $flex-cols)), 10000)
6965
+ height: toFixed(math.percentage(math.div($i, $flex-cols)), 10000)
6966
6966
  width: auto
6967
6967
  @if $size == 0 and $i == $flex-cols
6968
6968
  .row > .col-all
@@ -7295,37 +7295,37 @@ body.q-ios-padding .fullscreen
7295
7295
  display: inline-block !important
7296
7296
  @each $space, $value in $spaces
7297
7297
  .q-pa-#{$space}
7298
- padding: map-get($value, "y") map-get($value, "x")
7298
+ padding: map.get($value, "y") map.get($value, "x")
7299
7299
  .q-pl-#{$space}
7300
- padding-left: map-get($value, "x")
7300
+ padding-left: map.get($value, "x")
7301
7301
  .q-pr-#{$space}
7302
- padding-right: map-get($value, "x")
7302
+ padding-right: map.get($value, "x")
7303
7303
  .q-pt-#{$space}
7304
- padding-top: map-get($value, "y")
7304
+ padding-top: map.get($value, "y")
7305
7305
  .q-pb-#{$space}
7306
- padding-bottom: map-get($value, "y")
7306
+ padding-bottom: map.get($value, "y")
7307
7307
  .q-px-#{$space}
7308
- padding-left: map-get($value, "x")
7309
- padding-right: map-get($value, "x")
7308
+ padding-left: map.get($value, "x")
7309
+ padding-right: map.get($value, "x")
7310
7310
  .q-py-#{$space}
7311
- padding-top: map-get($value, "y")
7312
- padding-bottom: map-get($value, "y")
7311
+ padding-top: map.get($value, "y")
7312
+ padding-bottom: map.get($value, "y")
7313
7313
  .q-ma-#{$space}
7314
- margin: map-get($value, "y") map-get($value, "x")
7314
+ margin: map.get($value, "y") map.get($value, "x")
7315
7315
  .q-ml-#{$space}
7316
- margin-left: map-get($value, "x")
7316
+ margin-left: map.get($value, "x")
7317
7317
  .q-mr-#{$space}
7318
- margin-right: map-get($value, "x")
7318
+ margin-right: map.get($value, "x")
7319
7319
  .q-mt-#{$space}
7320
- margin-top: map-get($value, "y")
7320
+ margin-top: map.get($value, "y")
7321
7321
  .q-mb-#{$space}
7322
- margin-bottom: map-get($value, "y")
7322
+ margin-bottom: map.get($value, "y")
7323
7323
  .q-mx-#{$space}
7324
- margin-left: map-get($value, "x")
7325
- margin-right: map-get($value, "x")
7324
+ margin-left: map.get($value, "x")
7325
+ margin-right: map.get($value, "x")
7326
7326
  .q-my-#{$space}
7327
- margin-top: map-get($value, "y")
7328
- margin-bottom: map-get($value, "y")
7327
+ margin-top: map.get($value, "y")
7328
+ margin-bottom: map.get($value, "y")
7329
7329
  .q-mt-auto, .q-my-auto
7330
7330
  margin-top: auto
7331
7331
  .q-ml-auto
@@ -7492,19 +7492,19 @@ body
7492
7492
  font-size: $body-font-size
7493
7493
  @each $heading, $value in $h-tags
7494
7494
  #{$heading}
7495
- font-size: map-get($value, "size")
7496
- font-weight: map-get($value, "weight")
7497
- line-height: map-get($value, "line-height")
7498
- letter-spacing: map-get($value, "letter-spacing")
7495
+ font-size: map.get($value, "size")
7496
+ font-weight: map.get($value, "weight")
7497
+ line-height: map.get($value, "line-height")
7498
+ letter-spacing: map.get($value, "letter-spacing")
7499
7499
  p
7500
- margin: 0 0 map-get(map-get($spaces, "md"), "y")
7500
+ margin: 0 0 map.get(map.get($spaces, "md"), "y")
7501
7501
  .text-
7502
7502
  @each $heading, $value in $headings
7503
7503
  &#{$heading}
7504
- font-size: map-get($value, "size")
7505
- font-weight: map-get($value, "weight")
7506
- line-height: map-get($value, "line-height")
7507
- letter-spacing: map-get($value, "letter-spacing")
7504
+ font-size: map.get($value, "size")
7505
+ font-weight: map.get($value, "weight")
7506
+ line-height: map.get($value, "line-height")
7507
+ letter-spacing: map.get($value, "letter-spacing")
7508
7508
  &uppercase
7509
7509
  text-transform: uppercase
7510
7510
  &lowercase