@oicl/openbridge-webcomponents-vue 2.0.0-next.49 → 2.0.0-next.50

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.
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
2
2
  import { LineMedium } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
3
- import { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
3
+ import { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
4
4
  import { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
5
5
  import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
@@ -31,13 +31,14 @@ export interface Props {
31
31
  showAlertIcon?: boolean;
32
32
  showTrendSymbol?: boolean;
33
33
  percentFractionDigits?: number;
34
+ readout?: TankReadoutItem[];
34
35
  badgeControl?: AutomationButtonBadgeControl;
35
36
  badgeAlert?: AutomationButtonBadgeAlert;
36
37
  badgeInterlock?: AutomationButtonBadgeInterlock;
37
38
  badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
38
39
  }
39
40
  export type { LineMedium } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
40
- export type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
41
+ export type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
41
42
  export type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
42
43
  export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
43
44
  export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as m,useSlots as u,withDirectives as h,openBlock as y,createBlock as f,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js";const _=d({__name:"ObcAutomationTank",props:{medium:{},value:{},max:{},trend:{},type:{},orientation:{},compact:{type:Boolean},positioning:{},static:{type:Boolean},tag:{},chartMode:{},chartData:{},priority:{},advice:{},hasAdvice:{type:Boolean},hasGraphIcon:{type:Boolean},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},showTrendSymbol:{type:Boolean},percentFractionDigits:{},badgeControl:{},badgeAlert:{},badgeInterlock:{},badgeCommandLocked:{}},setup(c){const t=c,a=m({}),l={created(o){for(const e in t)a[e]=o[e]}};let r=!1;const i=u(),p=()=>{const e={};for(const n in t){const s=t[n];(s!==void 0||r)&&(e[n]=s??a[n])}return r=!0,v("obc-automation-tank",e,B(i))};return(o,e)=>h((y(),f(p,null,null,512)),[[l]])}});export{_ as default};
1
+ import{defineComponent as d,reactive as m,useSlots as u,withDirectives as h,openBlock as y,createBlock as f,h as v}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js";const _=d({__name:"ObcAutomationTank",props:{medium:{},value:{},max:{},trend:{},type:{},orientation:{},compact:{type:Boolean},positioning:{},static:{type:Boolean},tag:{},chartMode:{},chartData:{},priority:{},advice:{},hasAdvice:{type:Boolean},hasGraphIcon:{type:Boolean},alert:{type:Boolean},alertFrameType:{},alertFrameThickness:{},alertFrameStatus:{},showAlertCategoryIcon:{type:Boolean},showAlertIcon:{type:Boolean},showTrendSymbol:{type:Boolean},percentFractionDigits:{},readout:{},badgeControl:{},badgeAlert:{},badgeInterlock:{},badgeCommandLocked:{}},setup(c){const t=c,n=m({}),l={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const i=u(),p=()=>{const e={};for(const a in t){const s=t[a];(s!==void 0||r)&&(e[a]=s??n[a])}return r=!0,v("obc-automation-tank",e,B(i))};return(o,e)=>h((y(),f(p,null,null,512)),[[l]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcAutomationTank.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAutomationTank.vue2.js","sources":["../../src/automation/automation-tank/ObcAutomationTank.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/automation-tank/automation-tank.js';\n import {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nimport {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nimport {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n medium?: LineMedium;\n value?: number;\n max?: number;\n trend?: TankTrend;\n type?: TankType;\n orientation?: TankOrientation;\n compact?: boolean;\n positioning?: TankPositioning;\n static?: boolean;\n tag?: string;\n chartMode?: TankChartMode;\n chartData?: ChartLineDataItem[];\n priority?: Priority;\n advice?: LinearAdvice[];\n hasAdvice?: boolean;\n hasGraphIcon?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n showTrendSymbol?: boolean;\n percentFractionDigits?: number;\n badgeControl?: AutomationButtonBadgeControl;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked\n }\n\n \n \n export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nexport type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nexport type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationTank',\n props: {\n medium: {},\n value: {},\n max: {},\n trend: {},\n type: {},\n orientation: {},\n compact: { type: Boolean },\n positioning: {},\n static: { type: Boolean },\n tag: {},\n chartMode: {},\n chartData: {},\n priority: {},\n advice: {},\n hasAdvice: { type: Boolean },\n hasGraphIcon: { type: Boolean },\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n showTrendSymbol: { type: Boolean },\n percentFractionDigits: {},\n badgeControl: {},\n badgeAlert: {},\n badgeInterlock: {},\n badgeCommandLocked: {}\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-automation-tank',\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":"8RAuDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,OAAQ,CAAA,EACR,MAAO,CAAA,EACP,IAAK,CAAA,EACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,QAAS,CAAE,KAAM,OAAA,EACjB,YAAa,CAAA,EACb,OAAQ,CAAE,KAAM,OAAA,EAChB,IAAK,CAAA,EACL,UAAW,CAAA,EACX,UAAW,CAAA,EACX,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,sBAAuB,CAAA,EACvB,aAAc,CAAA,EACd,WAAY,CAAA,EACZ,eAAgB,CAAA,EAChB,mBAAoB,CAAA,CAAC,EAEvB,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,sBACAF,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"}
1
+ {"version":3,"file":"ObcAutomationTank.vue2.js","sources":["../../src/automation/automation-tank/ObcAutomationTank.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/automation-tank/automation-tank.js';\n import {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nimport {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nimport {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n\n export interface Props {\n medium?: LineMedium;\n value?: number;\n max?: number;\n trend?: TankTrend;\n type?: TankType;\n orientation?: TankOrientation;\n compact?: boolean;\n positioning?: TankPositioning;\n static?: boolean;\n tag?: string;\n chartMode?: TankChartMode;\n chartData?: ChartLineDataItem[];\n priority?: Priority;\n advice?: LinearAdvice[];\n hasAdvice?: boolean;\n hasGraphIcon?: boolean;\n alert?: boolean;\n alertFrameType?: ObcAlertFrameType;\n alertFrameThickness?: ObcAlertFrameThickness;\n alertFrameStatus?: ObcAlertFrameStatus;\n showAlertCategoryIcon?: boolean;\n showAlertIcon?: boolean;\n showTrendSymbol?: boolean;\n percentFractionDigits?: number;\n readout?: TankReadoutItem[];\n badgeControl?: AutomationButtonBadgeControl;\n badgeAlert?: AutomationButtonBadgeAlert;\n badgeInterlock?: AutomationButtonBadgeInterlock;\n badgeCommandLocked?: AutomationButtonBadgeCommandLocked\n }\n\n \n \n export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';\nexport type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';\nexport type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAutomationTank',\n props: {\n medium: {},\n value: {},\n max: {},\n trend: {},\n type: {},\n orientation: {},\n compact: { type: Boolean },\n positioning: {},\n static: { type: Boolean },\n tag: {},\n chartMode: {},\n chartData: {},\n priority: {},\n advice: {},\n hasAdvice: { type: Boolean },\n hasGraphIcon: { type: Boolean },\n alert: { type: Boolean },\n alertFrameType: {},\n alertFrameThickness: {},\n alertFrameStatus: {},\n showAlertCategoryIcon: { type: Boolean },\n showAlertIcon: { type: Boolean },\n showTrendSymbol: { type: Boolean },\n percentFractionDigits: {},\n readout: {},\n badgeControl: {},\n badgeAlert: {},\n badgeInterlock: {},\n badgeCommandLocked: {}\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-automation-tank',\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":"8RAwDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,OAAQ,CAAA,EACR,MAAO,CAAA,EACP,IAAK,CAAA,EACL,MAAO,CAAA,EACP,KAAM,CAAA,EACN,YAAa,CAAA,EACb,QAAS,CAAE,KAAM,OAAA,EACjB,YAAa,CAAA,EACb,OAAQ,CAAE,KAAM,OAAA,EAChB,IAAK,CAAA,EACL,UAAW,CAAA,EACX,UAAW,CAAA,EACX,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,UAAW,CAAE,KAAM,OAAA,EACnB,aAAc,CAAE,KAAM,OAAA,EACtB,MAAO,CAAE,KAAM,OAAA,EACf,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,iBAAkB,CAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,sBAAuB,CAAA,EACvB,QAAS,CAAA,EACT,aAAc,CAAA,EACd,WAAY,CAAA,EACZ,eAAgB,CAAA,EAChB,mBAAoB,CAAA,CAAC,EAEvB,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,sBACAF,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"}
package/package.json CHANGED
@@ -8,9 +8,9 @@
8
8
  "build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
9
9
  "preview": "vite preview"
10
10
  },
11
- "version": "2.0.0-next.49",
11
+ "version": "2.0.0-next.50",
12
12
  "dependencies": {
13
- "@oicl/openbridge-webcomponents": "^2.0.0-next.48",
13
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.49",
14
14
  "vue": "^3.2.41",
15
15
  "@lit-labs/vue-utils": "^0.1.0"
16
16
  },