quasar 2.1.9 → 2.2.0

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 (127) hide show
  1. package/dist/api/QCarousel.json +19 -5
  2. package/dist/api/QColor.json +6 -0
  3. package/dist/api/QInnerLoading.json +32 -0
  4. package/dist/api/QOptionGroup.json +22 -0
  5. package/dist/api/QSkeleton.json +14 -0
  6. package/dist/api/QStepper.json +16 -2
  7. package/dist/api/QTabPanels.json +16 -2
  8. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  9. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  10. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  11. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  12. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  13. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  14. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  15. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  16. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  17. package/dist/icon-set/material-icons.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/svg-bootstrap-icons.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  36. package/dist/icon-set/themify.umd.prod.js +1 -1
  37. package/dist/lang/ar.umd.prod.js +1 -1
  38. package/dist/lang/az-Latn.umd.prod.js +1 -1
  39. package/dist/lang/bg.umd.prod.js +1 -1
  40. package/dist/lang/bn.umd.prod.js +1 -1
  41. package/dist/lang/ca.umd.prod.js +1 -1
  42. package/dist/lang/cs.umd.prod.js +1 -1
  43. package/dist/lang/da.umd.prod.js +1 -1
  44. package/dist/lang/de.umd.prod.js +1 -1
  45. package/dist/lang/el.umd.prod.js +1 -1
  46. package/dist/lang/en-GB.umd.prod.js +1 -1
  47. package/dist/lang/en-US.umd.prod.js +1 -1
  48. package/dist/lang/eo.umd.prod.js +1 -1
  49. package/dist/lang/es.umd.prod.js +1 -1
  50. package/dist/lang/et.umd.prod.js +1 -1
  51. package/dist/lang/fa-IR.umd.prod.js +1 -1
  52. package/dist/lang/fa.umd.prod.js +1 -1
  53. package/dist/lang/fi.umd.prod.js +1 -1
  54. package/dist/lang/fr.umd.prod.js +1 -1
  55. package/dist/lang/gn.umd.prod.js +1 -1
  56. package/dist/lang/he.umd.prod.js +1 -1
  57. package/dist/lang/hr.umd.prod.js +1 -1
  58. package/dist/lang/hu.umd.prod.js +1 -1
  59. package/dist/lang/id.umd.prod.js +1 -1
  60. package/dist/lang/is.umd.prod.js +1 -1
  61. package/dist/lang/it.umd.prod.js +1 -1
  62. package/dist/lang/ja.umd.prod.js +1 -1
  63. package/dist/lang/km.umd.prod.js +1 -1
  64. package/dist/lang/ko-KR.umd.prod.js +1 -1
  65. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  66. package/dist/lang/lt.umd.prod.js +6 -0
  67. package/dist/lang/lu.umd.prod.js +1 -1
  68. package/dist/lang/lv.umd.prod.js +1 -1
  69. package/dist/lang/ml.umd.prod.js +1 -1
  70. package/dist/lang/ms.umd.prod.js +1 -1
  71. package/dist/lang/nb-NO.umd.prod.js +1 -1
  72. package/dist/lang/nl.umd.prod.js +1 -1
  73. package/dist/lang/pl.umd.prod.js +1 -1
  74. package/dist/lang/pt-BR.umd.prod.js +1 -1
  75. package/dist/lang/pt.umd.prod.js +1 -1
  76. package/dist/lang/ro.umd.prod.js +1 -1
  77. package/dist/lang/ru.umd.prod.js +1 -1
  78. package/dist/lang/sk.umd.prod.js +1 -1
  79. package/dist/lang/sl.umd.prod.js +1 -1
  80. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  81. package/dist/lang/sr.umd.prod.js +1 -1
  82. package/dist/lang/sv.umd.prod.js +1 -1
  83. package/dist/lang/ta.umd.prod.js +1 -1
  84. package/dist/lang/th.umd.prod.js +1 -1
  85. package/dist/lang/tr.umd.prod.js +1 -1
  86. package/dist/lang/ug.umd.prod.js +2 -2
  87. package/dist/lang/uk.umd.prod.js +1 -1
  88. package/dist/lang/vi.umd.prod.js +1 -1
  89. package/dist/lang/zh-CN.umd.prod.js +1 -1
  90. package/dist/lang/zh-TW.umd.prod.js +1 -1
  91. package/dist/quasar.cjs.prod.js +2 -2
  92. package/dist/quasar.css +24 -17
  93. package/dist/quasar.esm.prod.js +2 -2
  94. package/dist/quasar.prod.css +1 -1
  95. package/dist/quasar.rtl.css +29 -22
  96. package/dist/quasar.rtl.prod.css +1 -1
  97. package/dist/quasar.sass +24 -16
  98. package/dist/quasar.umd.js +236 -143
  99. package/dist/quasar.umd.prod.js +2 -2
  100. package/dist/ssr-directives/Morph.js +1 -1
  101. package/dist/types/index.d.ts +57 -4
  102. package/dist/vetur/quasar-attributes.json +33 -1
  103. package/dist/vetur/quasar-tags.json +9 -1
  104. package/dist/web-types/web-types.json +93 -5
  105. package/lang/index.json +4 -0
  106. package/lang/lt.js +103 -0
  107. package/lang/ug.js +42 -42
  108. package/package.json +1 -1
  109. package/src/components/carousel/QCarousel.js +8 -1
  110. package/src/components/carousel/QCarousel.json +9 -1
  111. package/src/components/color/QColor.js +73 -61
  112. package/src/components/color/QColor.json +7 -0
  113. package/src/components/color/QColor.sass +5 -1
  114. package/src/components/dialog/QDialog.js +6 -0
  115. package/src/components/inner-loading/QInnerLoading.js +31 -7
  116. package/src/components/inner-loading/QInnerLoading.json +29 -0
  117. package/src/components/inner-loading/QInnerLoading.sass +4 -0
  118. package/src/components/option-group/QOptionGroup.js +29 -19
  119. package/src/components/option-group/QOptionGroup.json +26 -0
  120. package/src/components/rating/QRating.js +59 -39
  121. package/src/components/rating/QRating.sass +8 -6
  122. package/src/components/skeleton/QSkeleton.js +15 -5
  123. package/src/components/skeleton/QSkeleton.json +9 -0
  124. package/src/components/skeleton/QSkeleton.sass +7 -6
  125. package/src/composables/private/use-panel.js +13 -8
  126. package/src/composables/private/use-panel.json +11 -2
  127. package/src/css/core/transitions.sass +4 -4
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.1.9
2
+ * Quasar Framework v2.2.0
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -2128,14 +2128,19 @@ export interface QCarouselProps {
2128
2128
  vertical?: boolean | undefined;
2129
2129
  /**
2130
2130
  * One of Quasar's embedded transitions (has effect only if 'animated' prop is set)
2131
- * Default value: slide-right/slide-down
2131
+ * Default value: fade
2132
2132
  */
2133
2133
  transitionPrev?: string | undefined;
2134
2134
  /**
2135
2135
  * One of Quasar's embedded transitions (has effect only if 'animated' prop is set)
2136
- * Default value: slide-left/slide-up
2136
+ * Default value: fade
2137
2137
  */
2138
2138
  transitionNext?: string | undefined;
2139
+ /**
2140
+ * Transition duration (in milliseconds, without unit)
2141
+ * Default value: 300
2142
+ */
2143
+ transitionDuration?: string | number | undefined;
2139
2144
  /**
2140
2145
  * Notify the component that the background is a dark color
2141
2146
  */
@@ -2167,7 +2172,7 @@ export interface QCarouselProps {
2167
2172
  | "unelevated"
2168
2173
  | undefined;
2169
2174
  /**
2170
- * Jump to next slide at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals
2175
+ * Jump to next slide (if 'true' or val > 0) or previous slide (if val < 0) at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals
2171
2176
  */
2172
2177
  autoplay?: number | boolean | undefined;
2173
2178
  /**
@@ -2750,6 +2755,10 @@ export interface QColorProps {
2750
2755
  * Do not render header
2751
2756
  */
2752
2757
  noHeader?: boolean | undefined;
2758
+ /**
2759
+ * Do not render header tabs (only the input)
2760
+ */
2761
+ noHeaderTabs?: boolean | undefined;
2753
2762
  /**
2754
2763
  * Do not render footer; Useful when you want a specific view ('default-view' prop) and don't want the user to be able to switch it
2755
2764
  */
@@ -5164,6 +5173,18 @@ export interface QInnerLoadingProps {
5164
5173
  * Color name for component from the Quasar Color Palette for the inner Spinner (unless using the default slot)
5165
5174
  */
5166
5175
  color?: string | undefined;
5176
+ /**
5177
+ * Add a label; Gets overriden when using the default slot
5178
+ */
5179
+ label?: string | undefined;
5180
+ /**
5181
+ * Add CSS class(es) to the label; Works along the 'label' prop only
5182
+ */
5183
+ labelClass?: string | undefined;
5184
+ /**
5185
+ * Apply custom style to the label; Works along the 'label' prop only
5186
+ */
5187
+ labelStyle?: any[] | string | LooseDictionary | undefined;
5167
5188
  /**
5168
5189
  * Notify the component that the background is a dark color
5169
5190
  */
@@ -6244,7 +6265,23 @@ export interface QOptionGroupProps {
6244
6265
  "onUpdate:modelValue"?: (value: any) => void;
6245
6266
  }
6246
6267
 
6247
- export interface QOptionGroupSlots {}
6268
+ export interface QOptionGroupSlots {
6269
+ /**
6270
+ * Generic slot for all labels
6271
+ * @param scope
6272
+ */
6273
+ label: (scope: {
6274
+ /**
6275
+ * The corresponding option entry from the 'options' prop
6276
+ */
6277
+ opt: LooseDictionary;
6278
+ }) => VNode[];
6279
+ /**
6280
+ * Slot to define the specific label for the option at '[name]' where name is a 0-based index; Overrides the generic 'label' slot if used
6281
+ * @param scope
6282
+ */
6283
+ [key: `label-${string}`]: (scope: { [index: string]: any }) => VNode[];
6284
+ }
6248
6285
 
6249
6286
  export interface QOptionGroup
6250
6287
  extends ComponentPublicInstance<QOptionGroupProps> {}
@@ -8333,6 +8370,11 @@ export interface QSkeletonProps {
8333
8370
  | "blink"
8334
8371
  | "none"
8335
8372
  | undefined;
8373
+ /**
8374
+ * Animation speed (in milliseconds, without unit)
8375
+ * Default value: 300
8376
+ */
8377
+ animationSpeed?: string | number | undefined;
8336
8378
  /**
8337
8379
  * Removes border-radius so borders are squared
8338
8380
  */
@@ -9214,6 +9256,11 @@ export interface QStepperProps {
9214
9256
  * Default value: slide-left/slide-up
9215
9257
  */
9216
9258
  transitionNext?: string | undefined;
9259
+ /**
9260
+ * Transition duration (in milliseconds, without unit)
9261
+ * Default value: 300
9262
+ */
9263
+ transitionDuration?: string | number | undefined;
9217
9264
  /**
9218
9265
  * Notify the component that the background is a dark color
9219
9266
  */
@@ -9410,6 +9457,11 @@ export interface QTabPanelsProps {
9410
9457
  * Default value: slide-left/slide-up
9411
9458
  */
9412
9459
  transitionNext?: string | undefined;
9460
+ /**
9461
+ * Transition duration (in milliseconds, without unit)
9462
+ * Default value: 300
9463
+ */
9464
+ transitionDuration?: string | number | undefined;
9413
9465
  /**
9414
9466
  * Emitted when the component changes the model; This event _isn't_ fired if the model is changed externally; Is also used by v-model
9415
9467
  * @param value New current panel name
@@ -13515,6 +13567,7 @@ declare module "./lang" {
13515
13567
  km: true;
13516
13568
  "ko-KR": true;
13517
13569
  "kur-CKB": true;
13570
+ lt: true;
13518
13571
  lu: true;
13519
13572
  lv: true;
13520
13573
  ml: true;
@@ -691,6 +691,10 @@
691
691
  "type": "string",
692
692
  "description": "One of Quasar's embedded transitions (has effect only if 'animated' prop is set)"
693
693
  },
694
+ "q-carousel/transition-duration": {
695
+ "type": "string|number",
696
+ "description": "Transition duration (in milliseconds, without unit)"
697
+ },
694
698
  "q-carousel/dark": {
695
699
  "type": "boolean",
696
700
  "description": "Notify the component that the background is a dark color"
@@ -717,7 +721,7 @@
717
721
  },
718
722
  "q-carousel/autoplay": {
719
723
  "type": "number|boolean",
720
- "description": "Jump to next slide at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals"
724
+ "description": "Jump to next slide (if 'true' or val > 0) or previous slide (if val < 0) at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals"
721
725
  },
722
726
  "q-carousel/arrows": {
723
727
  "type": "boolean",
@@ -1063,6 +1067,10 @@
1063
1067
  "type": "boolean",
1064
1068
  "description": "Do not render header"
1065
1069
  },
1070
+ "q-color/no-header-tabs": {
1071
+ "type": "boolean",
1072
+ "description": "Do not render header tabs (only the input)"
1073
+ },
1066
1074
  "q-color/no-footer": {
1067
1075
  "type": "boolean",
1068
1076
  "description": "Do not render footer; Useful when you want a specific view ('default-view' prop) and don't want the user to be able to switch it"
@@ -2331,6 +2339,18 @@
2331
2339
  "type": "string",
2332
2340
  "description": "Color name for component from the Quasar Color Palette for the inner Spinner (unless using the default slot)"
2333
2341
  },
2342
+ "q-inner-loading/label": {
2343
+ "type": "string",
2344
+ "description": "Add a label; Gets overriden when using the default slot"
2345
+ },
2346
+ "q-inner-loading/label-class": {
2347
+ "type": "string",
2348
+ "description": "Add CSS class(es) to the label; Works along the 'label' prop only"
2349
+ },
2350
+ "q-inner-loading/label-style": {
2351
+ "type": "array|string|object",
2352
+ "description": "Apply custom style to the label; Works along the 'label' prop only"
2353
+ },
2334
2354
  "q-inner-loading/dark": {
2335
2355
  "type": "boolean",
2336
2356
  "description": "Notify the component that the background is a dark color"
@@ -3943,6 +3963,10 @@
3943
3963
  "type": "string",
3944
3964
  "description": "The animation effect of the skeleton placeholder"
3945
3965
  },
3966
+ "q-skeleton/animation-speed": {
3967
+ "type": "string|number",
3968
+ "description": "Animation speed (in milliseconds, without unit)"
3969
+ },
3946
3970
  "q-skeleton/square": {
3947
3971
  "type": "boolean",
3948
3972
  "description": "Removes border-radius so borders are squared"
@@ -4423,6 +4447,10 @@
4423
4447
  "type": "string",
4424
4448
  "description": "One of Quasar's embedded transitions (has effect only if 'animated' prop is set)"
4425
4449
  },
4450
+ "q-stepper/transition-duration": {
4451
+ "type": "string|number",
4452
+ "description": "Transition duration (in milliseconds, without unit)"
4453
+ },
4426
4454
  "q-stepper/dark": {
4427
4455
  "type": "boolean",
4428
4456
  "description": "Notify the component that the background is a dark color"
@@ -4539,6 +4567,10 @@
4539
4567
  "type": "string",
4540
4568
  "description": "One of Quasar's embedded transitions (has effect only if 'animated' prop is set)"
4541
4569
  },
4570
+ "q-tab-panels/transition-duration": {
4571
+ "type": "string|number",
4572
+ "description": "Transition duration (in milliseconds, without unit)"
4573
+ },
4542
4574
  "q-table/fullscreen": {
4543
4575
  "type": "boolean",
4544
4576
  "description": "Fullscreen mode"
@@ -244,6 +244,7 @@
244
244
  "vertical",
245
245
  "transition-prev",
246
246
  "transition-next",
247
+ "transition-duration",
247
248
  "dark",
248
249
  "height",
249
250
  "padding",
@@ -372,6 +373,7 @@
372
373
  "flat",
373
374
  "bordered",
374
375
  "no-header",
376
+ "no-header-tabs",
375
377
  "no-footer",
376
378
  "disable",
377
379
  "readonly",
@@ -773,6 +775,9 @@
773
775
  "size",
774
776
  "showing",
775
777
  "color",
778
+ "label",
779
+ "label-class",
780
+ "label-style",
776
781
  "dark"
777
782
  ],
778
783
  "description": ""
@@ -1335,6 +1340,7 @@
1335
1340
  "dark",
1336
1341
  "type",
1337
1342
  "animation",
1343
+ "animation-speed",
1338
1344
  "square",
1339
1345
  "bordered",
1340
1346
  "size",
@@ -1604,6 +1610,7 @@
1604
1610
  "vertical",
1605
1611
  "transition-prev",
1606
1612
  "transition-next",
1613
+ "transition-duration",
1607
1614
  "dark",
1608
1615
  "flat",
1609
1616
  "bordered",
@@ -1646,7 +1653,8 @@
1646
1653
  "swipeable",
1647
1654
  "vertical",
1648
1655
  "transition-prev",
1649
- "transition-next"
1656
+ "transition-next",
1657
+ "transition-duration"
1650
1658
  ],
1651
1659
  "description": ""
1652
1660
  },
@@ -2,7 +2,7 @@
2
2
  "$schema": "",
3
3
  "framework": "vue",
4
4
  "name": "quasar",
5
- "version": "2.1.9",
5
+ "version": "2.2.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -2088,7 +2088,7 @@
2088
2088
  },
2089
2089
  "description": "One of Quasar's embedded transitions (has effect only if 'animated' prop is set)\n\nExamples:\nfade\nslide-down",
2090
2090
  "doc-url": "https://v2.quasar.dev/vue-components/carousel",
2091
- "default": "\"slide-right/slide-down\""
2091
+ "default": "\"fade\""
2092
2092
  },
2093
2093
  {
2094
2094
  "name": "transition-next",
@@ -2098,7 +2098,17 @@
2098
2098
  },
2099
2099
  "description": "One of Quasar's embedded transitions (has effect only if 'animated' prop is set)\n\nExamples:\nfade\nslide-down",
2100
2100
  "doc-url": "https://v2.quasar.dev/vue-components/carousel",
2101
- "default": "\"slide-left/slide-up\""
2101
+ "default": "\"fade\""
2102
+ },
2103
+ {
2104
+ "name": "transition-duration",
2105
+ "value": {
2106
+ "kind": "expression",
2107
+ "type": "string|number"
2108
+ },
2109
+ "description": "Transition duration (in milliseconds, without unit)\n\nExamples:\n500\n1200",
2110
+ "doc-url": "https://v2.quasar.dev/vue-components/carousel",
2111
+ "default": "300"
2102
2112
  },
2103
2113
  {
2104
2114
  "name": "dark",
@@ -2162,7 +2172,7 @@
2162
2172
  "kind": "expression",
2163
2173
  "type": "number|boolean"
2164
2174
  },
2165
- "description": "Jump to next slide at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals\n\nExamples:\n:autoplay=\"2500\"\ntrue\nfalse",
2175
+ "description": "Jump to next slide (if 'true' or val > 0) or previous slide (if val < 0) at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals\n\nExamples:\n:autoplay=\"2500\"\ntrue\nfalse",
2166
2176
  "doc-url": "https://v2.quasar.dev/vue-components/carousel"
2167
2177
  },
2168
2178
  {
@@ -3266,6 +3276,16 @@
3266
3276
  "doc-url": "https://v2.quasar.dev/vue-components/color-picker",
3267
3277
  "type": "boolean"
3268
3278
  },
3279
+ {
3280
+ "name": "no-header-tabs",
3281
+ "value": {
3282
+ "kind": "expression",
3283
+ "type": "boolean"
3284
+ },
3285
+ "description": "Do not render header tabs (only the input)",
3286
+ "doc-url": "https://v2.quasar.dev/vue-components/color-picker",
3287
+ "type": "boolean"
3288
+ },
3269
3289
  {
3270
3290
  "name": "no-footer",
3271
3291
  "value": {
@@ -7423,6 +7443,33 @@
7423
7443
  "description": "Color name for component from the Quasar Color Palette for the inner Spinner (unless using the default slot)\n\nExamples:\nprimary\nteal-10",
7424
7444
  "doc-url": "https://v2.quasar.dev/vue-components/inner-loading"
7425
7445
  },
7446
+ {
7447
+ "name": "label",
7448
+ "value": {
7449
+ "kind": "expression",
7450
+ "type": "string"
7451
+ },
7452
+ "description": "Add a label; Gets overriden when using the default slot\n\nExamples:\nPlease wait...",
7453
+ "doc-url": "https://v2.quasar.dev/vue-components/inner-loading"
7454
+ },
7455
+ {
7456
+ "name": "label-class",
7457
+ "value": {
7458
+ "kind": "expression",
7459
+ "type": "string"
7460
+ },
7461
+ "description": "Add CSS class(es) to the label; Works along the 'label' prop only\n\nExamples:\ntext-red q-mt-xl",
7462
+ "doc-url": "https://v2.quasar.dev/vue-components/inner-loading"
7463
+ },
7464
+ {
7465
+ "name": "label-style",
7466
+ "value": {
7467
+ "kind": "expression",
7468
+ "type": "any[]|string|object"
7469
+ },
7470
+ "description": "Apply custom style to the label; Works along the 'label' prop only\n\nExamples:\nfont-size: 28px\n:label-style=\"{ color: '#ff0000' }\"",
7471
+ "doc-url": "https://v2.quasar.dev/vue-components/inner-loading"
7472
+ },
7426
7473
  {
7427
7474
  "name": "dark",
7428
7475
  "value": {
@@ -9514,7 +9561,18 @@
9514
9561
  "doc-url": "https://v2.quasar.dev/vue-components/option-group"
9515
9562
  }
9516
9563
  ],
9517
- "slots": [],
9564
+ "slots": [
9565
+ {
9566
+ "name": "label",
9567
+ "description": "Generic slot for all labels",
9568
+ "doc-url": "https://v2.quasar.dev/vue-components/option-group"
9569
+ },
9570
+ {
9571
+ "name": "label-[name]",
9572
+ "description": "Slot to define the specific label for the option at '[name]' where name is a 0-based index; Overrides the generic 'label' slot if used",
9573
+ "doc-url": "https://v2.quasar.dev/vue-components/option-group"
9574
+ }
9575
+ ],
9518
9576
  "description": "QOptionGroup - Quasar component",
9519
9577
  "doc-url": "https://v2.quasar.dev/vue-components/option-group"
9520
9578
  },
@@ -12679,6 +12737,16 @@
12679
12737
  "doc-url": "https://v2.quasar.dev/vue-components/skeleton",
12680
12738
  "default": "\"wave\""
12681
12739
  },
12740
+ {
12741
+ "name": "animation-speed",
12742
+ "value": {
12743
+ "kind": "expression",
12744
+ "type": "string|number"
12745
+ },
12746
+ "description": "Animation speed (in milliseconds, without unit)\n\nExamples:\n500\n1200",
12747
+ "doc-url": "https://v2.quasar.dev/vue-components/skeleton",
12748
+ "default": "300"
12749
+ },
12682
12750
  {
12683
12751
  "name": "square",
12684
12752
  "value": {
@@ -14373,6 +14441,16 @@
14373
14441
  "doc-url": "https://v2.quasar.dev/vue-components/stepper",
14374
14442
  "default": "\"slide-left/slide-up\""
14375
14443
  },
14444
+ {
14445
+ "name": "transition-duration",
14446
+ "value": {
14447
+ "kind": "expression",
14448
+ "type": "string|number"
14449
+ },
14450
+ "description": "Transition duration (in milliseconds, without unit)\n\nExamples:\n500\n1200",
14451
+ "doc-url": "https://v2.quasar.dev/vue-components/stepper",
14452
+ "default": "300"
14453
+ },
14376
14454
  {
14377
14455
  "name": "dark",
14378
14456
  "value": {
@@ -14764,6 +14842,16 @@
14764
14842
  "description": "One of Quasar's embedded transitions (has effect only if 'animated' prop is set)\n\nExamples:\nfade\nslide-down",
14765
14843
  "doc-url": "https://v2.quasar.dev/vue-components/tab-panels",
14766
14844
  "default": "\"slide-left/slide-up\""
14845
+ },
14846
+ {
14847
+ "name": "transition-duration",
14848
+ "value": {
14849
+ "kind": "expression",
14850
+ "type": "string|number"
14851
+ },
14852
+ "description": "Transition duration (in milliseconds, without unit)\n\nExamples:\n500\n1200",
14853
+ "doc-url": "https://v2.quasar.dev/vue-components/tab-panels",
14854
+ "default": "300"
14767
14855
  }
14768
14856
  ],
14769
14857
  "events": [
package/lang/index.json CHANGED
@@ -115,6 +115,10 @@
115
115
  "isoName": "kur-CKB",
116
116
  "nativeName": "کوردی سۆرانی"
117
117
  },
118
+ {
119
+ "isoName": "lt",
120
+ "nativeName": "Lithuanian"
121
+ },
118
122
  {
119
123
  "isoName": "lu",
120
124
  "nativeName": "Kiluba"
package/lang/lt.js ADDED
@@ -0,0 +1,103 @@
1
+ function plurals (n, opts) {
2
+ const index = n % 10 === 1 && n % 100 !== 11
3
+ ? 0
4
+ : (
5
+ n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 10 || n % 100 >= 20)
6
+ ? 1
7
+ : 2
8
+ )
9
+
10
+ return opts[ index ].replace(/{}/g, n)
11
+ }
12
+
13
+ export default {
14
+ isoName: 'lt',
15
+ nativeName: 'Lithuanian',
16
+ label: {
17
+ clear: 'Išvalyti',
18
+ ok: 'Gerai',
19
+ cancel: 'Atšaukti',
20
+ close: 'Uždaryti',
21
+ set: 'Nustatyti',
22
+ select: 'Pasirinkti',
23
+ reset: 'Atkurti',
24
+ remove: 'Pašalinti',
25
+ update: 'Atnaujinti',
26
+ create: 'Sukurti',
27
+ search: 'Ieškoti',
28
+ filter: 'Filtruoti',
29
+ refresh: 'Atnaujinti'
30
+ },
31
+ date: {
32
+ days: 'Sekmadienis_Pirmadienis_Antradienis_Trečiadienis_Ketvirtadienis_Penktadienis_Šeštadienis'.split('_'),
33
+ daysShort: 'S_P_A_T_K_Pn_Š'.split('_'),
34
+ months: 'Sausis_Vasaris_Kovas_Balandis_Gegužė_Birželis_Liepa_Rugpjūtis_Rugsėjis_Spalis_Lapkritis_Gruodis'.split('_'),
35
+ monthsShort: 'Sau_Vas_Kov_Bal_Geg_Bir_Lie_Rgp_Rgs_Spa_Lap_Gru'.split('_'),
36
+ firstDayOfWeek: 1, // 0-6, 0 - Sunday, 1 Monday, ...
37
+ format24h: true,
38
+ pluralDay: 'dienos'
39
+ },
40
+ table: {
41
+ noData: 'Nėra duomenų',
42
+ noResults: 'Įrašų nerasta',
43
+ loading: 'Įkeliama...',
44
+ selectedRecords: rows => (
45
+ rows > 0
46
+ ? plurals(rows, [ 'Pasirinktas {} įrašas', 'Pasirinkti {} įrašai', 'Pasirinkta {} įrašų' ]) + '.'
47
+ : 'Nepasirinktas joks įrašas.'
48
+ ),
49
+ recordsPerPage: 'Puslapyje:',
50
+ allRows: 'Visi',
51
+ pagination: (start, end, total) => start + '-' + end + ' iš ' + total,
52
+ columns: 'Stulpeliai'
53
+ },
54
+ editor: {
55
+ url: 'URL',
56
+ bold: 'Paryškintasis',
57
+ italic: 'Kursyvas',
58
+ strikethrough: 'Perbraukimas',
59
+ underline: 'Pabrauktasis',
60
+ unorderedList: 'Ženkleliai',
61
+ orderedList: 'Numeravimas',
62
+ subscript: 'Apatinis indeksas',
63
+ superscript: 'Viršutinis indeksas',
64
+ hyperlink: 'Įterpti Hipersaitą',
65
+ toggleFullscreen: 'Įjungti pilno ekrano režimą',
66
+ quote: 'Cituoti',
67
+ left: 'Lygiuoti kairėje',
68
+ center: 'Centrinė lygiuotė',
69
+ right: 'Lygiuoti dešinėje',
70
+ justify: 'Abipusė lygiuotė',
71
+ print: 'Spausdinti',
72
+ outdent: 'Mažinti įtrauką',
73
+ indent: 'Didinti įtrauką',
74
+ removeFormat: 'Valyti formatavimą',
75
+ formatting: 'Formatavimas',
76
+ fontSize: 'Šrifto dydis',
77
+ align: 'Lygiuoti',
78
+ hr: 'Įterpti horizontalią liniją',
79
+ undo: 'Anuliuoti veiksmą',
80
+ redo: 'Perdaryti veiksmą',
81
+ heading1: 'Antraštė 1',
82
+ heading2: 'Antraštė 2',
83
+ heading3: 'Antraštė 3',
84
+ heading4: 'Antraštė 4',
85
+ heading5: 'Antraštė 5',
86
+ heading6: 'Antraštė 6',
87
+ paragraph: 'Pastraipa',
88
+ code: 'Kodas',
89
+ size1: 'Mažiausias',
90
+ size2: 'Mažas',
91
+ size3: 'Normalus',
92
+ size4: 'Vidutinis',
93
+ size5: 'Didelis',
94
+ size6: 'Labai didelis',
95
+ size7: 'Didžiausias',
96
+ defaultFont: 'Numatytasis šriftas',
97
+ viewSource: 'Peržiūrėti kodo režimu'
98
+ },
99
+ tree: {
100
+ noNodes: 'Nėra elementų',
101
+ noResults: 'Elementų nerasta'
102
+ }
103
+ }
package/lang/ug.js CHANGED
@@ -42,48 +42,48 @@ export default {
42
42
  },
43
43
  editor: {
44
44
  url: 'URL',
45
- bold: '粗体',
46
- italic: '斜体',
47
- strikethrough: '删除线',
48
- underline: '下划线',
49
- unorderedList: '无序列表',
50
- orderedList: '有序列表',
51
- subscript: '下标',
52
- superscript: '上标',
53
- hyperlink: '超链接',
54
- toggleFullscreen: '全屏切换',
55
- quote: '引号',
56
- left: '左对齐',
57
- center: '居中对齐',
58
- right: '右对齐',
59
- justify: '两端对齐',
60
- print: '打印',
61
- outdent: '减少缩进',
62
- indent: '增加缩进',
63
- removeFormat: '清除样式',
64
- formatting: '格式化',
65
- fontSize: '字体大小',
66
- align: '对齐',
67
- hr: '插入水平线',
68
- undo: '撤消',
69
- redo: '重做',
70
- heading1: '标题一',
71
- heading2: '标题二',
72
- heading3: '标题三',
73
- heading4: '标题四',
74
- heading5: '标题五',
75
- heading6: '标题六',
76
- paragraph: '段落',
77
- code: '代码',
78
- size1: '非常小',
79
- size2: '比较小',
80
- size3: '正常',
81
- size4: '中等偏大',
82
- size5: '',
83
- size6: '非常大',
84
- size7: '超级大',
85
- defaultFont: '默认字体',
86
- viewSource: '查看资料'
45
+ bold: 'Bold',
46
+ italic: 'ئىتالىيان',
47
+ strikethrough: 'Strikethrough',
48
+ underline: 'ئاستى سىزىق',
49
+ unorderedList: 'تەرتىپسىز تىزىملىك',
50
+ orderedList: 'زاكاز تىزىملىكى',
51
+ subscript: 'مۇشتەرى',
52
+ superscript: 'Superscript',
53
+ hyperlink: 'Hyperlink',
54
+ toggleFullscreen: 'تولۇق ئېكراننى ئالماشتۇرۇڭ',
55
+ quote: 'نەقىل',
56
+ left: 'سول تەڭگە',
57
+ center: 'Center align',
58
+ right: 'ئوڭ توغرىلاش',
59
+ justify: 'توغرىلاشنى توغرىلاڭ',
60
+ print: 'بېسىش',
61
+ outdent: 'تەۋەككۈلچىلىكنى ئازايتىش',
62
+ indent: 'تەۋەككۈلچىلىكنى ئاشۇرۇش',
63
+ removeFormat: 'فورماتنى ئۆچۈرۈڭ',
64
+ formatting: 'فورماتلاش',
65
+ fontSize: 'خەت چوڭلۇقى',
66
+ align: 'توغرىلاش',
67
+ hr: 'توغرىسىغا قائىدە قىستۇرۇش',
68
+ undo: 'ئەمەلدىن قالدۇرۇش',
69
+ redo: 'Redo',
70
+ heading1: 'Heading 1',
71
+ heading2: 'Heading 2',
72
+ heading3: 'Heading 3',
73
+ heading4: 'Heading 4',
74
+ heading5: 'Heading 5',
75
+ heading6: 'Heading 6',
76
+ paragraph: 'ئابزاس',
77
+ code: 'كود',
78
+ size1: 'بەك كىچىك',
79
+ size2: 'ئازراق كىچىك',
80
+ size3: 'نورمال',
81
+ size4: 'ئوتتۇراھال چوڭ',
82
+ size5: 'چوڭ',
83
+ size6: 'بەك چوڭ',
84
+ size7: 'ئەڭ چوڭ',
85
+ defaultFont: 'كۆڭۈلدىكى خەت نۇسخىسى',
86
+ viewSource: 'مەنبەنى كۆرۈش',
87
87
  },
88
88
  tree: {
89
89
  noNodes: 'ئۇچۇر يوق',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar",
3
- "version": "2.1.9",
3
+ "version": "2.2.0",
4
4
  "description": "Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time",
5
5
  "main": "dist/quasar.cjs.prod.js",
6
6
  "module": "dist/quasar.esm.prod.js",
@@ -136,7 +136,14 @@ export default defineComponent({
136
136
  })
137
137
 
138
138
  function startTimer () {
139
- timer = setTimeout(nextPanel, isNumber(props.autoplay) ? props.autoplay : 5000)
139
+ const duration = isNumber(props.autoplay) === true
140
+ ? props.autoplay
141
+ : 5000
142
+
143
+ timer = setTimeout(
144
+ duration >= 0 ? nextPanel : previousPanel,
145
+ Math.abs(duration)
146
+ )
140
147
  }
141
148
 
142
149
  onMounted(() => {