@oicl/openbridge-webcomponents-vue 2.0.0-next.167 → 2.0.0-next.169
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/ar/poi-card/ObcPoiCard.vue.d.ts +2 -0
- package/ar/poi-card/ObcPoiCard.vue2.js +1 -1
- package/ar/poi-card/ObcPoiCard.vue2.js.map +1 -1
- package/components/alert-list-details-experimental/ObcAlertListDetailsExperimental.vue.d.ts +1 -0
- package/components/alert-list-details-experimental/ObcAlertListDetailsExperimental.vue2.js +1 -1
- package/components/alert-list-details-experimental/ObcAlertListDetailsExperimental.vue2.js.map +1 -1
- package/components/alert-menu/ObcAlertMenu.vue.d.ts +6 -0
- package/components/alert-menu/ObcAlertMenu.vue2.js +1 -1
- package/components/alert-menu/ObcAlertMenu.vue2.js.map +1 -1
- package/components/app-menu/ObcAppMenu.vue.d.ts +10 -3
- package/components/app-menu/ObcAppMenu.vue2.js +1 -1
- package/components/app-menu/ObcAppMenu.vue2.js.map +1 -1
- package/components/brilliance-menu/ObcBrillianceMenu.vue.d.ts +6 -0
- package/components/brilliance-menu/ObcBrillianceMenu.vue2.js +1 -1
- package/components/brilliance-menu/ObcBrillianceMenu.vue2.js.map +1 -1
- package/components/calendar/ObcCalendar.vue.d.ts +10 -0
- package/components/calendar/ObcCalendar.vue2.js +1 -1
- package/components/calendar/ObcCalendar.vue2.js.map +1 -1
- package/components/command-menu/ObcCommandMenu.vue.d.ts +6 -0
- package/components/command-menu/ObcCommandMenu.vue2.js +1 -1
- package/components/command-menu/ObcCommandMenu.vue2.js.map +1 -1
- package/components/context-menu-input/ObcContextMenuInput.vue.d.ts +4 -0
- package/components/context-menu-input/ObcContextMenuInput.vue2.js +1 -1
- package/components/context-menu-input/ObcContextMenuInput.vue2.js.map +1 -1
- package/components/date-item/ObcDateItem.vue.d.ts +10 -0
- package/components/date-item/ObcDateItem.vue2.js +1 -1
- package/components/date-item/ObcDateItem.vue2.js.map +1 -1
- package/components/event-list/ObcEventList.vue.d.ts +13 -1
- package/components/event-list/ObcEventList.vue2.js +1 -1
- package/components/event-list/ObcEventList.vue2.js.map +1 -1
- package/components/icon-button/ObcIconButton.vue.d.ts +2 -0
- package/components/icon-button/ObcIconButton.vue2.js +1 -1
- package/components/icon-button/ObcIconButton.vue2.js.map +1 -1
- package/components/navigation-menu/ObcNavigationMenu.vue.d.ts +9 -1
- package/components/navigation-menu/ObcNavigationMenu.vue2.js +1 -1
- package/components/navigation-menu/ObcNavigationMenu.vue2.js.map +1 -1
- package/components/system-menu/ObcSystemMenu.vue.d.ts +6 -0
- package/components/system-menu/ObcSystemMenu.vue2.js +1 -1
- package/components/system-menu/ObcSystemMenu.vue2.js.map +1 -1
- package/components/tab-item/ObcTabItem.vue.d.ts +1 -0
- package/components/tab-item/ObcTabItem.vue2.js +1 -1
- package/components/tab-item/ObcTabItem.vue2.js.map +1 -1
- package/components/tab-row/ObcTabRow.vue.d.ts +3 -0
- package/components/tab-row/ObcTabRow.vue2.js +1 -1
- package/components/tab-row/ObcTabRow.vue2.js.map +1 -1
- package/components/table/ObcTable.vue.d.ts +1 -0
- package/components/table/ObcTable.vue2.js +1 -1
- package/components/table/ObcTable.vue2.js.map +1 -1
- package/components/user-menu/ObcUserMenu.vue.d.ts +6 -0
- package/components/user-menu/ObcUserMenu.vue2.js +1 -1
- package/components/user-menu/ObcUserMenu.vue2.js.map +1 -1
- package/package.json +2 -2
|
@@ -20,8 +20,10 @@ export type { PoiCardClickDetail, PointerDirection } from '@oicl/openbridge-webc
|
|
|
20
20
|
export type { ObcPoiCardHeaderVariant } from '@oicl/openbridge-webcomponents/dist/ar/poi-card-header/poi-card-header.js';
|
|
21
21
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
22
22
|
"card-click": (payload: CustomEvent<PoiCardClickDetail>) => any;
|
|
23
|
+
"close-click": (payload: CustomEvent<void>) => any;
|
|
23
24
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
24
25
|
"onCard-click"?: ((payload: CustomEvent<PoiCardClickDetail>) => any) | undefined;
|
|
26
|
+
"onClose-click"?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
25
27
|
}>, {
|
|
26
28
|
fixedSize: boolean;
|
|
27
29
|
showHeader: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as v,useSlots as m,withDirectives as h,openBlock as B,createBlock as
|
|
1
|
+
import{defineComponent as f,reactive as v,useSlots as m,withDirectives as h,openBlock as B,createBlock as k,h as C}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/ar/poi-card/poi-card.js";const D=f({__name:"ObcPoiCard",props:{pointerDirection:{},fixedSize:{type:Boolean,default:void 0},showHeader:{type:Boolean,default:void 0},headerVariant:{},index:{},cardTitle:{},description:{},source:{},timestamp:{},hasLeadingIcon:{type:Boolean,default:void 0},hasCloseButton:{type:Boolean,default:void 0},interactive:{type:Boolean,default:void 0},hasAlert:{type:Boolean,default:void 0}},emits:["card-click","close-click"],setup(a,{emit:l}){const t=a,c=v({}),d={created(n){for(const o in t)c[o]=n[o]}};let i=!1;const s=l,p=m(),u=()=>{const o={onCardClick:e=>s("card-click",e),onCloseClick:e=>s("close-click",e)};for(const e in t){const r=t[e];(r!==void 0||i)&&(o[e]=r??c[e])}return i=!0,C("obc-poi-card",o,y(p))};return(n,o)=>h((B(),k(u,null,null,512)),[[d]])}});export{D as default};
|
|
2
2
|
//# sourceMappingURL=ObcPoiCard.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcPoiCard.vue2.js","sources":["../../src/ar/poi-card/ObcPoiCard.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/ar/poi-card/poi-card.js';\n import {PoiCardClickDetail, PointerDirection} from '@oicl/openbridge-webcomponents/dist/ar/poi-card/poi-card.js';\nimport {ObcPoiCardHeaderVariant} from '@oicl/openbridge-webcomponents/dist/ar/poi-card-header/poi-card-header.js';\n\n export interface Props {\n pointerDirection?: PointerDirection;\n fixedSize?: boolean;\n showHeader?: boolean;\n headerVariant?: ObcPoiCardHeaderVariant;\n index?: string;\n cardTitle?: string;\n description?: string;\n source?: string;\n timestamp?: string;\n hasLeadingIcon?: boolean;\n hasCloseButton?: boolean;\n interactive?: boolean;\n hasAlert?: boolean\n }\n\n \n \n export type {PoiCardClickDetail, PointerDirection} from '@oicl/openbridge-webcomponents/dist/ar/poi-card/poi-card.js';\nexport type {ObcPoiCardHeaderVariant} from '@oicl/openbridge-webcomponents/dist/ar/poi-card-header/poi-card-header.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPoiCard',\n props: {\n pointerDirection: {},\n fixedSize: { type: Boolean, default: undefined },\n showHeader: { type: Boolean, default: undefined },\n headerVariant: {},\n index: {},\n cardTitle: {},\n description: {},\n source: {},\n timestamp: {},\n hasLeadingIcon: { type: Boolean, default: undefined },\n hasCloseButton: { type: Boolean, default: undefined },\n interactive: { type: Boolean, default: undefined },\n hasAlert: { type: Boolean, default: undefined }\n },\n emits: [\"card-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 onCardClick: (event: CustomEvent<PoiCardClickDetail>) => emit('card-click', event as CustomEvent<PoiCardClickDetail>)\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-poi-card',\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":"wQA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,iBAAkB,CAAA,EAClB,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,cAAe,CAAA,EACf,MAAO,CAAA,EACP,UAAW,CAAA,EACX,YAAa,CAAA,EACb,OAAQ,CAAA,EACR,UAAW,CAAA,EACX,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEhD,MAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"ObcPoiCard.vue2.js","sources":["../../src/ar/poi-card/ObcPoiCard.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/ar/poi-card/poi-card.js';\n import {PoiCardClickDetail, PointerDirection} from '@oicl/openbridge-webcomponents/dist/ar/poi-card/poi-card.js';\nimport {ObcPoiCardHeaderVariant} from '@oicl/openbridge-webcomponents/dist/ar/poi-card-header/poi-card-header.js';\n\n export interface Props {\n pointerDirection?: PointerDirection;\n fixedSize?: boolean;\n showHeader?: boolean;\n headerVariant?: ObcPoiCardHeaderVariant;\n index?: string;\n cardTitle?: string;\n description?: string;\n source?: string;\n timestamp?: string;\n hasLeadingIcon?: boolean;\n hasCloseButton?: boolean;\n interactive?: boolean;\n hasAlert?: boolean\n }\n\n \n \n export type {PoiCardClickDetail, PointerDirection} from '@oicl/openbridge-webcomponents/dist/ar/poi-card/poi-card.js';\nexport type {ObcPoiCardHeaderVariant} from '@oicl/openbridge-webcomponents/dist/ar/poi-card-header/poi-card-header.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcPoiCard',\n props: {\n pointerDirection: {},\n fixedSize: { type: Boolean, default: undefined },\n showHeader: { type: Boolean, default: undefined },\n headerVariant: {},\n index: {},\n cardTitle: {},\n description: {},\n source: {},\n timestamp: {},\n hasLeadingIcon: { type: Boolean, default: undefined },\n hasCloseButton: { type: Boolean, default: undefined },\n interactive: { type: Boolean, default: undefined },\n hasAlert: { type: Boolean, default: undefined }\n },\n emits: [\"card-click\", \"close-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 onCardClick: (event: CustomEvent<PoiCardClickDetail>) => emit('card-click', event as CustomEvent<PoiCardClickDetail>),\nonCloseClick: (event: CustomEvent<void>) => emit('close-click', 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-poi-card',\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":"wQA8BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,iBAAkB,CAAA,EAClB,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,cAAe,CAAA,EACf,MAAO,CAAA,EACP,UAAW,CAAA,EACX,YAAa,CAAA,EACb,OAAQ,CAAA,EACR,UAAW,CAAA,EACX,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEhD,MAAO,CAAC,aAAc,aAAa,EACnC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAKnB,MAAMC,EAJa,CACvB,YAAcC,GAA2CL,EAAK,aAAcK,CAAwC,EACxH,aAAeA,GAA6BL,EAAK,cAAeK,CAA0B,CAAA,EAKpF,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,eACAH,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,6 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/components/alert-list-details-experi
|
|
|
2
2
|
import { ObcAlertListCellClickEvent, ObcRowClickEvent, ObcAlertListCellSlotsChangeEvent, FilterModes, AlertListColumn } from '@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js';
|
|
3
3
|
import { Alert } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
4
4
|
export interface Props {
|
|
5
|
+
ariaLabel?: string | null;
|
|
5
6
|
filterMode?: FilterModes;
|
|
6
7
|
alerts?: Alert[];
|
|
7
8
|
columns?: AlertListColumn[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as m,useSlots as v,withDirectives as h,openBlock as k,createBlock as w,h as C}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js";const
|
|
1
|
+
import{defineComponent as f,reactive as m,useSlots as v,withDirectives as h,openBlock as k,createBlock as w,h as C}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js";const b=f({__name:"ObcAlertListDetailsExperimental",props:{ariaLabel:{},filterMode:{},alerts:{},columns:{},showHeader:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:void 0},selectedRowId:{}},emits:["cell-click","row-click","cell-slots-change"],setup(i,{emit:a}){const o=i,c=m({}),d={created(s){for(const t in o)c[t]=s[t]}};let n=!1;const l=a,p=v(),u=()=>{const t={onCellClick:e=>l("cell-click",e),onRowClick:e=>l("row-click",e),onCellSlotsChange:e=>l("cell-slots-change",e)};for(const e in o){const r=o[e];(r!==void 0||n)&&(t[e]=r??c[e])}return n=!0,C("obc-alert-list-details-experimental",t,_(p))};return(s,t)=>h((k(),w(u,null,null,512)),[[d]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcAlertListDetailsExperimental.vue2.js.map
|
package/components/alert-list-details-experimental/ObcAlertListDetailsExperimental.vue2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAlertListDetailsExperimental.vue2.js","sources":["../../src/components/alert-list-details-experimental/ObcAlertListDetailsExperimental.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-list-details-experimental/alert-list-details-experimental.js';\n import {ObcAlertListCellClickEvent, ObcRowClickEvent, ObcAlertListCellSlotsChangeEvent, FilterModes, AlertListColumn} from '@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js';\nimport {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n filterMode?: FilterModes;\n alerts?: Alert[];\n columns?: AlertListColumn[];\n showHeader?: boolean;\n defaultExpanded?: boolean;\n selectedRowId?: string | undefined\n }\n\n \n \n export type {ObcAlertListCellClickEvent, ObcRowClickEvent, ObcAlertListCellSlotsChangeEvent, FilterModes, AlertListColumn} from '@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js';\nexport type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertListDetailsExperimental',\n props: {\n filterMode: {},\n alerts: {},\n columns: {},\n showHeader: { type: Boolean, default: undefined },\n defaultExpanded: { type: Boolean, default: undefined },\n selectedRowId: {}\n },\n emits: [\"cell-click\", \"row-click\", \"cell-slots-change\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onCellClick: (event: ObcAlertListCellClickEvent) => emit('cell-click', event as ObcAlertListCellClickEvent),\nonRowClick: (event: ObcRowClickEvent) => emit('row-click', event as ObcRowClickEvent),\nonCellSlotsChange: (event: ObcAlertListCellSlotsChangeEvent) => emit('cell-slots-change', event as ObcAlertListCellSlotsChangeEvent)\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-list-details-experimental',\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":"ObcAlertListDetailsExperimental.vue2.js","sources":["../../src/components/alert-list-details-experimental/ObcAlertListDetailsExperimental.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-list-details-experimental/alert-list-details-experimental.js';\n import {ObcAlertListCellClickEvent, ObcRowClickEvent, ObcAlertListCellSlotsChangeEvent, FilterModes, AlertListColumn} from '@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js';\nimport {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';\n\n export interface Props {\n ariaLabel?: string | null;\n filterMode?: FilterModes;\n alerts?: Alert[];\n columns?: AlertListColumn[];\n showHeader?: boolean;\n defaultExpanded?: boolean;\n selectedRowId?: string | undefined\n }\n\n \n \n export type {ObcAlertListCellClickEvent, ObcRowClickEvent, ObcAlertListCellSlotsChangeEvent, FilterModes, AlertListColumn} from '@oicl/openbridge-webcomponents/dist/components/alert-list-details-experimental/alert-list-details-experimental.js';\nexport type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertListDetailsExperimental',\n props: {\n ariaLabel: {},\n filterMode: {},\n alerts: {},\n columns: {},\n showHeader: { type: Boolean, default: undefined },\n defaultExpanded: { type: Boolean, default: undefined },\n selectedRowId: {}\n },\n emits: [\"cell-click\", \"row-click\", \"cell-slots-change\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onCellClick: (event: ObcAlertListCellClickEvent) => emit('cell-click', event as ObcAlertListCellClickEvent),\nonRowClick: (event: ObcRowClickEvent) => emit('row-click', event as ObcRowClickEvent),\nonCellSlotsChange: (event: ObcAlertListCellSlotsChangeEvent) => emit('cell-slots-change', event as ObcAlertListCellSlotsChangeEvent)\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-list-details-experimental',\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":"8TAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,kCACR,MAAO,CACL,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,OAAQ,CAAA,EACR,QAAS,CAAA,EACT,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,cAAe,CAAA,CAAC,EAElB,MAAO,CAAC,aAAc,YAAa,mBAAmB,EACtD,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,CAMnB,MAAMC,EALa,CACvB,YAAcC,GAAsCL,EAAK,aAAcK,CAAmC,EAC9G,WAAaA,GAA4BL,EAAK,YAAaK,CAAyB,EACpF,kBAAoBA,GAA4CL,EAAK,oBAAqBK,CAAyC,CAAA,EAK7H,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sCACAH,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,6 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';
|
|
2
2
|
import { ObcAckAllVisibleClickEvent } from '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
softDismiss?: boolean;
|
|
5
|
+
open?: boolean;
|
|
4
6
|
hasShelved?: boolean;
|
|
5
7
|
canAckAll?: boolean;
|
|
6
8
|
showSilenceButton?: boolean;
|
|
@@ -8,15 +10,19 @@ export interface Props {
|
|
|
8
10
|
}
|
|
9
11
|
export type { ObcAckAllVisibleClickEvent } from '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';
|
|
10
12
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
close: (payload: CustomEvent<void>) => any;
|
|
11
14
|
"ack-all-visible-click": (payload: ObcAckAllVisibleClickEvent) => any;
|
|
12
15
|
"silence-click": (payload: CustomEvent<any>) => any;
|
|
13
16
|
"go-to-alert-list-click": (payload: CustomEvent<any>) => any;
|
|
14
17
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
15
19
|
"onAck-all-visible-click"?: ((payload: ObcAckAllVisibleClickEvent) => any) | undefined;
|
|
16
20
|
"onSilence-click"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
17
21
|
"onGo-to-alert-list-click"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
18
22
|
}>, {
|
|
23
|
+
open: boolean;
|
|
19
24
|
showSilenceButton: boolean;
|
|
25
|
+
softDismiss: boolean;
|
|
20
26
|
hasShelved: boolean;
|
|
21
27
|
canAckAll: boolean;
|
|
22
28
|
showAlertListButton: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as
|
|
1
|
+
import{defineComponent as f,reactive as v,useSlots as k,withDirectives as m,openBlock as B,createBlock as h,h as A}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js";const S=f({__name:"ObcAlertMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},hasShelved:{type:Boolean,default:void 0},canAckAll:{type:Boolean,default:void 0},showSilenceButton:{type:Boolean,default:void 0},showAlertListButton:{type:Boolean,default:void 0}},emits:["ack-all-visible-click","silence-click","go-to-alert-list-click","close"],setup(a,{emit:r}){const l=a,c=v({}),p={created(s){for(const o in l)c[o]=s[o]}};let n=!1;const t=r,d=k(),u=()=>{const o={onAckAllVisibleClick:e=>t("ack-all-visible-click",e),onSilenceClick:e=>t("silence-click",e),onGoToAlertListClick:e=>t("go-to-alert-list-click",e),onClose:e=>t("close",e)};for(const e in l){const i=l[e];(i!==void 0||n)&&(o[e]=i??c[e])}return n=!0,A("obc-alert-menu",o,y(d))};return(s,o)=>m((B(),h(u,null,null,512)),[[p]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcAlertMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAlertMenu.vue2.js","sources":["../../src/components/alert-menu/ObcAlertMenu.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-menu/alert-menu.js';\n import {ObcAckAllVisibleClickEvent} from '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';\n\n export interface Props {\n hasShelved?: boolean;\n canAckAll?: boolean;\n showSilenceButton?: boolean;\n showAlertListButton?: boolean\n }\n\n \n \n export type {ObcAckAllVisibleClickEvent} from '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertMenu',\n props: {\n hasShelved: { type: Boolean, default: undefined },\n canAckAll: { type: Boolean, default: undefined },\n showSilenceButton: { type: Boolean, default: undefined },\n showAlertListButton: { type: Boolean, default: undefined }\n },\n emits: [\"ack-all-visible-click\", \"silence-click\", \"go-to-alert-list-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 onAckAllVisibleClick: (event: ObcAckAllVisibleClickEvent) => emit('ack-all-visible-click', event as ObcAckAllVisibleClickEvent),\nonSilenceClick: (event: CustomEvent) => emit('silence-click', event as CustomEvent),\nonGoToAlertListClick: (event: CustomEvent) => emit('go-to-alert-list-click', 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-alert-menu',\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":"ObcAlertMenu.vue2.js","sources":["../../src/components/alert-menu/ObcAlertMenu.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-menu/alert-menu.js';\n import {ObcAckAllVisibleClickEvent} from '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n hasShelved?: boolean;\n canAckAll?: boolean;\n showSilenceButton?: boolean;\n showAlertListButton?: boolean\n }\n\n \n \n export type {ObcAckAllVisibleClickEvent} from '@oicl/openbridge-webcomponents/dist/components/alert-menu/alert-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAlertMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n hasShelved: { type: Boolean, default: undefined },\n canAckAll: { type: Boolean, default: undefined },\n showSilenceButton: { type: Boolean, default: undefined },\n showAlertListButton: { type: Boolean, default: undefined }\n },\n emits: [\"ack-all-visible-click\", \"silence-click\", \"go-to-alert-list-click\", \"close\"],\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 onAckAllVisibleClick: (event: ObcAckAllVisibleClickEvent) => emit('ack-all-visible-click', event as ObcAckAllVisibleClickEvent),\nonSilenceClick: (event: CustomEvent) => emit('silence-click', event as CustomEvent),\nonGoToAlertListClick: (event: CustomEvent) => emit('go-to-alert-list-click', event as CustomEvent),\nonClose: (event: CustomEvent<void>) => emit('close', 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-menu',\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":"oRAqBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,oBAAqB,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAE3D,MAAO,CAAC,wBAAyB,gBAAiB,yBAA0B,OAAO,EACnF,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,CAOnB,MAAMC,EANa,CACvB,qBAAuBC,GAAsCL,EAAK,wBAAyBK,CAAmC,EAClI,eAAiBA,GAAuBL,EAAK,gBAAiBK,CAAoB,EAClF,qBAAuBA,GAAuBL,EAAK,yBAA0BK,CAAoB,EACjG,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,iBACAH,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,9 +1,16 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/app-menu/app-menu.js';
|
|
2
2
|
export interface Props {
|
|
3
|
+
softDismiss?: boolean;
|
|
4
|
+
open?: boolean;
|
|
3
5
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
close: (payload: CustomEvent<void>) => any;
|
|
5
8
|
search: (payload: CustomEvent<string>) => any;
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
7
11
|
onSearch?: ((payload: CustomEvent<string>) => any) | undefined;
|
|
8
|
-
}>, {
|
|
12
|
+
}>, {
|
|
13
|
+
open: boolean;
|
|
14
|
+
softDismiss: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
16
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as d,reactive as m,useSlots as v,withDirectives as h,openBlock as _,createBlock as B,h as D}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/app-menu/app-menu.js";const x=d({__name:"ObcAppMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0}},emits:["search","close"],setup(a,{emit:i}){const t=a,n=m({}),l={created(s){for(const o in t)n[o]=s[o]}};let r=!1;const c=i,u=v(),f=()=>{const o={onSearch:e=>c("search",e),onClose:e=>c("close",e)};for(const e in t){const p=t[e];(p!==void 0||r)&&(o[e]=p??n[e])}return r=!0,D("obc-app-menu",o,P(u))};return(s,o)=>h((_(),B(f,null,null,512)),[[l]])}});export{x as default};
|
|
2
2
|
//# sourceMappingURL=ObcAppMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcAppMenu.vue2.js","sources":["../../src/components/app-menu/ObcAppMenu.vue?vue&type=script&setup=true&lang.ts"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { h, useSlots } from \"vue\";\n import { assignSlotNodes, Slots } from \"@lit-labs/vue-utils/wrapper-utils.js\";\n import '@oicl/openbridge-webcomponents/dist/components/app-menu/app-menu.js';\n \n\n export interface Props {\n \n }\n\n \n\
|
|
1
|
+
{"version":3,"file":"ObcAppMenu.vue2.js","sources":["../../src/components/app-menu/ObcAppMenu.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/app-menu/app-menu.js';\n \n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcAppMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined }\n },\n emits: [\"search\", \"close\"],\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 onSearch: (event: CustomEvent<string>) => emit('search', event as CustomEvent<string>),\nonClose: (event: CustomEvent<void>) => emit('close', 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-app-menu',\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":"gRAeA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAE5C,MAAO,CAAC,SAAU,OAAO,EACzB,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,SAAWC,GAA+BL,EAAK,SAAUK,CAA4B,EACzF,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,eACAH,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,6 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
|
|
2
2
|
import { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
softDismiss?: boolean;
|
|
5
|
+
open?: boolean;
|
|
4
6
|
palette?: ObcPalette;
|
|
5
7
|
brightness?: number;
|
|
6
8
|
showLinkBrightness?: boolean;
|
|
@@ -22,18 +24,22 @@ export interface Props {
|
|
|
22
24
|
}
|
|
23
25
|
export type { ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant } from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';
|
|
24
26
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
|
+
close: (payload: CustomEvent<void>) => any;
|
|
25
28
|
"palette-changed": (payload: ObcPaletteChangeEvent) => any;
|
|
26
29
|
"brightness-changed": (payload: ObcBrightnessChangeEvent) => any;
|
|
27
30
|
"link-palette-changed": (payload: ObcLinkPaletteChangeEvent) => any;
|
|
28
31
|
"link-brightness-changed": (payload: ObcLinkBrightnessChangeEvent) => any;
|
|
29
32
|
"screen-control-link-clicked": (payload: CustomEvent<any>) => any;
|
|
30
33
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
31
35
|
"onPalette-changed"?: ((payload: ObcPaletteChangeEvent) => any) | undefined;
|
|
32
36
|
"onBrightness-changed"?: ((payload: ObcBrightnessChangeEvent) => any) | undefined;
|
|
33
37
|
"onLink-palette-changed"?: ((payload: ObcLinkPaletteChangeEvent) => any) | undefined;
|
|
34
38
|
"onLink-brightness-changed"?: ((payload: ObcLinkBrightnessChangeEvent) => any) | undefined;
|
|
35
39
|
"onScreen-control-link-clicked"?: ((payload: CustomEvent<any>) => any) | undefined;
|
|
36
40
|
}>, {
|
|
41
|
+
open: boolean;
|
|
42
|
+
softDismiss: boolean;
|
|
37
43
|
showLinkBrightness: boolean;
|
|
38
44
|
showLinkPalette: boolean;
|
|
39
45
|
showBrightness: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as g,reactive as u,useSlots as f,withDirectives as v,openBlock as
|
|
1
|
+
import{defineComponent as g,reactive as u,useSlots as f,withDirectives as v,openBlock as B,createBlock as k,h as b}from"vue";import{assignSlotNodes as m}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js";const C=g({__name:"ObcBrillianceMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},palette:{},brightness:{},showLinkBrightness:{type:Boolean,default:void 0},showLinkPalette:{type:Boolean,default:void 0},showBrightness:{type:Boolean,default:void 0},showPalette:{type:Boolean,default:void 0},showNightPalette:{type:Boolean,default:void 0},showDuskPalette:{type:Boolean,default:void 0},showDayPalette:{type:Boolean,default:void 0},showBrightPalette:{type:Boolean,default:void 0},variant:{},brightnessUnit:{},brightnessMax:{},brightnessMinorStep:{},brightnessMajorStep:{},brightnessInputVariant:{},showScreenControlLink:{type:Boolean,default:void 0},showAdditionalScreenControls:{type:Boolean,default:void 0}},emits:["palette-changed","brightness-changed","link-palette-changed","link-brightness-changed","screen-control-link-clicked","close"],setup(r,{emit:d}){const o=r,l=u({}),c={created(s){for(const n in o)l[n]=s[n]}};let a=!1;const t=d,h=f(),p=()=>{const n={onPaletteChanged:e=>t("palette-changed",e),onBrightnessChanged:e=>t("brightness-changed",e),onLinkPaletteChanged:e=>t("link-palette-changed",e),onLinkBrightnessChanged:e=>t("link-brightness-changed",e),onScreenControlLinkClicked:e=>t("screen-control-link-clicked",e),onClose:e=>t("close",e)};for(const e in o){const i=o[e];(i!==void 0||a)&&(n[e]=i??l[e])}return a=!0,b("obc-brilliance-menu",n,m(h))};return(s,n)=>v((B(),k(p,null,null,512)),[[c]])}});export{C as default};
|
|
2
2
|
//# sourceMappingURL=ObcBrillianceMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcBrillianceMenu.vue2.js","sources":["../../src/components/brilliance-menu/ObcBrillianceMenu.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/brilliance-menu/brilliance-menu.js';\n import {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\n\n export interface Props {\n palette?: ObcPalette;\n brightness?: number;\n showLinkBrightness?: boolean;\n showLinkPalette?: boolean;\n showBrightness?: boolean;\n showPalette?: boolean;\n showNightPalette?: boolean;\n showDuskPalette?: boolean;\n showDayPalette?: boolean;\n showBrightPalette?: boolean;\n variant?: ObcBrillianceMenuVariant;\n brightnessUnit?: string;\n brightnessMax?: number;\n brightnessMinorStep?: number;\n brightnessMajorStep?: number;\n brightnessInputVariant?: ObcBrillianceInputVariant;\n showScreenControlLink?: boolean;\n showAdditionalScreenControls?: boolean\n }\n\n \n \n export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBrillianceMenu',\n props: {\n palette: {},\n brightness: {},\n showLinkBrightness: { type: Boolean, default: undefined },\n showLinkPalette: { type: Boolean, default: undefined },\n showBrightness: { type: Boolean, default: undefined },\n showPalette: { type: Boolean, default: undefined },\n showNightPalette: { type: Boolean, default: undefined },\n showDuskPalette: { type: Boolean, default: undefined },\n showDayPalette: { type: Boolean, default: undefined },\n showBrightPalette: { type: Boolean, default: undefined },\n variant: {},\n brightnessUnit: {},\n brightnessMax: {},\n brightnessMinorStep: {},\n brightnessMajorStep: {},\n brightnessInputVariant: {},\n showScreenControlLink: { type: Boolean, default: undefined },\n showAdditionalScreenControls: { type: Boolean, default: undefined }\n },\n emits: [\"palette-changed\", \"brightness-changed\", \"link-palette-changed\", \"link-brightness-changed\", \"screen-control-link-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 onPaletteChanged: (event: ObcPaletteChangeEvent) => emit('palette-changed', event as ObcPaletteChangeEvent),\nonBrightnessChanged: (event: ObcBrightnessChangeEvent) => emit('brightness-changed', event as ObcBrightnessChangeEvent),\nonLinkPaletteChanged: (event: ObcLinkPaletteChangeEvent) => emit('link-palette-changed', event as ObcLinkPaletteChangeEvent),\nonLinkBrightnessChanged: (event: ObcLinkBrightnessChangeEvent) => emit('link-brightness-changed', event as ObcLinkBrightnessChangeEvent),\nonScreenControlLinkClicked: (event: CustomEvent) => emit('screen-control-link-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-brilliance-menu',\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":"ObcBrillianceMenu.vue2.js","sources":["../../src/components/brilliance-menu/ObcBrillianceMenu.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/brilliance-menu/brilliance-menu.js';\n import {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n palette?: ObcPalette;\n brightness?: number;\n showLinkBrightness?: boolean;\n showLinkPalette?: boolean;\n showBrightness?: boolean;\n showPalette?: boolean;\n showNightPalette?: boolean;\n showDuskPalette?: boolean;\n showDayPalette?: boolean;\n showBrightPalette?: boolean;\n variant?: ObcBrillianceMenuVariant;\n brightnessUnit?: string;\n brightnessMax?: number;\n brightnessMinorStep?: number;\n brightnessMajorStep?: number;\n brightnessInputVariant?: ObcBrillianceInputVariant;\n showScreenControlLink?: boolean;\n showAdditionalScreenControls?: boolean\n }\n\n \n \n export type {ObcPaletteChangeEvent, ObcBrightnessChangeEvent, ObcLinkPaletteChangeEvent, ObcLinkBrightnessChangeEvent, ObcPalette, ObcBrillianceMenuVariant, ObcBrillianceInputVariant} from '@oicl/openbridge-webcomponents/dist/components/brilliance-menu/brilliance-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcBrillianceMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n palette: {},\n brightness: {},\n showLinkBrightness: { type: Boolean, default: undefined },\n showLinkPalette: { type: Boolean, default: undefined },\n showBrightness: { type: Boolean, default: undefined },\n showPalette: { type: Boolean, default: undefined },\n showNightPalette: { type: Boolean, default: undefined },\n showDuskPalette: { type: Boolean, default: undefined },\n showDayPalette: { type: Boolean, default: undefined },\n showBrightPalette: { type: Boolean, default: undefined },\n variant: {},\n brightnessUnit: {},\n brightnessMax: {},\n brightnessMinorStep: {},\n brightnessMajorStep: {},\n brightnessInputVariant: {},\n showScreenControlLink: { type: Boolean, default: undefined },\n showAdditionalScreenControls: { type: Boolean, default: undefined }\n },\n emits: [\"palette-changed\", \"brightness-changed\", \"link-palette-changed\", \"link-brightness-changed\", \"screen-control-link-clicked\", \"close\"],\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 onPaletteChanged: (event: ObcPaletteChangeEvent) => emit('palette-changed', event as ObcPaletteChangeEvent),\nonBrightnessChanged: (event: ObcBrightnessChangeEvent) => emit('brightness-changed', event as ObcBrightnessChangeEvent),\nonLinkPaletteChanged: (event: ObcLinkPaletteChangeEvent) => emit('link-palette-changed', event as ObcLinkPaletteChangeEvent),\nonLinkBrightnessChanged: (event: ObcLinkBrightnessChangeEvent) => emit('link-brightness-changed', event as ObcLinkBrightnessChangeEvent),\nonScreenControlLinkClicked: (event: CustomEvent) => emit('screen-control-link-clicked', event as CustomEvent),\nonClose: (event: CustomEvent<void>) => emit('close', 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-brilliance-menu',\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":"8RAmCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,QAAS,CAAA,EACT,WAAY,CAAA,EACZ,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,iBAAkB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC5C,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,kBAAmB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC7C,QAAS,CAAA,EACT,eAAgB,CAAA,EAChB,cAAe,CAAA,EACf,oBAAqB,CAAA,EACrB,oBAAqB,CAAA,EACrB,uBAAwB,CAAA,EACxB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,EACjD,6BAA8B,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEpE,MAAO,CAAC,kBAAmB,qBAAsB,uBAAwB,0BAA2B,8BAA+B,OAAO,EAC1I,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,CASnB,MAAMC,EARa,CACvB,iBAAmBC,GAAiCL,EAAK,kBAAmBK,CAA8B,EAC9G,oBAAsBA,GAAoCL,EAAK,qBAAsBK,CAAiC,EACtH,qBAAuBA,GAAqCL,EAAK,uBAAwBK,CAAkC,EAC3H,wBAA0BA,GAAwCL,EAAK,0BAA2BK,CAAqC,EACvI,2BAA6BA,GAAuBL,EAAK,8BAA+BK,CAAoB,EAC5G,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,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"}
|
|
@@ -24,6 +24,11 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
24
24
|
"today-click": (payload: CustomEvent<void>) => any;
|
|
25
25
|
"new-event-click": (payload: CustomEvent<void>) => any;
|
|
26
26
|
"calendar-click": (payload: CustomEvent<void>) => any;
|
|
27
|
+
"event-click": (payload: CustomEvent<{
|
|
28
|
+
title: string;
|
|
29
|
+
startTime: string;
|
|
30
|
+
endTime: string;
|
|
31
|
+
}>) => any;
|
|
27
32
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
28
33
|
"onMonth-change"?: ((payload: CustomEvent<{
|
|
29
34
|
date: Date;
|
|
@@ -35,6 +40,11 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
35
40
|
"onToday-click"?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
36
41
|
"onNew-event-click"?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
37
42
|
"onCalendar-click"?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
43
|
+
"onEvent-click"?: ((payload: CustomEvent<{
|
|
44
|
+
title: string;
|
|
45
|
+
startTime: string;
|
|
46
|
+
endTime: string;
|
|
47
|
+
}>) => any) | undefined;
|
|
38
48
|
}>, {
|
|
39
49
|
hasEventList: boolean;
|
|
40
50
|
hasFooter: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as v,reactive as
|
|
1
|
+
import{defineComponent as v,reactive as k,useSlots as u,withDirectives as m,openBlock as h,createBlock as C,h as y}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/calendar/calendar.js";const B=v({__name:"ObcCalendar",props:{type:{},date:{},selectedDate:{},events:{},hasEventList:{type:Boolean,default:void 0},hasFooter:{type:Boolean,default:void 0},locale:{},firstDayOfWeek:{},footerLabel:{},footerHref:{}},emits:["month-change","date-select","today-click","new-event-click","calendar-click","event-click"],setup(r,{emit:i}){const n=r,a=k({}),d={created(c){for(const o in n)a[o]=c[o]}};let l=!1;const t=i,p=u(),f=()=>{const o={onMonthChange:e=>t("month-change",e),onDateSelect:e=>t("date-select",e),onTodayClick:e=>t("today-click",e),onNewEventClick:e=>t("new-event-click",e),onCalendarClick:e=>t("calendar-click",e),onEventClick:e=>t("event-click",e)};for(const e in n){const s=n[e];(s!==void 0||l)&&(o[e]=s??a[e])}return l=!0,y("obc-calendar",o,_(p))};return(c,o)=>m((h(),C(f,null,null,512)),[[d]])}});export{B as default};
|
|
2
2
|
//# sourceMappingURL=ObcCalendar.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCalendar.vue2.js","sources":["../../src/components/calendar/ObcCalendar.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/calendar/calendar.js';\n import {CalendarEvent, CalendarType} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';\n\n export interface Props {\n type?: CalendarType;\n date?: Date;\n selectedDate?: Date | null;\n events?: CalendarEvent[];\n hasEventList?: boolean;\n hasFooter?: boolean;\n locale?: string | undefined;\n firstDayOfWeek?: number;\n footerLabel?: string;\n footerHref?: string | undefined\n }\n\n \n \n export type {CalendarEvent, CalendarType} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCalendar',\n props: {\n type: {},\n date: {},\n selectedDate: {},\n events: {},\n hasEventList: { type: Boolean, default: undefined },\n hasFooter: { type: Boolean, default: undefined },\n locale: {},\n firstDayOfWeek: {},\n footerLabel: {},\n footerHref: {}\n },\n emits: [\"month-change\", \"date-select\", \"today-click\", \"new-event-click\", \"calendar-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 onMonthChange: (event: CustomEvent<{date: Date}>) => emit('month-change', event as CustomEvent<{date: Date}>),\nonDateSelect: (event: CustomEvent<{date: Date, events: CalendarEvent[]}>) => emit('date-select', event as CustomEvent<{date: Date, events: CalendarEvent[]}>),\nonTodayClick: (event: CustomEvent<void>) => emit('today-click', event as CustomEvent<void>),\nonNewEventClick: (event: CustomEvent<void>) => emit('new-event-click', event as CustomEvent<void>),\nonCalendarClick: (event: CustomEvent<void>) => emit('calendar-click', 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-calendar',\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":"gRAyBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,KAAM,CAAA,EACN,KAAM,CAAA,EACN,aAAc,CAAA,EACd,OAAQ,CAAA,EACR,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,OAAQ,CAAA,EACR,eAAgB,CAAA,EAChB,YAAa,CAAA,EACb,WAAY,CAAA,CAAC,EAEf,MAAO,CAAC,eAAgB,cAAe,cAAe,kBAAmB,
|
|
1
|
+
{"version":3,"file":"ObcCalendar.vue2.js","sources":["../../src/components/calendar/ObcCalendar.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/calendar/calendar.js';\n import {CalendarEvent, CalendarType} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';\n\n export interface Props {\n type?: CalendarType;\n date?: Date;\n selectedDate?: Date | null;\n events?: CalendarEvent[];\n hasEventList?: boolean;\n hasFooter?: boolean;\n locale?: string | undefined;\n firstDayOfWeek?: number;\n footerLabel?: string;\n footerHref?: string | undefined\n }\n\n \n \n export type {CalendarEvent, CalendarType} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCalendar',\n props: {\n type: {},\n date: {},\n selectedDate: {},\n events: {},\n hasEventList: { type: Boolean, default: undefined },\n hasFooter: { type: Boolean, default: undefined },\n locale: {},\n firstDayOfWeek: {},\n footerLabel: {},\n footerHref: {}\n },\n emits: [\"month-change\", \"date-select\", \"today-click\", \"new-event-click\", \"calendar-click\", \"event-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 onMonthChange: (event: CustomEvent<{date: Date}>) => emit('month-change', event as CustomEvent<{date: Date}>),\nonDateSelect: (event: CustomEvent<{date: Date, events: CalendarEvent[]}>) => emit('date-select', event as CustomEvent<{date: Date, events: CalendarEvent[]}>),\nonTodayClick: (event: CustomEvent<void>) => emit('today-click', event as CustomEvent<void>),\nonNewEventClick: (event: CustomEvent<void>) => emit('new-event-click', event as CustomEvent<void>),\nonCalendarClick: (event: CustomEvent<void>) => emit('calendar-click', event as CustomEvent<void>),\nonEventClick: (event: CustomEvent<{title: string, startTime: string, endTime: string}>) => emit('event-click', event as CustomEvent<{title: string, startTime: string, endTime: string}>)\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-calendar',\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":"gRAyBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,KAAM,CAAA,EACN,KAAM,CAAA,EACN,aAAc,CAAA,EACd,OAAQ,CAAA,EACR,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,OAAQ,CAAA,EACR,eAAgB,CAAA,EAChB,YAAa,CAAA,EACb,WAAY,CAAA,CAAC,EAEf,MAAO,CAAC,eAAgB,cAAe,cAAe,kBAAmB,iBAAkB,aAAa,EACxG,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,CASnB,MAAMC,EARa,CACvB,cAAgBC,GAAqCL,EAAK,eAAgBK,CAAkC,EAChH,aAAeA,GAA8DL,EAAK,cAAeK,CAA2D,EAC5J,aAAeA,GAA6BL,EAAK,cAAeK,CAA0B,EAC1F,gBAAkBA,GAA6BL,EAAK,kBAAmBK,CAA0B,EACjG,gBAAkBA,GAA6BL,EAAK,iBAAkBK,CAA0B,EAChG,aAAeA,GAA4EL,EAAK,cAAeK,CAAyE,CAAA,EAKlL,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,eACAH,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,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/command-menu/command-menu.js';
|
|
2
2
|
export interface Props {
|
|
3
|
+
softDismiss?: boolean;
|
|
4
|
+
open?: boolean;
|
|
3
5
|
inCommand?: boolean;
|
|
4
6
|
showLocation?: boolean;
|
|
5
7
|
}
|
|
@@ -7,11 +9,15 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
7
9
|
change: (payload: CustomEvent<{
|
|
8
10
|
inCommand: boolean;
|
|
9
11
|
}>) => any;
|
|
12
|
+
close: (payload: CustomEvent<void>) => any;
|
|
10
13
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
14
|
onChange?: ((payload: CustomEvent<{
|
|
12
15
|
inCommand: boolean;
|
|
13
16
|
}>) => any) | undefined;
|
|
17
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
14
18
|
}>, {
|
|
19
|
+
open: boolean;
|
|
20
|
+
softDismiss: boolean;
|
|
15
21
|
inCommand: boolean;
|
|
16
22
|
showLocation: boolean;
|
|
17
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as u,reactive as f,useSlots as v,withDirectives as h,openBlock as
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as v,withDirectives as h,openBlock as B,createBlock as _,h as C}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/command-menu/command-menu.js";const b=u({__name:"ObcCommandMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},inCommand:{type:Boolean,default:void 0},showLocation:{type:Boolean,default:void 0}},emits:["change","close"],setup(i,{emit:l}){const t=i,s=f({}),p={created(n){for(const o in t)s[o]=n[o]}};let c=!1;const a=l,d=v(),m=()=>{const o={onChange:e=>a("change",e),onClose:e=>a("close",e)};for(const e in t){const r=t[e];(r!==void 0||c)&&(o[e]=r??s[e])}return c=!0,C("obc-command-menu",o,g(d))};return(n,o)=>h((B(),_(m,null,null,512)),[[p]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcCommandMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcCommandMenu.vue2.js","sources":["../../src/components/command-menu/ObcCommandMenu.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/command-menu/command-menu.js';\n \n\n export interface Props {\n inCommand?: boolean;\n showLocation?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCommandMenu',\n props: {\n inCommand: { type: Boolean, default: undefined },\n showLocation: { type: Boolean, default: undefined }\n },\n emits: [\"change\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onChange: (event: CustomEvent<{inCommand: boolean}>) => emit('change', event as CustomEvent<{inCommand: boolean}>)\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-command-menu',\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":"ObcCommandMenu.vue2.js","sources":["../../src/components/command-menu/ObcCommandMenu.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/command-menu/command-menu.js';\n \n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n inCommand?: boolean;\n showLocation?: boolean\n }\n\n \n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcCommandMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n inCommand: { type: Boolean, default: undefined },\n showLocation: { type: Boolean, default: undefined }\n },\n emits: [\"change\", \"close\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onChange: (event: CustomEvent<{inCommand: boolean}>) => emit('change', event as CustomEvent<{inCommand: boolean}>),\nonClose: (event: CustomEvent<void>) => emit('close', 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-command-menu',\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":"wRAiBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,iBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEpD,MAAO,CAAC,SAAU,OAAO,EACzB,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,SAAWC,GAA6CL,EAAK,SAAUK,CAA0C,EACrH,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,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,6 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
2
2
|
import { ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup } from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
softDismiss?: boolean;
|
|
5
|
+
open?: boolean;
|
|
4
6
|
type?: ContextMenuType;
|
|
5
7
|
options?: ContextMenuOption[];
|
|
6
8
|
selectedValues?: string[];
|
|
@@ -21,6 +23,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
21
23
|
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
22
24
|
"onItem-click"?: ((payload: ObcContextMenuInputItemClickEvent) => any) | undefined;
|
|
23
25
|
}>, {
|
|
26
|
+
open: boolean;
|
|
27
|
+
softDismiss: boolean;
|
|
24
28
|
hasTitleBar: boolean;
|
|
25
29
|
multiSelect: boolean;
|
|
26
30
|
selectPerGroup: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as m,reactive as f,useSlots as v,withDirectives as h,openBlock as B,createBlock as y,h as C}from"vue";import{assignSlotNodes as _}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js";const x=m({__name:"ObcContextMenuInput",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},type:{},options:{},selectedValues:{},hasTitleBar:{type:Boolean,default:void 0},title:{},columnGroups:{},itemsPerColumn:{},multiSelect:{type:Boolean,default:void 0},selectPerGroup:{type:Boolean,default:void 0}},emits:["change","item-click","close"],setup(r,{emit:a}){const o=r,l=f({}),p={created(s){for(const t in o)l[t]=s[t]}};let c=!1;const n=a,u=v(),d=()=>{const t={onChange:e=>n("change",e),onItemClick:e=>n("item-click",e),onClose:e=>n("close",e)};for(const e in o){const i=o[e];(i!==void 0||c)&&(t[e]=i??l[e])}return c=!0,C("obc-context-menu-input",t,_(u))};return(s,t)=>h((B(),y(d,null,null,512)),[[p]])}});export{x as default};
|
|
2
2
|
//# sourceMappingURL=ObcContextMenuInput.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcContextMenuInput.vue2.js","sources":["../../src/components/context-menu-input/ObcContextMenuInput.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/context-menu-input/context-menu-input.js';\n import {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';\n\n export interface Props {\n type?: ContextMenuType;\n options?: ContextMenuOption[];\n selectedValues?: string[];\n hasTitleBar?: boolean;\n title?: string;\n columnGroups?: ColumnGroup[];\n itemsPerColumn?: number;\n multiSelect?: boolean | undefined;\n selectPerGroup?: boolean | undefined\n }\n\n \n \n export type {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcContextMenuInput',\n props: {\n type: {},\n options: {},\n selectedValues: {},\n hasTitleBar: { type: Boolean, default: undefined },\n title: {},\n columnGroups: {},\n itemsPerColumn: {},\n multiSelect: { type: Boolean, default: undefined },\n selectPerGroup: { type: Boolean, default: undefined }\n },\n emits: [\"change\", \"item-click\", \"close\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onChange: (event: ObcContextMenuInputChangeEvent) => emit('change', event as ObcContextMenuInputChangeEvent),\nonItemClick: (event: ObcContextMenuInputItemClickEvent) => emit('item-click', event as ObcContextMenuInputItemClickEvent),\nonClose: (event: CustomEvent<void>) => emit('close', 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-context-menu-input',\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":"ObcContextMenuInput.vue2.js","sources":["../../src/components/context-menu-input/ObcContextMenuInput.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/context-menu-input/context-menu-input.js';\n import {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n type?: ContextMenuType;\n options?: ContextMenuOption[];\n selectedValues?: string[];\n hasTitleBar?: boolean;\n title?: string;\n columnGroups?: ColumnGroup[];\n itemsPerColumn?: number;\n multiSelect?: boolean | undefined;\n selectPerGroup?: boolean | undefined\n }\n\n \n \n export type {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcContextMenuInput',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n type: {},\n options: {},\n selectedValues: {},\n hasTitleBar: { type: Boolean, default: undefined },\n title: {},\n columnGroups: {},\n itemsPerColumn: {},\n multiSelect: { type: Boolean, default: undefined },\n selectPerGroup: { type: Boolean, default: undefined }\n },\n emits: [\"change\", \"item-click\", \"close\"],\n setup(__props: any, { emit: __emit }) {\n\n const vueProps = __props;\n\n const defaults = reactive({} as Props);\n const vDefaults = {\n created(el: any) {\n for (const p in vueProps) {\n defaults[p as keyof Props] = el[p];\n }\n }\n };\n\n let hasRendered = false;\n\n const emit = __emit;\n\n const slots = useSlots() as Slots;\n\n const render = () => {\n const eventProps = {\n onChange: (event: ObcContextMenuInputChangeEvent) => emit('change', event as ObcContextMenuInputChangeEvent),\nonItemClick: (event: ObcContextMenuInputItemClickEvent) => emit('item-click', event as ObcContextMenuInputItemClickEvent),\nonClose: (event: CustomEvent<void>) => emit('close', 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-context-menu-input',\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":"oSA0BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,sBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,KAAM,CAAA,EACN,QAAS,CAAA,EACT,eAAgB,CAAA,EAChB,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,MAAO,CAAA,EACP,aAAc,CAAA,EACd,eAAgB,CAAA,EAChB,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEtD,MAAO,CAAC,SAAU,aAAc,OAAO,EACvC,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,CAMnB,MAAMC,EALa,CACvB,SAAWC,GAA0CL,EAAK,SAAUK,CAAuC,EAC/G,YAAcA,GAA6CL,EAAK,aAAcK,CAA0C,EACxH,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,yBACAH,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,11 @@ export interface Props {
|
|
|
13
13
|
export type { DateItemEvent } from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
14
14
|
export type { DateItemSize } from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';
|
|
15
15
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
"event-click": (payload: CustomEvent<{
|
|
17
|
+
title: string;
|
|
18
|
+
startTime: string;
|
|
19
|
+
endTime: string;
|
|
20
|
+
}>) => any;
|
|
16
21
|
"date-click": (payload: CustomEvent<{
|
|
17
22
|
date: number;
|
|
18
23
|
events: DateItemEvent[];
|
|
@@ -20,6 +25,11 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
20
25
|
checked: boolean;
|
|
21
26
|
}>) => any;
|
|
22
27
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
"onEvent-click"?: ((payload: CustomEvent<{
|
|
29
|
+
title: string;
|
|
30
|
+
startTime: string;
|
|
31
|
+
endTime: string;
|
|
32
|
+
}>) => any) | undefined;
|
|
23
33
|
"onDate-click"?: ((payload: CustomEvent<{
|
|
24
34
|
date: number;
|
|
25
35
|
events: DateItemEvent[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as v,reactive as f,useSlots as m,withDirectives as k,openBlock as _,createBlock as h,h as B}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js";const P=v({__name:"ObcDateItem",props:{size:{},disabled:{type:Boolean,default:void 0},events:{},eventCount:{},isToday:{type:Boolean,default:void 0},checked:{type:Boolean,default:void 0},date:{}},emits:["date-click","event-click"],setup(l,{emit:r}){const o=l,s=f({}),d={created(n){for(const t in o)s[t]=n[t]}};let c=!1;const i=r,p=m(),u=()=>{const t={onDateClick:e=>i("date-click",e),onEventClick:e=>i("event-click",e)};for(const e in o){const a=o[e];(a!==void 0||c)&&(t[e]=a??s[e])}return c=!0,B("obc-date-item",t,y(p))};return(n,t)=>k((_(),h(u,null,null,512)),[[d]])}});export{P as default};
|
|
2
2
|
//# sourceMappingURL=ObcDateItem.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcDateItem.vue2.js","sources":["../../src/components/date-item/ObcDateItem.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/date-item/date-item.js';\n import {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\nimport {DateItemSize} from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';\n\n export interface Props {\n size?: DateItemSize;\n disabled?: boolean;\n events?: DateItemEvent[];\n eventCount?: number;\n isToday?: boolean;\n checked?: boolean;\n date?: number\n }\n\n \n \n export type {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\nexport type {DateItemSize} from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDateItem',\n props: {\n size: {},\n disabled: { type: Boolean, default: undefined },\n events: {},\n eventCount: {},\n isToday: { type: Boolean, default: undefined },\n checked: { type: Boolean, default: undefined },\n date: {}\n },\n emits: [\"date-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 onDateClick: (event: CustomEvent<{date: number, events: DateItemEvent[], isToday: boolean, checked: boolean}>) => emit('date-click', event as CustomEvent<{date: number, events: DateItemEvent[], isToday: boolean, checked: boolean}>)\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-date-item',\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":"kRAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,OAAQ,CAAA,EACR,WAAY,CAAA,EACZ,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,KAAM,CAAA,CAAC,EAET,MAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"ObcDateItem.vue2.js","sources":["../../src/components/date-item/ObcDateItem.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/date-item/date-item.js';\n import {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\nimport {DateItemSize} from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';\n\n export interface Props {\n size?: DateItemSize;\n disabled?: boolean;\n events?: DateItemEvent[];\n eventCount?: number;\n isToday?: boolean;\n checked?: boolean;\n date?: number\n }\n\n \n \n export type {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\nexport type {DateItemSize} from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcDateItem',\n props: {\n size: {},\n disabled: { type: Boolean, default: undefined },\n events: {},\n eventCount: {},\n isToday: { type: Boolean, default: undefined },\n checked: { type: Boolean, default: undefined },\n date: {}\n },\n emits: [\"date-click\", \"event-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 onDateClick: (event: CustomEvent<{date: number, events: DateItemEvent[], isToday: boolean, checked: boolean}>) => emit('date-click', event as CustomEvent<{date: number, events: DateItemEvent[], isToday: boolean, checked: boolean}>),\nonEventClick: (event: CustomEvent<{title: string, startTime: string, endTime: string}>) => emit('event-click', event as CustomEvent<{title: string, startTime: string, endTime: string}>)\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-date-item',\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":"kRAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,KAAM,CAAA,EACN,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,OAAQ,CAAA,EACR,WAAY,CAAA,EACZ,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,KAAM,CAAA,CAAC,EAET,MAAO,CAAC,aAAc,aAAa,EACnC,MAAMC,EAAc,CAAE,KAAMC,GAAU,CAElC,MAAMC,EAAWF,EAEfG,EAAWC,EAAS,EAAW,EAC/BC,EAAY,CAChB,QAAQC,EAAS,CACf,UAAWC,KAAKL,EACdC,EAASI,CAAgB,EAAID,EAAGC,CAAC,CAErC,CAAA,EAGF,IAAIC,EAAc,GAEd,MAAMC,EAAOR,EAEPS,EAAQC,EAAA,EAERC,EAAS,IAAM,CAKnB,MAAMC,EAJa,CACvB,YAAcC,GAAoGL,EAAK,aAAcK,CAAiG,EAC1O,aAAeA,GAA4EL,EAAK,cAAeK,CAAyE,CAAA,EAKlL,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,gBACAH,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"}
|
|
@@ -7,7 +7,19 @@ export interface Props {
|
|
|
7
7
|
locale?: string | undefined;
|
|
8
8
|
}
|
|
9
9
|
export type { DateItemEvent } from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
10
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"event-click": (payload: CustomEvent<{
|
|
12
|
+
title: string;
|
|
13
|
+
startTime: string;
|
|
14
|
+
endTime: string;
|
|
15
|
+
}>) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
"onEvent-click"?: ((payload: CustomEvent<{
|
|
18
|
+
title: string;
|
|
19
|
+
startTime: string;
|
|
20
|
+
endTime: string;
|
|
21
|
+
}>) => any) | undefined;
|
|
22
|
+
}>, {
|
|
11
23
|
showHeader: boolean;
|
|
12
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
25
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as u,reactive as f,useSlots as m,withDirectives as _,openBlock as h,createBlock as k,h as B}from"vue";import{assignSlotNodes as P}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/event-list/event-list.js";const C=u({__name:"ObcEventList",props:{showHeader:{type:Boolean,default:void 0},date:{},events:{},locale:{}},emits:["event-click"],setup(i,{emit:l}){const o=i,s=f({}),a={created(n){for(const e in o)s[e]=n[e]}};let c=!1;const p=l,v=m(),d=()=>{const e={onEventClick:t=>p("event-click",t)};for(const t in o){const r=o[t];(r!==void 0||c)&&(e[t]=r??s[t])}return c=!0,B("obc-event-list",e,P(v))};return(n,e)=>_((h(),k(d,null,null,512)),[[a]])}});export{C as default};
|
|
2
2
|
//# sourceMappingURL=ObcEventList.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcEventList.vue2.js","sources":["../../src/components/event-list/ObcEventList.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/event-list/event-list.js';\n import {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\n\n export interface Props {\n showHeader?: boolean;\n date?: number | Date;\n events?: DateItemEvent[];\n locale?: string | undefined\n }\n\n \n \n export type {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcEventList',\n props: {\n showHeader: { type: Boolean, default: undefined },\n date: {},\n events: {},\n locale: {}\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
|
|
1
|
+
{"version":3,"file":"ObcEventList.vue2.js","sources":["../../src/components/event-list/ObcEventList.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/event-list/event-list.js';\n import {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\n\n export interface Props {\n showHeader?: boolean;\n date?: number | Date;\n events?: DateItemEvent[];\n locale?: string | undefined\n }\n\n \n \n export type {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcEventList',\n props: {\n showHeader: { type: Boolean, default: undefined },\n date: {},\n events: {},\n locale: {}\n },\n emits: [\"event-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 onEventClick: (event: CustomEvent<{title: string, startTime: string, endTime: string}>) => emit('event-click', event as CustomEvent<{title: string, startTime: string, endTime: string}>)\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-event-list',\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":"oRAmBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,eACR,MAAO,CACL,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,KAAM,CAAA,EACN,OAAQ,CAAA,EACR,OAAQ,CAAA,CAAC,EAEX,MAAO,CAAC,aAAa,EACrB,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,aAAeC,GAA4EL,EAAK,cAAeK,CAAyE,CAAA,EAKtL,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,iBACAH,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"}
|
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
progress?: number | undefined;
|
|
12
12
|
hasLabel?: boolean;
|
|
13
13
|
showDivider?: boolean;
|
|
14
|
+
focusable?: boolean;
|
|
14
15
|
ariaLabel?: string | null;
|
|
15
16
|
}
|
|
16
17
|
export type { IconButtonVariant } from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';
|
|
@@ -22,6 +23,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
22
23
|
activated: boolean;
|
|
23
24
|
disabled: boolean;
|
|
24
25
|
showDivider: boolean;
|
|
26
|
+
focusable: boolean;
|
|
25
27
|
cornerLeft: boolean;
|
|
26
28
|
cornerRight: boolean;
|
|
27
29
|
activeColor: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as v,useSlots as
|
|
1
|
+
import{defineComponent as f,reactive as v,useSlots as B,withDirectives as m,openBlock as y,createBlock as b,h}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,default:void 0},cornerLeft:{type:Boolean,default:void 0},cornerRight:{type:Boolean,default:void 0},activeColor:{type:Boolean,default:void 0},wide:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},progress:{},hasLabel:{type:Boolean,default:void 0},showDivider:{type:Boolean,default:void 0},focusable:{type:Boolean,default:void 0},ariaLabel:{}},emits:["click"],setup(s,{emit:r}){const t=s,a=v({}),c={created(n){for(const e in t)a[e]=n[e]}};let l=!1;const d=r,p=B(),u=()=>{const e={onClick:o=>d("click",o)};for(const o in t){const i=t[o];(i!==void 0||l)&&(e[o]=i??a[o])}return l=!0,h("obc-icon-button",e,_(p))};return(n,e)=>m((y(),b(u,null,null,512)),[[c]])}});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 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, default: undefined },\n cornerLeft: { type: Boolean, default: undefined },\n cornerRight: { type: Boolean, default: undefined },\n activeColor: { type: Boolean, default: undefined },\n wide: { type: Boolean, default: undefined },\n disabled: { type: Boolean, default: undefined },\n progress: {},\n hasLabel: { type: Boolean, default: undefined },\n showDivider: { type: Boolean, default: undefined },\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","
|
|
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 focusable?: 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, default: undefined },\n cornerLeft: { type: Boolean, default: undefined },\n cornerRight: { type: Boolean, default: undefined },\n activeColor: { type: Boolean, default: undefined },\n wide: { type: Boolean, default: undefined },\n disabled: { type: Boolean, default: undefined },\n progress: {},\n hasLabel: { type: Boolean, default: undefined },\n showDivider: { type: Boolean, default: undefined },\n focusable: { type: Boolean, default: undefined },\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","assignSlotNodes","_ctx","_cache","_withDirectives","_openBlock","_createBlock"],"mappings":"iRA2BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,gBACR,MAAO,CACL,QAAS,CAAA,EACT,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,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,GAGL,EACL,kBACAK,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,12 +1,20 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
2
2
|
import { ObcNavigationMenuVariant, ObcNavigationMenuFlyoutVariant } from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
softDismiss?: boolean;
|
|
5
|
+
open?: boolean;
|
|
4
6
|
variant?: ObcNavigationMenuVariant;
|
|
5
7
|
flyoutVariant?: ObcNavigationMenuFlyoutVariant;
|
|
6
8
|
smallScreen?: boolean;
|
|
7
9
|
}
|
|
8
10
|
export type { ObcNavigationMenuVariant, ObcNavigationMenuFlyoutVariant } from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
9
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
close: (payload: CustomEvent<void>) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
open: boolean;
|
|
17
|
+
softDismiss: boolean;
|
|
10
18
|
smallScreen: boolean;
|
|
11
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
20
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as d,reactive as m,useSlots as v,withDirectives as _,openBlock as B,createBlock as h,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js";const b=d({__name:"ObcNavigationMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},variant:{},flyoutVariant:{},smallScreen:{type:Boolean,default:void 0}},emits:["close"],setup(i,{emit:c}){const t=i,s=m({}),l={created(n){for(const e in t)s[e]=n[e]}};let r=!1;const p=c,u=v(),f=()=>{const e={onClose:o=>p("close",o)};for(const o in t){const a=t[o];(a!==void 0||r)&&(e[o]=a??s[o])}return r=!0,y("obc-navigation-menu",e,g(u))};return(n,e)=>_((B(),h(f,null,null,512)),[[l]])}});export{b as default};
|
|
2
2
|
//# sourceMappingURL=ObcNavigationMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcNavigationMenu.vue2.js","sources":["../../src/components/navigation-menu/ObcNavigationMenu.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/navigation-menu/navigation-menu.js';\n import {ObcNavigationMenuVariant, ObcNavigationMenuFlyoutVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';\n\n export interface Props {\n variant?: ObcNavigationMenuVariant;\n flyoutVariant?: ObcNavigationMenuFlyoutVariant;\n smallScreen?: boolean\n }\n\n \n \n export type {ObcNavigationMenuVariant, ObcNavigationMenuFlyoutVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcNavigationMenu',\n props: {\n variant: {},\n flyoutVariant: {},\n smallScreen: { type: Boolean, default: undefined }\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
|
|
1
|
+
{"version":3,"file":"ObcNavigationMenu.vue2.js","sources":["../../src/components/navigation-menu/ObcNavigationMenu.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/navigation-menu/navigation-menu.js';\n import {ObcNavigationMenuVariant, ObcNavigationMenuFlyoutVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n variant?: ObcNavigationMenuVariant;\n flyoutVariant?: ObcNavigationMenuFlyoutVariant;\n smallScreen?: boolean\n }\n\n \n \n export type {ObcNavigationMenuVariant, ObcNavigationMenuFlyoutVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcNavigationMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n variant: {},\n flyoutVariant: {},\n smallScreen: { type: Boolean, default: undefined }\n },\n emits: [\"close\"],\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 onClose: (event: CustomEvent<void>) => emit('close', 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-navigation-menu',\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":"8RAoBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,oBACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,QAAS,CAAA,EACT,cAAe,CAAA,EACf,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEnD,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,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAK7E,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,sBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';
|
|
2
2
|
import { VolumeChangeEvent, WifiState, AudioState, MicrophoneState, BatteryState, SystemSubMenu } from '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
softDismiss?: boolean;
|
|
5
|
+
open?: boolean;
|
|
4
6
|
wifiState?: WifiState | undefined;
|
|
5
7
|
audioState?: AudioState | undefined;
|
|
6
8
|
microphoneState?: MicrophoneState | undefined;
|
|
@@ -13,6 +15,7 @@ export interface Props {
|
|
|
13
15
|
}
|
|
14
16
|
export type { VolumeChangeEvent, WifiState, AudioState, MicrophoneState, BatteryState, SystemSubMenu } from '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';
|
|
15
17
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
+
close: (payload: CustomEvent<void>) => any;
|
|
16
19
|
"wifi-click": (payload: CustomEvent<unknown>) => any;
|
|
17
20
|
"audio-click": (payload: CustomEvent<unknown>) => any;
|
|
18
21
|
"audio-volume-change": (payload: VolumeChangeEvent) => any;
|
|
@@ -29,6 +32,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
29
32
|
"wifi-options-click": (payload: CustomEvent<unknown>) => any;
|
|
30
33
|
"wifi-disconnect-click": (payload: CustomEvent<unknown>) => any;
|
|
31
34
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
32
36
|
"onWifi-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
33
37
|
"onAudio-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
34
38
|
"onAudio-volume-change"?: ((payload: VolumeChangeEvent) => any) | undefined;
|
|
@@ -45,6 +49,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
45
49
|
"onWifi-options-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
46
50
|
"onWifi-disconnect-click"?: ((payload: CustomEvent<unknown>) => any) | undefined;
|
|
47
51
|
}>, {
|
|
52
|
+
open: boolean;
|
|
53
|
+
softDismiss: boolean;
|
|
48
54
|
externalControl: boolean;
|
|
49
55
|
smallScreen: boolean;
|
|
50
56
|
condensed: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as h,reactive as g,useSlots as k,withDirectives as
|
|
1
|
+
import{defineComponent as h,reactive as g,useSlots as k,withDirectives as f,openBlock as m,createBlock as v,h as y}from"vue";import{assignSlotNodes as C}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js";const B=h({__name:"ObcSystemMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},wifiState:{},audioState:{},microphoneState:{},batteryState:{},condensed:{type:Boolean,default:void 0},showSettingsButton:{type:Boolean,default:void 0},activeSubMenu:{},externalControl:{type:Boolean,default:void 0},smallScreen:{type:Boolean,default:void 0}},emits:["wifi-click","audio-click","audio-volume-change","microphone-click","push-to-talk-change","battery-usage-click","battery-saving-mode-change","battery-mode-change","wifi-network-change","audio-output-change","microphone-input-change","settings-click","to-sub-menu-click","wifi-options-click","wifi-disconnect-click","close"],setup(l,{emit:u}){const n=l,c=g({}),r={created(i){for(const t in n)c[t]=i[t]}};let a=!1;const o=u,d=k(),p=()=>{const t={onWifiClick:e=>o("wifi-click",e),onAudioClick:e=>o("audio-click",e),onAudioVolumeChange:e=>o("audio-volume-change",e),onMicrophoneClick:e=>o("microphone-click",e),onPushToTalkChange:e=>o("push-to-talk-change",e),onBatteryUsageClick:e=>o("battery-usage-click",e),onBatterySavingModeChange:e=>o("battery-saving-mode-change",e),onBatteryModeChange:e=>o("battery-mode-change",e),onWifiNetworkChange:e=>o("wifi-network-change",e),onAudioOutputChange:e=>o("audio-output-change",e),onMicrophoneInputChange:e=>o("microphone-input-change",e),onSettingsClick:e=>o("settings-click",e),onToSubMenuClick:e=>o("to-sub-menu-click",e),onWifiOptionsClick:e=>o("wifi-options-click",e),onWifiDisconnectClick:e=>o("wifi-disconnect-click",e),onClose:e=>o("close",e)};for(const e in n){const s=n[e];(s!==void 0||a)&&(t[e]=s??c[e])}return a=!0,y("obc-system-menu",t,C(d))};return(i,t)=>f((m(),v(p,null,null,512)),[[r]])}});export{B as default};
|
|
2
2
|
//# sourceMappingURL=ObcSystemMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcSystemMenu.vue2.js","sources":["../../src/components/system-menu/ObcSystemMenu.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/system-menu/system-menu.js';\n import {VolumeChangeEvent, WifiState, AudioState, MicrophoneState, BatteryState, SystemSubMenu} from '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';\n\n export interface Props {\n wifiState?: WifiState | undefined;\n audioState?: AudioState | undefined;\n microphoneState?: MicrophoneState | undefined;\n batteryState?: BatteryState | undefined;\n condensed?: boolean;\n showSettingsButton?: boolean;\n activeSubMenu?: SystemSubMenu;\n externalControl?: boolean;\n smallScreen?: boolean\n }\n\n \n \n export type {VolumeChangeEvent, WifiState, AudioState, MicrophoneState, BatteryState, SystemSubMenu} from '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSystemMenu',\n props: {\n wifiState: {},\n audioState: {},\n microphoneState: {},\n batteryState: {},\n condensed: { type: Boolean, default: undefined },\n showSettingsButton: { type: Boolean, default: undefined },\n activeSubMenu: {},\n externalControl: { type: Boolean, default: undefined },\n smallScreen: { type: Boolean, default: undefined }\n },\n emits: [\"wifi-click\", \"audio-click\", \"audio-volume-change\", \"microphone-click\", \"push-to-talk-change\", \"battery-usage-click\", \"battery-saving-mode-change\", \"battery-mode-change\", \"wifi-network-change\", \"audio-output-change\", \"microphone-input-change\", \"settings-click\", \"to-sub-menu-click\", \"wifi-options-click\", \"wifi-disconnect-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 onWifiClick: (event: CustomEvent<unknown>) => emit('wifi-click', event as CustomEvent<unknown>),\nonAudioClick: (event: CustomEvent<unknown>) => emit('audio-click', event as CustomEvent<unknown>),\nonAudioVolumeChange: (event: VolumeChangeEvent) => emit('audio-volume-change', event as VolumeChangeEvent),\nonMicrophoneClick: (event: CustomEvent<unknown>) => emit('microphone-click', event as CustomEvent<unknown>),\nonPushToTalkChange: (event: CustomEvent<unknown>) => emit('push-to-talk-change', event as CustomEvent<unknown>),\nonBatteryUsageClick: (event: CustomEvent<unknown>) => emit('battery-usage-click', event as CustomEvent<unknown>),\nonBatterySavingModeChange: (event: CustomEvent<unknown>) => emit('battery-saving-mode-change', event as CustomEvent<unknown>),\nonBatteryModeChange: (event: CustomEvent<unknown>) => emit('battery-mode-change', event as CustomEvent<unknown>),\nonWifiNetworkChange: (event: CustomEvent<unknown>) => emit('wifi-network-change', event as CustomEvent<unknown>),\nonAudioOutputChange: (event: CustomEvent<unknown>) => emit('audio-output-change', event as CustomEvent<unknown>),\nonMicrophoneInputChange: (event: CustomEvent<unknown>) => emit('microphone-input-change', event as CustomEvent<unknown>),\nonSettingsClick: (event: CustomEvent<unknown>) => emit('settings-click', event as CustomEvent<unknown>),\nonToSubMenuClick: (event: CustomEvent<unknown>) => emit('to-sub-menu-click', event as CustomEvent<unknown>),\nonWifiOptionsClick: (event: CustomEvent<unknown>) => emit('wifi-options-click', event as CustomEvent<unknown>),\nonWifiDisconnectClick: (event: CustomEvent<unknown>) => emit('wifi-disconnect-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-system-menu',\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":"ObcSystemMenu.vue2.js","sources":["../../src/components/system-menu/ObcSystemMenu.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/system-menu/system-menu.js';\n import {VolumeChangeEvent, WifiState, AudioState, MicrophoneState, BatteryState, SystemSubMenu} from '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n wifiState?: WifiState | undefined;\n audioState?: AudioState | undefined;\n microphoneState?: MicrophoneState | undefined;\n batteryState?: BatteryState | undefined;\n condensed?: boolean;\n showSettingsButton?: boolean;\n activeSubMenu?: SystemSubMenu;\n externalControl?: boolean;\n smallScreen?: boolean\n }\n\n \n \n export type {VolumeChangeEvent, WifiState, AudioState, MicrophoneState, BatteryState, SystemSubMenu} from '@oicl/openbridge-webcomponents/dist/components/system-menu/system-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcSystemMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n wifiState: {},\n audioState: {},\n microphoneState: {},\n batteryState: {},\n condensed: { type: Boolean, default: undefined },\n showSettingsButton: { type: Boolean, default: undefined },\n activeSubMenu: {},\n externalControl: { type: Boolean, default: undefined },\n smallScreen: { type: Boolean, default: undefined }\n },\n emits: [\"wifi-click\", \"audio-click\", \"audio-volume-change\", \"microphone-click\", \"push-to-talk-change\", \"battery-usage-click\", \"battery-saving-mode-change\", \"battery-mode-change\", \"wifi-network-change\", \"audio-output-change\", \"microphone-input-change\", \"settings-click\", \"to-sub-menu-click\", \"wifi-options-click\", \"wifi-disconnect-click\", \"close\"],\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 onWifiClick: (event: CustomEvent<unknown>) => emit('wifi-click', event as CustomEvent<unknown>),\nonAudioClick: (event: CustomEvent<unknown>) => emit('audio-click', event as CustomEvent<unknown>),\nonAudioVolumeChange: (event: VolumeChangeEvent) => emit('audio-volume-change', event as VolumeChangeEvent),\nonMicrophoneClick: (event: CustomEvent<unknown>) => emit('microphone-click', event as CustomEvent<unknown>),\nonPushToTalkChange: (event: CustomEvent<unknown>) => emit('push-to-talk-change', event as CustomEvent<unknown>),\nonBatteryUsageClick: (event: CustomEvent<unknown>) => emit('battery-usage-click', event as CustomEvent<unknown>),\nonBatterySavingModeChange: (event: CustomEvent<unknown>) => emit('battery-saving-mode-change', event as CustomEvent<unknown>),\nonBatteryModeChange: (event: CustomEvent<unknown>) => emit('battery-mode-change', event as CustomEvent<unknown>),\nonWifiNetworkChange: (event: CustomEvent<unknown>) => emit('wifi-network-change', event as CustomEvent<unknown>),\nonAudioOutputChange: (event: CustomEvent<unknown>) => emit('audio-output-change', event as CustomEvent<unknown>),\nonMicrophoneInputChange: (event: CustomEvent<unknown>) => emit('microphone-input-change', event as CustomEvent<unknown>),\nonSettingsClick: (event: CustomEvent<unknown>) => emit('settings-click', event as CustomEvent<unknown>),\nonToSubMenuClick: (event: CustomEvent<unknown>) => emit('to-sub-menu-click', event as CustomEvent<unknown>),\nonWifiOptionsClick: (event: CustomEvent<unknown>) => emit('wifi-options-click', event as CustomEvent<unknown>),\nonWifiDisconnectClick: (event: CustomEvent<unknown>) => emit('wifi-disconnect-click', event as CustomEvent<unknown>),\nonClose: (event: CustomEvent<void>) => emit('close', 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-system-menu',\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,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,UAAW,CAAA,EACX,WAAY,CAAA,EACZ,gBAAiB,CAAA,EACjB,aAAc,CAAA,EACd,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,mBAAoB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC9C,cAAe,CAAA,EACf,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAEnD,MAAO,CAAC,aAAc,cAAe,sBAAuB,mBAAoB,sBAAuB,sBAAuB,6BAA8B,sBAAuB,sBAAuB,sBAAuB,0BAA2B,iBAAkB,oBAAqB,qBAAsB,wBAAyB,OAAO,EACzV,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,CAmBnB,MAAMC,EAlBa,CACvB,YAAcC,GAAgCL,EAAK,aAAcK,CAA6B,EAClG,aAAeA,GAAgCL,EAAK,cAAeK,CAA6B,EAChG,oBAAsBA,GAA6BL,EAAK,sBAAuBK,CAA0B,EACzG,kBAAoBA,GAAgCL,EAAK,mBAAoBK,CAA6B,EAC1G,mBAAqBA,GAAgCL,EAAK,sBAAuBK,CAA6B,EAC9G,oBAAsBA,GAAgCL,EAAK,sBAAuBK,CAA6B,EAC/G,0BAA4BA,GAAgCL,EAAK,6BAA8BK,CAA6B,EAC5H,oBAAsBA,GAAgCL,EAAK,sBAAuBK,CAA6B,EAC/G,oBAAsBA,GAAgCL,EAAK,sBAAuBK,CAA6B,EAC/G,oBAAsBA,GAAgCL,EAAK,sBAAuBK,CAA6B,EAC/G,wBAA0BA,GAAgCL,EAAK,0BAA2BK,CAA6B,EACvH,gBAAkBA,GAAgCL,EAAK,iBAAkBK,CAA6B,EACtG,iBAAmBA,GAAgCL,EAAK,oBAAqBK,CAA6B,EAC1G,mBAAqBA,GAAgCL,EAAK,qBAAsBK,CAA6B,EAC7G,sBAAwBA,GAAgCL,EAAK,wBAAyBK,CAA6B,EACnH,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as v,useSlots as b,withDirectives as B,openBlock as h,createBlock as m,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/tab-item/tab-item.js";const S=f({__name:"ObcTabItem",props:{hug:{type:Boolean,default:void 0},centerContent:{type:Boolean,default:void 0},checked:{type:Boolean,default:void 0},hasClose:{type:Boolean,default:void 0},hasLeadingIcon:{type:Boolean,default:void 0},hasTitle:{type:Boolean,default:void 0},hasDivider:{type:Boolean,default:void 0},badges:{},hasBadge:{type:Boolean,default:void 0},icon:{},title:{},showSubtitle:{type:Boolean,default:void 0},subtitle:{},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:void 0},badgeType:{},badgeSize:{},badgeShowNumber:{type:Boolean,default:void 0},badgeCount:{},showLeadingBadgeIcon:{type:Boolean,default:void 0}},emits:["tab-click","tab-close"],setup(i,{emit:c}){const t=i,n=v({}),
|
|
1
|
+
import{defineComponent as f,reactive as v,useSlots as b,withDirectives as B,openBlock as h,createBlock as m,h as y}from"vue";import{assignSlotNodes as g}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/tab-item/tab-item.js";const S=f({__name:"ObcTabItem",props:{hug:{type:Boolean,default:void 0},centerContent:{type:Boolean,default:void 0},checked:{type:Boolean,default:void 0},hasClose:{type:Boolean,default:void 0},hasLeadingIcon:{type:Boolean,default:void 0},hasTitle:{type:Boolean,default:void 0},hasDivider:{type:Boolean,default:void 0},badges:{},hasBadge:{type:Boolean,default:void 0},icon:{},title:{},showSubtitle:{type:Boolean,default:void 0},subtitle:{},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:void 0},panel:{},badgeType:{},badgeSize:{},badgeShowNumber:{type:Boolean,default:void 0},badgeCount:{},showLeadingBadgeIcon:{type:Boolean,default:void 0}},emits:["tab-click","tab-close"],setup(i,{emit:c}){const t=i,n=v({}),p={created(a){for(const o in t)n[o]=a[o]}};let l=!1;const d=c,u=b(),r=()=>{const o={onTabClick:e=>d("tab-click",e),onTabClose:e=>d("tab-close",e)};for(const e in t){const s=t[e];(s!==void 0||l)&&(o[e]=s??n[e])}return l=!0,y("obc-tab-item",o,g(u))};return(a,o)=>B((h(),m(r,null,null,512)),[[p]])}});export{S as default};
|
|
2
2
|
//# sourceMappingURL=ObcTabItem.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcTabItem.vue2.js","sources":["../../src/components/tab-item/ObcTabItem.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/tab-item/tab-item.js';\n import {TabItemBadge} from '@oicl/openbridge-webcomponents/dist/components/tab-item/tab-item.js';\n\n export interface Props {\n hug?: boolean;\n centerContent?: boolean;\n checked?: boolean;\n hasClose?: boolean;\n hasLeadingIcon?: boolean;\n hasTitle?: boolean;\n hasDivider?: boolean;\n badges?: TabItemBadge[];\n hasBadge?: boolean;\n icon?: string;\n title?: string;\n showSubtitle?: boolean;\n subtitle?: string;\n disabled?: boolean;\n focusable?: boolean;\n badgeType?: string;\n badgeSize?: string;\n badgeShowNumber?: boolean;\n badgeCount?: number;\n showLeadingBadgeIcon?: boolean\n }\n\n \n \n export type {TabItemBadge} from '@oicl/openbridge-webcomponents/dist/components/tab-item/tab-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTabItem',\n props: {\n hug: { type: Boolean, default: undefined },\n centerContent: { type: Boolean, default: undefined },\n checked: { type: Boolean, default: undefined },\n hasClose: { type: Boolean, default: undefined },\n hasLeadingIcon: { type: Boolean, default: undefined },\n hasTitle: { type: Boolean, default: undefined },\n hasDivider: { type: Boolean, default: undefined },\n badges: {},\n hasBadge: { type: Boolean, default: undefined },\n icon: {},\n title: {},\n showSubtitle: { type: Boolean, default: undefined },\n subtitle: {},\n disabled: { type: Boolean, default: undefined },\n focusable: { type: Boolean, default: undefined },\n badgeType: {},\n badgeSize: {},\n badgeShowNumber: { type: Boolean, default: undefined },\n badgeCount: {},\n showLeadingBadgeIcon: { type: Boolean, default: undefined }\n },\n emits: [\"tab-click\", \"tab-close\"],\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 onTabClick: (event: CustomEvent<{title: string}>) => emit('tab-click', event as CustomEvent<{title: string}>),\nonTabClose: (event: CustomEvent<{title: string}>) => emit('tab-close', event as CustomEvent<{title: string}>)\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-tab-item',\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":"ObcTabItem.vue2.js","sources":["../../src/components/tab-item/ObcTabItem.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/tab-item/tab-item.js';\n import {TabItemBadge} from '@oicl/openbridge-webcomponents/dist/components/tab-item/tab-item.js';\n\n export interface Props {\n hug?: boolean;\n centerContent?: boolean;\n checked?: boolean;\n hasClose?: boolean;\n hasLeadingIcon?: boolean;\n hasTitle?: boolean;\n hasDivider?: boolean;\n badges?: TabItemBadge[];\n hasBadge?: boolean;\n icon?: string;\n title?: string;\n showSubtitle?: boolean;\n subtitle?: string;\n disabled?: boolean;\n focusable?: boolean;\n panel?: Element | null;\n badgeType?: string;\n badgeSize?: string;\n badgeShowNumber?: boolean;\n badgeCount?: number;\n showLeadingBadgeIcon?: boolean\n }\n\n \n \n export type {TabItemBadge} from '@oicl/openbridge-webcomponents/dist/components/tab-item/tab-item.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTabItem',\n props: {\n hug: { type: Boolean, default: undefined },\n centerContent: { type: Boolean, default: undefined },\n checked: { type: Boolean, default: undefined },\n hasClose: { type: Boolean, default: undefined },\n hasLeadingIcon: { type: Boolean, default: undefined },\n hasTitle: { type: Boolean, default: undefined },\n hasDivider: { type: Boolean, default: undefined },\n badges: {},\n hasBadge: { type: Boolean, default: undefined },\n icon: {},\n title: {},\n showSubtitle: { type: Boolean, default: undefined },\n subtitle: {},\n disabled: { type: Boolean, default: undefined },\n focusable: { type: Boolean, default: undefined },\n panel: {},\n badgeType: {},\n badgeSize: {},\n badgeShowNumber: { type: Boolean, default: undefined },\n badgeCount: {},\n showLeadingBadgeIcon: { type: Boolean, default: undefined }\n },\n emits: [\"tab-click\", \"tab-close\"],\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 onTabClick: (event: CustomEvent<{title: string}>) => emit('tab-click', event as CustomEvent<{title: string}>),\nonTabClose: (event: CustomEvent<{title: string}>) => emit('tab-close', event as CustomEvent<{title: string}>)\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-tab-item',\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":"gRAoCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,aACR,MAAO,CACL,IAAK,CAAE,KAAM,QAAS,QAAS,MAAA,EAC/B,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,eAAgB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC1C,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,OAAQ,CAAA,EACR,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,KAAM,CAAA,EACN,MAAO,CAAA,EACP,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,SAAU,CAAA,EACV,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAA,EACP,UAAW,CAAA,EACX,UAAW,CAAA,EACX,gBAAiB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC3C,WAAY,CAAA,EACZ,qBAAsB,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAE5D,MAAO,CAAC,YAAa,WAAW,EAChC,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,WAAaC,GAAwCL,EAAK,YAAaK,CAAqC,EAChH,WAAaA,GAAwCL,EAAK,YAAaK,CAAqC,CAAA,EAKtG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,eACAH,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"}
|
|
@@ -8,6 +8,8 @@ export interface Props {
|
|
|
8
8
|
hug?: boolean;
|
|
9
9
|
showSubtitle?: boolean;
|
|
10
10
|
hasAddNewTab?: boolean;
|
|
11
|
+
hasPanels?: boolean;
|
|
12
|
+
label?: string;
|
|
11
13
|
}
|
|
12
14
|
export type { TabData } from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';
|
|
13
15
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -40,5 +42,6 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
40
42
|
hasClose: boolean;
|
|
41
43
|
showSubtitle: boolean;
|
|
42
44
|
hasAddNewTab: boolean;
|
|
45
|
+
hasPanels: boolean;
|
|
43
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
47
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as b,reactive as f,useSlots as v,withDirectives as m,openBlock as h,createBlock as w,h as B}from"vue";import{assignSlotNodes as
|
|
1
|
+
import{defineComponent as b,reactive as f,useSlots as v,withDirectives as m,openBlock as h,createBlock as w,h as B}from"vue";import{assignSlotNodes as y}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js";const P=b({__name:"ObcTabRow",props:{tabs:{},selectedTabId:{},hasClose:{type:Boolean,default:void 0},centerContent:{type:Boolean,default:void 0},hug:{type:Boolean,default:void 0},showSubtitle:{type:Boolean,default:void 0},hasAddNewTab:{type:Boolean,default:void 0},hasPanels:{type:Boolean,default:void 0},label:{}},emits:["tab-selected","tab-closed","add-new-tab"],setup(c,{emit:r}){const o=c,n=f({}),i={created(s){for(const t in o)n[t]=s[t]}};let l=!1;const a=r,p=v(),u=()=>{const t={onTabSelected:e=>a("tab-selected",e),onTabClosed:e=>a("tab-closed",e),onAddNewTab:e=>a("add-new-tab",e)};for(const e in o){const d=o[e];(d!==void 0||l)&&(t[e]=d??n[e])}return l=!0,B("obc-tab-row",t,y(p))};return(s,t)=>m((h(),w(u,null,null,512)),[[i]])}});export{P as default};
|
|
2
2
|
//# sourceMappingURL=ObcTabRow.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcTabRow.vue2.js","sources":["../../src/components/tab-row/ObcTabRow.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/tab-row/tab-row.js';\n import {TabData} from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';\n\n export interface Props {\n tabs?: TabData[];\n selectedTabId?: string;\n hasClose?: boolean;\n centerContent?: boolean;\n hug?: boolean;\n showSubtitle?: boolean;\n hasAddNewTab?: boolean\n }\n\n \n \n export type {TabData} from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTabRow',\n props: {\n tabs: {},\n selectedTabId: {},\n hasClose: { type: Boolean, default: undefined },\n centerContent: { type: Boolean, default: undefined },\n hug: { type: Boolean, default: undefined },\n showSubtitle: { type: Boolean, default: undefined },\n hasAddNewTab: { type: Boolean, default: undefined }\n },\n emits: [\"tab-selected\", \"tab-closed\", \"add-new-tab\"],\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 onTabSelected: (event: CustomEvent<{tab: TabData, id: string, index: number}>) => emit('tab-selected', event as CustomEvent<{tab: TabData, id: string, index: number}>),\nonTabClosed: (event: CustomEvent<{tab: TabData, id: string, index: number}>) => emit('tab-closed', event as CustomEvent<{tab: TabData, id: string, index: number}>),\nonAddNewTab: (event: CustomEvent<void>) => emit('add-new-tab', 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-tab-row',\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":"ObcTabRow.vue2.js","sources":["../../src/components/tab-row/ObcTabRow.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/tab-row/tab-row.js';\n import {TabData} from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';\n\n export interface Props {\n tabs?: TabData[];\n selectedTabId?: string;\n hasClose?: boolean;\n centerContent?: boolean;\n hug?: boolean;\n showSubtitle?: boolean;\n hasAddNewTab?: boolean;\n hasPanels?: boolean;\n label?: string\n }\n\n \n \n export type {TabData} from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTabRow',\n props: {\n tabs: {},\n selectedTabId: {},\n hasClose: { type: Boolean, default: undefined },\n centerContent: { type: Boolean, default: undefined },\n hug: { type: Boolean, default: undefined },\n showSubtitle: { type: Boolean, default: undefined },\n hasAddNewTab: { type: Boolean, default: undefined },\n hasPanels: { type: Boolean, default: undefined },\n label: {}\n },\n emits: [\"tab-selected\", \"tab-closed\", \"add-new-tab\"],\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 onTabSelected: (event: CustomEvent<{tab: TabData, id: string, index: number}>) => emit('tab-selected', event as CustomEvent<{tab: TabData, id: string, index: number}>),\nonTabClosed: (event: CustomEvent<{tab: TabData, id: string, index: number}>) => emit('tab-closed', event as CustomEvent<{tab: TabData, id: string, index: number}>),\nonAddNewTab: (event: CustomEvent<void>) => emit('add-new-tab', 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-tab-row',\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":"8QAwBA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,YACR,MAAO,CACL,KAAM,CAAA,EACN,cAAe,CAAA,EACf,SAAU,CAAE,KAAM,QAAS,QAAS,MAAA,EACpC,cAAe,CAAE,KAAM,QAAS,QAAS,MAAA,EACzC,IAAK,CAAE,KAAM,QAAS,QAAS,MAAA,EAC/B,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,UAAW,CAAE,KAAM,QAAS,QAAS,MAAA,EACrC,MAAO,CAAA,CAAC,EAEV,MAAO,CAAC,eAAgB,aAAc,aAAa,EACnD,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,CAMnB,MAAMC,EALa,CACvB,cAAgBC,GAAkEL,EAAK,eAAgBK,CAA+D,EAC1K,YAAcA,GAAkEL,EAAK,aAAcK,CAA+D,EAClK,YAAcA,GAA6BL,EAAK,cAAeK,CAA0B,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,cACAH,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,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/table/table.js';
|
|
2
2
|
import { ObcTableRowClickEvent, ObcTableCellClickEvent, ObcTableCellCheckboxChangeEvent, ObcTableCellTagClickEvent, ObcTableSelectionChangeEvent, ObcTableExpandToggleEvent, ObcTableRow, ObcTableColumn, ObcTableCellData } from '@oicl/openbridge-webcomponents/dist/components/table/table.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
ariaLabel?: string | null;
|
|
4
5
|
data?: ObcTableRow[];
|
|
5
6
|
columns?: ObcTableColumn<ObcTableCellData, ObcTableRow>[];
|
|
6
7
|
rowDivider?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as f,reactive as g,useSlots as h,withDirectives as k,openBlock as v,createBlock as
|
|
1
|
+
import{defineComponent as f,reactive as g,useSlots as h,withDirectives as k,openBlock as v,createBlock as b,h as m}from"vue";import{assignSlotNodes as C}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/table/table.js";const _=f({__name:"ObcTable",props:{ariaLabel:{},data:{},columns:{},rowDivider:{type:Boolean,default:void 0},narrowHeader:{type:Boolean,default:void 0},showHeader:{type:Boolean,default:void 0},striped:{type:Boolean,default:void 0},selectable:{type:Boolean,default:void 0},selectedRowIds:{},defaultSelectedRowIds:{},selectAllAriaLabel:{}},emits:["row-click","cell-button-click","cell-checkbox-change","cell-tag-click","selection-change","expand-toggle"],setup(i,{emit:r}){const l=i,n=g({}),d={created(c){for(const t in l)n[t]=c[t]}};let a=!1;const o=r,p=h(),u=()=>{const t={onRowClick:e=>o("row-click",e),onCellButtonClick:e=>o("cell-button-click",e),onCellCheckboxChange:e=>o("cell-checkbox-change",e),onCellTagClick:e=>o("cell-tag-click",e),onSelectionChange:e=>o("selection-change",e),onExpandToggle:e=>o("expand-toggle",e)};for(const e in l){const s=l[e];(s!==void 0||a)&&(t[e]=s??n[e])}return a=!0,m("obc-table",t,C(p))};return(c,t)=>k((v(),b(u,null,null,512)),[[d]])}});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=ObcTable.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcTable.vue2.js","sources":["../../src/components/table/ObcTable.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/table/table.js';\n import {ObcTableRowClickEvent, ObcTableCellClickEvent, ObcTableCellCheckboxChangeEvent, ObcTableCellTagClickEvent, ObcTableSelectionChangeEvent, ObcTableExpandToggleEvent, ObcTableRow, ObcTableColumn, ObcTableCellData} from '@oicl/openbridge-webcomponents/dist/components/table/table.js';\n\n export interface Props {\n data?: ObcTableRow[];\n columns?: ObcTableColumn<ObcTableCellData, ObcTableRow>[];\n rowDivider?: boolean;\n narrowHeader?: boolean;\n showHeader?: boolean;\n striped?: boolean;\n selectable?: boolean;\n selectedRowIds?: string[] | undefined;\n defaultSelectedRowIds?: string[] | undefined;\n selectAllAriaLabel?: string\n }\n\n \n \n export type {ObcTableRowClickEvent, ObcTableCellClickEvent, ObcTableCellCheckboxChangeEvent, ObcTableCellTagClickEvent, ObcTableSelectionChangeEvent, ObcTableExpandToggleEvent, ObcTableRow, ObcTableColumn, ObcTableCellData} from '@oicl/openbridge-webcomponents/dist/components/table/table.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTable',\n props: {\n data: {},\n columns: {},\n rowDivider: { type: Boolean, default: undefined },\n narrowHeader: { type: Boolean, default: undefined },\n showHeader: { type: Boolean, default: undefined },\n striped: { type: Boolean, default: undefined },\n selectable: { type: Boolean, default: undefined },\n selectedRowIds: {},\n defaultSelectedRowIds: {},\n selectAllAriaLabel: {}\n },\n emits: [\"row-click\", \"cell-button-click\", \"cell-checkbox-change\", \"cell-tag-click\", \"selection-change\", \"expand-toggle\"],\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 onRowClick: (event: ObcTableRowClickEvent) => emit('row-click', event as ObcTableRowClickEvent),\nonCellButtonClick: (event: ObcTableCellClickEvent) => emit('cell-button-click', event as ObcTableCellClickEvent),\nonCellCheckboxChange: (event: ObcTableCellCheckboxChangeEvent) => emit('cell-checkbox-change', event as ObcTableCellCheckboxChangeEvent),\nonCellTagClick: (event: ObcTableCellTagClickEvent) => emit('cell-tag-click', event as ObcTableCellTagClickEvent),\nonSelectionChange: (event: ObcTableSelectionChangeEvent) => emit('selection-change', event as ObcTableSelectionChangeEvent),\nonExpandToggle: (event: ObcTableExpandToggleEvent) => emit('expand-toggle', event as ObcTableExpandToggleEvent)\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-table',\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":"ObcTable.vue2.js","sources":["../../src/components/table/ObcTable.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/table/table.js';\n import {ObcTableRowClickEvent, ObcTableCellClickEvent, ObcTableCellCheckboxChangeEvent, ObcTableCellTagClickEvent, ObcTableSelectionChangeEvent, ObcTableExpandToggleEvent, ObcTableRow, ObcTableColumn, ObcTableCellData} from '@oicl/openbridge-webcomponents/dist/components/table/table.js';\n\n export interface Props {\n ariaLabel?: string | null;\n data?: ObcTableRow[];\n columns?: ObcTableColumn<ObcTableCellData, ObcTableRow>[];\n rowDivider?: boolean;\n narrowHeader?: boolean;\n showHeader?: boolean;\n striped?: boolean;\n selectable?: boolean;\n selectedRowIds?: string[] | undefined;\n defaultSelectedRowIds?: string[] | undefined;\n selectAllAriaLabel?: string\n }\n\n \n \n export type {ObcTableRowClickEvent, ObcTableCellClickEvent, ObcTableCellCheckboxChangeEvent, ObcTableCellTagClickEvent, ObcTableSelectionChangeEvent, ObcTableExpandToggleEvent, ObcTableRow, ObcTableColumn, ObcTableCellData} from '@oicl/openbridge-webcomponents/dist/components/table/table.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcTable',\n props: {\n ariaLabel: {},\n data: {},\n columns: {},\n rowDivider: { type: Boolean, default: undefined },\n narrowHeader: { type: Boolean, default: undefined },\n showHeader: { type: Boolean, default: undefined },\n striped: { type: Boolean, default: undefined },\n selectable: { type: Boolean, default: undefined },\n selectedRowIds: {},\n defaultSelectedRowIds: {},\n selectAllAriaLabel: {}\n },\n emits: [\"row-click\", \"cell-button-click\", \"cell-checkbox-change\", \"cell-tag-click\", \"selection-change\", \"expand-toggle\"],\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 onRowClick: (event: ObcTableRowClickEvent) => emit('row-click', event as ObcTableRowClickEvent),\nonCellButtonClick: (event: ObcTableCellClickEvent) => emit('cell-button-click', event as ObcTableCellClickEvent),\nonCellCheckboxChange: (event: ObcTableCellCheckboxChangeEvent) => emit('cell-checkbox-change', event as ObcTableCellCheckboxChangeEvent),\nonCellTagClick: (event: ObcTableCellTagClickEvent) => emit('cell-tag-click', event as ObcTableCellTagClickEvent),\nonSelectionChange: (event: ObcTableSelectionChangeEvent) => emit('selection-change', event as ObcTableSelectionChangeEvent),\nonExpandToggle: (event: ObcTableExpandToggleEvent) => emit('expand-toggle', event as ObcTableExpandToggleEvent)\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-table',\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":"0QA0BA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,WACR,MAAO,CACL,UAAW,CAAA,EACX,KAAM,CAAA,EACN,QAAS,CAAA,EACT,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,QAAS,CAAE,KAAM,QAAS,QAAS,MAAA,EACnC,WAAY,CAAE,KAAM,QAAS,QAAS,MAAA,EACtC,eAAgB,CAAA,EAChB,sBAAuB,CAAA,EACvB,mBAAoB,CAAA,CAAC,EAEvB,MAAO,CAAC,YAAa,oBAAqB,uBAAwB,iBAAkB,mBAAoB,eAAe,EACvH,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,CASnB,MAAMC,EARa,CACvB,WAAaC,GAAiCL,EAAK,YAAaK,CAA8B,EAClG,kBAAoBA,GAAkCL,EAAK,oBAAqBK,CAA+B,EAC/G,qBAAuBA,GAA2CL,EAAK,uBAAwBK,CAAwC,EACvI,eAAiBA,GAAqCL,EAAK,iBAAkBK,CAAkC,EAC/G,kBAAoBA,GAAwCL,EAAK,mBAAoBK,CAAqC,EAC1H,eAAiBA,GAAqCL,EAAK,gBAAiBK,CAAkC,CAAA,EAKxG,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,YACAH,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,6 +1,8 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
|
|
2
2
|
import { ObcUserMenuRecentUserClickEvent, ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction } from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
|
|
3
3
|
export interface Props {
|
|
4
|
+
softDismiss?: boolean;
|
|
5
|
+
open?: boolean;
|
|
4
6
|
type?: ObcUserMenuType;
|
|
5
7
|
size?: ObcUserMenuSize;
|
|
6
8
|
hasRecentlySignedIn?: boolean;
|
|
@@ -20,6 +22,7 @@ export interface Props {
|
|
|
20
22
|
}
|
|
21
23
|
export type { ObcUserMenuRecentUserClickEvent, ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction } from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
|
|
22
24
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
|
+
close: (payload: CustomEvent<void>) => any;
|
|
23
26
|
"sign-in-click": (payload: CustomEvent<{
|
|
24
27
|
username?: string;
|
|
25
28
|
password?: string;
|
|
@@ -32,6 +35,7 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
32
35
|
}>) => any;
|
|
33
36
|
"recent-user-click": (payload: ObcUserMenuRecentUserClickEvent) => any;
|
|
34
37
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
38
|
+
onClose?: ((payload: CustomEvent<void>) => any) | undefined;
|
|
35
39
|
"onSign-in-click"?: ((payload: CustomEvent<{
|
|
36
40
|
username?: string;
|
|
37
41
|
password?: string;
|
|
@@ -44,6 +48,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
44
48
|
}>) => any) | undefined;
|
|
45
49
|
"onRecent-user-click"?: ((payload: ObcUserMenuRecentUserClickEvent) => any) | undefined;
|
|
46
50
|
}>, {
|
|
51
|
+
open: boolean;
|
|
52
|
+
softDismiss: boolean;
|
|
47
53
|
hasRecentlySignedIn: boolean;
|
|
48
54
|
showUsername: boolean;
|
|
49
55
|
showPassword: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineComponent as
|
|
1
|
+
import{defineComponent as f,reactive as k,useSlots as m,withDirectives as v,openBlock as g,createBlock as h,h as y}from"vue";import{assignSlotNodes as B}from"@lit-labs/vue-utils/wrapper-utils.js";import"@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js";const I=f({__name:"ObcUserMenu",props:{softDismiss:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},type:{},size:{},hasRecentlySignedIn:{type:Boolean,default:void 0},showUsername:{type:Boolean,default:void 0},username:{},showPassword:{type:Boolean,default:void 0},password:{},usernameError:{},passwordError:{},userInitials:{},userLabel:{},userRole:{},recentUsers:{},signedInActions:{},primaryActionId:{},showUseAnotherAccount:{type:Boolean,default:void 0}},emits:["sign-in-click","sign-out-click","use-another-account-click","signed-in-action-click","recent-user-click","close"],setup(l,{emit:a}){const s=l,c=k({}),u={created(t){for(const n in s)c[n]=t[n]}};let i=!1;const o=a,d=m(),p=()=>{const n={onSignInClick:e=>o("sign-in-click",e),onSignOutClick:e=>o("sign-out-click",e),onUseAnotherAccountClick:e=>o("use-another-account-click",e),onSignedInActionClick:e=>o("signed-in-action-click",e),onRecentUserClick:e=>o("recent-user-click",e),onClose:e=>o("close",e)};for(const e in s){const r=s[e];(r!==void 0||i)&&(n[e]=r??c[e])}return i=!0,y("obc-user-menu",n,B(d))};return(t,n)=>v((g(),h(p,null,null,512)),[[u]])}});export{I as default};
|
|
2
2
|
//# sourceMappingURL=ObcUserMenu.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObcUserMenu.vue2.js","sources":["../../src/components/user-menu/ObcUserMenu.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/user-menu/user-menu.js';\n import {ObcUserMenuRecentUserClickEvent, ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n\n export interface Props {\n type?: ObcUserMenuType;\n size?: ObcUserMenuSize;\n hasRecentlySignedIn?: boolean;\n showUsername?: boolean;\n username?: string;\n showPassword?: boolean;\n password?: string;\n usernameError?: string;\n passwordError?: string;\n userInitials?: string | undefined;\n userLabel?: string | undefined;\n userRole?: string | undefined;\n recentUsers?: ObcUserMenuUser[];\n signedInActions?: ObcUserMenuSignedInAction[];\n primaryActionId?: string | undefined;\n showUseAnotherAccount?: boolean\n }\n\n \n \n export type {ObcUserMenuRecentUserClickEvent, ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcUserMenu',\n props: {\n type: {},\n size: {},\n hasRecentlySignedIn: { type: Boolean, default: undefined },\n showUsername: { type: Boolean, default: undefined },\n username: {},\n showPassword: { type: Boolean, default: undefined },\n password: {},\n usernameError: {},\n passwordError: {},\n userInitials: {},\n userLabel: {},\n userRole: {},\n recentUsers: {},\n signedInActions: {},\n primaryActionId: {},\n showUseAnotherAccount: { type: Boolean, default: undefined }\n },\n emits: [\"sign-in-click\", \"sign-out-click\", \"use-another-account-click\", \"signed-in-action-click\", \"recent-user-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 onSignInClick: (event: CustomEvent<{username?: string, password?: string}>) => emit('sign-in-click', event as CustomEvent<{username?: string, password?: string}>),\nonSignOutClick: (event: CustomEvent<void>) => emit('sign-out-click', event as CustomEvent<void>),\nonUseAnotherAccountClick: (event: CustomEvent<void>) => emit('use-another-account-click', event as CustomEvent<void>),\nonSignedInActionClick: (event: CustomEvent<{id: string, label: string}>) => emit('signed-in-action-click', event as CustomEvent<{id: string, label: string}>),\nonRecentUserClick: (event: ObcUserMenuRecentUserClickEvent) => emit('recent-user-click', event as ObcUserMenuRecentUserClickEvent)\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-user-menu',\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":"ObcUserMenu.vue2.js","sources":["../../src/components/user-menu/ObcUserMenu.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/user-menu/user-menu.js';\n import {ObcUserMenuRecentUserClickEvent, ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n\n export interface Props {\n softDismiss?: boolean;\n open?: boolean;\n type?: ObcUserMenuType;\n size?: ObcUserMenuSize;\n hasRecentlySignedIn?: boolean;\n showUsername?: boolean;\n username?: string;\n showPassword?: boolean;\n password?: string;\n usernameError?: string;\n passwordError?: string;\n userInitials?: string | undefined;\n userLabel?: string | undefined;\n userRole?: string | undefined;\n recentUsers?: ObcUserMenuUser[];\n signedInActions?: ObcUserMenuSignedInAction[];\n primaryActionId?: string | undefined;\n showUseAnotherAccount?: boolean\n }\n\n \n \n export type {ObcUserMenuRecentUserClickEvent, ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n \nexport default /*@__PURE__*/_defineComponent({\n __name: 'ObcUserMenu',\n props: {\n softDismiss: { type: Boolean, default: undefined },\n open: { type: Boolean, default: undefined },\n type: {},\n size: {},\n hasRecentlySignedIn: { type: Boolean, default: undefined },\n showUsername: { type: Boolean, default: undefined },\n username: {},\n showPassword: { type: Boolean, default: undefined },\n password: {},\n usernameError: {},\n passwordError: {},\n userInitials: {},\n userLabel: {},\n userRole: {},\n recentUsers: {},\n signedInActions: {},\n primaryActionId: {},\n showUseAnotherAccount: { type: Boolean, default: undefined }\n },\n emits: [\"sign-in-click\", \"sign-out-click\", \"use-another-account-click\", \"signed-in-action-click\", \"recent-user-click\", \"close\"],\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 onSignInClick: (event: CustomEvent<{username?: string, password?: string}>) => emit('sign-in-click', event as CustomEvent<{username?: string, password?: string}>),\nonSignOutClick: (event: CustomEvent<void>) => emit('sign-out-click', event as CustomEvent<void>),\nonUseAnotherAccountClick: (event: CustomEvent<void>) => emit('use-another-account-click', event as CustomEvent<void>),\nonSignedInActionClick: (event: CustomEvent<{id: string, label: string}>) => emit('signed-in-action-click', event as CustomEvent<{id: string, label: string}>),\nonRecentUserClick: (event: ObcUserMenuRecentUserClickEvent) => emit('recent-user-click', event as ObcUserMenuRecentUserClickEvent),\nonClose: (event: CustomEvent<void>) => emit('close', 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-user-menu',\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":"kRAiCA,MAAAA,EAA4BC,EAAiB,CAC3C,OAAQ,cACR,MAAO,CACL,YAAa,CAAE,KAAM,QAAS,QAAS,MAAA,EACvC,KAAM,CAAE,KAAM,QAAS,QAAS,MAAA,EAChC,KAAM,CAAA,EACN,KAAM,CAAA,EACN,oBAAqB,CAAE,KAAM,QAAS,QAAS,MAAA,EAC/C,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,SAAU,CAAA,EACV,aAAc,CAAE,KAAM,QAAS,QAAS,MAAA,EACxC,SAAU,CAAA,EACV,cAAe,CAAA,EACf,cAAe,CAAA,EACf,aAAc,CAAA,EACd,UAAW,CAAA,EACX,SAAU,CAAA,EACV,YAAa,CAAA,EACb,gBAAiB,CAAA,EACjB,gBAAiB,CAAA,EACjB,sBAAuB,CAAE,KAAM,QAAS,QAAS,MAAA,CAAU,EAE7D,MAAO,CAAC,gBAAiB,iBAAkB,4BAA6B,yBAA0B,oBAAqB,OAAO,EAC9H,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,CASnB,MAAMC,EARa,CACvB,cAAgBC,GAA+DL,EAAK,gBAAiBK,CAA4D,EACrK,eAAiBA,GAA6BL,EAAK,iBAAkBK,CAA0B,EAC/F,yBAA2BA,GAA6BL,EAAK,4BAA6BK,CAA0B,EACpH,sBAAwBA,GAAoDL,EAAK,yBAA0BK,CAAiD,EAC5J,kBAAoBA,GAA2CL,EAAK,oBAAqBK,CAAwC,EACjI,QAAUA,GAA6BL,EAAK,QAASK,CAA0B,CAAA,EAKzE,UAAWP,KAAKL,EAAU,CACxB,MAAMa,EAAIb,EAASK,CAAgB,GAC9BQ,IAAM,QAAcP,KACtBK,EAAMN,CAAgB,EAAgBQ,GAAKZ,EAASI,CAAgB,EAEzE,CAEA,OAAAC,EAAc,GAGLQ,EACL,gBACAH,EACAI,EAAgBP,CAAK,CAAA,CAEzB,EAEN,MAAO,CAACQ,EAAUC,IACTC,GAAiBC,IAAcC,EAAaV,EAAQ,KAAM,KAAM,GAAG,GAAI,CAC5E,CAACP,CAAS,CAAA,CACX,CAEH,CAEA,CAAC"}
|
package/package.json
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"build:declarations": "vue-tsc --declaration --emitDeclarationOnly",
|
|
9
9
|
"preview": "vite preview"
|
|
10
10
|
},
|
|
11
|
-
"version": "2.0.0-next.
|
|
11
|
+
"version": "2.0.0-next.169",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
13
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.169",
|
|
14
14
|
"vue": "^3.2.41",
|
|
15
15
|
"@lit-labs/vue-utils": "^0.1.0"
|
|
16
16
|
},
|