@stonecrop/aform 0.26.0 → 0.28.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.
- package/dist/aform.d.ts +6 -0
- package/dist/aform.js +1149 -1000
- package/dist/aform.js.map +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/src/index.d.ts +3 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -1
- package/package.json +5 -5
- package/src/components/AForm.vue +13 -4
- package/src/components/base/ExpandButton.vue +34 -0
- package/src/components/form/ASegmentedControl.vue +342 -0
- package/src/index.ts +6 -0
package/dist/aform.d.ts
CHANGED
|
@@ -17,10 +17,12 @@ import AFormLoading from './components/AFormLoading.vue';
|
|
|
17
17
|
import ANumericInput from './components/form/ANumericInput.vue';
|
|
18
18
|
import type { App } from 'vue';
|
|
19
19
|
import AQuantityInput from './components/form/AQuantityInput.vue';
|
|
20
|
+
import ASegmentedControl from './components/form/ASegmentedControl.vue';
|
|
20
21
|
import ATextboxInput from './components/form/ATextboxInput.vue';
|
|
21
22
|
import ATextInput from './components/form/ATextInput.vue';
|
|
22
23
|
import type { BadgeDescriptor } from '@stonecrop/schema';
|
|
23
24
|
import type { ColumnSchema } from '@stonecrop/schema';
|
|
25
|
+
import ExpandButton from './components/base/ExpandButton.vue';
|
|
24
26
|
import type { FieldOptions } from '@stonecrop/schema';
|
|
25
27
|
import type { FieldValidation } from '@stonecrop/schema';
|
|
26
28
|
import type { GetRecordsOptions } from '@stonecrop/schema';
|
|
@@ -101,6 +103,8 @@ export { ANumericInput }
|
|
|
101
103
|
|
|
102
104
|
export { AQuantityInput }
|
|
103
105
|
|
|
106
|
+
export { ASegmentedControl }
|
|
107
|
+
|
|
104
108
|
export { ATextboxInput }
|
|
105
109
|
|
|
106
110
|
export { ATextInput }
|
|
@@ -241,6 +245,8 @@ export declare interface CurrencyValue {
|
|
|
241
245
|
*/
|
|
242
246
|
export declare function deserializeFunction<T extends (...args: any[]) => any>(source: string): T;
|
|
243
247
|
|
|
248
|
+
export { ExpandButton }
|
|
249
|
+
|
|
244
250
|
/**
|
|
245
251
|
* Install all AForm components
|
|
246
252
|
* @param app - Vue app instance
|