@stonecrop/aform 0.6.2 → 0.7.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 +11 -14
- package/dist/aform.js +457 -461
- package/dist/aform.js.map +1 -1
- package/dist/aform.umd.cjs +2 -2
- package/dist/aform.umd.cjs.map +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/src/tsdoc-metadata.json +1 -1
- package/dist/src/types/index.d.ts +1 -1
- package/dist/theme/custom_themes.css +6 -0
- package/dist/theme/fields.css +84 -0
- package/dist/theme/login.css +2 -0
- package/dist/theme/purple_theme.css +9 -0
- package/package.json +23 -23
- package/src/components/AForm.vue +3 -3
- package/src/components/form/ACheckbox.vue +2 -9
- package/src/components/form/ADate.vue +2 -3
- package/src/components/form/ANumericInput.vue +2 -9
- package/src/components/form/ATextInput.vue +2 -10
- package/src/types/index.ts +1 -1
package/dist/aform.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export declare type ComponentProps = {
|
|
|
139
139
|
* Indicate whether elements inside the component are read-only
|
|
140
140
|
* @public
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
readOnly?: boolean;
|
|
143
143
|
/**
|
|
144
144
|
* Set a unique identifier for elements inside the component
|
|
145
145
|
* @public
|
|
@@ -260,7 +260,7 @@ name: string;
|
|
|
260
260
|
align?: CanvasTextAlign | undefined;
|
|
261
261
|
edit?: boolean | undefined;
|
|
262
262
|
label?: string | undefined;
|
|
263
|
-
|
|
263
|
+
fieldtype?: string | undefined;
|
|
264
264
|
width?: string | undefined;
|
|
265
265
|
pinned?: boolean | undefined;
|
|
266
266
|
resizable?: boolean | undefined;
|
|
@@ -284,7 +284,7 @@ name: string;
|
|
|
284
284
|
align?: CanvasTextAlign | undefined;
|
|
285
285
|
edit?: boolean | undefined;
|
|
286
286
|
label?: string | undefined;
|
|
287
|
-
|
|
287
|
+
fieldtype?: string | undefined;
|
|
288
288
|
width?: string | undefined;
|
|
289
289
|
pinned?: boolean | undefined;
|
|
290
290
|
resizable?: boolean | undefined;
|
|
@@ -554,7 +554,7 @@ name: string;
|
|
|
554
554
|
align?: CanvasTextAlign | undefined;
|
|
555
555
|
edit?: boolean | undefined;
|
|
556
556
|
label?: string | undefined;
|
|
557
|
-
|
|
557
|
+
fieldtype?: string | undefined;
|
|
558
558
|
width?: string | undefined;
|
|
559
559
|
pinned?: boolean | undefined;
|
|
560
560
|
resizable?: boolean | undefined;
|
|
@@ -578,7 +578,7 @@ name: string;
|
|
|
578
578
|
align?: CanvasTextAlign | undefined;
|
|
579
579
|
edit?: boolean | undefined;
|
|
580
580
|
label?: string | undefined;
|
|
581
|
-
|
|
581
|
+
fieldtype?: string | undefined;
|
|
582
582
|
width?: string | undefined;
|
|
583
583
|
pinned?: boolean | undefined;
|
|
584
584
|
resizable?: boolean | undefined;
|
|
@@ -848,7 +848,7 @@ name: string;
|
|
|
848
848
|
align?: CanvasTextAlign | undefined;
|
|
849
849
|
edit?: boolean | undefined;
|
|
850
850
|
label?: string | undefined;
|
|
851
|
-
|
|
851
|
+
fieldtype?: string | undefined;
|
|
852
852
|
width?: string | undefined;
|
|
853
853
|
pinned?: boolean | undefined;
|
|
854
854
|
resizable?: boolean | undefined;
|
|
@@ -872,7 +872,7 @@ name: string;
|
|
|
872
872
|
align?: CanvasTextAlign | undefined;
|
|
873
873
|
edit?: boolean | undefined;
|
|
874
874
|
label?: string | undefined;
|
|
875
|
-
|
|
875
|
+
fieldtype?: string | undefined;
|
|
876
876
|
width?: string | undefined;
|
|
877
877
|
pinned?: boolean | undefined;
|
|
878
878
|
resizable?: boolean | undefined;
|
|
@@ -1403,15 +1403,12 @@ export declare interface TableColumn {
|
|
|
1403
1403
|
*/
|
|
1404
1404
|
label?: string;
|
|
1405
1405
|
/**
|
|
1406
|
-
* The
|
|
1407
|
-
*
|
|
1408
|
-
* - `Select` - the column contains a select input
|
|
1409
|
-
* - `Date` - the column contains a date input
|
|
1410
|
-
* - `component` - the column contains a custom component
|
|
1406
|
+
* The semantic field type of the column. Uses the same StonecropFieldType enum as forms.
|
|
1407
|
+
* Common values: 'Data', 'Text', 'Int', 'Float', 'Date', 'Select', 'Link', 'Check', etc.
|
|
1411
1408
|
*
|
|
1412
|
-
* @
|
|
1409
|
+
* @public
|
|
1413
1410
|
*/
|
|
1414
|
-
|
|
1411
|
+
fieldtype?: string;
|
|
1415
1412
|
/**
|
|
1416
1413
|
* The width of the column. This can be a number (in pixels) or a string (in CSS units).
|
|
1417
1414
|
*
|