quasar 2.4.2 → 2.4.6

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 (180) hide show
  1. package/dist/api/BottomSheet.json +6 -2
  2. package/dist/api/LoadingBar.json +1 -1
  3. package/dist/api/Notify.json +25 -25
  4. package/dist/api/QAjaxBar.json +23 -4
  5. package/dist/api/QAvatar.json +1 -1
  6. package/dist/api/QBreadcrumbsEl.json +1 -1
  7. package/dist/api/QBtn.json +2 -2
  8. package/dist/api/QBtnDropdown.json +3 -3
  9. package/dist/api/QBtnToggle.json +1 -1
  10. package/dist/api/QCarousel.json +4 -4
  11. package/dist/api/QCarouselSlide.json +2 -2
  12. package/dist/api/QChatMessage.json +1 -1
  13. package/dist/api/QChip.json +4 -4
  14. package/dist/api/QExpansionItem.json +3 -3
  15. package/dist/api/QFab.json +2 -2
  16. package/dist/api/QFabAction.json +1 -1
  17. package/dist/api/QImg.json +2 -2
  18. package/dist/api/QLinearProgress.json +1 -1
  19. package/dist/api/QPagination.json +4 -4
  20. package/dist/api/QParallax.json +1 -1
  21. package/dist/api/QPullToRefresh.json +1 -1
  22. package/dist/api/QRadio.json +3 -1
  23. package/dist/api/QRating.json +3 -3
  24. package/dist/api/QRouteTab.json +1 -1
  25. package/dist/api/QSelect.json +2 -2
  26. package/dist/api/QStep.json +4 -4
  27. package/dist/api/QStepper.json +4 -4
  28. package/dist/api/QTab.json +1 -1
  29. package/dist/api/QTable.json +4 -4
  30. package/dist/api/QTimelineEntry.json +2 -2
  31. package/dist/api/QToggle.json +1 -1
  32. package/dist/api/QTree.json +1 -1
  33. package/dist/api/QVideo.json +11 -1
  34. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  36. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  37. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  38. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  39. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  40. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  41. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  42. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  43. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  44. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  45. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  46. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  47. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  53. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  54. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  55. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  56. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  57. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  58. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  59. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  60. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  61. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  62. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  63. package/dist/icon-set/themify.umd.prod.js +1 -1
  64. package/dist/lang/ar.umd.prod.js +1 -1
  65. package/dist/lang/az-Latn.umd.prod.js +1 -1
  66. package/dist/lang/bg.umd.prod.js +1 -1
  67. package/dist/lang/bn.umd.prod.js +1 -1
  68. package/dist/lang/ca.umd.prod.js +1 -1
  69. package/dist/lang/cs.umd.prod.js +1 -1
  70. package/dist/lang/da.umd.prod.js +1 -1
  71. package/dist/lang/de.umd.prod.js +1 -1
  72. package/dist/lang/el.umd.prod.js +1 -1
  73. package/dist/lang/en-GB.umd.prod.js +1 -1
  74. package/dist/lang/en-US.umd.prod.js +1 -1
  75. package/dist/lang/eo.umd.prod.js +1 -1
  76. package/dist/lang/es.umd.prod.js +1 -1
  77. package/dist/lang/et.umd.prod.js +1 -1
  78. package/dist/lang/fa-IR.umd.prod.js +1 -1
  79. package/dist/lang/fa.umd.prod.js +1 -1
  80. package/dist/lang/fi.umd.prod.js +1 -1
  81. package/dist/lang/fr.umd.prod.js +1 -1
  82. package/dist/lang/gn.umd.prod.js +1 -1
  83. package/dist/lang/he.umd.prod.js +1 -1
  84. package/dist/lang/hr.umd.prod.js +1 -1
  85. package/dist/lang/hu.umd.prod.js +1 -1
  86. package/dist/lang/id.umd.prod.js +1 -1
  87. package/dist/lang/is.umd.prod.js +1 -1
  88. package/dist/lang/it.umd.prod.js +1 -1
  89. package/dist/lang/ja.umd.prod.js +1 -1
  90. package/dist/lang/km.umd.prod.js +1 -1
  91. package/dist/lang/ko-KR.umd.prod.js +1 -1
  92. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  93. package/dist/lang/lt.umd.prod.js +1 -1
  94. package/dist/lang/lu.umd.prod.js +1 -1
  95. package/dist/lang/lv.umd.prod.js +1 -1
  96. package/dist/lang/ml.umd.prod.js +1 -1
  97. package/dist/lang/ms.umd.prod.js +1 -1
  98. package/dist/lang/nb-NO.umd.prod.js +1 -1
  99. package/dist/lang/nl.umd.prod.js +1 -1
  100. package/dist/lang/pl.umd.prod.js +1 -1
  101. package/dist/lang/pt-BR.umd.prod.js +1 -1
  102. package/dist/lang/pt.umd.prod.js +1 -1
  103. package/dist/lang/ro.umd.prod.js +1 -1
  104. package/dist/lang/ru.umd.prod.js +1 -1
  105. package/dist/lang/sk.umd.prod.js +1 -1
  106. package/dist/lang/sl.umd.prod.js +1 -1
  107. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  108. package/dist/lang/sr.umd.prod.js +1 -1
  109. package/dist/lang/sv.umd.prod.js +1 -1
  110. package/dist/lang/ta.umd.prod.js +1 -1
  111. package/dist/lang/th.umd.prod.js +1 -1
  112. package/dist/lang/tr.umd.prod.js +1 -1
  113. package/dist/lang/ug.umd.prod.js +1 -1
  114. package/dist/lang/uk.umd.prod.js +1 -1
  115. package/dist/lang/vi.umd.prod.js +1 -1
  116. package/dist/lang/zh-CN.umd.prod.js +1 -1
  117. package/dist/lang/zh-TW.umd.prod.js +1 -1
  118. package/dist/quasar.cjs.prod.js +2 -2
  119. package/dist/quasar.css +7 -6
  120. package/dist/quasar.esm.prod.js +2 -2
  121. package/dist/quasar.prod.css +1 -1
  122. package/dist/quasar.rtl.css +7 -6
  123. package/dist/quasar.rtl.prod.css +1 -1
  124. package/dist/quasar.sass +7 -7
  125. package/dist/quasar.umd.js +420 -284
  126. package/dist/quasar.umd.prod.js +2 -2
  127. package/dist/ssr-directives/Morph.js +1 -1
  128. package/dist/types/index.d.ts +29 -11
  129. package/dist/types/utils/date.d.ts +2 -1
  130. package/dist/vetur/quasar-attributes.json +13 -5
  131. package/dist/vetur/quasar-tags.json +4 -2
  132. package/dist/web-types/web-types.json +80 -62
  133. package/package.json +1 -1
  134. package/src/api.extends.json +1 -1
  135. package/src/components/ajax-bar/QAjaxBar.js +47 -26
  136. package/src/components/ajax-bar/QAjaxBar.json +22 -4
  137. package/src/components/breadcrumbs/QBreadcrumbs.js +3 -3
  138. package/src/components/breadcrumbs/QBreadcrumbsEl.js +2 -2
  139. package/src/components/btn/use-btn.js +4 -1
  140. package/src/components/btn-toggle/QBtnToggle.js +2 -0
  141. package/src/components/carousel/QCarouselSlide.json +2 -2
  142. package/src/components/chat/QChatMessage.json +1 -1
  143. package/src/components/dialog/QDialog.js +7 -5
  144. package/src/components/icon/QIcon.js +36 -32
  145. package/src/components/icon/QIcon.sass +0 -1
  146. package/src/components/img/QImg.json +2 -2
  147. package/src/components/layout/QLayout.js +49 -1
  148. package/src/components/linear-progress/QLinearProgress.json +1 -1
  149. package/src/components/menu/QMenu.js +6 -2
  150. package/src/components/pagination/QPagination.js +4 -4
  151. package/src/components/parallax/QParallax.json +1 -1
  152. package/src/components/radio/QRadio.js +2 -6
  153. package/src/components/radio/QRadio.json +1 -1
  154. package/src/components/range/QRange.js +67 -89
  155. package/src/components/rating/QRating.json +3 -3
  156. package/src/components/resize-observer/QResizeObserver.js +11 -10
  157. package/src/components/scroll-area/QScrollArea.js +5 -1
  158. package/src/components/scroll-area/QScrollArea.sass +1 -0
  159. package/src/components/scroll-observer/QScrollObserver.js +2 -0
  160. package/src/components/select/QSelect.json +1 -1
  161. package/src/components/slider/QSlider.js +20 -10
  162. package/src/components/slider/QSlider.sass +5 -6
  163. package/src/components/slider/use-slider.js +19 -16
  164. package/src/components/tabs/QTabs.js +27 -11
  165. package/src/components/timeline/QTimeline.sass +1 -2
  166. package/src/components/timeline/QTimelineEntry.json +1 -1
  167. package/src/components/tooltip/QTooltip.js +1 -2
  168. package/src/components/video/QVideo.js +4 -1
  169. package/src/components/video/QVideo.json +12 -1
  170. package/src/composables/private/use-field.js +13 -15
  171. package/src/composables/private/use-model-toggle.js +1 -1
  172. package/src/composables/private/use-portal.js +9 -7
  173. package/src/composables/private/use-tick.js +7 -14
  174. package/src/css/core/visibility.sass +0 -1
  175. package/src/plugins/BottomSheet.json +7 -1
  176. package/src/plugins/LoadingBar.json +1 -1
  177. package/src/plugins/Notify.json +22 -22
  178. package/src/utils/clone.js +53 -4
  179. package/src/utils/private/focus-manager.js +8 -10
  180. package/src/utils/private/global-dialog.js +4 -4
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.4.2
2
+ * Quasar Framework v2.4.6
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -101,6 +101,10 @@ export interface BottomSheet {
101
101
  * Action label
102
102
  */
103
103
  label?: string | number;
104
+ /**
105
+ * Any other custom props
106
+ */
107
+ [key: string]: any;
104
108
  }[];
