@jqhtml/core 2.3.64 → 2.3.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/component-cache.d.ts +18 -0
- package/dist/component-cache.d.ts.map +1 -1
- package/dist/component-events.d.ts +11 -6
- package/dist/component-events.d.ts.map +1 -1
- package/dist/component-name.d.ts +7 -0
- package/dist/component-name.d.ts.map +1 -1
- package/dist/component-queue.d.ts +23 -12
- package/dist/component-queue.d.ts.map +1 -1
- package/dist/component.d.ts +48 -0
- package/dist/component.d.ts.map +1 -1
- package/dist/data-proxy.d.ts +5 -2
- package/dist/data-proxy.d.ts.map +1 -1
- package/dist/debug-overlay/index.d.ts +35 -0
- package/dist/debug-overlay/index.d.ts.map +1 -0
- package/dist/escape.d.ts +13 -0
- package/dist/escape.d.ts.map +1 -0
- package/dist/index.cjs +1853 -1022
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +18 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1849 -1022
- package/dist/index.js.map +1 -1
- package/dist/instruction-processor.d.ts.map +1 -1
- package/dist/jqhtml-core.esm.js +1850 -1023
- package/dist/jqhtml-core.esm.js.map +1 -1
- package/dist/jquery-plugin.d.ts.map +1 -1
- package/dist/lifecycle-manager.d.ts +0 -4
- package/dist/lifecycle-manager.d.ts.map +1 -1
- package/dist/load-coordinator.d.ts +18 -9
- package/dist/load-coordinator.d.ts.map +1 -1
- package/dist/local-storage.d.ts +41 -8
- package/dist/local-storage.d.ts.map +1 -1
- package/dist/preload-data.d.ts +8 -0
- package/dist/preload-data.d.ts.map +1 -1
- package/dist/value-printers.d.ts +47 -0
- package/dist/value-printers.d.ts.map +1 -0
- package/package.json +2 -1
- package/dist/template-renderer.d.ts +0 -22
- package/dist/template-renderer.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,10 +8,13 @@ export { LifecycleManager } from './lifecycle-manager.js';
|
|
|
8
8
|
export type { LifecyclePhase } from './lifecycle-manager.js';
|
|
9
9
|
export { 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';
|
|
10
10
|
export type { ComponentConstructor, TemplateFunction, TemplateDefinition } from './component-registry.js';
|
|
11
|
-
export {
|
|
11
|
+
export { debug_overlay } from './debug-overlay/index.js';
|
|
12
|
+
export { COMPONENT_NAME_PATTERN, COMPONENT_NAME_RULE, is_component_name, dynamic_component_name } from './component-name.js';
|
|
13
|
+
export { add_object_printer, print_object, get_object_printers } from './value-printers.js';
|
|
14
|
+
export type { Object_Printer, Component_Descriptor, Print_Mode } from './value-printers.js';
|
|
12
15
|
export { process_instructions, extract_slots } from './instruction-processor.js';
|
|
13
16
|
export type { Instruction, TagInstruction, ComponentInstruction, SlotInstruction } from './instruction-processor.js';
|
|
14
|
-
export {
|
|
17
|
+
export { escape_html, escape_html_nl2br } from './escape.js';
|
|
15
18
|
export { boot } from './boot.js';
|
|
16
19
|
export { logLifecycle, applyDebugDelay, logDispatch, logInstruction, logDataChange, isSequentialProcessing, handleComponentError, devWarn } from './debug.js';
|
|
17
20
|
import { init_jquery_plugin } from './jquery-plugin.js';
|
|
@@ -25,8 +28,10 @@ import type { Jqhtml_Config } from './config.js';
|
|
|
25
28
|
import { Jqhtml_Component } from './component.js';
|
|
26
29
|
import { LifecycleManager } from './lifecycle-manager.js';
|
|
27
30
|
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';
|
|
31
|
+
import { add_object_printer, print_object } from './value-printers.js';
|
|
32
|
+
import { dynamic_component_name } from './component-name.js';
|
|
28
33
|
import { process_instructions, extract_slots } from './instruction-processor.js';
|
|
29
|
-
import {
|
|
34
|
+
import { escape_html, escape_html_nl2br } from './escape.js';
|
|
30
35
|
import { boot } from './boot.js';
|
|
31
36
|
import './jquery-plugin.js';
|
|
32
37
|
import { Jqhtml_Local_Storage, register_cache_class } from './local-storage.js';
|
|
@@ -65,6 +70,7 @@ export interface DebugSettings {
|
|
|
65
70
|
declare const jqhtml: {
|
|
66
71
|
Jqhtml_Component: typeof Jqhtml_Component;
|
|
67
72
|
LifecycleManager: typeof LifecycleManager;
|
|
73
|
+
Load_Coordinator: typeof Load_Coordinator;
|
|
68
74
|
register: typeof register;
|
|
69
75
|
register_component: typeof register_component;
|
|
70
76
|
register_template: typeof register_template;
|
|
@@ -78,13 +84,21 @@ declare const jqhtml: {
|
|
|
78
84
|
list_components: typeof list_components;
|
|
79
85
|
process_instructions: typeof process_instructions;
|
|
80
86
|
extract_slots: typeof extract_slots;
|
|
81
|
-
render_template: typeof render_template;
|
|
82
87
|
escape_html: typeof escape_html;
|
|
83
88
|
escape_html_nl2br: typeof escape_html_nl2br;
|
|
84
89
|
__version: string;
|
|
85
90
|
tombstone: string;
|
|
86
91
|
configure: typeof configure;
|
|
87
92
|
get_config: typeof get_config;
|
|
93
|
+
add_object_printer: typeof add_object_printer;
|
|
94
|
+
print_object: typeof print_object;
|
|
95
|
+
dynamic_component_name: typeof dynamic_component_name;
|
|
96
|
+
debug_overlay: {
|
|
97
|
+
enable(): boolean;
|
|
98
|
+
disable(): void;
|
|
99
|
+
is_enabled(): boolean;
|
|
100
|
+
inspect(target: any): boolean;
|
|
101
|
+
};
|
|
88
102
|
debug: DebugSettings & {
|
|
89
103
|
enabled: boolean;
|
|
90
104
|
verbose: boolean;
|
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,EA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