@muonroi/ui-engine-rule-components 0.1.24 → 0.1.25
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.
|
@@ -60483,9 +60483,9 @@ const Tle = [
|
|
|
60483
60483
|
beforeLabel: "Before",
|
|
60484
60484
|
beforeText: "Hand-edit JSON or ask a developer to write rules.",
|
|
60485
60485
|
afterLabel: "With the platform",
|
|
60486
|
-
afterText: "
|
|
60487
|
-
linkPath: "/
|
|
60488
|
-
linkLabel: "
|
|
60486
|
+
afterText: "Place rule nodes on a visual canvas, wire them with drag-and-drop, and save a validated Draft — never auto-active. Approver activates separately.",
|
|
60487
|
+
linkPath: "/studio/:workflow",
|
|
60488
|
+
linkLabel: "Open Visual Studio"
|
|
60489
60489
|
},
|
|
60490
60490
|
{
|
|
60491
60491
|
id: "validate",
|
|
@@ -2194,7 +2194,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2194
2194
|
.uat-outcome--block {
|
|
2195
2195
|
color: var(--mu-color-error-text);
|
|
2196
2196
|
}
|
|
2197
|
-
`,E_([Ot({attribute:"api-base-url"})],vg.prototype,"apiBaseUrl",2),E_([Ot({attribute:"tenant-id"})],vg.prototype,"tenantId",2),E_([Ot({attribute:"workflow"})],vg.prototype,"workflow",2),E_([Ot({type:Number,attribute:"from-version"})],vg.prototype,"fromVersion",2),E_([Ot({type:Number,attribute:"to-version"})],vg.prototype,"toVersion",2),E_([on()],vg.prototype,"_data",2),E_([on()],vg.prototype,"_loading",2),E_([on()],vg.prototype,"_error",2),E_([on()],vg.prototype,"_apiClient",2),vg=E_([so("mu-impact-list")],vg);const Mrt=[{id:"elicit",label:"Elicit",icon:"💬",beforeLabel:"Before",beforeText:"Interview customers, write Word docs, lose context in email threads.",afterLabel:"With the platform",afterText:"Capture requirements as structured entities linked directly to rules — no manual re-entry.",linkPath:"/living-docs/:workflow",linkLabel:"View Living Docs",liveStateKey:"tracedCount"},{id:"specify",label:"Specify",icon:"✏️",beforeLabel:"Before",beforeText:"Hand-edit JSON or ask a developer to write rules.",afterLabel:"With the platform",afterText:"
|
|
2197
|
+
`,E_([Ot({attribute:"api-base-url"})],vg.prototype,"apiBaseUrl",2),E_([Ot({attribute:"tenant-id"})],vg.prototype,"tenantId",2),E_([Ot({attribute:"workflow"})],vg.prototype,"workflow",2),E_([Ot({type:Number,attribute:"from-version"})],vg.prototype,"fromVersion",2),E_([Ot({type:Number,attribute:"to-version"})],vg.prototype,"toVersion",2),E_([on()],vg.prototype,"_data",2),E_([on()],vg.prototype,"_loading",2),E_([on()],vg.prototype,"_error",2),E_([on()],vg.prototype,"_apiClient",2),vg=E_([so("mu-impact-list")],vg);const Mrt=[{id:"elicit",label:"Elicit",icon:"💬",beforeLabel:"Before",beforeText:"Interview customers, write Word docs, lose context in email threads.",afterLabel:"With the platform",afterText:"Capture requirements as structured entities linked directly to rules — no manual re-entry.",linkPath:"/living-docs/:workflow",linkLabel:"View Living Docs",liveStateKey:"tracedCount"},{id:"specify",label:"Specify",icon:"✏️",beforeLabel:"Before",beforeText:"Hand-edit JSON or ask a developer to write rules.",afterLabel:"With the platform",afterText:"Place rule nodes on a visual canvas, wire them with drag-and-drop, and save a validated Draft — never auto-active. Approver activates separately.",linkPath:"/studio/:workflow",linkLabel:"Open Visual Studio"},{id:"validate",label:"Validate",icon:"✅",beforeLabel:"Before",beforeText:"Manual desk-check; bugs found in production.",afterLabel:"With the platform",afterText:"Dry-run any fact bag against the rule graph; see traces + output facts instantly.",linkPath:"/dry-run",linkLabel:"Open Dry Run"},{id:"govern",label:"Govern",icon:"🛡️",beforeLabel:"Before",beforeText:"No approval trail; anyone could activate a rule change.",afterLabel:"With the platform",afterText:"Every draft requires a human approver (maker ≠ checker). Full audit trail.",linkPath:"/approvals",linkLabel:"Go to Approvals",liveStateKey:"pendingCount"},{id:"living-docs",label:"LivingDocs",icon:"📄",beforeLabel:"Before",beforeText:"Docs written once, drift immediately. Shared drives with stale Word files.",afterLabel:"With the platform",afterText:"Documentation regenerates automatically from the rule graph on every change — never drifts.",linkPath:"/living-docs/:workflow",linkLabel:"View Living Docs",liveStateKey:"activeVersion"},{id:"trace",label:"Trace",icon:"🔗",beforeLabel:"Before",beforeText:"No traceability: can’t answer ‘which rule covers requirement R?’",afterLabel:"With the platform",afterText:"Requirement ↔ rule ↔ code ↔ test matrix. Three-state coverage badge (unit test / dry-run example / none).",linkPath:"/living-docs/:workflow?tab=matrix",linkLabel:"View Traceability",liveStateKey:"untestedCount"}];var Prt=Object.defineProperty,Frt=Object.getOwnPropertyDescriptor,OS=(s,e,t,i)=>{for(var n=i>1?void 0:i?Frt(e,t):e,r=s.length-1,o;r>=0;r--)(o=s[r])&&(n=(i?o(e,t,n):o(n))||n);return i&&n&&Prt(e,t,n),n};let Ev=class extends Tr{constructor(){super(...arguments),this.workflow="",this.tenantId="",this.activeVersion=null,this.tracedCount=null,this.untestedCount=null,this.pendingCount=null}_navigate(s){const e=s.replace(":workflow",encodeURIComponent(this.workflow));this.dispatchEvent(new CustomEvent("journey-stage-navigate",{detail:{path:e},bubbles:!0,composed:!0}))}_liveValue(s){return s.liveStateKey?this[s.liveStateKey]:null}_renderStageCard(s){const e=this._liveValue(s),t=s.liveStateKey!==void 0?ot`<span class="stage-badge">${e===null?"N/A":e}</span>`:fs;return ot`
|
|
2198
2198
|
<div class="stage-card">
|
|
2199
2199
|
<div class="stage-header">
|
|
2200
2200
|
<span class="stage-icon" aria-hidden="true">${s.icon}</span>
|