105
109
  /**
106
110
  * Display actions as a grid instead of as a list
@@ -469,7 +473,7 @@ export interface Notify {
469
473
  */
470
474
  icon?: string;
471
475
  /**
472
- * URL to an avatar/image; Suggestion: use statics folder
476
+ * URL to an avatar/image; Suggestion: public folder
473
477
  */
474
478
  avatar?: string;
475
479
  /**
@@ -593,7 +597,7 @@ export interface Notify {
593
597
  */
594
598
  icon?: string;
595
599
  /**
596
- * URL to an avatar/image; Suggestion: use statics folder
600
+ * URL to an avatar/image; Suggestion: use public folder
597
601
  */
598
602
  avatar?: string;
599
603
  /**
@@ -676,7 +680,7 @@ export interface Notify {
676
680
  */
677
681
  icon?: string;
678
682
  /**
679
- * URL to an avatar/image; Suggestion: use statics folder
683
+ * URL to an avatar/image; Suggestion: use public folder
680
684
  */
681
685
  avatar?: string;
682
686
  /**
@@ -793,7 +797,7 @@ export interface Notify {
793
797
  */
794
798
  icon?: string;
795
799
  /**
796
- * URL to an avatar/image; Suggestion: use statics folder
800
+ * URL to an avatar/image; Suggestion: use public folder
797
801
  */
