@oicl/openbridge-webcomponents-vue 2.0.0-next.148 → 2.0.0-next.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/icon-button/ObcIconButton.vue.d.ts +1 -0
- package/components/icon-button/ObcIconButton.vue2.js +1 -1
- package/components/icon-button/ObcIconButton.vue2.js.map +1 -1
- package/integration-systems/integration-bar/ObcIntegrationBar.vue.d.ts +16 -16
- package/integration-systems/integration-bar/ObcIntegrationBar.vue2.js.map +1 -1
- package/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.vue.d.ts +22 -10
- package/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.vue2.js +1 -1
- package/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.vue2.js.map +1 -1
- package/package.json +2 -2
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
progress?: number | undefined;
|
|
12
12
|
hasLabel?: boolean;
|
|
13
13
|
showDivider?: boolean;
|
|
14
|
+
ariaLabel?: string | null;
|
|
14
15
|
}
|
|
15
16
|
export type { IconButtonVariant } from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';
|
|
16
17
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as v,useSlots as m,withDirectives as B,openBlock as y,createBlock as h,h as
|
|
1
|
+
import{defineComponent as f,reactive as v,useSlots as m,withDirectives as B,openBlock as y,createBlock as h,h as b}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js";const C=f({__name:"ObcIconButton",props:{variant:{},activated:{type:Boolean},cornerLeft:{type:Boolean},cornerRight:{type:Boolean},activeColor:{type:Boolean},wide:{type:Boolean},disabled:{type:Boolean},progress:{},hasLabel:{type:Boolean},showDivider:{type:Boolean},ariaLabel:{}},emits:["click"],setup(a,{emit:i}){const t=a,s=v({}),l={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const p=i,d=m(),u=()=>{const e={onClick:o=>p("click",o)};for(const o in t){const c=t[o];(c!==void 0||r)&&(e[o]=c??s[o])}return r=!0,b("obc-icon-button",e,_(d))};return(n,e)=>B((y(),h(u,null,null,512)),[[l]])}});export{C as default};
|
|
2
2
|
//# sourceMappingURL=ObcIconButton.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcIconButton.vue2.js","sources":["../../src/components/icon-button/ObcIconButton.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/icon-button/icon-button.js';\n import {IconButtonVariant} from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';\n\n export interface Props {\n variant?: IconButtonVariant;\n activated?: boolean;\n cornerLeft?: boolean;\n cornerRight?: boolean;\n activeColor?: boolean;\n wide?: boolean;\n disabled?: boolean;\n progress?: number | undefined;\n hasLabel?: boolean;\n showDivider?: boolean\n }\n\n \n \n export type {IconButtonVariant} from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIconButton',\n props: {\n variant: {},\n activated: { type: Boolean },\n cornerLeft: { type: Boolean },\n cornerRight: { type: Boolean },\n activeColor: { type: Boolean },\n wide: { type: Boolean },\n disabled: { type: Boolean },\n progress: {},\n hasLabel: { type: Boolean },\n showDivider: { type: Boolean }\n },\n emits: [\"click\"],\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 onClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\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-icon-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":"
|
|
1
|
+
{"version":3,"file":"ObcIconButton.vue2.js","sources":["../../src/components/icon-button/ObcIconButton.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/icon-button/icon-button.js';\n import {IconButtonVariant} from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';\n\n export interface Props {\n variant?: IconButtonVariant;\n activated?: boolean;\n cornerLeft?: boolean;\n cornerRight?: boolean;\n activeColor?: boolean;\n wide?: boolean;\n disabled?: boolean;\n progress?: number | undefined;\n hasLabel?: boolean;\n showDivider?: boolean;\n ariaLabel?: string | null\n }\n\n \n \n export type {IconButtonVariant} from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIconButton',\n props: {\n variant: {},\n activated: { type: Boolean },\n cornerLeft: { type: Boolean },\n cornerRight: { type: Boolean },\n activeColor: { type: Boolean },\n wide: { type: Boolean },\n disabled: { type: Boolean },\n progress: {},\n hasLabel: { type: Boolean },\n showDivider: { type: Boolean },\n ariaLabel: {}\n },\n emits: [\"click\"],\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 onClick: (event: CustomEvent<unknown>) => emit('click', event as CustomEvent<unknown>)\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-icon-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":"sRA0BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,QAAS,CAAA,EACT,UAAW,CAAE,KAAM,OAAA,EACnB,WAAY,CAAE,KAAM,OAAA,EACpB,YAAa,CAAE,KAAM,OAAA,EACrB,YAAa,CAAE,KAAM,OAAA,EACrB,KAAM,CAAE,KAAM,OAAA,EACd,SAAU,CAAE,KAAM,OAAA,EAClB,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,OAAA,EAClB,YAAa,CAAE,KAAM,OAAA,EACrB,UAAW,CAAA,CAAC,EAEd,MAAO,CAAC,OAAO,EACf,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,QAAUC,GAAgCL,EAAK,QAASK,CAA6B,CAAA,EAKnF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,kBACAH,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"}
|
|
@@ -22,22 +22,22 @@ export interface Props {
|
|
|
22
22
|
fleetButtonLabel?: string;
|
|
23
23
|
}
|
|
24
24
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
|
-
"dimming-button-clicked": (payload: CustomEvent<
|
|
26
|
-
"user-button-clicked": (payload: CustomEvent<
|
|
27
|
-
"fleet-button-click": (payload: CustomEvent<
|
|
28
|
-
"link-button-clicked": (payload: CustomEvent<
|
|
29
|
-
"alert-button-clicked": (payload: CustomEvent<
|
|
30
|
-
"notification-button-clicked": (payload: CustomEvent<
|
|
31
|
-
"screen-button-clicked": (payload: CustomEvent<
|
|
32
|
-
"system-button-clicked": (payload: CustomEvent<
|
|
25
|
+
"dimming-button-clicked": (payload: CustomEvent<any>) => any;
|
|
26
|
+
"user-button-clicked": (payload: CustomEvent<any>) => any;
|
|
27
|
+
"fleet-button-click": (payload: CustomEvent<any>) => any;
|
|
28
|
+
"link-button-clicked": (payload: CustomEvent<any>) => any;
|
|
29
|
+
"alert-button-clicked": (payload: CustomEvent<any>) => any;
|
|
30
|
+
"notification-button-clicked": (payload: CustomEvent<any>) => any;
|
|
31
|
+
"screen-button-clicked": (payload: CustomEvent<any>) => any;
|
|
32
|
+
"system-button-clicked": (payload: CustomEvent<any>) => any;
|
|
33
33
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
-
"onDimming-button-clicked"?: ((payload: CustomEvent<
|
|
35
|
-
"onUser-button-clicked"?: ((payload: CustomEvent<
|
|
36
|
-
"onFleet-button-click"?: ((payload: CustomEvent<
|
|
37
|
-
"onLink-button-clicked"?: ((payload: CustomEvent<
|
|
38
|
-
"onAlert-button-clicked"?: ((payload: CustomEvent<
|
|
39
|
-
"onNotification-button-clicked"?: ((payload: CustomEvent<
|
|
40
|
-
"onScreen-button-clicked"?: ((payload: CustomEvent<
|
|
41
|
-
"onSystem-button-clicked"?: ((payload: CustomEvent<
|
|
34
|
+
"onDimming-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
35
|
+
"onUser-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
36
|
+
"onFleet-button-click"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
37
|
+
"onLink-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
38
|
+
"onAlert-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
39
|
+
"onNotification-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
40
|
+
"onScreen-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
41
|
+
"onSystem-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
42
42
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcIntegrationBar.vue2.js","sources":["../../src/integration-systems/integration-bar/ObcIntegrationBar.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar/integration-bar.js';\n \n\n export interface Props {\n hideHomeButton?: boolean;\n showClock?: boolean;\n showLinkButton?: boolean;\n linkButtonActivated?: boolean;\n showUserButton?: boolean;\n userButtonActivated?: boolean;\n showDimmingButton?: boolean;\n dimmingButtonActivated?: boolean;\n showSystemButton?: boolean;\n systemButtonActivated?: boolean;\n showScreenButton?: boolean;\n screenButtonActivated?: boolean;\n showNotificationButton?: boolean;\n notificationButtonActivated?: boolean;\n showAlertButton?: boolean;\n alertButtonActivated?: boolean;\n showFleetButton?: boolean;\n fleetButtonSelected?: boolean;\n fleetButtonActivated?: boolean;\n fleetButtonLabel?: string\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationBar',\n props: {\n hideHomeButton: { type: Boolean },\n showClock: { type: Boolean },\n showLinkButton: { type: Boolean },\n linkButtonActivated: { type: Boolean },\n showUserButton: { type: Boolean },\n userButtonActivated: { type: Boolean },\n showDimmingButton: { type: Boolean },\n dimmingButtonActivated: { type: Boolean },\n showSystemButton: { type: Boolean },\n systemButtonActivated: { type: Boolean },\n showScreenButton: { type: Boolean },\n screenButtonActivated: { type: Boolean },\n showNotificationButton: { type: Boolean },\n notificationButtonActivated: { type: Boolean },\n showAlertButton: { type: Boolean },\n alertButtonActivated: { type: Boolean },\n showFleetButton: { type: Boolean },\n fleetButtonSelected: { type: Boolean },\n fleetButtonActivated: { type: Boolean },\n fleetButtonLabel: {}\n },\n emits: [\"fleet-button-click\", \"link-button-clicked\", \"alert-button-clicked\", \"notification-button-clicked\", \"screen-button-clicked\", \"system-button-clicked\", \"dimming-button-clicked\", \"user-button-clicked\"],\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 onFleetButtonClick: (event: CustomEvent
|
|
1
|
+
{"version":3,"file":"ObcIntegrationBar.vue2.js","sources":["../../src/integration-systems/integration-bar/ObcIntegrationBar.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar/integration-bar.js';\n \n\n export interface Props {\n hideHomeButton?: boolean;\n showClock?: boolean;\n showLinkButton?: boolean;\n linkButtonActivated?: boolean;\n showUserButton?: boolean;\n userButtonActivated?: boolean;\n showDimmingButton?: boolean;\n dimmingButtonActivated?: boolean;\n showSystemButton?: boolean;\n systemButtonActivated?: boolean;\n showScreenButton?: boolean;\n screenButtonActivated?: boolean;\n showNotificationButton?: boolean;\n notificationButtonActivated?: boolean;\n showAlertButton?: boolean;\n alertButtonActivated?: boolean;\n showFleetButton?: boolean;\n fleetButtonSelected?: boolean;\n fleetButtonActivated?: boolean;\n fleetButtonLabel?: string\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationBar',\n props: {\n hideHomeButton: { type: Boolean },\n showClock: { type: Boolean },\n showLinkButton: { type: Boolean },\n linkButtonActivated: { type: Boolean },\n showUserButton: { type: Boolean },\n userButtonActivated: { type: Boolean },\n showDimmingButton: { type: Boolean },\n dimmingButtonActivated: { type: Boolean },\n showSystemButton: { type: Boolean },\n systemButtonActivated: { type: Boolean },\n showScreenButton: { type: Boolean },\n screenButtonActivated: { type: Boolean },\n showNotificationButton: { type: Boolean },\n notificationButtonActivated: { type: Boolean },\n showAlertButton: { type: Boolean },\n alertButtonActivated: { type: Boolean },\n showFleetButton: { type: Boolean },\n fleetButtonSelected: { type: Boolean },\n fleetButtonActivated: { type: Boolean },\n fleetButtonLabel: {}\n },\n emits: [\"fleet-button-click\", \"link-button-clicked\", \"alert-button-clicked\", \"notification-button-clicked\", \"screen-button-clicked\", \"system-button-clicked\", \"dimming-button-clicked\", \"user-button-clicked\"],\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 onFleetButtonClick: (event: CustomEvent) => emit('fleet-button-click', event as CustomEvent),\nonLinkButtonClicked: (event: CustomEvent) => emit('link-button-clicked', event as CustomEvent),\nonAlertButtonClicked: (event: CustomEvent) => emit('alert-button-clicked', event as CustomEvent),\nonNotificationButtonClicked: (event: CustomEvent) => emit('notification-button-clicked', event as CustomEvent),\nonScreenButtonClicked: (event: CustomEvent) => emit('screen-button-clicked', event as CustomEvent),\nonSystemButtonClicked: (event: CustomEvent) => emit('system-button-clicked', event as CustomEvent),\nonDimmingButtonClicked: (event: CustomEvent) => emit('dimming-button-clicked', event as CustomEvent),\nonUserButtonClicked: (event: CustomEvent) => emit('user-button-clicked', 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-integration-bar',\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":"uSAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,eAAgB,CAAE,KAAM,OAAA,EACxB,UAAW,CAAE,KAAM,OAAA,EACnB,eAAgB,CAAE,KAAM,OAAA,EACxB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,eAAgB,CAAE,KAAM,OAAA,EACxB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,uBAAwB,CAAE,KAAM,OAAA,EAChC,iBAAkB,CAAE,KAAM,OAAA,EAC1B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,uBAAwB,CAAE,KAAM,OAAA,EAChC,4BAA6B,CAAE,KAAM,OAAA,EACrC,gBAAiB,CAAE,KAAM,OAAA,EACzB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,gBAAiB,CAAE,KAAM,OAAA,EACzB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,qBAAsB,CAAE,KAAM,OAAA,EAC9B,iBAAkB,CAAA,CAAC,EAErB,MAAO,CAAC,qBAAsB,sBAAuB,uBAAwB,8BAA+B,wBAAyB,wBAAyB,yBAA0B,qBAAqB,EAC7M,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,CAWnB,MAAMC,EAVa,CACvB,mBAAqBC,GAAuBL,EAAK,qBAAsBK,CAAoB,EAC/F,oBAAsBA,GAAuBL,EAAK,sBAAuBK,CAAoB,EAC7F,qBAAuBA,GAAuBL,EAAK,uBAAwBK,CAAoB,EAC/F,4BAA8BA,GAAuBL,EAAK,8BAA+BK,CAAoB,EAC7G,sBAAwBA,GAAuBL,EAAK,wBAAyBK,CAAoB,EACjG,sBAAwBA,GAAuBL,EAAK,wBAAyBK,CAAoB,EACjG,uBAAyBA,GAAuBL,EAAK,yBAA0BK,CAAoB,EACnG,oBAAsBA,GAAuBL,EAAK,sBAAuBK,CAAoB,CAAA,EAKvF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -2,11 +2,17 @@ import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar-
|
|
|
2
2
|
export interface Props {
|
|
3
3
|
showHomeButton?: boolean;
|
|
4
4
|
homeButtonActivated?: boolean;
|
|
5
|
+
showLinkButton?: boolean;
|
|
6
|
+
linkButtonActivated?: boolean;
|
|
5
7
|
showClock?: boolean;
|
|
8
|
+
showAlertButton?: boolean;
|
|
9
|
+
alertButtonActivated?: boolean;
|
|
6
10
|
showNotificationButton?: boolean;
|
|
7
11
|
notificationButtonActivated?: boolean;
|
|
8
12
|
notificationCount?: number;
|
|
9
13
|
showNotificationCount?: boolean;
|
|
14
|
+
showScreenButton?: boolean;
|
|
15
|
+
screenButtonActivated?: boolean;
|
|
10
16
|
showUserButton?: boolean;
|
|
11
17
|
userButtonActivated?: boolean;
|
|
12
18
|
showDimmingButton?: boolean;
|
|
@@ -16,16 +22,22 @@ export interface Props {
|
|
|
16
22
|
nStatusFields?: number;
|
|
17
23
|
}
|
|
18
24
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
-
"dimming-button-clicked": (payload: CustomEvent<
|
|
20
|
-
"user-button-clicked": (payload: CustomEvent<
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
25
|
+
"dimming-button-clicked": (payload: CustomEvent<any>) => any;
|
|
26
|
+
"user-button-clicked": (payload: CustomEvent<any>) => any;
|
|
27
|
+
"link-button-clicked": (payload: CustomEvent<any>) => any;
|
|
28
|
+
"alert-button-clicked": (payload: CustomEvent<any>) => any;
|
|
29
|
+
"notification-button-clicked": (payload: CustomEvent<any>) => any;
|
|
30
|
+
"screen-button-clicked": (payload: CustomEvent<any>) => any;
|
|
31
|
+
"system-button-clicked": (payload: CustomEvent<any>) => any;
|
|
32
|
+
"home-button-clicked": (payload: CustomEvent<any>) => any;
|
|
24
33
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
25
|
-
"onDimming-button-clicked"?: ((payload: CustomEvent<
|
|
26
|
-
"onUser-button-clicked"?: ((payload: CustomEvent<
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
34
|
+
"onDimming-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
35
|
+
"onUser-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
36
|
+
"onLink-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
37
|
+
"onAlert-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
38
|
+
"onNotification-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
39
|
+
"onScreen-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
40
|
+
"onSystem-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
41
|
+
"onHome-button-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
30
42
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
43
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as p,reactive as
|
|
1
|
+
import{defineComponent as p,reactive as k,useSlots as m,withDirectives as y,openBlock as b,createBlock as f,h}from"vue";import{assignSlotNodes as v}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.js";const g=p({__name:"ObcIntegrationBarDropdown",props:{showHomeButton:{type:Boolean},homeButtonActivated:{type:Boolean},showLinkButton:{type:Boolean},linkButtonActivated:{type:Boolean},showClock:{type:Boolean},showAlertButton:{type:Boolean},alertButtonActivated:{type:Boolean},showNotificationButton:{type:Boolean},notificationButtonActivated:{type:Boolean},notificationCount:{},showNotificationCount:{type:Boolean},showScreenButton:{type:Boolean},screenButtonActivated:{type:Boolean},showUserButton:{type:Boolean},userButtonActivated:{type:Boolean},showDimmingButton:{type:Boolean},dimmingButtonActivated:{type:Boolean},showSystemButton:{type:Boolean},systemButtonActivated:{type:Boolean},nStatusFields:{}},emits:["home-button-clicked","link-button-clicked","alert-button-clicked","dimming-button-clicked","notification-button-clicked","screen-button-clicked","user-button-clicked","system-button-clicked"],setup(u,{emit:a}){const n=u,c=k({}),d={created(i){for(const e in n)c[e]=i[e]}};let l=!1;const o=a,r=m(),B=()=>{const e={onHomeButtonClicked:t=>o("home-button-clicked",t),onLinkButtonClicked:t=>o("link-button-clicked",t),onAlertButtonClicked:t=>o("alert-button-clicked",t),onDimmingButtonClicked:t=>o("dimming-button-clicked",t),onNotificationButtonClicked:t=>o("notification-button-clicked",t),onScreenButtonClicked:t=>o("screen-button-clicked",t),onUserButtonClicked:t=>o("user-button-clicked",t),onSystemButtonClicked:t=>o("system-button-clicked",t)};for(const t in n){const s=n[t];(s!==void 0||l)&&(e[t]=s??c[t])}return l=!0,h("obc-integration-bar-dropdown",e,v(r))};return(i,e)=>y((b(),f(B,null,null,512)),[[d]])}});export{g as default};
|
|
2
2
|
//# sourceMappingURL=ObcIntegrationBarDropdown.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcIntegrationBarDropdown.vue2.js","sources":["../../src/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.js';\n \n\n export interface Props {\n showHomeButton?: boolean;\n homeButtonActivated?: boolean;\n showClock?: boolean;\n showNotificationButton?: boolean;\n notificationButtonActivated?: boolean;\n notificationCount?: number;\n showNotificationCount?: boolean;\n showUserButton?: boolean;\n userButtonActivated?: boolean;\n showDimmingButton?: boolean;\n dimmingButtonActivated?: boolean;\n showSystemButton?: boolean;\n systemButtonActivated?: boolean;\n nStatusFields?: number\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationBarDropdown',\n props: {\n showHomeButton: { type: Boolean },\n homeButtonActivated: { type: Boolean },\n showClock: { type: Boolean },\n showNotificationButton: { type: Boolean },\n notificationButtonActivated: { type: Boolean },\n notificationCount: {},\n showNotificationCount: { type: Boolean },\n showUserButton: { type: Boolean },\n userButtonActivated: { type: Boolean },\n showDimmingButton: { type: Boolean },\n dimmingButtonActivated: { type: Boolean },\n showSystemButton: { type: Boolean },\n systemButtonActivated: { type: Boolean },\n nStatusFields: {}\n },\n emits: [\"home-button-clicked\", \"dimming-button-clicked\", \"notification-button-clicked\", \"user-button-clicked\", \"system-button-clicked\"],\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 onHomeButtonClicked: (event: CustomEvent
|
|
1
|
+
{"version":3,"file":"ObcIntegrationBarDropdown.vue2.js","sources":["../../src/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots, reactive } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.js';\n \n\n export interface Props {\n showHomeButton?: boolean;\n homeButtonActivated?: boolean;\n showLinkButton?: boolean;\n linkButtonActivated?: boolean;\n showClock?: boolean;\n showAlertButton?: boolean;\n alertButtonActivated?: boolean;\n showNotificationButton?: boolean;\n notificationButtonActivated?: boolean;\n notificationCount?: number;\n showNotificationCount?: boolean;\n showScreenButton?: boolean;\n screenButtonActivated?: boolean;\n showUserButton?: boolean;\n userButtonActivated?: boolean;\n showDimmingButton?: boolean;\n dimmingButtonActivated?: boolean;\n showSystemButton?: boolean;\n systemButtonActivated?: boolean;\n nStatusFields?: number\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcIntegrationBarDropdown',\n props: {\n showHomeButton: { type: Boolean },\n homeButtonActivated: { type: Boolean },\n showLinkButton: { type: Boolean },\n linkButtonActivated: { type: Boolean },\n showClock: { type: Boolean },\n showAlertButton: { type: Boolean },\n alertButtonActivated: { type: Boolean },\n showNotificationButton: { type: Boolean },\n notificationButtonActivated: { type: Boolean },\n notificationCount: {},\n showNotificationCount: { type: Boolean },\n showScreenButton: { type: Boolean },\n screenButtonActivated: { type: Boolean },\n showUserButton: { type: Boolean },\n userButtonActivated: { type: Boolean },\n showDimmingButton: { type: Boolean },\n dimmingButtonActivated: { type: Boolean },\n showSystemButton: { type: Boolean },\n systemButtonActivated: { type: Boolean },\n nStatusFields: {}\n },\n emits: [\"home-button-clicked\", \"link-button-clicked\", \"alert-button-clicked\", \"dimming-button-clicked\", \"notification-button-clicked\", \"screen-button-clicked\", \"user-button-clicked\", \"system-button-clicked\"],\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 onHomeButtonClicked: (event: CustomEvent) => emit('home-button-clicked', event as CustomEvent),\nonLinkButtonClicked: (event: CustomEvent) => emit('link-button-clicked', event as CustomEvent),\nonAlertButtonClicked: (event: CustomEvent) => emit('alert-button-clicked', event as CustomEvent),\nonDimmingButtonClicked: (event: CustomEvent) => emit('dimming-button-clicked', event as CustomEvent),\nonNotificationButtonClicked: (event: CustomEvent) => emit('notification-button-clicked', event as CustomEvent),\nonScreenButtonClicked: (event: CustomEvent) => emit('screen-button-clicked', event as CustomEvent),\nonUserButtonClicked: (event: CustomEvent) => emit('user-button-clicked', event as CustomEvent),\nonSystemButtonClicked: (event: CustomEvent) => emit('system-button-clicked', 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-integration-bar-dropdown',\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":"oTAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,4BACR,MAAO,CACL,eAAgB,CAAE,KAAM,OAAA,EACxB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,eAAgB,CAAE,KAAM,OAAA,EACxB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,UAAW,CAAE,KAAM,OAAA,EACnB,gBAAiB,CAAE,KAAM,OAAA,EACzB,qBAAsB,CAAE,KAAM,OAAA,EAC9B,uBAAwB,CAAE,KAAM,OAAA,EAChC,4BAA6B,CAAE,KAAM,OAAA,EACrC,kBAAmB,CAAA,EACnB,sBAAuB,CAAE,KAAM,OAAA,EAC/B,iBAAkB,CAAE,KAAM,OAAA,EAC1B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,eAAgB,CAAE,KAAM,OAAA,EACxB,oBAAqB,CAAE,KAAM,OAAA,EAC7B,kBAAmB,CAAE,KAAM,OAAA,EAC3B,uBAAwB,CAAE,KAAM,OAAA,EAChC,iBAAkB,CAAE,KAAM,OAAA,EAC1B,sBAAuB,CAAE,KAAM,OAAA,EAC/B,cAAe,CAAA,CAAC,EAElB,MAAO,CAAC,sBAAuB,sBAAuB,uBAAwB,yBAA0B,8BAA+B,wBAAyB,sBAAuB,uBAAuB,EAC9M,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,CAWnB,MAAMC,EAVa,CACvB,oBAAsBC,GAAuBL,EAAK,sBAAuBK,CAAoB,EACjG,oBAAsBA,GAAuBL,EAAK,sBAAuBK,CAAoB,EAC7F,qBAAuBA,GAAuBL,EAAK,uBAAwBK,CAAoB,EAC/F,uBAAyBA,GAAuBL,EAAK,yBAA0BK,CAAoB,EACnG,4BAA8BA,GAAuBL,EAAK,8BAA+BK,CAAoB,EAC7G,sBAAwBA,GAAuBL,EAAK,wBAAyBK,CAAoB,EACjG,oBAAsBA,GAAuBL,EAAK,sBAAuBK,CAAoB,EAC7F,sBAAwBA,GAAuBL,EAAK,wBAAyBK,CAAoB,CAAA,EAK3F,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGL,EACL,+BACAK,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"}
|
package/package.json
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
|
|
9
9
|
"preview": "vite preview"
|
|
10
10
|
},
|
|
11
|
-
"version": "2.0.0-next.
|
|
11
|
+
"version": "2.0.0-next.149",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.149",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|