quasar 2.2.1 → 2.2.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 (98) hide show
  1. package/dist/api/QOptionGroup.json +36 -1
  2. package/dist/api/QTable.json +5 -0
  3. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  4. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  7. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  8. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  9. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  10. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  11. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  12. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  13. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  14. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  15. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  16. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  17. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  18. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  19. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  20. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  21. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  22. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  31. package/dist/icon-set/themify.umd.prod.js +1 -1
  32. package/dist/lang/ar.umd.prod.js +1 -1
  33. package/dist/lang/az-Latn.umd.prod.js +1 -1
  34. package/dist/lang/bg.umd.prod.js +1 -1
  35. package/dist/lang/bn.umd.prod.js +1 -1
  36. package/dist/lang/ca.umd.prod.js +1 -1
  37. package/dist/lang/cs.umd.prod.js +1 -1
  38. package/dist/lang/da.umd.prod.js +1 -1
  39. package/dist/lang/de.umd.prod.js +1 -1
  40. package/dist/lang/el.umd.prod.js +1 -1
  41. package/dist/lang/en-GB.umd.prod.js +1 -1
  42. package/dist/lang/en-US.umd.prod.js +1 -1
  43. package/dist/lang/eo.umd.prod.js +1 -1
  44. package/dist/lang/es.umd.prod.js +1 -1
  45. package/dist/lang/et.umd.prod.js +1 -1
  46. package/dist/lang/fa-IR.umd.prod.js +1 -1
  47. package/dist/lang/fa.umd.prod.js +1 -1
  48. package/dist/lang/fi.umd.prod.js +1 -1
  49. package/dist/lang/fr.umd.prod.js +1 -1
  50. package/dist/lang/gn.umd.prod.js +1 -1
  51. package/dist/lang/he.umd.prod.js +1 -1
  52. package/dist/lang/hr.umd.prod.js +1 -1
  53. package/dist/lang/hu.umd.prod.js +1 -1
  54. package/dist/lang/id.umd.prod.js +1 -1
  55. package/dist/lang/is.umd.prod.js +1 -1
  56. package/dist/lang/it.umd.prod.js +1 -1
  57. package/dist/lang/ja.umd.prod.js +1 -1
  58. package/dist/lang/km.umd.prod.js +1 -1
  59. package/dist/lang/ko-KR.umd.prod.js +1 -1
  60. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  61. package/dist/lang/lt.umd.prod.js +1 -1
  62. package/dist/lang/lu.umd.prod.js +1 -1
  63. package/dist/lang/lv.umd.prod.js +1 -1
  64. package/dist/lang/ml.umd.prod.js +1 -1
  65. package/dist/lang/ms.umd.prod.js +1 -1
  66. package/dist/lang/nb-NO.umd.prod.js +1 -1
  67. package/dist/lang/nl.umd.prod.js +1 -1
  68. package/dist/lang/pl.umd.prod.js +1 -1
  69. package/dist/lang/pt-BR.umd.prod.js +1 -1
  70. package/dist/lang/pt.umd.prod.js +1 -1
  71. package/dist/lang/ro.umd.prod.js +1 -1
  72. package/dist/lang/ru.umd.prod.js +1 -1
  73. package/dist/lang/sk.umd.prod.js +1 -1
  74. package/dist/lang/sl.umd.prod.js +1 -1
  75. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  76. package/dist/lang/sr.umd.prod.js +1 -1
  77. package/dist/lang/sv.umd.prod.js +1 -1
  78. package/dist/lang/ta.umd.prod.js +1 -1
  79. package/dist/lang/th.umd.prod.js +1 -1
  80. package/dist/lang/tr.umd.prod.js +1 -1
  81. package/dist/lang/ug.umd.prod.js +1 -1
  82. package/dist/lang/uk.umd.prod.js +1 -1
  83. package/dist/lang/vi.umd.prod.js +1 -1
  84. package/dist/lang/zh-CN.umd.prod.js +1 -1
  85. package/dist/lang/zh-TW.umd.prod.js +1 -1
  86. package/dist/quasar.cjs.prod.js +2 -2
  87. package/dist/quasar.esm.prod.js +2 -2
  88. package/dist/quasar.sass +1 -1
  89. package/dist/quasar.umd.js +3 -5
  90. package/dist/quasar.umd.prod.js +2 -2
  91. package/dist/ssr-directives/Morph.js +1 -1
  92. package/dist/types/index.d.ts +19 -3
  93. package/dist/vetur/quasar-attributes.json +1 -1
  94. package/dist/web-types/web-types.json +2 -2
  95. package/package.json +1 -1
  96. package/src/components/option-group/QOptionGroup.json +24 -1
  97. package/src/components/table/QTable.json +1 -0
  98. package/src/components/time/QTime.js +0 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quasar Framework v2.2.1
