@ind-ds/core 0.2.0 → 0.2.1

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.
Files changed (188) hide show
  1. package/dist/cjs/ind-ds.cjs.js +1 -1
  2. package/dist/cjs/ind-valve-control-panel.cjs.entry.js +7 -1
  3. package/dist/cjs/ind-valve-control-panel.cjs.entry.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/atoms/_equipment/equipment.css +0 -74
  6. package/dist/collection/components/atoms/alarm/alarm.css +0 -87
  7. package/dist/collection/components/atoms/alarm/alarm.js +0 -122
  8. package/dist/collection/components/atoms/alarm-count/alarm-count.css +0 -44
  9. package/dist/collection/components/atoms/alarm-count/alarm-count.js +0 -171
  10. package/dist/collection/components/atoms/badge/badge.css +0 -42
  11. package/dist/collection/components/atoms/badge/badge.js +0 -101
  12. package/dist/collection/components/atoms/breadcrumb-item/breadcrumb-item.css +0 -42
  13. package/dist/collection/components/atoms/breadcrumb-item/breadcrumb-item.js +0 -116
  14. package/dist/collection/components/atoms/button/button.css +0 -110
  15. package/dist/collection/components/atoms/button/button.js +0 -215
  16. package/dist/collection/components/atoms/canvas-layer/canvas-layer.css +0 -8
  17. package/dist/collection/components/atoms/canvas-layer/canvas-layer.js +0 -161
  18. package/dist/collection/components/atoms/checkbox/checkbox.css +0 -92
  19. package/dist/collection/components/atoms/checkbox/checkbox.js +0 -214
  20. package/dist/collection/components/atoms/compressor/compressor.css +0 -7
  21. package/dist/collection/components/atoms/compressor/compressor.js +0 -124
  22. package/dist/collection/components/atoms/connection-indicator/connection-indicator.css +0 -42
  23. package/dist/collection/components/atoms/connection-indicator/connection-indicator.js +0 -107
  24. package/dist/collection/components/atoms/conveyor/conveyor.css +0 -18
  25. package/dist/collection/components/atoms/conveyor/conveyor.js +0 -152
  26. package/dist/collection/components/atoms/cooler/cooler.css +0 -15
  27. package/dist/collection/components/atoms/cooler/cooler.js +0 -124
  28. package/dist/collection/components/atoms/counter/counter.css +0 -45
  29. package/dist/collection/components/atoms/counter/counter.js +0 -171
  30. package/dist/collection/components/atoms/datetime-picker/datetime-picker.css +0 -46
  31. package/dist/collection/components/atoms/datetime-picker/datetime-picker.js +0 -275
  32. package/dist/collection/components/atoms/dialog/dialog.css +0 -85
  33. package/dist/collection/components/atoms/dialog/dialog.js +0 -265
  34. package/dist/collection/components/atoms/divider/divider.css +0 -16
  35. package/dist/collection/components/atoms/divider/divider.js +0 -50
  36. package/dist/collection/components/atoms/estop/estop.css +0 -69
  37. package/dist/collection/components/atoms/estop/estop.js +0 -166
  38. package/dist/collection/components/atoms/fan/fan.css +0 -11
  39. package/dist/collection/components/atoms/fan/fan.js +0 -124
  40. package/dist/collection/components/atoms/gauge/gauge.css +0 -70
  41. package/dist/collection/components/atoms/gauge/gauge.js +0 -237
  42. package/dist/collection/components/atoms/heartbeat/heartbeat.css +0 -58
  43. package/dist/collection/components/atoms/heartbeat/heartbeat.js +0 -116
  44. package/dist/collection/components/atoms/heater/heater.css +0 -20
  45. package/dist/collection/components/atoms/heater/heater.js +0 -124
  46. package/dist/collection/components/atoms/icon/icon.css +0 -30
  47. package/dist/collection/components/atoms/icon/icon.js +0 -119
  48. package/dist/collection/components/atoms/input/input.css +0 -92
  49. package/dist/collection/components/atoms/knob/knob.css +0 -71
  50. package/dist/collection/components/atoms/label/label.css +0 -29
  51. package/dist/collection/components/atoms/led/led.css +0 -91
  52. package/dist/collection/components/atoms/linear-gauge/linear-gauge.css +0 -65
  53. package/dist/collection/components/atoms/motor/motor.css +0 -24
  54. package/dist/collection/components/atoms/pipe/pipe.css +0 -57
  55. package/dist/collection/components/atoms/process-symbol/process-symbol.css +0 -44
  56. package/dist/collection/components/atoms/progress/progress.css +0 -69
  57. package/dist/collection/components/atoms/progress-ring/progress-ring.css +0 -59
  58. package/dist/collection/components/atoms/pump/pump.css +0 -7
  59. package/dist/collection/components/atoms/scara-canvas/scara-canvas.css +0 -100
  60. package/dist/collection/components/atoms/select/select.css +0 -88
  61. package/dist/collection/components/atoms/selector-switch/selector-switch.css +0 -53
  62. package/dist/collection/components/atoms/setpoint/setpoint.css +0 -79
  63. package/dist/collection/components/atoms/shelf-canvas/shelf-canvas.css +0 -67
  64. package/dist/collection/components/atoms/signal-quality/signal-quality.css +0 -41
  65. package/dist/collection/components/atoms/silo/silo.css +0 -12
  66. package/dist/collection/components/atoms/slider/slider.css +0 -87
  67. package/dist/collection/components/atoms/sparkline/sparkline.css +0 -37
  68. package/dist/collection/components/atoms/status-dot/status-dot.css +0 -69
  69. package/dist/collection/components/atoms/tab/tab.css +0 -39
  70. package/dist/collection/components/atoms/tag-name/tag-name.css +0 -25
  71. package/dist/collection/components/atoms/tank/tank.css +0 -12
  72. package/dist/collection/components/atoms/textarea/textarea.css +0 -74
  73. package/dist/collection/components/atoms/timestamp/timestamp.css +0 -15
  74. package/dist/collection/components/atoms/toggle/toggle.css +0 -78
  75. package/dist/collection/components/atoms/tree-node/tree-node.css +0 -65
  76. package/dist/collection/components/atoms/unit-label/unit-label.css +0 -16
  77. package/dist/collection/components/atoms/value/value.css +0 -115
  78. package/dist/collection/components/atoms/valve/valve.css +0 -101
  79. package/dist/collection/components/atoms/xy-point/xy-point.css +0 -49
  80. package/dist/collection/components/molecules/_shared/binding.css +0 -41
  81. package/dist/collection/components/molecules/_shared/card.css +0 -51
  82. package/dist/collection/components/molecules/_shared/equipment-card.css +0 -20
  83. package/dist/collection/components/molecules/_shared/row.css +0 -34
  84. package/dist/collection/components/molecules/alarm-badge-group/alarm-badge-group.css +0 -43
  85. package/dist/collection/components/molecules/alarm-badge-group/alarm-badge-group.js +0 -168
  86. package/dist/collection/components/molecules/alarm-row/alarm-row.css +0 -42
  87. package/dist/collection/components/molecules/alarm-row/alarm-row.js +0 -166
  88. package/dist/collection/components/molecules/audit-row/audit-row.css +0 -19
  89. package/dist/collection/components/molecules/audit-row/audit-row.js +0 -111
  90. package/dist/collection/components/molecules/batch-parameter-row/batch-parameter-row.css +0 -35
  91. package/dist/collection/components/molecules/batch-parameter-row/batch-parameter-row.js +0 -304
  92. package/dist/collection/components/molecules/command-group/command-group.css +0 -26
  93. package/dist/collection/components/molecules/command-group/command-group.js +0 -99
  94. package/dist/collection/components/molecules/device-connection-card/device-connection-card.css +0 -19
  95. package/dist/collection/components/molecules/device-connection-card/device-connection-card.js +0 -140
  96. package/dist/collection/components/molecules/device-info-card/device-info-card.css +0 -27
  97. package/dist/collection/components/molecules/device-info-card/device-info-card.js +0 -194
  98. package/dist/collection/components/molecules/energy-card/energy-card.css +0 -12
  99. package/dist/collection/components/molecules/energy-card/energy-card.js +0 -206
  100. package/dist/collection/components/molecules/equipment-status-card/equipment-status-card.css +0 -29
  101. package/dist/collection/components/molecules/equipment-status-card/equipment-status-card.js +0 -150
  102. package/dist/collection/components/molecules/event-row/event-row.css +0 -3
  103. package/dist/collection/components/molecules/event-row/event-row.js +0 -118
  104. package/dist/collection/components/molecules/fill-row/fill-row.css +0 -70
  105. package/dist/collection/components/molecules/fill-row/fill-row.js +0 -181
  106. package/dist/collection/components/molecules/health-card/health-card.css +0 -53
  107. package/dist/collection/components/molecules/health-card/health-card.js +0 -124
  108. package/dist/collection/components/molecules/historical-value-row/historical-value-row.css +0 -28
  109. package/dist/collection/components/molecules/historical-value-row/historical-value-row.js +0 -153
  110. package/dist/collection/components/molecules/kpi-card/kpi-card.css +0 -31
  111. package/dist/collection/components/molecules/mode-selector/mode-selector.css +0 -4
  112. package/dist/collection/components/molecules/motor-card/motor-card.css +0 -3
  113. package/dist/collection/components/molecules/mqtt-tag-binding/mqtt-tag-binding.css +0 -3
  114. package/dist/collection/components/molecules/nav-item/nav-item.css +0 -82
  115. package/dist/collection/components/molecules/network-status-card/network-status-card.css +0 -31
  116. package/dist/collection/components/molecules/opcua-tag-binding/opcua-tag-binding.css +0 -7
  117. package/dist/collection/components/molecules/pump-card/pump-card.css +0 -3
  118. package/dist/collection/components/molecules/recipe-selector/recipe-selector.css +0 -13
  119. package/dist/collection/components/molecules/setpoint-control/setpoint-control.css +0 -3
  120. package/dist/collection/components/molecules/sidebar-group/sidebar-group.css +0 -61
  121. package/dist/collection/components/molecules/speed-control/speed-control.css +0 -7
  122. package/dist/collection/components/molecules/start-stop-control/start-stop-control.css +0 -24
  123. package/dist/collection/components/molecules/tag-card/tag-card.css +0 -7
  124. package/dist/collection/components/molecules/tank-level-card/tank-level-card.css +0 -7
  125. package/dist/collection/components/molecules/temperature-control/temperature-control.css +0 -15
  126. package/dist/collection/components/molecules/toolbar-action/toolbar-action.css +0 -36
  127. package/dist/collection/components/molecules/trend-widget/trend-widget.css +0 -15
  128. package/dist/collection/components/molecules/valve-card/valve-card.css +0 -13
  129. package/dist/collection/components/organisms/_shared/control-panel.css +0 -15
  130. package/dist/collection/components/organisms/_shared/panel.css +0 -96
  131. package/dist/collection/components/organisms/alarm-panel/alarm-panel.css +0 -7
  132. package/dist/collection/components/organisms/alarm-panel/alarm-panel.js +0 -152
  133. package/dist/collection/components/organisms/alarm-summary/alarm-summary.css +0 -30
  134. package/dist/collection/components/organisms/alarm-summary/alarm-summary.js +0 -158
  135. package/dist/collection/components/organisms/app-header/app-header.css +0 -127
  136. package/dist/collection/components/organisms/app-header/app-header.js +0 -256
  137. package/dist/collection/components/organisms/asset-overview/asset-overview.css +0 -34
  138. package/dist/collection/components/organisms/asset-overview/asset-overview.js +0 -82
  139. package/dist/collection/components/organisms/batch-control-panel/batch-control-panel.css +0 -45
  140. package/dist/collection/components/organisms/batch-control-panel/batch-control-panel.js +0 -226
  141. package/dist/collection/components/organisms/command-center/command-center.css +0 -7
  142. package/dist/collection/components/organisms/command-center/command-center.js +0 -70
  143. package/dist/collection/components/organisms/context-toolbar/context-toolbar.css +0 -48
  144. package/dist/collection/components/organisms/context-toolbar/context-toolbar.js +0 -70
  145. package/dist/collection/components/organisms/device-diagnostics-panel/device-diagnostics-panel.css +0 -43
  146. package/dist/collection/components/organisms/device-diagnostics-panel/device-diagnostics-panel.js +0 -222
  147. package/dist/collection/components/organisms/energy-dashboard/energy-dashboard.css +0 -29
  148. package/dist/collection/components/organisms/energy-dashboard/energy-dashboard.js +0 -134
  149. package/dist/collection/components/organisms/equipment-dashboard/equipment-dashboard.css +0 -3
  150. package/dist/collection/components/organisms/equipment-dashboard/equipment-dashboard.js +0 -71
  151. package/dist/collection/components/organisms/event-journal/event-journal.css +0 -17
  152. package/dist/collection/components/organisms/event-journal/event-journal.js +0 -107
  153. package/dist/collection/components/organisms/firmware-update-panel/firmware-update-panel.css +0 -47
  154. package/dist/collection/components/organisms/firmware-update-panel/firmware-update-panel.js +0 -208
  155. package/dist/collection/components/organisms/historian-viewer/historian-viewer.css +0 -17
  156. package/dist/collection/components/organisms/historian-viewer/historian-viewer.js +0 -144
  157. package/dist/collection/components/organisms/machine-overview/machine-overview.css +0 -22
  158. package/dist/collection/components/organisms/maintenance-dashboard/maintenance-dashboard.css +0 -48
  159. package/dist/collection/components/organisms/motor-control-panel/motor-control-panel.css +0 -3
  160. package/dist/collection/components/organisms/mqtt-monitor/mqtt-monitor.css +0 -96
  161. package/dist/collection/components/organisms/oee-dashboard/oee-dashboard.css +0 -30
  162. package/dist/collection/components/organisms/process-control-panel/process-control-panel.css +0 -13
  163. package/dist/collection/components/organisms/production-cell/production-cell.css +0 -7
  164. package/dist/collection/components/organisms/production-dashboard/production-dashboard.css +0 -3
  165. package/dist/collection/components/organisms/production-line-overview/production-line-overview.css +0 -57
  166. package/dist/collection/components/organisms/pump-control-panel/pump-control-panel.css +0 -3
  167. package/dist/collection/components/organisms/recipe-management-panel/recipe-management-panel.css +0 -10
  168. package/dist/collection/components/organisms/sidebar-nav/sidebar-nav.css +0 -39
  169. package/dist/collection/components/organisms/status-bar/status-bar.css +0 -34
  170. package/dist/collection/components/organisms/trend-viewer/trend-viewer.css +0 -45
  171. package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.css +0 -10
  172. package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.js +67 -1
  173. package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.js.map +1 -1
  174. package/dist/collection/components/organisms/workstation-monitor/workstation-monitor.css +0 -30
  175. package/dist/components/ind-valve-control-panel.js +1 -1
  176. package/dist/components/ind-valve-control-panel.js.map +1 -1
  177. package/dist/docs.json +88 -1
  178. package/dist/esm/ind-ds.js +1 -1
  179. package/dist/esm/ind-valve-control-panel.entry.js +7 -1
  180. package/dist/esm/ind-valve-control-panel.entry.js.map +1 -1
  181. package/dist/esm/loader.js +1 -1
  182. package/dist/ind-ds/ind-ds.esm.js +1 -1
  183. package/dist/ind-ds/{p-eac22c88.entry.js → p-69ac33af.entry.js} +2 -2
  184. package/dist/ind-ds/p-69ac33af.entry.js.map +1 -0
  185. package/dist/types/components/organisms/valve-control-panel/valve-control-panel.d.ts +6 -0
  186. package/dist/types/components.d.ts +33 -0
  187. package/package.json +2 -2
  188. package/dist/ind-ds/p-eac22c88.entry.js.map +0 -1
