quasar 2.2.2 → 2.2.3

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 (234) 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/ionicons-v4.umd.prod.js +1 -1
  6. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  7. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  8. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  9. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  10. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  11. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  12. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  13. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  14. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  15. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  16. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  17. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  18. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  19. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  20. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  21. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  22. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  29. package/dist/icon-set/themify.umd.prod.js +1 -1
  30. package/dist/lang/ar.umd.prod.js +1 -1
  31. package/dist/lang/az-Latn.umd.prod.js +1 -1
  32. package/dist/lang/bg.umd.prod.js +1 -1
  33. package/dist/lang/bn.umd.prod.js +1 -1
  34. package/dist/lang/ca.umd.prod.js +1 -1
  35. package/dist/lang/cs.umd.prod.js +1 -1
  36. package/dist/lang/da.umd.prod.js +1 -1
  37. package/dist/lang/de.umd.prod.js +1 -1
  38. package/dist/lang/el.umd.prod.js +1 -1
  39. package/dist/lang/en-GB.umd.prod.js +1 -1
  40. package/dist/lang/en-US.umd.prod.js +1 -1
  41. package/dist/lang/eo.umd.prod.js +1 -1
  42. package/dist/lang/es.umd.prod.js +1 -1
  43. package/dist/lang/et.umd.prod.js +1 -1
  44. package/dist/lang/fa-IR.umd.prod.js +1 -1
  45. package/dist/lang/fa.umd.prod.js +1 -1
  46. package/dist/lang/fi.umd.prod.js +1 -1
  47. package/dist/lang/fr.umd.prod.js +1 -1
  48. package/dist/lang/gn.umd.prod.js +1 -1
  49. package/dist/lang/he.umd.prod.js +1 -1
  50. package/dist/lang/hr.umd.prod.js +1 -1
  51. package/dist/lang/hu.umd.prod.js +1 -1
  52. package/dist/lang/id.umd.prod.js +1 -1
  53. package/dist/lang/is.umd.prod.js +1 -1
  54. package/dist/lang/it.umd.prod.js +1 -1
  55. package/dist/lang/ja.umd.prod.js +1 -1
  56. package/dist/lang/km.umd.prod.js +1 -1
  57. package/dist/lang/ko-KR.umd.prod.js +1 -1
  58. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  59. package/dist/lang/lt.umd.prod.js +1 -1
  60. package/dist/lang/lu.umd.prod.js +1 -1
  61. package/dist/lang/lv.umd.prod.js +1 -1
  62. package/dist/lang/ml.umd.prod.js +1 -1
  63. package/dist/lang/ms.umd.prod.js +1 -1
  64. package/dist/lang/nb-NO.umd.prod.js +1 -1
  65. package/dist/lang/nl.umd.prod.js +1 -1
  66. package/dist/lang/pl.umd.prod.js +1 -1
  67. package/dist/lang/pt-BR.umd.prod.js +1 -1
  68. package/dist/lang/pt.umd.prod.js +1 -1
  69. package/dist/lang/ro.umd.prod.js +1 -1
  70. package/dist/lang/ru.umd.prod.js +1 -1
  71. package/dist/lang/sk.umd.prod.js +1 -1
  72. package/dist/lang/sl.umd.prod.js +1 -1
  73. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  74. package/dist/lang/sr.umd.prod.js +1 -1
  75. package/dist/lang/sv.umd.prod.js +1 -1
  76. package/dist/lang/ta.umd.prod.js +1 -1
  77. package/dist/lang/th.umd.prod.js +1 -1
  78. package/dist/lang/tr.umd.prod.js +1 -1
  79. package/dist/lang/ug.umd.prod.js +1 -1
  80. package/dist/lang/uk.umd.prod.js +1 -1
  81. package/dist/lang/vi.umd.prod.js +1 -1
  82. package/dist/lang/zh-CN.umd.prod.js +1 -1
  83. package/dist/lang/zh-TW.umd.prod.js +1 -1
  84. package/dist/quasar.cjs.prod.js +2 -2
  85. package/dist/quasar.css +0 -6
  86. package/dist/quasar.esm.prod.js +2 -2
  87. package/dist/quasar.prod.css +1 -1
  88. package/dist/quasar.rtl.css +0 -6
  89. package/dist/quasar.rtl.prod.css +1 -1
  90. package/dist/quasar.sass +1 -3
  91. package/dist/quasar.umd.js +168 -153
  92. package/dist/quasar.umd.prod.js +2 -2
  93. package/dist/ssr-directives/Morph.js +1 -1
  94. package/dist/web-types/web-types.json +1 -1
  95. package/package.json +1 -1
  96. package/src/components/ajax-bar/QAjaxBar.js +3 -2
  97. package/src/components/avatar/QAvatar.js +3 -2
  98. package/src/components/badge/QBadge.js +3 -2
  99. package/src/components/banner/QBanner.js +3 -2
  100. package/src/components/bar/QBar.js +3 -2
  101. package/src/components/breadcrumbs/QBreadcrumbs.js +3 -2
  102. package/src/components/breadcrumbs/QBreadcrumbsEl.js +3 -2
  103. package/src/components/btn/QBtn.js +3 -2
  104. package/src/components/btn-dropdown/QBtnDropdown.js +3 -2
  105. package/src/components/btn-group/QBtnGroup.js +3 -2
  106. package/src/components/btn-toggle/QBtnToggle.js +3 -2
  107. package/src/components/card/QCard.js +3 -2
  108. package/src/components/card/QCardActions.js +3 -2
  109. package/src/components/card/QCardSection.js +3 -2
  110. package/src/components/carousel/QCarousel.js +3 -2
  111. package/src/components/carousel/QCarouselControl.js +3 -2
  112. package/src/components/carousel/QCarouselSlide.js +3 -2
  113. package/src/components/chat/QChatMessage.js +3 -2
  114. package/src/components/checkbox/QCheckbox.js +3 -2
  115. package/src/components/chip/QChip.js +3 -2
  116. package/src/components/circular-progress/QCircularProgress.js +3 -2
  117. package/src/components/color/QColor.js +3 -2
  118. package/src/components/date/QDate.js +5 -3
  119. package/src/components/dialog/QDialog.js +3 -2
  120. package/src/components/dialog-bottom-sheet/BottomSheet.js +3 -2
  121. package/src/components/dialog-plugin/DialogPlugin.js +3 -2
  122. package/src/components/drawer/QDrawer.js +3 -2
  123. package/src/components/editor/QEditor.js +3 -2
  124. package/src/components/expansion-item/QExpansionItem.js +3 -2
  125. package/src/components/fab/QFab.js +3 -2
  126. package/src/components/fab/QFabAction.js +3 -2
  127. package/src/components/field/QField.js +3 -3
  128. package/src/components/file/QFile.js +3 -2
  129. package/src/components/footer/QFooter.js +3 -2
  130. package/src/components/form/QForm.js +3 -2
  131. package/src/components/header/QHeader.js +3 -2
  132. package/src/components/icon/QIcon.js +4 -2
  133. package/src/components/img/QImg.js +5 -2
  134. package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
  135. package/src/components/inner-loading/QInnerLoading.js +3 -2
  136. package/src/components/input/QInput.js +3 -2
  137. package/src/components/intersection/QIntersection.js +3 -2
  138. package/src/components/item/QItem.js +3 -2
  139. package/src/components/item/QItemLabel.js +3 -2
  140. package/src/components/item/QItemSection.js +3 -2
  141. package/src/components/item/QList.js +3 -3
  142. package/src/components/knob/QKnob.js +3 -2
  143. package/src/components/layout/QLayout.js +3 -2
  144. package/src/components/linear-progress/QLinearProgress.js +3 -2
  145. package/src/components/markup-table/QMarkupTable.js +3 -2
  146. package/src/components/menu/QMenu.js +4 -3
  147. package/src/components/no-ssr/QNoSsr.js +3 -2
  148. package/src/components/option-group/QOptionGroup.js +4 -2
  149. package/src/components/page/QPage.js +3 -2
  150. package/src/components/page/QPageContainer.js +3 -2
  151. package/src/components/page-scroller/QPageScroller.js +4 -2
  152. package/src/components/page-sticky/QPageSticky.js +2 -3
  153. package/src/components/pagination/QPagination.js +3 -2
  154. package/src/components/parallax/QParallax.js +3 -2
  155. package/src/components/popup-edit/QPopupEdit.js +3 -2
  156. package/src/components/popup-proxy/QPopupProxy.js +4 -2
  157. package/src/components/pull-to-refresh/QPullToRefresh.js +3 -2
  158. package/src/components/radio/QRadio.js +3 -2
  159. package/src/components/range/QRange.js +3 -2
  160. package/src/components/rating/QRating.js +6 -5
  161. package/src/components/resize-observer/QResizeObserver.js +3 -2
  162. package/src/components/responsive/QResponsive.js +3 -2
  163. package/src/components/scroll-area/QScrollArea.js +3 -2
  164. package/src/components/scroll-observer/QScrollObserver.js +3 -2
  165. package/src/components/select/QSelect.js +3 -2
  166. package/src/components/separator/QSeparator.js +4 -2
  167. package/src/components/skeleton/QSkeleton.js +3 -2
  168. package/src/components/slide-item/QSlideItem.js +3 -2
  169. package/src/components/slide-transition/QSlideTransition.js +4 -2
  170. package/src/components/slider/QSlider.js +3 -2
  171. package/src/components/space/QSpace.js +4 -2
  172. package/src/components/spinner/QSpinner.js +4 -2
  173. package/src/components/spinner/QSpinnerAudio.js +4 -2
  174. package/src/components/spinner/QSpinnerBall.js +4 -2
  175. package/src/components/spinner/QSpinnerBars.js +4 -2
  176. package/src/components/spinner/QSpinnerBox.js +4 -2
  177. package/src/components/spinner/QSpinnerClock.js +4 -2
  178. package/src/components/spinner/QSpinnerComment.js +4 -2
  179. package/src/components/spinner/QSpinnerCube.js +4 -2
  180. package/src/components/spinner/QSpinnerDots.js +4 -2
  181. package/src/components/spinner/QSpinnerFacebook.js +4 -2
  182. package/src/components/spinner/QSpinnerGears.js +4 -2
  183. package/src/components/spinner/QSpinnerGrid.js +4 -2
  184. package/src/components/spinner/QSpinnerHearts.js +4 -2
  185. package/src/components/spinner/QSpinnerHourglass.js +4 -2
  186. package/src/components/spinner/QSpinnerInfinity.js +4 -2
  187. package/src/components/spinner/QSpinnerIos.js +4 -2
  188. package/src/components/spinner/QSpinnerOrbit.js +4 -2
  189. package/src/components/spinner/QSpinnerOval.js +4 -2
  190. package/src/components/spinner/QSpinnerPie.js +4 -2
  191. package/src/components/spinner/QSpinnerPuff.js +4 -2
  192. package/src/components/spinner/QSpinnerRadio.js +4 -2
  193. package/src/components/spinner/QSpinnerRings.js +4 -2
  194. package/src/components/spinner/QSpinnerTail.js +4 -2
  195. package/src/components/splitter/QSplitter.js +3 -2
  196. package/src/components/stepper/QStep.js +3 -2
  197. package/src/components/stepper/QStepper.js +3 -2
  198. package/src/components/stepper/QStepperNavigation.js +3 -2
  199. package/src/components/stepper/StepHeader.js +4 -2
  200. package/src/components/tab-panels/QTabPanel.js +4 -2
  201. package/src/components/tab-panels/QTabPanels.js +3 -2
  202. package/src/components/table/QTable.js +4 -2
  203. package/src/components/table/QTd.js +3 -2
  204. package/src/components/table/QTh.js +3 -2
  205. package/src/components/table/QTr.js +3 -2
  206. package/src/components/tabs/QRouteTab.js +4 -2
  207. package/src/components/tabs/QTab.js +3 -3
  208. package/src/components/tabs/QTabs.js +3 -2
  209. package/src/components/time/QTime.js +3 -2
  210. package/src/components/timeline/QTimeline.js +3 -2
  211. package/src/components/timeline/QTimelineEntry.js +3 -2
  212. package/src/components/toggle/QToggle.js +5 -2
  213. package/src/components/toolbar/QToolbar.js +3 -2
  214. package/src/components/toolbar/QToolbarTitle.js +3 -2
  215. package/src/components/tooltip/QTooltip.js +3 -2
  216. package/src/components/tree/QTree.js +3 -2
  217. package/src/components/uploader/QUploaderAddTrigger.js +3 -2
  218. package/src/components/video/QVideo.js +4 -2
  219. package/src/components/virtual-scroll/QVirtualScroll.js +3 -2
  220. package/src/css/normalize.sass +0 -7
  221. package/src/directives/ClosePopup.js +3 -1
  222. package/src/directives/Intersection.js +3 -1
  223. package/src/directives/Morph.js +4 -1
  224. package/src/directives/Mutation.js +3 -1
  225. package/src/directives/Ripple.js +3 -1
  226. package/src/directives/Scroll.js +3 -1
  227. package/src/directives/ScrollFire.js +3 -1
  228. package/src/directives/TouchHold.js +4 -1
  229. package/src/directives/TouchPan.js +4 -1
  230. package/src/directives/TouchRepeat.js +4 -1
  231. package/src/directives/TouchSwipe.js +4 -1
  232. package/src/plugins/Notify.js +4 -3
  233. package/src/utils/create-uploader-component.js +3 -3
  234. package/src/utils/private/create.js +4 -0
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed, provide, getCurrentInstance } from 'vue'
1
+ import { h, computed, provide, getCurrentInstance } from 'vue'
2
2
 
