@oicl/openbridge-webcomponents-vue 2.0.0-next.157 → 2.0.0-next.159
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/bars-graphs/area-graph/ObcAreaGraph.vue.d.ts +5 -5
- package/bars-graphs/area-graph/ObcAreaGraph.vue2.js +1 -1
- package/bars-graphs/area-graph/ObcAreaGraph.vue2.js.map +1 -1
- package/bars-graphs/line-graph/ObcLineGraph.vue.d.ts +5 -5
- package/bars-graphs/line-graph/ObcLineGraph.vue2.js +1 -1
- package/bars-graphs/line-graph/ObcLineGraph.vue2.js.map +1 -1
- package/building-blocks/bar-horizontal/ObcBarHorizontal.vue.d.ts +1 -0
- package/building-blocks/bar-horizontal/ObcBarHorizontal.vue2.js +1 -1
- package/building-blocks/bar-horizontal/ObcBarHorizontal.vue2.js.map +1 -1
- package/building-blocks/bar-vertical/ObcBarVertical.vue.d.ts +1 -0
- package/building-blocks/bar-vertical/ObcBarVertical.vue2.js +1 -1
- package/building-blocks/bar-vertical/ObcBarVertical.vue2.js.map +1 -1
- package/building-blocks/chart-line/ObcChartLineBase.vue.d.ts +5 -5
- package/building-blocks/chart-line/ObcChartLineBase.vue2.js +1 -1
- package/building-blocks/chart-line/ObcChartLineBase.vue2.js.map +1 -1
- package/components/start-stop-switch/ObcStartStopSwitch.vue.d.ts +0 -2
- package/components/start-stop-switch/ObcStartStopSwitch.vue2.js +1 -1
- package/components/start-stop-switch/ObcStartStopSwitch.vue2.js.map +1 -1
- package/navigation-instruments/depth/ObcDepth.vue.d.ts +39 -0
- package/navigation-instruments/depth/ObcDepth.vue.js +2 -0
- package/navigation-instruments/depth/ObcDepth.vue.js.map +1 -0
- package/navigation-instruments/depth/ObcDepth.vue2.js +2 -0
- package/navigation-instruments/depth/ObcDepth.vue2.js.map +1 -0
- package/navigation-instruments/depth/ObcDepthTopBand.vue.d.ts +23 -0
- package/navigation-instruments/depth/ObcDepthTopBand.vue.js +2 -0
- package/navigation-instruments/depth/ObcDepthTopBand.vue.js.map +1 -0
- package/navigation-instruments/depth/ObcDepthTopBand.vue2.js +2 -0
- package/navigation-instruments/depth/ObcDepthTopBand.vue2.js.map +1 -0
- package/navigation-instruments/depth-actual/ObcDepthActual.vue.d.ts +9 -3
- package/navigation-instruments/depth-actual/ObcDepthActual.vue2.js +1 -1
- package/navigation-instruments/depth-actual/ObcDepthActual.vue2.js.map +1 -1
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue.d.ts +1 -0
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue2.js +1 -1
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue2.js.map +1 -1
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue.d.ts +7 -5
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js +1 -1
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js.map +1 -1
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue.d.ts +1 -0
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue2.js +1 -1
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue2.js.map +1 -1
- package/package.json +4 -2
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
|
|
2
2
|
import { AreaFillMode } from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
|
|
3
|
-
import { ChartLineDataItem,
|
|
4
|
-
import { ChartDataset } from 'chart.js';
|
|
3
|
+
import { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
5
4
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
5
|
export interface Props {
|
|
7
6
|
fillMode?: AreaFillMode;
|
|
8
7
|
stacked?: boolean;
|
|
9
8
|
data?: ChartLineDataItem[];
|
|
10
|
-
datasets?:
|
|
9
|
+
datasets?: ChartLineDataset[] | undefined;
|
|
11
10
|
labels?: (string | number)[] | undefined;
|
|
12
11
|
colors?: string[];
|
|
13
12
|
legend?: boolean;
|
|
@@ -20,6 +19,8 @@ export interface Props {
|
|
|
20
19
|
yAxisPosition?: YAxisPosition;
|
|
21
20
|
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
22
21
|
xAxis?: ChartLineXAxisConfig | undefined;
|
|
22
|
+
xMarker?: ChartLineXMarker | undefined;
|
|
23
|
+
yMarker?: ChartLineYMarker | undefined;
|
|
23
24
|
showGrid?: boolean;
|
|
24
25
|
showGridX?: boolean;
|
|
25
26
|
showGridY?: boolean;
|
|
@@ -43,8 +44,7 @@ export interface Props {
|
|
|
43
44
|
borderRadius?: number | undefined;
|
|
44
45
|
}
|
|
45
46
|
export type { AreaFillMode } from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
|
|
46
|
-
export type { ChartLineDataItem,
|
|
47
|
-
export type { ChartDataset } from 'chart.js';
|
|
47
|
+
export type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
48
48
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
49
49
|
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>;
|
|
50
50
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as
|
|
1
|
+
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js";const v=d({__name:"ObcAreaGraph",props:{fillMode:{},stacked:{type:Boolean},data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},xMarker:{},yMarker:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,a=y({}),l={created(t){for(const e in o)a[e]=t[e]}};let i=!1;const p=u(),c=()=>{const e={};for(const s in o){const n=o[s];(n!==void 0||i)&&(e[s]=n??a[s])}return i=!0,x("obc-area-graph",e,B(p))};return(t,e)=>h((f(),m(c,null,null,512)),[[l]])}});export{v as default};
|
|
2
2
|
//# sourceMappingURL=ObcAreaGraph.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAreaGraph.vue2.js","sources":["../../src/bars-graphs/area-graph/ObcAreaGraph.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/bars-graphs/area-graph/area-graph.js';\n import {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';\nimport {ChartLineDataItem,
|
|
1
|
+
{"version":3,"file":"ObcAreaGraph.vue2.js","sources":["../../src/bars-graphs/area-graph/ObcAreaGraph.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/bars-graphs/area-graph/area-graph.js';\n import {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';\nimport {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n fillMode?: AreaFillMode;\n stacked?: boolean;\n data?: ChartLineDataItem[];\n datasets?: ChartLineDataset[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n xMarker?: ChartLineXMarker | undefined;\n yMarker?: ChartLineYMarker | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';\nexport type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAreaGraph',\n props: {\n fillMode: {},\n stacked: { type: Boolean },\n data: {},\n datasets: {},\n labels: {},\n colors: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n width: {},\n height: {},\n fixedAspectRatioScaling: { type: Boolean },\n scaleReferenceSize: {},\n xAxisType: {},\n yAxisPosition: {},\n yAxes: {},\n xAxis: {},\n xMarker: {},\n yMarker: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\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-area-graph',\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":"qRA0DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,SAAU,CAAA,EACV,QAAS,CAAE,KAAM,OAAA,EACjB,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,QAAS,CAAA,EACT,QAAS,CAAA,EACT,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,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,iBACAF,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,10 +1,9 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';
|
|
2
|
-
import { ChartLineDataItem,
|
|
3
|
-
import { ChartDataset } from 'chart.js';
|
|
2
|
+
import { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
3
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
4
|
export interface Props {
|
|
6
5
|
data?: ChartLineDataItem[];
|
|
7
|
-
datasets?:
|
|
6
|
+
datasets?: ChartLineDataset[] | undefined;
|
|
8
7
|
labels?: (string | number)[] | undefined;
|
|
9
8
|
colors?: string[];
|
|
10
9
|
legend?: boolean;
|
|
@@ -17,6 +16,8 @@ export interface Props {
|
|
|
17
16
|
yAxisPosition?: YAxisPosition;
|
|
18
17
|
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
19
18
|
xAxis?: ChartLineXAxisConfig | undefined;
|
|
19
|
+
xMarker?: ChartLineXMarker | undefined;
|
|
20
|
+
yMarker?: ChartLineYMarker | undefined;
|
|
20
21
|
showGrid?: boolean;
|
|
21
22
|
showGridX?: boolean;
|
|
22
23
|
showGridY?: boolean;
|
|
@@ -39,8 +40,7 @@ export interface Props {
|
|
|
39
40
|
instrumentMode?: boolean;
|
|
40
41
|
borderRadius?: number | undefined;
|
|
41
42
|
}
|
|
42
|
-
export type { ChartLineDataItem,
|
|
43
|
-
export type { ChartDataset } from 'chart.js';
|
|
43
|
+
export type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
44
44
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
45
45
|
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>;
|
|
46
46
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js";const g=d({__name:"ObcLineGraph",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(
|
|
1
|
+
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js";const g=d({__name:"ObcLineGraph",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},xMarker:{},yMarker:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(a){const o=a,i=y({}),l={created(t){for(const e in o)i[e]=t[e]}};let n=!1;const p=u(),c=()=>{const e={};for(const s in o){const r=o[s];(r!==void 0||n)&&(e[s]=r??i[s])}return n=!0,x("obc-line-graph",e,B(p))};return(t,e)=>h((f(),m(c,null,null,512)),[[l]])}});export{g as default};
|
|
2
2
|
//# sourceMappingURL=ObcLineGraph.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcLineGraph.vue2.js","sources":["../../src/bars-graphs/line-graph/ObcLineGraph.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/bars-graphs/line-graph/line-graph.js';\n import {ChartLineDataItem,
|
|
1
|
+
{"version":3,"file":"ObcLineGraph.vue2.js","sources":["../../src/bars-graphs/line-graph/ObcLineGraph.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/bars-graphs/line-graph/line-graph.js';\n import {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?: ChartLineDataItem[];\n datasets?: ChartLineDataset[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n xMarker?: ChartLineXMarker | undefined;\n yMarker?: ChartLineYMarker | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcLineGraph',\n props: {\n data: {},\n datasets: {},\n labels: {},\n colors: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n width: {},\n height: {},\n fixedAspectRatioScaling: { type: Boolean },\n scaleReferenceSize: {},\n xAxisType: {},\n yAxisPosition: {},\n yAxes: {},\n xAxis: {},\n xMarker: {},\n yMarker: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\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-line-graph',\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":"qRAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,QAAS,CAAA,EACT,QAAS,CAAA,EACT,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,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,iBACAF,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,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as h,useSlots as y,withDirectives as
|
|
1
|
+
import{defineComponent as u,reactive as h,useSlots as y,withDirectives as B,openBlock as f,createBlock as k,h as v}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js";const R=u({__name:"ObcBarHorizontal",props:{minValue:{},maxValue:{},reverse:{type:Boolean},width:{},paddingLeft:{},paddingRight:{},side:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{},hasScale:{type:Boolean},showLabels:{type:Boolean},showMainTickmarkLabels:{type:Boolean},hasBar:{type:Boolean},scaleBackground:{type:Boolean},barContainerStyle:{},barThickness:{},tickThickness:{},labelThickness:{},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},scaleType:{},frameStyle:{},borderRadiusPosition:{},instrumentMode:{type:Boolean},borderRadius:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},advicePosition:{},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=h({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=y(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,v("obc-bar-horizontal",e,b(d))};return(n,e)=>B((f(),k(m,null,null,512)),[[c]])}});export{R as default};
|
|
2
2
|
//# sourceMappingURL=ObcBarHorizontal.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcBarHorizontal.vue2.js","sources":["../../src/building-blocks/bar-horizontal/ObcBarHorizontal.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/building-blocks/bar-horizontal/bar-horizontal.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n width?: number;\n paddingLeft?: number;\n paddingRight?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n showMainTickmarkLabels?: boolean;\n hasBar?: boolean;\n scaleBackground?: boolean;\n barContainerStyle?: BarContainerStyle | undefined;\n barThickness?: number;\n tickThickness?: number;\n labelThickness?: number;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n scaleType?: ScaleType;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n advicePosition?: AdvicePosition;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBarHorizontal',\n props: {\n minValue: {},\n maxValue: {},\n width: {},\n paddingLeft: {},\n paddingRight: {},\n side: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {},\n hasScale: { type: Boolean },\n showLabels: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasBar: { type: Boolean },\n scaleBackground: { type: Boolean },\n barContainerStyle: {},\n barThickness: {},\n tickThickness: {},\n labelThickness: {},\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n scaleType: {},\n frameStyle: {},\n borderRadiusPosition: {},\n instrumentMode: { type: Boolean },\n borderRadius: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n advicePosition: {},\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-bar-horizontal',\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":"
|
|
1
|
+
{"version":3,"file":"ObcBarHorizontal.vue2.js","sources":["../../src/building-blocks/bar-horizontal/ObcBarHorizontal.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/building-blocks/bar-horizontal/bar-horizontal.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n reverse?: boolean;\n width?: number;\n paddingLeft?: number;\n paddingRight?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n showMainTickmarkLabels?: boolean;\n hasBar?: boolean;\n scaleBackground?: boolean;\n barContainerStyle?: BarContainerStyle | undefined;\n barThickness?: number;\n tickThickness?: number;\n labelThickness?: number;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n scaleType?: ScaleType;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n advicePosition?: AdvicePosition;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBarHorizontal',\n props: {\n minValue: {},\n maxValue: {},\n reverse: { type: Boolean },\n width: {},\n paddingLeft: {},\n paddingRight: {},\n side: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {},\n hasScale: { type: Boolean },\n showLabels: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasBar: { type: Boolean },\n scaleBackground: { type: Boolean },\n barContainerStyle: {},\n barThickness: {},\n tickThickness: {},\n labelThickness: {},\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n scaleType: {},\n frameStyle: {},\n borderRadiusPosition: {},\n instrumentMode: { type: Boolean },\n borderRadius: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n advicePosition: {},\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-bar-horizontal',\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":"iSAgEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAE,KAAM,OAAA,EACjB,MAAO,CAAA,EACP,YAAa,CAAA,EACb,aAAc,CAAA,EACd,KAAM,CAAA,EACN,iBAAkB,CAAE,KAAM,OAAA,EAC1B,mBAAoB,CAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,uBAAwB,CAAE,KAAM,OAAA,EAChC,OAAQ,CAAE,KAAM,OAAA,EAChB,gBAAiB,CAAE,KAAM,OAAA,EACzB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,EACd,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,MAAO,CAAA,EACP,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,sBAAuB,CAAE,KAAM,OAAA,EAC/B,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAO,CAAC,0BAA0B,EAClC,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,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,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,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as
|
|
1
|
+
import{defineComponent as u,reactive as y,useSlots as h,withDirectives as B,openBlock as f,createBlock as k,h as v}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js";const _=u({__name:"ObcBarVertical",props:{minValue:{},maxValue:{},reverse:{type:Boolean},height:{},paddingTop:{},paddingBottom:{},side:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{},hasScale:{type:Boolean},showLabels:{type:Boolean},showMainTickmarkLabels:{type:Boolean},hasBar:{type:Boolean},scaleBackground:{type:Boolean},barContainerStyle:{},barThickness:{},tickThickness:{},labelThickness:{},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},scaleType:{},frameStyle:{},borderRadiusPosition:{},instrumentMode:{type:Boolean},borderRadius:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},advicePosition:{},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=y({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=h(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,v("obc-bar-vertical",e,b(d))};return(n,e)=>B((f(),k(m,null,null,512)),[[c]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcBarVertical.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcBarVertical.vue2.js","sources":["../../src/building-blocks/bar-vertical/ObcBarVertical.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/building-blocks/bar-vertical/bar-vertical.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n height?: number;\n paddingTop?: number;\n paddingBottom?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n showMainTickmarkLabels?: boolean;\n hasBar?: boolean;\n scaleBackground?: boolean;\n barContainerStyle?: BarContainerStyle | undefined;\n barThickness?: number;\n tickThickness?: number;\n labelThickness?: number;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n scaleType?: ScaleType;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n advicePosition?: AdvicePosition;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBarVertical',\n props: {\n minValue: {},\n maxValue: {},\n height: {},\n paddingTop: {},\n paddingBottom: {},\n side: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {},\n hasScale: { type: Boolean },\n showLabels: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasBar: { type: Boolean },\n scaleBackground: { type: Boolean },\n barContainerStyle: {},\n barThickness: {},\n tickThickness: {},\n labelThickness: {},\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n scaleType: {},\n frameStyle: {},\n borderRadiusPosition: {},\n instrumentMode: { type: Boolean },\n borderRadius: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n advicePosition: {},\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-bar-vertical',\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":"
|
|
1
|
+
{"version":3,"file":"ObcBarVertical.vue2.js","sources":["../../src/building-blocks/bar-vertical/ObcBarVertical.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/building-blocks/bar-vertical/bar-vertical.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n reverse?: boolean;\n height?: number;\n paddingTop?: number;\n paddingBottom?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n showMainTickmarkLabels?: boolean;\n hasBar?: boolean;\n scaleBackground?: boolean;\n barContainerStyle?: BarContainerStyle | undefined;\n barThickness?: number;\n tickThickness?: number;\n labelThickness?: number;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n scaleType?: ScaleType;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n advicePosition?: AdvicePosition;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBarVertical',\n props: {\n minValue: {},\n maxValue: {},\n reverse: { type: Boolean },\n height: {},\n paddingTop: {},\n paddingBottom: {},\n side: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {},\n hasScale: { type: Boolean },\n showLabels: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasBar: { type: Boolean },\n scaleBackground: { type: Boolean },\n barContainerStyle: {},\n barThickness: {},\n tickThickness: {},\n labelThickness: {},\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n scaleType: {},\n frameStyle: {},\n borderRadiusPosition: {},\n instrumentMode: { type: Boolean },\n borderRadius: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n advicePosition: {},\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-bar-vertical',\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":"6RAgEA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAE,KAAM,OAAA,EACjB,OAAQ,CAAA,EACR,WAAY,CAAA,EACZ,cAAe,CAAA,EACf,KAAM,CAAA,EACN,iBAAkB,CAAE,KAAM,OAAA,EAC1B,mBAAoB,CAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,uBAAwB,CAAE,KAAM,OAAA,EAChC,OAAQ,CAAE,KAAM,OAAA,EAChB,gBAAiB,CAAE,KAAM,OAAA,EACzB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,EACd,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,MAAO,CAAA,EACP,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,sBAAuB,CAAE,KAAM,OAAA,EAC/B,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAO,CAAC,0BAA0B,EAClC,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,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,mBACAH,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,10 +1,9 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
|
-
import { ChartLineDataItem,
|
|
3
|
-
import { ChartDataset } from 'chart.js';
|
|
2
|
+
import { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
3
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
4
|
export interface Props {
|
|
6
5
|
data?: ChartLineDataItem[];
|
|
7
|
-
datasets?:
|
|
6
|
+
datasets?: ChartLineDataset[] | undefined;
|
|
8
7
|
labels?: (string | number)[] | undefined;
|
|
9
8
|
colors?: string[];
|
|
10
9
|
legend?: boolean;
|
|
@@ -17,6 +16,8 @@ export interface Props {
|
|
|
17
16
|
yAxisPosition?: YAxisPosition;
|
|
18
17
|
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
19
18
|
xAxis?: ChartLineXAxisConfig | undefined;
|
|
19
|
+
xMarker?: ChartLineXMarker | undefined;
|
|
20
|
+
yMarker?: ChartLineYMarker | undefined;
|
|
20
21
|
showGrid?: boolean;
|
|
21
22
|
showGridX?: boolean;
|
|
22
23
|
showGridY?: boolean;
|
|
@@ -39,8 +40,7 @@ export interface Props {
|
|
|
39
40
|
instrumentMode?: boolean;
|
|
40
41
|
borderRadius?: number | undefined;
|
|
41
42
|
}
|
|
42
|
-
export type { ChartLineDataItem,
|
|
43
|
-
export type { ChartDataset } from 'chart.js';
|
|
43
|
+
export type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
44
44
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
45
45
|
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>;
|
|
46
46
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as
|
|
1
|
+
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as f,openBlock as h,createBlock as m,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js";const k=d({__name:"ObcChartLineBase",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},xMarker:{},yMarker:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(a){const o=a,n=y({}),l={created(t){for(const e in o)n[e]=t[e]}};let i=!1;const p=u(),c=()=>{const e={};for(const s in o){const r=o[s];(r!==void 0||i)&&(e[s]=r??n[s])}return i=!0,x("undefined",e,B(p))};return(t,e)=>f((h(),m(c,null,null,512)),[[l]])}});export{k as default};
|
|
2
2
|
//# sourceMappingURL=ObcChartLineBase.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcChartLineBase.vue2.js","sources":["../../src/building-blocks/chart-line/ObcChartLineBase.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/building-blocks/chart-line/chart-line-base.js';\n import {ChartLineDataItem,
|
|
1
|
+
{"version":3,"file":"ObcChartLineBase.vue2.js","sources":["../../src/building-blocks/chart-line/ObcChartLineBase.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/building-blocks/chart-line/chart-line-base.js';\n import {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?: ChartLineDataItem[];\n datasets?: ChartLineDataset[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n xMarker?: ChartLineXMarker | undefined;\n yMarker?: ChartLineYMarker | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcChartLineBase',\n props: {\n data: {},\n datasets: {},\n labels: {},\n colors: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n width: {},\n height: {},\n fixedAspectRatioScaling: { type: Boolean },\n scaleReferenceSize: {},\n xAxisType: {},\n yAxisPosition: {},\n yAxes: {},\n xAxis: {},\n xMarker: {},\n yMarker: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\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 'undefined',\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":"8RAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,QAAS,CAAA,EACT,QAAS,CAAA,EACT,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,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,YACAF,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"}
|
|
@@ -2,9 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-s
|
|
|
2
2
|
import { ObcStartStopSwitchChangeEvent, StartStopSwitchVariant, StartStopSwitchSize } from '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js';
|
|
3
3
|
export interface Props {
|
|
4
4
|
checked?: boolean;
|
|
5
|
-
showUncheckedStateIcon?: boolean;
|
|
6
5
|
variant?: StartStopSwitchVariant;
|
|
7
|
-
showCheckedStateIcon?: boolean;
|
|
8
6
|
size?: StartStopSwitchSize;
|
|
9
7
|
disabled?: boolean;
|
|
10
8
|
hasAlert?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as f,useSlots as m,withDirectives as v,openBlock as B,createBlock as
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as m,withDirectives as v,openBlock as B,createBlock as _,h as S}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js";const w=u({__name:"ObcStartStopSwitch",props:{checked:{type:Boolean},variant:{},size:{},disabled:{type:Boolean},hasAlert:{type:Boolean},hasDescription:{type:Boolean},description:{}},emits:["change"],setup(a,{emit:i}){const o=a,n=f({}),p={created(s){for(const e in o)n[e]=s[e]}};let r=!1;const l=i,d=m(),h=()=>{const e={onChange:t=>l("change",t)};for(const t in o){const c=o[t];(c!==void 0||r)&&(e[t]=c??n[t])}return r=!0,S("obc-start-stop-switch",e,g(d))};return(s,e)=>v((B(),_(h,null,null,512)),[[p]])}});export{w as default};
|
|
2
2
|
//# sourceMappingURL=ObcStartStopSwitch.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcStartStopSwitch.vue2.js","sources":["../../src/components/start-stop-switch/ObcStartStopSwitch.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/start-stop-switch/start-stop-switch.js';\n import {ObcStartStopSwitchChangeEvent, StartStopSwitchVariant, StartStopSwitchSize} from '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js';\n\n export interface Props {\n checked?: boolean;\n
|
|
1
|
+
{"version":3,"file":"ObcStartStopSwitch.vue2.js","sources":["../../src/components/start-stop-switch/ObcStartStopSwitch.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/start-stop-switch/start-stop-switch.js';\n import {ObcStartStopSwitchChangeEvent, StartStopSwitchVariant, StartStopSwitchSize} from '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js';\n\n export interface Props {\n checked?: boolean;\n variant?: StartStopSwitchVariant;\n size?: StartStopSwitchSize;\n disabled?: boolean;\n hasAlert?: boolean;\n hasDescription?: boolean;\n description?: string\n }\n\n \n \n export type {ObcStartStopSwitchChangeEvent, StartStopSwitchVariant, StartStopSwitchSize} from '@oicl/openbridge-webcomponents/dist/components/start-stop-switch/start-stop-switch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcStartStopSwitch',\n props: {\n checked: { type: Boolean },\n variant: {},\n size: {},\n disabled: { type: Boolean },\n hasAlert: { type: Boolean },\n hasDescription: { type: Boolean },\n description: {}\n },\n emits: [\"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 onChange: (event: ObcStartStopSwitchChangeEvent) => emit('change', event as ObcStartStopSwitchChangeEvent)\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-start-stop-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","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"kSAsBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,QAAS,CAAE,KAAM,OAAA,EACjB,QAAS,CAAA,EACT,KAAM,CAAA,EACN,SAAU,CAAE,KAAM,OAAA,EAClB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,YAAa,CAAA,CAAC,EAEhB,MAAO,CAAC,QAAQ,EAChB,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,SAAWC,GAAyCL,EAAK,SAAUK,CAAsC,CAAA,EAKvG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,wBACAH,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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
|
|
2
|
+
import { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
|
|
3
|
+
import { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
|
+
import { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
|
|
5
|
+
import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
6
|
+
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
7
|
+
import { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
8
|
+
export interface Props {
|
|
9
|
+
type?: DepthType;
|
|
10
|
+
data?: DepthDataItem[];
|
|
11
|
+
prediction?: ChartLineDataItem[];
|
|
12
|
+
scan?: ChartLineDataItem[];
|
|
13
|
+
scanRange?: number | undefined;
|
|
14
|
+
predictedDepth?: number | undefined;
|
|
15
|
+
value?: number | undefined;
|
|
16
|
+
hasValueLine?: boolean;
|
|
17
|
+
now?: number;
|
|
18
|
+
xAxis?: ChartLineXAxisConfig | undefined;
|
|
19
|
+
ranges?: readonly DepthRange[];
|
|
20
|
+
maxDepth?: number | undefined;
|
|
21
|
+
autoRange?: boolean;
|
|
22
|
+
primaryTickmarkInterval?: number | undefined;
|
|
23
|
+
secondaryTickmarkInterval?: number | undefined;
|
|
24
|
+
hasScale?: boolean;
|
|
25
|
+
showVessel?: boolean;
|
|
26
|
+
vesselImage?: VesselImage;
|
|
27
|
+
hasAdvice?: boolean;
|
|
28
|
+
advice?: LinearAdvice[];
|
|
29
|
+
priority?: Priority;
|
|
30
|
+
state?: InstrumentState;
|
|
31
|
+
}
|
|
32
|
+
export type { DepthType, DepthDataItem } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';
|
|
33
|
+
export type { ChartLineDataItem, ChartLineXAxisConfig } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
34
|
+
export type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
|
|
35
|
+
export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
36
|
+
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
37
|
+
export type { Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
38
|
+
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>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcDepth.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as d,reactive as u,useSlots as v,withDirectives as m,openBlock as h,createBlock as f,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js";const x=d({__name:"ObcDepth",props:{type:{},data:{},prediction:{},scan:{},scanRange:{},predictedDepth:{},value:{},hasValueLine:{type:Boolean},now:{},xAxis:{},ranges:{},maxDepth:{},autoRange:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},hasScale:{type:Boolean},showVessel:{type:Boolean},vesselImage:{},hasAdvice:{type:Boolean},advice:{},priority:{},state:{}},setup(c){const t=c,s=u({}),p={created(o){for(const e in t)s[e]=o[e]}};let a=!1;const i=v(),l=()=>{const e={};for(const n in t){const r=t[n];(r!==void 0||a)&&(e[n]=r??s[n])}return a=!0,y("obc-depth",e,B(i))};return(o,e)=>m((h(),f(l,null,null,512)),[[p]])}});export{x as default};
|
|
2
|
+
//# sourceMappingURL=ObcDepth.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcDepth.vue2.js","sources":["../../src/navigation-instruments/depth/ObcDepth.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/depth/depth.js';\n import {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nimport {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n type?: DepthType;\n data?: DepthDataItem[];\n prediction?: ChartLineDataItem[];\n scan?: ChartLineDataItem[];\n scanRange?: number | undefined;\n predictedDepth?: number | undefined;\n value?: number | undefined;\n hasValueLine?: boolean;\n now?: number;\n xAxis?: ChartLineXAxisConfig | undefined;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n hasScale?: boolean;\n showVessel?: boolean;\n vesselImage?: VesselImage;\n hasAdvice?: boolean;\n advice?: LinearAdvice[];\n priority?: Priority;\n state?: InstrumentState\n }\n\n \n \n export type {DepthType, DepthDataItem} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth.js';\nexport type {ChartLineDataItem, ChartLineXAxisConfig} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepth',\n props: {\n type: {},\n data: {},\n prediction: {},\n scan: {},\n scanRange: {},\n predictedDepth: {},\n value: {},\n hasValueLine: { type: Boolean },\n now: {},\n xAxis: {},\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n hasScale: { type: Boolean },\n showVessel: { type: Boolean },\n vesselImage: {},\n hasAdvice: { type: Boolean },\n advice: {},\n priority: {},\n state: {}\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-depth',\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":"sRA+CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,KAAM,CAAA,EACN,KAAM,CAAA,EACN,WAAY,CAAA,EACZ,KAAM,CAAA,EACN,UAAW,CAAA,EACX,eAAgB,CAAA,EAChB,MAAO,CAAA,EACP,aAAc,CAAE,KAAM,OAAA,EACtB,IAAK,CAAA,EACL,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,OAAA,EACnB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,SAAU,CAAE,KAAM,OAAA,EAClB,WAAY,CAAE,KAAM,OAAA,EACpB,YAAa,CAAA,EACb,UAAW,CAAE,KAAM,OAAA,EACnB,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,MAAO,CAAA,CAAC,EAEV,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,YACAF,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,23 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
|
|
2
|
+
import { DepthTopBandType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
|
|
3
|
+
import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
|
+
export interface Props {
|
|
5
|
+
type?: DepthTopBandType;
|
|
6
|
+
now?: number | undefined;
|
|
7
|
+
vesselImage?: VesselImage;
|
|
8
|
+
minValue?: number;
|
|
9
|
+
maxValue?: number;
|
|
10
|
+
paddingLeft?: number;
|
|
11
|
+
paddingRight?: number;
|
|
12
|
+
width?: number;
|
|
13
|
+
fixedAspectRatio?: boolean;
|
|
14
|
+
scaleReferenceSize?: number;
|
|
15
|
+
}
|
|
16
|
+
export type { DepthTopBandType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';
|
|
17
|
+
export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
18
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
"scale-dimensions-changed": (payload: CustomEvent<any>) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
"onScale-dimensions-changed"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcDepthTopBand.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{defineComponent as f,reactive as u,useSlots as h,withDirectives as v,openBlock as g,createBlock as _,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js";const b=f({__name:"ObcDepthTopBand",props:{type:{},now:{},vesselImage:{},minValue:{},maxValue:{},paddingLeft:{},paddingRight:{},width:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{}},emits:["scale-dimensions-changed"],setup(a,{emit:r}){const n=a,s=u({}),p={created(o){for(const e in n)s[e]=o[e]}};let c=!1;const d=r,l=h(),m=()=>{const e={onScaleDimensionsChanged:t=>d("scale-dimensions-changed",t)};for(const t in n){const i=n[t];(i!==void 0||c)&&(e[t]=i??s[t])}return c=!0,x("obc-depth-top-band",e,B(l))};return(o,e)=>v((g(),_(m,null,null,512)),[[p]])}});export{b as default};
|
|
2
|
+
//# sourceMappingURL=ObcDepthTopBand.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObcDepthTopBand.vue2.js","sources":["../../src/navigation-instruments/depth/ObcDepthTopBand.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/depth/depth-top-band.js';\n import {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n\n export interface Props {\n type?: DepthTopBandType;\n now?: number | undefined;\n vesselImage?: VesselImage;\n minValue?: number;\n maxValue?: number;\n paddingLeft?: number;\n paddingRight?: number;\n width?: number;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number\n }\n\n \n \n export type {DepthTopBandType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-top-band.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepthTopBand',\n props: {\n type: {},\n now: {},\n vesselImage: {},\n minValue: {},\n maxValue: {},\n paddingLeft: {},\n paddingRight: {},\n width: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {}\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-depth-top-band',\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":"+RA2BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kBACR,MAAO,CACL,KAAM,CAAA,EACN,IAAK,CAAA,EACL,YAAa,CAAA,EACb,SAAU,CAAA,EACV,SAAU,CAAA,EACV,YAAa,CAAA,EACb,aAAc,CAAA,EACd,MAAO,CAAA,EACP,iBAAkB,CAAE,KAAM,OAAA,EAC1B,mBAAoB,CAAA,CAAC,EAEvB,MAAO,CAAC,0BAA0B,EAClC,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,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,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"}
|
|
@@ -2,19 +2,25 @@ import '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/
|
|
|
2
2
|
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
3
3
|
import { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
4
4
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
import { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
|
|
5
6
|
export interface Props {
|
|
6
7
|
depth?: number;
|
|
7
8
|
draft?: number;
|
|
8
9
|
advice?: LinearAdvice[];
|
|
9
10
|
vesselScale?: number;
|
|
10
|
-
instrumentRange?: number;
|
|
11
|
-
primaryTickmarkInterval?: number;
|
|
12
|
-
secondaryTickmarkInterval?: number;
|
|
13
11
|
vesselImage?: VesselImage;
|
|
14
12
|
priority?: Priority;
|
|
13
|
+
showLabels?: boolean;
|
|
14
|
+
ranges?: readonly DepthRange[];
|
|
15
|
+
maxDepth?: number | undefined;
|
|
16
|
+
autoRange?: boolean;
|
|
17
|
+
primaryTickmarkInterval?: number | undefined;
|
|
18
|
+
secondaryTickmarkInterval?: number | undefined;
|
|
19
|
+
instrumentRange?: number | undefined;
|
|
15
20
|
}
|
|
16
21
|
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
17
22
|
export type { VesselImage } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';
|
|
18
23
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
24
|
+
export type { DepthRange } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';
|
|
19
25
|
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>;
|
|
20
26
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as d,useSlots as m,withDirectives as v,openBlock as f,createBlock as h,h as k}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js";const
|
|
1
|
+
import{defineComponent as u,reactive as d,useSlots as m,withDirectives as v,openBlock as f,createBlock as h,h as k}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/depth-actual/depth-actual.js";const D=u({__name:"ObcDepthActual",props:{depth:{},draft:{},advice:{},vesselScale:{},vesselImage:{},priority:{},showLabels:{type:Boolean},ranges:{},maxDepth:{},autoRange:{type:Boolean},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},instrumentRange:{}},setup(c){const t=c,n=d({}),l={created(o){for(const e in t)n[e]=o[e]}};let r=!1;const p=m(),i=()=>{const e={};for(const s in t){const a=t[s];(a!==void 0||r)&&(e[s]=a??n[s])}return r=!0,k("obc-depth-actual",e,_(p))};return(o,e)=>v((f(),h(i,null,null,512)),[[l]])}});export{D as default};
|
|
2
2
|
//# sourceMappingURL=ObcDepthActual.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDepthActual.vue2.js","sources":["../../src/navigation-instruments/depth-actual/ObcDepthActual.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/depth-actual/depth-actual.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n depth?: number;\n draft?: number;\n advice?: LinearAdvice[];\n vesselScale?: number;\n
|
|
1
|
+
{"version":3,"file":"ObcDepthActual.vue2.js","sources":["../../src/navigation-instruments/depth-actual/ObcDepthActual.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/depth-actual/depth-actual.js';\n import {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\n\n export interface Props {\n depth?: number;\n draft?: number;\n advice?: LinearAdvice[];\n vesselScale?: number;\n vesselImage?: VesselImage;\n priority?: Priority;\n showLabels?: boolean;\n ranges?: readonly DepthRange[];\n maxDepth?: number | undefined;\n autoRange?: boolean;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n instrumentRange?: number | undefined\n }\n\n \n \n export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {VesselImage} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/watch.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {DepthRange} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/depth/depth-shared.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDepthActual',\n props: {\n depth: {},\n draft: {},\n advice: {},\n vesselScale: {},\n vesselImage: {},\n priority: {},\n showLabels: { type: Boolean },\n ranges: {},\n maxDepth: {},\n autoRange: { type: Boolean },\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n instrumentRange: {}\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-depth-actual',\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":"oSAkCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,MAAO,CAAA,EACP,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,YAAa,CAAA,EACb,YAAa,CAAA,EACb,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,UAAW,CAAE,KAAM,OAAA,EACnB,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,gBAAiB,CAAA,CAAC,EAEpB,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,mBACAF,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,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as m,reactive as f,useSlots as v,withDirectives as h,openBlock as y,createBlock as
|
|
1
|
+
import{defineComponent as m,reactive as f,useSlots as v,withDirectives as h,openBlock as y,createBlock as B,h as g}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js";const D=m({__name:"ObcGaugeHorizontal",props:{minValue:{},maxValue:{},reverse:{type:Boolean},side:{},showLabels:{type:Boolean},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},borderRadiusPosition:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},focused:{type:Boolean},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=f({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=v(),u=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,g("obc-gauge-horizontal",e,k(d))};return(n,e)=>h((y(),B(u,null,null,512)),[[c]])}});export{D as default};
|
|
2
2
|
//# sourceMappingURL=ObcGaugeHorizontal.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcGaugeHorizontal.vue2.js","sources":["../../src/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.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/gauge-horizontal/gauge-horizontal.js';\n import {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n side?: ExternalScaleSide;\n showLabels?: boolean;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n focused?: boolean;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeHorizontal',\n props: {\n minValue: {},\n maxValue: {},\n side: {},\n showLabels: { type: Boolean },\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n borderRadiusPosition: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n focused: { type: Boolean },\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-gauge-horizontal',\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":"
|
|
1
|
+
{"version":3,"file":"ObcGaugeHorizontal.vue2.js","sources":["../../src/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.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/gauge-horizontal/gauge-horizontal.js';\n import {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n reverse?: boolean;\n side?: ExternalScaleSide;\n showLabels?: boolean;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n focused?: boolean;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeHorizontal',\n props: {\n minValue: {},\n maxValue: {},\n reverse: { type: Boolean },\n side: {},\n showLabels: { type: Boolean },\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n borderRadiusPosition: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n focused: { type: Boolean },\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-gauge-horizontal',\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":"4SA+CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAE,KAAM,OAAA,EACjB,KAAM,CAAA,EACN,WAAY,CAAE,KAAM,OAAA,EACpB,cAAe,CAAA,EACf,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,qBAAsB,CAAA,EACtB,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,MAAO,CAAA,EACP,MAAO,CAAA,EACP,QAAS,CAAE,KAAM,OAAA,EACjB,QAAS,CAAA,EACT,sBAAuB,CAAE,KAAM,OAAA,EAC/B,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAO,CAAC,0BAA0B,EAClC,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,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,uBACAH,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,8 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js';
|
|
2
2
|
import { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
3
3
|
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
4
|
-
import { ChartLineDataItem,
|
|
5
|
-
import { ChartDataset } from 'chart.js';
|
|
4
|
+
import { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
5
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
6
|
export interface Props {
|
|
8
7
|
scaleType?: ScaleType;
|
|
@@ -10,9 +9,11 @@ export interface Props {
|
|
|
10
9
|
maxValue?: number;
|
|
11
10
|
chartMinValue?: number | undefined;
|
|
12
11
|
chartMaxValue?: number | undefined;
|
|
12
|
+
reverse?: boolean;
|
|
13
13
|
value?: number | undefined;
|
|
14
14
|
hasBar?: boolean;
|
|
15
15
|
hasScale?: boolean;
|
|
16
|
+
showMainTickmarkLabels?: boolean;
|
|
16
17
|
hasAdvice?: boolean;
|
|
17
18
|
fillMode?: FillMode;
|
|
18
19
|
fillMin?: number;
|
|
@@ -32,7 +33,7 @@ export interface Props {
|
|
|
32
33
|
setpointOverride?: boolean;
|
|
33
34
|
animateSetpoint?: boolean;
|
|
34
35
|
data?: ChartLineDataItem[];
|
|
35
|
-
datasets?:
|
|
36
|
+
datasets?: ChartLineDataset[] | undefined;
|
|
36
37
|
labels?: (string | number)[] | undefined;
|
|
37
38
|
colors?: string[];
|
|
38
39
|
legend?: boolean;
|
|
@@ -45,6 +46,8 @@ export interface Props {
|
|
|
45
46
|
yAxisPosition?: YAxisPosition;
|
|
46
47
|
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
47
48
|
xAxis?: ChartLineXAxisConfig | undefined;
|
|
49
|
+
xMarker?: ChartLineXMarker | undefined;
|
|
50
|
+
yMarker?: ChartLineYMarker | undefined;
|
|
48
51
|
showGrid?: boolean;
|
|
49
52
|
showGridX?: boolean;
|
|
50
53
|
showGridY?: boolean;
|
|
@@ -69,8 +72,7 @@ export interface Props {
|
|
|
69
72
|
}
|
|
70
73
|
export type { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
71
74
|
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
72
|
-
export type { ChartLineDataItem,
|
|
73
|
-
export type { ChartDataset } from 'chart.js';
|
|
75
|
+
export type { ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
74
76
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
75
77
|
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>;
|
|
76
78
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as B,openBlock as h,createBlock as m,h as f}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js";const b=d({__name:"ObcGaugeTrend",props:{scaleType:{},minValue:{},maxValue:{},chartMinValue:{},chartMaxValue:{},value:{},hasBar:{type:Boolean},hasScale:{type:Boolean},hasAdvice:{type:Boolean},fillMode:{},fillMin:{},fillMax:{},advice:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},chartFill:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean},data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const
|
|
1
|
+
import{defineComponent as d,reactive as y,useSlots as u,withDirectives as B,openBlock as h,createBlock as m,h as f}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-trend/gauge-trend.js";const b=d({__name:"ObcGaugeTrend",props:{scaleType:{},minValue:{},maxValue:{},chartMinValue:{},chartMaxValue:{},reverse:{type:Boolean},value:{},hasBar:{type:Boolean},hasScale:{type:Boolean},showMainTickmarkLabels:{type:Boolean},hasAdvice:{type:Boolean},fillMode:{},fillMin:{},fillMax:{},advice:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},chartFill:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean},data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},xMarker:{},yMarker:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,n=y({}),l={created(t){for(const e in o)n[e]=t[e]}};let i=!1;const p=u(),c=()=>{const e={};for(const a in o){const s=o[a];(s!==void 0||i)&&(e[a]=s??n[a])}return i=!0,f("obc-gauge-trend",e,v(p))};return(t,e)=>B((h(),m(c,null,null,512)),[[l]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcGaugeTrend.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcGaugeTrend.vue2.js","sources":["../../src/navigation-instruments/gauge-trend/ObcGaugeTrend.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/gauge-trend/gauge-trend.js';\n import {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ChartLineDataItem,
|
|
1
|
+
{"version":3,"file":"ObcGaugeTrend.vue2.js","sources":["../../src/navigation-instruments/gauge-trend/ObcGaugeTrend.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/gauge-trend/gauge-trend.js';\n import {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nimport {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n scaleType?: ScaleType;\n minValue?: number;\n maxValue?: number;\n chartMinValue?: number | undefined;\n chartMaxValue?: number | undefined;\n reverse?: boolean;\n value?: number | undefined;\n hasBar?: boolean;\n hasScale?: boolean;\n showMainTickmarkLabels?: boolean;\n hasAdvice?: boolean;\n fillMode?: FillMode;\n fillMin?: number;\n fillMax?: number | undefined;\n advice?: LinearAdvice[];\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number;\n tertiaryTickmarkInterval?: number | undefined;\n chartFill?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean;\n data?: ChartLineDataItem[];\n datasets?: ChartLineDataset[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n xMarker?: ChartLineXMarker | undefined;\n yMarker?: ChartLineYMarker | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {ScaleType, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\nexport type {ChartLineDataItem, ChartLineDataset, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, ChartLineXMarker, ChartLineYMarker, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeTrend',\n props: {\n scaleType: {},\n minValue: {},\n maxValue: {},\n chartMinValue: {},\n chartMaxValue: {},\n reverse: { type: Boolean },\n value: {},\n hasBar: { type: Boolean },\n hasScale: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasAdvice: { type: Boolean },\n fillMode: {},\n fillMin: {},\n fillMax: {},\n advice: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n chartFill: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean },\n data: {},\n datasets: {},\n labels: {},\n colors: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n width: {},\n height: {},\n fixedAspectRatioScaling: { type: Boolean },\n scaleReferenceSize: {},\n xAxisType: {},\n yAxisPosition: {},\n yAxes: {},\n xAxis: {},\n xMarker: {},\n yMarker: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\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-gauge-trend',\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":"kSAsFA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,UAAW,CAAA,EACX,SAAU,CAAA,EACV,SAAU,CAAA,EACV,cAAe,CAAA,EACf,cAAe,CAAA,EACf,QAAS,CAAE,KAAM,OAAA,EACjB,MAAO,CAAA,EACP,OAAQ,CAAE,KAAM,OAAA,EAChB,SAAU,CAAE,KAAM,OAAA,EAClB,uBAAwB,CAAE,KAAM,OAAA,EAChC,UAAW,CAAE,KAAM,OAAA,EACnB,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,OAAQ,CAAA,EACR,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,UAAW,CAAE,KAAM,OAAA,EACnB,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,EACzB,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,QAAS,CAAA,EACT,QAAS,CAAA,EACT,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as m,reactive as
|
|
1
|
+
import{defineComponent as m,reactive as v,useSlots as f,withDirectives as y,openBlock as h,createBlock as B,h as g}from"vue";import{assignSlotNodes as k}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-vertical/gauge-vertical.js";const D=m({__name:"ObcGaugeVertical",props:{minValue:{},maxValue:{},reverse:{type:Boolean},side:{},showLabels:{type:Boolean},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},borderRadiusPosition:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},focused:{type:Boolean},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=v({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=f(),u=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,g("obc-gauge-vertical",e,k(d))};return(n,e)=>y((h(),B(u,null,null,512)),[[c]])}});export{D as default};
|
|
2
2
|
//# sourceMappingURL=ObcGaugeVertical.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcGaugeVertical.vue2.js","sources":["../../src/navigation-instruments/gauge-vertical/ObcGaugeVertical.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/gauge-vertical/gauge-vertical.js';\n import {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n side?: ExternalScaleSide;\n showLabels?: boolean;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n focused?: boolean;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeVertical',\n props: {\n minValue: {},\n maxValue: {},\n side: {},\n showLabels: { type: Boolean },\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n borderRadiusPosition: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n focused: { type: Boolean },\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-gauge-vertical',\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":"
|
|
1
|
+
{"version":3,"file":"ObcGaugeVertical.vue2.js","sources":["../../src/navigation-instruments/gauge-vertical/ObcGaugeVertical.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/gauge-vertical/gauge-vertical.js';\n import {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n reverse?: boolean;\n side?: ExternalScaleSide;\n showLabels?: boolean;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n focused?: boolean;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, FillMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcGaugeVertical',\n props: {\n minValue: {},\n maxValue: {},\n reverse: { type: Boolean },\n side: {},\n showLabels: { type: Boolean },\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n borderRadiusPosition: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n focused: { type: Boolean },\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\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 onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\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-gauge-vertical',\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":"wSA+CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAE,KAAM,OAAA,EACjB,KAAM,CAAA,EACN,WAAY,CAAE,KAAM,OAAA,EACpB,cAAe,CAAA,EACf,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,qBAAsB,CAAA,EACtB,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,MAAO,CAAA,EACP,MAAO,CAAA,EACP,QAAS,CAAE,KAAM,OAAA,EACjB,QAAS,CAAA,EACT,sBAAuB,CAAE,KAAM,OAAA,EAC/B,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAO,CAAC,0BAA0B,EAClC,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,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,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"}
|
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.
|
|
11
|
+
"version": "2.0.0-next.159",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.159",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|
|
@@ -2364,6 +2364,8 @@
|
|
|
2364
2364
|
"navigation-instruments/compass-indicator/ObcCompassIndicator*",
|
|
2365
2365
|
"navigation-instruments/compass-sector/ObcCompassSector*",
|
|
2366
2366
|
"navigation-instruments/current/ObcCurrent*",
|
|
2367
|
+
"navigation-instruments/depth/ObcDepthTopBand*",
|
|
2368
|
+
"navigation-instruments/depth/ObcDepth*",
|
|
2367
2369
|
"navigation-instruments/depth-actual/ObcDepthActual*",
|
|
2368
2370
|
"navigation-instruments/depth-indicator/ObcDepthIndicator*",
|
|
2369
2371
|
"navigation-instruments/draft-trim/ObcDraftTrim*",
|