@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.
- package/dist/cjs/ind-ds.cjs.js +1 -1
- package/dist/cjs/ind-valve-control-panel.cjs.entry.js +7 -1
- package/dist/cjs/ind-valve-control-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/atoms/_equipment/equipment.css +0 -74
- package/dist/collection/components/atoms/alarm/alarm.css +0 -87
- package/dist/collection/components/atoms/alarm/alarm.js +0 -122
- package/dist/collection/components/atoms/alarm-count/alarm-count.css +0 -44
- package/dist/collection/components/atoms/alarm-count/alarm-count.js +0 -171
- package/dist/collection/components/atoms/badge/badge.css +0 -42
- package/dist/collection/components/atoms/badge/badge.js +0 -101
- package/dist/collection/components/atoms/breadcrumb-item/breadcrumb-item.css +0 -42
- package/dist/collection/components/atoms/breadcrumb-item/breadcrumb-item.js +0 -116
- package/dist/collection/components/atoms/button/button.css +0 -110
- package/dist/collection/components/atoms/button/button.js +0 -215
- package/dist/collection/components/atoms/canvas-layer/canvas-layer.css +0 -8
- package/dist/collection/components/atoms/canvas-layer/canvas-layer.js +0 -161
- package/dist/collection/components/atoms/checkbox/checkbox.css +0 -92
- package/dist/collection/components/atoms/checkbox/checkbox.js +0 -214
- package/dist/collection/components/atoms/compressor/compressor.css +0 -7
- package/dist/collection/components/atoms/compressor/compressor.js +0 -124
- package/dist/collection/components/atoms/connection-indicator/connection-indicator.css +0 -42
- package/dist/collection/components/atoms/connection-indicator/connection-indicator.js +0 -107
- package/dist/collection/components/atoms/conveyor/conveyor.css +0 -18
- package/dist/collection/components/atoms/conveyor/conveyor.js +0 -152
- package/dist/collection/components/atoms/cooler/cooler.css +0 -15
- package/dist/collection/components/atoms/cooler/cooler.js +0 -124
- package/dist/collection/components/atoms/counter/counter.css +0 -45
- package/dist/collection/components/atoms/counter/counter.js +0 -171
- package/dist/collection/components/atoms/datetime-picker/datetime-picker.css +0 -46
- package/dist/collection/components/atoms/datetime-picker/datetime-picker.js +0 -275
- package/dist/collection/components/atoms/dialog/dialog.css +0 -85
- package/dist/collection/components/atoms/dialog/dialog.js +0 -265
- package/dist/collection/components/atoms/divider/divider.css +0 -16
- package/dist/collection/components/atoms/divider/divider.js +0 -50
- package/dist/collection/components/atoms/estop/estop.css +0 -69
- package/dist/collection/components/atoms/estop/estop.js +0 -166
- package/dist/collection/components/atoms/fan/fan.css +0 -11
- package/dist/collection/components/atoms/fan/fan.js +0 -124
- package/dist/collection/components/atoms/gauge/gauge.css +0 -70
- package/dist/collection/components/atoms/gauge/gauge.js +0 -237
- package/dist/collection/components/atoms/heartbeat/heartbeat.css +0 -58
- package/dist/collection/components/atoms/heartbeat/heartbeat.js +0 -116
- package/dist/collection/components/atoms/heater/heater.css +0 -20
- package/dist/collection/components/atoms/heater/heater.js +0 -124
- package/dist/collection/components/atoms/icon/icon.css +0 -30
- package/dist/collection/components/atoms/icon/icon.js +0 -119
- package/dist/collection/components/atoms/input/input.css +0 -92
- package/dist/collection/components/atoms/knob/knob.css +0 -71
- package/dist/collection/components/atoms/label/label.css +0 -29
- package/dist/collection/components/atoms/led/led.css +0 -91
- package/dist/collection/components/atoms/linear-gauge/linear-gauge.css +0 -65
- package/dist/collection/components/atoms/motor/motor.css +0 -24
- package/dist/collection/components/atoms/pipe/pipe.css +0 -57
- package/dist/collection/components/atoms/process-symbol/process-symbol.css +0 -44
- package/dist/collection/components/atoms/progress/progress.css +0 -69
- package/dist/collection/components/atoms/progress-ring/progress-ring.css +0 -59
- package/dist/collection/components/atoms/pump/pump.css +0 -7
- package/dist/collection/components/atoms/scara-canvas/scara-canvas.css +0 -100
- package/dist/collection/components/atoms/select/select.css +0 -88
- package/dist/collection/components/atoms/selector-switch/selector-switch.css +0 -53
- package/dist/collection/components/atoms/setpoint/setpoint.css +0 -79
- package/dist/collection/components/atoms/shelf-canvas/shelf-canvas.css +0 -67
- package/dist/collection/components/atoms/signal-quality/signal-quality.css +0 -41
- package/dist/collection/components/atoms/silo/silo.css +0 -12
- package/dist/collection/components/atoms/slider/slider.css +0 -87
- package/dist/collection/components/atoms/sparkline/sparkline.css +0 -37
- package/dist/collection/components/atoms/status-dot/status-dot.css +0 -69
- package/dist/collection/components/atoms/tab/tab.css +0 -39
- package/dist/collection/components/atoms/tag-name/tag-name.css +0 -25
- package/dist/collection/components/atoms/tank/tank.css +0 -12
- package/dist/collection/components/atoms/textarea/textarea.css +0 -74
- package/dist/collection/components/atoms/timestamp/timestamp.css +0 -15
- package/dist/collection/components/atoms/toggle/toggle.css +0 -78
- package/dist/collection/components/atoms/tree-node/tree-node.css +0 -65
- package/dist/collection/components/atoms/unit-label/unit-label.css +0 -16
- package/dist/collection/components/atoms/value/value.css +0 -115
- package/dist/collection/components/atoms/valve/valve.css +0 -101
- package/dist/collection/components/atoms/xy-point/xy-point.css +0 -49
- package/dist/collection/components/molecules/_shared/binding.css +0 -41
- package/dist/collection/components/molecules/_shared/card.css +0 -51
- package/dist/collection/components/molecules/_shared/equipment-card.css +0 -20
- package/dist/collection/components/molecules/_shared/row.css +0 -34
- package/dist/collection/components/molecules/alarm-badge-group/alarm-badge-group.css +0 -43
- package/dist/collection/components/molecules/alarm-badge-group/alarm-badge-group.js +0 -168
- package/dist/collection/components/molecules/alarm-row/alarm-row.css +0 -42
- package/dist/collection/components/molecules/alarm-row/alarm-row.js +0 -166
- package/dist/collection/components/molecules/audit-row/audit-row.css +0 -19
- package/dist/collection/components/molecules/audit-row/audit-row.js +0 -111
- package/dist/collection/components/molecules/batch-parameter-row/batch-parameter-row.css +0 -35
- package/dist/collection/components/molecules/batch-parameter-row/batch-parameter-row.js +0 -304
- package/dist/collection/components/molecules/command-group/command-group.css +0 -26
- package/dist/collection/components/molecules/command-group/command-group.js +0 -99
- package/dist/collection/components/molecules/device-connection-card/device-connection-card.css +0 -19
- package/dist/collection/components/molecules/device-connection-card/device-connection-card.js +0 -140
- package/dist/collection/components/molecules/device-info-card/device-info-card.css +0 -27
- package/dist/collection/components/molecules/device-info-card/device-info-card.js +0 -194
- package/dist/collection/components/molecules/energy-card/energy-card.css +0 -12
- package/dist/collection/components/molecules/energy-card/energy-card.js +0 -206
- package/dist/collection/components/molecules/equipment-status-card/equipment-status-card.css +0 -29
- package/dist/collection/components/molecules/equipment-status-card/equipment-status-card.js +0 -150
- package/dist/collection/components/molecules/event-row/event-row.css +0 -3
- package/dist/collection/components/molecules/event-row/event-row.js +0 -118
- package/dist/collection/components/molecules/fill-row/fill-row.css +0 -70
- package/dist/collection/components/molecules/fill-row/fill-row.js +0 -181
- package/dist/collection/components/molecules/health-card/health-card.css +0 -53
- package/dist/collection/components/molecules/health-card/health-card.js +0 -124
- package/dist/collection/components/molecules/historical-value-row/historical-value-row.css +0 -28
- package/dist/collection/components/molecules/historical-value-row/historical-value-row.js +0 -153
- package/dist/collection/components/molecules/kpi-card/kpi-card.css +0 -31
- package/dist/collection/components/molecules/mode-selector/mode-selector.css +0 -4
- package/dist/collection/components/molecules/motor-card/motor-card.css +0 -3
- package/dist/collection/components/molecules/mqtt-tag-binding/mqtt-tag-binding.css +0 -3
- package/dist/collection/components/molecules/nav-item/nav-item.css +0 -82
- package/dist/collection/components/molecules/network-status-card/network-status-card.css +0 -31
- package/dist/collection/components/molecules/opcua-tag-binding/opcua-tag-binding.css +0 -7
- package/dist/collection/components/molecules/pump-card/pump-card.css +0 -3
- package/dist/collection/components/molecules/recipe-selector/recipe-selector.css +0 -13
- package/dist/collection/components/molecules/setpoint-control/setpoint-control.css +0 -3
- package/dist/collection/components/molecules/sidebar-group/sidebar-group.css +0 -61
- package/dist/collection/components/molecules/speed-control/speed-control.css +0 -7
- package/dist/collection/components/molecules/start-stop-control/start-stop-control.css +0 -24
- package/dist/collection/components/molecules/tag-card/tag-card.css +0 -7
- package/dist/collection/components/molecules/tank-level-card/tank-level-card.css +0 -7
- package/dist/collection/components/molecules/temperature-control/temperature-control.css +0 -15
- package/dist/collection/components/molecules/toolbar-action/toolbar-action.css +0 -36
- package/dist/collection/components/molecules/trend-widget/trend-widget.css +0 -15
- package/dist/collection/components/molecules/valve-card/valve-card.css +0 -13
- package/dist/collection/components/organisms/_shared/control-panel.css +0 -15
- package/dist/collection/components/organisms/_shared/panel.css +0 -96
- package/dist/collection/components/organisms/alarm-panel/alarm-panel.css +0 -7
- package/dist/collection/components/organisms/alarm-panel/alarm-panel.js +0 -152
- package/dist/collection/components/organisms/alarm-summary/alarm-summary.css +0 -30
- package/dist/collection/components/organisms/alarm-summary/alarm-summary.js +0 -158
- package/dist/collection/components/organisms/app-header/app-header.css +0 -127
- package/dist/collection/components/organisms/app-header/app-header.js +0 -256
- package/dist/collection/components/organisms/asset-overview/asset-overview.css +0 -34
- package/dist/collection/components/organisms/asset-overview/asset-overview.js +0 -82
- package/dist/collection/components/organisms/batch-control-panel/batch-control-panel.css +0 -45
- package/dist/collection/components/organisms/batch-control-panel/batch-control-panel.js +0 -226
- package/dist/collection/components/organisms/command-center/command-center.css +0 -7
- package/dist/collection/components/organisms/command-center/command-center.js +0 -70
- package/dist/collection/components/organisms/context-toolbar/context-toolbar.css +0 -48
- package/dist/collection/components/organisms/context-toolbar/context-toolbar.js +0 -70
- package/dist/collection/components/organisms/device-diagnostics-panel/device-diagnostics-panel.css +0 -43
- package/dist/collection/components/organisms/device-diagnostics-panel/device-diagnostics-panel.js +0 -222
- package/dist/collection/components/organisms/energy-dashboard/energy-dashboard.css +0 -29
- package/dist/collection/components/organisms/energy-dashboard/energy-dashboard.js +0 -134
- package/dist/collection/components/organisms/equipment-dashboard/equipment-dashboard.css +0 -3
- package/dist/collection/components/organisms/equipment-dashboard/equipment-dashboard.js +0 -71
- package/dist/collection/components/organisms/event-journal/event-journal.css +0 -17
- package/dist/collection/components/organisms/event-journal/event-journal.js +0 -107
- package/dist/collection/components/organisms/firmware-update-panel/firmware-update-panel.css +0 -47
- package/dist/collection/components/organisms/firmware-update-panel/firmware-update-panel.js +0 -208
- package/dist/collection/components/organisms/historian-viewer/historian-viewer.css +0 -17
- package/dist/collection/components/organisms/historian-viewer/historian-viewer.js +0 -144
- package/dist/collection/components/organisms/machine-overview/machine-overview.css +0 -22
- package/dist/collection/components/organisms/maintenance-dashboard/maintenance-dashboard.css +0 -48
- package/dist/collection/components/organisms/motor-control-panel/motor-control-panel.css +0 -3
- package/dist/collection/components/organisms/mqtt-monitor/mqtt-monitor.css +0 -96
- package/dist/collection/components/organisms/oee-dashboard/oee-dashboard.css +0 -30
- package/dist/collection/components/organisms/process-control-panel/process-control-panel.css +0 -13
- package/dist/collection/components/organisms/production-cell/production-cell.css +0 -7
- package/dist/collection/components/organisms/production-dashboard/production-dashboard.css +0 -3
- package/dist/collection/components/organisms/production-line-overview/production-line-overview.css +0 -57
- package/dist/collection/components/organisms/pump-control-panel/pump-control-panel.css +0 -3
- package/dist/collection/components/organisms/recipe-management-panel/recipe-management-panel.css +0 -10
- package/dist/collection/components/organisms/sidebar-nav/sidebar-nav.css +0 -39
- package/dist/collection/components/organisms/status-bar/status-bar.css +0 -34
- package/dist/collection/components/organisms/trend-viewer/trend-viewer.css +0 -45
- package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.css +0 -10
- package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.js +67 -1
- package/dist/collection/components/organisms/valve-control-panel/valve-control-panel.js.map +1 -1
- package/dist/collection/components/organisms/workstation-monitor/workstation-monitor.css +0 -30
- package/dist/components/ind-valve-control-panel.js +1 -1
- package/dist/components/ind-valve-control-panel.js.map +1 -1
- package/dist/docs.json +88 -1
- package/dist/esm/ind-ds.js +1 -1
- package/dist/esm/ind-valve-control-panel.entry.js +7 -1
- package/dist/esm/ind-valve-control-panel.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ind-ds/ind-ds.esm.js +1 -1
- package/dist/ind-ds/{p-eac22c88.entry.js → p-69ac33af.entry.js} +2 -2
- package/dist/ind-ds/p-69ac33af.entry.js.map +1 -0
- package/dist/types/components/organisms/valve-control-panel/valve-control-panel.d.ts +6 -0
- package/dist/types/components.d.ts +33 -0
- package/package.json +2 -2
- package/dist/ind-ds/p-eac22c88.entry.js.map +0 -1
|
@@ -1,44 +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
|
-
--_h: 18px;
|
|
7
|
-
--_fs: var(--ind-font-size-xs, 10px);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host([size="sm"]) { --_h: 15px; --_fs: 9px; }
|
|
11
|
-
:host([size="lg"]) { --_h: 22px; --_fs: var(--ind-font-size-sm, 11px); }
|
|
12
|
-
|
|
13
|
-
.chip {
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
align-items: stretch;
|
|
16
|
-
height: var(--_h);
|
|
17
|
-
border-radius: var(--ind-radius-sm, 2px);
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
border: 1px solid var(--_border, #5a6776);
|
|
20
|
-
font-size: var(--_fs);
|
|
21
|
-
font-weight: var(--ind-font-weight-bold, 700);
|
|
22
|
-
font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.prio {
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
padding: 0 4px;
|
|
29
|
-
color: var(--_fg, #fff);
|
|
30
|
-
background: var(--_bg, #5a6776);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.num {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
padding: 0 5px;
|
|
37
|
-
color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
|
|
38
|
-
background: var(--ind-surface-sunken, light-dark(#fff, #000));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.chip[data-priority="high-high"] { --_bg: var(--ind-alarm-high-high-bg, #dc2626); --_fg: var(--ind-alarm-high-high-fg, #fff); --_border: var(--ind-alarm-high-high-border, #f87171); }
|
|
42
|
-
.chip[data-priority="high"] { --_bg: var(--ind-alarm-high-bg, #f59e0b); --_fg: var(--ind-alarm-high-fg, #1a1205); --_border: var(--ind-alarm-high-border, #fcd34d); }
|
|
43
|
-
.chip[data-priority="low"] { --_bg: var(--ind-alarm-low-bg, #0891b2); --_fg: var(--ind-alarm-low-fg, #fff); --_border: var(--ind-alarm-low-border, #67e8f9); }
|
|
44
|
-
.chip[data-priority="low-low"] { --_bg: var(--ind-alarm-low-low-bg, #7c3aed); --_fg: var(--ind-alarm-low-low-fg, #fff); --_border: var(--ind-alarm-low-low-border, #c4b5fd); }
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
-
export class IndAlarmCount {
|
|
3
|
-
/** High-High (priority 1) count. */
|
|
4
|
-
highHigh = 0;
|
|
5
|
-
/** High (priority 2) count. */
|
|
6
|
-
high = 0;
|
|
7
|
-
/** Low (priority 3) count. */
|
|
8
|
-
low = 0;
|
|
9
|
-
/** Low-Low (priority 4) count. */
|
|
10
|
-
lowLow = 0;
|
|
11
|
-
/** Hide priority chips whose count is 0. */
|
|
12
|
-
hideZero = false;
|
|
13
|
-
/** Size. */
|
|
14
|
-
size = 'md';
|
|
15
|
-
chips() {
|
|
16
|
-
return [
|
|
17
|
-
{ key: 'high-high', label: 'HH', value: this.highHigh },
|
|
18
|
-
{ key: 'high', label: 'H', value: this.high },
|
|
19
|
-
{ key: 'low', label: 'L', value: this.low },
|
|
20
|
-
{ key: 'low-low', label: 'LL', value: this.lowLow },
|
|
21
|
-
];
|
|
22
|
-
}
|
|
23
|
-
render() {
|
|
24
|
-
const total = this.highHigh + this.high + this.low + this.lowLow;
|
|
25
|
-
const chips = this.chips().filter((c) => !this.hideZero || c.value > 0);
|
|
26
|
-
return (h(Host, { key: '04c33c5ff65e39d875b499e827fd28cbda31c4c6', role: "status", "aria-label": `${total} active alarms` }, chips.map((c) => (h("span", { class: "chip", part: "chip", "data-priority": c.key }, h("span", { class: "prio", part: "priority" }, c.label), h("span", { class: "num", part: "count" }, c.value))))));
|
|
27
|
-
}
|
|
28
|
-
static get is() { return "ind-alarm-count"; }
|
|
29
|
-
static get encapsulation() { return "shadow"; }
|
|
30
|
-
static get originalStyleUrls() {
|
|
31
|
-
return {
|
|
32
|
-
"$": ["alarm-count.css"]
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
static get styleUrls() {
|
|
36
|
-
return {
|
|
37
|
-
"$": ["alarm-count.css"]
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
static get properties() {
|
|
41
|
-
return {
|
|
42
|
-
"highHigh": {
|
|
43
|
-
"type": "number",
|
|
44
|
-
"mutable": false,
|
|
45
|
-
"complexType": {
|
|
46
|
-
"original": "number",
|
|
47
|
-
"resolved": "number",
|
|
48
|
-
"references": {}
|
|
49
|
-
},
|
|
50
|
-
"required": false,
|
|
51
|
-
"optional": false,
|
|
52
|
-
"docs": {
|
|
53
|
-
"tags": [],
|
|
54
|
-
"text": "High-High (priority 1) count."
|
|
55
|
-
},
|
|
56
|
-
"getter": false,
|
|
57
|
-
"setter": false,
|
|
58
|
-
"reflect": false,
|
|
59
|
-
"attribute": "high-high",
|
|
60
|
-
"defaultValue": "0"
|
|
61
|
-
},
|
|
62
|
-
"high": {
|
|
63
|
-
"type": "number",
|
|
64
|
-
"mutable": false,
|
|
65
|
-
"complexType": {
|
|
66
|
-
"original": "number",
|
|
67
|
-
"resolved": "number",
|
|
68
|
-
"references": {}
|
|
69
|
-
},
|
|
70
|
-
"required": false,
|
|
71
|
-
"optional": false,
|
|
72
|
-
"docs": {
|
|
73
|
-
"tags": [],
|
|
74
|
-
"text": "High (priority 2) count."
|
|
75
|
-
},
|
|
76
|
-
"getter": false,
|
|
77
|
-
"setter": false,
|
|
78
|
-
"reflect": false,
|
|
79
|
-
"attribute": "high",
|
|
80
|
-
"defaultValue": "0"
|
|
81
|
-
},
|
|
82
|
-
"low": {
|
|
83
|
-
"type": "number",
|
|
84
|
-
"mutable": false,
|
|
85
|
-
"complexType": {
|
|
86
|
-
"original": "number",
|
|
87
|
-
"resolved": "number",
|
|
88
|
-
"references": {}
|
|
89
|
-
},
|
|
90
|
-
"required": false,
|
|
91
|
-
"optional": false,
|
|
92
|
-
"docs": {
|
|
93
|
-
"tags": [],
|
|
94
|
-
"text": "Low (priority 3) count."
|
|
95
|
-
},
|
|
96
|
-
"getter": false,
|
|
97
|
-
"setter": false,
|
|
98
|
-
"reflect": false,
|
|
99
|
-
"attribute": "low",
|
|
100
|
-
"defaultValue": "0"
|
|
101
|
-
},
|
|
102
|
-
"lowLow": {
|
|
103
|
-
"type": "number",
|
|
104
|
-
"mutable": false,
|
|
105
|
-
"complexType": {
|
|
106
|
-
"original": "number",
|
|
107
|
-
"resolved": "number",
|
|
108
|
-
"references": {}
|
|
109
|
-
},
|
|
110
|
-
"required": false,
|
|
111
|
-
"optional": false,
|
|
112
|
-
"docs": {
|
|
113
|
-
"tags": [],
|
|
114
|
-
"text": "Low-Low (priority 4) count."
|
|
115
|
-
},
|
|
116
|
-
"getter": false,
|
|
117
|
-
"setter": false,
|
|
118
|
-
"reflect": false,
|
|
119
|
-
"attribute": "low-low",
|
|
120
|
-
"defaultValue": "0"
|
|
121
|
-
},
|
|
122
|
-
"hideZero": {
|
|
123
|
-
"type": "boolean",
|
|
124
|
-
"mutable": false,
|
|
125
|
-
"complexType": {
|
|
126
|
-
"original": "boolean",
|
|
127
|
-
"resolved": "boolean",
|
|
128
|
-
"references": {}
|
|
129
|
-
},
|
|
130
|
-
"required": false,
|
|
131
|
-
"optional": false,
|
|
132
|
-
"docs": {
|
|
133
|
-
"tags": [],
|
|
134
|
-
"text": "Hide priority chips whose count is 0."
|
|
135
|
-
},
|
|
136
|
-
"getter": false,
|
|
137
|
-
"setter": false,
|
|
138
|
-
"reflect": true,
|
|
139
|
-
"attribute": "hide-zero",
|
|
140
|
-
"defaultValue": "false"
|
|
141
|
-
},
|
|
142
|
-
"size": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"mutable": false,
|
|
145
|
-
"complexType": {
|
|
146
|
-
"original": "AlarmCountSize",
|
|
147
|
-
"resolved": "\"lg\" | \"md\" | \"sm\"",
|
|
148
|
-
"references": {
|
|
149
|
-
"AlarmCountSize": {
|
|
150
|
-
"location": "local",
|
|
151
|
-
"path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/alarm-count/alarm-count.tsx",
|
|
152
|
-
"id": "src/components/atoms/alarm-count/alarm-count.tsx::AlarmCountSize"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"required": false,
|
|
157
|
-
"optional": false,
|
|
158
|
-
"docs": {
|
|
159
|
-
"tags": [],
|
|
160
|
-
"text": "Size."
|
|
161
|
-
},
|
|
162
|
-
"getter": false,
|
|
163
|
-
"setter": false,
|
|
164
|
-
"reflect": true,
|
|
165
|
-
"attribute": "size",
|
|
166
|
-
"defaultValue": "'md'"
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
//# sourceMappingURL=alarm-count.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
--_bg: var(--ind-surface-raised, #1b222c);
|
|
4
|
-
--_fg: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
|
|
5
|
-
--_border: var(--ind-surface-border-default, #2a3340);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.badge {
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
gap: var(--ind-spacing-2, 4px);
|
|
12
|
-
padding: 1px var(--ind-spacing-3, 6px);
|
|
13
|
-
font-family: var(--ind-font-family-sans, system-ui, sans-serif);
|
|
14
|
-
font-size: var(--ind-font-size-xs, 10px);
|
|
15
|
-
font-weight: var(--ind-font-weight-semibold, 600);
|
|
16
|
-
line-height: var(--ind-font-line-height-tight, 1.1);
|
|
17
|
-
letter-spacing: 0.02em;
|
|
18
|
-
text-transform: uppercase;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
color: var(--_fg);
|
|
21
|
-
background: var(--_bg);
|
|
22
|
-
border: 1px solid var(--_border);
|
|
23
|
-
border-radius: var(--ind-radius-full, 9999px);
|
|
24
|
-
font-feature-settings: var(--ind-font-feature-tabular, "tnum" 1);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([size="md"]) .badge { font-size: var(--ind-font-size-xs, 10px); padding: 2px var(--ind-spacing-3, 6px); }
|
|
28
|
-
:host([size="sm"]) .badge { font-size: 9px; padding: 0 var(--ind-spacing-2, 4px); }
|
|
29
|
-
|
|
30
|
-
:host([variant="running"]),
|
|
31
|
-
:host([variant="success"]) { --_bg: var(--ind-state-running-bg, #16a34a); --_fg: var(--ind-state-running-fg, #fff); --_border: var(--ind-state-running-border, #4ade80); }
|
|
32
|
-
:host([variant="stopped"]) { --_bg: var(--ind-state-stopped-bg, #5a6776); --_fg: var(--ind-state-stopped-fg, #fff); --_border: var(--ind-state-stopped-border, #8390a0); }
|
|
33
|
-
:host([variant="fault"]),
|
|
34
|
-
:host([variant="error"]) { --_bg: var(--ind-state-fault-bg, #dc2626); --_fg: var(--ind-state-fault-fg, #fff); --_border: var(--ind-state-fault-border, #f87171); }
|
|
35
|
-
:host([variant="warning"]) { --_bg: var(--ind-state-warning-bg, #f59e0b); --_fg: var(--ind-state-warning-fg, #1a1205); --_border: var(--ind-state-warning-border, #fcd34d); }
|
|
36
|
-
:host([variant="maintenance"]) { --_bg: var(--ind-state-maintenance-bg, #2563eb); --_fg: var(--ind-state-maintenance-fg, #fff); --_border: var(--ind-state-maintenance-border, #60a5fa); }
|
|
37
|
-
:host([variant="info"]) { --_bg: var(--ind-feedback-info-bg, #0891b2); --_fg: var(--ind-feedback-info-fg, #fff); --_border: var(--ind-feedback-info-border, #67e8f9); }
|
|
38
|
-
|
|
39
|
-
:host([outline]) .badge {
|
|
40
|
-
background: transparent;
|
|
41
|
-
color: var(--_border);
|
|
42
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
-
export class IndBadge {
|
|
3
|
-
/** Semantic color. Maps to state / feedback tokens. */
|
|
4
|
-
variant = 'neutral';
|
|
5
|
-
/** Size. */
|
|
6
|
-
size = 'md';
|
|
7
|
-
/** Outlined instead of filled. */
|
|
8
|
-
outline = false;
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, { key: 'ff8c7f78b4ec3527e2c81c087f5408179adebfcc' }, h("span", { key: '153b5c19ae46ac34969ddefc39d880dbbe87632d', class: "badge", part: "badge" }, h("slot", { key: 'ec5c0fe94ace0a7084ce567567dd8b8995ea62bd' }))));
|
|
11
|
-
}
|
|
12
|
-
static get is() { return "ind-badge"; }
|
|
13
|
-
static get encapsulation() { return "shadow"; }
|
|
14
|
-
static get originalStyleUrls() {
|
|
15
|
-
return {
|
|
16
|
-
"$": ["badge.css"]
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
static get styleUrls() {
|
|
20
|
-
return {
|
|
21
|
-
"$": ["badge.css"]
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
static get properties() {
|
|
25
|
-
return {
|
|
26
|
-
"variant": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"mutable": false,
|
|
29
|
-
"complexType": {
|
|
30
|
-
"original": "BadgeVariant",
|
|
31
|
-
"resolved": "\"error\" | \"fault\" | \"info\" | \"maintenance\" | \"neutral\" | \"running\" | \"stopped\" | \"success\" | \"warning\"",
|
|
32
|
-
"references": {
|
|
33
|
-
"BadgeVariant": {
|
|
34
|
-
"location": "local",
|
|
35
|
-
"path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/badge/badge.tsx",
|
|
36
|
-
"id": "src/components/atoms/badge/badge.tsx::BadgeVariant"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"required": false,
|
|
41
|
-
"optional": false,
|
|
42
|
-
"docs": {
|
|
43
|
-
"tags": [],
|
|
44
|
-
"text": "Semantic color. Maps to state / feedback tokens."
|
|
45
|
-
},
|
|
46
|
-
"getter": false,
|
|
47
|
-
"setter": false,
|
|
48
|
-
"reflect": true,
|
|
49
|
-
"attribute": "variant",
|
|
50
|
-
"defaultValue": "'neutral'"
|
|
51
|
-
},
|
|
52
|
-
"size": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"mutable": false,
|
|
55
|
-
"complexType": {
|
|
56
|
-
"original": "BadgeSize",
|
|
57
|
-
"resolved": "\"md\" | \"sm\"",
|
|
58
|
-
"references": {
|
|
59
|
-
"BadgeSize": {
|
|
60
|
-
"location": "local",
|
|
61
|
-
"path": "/home/runner/work/ind-ds/ind-ds/packages/core/src/components/atoms/badge/badge.tsx",
|
|
62
|
-
"id": "src/components/atoms/badge/badge.tsx::BadgeSize"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"required": false,
|
|
67
|
-
"optional": false,
|
|
68
|
-
"docs": {
|
|
69
|
-
"tags": [],
|
|
70
|
-
"text": "Size."
|
|
71
|
-
},
|
|
72
|
-
"getter": false,
|
|
73
|
-
"setter": false,
|
|
74
|
-
"reflect": true,
|
|
75
|
-
"attribute": "size",
|
|
76
|
-
"defaultValue": "'md'"
|
|
77
|
-
},
|
|
78
|
-
"outline": {
|
|
79
|
-
"type": "boolean",
|
|
80
|
-
"mutable": false,
|
|
81
|
-
"complexType": {
|
|
82
|
-
"original": "boolean",
|
|
83
|
-
"resolved": "boolean",
|
|
84
|
-
"references": {}
|
|
85
|
-
},
|
|
86
|
-
"required": false,
|
|
87
|
-
"optional": false,
|
|
88
|
-
"docs": {
|
|
89
|
-
"tags": [],
|
|
90
|
-
"text": "Outlined instead of filled."
|
|
91
|
-
},
|
|
92
|
-
"getter": false,
|
|
93
|
-
"setter": false,
|
|
94
|
-
"reflect": true,
|
|
95
|
-
"attribute": "outline",
|
|
96
|
-
"defaultValue": "false"
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
//# sourceMappingURL=badge.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
|
-
}
|
|
8
|
-
|
|
9
|
-
.crumb {
|
|
10
|
-
appearance: none;
|
|
11
|
-
border: none;
|
|
12
|
-
background: none;
|
|
13
|
-
padding: 0;
|
|
14
|
-
margin: 0;
|
|
15
|
-
font: inherit;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
color: var(--ind-surface-text-secondary, light-dark(#2a3340, #aab5c2));
|
|
18
|
-
text-decoration: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
a.crumb:hover,
|
|
22
|
-
button.crumb:hover {
|
|
23
|
-
color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
|
|
24
|
-
text-decoration: underline;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.crumb:focus-visible {
|
|
28
|
-
outline: 2px solid var(--ind-surface-focus-ring, #67e8f9);
|
|
29
|
-
outline-offset: 2px;
|
|
30
|
-
border-radius: var(--ind-radius-sm, 2px);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([current]) .crumb {
|
|
34
|
-
color: var(--ind-surface-text-primary, light-dark(#11161c, #eef1f5));
|
|
35
|
-
font-weight: var(--ind-font-weight-semibold, 600);
|
|
36
|
-
cursor: default;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.sep {
|
|
40
|
-
color: var(--ind-surface-text-muted, #7a8694);
|
|
41
|
-
user-select: none;
|
|
42
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
2
|
-
export class IndBreadcrumbItem {
|
|
3
|
-
/** Navigation target. When omitted the item renders as a button. */
|
|
4
|
-
href;
|
|
5
|
-
/** Marks the current page (last crumb) — not interactive. */
|
|
6
|
-
current = false;
|
|
7
|
-
/** Hide the trailing separator (set on the last item). */
|
|
8
|
-
last = false;
|
|
9
|
-
/** Fires when a non-current item is activated. */
|
|
10
|
-
indNavigate;
|
|
11
|
-
onClick = (e) => {
|
|
12
|
-
if (this.current) {
|
|
13
|
-
e.preventDefault();
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
this.indNavigate.emit();
|
|
17
|
-
};
|
|
18
|
-
render() {
|
|
19
|
-
const interactive = !this.current;
|
|
20
|
-
return (h(Host, { key: 'ea2f0840d0904558285e0645f99db8833e8ba05f', role: "listitem" }, interactive && this.href ? (h("a", { class: "crumb", part: "crumb", href: this.href, onClick: this.onClick }, h("slot", null))) : interactive ? (h("button", { type: "button", class: "crumb", part: "crumb", onClick: this.onClick }, h("slot", null))) : (h("span", { class: "crumb", part: "crumb", "aria-current": "page" }, h("slot", null))), !this.last && h("span", { key: '79aa0f9f8d13766a05c2df663869b46d94ce27a9', class: "sep", part: "separator", "aria-hidden": "true" }, "/")));
|
|
21
|
-
}
|
|
22
|
-
static get is() { return "ind-breadcrumb-item"; }
|
|
23
|
-
static get encapsulation() { return "shadow"; }
|
|
24
|
-
static get originalStyleUrls() {
|
|
25
|
-
return {
|
|
26
|
-
"$": ["breadcrumb-item.css"]
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
static get styleUrls() {
|
|
30
|
-
return {
|
|
31
|
-
"$": ["breadcrumb-item.css"]
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
static get properties() {
|
|
35
|
-
return {
|
|
36
|
-
"href": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"mutable": false,
|
|
39
|
-
"complexType": {
|
|
40
|
-
"original": "string",
|
|
41
|
-
"resolved": "string | undefined",
|
|
42
|
-
"references": {}
|
|
43
|
-
},
|
|
44
|
-
"required": false,
|
|
45
|
-
"optional": true,
|
|
46
|
-
"docs": {
|
|
47
|
-
"tags": [],
|
|
48
|
-
"text": "Navigation target. When omitted the item renders as a button."
|
|
49
|
-
},
|
|
50
|
-
"getter": false,
|
|
51
|
-
"setter": false,
|
|
52
|
-
"reflect": false,
|
|
53
|
-
"attribute": "href"
|
|
54
|
-
},
|
|
55
|
-
"current": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"mutable": false,
|
|
58
|
-
"complexType": {
|
|
59
|
-
"original": "boolean",
|
|
60
|
-
"resolved": "boolean",
|
|
61
|
-
"references": {}
|
|
62
|
-
},
|
|
63
|
-
"required": false,
|
|
64
|
-
"optional": false,
|
|
65
|
-
"docs": {
|
|
66
|
-
"tags": [],
|
|
67
|
-
"text": "Marks the current page (last crumb) \u2014 not interactive."
|
|
68
|
-
},
|
|
69
|
-
"getter": false,
|
|
70
|
-
"setter": false,
|
|
71
|
-
"reflect": true,
|
|
72
|
-
"attribute": "current",
|
|
73
|
-
"defaultValue": "false"
|
|
74
|
-
},
|
|
75
|
-
"last": {
|
|
76
|
-
"type": "boolean",
|
|
77
|
-
"mutable": false,
|
|
78
|
-
"complexType": {
|
|
79
|
-
"original": "boolean",
|
|
80
|
-
"resolved": "boolean",
|
|
81
|
-
"references": {}
|
|
82
|
-
},
|
|
83
|
-
"required": false,
|
|
84
|
-
"optional": false,
|
|
85
|
-
"docs": {
|
|
86
|
-
"tags": [],
|
|
87
|
-
"text": "Hide the trailing separator (set on the last item)."
|
|
88
|
-
},
|
|
89
|
-
"getter": false,
|
|
90
|
-
"setter": false,
|
|
91
|
-
"reflect": true,
|
|
92
|
-
"attribute": "last",
|
|
93
|
-
"defaultValue": "false"
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
static get events() {
|
|
98
|
-
return [{
|
|
99
|
-
"method": "indNavigate",
|
|
100
|
-
"name": "indNavigate",
|
|
101
|
-
"bubbles": true,
|
|
102
|
-
"cancelable": true,
|
|
103
|
-
"composed": true,
|
|
104
|
-
"docs": {
|
|
105
|
-
"tags": [],
|
|
106
|
-
"text": "Fires when a non-current item is activated."
|
|
107
|
-
},
|
|
108
|
-
"complexType": {
|
|
109
|
-
"original": "void",
|
|
110
|
-
"resolved": "void",
|
|
111
|
-
"references": {}
|
|
112
|
-
}
|
|
113
|
-
}];
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
//# sourceMappingURL=breadcrumb-item.js.map
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
font-family: var(--ind-font-family-sans);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.btn {
|
|
7
|
-
position: relative;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
gap: var(--ind-spacing-3, 6px);
|
|
13
|
-
padding: var(--ind-spacing-3, 6px) var(--ind-spacing-6, 16px);
|
|
14
|
-
|
|
15
|
-
font-family: inherit;
|
|
16
|
-
font-size: var(--ind-font-size-md, 13px);
|
|
17
|
-
font-weight: var(--ind-font-weight-semibold, 600);
|
|
18
|
-
line-height: 1;
|
|
19
|
-
letter-spacing: 0.01em;
|
|
20
|
-
|
|
21
|
-
background: var(--_bg, var(--ind-button-default-bg, #1a2129));
|
|
22
|
-
color: var(--_fg, var(--ind-button-default-fg, #eef1f5));
|
|
23
|
-
border: 1px solid var(--_border, var(--ind-button-default-border, #3d4856));
|
|
24
|
-
border-radius: var(--ind-radius-md, 3px);
|
|
25
|
-
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
user-select: none;
|
|
28
|
-
touch-action: manipulation;
|
|
29
|
-
transition:
|
|
30
|
-
background-color var(--ind-motion-duration-fast, 120ms),
|
|
31
|
-
border-color var(--ind-motion-duration-fast, 120ms);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.btn:hover:not(:disabled) {
|
|
35
|
-
background: var(--_bg-hover, var(--ind-button-default-bg-hover, #2a3340));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.btn:active:not(:disabled),
|
|
39
|
-
.btn.is-holding:not(:disabled) {
|
|
40
|
-
background: var(--_bg-active, var(--ind-button-default-bg-active, #3d4856));
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.btn:focus-visible {
|
|
44
|
-
outline: 2px solid var(--ind-surface-focus-ring, #22d3ee);
|
|
45
|
-
outline-offset: 2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.btn:disabled {
|
|
49
|
-
opacity: 0.5;
|
|
50
|
-
cursor: not-allowed;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
:host([variant="primary"]) .btn {
|
|
54
|
-
--_bg: var(--ind-button-primary-bg, #2563eb);
|
|
55
|
-
--_bg-hover: var(--ind-button-primary-bg-hover, #60a5fa);
|
|
56
|
-
--_bg-active: var(--ind-button-primary-bg-active, #60a5fa);
|
|
57
|
-
--_fg: var(--ind-button-primary-fg, #ffffff);
|
|
58
|
-
--_border: var(--ind-button-primary-border, #60a5fa);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
:host([variant="danger"]) .btn {
|
|
62
|
-
--_bg: var(--ind-button-danger-bg, #dc2626);
|
|
63
|
-
--_bg-hover: var(--ind-button-danger-bg-hover, #f87171);
|
|
64
|
-
--_bg-active: var(--ind-button-danger-bg-active, #f87171);
|
|
65
|
-
--_fg: var(--ind-button-danger-fg, #ffffff);
|
|
66
|
-
--_border: var(--ind-button-danger-border, #f87171);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
:host([variant="ghost"]) .btn {
|
|
70
|
-
--_bg: transparent;
|
|
71
|
-
--_bg-hover: var(--ind-button-ghost-bg-hover, #1a2129);
|
|
72
|
-
--_bg-active: var(--ind-button-ghost-bg-active, #2a3340);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host([size="sm"]) .btn {
|
|
76
|
-
font-size: var(--ind-font-size-sm, 11px);
|
|
77
|
-
padding: var(--ind-spacing-2, 4px) var(--ind-spacing-5, 12px);
|
|
78
|
-
}
|
|
79
|
-
:host([size="lg"]) .btn {
|
|
80
|
-
font-size: var(--ind-font-size-lg, 14px);
|
|
81
|
-
padding: var(--ind-spacing-5, 12px) var(--ind-spacing-7, 20px);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.content {
|
|
85
|
-
position: relative;
|
|
86
|
-
z-index: 1;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.hold-progress {
|
|
90
|
-
position: absolute;
|
|
91
|
-
inset: 0;
|
|
92
|
-
background: currentColor;
|
|
93
|
-
opacity: 0.18;
|
|
94
|
-
transform-origin: left center;
|
|
95
|
-
transform: scaleX(0);
|
|
96
|
-
transition: transform 60ms linear;
|
|
97
|
-
pointer-events: none;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.sr-only {
|
|
101
|
-
position: absolute;
|
|
102
|
-
width: 1px;
|
|
103
|
-
height: 1px;
|
|
104
|
-
padding: 0;
|
|
105
|
-
margin: -1px;
|
|
106
|
-
overflow: hidden;
|
|
107
|
-
clip: rect(0, 0, 0, 0);
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
border: 0;
|
|
110
|
-
}
|