798
802
  avatar?: string;
799
803
  /**
@@ -1151,14 +1155,20 @@ export interface QAjaxBarProps {
1151
1155
  * Color name for component from the Quasar Color Palette
1152
1156
  */
1153
1157
  color?: string | undefined;
1158
+ /**
1159
+ * Reverse direction of progress
1160
+ */
1161
+ reverse?: boolean | undefined;
1154
1162
  /**
1155
1163
  * Skip Ajax hijacking (not a reactive prop)
1156
1164
  */
1157
1165
  skipHijack?: boolean | undefined;
1158
1166
  /**
1159
- * Reverse direction of progress
1167
+ * Filter which URL should trigger start() + stop()
1168
+ * @param url The URL being triggered
1169
+ * @returns Should the URL received as param trigger start() + stop()?
1160
1170
  */
1161
- reverse?: boolean | undefined;
1171
+ hijackFilter?: ((url: string) => boolean) | undefined;
1162
1172
  /**
1163
1173
  * Emitted when bar is triggered to appear
1164
1174
  */
@@ -2442,7 +2452,7 @@ export interface QCarouselSlideProps {
2442
2452
  */
2443
2453
  disable?: boolean | undefined;
2444
2454
  /**
2445
- * URL pointing to a slide background image (use statics folder)
2455
+ * URL pointing to a slide background image (use public folder)
2446
2456
  */
2447
2457
  imgSrc?: string | undefined;
2448
2458
  }
@@ -6122,7 +6132,7 @@ export interface QLinearProgressProps {
6122
6132
  instantFeedback?: boolean | undefined;
6123
6133
  /**
6124
6134
  * Animation speed (in milliseconds, without unit)
6125
- * Default value: 300
6135
+ * Default value: 2100
6126
6136
  */
6127
6137
  animationSpeed?: string | number | undefined;
6128
6138
  }
