@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.171 → 2.0.0-next.173
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/bundle/openbridge-webcomponents.bundle.js +286 -105
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +736 -46
- package/dist/automation/automation-button/abstract-automation-button-motorized.d.ts +11 -1
- package/dist/automation/automation-button/abstract-automation-button-motorized.d.ts.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-motorized.js +14 -4
- package/dist/automation/automation-button/abstract-automation-button-motorized.js.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-squared.d.ts +25 -1
- package/dist/automation/automation-button/abstract-automation-button-squared.d.ts.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-squared.js +27 -3
- package/dist/automation/automation-button/abstract-automation-button-squared.js.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.d.ts +12 -0
- package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.d.ts.map +1 -1
- package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.js +8 -0
- package/dist/automation/automation-button/abstract-automation-button-storybook-helpers.js.map +1 -1
- package/dist/automation/bipolar-transistor/bipolar-transistor.js +4 -4
- package/dist/automation/bipolar-transistor/bipolar-transistor.js.map +1 -1
- package/dist/automation/capacitor/capacitor.js +4 -4
- package/dist/automation/capacitor/capacitor.js.map +1 -1
- package/dist/automation/converter/converter.js +4 -4
- package/dist/automation/converter/converter.js.map +1 -1
- package/dist/automation/damper/damper.js +1 -1
- package/dist/automation/damper/damper.js.map +1 -1
- package/dist/automation/diodes/diodes.js +6 -6
- package/dist/automation/diodes/diodes.js.map +1 -1
- package/dist/automation/fan/fan.js +1 -1
- package/dist/automation/fan/fan.js.map +1 -1
- package/dist/automation/filter/filter.js +4 -4
- package/dist/automation/filter/filter.js.map +1 -1
- package/dist/automation/ground/ground.js +3 -3
- package/dist/automation/ground/ground.js.map +1 -1
- package/dist/automation/logic/logic.js +6 -6
- package/dist/automation/logic/logic.js.map +1 -1
- package/dist/automation/mosfet/mosfet.js +8 -8
- package/dist/automation/mosfet/mosfet.js.map +1 -1
- package/dist/automation/motor/motor.js +2 -2
- package/dist/automation/motor/motor.js.map +1 -1
- package/dist/automation/pump/pump.js +2 -2
- package/dist/automation/pump/pump.js.map +1 -1
- package/dist/automation/resistor/resistor.js +5 -5
- package/dist/automation/resistor/resistor.js.map +1 -1
- package/dist/automation/router/router.js +2 -2
- package/dist/automation/router/router.js.map +1 -1
- package/dist/automation/source/source.js +5 -5
- package/dist/automation/source/source.js.map +1 -1
- package/dist/automation/switch/switch.js +4 -4
- package/dist/automation/switch/switch.js.map +1 -1
- package/dist/automation/transformer/transformer.js +2 -2
- package/dist/automation/transformer/transformer.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.css.js +61 -19
- package/dist/components/accordion-card/accordion-card.css.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.d.ts +12 -3
- package/dist/components/accordion-card/accordion-card.d.ts.map +1 -1
- package/dist/components/accordion-card/accordion-card.js +23 -5
- package/dist/components/accordion-card/accordion-card.js.map +1 -1
- package/dist/components/accordion-item/accordion-item.css.js +40 -9
- package/dist/components/accordion-item/accordion-item.css.js.map +1 -1
- package/dist/components/accordion-item/accordion-item.d.ts +14 -5
- package/dist/components/accordion-item/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion-item/accordion-item.js +23 -3
- package/dist/components/accordion-item/accordion-item.js.map +1 -1
- package/dist/internal/focus.d.ts +23 -0
- package/dist/internal/focus.d.ts.map +1 -1
- package/dist/internal/focus.js +38 -1
- package/dist/internal/focus.js.map +1 -1
- package/eslint.config.mjs +56 -0
- package/package.json +1 -1
- package/script/eslint-rules.test.ts +44 -0
- package/src/automation/automation-button/abstract-automation-button-motorized.ts +20 -4
- package/src/automation/automation-button/abstract-automation-button-squared.ts +33 -3
- package/src/automation/automation-button/abstract-automation-button-storybook-helpers.ts +2 -0
- package/src/automation/automation-button/turned-on.spec.ts +64 -0
- package/src/automation/bipolar-transistor/bipolar-transistor.stories.ts +2 -2
- package/src/automation/bipolar-transistor/bipolar-transistor.ts +4 -4
- package/src/automation/capacitor/capacitor.stories.ts +2 -2
- package/src/automation/capacitor/capacitor.ts +4 -4
- package/src/automation/converter/converter.stories.ts +2 -2
- package/src/automation/converter/converter.ts +4 -4
- package/src/automation/damper/damper.stories.ts +2 -2
- package/src/automation/damper/damper.ts +1 -1
- package/src/automation/diodes/diodes.stories.ts +2 -2
- package/src/automation/diodes/diodes.ts +6 -6
- package/src/automation/fan/fan.stories.ts +3 -3
- package/src/automation/fan/fan.ts +1 -1
- package/src/automation/filter/filter.stories.ts +2 -2
- package/src/automation/filter/filter.ts +4 -4
- package/src/automation/ground/ground.stories.ts +2 -2
- package/src/automation/ground/ground.ts +3 -3
- package/src/automation/logic/logic.stories.ts +2 -2
- package/src/automation/logic/logic.ts +6 -6
- package/src/automation/mosfet/mosfet.stories.ts +2 -2
- package/src/automation/mosfet/mosfet.ts +8 -8
- package/src/automation/motor/motor.stories.ts +7 -7
- package/src/automation/motor/motor.ts +2 -2
- package/src/automation/pump/pump.stories.ts +5 -5
- package/src/automation/pump/pump.ts +2 -2
- package/src/automation/resistor/resistor.stories.ts +2 -2
- package/src/automation/resistor/resistor.ts +5 -5
- package/src/automation/router/router.stories.ts +2 -2
- package/src/automation/router/router.ts +2 -2
- package/src/automation/source/source.stories.ts +2 -2
- package/src/automation/source/source.ts +5 -5
- package/src/automation/switch/switch.stories.ts +4 -4
- package/src/automation/switch/switch.ts +4 -4
- package/src/automation/transformer/transformer.stories.ts +2 -2
- package/src/automation/transformer/transformer.ts +2 -2
- package/src/components/accordion-card/accordion-card.css +57 -15
- package/src/components/accordion-card/accordion-card.spec.ts +171 -0
- package/src/components/accordion-card/accordion-card.ts +32 -12
- package/src/components/accordion-item/accordion-item.css +40 -9
- package/src/components/accordion-item/accordion-item.spec.ts +161 -0
- package/src/components/accordion-item/accordion-item.ts +34 -9
- package/src/internal/_test-utils.ts +3 -12
- package/src/internal/focus.ts +45 -0
package/custom-elements.json
CHANGED
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
{
|
|
1302
1302
|
"kind": "variable",
|
|
1303
1303
|
"name": "ObcAbstractAutomationButtonMotorized",
|
|
1304
|
-
"default": "class extends ObcAbstractAutomationButton { constructor(..._args) { super(..._args); this.
|
|
1304
|
+
"default": "class extends ObcAbstractAutomationButton { constructor(..._args) { super(..._args); this.turnedOn = false; this.speedInPercent = 0; this.speedUnit = \"%\"; this.speedMaxDigits = 3; this.labelDirection = AutomationButtonLabelDirection.right; this.variant = \"regular\"; this.direction = AutomationButtonDirection.forward; } get extraReadouts() { const speed = this.speed ?? this.speedInPercent; if (!this.showStatus) return []; if (speed !== void 0 && speed !== null && this.turnedOn) return [{ type: \"value\", value: speed, nDigits: this.speedMaxDigits, unit: this.speedUnit, direction: this.labelDirection, icon: this.labelDirection === AutomationButtonLabelDirection.none ? \"none\" : \"chevron\" }]; else if (!this.turnedOn) return [{ type: \"state-off\", value: \"Off\", hasIcon: true }]; return []; } willUpdate(changed) { super.willUpdate(changed); if (changed.has(\"on\") && this.on !== void 0) this.turnedOn = this.on; } get _on() { return this.turnedOn; } }",
|
|
1305
1305
|
"description": "Base class for motor-driven automation buttons.\n\nExtends `ObcAbstractAutomationButton` with the running state and the speed\nreadout: while the device is on it adds a value row carrying `speed` in\n`speedUnit`, and while it is off it adds the `Off` state row instead.\n\n## Usage Guidelines\n\nNot registered as a custom element. `obc-fan`, `obc-motor` and `obc-pump`\nextend it and supply their own `icon` and `variant`."
|
|
1306
1306
|
}
|
|
1307
1307
|
],
|
|
@@ -1331,7 +1331,8 @@
|
|
|
1331
1331
|
{
|
|
1332
1332
|
"kind": "variable",
|
|
1333
1333
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
1334
|
-
"default": "class extends ObcAbstractAutomationButton { constructor(..._args) { super(..._args); this.
|
|
1334
|
+
"default": "class extends ObcAbstractAutomationButton { constructor(..._args) { super(..._args); this.turnedOn = false; this.variant = \"square\"; this.orientation = AutomationButtonOrientation.horizontal; } get _orientation() { return this.orientation; } get extraReadouts() { if (!this.showStatus) return []; if (this.turnedOn) return [{ type: \"state-on\", value: \"On\", hasIcon: true }]; else return [{ type: \"state-off\", value: \"Off\", hasIcon: true }]; } willUpdate(changed) { super.willUpdate(changed); if (changed.has(\"on\") && this.on !== void 0) this.turnedOn = this.on; } get _on() { return this.turnedOn; } }",
|
|
1335
|
+
"description": "Base class for two-state automation buttons.\n\nExtends `ObcAbstractAutomationButton` with the on/off state: the subclass\npicks its icon from `turnedOn`, and the readout adds the `On` or `Off`\nstate row.\n\n## Usage Guidelines\n\nNot registered as a custom element. `obc-switch`, `obc-converter`,\n`obc-diodes` and the other two-state devices extend it and supply their own\n`icon`."
|
|
1335
1336
|
}
|
|
1336
1337
|
],
|
|
1337
1338
|
"exports": [
|
|
@@ -1610,7 +1611,7 @@
|
|
|
1610
1611
|
{
|
|
1611
1612
|
"kind": "variable",
|
|
1612
1613
|
"name": "ObcBipolarTransistor",
|
|
1613
|
-
"default": "class ObcBipolarTransistor extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"bipolarTransistor01\"; } get icon() { switch (this.alternativeIcon) { case \"bipolarTransistor02\": if (this.
|
|
1614
|
+
"default": "class ObcBipolarTransistor extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"bipolarTransistor01\"; } get icon() { switch (this.alternativeIcon) { case \"bipolarTransistor02\": if (this.turnedOn) return html`<obi-bipolar-transistor-02-on usecsscolor slot=\"icon\" ></obi-bipolar-transistor-02-on> <obi-bipolar-transistor-02-on usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-02-on>`; else return html`<obi-bipolar-transistor-02-off usecsscolor slot=\"icon\" ></obi-bipolar-transistor-02-off> <obi-bipolar-transistor-02-off usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-02-off>`; case \"bipolarTransistor03\": if (this.turnedOn) return html`<obi-bipolar-transistor-03-on usecsscolor slot=\"icon\" ></obi-bipolar-transistor-03-on> <obi-bipolar-transistor-03-on usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-03-on>`; else return html`<obi-bipolar-transistor-03-off usecsscolor slot=\"icon\" ></obi-bipolar-transistor-03-off> <obi-bipolar-transistor-03-off usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-03-off>`; case \"bipolarTransistor04\": if (this.turnedOn) return html`<obi-bipolar-transistor-04-on usecsscolor slot=\"icon\" ></obi-bipolar-transistor-04-on> <obi-bipolar-transistor-04-on usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-04-on>`; else return html`<obi-bipolar-transistor-04-off usecsscolor slot=\"icon\" ></obi-bipolar-transistor-04-off> <obi-bipolar-transistor-04-off usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-04-off>`; case \"bipolarTransistor03Flat\": return html`<obi-bipolar-transistor-03-flat usecsscolor slot=\"icon\" ></obi-bipolar-transistor-03-flat> <obi-bipolar-transistor-03-flat usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-03-flat>`; case \"bipolarTransistor04Flat\": return html`<obi-bipolar-transistor-04-flat usecsscolor slot=\"icon\" ></obi-bipolar-transistor-04-flat> <obi-bipolar-transistor-04-flat usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-04-flat>`; default: if (this.turnedOn) return html`<obi-bipolar-transistor-on usecsscolor slot=\"icon\" ></obi-bipolar-transistor-on> <obi-bipolar-transistor-on usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-on>`; else return html`<obi-bipolar-transistor-off usecsscolor slot=\"icon\" ></obi-bipolar-transistor-off> <obi-bipolar-transistor-off usecsscolor slot=\"icon-silhouette\" ></obi-bipolar-transistor-off>`; } } }"
|
|
1614
1615
|
}
|
|
1615
1616
|
],
|
|
1616
1617
|
"exports": [
|
|
@@ -1676,7 +1677,7 @@
|
|
|
1676
1677
|
{
|
|
1677
1678
|
"kind": "variable",
|
|
1678
1679
|
"name": "ObcCapacitor",
|
|
1679
|
-
"default": "class ObcCapacitor extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"capacitor01\"; } get icon() { switch (this.alternativeIcon) { case \"capacitor02\": if (this.
|
|
1680
|
+
"default": "class ObcCapacitor extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"capacitor01\"; } get icon() { switch (this.alternativeIcon) { case \"capacitor02\": if (this.turnedOn) return html`<obi-capacitor-02-on usecsscolor slot=\"icon\" ></obi-capacitor-02-on> <obi-capacitor-02-on usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-02-on>`; else return html`<obi-capacitor-02-off usecsscolor slot=\"icon\" ></obi-capacitor-02-off> <obi-capacitor-02-off usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-02-off>`; case \"capacitor03\": if (this.turnedOn) return html`<obi-capacitor-03-on usecsscolor slot=\"icon\" ></obi-capacitor-03-on> <obi-capacitor-03-on usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-03-on>`; else return html`<obi-capacitor-03-off usecsscolor slot=\"icon\" ></obi-capacitor-03-off> <obi-capacitor-03-off usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-03-off>`; case \"capacitor04\": if (this.turnedOn) return html`<obi-capacitor-04-on usecsscolor slot=\"icon\" ></obi-capacitor-04-on> <obi-capacitor-04-on usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-04-on>`; else return html`<obi-capacitor-04-off usecsscolor slot=\"icon\" ></obi-capacitor-04-off> <obi-capacitor-04-off usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-04-off>`; default: if (this.turnedOn) return html`<obi-capacitor-01-on usecsscolor slot=\"icon\" ></obi-capacitor-01-on> <obi-capacitor-01-on usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-01-on>`; else return html`<obi-capacitor-01-off usecsscolor slot=\"icon\" ></obi-capacitor-01-off> <obi-capacitor-01-off usecsscolor slot=\"icon-silhouette\" ></obi-capacitor-01-off>`; } } }"
|
|
1680
1681
|
}
|
|
1681
1682
|
],
|
|
1682
1683
|
"exports": [
|
|
@@ -1705,7 +1706,7 @@
|
|
|
1705
1706
|
{
|
|
1706
1707
|
"kind": "variable",
|
|
1707
1708
|
"name": "ObcConverter",
|
|
1708
|
-
"default": "class ObcConverter extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"converterDcdc\"; } get icon() { switch (this.alternativeIcon) { case \"converterDcac\": if (this.
|
|
1709
|
+
"default": "class ObcConverter extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"converterDcdc\"; } get icon() { switch (this.alternativeIcon) { case \"converterDcac\": if (this.turnedOn) return html`<obi-converter-dcac-on usecsscolor slot=\"icon\" ></obi-converter-dcac-on> <obi-converter-dcac-on usecsscolor slot=\"icon-silhouette\" ></obi-converter-dcac-on>`; else return html`<obi-converter-dcac-off usecsscolor slot=\"icon\" ></obi-converter-dcac-off> <obi-converter-dcac-off usecsscolor slot=\"icon-silhouette\" ></obi-converter-dcac-off>`; case \"converterAcdc\": if (this.turnedOn) return html`<obi-converter-acdc-on usecsscolor slot=\"icon\" ></obi-converter-acdc-on> <obi-converter-acdc-on usecsscolor slot=\"icon-silhouette\" ></obi-converter-acdc-on>`; else return html`<obi-converter-acdc-off usecsscolor slot=\"icon\" ></obi-converter-acdc-off> <obi-converter-acdc-off usecsscolor slot=\"icon-silhouette\" ></obi-converter-acdc-off>`; case \"converterFilter1\": if (this.turnedOn) return html`<obi-converter-filter-1-on usecsscolor slot=\"icon\" ></obi-converter-filter-1-on> <obi-converter-filter-1-on usecsscolor slot=\"icon-silhouette\" ></obi-converter-filter-1-on>`; else return html`<obi-converter-filter-1-off usecsscolor slot=\"icon\" ></obi-converter-filter-1-off> <obi-converter-filter-1-off usecsscolor slot=\"icon-silhouette\" ></obi-converter-filter-1-off>`; default: if (this.turnedOn) return html`<obi-converter-dcdc-on usecsscolor slot=\"icon\" ></obi-converter-dcdc-on> <obi-converter-dcdc-on usecsscolor slot=\"icon-silhouette\" ></obi-converter-dcdc-on>`; else return html`<obi-converter-dcdc-off usecsscolor slot=\"icon\" ></obi-converter-dcdc-off> <obi-converter-dcdc-off usecsscolor slot=\"icon-silhouette\" ></obi-converter-dcdc-off>`; } } }"
|
|
1709
1710
|
}
|
|
1710
1711
|
],
|
|
1711
1712
|
"exports": [
|
|
@@ -1763,7 +1764,7 @@
|
|
|
1763
1764
|
{
|
|
1764
1765
|
"kind": "variable",
|
|
1765
1766
|
"name": "ObcDamper",
|
|
1766
|
-
"default": "class ObcDamper extends ObcAbstractAutomationButtonSquared { get icon() { if (this.
|
|
1767
|
+
"default": "class ObcDamper extends ObcAbstractAutomationButtonSquared { get icon() { if (this.turnedOn) return html`<obi-damper-horizontal-on usecsscolor slot=\"icon\" ></obi-damper-horizontal-on> <obi-damper-horizontal-on usecsscolor slot=\"icon-silhouette\" ></obi-damper-horizontal-on>`; else return html`<obi-damper-horizontal-off usecsscolor slot=\"icon\" ></obi-damper-horizontal-off> <obi-damper-horizontal-off usecsscolor slot=\"icon-silhouette\" ></obi-damper-horizontal-off>`; } }"
|
|
1767
1768
|
}
|
|
1768
1769
|
],
|
|
1769
1770
|
"exports": [
|
|
@@ -1813,7 +1814,7 @@
|
|
|
1813
1814
|
{
|
|
1814
1815
|
"kind": "variable",
|
|
1815
1816
|
"name": "ObcDiodes",
|
|
1816
|
-
"default": "class ObcDiodes extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"diodes01\"; } get icon() { switch (this.alternativeIcon) { case \"diodes02\": if (this.
|
|
1817
|
+
"default": "class ObcDiodes extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"diodes01\"; } get icon() { switch (this.alternativeIcon) { case \"diodes02\": if (this.turnedOn) return html`<obi-diodes-02-on usecsscolor slot=\"icon\" ></obi-diodes-02-on> <obi-diodes-02-on usecsscolor slot=\"icon-silhouette\" ></obi-diodes-02-on>`; else return html`<obi-diodes-02-off usecsscolor slot=\"icon\" ></obi-diodes-02-off> <obi-diodes-02-off usecsscolor slot=\"icon-silhouette\" ></obi-diodes-02-off>`; case \"diodes03\": if (this.turnedOn) return html`<obi-diodes-03-on usecsscolor slot=\"icon\" ></obi-diodes-03-on> <obi-diodes-03-on usecsscolor slot=\"icon-silhouette\" ></obi-diodes-03-on>`; else return html`<obi-diodes-03-off usecsscolor slot=\"icon\" ></obi-diodes-03-off> <obi-diodes-03-off usecsscolor slot=\"icon-silhouette\" ></obi-diodes-03-off>`; case \"diodes04\": if (this.turnedOn) return html`<obi-diodes-04-on usecsscolor slot=\"icon\" ></obi-diodes-04-on> <obi-diodes-04-on usecsscolor slot=\"icon-silhouette\" ></obi-diodes-04-on>`; else return html`<obi-diodes-04-off usecsscolor slot=\"icon\" ></obi-diodes-04-off> <obi-diodes-04-off usecsscolor slot=\"icon-silhouette\" ></obi-diodes-04-off>`; case \"diodes05\": if (this.turnedOn) return html`<obi-diodes-05-on usecsscolor slot=\"icon\" ></obi-diodes-05-on> <obi-diodes-05-on usecsscolor slot=\"icon-silhouette\" ></obi-diodes-05-on>`; else return html`<obi-diodes-05-off usecsscolor slot=\"icon\" ></obi-diodes-05-off> <obi-diodes-05-off usecsscolor slot=\"icon-silhouette\" ></obi-diodes-05-off>`; case \"diodes06\": if (this.turnedOn) return html`<obi-diodes-06-on usecsscolor slot=\"icon\" ></obi-diodes-06-on> <obi-diodes-06-on usecsscolor slot=\"icon-silhouette\" ></obi-diodes-06-on>`; else return html`<obi-diodes-06-off usecsscolor slot=\"icon\" ></obi-diodes-06-off> <obi-diodes-06-off usecsscolor slot=\"icon-silhouette\" ></obi-diodes-06-off>`; default: if (this.turnedOn) return html`<obi-diodes-01-on usecsscolor slot=\"icon\" ></obi-diodes-01-on> <obi-diodes-01-on usecsscolor slot=\"icon-silhouette\" ></obi-diodes-01-on>`; else return html`<obi-diodes-01-off usecsscolor slot=\"icon\" ></obi-diodes-01-off> <obi-diodes-01-off usecsscolor slot=\"icon-silhouette\" ></obi-diodes-01-off>`; } } }"
|
|
1817
1818
|
}
|
|
1818
1819
|
],
|
|
1819
1820
|
"exports": [
|
|
@@ -1892,7 +1893,7 @@
|
|
|
1892
1893
|
{
|
|
1893
1894
|
"kind": "variable",
|
|
1894
1895
|
"name": "ObcFan",
|
|
1895
|
-
"default": "class ObcFan extends ObcAbstractAutomationButtonMotorized { get icon() { if (this.
|
|
1896
|
+
"default": "class ObcFan extends ObcAbstractAutomationButtonMotorized { get icon() { if (this.turnedOn) return html`<obi-fan-on usecsscolor slot=\"icon\"></obi-fan-on> <obi-fan-on usecsscolor slot=\"icon-silhouette\"></obi-fan-on>`; else return html`<obi-fan-off usecsscolor slot=\"icon\"></obi-fan-off> <obi-fan-off usecsscolor slot=\"icon-silhouette\"></obi-fan-off>`; } }"
|
|
1896
1897
|
}
|
|
1897
1898
|
],
|
|
1898
1899
|
"exports": [
|
|
@@ -1913,7 +1914,7 @@
|
|
|
1913
1914
|
{
|
|
1914
1915
|
"kind": "variable",
|
|
1915
1916
|
"name": "ObcFilter",
|
|
1916
|
-
"default": "class ObcFilter extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"filter1\"; } get icon() { switch (this.alternativeIcon) { case \"filter2\": if (this.
|
|
1917
|
+
"default": "class ObcFilter extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"filter1\"; } get icon() { switch (this.alternativeIcon) { case \"filter2\": if (this.turnedOn) return html`<obi-filter-2-on usecsscolor slot=\"icon\" ></obi-filter-2-on> <obi-filter-2-on usecsscolor slot=\"icon-silhouette\" ></obi-filter-2-on>`; else return html`<obi-filter-2-off usecsscolor slot=\"icon\" ></obi-filter-2-off> <obi-filter-2-off usecsscolor slot=\"icon-silhouette\" ></obi-filter-2-off>`; case \"filter3\": if (this.turnedOn) return html`<obi-filter-3-on usecsscolor slot=\"icon\" ></obi-filter-3-on> <obi-filter-3-on usecsscolor slot=\"icon-silhouette\" ></obi-filter-3-on>`; else return html`<obi-filter-3-off usecsscolor slot=\"icon\" ></obi-filter-3-off> <obi-filter-3-off usecsscolor slot=\"icon-silhouette\" ></obi-filter-3-off>`; case \"filter4\": if (this.turnedOn) return html`<obi-filter-4-on usecsscolor slot=\"icon\" ></obi-filter-4-on> <obi-filter-4-on usecsscolor slot=\"icon-silhouette\" ></obi-filter-4-on>`; else return html`<obi-filter-4-off usecsscolor slot=\"icon\" ></obi-filter-4-off> <obi-filter-4-off usecsscolor slot=\"icon-silhouette\" ></obi-filter-4-off>`; default: if (this.turnedOn) return html`<obi-filter-1-on usecsscolor slot=\"icon\" ></obi-filter-1-on> <obi-filter-1-on usecsscolor slot=\"icon-silhouette\" ></obi-filter-1-on>`; else return html`<obi-filter-1-off usecsscolor slot=\"icon\" ></obi-filter-1-off> <obi-filter-1-off usecsscolor slot=\"icon-silhouette\" ></obi-filter-1-off>`; } } }"
|
|
1917
1918
|
}
|
|
1918
1919
|
],
|
|
1919
1920
|
"exports": [
|
|
@@ -2045,7 +2046,7 @@
|
|
|
2045
2046
|
{
|
|
2046
2047
|
"kind": "variable",
|
|
2047
2048
|
"name": "ObcGround",
|
|
2048
|
-
"default": "class ObcGround extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"ground1\"; } get icon() { switch (this.alternativeIcon) { case \"ground2\": if (this.
|
|
2049
|
+
"default": "class ObcGround extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"ground1\"; } get icon() { switch (this.alternativeIcon) { case \"ground2\": if (this.turnedOn) return html`<obi-ground-2-on usecsscolor slot=\"icon\" ></obi-ground-2-on> <obi-ground-2-on usecsscolor slot=\"icon-silhouette\" ></obi-ground-2-on>`; else return html`<obi-ground-2-off usecsscolor slot=\"icon\" ></obi-ground-2-off> <obi-ground-2-off usecsscolor slot=\"icon-silhouette\" ></obi-ground-2-off>`; case \"ground3\": if (this.turnedOn) return html`<obi-ground-3-on usecsscolor slot=\"icon\" ></obi-ground-3-on> <obi-ground-3-on usecsscolor slot=\"icon-silhouette\" ></obi-ground-3-on>`; else return html`<obi-ground-3-off usecsscolor slot=\"icon\" ></obi-ground-3-off> <obi-ground-3-off usecsscolor slot=\"icon-silhouette\" ></obi-ground-3-off>`; default: if (this.turnedOn) return html`<obi-ground-1-on usecsscolor slot=\"icon\" ></obi-ground-1-on> <obi-ground-1-on usecsscolor slot=\"icon-silhouette\" ></obi-ground-1-on>`; else return html`<obi-ground-1-off usecsscolor slot=\"icon\" ></obi-ground-1-off> <obi-ground-1-off usecsscolor slot=\"icon-silhouette\" ></obi-ground-1-off>`; } } }"
|
|
2049
2050
|
}
|
|
2050
2051
|
],
|
|
2051
2052
|
"exports": [
|
|
@@ -2419,7 +2420,7 @@
|
|
|
2419
2420
|
{
|
|
2420
2421
|
"kind": "variable",
|
|
2421
2422
|
"name": "ObcLogic",
|
|
2422
|
-
"default": "class ObcLogic extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"logic01\"; } get icon() { switch (this.alternativeIcon) { case \"logic02\": if (this.
|
|
2423
|
+
"default": "class ObcLogic extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"logic01\"; } get icon() { switch (this.alternativeIcon) { case \"logic02\": if (this.turnedOn) return html`<obi-logic-02-on usecsscolor slot=\"icon\" ></obi-logic-02-on> <obi-logic-02-on usecsscolor slot=\"icon-silhouette\" ></obi-logic-02-on>`; else return html`<obi-logic-02-off usecsscolor slot=\"icon\" ></obi-logic-02-off> <obi-logic-02-off usecsscolor slot=\"icon-silhouette\" ></obi-logic-02-off>`; case \"logic03\": if (this.turnedOn) return html`<obi-logic-03-on usecsscolor slot=\"icon\" ></obi-logic-03-on> <obi-logic-03-on usecsscolor slot=\"icon-silhouette\" ></obi-logic-03-on>`; else return html`<obi-logic-03-off usecsscolor slot=\"icon\" ></obi-logic-03-off> <obi-logic-03-off usecsscolor slot=\"icon-silhouette\" ></obi-logic-03-off>`; case \"logic04\": if (this.turnedOn) return html`<obi-logic-04-on usecsscolor slot=\"icon\" ></obi-logic-04-on> <obi-logic-04-on usecsscolor slot=\"icon-silhouette\" ></obi-logic-04-on>`; else return html`<obi-logic-04-off usecsscolor slot=\"icon\" ></obi-logic-04-off> <obi-logic-04-off usecsscolor slot=\"icon-silhouette\" ></obi-logic-04-off>`; case \"logic05\": if (this.turnedOn) return html`<obi-logic-05-on usecsscolor slot=\"icon\" ></obi-logic-05-on> <obi-logic-05-on usecsscolor slot=\"icon-silhouette\" ></obi-logic-05-on>`; else return html`<obi-logic-05-off usecsscolor slot=\"icon\" ></obi-logic-05-off> <obi-logic-05-off usecsscolor slot=\"icon-silhouette\" ></obi-logic-05-off>`; case \"logic06\": if (this.turnedOn) return html`<obi-logic-06-on usecsscolor slot=\"icon\" ></obi-logic-06-on> <obi-logic-06-on usecsscolor slot=\"icon-silhouette\" ></obi-logic-06-on>`; else return html`<obi-logic-06-off usecsscolor slot=\"icon\" ></obi-logic-06-off> <obi-logic-06-off usecsscolor slot=\"icon-silhouette\" ></obi-logic-06-off>`; default: if (this.turnedOn) return html`<obi-logic-01-on usecsscolor slot=\"icon\" ></obi-logic-01-on> <obi-logic-01-on usecsscolor slot=\"icon-silhouette\" ></obi-logic-01-on>`; else return html`<obi-logic-01-off usecsscolor slot=\"icon\" ></obi-logic-01-off> <obi-logic-01-off usecsscolor slot=\"icon-silhouette\" ></obi-logic-01-off>`; } } }"
|
|
2423
2424
|
}
|
|
2424
2425
|
],
|
|
2425
2426
|
"exports": [
|
|
@@ -2448,7 +2449,7 @@
|
|
|
2448
2449
|
{
|
|
2449
2450
|
"kind": "variable",
|
|
2450
2451
|
"name": "ObcMosfet",
|
|
2451
|
-
"default": "class ObcMosfet extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"mosfetNtype1\"; } get icon() { switch (this.alternativeIcon) { case \"mosfetNtype2\": if (this.
|
|
2452
|
+
"default": "class ObcMosfet extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"mosfetNtype1\"; } get icon() { switch (this.alternativeIcon) { case \"mosfetNtype2\": if (this.turnedOn) return html`<obi-mosfet-ntype-2-on usecsscolor slot=\"icon\" ></obi-mosfet-ntype-2-on> <obi-mosfet-ntype-2-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-2-on>`; else return html`<obi-mosfet-ntype-2-off usecsscolor slot=\"icon\" ></obi-mosfet-ntype-2-off> <obi-mosfet-ntype-2-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-2-off>`; case \"mosfetNtype3\": if (this.turnedOn) return html`<obi-mosfet-ntype-3-on usecsscolor slot=\"icon\" ></obi-mosfet-ntype-3-on> <obi-mosfet-ntype-3-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-3-on>`; else return html`<obi-mosfet-ntype-3-off usecsscolor slot=\"icon\" ></obi-mosfet-ntype-3-off> <obi-mosfet-ntype-3-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-3-off>`; case \"mosfetNtype4\": if (this.turnedOn) return html`<obi-mosfet-ntype-4-on usecsscolor slot=\"icon\" ></obi-mosfet-ntype-4-on> <obi-mosfet-ntype-4-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-4-on>`; else return html`<obi-mosfet-ntype-4-off usecsscolor slot=\"icon\" ></obi-mosfet-ntype-4-off> <obi-mosfet-ntype-4-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-4-off>`; case \"mosfetPtype1\": if (this.turnedOn) return html`<obi-mosfet-ptype-1-on usecsscolor slot=\"icon\" ></obi-mosfet-ptype-1-on> <obi-mosfet-ptype-1-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-1-on>`; else return html`<obi-mosfet-ptype-1-off usecsscolor slot=\"icon\" ></obi-mosfet-ptype-1-off> <obi-mosfet-ptype-1-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-1-off>`; case \"mosfetPtype2\": if (this.turnedOn) return html`<obi-mosfet-ptype-2-on usecsscolor slot=\"icon\" ></obi-mosfet-ptype-2-on> <obi-mosfet-ptype-2-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-2-on>`; else return html`<obi-mosfet-ptype-2-off usecsscolor slot=\"icon\" ></obi-mosfet-ptype-2-off> <obi-mosfet-ptype-2-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-2-off>`; case \"mosfetPtype3\": if (this.turnedOn) return html`<obi-mosfet-ptype-3-on usecsscolor slot=\"icon\" ></obi-mosfet-ptype-3-on> <obi-mosfet-ptype-3-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-3-on>`; else return html`<obi-mosfet-ptype-3-off usecsscolor slot=\"icon\" ></obi-mosfet-ptype-3-off> <obi-mosfet-ptype-3-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-3-off>`; case \"mosfetPtype4\": if (this.turnedOn) return html`<obi-mosfet-ptype-4-on usecsscolor slot=\"icon\" ></obi-mosfet-ptype-4-on> <obi-mosfet-ptype-4-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-4-on>`; else return html`<obi-mosfet-ptype-4-off usecsscolor slot=\"icon\" ></obi-mosfet-ptype-4-off> <obi-mosfet-ptype-4-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ptype-4-off>`; default: if (this.turnedOn) return html`<obi-mosfet-ntype-1-on usecsscolor slot=\"icon\" ></obi-mosfet-ntype-1-on> <obi-mosfet-ntype-1-on usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-1-on>`; else return html`<obi-mosfet-ntype-1-off usecsscolor slot=\"icon\" ></obi-mosfet-ntype-1-off> <obi-mosfet-ntype-1-off usecsscolor slot=\"icon-silhouette\" ></obi-mosfet-ntype-1-off>`; } } }"
|
|
2452
2453
|
}
|
|
2453
2454
|
],
|
|
2454
2455
|
"exports": [
|
|
@@ -2477,7 +2478,7 @@
|
|
|
2477
2478
|
{
|
|
2478
2479
|
"kind": "variable",
|
|
2479
2480
|
"name": "ObcMotor",
|
|
2480
|
-
"default": "class ObcMotor extends ObcAbstractAutomationButtonMotorized { constructor(..._args) { super(..._args); this.vertical = false; } get icon() { if (this.vertical) { if (this.
|
|
2481
|
+
"default": "class ObcMotor extends ObcAbstractAutomationButtonMotorized { constructor(..._args) { super(..._args); this.vertical = false; } get icon() { if (this.vertical) { if (this.turnedOn) return html`<obi-motor-on-vertical usecsscolor slot=\"icon\" ></obi-motor-on-vertical> <obi-motor-on-vertical usecsscolor slot=\"icon-silhouette\" ></obi-motor-on-vertical>`; else return html`<obi-motor-off-vertical usecsscolor slot=\"icon\" ></obi-motor-off-vertical> <obi-motor-off-vertical usecsscolor slot=\"icon-silhouette\" ></obi-motor-off-vertical>`; } else if (this.turnedOn) return html`<obi-motor-on-horizontal usecsscolor slot=\"icon\" ></obi-motor-on-horizontal> <obi-motor-on-horizontal usecsscolor slot=\"icon-silhouette\" ></obi-motor-on-horizontal>`; else return html`<obi-motor-off-horizontal usecsscolor slot=\"icon\" ></obi-motor-off-horizontal> <obi-motor-off-horizontal usecsscolor slot=\"icon-silhouette\" ></obi-motor-off-horizontal>`; } }"
|
|
2481
2482
|
}
|
|
2482
2483
|
],
|
|
2483
2484
|
"exports": [
|
|
@@ -2498,7 +2499,7 @@
|
|
|
2498
2499
|
{
|
|
2499
2500
|
"kind": "variable",
|
|
2500
2501
|
"name": "ObcPump",
|
|
2501
|
-
"default": "class ObcPump extends ObcAbstractAutomationButtonMotorized { constructor(..._args) { super(..._args); this.vertical = false; } get icon() { if (this.vertical) { if (this.
|
|
2502
|
+
"default": "class ObcPump extends ObcAbstractAutomationButtonMotorized { constructor(..._args) { super(..._args); this.vertical = false; } get icon() { if (this.vertical) { if (this.turnedOn) return html`<obi-pump-on-vertical usecsscolor slot=\"icon\" ></obi-pump-on-vertical> <obi-pump-on-vertical usecsscolor slot=\"icon-silhouette\" ></obi-pump-on-vertical>`; else return html`<obi-pump-off-vertical usecsscolor slot=\"icon\" ></obi-pump-off-vertical> <obi-pump-off-vertical usecsscolor slot=\"icon-silhouette\" ></obi-pump-off-vertical>`; } else if (this.turnedOn) return html`<obi-pump-on-horizontal usecsscolor slot=\"icon\" ></obi-pump-on-horizontal> <obi-pump-on-horizontal usecsscolor slot=\"icon-silhouette\" ></obi-pump-on-horizontal>`; else return html`<obi-pump-off-horizontal usecsscolor slot=\"icon\" ></obi-pump-off-horizontal> <obi-pump-off-horizontal usecsscolor slot=\"icon-silhouette\" ></obi-pump-off-horizontal>`; } }"
|
|
2502
2503
|
}
|
|
2503
2504
|
],
|
|
2504
2505
|
"exports": [
|
|
@@ -2519,7 +2520,7 @@
|
|
|
2519
2520
|
{
|
|
2520
2521
|
"kind": "variable",
|
|
2521
2522
|
"name": "ObcResistor",
|
|
2522
|
-
"default": "class ObcResistor extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"resistor1\"; } get icon() { switch (this.alternativeIcon) { case \"resistor2\": if (this.
|
|
2523
|
+
"default": "class ObcResistor extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"resistor1\"; } get icon() { switch (this.alternativeIcon) { case \"resistor2\": if (this.turnedOn) return html`<obi-resistor-2-on usecsscolor slot=\"icon\" ></obi-resistor-2-on> <obi-resistor-2-on usecsscolor slot=\"icon-silhouette\" ></obi-resistor-2-on>`; else return html`<obi-resistor-2-off usecsscolor slot=\"icon\" ></obi-resistor-2-off> <obi-resistor-2-off usecsscolor slot=\"icon-silhouette\" ></obi-resistor-2-off>`; case \"resistor3\": if (this.turnedOn) return html`<obi-resistor-3-on usecsscolor slot=\"icon\" ></obi-resistor-3-on> <obi-resistor-3-on usecsscolor slot=\"icon-silhouette\" ></obi-resistor-3-on>`; else return html`<obi-resistor-3-off usecsscolor slot=\"icon\" ></obi-resistor-3-off> <obi-resistor-3-off usecsscolor slot=\"icon-silhouette\" ></obi-resistor-3-off>`; case \"resistor4\": if (this.turnedOn) return html`<obi-resistor-4-on usecsscolor slot=\"icon\" ></obi-resistor-4-on> <obi-resistor-4-on usecsscolor slot=\"icon-silhouette\" ></obi-resistor-4-on>`; else return html`<obi-resistor-4-off usecsscolor slot=\"icon\" ></obi-resistor-4-off> <obi-resistor-4-off usecsscolor slot=\"icon-silhouette\" ></obi-resistor-4-off>`; case \"resistor5\": if (this.turnedOn) return html`<obi-resistor-5-on usecsscolor slot=\"icon\" ></obi-resistor-5-on> <obi-resistor-5-on usecsscolor slot=\"icon-silhouette\" ></obi-resistor-5-on>`; else return html`<obi-resistor-5-off usecsscolor slot=\"icon\" ></obi-resistor-5-off> <obi-resistor-5-off usecsscolor slot=\"icon-silhouette\" ></obi-resistor-5-off>`; default: if (this.turnedOn) return html`<obi-resistor-1-on usecsscolor slot=\"icon\" ></obi-resistor-1-on> <obi-resistor-1-on usecsscolor slot=\"icon-silhouette\" ></obi-resistor-1-on>`; else return html`<obi-resistor-1-off usecsscolor slot=\"icon\" ></obi-resistor-1-off> <obi-resistor-1-off usecsscolor slot=\"icon-silhouette\" ></obi-resistor-1-off>`; } } }"
|
|
2523
2524
|
}
|
|
2524
2525
|
],
|
|
2525
2526
|
"exports": [
|
|
@@ -2548,7 +2549,7 @@
|
|
|
2548
2549
|
{
|
|
2549
2550
|
"kind": "variable",
|
|
2550
2551
|
"name": "ObcRouter",
|
|
2551
|
-
"default": "class ObcRouter extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"router\"; } get icon() { switch (this.alternativeIcon) { case \"router2\": if (this.
|
|
2552
|
+
"default": "class ObcRouter extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"router\"; } get icon() { switch (this.alternativeIcon) { case \"router2\": if (this.turnedOn) return html`<obi-router-2-on usecsscolor slot=\"icon\" ></obi-router-2-on> <obi-router-2-on usecsscolor slot=\"icon-silhouette\" ></obi-router-2-on>`; else return html`<obi-router-2-off usecsscolor slot=\"icon\" ></obi-router-2-off> <obi-router-2-off usecsscolor slot=\"icon-silhouette\" ></obi-router-2-off>`; default: if (this.turnedOn) return html`<obi-router-on usecsscolor slot=\"icon\"></obi-router-on> <obi-router-on usecsscolor slot=\"icon-silhouette\"></obi-router-on>`; else return html`<obi-router-off usecsscolor slot=\"icon\"></obi-router-off> <obi-router-off usecsscolor slot=\"icon-silhouette\" ></obi-router-off>`; } } }"
|
|
2552
2553
|
}
|
|
2553
2554
|
],
|
|
2554
2555
|
"exports": [
|
|
@@ -2599,7 +2600,7 @@
|
|
|
2599
2600
|
{
|
|
2600
2601
|
"kind": "variable",
|
|
2601
2602
|
"name": "ObcSource",
|
|
2602
|
-
"default": "class ObcSource extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"sources01\"; } get icon() { switch (this.alternativeIcon) { case \"sources02\": if (this.
|
|
2603
|
+
"default": "class ObcSource extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"sources01\"; } get icon() { switch (this.alternativeIcon) { case \"sources02\": if (this.turnedOn) return html`<obi-sources-02-on usecsscolor slot=\"icon\" ></obi-sources-02-on> <obi-sources-02-on usecsscolor slot=\"icon-silhouette\" ></obi-sources-02-on>`; else return html`<obi-sources-02-off usecsscolor slot=\"icon\" ></obi-sources-02-off> <obi-sources-02-off usecsscolor slot=\"icon-silhouette\" ></obi-sources-02-off>`; case \"sources03\": if (this.turnedOn) return html`<obi-sources-03-on usecsscolor slot=\"icon\" ></obi-sources-03-on> <obi-sources-03-on usecsscolor slot=\"icon-silhouette\" ></obi-sources-03-on>`; else return html`<obi-sources-03-off usecsscolor slot=\"icon\" ></obi-sources-03-off> <obi-sources-03-off usecsscolor slot=\"icon-silhouette\" ></obi-sources-03-off>`; case \"sources04\": if (this.turnedOn) return html`<obi-sources-04-on usecsscolor slot=\"icon\" ></obi-sources-04-on> <obi-sources-04-on usecsscolor slot=\"icon-silhouette\" ></obi-sources-04-on>`; else return html`<obi-sources-04-off usecsscolor slot=\"icon\" ></obi-sources-04-off> <obi-sources-04-off usecsscolor slot=\"icon-silhouette\" ></obi-sources-04-off>`; case \"sources05\": if (this.turnedOn) return html`<obi-sources-05-on usecsscolor slot=\"icon\" ></obi-sources-05-on> <obi-sources-05-on usecsscolor slot=\"icon-silhouette\" ></obi-sources-05-on>`; else return html`<obi-sources-05-off usecsscolor slot=\"icon\" ></obi-sources-05-off> <obi-sources-05-off usecsscolor slot=\"icon-silhouette\" ></obi-sources-05-off>`; default: if (this.turnedOn) return html`<obi-sources-01-on usecsscolor slot=\"icon\" ></obi-sources-01-on> <obi-sources-01-on usecsscolor slot=\"icon-silhouette\" ></obi-sources-01-on>`; else return html`<obi-sources-01-off usecsscolor slot=\"icon\" ></obi-sources-01-off> <obi-sources-01-off usecsscolor slot=\"icon-silhouette\" ></obi-sources-01-off>`; } } }"
|
|
2603
2604
|
}
|
|
2604
2605
|
],
|
|
2605
2606
|
"exports": [
|
|
@@ -2674,7 +2675,7 @@
|
|
|
2674
2675
|
{
|
|
2675
2676
|
"kind": "variable",
|
|
2676
2677
|
"name": "ObcSwitch",
|
|
2677
|
-
"default": "class ObcSwitch extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"regular\"; } get icon() { switch (this.alternativeIcon) { case \"s1\": if (this.
|
|
2678
|
+
"default": "class ObcSwitch extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"regular\"; } get icon() { switch (this.alternativeIcon) { case \"s1\": if (this.turnedOn) return html`<obi-switch-01-on usecsscolor slot=\"icon\" ></obi-switch-01-on> <obi-switch-01-on usecsscolor slot=\"icon-silhouette\" ></obi-switch-01-on>`; else return html`<obi-switch-01-off usecsscolor slot=\"icon\" ></obi-switch-01-off> <obi-switch-01-off usecsscolor slot=\"icon-silhouette\" ></obi-switch-01-off>`; case \"s2\": if (this.turnedOn) return html`<obi-switch-02-on usecsscolor slot=\"icon\" ></obi-switch-02-on> <obi-switch-02-on usecsscolor slot=\"icon-silhouette\" ></obi-switch-02-on>`; else return html`<obi-switch-02-off usecsscolor slot=\"icon\" ></obi-switch-02-off> <obi-switch-02-off usecsscolor slot=\"icon-silhouette\" ></obi-switch-02-off>`; case \"s3\": if (this.turnedOn) return html`<obi-switch-03-on usecsscolor slot=\"icon\" ></obi-switch-03-on> <obi-switch-03-on usecsscolor slot=\"icon-silhouette\" ></obi-switch-03-on>`; else return html`<obi-switch-03-off usecsscolor slot=\"icon\" ></obi-switch-03-off> <obi-switch-03-off usecsscolor slot=\"icon-silhouette\" ></obi-switch-03-off>`; default: if (this.turnedOn) return html`<obi-switch-horizontal-on usecsscolor slot=\"icon\" ></obi-switch-horizontal-on> <obi-switch-horizontal-on usecsscolor slot=\"icon-silhouette\" ></obi-switch-horizontal-on>`; else return html`<obi-switch-horizontal-off usecsscolor slot=\"icon\" ></obi-switch-horizontal-off> <obi-switch-horizontal-off usecsscolor slot=\"icon-silhouette\" ></obi-switch-horizontal-off>`; } } }"
|
|
2678
2679
|
}
|
|
2679
2680
|
],
|
|
2680
2681
|
"exports": [
|
|
@@ -2732,7 +2733,7 @@
|
|
|
2732
2733
|
{
|
|
2733
2734
|
"kind": "variable",
|
|
2734
2735
|
"name": "ObcTransformer",
|
|
2735
|
-
"default": "class ObcTransformer extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"transformer01\"; } get icon() { switch (this.alternativeIcon) { case \"transformer02\": if (this.
|
|
2736
|
+
"default": "class ObcTransformer extends ObcAbstractAutomationButtonSquared { constructor(..._args) { super(..._args); this.alternativeIcon = \"transformer01\"; } get icon() { switch (this.alternativeIcon) { case \"transformer02\": if (this.turnedOn) return html`<obi-transformer-02-on usecsscolor slot=\"icon\" ></obi-transformer-02-on> <obi-transformer-02-on usecsscolor slot=\"icon-silhouette\" ></obi-transformer-02-on>`; else return html`<obi-transformer-02-off usecsscolor slot=\"icon\" ></obi-transformer-02-off> <obi-transformer-02-off usecsscolor slot=\"icon-silhouette\" ></obi-transformer-02-off>`; default: if (this.turnedOn) return html`<obi-transformer-01-on usecsscolor slot=\"icon\" ></obi-transformer-01-on> <obi-transformer-01-on usecsscolor slot=\"icon-silhouette\" ></obi-transformer-01-on>`; else return html`<obi-transformer-01-off usecsscolor slot=\"icon\" ></obi-transformer-01-off> <obi-transformer-01-off usecsscolor slot=\"icon-silhouette\" ></obi-transformer-01-off>`; } } }"
|
|
2736
2737
|
}
|
|
2737
2738
|
],
|
|
2738
2739
|
"exports": [
|
|
@@ -3485,7 +3486,7 @@
|
|
|
3485
3486
|
{
|
|
3486
3487
|
"kind": "variable",
|
|
3487
3488
|
"name": "ObcAccordionCard",
|
|
3488
|
-
"default": "class ObcAccordionCard extends LitElement { constructor(..._args) { super(..._args); this.cardTitle = \"\"; this.description = \"\"; this.statusLabel = \"\"; this.expanded = false; this.disabled = false; this.hasAlert = false; this.hasDescription = false; this.hasStatusLabel = false; this.hasLeadingIcon = false; this.position = \"regular\"; this.size = \"single-line\"; this.alertFrameType = ObcAlertFrameType.Regular; this.alertFrameThickness = ObcAlertFrameThickness.Small; this.alertFrameStatus = AlertType.Alarm; } get shouldShowDescription() { return this.size === \"large\" && this.hasDescription && this.description.trim() !== \"\"; } handleToggle() { if (this.disabled) return; this.expanded = !this.expanded; /** * Fired when the accordion is expanded or collapsed. * @fires accordion-toggle */ this.dispatchEvent(new CustomEvent(\"accordion-toggle\", { detail: { expanded: this.expanded, cardTitle: this.cardTitle } })); } renderContentMain() { return html` <div class=\"header-container\"> <div class=\"content-container\"> ${this.hasLeadingIcon ? html` <div class=\"container-icon\"> <slot name=\"leading-icon\"></slot> </div> ` : \"\"} <div class=\"container-labels\"> <div class=\"label-title\">${this.cardTitle}</div> ${this.shouldShowDescription ? html` <div class=\"label-description\">${this.description}</div> ` : \"\"} </div> ${this.hasStatusLabel ? html` <div class=\"container-status\"> <div class=\"status\">${this.statusLabel}</div> </div> ` : \"\"} <div class=\"trailing-icon\">
|
|
3489
|
+
"default": "class ObcAccordionCard extends LitElement { constructor(..._args) { super(..._args); this.cardTitle = \"\"; this.description = \"\"; this.statusLabel = \"\"; this.expanded = false; this.disabled = false; this.hasAlert = false; this.hasDescription = false; this.hasStatusLabel = false; this.hasLeadingIcon = false; this.position = \"regular\"; this.size = \"single-line\"; this.alertFrameType = ObcAlertFrameType.Regular; this.alertFrameThickness = ObcAlertFrameThickness.Small; this.alertFrameStatus = AlertType.Alarm; } get shouldShowDescription() { return this.size === \"large\" && this.hasDescription && this.description.trim() !== \"\"; } handleToggle() { if (this.disabled) return; this.expanded = !this.expanded; /** * Fired when the accordion is expanded or collapsed. * @fires accordion-toggle */ this.dispatchEvent(new CustomEvent(\"accordion-toggle\", { detail: { expanded: this.expanded, cardTitle: this.cardTitle } })); } /** * Keeps the keyboard somewhere predictable when the panel closes. * * A collapsed panel is `inert`, and the browser drops focus out of anything * it makes inert — onto `<body>`, two frames later. Clicking the header * already leaves focus there; a consumer setting `expanded` while a slotted * control has focus is the case that needs the transfer. */ willUpdate(changed) { if (!changed.has(\"expanded\") || this.expanded) return; const panel = this.shadowRoot?.querySelector(\".panel\"); if (!panel) return; releaseFocusBefore(panel, this.shadowRoot?.querySelector(\".content-button\"), this.shadowRoot?.querySelector(\".wrapper\")); } renderContentMain() { return html` <div class=\"header-container\"> <div class=\"content-container\"> ${this.hasLeadingIcon ? html` <div class=\"container-icon\"> <slot name=\"leading-icon\"></slot> </div> ` : \"\"} <div class=\"container-labels\"> <div class=\"label-title\">${this.cardTitle}</div> ${this.shouldShowDescription ? html` <div class=\"label-description\">${this.description}</div> ` : \"\"} </div> ${this.hasStatusLabel ? html` <div class=\"container-status\"> <div class=\"status\">${this.statusLabel}</div> </div> ` : \"\"} <div class=\"trailing-icon\"> <obi-chevron-down-google></obi-chevron-down-google> </div> </div> </div> `; } renderContentAdditional() { return html` <div class=\"panel\" id=\"accordion-content\" ?inert=${!this.expanded}> <div class=\"panel-inner\"> <div class=\"container-content-additional\"> <slot name=\"expanded-content\"></slot> </div> </div> </div> `; } isShartEdgeBottom() { return this.position === \"top\" || this.position === \"center\"; } isShartEdgeTop() { return this.position === \"bottom\" || this.position === \"center\"; } render() { return html` <div tabindex=\"-1\" class=${classMap({ wrapper: true, \"state-expanded\": this.expanded, \"state-collapsed\": !this.expanded, \"state-disabled\": this.disabled, \"style-single-line\": this.size === \"single-line\", \"style-large\": this.size === \"large\", \"position-top\": this.position === \"top\", \"position-bottom\": this.position === \"bottom\", \"position-center\": this.position === \"center\" })} style=\"position: relative;\" > <div class=\"card-container\"> <button class=\"content-button\" @click=${this.handleToggle} ?disabled=${this.disabled} aria-expanded=${this.expanded} aria-controls=\"accordion-content\" > ${this.renderContentMain()} </button> ${this.renderContentAdditional()} </div> ${this.hasAlert ? html` <obc-alert-frame class=\"alert alert-${this.alertFrameStatus}\" .sharpEdgeTopLeft=${this.isShartEdgeTop()} .sharpEdgeTopRight=${this.isShartEdgeTop()} .sharpEdgeBottomLeft=${this.isShartEdgeBottom()} .sharpEdgeBottomRight=${this.isShartEdgeBottom()} .type=${this.alertFrameType} .thickness=${this.alertFrameThickness} .status=${this.alertFrameStatus} > <slot name=\"alert-icon\" slot=\"icon\"></slot> <slot name=\"alert-label\" slot=\"label\"></slot> <slot name=\"alert-timer\" slot=\"timer\"></slot> </obc-alert-frame> ` : \"\"} </div> `; } static { this.styles = unsafeCSS(accordion_card_default); } }"
|
|
3489
3490
|
}
|
|
3490
3491
|
],
|
|
3491
3492
|
"exports": [
|
|
@@ -3522,7 +3523,7 @@
|
|
|
3522
3523
|
{
|
|
3523
3524
|
"kind": "variable",
|
|
3524
3525
|
"name": "ObcAccordionItem",
|
|
3525
|
-
"default": "class ObcAccordionItem extends LitElement { constructor(..._args) { super(..._args); this.title = \"\"; this.open = false; this.disabled = false; this.showDivider = false; } handleToggle() { if (this.disabled) return; this.open = !this.open; this.dispatchEvent(new CustomEvent(\"accordion-item-toggle\", { detail: { open: this.open, title: this.title } })); } renderContent() { return html` <div class=\"content\"> <div class=\"leading-content-container\"> <div class=\"label-frame\"> <div class=\"title\">${this.title}</div> </div> </div> <div class=\"trailing-icon\"> <obi-chevron-down-google></obi-chevron-down-google> </div> </div> `; } renderExpandedContent() {
|
|
3526
|
+
"default": "class ObcAccordionItem extends LitElement { constructor(..._args) { super(..._args); this.title = \"\"; this.open = false; this.disabled = false; this.showDivider = false; } handleToggle() { if (this.disabled) return; this.open = !this.open; this.dispatchEvent(new CustomEvent(\"accordion-item-toggle\", { detail: { open: this.open, title: this.title } })); } /** * Keeps the keyboard somewhere predictable when the panel closes. * * A collapsed panel is `inert`, and the browser drops focus out of anything * it makes inert — onto `<body>`, two frames later. Clicking the header * already leaves focus there; a consumer setting `open` while a slotted * control has focus is the case that needs the transfer. */ willUpdate(changed) { if (!changed.has(\"open\") || this.open) return; const panel = this.shadowRoot?.querySelector(\".panel\"); if (!panel) return; releaseFocusBefore(panel, this.shadowRoot?.querySelector(\".content-button\"), this.shadowRoot?.querySelector(\".wrapper\")); } renderContent() { return html` <div class=\"content\"> <div class=\"leading-content-container\"> <div class=\"label-frame\"> <div class=\"title\">${this.title}</div> </div> </div> <div class=\"trailing-icon\"> <obi-chevron-down-google></obi-chevron-down-google> </div> </div> `; } renderExpandedContent() { return html` <div class=\"panel\" id=\"accordion-content\" ?inert=${!this.open}> <div class=\"panel-inner\"> <div class=\"content-container\"> <slot name=\"expanded-content\"></slot> </div> </div> </div> `; } renderDivider() { if (!this.showDivider) return \"\"; return html`<div class=\"divider\"></div>`; } render() { return html` <div tabindex=\"-1\" class=${classMap({ wrapper: true, \"state-disabled\": this.disabled, \"open-true\": this.open, \"open-false\": !this.open })} > <button class=\"content-button\" @click=${this.handleToggle} ?disabled=${this.disabled} aria-expanded=${this.open} aria-controls=\"accordion-content\" > ${this.renderContent()} </button> ${this.renderExpandedContent()} ${this.renderDivider()} </div> `; } static { this.styles = unsafeCSS(accordion_item_default); } }"
|
|
3526
3527
|
}
|
|
3527
3528
|
],
|
|
3528
3529
|
"exports": [
|
|
@@ -21506,11 +21507,21 @@
|
|
|
21506
21507
|
"members": [
|
|
21507
21508
|
{
|
|
21508
21509
|
"kind": "field",
|
|
21509
|
-
"name": "
|
|
21510
|
+
"name": "turnedOn",
|
|
21510
21511
|
"type": {
|
|
21511
21512
|
"text": "boolean"
|
|
21512
21513
|
},
|
|
21513
|
-
"default": "false"
|
|
21514
|
+
"default": "false",
|
|
21515
|
+
"description": "Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090)."
|
|
21516
|
+
},
|
|
21517
|
+
{
|
|
21518
|
+
"kind": "field",
|
|
21519
|
+
"name": "on",
|
|
21520
|
+
"type": {
|
|
21521
|
+
"text": "boolean | undefined"
|
|
21522
|
+
},
|
|
21523
|
+
"deprecated": "Use `turnedOn`.",
|
|
21524
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`."
|
|
21514
21525
|
},
|
|
21515
21526
|
{
|
|
21516
21527
|
"kind": "field",
|
|
@@ -21577,6 +21588,23 @@
|
|
|
21577
21588
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
21578
21589
|
}
|
|
21579
21590
|
},
|
|
21591
|
+
{
|
|
21592
|
+
"kind": "method",
|
|
21593
|
+
"name": "willUpdate",
|
|
21594
|
+
"return": {
|
|
21595
|
+
"type": {
|
|
21596
|
+
"text": "void"
|
|
21597
|
+
}
|
|
21598
|
+
},
|
|
21599
|
+
"parameters": [
|
|
21600
|
+
{
|
|
21601
|
+
"name": "changed",
|
|
21602
|
+
"type": {
|
|
21603
|
+
"text": "PropertyValues<this>"
|
|
21604
|
+
}
|
|
21605
|
+
}
|
|
21606
|
+
]
|
|
21607
|
+
},
|
|
21580
21608
|
{
|
|
21581
21609
|
"kind": "field",
|
|
21582
21610
|
"name": "_on",
|
|
@@ -22034,16 +22062,26 @@
|
|
|
22034
22062
|
"declarations": [
|
|
22035
22063
|
{
|
|
22036
22064
|
"kind": "class",
|
|
22037
|
-
"description": "",
|
|
22065
|
+
"description": "Base class for two-state automation buttons.\n\nExtends `ObcAbstractAutomationButton` with the on/off state: the subclass\npicks its icon from `turnedOn`, and the readout adds the `On` or `Off`\nstate row.\n\n## Usage Guidelines\n\nNot registered as a custom element. `obc-switch`, `obc-converter`,\n`obc-diodes` and the other two-state devices extend it and supply their own\n`icon`.",
|
|
22038
22066
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
22039
22067
|
"members": [
|
|
22040
22068
|
{
|
|
22041
22069
|
"kind": "field",
|
|
22042
|
-
"name": "
|
|
22070
|
+
"name": "turnedOn",
|
|
22043
22071
|
"type": {
|
|
22044
22072
|
"text": "boolean"
|
|
22045
22073
|
},
|
|
22046
|
-
"default": "false"
|
|
22074
|
+
"default": "false",
|
|
22075
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090)."
|
|
22076
|
+
},
|
|
22077
|
+
{
|
|
22078
|
+
"kind": "field",
|
|
22079
|
+
"name": "on",
|
|
22080
|
+
"type": {
|
|
22081
|
+
"text": "boolean | undefined"
|
|
22082
|
+
},
|
|
22083
|
+
"deprecated": "Use `turnedOn`.",
|
|
22084
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`."
|
|
22047
22085
|
},
|
|
22048
22086
|
{
|
|
22049
22087
|
"kind": "field",
|
|
@@ -22083,6 +22121,23 @@
|
|
|
22083
22121
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
22084
22122
|
}
|
|
22085
22123
|
},
|
|
22124
|
+
{
|
|
22125
|
+
"kind": "method",
|
|
22126
|
+
"name": "willUpdate",
|
|
22127
|
+
"return": {
|
|
22128
|
+
"type": {
|
|
22129
|
+
"text": "void"
|
|
22130
|
+
}
|
|
22131
|
+
},
|
|
22132
|
+
"parameters": [
|
|
22133
|
+
{
|
|
22134
|
+
"name": "changed",
|
|
22135
|
+
"type": {
|
|
22136
|
+
"text": "PropertyValues<this>"
|
|
22137
|
+
}
|
|
22138
|
+
}
|
|
22139
|
+
]
|
|
22140
|
+
},
|
|
22086
22141
|
{
|
|
22087
22142
|
"kind": "field",
|
|
22088
22143
|
"name": "_on",
|
|
@@ -24125,11 +24180,25 @@
|
|
|
24125
24180
|
},
|
|
24126
24181
|
{
|
|
24127
24182
|
"kind": "field",
|
|
24128
|
-
"name": "
|
|
24183
|
+
"name": "turnedOn",
|
|
24129
24184
|
"type": {
|
|
24130
24185
|
"text": "boolean"
|
|
24131
24186
|
},
|
|
24132
24187
|
"default": "false",
|
|
24188
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
24189
|
+
"inheritedFrom": {
|
|
24190
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
24191
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
24192
|
+
}
|
|
24193
|
+
},
|
|
24194
|
+
{
|
|
24195
|
+
"kind": "field",
|
|
24196
|
+
"name": "on",
|
|
24197
|
+
"type": {
|
|
24198
|
+
"text": "boolean | undefined"
|
|
24199
|
+
},
|
|
24200
|
+
"deprecated": "Use `turnedOn`.",
|
|
24201
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
24133
24202
|
"inheritedFrom": {
|
|
24134
24203
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
24135
24204
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -24181,6 +24250,27 @@
|
|
|
24181
24250
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
24182
24251
|
}
|
|
24183
24252
|
},
|
|
24253
|
+
{
|
|
24254
|
+
"kind": "method",
|
|
24255
|
+
"name": "willUpdate",
|
|
24256
|
+
"return": {
|
|
24257
|
+
"type": {
|
|
24258
|
+
"text": "void"
|
|
24259
|
+
}
|
|
24260
|
+
},
|
|
24261
|
+
"parameters": [
|
|
24262
|
+
{
|
|
24263
|
+
"name": "changed",
|
|
24264
|
+
"type": {
|
|
24265
|
+
"text": "PropertyValues<this>"
|
|
24266
|
+
}
|
|
24267
|
+
}
|
|
24268
|
+
],
|
|
24269
|
+
"inheritedFrom": {
|
|
24270
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
24271
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
24272
|
+
}
|
|
24273
|
+
},
|
|
24184
24274
|
{
|
|
24185
24275
|
"kind": "field",
|
|
24186
24276
|
"name": "_on",
|
|
@@ -24718,11 +24808,25 @@
|
|
|
24718
24808
|
},
|
|
24719
24809
|
{
|
|
24720
24810
|
"kind": "field",
|
|
24721
|
-
"name": "
|
|
24811
|
+
"name": "turnedOn",
|
|
24722
24812
|
"type": {
|
|
24723
24813
|
"text": "boolean"
|
|
24724
24814
|
},
|
|
24725
24815
|
"default": "false",
|
|
24816
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
24817
|
+
"inheritedFrom": {
|
|
24818
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
24819
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
24820
|
+
}
|
|
24821
|
+
},
|
|
24822
|
+
{
|
|
24823
|
+
"kind": "field",
|
|
24824
|
+
"name": "on",
|
|
24825
|
+
"type": {
|
|
24826
|
+
"text": "boolean | undefined"
|
|
24827
|
+
},
|
|
24828
|
+
"deprecated": "Use `turnedOn`.",
|
|
24829
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
24726
24830
|
"inheritedFrom": {
|
|
24727
24831
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
24728
24832
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -24774,6 +24878,27 @@
|
|
|
24774
24878
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
24775
24879
|
}
|
|
24776
24880
|
},
|
|
24881
|
+
{
|
|
24882
|
+
"kind": "method",
|
|
24883
|
+
"name": "willUpdate",
|
|
24884
|
+
"return": {
|
|
24885
|
+
"type": {
|
|
24886
|
+
"text": "void"
|
|
24887
|
+
}
|
|
24888
|
+
},
|
|
24889
|
+
"parameters": [
|
|
24890
|
+
{
|
|
24891
|
+
"name": "changed",
|
|
24892
|
+
"type": {
|
|
24893
|
+
"text": "PropertyValues<this>"
|
|
24894
|
+
}
|
|
24895
|
+
}
|
|
24896
|
+
],
|
|
24897
|
+
"inheritedFrom": {
|
|
24898
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
24899
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
24900
|
+
}
|
|
24901
|
+
},
|
|
24777
24902
|
{
|
|
24778
24903
|
"kind": "field",
|
|
24779
24904
|
"name": "_on",
|
|
@@ -25231,11 +25356,25 @@
|
|
|
25231
25356
|
},
|
|
25232
25357
|
{
|
|
25233
25358
|
"kind": "field",
|
|
25234
|
-
"name": "
|
|
25359
|
+
"name": "turnedOn",
|
|
25235
25360
|
"type": {
|
|
25236
25361
|
"text": "boolean"
|
|
25237
25362
|
},
|
|
25238
25363
|
"default": "false",
|
|
25364
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
25365
|
+
"inheritedFrom": {
|
|
25366
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
25367
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
25368
|
+
}
|
|
25369
|
+
},
|
|
25370
|
+
{
|
|
25371
|
+
"kind": "field",
|
|
25372
|
+
"name": "on",
|
|
25373
|
+
"type": {
|
|
25374
|
+
"text": "boolean | undefined"
|
|
25375
|
+
},
|
|
25376
|
+
"deprecated": "Use `turnedOn`.",
|
|
25377
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
25239
25378
|
"inheritedFrom": {
|
|
25240
25379
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
25241
25380
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -25287,6 +25426,27 @@
|
|
|
25287
25426
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
25288
25427
|
}
|
|
25289
25428
|
},
|
|
25429
|
+
{
|
|
25430
|
+
"kind": "method",
|
|
25431
|
+
"name": "willUpdate",
|
|
25432
|
+
"return": {
|
|
25433
|
+
"type": {
|
|
25434
|
+
"text": "void"
|
|
25435
|
+
}
|
|
25436
|
+
},
|
|
25437
|
+
"parameters": [
|
|
25438
|
+
{
|
|
25439
|
+
"name": "changed",
|
|
25440
|
+
"type": {
|
|
25441
|
+
"text": "PropertyValues<this>"
|
|
25442
|
+
}
|
|
25443
|
+
}
|
|
25444
|
+
],
|
|
25445
|
+
"inheritedFrom": {
|
|
25446
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
25447
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
25448
|
+
}
|
|
25449
|
+
},
|
|
25290
25450
|
{
|
|
25291
25451
|
"kind": "field",
|
|
25292
25452
|
"name": "_on",
|
|
@@ -25797,11 +25957,25 @@
|
|
|
25797
25957
|
},
|
|
25798
25958
|
{
|
|
25799
25959
|
"kind": "field",
|
|
25800
|
-
"name": "
|
|
25960
|
+
"name": "turnedOn",
|
|
25801
25961
|
"type": {
|
|
25802
25962
|
"text": "boolean"
|
|
25803
25963
|
},
|
|
25804
25964
|
"default": "false",
|
|
25965
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
25966
|
+
"inheritedFrom": {
|
|
25967
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
25968
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
25969
|
+
}
|
|
25970
|
+
},
|
|
25971
|
+
{
|
|
25972
|
+
"kind": "field",
|
|
25973
|
+
"name": "on",
|
|
25974
|
+
"type": {
|
|
25975
|
+
"text": "boolean | undefined"
|
|
25976
|
+
},
|
|
25977
|
+
"deprecated": "Use `turnedOn`.",
|
|
25978
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
25805
25979
|
"inheritedFrom": {
|
|
25806
25980
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
25807
25981
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -25853,6 +26027,27 @@
|
|
|
25853
26027
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
25854
26028
|
}
|
|
25855
26029
|
},
|
|
26030
|
+
{
|
|
26031
|
+
"kind": "method",
|
|
26032
|
+
"name": "willUpdate",
|
|
26033
|
+
"return": {
|
|
26034
|
+
"type": {
|
|
26035
|
+
"text": "void"
|
|
26036
|
+
}
|
|
26037
|
+
},
|
|
26038
|
+
"parameters": [
|
|
26039
|
+
{
|
|
26040
|
+
"name": "changed",
|
|
26041
|
+
"type": {
|
|
26042
|
+
"text": "PropertyValues<this>"
|
|
26043
|
+
}
|
|
26044
|
+
}
|
|
26045
|
+
],
|
|
26046
|
+
"inheritedFrom": {
|
|
26047
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
26048
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
26049
|
+
}
|
|
26050
|
+
},
|
|
25856
26051
|
{
|
|
25857
26052
|
"kind": "field",
|
|
25858
26053
|
"name": "_on",
|
|
@@ -26805,11 +27000,25 @@
|
|
|
26805
27000
|
},
|
|
26806
27001
|
{
|
|
26807
27002
|
"kind": "field",
|
|
26808
|
-
"name": "
|
|
27003
|
+
"name": "turnedOn",
|
|
26809
27004
|
"type": {
|
|
26810
27005
|
"text": "boolean"
|
|
26811
27006
|
},
|
|
26812
27007
|
"default": "false",
|
|
27008
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
27009
|
+
"inheritedFrom": {
|
|
27010
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
27011
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
27012
|
+
}
|
|
27013
|
+
},
|
|
27014
|
+
{
|
|
27015
|
+
"kind": "field",
|
|
27016
|
+
"name": "on",
|
|
27017
|
+
"type": {
|
|
27018
|
+
"text": "boolean | undefined"
|
|
27019
|
+
},
|
|
27020
|
+
"deprecated": "Use `turnedOn`.",
|
|
27021
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
26813
27022
|
"inheritedFrom": {
|
|
26814
27023
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
26815
27024
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -26861,6 +27070,27 @@
|
|
|
26861
27070
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
26862
27071
|
}
|
|
26863
27072
|
},
|
|
27073
|
+
{
|
|
27074
|
+
"kind": "method",
|
|
27075
|
+
"name": "willUpdate",
|
|
27076
|
+
"return": {
|
|
27077
|
+
"type": {
|
|
27078
|
+
"text": "void"
|
|
27079
|
+
}
|
|
27080
|
+
},
|
|
27081
|
+
"parameters": [
|
|
27082
|
+
{
|
|
27083
|
+
"name": "changed",
|
|
27084
|
+
"type": {
|
|
27085
|
+
"text": "PropertyValues<this>"
|
|
27086
|
+
}
|
|
27087
|
+
}
|
|
27088
|
+
],
|
|
27089
|
+
"inheritedFrom": {
|
|
27090
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
27091
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
27092
|
+
}
|
|
27093
|
+
},
|
|
26864
27094
|
{
|
|
26865
27095
|
"kind": "field",
|
|
26866
27096
|
"name": "_on",
|
|
@@ -27424,11 +27654,25 @@
|
|
|
27424
27654
|
},
|
|
27425
27655
|
{
|
|
27426
27656
|
"kind": "field",
|
|
27427
|
-
"name": "
|
|
27657
|
+
"name": "turnedOn",
|
|
27428
27658
|
"type": {
|
|
27429
27659
|
"text": "boolean"
|
|
27430
27660
|
},
|
|
27431
27661
|
"default": "false",
|
|
27662
|
+
"description": "Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
27663
|
+
"inheritedFrom": {
|
|
27664
|
+
"name": "ObcAbstractAutomationButtonMotorized",
|
|
27665
|
+
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
27666
|
+
}
|
|
27667
|
+
},
|
|
27668
|
+
{
|
|
27669
|
+
"kind": "field",
|
|
27670
|
+
"name": "on",
|
|
27671
|
+
"type": {
|
|
27672
|
+
"text": "boolean | undefined"
|
|
27673
|
+
},
|
|
27674
|
+
"deprecated": "Use `turnedOn`.",
|
|
27675
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
27432
27676
|
"inheritedFrom": {
|
|
27433
27677
|
"name": "ObcAbstractAutomationButtonMotorized",
|
|
27434
27678
|
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
@@ -27527,6 +27771,27 @@
|
|
|
27527
27771
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
27528
27772
|
}
|
|
27529
27773
|
},
|
|
27774
|
+
{
|
|
27775
|
+
"kind": "method",
|
|
27776
|
+
"name": "willUpdate",
|
|
27777
|
+
"return": {
|
|
27778
|
+
"type": {
|
|
27779
|
+
"text": "void"
|
|
27780
|
+
}
|
|
27781
|
+
},
|
|
27782
|
+
"parameters": [
|
|
27783
|
+
{
|
|
27784
|
+
"name": "changed",
|
|
27785
|
+
"type": {
|
|
27786
|
+
"text": "PropertyValues<this>"
|
|
27787
|
+
}
|
|
27788
|
+
}
|
|
27789
|
+
],
|
|
27790
|
+
"inheritedFrom": {
|
|
27791
|
+
"name": "ObcAbstractAutomationButtonMotorized",
|
|
27792
|
+
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
27793
|
+
}
|
|
27794
|
+
},
|
|
27530
27795
|
{
|
|
27531
27796
|
"kind": "field",
|
|
27532
27797
|
"name": "_on",
|
|
@@ -27996,11 +28261,25 @@
|
|
|
27996
28261
|
},
|
|
27997
28262
|
{
|
|
27998
28263
|
"kind": "field",
|
|
27999
|
-
"name": "
|
|
28264
|
+
"name": "turnedOn",
|
|
28000
28265
|
"type": {
|
|
28001
28266
|
"text": "boolean"
|
|
28002
28267
|
},
|
|
28003
28268
|
"default": "false",
|
|
28269
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
28270
|
+
"inheritedFrom": {
|
|
28271
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
28272
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
28273
|
+
}
|
|
28274
|
+
},
|
|
28275
|
+
{
|
|
28276
|
+
"kind": "field",
|
|
28277
|
+
"name": "on",
|
|
28278
|
+
"type": {
|
|
28279
|
+
"text": "boolean | undefined"
|
|
28280
|
+
},
|
|
28281
|
+
"deprecated": "Use `turnedOn`.",
|
|
28282
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
28004
28283
|
"inheritedFrom": {
|
|
28005
28284
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
28006
28285
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -28052,6 +28331,27 @@
|
|
|
28052
28331
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
28053
28332
|
}
|
|
28054
28333
|
},
|
|
28334
|
+
{
|
|
28335
|
+
"kind": "method",
|
|
28336
|
+
"name": "willUpdate",
|
|
28337
|
+
"return": {
|
|
28338
|
+
"type": {
|
|
28339
|
+
"text": "void"
|
|
28340
|
+
}
|
|
28341
|
+
},
|
|
28342
|
+
"parameters": [
|
|
28343
|
+
{
|
|
28344
|
+
"name": "changed",
|
|
28345
|
+
"type": {
|
|
28346
|
+
"text": "PropertyValues<this>"
|
|
28347
|
+
}
|
|
28348
|
+
}
|
|
28349
|
+
],
|
|
28350
|
+
"inheritedFrom": {
|
|
28351
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
28352
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
28353
|
+
}
|
|
28354
|
+
},
|
|
28055
28355
|
{
|
|
28056
28356
|
"kind": "field",
|
|
28057
28357
|
"name": "_on",
|
|
@@ -31002,11 +31302,25 @@
|
|
|
31002
31302
|
},
|
|
31003
31303
|
{
|
|
31004
31304
|
"kind": "field",
|
|
31005
|
-
"name": "
|
|
31305
|
+
"name": "turnedOn",
|
|
31006
31306
|
"type": {
|
|
31007
31307
|
"text": "boolean"
|
|
31008
31308
|
},
|
|
31009
31309
|
"default": "false",
|
|
31310
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
31311
|
+
"inheritedFrom": {
|
|
31312
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
31313
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
31314
|
+
}
|
|
31315
|
+
},
|
|
31316
|
+
{
|
|
31317
|
+
"kind": "field",
|
|
31318
|
+
"name": "on",
|
|
31319
|
+
"type": {
|
|
31320
|
+
"text": "boolean | undefined"
|
|
31321
|
+
},
|
|
31322
|
+
"deprecated": "Use `turnedOn`.",
|
|
31323
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
31010
31324
|
"inheritedFrom": {
|
|
31011
31325
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
31012
31326
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -31058,6 +31372,27 @@
|
|
|
31058
31372
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
31059
31373
|
}
|
|
31060
31374
|
},
|
|
31375
|
+
{
|
|
31376
|
+
"kind": "method",
|
|
31377
|
+
"name": "willUpdate",
|
|
31378
|
+
"return": {
|
|
31379
|
+
"type": {
|
|
31380
|
+
"text": "void"
|
|
31381
|
+
}
|
|
31382
|
+
},
|
|
31383
|
+
"parameters": [
|
|
31384
|
+
{
|
|
31385
|
+
"name": "changed",
|
|
31386
|
+
"type": {
|
|
31387
|
+
"text": "PropertyValues<this>"
|
|
31388
|
+
}
|
|
31389
|
+
}
|
|
31390
|
+
],
|
|
31391
|
+
"inheritedFrom": {
|
|
31392
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
31393
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
31394
|
+
}
|
|
31395
|
+
},
|
|
31061
31396
|
{
|
|
31062
31397
|
"kind": "field",
|
|
31063
31398
|
"name": "_on",
|
|
@@ -34189,11 +34524,25 @@
|
|
|
34189
34524
|
},
|
|
34190
34525
|
{
|
|
34191
34526
|
"kind": "field",
|
|
34192
|
-
"name": "
|
|
34527
|
+
"name": "turnedOn",
|
|
34193
34528
|
"type": {
|
|
34194
34529
|
"text": "boolean"
|
|
34195
34530
|
},
|
|
34196
34531
|
"default": "false",
|
|
34532
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
34533
|
+
"inheritedFrom": {
|
|
34534
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
34535
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
34536
|
+
}
|
|
34537
|
+
},
|
|
34538
|
+
{
|
|
34539
|
+
"kind": "field",
|
|
34540
|
+
"name": "on",
|
|
34541
|
+
"type": {
|
|
34542
|
+
"text": "boolean | undefined"
|
|
34543
|
+
},
|
|
34544
|
+
"deprecated": "Use `turnedOn`.",
|
|
34545
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
34197
34546
|
"inheritedFrom": {
|
|
34198
34547
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
34199
34548
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -34245,6 +34594,27 @@
|
|
|
34245
34594
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
34246
34595
|
}
|
|
34247
34596
|
},
|
|
34597
|
+
{
|
|
34598
|
+
"kind": "method",
|
|
34599
|
+
"name": "willUpdate",
|
|
34600
|
+
"return": {
|
|
34601
|
+
"type": {
|
|
34602
|
+
"text": "void"
|
|
34603
|
+
}
|
|
34604
|
+
},
|
|
34605
|
+
"parameters": [
|
|
34606
|
+
{
|
|
34607
|
+
"name": "changed",
|
|
34608
|
+
"type": {
|
|
34609
|
+
"text": "PropertyValues<this>"
|
|
34610
|
+
}
|
|
34611
|
+
}
|
|
34612
|
+
],
|
|
34613
|
+
"inheritedFrom": {
|
|
34614
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
34615
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
34616
|
+
}
|
|
34617
|
+
},
|
|
34248
34618
|
{
|
|
34249
34619
|
"kind": "field",
|
|
34250
34620
|
"name": "_on",
|
|
@@ -34702,11 +35072,25 @@
|
|
|
34702
35072
|
},
|
|
34703
35073
|
{
|
|
34704
35074
|
"kind": "field",
|
|
34705
|
-
"name": "
|
|
35075
|
+
"name": "turnedOn",
|
|
34706
35076
|
"type": {
|
|
34707
35077
|
"text": "boolean"
|
|
34708
35078
|
},
|
|
34709
35079
|
"default": "false",
|
|
35080
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
35081
|
+
"inheritedFrom": {
|
|
35082
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
35083
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
35084
|
+
}
|
|
35085
|
+
},
|
|
35086
|
+
{
|
|
35087
|
+
"kind": "field",
|
|
35088
|
+
"name": "on",
|
|
35089
|
+
"type": {
|
|
35090
|
+
"text": "boolean | undefined"
|
|
35091
|
+
},
|
|
35092
|
+
"deprecated": "Use `turnedOn`.",
|
|
35093
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
34710
35094
|
"inheritedFrom": {
|
|
34711
35095
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
34712
35096
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -34758,6 +35142,27 @@
|
|
|
34758
35142
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
34759
35143
|
}
|
|
34760
35144
|
},
|
|
35145
|
+
{
|
|
35146
|
+
"kind": "method",
|
|
35147
|
+
"name": "willUpdate",
|
|
35148
|
+
"return": {
|
|
35149
|
+
"type": {
|
|
35150
|
+
"text": "void"
|
|
35151
|
+
}
|
|
35152
|
+
},
|
|
35153
|
+
"parameters": [
|
|
35154
|
+
{
|
|
35155
|
+
"name": "changed",
|
|
35156
|
+
"type": {
|
|
35157
|
+
"text": "PropertyValues<this>"
|
|
35158
|
+
}
|
|
35159
|
+
}
|
|
35160
|
+
],
|
|
35161
|
+
"inheritedFrom": {
|
|
35162
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
35163
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
35164
|
+
}
|
|
35165
|
+
},
|
|
34761
35166
|
{
|
|
34762
35167
|
"kind": "field",
|
|
34763
35168
|
"name": "_on",
|
|
@@ -35216,11 +35621,25 @@
|
|
|
35216
35621
|
},
|
|
35217
35622
|
{
|
|
35218
35623
|
"kind": "field",
|
|
35219
|
-
"name": "
|
|
35624
|
+
"name": "turnedOn",
|
|
35220
35625
|
"type": {
|
|
35221
35626
|
"text": "boolean"
|
|
35222
35627
|
},
|
|
35223
35628
|
"default": "false",
|
|
35629
|
+
"description": "Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
35630
|
+
"inheritedFrom": {
|
|
35631
|
+
"name": "ObcAbstractAutomationButtonMotorized",
|
|
35632
|
+
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
35633
|
+
}
|
|
35634
|
+
},
|
|
35635
|
+
{
|
|
35636
|
+
"kind": "field",
|
|
35637
|
+
"name": "on",
|
|
35638
|
+
"type": {
|
|
35639
|
+
"text": "boolean | undefined"
|
|
35640
|
+
},
|
|
35641
|
+
"deprecated": "Use `turnedOn`.",
|
|
35642
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
35224
35643
|
"inheritedFrom": {
|
|
35225
35644
|
"name": "ObcAbstractAutomationButtonMotorized",
|
|
35226
35645
|
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
@@ -35319,6 +35738,27 @@
|
|
|
35319
35738
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
35320
35739
|
}
|
|
35321
35740
|
},
|
|
35741
|
+
{
|
|
35742
|
+
"kind": "method",
|
|
35743
|
+
"name": "willUpdate",
|
|
35744
|
+
"return": {
|
|
35745
|
+
"type": {
|
|
35746
|
+
"text": "void"
|
|
35747
|
+
}
|
|
35748
|
+
},
|
|
35749
|
+
"parameters": [
|
|
35750
|
+
{
|
|
35751
|
+
"name": "changed",
|
|
35752
|
+
"type": {
|
|
35753
|
+
"text": "PropertyValues<this>"
|
|
35754
|
+
}
|
|
35755
|
+
}
|
|
35756
|
+
],
|
|
35757
|
+
"inheritedFrom": {
|
|
35758
|
+
"name": "ObcAbstractAutomationButtonMotorized",
|
|
35759
|
+
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
35760
|
+
}
|
|
35761
|
+
},
|
|
35322
35762
|
{
|
|
35323
35763
|
"kind": "field",
|
|
35324
35764
|
"name": "_on",
|
|
@@ -35789,11 +36229,25 @@
|
|
|
35789
36229
|
},
|
|
35790
36230
|
{
|
|
35791
36231
|
"kind": "field",
|
|
35792
|
-
"name": "
|
|
36232
|
+
"name": "turnedOn",
|
|
35793
36233
|
"type": {
|
|
35794
36234
|
"text": "boolean"
|
|
35795
36235
|
},
|
|
35796
36236
|
"default": "false",
|
|
36237
|
+
"description": "Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
36238
|
+
"inheritedFrom": {
|
|
36239
|
+
"name": "ObcAbstractAutomationButtonMotorized",
|
|
36240
|
+
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
36241
|
+
}
|
|
36242
|
+
},
|
|
36243
|
+
{
|
|
36244
|
+
"kind": "field",
|
|
36245
|
+
"name": "on",
|
|
36246
|
+
"type": {
|
|
36247
|
+
"text": "boolean | undefined"
|
|
36248
|
+
},
|
|
36249
|
+
"deprecated": "Use `turnedOn`.",
|
|
36250
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
35797
36251
|
"inheritedFrom": {
|
|
35798
36252
|
"name": "ObcAbstractAutomationButtonMotorized",
|
|
35799
36253
|
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
@@ -35892,6 +36346,27 @@
|
|
|
35892
36346
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
35893
36347
|
}
|
|
35894
36348
|
},
|
|
36349
|
+
{
|
|
36350
|
+
"kind": "method",
|
|
36351
|
+
"name": "willUpdate",
|
|
36352
|
+
"return": {
|
|
36353
|
+
"type": {
|
|
36354
|
+
"text": "void"
|
|
36355
|
+
}
|
|
36356
|
+
},
|
|
36357
|
+
"parameters": [
|
|
36358
|
+
{
|
|
36359
|
+
"name": "changed",
|
|
36360
|
+
"type": {
|
|
36361
|
+
"text": "PropertyValues<this>"
|
|
36362
|
+
}
|
|
36363
|
+
}
|
|
36364
|
+
],
|
|
36365
|
+
"inheritedFrom": {
|
|
36366
|
+
"name": "ObcAbstractAutomationButtonMotorized",
|
|
36367
|
+
"module": "src/automation/automation-button/abstract-automation-button-motorized.ts"
|
|
36368
|
+
}
|
|
36369
|
+
},
|
|
35895
36370
|
{
|
|
35896
36371
|
"kind": "field",
|
|
35897
36372
|
"name": "_on",
|
|
@@ -36361,11 +36836,25 @@
|
|
|
36361
36836
|
},
|
|
36362
36837
|
{
|
|
36363
36838
|
"kind": "field",
|
|
36364
|
-
"name": "
|
|
36839
|
+
"name": "turnedOn",
|
|
36365
36840
|
"type": {
|
|
36366
36841
|
"text": "boolean"
|
|
36367
36842
|
},
|
|
36368
36843
|
"default": "false",
|
|
36844
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
36845
|
+
"inheritedFrom": {
|
|
36846
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
36847
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
36848
|
+
}
|
|
36849
|
+
},
|
|
36850
|
+
{
|
|
36851
|
+
"kind": "field",
|
|
36852
|
+
"name": "on",
|
|
36853
|
+
"type": {
|
|
36854
|
+
"text": "boolean | undefined"
|
|
36855
|
+
},
|
|
36856
|
+
"deprecated": "Use `turnedOn`.",
|
|
36857
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
36369
36858
|
"inheritedFrom": {
|
|
36370
36859
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
36371
36860
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -36417,6 +36906,27 @@
|
|
|
36417
36906
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
36418
36907
|
}
|
|
36419
36908
|
},
|
|
36909
|
+
{
|
|
36910
|
+
"kind": "method",
|
|
36911
|
+
"name": "willUpdate",
|
|
36912
|
+
"return": {
|
|
36913
|
+
"type": {
|
|
36914
|
+
"text": "void"
|
|
36915
|
+
}
|
|
36916
|
+
},
|
|
36917
|
+
"parameters": [
|
|
36918
|
+
{
|
|
36919
|
+
"name": "changed",
|
|
36920
|
+
"type": {
|
|
36921
|
+
"text": "PropertyValues<this>"
|
|
36922
|
+
}
|
|
36923
|
+
}
|
|
36924
|
+
],
|
|
36925
|
+
"inheritedFrom": {
|
|
36926
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
36927
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
36928
|
+
}
|
|
36929
|
+
},
|
|
36420
36930
|
{
|
|
36421
36931
|
"kind": "field",
|
|
36422
36932
|
"name": "_on",
|
|
@@ -36874,11 +37384,25 @@
|
|
|
36874
37384
|
},
|
|
36875
37385
|
{
|
|
36876
37386
|
"kind": "field",
|
|
36877
|
-
"name": "
|
|
37387
|
+
"name": "turnedOn",
|
|
36878
37388
|
"type": {
|
|
36879
37389
|
"text": "boolean"
|
|
36880
37390
|
},
|
|
36881
37391
|
"default": "false",
|
|
37392
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
37393
|
+
"inheritedFrom": {
|
|
37394
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
37395
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
37396
|
+
}
|
|
37397
|
+
},
|
|
37398
|
+
{
|
|
37399
|
+
"kind": "field",
|
|
37400
|
+
"name": "on",
|
|
37401
|
+
"type": {
|
|
37402
|
+
"text": "boolean | undefined"
|
|
37403
|
+
},
|
|
37404
|
+
"deprecated": "Use `turnedOn`.",
|
|
37405
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
36882
37406
|
"inheritedFrom": {
|
|
36883
37407
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
36884
37408
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -36930,6 +37454,27 @@
|
|
|
36930
37454
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
36931
37455
|
}
|
|
36932
37456
|
},
|
|
37457
|
+
{
|
|
37458
|
+
"kind": "method",
|
|
37459
|
+
"name": "willUpdate",
|
|
37460
|
+
"return": {
|
|
37461
|
+
"type": {
|
|
37462
|
+
"text": "void"
|
|
37463
|
+
}
|
|
37464
|
+
},
|
|
37465
|
+
"parameters": [
|
|
37466
|
+
{
|
|
37467
|
+
"name": "changed",
|
|
37468
|
+
"type": {
|
|
37469
|
+
"text": "PropertyValues<this>"
|
|
37470
|
+
}
|
|
37471
|
+
}
|
|
37472
|
+
],
|
|
37473
|
+
"inheritedFrom": {
|
|
37474
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
37475
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
37476
|
+
}
|
|
37477
|
+
},
|
|
36933
37478
|
{
|
|
36934
37479
|
"kind": "field",
|
|
36935
37480
|
"name": "_on",
|
|
@@ -37569,11 +38114,25 @@
|
|
|
37569
38114
|
},
|
|
37570
38115
|
{
|
|
37571
38116
|
"kind": "field",
|
|
37572
|
-
"name": "
|
|
38117
|
+
"name": "turnedOn",
|
|
37573
38118
|
"type": {
|
|
37574
38119
|
"text": "boolean"
|
|
37575
38120
|
},
|
|
37576
38121
|
"default": "false",
|
|
38122
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
38123
|
+
"inheritedFrom": {
|
|
38124
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
38125
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
38126
|
+
}
|
|
38127
|
+
},
|
|
38128
|
+
{
|
|
38129
|
+
"kind": "field",
|
|
38130
|
+
"name": "on",
|
|
38131
|
+
"type": {
|
|
38132
|
+
"text": "boolean | undefined"
|
|
38133
|
+
},
|
|
38134
|
+
"deprecated": "Use `turnedOn`.",
|
|
38135
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
37577
38136
|
"inheritedFrom": {
|
|
37578
38137
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
37579
38138
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -37625,6 +38184,27 @@
|
|
|
37625
38184
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
37626
38185
|
}
|
|
37627
38186
|
},
|
|
38187
|
+
{
|
|
38188
|
+
"kind": "method",
|
|
38189
|
+
"name": "willUpdate",
|
|
38190
|
+
"return": {
|
|
38191
|
+
"type": {
|
|
38192
|
+
"text": "void"
|
|
38193
|
+
}
|
|
38194
|
+
},
|
|
38195
|
+
"parameters": [
|
|
38196
|
+
{
|
|
38197
|
+
"name": "changed",
|
|
38198
|
+
"type": {
|
|
38199
|
+
"text": "PropertyValues<this>"
|
|
38200
|
+
}
|
|
38201
|
+
}
|
|
38202
|
+
],
|
|
38203
|
+
"inheritedFrom": {
|
|
38204
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
38205
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
38206
|
+
}
|
|
38207
|
+
},
|
|
37628
38208
|
{
|
|
37629
38209
|
"kind": "field",
|
|
37630
38210
|
"name": "_on",
|
|
@@ -38436,11 +39016,25 @@
|
|
|
38436
39016
|
},
|
|
38437
39017
|
{
|
|
38438
39018
|
"kind": "field",
|
|
38439
|
-
"name": "
|
|
39019
|
+
"name": "turnedOn",
|
|
38440
39020
|
"type": {
|
|
38441
39021
|
"text": "boolean"
|
|
38442
39022
|
},
|
|
38443
39023
|
"default": "false",
|
|
39024
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
39025
|
+
"inheritedFrom": {
|
|
39026
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
39027
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
39028
|
+
}
|
|
39029
|
+
},
|
|
39030
|
+
{
|
|
39031
|
+
"kind": "field",
|
|
39032
|
+
"name": "on",
|
|
39033
|
+
"type": {
|
|
39034
|
+
"text": "boolean | undefined"
|
|
39035
|
+
},
|
|
39036
|
+
"deprecated": "Use `turnedOn`.",
|
|
39037
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
38444
39038
|
"inheritedFrom": {
|
|
38445
39039
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
38446
39040
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -38492,6 +39086,27 @@
|
|
|
38492
39086
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
38493
39087
|
}
|
|
38494
39088
|
},
|
|
39089
|
+
{
|
|
39090
|
+
"kind": "method",
|
|
39091
|
+
"name": "willUpdate",
|
|
39092
|
+
"return": {
|
|
39093
|
+
"type": {
|
|
39094
|
+
"text": "void"
|
|
39095
|
+
}
|
|
39096
|
+
},
|
|
39097
|
+
"parameters": [
|
|
39098
|
+
{
|
|
39099
|
+
"name": "changed",
|
|
39100
|
+
"type": {
|
|
39101
|
+
"text": "PropertyValues<this>"
|
|
39102
|
+
}
|
|
39103
|
+
}
|
|
39104
|
+
],
|
|
39105
|
+
"inheritedFrom": {
|
|
39106
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
39107
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
39108
|
+
}
|
|
39109
|
+
},
|
|
38495
39110
|
{
|
|
38496
39111
|
"kind": "field",
|
|
38497
39112
|
"name": "_on",
|
|
@@ -39009,11 +39624,25 @@
|
|
|
39009
39624
|
},
|
|
39010
39625
|
{
|
|
39011
39626
|
"kind": "field",
|
|
39012
|
-
"name": "
|
|
39627
|
+
"name": "turnedOn",
|
|
39013
39628
|
"type": {
|
|
39014
39629
|
"text": "boolean"
|
|
39015
39630
|
},
|
|
39016
39631
|
"default": "false",
|
|
39632
|
+
"description": "Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090).",
|
|
39633
|
+
"inheritedFrom": {
|
|
39634
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
39635
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
39636
|
+
}
|
|
39637
|
+
},
|
|
39638
|
+
{
|
|
39639
|
+
"kind": "field",
|
|
39640
|
+
"name": "on",
|
|
39641
|
+
"type": {
|
|
39642
|
+
"text": "boolean | undefined"
|
|
39643
|
+
},
|
|
39644
|
+
"deprecated": "Use `turnedOn`.",
|
|
39645
|
+
"description": "Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`.",
|
|
39017
39646
|
"inheritedFrom": {
|
|
39018
39647
|
"name": "ObcAbstractAutomationButtonSquared",
|
|
39019
39648
|
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
@@ -39065,6 +39694,27 @@
|
|
|
39065
39694
|
"module": "src/automation/automation-button/abstract-automation-button.ts"
|
|
39066
39695
|
}
|
|
39067
39696
|
},
|
|
39697
|
+
{
|
|
39698
|
+
"kind": "method",
|
|
39699
|
+
"name": "willUpdate",
|
|
39700
|
+
"return": {
|
|
39701
|
+
"type": {
|
|
39702
|
+
"text": "void"
|
|
39703
|
+
}
|
|
39704
|
+
},
|
|
39705
|
+
"parameters": [
|
|
39706
|
+
{
|
|
39707
|
+
"name": "changed",
|
|
39708
|
+
"type": {
|
|
39709
|
+
"text": "PropertyValues<this>"
|
|
39710
|
+
}
|
|
39711
|
+
}
|
|
39712
|
+
],
|
|
39713
|
+
"inheritedFrom": {
|
|
39714
|
+
"name": "ObcAbstractAutomationButtonSquared",
|
|
39715
|
+
"module": "src/automation/automation-button/abstract-automation-button-squared.ts"
|
|
39716
|
+
}
|
|
39717
|
+
},
|
|
39068
39718
|
{
|
|
39069
39719
|
"kind": "field",
|
|
39070
39720
|
"name": "_on",
|
|
@@ -48114,8 +48764,15 @@
|
|
|
48114
48764
|
"declarations": [
|
|
48115
48765
|
{
|
|
48116
48766
|
"kind": "class",
|
|
48117
|
-
"description": "`<obc-accordion-card>` – Expandable/collapsible card component for grouping content in a compact, interactive section (accordion, expandable panel, disclosure).\n\nProvides a summary row with optional icon, title, description, and status label. Expands to reveal additional content on click/tap, supporting both single-line and large layouts. Can display an alert overlay for contextual warnings or notifications.\n\n### Features\n- **Expandable/collapsible:** Click/tap toggles between collapsed and expanded states, revealing or hiding additional content.\n- **Variants:**\n - **Single-line:** Compact header with only title (and optional icon/status).\n - **Large:** Header includes a description beneath the title for more detail.\n- **Positioning:** Supports `top`, `bottom`, `center`, or `regular` (default) border radius/edge styling for stacking multiple accordions.\n- **Status label:** Optional status text displayed in the header (e.g., \"Active\", \"Warning\").\n- **Leading icon:** Optional icon slot at the start of the header for visual context.\n- **Alert overlay:** Can display an alert frame (with icon, label, timer) above the card for warnings or notifications.\n- **Disabled state:** Prevents interaction and visually indicates non-interactive status.\n- **Accessibility:** Uses button semantics and ARIA attributes for expand/collapse.\n\n### Usage Guidelines\nUse `obc-accordion-card` to organize related content in a collapsible section, especially when space is limited or when users may want to focus on one section at a time. Ideal for settings panels, grouped controls, or dashboards where expandable details are needed. Avoid using for persistent, always-visible content.\n\n- Use the **single-line** variant for brief titles or when space is tight.\n- Use the **large** variant when you need to provide a short description or supporting text under the title.\n- The **status label** is useful for showing quick state info (e.g., \"Active\", \"Error\").\n- The **alert overlay** is intended for contextual warnings or notifications related to the card's content.\n- For stacking multiple accordions, adjust the `position` property to control border radii and visual grouping.\n\n**TODO(designer):** Confirm if there are recommended limits on title/description length, and if only one accordion should be expanded at a time in a group.\n\n### Slots\n| Slot Name | Renders When... | Purpose |\n|-------------------|------------------------|-------------------------------------------------------|\n| leading-icon | `hasLeadingIcon` true | Icon at the start of the header (e.g., `<obi-placeholder></obi-placeholder>`). |\n| expanded-content | Always | Content revealed when the accordion is expanded. |\n| alert-icon | `hasAlert` true | Icon for the alert overlay (slot=\"icon\" in alert frame). |\n| alert-label | `hasAlert` true | Label text for the alert overlay (slot=\"label\" in alert frame). |\n| alert-timer | `hasAlert` true | Timer or duration text for the alert overlay (slot=\"timer\" in alert frame). |\n\n### Properties\n- `expanded` (boolean): Whether the card is expanded (shows additional content). Toggled by user interaction.\n- `disabled` (boolean): Disables interaction and visually dims the card.\n- `cardTitle` (string): Main title text shown in the header.\n- `description` (string): Supporting description (shown only in large size and if `hasDescription` is true).\n- `statusLabel` (string): Optional status text in the header (shown if `hasStatusLabel` is true).\n- `hasAlert` (boolean): Shows an alert overlay above the card when true.\n- `hasDescription` (boolean): Enables description text in large variant.\n- `hasStatusLabel` (boolean): Enables status label in header.\n- `hasLeadingIcon` (boolean): Enables leading icon slot in header.\n- `size` (`AccordionSize` enum): Layout variant, either `'single-line'` (default) or `'large'`.\n- `position` (`Position` enum): Controls border radius for stacking (`'top'`, `'bottom'`, `'center'`, `'regular'`).\n- `alertFrameType`, `alertFrameThickness`, `alertFrameStatus`: Configure the alert overlay's appearance (see `obc-alert-frame` for details).\n\n### Events\n- `accordion-toggle` – Fired when the accordion is expanded or collapsed. Event detail includes `{ expanded, cardTitle }`.\n\n### Best Practices\n- Only use the alert overlay for important, contextual notifications related to the card's content.\n- For accessibility, ensure the card title is descriptive and unique within a group.\n- Avoid nesting interactive elements (like buttons) directly in the header; place them in the expanded content if needed.\n\n### Example:\n```\n<obc-accordion-card\n cardTitle=\"Settings\"\n description=\"Configure your preferences\"\n size=\"large\"\n hasDescription\n expanded\n hasLeadingIcon\n>\n <span slot=\"leading-icon\"><obi-placeholder></obi-placeholder></span>\n <div slot=\"expanded-content\">\n <!-- Additional settings controls here -->\n </div>\n</obc-accordion-card>\n```",
|
|
48767
|
+
"description": "`<obc-accordion-card>` – Expandable/collapsible card component for grouping content in a compact, interactive section (accordion, expandable panel, disclosure).\n\nProvides a summary row with optional icon, title, description, and status label. Expands to reveal additional content on click/tap, supporting both single-line and large layouts. Can display an alert overlay for contextual warnings or notifications.\n\n### Features\n- **Expandable/collapsible:** Click/tap toggles between collapsed and expanded states, revealing or hiding additional content. The panel slides open and closed, and the chevron turns with it; `prefers-reduced-motion: reduce` switches instantly instead.\n- **Variants:**\n - **Single-line:** Compact header with only title (and optional icon/status).\n - **Large:** Header includes a description beneath the title for more detail.\n- **Positioning:** Supports `top`, `bottom`, `center`, or `regular` (default) border radius/edge styling for stacking multiple accordions.\n- **Status label:** Optional status text displayed in the header (e.g., \"Active\", \"Warning\").\n- **Leading icon:** Optional icon slot at the start of the header for visual context.\n- **Alert overlay:** Can display an alert frame (with icon, label, timer) above the card for warnings or notifications.\n- **Disabled state:** Prevents interaction and visually indicates non-interactive status.\n- **Accessibility:** Uses button semantics and ARIA attributes for expand/collapse.\n\n### Usage Guidelines\nUse `obc-accordion-card` to organize related content in a collapsible section, especially when space is limited or when users may want to focus on one section at a time. Ideal for settings panels, grouped controls, or dashboards where expandable details are needed. Avoid using for persistent, always-visible content.\n\n- Use the **single-line** variant for brief titles or when space is tight.\n- Use the **large** variant when you need to provide a short description or supporting text under the title.\n- The **status label** is useful for showing quick state info (e.g., \"Active\", \"Error\").\n- The **alert overlay** is intended for contextual warnings or notifications related to the card's content.\n- For stacking multiple accordions, adjust the `position` property to control border radii and visual grouping.\n\n**TODO(designer):** Confirm if there are recommended limits on title/description length, and if only one accordion should be expanded at a time in a group.\n\n### Slots\n| Slot Name | Renders When... | Purpose |\n|-------------------|------------------------|-------------------------------------------------------|\n| leading-icon | `hasLeadingIcon` true | Icon at the start of the header (e.g., `<obi-placeholder></obi-placeholder>`). |\n| expanded-content | Always | Content revealed when the accordion is expanded. |\n| alert-icon | `hasAlert` true | Icon for the alert overlay (slot=\"icon\" in alert frame). |\n| alert-label | `hasAlert` true | Label text for the alert overlay (slot=\"label\" in alert frame). |\n| alert-timer | `hasAlert` true | Timer or duration text for the alert overlay (slot=\"timer\" in alert frame). |\n\n### Properties\n- `expanded` (boolean): Whether the card is expanded (shows additional content). Toggled by user interaction.\n- `disabled` (boolean): Disables interaction and visually dims the card.\n- `cardTitle` (string): Main title text shown in the header.\n- `description` (string): Supporting description (shown only in large size and if `hasDescription` is true).\n- `statusLabel` (string): Optional status text in the header (shown if `hasStatusLabel` is true).\n- `hasAlert` (boolean): Shows an alert overlay above the card when true.\n- `hasDescription` (boolean): Enables description text in large variant.\n- `hasStatusLabel` (boolean): Enables status label in header.\n- `hasLeadingIcon` (boolean): Enables leading icon slot in header.\n- `size` (`AccordionSize` enum): Layout variant, either `'single-line'` (default) or `'large'`.\n- `position` (`Position` enum): Controls border radius for stacking (`'top'`, `'bottom'`, `'center'`, `'regular'`).\n- `alertFrameType`, `alertFrameThickness`, `alertFrameStatus`: Configure the alert overlay's appearance (see `obc-alert-frame` for details).\n\n### Events\n- `accordion-toggle` – Fired when the accordion is expanded or collapsed. Event detail includes `{ expanded, cardTitle }`.\n\n### Best Practices\n- Only use the alert overlay for important, contextual notifications related to the card's content.\n- For accessibility, ensure the card title is descriptive and unique within a group.\n- Avoid nesting interactive elements (like buttons) directly in the header; place them in the expanded content if needed.\n\n### Example:\n```\n<obc-accordion-card\n cardTitle=\"Settings\"\n description=\"Configure your preferences\"\n size=\"large\"\n hasDescription\n expanded\n hasLeadingIcon\n>\n <span slot=\"leading-icon\"><obi-placeholder></obi-placeholder></span>\n <div slot=\"expanded-content\">\n <!-- Additional settings controls here -->\n </div>\n</obc-accordion-card>\n```",
|
|
48118
48768
|
"name": "ObcAccordionCard",
|
|
48769
|
+
"cssProperties": [
|
|
48770
|
+
{
|
|
48771
|
+
"description": "How long the panel takes to open and close. The chevron and the card's corners follow it. Ignored under `prefers-reduced-motion: reduce`.",
|
|
48772
|
+
"name": "--obc-accordion-expand-duration",
|
|
48773
|
+
"default": "200ms"
|
|
48774
|
+
}
|
|
48775
|
+
],
|
|
48119
48776
|
"slots": [
|
|
48120
48777
|
{
|
|
48121
48778
|
"description": "Icon at the start of the header (shown when `hasLeadingIcon` is true)",
|
|
@@ -48271,6 +48928,19 @@
|
|
|
48271
48928
|
"name": "handleToggle",
|
|
48272
48929
|
"privacy": "private"
|
|
48273
48930
|
},
|
|
48931
|
+
{
|
|
48932
|
+
"kind": "method",
|
|
48933
|
+
"name": "willUpdate",
|
|
48934
|
+
"parameters": [
|
|
48935
|
+
{
|
|
48936
|
+
"name": "changed",
|
|
48937
|
+
"type": {
|
|
48938
|
+
"text": "PropertyValues<this>"
|
|
48939
|
+
}
|
|
48940
|
+
}
|
|
48941
|
+
],
|
|
48942
|
+
"description": "Keeps the keyboard somewhere predictable when the panel closes.\n\nA collapsed panel is `inert`, and the browser drops focus out of anything\nit makes inert — onto `<body>`, two frames later. Clicking the header\nalready leaves focus there; a consumer setting `expanded` while a slotted\ncontrol has focus is the case that needs the transfer."
|
|
48943
|
+
},
|
|
48274
48944
|
{
|
|
48275
48945
|
"kind": "method",
|
|
48276
48946
|
"name": "renderContentMain",
|
|
@@ -48334,11 +49004,18 @@
|
|
|
48334
49004
|
"declarations": [
|
|
48335
49005
|
{
|
|
48336
49006
|
"kind": "class",
|
|
48337
|
-
"description": "`<obc-accordion-item>` – A collapsible section component for toggling the visibility of content panels (commonly known as an accordion item, expandable panel, or disclosure).\n\nProvides a single expandable/collapsible section with a clickable header and an optional content area. Useful for organizing related information in a compact, vertically stacked layout, allowing users to reveal or hide details as needed.\n\n### Features\n- **Toggleable Expansion:** Click the header to expand or collapse the content area. The
|
|
49007
|
+
"description": "`<obc-accordion-item>` – A collapsible section component for toggling the visibility of content panels (commonly known as an accordion item, expandable panel, or disclosure).\n\nProvides a single expandable/collapsible section with a clickable header and an optional content area. Useful for organizing related information in a compact, vertically stacked layout, allowing users to reveal or hide details as needed.\n\n### Features\n- **Toggleable Expansion:** Click the header to expand or collapse the content area. The panel slides open and closed, and the chevron turns with it; `prefers-reduced-motion: reduce` switches instantly instead.\n- **Disabled State:** Prevents user interaction and visually indicates non-interactivity.\n- **Customizable Content:** Slot for custom expanded content (`expanded-content`), supporting any HTML or component.\n- **Optional Divider:** Can display a divider line below the item for visual separation in lists.\n- **Accessible:** Uses a button for the header with appropriate ARIA attributes for accessibility.\n\n### Usage Guidelines\nUse `obc-accordion-item` to organize content into expandable sections, such as FAQs, settings panels, or grouped lists. Ideal when you want to let users scan section titles and expand only those relevant to them. For multi-item accordions, stack several `obc-accordion-item` components vertically.\n\n- Use the `title` property for the section label.\n- Place any custom content (text, forms, components) in the `expanded-content` slot.\n- Use the `disabled` property to prevent interaction for items that should not be toggled.\n- Use the `showDivider` property to visually separate items in a list.\n- If you need a persistent panel (not collapsible), use a different container component.\n\n**TODO(designer):** Confirm if there are recommended patterns for managing open/close state in multi-item accordions (e.g., only one open at a time), or if this is left to the developer.\n\n### Slots\n| Slot Name | Renders When... | Purpose |\n|-------------------|--------------------------|-------------------------------------------------|\n| expanded-content | Always | Custom content revealed while the item is open |\n\n### Events\n- `accordion-item-toggle` – Fired when the item is toggled open or closed. Event detail: `{ open: boolean, title: string }`\n\n### Best Practices\n- Keep section titles concise for easy scanning.\n- Avoid placing interactive controls in the header area to prevent accidental toggling.\n- For accessibility, ensure each item’s title is unique within a group.\n\n**Example:**\n```\n<obc-accordion-item title=\"Details\" .open=${false}>\n <div slot=\"expanded-content\">\n <p>Additional information goes here.</p>\n </div>\n</obc-accordion-item>\n```",
|
|
48338
49008
|
"name": "ObcAccordionItem",
|
|
49009
|
+
"cssProperties": [
|
|
49010
|
+
{
|
|
49011
|
+
"description": "How long the panel takes to open and close. The chevron and the header's corners follow it. Ignored under `prefers-reduced-motion: reduce`.",
|
|
49012
|
+
"name": "--obc-accordion-expand-duration",
|
|
49013
|
+
"default": "200ms"
|
|
49014
|
+
}
|
|
49015
|
+
],
|
|
48339
49016
|
"slots": [
|
|
48340
49017
|
{
|
|
48341
|
-
"description": "Content
|
|
49018
|
+
"description": "Content revealed while the item is open.",
|
|
48342
49019
|
"name": "expanded-content"
|
|
48343
49020
|
}
|
|
48344
49021
|
],
|
|
@@ -48384,6 +49061,19 @@
|
|
|
48384
49061
|
"name": "handleToggle",
|
|
48385
49062
|
"privacy": "private"
|
|
48386
49063
|
},
|
|
49064
|
+
{
|
|
49065
|
+
"kind": "method",
|
|
49066
|
+
"name": "willUpdate",
|
|
49067
|
+
"parameters": [
|
|
49068
|
+
{
|
|
49069
|
+
"name": "changed",
|
|
49070
|
+
"type": {
|
|
49071
|
+
"text": "PropertyValues<this>"
|
|
49072
|
+
}
|
|
49073
|
+
}
|
|
49074
|
+
],
|
|
49075
|
+
"description": "Keeps the keyboard somewhere predictable when the panel closes.\n\nA collapsed panel is `inert`, and the browser drops focus out of anything\nit makes inert — onto `<body>`, two frames later. Clicking the header\nalready leaves focus there; a consumer setting `open` while a slotted\ncontrol has focus is the case that needs the transfer."
|
|
49076
|
+
},
|
|
48387
49077
|
{
|
|
48388
49078
|
"kind": "method",
|
|
48389
49079
|
"name": "renderContent",
|