taggedjs 2.8.1 → 2.8.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/alterProp.function.d.ts +2 -2
- package/js/index.d.ts +2 -2
- 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 +2 -2
- package/js/interpolations/attributes/getUpTags.function.d.ts +1 -1
- package/js/interpolations/attributes/processAttribute.function.d.ts +1 -1
- package/js/interpolations/attributes/processAttribute.function.js +6 -5
- 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 +2 -1
- package/js/interpolations/attributes/specialAttribute.js +1 -2
- package/js/interpolations/attributes/specialAttribute.js.map +1 -1
- package/js/interpolations/interpolateTemplate.d.ts +1 -1
- package/js/interpolations/optimizers/attachDomElements.function.d.ts +1 -1
- package/js/interpolations/optimizers/htmlInterpolationToDomMeta.function.js +1 -1
- package/js/interpolations/optimizers/htmlInterpolationToDomMeta.function.js.map +1 -1
- package/js/interpolations/optimizers/replacePlaceholders.function.js +1 -1
- package/js/interpolations/optimizers/replacePlaceholders.function.js.map +1 -1
- package/js/interpolations/optimizers/restorePlaceholders.function.js +1 -1
- package/js/interpolations/optimizers/restorePlaceholders.function.js.map +1 -1
- package/js/interpolations/processSubscriptionUpdate.function.d.ts +1 -1
- package/js/interpolations/subscribeToTemplate.function.d.ts +1 -1
- package/js/isInstance.d.ts +3 -3
- package/js/state/StateMemory.type.d.ts +1 -1
- package/js/state/callback.function.d.ts +1 -1
- package/js/state/callbackStateUpdate.function.d.ts +1 -1
- package/js/state/handleProviderChanges.function.d.ts +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 +1 -1
- package/js/tag/BaseSupport.type.d.ts +1 -1
- package/js/tag/Context.types.d.ts +2 -2
- package/js/tag/TagMaker.type.d.ts +1 -1
- package/js/tag/afterRender.function.d.ts +1 -1
- package/js/tag/buildBeforeElement.function.d.ts +1 -1
- package/js/tag/checkDestroyPrevious.function.d.ts +1 -1
- package/js/tag/checkStateMismatch.function.d.ts +1 -1
- package/js/tag/clonePropsBy.function.d.ts +1 -1
- package/js/tag/cloneValueArray.function.d.ts +1 -1
- package/js/tag/destroySupport.function.d.ts +1 -1
- package/js/tag/executeWrap.function.d.ts +2 -2
- package/js/tag/getChildTagsToDestroy.function.d.ts +1 -1
- package/js/tag/getDomTag.function.d.ts +49 -0
- package/js/tag/getDomTag.function.js +43 -0
- package/js/tag/getDomTag.function.js.map +1 -0
- package/js/tag/getSupport.function.d.ts +35 -2
- package/js/tag/getSupport.function.js +40 -1
- 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 +2 -2
- package/js/tag/getTemplaterResult.function.d.ts +50 -0
- package/js/tag/getTemplaterResult.function.js +14 -0
- package/js/tag/getTemplaterResult.function.js.map +1 -0
- package/js/tag/hasSupportChanged.function.d.ts +1 -1
- package/js/tag/html.d.ts +1 -1
- package/js/tag/html.js +2 -2
- package/js/tag/html.js.map +1 -1
- package/js/tag/index.d.ts +3 -3
- package/js/tag/index.js +3 -3
- package/js/tag/index.js.map +1 -1
- package/js/tag/isLastRunMatched.function.d.ts +1 -1
- package/js/tag/isLikeTags.function.d.ts +2 -2
- 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 +1 -1
- package/js/tag/render/renderSupport.function.d.ts +2 -2
- package/js/tag/render/renderTagOnly.function.d.ts +1 -1
- package/js/tag/render/renderWithSupport.function.d.ts +1 -1
- package/js/tag/render/softDestroySupport.function.d.ts +1 -1
- package/js/tag/smartRemoveKids.function.d.ts +1 -1
- package/js/tag/tag.d.ts +1 -1
- package/js/tag/tag.js +1 -1
- package/js/tag/tag.js.map +1 -1
- package/js/tag/tag.types.d.ts +1 -1
- package/js/tag/tag.utils.d.ts +2 -2
- package/js/tag/tagElement.d.ts +2 -2
- package/js/tag/tagElement.js +1 -1
- package/js/tag/tagElement.js.map +1 -1
- package/js/tag/tagRunner.d.ts +1 -1
- package/js/tag/update/getNewGlobal.function.d.ts +1 -1
- package/js/tag/update/oneRenderToSupport.function.d.ts +2 -2
- package/js/tag/update/oneRenderToSupport.function.js +1 -1
- package/js/tag/update/oneRenderToSupport.function.js.map +1 -1
- package/js/tag/update/processFirstSubject.utils.d.ts +2 -2
- package/js/tag/update/processFirstSubjectComponent.function.d.ts +2 -2
- package/js/tag/update/processFirstSubjectValue.function.d.ts +2 -2
- package/js/tag/update/processNewSubjectTag.function.d.ts +2 -2
- package/js/tag/update/processNewValue.function.d.ts +1 -1
- package/js/tag/update/processNewValue.function.js +1 -1
- package/js/tag/update/processNewValue.function.js.map +1 -1
- package/js/tag/update/processTag.function.d.ts +3 -3
- package/js/tag/update/processTag.function.js +1 -1
- package/js/tag/update/processTag.function.js.map +1 -1
- package/js/tag/update/processTagArray.d.ts +3 -3
- package/js/tag/update/processTagResult.function.d.ts +1 -1
- package/js/tag/update/updateExistingTagComponent.function.d.ts +1 -1
- package/js/tag/update/updateExistingValue.function.d.ts +1 -1
- package/js/tag/update/validateTemplater.function.d.ts +1 -1
- package/js/tag/updateSupportBy.function.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,39 @@
|
|
|
1
|
-
import { TemplaterResult } from './
|
|
1
|
+
import { SupportTagGlobal, TemplaterResult } from './getTemplaterResult.function.js';
|
|
2
2
|
import { ContextItem } from './Context.types.js';
|
|
3
3
|
import { Props } from '../Props.js';
|
|
4
|
-
import {
|
|
4
|
+
import { BaseSupport } from './BaseSupport.type.js';
|
|
5
|
+
import { State } from '../state/index.js';
|
|
6
|
+
import { StatesSetter } from '../state/states.utils.js';
|
|
7
|
+
export type AnySupport = (BaseSupport & {
|
|
8
|
+
state: State;
|
|
9
|
+
states: StatesSetter[];
|
|
10
|
+
});
|
|
11
|
+
export type PropsConfig = {
|
|
12
|
+
latest: Props;
|
|
13
|
+
castProps?: Props;
|
|
14
|
+
};
|
|
15
|
+
export type HtmlSupport = {
|
|
16
|
+
appSupport: AnySupport;
|
|
17
|
+
ownerSupport?: AnySupport;
|
|
18
|
+
appElement?: Element;
|
|
19
|
+
propsConfig?: PropsConfig;
|
|
20
|
+
templater: TemplaterResult;
|
|
21
|
+
subject: ContextItem;
|
|
22
|
+
};
|
|
23
|
+
export type SupportContextItem = ContextItem & {
|
|
24
|
+
global: SupportTagGlobal;
|
|
25
|
+
/** Indicator of re-rending. Saves from double rending something already rendered */
|
|
26
|
+
renderCount: number;
|
|
27
|
+
};
|
|
28
|
+
/** used only for apps, otherwise use Support */
|
|
29
|
+
export declare function getBaseSupport(templater: TemplaterResult, subject: SupportContextItem, castedProps?: Props): BaseSupport;
|
|
30
|
+
export type Support = AnySupport & {
|
|
31
|
+
ownerSupport: AnySupport;
|
|
32
|
+
appSupport: BaseSupport;
|
|
33
|
+
};
|
|
34
|
+
export declare function upgradeBaseToSupport(templater: TemplaterResult, // at runtime rendering of a tag, it needs to be married to a new Support()
|
|
35
|
+
support: BaseSupport, appSupport: AnySupport, castedProps?: Props): AnySupport;
|
|
36
|
+
export declare function getHtmlSupport(templater: TemplaterResult, // at runtime rendering of a tag, it needs to be married to a new Support()
|
|
37
|
+
ownerSupport: AnySupport, appSupport: AnySupport, subject: ContextItem, castedProps?: Props): AnySupport;
|
|
5
38
|
export declare function getSupport(templater: TemplaterResult, // at runtime rendering of a tag, it needs to be married to a new Support()
|
|
6
39
|
ownerSupport: AnySupport, appSupport: AnySupport, subject: ContextItem, castedProps?: Props): AnySupport;
|
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { clonePropsBy } from './clonePropsBy.function.js';
|
|
2
|
+
import { Subject } from '../subject/Subject.class.js';
|
|
3
|
+
/** used only for apps, otherwise use Support */
|
|
4
|
+
export function getBaseSupport(templater, subject, castedProps) {
|
|
5
|
+
const baseSupport = {
|
|
6
|
+
templater,
|
|
7
|
+
subject,
|
|
8
|
+
castedProps,
|
|
9
|
+
appSupport: undefined,
|
|
10
|
+
};
|
|
11
|
+
// baseSupport.appSupport = baseSupport
|
|
12
|
+
const global = subject.global;
|
|
13
|
+
global.blocked = [];
|
|
14
|
+
global.destroy$ = new Subject();
|
|
15
|
+
return baseSupport;
|
|
16
|
+
}
|
|
17
|
+
export function upgradeBaseToSupport(templater, // at runtime rendering of a tag, it needs to be married to a new Support()
|
|
18
|
+
support, appSupport, castedProps) {
|
|
19
|
+
;
|
|
20
|
+
support.state = [];
|
|
21
|
+
support.states = [];
|
|
22
|
+
support.appSupport = appSupport;
|
|
23
|
+
const props = templater.props; // natural props
|
|
24
|
+
if (props) {
|
|
25
|
+
support.propsConfig = clonePropsBy(support, props, castedProps);
|
|
26
|
+
}
|
|
27
|
+
return support;
|
|
28
|
+
}
|
|
29
|
+
export function getHtmlSupport(templater, // at runtime rendering of a tag, it needs to be married to a new Support()
|
|
30
|
+
ownerSupport, appSupport, subject, castedProps) {
|
|
31
|
+
const support = {
|
|
32
|
+
templater,
|
|
33
|
+
subject,
|
|
34
|
+
castedProps,
|
|
35
|
+
appSupport: undefined,
|
|
36
|
+
};
|
|
37
|
+
support.ownerSupport = ownerSupport;
|
|
38
|
+
support.appSupport = appSupport;
|
|
39
|
+
return support;
|
|
40
|
+
}
|
|
2
41
|
export function getSupport(templater, // at runtime rendering of a tag, it needs to be married to a new Support()
|
|
3
42
|
ownerSupport, appSupport, subject, castedProps) {
|
|
4
43
|
const support = getBaseSupport(templater, subject, castedProps);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSupport.function.js","sourceRoot":"","sources":["../../ts/tag/getSupport.function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getSupport.function.js","sourceRoot":"","sources":["../../ts/tag/getSupport.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAmCrD,gDAAgD;AAChD,MAAM,UAAU,cAAc,CAC5B,SAA0B,EAC1B,OAA0B,EAC1B,WAAmB;IAEnB,MAAM,WAAW,GAAG;QAClB,SAAS;QACT,OAAO;QACP,WAAW;QAEX,UAAU,EAAE,SAAkC;KAChC,CAAA;IAEhB,uCAAuC;IAEvC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;IAC7B,MAAM,CAAC,OAAO,GAAG,EAAE,CAAA;IACnB,MAAM,CAAC,QAAQ,GAAG,IAAI,OAAO,EAAQ,CAAA;IAErC,OAAO,WAAW,CAAA;AACpB,CAAC;AAOD,MAAM,UAAU,oBAAoB,CAClC,SAA0B,EAAE,2EAA2E;AACvG,OAAoB,EACpB,UAAsB,EACtB,WAAmB;IAEnB,CAAC;IAAC,OAAsB,CAAC,KAAK,GAAG,EAAE,CAClC;IAAC,OAAsB,CAAC,MAAM,GAAG,EAAE,CAAA;IAEpC,OAAO,CAAC,UAAU,GAAG,UAAU,CAAA;IAE/B,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAA,CAAE,gBAAgB;IAC/C,IAAG,KAAK,EAAE,CAAC;QACT,OAAO,CAAC,WAAW,GAAG,YAAY,CAAC,OAAqB,EAAE,KAAK,EAAE,WAAW,CAAC,CAAA;IAC/E,CAAC;IAED,OAAO,OAAqB,CAAA;AAC9B,CAAC;AAED,MAAM,UAAU,cAAc,CAC5B,SAA0B,EAAE,2EAA2E;AACvG,YAAwB,EACxB,UAAsB,EACtB,OAAoB,EACpB,WAAmB;IAEnB,MAAM,OAAO,GAAG;QACd,SAAS;QACT,OAAO;QACP,WAAW;QAEX,UAAU,EAAE,SAAkC;KAChC,CAAA;IAEhB,OAAO,CAAC,YAAY,GAAG,YAAY,CAAA;IACnC,OAAO,CAAC,UAAU,GAAG,UAAU,CAAA;IAC/B,OAAO,OAAqB,CAAA;AAC9B,CAAC;AAED,MAAM,UAAU,UAAU,CACxB,SAA0B,EAAE,2EAA2E;AACvG,YAAwB,EACxB,UAAsB,EACtB,OAAoB,EACpB,WAAmB;IAEnB,MAAM,OAAO,GAAG,cAAc,CAC5B,SAAS,EACT,OAA6B,EAC7B,WAAW,CACE,CAAA;IAEf,OAAO,CAAC,YAAY,GAAG,YAAY,CAAA;IAEnC,OAAO,oBAAoB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,CAAA;AAC1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getSupportInCycle(): import("./
|
|
1
|
+
export declare function getSupportInCycle(): import("./getSupport.function.js").AnySupport | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TemplaterResult, Wrapper } from './
|
|
1
|
+
import { TemplaterResult, Wrapper } from './getTemplaterResult.function.js';
|
|
2
2
|
import { TagWrapper } from './tag.utils.js';
|
|
3
|
-
import { AnySupport } from './
|
|
3
|
+
import { AnySupport } from './getSupport.function.js';
|
|
4
4
|
import { Props } from '../Props.js';
|
|
5
5
|
/** creates/returns a function that when called then calls the original component function
|
|
6
6
|
* Gets used as templater.wrapper()
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { StringTag, DomTag, EventCallback } from './getDomTag.function.js';
|
|
2
|
+
import { ContextItem } from './Context.types.js';
|
|
3
|
+
import { AnySupport, SupportContextItem } from './getSupport.function.js';
|
|
4
|
+
import { Props } from '../Props.js';
|
|
5
|
+
import { TagWrapper } from './tag.utils.js';
|
|
6
|
+
import { Provider } from '../state/providers.js';
|
|
7
|
+
import { OnDestroyCallback } from '../state/onDestroy.js';
|
|
8
|
+
import { Subscription } from '../subject/subject.utils.js';
|
|
9
|
+
import { Subject } from '../subject/index.js';
|
|
10
|
+
import { ValueType, ValueTypes } from './ValueTypes.enum.js';
|
|
11
|
+
import { DomObjectChildren } from '../interpolations/optimizers/ObjectNode.types.js';
|
|
12
|
+
import { PropWatches } from './tag.js';
|
|
13
|
+
export type Wrapper = ((newSupport: AnySupport, subject: ContextItem, prevSupport?: AnySupport) => AnySupport) & TagWrapper<unknown> & {
|
|
14
|
+
tagJsType: typeof ValueTypes.tagComponent | typeof ValueTypes.renderOnce | typeof ValueTypes.templater;
|
|
15
|
+
};
|
|
16
|
+
export type TagGlobal = {
|
|
17
|
+
htmlDomMeta?: DomObjectChildren;
|
|
18
|
+
deleted?: true;
|
|
19
|
+
isApp?: boolean;
|
|
20
|
+
subscriptions?: Subscription<unknown>[];
|
|
21
|
+
destroyCallback?: OnDestroyCallback;
|
|
22
|
+
locked?: true;
|
|
23
|
+
callbackMaker?: true;
|
|
24
|
+
destroys?: (() => any)[];
|
|
25
|
+
};
|
|
26
|
+
export type SupportTagGlobal = TagGlobal & {
|
|
27
|
+
destroy$: Subject<void>;
|
|
28
|
+
blocked: AnySupport[];
|
|
29
|
+
oldest: AnySupport;
|
|
30
|
+
newest: AnySupport;
|
|
31
|
+
context: SupportContextItem[];
|
|
32
|
+
providers?: Provider[];
|
|
33
|
+
};
|
|
34
|
+
export type BaseTagGlobal = SupportTagGlobal & {
|
|
35
|
+
events?: Events;
|
|
36
|
+
};
|
|
37
|
+
export type Events = {
|
|
38
|
+
[name: string]: EventCallback;
|
|
39
|
+
};
|
|
40
|
+
export type Clone = (Element | Text | ChildNode);
|
|
41
|
+
export type TemplaterResult = {
|
|
42
|
+
propWatch: PropWatches;
|
|
43
|
+
tagJsType: ValueType;
|
|
44
|
+
wrapper?: Wrapper;
|
|
45
|
+
tag?: StringTag | DomTag;
|
|
46
|
+
props?: Props;
|
|
47
|
+
arrayValue?: unknown;
|
|
48
|
+
key: (arrayValue: unknown) => TemplaterResult;
|
|
49
|
+
};
|
|
50
|
+
export declare function getTemplaterResult(propWatch: PropWatches, props?: Props): TemplaterResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ValueTypes } from './ValueTypes.enum.js';
|
|
2
|
+
export function getTemplaterResult(propWatch, props) {
|
|
3
|
+
const templater = {
|
|
4
|
+
propWatch,
|
|
5
|
+
props,
|
|
6
|
+
tagJsType: ValueTypes.templater,
|
|
7
|
+
key: function keyTemplate(arrayValue) {
|
|
8
|
+
templater.arrayValue = arrayValue;
|
|
9
|
+
return templater;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
return templater;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=getTemplaterResult.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTemplaterResult.function.js","sourceRoot":"","sources":["../../ts/tag/getTemplaterResult.function.ts"],"names":[],"mappings":"AASA,OAAO,EAAa,UAAU,EAAE,MAAM,sBAAsB,CAAA;AA+D5D,MAAM,UAAU,kBAAkB,CAChC,SAAsB,EACtB,KAAa;IAEb,MAAM,SAAS,GAAoB;QACjC,SAAS;QACT,KAAK;QACL,SAAS,EAAE,UAAU,CAAC,SAAS;QAC/B,GAAG,EAAE,SAAS,WAAW,CAAC,UAAmB;YAC3C,SAAS,CAAC,UAAU,GAAG,UAAU,CAAA;YACjC,OAAO,SAAS,CAAA;QAClB,CAAC;KACF,CAAA;IAED,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Props } from '../Props.js';
|
|
2
2
|
import { BaseSupport } from './BaseSupport.type.js';
|
|
3
|
-
import { TemplaterResult } from './
|
|
3
|
+
import { TemplaterResult } from './getTemplaterResult.function.js';
|
|
4
4
|
export declare function hasSupportChanged(lastSupport: BaseSupport, newTemplater: TemplaterResult): number | string | false;
|
|
5
5
|
export declare function immutablePropMatch(props: Props, pastCloneProps: Props): false | 2;
|
|
6
6
|
export declare function shallowPropMatch(props: Props, pastCloneProps: Props): false | 3 | 3.1 | 3.3;
|
package/js/tag/html.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import { RegularValue } from './update/processRegularValue.function.js';
|
|
|
4
4
|
export type TagValues = (((e: InputElementTargetEvent) => any) | RegularValue | null | undefined | object)[];
|
|
5
5
|
export declare function html(strings: string[] | TemplateStringsArray, ...values: TagValues): import("./StringTag.type.js").StringTag;
|
|
6
6
|
export declare namespace html {
|
|
7
|
-
var dom: (dom: LikeObjectChildren, ...values: TagValues) => import("./
|
|
7
|
+
var dom: (dom: LikeObjectChildren, ...values: TagValues) => import("./getDomTag.function.js").DomTag;
|
|
8
8
|
}
|
package/js/tag/html.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getStringTag, getDomTag } from './
|
|
1
|
+
import { getStringTag, getDomTag } from './getDomTag.function.js';
|
|
2
2
|
import { PropWatches } from './tag.js';
|
|
3
|
-
import { getTemplaterResult } from './
|
|
3
|
+
import { getTemplaterResult } from './getTemplaterResult.function.js';
|
|
4
4
|
export function html(strings, ...values) {
|
|
5
5
|
const stringTag = getStringTag(strings, values);
|
|
6
6
|
const templater = getTemplaterResult(PropWatches.NONE);
|
package/js/tag/html.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../ts/tag/html.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../ts/tag/html.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAKrE,MAAM,UAAU,IAAI,CAClB,OAAwC,EACxC,GAAG,MAAiB;IAEpB,MAAM,SAAS,GAAG,YAAY,CAAC,OAAmB,EAAE,MAAM,CAAC,CAAA;IAC3D,MAAM,SAAS,GAAG,kBAAkB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACtD,SAAS,CAAC,GAAG,GAAG,SAAS,CAAA;IACzB,SAAS,CAAC,SAAS,GAAG,SAAS,CAAA;IAC/B,OAAO,SAAS,CAAA;AAClB,CAAC;AAED,IAAI,CAAC,GAAG,GAAG,UACT,GAAuB,EACvB,GAAG,MAAiB;IAEpB,OAAO,SAAS,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;AAC/B,CAAC,CAAA"}
|
package/js/tag/index.d.ts
CHANGED
|
@@ -3,18 +3,18 @@ export * from './tag.types.js';
|
|
|
3
3
|
export { getDomMeta } from './domMetaCollector.js';
|
|
4
4
|
export * from './buildBeforeElement.function.js';
|
|
5
5
|
export * from './tag.js';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './getDomTag.function.js';
|
|
7
7
|
export * from './tag.utils.js';
|
|
8
8
|
export * from './html.js';
|
|
9
9
|
export * from './ValueTypes.enum.js';
|
|
10
10
|
export * from './render/renderTagOnly.function.js';
|
|
11
11
|
export * from './update/oneRenderToSupport.function.js';
|
|
12
|
-
export * from './
|
|
12
|
+
export * from './getTemplaterResult.function.js';
|
|
13
13
|
export * from './destroySupport.function.js';
|
|
14
14
|
export * from './checkDestroyPrevious.function.js';
|
|
15
15
|
export * from './Context.types.js';
|
|
16
16
|
export * from './tagElement.js';
|
|
17
|
-
export { Tag, DomTag, variablePrefix } from './
|
|
17
|
+
export { Tag, DomTag, variablePrefix } from './getDomTag.function.js';
|
|
18
18
|
export { StringTag } from './StringTag.type.js';
|
|
19
19
|
export { renderSupport } from './render/renderSupport.function.js';
|
|
20
20
|
export { renderWithSupport } from './render/renderWithSupport.function.js';
|
package/js/tag/index.js
CHANGED
|
@@ -3,18 +3,18 @@ export * from './tag.types.js';
|
|
|
3
3
|
export { getDomMeta } from './domMetaCollector.js';
|
|
4
4
|
export * from './buildBeforeElement.function.js';
|
|
5
5
|
export * from './tag.js';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './getDomTag.function.js';
|
|
7
7
|
export * from './tag.utils.js';
|
|
8
8
|
export * from './html.js';
|
|
9
9
|
export * from './ValueTypes.enum.js';
|
|
10
10
|
export * from './render/renderTagOnly.function.js';
|
|
11
11
|
export * from './update/oneRenderToSupport.function.js';
|
|
12
|
-
export * from './
|
|
12
|
+
export * from './getTemplaterResult.function.js';
|
|
13
13
|
export * from './destroySupport.function.js';
|
|
14
14
|
export * from './checkDestroyPrevious.function.js';
|
|
15
15
|
export * from './Context.types.js';
|
|
16
16
|
export * from './tagElement.js';
|
|
17
|
-
export { variablePrefix } from './
|
|
17
|
+
export { variablePrefix } from './getDomTag.function.js';
|
|
18
18
|
export { renderSupport } from './render/renderSupport.function.js';
|
|
19
19
|
export { renderWithSupport } from './render/renderWithSupport.function.js';
|
|
20
20
|
export { paint } from './paint.function.js';
|
package/js/tag/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAChE,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,cAAc,kCAAkC,CAAA;AAChD,cAAc,UAAU,CAAA;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAChE,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,cAAc,kCAAkC,CAAA;AAChD,cAAc,UAAU,CAAA;AACxB,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,sBAAsB,CAAA;AACpC,cAAc,oCAAoC,CAAA;AAClD,cAAc,yCAAyC,CAAA;AACvD,cAAc,kCAAkC,CAAA;AAChD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,oBAAoB,CAAA;AAElC,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAe,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TagTemplate } from './
|
|
1
|
+
import { TagTemplate } from './getDomTag.function.js';
|
|
2
2
|
export declare function isLastRunMatched(strings: string[], values: unknown[], lastRun?: TagTemplate): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StringTag, DomTag } from './
|
|
2
|
-
import { AnySupport } from './
|
|
1
|
+
import { StringTag, DomTag } from './getDomTag.function.js';
|
|
2
|
+
import { AnySupport } from './getSupport.function.js';
|
|
3
3
|
export declare function isLikeTags(support0: AnySupport | StringTag, // new
|
|
4
4
|
support1: AnySupport): boolean;
|
|
5
5
|
export declare function isLikeDomTags(tag0: DomTag, tag1: DomTag): boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnySupport } from './
|
|
1
|
+
import { AnySupport } from './getSupport.function.js';
|
|
2
2
|
import { ContextItem } from './Context.types.js';
|
|
3
3
|
export declare function processUpdateAttrContext(values: unknown[], value: unknown, contextItem: ContextItem, ownerSupport: AnySupport): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnySupport } from './
|
|
1
|
+
import { AnySupport } from './getSupport.function.js';
|
|
2
2
|
import { Context } from './Context.types.js';
|
|
3
3
|
export declare function processUpdateContext(support: AnySupport, context: Context): Context;
|
|
4
4
|
/** returns boolean of did render */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnySupport, SupportContextItem } from '../
|
|
1
|
+
import { AnySupport, SupportContextItem } from '../getSupport.function.js';
|
|
2
2
|
export declare function renderExistingReadyTag(lastSupport: AnySupport, newSupport: AnySupport, // new to be rendered
|
|
3
3
|
ownerSupport: AnySupport, // ownerSupport
|
|
4
4
|
subject: SupportContextItem): AnySupport;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnySupport } from '../
|
|
1
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
2
2
|
import { Props } from '../../Props.js';
|
|
3
|
-
import { TemplaterResult } from '../
|
|
3
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
4
4
|
export declare function isInlineHtml(templater: TemplaterResult): boolean;
|
|
5
5
|
/** Main function used by all other callers to render/update display of a tag component */
|
|
6
6
|
export declare function renderSupport<T extends AnySupport>(support: T): T;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AnySupport, SupportContextItem } from '../
|
|
1
|
+
import { AnySupport, SupportContextItem } from '../getSupport.function.js';
|
|
2
2
|
export declare function renderTagOnly(newSupport: AnySupport, prevSupport: AnySupport | undefined, // causes restate
|
|
3
3
|
subject: SupportContextItem, ownerSupport?: AnySupport): AnySupport;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnySupport, SupportContextItem } from '../
|
|
1
|
+
import { AnySupport, SupportContextItem } from '../getSupport.function.js';
|
|
2
2
|
/** TODO: This seems to support both new and updates and should be separated? */
|
|
3
3
|
export declare function renderWithSupport(newSupport: AnySupport, lastSupport: AnySupport | undefined, // previous
|
|
4
4
|
subject: SupportContextItem, // events & memory
|
package/js/tag/tag.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DomTag, KeyFunction, StringTag } from './
|
|
1
|
+
import { DomTag, KeyFunction, StringTag } from './getDomTag.function.js';
|
|
2
2
|
import { Original } from './tag.utils.js';
|
|
3
3
|
import { RouteProps, RouteTag, StateToTag, ToTag } from './tag.types.js';
|
|
4
4
|
import { UnknownFunction } from './update/oneRenderToSupport.function.js';
|
package/js/tag/tag.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// taggedjs-no-compile
|
|
2
2
|
import { setUseMemory } from '../state/index.js';
|
|
3
|
-
import { getTemplaterResult } from './
|
|
3
|
+
import { getTemplaterResult } from './getTemplaterResult.function.js';
|
|
4
4
|
import { tags } from './tag.utils.js';
|
|
5
5
|
import { getTagWrap } from './getTagWrap.function.js';
|
|
6
6
|
import { ValueTypes } from './ValueTypes.enum.js';
|
package/js/tag/tag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../ts/tag/tag.ts"],"names":[],"mappings":"AAAA,sBAAsB;AAGtB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAA4B,MAAM,
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../ts/tag/tag.ts"],"names":[],"mappings":"AAAA,sBAAsB;AAGtB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAA4B,MAAM,kCAAkC,CAAA;AAC/F,OAAO,EAAsC,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9B,IAAI,QAAQ,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E,CAAC;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,KAAK,EAAE;IAChC,GAAG,CAAC,cAA+B;QACjC,CAAC;QAAC,cAA0B,CAAC,QAAQ,GAAG;YACtC,MAAM,EAAE,YAAY;YACpB,IAAI;SACkB,CACvB;QAAC,cAA0B,CAAC,SAAS,GAAG,UAAU,CAAC,WAAW,CAAA;IACjE,CAAC;CACF,CAAC,CAAA"}
|
package/js/tag/tag.types.d.ts
CHANGED
package/js/tag/tag.utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DomTag, StringTag, TagTemplate } from './
|
|
2
|
-
import { TemplaterResult } from './
|
|
1
|
+
import { DomTag, StringTag, TagTemplate } from './getDomTag.function.js';
|
|
2
|
+
import { TemplaterResult } from './getTemplaterResult.function.js';
|
|
3
3
|
import { ValueSubject } from '../subject/ValueSubject.js';
|
|
4
4
|
import { setUseMemory } from '../state/index.js';
|
|
5
5
|
import { ValueTypes } from './ValueTypes.enum.js';
|
package/js/tag/tagElement.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TemplaterResult } from './
|
|
2
|
-
import { AnySupport, SupportContextItem } from './
|
|
1
|
+
import { TemplaterResult } from './getTemplaterResult.function.js';
|
|
2
|
+
import { AnySupport, SupportContextItem } from './getSupport.function.js';
|
|
3
3
|
import { TagWrapper } from './tag.utils.js';
|
|
4
4
|
import { ValueTypes } from './ValueTypes.enum.js';
|
|
5
5
|
import { TagMaker } from './TagMaker.type.js';
|
package/js/tag/tagElement.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getBaseSupport, upgradeBaseToSupport } from './
|
|
1
|
+
import { getBaseSupport, upgradeBaseToSupport } from './getSupport.function.js';
|
|
2
2
|
import { subscribeToTemplate } from '../interpolations/subscribeToTemplate.function.js';
|
|
3
3
|
import { buildBeforeElement } from './buildBeforeElement.function.js';
|
|
4
4
|
import { tags } from './tag.utils.js';
|
package/js/tag/tagElement.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagElement.js","sourceRoot":"","sources":["../../ts/tag/tagElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,cAAc,EAAqB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tagElement.js","sourceRoot":"","sources":["../../ts/tag/tagElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,cAAc,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAC9G,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAA;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AACrE,OAAO,EAAE,IAAI,EAAc,MAAM,gBAAgB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC7D,OAAO,EAAiB,mBAAmB,EAAU,WAAW,EAAE,MAAM,YAAY,CAAA;AAEpF,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACvD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAIjD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAO9D,MAAM,WAAW,GAGX,EAAE,CAAA;AAER;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CACxB,GAAa,EACb,OAA8B,EAC9B,KAAe;IAMf,MAAM,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,MAAM,CAA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AE,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;IAC5E,CAAC;IAED,IAAG,SAAS,CAAC,SAAS,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;QAClD,MAAM,MAAM,GAAG,CAAC,SAAS,CAAC,OAAO,IAAI,EAAC,QAAQ,EAAE,SAAS,EAAC,CAAmC,CAAA;QAE7F,IAAG,CAAC,aAAa,EAAE,CAAC;YAClB,MAAM,UAAU,GAAG,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,UAAU,CAAC,CAAA;YACrE,cAAc,CAAC,UAAU,CAAC,CAAA;YAC1B,OAAO,UAAU,CAAA;QACnB,CAAC;QAED,MAAM,UAAU,GAAG,WAAW,CAC5B,SAAS,EACT,MAAM,EACN,UAAU,CACX,CAAA;QAED,cAAc,CAAC,UAAU,CAAC,CAAA;QAE1B,OAAO,UAAU,CAAA;IACnB,CAAC;IAED,+CAA+C;IAC/C,MAAM,OAAO,GAAG,SAAS,CAAC,OAAkB,CAAA;IAC5C,MAAM,UAAU,GAAG,OAAO,CACxB,UAAU,EACV,OAAO,CACR,CAAA;IAED,cAAc,CAAC,UAAU,CAAC,CAAA;IAE1B,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,SAAS,aAAa,CACpB,GAAqC,EACrC,WAA6B;IAE7B,IAAG,GAAG,CAAC,UAAU,EAAE,CAAC;QAClB,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACzC,CAAC;IACD,IAAG,GAAG,CAAC,MAAM,EAAE,CAAC;QACd,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACrC,CAAC;AACH,CAAC"}
|
package/js/tag/tagRunner.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnySupport } from './
|
|
1
|
+
import { AnySupport } from './getSupport.function.js';
|
|
2
2
|
export declare function runBeforeDestroy(support: AnySupport): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Wrapper } from '../
|
|
2
|
-
import { AnySupport } from '../
|
|
1
|
+
import { Wrapper } from '../getTemplaterResult.function.js';
|
|
2
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
3
3
|
import { ContextItem } from '../Context.types.js';
|
|
4
4
|
export declare function oneRenderToSupport(wrapper: Wrapper, subject: ContextItem, ownerSupport: AnySupport): AnySupport;
|
|
5
5
|
export type UnknownFunction = (...n: unknown[]) => unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getTemplaterResult } from '../
|
|
1
|
+
import { getTemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
2
|
import { newSupportByTemplater } from './processTag.function.js';
|
|
3
3
|
import { PropWatches } from '../tag.js';
|
|
4
4
|
export function oneRenderToSupport(wrapper, subject, ownerSupport) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oneRenderToSupport.function.js","sourceRoot":"","sources":["../../../ts/tag/update/oneRenderToSupport.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"oneRenderToSupport.function.js","sourceRoot":"","sources":["../../../ts/tag/update/oneRenderToSupport.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAW,MAAM,mCAAmC,CAAA;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAMhE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,MAAM,UAAU,kBAAkB,CAChC,OAAgB,EAChB,OAAoB,EACpB,YAAwB;IAExB,MAAM,SAAS,GAAG,kBAAkB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACtD,SAAS,CAAC,SAAS,GAAG,OAAO,CAAC,SAAwC,CAAA;IACtE,MAAM,OAAO,GAAG,qBAAqB,CACnC,SAAS,EAAE,YAAY,EAAE,OAAO,CACjC,CAAA;IAED,IAAI,GAAc,CAAA;IAClB,SAAS,IAAI;QACX,SAAS,CAAC,GAAG,GAAG,GAAG,IAAI,CAAE,OAA6B,EAAE,CAAC,CAAA;QACzD,OAAO,OAAO,CAAA;IAChB,CAAC;IAED,SAAS,CAAC,OAAO,GAAG,IAA0B,CAAA;IAC9C,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,SAAS,CAAA;IAClC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,OAA8B,CAAA;IAElE,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TagGlobal, TemplaterResult } from '../
|
|
1
|
+
import { TagGlobal, TemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
2
|
import { ValueSubject } from '../../subject/ValueSubject.js';
|
|
3
3
|
import { RegularValue } from './processRegularValue.function.js';
|
|
4
4
|
import { Callback } from '../../interpolations/attributes/bindSubjectCallback.function.js';
|
|
5
|
-
import { StringTag } from '../
|
|
5
|
+
import { StringTag } from '../getDomTag.function.js';
|
|
6
6
|
import { Subject } from '../../subject/index.js';
|
|
7
7
|
export type InterpolateSubject = (ValueSubject<unknown> | ValueSubject<Callback>) & {
|
|
8
8
|
global: TagGlobal;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TemplaterResult } from '../
|
|
1
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
2
|
import { Counts } from '../../interpolations/interpolateTemplate.js';
|
|
3
|
-
import { AnySupport, SupportContextItem } from '../
|
|
3
|
+
import { AnySupport, SupportContextItem } from '../getSupport.function.js';
|
|
4
4
|
export declare function processReplacementComponent(templater: TemplaterResult, subject: SupportContextItem, ownerSupport: AnySupport, counts: Counts): AnySupport;
|
|
5
5
|
export declare function processFirstSubjectComponent(templater: TemplaterResult, subject: SupportContextItem, ownerSupport: AnySupport, counts: Counts, appendTo: Element): AnySupport;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Counts } from '../../interpolations/interpolateTemplate.js';
|
|
2
|
-
import { AnySupport } from '../
|
|
2
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
3
3
|
import { TemplateValue } from './processFirstSubject.utils.js';
|
|
4
|
-
import { StringTag } from '../
|
|
4
|
+
import { StringTag } from '../getDomTag.function.js';
|
|
5
5
|
import { ContextItem } from '../Context.types.js';
|
|
6
6
|
export declare function processFirstSubjectValue(value: TemplateValue | StringTag, subject: ContextItem, // could be tag via result.tag
|
|
7
7
|
ownerSupport: AnySupport, // owningSupport
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnySupport } from '../
|
|
2
|
-
import { TemplaterResult } from '../
|
|
1
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
2
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
3
3
|
import { ContextItem } from '../Context.types.js';
|
|
4
4
|
import { Counts } from '../../interpolations/interpolateTemplate.js';
|
|
5
5
|
export declare function processNewSubjectTag(templater: TemplaterResult, ownerSupport: AnySupport, // owner
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateValue } from './processFirstSubject.utils.js';
|
|
2
2
|
import { ValueSubject } from '../../subject/ValueSubject.js';
|
|
3
|
-
import { AnySupport } from '../
|
|
3
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
4
4
|
import { ContextItem } from '../Context.types.js';
|
|
5
5
|
export declare function processNewArrayValue(value: TemplateValue | ValueSubject<unknown>, ownerSupport: AnySupport, contextItem: ContextItem): ContextItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getTemplaterResult } from '../
|
|
1
|
+
import { getTemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
2
|
import { checkTagValueChange } from '../checkDestroyPrevious.function.js';
|
|
3
3
|
import { ValueTypes } from '../ValueTypes.enum.js';
|
|
4
4
|
import { getNewGlobal } from './getNewGlobal.function.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processNewValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processNewValue.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,
|
|
1
|
+
{"version":3,"file":"processNewValue.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processNewValue.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,mCAAmC,CAAA;AACxG,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAEzE,OAAO,EAAE,UAAU,EAAa,MAAM,uBAAuB,CAAA;AAG7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAGzD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD,MAAM,UAAU,oBAAoB,CAClC,KAA4C,EAC5C,YAAwB,EACxB,WAAwB;IAExB,MAAM,SAAS,GAAI,KAAyB,CAAC,SAAsB,CAAA;IACnE,IAAG,SAAS,EAAE,CAAC;QACb,QAAQ,SAAS,EAAE,CAAC;YAClB,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;gBAC1B,MAAM,SAAS,GAAG,KAAwB,CAAA;gBAC1C,MAAM,GAAG,GAAG,SAAS,CAAC,GAAyB,CAAA;gBAC/C,aAAa,CAAC,GAAG,EAAE,YAAY,EAAE,WAAW,CAAC,CAAA;gBAC7C,MAAK;YACP,CAAC;YAED,KAAK,UAAU,CAAC,GAAG,CAAC;YACpB,KAAK,UAAU,CAAC,GAAG;gBACjB,aAAa,CAAC,KAA2B,EAAE,YAAY,EAAE,WAAW,CAAC,CAAA;gBACrE,MAAK;QACT,CAAC;IACH,CAAC;IAED,OAAO,WAAW,CAAA;AACpB,CAAC;AAED,SAAS,aAAa,CACpB,KAAyB,EACzB,YAAwB,EACxB,WAAwB;IAExB,WAAW,CAAC,gBAAgB,GAAG,mBAAmB,CAAA;IAClD,MAAM,GAAG,GAAG,KAAK,CAAA;IAEjB,IAAI,SAAS,GAAG,GAAG,CAAC,SAAS,CAAA;IAE7B,8BAA8B;IAC9B,IAAG,CAAC,SAAS,EAAE,CAAC;QACd,SAAS,GAAG,kBAAkB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;QAChD,SAAS,CAAC,GAAG,GAAG,GAAG,CAAA;QACnB,GAAG,CAAC,SAAS,GAAG,SAAS,CAAA;IAC3B,CAAC;IAED,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,YAAY,CAAC,WAAW,CAAqB,CAAA,CAAC,yCAAyC;IAC3H,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,GAAG,UAAU,CACvC,SAAS,EACT,YAAY,EACZ,YAAY,CAAC,UAAU,EACvB,WAAW,CACZ,CAAA;IAED,MAAM,CAAC,MAAM,GAAG,MAAM,CAAA;IAEtB,OAAO,WAAW,CAAA;AACpB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnySupport } from '../
|
|
2
|
-
import { TemplaterResult } from '../
|
|
3
|
-
import { StringTag, DomTag } from '../
|
|
1
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
2
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
3
|
+
import { StringTag, DomTag } from '../getDomTag.function.js';
|
|
4
4
|
import { ContextItem } from '../Context.types.js';
|
|
5
5
|
import { Counts } from '../../interpolations/interpolateTemplate.js';
|
|
6
6
|
/** When first time render, adds to owner childTags
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { subscribeToTemplate } from '../../interpolations/subscribeToTemplate.function.js';
|
|
2
|
-
import { getHtmlSupport } from '../
|
|
2
|
+
import { getHtmlSupport } from '../getSupport.function.js';
|
|
3
3
|
import { checkTagValueChange } from '../checkDestroyPrevious.function.js';
|
|
4
4
|
import { buildBeforeElement } from '../buildBeforeElement.function.js';
|
|
5
5
|
import { ValueTypes } from '../ValueTypes.enum.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processTag.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAA;AAC1F,OAAO,EAAc,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"processTag.function.js","sourceRoot":"","sources":["../../../ts/tag/update/processTag.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAA;AAC1F,OAAO,EAAc,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAIlD;;;EAGE;AACF,MAAM,UAAU,UAAU,CACxB,YAAwB,EAAE,QAAQ;AAClC,OAAoB,EAAE,8BAA8B;AACpD,MAAc;IAEd,MAAM,MAAM,GAAG,OAAO,CAAC,MAA0B,CAAA;IACjD,MAAM,OAAO,GAAG,MAAM,CAAC,MAAoB,CAAA;IAC3C,OAAO,CAAC,YAAY,GAAG,YAAY,CAAA;IACnC,OAAO,CAAC,gBAAgB,GAAG,mBAAmB,CAAA;IAE9C,MAAM,EAAE,GAAG,OAAO,CAAC,WAAmB,CAAA;IACtC,MAAM,MAAM,GAAG,kBAAkB,CAC/B,OAAO,EACP,MAAM,EACN,SAAS,EACT,EAAE,CACH,CAAA;IAED,KAAI,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAC7B,mBAAmB,CAAC,GAAG,CAAC,CAAA;IAC1B,CAAC;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC9B,GAAuB;IAEvB,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAA;IACpC,SAAS,CAAC,GAAG,GAAG,GAAG,CAAA;IACnB,GAAG,CAAC,SAAS,GAAG,SAAS,CAAA;IAEzB,OAAO,SAAS,CAAA;AAClB,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,MAAM,IAAI,GAAG;QACX,SAAS,EAAE,UAAU,CAAC,SAAS;KACb,CAAA;IAEpB,OAAO,IAAI,CAAA;AACb,CAAC;AAED,yCAAyC;AACzC,MAAM,UAAU,qBAAqB,CACnC,SAA0B,EAC1B,YAAwB,EACxB,OAAoB;IAEpB,MAAM,OAAO,GAAG,cAAc,CAC5B,SAAS,EACT,YAAY,EACZ,YAAY,CAAC,UAAU,EACvB,OAAO,CACR,CAAA;IAED,MAAM,MAAM,GAAG,OAAO,CAAC,MAA0B,CAAA;IACjD,MAAM,CAAC,OAAO,GAAG,EAAE,CAAA;IAEnB,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TemplaterResult } from '../
|
|
2
|
-
import { AnySupport } from '../
|
|
1
|
+
import { TemplaterResult } from '../getTemplaterResult.function.js';
|
|
2
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
3
3
|
import { Counts } from '../../interpolations/interpolateTemplate.js';
|
|
4
4
|
import { ContextItem } from '../Context.types.js';
|
|
5
|
-
import { StringTag } from '../
|
|
5
|
+
import { StringTag } from '../getDomTag.function.js';
|
|
6
6
|
export declare function processTagArray(subject: ContextItem, value: (TemplaterResult | StringTag)[], // arry of Tag classes
|
|
7
7
|
ownerSupport: AnySupport, counts: Counts, appendTo?: Element): void;
|
|
8
8
|
export declare function destroyArrayItem(item: ContextItem, counts: Counts): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Counts } from '../../interpolations/interpolateTemplate.js';
|
|
2
2
|
import { ContextItem } from '../Context.types.js';
|
|
3
|
-
import { AnySupport } from '../
|
|
3
|
+
import { AnySupport } from '../getSupport.function.js';
|
|
4
4
|
export declare function processReplaceTagResult(support: AnySupport, counts: Counts, contextItem: ContextItem): AnySupport;
|
|
5
5
|
export declare function processFirstTagResult(support: AnySupport, counts: Counts, appendTo: Element): AnySupport;
|