@zeus-js/web-c 0.1.3 → 0.1.4
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/dist/rolldown.cjs.js +3 -3
- package/dist/rolldown.cjs.prod.js +3 -3
- package/dist/rolldown.d.ts +6 -2
- package/dist/rolldown.js +3 -3
- package/dist/rolldown.prod.js +3 -3
- package/dist/rollup.cjs.js +3 -3
- package/dist/rollup.cjs.prod.js +3 -3
- package/dist/rollup.d.ts +6 -2
- package/dist/rollup.js +3 -3
- package/dist/rollup.prod.js +3 -3
- package/dist/vite.cjs.js +3 -3
- package/dist/vite.cjs.prod.js +3 -3
- package/dist/vite.d.ts +6 -2
- package/dist/vite.js +3 -3
- package/dist/vite.prod.js +3 -3
- package/dist/web-c.cjs.js +3 -3
- package/dist/web-c.cjs.prod.js +3 -3
- package/dist/web-c.d.ts +6 -2
- package/dist/web-c.esm-bundler.js +3 -3
- package/package.json +9 -9
package/dist/rolldown.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -70,7 +70,7 @@ function componentLibrary(options = {}) {
|
|
|
70
70
|
var _options$dts2, _options$wrapper;
|
|
71
71
|
const reactOptions = {
|
|
72
72
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
73
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
73
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
74
74
|
};
|
|
75
75
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ function componentLibrary(options = {}) {
|
|
|
79
79
|
const vueOptions = {
|
|
80
80
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
81
81
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
82
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
82
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
83
83
|
};
|
|
84
84
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
85
85
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -70,7 +70,7 @@ function componentLibrary(options = {}) {
|
|
|
70
70
|
var _options$dts2, _options$wrapper;
|
|
71
71
|
const reactOptions = {
|
|
72
72
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
73
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
73
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
74
74
|
};
|
|
75
75
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ function componentLibrary(options = {}) {
|
|
|
79
79
|
const vueOptions = {
|
|
80
80
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
81
81
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
82
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
82
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
83
83
|
};
|
|
84
84
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
85
85
|
}
|
package/dist/rolldown.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { OutputVueWrapperOptions, default as vue } from '@zeus-js/output-vue-wra
|
|
|
9
9
|
export { OutputWCOptions, default as wc } from '@zeus-js/output-wc';
|
|
10
10
|
|
|
11
11
|
export type WebCRegisterMode = 'lazy' | 'side-effect';
|
|
12
|
-
export type WebCWrapperMode = 'minimal' | 'event-bridge';
|
|
12
|
+
export type WebCWrapperMode = 'runtime' | 'minimal' | 'event-bridge';
|
|
13
13
|
export interface ComponentLibraryPresetOptions {
|
|
14
14
|
styles?: string | false;
|
|
15
15
|
targets?: ComponentLibraryTarget[];
|
|
@@ -46,11 +46,15 @@ export interface ComponentLibraryPresetOptions {
|
|
|
46
46
|
/**
|
|
47
47
|
* Vue / React wrapper mode.
|
|
48
48
|
*
|
|
49
|
+
* runtime:
|
|
50
|
+
* Default. Generates thin proxies powered by framework-specific runtime
|
|
51
|
+
* helpers.
|
|
52
|
+
*
|
|
49
53
|
* minimal:
|
|
50
54
|
* Only renders the custom element tag. No watch/sync/event bridge.
|
|
51
55
|
*
|
|
52
56
|
* event-bridge:
|
|
53
|
-
*
|
|
57
|
+
* Adds prop sync and event listeners for declared component events.
|
|
54
58
|
*/
|
|
55
59
|
wrapper?: WebCWrapperMode;
|
|
56
60
|
}
|
package/dist/rolldown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/dist/rolldown.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/dist/rollup.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -70,7 +70,7 @@ function componentLibrary(options = {}) {
|
|
|
70
70
|
var _options$dts2, _options$wrapper;
|
|
71
71
|
const reactOptions = {
|
|
72
72
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
73
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
73
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
74
74
|
};
|
|
75
75
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ function componentLibrary(options = {}) {
|
|
|
79
79
|
const vueOptions = {
|
|
80
80
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
81
81
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
82
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
82
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
83
83
|
};
|
|
84
84
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
85
85
|
}
|
package/dist/rollup.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -70,7 +70,7 @@ function componentLibrary(options = {}) {
|
|
|
70
70
|
var _options$dts2, _options$wrapper;
|
|
71
71
|
const reactOptions = {
|
|
72
72
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
73
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
73
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
74
74
|
};
|
|
75
75
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ function componentLibrary(options = {}) {
|
|
|
79
79
|
const vueOptions = {
|
|
80
80
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
81
81
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
82
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
82
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
83
83
|
};
|
|
84
84
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
85
85
|
}
|
package/dist/rollup.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { OutputVueWrapperOptions, default as vue } from '@zeus-js/output-vue-wra
|
|
|
9
9
|
export { OutputWCOptions, default as wc } from '@zeus-js/output-wc';
|
|
10
10
|
|
|
11
11
|
export type WebCRegisterMode = 'lazy' | 'side-effect';
|
|
12
|
-
export type WebCWrapperMode = 'minimal' | 'event-bridge';
|
|
12
|
+
export type WebCWrapperMode = 'runtime' | 'minimal' | 'event-bridge';
|
|
13
13
|
export interface ComponentLibraryPresetOptions {
|
|
14
14
|
styles?: string | false;
|
|
15
15
|
targets?: ComponentLibraryTarget[];
|
|
@@ -46,11 +46,15 @@ export interface ComponentLibraryPresetOptions {
|
|
|
46
46
|
/**
|
|
47
47
|
* Vue / React wrapper mode.
|
|
48
48
|
*
|
|
49
|
+
* runtime:
|
|
50
|
+
* Default. Generates thin proxies powered by framework-specific runtime
|
|
51
|
+
* helpers.
|
|
52
|
+
*
|
|
49
53
|
* minimal:
|
|
50
54
|
* Only renders the custom element tag. No watch/sync/event bridge.
|
|
51
55
|
*
|
|
52
56
|
* event-bridge:
|
|
53
|
-
*
|
|
57
|
+
* Adds prop sync and event listeners for declared component events.
|
|
54
58
|
*/
|
|
55
59
|
wrapper?: WebCWrapperMode;
|
|
56
60
|
}
|
package/dist/rollup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/dist/rollup.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/dist/vite.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -70,7 +70,7 @@ function componentLibrary(options = {}) {
|
|
|
70
70
|
var _options$dts2, _options$wrapper;
|
|
71
71
|
const reactOptions = {
|
|
72
72
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
73
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
73
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
74
74
|
};
|
|
75
75
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ function componentLibrary(options = {}) {
|
|
|
79
79
|
const vueOptions = {
|
|
80
80
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
81
81
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
82
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
82
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
83
83
|
};
|
|
84
84
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
85
85
|
}
|
package/dist/vite.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -70,7 +70,7 @@ function componentLibrary(options = {}) {
|
|
|
70
70
|
var _options$dts2, _options$wrapper;
|
|
71
71
|
const reactOptions = {
|
|
72
72
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
73
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
73
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
74
74
|
};
|
|
75
75
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
76
76
|
}
|
|
@@ -79,7 +79,7 @@ function componentLibrary(options = {}) {
|
|
|
79
79
|
const vueOptions = {
|
|
80
80
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
81
81
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
82
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
82
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
83
83
|
};
|
|
84
84
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
85
85
|
}
|
package/dist/vite.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { OutputVueWrapperOptions, default as vue } from '@zeus-js/output-vue-wra
|
|
|
9
9
|
export { OutputWCOptions, default as wc } from '@zeus-js/output-wc';
|
|
10
10
|
|
|
11
11
|
export type WebCRegisterMode = 'lazy' | 'side-effect';
|
|
12
|
-
export type WebCWrapperMode = 'minimal' | 'event-bridge';
|
|
12
|
+
export type WebCWrapperMode = 'runtime' | 'minimal' | 'event-bridge';
|
|
13
13
|
export interface ComponentLibraryPresetOptions {
|
|
14
14
|
styles?: string | false;
|
|
15
15
|
targets?: ComponentLibraryTarget[];
|
|
@@ -46,11 +46,15 @@ export interface ComponentLibraryPresetOptions {
|
|
|
46
46
|
/**
|
|
47
47
|
* Vue / React wrapper mode.
|
|
48
48
|
*
|
|
49
|
+
* runtime:
|
|
50
|
+
* Default. Generates thin proxies powered by framework-specific runtime
|
|
51
|
+
* helpers.
|
|
52
|
+
*
|
|
49
53
|
* minimal:
|
|
50
54
|
* Only renders the custom element tag. No watch/sync/event bridge.
|
|
51
55
|
*
|
|
52
56
|
* event-bridge:
|
|
53
|
-
*
|
|
57
|
+
* Adds prop sync and event listeners for declared component events.
|
|
54
58
|
*/
|
|
55
59
|
wrapper?: WebCWrapperMode;
|
|
56
60
|
}
|
package/dist/vite.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/dist/vite.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/dist/web-c.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -71,7 +71,7 @@ function componentLibrary(options = {}) {
|
|
|
71
71
|
var _options$dts2, _options$wrapper;
|
|
72
72
|
const reactOptions = {
|
|
73
73
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
74
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
74
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
75
75
|
};
|
|
76
76
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
77
77
|
}
|
|
@@ -80,7 +80,7 @@ function componentLibrary(options = {}) {
|
|
|
80
80
|
const vueOptions = {
|
|
81
81
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
82
82
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
83
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
83
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
84
84
|
};
|
|
85
85
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
86
86
|
}
|
package/dist/web-c.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -71,7 +71,7 @@ function componentLibrary(options = {}) {
|
|
|
71
71
|
var _options$dts2, _options$wrapper;
|
|
72
72
|
const reactOptions = {
|
|
73
73
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
74
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
74
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
75
75
|
};
|
|
76
76
|
plugins.push((0, _zeus_js_output_react_wrapper.default)(reactOptions));
|
|
77
77
|
}
|
|
@@ -80,7 +80,7 @@ function componentLibrary(options = {}) {
|
|
|
80
80
|
const vueOptions = {
|
|
81
81
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
82
82
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
83
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
83
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
84
84
|
};
|
|
85
85
|
plugins.push((0, _zeus_js_output_vue_wrapper.default)(vueOptions));
|
|
86
86
|
}
|
package/dist/web-c.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import wc from '@zeus-js/output-wc';
|
|
|
16
16
|
export { OutputWCOptions, default as wc } from '@zeus-js/output-wc';
|
|
17
17
|
|
|
18
18
|
export type WebCRegisterMode = 'lazy' | 'side-effect';
|
|
19
|
-
export type WebCWrapperMode = 'minimal' | 'event-bridge';
|
|
19
|
+
export type WebCWrapperMode = 'runtime' | 'minimal' | 'event-bridge';
|
|
20
20
|
export interface ComponentLibraryPresetOptions {
|
|
21
21
|
styles?: string | false;
|
|
22
22
|
targets?: ComponentLibraryTarget[];
|
|
@@ -53,11 +53,15 @@ export interface ComponentLibraryPresetOptions {
|
|
|
53
53
|
/**
|
|
54
54
|
* Vue / React wrapper mode.
|
|
55
55
|
*
|
|
56
|
+
* runtime:
|
|
57
|
+
* Default. Generates thin proxies powered by framework-specific runtime
|
|
58
|
+
* helpers.
|
|
59
|
+
*
|
|
56
60
|
* minimal:
|
|
57
61
|
* Only renders the custom element tag. No watch/sync/event bridge.
|
|
58
62
|
*
|
|
59
63
|
* event-bridge:
|
|
60
|
-
*
|
|
64
|
+
* Adds prop sync and event listeners for declared component events.
|
|
61
65
|
*/
|
|
62
66
|
wrapper?: WebCWrapperMode;
|
|
63
67
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-c v0.1.
|
|
2
|
+
* web-c v0.1.4
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -40,7 +40,7 @@ function componentLibrary(options = {}) {
|
|
|
40
40
|
var _options$dts2, _options$wrapper;
|
|
41
41
|
const reactOptions = {
|
|
42
42
|
dts: (_options$dts2 = options.dts) !== null && _options$dts2 !== void 0 ? _options$dts2 : true,
|
|
43
|
-
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "
|
|
43
|
+
wrapper: (_options$wrapper = options.wrapper) !== null && _options$wrapper !== void 0 ? _options$wrapper : "runtime"
|
|
44
44
|
};
|
|
45
45
|
plugins.push(react$1(reactOptions));
|
|
46
46
|
}
|
|
@@ -49,7 +49,7 @@ function componentLibrary(options = {}) {
|
|
|
49
49
|
const vueOptions = {
|
|
50
50
|
dts: (_options$dts3 = options.dts) !== null && _options$dts3 !== void 0 ? _options$dts3 : true,
|
|
51
51
|
globalDts: (_options$dts4 = options.dts) !== null && _options$dts4 !== void 0 ? _options$dts4 : "auto",
|
|
52
|
-
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "
|
|
52
|
+
wrapper: (_options$wrapper2 = options.wrapper) !== null && _options$wrapper2 !== void 0 ? _options$wrapper2 : "runtime"
|
|
53
53
|
};
|
|
54
54
|
plugins.push(vue$1(vueOptions));
|
|
55
55
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeus-js/web-c",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Zeus Web-C component library toolchain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@zeus-js/component-analyzer": "0.1.0-beta.
|
|
69
|
-
"@zeus-js/bundler-plugin": "0.1.0-beta.
|
|
70
|
-
"@zeus-js/
|
|
71
|
-
"@zeus-js/output-
|
|
72
|
-
"@zeus-js/
|
|
73
|
-
"@zeus-js/output-react-wrapper": "0.1.0-beta.
|
|
74
|
-
"@zeus-js/output-vue-wrapper": "0.1.0-beta.
|
|
75
|
-
"@zeus-js/output-wc": "0.1.0-beta.
|
|
68
|
+
"@zeus-js/component-analyzer": "0.1.0-beta.5",
|
|
69
|
+
"@zeus-js/bundler-plugin": "0.1.0-beta.5",
|
|
70
|
+
"@zeus-js/component-dts": "0.1.0-beta.5",
|
|
71
|
+
"@zeus-js/output-css": "0.1.0-beta.5",
|
|
72
|
+
"@zeus-js/output-icons": "0.1.0-beta.5",
|
|
73
|
+
"@zeus-js/output-react-wrapper": "0.1.0-beta.5",
|
|
74
|
+
"@zeus-js/output-vue-wrapper": "0.1.0-beta.5",
|
|
75
|
+
"@zeus-js/output-wc": "0.1.0-beta.5"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"rolldown": "^1.0.0",
|