taggedjs 2.8.26 → 2.8.28
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/alterProp.function.d.ts +5 -5
- package/js/alterProp.function.js +19 -20
- package/js/alterProp.function.js.map +1 -1
- package/js/index.d.ts +1 -1
- package/js/index.js +1 -1
- package/js/index.js.map +1 -1
- package/js/interpolations/attributes/addSupportEventListener.function.d.ts +1 -1
- package/js/interpolations/attributes/bindSubjectCallback.function.d.ts +4 -2
- package/js/interpolations/attributes/bindSubjectCallback.function.js +14 -6
- package/js/interpolations/attributes/bindSubjectCallback.function.js.map +1 -1
- package/js/interpolations/attributes/getSupportWithState.function.d.ts +2 -0
- package/js/interpolations/attributes/getSupportWithState.function.js +10 -0
- package/js/interpolations/attributes/getSupportWithState.function.js.map +1 -0
- package/js/interpolations/attributes/getUpTags.function.d.ts +1 -1
- package/js/interpolations/attributes/getUpTags.function.js.map +1 -1
- package/js/interpolations/attributes/processAttribute.function.d.ts +3 -3
- package/js/interpolations/attributes/processAttribute.function.js +2 -7
- package/js/interpolations/attributes/processAttribute.function.js.map +1 -1
- package/js/interpolations/attributes/processAttributeCallback.function.d.ts +1 -1
- package/js/interpolations/attributes/processNameValueAttribute.function.d.ts +2 -2
- package/js/interpolations/attributes/renderTagArray.function.d.ts +1 -1
- package/js/interpolations/attributes/specialAttribute.d.ts +1 -1
- package/js/interpolations/attributes/updateAttribute.function.d.ts +1 -1
- package/js/interpolations/interpolateTemplate.d.ts +1 -1
- package/js/interpolations/optimizers/attachDomElements.function.d.ts +2 -4
- package/js/interpolations/optimizers/attachDomElements.function.js +5 -49
- package/js/interpolations/optimizers/attachDomElements.function.js.map +1 -1
- package/js/interpolations/optimizers/attachDynamicDom.function.d.ts +7 -0
- package/js/interpolations/optimizers/attachDynamicDom.function.js +28 -0
- package/js/interpolations/optimizers/attachDynamicDom.function.js.map +1 -0
- package/js/interpolations/optimizers/domProcessContextItem.function.d.ts +5 -0
- package/js/interpolations/optimizers/domProcessContextItem.function.js +18 -0
- package/js/interpolations/optimizers/domProcessContextItem.function.js.map +1 -0
- package/js/interpolations/optimizers/processDomContextItem.function.d.ts +5 -0
- package/js/interpolations/optimizers/processDomContextItem.function.js +18 -0
- package/js/interpolations/optimizers/processDomContextItem.function.js.map +1 -0
- package/js/interpolations/processSubscriptionUpdate.function.d.ts +1 -1
- package/js/interpolations/processSubscriptionUpdate.function.js +2 -2
- package/js/interpolations/processSubscriptionUpdate.function.js.map +1 -1
- package/js/interpolations/subscribeToTemplate.function.d.ts +1 -3
- package/js/interpolations/subscribeToTemplate.function.js +1 -29
- package/js/interpolations/subscribeToTemplate.function.js.map +1 -1
- package/js/isInstance.d.ts +1 -1
- package/js/isInstance.js.map +1 -1
- package/js/state/StateMemory.type.d.ts +2 -1
- package/js/state/callback.function.d.ts +1 -1
- package/js/state/callback.function.js +2 -6
- package/js/state/callback.function.js.map +1 -1
- package/js/state/callbackMaker.function.js +0 -1
- package/js/state/callbackMaker.function.js.map +1 -1
- package/js/state/callbackStateUpdate.function.d.ts +2 -7
- package/js/state/callbackStateUpdate.function.js +5 -31
- package/js/state/callbackStateUpdate.function.js.map +1 -1
- package/js/state/handleProviderChanges.function.d.ts +1 -1
- package/js/state/index.d.ts +1 -0
- package/js/state/index.js +1 -0
- package/js/state/index.js.map +1 -1
- package/js/state/letProp.function.js +10 -7
- package/js/state/letProp.function.js.map +1 -1
- package/js/state/providers.d.ts +1 -1
- package/js/state/providersChangeCheck.function.d.ts +1 -1
- package/js/state/setUse.function.d.ts +1 -1
- package/js/state/state.utils.d.ts +2 -3
- package/js/state/state.utils.js +3 -3
- package/js/state/state.utils.js.map +1 -1
- package/js/state/states.function.d.ts +1 -1
- package/js/state/states.function.js.map +1 -1
- package/js/state/states.utils.d.ts +2 -1
- package/js/state/states.utils.js +13 -25
- package/js/state/states.utils.js.map +1 -1
- package/js/state/subject.function.js +3 -3
- package/js/state/subject.function.js.map +1 -1
- package/js/state/subscribe.function.d.ts +18 -0
- package/js/state/subscribe.function.js +14 -0
- package/js/state/subscribe.function.js.map +1 -0
- package/js/state/syncStates.function.d.ts +4 -2
- package/js/state/syncStates.function.js +18 -13
- package/js/state/syncStates.function.js.map +1 -1
- package/js/state/tagClosed$.subject.d.ts +1 -1
- package/js/state/watch.function.js +2 -2
- package/js/state/watch.function.js.map +1 -1
- package/js/subject/ProcessInit.type.d.ts +6 -0
- package/js/subject/ProcessInit.type.js +2 -0
- package/js/subject/ProcessInit.type.js.map +1 -0
- package/js/subject/Subject.class.d.ts +2 -1
- package/js/subject/Subject.class.js.map +1 -1
- package/js/subject/ValueSubject.d.ts +1 -1
- package/js/subject/signal.function.d.ts +9 -15
- package/js/subject/signal.function.js +4 -0
- package/js/subject/signal.function.js.map +1 -1
- package/js/tag/AnySupport.type.d.ts +7 -0
- package/js/tag/AnySupport.type.js +2 -0
- package/js/tag/AnySupport.type.js.map +1 -0
- package/js/tag/BaseSupport.type.d.ts +1 -1
- package/js/tag/Context.types.d.ts +6 -7
- package/js/tag/Tag.type.d.ts +4 -2
- package/js/tag/ValueTypes.enum.d.ts +2 -2
- package/js/tag/ValueTypes.enum.js +4 -2
- package/js/tag/ValueTypes.enum.js.map +1 -1
- package/js/tag/afterRender.function.d.ts +1 -1
- package/js/tag/afterRender.function.js +7 -5
- package/js/tag/afterRender.function.js.map +1 -1
- package/js/tag/buildBeforeElement.function.d.ts +1 -2
- package/js/tag/buildBeforeElement.function.js +3 -2
- package/js/tag/buildBeforeElement.function.js.map +1 -1
- package/js/tag/checkDestroyPrevious.function.d.ts +1 -0
- package/js/tag/checkDestroyPrevious.function.js +4 -1
- package/js/tag/checkDestroyPrevious.function.js.map +1 -1
- package/js/tag/checkStateMismatch.function.d.ts +1 -1
- package/js/tag/checkTagValueChange.function.d.ts +3 -1
- package/js/tag/checkTagValueChange.function.js +7 -2
- package/js/tag/checkTagValueChange.function.js.map +1 -1
- package/js/tag/clonePropsBy.function.d.ts +1 -1
- package/js/tag/cloneValueArray.function.js +2 -0
- package/js/tag/cloneValueArray.function.js.map +1 -1
- package/js/tag/createHtmlSupport.function.d.ts +33 -0
- package/js/tag/createHtmlSupport.function.js +41 -0
- package/js/tag/createHtmlSupport.function.js.map +1 -0
- package/js/tag/createSupport.function.d.ts +6 -0
- package/js/tag/createSupport.function.js +8 -0
- package/js/tag/createSupport.function.js.map +1 -0
- package/js/tag/destroyContext.function.d.ts +8 -0
- package/js/tag/destroyContext.function.js +48 -0
- package/js/tag/destroyContext.function.js.map +1 -0
- package/js/tag/destroySupport.function.d.ts +1 -1
- package/js/tag/destroySupport.function.js +2 -2
- package/js/tag/destroySupport.function.js.map +1 -1
- package/js/tag/executeWrap.function.d.ts +1 -1
- package/js/tag/executeWrap.function.js +3 -2
- package/js/tag/executeWrap.function.js.map +1 -1
- package/js/tag/getDomTag.function.js +3 -0
- package/js/tag/getDomTag.function.js.map +1 -1
- package/js/tag/getSupport.function.d.ts +1 -0
- package/js/tag/getSupport.function.js +3 -3
- package/js/tag/getSupport.function.js.map +1 -1
- package/js/tag/getSupportInCycle.function.d.ts +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 +8 -5
- package/js/tag/getTemplaterResult.function.js +3 -1
- package/js/tag/getTemplaterResult.function.js.map +1 -1
- package/js/tag/index.d.ts +4 -3
- package/js/tag/index.js.map +1 -1
- package/js/tag/isLikeTags.function.d.ts +1 -1
- package/js/tag/isLikeTags.function.js +0 -1
- package/js/tag/isLikeTags.function.js.map +1 -1
- package/js/tag/processUpdateAttrContext.function.d.ts +1 -1
- package/js/tag/processUpdateContext.function.d.ts +1 -1
- package/js/tag/render/renderExistingTag.function.d.ts +4 -2
- package/js/tag/render/renderExistingTag.function.js +2 -1
- package/js/tag/render/renderExistingTag.function.js.map +1 -1
- package/js/tag/render/renderSupport.function.d.ts +1 -1
- package/js/tag/render/renderSupport.function.js.map +1 -1
- package/js/tag/render/renderTagOnly.function.d.ts +2 -1
- package/js/tag/render/renderTagOnly.function.js +4 -16
- package/js/tag/render/renderTagOnly.function.js.map +1 -1
- package/js/tag/render/renderWithSupport.function.d.ts +3 -2
- package/js/tag/render/renderWithSupport.function.js +1 -1
- package/js/tag/render/renderWithSupport.function.js.map +1 -1
- package/js/tag/render/softDestroySupport.function.d.ts +1 -1
- package/js/tag/render/softDestroySupport.function.js +11 -12
- package/js/tag/render/softDestroySupport.function.js.map +1 -1
- package/js/tag/tag.function.js +9 -2
- package/js/tag/tag.function.js.map +1 -1
- package/js/tag/tagElement.d.ts +2 -1
- package/js/tag/tagElement.js +23 -20
- package/js/tag/tagElement.js.map +1 -1
- package/js/tag/tagRunner.d.ts +1 -1
- package/js/tag/update/compareArrayItems.function.d.ts +1 -1
- package/js/tag/update/compareArrayItems.function.js +1 -23
- package/js/tag/update/compareArrayItems.function.js.map +1 -1
- package/js/tag/update/createAndProcessContextItem.function.d.ts +7 -0
- package/js/tag/update/createAndProcessContextItem.function.js +32 -0
- package/js/tag/update/createAndProcessContextItem.function.js.map +1 -0
- package/js/tag/update/forceUpdateExistingValue.function.d.ts +7 -0
- package/js/tag/update/forceUpdateExistingValue.function.js +13 -0
- package/js/tag/update/forceUpdateExistingValue.function.js.map +1 -0
- package/js/tag/update/handleStillTag.function.d.ts +5 -0
- package/js/tag/update/handleStillTag.function.js +11 -0
- package/js/tag/update/handleStillTag.function.js.map +1 -0
- package/js/tag/update/oneRenderToSupport.function.d.ts +1 -1
- package/js/tag/update/processDomTagInit.function.d.ts +9 -0
- package/js/tag/update/processDomTagInit.function.js +23 -0
- package/js/tag/update/processDomTagInit.function.js.map +1 -0
- package/js/tag/update/processFirstSubject.utils.d.ts +2 -1
- package/js/tag/update/processFirstSubjectComponent.function.d.ts +2 -1
- package/js/tag/update/processFirstSubjectComponent.function.js +3 -3
- package/js/tag/update/processFirstSubjectComponent.function.js.map +1 -1
- package/js/tag/update/processFirstSubjectValue.function.d.ts +1 -1
- package/js/tag/update/processFirstSubjectValue.function.js +2 -62
- package/js/tag/update/processFirstSubjectValue.function.js.map +1 -1
- package/js/tag/update/processNewSubjectTag.function.d.ts +3 -3
- package/js/tag/update/processNewSubjectTag.function.js +2 -16
- package/js/tag/update/processNewSubjectTag.function.js.map +1 -1
- package/js/tag/update/processNewValue.function.d.ts +2 -1
- package/js/tag/update/processNewValue.function.js +3 -3
- package/js/tag/update/processNewValue.function.js.map +1 -1
- package/js/tag/update/processRenderOnceInit.function.d.ts +8 -0
- package/js/tag/update/processRenderOnceInit.function.js +17 -0
- package/js/tag/update/processRenderOnceInit.function.js.map +1 -0
- package/js/tag/update/processSubscribe.function.d.ts +9 -0
- package/js/tag/update/processSubscribe.function.js +10 -0
- package/js/tag/update/processSubscribe.function.js.map +1 -0
- package/js/tag/update/processTag.function.d.ts +2 -1
- package/js/tag/update/processTag.function.js +5 -7
- package/js/tag/update/processTag.function.js.map +1 -1
- package/js/tag/update/processTagArray.d.ts +1 -1
- package/js/tag/update/processTagArray.js +9 -42
- package/js/tag/update/processTagArray.js.map +1 -1
- package/js/tag/update/processTagComponentInit.function.d.ts +7 -0
- package/js/tag/update/processTagComponentInit.function.js +17 -0
- package/js/tag/update/processTagComponentInit.function.js.map +1 -0
- package/js/tag/update/processTagInit.function.d.ts +4 -0
- package/js/tag/update/processTagInit.function.js +11 -0
- package/js/tag/update/processTagInit.function.js.map +1 -0
- package/js/tag/update/processTagResult.function.d.ts +1 -1
- package/js/tag/update/processTagResult.function.js +1 -10
- package/js/tag/update/processTagResult.function.js.map +1 -1
- package/js/tag/update/setupSubscribe.function.d.ts +21 -0
- package/js/tag/update/setupSubscribe.function.js +85 -0
- package/js/tag/update/setupSubscribe.function.js.map +1 -0
- package/js/tag/update/syncPriorPropFunction.function.d.ts +1 -1
- package/js/tag/update/tryUpdateToTag.function.d.ts +7 -0
- package/js/tag/update/tryUpdateToTag.function.js +64 -0
- package/js/tag/update/tryUpdateToTag.function.js.map +1 -0
- package/js/tag/update/updateContextItemBySupport.function.d.ts +3 -0
- package/js/tag/update/updateContextItemBySupport.function.js +10 -0
- package/js/tag/update/updateContextItemBySupport.function.js.map +1 -0
- package/js/tag/update/updateExistingArray.function.d.ts +1 -1
- package/js/tag/update/updateExistingObject.function.d.ts +1 -1
- package/js/tag/update/updateExistingTagComponent.function.d.ts +2 -1
- package/js/tag/update/updateExistingTagComponent.function.js.map +1 -1
- package/js/tag/update/updateExistingValue.function.d.ts +3 -6
- package/js/tag/update/updateExistingValue.function.js +5 -99
- package/js/tag/update/updateExistingValue.function.js.map +1 -1
- package/js/tag/update/updateToDiffValue.function.d.ts +5 -0
- package/js/tag/update/updateToDiffValue.function.js +28 -0
- package/js/tag/update/updateToDiffValue.function.js.map +1 -0
- package/js/tag/updateSupportBy.function.d.ts +1 -1
- package/js/tag/updateSupportBy.function.js +3 -2
- package/js/tag/updateSupportBy.function.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { paint, paintAppends } from '../paint.function.js';
|
|
2
|
+
import { setUseMemory } from '../../state/setUseMemory.object.js';
|
|
3
|
+
import { syncSupports } from '../../state/syncStates.function.js';
|
|
4
|
+
import { forceUpdateExistingValue } from './forceUpdateExistingValue.function.js';
|
|
5
|
+
import { getSupportWithState } from '../../interpolations/attributes/getSupportWithState.function.js';
|
|
6
|
+
import { ValueTypes } from '../ValueTypes.enum.js';
|
|
7
|
+
import { createAndProcessContextItem } from './createAndProcessContextItem.function.js';
|
|
8
|
+
export function setupSubscribe(observable, contextItem, ownerSupport, counts, callback, appendTo, insertBefore) {
|
|
9
|
+
let appendMarker;
|
|
10
|
+
// do we need to append now but process subscription later?
|
|
11
|
+
if (appendTo) {
|
|
12
|
+
appendMarker = insertBefore = document.createTextNode('');
|
|
13
|
+
paintAppends.push({
|
|
14
|
+
element: insertBefore,
|
|
15
|
+
relative: appendTo,
|
|
16
|
+
});
|
|
17
|
+
// appendTo = undefined
|
|
18
|
+
}
|
|
19
|
+
const setup = setupSubscribeCallbackProcessor(observable, contextItem, ownerSupport, counts, callback, insertBefore);
|
|
20
|
+
const deleteMe = contextItem.delete = () => {
|
|
21
|
+
setup.contextItem.delete(setup.contextItem);
|
|
22
|
+
setup.subscription.unsubscribe();
|
|
23
|
+
if (appendMarker) {
|
|
24
|
+
const parentNode = appendMarker.parentNode;
|
|
25
|
+
parentNode.removeChild(appendMarker);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
contextItem.handler = (value, values, newSupport) => {
|
|
29
|
+
if (!value || !value.tagJsType || value.tagJsType !== ValueTypes.subscribe) {
|
|
30
|
+
deleteMe();
|
|
31
|
+
return 99;
|
|
32
|
+
}
|
|
33
|
+
if (!setup.hasEmitted) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
setup.callback = value.callback;
|
|
37
|
+
setup.handler(setup.getLastValue());
|
|
38
|
+
const newComponent = getSupportWithState(newSupport);
|
|
39
|
+
setup.states = newComponent.states;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function setupSubscribeCallbackProcessor(observable, contextItem, ownerSupport, // ownerSupport ?
|
|
43
|
+
counts, // used for animation stagger computing
|
|
44
|
+
callback, insertBefore) {
|
|
45
|
+
const component = getSupportWithState(ownerSupport);
|
|
46
|
+
let lastValue = undefined;
|
|
47
|
+
const getLastValue = () => lastValue;
|
|
48
|
+
let onValue = function onSubValue(value) {
|
|
49
|
+
if (memory.callback) {
|
|
50
|
+
value = memory.callback(value);
|
|
51
|
+
}
|
|
52
|
+
memory.hasEmitted = true;
|
|
53
|
+
memory.contextItem = createAndProcessContextItem(value, ownerSupport, counts, insertBefore);
|
|
54
|
+
// from now on just run update
|
|
55
|
+
onValue = function subscriptionUpdate(value) {
|
|
56
|
+
forceUpdateExistingValue(memory.contextItem, value, ownerSupport);
|
|
57
|
+
if (!syncRun && !setUseMemory.stateConfig.support) {
|
|
58
|
+
paint();
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
// onValue mutates so function below calls original and mutation
|
|
63
|
+
const valueChangeHandler = function subValueProcessor(value) {
|
|
64
|
+
lastValue = value;
|
|
65
|
+
const newComponent = component.subject.global.newest;
|
|
66
|
+
syncSupports(newComponent, component);
|
|
67
|
+
if (memory.callback) {
|
|
68
|
+
value = memory.callback(value);
|
|
69
|
+
}
|
|
70
|
+
onValue(value);
|
|
71
|
+
};
|
|
72
|
+
// aka setup
|
|
73
|
+
const memory = {
|
|
74
|
+
hasEmitted: false,
|
|
75
|
+
handler: valueChangeHandler,
|
|
76
|
+
getLastValue,
|
|
77
|
+
callback,
|
|
78
|
+
states: component.states,
|
|
79
|
+
};
|
|
80
|
+
let syncRun = true;
|
|
81
|
+
memory.subscription = observable.subscribe(valueChangeHandler);
|
|
82
|
+
syncRun = false;
|
|
83
|
+
return memory;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=setupSubscribe.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupSubscribe.function.js","sourceRoot":"","sources":["../../../ts/tag/update/setupSubscribe.function.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AAEjE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAA;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iEAAiE,CAAA;AAErG,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAA;AAEvF,MAAM,UAAU,cAAc,CAC5B,UAA+B,EAC/B,WAAwB,EACxB,YAAwB,EACxB,MAAc,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AAC,QAAQ,EAAE,CAAC;YACnB,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAChC,CAAC;QAED,OAAO,CAAC,KAAK,CAAC,CAAA;IAChB,CAAC,CAAA;IAED,YAAY;IACZ,MAAM,MAAM,GAAG;QACb,UAAU,EAAE,KAAK;QACjB,OAAO,EAAE,kBAAkB;QAC3B,YAAY;QACZ,QAAQ;QACR,MAAM,EAAE,SAAS,CAAC,MAAM;KACN,CAAA;IAEpB,IAAI,OAAO,GAAG,IAAI,CAAA;IAClB,MAAM,CAAC,YAAY,GAAG,UAAU,CAAC,SAAS,CAAE,kBAAkB,CAAE,CAAA;IAChE,OAAO,GAAG,KAAK,CAAA;IAEf,OAAO,MAAM,CAAA;AACf,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnySupport } from '../
|
|
1
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
2
2
|
import { WrapRunner } from '../../alterProp.function.js';
|
|
3
3
|
export declare function syncPriorPropFunction(priorProp: WrapRunner, prop: WrapRunner, newSupport: AnySupport, ownerSupport: AnySupport, maxDepth: number, depth: number): WrapRunner | Record<string, WrapRunner> | WrapRunner[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
2
|
+
import { SupportContextItem } from '../createHtmlSupport.function.js';
|
|
3
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
4
|
+
import { ContextItem } from '../Context.types.js';
|
|
5
|
+
/** result is an indication to ignore further processing but that does not seem in use anymore */
|
|
6
|
+
export declare function tryUpdateToTag(contextItem: ContextItem | SupportContextItem, newValue: TemplaterResult, // newValue
|
|
7
|
+
ownerSupport: AnySupport): boolean;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { getFakeTemplater, newSupportByTemplater, processTag } from './processTag.function.js';
|
|
2
|
+
import { BasicTypes, ValueTypes } from '../ValueTypes.enum.js';
|
|
3
|
+
import { isTagComponent } from '../../isInstance.js';
|
|
4
|
+
import { getNewGlobal } from './getNewGlobal.function.js';
|
|
5
|
+
import { handleStillTag } from './handleStillTag.function.js';
|
|
6
|
+
import { prepareUpdateToComponent } from './updateExistingValue.function.js';
|
|
7
|
+
const fooCounts = { added: 0, removed: 0 };
|
|
8
|
+
/** result is an indication to ignore further processing but that does not seem in use anymore */
|
|
9
|
+
export function tryUpdateToTag(contextItem, newValue, // newValue
|
|
10
|
+
ownerSupport) {
|
|
11
|
+
const tagJsType = newValue.tagJsType;
|
|
12
|
+
const isComp = isTagComponent(newValue);
|
|
13
|
+
if (isComp) {
|
|
14
|
+
if (contextItem.global === undefined) {
|
|
15
|
+
getNewGlobal(contextItem);
|
|
16
|
+
}
|
|
17
|
+
prepareUpdateToComponent(newValue, contextItem, ownerSupport);
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
// detect if previous value was a tag
|
|
21
|
+
const global = contextItem.global;
|
|
22
|
+
if (global) {
|
|
23
|
+
// its html/dom based tag
|
|
24
|
+
const support = global.newest;
|
|
25
|
+
if (support) {
|
|
26
|
+
if (typeof (newValue) === BasicTypes.function) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
handleStillTag(support, contextItem, newValue, ownerSupport);
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
switch (tagJsType) {
|
|
34
|
+
case ValueTypes.templater:
|
|
35
|
+
processTag(ownerSupport, contextItem, fooCounts);
|
|
36
|
+
return true;
|
|
37
|
+
// when value was not a Tag before
|
|
38
|
+
case ValueTypes.tag:
|
|
39
|
+
case ValueTypes.dom: {
|
|
40
|
+
updateToTag(newValue, contextItem, ownerSupport);
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
case ValueTypes.subscribe: {
|
|
44
|
+
;
|
|
45
|
+
newValue.processInit(newValue, contextItem, ownerSupport, { added: 0, removed: 0 }, undefined, // appendTo,
|
|
46
|
+
contextItem.placeholder);
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
function updateToTag(value, contextItem, ownerSupport) {
|
|
53
|
+
const tag = value;
|
|
54
|
+
let templater = tag.templater;
|
|
55
|
+
if (!templater) {
|
|
56
|
+
templater = getFakeTemplater();
|
|
57
|
+
tag.templater = templater;
|
|
58
|
+
templater.tag = tag;
|
|
59
|
+
}
|
|
60
|
+
const nowGlobal = (contextItem.global ? contextItem.global : getNewGlobal(contextItem));
|
|
61
|
+
nowGlobal.newest = newSupportByTemplater(templater, ownerSupport, contextItem);
|
|
62
|
+
processTag(ownerSupport, contextItem, fooCounts);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=tryUpdateToTag.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tryUpdateToTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/tryUpdateToTag.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAI9F,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAA;AAM5E,MAAM,SAAS,GAAW,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAA;AAElD,iGAAiG;AACjG,MAAM,UAAU,cAAc,CAC5B,WAA6C,EAC7C,QAAyB,EAAE,WAAW;AACtC,YAAwB;IAExB,MAAM,SAAS,GAAG,QAAQ,CAAC,SAAS,CAAA;IACpC,MAAM,MAAM,GAAG,cAAc,C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ACxB,CAAA;YAED,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,SAAS,WAAW,CAClB,KAAoB,EACpB,WAA6C,EAC7C,YAAwB;IAExB,MAAM,GAAG,GAAG,KAA2B,CAAA;IACvC,IAAI,SAAS,GAAG,GAAG,CAAC,SAAS,CAAA;IAE7B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,SAAS,GAAG,gBAAgB,EAAE,CAAA;QAC9B,GAAG,CAAC,SAAS,GAAG,SAAS,CAAA;QACzB,SAAS,CAAC,GAAG,GAAG,GAAG,CAAA;IACrB,CAAC;IAED,MAAM,SAAS,GAAG,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,CAAqB,CAAA;IAC3G,SAAS,CAAC,MAAM,GAAG,qBAAqB,CAAC,SAAS,EAAE,YAAY,EAAE,WAAW,CAAC,CAAA;IAE9E,UAAU,CACR,YAAY,EACZ,WAAiC,EACjC,SAAS,CACV,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AnySupport, SupportContextItem } from '../getSupport.function.js';
|
|
2
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
3
|
+
export declare function updateContextItemBySupport(support: AnySupport, contextItem: SupportContextItem, value: TemplaterResult, ownerSupport: AnySupport): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BasicTypes } from '../ValueTypes.enum.js';
|
|
2
|
+
import { handleStillTag } from './handleStillTag.function.js';
|
|
3
|
+
export function updateContextItemBySupport(support, contextItem, value, ownerSupport) {
|
|
4
|
+
if (typeof (value) === BasicTypes.function) {
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
handleStillTag(support, contextItem, value, ownerSupport);
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=updateContextItemBySupport.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateContextItemBySupport.function.js","sourceRoot":"","sources":["../../../ts/tag/update/updateContextItemBySupport.function.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAElD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAE7D,MAAM,UAAU,0BAA0B,CACxC,OAAmB,EACnB,WAA8B,EAC9B,KAAsB,EACtB,YAAwB;IAExB,IAAG,OAAM,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC;QACzC,OAAM;IACR,CAAC;IAED,cAAc,CACZ,OAAO,EACP,WAA0B,EAC1B,KAAK,EACL,YAAY,CACb,CAAA;IAED,OAAM;AAER,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnySupport } from '../
|
|
1
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
2
2
|
import { WrapRunner } from '../../alterProp.function.js';
|
|
3
3
|
export declare function updateExistingArray(prop: WrapRunner[], priorProp: WrapRunner, newSupport: AnySupport, ownerSupport: AnySupport, depth: number, maxDepth: number): WrapRunner[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnySupport } from '../
|
|
1
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
2
2
|
import { WrapRunner } from '../../alterProp.function.js';
|
|
3
3
|
export declare function updateExistingObject(prop: Record<string, WrapRunner>, priorProp: Record<string, WrapRunner>, newSupport: AnySupport, ownerSupport: AnySupport, depth: number, maxDepth: number): Record<string, WrapRunner>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SupportContextItem } from '../createHtmlSupport.function.js';
|
|
2
2
|
import { Props } from '../../Props.js';
|
|
3
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
3
4
|
export declare function updateExistingTagComponent(ownerSupport: AnySupport, support: AnySupport, // lastest
|
|
4
5
|
subject: SupportContextItem): void;
|
|
5
6
|
export declare function syncFunctionProps(newSupport: AnySupport, lastSupport: AnySupport, ownerSupport: AnySupport, newPropsArray: unknown[], // templater.props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateExistingTagComponent.function.js","sourceRoot":"","sources":["../../../ts/tag/update/updateExistingTagComponent.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAK,kCAAkC,CAAA;AAE1G,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAA;AAExF,OAAO,EAAE,SAAS,EAAc,MAAK,6BAA6B,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAK,qCAAqC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAK,2BAA2B,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAGhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"updateExistingTagComponent.function.js","sourceRoot":"","sources":["../../../ts/tag/update/updateExistingTagComponent.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAK,kCAAkC,CAAA;AAE1G,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAA;AAExF,OAAO,EAAE,SAAS,EAAc,MAAK,6BAA6B,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAK,qCAAqC,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+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;IAEzC,MAAM,UAAU,GAAG,2BAA2B,CAC5C,SAAS,EACT,OAAO,EACP,YAAY,EACZ,EAAC,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAC,CACvB,CAAA;IAED,OAAO,UAAU,CAAA;AACnB,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SupportContextItem } from '../createHtmlSupport.function.js';
|
|
2
2
|
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
3
3
|
import { TemplateValue } from './processFirstSubject.utils.js';
|
|
4
4
|
import { ContextItem } from '../Context.types.js';
|
|
5
|
-
|
|
5
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
6
|
+
/** Checks if value has changed before updating. Used for all tag value updates. Determines if value changed since last render */
|
|
6
7
|
export declare function updateExistingValue(contextItem: ContextItem | SupportContextItem, newValue: TemplateValue, // newValue
|
|
7
8
|
ownerSupport: AnySupport): void;
|
|
8
9
|
export declare function prepareUpdateToComponent(templater: TemplaterResult, contextItem: SupportContextItem, ownerSupport: AnySupport): void;
|
|
9
|
-
export declare function updateContextItemBySupport(support: AnySupport, contextItem: SupportContextItem, value: TemplaterResult, ownerSupport: AnySupport): void;
|
|
10
|
-
/** result is an indication to ignore further processing but that does not seem in use anymore */
|
|
11
|
-
export declare function tryUpdateToTag(contextItem: ContextItem | SupportContextItem, newValue: TemplaterResult, // newValue
|
|
12
|
-
ownerSupport: AnySupport): boolean;
|
|
@@ -1,67 +1,15 @@
|
|
|
1
|
-
import { getFakeTemplater, newSupportByTemplater, processTag } from './processTag.function.js';
|
|
2
|
-
import { processNowRegularValue } from './processRegularValue.function.js';
|
|
3
1
|
import { processReplacementComponent } from './processFirstSubjectComponent.function.js';
|
|
4
2
|
import { updateExistingTagComponent } from './updateExistingTagComponent.function.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import { getNewGlobal } from './getNewGlobal.function.js';
|
|
9
|
-
import { processTagArray } from './processTagArray.js';
|
|
10
|
-
import { getSupport } from '../getSupport.function.js';
|
|
11
|
-
const fooCounts = { added: 0, removed: 0 };
|
|
12
|
-
/** Used for all tag value updates. Determines if value changed since last render */
|
|
3
|
+
import { forceUpdateExistingValue } from './forceUpdateExistingValue.function.js';
|
|
4
|
+
import { createSupport } from '../createSupport.function.js';
|
|
5
|
+
/** Checks if value has changed before updating. Used for all tag value updates. Determines if value changed since last render */
|
|
13
6
|
export function updateExistingValue(contextItem, newValue, // newValue
|
|
14
7
|
ownerSupport) {
|
|
15
8
|
// Do not continue if the value is just the same
|
|
16
9
|
if (newValue === contextItem.value) {
|
|
17
10
|
return;
|
|
18
11
|
}
|
|
19
|
-
|
|
20
|
-
const ignoreOrDestroyed = contextItem.checkValueChange(newValue, contextItem);
|
|
21
|
-
// ignore
|
|
22
|
-
if (ignoreOrDestroyed === -1) {
|
|
23
|
-
return; // do nothing
|
|
24
|
-
}
|
|
25
|
-
// is new value a tag?
|
|
26
|
-
const tagJsType = newValue && newValue.tagJsType;
|
|
27
|
-
if (tagJsType) {
|
|
28
|
-
if (tagJsType === ValueTypes.renderOnce) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
tryUpdateToTag(contextItem, newValue, ownerSupport);
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
if (isArray(newValue)) {
|
|
35
|
-
processTagArray(contextItem, newValue, ownerSupport, { added: 0, removed: 0 });
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
if (typeof (newValue) === BasicTypes.function) {
|
|
39
|
-
contextItem.value = newValue; // do not render functions that are not explicity defined as tag html processing
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
if (ignoreOrDestroyed) {
|
|
43
|
-
processNowRegularValue(newValue, contextItem);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function updateToTag(value, contextItem, ownerSupport) {
|
|
47
|
-
const tag = value;
|
|
48
|
-
let templater = tag.templater;
|
|
49
|
-
if (!templater) {
|
|
50
|
-
templater = getFakeTemplater();
|
|
51
|
-
tag.templater = templater;
|
|
52
|
-
templater.tag = tag;
|
|
53
|
-
}
|
|
54
|
-
const nowGlobal = (contextItem.global ? contextItem.global : getNewGlobal(contextItem));
|
|
55
|
-
nowGlobal.newest = newSupportByTemplater(templater, ownerSupport, contextItem);
|
|
56
|
-
processTag(ownerSupport, contextItem, fooCounts);
|
|
57
|
-
}
|
|
58
|
-
function handleStillTag(lastSupport, subject, value, ownerSupport) {
|
|
59
|
-
const templater = value.templater || value;
|
|
60
|
-
const valueSupport = getSupport(templater, ownerSupport, ownerSupport.appSupport, subject);
|
|
61
|
-
const lastSubject = lastSupport.subject;
|
|
62
|
-
const newGlobal = lastSubject.global;
|
|
63
|
-
const oldest = newGlobal.oldest;
|
|
64
|
-
updateSupportBy(oldest, valueSupport);
|
|
12
|
+
forceUpdateExistingValue(contextItem, newValue, ownerSupport);
|
|
65
13
|
}
|
|
66
14
|
export function prepareUpdateToComponent(templater, contextItem, ownerSupport) {
|
|
67
15
|
const global = contextItem.global;
|
|
@@ -70,50 +18,8 @@ export function prepareUpdateToComponent(templater, contextItem, ownerSupport) {
|
|
|
70
18
|
processReplacementComponent(templater, contextItem, ownerSupport, { added: 0, removed: 0 });
|
|
71
19
|
return;
|
|
72
20
|
}
|
|
73
|
-
const support =
|
|
21
|
+
const support = createSupport(templater, ownerSupport, ownerSupport.appSupport, contextItem);
|
|
74
22
|
updateExistingTagComponent(ownerSupport, support, // latest value
|
|
75
23
|
contextItem);
|
|
76
24
|
}
|
|
77
|
-
export function updateContextItemBySupport(support, contextItem, value, ownerSupport) {
|
|
78
|
-
if (typeof (value) === BasicTypes.function) {
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
handleStillTag(support, contextItem, value, ownerSupport);
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
/** result is an indication to ignore further processing but that does not seem in use anymore */
|
|
85
|
-
export function tryUpdateToTag(contextItem, newValue, // newValue
|
|
86
|
-
ownerSupport) {
|
|
87
|
-
const tagJsType = newValue.tagJsType;
|
|
88
|
-
const isComp = isTagComponent(newValue);
|
|
89
|
-
if (isComp) {
|
|
90
|
-
if (contextItem.global === undefined) {
|
|
91
|
-
getNewGlobal(contextItem);
|
|
92
|
-
}
|
|
93
|
-
prepareUpdateToComponent(newValue, contextItem, ownerSupport);
|
|
94
|
-
return true;
|
|
95
|
-
}
|
|
96
|
-
// detect if previous value was a tag
|
|
97
|
-
const global = contextItem.global;
|
|
98
|
-
if (global) {
|
|
99
|
-
// its html/dom based tag
|
|
100
|
-
const support = global.newest;
|
|
101
|
-
if (support) {
|
|
102
|
-
updateContextItemBySupport(support, contextItem, newValue, ownerSupport);
|
|
103
|
-
return true;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
switch (tagJsType) {
|
|
107
|
-
case ValueTypes.templater:
|
|
108
|
-
processTag(ownerSupport, contextItem, fooCounts);
|
|
109
|
-
return true;
|
|
110
|
-
// when value was not a Tag before
|
|
111
|
-
case ValueTypes.tag:
|
|
112
|
-
case ValueTypes.dom: {
|
|
113
|
-
updateToTag(newValue, contextItem, ownerSupport);
|
|
114
|
-
return true;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
return false;
|
|
118
|
-
}
|
|
119
25
|
//# sourceMappingURL=updateExistingValue.function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateExistingValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/updateExistingValue.function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"updateExistingValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/updateExistingValue.function.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAA;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAA;AAGrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAA;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAG5D,iIAAiI;AACjI,MAAM,UAAU,mBAAmB,CACjC,WAA6C,EAC7C,QAAuB,EAAE,WAAW;AACpC,YAAwB;IAExB,gDAAgD;IAChD,IAAG,QAAQ,KAAK,WAAW,CAAC,KAAK,EAAE,CAAC;QAClC,OAAM;IACR,CAAC;IAED,wBAAwB,CAAC,WAAW,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAA;AAC/D,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,SAA0B,EAC1B,WAA8B,EAC9B,YAAwB;IAExB,MAAM,MAAM,GAAG,WAAW,CAAC,MAA0B,CAAA;IACrD,sCAAsC;IACtC,IAAG,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QAClB,2BAA2B,CACzB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,EAAC,KAAK,EAAC,CAAC,EAAE,OAAO,EAAC,CAAC,EAAC,CACrB,CAAA;QACD,OAAM;IACR,CAAC;IAED,MAAM,OAAO,GAAG,aAAa,CAC3B,SAAS,EACT,YAAY,EACZ,YAAY,CAAC,UAAU,EACvB,WAAW,CACZ,CAAA;IAED,0BAA0B,CACxB,YAAY,EACZ,OAAO,EAAE,eAAe;IACxB,WAAW,CACZ,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SupportContextItem } from '../createHtmlSupport.function.js';
|
|
2
|
+
import { TemplateValue } from './processFirstSubject.utils.js';
|
|
3
|
+
import { ContextItem } from '../Context.types.js';
|
|
4
|
+
import { AnySupport } from '../AnySupport.type.js';
|
|
5
|
+
export declare function updateToDiffValue(newValue: TemplateValue, contextItem: ContextItem | SupportContextItem, ownerSupport: AnySupport, ignoreOrDestroyed: number | boolean): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BasicTypes, ValueTypes } from '../index.js';
|
|
2
|
+
import { tryUpdateToTag } from './tryUpdateToTag.function.js';
|
|
3
|
+
import { isArray } from '../../isInstance.js';
|
|
4
|
+
import { processTagArray } from './processTagArray.js';
|
|
5
|
+
import { processNowRegularValue } from './processRegularValue.function.js';
|
|
6
|
+
export function updateToDiffValue(newValue, contextItem, ownerSupport, ignoreOrDestroyed) {
|
|
7
|
+
// is new value a tag?
|
|
8
|
+
const tagJsType = newValue && newValue.tagJsType;
|
|
9
|
+
if (tagJsType) {
|
|
10
|
+
if (tagJsType === ValueTypes.renderOnce) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
tryUpdateToTag(contextItem, newValue, ownerSupport);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
if (isArray(newValue)) {
|
|
17
|
+
processTagArray(contextItem, newValue, ownerSupport, { added: 0, removed: 0 });
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
if (typeof (newValue) === BasicTypes.function) {
|
|
21
|
+
contextItem.value = newValue; // do not render functions that are not explicity defined as tag html processing
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
if (ignoreOrDestroyed) {
|
|
25
|
+
processNowRegularValue(newValue, contextItem);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=updateToDiffValue.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateToDiffValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/updateToDiffValue.function.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAA8B,UAAU,EAAE,MAAM,aAAa,CAAA;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,sBAAsB,EAAgB,MAAM,mCAAmC,CAAA;AAGxF,MAAM,UAAU,iBAAiB,CAC/B,QAAuB,EACvB,WAA6C,EAC7C,YAAwB,EACxB,iBAAmC;IAEnC,sBAAsB;IACtB,MAAM,SAAS,GAAG,QAAQ,IAAK,QAA4B,CAAC,SAAsB,CAAA;IAClF,IAAG,SAAS,EAAE,CAAC;QACb,IAAG,SAAS,KAAK,UAAU,CAAC,UAAU,EAAE,CAAC;YACvC,OAAM;QACR,CAAC;QAED,cAAc,CACZ,WAAW,EACX,QAA2B,EAC3B,YAAY,CACb,CAAA;QAED,OAAM;IACR,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,EAAG,CAAC;QACvB,eAAe,CACb,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,EAAC,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAC,CACvB,CAAA;QAED,OAAM;IACR,CAAC;IAED,IAAG,OAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAC,QAAQ,EAAE,CAAC;QAC5C,WAAW,CAAC,KAAK,GAAG,QAAQ,CAAA,CAAC,gFAAgF;QAC7G,OAAM;IACR,CAAC;IAED,IAAG,iBAAiB,EAAE,CAAC;QACrB,sBAAsB,CACpB,QAAwB,EACxB,WAAW,CACZ,CAAA;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { AnySupport } from './AnySupport.type.js';
|
|
2
2
|
export declare function updateSupportBy(olderSupport: AnySupport, newerSupport: AnySupport): void;
|
|
3
3
|
export declare function updateSupportValuesBy(olderSupport: AnySupport, newerSupport: AnySupport): void;
|
|
@@ -10,8 +10,9 @@ export function updateSupportBy(olderSupport, newerSupport) {
|
|
|
10
10
|
paint();
|
|
11
11
|
}
|
|
12
12
|
export function updateSupportValuesBy(olderSupport, newerSupport) {
|
|
13
|
-
const
|
|
14
|
-
const
|
|
13
|
+
const newTemplate = newerSupport.templater;
|
|
14
|
+
const tempTag = newerSupport.templater.tag;
|
|
15
|
+
const values = newTemplate.values || tempTag.values;
|
|
15
16
|
const tag = olderSupport.templater.tag;
|
|
16
17
|
tag.values = values;
|
|
17
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateSupportBy.function.js","sourceRoot":"","sources":["../../ts/tag/updateSupportBy.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AAOzE,MAAM,UAAU,eAAe,CAC7B,YAAwB,EACxB,YAAwB;IAExB,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,MAA0B,CAAA;IAC9D,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;IAE9B,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;IAEjD,EAAE,QAAQ,CAAC,KAAK,CAAA;IAChB,oBAAoB,CAAC,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"updateSupportBy.function.js","sourceRoot":"","sources":["../../ts/tag/updateSupportBy.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AAOzE,MAAM,UAAU,eAAe,CAC7B,YAAwB,EACxB,YAAwB;IAExB,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC,MAA0B,CAAA;IAC9D,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;IAE9B,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;IAEjD,EAAE,QAAQ,CAAC,KAAK,CAAA;IAChB,oBAAoB,CAAC,YAAY,EAAE,OAAmC,CAAC,CAAA;IACvE,EAAE,QAAQ,CAAC,KAAK,CAAA;IAEhB,KAAK,EAAE,CAAA;AACT,CAAC;AAED,MAAM,UAAU,qBAAqB,CACnC,YAAwB,EACxB,YAAwB;IAExB,MAAM,WAAW,GAAG,YAAY,CAAC,SAA2B,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