@qwik.dev/core 2.0.0-beta.45 → 2.0.0-beta.47

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.
@@ -1,6 +1,6 @@
1
1
  //#region packages/qwik/src/error-swap-executor-shared.ts
2
- var Q_ERROR_CONTENT_SELECTOR = "[q\\:ebc=\"";
3
- var Q_ERROR_FALLBACK_SELECTOR = "[q\\:ebf=\"";
2
+ var Q_ERROR_CONTENT_SELECTOR = "[q\\:cc=\"";
3
+ var Q_ERROR_FALLBACK_SELECTOR = "[q\\:cf=\"";
4
4
  var Q_CONTAINER_SELECTOR = "[q\\:container]:not([q\\:container=html]):not([q\\:container=text])";
5
5
  /**
6
6
  * Qwikloader broadcasts document/window events to every matching element in the document, and
@@ -1 +1 @@
1
- var t='[q\\:ebc="',e='[q\\:ebf="',n="[q\\:container]:not([q\\:container=html]):not([q\\:container=text])",o=t=>{const e=t.querySelectorAll("*");for(let t=0;t<e.length;t++){const n=e[t].attributes;for(let o=n.length-1;o>=0;o--){const l=n[o].name;0!==l.indexOf("q-d:")&&0!==l.indexOf("q-w:")||e[t].removeAttribute(l)}}},l=l=>{const r=r=>{var c;const s=(null===(c=l.currentScript)||void 0===c?void 0:c.closest(n))||l,i=s.querySelector(t+r+'"]'),q=s.querySelector(e+r+'"]');i&&i.style&&(i.style.display="none",o(i)),q&&q.style&&(q.style.display="contents")};r.d=l,globalThis.qErr=r};l(document);
1
+ var t='[q\\:cc="',e='[q\\:cf="',n="[q\\:container]:not([q\\:container=html]):not([q\\:container=text])",o=t=>{const e=t.querySelectorAll("*");for(let t=0;t<e.length;t++){const n=e[t].attributes;for(let o=n.length-1;o>=0;o--){const l=n[o].name;0!==l.indexOf("q-d:")&&0!==l.indexOf("q-w:")||e[t].removeAttribute(l)}}},l=l=>{const r=r=>{var c;const s=(null===(c=l.currentScript)||void 0===c?void 0:c.closest(n))||l,i=s.querySelector(t+r+'"]'),q=s.querySelector(e+r+'"]');i&&i.style&&(i.style.display="none",o(i)),q&&q.style&&(q.style.display="contents")};r.d=l,globalThis.qErr=r};l(document);
@@ -1,5 +1,5 @@
1
- import { Component } from '..';
2
- import { SyncQRL } from '..';
1
+ import { Component } from './core-internal.js';
2
+ import { SyncQRL } from './core-internal.js';
3
3
 
4
4
  /**
5
5
  * @beta
@@ -1,2 +1,2 @@
1
1
  // re-export to make TS happy when not using nodenext import resolution
2
- export * from '../jsx-runtime';
2
+ export * from '../jsx-runtime.js';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwik.dev/core/loader",
3
- "version": "2.0.0-beta.45-dev+596de70",
3
+ "version": "2.0.0-beta.47-dev+919c91b",
4
4
  "main": "index.mjs",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
@@ -19,6 +19,14 @@ export declare interface ComponentEntryStrategy {
19
19
  /** @public */
20
20
  export declare const createOptimizer: (optimizerOptions?: OptimizerOptions) => Promise<Optimizer>;
21
21
 
22
+ /** @public */
23
+ export declare interface DecoratorOptions {
24
+ /** Tsconfig's `experimentalDecorators` */
25
+ legacy?: boolean;
26
+ /** Tsconfig's `emitDecoratorMetadata` */
27
+ emitDecoratorMetadata?: boolean;
28
+ }
29
+
22
30
  /** @public */
23
31
  export declare interface Diagnostic {
24
32
  scope: string;
@@ -52,10 +60,10 @@ export declare enum ExperimentalFeatures {
52
60
  each = "each",
53
61
  /** Enable the Show conditional primitive */
54
62
  show = "show",
55
- /** Enable the Suspense fallback primitive */
56
- suspense = "suspense",
57
- /** Enable the ErrorBoundary primitive */
58
- errorBoundary = "errorBoundary",
63
+ /** Enable the Pending fallback primitive */
64
+ pendingBoundary = "pendingBoundary",
65
+ /** Enable the Catch primitive */
66
+ catchBoundary = "catchBoundary",
59
67
  /** Enable the Valibot form validation */
60
68
  valibot = "valibot",
61
69
  /** Disable SPA navigation handler in Qwik Router */
@@ -770,6 +778,8 @@ export declare interface TransformOptions {
770
778
  stripCtxName?: string[];
771
779
  stripEventHandlers?: boolean;
772
780
  isServer?: boolean;
781
+ /** Decorator lowering, mirroring tsconfig. Only the TypeScript optimizer applies it. */
782
+ decorator?: DecoratorOptions;
773
783
  }
774
784
 
775
785
  /** @public */