@jqhtml/core 2.3.13 → 2.3.50
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/LICENSE +1 -1
- package/dist/component-cache.d.ts +56 -0
- package/dist/component-cache.d.ts.map +1 -0
- package/dist/component-events.d.ts +68 -0
- package/dist/component-events.d.ts.map +1 -0
- package/dist/component-queue.d.ts +47 -0
- package/dist/component-queue.d.ts.map +1 -0
- package/dist/component.d.ts +162 -44
- package/dist/component.d.ts.map +1 -1
- package/dist/data-proxy.d.ts +37 -0
- package/dist/data-proxy.d.ts.map +1 -0
- package/dist/index.cjs +4308 -3237
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +11 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4303 -3238
- package/dist/index.js.map +1 -1
- package/dist/instruction-processor.d.ts.map +1 -1
- package/dist/jqhtml-core.esm.js +4304 -3239
- package/dist/jqhtml-core.esm.js.map +1 -1
- package/dist/jquery-plugin.d.ts.map +1 -1
- package/dist/lifecycle-manager.d.ts +13 -4
- package/dist/lifecycle-manager.d.ts.map +1 -1
- package/dist/load-coordinator.d.ts +16 -3
- package/dist/load-coordinator.d.ts.map +1 -1
- package/dist/local-storage.d.ts.map +1 -1
- package/dist/preload-data.d.ts +69 -0
- package/dist/preload-data.d.ts.map +1 -0
- package/dist/template-renderer.d.ts +5 -0
- package/dist/template-renderer.d.ts.map +1 -1
- package/package.json +10 -2
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export { register, register_component, register_template, get_component_class, g
|
|
|
10
10
|
export type { ComponentConstructor, TemplateFunction, TemplateDefinition } from './component-registry.js';
|
|
11
11
|
export { process_instructions, extract_slots } from './instruction-processor.js';
|
|
12
12
|
export type { Instruction, TagInstruction, ComponentInstruction, SlotInstruction } from './instruction-processor.js';
|
|
13
|
-
export { render_template, escape_html } from './template-renderer.js';
|
|
13
|
+
export { render_template, escape_html, escape_html_nl2br } from './template-renderer.js';
|
|
14
14
|
export { boot } from './boot.js';
|
|
15
15
|
export { logLifecycle, applyDebugDelay, logDispatch, logInstruction, logDataChange, isSequentialProcessing, handleComponentError, devWarn } from './debug.js';
|
|
16
16
|
import { init_jquery_plugin } from './jquery-plugin.js';
|
|
@@ -21,7 +21,7 @@ import { Jqhtml_Component } from './component.js';
|
|
|
21
21
|
import { LifecycleManager } from './lifecycle-manager.js';
|
|
22
22
|
import { register, register_component, register_template, get_component_class, get_template, get_template_by_class, create_component, has_component, get_component_names, get_registered_templates, list_components } from './component-registry.js';
|
|
23
23
|
import { process_instructions, extract_slots } from './instruction-processor.js';
|
|
24
|
-
import { render_template, escape_html } from './template-renderer.js';
|
|
24
|
+
import { render_template, escape_html, escape_html_nl2br } from './template-renderer.js';
|
|
25
25
|
import { boot } from './boot.js';
|
|
26
26
|
import './jquery-plugin.js';
|
|
27
27
|
import { Jqhtml_Local_Storage, register_cache_class } from './local-storage.js';
|
|
@@ -29,6 +29,9 @@ export { Jqhtml_Local_Storage, register_cache_class };
|
|
|
29
29
|
export type { CacheMode } from './local-storage.js';
|
|
30
30
|
import { Load_Coordinator } from './load-coordinator.js';
|
|
31
31
|
export { Load_Coordinator };
|
|
32
|
+
import { start_data_capture, get_captured_data, stop_data_capture, set_preload_data, clear_preload_data } from './preload-data.js';
|
|
33
|
+
export { start_data_capture, get_captured_data, stop_data_capture, set_preload_data, clear_preload_data };
|
|
34
|
+
export type { PreloadEntry } from './preload-data.js';
|
|
32
35
|
export declare const version = "__VERSION__";
|
|
33
36
|
export interface DebugSettings {
|
|
34
37
|
verbose?: boolean;
|
|
@@ -72,6 +75,7 @@ declare const jqhtml: {
|
|
|
72
75
|
extract_slots: typeof extract_slots;
|
|
73
76
|
render_template: typeof render_template;
|
|
74
77
|
escape_html: typeof escape_html;
|
|
78
|
+
escape_html_nl2br: typeof escape_html_nl2br;
|
|
75
79
|
__version: string;
|
|
76
80
|
tombstone: string;
|
|
77
81
|
debug: DebugSettings & {
|
|
@@ -88,6 +92,11 @@ declare const jqhtml: {
|
|
|
88
92
|
get_cache_mode(): import("./local-storage.js").CacheMode;
|
|
89
93
|
register_cache_class: typeof register_cache_class;
|
|
90
94
|
boot: typeof boot;
|
|
95
|
+
start_data_capture: typeof start_data_capture;
|
|
96
|
+
get_captured_data: typeof get_captured_data;
|
|
97
|
+
stop_data_capture: typeof stop_data_capture;
|
|
98
|
+
set_preload_data: typeof set_preload_data;
|
|
99
|
+
clear_preload_data: typeof clear_preload_data;
|
|
91
100
|
};
|
|
92
101
|
export default jqhtml;
|
|
93
102
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,OAAO,EACL,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EAChB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAG1G,OAAO,EACL,oBAAoB,EACpB,aAAa,EACd,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,eAAe,EAChB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACL,eAAe,EACf,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE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