@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.
@@ -835,7 +835,7 @@ p.aform_error {
835
835
  margin: 0;
836
836
  }
837
837
 
838
- .aform[data-v-d4179fed] {
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-d4179fed] {
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-d4179fed] {
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-d4179fed] {
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-d4179fed] {
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-d4179fed] {
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":"AA8XA,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;AA0JF,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"}
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
- * (consumed by resolveSchema) and an optional `doctype` added for unresolved Link fields.
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
- * One definition, called by both consumers: `Registry.buildTableConfig` (a child table's columns,
16
- * from its target's resolved schema) and Desktop's records list. Re-deriving it at either call
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;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,aAAa,EAAE,GAAG,YAAY,EAAE,CAaxF"}
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.45.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.45.0",
51
- "@stonecrop/themes": "0.45.0",
52
- "@stonecrop/schema": "0.45.0",
53
- "@stonecrop/utilities": "0.45.0"
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",