quasar 2.20.0 → 2.20.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 (218) hide show
  1. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  2. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  3. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  4. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  7. package/dist/icon-set/fontawesome-v7-pro.umd.prod.js +1 -1
  8. package/dist/icon-set/fontawesome-v7.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 +1 -1
  27. package/dist/icon-set/svg-fontawesome-v7.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-ionicons-v7.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-ionicons-v8.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  44. package/dist/icon-set/themify.umd.prod.js +1 -1
  45. package/dist/lang/ar-TN.umd.prod.js +1 -1
  46. package/dist/lang/ar.umd.prod.js +1 -1
  47. package/dist/lang/az-Latn.umd.prod.js +1 -1
  48. package/dist/lang/bg.umd.prod.js +1 -1
  49. package/dist/lang/bn.umd.prod.js +1 -1
  50. package/dist/lang/bs-BA.umd.prod.js +1 -1
  51. package/dist/lang/ca.umd.prod.js +1 -1
  52. package/dist/lang/cs.umd.prod.js +1 -1
  53. package/dist/lang/da.umd.prod.js +1 -1
  54. package/dist/lang/de-CH.umd.prod.js +1 -1
  55. package/dist/lang/de-DE.umd.prod.js +1 -1
  56. package/dist/lang/de.umd.prod.js +1 -1
  57. package/dist/lang/el.umd.prod.js +1 -1
  58. package/dist/lang/en-GB.umd.prod.js +1 -1
  59. package/dist/lang/en-US.umd.prod.js +1 -1
  60. package/dist/lang/eo.umd.prod.js +1 -1
  61. package/dist/lang/es.umd.prod.js +1 -1
  62. package/dist/lang/et.umd.prod.js +1 -1
  63. package/dist/lang/eu.umd.prod.js +1 -1
  64. package/dist/lang/fa-IR.umd.prod.js +1 -1
  65. package/dist/lang/fa.umd.prod.js +1 -1
  66. package/dist/lang/fi.umd.prod.js +1 -1
  67. package/dist/lang/fr.umd.prod.js +1 -1
  68. package/dist/lang/gn.umd.prod.js +1 -1
  69. package/dist/lang/he.umd.prod.js +1 -1
  70. package/dist/lang/hi.umd.prod.js +1 -1
  71. package/dist/lang/hr.umd.prod.js +1 -1
  72. package/dist/lang/hu.umd.prod.js +1 -1
  73. package/dist/lang/id.umd.prod.js +1 -1
  74. package/dist/lang/is.umd.prod.js +1 -1
  75. package/dist/lang/it.umd.prod.js +1 -1
  76. package/dist/lang/ja.umd.prod.js +1 -1
  77. package/dist/lang/kk.umd.prod.js +1 -1
  78. package/dist/lang/km.umd.prod.js +1 -1
  79. package/dist/lang/ko-KR.umd.prod.js +1 -1
  80. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  81. package/dist/lang/lt.umd.prod.js +1 -1
  82. package/dist/lang/lu.umd.prod.js +1 -1
  83. package/dist/lang/lv.umd.prod.js +1 -1
  84. package/dist/lang/mk.umd.prod.js +1 -1
  85. package/dist/lang/ml.umd.prod.js +1 -1
  86. package/dist/lang/mm.umd.prod.js +1 -1
  87. package/dist/lang/ms-MY.umd.prod.js +1 -1
  88. package/dist/lang/ms.umd.prod.js +1 -1
  89. package/dist/lang/my.umd.prod.js +1 -1
  90. package/dist/lang/nb-NO.umd.prod.js +1 -1
  91. package/dist/lang/nl.umd.prod.js +1 -1
  92. package/dist/lang/pl.umd.prod.js +1 -1
  93. package/dist/lang/pt-BR.umd.prod.js +1 -1
  94. package/dist/lang/pt.umd.prod.js +1 -1
  95. package/dist/lang/ro.umd.prod.js +1 -1
  96. package/dist/lang/ru.umd.prod.js +1 -1
  97. package/dist/lang/sk.umd.prod.js +1 -1
  98. package/dist/lang/sl.umd.prod.js +1 -1
  99. package/dist/lang/sm.umd.prod.js +1 -1
  100. package/dist/lang/sq.umd.prod.js +1 -1
  101. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  102. package/dist/lang/sr.umd.prod.js +1 -1
  103. package/dist/lang/sv.umd.prod.js +1 -1
  104. package/dist/lang/ta.umd.prod.js +1 -1
  105. package/dist/lang/th.umd.prod.js +1 -1
  106. package/dist/lang/tl.umd.prod.js +1 -1
  107. package/dist/lang/tr.umd.prod.js +1 -1
  108. package/dist/lang/ug.umd.prod.js +1 -1
  109. package/dist/lang/uk.umd.prod.js +1 -1
  110. package/dist/lang/ur-PK.umd.prod.js +1 -1
  111. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  112. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  113. package/dist/lang/vi.umd.prod.js +1 -1
  114. package/dist/lang/zh-CN.umd.prod.js +1 -1
  115. package/dist/lang/zh-TW.umd.prod.js +1 -1
  116. package/dist/quasar.client.js +87 -96
  117. package/dist/quasar.sass +1 -1
  118. package/dist/quasar.server.prod.cjs +4 -4
  119. package/dist/quasar.server.prod.js +4 -4
  120. package/dist/quasar.umd.js +87 -96
  121. package/dist/quasar.umd.prod.js +4 -4
  122. package/dist/web-types/web-types.json +1 -1
  123. package/package.json +5 -5
  124. package/src/components/dialog/QDialog.js +0 -1
  125. package/src/components/drawer/QDrawer.js +1 -1
  126. package/src/components/input/QInput.js +2 -1
  127. package/src/components/table/QTable.js +1 -1
  128. package/src/components.js +123 -79
  129. package/src/composables.js +11 -25
  130. package/src/directives/touch-swipe/TouchSwipe.js +4 -2
  131. package/src/directives.js +11 -25
  132. package/src/plugins/lang/Lang.js +1 -0
  133. package/src/plugins/private.body/Body.js +1 -2
  134. package/src/plugins.js +17 -37
  135. package/src/utils/colors/colors.js +3 -3
  136. package/src/utils/colors/colors.test.js +1 -1
  137. package/src/utils/event/event.js +1 -2
  138. package/src/utils/scroll/prevent-scroll.js +5 -3
  139. package/src/utils.js +24 -52
  140. package/src/components/ajax-bar/index.js +0 -3
  141. package/src/components/avatar/index.js +0 -3
  142. package/src/components/badge/index.js +0 -3
  143. package/src/components/banner/index.js +0 -3
  144. package/src/components/bar/index.js +0 -3
  145. package/src/components/breadcrumbs/index.js +0 -4
  146. package/src/components/btn/index.js +0 -3
  147. package/src/components/btn-dropdown/index.js +0 -3
  148. package/src/components/btn-group/index.js +0 -3
  149. package/src/components/btn-toggle/index.js +0 -3
  150. package/src/components/card/index.js +0 -5
  151. package/src/components/carousel/index.js +0 -5
  152. package/src/components/chat/index.js +0 -3
  153. package/src/components/checkbox/index.js +0 -3
  154. package/src/components/chip/index.js +0 -3
  155. package/src/components/circular-progress/index.js +0 -3
  156. package/src/components/color/index.js +0 -3
  157. package/src/components/date/index.js +0 -3
  158. package/src/components/dialog/index.js +0 -3
  159. package/src/components/drawer/index.js +0 -3
  160. package/src/components/editor/index.js +0 -3
  161. package/src/components/expansion-item/index.js +0 -3
  162. package/src/components/fab/index.js +0 -4
  163. package/src/components/field/index.js +0 -3
  164. package/src/components/file/index.js +0 -3
  165. package/src/components/footer/index.js +0 -3
  166. package/src/components/form/index.js +0 -4
  167. package/src/components/header/index.js +0 -3
  168. package/src/components/icon/index.js +0 -3
  169. package/src/components/img/index.js +0 -3
  170. package/src/components/infinite-scroll/index.js +0 -3
  171. package/src/components/inner-loading/index.js +0 -3
  172. package/src/components/input/index.js +0 -3
  173. package/src/components/intersection/index.js +0 -3
  174. package/src/components/item/index.js +0 -7
  175. package/src/components/knob/index.js +0 -3
  176. package/src/components/layout/index.js +0 -3
  177. package/src/components/linear-progress/index.js +0 -3
  178. package/src/components/markup-table/index.js +0 -3
  179. package/src/components/menu/index.js +0 -3
  180. package/src/components/no-ssr/index.js +0 -3
  181. package/src/components/option-group/index.js +0 -3
  182. package/src/components/page/index.js +0 -4
  183. package/src/components/page-scroller/index.js +0 -3
  184. package/src/components/page-sticky/index.js +0 -3
  185. package/src/components/pagination/index.js +0 -3
  186. package/src/components/parallax/index.js +0 -3
  187. package/src/components/popup-edit/index.js +0 -3
  188. package/src/components/popup-proxy/index.js +0 -3
  189. package/src/components/pull-to-refresh/index.js +0 -3
  190. package/src/components/radio/index.js +0 -3
  191. package/src/components/range/index.js +0 -3
  192. package/src/components/rating/index.js +0 -3
  193. package/src/components/resize-observer/index.js +0 -3
  194. package/src/components/responsive/index.js +0 -3
  195. package/src/components/scroll-area/index.js +0 -3
  196. package/src/components/scroll-observer/index.js +0 -3
  197. package/src/components/select/index.js +0 -3
  198. package/src/components/separator/index.js +0 -3
  199. package/src/components/skeleton/index.js +0 -3
  200. package/src/components/slide-item/index.js +0 -3
  201. package/src/components/slide-transition/index.js +0 -3
  202. package/src/components/slider/index.js +0 -3
  203. package/src/components/space/index.js +0 -3
  204. package/src/components/spinner/index.js +0 -50
  205. package/src/components/splitter/index.js +0 -3
  206. package/src/components/stepper/index.js +0 -5
  207. package/src/components/tab-panels/index.js +0 -4
  208. package/src/components/table/index.js +0 -6
  209. package/src/components/tabs/index.js +0 -5
  210. package/src/components/time/index.js +0 -3
  211. package/src/components/timeline/index.js +0 -4
  212. package/src/components/toggle/index.js +0 -3
  213. package/src/components/toolbar/index.js +0 -4
  214. package/src/components/tooltip/index.js +0 -3
  215. package/src/components/tree/index.js +0 -3
  216. package/src/components/uploader/index.js +0 -4
  217. package/src/components/video/index.js +0 -3
  218. package/src/components/virtual-scroll/index.js +0 -3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.20.0
