@oicl/openbridge-webcomponents-vue 2.0.0-next.58 → 2.0.0-next.59
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/automation/analog-valve/ObcAnalogValve.vue.d.ts +6 -3
- package/automation/analog-valve/ObcAnalogValve.vue2.js +1 -1
- package/automation/analog-valve/ObcAnalogValve.vue2.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButton.vue.d.ts +6 -3
- package/automation/automation-button/ObcAbstractAutomationButton.vue2.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButton.vue2.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue.d.ts +6 -3
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonMotorized.vue2.js.map +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue.d.ts +6 -3
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js +1 -1
- package/automation/automation-button/ObcAbstractAutomationButtonSquared.vue2.js.map +1 -1
- package/automation/automation-button/ObcAutomationButton.vue.d.ts +6 -3
- package/automation/automation-button/ObcAutomationButton.vue2.js +1 -1
- package/automation/automation-button/ObcAutomationButton.vue2.js.map +1 -1
- package/automation/automation-tank/ObcAutomationTank.vue.d.ts +5 -3
- package/automation/automation-tank/ObcAutomationTank.vue2.js.map +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue.d.ts +6 -3
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js +1 -1
- package/automation/bipolar-transistor/ObcBipolarTransistor.vue2.js.map +1 -1
- package/automation/capacitor/ObcCapacitor.vue.d.ts +6 -3
- package/automation/capacitor/ObcCapacitor.vue2.js +1 -1
- package/automation/capacitor/ObcCapacitor.vue2.js.map +1 -1
- package/automation/converter/ObcConverter.vue.d.ts +6 -3
- package/automation/converter/ObcConverter.vue2.js +1 -1
- package/automation/converter/ObcConverter.vue2.js.map +1 -1
- package/automation/damper/ObcDamper.vue.d.ts +6 -3
- package/automation/damper/ObcDamper.vue2.js +1 -1
- package/automation/damper/ObcDamper.vue2.js.map +1 -1
- package/automation/digital-valve/ObcDigitalValve.vue.d.ts +6 -3
- package/automation/digital-valve/ObcDigitalValve.vue2.js +1 -1
- package/automation/digital-valve/ObcDigitalValve.vue2.js.map +1 -1
- package/automation/diodes/ObcDiodes.vue.d.ts +6 -3
- package/automation/diodes/ObcDiodes.vue2.js +1 -1
- package/automation/diodes/ObcDiodes.vue2.js.map +1 -1
- package/automation/fan/ObcFan.vue.d.ts +6 -3
- package/automation/fan/ObcFan.vue2.js +1 -1
- package/automation/fan/ObcFan.vue2.js.map +1 -1
- package/automation/filter/ObcFilter.vue.d.ts +6 -3
- package/automation/filter/ObcFilter.vue2.js +1 -1
- package/automation/filter/ObcFilter.vue2.js.map +1 -1
- package/automation/ground/ObcGround.vue.d.ts +6 -3
- package/automation/ground/ObcGround.vue2.js +1 -1
- package/automation/ground/ObcGround.vue2.js.map +1 -1
- package/automation/logic/ObcLogic.vue.d.ts +6 -3
- package/automation/logic/ObcLogic.vue2.js +1 -1
- package/automation/logic/ObcLogic.vue2.js.map +1 -1
- package/automation/mosfet/ObcMosfet.vue.d.ts +6 -3
- package/automation/mosfet/ObcMosfet.vue2.js +1 -1
- package/automation/mosfet/ObcMosfet.vue2.js.map +1 -1
- package/automation/motor/ObcMotor.vue.d.ts +6 -3
- package/automation/motor/ObcMotor.vue2.js +1 -1
- package/automation/motor/ObcMotor.vue2.js.map +1 -1
- package/automation/pump/ObcPump.vue.d.ts +6 -3
- package/automation/pump/ObcPump.vue2.js +1 -1
- package/automation/pump/ObcPump.vue2.js.map +1 -1
- package/automation/resistor/ObcResistor.vue.d.ts +6 -3
- package/automation/resistor/ObcResistor.vue2.js +1 -1
- package/automation/resistor/ObcResistor.vue2.js.map +1 -1
- package/automation/router/ObcRouter.vue.d.ts +6 -3
- package/automation/router/ObcRouter.vue2.js +1 -1
- package/automation/router/ObcRouter.vue2.js.map +1 -1
- package/automation/source/ObcSource.vue.d.ts +6 -3
- package/automation/source/ObcSource.vue2.js +1 -1
- package/automation/source/ObcSource.vue2.js.map +1 -1
- package/automation/switch/ObcSwitch.vue.d.ts +6 -3
- package/automation/switch/ObcSwitch.vue2.js +1 -1
- package/automation/switch/ObcSwitch.vue2.js.map +1 -1
- package/automation/transformer/ObcTransformer.vue.d.ts +6 -3
- package/automation/transformer/ObcTransformer.vue2.js +1 -1
- package/automation/transformer/ObcTransformer.vue2.js.map +1 -1
- package/components/accordion-card/ObcAccordionCard.vue.d.ts +5 -3
- package/components/accordion-card/ObcAccordionCard.vue2.js.map +1 -1
- package/components/alert-frame/ObcAlertFrame.vue.d.ts +7 -3
- package/components/alert-frame/ObcAlertFrame.vue2.js +1 -1
- package/components/alert-frame/ObcAlertFrame.vue2.js.map +1 -1
- package/components/alert-frame/ObiCriticalBadge.vue.d.ts +5 -0
- package/components/alert-frame/ObiCriticalBadge.vue.js +2 -0
- package/components/alert-frame/ObiCriticalBadge.vue.js.map +1 -0
- package/components/alert-frame/ObiCriticalBadge.vue2.js +2 -0
- package/components/alert-frame/ObiCriticalBadge.vue2.js.map +1 -0
- package/components/alert-frame/ObiDiagnosticBadge.vue.d.ts +5 -0
- package/components/alert-frame/ObiDiagnosticBadge.vue.js +2 -0
- package/components/alert-frame/ObiDiagnosticBadge.vue.js.map +1 -0
- package/components/alert-frame/ObiDiagnosticBadge.vue2.js +2 -0
- package/components/alert-frame/ObiDiagnosticBadge.vue2.js.map +1 -0
- package/manual-icon/ObiAlertsCriticalTwotone.vue.d.ts +6 -0
- package/manual-icon/ObiAlertsCriticalTwotone.vue.js +2 -0
- package/manual-icon/ObiAlertsCriticalTwotone.vue.js.map +1 -0
- package/manual-icon/ObiAlertsCriticalTwotone.vue2.js +2 -0
- package/manual-icon/ObiAlertsCriticalTwotone.vue2.js.map +1 -0
- package/manual-icon/ObiAlertsDiagnosticTwotone.vue.d.ts +6 -0
- package/manual-icon/ObiAlertsDiagnosticTwotone.vue.js +2 -0
- package/manual-icon/ObiAlertsDiagnosticTwotone.vue.js.map +1 -0
- package/manual-icon/ObiAlertsDiagnosticTwotone.vue2.js +2 -0
- package/manual-icon/ObiAlertsDiagnosticTwotone.vue2.js.map +1 -0
- package/navigation-instruments/readout/ObcReadout.vue.d.ts +6 -3
- package/navigation-instruments/readout/ObcReadout.vue2.js +1 -1
- package/navigation-instruments/readout/ObcReadout.vue2.js.map +1 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue.d.ts +6 -3
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js +1 -1
- package/navigation-instruments/readout-list-item/ObcReadoutListItem.vue2.js.map +1 -1
- package/package.json +6 -2
|
@@ -3,7 +3,8 @@ import { SourceAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/autom
|
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
4
|
import { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
5
|
import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
-
import { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
6
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
10
|
export interface Props {
|
|
@@ -17,7 +18,8 @@ export interface Props {
|
|
|
17
18
|
alert?: boolean;
|
|
18
19
|
alertFrameType?: ObcAlertFrameType;
|
|
19
20
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
20
|
-
alertFrameStatus?:
|
|
21
|
+
alertFrameStatus?: AlertType;
|
|
22
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
21
23
|
showAlertCategoryIcon?: boolean;
|
|
22
24
|
showAlertIcon?: boolean;
|
|
23
25
|
progress?: boolean;
|
|
@@ -34,7 +36,8 @@ export type { SourceAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/
|
|
|
34
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
35
37
|
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
36
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
37
|
-
export type { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
39
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
38
41
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
39
42
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
40
43
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const S=d({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-source",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{S as default};
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/source/source.js";const S=d({__name:"ObcSource",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const p=m(),i=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,h("obc-source",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[l]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcSource.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcSource.vue2.js","sources":["../../src/automation/source/ObcSource.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\n import {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
1
|
+
{"version":3,"file":"ObcSource.vue2.js","sources":["../../src/automation/source/ObcSource.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\n import {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SourceAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/source/source.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSource',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-source',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uQAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,aACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -3,7 +3,8 @@ import { SwitchAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/autom
|
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
4
|
import { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
5
|
import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
-
import { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
6
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
10
|
export interface Props {
|
|
@@ -17,7 +18,8 @@ export interface Props {
|
|
|
17
18
|
alert?: boolean;
|
|
18
19
|
alertFrameType?: ObcAlertFrameType;
|
|
19
20
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
20
|
-
alertFrameStatus?:
|
|
21
|
+
alertFrameStatus?: AlertType;
|
|
22
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
21
23
|
showAlertCategoryIcon?: boolean;
|
|
22
24
|
showAlertIcon?: boolean;
|
|
23
25
|
progress?: boolean;
|
|
@@ -34,7 +36,8 @@ export type { SwitchAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/
|
|
|
34
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
35
37
|
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
36
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
37
|
-
export type { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
39
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
38
41
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
39
42
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
40
43
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const w=d({__name:"ObcSwitch",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,v("obc-switch",e,y(i))};return(t,e)=>f((g(),h(p,null,null,512)),[[l]])}});export{w as default};
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as h,h as v}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/switch/switch.js";const w=d({__name:"ObcSwitch",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(c){const o=c,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let s=!1;const i=m(),p=()=>{const e={};for(const r in o){const a=o[r];(a!==void 0||s)&&(e[r]=a??n[r])}return s=!0,v("obc-switch",e,y(i))};return(t,e)=>f((g(),h(p,null,null,512)),[[l]])}});export{w as default};
|
|
2
2
|
//# sourceMappingURL=ObcSwitch.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcSwitch.vue2.js","sources":["../../src/automation/switch/ObcSwitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\n import {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
1
|
+
{"version":3,"file":"ObcSwitch.vue2.js","sources":["../../src/automation/switch/ObcSwitch.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\n import {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: SwitchAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/switch/switch.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSwitch',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-switch',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4QAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,aACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -3,7 +3,8 @@ import { TransformerAlternativeIcon } from '@oicl/openbridge-webcomponents/dist/
|
|
|
3
3
|
import { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
4
4
|
import { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
5
5
|
import { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
6
|
-
import { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
6
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
8
|
import { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
8
9
|
import { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
9
10
|
export interface Props {
|
|
@@ -17,7 +18,8 @@ export interface Props {
|
|
|
17
18
|
alert?: boolean;
|
|
18
19
|
alertFrameType?: ObcAlertFrameType;
|
|
19
20
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
20
|
-
alertFrameStatus?:
|
|
21
|
+
alertFrameStatus?: AlertType;
|
|
22
|
+
alertFrameMode?: ObcAlertFrameMode;
|
|
21
23
|
showAlertCategoryIcon?: boolean;
|
|
22
24
|
showAlertIcon?: boolean;
|
|
23
25
|
progress?: boolean;
|
|
@@ -34,7 +36,8 @@ export type { TransformerAlternativeIcon } from '@oicl/openbridge-webcomponents/
|
|
|
34
36
|
export type { SquaredVariant } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';
|
|
35
37
|
export type { AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
36
38
|
export type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
37
|
-
export type { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
39
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
40
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
38
41
|
export type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
39
42
|
export type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
40
43
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js";const _=d({__name:"ObcTransformer",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as m,withDirectives as f,openBlock as g,createBlock as v,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js";const _=d({__name:"ObcTransformer",props:{alternativeIcon:{},on:{type:Boolean},variant:{},showReadoutStack:{type:Boolean},readoutPosition:{},readoutSize:{},positioning:{},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},alertFrameMode:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},progress:{type:Boolean},progressMode:{},progressValue:{},tag:{},direction:{},badgeControl:{},badgeCommandLocked:{},badgeInterlock:{},badgeAlert:{}},setup(l){const o=l,n=u({}),c={created(t){for(const e in o)n[e]=t[e]}};let a=!1;const p=m(),i=()=>{const e={};for(const r in o){const s=o[r];(s!==void 0||a)&&(e[r]=s??n[r])}return a=!0,h("obc-transformer",e,y(p))};return(t,e)=>f((g(),v(i,null,null,512)),[[c]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcTransformer.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcTransformer.vue2.js","sources":["../../src/automation/transformer/ObcTransformer.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\n import {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
1
|
+
{"version":3,"file":"ObcTransformer.vue2.js","sources":["../../src/automation/transformer/ObcTransformer.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\n import {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nimport {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nimport {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nimport {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n alternativeIcon?: TransformerAlternativeIcon;\n on?: boolean;\n variant?: SquaredVariant;\n showReadoutStack?: boolean;\n readoutPosition?: AutomationButtonReadoutPosition;\n readoutSize?: AutomationButtonReadoutStackSize;\n positioning?: AutomationButtonPositioning;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType;\n alertFrameMode?: ObcAlertFrameMode;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n progress?: boolean;\n progressMode?: CircularProgressMode;\n progressValue?: number;\n tag?: string | null;\n direction?: AutomationButtonDirection;\n badgeControl?: AutomationButtonBadgeControl;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeAlert?: AutomationButtonBadgeAlert\n }\n\n \n \n export type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/automation/transformer/transformer.js';\nexport type {SquaredVariant} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button-squared.js';\nexport type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';\nexport type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTransformer',\n props: {\n alternativeIcon: {},\n on: { type: Boolean },\n variant: {},\n showReadoutStack: { type: Boolean },\n readoutPosition: {},\n readoutSize: {},\n positioning: {},\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n alertFrameMode: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n progress: { type: Boolean },\n progressMode: {},\n progressValue: {},\n tag: {},\n direction: {},\n badgeControl: {},\n badgeCommandLocked: {},\n badgeInterlock: {},\n badgeAlert: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-transformer',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"iRAoDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,gBAAiB,CAAA,EACjB,GAAI,CAAE,KAAM,OAAA,EACZ,QAAS,CAAA,EACT,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAA,EACjB,YAAa,CAAA,EACb,YAAa,CAAA,EACb,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,eAAgB,CAAA,EAChB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,SAAU,CAAE,KAAM,OAAA,EAClB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,IAAK,CAAA,EACL,UAAW,CAAA,EACX,aAAc,CAAA,EACd,mBAAoB,CAAA,EACpB,eAAgB,CAAA,EAChB,WAAY,CAAA,CAAC,EAEf,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,kBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
|
|
2
2
|
import { Position, AccordionSize } from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
|
|
3
|
-
import { ObcAlertFrameType, ObcAlertFrameThickness
|
|
3
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
4
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
4
5
|
export interface Props {
|
|
5
6
|
cardTitle?: string;
|
|
6
7
|
description?: string;
|
|
@@ -15,10 +16,11 @@ export interface Props {
|
|
|
15
16
|
size?: AccordionSize;
|
|
16
17
|
alertFrameType?: ObcAlertFrameType;
|
|
17
18
|
alertFrameThickness?: ObcAlertFrameThickness;
|
|
18
|
-
alertFrameStatus?:
|
|
19
|
+
alertFrameStatus?: AlertType;
|
|
19
20
|
}
|
|
20
21
|
export type { Position, AccordionSize } from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
|
|
21
|
-
export type { ObcAlertFrameType, ObcAlertFrameThickness
|
|
22
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
23
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
22
24
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
25
|
"accordion-toggle": (payload: CustomEvent<{
|
|
24
26
|
expanded: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAccordionCard.vue2.js","sources":["../../src/components/accordion-card/ObcAccordionCard.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';\n import {Position, AccordionSize} from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness
|
|
1
|
+
{"version":3,"file":"ObcAccordionCard.vue2.js","sources":["../../src/components/accordion-card/ObcAccordionCard.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';\n import {Position, AccordionSize} from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n cardTitle?: string;\n description?: string;\n statusLabel?: string;\n expanded?: boolean;\n disabled?: boolean;\n hasAlert?: boolean;\n hasDescription?: boolean;\n hasStatusLabel?: boolean;\n hasLeadingIcon?: boolean;\n position?: Position;\n size?: AccordionSize;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: AlertType\n }\n\n \n \n export type {Position, AccordionSize} from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAccordionCard',\n props: {\n cardTitle: {},\n description: {},\n statusLabel: {},\n expanded: { type: Boolean },\n disabled: { type: Boolean },\n hasAlert: { type: Boolean },\n hasDescription: { type: Boolean },\n hasStatusLabel: { type: Boolean },\n hasLeadingIcon: { type: Boolean },\n position: {},\n size: {},\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {}\n },\n emits: [\"accordion-toggle\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onAccordionToggle: (event: CustomEvent<{expanded: boolean, cardTitle: string}>) => emit('accordion-toggle', event as CustomEvent<{expanded: boolean, cardTitle: string}>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-accordion-card',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"4RAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,UAAW,CAAA,EACX,YAAa,CAAA,EACb,YAAa,CAAA,EACb,SAAU,CAAE,KAAM,OAAA,EAClB,SAAU,CAAE,KAAM,OAAA,EAClB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,eAAgB,CAAE,KAAM,OAAA,EACxB,eAAgB,CAAE,KAAM,OAAA,EACxB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,CAAC,EAErB,MAAO,CAAC,kBAAkB,EAC1B,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,kBAAoBC,GAA+DL,EAAK,mBAAoBK,CAA4D,CAAA,EAKtK,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
2
|
-
import { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
2
|
+
import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
3
|
+
import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
3
4
|
export interface Props {
|
|
4
5
|
type?: ObcAlertFrameType;
|
|
5
6
|
thickness?: ObcAlertFrameThickness;
|
|
6
|
-
status?:
|
|
7
|
+
status?: AlertType;
|
|
8
|
+
mode?: ObcAlertFrameMode;
|
|
9
|
+
wrapContent?: boolean;
|
|
7
10
|
sharpEdgeTopLeft?: boolean;
|
|
8
11
|
sharpEdgeTopRight?: boolean;
|
|
9
12
|
sharpEdgeBottomLeft?: boolean;
|
|
@@ -12,6 +15,7 @@ export interface Props {
|
|
|
12
15
|
showIcon?: boolean;
|
|
13
16
|
showAlertCategoryIcon?: boolean;
|
|
14
17
|
}
|
|
15
|
-
export type { ObcAlertFrameType, ObcAlertFrameThickness,
|
|
18
|
+
export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
19
|
+
export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
16
20
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
21
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as d,reactive as f,useSlots as h,withDirectives as m,openBlock as u,createBlock as B,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js";const E=d({__name:"ObcAlertFrame",props:{type:{},thickness:{},status:{},mode:{},wrapContent:{type:Boolean},sharpEdgeTopLeft:{type:Boolean},sharpEdgeTopRight:{type:Boolean},sharpEdgeBottomLeft:{type:Boolean},sharpEdgeBottomRight:{type:Boolean},textSize:{},showIcon:{type:Boolean},showAlertCategoryIcon:{type:Boolean}},setup(a){const t=a,s=f({}),c={created(o){for(const e in t)s[e]=o[e]}};let r=!1;const l=h(),i=()=>{const e={};for(const n in t){const p=t[n];(p!==void 0||r)&&(e[n]=p??s[n])}return r=!0,y("obc-alert-frame",e,g(l))};return(o,e)=>m((u(),B(i,null,null,512)),[[c]])}});export{E as default};
|
|
2
2
|
//# sourceMappingURL=ObcAlertFrame.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAlertFrame.vue2.js","sources":["../../src/components/alert-frame/ObcAlertFrame.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n import {ObcAlertFrameType, ObcAlertFrameThickness,
|
|
1
|
+
{"version":3,"file":"ObcAlertFrame.vue2.js","sources":["../../src/components/alert-frame/ObcAlertFrame.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n import {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n type?: ObcAlertFrameType;\n thickness?: ObcAlertFrameThickness;\n status?: AlertType;\n mode?: ObcAlertFrameMode;\n wrapContent?: boolean;\n sharpEdgeTopLeft?: boolean;\n sharpEdgeTopRight?: boolean;\n sharpEdgeBottomLeft?: boolean;\n sharpEdgeBottomRight?: boolean;\n textSize?: AlertFrameTextSize;\n showIcon?: boolean;\n showAlertCategoryIcon?: boolean\n }\n\n \n \n export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertFrame',\n props: {\n type: {},\n thickness: {},\n status: {},\n mode: {},\n wrapContent: { type: Boolean },\n sharpEdgeTopLeft: { type: Boolean },\n sharpEdgeTopRight: { type: Boolean },\n sharpEdgeBottomLeft: { type: Boolean },\n sharpEdgeBottomRight: { type: Boolean },\n textSize: {},\n showIcon: { type: Boolean },\n showAlertCategoryIcon: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-frame',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,KAAM,CAAA,EACN,UAAW,CAAA,EACX,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,YAAa,CAAE,KAAM,OAAA,EACrB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,qBAAsB,CAAE,KAAM,OAAA,EAC9B,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,OAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,CAAQ,EAEzC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,kBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/components/alert-frame/critical-badge.js';
|
|
2
|
+
export interface Props {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiCriticalBadge.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as s,useSlots as n,openBlock as c,createBlock as p,h as i}from"vue";import{assignSlotNodes as a}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-frame/critical-badge.js";const u=s({__name:"ObiCriticalBadge",setup(l){const o=n(),e=()=>i("obi-critical-badge",{},a(o));return(t,r)=>(c(),p(e))}});export{u as default};
|
|
2
|
+
//# sourceMappingURL=ObiCriticalBadge.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiCriticalBadge.vue2.js","sources":["../../src/components/alert-frame/ObiCriticalBadge.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-frame/critical-badge.js';\n \n\n export interface Props {\n \n }\n\n \n\n \n\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiCriticalBadge',\n setup(__props) {\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n\n return h(\n 'obi-critical-badge',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(render))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","slots","useSlots","render","h","assignSlotNodes","_ctx","_cache","_openBlock","_createBlock"],"mappings":"uPAiBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAMC,EAAS,CAEX,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAQNC,EACL,qBARiB,CAAA,EAUjBC,EAAgBJ,CAAK,CAAA,EAI/B,MAAO,CAACK,EAAUC,KACRC,EAAA,EAAcC,EAAaN,CAAM,EAE3C,CAEA,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/components/alert-frame/diagnostic-badge.js';
|
|
2
|
+
export interface Props {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiDiagnosticBadge.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as n,useSlots as r,openBlock as p,createBlock as c,h as i}from"vue";import{assignSlotNodes as a}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-frame/diagnostic-badge.js";const u=n({__name:"ObiDiagnosticBadge",setup(m){const o=r(),e=()=>i("obi-diagnostic-badge",{},a(o));return(t,s)=>(p(),c(e))}});export{u as default};
|
|
2
|
+
//# sourceMappingURL=ObiDiagnosticBadge.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiDiagnosticBadge.vue2.js","sources":["../../src/components/alert-frame/ObiDiagnosticBadge.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-frame/diagnostic-badge.js';\n \n\n export interface Props {\n \n }\n\n \n\n \n\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiDiagnosticBadge',\n setup(__props) {\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n\n return h(\n 'obi-diagnostic-badge',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(render))\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","slots","useSlots","render","h","assignSlotNodes","_ctx","_cache","_openBlock","_createBlock"],"mappings":"yPAiBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAMC,EAAS,CAEX,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAQNC,EACL,uBARiB,CAAA,EAUjBC,EAAgBJ,CAAK,CAAA,EAI/B,MAAO,CAACK,EAAUC,KACRC,EAAA,EAAcC,EAAaN,CAAM,EAE3C,CAEA,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/manual-icon/icon-alerts-critical-twotone.js';
|
|
2
|
+
export interface Props {
|
|
3
|
+
useCssColor?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiAlertsCriticalTwotone.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as C}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/manual-icon/icon-alerts-critical-twotone.js";const b=u({__name:"ObiAlertsCriticalTwotone",props:{useCssColor:{type:Boolean}},setup(i){const t=i,n=f({}),l={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const a=d(),p=()=>{const e={};for(const s in t){const c=t[s];(c!==void 0||r)&&(e[s]=c??n[s])}return r=!0,h("obi-alerts-critical-twotone",e,C(a))};return(o,e)=>m((v(),_(p,null,null,512)),[[l]])}});export{b as default};
|
|
2
|
+
//# sourceMappingURL=ObiAlertsCriticalTwotone.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiAlertsCriticalTwotone.vue2.js","sources":["../src/manual-icon/ObiAlertsCriticalTwotone.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/manual-icon/icon-alerts-critical-twotone.js';\n \n\n export interface Props {\n useCssColor?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiAlertsCriticalTwotone',\n props: {\n useCssColor: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obi-alerts-critical-twotone',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"uRAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,2BACR,MAAO,CACL,YAAa,CAAE,KAAM,OAAA,CAAQ,EAE/B,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,8BACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/manual-icon/icon-alerts-diagnostic-twotone.js';
|
|
2
|
+
export interface Props {
|
|
3
|
+
useCssColor?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiAlertsDiagnosticTwotone.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/manual-icon/icon-alerts-diagnostic-twotone.js";const D=u({__name:"ObiAlertsDiagnosticTwotone",props:{useCssColor:{type:Boolean}},setup(i){const e=i,n=f({}),l={created(t){for(const o in e)n[o]=t[o]}};let r=!1;const a=d(),p=()=>{const o={};for(const s in e){const c=e[s];(c!==void 0||r)&&(o[s]=c??n[s])}return r=!0,h("obi-alerts-diagnostic-twotone",o,g(a))};return(t,o)=>m((v(),_(p,null,null,512)),[[l]])}});export{D as default};
|
|
2
|
+
//# sourceMappingURL=ObiAlertsDiagnosticTwotone.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObiAlertsDiagnosticTwotone.vue2.js","sources":["../src/manual-icon/ObiAlertsDiagnosticTwotone.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/manual-icon/icon-alerts-diagnostic-twotone.js';\n \n\n export interface Props {\n useCssColor?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiAlertsDiagnosticTwotone',\n props: {\n useCssColor: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obi-alerts-diagnostic-twotone',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"yRAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,6BACR,MAAO,CACL,YAAa,CAAE,KAAM,OAAA,CAAQ,EAE/B,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,gCACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
2
2
|
import { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
3
|
-
import { ReadoutVariant,
|
|
3
|
+
import { ReadoutVariant, ReadoutDataState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
4
4
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
import { ReadoutSetpointSize, ReadoutSetpointFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
6
|
+
import { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
7
|
import { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
7
8
|
export interface Props {
|
|
8
9
|
value?: number | undefined;
|
|
@@ -15,7 +16,7 @@ export interface Props {
|
|
|
15
16
|
src?: string | undefined;
|
|
16
17
|
off?: boolean;
|
|
17
18
|
valuePriority?: Priority | undefined;
|
|
18
|
-
|
|
19
|
+
dataState?: ReadoutDataState;
|
|
19
20
|
setpointInteraction?: ReadoutSetpointInteraction;
|
|
20
21
|
direction?: ReadoutDirection;
|
|
21
22
|
setpointSize?: ReadoutSetpointSize | undefined;
|
|
@@ -32,6 +33,7 @@ export interface Props {
|
|
|
32
33
|
sourceDeltaValue?: number;
|
|
33
34
|
sourceType?: ReadoutSourceType | undefined;
|
|
34
35
|
hasLeadingIcon?: boolean;
|
|
36
|
+
alert?: boolean | AlertFrameConfig;
|
|
35
37
|
sourceHug?: boolean;
|
|
36
38
|
hasSourceLeadingIcon?: boolean;
|
|
37
39
|
hasSourceTrailingIcon?: boolean;
|
|
@@ -48,9 +50,10 @@ export interface Props {
|
|
|
48
50
|
setpointHasHintedZeros?: boolean;
|
|
49
51
|
}
|
|
50
52
|
export type { ReadoutSourceType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';
|
|
51
|
-
export type { ReadoutVariant,
|
|
53
|
+
export type { ReadoutVariant, ReadoutDataState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';
|
|
52
54
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
53
55
|
export type { ReadoutSetpointSize, ReadoutSetpointFormat } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';
|
|
56
|
+
export type { AlertFrameConfig } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
54
57
|
export type { ReadoutAdviceFormat, ReadoutAdviceState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';
|
|
55
58
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
56
59
|
"source-flyout-click": (payload: CustomEvent<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as y,reactive as v,useSlots as
|
|
1
|
+
import{defineComponent as y,reactive as v,useSlots as B,withDirectives as h,openBlock as f,createBlock as m,h as S}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js";const P=y({__name:"ObcReadout",props:{value:{},hasSetpoint:{type:Boolean},setpointValue:{},variant:{},hasDegree:{type:Boolean},label:{},unit:{},src:{},off:{type:Boolean},valuePriority:{},dataState:{},setpointInteraction:{},direction:{},setpointSize:{},alignment:{},hug:{type:Boolean},hasSetpointDivider:{type:Boolean},hasSourceDivider:{type:Boolean},showZeroPadding:{type:Boolean},fractionDigits:{},minValueLength:{},valueHasHintedZeros:{type:Boolean},labelOnly:{type:Boolean},hasSrcPicker:{type:Boolean},sourceDeltaValue:{},sourceType:{},hasLeadingIcon:{type:Boolean},alert:{type:[Boolean,Object]},sourceHug:{type:Boolean},hasSourceLeadingIcon:{type:Boolean},hasSourceTrailingIcon:{type:Boolean},hasAdvice:{type:Boolean},adviceValue:{},adviceFormat:{},adviceState:{},adviceSecondaryValue:{},adviceDescription:{},adviceHasHintedZeros:{type:Boolean},setpointFormat:{},setpointSecondaryValue:{},setpointDescription:{},setpointHasHintedZeros:{type:Boolean}},emits:["source-flyout-click","source-change"],setup(r,{emit:l}){const t=r,a=v({}),p={created(n){for(const o in t)a[o]=n[o]}};let s=!1;const i=l,u=B(),d=()=>{const o={onSourceFlyoutClick:e=>i("source-flyout-click",e),onSourceChange:e=>i("source-change",e)};for(const e in t){const c=t[e];(c!==void 0||s)&&(o[e]=c??a[e])}return s=!0,S("obc-readout",o,g(u))};return(n,o)=>h((f(),m(d,null,null,512)),[[p]])}});export{P as default};
|
|
2
2
|
//# sourceMappingURL=ObcReadout.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcReadout.vue2.js","sources":["../../src/navigation-instruments/readout/ObcReadout.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\n import {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nimport {ReadoutVariant,
|
|
1
|
+
{"version":3,"file":"ObcReadout.vue2.js","sources":["../../src/navigation-instruments/readout/ObcReadout.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\n import {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nimport {ReadoutVariant, ReadoutDataState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {ReadoutSetpointSize, ReadoutSetpointFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';\nimport {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';\n\n export interface Props {\n value?: number | undefined;\n hasSetpoint?: boolean;\n setpointValue?: number | undefined;\n variant?: ReadoutVariant;\n hasDegree?: boolean;\n label?: string;\n unit?: string | undefined;\n src?: string | undefined;\n off?: boolean;\n valuePriority?: Priority | undefined;\n dataState?: ReadoutDataState;\n setpointInteraction?: ReadoutSetpointInteraction;\n direction?: ReadoutDirection;\n setpointSize?: ReadoutSetpointSize | undefined;\n alignment?: ReadoutStackVerticalAlignment;\n hug?: boolean;\n hasSetpointDivider?: boolean;\n hasSourceDivider?: boolean;\n showZeroPadding?: boolean;\n fractionDigits?: number;\n minValueLength?: number;\n valueHasHintedZeros?: boolean;\n labelOnly?: boolean;\n hasSrcPicker?: boolean;\n sourceDeltaValue?: number;\n sourceType?: ReadoutSourceType | undefined;\n hasLeadingIcon?: boolean;\n alert?: boolean | AlertFrameConfig;\n sourceHug?: boolean;\n hasSourceLeadingIcon?: boolean;\n hasSourceTrailingIcon?: boolean;\n hasAdvice?: boolean;\n adviceValue?: number | undefined;\n adviceFormat?: ReadoutAdviceFormat;\n adviceState?: ReadoutAdviceState;\n adviceSecondaryValue?: number | undefined;\n adviceDescription?: string;\n adviceHasHintedZeros?: boolean;\n setpointFormat?: ReadoutSetpointFormat;\n setpointSecondaryValue?: number | undefined;\n setpointDescription?: string;\n setpointHasHintedZeros?: boolean\n }\n\n \n \n export type {ReadoutSourceType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-source.js';\nexport type {ReadoutVariant, ReadoutDataState, ReadoutSetpointInteraction, ReadoutDirection, ReadoutStackVerticalAlignment} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {ReadoutSetpointSize, ReadoutSetpointFormat} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-setpoint/readout-setpoint.js';\nexport type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {ReadoutAdviceFormat, ReadoutAdviceState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout-advice/readout-advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcReadout',\n props: {\n value: {},\n hasSetpoint: { type: Boolean },\n setpointValue: {},\n variant: {},\n hasDegree: { type: Boolean },\n label: {},\n unit: {},\n src: {},\n off: { type: Boolean },\n valuePriority: {},\n dataState: {},\n setpointInteraction: {},\n direction: {},\n setpointSize: {},\n alignment: {},\n hug: { type: Boolean },\n hasSetpointDivider: { type: Boolean },\n hasSourceDivider: { type: Boolean },\n showZeroPadding: { type: Boolean },\n fractionDigits: {},\n minValueLength: {},\n valueHasHintedZeros: { type: Boolean },\n labelOnly: { type: Boolean },\n hasSrcPicker: { type: Boolean },\n sourceDeltaValue: {},\n sourceType: {},\n hasLeadingIcon: { type: Boolean },\n alert: { type: [Boolean, Object] },\n sourceHug: { type: Boolean },\n hasSourceLeadingIcon: { type: Boolean },\n hasSourceTrailingIcon: { type: Boolean },\n hasAdvice: { type: Boolean },\n adviceValue: {},\n adviceFormat: {},\n adviceState: {},\n adviceSecondaryValue: {},\n adviceDescription: {},\n adviceHasHintedZeros: { type: Boolean },\n setpointFormat: {},\n setpointSecondaryValue: {},\n setpointDescription: {},\n setpointHasHintedZeros: { type: Boolean }\n },\n emits: [\"source-flyout-click\", \"source-change\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onSourceFlyoutClick: (event: CustomEvent<{src: string, sourceType?: ReadoutSourceType}>) => emit('source-flyout-click', event as CustomEvent<{src: string, sourceType?: ReadoutSourceType}>),\nonSourceChange: (event: CustomEvent<{value: string, label?: string}>) => emit('source-change', event as CustomEvent<{value: string, label?: string}>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-readout',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"0RAmEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,MAAO,CAAA,EACP,YAAa,CAAE,KAAM,OAAA,EACrB,cAAe,CAAA,EACf,QAAS,CAAA,EACT,UAAW,CAAE,KAAM,OAAA,EACnB,MAAO,CAAA,EACP,KAAM,CAAA,EACN,IAAK,CAAA,EACL,IAAK,CAAE,KAAM,OAAA,EACb,cAAe,CAAA,EACf,UAAW,CAAA,EACX,oBAAqB,CAAA,EACrB,UAAW,CAAA,EACX,aAAc,CAAA,EACd,UAAW,CAAA,EACX,IAAK,CAAE,KAAM,OAAA,EACb,mBAAoB,CAAE,KAAM,OAAA,EAC5B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,eAAgB,CAAA,EAChB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,iBAAkB,CAAA,EAClB,WAAY,CAAA,EACZ,eAAgB,CAAE,KAAM,OAAA,EACxB,MAAO,CAAE,KAAM,CAAC,QAAS,MAAM,CAAA,EAC/B,UAAW,CAAE,KAAM,OAAA,EACnB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,UAAW,CAAE,KAAM,OAAA,EACnB,YAAa,CAAA,EACb,aAAc,CAAA,EACd,YAAa,CAAA,EACb,qBAAsB,CAAA,EACtB,kBAAmB,CAAA,EACnB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,eAAgB,CAAA,EAChB,uBAAwB,CAAA,EACxB,oBAAqB,CAAA,EACrB,uBAAwB,CAAE,KAAM,OAAA,CAAQ,EAE1C,MAAO,CAAC,sBAAuB,eAAe,EAC9C,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAKnB,MAAMC,EAJa,CACvB,oBAAsBC,GAAsEL,EAAK,sBAAuBK,CAAmE,EAC/L,eAAiBA,GAAwDL,EAAK,gBAAiBK,CAAqD,CAAA,EAK9I,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,cACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|