@primmel/primmel 1.13.0 → 1.15.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/src/check-rules.d.ts.map +1 -1
- package/dist/src/check-rules.js +86 -0
- package/dist/src/check-rules.js.map +1 -1
- package/dist/src/check.d.ts.map +1 -1
- package/dist/src/check.js +805 -0
- package/dist/src/check.js.map +1 -1
- package/dist/src/model-diff.d.ts.map +1 -1
- package/dist/src/model-diff.js +38 -0
- package/dist/src/model-diff.js.map +1 -1
- package/dist/src/ser-des/config/applicationDeclaration.d.ts +5 -0
- package/dist/src/ser-des/config/applicationDeclaration.d.ts.map +1 -0
- package/dist/src/ser-des/config/applicationDeclaration.js +102 -0
- package/dist/src/ser-des/config/applicationDeclaration.js.map +1 -0
- package/dist/src/ser-des/config/approval.d.ts.map +1 -1
- package/dist/src/ser-des/config/approval.js +56 -9
- package/dist/src/ser-des/config/approval.js.map +1 -1
- package/dist/src/ser-des/config/aspect.d.ts +5 -0
- package/dist/src/ser-des/config/aspect.d.ts.map +1 -0
- package/dist/src/ser-des/config/aspect.js +128 -0
- package/dist/src/ser-des/config/aspect.js.map +1 -0
- package/dist/src/ser-des/config/calculationContext.d.ts +5 -0
- package/dist/src/ser-des/config/calculationContext.d.ts.map +1 -0
- package/dist/src/ser-des/config/calculationContext.js +62 -0
- package/dist/src/ser-des/config/calculationContext.js.map +1 -0
- package/dist/src/ser-des/config/certificateTemplate.d.ts +5 -0
- package/dist/src/ser-des/config/certificateTemplate.d.ts.map +1 -0
- package/dist/src/ser-des/config/certificateTemplate.js +195 -0
- package/dist/src/ser-des/config/certificateTemplate.js.map +1 -0
- package/dist/src/ser-des/config/evaluationDimension.d.ts +5 -0
- package/dist/src/ser-des/config/evaluationDimension.d.ts.map +1 -0
- package/dist/src/ser-des/config/evaluationDimension.js +128 -0
- package/dist/src/ser-des/config/evaluationDimension.js.map +1 -0
- package/dist/src/ser-des/config/evaluationProfile.d.ts +5 -0
- package/dist/src/ser-des/config/evaluationProfile.d.ts.map +1 -0
- package/dist/src/ser-des/config/evaluationProfile.js +61 -0
- package/dist/src/ser-des/config/evaluationProfile.js.map +1 -0
- package/dist/src/ser-des/config/gateway.d.ts.map +1 -1
- package/dist/src/ser-des/config/gateway.js +57 -0
- package/dist/src/ser-des/config/gateway.js.map +1 -1
- package/dist/src/ser-des/config/identitySlot.d.ts +5 -0
- package/dist/src/ser-des/config/identitySlot.d.ts.map +1 -0
- package/dist/src/ser-des/config/identitySlot.js +120 -0
- package/dist/src/ser-des/config/identitySlot.js.map +1 -0
- package/dist/src/ser-des/config/index.d.ts.map +1 -1
- package/dist/src/ser-des/config/index.js +159 -0
- package/dist/src/ser-des/config/index.js.map +1 -1
- package/dist/src/ser-des/config/process.d.ts.map +1 -1
- package/dist/src/ser-des/config/process.js +46 -0
- package/dist/src/ser-des/config/process.js.map +1 -1
- package/dist/src/ser-des/config/promiseSet.d.ts +5 -0
- package/dist/src/ser-des/config/promiseSet.d.ts.map +1 -0
- package/dist/src/ser-des/config/promiseSet.js +46 -0
- package/dist/src/ser-des/config/promiseSet.js.map +1 -0
- package/dist/src/ser-des/config/selectionRules.d.ts +9 -0
- package/dist/src/ser-des/config/selectionRules.d.ts.map +1 -0
- package/dist/src/ser-des/config/selectionRules.js +372 -0
- package/dist/src/ser-des/config/selectionRules.js.map +1 -0
- package/dist/src/ser-des/config/subject.d.ts +18 -1
- package/dist/src/ser-des/config/subject.d.ts.map +1 -1
- package/dist/src/ser-des/config/subject.js +177 -61
- package/dist/src/ser-des/config/subject.js.map +1 -1
- package/dist/src/ser-des/config/testReport.d.ts +7 -0
- package/dist/src/ser-des/config/testReport.d.ts.map +1 -0
- package/dist/src/ser-des/config/testReport.js +322 -0
- package/dist/src/ser-des/config/testReport.js.map +1 -0
- package/dist/src/ser-des/config/verificationPathway.d.ts +5 -0
- package/dist/src/ser-des/config/verificationPathway.d.ts.map +1 -0
- package/dist/src/ser-des/config/verificationPathway.js +361 -0
- package/dist/src/ser-des/config/verificationPathway.js.map +1 -0
- package/dist/src/ser-des/config/workflowConfig.d.ts +5 -0
- package/dist/src/ser-des/config/workflowConfig.d.ts.map +1 -0
- package/dist/src/ser-des/config/workflowConfig.js +129 -0
- package/dist/src/ser-des/config/workflowConfig.js.map +1 -0
- package/dist/src/ser-des/config/workflowStage.d.ts +5 -0
- package/dist/src/ser-des/config/workflowStage.d.ts.map +1 -0
- package/dist/src/ser-des/config/workflowStage.js +96 -0
- package/dist/src/ser-des/config/workflowStage.js.map +1 -0
- package/dist/src/ser-des/package.d.ts +10 -0
- package/dist/src/ser-des/package.d.ts.map +1 -1
- package/dist/src/ser-des/package.js +164 -12
- package/dist/src/ser-des/package.js.map +1 -1
- package/dist/src/ser-des/parse.d.ts.map +1 -1
- package/dist/src/ser-des/parse.js +26 -0
- package/dist/src/ser-des/parse.js.map +1 -1
- package/dist/src/ser-des/types.d.ts +29 -0
- package/dist/src/ser-des/types.d.ts.map +1 -1
- package/dist/src/types/ApplicationDeclaration.d.ts +23 -0
- package/dist/src/types/ApplicationDeclaration.d.ts.map +1 -0
- package/dist/src/types/ApplicationDeclaration.js +32 -0
- package/dist/src/types/ApplicationDeclaration.js.map +1 -0
- package/dist/src/types/Approval.d.ts +5 -0
- package/dist/src/types/Approval.d.ts.map +1 -1
- package/dist/src/types/Aspect.d.ts +30 -0
- package/dist/src/types/Aspect.d.ts.map +1 -0
- package/dist/src/types/Aspect.js +41 -0
- package/dist/src/types/Aspect.js.map +1 -0
- package/dist/src/types/CalculationContext.d.ts +17 -0
- package/dist/src/types/CalculationContext.d.ts.map +1 -0
- package/dist/src/types/CalculationContext.js +34 -0
- package/dist/src/types/CalculationContext.js.map +1 -0
- package/dist/src/types/CertificateTemplate.d.ts +46 -0
- package/dist/src/types/CertificateTemplate.d.ts.map +1 -0
- package/dist/src/types/CertificateTemplate.js +46 -0
- package/dist/src/types/CertificateTemplate.js.map +1 -0
- package/dist/src/types/EvaluationDimension.d.ts +32 -0
- package/dist/src/types/EvaluationDimension.d.ts.map +1 -0
- package/dist/src/types/EvaluationDimension.js +38 -0
- package/dist/src/types/EvaluationDimension.js.map +1 -0
- package/dist/src/types/EvaluationProfile.d.ts +10 -0
- package/dist/src/types/EvaluationProfile.d.ts.map +1 -0
- package/dist/src/types/EvaluationProfile.js +25 -0
- package/dist/src/types/EvaluationProfile.js.map +1 -0
- package/dist/src/types/Gateway.d.ts +22 -0
- package/dist/src/types/Gateway.d.ts.map +1 -1
- package/dist/src/types/IdentitySlot.d.ts +24 -0
- package/dist/src/types/IdentitySlot.d.ts.map +1 -0
- package/dist/src/types/IdentitySlot.js +34 -0
- package/dist/src/types/IdentitySlot.js.map +1 -0
- package/dist/src/types/PromiseSet.d.ts +8 -0
- package/dist/src/types/PromiseSet.d.ts.map +1 -0
- package/dist/src/types/PromiseSet.js +35 -0
- package/dist/src/types/PromiseSet.js.map +1 -0
- package/dist/src/types/SelectionRules.d.ts +73 -0
- package/dist/src/types/SelectionRules.d.ts.map +1 -0
- package/dist/src/types/SelectionRules.js +55 -0
- package/dist/src/types/SelectionRules.js.map +1 -0
- package/dist/src/types/Standard.d.ts +58 -0
- package/dist/src/types/Standard.d.ts.map +1 -1
- package/dist/src/types/Subject.d.ts +31 -1
- package/dist/src/types/Subject.d.ts.map +1 -1
- package/dist/src/types/TestReport.d.ts +71 -0
- package/dist/src/types/TestReport.d.ts.map +1 -0
- package/dist/src/types/TestReport.js +73 -0
- package/dist/src/types/TestReport.js.map +1 -0
- package/dist/src/types/VerificationPathway.d.ts +63 -0
- package/dist/src/types/VerificationPathway.d.ts.map +1 -0
- package/dist/src/types/VerificationPathway.js +56 -0
- package/dist/src/types/VerificationPathway.js.map +1 -0
- package/dist/src/types/WorkflowConfig.d.ts +34 -0
- package/dist/src/types/WorkflowConfig.d.ts.map +1 -0
- package/dist/src/types/WorkflowConfig.js +47 -0
- package/dist/src/types/WorkflowConfig.js.map +1 -0
- package/dist/src/types/WorkflowStage.d.ts +22 -0
- package/dist/src/types/WorkflowStage.d.ts.map +1 -0
- package/dist/src/types/WorkflowStage.js +37 -0
- package/dist/src/types/WorkflowStage.js.map +1 -0
- package/dist/src/types/process.d.ts +21 -0
- package/dist/src/types/process.d.ts.map +1 -1
- package/dist-browser/index.mjs +2215 -1025
- package/dist-cli/primmel.mjs +8589 -5285
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { SourceRef } from './Subject';
|
|
2
|
+
export default interface Aspect {
|
|
3
|
+
/** Snake-case aspect id (markings, software, …). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** The aspect's short label. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** marking | inscription | sealing | display | control | interface |
|
|
8
|
+
* power-supply | enclosure | construction | documentation | other
|
|
9
|
+
* (parse-enforced; '' = undeclared). */
|
|
10
|
+
kind: string;
|
|
11
|
+
/** What the aspect covers. */
|
|
12
|
+
definition: string;
|
|
13
|
+
/** The metamodel realization token — documentary, never resolved. */
|
|
14
|
+
metamodelClass: string;
|
|
15
|
+
/** The glossary term the aspect realizes (→ term; C130). */
|
|
16
|
+
termRef: string;
|
|
17
|
+
/** The instrument component the aspect localizes to (→ instrument
|
|
18
|
+
* component; C130; '' = undeclared). */
|
|
19
|
+
component: string;
|
|
20
|
+
/** The quantitative facet the aspect points at (→
|
|
21
|
+
* attribute_definition; C130; '' = undeclared) — a reference, never
|
|
22
|
+
* a redeclaration (INV-3). */
|
|
23
|
+
attribute: string;
|
|
24
|
+
/** The aspect's content: `model.identity.<slot>` paths and/or bare
|
|
25
|
+
* attribute/dimension ids (C130 tries both namespaces). */
|
|
26
|
+
contains: string[];
|
|
27
|
+
/** Clause-URN provenance (optional). */
|
|
28
|
+
source: SourceRef | null;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=Aspect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Aspect.d.ts","sourceRoot":"","sources":["../../../src/types/Aspect.ts"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,CAAC,OAAO,WAAW,MAAM;IAC7B,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd;;6CAEyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,cAAc,EAAE,MAAM,CAAC;IACvB,4DAA4D;IAC5D,OAAO,EAAE,MAAM,CAAC;IAChB;6CACyC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB;;mCAE+B;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB;gEAC4D;IAC5D,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,wCAAwC;IACxC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The aspect (smart TODO.roadmap/40 batch 3; the packages-as-SSOT epic;
|
|
4
|
+
// smart TODO.roadmap/47 subject enrichment) — the QUALITATIVE HAS
|
|
5
|
+
// inventory: the aspects of the subject that requirements and
|
|
6
|
+
// conformance tests constrain without being quantities (R 60-1, 6;
|
|
7
|
+
// R 60-2, 2.5/2.6):
|
|
8
|
+
//
|
|
9
|
+
// aspect markings {
|
|
10
|
+
// label "Markings on the load cell"
|
|
11
|
+
// kind marking # marking | inscription | sealing |
|
|
12
|
+
// # display | control | interface |
|
|
13
|
+
// # power-supply | enclosure |
|
|
14
|
+
// # construction | documentation |
|
|
15
|
+
// # other — parse-enforced
|
|
16
|
+
// definition "…"
|
|
17
|
+
// metamodel_class identity-provenance.Marking
|
|
18
|
+
// term_ref marking # → term (C130)
|
|
19
|
+
// contains { model.identity.manufacturer … e_max accuracy_class }
|
|
20
|
+
// source { doc "urn:oiml:pub:r:60-1:2021" clause "6.2.1" }
|
|
21
|
+
// }
|
|
22
|
+
//
|
|
23
|
+
// aspect software {
|
|
24
|
+
// kind other
|
|
25
|
+
// attribute software_identification # → attribute_definition (C130) —
|
|
26
|
+
// # never a redeclaration (INV-3)
|
|
27
|
+
// }
|
|
28
|
+
//
|
|
29
|
+
// Requirements and tests bind to the aspects as `model.aspects.<id>`
|
|
30
|
+
// (the smart R28 mirror — C130). The `contains` list mixes two
|
|
31
|
+
// namespaces — `model.identity.<slot>` paths AND bare attribute or
|
|
32
|
+
// dimension ids — and C130 tries both before erroring (each leg checked
|
|
33
|
+
// only when its target register composes, per-register gating).
|
|
34
|
+
// Quantitative facets stay in attribute_definitions and are pointed at
|
|
35
|
+
// via `attribute`/`contains` — never redeclared (INV-3).
|
|
36
|
+
//
|
|
37
|
+
// The passport content classes reference "aspects" conceptually (C86);
|
|
38
|
+
// this register is what they resolve against.
|
|
39
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
//# sourceMappingURL=Aspect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Aspect.js","sourceRoot":"","sources":["../../../src/types/Aspect.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,wEAAwE;AACxE,kEAAkE;AAClE,8DAA8D;AAC9D,mEAAmE;AACnE,oBAAoB;AACpB,EAAE;AACF,sBAAsB;AACtB,wCAAwC;AACxC,6EAA6E;AAC7E,2EAA2E;AAC3E,sEAAsE;AACtE,0EAA0E;AAC1E,kEAAkE;AAClE,qBAAqB;AACrB,kDAAkD;AAClD,yDAAyD;AACzD,sEAAsE;AACtE,+DAA+D;AAC/D,MAAM;AACN,EAAE;AACF,sBAAsB;AACtB,iBAAiB;AACjB,2EAA2E;AAC3E,yEAAyE;AACzE,MAAM;AACN,EAAE;AACF,qEAAqE;AACrE,+DAA+D;AAC/D,mEAAmE;AACnE,wEAAwE;AACxE,gEAAgE;AAChE,uEAAuE;AACvE,yDAAyD;AACzD,EAAE;AACF,uEAAuE;AACvE,8CAA8C;AAC9C,wEAAwE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** One wired field of the calculation context. */
|
|
2
|
+
export interface CalculationContextField {
|
|
3
|
+
/** The computation input's name (the variable id). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** classification.<dim> | parameters.<attr> | computed (dotted scalar,
|
|
6
|
+
* parse-total; the resolution legs are C133's). */
|
|
7
|
+
source: string;
|
|
8
|
+
/** The computation when source = computed ('' otherwise — C133). */
|
|
9
|
+
expression: string;
|
|
10
|
+
}
|
|
11
|
+
export default interface CalculationContext {
|
|
12
|
+
/** Conventionally `evaluation` (singleton per rec). */
|
|
13
|
+
id: string;
|
|
14
|
+
/** The wired fields, in declared order. */
|
|
15
|
+
fields: CalculationContextField[];
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=CalculationContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculationContext.d.ts","sourceRoot":"","sources":["../../../src/types/CalculationContext.ts"],"names":[],"mappings":"AAgCA,kDAAkD;AAClD,MAAM,WAAW,uBAAuB;IACtC,sDAAsD;IACtD,EAAE,EAAE,MAAM,CAAC;IACX;wDACoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB;IACzC,uDAAuD;IACvD,EAAE,EAAE,MAAM,CAAC;IACX,2CAA2C;IAC3C,MAAM,EAAE,uBAAuB,EAAE,CAAC;CACnC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The calculation context (smart TODO.roadmap/40 batch 3; the
|
|
4
|
+
// packages-as-SSOT epic) — the evaluation-side WIRING of computation
|
|
5
|
+
// inputs to their subject-chain sources (smart's
|
|
6
|
+
// computation-context.service.ts), a different thing from the
|
|
7
|
+
// `calculation` construct (the specification-side register of named
|
|
8
|
+
// computations with typed signatures):
|
|
9
|
+
//
|
|
10
|
+
// calculation_context evaluation { # singleton per rec
|
|
11
|
+
// field accuracy_class { source classification.accuracy_class }
|
|
12
|
+
// field p_lc { source parameters.p_lc }
|
|
13
|
+
// field v_min {
|
|
14
|
+
// source computed
|
|
15
|
+
// expression "(e_max - e_min) / (n_lc * f)"
|
|
16
|
+
// }
|
|
17
|
+
// }
|
|
18
|
+
//
|
|
19
|
+
// The `source` is a dotted scalar (parse-total): classification.<dim>
|
|
20
|
+
// (a classification dimension of the subject chain), parameters.<attr>
|
|
21
|
+
// (an attribute_definition, resolved by INV-10 delegation Sample →
|
|
22
|
+
// Model → Group → Family), or `computed` (the expression wires other
|
|
23
|
+
// fields). The legacy schema tokens (dimensions, application,
|
|
24
|
+
// application.specs, lookup) are unused everywhere and get NO facet —
|
|
25
|
+
// C133 errors on them if they ever appear, forcing the modern spelling.
|
|
26
|
+
//
|
|
27
|
+
// C133 calculation-context-references: the classification/parameters
|
|
28
|
+
// targets resolve (per-register gated), computed ⇔ expression presence,
|
|
29
|
+
// and the expression's free identifiers name the context's own fields
|
|
30
|
+
// (WARNING — runtime-bound inputs like r60's `f` (conversion_factor_f)
|
|
31
|
+
// and r144's `measured_value` are legitimate non-field references).
|
|
32
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
//# sourceMappingURL=CalculationContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculationContext.js","sourceRoot":"","sources":["../../../src/types/CalculationContext.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,8DAA8D;AAC9D,qEAAqE;AACrE,iDAAiD;AACjD,8DAA8D;AAC9D,oEAAoE;AACpE,uCAAuC;AACvC,EAAE;AACF,gEAAgE;AAChE,oEAAoE;AACpE,sDAAsD;AACtD,oBAAoB;AACpB,wBAAwB;AACxB,kDAAkD;AAClD,QAAQ;AACR,MAAM;AACN,EAAE;AACF,sEAAsE;AACtE,uEAAuE;AACvE,mEAAmE;AACnE,qEAAqE;AACrE,8DAA8D;AAC9D,sEAAsE;AACtE,wEAAwE;AACxE,EAAE;AACF,qEAAqE;AACrE,wEAAwE;AACxE,sEAAsE;AACtE,uEAAuE;AACvE,oEAAoE;AACpE,wEAAwE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** The dimension-label pattern block. */
|
|
2
|
+
export interface CertificateDimensionLabels {
|
|
3
|
+
/** The render pattern; placeholders `{dim}` or `{dim:sep}`. */
|
|
4
|
+
pattern: string;
|
|
5
|
+
/** The set-valued-dimension join separator ('' = the renderer default). */
|
|
6
|
+
separator: string;
|
|
7
|
+
}
|
|
8
|
+
/** One explicit characteristic row of the certificate. */
|
|
9
|
+
export interface CertificateCharacteristic {
|
|
10
|
+
/** The row's name (the characteristic id). */
|
|
11
|
+
id: string;
|
|
12
|
+
/** string | integer | number | quantity | statement (parse-total;
|
|
13
|
+
* the closed set is C136's). */
|
|
14
|
+
type: string;
|
|
15
|
+
/** The default-spelling label. */
|
|
16
|
+
label: string;
|
|
17
|
+
/** The single-attribute binding ('' when unused — XOR, C136). */
|
|
18
|
+
attribute: string;
|
|
19
|
+
/** The multi-attribute binding ([] when unused — XOR, C136). */
|
|
20
|
+
attributes: string[];
|
|
21
|
+
/** The dimension binding ('' when unused — XOR, C136). */
|
|
22
|
+
dimension: string;
|
|
23
|
+
/** mandatory | optional (parse-enforced; '' when unstated). */
|
|
24
|
+
obligation: string;
|
|
25
|
+
}
|
|
26
|
+
/** The Additional National Requirements section labels (TODO.adoption/11). */
|
|
27
|
+
export interface CertificateAnrSection {
|
|
28
|
+
title: string;
|
|
29
|
+
coveredLabel: string;
|
|
30
|
+
notEvaluatedLabel: string;
|
|
31
|
+
pendingLabel: string;
|
|
32
|
+
noneTargetedNote: string;
|
|
33
|
+
}
|
|
34
|
+
export default interface CertificateTemplate {
|
|
35
|
+
/** Conventionally `certificate` (singleton per package). */
|
|
36
|
+
id: string;
|
|
37
|
+
/** The certificate-number format pattern ('' when unstated). */
|
|
38
|
+
numberFormat: string;
|
|
39
|
+
/** The dimension-label pattern block (null when unstated). */
|
|
40
|
+
dimensionLabels: CertificateDimensionLabels | null;
|
|
41
|
+
/** The explicit characteristic rows, in declared order. */
|
|
42
|
+
characteristics: CertificateCharacteristic[];
|
|
43
|
+
/** The ANR section labels (null when unstated). */
|
|
44
|
+
anrSection: CertificateAnrSection | null;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=CertificateTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CertificateTemplate.d.ts","sourceRoot":"","sources":["../../../src/types/CertificateTemplate.ts"],"names":[],"mappings":"AA4CA,yCAAyC;AACzC,MAAM,WAAW,0BAA0B;IACzC,+DAA+D;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX;qCACiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,SAAS,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,8EAA8E;AAC9E,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB;IAC1C,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,eAAe,EAAE,0BAA0B,GAAG,IAAI,CAAC;IACnD,2DAA2D;IAC3D,eAAe,EAAE,yBAAyB,EAAE,CAAC;IAC7C,mDAAmD;IACnD,UAAU,EAAE,qBAAqB,GAAG,IAAI,CAAC;CAC1C"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The certificate template (smart TODO.roadmap/40 batch 3; the
|
|
4
|
+
// packages-as-SSOT epic) — the rec's certificate RENDERING contract:
|
|
5
|
+
// the number format, the dimension-label pattern, the explicit
|
|
6
|
+
// characteristic rows (twin-cert today; the recs project their
|
|
7
|
+
// characteristic list from the verified promises' certificate print
|
|
8
|
+
// projections instead — the two shapes coexist), and the Additional
|
|
9
|
+
// National Requirements section labels (TODO.adoption/11):
|
|
10
|
+
//
|
|
11
|
+
// certificate_template certificate { # singleton per package
|
|
12
|
+
// number_format "{shortName}/{edition}-{scheme}-{authority}-{year2}.{seq}"
|
|
13
|
+
// dimension_labels {
|
|
14
|
+
// pattern "{measurand_components}-{measuring_principle}"
|
|
15
|
+
// separator "+" # optional; joins set-valued dims
|
|
16
|
+
// }
|
|
17
|
+
// characteristic e_max {
|
|
18
|
+
// type quantity # string|integer|number|quantity|statement (C136)
|
|
19
|
+
// label "E_max values"
|
|
20
|
+
// attribute e_max # XOR attribute | attributes {…} | dimension | none
|
|
21
|
+
// obligation mandatory # mandatory|optional (parse-enforced)
|
|
22
|
+
// }
|
|
23
|
+
// anr_section {
|
|
24
|
+
// title "Additional National Requirements"
|
|
25
|
+
// covered_label "Evaluated"
|
|
26
|
+
// not_evaluated_label "Not evaluated in this evaluation"
|
|
27
|
+
// pending_label "Pending evaluation"
|
|
28
|
+
// none_targeted_note "No additional national requirements were targeted by the application."
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
//
|
|
32
|
+
// The characteristic `type` vocabulary is renderer-driven and stays
|
|
33
|
+
// parse-TOTAL (the codec never rejects a growing renderer) — C136
|
|
34
|
+
// carries the closed-set check at ERROR (the owner-settled decision).
|
|
35
|
+
// Localized labels: the default spelling inline here, alternates ride
|
|
36
|
+
// the l10n `text` blocks (the term/form precedent).
|
|
37
|
+
//
|
|
38
|
+
// C136 certificate-template-references: the dimension_labels pattern
|
|
39
|
+
// placeholders ({dim} / {dim:sep}) resolve to declared classification
|
|
40
|
+
// dimensions; the characteristic bindings resolve (per-register gated)
|
|
41
|
+
// with the XOR shape leg; the number_format placeholders check against
|
|
42
|
+
// the known token vocabulary at WARNING (open for program-specific
|
|
43
|
+
// prefixes like twin-cert's literal TW-1).
|
|
44
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
//# sourceMappingURL=CertificateTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CertificateTemplate.js","sourceRoot":"","sources":["../../../src/types/CertificateTemplate.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,+DAA+D;AAC/D,qEAAqE;AACrE,+DAA+D;AAC/D,+DAA+D;AAC/D,oEAAoE;AACpE,oEAAoE;AACpE,2DAA2D;AAC3D,EAAE;AACF,sEAAsE;AACtE,+EAA+E;AAC/E,yBAAyB;AACzB,+DAA+D;AAC/D,+EAA+E;AAC/E,QAAQ;AACR,6BAA6B;AAC7B,+FAA+F;AAC/F,6BAA6B;AAC7B,iGAAiG;AACjG,mFAAmF;AACnF,QAAQ;AACR,oBAAoB;AACpB,iDAAiD;AACjD,kCAAkC;AAClC,+DAA+D;AAC/D,2CAA2C;AAC3C,mGAAmG;AACnG,QAAQ;AACR,MAAM;AACN,EAAE;AACF,oEAAoE;AACpE,kEAAkE;AAClE,sEAAsE;AACtE,sEAAsE;AACtE,oDAAoD;AACpD,EAAE;AACF,qEAAqE;AACrE,sEAAsE;AACtE,uEAAuE;AACvE,uEAAuE;AACvE,mEAAmE;AACnE,2CAA2C;AAC3C,wEAAwE"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** One form-facing classification field. */
|
|
2
|
+
export interface EvaluationDimensionField {
|
|
3
|
+
/** The field name (an is_dimension attribute id, or r129's legacy
|
|
4
|
+
* camelCase — C134 accepts either resolution, warning when neither). */
|
|
5
|
+
id: string;
|
|
6
|
+
/** The UI label. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** integer | number | string | text | boolean | date (parse-enforced;
|
|
9
|
+
* '' = undeclared). */
|
|
10
|
+
type: string;
|
|
11
|
+
/** The classification dimension supplying the value space (→
|
|
12
|
+
* dimension; C134; '' = undeclared). */
|
|
13
|
+
enumRef: string;
|
|
14
|
+
/** Whether the user must set this field. */
|
|
15
|
+
required: boolean;
|
|
16
|
+
/** Whether the field is locked once set. */
|
|
17
|
+
editable: boolean;
|
|
18
|
+
/** MUST | SHALL | RECOMMEND | SHOULD | MAY | OPTIONAL (the MMEL
|
|
19
|
+
* importance; parse-enforced; '' = undeclared). */
|
|
20
|
+
setting: string;
|
|
21
|
+
/** Multi-select (the r144 measurand_components shape). */
|
|
22
|
+
multiple: boolean;
|
|
23
|
+
}
|
|
24
|
+
export default interface EvaluationDimensions {
|
|
25
|
+
/** Conventionally `evaluation` (singleton per rec). */
|
|
26
|
+
id: string;
|
|
27
|
+
/** The register's file-level label ("Type of Testing"). */
|
|
28
|
+
label: string;
|
|
29
|
+
/** The fields, in declared order. */
|
|
30
|
+
fields: EvaluationDimensionField[];
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=EvaluationDimension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluationDimension.d.ts","sourceRoot":"","sources":["../../../src/types/EvaluationDimension.ts"],"names":[],"mappings":"AAoCA,4CAA4C;AAC5C,MAAM,WAAW,wBAAwB;IACvC;6EACyE;IACzE,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd;4BACwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb;6CACyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,4CAA4C;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB;wDACoD;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB;IAC3C,uDAAuD;IACvD,EAAE,EAAE,MAAM,CAAC;IACX,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The evaluation dimensions register (smart TODO.roadmap/40 batch 3;
|
|
4
|
+
// the packages-as-SSOT epic) — the form-facing classification field
|
|
5
|
+
// schema (the dimension selector on the classification form; the fields
|
|
6
|
+
// seed the calculation context), first-class what
|
|
7
|
+
// evaluation-dimensions.yaml carries today:
|
|
8
|
+
//
|
|
9
|
+
// evaluation_dimensions evaluation { # singleton per rec
|
|
10
|
+
// label "Type of Testing"
|
|
11
|
+
// field technology {
|
|
12
|
+
// label "Technology"
|
|
13
|
+
// type string # integer | number | string | text |
|
|
14
|
+
// # boolean | date — parse-enforced
|
|
15
|
+
// enum technology # → classification dimension (C134)
|
|
16
|
+
// required true
|
|
17
|
+
// editable false
|
|
18
|
+
// setting MUST # MUST | SHALL | RECOMMEND | SHOULD |
|
|
19
|
+
// # MAY | OPTIONAL — parse-enforced
|
|
20
|
+
// multiple true # multi-select (r144)
|
|
21
|
+
// }
|
|
22
|
+
// }
|
|
23
|
+
//
|
|
24
|
+
// The name-vs-enum split is load-bearing: the field key is the
|
|
25
|
+
// form-facing name (an is_dimension attribute id — or r129's legacy
|
|
26
|
+
// camelCase, carried as-is per the owner decision) while `enum` names
|
|
27
|
+
// the classification dimension supplying the value space (r60's
|
|
28
|
+
// humidity_symbol field refs humidity_class). C134 resolves both,
|
|
29
|
+
// independently.
|
|
30
|
+
//
|
|
31
|
+
// `per_channel` gets NO facet here (the owner-settled single home):
|
|
32
|
+
// kernel `Instrument.perChannel` carries it, and the YAML projection
|
|
33
|
+
// derives evaluation_dimensions.per_channel from the instrument.
|
|
34
|
+
// The schema-declared-but-unused facets (unit, enum_values, default)
|
|
35
|
+
// get no PRL facet (the union rule).
|
|
36
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
//# sourceMappingURL=EvaluationDimension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluationDimension.js","sourceRoot":"","sources":["../../../src/types/EvaluationDimension.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,qEAAqE;AACrE,oEAAoE;AACpE,wEAAwE;AACxE,kDAAkD;AAClD,4CAA4C;AAC5C,EAAE;AACF,gEAAgE;AAChE,8BAA8B;AAC9B,yBAAyB;AACzB,2BAA2B;AAC3B,2EAA2E;AAC3E,wEAAwE;AACxE,0EAA0E;AAC1E,sBAAsB;AACtB,uBAAuB;AACvB,4EAA4E;AAC5E,wEAAwE;AACxE,4DAA4D;AAC5D,QAAQ;AACR,MAAM;AACN,EAAE;AACF,+DAA+D;AAC/D,oEAAoE;AACpE,sEAAsE;AACtE,gEAAgE;AAChE,kEAAkE;AAClE,iBAAiB;AACjB,EAAE;AACF,oEAAoE;AACpE,qEAAqE;AACrE,iEAAiE;AACjE,qEAAqE;AACrE,qCAAqC;AACrC,wEAAwE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default interface EvaluationProfile {
|
|
2
|
+
/** Kebab-case profile id (class-a-digital-nh). */
|
|
3
|
+
id: string;
|
|
4
|
+
/** The dimension-value preset: dimension id → value id, in declared
|
|
5
|
+
* order (the byte contract keys dimension ids before description). */
|
|
6
|
+
dimensions: Record<string, string>;
|
|
7
|
+
/** What the profile selects. */
|
|
8
|
+
description: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=EvaluationProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluationProfile.d.ts","sourceRoot":"","sources":["../../../src/types/EvaluationProfile.ts"],"names":[],"mappings":"AAuBA,MAAM,CAAC,OAAO,WAAW,iBAAiB;IACxC,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAC;IACX;2EACuE;IACvE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,gCAAgC;IAChC,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The evaluation profile (smart TODO.roadmap/40 batch 3; the
|
|
4
|
+
// packages-as-SSOT epic) — a NAMED dimension-value preset selecting the
|
|
5
|
+
// applicable requirements/tests/calculations (the applicability
|
|
6
|
+
// machinery is a filter; this is the named preset over it):
|
|
7
|
+
//
|
|
8
|
+
// evaluation_profile class-a-digital-nh {
|
|
9
|
+
// dimensions { accuracy_class A technology digital humidity_class NH }
|
|
10
|
+
// description "Class A digital, no humidity test"
|
|
11
|
+
// }
|
|
12
|
+
//
|
|
13
|
+
// The dimensions map keys on DIMENSION ids (profiles select over
|
|
14
|
+
// dimensions) — NOT the evaluation-dimension FIELD names (r60: profile
|
|
15
|
+
// key humidity_class vs field name humidity_symbol); the two namespaces
|
|
16
|
+
// never mix. Optional per package: r91/r144 declare none, and no
|
|
17
|
+
// empty-register requirement exists.
|
|
18
|
+
//
|
|
19
|
+
// C135 evaluation-profile-coherence: every dimensions key resolves to a
|
|
20
|
+
// declared classification dimension and every value to one of that
|
|
21
|
+
// dimension's declared values (per-register gated; an OPEN dimension
|
|
22
|
+
// accepts any value) — the smart R4/R8 applicability mirror.
|
|
23
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
//# sourceMappingURL=EvaluationProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvaluationProfile.js","sourceRoot":"","sources":["../../../src/types/EvaluationProfile.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,6DAA6D;AAC7D,wEAAwE;AACxE,gEAAgE;AAChE,4DAA4D;AAC5D,EAAE;AACF,4CAA4C;AAC5C,2EAA2E;AAC3E,sDAAsD;AACtD,MAAM;AACN,EAAE;AACF,iEAAiE;AACjE,uEAAuE;AACvE,wEAAwE;AACxE,iEAAiE;AACjE,qCAAqC;AACrC,EAAE;AACF,wEAAwE;AACxE,mEAAmE;AACnE,qEAAqE;AACrE,6DAA6D;AAC7D,wEAAwE"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
export type GatewayKind = 'exclusive_gateway' | 'parallel_gateway';
|
|
2
|
+
/**
|
|
3
|
+
* One outgoing edge of an exclusive gateway (smart TODO.roadmap/40
|
|
4
|
+
* batch 5; the packages-as-SSOT epic — the workflow routing cascade):
|
|
5
|
+
* `edge <target-process-id> { condition "…" label "…" }`.
|
|
6
|
+
*
|
|
7
|
+
* Routing semantics: first match in declaration order wins (the
|
|
8
|
+
* process-flow-edge doctrine); the edge whose condition is the bare
|
|
9
|
+
* token `default` is the catch-all and RECOMMENDED last (C142 checks
|
|
10
|
+
* the discipline). The condition is an opaque quoted expression (OCL-ish
|
|
11
|
+
* classification predicates like "[accuracy_class] in ['C', 'D']") —
|
|
12
|
+
* never resolved kernel-side (the R26 field-resolution precedent).
|
|
13
|
+
*/
|
|
14
|
+
export interface GatewayEdge {
|
|
15
|
+
/** The target process id (resolves at check time, C142). */
|
|
16
|
+
target: string;
|
|
17
|
+
/** The routing condition ('default' = the catch-all edge). */
|
|
18
|
+
condition: string;
|
|
19
|
+
/** The printed edge label ('' = unlabeled). */
|
|
20
|
+
label: string;
|
|
21
|
+
}
|
|
2
22
|
export default interface Gateway {
|
|
3
23
|
id: string;
|
|
4
24
|
gatewayType: GatewayKind;
|
|
@@ -7,6 +27,8 @@ export default interface Gateway {
|
|
|
7
27
|
export interface ExclusiveGateway extends Gateway {
|
|
8
28
|
gatewayType: 'exclusive_gateway';
|
|
9
29
|
label: string;
|
|
30
|
+
/** The outgoing routing cascade (declaration order = match order). */
|
|
31
|
+
edges: GatewayEdge[];
|
|
10
32
|
}
|
|
11
33
|
export interface ParallelGateway extends Gateway {
|
|
12
34
|
gatewayType: 'parallel_gateway';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gateway.d.ts","sourceRoot":"","sources":["../../../src/types/Gateway.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG,kBAAkB,CAAC;AAEnE,MAAM,CAAC,OAAO,WAAW,OAAO;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,OAAO;IAC/C,WAAW,EAAE,mBAAmB,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Gateway.d.ts","sourceRoot":"","sources":["../../../src/types/Gateway.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG,kBAAkB,CAAC;AAEnE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,WAAW;IAC1B,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,OAAO;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,OAAO;IAC/C,WAAW,EAAE,mBAAmB,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,WAAW,EAAE,kBAAkB,CAAC;CACjC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SourceRef } from './Subject';
|
|
2
|
+
export default interface IdentitySlot {
|
|
3
|
+
/** Snake-case slot id (manufacturer, model_designation, …). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** The slot's short label (default spelling inline). */
|
|
6
|
+
label: string;
|
|
7
|
+
/** string | designation | serial | year | mark | map (parse-enforced;
|
|
8
|
+
* '' = undeclared). */
|
|
9
|
+
type: string;
|
|
10
|
+
/** marked-on-instrument | accompanying-document — the presentation
|
|
11
|
+
* channels (parse-enforced vocabulary; ≥1 — C130). */
|
|
12
|
+
presentation: string[];
|
|
13
|
+
/** True when the slot is optional content (the schema's `optional`). */
|
|
14
|
+
optional: boolean;
|
|
15
|
+
/** What the slot carries (default spelling inline). */
|
|
16
|
+
definition: string;
|
|
17
|
+
/** The metamodel realization token (identity-provenance.Manufacturer)
|
|
18
|
+
* — a dotted external-ontology citation, documentary, never resolved
|
|
19
|
+
* (the external-vocabulary skip precedent, smart R27). */
|
|
20
|
+
metamodelClass: string;
|
|
21
|
+
/** Clause-URN provenance (optional). */
|
|
22
|
+
source: SourceRef | null;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=IdentitySlot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentitySlot.d.ts","sourceRoot":"","sources":["../../../src/types/IdentitySlot.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,CAAC,OAAO,WAAW,YAAY;IACnC,+DAA+D;IAC/D,EAAE,EAAE,MAAM,CAAC;IACX,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd;4BACwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb;2DACuD;IACvD,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,wEAAwE;IACxE,QAAQ,EAAE,OAAO,CAAC;IAClB,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB;;+DAE2D;IAC3D,cAAc,EAAE,MAAM,CAAC;IACvB,wCAAwC;IACxC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC;CAC1B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The identity slot (smart TODO.roadmap/40 batch 3; the packages-as-
|
|
4
|
+
// SSOT epic; smart TODO.roadmap/47 subject enrichment) — the subject's
|
|
5
|
+
// DOCUMENTARY identity register (R 60-1, 6.2: the markings and
|
|
6
|
+
// accompanying-document entries), first-class what SubjectIs.metadata/
|
|
7
|
+
// provenance carry as free key/value pairs today:
|
|
8
|
+
//
|
|
9
|
+
// identity_slot manufacturer {
|
|
10
|
+
// label "Manufacturer's name or trade mark"
|
|
11
|
+
// type string # string | designation | serial |
|
|
12
|
+
// # year | mark | map — parse-enforced
|
|
13
|
+
// presentation { marked-on-instrument accompanying-document }
|
|
14
|
+
// optional true # optional flag
|
|
15
|
+
// definition "…"
|
|
16
|
+
// metamodel_class identity-provenance.Manufacturer # dotted token —
|
|
17
|
+
// # external ontology, documentary
|
|
18
|
+
// source { doc "urn:oiml:pub:r:60-1:2021" clause "6.2.1" }
|
|
19
|
+
// }
|
|
20
|
+
//
|
|
21
|
+
// Requirements bind to the slots as `model.identity.<slot>` (the smart
|
|
22
|
+
// R28 requirement-binding-targets mirror — C130). No quantities here: a
|
|
23
|
+
// marked quantity (E_max, v_min, …) stays an attribute_definition and
|
|
24
|
+
// is referenced, never redeclared (INV-3). The `presentation` facet
|
|
25
|
+
// realizes the location axis of the metamodel's Marking.items
|
|
26
|
+
// {content, location} pair (urn:ontology:mi:upper Module B
|
|
27
|
+
// identity-provenance): where the identity content is presented.
|
|
28
|
+
//
|
|
29
|
+
// Localized label/definition: the default spelling rides inline; the
|
|
30
|
+
// alternates ride l10n `text` blocks (the term/form precedent) and the
|
|
31
|
+
// projection re-joins.
|
|
32
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
//# sourceMappingURL=IdentitySlot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentitySlot.js","sourceRoot":"","sources":["../../../src/types/IdentitySlot.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,qEAAqE;AACrE,uEAAuE;AACvE,+DAA+D;AAC/D,uEAAuE;AACvE,kDAAkD;AAClD,EAAE;AACF,iCAAiC;AACjC,gDAAgD;AAChD,2EAA2E;AAC3E,8EAA8E;AAC9E,kEAAkE;AAClE,yDAAyD;AACzD,qBAAqB;AACrB,0EAA0E;AAC1E,0EAA0E;AAC1E,+DAA+D;AAC/D,MAAM;AACN,EAAE;AACF,uEAAuE;AACvE,wEAAwE;AACxE,sEAAsE;AACtE,oEAAoE;AACpE,8DAA8D;AAC9D,2DAA2D;AAC3D,iEAAiE;AACjE,EAAE;AACF,qEAAqE;AACrE,uEAAuE;AACvE,uBAAuB;AACvB,wEAAwE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SubjectPromise } from './Subject';
|
|
2
|
+
export default interface PromiseSet {
|
|
3
|
+
/** The owning subject's id (the set binds the subject). */
|
|
4
|
+
id: string;
|
|
5
|
+
/** The register's promises (the subject-promise sub-grammar). */
|
|
6
|
+
promises: SubjectPromise[];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=PromiseSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromiseSet.d.ts","sourceRoot":"","sources":["../../../src/types/PromiseSet.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,MAAM,CAAC,OAAO,WAAW,UAAU;IACjC,2DAA2D;IAC3D,EAAE,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,QAAQ,EAAE,cAAc,EAAE,CAAC;CAC5B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
3
|
+
// The promise set (smart TODO.roadmap/40 batch 3; the packages-as-SSOT
|
|
4
|
+
// epic) — the rec's promise REGISTER as a file-grade construct. The
|
|
5
|
+
// subject's is.promises block cannot span files (a same-id subject
|
|
6
|
+
// redeclaration in one package overwrites; mergeSubject is the
|
|
7
|
+
// extends-chain merge only), so the 46 rec promise registers
|
|
8
|
+
// (payload/promises.yaml, the verbatim-payload codec exclusion this
|
|
9
|
+
// construct retires) need their own file-level home:
|
|
10
|
+
//
|
|
11
|
+
// promise_set loadcell { # id = the owning subject
|
|
12
|
+
// promise e_max_values {
|
|
13
|
+
// target e_max
|
|
14
|
+
// statement "Maximum capacity E_max per model — …"
|
|
15
|
+
// certificate { # the print projection (C131)
|
|
16
|
+
// attribute e_max # XOR attribute | attributes
|
|
17
|
+
// # {…} | dimension | none
|
|
18
|
+
// type string
|
|
19
|
+
// label "E_max values"
|
|
20
|
+
// obligation mandatory # mandatory | optional —
|
|
21
|
+
// # parse-enforced
|
|
22
|
+
// }
|
|
23
|
+
// source { doc "urn:oiml:pub:r:60-1:2021" clause "3.5.5" }
|
|
24
|
+
// }
|
|
25
|
+
// }
|
|
26
|
+
//
|
|
27
|
+
// The promise sub-grammar is the subject's OWN (readPromiseEntry /
|
|
28
|
+
// dumpPromiseEntry, config/subject.ts) reused verbatim — level,
|
|
29
|
+
// conditions, verified_by and all. C42–C44 fire on the set's entries
|
|
30
|
+
// exactly as on subject promises (the set id binds the subject;
|
|
31
|
+
// characteristic resolution gates on that subject composing — the C58
|
|
32
|
+
// doctrine). C131 checks the certificate projection.
|
|
33
|
+
// ─────────────────────────────────────────────────────────────────────
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
//# sourceMappingURL=PromiseSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromiseSet.js","sourceRoot":"","sources":["../../../src/types/PromiseSet.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,uEAAuE;AACvE,oEAAoE;AACpE,mEAAmE;AACnE,+DAA+D;AAC/D,6DAA6D;AAC7D,oEAAoE;AACpE,qDAAqD;AACrD,EAAE;AACF,qEAAqE;AACrE,6BAA6B;AAC7B,qBAAqB;AACrB,yDAAyD;AACzD,yEAAyE;AACzE,wEAAwE;AACxE,oEAAoE;AACpE,sBAAsB;AACtB,+BAA+B;AAC/B,oEAAoE;AACpE,4DAA4D;AAC5D,UAAU;AACV,iEAAiE;AACjE,QAAQ;AACR,MAAM;AACN,EAAE;AACF,mEAAmE;AACnE,gEAAgE;AAChE,qEAAqE;AACrE,gEAAgE;AAChE,sEAAsE;AACtE,qDAAqD;AACrD,wEAAwE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/** The lab criterion's applicability condition. */
|
|
2
|
+
export interface LabSelectionAppliesWhen {
|
|
3
|
+
/** The model field the condition reads (attribute or dimension id —
|
|
4
|
+
* C139, gated). */
|
|
5
|
+
modelField: string;
|
|
6
|
+
/** The value set variant ([] when unused). */
|
|
7
|
+
in: string[];
|
|
8
|
+
/** The equality variant ('' when unused). */
|
|
9
|
+
equals: string;
|
|
10
|
+
/** The presence variant (null when unused). */
|
|
11
|
+
notNull: boolean | null;
|
|
12
|
+
}
|
|
13
|
+
/** The lab criterion's capability match. */
|
|
14
|
+
export interface LabSelectionMatch {
|
|
15
|
+
/** has_capability | capability_from_field | capability_covers_value |
|
|
16
|
+
* capability_prefix_match | always_pass (parse-enforced). */
|
|
17
|
+
operator: string;
|
|
18
|
+
/** has_capability's capability label ('' when unused). */
|
|
19
|
+
requiredCapability: string;
|
|
20
|
+
/** The prefix variants' capability prefix ('' when unused). */
|
|
21
|
+
requiredCapabilityPrefix: string;
|
|
22
|
+
/** The field-derived variants' model field (C139, gated). */
|
|
23
|
+
modelField: string;
|
|
24
|
+
/** capability_covers_value's lab-side prefix ('' when unused). */
|
|
25
|
+
labCapabilityPrefix: string;
|
|
26
|
+
}
|
|
27
|
+
export interface LabSelectionCriterion {
|
|
28
|
+
id: string;
|
|
29
|
+
/** required | preferred (parse-enforced; '' when unstated). */
|
|
30
|
+
weight: string;
|
|
31
|
+
/** dimension | parameter | operational (parse-enforced; '' when
|
|
32
|
+
* unstated). */
|
|
33
|
+
parameterType: string;
|
|
34
|
+
label: string;
|
|
35
|
+
description: string;
|
|
36
|
+
appliesWhen: LabSelectionAppliesWhen | null;
|
|
37
|
+
match: LabSelectionMatch | null;
|
|
38
|
+
}
|
|
39
|
+
export interface SampleSelectionRule {
|
|
40
|
+
/** May start with a digit (`7.1.2-…`) — quoted at emission when the
|
|
41
|
+
* bare-id grammar rejects it. */
|
|
42
|
+
id: string;
|
|
43
|
+
/** The source step reference — a heterogeneous free string. */
|
|
44
|
+
step: string;
|
|
45
|
+
rule: string;
|
|
46
|
+
rationale: string;
|
|
47
|
+
/** The prose predicate — never resolved. */
|
|
48
|
+
applicability: string;
|
|
49
|
+
/** The pseudo-code selector — never resolved. */
|
|
50
|
+
selector: string;
|
|
51
|
+
/** full_evaluation | partial_evaluation | deduplicate | humidity |
|
|
52
|
+
* digital_additional (parse-enforced; '' when unstated). */
|
|
53
|
+
testKind: string;
|
|
54
|
+
/** The single-sample flag (null when unstated — never canonicalizes
|
|
55
|
+
* to false). */
|
|
56
|
+
singleSample: boolean | null;
|
|
57
|
+
/** The additional-test notes, keyed by test id. */
|
|
58
|
+
additionalTests: Record<string, string>;
|
|
59
|
+
/** The post-condition prose ('' when unstated). */
|
|
60
|
+
post: string;
|
|
61
|
+
}
|
|
62
|
+
export interface SpecimenGovernanceRule {
|
|
63
|
+
id: string;
|
|
64
|
+
rule: string;
|
|
65
|
+
rationale: string;
|
|
66
|
+
/** The prose predicate — never resolved. */
|
|
67
|
+
applicability: string;
|
|
68
|
+
/** The OCL-ish constraint — documentary, never resolved. */
|
|
69
|
+
constraint: string;
|
|
70
|
+
/** The post-condition prose ('' when unstated). */
|
|
71
|
+
post: string;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=SelectionRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionRules.d.ts","sourceRoot":"","sources":["../../../src/types/SelectionRules.ts"],"names":[],"mappings":"AAqDA,mDAAmD;AACnD,MAAM,WAAW,uBAAuB;IACtC;wBACoB;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,EAAE,EAAE,MAAM,EAAE,CAAC;IACb,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,4CAA4C;AAC5C,MAAM,WAAW,iBAAiB;IAChC;kEAC8D;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,+DAA+D;IAC/D,wBAAwB,EAAE,MAAM,CAAC;IACjC,6DAA6D;IAC7D,UAAU,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf;qBACiB;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC5C,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,mBAAmB;IAClC;sCACkC;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB;iEAC6D;IAC7D,QAAQ,EAAE,MAAM,CAAC;IACjB;qBACiB;IACjB,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,mDAAmD;IACnD,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;CACd"}
|