@@ -1,45 +0,0 @@
1
- :host {
2
- min-width: 320px;
3
- }
4
-
5
- ind-progress {
6
- width: 100%;
7
- }
8
-
9
- .phase {
10
- display: flex;
11
- align-items: baseline;
12
- gap: var(--ind-spacing-3, 6px);
13
- }
14
-
15
- .phase-label {
16
- font-size: var(--ind-font-size-xs, 10px);
17
- text-transform: uppercase;
18
- letter-spacing: 0.06em;
19
- color: var(--ind-surface-text-muted);
20
- }
21
-
22
- .phase-name {
23
- font-size: var(--ind-font-size-md, 13px);
24
- font-weight: var(--ind-font-weight-semibold, 600);
25
- }
26
-
27
- .state {
28
- font-size: var(--ind-font-size-sm, 11px);
29
- font-weight: var(--ind-font-weight-bold, 700);
30
- padding: 2px 8px;
31
- border-radius: var(--ind-radius-full, 9999px);
32
- background: var(--ind-surface-raised);
33
- }
34
-
35
- .state-running { color: var(--ind-state-running-bg, #16a34a); }
36
- .state-held { color: var(--ind-state-warning-bg, #f59e0b); }
37
- .state-fault { color: var(--ind-state-fault-bg, #dc2626); }
38
- .state-complete { color: var(--ind-color-palette-cyan-300, #22d3ee); }
39
-
40
- .params {
41
- display: flex;
42
- flex-direction: column;
43
- border: 1px solid var(--ind-surface-border-subtle);
44
- border-radius: var(--ind-radius-sm, 2px);
45
- }
@@ -1,226 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- const STATE_LABEL = {
3
- idle: 'Idle',
4
- running: 'Running',
5
- held: 'Held',
6
- complete: 'Complete',
7
- fault: 'Fault',
8
- };
9
- /**
10
- * Batch / phase control panel: current phase + progress, Start / Hold / Stop
11
- * commands and the active parameter set.
12
- */
13
- export class IndBatchControlPanel {
14
- heading = 'Batch control';
15
- /** Batch / lot identifier. */
16
- batchId;
17
- /** Current phase / step name. */
18
- phase;
19
- /** Batch state — drives the badge. */
20
- state = 'idle';
21
- /** Phase progress 0–100 %. */
22
- progress = 0;
23
- /** Active parameters. */
24
- parameters = [];
25
- indStart;
26
- indHold;
27
- indStop;
28
- render() {
29
- const running = this.state === 'running';
30
- const progressVariant = this.state === 'fault' ? 'error' : this.state === 'held' ? 'warning' : 'default';
31
- return (h(Host, { key: '360352d8819d7d5a116b3e92d326dd673514b491' }, h("div", { key: '93b95f77983940a84936e7cc583b5df407ced82a', class: "panel-head" }, h("div", { key: 'd7e2993d2d9eac492ef60c37bcb9ae5b78507ec8', class: "panel-titles" }, h("span", { key: '8ccbe6dce41a8cb66066141b15ca7f04ead1a713', class: "panel-title", part: "heading" }, this.heading), this.batchId && h("span", { key: '69d40b525971ada02d15e907cf4652974acab222', class: "panel-subtitle" }, "Batch ", this.batchId)), h("span", { key: 'd36e094bb538c5b391e22e5da32dbcedaa86f19b', class: `state state-${this.state}`, part: "state" }, STATE_LABEL[this.state])), h("div", { key: '8dcf054cccc1831150cf938d429074f0e8fc32e2', class: "panel-body" }, this.phase && (h("div", { key: '9ec2cb3823c53a76242d7aa40510954f6f1779d3', class: "phase", part: "phase" }, h("span", { key: 'fe72a704ec0933d79c9e4e3dab55cf7a1cfedbdc', class: "phase-label" }, "Phase"), h("span", { key: 'b1bd64a6de46e6c647da7a9902cb9348fcb7a479', class: "phase-name" }, this.phase))), h("ind-progress", { key: '27b250908786d280b3c845c5c6d1131be306b62e', value: this.progress, max: 100, variant: progressVariant, size: "md", "show-value": true }), h("ind-command-group", { key: '0739bc80b204905295ee82feadeaf2c571a975d1', label: "Batch commands" }, h("ind-button", { key: 'bd06dcc9d3d6793acd0fd89dffaa96511fbd7dc7', variant: "primary", size: "sm", label: "Start", disabled: running, onIndActivate: () => this.indStart.emit() }), h("ind-button", { key: 'b63daaaaa133f1c1b46abd192e7efe95ae13ea9f', variant: "default", size: "sm", label: "Hold", disabled: !running, onIndActivate: () => this.indHold.emit() }), h("ind-button", { key: '4086f63667d7a16460e676721887ac6bb6b8d19f', variant: "danger", size: "sm", label: "Stop", disabled: this.state === 'idle', onIndActivate: () => this.indStop.emit() })), this.parameters.length > 0 && (h("div", { key: 'c261467ad480e31dc519cb462cf911fe062d0337', class: "params", part: "params" }, this.parameters.map((p, i) => (h("ind-batch-parameter-row", { key: i, label: p.label, value: p.value, unit: p.unit, target: p.target, disabled: true }))))))));
32
- }
33
- static get is() { return "ind-batch-control-panel"; }
34
- static get encapsulation() { return "shadow"; }
35
- static get originalStyleUrls() {
36
- return {
37
- "$": ["../_shared/panel.css", "batch-control-panel.css"]
38
- };
39
- }
40
- static get styleUrls() {
41
- return {
42
- "$": ["../_shared/panel.css", "batch-control-panel.css"]
43
- };
44
- }
45
- static get properties() {
46
- return {
47
- "heading": {
48
- "type": "string",
49
- "mutable": false,
50
- "complexType": {
51
- "original": "string",
52
- "resolved": "string",
53
- "references": {}
54
- },
55
- "required": false,
56
- "optional": false,
57
- "docs": {
58
- "tags": [],
59
- "text": ""
60
- },
61
- "getter": false,
62
- "setter": false,
63
- "reflect": false,
64
- "attribute": "heading",
65
- "defaultValue": "'Batch control'"
66
- },
67
- "batchId": {
68
- "type": "string",
69
- "mutable": false,
70
- "complexType": {
71
- "original": "string",
72
- "resolved": "string | undefined",
73
- "references": {}
74
- },
75
- "required": false,
76
- "optional": true,
77
- "docs": {
78
- "tags": [],
79
- "text": "Batch / lot identifier."
80
- },
81
- "getter": false,
82
- "setter": false,
83
- "reflect": false,
84
- "attribute": "batch-id"
85
- },
86
- "phase": {
87
- "type": "string",
88
- "mutable": false,
89
- "complexType": {
90
- "original": "string",
91
- "resolved": "string | undefined",
92
- "references": {}
93
- },
94
- "required": false,
95
- "optional": true,
96
- "docs": {
97
- "tags": [],
98
- "text": "Current phase / step name."
99
- },
100
- "getter": false,
101
- "setter": false,
102
- "reflect": false,
103
- "attribute": "phase"
104
- },
105
- "state": {
106
- "type": "string",
107
- "mutable": false,
108
- "complexType": {
109
- "original": "BatchState",
110
- "resolved": "\"complete\" | \"fault\" | \"held\" | \"idle\" | \"running\"",
111
- "references": {
112
- "BatchState": {
113
- "location": "local",
114
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/organisms/batch-control-panel/batch-control-panel.tsx",
115
- "id": "src/components/organisms/batch-control-panel/batch-control-panel.tsx::BatchState"
116
- }
117
- }
118
- },
119
- "required": false,
120
- "optional": false,
121
- "docs": {
122
- "tags": [],
123
- "text": "Batch state \u2014 drives the badge."
124
- },
125
- "getter": false,
126
- "setter": false,
127
- "reflect": true,
128
- "attribute": "state",
129
- "defaultValue": "'idle'"
130
- },
131
- "progress": {
132
- "type": "number",
133
- "mutable": false,
134
- "complexType": {
135
- "original": "number",
136
- "resolved": "number",
137
- "references": {}
138
- },
139
- "required": false,
140
- "optional": false,
141
- "docs": {
142
- "tags": [],
143
- "text": "Phase progress 0\u2013100 %."
144
- },
145
- "getter": false,
146
- "setter": false,
147
- "reflect": false,
148
- "attribute": "progress",
149
- "defaultValue": "0"
150
- },
151
- "parameters": {
152
- "type": "unknown",
153
- "mutable": false,
154
- "complexType": {
155
- "original": "BatchParam[]",
156
- "resolved": "BatchParam[]",
157
- "references": {
158
- "BatchParam": {
159
- "location": "local",
160
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/organisms/batch-control-panel/batch-control-panel.tsx",
161
- "id": "src/components/organisms/batch-control-panel/batch-control-panel.tsx::BatchParam"
162
- }
163
- }
164
- },
165
- "required": false,
166
- "optional": false,
167
- "docs": {
168
- "tags": [],
169
- "text": "Active parameters."
170
- },
171
- "getter": false,
172
- "setter": false,
173
- "defaultValue": "[]"
174
- }
175
- };
176
- }
177
- static get events() {
178
- return [{
179
- "method": "indStart",
180
- "name": "indStart",
181
- "bubbles": true,
182
- "cancelable": true,
183
- "composed": true,
184
- "docs": {
185
- "tags": [],
186
- "text": ""
187
- },
188
- "complexType": {
189
- "original": "void",
190
- "resolved": "void",
191
- "references": {}
192
- }
193
- }, {
194
- "method": "indHold",
195
- "name": "indHold",
196
- "bubbles": true,
197
- "cancelable": true,
198
- "composed": true,
199
- "docs": {
200
- "tags": [],
201
- "text": ""
202
- },
203
- "complexType": {
204
- "original": "void",
205
- "resolved": "void",
206
- "references": {}
207
- }
208
- }, {
209
- "method": "indStop",
210
- "name": "indStop",
211
- "bubbles": true,
212
- "cancelable": true,
213
- "composed": true,
214
- "docs": {
215
- "tags": [],
216
- "text": ""
217
- },
218
- "complexType": {
219
- "original": "void",
220
- "resolved": "void",
221
- "references": {}
222
- }
223
- }];
224
- }
225
- }
226
- //# sourceMappingURL=batch-control-panel.js.map
@@ -1,7 +0,0 @@
1
- :host {
2
- min-width: 360px;
3
- }
4
-
5
- .panel-grid ::slotted(ind-button) {
6
- width: 100%;
7
- }
@@ -1,70 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- /**
3
- * Command center: a grid palette of command buttons / command groups for an
4
- * operator landing page or a quick-action overlay. Slot the commands in.
5
- */
6
- export class IndCommandCenter {
7
- heading = 'Commands';
8
- /** Number of grid columns. */
9
- columns = 3;
10
- render() {
11
- return (h(Host, { key: '0e940307c0d90ba04dbc0f76d64719da1de05645' }, h("div", { key: '9d1f55e83a5ef6349ce9aca43e160a33498f632d', class: "panel-head" }, h("span", { key: '8528df0fbc7392610f97065563f11ced38671ecb', class: "panel-title", part: "heading" }, this.heading), h("div", { key: '2a40df00eeb14acc6e826b0598197610a0b66c32', class: "panel-actions" }, h("slot", { key: '94651051f0ce2c1b623b40a415684beeb15992cd', name: "actions" }))), h("div", { key: 'e59a5ac82ad66bc57f25b85e3183624d1b595066', class: "panel-grid", part: "grid", style: { gridTemplateColumns: `repeat(${this.columns}, minmax(0, 1fr))` } }, h("slot", { key: '9e771be3149a0a349c5933fbd3498e005ab78158' }))));
12
- }
13
- static get is() { return "ind-command-center"; }
14
- static get encapsulation() { return "shadow"; }
15
- static get originalStyleUrls() {
16
- return {
17
- "$": ["../_shared/panel.css", "command-center.css"]
18
- };
19
- }
20
- static get styleUrls() {
21
- return {
22
- "$": ["../_shared/panel.css", "command-center.css"]
23
- };
24
- }
25
- static get properties() {
26
- return {
27
- "heading": {
28
- "type": "string",
29
- "mutable": false,
30
- "complexType": {
31
- "original": "string",
32
- "resolved": "string",
33
- "references": {}
34
- },
35
- "required": false,
36
- "optional": false,
37
- "docs": {
38
- "tags": [],
39
- "text": ""
40
- },
41
- "getter": false,
42
- "setter": false,
43
- "reflect": false,
44
- "attribute": "heading",
45
- "defaultValue": "'Commands'"
46
- },
47
- "columns": {
48
- "type": "number",
49
- "mutable": false,
50
- "complexType": {
51
- "original": "number",
52
- "resolved": "number",
53
- "references": {}
54
- },
55
- "required": false,
56
- "optional": false,
57
- "docs": {
58
- "tags": [],
59
- "text": "Number of grid columns."
60
- },
61
- "getter": false,
62
- "setter": false,
63
- "reflect": false,
64
- "attribute": "columns",
65
- "defaultValue": "3"
66
- }
67
- };
68
- }
69
- }
70
- //# sourceMappingURL=command-center.js.map
@@ -1,48 +0,0 @@
1
- :host {
2
- display: flex;
3
- align-items: center;
4
- gap: var(--ind-spacing-4, 8px);
5
- padding: var(--ind-spacing-3, 6px) var(--ind-spacing-5, 12px);
6
- background: var(--ind-surface-panel);
7
- border-bottom: 1px solid var(--ind-surface-border-default);
8
- font-family: var(--ind-font-family-sans);
9
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
10
- box-sizing: border-box;
11
- min-height: 38px;
12
- }
13
-
14
- .breadcrumb {
15
- display: inline-flex;
16
- align-items: center;
17
- gap: var(--ind-spacing-2, 4px);
18
- }
19
-
20
- .breadcrumb:empty {
21
- display: none;
22
- }
23
-
24
- .titles {
25
- display: flex;
26
- align-items: baseline;
27
- gap: var(--ind-spacing-3, 6px);
28
- }
29
-
30
- .title {
31
- font-size: var(--ind-font-size-lg, 14px);
32
- font-weight: var(--ind-font-weight-semibold, 600);
33
- }
34
-
35
- .subtitle {
36
- font-size: var(--ind-font-size-sm, 11px);
37
- color: var(--ind-surface-text-muted, light-dark(#5a6776, #8390a0));
38
- }
39
-
40
- .spacer {
41
- flex: 1 1 auto;
42
- }
43
-
44
- .actions {
45
- display: inline-flex;
46
- align-items: center;
47
- gap: var(--ind-spacing-3, 6px);
48
- }
@@ -1,70 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- /**
3
- * Contextual toolbar that sits below the app header: current view title (with
4
- * optional breadcrumb slot) on the left and contextual command buttons on the
5
- * right via the `actions` slot.
6
- */
7
- export class IndContextToolbar {
8
- /** Current view title. */
9
- heading;
10
- /** Secondary context line. */
11
- subtitle;
12
- render() {
13
- return (h(Host, { key: 'a9302d86369c895379721464d9d34a4e1eb4b51d', role: "toolbar" }, h("span", { key: '74c7eb1387b559dfb0887d79668a3fb618666b1c', class: "breadcrumb", part: "breadcrumb" }, h("slot", { key: '5a3e0b0d88a6b57843b0cff7e34dfcfe68347863', name: "breadcrumb" })), (this.heading || this.subtitle) && (h("div", { key: '9107f282eac897052bbccb930a88d84601477c82', class: "titles", part: "titles" }, this.heading && h("span", { key: '6520511d7296e7353e4ac5fde3355fd6731ba8af', class: "title" }, this.heading), this.subtitle && h("span", { key: '089fa093f744c1b365671f7578b71e6e5b2f8637', class: "subtitle" }, this.subtitle))), h("span", { key: '65d9a6a58f4b00fde695b419adc06b340854d305', class: "spacer" }), h("div", { key: 'eefc07c418165ace1d4532ea3035f224ae0ffbb6', class: "actions", part: "actions" }, h("slot", { key: '3b0d55e1bb6c71dc063a8b815d8f32695c524ea2', name: "actions" })), h("slot", { key: '751f2e3f4b3a209a85f3c73a570bee89612b1806' })));
14
- }
15
- static get is() { return "ind-context-toolbar"; }
16
- static get encapsulation() { return "shadow"; }
17
- static get originalStyleUrls() {
18
- return {
19
- "$": ["context-toolbar.css"]
20
- };
21
- }
22
- static get styleUrls() {
23
- return {
24
- "$": ["context-toolbar.css"]
25
- };
26
- }
27
- static get properties() {
28
- return {
29
- "heading": {
30
- "type": "string",
31
- "mutable": false,
32
- "complexType": {
33
- "original": "string",
34
- "resolved": "string | undefined",
35
- "references": {}
36
- },
37
- "required": false,
38
- "optional": true,
39
- "docs": {
40
- "tags": [],
41
- "text": "Current view title."
42
- },
43
- "getter": false,
44
- "setter": false,
45
- "reflect": false,
46
- "attribute": "heading"
47
- },
48
- "subtitle": {
49
- "type": "string",
50
- "mutable": false,
51
- "complexType": {
52
- "original": "string",
53
- "resolved": "string | undefined",
54
- "references": {}
55
- },
56
- "required": false,
57
- "optional": true,
58
- "docs": {
59
- "tags": [],
60
- "text": "Secondary context line."
61
- },
62
- "getter": false,
63
- "setter": false,
64
- "reflect": false,
65
- "attribute": "subtitle"
66
- }
67
- };
68
- }
69
- }
70
- //# sourceMappingURL=context-toolbar.js.map
@@ -1,43 +0,0 @@
1
- :host {
2
- min-width: 300px;
3
- }
4
-
5
- .panel-body > ind-device-info-card {
6
- border: 0;
7
- padding: 0;
8
- background: transparent;
9
- min-width: 0;
10
- }
11
-
12
- .metrics {
13
- display: grid;
14
- grid-template-columns: repeat(2, minmax(0, 1fr));
15
- gap: var(--ind-spacing-3, 6px);
16
- }
17
-
18
- .metric {
19
- display: flex;
20
- flex-direction: column;
21
- gap: 1px;
22
- padding: var(--ind-spacing-3, 6px);
23
- background: var(--ind-surface-sunken);
24
- border-radius: var(--ind-radius-sm, 2px);
25
- border-left: 2px solid var(--ind-surface-border-strong);
26
- }
27
-
28
- .metric-label {
29
- font-size: var(--ind-font-size-xs, 10px);
30
- text-transform: uppercase;
31
- letter-spacing: 0.04em;
32
- color: var(--ind-surface-text-muted);
33
- }
34
-
35
- .metric-value {
36
- font-family: var(--ind-font-family-mono);
37
- font-size: var(--ind-font-size-md, 13px);
38
- font-weight: var(--ind-font-weight-semibold, 600);
39
- }
40
-
41
- .metric-ok { border-left-color: var(--ind-state-running-bg, #16a34a); }
42
- .metric-warn { border-left-color: var(--ind-state-warning-bg, #f59e0b); }
43
- .metric-fault { border-left-color: var(--ind-state-fault-bg, #dc2626); }