@oicl/openbridge-webcomponents-vue 2.0.0-next.150 → 2.0.0-next.152

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.
Files changed (204) hide show
  1. package/bars-graphs/area-graph/ObcAreaGraph.vue.d.ts +4 -2
  2. package/bars-graphs/area-graph/ObcAreaGraph.vue2.js +1 -1
  3. package/bars-graphs/area-graph/ObcAreaGraph.vue2.js.map +1 -1
  4. package/bars-graphs/line-graph/ObcLineGraph.vue.d.ts +4 -2
  5. package/bars-graphs/line-graph/ObcLineGraph.vue2.js +1 -1
  6. package/bars-graphs/line-graph/ObcLineGraph.vue2.js.map +1 -1
  7. package/building-blocks/bar-horizontal/ObcBarHorizontal.vue.d.ts +1 -0
  8. package/building-blocks/bar-horizontal/ObcBarHorizontal.vue2.js +1 -1
  9. package/building-blocks/bar-horizontal/ObcBarHorizontal.vue2.js.map +1 -1
  10. package/building-blocks/bar-vertical/ObcBarVertical.vue.d.ts +1 -0
  11. package/building-blocks/bar-vertical/ObcBarVertical.vue2.js +1 -1
  12. package/building-blocks/bar-vertical/ObcBarVertical.vue2.js.map +1 -1
  13. package/building-blocks/chart-line/ObcChartLineBase.vue.d.ts +4 -2
  14. package/building-blocks/chart-line/ObcChartLineBase.vue2.js +1 -1
  15. package/building-blocks/chart-line/ObcChartLineBase.vue2.js.map +1 -1
  16. package/components/alert-button/ObcAlertButton.vue.d.ts +3 -2
  17. package/components/alert-button/ObcAlertButton.vue2.js +1 -1
  18. package/components/alert-button/ObcAlertButton.vue2.js.map +1 -1
  19. package/components/alert-frame/ObcAlertFrame.vue.d.ts +6 -4
  20. package/components/alert-frame/ObcAlertFrame.vue2.js +1 -1
  21. package/components/alert-frame/ObcAlertFrame.vue2.js.map +1 -1
  22. package/components/alert-icon/ObcAlertIcon.vue.d.ts +3 -2
  23. package/components/alert-icon/ObcAlertIcon.vue2.js +1 -1
  24. package/components/alert-icon/ObcAlertIcon.vue2.js.map +1 -1
  25. package/icons/{ObiBipolar_transistor01.vue.d.ts → ObiBipolarTransistor01.vue.d.ts} +1 -1
  26. package/icons/ObiBipolarTransistor01.vue.js +2 -0
  27. package/icons/ObiBipolarTransistor01.vue.js.map +1 -0
  28. package/icons/ObiBipolarTransistor01.vue2.js +2 -0
  29. package/icons/{ObiChevronTrippleRight.vue2.js.map → ObiBipolarTransistor01.vue2.js.map} +1 -1
  30. package/icons/{ObiBipolar_transistor02.vue.d.ts → ObiBipolarTransistor02.vue.d.ts} +1 -1
  31. package/icons/ObiBipolarTransistor02.vue.js +2 -0
  32. package/icons/ObiBipolarTransistor02.vue.js.map +1 -0
  33. package/icons/ObiBipolarTransistor02.vue2.js +2 -0
  34. package/icons/ObiBipolarTransistor02.vue2.js.map +1 -0
  35. package/icons/{ObiBipolar_transistor02Off.vue.d.ts → ObiBipolarTransistor02Off.vue.d.ts} +1 -1
  36. package/icons/ObiBipolarTransistor02Off.vue.js +2 -0
  37. package/icons/ObiBipolarTransistor02Off.vue.js.map +1 -0
  38. package/icons/ObiBipolarTransistor02Off.vue2.js +2 -0
  39. package/icons/ObiBipolarTransistor02Off.vue2.js.map +1 -0
  40. package/icons/{ObiBipolar_transistor02On.vue.d.ts → ObiBipolarTransistor02On.vue.d.ts} +1 -1
  41. package/icons/ObiBipolarTransistor02On.vue.js +2 -0
  42. package/icons/ObiBipolarTransistor02On.vue.js.map +1 -0
  43. package/icons/ObiBipolarTransistor02On.vue2.js +2 -0
  44. package/icons/ObiBipolarTransistor02On.vue2.js.map +1 -0
  45. package/icons/{ObiBipolar_transistor03.vue.d.ts → ObiBipolarTransistor03.vue.d.ts} +1 -1
  46. package/icons/ObiBipolarTransistor03.vue.js +2 -0
  47. package/icons/ObiBipolarTransistor03.vue.js.map +1 -0
  48. package/icons/ObiBipolarTransistor03.vue2.js +2 -0
  49. package/icons/ObiBipolarTransistor03.vue2.js.map +1 -0
  50. package/icons/{ObiBipolar_transistor03Flat.vue.d.ts → ObiBipolarTransistor03Flat.vue.d.ts} +1 -1
  51. package/icons/ObiBipolarTransistor03Flat.vue.js +2 -0
  52. package/icons/ObiBipolarTransistor03Flat.vue.js.map +1 -0
  53. package/icons/ObiBipolarTransistor03Flat.vue2.js +2 -0
  54. package/icons/ObiBipolarTransistor03Flat.vue2.js.map +1 -0
  55. package/icons/{ObiBipolar_transistor03Off.vue.d.ts → ObiBipolarTransistor03Off.vue.d.ts} +1 -1
  56. package/icons/ObiBipolarTransistor03Off.vue.js +2 -0
  57. package/icons/ObiBipolarTransistor03Off.vue.js.map +1 -0
  58. package/icons/ObiBipolarTransistor03Off.vue2.js +2 -0
  59. package/icons/ObiBipolarTransistor03Off.vue2.js.map +1 -0
  60. package/icons/{ObiBipolar_transistor03On.vue.d.ts → ObiBipolarTransistor03On.vue.d.ts} +1 -1
  61. package/icons/ObiBipolarTransistor03On.vue.js +2 -0
  62. package/icons/ObiBipolarTransistor03On.vue.js.map +1 -0
  63. package/icons/ObiBipolarTransistor03On.vue2.js +2 -0
  64. package/icons/ObiBipolarTransistor03On.vue2.js.map +1 -0
  65. package/icons/{ObiBipolar_transistor04.vue.d.ts → ObiBipolarTransistor04.vue.d.ts} +1 -1
  66. package/icons/ObiBipolarTransistor04.vue.js +2 -0
  67. package/icons/ObiBipolarTransistor04.vue.js.map +1 -0
  68. package/icons/ObiBipolarTransistor04.vue2.js +2 -0
  69. package/icons/ObiBipolarTransistor04.vue2.js.map +1 -0
  70. package/icons/{ObiBipolar_transistor04Flat.vue.d.ts → ObiBipolarTransistor04Flat.vue.d.ts} +1 -1
  71. package/icons/ObiBipolarTransistor04Flat.vue.js +2 -0
  72. package/icons/ObiBipolarTransistor04Flat.vue.js.map +1 -0
  73. package/icons/ObiBipolarTransistor04Flat.vue2.js +2 -0
  74. package/icons/ObiBipolarTransistor04Flat.vue2.js.map +1 -0
  75. package/icons/{ObiBipolar_transistor04Off.vue.d.ts → ObiBipolarTransistor04Off.vue.d.ts} +1 -1
  76. package/icons/ObiBipolarTransistor04Off.vue.js +2 -0
  77. package/icons/ObiBipolarTransistor04Off.vue.js.map +1 -0
  78. package/icons/ObiBipolarTransistor04Off.vue2.js +2 -0
  79. package/icons/ObiBipolarTransistor04Off.vue2.js.map +1 -0
  80. package/icons/{ObiBipolar_transistor04On.vue.d.ts → ObiBipolarTransistor04On.vue.d.ts} +1 -1
  81. package/icons/ObiBipolarTransistor04On.vue.js +2 -0
  82. package/icons/ObiBipolarTransistor04On.vue.js.map +1 -0
  83. package/icons/ObiBipolarTransistor04On.vue2.js +2 -0
  84. package/icons/ObiBipolarTransistor04On.vue2.js.map +1 -0
  85. package/icons/{ObiBipolar_transistorOff.vue.d.ts → ObiBipolarTransistorOff.vue.d.ts} +1 -1
  86. package/icons/ObiBipolarTransistorOff.vue.js +2 -0
  87. package/icons/ObiBipolarTransistorOff.vue.js.map +1 -0
  88. package/icons/ObiBipolarTransistorOff.vue2.js +2 -0
  89. package/icons/ObiBipolarTransistorOff.vue2.js.map +1 -0
  90. package/icons/{ObiBipolar_transistorOn.vue.d.ts → ObiBipolarTransistorOn.vue.d.ts} +1 -1
  91. package/icons/ObiBipolarTransistorOn.vue.js +2 -0
  92. package/icons/ObiBipolarTransistorOn.vue.js.map +1 -0
  93. package/icons/ObiBipolarTransistorOn.vue2.js +2 -0
  94. package/icons/ObiBipolarTransistorOn.vue2.js.map +1 -0
  95. package/icons/{ObiHeat_pump_balance.vue.d.ts → ObiBypass.vue.d.ts} +1 -1
  96. package/icons/ObiBypass.vue.js +2 -0
  97. package/icons/ObiBypass.vue.js.map +1 -0
  98. package/icons/ObiBypass.vue2.js +2 -0
  99. package/icons/ObiBypass.vue2.js.map +1 -0
  100. package/icons/{ObiChevronTrippleLeft.vue.d.ts → ObiChevronTripleLeft.vue.d.ts} +1 -1
  101. package/icons/ObiChevronTripleLeft.vue.js +2 -0
  102. package/icons/ObiChevronTripleLeft.vue.js.map +1 -0
  103. package/icons/ObiChevronTripleLeft.vue2.js +2 -0
  104. package/icons/ObiChevronTripleLeft.vue2.js.map +1 -0
  105. package/icons/{ObiChevronTrippleRight.vue.d.ts → ObiChevronTripleRight.vue.d.ts} +1 -1
  106. package/icons/ObiChevronTripleRight.vue.js +2 -0
  107. package/icons/ObiChevronTripleRight.vue.js.map +1 -0
  108. package/icons/ObiChevronTripleRight.vue2.js +2 -0
  109. package/icons/{ObiChevronTrippleLeft.vue2.js.map → ObiChevronTripleRight.vue2.js.map} +1 -1
  110. package/icons/ObiHeatPumpBalance.vue.d.ts +6 -0
  111. package/icons/ObiHeatPumpBalance.vue.js +2 -0
  112. package/icons/ObiHeatPumpBalance.vue.js.map +1 -0
  113. package/icons/ObiHeatPumpBalance.vue2.js +2 -0
  114. package/icons/ObiHeatPumpBalance.vue2.js.map +1 -0
  115. package/icons/ObiOutput.vue.d.ts +6 -0
  116. package/icons/ObiOutput.vue.js +2 -0
  117. package/icons/ObiOutput.vue.js.map +1 -0
  118. package/icons/ObiOutput.vue2.js +2 -0
  119. package/icons/ObiOutput.vue2.js.map +1 -0
  120. package/icons/ObiPhase.vue.d.ts +6 -0
  121. package/icons/ObiPhase.vue.js +2 -0
  122. package/icons/ObiPhase.vue.js.map +1 -0
  123. package/icons/ObiPhase.vue2.js +2 -0
  124. package/icons/ObiPhase.vue2.js.map +1 -0
  125. package/icons/ObiSensorWaterDewpoint.vue.d.ts +6 -0
  126. package/icons/ObiSensorWaterDewpoint.vue.js +2 -0
  127. package/icons/ObiSensorWaterDewpoint.vue.js.map +1 -0
  128. package/icons/ObiSensorWaterDewpoint.vue2.js +2 -0
  129. package/icons/ObiSensorWaterDewpoint.vue2.js.map +1 -0
  130. package/icons/ObiSensorWaterHumidity.vue.d.ts +6 -0
  131. package/icons/ObiSensorWaterHumidity.vue.js +2 -0
  132. package/icons/ObiSensorWaterHumidity.vue.js.map +1 -0
  133. package/icons/ObiSensorWaterHumidity.vue2.js +2 -0
  134. package/icons/ObiSensorWaterHumidity.vue2.js.map +1 -0
  135. package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue.d.ts +4 -2
  136. package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js +1 -1
  137. package/navigation-instruments/gauge-trend/ObcGaugeTrend.vue2.js.map +1 -1
  138. package/package.json +24 -19
  139. package/icons/ObiBipolar_transistor01.vue.js +0 -2
  140. package/icons/ObiBipolar_transistor01.vue.js.map +0 -1
  141. package/icons/ObiBipolar_transistor01.vue2.js +0 -2
  142. package/icons/ObiBipolar_transistor01.vue2.js.map +0 -1
  143. package/icons/ObiBipolar_transistor02.vue.js +0 -2
  144. package/icons/ObiBipolar_transistor02.vue.js.map +0 -1
  145. package/icons/ObiBipolar_transistor02.vue2.js +0 -2
  146. package/icons/ObiBipolar_transistor02.vue2.js.map +0 -1
  147. package/icons/ObiBipolar_transistor02Off.vue.js +0 -2
  148. package/icons/ObiBipolar_transistor02Off.vue.js.map +0 -1
  149. package/icons/ObiBipolar_transistor02Off.vue2.js +0 -2
  150. package/icons/ObiBipolar_transistor02Off.vue2.js.map +0 -1
  151. package/icons/ObiBipolar_transistor02On.vue.js +0 -2
  152. package/icons/ObiBipolar_transistor02On.vue.js.map +0 -1
  153. package/icons/ObiBipolar_transistor02On.vue2.js +0 -2
  154. package/icons/ObiBipolar_transistor02On.vue2.js.map +0 -1
  155. package/icons/ObiBipolar_transistor03.vue.js +0 -2
  156. package/icons/ObiBipolar_transistor03.vue.js.map +0 -1
  157. package/icons/ObiBipolar_transistor03.vue2.js +0 -2
  158. package/icons/ObiBipolar_transistor03.vue2.js.map +0 -1
  159. package/icons/ObiBipolar_transistor03Flat.vue.js +0 -2
  160. package/icons/ObiBipolar_transistor03Flat.vue.js.map +0 -1
  161. package/icons/ObiBipolar_transistor03Flat.vue2.js +0 -2
  162. package/icons/ObiBipolar_transistor03Flat.vue2.js.map +0 -1
  163. package/icons/ObiBipolar_transistor03Off.vue.js +0 -2
  164. package/icons/ObiBipolar_transistor03Off.vue.js.map +0 -1
  165. package/icons/ObiBipolar_transistor03Off.vue2.js +0 -2
  166. package/icons/ObiBipolar_transistor03Off.vue2.js.map +0 -1
  167. package/icons/ObiBipolar_transistor03On.vue.js +0 -2
  168. package/icons/ObiBipolar_transistor03On.vue.js.map +0 -1
  169. package/icons/ObiBipolar_transistor03On.vue2.js +0 -2
  170. package/icons/ObiBipolar_transistor03On.vue2.js.map +0 -1
  171. package/icons/ObiBipolar_transistor04.vue.js +0 -2
  172. package/icons/ObiBipolar_transistor04.vue.js.map +0 -1
  173. package/icons/ObiBipolar_transistor04.vue2.js +0 -2
  174. package/icons/ObiBipolar_transistor04.vue2.js.map +0 -1
  175. package/icons/ObiBipolar_transistor04Flat.vue.js +0 -2
  176. package/icons/ObiBipolar_transistor04Flat.vue.js.map +0 -1
  177. package/icons/ObiBipolar_transistor04Flat.vue2.js +0 -2
  178. package/icons/ObiBipolar_transistor04Flat.vue2.js.map +0 -1
  179. package/icons/ObiBipolar_transistor04Off.vue.js +0 -2
  180. package/icons/ObiBipolar_transistor04Off.vue.js.map +0 -1
  181. package/icons/ObiBipolar_transistor04Off.vue2.js +0 -2
  182. package/icons/ObiBipolar_transistor04Off.vue2.js.map +0 -1
  183. package/icons/ObiBipolar_transistor04On.vue.js +0 -2
  184. package/icons/ObiBipolar_transistor04On.vue.js.map +0 -1
  185. package/icons/ObiBipolar_transistor04On.vue2.js +0 -2
  186. package/icons/ObiBipolar_transistor04On.vue2.js.map +0 -1
  187. package/icons/ObiBipolar_transistorOff.vue.js +0 -2
  188. package/icons/ObiBipolar_transistorOff.vue.js.map +0 -1
  189. package/icons/ObiBipolar_transistorOff.vue2.js +0 -2
  190. package/icons/ObiBipolar_transistorOff.vue2.js.map +0 -1
  191. package/icons/ObiBipolar_transistorOn.vue.js +0 -2
  192. package/icons/ObiBipolar_transistorOn.vue.js.map +0 -1
  193. package/icons/ObiBipolar_transistorOn.vue2.js +0 -2
  194. package/icons/ObiBipolar_transistorOn.vue2.js.map +0 -1
  195. package/icons/ObiChevronTrippleLeft.vue.js +0 -2
  196. package/icons/ObiChevronTrippleLeft.vue.js.map +0 -1
  197. package/icons/ObiChevronTrippleLeft.vue2.js +0 -2
  198. package/icons/ObiChevronTrippleRight.vue.js +0 -2
  199. package/icons/ObiChevronTrippleRight.vue.js.map +0 -1
  200. package/icons/ObiChevronTrippleRight.vue2.js +0 -2
  201. package/icons/ObiHeat_pump_balance.vue.js +0 -2
  202. package/icons/ObiHeat_pump_balance.vue.js.map +0 -1
  203. package/icons/ObiHeat_pump_balance.vue2.js +0 -2
  204. package/icons/ObiHeat_pump_balance.vue2.js.map +0 -1
