eligius 3.0.1 → 4.1.0
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/README.md +102 -6
- package/dist/configuration-api.d.mts +144 -328
- package/dist/configuration-api.mjs +197 -241
- package/dist/configuration-api.mjs.map +1 -1
- package/dist/engine-factory-BHDMlt6g.mjs +14404 -0
- package/dist/engine-factory-BHDMlt6g.mjs.map +1 -0
- package/dist/index.d.mts +835 -9673
- package/dist/index.mjs +1555 -15430
- package/dist/index.mjs.map +1 -1
- package/dist/lint.d.mts +5005 -0
- package/dist/lint.mjs +4406 -0
- package/dist/lint.mjs.map +1 -0
- package/dist/locale-manager-CNZ2kj0g.d.mts +8537 -0
- package/dist/metadata.d.mts +128 -567
- package/dist/metadata.mjs +184 -276
- package/dist/metadata.mjs.map +1 -1
- package/dist/{rolldown-runtime-BOlb2svz.mjs → rolldown-runtime-CGzGPw9x.mjs} +1 -2
- package/dist/runtime.d.mts +3 -0
- package/dist/runtime.mjs +4 -0
- package/jsonschema/eligius-configuration.json +53 -7
- package/package.json +24 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __exportAll = (all, no_symbols) => {
|
|
5
5
|
let target = {};
|
|
@@ -15,5 +15,4 @@ var __exportAll = (all, no_symbols) => {
|
|
|
15
15
|
return target;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
//#endregion
|
|
19
18
|
export { __exportAll as t };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
2
|
+
import { $ as IAction, $a as IContainerProvider, $i as TEventbusErrorSource, $n as IInvokeObjectMethodOperationData, $o as CompleteEvent, $r as compareDate, $t as ISetStyleOperationData, A as index_d_exports$2, Aa as KeysOfType, Ai as INavigationControllerOperationData, An as reparentElement, Ao as RequestVideoUriInterceptor, Ar as formatText, At as TTimelineProviderSettings, B as TParameterTypes, Ba as ILocaleLoadResult, Bi as KeyboardController, Bn as IMathOperationData, Bo as ResizeRequestEvent, Br as extendController, Bt as toggleElement, C as BasePositionSource, Ca as IImporterResources, Ci as addClass, Cn as IRequestActionOperationData, Co as TLottieRendererConfig, Cr as IGetControllerInstanceOperationData, Cs as BeforeRequestVideoUrlEvent, Ct as ITimelineFlow, D as index_d_exports, Da as ISubtitle, Di as RoutingController, Dn as IReplaceStringOperationData, Do as TOperation, Dr as IGetAttributesFromElementOperationData, Dt as TControllerType, E as index_d_exports$1, Ea as IStrictDuration, Ei as IRoutingControllerOperationData, En as replaceText, Eo as IOperationScope, Er as getControllerFromElement, Et as TControllerName, F as THasDescription, Fa as TEngineInputScope, Fi as ILottieControllerMetadata, Fn as IRemoveControllerFromElementOperationData, Fo as StopEvent, Fr as IFindInArrayOperationData, Ft as IValidateFormOperationData, G as LocaleEventbusAdapter, Ga as ILocaleReference, Gi as IEventbusErrorContext, Gn as log, Go as PlayEvent, Gr as ICustomFunctionOperationData, Gt as IStartActionOperationData, H as TPropertiesMetadata, Ha as ILocaleLoaderOptions, Hi as DOMEventListenerController, Hn as IMapArrayOperationData, Ho as RequestCurrentTimelineEvent, Hr as endForEach, Ht as toggleClass, I as THasErased, Ia as TProviderClass, Ii as LottieController, In as removeControllerFromElement, Io as SeekedEvent, Ir as findInArray, It as validateForm, J as EngineEventbusAdapter, Ja as TLanguageCode, Ji as IEventbusListener, Jn as loadJson, Jo as FirstFrameEvent, Jr as createElement, Jt as splitString, K as EngineInputAdapter, Ka as ILocalesConfiguration, Ki as IEventbusErrorReport, Kn as ILoadJSONOperationData, Ko as PauseRequestEvent, Kr as customFunction, Kt as startAction, L as THasRequired, La as TRegisteredResourceKind, Li as ILabelControllerMetadata, Ln as IRemoveClassOperationData, Lo as SeekRequestEvent, Lr as IFilterArrayOperationData, Lt as IToggleFormElementOperationData, M as TArrayProperyMetadata, Ma as TActionPhase, Mi as IMutationEventPayload, Mn as removePropertiesFromOperationData, Mo as VideoCompleteEvent, Mr as formatDate, Mt as when, N as TComplexPropertyMetadata, Na as TControllerClass, Ni as IMutationObserverControllerMetadata, Nn as IRemoveElementOperationData, No as TimeEvent, Nr as IForEachOperationData, Nt as IWaitOperationData, O as IControllerMetadata, Oa as ISubtitleCollection, Oi as IProgressbarControllerOperationData, On as replaceString, Oo as TOperationData, Or as getAttributesFromElement, Ot as TOperationName, P as TConstantParametersTypes, Pa as TEngineClass, Pi as MutationObserverController, Pn as removeElement, Po as StopRequestEvent, Pr as forEach, Pt as wait, Q as Action, Qa as isLocaleReference, Qi as TEventbusErrorHandler, Qn as isElementInViewport, Qo as ContainerRequestEvent, Qr as ICompareDateOperationData, Qt as setVariable, R as TOperationCategory, Ra as TResultCallback, Ri as LabelController, Rn as removeClass, Ro as SeekEvent, Rr as filterArray, Rt as toggleFormElement, S as TVerticalMode, Sa as IEngineInputOptions, Si as IAddClassOperationData, Sn as saveToStorage, So as TLottieAnimationSegment, Sr as getCurrentTime, Ss as DomMutationEvent, St as ITimelineConfiguration, T as createImporter, Ta as ISimpleResourceImporter, Ti as SubtitlesController, Tn as IReplaceTextOperationData, To as ExtractReturnedOperationData, Tr as IGetControllerFromElementOperationData, Tt as Operations, U as TPropertyMetadata, Ua as ILocaleManager, Ui as IDOMEventListenerControllerOperationData, Un as mapArray, Uo as PlayToggleRequestEvent, Ur as IEndActionOperationData, Ut as ISubstringTextOperationData, V as TParameterTypesDelimited, Va as ILocaleLoader, Vi as TKeyboardControllerScope, Vn as math, Vo as ResizeEvent, Vr as endWhen, Vt as IToggleClassOperationData, W as PARAMETER_TYPES, Wa as ILocaleManagerOptions, Wi as IEventbus, Wn as ILogOperationData, Wo as PlayRequestEvent, Wr as endAction, Wt as substringText, X as TimelineAction, Xa as TLocaleEntry, Xi as RequestName, Xn as loadFromStorage, Xo as DurationEvent, Xr as IConcatenateStringsOperationData, Xt as sortArray, Y as IAdapter, Ya as TLocaleData, Yi as IEventbusOptions, Yn as ILoadFromStorageOperationData, Yo as DurationRequestEvent, Yr as continueForEach, Yt as ISortArrayOperationData, Z as EndableAction, Za as TLocaleValue, Zi as TEventHandler, Zn as IIsElementInViewportOperationData, Zo as CurrentTimelineChangeEvent, Zr as concatenateStrings, Zt as ISetVariableOperationData, _ as ScrollPositionSourceConfig, _a as IEngineActionError, _i as animate, _n as IScrollToPositionOperationData, _o as ILottieSVGRendererConfig, _r as IGetFocusedElementOperationData, _s as LanguageChangeEvent, _t as IResolvedEndableActionConfiguration, a as EngineActionError, aa as EventName, ai as IClearElementOperationData, an as ISetFormValueOperationData, ao as isSeekable, ar as IHttpDeleteOperationData, as as RequestLabelCollectionsEvent, at as GetOperationByName, b as KeyboardStepSource, ba as IEngineFactoryOptions, bi as IAddControllerToElementOperationData, bn as scrollToElement, bo as TLottieAnimationEventCallback, br as getElementDimensions, bs as ActionRegistryEventbusListener, bt as IResolvedTimelineConfiguration, c as TypedEventEmitter, ca as EngineEvents, ci as calc, cn as setFocus, co as ILottieAnimationItem, cr as getTextContent, cs as RequestFunctionEvent, ct as IEndableActionConfiguration, d as DomContainerProvider, da as IConfigurationWarning, di as breakForEach, dn as ISetElementAttributesOperationData, do as ILottieCompleteEvent, dr as IGetQueryParamsOperationData, ds as RequestCurrentTimelinePositionEvent, dt as IEventActionConfiguration, ea as TEventbusRemover, ei as IClearStorageOperationData, en as setStyle, eo as IPlaylist, er as invokeObjectMethod, es as RequestVideoUrlEvent, et as IEndableAction, f as DomContainerProviderConfig, fa as IDimensions, fi as IAnnounceToScreenReaderOperationData, fn as setElementAttributes, fo as ILottieCompleteLoopEvent, fr as getQueryParams, fs as RequestCurrentNavigationEvent, ft as ILabel, g as ScrollPositionSource, ga as IEligiusResourceRegistrations, gi as IAnimateOperationData, gn as selectElement, go as ILottieHTMLRendererConfig, gr as getFormData, gs as NavigateToVideoUrlEvent, gt as IResolvedActionConfiguration, h as VideoSource, ha as IEligiusEngineOptions, hi as animateWithClass, hn as ISelectElementOperationData, ho as ILottieFilterSizeConfig, hr as IGetFormDataOperationData, hs as PushHistoryStateEvent, ht as IPositionSourceConfig, i as EligiusEngine, ia as EventMap, ii as clearOperationData, in as setGlobalData, io as TSourceState, ir as httpPost, is as RequestTimelineCleanupEvent, it as GetControllerByName, j as IOperationMetadata, ja as RequireKeys, ji as NavigationController, jn as IRemovePropertiesFromOperationDataOperationData, jo as IEventMetadata, jr as IFormatDateOperationData, jt as IWhenOperationData, k as ConfigurationResolver, ka as ITimelineProviderInfo, ki as ProgressbarController, kn as IReparentElementOperationData, ko as TOperationResult, kr as IFormatTextOperationData, kt as TOperationType, l as SimplePlaylist, la as IConfigurationResolver, li as IBroadcastEventOperationData, ln as ISetElementContentOperationData, lo as ILottieBaseRendererConfig, lr as IGetScrollPositionOperationData, ls as RequestEngineRootEvent, lt as IEngineConfiguration, m as VideoPositionSourceConfig, ma as IEligiusEngine, mi as IAnimateWithClassOperationData, mn as setData, mo as ILottieEnterFrameEvent, mr as getImport, ms as RequestActionEvent, mt as IPlaylistConfig, n as LocaleLoader, na as TTypedRequestResponder, ni as clearStorage, nn as setOperationData, no as ISeekable, nr as httpPut, ns as RequestTranslationEvent, nt as Controllers, o as EventHandler, oa as RequestMap, oi as clearElement, on as setFormValue, oo as IController, or as httpDelete, os as RequestLabelCollectionEvent, ot as IActionConfiguration, p as VideoPositionSource, pa as IDuration, pi as announceToScreenReader, pn as ISetDataOperationData, po as ILottieDestroyEvent, pr as IGetImportOperationData, ps as RequestCurrentLanguageEvent, pt as IOperationConfiguration, q as IEngineInputAdapterOptions, qa as LocaleEvents, qi as IEventbusInterceptor, qn as clearJsonCache, qo as PauseEvent, qr as ICreateElementOperationData, qt as ISplitStringOperationData, r as EngineFactory, ra as AllEvents, ri as IClearOperationDataOperationData, rn as ISetGlobalDataOperationData, ro as TBoundary, rr as IHttpPostOperationData, rs as RequestTimelineUriEvent, rt as ExtractOperationDataType, s as ITypedEventEmitter, sa as EngineErrorEvent, si as ICalcOperationData, sn as ISetFocusOperationData, so as ILottieAnimationEvents, sr as IGetTextContentOperationData, ss as RequestInstanceEvent, st as IContainerProviderConfig, t as LocaleManager, ta as TRequestResponder, ti as StorageType, tn as ISetOperationData, to as IPositionSource, tr as IHttpPutOperationData, ts as RequestVideoCleanupEvent, tt as ITimelineAction, u as SimplePlaylistConfig, ua as IConfigurationResolverOptions, ui as broadcastEvent, un as setElementContent, uo as ILottieCanvasRendererConfig, ur as getScrollPosition, us as RequestCurrentVideoPositionEvent, ut as IEngineInfo, v as RafPositionSource, va as IEngineEventSubscriptionOptions, vn as scrollToPosition, vo as ILottieSegmentStartEvent, vr as getFocusedElement, vs as HighlightNavigationEvent, vt as IResolvedEngineConfiguration, w as clearGlobals, wa as IResourceImporter, wi as ISubtitlesControllerOperationData, wn as requestAction, wo as ExtractOperationData, wr as getControllerInstance, ws as BeforeRequestTimelineUriEvent, wt as ITimelineProviderSettings, x as KeyboardStepSourceConfig, xa as IEngineFactoryResult, xi as addControllerToElement, xn as ISaveToStorageOperationData, xo as TLottieAnimationEventName, xr as IGetCurrentTimeOperationData, xs as EngineCommandErrorEvent, xt as ITimelineActionConfiguration, y as RafPositionSourceConfig, ya as IEngineFactory, yi as addGlobalsToOperation, yn as IScrollToElementOperationData, yo as TLottieAnimationDirection, yr as IGetElementDimensionsOperationData, ys as Eventbus, yt as IResolvedOperation, z as TParameterTypeName, za as TimelineTypes, zi as IKeyboardControllerOperationData, zn as otherwise, zo as RestartEvent, zr as IExtendControllerOperationData, zt as IToggleElementOperationData } from "./locale-manager-CNZ2kj0g.mjs";
|
|
3
|
+
export { Action, ActionRegistryEventbusListener, AllEvents, BasePositionSource, type BeforeRequestTimelineUriEvent, type BeforeRequestVideoUrlEvent, type CompleteEvent, ConfigurationResolver, type ContainerRequestEvent, Controllers, type CurrentTimelineChangeEvent, DOMEventListenerController, DomContainerProvider, type DomContainerProviderConfig, type DomMutationEvent, type DurationEvent, type DurationRequestEvent, EligiusEngine, EndableAction, EngineActionError, type EngineCommandErrorEvent, type EngineErrorEvent, EngineEventbusAdapter, EngineEvents, EngineFactory, EngineInputAdapter, EventHandler, EventMap, EventName, Eventbus, ExtractOperationData, ExtractOperationDataType, ExtractReturnedOperationData, type FirstFrameEvent, GetControllerByName, GetOperationByName, type HighlightNavigationEvent, IAction, IActionConfiguration, type IAdapter, type IAddClassOperationData, type IAddControllerToElementOperationData, type IAnimateOperationData, type IAnimateWithClassOperationData, type IAnnounceToScreenReaderOperationData, type IBroadcastEventOperationData, type ICalcOperationData, type IClearElementOperationData, type IClearOperationDataOperationData, type IClearStorageOperationData, type ICompareDateOperationData, type IConcatenateStringsOperationData, IConfigurationResolver, IConfigurationResolverOptions, IConfigurationWarning, IContainerProvider, IContainerProviderConfig, IController, IControllerMetadata, type ICreateElementOperationData, type ICustomFunctionOperationData, type IDOMEventListenerControllerOperationData, IDimensions, IDuration, IEligiusEngine, IEligiusEngineOptions, IEligiusResourceRegistrations, type IEndActionOperationData, IEndableAction, IEndableActionConfiguration, IEngineActionError, IEngineConfiguration, IEngineEventSubscriptionOptions, IEngineFactory, IEngineFactoryOptions, IEngineFactoryResult, IEngineInfo, type IEngineInputAdapterOptions, IEngineInputOptions, IEventActionConfiguration, IEventMetadata, IEventbus, IEventbusErrorContext, IEventbusErrorReport, IEventbusInterceptor, IEventbusListener, IEventbusOptions, type IExtendControllerOperationData, type IFilterArrayOperationData, type IFindInArrayOperationData, type IForEachOperationData, type IFormatDateOperationData, type IFormatTextOperationData, type IGetAttributesFromElementOperationData, type IGetControllerFromElementOperationData, type IGetControllerInstanceOperationData, type IGetCurrentTimeOperationData, type IGetElementDimensionsOperationData, type IGetFocusedElementOperationData, type IGetFormDataOperationData, type IGetImportOperationData, type IGetQueryParamsOperationData, type IGetScrollPositionOperationData, type IGetTextContentOperationData, type IHttpDeleteOperationData, type IHttpPostOperationData, type IHttpPutOperationData, IImporterResources, type IInvokeObjectMethodOperationData, type IIsElementInViewportOperationData, type IKeyboardControllerOperationData, ILabel, type ILabelControllerMetadata, type ILoadFromStorageOperationData, type ILoadJSONOperationData, type ILocaleLoadResult, type ILocaleLoader, type ILocaleLoaderOptions, type ILocaleManager, type ILocaleManagerOptions, type ILocaleReference, type ILocalesConfiguration, type ILogOperationData, ILottieAnimationEvents, ILottieAnimationItem, ILottieBaseRendererConfig, ILottieCanvasRendererConfig, ILottieCompleteEvent, ILottieCompleteLoopEvent, type ILottieControllerMetadata, ILottieDestroyEvent, ILottieEnterFrameEvent, ILottieFilterSizeConfig, ILottieHTMLRendererConfig, ILottieSVGRendererConfig, ILottieSegmentStartEvent, type IMapArrayOperationData, type IMathOperationData, type IMutationEventPayload, type IMutationObserverControllerMetadata, type INavigationControllerOperationData, IOperationConfiguration, IOperationMetadata, IOperationScope, IPlaylist, IPlaylistConfig, IPositionSource, IPositionSourceConfig, type IProgressbarControllerOperationData, type IRemoveClassOperationData, type IRemoveControllerFromElementOperationData, type IRemoveElementOperationData, type IRemovePropertiesFromOperationDataOperationData, type IReparentElementOperationData, type IReplaceStringOperationData, type IReplaceTextOperationData, type IRequestActionOperationData, IResolvedActionConfiguration, IResolvedEndableActionConfiguration, IResolvedEngineConfiguration, IResolvedOperation, IResolvedTimelineConfiguration, IResourceImporter, type IRoutingControllerOperationData, type ISaveToStorageOperationData, type IScrollToElementOperationData, type IScrollToPositionOperationData, ISeekable, type ISelectElementOperationData, type ISetDataOperationData, type ISetElementAttributesOperationData, type ISetElementContentOperationData, type ISetFocusOperationData, type ISetFormValueOperationData, type ISetGlobalDataOperationData, type ISetOperationData, type ISetStyleOperationData, type ISetVariableOperationData, ISimpleResourceImporter, type ISortArrayOperationData, type ISplitStringOperationData, type IStartActionOperationData, IStrictDuration, type ISubstringTextOperationData, ISubtitle, ISubtitleCollection, type ISubtitlesControllerOperationData, ITimelineAction, ITimelineActionConfiguration, ITimelineConfiguration, ITimelineFlow, ITimelineProviderInfo, ITimelineProviderSettings, type IToggleClassOperationData, type IToggleElementOperationData, type IToggleFormElementOperationData, ITypedEventEmitter, type IValidateFormOperationData, type IWaitOperationData, type IWhenOperationData, KeyboardController, KeyboardStepSource, type KeyboardStepSourceConfig, KeysOfType, LabelController, type LanguageChangeEvent, LocaleEventbusAdapter, type LocaleEvents, LocaleLoader, LocaleManager, LottieController, MutationObserverController, type NavigateToVideoUrlEvent, NavigationController, Operations, PARAMETER_TYPES, type PauseEvent, type PauseRequestEvent, type PlayEvent, type PlayRequestEvent, type PlayToggleRequestEvent, ProgressbarController, type PushHistoryStateEvent, RafPositionSource, type RafPositionSourceConfig, type RequestActionEvent, type RequestCurrentLanguageEvent, type RequestCurrentNavigationEvent, type RequestCurrentTimelineEvent, type RequestCurrentTimelinePositionEvent, type RequestCurrentVideoPositionEvent, type RequestEngineRootEvent, type RequestFunctionEvent, type RequestInstanceEvent, type RequestLabelCollectionEvent, type RequestLabelCollectionsEvent, RequestMap, RequestName, type RequestTimelineCleanupEvent, type RequestTimelineUriEvent, type RequestTranslationEvent, type RequestVideoCleanupEvent, RequestVideoUriInterceptor, type RequestVideoUrlEvent, RequireKeys, type ResizeEvent, type ResizeRequestEvent, type RestartEvent, RoutingController, ScrollPositionSource, type ScrollPositionSourceConfig, type SeekEvent, type SeekRequestEvent, type SeekedEvent, SimplePlaylist, type SimplePlaylistConfig, type StopEvent, type StopRequestEvent, type StorageType, SubtitlesController, TActionPhase, TArrayProperyMetadata, TBoundary, TComplexPropertyMetadata, TConstantParametersTypes, TControllerClass, TControllerName, TControllerType, TEngineClass, TEngineInputScope, TEventHandler, TEventbusErrorHandler, TEventbusErrorSource, TEventbusRemover, THasDescription, THasErased, THasRequired, type TKeyboardControllerScope, type TLanguageCode, type TLocaleData, type TLocaleEntry, type TLocaleValue, TLottieAnimationDirection, TLottieAnimationEventCallback, TLottieAnimationEventName, TLottieAnimationSegment, TLottieRendererConfig, TOperation, TOperationCategory, TOperationData, TOperationName, TOperationResult, TOperationType, TParameterTypeName, TParameterTypes, TParameterTypesDelimited, TPropertiesMetadata, TPropertyMetadata, TProviderClass, TRegisteredResourceKind, TRequestResponder, TResultCallback, TSourceState, TTimelineProviderSettings, TTypedRequestResponder, type TVerticalMode, type TimeEvent, TimelineAction, TimelineTypes, TypedEventEmitter, type VideoCompleteEvent, VideoPositionSource, type VideoPositionSourceConfig, type VideoSource, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, announceToScreenReader, breakForEach, broadcastEvent, calc, clearElement, clearGlobals, clearJsonCache, clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach, createElement, createImporter, index_d_exports as ctrlmetadata, customFunction, endAction, endForEach, endWhen, index_d_exports$1 as eventmetadata, extendController, filterArray, findInArray, forEach, formatDate, formatText, getAttributesFromElement, getControllerFromElement, getControllerInstance, getCurrentTime, getElementDimensions, getFocusedElement, getFormData, getImport, getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod, isElementInViewport, isLocaleReference, isSeekable, loadFromStorage, loadJson, log, mapArray, math, index_d_exports$2 as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, replaceString, replaceText, requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement, setData, setElementAttributes, setElementContent, setFocus, setFormValue, setGlobalData, setOperationData, setStyle, setVariable, sortArray, splitString, startAction, substringText, toggleClass, toggleElement, toggleFormElement, validateForm, wait, when };
|
package/dist/runtime.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
|
|
2
|
+
import { $ as setElementContent, $t as calc, A as LabelController, At as getFormData, B as toggleFormElement, Bt as filterArray, C as metadata_exports$1, Ct as httpPut, D as NavigationController, Dt as getScrollPosition, E as ProgressbarController, Et as getTextContent, Ft as getControllerFromElement, G as splitString, Gt as customFunction, H as toggleClass, Ht as endWhen, It as getAttributesFromElement, J as setStyle, Jt as concatenateStrings, K as sortArray, Kt as createElement, L as metadata_exports$2, Lt as formatText, M as DOMEventListenerController, Mt as getElementDimensions, N as ConfigurationResolver, Nt as getCurrentTime, O as MutationObserverController, Ot as getQueryParams, P as metadata_exports, Pt as getControllerInstance, Q as setFocus, Qt as clearElement, R as wait, Rt as formatDate, S as ActionRegistryEventbusListener, St as invokeObjectMethod, T as RoutingController, Tt as httpDelete, U as substringText, Ut as endForEach, V as toggleElement, Vt as extendController, W as startAction, Wt as endAction, X as setGlobalData, Xt as clearStorage, Y as setOperationData, Yt as compareDate, Z as setFormValue, Zt as clearOperationData, _ as EligiusEngine, _t as log, a as PARAMETER_TYPES, an as addGlobalsToOperation, at as saveToStorage, b as RequestVideoUriInterceptor, bt as loadFromStorage, c as VideoPositionSource, cn as LocaleEventbusAdapter, ct as replaceString, d as KeyboardStepSource, dn as TimelineAction, dt as removeElement, en as broadcastEvent, et as setElementAttributes, f as BasePositionSource, fn as EndableAction, ft as removeControllerFromElement, gn as clearGlobals, gt as mapArray, hn as forEach, ht as math, i as LocaleLoader, in as animate, it as scrollToElement, j as KeyboardController, jt as getFocusedElement, k as LottieController, kt as getImport, l as ScrollPositionSource, ln as EngineInputAdapter, lt as reparentElement, m as createImporter, mn as when, mt as otherwise, n as LocaleManager, nn as announceToScreenReader, nt as selectElement, o as SimplePlaylist, on as addControllerToElement, ot as requestAction, p as isSeekable, pn as Action, pt as removeClass, q as setVariable, qt as continueForEach, r as isLocaleReference, rn as animateWithClass, rt as scrollToPosition, s as DomContainerProvider, sn as addClass, st as replaceText, t as EngineFactory, tn as breakForEach, tt as setData, u as RafPositionSource, un as EngineEventbusAdapter, ut as removePropertiesFromOperationData, v as EngineActionError, vt as clearJsonCache, w as SubtitlesController, wt as httpPost, x as Eventbus, xt as isElementInViewport, y as TypedEventEmitter, yt as loadJson, z as validateForm, zt as findInArray } from "./engine-factory-BHDMlt6g.mjs";
|
|
3
|
+
|
|
4
|
+
export { Action, ActionRegistryEventbusListener, BasePositionSource, ConfigurationResolver, DOMEventListenerController, DomContainerProvider, EligiusEngine, EndableAction, EngineActionError, EngineEventbusAdapter, EngineFactory, EngineInputAdapter, Eventbus, KeyboardController, KeyboardStepSource, LabelController, LocaleEventbusAdapter, LocaleLoader, LocaleManager, LottieController, MutationObserverController, NavigationController, PARAMETER_TYPES, ProgressbarController, RafPositionSource, RequestVideoUriInterceptor, RoutingController, ScrollPositionSource, SimplePlaylist, SubtitlesController, TimelineAction, TypedEventEmitter, VideoPositionSource, addClass, addControllerToElement, addGlobalsToOperation, animate, animateWithClass, announceToScreenReader, breakForEach, broadcastEvent, calc, clearElement, clearGlobals, clearJsonCache, clearOperationData, clearStorage, compareDate, concatenateStrings, continueForEach, createElement, createImporter, metadata_exports as ctrlmetadata, customFunction, endAction, endForEach, endWhen, metadata_exports$1 as eventmetadata, extendController, filterArray, findInArray, forEach, formatDate, formatText, getAttributesFromElement, getControllerFromElement, getControllerInstance, getCurrentTime, getElementDimensions, getFocusedElement, getFormData, getImport, getQueryParams, getScrollPosition, getTextContent, httpDelete, httpPost, httpPut, invokeObjectMethod, isElementInViewport, isLocaleReference, isSeekable, loadFromStorage, loadJson, log, mapArray, math, metadata_exports$2 as metadata, otherwise, removeClass, removeControllerFromElement, removeElement, removePropertiesFromOperationData, reparentElement, replaceString, replaceText, requestAction, saveToStorage, scrollToElement, scrollToPosition, selectElement, setData, setElementAttributes, setElementContent, setFocus, setFormValue, setGlobalData, setOperationData, setStyle, setVariable, sortArray, splitString, startAction, substringText, toggleClass, toggleElement, toggleFormElement, validateForm, wait, when };
|
|
@@ -180,21 +180,44 @@
|
|
|
180
180
|
],
|
|
181
181
|
"additionalProperties": false
|
|
182
182
|
},
|
|
183
|
-
"description": "Media to load (video sources), each with its URL and MIME type. `VideoPositionSource` requires a non-empty list."
|
|
183
|
+
"description": "Media to load (video sources), each with its URL and MIME type, in order of preference. `VideoPositionSource` requires a non-empty list of browser-playable media files (video or audio, for example MP4, WebM or MP3)."
|
|
184
184
|
},
|
|
185
185
|
"poster": {
|
|
186
186
|
"type": "string",
|
|
187
187
|
"description": "Optional poster image URL (video sources)."
|
|
188
|
+
},
|
|
189
|
+
"loadTimeout": {
|
|
190
|
+
"type": "number",
|
|
191
|
+
"description": "Milliseconds `VideoPositionSource` waits for a source to become playable before `init()` rejects. `0` disables the limit.",
|
|
192
|
+
"default": 30000
|
|
188
193
|
}
|
|
189
194
|
},
|
|
190
195
|
"required": [
|
|
191
196
|
"systemName"
|
|
192
197
|
],
|
|
193
198
|
"additionalProperties": {
|
|
194
|
-
"description": "Additional configuration options passed to the position source constructor. Use this for custom position source implementations."
|
|
199
|
+
"description": "Additional configuration options passed to the position source constructor. Use this for custom position source implementations. `VideoPositionSource` rejects an `options` key (removed in 4.0.0)."
|
|
195
200
|
},
|
|
196
|
-
"description": "Configuration for a position source.\n\nPosition sources drive timeline position. They are resolved dynamically via the resource importer using the `systemName` property.\n\nBuilt-in position sources:\n- `RafPositionSource`: RAF-based, drives timeline by elapsed time\n- `ScrollPositionSource`: Scroll-based, drives timeline by scroll position\n- `VideoPositionSource`:
|
|
197
|
-
"example": "```typescript\n// RAF-based position source\nconst rafConfig: IPositionSourceConfig = {\n systemName: 'RafPositionSource',\n tickInterval: 100,\n};\n\n// Scroll-based position source\nconst scrollConfig: IPositionSourceConfig = {\n systemName: 'ScrollPositionSource',\n selector: '.scroll-container',\n};\n\n// Video-based position source\nconst videoConfig: IPositionSourceConfig = {\n systemName: 'VideoPositionSource',\n selector: '#video-player',\n sources: [{src: '/intro.mp4', type: 'video/mp4'}],\n poster: '/poster.jpg',\n};\n```"
|
|
201
|
+
"description": "Configuration for a position source.\n\nPosition sources drive timeline position. They are resolved dynamically via the resource importer using the `systemName` property.\n\nBuilt-in position sources:\n- `RafPositionSource`: RAF-based, drives timeline by elapsed time\n- `ScrollPositionSource`: Scroll-based, drives timeline by scroll position\n- `VideoPositionSource`: native HTML video element, drives timeline by media playback",
|
|
202
|
+
"example": "```typescript\n// RAF-based position source\nconst rafConfig: IPositionSourceConfig = {\n systemName: 'RafPositionSource',\n tickInterval: 100,\n};\n\n// Scroll-based position source\nconst scrollConfig: IPositionSourceConfig = {\n systemName: 'ScrollPositionSource',\n selector: '.scroll-container',\n};\n\n// Video-based position source\nconst videoConfig: IPositionSourceConfig = {\n systemName: 'VideoPositionSource',\n selector: '#video-player',\n sources: [{src: '/intro.mp4', type: 'video/mp4'}],\n poster: '/poster.jpg',\n};\n```",
|
|
203
|
+
"if": {
|
|
204
|
+
"properties": {
|
|
205
|
+
"systemName": {
|
|
206
|
+
"const": "VideoPositionSource"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": [
|
|
210
|
+
"systemName"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"then": {
|
|
214
|
+
"properties": {
|
|
215
|
+
"options": {
|
|
216
|
+
"not": {},
|
|
217
|
+
"description": "Removed in 4.0.0. Put 'sources' and 'poster' directly in the position source settings."
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
198
221
|
},
|
|
199
222
|
"IContainerProviderConfig": {
|
|
200
223
|
"type": "object",
|
|
@@ -630,7 +653,7 @@
|
|
|
630
653
|
},
|
|
631
654
|
"positionSource": {
|
|
632
655
|
"$ref": "#/definitions/Partial%3CIPositionSourceConfig%3E",
|
|
633
|
-
"description": "Optional position source settings for this timeline only, merged over `timelineProviderSettings[type].positionSource`.\n\n- Leave out `systemName` (or repeat the type's) to change single settings, for example only the `selector` of a scroll timeline. The other settings of the type still apply.\n- Name a different `systemName` to give this timeline another kind of source, for example a `ScrollPositionSource` chapter in a configuration whose animation timelines use `RafPositionSource`. The type's position source settings are then not used, and when every timeline of a type does this, the type needs no `timelineProviderSettings` entry.\n\nA source that renders its own container (`VideoPositionSource`) is shared by every timeline of the type with the same effective settings, so only an override that changes the video settings creates a second
|
|
656
|
+
"description": "Optional position source settings for this timeline only, merged over `timelineProviderSettings[type].positionSource`.\n\n- Leave out `systemName` (or repeat the type's) to change single settings, for example only the `selector` of a scroll timeline. The other settings of the type still apply.\n- Name a different `systemName` to give this timeline another kind of source, for example a `ScrollPositionSource` chapter in a configuration whose animation timelines use `RafPositionSource`. The type's position source settings are then not used, and when every timeline of a type does this, the type needs no `timelineProviderSettings` entry.\n\nA source that renders its own container (`VideoPositionSource`) is shared by every timeline of the type with the same effective settings, so only an override that changes the video settings creates a second video element. Other sources are created once per timeline, as without an override.",
|
|
634
657
|
"example": "```json\n{\"positionSource\": {\"systemName\": \"ScrollPositionSource\", \"selector\": \"#chapter-2\"}}\n```"
|
|
635
658
|
},
|
|
636
659
|
"containerProvider": {
|
|
@@ -749,15 +772,38 @@
|
|
|
749
772
|
],
|
|
750
773
|
"additionalProperties": false
|
|
751
774
|
},
|
|
752
|
-
"description": "Media to load (video sources), each with its URL and MIME type. `VideoPositionSource` requires a non-empty list."
|
|
775
|
+
"description": "Media to load (video sources), each with its URL and MIME type, in order of preference. `VideoPositionSource` requires a non-empty list of browser-playable media files (video or audio, for example MP4, WebM or MP3)."
|
|
753
776
|
},
|
|
754
777
|
"poster": {
|
|
755
778
|
"type": "string",
|
|
756
779
|
"description": "Optional poster image URL (video sources)."
|
|
780
|
+
},
|
|
781
|
+
"loadTimeout": {
|
|
782
|
+
"type": "number",
|
|
783
|
+
"description": "Milliseconds `VideoPositionSource` waits for a source to become playable before `init()` rejects. `0` disables the limit.",
|
|
784
|
+
"default": 30000
|
|
757
785
|
}
|
|
758
786
|
},
|
|
759
787
|
"additionalProperties": {
|
|
760
|
-
"description": "Additional configuration options passed to the position source constructor. Use this for custom position source implementations."
|
|
788
|
+
"description": "Additional configuration options passed to the position source constructor. Use this for custom position source implementations. `VideoPositionSource` rejects an `options` key (removed in 4.0.0)."
|
|
789
|
+
},
|
|
790
|
+
"if": {
|
|
791
|
+
"properties": {
|
|
792
|
+
"systemName": {
|
|
793
|
+
"const": "VideoPositionSource"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"required": [
|
|
797
|
+
"systemName"
|
|
798
|
+
]
|
|
799
|
+
},
|
|
800
|
+
"then": {
|
|
801
|
+
"properties": {
|
|
802
|
+
"options": {
|
|
803
|
+
"not": {},
|
|
804
|
+
"description": "Removed in 4.0.0. Put 'sources' and 'poster' directly in the position source settings."
|
|
805
|
+
}
|
|
806
|
+
}
|
|
761
807
|
}
|
|
762
808
|
},
|
|
763
809
|
"Partial<IContainerProviderConfig>": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eligius",
|
|
3
3
|
"author": "Roland Zwaga <rbzwaga@gmail.com>",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rolandzwaga.github.io/eligius/",
|
|
7
7
|
"bugs": {
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
"types": "./dist/index.d.mts",
|
|
18
18
|
"default": "./dist/index.mjs"
|
|
19
19
|
},
|
|
20
|
+
"./runtime": {
|
|
21
|
+
"types": "./dist/runtime.d.mts",
|
|
22
|
+
"default": "./dist/runtime.mjs"
|
|
23
|
+
},
|
|
20
24
|
"./metadata": {
|
|
21
25
|
"types": "./dist/metadata.d.mts",
|
|
22
26
|
"default": "./dist/metadata.mjs"
|
|
@@ -25,18 +29,29 @@
|
|
|
25
29
|
"types": "./dist/configuration-api.d.mts",
|
|
26
30
|
"default": "./dist/configuration-api.mjs"
|
|
27
31
|
},
|
|
32
|
+
"./lint": {
|
|
33
|
+
"types": "./dist/lint.d.mts",
|
|
34
|
+
"default": "./dist/lint.mjs"
|
|
35
|
+
},
|
|
28
36
|
"./package.json": "./package.json"
|
|
29
37
|
},
|
|
30
38
|
"typesVersions": {
|
|
31
39
|
"*": {
|
|
40
|
+
"runtime": [
|
|
41
|
+
"dist/runtime.d.mts"
|
|
42
|
+
],
|
|
32
43
|
"metadata": [
|
|
33
44
|
"dist/metadata.d.mts"
|
|
34
45
|
],
|
|
35
46
|
"configuration-api": [
|
|
36
47
|
"dist/configuration-api.d.mts"
|
|
48
|
+
],
|
|
49
|
+
"lint": [
|
|
50
|
+
"dist/lint.d.mts"
|
|
37
51
|
]
|
|
38
52
|
}
|
|
39
53
|
},
|
|
54
|
+
"sideEffects": false,
|
|
40
55
|
"files": [
|
|
41
56
|
"dist",
|
|
42
57
|
"jsonschema"
|
|
@@ -49,6 +64,8 @@
|
|
|
49
64
|
"test": "vitest --config src/vitest.config.ts",
|
|
50
65
|
"test:ci": "vitest run --config src/vitest.config.ts --reporter=verbose",
|
|
51
66
|
"test:coverage": "vitest --config src/vitest.config.ts --coverage",
|
|
67
|
+
"test:published": "npm run build && vitest run --config src/vitest.published.config.ts",
|
|
68
|
+
"bench": "npm run build && vitest bench --run --config src/vitest.config.ts",
|
|
52
69
|
"generate-readmes": "tsx ./src/tools/doc-tools/generate-readmes",
|
|
53
70
|
"generate-schema": "tsx ./src/tools/schema-tools/generate-schemas",
|
|
54
71
|
"typedoc": "typedoc --options typedoc-metadata.json && typedoc --options typedoc.json",
|
|
@@ -65,16 +82,17 @@
|
|
|
65
82
|
"fix": "biome check --write ."
|
|
66
83
|
},
|
|
67
84
|
"devDependencies": {
|
|
68
|
-
"@biomejs/biome": "2.
|
|
69
|
-
"@rollup/plugin-alias": "6.0.
|
|
85
|
+
"@biomejs/biome": "2.6.4",
|
|
86
|
+
"@rollup/plugin-alias": "6.0.1",
|
|
70
87
|
"@types/fs-extra": "11.0.4",
|
|
71
88
|
"@types/jquery": "4.0.1",
|
|
72
89
|
"@types/jsdom": "30.0.0",
|
|
73
|
-
"@types/node": "26.6.
|
|
90
|
+
"@types/node": "26.6.6",
|
|
74
91
|
"@types/uuid": "11.0.0",
|
|
75
92
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
76
93
|
"@vitest/coverage-istanbul": "5.0.5",
|
|
77
94
|
"ajv": "8.20.0",
|
|
95
|
+
"fast-check": "4.10.2",
|
|
78
96
|
"fs-extra": "11.4.1",
|
|
79
97
|
"jquery": "4.0.0",
|
|
80
98
|
"jsdom": "30.1.3",
|
|
@@ -82,18 +100,16 @@
|
|
|
82
100
|
"rimraf": "6.1.3",
|
|
83
101
|
"ts-json-schema-generator": "2.9.0",
|
|
84
102
|
"ts-morph": "28.0.0",
|
|
85
|
-
"tsdown": "0.23.
|
|
103
|
+
"tsdown": "0.23.3",
|
|
86
104
|
"tsx": "4.23.15",
|
|
87
105
|
"typedoc": "0.28.20",
|
|
88
106
|
"typegraph-mcp": "^0.9.56",
|
|
89
|
-
"video.js": "8.24.2",
|
|
90
107
|
"vitest": "5.0.5"
|
|
91
108
|
},
|
|
92
109
|
"peerDependencies": {
|
|
93
110
|
"@types/jquery": "^4.0.1",
|
|
94
111
|
"jquery": "4.0.0",
|
|
95
|
-
"lottie-web": "5.13.0"
|
|
96
|
-
"video.js": "8.24.2"
|
|
112
|
+
"lottie-web": "5.13.0"
|
|
97
113
|
},
|
|
98
114
|
"peerDependenciesMeta": {
|
|
99
115
|
"@types/jquery": {
|
|
@@ -101,9 +117,6 @@
|
|
|
101
117
|
},
|
|
102
118
|
"lottie-web": {
|
|
103
119
|
"optional": true
|
|
104
|
-
},
|
|
105
|
-
"video.js": {
|
|
106
|
-
"optional": true
|
|
107
120
|
}
|
|
108
121
|
},
|
|
109
122
|
"dependencies": {
|