@@ -7211,7 +7221,7 @@ export interface QRadioProps {
7211
7221
  /**
7212
7222
  * The actual value of the option with which model value is changed
7213
7223
  */
7214
- val: number | string;
7224
+ val: number | string | null | undefined;
7215
7225
  /**
7216
7226
  * Label to display along the radio control (or use the default slot instead of this prop)
7217
7227
  */
@@ -13117,6 +13127,10 @@ export interface QVideoProps {
13117
13127
  * The source url to display in an iframe
13118
13128
  */
13119
13129
  src: string;
13130
+ /**
13131
+ * (Accessibility) Set the native 'title' attribute value of the inner iframe being used
13132
+ */
13133
+ title?: string | undefined;
13120
13134
  }
13121
13135
 
13122
13136
  export interface QVideoSlots {}
@@ -13681,6 +13695,10 @@ declare module "./globals" {
13681
13695
  * Action label
13682
13696
  */
13683
13697
  label?: string | number;
13698
+ /**
13699
+ * Any other custom props
13700
+ */
13701
+ [key: string]: any;
13684
13702
  }[];
13685
13703
  /**
13686
13704
  * Display actions as a grid instead of as a list
@@ -13747,7 +13765,7 @@ declare module "./globals" {
13747
13765
  */
13748
13766
  icon?: string;
13749
13767
  /**
13750
- * URL to an avatar/image; Suggestion: use statics folder
13768
+ * URL to an avatar/image; Suggestion: public folder
13751
13769
  */
13752
13770
  avatar?: string;
13753
13771
  /**
@@ -13871,7 +13889,7 @@ declare module "./globals" {
13871
13889
  */
13872
13890
  icon?: string;
13873
13891
  /**
13874
- * URL to an avatar/image; Suggestion: use statics folder
13892
+ * URL to an avatar/image; Suggestion: use public folder
13875
13893
  */
13876
13894
  avatar?: string;
13877
13895
  /**
@@ -39,7 +39,8 @@ export namespace date {
39
39
  function endOfDate(date: Date | number | string, option: DateUnitOptions, utc?: boolean): Date;
40
40
  function getMaxDate(date: Date | number | string, ...args: (Date | number | string)[]): Date;
41
41
  function getMinDate(date: Date | number | string, ...args: (Date | number | string)[]): Date;
42
- function getDateDiff(date: Date | number | string, subtract: Date | number | string, unit?: string): number;
42
+ // TODO: (Qv3) uniform "unit" to `DateUnitOptions` interface
43
+ function getDateDiff(date: Date | number | string, subtract: Date | number | string, unit?: `${DateUnitOptions}s`): number;
43
44
  function getDayOfYear(date: Date | number | string): number;
44
45
  function inferDateFormat(date: Date | number | string): "date" | "number" | "string";
45
46
  function getDateBetween(date: Date | number | string, min?: Date | number | string, max?: Date | number | string): Date;
@@ -11,13 +11,17 @@
11
11
  "type": "string",
12
12
  "description": "Color name for component from the Quasar Color Palette"
13
13
  },
14
+ "q-ajax-bar/reverse": {
15
+ "type": "boolean",
16
+ "description": "Reverse direction of progress"
17
+ },
14
18
  "q-ajax-bar/skip-hijack": {
15
19
  "type": "boolean",
16
20
  "description": "Skip Ajax hijacking (not a reactive prop)"
17
21
  },
18
- "q-ajax-bar/reverse": {
19
- "type": "boolean",
20
- "description": "Reverse direction of progress"
22
+ "q-ajax-bar/hijack-filter": {
23
+ "type": "function",
24
+ "description": "Filter which URL should trigger start() + stop()"
21
25
  },
22
26
  "q-avatar/size": {
23
27
  "type": "string",
@@ -789,7 +793,7 @@
789
793
  },
790
794
  "q-carousel-slide/img-src": {
791
795
  "type": "string",
792
- "description": "URL pointing to a slide background image (use statics folder)"
796
+ "description": "URL pointing to a slide background image (use public folder)"
793
797
  },
794
798
  "q-chat-message/sent": {
795
799
  "type": "boolean",
@@ -3372,7 +3376,7 @@
3372
3376
  "description": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive"
3373
3377
  },
3374
3378
  "q-radio/val": {
3375
- "type": "number|string",
3379
+ "type": "number|string|null|undefined",
3376
3380
  "description": "The actual value of the option with which model value is changed"
3377
3381
  },
3378
3382
  "q-radio/label": {
@@ -5703,6 +5707,10 @@
5703
5707
  "type": "string",
5704
5708
  "description": "The source url to display in an iframe"
5705
5709
  },
5710
+ "q-video/title": {
5711
+ "type": "string",
5712
+ "description": "(Accessibility) Set the native 'title' attribute value of the inner iframe being used"
5713
+ },
5706
5714
  "q-virtual-scroll/virtual-scroll-horizontal": {
5707
5715
  "type": "boolean",
5708
5716
  "description": "Make virtual list work in horizontal mode"
@@ -4,8 +4,9 @@
4
4
  "position",
5
5
  "size",
6
6
  "color",
7
+ "reverse",
7
8
  "skip-hijack",
8
- "reverse"
9
+ "hijack-filter"
9
10
  ],
10
11
  "description": ""
11
12
  },
@@ -2026,7 +2027,8 @@
2026
2027
  "q-video": {
2027
2028
  "attributes": [
2028
2029
  "ratio",
2029
- "src"
2030
+ "src",
2031
+ "title"
2030
2032
  ],
2031
2033
  "description": ""
2032
2034
  },