2
+ * Quasar Framework v2.2.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
@@ -6218,9 +6218,25 @@ export interface QOptionGroupProps {
6218
6218
  */
6219
6219
  modelValue: any;
6220
6220
  /**
6221
- * Array of objects with value and label props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly
6221
+ * Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly
6222
6222
  */
6223
- options?: any[] | undefined;
6223
+ options?:
6224
+ | {
6225
+ /**
6226
+ * Label to display along the component
6227
+ */
6228
+ label: string;
6229
+ /**
6230
+ * Value of the option that will be used by the component model
6231
+ */
6232
+ value: any;
6233
+ /**
6234
+ * If true, the option will be disabled
6235
+ */
6236
+ disable?: boolean;
6237
+ [index: string]: any;
6238
+ }[]
6239
+ | undefined;
6224
6240
  /**
6225
6241
  * Used to specify the name of the controls; Useful if dealing with forms submitted directly to a URL
6226
6242
  */
@@ -9621,7 +9637,7 @@ export interface QTableProps {
9621
9637
  * Horizontal alignment of cells in this column
9622
9638
  * Default value: right
9623
9639
  */
9624
- align?: string;
9640
+ align?: "left" | "right" | "center";
9625
9641
  /**
9626
9642
  * Tell QTable you want this column sortable
9627
9643
  */
@@ -2961,7 +2961,7 @@
2961
2961
  },
2962
2962
  "q-option-group/options": {
2963
2963
  "type": "array",
2964
- "description": "Array of objects with value and label props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly"
2964
+ "description": "Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly"
2965
2965
  },
2966
2966
  "q-option-group/name": {
2967
2967
  "type": "string",
@@ -2,7 +2,7 @@
2
2
  "$schema": "",
3
3
  "framework": "vue",
4
4
  "name": "quasar",
5
- "version": "2.2.1",
5
+ "version": "2.2.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -9454,7 +9454,7 @@
9454
9454
  "kind": "expression",
9455
9455
  "type": "any[]"
9456
9456
  },
9457
- "description": "Array of objects with value and label props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly\n\nExamples:\n:options=\"[ { label: 'Option 1', value: 'op1' }, { label: 'Option 2', value: 'op2' }, { label: 'Option 3', value: 'op3', disable: true } ]\"",
9457
+ "description": "Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly\n\nExamples:\n:options=\"[ { label: 'Option 1', value: 'op1' }, { label: 'Option 2', value: 'op2' }, { label: 'Option 3', value: 'op3', disable: true } ]\"",
9458
9458
  "doc-url": "https://v2.quasar.dev/vue-components/option-group"
9459
9459
  },
9460
9460
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
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",
@@ -14,7 +14,30 @@
14
14
 
15
15
  "options": {
16
16
  "type": "Array",
17
- "desc": "Array of objects with value and label props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly",
17
+ "desc": "Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly",
18
+ "definition": {
19
+ "label": {
20
+ "type": "String",
21
+ "desc": "Label to display along the component",
22
+ "required": true,
23
+ "examples": [ "Option 1", "Option 2", "Option 3" ]
24
+ },
25
+ "value": {
26
+ "type": "Any",
27
+ "desc": "Value of the option that will be used by the component model",
28
+ "required": true,
29
+ "examples": [ "op1", "op2", "op3" ]
30
+ },
31
+ "disable": {
32
+ "type": "Boolean",
33
+ "desc": "If true, the option will be disabled"
34
+ },
35
+ "...props": {
36
+ "type": "Any",
37
+ "desc": "Any other props from QToggle, QCheckbox, or QRadio",
38
+ "examples": [ "val=\"car\"", ":true-value=\"trueValue\"", "checked-icon=\"visibility\"" ]
39
+ }
40
+ },
18
41
  "examples": [
19
42
  ":options=\"[ { label: 'Option 1', value: 'op1' }, { label: 'Option 2', value: 'op2' }, { label: 'Option 3', value: 'op3', disable: true } ]\""
20
43
  ],
@@ -156,6 +156,7 @@
156
156
  "align": {
157
157
  "type": "String",
158
158
  "desc": "Horizontal alignment of cells in this column",
159
+ "values": [ "left", "right", "center" ],
159
160
  "default": "right",
160
161
  "examples": [ "left", "right", "center" ]
161
162
  },
@@ -288,8 +288,6 @@ export default defineComponent({
288
288
  defaultDateModel.value
289
289
  )
290
290
 
291
- console.log({ ...model })
292
-
293
291
  if (
294
292
  model.dateHash !== innerModel.value.dateHash
295
293
  || model.timeHash !== innerModel.value.timeHash