@stonecrop/aform 0.45.0 → 0.46.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.js +5 -4
- package/dist/aform.js.map +1 -1
- package/dist/assets/index.css +6 -6
- package/dist/src/components/AForm.vue.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +2 -2
- package/dist/src/utils/columns.d.ts +2 -3
- package/dist/src/utils/columns.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/assets/index.css
CHANGED
|
@@ -835,7 +835,7 @@ p.aform_error {
|
|
|
835
835
|
margin: 0;
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
.aform[data-v-
|
|
838
|
+
.aform[data-v-648dd570] {
|
|
839
839
|
display: flex;
|
|
840
840
|
flex-wrap: wrap;
|
|
841
841
|
gap: 1rem;
|
|
@@ -847,27 +847,27 @@ p.aform_error {
|
|
|
847
847
|
max-width: 100%;
|
|
848
848
|
}
|
|
849
849
|
@media screen and (max-width: 400px) {
|
|
850
|
-
.aform[data-v-
|
|
850
|
+
.aform[data-v-648dd570] {
|
|
851
851
|
flex-direction: column;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
/* Nested form section */
|
|
856
|
-
.aform-nested-section[data-v-
|
|
856
|
+
.aform-nested-section[data-v-648dd570] {
|
|
857
857
|
width: 100%;
|
|
858
858
|
padding: 0.5rem 0;
|
|
859
859
|
}
|
|
860
|
-
.aform-nested-label[data-v-
|
|
860
|
+
.aform-nested-label[data-v-648dd570] {
|
|
861
861
|
font-size: 0.9rem;
|
|
862
862
|
font-weight: 600;
|
|
863
863
|
margin: 0 0 0.5rem 0;
|
|
864
864
|
color: var(--sc-input-label-color);
|
|
865
865
|
}
|
|
866
|
-
.aform-nested-section .aform[data-v-
|
|
866
|
+
.aform-nested-section .aform[data-v-648dd570] {
|
|
867
867
|
border-left-width: 2px;
|
|
868
868
|
margin-left: 0.5rem;
|
|
869
869
|
}
|
|
870
|
-
.aform-table-expansion[data-v-
|
|
870
|
+
.aform-table-expansion[data-v-648dd570] {
|
|
871
871
|
margin-bottom: 0;
|
|
872
872
|
border: none;
|
|
873
873
|
border-left: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AForm.vue"],"names":[],"mappings":"AAkYA,OAAO,KAAK,EAAE,aAAa,EAAiD,MAAM,UAAU,CAAA;AAC5F,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAItE,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,mGAAmG;IACnG,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;CACjC,CAAC;AA8JF,KAAK,gBAAgB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAwLxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -7,8 +7,8 @@ import type { ColumnSchema, FieldValidation, GetRecordsOptions, GetRecordsResult
|
|
|
7
7
|
*/
|
|
8
8
|
export type { InteractionMode } from '@stonecrop/schema';
|
|
9
9
|
/**
|
|
10
|
-
* A resolved scalar field. Derived from ValueField with `cardinality` omitted
|
|
11
|
-
*
|
|
10
|
+
* A resolved scalar field. Derived from ValueField with `cardinality` omitted (resolution has
|
|
11
|
+
* already applied it) and an optional `doctype` added for unresolved Link fields.
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
14
|
export type ResolvedScalar = Omit<ValueField, 'cardinality'> & {
|
|
@@ -12,9 +12,8 @@ import type { ResolvedField } from '../types';
|
|
|
12
12
|
* A fieldset's *children* are real columns, so it is flattened rather than dropped; losing them is
|
|
13
13
|
* the same silent defect in the other direction.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* site produced exactly one of the two failures above at each.
|
|
15
|
+
* This is the one definition, for a child table's columns and a records list alike. Call it; never
|
|
16
|
+
* re-derive it at a call site, which produced exactly one of the two failures above at each.
|
|
18
17
|
*
|
|
19
18
|
* @param fields - resolved fields, as produced by `resolveSchema`
|
|
20
19
|
* @returns column definitions, with the `kind` discriminator stripped
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/utils/columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C
|
|
1
|
+
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/utils/columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,YAAY,EAAE,CAaxF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/aform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"description": "Schema-driven form components for Stonecrop",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@vueuse/components": "^14.2.1",
|
|
48
48
|
"@vueuse/core": "^14.2.1",
|
|
49
49
|
"temporal-polyfill": "^1.0.5",
|
|
50
|
-
"@stonecrop/atable": "0.
|
|
51
|
-
"@stonecrop/
|
|
52
|
-
"@stonecrop/
|
|
53
|
-
"@stonecrop/
|
|
50
|
+
"@stonecrop/atable": "0.46.0",
|
|
51
|
+
"@stonecrop/utilities": "0.46.0",
|
|
52
|
+
"@stonecrop/themes": "0.46.0",
|
|
53
|
+
"@stonecrop/schema": "0.46.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@microsoft/api-extractor": "^7.58.7",
|