@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,7 +0,0 @@
1
- :host([state="running"]) .spin {
2
- animation: ind-compressor-spin 1.2s linear infinite;
3
- }
4
-
5
- @keyframes ind-compressor-spin {
6
- to { transform: rotate(360deg); }
7
- }
@@ -1,124 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- export class IndCompressor {
3
- /** Process state. */
4
- state = 'stopped';
5
- /** Visual size. */
6
- size = 'md';
7
- /** Equipment tag (e.g. "K-401"). */
8
- tag;
9
- /** Human label. */
10
- label;
11
- render() {
12
- const name = this.label ?? this.tag ?? 'compressor';
13
- return (h(Host, { key: '177263a885e412e000fbc75ddfc64ada327237ed', role: "img", "aria-label": `${name} — ${this.state}` }, h("svg", { key: '3f61b41e05047ddc7919194573f9fde74f0669da', class: "symbol", viewBox: "0 0 48 36", "aria-hidden": "true" }, h("circle", { key: 'b878724289639bdc93d548cca9709020e89a6bc9', class: "body", cx: "20", cy: "18", r: "16" }), h("polygon", { key: 'e138a8bb432b20a78164ffd73dfff52dc50fdece', class: "accent", points: "10,8 30,14 30,22 10,28" }), h("g", { key: '5f2d983f2269d4d9af48cba1277c9e9701233d30', class: "spin", style: { transformOrigin: '20px 18px' } }, h("line", { key: '128d83535a477ea26d1f158c37d79b7f06434c3a', class: "stroke", x1: "20", y1: "6", x2: "20", y2: "30" }))), (this.tag || this.label) && (h("div", { key: '7a20496716daaa18f7c54c3548bf713cb0323157', class: "caption" }, this.tag && h("span", { key: '5f00781bcc9ad63a2b190001e4894185c8913159', class: "tag" }, this.tag), this.label && h("span", { key: '5a8fa6b2586eea7d75269f936fd08491a0ba9104', class: "label" }, this.label)))));
14
- }
15
- static get is() { return "ind-compressor"; }
16
- static get encapsulation() { return "shadow"; }
17
- static get originalStyleUrls() {
18
- return {
19
- "$": ["../_equipment/equipment.css", "compressor.css"]
20
- };
21
- }
22
- static get styleUrls() {
23
- return {
24
- "$": ["../_equipment/equipment.css", "compressor.css"]
25
- };
26
- }
27
- static get properties() {
28
- return {
29
- "state": {
30
- "type": "string",
31
- "mutable": false,
32
- "complexType": {
33
- "original": "EquipmentState",
34
- "resolved": "\"fault\" | \"maintenance\" | \"running\" | \"stopped\" | \"warning\"",
35
- "references": {
36
- "EquipmentState": {
37
- "location": "import",
38
- "path": "../_equipment/types",
39
- "id": "src/components/atoms/_equipment/types.ts::EquipmentState",
40
- "referenceLocation": "EquipmentState"
41
- }
42
- }
43
- },
44
- "required": false,
45
- "optional": false,
46
- "docs": {
47
- "tags": [],
48
- "text": "Process state."
49
- },
50
- "getter": false,
51
- "setter": false,
52
- "reflect": true,
53
- "attribute": "state",
54
- "defaultValue": "'stopped'"
55
- },
56
- "size": {
57
- "type": "string",
58
- "mutable": false,
59
- "complexType": {
60
- "original": "EquipmentSize",
61
- "resolved": "\"lg\" | \"md\" | \"sm\"",
62
- "references": {
63
- "EquipmentSize": {
64
- "location": "import",
65
- "path": "../_equipment/types",
66
- "id": "src/components/atoms/_equipment/types.ts::EquipmentSize",
67
- "referenceLocation": "EquipmentSize"
68
- }
69
- }
70
- },
71
- "required": false,
72
- "optional": false,
73
- "docs": {
74
- "tags": [],
75
- "text": "Visual size."
76
- },
77
- "getter": false,
78
- "setter": false,
79
- "reflect": true,
80
- "attribute": "size",
81
- "defaultValue": "'md'"
82
- },
83
- "tag": {
84
- "type": "string",
85
- "mutable": false,
86
- "complexType": {
87
- "original": "string",
88
- "resolved": "string | undefined",
89
- "references": {}
90
- },
91
- "required": false,
92
- "optional": true,
93
- "docs": {
94
- "tags": [],
95
- "text": "Equipment tag (e.g. \"K-401\")."
96
- },
97
- "getter": false,
98
- "setter": false,
99
- "reflect": false,
100
- "attribute": "tag"
101
- },
102
- "label": {
103
- "type": "string",
104
- "mutable": false,
105
- "complexType": {
106
- "original": "string",
107
- "resolved": "string | undefined",
108
- "references": {}
109
- },
110
- "required": false,
111
- "optional": true,
112
- "docs": {
113
- "tags": [],
114
- "text": "Human label."
115
- },
116
- "getter": false,
117
- "setter": false,
118
- "reflect": false,
119
- "attribute": "label"
120
- }
121
- };
122
- }
123
- }
124
- //# sourceMappingURL=compressor.js.map
@@ -1,42 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- align-items: center;
4
- gap: var(--ind-spacing-3, 6px);
5
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
6
- font-size: var(--ind-font-size-base, 12px);
7
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
8
- --_size: 9px;
9
- --_color: var(--ind-state-stopped-bg, #5a6776);
10
- }
11
-
12
- :host([size="sm"]) { --_size: 7px; font-size: var(--ind-font-size-sm, 11px); }
13
- :host([size="lg"]) { --_size: 12px; font-size: var(--ind-font-size-lg, 14px); }
14
-
15
- :host([state="connected"]) { --_color: var(--ind-state-running-bg, #16a34a); }
16
- :host([state="connecting"]) { --_color: var(--ind-state-warning-bg, #f59e0b); }
17
- :host([state="disconnected"]) { --_color: var(--ind-state-stopped-bg, #5a6776); }
18
- :host([state="error"]) { --_color: var(--ind-state-fault-bg, #dc2626); }
19
-
20
- .dot {
21
- width: var(--_size);
22
- height: var(--_size);
23
- border-radius: 50%;
24
- background: var(--_color);
25
- box-shadow: 0 0 6px color-mix(in srgb, var(--_color) 60%, transparent);
26
- flex: none;
27
- }
28
-
29
- :host([state="connecting"]) .dot,
30
- :host([state="error"]) .dot {
31
- animation: ind-conn-pulse 1s ease-in-out infinite;
32
- }
33
-
34
- .label { color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2)); }
35
-
36
- @keyframes ind-conn-pulse {
37
- 50% { opacity: 0.3; }
38
- }
39
-
40
- @media (prefers-reduced-motion: reduce) {
41
- .dot { animation: none !important; }
42
- }
@@ -1,107 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- const DEFAULT_LABELS = {
3
- connected: 'Connected',
4
- connecting: 'Connecting…',
5
- disconnected: 'Disconnected',
6
- error: 'Connection error',
7
- };
8
- export class IndConnectionIndicator {
9
- /** Connection state. */
10
- state = 'disconnected';
11
- /** Size. */
12
- size = 'md';
13
- /** Override the default text label. Pass an empty string to hide it. */
14
- label;
15
- render() {
16
- const text = this.label ?? DEFAULT_LABELS[this.state];
17
- return (h(Host, { key: '42395a93e3301c22b4ac46b10cd0f8c7fa6031c9', role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite', "aria-label": text || DEFAULT_LABELS[this.state] }, h("span", { key: 'de1b02ffe2b894be2920116d7bae1d8509fde2df', class: "dot", part: "dot", "aria-hidden": "true" }), text && h("span", { key: '7a081baef8e54a60e1440b74e7de597f1a818a62', class: "label", part: "label" }, text)));
18
- }
19
- static get is() { return "ind-connection-indicator"; }
20
- static get encapsulation() { return "shadow"; }
21
- static get originalStyleUrls() {
22
- return {
23
- "$": ["connection-indicator.css"]
24
- };
25
- }
26
- static get styleUrls() {
27
- return {
28
- "$": ["connection-indicator.css"]
29
- };
30
- }
31
- static get properties() {
32
- return {
33
- "state": {
34
- "type": "string",
35
- "mutable": false,
36
- "complexType": {
37
- "original": "ConnectionState",
38
- "resolved": "\"connected\" | \"connecting\" | \"disconnected\" | \"error\"",
39
- "references": {
40
- "ConnectionState": {
41
- "location": "local",
42
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/connection-indicator/connection-indicator.tsx",
43
- "id": "src/components/atoms/connection-indicator/connection-indicator.tsx::ConnectionState"
44
- }
45
- }
46
- },
47
- "required": false,
48
- "optional": false,
49
- "docs": {
50
- "tags": [],
51
- "text": "Connection state."
52
- },
53
- "getter": false,
54
- "setter": false,
55
- "reflect": true,
56
- "attribute": "state",
57
- "defaultValue": "'disconnected'"
58
- },
59
- "size": {
60
- "type": "string",
61
- "mutable": false,
62
- "complexType": {
63
- "original": "ConnectionSize",
64
- "resolved": "\"lg\" | \"md\" | \"sm\"",
65
- "references": {
66
- "ConnectionSize": {
67
- "location": "local",
68
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/connection-indicator/connection-indicator.tsx",
69
- "id": "src/components/atoms/connection-indicator/connection-indicator.tsx::ConnectionSize"
70
- }
71
- }
72
- },
73
- "required": false,
74
- "optional": false,
75
- "docs": {
76
- "tags": [],
77
- "text": "Size."
78
- },
79
- "getter": false,
80
- "setter": false,
81
- "reflect": true,
82
- "attribute": "size",
83
- "defaultValue": "'md'"
84
- },
85
- "label": {
86
- "type": "string",
87
- "mutable": false,
88
- "complexType": {
89
- "original": "string",
90
- "resolved": "string | undefined",
91
- "references": {}
92
- },
93
- "required": false,
94
- "optional": true,
95
- "docs": {
96
- "tags": [],
97
- "text": "Override the default text label. Pass an empty string to hide it."
98
- },
99
- "getter": false,
100
- "setter": false,
101
- "reflect": false,
102
- "attribute": "label"
103
- }
104
- };
105
- }
106
- }
107
- //# sourceMappingURL=connection-indicator.js.map
@@ -1,18 +0,0 @@
1
- .belt {
2
- fill: none;
3
- stroke: var(--_accent);
4
- stroke-width: 2;
5
- stroke-dasharray: 5 4;
6
- vector-effect: non-scaling-stroke;
7
- }
8
-
9
- :host([state="running"]) .belt {
10
- animation: ind-conveyor-move 0.6s linear infinite;
11
- }
12
- :host([state="running"][direction="reverse"]) .belt {
13
- animation-direction: reverse;
14
- }
15
-
16
- @keyframes ind-conveyor-move {
17
- to { stroke-dashoffset: -9; }
18
- }
@@ -1,152 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- export class IndConveyor {
3
- /** Process state. `running` animates the belt. */
4
- state = 'stopped';
5
- /** Belt travel direction. */
6
- direction = 'forward';
7
- /** Visual size. */
8
- size = 'md';
9
- /** Equipment tag (e.g. "CV-501"). */
10
- tag;
11
- /** Human label. */
12
- label;
13
- render() {
14
- const name = this.label ?? this.tag ?? 'conveyor';
15
- return (h(Host, { key: '119483cfd3b46fa20abfa53f062e0948d243b189', role: "img", "aria-label": `${name} — ${this.state}` }, h("svg", { key: 'cdcd920ef9905aeb912b5c7588b1f2c30c4ccc3e', class: "symbol", viewBox: "0 0 64 28", "aria-hidden": "true" }, h("circle", { key: '7bdbeceaf95f8d8600d2e8aa71afa9df8bf9add0', class: "body", cx: "12", cy: "14", r: "9" }), h("circle", { key: 'cbc83e2420905a33381f5b90401944c926c201f6', class: "body", cx: "52", cy: "14", r: "9" }), h("line", { key: 'fd62d7978b9ff8292bfeab3986f80941ea9bc3a2', class: "stroke", x1: "12", y1: "5", x2: "52", y2: "5" }), h("line", { key: '3993536a33ab62c99178248b1a1acf9c2854ddd7', class: "stroke", x1: "12", y1: "23", x2: "52", y2: "23" }), h("line", { key: '79d19a316213f1fd72c6a5e3da140ef8e8e2db95', class: "belt", x1: "12", y1: "14", x2: "52", y2: "14" })), (this.tag || this.label) && (h("div", { key: 'e5a1ad87d4d83a8a170d63bb8598c899c03a7978', class: "caption" }, this.tag && h("span", { key: 'c49c170dbc541096d764df90ca0e483431fc6813', class: "tag" }, this.tag), this.label && h("span", { key: '560b91cd85f821b47ffe8747f98b52897950843c', class: "label" }, this.label)))));
16
- }
17
- static get is() { return "ind-conveyor"; }
18
- static get encapsulation() { return "shadow"; }
19
- static get originalStyleUrls() {
20
- return {
21
- "$": ["../_equipment/equipment.css", "conveyor.css"]
22
- };
23
- }
24
- static get styleUrls() {
25
- return {
26
- "$": ["../_equipment/equipment.css", "conveyor.css"]
27
- };
28
- }
29
- static get properties() {
30
- return {
31
- "state": {
32
- "type": "string",
33
- "mutable": false,
34
- "complexType": {
35
- "original": "EquipmentState",
36
- "resolved": "\"fault\" | \"maintenance\" | \"running\" | \"stopped\" | \"warning\"",
37
- "references": {
38
- "EquipmentState": {
39
- "location": "import",
40
- "path": "../_equipment/types",
41
- "id": "src/components/atoms/_equipment/types.ts::EquipmentState",
42
- "referenceLocation": "EquipmentState"
43
- }
44
- }
45
- },
46
- "required": false,
47
- "optional": false,
48
- "docs": {
49
- "tags": [],
50
- "text": "Process state. `running` animates the belt."
51
- },
52
- "getter": false,
53
- "setter": false,
54
- "reflect": true,
55
- "attribute": "state",
56
- "defaultValue": "'stopped'"
57
- },
58
- "direction": {
59
- "type": "string",
60
- "mutable": false,
61
- "complexType": {
62
- "original": "ConveyorDirection",
63
- "resolved": "\"forward\" | \"reverse\"",
64
- "references": {
65
- "ConveyorDirection": {
66
- "location": "local",
67
- "path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/conveyor/conveyor.tsx",
68
- "id": "src/components/atoms/conveyor/conveyor.tsx::ConveyorDirection"
69
- }
70
- }
71
- },
72
- "required": false,
73
- "optional": false,
74
- "docs": {
75
- "tags": [],
76
- "text": "Belt travel direction."
77
- },
78
- "getter": false,
79
- "setter": false,
80
- "reflect": true,
81
- "attribute": "direction",
82
- "defaultValue": "'forward'"
83
- },
84
- "size": {
85
- "type": "string",
86
- "mutable": false,
87
- "complexType": {
88
- "original": "EquipmentSize",
89
- "resolved": "\"lg\" | \"md\" | \"sm\"",
90
- "references": {
91
- "EquipmentSize": {
92
- "location": "import",
93
- "path": "../_equipment/types",
94
- "id": "src/components/atoms/_equipment/types.ts::EquipmentSize",
95
- "referenceLocation": "EquipmentSize"
96
- }
97
- }
98
- },
99
- "required": false,
100
- "optional": false,
101
- "docs": {
102
- "tags": [],
103
- "text": "Visual size."
104
- },
105
- "getter": false,
106
- "setter": false,
107
- "reflect": true,
108
- "attribute": "size",
109
- "defaultValue": "'md'"
110
- },
111
- "tag": {
112
- "type": "string",
113
- "mutable": false,
114
- "complexType": {
115
- "original": "string",
116
- "resolved": "string | undefined",
117
- "references": {}
118
- },
119
- "required": false,
120
- "optional": true,
121
- "docs": {
122
- "tags": [],
123
- "text": "Equipment tag (e.g. \"CV-501\")."
124
- },
125
- "getter": false,
126
- "setter": false,
127
- "reflect": false,
128
- "attribute": "tag"
129
- },
130
- "label": {
131
- "type": "string",
132
- "mutable": false,
133
- "complexType": {
134
- "original": "string",
135
- "resolved": "string | undefined",
136
- "references": {}
137
- },
138
- "required": false,
139
- "optional": true,
140
- "docs": {
141
- "tags": [],
142
- "text": "Human label."
143
- },
144
- "getter": false,
145
- "setter": false,
146
- "reflect": false,
147
- "attribute": "label"
148
- }
149
- };
150
- }
151
- }
152
- //# sourceMappingURL=conveyor.js.map
@@ -1,15 +0,0 @@
1
- .coil {
2
- fill: none;
3
- stroke: var(--_stroke);
4
- stroke-width: 1.5;
5
- stroke-linecap: round;
6
- vector-effect: non-scaling-stroke;
7
- }
8
-
9
- :host([state="running"]) {
10
- --_stroke: var(--ind-state-maintenance-border, #60a5fa);
11
- --_fill: var(--ind-state-maintenance-bg, #2563eb);
12
- }
13
- :host([state="running"]) .coil {
14
- stroke: var(--ind-state-maintenance-border, #93c5fd);
15
- }
@@ -1,124 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- export class IndCooler {
3
- /** Process state. */
4
- state = 'stopped';
5
- /** Visual size. */
6
- size = 'md';
7
- /** Equipment tag (e.g. "CL-701"). */
8
- tag;
9
- /** Human label. */
10
- label;
11
- render() {
12
- const name = this.label ?? this.tag ?? 'cooler';
13
- return (h(Host, { key: 'e498b99ea5768deb7147352d066b8f0650d4a176', role: "img", "aria-label": `${name} — ${this.state}` }, h("svg", { key: 'c0acab84becce756d8281cf4ba0bef88c4aab776', class: "symbol", viewBox: "0 0 48 48", "aria-hidden": "true" }, h("circle", { key: '83ed34a7c484bc3c40e4c0fc35540644506c2d14', class: "body", cx: "24", cy: "24", r: "16" }), h("g", { key: 'ff62a6c27629d9e42c497365410125ac700d4005', class: "flake" }, h("line", { key: '56870b9cc154793ee7ba0e702dfccea779a165c1', class: "coil", x1: "24", y1: "12", x2: "24", y2: "36" }), h("line", { key: '61f78a1ec7382a07662e27d32a7f4e8497d73136', class: "coil", x1: "13.6", y1: "18", x2: "34.4", y2: "30" }), h("line", { key: 'e5b632f4239a6697dc3887b72ac473a4e3a8325d', class: "coil", x1: "13.6", y1: "30", x2: "34.4", y2: "18" }))), (this.tag || this.label) && (h("div", { key: '9b40254100d0e346dfb23d5eb8746bd1071c7dba', class: "caption" }, this.tag && h("span", { key: 'bf78571570a9cb4d2a994ed0ddc9a3d26eb87b77', class: "tag" }, this.tag), this.label && h("span", { key: '6849888c1495f4170c4622556cfc166c7b6db259', class: "label" }, this.label)))));
14
- }
15
- static get is() { return "ind-cooler"; }
16
- static get encapsulation() { return "shadow"; }
17
- static get originalStyleUrls() {
18
- return {
19
- "$": ["../_equipment/equipment.css", "cooler.css"]
20
- };
21
- }
22
- static get styleUrls() {
23
- return {
24
- "$": ["../_equipment/equipment.css", "cooler.css"]
25
- };
26
- }
27
- static get properties() {
28
- return {
29
- "state": {
30
- "type": "string",
31
- "mutable": false,
32
- "complexType": {
33
- "original": "EquipmentState",
34
- "resolved": "\"fault\" | \"maintenance\" | \"running\" | \"stopped\" | \"warning\"",
35
- "references": {
36
- "EquipmentState": {
37
- "location": "import",
38
- "path": "../_equipment/types",
39
- "id": "src/components/atoms/_equipment/types.ts::EquipmentState",
40
- "referenceLocation": "EquipmentState"
41
- }
42
- }
43
- },
44
- "required": false,
45
- "optional": false,
46
- "docs": {
47
- "tags": [],
48
- "text": "Process state."
49
- },
50
- "getter": false,
51
- "setter": false,
52
- "reflect": true,
53
- "attribute": "state",
54
- "defaultValue": "'stopped'"
55
- },
56
- "size": {
57
- "type": "string",
58
- "mutable": false,
59
- "complexType": {
60
- "original": "EquipmentSize",
61
- "resolved": "\"lg\" | \"md\" | \"sm\"",
62
- "references": {
63
- "EquipmentSize": {
64
- "location": "import",
65
- "path": "../_equipment/types",
66
- "id": "src/components/atoms/_equipment/types.ts::EquipmentSize",
67
- "referenceLocation": "EquipmentSize"
68
- }
69
- }
70
- },
71
- "required": false,
72
- "optional": false,
73
- "docs": {
74
- "tags": [],
75
- "text": "Visual size."
76
- },
77
- "getter": false,
78
- "setter": false,
79
- "reflect": true,
80
- "attribute": "size",
81
- "defaultValue": "'md'"
82
- },
83
- "tag": {
84
- "type": "string",
85
- "mutable": false,
86
- "complexType": {
87
- "original": "string",
88
- "resolved": "string | undefined",
89
- "references": {}
90
- },
91
- "required": false,
92
- "optional": true,
93
- "docs": {
94
- "tags": [],
95
- "text": "Equipment tag (e.g. \"CL-701\")."
96
- },
97
- "getter": false,
98
- "setter": false,
99
- "reflect": false,
100
- "attribute": "tag"
101
- },
102
- "label": {
103
- "type": "string",
104
- "mutable": false,
105
- "complexType": {
106
- "original": "string",
107
- "resolved": "string | undefined",
108
- "references": {}
109
- },
110
- "required": false,
111
- "optional": true,
112
- "docs": {
113
- "tags": [],
114
- "text": "Human label."
115
- },
116
- "getter": false,
117
- "setter": false,
118
- "reflect": false,
119
- "attribute": "label"
120
- }
121
- };
122
- }
123
- }
124
- //# sourceMappingURL=cooler.js.map
@@ -1,45 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- align-items: center;
4
- gap: var(--ind-spacing-2, 4px);
5
- font-family: var(--ind-font-family-sans, system-ui, sans-serif);
6
- color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
7
- --_bg: var(--ind-surface-strong, #5a6776);
8
- --_fg: var(--ind-surface-text-inverse, #f4f6f8);
9
- }
10
-
11
- .label {
12
- font-size: var(--ind-font-size-base, 12px);
13
- color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2));
14
- }
15
-
16
- .count {
17
- display: inline-flex;
18
- align-items: center;
19
- justify-content: center;
20
- min-width: 18px;
21
- height: 18px;
22
- padding: 0 5px;
23
- font-size: var(--ind-font-size-xs, 10px);
24
- font-weight: var(--ind-font-weight-bold, 700);
25
- line-height: 1;
26
- color: var(--_fg);
27
- background: var(--_bg);
28
- border-radius: var(--ind-radius-full, 9999px);
29
- font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
30
- }
31
-
32
- :host([size="sm"]) .count { min-width: 14px; height: 14px; font-size: 9px; padding: 0 4px; }
33
- :host([size="lg"]) .count { min-width: 22px; height: 22px; font-size: var(--ind-font-size-sm, 11px); }
34
-
35
- .count.is-dot {
36
- min-width: 8px;
37
- width: 8px;
38
- height: 8px;
39
- padding: 0;
40
- }
41
-
42
- :host([variant="success"]) { --_bg: var(--ind-feedback-success-bg, #16a34a); }
43
- :host([variant="info"]) { --_bg: var(--ind-feedback-info-bg, #0891b2); }
44
- :host([variant="warning"]) { --_bg: var(--ind-feedback-warning-bg, #f59e0b); --_fg: #1a1205; }
45
- :host([variant="error"]) { --_bg: var(--ind-feedback-error-bg, #dc2626); }