3
3
  import StepHeader from './StepHeader.js'
4
4
 
5
5
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
6
6
  import usePanel, { usePanelProps, usePanelEmits } from '../../composables/private/use-panel.js'
7
7
 
8
+ import { createComponent } from '../../utils/private/create.js'
8
9
  import { stepperKey } from '../../utils/private/symbols.js'
9
10
  import { hSlot, hMergeSlot, hDir } from '../../utils/private/render.js'
10
11
 
@@ -19,7 +20,7 @@ function camelizeProps (props) {
19
20
  return acc
20
21
  }
21
22
 
22
- export default defineComponent({
23
+ export default createComponent({
23
24
  name: 'QStepper',
24
25
 
25
26
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent } from 'vue'
1
+ import { h } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QStepperNavigation',
7
8
 
8
9
  setup (_, { slots }) {
@@ -1,9 +1,11 @@
1
- import { h, defineComponent, ref, computed, withDirectives, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, withDirectives, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
  import Ripple from '../../directives/Ripple.js'
5
5
 
6
- export default defineComponent({
6
+ import { createComponent } from '../../utils/private/create.js'
7
+
8
+ export default createComponent({
7
9
  name: 'StepHeader',
8
10
 
9
11
  props: {
@@ -1,9 +1,11 @@
1
- import { h, defineComponent } from 'vue'
1
+ import { h } from 'vue'
2
2
 
3
3
  import { usePanelChildProps } from '../../composables/private/use-panel.js'
4
+
5
+ import { createComponent } from '../../utils/private/create.js'
4
6
  import { hSlot } from '../../utils/private/render.js'
5
7
 
6
- export default defineComponent({
8
+ export default createComponent({
7
9
  name: 'QTabPanel',
8
10
 
9
11
  props: usePanelChildProps,
@@ -1,11 +1,12 @@
1
- import { defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { computed, getCurrentInstance } from 'vue'
2
2
 
3
3
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
4
4
  import usePanel, { usePanelProps, usePanelEmits } from '../../composables/private/use-panel.js'
5
5
 
6
+ import { createComponent } from '../../utils/private/create.js'
6
7
  import { hDir } from '../../utils/private/render.js'
7
8
 
8
- export default defineComponent({
9
+ export default createComponent({
9
10
  name: 'QTabPanels',
10
11
 
11
12
  props: {
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, watch, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, watch, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QTh from './QTh.js'
4
4
 
@@ -23,12 +23,14 @@ import { useTableRowSelection, useTableRowSelectionProps, useTableRowSelectionEm
23
23
  import { useTableRowExpand, useTableRowExpandProps, useTableRowExpandEmits } from './table-row-expand.js'
24
24
  import { useTableColumnSelection, useTableColumnSelectionProps } from './table-column-selection.js'
25
25
 
26
+ import { createComponent } from '../../utils/private/create.js'
27
+
26
28
  const bottomClass = 'q-table__bottom row items-center'
27
29
 
28
30
  const commonVirtPropsObj = {}
29
31
  commonVirtPropsList.forEach(p => { commonVirtPropsObj[ p ] = {} })
30
32
 
31
- export default defineComponent({
33
+ export default createComponent({
32
34
  name: 'QTable',
33
35
 
34
36
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { h, computed, getCurrentInstance } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QTd',
7
8
 
8
9
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, getCurrentInstance } from 'vue'
1
+ import { h, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot, hUniqueSlot } from '../../utils/private/render.js'
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QTh',
9
10
 
10
11
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QTr',
7
8
 
8
9
  props: {
@@ -1,9 +1,11 @@
1
- import { defineComponent, computed, watch } from 'vue'
1
+ import { computed, watch } from 'vue'
2
2
 
3
3
  import useRouterLink, { useRouterLinkProps } from '../../composables/private/use-router-link.js'
4
4
  import useTab, { useTabProps, useTabEmits } from './use-tab.js'
5
5
 
6
- export default defineComponent({
6
+ import { createComponent } from '../../utils/private/create.js'
7
+
8
+ export default createComponent({
7
9
  name: 'QRouteTab',
8
10
 
9
11
  props: {
@@ -1,8 +1,8 @@
1
- import { defineComponent } from 'vue'
2
-
3
1
  import useTab, { useTabProps, useTabEmits } from './use-tab.js'
4
2
 
5
- export default defineComponent({
3
+ import { createComponent } from '../../utils/private/create.js'
4
+
5
+ export default createComponent({
6
6
  name: 'QTab',
7
7
 
8
8
  props: useTabProps,
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, watch, nextTick, onBeforeUnmount, onActivated, getCurrentInstance, provide } from 'vue'
1
+ import { h, ref, computed, watch, nextTick, onBeforeUnmount, onActivated, getCurrentInstance, provide } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
  import QResizeObserver from '../resize-observer/QResizeObserver.js'
@@ -6,6 +6,7 @@ import QResizeObserver from '../resize-observer/QResizeObserver.js'
6
6
  import useTick from '../../composables/private/use-tick.js'
7
7
  import useTimeout from '../../composables/private/use-timeout.js'
8
8
 
9
+ import { createComponent } from '../../utils/private/create.js'
9
10
  import { noop } from '../../utils/event.js'
10
11
  import { hSlot } from '../../utils/private/render.js'
11
12
  import { tabsKey } from '../../utils/private/symbols.js'
@@ -22,7 +23,7 @@ function getIndicatorClass (color, top, vertical) {
22
23
  const alignValues = [ 'left', 'center', 'right', 'justify' ]
23
24
  const emptyFn = () => {}
24
25
 
25
- export default defineComponent({
26
+ export default createComponent({
26
27
  name: 'QTabs',
27
28
 
28
29
  props: {
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, watch, withDirectives, Transition, nextTick, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, watch, withDirectives, Transition, nextTick, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QBtn from '../btn/QBtn.js'
4
4
  import TouchPan from '../../directives/TouchPan.js'
@@ -7,6 +7,7 @@ import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
7
7
  import { useFormProps, useFormAttrs, useFormInject } from '../../composables/private/use-form.js'
8
8
  import useDatetime, { useDatetimeProps, useDatetimeEmits, getDayHash } from '../date/use-datetime.js'
9
9
 
10
+ import { createComponent } from '../../utils/private/create.js'
10
11
  import { hSlot } from '../../utils/private/render.js'
11
12
  import { formatDate, __splitDate } from '../../utils/date.js'
12
13
  import { position } from '../../utils/event.js'
@@ -36,7 +37,7 @@ function getCurrentTime () {
36
37
  }
37
38
  }
38
39
 
39
- export default defineComponent({
40
+ export default createComponent({
40
41
  name: 'QTime',
41
42
 
42
43
  props: {
@@ -1,11 +1,12 @@
1
- import { h, defineComponent, computed, provide, getCurrentInstance } from 'vue'
1
+ import { h, computed, provide, getCurrentInstance } from 'vue'
2
2
 
3
3
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
  import { timelineKey } from '../../utils/private/symbols.js'
7
8
 
8
- export default defineComponent({
9
+ export default createComponent({
9
10
  name: 'QTimeline',
10
11
 
11
12
  props: {
@@ -1,11 +1,12 @@
1
- import { h, defineComponent, computed, inject } from 'vue'
1
+ import { h, computed, inject } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot, hUniqueSlot } from '../../utils/private/render.js'
6
7
  import { timelineKey } from '../../utils/private/symbols.js'
7
8
 
8
- export default defineComponent({
9
+ export default createComponent({
9
10
  name: 'QTimelineEntry',
10
11
 
11
12
  props: {
@@ -1,9 +1,12 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
+
4
5
  import useCheckbox, { useCheckboxProps, useCheckboxEmits } from '../checkbox/use-checkbox.js'
5
6
 
6
- export default defineComponent({
7
+ import { createComponent } from '../../utils/private/create.js'
8
+
9
+ export default createComponent({
7
10
  name: 'QToggle',
8
11
 
9
12
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QToolbar',
7
8
 
8
9
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QToolbarTitle',
7
8
 
8
9
  props: {
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, watch, onBeforeUnmount, Transition, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, watch, onBeforeUnmount, Transition, getCurrentInstance } from 'vue'
2
2
 
3
3
  import useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js'
4
4
  import useScrollTarget from '../../composables/private/use-scroll-target.js'
@@ -8,6 +8,7 @@ import useTransition, { useTransitionProps } from '../../composables/private/use
8
8
  import useTick from '../../composables/private/use-tick.js'
9
9
  import useTimeout from '../../composables/private/use-timeout.js'
10
10
 
11
+ import { createComponent } from '../../utils/private/create.js'
11
12
  import { getScrollTarget } from '../../utils/scroll.js'
12
13
  import { stopAndPrevent, addEvt, cleanEvt } from '../../utils/event.js'
13
14
  import { clearSelection } from '../../utils/private/selection.js'
@@ -17,7 +18,7 @@ import {
17
18
  validatePosition, validateOffset, setPosition, parsePosition
18
19
  } from '../../utils/private/position-engine.js'
19
20
 
20
- export default defineComponent({
21
+ export default createComponent({
21
22
  name: 'QTooltip',
22
23
 
23
24
  inheritAttrs: false,
@@ -1,5 +1,5 @@
1
1
  import {
2
- h, defineComponent, ref, computed, watch,
2
+ h, ref, computed, watch,
3
3
  withDirectives, vShow, nextTick, getCurrentInstance, onBeforeUpdate
4
4
  } from 'vue'
5
5
 
@@ -10,10 +10,11 @@ import QSpinner from '../spinner/QSpinner.js'
10
10
 
11
11
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
12
12
 
13
+ import { createComponent } from '../../utils/private/create.js'
13
14
  import { stopAndPrevent } from '../../utils/event.js'
14
15
  import { shouldIgnoreKey } from '../../utils/private/key-composition.js'
15
16
 
16
- export default defineComponent({
17
+ export default createComponent({
17
18
  name: 'QTree',
18
19
 
19
20
  props: {
@@ -1,8 +1,9 @@
1
- import { defineComponent, inject } from 'vue'
1
+ import { inject } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { uploaderKey } from '../../utils/private/symbols.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QUploaderAddTrigger',
7
8
 
8
9
  setup () {
@@ -1,8 +1,10 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import useRatio, { useRatioProps } from '../../composables/private/use-ratio.js'
4
4
 
5
- export default defineComponent({
5
+ import { createComponent } from '../../utils/private/create.js'
6
+
7
+ export default createComponent({
6
8
  name: 'QVideo',
7
9
 
8
10
  props: {
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, watch, onBeforeMount, onMounted, onBeforeUnmount } from 'vue'
1
+ import { h, ref, computed, watch, onBeforeMount, onMounted, onBeforeUnmount } from 'vue'
2
2
 
3
3
  import QList from '../item/QList.js'
4
4
  import QMarkupTable from '../markup-table/QMarkupTable.js'
@@ -6,6 +6,7 @@ import getTableMiddle from '../table/get-table-middle.js'
6
6
 
7
7
  import { useVirtualScroll, useVirtualScrollProps } from './use-virtual-scroll.js'
8
8
 
9
+ import { createComponent } from '../../utils/private/create.js'
9
10
  import { getScrollTarget } from '../../utils/scroll.js'
10
11
  import { listenOpts } from '../../utils/event.js'
11
12
  import { hMergeSlot } from '../../utils/private/render.js'
@@ -17,7 +18,7 @@ const comps = {
17
18
 
18
19
  const typeOptions = [ 'list', 'table', '__qtable' ]
19
20
 
20
- export default defineComponent({
21
+ export default createComponent({
21
22
  name: 'QVirtualScroll',
22
23
 
23
24
  props: {
@@ -160,13 +160,6 @@ progress
160
160
  textarea
161
161
  overflow: auto
162
162
 
163
- /*
164
- * Correct the odd appearance of search inputs in Chrome and Safari.
165
- */
166
-
167
- input[type='search']
168
- -webkit-appearance: textfield
169
-
170
163
  /*
171
164
  * Remove the inner padding and cancel buttons in Chrome on OS X and
172
165
  * Safari on OS X.
@@ -1,3 +1,4 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import { closePortals, getPortalVm } from '../utils/private/portal.js'
2
3
  import { isKeyCode } from '../utils/private/key-composition.js'
3
4
  import getSSRProps from '../utils/private/noop-ssr-directive-transform.js'
@@ -21,7 +22,7 @@ function getDepth (value) {
21
22
  return isNaN(depth) ? 0 : depth
22
23
  }
23
24
 
24
- export default __QUASAR_SSR_SERVER__
25
+ export default createDirective(__QUASAR_SSR_SERVER__
25
26
  ? { name: 'close-popup', getSSRProps }
26
27
  : {
27
28
  name: 'close-popup',
@@ -64,3 +65,4 @@ export default __QUASAR_SSR_SERVER__
64
65
  delete el.__qclosepopup
65
66
  }
66
67
  }
68
+ )
@@ -1,3 +1,4 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import { isDeepEqual } from '../utils/private/is.js'
2
3
  import getSSRProps from '../utils/private/noop-ssr-directive-transform.js'
3
4
 
@@ -66,7 +67,7 @@ function destroy (el) {
66
67
  }
67
68
  }
68
69
 
69
- export default __QUASAR_SSR_SERVER__
70
+ export default createDirective(__QUASAR_SSR_SERVER__
70
71
  ? { name: 'intersection', getSSRProps }
71
72
  : {
72
73
  name: 'intersection',
@@ -88,3 +89,4 @@ export default __QUASAR_SSR_SERVER__
88
89
 
89
90
  beforeUnmount: destroy
90
91
  }
92
+ )
@@ -1,4 +1,6 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import morph from '../utils/morph.js'
3
+
2
4
  import getSSRProps from './Morph.ssr.js'
3
5
 
4
6
  const morphGroups = {}
@@ -161,7 +163,7 @@ function updateValue (ctx, value) {
161
163
  }
162
164
  }
163
165
 
164
- export default __QUASAR_SSR_SERVER__
166
+ export default createDirective(__QUASAR_SSR_SERVER__
165
167
  ? { name: 'morph', getSSRProps }
166
168
  : {
167
169
  name: 'morph',
@@ -209,3 +211,4 @@ export default __QUASAR_SSR_SERVER__
209
211
  delete el.__qmorph
210
212
  }
211
213
  }
214
+ )
@@ -1,3 +1,4 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import getSSRProps from '../utils/private/noop-ssr-directive-transform.js'
2
3
 
3
4
  const defaultCfg = {
@@ -34,7 +35,7 @@ function destroy (el) {
34
35
  }
35
36
  }
36
37
 
37
- export default __QUASAR_SSR_SERVER__
38
+ export default createDirective(__QUASAR_SSR_SERVER__
38
39
  ? { name: 'mutation', getSSRProps }
39
40
  : {
40
41
  name: 'mutation',
@@ -61,3 +62,4 @@ export default __QUASAR_SSR_SERVER__
61
62
 
62
63
  beforeUnmount: destroy
63
64
  }
65
+ )
@@ -1,3 +1,4 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import { css } from '../utils/dom.js'
2
3
  import { position, stop, addEvt, cleanEvt } from '../utils/event.js'
3
4
  import { isKeyCode } from '../utils/private/key-composition.js'
@@ -71,7 +72,7 @@ function updateModifiers (ctx, { modifiers, value, arg, instance }) {
71
72
  }
72
73
  }
73
74
 
74
- export default __QUASAR_SSR_SERVER__
75
+ export default createDirective(__QUASAR_SSR_SERVER__
75
76
  ? { name: 'ripple', getSSRProps }
76
77
  : {
77
78
  name: 'ripple',
@@ -139,3 +140,4 @@ export default __QUASAR_SSR_SERVER__
139
140
  delete el._qripple
140
141
  }
141
142
  }
143
+ )
@@ -1,3 +1,4 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import { getScrollTarget, getVerticalScrollPosition, getHorizontalScrollPosition } from '../utils/scroll.js'
2
3
  import { listenOpts } from '../utils/event.js'
3
4
  import getSSRProps from '../utils/private/noop-ssr-directive-transform.js'
@@ -14,7 +15,7 @@ function update (ctx, { value, oldValue }) {
14
15
  }
15
16
  }
16
17
 
17
- export default __QUASAR_SSR_SERVER__
18
+ export default createDirective(__QUASAR_SSR_SERVER__
18
19
  ? { name: 'scroll', getSSRProps }
19
20
  : {
20
21
  name: 'scroll',
@@ -47,3 +48,4 @@ export default __QUASAR_SSR_SERVER__
47
48
  delete el.__qscroll
48
49
  }
49
50
  }
51
+ )
@@ -1,3 +1,4 @@
1
+ import { createDirective } from '../utils/private/create.js'
1
2
  import debounce from '../utils/debounce.js'
2
3
  import { height, offset } from '../utils/dom.js'
3
4
  import { getScrollTarget } from '../utils/scroll.js'
@@ -19,7 +20,7 @@ function update (ctx, { value, oldValue }) {
19
20
  }
20
21
  }
21
22
 
22
- export default __QUASAR_SSR_SERVER__
23
+ export default createDirective(__QUASAR_SSR_SERVER__
23
24
  ? { name: 'scroll-fire', getSSRProps }
24
25
  : {
25
26
  name: 'scroll-fire',
@@ -63,3 +64,4 @@ export default __QUASAR_SSR_SERVER__
63
64
  delete el.__qscrollfire
64
65
  }
65
66
  }
67
+ )
@@ -1,9 +1,11 @@
1
1
  import { client } from '../plugins/Platform.js'
2
+
3
+ import { createDirective } from '../utils/private/create.js'
2
4
  import { addEvt, cleanEvt, position, leftClick, stopAndPrevent, noop } from '../utils/event.js'
3
5
  import { clearSelection } from '../utils/private/selection.js'
4
6
  import getSSRProps from '../utils/private/noop-ssr-directive-transform.js'
5
7
 
6
- export default __QUASAR_SSR_SERVER__
8
+ export default createDirective(__QUASAR_SSR_SERVER__
7
9
  ? { name: 'touch-hold', getSSRProps }
8
10
  : {
9
11
  name: 'touch-hold',
@@ -157,3 +159,4 @@ export default __QUASAR_SSR_SERVER__
157
159
  }
158
160
  }
159
161
  }
162
+ )
@@ -1,4 +1,6 @@
1
1
  import { client } from '../plugins/Platform.js'
2
+
3
+ import { createDirective } from '../utils/private/create.js'
2
4
  import { getModifierDirections, shouldStart } from '../utils/private/touch.js'
3
5
  import { addEvt, cleanEvt, position, leftClick, prevent, stop, stopAndPrevent, preventDraggable, noop } from '../utils/event.js'
4
6
  import { clearSelection } from '../utils/private/selection.js'
@@ -117,7 +119,7 @@ function getChanges (evt, ctx, isFinal) {
117
119
 
118
120
  let uid = 0
119
121
 
120
- export default __QUASAR_SSR_SERVER__
122
+ export default createDirective(__QUASAR_SSR_SERVER__
121
123
  ? { name: 'touch-pan', getSSRProps }
122
124
  : {
123
125
  name: 'touch-pan',
@@ -422,3 +424,4 @@ export default __QUASAR_SSR_SERVER__
422
424
  }
423
425
  }
424
426
  }
427
+ )
@@ -1,4 +1,6 @@
1
1
  import { client } from '../plugins/Platform.js'
2
+
3
+ import { createDirective } from '../utils/private/create.js'
2
4
  import { addEvt, cleanEvt, position, leftClick, stopAndPrevent, noop } from '../utils/event.js'
3
5
  import { clearSelection } from '../utils/private/selection.js'
4
6
  import { isKeyCode } from '../utils/private/key-composition.js'
@@ -25,7 +27,7 @@ function shouldEnd (evt, origin) {
25
27
  || Math.abs(top - origin.top) >= 7
26
28
  }
27
29
 
28
- export default __QUASAR_SSR_SERVER__
30
+ export default createDirective(__QUASAR_SSR_SERVER__
29
31
  ? { name: 'touch-repeat', getSSRProps }
30
32
  : {
31
33
  name: 'touch-repeat',
@@ -239,3 +241,4 @@ export default __QUASAR_SSR_SERVER__
239
241
  }
240
242
  }
241
243
  }
244
+ )
@@ -1,4 +1,6 @@
1
1
  import { client } from '../plugins/Platform.js'
2
+
3
+ import { createDirective } from '../utils/private/create.js'
2
4
  import { getModifierDirections, shouldStart } from '../utils/private/touch.js'
3
5
  import { addEvt, cleanEvt, position, leftClick, stopAndPrevent, preventDraggable, noop } from '../utils/event.js'
4
6
  import { clearSelection } from '../utils/private/selection.js'
@@ -20,7 +22,7 @@ function parseArg (arg) {
20
22
  return data
21
23
  }
22
24
 
23
- export default __QUASAR_SSR_SERVER__
25
+ export default createDirective(__QUASAR_SSR_SERVER__
24
26
  ? { name: 'touch-swipe', getSSRProps }
25
27
  : {
26
28
  name: 'touch-swipe',
@@ -263,3 +265,4 @@ export default __QUASAR_SSR_SERVER__
263
265
  }
264
266
  }
265
267
  }
268
+ )
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, ref, markRaw, TransitionGroup } from 'vue'
1
+ import { h, ref, markRaw, TransitionGroup } from 'vue'
2
2
 
3
3
  import QAvatar from '../components/avatar/QAvatar.js'
4
4
  import QIcon from '../components/icon/QIcon.js'
5
5
  import QBtn from '../components/btn/QBtn.js'
6
6
  import QSpinner from '../components/spinner/QSpinner.js'
7
7
 
8
+ import { createComponent } from '../utils/private/create.js'
8
9
  import { noop } from '../utils/event.js'
9
10
  import { createGlobalNode } from '../utils/private/global-nodes.js'
10
11
  import { createChildApp } from '../install-quasar.js'
@@ -62,9 +63,9 @@ function logError (error, config) {
62
63
  }
63
64
 
64
65
  function getComponent ($q) {
65
- return defineComponent({
66
+ return createComponent({
66
67
  name: 'QNotifications',
67
-
68
+
68
69
  // hide App from Vue devtools
69
70
  devtools: { hide: true },
70
71