@@ -1,6 +1,6 @@
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, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
+ import { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  import { ChartDataset } from 'chart.js';
5
5
  import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  export interface Props {
@@ -19,11 +19,13 @@ export interface Props {
19
19
  xAxisType?: XAxisType;
20
20
  yAxisPosition?: YAxisPosition;
21
21
  yAxes?: ChartLineYAxisConfig[] | undefined;
22
+ xAxis?: ChartLineXAxisConfig | undefined;
22
23
  showGrid?: boolean;
23
24
  showGridX?: boolean;
24
25
  showGridY?: boolean;
25
26
  showTickMarks?: boolean;
26
27
  hasLabelPadding?: boolean;
28
+ rangeLabels?: RangeLabels;
27
29
  showPoints?: boolean;
28
30
  lineMode?: LineMode;
29
31
  unit?: string;
@@ -41,7 +43,7 @@ export interface Props {
41
43
  borderRadius?: number | undefined;
42
44
  }
43
45
  export type { AreaFillMode } from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
44
- export type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
46
+ export type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
45
47
  export type { ChartDataset } from 'chart.js';
46
48
  export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
47
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>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as B}from"vue";import{assignSlotNodes as x}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js";const w=d({__name:"ObcAreaGraph",props:{fillMode:{},stacked:{type:Boolean},data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,i=y({}),l={created(t){for(const e in o)i[e]=t[e]}};let n=!1;const p=u(),c=()=>{const e={};for(const s in o){const a=o[s];(a!==void 0||n)&&(e[s]=a??i[s])}return n=!0,B("obc-area-graph",e,x(p))};return(t,e)=>h((f(),m(c,null,null,512)),[[l]])}});export{w as default};
1
+ import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as B}from"vue";import{assignSlotNodes as x}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js";const g=d({__name:"ObcAreaGraph",props:{fillMode:{},stacked:{type:Boolean},data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,i=y({}),l={created(t){for(const e in o)i[e]=t[e]}};let n=!1;const p=u(),c=()=>{const e={};for(const s in o){const a=o[s];(a!==void 0||n)&&(e[s]=a??i[s])}return n=!0,B("obc-area-graph",e,x(p))};return(t,e)=>h((f(),m(c,null,null,512)),[[l]])}});export{g as default};
2
2
  //# sourceMappingURL=ObcAreaGraph.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAreaGraph.vue2.js","sources":["../../src/bars-graphs/area-graph/ObcAreaGraph.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';\n import {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';\nimport {ChartLineDataItem, ChartLinePoint, 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\", ChartLinePoint[]>[] | 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 hasLabelPadding?: 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, ChartLinePoint, 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 hasLabelPadding: { 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":"qRAwDA,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,gBAAiB,CAAE,KAAM,OAAA,EACzB,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
+ {"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, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, 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\", ChartLinePoint[]>[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';\nexport type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, 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 xAxis: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-area-graph',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"qRA0DA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,SAAU,CAAA,EACV,QAAS,CAAE,KAAM,OAAA,EACjB,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';
2
- import { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
+ import { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
3
  import { ChartDataset } from 'chart.js';
4
4
  import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  export interface Props {
@@ -16,11 +16,13 @@ export interface Props {
16
16
  xAxisType?: XAxisType;
17
17
  yAxisPosition?: YAxisPosition;
18
18
  yAxes?: ChartLineYAxisConfig[] | undefined;
19
+ xAxis?: ChartLineXAxisConfig | undefined;
19
20
  showGrid?: boolean;
20
21
  showGridX?: boolean;
21
22
  showGridY?: boolean;
22
23
  showTickMarks?: boolean;
23
24
  hasLabelPadding?: boolean;
25
+ rangeLabels?: RangeLabels;
24
26
  showPoints?: boolean;
25
27
  lineMode?: LineMode;
26
28
  unit?: string;
@@ -37,7 +39,7 @@ export interface Props {
37
39
  instrumentMode?: boolean;
38
40
  borderRadius?: number | undefined;
39
41
  }
40
- export type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
42
+ export type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
41
43
  export type { ChartDataset } from 'chart.js';
42
44
  export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
43
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>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as B}from"vue";import{assignSlotNodes as x}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js";const w=d({__name:"ObcLineGraph",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(a){const o=a,i=y({}),l={created(t){for(const e in o)i[e]=t[e]}};let n=!1;const p=u(),c=()=>{const e={};for(const s in o){const r=o[s];(r!==void 0||n)&&(e[s]=r??i[s])}return n=!0,B("obc-line-graph",e,x(p))};return(t,e)=>h((f(),m(c,null,null,512)),[[l]])}});export{w as default};
1
+ import{defineComponent as d,reactive as y,useSlots as u,withDirectives as h,openBlock as f,createBlock as m,h as x}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js";const g=d({__name:"ObcLineGraph",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,i=y({}),l={created(t){for(const e in o)i[e]=t[e]}};let n=!1;const p=u(),c=()=>{const e={};for(const s in o){const a=o[s];(a!==void 0||n)&&(e[s]=a??i[s])}return n=!0,x("obc-line-graph",e,B(p))};return(t,e)=>h((f(),m(c,null,null,512)),[[l]])}});export{g as default};
2
2
  //# sourceMappingURL=ObcLineGraph.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcLineGraph.vue2.js","sources":["../../src/bars-graphs/line-graph/ObcLineGraph.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';\n import {ChartLineDataItem, ChartLinePoint, 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\", ChartLinePoint[]>[] | 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 hasLabelPadding?: 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, ChartLinePoint, 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 hasLabelPadding: { 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":"qRAoDA,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,gBAAiB,CAAE,KAAM,OAAA,EACzB,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
+ {"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, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, 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\", ChartLinePoint[]>[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, 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 xAxis: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-line-graph',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"qRAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,iBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -13,6 +13,7 @@ export interface Props {
13
13
  scaleReferenceSize?: number;
14
14
  hasScale?: boolean;
15
15
  showLabels?: boolean;
16
+ showMainTickmarkLabels?: boolean;
16
17
  hasBar?: boolean;
17
18
  scaleBackground?: boolean;
18
19
  barContainerStyle?: BarContainerStyle | undefined;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as h,useSlots as y,withDirectives as f,openBlock as B,createBlock as k,h as v}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js";const R=u({__name:"ObcBarHorizontal",props:{minValue:{},maxValue:{},width:{},paddingLeft:{},paddingRight:{},side:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{},hasScale:{type:Boolean},showLabels:{type:Boolean},hasBar:{type:Boolean},scaleBackground:{type:Boolean},barContainerStyle:{},barThickness:{},tickThickness:{},labelThickness:{},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},scaleType:{},frameStyle:{},borderRadiusPosition:{},instrumentMode:{type:Boolean},borderRadius:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},advicePosition:{},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=h({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=y(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,v("obc-bar-horizontal",e,S(d))};return(n,e)=>f((B(),k(m,null,null,512)),[[c]])}});export{R as default};
1
+ import{defineComponent as u,reactive as h,useSlots as y,withDirectives as f,openBlock as B,createBlock as k,h as v}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js";const R=u({__name:"ObcBarHorizontal",props:{minValue:{},maxValue:{},width:{},paddingLeft:{},paddingRight:{},side:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{},hasScale:{type:Boolean},showLabels:{type:Boolean},showMainTickmarkLabels:{type:Boolean},hasBar:{type:Boolean},scaleBackground:{type:Boolean},barContainerStyle:{},barThickness:{},tickThickness:{},labelThickness:{},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},scaleType:{},frameStyle:{},borderRadiusPosition:{},instrumentMode:{type:Boolean},borderRadius:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},advicePosition:{},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=h({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=y(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,v("obc-bar-horizontal",e,b(d))};return(n,e)=>f((B(),k(m,null,null,512)),[[c]])}});export{R as default};
2
2
  //# sourceMappingURL=ObcBarHorizontal.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcBarHorizontal.vue2.js","sources":["../../src/building-blocks/bar-horizontal/ObcBarHorizontal.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n width?: number;\n paddingLeft?: number;\n paddingRight?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n 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 emits: [\"scale-dimensions-changed\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bar-horizontal',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"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,MAAO,CAAC,0BAA0B,EAClC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcBarHorizontal.vue2.js","sources":["../../src/building-blocks/bar-horizontal/ObcBarHorizontal.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n width?: number;\n paddingLeft?: number;\n paddingRight?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n showMainTickmarkLabels?: boolean;\n hasBar?: boolean;\n scaleBackground?: boolean;\n barContainerStyle?: BarContainerStyle | undefined;\n barThickness?: number;\n tickThickness?: number;\n labelThickness?: number;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n scaleType?: ScaleType;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n advicePosition?: AdvicePosition;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBarHorizontal',\n props: {\n minValue: {},\n maxValue: {},\n width: {},\n paddingLeft: {},\n paddingRight: {},\n side: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {},\n hasScale: { type: Boolean },\n showLabels: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasBar: { type: Boolean },\n scaleBackground: { type: Boolean },\n barContainerStyle: {},\n barThickness: {},\n tickThickness: {},\n labelThickness: {},\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n scaleType: {},\n frameStyle: {},\n borderRadiusPosition: {},\n instrumentMode: { type: Boolean },\n borderRadius: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n advicePosition: {},\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bar-horizontal',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"iSA+DA,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,uBAAwB,CAAE,KAAM,OAAA,EAChC,OAAQ,CAAE,KAAM,OAAA,EAChB,gBAAiB,CAAE,KAAM,OAAA,EACzB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,EACd,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,MAAO,CAAA,EACP,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,sBAAuB,CAAE,KAAM,OAAA,EAC/B,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAO,CAAC,0BAA0B,EAClC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,qBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -13,6 +13,7 @@ export interface Props {
13
13
  scaleReferenceSize?: number;
14
14
  hasScale?: boolean;
15
15
  showLabels?: boolean;
16
+ showMainTickmarkLabels?: boolean;
16
17
  hasBar?: boolean;
17
18
  scaleBackground?: boolean;
18
19
  barContainerStyle?: BarContainerStyle | undefined;
@@ -1,2 +1,2 @@
1
- import{defineComponent as u,reactive as h,useSlots as y,withDirectives as B,openBlock as f,createBlock as v,h as k}from"vue";import{assignSlotNodes as S}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js";const _=u({__name:"ObcBarVertical",props:{minValue:{},maxValue:{},height:{},paddingTop:{},paddingBottom:{},side:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{},hasScale:{type:Boolean},showLabels:{type:Boolean},hasBar:{type:Boolean},scaleBackground:{type:Boolean},barContainerStyle:{},barThickness:{},tickThickness:{},labelThickness:{},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},scaleType:{},frameStyle:{},borderRadiusPosition:{},instrumentMode:{type:Boolean},borderRadius:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},advicePosition:{},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=h({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=y(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,k("obc-bar-vertical",e,S(d))};return(n,e)=>B((f(),v(m,null,null,512)),[[c]])}});export{_ as default};
1
+ import{defineComponent as u,reactive as h,useSlots as y,withDirectives as B,openBlock as f,createBlock as k,h as v}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js";const _=u({__name:"ObcBarVertical",props:{minValue:{},maxValue:{},height:{},paddingTop:{},paddingBottom:{},side:{},fixedAspectRatio:{type:Boolean},scaleReferenceSize:{},hasScale:{type:Boolean},showLabels:{type:Boolean},showMainTickmarkLabels:{type:Boolean},hasBar:{type:Boolean},scaleBackground:{type:Boolean},barContainerStyle:{},barThickness:{},tickThickness:{},labelThickness:{},mainTickmarks:{},primaryTickmarkInterval:{},secondaryTickmarkInterval:{},tertiaryTickmarkInterval:{},scaleType:{},frameStyle:{},borderRadiusPosition:{},instrumentMode:{type:Boolean},borderRadius:{},priority:{},fillMode:{},fillMin:{},fillMax:{},value:{},state:{},advicePosition:{},advices:{},highlightCurrentValue:{type:Boolean},setpoint:{},newSetpoint:{},atSetpoint:{type:Boolean},touching:{type:Boolean},autoAtSetpoint:{type:Boolean},autoAtSetpointDeadband:{},setpointAtZeroDeadband:{},setpointOverride:{type:Boolean},animateSetpoint:{type:Boolean}},emits:["scale-dimensions-changed"],setup(r,{emit:l}){const o=r,a=h({}),c={created(n){for(const e in o)a[e]=n[e]}};let i=!1;const p=l,d=y(),m=()=>{const e={onScaleDimensionsChanged:t=>p("scale-dimensions-changed",t)};for(const t in o){const s=o[t];(s!==void 0||i)&&(e[t]=s??a[t])}return i=!0,v("obc-bar-vertical",e,b(d))};return(n,e)=>B((f(),k(m,null,null,512)),[[c]])}});export{_ as default};
2
2
  //# sourceMappingURL=ObcBarVertical.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcBarVertical.vue2.js","sources":["../../src/building-blocks/bar-vertical/ObcBarVertical.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n height?: number;\n paddingTop?: number;\n paddingBottom?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n 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 emits: [\"scale-dimensions-changed\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bar-vertical',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"6RA8DA,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,MAAO,CAAC,0BAA0B,EAClC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,mBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcBarVertical.vue2.js","sources":["../../src/building-blocks/bar-vertical/ObcBarVertical.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';\n import {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nimport {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nimport {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n\n export interface Props {\n minValue?: number;\n maxValue?: number;\n height?: number;\n paddingTop?: number;\n paddingBottom?: number;\n side?: ExternalScaleSide;\n fixedAspectRatio?: boolean;\n scaleReferenceSize?: number;\n hasScale?: boolean;\n showLabels?: boolean;\n showMainTickmarkLabels?: boolean;\n hasBar?: boolean;\n scaleBackground?: boolean;\n barContainerStyle?: BarContainerStyle | undefined;\n barThickness?: number;\n tickThickness?: number;\n labelThickness?: number;\n mainTickmarks?: number[] | undefined;\n primaryTickmarkInterval?: number | undefined;\n secondaryTickmarkInterval?: number | undefined;\n tertiaryTickmarkInterval?: number | undefined;\n scaleType?: ScaleType;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined;\n priority?: Priority;\n fillMode?: FillMode;\n fillMin?: number | undefined;\n fillMax?: number | undefined;\n value?: number | undefined;\n state?: InstrumentState;\n advicePosition?: AdvicePosition;\n advices?: LinearAdvice[] | undefined;\n highlightCurrentValue?: boolean;\n setpoint?: number | undefined;\n newSetpoint?: number | undefined;\n atSetpoint?: boolean;\n touching?: boolean;\n autoAtSetpoint?: boolean;\n autoAtSetpointDeadband?: number;\n setpointAtZeroDeadband?: number;\n setpointOverride?: boolean;\n animateSetpoint?: boolean\n }\n\n \n \n export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';\nexport type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';\nexport type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBarVertical',\n props: {\n minValue: {},\n maxValue: {},\n height: {},\n paddingTop: {},\n paddingBottom: {},\n side: {},\n fixedAspectRatio: { type: Boolean },\n scaleReferenceSize: {},\n hasScale: { type: Boolean },\n showLabels: { type: Boolean },\n showMainTickmarkLabels: { type: Boolean },\n hasBar: { type: Boolean },\n scaleBackground: { type: Boolean },\n barContainerStyle: {},\n barThickness: {},\n tickThickness: {},\n labelThickness: {},\n mainTickmarks: {},\n primaryTickmarkInterval: {},\n secondaryTickmarkInterval: {},\n tertiaryTickmarkInterval: {},\n scaleType: {},\n frameStyle: {},\n borderRadiusPosition: {},\n instrumentMode: { type: Boolean },\n borderRadius: {},\n priority: {},\n fillMode: {},\n fillMin: {},\n fillMax: {},\n value: {},\n state: {},\n advicePosition: {},\n advices: {},\n highlightCurrentValue: { type: Boolean },\n setpoint: {},\n newSetpoint: {},\n atSetpoint: { type: Boolean },\n touching: { type: Boolean },\n autoAtSetpoint: { type: Boolean },\n autoAtSetpointDeadband: {},\n setpointAtZeroDeadband: {},\n setpointOverride: { type: Boolean },\n animateSetpoint: { type: Boolean }\n },\n emits: [\"scale-dimensions-changed\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onScaleDimensionsChanged: (event: CustomEvent) => emit('scale-dimensions-changed', event as CustomEvent)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-bar-vertical',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","__emit","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","emit","slots","useSlots","render","props","event","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"6RA+DA,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,uBAAwB,CAAE,KAAM,OAAA,EAChC,OAAQ,CAAE,KAAM,OAAA,EAChB,gBAAiB,CAAE,KAAM,OAAA,EACzB,kBAAmB,CAAA,EACnB,aAAc,CAAA,EACd,cAAe,CAAA,EACf,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,wBAAyB,CAAA,EACzB,0BAA2B,CAAA,EAC3B,yBAA0B,CAAA,EAC1B,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,EACd,SAAU,CAAA,EACV,SAAU,CAAA,EACV,QAAS,CAAA,EACT,QAAS,CAAA,EACT,MAAO,CAAA,EACP,MAAO,CAAA,EACP,eAAgB,CAAA,EAChB,QAAS,CAAA,EACT,sBAAuB,CAAE,KAAM,OAAA,EAC/B,SAAU,CAAA,EACV,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAE,KAAM,OAAA,EAClB,eAAgB,CAAE,KAAM,OAAA,EACxB,uBAAwB,CAAA,EACxB,uBAAwB,CAAA,EACxB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,gBAAiB,CAAE,KAAM,OAAA,CAAQ,EAEnC,MAAO,CAAC,0BAA0B,EAClC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CACvB,yBAA2BC,GAAuBL,EAAK,2BAA4BK,CAAoB,CAAA,EAKrG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,mBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
- import { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
+ import { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
3
  import { ChartDataset } from 'chart.js';
4
4
  import { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  export interface Props {
@@ -16,11 +16,13 @@ export interface Props {
16
16
  xAxisType?: XAxisType;
17
17
  yAxisPosition?: YAxisPosition;
18
18
  yAxes?: ChartLineYAxisConfig[] | undefined;
19
+ xAxis?: ChartLineXAxisConfig | undefined;
19
20
  showGrid?: boolean;
20
21
  showGridX?: boolean;
21
22
  showGridY?: boolean;
22
23
  showTickMarks?: boolean;
23
24
  hasLabelPadding?: boolean;
25
+ rangeLabels?: RangeLabels;
24
26
  showPoints?: boolean;
25
27
  lineMode?: LineMode;
26
28
  unit?: string;
@@ -37,7 +39,7 @@ export interface Props {
37
39
  instrumentMode?: boolean;
38
40
  borderRadius?: number | undefined;
39
41
  }
40
- export type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
42
+ export type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
41
43
  export type { ChartDataset } from 'chart.js';
42
44
  export type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
43
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>;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as y,withDirectives as f,openBlock as h,createBlock as m,h as B}from"vue";import{assignSlotNodes as x}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js";const P=d({__name:"ObcChartLineBase",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let i=!1;const p=y(),c=()=>{const e={};for(const s in o){const a=o[s];(a!==void 0||i)&&(e[s]=a??n[s])}return i=!0,B("undefined",e,x(p))};return(t,e)=>f((h(),m(c,null,null,512)),[[l]])}});export{P as default};
1
+ import{defineComponent as d,reactive as u,useSlots as y,withDirectives as f,openBlock as h,createBlock as m,h as B}from"vue";import{assignSlotNodes as x}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js";const w=d({__name:"ObcChartLineBase",props:{data:{},datasets:{},labels:{},colors:{},legend:{type:Boolean},showDebugOverlay:{type:Boolean},width:{},height:{},fixedAspectRatioScaling:{type:Boolean},scaleReferenceSize:{},xAxisType:{},yAxisPosition:{},yAxes:{},xAxis:{},showGrid:{type:Boolean},showGridX:{type:Boolean},showGridY:{type:Boolean},showTickMarks:{type:Boolean},hasLabelPadding:{type:Boolean},rangeLabels:{},showPoints:{type:Boolean},lineMode:{},unit:{},timeDisplay:{},xTicksLimit:{},xStepSize:{},yTicksLimit:{},yStepSize:{},state:{},priority:{},frameStyle:{},borderRadiusPosition:{},borderRadiusPositionExternalScales:{},instrumentMode:{type:Boolean},borderRadius:{}},setup(r){const o=r,n=u({}),l={created(t){for(const e in o)n[e]=t[e]}};let i=!1;const p=y(),c=()=>{const e={};for(const s in o){const a=o[s];(a!==void 0||i)&&(e[s]=a??n[s])}return i=!0,B("undefined",e,x(p))};return(t,e)=>f((h(),m(c,null,null,512)),[[l]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcChartLineBase.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcChartLineBase.vue2.js","sources":["../../src/building-blocks/chart-line/ObcChartLineBase.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';\n import {ChartLineDataItem, ChartLinePoint, 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\", ChartLinePoint[]>[] | 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 hasLabelPadding?: 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, ChartLinePoint, 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 hasLabelPadding: { 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":"8RAoDA,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,gBAAiB,CAAE,KAAM,OAAA,EACzB,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
+ {"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, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, 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\", ChartLinePoint[]>[] | undefined;\n labels?: (string | number)[] | undefined;\n colors?: string[];\n legend?: boolean;\n showDebugOverlay?: boolean;\n width?: number;\n height?: number;\n fixedAspectRatioScaling?: boolean;\n scaleReferenceSize?: number;\n xAxisType?: XAxisType;\n yAxisPosition?: YAxisPosition;\n yAxes?: ChartLineYAxisConfig[] | undefined;\n xAxis?: ChartLineXAxisConfig | undefined;\n showGrid?: boolean;\n showGridX?: boolean;\n showGridY?: boolean;\n showTickMarks?: boolean;\n hasLabelPadding?: boolean;\n rangeLabels?: RangeLabels;\n showPoints?: boolean;\n lineMode?: LineMode;\n unit?: string;\n timeDisplay?: TimeDisplay;\n xTicksLimit?: number | undefined;\n xStepSize?: number | undefined;\n yTicksLimit?: number | undefined;\n yStepSize?: number | undefined;\n state?: InstrumentState;\n priority?: Priority;\n frameStyle?: FrameStyle;\n borderRadiusPosition?: BorderRadiusPosition | undefined;\n borderRadiusPositionExternalScales?: BorderRadiusPosition | undefined;\n instrumentMode?: boolean;\n borderRadius?: number | undefined\n }\n\n \n \n export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, 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 xAxis: {},\n showGrid: { type: Boolean },\n showGridX: { type: Boolean },\n showGridY: { type: Boolean },\n showTickMarks: { type: Boolean },\n hasLabelPadding: { type: Boolean },\n rangeLabels: {},\n showPoints: { type: Boolean },\n lineMode: {},\n unit: {},\n timeDisplay: {},\n xTicksLimit: {},\n xStepSize: {},\n yTicksLimit: {},\n yStepSize: {},\n state: {},\n priority: {},\n frameStyle: {},\n borderRadiusPosition: {},\n borderRadiusPositionExternalScales: {},\n instrumentMode: { type: Boolean },\n borderRadius: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'undefined',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"8RAsDA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,mBACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAA,EACV,OAAQ,CAAA,EACR,OAAQ,CAAA,EACR,OAAQ,CAAE,KAAM,OAAA,EAChB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,MAAO,CAAA,EACP,OAAQ,CAAA,EACR,wBAAyB,CAAE,KAAM,OAAA,EACjC,mBAAoB,CAAA,EACpB,UAAW,CAAA,EACX,cAAe,CAAA,EACf,MAAO,CAAA,EACP,MAAO,CAAA,EACP,SAAU,CAAE,KAAM,OAAA,EAClB,UAAW,CAAE,KAAM,OAAA,EACnB,UAAW,CAAE,KAAM,OAAA,EACnB,cAAe,CAAE,KAAM,OAAA,EACvB,gBAAiB,CAAE,KAAM,OAAA,EACzB,YAAa,CAAA,EACb,WAAY,CAAE,KAAM,OAAA,EACpB,SAAU,CAAA,EACV,KAAM,CAAA,EACN,YAAa,CAAA,EACb,YAAa,CAAA,EACb,UAAW,CAAA,EACX,YAAa,CAAA,EACb,UAAW,CAAA,EACX,MAAO,CAAA,EACP,SAAU,CAAA,EACV,WAAY,CAAA,EACZ,qBAAsB,CAAA,EACtB,mCAAoC,CAAA,EACpC,eAAgB,CAAE,KAAM,OAAA,EACxB,aAAc,CAAA,CAAC,EAEjB,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,YACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
2
- import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
2
+ import { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
3
3
  import { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
4
4
  export interface Props {
5
5
  nAlerts?: number;
@@ -10,10 +10,11 @@ export interface Props {
10
10
  silenceButtonDisabled?: boolean;
11
11
  counter?: boolean;
12
12
  blinking?: boolean;
13
+ flashingSpeed?: FlashingSpeed;
13
14
  flatMaxBreakpointPx?: number;
14
15
  silenceButtonMinBreakpointPx?: number;
15
16
  }
16
- export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
17
+ export type { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
17
18
  export type { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
18
19
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
20
  "click-alert": (payload: CustomEvent<void>) => any;
@@ -1,2 +1,2 @@
1
- import{defineComponent as f,reactive as k,useSlots as m,withDirectives as d,openBlock as v,createBlock as y,h as _}from"vue";import{assignSlotNodes as b}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js";const S=f({__name:"ObcAlertButton",props:{nAlerts:{},alertType:{},type:{},large:{type:Boolean},showSilenceButton:{type:Boolean},silenceButtonDisabled:{type:Boolean},counter:{type:Boolean},blinking:{type:Boolean},flatMaxBreakpointPx:{},silenceButtonMinBreakpointPx:{}},emits:["click-alert","click-silence"],setup(i,{emit:a}){const o=i,l=k({}),p={created(n){for(const t in o)l[t]=n[t]}};let c=!1;const s=a,u=m(),B=()=>{const t={onClickAlert:e=>s("click-alert",e),onClickSilence:e=>s("click-silence",e)};for(const e in o){const r=o[e];(r!==void 0||c)&&(t[e]=r??l[e])}return c=!0,_("obc-alert-button",t,b(u))};return(n,t)=>d((v(),y(B,null,null,512)),[[p]])}});export{S as default};
1
+ import{defineComponent as B,reactive as d,useSlots as k,withDirectives as m,openBlock as v,createBlock as y,h}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js";const S=B({__name:"ObcAlertButton",props:{nAlerts:{},alertType:{},type:{},large:{type:Boolean},showSilenceButton:{type:Boolean},silenceButtonDisabled:{type:Boolean},counter:{type:Boolean},blinking:{type:Boolean},flashingSpeed:{},flatMaxBreakpointPx:{},silenceButtonMinBreakpointPx:{}},emits:["click-alert","click-silence"],setup(i,{emit:a}){const o=i,l=d({}),p={created(n){for(const t in o)l[t]=n[t]}};let c=!1;const s=a,u=k(),f=()=>{const t={onClickAlert:e=>s("click-alert",e),onClickSilence:e=>s("click-silence",e)};for(const e in o){const r=o[e];(r!==void 0||c)&&(t[e]=r??l[e])}return c=!0,h("obc-alert-button",t,_(u))};return(n,t)=>m((v(),y(f,null,null,512)),[[p]])}});export{S as default};
2
2
  //# sourceMappingURL=ObcAlertButton.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAlertButton.vue2.js","sources":["../../src/components/alert-button/ObcAlertButton.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n import {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n\n export interface Props {\n nAlerts?: number;\n alertType?: AlertType | undefined;\n type?: ObcAlertButtonType;\n large?: boolean;\n showSilenceButton?: boolean;\n silenceButtonDisabled?: boolean;\n counter?: boolean;\n blinking?: boolean;\n flatMaxBreakpointPx?: number;\n silenceButtonMinBreakpointPx?: number\n }\n\n \n \n export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertButton',\n props: {\n nAlerts: {},\n alertType: {},\n type: {},\n large: { type: Boolean },\n showSilenceButton: { type: Boolean },\n silenceButtonDisabled: { type: Boolean },\n counter: { type: Boolean },\n blinking: { type: Boolean },\n flatMaxBreakpointPx: {},\n silenceButtonMinBreakpointPx: {}\n },\n emits: [\"click-alert\", \"click-silence\"],\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 onClickAlert: (event: CustomEvent<void>) => emit('click-alert', event as CustomEvent<void>),\nonClickSilence: (event: CustomEvent<void>) => emit('click-silence', event as CustomEvent<void>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-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":"wRA2BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,QAAS,CAAA,EACT,UAAW,CAAA,EACX,KAAM,CAAA,EACN,MAAO,CAAE,KAAM,OAAA,EACf,kBAAmB,CAAE,KAAM,OAAA,EAC3B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,QAAS,CAAE,KAAM,OAAA,EACjB,SAAU,CAAE,KAAM,OAAA,EAClB,oBAAqB,CAAA,EACrB,6BAA8B,CAAA,CAAC,EAEjC,MAAO,CAAC,cAAe,eAAe,EACtC,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,aAAeC,GAA6BL,EAAK,cAAeK,CAA0B,EAC9F,eAAiBA,GAA6BL,EAAK,gBAAiBK,CAA0B,CAAA,EAKxF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,mBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAlertButton.vue2.js","sources":["../../src/components/alert-button/ObcAlertButton.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n import {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n\n export interface Props {\n nAlerts?: number;\n alertType?: AlertType | undefined;\n type?: ObcAlertButtonType;\n large?: boolean;\n showSilenceButton?: boolean;\n silenceButtonDisabled?: boolean;\n counter?: boolean;\n blinking?: boolean;\n flashingSpeed?: FlashingSpeed;\n flatMaxBreakpointPx?: number;\n silenceButtonMinBreakpointPx?: number\n }\n\n \n \n export type {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport type {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertButton',\n props: {\n nAlerts: {},\n alertType: {},\n type: {},\n large: { type: Boolean },\n showSilenceButton: { type: Boolean },\n silenceButtonDisabled: { type: Boolean },\n counter: { type: Boolean },\n blinking: { type: Boolean },\n flashingSpeed: {},\n flatMaxBreakpointPx: {},\n silenceButtonMinBreakpointPx: {}\n },\n emits: [\"click-alert\", \"click-silence\"],\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 onClickAlert: (event: CustomEvent<void>) => emit('click-alert', event as CustomEvent<void>),\nonClickSilence: (event: CustomEvent<void>) => emit('click-silence', event as CustomEvent<void>)\n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-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","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"mRA4BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,QAAS,CAAA,EACT,UAAW,CAAA,EACX,KAAM,CAAA,EACN,MAAO,CAAE,KAAM,OAAA,EACf,kBAAmB,CAAE,KAAM,OAAA,EAC3B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,QAAS,CAAE,KAAM,OAAA,EACjB,SAAU,CAAE,KAAM,OAAA,EAClB,cAAe,CAAA,EACf,oBAAqB,CAAA,EACrB,6BAA8B,CAAA,CAAC,EAEjC,MAAO,CAAC,cAAe,eAAe,EACtC,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,aAAeC,GAA6BL,EAAK,cAAeK,CAA0B,EAC9F,eAAiBA,GAA6BL,EAAK,gBAAiBK,CAA0B,CAAA,EAKxF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,mBACAK,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
2
- import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
3
- import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
2
+ import { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, ObcAlertFrameFlashEffect, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
3
+ import { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
4
4
  export interface Props {
5
5
  type?: ObcAlertFrameType;
6
6
  thickness?: ObcAlertFrameThickness;
7
7
  status?: AlertType;
8
8
  mode?: ObcAlertFrameMode;
9
+ flashingSpeed?: FlashingSpeed;
10
+ flashEffect?: ObcAlertFrameFlashEffect;
9
11
  wrapContent?: boolean;
10
12
  fullWidth?: boolean;
11
13
  sharpEdgeTopLeft?: boolean;
@@ -16,7 +18,7 @@ export interface Props {
16
18
  showIcon?: boolean;
17
19
  showAlertCategoryIcon?: boolean;
18
20
  }
19
- export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
20
- export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
21
+ export type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, ObcAlertFrameFlashEffect, AlertFrameTextSize } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
22
+ export type { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
21
23
  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>;
22
24
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as f,useSlots as h,withDirectives as u,openBlock as m,createBlock as B,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js";const E=d({__name:"ObcAlertFrame",props:{type:{},thickness:{},status:{},mode:{},wrapContent:{type:Boolean},fullWidth:{type:Boolean},sharpEdgeTopLeft:{type:Boolean},sharpEdgeTopRight:{type:Boolean},sharpEdgeBottomLeft:{type:Boolean},sharpEdgeBottomRight:{type:Boolean},textSize:{},showIcon:{type:Boolean},showAlertCategoryIcon:{type:Boolean}},setup(a){const t=a,s=f({}),l={created(o){for(const e in t)s[e]=o[e]}};let r=!1;const c=h(),i=()=>{const e={};for(const n in t){const p=t[n];(p!==void 0||r)&&(e[n]=p??s[n])}return r=!0,y("obc-alert-frame",e,g(c))};return(o,e)=>u((m(),B(i,null,null,512)),[[l]])}});export{E as default};
1
+ import{defineComponent as f,reactive as d,useSlots as h,withDirectives as u,openBlock as m,createBlock as B,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js";const w=f({__name:"ObcAlertFrame",props:{type:{},thickness:{},status:{},mode:{},flashingSpeed:{},flashEffect:{},wrapContent:{type:Boolean},fullWidth:{type:Boolean},sharpEdgeTopLeft:{type:Boolean},sharpEdgeTopRight:{type:Boolean},sharpEdgeBottomLeft:{type:Boolean},sharpEdgeBottomRight:{type:Boolean},textSize:{},showIcon:{type:Boolean},showAlertCategoryIcon:{type:Boolean}},setup(p){const t=p,s=d({}),l={created(o){for(const e in t)s[e]=o[e]}};let r=!1;const c=h(),i=()=>{const e={};for(const n in t){const a=t[n];(a!==void 0||r)&&(e[n]=a??s[n])}return r=!0,y("obc-alert-frame",e,g(c))};return(o,e)=>u((m(),B(i,null,null,512)),[[l]])}});export{w as default};
2
2
  //# sourceMappingURL=ObcAlertFrame.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAlertFrame.vue2.js","sources":["../../src/components/alert-frame/ObcAlertFrame.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n import {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n type?: ObcAlertFrameType;\n thickness?: ObcAlertFrameThickness;\n status?: AlertType;\n mode?: ObcAlertFrameMode;\n wrapContent?: boolean;\n fullWidth?: boolean;\n sharpEdgeTopLeft?: boolean;\n sharpEdgeTopRight?: boolean;\n sharpEdgeBottomLeft?: boolean;\n sharpEdgeBottomRight?: boolean;\n textSize?: AlertFrameTextSize;\n showIcon?: boolean;\n showAlertCategoryIcon?: boolean\n }\n\n \n \n export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertFrame',\n props: {\n type: {},\n thickness: {},\n status: {},\n mode: {},\n wrapContent: { type: Boolean },\n fullWidth: { type: Boolean },\n sharpEdgeTopLeft: { type: Boolean },\n sharpEdgeTopRight: { type: Boolean },\n sharpEdgeBottomLeft: { type: Boolean },\n sharpEdgeBottomRight: { type: Boolean },\n textSize: {},\n showIcon: { type: Boolean },\n showAlertCategoryIcon: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-frame',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,KAAM,CAAA,EACN,UAAW,CAAA,EACX,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,YAAa,CAAE,KAAM,OAAA,EACrB,UAAW,CAAE,KAAM,OAAA,EACnB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,qBAAsB,CAAE,KAAM,OAAA,EAC9B,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,OAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,CAAQ,EAEzC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,kBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObcAlertFrame.vue2.js","sources":["../../src/components/alert-frame/ObcAlertFrame.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\n import {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, ObcAlertFrameFlashEffect, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nimport {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n type?: ObcAlertFrameType;\n thickness?: ObcAlertFrameThickness;\n status?: AlertType;\n mode?: ObcAlertFrameMode;\n flashingSpeed?: FlashingSpeed;\n flashEffect?: ObcAlertFrameFlashEffect;\n wrapContent?: boolean;\n fullWidth?: boolean;\n sharpEdgeTopLeft?: boolean;\n sharpEdgeTopRight?: boolean;\n sharpEdgeBottomLeft?: boolean;\n sharpEdgeBottomRight?: boolean;\n textSize?: AlertFrameTextSize;\n showIcon?: boolean;\n showAlertCategoryIcon?: boolean\n }\n\n \n \n export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, ObcAlertFrameFlashEffect, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';\nexport type {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertFrame',\n props: {\n type: {},\n thickness: {},\n status: {},\n mode: {},\n flashingSpeed: {},\n flashEffect: {},\n wrapContent: { type: Boolean },\n fullWidth: { type: Boolean },\n sharpEdgeTopLeft: { type: Boolean },\n sharpEdgeTopRight: { type: Boolean },\n sharpEdgeBottomLeft: { type: Boolean },\n sharpEdgeBottomRight: { type: Boolean },\n textSize: {},\n showIcon: { type: Boolean },\n showAlertCategoryIcon: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-frame',\n props,\n assignSlotNodes(slots)\n );\n };\n \nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createBlock(render, null, null, 512)), [\n [vDefaults]\n ])\n}\n}\n\n})"],"names":["_sfc_main","_defineComponent","__props","vueProps","defaults","reactive","vDefaults","el","p","hasRendered","slots","useSlots","render","props","v","h","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"sRAgCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,KAAM,CAAA,EACN,UAAW,CAAA,EACX,OAAQ,CAAA,EACR,KAAM,CAAA,EACN,cAAe,CAAA,EACf,YAAa,CAAA,EACb,YAAa,CAAE,KAAM,OAAA,EACrB,UAAW,CAAE,KAAM,OAAA,EACnB,iBAAkB,CAAE,KAAM,OAAA,EAC1B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,oBAAqB,CAAE,KAAM,OAAA,EAC7B,qBAAsB,CAAE,KAAM,OAAA,EAC9B,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,OAAA,EAClB,sBAAuB,CAAE,KAAM,OAAA,CAAQ,EAEzC,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,kBACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
@@ -1,12 +1,13 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/alert-icon/alert-icon.js';
2
- import { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
2
+ import { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
3
3
  export interface Props {
4
4
  alertType?: AlertType;
5
5
  type?: AlertType | undefined;
6
6
  acknowledged?: boolean | undefined;
7
7
  active?: boolean | undefined;
8
8
  silenced?: boolean | undefined;
9
+ flashingSpeed?: FlashingSpeed;
9
10
  }
10
- export type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
11
+ export type { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
11
12
  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>;
12
13
  export default _default;
@@ -1,2 +1,2 @@
1
- import{defineComponent as d,reactive as u,useSlots as f,withDirectives as v,openBlock as m,createBlock as _,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-icon/alert-icon.js";const b=d({__name:"ObcAlertIcon",props:{alertType:{},type:{},acknowledged:{type:Boolean},active:{type:Boolean},silenced:{type:Boolean}},setup(l){const o=l,s=u({}),p={created(t){for(const e in o)s[e]=t[e]}};let r=!1;const a=f(),i=()=>{const e={};for(const n in o){const c=o[n];(c!==void 0||r)&&(e[n]=c??s[n])}return r=!0,y("obc-alert-icon",e,B(a))};return(t,e)=>v((m(),_(i,null,null,512)),[[p]])}});export{b as default};
1
+ import{defineComponent as d,reactive as f,useSlots as u,withDirectives as v,openBlock as m,createBlock as _,h}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-icon/alert-icon.js";const P=d({__name:"ObcAlertIcon",props:{alertType:{},type:{},acknowledged:{type:Boolean},active:{type:Boolean},silenced:{type:Boolean},flashingSpeed:{}},setup(l){const o=l,s=f({}),p={created(t){for(const e in o)s[e]=t[e]}};let r=!1;const a=u(),i=()=>{const e={};for(const n in o){const c=o[n];(c!==void 0||r)&&(e[n]=c??s[n])}return r=!0,h("obc-alert-icon",e,y(a))};return(t,e)=>v((m(),_(i,null,null,512)),[[p]])}});export{P as default};
2
2
  //# sourceMappingURL=ObcAlertIcon.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObcAlertIcon.vue2.js","sources":["../../src/components/alert-icon/ObcAlertIcon.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-icon/alert-icon.js';\n import {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n alertType?: AlertType;\n type?: AlertType | undefined;\n acknowledged?: boolean | undefined;\n active?: boolean | undefined;\n silenced?: boolean | undefined\n }\n\n \n \n export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertIcon',\n props: {\n alertType: {},\n type: {},\n acknowledged: { type: Boolean },\n active: { type: Boolean },\n silenced: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-icon',\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":"oRAoBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,UAAW,CAAA,EACX,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,OAAA,EACtB,OAAQ,CAAE,KAAM,OAAA,EAChB,SAAU,CAAE,KAAM,OAAA,CAAQ,EAE5B,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
+ {"version":3,"file":"ObcAlertIcon.vue2.js","sources":["../../src/components/alert-icon/ObcAlertIcon.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/alert-icon/alert-icon.js';\n import {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n alertType?: AlertType;\n type?: AlertType | undefined;\n acknowledged?: boolean | undefined;\n active?: boolean | undefined;\n silenced?: boolean | undefined;\n flashingSpeed?: FlashingSpeed\n }\n\n \n \n export type {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertIcon',\n props: {\n alertType: {},\n type: {},\n acknowledged: { type: Boolean },\n active: { type: Boolean },\n silenced: { type: Boolean },\n flashingSpeed: {}\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obc-alert-icon',\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":"+QAqBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,UAAW,CAAA,EACX,KAAM,CAAA,EACN,aAAc,CAAE,KAAM,OAAA,EACtB,OAAQ,CAAE,KAAM,OAAA,EAChB,SAAU,CAAE,KAAM,OAAA,EAClB,cAAe,CAAA,CAAC,EAElB,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,iBACAI,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,4 +1,4 @@
1
- import '@oicl/openbridge-webcomponents/dist/icons/icon-bipolar_transistor-01.js';
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-bipolar-transistor-01.js';
2
2
  export interface Props {
3
3
  useCssColor?: boolean;
4
4
  }
@@ -0,0 +1,2 @@
1
+ import f from"./ObiBipolarTransistor01.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObiBipolarTransistor01.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObiBipolarTransistor01.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/icons/icon-bipolar-transistor-01.js";const k=u({__name:"ObiBipolarTransistor01",props:{useCssColor:{type:Boolean}},setup(i){const e=i,r=f({}),p={created(t){for(const o in e)r[o]=t[o]}};let n=!1;const a=d(),l=()=>{const o={};for(const s in e){const c=e[s];(c!==void 0||n)&&(o[s]=c??r[s])}return n=!0,h("obi-bipolar-transistor-01",o,B(a))};return(t,o)=>m((v(),_(l,null,null,512)),[[p]])}});export{k as default};
2
+ //# sourceMappingURL=ObiBipolarTransistor01.vue2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObiChevronTrippleRight.vue2.js","sources":["../src/icons/ObiChevronTrippleRight.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/icons/icon-chevron-tripple-right.js';\n \n\n export interface Props {\n useCssColor?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiChevronTrippleRight',\n props: {\n useCssColor: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obi-chevron-tripple-right',\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":"oRAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,yBACR,MAAO,CACL,YAAa,CAAE,KAAM,OAAA,CAAQ,EAE/B,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLM,EACL,4BACAF,EACAG,EAAgBN,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACO,EAAUC,IACTC,GAAiBC,IAAcC,EAAaT,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACN,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
1
+ {"version":3,"file":"ObiBipolarTransistor01.vue2.js","sources":["../src/icons/ObiBipolarTransistor01.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/icons/icon-bipolar-transistor-01.js';\n \n\n export interface Props {\n useCssColor?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObiBipolarTransistor01',\n props: {\n useCssColor: { type: Boolean }\n },\n setup(__props: any) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n \n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n \n };\n const props = eventProps as (typeof eventProps & Props);\n\n \n for (const p in vueProps) {\n const v = vueProps[p as keyof Props];\n if ((v !== undefined) || hasRendered) {\n (props[p as keyof Props] as unknown) = v ?? defaults[p as keyof Props];\n }\n }\n\n hasRendered = true;\n \n\n return h(\n 'obi-bipolar-transistor-01',\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":"+QAcA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,yBACR,MAAO,CACL,YAAa,CAAE,KAAM,OAAA,CAAQ,EAE/B,MAAMC,EAAc,CAEhB,MAAMC,EAAWD,EAEfE,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAId,MAAMC,EAAQC,EAAA,EAERC,EAAS,IAAM,CAInB,MAAMC,EAHa,CAAA,EAMrB,UAAWL,KAAKL,EAAU,CACxB,MAAMW,EAAIX,EAASK,CAAgB,GAC9BM,IAAM,QAAcL,KACtBI,EAAML,CAAgB,EAAgBM,GAAKV,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,4BACAI,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,4 +1,4 @@
1
- import '@oicl/openbridge-webcomponents/dist/icons/icon-bipolar_transistor-02.js';
1
+ import '@oicl/openbridge-webcomponents/dist/icons/icon-bipolar-transistor-02.js';
2
2
  export interface Props {
3
3
  useCssColor?: boolean;
4
4
  }
@@ -0,0 +1,2 @@
1
+ import f from"./ObiBipolarTransistor02.vue2.js";export{f as default};
2
+ //# sourceMappingURL=ObiBipolarTransistor02.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObiBipolarTransistor02.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{defineComponent as u,reactive as f,useSlots as d,withDirectives as m,openBlock as v,createBlock as _,h}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/icons/icon-bipolar-transistor-02.js";const k=u({__name:"ObiBipolarTransistor02",props:{useCssColor:{type:Boolean}},setup(i){const e=i,r=f({}),p={created(t){for(const o in e)r[o]=t[o]}};let n=!1;const a=d(),l=()=>{const o={};for(const s in e){const c=e[s];(c!==void 0||n)&&(o[s]=c??r[s])}return n=!0,h("obi-bipolar-transistor-02",o,B(a))};return(t,o)=>m((v(),_(l,null,null,512)),[[p]])}});export{k as default};
2
+ //# sourceMappingURL=ObiBipolarTransistor02.vue2.js.map