@bagelink/vue 1.0.50 → 1.0.54
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/Modal.vue.d.ts.map +1 -1
- package/dist/components/Spreadsheet/Index.vue.d.ts +2 -0
- package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
- package/dist/components/form/BagelForm.vue.d.ts +3 -1
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PhoneInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/PhoneInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +4 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/composables/useSchemaField.d.ts.map +1 -1
- package/dist/index.cjs +74 -22
- package/dist/index.mjs +74 -22
- package/dist/style.css +765 -484
- package/dist/utils/BagelFormUtils.d.ts +2 -0
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Modal.vue +1 -0
- package/src/components/form/BagelForm.vue +23 -7
- package/src/components/form/FieldArray.vue +2 -2
- package/src/components/form/inputs/NumberInput.vue +1 -1
- package/src/components/form/inputs/PasswordInput.vue +2 -0
- package/src/components/form/inputs/TextInput.vue +4 -1
- package/src/composables/useSchemaField.ts +34 -1
- package/src/styles/text.css +911 -560
- package/src/utils/BagelFormUtils.ts +9 -1
- package/src/components/DataTable/tableTypes.d.ts +0 -0
|
@@ -8,6 +8,7 @@ interface InputOptions {
|
|
|
8
8
|
defaultValue?: string | number
|
|
9
9
|
disabled?: boolean
|
|
10
10
|
helptext?: string
|
|
11
|
+
autocomplete?: string
|
|
11
12
|
vIf?: boolean | ((item: any, row: any) => boolean)
|
|
12
13
|
}
|
|
13
14
|
|
|
@@ -60,7 +61,9 @@ export function richText<T extends { [key: string]: any }>(
|
|
|
60
61
|
label,
|
|
61
62
|
vIf: options?.vIf,
|
|
62
63
|
placeholder: options?.placeholder,
|
|
63
|
-
attrs: {
|
|
64
|
+
attrs: {
|
|
65
|
+
autocomplete: options?.autocomplete,
|
|
66
|
+
},
|
|
64
67
|
}
|
|
65
68
|
}
|
|
66
69
|
|
|
@@ -83,6 +86,7 @@ export function txtField<T extends { [key: string]: any }>(
|
|
|
83
86
|
type: options?.type,
|
|
84
87
|
pattern: options?.pattern,
|
|
85
88
|
multiline: options?.multiline,
|
|
89
|
+
autocomplete: options?.autocomplete,
|
|
86
90
|
},
|
|
87
91
|
}
|
|
88
92
|
}
|
|
@@ -109,6 +113,7 @@ export function selectField<T extends { [key: string]: any }>(
|
|
|
109
113
|
multiselect: config?.multiselect,
|
|
110
114
|
onSearch: config?.onSearch,
|
|
111
115
|
clearable: config?.clearable,
|
|
116
|
+
autocomplete: config?.autocomplete,
|
|
112
117
|
},
|
|
113
118
|
}
|
|
114
119
|
}
|
|
@@ -145,6 +150,7 @@ export function dateField<T extends { [key: string]: any }>(
|
|
|
145
150
|
vIf: options?.vIf,
|
|
146
151
|
attrs: {
|
|
147
152
|
disabled: options?.disabled,
|
|
153
|
+
autocomplete: options?.autocomplete,
|
|
148
154
|
},
|
|
149
155
|
}
|
|
150
156
|
}
|
|
@@ -166,6 +172,7 @@ export function numField<T extends { [key: string]: any }>(
|
|
|
166
172
|
helptext: options?.helptext,
|
|
167
173
|
vIf: options?.vIf,
|
|
168
174
|
attrs: {
|
|
175
|
+
autocomplete: options?.autocomplete,
|
|
169
176
|
step: options?.step,
|
|
170
177
|
min: options?.min,
|
|
171
178
|
max: options?.max,
|
|
@@ -219,6 +226,7 @@ export function rangeField<T extends { [key: string]: any }>(
|
|
|
219
226
|
label,
|
|
220
227
|
vIf: options?.vIf,
|
|
221
228
|
attrs: {
|
|
229
|
+
autocomplete: options?.autocomplete,
|
|
222
230
|
min: options?.min,
|
|
223
231
|
max: options?.max,
|
|
224
232
|
step: options?.step,
|
|
File without changes
|