@quickflo/quickforms-quasar 1.3.2 → 1.3.4
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.
- package/dist/components/QuasarKeyValueField.vue.d.ts.map +1 -1
- package/dist/index.js +572 -566
- package/dist/types.d.ts +17 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { FormOptions as VueFormOptions } from '@quickflo/quickforms-vue';
|
|
2
|
+
import { StyleValue } from 'vue';
|
|
2
3
|
import { QInputProps, QSelectProps, QCheckboxProps, QDateProps, QCardProps, QExpansionItemProps, QBtnProps } from 'quasar';
|
|
3
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Common Vue component attributes (class and style)
|
|
7
|
+
* These can be passed to any Vue component via v-bind
|
|
8
|
+
*/
|
|
9
|
+
interface VueComponentAttributes {
|
|
10
|
+
class?: string | string[] | Record<string, boolean>;
|
|
11
|
+
style?: StyleValue;
|
|
12
|
+
}
|
|
4
13
|
interface VueComponentDefaults {
|
|
5
14
|
select?: {
|
|
6
15
|
autocomplete?: boolean;
|
|
@@ -42,16 +51,16 @@ export interface QuickFormsQuasarArrayFeatures {
|
|
|
42
51
|
addButtonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
43
52
|
/**
|
|
44
53
|
* Native Quasar QBtn props for the "Add Item" button
|
|
45
|
-
* Passed directly via v-bind - supports ALL QBtn properties
|
|
54
|
+
* Passed directly via v-bind - supports ALL QBtn properties + class/style
|
|
46
55
|
* Defaults: { outline: true, color: 'primary', icon: 'add', label: 'Add item' }
|
|
47
56
|
*/
|
|
48
|
-
addButton?: Partial<QBtnProps
|
|
57
|
+
addButton?: Partial<QBtnProps> & VueComponentAttributes;
|
|
49
58
|
/**
|
|
50
59
|
* Native Quasar QBtn props for the "Remove" button
|
|
51
|
-
* Passed directly via v-bind - supports ALL QBtn properties
|
|
60
|
+
* Passed directly via v-bind - supports ALL QBtn properties + class/style
|
|
52
61
|
* Defaults: { flat: true, round: true, dense: true, size: 'sm', icon: 'close', color: 'negative' }
|
|
53
62
|
*/
|
|
54
|
-
removeButton?: Partial<QBtnProps
|
|
63
|
+
removeButton?: Partial<QBtnProps> & VueComponentAttributes;
|
|
55
64
|
}
|
|
56
65
|
/**
|
|
57
66
|
* QuickForms features specific to key-value fields
|
|
@@ -62,16 +71,16 @@ export interface QuickFormsQuasarKeyValueFeatures {
|
|
|
62
71
|
addButtonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "bottom-center";
|
|
63
72
|
/**
|
|
64
73
|
* Native Quasar QBtn props for the "Add" button
|
|
65
|
-
* Passed directly via v-bind - supports ALL QBtn properties
|
|
74
|
+
* Passed directly via v-bind - supports ALL QBtn properties + class/style
|
|
66
75
|
* Defaults: { outline: true, color: 'primary', icon: 'add', label: 'Add Parameter', size: 'sm' }
|
|
67
76
|
*/
|
|
68
|
-
addButton?: Partial<QBtnProps
|
|
77
|
+
addButton?: Partial<QBtnProps> & VueComponentAttributes;
|
|
69
78
|
/**
|
|
70
79
|
* Native Quasar QBtn props for the "Remove" button
|
|
71
|
-
* Passed directly via v-bind - supports ALL QBtn properties
|
|
80
|
+
* Passed directly via v-bind - supports ALL QBtn properties + class/style
|
|
72
81
|
* Defaults: { flat: true, round: true, dense: true, size: 'sm', icon: 'close', color: 'negative' }
|
|
73
82
|
*/
|
|
74
|
-
removeButton?: Partial<QBtnProps
|
|
83
|
+
removeButton?: Partial<QBtnProps> & VueComponentAttributes;
|
|
75
84
|
}
|
|
76
85
|
/**
|
|
77
86
|
* Quasar-specific component defaults
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC9E,O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@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quickflo/quickforms-quasar",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Quasar UI components for QuickForms - JSON Schema form generator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"vee-validate": "^4.12.0",
|
|
34
|
-
"@quickflo/quickforms": "1.3.
|
|
35
|
-
"@quickflo/quickforms-vue": "1.3.
|
|
34
|
+
"@quickflo/quickforms": "1.3.4",
|
|
35
|
+
"@quickflo/quickforms-vue": "1.3.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@quasar/extras": "^1.17.0",
|