@xiboplayer/pwa 0.5.0 → 0.5.1

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.
@@ -1,2 +1,2 @@
1
- import{I as i,O as p,S as l,c as u,p as m,s as S}from"./main-93Kmpgur.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./cms-api-Cqh1b8je.js";import"./widget-html-Cb84FvUB.js";const e="0.4.9",r={version:e},t=r.version;export{i as InterruptScheduler,p as OverlayScheduler,l as ScheduleManager,t as VERSION,u as calculateTimeline,m as parseLayoutDuration,S as scheduleManager};
2
- //# sourceMappingURL=index-CN4YZpqx.js.map
1
+ import{I as i,O as p,S as l,c as u,p as m,s as S}from"./main-B65Xrh0d.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./cms-api-Cqh1b8je.js";import"./widget-html-Cb84FvUB.js";const e="0.4.9",r={version:e},t=r.version;export{i as InterruptScheduler,p as OverlayScheduler,l as ScheduleManager,t as VERSION,u as calculateTimeline,m as parseLayoutDuration,S as scheduleManager};
2
+ //# sourceMappingURL=index-BHmOBAZo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CN4YZpqx.js","sources":["../../node_modules/.pnpm/@xiboplayer+schedule@0.4.9/node_modules/@xiboplayer/schedule/src/index.js"],"sourcesContent":["// @xiboplayer/schedule - Campaign scheduling and advanced features\n// Basic scheduling, interrupts, overlays, and dayparting\nimport pkg from '../package.json' with { type: 'json' };\nexport const VERSION = pkg.version;\n\n/**\n * Core schedule manager for basic scheduling and dayparting\n * @module @xiboplayer/schedule\n */\nexport { ScheduleManager, scheduleManager } from './schedule.js';\n\n/**\n * Interrupt scheduler for shareOfVoice layouts\n * @module @xiboplayer/schedule/interrupts\n */\nexport { InterruptScheduler } from './interrupts.js';\n\n/**\n * Overlay layout scheduler\n * @module @xiboplayer/schedule/overlays\n */\nexport { OverlayScheduler } from './overlays.js';\n\n/**\n * Offline timeline calculator — duration parser + timeline simulator\n * @module @xiboplayer/schedule/timeline\n */\nexport { calculateTimeline, parseLayoutDuration } from './timeline.js';\n"],"names":["VERSION","pkg"],"mappings":"qNAGaA,EAAUC,EAAI","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-BHmOBAZo.js","sources":["../../node_modules/.pnpm/@xiboplayer+schedule@0.4.9/node_modules/@xiboplayer/schedule/src/index.js"],"sourcesContent":["// @xiboplayer/schedule - Campaign scheduling and advanced features\n// Basic scheduling, interrupts, overlays, and dayparting\nimport pkg from '../package.json' with { type: 'json' };\nexport const VERSION = pkg.version;\n\n/**\n * Core schedule manager for basic scheduling and dayparting\n * @module @xiboplayer/schedule\n */\nexport { ScheduleManager, scheduleManager } from './schedule.js';\n\n/**\n * Interrupt scheduler for shareOfVoice layouts\n * @module @xiboplayer/schedule/interrupts\n */\nexport { InterruptScheduler } from './interrupts.js';\n\n/**\n * Overlay layout scheduler\n * @module @xiboplayer/schedule/overlays\n */\nexport { OverlayScheduler } from './overlays.js';\n\n/**\n * Offline timeline calculator — duration parser + timeline simulator\n * @module @xiboplayer/schedule/timeline\n */\nexport { calculateTimeline, parseLayoutDuration } from './timeline.js';\n"],"names":["VERSION","pkg"],"mappings":"qNAGaA,EAAUC,EAAI","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import{D as y,P as m}from"./main-93Kmpgur.js";import"./cms-api-Cqh1b8je.js";import{E as i}from"./widget-html-Cb84FvUB.js";import"./modulepreload-polyfill-B5Qt9EMX.js";const r="0.4.9",a={version:r};class c extends i{constructor(){super(),this.currentLayoutId=null,this.currentScheduleId=null,this.displayName="",this.hardwareKey="",this.playerType="pwa",this.displayStatus="idle",this.screenWidth=0,this.screenHeight=0,this.lastCollectionTime=null,this.lastHeartbeat=null,this.isRegistered=!1}set(t,e){if(this[t]===e)return;const s=this[t];this[t]=e,this.emit("change",t,e,s)}toJSON(){return{currentLayoutId:this.currentLayoutId,currentScheduleId:this.currentScheduleId,displayName:this.displayName,hardwareKey:this.hardwareKey,playerType:this.playerType,displayStatus:this.displayStatus,screenWidth:this.screenWidth,screenHeight:this.screenHeight,lastCollectionTime:this.lastCollectionTime,lastHeartbeat:this.lastHeartbeat,isRegistered:this.isRegistered}}}const d=a.version;export{y as DataConnectorManager,m as PlayerCore,c as PlayerState,d as VERSION};
2
- //# sourceMappingURL=index-66_11hkr.js.map
1
+ import{D as y,P as m}from"./main-B65Xrh0d.js";import"./cms-api-Cqh1b8je.js";import{E as i}from"./widget-html-Cb84FvUB.js";import"./modulepreload-polyfill-B5Qt9EMX.js";const r="0.4.9",a={version:r};class c extends i{constructor(){super(),this.currentLayoutId=null,this.currentScheduleId=null,this.displayName="",this.hardwareKey="",this.playerType="pwa",this.displayStatus="idle",this.screenWidth=0,this.screenHeight=0,this.lastCollectionTime=null,this.lastHeartbeat=null,this.isRegistered=!1}set(t,e){if(this[t]===e)return;const s=this[t];this[t]=e,this.emit("change",t,e,s)}toJSON(){return{currentLayoutId:this.currentLayoutId,currentScheduleId:this.currentScheduleId,displayName:this.displayName,hardwareKey:this.hardwareKey,playerType:this.playerType,displayStatus:this.displayStatus,screenWidth:this.screenWidth,screenHeight:this.screenHeight,lastCollectionTime:this.lastCollectionTime,lastHeartbeat:this.lastHeartbeat,isRegistered:this.isRegistered}}}const d=a.version;export{y as DataConnectorManager,m as PlayerCore,c as PlayerState,d as VERSION};
2
+ //# sourceMappingURL=index-C7MNhxyH.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-66_11hkr.js","sources":["../../node_modules/.pnpm/@xiboplayer+core@0.4.9_@xiboplayer+cache@0.4.9_@xiboplayer+renderer@0.4.9_@xiboplayer+s_ba0a07cfcdf4390c4a39528b145f6bd6/node_modules/@xiboplayer/core/src/state.js","../../node_modules/.pnpm/@xiboplayer+core@0.4.9_@xiboplayer+cache@0.4.9_@xiboplayer+renderer@0.4.9_@xiboplayer+s_ba0a07cfcdf4390c4a39528b145f6bd6/node_modules/@xiboplayer/core/src/index.js"],"sourcesContent":["/**\n * Centralized player state\n *\n * Single source of truth for player status, dimensions, and display info.\n * Avoids scattered state across PlayerCore, renderer, and platform layer.\n */\n\nimport { EventEmitter } from '@xiboplayer/utils';\n\nexport class PlayerState extends EventEmitter {\n constructor() {\n super();\n this.currentLayoutId = null;\n this.currentScheduleId = null;\n this.displayName = '';\n this.hardwareKey = '';\n this.playerType = 'pwa';\n this.displayStatus = 'idle'; // idle | collecting | rendering | error\n this.screenWidth = 0;\n this.screenHeight = 0;\n this.lastCollectionTime = null;\n this.lastHeartbeat = null;\n this.isRegistered = false;\n }\n\n /**\n * Update a state property and emit change event\n */\n set(key, value) {\n if (this[key] === value) return;\n const old = this[key];\n this[key] = value;\n this.emit('change', key, value, old);\n }\n\n /**\n * Get snapshot of current state (for status reporting)\n */\n toJSON() {\n return {\n currentLayoutId: this.currentLayoutId,\n currentScheduleId: this.currentScheduleId,\n displayName: this.displayName,\n hardwareKey: this.hardwareKey,\n playerType: this.playerType,\n displayStatus: this.displayStatus,\n screenWidth: this.screenWidth,\n screenHeight: this.screenHeight,\n lastCollectionTime: this.lastCollectionTime,\n lastHeartbeat: this.lastHeartbeat,\n isRegistered: this.isRegistered\n };\n }\n}\n","// @xiboplayer/core - Player core orchestration\nimport pkg from '../package.json' with { type: 'json' };\nexport const VERSION = pkg.version;\nexport { PlayerCore } from './player-core.js';\nexport { PlayerState } from './state.js';\nexport { DataConnectorManager } from './data-connectors.js';\n"],"names":["PlayerState","EventEmitter","key","value","old","VERSION","pkg"],"mappings":"qMASO,MAAMA,UAAoBC,CAAa,CAC5C,aAAc,CACZ,MAAK,EACL,KAAK,gBAAkB,KACvB,KAAK,kBAAoB,KACzB,KAAK,YAAc,GACnB,KAAK,YAAc,GACnB,KAAK,WAAa,MAClB,KAAK,cAAgB,OACrB,KAAK,YAAc,EACnB,KAAK,aAAe,EACpB,KAAK,mBAAqB,KAC1B,KAAK,cAAgB,KACrB,KAAK,aAAe,EACtB,CAKA,IAAIC,EAAKC,EAAO,CACd,GAAI,KAAKD,CAAG,IAAMC,EAAO,OACzB,MAAMC,EAAM,KAAKF,CAAG,EACpB,KAAKA,CAAG,EAAIC,EACZ,KAAK,KAAK,SAAUD,EAAKC,EAAOC,CAAG,CACrC,CAKA,QAAS,CACP,MAAO,CACL,gBAAiB,KAAK,gBACtB,kBAAmB,KAAK,kBACxB,YAAa,KAAK,YAClB,YAAa,KAAK,YAClB,WAAY,KAAK,WACjB,cAAe,KAAK,cACpB,YAAa,KAAK,YAClB,aAAc,KAAK,aACnB,mBAAoB,KAAK,mBACzB,cAAe,KAAK,cACpB,aAAc,KAAK,YACzB,CACE,CACF,CCnDY,MAACC,EAAUC,EAAI","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"index-C7MNhxyH.js","sources":["../../node_modules/.pnpm/@xiboplayer+core@0.4.9_@xiboplayer+cache@0.4.9_@xiboplayer+renderer@0.4.9_@xiboplayer+s_ba0a07cfcdf4390c4a39528b145f6bd6/node_modules/@xiboplayer/core/src/state.js","../../node_modules/.pnpm/@xiboplayer+core@0.4.9_@xiboplayer+cache@0.4.9_@xiboplayer+renderer@0.4.9_@xiboplayer+s_ba0a07cfcdf4390c4a39528b145f6bd6/node_modules/@xiboplayer/core/src/index.js"],"sourcesContent":["/**\n * Centralized player state\n *\n * Single source of truth for player status, dimensions, and display info.\n * Avoids scattered state across PlayerCore, renderer, and platform layer.\n */\n\nimport { EventEmitter } from '@xiboplayer/utils';\n\nexport class PlayerState extends EventEmitter {\n constructor() {\n super();\n this.currentLayoutId = null;\n this.currentScheduleId = null;\n this.displayName = '';\n this.hardwareKey = '';\n this.playerType = 'pwa';\n this.displayStatus = 'idle'; // idle | collecting | rendering | error\n this.screenWidth = 0;\n this.screenHeight = 0;\n this.lastCollectionTime = null;\n this.lastHeartbeat = null;\n this.isRegistered = false;\n }\n\n /**\n * Update a state property and emit change event\n */\n set(key, value) {\n if (this[key] === value) return;\n const old = this[key];\n this[key] = value;\n this.emit('change', key, value, old);\n }\n\n /**\n * Get snapshot of current state (for status reporting)\n */\n toJSON() {\n return {\n currentLayoutId: this.currentLayoutId,\n currentScheduleId: this.currentScheduleId,\n displayName: this.displayName,\n hardwareKey: this.hardwareKey,\n playerType: this.playerType,\n displayStatus: this.displayStatus,\n screenWidth: this.screenWidth,\n screenHeight: this.screenHeight,\n lastCollectionTime: this.lastCollectionTime,\n lastHeartbeat: this.lastHeartbeat,\n isRegistered: this.isRegistered\n };\n }\n}\n","// @xiboplayer/core - Player core orchestration\nimport pkg from '../package.json' with { type: 'json' };\nexport const VERSION = pkg.version;\nexport { PlayerCore } from './player-core.js';\nexport { PlayerState } from './state.js';\nexport { DataConnectorManager } from './data-connectors.js';\n"],"names":["PlayerState","EventEmitter","key","value","old","VERSION","pkg"],"mappings":"qMASO,MAAMA,UAAoBC,CAAa,CAC5C,aAAc,CACZ,MAAK,EACL,KAAK,gBAAkB,KACvB,KAAK,kBAAoB,KACzB,KAAK,YAAc,GACnB,KAAK,YAAc,GACnB,KAAK,WAAa,MAClB,KAAK,cAAgB,OACrB,KAAK,YAAc,EACnB,KAAK,aAAe,EACpB,KAAK,mBAAqB,KAC1B,KAAK,cAAgB,KACrB,KAAK,aAAe,EACtB,CAKA,IAAIC,EAAKC,EAAO,CACd,GAAI,KAAKD,CAAG,IAAMC,EAAO,OACzB,MAAMC,EAAM,KAAKF,CAAG,EACpB,KAAKA,CAAG,EAAIC,EACZ,KAAK,KAAK,SAAUD,EAAKC,EAAOC,CAAG,CACrC,CAKA,QAAS,CACP,MAAO,CACL,gBAAiB,KAAK,gBACtB,kBAAmB,KAAK,kBACxB,YAAa,KAAK,YAClB,YAAa,KAAK,YAClB,WAAY,KAAK,WACjB,cAAe,KAAK,cACpB,YAAa,KAAK,YAClB,aAAc,KAAK,aACnB,mBAAoB,KAAK,mBACzB,cAAe,KAAK,cACpB,aAAc,KAAK,YACzB,CACE,CACF,CCnDY,MAACC,EAAUC,EAAI","x_google_ignoreList":[0,1]}
@@ -1,2 +1,2 @@
1
- import{L as p,a as m,R as L}from"./main-93Kmpgur.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./cms-api-Cqh1b8je.js";import"./widget-html-Cb84FvUB.js";const o="0.4.9",r={version:o},a=r.version;export{p as LayoutPool,m as LayoutTranslator,L as RendererLite,a as VERSION};
2
- //# sourceMappingURL=index-B2e9LkNw.js.map
1
+ import{L as p,a as m,R as L}from"./main-B65Xrh0d.js";import"./modulepreload-polyfill-B5Qt9EMX.js";import"./cms-api-Cqh1b8je.js";import"./widget-html-Cb84FvUB.js";const o="0.4.9",r={version:o},a=r.version;export{p as LayoutPool,m as LayoutTranslator,L as RendererLite,a as VERSION};
2
+ //# sourceMappingURL=index-D1vit3S3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-B2e9LkNw.js","sources":["../../node_modules/.pnpm/@xiboplayer+renderer@0.4.9/node_modules/@xiboplayer/renderer/src/index.js"],"sourcesContent":["// @xiboplayer/renderer - Layout rendering\nimport pkg from '../package.json' with { type: 'json' };\nexport const VERSION = pkg.version;\nexport { RendererLite } from './renderer-lite.js';\nexport { LayoutPool } from './layout-pool.js';\nexport { LayoutTranslator } from './layout.js';\n"],"names":["VERSION","pkg"],"mappings":"gMAEaA,EAAUC,EAAI","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index-D1vit3S3.js","sources":["../../node_modules/.pnpm/@xiboplayer+renderer@0.4.9/node_modules/@xiboplayer/renderer/src/index.js"],"sourcesContent":["// @xiboplayer/renderer - Layout rendering\nimport pkg from '../package.json' with { type: 'json' };\nexport const VERSION = pkg.version;\nexport { RendererLite } from './renderer-lite.js';\nexport { LayoutPool } from './layout-pool.js';\nexport { LayoutTranslator } from './layout.js';\n"],"names":["VERSION","pkg"],"mappings":"gMAEaA,EAAUC,EAAI","x_google_ignoreList":[0]}