@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.
Files changed (31) hide show
  1. package/dist/components/Modal.vue.d.ts.map +1 -1
  2. package/dist/components/Spreadsheet/Index.vue.d.ts +2 -0
  3. package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
  4. package/dist/components/form/BagelForm.vue.d.ts +3 -1
  5. package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
  6. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  7. package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -0
  8. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  9. package/dist/components/form/inputs/PhoneInput.vue.d.ts +2 -0
  10. package/dist/components/form/inputs/PhoneInput.vue.d.ts.map +1 -1
  11. package/dist/components/form/inputs/SelectInput.vue.d.ts +4 -0
  12. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/TextInput.vue.d.ts +1 -0
  14. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  15. package/dist/composables/useSchemaField.d.ts.map +1 -1
  16. package/dist/index.cjs +74 -22
  17. package/dist/index.mjs +74 -22
  18. package/dist/style.css +765 -484
  19. package/dist/utils/BagelFormUtils.d.ts +2 -0
  20. package/dist/utils/BagelFormUtils.d.ts.map +1 -1
  21. package/package.json +1 -1
  22. package/src/components/Modal.vue +1 -0
  23. package/src/components/form/BagelForm.vue +23 -7
  24. package/src/components/form/FieldArray.vue +2 -2
  25. package/src/components/form/inputs/NumberInput.vue +1 -1
  26. package/src/components/form/inputs/PasswordInput.vue +2 -0
  27. package/src/components/form/inputs/TextInput.vue +4 -1
  28. package/src/composables/useSchemaField.ts +34 -1
  29. package/src/styles/text.css +911 -560
  30. package/src/utils/BagelFormUtils.ts +9 -1
  31. 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