taggedjs 2.8.43 → 3.0.2
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/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/js/TagJsEvent.type.d.ts +1 -5
- package/js/TagJsEvent.type.js +6 -0
- package/js/TagJsEvent.type.js.map +1 -1
- package/js/elements/designElement.function.d.ts +48 -0
- package/js/elements/designElement.function.js +77 -0
- package/js/elements/designElement.function.js.map +1 -0
- package/js/elements/destroyDesignElement.function.d.ts +4 -0
- package/js/elements/destroyDesignElement.function.js +53 -0
- package/js/elements/destroyDesignElement.function.js.map +1 -0
- package/js/elements/div.d.ts +4 -0
- package/js/elements/div.js +6 -0
- package/js/elements/div.js.map +1 -0
- package/js/elements/elementFunctions.d.ts +20 -0
- package/js/elements/elementFunctions.js +140 -0
- package/js/elements/elementFunctions.js.map +1 -0
- package/js/elements/index.d.ts +50 -0
- package/js/elements/index.js +55 -0
- package/js/elements/index.js.map +1 -0
- package/js/elements/noElement.function.d.ts +4 -0
- package/js/elements/noElement.function.js +53 -0
- package/js/elements/noElement.function.js.map +1 -0
- package/js/elements/processChildren.d.ts +5 -0
- package/js/elements/processChildren.function.d.ts +8 -0
- package/js/elements/processChildren.function.js +63 -0
- package/js/elements/processChildren.function.js.map +1 -0
- package/js/elements/processChildren.js +48 -0
- package/js/elements/processChildren.js.map +1 -0
- package/js/elements/processDesignElementInit.function.d.ts +3 -0
- package/js/elements/processDesignElementInit.function.js +19 -0
- package/js/elements/processDesignElementInit.function.js.map +1 -0
- package/js/elements/processDesignElementUpdate.function.d.ts +4 -0
- package/js/elements/processDesignElementUpdate.function.js +70 -0
- package/js/elements/processDesignElementUpdate.function.js.map +1 -0
- package/js/elements/processElementVar.d.ts +4 -0
- package/js/elements/processElementVar.function.d.ts +5 -0
- package/js/elements/processElementVar.function.js +63 -0
- package/js/elements/processElementVar.function.js.map +1 -0
- package/js/elements/processElementVar.js +78 -0
- package/js/elements/processElementVar.js.map +1 -0
- package/js/elements/processElementVarFunction.d.ts +3 -0
- package/js/elements/processElementVarFunction.function.d.ts +4 -0
- package/js/elements/processElementVarFunction.function.js +67 -0
- package/js/elements/processElementVarFunction.function.js.map +1 -0
- package/js/elements/processElementVarFunction.js +53 -0
- package/js/elements/processElementVarFunction.js.map +1 -0
- package/js/index.d.ts +5 -3
- package/js/index.js +4 -2
- package/js/index.js.map +1 -1
- package/js/interpolations/attributes/addSupportEventListener.function.d.ts +2 -1
- package/js/interpolations/attributes/addSupportEventListener.function.js +10 -23
- package/js/interpolations/attributes/addSupportEventListener.function.js.map +1 -1
- package/js/interpolations/attributes/bindSubjectCallback.function.d.ts +2 -2
- package/js/interpolations/attributes/bindSubjectCallback.function.js +10 -8
- package/js/interpolations/attributes/bindSubjectCallback.function.js.map +1 -1
- package/js/interpolations/attributes/bubbleEvent.function.d.ts +1 -0
- package/js/interpolations/attributes/bubbleEvent.function.js +22 -0
- package/js/interpolations/attributes/bubbleEvent.function.js.map +1 -0
- package/js/interpolations/attributes/checkToResolvePromise.function.d.ts +2 -3
- package/js/interpolations/attributes/checkToResolvePromise.function.js +7 -10
- package/js/interpolations/attributes/checkToResolvePromise.function.js.map +1 -1
- package/js/interpolations/attributes/getSupportWithState.function.d.ts +2 -1
- package/js/interpolations/attributes/getSupportWithState.function.js +15 -1
- package/js/interpolations/attributes/getSupportWithState.function.js.map +1 -1
- package/js/interpolations/attributes/getUpTags.function.js +11 -3
- package/js/interpolations/attributes/getUpTags.function.js.map +1 -1
- package/js/interpolations/attributes/howToSetInputValue.function.d.ts +6 -2
- package/js/interpolations/attributes/howToSetInputValue.function.js +52 -2
- package/js/interpolations/attributes/howToSetInputValue.function.js.map +1 -1
- package/js/interpolations/attributes/isSpecialAttribute.function.js +2 -0
- package/js/interpolations/attributes/isSpecialAttribute.function.js.map +1 -1
- package/js/interpolations/attributes/processAttributeCallback.function.d.ts +1 -1
- package/js/interpolations/attributes/processFunctionAttr.function.d.ts +6 -0
- package/js/interpolations/attributes/processFunctionAttr.function.js +65 -0
- package/js/interpolations/attributes/processFunctionAttr.function.js.map +1 -0
- package/js/interpolations/attributes/processNameValueAttribute.function.d.ts +4 -4
- package/js/interpolations/attributes/processNameValueAttribute.function.js +15 -8
- package/js/interpolations/attributes/processNameValueAttribute.function.js.map +1 -1
- package/js/interpolations/attributes/renderTagArray.function.d.ts +1 -1
- package/js/interpolations/attributes/renderTagArray.function.js +5 -2
- package/js/interpolations/attributes/renderTagArray.function.js.map +1 -1
- package/js/interpolations/attributes/specialAttribute.js +6 -5
- package/js/interpolations/attributes/specialAttribute.js.map +1 -1
- package/js/interpolations/attributes/updateAttribute.function.d.ts +1 -2
- package/js/interpolations/attributes/updateAttribute.function.js +2 -2
- package/js/interpolations/attributes/updateAttribute.function.js.map +1 -1
- package/js/interpolations/attributes/updateNameOnlyAttrValue.function.d.ts +4 -0
- package/js/interpolations/attributes/updateNameOnlyAttrValue.function.js +39 -0
- package/js/interpolations/attributes/updateNameOnlyAttrValue.function.js.map +1 -0
- package/js/interpolations/interpolateTemplate.d.ts +1 -1
- package/js/interpolations/optimizers/ObjectNode.types.d.ts +5 -8
- package/js/interpolations/optimizers/attachDynamicDom.function.d.ts +3 -5
- package/js/interpolations/optimizers/attachDynamicDom.function.js +10 -7
- package/js/interpolations/optimizers/attachDynamicDom.function.js.map +1 -1
- package/js/interpolations/optimizers/domProcessContextItem.function.d.ts +1 -3
- package/js/interpolations/optimizers/domProcessContextItem.function.js +8 -9
- package/js/interpolations/optimizers/domProcessContextItem.function.js.map +1 -1
- package/js/isInstance.d.ts +1 -1
- package/js/isInstance.js +2 -0
- package/js/isInstance.js.map +1 -1
- package/js/render/addOneContext.function.d.ts +4 -0
- package/js/render/addOneContext.function.js +26 -0
- package/js/render/addOneContext.function.js.map +1 -0
- package/js/render/afterRender.function.d.ts +5 -2
- package/js/render/afterRender.function.js +24 -8
- package/js/render/afterRender.function.js.map +1 -1
- package/js/render/attributes/createDynamicAttribute.function.d.ts +6 -6
- package/js/render/attributes/createDynamicAttribute.function.js +35 -9
- package/js/render/attributes/createDynamicAttribute.function.js.map +1 -1
- package/js/render/attributes/processAttribute.function.d.ts +9 -10
- package/js/render/attributes/processAttribute.function.js +58 -57
- package/js/render/attributes/processAttribute.function.js.map +1 -1
- package/js/render/attributes/processStandAloneAttribute.function.d.ts +5 -0
- package/js/render/attributes/processStandAloneAttribute.function.js +37 -0
- package/js/render/attributes/processStandAloneAttribute.function.js.map +1 -0
- package/js/render/attributes/processTagJsAttribute.function.d.ts +7 -0
- package/js/render/attributes/processTagJsAttribute.function.js +24 -0
- package/js/render/attributes/processTagJsAttribute.function.js.map +1 -0
- package/js/render/attributes/processTagJsVarAttribute.function.d.ts +6 -0
- package/js/render/attributes/processTagJsVarAttribute.function.js +19 -0
- package/js/render/attributes/processTagJsVarAttribute.function.js.map +1 -0
- package/js/render/attributes/processUpdateAttrContext.function.d.ts +3 -3
- package/js/render/attributes/processUpdateAttrContext.function.js +29 -9
- package/js/render/attributes/processUpdateAttrContext.function.js.map +1 -1
- package/js/render/buildBeforeElement.function.d.ts +3 -5
- package/js/render/buildBeforeElement.function.js +16 -20
- package/js/render/buildBeforeElement.function.js.map +1 -1
- package/js/render/callTag.d.ts +4 -0
- package/js/render/callTag.function.d.ts +4 -0
- package/js/render/callTag.function.js +25 -0
- package/js/render/callTag.function.js.map +1 -0
- package/js/render/callTag.js +26 -0
- package/js/render/callTag.js.map +1 -0
- package/js/render/checkRenderUp.d.ts +2 -0
- package/js/render/checkRenderUp.function.d.ts +5 -0
- package/js/render/checkRenderUp.function.js +39 -0
- package/js/render/checkRenderUp.function.js.map +1 -0
- package/js/render/checkRenderUp.js +14 -0
- package/js/render/checkRenderUp.js.map +1 -0
- package/js/render/destroySupport.function.d.ts +1 -1
- package/js/render/destroySupport.function.js +12 -7
- package/js/render/destroySupport.function.js.map +1 -1
- package/js/render/dom/attachDomElement.function.d.ts +4 -0
- package/js/render/dom/attachDomElement.function.js +17 -0
- package/js/render/dom/attachDomElement.function.js.map +1 -0
- package/js/render/dom/attachDomElements.function.d.ts +3 -5
- package/js/render/dom/attachDomElements.function.js +49 -37
- package/js/render/dom/attachDomElements.function.js.map +1 -1
- package/js/render/dom/blankHandler.function.d.ts +1 -0
- package/js/render/dom/blankHandler.function.js +4 -0
- package/js/render/dom/blankHandler.function.js.map +1 -0
- package/js/render/dom/processAttributeArray.function.d.ts +4 -0
- package/js/render/dom/processAttributeArray.function.js +24 -0
- package/js/render/dom/processAttributeArray.function.js.map +1 -0
- package/js/render/executeWrap.function.d.ts +1 -1
- package/js/render/executeWrap.function.js +8 -6
- package/js/render/executeWrap.function.js.map +1 -1
- package/js/render/paint.function.d.ts +15 -6
- package/js/render/paint.function.js +41 -34
- package/js/render/paint.function.js.map +1 -1
- package/js/render/registerNewTagElement.function.d.ts +4 -2
- package/js/render/registerNewTagElement.function.js +24 -6
- package/js/render/registerNewTagElement.function.js.map +1 -1
- package/js/render/renderExistingTag.function.d.ts +1 -1
- package/js/render/renderExistingTag.function.js +3 -4
- package/js/render/renderExistingTag.function.js.map +1 -1
- package/js/render/renderSupport.function.d.ts +1 -4
- package/js/render/renderSupport.function.js +4 -37
- package/js/render/renderSupport.function.js.map +1 -1
- package/js/render/renderTagElement.function.d.ts +3 -3
- package/js/render/renderTagElement.function.js +48 -45
- package/js/render/renderTagElement.function.js.map +1 -1
- package/js/render/renderTagOnly.function.d.ts +7 -3
- package/js/render/renderTagOnly.function.js +31 -33
- package/js/render/renderTagOnly.function.js.map +1 -1
- package/js/render/renderWithSupport.function.d.ts +2 -2
- package/js/render/renderWithSupport.function.js +18 -7
- package/js/render/renderWithSupport.function.js.map +1 -1
- package/js/render/runAfterRender.function.d.ts +9 -0
- package/js/render/runAfterRender.function.js +37 -0
- package/js/render/runAfterRender.function.js.map +1 -0
- package/js/render/softDestroySupport.function.d.ts +1 -1
- package/js/render/softDestroySupport.function.js +11 -10
- package/js/render/softDestroySupport.function.js.map +1 -1
- package/js/render/update/processRenderOnceInit.function.d.ts +2 -3
- package/js/render/update/processRenderOnceInit.function.js +4 -4
- package/js/render/update/processRenderOnceInit.function.js.map +1 -1
- package/js/render/update/processTag.function.d.ts +2 -4
- package/js/render/update/processTag.function.js +12 -9
- package/js/render/update/processTag.function.js.map +1 -1
- package/js/render/update/updateExistingTagComponent.function.d.ts +1 -1
- package/js/render/update/updateExistingTagComponent.function.js +8 -8
- package/js/render/update/updateExistingTagComponent.function.js.map +1 -1
- package/js/render/update/updateSupportBy.function.d.ts +1 -2
- package/js/render/update/updateSupportBy.function.js +3 -4
- package/js/render/update/updateSupportBy.function.js.map +1 -1
- package/js/state/StateMemory.type.d.ts +5 -2
- package/js/state/array.function.js +1 -1
- package/js/state/array.function.js.map +1 -1
- package/js/state/callback.function.d.ts +7 -4
- package/js/state/callback.function.js +19 -16
- package/js/state/callback.function.js.map +1 -1
- package/js/state/callbackMaker.function.js +5 -4
- package/js/state/callbackMaker.function.js.map +1 -1
- package/js/state/callbackStateUpdate.function.d.ts +2 -2
- package/js/state/callbackStateUpdate.function.js +24 -6
- package/js/state/callbackStateUpdate.function.js.map +1 -1
- package/js/state/handleProviderChanges.function.d.ts +1 -1
- package/js/state/handleProviderChanges.function.js.map +1 -1
- package/js/state/index.d.ts +2 -2
- package/js/state/index.js +2 -2
- package/js/state/index.js.map +1 -1
- package/js/state/onDestroy.function.d.ts +3 -0
- package/js/state/onDestroy.function.js +11 -0
- package/js/state/onDestroy.function.js.map +1 -0
- package/js/state/onDestroy.js +1 -1
- package/js/state/onDestroy.js.map +1 -1
- package/js/state/onInit.function.d.ts +4 -0
- package/js/state/onInit.function.js +24 -0
- package/js/state/onInit.function.js.map +1 -0
- package/js/state/onInit.js +1 -1
- package/js/state/onInit.js.map +1 -1
- package/js/state/onRender.function.d.ts +1 -0
- package/js/state/onRender.function.js +22 -0
- package/js/state/onRender.function.js.map +1 -0
- package/js/state/providers.d.ts +1 -1
- package/js/state/providers.js +11 -9
- package/js/state/providers.js.map +1 -1
- package/js/state/providersChangeCheck.function.d.ts +2 -1
- package/js/state/providersChangeCheck.function.js +3 -2
- package/js/state/providersChangeCheck.function.js.map +1 -1
- package/js/state/reState.d.ts +2 -0
- package/js/state/reState.function.d.ts +5 -0
- package/js/state/reState.function.js +28 -0
- package/js/state/reState.function.js.map +1 -0
- package/js/state/reState.js +8 -0
- package/js/state/reState.js.map +1 -0
- package/js/state/setUse.function.d.ts +1 -1
- package/js/state/setUseMemory.object.js +1 -1
- package/js/state/setUseMemory.object.js.map +1 -1
- package/js/state/signal.function.d.ts +1 -1
- package/js/state/signal.function.js +9 -5
- package/js/state/signal.function.js.map +1 -1
- package/js/state/state.utils.d.ts +4 -4
- package/js/state/state.utils.js +10 -19
- package/js/state/state.utils.js.map +1 -1
- package/js/state/stateHandlers.js +12 -3
- package/js/state/stateHandlers.js.map +1 -1
- package/js/state/states.utils.js +7 -1
- package/js/state/states.utils.js.map +1 -1
- package/js/state/subject.function.d.ts +7 -6
- package/js/state/subject.function.js +13 -5
- package/js/state/subject.function.js.map +1 -1
- package/js/state/syncStates.function.d.ts +1 -1
- package/js/state/syncStates.function.js +5 -1
- package/js/state/syncStates.function.js.map +1 -1
- package/js/state/tagClosed$.subject.d.ts +1 -1
- package/js/state/tagClosed$.subject.js +1 -1
- package/js/state/tagClosed$.subject.js.map +1 -1
- package/js/state/watch.function.d.ts +6 -5
- package/js/state/watch.function.js +63 -38
- package/js/state/watch.function.js.map +1 -1
- package/js/subject/Subject.class.d.ts +17 -16
- package/js/subject/Subject.class.js +17 -14
- package/js/subject/Subject.class.js.map +1 -1
- package/js/tag/AdvancedContextItem.type.d.ts +1 -2
- package/js/tag/AnySupport.type.d.ts +5 -7
- package/js/tag/AttributeContextItem.type.d.ts +16 -0
- package/js/tag/AttributeContextItem.type.js +2 -0
- package/js/tag/AttributeContextItem.type.js.map +1 -0
- package/js/tag/Context.types.d.ts +5 -5
- package/js/tag/ContextItem.type.d.ts +32 -15
- package/js/tag/ContextStateMeta.type.d.ts +13 -0
- package/js/tag/ContextStateMeta.type.js +2 -0
- package/js/tag/ContextStateMeta.type.js.map +1 -0
- package/js/tag/ProcessInit.type.d.ts +8 -3
- package/js/tag/ProcessUpdate.type.d.ts +3 -3
- package/js/tag/SupportContextItem.type.d.ts +18 -2
- package/js/tag/Tag.type.d.ts +1 -1
- package/js/tag/TagMaker.type.d.ts +1 -1
- package/js/tag/checkDestroyPrevious.function.d.ts +1 -3
- package/js/tag/checkDestroyPrevious.function.js +3 -13
- package/js/tag/checkDestroyPrevious.function.js.map +1 -1
- package/js/tag/checkStateMismatch.function.d.ts +1 -1
- package/js/tag/checkStateMismatch.function.js +3 -3
- package/js/tag/checkStateMismatch.function.js.map +1 -1
- package/js/tag/checkTagValueChange.function.d.ts +4 -5
- package/js/tag/checkTagValueChange.function.js +89 -15
- package/js/tag/checkTagValueChange.function.js.map +1 -1
- package/js/tag/createHtmlSupport.function.d.ts +6 -5
- package/js/tag/createHtmlSupport.function.js +12 -9
- package/js/tag/createHtmlSupport.function.js.map +1 -1
- package/js/tag/createSupport.function.d.ts +3 -2
- package/js/tag/createSupport.function.js +4 -2
- package/js/tag/createSupport.function.js.map +1 -1
- package/js/tag/cycles/getSupportInCycle.function.d.ts +3 -0
- package/js/tag/cycles/getSupportInCycle.function.js +10 -0
- package/js/tag/cycles/getSupportInCycle.function.js.map +1 -0
- package/js/tag/cycles/index.d.ts +1 -0
- package/js/tag/cycles/index.js +2 -0
- package/js/tag/cycles/index.js.map +1 -0
- package/js/tag/cycles/setContextInCycle.function.d.ts +7 -0
- package/js/tag/cycles/setContextInCycle.function.js +19 -0
- package/js/tag/cycles/setContextInCycle.function.js.map +1 -0
- package/js/tag/destroyArrayContext.function.d.ts +4 -0
- package/js/tag/destroyArrayContext.function.js +14 -0
- package/js/tag/destroyArrayContext.function.js.map +1 -0
- package/js/tag/destroyContext.function.d.ts +1 -1
- package/js/tag/destroyContext.function.js +5 -4
- package/js/tag/destroyContext.function.js.map +1 -1
- package/js/tag/destroyContexts.function.d.ts +9 -0
- package/js/tag/destroyContexts.function.js +61 -0
- package/js/tag/destroyContexts.function.js.map +1 -0
- package/js/tag/destroyHtmlDomMeta.function.d.ts +3 -0
- package/js/tag/destroyHtmlDomMeta.function.js +19 -0
- package/js/tag/destroyHtmlDomMeta.function.js.map +1 -0
- package/js/tag/destroySupportByContextItem.function.d.ts +2 -0
- package/js/tag/destroySupportByContextItem.function.js +19 -0
- package/js/tag/destroySupportByContextItem.function.js.map +1 -0
- package/js/tag/domMetaCollector.d.ts +1 -1
- package/js/tag/domMetaCollector.js +1 -1
- package/js/tag/domMetaCollector.js.map +1 -1
- package/js/tag/getDomTag.function.js +7 -4
- package/js/tag/getDomTag.function.js.map +1 -1
- package/js/tag/getTagWrap.function.d.ts +1 -1
- package/js/tag/getTagWrap.function.js +2 -2
- package/js/tag/getTagWrap.function.js.map +1 -1
- package/js/tag/getTemplaterResult.function.d.ts +7 -20
- package/js/tag/getTemplaterResult.function.js +14 -3
- package/js/tag/getTemplaterResult.function.js.map +1 -1
- package/js/tag/hasPropChanges.function.js +3 -2
- package/js/tag/hasPropChanges.function.js.map +1 -1
- package/js/tag/hasSupportChanged.function.d.ts +2 -3
- package/js/tag/hasSupportChanged.function.js +0 -43
- package/js/tag/hasSupportChanged.function.js.map +1 -1
- package/js/tag/html.d.ts +3 -3
- package/js/tag/html.js.map +1 -1
- package/js/tag/index.d.ts +2 -3
- package/js/tag/index.js +1 -1
- package/js/tag/index.js.map +1 -1
- package/js/tag/isLikeTags.function.d.ts +1 -1
- package/js/tag/loadNewBaseSupport.function.d.ts +1 -1
- package/js/tag/loadNewBaseSupport.function.js +6 -3
- package/js/tag/loadNewBaseSupport.function.js.map +1 -1
- package/js/tag/output.function.d.ts +2 -2
- package/js/tag/output.function.js +31 -14
- package/js/tag/output.function.js.map +1 -1
- package/js/tag/processOuterDomTagInit.function.d.ts +4 -3
- package/js/tag/processOuterDomTagInit.function.js +22 -16
- package/js/tag/processOuterDomTagInit.function.js.map +1 -1
- package/js/tag/processUpdateContext.function.d.ts +1 -1
- package/js/tag/processUpdateContext.function.js +19 -13
- package/js/tag/processUpdateContext.function.js.map +1 -1
- package/js/tag/props/alterProp.function.d.ts +9 -7
- package/js/tag/props/alterProp.function.js +53 -26
- package/js/tag/props/alterProp.function.js.map +1 -1
- package/js/tag/props/clonePropsBy.function.d.ts +1 -1
- package/js/tag/props/safeRenderSupport.function.d.ts +1 -1
- package/js/tag/shallowPropMatch.function.d.ts +2 -0
- package/js/tag/shallowPropMatch.function.js +44 -0
- package/js/tag/shallowPropMatch.function.js.map +1 -0
- package/js/tag/smartRemoveKids.function.d.ts +4 -2
- package/js/tag/smartRemoveKids.function.js +28 -47
- package/js/tag/smartRemoveKids.function.js.map +1 -1
- package/js/tag/tag.types.d.ts +8 -4
- package/js/tag/tag.types.js.map +1 -1
- package/js/tag/tagElement.d.ts +4 -4
- package/js/tag/tagElement.js +31 -12
- package/js/tag/tagElement.js.map +1 -1
- package/js/tag/tagRunner.d.ts +1 -1
- package/js/tag/tagRunner.js +3 -4
- package/js/tag/tagRunner.js.map +1 -1
- package/js/tag/update/SubContext.type.d.ts +18 -8
- package/js/tag/update/arrays/compareArrayItems.function.d.ts +7 -0
- package/js/tag/update/arrays/compareArrayItems.function.js +39 -0
- package/js/tag/update/arrays/compareArrayItems.function.js.map +1 -0
- package/js/tag/update/arrays/processTagArray.d.ts +7 -0
- package/js/tag/update/arrays/processTagArray.js +81 -0
- package/js/tag/update/arrays/processTagArray.js.map +1 -0
- package/js/tag/update/checkStillSubscription.function.d.ts +4 -0
- package/js/tag/update/checkStillSubscription.function.js +16 -0
- package/js/tag/update/checkStillSubscription.function.js.map +1 -0
- package/js/tag/update/checkSubContext.function.d.ts +7 -2
- package/js/tag/update/checkSubContext.function.js +36 -9
- package/js/tag/update/checkSubContext.function.js.map +1 -1
- package/js/tag/update/compareArrayItems.function.d.ts +1 -1
- package/js/tag/update/compareArrayItems.function.js +7 -10
- package/js/tag/update/compareArrayItems.function.js.map +1 -1
- package/js/tag/update/convertTagToElementManaged.d.ts +2 -0
- package/js/tag/update/convertTagToElementManaged.function.d.ts +2 -0
- package/js/tag/update/convertTagToElementManaged.function.js +37 -0
- package/js/tag/update/convertTagToElementManaged.function.js.map +1 -0
- package/js/tag/update/convertTagToElementManaged.js +32 -0
- package/js/tag/update/convertTagToElementManaged.js.map +1 -0
- package/js/tag/update/createAndProcessContextItem.function.d.ts +5 -6
- package/js/tag/update/createAndProcessContextItem.function.js +9 -12
- package/js/tag/update/createAndProcessContextItem.function.js.map +1 -1
- package/js/tag/update/deleteContextSubContext.function.d.ts +5 -0
- package/js/tag/update/deleteContextSubContext.function.js +25 -0
- package/js/tag/update/deleteContextSubContext.function.js.map +1 -0
- package/js/tag/update/deleteSubContext.function.js +1 -4
- package/js/tag/update/deleteSubContext.function.js.map +1 -1
- package/js/tag/update/forceUpdateExistingValue.function.d.ts +4 -5
- package/js/tag/update/forceUpdateExistingValue.function.js +6 -5
- package/js/tag/update/forceUpdateExistingValue.function.js.map +1 -1
- package/js/tag/update/getNewGlobal.function.d.ts +4 -3
- package/js/tag/update/getNewGlobal.function.js +13 -2
- package/js/tag/update/getNewGlobal.function.js.map +1 -1
- package/js/tag/update/getOverrideTagVar.d.ts +5 -0
- package/js/tag/update/getOverrideTagVar.js +65 -0
- package/js/tag/update/getOverrideTagVar.js.map +1 -0
- package/js/tag/update/handleStillTag.function.d.ts +1 -1
- package/js/tag/update/handleStillTag.function.js +2 -3
- package/js/tag/update/handleStillTag.function.js.map +1 -1
- package/js/tag/update/handleTagTypeChangeFrom.d.ts +5 -0
- package/js/tag/update/handleTagTypeChangeFrom.function.d.ts +5 -0
- package/js/tag/update/handleTagTypeChangeFrom.function.js +13 -0
- package/js/tag/update/handleTagTypeChangeFrom.function.js.map +1 -0
- package/js/tag/update/handleTagTypeChangeFrom.js +13 -0
- package/js/tag/update/handleTagTypeChangeFrom.js.map +1 -0
- package/js/tag/update/index.d.ts +2 -2
- package/js/tag/update/index.js +2 -2
- package/js/tag/update/index.js.map +1 -1
- package/js/tag/update/onFirstSubContext.function.d.ts +3 -4
- package/js/tag/update/onFirstSubContext.function.js +1 -2
- package/js/tag/update/onFirstSubContext.function.js.map +1 -1
- package/js/tag/update/oneRenderToSupport.function.d.ts +1 -1
- package/js/tag/update/processDomTagInit.function.d.ts +2 -3
- package/js/tag/update/processDomTagInit.function.js +6 -5
- package/js/tag/update/processDomTagInit.function.js.map +1 -1
- package/js/tag/update/processFirstSubjectComponent.function.d.ts +7 -4
- package/js/tag/update/processFirstSubjectComponent.function.js +53 -17
- package/js/tag/update/processFirstSubjectComponent.function.js.map +1 -1
- package/js/tag/update/processFirstSubjectValue.function.d.ts +4 -6
- package/js/tag/update/processFirstSubjectValue.function.js +3 -6
- package/js/tag/update/processFirstSubjectValue.function.js.map +1 -1
- package/js/tag/update/processNewSubjectTag.function.d.ts +2 -3
- package/js/tag/update/processNewSubjectTag.function.js +5 -5
- package/js/tag/update/processNewSubjectTag.function.js.map +1 -1
- package/js/tag/update/processRegularValue.function.js +2 -1
- package/js/tag/update/processRegularValue.function.js.map +1 -1
- package/js/tag/update/processSignal.function.d.ts +4 -0
- package/js/tag/update/processSignal.function.js +11 -0
- package/js/tag/update/processSignal.function.js.map +1 -0
- package/js/tag/update/processSubscribe.function.d.ts +3 -2
- package/js/tag/update/processSubscribe.function.js +16 -10
- package/js/tag/update/processSubscribe.function.js.map +1 -1
- package/js/tag/update/processSubscribeWith.function.d.ts +6 -0
- package/js/tag/update/processSubscribeWith.function.js +26 -0
- package/js/tag/update/processSubscribeWith.function.js.map +1 -0
- package/js/tag/update/processTagArray.d.ts +3 -4
- package/js/tag/update/processTagArray.js +14 -14
- package/js/tag/update/processTagArray.js.map +1 -1
- package/js/tag/update/processTagComponentInit.function.d.ts +2 -3
- package/js/tag/update/processTagComponentInit.function.js +3 -5
- package/js/tag/update/processTagComponentInit.function.js.map +1 -1
- package/js/tag/update/processTagInit.function.d.ts +2 -3
- package/js/tag/update/processTagInit.function.js +4 -3
- package/js/tag/update/processTagInit.function.js.map +1 -1
- package/js/tag/update/processTagResult.function.d.ts +2 -3
- package/js/tag/update/processTagResult.function.js +2 -2
- package/js/tag/update/processTagResult.function.js.map +1 -1
- package/js/tag/update/processUpdateSubscribe.d.ts +4 -0
- package/js/tag/update/processUpdateSubscribe.function.d.ts +2 -0
- package/js/tag/update/processUpdateSubscribe.function.js +22 -0
- package/js/tag/update/processUpdateSubscribe.function.js.map +1 -0
- package/js/tag/update/processUpdateSubscribe.js +15 -0
- package/js/tag/update/processUpdateSubscribe.js.map +1 -0
- package/js/tag/update/setupSubscribe.function.d.ts +10 -8
- package/js/tag/update/setupSubscribe.function.js +66 -39
- package/js/tag/update/setupSubscribe.function.js.map +1 -1
- package/js/tag/update/syncPriorPropFunction.function.d.ts +1 -1
- package/js/tag/update/tagValueUpdateHandler.function.d.ts +2 -3
- package/js/tag/update/tagValueUpdateHandler.function.js +12 -3
- package/js/tag/update/tagValueUpdateHandler.function.js.map +1 -1
- package/js/tag/update/tryUpdateToTag.function.d.ts +2 -3
- package/js/tag/update/tryUpdateToTag.function.js +14 -12
- package/js/tag/update/tryUpdateToTag.function.js.map +1 -1
- package/js/tag/update/updateExistingArray.function.d.ts +1 -1
- package/js/tag/update/updateExistingObject.function.d.ts +1 -1
- package/js/tag/update/updateToDiffValue.function.d.ts +3 -3
- package/js/tag/update/updateToDiffValue.function.js +10 -10
- package/js/tag/update/updateToDiffValue.function.js.map +1 -1
- package/js/tagJsVars/getArrayTagJsVar.function.d.ts +1 -0
- package/js/tagJsVars/getArrayTagJsVar.function.js +22 -7
- package/js/tagJsVars/getArrayTagJsVar.function.js.map +1 -1
- package/js/tagJsVars/getInnerHTML.function.js +12 -8
- package/js/tagJsVars/getInnerHTML.function.js.map +1 -1
- package/js/tagJsVars/getSimpleTagVar.function.d.ts +5 -2
- package/js/tagJsVars/getSimpleTagVar.function.js +40 -13
- package/js/tagJsVars/getSimpleTagVar.function.js.map +1 -1
- package/js/tagJsVars/host.function.d.ts +12 -5
- package/js/tagJsVars/host.function.js +92 -18
- package/js/tagJsVars/host.function.js.map +1 -1
- package/js/tagJsVars/pipe.function.d.ts +2 -1
- package/js/tagJsVars/pipe.function.js +20 -8
- package/js/tagJsVars/pipe.function.js.map +1 -1
- package/js/tagJsVars/processAttributeUpdate.function.d.ts +5 -0
- package/js/tagJsVars/processAttributeUpdate.function.js +17 -0
- package/js/tagJsVars/processAttributeUpdate.function.js.map +1 -0
- package/js/tagJsVars/processSimpleAttribute.d.ts +3 -0
- package/js/tagJsVars/processSimpleAttribute.function.d.ts +7 -0
- package/js/tagJsVars/processSimpleAttribute.function.js +18 -0
- package/js/tagJsVars/processSimpleAttribute.function.js.map +1 -0
- package/js/tagJsVars/processSimpleAttribute.js +12 -0
- package/js/tagJsVars/processSimpleAttribute.js.map +1 -0
- package/js/tagJsVars/processSubscribeAttribute.function.d.ts +10 -0
- package/js/tagJsVars/processSubscribeAttribute.function.js +25 -0
- package/js/tagJsVars/processSubscribeAttribute.function.js.map +1 -0
- package/js/tagJsVars/processSubscribeAttributeUpdate.d.ts +5 -0
- package/js/tagJsVars/processSubscribeAttributeUpdate.function.d.ts +5 -0
- package/js/tagJsVars/processSubscribeAttributeUpdate.function.js +21 -0
- package/js/tagJsVars/processSubscribeAttributeUpdate.function.js.map +1 -0
- package/js/tagJsVars/processSubscribeAttributeUpdate.js +18 -0
- package/js/tagJsVars/processSubscribeAttributeUpdate.js.map +1 -0
- package/js/tagJsVars/processSubscribeWithAttribute.function.d.ts +18 -0
- package/js/tagJsVars/processSubscribeWithAttribute.function.js +23 -0
- package/js/tagJsVars/processSubscribeWithAttribute.function.js.map +1 -0
- package/js/tagJsVars/subscribe.function.d.ts +13 -11
- package/js/tagJsVars/subscribe.function.js +19 -11
- package/js/tagJsVars/subscribe.function.js.map +1 -1
- package/js/tagJsVars/subscribeWith.function.d.ts +5 -1
- package/js/tagJsVars/subscribeWith.function.js +35 -6
- package/js/tagJsVars/subscribeWith.function.js.map +1 -1
- package/js/tagJsVars/tag.function.d.ts +28 -0
- package/js/tagJsVars/tag.function.js +68 -8
- package/js/tagJsVars/tag.function.js.map +1 -1
- package/js/tagJsVars/tagInject.function.d.ts +5 -0
- package/js/tagJsVars/tagInject.function.js +43 -0
- package/js/tagJsVars/tagInject.function.js.map +1 -0
- package/js/tagJsVars/tagJsVar.type.d.ts +13 -6
- package/package.json +1 -1
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
/** Only used in TagSupport */
|
|
1
2
|
export function getNewGlobal(contextItem) {
|
|
2
|
-
|
|
3
|
+
// TODO: Not need for basic supports, only tag()
|
|
3
4
|
contextItem.renderCount = contextItem.renderCount || 0;
|
|
4
|
-
|
|
5
|
+
contextItem.varCounter = 0;
|
|
6
|
+
// TODO: Not need for basic supports, only tag()
|
|
7
|
+
contextItem.state = {
|
|
8
|
+
newer: {
|
|
9
|
+
state: [],
|
|
10
|
+
states: [],
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
return contextItem.global = {
|
|
14
|
+
blocked: [],
|
|
15
|
+
};
|
|
5
16
|
}
|
|
6
17
|
//# sourceMappingURL=getNewGlobal.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNewGlobal.function.js","sourceRoot":"","sources":["../../../ts/tag/update/getNewGlobal.function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getNewGlobal.function.js","sourceRoot":"","sources":["../../../ts/tag/update/getNewGlobal.function.ts"],"names":[],"mappings":"AAGA,8BAA8B;AAC9B,MAAM,UAAU,YAAY,CAC1B,WAA+B;IAE/B,gDAAgD;IAChD,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC,WAAW,IAAI,CAAC,CAAA;IACtD,WAAW,CAAC,UAAU,GAAG,CAAC,CAAA;IAE1B,gDAAgD;IAChD,WAAW,CAAC,KAAK,GAAG;QAClB,KAAK,EAAE;YACL,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;KACF,CAAA;IAED,OAAO,WAAW,CAAC,MAAM,GAAG;QAC1B,OAAO,EAAE,EAAE;KACZ,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SupportContextItem, AnySupport } from '../../index.js';
|
|
2
|
+
import { ReadOnlyVar } from '../../tagJsVars/tagJsVar.type.js';
|
|
3
|
+
import { ContextItem } from '../ContextItem.type.js';
|
|
4
|
+
/** Used when a tag() does not return html`` */
|
|
5
|
+
export declare function getOverrideTagVar(context: ContextItem & SupportContextItem, newContext: ContextItem, support: AnySupport, subject: SupportContextItem): ReadOnlyVar;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { isPromise } from '../../index.js';
|
|
2
|
+
import { paint } from '../../render/index.js';
|
|
3
|
+
import { blankHandler } from '../../render/dom/blankHandler.function.js';
|
|
4
|
+
import { checkTagValueChange } from '../checkTagValueChange.function.js';
|
|
5
|
+
import { makeRealUpdate, afterDestroy } from './processFirstSubjectComponent.function.js';
|
|
6
|
+
import { updateToDiffValue } from './updateToDiffValue.function.js';
|
|
7
|
+
/** Used when a tag() does not return html`` */
|
|
8
|
+
export function getOverrideTagVar(context, newContext, support, subject) {
|
|
9
|
+
// support.context = subject as SupportContextItem
|
|
10
|
+
const overrideTagVar = {
|
|
11
|
+
tagJsType: 'tag-conversion',
|
|
12
|
+
// processInitAttribute: newContext.tagJsVar.processInitAttribute,
|
|
13
|
+
processInitAttribute: blankHandler, // cannot be an attribute ever
|
|
14
|
+
processInit: (_value, _contextItem, _ownerSupport) => {
|
|
15
|
+
const renderContent = context.returnValue;
|
|
16
|
+
return newContext.tagJsVar.processInit(renderContent, newContext, support, subject.placeholder);
|
|
17
|
+
},
|
|
18
|
+
processUpdate: (value, context, ownerSupport) => {
|
|
19
|
+
if (context.locked || context.deleted) {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
++context.updateCount;
|
|
23
|
+
const oldValue = context.value;
|
|
24
|
+
const oldType = oldValue.tagJsType;
|
|
25
|
+
const newType = value?.tagJsType;
|
|
26
|
+
const hasTypeChanged = newType !== oldType;
|
|
27
|
+
const hasChanged = checkTagValueChange(value, context);
|
|
28
|
+
// check to see if the tagConversion itself has changed
|
|
29
|
+
const changed = hasChanged || hasTypeChanged || overrideTagVar.hasValueChanged(value, context, // aka contextItem,
|
|
30
|
+
support);
|
|
31
|
+
if (changed) {
|
|
32
|
+
overrideTagVar.destroy(context, support);
|
|
33
|
+
updateToDiffValue(value, context, // newContext
|
|
34
|
+
ownerSupport, 789);
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
context.locked = 467;
|
|
38
|
+
context.render$.next(); // cause tag.onRender to fire
|
|
39
|
+
const convertValue = context.returnValue;
|
|
40
|
+
makeRealUpdate(newContext, value, context, convertValue, support);
|
|
41
|
+
delete context.locked;
|
|
42
|
+
},
|
|
43
|
+
hasValueChanged: (_value, _context, support) => {
|
|
44
|
+
const newValue = context.returnValue;
|
|
45
|
+
const checkResult = newContext.tagJsVar.hasValueChanged(newValue, newContext, support);
|
|
46
|
+
return checkResult;
|
|
47
|
+
},
|
|
48
|
+
destroy: (contextItem, ownerSupport) => {
|
|
49
|
+
++context.updateCount;
|
|
50
|
+
context.deleted = true;
|
|
51
|
+
delete context.returnValue;
|
|
52
|
+
const result = newContext.tagJsVar.destroy(newContext, support);
|
|
53
|
+
if (isPromise(result)) {
|
|
54
|
+
return result.then(() => {
|
|
55
|
+
const result = afterDestroy(context, ownerSupport);
|
|
56
|
+
paint();
|
|
57
|
+
return result;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
return afterDestroy(context, ownerSupport);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
return overrideTagVar;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=getOverrideTagVar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOverrideTagVar.js","sourceRoot":"","sources":["../../../ts/tag/update/getOverrideTagVar.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Tag } from '../Tag.type.js';
|
|
2
2
|
import { ContextItem } from '../ContextItem.type.js';
|
|
3
|
-
import { AnySupport } from '../
|
|
3
|
+
import { AnySupport } from '../index.js';
|
|
4
4
|
import { TemplateValue } from '../TemplateValue.type.js';
|
|
5
5
|
export declare function handleStillTag(oldSupport: AnySupport, subject: ContextItem, value: Tag | TemplateValue, ownerSupport: AnySupport): void;
|
|
@@ -11,10 +11,9 @@ export function handleStillTag(oldSupport, subject, value, ownerSupport) {
|
|
|
11
11
|
templater = value.outerHTML || value._innerHTML.outerHTML;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
const valueSupport = createSupport(templater, ownerSupport, ownerSupport.appSupport
|
|
14
|
+
const valueSupport = createSupport(templater, subject, ownerSupport, ownerSupport.appSupport);
|
|
15
15
|
const lastSubject = oldSupport.context;
|
|
16
|
-
const
|
|
17
|
-
const oldest = newGlobal.oldest;
|
|
16
|
+
const oldest = lastSubject.state.oldest;
|
|
18
17
|
updateSupportBy(oldest, valueSupport);
|
|
19
18
|
}
|
|
20
19
|
//# sourceMappingURL=handleStillTag.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleStillTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/handleStillTag.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAA;AAGjF,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"handleStillTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/handleStillTag.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAA;AAGjF,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAK5D,MAAM,UAAU,cAAc,CAC5B,UAAsB,EACtB,OAAoB,EACpB,KAA0B,EAC1B,YAAwB;IAExB,8DAA8D;IAC9D,IAAI,SAAS,GAAI,KAAa,CAAC,SAAS,IAAI,KAAK,CAAA;IAEjD,MAAM,OAAO,GAAG,UAAU,CAAC,SAAS,CAAC,GAAG,CAAA;IACxC,IAAG,OAAO,EAAE,CAAC;QACX,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAA;QACpC,IAAG,SAAS,EAAE,CAAC;YACb,qDAAqD;YACrD,SAAS,GAAI,KAAa,CAAC,SAAS,IAAM,KAAa,CAAC,UAAkB,CAAC,SAAgB,CAAA;QAC7F,CAAC;IACH,CAAC;IAED,MAAM,YAAY,GAAG,aAAa,CAChC,SAA4B,EAC5B,OAAO,EACP,YAAY,EACZ,YAAY,CAAC,UAAU,CACxB,CAAA;IAED,MAAM,WAAW,GAAG,UAAU,CAAC,OAA6B,CAAA;IAC5D,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC,MAAoB,CAAA;IAErD,eAAe,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AACvC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AnySupport } from '../..';
|
|
2
|
+
import { ContextItem } from '../ContextItem.type';
|
|
3
|
+
import { TemplateValue } from '../TemplateValue.type';
|
|
4
|
+
/** used to handle when value was subscribe but now is something else */
|
|
5
|
+
export declare function handleTagTypeChangeFrom(originalType: string, newValue: TemplateValue, ownerSupport: AnySupport, contextItem: ContextItem): 99 | undefined;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AnySupport } from '../index.js';
|
|
2
|
+
import { TemplateValue } from '../TemplateValue.type.js';
|
|
3
|
+
import { ContextItem } from '../ContextItem.type.js';
|
|
4
|
+
/** used to handle when value was subscribe but now is something else */
|
|
5
|
+
export declare function handleTagTypeChangeFrom(originalType: string, newValue: TemplateValue, ownerSupport: AnySupport, contextItem: ContextItem): 99 | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { updateToDiffValue } from './updateToDiffValue.function.js';
|
|
2
|
+
/** used to handle when value was subscribe but now is something else */
|
|
3
|
+
export function handleTagTypeChangeFrom(originalType, newValue, ownerSupport, contextItem) {
|
|
4
|
+
const isDifferent = !newValue || !newValue.tagJsType || newValue.tagJsType !== originalType;
|
|
5
|
+
if (isDifferent) {
|
|
6
|
+
const oldTagJsVar = contextItem.tagJsVar;
|
|
7
|
+
oldTagJsVar.destroy(contextItem, ownerSupport);
|
|
8
|
+
updateToDiffValue(newValue, contextItem, // subSubContext,
|
|
9
|
+
ownerSupport, 99);
|
|
10
|
+
return 99;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=handleTagTypeChangeFrom.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleTagTypeChangeFrom.function.js","sourceRoot":"","sources":["../../../ts/tag/update/handleTagTypeChangeFrom.function.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAEnE,wEAAwE;AACxE,MAAM,UAAU,uBAAuB,CACrC,YAAoB,EACpB,QAAuB,EACvB,YAAwB,EACxB,WAAwB;IAExB,MAAM,WAAW,GAAG,CAAC,QAAQ,IAAI,CAAE,QAAgB,CAAC,SAAS,IAAK,QAAgB,CAAC,SAAS,KAAK,YAAY,CAAA;IAE7G,IAAG,WAAW,EAAE,CAAC;QACf,MAAM,WAAW,GAAG,WAAW,CAAC,QAAoB,CAAA;QACpD,WAAW,CAAC,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,CAAA;QAE9C,iBAAiB,CACf,QAAyB,EACzB,WAAW,EAAE,iBAAiB;QAC9B,YAAY,EACZ,EAAE,CACH,CAAA;QACD,OAAO,EAAE,CAAA;IACX,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { updateToDiffValue } from './updateToDiffValue.function';
|
|
2
|
+
/** used to handle when value was subscribe but now is something else */
|
|
3
|
+
export function handleTagTypeChangeFrom(originalType, newValue, ownerSupport, contextItem) {
|
|
4
|
+
const isDifferent = !newValue || !newValue.tagJsType || newValue.tagJsType !== originalType;
|
|
5
|
+
if (isDifferent) {
|
|
6
|
+
const oldTagJsVar = contextItem.tagJsVar;
|
|
7
|
+
oldTagJsVar.destroy(contextItem, ownerSupport);
|
|
8
|
+
updateToDiffValue(newValue, contextItem, // subSubContext,
|
|
9
|
+
ownerSupport, 99);
|
|
10
|
+
return 99;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=handleTagTypeChangeFrom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handleTagTypeChangeFrom.js","sourceRoot":"","sources":["../../../ts/tag/update/handleTagTypeChangeFrom.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,wEAAwE;AAExE,MAAM,UAAU,uBAAuB,CACrC,YAAoB,EACpB,QAAuB,EACvB,YAAwB,EACxB,WAAwB;IAExB,MAAM,WAAW,GAAG,CAAC,QAAQ,IAAI,CAAE,QAAgB,CAAC,SAAS,IAAK,QAAgB,CAAC,SAAS,KAAK,YAAY,CAAC;IAE9G,IAAI,WAAW,EAAE,CAAC;QAChB,MAAM,WAAW,GAAG,WAAW,CAAC,QAAoB,CAAC;QACrD,WAAW,CAAC,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;QAE/C,iBAAiB,CACf,QAAyB,EACzB,WAAW,EAAE,iBAAiB;QAC9B,YAAY,EACZ,EAAE,CACH,CAAC;QACF,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
package/js/tag/update/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { deleteContextSubContext } from './deleteContextSubContext.function.js';
|
|
2
|
+
export { checkStillSubscription } from './checkStillSubscription.function.js';
|
|
3
3
|
export { onFirstSubContext } from './onFirstSubContext.function.js';
|
|
4
4
|
export { forceUpdateExistingValue } from './forceUpdateExistingValue.function.js';
|
|
5
5
|
export type { SubContext } from './SubContext.type.js';
|
package/js/tag/update/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { deleteContextSubContext } from './deleteContextSubContext.function.js';
|
|
2
|
+
export { checkStillSubscription } from './checkStillSubscription.function.js';
|
|
3
3
|
export { onFirstSubContext } from './onFirstSubContext.function.js';
|
|
4
4
|
export { forceUpdateExistingValue } from './forceUpdateExistingValue.function.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/tag/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ts/tag/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AnySupport } from '../AnySupport.type.js';
|
|
1
|
+
import { AnySupport } from '../index.js';
|
|
3
2
|
import { SubContext } from './SubContext.type.js';
|
|
4
3
|
import { TemplateValue } from '../TemplateValue.type.js';
|
|
4
|
+
import { ContextItem } from '../ContextItem.type.js';
|
|
5
5
|
export declare function onFirstSubContext(value: TemplateValue, subContext: SubContext, ownerSupport: AnySupport, // ownerSupport ?
|
|
6
|
-
|
|
7
|
-
insertBefore: Text): import("../AdvancedContextItem.type.js").AdvancedContextItem;
|
|
6
|
+
insertBefore: Text): ContextItem;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createAndProcessContextItem } from './createAndProcessContextItem.function.js';
|
|
2
2
|
export function onFirstSubContext(value, subContext, ownerSupport, // ownerSupport ?
|
|
3
|
-
counts, // used for animation stagger computing
|
|
4
3
|
insertBefore) {
|
|
5
4
|
subContext.hasEmitted = true;
|
|
6
|
-
return subContext.contextItem = createAndProcessContextItem(value, ownerSupport,
|
|
5
|
+
return subContext.contextItem = createAndProcessContextItem(value, ownerSupport, [], insertBefore);
|
|
7
6
|
}
|
|
8
7
|
//# sourceMappingURL=onFirstSubContext.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onFirstSubContext.function.js","sourceRoot":"","sources":["../../../ts/tag/update/onFirstSubContext.function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"onFirstSubContext.function.js","sourceRoot":"","sources":["../../../ts/tag/update/onFirstSubContext.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAA;AAKvF,MAAM,UAAU,iBAAiB,CAC/B,KAAoB,EACpB,UAAsB,EACtB,YAAwB,EAAE,iBAAiB;AAC3C,YAAkB;IAElB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAA;IAC5B,OAAO,UAAU,CAAC,WAAW,GAAG,2BAA2B,CACzD,KAAsB,EACtB,YAAY,EACZ,EAAmB,EACnB,YAAY,CACb,CAAA;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Wrapper } from '../getTemplaterResult.function.js';
|
|
2
|
-
import { AnySupport } from '../
|
|
2
|
+
import { AnySupport } from '../index.js';
|
|
3
3
|
import { ContextItem } from '../ContextItem.type.js';
|
|
4
4
|
export declare function oneRenderToSupport(wrapper: Wrapper, subject: ContextItem, ownerSupport: AnySupport): AnySupport;
|
|
5
5
|
export type UnknownFunction = (...n: unknown[]) => unknown;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { TagCounts } from '../../tag/TagCounts.type.js';
|
|
2
1
|
import { ContextItem } from '../ContextItem.type.js';
|
|
3
|
-
import { AnySupport } from '../
|
|
2
|
+
import { AnySupport } from '../index.js';
|
|
4
3
|
import { TemplateValue } from '../TemplateValue.type.js';
|
|
5
4
|
import { Tag } from '../Tag.type.js';
|
|
6
5
|
export declare function processDomTagInit(value: TemplateValue | Tag, // StringTag,
|
|
7
6
|
contextItem: ContextItem, // could be tag via result.tag
|
|
8
7
|
ownerSupport: AnySupport, // owningSupport
|
|
9
|
-
|
|
8
|
+
insertBefore?: Text, appendTo?: Element): AnySupport | undefined;
|
|
@@ -4,17 +4,18 @@ import { processNewSubjectTag } from './processNewSubjectTag.function.js';
|
|
|
4
4
|
export function processDomTagInit(value, // StringTag,
|
|
5
5
|
contextItem, // could be tag via result.tag
|
|
6
6
|
ownerSupport, // owningSupport
|
|
7
|
-
|
|
7
|
+
insertBefore, appendTo) {
|
|
8
8
|
const tag = value;
|
|
9
9
|
let templater = tag.templater;
|
|
10
10
|
if (!templater) {
|
|
11
11
|
templater = tagFakeTemplater(tag);
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
getNewGlobal(contextItem);
|
|
14
14
|
if (appendTo) {
|
|
15
|
-
return processNewSubjectTag(templater, contextItem, ownerSupport,
|
|
15
|
+
return processNewSubjectTag(templater, contextItem, ownerSupport, appendTo, insertBefore);
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
const stateMeta = contextItem.state = contextItem.state || {};
|
|
18
|
+
stateMeta.newest = newSupportByTemplater(templater, ownerSupport, contextItem);
|
|
19
|
+
return processTag(ownerSupport, contextItem);
|
|
19
20
|
}
|
|
20
21
|
//# sourceMappingURL=processDomTagInit.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processDomTagInit.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processDomTagInit.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAA;
|
|
1
|
+
{"version":3,"file":"processDomTagInit.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processDomTagInit.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAA;AAGhH,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAIzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AAKzE,MAAM,UAAU,iBAAiB,CAC/B,KAA0B,EAAE,aAAa;AACzC,WAAwB,EAAE,8BAA8B;AACxD,YAAwB,EAAE,gBAAgB;AAC1C,YAAmB,EACnB,QAAkB;IAElB,MAAM,GAAG,GAAG,KAA2B,CAAA;IACvC,IAAI,SAAS,GAAG,GAAG,CAAC,SAAS,CAAA;IAE7B,IAAG,CAAC,SAAS,EAAE,CAAC;QACd,SAAS,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAA;IACnC,CAAC;IAED,YAAY,CAAC,WAAiC,CAAqB,CAAA;IAEnE,IAAG,QAAQ,EAAE,CAAC;QACZ,OAAO,oBAAoB,CACzB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,CACb,CAAA;IACH,CAAC;IAED,MAAM,SAAS,GAAG,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE,CAAA;IAE7D,SAAS,CAAC,MAAM,GAAG,qBAAqB,CACtC,SAAS,EAAE,YAAY,EAAE,WAAW,CACrC,CAAA;IAED,OAAO,UAAU,CACf,YAAY,EACZ,WAAiC,CAClC,CAAA;AACH,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
|
-
import { AnySupport } from '../
|
|
3
|
-
import { TagCounts } from '../TagCounts.type.js';
|
|
2
|
+
import { AnySupport, ContextItem } from '../index.js';
|
|
4
3
|
import { SupportContextItem } from '../SupportContextItem.type.js';
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { Subject, SubscribeValue, Tag } from '../../index.js';
|
|
5
|
+
import { Callback } from '../../interpolations/attributes/bindSubjectCallback.function.js';
|
|
6
|
+
export declare function processReplacementComponent(templater: TemplaterResult, context: SupportContextItem, ownerSupport?: AnySupport): AnySupport;
|
|
7
|
+
export declare function makeRealUpdate(newContext: ContextItem, value: string | number | boolean | Tag | SubscribeValue | TemplaterResult | (Tag | TemplaterResult)[] | Subject<unknown> | Callback | null | undefined, context: SupportContextItem, convertValue: any, support: AnySupport): void;
|
|
8
|
+
export declare function afterDestroy(context: ContextItem & SupportContextItem, _ownerSupport: AnySupport): void;
|
|
9
|
+
export declare function processFirstSubjectComponent(templater: TemplaterResult, subject: SupportContextItem, ownerSupport: AnySupport, appendTo: Element): AnySupport;
|
|
@@ -2,32 +2,68 @@ import { processFirstTagResult } from './processTagResult.function.js';
|
|
|
2
2
|
import { ValueTypes } from '../ValueTypes.enum.js';
|
|
3
3
|
import { getCastedProps } from '../getTagWrap.function.js';
|
|
4
4
|
import { createSupport } from '../createSupport.function.js';
|
|
5
|
-
import {
|
|
5
|
+
import { firstTagRender } from '../../render/renderTagOnly.function.js';
|
|
6
6
|
import { buildBeforeElement } from '../../render/buildBeforeElement.function.js';
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { castProps } from '../props/alterProp.function.js';
|
|
8
|
+
import { convertTagToElementManaged } from './convertTagToElementManaged.function.js';
|
|
9
|
+
import { removeContextInCycle, setContextInCycle } from '../cycles/setContextInCycle.function.js';
|
|
10
|
+
function createSupportWithProps(templater, subject, ownerSupport) {
|
|
11
|
+
const newSupport = createSupport(templater, subject, ownerSupport, ownerSupport?.appSupport);
|
|
9
12
|
const newPropsConfig = newSupport.propsConfig;
|
|
10
13
|
if (newPropsConfig) {
|
|
11
14
|
const castedProps = templater.tagJsType !== ValueTypes.tagComponent ? [] : getCastedProps(templater, newSupport);
|
|
12
15
|
newPropsConfig.castProps = castedProps;
|
|
13
16
|
}
|
|
14
|
-
const
|
|
15
|
-
const support = renderTagOnly(newSupport, global.newest, // existing tag
|
|
17
|
+
const support = firstTagRender(newSupport, subject.state.newest, // existing tag
|
|
16
18
|
subject);
|
|
17
|
-
buildBeforeElement(support, counts, undefined, // element for append child
|
|
18
|
-
subject.placeholder);
|
|
19
19
|
return support;
|
|
20
20
|
}
|
|
21
|
-
export function
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
newPropsConfig.castProps = castedProps;
|
|
21
|
+
export function processReplacementComponent(templater, context, ownerSupport) {
|
|
22
|
+
const support = createSupportWithProps(templater, context, ownerSupport);
|
|
23
|
+
const tag = support.templater.tag;
|
|
24
|
+
if (!['dom', 'html'].includes(tag.tagJsType)) {
|
|
25
|
+
return convertTagToElementManaged(support, support.ownerSupport, context);
|
|
27
26
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
buildBeforeElement(support, undefined, // element for append child
|
|
28
|
+
context.placeholder);
|
|
29
|
+
return support;
|
|
30
|
+
}
|
|
31
|
+
export function makeRealUpdate(newContext, value, context, convertValue, support) {
|
|
32
|
+
const castedProps = castProps(value.props, support, // ownerSupport,
|
|
33
|
+
0);
|
|
34
|
+
newContext.value.props = castedProps;
|
|
35
|
+
const propsConfig = support.propsConfig;
|
|
36
|
+
if (propsConfig) {
|
|
37
|
+
propsConfig.castProps = castedProps;
|
|
38
|
+
}
|
|
39
|
+
;
|
|
40
|
+
newContext.updatesHandler = context.updatesHandler;
|
|
41
|
+
if (context.updatesHandler) {
|
|
42
|
+
setContextInCycle(context);
|
|
43
|
+
const updatesHandler = context.updatesHandler;
|
|
44
|
+
updatesHandler(castedProps); // updates()
|
|
45
|
+
removeContextInCycle();
|
|
46
|
+
}
|
|
47
|
+
newContext.tagJsVar.processUpdate(convertValue, newContext, support, []);
|
|
48
|
+
newContext.value = convertValue;
|
|
49
|
+
}
|
|
50
|
+
export function afterDestroy(context, _ownerSupport) {
|
|
51
|
+
delete context.returnValue;
|
|
52
|
+
delete context.global // = {} as any;
|
|
53
|
+
;
|
|
54
|
+
context.contexts = [];
|
|
55
|
+
;
|
|
56
|
+
context.htmlDomMeta = [];
|
|
57
|
+
delete context.updatesHandler;
|
|
58
|
+
// context.value.destroy(context, ownerSupport)
|
|
59
|
+
}
|
|
60
|
+
export function processFirstSubjectComponent(templater, subject, ownerSupport, appendTo) {
|
|
61
|
+
const support = createSupportWithProps(templater, subject, ownerSupport);
|
|
62
|
+
// DISCOVER IF tag() did NOT return dom|html
|
|
63
|
+
const tag = support.templater.tag;
|
|
64
|
+
if (!['dom', 'html'].includes(tag.tagJsType)) {
|
|
65
|
+
return convertTagToElementManaged(support, ownerSupport, subject);
|
|
66
|
+
}
|
|
67
|
+
return processFirstTagResult(support, appendTo);
|
|
32
68
|
}
|
|
33
69
|
//# sourceMappingURL=processFirstSubjectComponent.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processFirstSubjectComponent.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processFirstSubjectComponent.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAK,gCAAgC,CAAA;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"processFirstSubjectComponent.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processFirstSubjectComponent.function.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { TagCounts } from '../../tag/TagCounts.type.js';
|
|
2
1
|
import { ContextItem } from '../ContextItem.type.js';
|
|
3
|
-
import { AnySupport } from '../
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
export declare function processFirstSubjectValue(value: TemplateValue | Tag, contextItem: ContextItem, // could be tag via result.tag
|
|
2
|
+
import { AnySupport } from '../index.js';
|
|
3
|
+
import { TagJsVar } from '../../tagJsVars/tagJsVar.type.js';
|
|
4
|
+
export declare function processFirstSubjectValue(value: TagJsVar, tagJsVar: TagJsVar, contextItem: ContextItem, // could be tag via result.tag
|
|
7
5
|
ownerSupport: AnySupport, // owningSupport
|
|
8
|
-
|
|
6
|
+
insertBefore?: Text, appendTo?: Element): AnySupport | undefined;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
export function processFirstSubjectValue(value, contextItem, // could be tag via result.tag
|
|
1
|
+
export function processFirstSubjectValue(value, tagJsVar, contextItem, // could be tag via result.tag
|
|
2
2
|
ownerSupport, // owningSupport
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// contextItem.tagJsVar = tagJsVar
|
|
6
|
-
const tagJsVar = contextItem.tagJsVar;
|
|
7
|
-
return tagJsVar.processInit(value, contextItem, ownerSupport, counts, appendTo, insertBefore);
|
|
3
|
+
insertBefore, appendTo) {
|
|
4
|
+
return tagJsVar.processInit(value, contextItem, ownerSupport, insertBefore, appendTo);
|
|
8
5
|
}
|
|
9
6
|
//# sourceMappingURL=processFirstSubjectValue.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processFirstSubjectValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processFirstSubjectValue.function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"processFirstSubjectValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processFirstSubjectValue.function.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,wBAAwB,CACtC,KAAe,EACf,QAAkB,EAClB,WAAwB,EAAE,8BAA8B;AACxD,YAAwB,EAAE,gBAAgB;AAC1C,YAAmB,EACnB,QAAkB;IAElB,OAAO,QAAQ,CAAC,WAAW,CACzB,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,QAAQ,CACT,CAAA;AACH,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
2
|
import { ContextItem } from '../ContextItem.type.js';
|
|
3
|
-
import
|
|
4
|
-
import { AnySupport } from '../AnySupport.type.js';
|
|
3
|
+
import { AnySupport } from '../index.js';
|
|
5
4
|
export declare function processNewSubjectTag(templater: TemplaterResult, subject: ContextItem, // could be tag via result.tag
|
|
6
5
|
ownerSupport: AnySupport, // owner
|
|
7
|
-
|
|
6
|
+
appendTo?: Element, insertBefore?: Text): AnySupport;
|
|
@@ -3,25 +3,25 @@ import { paintAppend, paintAppends, paintBefore, paintCommands } from '../../ren
|
|
|
3
3
|
import { newSupportByTemplater } from '../../render/update/processTag.function.js';
|
|
4
4
|
export function processNewSubjectTag(templater, subject, // could be tag via result.tag
|
|
5
5
|
ownerSupport, // owner
|
|
6
|
-
|
|
6
|
+
appendTo, insertBefore) {
|
|
7
7
|
const support = newSupportByTemplater(templater, ownerSupport, subject);
|
|
8
8
|
support.ownerSupport = ownerSupport;
|
|
9
|
-
const result = buildBeforeElement(support,
|
|
9
|
+
const result = buildBeforeElement(support, appendTo, appendTo ? undefined : insertBefore);
|
|
10
10
|
for (const dom of result.dom) {
|
|
11
11
|
if (dom.marker) {
|
|
12
12
|
if (appendTo) {
|
|
13
13
|
paintAppends.push([paintAppend, [appendTo, dom.marker]]);
|
|
14
14
|
}
|
|
15
15
|
else {
|
|
16
|
-
paintCommands.push([paintBefore, [insertBefore, dom.marker]]);
|
|
16
|
+
paintCommands.push([paintBefore, [insertBefore, dom.marker, 'subMarker']]);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
if (dom.domElement) {
|
|
20
20
|
if (appendTo) {
|
|
21
|
-
paintAppends.push([paintAppend, [appendTo, dom.domElement]]);
|
|
21
|
+
paintAppends.push([paintAppend, [appendTo, dom.domElement, 'subAppendTo']]);
|
|
22
22
|
}
|
|
23
23
|
else {
|
|
24
|
-
paintCommands.push([paintBefore, [insertBefore, dom.domElement]]);
|
|
24
|
+
paintCommands.push([paintBefore, [insertBefore, dom.domElement, 'subInsertBefore']]);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processNewSubjectTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processNewSubjectTag.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAA;AAChF,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAEtG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAA;
|
|
1
|
+
{"version":3,"file":"processNewSubjectTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processNewSubjectTag.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAA;AAChF,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAEtG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAA;AAGlF,MAAM,UAAU,oBAAoB,CAClC,SAA0B,EAC1B,OAAoB,EAAE,8BAA8B;AACpD,YAAwB,EAAE,QAAQ;AAClC,QAAkB,EAClB,YAAmB;IAEnB,MAAM,OAAO,GAAG,qBAAqB,CAAC,SAAS,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;IAEvE,OAAO,CAAC,YAAY,GAAG,YAAY,CAAA;IAEnC,MAAM,MAAM,GAAG,kBAAkB,CAC/B,OAAO,EACP,QAAQ,EACR,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CACpC,CAAA;IAED,KAAI,MAAM,GAAG,IAAI,MAAM,CAAC,GAAG,EAAE,CAAC;QAC5B,IAAG,GAAG,CAAC,MAAM,EAAE,CAAC;YACd,IAAG,QAAQ,EAAE,CAAC;gBACZ,YAAY,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;YAC1D,CAAC;iBAAM,CAAC;gBACN,aAAa,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAA;YAC5E,CAAC;QACH,CAAC;QAED,IAAG,GAAG,CAAC,UAAU,EAAE,CAAC;YAClB,IAAG,QAAQ,EAAE,CAAC;gBACZ,YAAY,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,GAAG,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;YAC7E,CAAC;iBAAM,CAAC;gBACN,aAAa,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAA;YACtF,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -14,13 +14,14 @@ export function processUpdateRegularValue(value, contextItem) {
|
|
|
14
14
|
/** Used during updates that were another value/tag first but now simple string */
|
|
15
15
|
export function processNowRegularValue(value, contextItem) {
|
|
16
16
|
contextItem.value = value;
|
|
17
|
+
contextItem.oldTagJsVar = contextItem.tagJsVar;
|
|
17
18
|
contextItem.tagJsVar = getSimpleTagVar(value);
|
|
18
19
|
const before = contextItem.placeholder;
|
|
19
20
|
const castedValue = castTextValue(value);
|
|
20
21
|
const paint = contextItem.paint = [paintBeforeText, [before, castedValue, function cleanRegularValue(x) {
|
|
21
22
|
contextItem.simpleValueElm = x;
|
|
22
23
|
delete contextItem.paint;
|
|
23
|
-
}]];
|
|
24
|
+
}, 'processNowRegularValue']];
|
|
24
25
|
paintCommands.push(paint);
|
|
25
26
|
}
|
|
26
27
|
//# sourceMappingURL=processRegularValue.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processRegularValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processRegularValue.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAK,iCAAiC,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AACzG,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAK7E,MAAM,UAAU,yBAAyB,CACvC,KAAmB,EACnB,WAAwB;IAExB,MAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;IAExC,IAAG,WAAW,CAAC,KAAK,EAAE,CAAC;QACrB,+EAA+E;QAC/E,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,CAAA;QACrC,OAAM;IACR,CAAC;IAED,MAAM,QAAQ,GAAG,WAAW,CAAC,cAAsB,CAAA,CAAC,cAAc;IAClE,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;AAC1D,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,sBAAsB,CACpC,KAAmB,EACnB,WAAwB;IAExB,WAAW,CAAC,KAAK,GAAG,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"processRegularValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processRegularValue.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAK,iCAAiC,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AACzG,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAA;AAK7E,MAAM,UAAU,yBAAyB,CACvC,KAAmB,EACnB,WAAwB;IAExB,MAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;IAExC,IAAG,WAAW,CAAC,KAAK,EAAE,CAAC;QACrB,+EAA+E;QAC/E,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,CAAA;QACrC,OAAM;IACR,CAAC;IAED,MAAM,QAAQ,GAAG,WAAW,CAAC,cAAsB,CAAA,CAAC,cAAc;IAClE,YAAY,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;AAC1D,CAAC;AAED,kFAAkF;AAClF,MAAM,UAAU,sBAAsB,CACpC,KAAmB,EACnB,WAAwB;IAExB,WAAW,CAAC,KAAK,GAAG,KAAK,CAAA;IAEzB,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAA;IAC9C,WAAW,CAAC,QAAQ,GAAG,eAAe,CAAC,KAAK,CAAC,CAAA;IAE7C,MAAM,MAAM,GAAG,WAAW,CAAC,WAAmB,CAAA;IAC9C,MAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;IAExC,MAAM,KAAK,GAAG,WAAW,CAAC,KAAK,GAAG,CAAC,eAAe,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,SAAS,iBAAiB,CAAC,CAAO;gBAC1G,WAAW,CAAC,cAAc,GAAG,CAAC,CAAA;gBAC9B,OAAO,WAAW,CAAC,KAAK,CAAA;YAC1B,CAAC,EAAC,wBAAwB,CAAC,CAAC,CAAA;IAE5B,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;AAC3B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SignalObject } from '../../state/signal.function.js';
|
|
2
|
+
import { AnySupport } from '../index.js';
|
|
3
|
+
import { ContextItem } from '../ContextItem.type.js';
|
|
4
|
+
export declare function processSignal(value: SignalObject<any>, contextItem: ContextItem, ownerSupport: AnySupport, _insertBefore?: Text, appendTo?: Element): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { setupSubscribe } from './setupSubscribe.function.js';
|
|
2
|
+
import { ValueTypes } from '../ValueTypes.enum.js';
|
|
3
|
+
export function processSignal(value, contextItem, ownerSupport, _insertBefore, appendTo) {
|
|
4
|
+
const subValue = {
|
|
5
|
+
tagJsType: ValueTypes.subscribe,
|
|
6
|
+
states: [],
|
|
7
|
+
Observables: [value],
|
|
8
|
+
};
|
|
9
|
+
setupSubscribe(subValue, contextItem, ownerSupport, _insertBefore, appendTo);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=processSignal.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processSignal.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processSignal.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAI7D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,MAAM,UAAU,aAAa,CAC3B,KAAwB,EACxB,WAAwB,EACxB,YAAwB,EACxB,aAAoB,EACpB,QAAkB;IAElB,MAAM,QAAQ,GAAmB;QAC/B,SAAS,EAAE,UAAU,CAAC,SAAS;QAC/B,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,CAAC,KAAK,CAAC;KACI,CAAA;IAE1B,cAAc,CACZ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,aAAa,EACb,QAAQ,CACT,CAAA;AACH,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { SubscribeValue } from '../../tagJsVars/subscribe.function.js';
|
|
|
3
3
|
import { SignalObject } from '../../state/signal.function.js';
|
|
4
4
|
import { AnySupport } from '../AnySupport.type.js';
|
|
5
5
|
import { ContextItem } from '../ContextItem.type.js';
|
|
6
|
-
|
|
7
|
-
export declare function processSubscribeWith(value: SubscribeValue, contextItem: ContextItem, ownerSupport: AnySupport, counts: TagCounts, appendTo?: Element, insertBefore?: Text):
|
|
6
|
+
import { SubContext } from './SubContext.type.js';
|
|
7
|
+
export declare function processSubscribeWith(value: SubscribeValue, contextItem: ContextItem, ownerSupport: AnySupport, counts: TagCounts, appendTo?: Element, insertBefore?: Text): SubContext;
|
|
8
|
+
export declare function emitSubContext(value: SubscribeValue, subContext: SubContext): void;
|
|
8
9
|
export declare function processSignal(value: SignalObject<any>, contextItem: ContextItem, ownerSupport: AnySupport, counts: TagCounts, appendTo?: Element): void;
|