@jqhtml/core 2.3.74 → 2.3.76

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.
Files changed (41) hide show
  1. package/dist/cache-key-serializer.d.ts.map +1 -1
  2. package/dist/component-cache.d.ts +33 -8
  3. package/dist/component-cache.d.ts.map +1 -1
  4. package/dist/component-events.d.ts +6 -2
  5. package/dist/component-events.d.ts.map +1 -1
  6. package/dist/component-queue.d.ts +91 -36
  7. package/dist/component-queue.d.ts.map +1 -1
  8. package/dist/component-registry.d.ts +20 -1
  9. package/dist/component-registry.d.ts.map +1 -1
  10. package/dist/component.d.ts +245 -29
  11. package/dist/component.d.ts.map +1 -1
  12. package/dist/data-proxy.d.ts +32 -10
  13. package/dist/data-proxy.d.ts.map +1 -1
  14. package/dist/debug.d.ts +1 -1
  15. package/dist/debug.d.ts.map +1 -1
  16. package/dist/index.cjs +2387 -953
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +2387 -953
  21. package/dist/index.js.map +1 -1
  22. package/dist/instruction-processor.d.ts +4 -4
  23. package/dist/instruction-processor.d.ts.map +1 -1
  24. package/dist/jqhtml-core.esm.js +2388 -954
  25. package/dist/jqhtml-core.esm.js.map +1 -1
  26. package/dist/jqhtml-debug.esm.js +9 -2
  27. package/dist/jqhtml-debug.esm.js.map +1 -1
  28. package/dist/jquery-plugin.d.ts.map +1 -1
  29. package/dist/lifecycle-manager.d.ts +9 -5
  30. package/dist/lifecycle-manager.d.ts.map +1 -1
  31. package/dist/load-coordinator.d.ts +5 -3
  32. package/dist/load-coordinator.d.ts.map +1 -1
  33. package/dist/local-storage.d.ts +70 -6
  34. package/dist/local-storage.d.ts.map +1 -1
  35. package/dist/markup.d.ts +49 -0
  36. package/dist/markup.d.ts.map +1 -0
  37. package/dist/style-merge.d.ts +44 -0
  38. package/dist/style-merge.d.ts.map +1 -0
  39. package/dist/viewport.d.ts +2 -1
  40. package/dist/viewport.d.ts.map +1 -1
  41. package/package.json +3 -4
@@ -5,6 +5,7 @@
5
5
  * Uses v1's HTML string building approach for performance
6
6
  */
7
7
  import { Jqhtml_Component } from './component.js';
8
+ import { Jqhtml_Markup } from './markup.js';
8
9
  export interface TagInstruction {
9
10
  tag: [string, Record<string, any>, boolean];
10
11
  }
@@ -12,13 +13,12 @@ export interface RawTagInstruction {
12
13
  rawtag: [string, Record<string, any>, string];
13
14
  }
14
15
  export interface ComponentInstruction {
15
- comp: [string, Record<string, any>] | [string, Record<string, any>, ((context: any) => [any[], Jqhtml_Component]) | Record<string, (context: any) => [any[], Jqhtml_Component]>];
16
+ comp: [string, Record<string, any>] | [string, Record<string, any>, ((context: any) => Jqhtml_Markup) | Record<string, (context: any) => Jqhtml_Markup>];
16
17
  }
17
18
  export interface SlotInstruction {
18
- slot: [string, Record<string, any>, (context: any) => [any[], Jqhtml_Component]];
19
+ slot: [string, Record<string, any>, (context: any) => Jqhtml_Markup];
19
20
  }
20
- export type ContentInstruction = ['_content', Instruction[], Jqhtml_Component?];
21
- export type Instruction = TagInstruction | RawTagInstruction | ComponentInstruction | SlotInstruction | ContentInstruction | string;
21
+ export type Instruction = TagInstruction | RawTagInstruction | ComponentInstruction | SlotInstruction | Jqhtml_Markup | string;
22
22
  export declare function uid(): string;
23
23
  /**
24
24
  * Process an array of instructions and append to target
@@ -1 +1 @@
1
- {"version":3,"file":"instruction-processor.d.ts","sourceRoot":"","sources":["../src/instruction-processor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAKlD,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC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