2
+ * Quasar Framework v2.20.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -282,8 +282,7 @@
282
282
  while (el) {
283
283
  path.push(el);
284
284
  if (el.tagName === "HTML") {
285
- path.push(document);
286
- path.push(window);
285
+ path.push(document, window);
287
286
  return path;
288
287
  }
289
288
  el = el.parentElement;
@@ -555,8 +554,7 @@
555
554
  }
556
555
  if (is.nativeMobile) {
557
556
  const type = is.nativeMobileWrapper;
558
- cls.push(type);
559
- cls.push("native-mobile");
557
+ cls.push(type, "native-mobile");
560
558
  if (is.ios && (cfg[type] === void 0 || cfg[type].iosStatusBarPadding)) cls.push("q-ios-padding");
561
559
  } else if (is.electron) cls.push("electron");
562
560
  else if (is.bex) cls.push("bex");
@@ -1102,7 +1100,7 @@
1102
1100
  };
1103
1101
  }
1104
1102
  var install_quasar_default = function installQuasar(parentApp, opts = {}) {
1105
- const $q = { version: "2.20.0" };
1103
+ const $q = { version: "2.20.2" };
1106
1104
  if (!globalConfigIsFrozen) {
1107
1105
  if (opts.config !== void 0) Object.assign(globalConfig, opts.config);
1108
1106
  $q.config = { ...globalConfig };
@@ -3784,7 +3782,7 @@
3784
3782
  return () => {
3785
3783
  if (buf === void 0 || bufIdx + 16 > 4096) {
3786
3784
  bufIdx = 0;
3787
- buf = new Uint8Array(4096);
3785
+ buf = /* @__PURE__ */ new Uint8Array(4096);
3788
3786
  crypto.getRandomValues(buf);
3789
3787
  }
3790
3788
  const i = bufIdx;
@@ -4339,8 +4337,7 @@
4339
4337
  if (ctx.event.dir !== false) {
4340
4338
  stopAndPrevent(evt);
4341
4339
  if (ctx.event.mouse) {
4342
- document.body.classList.add("no-pointer-events--children");
4343
- document.body.classList.add("non-selectable");
4340
+ document.body.classList.add("no-pointer-events--children", "non-selectable");
4344
4341
  clearSelection();
4345
4342
  ctx.styleCleanup = (withDelay) => {
4346
4343
  ctx.styleCleanup = void 0;
@@ -9659,9 +9656,7 @@
9659
9656
  window.visualViewport.removeEventListener("resize", onAppleResize, listenOpts.passiveCapture);
9660
9657
  window.visualViewport.removeEventListener("scroll", onAppleResize, listenOpts.passiveCapture);
9661
9658
  } else window.removeEventListener("scroll", onAppleScroll, listenOpts.passiveCapture);
9662
- body.classList.remove("q-body--prevent-scroll");
9663
- body.classList.remove("q-body--force-scrollbar-x");
9664
- body.classList.remove("q-body--force-scrollbar-y");
9659
+ body.classList.remove("q-body--prevent-scroll", "q-body--force-scrollbar-x", "q-body--force-scrollbar-y");
9665
9660
  document.qScrollPrevented = false;
9666
9661
  body.style.left = bodyLeft;
9667
9662
  body.style.top = bodyTop;
@@ -9950,7 +9945,6 @@
9950
9945
  class: "q-dialog__backdrop fixed-full",
9951
9946
  style: backdropStyle.value,
9952
9947
  "aria-hidden": "true",
9953
- tabindex: -1,
9954
9948
  onClick: onBackdropClick
9955
9949
  }) : null), (0, vue.h)(vue.Transition, transitionProps.value, () => showing.value ? (0, vue.h)("div", {
9956
9950
  ref: innerRef,
@@ -10238,7 +10232,7 @@
10238
10232
  }, 150);
10239
10233
  }
10240
10234
  function onOpenPan(evt) {
10241
- if (!showing.value) return;
10235
+ if (showing.value) return;
10242
10236
  const width = size.value, position = between(evt.distance.x, 0, width);
10243
10237
  if (evt.isFinal) {
10244
10238
  if (position >= Math.min(75, width)) show();
@@ -14584,7 +14578,7 @@
14584
14578
  inputRef,
14585
14579
  emitValue,
14586
14580
  hasValue,
14587
- floatingLabel: (0, vue.computed)(() => hasValue.value && (props.type !== "number" || Number.isFinite(innerValue.value)) || fieldValueIsFilled(props.displayValue)),
14581
+ floatingLabel: (0, vue.computed)(() => hasValue.value && (props.type !== "number" || Number.isFinite(Number(innerValue.value))) || fieldValueIsFilled(props.displayValue)),
14588
14582
  getControl: () => (0, vue.h)(isTextarea.value ? "textarea" : "input", {
14589
14583
  ref: inputRef,
14590
14584
  class: ["q-field__native q-placeholder", props.inputClass],
@@ -15200,6 +15194,82 @@
15200
15194
  }
15201
15195
  });
15202
15196
  //#endregion
15197
+ //#region src/components/linear-progress/QLinearProgress.js
15198
+ const defaultSizes = {
15199
+ xs: 2,
15200
+ sm: 4,
15201
+ md: 6,
15202
+ lg: 10,
15203
+ xl: 14
15204
+ };
15205
+ function width(val, reverse, $q) {
15206
+ return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
15207
+ }
15208
+ var QLinearProgress_default = createComponent({
15209
+ name: "QLinearProgress",
15210
+ props: {
15211
+ ...useDarkProps,
15212
+ ...useSizeProps,
15213
+ value: {
15214
+ type: Number,
15215
+ default: 0
15216
+ },
15217
+ buffer: Number,
15218
+ color: String,
15219
+ trackColor: String,
15220
+ reverse: Boolean,
15221
+ stripe: Boolean,
15222
+ indeterminate: Boolean,
15223
+ query: Boolean,
15224
+ rounded: Boolean,
15225
+ animationSpeed: {
15226
+ type: [String, Number],
15227
+ default: 2100
15228
+ },
15229
+ instantFeedback: Boolean
15230
+ },
15231
+ setup(props, { slots }) {
15232
+ const { proxy } = (0, vue.getCurrentInstance)();
15233
+ const isDark = useDark(props, proxy.$q);
15234
+ const sizeStyle = useSize(props, defaultSizes);
15235
+ const motion = (0, vue.computed)(() => props.indeterminate || props.query);
15236
+ const widthReverse = (0, vue.computed)(() => props.reverse !== props.query);
15237
+ const style = (0, vue.computed)(() => ({
15238
+ ...sizeStyle.value !== null ? sizeStyle.value : {},
15239
+ "--q-linear-progress-speed": `${props.animationSpeed}ms`
15240
+ }));
15241
+ const classes = (0, vue.computed)(() => "q-linear-progress" + (props.color !== void 0 ? ` text-${props.color}` : "") + (props.reverse || props.query ? " q-linear-progress--reverse" : "") + (props.rounded ? " rounded-borders" : ""));
15242
+ const trackStyle = (0, vue.computed)(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
15243
+ const transitionSuffix = (0, vue.computed)(() => `with${props.instantFeedback ? "out" : ""}-transition`);
15244
+ const trackClass = (0, vue.computed)(() => `q-linear-progress__track absolute-full q-linear-progress__track--${transitionSuffix.value} q-linear-progress__track--${isDark.value ? "dark" : "light"}` + (props.trackColor !== void 0 ? ` bg-${props.trackColor}` : ""));
15245
+ const modelStyle = (0, vue.computed)(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
15246
+ const modelClass = (0, vue.computed)(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
15247
+ const stripeStyle = (0, vue.computed)(() => ({ width: `${props.value * 100}%` }));
15248
+ const stripeClass = (0, vue.computed)(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
15249
+ return () => {
15250
+ const child = [(0, vue.h)("div", {
15251
+ class: trackClass.value,
15252
+ style: trackStyle.value
15253
+ }), (0, vue.h)("div", {
15254
+ class: modelClass.value,
15255
+ style: modelStyle.value
15256
+ })];
15257
+ if (props.stripe && !motion.value) child.push((0, vue.h)("div", {
15258
+ class: stripeClass.value,
15259
+ style: stripeStyle.value
15260
+ }));
15261
+ return (0, vue.h)("div", {
15262
+ class: classes.value,
15263
+ style: style.value,
15264
+ role: "progressbar",
15265
+ "aria-valuemin": 0,
15266
+ "aria-valuemax": 1,
15267
+ "aria-valuenow": props.indeterminate ? void 0 : props.value
15268
+ }, hMergeSlot(slots.default, child));
15269
+ };
15270
+ }
15271
+ });
15272
+ //#endregion
15203
15273
  //#region src/components/markup-table/QMarkupTable.js
15204
15274
  const separatorValues = [
15205
15275
  "horizontal",
@@ -16386,82 +16456,6 @@
16386
16456
  }
16387
16457
  });
16388
16458
  //#endregion
16389
- //#region src/components/linear-progress/QLinearProgress.js
16390
- const defaultSizes = {
16391
- xs: 2,
16392
- sm: 4,
16393
- md: 6,
16394
- lg: 10,
16395
- xl: 14
16396
- };
16397
- function width(val, reverse, $q) {
16398
- return { transform: reverse ? `translateX(${$q.lang.rtl ? "-" : ""}100%) scale3d(${-val},1,1)` : `scale3d(${val},1,1)` };
16399
- }
16400
- var QLinearProgress_default = createComponent({
16401
- name: "QLinearProgress",
16402
- props: {
16403
- ...useDarkProps,
16404
- ...useSizeProps,
16405
- value: {
16406
- type: Number,
16407
- default: 0
16408
- },
16409
- buffer: Number,
16410
- color: String,
16411
- trackColor: String,
16412
- reverse: Boolean,
16413
- stripe: Boolean,
16414
- indeterminate: Boolean,
16415
- query: Boolean,
16416
- rounded: Boolean,
16417
- animationSpeed: {
16418
- type: [String, Number],
16419
- default: 2100
16420
- },
16421
- instantFeedback: Boolean
16422
- },
16423
- setup(props, { slots }) {
16424
- const { proxy } = (0, vue.getCurrentInstance)();
16425
- const isDark = useDark(props, proxy.$q);
16426
- const sizeStyle = useSize(props, defaultSizes);
16427
- const motion = (0, vue.computed)(() => props.indeterminate || props.query);
16428
- const widthReverse = (0, vue.computed)(() => props.reverse !== props.query);
16429
- const style = (0, vue.computed)(() => ({
16430
- ...sizeStyle.value !== null ? sizeStyle.value : {},
16431
- "--q-linear-progress-speed": `${props.animationSpeed}ms`
16432
- }));
16433
- const classes = (0, vue.computed)(() => "q-linear-progress" + (props.color !== void 0 ? ` text-${props.color}` : "") + (props.reverse || props.query ? " q-linear-progress--reverse" : "") + (props.rounded ? " rounded-borders" : ""));
16434
- const trackStyle = (0, vue.computed)(() => width(props.buffer !== void 0 ? props.buffer : 1, widthReverse.value, proxy.$q));
16435
- const transitionSuffix = (0, vue.computed)(() => `with${props.instantFeedback ? "out" : ""}-transition`);
16436
- const trackClass = (0, vue.computed)(() => `q-linear-progress__track absolute-full q-linear-progress__track--${transitionSuffix.value} q-linear-progress__track--${isDark.value ? "dark" : "light"}` + (props.trackColor !== void 0 ? ` bg-${props.trackColor}` : ""));
16437
- const modelStyle = (0, vue.computed)(() => width(motion.value ? 1 : props.value, widthReverse.value, proxy.$q));
16438
- const modelClass = (0, vue.computed)(() => `q-linear-progress__model absolute-full q-linear-progress__model--${transitionSuffix.value} q-linear-progress__model--${motion.value ? "in" : ""}determinate`);
16439
- const stripeStyle = (0, vue.computed)(() => ({ width: `${props.value * 100}%` }));
16440
- const stripeClass = (0, vue.computed)(() => `q-linear-progress__stripe absolute-${props.reverse ? "right" : "left"} q-linear-progress__stripe--${transitionSuffix.value}`);
16441
- return () => {
16442
- const child = [(0, vue.h)("div", {
16443
- class: trackClass.value,
16444
- style: trackStyle.value
16445
- }), (0, vue.h)("div", {
16446
- class: modelClass.value,
16447
- style: modelStyle.value
16448
- })];
16449
- if (props.stripe && !motion.value) child.push((0, vue.h)("div", {
16450
- class: stripeClass.value,
16451
- style: stripeStyle.value
16452
- }));
16453
- return (0, vue.h)("div", {
16454
- class: classes.value,
16455
- style: style.value,
16456
- role: "progressbar",
16457
- "aria-valuemin": 0,
16458
- "aria-valuemax": 1,
16459
- "aria-valuenow": props.indeterminate ? void 0 : props.value
16460
- }, hMergeSlot(slots.default, child));
16461
- };
16462
- }
16463
- });
16464
- //#endregion
16465
16459
  //#region src/components/pull-to-refresh/QPullToRefresh.js
16466
16460
  const PULLER_HEIGHT = 40, OFFSET_TOP = 20;
16467
16461
  var QPullToRefresh_default = createComponent({
@@ -20744,10 +20738,7 @@
20744
20738
  if (topLeft !== void 0) child.push((0, vue.h)("div", { class: "q-table__control" }, [topLeft(marginalsScope.value)]));
20745
20739
  else if (props.title) child.push((0, vue.h)("div", { class: "q-table__control" }, [(0, vue.h)("div", { class: ["q-table__title", props.titleClass] }, props.title)]));
20746
20740
  }
20747
- if (topRight !== void 0) {
20748
- child.push((0, vue.h)("div", { class: "q-table__separator col" }));
20749
- child.push((0, vue.h)("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
20750
- }
20741
+ if (topRight !== void 0) child.push((0, vue.h)("div", { class: "q-table__separator col" }), (0, vue.h)("div", { class: "q-table__control" }, [topRight(marginalsScope.value)]));
20751
20742
  if (child.length === 0) return;
20752
20743
  return (0, vue.h)("div", { class: topClass }, child);
20753
20744
  }
@@ -25969,7 +25960,7 @@
25969
25960
  */
25970
25961
  if (window.Vue === void 0) console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");
25971
25962
  window.Quasar = {
25972
- version: "2.20.0",
25963
+ version: "2.20.2",
25973
25964
  install(app, opts) {
25974
25965
  install_quasar_default(app, {
25975
25966
  components: components_exports,