@lark.js/mvc 0.0.15 → 0.0.17
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 +324 -215
- package/dist/chunk-OGPBFCIK.js +105 -0
- package/dist/client.d.cts +63 -0
- package/dist/client.d.ts +10 -34
- package/dist/compiler.cjs +15534 -15854
- package/dist/compiler.d.cts +1 -1
- package/dist/compiler.d.ts +1 -1
- package/dist/compiler.js +15519 -15851
- package/dist/devtool.cjs +2617 -4152
- package/dist/devtool.d.cts +1 -2
- package/dist/devtool.d.ts +1 -2
- package/dist/devtool.js +2543 -4159
- package/dist/index.cjs +4128 -6008
- package/dist/index.d.cts +571 -1291
- package/dist/index.d.ts +571 -1291
- package/dist/index.js +4058 -5976
- package/dist/rspack.cjs +15648 -15935
- package/dist/rspack.d.cts +8 -45
- package/dist/rspack.d.ts +8 -45
- package/dist/rspack.js +15641 -15934
- package/dist/runtime.cjs +79 -79
- package/dist/runtime.js +19 -85
- package/dist/vite.cjs +15841 -15957
- package/dist/vite.d.cts +6 -7
- package/dist/vite.d.ts +6 -7
- package/dist/vite.js +15834 -15955
- package/dist/webpack.cjs +15648 -15985
- package/dist/webpack.d.cts +5 -33
- package/dist/webpack.d.ts +5 -33
- package/dist/webpack.js +15641 -15984
- package/package.json +3 -4
- package/dist/apply-style.d.ts +0 -9
- package/dist/cache.d.ts +0 -69
- package/dist/common.d.ts +0 -64
- package/dist/compiler/compile-template.d.ts +0 -16
- package/dist/compiler/compile-to-vdom-function.d.ts +0 -13
- package/dist/compiler/extract-global-vars.d.ts +0 -17
- package/dist/compiler/template-syntax.d.ts +0 -61
- package/dist/cross-site.d.ts +0 -29
- package/dist/dom.d.ts +0 -45
- package/dist/event-delegator.d.ts +0 -28
- package/dist/event-emitter.d.ts +0 -38
- package/dist/frame.d.ts +0 -143
- package/dist/framework.d.ts +0 -9
- package/dist/hmr.d.ts +0 -53
- package/dist/index.amd.js +0 -6285
- package/dist/index.umd.js +0 -6272
- package/dist/mark.d.ts +0 -26
- package/dist/module-loader.d.ts +0 -20
- package/dist/router.d.ts +0 -14
- package/dist/runtime.amd.js +0 -94
- package/dist/runtime.umd.js +0 -98
- package/dist/service.d.ts +0 -173
- package/dist/state.d.ts +0 -8
- package/dist/store.d.ts +0 -60
- package/dist/types.d.ts +0 -1259
- package/dist/updater.d.ts +0 -90
- package/dist/url-state.d.ts +0 -32
- package/dist/utils.d.ts +0 -90
- package/dist/vdom.d.ts +0 -45
- package/dist/view-registry.d.ts +0 -20
- package/dist/view.d.ts +0 -214
package/dist/vite.d.cts
CHANGED
|
@@ -29,29 +29,28 @@ interface LarkMvcVitePluginOptions {
|
|
|
29
29
|
/** Enable debug mode with line tracking (default: false) */
|
|
30
30
|
debug?: boolean;
|
|
31
31
|
/** Enable virtual DOM output (default: false) */
|
|
32
|
-
|
|
32
|
+
vdom?: boolean;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Create a Vite plugin that compiles .html template files.
|
|
36
36
|
*
|
|
37
37
|
* @param options - Plugin options
|
|
38
|
-
* @param options.
|
|
38
|
+
* @param options.vdom - Generate VDOM output instead of HTML string (default: false)
|
|
39
39
|
* @returns Vite plugin instance
|
|
40
40
|
*/
|
|
41
41
|
declare function larkMvcPlugin(options?: LarkMvcVitePluginOptions): Plugin;
|
|
42
42
|
|
|
43
43
|
declare function larkMvcPluginLegacy(options?: {
|
|
44
44
|
debug?: boolean;
|
|
45
|
-
|
|
45
|
+
vdom?: boolean;
|
|
46
46
|
}): Plugin;
|
|
47
47
|
declare function larkMvcPlugin7(options?: {
|
|
48
48
|
debug?: boolean;
|
|
49
|
-
|
|
49
|
+
vdom?: boolean;
|
|
50
50
|
}): Plugin$1;
|
|
51
51
|
declare function larkMvcPluginLegacy7(options?: {
|
|
52
52
|
debug?: boolean;
|
|
53
|
-
|
|
53
|
+
vdom?: boolean;
|
|
54
54
|
}): Plugin$1;
|
|
55
55
|
|
|
56
|
-
export { larkMvcPlugin as default, larkMvcPlugin, larkMvcPlugin7, larkMvcPluginLegacy, larkMvcPluginLegacy7 };
|
|
57
|
-
export type { LarkMvcVitePluginOptions };
|
|
56
|
+
export { type LarkMvcVitePluginOptions, larkMvcPlugin as default, larkMvcPlugin, larkMvcPlugin7, larkMvcPluginLegacy, larkMvcPluginLegacy7 };
|
package/dist/vite.d.ts
CHANGED
|
@@ -29,29 +29,28 @@ interface LarkMvcVitePluginOptions {
|
|
|
29
29
|
/** Enable debug mode with line tracking (default: false) */
|
|
30
30
|
debug?: boolean;
|
|
31
31
|
/** Enable virtual DOM output (default: false) */
|
|
32
|
-
|
|
32
|
+
vdom?: boolean;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Create a Vite plugin that compiles .html template files.
|
|
36
36
|
*
|
|
37
37
|
* @param options - Plugin options
|
|
38
|
-
* @param options.
|
|
38
|
+
* @param options.vdom - Generate VDOM output instead of HTML string (default: false)
|
|
39
39
|
* @returns Vite plugin instance
|
|
40
40
|
*/
|
|
41
41
|
declare function larkMvcPlugin(options?: LarkMvcVitePluginOptions): Plugin;
|
|
42
42
|
|
|
43
43
|
declare function larkMvcPluginLegacy(options?: {
|
|
44
44
|
debug?: boolean;
|
|
45
|
-
|
|
45
|
+
vdom?: boolean;
|
|
46
46
|
}): Plugin;
|
|
47
47
|
declare function larkMvcPlugin7(options?: {
|
|
48
48
|
debug?: boolean;
|
|
49
|
-
|
|
49
|
+
vdom?: boolean;
|
|
50
50
|
}): Plugin$1;
|
|
51
51
|
declare function larkMvcPluginLegacy7(options?: {
|
|
52
52
|
debug?: boolean;
|
|
53
|
-
|
|
53
|
+
vdom?: boolean;
|
|
54
54
|
}): Plugin$1;
|
|
55
55
|
|
|
56
|
-
export { larkMvcPlugin as default, larkMvcPlugin, larkMvcPlugin7, larkMvcPluginLegacy, larkMvcPluginLegacy7 };
|
|
57
|
-
export type { LarkMvcVitePluginOptions };
|
|
56
|
+
export { type LarkMvcVitePluginOptions, larkMvcPlugin as default, larkMvcPlugin, larkMvcPlugin7, larkMvcPluginLegacy, larkMvcPluginLegacy7 };
|