@oicl/openbridge-webcomponents-vue 2.0.0-next.19 → 2.0.0-next.20
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 +4 -13
- package/bars-graphs/area-graph/ObcAreaGraph.vue2.js.map +1 -1
- package/bars-graphs/donut-chart/ObcDonutChart.vue.d.ts +3 -4
- package/bars-graphs/donut-chart/ObcDonutChart.vue2.js.map +1 -1
- package/bars-graphs/line-graph/ObcLineGraph.vue.d.ts +4 -13
- package/bars-graphs/line-graph/ObcLineGraph.vue2.js.map +1 -1
- package/bars-graphs/pie-chart/ObcPieChart.vue.d.ts +3 -8
- package/bars-graphs/pie-chart/ObcPieChart.vue2.js.map +1 -1
- package/bars-graphs/polar-chart/ObcPolarChart.vue.d.ts +3 -4
- package/bars-graphs/polar-chart/ObcPolarChart.vue2.js.map +1 -1
- package/building-blocks/bar-horizontal/ObcBarHorizontal.vue.d.ts +3 -8
- package/building-blocks/bar-horizontal/ObcBarHorizontal.vue2.js.map +1 -1
- package/building-blocks/bar-vertical/ObcBarVertical.vue.d.ts +3 -8
- package/building-blocks/bar-vertical/ObcBarVertical.vue2.js.map +1 -1
- package/building-blocks/chart-line/ObcChartLineBase.vue.d.ts +4 -13
- package/building-blocks/chart-line/ObcChartLineBase.vue2.js.map +1 -1
- package/components/dropdown-button/ObcDropdownButton.vue.d.ts +3 -7
- package/components/dropdown-button/ObcDropdownButton.vue2.js.map +1 -1
- package/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.vue.d.ts +3 -6
- package/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.vue2.js.map +1 -1
- package/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.vue.d.ts +3 -11
- package/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.vue2.js.map +1 -1
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue.d.ts +3 -8
- package/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.vue2.js.map +1 -1
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue.d.ts +7 -21
- package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js.map +1 -1
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue.d.ts +3 -8
- package/navigation-instruments/gauge-vertical/ObcGaugeVertical.vue2.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,15 +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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
3
4
|
import { ChartDataset } from 'chart.js';
|
|
4
|
-
import { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
5
5
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
export interface Props {
|
|
7
7
|
fillMode?: AreaFillMode;
|
|
8
8
|
stacked?: boolean;
|
|
9
|
-
data?:
|
|
10
|
-
label: string;
|
|
11
|
-
value: number;
|
|
12
|
-
}[];
|
|
9
|
+
data?: ChartLineDataItem[];
|
|
13
10
|
datasets?: ChartDataset<"line", (number | {
|
|
14
11
|
x: string | number | Date;
|
|
15
12
|
y: number;
|
|
@@ -24,13 +21,7 @@ export interface Props {
|
|
|
24
21
|
scaleReferenceSize?: number;
|
|
25
22
|
xAxisType?: XAxisType;
|
|
26
23
|
yAxisPosition?: YAxisPosition;
|
|
27
|
-
yAxes?:
|
|
28
|
-
id?: string | undefined;
|
|
29
|
-
position?: "left" | "right" | undefined;
|
|
30
|
-
min?: number | undefined;
|
|
31
|
-
max?: number | undefined;
|
|
32
|
-
grid?: boolean | undefined;
|
|
33
|
-
}[] | undefined;
|
|
24
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
34
25
|
showGrid?: boolean;
|
|
35
26
|
showGridX?: boolean;
|
|
36
27
|
showGridY?: boolean;
|
|
@@ -52,8 +43,8 @@ export interface Props {
|
|
|
52
43
|
borderRadius?: number | undefined;
|
|
53
44
|
}
|
|
54
45
|
export type { AreaFillMode } from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
|
|
46
|
+
export type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
55
47
|
export type { ChartDataset } from 'chart.js';
|
|
56
|
-
export type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
57
48
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
58
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>;
|
|
59
50
|
export default _default;
|
|
@@ -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 {
|
|
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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {ChartDataset} from 'chart.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?: ChartDataset<\"line\", (number | { x: string | number | Date; y: number; })[]>[] | 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 showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {ChartDataset} from 'chart.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 showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\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":"qRAuDA,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,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,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,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
2
|
+
import { DonutChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
2
3
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
export interface Props {
|
|
4
|
-
data?:
|
|
5
|
-
label: string;
|
|
6
|
-
value: number;
|
|
7
|
-
}[];
|
|
5
|
+
data?: DonutChartDataItem[];
|
|
8
6
|
colors?: string[];
|
|
9
7
|
priority?: Priority;
|
|
10
8
|
half?: boolean;
|
|
@@ -21,6 +19,7 @@ export interface Props {
|
|
|
21
19
|
showDebugOverlay?: boolean;
|
|
22
20
|
fixedHeight?: number;
|
|
23
21
|
}
|
|
22
|
+
export type { DonutChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
24
23
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
25
24
|
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>;
|
|
26
25
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDonutChart.vue2.js","sources":["../../src/bars-graphs/donut-chart/ObcDonutChart.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/donut-chart/donut-chart.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?:
|
|
1
|
+
{"version":3,"file":"ObcDonutChart.vue2.js","sources":["../../src/bars-graphs/donut-chart/ObcDonutChart.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/donut-chart/donut-chart.js';\n import {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?: DonutChartDataItem[];\n colors?: string[];\n priority?: Priority;\n half?: boolean;\n showOuterLabels?: boolean;\n showUnit?: boolean;\n outerLabelUnit?: string;\n outerLabelMaxLength?: number;\n outerLabelDecimalPlaces?: number;\n centerReadoutLabel?: string;\n centerReadoutUnit?: string;\n max?: number;\n thickness?: number;\n legend?: boolean;\n showDebugOverlay?: boolean;\n fixedHeight?: number\n }\n\n \n \n export type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDonutChart',\n props: {\n data: {},\n colors: {},\n priority: {},\n half: { type: Boolean },\n showOuterLabels: { type: Boolean },\n showUnit: { type: Boolean },\n outerLabelUnit: {},\n outerLabelMaxLength: {},\n outerLabelDecimalPlaces: {},\n centerReadoutLabel: {},\n centerReadoutUnit: {},\n max: {},\n thickness: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n fixedHeight: {}\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-donut-chart',\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":"uRAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,KAAM,CAAA,EACN,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,KAAM,CAAE,KAAM,OAAA,EACd,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,wBAAyB,CAAA,EACzB,mBAAoB,CAAA,EACpB,kBAAmB,CAAA,EACnB,IAAK,CAAA,EACL,UAAW,CAAA,EACX,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,YAAa,CAAA,CAAC,EAEhB,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,12 +1,9 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';
|
|
2
|
+
import { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
3
|
import { ChartDataset } from 'chart.js';
|
|
3
|
-
import { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
4
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
export interface Props {
|
|
6
|
-
data?:
|
|
7
|
-
label: string;
|
|
8
|
-
value: number;
|
|
9
|
-
}[];
|
|
6
|
+
data?: ChartLineDataItem[];
|
|
10
7
|
datasets?: ChartDataset<"line", (number | {
|
|
11
8
|
x: string | number | Date;
|
|
12
9
|
y: number;
|
|
@@ -21,13 +18,7 @@ export interface Props {
|
|
|
21
18
|
scaleReferenceSize?: number;
|
|
22
19
|
xAxisType?: XAxisType;
|
|
23
20
|
yAxisPosition?: YAxisPosition;
|
|
24
|
-
yAxes?:
|
|
25
|
-
id?: string | undefined;
|
|
26
|
-
position?: "left" | "right" | undefined;
|
|
27
|
-
min?: number | undefined;
|
|
28
|
-
max?: number | undefined;
|
|
29
|
-
grid?: boolean | undefined;
|
|
30
|
-
}[] | undefined;
|
|
21
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
31
22
|
showGrid?: boolean;
|
|
32
23
|
showGridX?: boolean;
|
|
33
24
|
showGridY?: boolean;
|
|
@@ -48,8 +39,8 @@ export interface Props {
|
|
|
48
39
|
instrumentMode?: boolean;
|
|
49
40
|
borderRadius?: number | undefined;
|
|
50
41
|
}
|
|
42
|
+
export type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
51
43
|
export type { ChartDataset } from 'chart.js';
|
|
52
|
-
export type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
53
44
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
54
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>;
|
|
55
46
|
export default _default;
|
|
@@ -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 {
|
|
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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {ChartDataset} from 'chart.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?: ChartDataset<\"line\", (number | { x: string | number | Date; y: number; })[]>[] | 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 showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {ChartDataset} from 'chart.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 showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\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":"qRAmDA,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,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,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,14 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
2
|
+
import { PieChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
2
3
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
export interface Props {
|
|
4
|
-
data?:
|
|
5
|
-
label: string;
|
|
6
|
-
value: number;
|
|
7
|
-
children?: {
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
}[] | undefined;
|
|
11
|
-
}[];
|
|
5
|
+
data?: PieChartDataItem[];
|
|
12
6
|
colors?: string[];
|
|
13
7
|
priority?: Priority;
|
|
14
8
|
showOuterLabels?: boolean;
|
|
@@ -21,6 +15,7 @@ export interface Props {
|
|
|
21
15
|
showDebugOverlay?: boolean;
|
|
22
16
|
fixedHeight?: number;
|
|
23
17
|
}
|
|
18
|
+
export type { PieChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
24
19
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
25
20
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
21
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcPieChart.vue2.js","sources":["../../src/bars-graphs/pie-chart/ObcPieChart.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/pie-chart/pie-chart.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?:
|
|
1
|
+
{"version":3,"file":"ObcPieChart.vue2.js","sources":["../../src/bars-graphs/pie-chart/ObcPieChart.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/pie-chart/pie-chart.js';\n import {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?: PieChartDataItem[];\n colors?: string[];\n priority?: Priority;\n showOuterLabels?: boolean;\n showUnit?: boolean;\n sunburst?: boolean;\n outerLabelUnit?: string;\n outerLabelMaxLength?: number;\n outerLabelDecimalPlaces?: number;\n legend?: boolean;\n showDebugOverlay?: boolean;\n fixedHeight?: number\n }\n\n \n \n export type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPieChart',\n props: {\n data: {},\n colors: {},\n priority: {},\n showOuterLabels: { type: Boolean },\n showUnit: { type: Boolean },\n sunburst: { type: Boolean },\n outerLabelUnit: {},\n outerLabelMaxLength: {},\n outerLabelDecimalPlaces: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean },\n fixedHeight: {}\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-pie-chart',\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":"mRA6BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,KAAM,CAAA,EACN,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,gBAAiB,CAAE,KAAM,OAAA,EACzB,SAAU,CAAE,KAAM,OAAA,EAClB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,wBAAyB,CAAA,EACzB,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,YAAa,CAAA,CAAC,EAEhB,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,gBACAF,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,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
2
|
+
import { PolarChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
2
3
|
import { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
export interface Props {
|
|
4
|
-
data?:
|
|
5
|
-
label: string;
|
|
6
|
-
value: number;
|
|
7
|
-
}[];
|
|
5
|
+
data?: PolarChartDataItem[];
|
|
8
6
|
colors?: string[];
|
|
9
7
|
priority?: Priority;
|
|
10
8
|
monochrome?: boolean;
|
|
@@ -19,6 +17,7 @@ export interface Props {
|
|
|
19
17
|
legend?: boolean;
|
|
20
18
|
showDebugOverlay?: boolean;
|
|
21
19
|
}
|
|
20
|
+
export type { PolarChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
22
21
|
export type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
23
22
|
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>;
|
|
24
23
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcPolarChart.vue2.js","sources":["../../src/bars-graphs/polar-chart/ObcPolarChart.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/polar-chart/polar-chart.js';\n import {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?:
|
|
1
|
+
{"version":3,"file":"ObcPolarChart.vue2.js","sources":["../../src/bars-graphs/polar-chart/ObcPolarChart.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/polar-chart/polar-chart.js';\n import {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';\nimport {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n\n export interface Props {\n data?: PolarChartDataItem[];\n colors?: string[];\n priority?: Priority;\n monochrome?: boolean;\n discreteColorStops?: boolean;\n showSectorLabels?: boolean;\n showUnit?: boolean;\n showOuterLabels?: boolean;\n outerLabelUnit?: string;\n outerLabelMaxLength?: number;\n outerLabelDecimalPlaces?: number;\n fixedHeight?: number;\n legend?: boolean;\n showDebugOverlay?: boolean\n }\n\n \n \n export type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';\nexport type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPolarChart',\n props: {\n data: {},\n colors: {},\n priority: {},\n monochrome: { type: Boolean },\n discreteColorStops: { type: Boolean },\n showSectorLabels: { type: Boolean },\n showUnit: { type: Boolean },\n showOuterLabels: { type: Boolean },\n outerLabelUnit: {},\n outerLabelMaxLength: {},\n outerLabelDecimalPlaces: {},\n fixedHeight: {},\n legend: { type: Boolean },\n showDebugOverlay: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-polar-chart',\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":"uRA+BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,KAAM,CAAA,EACN,OAAQ,CAAA,EACR,SAAU,CAAA,EACV,WAAY,CAAE,KAAM,OAAA,EACpB,mBAAoB,CAAE,KAAM,OAAA,EAC5B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,SAAU,CAAE,KAAM,OAAA,EAClB,gBAAiB,CAAE,KAAM,OAAA,EACzB,eAAgB,CAAA,EAChB,oBAAqB,CAAA,EACrB,wBAAyB,CAAA,EACzB,YAAa,CAAA,EACb,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,CAAQ,EAEpC,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,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
|
|
2
2
|
import { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
export interface Props {
|
|
6
6
|
minValue?: number;
|
|
7
7
|
maxValue?: number;
|
|
@@ -35,12 +35,7 @@ export interface Props {
|
|
|
35
35
|
value?: number | undefined;
|
|
36
36
|
state?: InstrumentState;
|
|
37
37
|
advicePosition?: AdvicePosition;
|
|
38
|
-
advices?:
|
|
39
|
-
min: number;
|
|
40
|
-
max: number;
|
|
41
|
-
type: AdviceType;
|
|
42
|
-
hinted: boolean;
|
|
43
|
-
}[] | undefined;
|
|
38
|
+
advices?: LinearAdvice[] | undefined;
|
|
44
39
|
highlightCurrentValue?: boolean;
|
|
45
40
|
setpoint?: number | undefined;
|
|
46
41
|
newSetpoint?: number | undefined;
|
|
@@ -54,6 +49,6 @@ export interface Props {
|
|
|
54
49
|
}
|
|
55
50
|
export type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
56
51
|
export type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
57
|
-
export type {
|
|
52
|
+
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
58
53
|
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>;
|
|
59
54
|
export default _default;
|
|
@@ -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 {
|
|
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 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 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 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-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","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"iSA8DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,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,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,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,qBACAF,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,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
2
2
|
import { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
export interface Props {
|
|
6
6
|
minValue?: number;
|
|
7
7
|
maxValue?: number;
|
|
@@ -35,12 +35,7 @@ export interface Props {
|
|
|
35
35
|
value?: number | undefined;
|
|
36
36
|
state?: InstrumentState;
|
|
37
37
|
advicePosition?: AdvicePosition;
|
|
38
|
-
advices?:
|
|
39
|
-
min: number;
|
|
40
|
-
max: number;
|
|
41
|
-
type: AdviceType;
|
|
42
|
-
hinted: boolean;
|
|
43
|
-
}[] | undefined;
|
|
38
|
+
advices?: LinearAdvice[] | undefined;
|
|
44
39
|
highlightCurrentValue?: boolean;
|
|
45
40
|
setpoint?: number | undefined;
|
|
46
41
|
newSetpoint?: number | undefined;
|
|
@@ -54,6 +49,6 @@ export interface Props {
|
|
|
54
49
|
}
|
|
55
50
|
export type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
56
51
|
export type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
57
|
-
export type {
|
|
52
|
+
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
58
53
|
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>;
|
|
59
54
|
export default _default;
|
|
@@ -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 {
|
|
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 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 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 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-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","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"wRA8DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,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,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,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,mBACAI,EACAE,EAAgBL,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACM,EAAUC,IACTC,GAAiBC,IAAcC,EAAaR,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
|
+
import { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
3
|
import { ChartDataset } from 'chart.js';
|
|
3
|
-
import { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
4
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
export interface Props {
|
|
6
|
-
data?:
|
|
7
|
-
label: string;
|
|
8
|
-
value: number;
|
|
9
|
-
}[];
|
|
6
|
+
data?: ChartLineDataItem[];
|
|
10
7
|
datasets?: ChartDataset<"line", (number | {
|
|
11
8
|
x: string | number | Date;
|
|
12
9
|
y: number;
|
|
@@ -21,13 +18,7 @@ export interface Props {
|
|
|
21
18
|
scaleReferenceSize?: number;
|
|
22
19
|
xAxisType?: XAxisType;
|
|
23
20
|
yAxisPosition?: YAxisPosition;
|
|
24
|
-
yAxes?:
|
|
25
|
-
id?: string | undefined;
|
|
26
|
-
position?: "left" | "right" | undefined;
|
|
27
|
-
min?: number | undefined;
|
|
28
|
-
max?: number | undefined;
|
|
29
|
-
grid?: boolean | undefined;
|
|
30
|
-
}[] | undefined;
|
|
21
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
31
22
|
showGrid?: boolean;
|
|
32
23
|
showGridX?: boolean;
|
|
33
24
|
showGridY?: boolean;
|
|
@@ -48,8 +39,8 @@ export interface Props {
|
|
|
48
39
|
instrumentMode?: boolean;
|
|
49
40
|
borderRadius?: number | undefined;
|
|
50
41
|
}
|
|
42
|
+
export type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
51
43
|
export type { ChartDataset } from 'chart.js';
|
|
52
|
-
export type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
53
44
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
54
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>;
|
|
55
46
|
export default _default;
|
|
@@ -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 {
|
|
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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {ChartDataset} from 'chart.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?: ChartDataset<\"line\", (number | { x: string | number | Date; y: number; })[]>[] | 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 showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {ChartDataset} from 'chart.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 showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\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":"8RAmDA,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,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,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"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
2
|
-
import { ObcDropdownButtonChangeEvent, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
2
|
+
import { ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
3
3
|
export interface Props {
|
|
4
|
-
options?:
|
|
5
|
-
value: string;
|
|
6
|
-
label: string;
|
|
7
|
-
level?: number | undefined;
|
|
8
|
-
}[];
|
|
4
|
+
options?: DropdownButtonOption[];
|
|
9
5
|
value?: string | undefined;
|
|
10
6
|
disabled?: boolean;
|
|
11
7
|
fullWidth?: boolean;
|
|
@@ -14,7 +10,7 @@ export interface Props {
|
|
|
14
10
|
integration?: boolean;
|
|
15
11
|
flat?: boolean;
|
|
16
12
|
}
|
|
17
|
-
export type { ObcDropdownButtonChangeEvent, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
13
|
+
export type { ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType } from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
18
14
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
15
|
change: (payload: ObcDropdownButtonChangeEvent) => any;
|
|
20
16
|
"dropdown-change": (payload: ObcDropdownButtonChangeEvent) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDropdownButton.vue2.js","sources":["../../src/components/dropdown-button/ObcDropdownButton.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/dropdown-button/dropdown-button.js';\n import {ObcDropdownButtonChangeEvent, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';\n\n export interface Props {\n options?:
|
|
1
|
+
{"version":3,"file":"ObcDropdownButton.vue2.js","sources":["../../src/components/dropdown-button/ObcDropdownButton.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/dropdown-button/dropdown-button.js';\n import {ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';\n\n export interface Props {\n options?: DropdownButtonOption[];\n value?: string | undefined;\n disabled?: boolean;\n fullWidth?: boolean;\n type?: DropdownButtonType;\n openTop?: boolean;\n integration?: boolean;\n flat?: boolean\n }\n\n \n \n export type {ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDropdownButton',\n props: {\n options: {},\n value: {},\n disabled: { type: Boolean },\n fullWidth: { type: Boolean },\n type: {},\n openTop: { type: Boolean },\n integration: { type: Boolean },\n flat: { type: Boolean }\n },\n emits: [\"dropdown-change\", \"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 onDropdownChange: (event: ObcDropdownButtonChangeEvent) => emit('dropdown-change', event as ObcDropdownButtonChangeEvent),\nonChange: (event: ObcDropdownButtonChangeEvent) => emit('change', event as ObcDropdownButtonChangeEvent)\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-dropdown-button',\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":"8RAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,QAAS,CAAA,EACT,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,KAAM,CAAA,EACN,QAAS,CAAE,KAAM,OAAA,EACjB,YAAa,CAAE,KAAM,OAAA,EACrB,KAAM,CAAE,KAAM,OAAA,CAAQ,EAExB,MAAO,CAAC,kBAAmB,QAAQ,EACnC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAKnB,MAAMC,EAJa,CACvB,iBAAmBC,GAAwCL,EAAK,kBAAmBK,CAAqC,EAC5H,SAAWA,GAAwCL,EAAK,SAAUK,CAAqC,CAAA,EAKjG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,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,17 +1,14 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
2
|
-
import { ObcElevatedCardRadioGroupChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
2
|
+
import { ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption } from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
3
3
|
export interface Props {
|
|
4
|
-
options?:
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}[];
|
|
4
|
+
options?: ElevatedCardRadioGroupOption[];
|
|
8
5
|
name?: string;
|
|
9
6
|
value?: string;
|
|
10
7
|
disabled?: boolean;
|
|
11
8
|
required?: boolean;
|
|
12
9
|
top?: boolean;
|
|
13
10
|
}
|
|
14
|
-
export type { ObcElevatedCardRadioGroupChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
11
|
+
export type { ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption } from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
15
12
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
13
|
change: (payload: ObcElevatedCardRadioGroupChangeEvent) => any;
|
|
17
14
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcElevatedCardRadioGroup.vue2.js","sources":["../../src/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.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/elevated-card-radio-group/elevated-card-radio-group.js';\n import {ObcElevatedCardRadioGroupChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';\n\n export interface Props {\n options?:
|
|
1
|
+
{"version":3,"file":"ObcElevatedCardRadioGroup.vue2.js","sources":["../../src/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.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/elevated-card-radio-group/elevated-card-radio-group.js';\n import {ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';\n\n export interface Props {\n options?: ElevatedCardRadioGroupOption[];\n name?: string;\n value?: string;\n disabled?: boolean;\n required?: boolean;\n top?: boolean\n }\n\n \n \n export type {ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcElevatedCardRadioGroup',\n props: {\n options: {},\n name: {},\n value: {},\n disabled: { type: Boolean },\n required: { type: Boolean },\n top: { type: Boolean }\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: ObcElevatedCardRadioGroupChangeEvent) => emit('change', event as ObcElevatedCardRadioGroupChangeEvent)\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-elevated-card-radio-group',\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":"kTAqBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,QAAS,CAAA,EACT,KAAM,CAAA,EACN,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,SAAU,CAAE,KAAM,OAAA,EAClB,IAAK,CAAE,KAAM,OAAA,CAAQ,EAEvB,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,GAAgDL,EAAK,SAAUK,CAA6C,CAAA,EAKrH,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,gCACAH,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/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.vue.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
|
|
2
|
-
import { ObcIntegrationDropdownButtonChangeEvent } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
|
|
3
|
-
import { HTMLTemplateResult } from 'lit';
|
|
2
|
+
import { ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
|
|
4
3
|
export interface Props {
|
|
5
|
-
options?:
|
|
6
|
-
value: string;
|
|
7
|
-
label: string;
|
|
8
|
-
status?: string | undefined;
|
|
9
|
-
icon: HTMLTemplateResult;
|
|
10
|
-
disabled?: boolean | undefined;
|
|
11
|
-
}[];
|
|
4
|
+
options?: IntegrationDropdownOption[];
|
|
12
5
|
hasFleet?: boolean;
|
|
13
6
|
fleetLabel?: string;
|
|
14
7
|
value?: string | undefined;
|
|
@@ -17,8 +10,7 @@ export interface Props {
|
|
|
17
10
|
fullWidth?: boolean;
|
|
18
11
|
openTop?: boolean;
|
|
19
12
|
}
|
|
20
|
-
export type { ObcIntegrationDropdownButtonChangeEvent } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
|
|
21
|
-
export type { HTMLTemplateResult } from 'lit';
|
|
13
|
+
export type { ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';
|
|
22
14
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
15
|
change: (payload: ObcIntegrationDropdownButtonChangeEvent) => any;
|
|
24
16
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
package/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.vue2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcIntegrationDropdownButton.vue2.js","sources":["../../src/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.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/integration-systems/integration-dropdown-button/integration-dropdown-button.js';\n import {ObcIntegrationDropdownButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';\
|
|
1
|
+
{"version":3,"file":"ObcIntegrationDropdownButton.vue2.js","sources":["../../src/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.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/integration-systems/integration-dropdown-button/integration-dropdown-button.js';\n import {ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';\n\n export interface Props {\n options?: IntegrationDropdownOption[];\n hasFleet?: boolean;\n fleetLabel?: string;\n value?: string | undefined;\n placeholder?: string;\n disabled?: boolean;\n fullWidth?: boolean;\n openTop?: boolean\n }\n\n \n \n export type {ObcIntegrationDropdownButtonChangeEvent, IntegrationDropdownOption} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationDropdownButton',\n props: {\n options: {},\n hasFleet: { type: Boolean },\n fleetLabel: {},\n value: {},\n placeholder: {},\n disabled: { type: Boolean },\n fullWidth: { type: Boolean },\n openTop: { type: Boolean }\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: ObcIntegrationDropdownButtonChangeEvent) => emit('change', event as ObcIntegrationDropdownButtonChangeEvent)\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-integration-dropdown-button',\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":"+TAuBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,+BACR,MAAO,CACL,QAAS,CAAA,EACT,SAAU,CAAE,KAAM,OAAA,EAClB,WAAY,CAAA,EACZ,MAAO,CAAA,EACP,YAAa,CAAA,EACb,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,QAAS,CAAE,KAAM,OAAA,CAAQ,EAE3B,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,GAAmDL,EAAK,SAAUK,CAAgD,CAAA,EAK3H,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,kCACAH,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,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-horizontal/gauge-horizontal.js';
|
|
2
2
|
import { ExternalScaleSide, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import { BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
export interface Props {
|
|
6
6
|
minValue?: number;
|
|
7
7
|
maxValue?: number;
|
|
@@ -19,12 +19,7 @@ export interface Props {
|
|
|
19
19
|
value?: number | undefined;
|
|
20
20
|
state?: InstrumentState;
|
|
21
21
|
focused?: boolean;
|
|
22
|
-
advices?:
|
|
23
|
-
min: number;
|
|
24
|
-
max: number;
|
|
25
|
-
type: AdviceType;
|
|
26
|
-
hinted: boolean;
|
|
27
|
-
}[] | undefined;
|
|
22
|
+
advices?: LinearAdvice[] | undefined;
|
|
28
23
|
highlightCurrentValue?: boolean;
|
|
29
24
|
setpoint?: number | undefined;
|
|
30
25
|
newSetpoint?: number | undefined;
|
|
@@ -38,7 +33,7 @@ export interface Props {
|
|
|
38
33
|
}
|
|
39
34
|
export type { ExternalScaleSide, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
40
35
|
export type { BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
41
|
-
export type {
|
|
36
|
+
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
42
37
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
43
38
|
"scale-dimensions-changed": (payload: CustomEvent<any>) => any;
|
|
44
39
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -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 {
|
|
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":"4SA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,qBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,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,8 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
4
|
+
import { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
5
|
import { ChartDataset } from 'chart.js';
|
|
5
|
-
import { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
6
|
import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
7
|
export interface Props {
|
|
8
8
|
scaleType?: ScaleType;
|
|
@@ -17,12 +17,7 @@ export interface Props {
|
|
|
17
17
|
fillMode?: FillMode;
|
|
18
18
|
fillMin?: number;
|
|
19
19
|
fillMax?: number | undefined;
|
|
20
|
-
advice?:
|
|
21
|
-
min: number;
|
|
22
|
-
max: number;
|
|
23
|
-
type: AdviceType;
|
|
24
|
-
hinted: boolean;
|
|
25
|
-
}[];
|
|
20
|
+
advice?: LinearAdvice[];
|
|
26
21
|
primaryTickmarkInterval?: number | undefined;
|
|
27
22
|
secondaryTickmarkInterval?: number;
|
|
28
23
|
tertiaryTickmarkInterval?: number | undefined;
|
|
@@ -36,10 +31,7 @@ export interface Props {
|
|
|
36
31
|
setpointAtZeroDeadband?: number;
|
|
37
32
|
setpointOverride?: boolean;
|
|
38
33
|
animateSetpoint?: boolean;
|
|
39
|
-
data?:
|
|
40
|
-
label: string;
|
|
41
|
-
value: number;
|
|
42
|
-
}[];
|
|
34
|
+
data?: ChartLineDataItem[];
|
|
43
35
|
datasets?: ChartDataset<"line", (number | {
|
|
44
36
|
x: string | number | Date;
|
|
45
37
|
y: number;
|
|
@@ -54,13 +46,7 @@ export interface Props {
|
|
|
54
46
|
scaleReferenceSize?: number;
|
|
55
47
|
xAxisType?: XAxisType;
|
|
56
48
|
yAxisPosition?: YAxisPosition;
|
|
57
|
-
yAxes?:
|
|
58
|
-
id?: string | undefined;
|
|
59
|
-
position?: "left" | "right" | undefined;
|
|
60
|
-
min?: number | undefined;
|
|
61
|
-
max?: number | undefined;
|
|
62
|
-
grid?: boolean | undefined;
|
|
63
|
-
}[] | undefined;
|
|
49
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
64
50
|
showGrid?: boolean;
|
|
65
51
|
showGridX?: boolean;
|
|
66
52
|
showGridY?: boolean;
|
|
@@ -82,9 +68,9 @@ export interface Props {
|
|
|
82
68
|
borderRadius?: number | undefined;
|
|
83
69
|
}
|
|
84
70
|
export type { ScaleType, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
85
|
-
export type {
|
|
71
|
+
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
72
|
+
export type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
86
73
|
export type { ChartDataset } from 'chart.js';
|
|
87
|
-
export type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
88
74
|
export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
89
75
|
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>;
|
|
90
76
|
export default _default;
|
|
@@ -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 {
|
|
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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nimport {ChartDataset} from 'chart.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 value?: number | undefined;\n hasBar?: boolean;\n hasScale?: 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?: ChartDataset<\"line\", (number | { x: string | number | Date; y: number; })[]>[] | 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 showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\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, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\nexport type {ChartDataset} from 'chart.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 value: {},\n hasBar: { type: Boolean },\n hasScale: { 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 showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\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":"kSAiFA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,UAAW,CAAA,EACX,SAAU,CAAA,EACV,SAAU,CAAA,EACV,cAAe,CAAA,EACf,cAAe,CAAA,EACf,MAAO,CAAA,EACP,OAAQ,CAAE,KAAM,OAAA,EAChB,SAAU,CAAE,KAAM,OAAA,EAClB,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,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,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,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-vertical/gauge-vertical.js';
|
|
2
2
|
import { ExternalScaleSide, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import { BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
export interface Props {
|
|
6
6
|
minValue?: number;
|
|
7
7
|
maxValue?: number;
|
|
@@ -19,12 +19,7 @@ export interface Props {
|
|
|
19
19
|
value?: number | undefined;
|
|
20
20
|
state?: InstrumentState;
|
|
21
21
|
focused?: boolean;
|
|
22
|
-
advices?:
|
|
23
|
-
min: number;
|
|
24
|
-
max: number;
|
|
25
|
-
type: AdviceType;
|
|
26
|
-
hinted: boolean;
|
|
27
|
-
}[] | undefined;
|
|
22
|
+
advices?: LinearAdvice[] | undefined;
|
|
28
23
|
highlightCurrentValue?: boolean;
|
|
29
24
|
setpoint?: number | undefined;
|
|
30
25
|
newSetpoint?: number | undefined;
|
|
@@ -38,7 +33,7 @@ export interface Props {
|
|
|
38
33
|
}
|
|
39
34
|
export type { ExternalScaleSide, FillMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
40
35
|
export type { BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
41
|
-
export type {
|
|
36
|
+
export type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
42
37
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
43
38
|
"scale-dimensions-changed": (payload: CustomEvent<any>) => any;
|
|
44
39
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
@@ -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 {
|
|
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":"wSA8CA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,SAAU,CAAA,EACV,SAAU,CAAA,EACV,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.20",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.19",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|